@univerjs-pro/collaboration-client-node 0.9.1-nightly.202507051607 → 0.9.1-nightly.202507071607
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 +6 -6
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x56fa89=_0x3c64;(function(_0x4e9a24,_0x16c768){const _0x38776d=_0x3c64,_0x3d40e4=_0x4e9a24();while(!![]){try{const _0x44ea27=parseInt(_0x38776d(0x100))/0x1+parseInt(_0x38776d(0xfa))/0x2+parseInt(_0x38776d(0x99))/0x3+parseInt(_0x38776d(0x13c))/0x4+parseInt(_0x38776d(0x1f4))/0x5+parseInt(_0x38776d(0xc3))/0x6*(parseInt(_0x38776d(0xc2))/0x7)+parseInt(_0x38776d(0xa9))/0x8*(-parseInt(_0x38776d(0x1d8))/0x9);if(_0x44ea27===_0x16c768)break;else _0x3d40e4['push'](_0x3d40e4['shift']());}catch(_0x562eb8){_0x3d40e4['push'](_0x3d40e4['shift']());}}}(_0xc356,0xeb2c6));import{UniverCollaborationClientPlugin as _0x5802fe,CollaborationSocketService as _0x441541}from'@univerjs-pro/collaboration-client';import{Disposable as _0x445d2d,DisposableCollection as _0x4d108c,toDisposable as _0x44cecc,IConfigService as _0x4508e4,DependentOn as _0x15ab13,ILogService as _0x5aa1a5,Inject as _0x14b929,Injector as _0x17d5dd,Plugin as _0x391e72,registerDependencies as _0x5c7608}from'@univerjs/core';import{ISocketService as _0x321942,HTTPService as _0x31b30a}from'@univerjs/network';import{Observable as _0x5d15d1,share as _0x3a9b3e}from'rxjs';import _0x7fa1df from'events';import _0x167805 from'https';import _0x18e58e from'http';import _0x36dbfe from'net';import _0x11288f from'tls';import _0x4b0b4b from'crypto';import _0xeca166 from'stream';import _0xc424 from'url';import _0x4ddb03 from'zlib';import _0x11350d from'buffer';import{ISnapshotServerService as _0x269f9d}from'@univerjs-pro/collaboration';const Be=_0x56fa89(0x10f),Ft={'customHeaders':{}};function jt(_0x5e084a){const _0x2ec46d=_0x56fa89;return _0x5e084a&&_0x5e084a[_0x2ec46d(0x20d)]&&Object['prototype'][_0x2ec46d(0xb5)][_0x2ec46d(0x1b0)](_0x5e084a,'default')?_0x5e084a['default']:_0x5e084a;}function _0xc356(){const _0x34d972=['generateMask','isValidUTF8','\x22:\x20','_socket','env','_options','Unexpected\x20server\x20response:\x20','then','protocol','MASK\x20must\x20be\x20set','collaboration-client-node.config','listenerCount','_buffers','kRun','CLOSED','ping','socket','skipUTF8Validation','The\x20server\x20is\x20not\x20running','headers','server_no_context_takeover','arraybuffer','Connection:\x20Upgrade','\x20(supported\x20versions:\x20','close','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','_isServer','endEmitted','getPayloadLength64','dispose','getData','Maximum\x20redirects\x20exceeded','pending','digest','enqueue','invalid\x20status\x20code\x20','addEventListener','clientTracking','kData','buffer','origin','getConfig','sec-websocket-accept','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','invalid\x20payload\x20length\x20','Module','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','protocolVersion','function','wss:','_closeCode','path','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','setSocket','_queue','579280LhARuo','upgrade','writeHead','_redirects','verifyClient','kDone','needDrain','_maskBuffer','Invalid\x20Sec-WebSocket-Extensions\x20header','_req','WS_ERR_UNEXPECTED_MASK','_destroy','wsClientError','maxPayload','WS_ERR_UNEXPECTED_RSV_1','unmask','listen','sha1','The\x20URL\x20contains\x20a\x20fragment\x20identifier','params','_doCreateSocket','WS_ERR_INVALID_UTF8','parse','_originalIpc','open','sendFrame','pong','freeze','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','compress','blob','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','createError','WS_ERR_EXPECTED_FIN','hash','shift','writeUInt16BE','allowSynchronousEvents','bind','kAborted','MASK\x20must\x20be\x20clear','onerror','HTTP/1.1\x20101\x20Switching\x20Protocols','createConnection','port','extensionName','string','cookie','onopen','_compressed','_originalSecure','pause','server_max_window_bits','sec-websocket-key','ws+unix:','client','flush','zlibInflateOptions','Invalid\x20value\x20for\x20parameter\x20\x22','_server','handleProtocols','noServer','delete','finish','next','isBuffer','update','concurrency','_extensions','servername','Server\x20sent\x20no\x20subprotocol','species','STATUS_CODES','request','WS_ERR_INVALID_OPCODE','warn','has','auth','_removeListeners','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','connect','invalid\x20UTF-8\x20sequence','url','createServer','consume','_no_context_takeover','clients','readUInt32BE','_bufferedAmount','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','frame','create','_httpService','isInteger','listeners','alloc','dequeue','_registerDependencies','push','getMask','\x22\x20must\x20have\x20only\x20a\x20single\x20value','Z_DEFAULT_WINDOWBITS','server','_messageLength','charCodeAt','Invalid\x20Upgrade\x20header','_autoPong','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','split','autoPong','readyState','setTimeout','_totalPayloadLength','constructor','emit','handshakeTimeout','call','FIN\x20must\x20be\x20set','Unexpected\x20end\x20of\x20input','defineProperty','sec-websocket-version','handleUpgrade','add','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','method','object','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','address','connection','catch','_opcode','authorized','defaultPort','map','indexOf','dispatch','getInfo','invalid\x20opcode\x20','opcode','pipe','getBlobData','normalizeParams','_closeFrameSent','pluginName','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','Sec-WebSocket-Origin','concat','removeEventListener','Sec-WebSocket-Extensions:\x20','wasClean','once','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','customHeaders','zlibDeflateOptions','startsWith','1530mZqZYD','_paused','end','perMessageDeflate','test','slice','_fragments','text/html','Invalid\x20Sec-WebSocket-Protocol\x20header','rsv1','captureStackTrace','_bufferedBytes','WS_NO_BUFFER_UTIL','WebSocket','The\x20URL\x27s\x20pathname\x20is\x20empty','kTarget','kReason','readUInt16BE','removeAllListeners','kMessage','Unsupported\x20protocol\x20version:\x20','Max\x20payload\x20size\x20exceeded','_readyState','hostname','_max_window_bits','_protocol','dataMessage','default','5040715CExkSP','_payloadLength','_compress','_closeTimer','_fin','backlog','_errored','byteOffset','Cookie','_inflate','followRedirects','_originalHostOrSocketPath','_write','find','_allowSynchronousEvents','toLowerCase','_decompress','clientMaxWindowBits','errorEmitted','fin','serverNoContextTakeover','data','maskBuffer','readOnly','forEach','__esModule','_binaryType','construct','_read','isArray','getPayloadLength16','createSocket','jobs','arrayBuffer','buffers','from','join','ws:','registerHTTPInterceptor','removeListener','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','_writableState','number','Sec-WebSocket-Protocol','WS_ERR_UNEXPECTED_RSV_2_3','websocket','apply','_loop','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','sec-websocket-extensions','isPaused','binary','byteLength','terminate','Invalid\x20WebSocket\x20frame:\x20','RSV1\x20must\x20be\x20clear','statusCode','drain','controlMessage','destroy','_threshold','maxRedirects','invalid\x20opcode\x200','CONNECTING','_errorEmitted','reason','WS_ERR_INVALID_CLOSE_CODE','keys','https:','code','message','The\x20\x22','destroyed','send','mask','_mask','timeout','password','getOwnPropertyDescriptor','authorization','finishRequest','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','File','_sender','_receiver','socketPath','3831570QqJoSj','length','replace','OPEN','extensions','type','nextTick','prototype','Sec-WebSocket-Extensions','base64','text/plain','reset','_firstFragment','exports','_closeFrameReceived','client_no_context_takeover','157736EOrXcq','values','completeUpgrade','\x22\x20subprotocol\x20is\x20duplicated','kByteLength','_closeMessage','_fragmented','sec-websocket-origin','redirect','finished','Upgrade','target','hasOwnProperty','kError','set','_url','username','_maxPayload','clientNoContextTakeover','entries','value','serverMaxWindowBits','includes','cleanup','haveLength','21occPZh','1577130zYPSHS','setHeader','setConfig','format','search','pow','setNoDelay','_readableState','kListener','listening','Invalid\x20HTTP\x20method','allocUnsafe','abort','GET','size','offer','_deflate','shouldHandle','HTTP/1.1\x20','accept','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','acceptAsClient','_skipUTF8Validation','concurrencyLimit','toString','binaryType','pathname','onStarting','status-code','CLOSING','permessage-deflate','onmessage','nodebuffer','threshold','options','unshift','startLoop','_configService','error','_shouldEmitClose','_masked','Invalid\x20URL:\x20','Unexpected\x20character\x20at\x20index\x20','Server\x20sent\x20an\x20invalid\x20subprotocol','uncork','client_max_window_bits','Origin','_state','conclude','emitClose','http:','writeUIntBE','toStringTag','handleEvent','_generateMask','362340kunPzt','write','resume','WS_ERR_EXPECTED_MASK','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','915272tFDImV','decompress','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','host','bufferedAmount'];_0xc356=function(){return _0x34d972;};return _0xc356();}function ut(_0x5a0c1b){const _0x367d61=_0x56fa89;if(Object[_0x367d61(0xa0)]['hasOwnProperty'][_0x367d61(0x1b0)](_0x5a0c1b,_0x367d61(0x20d)))return _0x5a0c1b;var _0x23028d=_0x5a0c1b[_0x367d61(0x1f3)];if(typeof _0x23028d==_0x367d61(0x135)){var _0xa24a8c=function _0x2614ba(){const _0x3be648=_0x367d61;return this instanceof _0x2614ba?Reflect[_0x3be648(0x20f)](_0x23028d,arguments,this[_0x3be648(0x1ad)]):_0x23028d[_0x3be648(0x222)](this,arguments);};_0xa24a8c['prototype']=_0x23028d['prototype'];}else _0xa24a8c={};return Object[_0x367d61(0x1b3)](_0xa24a8c,_0x367d61(0x20d),{'value':!0x0}),Object[_0x367d61(0x86)](_0x5a0c1b)[_0x367d61(0x20c)](function(_0x483c48){const _0x294588=_0x367d61;var _0x13d143=Object[_0x294588(0x91)](_0x5a0c1b,_0x483c48);Object[_0x294588(0x1b3)](_0xa24a8c,_0x483c48,_0x13d143['get']?_0x13d143:{'enumerable':!0x0,'get':function(){return _0x5a0c1b[_0x483c48];}});}),_0xa24a8c;}var te={'exports':{}},ge,Ye;function V(){const _0x3f484d=_0x56fa89;if(Ye)return ge;Ye=0x1;const _0x486274=[_0x3f484d(0xe3),'arraybuffer','fragments'],_0x567215=typeof Blob<'u';return _0x567215&&_0x486274[_0x3f484d(0x19e)]('blob'),ge={'BINARY_TYPES':_0x486274,'EMPTY_BUFFER':Buffer[_0x3f484d(0x19b)](0x0),'GUID':_0x3f484d(0x130),'hasBlob':_0x567215,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol(_0x3f484d(0xcb)),'kStatusCode':Symbol(_0x3f484d(0xdf)),'kWebSocket':Symbol('websocket'),'NOOP':()=>{}},ge;}const Wt={},Gt=Object[_0x56fa89(0x157)](Object[_0x56fa89(0x1b3)]({'__proto__':null,'default':Wt},Symbol[_0x56fa89(0xf7)],{'value':_0x56fa89(0x132)})),Vt=ut(Gt);var Ke;function ce(){const _0x5033ba=_0x56fa89;if(Ke)return te[_0x5033ba(0xa6)];Ke=0x1;const {EMPTY_BUFFER:_0x326d72}=V(),_0x5264db=Buffer[Symbol[_0x5033ba(0x183)]];function _0x565167(_0x15619b,_0x3824cf){const _0x59d281=_0x5033ba;if(_0x15619b[_0x59d281(0x9a)]===0x0)return _0x326d72;if(_0x15619b['length']===0x1)return _0x15619b[0x0];const _0x1e28a1=Buffer[_0x59d281(0xce)](_0x3824cf);let _0x3fb087=0x0;for(let _0x29cb34=0x0;_0x29cb34<_0x15619b[_0x59d281(0x9a)];_0x29cb34++){const _0x5474fe=_0x15619b[_0x29cb34];_0x1e28a1['set'](_0x5474fe,_0x3fb087),_0x3fb087+=_0x5474fe[_0x59d281(0x9a)];}return _0x3fb087<_0x3824cf?new _0x5264db(_0x1e28a1['buffer'],_0x1e28a1[_0x59d281(0x1fb)],_0x3fb087):_0x1e28a1;}function _0x1b68e9(_0x4a6b90,_0x3cfeae,_0x4af147,_0x5d8a2e,_0x4c5a01){for(let _0x47da4f=0x0;_0x47da4f<_0x4c5a01;_0x47da4f++)_0x4af147[_0x5d8a2e+_0x47da4f]=_0x4a6b90[_0x47da4f]^_0x3cfeae[_0x47da4f&0x3];}function _0x480bb3(_0x25757f,_0x4c48d3){const _0x3ecc97=_0x5033ba;for(let _0x57b10d=0x0;_0x57b10d<_0x25757f[_0x3ecc97(0x9a)];_0x57b10d++)_0x25757f[_0x57b10d]^=_0x4c48d3[_0x57b10d&0x3];}function _0x2ee9dc(_0x3a3720){const _0x87f060=_0x5033ba;return _0x3a3720[_0x87f060(0x9a)]===_0x3a3720[_0x87f060(0x12c)][_0x87f060(0x77)]?_0x3a3720[_0x87f060(0x12c)]:_0x3a3720['buffer'][_0x87f060(0x1dd)](_0x3a3720['byteOffset'],_0x3a3720[_0x87f060(0x1fb)]+_0x3a3720[_0x87f060(0x9a)]);}function _0x54eda6(_0x3cc74a){const _0x3bc1c3=_0x5033ba;if(_0x54eda6[_0x3bc1c3(0x20b)]=!0x0,Buffer[_0x3bc1c3(0x17d)](_0x3cc74a))return _0x3cc74a;let _0x224737;return _0x3cc74a instanceof ArrayBuffer?_0x224737=new _0x5264db(_0x3cc74a):ArrayBuffer['isView'](_0x3cc74a)?_0x224737=new _0x5264db(_0x3cc74a[_0x3bc1c3(0x12c)],_0x3cc74a[_0x3bc1c3(0x1fb)],_0x3cc74a['byteLength']):(_0x224737=Buffer['from'](_0x3cc74a),_0x54eda6[_0x3bc1c3(0x20b)]=!0x1),_0x224737;}if(te[_0x5033ba(0xa6)]={'concat':_0x565167,'mask':_0x1b68e9,'toArrayBuffer':_0x2ee9dc,'toBuffer':_0x54eda6,'unmask':_0x480bb3},!process[_0x5033ba(0x109)][_0x5033ba(0x1e4)])try{const _0x29b9a4=Vt;te[_0x5033ba(0xa6)][_0x5033ba(0x8d)]=function(_0x222ffa,_0x19ae3c,_0x8094e0,_0x170d4c,_0x449dca){_0x449dca<0x30?_0x1b68e9(_0x222ffa,_0x19ae3c,_0x8094e0,_0x170d4c,_0x449dca):_0x29b9a4['mask'](_0x222ffa,_0x19ae3c,_0x8094e0,_0x170d4c,_0x449dca);},te[_0x5033ba(0xa6)][_0x5033ba(0x14b)]=function(_0x2e3b4f,_0x284f0c){const _0x4b4eaa=_0x5033ba;_0x2e3b4f[_0x4b4eaa(0x9a)]<0x20?_0x480bb3(_0x2e3b4f,_0x284f0c):_0x29b9a4['unmask'](_0x2e3b4f,_0x284f0c);};}catch{}return te[_0x5033ba(0xa6)];}var ye,Xe;function qt(){const _0x353668=_0x56fa89;if(Xe)return ye;Xe=0x1;const _0xb2b6e4=Symbol(_0x353668(0x141)),_0x4e25be=Symbol(_0x353668(0x112));class _0x5cbc15{constructor(_0x24261d){const _0x5c792f=_0x353668;this[_0xb2b6e4]=()=>{const _0x2e8957=_0x3c64;this[_0x2e8957(0x125)]--,this[_0x4e25be]();},this[_0x5c792f(0x17f)]=_0x24261d||0x1/0x0,this[_0x5c792f(0x214)]=[],this[_0x5c792f(0x125)]=0x0;}[_0x353668(0x1b6)](_0x5c72f0){const _0x3730de=_0x353668;this[_0x3730de(0x214)][_0x3730de(0x19e)](_0x5c72f0),this[_0x4e25be]();}[_0x4e25be](){const _0x4012c9=_0x353668;if(this[_0x4012c9(0x125)]!==this[_0x4012c9(0x17f)]&&this[_0x4012c9(0x214)]['length']){const _0x279325=this[_0x4012c9(0x214)][_0x4012c9(0x15f)]();this[_0x4012c9(0x125)]++,_0x279325(this[_0xb2b6e4]);}}}return ye=_0x5cbc15,ye;}function _0x3c64(_0x4060c2,_0x13c797){const _0xc35649=_0xc356();return _0x3c64=function(_0x3c64ee,_0x50b3ae){_0x3c64ee=_0x3c64ee-0x77;let _0x4ad425=_0xc35649[_0x3c64ee];return _0x4ad425;},_0x3c64(_0x4060c2,_0x13c797);}var ve,Ze;function he(){const _0x2fb39e=_0x56fa89;if(Ze)return ve;Ze=0x1;const _0x26f2a2=_0x4ddb03,_0x554ae1=ce(),_0x206d10=qt(),{kStatusCode:_0x3f30e4}=V(),_0x3880e3=Buffer[Symbol[_0x2fb39e(0x183)]],_0x4f0104=Buffer[_0x2fb39e(0x217)]([0x0,0x0,0xff,0xff]),_0x1170af=Symbol('permessage-deflate'),_0x481f66=Symbol('total-length'),_0x15d393=Symbol('callback'),_0x1044c1=Symbol(_0x2fb39e(0x216)),_0x4f5254=Symbol(_0x2fb39e(0xe9));let _0x336058;class _0x2adc70{constructor(_0x2a5e8a,_0x19b448,_0x40f21a){const _0x3ad9e9=_0x2fb39e;if(this[_0x3ad9e9(0xba)]=_0x40f21a|0x0,this[_0x3ad9e9(0x10a)]=_0x2a5e8a||{},this[_0x3ad9e9(0x7f)]=this[_0x3ad9e9(0x10a)][_0x3ad9e9(0xe4)]!==void 0x0?this[_0x3ad9e9(0x10a)]['threshold']:0x400,this[_0x3ad9e9(0x11f)]=!!_0x19b448,this[_0x3ad9e9(0xd3)]=null,this[_0x3ad9e9(0x1fd)]=null,this[_0x3ad9e9(0x14f)]=null,!_0x336058){const _0x848024=this[_0x3ad9e9(0x10a)][_0x3ad9e9(0xda)]!==void 0x0?this[_0x3ad9e9(0x10a)][_0x3ad9e9(0xda)]:0xa;_0x336058=new _0x206d10(_0x848024);}}static get[_0x2fb39e(0x169)](){const _0xbabcc7=_0x2fb39e;return _0xbabcc7(0xe1);}['offer'](){const _0x383b10=_0x2fb39e,_0xd45aa={};return this[_0x383b10(0x10a)][_0x383b10(0x208)]&&(_0xd45aa['server_no_context_takeover']=!0x0),this[_0x383b10(0x10a)][_0x383b10(0xbb)]&&(_0xd45aa[_0x383b10(0xa8)]=!0x0),this[_0x383b10(0x10a)][_0x383b10(0xbe)]&&(_0xd45aa[_0x383b10(0x170)]=this[_0x383b10(0x10a)]['serverMaxWindowBits']),this[_0x383b10(0x10a)][_0x383b10(0x205)]?_0xd45aa[_0x383b10(0xf0)]=this[_0x383b10(0x10a)][_0x383b10(0x205)]:this['_options'][_0x383b10(0x205)]==null&&(_0xd45aa[_0x383b10(0xf0)]=!0x0),_0xd45aa;}['accept'](_0x24b7f1){const _0x3db87f=_0x2fb39e;return _0x24b7f1=this[_0x3db87f(0x1ca)](_0x24b7f1),this[_0x3db87f(0x14f)]=this[_0x3db87f(0x11f)]?this['acceptAsServer'](_0x24b7f1):this[_0x3db87f(0xd8)](_0x24b7f1),this['params'];}[_0x2fb39e(0xc0)](){const _0x4f809a=_0x2fb39e;if(this['_inflate']&&(this[_0x4f809a(0x1fd)][_0x4f809a(0x11d)](),this['_inflate']=null),this['_deflate']){const _0x1c9c45=this[_0x4f809a(0xd3)][_0x15d393];this[_0x4f809a(0xd3)][_0x4f809a(0x11d)](),this[_0x4f809a(0xd3)]=null,_0x1c9c45&&_0x1c9c45(new Error(_0x4f809a(0x1b8)));}}['acceptAsServer'](_0x5dfdf5){const _0x2940a1=_0x2fb39e,_0x122382=this[_0x2940a1(0x10a)],_0x8a7415=_0x5dfdf5[_0x2940a1(0x201)](_0x527fea=>!(_0x122382[_0x2940a1(0x208)]===!0x1&&_0x527fea['server_no_context_takeover']||_0x527fea[_0x2940a1(0x170)]&&(_0x122382[_0x2940a1(0xbe)]===!0x1||typeof _0x122382[_0x2940a1(0xbe)]=='number'&&_0x122382[_0x2940a1(0xbe)]>_0x527fea[_0x2940a1(0x170)])||typeof _0x122382[_0x2940a1(0x205)]==_0x2940a1(0x21e)&&!_0x527fea[_0x2940a1(0xf0)]));if(!_0x8a7415)throw new Error(_0x2940a1(0x18b));return _0x122382[_0x2940a1(0x208)]&&(_0x8a7415['server_no_context_takeover']=!0x0),_0x122382[_0x2940a1(0xbb)]&&(_0x8a7415[_0x2940a1(0xa8)]=!0x0),typeof _0x122382[_0x2940a1(0xbe)]==_0x2940a1(0x21e)&&(_0x8a7415[_0x2940a1(0x170)]=_0x122382[_0x2940a1(0xbe)]),typeof _0x122382[_0x2940a1(0x205)]=='number'?_0x8a7415['client_max_window_bits']=_0x122382['clientMaxWindowBits']:(_0x8a7415['client_max_window_bits']===!0x0||_0x122382[_0x2940a1(0x205)]===!0x1)&&delete _0x8a7415[_0x2940a1(0xf0)],_0x8a7415;}['acceptAsClient'](_0x4febe4){const _0x42a92b=_0x2fb39e,_0x1efdb2=_0x4febe4[0x0];if(this[_0x42a92b(0x10a)]['clientNoContextTakeover']===!0x1&&_0x1efdb2[_0x42a92b(0xa8)])throw new Error('Unexpected\x20parameter\x20\x22client_no_context_takeover\x22');if(!_0x1efdb2[_0x42a92b(0xf0)])typeof this[_0x42a92b(0x10a)][_0x42a92b(0x205)]==_0x42a92b(0x21e)&&(_0x1efdb2[_0x42a92b(0xf0)]=this[_0x42a92b(0x10a)][_0x42a92b(0x205)]);else{if(this[_0x42a92b(0x10a)]['clientMaxWindowBits']===!0x1||typeof this[_0x42a92b(0x10a)][_0x42a92b(0x205)]==_0x42a92b(0x21e)&&_0x1efdb2[_0x42a92b(0xf0)]>this[_0x42a92b(0x10a)][_0x42a92b(0x205)])throw new Error(_0x42a92b(0x94));}return _0x1efdb2;}['normalizeParams'](_0x38a0be){return _0x38a0be['forEach'](_0x40aeb1=>{const _0x376cd7=_0x3c64;Object[_0x376cd7(0x86)](_0x40aeb1)[_0x376cd7(0x20c)](_0x322e88=>{const _0x209961=_0x376cd7;let _0x3051f3=_0x40aeb1[_0x322e88];if(_0x3051f3['length']>0x1)throw new Error('Parameter\x20\x22'+_0x322e88+_0x209961(0x1a0));if(_0x3051f3=_0x3051f3[0x0],_0x322e88===_0x209961(0xf0)){if(_0x3051f3!==!0x0){const _0xe2241e=+_0x3051f3;if(!Number['isInteger'](_0xe2241e)||_0xe2241e<0x8||_0xe2241e>0xf)throw new TypeError(_0x209961(0x176)+_0x322e88+_0x209961(0x107)+_0x3051f3);_0x3051f3=_0xe2241e;}else{if(!this[_0x209961(0x11f)])throw new TypeError(_0x209961(0x176)+_0x322e88+'\x22:\x20'+_0x3051f3);}}else{if(_0x322e88===_0x209961(0x170)){const _0x341181=+_0x3051f3;if(!Number[_0x209961(0x199)](_0x341181)||_0x341181<0x8||_0x341181>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x322e88+_0x209961(0x107)+_0x3051f3);_0x3051f3=_0x341181;}else{if(_0x322e88===_0x209961(0xa8)||_0x322e88===_0x209961(0x119)){if(_0x3051f3!==!0x0)throw new TypeError(_0x209961(0x176)+_0x322e88+_0x209961(0x107)+_0x3051f3);}else throw new Error('Unknown\x20parameter\x20\x22'+_0x322e88+'\x22');}}_0x40aeb1[_0x322e88]=_0x3051f3;});}),_0x38a0be;}['decompress'](_0x2793df,_0x3b8053,_0x5391fb){const _0x413859=_0x2fb39e;_0x336058[_0x413859(0x1b6)](_0x365d44=>{const _0x44f8c9=_0x413859;this[_0x44f8c9(0x204)](_0x2793df,_0x3b8053,(_0x2cf35f,_0x287ad0)=>{_0x365d44(),_0x5391fb(_0x2cf35f,_0x287ad0);});});}[_0x2fb39e(0x159)](_0x3f1104,_0x369085,_0x2fde44){const _0x519b04=_0x2fb39e;_0x336058[_0x519b04(0x1b6)](_0x443d47=>{const _0x530735=_0x519b04;this[_0x530735(0x1f6)](_0x3f1104,_0x369085,(_0xd111a1,_0x4c264a)=>{_0x443d47(),_0x2fde44(_0xd111a1,_0x4c264a);});});}[_0x2fb39e(0x204)](_0x1cc1ce,_0x9bf17b,_0x1e9cea){const _0x27998a=_0x2fb39e,_0x58992f=this[_0x27998a(0x11f)]?_0x27998a(0x173):_0x27998a(0x1a2);if(!this[_0x27998a(0x1fd)]){const _0x35ca73=_0x58992f+_0x27998a(0x1f0),_0xffd227=typeof this[_0x27998a(0x14f)][_0x35ca73]!='number'?_0x26f2a2[_0x27998a(0x1a1)]:this['params'][_0x35ca73];this[_0x27998a(0x1fd)]=_0x26f2a2['createInflateRaw']({...this[_0x27998a(0x10a)][_0x27998a(0x175)],'windowBits':_0xffd227}),this[_0x27998a(0x1fd)][_0x1170af]=this,this[_0x27998a(0x1fd)][_0x481f66]=0x0,this[_0x27998a(0x1fd)][_0x1044c1]=[],this[_0x27998a(0x1fd)]['on'](_0x27998a(0xe9),_0x55ded5),this['_inflate']['on'](_0x27998a(0x209),_0x1cbc37);}this['_inflate'][_0x15d393]=_0x1e9cea,this[_0x27998a(0x1fd)][_0x27998a(0xfb)](_0x1cc1ce),_0x9bf17b&&this[_0x27998a(0x1fd)]['write'](_0x4f0104),this[_0x27998a(0x1fd)][_0x27998a(0x174)](()=>{const _0x5b75c2=_0x27998a,_0x43a7f6=this[_0x5b75c2(0x1fd)][_0x4f5254];if(_0x43a7f6){this['_inflate']['close'](),this[_0x5b75c2(0x1fd)]=null,_0x1e9cea(_0x43a7f6);return;}const _0x39562b=_0x554ae1[_0x5b75c2(0x1cf)](this[_0x5b75c2(0x1fd)][_0x1044c1],this['_inflate'][_0x481f66]);this[_0x5b75c2(0x1fd)]['_readableState']['endEmitted']?(this['_inflate'][_0x5b75c2(0x11d)](),this[_0x5b75c2(0x1fd)]=null):(this[_0x5b75c2(0x1fd)][_0x481f66]=0x0,this[_0x5b75c2(0x1fd)][_0x1044c1]=[],_0x9bf17b&&this[_0x5b75c2(0x14f)][_0x58992f+_0x5b75c2(0x191)]&&this[_0x5b75c2(0x1fd)][_0x5b75c2(0xa4)]()),_0x1e9cea(null,_0x39562b);});}[_0x2fb39e(0x1f6)](_0x7a94cf,_0x526534,_0x3de73f){const _0x980c95=_0x2fb39e,_0x3bb728=this[_0x980c95(0x11f)]?_0x980c95(0x1a2):_0x980c95(0x173);if(!this['_deflate']){const _0xa08257=_0x3bb728+_0x980c95(0x1f0),_0x4c8536=typeof this['params'][_0xa08257]!='number'?_0x26f2a2['Z_DEFAULT_WINDOWBITS']:this['params'][_0xa08257];this['_deflate']=_0x26f2a2['createDeflateRaw']({...this['_options'][_0x980c95(0x1d6)],'windowBits':_0x4c8536}),this[_0x980c95(0xd3)][_0x481f66]=0x0,this[_0x980c95(0xd3)][_0x1044c1]=[],this[_0x980c95(0xd3)]['on']('data',_0x584678);}this[_0x980c95(0xd3)][_0x15d393]=_0x3de73f,this['_deflate'][_0x980c95(0xfb)](_0x7a94cf),this[_0x980c95(0xd3)]['flush'](_0x26f2a2['Z_SYNC_FLUSH'],()=>{const _0x1df3a2=_0x980c95;if(!this['_deflate'])return;let _0x40cfc7=_0x554ae1['concat'](this[_0x1df3a2(0xd3)][_0x1044c1],this[_0x1df3a2(0xd3)][_0x481f66]);_0x526534&&(_0x40cfc7=new _0x3880e3(_0x40cfc7['buffer'],_0x40cfc7[_0x1df3a2(0x1fb)],_0x40cfc7[_0x1df3a2(0x9a)]-0x4)),this[_0x1df3a2(0xd3)][_0x15d393]=null,this[_0x1df3a2(0xd3)][_0x481f66]=0x0,this[_0x1df3a2(0xd3)][_0x1044c1]=[],_0x526534&&this[_0x1df3a2(0x14f)][_0x3bb728+_0x1df3a2(0x191)]&&this['_deflate'][_0x1df3a2(0xa4)](),_0x3de73f(null,_0x40cfc7);});}}ve=_0x2adc70;function _0x584678(_0x51b88a){const _0x37ea09=_0x2fb39e;this[_0x1044c1][_0x37ea09(0x19e)](_0x51b88a),this[_0x481f66]+=_0x51b88a[_0x37ea09(0x9a)];}function _0x1cbc37(_0x3f374b){const _0x549315=_0x2fb39e;if(this[_0x481f66]+=_0x3f374b[_0x549315(0x9a)],this[_0x1170af][_0x549315(0xba)]<0x1||this[_0x481f66]<=this[_0x1170af][_0x549315(0xba)]){this[_0x1044c1][_0x549315(0x19e)](_0x3f374b);return;}this[_0x4f5254]=new RangeError(_0x549315(0x1ed)),this[_0x4f5254]['code']=_0x549315(0x1a7),this[_0x4f5254][_0x3f30e4]=0x3f1,this[_0x549315(0x21b)](_0x549315(0x209),_0x1cbc37),this[_0x549315(0xa4)]();}function _0x55ded5(_0x2dffff){if(this[_0x1170af]['_inflate']=null,this[_0x4f5254]){this[_0x15d393](this[_0x4f5254]);return;}_0x2dffff[_0x3f30e4]=0x3ef,this[_0x15d393](_0x2dffff);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x56fa89(0x157)](Object['defineProperty']({'__proto__':null,'default':Ht},Symbol['toStringTag'],{'value':'Module'})),Yt=ut(zt);var Qe;function ne(){const _0x11908b=_0x56fa89;if(Qe)return re[_0x11908b(0xa6)];Qe=0x1;const {isUtf8:_0x182b5e}=_0x11350d,{hasBlob:_0x171421}=V(),_0x571c77=[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 _0x56057e(_0x5a4acb){return _0x5a4acb>=0x3e8&&_0x5a4acb<=0x3f6&&_0x5a4acb!==0x3ec&&_0x5a4acb!==0x3ed&&_0x5a4acb!==0x3ee||_0x5a4acb>=0xbb8&&_0x5a4acb<=0x1387;}function _0xdd00e8(_0x3f2cd4){const _0x287bf1=_0x11908b,_0x34d797=_0x3f2cd4[_0x287bf1(0x9a)];let _0x5b1dfe=0x0;for(;_0x5b1dfe<_0x34d797;)if((_0x3f2cd4[_0x5b1dfe]&0x80)===0x0)_0x5b1dfe++;else{if((_0x3f2cd4[_0x5b1dfe]&0xe0)===0xc0){if(_0x5b1dfe+0x1===_0x34d797||(_0x3f2cd4[_0x5b1dfe+0x1]&0xc0)!==0x80||(_0x3f2cd4[_0x5b1dfe]&0xfe)===0xc0)return!0x1;_0x5b1dfe+=0x2;}else{if((_0x3f2cd4[_0x5b1dfe]&0xf0)===0xe0){if(_0x5b1dfe+0x2>=_0x34d797||(_0x3f2cd4[_0x5b1dfe+0x1]&0xc0)!==0x80||(_0x3f2cd4[_0x5b1dfe+0x2]&0xc0)!==0x80||_0x3f2cd4[_0x5b1dfe]===0xe0&&(_0x3f2cd4[_0x5b1dfe+0x1]&0xe0)===0x80||_0x3f2cd4[_0x5b1dfe]===0xed&&(_0x3f2cd4[_0x5b1dfe+0x1]&0xe0)===0xa0)return!0x1;_0x5b1dfe+=0x3;}else{if((_0x3f2cd4[_0x5b1dfe]&0xf8)===0xf0){if(_0x5b1dfe+0x3>=_0x34d797||(_0x3f2cd4[_0x5b1dfe+0x1]&0xc0)!==0x80||(_0x3f2cd4[_0x5b1dfe+0x2]&0xc0)!==0x80||(_0x3f2cd4[_0x5b1dfe+0x3]&0xc0)!==0x80||_0x3f2cd4[_0x5b1dfe]===0xf0&&(_0x3f2cd4[_0x5b1dfe+0x1]&0xf0)===0x80||_0x3f2cd4[_0x5b1dfe]===0xf4&&_0x3f2cd4[_0x5b1dfe+0x1]>0x8f||_0x3f2cd4[_0x5b1dfe]>0xf4)return!0x1;_0x5b1dfe+=0x4;}else return!0x1;}}}return!0x0;}function _0x1ae139(_0x19c00e){const _0x278c3d=_0x11908b;return _0x171421&&typeof _0x19c00e==_0x278c3d(0x1ba)&&typeof _0x19c00e[_0x278c3d(0x215)]==_0x278c3d(0x135)&&typeof _0x19c00e[_0x278c3d(0x9e)]==_0x278c3d(0x16a)&&typeof _0x19c00e['stream']==_0x278c3d(0x135)&&(_0x19c00e[Symbol[_0x278c3d(0xf7)]]==='Blob'||_0x19c00e[Symbol[_0x278c3d(0xf7)]]===_0x278c3d(0x95));}if(re[_0x11908b(0xa6)]={'isBlob':_0x1ae139,'isValidStatusCode':_0x56057e,'isValidUTF8':_0xdd00e8,'tokenChars':_0x571c77},_0x182b5e)re['exports'][_0x11908b(0x106)]=function(_0x5b649c){return _0x5b649c['length']<0x18?_0xdd00e8(_0x5b649c):_0x182b5e(_0x5b649c);};else{if(!process[_0x11908b(0x109)]['WS_NO_UTF_8_VALIDATE'])try{const _0x3690e6=Yt;re[_0x11908b(0xa6)][_0x11908b(0x106)]=function(_0x35bb79){return _0x35bb79['length']<0x20?_0xdd00e8(_0x35bb79):_0x3690e6(_0x35bb79);};}catch{}}return re[_0x11908b(0xa6)];}var Se,Je;function dt(){const _0x9add61=_0x56fa89;if(Je)return Se;Je=0x1;const {Writable:_0x2db07f}=_0xeca166,_0x2ba3fd=he(),{BINARY_TYPES:_0x2de4d4,EMPTY_BUFFER:_0x32f136,kStatusCode:_0xe8ed76,kWebSocket:_0x420963}=V(),{concat:_0x3f92fb,toArrayBuffer:_0x20a4fc,unmask:_0x545d8f}=ce(),{isValidStatusCode:_0x306131,isValidUTF8:_0x3390c1}=ne(),_0x11c1a6=Buffer[Symbol[_0x9add61(0x183)]],_0x261070=0x0,_0x1412f7=0x1,_0x6c2c0a=0x2,_0x1f6b3e=0x3,_0x569d40=0x4,_0x37d939=0x5,_0x12614d=0x6;class _0x47698a extends _0x2db07f{constructor(_0x5512b7={}){const _0x37b4c7=_0x9add61;super(),this['_allowSynchronousEvents']=_0x5512b7[_0x37b4c7(0x161)]!==void 0x0?_0x5512b7[_0x37b4c7(0x161)]:!0x0,this['_binaryType']=_0x5512b7[_0x37b4c7(0xdc)]||_0x2de4d4[0x0],this[_0x37b4c7(0x180)]=_0x5512b7[_0x37b4c7(0x9d)]||{},this['_isServer']=!!_0x5512b7['isServer'],this['_maxPayload']=_0x5512b7[_0x37b4c7(0x149)]|0x0,this['_skipUTF8Validation']=!!_0x5512b7[_0x37b4c7(0x116)],this[_0x420963]=void 0x0,this['_bufferedBytes']=0x0,this[_0x37b4c7(0x111)]=[],this[_0x37b4c7(0x16d)]=!0x1,this['_payloadLength']=0x0,this[_0x37b4c7(0x8e)]=void 0x0,this[_0x37b4c7(0xaf)]=0x0,this[_0x37b4c7(0xeb)]=!0x1,this[_0x37b4c7(0x1f8)]=!0x1,this['_opcode']=0x0,this[_0x37b4c7(0x1ac)]=0x0,this[_0x37b4c7(0x1a3)]=0x0,this[_0x37b4c7(0x1de)]=[],this[_0x37b4c7(0x1fa)]=!0x1,this[_0x37b4c7(0x223)]=!0x1,this[_0x37b4c7(0xf2)]=_0x261070;}[_0x9add61(0x200)](_0x1b0d2d,_0x45ff04,_0x316209){const _0x1f6cec=_0x9add61;if(this[_0x1f6cec(0x1bf)]===0x8&&this[_0x1f6cec(0xf2)]==_0x261070)return _0x316209();this['_bufferedBytes']+=_0x1b0d2d['length'],this['_buffers']['push'](_0x1b0d2d),this[_0x1f6cec(0xe7)](_0x316209);}['consume'](_0x578408){const _0x538568=_0x9add61;if(this[_0x538568(0x1e3)]-=_0x578408,_0x578408===this[_0x538568(0x111)][0x0]['length'])return this['_buffers']['shift']();if(_0x578408<this[_0x538568(0x111)][0x0][_0x538568(0x9a)]){const _0x467bd9=this['_buffers'][0x0];return this[_0x538568(0x111)][0x0]=new _0x11c1a6(_0x467bd9[_0x538568(0x12c)],_0x467bd9[_0x538568(0x1fb)]+_0x578408,_0x467bd9['length']-_0x578408),new _0x11c1a6(_0x467bd9['buffer'],_0x467bd9[_0x538568(0x1fb)],_0x578408);}const _0x3ab9f7=Buffer[_0x538568(0xce)](_0x578408);do{const _0x25e22f=this[_0x538568(0x111)][0x0],_0x391057=_0x3ab9f7[_0x538568(0x9a)]-_0x578408;_0x578408>=_0x25e22f[_0x538568(0x9a)]?_0x3ab9f7[_0x538568(0xb7)](this['_buffers'][_0x538568(0x15f)](),_0x391057):(_0x3ab9f7[_0x538568(0xb7)](new Uint8Array(_0x25e22f[_0x538568(0x12c)],_0x25e22f[_0x538568(0x1fb)],_0x578408),_0x391057),this[_0x538568(0x111)][0x0]=new _0x11c1a6(_0x25e22f[_0x538568(0x12c)],_0x25e22f[_0x538568(0x1fb)]+_0x578408,_0x25e22f[_0x538568(0x9a)]-_0x578408)),_0x578408-=_0x25e22f['length'];}while(_0x578408>0x0);return _0x3ab9f7;}[_0x9add61(0xe7)](_0x43e9d7){const _0x148d75=_0x9add61;this[_0x148d75(0x223)]=!0x0;do switch(this[_0x148d75(0xf2)]){case _0x261070:this[_0x148d75(0x1c5)](_0x43e9d7);break;case _0x1412f7:this[_0x148d75(0x212)](_0x43e9d7);break;case _0x6c2c0a:this[_0x148d75(0x121)](_0x43e9d7);break;case _0x1f6b3e:this['getMask']();break;case _0x569d40:this[_0x148d75(0x123)](_0x43e9d7);break;case _0x37d939:case _0x12614d:this[_0x148d75(0x223)]=!0x1;return;}while(this['_loop']);this[_0x148d75(0x1fa)]||_0x43e9d7();}['getInfo'](_0x46736b){const _0x13e656=_0x9add61;if(this[_0x13e656(0x1e3)]<0x2){this[_0x13e656(0x223)]=!0x1;return;}const _0x580c66=this[_0x13e656(0x190)](0x2);if((_0x580c66[0x0]&0x30)!==0x0){const _0x43b6f2=this[_0x13e656(0x15c)](RangeError,_0x13e656(0x1b7),!0x0,0x3ea,_0x13e656(0x220));_0x46736b(_0x43b6f2);return;}const _0x160546=(_0x580c66[0x0]&0x40)===0x40;if(_0x160546&&!this[_0x13e656(0x180)][_0x2ba3fd[_0x13e656(0x169)]]){const _0x4651c2=this[_0x13e656(0x15c)](RangeError,_0x13e656(0x7a),!0x0,0x3ea,_0x13e656(0x14a));_0x46736b(_0x4651c2);return;}if(this[_0x13e656(0x1f8)]=(_0x580c66[0x0]&0x80)===0x80,this[_0x13e656(0x1bf)]=_0x580c66[0x0]&0xf,this['_payloadLength']=_0x580c66[0x1]&0x7f,this[_0x13e656(0x1bf)]===0x0){if(_0x160546){const _0x680a23=this[_0x13e656(0x15c)](RangeError,_0x13e656(0x7a),!0x0,0x3ea,_0x13e656(0x14a));_0x46736b(_0x680a23);return;}if(!this[_0x13e656(0xaf)]){const _0x5dc309=this[_0x13e656(0x15c)](RangeError,_0x13e656(0x81),!0x0,0x3ea,_0x13e656(0x186));_0x46736b(_0x5dc309);return;}this[_0x13e656(0x1bf)]=this['_fragmented'];}else{if(this[_0x13e656(0x1bf)]===0x1||this[_0x13e656(0x1bf)]===0x2){if(this[_0x13e656(0xaf)]){const _0x4e0c31=this['createError'](RangeError,_0x13e656(0x1c6)+this[_0x13e656(0x1bf)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x46736b(_0x4e0c31);return;}this[_0x13e656(0x16d)]=_0x160546;}else{if(this[_0x13e656(0x1bf)]>0x7&&this[_0x13e656(0x1bf)]<0xb){if(!this['_fin']){const _0x28271b=this[_0x13e656(0x15c)](RangeError,_0x13e656(0x1b1),!0x0,0x3ea,_0x13e656(0x15d));_0x46736b(_0x28271b);return;}if(_0x160546){const _0x513a9a=this[_0x13e656(0x15c)](RangeError,_0x13e656(0x7a),!0x0,0x3ea,_0x13e656(0x14a));_0x46736b(_0x513a9a);return;}if(this[_0x13e656(0x1f5)]>0x7d||this[_0x13e656(0x1bf)]===0x8&&this[_0x13e656(0x1f5)]===0x1){const _0x2e9573=this['createError'](RangeError,_0x13e656(0x131)+this[_0x13e656(0x1f5)],!0x0,0x3ea,'WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH');_0x46736b(_0x2e9573);return;}}else{const _0x3a07b0=this['createError'](RangeError,'invalid\x20opcode\x20'+this[_0x13e656(0x1bf)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x46736b(_0x3a07b0);return;}}}if(!this['_fin']&&!this[_0x13e656(0xaf)]&&(this[_0x13e656(0xaf)]=this[_0x13e656(0x1bf)]),this[_0x13e656(0xeb)]=(_0x580c66[0x1]&0x80)===0x80,this[_0x13e656(0x11f)]){if(!this['_masked']){const _0x5f380e=this[_0x13e656(0x15c)](RangeError,_0x13e656(0x10e),!0x0,0x3ea,_0x13e656(0xfd));_0x46736b(_0x5f380e);return;}}else{if(this[_0x13e656(0xeb)]){const _0x2e3e00=this[_0x13e656(0x15c)](RangeError,_0x13e656(0x164),!0x0,0x3ea,_0x13e656(0x146));_0x46736b(_0x2e3e00);return;}}this[_0x13e656(0x1f5)]===0x7e?this['_state']=_0x1412f7:this[_0x13e656(0x1f5)]===0x7f?this[_0x13e656(0xf2)]=_0x6c2c0a:this[_0x13e656(0xc1)](_0x46736b);}[_0x9add61(0x212)](_0x13b561){const _0x3ac5d8=_0x9add61;if(this[_0x3ac5d8(0x1e3)]<0x2){this['_loop']=!0x1;return;}this[_0x3ac5d8(0x1f5)]=this[_0x3ac5d8(0x190)](0x2)[_0x3ac5d8(0x1e9)](0x0),this['haveLength'](_0x13b561);}[_0x9add61(0x121)](_0x5b8402){const _0x41b4a8=_0x9add61;if(this[_0x41b4a8(0x1e3)]<0x8){this['_loop']=!0x1;return;}const _0xd03f95=this[_0x41b4a8(0x190)](0x8),_0x55186e=_0xd03f95[_0x41b4a8(0x193)](0x0);if(_0x55186e>Math[_0x41b4a8(0xc8)](0x2,0x15)-0x1){const _0x3cdab4=this['createError'](RangeError,_0x41b4a8(0xd7),!0x1,0x3f1,_0x41b4a8(0x195));_0x5b8402(_0x3cdab4);return;}this[_0x41b4a8(0x1f5)]=_0x55186e*Math[_0x41b4a8(0xc8)](0x2,0x20)+_0xd03f95[_0x41b4a8(0x193)](0x4),this[_0x41b4a8(0xc1)](_0x5b8402);}[_0x9add61(0xc1)](_0x382ced){const _0x3ec8b6=_0x9add61;if(this[_0x3ec8b6(0x1f5)]&&this[_0x3ec8b6(0x1bf)]<0x8&&(this['_totalPayloadLength']+=this[_0x3ec8b6(0x1f5)],this[_0x3ec8b6(0x1ac)]>this[_0x3ec8b6(0xba)]&&this[_0x3ec8b6(0xba)]>0x0)){const _0x42b1e5=this[_0x3ec8b6(0x15c)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x3ec8b6(0x1a7));_0x382ced(_0x42b1e5);return;}this[_0x3ec8b6(0xeb)]?this['_state']=_0x1f6b3e:this[_0x3ec8b6(0xf2)]=_0x569d40;}[_0x9add61(0x19f)](){const _0x315744=_0x9add61;if(this['_bufferedBytes']<0x4){this['_loop']=!0x1;return;}this['_mask']=this[_0x315744(0x190)](0x4),this[_0x315744(0xf2)]=_0x569d40;}[_0x9add61(0x123)](_0x5f2431){const _0x217517=_0x9add61;let _0x137b95=_0x32f136;if(this[_0x217517(0x1f5)]){if(this['_bufferedBytes']<this['_payloadLength']){this[_0x217517(0x223)]=!0x1;return;}_0x137b95=this['consume'](this[_0x217517(0x1f5)]),this[_0x217517(0xeb)]&&(this[_0x217517(0x8e)][0x0]|this['_mask'][0x1]|this[_0x217517(0x8e)][0x2]|this[_0x217517(0x8e)][0x3])!==0x0&&_0x545d8f(_0x137b95,this['_mask']);}if(this[_0x217517(0x1bf)]>0x7){this['controlMessage'](_0x137b95,_0x5f2431);return;}if(this[_0x217517(0x16d)]){this[_0x217517(0xf2)]=_0x37d939,this[_0x217517(0x101)](_0x137b95,_0x5f2431);return;}_0x137b95[_0x217517(0x9a)]&&(this[_0x217517(0x1a3)]=this['_totalPayloadLength'],this[_0x217517(0x1de)][_0x217517(0x19e)](_0x137b95)),this[_0x217517(0x1f2)](_0x5f2431);}[_0x9add61(0x101)](_0x51eada,_0x3e82e6){const _0x1e3ac6=_0x9add61;this[_0x1e3ac6(0x180)][_0x2ba3fd[_0x1e3ac6(0x169)]][_0x1e3ac6(0x101)](_0x51eada,this[_0x1e3ac6(0x1f8)],(_0x1bb2d1,_0x303388)=>{const _0x609bc8=_0x1e3ac6;if(_0x1bb2d1)return _0x3e82e6(_0x1bb2d1);if(_0x303388[_0x609bc8(0x9a)]){if(this[_0x609bc8(0x1a3)]+=_0x303388[_0x609bc8(0x9a)],this['_messageLength']>this['_maxPayload']&&this[_0x609bc8(0xba)]>0x0){const _0x3651dd=this[_0x609bc8(0x15c)](RangeError,_0x609bc8(0x1ed),!0x1,0x3f1,_0x609bc8(0x1a7));_0x3e82e6(_0x3651dd);return;}this[_0x609bc8(0x1de)]['push'](_0x303388);}this[_0x609bc8(0x1f2)](_0x3e82e6),this['_state']===_0x261070&&this[_0x609bc8(0xe7)](_0x3e82e6);});}[_0x9add61(0x1f2)](_0x37c444){const _0x2108e5=_0x9add61;if(!this[_0x2108e5(0x1f8)]){this[_0x2108e5(0xf2)]=_0x261070;return;}const _0x1b2e90=this['_messageLength'],_0x144da5=this[_0x2108e5(0x1de)];if(this[_0x2108e5(0x1ac)]=0x0,this[_0x2108e5(0x1a3)]=0x0,this[_0x2108e5(0xaf)]=0x0,this[_0x2108e5(0x1de)]=[],this[_0x2108e5(0x1bf)]===0x2){let _0x344882;this['_binaryType']==='nodebuffer'?_0x344882=_0x3f92fb(_0x144da5,_0x1b2e90):this[_0x2108e5(0x20e)]===_0x2108e5(0x11a)?_0x344882=_0x20a4fc(_0x3f92fb(_0x144da5,_0x1b2e90)):this[_0x2108e5(0x20e)]===_0x2108e5(0x15a)?_0x344882=new Blob(_0x144da5):_0x344882=_0x144da5,this[_0x2108e5(0x202)]?(this[_0x2108e5(0x1ae)](_0x2108e5(0x89),_0x344882,!0x0),this[_0x2108e5(0xf2)]=_0x261070):(this['_state']=_0x12614d,setImmediate(()=>{const _0x48de95=_0x2108e5;this[_0x48de95(0x1ae)](_0x48de95(0x89),_0x344882,!0x0),this[_0x48de95(0xf2)]=_0x261070,this[_0x48de95(0xe7)](_0x37c444);}));}else{const _0x277529=_0x3f92fb(_0x144da5,_0x1b2e90);if(!this[_0x2108e5(0xd9)]&&!_0x3390c1(_0x277529)){const _0x66813f=this[_0x2108e5(0x15c)](Error,_0x2108e5(0x18d),!0x0,0x3ef,_0x2108e5(0x151));_0x37c444(_0x66813f);return;}this['_state']===_0x37d939||this[_0x2108e5(0x202)]?(this[_0x2108e5(0x1ae)](_0x2108e5(0x89),_0x277529,!0x1),this[_0x2108e5(0xf2)]=_0x261070):(this['_state']=_0x12614d,setImmediate(()=>{const _0x3a5252=_0x2108e5;this[_0x3a5252(0x1ae)](_0x3a5252(0x89),_0x277529,!0x1),this['_state']=_0x261070,this[_0x3a5252(0xe7)](_0x37c444);}));}}[_0x9add61(0x7d)](_0x2e7e65,_0x3ff0d5){const _0x3444ba=_0x9add61;if(this[_0x3444ba(0x1bf)]===0x8){if(_0x2e7e65['length']===0x0)this['_loop']=!0x1,this[_0x3444ba(0x1ae)](_0x3444ba(0xf3),0x3ed,_0x32f136),this[_0x3444ba(0x1da)]();else{const _0x3377e4=_0x2e7e65[_0x3444ba(0x1e9)](0x0);if(!_0x306131(_0x3377e4)){const _0x270220=this[_0x3444ba(0x15c)](RangeError,_0x3444ba(0x128)+_0x3377e4,!0x0,0x3ea,_0x3444ba(0x85));_0x3ff0d5(_0x270220);return;}const _0x5d0cc8=new _0x11c1a6(_0x2e7e65['buffer'],_0x2e7e65[_0x3444ba(0x1fb)]+0x2,_0x2e7e65[_0x3444ba(0x9a)]-0x2);if(!this['_skipUTF8Validation']&&!_0x3390c1(_0x5d0cc8)){const _0x51d011=this[_0x3444ba(0x15c)](Error,_0x3444ba(0x18d),!0x0,0x3ef,_0x3444ba(0x151));_0x3ff0d5(_0x51d011);return;}this[_0x3444ba(0x223)]=!0x1,this[_0x3444ba(0x1ae)]('conclude',_0x3377e4,_0x5d0cc8),this[_0x3444ba(0x1da)]();}this[_0x3444ba(0xf2)]=_0x261070;return;}this['_allowSynchronousEvents']?(this['emit'](this[_0x3444ba(0x1bf)]===0x9?'ping':_0x3444ba(0x156),_0x2e7e65),this[_0x3444ba(0xf2)]=_0x261070):(this[_0x3444ba(0xf2)]=_0x12614d,setImmediate(()=>{const _0x284383=_0x3444ba;this[_0x284383(0x1ae)](this[_0x284383(0x1bf)]===0x9?_0x284383(0x114):'pong',_0x2e7e65),this[_0x284383(0xf2)]=_0x261070,this[_0x284383(0xe7)](_0x3ff0d5);}));}['createError'](_0x4f5edb,_0x341b53,_0x1d14b6,_0x352143,_0x24d310){const _0x1e5dc8=_0x9add61;this[_0x1e5dc8(0x223)]=!0x1,this[_0x1e5dc8(0x1fa)]=!0x0;const _0x2089e8=new _0x4f5edb(_0x1d14b6?_0x1e5dc8(0x79)+_0x341b53:_0x341b53);return Error[_0x1e5dc8(0x1e2)](_0x2089e8,this['createError']),_0x2089e8['code']=_0x24d310,_0x2089e8[_0xe8ed76]=_0x352143,_0x2089e8;}}return Se=_0x47698a,Se;}var Ee,et;function _t(){const _0x2184a8=_0x56fa89;if(et)return Ee;et=0x1;const {Duplex:_0x14f16a}=_0xeca166,{randomFillSync:_0x515b92}=_0x4b0b4b,_0x1a3ca7=he(),{EMPTY_BUFFER:_0x5607be,kWebSocket:_0x474691,NOOP:_0x1b03cc}=V(),{isBlob:_0x5483ba,isValidStatusCode:_0x3f1803}=ne(),{mask:_0x51b3d3,toBuffer:_0x98b63d}=ce(),_0xa78df9=Symbol(_0x2184a8(0xad)),_0x13a389=Buffer[_0x2184a8(0x19b)](0x4),_0x4697a0=0x8*0x400;let _0x143fd9,_0x4ef320=_0x4697a0;const _0x16edcf=0x0,_0x527f38=0x1,_0x420d57=0x2;class _0x22c672{constructor(_0x3ab6ac,_0x451431,_0x484ad4){const _0x1b48e4=_0x2184a8;this[_0x1b48e4(0x180)]=_0x451431||{},_0x484ad4&&(this[_0x1b48e4(0xf9)]=_0x484ad4,this['_maskBuffer']=Buffer[_0x1b48e4(0x19b)](0x4)),this[_0x1b48e4(0x108)]=_0x3ab6ac,this[_0x1b48e4(0xa5)]=!0x0,this[_0x1b48e4(0x1f6)]=!0x1,this[_0x1b48e4(0x1e3)]=0x0,this[_0x1b48e4(0x13b)]=[],this[_0x1b48e4(0xf2)]=_0x16edcf,this[_0x1b48e4(0x165)]=_0x1b03cc,this[_0x474691]=void 0x0;}static[_0x2184a8(0x196)](_0x5b0e5b,_0x9547a1){const _0x408a15=_0x2184a8;let _0x115191,_0x18219a=!0x1,_0x2a4072=0x2,_0x119fff=!0x1;_0x9547a1[_0x408a15(0x8d)]&&(_0x115191=_0x9547a1[_0x408a15(0x20a)]||_0x13a389,_0x9547a1[_0x408a15(0x105)]?_0x9547a1[_0x408a15(0x105)](_0x115191):(_0x4ef320===_0x4697a0&&(_0x143fd9===void 0x0&&(_0x143fd9=Buffer[_0x408a15(0x19b)](_0x4697a0)),_0x515b92(_0x143fd9,0x0,_0x4697a0),_0x4ef320=0x0),_0x115191[0x0]=_0x143fd9[_0x4ef320++],_0x115191[0x1]=_0x143fd9[_0x4ef320++],_0x115191[0x2]=_0x143fd9[_0x4ef320++],_0x115191[0x3]=_0x143fd9[_0x4ef320++]),_0x119fff=(_0x115191[0x0]|_0x115191[0x1]|_0x115191[0x2]|_0x115191[0x3])===0x0,_0x2a4072=0x6);let _0x1e7625;typeof _0x5b0e5b==_0x408a15(0x16a)?(!_0x9547a1[_0x408a15(0x8d)]||_0x119fff)&&_0x9547a1[_0xa78df9]!==void 0x0?_0x1e7625=_0x9547a1[_0xa78df9]:(_0x5b0e5b=Buffer[_0x408a15(0x217)](_0x5b0e5b),_0x1e7625=_0x5b0e5b[_0x408a15(0x9a)]):(_0x1e7625=_0x5b0e5b[_0x408a15(0x9a)],_0x18219a=_0x9547a1['mask']&&_0x9547a1['readOnly']&&!_0x119fff);let _0x2db129=_0x1e7625;_0x1e7625>=0x10000?(_0x2a4072+=0x8,_0x2db129=0x7f):_0x1e7625>0x7d&&(_0x2a4072+=0x2,_0x2db129=0x7e);const _0x4dcf33=Buffer[_0x408a15(0xce)](_0x18219a?_0x1e7625+_0x2a4072:_0x2a4072);return _0x4dcf33[0x0]=_0x9547a1[_0x408a15(0x207)]?_0x9547a1[_0x408a15(0x1c7)]|0x80:_0x9547a1[_0x408a15(0x1c7)],_0x9547a1[_0x408a15(0x1e1)]&&(_0x4dcf33[0x0]|=0x40),_0x4dcf33[0x1]=_0x2db129,_0x2db129===0x7e?_0x4dcf33['writeUInt16BE'](_0x1e7625,0x2):_0x2db129===0x7f&&(_0x4dcf33[0x2]=_0x4dcf33[0x3]=0x0,_0x4dcf33[_0x408a15(0xf6)](_0x1e7625,0x4,0x6)),_0x9547a1[_0x408a15(0x8d)]?(_0x4dcf33[0x1]|=0x80,_0x4dcf33[_0x2a4072-0x4]=_0x115191[0x0],_0x4dcf33[_0x2a4072-0x3]=_0x115191[0x1],_0x4dcf33[_0x2a4072-0x2]=_0x115191[0x2],_0x4dcf33[_0x2a4072-0x1]=_0x115191[0x3],_0x119fff?[_0x4dcf33,_0x5b0e5b]:_0x18219a?(_0x51b3d3(_0x5b0e5b,_0x115191,_0x4dcf33,_0x2a4072,_0x1e7625),[_0x4dcf33]):(_0x51b3d3(_0x5b0e5b,_0x115191,_0x5b0e5b,0x0,_0x1e7625),[_0x4dcf33,_0x5b0e5b])):[_0x4dcf33,_0x5b0e5b];}[_0x2184a8(0x11d)](_0x5f513,_0x4739c6,_0x20222e,_0x195fab){const _0x5a2218=_0x2184a8;let _0x20e20c;if(_0x5f513===void 0x0)_0x20e20c=_0x5607be;else{if(typeof _0x5f513!=_0x5a2218(0x21e)||!_0x3f1803(_0x5f513))throw new TypeError(_0x5a2218(0x15b));if(_0x4739c6===void 0x0||!_0x4739c6['length'])_0x20e20c=Buffer[_0x5a2218(0xce)](0x2),_0x20e20c[_0x5a2218(0x160)](_0x5f513,0x0);else{const _0x294ce2=Buffer[_0x5a2218(0x77)](_0x4739c6);if(_0x294ce2>0x7b)throw new RangeError(_0x5a2218(0x11e));_0x20e20c=Buffer['allocUnsafe'](0x2+_0x294ce2),_0x20e20c[_0x5a2218(0x160)](_0x5f513,0x0),typeof _0x4739c6=='string'?_0x20e20c['write'](_0x4739c6,0x2):_0x20e20c[_0x5a2218(0xb7)](_0x4739c6,0x2);}}const _0xa2fcff={[_0xa78df9]:_0x20e20c[_0x5a2218(0x9a)],'fin':!0x0,'generateMask':this[_0x5a2218(0xf9)],'mask':_0x20222e,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this['_state']!==_0x16edcf?this[_0x5a2218(0x127)]([this[_0x5a2218(0x1c4)],_0x20e20c,!0x1,_0xa2fcff,_0x195fab]):this[_0x5a2218(0x155)](_0x22c672[_0x5a2218(0x196)](_0x20e20c,_0xa2fcff),_0x195fab);}[_0x2184a8(0x114)](_0x52595e,_0x5eb9ac,_0x4e7a64){const _0x30fd67=_0x2184a8;let _0x36ed73,_0x222305;if(typeof _0x52595e==_0x30fd67(0x16a)?(_0x36ed73=Buffer[_0x30fd67(0x77)](_0x52595e),_0x222305=!0x1):_0x5483ba(_0x52595e)?(_0x36ed73=_0x52595e[_0x30fd67(0xd1)],_0x222305=!0x1):(_0x52595e=_0x98b63d(_0x52595e),_0x36ed73=_0x52595e['length'],_0x222305=_0x98b63d[_0x30fd67(0x20b)]),_0x36ed73>0x7d)throw new RangeError(_0x30fd67(0x102));const _0x47104b={[_0xa78df9]:_0x36ed73,'fin':!0x0,'generateMask':this[_0x30fd67(0xf9)],'mask':_0x5eb9ac,'maskBuffer':this['_maskBuffer'],'opcode':0x9,'readOnly':_0x222305,'rsv1':!0x1};_0x5483ba(_0x52595e)?this[_0x30fd67(0xf2)]!==_0x16edcf?this[_0x30fd67(0x127)]([this[_0x30fd67(0x1c9)],_0x52595e,!0x1,_0x47104b,_0x4e7a64]):this[_0x30fd67(0x1c9)](_0x52595e,!0x1,_0x47104b,_0x4e7a64):this[_0x30fd67(0xf2)]!==_0x16edcf?this[_0x30fd67(0x127)]([this[_0x30fd67(0x1c4)],_0x52595e,!0x1,_0x47104b,_0x4e7a64]):this['sendFrame'](_0x22c672[_0x30fd67(0x196)](_0x52595e,_0x47104b),_0x4e7a64);}[_0x2184a8(0x156)](_0x127e8f,_0x302513,_0x4e085d){const _0x1b0fc2=_0x2184a8;let _0x37f7ab,_0x70071f;if(typeof _0x127e8f=='string'?(_0x37f7ab=Buffer['byteLength'](_0x127e8f),_0x70071f=!0x1):_0x5483ba(_0x127e8f)?(_0x37f7ab=_0x127e8f['size'],_0x70071f=!0x1):(_0x127e8f=_0x98b63d(_0x127e8f),_0x37f7ab=_0x127e8f['length'],_0x70071f=_0x98b63d[_0x1b0fc2(0x20b)]),_0x37f7ab>0x7d)throw new RangeError(_0x1b0fc2(0x102));const _0x28b70c={[_0xa78df9]:_0x37f7ab,'fin':!0x0,'generateMask':this[_0x1b0fc2(0xf9)],'mask':_0x302513,'maskBuffer':this[_0x1b0fc2(0x143)],'opcode':0xa,'readOnly':_0x70071f,'rsv1':!0x1};_0x5483ba(_0x127e8f)?this[_0x1b0fc2(0xf2)]!==_0x16edcf?this['enqueue']([this[_0x1b0fc2(0x1c9)],_0x127e8f,!0x1,_0x28b70c,_0x4e085d]):this['getBlobData'](_0x127e8f,!0x1,_0x28b70c,_0x4e085d):this[_0x1b0fc2(0xf2)]!==_0x16edcf?this[_0x1b0fc2(0x127)]([this['dispatch'],_0x127e8f,!0x1,_0x28b70c,_0x4e085d]):this[_0x1b0fc2(0x155)](_0x22c672[_0x1b0fc2(0x196)](_0x127e8f,_0x28b70c),_0x4e085d);}['send'](_0x170f9d,_0x1788ba,_0x3f0f86){const _0x4a0a78=_0x2184a8,_0xe38819=this['_extensions'][_0x1a3ca7['extensionName']];let _0x203a42=_0x1788ba[_0x4a0a78(0x227)]?0x2:0x1,_0x1e764d=_0x1788ba[_0x4a0a78(0x159)],_0x4c8a3e,_0x4ba3ec;typeof _0x170f9d==_0x4a0a78(0x16a)?(_0x4c8a3e=Buffer[_0x4a0a78(0x77)](_0x170f9d),_0x4ba3ec=!0x1):_0x5483ba(_0x170f9d)?(_0x4c8a3e=_0x170f9d[_0x4a0a78(0xd1)],_0x4ba3ec=!0x1):(_0x170f9d=_0x98b63d(_0x170f9d),_0x4c8a3e=_0x170f9d['length'],_0x4ba3ec=_0x98b63d[_0x4a0a78(0x20b)]),this[_0x4a0a78(0xa5)]?(this['_firstFragment']=!0x1,_0x1e764d&&_0xe38819&&_0xe38819[_0x4a0a78(0x14f)][_0xe38819[_0x4a0a78(0x11f)]?_0x4a0a78(0x119):_0x4a0a78(0xa8)]&&(_0x1e764d=_0x4c8a3e>=_0xe38819[_0x4a0a78(0x7f)]),this[_0x4a0a78(0x1f6)]=_0x1e764d):(_0x1e764d=!0x1,_0x203a42=0x0),_0x1788ba[_0x4a0a78(0x207)]&&(this[_0x4a0a78(0xa5)]=!0x0);const _0x37a62c={[_0xa78df9]:_0x4c8a3e,'fin':_0x1788ba[_0x4a0a78(0x207)],'generateMask':this[_0x4a0a78(0xf9)],'mask':_0x1788ba[_0x4a0a78(0x8d)],'maskBuffer':this[_0x4a0a78(0x143)],'opcode':_0x203a42,'readOnly':_0x4ba3ec,'rsv1':_0x1e764d};_0x5483ba(_0x170f9d)?this['_state']!==_0x16edcf?this['enqueue']([this['getBlobData'],_0x170f9d,this['_compress'],_0x37a62c,_0x3f0f86]):this[_0x4a0a78(0x1c9)](_0x170f9d,this[_0x4a0a78(0x1f6)],_0x37a62c,_0x3f0f86):this['_state']!==_0x16edcf?this[_0x4a0a78(0x127)]([this[_0x4a0a78(0x1c4)],_0x170f9d,this[_0x4a0a78(0x1f6)],_0x37a62c,_0x3f0f86]):this['dispatch'](_0x170f9d,this[_0x4a0a78(0x1f6)],_0x37a62c,_0x3f0f86);}[_0x2184a8(0x1c9)](_0x44320c,_0x242279,_0x2e2a84,_0x89cb87){const _0x5cdcb3=_0x2184a8;this['_bufferedBytes']+=_0x2e2a84[_0xa78df9],this[_0x5cdcb3(0xf2)]=_0x420d57,_0x44320c[_0x5cdcb3(0x215)]()[_0x5cdcb3(0x10c)](_0x23c440=>{const _0x40ffff=_0x5cdcb3;if(this[_0x40ffff(0x108)][_0x40ffff(0x8b)]){const _0x10d72d=new Error('The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read');process[_0x40ffff(0x9f)](_0x511dd1,this,_0x10d72d,_0x89cb87);return;}this[_0x40ffff(0x1e3)]-=_0x2e2a84[_0xa78df9];const _0x1fa692=_0x98b63d(_0x23c440);_0x242279?this[_0x40ffff(0x1c4)](_0x1fa692,_0x242279,_0x2e2a84,_0x89cb87):(this[_0x40ffff(0xf2)]=_0x16edcf,this[_0x40ffff(0x155)](_0x22c672[_0x40ffff(0x196)](_0x1fa692,_0x2e2a84),_0x89cb87),this[_0x40ffff(0x19c)]());})[_0x5cdcb3(0x1be)](_0x5a7415=>{process['nextTick'](_0x19ddca,this,_0x5a7415,_0x89cb87);});}[_0x2184a8(0x1c4)](_0x45df2e,_0x4b6e43,_0x883460,_0x4f80ea){const _0x3eef42=_0x2184a8;if(!_0x4b6e43){this['sendFrame'](_0x22c672[_0x3eef42(0x196)](_0x45df2e,_0x883460),_0x4f80ea);return;}const _0x542b33=this[_0x3eef42(0x180)][_0x1a3ca7['extensionName']];this[_0x3eef42(0x1e3)]+=_0x883460[_0xa78df9],this[_0x3eef42(0xf2)]=_0x527f38,_0x542b33['compress'](_0x45df2e,_0x883460[_0x3eef42(0x207)],(_0x93dfcf,_0xfb64aa)=>{const _0x2e08ff=_0x3eef42;if(this['_socket'][_0x2e08ff(0x8b)]){const _0x5d1028=new Error(_0x2e08ff(0x1cd));_0x511dd1(this,_0x5d1028,_0x4f80ea);return;}this[_0x2e08ff(0x1e3)]-=_0x883460[_0xa78df9],this[_0x2e08ff(0xf2)]=_0x16edcf,_0x883460['readOnly']=!0x1,this[_0x2e08ff(0x155)](_0x22c672[_0x2e08ff(0x196)](_0xfb64aa,_0x883460),_0x4f80ea),this['dequeue']();});}[_0x2184a8(0x19c)](){const _0x34bfa4=_0x2184a8;for(;this[_0x34bfa4(0xf2)]===_0x16edcf&&this[_0x34bfa4(0x13b)][_0x34bfa4(0x9a)];){const _0x5b6d0b=this['_queue'][_0x34bfa4(0x15f)]();this[_0x34bfa4(0x1e3)]-=_0x5b6d0b[0x3][_0xa78df9],Reflect['apply'](_0x5b6d0b[0x0],this,_0x5b6d0b['slice'](0x1));}}['enqueue'](_0x468169){const _0x3f343f=_0x2184a8;this['_bufferedBytes']+=_0x468169[0x3][_0xa78df9],this[_0x3f343f(0x13b)][_0x3f343f(0x19e)](_0x468169);}['sendFrame'](_0x1328f9,_0xb29fa8){const _0x1737d0=_0x2184a8;_0x1328f9['length']===0x2?(this[_0x1737d0(0x108)]['cork'](),this[_0x1737d0(0x108)]['write'](_0x1328f9[0x0]),this[_0x1737d0(0x108)][_0x1737d0(0xfb)](_0x1328f9[0x1],_0xb29fa8),this[_0x1737d0(0x108)][_0x1737d0(0xef)]()):this[_0x1737d0(0x108)][_0x1737d0(0xfb)](_0x1328f9[0x0],_0xb29fa8);}}Ee=_0x22c672;function _0x511dd1(_0x6dd88a,_0x796005,_0x57c0b5){const _0x539848=_0x2184a8;typeof _0x57c0b5=='function'&&_0x57c0b5(_0x796005);for(let _0x5f1e39=0x0;_0x5f1e39<_0x6dd88a['_queue'][_0x539848(0x9a)];_0x5f1e39++){const _0x49265b=_0x6dd88a[_0x539848(0x13b)][_0x5f1e39],_0xe15426=_0x49265b[_0x49265b['length']-0x1];typeof _0xe15426==_0x539848(0x135)&&_0xe15426(_0x796005);}}function _0x19ddca(_0x2565c9,_0x388508,_0x337834){const _0x3a0aa6=_0x2184a8;_0x511dd1(_0x2565c9,_0x388508,_0x337834),_0x2565c9[_0x3a0aa6(0x165)](_0x388508);}return Ee;}var xe,tt;function Kt(){const _0x447d4b=_0x56fa89;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x90c454,kListener:_0x317f92}=V(),_0x3ba571=Symbol('kCode'),_0x3e0ab4=Symbol(_0x447d4b(0x12b)),_0x2b6714=Symbol(_0x447d4b(0xb6)),_0x412491=Symbol(_0x447d4b(0x1eb)),_0x521fbd=Symbol(_0x447d4b(0x1e8)),_0x5d6bcd=Symbol(_0x447d4b(0x1e7)),_0x375948=Symbol('kType'),_0x46dac9=Symbol('kWasClean');class _0xa0df1f{constructor(_0x471230){this[_0x5d6bcd]=null,this[_0x375948]=_0x471230;}get['target'](){return this[_0x5d6bcd];}get['type'](){return this[_0x375948];}}Object[_0x447d4b(0x1b3)](_0xa0df1f[_0x447d4b(0xa0)],_0x447d4b(0xb4),{'enumerable':!0x0}),Object[_0x447d4b(0x1b3)](_0xa0df1f[_0x447d4b(0xa0)],_0x447d4b(0x9e),{'enumerable':!0x0});class _0x3a0304 extends _0xa0df1f{constructor(_0x117eec,_0x47e343={}){const _0x29cedd=_0x447d4b;super(_0x117eec),this[_0x3ba571]=_0x47e343['code']===void 0x0?0x0:_0x47e343[_0x29cedd(0x88)],this[_0x521fbd]=_0x47e343[_0x29cedd(0x84)]===void 0x0?'':_0x47e343[_0x29cedd(0x84)],this[_0x46dac9]=_0x47e343[_0x29cedd(0x1d2)]===void 0x0?!0x1:_0x47e343['wasClean'];}get[_0x447d4b(0x88)](){return this[_0x3ba571];}get[_0x447d4b(0x84)](){return this[_0x521fbd];}get[_0x447d4b(0x1d2)](){return this[_0x46dac9];}}Object[_0x447d4b(0x1b3)](_0x3a0304[_0x447d4b(0xa0)],'code',{'enumerable':!0x0}),Object[_0x447d4b(0x1b3)](_0x3a0304[_0x447d4b(0xa0)],_0x447d4b(0x84),{'enumerable':!0x0}),Object[_0x447d4b(0x1b3)](_0x3a0304['prototype'],'wasClean',{'enumerable':!0x0});class _0x1ba5c6 extends _0xa0df1f{constructor(_0x362006,_0x3d19b7={}){const _0x4181e3=_0x447d4b;super(_0x362006),this[_0x2b6714]=_0x3d19b7[_0x4181e3(0xe9)]===void 0x0?null:_0x3d19b7[_0x4181e3(0xe9)],this[_0x412491]=_0x3d19b7[_0x4181e3(0x89)]===void 0x0?'':_0x3d19b7['message'];}get['error'](){return this[_0x2b6714];}get[_0x447d4b(0x89)](){return this[_0x412491];}}Object[_0x447d4b(0x1b3)](_0x1ba5c6[_0x447d4b(0xa0)],_0x447d4b(0xe9),{'enumerable':!0x0}),Object[_0x447d4b(0x1b3)](_0x1ba5c6['prototype'],_0x447d4b(0x89),{'enumerable':!0x0});class _0x5984f2 extends _0xa0df1f{constructor(_0x95bd2c,_0xd6790f={}){const _0x4af8c3=_0x447d4b;super(_0x95bd2c),this[_0x3e0ab4]=_0xd6790f[_0x4af8c3(0x209)]===void 0x0?null:_0xd6790f[_0x4af8c3(0x209)];}get['data'](){return this[_0x3e0ab4];}}Object['defineProperty'](_0x5984f2[_0x447d4b(0xa0)],'data',{'enumerable':!0x0}),xe={'CloseEvent':_0x3a0304,'ErrorEvent':_0x1ba5c6,'Event':_0xa0df1f,'EventTarget':{'addEventListener'(_0x334759,_0x49bd73,_0xefd497={}){const _0x336382=_0x447d4b;for(const _0x15a11e of this[_0x336382(0x19a)](_0x334759))if(!_0xefd497[_0x90c454]&&_0x15a11e[_0x317f92]===_0x49bd73&&!_0x15a11e[_0x90c454])return;let _0x301f07;if(_0x334759===_0x336382(0x89))_0x301f07=function(_0x15107d,_0x27c2b3){const _0x305142=_0x336382,_0xe20795=new _0x5984f2(_0x305142(0x89),{'data':_0x27c2b3?_0x15107d:_0x15107d[_0x305142(0xdb)]()});_0xe20795[_0x5d6bcd]=this,_0x490b72(_0x49bd73,this,_0xe20795);};else{if(_0x334759===_0x336382(0x11d))_0x301f07=function(_0x16c22b,_0x29519e){const _0x3d1e63=_0x336382,_0x459080=new _0x3a0304(_0x3d1e63(0x11d),{'code':_0x16c22b,'reason':_0x29519e[_0x3d1e63(0xdb)](),'wasClean':this[_0x3d1e63(0xa7)]&&this[_0x3d1e63(0x1cb)]});_0x459080[_0x5d6bcd]=this,_0x490b72(_0x49bd73,this,_0x459080);};else{if(_0x334759===_0x336382(0xe9))_0x301f07=function(_0x3ada19){const _0x55ede7=_0x336382,_0x4d8697=new _0x1ba5c6(_0x55ede7(0xe9),{'error':_0x3ada19,'message':_0x3ada19['message']});_0x4d8697[_0x5d6bcd]=this,_0x490b72(_0x49bd73,this,_0x4d8697);};else{if(_0x334759===_0x336382(0x154))_0x301f07=function(){const _0x5a6ac0=new _0xa0df1f('open');_0x5a6ac0[_0x5d6bcd]=this,_0x490b72(_0x49bd73,this,_0x5a6ac0);};else return;}}}_0x301f07[_0x90c454]=!!_0xefd497[_0x90c454],_0x301f07[_0x317f92]=_0x49bd73,_0xefd497[_0x336382(0x1d3)]?this['once'](_0x334759,_0x301f07):this['on'](_0x334759,_0x301f07);},'removeEventListener'(_0x35c04a,_0x2f1af3){const _0x37d019=_0x447d4b;for(const _0xeb4420 of this[_0x37d019(0x19a)](_0x35c04a))if(_0xeb4420[_0x317f92]===_0x2f1af3&&!_0xeb4420[_0x90c454]){this[_0x37d019(0x21b)](_0x35c04a,_0xeb4420);break;}}},'MessageEvent':_0x5984f2};function _0x490b72(_0x5d37e6,_0x5e3b2b,_0x1f3c3e){const _0x4981a4=_0x447d4b;typeof _0x5d37e6==_0x4981a4(0x1ba)&&_0x5d37e6[_0x4981a4(0xf8)]?_0x5d37e6[_0x4981a4(0xf8)][_0x4981a4(0x1b0)](_0x5d37e6,_0x1f3c3e):_0x5d37e6[_0x4981a4(0x1b0)](_0x5e3b2b,_0x1f3c3e);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x374a77}=ne();function _0x46fa7a(_0x3b3219,_0x2a4ff1,_0x5174ac){const _0x2572f9=_0x3c64;_0x3b3219[_0x2a4ff1]===void 0x0?_0x3b3219[_0x2a4ff1]=[_0x5174ac]:_0x3b3219[_0x2a4ff1][_0x2572f9(0x19e)](_0x5174ac);}function _0x2f8616(_0x52ecd3){const _0x1c5b97=_0x3c64,_0x39fef9=Object[_0x1c5b97(0x197)](null);let _0x3e0639=Object[_0x1c5b97(0x197)](null),_0x36dc92=!0x1,_0x225420=!0x1,_0xbac29c=!0x1,_0x406734,_0x2103eb,_0x127dd3=-0x1,_0x3b884e=-0x1,_0x781e42=-0x1,_0x3522aa=0x0;for(;_0x3522aa<_0x52ecd3[_0x1c5b97(0x9a)];_0x3522aa++)if(_0x3b884e=_0x52ecd3[_0x1c5b97(0x1a4)](_0x3522aa),_0x406734===void 0x0){if(_0x781e42===-0x1&&_0x374a77[_0x3b884e]===0x1)_0x127dd3===-0x1&&(_0x127dd3=_0x3522aa);else{if(_0x3522aa!==0x0&&(_0x3b884e===0x20||_0x3b884e===0x9))_0x781e42===-0x1&&_0x127dd3!==-0x1&&(_0x781e42=_0x3522aa);else{if(_0x3b884e===0x3b||_0x3b884e===0x2c){if(_0x127dd3===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x3522aa);_0x781e42===-0x1&&(_0x781e42=_0x3522aa);const _0x2fdad=_0x52ecd3[_0x1c5b97(0x1dd)](_0x127dd3,_0x781e42);_0x3b884e===0x2c?(_0x46fa7a(_0x39fef9,_0x2fdad,_0x3e0639),_0x3e0639=Object[_0x1c5b97(0x197)](null)):_0x406734=_0x2fdad,_0x127dd3=_0x781e42=-0x1;}else throw new SyntaxError(_0x1c5b97(0xed)+_0x3522aa);}}}else{if(_0x2103eb===void 0x0){if(_0x781e42===-0x1&&_0x374a77[_0x3b884e]===0x1)_0x127dd3===-0x1&&(_0x127dd3=_0x3522aa);else{if(_0x3b884e===0x20||_0x3b884e===0x9)_0x781e42===-0x1&&_0x127dd3!==-0x1&&(_0x781e42=_0x3522aa);else{if(_0x3b884e===0x3b||_0x3b884e===0x2c){if(_0x127dd3===-0x1)throw new SyntaxError(_0x1c5b97(0xed)+_0x3522aa);_0x781e42===-0x1&&(_0x781e42=_0x3522aa),_0x46fa7a(_0x3e0639,_0x52ecd3[_0x1c5b97(0x1dd)](_0x127dd3,_0x781e42),!0x0),_0x3b884e===0x2c&&(_0x46fa7a(_0x39fef9,_0x406734,_0x3e0639),_0x3e0639=Object['create'](null),_0x406734=void 0x0),_0x127dd3=_0x781e42=-0x1;}else{if(_0x3b884e===0x3d&&_0x127dd3!==-0x1&&_0x781e42===-0x1)_0x2103eb=_0x52ecd3['slice'](_0x127dd3,_0x3522aa),_0x127dd3=_0x781e42=-0x1;else throw new SyntaxError(_0x1c5b97(0xed)+_0x3522aa);}}}}else{if(_0x225420){if(_0x374a77[_0x3b884e]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x3522aa);_0x127dd3===-0x1?_0x127dd3=_0x3522aa:_0x36dc92||(_0x36dc92=!0x0),_0x225420=!0x1;}else{if(_0xbac29c){if(_0x374a77[_0x3b884e]===0x1)_0x127dd3===-0x1&&(_0x127dd3=_0x3522aa);else{if(_0x3b884e===0x22&&_0x127dd3!==-0x1)_0xbac29c=!0x1,_0x781e42=_0x3522aa;else{if(_0x3b884e===0x5c)_0x225420=!0x0;else throw new SyntaxError(_0x1c5b97(0xed)+_0x3522aa);}}}else{if(_0x3b884e===0x22&&_0x52ecd3['charCodeAt'](_0x3522aa-0x1)===0x3d)_0xbac29c=!0x0;else{if(_0x781e42===-0x1&&_0x374a77[_0x3b884e]===0x1)_0x127dd3===-0x1&&(_0x127dd3=_0x3522aa);else{if(_0x127dd3!==-0x1&&(_0x3b884e===0x20||_0x3b884e===0x9))_0x781e42===-0x1&&(_0x781e42=_0x3522aa);else{if(_0x3b884e===0x3b||_0x3b884e===0x2c){if(_0x127dd3===-0x1)throw new SyntaxError(_0x1c5b97(0xed)+_0x3522aa);_0x781e42===-0x1&&(_0x781e42=_0x3522aa);let _0x5d074a=_0x52ecd3[_0x1c5b97(0x1dd)](_0x127dd3,_0x781e42);_0x36dc92&&(_0x5d074a=_0x5d074a[_0x1c5b97(0x9b)](/\\/g,''),_0x36dc92=!0x1),_0x46fa7a(_0x3e0639,_0x2103eb,_0x5d074a),_0x3b884e===0x2c&&(_0x46fa7a(_0x39fef9,_0x406734,_0x3e0639),_0x3e0639=Object[_0x1c5b97(0x197)](null),_0x406734=void 0x0),_0x2103eb=void 0x0,_0x127dd3=_0x781e42=-0x1;}else throw new SyntaxError(_0x1c5b97(0xed)+_0x3522aa);}}}}}}}if(_0x127dd3===-0x1||_0xbac29c||_0x3b884e===0x20||_0x3b884e===0x9)throw new SyntaxError(_0x1c5b97(0x1b2));_0x781e42===-0x1&&(_0x781e42=_0x3522aa);const _0x41d180=_0x52ecd3[_0x1c5b97(0x1dd)](_0x127dd3,_0x781e42);return _0x406734===void 0x0?_0x46fa7a(_0x39fef9,_0x41d180,_0x3e0639):(_0x2103eb===void 0x0?_0x46fa7a(_0x3e0639,_0x41d180,!0x0):_0x36dc92?_0x46fa7a(_0x3e0639,_0x2103eb,_0x41d180['replace'](/\\/g,'')):_0x46fa7a(_0x3e0639,_0x2103eb,_0x41d180),_0x46fa7a(_0x39fef9,_0x406734,_0x3e0639)),_0x39fef9;}function _0x38586d(_0x1a589b){const _0x29b39f=_0x3c64;return Object['keys'](_0x1a589b)['map'](_0x975164=>{const _0x33d837=_0x3c64;let _0x4dd6ac=_0x1a589b[_0x975164];return Array[_0x33d837(0x211)](_0x4dd6ac)||(_0x4dd6ac=[_0x4dd6ac]),_0x4dd6ac['map'](_0xb12f68=>[_0x975164][_0x33d837(0x1cf)](Object[_0x33d837(0x86)](_0xb12f68)[_0x33d837(0x1c2)](_0x160f4f=>{const _0x6261b3=_0x33d837;let _0x250cd2=_0xb12f68[_0x160f4f];return Array[_0x6261b3(0x211)](_0x250cd2)||(_0x250cd2=[_0x250cd2]),_0x250cd2['map'](_0x3e7562=>_0x3e7562===!0x0?_0x160f4f:_0x160f4f+'='+_0x3e7562)[_0x6261b3(0x218)](';\x20');}))['join'](';\x20'))[_0x33d837(0x218)](',\x20');})[_0x29b39f(0x218)](',\x20');}return be={'format':_0x38586d,'parse':_0x2f8616},be;}var we,st;function Ie(){const _0x1db7bb=_0x56fa89;if(st)return we;st=0x1;const _0xebd535=_0x7fa1df,_0xe994ed=_0x167805,_0x4a7af5=_0x18e58e,_0x4a7356=_0x36dbfe,_0xeabfa2=_0x11288f,{randomBytes:_0x4af173,createHash:_0x56a914}=_0x4b0b4b,{Duplex:_0x1b17dd,Readable:_0x3f14f7}=_0xeca166,{URL:_0x318247}=_0xc424,_0x279f7e=he(),_0x43b294=dt(),_0x38a0e7=_t(),{isBlob:_0x68c794}=ne(),{BINARY_TYPES:_0x426d13,EMPTY_BUFFER:_0xf63f,GUID:_0x253988,kForOnEventAttribute:_0x1ab871,kListener:_0x41949,kStatusCode:_0x4573e6,kWebSocket:_0x2be2bf,NOOP:_0x519d6a}=V(),{EventTarget:{addEventListener:_0x1fe481,removeEventListener:_0x32f2fe}}=Kt(),{format:_0x2a3f27,parse:_0xaa47f}=pt(),{toBuffer:_0x4dce43}=ce(),_0xf37d2d=0x1e*0x3e8,_0x551339=Symbol(_0x1db7bb(0x163)),_0x573609=[0x8,0xd],_0x503f52=[_0x1db7bb(0x82),_0x1db7bb(0x9c),_0x1db7bb(0xe0),_0x1db7bb(0x113)],_0x481f48=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x57abbf extends _0xebd535{constructor(_0x721abb,_0x32c4f5,_0x5975e1){const _0x398c21=_0x1db7bb;super(),this[_0x398c21(0x20e)]=_0x426d13[0x0],this[_0x398c21(0x137)]=0x3ee,this[_0x398c21(0xa7)]=!0x1,this['_closeFrameSent']=!0x1,this[_0x398c21(0xae)]=_0xf63f,this[_0x398c21(0x1f7)]=null,this[_0x398c21(0x83)]=!0x1,this[_0x398c21(0x180)]={},this[_0x398c21(0x1d9)]=!0x1,this[_0x398c21(0x1f1)]='',this[_0x398c21(0x1ee)]=_0x57abbf[_0x398c21(0x82)],this[_0x398c21(0x97)]=null,this[_0x398c21(0x96)]=null,this[_0x398c21(0x108)]=null,_0x721abb!==null?(this[_0x398c21(0x194)]=0x0,this[_0x398c21(0x11f)]=!0x1,this[_0x398c21(0x13f)]=0x0,_0x32c4f5===void 0x0?_0x32c4f5=[]:Array[_0x398c21(0x211)](_0x32c4f5)||(typeof _0x32c4f5=='object'&&_0x32c4f5!==null?(_0x5975e1=_0x32c4f5,_0x32c4f5=[]):_0x32c4f5=[_0x32c4f5]),_0xe20b5d(this,_0x721abb,_0x32c4f5,_0x5975e1)):(this[_0x398c21(0x1a6)]=_0x5975e1[_0x398c21(0x1a9)],this['_isServer']=!0x0);}get[_0x1db7bb(0xdc)](){const _0x4feca2=_0x1db7bb;return this[_0x4feca2(0x20e)];}set[_0x1db7bb(0xdc)](_0x101877){const _0x17be89=_0x1db7bb;_0x426d13[_0x17be89(0xbf)](_0x101877)&&(this[_0x17be89(0x20e)]=_0x101877,this[_0x17be89(0x97)]&&(this['_receiver'][_0x17be89(0x20e)]=_0x101877));}get[_0x1db7bb(0x104)](){const _0x80358f=_0x1db7bb;return this[_0x80358f(0x108)]?this[_0x80358f(0x108)][_0x80358f(0x21d)][_0x80358f(0x9a)]+this[_0x80358f(0x96)][_0x80358f(0x1e3)]:this['_bufferedAmount'];}get[_0x1db7bb(0x9d)](){const _0x74613e=_0x1db7bb;return Object[_0x74613e(0x86)](this[_0x74613e(0x180)])['join']();}get[_0x1db7bb(0x226)](){const _0x2eb3ee=_0x1db7bb;return this[_0x2eb3ee(0x1d9)];}get['onclose'](){return null;}get[_0x1db7bb(0x165)](){return null;}get[_0x1db7bb(0x16c)](){return null;}get[_0x1db7bb(0xe2)](){return null;}get[_0x1db7bb(0x10d)](){return this['_protocol'];}get[_0x1db7bb(0x1aa)](){return this['_readyState'];}get[_0x1db7bb(0x18e)](){const _0x3358e4=_0x1db7bb;return this[_0x3358e4(0xb8)];}['setSocket'](_0x11670c,_0xdbc090,_0x321859){const _0x12e92b=_0x1db7bb,_0x2b9ef4=new _0x43b294({'allowSynchronousEvents':_0x321859[_0x12e92b(0x161)],'binaryType':this[_0x12e92b(0xdc)],'extensions':this[_0x12e92b(0x180)],'isServer':this[_0x12e92b(0x11f)],'maxPayload':_0x321859['maxPayload'],'skipUTF8Validation':_0x321859[_0x12e92b(0x116)]}),_0x23f32f=new _0x38a0e7(_0x11670c,this[_0x12e92b(0x180)],_0x321859[_0x12e92b(0x105)]);this[_0x12e92b(0x97)]=_0x2b9ef4,this[_0x12e92b(0x96)]=_0x23f32f,this[_0x12e92b(0x108)]=_0x11670c,_0x2b9ef4[_0x2be2bf]=this,_0x23f32f[_0x2be2bf]=this,_0x11670c[_0x2be2bf]=this,_0x2b9ef4['on'](_0x12e92b(0xf3),_0x24244a),_0x2b9ef4['on'](_0x12e92b(0x7c),_0x2f765f),_0x2b9ef4['on'](_0x12e92b(0xe9),_0x5e9893),_0x2b9ef4['on']('message',_0x3839b8),_0x2b9ef4['on'](_0x12e92b(0x114),_0x4cf88d),_0x2b9ef4['on']('pong',_0x2f0b03),_0x23f32f[_0x12e92b(0x165)]=_0x41a2de,_0x11670c[_0x12e92b(0x1ab)]&&_0x11670c['setTimeout'](0x0),_0x11670c[_0x12e92b(0xc9)]&&_0x11670c[_0x12e92b(0xc9)](),_0xdbc090[_0x12e92b(0x9a)]>0x0&&_0x11670c[_0x12e92b(0xe6)](_0xdbc090),_0x11670c['on']('close',_0x3da764),_0x11670c['on']('data',_0xed9ed7),_0x11670c['on'](_0x12e92b(0x1da),_0x1c427e),_0x11670c['on']('error',_0x5aa972),this['_readyState']=_0x57abbf['OPEN'],this['emit'](_0x12e92b(0x154));}[_0x1db7bb(0xf4)](){const _0x24800d=_0x1db7bb;if(!this[_0x24800d(0x108)]){this[_0x24800d(0x1ee)]=_0x57abbf[_0x24800d(0x113)],this[_0x24800d(0x1ae)](_0x24800d(0x11d),this[_0x24800d(0x137)],this[_0x24800d(0xae)]);return;}this[_0x24800d(0x180)][_0x279f7e['extensionName']]&&this[_0x24800d(0x180)][_0x279f7e[_0x24800d(0x169)]][_0x24800d(0xc0)](),this[_0x24800d(0x97)][_0x24800d(0x1ea)](),this[_0x24800d(0x1ee)]=_0x57abbf[_0x24800d(0x113)],this[_0x24800d(0x1ae)](_0x24800d(0x11d),this[_0x24800d(0x137)],this['_closeMessage']);}['close'](_0x38da50,_0x1eb1da){const _0x53e00e=_0x1db7bb;if(this[_0x53e00e(0x1aa)]!==_0x57abbf[_0x53e00e(0x113)]){if(this['readyState']===_0x57abbf['CONNECTING']){_0x5b5880(this,this[_0x53e00e(0x145)],_0x53e00e(0xff));return;}if(this[_0x53e00e(0x1aa)]===_0x57abbf[_0x53e00e(0xe0)]){this[_0x53e00e(0x1cb)]&&(this[_0x53e00e(0xa7)]||this[_0x53e00e(0x97)]['_writableState']['errorEmitted'])&&this['_socket']['end']();return;}this[_0x53e00e(0x1ee)]=_0x57abbf[_0x53e00e(0xe0)],this['_sender'][_0x53e00e(0x11d)](_0x38da50,_0x1eb1da,!this[_0x53e00e(0x11f)],_0x354bc1=>{const _0x2d341d=_0x53e00e;_0x354bc1||(this[_0x2d341d(0x1cb)]=!0x0,(this['_closeFrameReceived']||this[_0x2d341d(0x97)][_0x2d341d(0x21d)]['errorEmitted'])&&this[_0x2d341d(0x108)]['end']());}),_0x123073(this);}}[_0x1db7bb(0x16f)](){const _0x458b05=_0x1db7bb;this[_0x458b05(0x1aa)]===_0x57abbf[_0x458b05(0x82)]||this['readyState']===_0x57abbf[_0x458b05(0x113)]||(this[_0x458b05(0x1d9)]=!0x0,this[_0x458b05(0x108)][_0x458b05(0x16f)]());}[_0x1db7bb(0x114)](_0x5f3505,_0x1740bf,_0x27e013){const _0x3ac5a8=_0x1db7bb;if(this['readyState']===_0x57abbf[_0x3ac5a8(0x82)])throw new Error(_0x3ac5a8(0x158));if(typeof _0x5f3505==_0x3ac5a8(0x135)?(_0x27e013=_0x5f3505,_0x5f3505=_0x1740bf=void 0x0):typeof _0x1740bf==_0x3ac5a8(0x135)&&(_0x27e013=_0x1740bf,_0x1740bf=void 0x0),typeof _0x5f3505==_0x3ac5a8(0x21e)&&(_0x5f3505=_0x5f3505[_0x3ac5a8(0xdb)]()),this[_0x3ac5a8(0x1aa)]!==_0x57abbf[_0x3ac5a8(0x9c)]){_0x4334d5(this,_0x5f3505,_0x27e013);return;}_0x1740bf===void 0x0&&(_0x1740bf=!this[_0x3ac5a8(0x11f)]),this[_0x3ac5a8(0x96)][_0x3ac5a8(0x114)](_0x5f3505||_0xf63f,_0x1740bf,_0x27e013);}[_0x1db7bb(0x156)](_0x307a49,_0x972c92,_0x297b6e){const _0x47fd29=_0x1db7bb;if(this[_0x47fd29(0x1aa)]===_0x57abbf[_0x47fd29(0x82)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x307a49==_0x47fd29(0x135)?(_0x297b6e=_0x307a49,_0x307a49=_0x972c92=void 0x0):typeof _0x972c92==_0x47fd29(0x135)&&(_0x297b6e=_0x972c92,_0x972c92=void 0x0),typeof _0x307a49==_0x47fd29(0x21e)&&(_0x307a49=_0x307a49[_0x47fd29(0xdb)]()),this[_0x47fd29(0x1aa)]!==_0x57abbf['OPEN']){_0x4334d5(this,_0x307a49,_0x297b6e);return;}_0x972c92===void 0x0&&(_0x972c92=!this['_isServer']),this[_0x47fd29(0x96)][_0x47fd29(0x156)](_0x307a49||_0xf63f,_0x972c92,_0x297b6e);}['resume'](){const _0xaed5b4=_0x1db7bb;this[_0xaed5b4(0x1aa)]===_0x57abbf[_0xaed5b4(0x82)]||this[_0xaed5b4(0x1aa)]===_0x57abbf[_0xaed5b4(0x113)]||(this[_0xaed5b4(0x1d9)]=!0x1,this[_0xaed5b4(0x97)][_0xaed5b4(0x21d)][_0xaed5b4(0x142)]||this[_0xaed5b4(0x108)][_0xaed5b4(0xfc)]());}[_0x1db7bb(0x8c)](_0x4c3279,_0x66c43f,_0x2f6cc9){const _0x5569b1=_0x1db7bb;if(this[_0x5569b1(0x1aa)]===_0x57abbf[_0x5569b1(0x82)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x66c43f=='function'&&(_0x2f6cc9=_0x66c43f,_0x66c43f={}),typeof _0x4c3279==_0x5569b1(0x21e)&&(_0x4c3279=_0x4c3279[_0x5569b1(0xdb)]()),this['readyState']!==_0x57abbf[_0x5569b1(0x9c)]){_0x4334d5(this,_0x4c3279,_0x2f6cc9);return;}const _0x44ec8d={'binary':typeof _0x4c3279!='string','mask':!this[_0x5569b1(0x11f)],'compress':!0x0,'fin':!0x0,..._0x66c43f};this[_0x5569b1(0x180)][_0x279f7e[_0x5569b1(0x169)]]||(_0x44ec8d[_0x5569b1(0x159)]=!0x1),this[_0x5569b1(0x96)][_0x5569b1(0x8c)](_0x4c3279||_0xf63f,_0x44ec8d,_0x2f6cc9);}[_0x1db7bb(0x78)](){const _0x5c0d7e=_0x1db7bb;if(this[_0x5c0d7e(0x1aa)]!==_0x57abbf[_0x5c0d7e(0x113)]){if(this[_0x5c0d7e(0x1aa)]===_0x57abbf[_0x5c0d7e(0x82)]){_0x5b5880(this,this[_0x5c0d7e(0x145)],_0x5c0d7e(0xff));return;}this[_0x5c0d7e(0x108)]&&(this[_0x5c0d7e(0x1ee)]=_0x57abbf[_0x5c0d7e(0xe0)],this['_socket'][_0x5c0d7e(0x7e)]());}}}Object[_0x1db7bb(0x1b3)](_0x57abbf,_0x1db7bb(0x82),{'enumerable':!0x0,'value':_0x503f52[_0x1db7bb(0x1c3)]('CONNECTING')}),Object[_0x1db7bb(0x1b3)](_0x57abbf[_0x1db7bb(0xa0)],'CONNECTING',{'enumerable':!0x0,'value':_0x503f52['indexOf']('CONNECTING')}),Object['defineProperty'](_0x57abbf,_0x1db7bb(0x9c),{'enumerable':!0x0,'value':_0x503f52[_0x1db7bb(0x1c3)](_0x1db7bb(0x9c))}),Object[_0x1db7bb(0x1b3)](_0x57abbf[_0x1db7bb(0xa0)],_0x1db7bb(0x9c),{'enumerable':!0x0,'value':_0x503f52[_0x1db7bb(0x1c3)](_0x1db7bb(0x9c))}),Object[_0x1db7bb(0x1b3)](_0x57abbf,'CLOSING',{'enumerable':!0x0,'value':_0x503f52[_0x1db7bb(0x1c3)]('CLOSING')}),Object[_0x1db7bb(0x1b3)](_0x57abbf[_0x1db7bb(0xa0)],'CLOSING',{'enumerable':!0x0,'value':_0x503f52[_0x1db7bb(0x1c3)](_0x1db7bb(0xe0))}),Object['defineProperty'](_0x57abbf,_0x1db7bb(0x113),{'enumerable':!0x0,'value':_0x503f52['indexOf'](_0x1db7bb(0x113))}),Object[_0x1db7bb(0x1b3)](_0x57abbf['prototype'],_0x1db7bb(0x113),{'enumerable':!0x0,'value':_0x503f52[_0x1db7bb(0x1c3)](_0x1db7bb(0x113))}),[_0x1db7bb(0xdc),_0x1db7bb(0x104),_0x1db7bb(0x9d),_0x1db7bb(0x226),'protocol',_0x1db7bb(0x1aa),_0x1db7bb(0x18e)]['forEach'](_0x3dc424=>{const _0x295429=_0x1db7bb;Object[_0x295429(0x1b3)](_0x57abbf[_0x295429(0xa0)],_0x3dc424,{'enumerable':!0x0});}),['open',_0x1db7bb(0xe9),_0x1db7bb(0x11d),_0x1db7bb(0x89)][_0x1db7bb(0x20c)](_0x121099=>{const _0x2713b6=_0x1db7bb;Object['defineProperty'](_0x57abbf[_0x2713b6(0xa0)],'on'+_0x121099,{'enumerable':!0x0,'get'(){const _0x231eec=_0x2713b6;for(const _0x5cd4a3 of this[_0x231eec(0x19a)](_0x121099))if(_0x5cd4a3[_0x1ab871])return _0x5cd4a3[_0x41949];return null;},'set'(_0x2739f2){const _0x4a5e93=_0x2713b6;for(const _0x4a3c2d of this['listeners'](_0x121099))if(_0x4a3c2d[_0x1ab871]){this[_0x4a5e93(0x21b)](_0x121099,_0x4a3c2d);break;}typeof _0x2739f2==_0x4a5e93(0x135)&&this[_0x4a5e93(0x129)](_0x121099,_0x2739f2,{[_0x1ab871]:!0x0});}});}),_0x57abbf['prototype']['addEventListener']=_0x1fe481,_0x57abbf[_0x1db7bb(0xa0)][_0x1db7bb(0x1d0)]=_0x32f2fe,we=_0x57abbf;function _0xe20b5d(_0x156520,_0x8af514,_0x283491,_0x20e016){const _0x329895=_0x1db7bb,_0x2f9ec1={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x573609[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x20e016,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x329895(0xd0),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x156520['_autoPong']=_0x2f9ec1['autoPong'],!_0x573609[_0x329895(0xbf)](_0x2f9ec1['protocolVersion']))throw new RangeError(_0x329895(0x1ec)+_0x2f9ec1[_0x329895(0x134)]+_0x329895(0x11c)+_0x573609['join'](',\x20')+')');let _0x1ce03d;if(_0x8af514 instanceof _0x318247)_0x1ce03d=_0x8af514;else try{_0x1ce03d=new _0x318247(_0x8af514);}catch{throw new SyntaxError(_0x329895(0xec)+_0x8af514);}_0x1ce03d[_0x329895(0x10d)]===_0x329895(0xf5)?_0x1ce03d[_0x329895(0x10d)]=_0x329895(0x219):_0x1ce03d[_0x329895(0x10d)]===_0x329895(0x87)&&(_0x1ce03d[_0x329895(0x10d)]=_0x329895(0x136)),_0x156520['_url']=_0x1ce03d['href'];const _0x196284=_0x1ce03d[_0x329895(0x10d)]===_0x329895(0x136),_0x27fdff=_0x1ce03d['protocol']===_0x329895(0x172);let _0x57ed31;if(_0x1ce03d[_0x329895(0x10d)]!==_0x329895(0x219)&&!_0x196284&&!_0x27fdff?_0x57ed31='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':_0x27fdff&&!_0x1ce03d[_0x329895(0xdd)]?_0x57ed31=_0x329895(0x1e6):_0x1ce03d[_0x329895(0x15e)]&&(_0x57ed31=_0x329895(0x14e)),_0x57ed31){const _0x119338=new SyntaxError(_0x57ed31);if(_0x156520[_0x329895(0x13f)]===0x0)throw _0x119338;_0x16e4f0(_0x156520,_0x119338);return;}const _0x47a233=_0x196284?0x1bb:0x50,_0x31012f=_0x4af173(0x10)['toString'](_0x329895(0xa2)),_0x3c44e2=_0x196284?_0xe994ed[_0x329895(0x185)]:_0x4a7af5[_0x329895(0x185)],_0x32839c=new Set();let _0x419028;if(_0x2f9ec1['createConnection']=_0x2f9ec1[_0x329895(0x167)]||(_0x196284?_0x3bdebd:_0x1c016f),_0x2f9ec1[_0x329895(0x1c1)]=_0x2f9ec1[_0x329895(0x1c1)]||_0x47a233,_0x2f9ec1[_0x329895(0x168)]=_0x1ce03d['port']||_0x47a233,_0x2f9ec1[_0x329895(0x103)]=_0x1ce03d['hostname'][_0x329895(0x1d7)]('[')?_0x1ce03d[_0x329895(0x1ef)][_0x329895(0x1dd)](0x1,-0x1):_0x1ce03d['hostname'],_0x2f9ec1[_0x329895(0x118)]={..._0x2f9ec1[_0x329895(0x118)],'Sec-WebSocket-Version':_0x2f9ec1[_0x329895(0x134)],'Sec-WebSocket-Key':_0x31012f,'Connection':_0x329895(0xb3),'Upgrade':_0x329895(0x221)},_0x2f9ec1[_0x329895(0x138)]=_0x1ce03d[_0x329895(0xdd)]+_0x1ce03d[_0x329895(0xc7)],_0x2f9ec1[_0x329895(0x8f)]=_0x2f9ec1[_0x329895(0x1af)],_0x2f9ec1[_0x329895(0x1db)]&&(_0x419028=new _0x279f7e(_0x2f9ec1[_0x329895(0x1db)]!==!0x0?_0x2f9ec1[_0x329895(0x1db)]:{},!0x1,_0x2f9ec1[_0x329895(0x149)]),_0x2f9ec1[_0x329895(0x118)][_0x329895(0xa1)]=_0x2a3f27({[_0x279f7e[_0x329895(0x169)]]:_0x419028[_0x329895(0xd2)]()})),_0x283491['length']){for(const _0x1305ef of _0x283491){if(typeof _0x1305ef!='string'||!_0x481f48[_0x329895(0x1dc)](_0x1305ef)||_0x32839c['has'](_0x1305ef))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x32839c[_0x329895(0x1b6)](_0x1305ef);}_0x2f9ec1['headers'][_0x329895(0x21f)]=_0x283491[_0x329895(0x218)](',');}if(_0x2f9ec1[_0x329895(0x12d)]&&(_0x2f9ec1[_0x329895(0x134)]<0xd?_0x2f9ec1[_0x329895(0x118)][_0x329895(0x1ce)]=_0x2f9ec1[_0x329895(0x12d)]:_0x2f9ec1['headers'][_0x329895(0xf1)]=_0x2f9ec1[_0x329895(0x12d)]),(_0x1ce03d[_0x329895(0xb9)]||_0x1ce03d[_0x329895(0x90)])&&(_0x2f9ec1[_0x329895(0x189)]=_0x1ce03d['username']+':'+_0x1ce03d[_0x329895(0x90)]),_0x27fdff){const _0x192e92=_0x2f9ec1[_0x329895(0x138)][_0x329895(0x1a8)](':');_0x2f9ec1['socketPath']=_0x192e92[0x0],_0x2f9ec1[_0x329895(0x138)]=_0x192e92[0x1];}let _0x174059;if(_0x2f9ec1[_0x329895(0x1fe)]){if(_0x156520[_0x329895(0x13f)]===0x0){_0x156520['_originalIpc']=_0x27fdff,_0x156520[_0x329895(0x16e)]=_0x196284,_0x156520['_originalHostOrSocketPath']=_0x27fdff?_0x2f9ec1[_0x329895(0x98)]:_0x1ce03d[_0x329895(0x103)];const _0x37f0d2=_0x20e016&&_0x20e016[_0x329895(0x118)];if(_0x20e016={..._0x20e016,'headers':{}},_0x37f0d2){for(const [_0x1d9d17,_0xc3bf3e]of Object[_0x329895(0xbc)](_0x37f0d2))_0x20e016[_0x329895(0x118)][_0x1d9d17['toLowerCase']()]=_0xc3bf3e;}}else{if(_0x156520[_0x329895(0x110)]('redirect')===0x0){const _0x2f7ec3=_0x27fdff?_0x156520['_originalIpc']?_0x2f9ec1[_0x329895(0x98)]===_0x156520[_0x329895(0x1ff)]:!0x1:_0x156520[_0x329895(0x153)]?!0x1:_0x1ce03d[_0x329895(0x103)]===_0x156520[_0x329895(0x1ff)];(!_0x2f7ec3||_0x156520['_originalSecure']&&!_0x196284)&&(delete _0x2f9ec1[_0x329895(0x118)][_0x329895(0x92)],delete _0x2f9ec1['headers']['cookie'],_0x2f7ec3||delete _0x2f9ec1[_0x329895(0x118)]['host'],_0x2f9ec1['auth']=void 0x0);}}_0x2f9ec1[_0x329895(0x189)]&&!_0x20e016[_0x329895(0x118)]['authorization']&&(_0x20e016[_0x329895(0x118)]['authorization']='Basic\x20'+Buffer['from'](_0x2f9ec1['auth'])['toString'](_0x329895(0xa2))),_0x174059=_0x156520[_0x329895(0x145)]=_0x3c44e2(_0x2f9ec1),_0x156520['_redirects']&&_0x156520['emit'](_0x329895(0xb1),_0x156520['url'],_0x174059);}else _0x174059=_0x156520['_req']=_0x3c44e2(_0x2f9ec1);_0x2f9ec1['timeout']&&_0x174059['on']('timeout',()=>{_0x5b5880(_0x156520,_0x174059,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x174059['on'](_0x329895(0xe9),_0x274060=>{const _0x535ba6=_0x329895;_0x174059===null||_0x174059[_0x551339]||(_0x174059=_0x156520[_0x535ba6(0x145)]=null,_0x16e4f0(_0x156520,_0x274060));}),_0x174059['on']('response',_0x3523a1=>{const _0x388a1a=_0x329895,_0x2a009c=_0x3523a1[_0x388a1a(0x118)]['location'],_0x14195d=_0x3523a1[_0x388a1a(0x7b)];if(_0x2a009c&&_0x2f9ec1[_0x388a1a(0x1fe)]&&_0x14195d>=0x12c&&_0x14195d<0x190){if(++_0x156520[_0x388a1a(0x13f)]>_0x2f9ec1[_0x388a1a(0x80)]){_0x5b5880(_0x156520,_0x174059,_0x388a1a(0x124));return;}_0x174059[_0x388a1a(0xcf)]();let _0x576a48;try{_0x576a48=new _0x318247(_0x2a009c,_0x8af514);}catch{const _0x28e714=new SyntaxError('Invalid\x20URL:\x20'+_0x2a009c);_0x16e4f0(_0x156520,_0x28e714);return;}_0xe20b5d(_0x156520,_0x576a48,_0x283491,_0x20e016);}else _0x156520[_0x388a1a(0x1ae)]('unexpected-response',_0x174059,_0x3523a1)||_0x5b5880(_0x156520,_0x174059,_0x388a1a(0x10b)+_0x3523a1['statusCode']);}),_0x174059['on'](_0x329895(0x13d),(_0x529514,_0x1bde13,_0x2d2f75)=>{const _0x3bc863=_0x329895;if(_0x156520[_0x3bc863(0x1ae)]('upgrade',_0x529514),_0x156520['readyState']!==_0x57abbf[_0x3bc863(0x82)])return;_0x174059=_0x156520['_req']=null;const _0x2682c4=_0x529514['headers'][_0x3bc863(0x13d)];if(_0x2682c4===void 0x0||_0x2682c4[_0x3bc863(0x203)]()!==_0x3bc863(0x221)){_0x5b5880(_0x156520,_0x1bde13,_0x3bc863(0x1a5));return;}const _0x1fb7fa=_0x56a914(_0x3bc863(0x14d))[_0x3bc863(0x17e)](_0x31012f+_0x253988)[_0x3bc863(0x126)](_0x3bc863(0xa2));if(_0x529514[_0x3bc863(0x118)][_0x3bc863(0x12f)]!==_0x1fb7fa){_0x5b5880(_0x156520,_0x1bde13,'Invalid\x20Sec-WebSocket-Accept\x20header');return;}const _0x3d4072=_0x529514[_0x3bc863(0x118)]['sec-websocket-protocol'];let _0x5e191e;if(_0x3d4072!==void 0x0?_0x32839c[_0x3bc863(0xd1)]?_0x32839c[_0x3bc863(0x188)](_0x3d4072)||(_0x5e191e=_0x3bc863(0xee)):_0x5e191e='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0x32839c[_0x3bc863(0xd1)]&&(_0x5e191e=_0x3bc863(0x182)),_0x5e191e){_0x5b5880(_0x156520,_0x1bde13,_0x5e191e);return;}_0x3d4072&&(_0x156520[_0x3bc863(0x1f1)]=_0x3d4072);const _0x4ff0d2=_0x529514[_0x3bc863(0x118)][_0x3bc863(0x225)];if(_0x4ff0d2!==void 0x0){if(!_0x419028){_0x5b5880(_0x156520,_0x1bde13,'Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested');return;}let _0xe81fd6;try{_0xe81fd6=_0xaa47f(_0x4ff0d2);}catch{_0x5b5880(_0x156520,_0x1bde13,_0x3bc863(0x144));return;}const _0x58db2e=Object['keys'](_0xe81fd6);if(_0x58db2e[_0x3bc863(0x9a)]!==0x1||_0x58db2e[0x0]!==_0x279f7e[_0x3bc863(0x169)]){_0x5b5880(_0x156520,_0x1bde13,_0x3bc863(0x133));return;}try{_0x419028[_0x3bc863(0xd6)](_0xe81fd6[_0x279f7e['extensionName']]);}catch{_0x5b5880(_0x156520,_0x1bde13,_0x3bc863(0x144));return;}_0x156520[_0x3bc863(0x180)][_0x279f7e[_0x3bc863(0x169)]]=_0x419028;}_0x156520['setSocket'](_0x1bde13,_0x2d2f75,{'allowSynchronousEvents':_0x2f9ec1[_0x3bc863(0x161)],'generateMask':_0x2f9ec1['generateMask'],'maxPayload':_0x2f9ec1[_0x3bc863(0x149)],'skipUTF8Validation':_0x2f9ec1['skipUTF8Validation']});}),_0x2f9ec1[_0x329895(0x93)]?_0x2f9ec1[_0x329895(0x93)](_0x174059,_0x156520):_0x174059[_0x329895(0x1da)]();}function _0x16e4f0(_0x45287c,_0x18b57f){const _0x214c02=_0x1db7bb;_0x45287c[_0x214c02(0x1ee)]=_0x57abbf[_0x214c02(0xe0)],_0x45287c[_0x214c02(0x83)]=!0x0,_0x45287c[_0x214c02(0x1ae)]('error',_0x18b57f),_0x45287c[_0x214c02(0xf4)]();}function _0x1c016f(_0x1ef8fd){const _0x1363bc=_0x1db7bb;return _0x1ef8fd[_0x1363bc(0x138)]=_0x1ef8fd[_0x1363bc(0x98)],_0x4a7356[_0x1363bc(0x18c)](_0x1ef8fd);}function _0x3bdebd(_0x20d4fd){const _0x1420a5=_0x1db7bb;return _0x20d4fd['path']=void 0x0,!_0x20d4fd[_0x1420a5(0x181)]&&_0x20d4fd[_0x1420a5(0x181)]!==''&&(_0x20d4fd[_0x1420a5(0x181)]=_0x4a7356['isIP'](_0x20d4fd[_0x1420a5(0x103)])?'':_0x20d4fd['host']),_0xeabfa2[_0x1420a5(0x18c)](_0x20d4fd);}function _0x5b5880(_0x45563e,_0x3eb32b,_0x5253e1){const _0x47d648=_0x1db7bb;_0x45563e[_0x47d648(0x1ee)]=_0x57abbf[_0x47d648(0xe0)];const _0x9b320e=new Error(_0x5253e1);Error[_0x47d648(0x1e2)](_0x9b320e,_0x5b5880),_0x3eb32b[_0x47d648(0xc4)]?(_0x3eb32b[_0x551339]=!0x0,_0x3eb32b[_0x47d648(0xcf)](),_0x3eb32b[_0x47d648(0x115)]&&!_0x3eb32b['socket']['destroyed']&&_0x3eb32b[_0x47d648(0x115)][_0x47d648(0x7e)](),process[_0x47d648(0x9f)](_0x16e4f0,_0x45563e,_0x9b320e)):(_0x3eb32b[_0x47d648(0x7e)](_0x9b320e),_0x3eb32b[_0x47d648(0x1d3)](_0x47d648(0xe9),_0x45563e[_0x47d648(0x1ae)][_0x47d648(0x162)](_0x45563e,_0x47d648(0xe9))),_0x3eb32b['once'](_0x47d648(0x11d),_0x45563e[_0x47d648(0xf4)][_0x47d648(0x162)](_0x45563e)));}function _0x4334d5(_0x43013e,_0x41f688,_0x381537){const _0x460243=_0x1db7bb;if(_0x41f688){const _0x27de62=_0x68c794(_0x41f688)?_0x41f688[_0x460243(0xd1)]:_0x4dce43(_0x41f688)[_0x460243(0x9a)];_0x43013e[_0x460243(0x108)]?_0x43013e[_0x460243(0x96)]['_bufferedBytes']+=_0x27de62:_0x43013e['_bufferedAmount']+=_0x27de62;}if(_0x381537){const _0xf782f5=new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x20'+_0x43013e['readyState']+'\x20('+_0x503f52[_0x43013e['readyState']]+')');process['nextTick'](_0x381537,_0xf782f5);}}function _0x24244a(_0x42fe8b,_0x4d2b93){const _0x463b8b=_0x1db7bb,_0x20b77b=this[_0x2be2bf];_0x20b77b[_0x463b8b(0xa7)]=!0x0,_0x20b77b[_0x463b8b(0xae)]=_0x4d2b93,_0x20b77b[_0x463b8b(0x137)]=_0x42fe8b,_0x20b77b['_socket'][_0x2be2bf]!==void 0x0&&(_0x20b77b[_0x463b8b(0x108)][_0x463b8b(0x21b)]('data',_0xed9ed7),process[_0x463b8b(0x9f)](_0x32d27a,_0x20b77b['_socket']),_0x42fe8b===0x3ed?_0x20b77b['close']():_0x20b77b['close'](_0x42fe8b,_0x4d2b93));}function _0x2f765f(){const _0x29869e=_0x1db7bb,_0x2fc250=this[_0x2be2bf];_0x2fc250[_0x29869e(0x226)]||_0x2fc250[_0x29869e(0x108)][_0x29869e(0xfc)]();}function _0x5e9893(_0x40dcd0){const _0x27abec=_0x1db7bb,_0x21534e=this[_0x2be2bf];_0x21534e[_0x27abec(0x108)][_0x2be2bf]!==void 0x0&&(_0x21534e[_0x27abec(0x108)][_0x27abec(0x21b)](_0x27abec(0x209),_0xed9ed7),process[_0x27abec(0x9f)](_0x32d27a,_0x21534e[_0x27abec(0x108)]),_0x21534e[_0x27abec(0x11d)](_0x40dcd0[_0x4573e6])),_0x21534e['_errorEmitted']||(_0x21534e[_0x27abec(0x83)]=!0x0,_0x21534e[_0x27abec(0x1ae)](_0x27abec(0xe9),_0x40dcd0));}function _0x3cf449(){this[_0x2be2bf]['emitClose']();}function _0x3839b8(_0x13ae4e,_0x350ec0){const _0x506734=_0x1db7bb;this[_0x2be2bf][_0x506734(0x1ae)](_0x506734(0x89),_0x13ae4e,_0x350ec0);}function _0x4cf88d(_0xe92f7f){const _0x47eaa4=_0x1db7bb,_0x188683=this[_0x2be2bf];_0x188683[_0x47eaa4(0x1a6)]&&_0x188683[_0x47eaa4(0x156)](_0xe92f7f,!this[_0x47eaa4(0x11f)],_0x519d6a),_0x188683[_0x47eaa4(0x1ae)](_0x47eaa4(0x114),_0xe92f7f);}function _0x2f0b03(_0x51c491){const _0x372314=_0x1db7bb;this[_0x2be2bf][_0x372314(0x1ae)]('pong',_0x51c491);}function _0x32d27a(_0x66eb40){_0x66eb40['resume']();}function _0x41a2de(_0x435539){const _0x37b217=_0x1db7bb,_0x3dfcd5=this[_0x2be2bf];_0x3dfcd5[_0x37b217(0x1aa)]!==_0x57abbf[_0x37b217(0x113)]&&(_0x3dfcd5[_0x37b217(0x1aa)]===_0x57abbf[_0x37b217(0x9c)]&&(_0x3dfcd5[_0x37b217(0x1ee)]=_0x57abbf[_0x37b217(0xe0)],_0x123073(_0x3dfcd5)),this[_0x37b217(0x108)][_0x37b217(0x1da)](),_0x3dfcd5[_0x37b217(0x83)]||(_0x3dfcd5[_0x37b217(0x83)]=!0x0,_0x3dfcd5['emit'](_0x37b217(0xe9),_0x435539)));}function _0x123073(_0x303baa){const _0x29a0d2=_0x1db7bb;_0x303baa[_0x29a0d2(0x1f7)]=setTimeout(_0x303baa[_0x29a0d2(0x108)]['destroy'][_0x29a0d2(0x162)](_0x303baa['_socket']),_0xf37d2d);}function _0x3da764(){const _0x49c70c=_0x1db7bb,_0x22eb24=this[_0x2be2bf];this[_0x49c70c(0x21b)]('close',_0x3da764),this['removeListener'](_0x49c70c(0x209),_0xed9ed7),this[_0x49c70c(0x21b)](_0x49c70c(0x1da),_0x1c427e),_0x22eb24[_0x49c70c(0x1ee)]=_0x57abbf['CLOSING'];let _0x31c407;!this[_0x49c70c(0xca)][_0x49c70c(0x120)]&&!_0x22eb24[_0x49c70c(0xa7)]&&!_0x22eb24[_0x49c70c(0x97)][_0x49c70c(0x21d)][_0x49c70c(0x206)]&&(_0x31c407=_0x22eb24[_0x49c70c(0x108)]['read']())!==null&&_0x22eb24[_0x49c70c(0x97)][_0x49c70c(0xfb)](_0x31c407),_0x22eb24[_0x49c70c(0x97)][_0x49c70c(0x1da)](),this[_0x2be2bf]=void 0x0,clearTimeout(_0x22eb24[_0x49c70c(0x1f7)]),_0x22eb24[_0x49c70c(0x97)]['_writableState']['finished']||_0x22eb24['_receiver'][_0x49c70c(0x21d)][_0x49c70c(0x206)]?_0x22eb24[_0x49c70c(0xf4)]():(_0x22eb24[_0x49c70c(0x97)]['on']('error',_0x3cf449),_0x22eb24[_0x49c70c(0x97)]['on'](_0x49c70c(0x17b),_0x3cf449));}function _0xed9ed7(_0x4cfa6b){const _0x32ce2e=_0x1db7bb;this[_0x2be2bf][_0x32ce2e(0x97)][_0x32ce2e(0xfb)](_0x4cfa6b)||this[_0x32ce2e(0x16f)]();}function _0x1c427e(){const _0x2c0afc=_0x1db7bb,_0x570dd8=this[_0x2be2bf];_0x570dd8[_0x2c0afc(0x1ee)]=_0x57abbf[_0x2c0afc(0xe0)],_0x570dd8[_0x2c0afc(0x97)][_0x2c0afc(0x1da)](),this['end']();}function _0x5aa972(){const _0x2a2fa5=_0x1db7bb,_0x3b4c7a=this[_0x2be2bf];this[_0x2a2fa5(0x21b)](_0x2a2fa5(0xe9),_0x5aa972),this['on'](_0x2a2fa5(0xe9),_0x519d6a),_0x3b4c7a&&(_0x3b4c7a['_readyState']=_0x57abbf[_0x2a2fa5(0xe0)],this[_0x2a2fa5(0x7e)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x19edd2}=_0xeca166;function _0x52b0cb(_0xc9d9b3){const _0x160805=_0x3c64;_0xc9d9b3[_0x160805(0x1ae)](_0x160805(0x11d));}function _0x4561a1(){const _0xe3289b=_0x3c64;!this['destroyed']&&this[_0xe3289b(0x21d)][_0xe3289b(0xb2)]&&this[_0xe3289b(0x7e)]();}function _0x5bb5f2(_0x4b109b){const _0x255dc0=_0x3c64;this[_0x255dc0(0x21b)]('error',_0x5bb5f2),this[_0x255dc0(0x7e)](),this[_0x255dc0(0x110)]('error')===0x0&&this[_0x255dc0(0x1ae)](_0x255dc0(0xe9),_0x4b109b);}function _0x5c95fe(_0x389823,_0x2cf69c){const _0x5330b8=_0x3c64;let _0xa2dc51=!0x0;const _0x47657f=new _0x19edd2({..._0x2cf69c,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x389823['on'](_0x5330b8(0x89),function(_0x3820c7,_0x3314c2){const _0x1d47ee=_0x5330b8,_0x41aaf8=!_0x3314c2&&_0x47657f[_0x1d47ee(0xca)]['objectMode']?_0x3820c7['toString']():_0x3820c7;_0x47657f['push'](_0x41aaf8)||_0x389823[_0x1d47ee(0x16f)]();}),_0x389823[_0x5330b8(0x1d3)](_0x5330b8(0xe9),function(_0x12fbad){const _0x4a2f07=_0x5330b8;_0x47657f[_0x4a2f07(0x8b)]||(_0xa2dc51=!0x1,_0x47657f[_0x4a2f07(0x7e)](_0x12fbad));}),_0x389823[_0x5330b8(0x1d3)](_0x5330b8(0x11d),function(){const _0x23a6d4=_0x5330b8;_0x47657f[_0x23a6d4(0x8b)]||_0x47657f[_0x23a6d4(0x19e)](null);}),_0x47657f[_0x5330b8(0x147)]=function(_0x2fa339,_0x25e551){const _0x8198ea=_0x5330b8;if(_0x389823[_0x8198ea(0x1aa)]===_0x389823[_0x8198ea(0x113)]){_0x25e551(_0x2fa339),process[_0x8198ea(0x9f)](_0x52b0cb,_0x47657f);return;}let _0x200e3c=!0x1;_0x389823[_0x8198ea(0x1d3)]('error',function(_0x28fc85){_0x200e3c=!0x0,_0x25e551(_0x28fc85);}),_0x389823[_0x8198ea(0x1d3)](_0x8198ea(0x11d),function(){const _0x18416c=_0x8198ea;_0x200e3c||_0x25e551(_0x2fa339),process[_0x18416c(0x9f)](_0x52b0cb,_0x47657f);}),_0xa2dc51&&_0x389823[_0x8198ea(0x78)]();},_0x47657f['_final']=function(_0x4d0860){const _0x3cf2d7=_0x5330b8;if(_0x389823[_0x3cf2d7(0x1aa)]===_0x389823[_0x3cf2d7(0x82)]){_0x389823[_0x3cf2d7(0x1d3)](_0x3cf2d7(0x154),function(){_0x47657f['_final'](_0x4d0860);});return;}_0x389823['_socket']!==null&&(_0x389823[_0x3cf2d7(0x108)][_0x3cf2d7(0x21d)][_0x3cf2d7(0xb2)]?(_0x4d0860(),_0x47657f[_0x3cf2d7(0xca)]['endEmitted']&&_0x47657f['destroy']()):(_0x389823[_0x3cf2d7(0x108)][_0x3cf2d7(0x1d3)](_0x3cf2d7(0x17b),function(){_0x4d0860();}),_0x389823[_0x3cf2d7(0x11d)]()));},_0x47657f[_0x5330b8(0x210)]=function(){const _0x49ad29=_0x5330b8;_0x389823[_0x49ad29(0x226)]&&_0x389823[_0x49ad29(0xfc)]();},_0x47657f[_0x5330b8(0x200)]=function(_0x357f9f,_0x111359,_0x263599){const _0x20ad33=_0x5330b8;if(_0x389823[_0x20ad33(0x1aa)]===_0x389823[_0x20ad33(0x82)]){_0x389823[_0x20ad33(0x1d3)](_0x20ad33(0x154),function(){const _0x3045ef=_0x20ad33;_0x47657f[_0x3045ef(0x200)](_0x357f9f,_0x111359,_0x263599);});return;}_0x389823[_0x20ad33(0x8c)](_0x357f9f,_0x263599);},_0x47657f['on'](_0x5330b8(0x1da),_0x4561a1),_0x47657f['on'](_0x5330b8(0xe9),_0x5bb5f2),_0x47657f;}return Oe=_0x5c95fe,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=jt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x15318c}=ne();function _0x51feed(_0x3538c6){const _0x45d6c9=_0x3c64,_0x8eb2b=new Set();let _0x4fe5a5=-0x1,_0xa740c8=-0x1,_0x6b3df7=0x0;for(_0x6b3df7;_0x6b3df7<_0x3538c6[_0x45d6c9(0x9a)];_0x6b3df7++){const _0x4b1ebd=_0x3538c6['charCodeAt'](_0x6b3df7);if(_0xa740c8===-0x1&&_0x15318c[_0x4b1ebd]===0x1)_0x4fe5a5===-0x1&&(_0x4fe5a5=_0x6b3df7);else{if(_0x6b3df7!==0x0&&(_0x4b1ebd===0x20||_0x4b1ebd===0x9))_0xa740c8===-0x1&&_0x4fe5a5!==-0x1&&(_0xa740c8=_0x6b3df7);else{if(_0x4b1ebd===0x2c){if(_0x4fe5a5===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x6b3df7);_0xa740c8===-0x1&&(_0xa740c8=_0x6b3df7);const _0x2a70cd=_0x3538c6[_0x45d6c9(0x1dd)](_0x4fe5a5,_0xa740c8);if(_0x8eb2b['has'](_0x2a70cd))throw new SyntaxError(_0x45d6c9(0x8a)+_0x2a70cd+_0x45d6c9(0xac));_0x8eb2b[_0x45d6c9(0x1b6)](_0x2a70cd),_0x4fe5a5=_0xa740c8=-0x1;}else throw new SyntaxError(_0x45d6c9(0xed)+_0x6b3df7);}}}if(_0x4fe5a5===-0x1||_0xa740c8!==-0x1)throw new SyntaxError(_0x45d6c9(0x1b2));const _0x34f420=_0x3538c6[_0x45d6c9(0x1dd)](_0x4fe5a5,_0x6b3df7);if(_0x8eb2b['has'](_0x34f420))throw new SyntaxError(_0x45d6c9(0x8a)+_0x34f420+_0x45d6c9(0xac));return _0x8eb2b['add'](_0x34f420),_0x8eb2b;}return Ce={'parse':_0x51feed},Ce;}var Te,ot;function er(){const _0x5f3c26=_0x56fa89;if(ot)return Te;ot=0x1;const _0xfa3229=_0x7fa1df,_0x598285=_0x18e58e,{Duplex:_0x3a633b}=_0xeca166,{createHash:_0x4bb14a}=_0x4b0b4b,_0x3d6c6f=pt(),_0x138b8c=he(),_0x1c7774=Jt(),_0x1f6171=Ie(),{GUID:_0x230b95,kWebSocket:_0x225a65}=V(),_0x1fbe00=/^[+/0-9A-Za-z]{22}==$/,_0x53647f=0x0,_0x443beb=0x1,_0x9eeb30=0x2;class _0x4d695c extends _0xfa3229{constructor(_0x5c8a25,_0x4c02ee){const _0xdf0968=_0x3c64;if(super(),_0x5c8a25={'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':_0x1f6171,..._0x5c8a25},_0x5c8a25[_0xdf0968(0x168)]==null&&!_0x5c8a25['server']&&!_0x5c8a25['noServer']||_0x5c8a25[_0xdf0968(0x168)]!=null&&(_0x5c8a25[_0xdf0968(0x1a2)]||_0x5c8a25[_0xdf0968(0x179)])||_0x5c8a25[_0xdf0968(0x1a2)]&&_0x5c8a25[_0xdf0968(0x179)])throw new TypeError(_0xdf0968(0x21c));if(_0x5c8a25[_0xdf0968(0x168)]!=null?(this[_0xdf0968(0x177)]=_0x598285[_0xdf0968(0x18f)]((_0x3204a6,_0x299794)=>{const _0x44734f=_0xdf0968,_0x53fe89=_0x598285['STATUS_CODES'][0x1aa];_0x299794[_0x44734f(0x13e)](0x1aa,{'Content-Length':_0x53fe89[_0x44734f(0x9a)],'Content-Type':_0x44734f(0xa3)}),_0x299794[_0x44734f(0x1da)](_0x53fe89);}),this[_0xdf0968(0x177)][_0xdf0968(0x14c)](_0x5c8a25[_0xdf0968(0x168)],_0x5c8a25[_0xdf0968(0x103)],_0x5c8a25[_0xdf0968(0x1f9)],_0x4c02ee)):_0x5c8a25[_0xdf0968(0x1a2)]&&(this['_server']=_0x5c8a25[_0xdf0968(0x1a2)]),this['_server']){const _0x5f68ff=this[_0xdf0968(0x1ae)]['bind'](this,_0xdf0968(0x1bd));this[_0xdf0968(0x18a)]=_0x4f3817(this['_server'],{'listening':this[_0xdf0968(0x1ae)][_0xdf0968(0x162)](this,_0xdf0968(0xcc)),'error':this[_0xdf0968(0x1ae)][_0xdf0968(0x162)](this,_0xdf0968(0xe9)),'upgrade':(_0x163de2,_0x5a8aea,_0x136c4c)=>{this['handleUpgrade'](_0x163de2,_0x5a8aea,_0x136c4c,_0x5f68ff);}});}_0x5c8a25[_0xdf0968(0x1db)]===!0x0&&(_0x5c8a25[_0xdf0968(0x1db)]={}),_0x5c8a25[_0xdf0968(0x12a)]&&(this['clients']=new Set(),this[_0xdf0968(0xea)]=!0x1),this[_0xdf0968(0xe5)]=_0x5c8a25,this[_0xdf0968(0xf2)]=_0x53647f;}[_0x5f3c26(0x1bc)](){const _0x46c388=_0x5f3c26;if(this[_0x46c388(0xe5)][_0x46c388(0x179)])throw new Error(_0x46c388(0x1bb));return this[_0x46c388(0x177)]?this['_server'][_0x46c388(0x1bc)]():null;}['close'](_0x191403){const _0x38e17e=_0x5f3c26;if(this['_state']===_0x9eeb30){_0x191403&&this['once']('close',()=>{const _0x3f0861=_0x3c64;_0x191403(new Error(_0x3f0861(0x117)));}),process['nextTick'](_0x5408fa,this);return;}if(_0x191403&&this['once'](_0x38e17e(0x11d),_0x191403),this['_state']!==_0x443beb){if(this[_0x38e17e(0xf2)]=_0x443beb,this['options'][_0x38e17e(0x179)]||this[_0x38e17e(0xe5)][_0x38e17e(0x1a2)])this[_0x38e17e(0x177)]&&(this[_0x38e17e(0x18a)](),this[_0x38e17e(0x18a)]=this['_server']=null),this[_0x38e17e(0x192)]?this[_0x38e17e(0x192)][_0x38e17e(0xd1)]?this[_0x38e17e(0xea)]=!0x0:process[_0x38e17e(0x9f)](_0x5408fa,this):process[_0x38e17e(0x9f)](_0x5408fa,this);else{const _0x4786a8=this[_0x38e17e(0x177)];this[_0x38e17e(0x18a)](),this[_0x38e17e(0x18a)]=this[_0x38e17e(0x177)]=null,_0x4786a8[_0x38e17e(0x11d)](()=>{_0x5408fa(this);});}}}[_0x5f3c26(0xd4)](_0x287951){const _0x679e9d=_0x5f3c26;if(this[_0x679e9d(0xe5)][_0x679e9d(0x138)]){const _0x5a71d9=_0x287951[_0x679e9d(0x18e)][_0x679e9d(0x1c3)]('?');if((_0x5a71d9!==-0x1?_0x287951[_0x679e9d(0x18e)][_0x679e9d(0x1dd)](0x0,_0x5a71d9):_0x287951[_0x679e9d(0x18e)])!==this[_0x679e9d(0xe5)][_0x679e9d(0x138)])return!0x1;}return!0x0;}[_0x5f3c26(0x1b5)](_0x26faeb,_0x2472bb,_0x160e9d,_0x46ecd2){const _0x142747=_0x5f3c26;_0x2472bb['on'](_0x142747(0xe9),_0x2f78e1);const _0x20e83c=_0x26faeb[_0x142747(0x118)][_0x142747(0x171)],_0x571ec4=_0x26faeb[_0x142747(0x118)][_0x142747(0x13d)],_0x5d8c17=+_0x26faeb[_0x142747(0x118)][_0x142747(0x1b4)];if(_0x26faeb[_0x142747(0x1b9)]!=='GET'){_0x2b9326(this,_0x26faeb,_0x2472bb,0x195,_0x142747(0xcd));return;}if(_0x571ec4===void 0x0||_0x571ec4[_0x142747(0x203)]()!==_0x142747(0x221)){_0x2b9326(this,_0x26faeb,_0x2472bb,0x190,'Invalid\x20Upgrade\x20header');return;}if(_0x20e83c===void 0x0||!_0x1fbe00[_0x142747(0x1dc)](_0x20e83c)){_0x2b9326(this,_0x26faeb,_0x2472bb,0x190,_0x142747(0x139));return;}if(_0x5d8c17!==0x8&&_0x5d8c17!==0xd){_0x2b9326(this,_0x26faeb,_0x2472bb,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header');return;}if(!this['shouldHandle'](_0x26faeb)){_0x51a0d8(_0x2472bb,0x190);return;}const _0x50e67b=_0x26faeb[_0x142747(0x118)]['sec-websocket-protocol'];let _0xe7e3e9=new Set();if(_0x50e67b!==void 0x0)try{_0xe7e3e9=_0x1c7774[_0x142747(0x152)](_0x50e67b);}catch{_0x2b9326(this,_0x26faeb,_0x2472bb,0x190,_0x142747(0x1e0));return;}const _0x4d5b92=_0x26faeb[_0x142747(0x118)]['sec-websocket-extensions'],_0x35515a={};if(this[_0x142747(0xe5)]['perMessageDeflate']&&_0x4d5b92!==void 0x0){const _0x5e677f=new _0x138b8c(this[_0x142747(0xe5)]['perMessageDeflate'],!0x0,this[_0x142747(0xe5)][_0x142747(0x149)]);try{const _0x1adb7b=_0x3d6c6f[_0x142747(0x152)](_0x4d5b92);_0x1adb7b[_0x138b8c[_0x142747(0x169)]]&&(_0x5e677f['accept'](_0x1adb7b[_0x138b8c['extensionName']]),_0x35515a[_0x138b8c[_0x142747(0x169)]]=_0x5e677f);}catch{_0x2b9326(this,_0x26faeb,_0x2472bb,0x190,_0x142747(0x1d4));return;}}if(this[_0x142747(0xe5)][_0x142747(0x140)]){const _0x5eb507={'origin':_0x26faeb[_0x142747(0x118)][''+(_0x5d8c17===0x8?_0x142747(0xb0):'origin')],'secure':!!(_0x26faeb[_0x142747(0x115)][_0x142747(0x1c0)]||_0x26faeb[_0x142747(0x115)]['encrypted']),'req':_0x26faeb};if(this[_0x142747(0xe5)][_0x142747(0x140)][_0x142747(0x9a)]===0x2){this[_0x142747(0xe5)][_0x142747(0x140)](_0x5eb507,(_0x4d7ebe,_0x1eaf62,_0x4ee2f4,_0x3843e1)=>{if(!_0x4d7ebe)return _0x51a0d8(_0x2472bb,_0x1eaf62||0x191,_0x4ee2f4,_0x3843e1);this['completeUpgrade'](_0x35515a,_0x20e83c,_0xe7e3e9,_0x26faeb,_0x2472bb,_0x160e9d,_0x46ecd2);});return;}if(!this[_0x142747(0xe5)]['verifyClient'](_0x5eb507))return _0x51a0d8(_0x2472bb,0x191);}this['completeUpgrade'](_0x35515a,_0x20e83c,_0xe7e3e9,_0x26faeb,_0x2472bb,_0x160e9d,_0x46ecd2);}[_0x5f3c26(0xab)](_0x438287,_0x420f56,_0x5379fb,_0x22492c,_0x476cf1,_0x46d3fc,_0x523900){const _0x2b817b=_0x5f3c26;if(!_0x476cf1['readable']||!_0x476cf1['writable'])return _0x476cf1['destroy']();if(_0x476cf1[_0x225a65])throw new Error(_0x2b817b(0x224));if(this['_state']>_0x53647f)return _0x51a0d8(_0x476cf1,0x1f7);const _0x226204=[_0x2b817b(0x166),'Upgrade:\x20websocket',_0x2b817b(0x11b),'Sec-WebSocket-Accept:\x20'+_0x4bb14a(_0x2b817b(0x14d))[_0x2b817b(0x17e)](_0x420f56+_0x230b95)['digest'](_0x2b817b(0xa2))],_0x44dfc7=new this['options'][(_0x2b817b(0x1e5))](null,void 0x0,this[_0x2b817b(0xe5)]);if(_0x5379fb[_0x2b817b(0xd1)]){const _0x5a8e12=this[_0x2b817b(0xe5)][_0x2b817b(0x178)]?this['options'][_0x2b817b(0x178)](_0x5379fb,_0x22492c):_0x5379fb[_0x2b817b(0xaa)]()[_0x2b817b(0x17c)]()[_0x2b817b(0xbd)];_0x5a8e12&&(_0x226204[_0x2b817b(0x19e)]('Sec-WebSocket-Protocol:\x20'+_0x5a8e12),_0x44dfc7[_0x2b817b(0x1f1)]=_0x5a8e12);}if(_0x438287[_0x138b8c[_0x2b817b(0x169)]]){const _0x8df871=_0x438287[_0x138b8c[_0x2b817b(0x169)]][_0x2b817b(0x14f)],_0x5cf3ae=_0x3d6c6f[_0x2b817b(0xc6)]({[_0x138b8c['extensionName']]:[_0x8df871]});_0x226204[_0x2b817b(0x19e)](_0x2b817b(0x1d1)+_0x5cf3ae),_0x44dfc7[_0x2b817b(0x180)]=_0x438287;}this[_0x2b817b(0x1ae)](_0x2b817b(0x118),_0x226204,_0x22492c),_0x476cf1[_0x2b817b(0xfb)](_0x226204['concat']('\x0d\x0a')[_0x2b817b(0x218)]('\x0d\x0a')),_0x476cf1['removeListener']('error',_0x2f78e1),_0x44dfc7[_0x2b817b(0x13a)](_0x476cf1,_0x46d3fc,{'allowSynchronousEvents':this[_0x2b817b(0xe5)][_0x2b817b(0x161)],'maxPayload':this[_0x2b817b(0xe5)][_0x2b817b(0x149)],'skipUTF8Validation':this['options'][_0x2b817b(0x116)]}),this[_0x2b817b(0x192)]&&(this['clients'][_0x2b817b(0x1b6)](_0x44dfc7),_0x44dfc7['on']('close',()=>{const _0x3aa457=_0x2b817b;this[_0x3aa457(0x192)][_0x3aa457(0x17a)](_0x44dfc7),this[_0x3aa457(0xea)]&&!this[_0x3aa457(0x192)][_0x3aa457(0xd1)]&&process[_0x3aa457(0x9f)](_0x5408fa,this);})),_0x523900(_0x44dfc7,_0x22492c);}}Te=_0x4d695c;function _0x4f3817(_0x5c6eb4,_0x8d4923){const _0x15f747=_0x5f3c26;for(const _0x27b2a6 of Object[_0x15f747(0x86)](_0x8d4923))_0x5c6eb4['on'](_0x27b2a6,_0x8d4923[_0x27b2a6]);return function(){const _0x2a1fb9=_0x15f747;for(const _0x36e0c1 of Object[_0x2a1fb9(0x86)](_0x8d4923))_0x5c6eb4[_0x2a1fb9(0x21b)](_0x36e0c1,_0x8d4923[_0x36e0c1]);};}function _0x5408fa(_0x559599){const _0x5db982=_0x5f3c26;_0x559599[_0x5db982(0xf2)]=_0x9eeb30,_0x559599[_0x5db982(0x1ae)]('close');}function _0x2f78e1(){const _0x7172b1=_0x5f3c26;this[_0x7172b1(0x7e)]();}function _0x51a0d8(_0x3b8f85,_0x3b2a09,_0x3522f5,_0x363c88){const _0x41e62d=_0x5f3c26;_0x3522f5=_0x3522f5||_0x598285['STATUS_CODES'][_0x3b2a09],_0x363c88={'Connection':_0x41e62d(0x11d),'Content-Type':_0x41e62d(0x1df),'Content-Length':Buffer['byteLength'](_0x3522f5),..._0x363c88},_0x3b8f85[_0x41e62d(0x1d3)](_0x41e62d(0x17b),_0x3b8f85[_0x41e62d(0x7e)]),_0x3b8f85[_0x41e62d(0x1da)](_0x41e62d(0xd5)+_0x3b2a09+'\x20'+_0x598285[_0x41e62d(0x184)][_0x3b2a09]+'\x0d\x0a'+Object[_0x41e62d(0x86)](_0x363c88)[_0x41e62d(0x1c2)](_0x566930=>_0x566930+':\x20'+_0x363c88[_0x566930])[_0x41e62d(0x218)]('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0x3522f5);}function _0x2b9326(_0x5aeba5,_0x257b98,_0x428fe6,_0x3255b1,_0xcb9409){const _0x4da6e5=_0x5f3c26;if(_0x5aeba5['listenerCount'](_0x4da6e5(0x148))){const _0x245ef8=new Error(_0xcb9409);Error[_0x4da6e5(0x1e2)](_0x245ef8,_0x2b9326),_0x5aeba5[_0x4da6e5(0x1ae)](_0x4da6e5(0x148),_0x245ef8,_0x428fe6,_0x257b98);}else _0x51a0d8(_0x428fe6,_0x3255b1,_0xcb9409);}return Te;}er();var tr=Object['getOwnPropertyDescriptor'],rr=(_0x58d9c0,_0x42c9b6,_0x3f5ee0,_0x13b5f4)=>{const _0x27fbbf=_0x56fa89;for(var _0xf29b6e=_0x13b5f4>0x1?void 0x0:_0x13b5f4?tr(_0x42c9b6,_0x3f5ee0):_0x42c9b6,_0x99efdd=_0x58d9c0[_0x27fbbf(0x9a)]-0x1,_0x360da3;_0x99efdd>=0x0;_0x99efdd--)(_0x360da3=_0x58d9c0[_0x99efdd])&&(_0xf29b6e=_0x360da3(_0xf29b6e)||_0xf29b6e);return _0xf29b6e;},sr=(_0x7e32a0,_0x230f5f)=>(_0x3a7880,_0x278b19)=>_0x230f5f(_0x3a7880,_0x278b19,_0x7e32a0);let Ne=class extends _0x445d2d{constructor(_0x4b170a){const _0x205f08=_0x56fa89;super(),this[_0x205f08(0xe8)]=_0x4b170a;}['createSocket'](_0x15ef1a){const _0x13895c=_0x56fa89;var _0x598e9d;const _0x11cca9=(_0x598e9d=this['_configService']['getConfig'](Be))==null?void 0x0:_0x598e9d[_0x13895c(0x1d5)];try{const _0x3d1885=new Qt(_0x15ef1a,{'headers':{..._0x11cca9}}),_0xfaa22d=new _0x4d108c();return{'URL':_0x15ef1a,'close':(_0x1ba3bf,_0x1ac62a)=>{const _0x46bf23=_0x13895c;_0x3d1885[_0x46bf23(0x11d)](_0x1ba3bf,_0x1ac62a),_0xfaa22d[_0x46bf23(0x122)]();},'send':_0x3ba17f=>{const _0x43e79e=_0x13895c;_0x3d1885[_0x43e79e(0x8c)](_0x3ba17f);},'open$':new _0x5d15d1(_0x240a13=>{const _0x295db8=_0x13895c,_0x13dbd4=_0x2093a2=>_0x240a13['next'](_0x2093a2);_0x3d1885[_0x295db8(0x129)]('open',_0x13dbd4),_0xfaa22d[_0x295db8(0x1b6)](_0x44cecc(()=>_0x3d1885['removeEventListener'](_0x295db8(0x154),_0x13dbd4)));})['pipe'](_0x3a9b3e()),'close$':new _0x5d15d1(_0x4519c1=>{const _0x36b01e=_0x13895c,_0x30dff8=_0x6af30a=>_0x4519c1[_0x36b01e(0x17c)](_0x6af30a);_0x3d1885[_0x36b01e(0x129)](_0x36b01e(0x11d),_0x30dff8),_0xfaa22d[_0x36b01e(0x1b6)](_0x44cecc(()=>_0x3d1885[_0x36b01e(0x1d0)](_0x36b01e(0x11d),_0x30dff8)));})[_0x13895c(0x1c8)](_0x3a9b3e()),'error$':new _0x5d15d1(_0x4c88dc=>{const _0x48a078=_0x13895c,_0x101f2e=_0x525ec6=>_0x4c88dc['next'](_0x525ec6);_0x3d1885[_0x48a078(0x129)](_0x48a078(0xe9),_0x101f2e),_0xfaa22d[_0x48a078(0x1b6)](_0x44cecc(()=>_0x3d1885[_0x48a078(0x1d0)]('error',_0x101f2e)));})[_0x13895c(0x1c8)](_0x3a9b3e()),'message$':new _0x5d15d1(_0x914726=>{const _0x57ac4e=_0x13895c,_0x46d2d9=_0x56826c=>_0x914726['next'](_0x56826c);_0x3d1885['addEventListener'](_0x57ac4e(0x89),_0x46d2d9),_0xfaa22d[_0x57ac4e(0x1b6)](_0x44cecc(()=>_0x3d1885[_0x57ac4e(0x1d0)](_0x57ac4e(0x89),_0x46d2d9)));})['pipe'](_0x3a9b3e())};}catch(_0x290f02){return console[_0x13895c(0xe9)](_0x290f02),null;}}};Ne=rr([sr(0x0,_0x4508e4)],Ne);var ir=Object[_0x56fa89(0x1b3)],nr=Object[_0x56fa89(0x91)],or=(_0x589462,_0x3ace11,_0x3d88cb)=>_0x3ace11 in _0x589462?ir(_0x589462,_0x3ace11,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3d88cb}):_0x589462[_0x3ace11]=_0x3d88cb,ar=(_0x29528c,_0x38b07c,_0x260c32,_0x434d3a)=>{for(var _0x17bf9e=_0x434d3a>0x1?void 0x0:_0x434d3a?nr(_0x38b07c,_0x260c32):_0x38b07c,_0x462b9e=_0x29528c['length']-0x1,_0x27b823;_0x462b9e>=0x0;_0x462b9e--)(_0x27b823=_0x29528c[_0x462b9e])&&(_0x17bf9e=_0x27b823(_0x17bf9e)||_0x17bf9e);return _0x17bf9e;},ke=(_0x361a17,_0x2bd7b3)=>(_0x854009,_0x2e536a)=>_0x2bd7b3(_0x854009,_0x2e536a,_0x361a17),lr=(_0x51c6ed,_0x362c05,_0xe5544a)=>or(_0x51c6ed,_0x362c05+'',_0xe5544a);let Pe=class extends _0x391e72{constructor(_0x25092a=Ft,_0x18df7f,_0x300df1,_0x4233fd){const _0x5d0aac=_0x56fa89;_0x25092a[_0x5d0aac(0x1d5)]||_0x18df7f[_0x5d0aac(0x187)](_0x5d0aac(0xfe)),super(),this['_configService']=_0x300df1,this['_injector']=_0x4233fd,this[_0x5d0aac(0xe8)][_0x5d0aac(0xc5)](Be,_0x25092a);}[_0x56fa89(0xde)](){const _0x6740c=_0x56fa89;this[_0x6740c(0x19d)]();}[_0x56fa89(0x19d)](){_0x5c7608(this['_injector'],[[_0x321942,{'useClass':Ne}]]);}};lr(Pe,_0x56fa89(0x1cc),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),Pe=ar([_0x15ab13(_0x5802fe),ke(0x1,_0x5aa1a5),ke(0x2,_0x4508e4),ke(0x3,_0x14b929(_0x17d5dd))],Pe);var fr=Object[_0x56fa89(0x91)],cr=(_0xb0440b,_0xfb1274,_0x28cfd2,_0x45177d)=>{const _0x3bbc0e=_0x56fa89;for(var _0x566a60=_0x45177d>0x1?void 0x0:_0x45177d?fr(_0xfb1274,_0x28cfd2):_0xfb1274,_0x380fd5=_0xb0440b[_0x3bbc0e(0x9a)]-0x1,_0x2cccb4;_0x380fd5>=0x0;_0x380fd5--)(_0x2cccb4=_0xb0440b[_0x380fd5])&&(_0x566a60=_0x2cccb4(_0x566a60)||_0x566a60);return _0x566a60;},se=(_0x352e38,_0x43bd75)=>(_0x18e06a,_0x3ae716)=>_0x43bd75(_0x18e06a,_0x3ae716,_0x352e38);let at=class extends _0x441541{constructor(_0xb3a84c,_0x24ed74,_0x3e2841,_0x27ff8e,_0x1581b7){const _0x50bdf6=_0x56fa89;super(_0xb3a84c,_0x24ed74,_0x3e2841,_0x27ff8e,_0x1581b7);const _0x2528b3=this[_0x50bdf6(0xe8)][_0x50bdf6(0x12e)](Be);this[_0x50bdf6(0x198)][_0x50bdf6(0x21a)]({'interceptor':(_0x219c39,_0xe3f749)=>{const _0x2a1ec2=_0x50bdf6;var _0x29564c;const _0x2fdba2=_0x219c39[_0x2a1ec2(0x118)];return(_0x29564c=_0x2528b3==null?void 0x0:_0x2528b3[_0x2a1ec2(0x1d5)])!=null&&_0x29564c[_0x2a1ec2(0x16b)]&&_0x2fdba2[_0x2a1ec2(0xb7)](_0x2a1ec2(0x1fc),_0x2528b3['customHeaders'][_0x2a1ec2(0x16b)]),_0xe3f749(_0x219c39);}});}async[_0x56fa89(0x213)](_0x3b5cc3){const _0x1de370=_0x56fa89;return this[_0x1de370(0x150)](_0x3b5cc3);}};at=cr([se(0x0,_0x14b929(_0x17d5dd)),se(0x1,_0x14b929(_0x31b30a)),se(0x2,_0x4508e4),se(0x3,_0x5aa1a5),se(0x4,_0x269f9d)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
|
|
1
|
+
const _0x454cd5=_0x17ff;(function(_0x451d9e,_0x5a587e){const _0x23a6f4=_0x17ff,_0x86d752=_0x451d9e();while(!![]){try{const _0x3cc089=-parseInt(_0x23a6f4(0x294))/0x1+parseInt(_0x23a6f4(0x2df))/0x2*(parseInt(_0x23a6f4(0x1d1))/0x3)+parseInt(_0x23a6f4(0x2b3))/0x4*(parseInt(_0x23a6f4(0x1db))/0x5)+-parseInt(_0x23a6f4(0x237))/0x6+-parseInt(_0x23a6f4(0x26e))/0x7+-parseInt(_0x23a6f4(0x2a9))/0x8+parseInt(_0x23a6f4(0x1c3))/0x9*(parseInt(_0x23a6f4(0x20c))/0xa);if(_0x3cc089===_0x5a587e)break;else _0x86d752['push'](_0x86d752['shift']());}catch(_0x42ca37){_0x86d752['push'](_0x86d752['shift']());}}}(_0x55ed,0x478f9));import{UniverCollaborationClientPlugin as _0x479fe4,CollaborationSocketService as _0x1eb7b8}from'@univerjs-pro/collaboration-client';import{Disposable as _0x2d7535,DisposableCollection as _0x421309,toDisposable as _0x2db03a,IConfigService as _0x50baa4,DependentOn as _0xd0bdff,ILogService as _0x93927,Inject as _0x47f212,Injector as _0x134268,Plugin as _0x375123,registerDependencies as _0x1c4bfb}from'@univerjs/core';function _0x55ed(){const _0x12b67a=['\x22\x20subprotocol\x20is\x20duplicated','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','_queue','Sec-WebSocket-Protocol:\x20','Opening\x20handshake\x20has\x20timed\x20out','flush','WS_ERR_UNEXPECTED_RSV_1','upgrade','perMessageDeflate','pause','_binaryType','reason','permessage-deflate','Unexpected\x20end\x20of\x20input','dispose','readUInt32BE','Invalid\x20Sec-WebSocket-Extensions\x20header','toString','concurrency','compress','_shouldEmitClose','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','createServer','shift','server_no_context_takeover','_readableState','isIP','_bufferedAmount','search','WS_ERR_UNEXPECTED_RSV_2_3','pow','clientTracking','Unsupported\x20protocol\x20version:\x20','then','endEmitted','createInflateRaw','cleanup','extensionName','concat','arrayBuffer','allocUnsafe','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','2487527jBQGeT','\x22:\x20','Unexpected\x20server\x20response:\x20','dequeue','mask','buffers','objectMode','_writableState','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','data','split','_socket','_closeFrameReceived','warn','captureStackTrace','Server\x20sent\x20no\x20subprotocol','type','message','add','readOnly','catch','Module','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','addEventListener','sec-websocket-accept','_loop','invalid\x20status\x20code\x20','setSocket','emit','protocolVersion','_destroy','arraybuffer','autoPong','password','STATUS_CODES','writeHead','_closeTimer','557354CvyhGI','setConfig','Unexpected\x20character\x20at\x20index\x20','request','registerHTTPInterceptor','drain','response','server_max_window_bits','kRun','toLowerCase','WS_ERR_INVALID_OPCODE','next','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','pathname','onmessage','env','Maximum\x20redirects\x20exceeded','open','removeListener','end','binaryType','1409600tVHSlZ','_fragments','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','pong','The\x20\x22','Upgrade:\x20websocket','_originalHostOrSocketPath','port','create','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','8NeMSTi','reset','readUInt16BE','_masked','kReason','pipe','constructor','threshold','prototype','origin','defineProperty','socket','Invalid\x20URL:\x20','client','dispatch','_generateMask','isServer','Blob','followRedirects','FIN\x20must\x20be\x20set','serverMaxWindowBits','kByteLength','maxRedirects','invalid\x20payload\x20length\x20','Invalid\x20value\x20for\x20parameter\x20\x22','server','websocket','kDone','_extensions','_bufferedBytes','getData','from','noServer','listeners','Invalid\x20Sec-WebSocket-Accept\x20header','url','blob','headers','finish','destroyed','_doCreateSocket','sec-websocket-protocol','resume','_autoPong','280802ydaipz','encrypted','removeEventListener','digest','_maskBuffer','wasClean','_final','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','close','_readyState','WS_ERR_INVALID_CLOSE_CODE','ws:','kTarget','createConnection','_state','customHeaders','path','byteOffset','auth','unexpected-response','text/plain','kListener','CLOSED','includes','acceptAsServer','cookie','handleProtocols','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','charCodeAt','destroy','_originalSecure','Basic\x20','Unknown\x20parameter\x20\x22','jobs','update','acceptAsClient','exports','invalid\x20UTF-8\x20sequence','freeze','_isServer','clients','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','enqueue','timeout','byteLength','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','_payloadLength','onerror','startsWith','__esModule','_protocol','_decompress','kType','opcode','species','allowSynchronousEvents','read','address','RSV1\x20must\x20be\x20clear','OPEN','set','format','handleEvent','host','Sec-WebSocket-Extensions','defaultPort','default','_registerDependencies','_opcode','connect','_receiver','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','sec-websocket-key','_mask','isBuffer','getInfo','buffer','_inflate','serverNoContextTakeover','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','sec-websocket-extensions','readable','decompress','createSocket','code','socketPath','collaboration-client-node.config','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','startLoop','_sender','haveLength','callback','size','_compress','client_max_window_bits','accept','parse','_paused','skipUTF8Validation','Z_SYNC_FLUSH','fragments','bind','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','_errored','_errorEmitted','createError','File','_buffers','MASK\x20must\x20be\x20set','hasOwnProperty','authorization','Z_DEFAULT_WINDOWBITS','bufferedAmount','_removeListeners','consume','ping','slice','_allowSynchronousEvents','_firstFragment','_skipUTF8Validation','error','replace','invalid\x20opcode\x200','function','_totalPayloadLength','value','once','Invalid\x20Upgrade\x20header','zlibDeflateOptions','wsClientError','map','has','_req','cork','stream','location','abort','params','zlibInflateOptions','setHeader','redirect','_deflate','onopen','apply','_options','The\x20URL\x27s\x20pathname\x20is\x20empty','target','66186zCGHGA','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','write','kWasClean','_messageLength','Cookie','generateMask','number','object','getPayloadLength16','extensions','hostname','indexOf','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','9lMTRDs','construct','Invalid\x20Sec-WebSocket-Protocol\x20header','join','Server\x20sent\x20an\x20invalid\x20subprotocol','_fin','string','needDrain','fin','href','1357115hRxQNk','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','uncork','_closeMessage','finished','nextTick','_closeCode','test','send','_max_window_bits','concurrencyLimit','frame','onclose','find','normalizeParams','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','clientMaxWindowBits','_fragmented','pluginName','username','kAborted','readyState','dataMessage','forEach','sha1','call','_closeFrameSent','listening','sendFrame','_redirects','invalid\x20opcode\x20','WebSocket\x20is\x20not\x20open:\x20readyState\x20','https:','getMask','keys','_write','kError','toStringTag','GET','nodebuffer','isInteger','_compressed','options','push','finishRequest','listen','_threshold','delete','clientNoContextTakeover','1340CesXTb','writeUInt16BE','getBlobData','_configService','_maxPayload','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','setTimeout','http:','wss:','Max\x20payload\x20size\x20exceeded','_server','completeUpgrade','protocol','getPayloadLength64','onStarting','pending','The\x20URL\x20contains\x20a\x20fragment\x20identifier','_originalIpc','Parameter\x20\x22','getOwnPropertyDescriptor','_injector','listenerCount','maxPayload','conclude','length','kData','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','servername','handshakeTimeout','emitClose','method','terminate','isValidUTF8','CONNECTING','isArray','client_no_context_takeover','values','_url','unmask','handleUpgrade','connection','MASK\x20must\x20be\x20clear','isPaused','3404742myLIjR','text/html','setNoDelay','authorized','shouldHandle','base64','\x0d\x0a\x0d\x0a','sec-websocket-origin','verifyClient','alloc','errorEmitted','CLOSING'];_0x55ed=function(){return _0x12b67a;};return _0x55ed();}import{ISocketService as _0x2c2ad5,HTTPService as _0x46ccac}from'@univerjs/network';import{Observable as _0x425612,share as _0x1b4aa3}from'rxjs';import _0x4a3a9b from'events';import _0x554dea from'https';import _0x4d8b7b from'http';import _0x396ef7 from'net';import _0x3f270e from'tls';import _0x2504c4 from'crypto';import _0x4aa870 from'stream';import _0x4b30ea from'url';import _0x518d5c from'zlib';import _0x5e5bed from'buffer';import{ISnapshotServerService as _0xd3ba54}from'@univerjs-pro/collaboration';const Be=_0x454cd5(0x186),Ft={'customHeaders':{}};function jt(_0x161c40){const _0x3ce37a=_0x454cd5;return _0x161c40&&_0x161c40[_0x3ce37a(0x161)]&&Object[_0x3ce37a(0x2bb)][_0x3ce37a(0x19d)][_0x3ce37a(0x1f4)](_0x161c40,_0x3ce37a(0x172))?_0x161c40['default']:_0x161c40;}function ut(_0x2cab67){const _0x19b347=_0x454cd5;if(Object[_0x19b347(0x2bb)][_0x19b347(0x19d)][_0x19b347(0x1f4)](_0x2cab67,_0x19b347(0x161)))return _0x2cab67;var _0xc65d40=_0x2cab67[_0x19b347(0x172)];if(typeof _0xc65d40==_0x19b347(0x1ab)){var _0x1af6ac=function _0x4ed934(){const _0xb2e002=_0x19b347;return this instanceof _0x4ed934?Reflect[_0xb2e002(0x1d2)](_0xc65d40,arguments,this[_0xb2e002(0x2b9)]):_0xc65d40[_0xb2e002(0x1bf)](this,arguments);};_0x1af6ac[_0x19b347(0x2bb)]=_0xc65d40[_0x19b347(0x2bb)];}else _0x1af6ac={};return Object[_0x19b347(0x2bd)](_0x1af6ac,_0x19b347(0x161),{'value':!0x0}),Object[_0x19b347(0x1fd)](_0x2cab67)[_0x19b347(0x1f2)](function(_0x4c6f80){const _0xc19486=_0x19b347;var _0x221a49=Object[_0xc19486(0x21f)](_0x2cab67,_0x4c6f80);Object[_0xc19486(0x2bd)](_0x1af6ac,_0x4c6f80,_0x221a49['get']?_0x221a49:{'enumerable':!0x0,'get':function(){return _0x2cab67[_0x4c6f80];}});}),_0x1af6ac;}var te={'exports':{}},ge,Ye;function V(){const _0x1066a8=_0x454cd5;if(Ye)return ge;Ye=0x1;const _0x38660f=[_0x1066a8(0x202),_0x1066a8(0x28e),_0x1066a8(0x194)],_0x1487aa=typeof Blob<'u';return _0x1487aa&&_0x38660f[_0x1066a8(0x206)](_0x1066a8(0x2d7)),ge={'BINARY_TYPES':_0x38660f,'EMPTY_BUFFER':Buffer[_0x1066a8(0x240)](0x0),'GUID':_0x1066a8(0x26d),'hasBlob':_0x1487aa,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol(_0x1066a8(0x2f5)),'kStatusCode':Symbol('status-code'),'kWebSocket':Symbol(_0x1066a8(0x2cd)),'NOOP':()=>{}},ge;}const Wt={},Gt=Object[_0x454cd5(0x306)](Object[_0x454cd5(0x2bd)]({'__proto__':null,'default':Wt},Symbol['toStringTag'],{'value':_0x454cd5(0x283)})),Vt=ut(Gt);var Ke;function ce(){const _0xd1ccf7=_0x454cd5;if(Ke)return te[_0xd1ccf7(0x304)];Ke=0x1;const {EMPTY_BUFFER:_0x4514c}=V(),_0x236db1=Buffer[Symbol['species']];function _0x180b8f(_0x539b80,_0x5c0707){const _0x27a9c3=_0xd1ccf7;if(_0x539b80['length']===0x0)return _0x4514c;if(_0x539b80[_0x27a9c3(0x224)]===0x1)return _0x539b80[0x0];const _0x526671=Buffer[_0x27a9c3(0x26c)](_0x5c0707);let _0x3cdf97=0x0;for(let _0x54a158=0x0;_0x54a158<_0x539b80[_0x27a9c3(0x224)];_0x54a158++){const _0x1f49da=_0x539b80[_0x54a158];_0x526671[_0x27a9c3(0x16c)](_0x1f49da,_0x3cdf97),_0x3cdf97+=_0x1f49da[_0x27a9c3(0x224)];}return _0x3cdf97<_0x5c0707?new _0x236db1(_0x526671[_0x27a9c3(0x17c)],_0x526671['byteOffset'],_0x3cdf97):_0x526671;}function _0x3d4d20(_0x9f4a17,_0x51f8af,_0x1f781f,_0x556837,_0x444176){for(let _0x57b358=0x0;_0x57b358<_0x444176;_0x57b358++)_0x1f781f[_0x556837+_0x57b358]=_0x9f4a17[_0x57b358]^_0x51f8af[_0x57b358&0x3];}function _0x503d7c(_0x12b0a1,_0x1c2e6e){const _0x2feaa6=_0xd1ccf7;for(let _0x562ec1=0x0;_0x562ec1<_0x12b0a1[_0x2feaa6(0x224)];_0x562ec1++)_0x12b0a1[_0x562ec1]^=_0x1c2e6e[_0x562ec1&0x3];}function _0x37e866(_0x59db3c){const _0x55eba2=_0xd1ccf7;return _0x59db3c[_0x55eba2(0x224)]===_0x59db3c['buffer'][_0x55eba2(0x15c)]?_0x59db3c[_0x55eba2(0x17c)]:_0x59db3c[_0x55eba2(0x17c)][_0x55eba2(0x1a4)](_0x59db3c[_0x55eba2(0x2f1)],_0x59db3c[_0x55eba2(0x2f1)]+_0x59db3c['length']);}function _0x5ad38d(_0x5b25bf){const _0x48a2d5=_0xd1ccf7;if(_0x5ad38d[_0x48a2d5(0x281)]=!0x0,Buffer[_0x48a2d5(0x17a)](_0x5b25bf))return _0x5b25bf;let _0x207fe5;return _0x5b25bf instanceof ArrayBuffer?_0x207fe5=new _0x236db1(_0x5b25bf):ArrayBuffer['isView'](_0x5b25bf)?_0x207fe5=new _0x236db1(_0x5b25bf[_0x48a2d5(0x17c)],_0x5b25bf[_0x48a2d5(0x2f1)],_0x5b25bf[_0x48a2d5(0x15c)]):(_0x207fe5=Buffer[_0x48a2d5(0x2d2)](_0x5b25bf),_0x5ad38d[_0x48a2d5(0x281)]=!0x1),_0x207fe5;}if(te[_0xd1ccf7(0x304)]={'concat':_0x180b8f,'mask':_0x3d4d20,'toArrayBuffer':_0x37e866,'toBuffer':_0x5ad38d,'unmask':_0x503d7c},!process[_0xd1ccf7(0x2a3)]['WS_NO_BUFFER_UTIL'])try{const _0x7a6c6c=Vt;te[_0xd1ccf7(0x304)][_0xd1ccf7(0x272)]=function(_0x513466,_0x2bae19,_0x4ea5de,_0xd3dc43,_0x44e5c1){_0x44e5c1<0x30?_0x3d4d20(_0x513466,_0x2bae19,_0x4ea5de,_0xd3dc43,_0x44e5c1):_0x7a6c6c['mask'](_0x513466,_0x2bae19,_0x4ea5de,_0xd3dc43,_0x44e5c1);},te['exports'][_0xd1ccf7(0x232)]=function(_0x13a46e,_0x29af93){const _0x4a2828=_0xd1ccf7;_0x13a46e['length']<0x20?_0x503d7c(_0x13a46e,_0x29af93):_0x7a6c6c[_0x4a2828(0x232)](_0x13a46e,_0x29af93);};}catch{}return te[_0xd1ccf7(0x304)];}var ye,Xe;function qt(){const _0x4f365b=_0x454cd5;if(Xe)return ye;Xe=0x1;const _0x5c5ae3=Symbol(_0x4f365b(0x2ce)),_0x2f5ab8=Symbol(_0x4f365b(0x29c));class _0x400e2b{constructor(_0x5848e2){const _0x1ad552=_0x4f365b;this[_0x5c5ae3]=()=>{this['pending']--,this[_0x2f5ab8]();},this[_0x1ad552(0x256)]=_0x5848e2||0x1/0x0,this[_0x1ad552(0x301)]=[],this[_0x1ad552(0x21b)]=0x0;}[_0x4f365b(0x280)](_0x44a4ec){const _0x3f864c=_0x4f365b;this[_0x3f864c(0x301)][_0x3f864c(0x206)](_0x44a4ec),this[_0x2f5ab8]();}[_0x2f5ab8](){const _0xf1d8d3=_0x4f365b;if(this[_0xf1d8d3(0x21b)]!==this['concurrency']&&this[_0xf1d8d3(0x301)]['length']){const _0x18bbbc=this[_0xf1d8d3(0x301)][_0xf1d8d3(0x25b)]();this[_0xf1d8d3(0x21b)]++,_0x18bbbc(this[_0x5c5ae3]);}}}return ye=_0x400e2b,ye;}var ve,Ze;function he(){const _0xe85116=_0x454cd5;if(Ze)return ve;Ze=0x1;const _0x293fac=_0x518d5c,_0x2a36b7=ce(),_0x311c6b=qt(),{kStatusCode:_0x284dfa}=V(),_0x3d0762=Buffer[Symbol[_0xe85116(0x166)]],_0x1b2086=Buffer[_0xe85116(0x2d2)]([0x0,0x0,0xff,0xff]),_0x37d006=Symbol('permessage-deflate'),_0x552600=Symbol('total-length'),_0x56eb38=Symbol(_0xe85116(0x18b)),_0x3a84e9=Symbol(_0xe85116(0x273)),_0x159b70=Symbol(_0xe85116(0x1a8));let _0x49c645;class _0x4337ca{constructor(_0x369d85,_0xce6a3c,_0x365a48){const _0x1a5298=_0xe85116;if(this[_0x1a5298(0x210)]=_0x365a48|0x0,this[_0x1a5298(0x1c0)]=_0x369d85||{},this[_0x1a5298(0x209)]=this['_options'][_0x1a5298(0x2ba)]!==void 0x0?this['_options'][_0x1a5298(0x2ba)]:0x400,this[_0x1a5298(0x307)]=!!_0xce6a3c,this[_0x1a5298(0x1bd)]=null,this['_inflate']=null,this[_0x1a5298(0x1b9)]=null,!_0x49c645){const _0x31e175=this[_0x1a5298(0x1c0)][_0x1a5298(0x1e5)]!==void 0x0?this[_0x1a5298(0x1c0)][_0x1a5298(0x1e5)]:0xa;_0x49c645=new _0x311c6b(_0x31e175);}}static get[_0xe85116(0x269)](){const _0x42416d=_0xe85116;return _0x42416d(0x250);}['offer'](){const _0x297f3f=_0xe85116,_0x246170={};return this['_options'][_0x297f3f(0x17e)]&&(_0x246170[_0x297f3f(0x25c)]=!0x0),this[_0x297f3f(0x1c0)][_0x297f3f(0x20b)]&&(_0x246170[_0x297f3f(0x22f)]=!0x0),this[_0x297f3f(0x1c0)]['serverMaxWindowBits']&&(_0x246170['server_max_window_bits']=this[_0x297f3f(0x1c0)][_0x297f3f(0x2c7)]),this[_0x297f3f(0x1c0)][_0x297f3f(0x1eb)]?_0x246170['client_max_window_bits']=this[_0x297f3f(0x1c0)][_0x297f3f(0x1eb)]:this[_0x297f3f(0x1c0)][_0x297f3f(0x1eb)]==null&&(_0x246170['client_max_window_bits']=!0x0),_0x246170;}[_0xe85116(0x18f)](_0x4a3c01){const _0x3f17af=_0xe85116;return _0x4a3c01=this['normalizeParams'](_0x4a3c01),this[_0x3f17af(0x1b9)]=this[_0x3f17af(0x307)]?this[_0x3f17af(0x2f8)](_0x4a3c01):this[_0x3f17af(0x303)](_0x4a3c01),this[_0x3f17af(0x1b9)];}[_0xe85116(0x268)](){const _0xa0f61c=_0xe85116;if(this['_inflate']&&(this[_0xa0f61c(0x17d)][_0xa0f61c(0x2e8)](),this[_0xa0f61c(0x17d)]=null),this[_0xa0f61c(0x1bd)]){const _0x4fed0b=this[_0xa0f61c(0x1bd)][_0x56eb38];this[_0xa0f61c(0x1bd)][_0xa0f61c(0x2e8)](),this[_0xa0f61c(0x1bd)]=null,_0x4fed0b&&_0x4fed0b(new Error(_0xa0f61c(0x211)));}}[_0xe85116(0x2f8)](_0x17008e){const _0x42c6d1=_0xe85116,_0x290cff=this[_0x42c6d1(0x1c0)],_0x27ef15=_0x17008e[_0x42c6d1(0x1e8)](_0xf61879=>!(_0x290cff[_0x42c6d1(0x17e)]===!0x1&&_0xf61879[_0x42c6d1(0x25c)]||_0xf61879[_0x42c6d1(0x29b)]&&(_0x290cff[_0x42c6d1(0x2c7)]===!0x1||typeof _0x290cff[_0x42c6d1(0x2c7)]==_0x42c6d1(0x1ca)&&_0x290cff['serverMaxWindowBits']>_0xf61879[_0x42c6d1(0x29b)])||typeof _0x290cff[_0x42c6d1(0x1eb)]=='number'&&!_0xf61879[_0x42c6d1(0x18e)]));if(!_0x27ef15)throw new Error(_0x42c6d1(0x1dc));return _0x290cff[_0x42c6d1(0x17e)]&&(_0x27ef15[_0x42c6d1(0x25c)]=!0x0),_0x290cff[_0x42c6d1(0x20b)]&&(_0x27ef15['client_no_context_takeover']=!0x0),typeof _0x290cff[_0x42c6d1(0x2c7)]==_0x42c6d1(0x1ca)&&(_0x27ef15[_0x42c6d1(0x29b)]=_0x290cff['serverMaxWindowBits']),typeof _0x290cff[_0x42c6d1(0x1eb)]=='number'?_0x27ef15[_0x42c6d1(0x18e)]=_0x290cff[_0x42c6d1(0x1eb)]:(_0x27ef15[_0x42c6d1(0x18e)]===!0x0||_0x290cff['clientMaxWindowBits']===!0x1)&&delete _0x27ef15[_0x42c6d1(0x18e)],_0x27ef15;}['acceptAsClient'](_0x14ca81){const _0x33c030=_0xe85116,_0x199739=_0x14ca81[0x0];if(this[_0x33c030(0x1c0)]['clientNoContextTakeover']===!0x1&&_0x199739[_0x33c030(0x22f)])throw new Error('Unexpected\x20parameter\x20\x22client_no_context_takeover\x22');if(!_0x199739[_0x33c030(0x18e)])typeof this['_options']['clientMaxWindowBits']==_0x33c030(0x1ca)&&(_0x199739[_0x33c030(0x18e)]=this[_0x33c030(0x1c0)][_0x33c030(0x1eb)]);else{if(this['_options']['clientMaxWindowBits']===!0x1||typeof this[_0x33c030(0x1c0)][_0x33c030(0x1eb)]==_0x33c030(0x1ca)&&_0x199739[_0x33c030(0x18e)]>this[_0x33c030(0x1c0)][_0x33c030(0x1eb)])throw new Error('Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22');}return _0x199739;}[_0xe85116(0x1e9)](_0x309b5e){const _0x3904df=_0xe85116;return _0x309b5e[_0x3904df(0x1f2)](_0x1498fa=>{const _0x20d891=_0x3904df;Object['keys'](_0x1498fa)[_0x20d891(0x1f2)](_0x3ee15b=>{const _0x5588d4=_0x20d891;let _0x2e2a4b=_0x1498fa[_0x3ee15b];if(_0x2e2a4b[_0x5588d4(0x224)]>0x1)throw new Error(_0x5588d4(0x21e)+_0x3ee15b+'\x22\x20must\x20have\x20only\x20a\x20single\x20value');if(_0x2e2a4b=_0x2e2a4b[0x0],_0x3ee15b==='client_max_window_bits'){if(_0x2e2a4b!==!0x0){const _0x5eff40=+_0x2e2a4b;if(!Number[_0x5588d4(0x203)](_0x5eff40)||_0x5eff40<0x8||_0x5eff40>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x3ee15b+_0x5588d4(0x26f)+_0x2e2a4b);_0x2e2a4b=_0x5eff40;}else{if(!this[_0x5588d4(0x307)])throw new TypeError(_0x5588d4(0x2cb)+_0x3ee15b+_0x5588d4(0x26f)+_0x2e2a4b);}}else{if(_0x3ee15b===_0x5588d4(0x29b)){const _0x35abce=+_0x2e2a4b;if(!Number[_0x5588d4(0x203)](_0x35abce)||_0x35abce<0x8||_0x35abce>0xf)throw new TypeError(_0x5588d4(0x2cb)+_0x3ee15b+'\x22:\x20'+_0x2e2a4b);_0x2e2a4b=_0x35abce;}else{if(_0x3ee15b==='client_no_context_takeover'||_0x3ee15b==='server_no_context_takeover'){if(_0x2e2a4b!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x3ee15b+_0x5588d4(0x26f)+_0x2e2a4b);}else throw new Error(_0x5588d4(0x300)+_0x3ee15b+'\x22');}}_0x1498fa[_0x3ee15b]=_0x2e2a4b;});}),_0x309b5e;}[_0xe85116(0x182)](_0x4fdef9,_0x3b6f32,_0x31f7ac){_0x49c645['add'](_0x1d3b93=>{this['_decompress'](_0x4fdef9,_0x3b6f32,(_0x30eab8,_0x8908c9)=>{_0x1d3b93(),_0x31f7ac(_0x30eab8,_0x8908c9);});});}[_0xe85116(0x257)](_0x3415b7,_0x41a226,_0x5aef7b){const _0x92b3ca=_0xe85116;_0x49c645[_0x92b3ca(0x280)](_0x8e8d2a=>{const _0x4acfc3=_0x92b3ca;this[_0x4acfc3(0x18d)](_0x3415b7,_0x41a226,(_0xa8d612,_0x4ae535)=>{_0x8e8d2a(),_0x5aef7b(_0xa8d612,_0x4ae535);});});}[_0xe85116(0x163)](_0x15f8df,_0x123474,_0x3d3eea){const _0x47d392=_0xe85116,_0x1d5249=this[_0x47d392(0x307)]?_0x47d392(0x2c0):_0x47d392(0x2cc);if(!this[_0x47d392(0x17d)]){const _0x113b5e=_0x1d5249+_0x47d392(0x1e4),_0x24c303=typeof this['params'][_0x113b5e]!=_0x47d392(0x1ca)?_0x293fac[_0x47d392(0x19f)]:this[_0x47d392(0x1b9)][_0x113b5e];this[_0x47d392(0x17d)]=_0x293fac[_0x47d392(0x267)]({...this[_0x47d392(0x1c0)][_0x47d392(0x1ba)],'windowBits':_0x24c303}),this[_0x47d392(0x17d)][_0x37d006]=this,this[_0x47d392(0x17d)][_0x552600]=0x0,this[_0x47d392(0x17d)][_0x3a84e9]=[],this[_0x47d392(0x17d)]['on']('error',_0x385f0b),this[_0x47d392(0x17d)]['on'](_0x47d392(0x277),_0x4798e4);}this['_inflate'][_0x56eb38]=_0x3d3eea,this[_0x47d392(0x17d)][_0x47d392(0x1c5)](_0x15f8df),_0x123474&&this['_inflate'][_0x47d392(0x1c5)](_0x1b2086),this[_0x47d392(0x17d)][_0x47d392(0x249)](()=>{const _0x6844aa=_0x47d392,_0x64b1f2=this[_0x6844aa(0x17d)][_0x159b70];if(_0x64b1f2){this[_0x6844aa(0x17d)][_0x6844aa(0x2e8)](),this[_0x6844aa(0x17d)]=null,_0x3d3eea(_0x64b1f2);return;}const _0x14f93a=_0x2a36b7[_0x6844aa(0x26a)](this[_0x6844aa(0x17d)][_0x3a84e9],this[_0x6844aa(0x17d)][_0x552600]);this[_0x6844aa(0x17d)]['_readableState'][_0x6844aa(0x266)]?(this[_0x6844aa(0x17d)]['close'](),this[_0x6844aa(0x17d)]=null):(this[_0x6844aa(0x17d)][_0x552600]=0x0,this['_inflate'][_0x3a84e9]=[],_0x123474&&this[_0x6844aa(0x1b9)][_0x1d5249+'_no_context_takeover']&&this[_0x6844aa(0x17d)][_0x6844aa(0x2b4)]()),_0x3d3eea(null,_0x14f93a);});}['_compress'](_0x4ca5e1,_0x32c887,_0x1bf86f){const _0x2bf71e=_0xe85116,_0x4bef89=this['_isServer']?'server':_0x2bf71e(0x2c0);if(!this[_0x2bf71e(0x1bd)]){const _0x2fd20b=_0x4bef89+_0x2bf71e(0x1e4),_0xd2f251=typeof this[_0x2bf71e(0x1b9)][_0x2fd20b]!=_0x2bf71e(0x1ca)?_0x293fac[_0x2bf71e(0x19f)]:this[_0x2bf71e(0x1b9)][_0x2fd20b];this[_0x2bf71e(0x1bd)]=_0x293fac['createDeflateRaw']({...this[_0x2bf71e(0x1c0)][_0x2bf71e(0x1b0)],'windowBits':_0xd2f251}),this[_0x2bf71e(0x1bd)][_0x552600]=0x0,this[_0x2bf71e(0x1bd)][_0x3a84e9]=[],this[_0x2bf71e(0x1bd)]['on'](_0x2bf71e(0x277),_0x28d6b6);}this[_0x2bf71e(0x1bd)][_0x56eb38]=_0x1bf86f,this[_0x2bf71e(0x1bd)][_0x2bf71e(0x1c5)](_0x4ca5e1),this[_0x2bf71e(0x1bd)][_0x2bf71e(0x249)](_0x293fac[_0x2bf71e(0x193)],()=>{const _0x14d633=_0x2bf71e;if(!this[_0x14d633(0x1bd)])return;let _0x3cd8c3=_0x2a36b7[_0x14d633(0x26a)](this[_0x14d633(0x1bd)][_0x3a84e9],this[_0x14d633(0x1bd)][_0x552600]);_0x32c887&&(_0x3cd8c3=new _0x3d0762(_0x3cd8c3[_0x14d633(0x17c)],_0x3cd8c3[_0x14d633(0x2f1)],_0x3cd8c3[_0x14d633(0x224)]-0x4)),this[_0x14d633(0x1bd)][_0x56eb38]=null,this[_0x14d633(0x1bd)][_0x552600]=0x0,this[_0x14d633(0x1bd)][_0x3a84e9]=[],_0x32c887&&this[_0x14d633(0x1b9)][_0x4bef89+'_no_context_takeover']&&this[_0x14d633(0x1bd)][_0x14d633(0x2b4)](),_0x1bf86f(null,_0x3cd8c3);});}}ve=_0x4337ca;function _0x28d6b6(_0x4efe5b){const _0x25b986=_0xe85116;this[_0x3a84e9]['push'](_0x4efe5b),this[_0x552600]+=_0x4efe5b[_0x25b986(0x224)];}function _0x4798e4(_0x5a2785){const _0x492ae5=_0xe85116;if(this[_0x552600]+=_0x5a2785[_0x492ae5(0x224)],this[_0x37d006][_0x492ae5(0x210)]<0x1||this[_0x552600]<=this[_0x37d006][_0x492ae5(0x210)]){this[_0x3a84e9][_0x492ae5(0x206)](_0x5a2785);return;}this[_0x159b70]=new RangeError(_0x492ae5(0x215)),this[_0x159b70][_0x492ae5(0x184)]=_0x492ae5(0x17f),this[_0x159b70][_0x284dfa]=0x3f1,this[_0x492ae5(0x2a6)]('data',_0x4798e4),this['reset']();}function _0x385f0b(_0x598c60){const _0x1844cb=_0xe85116;if(this[_0x37d006][_0x1844cb(0x17d)]=null,this[_0x159b70]){this[_0x56eb38](this[_0x159b70]);return;}_0x598c60[_0x284dfa]=0x3ef,this[_0x56eb38](_0x598c60);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x454cd5(0x306)](Object['defineProperty']({'__proto__':null,'default':Ht},Symbol['toStringTag'],{'value':_0x454cd5(0x283)})),Yt=ut(zt);var Qe;function ne(){const _0x32f18a=_0x454cd5;if(Qe)return re[_0x32f18a(0x304)];Qe=0x1;const {isUtf8:_0x12e859}=_0x5e5bed,{hasBlob:_0x116647}=V(),_0x4a0116=[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 _0x555b95(_0x28f3eb){return _0x28f3eb>=0x3e8&&_0x28f3eb<=0x3f6&&_0x28f3eb!==0x3ec&&_0x28f3eb!==0x3ed&&_0x28f3eb!==0x3ee||_0x28f3eb>=0xbb8&&_0x28f3eb<=0x1387;}function _0x5b94cf(_0x47b1e0){const _0x4a7fbc=_0x32f18a,_0x2550f8=_0x47b1e0[_0x4a7fbc(0x224)];let _0x22df72=0x0;for(;_0x22df72<_0x2550f8;)if((_0x47b1e0[_0x22df72]&0x80)===0x0)_0x22df72++;else{if((_0x47b1e0[_0x22df72]&0xe0)===0xc0){if(_0x22df72+0x1===_0x2550f8||(_0x47b1e0[_0x22df72+0x1]&0xc0)!==0x80||(_0x47b1e0[_0x22df72]&0xfe)===0xc0)return!0x1;_0x22df72+=0x2;}else{if((_0x47b1e0[_0x22df72]&0xf0)===0xe0){if(_0x22df72+0x2>=_0x2550f8||(_0x47b1e0[_0x22df72+0x1]&0xc0)!==0x80||(_0x47b1e0[_0x22df72+0x2]&0xc0)!==0x80||_0x47b1e0[_0x22df72]===0xe0&&(_0x47b1e0[_0x22df72+0x1]&0xe0)===0x80||_0x47b1e0[_0x22df72]===0xed&&(_0x47b1e0[_0x22df72+0x1]&0xe0)===0xa0)return!0x1;_0x22df72+=0x3;}else{if((_0x47b1e0[_0x22df72]&0xf8)===0xf0){if(_0x22df72+0x3>=_0x2550f8||(_0x47b1e0[_0x22df72+0x1]&0xc0)!==0x80||(_0x47b1e0[_0x22df72+0x2]&0xc0)!==0x80||(_0x47b1e0[_0x22df72+0x3]&0xc0)!==0x80||_0x47b1e0[_0x22df72]===0xf0&&(_0x47b1e0[_0x22df72+0x1]&0xf0)===0x80||_0x47b1e0[_0x22df72]===0xf4&&_0x47b1e0[_0x22df72+0x1]>0x8f||_0x47b1e0[_0x22df72]>0xf4)return!0x1;_0x22df72+=0x4;}else return!0x1;}}}return!0x0;}function _0x5ada7b(_0xf28fb7){const _0x2908bd=_0x32f18a;return _0x116647&&typeof _0xf28fb7=='object'&&typeof _0xf28fb7['arrayBuffer']==_0x2908bd(0x1ab)&&typeof _0xf28fb7[_0x2908bd(0x27e)]==_0x2908bd(0x1d7)&&typeof _0xf28fb7[_0x2908bd(0x1b6)]==_0x2908bd(0x1ab)&&(_0xf28fb7[Symbol[_0x2908bd(0x200)]]===_0x2908bd(0x2c4)||_0xf28fb7[Symbol['toStringTag']]===_0x2908bd(0x19a));}if(re[_0x32f18a(0x304)]={'isBlob':_0x5ada7b,'isValidStatusCode':_0x555b95,'isValidUTF8':_0x5b94cf,'tokenChars':_0x4a0116},_0x12e859)re['exports'][_0x32f18a(0x22c)]=function(_0x31de13){const _0x579a25=_0x32f18a;return _0x31de13[_0x579a25(0x224)]<0x18?_0x5b94cf(_0x31de13):_0x12e859(_0x31de13);};else{if(!process[_0x32f18a(0x2a3)]['WS_NO_UTF_8_VALIDATE'])try{const _0x39e35b=Yt;re[_0x32f18a(0x304)][_0x32f18a(0x22c)]=function(_0x12726e){const _0x3f27f3=_0x32f18a;return _0x12726e[_0x3f27f3(0x224)]<0x20?_0x5b94cf(_0x12726e):_0x39e35b(_0x12726e);};}catch{}}return re['exports'];}var Se,Je;function dt(){const _0xa1601=_0x454cd5;if(Je)return Se;Je=0x1;const {Writable:_0x41d3e4}=_0x4aa870,_0x639b2b=he(),{BINARY_TYPES:_0x2d74b8,EMPTY_BUFFER:_0x4c91e4,kStatusCode:_0xebf4e2,kWebSocket:_0x23f553}=V(),{concat:_0x2e504a,toArrayBuffer:_0x389b02,unmask:_0x1fe214}=ce(),{isValidStatusCode:_0x5a2e93,isValidUTF8:_0xe05d36}=ne(),_0xb87880=Buffer[Symbol[_0xa1601(0x166)]],_0x246802=0x0,_0x2fec57=0x1,_0x4101d7=0x2,_0x2e37e3=0x3,_0x4c5cf6=0x4,_0x785ab8=0x5,_0x464b17=0x6;class _0x5e4ef1 extends _0x41d3e4{constructor(_0x2877dd={}){const _0x4ce356=_0xa1601;super(),this['_allowSynchronousEvents']=_0x2877dd[_0x4ce356(0x167)]!==void 0x0?_0x2877dd[_0x4ce356(0x167)]:!0x0,this[_0x4ce356(0x24e)]=_0x2877dd[_0x4ce356(0x2a8)]||_0x2d74b8[0x0],this['_extensions']=_0x2877dd[_0x4ce356(0x1cd)]||{},this['_isServer']=!!_0x2877dd[_0x4ce356(0x2c3)],this[_0x4ce356(0x210)]=_0x2877dd[_0x4ce356(0x222)]|0x0,this[_0x4ce356(0x1a7)]=!!_0x2877dd[_0x4ce356(0x192)],this[_0x23f553]=void 0x0,this[_0x4ce356(0x2d0)]=0x0,this[_0x4ce356(0x19b)]=[],this[_0x4ce356(0x204)]=!0x1,this[_0x4ce356(0x15e)]=0x0,this[_0x4ce356(0x179)]=void 0x0,this[_0x4ce356(0x1ec)]=0x0,this['_masked']=!0x1,this[_0x4ce356(0x1d6)]=!0x1,this[_0x4ce356(0x174)]=0x0,this[_0x4ce356(0x1ac)]=0x0,this['_messageLength']=0x0,this[_0x4ce356(0x2aa)]=[],this[_0x4ce356(0x197)]=!0x1,this[_0x4ce356(0x288)]=!0x1,this[_0x4ce356(0x2ee)]=_0x246802;}[_0xa1601(0x1fe)](_0xe1c81d,_0x23e7e5,_0x31cc74){const _0x5b0f97=_0xa1601;if(this[_0x5b0f97(0x174)]===0x8&&this[_0x5b0f97(0x2ee)]==_0x246802)return _0x31cc74();this['_bufferedBytes']+=_0xe1c81d[_0x5b0f97(0x224)],this[_0x5b0f97(0x19b)][_0x5b0f97(0x206)](_0xe1c81d),this['startLoop'](_0x31cc74);}[_0xa1601(0x1a2)](_0x46f001){const _0x20f1b3=_0xa1601;if(this[_0x20f1b3(0x2d0)]-=_0x46f001,_0x46f001===this[_0x20f1b3(0x19b)][0x0]['length'])return this[_0x20f1b3(0x19b)][_0x20f1b3(0x25b)]();if(_0x46f001<this['_buffers'][0x0]['length']){const _0x557b8c=this[_0x20f1b3(0x19b)][0x0];return this[_0x20f1b3(0x19b)][0x0]=new _0xb87880(_0x557b8c[_0x20f1b3(0x17c)],_0x557b8c[_0x20f1b3(0x2f1)]+_0x46f001,_0x557b8c[_0x20f1b3(0x224)]-_0x46f001),new _0xb87880(_0x557b8c[_0x20f1b3(0x17c)],_0x557b8c[_0x20f1b3(0x2f1)],_0x46f001);}const _0x2ba051=Buffer[_0x20f1b3(0x26c)](_0x46f001);do{const _0x321a52=this['_buffers'][0x0],_0x43388d=_0x2ba051[_0x20f1b3(0x224)]-_0x46f001;_0x46f001>=_0x321a52['length']?_0x2ba051[_0x20f1b3(0x16c)](this['_buffers'][_0x20f1b3(0x25b)](),_0x43388d):(_0x2ba051[_0x20f1b3(0x16c)](new Uint8Array(_0x321a52[_0x20f1b3(0x17c)],_0x321a52['byteOffset'],_0x46f001),_0x43388d),this[_0x20f1b3(0x19b)][0x0]=new _0xb87880(_0x321a52[_0x20f1b3(0x17c)],_0x321a52[_0x20f1b3(0x2f1)]+_0x46f001,_0x321a52[_0x20f1b3(0x224)]-_0x46f001)),_0x46f001-=_0x321a52['length'];}while(_0x46f001>0x0);return _0x2ba051;}[_0xa1601(0x188)](_0x6d4c30){const _0x1e7873=_0xa1601;this[_0x1e7873(0x288)]=!0x0;do switch(this['_state']){case _0x246802:this[_0x1e7873(0x17b)](_0x6d4c30);break;case _0x2fec57:this[_0x1e7873(0x1cc)](_0x6d4c30);break;case _0x4101d7:this[_0x1e7873(0x219)](_0x6d4c30);break;case _0x2e37e3:this[_0x1e7873(0x1fc)]();break;case _0x4c5cf6:this[_0x1e7873(0x2d1)](_0x6d4c30);break;case _0x785ab8:case _0x464b17:this[_0x1e7873(0x288)]=!0x1;return;}while(this[_0x1e7873(0x288)]);this[_0x1e7873(0x197)]||_0x6d4c30();}[_0xa1601(0x17b)](_0xaa9826){const _0x1ad478=_0xa1601;if(this[_0x1ad478(0x2d0)]<0x2){this[_0x1ad478(0x288)]=!0x1;return;}const _0x1fdd20=this[_0x1ad478(0x1a2)](0x2);if((_0x1fdd20[0x0]&0x30)!==0x0){const _0x238292=this['createError'](RangeError,_0x1ad478(0x284),!0x0,0x3ea,_0x1ad478(0x261));_0xaa9826(_0x238292);return;}const _0x22caa5=(_0x1fdd20[0x0]&0x40)===0x40;if(_0x22caa5&&!this[_0x1ad478(0x2cf)][_0x639b2b['extensionName']]){const _0x393221=this[_0x1ad478(0x199)](RangeError,_0x1ad478(0x16a),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0xaa9826(_0x393221);return;}if(this['_fin']=(_0x1fdd20[0x0]&0x80)===0x80,this[_0x1ad478(0x174)]=_0x1fdd20[0x0]&0xf,this['_payloadLength']=_0x1fdd20[0x1]&0x7f,this[_0x1ad478(0x174)]===0x0){if(_0x22caa5){const _0xd8ea4e=this[_0x1ad478(0x199)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x1ad478(0x24a));_0xaa9826(_0xd8ea4e);return;}if(!this['_fragmented']){const _0x1f81d9=this[_0x1ad478(0x199)](RangeError,_0x1ad478(0x1aa),!0x0,0x3ea,_0x1ad478(0x29e));_0xaa9826(_0x1f81d9);return;}this['_opcode']=this[_0x1ad478(0x1ec)];}else{if(this['_opcode']===0x1||this[_0x1ad478(0x174)]===0x2){if(this[_0x1ad478(0x1ec)]){const _0x1403cd=this[_0x1ad478(0x199)](RangeError,'invalid\x20opcode\x20'+this['_opcode'],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0xaa9826(_0x1403cd);return;}this['_compressed']=_0x22caa5;}else{if(this['_opcode']>0x7&&this[_0x1ad478(0x174)]<0xb){if(!this['_fin']){const _0x3a9e20=this[_0x1ad478(0x199)](RangeError,_0x1ad478(0x2c6),!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0xaa9826(_0x3a9e20);return;}if(_0x22caa5){const _0x53394e=this[_0x1ad478(0x199)](RangeError,_0x1ad478(0x16a),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0xaa9826(_0x53394e);return;}if(this[_0x1ad478(0x15e)]>0x7d||this[_0x1ad478(0x174)]===0x8&&this[_0x1ad478(0x15e)]===0x1){const _0x5ce416=this[_0x1ad478(0x199)](RangeError,_0x1ad478(0x2ca)+this['_payloadLength'],!0x0,0x3ea,_0x1ad478(0x285));_0xaa9826(_0x5ce416);return;}}else{const _0x319efe=this[_0x1ad478(0x199)](RangeError,_0x1ad478(0x1f9)+this[_0x1ad478(0x174)],!0x0,0x3ea,_0x1ad478(0x29e));_0xaa9826(_0x319efe);return;}}}if(!this[_0x1ad478(0x1d6)]&&!this['_fragmented']&&(this[_0x1ad478(0x1ec)]=this[_0x1ad478(0x174)]),this[_0x1ad478(0x2b6)]=(_0x1fdd20[0x1]&0x80)===0x80,this[_0x1ad478(0x307)]){if(!this[_0x1ad478(0x2b6)]){const _0x128e72=this[_0x1ad478(0x199)](RangeError,_0x1ad478(0x19c),!0x0,0x3ea,'WS_ERR_EXPECTED_MASK');_0xaa9826(_0x128e72);return;}}else{if(this[_0x1ad478(0x2b6)]){const _0x2cc319=this['createError'](RangeError,_0x1ad478(0x235),!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0xaa9826(_0x2cc319);return;}}this['_payloadLength']===0x7e?this['_state']=_0x2fec57:this[_0x1ad478(0x15e)]===0x7f?this[_0x1ad478(0x2ee)]=_0x4101d7:this[_0x1ad478(0x18a)](_0xaa9826);}[_0xa1601(0x1cc)](_0x50326a){const _0x39d799=_0xa1601;if(this[_0x39d799(0x2d0)]<0x2){this[_0x39d799(0x288)]=!0x1;return;}this[_0x39d799(0x15e)]=this['consume'](0x2)[_0x39d799(0x2b5)](0x0),this['haveLength'](_0x50326a);}[_0xa1601(0x219)](_0x4f2334){const _0x47b34c=_0xa1601;if(this[_0x47b34c(0x2d0)]<0x8){this[_0x47b34c(0x288)]=!0x1;return;}const _0x1b433b=this[_0x47b34c(0x1a2)](0x8),_0x523fd0=_0x1b433b[_0x47b34c(0x253)](0x0);if(_0x523fd0>Math['pow'](0x2,0x15)-0x1){const _0x80dc57=this[_0x47b34c(0x199)](RangeError,_0x47b34c(0x244),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH');_0x4f2334(_0x80dc57);return;}this[_0x47b34c(0x15e)]=_0x523fd0*Math[_0x47b34c(0x262)](0x2,0x20)+_0x1b433b[_0x47b34c(0x253)](0x4),this[_0x47b34c(0x18a)](_0x4f2334);}[_0xa1601(0x18a)](_0x54a5b2){const _0x405713=_0xa1601;if(this[_0x405713(0x15e)]&&this[_0x405713(0x174)]<0x8&&(this[_0x405713(0x1ac)]+=this[_0x405713(0x15e)],this[_0x405713(0x1ac)]>this[_0x405713(0x210)]&&this[_0x405713(0x210)]>0x0)){const _0x39a1ff=this[_0x405713(0x199)](RangeError,_0x405713(0x215),!0x1,0x3f1,_0x405713(0x17f));_0x54a5b2(_0x39a1ff);return;}this['_masked']?this[_0x405713(0x2ee)]=_0x2e37e3:this[_0x405713(0x2ee)]=_0x4c5cf6;}['getMask'](){const _0x17e524=_0xa1601;if(this[_0x17e524(0x2d0)]<0x4){this[_0x17e524(0x288)]=!0x1;return;}this[_0x17e524(0x179)]=this['consume'](0x4),this['_state']=_0x4c5cf6;}[_0xa1601(0x2d1)](_0x2de47f){const _0x14c484=_0xa1601;let _0x3a998e=_0x4c91e4;if(this[_0x14c484(0x15e)]){if(this[_0x14c484(0x2d0)]<this[_0x14c484(0x15e)]){this[_0x14c484(0x288)]=!0x1;return;}_0x3a998e=this[_0x14c484(0x1a2)](this[_0x14c484(0x15e)]),this[_0x14c484(0x2b6)]&&(this[_0x14c484(0x179)][0x0]|this[_0x14c484(0x179)][0x1]|this[_0x14c484(0x179)][0x2]|this[_0x14c484(0x179)][0x3])!==0x0&&_0x1fe214(_0x3a998e,this[_0x14c484(0x179)]);}if(this['_opcode']>0x7){this['controlMessage'](_0x3a998e,_0x2de47f);return;}if(this[_0x14c484(0x204)]){this[_0x14c484(0x2ee)]=_0x785ab8,this[_0x14c484(0x182)](_0x3a998e,_0x2de47f);return;}_0x3a998e[_0x14c484(0x224)]&&(this[_0x14c484(0x1c7)]=this[_0x14c484(0x1ac)],this[_0x14c484(0x2aa)][_0x14c484(0x206)](_0x3a998e)),this[_0x14c484(0x1f1)](_0x2de47f);}[_0xa1601(0x182)](_0xff93cd,_0x2510e3){const _0x43567a=_0xa1601;this[_0x43567a(0x2cf)][_0x639b2b[_0x43567a(0x269)]]['decompress'](_0xff93cd,this['_fin'],(_0x40f2a1,_0x23720b)=>{const _0x287dbd=_0x43567a;if(_0x40f2a1)return _0x2510e3(_0x40f2a1);if(_0x23720b[_0x287dbd(0x224)]){if(this[_0x287dbd(0x1c7)]+=_0x23720b['length'],this['_messageLength']>this[_0x287dbd(0x210)]&&this[_0x287dbd(0x210)]>0x0){const _0x2c23c6=this['createError'](RangeError,_0x287dbd(0x215),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x2510e3(_0x2c23c6);return;}this[_0x287dbd(0x2aa)][_0x287dbd(0x206)](_0x23720b);}this[_0x287dbd(0x1f1)](_0x2510e3),this[_0x287dbd(0x2ee)]===_0x246802&&this[_0x287dbd(0x188)](_0x2510e3);});}[_0xa1601(0x1f1)](_0x3e4f9c){const _0x2ad9c4=_0xa1601;if(!this[_0x2ad9c4(0x1d6)]){this[_0x2ad9c4(0x2ee)]=_0x246802;return;}const _0x4e8dfd=this[_0x2ad9c4(0x1c7)],_0x4efb27=this[_0x2ad9c4(0x2aa)];if(this['_totalPayloadLength']=0x0,this['_messageLength']=0x0,this['_fragmented']=0x0,this['_fragments']=[],this['_opcode']===0x2){let _0x161af4;this[_0x2ad9c4(0x24e)]===_0x2ad9c4(0x202)?_0x161af4=_0x2e504a(_0x4efb27,_0x4e8dfd):this['_binaryType']===_0x2ad9c4(0x28e)?_0x161af4=_0x389b02(_0x2e504a(_0x4efb27,_0x4e8dfd)):this[_0x2ad9c4(0x24e)]===_0x2ad9c4(0x2d7)?_0x161af4=new Blob(_0x4efb27):_0x161af4=_0x4efb27,this[_0x2ad9c4(0x1a5)]?(this[_0x2ad9c4(0x28b)](_0x2ad9c4(0x27f),_0x161af4,!0x0),this[_0x2ad9c4(0x2ee)]=_0x246802):(this[_0x2ad9c4(0x2ee)]=_0x464b17,setImmediate(()=>{const _0x1dfa04=_0x2ad9c4;this[_0x1dfa04(0x28b)]('message',_0x161af4,!0x0),this[_0x1dfa04(0x2ee)]=_0x246802,this[_0x1dfa04(0x188)](_0x3e4f9c);}));}else{const _0x49946c=_0x2e504a(_0x4efb27,_0x4e8dfd);if(!this[_0x2ad9c4(0x1a7)]&&!_0xe05d36(_0x49946c)){const _0x42bebd=this[_0x2ad9c4(0x199)](Error,_0x2ad9c4(0x305),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x3e4f9c(_0x42bebd);return;}this[_0x2ad9c4(0x2ee)]===_0x785ab8||this[_0x2ad9c4(0x1a5)]?(this[_0x2ad9c4(0x28b)](_0x2ad9c4(0x27f),_0x49946c,!0x1),this['_state']=_0x246802):(this[_0x2ad9c4(0x2ee)]=_0x464b17,setImmediate(()=>{const _0x56ecd0=_0x2ad9c4;this[_0x56ecd0(0x28b)](_0x56ecd0(0x27f),_0x49946c,!0x1),this[_0x56ecd0(0x2ee)]=_0x246802,this[_0x56ecd0(0x188)](_0x3e4f9c);}));}}['controlMessage'](_0x26b72a,_0x57f0a7){const _0x2f0eb1=_0xa1601;if(this[_0x2f0eb1(0x174)]===0x8){if(_0x26b72a['length']===0x0)this['_loop']=!0x1,this[_0x2f0eb1(0x28b)](_0x2f0eb1(0x223),0x3ed,_0x4c91e4),this['end']();else{const _0x22437e=_0x26b72a['readUInt16BE'](0x0);if(!_0x5a2e93(_0x22437e)){const _0x29b9df=this['createError'](RangeError,_0x2f0eb1(0x289)+_0x22437e,!0x0,0x3ea,_0x2f0eb1(0x2ea));_0x57f0a7(_0x29b9df);return;}const _0x2aa9f7=new _0xb87880(_0x26b72a[_0x2f0eb1(0x17c)],_0x26b72a['byteOffset']+0x2,_0x26b72a[_0x2f0eb1(0x224)]-0x2);if(!this[_0x2f0eb1(0x1a7)]&&!_0xe05d36(_0x2aa9f7)){const _0x590efe=this[_0x2f0eb1(0x199)](Error,_0x2f0eb1(0x305),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x57f0a7(_0x590efe);return;}this[_0x2f0eb1(0x288)]=!0x1,this['emit'](_0x2f0eb1(0x223),_0x22437e,_0x2aa9f7),this[_0x2f0eb1(0x2a7)]();}this[_0x2f0eb1(0x2ee)]=_0x246802;return;}this[_0x2f0eb1(0x1a5)]?(this[_0x2f0eb1(0x28b)](this['_opcode']===0x9?_0x2f0eb1(0x1a3):_0x2f0eb1(0x2ac),_0x26b72a),this[_0x2f0eb1(0x2ee)]=_0x246802):(this[_0x2f0eb1(0x2ee)]=_0x464b17,setImmediate(()=>{const _0x34548d=_0x2f0eb1;this[_0x34548d(0x28b)](this[_0x34548d(0x174)]===0x9?'ping':_0x34548d(0x2ac),_0x26b72a),this[_0x34548d(0x2ee)]=_0x246802,this[_0x34548d(0x188)](_0x57f0a7);}));}[_0xa1601(0x199)](_0x10fec2,_0x3c8d29,_0x578c4a,_0x3a699f,_0x34801){const _0x50acbd=_0xa1601;this[_0x50acbd(0x288)]=!0x1,this[_0x50acbd(0x197)]=!0x0;const _0x3db650=new _0x10fec2(_0x578c4a?'Invalid\x20WebSocket\x20frame:\x20'+_0x3c8d29:_0x3c8d29);return Error[_0x50acbd(0x27c)](_0x3db650,this['createError']),_0x3db650[_0x50acbd(0x184)]=_0x34801,_0x3db650[_0xebf4e2]=_0x3a699f,_0x3db650;}}return Se=_0x5e4ef1,Se;}var Ee,et;function _t(){const _0x572cbc=_0x454cd5;if(et)return Ee;et=0x1;const {Duplex:_0x407591}=_0x4aa870,{randomFillSync:_0x255474}=_0x2504c4,_0x5b3e69=he(),{EMPTY_BUFFER:_0xcb2ca5,kWebSocket:_0x5b31f0,NOOP:_0x1eea1d}=V(),{isBlob:_0x14e51f,isValidStatusCode:_0x18e4df}=ne(),{mask:_0x23b96e,toBuffer:_0x197f0f}=ce(),_0x18f4a6=Symbol(_0x572cbc(0x2c8)),_0x101a78=Buffer[_0x572cbc(0x240)](0x4),_0x48c4fb=0x8*0x400;let _0x19c52c,_0x22c0d6=_0x48c4fb;const _0x1be510=0x0,_0x2d4fc3=0x1,_0x20bd28=0x2;class _0x1ecca8{constructor(_0x2944df,_0x191bda,_0x2b2255){const _0x52e711=_0x572cbc;this[_0x52e711(0x2cf)]=_0x191bda||{},_0x2b2255&&(this[_0x52e711(0x2c2)]=_0x2b2255,this[_0x52e711(0x2e3)]=Buffer['alloc'](0x4)),this[_0x52e711(0x279)]=_0x2944df,this['_firstFragment']=!0x0,this[_0x52e711(0x18d)]=!0x1,this[_0x52e711(0x2d0)]=0x0,this[_0x52e711(0x246)]=[],this[_0x52e711(0x2ee)]=_0x1be510,this[_0x52e711(0x15f)]=_0x1eea1d,this[_0x5b31f0]=void 0x0;}static[_0x572cbc(0x1e6)](_0x13f385,_0x45ed97){const _0x26ade1=_0x572cbc;let _0x2a5509,_0x46ed00=!0x1,_0x49a75a=0x2,_0x23196b=!0x1;_0x45ed97[_0x26ade1(0x272)]&&(_0x2a5509=_0x45ed97['maskBuffer']||_0x101a78,_0x45ed97[_0x26ade1(0x1c9)]?_0x45ed97[_0x26ade1(0x1c9)](_0x2a5509):(_0x22c0d6===_0x48c4fb&&(_0x19c52c===void 0x0&&(_0x19c52c=Buffer[_0x26ade1(0x240)](_0x48c4fb)),_0x255474(_0x19c52c,0x0,_0x48c4fb),_0x22c0d6=0x0),_0x2a5509[0x0]=_0x19c52c[_0x22c0d6++],_0x2a5509[0x1]=_0x19c52c[_0x22c0d6++],_0x2a5509[0x2]=_0x19c52c[_0x22c0d6++],_0x2a5509[0x3]=_0x19c52c[_0x22c0d6++]),_0x23196b=(_0x2a5509[0x0]|_0x2a5509[0x1]|_0x2a5509[0x2]|_0x2a5509[0x3])===0x0,_0x49a75a=0x6);let _0x3335da;typeof _0x13f385==_0x26ade1(0x1d7)?(!_0x45ed97[_0x26ade1(0x272)]||_0x23196b)&&_0x45ed97[_0x18f4a6]!==void 0x0?_0x3335da=_0x45ed97[_0x18f4a6]:(_0x13f385=Buffer[_0x26ade1(0x2d2)](_0x13f385),_0x3335da=_0x13f385['length']):(_0x3335da=_0x13f385[_0x26ade1(0x224)],_0x46ed00=_0x45ed97[_0x26ade1(0x272)]&&_0x45ed97[_0x26ade1(0x281)]&&!_0x23196b);let _0x4f9d9e=_0x3335da;_0x3335da>=0x10000?(_0x49a75a+=0x8,_0x4f9d9e=0x7f):_0x3335da>0x7d&&(_0x49a75a+=0x2,_0x4f9d9e=0x7e);const _0x444977=Buffer['allocUnsafe'](_0x46ed00?_0x3335da+_0x49a75a:_0x49a75a);return _0x444977[0x0]=_0x45ed97[_0x26ade1(0x1d9)]?_0x45ed97['opcode']|0x80:_0x45ed97[_0x26ade1(0x165)],_0x45ed97['rsv1']&&(_0x444977[0x0]|=0x40),_0x444977[0x1]=_0x4f9d9e,_0x4f9d9e===0x7e?_0x444977[_0x26ade1(0x20d)](_0x3335da,0x2):_0x4f9d9e===0x7f&&(_0x444977[0x2]=_0x444977[0x3]=0x0,_0x444977['writeUIntBE'](_0x3335da,0x4,0x6)),_0x45ed97[_0x26ade1(0x272)]?(_0x444977[0x1]|=0x80,_0x444977[_0x49a75a-0x4]=_0x2a5509[0x0],_0x444977[_0x49a75a-0x3]=_0x2a5509[0x1],_0x444977[_0x49a75a-0x2]=_0x2a5509[0x2],_0x444977[_0x49a75a-0x1]=_0x2a5509[0x3],_0x23196b?[_0x444977,_0x13f385]:_0x46ed00?(_0x23b96e(_0x13f385,_0x2a5509,_0x444977,_0x49a75a,_0x3335da),[_0x444977]):(_0x23b96e(_0x13f385,_0x2a5509,_0x13f385,0x0,_0x3335da),[_0x444977,_0x13f385])):[_0x444977,_0x13f385];}[_0x572cbc(0x2e8)](_0x1860ab,_0x4a304c,_0x1a1836,_0x25f539){const _0x11654e=_0x572cbc;let _0x5bd702;if(_0x1860ab===void 0x0)_0x5bd702=_0xcb2ca5;else{if(typeof _0x1860ab!=_0x11654e(0x1ca)||!_0x18e4df(_0x1860ab))throw new TypeError(_0x11654e(0x2ab));if(_0x4a304c===void 0x0||!_0x4a304c[_0x11654e(0x224)])_0x5bd702=Buffer['allocUnsafe'](0x2),_0x5bd702[_0x11654e(0x20d)](_0x1860ab,0x0);else{const _0x36fa5e=Buffer['byteLength'](_0x4a304c);if(_0x36fa5e>0x7b)throw new RangeError(_0x11654e(0x259));_0x5bd702=Buffer[_0x11654e(0x26c)](0x2+_0x36fa5e),_0x5bd702[_0x11654e(0x20d)](_0x1860ab,0x0),typeof _0x4a304c=='string'?_0x5bd702[_0x11654e(0x1c5)](_0x4a304c,0x2):_0x5bd702[_0x11654e(0x16c)](_0x4a304c,0x2);}}const _0x51ea6f={[_0x18f4a6]:_0x5bd702[_0x11654e(0x224)],'fin':!0x0,'generateMask':this[_0x11654e(0x2c2)],'mask':_0x1a1836,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x11654e(0x2ee)]!==_0x1be510?this[_0x11654e(0x15a)]([this[_0x11654e(0x2c1)],_0x5bd702,!0x1,_0x51ea6f,_0x25f539]):this[_0x11654e(0x1f7)](_0x1ecca8[_0x11654e(0x1e6)](_0x5bd702,_0x51ea6f),_0x25f539);}[_0x572cbc(0x1a3)](_0x4faf21,_0x59c3f3,_0x4bbb0f){const _0x58297f=_0x572cbc;let _0x46d11c,_0xc0541a;if(typeof _0x4faf21==_0x58297f(0x1d7)?(_0x46d11c=Buffer[_0x58297f(0x15c)](_0x4faf21),_0xc0541a=!0x1):_0x14e51f(_0x4faf21)?(_0x46d11c=_0x4faf21[_0x58297f(0x18c)],_0xc0541a=!0x1):(_0x4faf21=_0x197f0f(_0x4faf21),_0x46d11c=_0x4faf21[_0x58297f(0x224)],_0xc0541a=_0x197f0f[_0x58297f(0x281)]),_0x46d11c>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x4feb2e={[_0x18f4a6]:_0x46d11c,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x59c3f3,'maskBuffer':this[_0x58297f(0x2e3)],'opcode':0x9,'readOnly':_0xc0541a,'rsv1':!0x1};_0x14e51f(_0x4faf21)?this[_0x58297f(0x2ee)]!==_0x1be510?this[_0x58297f(0x15a)]([this[_0x58297f(0x20e)],_0x4faf21,!0x1,_0x4feb2e,_0x4bbb0f]):this[_0x58297f(0x20e)](_0x4faf21,!0x1,_0x4feb2e,_0x4bbb0f):this[_0x58297f(0x2ee)]!==_0x1be510?this[_0x58297f(0x15a)]([this['dispatch'],_0x4faf21,!0x1,_0x4feb2e,_0x4bbb0f]):this['sendFrame'](_0x1ecca8[_0x58297f(0x1e6)](_0x4faf21,_0x4feb2e),_0x4bbb0f);}[_0x572cbc(0x2ac)](_0x4882bb,_0x5b657e,_0x5d6abe){const _0x15c506=_0x572cbc;let _0x70c906,_0x4da707;if(typeof _0x4882bb==_0x15c506(0x1d7)?(_0x70c906=Buffer[_0x15c506(0x15c)](_0x4882bb),_0x4da707=!0x1):_0x14e51f(_0x4882bb)?(_0x70c906=_0x4882bb[_0x15c506(0x18c)],_0x4da707=!0x1):(_0x4882bb=_0x197f0f(_0x4882bb),_0x70c906=_0x4882bb[_0x15c506(0x224)],_0x4da707=_0x197f0f[_0x15c506(0x281)]),_0x70c906>0x7d)throw new RangeError(_0x15c506(0x2fb));const _0x5d14b6={[_0x18f4a6]:_0x70c906,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x5b657e,'maskBuffer':this[_0x15c506(0x2e3)],'opcode':0xa,'readOnly':_0x4da707,'rsv1':!0x1};_0x14e51f(_0x4882bb)?this['_state']!==_0x1be510?this[_0x15c506(0x15a)]([this[_0x15c506(0x20e)],_0x4882bb,!0x1,_0x5d14b6,_0x5d6abe]):this[_0x15c506(0x20e)](_0x4882bb,!0x1,_0x5d14b6,_0x5d6abe):this[_0x15c506(0x2ee)]!==_0x1be510?this[_0x15c506(0x15a)]([this[_0x15c506(0x2c1)],_0x4882bb,!0x1,_0x5d14b6,_0x5d6abe]):this['sendFrame'](_0x1ecca8[_0x15c506(0x1e6)](_0x4882bb,_0x5d14b6),_0x5d6abe);}['send'](_0x416240,_0xf9a810,_0x3703e2){const _0x2d0f6a=_0x572cbc,_0x2a607f=this[_0x2d0f6a(0x2cf)][_0x5b3e69[_0x2d0f6a(0x269)]];let _0x11b758=_0xf9a810['binary']?0x2:0x1,_0x3b82e3=_0xf9a810[_0x2d0f6a(0x257)],_0x4889a4,_0x2eb0c5;typeof _0x416240=='string'?(_0x4889a4=Buffer[_0x2d0f6a(0x15c)](_0x416240),_0x2eb0c5=!0x1):_0x14e51f(_0x416240)?(_0x4889a4=_0x416240[_0x2d0f6a(0x18c)],_0x2eb0c5=!0x1):(_0x416240=_0x197f0f(_0x416240),_0x4889a4=_0x416240['length'],_0x2eb0c5=_0x197f0f['readOnly']),this[_0x2d0f6a(0x1a6)]?(this['_firstFragment']=!0x1,_0x3b82e3&&_0x2a607f&&_0x2a607f[_0x2d0f6a(0x1b9)][_0x2a607f['_isServer']?_0x2d0f6a(0x25c):_0x2d0f6a(0x22f)]&&(_0x3b82e3=_0x4889a4>=_0x2a607f[_0x2d0f6a(0x209)]),this['_compress']=_0x3b82e3):(_0x3b82e3=!0x1,_0x11b758=0x0),_0xf9a810[_0x2d0f6a(0x1d9)]&&(this['_firstFragment']=!0x0);const _0x5569e7={[_0x18f4a6]:_0x4889a4,'fin':_0xf9a810['fin'],'generateMask':this[_0x2d0f6a(0x2c2)],'mask':_0xf9a810[_0x2d0f6a(0x272)],'maskBuffer':this[_0x2d0f6a(0x2e3)],'opcode':_0x11b758,'readOnly':_0x2eb0c5,'rsv1':_0x3b82e3};_0x14e51f(_0x416240)?this[_0x2d0f6a(0x2ee)]!==_0x1be510?this[_0x2d0f6a(0x15a)]([this[_0x2d0f6a(0x20e)],_0x416240,this[_0x2d0f6a(0x18d)],_0x5569e7,_0x3703e2]):this[_0x2d0f6a(0x20e)](_0x416240,this[_0x2d0f6a(0x18d)],_0x5569e7,_0x3703e2):this[_0x2d0f6a(0x2ee)]!==_0x1be510?this[_0x2d0f6a(0x15a)]([this[_0x2d0f6a(0x2c1)],_0x416240,this['_compress'],_0x5569e7,_0x3703e2]):this[_0x2d0f6a(0x2c1)](_0x416240,this[_0x2d0f6a(0x18d)],_0x5569e7,_0x3703e2);}[_0x572cbc(0x20e)](_0x2a4d2f,_0x48f547,_0x1e17e6,_0x51fe82){const _0x3fbdb9=_0x572cbc;this[_0x3fbdb9(0x2d0)]+=_0x1e17e6[_0x18f4a6],this[_0x3fbdb9(0x2ee)]=_0x20bd28,_0x2a4d2f[_0x3fbdb9(0x26b)]()[_0x3fbdb9(0x265)](_0x12964b=>{const _0x2fdcaa=_0x3fbdb9;if(this[_0x2fdcaa(0x279)]['destroyed']){const _0xba13df=new Error(_0x2fdcaa(0x196));process[_0x2fdcaa(0x1e0)](_0x742c4c,this,_0xba13df,_0x51fe82);return;}this['_bufferedBytes']-=_0x1e17e6[_0x18f4a6];const _0x287bc0=_0x197f0f(_0x12964b);_0x48f547?this[_0x2fdcaa(0x2c1)](_0x287bc0,_0x48f547,_0x1e17e6,_0x51fe82):(this[_0x2fdcaa(0x2ee)]=_0x1be510,this['sendFrame'](_0x1ecca8[_0x2fdcaa(0x1e6)](_0x287bc0,_0x1e17e6),_0x51fe82),this[_0x2fdcaa(0x271)]());})[_0x3fbdb9(0x282)](_0x84f8e0=>{process['nextTick'](_0x315cd9,this,_0x84f8e0,_0x51fe82);});}[_0x572cbc(0x2c1)](_0x9f6bf6,_0x21462c,_0x15640e,_0x8b09b5){const _0x53df81=_0x572cbc;if(!_0x21462c){this['sendFrame'](_0x1ecca8[_0x53df81(0x1e6)](_0x9f6bf6,_0x15640e),_0x8b09b5);return;}const _0x255573=this[_0x53df81(0x2cf)][_0x5b3e69['extensionName']];this[_0x53df81(0x2d0)]+=_0x15640e[_0x18f4a6],this[_0x53df81(0x2ee)]=_0x2d4fc3,_0x255573['compress'](_0x9f6bf6,_0x15640e[_0x53df81(0x1d9)],(_0x25d8af,_0x2fa3dc)=>{const _0x3b8aff=_0x53df81;if(this[_0x3b8aff(0x279)][_0x3b8aff(0x2da)]){const _0x3714a6=new Error(_0x3b8aff(0x2b2));_0x742c4c(this,_0x3714a6,_0x8b09b5);return;}this[_0x3b8aff(0x2d0)]-=_0x15640e[_0x18f4a6],this[_0x3b8aff(0x2ee)]=_0x1be510,_0x15640e['readOnly']=!0x1,this['sendFrame'](_0x1ecca8['frame'](_0x2fa3dc,_0x15640e),_0x8b09b5),this['dequeue']();});}[_0x572cbc(0x271)](){const _0x2a745c=_0x572cbc;for(;this[_0x2a745c(0x2ee)]===_0x1be510&&this['_queue'][_0x2a745c(0x224)];){const _0x33519c=this['_queue']['shift']();this['_bufferedBytes']-=_0x33519c[0x3][_0x18f4a6],Reflect[_0x2a745c(0x1bf)](_0x33519c[0x0],this,_0x33519c[_0x2a745c(0x1a4)](0x1));}}[_0x572cbc(0x15a)](_0x26a9ad){const _0x282241=_0x572cbc;this[_0x282241(0x2d0)]+=_0x26a9ad[0x3][_0x18f4a6],this[_0x282241(0x246)][_0x282241(0x206)](_0x26a9ad);}['sendFrame'](_0x290205,_0x5917a6){const _0x5b0edd=_0x572cbc;_0x290205[_0x5b0edd(0x224)]===0x2?(this[_0x5b0edd(0x279)][_0x5b0edd(0x1b5)](),this[_0x5b0edd(0x279)][_0x5b0edd(0x1c5)](_0x290205[0x0]),this[_0x5b0edd(0x279)][_0x5b0edd(0x1c5)](_0x290205[0x1],_0x5917a6),this['_socket'][_0x5b0edd(0x1dd)]()):this[_0x5b0edd(0x279)][_0x5b0edd(0x1c5)](_0x290205[0x0],_0x5917a6);}}Ee=_0x1ecca8;function _0x742c4c(_0x19dc0c,_0x55ae05,_0x432c8a){const _0x56a090=_0x572cbc;typeof _0x432c8a==_0x56a090(0x1ab)&&_0x432c8a(_0x55ae05);for(let _0x32940c=0x0;_0x32940c<_0x19dc0c[_0x56a090(0x246)][_0x56a090(0x224)];_0x32940c++){const _0x379bc5=_0x19dc0c[_0x56a090(0x246)][_0x32940c],_0x38a51b=_0x379bc5[_0x379bc5[_0x56a090(0x224)]-0x1];typeof _0x38a51b=='function'&&_0x38a51b(_0x55ae05);}}function _0x315cd9(_0xe302a,_0x27e664,_0x53da1d){_0x742c4c(_0xe302a,_0x27e664,_0x53da1d),_0xe302a['onerror'](_0x27e664);}return Ee;}var xe,tt;function _0x17ff(_0x13e6c9,_0x20042e){const _0x55edbb=_0x55ed();return _0x17ff=function(_0x17ff4c,_0x1b5809){_0x17ff4c=_0x17ff4c-0x15a;let _0x44938b=_0x55edbb[_0x17ff4c];return _0x44938b;},_0x17ff(_0x13e6c9,_0x20042e);}function Kt(){const _0x3bc615=_0x454cd5;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x22a073,kListener:_0x3a40da}=V(),_0x59dcac=Symbol('kCode'),_0xc01e13=Symbol(_0x3bc615(0x225)),_0x5a0de0=Symbol(_0x3bc615(0x1ff)),_0xa35c29=Symbol('kMessage'),_0x47d279=Symbol(_0x3bc615(0x2b7)),_0x1a0de7=Symbol(_0x3bc615(0x2ec)),_0x4cacca=Symbol(_0x3bc615(0x164)),_0x381248=Symbol(_0x3bc615(0x1c6));class _0x4fbc45{constructor(_0x236691){this[_0x1a0de7]=null,this[_0x4cacca]=_0x236691;}get[_0x3bc615(0x1c2)](){return this[_0x1a0de7];}get[_0x3bc615(0x27e)](){return this[_0x4cacca];}}Object[_0x3bc615(0x2bd)](_0x4fbc45[_0x3bc615(0x2bb)],'target',{'enumerable':!0x0}),Object['defineProperty'](_0x4fbc45['prototype'],_0x3bc615(0x27e),{'enumerable':!0x0});class _0xdaa35f extends _0x4fbc45{constructor(_0x59f4ef,_0x37b03a={}){const _0x47cf4a=_0x3bc615;super(_0x59f4ef),this[_0x59dcac]=_0x37b03a['code']===void 0x0?0x0:_0x37b03a['code'],this[_0x47d279]=_0x37b03a[_0x47cf4a(0x24f)]===void 0x0?'':_0x37b03a[_0x47cf4a(0x24f)],this[_0x381248]=_0x37b03a[_0x47cf4a(0x2e4)]===void 0x0?!0x1:_0x37b03a[_0x47cf4a(0x2e4)];}get[_0x3bc615(0x184)](){return this[_0x59dcac];}get[_0x3bc615(0x24f)](){return this[_0x47d279];}get[_0x3bc615(0x2e4)](){return this[_0x381248];}}Object['defineProperty'](_0xdaa35f[_0x3bc615(0x2bb)],_0x3bc615(0x184),{'enumerable':!0x0}),Object[_0x3bc615(0x2bd)](_0xdaa35f['prototype'],'reason',{'enumerable':!0x0}),Object[_0x3bc615(0x2bd)](_0xdaa35f[_0x3bc615(0x2bb)],_0x3bc615(0x2e4),{'enumerable':!0x0});class _0x318472 extends _0x4fbc45{constructor(_0x499941,_0x59ca50={}){const _0x213bff=_0x3bc615;super(_0x499941),this[_0x5a0de0]=_0x59ca50[_0x213bff(0x1a8)]===void 0x0?null:_0x59ca50[_0x213bff(0x1a8)],this[_0xa35c29]=_0x59ca50['message']===void 0x0?'':_0x59ca50[_0x213bff(0x27f)];}get[_0x3bc615(0x1a8)](){return this[_0x5a0de0];}get[_0x3bc615(0x27f)](){return this[_0xa35c29];}}Object['defineProperty'](_0x318472['prototype'],_0x3bc615(0x1a8),{'enumerable':!0x0}),Object[_0x3bc615(0x2bd)](_0x318472['prototype'],'message',{'enumerable':!0x0});class _0x34f045 extends _0x4fbc45{constructor(_0x5f47db,_0x4815b4={}){const _0x5d0c7d=_0x3bc615;super(_0x5f47db),this[_0xc01e13]=_0x4815b4[_0x5d0c7d(0x277)]===void 0x0?null:_0x4815b4[_0x5d0c7d(0x277)];}get[_0x3bc615(0x277)](){return this[_0xc01e13];}}Object[_0x3bc615(0x2bd)](_0x34f045['prototype'],_0x3bc615(0x277),{'enumerable':!0x0}),xe={'CloseEvent':_0xdaa35f,'ErrorEvent':_0x318472,'Event':_0x4fbc45,'EventTarget':{'addEventListener'(_0x3b6210,_0x48da8b,_0x4c6a5a={}){const _0x526d4d=_0x3bc615;for(const _0x412bdf of this[_0x526d4d(0x2d4)](_0x3b6210))if(!_0x4c6a5a[_0x22a073]&&_0x412bdf[_0x3a40da]===_0x48da8b&&!_0x412bdf[_0x22a073])return;let _0x381ba4;if(_0x3b6210===_0x526d4d(0x27f))_0x381ba4=function(_0x2c4be8,_0x5865){const _0x23d244=_0x526d4d,_0x150662=new _0x34f045(_0x23d244(0x27f),{'data':_0x5865?_0x2c4be8:_0x2c4be8['toString']()});_0x150662[_0x1a0de7]=this,_0x551845(_0x48da8b,this,_0x150662);};else{if(_0x3b6210===_0x526d4d(0x2e8))_0x381ba4=function(_0x2e0ec3,_0x436ce2){const _0x1476cc=_0x526d4d,_0x5058df=new _0xdaa35f(_0x1476cc(0x2e8),{'code':_0x2e0ec3,'reason':_0x436ce2[_0x1476cc(0x255)](),'wasClean':this[_0x1476cc(0x27a)]&&this[_0x1476cc(0x1f5)]});_0x5058df[_0x1a0de7]=this,_0x551845(_0x48da8b,this,_0x5058df);};else{if(_0x3b6210===_0x526d4d(0x1a8))_0x381ba4=function(_0x3fed86){const _0x27c656=_0x526d4d,_0x4fdb7a=new _0x318472(_0x27c656(0x1a8),{'error':_0x3fed86,'message':_0x3fed86[_0x27c656(0x27f)]});_0x4fdb7a[_0x1a0de7]=this,_0x551845(_0x48da8b,this,_0x4fdb7a);};else{if(_0x3b6210==='open')_0x381ba4=function(){const _0x5c0a86=new _0x4fbc45('open');_0x5c0a86[_0x1a0de7]=this,_0x551845(_0x48da8b,this,_0x5c0a86);};else return;}}}_0x381ba4[_0x22a073]=!!_0x4c6a5a[_0x22a073],_0x381ba4[_0x3a40da]=_0x48da8b,_0x4c6a5a[_0x526d4d(0x1ae)]?this['once'](_0x3b6210,_0x381ba4):this['on'](_0x3b6210,_0x381ba4);},'removeEventListener'(_0x538782,_0x10097f){const _0x5aae8f=_0x3bc615;for(const _0x270e5b of this[_0x5aae8f(0x2d4)](_0x538782))if(_0x270e5b[_0x3a40da]===_0x10097f&&!_0x270e5b[_0x22a073]){this[_0x5aae8f(0x2a6)](_0x538782,_0x270e5b);break;}}},'MessageEvent':_0x34f045};function _0x551845(_0x5c0b7d,_0x178369,_0x43b238){const _0x363961=_0x3bc615;typeof _0x5c0b7d==_0x363961(0x1cb)&&_0x5c0b7d[_0x363961(0x16e)]?_0x5c0b7d[_0x363961(0x16e)][_0x363961(0x1f4)](_0x5c0b7d,_0x43b238):_0x5c0b7d['call'](_0x178369,_0x43b238);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x2b8187}=ne();function _0x365f1c(_0x5b35f3,_0x3af1c0,_0x12fb79){const _0x27d6cd=_0x17ff;_0x5b35f3[_0x3af1c0]===void 0x0?_0x5b35f3[_0x3af1c0]=[_0x12fb79]:_0x5b35f3[_0x3af1c0][_0x27d6cd(0x206)](_0x12fb79);}function _0x2c67eb(_0x11881c){const _0x1fab0f=_0x17ff,_0x22dc6b=Object['create'](null);let _0x56c897=Object['create'](null),_0x5dc0bf=!0x1,_0x38ecb7=!0x1,_0x4b7ff8=!0x1,_0x5f46bd,_0x132267,_0x3cba3e=-0x1,_0x4f3932=-0x1,_0x236211=-0x1,_0x5969f=0x0;for(;_0x5969f<_0x11881c[_0x1fab0f(0x224)];_0x5969f++)if(_0x4f3932=_0x11881c['charCodeAt'](_0x5969f),_0x5f46bd===void 0x0){if(_0x236211===-0x1&&_0x2b8187[_0x4f3932]===0x1)_0x3cba3e===-0x1&&(_0x3cba3e=_0x5969f);else{if(_0x5969f!==0x0&&(_0x4f3932===0x20||_0x4f3932===0x9))_0x236211===-0x1&&_0x3cba3e!==-0x1&&(_0x236211=_0x5969f);else{if(_0x4f3932===0x3b||_0x4f3932===0x2c){if(_0x3cba3e===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x5969f);_0x236211===-0x1&&(_0x236211=_0x5969f);const _0x37f230=_0x11881c[_0x1fab0f(0x1a4)](_0x3cba3e,_0x236211);_0x4f3932===0x2c?(_0x365f1c(_0x22dc6b,_0x37f230,_0x56c897),_0x56c897=Object[_0x1fab0f(0x2b1)](null)):_0x5f46bd=_0x37f230,_0x3cba3e=_0x236211=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x5969f);}}}else{if(_0x132267===void 0x0){if(_0x236211===-0x1&&_0x2b8187[_0x4f3932]===0x1)_0x3cba3e===-0x1&&(_0x3cba3e=_0x5969f);else{if(_0x4f3932===0x20||_0x4f3932===0x9)_0x236211===-0x1&&_0x3cba3e!==-0x1&&(_0x236211=_0x5969f);else{if(_0x4f3932===0x3b||_0x4f3932===0x2c){if(_0x3cba3e===-0x1)throw new SyntaxError(_0x1fab0f(0x296)+_0x5969f);_0x236211===-0x1&&(_0x236211=_0x5969f),_0x365f1c(_0x56c897,_0x11881c[_0x1fab0f(0x1a4)](_0x3cba3e,_0x236211),!0x0),_0x4f3932===0x2c&&(_0x365f1c(_0x22dc6b,_0x5f46bd,_0x56c897),_0x56c897=Object[_0x1fab0f(0x2b1)](null),_0x5f46bd=void 0x0),_0x3cba3e=_0x236211=-0x1;}else{if(_0x4f3932===0x3d&&_0x3cba3e!==-0x1&&_0x236211===-0x1)_0x132267=_0x11881c[_0x1fab0f(0x1a4)](_0x3cba3e,_0x5969f),_0x3cba3e=_0x236211=-0x1;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x5969f);}}}}else{if(_0x38ecb7){if(_0x2b8187[_0x4f3932]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x5969f);_0x3cba3e===-0x1?_0x3cba3e=_0x5969f:_0x5dc0bf||(_0x5dc0bf=!0x0),_0x38ecb7=!0x1;}else{if(_0x4b7ff8){if(_0x2b8187[_0x4f3932]===0x1)_0x3cba3e===-0x1&&(_0x3cba3e=_0x5969f);else{if(_0x4f3932===0x22&&_0x3cba3e!==-0x1)_0x4b7ff8=!0x1,_0x236211=_0x5969f;else{if(_0x4f3932===0x5c)_0x38ecb7=!0x0;else throw new SyntaxError(_0x1fab0f(0x296)+_0x5969f);}}}else{if(_0x4f3932===0x22&&_0x11881c[_0x1fab0f(0x2fc)](_0x5969f-0x1)===0x3d)_0x4b7ff8=!0x0;else{if(_0x236211===-0x1&&_0x2b8187[_0x4f3932]===0x1)_0x3cba3e===-0x1&&(_0x3cba3e=_0x5969f);else{if(_0x3cba3e!==-0x1&&(_0x4f3932===0x20||_0x4f3932===0x9))_0x236211===-0x1&&(_0x236211=_0x5969f);else{if(_0x4f3932===0x3b||_0x4f3932===0x2c){if(_0x3cba3e===-0x1)throw new SyntaxError(_0x1fab0f(0x296)+_0x5969f);_0x236211===-0x1&&(_0x236211=_0x5969f);let _0x5c7076=_0x11881c[_0x1fab0f(0x1a4)](_0x3cba3e,_0x236211);_0x5dc0bf&&(_0x5c7076=_0x5c7076[_0x1fab0f(0x1a9)](/\\/g,''),_0x5dc0bf=!0x1),_0x365f1c(_0x56c897,_0x132267,_0x5c7076),_0x4f3932===0x2c&&(_0x365f1c(_0x22dc6b,_0x5f46bd,_0x56c897),_0x56c897=Object[_0x1fab0f(0x2b1)](null),_0x5f46bd=void 0x0),_0x132267=void 0x0,_0x3cba3e=_0x236211=-0x1;}else throw new SyntaxError(_0x1fab0f(0x296)+_0x5969f);}}}}}}}if(_0x3cba3e===-0x1||_0x4b7ff8||_0x4f3932===0x20||_0x4f3932===0x9)throw new SyntaxError(_0x1fab0f(0x251));_0x236211===-0x1&&(_0x236211=_0x5969f);const _0x208030=_0x11881c['slice'](_0x3cba3e,_0x236211);return _0x5f46bd===void 0x0?_0x365f1c(_0x22dc6b,_0x208030,_0x56c897):(_0x132267===void 0x0?_0x365f1c(_0x56c897,_0x208030,!0x0):_0x5dc0bf?_0x365f1c(_0x56c897,_0x132267,_0x208030[_0x1fab0f(0x1a9)](/\\/g,'')):_0x365f1c(_0x56c897,_0x132267,_0x208030),_0x365f1c(_0x22dc6b,_0x5f46bd,_0x56c897)),_0x22dc6b;}function _0x40788d(_0x5bc1ff){const _0x47006d=_0x17ff;return Object[_0x47006d(0x1fd)](_0x5bc1ff)[_0x47006d(0x1b2)](_0x5f5dcd=>{const _0x47ddc4=_0x47006d;let _0xe8b00a=_0x5bc1ff[_0x5f5dcd];return Array[_0x47ddc4(0x22e)](_0xe8b00a)||(_0xe8b00a=[_0xe8b00a]),_0xe8b00a[_0x47ddc4(0x1b2)](_0x3ffe43=>[_0x5f5dcd][_0x47ddc4(0x26a)](Object[_0x47ddc4(0x1fd)](_0x3ffe43)['map'](_0xbc8352=>{const _0x272a93=_0x47ddc4;let _0x3e9335=_0x3ffe43[_0xbc8352];return Array['isArray'](_0x3e9335)||(_0x3e9335=[_0x3e9335]),_0x3e9335[_0x272a93(0x1b2)](_0x37c008=>_0x37c008===!0x0?_0xbc8352:_0xbc8352+'='+_0x37c008)[_0x272a93(0x1d4)](';\x20');}))[_0x47ddc4(0x1d4)](';\x20'))['join'](',\x20');})['join'](',\x20');}return be={'format':_0x40788d,'parse':_0x2c67eb},be;}var we,st;function Ie(){const _0x10c175=_0x454cd5;if(st)return we;st=0x1;const _0x1fe08d=_0x4a3a9b,_0x5a0eef=_0x554dea,_0x16ea46=_0x4d8b7b,_0x455adf=_0x396ef7,_0x2d41d2=_0x3f270e,{randomBytes:_0xbc40f5,createHash:_0x973384}=_0x2504c4,{Duplex:_0x3da353,Readable:_0x1c3047}=_0x4aa870,{URL:_0x2f2383}=_0x4b30ea,_0x1f717f=he(),_0x51225b=dt(),_0x4f0cbc=_t(),{isBlob:_0x5b1730}=ne(),{BINARY_TYPES:_0x4f34a7,EMPTY_BUFFER:_0x3f014c,GUID:_0x7e3831,kForOnEventAttribute:_0x4b2406,kListener:_0x46ee49,kStatusCode:_0x4bddca,kWebSocket:_0x20ed6d,NOOP:_0x242d03}=V(),{EventTarget:{addEventListener:_0x5bed38,removeEventListener:_0x3ff078}}=Kt(),{format:_0x13c09e,parse:_0x52a951}=pt(),{toBuffer:_0xc6684e}=ce(),_0x5f3bfa=0x1e*0x3e8,_0x53ea7b=Symbol(_0x10c175(0x1ef)),_0x35df37=[0x8,0xd],_0x911710=[_0x10c175(0x22d),_0x10c175(0x16b),_0x10c175(0x242),'CLOSED'],_0x112e31=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x2eaecb extends _0x1fe08d{constructor(_0xc178fe,_0xac8d61,_0x8c25c5){const _0x1cd013=_0x10c175;super(),this[_0x1cd013(0x24e)]=_0x4f34a7[0x0],this[_0x1cd013(0x1e1)]=0x3ee,this[_0x1cd013(0x27a)]=!0x1,this['_closeFrameSent']=!0x1,this[_0x1cd013(0x1de)]=_0x3f014c,this[_0x1cd013(0x293)]=null,this['_errorEmitted']=!0x1,this[_0x1cd013(0x2cf)]={},this['_paused']=!0x1,this['_protocol']='',this[_0x1cd013(0x2e9)]=_0x2eaecb['CONNECTING'],this[_0x1cd013(0x176)]=null,this['_sender']=null,this[_0x1cd013(0x279)]=null,_0xc178fe!==null?(this['_bufferedAmount']=0x0,this['_isServer']=!0x1,this[_0x1cd013(0x1f8)]=0x0,_0xac8d61===void 0x0?_0xac8d61=[]:Array[_0x1cd013(0x22e)](_0xac8d61)||(typeof _0xac8d61==_0x1cd013(0x1cb)&&_0xac8d61!==null?(_0x8c25c5=_0xac8d61,_0xac8d61=[]):_0xac8d61=[_0xac8d61]),_0x54c44f(this,_0xc178fe,_0xac8d61,_0x8c25c5)):(this[_0x1cd013(0x2de)]=_0x8c25c5[_0x1cd013(0x28f)],this[_0x1cd013(0x307)]=!0x0);}get[_0x10c175(0x2a8)](){const _0x579fdb=_0x10c175;return this[_0x579fdb(0x24e)];}set[_0x10c175(0x2a8)](_0x38f8cc){const _0x20b2b1=_0x10c175;_0x4f34a7[_0x20b2b1(0x2f7)](_0x38f8cc)&&(this['_binaryType']=_0x38f8cc,this['_receiver']&&(this['_receiver']['_binaryType']=_0x38f8cc));}get[_0x10c175(0x1a0)](){const _0x17499a=_0x10c175;return this[_0x17499a(0x279)]?this[_0x17499a(0x279)][_0x17499a(0x275)][_0x17499a(0x224)]+this[_0x17499a(0x189)][_0x17499a(0x2d0)]:this[_0x17499a(0x25f)];}get[_0x10c175(0x1cd)](){const _0x411769=_0x10c175;return Object[_0x411769(0x1fd)](this[_0x411769(0x2cf)])[_0x411769(0x1d4)]();}get[_0x10c175(0x236)](){const _0x2e41b2=_0x10c175;return this[_0x2e41b2(0x191)];}get[_0x10c175(0x1e7)](){return null;}get[_0x10c175(0x15f)](){return null;}get[_0x10c175(0x1be)](){return null;}get[_0x10c175(0x2a2)](){return null;}get[_0x10c175(0x218)](){const _0x579a29=_0x10c175;return this[_0x579a29(0x162)];}get[_0x10c175(0x1f0)](){const _0x49bc61=_0x10c175;return this[_0x49bc61(0x2e9)];}get[_0x10c175(0x2d6)](){const _0x5a940e=_0x10c175;return this[_0x5a940e(0x231)];}['setSocket'](_0x740e0e,_0x4e2396,_0x267c91){const _0x53b5d2=_0x10c175,_0xf0b4ef=new _0x51225b({'allowSynchronousEvents':_0x267c91[_0x53b5d2(0x167)],'binaryType':this[_0x53b5d2(0x2a8)],'extensions':this[_0x53b5d2(0x2cf)],'isServer':this[_0x53b5d2(0x307)],'maxPayload':_0x267c91[_0x53b5d2(0x222)],'skipUTF8Validation':_0x267c91[_0x53b5d2(0x192)]}),_0x1d4254=new _0x4f0cbc(_0x740e0e,this[_0x53b5d2(0x2cf)],_0x267c91[_0x53b5d2(0x1c9)]);this[_0x53b5d2(0x176)]=_0xf0b4ef,this[_0x53b5d2(0x189)]=_0x1d4254,this['_socket']=_0x740e0e,_0xf0b4ef[_0x20ed6d]=this,_0x1d4254[_0x20ed6d]=this,_0x740e0e[_0x20ed6d]=this,_0xf0b4ef['on'](_0x53b5d2(0x223),_0x727c98),_0xf0b4ef['on'](_0x53b5d2(0x299),_0x34eacb),_0xf0b4ef['on']('error',_0x44bd96),_0xf0b4ef['on'](_0x53b5d2(0x27f),_0x7ed183),_0xf0b4ef['on']('ping',_0x40316c),_0xf0b4ef['on'](_0x53b5d2(0x2ac),_0x32b7b3),_0x1d4254[_0x53b5d2(0x15f)]=_0x48c3aa,_0x740e0e['setTimeout']&&_0x740e0e[_0x53b5d2(0x212)](0x0),_0x740e0e[_0x53b5d2(0x239)]&&_0x740e0e[_0x53b5d2(0x239)](),_0x4e2396[_0x53b5d2(0x224)]>0x0&&_0x740e0e['unshift'](_0x4e2396),_0x740e0e['on'](_0x53b5d2(0x2e8),_0x2971c3),_0x740e0e['on'](_0x53b5d2(0x277),_0x555e3d),_0x740e0e['on']('end',_0x359181),_0x740e0e['on'](_0x53b5d2(0x1a8),_0x3cb653),this['_readyState']=_0x2eaecb[_0x53b5d2(0x16b)],this[_0x53b5d2(0x28b)]('open');}[_0x10c175(0x229)](){const _0x5e24ec=_0x10c175;if(!this['_socket']){this[_0x5e24ec(0x2e9)]=_0x2eaecb['CLOSED'],this['emit']('close',this[_0x5e24ec(0x1e1)],this[_0x5e24ec(0x1de)]);return;}this['_extensions'][_0x1f717f[_0x5e24ec(0x269)]]&&this[_0x5e24ec(0x2cf)][_0x1f717f[_0x5e24ec(0x269)]][_0x5e24ec(0x268)](),this[_0x5e24ec(0x176)]['removeAllListeners'](),this['_readyState']=_0x2eaecb[_0x5e24ec(0x2f6)],this[_0x5e24ec(0x28b)](_0x5e24ec(0x2e8),this[_0x5e24ec(0x1e1)],this[_0x5e24ec(0x1de)]);}[_0x10c175(0x2e8)](_0x5ca0fb,_0x53ea89){const _0x22a249=_0x10c175;if(this['readyState']!==_0x2eaecb[_0x22a249(0x2f6)]){if(this[_0x22a249(0x1f0)]===_0x2eaecb[_0x22a249(0x22d)]){_0x370cdd(this,this[_0x22a249(0x1b4)],_0x22a249(0x276));return;}if(this['readyState']===_0x2eaecb[_0x22a249(0x242)]){this['_closeFrameSent']&&(this[_0x22a249(0x27a)]||this[_0x22a249(0x176)][_0x22a249(0x275)][_0x22a249(0x241)])&&this[_0x22a249(0x279)][_0x22a249(0x2a7)]();return;}this[_0x22a249(0x2e9)]=_0x2eaecb[_0x22a249(0x242)],this[_0x22a249(0x189)]['close'](_0x5ca0fb,_0x53ea89,!this[_0x22a249(0x307)],_0x4ba2ea=>{const _0x405592=_0x22a249;_0x4ba2ea||(this[_0x405592(0x1f5)]=!0x0,(this[_0x405592(0x27a)]||this[_0x405592(0x176)][_0x405592(0x275)][_0x405592(0x241)])&&this[_0x405592(0x279)]['end']());}),_0x1d608a(this);}}[_0x10c175(0x24d)](){const _0x4b33a0=_0x10c175;this[_0x4b33a0(0x1f0)]===_0x2eaecb[_0x4b33a0(0x22d)]||this[_0x4b33a0(0x1f0)]===_0x2eaecb[_0x4b33a0(0x2f6)]||(this[_0x4b33a0(0x191)]=!0x0,this['_socket'][_0x4b33a0(0x24d)]());}[_0x10c175(0x1a3)](_0xe232de,_0x4e6c5b,_0x5cd133){const _0x38bb49=_0x10c175;if(this[_0x38bb49(0x1f0)]===_0x2eaecb['CONNECTING'])throw new Error(_0x38bb49(0x226));if(typeof _0xe232de=='function'?(_0x5cd133=_0xe232de,_0xe232de=_0x4e6c5b=void 0x0):typeof _0x4e6c5b==_0x38bb49(0x1ab)&&(_0x5cd133=_0x4e6c5b,_0x4e6c5b=void 0x0),typeof _0xe232de==_0x38bb49(0x1ca)&&(_0xe232de=_0xe232de['toString']()),this[_0x38bb49(0x1f0)]!==_0x2eaecb[_0x38bb49(0x16b)]){_0x1e6721(this,_0xe232de,_0x5cd133);return;}_0x4e6c5b===void 0x0&&(_0x4e6c5b=!this[_0x38bb49(0x307)]),this['_sender']['ping'](_0xe232de||_0x3f014c,_0x4e6c5b,_0x5cd133);}['pong'](_0x500772,_0x56e536,_0xd69cf0){const _0x4927c0=_0x10c175;if(this[_0x4927c0(0x1f0)]===_0x2eaecb[_0x4927c0(0x22d)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x500772==_0x4927c0(0x1ab)?(_0xd69cf0=_0x500772,_0x500772=_0x56e536=void 0x0):typeof _0x56e536==_0x4927c0(0x1ab)&&(_0xd69cf0=_0x56e536,_0x56e536=void 0x0),typeof _0x500772=='number'&&(_0x500772=_0x500772[_0x4927c0(0x255)]()),this['readyState']!==_0x2eaecb[_0x4927c0(0x16b)]){_0x1e6721(this,_0x500772,_0xd69cf0);return;}_0x56e536===void 0x0&&(_0x56e536=!this['_isServer']),this[_0x4927c0(0x189)][_0x4927c0(0x2ac)](_0x500772||_0x3f014c,_0x56e536,_0xd69cf0);}[_0x10c175(0x2dd)](){const _0x358ba9=_0x10c175;this[_0x358ba9(0x1f0)]===_0x2eaecb[_0x358ba9(0x22d)]||this[_0x358ba9(0x1f0)]===_0x2eaecb[_0x358ba9(0x2f6)]||(this[_0x358ba9(0x191)]=!0x1,this[_0x358ba9(0x176)]['_writableState'][_0x358ba9(0x1d8)]||this[_0x358ba9(0x279)][_0x358ba9(0x2dd)]());}[_0x10c175(0x1e3)](_0x13c475,_0x541e11,_0x443c2c){const _0xc3e90a=_0x10c175;if(this['readyState']===_0x2eaecb[_0xc3e90a(0x22d)])throw new Error(_0xc3e90a(0x226));if(typeof _0x541e11==_0xc3e90a(0x1ab)&&(_0x443c2c=_0x541e11,_0x541e11={}),typeof _0x13c475==_0xc3e90a(0x1ca)&&(_0x13c475=_0x13c475[_0xc3e90a(0x255)]()),this[_0xc3e90a(0x1f0)]!==_0x2eaecb['OPEN']){_0x1e6721(this,_0x13c475,_0x443c2c);return;}const _0x1d1fc4={'binary':typeof _0x13c475!=_0xc3e90a(0x1d7),'mask':!this['_isServer'],'compress':!0x0,'fin':!0x0,..._0x541e11};this[_0xc3e90a(0x2cf)][_0x1f717f[_0xc3e90a(0x269)]]||(_0x1d1fc4[_0xc3e90a(0x257)]=!0x1),this[_0xc3e90a(0x189)][_0xc3e90a(0x1e3)](_0x13c475||_0x3f014c,_0x1d1fc4,_0x443c2c);}[_0x10c175(0x22b)](){const _0x29546b=_0x10c175;if(this['readyState']!==_0x2eaecb['CLOSED']){if(this[_0x29546b(0x1f0)]===_0x2eaecb[_0x29546b(0x22d)]){_0x370cdd(this,this['_req'],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}this[_0x29546b(0x279)]&&(this[_0x29546b(0x2e9)]=_0x2eaecb[_0x29546b(0x242)],this[_0x29546b(0x279)][_0x29546b(0x2fd)]());}}}Object[_0x10c175(0x2bd)](_0x2eaecb,_0x10c175(0x22d),{'enumerable':!0x0,'value':_0x911710[_0x10c175(0x1cf)](_0x10c175(0x22d))}),Object[_0x10c175(0x2bd)](_0x2eaecb['prototype'],'CONNECTING',{'enumerable':!0x0,'value':_0x911710[_0x10c175(0x1cf)](_0x10c175(0x22d))}),Object[_0x10c175(0x2bd)](_0x2eaecb,_0x10c175(0x16b),{'enumerable':!0x0,'value':_0x911710[_0x10c175(0x1cf)]('OPEN')}),Object[_0x10c175(0x2bd)](_0x2eaecb[_0x10c175(0x2bb)],_0x10c175(0x16b),{'enumerable':!0x0,'value':_0x911710[_0x10c175(0x1cf)](_0x10c175(0x16b))}),Object['defineProperty'](_0x2eaecb,_0x10c175(0x242),{'enumerable':!0x0,'value':_0x911710[_0x10c175(0x1cf)](_0x10c175(0x242))}),Object[_0x10c175(0x2bd)](_0x2eaecb[_0x10c175(0x2bb)],_0x10c175(0x242),{'enumerable':!0x0,'value':_0x911710[_0x10c175(0x1cf)](_0x10c175(0x242))}),Object[_0x10c175(0x2bd)](_0x2eaecb,_0x10c175(0x2f6),{'enumerable':!0x0,'value':_0x911710[_0x10c175(0x1cf)](_0x10c175(0x2f6))}),Object[_0x10c175(0x2bd)](_0x2eaecb['prototype'],_0x10c175(0x2f6),{'enumerable':!0x0,'value':_0x911710[_0x10c175(0x1cf)](_0x10c175(0x2f6))}),[_0x10c175(0x2a8),'bufferedAmount',_0x10c175(0x1cd),_0x10c175(0x236),_0x10c175(0x218),'readyState',_0x10c175(0x2d6)]['forEach'](_0x11b4de=>{const _0x30fad8=_0x10c175;Object[_0x30fad8(0x2bd)](_0x2eaecb['prototype'],_0x11b4de,{'enumerable':!0x0});}),[_0x10c175(0x2a5),_0x10c175(0x1a8),'close',_0x10c175(0x27f)]['forEach'](_0x2a7673=>{const _0x39ff81=_0x10c175;Object[_0x39ff81(0x2bd)](_0x2eaecb['prototype'],'on'+_0x2a7673,{'enumerable':!0x0,'get'(){for(const _0x5c3462 of this['listeners'](_0x2a7673))if(_0x5c3462[_0x4b2406])return _0x5c3462[_0x46ee49];return null;},'set'(_0x18dc89){const _0x2a9c47=_0x39ff81;for(const _0x4e7c4f of this['listeners'](_0x2a7673))if(_0x4e7c4f[_0x4b2406]){this[_0x2a9c47(0x2a6)](_0x2a7673,_0x4e7c4f);break;}typeof _0x18dc89==_0x2a9c47(0x1ab)&&this['addEventListener'](_0x2a7673,_0x18dc89,{[_0x4b2406]:!0x0});}});}),_0x2eaecb[_0x10c175(0x2bb)][_0x10c175(0x286)]=_0x5bed38,_0x2eaecb[_0x10c175(0x2bb)][_0x10c175(0x2e1)]=_0x3ff078,we=_0x2eaecb;function _0x54c44f(_0x147eb4,_0x58018b,_0x1f21f3,_0xa95197){const _0x25be6f=_0x10c175,_0x136785={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x35df37[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0xa95197,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x147eb4['_autoPong']=_0x136785[_0x25be6f(0x28f)],!_0x35df37['includes'](_0x136785['protocolVersion']))throw new RangeError(_0x25be6f(0x264)+_0x136785[_0x25be6f(0x28c)]+'\x20(supported\x20versions:\x20'+_0x35df37[_0x25be6f(0x1d4)](',\x20')+')');let _0x3a6133;if(_0x58018b instanceof _0x2f2383)_0x3a6133=_0x58018b;else try{_0x3a6133=new _0x2f2383(_0x58018b);}catch{throw new SyntaxError(_0x25be6f(0x2bf)+_0x58018b);}_0x3a6133[_0x25be6f(0x218)]===_0x25be6f(0x213)?_0x3a6133[_0x25be6f(0x218)]=_0x25be6f(0x2eb):_0x3a6133['protocol']===_0x25be6f(0x1fb)&&(_0x3a6133['protocol']=_0x25be6f(0x214)),_0x147eb4['_url']=_0x3a6133[_0x25be6f(0x1da)];const _0x44fbd7=_0x3a6133[_0x25be6f(0x218)]===_0x25be6f(0x214),_0x146418=_0x3a6133[_0x25be6f(0x218)]==='ws+unix:';let _0x1868d0;if(_0x3a6133[_0x25be6f(0x218)]!=='ws:'&&!_0x44fbd7&&!_0x146418?_0x1868d0=_0x25be6f(0x1ea):_0x146418&&!_0x3a6133[_0x25be6f(0x2a1)]?_0x1868d0=_0x25be6f(0x1c1):_0x3a6133['hash']&&(_0x1868d0=_0x25be6f(0x21c)),_0x1868d0){const _0x4b4b1d=new SyntaxError(_0x1868d0);if(_0x147eb4[_0x25be6f(0x1f8)]===0x0)throw _0x4b4b1d;_0x33d72a(_0x147eb4,_0x4b4b1d);return;}const _0x589881=_0x44fbd7?0x1bb:0x50,_0x585731=_0xbc40f5(0x10)['toString'](_0x25be6f(0x23c)),_0x4590d9=_0x44fbd7?_0x5a0eef[_0x25be6f(0x297)]:_0x16ea46['request'],_0x5aa615=new Set();let _0x296cc7;if(_0x136785[_0x25be6f(0x2ed)]=_0x136785[_0x25be6f(0x2ed)]||(_0x44fbd7?_0x4538c6:_0x34ece4),_0x136785['defaultPort']=_0x136785[_0x25be6f(0x171)]||_0x589881,_0x136785['port']=_0x3a6133[_0x25be6f(0x2b0)]||_0x589881,_0x136785['host']=_0x3a6133[_0x25be6f(0x1ce)][_0x25be6f(0x160)]('[')?_0x3a6133['hostname']['slice'](0x1,-0x1):_0x3a6133[_0x25be6f(0x1ce)],_0x136785[_0x25be6f(0x2d8)]={..._0x136785[_0x25be6f(0x2d8)],'Sec-WebSocket-Version':_0x136785[_0x25be6f(0x28c)],'Sec-WebSocket-Key':_0x585731,'Connection':'Upgrade','Upgrade':_0x25be6f(0x2cd)},_0x136785[_0x25be6f(0x2f0)]=_0x3a6133[_0x25be6f(0x2a1)]+_0x3a6133[_0x25be6f(0x260)],_0x136785[_0x25be6f(0x15b)]=_0x136785[_0x25be6f(0x228)],_0x136785[_0x25be6f(0x24c)]&&(_0x296cc7=new _0x1f717f(_0x136785['perMessageDeflate']!==!0x0?_0x136785['perMessageDeflate']:{},!0x1,_0x136785[_0x25be6f(0x222)]),_0x136785['headers'][_0x25be6f(0x170)]=_0x13c09e({[_0x1f717f['extensionName']]:_0x296cc7['offer']()})),_0x1f21f3['length']){for(const _0x409183 of _0x1f21f3){if(typeof _0x409183!=_0x25be6f(0x1d7)||!_0x112e31[_0x25be6f(0x1e2)](_0x409183)||_0x5aa615['has'](_0x409183))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x5aa615[_0x25be6f(0x280)](_0x409183);}_0x136785[_0x25be6f(0x2d8)]['Sec-WebSocket-Protocol']=_0x1f21f3[_0x25be6f(0x1d4)](',');}if(_0x136785[_0x25be6f(0x2bc)]&&(_0x136785[_0x25be6f(0x28c)]<0xd?_0x136785[_0x25be6f(0x2d8)]['Sec-WebSocket-Origin']=_0x136785[_0x25be6f(0x2bc)]:_0x136785[_0x25be6f(0x2d8)]['Origin']=_0x136785[_0x25be6f(0x2bc)]),(_0x3a6133[_0x25be6f(0x1ee)]||_0x3a6133['password'])&&(_0x136785[_0x25be6f(0x2f2)]=_0x3a6133['username']+':'+_0x3a6133[_0x25be6f(0x290)]),_0x146418){const _0x16d9b9=_0x136785[_0x25be6f(0x2f0)][_0x25be6f(0x278)](':');_0x136785[_0x25be6f(0x185)]=_0x16d9b9[0x0],_0x136785[_0x25be6f(0x2f0)]=_0x16d9b9[0x1];}let _0xb11dc9;if(_0x136785[_0x25be6f(0x2c5)]){if(_0x147eb4[_0x25be6f(0x1f8)]===0x0){_0x147eb4[_0x25be6f(0x21d)]=_0x146418,_0x147eb4['_originalSecure']=_0x44fbd7,_0x147eb4['_originalHostOrSocketPath']=_0x146418?_0x136785[_0x25be6f(0x185)]:_0x3a6133[_0x25be6f(0x16f)];const _0xbf27a8=_0xa95197&&_0xa95197[_0x25be6f(0x2d8)];if(_0xa95197={..._0xa95197,'headers':{}},_0xbf27a8){for(const [_0xdc9e63,_0x325e3b]of Object['entries'](_0xbf27a8))_0xa95197[_0x25be6f(0x2d8)][_0xdc9e63[_0x25be6f(0x29d)]()]=_0x325e3b;}}else{if(_0x147eb4[_0x25be6f(0x221)]('redirect')===0x0){const _0xdce36e=_0x146418?_0x147eb4[_0x25be6f(0x21d)]?_0x136785[_0x25be6f(0x185)]===_0x147eb4[_0x25be6f(0x2af)]:!0x1:_0x147eb4[_0x25be6f(0x21d)]?!0x1:_0x3a6133['host']===_0x147eb4[_0x25be6f(0x2af)];(!_0xdce36e||_0x147eb4[_0x25be6f(0x2fe)]&&!_0x44fbd7)&&(delete _0x136785[_0x25be6f(0x2d8)][_0x25be6f(0x19e)],delete _0x136785[_0x25be6f(0x2d8)][_0x25be6f(0x2f9)],_0xdce36e||delete _0x136785['headers'][_0x25be6f(0x16f)],_0x136785[_0x25be6f(0x2f2)]=void 0x0);}}_0x136785[_0x25be6f(0x2f2)]&&!_0xa95197['headers'][_0x25be6f(0x19e)]&&(_0xa95197['headers'][_0x25be6f(0x19e)]=_0x25be6f(0x2ff)+Buffer[_0x25be6f(0x2d2)](_0x136785[_0x25be6f(0x2f2)])[_0x25be6f(0x255)](_0x25be6f(0x23c))),_0xb11dc9=_0x147eb4[_0x25be6f(0x1b4)]=_0x4590d9(_0x136785),_0x147eb4['_redirects']&&_0x147eb4[_0x25be6f(0x28b)](_0x25be6f(0x1bc),_0x147eb4[_0x25be6f(0x2d6)],_0xb11dc9);}else _0xb11dc9=_0x147eb4[_0x25be6f(0x1b4)]=_0x4590d9(_0x136785);_0x136785[_0x25be6f(0x15b)]&&_0xb11dc9['on']('timeout',()=>{const _0x4184b4=_0x25be6f;_0x370cdd(_0x147eb4,_0xb11dc9,_0x4184b4(0x248));}),_0xb11dc9['on'](_0x25be6f(0x1a8),_0x45ac15=>{const _0x3b7079=_0x25be6f;_0xb11dc9===null||_0xb11dc9[_0x53ea7b]||(_0xb11dc9=_0x147eb4[_0x3b7079(0x1b4)]=null,_0x33d72a(_0x147eb4,_0x45ac15));}),_0xb11dc9['on'](_0x25be6f(0x29a),_0x5ad4f6=>{const _0x13b907=_0x25be6f,_0x227a34=_0x5ad4f6[_0x13b907(0x2d8)][_0x13b907(0x1b7)],_0x3145cf=_0x5ad4f6['statusCode'];if(_0x227a34&&_0x136785[_0x13b907(0x2c5)]&&_0x3145cf>=0x12c&&_0x3145cf<0x190){if(++_0x147eb4[_0x13b907(0x1f8)]>_0x136785[_0x13b907(0x2c9)]){_0x370cdd(_0x147eb4,_0xb11dc9,_0x13b907(0x2a4));return;}_0xb11dc9[_0x13b907(0x1b8)]();let _0x1483e7;try{_0x1483e7=new _0x2f2383(_0x227a34,_0x58018b);}catch{const _0x3b2511=new SyntaxError('Invalid\x20URL:\x20'+_0x227a34);_0x33d72a(_0x147eb4,_0x3b2511);return;}_0x54c44f(_0x147eb4,_0x1483e7,_0x1f21f3,_0xa95197);}else _0x147eb4[_0x13b907(0x28b)](_0x13b907(0x2f3),_0xb11dc9,_0x5ad4f6)||_0x370cdd(_0x147eb4,_0xb11dc9,_0x13b907(0x270)+_0x5ad4f6['statusCode']);}),_0xb11dc9['on'](_0x25be6f(0x24b),(_0x2b4a75,_0x152f26,_0x2cee73)=>{const _0x4517bc=_0x25be6f;if(_0x147eb4[_0x4517bc(0x28b)](_0x4517bc(0x24b),_0x2b4a75),_0x147eb4[_0x4517bc(0x1f0)]!==_0x2eaecb[_0x4517bc(0x22d)])return;_0xb11dc9=_0x147eb4[_0x4517bc(0x1b4)]=null;const _0x5b850d=_0x2b4a75[_0x4517bc(0x2d8)][_0x4517bc(0x24b)];if(_0x5b850d===void 0x0||_0x5b850d[_0x4517bc(0x29d)]()!==_0x4517bc(0x2cd)){_0x370cdd(_0x147eb4,_0x152f26,_0x4517bc(0x1af));return;}const _0x3ae0eb=_0x973384(_0x4517bc(0x1f3))[_0x4517bc(0x302)](_0x585731+_0x7e3831)[_0x4517bc(0x2e2)](_0x4517bc(0x23c));if(_0x2b4a75[_0x4517bc(0x2d8)][_0x4517bc(0x287)]!==_0x3ae0eb){_0x370cdd(_0x147eb4,_0x152f26,_0x4517bc(0x2d5));return;}const _0x2368a3=_0x2b4a75[_0x4517bc(0x2d8)][_0x4517bc(0x2dc)];let _0x42354e;if(_0x2368a3!==void 0x0?_0x5aa615[_0x4517bc(0x18c)]?_0x5aa615['has'](_0x2368a3)||(_0x42354e=_0x4517bc(0x1d5)):_0x42354e=_0x4517bc(0x187):_0x5aa615[_0x4517bc(0x18c)]&&(_0x42354e=_0x4517bc(0x27d)),_0x42354e){_0x370cdd(_0x147eb4,_0x152f26,_0x42354e);return;}_0x2368a3&&(_0x147eb4[_0x4517bc(0x162)]=_0x2368a3);const _0x2e7bba=_0x2b4a75['headers'][_0x4517bc(0x180)];if(_0x2e7bba!==void 0x0){if(!_0x296cc7){_0x370cdd(_0x147eb4,_0x152f26,_0x4517bc(0x309));return;}let _0x266bae;try{_0x266bae=_0x52a951(_0x2e7bba);}catch{_0x370cdd(_0x147eb4,_0x152f26,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0x669df2=Object['keys'](_0x266bae);if(_0x669df2['length']!==0x1||_0x669df2[0x0]!==_0x1f717f[_0x4517bc(0x269)]){_0x370cdd(_0x147eb4,_0x152f26,'Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested');return;}try{_0x296cc7['accept'](_0x266bae[_0x1f717f[_0x4517bc(0x269)]]);}catch{_0x370cdd(_0x147eb4,_0x152f26,_0x4517bc(0x254));return;}_0x147eb4['_extensions'][_0x1f717f['extensionName']]=_0x296cc7;}_0x147eb4[_0x4517bc(0x28a)](_0x152f26,_0x2cee73,{'allowSynchronousEvents':_0x136785['allowSynchronousEvents'],'generateMask':_0x136785[_0x4517bc(0x1c9)],'maxPayload':_0x136785[_0x4517bc(0x222)],'skipUTF8Validation':_0x136785[_0x4517bc(0x192)]});}),_0x136785[_0x25be6f(0x207)]?_0x136785[_0x25be6f(0x207)](_0xb11dc9,_0x147eb4):_0xb11dc9[_0x25be6f(0x2a7)]();}function _0x33d72a(_0x136fc8,_0x316267){const _0x3d3300=_0x10c175;_0x136fc8['_readyState']=_0x2eaecb['CLOSING'],_0x136fc8[_0x3d3300(0x198)]=!0x0,_0x136fc8[_0x3d3300(0x28b)](_0x3d3300(0x1a8),_0x316267),_0x136fc8[_0x3d3300(0x229)]();}function _0x34ece4(_0x3a6e9a){const _0x2a4607=_0x10c175;return _0x3a6e9a[_0x2a4607(0x2f0)]=_0x3a6e9a[_0x2a4607(0x185)],_0x455adf[_0x2a4607(0x175)](_0x3a6e9a);}function _0x4538c6(_0x20aeb4){const _0x3ae28f=_0x10c175;return _0x20aeb4[_0x3ae28f(0x2f0)]=void 0x0,!_0x20aeb4[_0x3ae28f(0x227)]&&_0x20aeb4[_0x3ae28f(0x227)]!==''&&(_0x20aeb4[_0x3ae28f(0x227)]=_0x455adf[_0x3ae28f(0x25e)](_0x20aeb4[_0x3ae28f(0x16f)])?'':_0x20aeb4[_0x3ae28f(0x16f)]),_0x2d41d2[_0x3ae28f(0x175)](_0x20aeb4);}function _0x370cdd(_0x3acd55,_0x202d41,_0xb86881){const _0x28210b=_0x10c175;_0x3acd55['_readyState']=_0x2eaecb['CLOSING'];const _0x3364dc=new Error(_0xb86881);Error[_0x28210b(0x27c)](_0x3364dc,_0x370cdd),_0x202d41[_0x28210b(0x1bb)]?(_0x202d41[_0x53ea7b]=!0x0,_0x202d41['abort'](),_0x202d41['socket']&&!_0x202d41[_0x28210b(0x2be)][_0x28210b(0x2da)]&&_0x202d41['socket'][_0x28210b(0x2fd)](),process[_0x28210b(0x1e0)](_0x33d72a,_0x3acd55,_0x3364dc)):(_0x202d41[_0x28210b(0x2fd)](_0x3364dc),_0x202d41[_0x28210b(0x1ae)](_0x28210b(0x1a8),_0x3acd55[_0x28210b(0x28b)][_0x28210b(0x195)](_0x3acd55,_0x28210b(0x1a8))),_0x202d41[_0x28210b(0x1ae)](_0x28210b(0x2e8),_0x3acd55[_0x28210b(0x229)]['bind'](_0x3acd55)));}function _0x1e6721(_0x5d6c62,_0x310b5d,_0x1c885f){const _0xa15f0c=_0x10c175;if(_0x310b5d){const _0x4829bf=_0x5b1730(_0x310b5d)?_0x310b5d[_0xa15f0c(0x18c)]:_0xc6684e(_0x310b5d)[_0xa15f0c(0x224)];_0x5d6c62[_0xa15f0c(0x279)]?_0x5d6c62[_0xa15f0c(0x189)][_0xa15f0c(0x2d0)]+=_0x4829bf:_0x5d6c62[_0xa15f0c(0x25f)]+=_0x4829bf;}if(_0x1c885f){const _0x3a6311=new Error(_0xa15f0c(0x1fa)+_0x5d6c62[_0xa15f0c(0x1f0)]+'\x20('+_0x911710[_0x5d6c62[_0xa15f0c(0x1f0)]]+')');process['nextTick'](_0x1c885f,_0x3a6311);}}function _0x727c98(_0x3257eb,_0x5da59d){const _0xbcd8e6=_0x10c175,_0x995ba1=this[_0x20ed6d];_0x995ba1[_0xbcd8e6(0x27a)]=!0x0,_0x995ba1[_0xbcd8e6(0x1de)]=_0x5da59d,_0x995ba1[_0xbcd8e6(0x1e1)]=_0x3257eb,_0x995ba1[_0xbcd8e6(0x279)][_0x20ed6d]!==void 0x0&&(_0x995ba1[_0xbcd8e6(0x279)][_0xbcd8e6(0x2a6)](_0xbcd8e6(0x277),_0x555e3d),process[_0xbcd8e6(0x1e0)](_0x4c0a2c,_0x995ba1[_0xbcd8e6(0x279)]),_0x3257eb===0x3ed?_0x995ba1[_0xbcd8e6(0x2e8)]():_0x995ba1[_0xbcd8e6(0x2e8)](_0x3257eb,_0x5da59d));}function _0x34eacb(){const _0x2f90f8=_0x10c175,_0x1d3f8f=this[_0x20ed6d];_0x1d3f8f[_0x2f90f8(0x236)]||_0x1d3f8f[_0x2f90f8(0x279)][_0x2f90f8(0x2dd)]();}function _0x44bd96(_0x45e56c){const _0x53c0cc=_0x10c175,_0x260886=this[_0x20ed6d];_0x260886['_socket'][_0x20ed6d]!==void 0x0&&(_0x260886[_0x53c0cc(0x279)][_0x53c0cc(0x2a6)]('data',_0x555e3d),process[_0x53c0cc(0x1e0)](_0x4c0a2c,_0x260886['_socket']),_0x260886[_0x53c0cc(0x2e8)](_0x45e56c[_0x4bddca])),_0x260886['_errorEmitted']||(_0x260886[_0x53c0cc(0x198)]=!0x0,_0x260886[_0x53c0cc(0x28b)](_0x53c0cc(0x1a8),_0x45e56c));}function _0x2c44a2(){const _0x4104e2=_0x10c175;this[_0x20ed6d][_0x4104e2(0x229)]();}function _0x7ed183(_0x23ed05,_0x275aba){const _0x1640ac=_0x10c175;this[_0x20ed6d][_0x1640ac(0x28b)]('message',_0x23ed05,_0x275aba);}function _0x40316c(_0x43987f){const _0x22cc4d=_0x10c175,_0x18d21e=this[_0x20ed6d];_0x18d21e['_autoPong']&&_0x18d21e[_0x22cc4d(0x2ac)](_0x43987f,!this[_0x22cc4d(0x307)],_0x242d03),_0x18d21e[_0x22cc4d(0x28b)]('ping',_0x43987f);}function _0x32b7b3(_0x5911e7){const _0x5b5b10=_0x10c175;this[_0x20ed6d][_0x5b5b10(0x28b)]('pong',_0x5911e7);}function _0x4c0a2c(_0x3ee8ba){_0x3ee8ba['resume']();}function _0x48c3aa(_0x6b54b1){const _0xef7594=_0x10c175,_0x377292=this[_0x20ed6d];_0x377292['readyState']!==_0x2eaecb[_0xef7594(0x2f6)]&&(_0x377292[_0xef7594(0x1f0)]===_0x2eaecb[_0xef7594(0x16b)]&&(_0x377292[_0xef7594(0x2e9)]=_0x2eaecb[_0xef7594(0x242)],_0x1d608a(_0x377292)),this[_0xef7594(0x279)]['end'](),_0x377292[_0xef7594(0x198)]||(_0x377292[_0xef7594(0x198)]=!0x0,_0x377292[_0xef7594(0x28b)](_0xef7594(0x1a8),_0x6b54b1)));}function _0x1d608a(_0x160d4a){const _0x38d4ea=_0x10c175;_0x160d4a['_closeTimer']=setTimeout(_0x160d4a[_0x38d4ea(0x279)][_0x38d4ea(0x2fd)][_0x38d4ea(0x195)](_0x160d4a[_0x38d4ea(0x279)]),_0x5f3bfa);}function _0x2971c3(){const _0x56ba02=_0x10c175,_0x15218d=this[_0x20ed6d];this[_0x56ba02(0x2a6)](_0x56ba02(0x2e8),_0x2971c3),this[_0x56ba02(0x2a6)](_0x56ba02(0x277),_0x555e3d),this['removeListener'](_0x56ba02(0x2a7),_0x359181),_0x15218d[_0x56ba02(0x2e9)]=_0x2eaecb[_0x56ba02(0x242)];let _0x5eb137;!this['_readableState'][_0x56ba02(0x266)]&&!_0x15218d[_0x56ba02(0x27a)]&&!_0x15218d[_0x56ba02(0x176)][_0x56ba02(0x275)]['errorEmitted']&&(_0x5eb137=_0x15218d[_0x56ba02(0x279)][_0x56ba02(0x168)]())!==null&&_0x15218d[_0x56ba02(0x176)][_0x56ba02(0x1c5)](_0x5eb137),_0x15218d[_0x56ba02(0x176)][_0x56ba02(0x2a7)](),this[_0x20ed6d]=void 0x0,clearTimeout(_0x15218d[_0x56ba02(0x293)]),_0x15218d['_receiver']['_writableState'][_0x56ba02(0x1df)]||_0x15218d['_receiver']['_writableState'][_0x56ba02(0x241)]?_0x15218d[_0x56ba02(0x229)]():(_0x15218d[_0x56ba02(0x176)]['on'](_0x56ba02(0x1a8),_0x2c44a2),_0x15218d['_receiver']['on']('finish',_0x2c44a2));}function _0x555e3d(_0x5d6d9b){const _0x4d1b6c=_0x10c175;this[_0x20ed6d][_0x4d1b6c(0x176)]['write'](_0x5d6d9b)||this['pause']();}function _0x359181(){const _0x5d6269=_0x10c175,_0x38e210=this[_0x20ed6d];_0x38e210['_readyState']=_0x2eaecb[_0x5d6269(0x242)],_0x38e210[_0x5d6269(0x176)][_0x5d6269(0x2a7)](),this[_0x5d6269(0x2a7)]();}function _0x3cb653(){const _0x491aa3=_0x10c175,_0x44c1b0=this[_0x20ed6d];this['removeListener'](_0x491aa3(0x1a8),_0x3cb653),this['on'](_0x491aa3(0x1a8),_0x242d03),_0x44c1b0&&(_0x44c1b0[_0x491aa3(0x2e9)]=_0x2eaecb[_0x491aa3(0x242)],this['destroy']());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x3dd8c8}=_0x4aa870;function _0x1d10b9(_0x1d1c5b){const _0xc928b8=_0x17ff;_0x1d1c5b[_0xc928b8(0x28b)]('close');}function _0x10b871(){const _0x1f57b7=_0x17ff;!this[_0x1f57b7(0x2da)]&&this[_0x1f57b7(0x275)]['finished']&&this[_0x1f57b7(0x2fd)]();}function _0x4da674(_0x51e43f){const _0x19e5c9=_0x17ff;this[_0x19e5c9(0x2a6)]('error',_0x4da674),this[_0x19e5c9(0x2fd)](),this[_0x19e5c9(0x221)]('error')===0x0&&this[_0x19e5c9(0x28b)](_0x19e5c9(0x1a8),_0x51e43f);}function _0x1d17b6(_0x865525,_0x802411){const _0x249914=_0x17ff;let _0x4db851=!0x0;const _0x51b88f=new _0x3dd8c8({..._0x802411,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x865525['on'](_0x249914(0x27f),function(_0xc05e0f,_0x546686){const _0x383d5b=_0x249914,_0x384d46=!_0x546686&&_0x51b88f['_readableState'][_0x383d5b(0x274)]?_0xc05e0f[_0x383d5b(0x255)]():_0xc05e0f;_0x51b88f[_0x383d5b(0x206)](_0x384d46)||_0x865525[_0x383d5b(0x24d)]();}),_0x865525['once'](_0x249914(0x1a8),function(_0x446724){const _0xede461=_0x249914;_0x51b88f[_0xede461(0x2da)]||(_0x4db851=!0x1,_0x51b88f[_0xede461(0x2fd)](_0x446724));}),_0x865525[_0x249914(0x1ae)](_0x249914(0x2e8),function(){const _0x31f965=_0x249914;_0x51b88f[_0x31f965(0x2da)]||_0x51b88f['push'](null);}),_0x51b88f[_0x249914(0x28d)]=function(_0x102802,_0x41c283){const _0x491e9e=_0x249914;if(_0x865525['readyState']===_0x865525[_0x491e9e(0x2f6)]){_0x41c283(_0x102802),process[_0x491e9e(0x1e0)](_0x1d10b9,_0x51b88f);return;}let _0x18644d=!0x1;_0x865525[_0x491e9e(0x1ae)](_0x491e9e(0x1a8),function(_0x1aa4ed){_0x18644d=!0x0,_0x41c283(_0x1aa4ed);}),_0x865525['once'](_0x491e9e(0x2e8),function(){const _0x2ec847=_0x491e9e;_0x18644d||_0x41c283(_0x102802),process[_0x2ec847(0x1e0)](_0x1d10b9,_0x51b88f);}),_0x4db851&&_0x865525[_0x491e9e(0x22b)]();},_0x51b88f[_0x249914(0x2e5)]=function(_0x30bbbb){const _0x50883b=_0x249914;if(_0x865525[_0x50883b(0x1f0)]===_0x865525[_0x50883b(0x22d)]){_0x865525[_0x50883b(0x1ae)](_0x50883b(0x2a5),function(){_0x51b88f['_final'](_0x30bbbb);});return;}_0x865525[_0x50883b(0x279)]!==null&&(_0x865525[_0x50883b(0x279)][_0x50883b(0x275)]['finished']?(_0x30bbbb(),_0x51b88f[_0x50883b(0x25d)][_0x50883b(0x266)]&&_0x51b88f[_0x50883b(0x2fd)]()):(_0x865525['_socket'][_0x50883b(0x1ae)]('finish',function(){_0x30bbbb();}),_0x865525[_0x50883b(0x2e8)]()));},_0x51b88f['_read']=function(){const _0x54b5fd=_0x249914;_0x865525[_0x54b5fd(0x236)]&&_0x865525[_0x54b5fd(0x2dd)]();},_0x51b88f[_0x249914(0x1fe)]=function(_0x393341,_0x5c5276,_0x415ba3){const _0x2e4c62=_0x249914;if(_0x865525[_0x2e4c62(0x1f0)]===_0x865525[_0x2e4c62(0x22d)]){_0x865525[_0x2e4c62(0x1ae)](_0x2e4c62(0x2a5),function(){const _0x248256=_0x2e4c62;_0x51b88f[_0x248256(0x1fe)](_0x393341,_0x5c5276,_0x415ba3);});return;}_0x865525[_0x2e4c62(0x1e3)](_0x393341,_0x415ba3);},_0x51b88f['on'](_0x249914(0x2a7),_0x10b871),_0x51b88f['on']('error',_0x4da674),_0x51b88f;}return Oe=_0x1d17b6,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=jt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x108ae9}=ne();function _0x3362a2(_0x15c985){const _0xc094ef=_0x17ff,_0x3f9576=new Set();let _0x371b59=-0x1,_0x4773c0=-0x1,_0x3b80e3=0x0;for(_0x3b80e3;_0x3b80e3<_0x15c985[_0xc094ef(0x224)];_0x3b80e3++){const _0x431772=_0x15c985[_0xc094ef(0x2fc)](_0x3b80e3);if(_0x4773c0===-0x1&&_0x108ae9[_0x431772]===0x1)_0x371b59===-0x1&&(_0x371b59=_0x3b80e3);else{if(_0x3b80e3!==0x0&&(_0x431772===0x20||_0x431772===0x9))_0x4773c0===-0x1&&_0x371b59!==-0x1&&(_0x4773c0=_0x3b80e3);else{if(_0x431772===0x2c){if(_0x371b59===-0x1)throw new SyntaxError(_0xc094ef(0x296)+_0x3b80e3);_0x4773c0===-0x1&&(_0x4773c0=_0x3b80e3);const _0xd9cf10=_0x15c985['slice'](_0x371b59,_0x4773c0);if(_0x3f9576[_0xc094ef(0x1b3)](_0xd9cf10))throw new SyntaxError(_0xc094ef(0x2ad)+_0xd9cf10+'\x22\x20subprotocol\x20is\x20duplicated');_0x3f9576[_0xc094ef(0x280)](_0xd9cf10),_0x371b59=_0x4773c0=-0x1;}else throw new SyntaxError(_0xc094ef(0x296)+_0x3b80e3);}}}if(_0x371b59===-0x1||_0x4773c0!==-0x1)throw new SyntaxError(_0xc094ef(0x251));const _0x34b0b1=_0x15c985[_0xc094ef(0x1a4)](_0x371b59,_0x3b80e3);if(_0x3f9576[_0xc094ef(0x1b3)](_0x34b0b1))throw new SyntaxError('The\x20\x22'+_0x34b0b1+_0xc094ef(0x243));return _0x3f9576[_0xc094ef(0x280)](_0x34b0b1),_0x3f9576;}return Ce={'parse':_0x3362a2},Ce;}var Te,ot;function er(){const _0x3c5e65=_0x454cd5;if(ot)return Te;ot=0x1;const _0x2db963=_0x4a3a9b,_0x45ba13=_0x4d8b7b,{Duplex:_0x4b48dc}=_0x4aa870,{createHash:_0x4c8557}=_0x2504c4,_0x1b31bc=pt(),_0x5004a2=he(),_0xc58cb8=Jt(),_0x3b5086=Ie(),{GUID:_0x4a6297,kWebSocket:_0x3a3e9c}=V(),_0x3acf68=/^[+/0-9A-Za-z]{22}==$/,_0x6a4dce=0x0,_0x2e1a29=0x1,_0x18fa6f=0x2;class _0x17215b extends _0x2db963{constructor(_0x455861,_0x58dbed){const _0x2a0e85=_0x17ff;if(super(),_0x455861={'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':_0x3b5086,..._0x455861},_0x455861[_0x2a0e85(0x2b0)]==null&&!_0x455861[_0x2a0e85(0x2cc)]&&!_0x455861[_0x2a0e85(0x2d3)]||_0x455861[_0x2a0e85(0x2b0)]!=null&&(_0x455861[_0x2a0e85(0x2cc)]||_0x455861[_0x2a0e85(0x2d3)])||_0x455861[_0x2a0e85(0x2cc)]&&_0x455861[_0x2a0e85(0x2d3)])throw new TypeError(_0x2a0e85(0x177));if(_0x455861[_0x2a0e85(0x2b0)]!=null?(this['_server']=_0x45ba13[_0x2a0e85(0x25a)]((_0x34c428,_0x4921e6)=>{const _0x1a81ef=_0x2a0e85,_0x5e7b80=_0x45ba13[_0x1a81ef(0x291)][0x1aa];_0x4921e6[_0x1a81ef(0x292)](0x1aa,{'Content-Length':_0x5e7b80[_0x1a81ef(0x224)],'Content-Type':_0x1a81ef(0x2f4)}),_0x4921e6['end'](_0x5e7b80);}),this[_0x2a0e85(0x216)][_0x2a0e85(0x208)](_0x455861[_0x2a0e85(0x2b0)],_0x455861[_0x2a0e85(0x16f)],_0x455861['backlog'],_0x58dbed)):_0x455861[_0x2a0e85(0x2cc)]&&(this[_0x2a0e85(0x216)]=_0x455861[_0x2a0e85(0x2cc)]),this['_server']){const _0x4bd969=this[_0x2a0e85(0x28b)][_0x2a0e85(0x195)](this,_0x2a0e85(0x234));this[_0x2a0e85(0x1a1)]=_0x4dad75(this[_0x2a0e85(0x216)],{'listening':this['emit'][_0x2a0e85(0x195)](this,_0x2a0e85(0x1f6)),'error':this[_0x2a0e85(0x28b)]['bind'](this,'error'),'upgrade':(_0x36ccc3,_0x1aa545,_0x5ea0ab)=>{this['handleUpgrade'](_0x36ccc3,_0x1aa545,_0x5ea0ab,_0x4bd969);}});}_0x455861[_0x2a0e85(0x24c)]===!0x0&&(_0x455861['perMessageDeflate']={}),_0x455861[_0x2a0e85(0x263)]&&(this[_0x2a0e85(0x308)]=new Set(),this[_0x2a0e85(0x258)]=!0x1),this[_0x2a0e85(0x205)]=_0x455861,this['_state']=_0x6a4dce;}[_0x3c5e65(0x169)](){const _0x38508f=_0x3c5e65;if(this[_0x38508f(0x205)][_0x38508f(0x2d3)])throw new Error(_0x38508f(0x2e7));return this[_0x38508f(0x216)]?this['_server'][_0x38508f(0x169)]():null;}[_0x3c5e65(0x2e8)](_0x3c101c){const _0x3c2d47=_0x3c5e65;if(this[_0x3c2d47(0x2ee)]===_0x18fa6f){_0x3c101c&&this[_0x3c2d47(0x1ae)](_0x3c2d47(0x2e8),()=>{_0x3c101c(new Error('The\x20server\x20is\x20not\x20running'));}),process[_0x3c2d47(0x1e0)](_0x4bded5,this);return;}if(_0x3c101c&&this[_0x3c2d47(0x1ae)](_0x3c2d47(0x2e8),_0x3c101c),this[_0x3c2d47(0x2ee)]!==_0x2e1a29){if(this['_state']=_0x2e1a29,this[_0x3c2d47(0x205)][_0x3c2d47(0x2d3)]||this[_0x3c2d47(0x205)][_0x3c2d47(0x2cc)])this[_0x3c2d47(0x216)]&&(this[_0x3c2d47(0x1a1)](),this[_0x3c2d47(0x1a1)]=this[_0x3c2d47(0x216)]=null),this[_0x3c2d47(0x308)]?this[_0x3c2d47(0x308)][_0x3c2d47(0x18c)]?this[_0x3c2d47(0x258)]=!0x0:process[_0x3c2d47(0x1e0)](_0x4bded5,this):process[_0x3c2d47(0x1e0)](_0x4bded5,this);else{const _0x4aca2e=this['_server'];this[_0x3c2d47(0x1a1)](),this['_removeListeners']=this['_server']=null,_0x4aca2e[_0x3c2d47(0x2e8)](()=>{_0x4bded5(this);});}}}[_0x3c5e65(0x23b)](_0x1bf15c){const _0x3c9f7b=_0x3c5e65;if(this['options'][_0x3c9f7b(0x2f0)]){const _0x32d4ff=_0x1bf15c['url'][_0x3c9f7b(0x1cf)]('?');if((_0x32d4ff!==-0x1?_0x1bf15c[_0x3c9f7b(0x2d6)]['slice'](0x0,_0x32d4ff):_0x1bf15c[_0x3c9f7b(0x2d6)])!==this[_0x3c9f7b(0x205)][_0x3c9f7b(0x2f0)])return!0x1;}return!0x0;}[_0x3c5e65(0x233)](_0x5289a4,_0x3f3174,_0x308edf,_0x324de2){const _0x43f47b=_0x3c5e65;_0x3f3174['on']('error',_0x267fb5);const _0x407f06=_0x5289a4['headers'][_0x43f47b(0x178)],_0x1812c6=_0x5289a4[_0x43f47b(0x2d8)]['upgrade'],_0x2f8b55=+_0x5289a4['headers']['sec-websocket-version'];if(_0x5289a4[_0x43f47b(0x22a)]!==_0x43f47b(0x201)){_0x3bbb58(this,_0x5289a4,_0x3f3174,0x195,'Invalid\x20HTTP\x20method');return;}if(_0x1812c6===void 0x0||_0x1812c6[_0x43f47b(0x29d)]()!==_0x43f47b(0x2cd)){_0x3bbb58(this,_0x5289a4,_0x3f3174,0x190,'Invalid\x20Upgrade\x20header');return;}if(_0x407f06===void 0x0||!_0x3acf68[_0x43f47b(0x1e2)](_0x407f06)){_0x3bbb58(this,_0x5289a4,_0x3f3174,0x190,_0x43f47b(0x2a0));return;}if(_0x2f8b55!==0x8&&_0x2f8b55!==0xd){_0x3bbb58(this,_0x5289a4,_0x3f3174,0x190,_0x43f47b(0x1c4));return;}if(!this['shouldHandle'](_0x5289a4)){_0x5158d6(_0x3f3174,0x190);return;}const _0x32c27b=_0x5289a4['headers']['sec-websocket-protocol'];let _0x1c0e7d=new Set();if(_0x32c27b!==void 0x0)try{_0x1c0e7d=_0xc58cb8[_0x43f47b(0x190)](_0x32c27b);}catch{_0x3bbb58(this,_0x5289a4,_0x3f3174,0x190,_0x43f47b(0x1d3));return;}const _0x1edf27=_0x5289a4['headers'][_0x43f47b(0x180)],_0x5ea052={};if(this[_0x43f47b(0x205)][_0x43f47b(0x24c)]&&_0x1edf27!==void 0x0){const _0x46e58c=new _0x5004a2(this[_0x43f47b(0x205)][_0x43f47b(0x24c)],!0x0,this[_0x43f47b(0x205)]['maxPayload']);try{const _0x603fa8=_0x1b31bc[_0x43f47b(0x190)](_0x1edf27);_0x603fa8[_0x5004a2[_0x43f47b(0x269)]]&&(_0x46e58c[_0x43f47b(0x18f)](_0x603fa8[_0x5004a2['extensionName']]),_0x5ea052[_0x5004a2['extensionName']]=_0x46e58c);}catch{_0x3bbb58(this,_0x5289a4,_0x3f3174,0x190,_0x43f47b(0x15d));return;}}if(this[_0x43f47b(0x205)]['verifyClient']){const _0x8fc46f={'origin':_0x5289a4[_0x43f47b(0x2d8)][''+(_0x2f8b55===0x8?_0x43f47b(0x23e):_0x43f47b(0x2bc))],'secure':!!(_0x5289a4[_0x43f47b(0x2be)][_0x43f47b(0x23a)]||_0x5289a4[_0x43f47b(0x2be)][_0x43f47b(0x2e0)]),'req':_0x5289a4};if(this[_0x43f47b(0x205)][_0x43f47b(0x23f)][_0x43f47b(0x224)]===0x2){this[_0x43f47b(0x205)][_0x43f47b(0x23f)](_0x8fc46f,(_0x5d4e9a,_0x217564,_0x156c27,_0x1ad204)=>{const _0x11e55c=_0x43f47b;if(!_0x5d4e9a)return _0x5158d6(_0x3f3174,_0x217564||0x191,_0x156c27,_0x1ad204);this[_0x11e55c(0x217)](_0x5ea052,_0x407f06,_0x1c0e7d,_0x5289a4,_0x3f3174,_0x308edf,_0x324de2);});return;}if(!this[_0x43f47b(0x205)]['verifyClient'](_0x8fc46f))return _0x5158d6(_0x3f3174,0x191);}this[_0x43f47b(0x217)](_0x5ea052,_0x407f06,_0x1c0e7d,_0x5289a4,_0x3f3174,_0x308edf,_0x324de2);}['completeUpgrade'](_0x59180f,_0x2520ff,_0x4da836,_0xb58755,_0x2f21ea,_0x3443f0,_0x540244){const _0x4b1480=_0x3c5e65;if(!_0x2f21ea[_0x4b1480(0x181)]||!_0x2f21ea['writable'])return _0x2f21ea[_0x4b1480(0x2fd)]();if(_0x2f21ea[_0x3a3e9c])throw new Error(_0x4b1480(0x1d0));if(this[_0x4b1480(0x2ee)]>_0x6a4dce)return _0x5158d6(_0x2f21ea,0x1f7);const _0x26cc0f=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0x4b1480(0x2ae),'Connection:\x20Upgrade','Sec-WebSocket-Accept:\x20'+_0x4c8557(_0x4b1480(0x1f3))[_0x4b1480(0x302)](_0x2520ff+_0x4a6297)[_0x4b1480(0x2e2)](_0x4b1480(0x23c))],_0x5248a7=new this[(_0x4b1480(0x205))]['WebSocket'](null,void 0x0,this[_0x4b1480(0x205)]);if(_0x4da836[_0x4b1480(0x18c)]){const _0x504faf=this[_0x4b1480(0x205)]['handleProtocols']?this[_0x4b1480(0x205)][_0x4b1480(0x2fa)](_0x4da836,_0xb58755):_0x4da836[_0x4b1480(0x230)]()[_0x4b1480(0x29f)]()[_0x4b1480(0x1ad)];_0x504faf&&(_0x26cc0f[_0x4b1480(0x206)](_0x4b1480(0x247)+_0x504faf),_0x5248a7[_0x4b1480(0x162)]=_0x504faf);}if(_0x59180f[_0x5004a2['extensionName']]){const _0x32be0a=_0x59180f[_0x5004a2[_0x4b1480(0x269)]]['params'],_0x46b72f=_0x1b31bc[_0x4b1480(0x16d)]({[_0x5004a2[_0x4b1480(0x269)]]:[_0x32be0a]});_0x26cc0f[_0x4b1480(0x206)]('Sec-WebSocket-Extensions:\x20'+_0x46b72f),_0x5248a7[_0x4b1480(0x2cf)]=_0x59180f;}this[_0x4b1480(0x28b)](_0x4b1480(0x2d8),_0x26cc0f,_0xb58755),_0x2f21ea[_0x4b1480(0x1c5)](_0x26cc0f[_0x4b1480(0x26a)]('\x0d\x0a')['join']('\x0d\x0a')),_0x2f21ea['removeListener'](_0x4b1480(0x1a8),_0x267fb5),_0x5248a7[_0x4b1480(0x28a)](_0x2f21ea,_0x3443f0,{'allowSynchronousEvents':this[_0x4b1480(0x205)][_0x4b1480(0x167)],'maxPayload':this[_0x4b1480(0x205)]['maxPayload'],'skipUTF8Validation':this['options'][_0x4b1480(0x192)]}),this[_0x4b1480(0x308)]&&(this[_0x4b1480(0x308)][_0x4b1480(0x280)](_0x5248a7),_0x5248a7['on'](_0x4b1480(0x2e8),()=>{const _0x2418eb=_0x4b1480;this[_0x2418eb(0x308)][_0x2418eb(0x20a)](_0x5248a7),this[_0x2418eb(0x258)]&&!this['clients'][_0x2418eb(0x18c)]&&process['nextTick'](_0x4bded5,this);})),_0x540244(_0x5248a7,_0xb58755);}}Te=_0x17215b;function _0x4dad75(_0x2e1ee7,_0x1512e2){const _0x473162=_0x3c5e65;for(const _0x3ab0a4 of Object[_0x473162(0x1fd)](_0x1512e2))_0x2e1ee7['on'](_0x3ab0a4,_0x1512e2[_0x3ab0a4]);return function(){for(const _0x5acfc6 of Object['keys'](_0x1512e2))_0x2e1ee7['removeListener'](_0x5acfc6,_0x1512e2[_0x5acfc6]);};}function _0x4bded5(_0x1428b8){const _0x12fccb=_0x3c5e65;_0x1428b8['_state']=_0x18fa6f,_0x1428b8[_0x12fccb(0x28b)]('close');}function _0x267fb5(){const _0x3eda51=_0x3c5e65;this[_0x3eda51(0x2fd)]();}function _0x5158d6(_0x474f88,_0x593a45,_0x4f72e3,_0x22efca){const _0x3a6187=_0x3c5e65;_0x4f72e3=_0x4f72e3||_0x45ba13[_0x3a6187(0x291)][_0x593a45],_0x22efca={'Connection':_0x3a6187(0x2e8),'Content-Type':_0x3a6187(0x238),'Content-Length':Buffer['byteLength'](_0x4f72e3),..._0x22efca},_0x474f88['once'](_0x3a6187(0x2d9),_0x474f88[_0x3a6187(0x2fd)]),_0x474f88['end']('HTTP/1.1\x20'+_0x593a45+'\x20'+_0x45ba13[_0x3a6187(0x291)][_0x593a45]+'\x0d\x0a'+Object['keys'](_0x22efca)[_0x3a6187(0x1b2)](_0x4127c6=>_0x4127c6+':\x20'+_0x22efca[_0x4127c6])[_0x3a6187(0x1d4)]('\x0d\x0a')+_0x3a6187(0x23d)+_0x4f72e3);}function _0x3bbb58(_0x1ab838,_0x17e62a,_0x587d15,_0x571c26,_0x20932d){const _0x32466b=_0x3c5e65;if(_0x1ab838[_0x32466b(0x221)](_0x32466b(0x1b1))){const _0xbedccb=new Error(_0x20932d);Error['captureStackTrace'](_0xbedccb,_0x3bbb58),_0x1ab838[_0x32466b(0x28b)](_0x32466b(0x1b1),_0xbedccb,_0x587d15,_0x17e62a);}else _0x5158d6(_0x587d15,_0x571c26,_0x20932d);}return Te;}er();var tr=Object['getOwnPropertyDescriptor'],rr=(_0x396e7c,_0x3a5b56,_0x1f3aae,_0x421862)=>{for(var _0xf5b41f=_0x421862>0x1?void 0x0:_0x421862?tr(_0x3a5b56,_0x1f3aae):_0x3a5b56,_0x16b358=_0x396e7c['length']-0x1,_0x162985;_0x16b358>=0x0;_0x16b358--)(_0x162985=_0x396e7c[_0x16b358])&&(_0xf5b41f=_0x162985(_0xf5b41f)||_0xf5b41f);return _0xf5b41f;},sr=(_0x456f8c,_0x5277e4)=>(_0x11c789,_0x11a501)=>_0x5277e4(_0x11c789,_0x11a501,_0x456f8c);let Ne=class extends _0x2d7535{constructor(_0xa8c2f4){super(),this['_configService']=_0xa8c2f4;}[_0x454cd5(0x183)](_0x3b8cbd){const _0x2d2f80=_0x454cd5;var _0xdb2010;const _0x3f1548=(_0xdb2010=this[_0x2d2f80(0x20f)]['getConfig'](Be))==null?void 0x0:_0xdb2010['customHeaders'];try{const _0x53dc96=new Qt(_0x3b8cbd,{'headers':{..._0x3f1548}}),_0x28c1ea=new _0x421309();return{'URL':_0x3b8cbd,'close':(_0x363152,_0x3e1fe7)=>{const _0x2d26ea=_0x2d2f80;_0x53dc96[_0x2d26ea(0x2e8)](_0x363152,_0x3e1fe7),_0x28c1ea[_0x2d26ea(0x252)]();},'send':_0x4ab017=>{const _0x1706ff=_0x2d2f80;_0x53dc96[_0x1706ff(0x1e3)](_0x4ab017);},'open$':new _0x425612(_0x2f4f9c=>{const _0x1fe029=_0x2d2f80,_0xa447bc=_0x29ef3a=>_0x2f4f9c[_0x1fe029(0x29f)](_0x29ef3a);_0x53dc96[_0x1fe029(0x286)](_0x1fe029(0x2a5),_0xa447bc),_0x28c1ea[_0x1fe029(0x280)](_0x2db03a(()=>_0x53dc96[_0x1fe029(0x2e1)](_0x1fe029(0x2a5),_0xa447bc)));})['pipe'](_0x1b4aa3()),'close$':new _0x425612(_0x3de5a1=>{const _0x34d590=_0x2d2f80,_0x3c6df2=_0x5f5d5d=>_0x3de5a1[_0x34d590(0x29f)](_0x5f5d5d);_0x53dc96[_0x34d590(0x286)](_0x34d590(0x2e8),_0x3c6df2),_0x28c1ea[_0x34d590(0x280)](_0x2db03a(()=>_0x53dc96[_0x34d590(0x2e1)](_0x34d590(0x2e8),_0x3c6df2)));})['pipe'](_0x1b4aa3()),'error$':new _0x425612(_0x35ad15=>{const _0x757c59=_0x2d2f80,_0x5cc036=_0x2e4913=>_0x35ad15[_0x757c59(0x29f)](_0x2e4913);_0x53dc96[_0x757c59(0x286)](_0x757c59(0x1a8),_0x5cc036),_0x28c1ea['add'](_0x2db03a(()=>_0x53dc96[_0x757c59(0x2e1)](_0x757c59(0x1a8),_0x5cc036)));})[_0x2d2f80(0x2b8)](_0x1b4aa3()),'message$':new _0x425612(_0x428c15=>{const _0x565448=_0x2d2f80,_0x2a29fd=_0x346069=>_0x428c15[_0x565448(0x29f)](_0x346069);_0x53dc96['addEventListener'](_0x565448(0x27f),_0x2a29fd),_0x28c1ea[_0x565448(0x280)](_0x2db03a(()=>_0x53dc96[_0x565448(0x2e1)](_0x565448(0x27f),_0x2a29fd)));})[_0x2d2f80(0x2b8)](_0x1b4aa3())};}catch(_0x33ab5e){return console[_0x2d2f80(0x1a8)](_0x33ab5e),null;}}};Ne=rr([sr(0x0,_0x50baa4)],Ne);var ir=Object[_0x454cd5(0x2bd)],nr=Object[_0x454cd5(0x21f)],or=(_0x295bfa,_0x31d9b0,_0x21b063)=>_0x31d9b0 in _0x295bfa?ir(_0x295bfa,_0x31d9b0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x21b063}):_0x295bfa[_0x31d9b0]=_0x21b063,ar=(_0xeac9d5,_0x348cf9,_0x44962c,_0x5c6496)=>{const _0x336f8a=_0x454cd5;for(var _0x748b6c=_0x5c6496>0x1?void 0x0:_0x5c6496?nr(_0x348cf9,_0x44962c):_0x348cf9,_0x37715f=_0xeac9d5[_0x336f8a(0x224)]-0x1,_0x160e50;_0x37715f>=0x0;_0x37715f--)(_0x160e50=_0xeac9d5[_0x37715f])&&(_0x748b6c=_0x160e50(_0x748b6c)||_0x748b6c);return _0x748b6c;},ke=(_0x53d63c,_0x2cb7bd)=>(_0x4514d4,_0x1a5b5a)=>_0x2cb7bd(_0x4514d4,_0x1a5b5a,_0x53d63c),lr=(_0x1c3742,_0x37d231,_0x5c1d50)=>or(_0x1c3742,_0x37d231+'',_0x5c1d50);let Pe=class extends _0x375123{constructor(_0x1923fd=Ft,_0x194efd,_0x547070,_0x24bf68){const _0x1c972=_0x454cd5;_0x1923fd[_0x1c972(0x2ef)]||_0x194efd[_0x1c972(0x27b)](_0x1c972(0x245)),super(),this[_0x1c972(0x20f)]=_0x547070,this[_0x1c972(0x220)]=_0x24bf68,this[_0x1c972(0x20f)][_0x1c972(0x295)](Be,_0x1923fd);}[_0x454cd5(0x21a)](){const _0x1449b2=_0x454cd5;this[_0x1449b2(0x173)]();}[_0x454cd5(0x173)](){_0x1c4bfb(this['_injector'],[[_0x2c2ad5,{'useClass':Ne}]]);}};lr(Pe,_0x454cd5(0x1ed),_0x454cd5(0x2e6)),Pe=ar([_0xd0bdff(_0x479fe4),ke(0x1,_0x93927),ke(0x2,_0x50baa4),ke(0x3,_0x47f212(_0x134268))],Pe);var fr=Object[_0x454cd5(0x21f)],cr=(_0xff1cfd,_0x38d630,_0x401ecb,_0x1aa110)=>{const _0x679bc0=_0x454cd5;for(var _0x290df7=_0x1aa110>0x1?void 0x0:_0x1aa110?fr(_0x38d630,_0x401ecb):_0x38d630,_0x16fa7b=_0xff1cfd[_0x679bc0(0x224)]-0x1,_0x3037ca;_0x16fa7b>=0x0;_0x16fa7b--)(_0x3037ca=_0xff1cfd[_0x16fa7b])&&(_0x290df7=_0x3037ca(_0x290df7)||_0x290df7);return _0x290df7;},se=(_0x82a0d7,_0x26eef5)=>(_0x4e1e2b,_0x346a58)=>_0x26eef5(_0x4e1e2b,_0x346a58,_0x82a0d7);let at=class extends _0x1eb7b8{constructor(_0x4705e8,_0x48329a,_0x1cf13b,_0x1badc9,_0x51b158){const _0x12c3a2=_0x454cd5;super(_0x4705e8,_0x48329a,_0x1cf13b,_0x1badc9,_0x51b158);const _0x5157b0=this[_0x12c3a2(0x20f)]['getConfig'](Be);this['_httpService'][_0x12c3a2(0x298)]({'interceptor':(_0x275fcb,_0x41d05c)=>{const _0x5cbb38=_0x12c3a2;var _0x44782d;const _0x314512=_0x275fcb[_0x5cbb38(0x2d8)];return(_0x44782d=_0x5157b0==null?void 0x0:_0x5157b0['customHeaders'])!=null&&_0x44782d[_0x5cbb38(0x2f9)]&&_0x314512[_0x5cbb38(0x16c)](_0x5cbb38(0x1c8),_0x5157b0['customHeaders'][_0x5cbb38(0x2f9)]),_0x41d05c(_0x275fcb);}});}async[_0x454cd5(0x183)](_0x4b412c){const _0x235c4b=_0x454cd5;return this[_0x235c4b(0x2db)](_0x4b412c);}};at=cr([se(0x0,_0x47f212(_0x134268)),se(0x1,_0x47f212(_0x46ccac)),se(0x2,_0x50baa4),se(0x3,_0x93927),se(0x4,_0xd3ba54)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
|