@univerjs-pro/collaboration-client-node 0.6.10-nightly.202504251607 → 0.6.10-nightly.202504261606
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/index.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +7 -7
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x3b2d4f=_0x5878;(function(_0x1b1102,_0x99c515){const _0x48873d=_0x5878,_0x4020d9=_0x1b1102();while(!![]){try{const _0x1d6954=parseInt(_0x48873d(0x336))/0x1+parseInt(_0x48873d(0x331))/0x2+-parseInt(_0x48873d(0x2dc))/0x3*(parseInt(_0x48873d(0x28f))/0x4)+parseInt(_0x48873d(0x2ca))/0x5+-parseInt(_0x48873d(0x2f4))/0x6*(-parseInt(_0x48873d(0x209))/0x7)+-parseInt(_0x48873d(0x321))/0x8+-parseInt(_0x48873d(0x2e3))/0x9;if(_0x1d6954===_0x99c515)break;else _0x4020d9['push'](_0x4020d9['shift']());}catch(_0x4b501a){_0x4020d9['push'](_0x4020d9['shift']());}}}(_0xaa37,0x5183a));import{UniverCollaborationClientPlugin as _0x3c982b,CollaborationSocketService as _0x533d18}from'@univerjs-pro/collaboration-client';import{Disposable as _0x5d8c1e,DisposableCollection as _0x4bfb28,toDisposable as _0x2cc068,IConfigService as _0x3172c0,DependentOn as _0x285740,ILogService as _0x3ba426,Inject as _0x204b9c,Injector as _0x14fdda,Plugin as _0x3b72c9,registerDependencies as _0x1351e9}from'@univerjs/core';import{ISocketService as _0xe99879,HTTPService as _0x528a46}from'@univerjs/network';import{Observable as _0x2f42c6,share as _0x1b1d90}from'rxjs';import _0x285de2 from'events';import _0x5851df from'https';function _0xaa37(){const _0x2f0c16=['_autoPong','invalid\x20opcode\x200','MASK\x20must\x20be\x20set','_writableState','finished','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','WebSocket','Server\x20sent\x20no\x20subprotocol','Parameter\x20\x22','timeout','serverNoContextTakeover','serverMaxWindowBits','Cookie','client_max_window_bits','client_no_context_takeover','\x22\x20must\x20have\x20only\x20a\x20single\x20value','readUInt32BE','shouldHandle','registerHTTPInterceptor','_readableState','function','defineProperty','frame','byteLength','OPEN','The\x20\x22','captureStackTrace','size','sec-websocket-accept','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','_fragmented','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','send','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','pause','MASK\x20must\x20be\x20clear','kReason','nextTick','clients','headers','response','pending','Z_SYNC_FLUSH','client','_shouldEmitClose','_socket','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','_closeTimer','writeUInt16BE','maxPayload','perMessageDeflate','connection','fin','followRedirects','Unknown\x20parameter\x20\x22','code','WS_ERR_EXPECTED_MASK','alloc','_payloadLength','isValidUTF8','CONNECTING','hash','from','Unexpected\x20server\x20response:\x20','invalid\x20payload\x20length\x20','ws:','next','isBuffer','status-code','socketPath','completeUpgrade','kAborted','setTimeout','_read','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','dispose','toString','kTarget','listeners','toLowerCase','handleProtocols','onerror','uncork','startsWith','onStarting','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','protocolVersion','href','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','server_max_window_bits','WebSocket\x20is\x20not\x20open:\x20readyState\x20','listenerCount','create','wsClientError','server','\x22:\x20','freeze','_protocol','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','_configService','kCode','constructor','_req','_binaryType','getInfo','7LvKRfi','_firstFragment','kListener','clientNoContextTakeover','redirect','concurrencyLimit','kError','invalid\x20UTF-8\x20sequence','_bufferedBytes','STATUS_CODES','_destroy','encrypted','enqueue','Sec-WebSocket-Extensions:\x20','needDrain','allocUnsafe','decompress','_registerDependencies','_write','binaryType','sec-websocket-extensions','string','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','port','kData','default','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','sha1','write','warn','acceptAsClient','dequeue','path','kDone','Unexpected\x20character\x20at\x20index\x20','split','generateMask','startLoop','handshakeTimeout','_sender','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','request','keys','CLOSING','extensions','_generateMask','haveLength','GET','WS_ERR_EXPECTED_FIN','exports','socket','extensionName','isInteger','read','authorized','HTTP/1.1\x20101\x20Switching\x20Protocols','pipe','sec-websocket-version','onmessage','terminate','Unexpected\x20end\x20of\x20input','removeListener','mask','species','readyState','emit','Opening\x20handshake\x20has\x20timed\x20out','RSV1\x20must\x20be\x20clear','username','invalid\x20opcode\x20','sec-websocket-protocol','has','unmask','_readyState','statusCode','finishRequest','cleanup','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','getMask','params','handleEvent','listen','controlMessage','verifyClient','close','_allowSynchronousEvents','number','protocol','_injector','Module','isArray','WS_ERR_UNEXPECTED_RSV_1','WS_ERR_INVALID_UTF8','_fin','CLOSED','_decompress','stream','message','indexOf','zlibInflateOptions','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','base64','Invalid\x20URL:\x20','createError','servername','options','once','removeEventListener','auth','url','text/html','addEventListener','backlog','delete','forEach','_buffers','WS_NO_BUFFER_UTIL','shift','_loop','rsv1','getConfig','slice','apply','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','pathname','setSocket','join','kIsForOnEventAttribute','_compressed','_url','env','152HCefZF','WS_ERR_UNEXPECTED_RSV_2_3','_originalHostOrSocketPath','sendFrame','kRun','prototype','_opcode','Origin','_paused','end','readOnly','getPayloadLength64','Sec-WebSocket-Extensions','isServer','length','nodebuffer','push','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','method','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','abort','_final','_closeFrameReceived','charCodeAt','_closeCode','_closeFrameSent','authorization','_queue','customHeaders','_masked','autoPong','origin','websocket','writeUIntBE','finish','update','target','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','defaultPort','ws+unix:','values','consume','total-length','jobs','get','readUInt16BE','_extensions','isPaused','_redirects','acceptAsServer','WS_ERR_INVALID_OPCODE','pong','_compress','cork','Invalid\x20value\x20for\x20parameter\x20\x22','server_no_context_takeover','noServer','includes','FIN\x20must\x20be\x20set','2483900kstRyG','bufferedAmount','connect','type','object','upgrade','callback','buffer','map','isView','Sec-WebSocket-Accept:\x20','accept','test','permessage-deflate','binary','open','Invalid\x20Sec-WebSocket-Extensions\x20header','blob','44748hjtrYU','add','wasClean','reset','host','dataMessage','_removeListeners','10095723crJIAp','_errorEmitted','byteOffset','_state','sec-websocket-origin','location','_options','_deflate','_closeMessage','reason','_inflate','Z_DEFAULT_WINDOWBITS','Invalid\x20HTTP\x20method','getOwnPropertyDescriptor','format','getBlobData','skipUTF8Validation','2210358QWZnNw','conclude','compress','getData','value','bind','dispatch','collaboration-client-node.config','error','createServer','address','setConfig','clientTracking','_mask','endEmitted','_skipUTF8Validation','hasOwnProperty','hostname','handleUpgrade','_no_context_takeover','createConnection','Sec-WebSocket-Protocol','_receiver','flush','Invalid\x20Upgrade\x20header','_maxPayload','emitClose','createSocket','The\x20URL\x27s\x20pathname\x20is\x20empty','cookie','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','_isServer','concat','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','arrayBuffer','Max\x20payload\x20size\x20exceeded','allowSynchronousEvents','replace','_fragments','destroy','normalizeParams','clientMaxWindowBits','_maskBuffer','kWasClean','buffers','857128wsOmUG','The\x20server\x20is\x20not\x20running','_totalPayloadLength','wss:','destroyed','readable','call','getPayloadLength16','_messageLength','ping','The\x20URL\x20contains\x20a\x20fragment\x20identifier','WS_ERR_INVALID_CLOSE_CODE','opcode','data','_originalIpc','\x20(supported\x20versions:\x20','1257626YbvhLn','Basic\x20','password','_originalSecure','_doCreateSocket','635592iktvZN','https:','objectMode','__esModule','maxRedirects','parse','fragments','_max_window_bits','resume','_server','set','construct','errorEmitted','toStringTag','digest','_httpService','\x22\x20subprotocol\x20is\x20duplicated','_errored','_bufferedAmount','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH'];_0xaa37=function(){return _0x2f0c16;};return _0xaa37();}import _0x4c53ad from'http';import _0x537e0b from'net';import _0x4d6c80 from'tls';import _0x31487d from'crypto';import _0x3ebcaa from'stream';import _0x2f01dc from'url';import _0xf28538 from'zlib';import _0x47feab from'buffer';import{ISnapshotServerService as _0x2490b9}from'@univerjs-pro/collaboration';const Be=_0x3b2d4f(0x2fb),Ft={'customHeaders':{}};function jt(_0x3ca2b9){const _0x278dc0=_0x3b2d4f;return _0x3ca2b9&&_0x3ca2b9[_0x278dc0(0x339)]&&Object[_0x278dc0(0x294)][_0x278dc0(0x304)][_0x278dc0(0x327)](_0x3ca2b9,_0x278dc0(0x222))?_0x3ca2b9[_0x278dc0(0x222)]:_0x3ca2b9;}function ut(_0x477c7b){const _0xa013ec=_0x3b2d4f;if(Object[_0xa013ec(0x294)][_0xa013ec(0x304)][_0xa013ec(0x327)](_0x477c7b,_0xa013ec(0x339)))return _0x477c7b;var _0x5d7415=_0x477c7b[_0xa013ec(0x222)];if(typeof _0x5d7415==_0xa013ec(0x1b4)){var _0x4bd046=function _0x3a4e68(){const _0x3ff25e=_0xa013ec;return this instanceof _0x3a4e68?Reflect[_0x3ff25e(0x341)](_0x5d7415,arguments,this[_0x3ff25e(0x205)]):_0x5d7415['apply'](this,arguments);};_0x4bd046[_0xa013ec(0x294)]=_0x5d7415[_0xa013ec(0x294)];}else _0x4bd046={};return Object[_0xa013ec(0x1b5)](_0x4bd046,_0xa013ec(0x339),{'value':!0x0}),Object[_0xa013ec(0x235)](_0x477c7b)[_0xa013ec(0x27d)](function(_0x49d101){const _0x37982d=_0xa013ec;var _0x5a636a=Object[_0x37982d(0x2f0)](_0x477c7b,_0x49d101);Object[_0x37982d(0x1b5)](_0x4bd046,_0x49d101,_0x5a636a[_0x37982d(0x2bb)]?_0x5a636a:{'enumerable':!0x0,'get':function(){return _0x477c7b[_0x49d101];}});}),_0x4bd046;}var te={'exports':{}},ge,Ye;function V(){const _0x28407c=_0x3b2d4f;if(Ye)return ge;Ye=0x1;const _0x996063=[_0x28407c(0x29e),'arraybuffer',_0x28407c(0x33c)],_0x33dbc9=typeof Blob<'u';return _0x33dbc9&&_0x996063[_0x28407c(0x29f)]('blob'),ge={'BINARY_TYPES':_0x996063,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':_0x28407c(0x21f),'hasBlob':_0x33dbc9,'kForOnEventAttribute':Symbol(_0x28407c(0x28b)),'kListener':Symbol(_0x28407c(0x20b)),'kStatusCode':Symbol(_0x28407c(0x1e4)),'kWebSocket':Symbol(_0x28407c(0x2af)),'NOOP':()=>{}},ge;}const Wt={},Gt=Object['freeze'](Object[_0x3b2d4f(0x1b5)]({'__proto__':null,'default':Wt},Symbol[_0x3b2d4f(0x343)],{'value':_0x3b2d4f(0x264)})),Vt=ut(Gt);var Ke;function ce(){const _0x4df636=_0x3b2d4f;if(Ke)return te[_0x4df636(0x23c)];Ke=0x1;const {EMPTY_BUFFER:_0x34b8fc}=V(),_0x490317=Buffer[Symbol[_0x4df636(0x24a)]];function _0x2e94ed(_0x5888fe,_0x2961c2){const _0x3e5e19=_0x4df636;if(_0x5888fe['length']===0x0)return _0x34b8fc;if(_0x5888fe[_0x3e5e19(0x29d)]===0x1)return _0x5888fe[0x0];const _0x4d982c=Buffer[_0x3e5e19(0x218)](_0x2961c2);let _0x3f2810=0x0;for(let _0x218fa5=0x0;_0x218fa5<_0x5888fe['length'];_0x218fa5++){const _0x561285=_0x5888fe[_0x218fa5];_0x4d982c[_0x3e5e19(0x340)](_0x561285,_0x3f2810),_0x3f2810+=_0x561285['length'];}return _0x3f2810<_0x2961c2?new _0x490317(_0x4d982c[_0x3e5e19(0x2d1)],_0x4d982c[_0x3e5e19(0x2e5)],_0x3f2810):_0x4d982c;}function _0x40a51a(_0x5e4fbe,_0x9dd46d,_0x378291,_0x4d21ad,_0x3ed06f){for(let _0x4c35c9=0x0;_0x4c35c9<_0x3ed06f;_0x4c35c9++)_0x378291[_0x4d21ad+_0x4c35c9]=_0x5e4fbe[_0x4c35c9]^_0x9dd46d[_0x4c35c9&0x3];}function _0x88bd79(_0x38f5fc,_0x37166a){const _0x332806=_0x4df636;for(let _0x13b93=0x0;_0x13b93<_0x38f5fc[_0x332806(0x29d)];_0x13b93++)_0x38f5fc[_0x13b93]^=_0x37166a[_0x13b93&0x3];}function _0x1baec2(_0x211ea6){const _0xe835da=_0x4df636;return _0x211ea6[_0xe835da(0x29d)]===_0x211ea6['buffer'][_0xe835da(0x1b7)]?_0x211ea6[_0xe835da(0x2d1)]:_0x211ea6[_0xe835da(0x2d1)][_0xe835da(0x284)](_0x211ea6[_0xe835da(0x2e5)],_0x211ea6[_0xe835da(0x2e5)]+_0x211ea6[_0xe835da(0x29d)]);}function _0x5b0c30(_0x8168a7){const _0x270193=_0x4df636;if(_0x5b0c30[_0x270193(0x299)]=!0x0,Buffer[_0x270193(0x1e3)](_0x8168a7))return _0x8168a7;let _0x8fbfc2;return _0x8168a7 instanceof ArrayBuffer?_0x8fbfc2=new _0x490317(_0x8168a7):ArrayBuffer[_0x270193(0x2d3)](_0x8168a7)?_0x8fbfc2=new _0x490317(_0x8168a7['buffer'],_0x8168a7['byteOffset'],_0x8168a7[_0x270193(0x1b7)]):(_0x8fbfc2=Buffer[_0x270193(0x1de)](_0x8168a7),_0x5b0c30[_0x270193(0x299)]=!0x1),_0x8fbfc2;}if(te['exports']={'concat':_0x2e94ed,'mask':_0x40a51a,'toArrayBuffer':_0x1baec2,'toBuffer':_0x5b0c30,'unmask':_0x88bd79},!process['env'][_0x4df636(0x27f)])try{const _0x527b40=Vt;te[_0x4df636(0x23c)]['mask']=function(_0x18cf5a,_0x1e4bc9,_0x253610,_0x168c6b,_0x481c8b){_0x481c8b<0x30?_0x40a51a(_0x18cf5a,_0x1e4bc9,_0x253610,_0x168c6b,_0x481c8b):_0x527b40['mask'](_0x18cf5a,_0x1e4bc9,_0x253610,_0x168c6b,_0x481c8b);},te[_0x4df636(0x23c)][_0x4df636(0x253)]=function(_0x2a1d99,_0x14c062){const _0x324b7f=_0x4df636;_0x2a1d99[_0x324b7f(0x29d)]<0x20?_0x88bd79(_0x2a1d99,_0x14c062):_0x527b40[_0x324b7f(0x253)](_0x2a1d99,_0x14c062);};}catch{}return te[_0x4df636(0x23c)];}var ye,Xe;function qt(){const _0xd7cce0=_0x3b2d4f;if(Xe)return ye;Xe=0x1;const _0x261bcd=Symbol(_0xd7cce0(0x22a)),_0x443cf5=Symbol(_0xd7cce0(0x293));class _0x3e7e7f{constructor(_0x589e75){const _0x300523=_0xd7cce0;this[_0x261bcd]=()=>{this['pending']--,this[_0x443cf5]();},this['concurrency']=_0x589e75||0x1/0x0,this[_0x300523(0x2ba)]=[],this[_0x300523(0x1c9)]=0x0;}[_0xd7cce0(0x2dd)](_0x356fa6){const _0x26c39e=_0xd7cce0;this['jobs'][_0x26c39e(0x29f)](_0x356fa6),this[_0x443cf5]();}[_0x443cf5](){const _0x1190d1=_0xd7cce0;if(this['pending']!==this['concurrency']&&this[_0x1190d1(0x2ba)][_0x1190d1(0x29d)]){const _0x549511=this[_0x1190d1(0x2ba)][_0x1190d1(0x280)]();this[_0x1190d1(0x1c9)]++,_0x549511(this[_0x261bcd]);}}}return ye=_0x3e7e7f,ye;}var ve,Ze;function he(){const _0x395ae8=_0x3b2d4f;if(Ze)return ve;Ze=0x1;const _0x45c898=_0xf28538,_0x327f0a=ce(),_0x557065=qt(),{kStatusCode:_0x5b777f}=V(),_0x3dfdc7=Buffer[Symbol[_0x395ae8(0x24a)]],_0x37faa0=Buffer['from']([0x0,0x0,0xff,0xff]),_0x3104be=Symbol(_0x395ae8(0x2d7)),_0x5b1ace=Symbol(_0x395ae8(0x2b9)),_0x5e6970=Symbol(_0x395ae8(0x2d0)),_0x2a5ac1=Symbol(_0x395ae8(0x320)),_0x299736=Symbol('error');let _0x4a6c1b;class _0x107037{constructor(_0x21cb7e,_0x4ea5cb,_0x33b145){const _0x54d27c=_0x395ae8;if(this[_0x54d27c(0x30d)]=_0x33b145|0x0,this['_options']=_0x21cb7e||{},this['_threshold']=this[_0x54d27c(0x2e9)]['threshold']!==void 0x0?this['_options']['threshold']:0x400,this[_0x54d27c(0x313)]=!!_0x4ea5cb,this[_0x54d27c(0x2ea)]=null,this[_0x54d27c(0x2ed)]=null,this['params']=null,!_0x4a6c1b){const _0x20a0a1=this[_0x54d27c(0x2e9)][_0x54d27c(0x20e)]!==void 0x0?this[_0x54d27c(0x2e9)][_0x54d27c(0x20e)]:0xa;_0x4a6c1b=new _0x557065(_0x20a0a1);}}static get['extensionName'](){const _0x37567c=_0x395ae8;return _0x37567c(0x2d7);}['offer'](){const _0x2abe5a=_0x395ae8,_0x56b717={};return this['_options'][_0x2abe5a(0x354)]&&(_0x56b717[_0x2abe5a(0x2c6)]=!0x0),this[_0x2abe5a(0x2e9)]['clientNoContextTakeover']&&(_0x56b717['client_no_context_takeover']=!0x0),this['_options'][_0x2abe5a(0x355)]&&(_0x56b717[_0x2abe5a(0x1f9)]=this[_0x2abe5a(0x2e9)][_0x2abe5a(0x355)]),this[_0x2abe5a(0x2e9)][_0x2abe5a(0x31d)]?_0x56b717['client_max_window_bits']=this[_0x2abe5a(0x2e9)][_0x2abe5a(0x31d)]:this[_0x2abe5a(0x2e9)][_0x2abe5a(0x31d)]==null&&(_0x56b717[_0x2abe5a(0x357)]=!0x0),_0x56b717;}[_0x395ae8(0x2d5)](_0x282c32){const _0x3e92ca=_0x395ae8;return _0x282c32=this['normalizeParams'](_0x282c32),this['params']=this[_0x3e92ca(0x313)]?this[_0x3e92ca(0x2c0)](_0x282c32):this[_0x3e92ca(0x227)](_0x282c32),this[_0x3e92ca(0x25a)];}[_0x395ae8(0x257)](){const _0x51de52=_0x395ae8;if(this[_0x51de52(0x2ed)]&&(this[_0x51de52(0x2ed)][_0x51de52(0x25f)](),this[_0x51de52(0x2ed)]=null),this[_0x51de52(0x2ea)]){const _0x4b8683=this[_0x51de52(0x2ea)][_0x5e6970];this[_0x51de52(0x2ea)][_0x51de52(0x25f)](),this[_0x51de52(0x2ea)]=null,_0x4b8683&&_0x4b8683(new Error(_0x51de52(0x232)));}}[_0x395ae8(0x2c0)](_0x11164b){const _0x4441f2=_0x395ae8,_0x3121a0=this[_0x4441f2(0x2e9)],_0x9a204c=_0x11164b['find'](_0x4fea5e=>!(_0x3121a0['serverNoContextTakeover']===!0x1&&_0x4fea5e[_0x4441f2(0x2c6)]||_0x4fea5e[_0x4441f2(0x1f9)]&&(_0x3121a0[_0x4441f2(0x355)]===!0x1||typeof _0x3121a0[_0x4441f2(0x355)]==_0x4441f2(0x261)&&_0x3121a0[_0x4441f2(0x355)]>_0x4fea5e[_0x4441f2(0x1f9)])||typeof _0x3121a0[_0x4441f2(0x31d)]=='number'&&!_0x4fea5e[_0x4441f2(0x357)]));if(!_0x9a204c)throw new Error(_0x4441f2(0x287));return _0x3121a0[_0x4441f2(0x354)]&&(_0x9a204c[_0x4441f2(0x2c6)]=!0x0),_0x3121a0[_0x4441f2(0x20c)]&&(_0x9a204c[_0x4441f2(0x358)]=!0x0),typeof _0x3121a0[_0x4441f2(0x355)]==_0x4441f2(0x261)&&(_0x9a204c[_0x4441f2(0x1f9)]=_0x3121a0['serverMaxWindowBits']),typeof _0x3121a0[_0x4441f2(0x31d)]==_0x4441f2(0x261)?_0x9a204c['client_max_window_bits']=_0x3121a0[_0x4441f2(0x31d)]:(_0x9a204c[_0x4441f2(0x357)]===!0x0||_0x3121a0['clientMaxWindowBits']===!0x1)&&delete _0x9a204c['client_max_window_bits'],_0x9a204c;}[_0x395ae8(0x227)](_0xae3863){const _0x2832e5=_0x395ae8,_0xda8298=_0xae3863[0x0];if(this[_0x2832e5(0x2e9)]['clientNoContextTakeover']===!0x1&&_0xda8298[_0x2832e5(0x358)])throw new Error(_0x2832e5(0x312));if(!_0xda8298['client_max_window_bits'])typeof this[_0x2832e5(0x2e9)][_0x2832e5(0x31d)]=='number'&&(_0xda8298[_0x2832e5(0x357)]=this[_0x2832e5(0x2e9)]['clientMaxWindowBits']);else{if(this[_0x2832e5(0x2e9)]['clientMaxWindowBits']===!0x1||typeof this[_0x2832e5(0x2e9)][_0x2832e5(0x31d)]==_0x2832e5(0x261)&&_0xda8298[_0x2832e5(0x357)]>this['_options'][_0x2832e5(0x31d)])throw new Error('Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22');}return _0xda8298;}[_0x395ae8(0x31c)](_0x4df431){const _0x5c28cb=_0x395ae8;return _0x4df431[_0x5c28cb(0x27d)](_0x25e221=>{const _0x5dd1c7=_0x5c28cb;Object[_0x5dd1c7(0x235)](_0x25e221)[_0x5dd1c7(0x27d)](_0x2e65e8=>{const _0x4ef608=_0x5dd1c7;let _0x23604e=_0x25e221[_0x2e65e8];if(_0x23604e[_0x4ef608(0x29d)]>0x1)throw new Error(_0x4ef608(0x352)+_0x2e65e8+_0x4ef608(0x359));if(_0x23604e=_0x23604e[0x0],_0x2e65e8==='client_max_window_bits'){if(_0x23604e!==!0x0){const _0x14513b=+_0x23604e;if(!Number[_0x4ef608(0x23f)](_0x14513b)||_0x14513b<0x8||_0x14513b>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x2e65e8+_0x4ef608(0x1ff)+_0x23604e);_0x23604e=_0x14513b;}else{if(!this[_0x4ef608(0x313)])throw new TypeError(_0x4ef608(0x2c5)+_0x2e65e8+'\x22:\x20'+_0x23604e);}}else{if(_0x2e65e8==='server_max_window_bits'){const _0x381dea=+_0x23604e;if(!Number[_0x4ef608(0x23f)](_0x381dea)||_0x381dea<0x8||_0x381dea>0xf)throw new TypeError(_0x4ef608(0x2c5)+_0x2e65e8+_0x4ef608(0x1ff)+_0x23604e);_0x23604e=_0x381dea;}else{if(_0x2e65e8===_0x4ef608(0x358)||_0x2e65e8===_0x4ef608(0x2c6)){if(_0x23604e!==!0x0)throw new TypeError(_0x4ef608(0x2c5)+_0x2e65e8+_0x4ef608(0x1ff)+_0x23604e);}else throw new Error(_0x4ef608(0x1d6)+_0x2e65e8+'\x22');}}_0x25e221[_0x2e65e8]=_0x23604e;});}),_0x4df431;}['decompress'](_0x2c9904,_0x456d6a,_0x150c7e){const _0x55c7f6=_0x395ae8;_0x4a6c1b[_0x55c7f6(0x2dd)](_0x560ab7=>{const _0x2d3534=_0x55c7f6;this[_0x2d3534(0x26a)](_0x2c9904,_0x456d6a,(_0x4c2fbc,_0x3b7dd5)=>{_0x560ab7(),_0x150c7e(_0x4c2fbc,_0x3b7dd5);});});}[_0x395ae8(0x2f6)](_0x5977a6,_0xe4be9c,_0x2dc0bf){const _0x474615=_0x395ae8;_0x4a6c1b[_0x474615(0x2dd)](_0x4e765a=>{const _0x4168bf=_0x474615;this[_0x4168bf(0x2c3)](_0x5977a6,_0xe4be9c,(_0x4223b8,_0x2056f3)=>{_0x4e765a(),_0x2dc0bf(_0x4223b8,_0x2056f3);});});}[_0x395ae8(0x26a)](_0x2098e0,_0x39664e,_0x290b4d){const _0x57228e=_0x395ae8,_0x1ac0bd=this['_isServer']?_0x57228e(0x1cb):_0x57228e(0x1fe);if(!this['_inflate']){const _0x26e459=_0x1ac0bd+_0x57228e(0x33d),_0x57a926=typeof this['params'][_0x26e459]!=_0x57228e(0x261)?_0x45c898[_0x57228e(0x2ee)]:this[_0x57228e(0x25a)][_0x26e459];this[_0x57228e(0x2ed)]=_0x45c898['createInflateRaw']({...this[_0x57228e(0x2e9)][_0x57228e(0x26e)],'windowBits':_0x57a926}),this['_inflate'][_0x3104be]=this,this[_0x57228e(0x2ed)][_0x5b1ace]=0x0,this[_0x57228e(0x2ed)][_0x2a5ac1]=[],this[_0x57228e(0x2ed)]['on']('error',_0x448855),this['_inflate']['on'](_0x57228e(0x32e),_0x404a5a);}this[_0x57228e(0x2ed)][_0x5e6970]=_0x290b4d,this[_0x57228e(0x2ed)]['write'](_0x2098e0),_0x39664e&&this['_inflate'][_0x57228e(0x225)](_0x37faa0),this[_0x57228e(0x2ed)][_0x57228e(0x30b)](()=>{const _0x307a21=_0x57228e,_0x40b516=this['_inflate'][_0x299736];if(_0x40b516){this['_inflate'][_0x307a21(0x25f)](),this[_0x307a21(0x2ed)]=null,_0x290b4d(_0x40b516);return;}const _0x10a4e1=_0x327f0a['concat'](this[_0x307a21(0x2ed)][_0x2a5ac1],this['_inflate'][_0x5b1ace]);this[_0x307a21(0x2ed)][_0x307a21(0x1b3)][_0x307a21(0x302)]?(this[_0x307a21(0x2ed)][_0x307a21(0x25f)](),this[_0x307a21(0x2ed)]=null):(this[_0x307a21(0x2ed)][_0x5b1ace]=0x0,this[_0x307a21(0x2ed)][_0x2a5ac1]=[],_0x39664e&&this[_0x307a21(0x25a)][_0x1ac0bd+_0x307a21(0x307)]&&this[_0x307a21(0x2ed)][_0x307a21(0x2df)]()),_0x290b4d(null,_0x10a4e1);});}[_0x395ae8(0x2c3)](_0x23a89d,_0x37f6a7,_0x185fe5){const _0x1c3b08=_0x395ae8,_0x2f234d=this['_isServer']?_0x1c3b08(0x1fe):'client';if(!this[_0x1c3b08(0x2ea)]){const _0xa51e03=_0x2f234d+_0x1c3b08(0x33d),_0x451846=typeof this['params'][_0xa51e03]!='number'?_0x45c898['Z_DEFAULT_WINDOWBITS']:this[_0x1c3b08(0x25a)][_0xa51e03];this['_deflate']=_0x45c898['createDeflateRaw']({...this[_0x1c3b08(0x2e9)]['zlibDeflateOptions'],'windowBits':_0x451846}),this[_0x1c3b08(0x2ea)][_0x5b1ace]=0x0,this['_deflate'][_0x2a5ac1]=[],this[_0x1c3b08(0x2ea)]['on'](_0x1c3b08(0x32e),_0x1dd81f);}this[_0x1c3b08(0x2ea)][_0x5e6970]=_0x185fe5,this[_0x1c3b08(0x2ea)][_0x1c3b08(0x225)](_0x23a89d),this['_deflate'][_0x1c3b08(0x30b)](_0x45c898[_0x1c3b08(0x1ca)],()=>{const _0x537990=_0x1c3b08;if(!this[_0x537990(0x2ea)])return;let _0x1437d2=_0x327f0a[_0x537990(0x314)](this[_0x537990(0x2ea)][_0x2a5ac1],this['_deflate'][_0x5b1ace]);_0x37f6a7&&(_0x1437d2=new _0x3dfdc7(_0x1437d2[_0x537990(0x2d1)],_0x1437d2['byteOffset'],_0x1437d2[_0x537990(0x29d)]-0x4)),this[_0x537990(0x2ea)][_0x5e6970]=null,this[_0x537990(0x2ea)][_0x5b1ace]=0x0,this[_0x537990(0x2ea)][_0x2a5ac1]=[],_0x37f6a7&&this[_0x537990(0x25a)][_0x2f234d+'_no_context_takeover']&&this[_0x537990(0x2ea)]['reset'](),_0x185fe5(null,_0x1437d2);});}}ve=_0x107037;function _0x1dd81f(_0x40f069){const _0x46fe25=_0x395ae8;this[_0x2a5ac1][_0x46fe25(0x29f)](_0x40f069),this[_0x5b1ace]+=_0x40f069['length'];}function _0x404a5a(_0x5391b0){const _0x593da6=_0x395ae8;if(this[_0x5b1ace]+=_0x5391b0[_0x593da6(0x29d)],this[_0x3104be][_0x593da6(0x30d)]<0x1||this[_0x5b1ace]<=this[_0x3104be][_0x593da6(0x30d)]){this[_0x2a5ac1][_0x593da6(0x29f)](_0x5391b0);return;}this[_0x299736]=new RangeError(_0x593da6(0x317)),this[_0x299736][_0x593da6(0x1d7)]=_0x593da6(0x231),this[_0x299736][_0x5b777f]=0x3f1,this['removeListener'](_0x593da6(0x32e),_0x404a5a),this[_0x593da6(0x2df)]();}function _0x448855(_0x3639b7){this[_0x3104be]['_inflate']=null,_0x3639b7[_0x5b777f]=0x3ef,this[_0x5e6970](_0x3639b7);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x3b2d4f(0x200)](Object['defineProperty']({'__proto__':null,'default':Ht},Symbol[_0x3b2d4f(0x343)],{'value':'Module'})),Yt=ut(zt);var Qe;function ne(){const _0x10cfb5=_0x3b2d4f;if(Qe)return re['exports'];Qe=0x1;const {isUtf8:_0x2c814f}=_0x47feab,{hasBlob:_0x425cfb}=V(),_0x7de9fd=[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 _0x2b9b44(_0x3bb881){return _0x3bb881>=0x3e8&&_0x3bb881<=0x3f6&&_0x3bb881!==0x3ec&&_0x3bb881!==0x3ed&&_0x3bb881!==0x3ee||_0x3bb881>=0xbb8&&_0x3bb881<=0x1387;}function _0xd9ca0e(_0x5d353d){const _0x2071ec=_0x5878,_0x1544c6=_0x5d353d[_0x2071ec(0x29d)];let _0x420108=0x0;for(;_0x420108<_0x1544c6;)if((_0x5d353d[_0x420108]&0x80)===0x0)_0x420108++;else{if((_0x5d353d[_0x420108]&0xe0)===0xc0){if(_0x420108+0x1===_0x1544c6||(_0x5d353d[_0x420108+0x1]&0xc0)!==0x80||(_0x5d353d[_0x420108]&0xfe)===0xc0)return!0x1;_0x420108+=0x2;}else{if((_0x5d353d[_0x420108]&0xf0)===0xe0){if(_0x420108+0x2>=_0x1544c6||(_0x5d353d[_0x420108+0x1]&0xc0)!==0x80||(_0x5d353d[_0x420108+0x2]&0xc0)!==0x80||_0x5d353d[_0x420108]===0xe0&&(_0x5d353d[_0x420108+0x1]&0xe0)===0x80||_0x5d353d[_0x420108]===0xed&&(_0x5d353d[_0x420108+0x1]&0xe0)===0xa0)return!0x1;_0x420108+=0x3;}else{if((_0x5d353d[_0x420108]&0xf8)===0xf0){if(_0x420108+0x3>=_0x1544c6||(_0x5d353d[_0x420108+0x1]&0xc0)!==0x80||(_0x5d353d[_0x420108+0x2]&0xc0)!==0x80||(_0x5d353d[_0x420108+0x3]&0xc0)!==0x80||_0x5d353d[_0x420108]===0xf0&&(_0x5d353d[_0x420108+0x1]&0xf0)===0x80||_0x5d353d[_0x420108]===0xf4&&_0x5d353d[_0x420108+0x1]>0x8f||_0x5d353d[_0x420108]>0xf4)return!0x1;_0x420108+=0x4;}else return!0x1;}}}return!0x0;}function _0x2d76a1(_0x2fe4b6){const _0xc1c9c0=_0x5878;return _0x425cfb&&typeof _0x2fe4b6==_0xc1c9c0(0x2ce)&&typeof _0x2fe4b6[_0xc1c9c0(0x316)]==_0xc1c9c0(0x1b4)&&typeof _0x2fe4b6[_0xc1c9c0(0x2cd)]==_0xc1c9c0(0x21e)&&typeof _0x2fe4b6[_0xc1c9c0(0x26b)]==_0xc1c9c0(0x1b4)&&(_0x2fe4b6[Symbol[_0xc1c9c0(0x343)]]==='Blob'||_0x2fe4b6[Symbol[_0xc1c9c0(0x343)]]==='File');}if(re[_0x10cfb5(0x23c)]={'isBlob':_0x2d76a1,'isValidStatusCode':_0x2b9b44,'isValidUTF8':_0xd9ca0e,'tokenChars':_0x7de9fd},_0x2c814f)re['exports'][_0x10cfb5(0x1db)]=function(_0x11feaa){const _0x1acf12=_0x10cfb5;return _0x11feaa[_0x1acf12(0x29d)]<0x18?_0xd9ca0e(_0x11feaa):_0x2c814f(_0x11feaa);};else{if(!process[_0x10cfb5(0x28e)]['WS_NO_UTF_8_VALIDATE'])try{const _0x1a23f8=Yt;re[_0x10cfb5(0x23c)][_0x10cfb5(0x1db)]=function(_0x484b57){const _0x157139=_0x10cfb5;return _0x484b57[_0x157139(0x29d)]<0x20?_0xd9ca0e(_0x484b57):_0x1a23f8(_0x484b57);};}catch{}}return re[_0x10cfb5(0x23c)];}var Se,Je;function dt(){const _0x343466=_0x3b2d4f;if(Je)return Se;Je=0x1;const {Writable:_0x6e5486}=_0x3ebcaa,_0x30f604=he(),{BINARY_TYPES:_0x21f8ed,EMPTY_BUFFER:_0x3927e3,kStatusCode:_0x47ed33,kWebSocket:_0x36bb91}=V(),{concat:_0x4020bd,toArrayBuffer:_0x14e968,unmask:_0x5f2627}=ce(),{isValidStatusCode:_0x49fb67,isValidUTF8:_0x11786c}=ne(),_0x1a0f3b=Buffer[Symbol[_0x343466(0x24a)]],_0x9951eb=0x0,_0x598a4a=0x1,_0x2e48d9=0x2,_0x28c653=0x3,_0x269c31=0x4,_0x571588=0x5,_0x521b57=0x6;class _0x350052 extends _0x6e5486{constructor(_0x5cdbaf={}){const _0x2c62d4=_0x343466;super(),this[_0x2c62d4(0x260)]=_0x5cdbaf[_0x2c62d4(0x318)]!==void 0x0?_0x5cdbaf[_0x2c62d4(0x318)]:!0x0,this[_0x2c62d4(0x207)]=_0x5cdbaf[_0x2c62d4(0x21c)]||_0x21f8ed[0x0],this['_extensions']=_0x5cdbaf[_0x2c62d4(0x237)]||{},this[_0x2c62d4(0x313)]=!!_0x5cdbaf[_0x2c62d4(0x29c)],this[_0x2c62d4(0x30d)]=_0x5cdbaf[_0x2c62d4(0x1d1)]|0x0,this[_0x2c62d4(0x303)]=!!_0x5cdbaf[_0x2c62d4(0x2f3)],this[_0x36bb91]=void 0x0,this[_0x2c62d4(0x211)]=0x0,this[_0x2c62d4(0x27e)]=[],this['_compressed']=!0x1,this['_payloadLength']=0x0,this[_0x2c62d4(0x301)]=void 0x0,this[_0x2c62d4(0x1be)]=0x0,this[_0x2c62d4(0x2ac)]=!0x1,this[_0x2c62d4(0x268)]=!0x1,this[_0x2c62d4(0x295)]=0x0,this[_0x2c62d4(0x323)]=0x0,this[_0x2c62d4(0x329)]=0x0,this[_0x2c62d4(0x31a)]=[],this['_errored']=!0x1,this[_0x2c62d4(0x281)]=!0x1,this['_state']=_0x9951eb;}[_0x343466(0x21b)](_0x4d39c8,_0x673cd0,_0x6a2083){const _0x416d96=_0x343466;if(this[_0x416d96(0x295)]===0x8&&this[_0x416d96(0x2e6)]==_0x9951eb)return _0x6a2083();this[_0x416d96(0x211)]+=_0x4d39c8[_0x416d96(0x29d)],this[_0x416d96(0x27e)][_0x416d96(0x29f)](_0x4d39c8),this['startLoop'](_0x6a2083);}['consume'](_0x395a29){const _0x7611fe=_0x343466;if(this[_0x7611fe(0x211)]-=_0x395a29,_0x395a29===this[_0x7611fe(0x27e)][0x0]['length'])return this['_buffers'][_0x7611fe(0x280)]();if(_0x395a29<this[_0x7611fe(0x27e)][0x0][_0x7611fe(0x29d)]){const _0x2d0e16=this[_0x7611fe(0x27e)][0x0];return this[_0x7611fe(0x27e)][0x0]=new _0x1a0f3b(_0x2d0e16[_0x7611fe(0x2d1)],_0x2d0e16['byteOffset']+_0x395a29,_0x2d0e16[_0x7611fe(0x29d)]-_0x395a29),new _0x1a0f3b(_0x2d0e16['buffer'],_0x2d0e16[_0x7611fe(0x2e5)],_0x395a29);}const _0x40d835=Buffer['allocUnsafe'](_0x395a29);do{const _0x3205dd=this['_buffers'][0x0],_0x1af80c=_0x40d835[_0x7611fe(0x29d)]-_0x395a29;_0x395a29>=_0x3205dd['length']?_0x40d835['set'](this[_0x7611fe(0x27e)][_0x7611fe(0x280)](),_0x1af80c):(_0x40d835[_0x7611fe(0x340)](new Uint8Array(_0x3205dd[_0x7611fe(0x2d1)],_0x3205dd['byteOffset'],_0x395a29),_0x1af80c),this[_0x7611fe(0x27e)][0x0]=new _0x1a0f3b(_0x3205dd[_0x7611fe(0x2d1)],_0x3205dd[_0x7611fe(0x2e5)]+_0x395a29,_0x3205dd['length']-_0x395a29)),_0x395a29-=_0x3205dd['length'];}while(_0x395a29>0x0);return _0x40d835;}[_0x343466(0x22e)](_0x29c884){const _0x11400c=_0x343466;this[_0x11400c(0x281)]=!0x0;do switch(this['_state']){case _0x9951eb:this[_0x11400c(0x208)](_0x29c884);break;case _0x598a4a:this[_0x11400c(0x328)](_0x29c884);break;case _0x2e48d9:this[_0x11400c(0x29a)](_0x29c884);break;case _0x28c653:this[_0x11400c(0x259)]();break;case _0x269c31:this['getData'](_0x29c884);break;case _0x571588:case _0x521b57:this[_0x11400c(0x281)]=!0x1;return;}while(this[_0x11400c(0x281)]);this[_0x11400c(0x347)]||_0x29c884();}['getInfo'](_0x38397b){const _0x3b3a3d=_0x343466;if(this[_0x3b3a3d(0x211)]<0x2){this[_0x3b3a3d(0x281)]=!0x1;return;}const _0x5233d9=this[_0x3b3a3d(0x2b8)](0x2);if((_0x5233d9[0x0]&0x30)!==0x0){const _0xdddc70=this[_0x3b3a3d(0x272)](RangeError,_0x3b3a3d(0x1ea),!0x0,0x3ea,_0x3b3a3d(0x290));_0x38397b(_0xdddc70);return;}const _0xad7a67=(_0x5233d9[0x0]&0x40)===0x40;if(_0xad7a67&&!this[_0x3b3a3d(0x2bd)][_0x30f604['extensionName']]){const _0x21a58f=this[_0x3b3a3d(0x272)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x3b3a3d(0x266));_0x38397b(_0x21a58f);return;}if(this[_0x3b3a3d(0x268)]=(_0x5233d9[0x0]&0x80)===0x80,this[_0x3b3a3d(0x295)]=_0x5233d9[0x0]&0xf,this[_0x3b3a3d(0x1da)]=_0x5233d9[0x1]&0x7f,this[_0x3b3a3d(0x295)]===0x0){if(_0xad7a67){const _0x4619fd=this['createError'](RangeError,_0x3b3a3d(0x24e),!0x0,0x3ea,_0x3b3a3d(0x266));_0x38397b(_0x4619fd);return;}if(!this['_fragmented']){const _0x487cc1=this[_0x3b3a3d(0x272)](RangeError,_0x3b3a3d(0x34b),!0x0,0x3ea,_0x3b3a3d(0x2c1));_0x38397b(_0x487cc1);return;}this[_0x3b3a3d(0x295)]=this[_0x3b3a3d(0x1be)];}else{if(this[_0x3b3a3d(0x295)]===0x1||this[_0x3b3a3d(0x295)]===0x2){if(this[_0x3b3a3d(0x1be)]){const _0x4223b5=this[_0x3b3a3d(0x272)](RangeError,_0x3b3a3d(0x250)+this[_0x3b3a3d(0x295)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x38397b(_0x4223b5);return;}this[_0x3b3a3d(0x28c)]=_0xad7a67;}else{if(this[_0x3b3a3d(0x295)]>0x7&&this['_opcode']<0xb){if(!this[_0x3b3a3d(0x268)]){const _0x39c852=this[_0x3b3a3d(0x272)](RangeError,_0x3b3a3d(0x2c9),!0x0,0x3ea,_0x3b3a3d(0x23b));_0x38397b(_0x39c852);return;}if(_0xad7a67){const _0x4aac2e=this[_0x3b3a3d(0x272)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x38397b(_0x4aac2e);return;}if(this[_0x3b3a3d(0x1da)]>0x7d||this[_0x3b3a3d(0x295)]===0x8&&this['_payloadLength']===0x1){const _0x436af0=this[_0x3b3a3d(0x272)](RangeError,_0x3b3a3d(0x1e0)+this['_payloadLength'],!0x0,0x3ea,_0x3b3a3d(0x349));_0x38397b(_0x436af0);return;}}else{const _0x25c05f=this[_0x3b3a3d(0x272)](RangeError,_0x3b3a3d(0x250)+this[_0x3b3a3d(0x295)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x38397b(_0x25c05f);return;}}}if(!this['_fin']&&!this[_0x3b3a3d(0x1be)]&&(this[_0x3b3a3d(0x1be)]=this[_0x3b3a3d(0x295)]),this[_0x3b3a3d(0x2ac)]=(_0x5233d9[0x1]&0x80)===0x80,this[_0x3b3a3d(0x313)]){if(!this[_0x3b3a3d(0x2ac)]){const _0x1c8add=this[_0x3b3a3d(0x272)](RangeError,_0x3b3a3d(0x34c),!0x0,0x3ea,_0x3b3a3d(0x1d8));_0x38397b(_0x1c8add);return;}}else{if(this[_0x3b3a3d(0x2ac)]){const _0x310f41=this[_0x3b3a3d(0x272)](RangeError,_0x3b3a3d(0x1c3),!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0x38397b(_0x310f41);return;}}this[_0x3b3a3d(0x1da)]===0x7e?this['_state']=_0x598a4a:this['_payloadLength']===0x7f?this[_0x3b3a3d(0x2e6)]=_0x2e48d9:this['haveLength'](_0x38397b);}['getPayloadLength16'](_0x2f0f1f){const _0x54375e=_0x343466;if(this[_0x54375e(0x211)]<0x2){this['_loop']=!0x1;return;}this[_0x54375e(0x1da)]=this['consume'](0x2)['readUInt16BE'](0x0),this['haveLength'](_0x2f0f1f);}[_0x343466(0x29a)](_0x5a9816){const _0x44aad6=_0x343466;if(this['_bufferedBytes']<0x8){this[_0x44aad6(0x281)]=!0x1;return;}const _0x2b9c27=this['consume'](0x8),_0x5230de=_0x2b9c27[_0x44aad6(0x35a)](0x0);if(_0x5230de>Math['pow'](0x2,0x15)-0x1){const _0x47a7d4=this[_0x44aad6(0x272)](RangeError,_0x44aad6(0x202),!0x1,0x3f1,_0x44aad6(0x1bf));_0x5a9816(_0x47a7d4);return;}this['_payloadLength']=_0x5230de*Math['pow'](0x2,0x20)+_0x2b9c27[_0x44aad6(0x35a)](0x4),this['haveLength'](_0x5a9816);}[_0x343466(0x239)](_0x46f5c1){const _0x140c74=_0x343466;if(this[_0x140c74(0x1da)]&&this[_0x140c74(0x295)]<0x8&&(this['_totalPayloadLength']+=this[_0x140c74(0x1da)],this[_0x140c74(0x323)]>this[_0x140c74(0x30d)]&&this[_0x140c74(0x30d)]>0x0)){const _0x10f210=this['createError'](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x140c74(0x231));_0x46f5c1(_0x10f210);return;}this[_0x140c74(0x2ac)]?this[_0x140c74(0x2e6)]=_0x28c653:this[_0x140c74(0x2e6)]=_0x269c31;}[_0x343466(0x259)](){const _0x3e751a=_0x343466;if(this[_0x3e751a(0x211)]<0x4){this[_0x3e751a(0x281)]=!0x1;return;}this[_0x3e751a(0x301)]=this[_0x3e751a(0x2b8)](0x4),this['_state']=_0x269c31;}[_0x343466(0x2f7)](_0x32f4dd){const _0x483465=_0x343466;let _0x4051f4=_0x3927e3;if(this[_0x483465(0x1da)]){if(this[_0x483465(0x211)]<this[_0x483465(0x1da)]){this[_0x483465(0x281)]=!0x1;return;}_0x4051f4=this[_0x483465(0x2b8)](this[_0x483465(0x1da)]),this['_masked']&&(this['_mask'][0x0]|this[_0x483465(0x301)][0x1]|this['_mask'][0x2]|this['_mask'][0x3])!==0x0&&_0x5f2627(_0x4051f4,this[_0x483465(0x301)]);}if(this[_0x483465(0x295)]>0x7){this[_0x483465(0x25d)](_0x4051f4,_0x32f4dd);return;}if(this[_0x483465(0x28c)]){this[_0x483465(0x2e6)]=_0x571588,this[_0x483465(0x219)](_0x4051f4,_0x32f4dd);return;}_0x4051f4['length']&&(this[_0x483465(0x329)]=this[_0x483465(0x323)],this[_0x483465(0x31a)][_0x483465(0x29f)](_0x4051f4)),this['dataMessage'](_0x32f4dd);}[_0x343466(0x219)](_0x1e2104,_0x23afda){const _0x31de12=_0x343466;this[_0x31de12(0x2bd)][_0x30f604[_0x31de12(0x23e)]][_0x31de12(0x219)](_0x1e2104,this[_0x31de12(0x268)],(_0x155531,_0x4bb844)=>{const _0x31a2fe=_0x31de12;if(_0x155531)return _0x23afda(_0x155531);if(_0x4bb844[_0x31a2fe(0x29d)]){if(this['_messageLength']+=_0x4bb844[_0x31a2fe(0x29d)],this[_0x31a2fe(0x329)]>this[_0x31a2fe(0x30d)]&&this['_maxPayload']>0x0){const _0x398729=this['createError'](RangeError,_0x31a2fe(0x317),!0x1,0x3f1,_0x31a2fe(0x231));_0x23afda(_0x398729);return;}this[_0x31a2fe(0x31a)][_0x31a2fe(0x29f)](_0x4bb844);}this['dataMessage'](_0x23afda),this[_0x31a2fe(0x2e6)]===_0x9951eb&&this[_0x31a2fe(0x22e)](_0x23afda);});}[_0x343466(0x2e1)](_0x27046a){const _0x2a5ba0=_0x343466;if(!this['_fin']){this[_0x2a5ba0(0x2e6)]=_0x9951eb;return;}const _0x4ba8be=this[_0x2a5ba0(0x329)],_0x5719a3=this[_0x2a5ba0(0x31a)];if(this[_0x2a5ba0(0x323)]=0x0,this['_messageLength']=0x0,this[_0x2a5ba0(0x1be)]=0x0,this[_0x2a5ba0(0x31a)]=[],this[_0x2a5ba0(0x295)]===0x2){let _0x4430dc;this['_binaryType']===_0x2a5ba0(0x29e)?_0x4430dc=_0x4020bd(_0x5719a3,_0x4ba8be):this[_0x2a5ba0(0x207)]==='arraybuffer'?_0x4430dc=_0x14e968(_0x4020bd(_0x5719a3,_0x4ba8be)):this['_binaryType']===_0x2a5ba0(0x2db)?_0x4430dc=new Blob(_0x5719a3):_0x4430dc=_0x5719a3,this[_0x2a5ba0(0x260)]?(this[_0x2a5ba0(0x24c)](_0x2a5ba0(0x26c),_0x4430dc,!0x0),this[_0x2a5ba0(0x2e6)]=_0x9951eb):(this['_state']=_0x521b57,setImmediate(()=>{const _0x5d2344=_0x2a5ba0;this[_0x5d2344(0x24c)](_0x5d2344(0x26c),_0x4430dc,!0x0),this[_0x5d2344(0x2e6)]=_0x9951eb,this[_0x5d2344(0x22e)](_0x27046a);}));}else{const _0x20bb82=_0x4020bd(_0x5719a3,_0x4ba8be);if(!this[_0x2a5ba0(0x303)]&&!_0x11786c(_0x20bb82)){const _0x59b64b=this['createError'](Error,_0x2a5ba0(0x210),!0x0,0x3ef,_0x2a5ba0(0x267));_0x27046a(_0x59b64b);return;}this[_0x2a5ba0(0x2e6)]===_0x571588||this['_allowSynchronousEvents']?(this[_0x2a5ba0(0x24c)](_0x2a5ba0(0x26c),_0x20bb82,!0x1),this[_0x2a5ba0(0x2e6)]=_0x9951eb):(this[_0x2a5ba0(0x2e6)]=_0x521b57,setImmediate(()=>{const _0x57430b=_0x2a5ba0;this['emit'](_0x57430b(0x26c),_0x20bb82,!0x1),this['_state']=_0x9951eb,this['startLoop'](_0x27046a);}));}}['controlMessage'](_0x33afe,_0x571527){const _0x16acf3=_0x343466;if(this[_0x16acf3(0x295)]===0x8){if(_0x33afe[_0x16acf3(0x29d)]===0x0)this['_loop']=!0x1,this[_0x16acf3(0x24c)](_0x16acf3(0x2f5),0x3ed,_0x3927e3),this[_0x16acf3(0x298)]();else{const _0x5080ba=_0x33afe[_0x16acf3(0x2bc)](0x0);if(!_0x49fb67(_0x5080ba)){const _0x48c991=this[_0x16acf3(0x272)](RangeError,'invalid\x20status\x20code\x20'+_0x5080ba,!0x0,0x3ea,_0x16acf3(0x32c));_0x571527(_0x48c991);return;}const _0x2643eb=new _0x1a0f3b(_0x33afe[_0x16acf3(0x2d1)],_0x33afe['byteOffset']+0x2,_0x33afe[_0x16acf3(0x29d)]-0x2);if(!this[_0x16acf3(0x303)]&&!_0x11786c(_0x2643eb)){const _0x297b31=this['createError'](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x571527(_0x297b31);return;}this[_0x16acf3(0x281)]=!0x1,this['emit'](_0x16acf3(0x2f5),_0x5080ba,_0x2643eb),this[_0x16acf3(0x298)]();}this[_0x16acf3(0x2e6)]=_0x9951eb;return;}this[_0x16acf3(0x260)]?(this[_0x16acf3(0x24c)](this[_0x16acf3(0x295)]===0x9?_0x16acf3(0x32a):_0x16acf3(0x2c2),_0x33afe),this['_state']=_0x9951eb):(this[_0x16acf3(0x2e6)]=_0x521b57,setImmediate(()=>{const _0x3f81ae=_0x16acf3;this[_0x3f81ae(0x24c)](this[_0x3f81ae(0x295)]===0x9?_0x3f81ae(0x32a):_0x3f81ae(0x2c2),_0x33afe),this[_0x3f81ae(0x2e6)]=_0x9951eb,this[_0x3f81ae(0x22e)](_0x571527);}));}[_0x343466(0x272)](_0xde4489,_0x115c9a,_0x2f6398,_0x4114eb,_0x248b0d){const _0x2e8163=_0x343466;this[_0x2e8163(0x281)]=!0x1,this['_errored']=!0x0;const _0x2bb54d=new _0xde4489(_0x2f6398?'Invalid\x20WebSocket\x20frame:\x20'+_0x115c9a:_0x115c9a);return Error[_0x2e8163(0x1ba)](_0x2bb54d,this['createError']),_0x2bb54d['code']=_0x248b0d,_0x2bb54d[_0x47ed33]=_0x4114eb,_0x2bb54d;}}return Se=_0x350052,Se;}var Ee,et;function _t(){const _0x10093f=_0x3b2d4f;if(et)return Ee;et=0x1;const {Duplex:_0x1679f2}=_0x3ebcaa,{randomFillSync:_0x5d9d23}=_0x31487d,_0x39a426=he(),{EMPTY_BUFFER:_0x2f7b84,kWebSocket:_0xa3530f,NOOP:_0xabbc9a}=V(),{isBlob:_0x443728,isValidStatusCode:_0x37ad69}=ne(),{mask:_0x3f0697,toBuffer:_0x5b0fb9}=ce(),_0x110dec=Symbol('kByteLength'),_0x2c1b52=Buffer['alloc'](0x4),_0x126641=0x8*0x400;let _0x416294,_0x4d935a=_0x126641;const _0x4e7567=0x0,_0x30bbe1=0x1,_0x15af37=0x2;class _0x5c4d93{constructor(_0x483f8,_0x2b6085,_0x26b30f){const _0x38d7f3=_0x5878;this[_0x38d7f3(0x2bd)]=_0x2b6085||{},_0x26b30f&&(this[_0x38d7f3(0x238)]=_0x26b30f,this[_0x38d7f3(0x31e)]=Buffer[_0x38d7f3(0x1d9)](0x4)),this[_0x38d7f3(0x1cd)]=_0x483f8,this[_0x38d7f3(0x20a)]=!0x0,this[_0x38d7f3(0x2c3)]=!0x1,this[_0x38d7f3(0x211)]=0x0,this['_queue']=[],this[_0x38d7f3(0x2e6)]=_0x4e7567,this[_0x38d7f3(0x1f1)]=_0xabbc9a,this[_0xa3530f]=void 0x0;}static['frame'](_0x5b661f,_0x52ec8a){const _0x982c50=_0x5878;let _0x36d98d,_0x8dd47a=!0x1,_0x38e065=0x2,_0x94f18b=!0x1;_0x52ec8a[_0x982c50(0x249)]&&(_0x36d98d=_0x52ec8a['maskBuffer']||_0x2c1b52,_0x52ec8a[_0x982c50(0x22d)]?_0x52ec8a[_0x982c50(0x22d)](_0x36d98d):(_0x4d935a===_0x126641&&(_0x416294===void 0x0&&(_0x416294=Buffer[_0x982c50(0x1d9)](_0x126641)),_0x5d9d23(_0x416294,0x0,_0x126641),_0x4d935a=0x0),_0x36d98d[0x0]=_0x416294[_0x4d935a++],_0x36d98d[0x1]=_0x416294[_0x4d935a++],_0x36d98d[0x2]=_0x416294[_0x4d935a++],_0x36d98d[0x3]=_0x416294[_0x4d935a++]),_0x94f18b=(_0x36d98d[0x0]|_0x36d98d[0x1]|_0x36d98d[0x2]|_0x36d98d[0x3])===0x0,_0x38e065=0x6);let _0x5687b0;typeof _0x5b661f==_0x982c50(0x21e)?(!_0x52ec8a['mask']||_0x94f18b)&&_0x52ec8a[_0x110dec]!==void 0x0?_0x5687b0=_0x52ec8a[_0x110dec]:(_0x5b661f=Buffer[_0x982c50(0x1de)](_0x5b661f),_0x5687b0=_0x5b661f[_0x982c50(0x29d)]):(_0x5687b0=_0x5b661f[_0x982c50(0x29d)],_0x8dd47a=_0x52ec8a[_0x982c50(0x249)]&&_0x52ec8a[_0x982c50(0x299)]&&!_0x94f18b);let _0x2c15d6=_0x5687b0;_0x5687b0>=0x10000?(_0x38e065+=0x8,_0x2c15d6=0x7f):_0x5687b0>0x7d&&(_0x38e065+=0x2,_0x2c15d6=0x7e);const _0x28fcef=Buffer[_0x982c50(0x218)](_0x8dd47a?_0x5687b0+_0x38e065:_0x38e065);return _0x28fcef[0x0]=_0x52ec8a[_0x982c50(0x1d4)]?_0x52ec8a[_0x982c50(0x32d)]|0x80:_0x52ec8a[_0x982c50(0x32d)],_0x52ec8a[_0x982c50(0x282)]&&(_0x28fcef[0x0]|=0x40),_0x28fcef[0x1]=_0x2c15d6,_0x2c15d6===0x7e?_0x28fcef[_0x982c50(0x1d0)](_0x5687b0,0x2):_0x2c15d6===0x7f&&(_0x28fcef[0x2]=_0x28fcef[0x3]=0x0,_0x28fcef[_0x982c50(0x2b0)](_0x5687b0,0x4,0x6)),_0x52ec8a[_0x982c50(0x249)]?(_0x28fcef[0x1]|=0x80,_0x28fcef[_0x38e065-0x4]=_0x36d98d[0x0],_0x28fcef[_0x38e065-0x3]=_0x36d98d[0x1],_0x28fcef[_0x38e065-0x2]=_0x36d98d[0x2],_0x28fcef[_0x38e065-0x1]=_0x36d98d[0x3],_0x94f18b?[_0x28fcef,_0x5b661f]:_0x8dd47a?(_0x3f0697(_0x5b661f,_0x36d98d,_0x28fcef,_0x38e065,_0x5687b0),[_0x28fcef]):(_0x3f0697(_0x5b661f,_0x36d98d,_0x5b661f,0x0,_0x5687b0),[_0x28fcef,_0x5b661f])):[_0x28fcef,_0x5b661f];}[_0x10093f(0x25f)](_0x3a4373,_0x1a191d,_0x1acec3,_0x298bfb){const _0x3b8c36=_0x10093f;let _0x9e039e;if(_0x3a4373===void 0x0)_0x9e039e=_0x2f7b84;else{if(typeof _0x3a4373!=_0x3b8c36(0x261)||!_0x37ad69(_0x3a4373))throw new TypeError(_0x3b8c36(0x2b4));if(_0x1a191d===void 0x0||!_0x1a191d[_0x3b8c36(0x29d)])_0x9e039e=Buffer[_0x3b8c36(0x218)](0x2),_0x9e039e[_0x3b8c36(0x1d0)](_0x3a4373,0x0);else{const _0x103bc3=Buffer[_0x3b8c36(0x1b7)](_0x1a191d);if(_0x103bc3>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x9e039e=Buffer[_0x3b8c36(0x218)](0x2+_0x103bc3),_0x9e039e[_0x3b8c36(0x1d0)](_0x3a4373,0x0),typeof _0x1a191d==_0x3b8c36(0x21e)?_0x9e039e[_0x3b8c36(0x225)](_0x1a191d,0x2):_0x9e039e['set'](_0x1a191d,0x2);}}const _0xc6b529={[_0x110dec]:_0x9e039e['length'],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x1acec3,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x3b8c36(0x2e6)]!==_0x4e7567?this[_0x3b8c36(0x215)]([this[_0x3b8c36(0x2fa)],_0x9e039e,!0x1,_0xc6b529,_0x298bfb]):this[_0x3b8c36(0x292)](_0x5c4d93['frame'](_0x9e039e,_0xc6b529),_0x298bfb);}['ping'](_0x4a081e,_0xdc44dd,_0x1caf11){const _0xf8f38b=_0x10093f;let _0x2a2d0b,_0x118de8;if(typeof _0x4a081e==_0xf8f38b(0x21e)?(_0x2a2d0b=Buffer[_0xf8f38b(0x1b7)](_0x4a081e),_0x118de8=!0x1):_0x443728(_0x4a081e)?(_0x2a2d0b=_0x4a081e['size'],_0x118de8=!0x1):(_0x4a081e=_0x5b0fb9(_0x4a081e),_0x2a2d0b=_0x4a081e[_0xf8f38b(0x29d)],_0x118de8=_0x5b0fb9[_0xf8f38b(0x299)]),_0x2a2d0b>0x7d)throw new RangeError(_0xf8f38b(0x2a0));const _0xe659a8={[_0x110dec]:_0x2a2d0b,'fin':!0x0,'generateMask':this[_0xf8f38b(0x238)],'mask':_0xdc44dd,'maskBuffer':this['_maskBuffer'],'opcode':0x9,'readOnly':_0x118de8,'rsv1':!0x1};_0x443728(_0x4a081e)?this[_0xf8f38b(0x2e6)]!==_0x4e7567?this[_0xf8f38b(0x215)]([this[_0xf8f38b(0x2f2)],_0x4a081e,!0x1,_0xe659a8,_0x1caf11]):this[_0xf8f38b(0x2f2)](_0x4a081e,!0x1,_0xe659a8,_0x1caf11):this[_0xf8f38b(0x2e6)]!==_0x4e7567?this[_0xf8f38b(0x215)]([this['dispatch'],_0x4a081e,!0x1,_0xe659a8,_0x1caf11]):this['sendFrame'](_0x5c4d93[_0xf8f38b(0x1b6)](_0x4a081e,_0xe659a8),_0x1caf11);}[_0x10093f(0x2c2)](_0x12b27f,_0x25665d,_0xf439a1){const _0x197e5f=_0x10093f;let _0x677f0f,_0x3ce0d1;if(typeof _0x12b27f=='string'?(_0x677f0f=Buffer[_0x197e5f(0x1b7)](_0x12b27f),_0x3ce0d1=!0x1):_0x443728(_0x12b27f)?(_0x677f0f=_0x12b27f[_0x197e5f(0x1bb)],_0x3ce0d1=!0x1):(_0x12b27f=_0x5b0fb9(_0x12b27f),_0x677f0f=_0x12b27f[_0x197e5f(0x29d)],_0x3ce0d1=_0x5b0fb9['readOnly']),_0x677f0f>0x7d)throw new RangeError(_0x197e5f(0x2a0));const _0xead4d0={[_0x110dec]:_0x677f0f,'fin':!0x0,'generateMask':this[_0x197e5f(0x238)],'mask':_0x25665d,'maskBuffer':this[_0x197e5f(0x31e)],'opcode':0xa,'readOnly':_0x3ce0d1,'rsv1':!0x1};_0x443728(_0x12b27f)?this[_0x197e5f(0x2e6)]!==_0x4e7567?this['enqueue']([this[_0x197e5f(0x2f2)],_0x12b27f,!0x1,_0xead4d0,_0xf439a1]):this['getBlobData'](_0x12b27f,!0x1,_0xead4d0,_0xf439a1):this[_0x197e5f(0x2e6)]!==_0x4e7567?this[_0x197e5f(0x215)]([this[_0x197e5f(0x2fa)],_0x12b27f,!0x1,_0xead4d0,_0xf439a1]):this[_0x197e5f(0x292)](_0x5c4d93[_0x197e5f(0x1b6)](_0x12b27f,_0xead4d0),_0xf439a1);}[_0x10093f(0x1c0)](_0x5d49c3,_0x4d2429,_0x44566e){const _0x46db37=_0x10093f,_0x4c1a9d=this[_0x46db37(0x2bd)][_0x39a426[_0x46db37(0x23e)]];let _0x33cfab=_0x4d2429[_0x46db37(0x2d8)]?0x2:0x1,_0x210034=_0x4d2429[_0x46db37(0x2f6)],_0x407901,_0x5e45fc;typeof _0x5d49c3==_0x46db37(0x21e)?(_0x407901=Buffer['byteLength'](_0x5d49c3),_0x5e45fc=!0x1):_0x443728(_0x5d49c3)?(_0x407901=_0x5d49c3[_0x46db37(0x1bb)],_0x5e45fc=!0x1):(_0x5d49c3=_0x5b0fb9(_0x5d49c3),_0x407901=_0x5d49c3[_0x46db37(0x29d)],_0x5e45fc=_0x5b0fb9[_0x46db37(0x299)]),this['_firstFragment']?(this[_0x46db37(0x20a)]=!0x1,_0x210034&&_0x4c1a9d&&_0x4c1a9d['params'][_0x4c1a9d[_0x46db37(0x313)]?_0x46db37(0x2c6):_0x46db37(0x358)]&&(_0x210034=_0x407901>=_0x4c1a9d['_threshold']),this[_0x46db37(0x2c3)]=_0x210034):(_0x210034=!0x1,_0x33cfab=0x0),_0x4d2429['fin']&&(this[_0x46db37(0x20a)]=!0x0);const _0x4cf0e7={[_0x110dec]:_0x407901,'fin':_0x4d2429[_0x46db37(0x1d4)],'generateMask':this[_0x46db37(0x238)],'mask':_0x4d2429['mask'],'maskBuffer':this[_0x46db37(0x31e)],'opcode':_0x33cfab,'readOnly':_0x5e45fc,'rsv1':_0x210034};_0x443728(_0x5d49c3)?this[_0x46db37(0x2e6)]!==_0x4e7567?this[_0x46db37(0x215)]([this['getBlobData'],_0x5d49c3,this[_0x46db37(0x2c3)],_0x4cf0e7,_0x44566e]):this['getBlobData'](_0x5d49c3,this[_0x46db37(0x2c3)],_0x4cf0e7,_0x44566e):this[_0x46db37(0x2e6)]!==_0x4e7567?this[_0x46db37(0x215)]([this['dispatch'],_0x5d49c3,this[_0x46db37(0x2c3)],_0x4cf0e7,_0x44566e]):this[_0x46db37(0x2fa)](_0x5d49c3,this[_0x46db37(0x2c3)],_0x4cf0e7,_0x44566e);}[_0x10093f(0x2f2)](_0x530916,_0x55d9c9,_0x5f16e7,_0x114ec6){const _0x127706=_0x10093f;this[_0x127706(0x211)]+=_0x5f16e7[_0x110dec],this[_0x127706(0x2e6)]=_0x15af37,_0x530916[_0x127706(0x316)]()['then'](_0x301100=>{const _0x475080=_0x127706;if(this['_socket']['destroyed']){const _0x59a79e=new Error('The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read');process[_0x475080(0x1c5)](_0x5af18b,this,_0x59a79e,_0x114ec6);return;}this[_0x475080(0x211)]-=_0x5f16e7[_0x110dec];const _0x31b9c6=_0x5b0fb9(_0x301100);_0x55d9c9?this[_0x475080(0x2fa)](_0x31b9c6,_0x55d9c9,_0x5f16e7,_0x114ec6):(this[_0x475080(0x2e6)]=_0x4e7567,this['sendFrame'](_0x5c4d93['frame'](_0x31b9c6,_0x5f16e7),_0x114ec6),this[_0x475080(0x228)]());})['catch'](_0x1ef1b3=>{const _0x1aab9c=_0x127706;process[_0x1aab9c(0x1c5)](_0x2780b1,this,_0x1ef1b3,_0x114ec6);});}['dispatch'](_0x38919f,_0x1ea46b,_0x26bb68,_0x2a2372){const _0x3ca3bd=_0x10093f;if(!_0x1ea46b){this['sendFrame'](_0x5c4d93['frame'](_0x38919f,_0x26bb68),_0x2a2372);return;}const _0x4e4e52=this[_0x3ca3bd(0x2bd)][_0x39a426[_0x3ca3bd(0x23e)]];this[_0x3ca3bd(0x211)]+=_0x26bb68[_0x110dec],this[_0x3ca3bd(0x2e6)]=_0x30bbe1,_0x4e4e52[_0x3ca3bd(0x2f6)](_0x38919f,_0x26bb68['fin'],(_0x377066,_0x4a0128)=>{const _0x28d319=_0x3ca3bd;if(this[_0x28d319(0x1cd)]['destroyed']){const _0x377a60=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x5af18b(this,_0x377a60,_0x2a2372);return;}this[_0x28d319(0x211)]-=_0x26bb68[_0x110dec],this[_0x28d319(0x2e6)]=_0x4e7567,_0x26bb68['readOnly']=!0x1,this[_0x28d319(0x292)](_0x5c4d93[_0x28d319(0x1b6)](_0x4a0128,_0x26bb68),_0x2a2372),this[_0x28d319(0x228)]();});}[_0x10093f(0x228)](){const _0x4653cc=_0x10093f;for(;this['_state']===_0x4e7567&&this['_queue'][_0x4653cc(0x29d)];){const _0x105e4b=this[_0x4653cc(0x2aa)][_0x4653cc(0x280)]();this[_0x4653cc(0x211)]-=_0x105e4b[0x3][_0x110dec],Reflect[_0x4653cc(0x285)](_0x105e4b[0x0],this,_0x105e4b[_0x4653cc(0x284)](0x1));}}['enqueue'](_0x1a75ad){const _0x55883b=_0x10093f;this[_0x55883b(0x211)]+=_0x1a75ad[0x3][_0x110dec],this[_0x55883b(0x2aa)][_0x55883b(0x29f)](_0x1a75ad);}[_0x10093f(0x292)](_0x2ec396,_0x18224f){const _0x3c18f7=_0x10093f;_0x2ec396['length']===0x2?(this[_0x3c18f7(0x1cd)][_0x3c18f7(0x2c4)](),this[_0x3c18f7(0x1cd)]['write'](_0x2ec396[0x0]),this[_0x3c18f7(0x1cd)][_0x3c18f7(0x225)](_0x2ec396[0x1],_0x18224f),this[_0x3c18f7(0x1cd)][_0x3c18f7(0x1f2)]()):this[_0x3c18f7(0x1cd)][_0x3c18f7(0x225)](_0x2ec396[0x0],_0x18224f);}}Ee=_0x5c4d93;function _0x5af18b(_0x5c1046,_0x11f278,_0x4d269e){const _0x16b18d=_0x10093f;typeof _0x4d269e=='function'&&_0x4d269e(_0x11f278);for(let _0x2274f1=0x0;_0x2274f1<_0x5c1046['_queue']['length'];_0x2274f1++){const _0x5cacd8=_0x5c1046[_0x16b18d(0x2aa)][_0x2274f1],_0x57ab93=_0x5cacd8[_0x5cacd8[_0x16b18d(0x29d)]-0x1];typeof _0x57ab93=='function'&&_0x57ab93(_0x11f278);}}function _0x2780b1(_0x5d2021,_0x3f8c55,_0x33e1ee){const _0x6cd670=_0x10093f;_0x5af18b(_0x5d2021,_0x3f8c55,_0x33e1ee),_0x5d2021[_0x6cd670(0x1f1)](_0x3f8c55);}return Ee;}var xe,tt;function Kt(){const _0x50999e=_0x3b2d4f;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x3df1b5,kListener:_0x1b5d30}=V(),_0x53b4b8=Symbol(_0x50999e(0x204)),_0x147696=Symbol(_0x50999e(0x221)),_0x5bde7f=Symbol(_0x50999e(0x20f)),_0x3f3441=Symbol('kMessage'),_0x5c38a3=Symbol(_0x50999e(0x1c4)),_0x583fd7=Symbol(_0x50999e(0x1ed)),_0x3f6a07=Symbol('kType'),_0x2e5a07=Symbol(_0x50999e(0x31f));class _0x4ec3d7{constructor(_0x15294b){this[_0x583fd7]=null,this[_0x3f6a07]=_0x15294b;}get[_0x50999e(0x2b3)](){return this[_0x583fd7];}get[_0x50999e(0x2cd)](){return this[_0x3f6a07];}}Object['defineProperty'](_0x4ec3d7[_0x50999e(0x294)],_0x50999e(0x2b3),{'enumerable':!0x0}),Object[_0x50999e(0x1b5)](_0x4ec3d7[_0x50999e(0x294)],'type',{'enumerable':!0x0});class _0x46e74a extends _0x4ec3d7{constructor(_0x348ecc,_0x5c918b={}){const _0x48972d=_0x50999e;super(_0x348ecc),this[_0x53b4b8]=_0x5c918b[_0x48972d(0x1d7)]===void 0x0?0x0:_0x5c918b[_0x48972d(0x1d7)],this[_0x5c38a3]=_0x5c918b[_0x48972d(0x2ec)]===void 0x0?'':_0x5c918b[_0x48972d(0x2ec)],this[_0x2e5a07]=_0x5c918b['wasClean']===void 0x0?!0x1:_0x5c918b[_0x48972d(0x2de)];}get[_0x50999e(0x1d7)](){return this[_0x53b4b8];}get[_0x50999e(0x2ec)](){return this[_0x5c38a3];}get[_0x50999e(0x2de)](){return this[_0x2e5a07];}}Object[_0x50999e(0x1b5)](_0x46e74a[_0x50999e(0x294)],_0x50999e(0x1d7),{'enumerable':!0x0}),Object[_0x50999e(0x1b5)](_0x46e74a[_0x50999e(0x294)],'reason',{'enumerable':!0x0}),Object[_0x50999e(0x1b5)](_0x46e74a[_0x50999e(0x294)],_0x50999e(0x2de),{'enumerable':!0x0});class _0x1efe28 extends _0x4ec3d7{constructor(_0x1203dd,_0x2c3e89={}){const _0x387da0=_0x50999e;super(_0x1203dd),this[_0x5bde7f]=_0x2c3e89[_0x387da0(0x2fc)]===void 0x0?null:_0x2c3e89['error'],this[_0x3f3441]=_0x2c3e89[_0x387da0(0x26c)]===void 0x0?'':_0x2c3e89[_0x387da0(0x26c)];}get[_0x50999e(0x2fc)](){return this[_0x5bde7f];}get['message'](){return this[_0x3f3441];}}Object[_0x50999e(0x1b5)](_0x1efe28['prototype'],_0x50999e(0x2fc),{'enumerable':!0x0}),Object[_0x50999e(0x1b5)](_0x1efe28[_0x50999e(0x294)],'message',{'enumerable':!0x0});class _0x3eb212 extends _0x4ec3d7{constructor(_0x374bfc,_0x31d04f={}){const _0x3c96f7=_0x50999e;super(_0x374bfc),this[_0x147696]=_0x31d04f[_0x3c96f7(0x32e)]===void 0x0?null:_0x31d04f[_0x3c96f7(0x32e)];}get[_0x50999e(0x32e)](){return this[_0x147696];}}Object[_0x50999e(0x1b5)](_0x3eb212[_0x50999e(0x294)],_0x50999e(0x32e),{'enumerable':!0x0}),xe={'CloseEvent':_0x46e74a,'ErrorEvent':_0x1efe28,'Event':_0x4ec3d7,'EventTarget':{'addEventListener'(_0xd22144,_0x5519c,_0x483ac8={}){const _0x4e85ec=_0x50999e;for(const _0x3bfdbb of this[_0x4e85ec(0x1ee)](_0xd22144))if(!_0x483ac8[_0x3df1b5]&&_0x3bfdbb[_0x1b5d30]===_0x5519c&&!_0x3bfdbb[_0x3df1b5])return;let _0x2f662c;if(_0xd22144===_0x4e85ec(0x26c))_0x2f662c=function(_0x45f293,_0xf1bf8d){const _0x16dd84=_0x4e85ec,_0x56bd11=new _0x3eb212('message',{'data':_0xf1bf8d?_0x45f293:_0x45f293[_0x16dd84(0x1ec)]()});_0x56bd11[_0x583fd7]=this,_0x2a89f9(_0x5519c,this,_0x56bd11);};else{if(_0xd22144===_0x4e85ec(0x25f))_0x2f662c=function(_0x312307,_0x51b7ce){const _0x4cda44=_0x4e85ec,_0x1bfc66=new _0x46e74a('close',{'code':_0x312307,'reason':_0x51b7ce[_0x4cda44(0x1ec)](),'wasClean':this['_closeFrameReceived']&&this[_0x4cda44(0x2a8)]});_0x1bfc66[_0x583fd7]=this,_0x2a89f9(_0x5519c,this,_0x1bfc66);};else{if(_0xd22144===_0x4e85ec(0x2fc))_0x2f662c=function(_0x209fca){const _0x2cba2d=_0x4e85ec,_0x154d9d=new _0x1efe28(_0x2cba2d(0x2fc),{'error':_0x209fca,'message':_0x209fca[_0x2cba2d(0x26c)]});_0x154d9d[_0x583fd7]=this,_0x2a89f9(_0x5519c,this,_0x154d9d);};else{if(_0xd22144===_0x4e85ec(0x2d9))_0x2f662c=function(){const _0x574a8d=_0x4e85ec,_0x717a9a=new _0x4ec3d7(_0x574a8d(0x2d9));_0x717a9a[_0x583fd7]=this,_0x2a89f9(_0x5519c,this,_0x717a9a);};else return;}}}_0x2f662c[_0x3df1b5]=!!_0x483ac8[_0x3df1b5],_0x2f662c[_0x1b5d30]=_0x5519c,_0x483ac8[_0x4e85ec(0x275)]?this[_0x4e85ec(0x275)](_0xd22144,_0x2f662c):this['on'](_0xd22144,_0x2f662c);},'removeEventListener'(_0x2efc97,_0x225685){const _0x18aed6=_0x50999e;for(const _0x826d7e of this[_0x18aed6(0x1ee)](_0x2efc97))if(_0x826d7e[_0x1b5d30]===_0x225685&&!_0x826d7e[_0x3df1b5]){this[_0x18aed6(0x248)](_0x2efc97,_0x826d7e);break;}}},'MessageEvent':_0x3eb212};function _0x2a89f9(_0x161d57,_0x3218ed,_0x2d288f){const _0x1a8d91=_0x50999e;typeof _0x161d57==_0x1a8d91(0x2ce)&&_0x161d57[_0x1a8d91(0x25b)]?_0x161d57['handleEvent'][_0x1a8d91(0x327)](_0x161d57,_0x2d288f):_0x161d57[_0x1a8d91(0x327)](_0x3218ed,_0x2d288f);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0xf72cc}=ne();function _0x5894c(_0x588bc4,_0x9f1205,_0x1efd31){_0x588bc4[_0x9f1205]===void 0x0?_0x588bc4[_0x9f1205]=[_0x1efd31]:_0x588bc4[_0x9f1205]['push'](_0x1efd31);}function _0x4a96af(_0x434bb5){const _0x4966d1=_0x5878,_0x13e5a9=Object[_0x4966d1(0x1fc)](null);let _0x16e6bd=Object[_0x4966d1(0x1fc)](null),_0x2e17f0=!0x1,_0x1ffbca=!0x1,_0x306ef4=!0x1,_0x3c3030,_0x5817be,_0x3b5a97=-0x1,_0x16dd99=-0x1,_0x4a13f9=-0x1,_0x4c5654=0x0;for(;_0x4c5654<_0x434bb5[_0x4966d1(0x29d)];_0x4c5654++)if(_0x16dd99=_0x434bb5['charCodeAt'](_0x4c5654),_0x3c3030===void 0x0){if(_0x4a13f9===-0x1&&_0xf72cc[_0x16dd99]===0x1)_0x3b5a97===-0x1&&(_0x3b5a97=_0x4c5654);else{if(_0x4c5654!==0x0&&(_0x16dd99===0x20||_0x16dd99===0x9))_0x4a13f9===-0x1&&_0x3b5a97!==-0x1&&(_0x4a13f9=_0x4c5654);else{if(_0x16dd99===0x3b||_0x16dd99===0x2c){if(_0x3b5a97===-0x1)throw new SyntaxError(_0x4966d1(0x22b)+_0x4c5654);_0x4a13f9===-0x1&&(_0x4a13f9=_0x4c5654);const _0x5f509c=_0x434bb5[_0x4966d1(0x284)](_0x3b5a97,_0x4a13f9);_0x16dd99===0x2c?(_0x5894c(_0x13e5a9,_0x5f509c,_0x16e6bd),_0x16e6bd=Object[_0x4966d1(0x1fc)](null)):_0x3c3030=_0x5f509c,_0x3b5a97=_0x4a13f9=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x4c5654);}}}else{if(_0x5817be===void 0x0){if(_0x4a13f9===-0x1&&_0xf72cc[_0x16dd99]===0x1)_0x3b5a97===-0x1&&(_0x3b5a97=_0x4c5654);else{if(_0x16dd99===0x20||_0x16dd99===0x9)_0x4a13f9===-0x1&&_0x3b5a97!==-0x1&&(_0x4a13f9=_0x4c5654);else{if(_0x16dd99===0x3b||_0x16dd99===0x2c){if(_0x3b5a97===-0x1)throw new SyntaxError(_0x4966d1(0x22b)+_0x4c5654);_0x4a13f9===-0x1&&(_0x4a13f9=_0x4c5654),_0x5894c(_0x16e6bd,_0x434bb5['slice'](_0x3b5a97,_0x4a13f9),!0x0),_0x16dd99===0x2c&&(_0x5894c(_0x13e5a9,_0x3c3030,_0x16e6bd),_0x16e6bd=Object[_0x4966d1(0x1fc)](null),_0x3c3030=void 0x0),_0x3b5a97=_0x4a13f9=-0x1;}else{if(_0x16dd99===0x3d&&_0x3b5a97!==-0x1&&_0x4a13f9===-0x1)_0x5817be=_0x434bb5[_0x4966d1(0x284)](_0x3b5a97,_0x4c5654),_0x3b5a97=_0x4a13f9=-0x1;else throw new SyntaxError(_0x4966d1(0x22b)+_0x4c5654);}}}}else{if(_0x1ffbca){if(_0xf72cc[_0x16dd99]!==0x1)throw new SyntaxError(_0x4966d1(0x22b)+_0x4c5654);_0x3b5a97===-0x1?_0x3b5a97=_0x4c5654:_0x2e17f0||(_0x2e17f0=!0x0),_0x1ffbca=!0x1;}else{if(_0x306ef4){if(_0xf72cc[_0x16dd99]===0x1)_0x3b5a97===-0x1&&(_0x3b5a97=_0x4c5654);else{if(_0x16dd99===0x22&&_0x3b5a97!==-0x1)_0x306ef4=!0x1,_0x4a13f9=_0x4c5654;else{if(_0x16dd99===0x5c)_0x1ffbca=!0x0;else throw new SyntaxError(_0x4966d1(0x22b)+_0x4c5654);}}}else{if(_0x16dd99===0x22&&_0x434bb5['charCodeAt'](_0x4c5654-0x1)===0x3d)_0x306ef4=!0x0;else{if(_0x4a13f9===-0x1&&_0xf72cc[_0x16dd99]===0x1)_0x3b5a97===-0x1&&(_0x3b5a97=_0x4c5654);else{if(_0x3b5a97!==-0x1&&(_0x16dd99===0x20||_0x16dd99===0x9))_0x4a13f9===-0x1&&(_0x4a13f9=_0x4c5654);else{if(_0x16dd99===0x3b||_0x16dd99===0x2c){if(_0x3b5a97===-0x1)throw new SyntaxError(_0x4966d1(0x22b)+_0x4c5654);_0x4a13f9===-0x1&&(_0x4a13f9=_0x4c5654);let _0x44a4f1=_0x434bb5[_0x4966d1(0x284)](_0x3b5a97,_0x4a13f9);_0x2e17f0&&(_0x44a4f1=_0x44a4f1[_0x4966d1(0x319)](/\\/g,''),_0x2e17f0=!0x1),_0x5894c(_0x16e6bd,_0x5817be,_0x44a4f1),_0x16dd99===0x2c&&(_0x5894c(_0x13e5a9,_0x3c3030,_0x16e6bd),_0x16e6bd=Object['create'](null),_0x3c3030=void 0x0),_0x5817be=void 0x0,_0x3b5a97=_0x4a13f9=-0x1;}else throw new SyntaxError(_0x4966d1(0x22b)+_0x4c5654);}}}}}}}if(_0x3b5a97===-0x1||_0x306ef4||_0x16dd99===0x20||_0x16dd99===0x9)throw new SyntaxError('Unexpected\x20end\x20of\x20input');_0x4a13f9===-0x1&&(_0x4a13f9=_0x4c5654);const _0x4c88cb=_0x434bb5['slice'](_0x3b5a97,_0x4a13f9);return _0x3c3030===void 0x0?_0x5894c(_0x13e5a9,_0x4c88cb,_0x16e6bd):(_0x5817be===void 0x0?_0x5894c(_0x16e6bd,_0x4c88cb,!0x0):_0x2e17f0?_0x5894c(_0x16e6bd,_0x5817be,_0x4c88cb[_0x4966d1(0x319)](/\\/g,'')):_0x5894c(_0x16e6bd,_0x5817be,_0x4c88cb),_0x5894c(_0x13e5a9,_0x3c3030,_0x16e6bd)),_0x13e5a9;}function _0x273af4(_0x501629){const _0x44db18=_0x5878;return Object[_0x44db18(0x235)](_0x501629)[_0x44db18(0x2d2)](_0x1a7572=>{const _0x38c661=_0x44db18;let _0x459024=_0x501629[_0x1a7572];return Array[_0x38c661(0x265)](_0x459024)||(_0x459024=[_0x459024]),_0x459024[_0x38c661(0x2d2)](_0x203446=>[_0x1a7572]['concat'](Object['keys'](_0x203446)[_0x38c661(0x2d2)](_0x3a1769=>{const _0x2435cc=_0x38c661;let _0x5aa171=_0x203446[_0x3a1769];return Array[_0x2435cc(0x265)](_0x5aa171)||(_0x5aa171=[_0x5aa171]),_0x5aa171[_0x2435cc(0x2d2)](_0x97bbf2=>_0x97bbf2===!0x0?_0x3a1769:_0x3a1769+'='+_0x97bbf2)[_0x2435cc(0x28a)](';\x20');}))['join'](';\x20'))[_0x38c661(0x28a)](',\x20');})['join'](',\x20');}return be={'format':_0x273af4,'parse':_0x4a96af},be;}var we,st;function Ie(){const _0x20c9af=_0x3b2d4f;if(st)return we;st=0x1;const _0x333ef4=_0x285de2,_0xde473c=_0x5851df,_0xf0263d=_0x4c53ad,_0x4e2835=_0x537e0b,_0x44e0de=_0x4d6c80,{randomBytes:_0x17ffe5,createHash:_0x5f3b21}=_0x31487d,{Duplex:_0x353ddc,Readable:_0x38d23d}=_0x3ebcaa,{URL:_0x239634}=_0x2f01dc,_0x3786ea=he(),_0x19ae13=dt(),_0x53f6cc=_t(),{isBlob:_0x7971}=ne(),{BINARY_TYPES:_0xd42302,EMPTY_BUFFER:_0x46dd97,GUID:_0x2f97a4,kForOnEventAttribute:_0x18a328,kListener:_0x21a785,kStatusCode:_0x12bf0d,kWebSocket:_0x2e419f,NOOP:_0x509624}=V(),{EventTarget:{addEventListener:_0x307179,removeEventListener:_0x32c92c}}=Kt(),{format:_0x2f2c36,parse:_0x56ed78}=pt(),{toBuffer:_0x48580e}=ce(),_0x1558ce=0x1e*0x3e8,_0xbc7c79=Symbol(_0x20c9af(0x1e7)),_0x3e8e94=[0x8,0xd],_0x196db2=[_0x20c9af(0x1dc),_0x20c9af(0x1b8),_0x20c9af(0x236),_0x20c9af(0x269)],_0x210204=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x4fb982 extends _0x333ef4{constructor(_0xfaf659,_0x599d98,_0x5e5f59){const _0x3481fb=_0x20c9af;super(),this['_binaryType']=_0xd42302[0x0],this['_closeCode']=0x3ee,this[_0x3481fb(0x2a5)]=!0x1,this[_0x3481fb(0x2a8)]=!0x1,this[_0x3481fb(0x2eb)]=_0x46dd97,this[_0x3481fb(0x1cf)]=null,this[_0x3481fb(0x2e4)]=!0x1,this[_0x3481fb(0x2bd)]={},this[_0x3481fb(0x297)]=!0x1,this[_0x3481fb(0x201)]='',this['_readyState']=_0x4fb982['CONNECTING'],this['_receiver']=null,this['_sender']=null,this[_0x3481fb(0x1cd)]=null,_0xfaf659!==null?(this[_0x3481fb(0x348)]=0x0,this[_0x3481fb(0x313)]=!0x1,this['_redirects']=0x0,_0x599d98===void 0x0?_0x599d98=[]:Array['isArray'](_0x599d98)||(typeof _0x599d98=='object'&&_0x599d98!==null?(_0x5e5f59=_0x599d98,_0x599d98=[]):_0x599d98=[_0x599d98]),_0x1ad0b5(this,_0xfaf659,_0x599d98,_0x5e5f59)):(this[_0x3481fb(0x34a)]=_0x5e5f59['autoPong'],this[_0x3481fb(0x313)]=!0x0);}get[_0x20c9af(0x21c)](){const _0x445942=_0x20c9af;return this[_0x445942(0x207)];}set[_0x20c9af(0x21c)](_0x59654c){const _0x2559c9=_0x20c9af;_0xd42302[_0x2559c9(0x2c8)](_0x59654c)&&(this[_0x2559c9(0x207)]=_0x59654c,this[_0x2559c9(0x30a)]&&(this[_0x2559c9(0x30a)][_0x2559c9(0x207)]=_0x59654c));}get[_0x20c9af(0x2cb)](){const _0x16036b=_0x20c9af;return this[_0x16036b(0x1cd)]?this[_0x16036b(0x1cd)][_0x16036b(0x34d)][_0x16036b(0x29d)]+this['_sender'][_0x16036b(0x211)]:this['_bufferedAmount'];}get[_0x20c9af(0x237)](){const _0xbbc1c5=_0x20c9af;return Object[_0xbbc1c5(0x235)](this[_0xbbc1c5(0x2bd)])['join']();}get['isPaused'](){const _0x674778=_0x20c9af;return this[_0x674778(0x297)];}get['onclose'](){return null;}get[_0x20c9af(0x1f1)](){return null;}get['onopen'](){return null;}get[_0x20c9af(0x245)](){return null;}get[_0x20c9af(0x262)](){return this['_protocol'];}get[_0x20c9af(0x24b)](){return this['_readyState'];}get[_0x20c9af(0x278)](){const _0x7138da=_0x20c9af;return this[_0x7138da(0x28d)];}[_0x20c9af(0x289)](_0x3651bb,_0x432011,_0x420a95){const _0x39e4a2=_0x20c9af,_0x38f45b=new _0x19ae13({'allowSynchronousEvents':_0x420a95['allowSynchronousEvents'],'binaryType':this[_0x39e4a2(0x21c)],'extensions':this[_0x39e4a2(0x2bd)],'isServer':this['_isServer'],'maxPayload':_0x420a95['maxPayload'],'skipUTF8Validation':_0x420a95[_0x39e4a2(0x2f3)]}),_0x157377=new _0x53f6cc(_0x3651bb,this[_0x39e4a2(0x2bd)],_0x420a95['generateMask']);this[_0x39e4a2(0x30a)]=_0x38f45b,this[_0x39e4a2(0x230)]=_0x157377,this[_0x39e4a2(0x1cd)]=_0x3651bb,_0x38f45b[_0x2e419f]=this,_0x157377[_0x2e419f]=this,_0x3651bb[_0x2e419f]=this,_0x38f45b['on'](_0x39e4a2(0x2f5),_0x42f9e3),_0x38f45b['on']('drain',_0x16c99e),_0x38f45b['on'](_0x39e4a2(0x2fc),_0x382241),_0x38f45b['on'](_0x39e4a2(0x26c),_0x2b7f39),_0x38f45b['on'](_0x39e4a2(0x32a),_0xd73804),_0x38f45b['on'](_0x39e4a2(0x2c2),_0x427cc6),_0x157377[_0x39e4a2(0x1f1)]=_0x427a93,_0x3651bb[_0x39e4a2(0x1e8)]&&_0x3651bb[_0x39e4a2(0x1e8)](0x0),_0x3651bb['setNoDelay']&&_0x3651bb['setNoDelay'](),_0x432011['length']>0x0&&_0x3651bb['unshift'](_0x432011),_0x3651bb['on'](_0x39e4a2(0x25f),_0x335c5e),_0x3651bb['on']('data',_0x99a04e),_0x3651bb['on']('end',_0x256562),_0x3651bb['on']('error',_0x4ce5f9),this[_0x39e4a2(0x254)]=_0x4fb982[_0x39e4a2(0x1b8)],this[_0x39e4a2(0x24c)]('open');}[_0x20c9af(0x30e)](){const _0x46232c=_0x20c9af;if(!this[_0x46232c(0x1cd)]){this[_0x46232c(0x254)]=_0x4fb982[_0x46232c(0x269)],this[_0x46232c(0x24c)](_0x46232c(0x25f),this['_closeCode'],this[_0x46232c(0x2eb)]);return;}this[_0x46232c(0x2bd)][_0x3786ea['extensionName']]&&this[_0x46232c(0x2bd)][_0x3786ea[_0x46232c(0x23e)]][_0x46232c(0x257)](),this[_0x46232c(0x30a)]['removeAllListeners'](),this[_0x46232c(0x254)]=_0x4fb982[_0x46232c(0x269)],this[_0x46232c(0x24c)](_0x46232c(0x25f),this[_0x46232c(0x2a7)],this['_closeMessage']);}['close'](_0x1461da,_0x53fcad){const _0xa2b84f=_0x20c9af;if(this[_0xa2b84f(0x24b)]!==_0x4fb982['CLOSED']){if(this[_0xa2b84f(0x24b)]===_0x4fb982[_0xa2b84f(0x1dc)]){_0x10ce8d(this,this['_req'],_0xa2b84f(0x1f8));return;}if(this[_0xa2b84f(0x24b)]===_0x4fb982[_0xa2b84f(0x236)]){this[_0xa2b84f(0x2a8)]&&(this[_0xa2b84f(0x2a5)]||this['_receiver'][_0xa2b84f(0x34d)][_0xa2b84f(0x342)])&&this['_socket'][_0xa2b84f(0x298)]();return;}this[_0xa2b84f(0x254)]=_0x4fb982['CLOSING'],this['_sender'][_0xa2b84f(0x25f)](_0x1461da,_0x53fcad,!this[_0xa2b84f(0x313)],_0x16b345=>{const _0x4a4413=_0xa2b84f;_0x16b345||(this[_0x4a4413(0x2a8)]=!0x0,(this[_0x4a4413(0x2a5)]||this[_0x4a4413(0x30a)][_0x4a4413(0x34d)][_0x4a4413(0x342)])&&this[_0x4a4413(0x1cd)][_0x4a4413(0x298)]());}),_0x34fdd1(this);}}['pause'](){const _0x32e9f2=_0x20c9af;this[_0x32e9f2(0x24b)]===_0x4fb982[_0x32e9f2(0x1dc)]||this[_0x32e9f2(0x24b)]===_0x4fb982[_0x32e9f2(0x269)]||(this[_0x32e9f2(0x297)]=!0x0,this[_0x32e9f2(0x1cd)][_0x32e9f2(0x1c2)]());}['ping'](_0x9be16c,_0x57ec09,_0x4ec954){const _0x25d830=_0x20c9af;if(this[_0x25d830(0x24b)]===_0x4fb982['CONNECTING'])throw new Error(_0x25d830(0x233));if(typeof _0x9be16c==_0x25d830(0x1b4)?(_0x4ec954=_0x9be16c,_0x9be16c=_0x57ec09=void 0x0):typeof _0x57ec09==_0x25d830(0x1b4)&&(_0x4ec954=_0x57ec09,_0x57ec09=void 0x0),typeof _0x9be16c==_0x25d830(0x261)&&(_0x9be16c=_0x9be16c['toString']()),this['readyState']!==_0x4fb982['OPEN']){_0xfb87e8(this,_0x9be16c,_0x4ec954);return;}_0x57ec09===void 0x0&&(_0x57ec09=!this[_0x25d830(0x313)]),this[_0x25d830(0x230)]['ping'](_0x9be16c||_0x46dd97,_0x57ec09,_0x4ec954);}['pong'](_0x525501,_0x266954,_0x34c737){const _0xf9fd27=_0x20c9af;if(this[_0xf9fd27(0x24b)]===_0x4fb982[_0xf9fd27(0x1dc)])throw new Error(_0xf9fd27(0x233));if(typeof _0x525501==_0xf9fd27(0x1b4)?(_0x34c737=_0x525501,_0x525501=_0x266954=void 0x0):typeof _0x266954==_0xf9fd27(0x1b4)&&(_0x34c737=_0x266954,_0x266954=void 0x0),typeof _0x525501==_0xf9fd27(0x261)&&(_0x525501=_0x525501[_0xf9fd27(0x1ec)]()),this[_0xf9fd27(0x24b)]!==_0x4fb982['OPEN']){_0xfb87e8(this,_0x525501,_0x34c737);return;}_0x266954===void 0x0&&(_0x266954=!this[_0xf9fd27(0x313)]),this[_0xf9fd27(0x230)]['pong'](_0x525501||_0x46dd97,_0x266954,_0x34c737);}['resume'](){const _0x3a9379=_0x20c9af;this[_0x3a9379(0x24b)]===_0x4fb982[_0x3a9379(0x1dc)]||this['readyState']===_0x4fb982['CLOSED']||(this['_paused']=!0x1,this[_0x3a9379(0x30a)][_0x3a9379(0x34d)][_0x3a9379(0x217)]||this[_0x3a9379(0x1cd)][_0x3a9379(0x33e)]());}[_0x20c9af(0x1c0)](_0x253d4f,_0x59ca7a,_0x2b082b){const _0x302069=_0x20c9af;if(this[_0x302069(0x24b)]===_0x4fb982['CONNECTING'])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x59ca7a=='function'&&(_0x2b082b=_0x59ca7a,_0x59ca7a={}),typeof _0x253d4f==_0x302069(0x261)&&(_0x253d4f=_0x253d4f[_0x302069(0x1ec)]()),this[_0x302069(0x24b)]!==_0x4fb982[_0x302069(0x1b8)]){_0xfb87e8(this,_0x253d4f,_0x2b082b);return;}const _0x4893e0={'binary':typeof _0x253d4f!=_0x302069(0x21e),'mask':!this[_0x302069(0x313)],'compress':!0x0,'fin':!0x0,..._0x59ca7a};this['_extensions'][_0x3786ea[_0x302069(0x23e)]]||(_0x4893e0[_0x302069(0x2f6)]=!0x1),this[_0x302069(0x230)]['send'](_0x253d4f||_0x46dd97,_0x4893e0,_0x2b082b);}['terminate'](){const _0xe7cfbd=_0x20c9af;if(this['readyState']!==_0x4fb982[_0xe7cfbd(0x269)]){if(this['readyState']===_0x4fb982['CONNECTING']){_0x10ce8d(this,this[_0xe7cfbd(0x206)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}this[_0xe7cfbd(0x1cd)]&&(this[_0xe7cfbd(0x254)]=_0x4fb982['CLOSING'],this[_0xe7cfbd(0x1cd)][_0xe7cfbd(0x31b)]());}}}Object[_0x20c9af(0x1b5)](_0x4fb982,_0x20c9af(0x1dc),{'enumerable':!0x0,'value':_0x196db2[_0x20c9af(0x26d)]('CONNECTING')}),Object[_0x20c9af(0x1b5)](_0x4fb982[_0x20c9af(0x294)],_0x20c9af(0x1dc),{'enumerable':!0x0,'value':_0x196db2[_0x20c9af(0x26d)](_0x20c9af(0x1dc))}),Object[_0x20c9af(0x1b5)](_0x4fb982,_0x20c9af(0x1b8),{'enumerable':!0x0,'value':_0x196db2[_0x20c9af(0x26d)](_0x20c9af(0x1b8))}),Object[_0x20c9af(0x1b5)](_0x4fb982[_0x20c9af(0x294)],'OPEN',{'enumerable':!0x0,'value':_0x196db2[_0x20c9af(0x26d)](_0x20c9af(0x1b8))}),Object[_0x20c9af(0x1b5)](_0x4fb982,'CLOSING',{'enumerable':!0x0,'value':_0x196db2['indexOf'](_0x20c9af(0x236))}),Object['defineProperty'](_0x4fb982['prototype'],'CLOSING',{'enumerable':!0x0,'value':_0x196db2[_0x20c9af(0x26d)]('CLOSING')}),Object[_0x20c9af(0x1b5)](_0x4fb982,'CLOSED',{'enumerable':!0x0,'value':_0x196db2['indexOf'](_0x20c9af(0x269))}),Object[_0x20c9af(0x1b5)](_0x4fb982[_0x20c9af(0x294)],'CLOSED',{'enumerable':!0x0,'value':_0x196db2[_0x20c9af(0x26d)](_0x20c9af(0x269))}),['binaryType',_0x20c9af(0x2cb),_0x20c9af(0x237),_0x20c9af(0x2be),_0x20c9af(0x262),_0x20c9af(0x24b),_0x20c9af(0x278)]['forEach'](_0x2492bb=>{const _0x5244d3=_0x20c9af;Object[_0x5244d3(0x1b5)](_0x4fb982[_0x5244d3(0x294)],_0x2492bb,{'enumerable':!0x0});}),[_0x20c9af(0x2d9),_0x20c9af(0x2fc),_0x20c9af(0x25f),_0x20c9af(0x26c)]['forEach'](_0xb683ea=>{const _0x2ea8e6=_0x20c9af;Object[_0x2ea8e6(0x1b5)](_0x4fb982[_0x2ea8e6(0x294)],'on'+_0xb683ea,{'enumerable':!0x0,'get'(){for(const _0x3e622d of this['listeners'](_0xb683ea))if(_0x3e622d[_0x18a328])return _0x3e622d[_0x21a785];return null;},'set'(_0x5b3856){const _0x5bff62=_0x2ea8e6;for(const _0x82d5ca of this[_0x5bff62(0x1ee)](_0xb683ea))if(_0x82d5ca[_0x18a328]){this[_0x5bff62(0x248)](_0xb683ea,_0x82d5ca);break;}typeof _0x5b3856==_0x5bff62(0x1b4)&&this[_0x5bff62(0x27a)](_0xb683ea,_0x5b3856,{[_0x18a328]:!0x0});}});}),_0x4fb982[_0x20c9af(0x294)][_0x20c9af(0x27a)]=_0x307179,_0x4fb982[_0x20c9af(0x294)]['removeEventListener']=_0x32c92c,we=_0x4fb982;function _0x1ad0b5(_0x2c39b9,_0x4619f8,_0x4ced42,_0x388286){const _0x480a23=_0x20c9af,_0x4da1fd={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x3e8e94[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x388286,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x480a23(0x23a),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x2c39b9['_autoPong']=_0x4da1fd[_0x480a23(0x2ad)],!_0x3e8e94[_0x480a23(0x2c8)](_0x4da1fd['protocolVersion']))throw new RangeError('Unsupported\x20protocol\x20version:\x20'+_0x4da1fd[_0x480a23(0x1f6)]+_0x480a23(0x330)+_0x3e8e94['join'](',\x20')+')');let _0x4451fa;if(_0x4619f8 instanceof _0x239634)_0x4451fa=_0x4619f8;else try{_0x4451fa=new _0x239634(_0x4619f8);}catch{throw new SyntaxError(_0x480a23(0x271)+_0x4619f8);}_0x4451fa[_0x480a23(0x262)]==='http:'?_0x4451fa[_0x480a23(0x262)]=_0x480a23(0x1e1):_0x4451fa['protocol']===_0x480a23(0x337)&&(_0x4451fa[_0x480a23(0x262)]=_0x480a23(0x324)),_0x2c39b9[_0x480a23(0x28d)]=_0x4451fa[_0x480a23(0x1f7)];const _0x4cd85e=_0x4451fa[_0x480a23(0x262)]===_0x480a23(0x324),_0x7ec17d=_0x4451fa[_0x480a23(0x262)]===_0x480a23(0x2b6);let _0x463b64;if(_0x4451fa[_0x480a23(0x262)]!=='ws:'&&!_0x4cd85e&&!_0x7ec17d?_0x463b64=_0x480a23(0x1f5):_0x7ec17d&&!_0x4451fa[_0x480a23(0x288)]?_0x463b64=_0x480a23(0x310):_0x4451fa[_0x480a23(0x1dd)]&&(_0x463b64=_0x480a23(0x32b)),_0x463b64){const _0x1d7359=new SyntaxError(_0x463b64);if(_0x2c39b9[_0x480a23(0x2bf)]===0x0)throw _0x1d7359;_0x5056d2(_0x2c39b9,_0x1d7359);return;}const _0x333dbd=_0x4cd85e?0x1bb:0x50,_0x5a491f=_0x17ffe5(0x10)[_0x480a23(0x1ec)]('base64'),_0x5b6af5=_0x4cd85e?_0xde473c['request']:_0xf0263d[_0x480a23(0x234)],_0x543e51=new Set();let _0x26b533;if(_0x4da1fd[_0x480a23(0x308)]=_0x4da1fd[_0x480a23(0x308)]||(_0x4cd85e?_0x205a91:_0x35ba68),_0x4da1fd[_0x480a23(0x2b5)]=_0x4da1fd[_0x480a23(0x2b5)]||_0x333dbd,_0x4da1fd[_0x480a23(0x220)]=_0x4451fa[_0x480a23(0x220)]||_0x333dbd,_0x4da1fd[_0x480a23(0x2e0)]=_0x4451fa[_0x480a23(0x305)][_0x480a23(0x1f3)]('[')?_0x4451fa[_0x480a23(0x305)][_0x480a23(0x284)](0x1,-0x1):_0x4451fa[_0x480a23(0x305)],_0x4da1fd[_0x480a23(0x1c7)]={..._0x4da1fd[_0x480a23(0x1c7)],'Sec-WebSocket-Version':_0x4da1fd[_0x480a23(0x1f6)],'Sec-WebSocket-Key':_0x5a491f,'Connection':'Upgrade','Upgrade':_0x480a23(0x2af)},_0x4da1fd[_0x480a23(0x229)]=_0x4451fa['pathname']+_0x4451fa['search'],_0x4da1fd[_0x480a23(0x353)]=_0x4da1fd[_0x480a23(0x22f)],_0x4da1fd[_0x480a23(0x1d2)]&&(_0x26b533=new _0x3786ea(_0x4da1fd[_0x480a23(0x1d2)]!==!0x0?_0x4da1fd[_0x480a23(0x1d2)]:{},!0x1,_0x4da1fd['maxPayload']),_0x4da1fd['headers'][_0x480a23(0x29b)]=_0x2f2c36({[_0x3786ea['extensionName']]:_0x26b533['offer']()})),_0x4ced42[_0x480a23(0x29d)]){for(const _0x317162 of _0x4ced42){if(typeof _0x317162!=_0x480a23(0x21e)||!_0x210204[_0x480a23(0x2d6)](_0x317162)||_0x543e51[_0x480a23(0x252)](_0x317162))throw new SyntaxError(_0x480a23(0x1ce));_0x543e51[_0x480a23(0x2dd)](_0x317162);}_0x4da1fd[_0x480a23(0x1c7)][_0x480a23(0x309)]=_0x4ced42[_0x480a23(0x28a)](',');}if(_0x4da1fd[_0x480a23(0x2ae)]&&(_0x4da1fd[_0x480a23(0x1f6)]<0xd?_0x4da1fd['headers']['Sec-WebSocket-Origin']=_0x4da1fd[_0x480a23(0x2ae)]:_0x4da1fd[_0x480a23(0x1c7)][_0x480a23(0x296)]=_0x4da1fd[_0x480a23(0x2ae)]),(_0x4451fa['username']||_0x4451fa[_0x480a23(0x333)])&&(_0x4da1fd[_0x480a23(0x277)]=_0x4451fa[_0x480a23(0x24f)]+':'+_0x4451fa['password']),_0x7ec17d){const _0x3f4354=_0x4da1fd[_0x480a23(0x229)][_0x480a23(0x22c)](':');_0x4da1fd['socketPath']=_0x3f4354[0x0],_0x4da1fd['path']=_0x3f4354[0x1];}let _0xc66f27;if(_0x4da1fd[_0x480a23(0x1d5)]){if(_0x2c39b9[_0x480a23(0x2bf)]===0x0){_0x2c39b9[_0x480a23(0x32f)]=_0x7ec17d,_0x2c39b9[_0x480a23(0x334)]=_0x4cd85e,_0x2c39b9['_originalHostOrSocketPath']=_0x7ec17d?_0x4da1fd[_0x480a23(0x1e5)]:_0x4451fa[_0x480a23(0x2e0)];const _0x45608f=_0x388286&&_0x388286['headers'];if(_0x388286={..._0x388286,'headers':{}},_0x45608f){for(const [_0x3473fe,_0x10df03]of Object['entries'](_0x45608f))_0x388286['headers'][_0x3473fe[_0x480a23(0x1ef)]()]=_0x10df03;}}else{if(_0x2c39b9[_0x480a23(0x1fb)](_0x480a23(0x20d))===0x0){const _0x37fb14=_0x7ec17d?_0x2c39b9[_0x480a23(0x32f)]?_0x4da1fd[_0x480a23(0x1e5)]===_0x2c39b9[_0x480a23(0x291)]:!0x1:_0x2c39b9[_0x480a23(0x32f)]?!0x1:_0x4451fa[_0x480a23(0x2e0)]===_0x2c39b9[_0x480a23(0x291)];(!_0x37fb14||_0x2c39b9[_0x480a23(0x334)]&&!_0x4cd85e)&&(delete _0x4da1fd[_0x480a23(0x1c7)][_0x480a23(0x2a9)],delete _0x4da1fd[_0x480a23(0x1c7)][_0x480a23(0x311)],_0x37fb14||delete _0x4da1fd[_0x480a23(0x1c7)][_0x480a23(0x2e0)],_0x4da1fd['auth']=void 0x0);}}_0x4da1fd[_0x480a23(0x277)]&&!_0x388286['headers']['authorization']&&(_0x388286[_0x480a23(0x1c7)][_0x480a23(0x2a9)]=_0x480a23(0x332)+Buffer['from'](_0x4da1fd[_0x480a23(0x277)])[_0x480a23(0x1ec)](_0x480a23(0x270))),_0xc66f27=_0x2c39b9[_0x480a23(0x206)]=_0x5b6af5(_0x4da1fd),_0x2c39b9['_redirects']&&_0x2c39b9[_0x480a23(0x24c)]('redirect',_0x2c39b9[_0x480a23(0x278)],_0xc66f27);}else _0xc66f27=_0x2c39b9[_0x480a23(0x206)]=_0x5b6af5(_0x4da1fd);_0x4da1fd[_0x480a23(0x353)]&&_0xc66f27['on'](_0x480a23(0x353),()=>{const _0x28d586=_0x480a23;_0x10ce8d(_0x2c39b9,_0xc66f27,_0x28d586(0x24d));}),_0xc66f27['on'](_0x480a23(0x2fc),_0x542562=>{const _0x4377eb=_0x480a23;_0xc66f27===null||_0xc66f27[_0xbc7c79]||(_0xc66f27=_0x2c39b9[_0x4377eb(0x206)]=null,_0x5056d2(_0x2c39b9,_0x542562));}),_0xc66f27['on'](_0x480a23(0x1c8),_0x2f7576=>{const _0x584f86=_0x480a23,_0x5e7761=_0x2f7576['headers'][_0x584f86(0x2e8)],_0x3729d1=_0x2f7576[_0x584f86(0x255)];if(_0x5e7761&&_0x4da1fd[_0x584f86(0x1d5)]&&_0x3729d1>=0x12c&&_0x3729d1<0x190){if(++_0x2c39b9[_0x584f86(0x2bf)]>_0x4da1fd[_0x584f86(0x33a)]){_0x10ce8d(_0x2c39b9,_0xc66f27,'Maximum\x20redirects\x20exceeded');return;}_0xc66f27['abort']();let _0x2f7d1f;try{_0x2f7d1f=new _0x239634(_0x5e7761,_0x4619f8);}catch{const _0x5ebf06=new SyntaxError(_0x584f86(0x271)+_0x5e7761);_0x5056d2(_0x2c39b9,_0x5ebf06);return;}_0x1ad0b5(_0x2c39b9,_0x2f7d1f,_0x4ced42,_0x388286);}else _0x2c39b9[_0x584f86(0x24c)]('unexpected-response',_0xc66f27,_0x2f7576)||_0x10ce8d(_0x2c39b9,_0xc66f27,_0x584f86(0x1df)+_0x2f7576[_0x584f86(0x255)]);}),_0xc66f27['on'](_0x480a23(0x2cf),(_0x1ec1e5,_0x1f6f84,_0x10f668)=>{const _0x5160e3=_0x480a23;if(_0x2c39b9[_0x5160e3(0x24c)]('upgrade',_0x1ec1e5),_0x2c39b9[_0x5160e3(0x24b)]!==_0x4fb982[_0x5160e3(0x1dc)])return;_0xc66f27=_0x2c39b9[_0x5160e3(0x206)]=null;const _0x4e40d9=_0x1ec1e5[_0x5160e3(0x1c7)]['upgrade'];if(_0x4e40d9===void 0x0||_0x4e40d9[_0x5160e3(0x1ef)]()!==_0x5160e3(0x2af)){_0x10ce8d(_0x2c39b9,_0x1f6f84,_0x5160e3(0x30c));return;}const _0x3eed28=_0x5f3b21('sha1')['update'](_0x5a491f+_0x2f97a4)[_0x5160e3(0x344)]('base64');if(_0x1ec1e5[_0x5160e3(0x1c7)][_0x5160e3(0x1bc)]!==_0x3eed28){_0x10ce8d(_0x2c39b9,_0x1f6f84,'Invalid\x20Sec-WebSocket-Accept\x20header');return;}const _0x2baa21=_0x1ec1e5[_0x5160e3(0x1c7)]['sec-websocket-protocol'];let _0x1ac34c;if(_0x2baa21!==void 0x0?_0x543e51[_0x5160e3(0x1bb)]?_0x543e51[_0x5160e3(0x252)](_0x2baa21)||(_0x1ac34c='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0x1ac34c=_0x5160e3(0x1bd):_0x543e51[_0x5160e3(0x1bb)]&&(_0x1ac34c=_0x5160e3(0x351)),_0x1ac34c){_0x10ce8d(_0x2c39b9,_0x1f6f84,_0x1ac34c);return;}_0x2baa21&&(_0x2c39b9['_protocol']=_0x2baa21);const _0x48a872=_0x1ec1e5[_0x5160e3(0x1c7)][_0x5160e3(0x21d)];if(_0x48a872!==void 0x0){if(!_0x26b533){_0x10ce8d(_0x2c39b9,_0x1f6f84,_0x5160e3(0x258));return;}let _0x5c3e20;try{_0x5c3e20=_0x56ed78(_0x48a872);}catch{_0x10ce8d(_0x2c39b9,_0x1f6f84,_0x5160e3(0x2da));return;}const _0x53208d=Object['keys'](_0x5c3e20);if(_0x53208d[_0x5160e3(0x29d)]!==0x1||_0x53208d[0x0]!==_0x3786ea[_0x5160e3(0x23e)]){_0x10ce8d(_0x2c39b9,_0x1f6f84,'Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested');return;}try{_0x26b533[_0x5160e3(0x2d5)](_0x5c3e20[_0x3786ea[_0x5160e3(0x23e)]]);}catch{_0x10ce8d(_0x2c39b9,_0x1f6f84,_0x5160e3(0x2da));return;}_0x2c39b9['_extensions'][_0x3786ea[_0x5160e3(0x23e)]]=_0x26b533;}_0x2c39b9['setSocket'](_0x1f6f84,_0x10f668,{'allowSynchronousEvents':_0x4da1fd[_0x5160e3(0x318)],'generateMask':_0x4da1fd[_0x5160e3(0x22d)],'maxPayload':_0x4da1fd['maxPayload'],'skipUTF8Validation':_0x4da1fd['skipUTF8Validation']});}),_0x4da1fd[_0x480a23(0x256)]?_0x4da1fd[_0x480a23(0x256)](_0xc66f27,_0x2c39b9):_0xc66f27['end']();}function _0x5056d2(_0x636d3f,_0x2bac9a){const _0x4ef664=_0x20c9af;_0x636d3f[_0x4ef664(0x254)]=_0x4fb982[_0x4ef664(0x236)],_0x636d3f['_errorEmitted']=!0x0,_0x636d3f[_0x4ef664(0x24c)](_0x4ef664(0x2fc),_0x2bac9a),_0x636d3f[_0x4ef664(0x30e)]();}function _0x35ba68(_0x5d8d28){const _0x103e9d=_0x20c9af;return _0x5d8d28[_0x103e9d(0x229)]=_0x5d8d28['socketPath'],_0x4e2835[_0x103e9d(0x2cc)](_0x5d8d28);}function _0x205a91(_0x2a46e){const _0xf023ff=_0x20c9af;return _0x2a46e[_0xf023ff(0x229)]=void 0x0,!_0x2a46e[_0xf023ff(0x273)]&&_0x2a46e['servername']!==''&&(_0x2a46e[_0xf023ff(0x273)]=_0x4e2835['isIP'](_0x2a46e[_0xf023ff(0x2e0)])?'':_0x2a46e['host']),_0x44e0de[_0xf023ff(0x2cc)](_0x2a46e);}function _0x10ce8d(_0x64c810,_0x3be0b1,_0xb56450){const _0x1195e3=_0x20c9af;_0x64c810['_readyState']=_0x4fb982[_0x1195e3(0x236)];const _0x42ae9b=new Error(_0xb56450);Error[_0x1195e3(0x1ba)](_0x42ae9b,_0x10ce8d),_0x3be0b1['setHeader']?(_0x3be0b1[_0xbc7c79]=!0x0,_0x3be0b1[_0x1195e3(0x2a3)](),_0x3be0b1['socket']&&!_0x3be0b1['socket'][_0x1195e3(0x325)]&&_0x3be0b1['socket'][_0x1195e3(0x31b)](),process[_0x1195e3(0x1c5)](_0x5056d2,_0x64c810,_0x42ae9b)):(_0x3be0b1[_0x1195e3(0x31b)](_0x42ae9b),_0x3be0b1[_0x1195e3(0x275)](_0x1195e3(0x2fc),_0x64c810[_0x1195e3(0x24c)][_0x1195e3(0x2f9)](_0x64c810,_0x1195e3(0x2fc))),_0x3be0b1[_0x1195e3(0x275)](_0x1195e3(0x25f),_0x64c810[_0x1195e3(0x30e)]['bind'](_0x64c810)));}function _0xfb87e8(_0x528562,_0x27f641,_0x2f511f){const _0x3ce521=_0x20c9af;if(_0x27f641){const _0x454171=_0x7971(_0x27f641)?_0x27f641[_0x3ce521(0x1bb)]:_0x48580e(_0x27f641)['length'];_0x528562['_socket']?_0x528562[_0x3ce521(0x230)][_0x3ce521(0x211)]+=_0x454171:_0x528562[_0x3ce521(0x348)]+=_0x454171;}if(_0x2f511f){const _0x5d3dd4=new Error(_0x3ce521(0x1fa)+_0x528562[_0x3ce521(0x24b)]+'\x20('+_0x196db2[_0x528562['readyState']]+')');process['nextTick'](_0x2f511f,_0x5d3dd4);}}function _0x42f9e3(_0x562adc,_0x4c8967){const _0x5487e3=_0x20c9af,_0x43a316=this[_0x2e419f];_0x43a316[_0x5487e3(0x2a5)]=!0x0,_0x43a316[_0x5487e3(0x2eb)]=_0x4c8967,_0x43a316[_0x5487e3(0x2a7)]=_0x562adc,_0x43a316[_0x5487e3(0x1cd)][_0x2e419f]!==void 0x0&&(_0x43a316[_0x5487e3(0x1cd)][_0x5487e3(0x248)](_0x5487e3(0x32e),_0x99a04e),process[_0x5487e3(0x1c5)](_0x9e9bb7,_0x43a316[_0x5487e3(0x1cd)]),_0x562adc===0x3ed?_0x43a316[_0x5487e3(0x25f)]():_0x43a316[_0x5487e3(0x25f)](_0x562adc,_0x4c8967));}function _0x16c99e(){const _0x1b863f=_0x20c9af,_0x1337fe=this[_0x2e419f];_0x1337fe['isPaused']||_0x1337fe[_0x1b863f(0x1cd)]['resume']();}function _0x382241(_0x1da99d){const _0x3d1e1f=_0x20c9af,_0x12d10f=this[_0x2e419f];_0x12d10f[_0x3d1e1f(0x1cd)][_0x2e419f]!==void 0x0&&(_0x12d10f[_0x3d1e1f(0x1cd)][_0x3d1e1f(0x248)](_0x3d1e1f(0x32e),_0x99a04e),process[_0x3d1e1f(0x1c5)](_0x9e9bb7,_0x12d10f['_socket']),_0x12d10f[_0x3d1e1f(0x25f)](_0x1da99d[_0x12bf0d])),_0x12d10f[_0x3d1e1f(0x2e4)]||(_0x12d10f[_0x3d1e1f(0x2e4)]=!0x0,_0x12d10f[_0x3d1e1f(0x24c)](_0x3d1e1f(0x2fc),_0x1da99d));}function _0x53d017(){const _0x385651=_0x20c9af;this[_0x2e419f][_0x385651(0x30e)]();}function _0x2b7f39(_0x82d911,_0x18b13d){const _0x24f691=_0x20c9af;this[_0x2e419f]['emit'](_0x24f691(0x26c),_0x82d911,_0x18b13d);}function _0xd73804(_0x35bef3){const _0x5bcd89=_0x20c9af,_0xd5f929=this[_0x2e419f];_0xd5f929[_0x5bcd89(0x34a)]&&_0xd5f929[_0x5bcd89(0x2c2)](_0x35bef3,!this[_0x5bcd89(0x313)],_0x509624),_0xd5f929['emit'](_0x5bcd89(0x32a),_0x35bef3);}function _0x427cc6(_0x51b7a3){const _0x13f47d=_0x20c9af;this[_0x2e419f][_0x13f47d(0x24c)](_0x13f47d(0x2c2),_0x51b7a3);}function _0x9e9bb7(_0x169290){const _0x35ab3d=_0x20c9af;_0x169290[_0x35ab3d(0x33e)]();}function _0x427a93(_0x42d42a){const _0x100843=_0x20c9af,_0x5292f2=this[_0x2e419f];_0x5292f2[_0x100843(0x24b)]!==_0x4fb982[_0x100843(0x269)]&&(_0x5292f2[_0x100843(0x24b)]===_0x4fb982['OPEN']&&(_0x5292f2[_0x100843(0x254)]=_0x4fb982[_0x100843(0x236)],_0x34fdd1(_0x5292f2)),this[_0x100843(0x1cd)][_0x100843(0x298)](),_0x5292f2['_errorEmitted']||(_0x5292f2[_0x100843(0x2e4)]=!0x0,_0x5292f2[_0x100843(0x24c)](_0x100843(0x2fc),_0x42d42a)));}function _0x34fdd1(_0x422003){const _0x34335a=_0x20c9af;_0x422003['_closeTimer']=setTimeout(_0x422003[_0x34335a(0x1cd)][_0x34335a(0x31b)]['bind'](_0x422003[_0x34335a(0x1cd)]),_0x1558ce);}function _0x335c5e(){const _0x211a2e=_0x20c9af,_0x4bb7c0=this[_0x2e419f];this[_0x211a2e(0x248)](_0x211a2e(0x25f),_0x335c5e),this[_0x211a2e(0x248)](_0x211a2e(0x32e),_0x99a04e),this[_0x211a2e(0x248)](_0x211a2e(0x298),_0x256562),_0x4bb7c0['_readyState']=_0x4fb982[_0x211a2e(0x236)];let _0x35143f;!this[_0x211a2e(0x1b3)][_0x211a2e(0x302)]&&!_0x4bb7c0[_0x211a2e(0x2a5)]&&!_0x4bb7c0[_0x211a2e(0x30a)][_0x211a2e(0x34d)]['errorEmitted']&&(_0x35143f=_0x4bb7c0[_0x211a2e(0x1cd)][_0x211a2e(0x240)]())!==null&&_0x4bb7c0[_0x211a2e(0x30a)][_0x211a2e(0x225)](_0x35143f),_0x4bb7c0['_receiver'][_0x211a2e(0x298)](),this[_0x2e419f]=void 0x0,clearTimeout(_0x4bb7c0['_closeTimer']),_0x4bb7c0['_receiver']['_writableState'][_0x211a2e(0x34e)]||_0x4bb7c0[_0x211a2e(0x30a)][_0x211a2e(0x34d)][_0x211a2e(0x342)]?_0x4bb7c0[_0x211a2e(0x30e)]():(_0x4bb7c0[_0x211a2e(0x30a)]['on'](_0x211a2e(0x2fc),_0x53d017),_0x4bb7c0[_0x211a2e(0x30a)]['on'](_0x211a2e(0x2b1),_0x53d017));}function _0x99a04e(_0x4ed66e){const _0x369cc0=_0x20c9af;this[_0x2e419f][_0x369cc0(0x30a)]['write'](_0x4ed66e)||this[_0x369cc0(0x1c2)]();}function _0x256562(){const _0x1a12df=_0x20c9af,_0x5dae83=this[_0x2e419f];_0x5dae83[_0x1a12df(0x254)]=_0x4fb982[_0x1a12df(0x236)],_0x5dae83[_0x1a12df(0x30a)][_0x1a12df(0x298)](),this['end']();}function _0x4ce5f9(){const _0x175921=_0x20c9af,_0x25b4d5=this[_0x2e419f];this[_0x175921(0x248)](_0x175921(0x2fc),_0x4ce5f9),this['on']('error',_0x509624),_0x25b4d5&&(_0x25b4d5[_0x175921(0x254)]=_0x4fb982[_0x175921(0x236)],this[_0x175921(0x31b)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x3b8b1d}=_0x3ebcaa;function _0x1a2398(_0x114118){const _0x9d55b7=_0x5878;_0x114118[_0x9d55b7(0x24c)](_0x9d55b7(0x25f));}function _0x3163e2(){const _0x48410c=_0x5878;!this['destroyed']&&this[_0x48410c(0x34d)][_0x48410c(0x34e)]&&this[_0x48410c(0x31b)]();}function _0x9c2f92(_0x8be39a){const _0xfcee58=_0x5878;this[_0xfcee58(0x248)]('error',_0x9c2f92),this[_0xfcee58(0x31b)](),this[_0xfcee58(0x1fb)](_0xfcee58(0x2fc))===0x0&&this[_0xfcee58(0x24c)](_0xfcee58(0x2fc),_0x8be39a);}function _0x3931a3(_0x49bc2a,_0x40817d){const _0x1aa697=_0x5878;let _0x3ebbce=!0x0;const _0x3946d3=new _0x3b8b1d({..._0x40817d,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x49bc2a['on'](_0x1aa697(0x26c),function(_0x236438,_0x48029d){const _0x3f3d45=_0x1aa697,_0x222f68=!_0x48029d&&_0x3946d3[_0x3f3d45(0x1b3)][_0x3f3d45(0x338)]?_0x236438[_0x3f3d45(0x1ec)]():_0x236438;_0x3946d3[_0x3f3d45(0x29f)](_0x222f68)||_0x49bc2a[_0x3f3d45(0x1c2)]();}),_0x49bc2a[_0x1aa697(0x275)]('error',function(_0x200365){const _0x2306b2=_0x1aa697;_0x3946d3[_0x2306b2(0x325)]||(_0x3ebbce=!0x1,_0x3946d3[_0x2306b2(0x31b)](_0x200365));}),_0x49bc2a[_0x1aa697(0x275)](_0x1aa697(0x25f),function(){const _0x241a91=_0x1aa697;_0x3946d3[_0x241a91(0x325)]||_0x3946d3[_0x241a91(0x29f)](null);}),_0x3946d3[_0x1aa697(0x213)]=function(_0x56f78d,_0x2aedc1){const _0x13f188=_0x1aa697;if(_0x49bc2a[_0x13f188(0x24b)]===_0x49bc2a[_0x13f188(0x269)]){_0x2aedc1(_0x56f78d),process[_0x13f188(0x1c5)](_0x1a2398,_0x3946d3);return;}let _0x5b3b45=!0x1;_0x49bc2a[_0x13f188(0x275)](_0x13f188(0x2fc),function(_0x431f45){_0x5b3b45=!0x0,_0x2aedc1(_0x431f45);}),_0x49bc2a[_0x13f188(0x275)](_0x13f188(0x25f),function(){const _0x424fe4=_0x13f188;_0x5b3b45||_0x2aedc1(_0x56f78d),process[_0x424fe4(0x1c5)](_0x1a2398,_0x3946d3);}),_0x3ebbce&&_0x49bc2a[_0x13f188(0x246)]();},_0x3946d3[_0x1aa697(0x2a4)]=function(_0x3b74f5){const _0x448035=_0x1aa697;if(_0x49bc2a[_0x448035(0x24b)]===_0x49bc2a[_0x448035(0x1dc)]){_0x49bc2a['once'](_0x448035(0x2d9),function(){const _0x4fe6bb=_0x448035;_0x3946d3[_0x4fe6bb(0x2a4)](_0x3b74f5);});return;}_0x49bc2a[_0x448035(0x1cd)]!==null&&(_0x49bc2a[_0x448035(0x1cd)]['_writableState'][_0x448035(0x34e)]?(_0x3b74f5(),_0x3946d3['_readableState'][_0x448035(0x302)]&&_0x3946d3[_0x448035(0x31b)]()):(_0x49bc2a[_0x448035(0x1cd)][_0x448035(0x275)](_0x448035(0x2b1),function(){_0x3b74f5();}),_0x49bc2a[_0x448035(0x25f)]()));},_0x3946d3[_0x1aa697(0x1e9)]=function(){const _0x268bee=_0x1aa697;_0x49bc2a['isPaused']&&_0x49bc2a[_0x268bee(0x33e)]();},_0x3946d3[_0x1aa697(0x21b)]=function(_0x56ae3e,_0x33aefa,_0x4b42db){const _0x384571=_0x1aa697;if(_0x49bc2a[_0x384571(0x24b)]===_0x49bc2a[_0x384571(0x1dc)]){_0x49bc2a[_0x384571(0x275)]('open',function(){const _0x10ebd5=_0x384571;_0x3946d3[_0x10ebd5(0x21b)](_0x56ae3e,_0x33aefa,_0x4b42db);});return;}_0x49bc2a['send'](_0x56ae3e,_0x4b42db);},_0x3946d3['on'](_0x1aa697(0x298),_0x3163e2),_0x3946d3['on'](_0x1aa697(0x2fc),_0x9c2f92),_0x3946d3;}return Oe=_0x3931a3,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=jt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x28dd7f}=ne();function _0x581b88(_0xee0849){const _0x347b38=_0x5878,_0x5ae9bd=new Set();let _0x539bbf=-0x1,_0x212f93=-0x1,_0x5edea8=0x0;for(_0x5edea8;_0x5edea8<_0xee0849[_0x347b38(0x29d)];_0x5edea8++){const _0x507381=_0xee0849[_0x347b38(0x2a6)](_0x5edea8);if(_0x212f93===-0x1&&_0x28dd7f[_0x507381]===0x1)_0x539bbf===-0x1&&(_0x539bbf=_0x5edea8);else{if(_0x5edea8!==0x0&&(_0x507381===0x20||_0x507381===0x9))_0x212f93===-0x1&&_0x539bbf!==-0x1&&(_0x212f93=_0x5edea8);else{if(_0x507381===0x2c){if(_0x539bbf===-0x1)throw new SyntaxError(_0x347b38(0x22b)+_0x5edea8);_0x212f93===-0x1&&(_0x212f93=_0x5edea8);const _0x3d7b16=_0xee0849[_0x347b38(0x284)](_0x539bbf,_0x212f93);if(_0x5ae9bd['has'](_0x3d7b16))throw new SyntaxError(_0x347b38(0x1b9)+_0x3d7b16+_0x347b38(0x346));_0x5ae9bd[_0x347b38(0x2dd)](_0x3d7b16),_0x539bbf=_0x212f93=-0x1;}else throw new SyntaxError(_0x347b38(0x22b)+_0x5edea8);}}}if(_0x539bbf===-0x1||_0x212f93!==-0x1)throw new SyntaxError(_0x347b38(0x247));const _0x5769d7=_0xee0849[_0x347b38(0x284)](_0x539bbf,_0x5edea8);if(_0x5ae9bd['has'](_0x5769d7))throw new SyntaxError(_0x347b38(0x1b9)+_0x5769d7+_0x347b38(0x346));return _0x5ae9bd[_0x347b38(0x2dd)](_0x5769d7),_0x5ae9bd;}return Ce={'parse':_0x581b88},Ce;}var Te,ot;function er(){const _0x35cade=_0x3b2d4f;if(ot)return Te;ot=0x1;const _0x3e452d=_0x285de2,_0x46fddf=_0x4c53ad,{Duplex:_0x4daa1e}=_0x3ebcaa,{createHash:_0x545204}=_0x31487d,_0x5d68b3=pt(),_0x5db51b=he(),_0x3c9431=Jt(),_0x3ac168=Ie(),{GUID:_0x20adb1,kWebSocket:_0x10b794}=V(),_0x19060=/^[+/0-9A-Za-z]{22}==$/,_0x4a60df=0x0,_0x47b19d=0x1,_0x141bdb=0x2;class _0x100056 extends _0x3e452d{constructor(_0x3c45c0,_0x2831af){const _0x3c8eeb=_0x5878;if(super(),_0x3c45c0={'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':_0x3ac168,..._0x3c45c0},_0x3c45c0[_0x3c8eeb(0x220)]==null&&!_0x3c45c0[_0x3c8eeb(0x1fe)]&&!_0x3c45c0[_0x3c8eeb(0x2c7)]||_0x3c45c0[_0x3c8eeb(0x220)]!=null&&(_0x3c45c0['server']||_0x3c45c0['noServer'])||_0x3c45c0[_0x3c8eeb(0x1fe)]&&_0x3c45c0[_0x3c8eeb(0x2c7)])throw new TypeError(_0x3c8eeb(0x26f));if(_0x3c45c0['port']!=null?(this[_0x3c8eeb(0x33f)]=_0x46fddf[_0x3c8eeb(0x2fd)]((_0x415f61,_0x4dd64b)=>{const _0x3bb6b4=_0x3c8eeb,_0x1e1773=_0x46fddf[_0x3bb6b4(0x212)][0x1aa];_0x4dd64b['writeHead'](0x1aa,{'Content-Length':_0x1e1773['length'],'Content-Type':'text/plain'}),_0x4dd64b[_0x3bb6b4(0x298)](_0x1e1773);}),this[_0x3c8eeb(0x33f)][_0x3c8eeb(0x25c)](_0x3c45c0[_0x3c8eeb(0x220)],_0x3c45c0[_0x3c8eeb(0x2e0)],_0x3c45c0[_0x3c8eeb(0x27b)],_0x2831af)):_0x3c45c0['server']&&(this[_0x3c8eeb(0x33f)]=_0x3c45c0['server']),this[_0x3c8eeb(0x33f)]){const _0x42cbc0=this[_0x3c8eeb(0x24c)][_0x3c8eeb(0x2f9)](this,_0x3c8eeb(0x1d3));this[_0x3c8eeb(0x2e2)]=_0x1bb3ec(this['_server'],{'listening':this[_0x3c8eeb(0x24c)][_0x3c8eeb(0x2f9)](this,'listening'),'error':this[_0x3c8eeb(0x24c)]['bind'](this,_0x3c8eeb(0x2fc)),'upgrade':(_0x3856cc,_0x2f1280,_0x560d23)=>{const _0x15ccde=_0x3c8eeb;this[_0x15ccde(0x306)](_0x3856cc,_0x2f1280,_0x560d23,_0x42cbc0);}});}_0x3c45c0[_0x3c8eeb(0x1d2)]===!0x0&&(_0x3c45c0[_0x3c8eeb(0x1d2)]={}),_0x3c45c0[_0x3c8eeb(0x300)]&&(this[_0x3c8eeb(0x1c6)]=new Set(),this[_0x3c8eeb(0x1cc)]=!0x1),this['options']=_0x3c45c0,this['_state']=_0x4a60df;}[_0x35cade(0x2fe)](){const _0x32ae03=_0x35cade;if(this[_0x32ae03(0x274)][_0x32ae03(0x2c7)])throw new Error(_0x32ae03(0x1c1));return this['_server']?this[_0x32ae03(0x33f)][_0x32ae03(0x2fe)]():null;}['close'](_0x2ae13e){const _0x3a2082=_0x35cade;if(this[_0x3a2082(0x2e6)]===_0x141bdb){_0x2ae13e&&this['once'](_0x3a2082(0x25f),()=>{const _0x3b8340=_0x3a2082;_0x2ae13e(new Error(_0x3b8340(0x322)));}),process['nextTick'](_0x32a463,this);return;}if(_0x2ae13e&&this['once'](_0x3a2082(0x25f),_0x2ae13e),this[_0x3a2082(0x2e6)]!==_0x47b19d){if(this[_0x3a2082(0x2e6)]=_0x47b19d,this[_0x3a2082(0x274)][_0x3a2082(0x2c7)]||this[_0x3a2082(0x274)][_0x3a2082(0x1fe)])this['_server']&&(this[_0x3a2082(0x2e2)](),this[_0x3a2082(0x2e2)]=this[_0x3a2082(0x33f)]=null),this[_0x3a2082(0x1c6)]?this[_0x3a2082(0x1c6)]['size']?this['_shouldEmitClose']=!0x0:process[_0x3a2082(0x1c5)](_0x32a463,this):process['nextTick'](_0x32a463,this);else{const _0x43d803=this[_0x3a2082(0x33f)];this[_0x3a2082(0x2e2)](),this[_0x3a2082(0x2e2)]=this[_0x3a2082(0x33f)]=null,_0x43d803[_0x3a2082(0x25f)](()=>{_0x32a463(this);});}}}[_0x35cade(0x1b1)](_0x35dbbf){const _0x5f079b=_0x35cade;if(this[_0x5f079b(0x274)][_0x5f079b(0x229)]){const _0x54a149=_0x35dbbf['url'][_0x5f079b(0x26d)]('?');if((_0x54a149!==-0x1?_0x35dbbf[_0x5f079b(0x278)][_0x5f079b(0x284)](0x0,_0x54a149):_0x35dbbf[_0x5f079b(0x278)])!==this[_0x5f079b(0x274)][_0x5f079b(0x229)])return!0x1;}return!0x0;}[_0x35cade(0x306)](_0x2b0856,_0x3be40a,_0x395c3f,_0x58e37f){const _0x9e7d45=_0x35cade;_0x3be40a['on'](_0x9e7d45(0x2fc),_0x93babf);const _0xcab2f2=_0x2b0856[_0x9e7d45(0x1c7)]['sec-websocket-key'],_0x24cfc2=_0x2b0856[_0x9e7d45(0x1c7)]['upgrade'],_0x3f86e0=+_0x2b0856[_0x9e7d45(0x1c7)][_0x9e7d45(0x244)];if(_0x2b0856[_0x9e7d45(0x2a1)]!=='GET'){_0x5872a0(this,_0x2b0856,_0x3be40a,0x195,_0x9e7d45(0x2ef));return;}if(_0x24cfc2===void 0x0||_0x24cfc2[_0x9e7d45(0x1ef)]()!==_0x9e7d45(0x2af)){_0x5872a0(this,_0x2b0856,_0x3be40a,0x190,_0x9e7d45(0x30c));return;}if(_0xcab2f2===void 0x0||!_0x19060[_0x9e7d45(0x2d6)](_0xcab2f2)){_0x5872a0(this,_0x2b0856,_0x3be40a,0x190,_0x9e7d45(0x223));return;}if(_0x3f86e0!==0x8&&_0x3f86e0!==0xd){_0x5872a0(this,_0x2b0856,_0x3be40a,0x190,_0x9e7d45(0x34f));return;}if(!this[_0x9e7d45(0x1b1)](_0x2b0856)){_0x5ea0cc(_0x3be40a,0x190);return;}const _0x29abd9=_0x2b0856[_0x9e7d45(0x1c7)][_0x9e7d45(0x251)];let _0x4f7ee7=new Set();if(_0x29abd9!==void 0x0)try{_0x4f7ee7=_0x3c9431[_0x9e7d45(0x33b)](_0x29abd9);}catch{_0x5872a0(this,_0x2b0856,_0x3be40a,0x190,'Invalid\x20Sec-WebSocket-Protocol\x20header');return;}const _0x101c93=_0x2b0856[_0x9e7d45(0x1c7)][_0x9e7d45(0x21d)],_0x380b2e={};if(this[_0x9e7d45(0x274)]['perMessageDeflate']&&_0x101c93!==void 0x0){const _0x2df4e5=new _0x5db51b(this[_0x9e7d45(0x274)][_0x9e7d45(0x1d2)],!0x0,this[_0x9e7d45(0x274)][_0x9e7d45(0x1d1)]);try{const _0x1d2c25=_0x5d68b3[_0x9e7d45(0x33b)](_0x101c93);_0x1d2c25[_0x5db51b[_0x9e7d45(0x23e)]]&&(_0x2df4e5[_0x9e7d45(0x2d5)](_0x1d2c25[_0x5db51b[_0x9e7d45(0x23e)]]),_0x380b2e[_0x5db51b[_0x9e7d45(0x23e)]]=_0x2df4e5);}catch{_0x5872a0(this,_0x2b0856,_0x3be40a,0x190,'Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header');return;}}if(this['options'][_0x9e7d45(0x25e)]){const _0x2569f6={'origin':_0x2b0856[_0x9e7d45(0x1c7)][''+(_0x3f86e0===0x8?_0x9e7d45(0x2e7):'origin')],'secure':!!(_0x2b0856['socket'][_0x9e7d45(0x241)]||_0x2b0856[_0x9e7d45(0x23d)][_0x9e7d45(0x214)]),'req':_0x2b0856};if(this[_0x9e7d45(0x274)][_0x9e7d45(0x25e)][_0x9e7d45(0x29d)]===0x2){this['options']['verifyClient'](_0x2569f6,(_0x5121ce,_0x49c1e5,_0x310486,_0x1d7dd4)=>{const _0x56dddb=_0x9e7d45;if(!_0x5121ce)return _0x5ea0cc(_0x3be40a,_0x49c1e5||0x191,_0x310486,_0x1d7dd4);this[_0x56dddb(0x1e6)](_0x380b2e,_0xcab2f2,_0x4f7ee7,_0x2b0856,_0x3be40a,_0x395c3f,_0x58e37f);});return;}if(!this[_0x9e7d45(0x274)][_0x9e7d45(0x25e)](_0x2569f6))return _0x5ea0cc(_0x3be40a,0x191);}this[_0x9e7d45(0x1e6)](_0x380b2e,_0xcab2f2,_0x4f7ee7,_0x2b0856,_0x3be40a,_0x395c3f,_0x58e37f);}[_0x35cade(0x1e6)](_0x5e7247,_0x299d81,_0x17542b,_0x2fcfed,_0x7628ca,_0x4c226e,_0x28245a){const _0x43ae46=_0x35cade;if(!_0x7628ca[_0x43ae46(0x326)]||!_0x7628ca['writable'])return _0x7628ca[_0x43ae46(0x31b)]();if(_0x7628ca[_0x10b794])throw new Error(_0x43ae46(0x315));if(this[_0x43ae46(0x2e6)]>_0x4a60df)return _0x5ea0cc(_0x7628ca,0x1f7);const _0x5d58d5=[_0x43ae46(0x242),'Upgrade:\x20websocket','Connection:\x20Upgrade',_0x43ae46(0x2d4)+_0x545204(_0x43ae46(0x224))[_0x43ae46(0x2b2)](_0x299d81+_0x20adb1)[_0x43ae46(0x344)]('base64')],_0x51266e=new this['options'][(_0x43ae46(0x350))](null,void 0x0,this['options']);if(_0x17542b[_0x43ae46(0x1bb)]){const _0x5f3854=this[_0x43ae46(0x274)]['handleProtocols']?this[_0x43ae46(0x274)][_0x43ae46(0x1f0)](_0x17542b,_0x2fcfed):_0x17542b[_0x43ae46(0x2b7)]()[_0x43ae46(0x1e2)]()[_0x43ae46(0x2f8)];_0x5f3854&&(_0x5d58d5[_0x43ae46(0x29f)]('Sec-WebSocket-Protocol:\x20'+_0x5f3854),_0x51266e['_protocol']=_0x5f3854);}if(_0x5e7247[_0x5db51b['extensionName']]){const _0x3ecb96=_0x5e7247[_0x5db51b[_0x43ae46(0x23e)]][_0x43ae46(0x25a)],_0x10c330=_0x5d68b3[_0x43ae46(0x2f1)]({[_0x5db51b[_0x43ae46(0x23e)]]:[_0x3ecb96]});_0x5d58d5[_0x43ae46(0x29f)](_0x43ae46(0x216)+_0x10c330),_0x51266e[_0x43ae46(0x2bd)]=_0x5e7247;}this[_0x43ae46(0x24c)](_0x43ae46(0x1c7),_0x5d58d5,_0x2fcfed),_0x7628ca[_0x43ae46(0x225)](_0x5d58d5[_0x43ae46(0x314)]('\x0d\x0a')[_0x43ae46(0x28a)]('\x0d\x0a')),_0x7628ca[_0x43ae46(0x248)]('error',_0x93babf),_0x51266e[_0x43ae46(0x289)](_0x7628ca,_0x4c226e,{'allowSynchronousEvents':this[_0x43ae46(0x274)][_0x43ae46(0x318)],'maxPayload':this[_0x43ae46(0x274)][_0x43ae46(0x1d1)],'skipUTF8Validation':this[_0x43ae46(0x274)][_0x43ae46(0x2f3)]}),this['clients']&&(this[_0x43ae46(0x1c6)][_0x43ae46(0x2dd)](_0x51266e),_0x51266e['on']('close',()=>{const _0x52c0c3=_0x43ae46;this['clients'][_0x52c0c3(0x27c)](_0x51266e),this[_0x52c0c3(0x1cc)]&&!this[_0x52c0c3(0x1c6)][_0x52c0c3(0x1bb)]&&process[_0x52c0c3(0x1c5)](_0x32a463,this);})),_0x28245a(_0x51266e,_0x2fcfed);}}Te=_0x100056;function _0x1bb3ec(_0x57e855,_0xb533d6){for(const _0x4e42d4 of Object['keys'](_0xb533d6))_0x57e855['on'](_0x4e42d4,_0xb533d6[_0x4e42d4]);return function(){const _0x30aff7=_0x5878;for(const _0x59c021 of Object[_0x30aff7(0x235)](_0xb533d6))_0x57e855[_0x30aff7(0x248)](_0x59c021,_0xb533d6[_0x59c021]);};}function _0x32a463(_0x50b8b5){const _0x547772=_0x35cade;_0x50b8b5[_0x547772(0x2e6)]=_0x141bdb,_0x50b8b5[_0x547772(0x24c)](_0x547772(0x25f));}function _0x93babf(){const _0x278464=_0x35cade;this[_0x278464(0x31b)]();}function _0x5ea0cc(_0xddbecc,_0x314d99,_0xcaf91b,_0x182d61){const _0xa5b7e1=_0x35cade;_0xcaf91b=_0xcaf91b||_0x46fddf[_0xa5b7e1(0x212)][_0x314d99],_0x182d61={'Connection':_0xa5b7e1(0x25f),'Content-Type':_0xa5b7e1(0x279),'Content-Length':Buffer['byteLength'](_0xcaf91b),..._0x182d61},_0xddbecc[_0xa5b7e1(0x275)](_0xa5b7e1(0x2b1),_0xddbecc[_0xa5b7e1(0x31b)]),_0xddbecc[_0xa5b7e1(0x298)]('HTTP/1.1\x20'+_0x314d99+'\x20'+_0x46fddf[_0xa5b7e1(0x212)][_0x314d99]+'\x0d\x0a'+Object[_0xa5b7e1(0x235)](_0x182d61)[_0xa5b7e1(0x2d2)](_0x1eea92=>_0x1eea92+':\x20'+_0x182d61[_0x1eea92])['join']('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0xcaf91b);}function _0x5872a0(_0x5f2151,_0x252fe2,_0x282e3a,_0x59642d,_0x575e68){const _0x3acaca=_0x35cade;if(_0x5f2151[_0x3acaca(0x1fb)](_0x3acaca(0x1fd))){const _0x228191=new Error(_0x575e68);Error[_0x3acaca(0x1ba)](_0x228191,_0x5872a0),_0x5f2151[_0x3acaca(0x24c)]('wsClientError',_0x228191,_0x282e3a,_0x252fe2);}else _0x5ea0cc(_0x282e3a,_0x59642d,_0x575e68);}return Te;}er();function _0x5878(_0xfb7f70,_0x179349){const _0xaa379f=_0xaa37();return _0x5878=function(_0x58789c,_0x5a3dbc){_0x58789c=_0x58789c-0x1b1;let _0x2523c3=_0xaa379f[_0x58789c];return _0x2523c3;},_0x5878(_0xfb7f70,_0x179349);}var tr=Object['getOwnPropertyDescriptor'],rr=(_0x4f22fd,_0x31433b,_0x4d9bdc,_0x22d54a)=>{for(var _0x211001=_0x22d54a>0x1?void 0x0:_0x22d54a?tr(_0x31433b,_0x4d9bdc):_0x31433b,_0x2e2d1a=_0x4f22fd['length']-0x1,_0x3ab649;_0x2e2d1a>=0x0;_0x2e2d1a--)(_0x3ab649=_0x4f22fd[_0x2e2d1a])&&(_0x211001=_0x3ab649(_0x211001)||_0x211001);return _0x211001;},sr=(_0x6bffcd,_0x5b8c4a)=>(_0x30a556,_0x38320c)=>_0x5b8c4a(_0x30a556,_0x38320c,_0x6bffcd);let Ne=class extends _0x5d8c1e{constructor(_0x25e1ac){super(),this['_configService']=_0x25e1ac;}[_0x3b2d4f(0x30f)](_0x1671f4){const _0x1b6bf8=_0x3b2d4f;var _0x4cb640;const _0x3cecc8=(_0x4cb640=this[_0x1b6bf8(0x203)][_0x1b6bf8(0x283)](Be))==null?void 0x0:_0x4cb640[_0x1b6bf8(0x2ab)];try{const _0xc102f6=new Qt(_0x1671f4,{'headers':{..._0x3cecc8}}),_0x37acf3=new _0x4bfb28();return{'URL':_0x1671f4,'close':(_0x104118,_0x2ce825)=>{const _0x15ba70=_0x1b6bf8;_0xc102f6[_0x15ba70(0x25f)](_0x104118,_0x2ce825),_0x37acf3[_0x15ba70(0x1eb)]();},'send':_0x33ba2d=>{const _0x1b0cda=_0x1b6bf8;_0xc102f6[_0x1b0cda(0x1c0)](_0x33ba2d);},'open$':new _0x2f42c6(_0x27a8ea=>{const _0x448db4=_0x1b6bf8,_0x1fba1e=_0x4f9c41=>_0x27a8ea['next'](_0x4f9c41);_0xc102f6[_0x448db4(0x27a)](_0x448db4(0x2d9),_0x1fba1e),_0x37acf3[_0x448db4(0x2dd)](_0x2cc068(()=>_0xc102f6[_0x448db4(0x276)](_0x448db4(0x2d9),_0x1fba1e)));})[_0x1b6bf8(0x243)](_0x1b1d90()),'close$':new _0x2f42c6(_0x1a5958=>{const _0xdb77b9=_0x1b6bf8,_0x4cbee8=_0x1423ad=>_0x1a5958[_0xdb77b9(0x1e2)](_0x1423ad);_0xc102f6[_0xdb77b9(0x27a)]('close',_0x4cbee8),_0x37acf3[_0xdb77b9(0x2dd)](_0x2cc068(()=>_0xc102f6[_0xdb77b9(0x276)]('close',_0x4cbee8)));})[_0x1b6bf8(0x243)](_0x1b1d90()),'error$':new _0x2f42c6(_0x479bb9=>{const _0x131f06=_0x1b6bf8,_0x8eefd0=_0x51db33=>_0x479bb9[_0x131f06(0x1e2)](_0x51db33);_0xc102f6[_0x131f06(0x27a)]('error',_0x8eefd0),_0x37acf3['add'](_0x2cc068(()=>_0xc102f6[_0x131f06(0x276)](_0x131f06(0x2fc),_0x8eefd0)));})[_0x1b6bf8(0x243)](_0x1b1d90()),'message$':new _0x2f42c6(_0x37ba76=>{const _0x1152b7=_0x1b6bf8,_0x1f99ce=_0x10b522=>_0x37ba76[_0x1152b7(0x1e2)](_0x10b522);_0xc102f6[_0x1152b7(0x27a)](_0x1152b7(0x26c),_0x1f99ce),_0x37acf3['add'](_0x2cc068(()=>_0xc102f6[_0x1152b7(0x276)](_0x1152b7(0x26c),_0x1f99ce)));})[_0x1b6bf8(0x243)](_0x1b1d90())};}catch(_0x5ae11d){return console[_0x1b6bf8(0x2fc)](_0x5ae11d),null;}}};Ne=rr([sr(0x0,_0x3172c0)],Ne);var ir=Object[_0x3b2d4f(0x1b5)],nr=Object[_0x3b2d4f(0x2f0)],or=(_0x763092,_0x5b3825,_0x583dee)=>_0x5b3825 in _0x763092?ir(_0x763092,_0x5b3825,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x583dee}):_0x763092[_0x5b3825]=_0x583dee,ar=(_0x433151,_0x5da165,_0x249cc5,_0x7a5dee)=>{const _0x2a9a0d=_0x3b2d4f;for(var _0x4f08ee=_0x7a5dee>0x1?void 0x0:_0x7a5dee?nr(_0x5da165,_0x249cc5):_0x5da165,_0x631251=_0x433151[_0x2a9a0d(0x29d)]-0x1,_0x190078;_0x631251>=0x0;_0x631251--)(_0x190078=_0x433151[_0x631251])&&(_0x4f08ee=_0x190078(_0x4f08ee)||_0x4f08ee);return _0x4f08ee;},ke=(_0x484778,_0x103e67)=>(_0x4fe281,_0x164330)=>_0x103e67(_0x4fe281,_0x164330,_0x484778),lr=(_0x11d948,_0x3cc680,_0x308eed)=>or(_0x11d948,_0x3cc680+'',_0x308eed);let Pe=class extends _0x3b72c9{constructor(_0x3ab005=Ft,_0x216eaf,_0x475c8f,_0x33108e){const _0xb6667b=_0x3b2d4f;_0x3ab005['customHeaders']||_0x216eaf[_0xb6667b(0x226)](_0xb6667b(0x2a2)),super(),this[_0xb6667b(0x203)]=_0x475c8f,this[_0xb6667b(0x263)]=_0x33108e,this[_0xb6667b(0x203)][_0xb6667b(0x2ff)](Be,_0x3ab005);}[_0x3b2d4f(0x1f4)](){const _0x4bae1c=_0x3b2d4f;this[_0x4bae1c(0x21a)]();}['_registerDependencies'](){const _0x53a2f6=_0x3b2d4f;_0x1351e9(this[_0x53a2f6(0x263)],[[_0xe99879,{'useClass':Ne}]]);}};lr(Pe,'pluginName',_0x3b2d4f(0x286)),Pe=ar([_0x285740(_0x3c982b),ke(0x1,_0x3ba426),ke(0x2,_0x3172c0),ke(0x3,_0x204b9c(_0x14fdda))],Pe);var fr=Object[_0x3b2d4f(0x2f0)],cr=(_0x37ed76,_0x25540d,_0x4686bf,_0x458a31)=>{const _0x5b1068=_0x3b2d4f;for(var _0x71dd17=_0x458a31>0x1?void 0x0:_0x458a31?fr(_0x25540d,_0x4686bf):_0x25540d,_0x4b0bc6=_0x37ed76[_0x5b1068(0x29d)]-0x1,_0x2f401f;_0x4b0bc6>=0x0;_0x4b0bc6--)(_0x2f401f=_0x37ed76[_0x4b0bc6])&&(_0x71dd17=_0x2f401f(_0x71dd17)||_0x71dd17);return _0x71dd17;},se=(_0x31e521,_0x2a1163)=>(_0x1637b0,_0x5db644)=>_0x2a1163(_0x1637b0,_0x5db644,_0x31e521);let at=class extends _0x533d18{constructor(_0x5c1523,_0x575b25,_0x2ccd2f,_0x59533d,_0x488d60){const _0x2fc3b6=_0x3b2d4f;super(_0x5c1523,_0x575b25,_0x2ccd2f,_0x59533d,_0x488d60);const _0x1f0714=this['_configService'][_0x2fc3b6(0x283)](Be);this[_0x2fc3b6(0x345)][_0x2fc3b6(0x1b2)]({'interceptor':(_0x5cfafc,_0x4e82b5)=>{const _0x27c168=_0x2fc3b6;var _0x473fbd;const _0x747f1b=_0x5cfafc[_0x27c168(0x1c7)];return(_0x473fbd=_0x1f0714==null?void 0x0:_0x1f0714[_0x27c168(0x2ab)])!=null&&_0x473fbd[_0x27c168(0x311)]&&_0x747f1b[_0x27c168(0x340)](_0x27c168(0x356),_0x1f0714[_0x27c168(0x2ab)]['cookie']),_0x4e82b5(_0x5cfafc);}});}async[_0x3b2d4f(0x30f)](_0x496051){const _0x4abdb9=_0x3b2d4f;return this[_0x4abdb9(0x335)](_0x496051);}};at=cr([se(0x0,_0x204b9c(_0x14fdda)),se(0x1,_0x204b9c(_0x528a46)),se(0x2,_0x3172c0),se(0x3,_0x3ba426),se(0x4,_0x2490b9)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
|
|
1
|
+
const _0x51581f=_0x1d3f;(function(_0x49e26e,_0x54a1b0){const _0x33d2c7=_0x1d3f,_0x44dd81=_0x49e26e();while(!![]){try{const _0x4a7678=parseInt(_0x33d2c7(0x1bb))/0x1*(-parseInt(_0x33d2c7(0x220))/0x2)+-parseInt(_0x33d2c7(0x192))/0x3*(-parseInt(_0x33d2c7(0xe8))/0x4)+parseInt(_0x33d2c7(0x248))/0x5*(parseInt(_0x33d2c7(0x229))/0x6)+parseInt(_0x33d2c7(0x143))/0x7*(parseInt(_0x33d2c7(0xe5))/0x8)+parseInt(_0x33d2c7(0x130))/0x9+parseInt(_0x33d2c7(0x236))/0xa*(parseInt(_0x33d2c7(0x1ad))/0xb)+-parseInt(_0x33d2c7(0x1e3))/0xc;if(_0x4a7678===_0x54a1b0)break;else _0x44dd81['push'](_0x44dd81['shift']());}catch(_0x1d8fd3){_0x44dd81['push'](_0x44dd81['shift']());}}}(_0x36c1,0xc0722));import{UniverCollaborationClientPlugin as _0x465884,CollaborationSocketService as _0x5104d6}from'@univerjs-pro/collaboration-client';import{Disposable as _0x26886c,DisposableCollection as _0x1c0c96,toDisposable as _0xfd43a,IConfigService as _0x495da5,DependentOn as _0x17d16b,ILogService as _0x289b26,Inject as _0x162533,Injector as _0x190e77,Plugin as _0x2c16f9,registerDependencies as _0x4eec3e}from'@univerjs/core';import{ISocketService as _0x29548e,HTTPService as _0x3db4fc}from'@univerjs/network';import{Observable as _0x54a72d,share as _0xce64e1}from'rxjs';import _0x201900 from'events';import _0x37559f from'https';import _0x4f4783 from'http';import _0xfdff4b from'net';import _0x18f1d6 from'tls';import _0x5ee8d0 from'crypto';import _0x30afae from'stream';import _0x372240 from'url';import _0x290371 from'zlib';import _0x27fe2b from'buffer';import{ISnapshotServerService as _0x77d7ee}from'@univerjs-pro/collaboration';const Be=_0x51581f(0x22d),Ft={'customHeaders':{}};function jt(_0x165376){const _0x5ca909=_0x51581f;return _0x165376&&_0x165376[_0x5ca909(0x1c5)]&&Object[_0x5ca909(0x21b)][_0x5ca909(0x1a3)]['call'](_0x165376,_0x5ca909(0x12a))?_0x165376[_0x5ca909(0x12a)]:_0x165376;}function ut(_0x482dfb){const _0xa1aafc=_0x51581f;if(Object[_0xa1aafc(0x21b)][_0xa1aafc(0x1a3)][_0xa1aafc(0x1e7)](_0x482dfb,_0xa1aafc(0x1c5)))return _0x482dfb;var _0x59aa80=_0x482dfb[_0xa1aafc(0x12a)];if(typeof _0x59aa80==_0xa1aafc(0x273)){var _0x1a233a=function _0x3f30cf(){const _0x18a2a6=_0xa1aafc;return this instanceof _0x3f30cf?Reflect[_0x18a2a6(0x271)](_0x59aa80,arguments,this[_0x18a2a6(0x135)]):_0x59aa80[_0x18a2a6(0x26b)](this,arguments);};_0x1a233a[_0xa1aafc(0x21b)]=_0x59aa80[_0xa1aafc(0x21b)];}else _0x1a233a={};return Object[_0xa1aafc(0x1d0)](_0x1a233a,_0xa1aafc(0x1c5),{'value':!0x0}),Object[_0xa1aafc(0x142)](_0x482dfb)[_0xa1aafc(0x22a)](function(_0x5ccfb6){const _0x5c52f1=_0xa1aafc;var _0x26150c=Object['getOwnPropertyDescriptor'](_0x482dfb,_0x5ccfb6);Object[_0x5c52f1(0x1d0)](_0x1a233a,_0x5ccfb6,_0x26150c[_0x5c52f1(0xd1)]?_0x26150c:{'enumerable':!0x0,'get':function(){return _0x482dfb[_0x5ccfb6];}});}),_0x1a233a;}var te={'exports':{}},ge,Ye;function V(){const _0x2de3bc=_0x51581f;if(Ye)return ge;Ye=0x1;const _0x3b6d7c=[_0x2de3bc(0x14b),_0x2de3bc(0x14e),_0x2de3bc(0x262)],_0x5e4279=typeof Blob<'u';return _0x5e4279&&_0x3b6d7c[_0x2de3bc(0x10f)](_0x2de3bc(0x261)),ge={'BINARY_TYPES':_0x3b6d7c,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':_0x2de3bc(0x25e),'hasBlob':_0x5e4279,'kForOnEventAttribute':Symbol(_0x2de3bc(0x21e)),'kListener':Symbol(_0x2de3bc(0x213)),'kStatusCode':Symbol('status-code'),'kWebSocket':Symbol(_0x2de3bc(0x17d)),'NOOP':()=>{}},ge;}const Wt={},Gt=Object['freeze'](Object[_0x51581f(0x1d0)]({'__proto__':null,'default':Wt},Symbol[_0x51581f(0x1ce)],{'value':_0x51581f(0x181)})),Vt=ut(Gt);var Ke;function ce(){const _0x4cfba1=_0x51581f;if(Ke)return te[_0x4cfba1(0x173)];Ke=0x1;const {EMPTY_BUFFER:_0x1c43ca}=V(),_0x41260f=Buffer[Symbol[_0x4cfba1(0x207)]];function _0x416da9(_0x5bf989,_0x55aaa9){const _0x4f7147=_0x4cfba1;if(_0x5bf989['length']===0x0)return _0x1c43ca;if(_0x5bf989[_0x4f7147(0xed)]===0x1)return _0x5bf989[0x0];const _0x4cdda1=Buffer['allocUnsafe'](_0x55aaa9);let _0x79496d=0x0;for(let _0x29fffc=0x0;_0x29fffc<_0x5bf989[_0x4f7147(0xed)];_0x29fffc++){const _0x257a37=_0x5bf989[_0x29fffc];_0x4cdda1[_0x4f7147(0xe0)](_0x257a37,_0x79496d),_0x79496d+=_0x257a37['length'];}return _0x79496d<_0x55aaa9?new _0x41260f(_0x4cdda1[_0x4f7147(0xd3)],_0x4cdda1['byteOffset'],_0x79496d):_0x4cdda1;}function _0x13a8a2(_0x525fd5,_0xdc29b7,_0x106bad,_0x55d5bc,_0x29a4e2){for(let _0x48564e=0x0;_0x48564e<_0x29a4e2;_0x48564e++)_0x106bad[_0x55d5bc+_0x48564e]=_0x525fd5[_0x48564e]^_0xdc29b7[_0x48564e&0x3];}function _0x51dd30(_0x2fc5db,_0x2804bd){const _0x543cae=_0x4cfba1;for(let _0xb678db=0x0;_0xb678db<_0x2fc5db[_0x543cae(0xed)];_0xb678db++)_0x2fc5db[_0xb678db]^=_0x2804bd[_0xb678db&0x3];}function _0x2f9429(_0x4d36a8){const _0x31a5ce=_0x4cfba1;return _0x4d36a8[_0x31a5ce(0xed)]===_0x4d36a8['buffer']['byteLength']?_0x4d36a8[_0x31a5ce(0xd3)]:_0x4d36a8[_0x31a5ce(0xd3)][_0x31a5ce(0x20c)](_0x4d36a8[_0x31a5ce(0x132)],_0x4d36a8[_0x31a5ce(0x132)]+_0x4d36a8[_0x31a5ce(0xed)]);}function _0x21a2d1(_0x308b61){const _0x2b3c77=_0x4cfba1;if(_0x21a2d1[_0x2b3c77(0x217)]=!0x0,Buffer['isBuffer'](_0x308b61))return _0x308b61;let _0x576695;return _0x308b61 instanceof ArrayBuffer?_0x576695=new _0x41260f(_0x308b61):ArrayBuffer[_0x2b3c77(0x115)](_0x308b61)?_0x576695=new _0x41260f(_0x308b61[_0x2b3c77(0xd3)],_0x308b61[_0x2b3c77(0x132)],_0x308b61['byteLength']):(_0x576695=Buffer[_0x2b3c77(0x119)](_0x308b61),_0x21a2d1[_0x2b3c77(0x217)]=!0x1),_0x576695;}if(te[_0x4cfba1(0x173)]={'concat':_0x416da9,'mask':_0x13a8a2,'toArrayBuffer':_0x2f9429,'toBuffer':_0x21a2d1,'unmask':_0x51dd30},!process[_0x4cfba1(0x17a)][_0x4cfba1(0x1c8)])try{const _0x3b7cfe=Vt;te[_0x4cfba1(0x173)][_0x4cfba1(0x242)]=function(_0xab0c35,_0x3fcf3f,_0x580fcc,_0x332fd6,_0x2f15bc){const _0x458eb4=_0x4cfba1;_0x2f15bc<0x30?_0x13a8a2(_0xab0c35,_0x3fcf3f,_0x580fcc,_0x332fd6,_0x2f15bc):_0x3b7cfe[_0x458eb4(0x242)](_0xab0c35,_0x3fcf3f,_0x580fcc,_0x332fd6,_0x2f15bc);},te[_0x4cfba1(0x173)][_0x4cfba1(0x24d)]=function(_0x41d5e3,_0x1c11b3){const _0x35c98f=_0x4cfba1;_0x41d5e3['length']<0x20?_0x51dd30(_0x41d5e3,_0x1c11b3):_0x3b7cfe[_0x35c98f(0x24d)](_0x41d5e3,_0x1c11b3);};}catch{}return te[_0x4cfba1(0x173)];}var ye,Xe;function qt(){const _0x4cd255=_0x51581f;if(Xe)return ye;Xe=0x1;const _0x2186d6=Symbol(_0x4cd255(0x1a2)),_0x5ea39d=Symbol(_0x4cd255(0xeb));class _0x189fbb{constructor(_0x3cb26b){const _0x1a6376=_0x4cd255;this[_0x2186d6]=()=>{this['pending']--,this[_0x5ea39d]();},this['concurrency']=_0x3cb26b||0x1/0x0,this[_0x1a6376(0x111)]=[],this['pending']=0x0;}[_0x4cd255(0x202)](_0x16b39d){const _0x22209a=_0x4cd255;this['jobs'][_0x22209a(0x10f)](_0x16b39d),this[_0x5ea39d]();}[_0x5ea39d](){const _0x4297bf=_0x4cd255;if(this[_0x4297bf(0x1da)]!==this['concurrency']&&this[_0x4297bf(0x111)][_0x4297bf(0xed)]){const _0x4abad9=this[_0x4297bf(0x111)][_0x4297bf(0x1c1)]();this[_0x4297bf(0x1da)]++,_0x4abad9(this[_0x2186d6]);}}}return ye=_0x189fbb,ye;}var ve,Ze;function he(){const _0x3309b1=_0x51581f;if(Ze)return ve;Ze=0x1;const _0x5c9d17=_0x290371,_0x1d7ca4=ce(),_0xc5d66a=qt(),{kStatusCode:_0x148d45}=V(),_0x47db51=Buffer[Symbol[_0x3309b1(0x207)]],_0x419056=Buffer[_0x3309b1(0x119)]([0x0,0x0,0xff,0xff]),_0x197be5=Symbol(_0x3309b1(0x1d4)),_0x56f142=Symbol(_0x3309b1(0x110)),_0x193c19=Symbol(_0x3309b1(0xcc)),_0x424b2f=Symbol(_0x3309b1(0x1a4)),_0x5520f6=Symbol(_0x3309b1(0x189));let _0x50f57f;class _0x592bfa{constructor(_0x30caa5,_0x2d17ec,_0xa9db07){const _0x93d7fa=_0x3309b1;if(this['_maxPayload']=_0xa9db07|0x0,this[_0x93d7fa(0x14a)]=_0x30caa5||{},this[_0x93d7fa(0x125)]=this[_0x93d7fa(0x14a)][_0x93d7fa(0x11b)]!==void 0x0?this[_0x93d7fa(0x14a)]['threshold']:0x400,this[_0x93d7fa(0x18d)]=!!_0x2d17ec,this[_0x93d7fa(0x131)]=null,this[_0x93d7fa(0x12d)]=null,this[_0x93d7fa(0x1fd)]=null,!_0x50f57f){const _0x32fdc3=this['_options']['concurrencyLimit']!==void 0x0?this[_0x93d7fa(0x14a)][_0x93d7fa(0x203)]:0xa;_0x50f57f=new _0xc5d66a(_0x32fdc3);}}static get[_0x3309b1(0x137)](){return'permessage-deflate';}['offer'](){const _0x578624=_0x3309b1,_0x31fdad={};return this[_0x578624(0x14a)][_0x578624(0xd5)]&&(_0x31fdad[_0x578624(0x13f)]=!0x0),this[_0x578624(0x14a)][_0x578624(0x178)]&&(_0x31fdad[_0x578624(0x1ff)]=!0x0),this['_options'][_0x578624(0x1d5)]&&(_0x31fdad[_0x578624(0x25f)]=this[_0x578624(0x14a)][_0x578624(0x1d5)]),this[_0x578624(0x14a)]['clientMaxWindowBits']?_0x31fdad[_0x578624(0x188)]=this[_0x578624(0x14a)][_0x578624(0x101)]:this[_0x578624(0x14a)][_0x578624(0x101)]==null&&(_0x31fdad[_0x578624(0x188)]=!0x0),_0x31fdad;}['accept'](_0x2d7b9a){const _0x416a7c=_0x3309b1;return _0x2d7b9a=this[_0x416a7c(0x21d)](_0x2d7b9a),this[_0x416a7c(0x1fd)]=this[_0x416a7c(0x18d)]?this[_0x416a7c(0x139)](_0x2d7b9a):this['acceptAsClient'](_0x2d7b9a),this[_0x416a7c(0x1fd)];}[_0x3309b1(0x11e)](){const _0x1a9422=_0x3309b1;if(this['_inflate']&&(this['_inflate'][_0x1a9422(0x18b)](),this[_0x1a9422(0x12d)]=null),this['_deflate']){const _0x10376a=this[_0x1a9422(0x131)][_0x193c19];this[_0x1a9422(0x131)][_0x1a9422(0x18b)](),this[_0x1a9422(0x131)]=null,_0x10376a&&_0x10376a(new Error(_0x1a9422(0x12c)));}}[_0x3309b1(0x139)](_0x1a476b){const _0x47744f=_0x3309b1,_0x546740=this[_0x47744f(0x14a)],_0x5f4b94=_0x1a476b['find'](_0x30eb8b=>!(_0x546740[_0x47744f(0xd5)]===!0x1&&_0x30eb8b[_0x47744f(0x13f)]||_0x30eb8b[_0x47744f(0x25f)]&&(_0x546740[_0x47744f(0x1d5)]===!0x1||typeof _0x546740[_0x47744f(0x1d5)]==_0x47744f(0x251)&&_0x546740[_0x47744f(0x1d5)]>_0x30eb8b[_0x47744f(0x25f)])||typeof _0x546740[_0x47744f(0x101)]==_0x47744f(0x251)&&!_0x30eb8b[_0x47744f(0x188)]));if(!_0x5f4b94)throw new Error(_0x47744f(0x100));return _0x546740[_0x47744f(0xd5)]&&(_0x5f4b94[_0x47744f(0x13f)]=!0x0),_0x546740[_0x47744f(0x178)]&&(_0x5f4b94[_0x47744f(0x1ff)]=!0x0),typeof _0x546740[_0x47744f(0x1d5)]=='number'&&(_0x5f4b94[_0x47744f(0x25f)]=_0x546740[_0x47744f(0x1d5)]),typeof _0x546740[_0x47744f(0x101)]=='number'?_0x5f4b94[_0x47744f(0x188)]=_0x546740[_0x47744f(0x101)]:(_0x5f4b94['client_max_window_bits']===!0x0||_0x546740[_0x47744f(0x101)]===!0x1)&&delete _0x5f4b94[_0x47744f(0x188)],_0x5f4b94;}[_0x3309b1(0x1cf)](_0x1d41f0){const _0x21755f=_0x3309b1,_0x21a979=_0x1d41f0[0x0];if(this[_0x21755f(0x14a)]['clientNoContextTakeover']===!0x1&&_0x21a979[_0x21755f(0x1ff)])throw new Error('Unexpected\x20parameter\x20\x22client_no_context_takeover\x22');if(!_0x21a979[_0x21755f(0x188)])typeof this[_0x21755f(0x14a)][_0x21755f(0x101)]=='number'&&(_0x21a979['client_max_window_bits']=this[_0x21755f(0x14a)]['clientMaxWindowBits']);else{if(this[_0x21755f(0x14a)]['clientMaxWindowBits']===!0x1||typeof this['_options'][_0x21755f(0x101)]==_0x21755f(0x251)&&_0x21a979[_0x21755f(0x188)]>this[_0x21755f(0x14a)][_0x21755f(0x101)])throw new Error('Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22');}return _0x21a979;}[_0x3309b1(0x21d)](_0x45e34e){const _0x59cabd=_0x3309b1;return _0x45e34e[_0x59cabd(0x22a)](_0xc05068=>{const _0x1fa3f9=_0x59cabd;Object[_0x1fa3f9(0x142)](_0xc05068)[_0x1fa3f9(0x22a)](_0x4176a1=>{const _0x503292=_0x1fa3f9;let _0xfdbb0a=_0xc05068[_0x4176a1];if(_0xfdbb0a[_0x503292(0xed)]>0x1)throw new Error(_0x503292(0x219)+_0x4176a1+_0x503292(0x253));if(_0xfdbb0a=_0xfdbb0a[0x0],_0x4176a1==='client_max_window_bits'){if(_0xfdbb0a!==!0x0){const _0x3cfff2=+_0xfdbb0a;if(!Number[_0x503292(0x190)](_0x3cfff2)||_0x3cfff2<0x8||_0x3cfff2>0xf)throw new TypeError(_0x503292(0x269)+_0x4176a1+_0x503292(0x183)+_0xfdbb0a);_0xfdbb0a=_0x3cfff2;}else{if(!this[_0x503292(0x18d)])throw new TypeError(_0x503292(0x269)+_0x4176a1+_0x503292(0x183)+_0xfdbb0a);}}else{if(_0x4176a1===_0x503292(0x25f)){const _0x1f2c5b=+_0xfdbb0a;if(!Number[_0x503292(0x190)](_0x1f2c5b)||_0x1f2c5b<0x8||_0x1f2c5b>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x4176a1+_0x503292(0x183)+_0xfdbb0a);_0xfdbb0a=_0x1f2c5b;}else{if(_0x4176a1==='client_no_context_takeover'||_0x4176a1===_0x503292(0x13f)){if(_0xfdbb0a!==!0x0)throw new TypeError(_0x503292(0x269)+_0x4176a1+_0x503292(0x183)+_0xfdbb0a);}else throw new Error('Unknown\x20parameter\x20\x22'+_0x4176a1+'\x22');}}_0xc05068[_0x4176a1]=_0xfdbb0a;});}),_0x45e34e;}[_0x3309b1(0x23c)](_0x27bb7f,_0x1d2cb4,_0x31b2f2){_0x50f57f['add'](_0x3443b4=>{const _0x44b959=_0x1d3f;this[_0x44b959(0x199)](_0x27bb7f,_0x1d2cb4,(_0xc52b53,_0x232145)=>{_0x3443b4(),_0x31b2f2(_0xc52b53,_0x232145);});});}[_0x3309b1(0xc9)](_0x331217,_0x251bb3,_0xeef1cc){const _0x2a6b90=_0x3309b1;_0x50f57f[_0x2a6b90(0x202)](_0x20e7d3=>{const _0x5e5187=_0x2a6b90;this[_0x5e5187(0x1d2)](_0x331217,_0x251bb3,(_0x177314,_0xf6cf5b)=>{_0x20e7d3(),_0xeef1cc(_0x177314,_0xf6cf5b);});});}[_0x3309b1(0x199)](_0x1ad44f,_0x3bec62,_0x2c7436){const _0x3c3b94=_0x3309b1,_0x3b9467=this[_0x3c3b94(0x18d)]?_0x3c3b94(0x102):_0x3c3b94(0x168);if(!this[_0x3c3b94(0x12d)]){const _0x5bcf4d=_0x3b9467+'_max_window_bits',_0x3ce154=typeof this[_0x3c3b94(0x1fd)][_0x5bcf4d]!=_0x3c3b94(0x251)?_0x5c9d17['Z_DEFAULT_WINDOWBITS']:this[_0x3c3b94(0x1fd)][_0x5bcf4d];this['_inflate']=_0x5c9d17[_0x3c3b94(0x10d)]({...this[_0x3c3b94(0x14a)]['zlibInflateOptions'],'windowBits':_0x3ce154}),this['_inflate'][_0x197be5]=this,this[_0x3c3b94(0x12d)][_0x56f142]=0x0,this[_0x3c3b94(0x12d)][_0x424b2f]=[],this[_0x3c3b94(0x12d)]['on'](_0x3c3b94(0x189),_0xc811f1),this['_inflate']['on'](_0x3c3b94(0x1f0),_0x3887a6);}this[_0x3c3b94(0x12d)][_0x193c19]=_0x2c7436,this[_0x3c3b94(0x12d)][_0x3c3b94(0x1aa)](_0x1ad44f),_0x3bec62&&this[_0x3c3b94(0x12d)][_0x3c3b94(0x1aa)](_0x419056),this[_0x3c3b94(0x12d)][_0x3c3b94(0x18e)](()=>{const _0x53d036=_0x3c3b94,_0x2397cf=this[_0x53d036(0x12d)][_0x5520f6];if(_0x2397cf){this[_0x53d036(0x12d)][_0x53d036(0x18b)](),this[_0x53d036(0x12d)]=null,_0x2c7436(_0x2397cf);return;}const _0x30b94f=_0x1d7ca4[_0x53d036(0x20a)](this[_0x53d036(0x12d)][_0x424b2f],this['_inflate'][_0x56f142]);this[_0x53d036(0x12d)][_0x53d036(0xd6)][_0x53d036(0x230)]?(this[_0x53d036(0x12d)][_0x53d036(0x18b)](),this[_0x53d036(0x12d)]=null):(this[_0x53d036(0x12d)][_0x56f142]=0x0,this[_0x53d036(0x12d)][_0x424b2f]=[],_0x3bec62&&this[_0x53d036(0x1fd)][_0x3b9467+'_no_context_takeover']&&this[_0x53d036(0x12d)][_0x53d036(0x1d6)]()),_0x2c7436(null,_0x30b94f);});}['_compress'](_0x2768f0,_0x2814a4,_0x6873ee){const _0x217a1a=_0x3309b1,_0x234633=this[_0x217a1a(0x18d)]?_0x217a1a(0x168):_0x217a1a(0x102);if(!this[_0x217a1a(0x131)]){const _0x37bfad=_0x234633+_0x217a1a(0x209),_0x35def7=typeof this[_0x217a1a(0x1fd)][_0x37bfad]!=_0x217a1a(0x251)?_0x5c9d17[_0x217a1a(0x1ec)]:this[_0x217a1a(0x1fd)][_0x37bfad];this[_0x217a1a(0x131)]=_0x5c9d17[_0x217a1a(0x26c)]({...this[_0x217a1a(0x14a)]['zlibDeflateOptions'],'windowBits':_0x35def7}),this['_deflate'][_0x56f142]=0x0,this['_deflate'][_0x424b2f]=[],this['_deflate']['on'](_0x217a1a(0x1f0),_0x176788);}this[_0x217a1a(0x131)][_0x193c19]=_0x6873ee,this[_0x217a1a(0x131)][_0x217a1a(0x1aa)](_0x2768f0),this[_0x217a1a(0x131)][_0x217a1a(0x18e)](_0x5c9d17[_0x217a1a(0x19a)],()=>{const _0x9c6111=_0x217a1a;if(!this[_0x9c6111(0x131)])return;let _0x4e9d38=_0x1d7ca4[_0x9c6111(0x20a)](this[_0x9c6111(0x131)][_0x424b2f],this[_0x9c6111(0x131)][_0x56f142]);_0x2814a4&&(_0x4e9d38=new _0x47db51(_0x4e9d38[_0x9c6111(0xd3)],_0x4e9d38[_0x9c6111(0x132)],_0x4e9d38[_0x9c6111(0xed)]-0x4)),this[_0x9c6111(0x131)][_0x193c19]=null,this[_0x9c6111(0x131)][_0x56f142]=0x0,this[_0x9c6111(0x131)][_0x424b2f]=[],_0x2814a4&&this[_0x9c6111(0x1fd)][_0x234633+'_no_context_takeover']&&this[_0x9c6111(0x131)]['reset'](),_0x6873ee(null,_0x4e9d38);});}}ve=_0x592bfa;function _0x176788(_0xada32d){const _0x36eb1b=_0x3309b1;this[_0x424b2f]['push'](_0xada32d),this[_0x56f142]+=_0xada32d[_0x36eb1b(0xed)];}function _0x3887a6(_0xa0c5b6){const _0x570c2c=_0x3309b1;if(this[_0x56f142]+=_0xa0c5b6['length'],this[_0x197be5][_0x570c2c(0x240)]<0x1||this[_0x56f142]<=this[_0x197be5][_0x570c2c(0x240)]){this[_0x424b2f]['push'](_0xa0c5b6);return;}this[_0x5520f6]=new RangeError(_0x570c2c(0x13e)),this[_0x5520f6]['code']=_0x570c2c(0x22c),this[_0x5520f6][_0x148d45]=0x3f1,this[_0x570c2c(0xd8)]('data',_0x3887a6),this['reset']();}function _0xc811f1(_0x56314e){const _0x1fa54b=_0x3309b1;this[_0x197be5][_0x1fa54b(0x12d)]=null,_0x56314e[_0x148d45]=0x3ef,this[_0x193c19](_0x56314e);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x51581f(0x239)](Object['defineProperty']({'__proto__':null,'default':Ht},Symbol[_0x51581f(0x1ce)],{'value':_0x51581f(0x181)})),Yt=ut(zt);var Qe;function ne(){const _0x26e6d1=_0x51581f;if(Qe)return re[_0x26e6d1(0x173)];Qe=0x1;const {isUtf8:_0x12e4fe}=_0x27fe2b,{hasBlob:_0x5ee13c}=V(),_0xc94fdd=[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 _0x145ec9(_0x3cec20){return _0x3cec20>=0x3e8&&_0x3cec20<=0x3f6&&_0x3cec20!==0x3ec&&_0x3cec20!==0x3ed&&_0x3cec20!==0x3ee||_0x3cec20>=0xbb8&&_0x3cec20<=0x1387;}function _0x1b5051(_0x491e3){const _0x2b44f3=_0x26e6d1,_0x1329c1=_0x491e3[_0x2b44f3(0xed)];let _0x254ab0=0x0;for(;_0x254ab0<_0x1329c1;)if((_0x491e3[_0x254ab0]&0x80)===0x0)_0x254ab0++;else{if((_0x491e3[_0x254ab0]&0xe0)===0xc0){if(_0x254ab0+0x1===_0x1329c1||(_0x491e3[_0x254ab0+0x1]&0xc0)!==0x80||(_0x491e3[_0x254ab0]&0xfe)===0xc0)return!0x1;_0x254ab0+=0x2;}else{if((_0x491e3[_0x254ab0]&0xf0)===0xe0){if(_0x254ab0+0x2>=_0x1329c1||(_0x491e3[_0x254ab0+0x1]&0xc0)!==0x80||(_0x491e3[_0x254ab0+0x2]&0xc0)!==0x80||_0x491e3[_0x254ab0]===0xe0&&(_0x491e3[_0x254ab0+0x1]&0xe0)===0x80||_0x491e3[_0x254ab0]===0xed&&(_0x491e3[_0x254ab0+0x1]&0xe0)===0xa0)return!0x1;_0x254ab0+=0x3;}else{if((_0x491e3[_0x254ab0]&0xf8)===0xf0){if(_0x254ab0+0x3>=_0x1329c1||(_0x491e3[_0x254ab0+0x1]&0xc0)!==0x80||(_0x491e3[_0x254ab0+0x2]&0xc0)!==0x80||(_0x491e3[_0x254ab0+0x3]&0xc0)!==0x80||_0x491e3[_0x254ab0]===0xf0&&(_0x491e3[_0x254ab0+0x1]&0xf0)===0x80||_0x491e3[_0x254ab0]===0xf4&&_0x491e3[_0x254ab0+0x1]>0x8f||_0x491e3[_0x254ab0]>0xf4)return!0x1;_0x254ab0+=0x4;}else return!0x1;}}}return!0x0;}function _0x37d0bf(_0x5879ca){const _0x3346ce=_0x26e6d1;return _0x5ee13c&&typeof _0x5879ca==_0x3346ce(0x1c9)&&typeof _0x5879ca[_0x3346ce(0x1c4)]==_0x3346ce(0x273)&&typeof _0x5879ca[_0x3346ce(0x1f4)]==_0x3346ce(0x169)&&typeof _0x5879ca[_0x3346ce(0x223)]==_0x3346ce(0x273)&&(_0x5879ca[Symbol[_0x3346ce(0x1ce)]]===_0x3346ce(0x198)||_0x5879ca[Symbol[_0x3346ce(0x1ce)]]===_0x3346ce(0x234));}if(re[_0x26e6d1(0x173)]={'isBlob':_0x37d0bf,'isValidStatusCode':_0x145ec9,'isValidUTF8':_0x1b5051,'tokenChars':_0xc94fdd},_0x12e4fe)re[_0x26e6d1(0x173)][_0x26e6d1(0x249)]=function(_0x31b515){return _0x31b515['length']<0x18?_0x1b5051(_0x31b515):_0x12e4fe(_0x31b515);};else{if(!process[_0x26e6d1(0x17a)][_0x26e6d1(0x276)])try{const _0x35d257=Yt;re[_0x26e6d1(0x173)][_0x26e6d1(0x249)]=function(_0x33da2a){return _0x33da2a['length']<0x20?_0x1b5051(_0x33da2a):_0x35d257(_0x33da2a);};}catch{}}return re[_0x26e6d1(0x173)];}function _0x36c1(){const _0x325adf=['completeUpgrade','http:','default','join','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','_inflate','byteLength','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','4432311PZxIMm','_deflate','byteOffset','_opcode','removeEventListener','constructor','_req','extensionName','_state','acceptAsServer','objectMode','onclose','_receiver','_socket','Max\x20payload\x20size\x20exceeded','server_no_context_takeover','_allowSynchronousEvents','addEventListener','keys','6213907uoyWYt','_messageLength','_skipUTF8Validation','onopen','GET','getPayloadLength16','handleProtocols','_options','nodebuffer','handleEvent','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','arraybuffer','_binaryType','_shouldEmitClose','invalid\x20opcode\x20','Maximum\x20redirects\x20exceeded','clientTracking','connect','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','values','wss:','perMessageDeflate','offer','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','MASK\x20must\x20be\x20clear','base64','entries','pause','map','writeUInt16BE','_originalHostOrSocketPath','clients','_removeListeners','handshakeTimeout','maxPayload','end','indexOf','server','string','_masked','_readyState','isPaused','invalid\x20opcode\x200','socketPath','listenerCount','onerror','servername','url','exports','parse','sendFrame','setSocket','generateMask','clientNoContextTakeover','_fin','env','Invalid\x20HTTP\x20method','WS_ERR_UNEXPECTED_MASK','websocket','_firstFragment','wasClean','ping','Module','Sec-WebSocket-Protocol','\x22:\x20','charCodeAt','createConnection','Invalid\x20Upgrade\x20header','WS_ERR_EXPECTED_FIN','client_max_window_bits','error','WebSocket','close','Upgrade','_isServer','flush','path','isInteger','registerHTTPInterceptor','432ofkLyv','address','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','options','kError','socket','Blob','_decompress','Z_SYNC_FLUSH','MASK\x20must\x20be\x20set','\x22\x20subprotocol\x20is\x20duplicated','skipUTF8Validation','finished','customHeaders','read','consume','kDone','hasOwnProperty','buffers','pipe','_server','_doCreateSocket','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','_url','write','dataMessage','CONNECTING','925067VDZXVX','digest','allocUnsafe','request','startLoop','text/html','kReason','upgrade','_fragmented','_payloadLength','alloc','HTTP/1.1\x20101\x20Switching\x20Protocols','_maskBuffer','next','1KkyOki','readUInt16BE','setHeader','controlMessage','open','wsClientError','shift','_closeTimer','handleUpgrade','arrayBuffer','__esModule','_bufferedAmount','code','WS_NO_BUFFER_UTIL','object','protocol','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','nextTick','enqueue','toStringTag','acceptAsClient','defineProperty','invalid\x20payload\x20length\x20','_compress','Server\x20sent\x20no\x20subprotocol','permessage-deflate','serverMaxWindowBits','reset','isIP','Invalid\x20Sec-WebSocket-Protocol\x20header','_errored','pending','listening','onStarting','catch','createError','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','writeUIntBE','_closeFrameReceived','WS_ERR_INVALID_UTF8','8665428tryFtA','Invalid\x20Sec-WebSocket-Extensions\x20header','toLowerCase','kCode','call','getBlobData','connection','_loop','The\x20URL\x27s\x20pathname\x20is\x20empty','Z_DEFAULT_WINDOWBITS','_queue','_registerDependencies','Unsupported\x20protocol\x20version:\x20','data','FIN\x20must\x20be\x20set','sha1','rsv1','type','opcode','_closeMessage','dequeue','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','_fragments','_originalSecure','WS_ERR_UNEXPECTED_RSV_1','listen','params','protocolVersion','client_no_context_takeover','timeout','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','add','concurrencyLimit','destroy','pong','\x20(supported\x20versions:\x20','species','setNoDelay','_max_window_bits','concat','headers','slice','accept','WS_ERR_EXPECTED_MASK','bind','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','RSV1\x20must\x20be\x20clear','getConfig','kListener','create','Unexpected\x20character\x20at\x20index\x20','OPEN','readOnly','WS_ERR_INVALID_CLOSE_CODE','Parameter\x20\x22','CLOSED','prototype','destroyed','normalizeParams','kIsForOnEventAttribute','resume','2960446ZlCzCB','hash','kAborted','stream','_extensions','autoPong','_httpService','location','split','62826cjwfYB','forEach','verifyClient','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','collaboration-client-node.config','sec-websocket-version','_final','endEmitted','then','warn','noServer','File','_autoPong','40tDeDYJ','_errorEmitted','errorEmitted','freeze','statusCode','_injector','decompress','frame','_totalPayloadLength','bufferedAmount','_maxPayload','_closeCode','mask','cork','kMessage','_buffers','sec-websocket-extensions','listeners','80kjTqku','isValidUTF8','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','Basic\x20','dispose','unmask','update','writable','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','number','pow','\x22\x20must\x20have\x20only\x20a\x20single\x20value','message','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','_bufferedBytes','host','backlog','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','_configService','href','_generateMask','maskBuffer','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','server_max_window_bits','createSocket','blob','fragments','abort','ws:','_paused','has','terminate','getOwnPropertyDescriptor','Invalid\x20value\x20for\x20parameter\x20\x22','getPayloadLength64','apply','createDeflateRaw','haveLength','size','getData','Invalid\x20URL:\x20','construct','The\x20URL\x20contains\x20a\x20fragment\x20identifier','function','includes','sec-websocket-protocol','WS_NO_UTF_8_VALIDATE','toString','compress','CLOSING','The\x20\x22','callback','pluginName','unexpected-response','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','WS_ERR_INVALID_OPCODE','get','shouldHandle','buffer','_redirects','serverNoContextTakeover','_readableState','password','removeListener','Sec-WebSocket-Accept:\x20','fin','removeAllListeners','value','Invalid\x20Sec-WebSocket-Accept\x20header','_destroy','finish','set','finishRequest','_compressed','WS_ERR_UNEXPECTED_RSV_2_3','getMask','8RtSdGq','authorization','createServer','30736gHfZXI','emitClose','Sec-WebSocket-Protocol:\x20','kRun','captureStackTrace','length','Upgrade:\x20websocket','extensions','_writableState','reason','isArray','origin','pathname','allowSynchronousEvents','defaultPort','binaryType','send','Unexpected\x20server\x20response:\x20','readable','readyState','sec-websocket-origin','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','_closeFrameSent','auth','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','clientMaxWindowBits','client','conclude','invalid\x20UTF-8\x20sequence','setTimeout','_originalIpc','test','ws+unix:','Invalid\x20WebSocket\x20frame:\x20','cookie','_sender','_protocol','createInflateRaw','username','push','total-length','jobs','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','_write','readUInt32BE','isView','replace','_mask','emit','from','STATUS_CODES','threshold','hostname','once','cleanup','dispatch','Sec-WebSocket-Extensions:\x20','encrypted','port','followRedirects','kData','_threshold','Unexpected\x20end\x20of\x20input','kWasClean'];_0x36c1=function(){return _0x325adf;};return _0x36c1();}var Se,Je;function dt(){const _0x462ed1=_0x51581f;if(Je)return Se;Je=0x1;const {Writable:_0x2886a0}=_0x30afae,_0x408e0b=he(),{BINARY_TYPES:_0x4b74d9,EMPTY_BUFFER:_0x2d6b2e,kStatusCode:_0x39cfb1,kWebSocket:_0x49ada5}=V(),{concat:_0x13d16d,toArrayBuffer:_0xf187b9,unmask:_0xe867fd}=ce(),{isValidStatusCode:_0x22ff33,isValidUTF8:_0x5a42cc}=ne(),_0x1d8d6e=Buffer[Symbol[_0x462ed1(0x207)]],_0x4fc45a=0x0,_0x40062f=0x1,_0x3b3a4f=0x2,_0x2e80f8=0x3,_0x19351a=0x4,_0x4d3172=0x5,_0x2ae1eb=0x6;class _0x4b50b extends _0x2886a0{constructor(_0x49fe48={}){const _0x851552=_0x462ed1;super(),this['_allowSynchronousEvents']=_0x49fe48[_0x851552(0xf5)]!==void 0x0?_0x49fe48[_0x851552(0xf5)]:!0x0,this[_0x851552(0x14f)]=_0x49fe48['binaryType']||_0x4b74d9[0x0],this['_extensions']=_0x49fe48[_0x851552(0xef)]||{},this[_0x851552(0x18d)]=!!_0x49fe48['isServer'],this[_0x851552(0x240)]=_0x49fe48[_0x851552(0x165)]|0x0,this[_0x851552(0x145)]=!!_0x49fe48[_0x851552(0x19d)],this[_0x49ada5]=void 0x0,this[_0x851552(0x256)]=0x0,this[_0x851552(0x245)]=[],this[_0x851552(0xe2)]=!0x1,this[_0x851552(0x1b6)]=0x0,this['_mask']=void 0x0,this[_0x851552(0x1b5)]=0x0,this[_0x851552(0x16a)]=!0x1,this[_0x851552(0x179)]=!0x1,this[_0x851552(0x133)]=0x0,this[_0x851552(0x23e)]=0x0,this[_0x851552(0x144)]=0x0,this['_fragments']=[],this['_errored']=!0x1,this[_0x851552(0x1ea)]=!0x1,this[_0x851552(0x138)]=_0x4fc45a;}['_write'](_0x17d20a,_0x3dd104,_0x9f9de6){const _0x373f4c=_0x462ed1;if(this[_0x373f4c(0x133)]===0x8&&this[_0x373f4c(0x138)]==_0x4fc45a)return _0x9f9de6();this['_bufferedBytes']+=_0x17d20a['length'],this[_0x373f4c(0x245)]['push'](_0x17d20a),this[_0x373f4c(0x1b1)](_0x9f9de6);}[_0x462ed1(0x1a1)](_0xc60847){const _0x54f353=_0x462ed1;if(this['_bufferedBytes']-=_0xc60847,_0xc60847===this['_buffers'][0x0][_0x54f353(0xed)])return this[_0x54f353(0x245)][_0x54f353(0x1c1)]();if(_0xc60847<this['_buffers'][0x0][_0x54f353(0xed)]){const _0x3f9833=this[_0x54f353(0x245)][0x0];return this[_0x54f353(0x245)][0x0]=new _0x1d8d6e(_0x3f9833[_0x54f353(0xd3)],_0x3f9833[_0x54f353(0x132)]+_0xc60847,_0x3f9833[_0x54f353(0xed)]-_0xc60847),new _0x1d8d6e(_0x3f9833['buffer'],_0x3f9833[_0x54f353(0x132)],_0xc60847);}const _0x4ea071=Buffer[_0x54f353(0x1af)](_0xc60847);do{const _0xff5554=this[_0x54f353(0x245)][0x0],_0x2daa89=_0x4ea071['length']-_0xc60847;_0xc60847>=_0xff5554[_0x54f353(0xed)]?_0x4ea071[_0x54f353(0xe0)](this[_0x54f353(0x245)][_0x54f353(0x1c1)](),_0x2daa89):(_0x4ea071[_0x54f353(0xe0)](new Uint8Array(_0xff5554[_0x54f353(0xd3)],_0xff5554[_0x54f353(0x132)],_0xc60847),_0x2daa89),this['_buffers'][0x0]=new _0x1d8d6e(_0xff5554['buffer'],_0xff5554[_0x54f353(0x132)]+_0xc60847,_0xff5554[_0x54f353(0xed)]-_0xc60847)),_0xc60847-=_0xff5554[_0x54f353(0xed)];}while(_0xc60847>0x0);return _0x4ea071;}[_0x462ed1(0x1b1)](_0x29136d){const _0x3bf71e=_0x462ed1;this['_loop']=!0x0;do switch(this[_0x3bf71e(0x138)]){case _0x4fc45a:this['getInfo'](_0x29136d);break;case _0x40062f:this['getPayloadLength16'](_0x29136d);break;case _0x3b3a4f:this['getPayloadLength64'](_0x29136d);break;case _0x2e80f8:this[_0x3bf71e(0xe4)]();break;case _0x19351a:this['getData'](_0x29136d);break;case _0x4d3172:case _0x2ae1eb:this['_loop']=!0x1;return;}while(this[_0x3bf71e(0x1ea)]);this[_0x3bf71e(0x1d9)]||_0x29136d();}['getInfo'](_0x4df604){const _0x1f5819=_0x462ed1;if(this['_bufferedBytes']<0x2){this[_0x1f5819(0x1ea)]=!0x1;return;}const _0x486f35=this[_0x1f5819(0x1a1)](0x2);if((_0x486f35[0x0]&0x30)!==0x0){const _0x3e95a9=this[_0x1f5819(0x1de)](RangeError,_0x1f5819(0x112),!0x0,0x3ea,_0x1f5819(0xe3));_0x4df604(_0x3e95a9);return;}const _0x459808=(_0x486f35[0x0]&0x40)===0x40;if(_0x459808&&!this[_0x1f5819(0x224)][_0x408e0b[_0x1f5819(0x137)]]){const _0x4a2c08=this[_0x1f5819(0x1de)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x1f5819(0x1fb));_0x4df604(_0x4a2c08);return;}if(this[_0x1f5819(0x179)]=(_0x486f35[0x0]&0x80)===0x80,this[_0x1f5819(0x133)]=_0x486f35[0x0]&0xf,this[_0x1f5819(0x1b6)]=_0x486f35[0x1]&0x7f,this[_0x1f5819(0x133)]===0x0){if(_0x459808){const _0x41f020=this[_0x1f5819(0x1de)](RangeError,_0x1f5819(0x211),!0x0,0x3ea,_0x1f5819(0x1fb));_0x4df604(_0x41f020);return;}if(!this['_fragmented']){const _0x3e00d3=this[_0x1f5819(0x1de)](RangeError,_0x1f5819(0x16d),!0x0,0x3ea,_0x1f5819(0xd0));_0x4df604(_0x3e00d3);return;}this[_0x1f5819(0x133)]=this['_fragmented'];}else{if(this[_0x1f5819(0x133)]===0x1||this[_0x1f5819(0x133)]===0x2){if(this['_fragmented']){const _0x5f3d8d=this['createError'](RangeError,'invalid\x20opcode\x20'+this[_0x1f5819(0x133)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x4df604(_0x5f3d8d);return;}this[_0x1f5819(0xe2)]=_0x459808;}else{if(this[_0x1f5819(0x133)]>0x7&&this['_opcode']<0xb){if(!this[_0x1f5819(0x179)]){const _0x31f100=this['createError'](RangeError,_0x1f5819(0x1f1),!0x0,0x3ea,_0x1f5819(0x187));_0x4df604(_0x31f100);return;}if(_0x459808){const _0x129c8d=this[_0x1f5819(0x1de)](RangeError,_0x1f5819(0x211),!0x0,0x3ea,_0x1f5819(0x1fb));_0x4df604(_0x129c8d);return;}if(this[_0x1f5819(0x1b6)]>0x7d||this[_0x1f5819(0x133)]===0x8&&this[_0x1f5819(0x1b6)]===0x1){const _0x3d26a0=this[_0x1f5819(0x1de)](RangeError,_0x1f5819(0x1d1)+this['_payloadLength'],!0x0,0x3ea,_0x1f5819(0x15a));_0x4df604(_0x3d26a0);return;}}else{const _0x334c2f=this[_0x1f5819(0x1de)](RangeError,_0x1f5819(0x151)+this[_0x1f5819(0x133)],!0x0,0x3ea,_0x1f5819(0xd0));_0x4df604(_0x334c2f);return;}}}if(!this[_0x1f5819(0x179)]&&!this['_fragmented']&&(this[_0x1f5819(0x1b5)]=this[_0x1f5819(0x133)]),this[_0x1f5819(0x16a)]=(_0x486f35[0x1]&0x80)===0x80,this['_isServer']){if(!this['_masked']){const _0x377ae4=this[_0x1f5819(0x1de)](RangeError,_0x1f5819(0x19b),!0x0,0x3ea,_0x1f5819(0x20e));_0x4df604(_0x377ae4);return;}}else{if(this[_0x1f5819(0x16a)]){const _0x1ca6d3=this[_0x1f5819(0x1de)](RangeError,_0x1f5819(0x15b),!0x0,0x3ea,_0x1f5819(0x17c));_0x4df604(_0x1ca6d3);return;}}this[_0x1f5819(0x1b6)]===0x7e?this[_0x1f5819(0x138)]=_0x40062f:this['_payloadLength']===0x7f?this[_0x1f5819(0x138)]=_0x3b3a4f:this[_0x1f5819(0x26d)](_0x4df604);}[_0x462ed1(0x148)](_0x218dea){const _0x1943c0=_0x462ed1;if(this[_0x1943c0(0x256)]<0x2){this[_0x1943c0(0x1ea)]=!0x1;return;}this['_payloadLength']=this['consume'](0x2)[_0x1943c0(0x1bc)](0x0),this[_0x1943c0(0x26d)](_0x218dea);}[_0x462ed1(0x26a)](_0xa79483){const _0x5de83d=_0x462ed1;if(this[_0x5de83d(0x256)]<0x8){this[_0x5de83d(0x1ea)]=!0x1;return;}const _0x15c9cc=this[_0x5de83d(0x1a1)](0x8),_0xf8dbe0=_0x15c9cc[_0x5de83d(0x114)](0x0);if(_0xf8dbe0>Math[_0x5de83d(0x252)](0x2,0x15)-0x1){const _0x28a39f=this[_0x5de83d(0x1de)](RangeError,_0x5de83d(0x1cb),!0x1,0x3f1,_0x5de83d(0x210));_0xa79483(_0x28a39f);return;}this[_0x5de83d(0x1b6)]=_0xf8dbe0*Math[_0x5de83d(0x252)](0x2,0x20)+_0x15c9cc[_0x5de83d(0x114)](0x4),this['haveLength'](_0xa79483);}[_0x462ed1(0x26d)](_0x2378b2){const _0x1a0e1f=_0x462ed1;if(this[_0x1a0e1f(0x1b6)]&&this[_0x1a0e1f(0x133)]<0x8&&(this[_0x1a0e1f(0x23e)]+=this['_payloadLength'],this[_0x1a0e1f(0x23e)]>this['_maxPayload']&&this[_0x1a0e1f(0x240)]>0x0)){const _0x220ed6=this['createError'](RangeError,_0x1a0e1f(0x13e),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x2378b2(_0x220ed6);return;}this[_0x1a0e1f(0x16a)]?this[_0x1a0e1f(0x138)]=_0x2e80f8:this[_0x1a0e1f(0x138)]=_0x19351a;}[_0x462ed1(0xe4)](){const _0x2bd42f=_0x462ed1;if(this['_bufferedBytes']<0x4){this[_0x2bd42f(0x1ea)]=!0x1;return;}this['_mask']=this[_0x2bd42f(0x1a1)](0x4),this[_0x2bd42f(0x138)]=_0x19351a;}[_0x462ed1(0x26f)](_0x1f1bbe){const _0x3ec01d=_0x462ed1;let _0x5a16ac=_0x2d6b2e;if(this['_payloadLength']){if(this[_0x3ec01d(0x256)]<this[_0x3ec01d(0x1b6)]){this[_0x3ec01d(0x1ea)]=!0x1;return;}_0x5a16ac=this['consume'](this[_0x3ec01d(0x1b6)]),this[_0x3ec01d(0x16a)]&&(this['_mask'][0x0]|this['_mask'][0x1]|this[_0x3ec01d(0x117)][0x2]|this[_0x3ec01d(0x117)][0x3])!==0x0&&_0xe867fd(_0x5a16ac,this[_0x3ec01d(0x117)]);}if(this['_opcode']>0x7){this[_0x3ec01d(0x1be)](_0x5a16ac,_0x1f1bbe);return;}if(this[_0x3ec01d(0xe2)]){this[_0x3ec01d(0x138)]=_0x4d3172,this[_0x3ec01d(0x23c)](_0x5a16ac,_0x1f1bbe);return;}_0x5a16ac[_0x3ec01d(0xed)]&&(this[_0x3ec01d(0x144)]=this['_totalPayloadLength'],this[_0x3ec01d(0x1f9)][_0x3ec01d(0x10f)](_0x5a16ac)),this[_0x3ec01d(0x1ab)](_0x1f1bbe);}[_0x462ed1(0x23c)](_0x3a58f9,_0x2e5e22){const _0x59cfbd=_0x462ed1;this[_0x59cfbd(0x224)][_0x408e0b[_0x59cfbd(0x137)]][_0x59cfbd(0x23c)](_0x3a58f9,this[_0x59cfbd(0x179)],(_0x126d33,_0xca051a)=>{const _0x45f2f5=_0x59cfbd;if(_0x126d33)return _0x2e5e22(_0x126d33);if(_0xca051a[_0x45f2f5(0xed)]){if(this[_0x45f2f5(0x144)]+=_0xca051a['length'],this[_0x45f2f5(0x144)]>this[_0x45f2f5(0x240)]&&this[_0x45f2f5(0x240)]>0x0){const _0x22b8b4=this[_0x45f2f5(0x1de)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x45f2f5(0x22c));_0x2e5e22(_0x22b8b4);return;}this[_0x45f2f5(0x1f9)][_0x45f2f5(0x10f)](_0xca051a);}this[_0x45f2f5(0x1ab)](_0x2e5e22),this[_0x45f2f5(0x138)]===_0x4fc45a&&this['startLoop'](_0x2e5e22);});}[_0x462ed1(0x1ab)](_0x7f574){const _0x3ae0a8=_0x462ed1;if(!this[_0x3ae0a8(0x179)]){this[_0x3ae0a8(0x138)]=_0x4fc45a;return;}const _0xe46acd=this[_0x3ae0a8(0x144)],_0x4677e3=this[_0x3ae0a8(0x1f9)];if(this[_0x3ae0a8(0x23e)]=0x0,this[_0x3ae0a8(0x144)]=0x0,this[_0x3ae0a8(0x1b5)]=0x0,this[_0x3ae0a8(0x1f9)]=[],this[_0x3ae0a8(0x133)]===0x2){let _0x2d3888;this[_0x3ae0a8(0x14f)]===_0x3ae0a8(0x14b)?_0x2d3888=_0x13d16d(_0x4677e3,_0xe46acd):this[_0x3ae0a8(0x14f)]===_0x3ae0a8(0x14e)?_0x2d3888=_0xf187b9(_0x13d16d(_0x4677e3,_0xe46acd)):this['_binaryType']==='blob'?_0x2d3888=new Blob(_0x4677e3):_0x2d3888=_0x4677e3,this[_0x3ae0a8(0x140)]?(this[_0x3ae0a8(0x118)](_0x3ae0a8(0x254),_0x2d3888,!0x0),this[_0x3ae0a8(0x138)]=_0x4fc45a):(this[_0x3ae0a8(0x138)]=_0x2ae1eb,setImmediate(()=>{const _0x2813b9=_0x3ae0a8;this[_0x2813b9(0x118)](_0x2813b9(0x254),_0x2d3888,!0x0),this[_0x2813b9(0x138)]=_0x4fc45a,this[_0x2813b9(0x1b1)](_0x7f574);}));}else{const _0xedcd25=_0x13d16d(_0x4677e3,_0xe46acd);if(!this[_0x3ae0a8(0x145)]&&!_0x5a42cc(_0xedcd25)){const _0x88746d=this['createError'](Error,_0x3ae0a8(0x104),!0x0,0x3ef,_0x3ae0a8(0x1e2));_0x7f574(_0x88746d);return;}this['_state']===_0x4d3172||this['_allowSynchronousEvents']?(this['emit'](_0x3ae0a8(0x254),_0xedcd25,!0x1),this[_0x3ae0a8(0x138)]=_0x4fc45a):(this[_0x3ae0a8(0x138)]=_0x2ae1eb,setImmediate(()=>{const _0x265fb8=_0x3ae0a8;this['emit'](_0x265fb8(0x254),_0xedcd25,!0x1),this['_state']=_0x4fc45a,this[_0x265fb8(0x1b1)](_0x7f574);}));}}['controlMessage'](_0x563945,_0x396742){const _0x2ca313=_0x462ed1;if(this['_opcode']===0x8){if(_0x563945[_0x2ca313(0xed)]===0x0)this['_loop']=!0x1,this[_0x2ca313(0x118)](_0x2ca313(0x103),0x3ed,_0x2d6b2e),this[_0x2ca313(0x166)]();else{const _0x4cc147=_0x563945['readUInt16BE'](0x0);if(!_0x22ff33(_0x4cc147)){const _0x4e4cea=this[_0x2ca313(0x1de)](RangeError,'invalid\x20status\x20code\x20'+_0x4cc147,!0x0,0x3ea,_0x2ca313(0x218));_0x396742(_0x4e4cea);return;}const _0x3d444f=new _0x1d8d6e(_0x563945['buffer'],_0x563945[_0x2ca313(0x132)]+0x2,_0x563945[_0x2ca313(0xed)]-0x2);if(!this['_skipUTF8Validation']&&!_0x5a42cc(_0x3d444f)){const _0x59046d=this[_0x2ca313(0x1de)](Error,_0x2ca313(0x104),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x396742(_0x59046d);return;}this[_0x2ca313(0x1ea)]=!0x1,this[_0x2ca313(0x118)](_0x2ca313(0x103),_0x4cc147,_0x3d444f),this['end']();}this[_0x2ca313(0x138)]=_0x4fc45a;return;}this[_0x2ca313(0x140)]?(this['emit'](this[_0x2ca313(0x133)]===0x9?_0x2ca313(0x180):_0x2ca313(0x205),_0x563945),this['_state']=_0x4fc45a):(this[_0x2ca313(0x138)]=_0x2ae1eb,setImmediate(()=>{const _0xcf5621=_0x2ca313;this[_0xcf5621(0x118)](this['_opcode']===0x9?_0xcf5621(0x180):_0xcf5621(0x205),_0x563945),this['_state']=_0x4fc45a,this['startLoop'](_0x396742);}));}[_0x462ed1(0x1de)](_0x3d7829,_0x4c7ae6,_0x1f0aa0,_0x3ac174,_0x477318){const _0x429e24=_0x462ed1;this[_0x429e24(0x1ea)]=!0x1,this[_0x429e24(0x1d9)]=!0x0;const _0x30368d=new _0x3d7829(_0x1f0aa0?_0x429e24(0x109)+_0x4c7ae6:_0x4c7ae6);return Error[_0x429e24(0xec)](_0x30368d,this[_0x429e24(0x1de)]),_0x30368d['code']=_0x477318,_0x30368d[_0x39cfb1]=_0x3ac174,_0x30368d;}}return Se=_0x4b50b,Se;}var Ee,et;function _t(){const _0x2a489c=_0x51581f;if(et)return Ee;et=0x1;const {Duplex:_0x5ef3dd}=_0x30afae,{randomFillSync:_0x432edf}=_0x5ee8d0,_0x731571=he(),{EMPTY_BUFFER:_0x1a7a6d,kWebSocket:_0x143a38,NOOP:_0x150969}=V(),{isBlob:_0x120eae,isValidStatusCode:_0x31a6fe}=ne(),{mask:_0x1f348e,toBuffer:_0x58baaa}=ce(),_0x10c930=Symbol('kByteLength'),_0x4574ac=Buffer[_0x2a489c(0x1b7)](0x4),_0x2e9d3a=0x8*0x400;let _0x2575bc,_0x4247c6=_0x2e9d3a;const _0x2260a6=0x0,_0x3d8c33=0x1,_0x57782d=0x2;class _0x389b42{constructor(_0x3414db,_0x474011,_0x3546e6){const _0x17899e=_0x2a489c;this['_extensions']=_0x474011||{},_0x3546e6&&(this[_0x17899e(0x25c)]=_0x3546e6,this[_0x17899e(0x1b9)]=Buffer['alloc'](0x4)),this[_0x17899e(0x13d)]=_0x3414db,this['_firstFragment']=!0x0,this[_0x17899e(0x1d2)]=!0x1,this[_0x17899e(0x256)]=0x0,this[_0x17899e(0x1ed)]=[],this[_0x17899e(0x138)]=_0x2260a6,this[_0x17899e(0x170)]=_0x150969,this[_0x143a38]=void 0x0;}static[_0x2a489c(0x23d)](_0x16a549,_0x594fcc){const _0x561709=_0x2a489c;let _0x2e0dc4,_0x4515e9=!0x1,_0x2e04a3=0x2,_0x315bda=!0x1;_0x594fcc['mask']&&(_0x2e0dc4=_0x594fcc[_0x561709(0x25d)]||_0x4574ac,_0x594fcc['generateMask']?_0x594fcc[_0x561709(0x177)](_0x2e0dc4):(_0x4247c6===_0x2e9d3a&&(_0x2575bc===void 0x0&&(_0x2575bc=Buffer[_0x561709(0x1b7)](_0x2e9d3a)),_0x432edf(_0x2575bc,0x0,_0x2e9d3a),_0x4247c6=0x0),_0x2e0dc4[0x0]=_0x2575bc[_0x4247c6++],_0x2e0dc4[0x1]=_0x2575bc[_0x4247c6++],_0x2e0dc4[0x2]=_0x2575bc[_0x4247c6++],_0x2e0dc4[0x3]=_0x2575bc[_0x4247c6++]),_0x315bda=(_0x2e0dc4[0x0]|_0x2e0dc4[0x1]|_0x2e0dc4[0x2]|_0x2e0dc4[0x3])===0x0,_0x2e04a3=0x6);let _0x567dc7;typeof _0x16a549=='string'?(!_0x594fcc[_0x561709(0x242)]||_0x315bda)&&_0x594fcc[_0x10c930]!==void 0x0?_0x567dc7=_0x594fcc[_0x10c930]:(_0x16a549=Buffer[_0x561709(0x119)](_0x16a549),_0x567dc7=_0x16a549['length']):(_0x567dc7=_0x16a549['length'],_0x4515e9=_0x594fcc[_0x561709(0x242)]&&_0x594fcc['readOnly']&&!_0x315bda);let _0x52f1d6=_0x567dc7;_0x567dc7>=0x10000?(_0x2e04a3+=0x8,_0x52f1d6=0x7f):_0x567dc7>0x7d&&(_0x2e04a3+=0x2,_0x52f1d6=0x7e);const _0x2cb605=Buffer['allocUnsafe'](_0x4515e9?_0x567dc7+_0x2e04a3:_0x2e04a3);return _0x2cb605[0x0]=_0x594fcc['fin']?_0x594fcc[_0x561709(0x1f5)]|0x80:_0x594fcc[_0x561709(0x1f5)],_0x594fcc[_0x561709(0x1f3)]&&(_0x2cb605[0x0]|=0x40),_0x2cb605[0x1]=_0x52f1d6,_0x52f1d6===0x7e?_0x2cb605[_0x561709(0x160)](_0x567dc7,0x2):_0x52f1d6===0x7f&&(_0x2cb605[0x2]=_0x2cb605[0x3]=0x0,_0x2cb605[_0x561709(0x1e0)](_0x567dc7,0x4,0x6)),_0x594fcc[_0x561709(0x242)]?(_0x2cb605[0x1]|=0x80,_0x2cb605[_0x2e04a3-0x4]=_0x2e0dc4[0x0],_0x2cb605[_0x2e04a3-0x3]=_0x2e0dc4[0x1],_0x2cb605[_0x2e04a3-0x2]=_0x2e0dc4[0x2],_0x2cb605[_0x2e04a3-0x1]=_0x2e0dc4[0x3],_0x315bda?[_0x2cb605,_0x16a549]:_0x4515e9?(_0x1f348e(_0x16a549,_0x2e0dc4,_0x2cb605,_0x2e04a3,_0x567dc7),[_0x2cb605]):(_0x1f348e(_0x16a549,_0x2e0dc4,_0x16a549,0x0,_0x567dc7),[_0x2cb605,_0x16a549])):[_0x2cb605,_0x16a549];}[_0x2a489c(0x18b)](_0x339c36,_0xacbc30,_0x4b78b1,_0xc84019){const _0x195b74=_0x2a489c;let _0x3b37fa;if(_0x339c36===void 0x0)_0x3b37fa=_0x1a7a6d;else{if(typeof _0x339c36!=_0x195b74(0x251)||!_0x31a6fe(_0x339c36))throw new TypeError(_0x195b74(0xfd));if(_0xacbc30===void 0x0||!_0xacbc30[_0x195b74(0xed)])_0x3b37fa=Buffer[_0x195b74(0x1af)](0x2),_0x3b37fa[_0x195b74(0x160)](_0x339c36,0x0);else{const _0xd30c67=Buffer['byteLength'](_0xacbc30);if(_0xd30c67>0x7b)throw new RangeError(_0x195b74(0x24a));_0x3b37fa=Buffer[_0x195b74(0x1af)](0x2+_0xd30c67),_0x3b37fa[_0x195b74(0x160)](_0x339c36,0x0),typeof _0xacbc30=='string'?_0x3b37fa[_0x195b74(0x1aa)](_0xacbc30,0x2):_0x3b37fa[_0x195b74(0xe0)](_0xacbc30,0x2);}}const _0x4c0dbb={[_0x10c930]:_0x3b37fa['length'],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x4b78b1,'maskBuffer':this[_0x195b74(0x1b9)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x195b74(0x138)]!==_0x2260a6?this[_0x195b74(0x1cd)]([this[_0x195b74(0x11f)],_0x3b37fa,!0x1,_0x4c0dbb,_0xc84019]):this[_0x195b74(0x175)](_0x389b42[_0x195b74(0x23d)](_0x3b37fa,_0x4c0dbb),_0xc84019);}[_0x2a489c(0x180)](_0x52356b,_0x3b1332,_0x22e9c7){const _0x1055d7=_0x2a489c;let _0x36e4c6,_0x4828fd;if(typeof _0x52356b==_0x1055d7(0x169)?(_0x36e4c6=Buffer[_0x1055d7(0x12e)](_0x52356b),_0x4828fd=!0x1):_0x120eae(_0x52356b)?(_0x36e4c6=_0x52356b['size'],_0x4828fd=!0x1):(_0x52356b=_0x58baaa(_0x52356b),_0x36e4c6=_0x52356b[_0x1055d7(0xed)],_0x4828fd=_0x58baaa[_0x1055d7(0x217)]),_0x36e4c6>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x3d5dcf={[_0x10c930]:_0x36e4c6,'fin':!0x0,'generateMask':this[_0x1055d7(0x25c)],'mask':_0x3b1332,'maskBuffer':this[_0x1055d7(0x1b9)],'opcode':0x9,'readOnly':_0x4828fd,'rsv1':!0x1};_0x120eae(_0x52356b)?this['_state']!==_0x2260a6?this[_0x1055d7(0x1cd)]([this[_0x1055d7(0x1e8)],_0x52356b,!0x1,_0x3d5dcf,_0x22e9c7]):this[_0x1055d7(0x1e8)](_0x52356b,!0x1,_0x3d5dcf,_0x22e9c7):this[_0x1055d7(0x138)]!==_0x2260a6?this[_0x1055d7(0x1cd)]([this['dispatch'],_0x52356b,!0x1,_0x3d5dcf,_0x22e9c7]):this[_0x1055d7(0x175)](_0x389b42[_0x1055d7(0x23d)](_0x52356b,_0x3d5dcf),_0x22e9c7);}[_0x2a489c(0x205)](_0x485bb8,_0x20af01,_0x149b91){const _0x290b2d=_0x2a489c;let _0x64975c,_0x1b65a7;if(typeof _0x485bb8==_0x290b2d(0x169)?(_0x64975c=Buffer[_0x290b2d(0x12e)](_0x485bb8),_0x1b65a7=!0x1):_0x120eae(_0x485bb8)?(_0x64975c=_0x485bb8['size'],_0x1b65a7=!0x1):(_0x485bb8=_0x58baaa(_0x485bb8),_0x64975c=_0x485bb8[_0x290b2d(0xed)],_0x1b65a7=_0x58baaa[_0x290b2d(0x217)]),_0x64975c>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x48ca7b={[_0x10c930]:_0x64975c,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x20af01,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x1b65a7,'rsv1':!0x1};_0x120eae(_0x485bb8)?this[_0x290b2d(0x138)]!==_0x2260a6?this[_0x290b2d(0x1cd)]([this[_0x290b2d(0x1e8)],_0x485bb8,!0x1,_0x48ca7b,_0x149b91]):this[_0x290b2d(0x1e8)](_0x485bb8,!0x1,_0x48ca7b,_0x149b91):this[_0x290b2d(0x138)]!==_0x2260a6?this[_0x290b2d(0x1cd)]([this['dispatch'],_0x485bb8,!0x1,_0x48ca7b,_0x149b91]):this[_0x290b2d(0x175)](_0x389b42['frame'](_0x485bb8,_0x48ca7b),_0x149b91);}['send'](_0x3a715a,_0x39f12b,_0x3c3bbd){const _0x5d4475=_0x2a489c,_0x15b55c=this['_extensions'][_0x731571['extensionName']];let _0x3f8705=_0x39f12b['binary']?0x2:0x1,_0x47bf2b=_0x39f12b[_0x5d4475(0xc9)],_0x262d89,_0x5af70d;typeof _0x3a715a=='string'?(_0x262d89=Buffer[_0x5d4475(0x12e)](_0x3a715a),_0x5af70d=!0x1):_0x120eae(_0x3a715a)?(_0x262d89=_0x3a715a[_0x5d4475(0x26e)],_0x5af70d=!0x1):(_0x3a715a=_0x58baaa(_0x3a715a),_0x262d89=_0x3a715a['length'],_0x5af70d=_0x58baaa[_0x5d4475(0x217)]),this[_0x5d4475(0x17e)]?(this['_firstFragment']=!0x1,_0x47bf2b&&_0x15b55c&&_0x15b55c[_0x5d4475(0x1fd)][_0x15b55c[_0x5d4475(0x18d)]?_0x5d4475(0x13f):_0x5d4475(0x1ff)]&&(_0x47bf2b=_0x262d89>=_0x15b55c[_0x5d4475(0x125)]),this['_compress']=_0x47bf2b):(_0x47bf2b=!0x1,_0x3f8705=0x0),_0x39f12b[_0x5d4475(0xda)]&&(this[_0x5d4475(0x17e)]=!0x0);const _0x5394ea={[_0x10c930]:_0x262d89,'fin':_0x39f12b[_0x5d4475(0xda)],'generateMask':this[_0x5d4475(0x25c)],'mask':_0x39f12b[_0x5d4475(0x242)],'maskBuffer':this[_0x5d4475(0x1b9)],'opcode':_0x3f8705,'readOnly':_0x5af70d,'rsv1':_0x47bf2b};_0x120eae(_0x3a715a)?this[_0x5d4475(0x138)]!==_0x2260a6?this[_0x5d4475(0x1cd)]([this['getBlobData'],_0x3a715a,this['_compress'],_0x5394ea,_0x3c3bbd]):this[_0x5d4475(0x1e8)](_0x3a715a,this[_0x5d4475(0x1d2)],_0x5394ea,_0x3c3bbd):this[_0x5d4475(0x138)]!==_0x2260a6?this[_0x5d4475(0x1cd)]([this[_0x5d4475(0x11f)],_0x3a715a,this['_compress'],_0x5394ea,_0x3c3bbd]):this['dispatch'](_0x3a715a,this[_0x5d4475(0x1d2)],_0x5394ea,_0x3c3bbd);}[_0x2a489c(0x1e8)](_0x32c835,_0x387286,_0xd45e85,_0x4773bd){const _0xccbb8b=_0x2a489c;this['_bufferedBytes']+=_0xd45e85[_0x10c930],this['_state']=_0x57782d,_0x32c835[_0xccbb8b(0x1c4)]()[_0xccbb8b(0x231)](_0xe17f79=>{const _0x319bc9=_0xccbb8b;if(this['_socket'][_0x319bc9(0x21c)]){const _0x1a688b=new Error(_0x319bc9(0x194));process[_0x319bc9(0x1cc)](_0x17e182,this,_0x1a688b,_0x4773bd);return;}this['_bufferedBytes']-=_0xd45e85[_0x10c930];const _0x546223=_0x58baaa(_0xe17f79);_0x387286?this['dispatch'](_0x546223,_0x387286,_0xd45e85,_0x4773bd):(this['_state']=_0x2260a6,this['sendFrame'](_0x389b42[_0x319bc9(0x23d)](_0x546223,_0xd45e85),_0x4773bd),this['dequeue']());})[_0xccbb8b(0x1dd)](_0x1ea61a=>{const _0x3bd83b=_0xccbb8b;process[_0x3bd83b(0x1cc)](_0xd35fa0,this,_0x1ea61a,_0x4773bd);});}[_0x2a489c(0x11f)](_0x17d6e5,_0x47846e,_0x2fb9af,_0x2432f0){const _0x3b6b04=_0x2a489c;if(!_0x47846e){this[_0x3b6b04(0x175)](_0x389b42[_0x3b6b04(0x23d)](_0x17d6e5,_0x2fb9af),_0x2432f0);return;}const _0x3838ce=this[_0x3b6b04(0x224)][_0x731571['extensionName']];this[_0x3b6b04(0x256)]+=_0x2fb9af[_0x10c930],this['_state']=_0x3d8c33,_0x3838ce[_0x3b6b04(0xc9)](_0x17d6e5,_0x2fb9af[_0x3b6b04(0xda)],(_0x25a944,_0x31a06b)=>{const _0x31eefa=_0x3b6b04;if(this[_0x31eefa(0x13d)][_0x31eefa(0x21c)]){const _0x4a839e=new Error(_0x31eefa(0x1a8));_0x17e182(this,_0x4a839e,_0x2432f0);return;}this[_0x31eefa(0x256)]-=_0x2fb9af[_0x10c930],this[_0x31eefa(0x138)]=_0x2260a6,_0x2fb9af[_0x31eefa(0x217)]=!0x1,this['sendFrame'](_0x389b42[_0x31eefa(0x23d)](_0x31a06b,_0x2fb9af),_0x2432f0),this['dequeue']();});}[_0x2a489c(0x1f7)](){const _0x3750f7=_0x2a489c;for(;this[_0x3750f7(0x138)]===_0x2260a6&&this[_0x3750f7(0x1ed)][_0x3750f7(0xed)];){const _0x5a7124=this[_0x3750f7(0x1ed)][_0x3750f7(0x1c1)]();this[_0x3750f7(0x256)]-=_0x5a7124[0x3][_0x10c930],Reflect[_0x3750f7(0x26b)](_0x5a7124[0x0],this,_0x5a7124[_0x3750f7(0x20c)](0x1));}}[_0x2a489c(0x1cd)](_0x4f25ad){const _0x7404e6=_0x2a489c;this[_0x7404e6(0x256)]+=_0x4f25ad[0x3][_0x10c930],this[_0x7404e6(0x1ed)][_0x7404e6(0x10f)](_0x4f25ad);}[_0x2a489c(0x175)](_0x3caafe,_0x440fd0){const _0x10f65e=_0x2a489c;_0x3caafe[_0x10f65e(0xed)]===0x2?(this['_socket'][_0x10f65e(0x243)](),this['_socket']['write'](_0x3caafe[0x0]),this[_0x10f65e(0x13d)][_0x10f65e(0x1aa)](_0x3caafe[0x1],_0x440fd0),this['_socket']['uncork']()):this[_0x10f65e(0x13d)][_0x10f65e(0x1aa)](_0x3caafe[0x0],_0x440fd0);}}Ee=_0x389b42;function _0x17e182(_0x4b3e6e,_0x168057,_0x2c962f){const _0x265178=_0x2a489c;typeof _0x2c962f==_0x265178(0x273)&&_0x2c962f(_0x168057);for(let _0x3b7a84=0x0;_0x3b7a84<_0x4b3e6e['_queue'][_0x265178(0xed)];_0x3b7a84++){const _0x3eba03=_0x4b3e6e[_0x265178(0x1ed)][_0x3b7a84],_0x12ae00=_0x3eba03[_0x3eba03[_0x265178(0xed)]-0x1];typeof _0x12ae00==_0x265178(0x273)&&_0x12ae00(_0x168057);}}function _0xd35fa0(_0x1f910e,_0x37d404,_0xabc7e0){const _0x142f5b=_0x2a489c;_0x17e182(_0x1f910e,_0x37d404,_0xabc7e0),_0x1f910e[_0x142f5b(0x170)](_0x37d404);}return Ee;}var xe,tt;function Kt(){const _0x57a760=_0x51581f;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x46d03a,kListener:_0x3ef4f8}=V(),_0x32ca4=Symbol(_0x57a760(0x1e6)),_0x1c2c87=Symbol(_0x57a760(0x124)),_0x4ab855=Symbol(_0x57a760(0x196)),_0x4fc8d8=Symbol(_0x57a760(0x244)),_0x2c2e21=Symbol(_0x57a760(0x1b3)),_0x3698b8=Symbol('kTarget'),_0x1d5f2e=Symbol('kType'),_0x1bf36b=Symbol(_0x57a760(0x127));class _0x55d859{constructor(_0x154fdd){this[_0x3698b8]=null,this[_0x1d5f2e]=_0x154fdd;}get['target'](){return this[_0x3698b8];}get[_0x57a760(0x1f4)](){return this[_0x1d5f2e];}}Object[_0x57a760(0x1d0)](_0x55d859[_0x57a760(0x21b)],'target',{'enumerable':!0x0}),Object[_0x57a760(0x1d0)](_0x55d859[_0x57a760(0x21b)],_0x57a760(0x1f4),{'enumerable':!0x0});class _0x260701 extends _0x55d859{constructor(_0x300079,_0x3e223b={}){const _0x15ff94=_0x57a760;super(_0x300079),this[_0x32ca4]=_0x3e223b[_0x15ff94(0x1c7)]===void 0x0?0x0:_0x3e223b['code'],this[_0x2c2e21]=_0x3e223b[_0x15ff94(0xf1)]===void 0x0?'':_0x3e223b[_0x15ff94(0xf1)],this[_0x1bf36b]=_0x3e223b['wasClean']===void 0x0?!0x1:_0x3e223b[_0x15ff94(0x17f)];}get[_0x57a760(0x1c7)](){return this[_0x32ca4];}get[_0x57a760(0xf1)](){return this[_0x2c2e21];}get['wasClean'](){return this[_0x1bf36b];}}Object[_0x57a760(0x1d0)](_0x260701[_0x57a760(0x21b)],_0x57a760(0x1c7),{'enumerable':!0x0}),Object[_0x57a760(0x1d0)](_0x260701[_0x57a760(0x21b)],'reason',{'enumerable':!0x0}),Object[_0x57a760(0x1d0)](_0x260701[_0x57a760(0x21b)],'wasClean',{'enumerable':!0x0});class _0x56be30 extends _0x55d859{constructor(_0x4a0a99,_0x1656ff={}){const _0x3c570f=_0x57a760;super(_0x4a0a99),this[_0x4ab855]=_0x1656ff[_0x3c570f(0x189)]===void 0x0?null:_0x1656ff[_0x3c570f(0x189)],this[_0x4fc8d8]=_0x1656ff[_0x3c570f(0x254)]===void 0x0?'':_0x1656ff[_0x3c570f(0x254)];}get[_0x57a760(0x189)](){return this[_0x4ab855];}get[_0x57a760(0x254)](){return this[_0x4fc8d8];}}Object[_0x57a760(0x1d0)](_0x56be30[_0x57a760(0x21b)],_0x57a760(0x189),{'enumerable':!0x0}),Object[_0x57a760(0x1d0)](_0x56be30[_0x57a760(0x21b)],'message',{'enumerable':!0x0});class _0x41ee10 extends _0x55d859{constructor(_0x441eb1,_0x385dea={}){const _0x4cc046=_0x57a760;super(_0x441eb1),this[_0x1c2c87]=_0x385dea[_0x4cc046(0x1f0)]===void 0x0?null:_0x385dea[_0x4cc046(0x1f0)];}get['data'](){return this[_0x1c2c87];}}Object['defineProperty'](_0x41ee10[_0x57a760(0x21b)],_0x57a760(0x1f0),{'enumerable':!0x0}),xe={'CloseEvent':_0x260701,'ErrorEvent':_0x56be30,'Event':_0x55d859,'EventTarget':{'addEventListener'(_0x46e7db,_0x2928ba,_0x1ba6a5={}){const _0x35408d=_0x57a760;for(const _0x2e6e1a of this[_0x35408d(0x247)](_0x46e7db))if(!_0x1ba6a5[_0x46d03a]&&_0x2e6e1a[_0x3ef4f8]===_0x2928ba&&!_0x2e6e1a[_0x46d03a])return;let _0x39231f;if(_0x46e7db===_0x35408d(0x254))_0x39231f=function(_0x17b8bf,_0x19fa8c){const _0xe92b40=_0x35408d,_0x8aad0a=new _0x41ee10(_0xe92b40(0x254),{'data':_0x19fa8c?_0x17b8bf:_0x17b8bf[_0xe92b40(0x277)]()});_0x8aad0a[_0x3698b8]=this,_0x4f8a92(_0x2928ba,this,_0x8aad0a);};else{if(_0x46e7db===_0x35408d(0x18b))_0x39231f=function(_0x3dfd57,_0x47e2d4){const _0x24c27=_0x35408d,_0x5e3216=new _0x260701('close',{'code':_0x3dfd57,'reason':_0x47e2d4[_0x24c27(0x277)](),'wasClean':this[_0x24c27(0x1e1)]&&this['_closeFrameSent']});_0x5e3216[_0x3698b8]=this,_0x4f8a92(_0x2928ba,this,_0x5e3216);};else{if(_0x46e7db===_0x35408d(0x189))_0x39231f=function(_0x17e615){const _0x5c705f=_0x35408d,_0x4843b1=new _0x56be30(_0x5c705f(0x189),{'error':_0x17e615,'message':_0x17e615[_0x5c705f(0x254)]});_0x4843b1[_0x3698b8]=this,_0x4f8a92(_0x2928ba,this,_0x4843b1);};else{if(_0x46e7db===_0x35408d(0x1bf))_0x39231f=function(){const _0x1924c6=new _0x55d859('open');_0x1924c6[_0x3698b8]=this,_0x4f8a92(_0x2928ba,this,_0x1924c6);};else return;}}}_0x39231f[_0x46d03a]=!!_0x1ba6a5[_0x46d03a],_0x39231f[_0x3ef4f8]=_0x2928ba,_0x1ba6a5[_0x35408d(0x11d)]?this[_0x35408d(0x11d)](_0x46e7db,_0x39231f):this['on'](_0x46e7db,_0x39231f);},'removeEventListener'(_0x1c3798,_0xf9e2cc){const _0x3f2560=_0x57a760;for(const _0x13846d of this[_0x3f2560(0x247)](_0x1c3798))if(_0x13846d[_0x3ef4f8]===_0xf9e2cc&&!_0x13846d[_0x46d03a]){this[_0x3f2560(0xd8)](_0x1c3798,_0x13846d);break;}}},'MessageEvent':_0x41ee10};function _0x4f8a92(_0x42aff0,_0x211392,_0x2638e0){const _0x379b7c=_0x57a760;typeof _0x42aff0=='object'&&_0x42aff0['handleEvent']?_0x42aff0[_0x379b7c(0x14c)][_0x379b7c(0x1e7)](_0x42aff0,_0x2638e0):_0x42aff0[_0x379b7c(0x1e7)](_0x211392,_0x2638e0);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x538475}=ne();function _0x2f5c56(_0x20a173,_0xde5305,_0x5a8d2e){const _0x60922f=_0x1d3f;_0x20a173[_0xde5305]===void 0x0?_0x20a173[_0xde5305]=[_0x5a8d2e]:_0x20a173[_0xde5305][_0x60922f(0x10f)](_0x5a8d2e);}function _0x303861(_0x7ff281){const _0x264075=_0x1d3f,_0x7059a7=Object[_0x264075(0x214)](null);let _0x4cffd6=Object['create'](null),_0x14ef02=!0x1,_0x440dd5=!0x1,_0x248fb8=!0x1,_0x281c81,_0x784ca1,_0xb54f08=-0x1,_0x52485b=-0x1,_0x25c74d=-0x1,_0x4cbfef=0x0;for(;_0x4cbfef<_0x7ff281[_0x264075(0xed)];_0x4cbfef++)if(_0x52485b=_0x7ff281[_0x264075(0x184)](_0x4cbfef),_0x281c81===void 0x0){if(_0x25c74d===-0x1&&_0x538475[_0x52485b]===0x1)_0xb54f08===-0x1&&(_0xb54f08=_0x4cbfef);else{if(_0x4cbfef!==0x0&&(_0x52485b===0x20||_0x52485b===0x9))_0x25c74d===-0x1&&_0xb54f08!==-0x1&&(_0x25c74d=_0x4cbfef);else{if(_0x52485b===0x3b||_0x52485b===0x2c){if(_0xb54f08===-0x1)throw new SyntaxError(_0x264075(0x215)+_0x4cbfef);_0x25c74d===-0x1&&(_0x25c74d=_0x4cbfef);const _0x3f9fd2=_0x7ff281['slice'](_0xb54f08,_0x25c74d);_0x52485b===0x2c?(_0x2f5c56(_0x7059a7,_0x3f9fd2,_0x4cffd6),_0x4cffd6=Object[_0x264075(0x214)](null)):_0x281c81=_0x3f9fd2,_0xb54f08=_0x25c74d=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x4cbfef);}}}else{if(_0x784ca1===void 0x0){if(_0x25c74d===-0x1&&_0x538475[_0x52485b]===0x1)_0xb54f08===-0x1&&(_0xb54f08=_0x4cbfef);else{if(_0x52485b===0x20||_0x52485b===0x9)_0x25c74d===-0x1&&_0xb54f08!==-0x1&&(_0x25c74d=_0x4cbfef);else{if(_0x52485b===0x3b||_0x52485b===0x2c){if(_0xb54f08===-0x1)throw new SyntaxError(_0x264075(0x215)+_0x4cbfef);_0x25c74d===-0x1&&(_0x25c74d=_0x4cbfef),_0x2f5c56(_0x4cffd6,_0x7ff281['slice'](_0xb54f08,_0x25c74d),!0x0),_0x52485b===0x2c&&(_0x2f5c56(_0x7059a7,_0x281c81,_0x4cffd6),_0x4cffd6=Object[_0x264075(0x214)](null),_0x281c81=void 0x0),_0xb54f08=_0x25c74d=-0x1;}else{if(_0x52485b===0x3d&&_0xb54f08!==-0x1&&_0x25c74d===-0x1)_0x784ca1=_0x7ff281['slice'](_0xb54f08,_0x4cbfef),_0xb54f08=_0x25c74d=-0x1;else throw new SyntaxError(_0x264075(0x215)+_0x4cbfef);}}}}else{if(_0x440dd5){if(_0x538475[_0x52485b]!==0x1)throw new SyntaxError(_0x264075(0x215)+_0x4cbfef);_0xb54f08===-0x1?_0xb54f08=_0x4cbfef:_0x14ef02||(_0x14ef02=!0x0),_0x440dd5=!0x1;}else{if(_0x248fb8){if(_0x538475[_0x52485b]===0x1)_0xb54f08===-0x1&&(_0xb54f08=_0x4cbfef);else{if(_0x52485b===0x22&&_0xb54f08!==-0x1)_0x248fb8=!0x1,_0x25c74d=_0x4cbfef;else{if(_0x52485b===0x5c)_0x440dd5=!0x0;else throw new SyntaxError(_0x264075(0x215)+_0x4cbfef);}}}else{if(_0x52485b===0x22&&_0x7ff281[_0x264075(0x184)](_0x4cbfef-0x1)===0x3d)_0x248fb8=!0x0;else{if(_0x25c74d===-0x1&&_0x538475[_0x52485b]===0x1)_0xb54f08===-0x1&&(_0xb54f08=_0x4cbfef);else{if(_0xb54f08!==-0x1&&(_0x52485b===0x20||_0x52485b===0x9))_0x25c74d===-0x1&&(_0x25c74d=_0x4cbfef);else{if(_0x52485b===0x3b||_0x52485b===0x2c){if(_0xb54f08===-0x1)throw new SyntaxError(_0x264075(0x215)+_0x4cbfef);_0x25c74d===-0x1&&(_0x25c74d=_0x4cbfef);let _0x1b0164=_0x7ff281[_0x264075(0x20c)](_0xb54f08,_0x25c74d);_0x14ef02&&(_0x1b0164=_0x1b0164[_0x264075(0x116)](/\\/g,''),_0x14ef02=!0x1),_0x2f5c56(_0x4cffd6,_0x784ca1,_0x1b0164),_0x52485b===0x2c&&(_0x2f5c56(_0x7059a7,_0x281c81,_0x4cffd6),_0x4cffd6=Object[_0x264075(0x214)](null),_0x281c81=void 0x0),_0x784ca1=void 0x0,_0xb54f08=_0x25c74d=-0x1;}else throw new SyntaxError(_0x264075(0x215)+_0x4cbfef);}}}}}}}if(_0xb54f08===-0x1||_0x248fb8||_0x52485b===0x20||_0x52485b===0x9)throw new SyntaxError(_0x264075(0x126));_0x25c74d===-0x1&&(_0x25c74d=_0x4cbfef);const _0x2db3b5=_0x7ff281[_0x264075(0x20c)](_0xb54f08,_0x25c74d);return _0x281c81===void 0x0?_0x2f5c56(_0x7059a7,_0x2db3b5,_0x4cffd6):(_0x784ca1===void 0x0?_0x2f5c56(_0x4cffd6,_0x2db3b5,!0x0):_0x14ef02?_0x2f5c56(_0x4cffd6,_0x784ca1,_0x2db3b5[_0x264075(0x116)](/\\/g,'')):_0x2f5c56(_0x4cffd6,_0x784ca1,_0x2db3b5),_0x2f5c56(_0x7059a7,_0x281c81,_0x4cffd6)),_0x7059a7;}function _0x58b663(_0x6bbad3){const _0x57dfe8=_0x1d3f;return Object[_0x57dfe8(0x142)](_0x6bbad3)[_0x57dfe8(0x15f)](_0xfc6dde=>{const _0x3f5397=_0x57dfe8;let _0x4e3bca=_0x6bbad3[_0xfc6dde];return Array[_0x3f5397(0xf2)](_0x4e3bca)||(_0x4e3bca=[_0x4e3bca]),_0x4e3bca[_0x3f5397(0x15f)](_0x1cb9cb=>[_0xfc6dde]['concat'](Object[_0x3f5397(0x142)](_0x1cb9cb)[_0x3f5397(0x15f)](_0x543917=>{const _0x410dde=_0x3f5397;let _0x2c05a2=_0x1cb9cb[_0x543917];return Array[_0x410dde(0xf2)](_0x2c05a2)||(_0x2c05a2=[_0x2c05a2]),_0x2c05a2[_0x410dde(0x15f)](_0x42df9a=>_0x42df9a===!0x0?_0x543917:_0x543917+'='+_0x42df9a)[_0x410dde(0x12b)](';\x20');}))['join'](';\x20'))['join'](',\x20');})['join'](',\x20');}return be={'format':_0x58b663,'parse':_0x303861},be;}var we,st;function Ie(){const _0x2d014e=_0x51581f;if(st)return we;st=0x1;const _0x9d4f3d=_0x201900,_0x541281=_0x37559f,_0x5edd71=_0x4f4783,_0x574897=_0xfdff4b,_0x5f43d3=_0x18f1d6,{randomBytes:_0x3262a1,createHash:_0x4e245a}=_0x5ee8d0,{Duplex:_0x3538aa,Readable:_0x2bfe52}=_0x30afae,{URL:_0x16144a}=_0x372240,_0x55b86b=he(),_0x14df3a=dt(),_0x59e985=_t(),{isBlob:_0x4f3228}=ne(),{BINARY_TYPES:_0x5ae7e6,EMPTY_BUFFER:_0xcfd67c,GUID:_0x26126b,kForOnEventAttribute:_0x578887,kListener:_0x1a395a,kStatusCode:_0x478606,kWebSocket:_0x281909,NOOP:_0x4234a6}=V(),{EventTarget:{addEventListener:_0x170b8f,removeEventListener:_0x492363}}=Kt(),{format:_0x3629ba,parse:_0x3d50c9}=pt(),{toBuffer:_0x32942c}=ce(),_0x5f512c=0x1e*0x3e8,_0x210456=Symbol(_0x2d014e(0x222)),_0x18fc96=[0x8,0xd],_0x312ccc=[_0x2d014e(0x1ac),_0x2d014e(0x216),_0x2d014e(0xca),_0x2d014e(0x21a)],_0x1187a1=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0xfe761b extends _0x9d4f3d{constructor(_0x24243e,_0x344962,_0x45eda2){const _0x2f65bb=_0x2d014e;super(),this[_0x2f65bb(0x14f)]=_0x5ae7e6[0x0],this[_0x2f65bb(0x241)]=0x3ee,this[_0x2f65bb(0x1e1)]=!0x1,this[_0x2f65bb(0xfe)]=!0x1,this[_0x2f65bb(0x1f6)]=_0xcfd67c,this[_0x2f65bb(0x1c2)]=null,this[_0x2f65bb(0x237)]=!0x1,this['_extensions']={},this[_0x2f65bb(0x265)]=!0x1,this['_protocol']='',this[_0x2f65bb(0x16b)]=_0xfe761b[_0x2f65bb(0x1ac)],this[_0x2f65bb(0x13c)]=null,this['_sender']=null,this[_0x2f65bb(0x13d)]=null,_0x24243e!==null?(this[_0x2f65bb(0x1c6)]=0x0,this[_0x2f65bb(0x18d)]=!0x1,this[_0x2f65bb(0xd4)]=0x0,_0x344962===void 0x0?_0x344962=[]:Array[_0x2f65bb(0xf2)](_0x344962)||(typeof _0x344962==_0x2f65bb(0x1c9)&&_0x344962!==null?(_0x45eda2=_0x344962,_0x344962=[]):_0x344962=[_0x344962]),_0x2e18e7(this,_0x24243e,_0x344962,_0x45eda2)):(this[_0x2f65bb(0x235)]=_0x45eda2[_0x2f65bb(0x225)],this['_isServer']=!0x0);}get[_0x2d014e(0xf7)](){const _0x26ee0e=_0x2d014e;return this[_0x26ee0e(0x14f)];}set[_0x2d014e(0xf7)](_0x22008e){const _0x3f7f96=_0x2d014e;_0x5ae7e6[_0x3f7f96(0x274)](_0x22008e)&&(this['_binaryType']=_0x22008e,this[_0x3f7f96(0x13c)]&&(this[_0x3f7f96(0x13c)][_0x3f7f96(0x14f)]=_0x22008e));}get['bufferedAmount'](){const _0x5c3818=_0x2d014e;return this[_0x5c3818(0x13d)]?this[_0x5c3818(0x13d)][_0x5c3818(0xf0)]['length']+this[_0x5c3818(0x10b)][_0x5c3818(0x256)]:this[_0x5c3818(0x1c6)];}get['extensions'](){const _0xa1e421=_0x2d014e;return Object[_0xa1e421(0x142)](this[_0xa1e421(0x224)])[_0xa1e421(0x12b)]();}get['isPaused'](){const _0x40103c=_0x2d014e;return this[_0x40103c(0x265)];}get[_0x2d014e(0x13b)](){return null;}get[_0x2d014e(0x170)](){return null;}get[_0x2d014e(0x146)](){return null;}get['onmessage'](){return null;}get[_0x2d014e(0x1ca)](){const _0x20d07c=_0x2d014e;return this[_0x20d07c(0x10c)];}get['readyState'](){const _0x40f1a8=_0x2d014e;return this[_0x40f1a8(0x16b)];}get[_0x2d014e(0x172)](){const _0x5810b8=_0x2d014e;return this[_0x5810b8(0x1a9)];}[_0x2d014e(0x176)](_0x2e8cac,_0x45ca93,_0x1d39ba){const _0xea06b2=_0x2d014e,_0x1fa9e5=new _0x14df3a({'allowSynchronousEvents':_0x1d39ba[_0xea06b2(0xf5)],'binaryType':this['binaryType'],'extensions':this[_0xea06b2(0x224)],'isServer':this[_0xea06b2(0x18d)],'maxPayload':_0x1d39ba[_0xea06b2(0x165)],'skipUTF8Validation':_0x1d39ba[_0xea06b2(0x19d)]}),_0x48fb48=new _0x59e985(_0x2e8cac,this['_extensions'],_0x1d39ba[_0xea06b2(0x177)]);this[_0xea06b2(0x13c)]=_0x1fa9e5,this['_sender']=_0x48fb48,this[_0xea06b2(0x13d)]=_0x2e8cac,_0x1fa9e5[_0x281909]=this,_0x48fb48[_0x281909]=this,_0x2e8cac[_0x281909]=this,_0x1fa9e5['on'](_0xea06b2(0x103),_0x278b55),_0x1fa9e5['on']('drain',_0x2889f1),_0x1fa9e5['on'](_0xea06b2(0x189),_0x436ca1),_0x1fa9e5['on'](_0xea06b2(0x254),_0x1abe6a),_0x1fa9e5['on'](_0xea06b2(0x180),_0x194fa0),_0x1fa9e5['on'](_0xea06b2(0x205),_0x371379),_0x48fb48['onerror']=_0x507b9b,_0x2e8cac[_0xea06b2(0x105)]&&_0x2e8cac[_0xea06b2(0x105)](0x0),_0x2e8cac[_0xea06b2(0x208)]&&_0x2e8cac[_0xea06b2(0x208)](),_0x45ca93[_0xea06b2(0xed)]>0x0&&_0x2e8cac['unshift'](_0x45ca93),_0x2e8cac['on'](_0xea06b2(0x18b),_0x55e5a8),_0x2e8cac['on']('data',_0x1d9b8c),_0x2e8cac['on'](_0xea06b2(0x166),_0x35eccf),_0x2e8cac['on']('error',_0xf0f217),this[_0xea06b2(0x16b)]=_0xfe761b[_0xea06b2(0x216)],this[_0xea06b2(0x118)]('open');}[_0x2d014e(0xe9)](){const _0x4ae0d9=_0x2d014e;if(!this[_0x4ae0d9(0x13d)]){this[_0x4ae0d9(0x16b)]=_0xfe761b[_0x4ae0d9(0x21a)],this[_0x4ae0d9(0x118)](_0x4ae0d9(0x18b),this[_0x4ae0d9(0x241)],this[_0x4ae0d9(0x1f6)]);return;}this[_0x4ae0d9(0x224)][_0x55b86b['extensionName']]&&this[_0x4ae0d9(0x224)][_0x55b86b[_0x4ae0d9(0x137)]][_0x4ae0d9(0x11e)](),this[_0x4ae0d9(0x13c)][_0x4ae0d9(0xdb)](),this[_0x4ae0d9(0x16b)]=_0xfe761b[_0x4ae0d9(0x21a)],this['emit'](_0x4ae0d9(0x18b),this['_closeCode'],this[_0x4ae0d9(0x1f6)]);}[_0x2d014e(0x18b)](_0x5e479d,_0x40f0d8){const _0x3799e4=_0x2d014e;if(this[_0x3799e4(0xfb)]!==_0xfe761b[_0x3799e4(0x21a)]){if(this[_0x3799e4(0xfb)]===_0xfe761b[_0x3799e4(0x1ac)]){_0x88b305(this,this[_0x3799e4(0x136)],_0x3799e4(0x1f8));return;}if(this['readyState']===_0xfe761b[_0x3799e4(0xca)]){this[_0x3799e4(0xfe)]&&(this[_0x3799e4(0x1e1)]||this['_receiver'][_0x3799e4(0xf0)][_0x3799e4(0x238)])&&this[_0x3799e4(0x13d)][_0x3799e4(0x166)]();return;}this[_0x3799e4(0x16b)]=_0xfe761b['CLOSING'],this['_sender']['close'](_0x5e479d,_0x40f0d8,!this['_isServer'],_0xe4d169=>{const _0x20c43d=_0x3799e4;_0xe4d169||(this[_0x20c43d(0xfe)]=!0x0,(this['_closeFrameReceived']||this[_0x20c43d(0x13c)][_0x20c43d(0xf0)][_0x20c43d(0x238)])&&this[_0x20c43d(0x13d)][_0x20c43d(0x166)]());}),_0x57889f(this);}}[_0x2d014e(0x15e)](){const _0x588a62=_0x2d014e;this[_0x588a62(0xfb)]===_0xfe761b['CONNECTING']||this[_0x588a62(0xfb)]===_0xfe761b[_0x588a62(0x21a)]||(this[_0x588a62(0x265)]=!0x0,this['_socket']['pause']());}['ping'](_0x16695e,_0x249952,_0x26cd13){const _0x3f5a44=_0x2d014e;if(this[_0x3f5a44(0xfb)]===_0xfe761b[_0x3f5a44(0x1ac)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x16695e==_0x3f5a44(0x273)?(_0x26cd13=_0x16695e,_0x16695e=_0x249952=void 0x0):typeof _0x249952=='function'&&(_0x26cd13=_0x249952,_0x249952=void 0x0),typeof _0x16695e==_0x3f5a44(0x251)&&(_0x16695e=_0x16695e[_0x3f5a44(0x277)]()),this['readyState']!==_0xfe761b[_0x3f5a44(0x216)]){_0x1155b5(this,_0x16695e,_0x26cd13);return;}_0x249952===void 0x0&&(_0x249952=!this[_0x3f5a44(0x18d)]),this[_0x3f5a44(0x10b)][_0x3f5a44(0x180)](_0x16695e||_0xcfd67c,_0x249952,_0x26cd13);}[_0x2d014e(0x205)](_0x3bba0d,_0x525b3d,_0x1cea7f){const _0x4ef2fc=_0x2d014e;if(this[_0x4ef2fc(0xfb)]===_0xfe761b[_0x4ef2fc(0x1ac)])throw new Error(_0x4ef2fc(0x155));if(typeof _0x3bba0d==_0x4ef2fc(0x273)?(_0x1cea7f=_0x3bba0d,_0x3bba0d=_0x525b3d=void 0x0):typeof _0x525b3d==_0x4ef2fc(0x273)&&(_0x1cea7f=_0x525b3d,_0x525b3d=void 0x0),typeof _0x3bba0d=='number'&&(_0x3bba0d=_0x3bba0d[_0x4ef2fc(0x277)]()),this['readyState']!==_0xfe761b[_0x4ef2fc(0x216)]){_0x1155b5(this,_0x3bba0d,_0x1cea7f);return;}_0x525b3d===void 0x0&&(_0x525b3d=!this[_0x4ef2fc(0x18d)]),this[_0x4ef2fc(0x10b)][_0x4ef2fc(0x205)](_0x3bba0d||_0xcfd67c,_0x525b3d,_0x1cea7f);}[_0x2d014e(0x21f)](){const _0x253696=_0x2d014e;this['readyState']===_0xfe761b[_0x253696(0x1ac)]||this['readyState']===_0xfe761b['CLOSED']||(this['_paused']=!0x1,this['_receiver']['_writableState']['needDrain']||this[_0x253696(0x13d)]['resume']());}[_0x2d014e(0xf8)](_0x501fd1,_0x4fc172,_0x7017ca){const _0x544b59=_0x2d014e;if(this[_0x544b59(0xfb)]===_0xfe761b[_0x544b59(0x1ac)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x4fc172==_0x544b59(0x273)&&(_0x7017ca=_0x4fc172,_0x4fc172={}),typeof _0x501fd1==_0x544b59(0x251)&&(_0x501fd1=_0x501fd1[_0x544b59(0x277)]()),this['readyState']!==_0xfe761b[_0x544b59(0x216)]){_0x1155b5(this,_0x501fd1,_0x7017ca);return;}const _0x56f719={'binary':typeof _0x501fd1!='string','mask':!this[_0x544b59(0x18d)],'compress':!0x0,'fin':!0x0,..._0x4fc172};this[_0x544b59(0x224)][_0x55b86b[_0x544b59(0x137)]]||(_0x56f719[_0x544b59(0xc9)]=!0x1),this[_0x544b59(0x10b)][_0x544b59(0xf8)](_0x501fd1||_0xcfd67c,_0x56f719,_0x7017ca);}[_0x2d014e(0x267)](){const _0x52bf1e=_0x2d014e;if(this['readyState']!==_0xfe761b[_0x52bf1e(0x21a)]){if(this[_0x52bf1e(0xfb)]===_0xfe761b[_0x52bf1e(0x1ac)]){_0x88b305(this,this[_0x52bf1e(0x136)],_0x52bf1e(0x1f8));return;}this['_socket']&&(this[_0x52bf1e(0x16b)]=_0xfe761b[_0x52bf1e(0xca)],this[_0x52bf1e(0x13d)]['destroy']());}}}Object[_0x2d014e(0x1d0)](_0xfe761b,_0x2d014e(0x1ac),{'enumerable':!0x0,'value':_0x312ccc[_0x2d014e(0x167)](_0x2d014e(0x1ac))}),Object['defineProperty'](_0xfe761b[_0x2d014e(0x21b)],_0x2d014e(0x1ac),{'enumerable':!0x0,'value':_0x312ccc['indexOf']('CONNECTING')}),Object[_0x2d014e(0x1d0)](_0xfe761b,_0x2d014e(0x216),{'enumerable':!0x0,'value':_0x312ccc[_0x2d014e(0x167)]('OPEN')}),Object['defineProperty'](_0xfe761b[_0x2d014e(0x21b)],_0x2d014e(0x216),{'enumerable':!0x0,'value':_0x312ccc[_0x2d014e(0x167)](_0x2d014e(0x216))}),Object['defineProperty'](_0xfe761b,_0x2d014e(0xca),{'enumerable':!0x0,'value':_0x312ccc[_0x2d014e(0x167)](_0x2d014e(0xca))}),Object[_0x2d014e(0x1d0)](_0xfe761b[_0x2d014e(0x21b)],_0x2d014e(0xca),{'enumerable':!0x0,'value':_0x312ccc['indexOf'](_0x2d014e(0xca))}),Object[_0x2d014e(0x1d0)](_0xfe761b,_0x2d014e(0x21a),{'enumerable':!0x0,'value':_0x312ccc['indexOf'](_0x2d014e(0x21a))}),Object['defineProperty'](_0xfe761b[_0x2d014e(0x21b)],_0x2d014e(0x21a),{'enumerable':!0x0,'value':_0x312ccc[_0x2d014e(0x167)](_0x2d014e(0x21a))}),['binaryType',_0x2d014e(0x23f),_0x2d014e(0xef),_0x2d014e(0x16c),_0x2d014e(0x1ca),_0x2d014e(0xfb),_0x2d014e(0x172)][_0x2d014e(0x22a)](_0x39a01c=>{const _0x375ce6=_0x2d014e;Object[_0x375ce6(0x1d0)](_0xfe761b[_0x375ce6(0x21b)],_0x39a01c,{'enumerable':!0x0});}),[_0x2d014e(0x1bf),_0x2d014e(0x189),_0x2d014e(0x18b),_0x2d014e(0x254)]['forEach'](_0x246ce0=>{const _0x517343=_0x2d014e;Object[_0x517343(0x1d0)](_0xfe761b[_0x517343(0x21b)],'on'+_0x246ce0,{'enumerable':!0x0,'get'(){for(const _0x529972 of this['listeners'](_0x246ce0))if(_0x529972[_0x578887])return _0x529972[_0x1a395a];return null;},'set'(_0x5eaa24){const _0x11bd2f=_0x517343;for(const _0x37e782 of this[_0x11bd2f(0x247)](_0x246ce0))if(_0x37e782[_0x578887]){this[_0x11bd2f(0xd8)](_0x246ce0,_0x37e782);break;}typeof _0x5eaa24=='function'&&this[_0x11bd2f(0x141)](_0x246ce0,_0x5eaa24,{[_0x578887]:!0x0});}});}),_0xfe761b[_0x2d014e(0x21b)][_0x2d014e(0x141)]=_0x170b8f,_0xfe761b['prototype'][_0x2d014e(0x134)]=_0x492363,we=_0xfe761b;function _0x2e18e7(_0x2e7821,_0x5b8a33,_0x1b6591,_0x28feb2){const _0x5544b5=_0x2d014e,_0x97c1a={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x18fc96[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x28feb2,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x5544b5(0x147),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x2e7821['_autoPong']=_0x97c1a[_0x5544b5(0x225)],!_0x18fc96[_0x5544b5(0x274)](_0x97c1a[_0x5544b5(0x1fe)]))throw new RangeError(_0x5544b5(0x1ef)+_0x97c1a['protocolVersion']+_0x5544b5(0x206)+_0x18fc96['join'](',\x20')+')');let _0x54359e;if(_0x5b8a33 instanceof _0x16144a)_0x54359e=_0x5b8a33;else try{_0x54359e=new _0x16144a(_0x5b8a33);}catch{throw new SyntaxError(_0x5544b5(0x270)+_0x5b8a33);}_0x54359e[_0x5544b5(0x1ca)]===_0x5544b5(0x129)?_0x54359e[_0x5544b5(0x1ca)]=_0x5544b5(0x264):_0x54359e[_0x5544b5(0x1ca)]==='https:'&&(_0x54359e[_0x5544b5(0x1ca)]='wss:'),_0x2e7821[_0x5544b5(0x1a9)]=_0x54359e[_0x5544b5(0x25b)];const _0x4c1c8e=_0x54359e[_0x5544b5(0x1ca)]===_0x5544b5(0x157),_0x3c09d5=_0x54359e[_0x5544b5(0x1ca)]===_0x5544b5(0x108);let _0xf8b26d;if(_0x54359e[_0x5544b5(0x1ca)]!==_0x5544b5(0x264)&&!_0x4c1c8e&&!_0x3c09d5?_0xf8b26d=_0x5544b5(0x14d):_0x3c09d5&&!_0x54359e[_0x5544b5(0xf4)]?_0xf8b26d=_0x5544b5(0x1eb):_0x54359e[_0x5544b5(0x221)]&&(_0xf8b26d=_0x5544b5(0x272)),_0xf8b26d){const _0x409c3b=new SyntaxError(_0xf8b26d);if(_0x2e7821['_redirects']===0x0)throw _0x409c3b;_0x2b0080(_0x2e7821,_0x409c3b);return;}const _0x1814e1=_0x4c1c8e?0x1bb:0x50,_0x138a0d=_0x3262a1(0x10)['toString']('base64'),_0x1d2e3b=_0x4c1c8e?_0x541281[_0x5544b5(0x1b0)]:_0x5edd71[_0x5544b5(0x1b0)],_0x58bde3=new Set();let _0x4439b8;if(_0x97c1a[_0x5544b5(0x185)]=_0x97c1a['createConnection']||(_0x4c1c8e?_0x2896b9:_0x8fd388),_0x97c1a[_0x5544b5(0xf6)]=_0x97c1a[_0x5544b5(0xf6)]||_0x1814e1,_0x97c1a[_0x5544b5(0x122)]=_0x54359e['port']||_0x1814e1,_0x97c1a[_0x5544b5(0x257)]=_0x54359e[_0x5544b5(0x11c)]['startsWith']('[')?_0x54359e[_0x5544b5(0x11c)][_0x5544b5(0x20c)](0x1,-0x1):_0x54359e[_0x5544b5(0x11c)],_0x97c1a[_0x5544b5(0x20b)]={..._0x97c1a[_0x5544b5(0x20b)],'Sec-WebSocket-Version':_0x97c1a[_0x5544b5(0x1fe)],'Sec-WebSocket-Key':_0x138a0d,'Connection':_0x5544b5(0x18c),'Upgrade':'websocket'},_0x97c1a['path']=_0x54359e[_0x5544b5(0xf4)]+_0x54359e['search'],_0x97c1a['timeout']=_0x97c1a[_0x5544b5(0x164)],_0x97c1a[_0x5544b5(0x158)]&&(_0x4439b8=new _0x55b86b(_0x97c1a[_0x5544b5(0x158)]!==!0x0?_0x97c1a['perMessageDeflate']:{},!0x1,_0x97c1a[_0x5544b5(0x165)]),_0x97c1a['headers']['Sec-WebSocket-Extensions']=_0x3629ba({[_0x55b86b[_0x5544b5(0x137)]]:_0x4439b8[_0x5544b5(0x159)]()})),_0x1b6591[_0x5544b5(0xed)]){for(const _0x4e91ad of _0x1b6591){if(typeof _0x4e91ad!=_0x5544b5(0x169)||!_0x1187a1[_0x5544b5(0x107)](_0x4e91ad)||_0x58bde3[_0x5544b5(0x266)](_0x4e91ad))throw new SyntaxError(_0x5544b5(0x255));_0x58bde3['add'](_0x4e91ad);}_0x97c1a[_0x5544b5(0x20b)][_0x5544b5(0x182)]=_0x1b6591[_0x5544b5(0x12b)](',');}if(_0x97c1a[_0x5544b5(0xf3)]&&(_0x97c1a[_0x5544b5(0x1fe)]<0xd?_0x97c1a['headers']['Sec-WebSocket-Origin']=_0x97c1a[_0x5544b5(0xf3)]:_0x97c1a[_0x5544b5(0x20b)]['Origin']=_0x97c1a['origin']),(_0x54359e[_0x5544b5(0x10e)]||_0x54359e[_0x5544b5(0xd7)])&&(_0x97c1a[_0x5544b5(0xff)]=_0x54359e[_0x5544b5(0x10e)]+':'+_0x54359e['password']),_0x3c09d5){const _0x1d2d86=_0x97c1a['path'][_0x5544b5(0x228)](':');_0x97c1a[_0x5544b5(0x16e)]=_0x1d2d86[0x0],_0x97c1a[_0x5544b5(0x18f)]=_0x1d2d86[0x1];}let _0x152849;if(_0x97c1a[_0x5544b5(0x123)]){if(_0x2e7821['_redirects']===0x0){_0x2e7821[_0x5544b5(0x106)]=_0x3c09d5,_0x2e7821[_0x5544b5(0x1fa)]=_0x4c1c8e,_0x2e7821[_0x5544b5(0x161)]=_0x3c09d5?_0x97c1a[_0x5544b5(0x16e)]:_0x54359e[_0x5544b5(0x257)];const _0x230661=_0x28feb2&&_0x28feb2[_0x5544b5(0x20b)];if(_0x28feb2={..._0x28feb2,'headers':{}},_0x230661){for(const [_0x2b9691,_0x1df13e]of Object[_0x5544b5(0x15d)](_0x230661))_0x28feb2[_0x5544b5(0x20b)][_0x2b9691[_0x5544b5(0x1e5)]()]=_0x1df13e;}}else{if(_0x2e7821[_0x5544b5(0x16f)]('redirect')===0x0){const _0x356578=_0x3c09d5?_0x2e7821[_0x5544b5(0x106)]?_0x97c1a[_0x5544b5(0x16e)]===_0x2e7821['_originalHostOrSocketPath']:!0x1:_0x2e7821['_originalIpc']?!0x1:_0x54359e[_0x5544b5(0x257)]===_0x2e7821[_0x5544b5(0x161)];(!_0x356578||_0x2e7821[_0x5544b5(0x1fa)]&&!_0x4c1c8e)&&(delete _0x97c1a[_0x5544b5(0x20b)]['authorization'],delete _0x97c1a[_0x5544b5(0x20b)][_0x5544b5(0x10a)],_0x356578||delete _0x97c1a['headers']['host'],_0x97c1a[_0x5544b5(0xff)]=void 0x0);}}_0x97c1a[_0x5544b5(0xff)]&&!_0x28feb2[_0x5544b5(0x20b)][_0x5544b5(0xe6)]&&(_0x28feb2[_0x5544b5(0x20b)]['authorization']=_0x5544b5(0x24b)+Buffer[_0x5544b5(0x119)](_0x97c1a['auth'])[_0x5544b5(0x277)](_0x5544b5(0x15c))),_0x152849=_0x2e7821['_req']=_0x1d2e3b(_0x97c1a),_0x2e7821[_0x5544b5(0xd4)]&&_0x2e7821['emit']('redirect',_0x2e7821['url'],_0x152849);}else _0x152849=_0x2e7821['_req']=_0x1d2e3b(_0x97c1a);_0x97c1a[_0x5544b5(0x200)]&&_0x152849['on'](_0x5544b5(0x200),()=>{_0x88b305(_0x2e7821,_0x152849,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x152849['on'](_0x5544b5(0x189),_0x485a7b=>{const _0x104491=_0x5544b5;_0x152849===null||_0x152849[_0x210456]||(_0x152849=_0x2e7821[_0x104491(0x136)]=null,_0x2b0080(_0x2e7821,_0x485a7b));}),_0x152849['on']('response',_0xf6f385=>{const _0x2abe51=_0x5544b5,_0x2c42c7=_0xf6f385[_0x2abe51(0x20b)][_0x2abe51(0x227)],_0x52fe0d=_0xf6f385[_0x2abe51(0x23a)];if(_0x2c42c7&&_0x97c1a[_0x2abe51(0x123)]&&_0x52fe0d>=0x12c&&_0x52fe0d<0x190){if(++_0x2e7821[_0x2abe51(0xd4)]>_0x97c1a['maxRedirects']){_0x88b305(_0x2e7821,_0x152849,_0x2abe51(0x152));return;}_0x152849[_0x2abe51(0x263)]();let _0x4ced7e;try{_0x4ced7e=new _0x16144a(_0x2c42c7,_0x5b8a33);}catch{const _0x40ef6c=new SyntaxError('Invalid\x20URL:\x20'+_0x2c42c7);_0x2b0080(_0x2e7821,_0x40ef6c);return;}_0x2e18e7(_0x2e7821,_0x4ced7e,_0x1b6591,_0x28feb2);}else _0x2e7821[_0x2abe51(0x118)](_0x2abe51(0xce),_0x152849,_0xf6f385)||_0x88b305(_0x2e7821,_0x152849,_0x2abe51(0xf9)+_0xf6f385[_0x2abe51(0x23a)]);}),_0x152849['on']('upgrade',(_0x44783c,_0x5fb496,_0x57b954)=>{const _0x5049a1=_0x5544b5;if(_0x2e7821['emit']('upgrade',_0x44783c),_0x2e7821[_0x5049a1(0xfb)]!==_0xfe761b[_0x5049a1(0x1ac)])return;_0x152849=_0x2e7821[_0x5049a1(0x136)]=null;const _0x461b87=_0x44783c['headers'][_0x5049a1(0x1b4)];if(_0x461b87===void 0x0||_0x461b87['toLowerCase']()!==_0x5049a1(0x17d)){_0x88b305(_0x2e7821,_0x5fb496,_0x5049a1(0x186));return;}const _0x119f53=_0x4e245a(_0x5049a1(0x1f2))[_0x5049a1(0x24e)](_0x138a0d+_0x26126b)[_0x5049a1(0x1ae)](_0x5049a1(0x15c));if(_0x44783c[_0x5049a1(0x20b)]['sec-websocket-accept']!==_0x119f53){_0x88b305(_0x2e7821,_0x5fb496,_0x5049a1(0xdd));return;}const _0x183247=_0x44783c['headers'][_0x5049a1(0x275)];let _0x1aca62;if(_0x183247!==void 0x0?_0x58bde3[_0x5049a1(0x26e)]?_0x58bde3[_0x5049a1(0x266)](_0x183247)||(_0x1aca62='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0x1aca62='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0x58bde3['size']&&(_0x1aca62=_0x5049a1(0x1d3)),_0x1aca62){_0x88b305(_0x2e7821,_0x5fb496,_0x1aca62);return;}_0x183247&&(_0x2e7821[_0x5049a1(0x10c)]=_0x183247);const _0x3c0141=_0x44783c[_0x5049a1(0x20b)][_0x5049a1(0x246)];if(_0x3c0141!==void 0x0){if(!_0x4439b8){_0x88b305(_0x2e7821,_0x5fb496,_0x5049a1(0x250));return;}let _0x25ab98;try{_0x25ab98=_0x3d50c9(_0x3c0141);}catch{_0x88b305(_0x2e7821,_0x5fb496,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0x298e5e=Object['keys'](_0x25ab98);if(_0x298e5e[_0x5049a1(0xed)]!==0x1||_0x298e5e[0x0]!==_0x55b86b[_0x5049a1(0x137)]){_0x88b305(_0x2e7821,_0x5fb496,'Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested');return;}try{_0x4439b8[_0x5049a1(0x20d)](_0x25ab98[_0x55b86b[_0x5049a1(0x137)]]);}catch{_0x88b305(_0x2e7821,_0x5fb496,_0x5049a1(0x1e4));return;}_0x2e7821['_extensions'][_0x55b86b['extensionName']]=_0x4439b8;}_0x2e7821[_0x5049a1(0x176)](_0x5fb496,_0x57b954,{'allowSynchronousEvents':_0x97c1a[_0x5049a1(0xf5)],'generateMask':_0x97c1a[_0x5049a1(0x177)],'maxPayload':_0x97c1a[_0x5049a1(0x165)],'skipUTF8Validation':_0x97c1a[_0x5049a1(0x19d)]});}),_0x97c1a[_0x5544b5(0xe1)]?_0x97c1a['finishRequest'](_0x152849,_0x2e7821):_0x152849[_0x5544b5(0x166)]();}function _0x2b0080(_0x2abeb2,_0x4f7b26){const _0xffe4ed=_0x2d014e;_0x2abeb2['_readyState']=_0xfe761b[_0xffe4ed(0xca)],_0x2abeb2[_0xffe4ed(0x237)]=!0x0,_0x2abeb2[_0xffe4ed(0x118)](_0xffe4ed(0x189),_0x4f7b26),_0x2abeb2['emitClose']();}function _0x8fd388(_0x55afb1){const _0x25a3b0=_0x2d014e;return _0x55afb1[_0x25a3b0(0x18f)]=_0x55afb1[_0x25a3b0(0x16e)],_0x574897[_0x25a3b0(0x154)](_0x55afb1);}function _0x2896b9(_0xbb52ca){const _0x28e375=_0x2d014e;return _0xbb52ca[_0x28e375(0x18f)]=void 0x0,!_0xbb52ca[_0x28e375(0x171)]&&_0xbb52ca[_0x28e375(0x171)]!==''&&(_0xbb52ca[_0x28e375(0x171)]=_0x574897[_0x28e375(0x1d7)](_0xbb52ca[_0x28e375(0x257)])?'':_0xbb52ca[_0x28e375(0x257)]),_0x5f43d3[_0x28e375(0x154)](_0xbb52ca);}function _0x88b305(_0x92b974,_0x36d3ce,_0x3eee30){const _0x29a060=_0x2d014e;_0x92b974[_0x29a060(0x16b)]=_0xfe761b[_0x29a060(0xca)];const _0x1d4f40=new Error(_0x3eee30);Error['captureStackTrace'](_0x1d4f40,_0x88b305),_0x36d3ce[_0x29a060(0x1bd)]?(_0x36d3ce[_0x210456]=!0x0,_0x36d3ce[_0x29a060(0x263)](),_0x36d3ce[_0x29a060(0x197)]&&!_0x36d3ce[_0x29a060(0x197)]['destroyed']&&_0x36d3ce[_0x29a060(0x197)][_0x29a060(0x204)](),process[_0x29a060(0x1cc)](_0x2b0080,_0x92b974,_0x1d4f40)):(_0x36d3ce[_0x29a060(0x204)](_0x1d4f40),_0x36d3ce[_0x29a060(0x11d)](_0x29a060(0x189),_0x92b974[_0x29a060(0x118)]['bind'](_0x92b974,'error')),_0x36d3ce[_0x29a060(0x11d)](_0x29a060(0x18b),_0x92b974['emitClose'][_0x29a060(0x20f)](_0x92b974)));}function _0x1155b5(_0x578f65,_0x582430,_0x2bc6f4){const _0x3408ea=_0x2d014e;if(_0x582430){const _0x29eee4=_0x4f3228(_0x582430)?_0x582430[_0x3408ea(0x26e)]:_0x32942c(_0x582430)[_0x3408ea(0xed)];_0x578f65[_0x3408ea(0x13d)]?_0x578f65[_0x3408ea(0x10b)]['_bufferedBytes']+=_0x29eee4:_0x578f65[_0x3408ea(0x1c6)]+=_0x29eee4;}if(_0x2bc6f4){const _0x4cb940=new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x20'+_0x578f65[_0x3408ea(0xfb)]+'\x20('+_0x312ccc[_0x578f65['readyState']]+')');process['nextTick'](_0x2bc6f4,_0x4cb940);}}function _0x278b55(_0x4ec58b,_0x9a4daa){const _0x5a1ccf=_0x2d014e,_0x2856ad=this[_0x281909];_0x2856ad[_0x5a1ccf(0x1e1)]=!0x0,_0x2856ad[_0x5a1ccf(0x1f6)]=_0x9a4daa,_0x2856ad[_0x5a1ccf(0x241)]=_0x4ec58b,_0x2856ad[_0x5a1ccf(0x13d)][_0x281909]!==void 0x0&&(_0x2856ad['_socket'][_0x5a1ccf(0xd8)](_0x5a1ccf(0x1f0),_0x1d9b8c),process[_0x5a1ccf(0x1cc)](_0x27d26d,_0x2856ad[_0x5a1ccf(0x13d)]),_0x4ec58b===0x3ed?_0x2856ad[_0x5a1ccf(0x18b)]():_0x2856ad['close'](_0x4ec58b,_0x9a4daa));}function _0x2889f1(){const _0x5ea9e2=_0x2d014e,_0x2159cc=this[_0x281909];_0x2159cc[_0x5ea9e2(0x16c)]||_0x2159cc[_0x5ea9e2(0x13d)]['resume']();}function _0x436ca1(_0x80dac5){const _0x11c67c=_0x2d014e,_0x527d3b=this[_0x281909];_0x527d3b[_0x11c67c(0x13d)][_0x281909]!==void 0x0&&(_0x527d3b['_socket'][_0x11c67c(0xd8)](_0x11c67c(0x1f0),_0x1d9b8c),process['nextTick'](_0x27d26d,_0x527d3b['_socket']),_0x527d3b['close'](_0x80dac5[_0x478606])),_0x527d3b[_0x11c67c(0x237)]||(_0x527d3b[_0x11c67c(0x237)]=!0x0,_0x527d3b[_0x11c67c(0x118)]('error',_0x80dac5));}function _0x10efb9(){const _0x5d768e=_0x2d014e;this[_0x281909][_0x5d768e(0xe9)]();}function _0x1abe6a(_0x3520ef,_0x3cfa32){const _0x3caac6=_0x2d014e;this[_0x281909]['emit'](_0x3caac6(0x254),_0x3520ef,_0x3cfa32);}function _0x194fa0(_0x2255a0){const _0x330f2c=_0x2d014e,_0x1842ec=this[_0x281909];_0x1842ec[_0x330f2c(0x235)]&&_0x1842ec[_0x330f2c(0x205)](_0x2255a0,!this['_isServer'],_0x4234a6),_0x1842ec[_0x330f2c(0x118)]('ping',_0x2255a0);}function _0x371379(_0x251968){const _0xf2cb20=_0x2d014e;this[_0x281909][_0xf2cb20(0x118)](_0xf2cb20(0x205),_0x251968);}function _0x27d26d(_0x2938fc){const _0x45e8f9=_0x2d014e;_0x2938fc[_0x45e8f9(0x21f)]();}function _0x507b9b(_0x41e3ef){const _0x6facff=_0x2d014e,_0x266ddc=this[_0x281909];_0x266ddc[_0x6facff(0xfb)]!==_0xfe761b[_0x6facff(0x21a)]&&(_0x266ddc[_0x6facff(0xfb)]===_0xfe761b['OPEN']&&(_0x266ddc[_0x6facff(0x16b)]=_0xfe761b[_0x6facff(0xca)],_0x57889f(_0x266ddc)),this['_socket']['end'](),_0x266ddc[_0x6facff(0x237)]||(_0x266ddc[_0x6facff(0x237)]=!0x0,_0x266ddc['emit'](_0x6facff(0x189),_0x41e3ef)));}function _0x57889f(_0x5b9626){const _0x51caa0=_0x2d014e;_0x5b9626[_0x51caa0(0x1c2)]=setTimeout(_0x5b9626[_0x51caa0(0x13d)][_0x51caa0(0x204)][_0x51caa0(0x20f)](_0x5b9626[_0x51caa0(0x13d)]),_0x5f512c);}function _0x55e5a8(){const _0x4ed509=_0x2d014e,_0x2d9e6f=this[_0x281909];this[_0x4ed509(0xd8)]('close',_0x55e5a8),this[_0x4ed509(0xd8)](_0x4ed509(0x1f0),_0x1d9b8c),this['removeListener']('end',_0x35eccf),_0x2d9e6f['_readyState']=_0xfe761b[_0x4ed509(0xca)];let _0x49b622;!this[_0x4ed509(0xd6)][_0x4ed509(0x230)]&&!_0x2d9e6f[_0x4ed509(0x1e1)]&&!_0x2d9e6f['_receiver'][_0x4ed509(0xf0)][_0x4ed509(0x238)]&&(_0x49b622=_0x2d9e6f[_0x4ed509(0x13d)][_0x4ed509(0x1a0)]())!==null&&_0x2d9e6f[_0x4ed509(0x13c)][_0x4ed509(0x1aa)](_0x49b622),_0x2d9e6f[_0x4ed509(0x13c)][_0x4ed509(0x166)](),this[_0x281909]=void 0x0,clearTimeout(_0x2d9e6f[_0x4ed509(0x1c2)]),_0x2d9e6f[_0x4ed509(0x13c)]['_writableState'][_0x4ed509(0x19e)]||_0x2d9e6f[_0x4ed509(0x13c)]['_writableState'][_0x4ed509(0x238)]?_0x2d9e6f[_0x4ed509(0xe9)]():(_0x2d9e6f['_receiver']['on'](_0x4ed509(0x189),_0x10efb9),_0x2d9e6f[_0x4ed509(0x13c)]['on'](_0x4ed509(0xdf),_0x10efb9));}function _0x1d9b8c(_0x40e860){const _0x3751f0=_0x2d014e;this[_0x281909][_0x3751f0(0x13c)][_0x3751f0(0x1aa)](_0x40e860)||this[_0x3751f0(0x15e)]();}function _0x35eccf(){const _0xa74d1d=_0x2d014e,_0x566c7e=this[_0x281909];_0x566c7e[_0xa74d1d(0x16b)]=_0xfe761b[_0xa74d1d(0xca)],_0x566c7e['_receiver']['end'](),this[_0xa74d1d(0x166)]();}function _0xf0f217(){const _0x125372=_0x2d014e,_0x3426f7=this[_0x281909];this[_0x125372(0xd8)]('error',_0xf0f217),this['on'](_0x125372(0x189),_0x4234a6),_0x3426f7&&(_0x3426f7[_0x125372(0x16b)]=_0xfe761b[_0x125372(0xca)],this[_0x125372(0x204)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x519134}=_0x30afae;function _0x24a887(_0x4b7f7f){const _0x512fb0=_0x1d3f;_0x4b7f7f[_0x512fb0(0x118)](_0x512fb0(0x18b));}function _0x1de6dd(){const _0x51f1cc=_0x1d3f;!this[_0x51f1cc(0x21c)]&&this[_0x51f1cc(0xf0)][_0x51f1cc(0x19e)]&&this['destroy']();}function _0x431a9b(_0x524742){const _0x36e7d6=_0x1d3f;this[_0x36e7d6(0xd8)](_0x36e7d6(0x189),_0x431a9b),this[_0x36e7d6(0x204)](),this[_0x36e7d6(0x16f)](_0x36e7d6(0x189))===0x0&&this[_0x36e7d6(0x118)](_0x36e7d6(0x189),_0x524742);}function _0x1a42c7(_0x22aed0,_0x46f3fb){const _0x52e8f6=_0x1d3f;let _0x19a190=!0x0;const _0x323129=new _0x519134({..._0x46f3fb,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x22aed0['on'](_0x52e8f6(0x254),function(_0xcad671,_0x1543bd){const _0x248d27=_0x52e8f6,_0x4ded50=!_0x1543bd&&_0x323129[_0x248d27(0xd6)][_0x248d27(0x13a)]?_0xcad671[_0x248d27(0x277)]():_0xcad671;_0x323129[_0x248d27(0x10f)](_0x4ded50)||_0x22aed0[_0x248d27(0x15e)]();}),_0x22aed0[_0x52e8f6(0x11d)](_0x52e8f6(0x189),function(_0x562e7d){const _0xf2d44d=_0x52e8f6;_0x323129[_0xf2d44d(0x21c)]||(_0x19a190=!0x1,_0x323129[_0xf2d44d(0x204)](_0x562e7d));}),_0x22aed0['once'](_0x52e8f6(0x18b),function(){const _0x237306=_0x52e8f6;_0x323129[_0x237306(0x21c)]||_0x323129[_0x237306(0x10f)](null);}),_0x323129[_0x52e8f6(0xde)]=function(_0x1dfab5,_0x5c689b){const _0x149b78=_0x52e8f6;if(_0x22aed0['readyState']===_0x22aed0[_0x149b78(0x21a)]){_0x5c689b(_0x1dfab5),process['nextTick'](_0x24a887,_0x323129);return;}let _0x55301c=!0x1;_0x22aed0['once'](_0x149b78(0x189),function(_0x3c8544){_0x55301c=!0x0,_0x5c689b(_0x3c8544);}),_0x22aed0[_0x149b78(0x11d)](_0x149b78(0x18b),function(){const _0x4d7d88=_0x149b78;_0x55301c||_0x5c689b(_0x1dfab5),process[_0x4d7d88(0x1cc)](_0x24a887,_0x323129);}),_0x19a190&&_0x22aed0[_0x149b78(0x267)]();},_0x323129[_0x52e8f6(0x22f)]=function(_0x5a0458){const _0xe7c2f0=_0x52e8f6;if(_0x22aed0[_0xe7c2f0(0xfb)]===_0x22aed0[_0xe7c2f0(0x1ac)]){_0x22aed0[_0xe7c2f0(0x11d)](_0xe7c2f0(0x1bf),function(){const _0xd55291=_0xe7c2f0;_0x323129[_0xd55291(0x22f)](_0x5a0458);});return;}_0x22aed0[_0xe7c2f0(0x13d)]!==null&&(_0x22aed0[_0xe7c2f0(0x13d)]['_writableState'][_0xe7c2f0(0x19e)]?(_0x5a0458(),_0x323129[_0xe7c2f0(0xd6)][_0xe7c2f0(0x230)]&&_0x323129[_0xe7c2f0(0x204)]()):(_0x22aed0[_0xe7c2f0(0x13d)][_0xe7c2f0(0x11d)](_0xe7c2f0(0xdf),function(){_0x5a0458();}),_0x22aed0[_0xe7c2f0(0x18b)]()));},_0x323129['_read']=function(){const _0x2418ff=_0x52e8f6;_0x22aed0[_0x2418ff(0x16c)]&&_0x22aed0['resume']();},_0x323129[_0x52e8f6(0x113)]=function(_0x595c2b,_0x489500,_0x30e70b){const _0x5928f6=_0x52e8f6;if(_0x22aed0['readyState']===_0x22aed0[_0x5928f6(0x1ac)]){_0x22aed0[_0x5928f6(0x11d)](_0x5928f6(0x1bf),function(){_0x323129['_write'](_0x595c2b,_0x489500,_0x30e70b);});return;}_0x22aed0[_0x5928f6(0xf8)](_0x595c2b,_0x30e70b);},_0x323129['on'](_0x52e8f6(0x166),_0x1de6dd),_0x323129['on']('error',_0x431a9b),_0x323129;}return Oe=_0x1a42c7,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=jt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x3b3eb8}=ne();function _0x3aa6d4(_0x4fa437){const _0x28b9b6=_0x1d3f,_0x3e77b0=new Set();let _0x306b5a=-0x1,_0x592a21=-0x1,_0x47fe47=0x0;for(_0x47fe47;_0x47fe47<_0x4fa437['length'];_0x47fe47++){const _0x47f682=_0x4fa437[_0x28b9b6(0x184)](_0x47fe47);if(_0x592a21===-0x1&&_0x3b3eb8[_0x47f682]===0x1)_0x306b5a===-0x1&&(_0x306b5a=_0x47fe47);else{if(_0x47fe47!==0x0&&(_0x47f682===0x20||_0x47f682===0x9))_0x592a21===-0x1&&_0x306b5a!==-0x1&&(_0x592a21=_0x47fe47);else{if(_0x47f682===0x2c){if(_0x306b5a===-0x1)throw new SyntaxError(_0x28b9b6(0x215)+_0x47fe47);_0x592a21===-0x1&&(_0x592a21=_0x47fe47);const _0x211747=_0x4fa437[_0x28b9b6(0x20c)](_0x306b5a,_0x592a21);if(_0x3e77b0[_0x28b9b6(0x266)](_0x211747))throw new SyntaxError('The\x20\x22'+_0x211747+_0x28b9b6(0x19c));_0x3e77b0[_0x28b9b6(0x202)](_0x211747),_0x306b5a=_0x592a21=-0x1;}else throw new SyntaxError(_0x28b9b6(0x215)+_0x47fe47);}}}if(_0x306b5a===-0x1||_0x592a21!==-0x1)throw new SyntaxError(_0x28b9b6(0x126));const _0x58096d=_0x4fa437['slice'](_0x306b5a,_0x47fe47);if(_0x3e77b0[_0x28b9b6(0x266)](_0x58096d))throw new SyntaxError(_0x28b9b6(0xcb)+_0x58096d+'\x22\x20subprotocol\x20is\x20duplicated');return _0x3e77b0[_0x28b9b6(0x202)](_0x58096d),_0x3e77b0;}return Ce={'parse':_0x3aa6d4},Ce;}var Te,ot;function er(){const _0xcb994e=_0x51581f;if(ot)return Te;ot=0x1;const _0x2e0618=_0x201900,_0xae9bdf=_0x4f4783,{Duplex:_0x1e500f}=_0x30afae,{createHash:_0x2e93a3}=_0x5ee8d0,_0x2d2845=pt(),_0x114e50=he(),_0x308753=Jt(),_0x473b0c=Ie(),{GUID:_0x3c8e32,kWebSocket:_0x5e34f7}=V(),_0x1dc806=/^[+/0-9A-Za-z]{22}==$/,_0x340b60=0x0,_0x3f1cd5=0x1,_0x5494a2=0x2;class _0xaca651 extends _0x2e0618{constructor(_0x4de394,_0x3fcbb7){const _0x6b1bf5=_0x1d3f;if(super(),_0x4de394={'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':_0x473b0c,..._0x4de394},_0x4de394[_0x6b1bf5(0x122)]==null&&!_0x4de394['server']&&!_0x4de394[_0x6b1bf5(0x233)]||_0x4de394[_0x6b1bf5(0x122)]!=null&&(_0x4de394['server']||_0x4de394[_0x6b1bf5(0x233)])||_0x4de394[_0x6b1bf5(0x168)]&&_0x4de394['noServer'])throw new TypeError('One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified');if(_0x4de394[_0x6b1bf5(0x122)]!=null?(this[_0x6b1bf5(0x1a6)]=_0xae9bdf[_0x6b1bf5(0xe7)]((_0x2e8b0c,_0x53b555)=>{const _0x165743=_0x6b1bf5,_0x3e6cb5=_0xae9bdf[_0x165743(0x11a)][0x1aa];_0x53b555['writeHead'](0x1aa,{'Content-Length':_0x3e6cb5[_0x165743(0xed)],'Content-Type':'text/plain'}),_0x53b555[_0x165743(0x166)](_0x3e6cb5);}),this[_0x6b1bf5(0x1a6)][_0x6b1bf5(0x1fc)](_0x4de394['port'],_0x4de394[_0x6b1bf5(0x257)],_0x4de394[_0x6b1bf5(0x258)],_0x3fcbb7)):_0x4de394[_0x6b1bf5(0x168)]&&(this['_server']=_0x4de394[_0x6b1bf5(0x168)]),this[_0x6b1bf5(0x1a6)]){const _0x341840=this[_0x6b1bf5(0x118)][_0x6b1bf5(0x20f)](this,_0x6b1bf5(0x1e9));this[_0x6b1bf5(0x163)]=_0x44883c(this[_0x6b1bf5(0x1a6)],{'listening':this[_0x6b1bf5(0x118)][_0x6b1bf5(0x20f)](this,_0x6b1bf5(0x1db)),'error':this[_0x6b1bf5(0x118)][_0x6b1bf5(0x20f)](this,_0x6b1bf5(0x189)),'upgrade':(_0x313328,_0xc20d05,_0x12c999)=>{const _0xe5524d=_0x6b1bf5;this[_0xe5524d(0x1c3)](_0x313328,_0xc20d05,_0x12c999,_0x341840);}});}_0x4de394[_0x6b1bf5(0x158)]===!0x0&&(_0x4de394[_0x6b1bf5(0x158)]={}),_0x4de394[_0x6b1bf5(0x153)]&&(this['clients']=new Set(),this[_0x6b1bf5(0x150)]=!0x1),this['options']=_0x4de394,this[_0x6b1bf5(0x138)]=_0x340b60;}[_0xcb994e(0x193)](){const _0x4a8bd4=_0xcb994e;if(this[_0x4a8bd4(0x195)][_0x4a8bd4(0x233)])throw new Error(_0x4a8bd4(0x201));return this[_0x4a8bd4(0x1a6)]?this[_0x4a8bd4(0x1a6)][_0x4a8bd4(0x193)]():null;}[_0xcb994e(0x18b)](_0xb5974f){const _0x2b7c5a=_0xcb994e;if(this['_state']===_0x5494a2){_0xb5974f&&this[_0x2b7c5a(0x11d)]('close',()=>{_0xb5974f(new Error('The\x20server\x20is\x20not\x20running'));}),process[_0x2b7c5a(0x1cc)](_0x238f23,this);return;}if(_0xb5974f&&this['once']('close',_0xb5974f),this[_0x2b7c5a(0x138)]!==_0x3f1cd5){if(this[_0x2b7c5a(0x138)]=_0x3f1cd5,this[_0x2b7c5a(0x195)][_0x2b7c5a(0x233)]||this[_0x2b7c5a(0x195)][_0x2b7c5a(0x168)])this['_server']&&(this[_0x2b7c5a(0x163)](),this[_0x2b7c5a(0x163)]=this['_server']=null),this[_0x2b7c5a(0x162)]?this[_0x2b7c5a(0x162)][_0x2b7c5a(0x26e)]?this[_0x2b7c5a(0x150)]=!0x0:process[_0x2b7c5a(0x1cc)](_0x238f23,this):process[_0x2b7c5a(0x1cc)](_0x238f23,this);else{const _0x52b3b0=this[_0x2b7c5a(0x1a6)];this[_0x2b7c5a(0x163)](),this[_0x2b7c5a(0x163)]=this['_server']=null,_0x52b3b0[_0x2b7c5a(0x18b)](()=>{_0x238f23(this);});}}}[_0xcb994e(0xd2)](_0x1a0d03){const _0x4d452b=_0xcb994e;if(this[_0x4d452b(0x195)][_0x4d452b(0x18f)]){const _0x515032=_0x1a0d03['url'][_0x4d452b(0x167)]('?');if((_0x515032!==-0x1?_0x1a0d03[_0x4d452b(0x172)]['slice'](0x0,_0x515032):_0x1a0d03['url'])!==this[_0x4d452b(0x195)]['path'])return!0x1;}return!0x0;}['handleUpgrade'](_0x5a7a55,_0xd0d9a0,_0xf3d1d,_0x58a6df){const _0xbd33b3=_0xcb994e;_0xd0d9a0['on'](_0xbd33b3(0x189),_0x570572);const _0x3e724a=_0x5a7a55[_0xbd33b3(0x20b)]['sec-websocket-key'],_0x5ac2e0=_0x5a7a55[_0xbd33b3(0x20b)][_0xbd33b3(0x1b4)],_0x5ad844=+_0x5a7a55['headers'][_0xbd33b3(0x22e)];if(_0x5a7a55['method']!==_0xbd33b3(0x147)){_0x1c0680(this,_0x5a7a55,_0xd0d9a0,0x195,_0xbd33b3(0x17b));return;}if(_0x5ac2e0===void 0x0||_0x5ac2e0['toLowerCase']()!=='websocket'){_0x1c0680(this,_0x5a7a55,_0xd0d9a0,0x190,'Invalid\x20Upgrade\x20header');return;}if(_0x3e724a===void 0x0||!_0x1dc806['test'](_0x3e724a)){_0x1c0680(this,_0x5a7a55,_0xd0d9a0,0x190,_0xbd33b3(0xcf));return;}if(_0x5ad844!==0x8&&_0x5ad844!==0xd){_0x1c0680(this,_0x5a7a55,_0xd0d9a0,0x190,_0xbd33b3(0x1df));return;}if(!this[_0xbd33b3(0xd2)](_0x5a7a55)){_0x3014b4(_0xd0d9a0,0x190);return;}const _0x43100d=_0x5a7a55[_0xbd33b3(0x20b)]['sec-websocket-protocol'];let _0x2b0bba=new Set();if(_0x43100d!==void 0x0)try{_0x2b0bba=_0x308753[_0xbd33b3(0x174)](_0x43100d);}catch{_0x1c0680(this,_0x5a7a55,_0xd0d9a0,0x190,_0xbd33b3(0x1d8));return;}const _0x3e2cbc=_0x5a7a55[_0xbd33b3(0x20b)][_0xbd33b3(0x246)],_0x43c7e0={};if(this[_0xbd33b3(0x195)][_0xbd33b3(0x158)]&&_0x3e2cbc!==void 0x0){const _0x48900a=new _0x114e50(this[_0xbd33b3(0x195)][_0xbd33b3(0x158)],!0x0,this[_0xbd33b3(0x195)][_0xbd33b3(0x165)]);try{const _0x1e720e=_0x2d2845[_0xbd33b3(0x174)](_0x3e2cbc);_0x1e720e[_0x114e50[_0xbd33b3(0x137)]]&&(_0x48900a[_0xbd33b3(0x20d)](_0x1e720e[_0x114e50['extensionName']]),_0x43c7e0[_0x114e50[_0xbd33b3(0x137)]]=_0x48900a);}catch{_0x1c0680(this,_0x5a7a55,_0xd0d9a0,0x190,_0xbd33b3(0x259));return;}}if(this['options'][_0xbd33b3(0x22b)]){const _0x113751={'origin':_0x5a7a55[_0xbd33b3(0x20b)][''+(_0x5ad844===0x8?_0xbd33b3(0xfc):_0xbd33b3(0xf3))],'secure':!!(_0x5a7a55['socket']['authorized']||_0x5a7a55['socket'][_0xbd33b3(0x121)]),'req':_0x5a7a55};if(this[_0xbd33b3(0x195)][_0xbd33b3(0x22b)][_0xbd33b3(0xed)]===0x2){this[_0xbd33b3(0x195)][_0xbd33b3(0x22b)](_0x113751,(_0x5db6d7,_0x5343cf,_0x3eeb06,_0x355802)=>{const _0x54b496=_0xbd33b3;if(!_0x5db6d7)return _0x3014b4(_0xd0d9a0,_0x5343cf||0x191,_0x3eeb06,_0x355802);this[_0x54b496(0x128)](_0x43c7e0,_0x3e724a,_0x2b0bba,_0x5a7a55,_0xd0d9a0,_0xf3d1d,_0x58a6df);});return;}if(!this['options'][_0xbd33b3(0x22b)](_0x113751))return _0x3014b4(_0xd0d9a0,0x191);}this['completeUpgrade'](_0x43c7e0,_0x3e724a,_0x2b0bba,_0x5a7a55,_0xd0d9a0,_0xf3d1d,_0x58a6df);}['completeUpgrade'](_0x43245d,_0x20239c,_0x1380eb,_0x13a167,_0x2c6103,_0x17918c,_0x233d52){const _0x5055a6=_0xcb994e;if(!_0x2c6103[_0x5055a6(0xfa)]||!_0x2c6103[_0x5055a6(0x24f)])return _0x2c6103[_0x5055a6(0x204)]();if(_0x2c6103[_0x5e34f7])throw new Error(_0x5055a6(0x12f));if(this[_0x5055a6(0x138)]>_0x340b60)return _0x3014b4(_0x2c6103,0x1f7);const _0x19f345=[_0x5055a6(0x1b8),_0x5055a6(0xee),'Connection:\x20Upgrade',_0x5055a6(0xd9)+_0x2e93a3(_0x5055a6(0x1f2))[_0x5055a6(0x24e)](_0x20239c+_0x3c8e32)['digest']('base64')],_0x41ab54=new this[(_0x5055a6(0x195))][(_0x5055a6(0x18a))](null,void 0x0,this[_0x5055a6(0x195)]);if(_0x1380eb[_0x5055a6(0x26e)]){const _0x51917d=this[_0x5055a6(0x195)][_0x5055a6(0x149)]?this[_0x5055a6(0x195)][_0x5055a6(0x149)](_0x1380eb,_0x13a167):_0x1380eb[_0x5055a6(0x156)]()['next']()[_0x5055a6(0xdc)];_0x51917d&&(_0x19f345[_0x5055a6(0x10f)](_0x5055a6(0xea)+_0x51917d),_0x41ab54[_0x5055a6(0x10c)]=_0x51917d);}if(_0x43245d[_0x114e50[_0x5055a6(0x137)]]){const _0x5956ab=_0x43245d[_0x114e50['extensionName']][_0x5055a6(0x1fd)],_0x12766f=_0x2d2845['format']({[_0x114e50['extensionName']]:[_0x5956ab]});_0x19f345[_0x5055a6(0x10f)](_0x5055a6(0x120)+_0x12766f),_0x41ab54[_0x5055a6(0x224)]=_0x43245d;}this[_0x5055a6(0x118)](_0x5055a6(0x20b),_0x19f345,_0x13a167),_0x2c6103['write'](_0x19f345[_0x5055a6(0x20a)]('\x0d\x0a')[_0x5055a6(0x12b)]('\x0d\x0a')),_0x2c6103[_0x5055a6(0xd8)](_0x5055a6(0x189),_0x570572),_0x41ab54[_0x5055a6(0x176)](_0x2c6103,_0x17918c,{'allowSynchronousEvents':this[_0x5055a6(0x195)][_0x5055a6(0xf5)],'maxPayload':this['options'][_0x5055a6(0x165)],'skipUTF8Validation':this['options'][_0x5055a6(0x19d)]}),this[_0x5055a6(0x162)]&&(this[_0x5055a6(0x162)][_0x5055a6(0x202)](_0x41ab54),_0x41ab54['on'](_0x5055a6(0x18b),()=>{const _0x56ac68=_0x5055a6;this[_0x56ac68(0x162)]['delete'](_0x41ab54),this[_0x56ac68(0x150)]&&!this['clients']['size']&&process[_0x56ac68(0x1cc)](_0x238f23,this);})),_0x233d52(_0x41ab54,_0x13a167);}}Te=_0xaca651;function _0x44883c(_0x146263,_0x41ae53){const _0x4c9f83=_0xcb994e;for(const _0x4ab133 of Object[_0x4c9f83(0x142)](_0x41ae53))_0x146263['on'](_0x4ab133,_0x41ae53[_0x4ab133]);return function(){const _0x42b32a=_0x4c9f83;for(const _0x1545e9 of Object[_0x42b32a(0x142)](_0x41ae53))_0x146263[_0x42b32a(0xd8)](_0x1545e9,_0x41ae53[_0x1545e9]);};}function _0x238f23(_0x2bb96b){const _0x105356=_0xcb994e;_0x2bb96b['_state']=_0x5494a2,_0x2bb96b['emit'](_0x105356(0x18b));}function _0x570572(){const _0x1ba01a=_0xcb994e;this[_0x1ba01a(0x204)]();}function _0x3014b4(_0x1eea88,_0x462159,_0x30e414,_0x4db8da){const _0x3f095a=_0xcb994e;_0x30e414=_0x30e414||_0xae9bdf['STATUS_CODES'][_0x462159],_0x4db8da={'Connection':'close','Content-Type':_0x3f095a(0x1b2),'Content-Length':Buffer['byteLength'](_0x30e414),..._0x4db8da},_0x1eea88['once'](_0x3f095a(0xdf),_0x1eea88[_0x3f095a(0x204)]),_0x1eea88[_0x3f095a(0x166)]('HTTP/1.1\x20'+_0x462159+'\x20'+_0xae9bdf['STATUS_CODES'][_0x462159]+'\x0d\x0a'+Object[_0x3f095a(0x142)](_0x4db8da)[_0x3f095a(0x15f)](_0x421e96=>_0x421e96+':\x20'+_0x4db8da[_0x421e96])[_0x3f095a(0x12b)]('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0x30e414);}function _0x1c0680(_0x3b7f90,_0x29aea7,_0x7b71a5,_0x573cba,_0x59ae7b){const _0x1467b8=_0xcb994e;if(_0x3b7f90[_0x1467b8(0x16f)](_0x1467b8(0x1c0))){const _0x244d89=new Error(_0x59ae7b);Error[_0x1467b8(0xec)](_0x244d89,_0x1c0680),_0x3b7f90[_0x1467b8(0x118)]('wsClientError',_0x244d89,_0x7b71a5,_0x29aea7);}else _0x3014b4(_0x7b71a5,_0x573cba,_0x59ae7b);}return Te;}er();var tr=Object[_0x51581f(0x268)],rr=(_0x48cce0,_0x456c3d,_0x4b4502,_0x114c06)=>{const _0x127483=_0x51581f;for(var _0x4f7f86=_0x114c06>0x1?void 0x0:_0x114c06?tr(_0x456c3d,_0x4b4502):_0x456c3d,_0x5af034=_0x48cce0[_0x127483(0xed)]-0x1,_0x16cb58;_0x5af034>=0x0;_0x5af034--)(_0x16cb58=_0x48cce0[_0x5af034])&&(_0x4f7f86=_0x16cb58(_0x4f7f86)||_0x4f7f86);return _0x4f7f86;},sr=(_0x1b55e6,_0xe595e3)=>(_0x34c29a,_0x2ffbff)=>_0xe595e3(_0x34c29a,_0x2ffbff,_0x1b55e6);function _0x1d3f(_0x23a51e,_0x401671){const _0x36c1a0=_0x36c1();return _0x1d3f=function(_0x1d3f6c,_0xfefa05){_0x1d3f6c=_0x1d3f6c-0xc9;let _0x4e2414=_0x36c1a0[_0x1d3f6c];return _0x4e2414;},_0x1d3f(_0x23a51e,_0x401671);}let Ne=class extends _0x26886c{constructor(_0x385ec9){const _0x4dbc98=_0x51581f;super(),this[_0x4dbc98(0x25a)]=_0x385ec9;}[_0x51581f(0x260)](_0x19d1e6){const _0x1bb542=_0x51581f;var _0x58b6ee;const _0x48eec5=(_0x58b6ee=this['_configService'][_0x1bb542(0x212)](Be))==null?void 0x0:_0x58b6ee['customHeaders'];try{const _0x376fdc=new Qt(_0x19d1e6,{'headers':{..._0x48eec5}}),_0x866482=new _0x1c0c96();return{'URL':_0x19d1e6,'close':(_0x29fed4,_0xf7b5fe)=>{const _0xdf5fb8=_0x1bb542;_0x376fdc['close'](_0x29fed4,_0xf7b5fe),_0x866482[_0xdf5fb8(0x24c)]();},'send':_0x5daef3=>{const _0x27b74b=_0x1bb542;_0x376fdc[_0x27b74b(0xf8)](_0x5daef3);},'open$':new _0x54a72d(_0x1b1426=>{const _0x30126c=_0x1bb542,_0x1c8717=_0x2f6ab3=>_0x1b1426[_0x30126c(0x1ba)](_0x2f6ab3);_0x376fdc[_0x30126c(0x141)]('open',_0x1c8717),_0x866482['add'](_0xfd43a(()=>_0x376fdc['removeEventListener'](_0x30126c(0x1bf),_0x1c8717)));})['pipe'](_0xce64e1()),'close$':new _0x54a72d(_0x3d4a8f=>{const _0x3df57f=_0x1bb542,_0x48b241=_0x1348c9=>_0x3d4a8f[_0x3df57f(0x1ba)](_0x1348c9);_0x376fdc[_0x3df57f(0x141)](_0x3df57f(0x18b),_0x48b241),_0x866482[_0x3df57f(0x202)](_0xfd43a(()=>_0x376fdc[_0x3df57f(0x134)](_0x3df57f(0x18b),_0x48b241)));})[_0x1bb542(0x1a5)](_0xce64e1()),'error$':new _0x54a72d(_0x353978=>{const _0x110bd7=_0x1bb542,_0x2cb635=_0x143f16=>_0x353978[_0x110bd7(0x1ba)](_0x143f16);_0x376fdc[_0x110bd7(0x141)](_0x110bd7(0x189),_0x2cb635),_0x866482[_0x110bd7(0x202)](_0xfd43a(()=>_0x376fdc['removeEventListener'](_0x110bd7(0x189),_0x2cb635)));})[_0x1bb542(0x1a5)](_0xce64e1()),'message$':new _0x54a72d(_0x204ae5=>{const _0x1b2055=_0x1bb542,_0x495753=_0x572fad=>_0x204ae5[_0x1b2055(0x1ba)](_0x572fad);_0x376fdc[_0x1b2055(0x141)](_0x1b2055(0x254),_0x495753),_0x866482[_0x1b2055(0x202)](_0xfd43a(()=>_0x376fdc[_0x1b2055(0x134)](_0x1b2055(0x254),_0x495753)));})[_0x1bb542(0x1a5)](_0xce64e1())};}catch(_0x5b3534){return console['error'](_0x5b3534),null;}}};Ne=rr([sr(0x0,_0x495da5)],Ne);var ir=Object[_0x51581f(0x1d0)],nr=Object[_0x51581f(0x268)],or=(_0x3e0728,_0x4554b7,_0x3207ac)=>_0x4554b7 in _0x3e0728?ir(_0x3e0728,_0x4554b7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3207ac}):_0x3e0728[_0x4554b7]=_0x3207ac,ar=(_0x2a254e,_0x3ab447,_0x4c8df4,_0x5ec71c)=>{for(var _0x5364fb=_0x5ec71c>0x1?void 0x0:_0x5ec71c?nr(_0x3ab447,_0x4c8df4):_0x3ab447,_0x26a4b4=_0x2a254e['length']-0x1,_0x19075d;_0x26a4b4>=0x0;_0x26a4b4--)(_0x19075d=_0x2a254e[_0x26a4b4])&&(_0x5364fb=_0x19075d(_0x5364fb)||_0x5364fb);return _0x5364fb;},ke=(_0x51a2ab,_0x13ea19)=>(_0x562762,_0x20bef7)=>_0x13ea19(_0x562762,_0x20bef7,_0x51a2ab),lr=(_0x4bf6a6,_0xab7c25,_0x47a363)=>or(_0x4bf6a6,_0xab7c25+'',_0x47a363);let Pe=class extends _0x2c16f9{constructor(_0x5f5d21=Ft,_0x3bd6fd,_0x28558b,_0xa30c82){const _0x584ba0=_0x51581f;_0x5f5d21[_0x584ba0(0x19f)]||_0x3bd6fd[_0x584ba0(0x232)]('[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.'),super(),this[_0x584ba0(0x25a)]=_0x28558b,this[_0x584ba0(0x23b)]=_0xa30c82,this[_0x584ba0(0x25a)]['setConfig'](Be,_0x5f5d21);}[_0x51581f(0x1dc)](){const _0x268ada=_0x51581f;this[_0x268ada(0x1ee)]();}['_registerDependencies'](){const _0x53fcea=_0x51581f;_0x4eec3e(this[_0x53fcea(0x23b)],[[_0x29548e,{'useClass':Ne}]]);}};lr(Pe,_0x51581f(0xcd),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),Pe=ar([_0x17d16b(_0x465884),ke(0x1,_0x289b26),ke(0x2,_0x495da5),ke(0x3,_0x162533(_0x190e77))],Pe);var fr=Object[_0x51581f(0x268)],cr=(_0x38bde8,_0x11f526,_0x1bdd4b,_0x5386ab)=>{const _0x4c8b06=_0x51581f;for(var _0x2f7ec7=_0x5386ab>0x1?void 0x0:_0x5386ab?fr(_0x11f526,_0x1bdd4b):_0x11f526,_0x38dd21=_0x38bde8[_0x4c8b06(0xed)]-0x1,_0x542ec4;_0x38dd21>=0x0;_0x38dd21--)(_0x542ec4=_0x38bde8[_0x38dd21])&&(_0x2f7ec7=_0x542ec4(_0x2f7ec7)||_0x2f7ec7);return _0x2f7ec7;},se=(_0x2cbdce,_0x3d9415)=>(_0x315939,_0x2d7af4)=>_0x3d9415(_0x315939,_0x2d7af4,_0x2cbdce);let at=class extends _0x5104d6{constructor(_0x24b82d,_0x59a603,_0x52213c,_0x347151,_0x522d91){const _0x21273c=_0x51581f;super(_0x24b82d,_0x59a603,_0x52213c,_0x347151,_0x522d91);const _0x412d3a=this[_0x21273c(0x25a)][_0x21273c(0x212)](Be);this[_0x21273c(0x226)][_0x21273c(0x191)]({'interceptor':(_0x1280d7,_0x5ec902)=>{const _0x3be569=_0x21273c;var _0x11ef78;const _0x2923d4=_0x1280d7[_0x3be569(0x20b)];return(_0x11ef78=_0x412d3a==null?void 0x0:_0x412d3a[_0x3be569(0x19f)])!=null&&_0x11ef78[_0x3be569(0x10a)]&&_0x2923d4['set']('Cookie',_0x412d3a[_0x3be569(0x19f)]['cookie']),_0x5ec902(_0x1280d7);}});}async[_0x51581f(0x260)](_0x5dae82){const _0x133ff1=_0x51581f;return this[_0x133ff1(0x1a7)](_0x5dae82);}};at=cr([se(0x0,_0x162533(_0x190e77)),se(0x1,_0x162533(_0x3db4fc)),se(0x2,_0x495da5),se(0x3,_0x289b26),se(0x4,_0x77d7ee)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
|