@univerjs-pro/collaboration-client-node 0.9.1-nightly.202507051607 → 0.9.1-nightly.202507061606

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/es/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 _0x31e0d8=_0x52fc;(function(_0x350019,_0x4174b6){const _0x3e86eb=_0x52fc,_0x3e617e=_0x350019();while(!![]){try{const _0x12d9ec=parseInt(_0x3e86eb(0x142))/0x1*(parseInt(_0x3e86eb(0x1ed))/0x2)+parseInt(_0x3e86eb(0x1f8))/0x3*(-parseInt(_0x3e86eb(0x281))/0x4)+-parseInt(_0x3e86eb(0x28a))/0x5+parseInt(_0x3e86eb(0x286))/0x6+-parseInt(_0x3e86eb(0x15c))/0x7*(-parseInt(_0x3e86eb(0x231))/0x8)+-parseInt(_0x3e86eb(0x163))/0x9+-parseInt(_0x3e86eb(0x19e))/0xa*(-parseInt(_0x3e86eb(0x103))/0xb);if(_0x12d9ec===_0x4174b6)break;else _0x3e617e['push'](_0x3e617e['shift']());}catch(_0x430d8e){_0x3e617e['push'](_0x3e617e['shift']());}}}(_0x3b8e,0x1dfca));import{UniverCollaborationClientPlugin as _0x12fa22,CollaborationSocketService as _0x57f95e}from'@univerjs-pro/collaboration-client';import{Disposable as _0x5ea790,DisposableCollection as _0xf036c0,toDisposable as _0x42da6e,IConfigService as _0x40c7aa,DependentOn as _0x1f1027,ILogService as _0x15a41a,Inject as _0x42ec29,Injector as _0xffd061,Plugin as _0x5b0127,registerDependencies as _0x114a05}from'@univerjs/core';import{ISocketService as _0x5a4171,HTTPService as _0x343db5}from'@univerjs/network';import{Observable as _0x1ed798,share as _0x22a950}from'rxjs';import _0x267518 from'events';import _0x1a1263 from'https';import _0x270468 from'http';import _0x1c8bd8 from'net';import _0x3f9487 from'tls';import _0x183103 from'crypto';import _0xc32ad2 from'stream';import _0x2a486c from'url';import _0x3d4d6f from'zlib';import _0x227dd9 from'buffer';import{ISnapshotServerService as _0x4b03c0}from'@univerjs-pro/collaboration';const Be=_0x31e0d8(0x1f6),Ft={'customHeaders':{}};function jt(_0x23487e){const _0x223947=_0x31e0d8;return _0x23487e&&_0x23487e[_0x223947(0x1a6)]&&Object[_0x223947(0x291)][_0x223947(0x180)][_0x223947(0x1b7)](_0x23487e,_0x223947(0x155))?_0x23487e[_0x223947(0x155)]:_0x23487e;}function ut(_0x5c549a){const _0x19cf86=_0x31e0d8;if(Object[_0x19cf86(0x291)][_0x19cf86(0x180)][_0x19cf86(0x1b7)](_0x5c549a,_0x19cf86(0x1a6)))return _0x5c549a;var _0x163f3c=_0x5c549a[_0x19cf86(0x155)];if(typeof _0x163f3c==_0x19cf86(0x1b2)){var _0x40bcd5=function _0xec586e(){const _0x1bb95a=_0x19cf86;return this instanceof _0xec586e?Reflect[_0x1bb95a(0x23a)](_0x163f3c,arguments,this[_0x1bb95a(0x170)]):_0x163f3c[_0x1bb95a(0x1a4)](this,arguments);};_0x40bcd5[_0x19cf86(0x291)]=_0x163f3c[_0x19cf86(0x291)];}else _0x40bcd5={};return Object['defineProperty'](_0x40bcd5,_0x19cf86(0x1a6),{'value':!0x0}),Object[_0x19cf86(0x273)](_0x5c549a)['forEach'](function(_0x4475d8){const _0x1fb8b1=_0x19cf86;var _0x4201ad=Object[_0x1fb8b1(0x11a)](_0x5c549a,_0x4475d8);Object[_0x1fb8b1(0x1e3)](_0x40bcd5,_0x4475d8,_0x4201ad[_0x1fb8b1(0x107)]?_0x4201ad:{'enumerable':!0x0,'get':function(){return _0x5c549a[_0x4475d8];}});}),_0x40bcd5;}var te={'exports':{}},ge,Ye;function V(){const _0x5e1e02=_0x31e0d8;if(Ye)return ge;Ye=0x1;const _0x4a9bd3=[_0x5e1e02(0x1b0),'arraybuffer',_0x5e1e02(0x1a8)],_0x1118ff=typeof Blob<'u';return _0x1118ff&&_0x4a9bd3[_0x5e1e02(0x254)]('blob'),ge={'BINARY_TYPES':_0x4a9bd3,'EMPTY_BUFFER':Buffer[_0x5e1e02(0x261)](0x0),'GUID':'258EAFA5-E914-47DA-95CA-C5AB0DC85B11','hasBlob':_0x1118ff,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol(_0x5e1e02(0x21f)),'kStatusCode':Symbol(_0x5e1e02(0x192)),'kWebSocket':Symbol('websocket'),'NOOP':()=>{}},ge;}const Wt={},Gt=Object[_0x31e0d8(0x18d)](Object['defineProperty']({'__proto__':null,'default':Wt},Symbol['toStringTag'],{'value':_0x31e0d8(0x12a)})),Vt=ut(Gt);var Ke;function ce(){const _0x310ec1=_0x31e0d8;if(Ke)return te[_0x310ec1(0x288)];Ke=0x1;const {EMPTY_BUFFER:_0x122066}=V(),_0x329c82=Buffer[Symbol[_0x310ec1(0x1b9)]];function _0x40e20f(_0x389831,_0x12e84d){const _0x46f68f=_0x310ec1;if(_0x389831[_0x46f68f(0x127)]===0x0)return _0x122066;if(_0x389831[_0x46f68f(0x127)]===0x1)return _0x389831[0x0];const _0xa09926=Buffer[_0x46f68f(0x121)](_0x12e84d);let _0x5b2687=0x0;for(let _0x33a412=0x0;_0x33a412<_0x389831['length'];_0x33a412++){const _0x38a913=_0x389831[_0x33a412];_0xa09926[_0x46f68f(0x105)](_0x38a913,_0x5b2687),_0x5b2687+=_0x38a913[_0x46f68f(0x127)];}return _0x5b2687<_0x12e84d?new _0x329c82(_0xa09926['buffer'],_0xa09926[_0x46f68f(0x13b)],_0x5b2687):_0xa09926;}function _0xa6a6d(_0x4c0872,_0x9e610b,_0x169d76,_0x253e7e,_0x2cd9ea){for(let _0x438840=0x0;_0x438840<_0x2cd9ea;_0x438840++)_0x169d76[_0x253e7e+_0x438840]=_0x4c0872[_0x438840]^_0x9e610b[_0x438840&0x3];}function _0x53fda0(_0x4ce1cb,_0x384eb3){const _0x52f99e=_0x310ec1;for(let _0x368e15=0x0;_0x368e15<_0x4ce1cb[_0x52f99e(0x127)];_0x368e15++)_0x4ce1cb[_0x368e15]^=_0x384eb3[_0x368e15&0x3];}function _0x1f7525(_0x2364a7){const _0x8c0892=_0x310ec1;return _0x2364a7['length']===_0x2364a7[_0x8c0892(0x1a1)][_0x8c0892(0x16f)]?_0x2364a7['buffer']:_0x2364a7['buffer'][_0x8c0892(0x1b3)](_0x2364a7[_0x8c0892(0x13b)],_0x2364a7['byteOffset']+_0x2364a7[_0x8c0892(0x127)]);}function _0x1d7487(_0x322643){const _0xfe68dc=_0x310ec1;if(_0x1d7487['readOnly']=!0x0,Buffer[_0xfe68dc(0x26d)](_0x322643))return _0x322643;let _0x47ac25;return _0x322643 instanceof ArrayBuffer?_0x47ac25=new _0x329c82(_0x322643):ArrayBuffer[_0xfe68dc(0x272)](_0x322643)?_0x47ac25=new _0x329c82(_0x322643[_0xfe68dc(0x1a1)],_0x322643['byteOffset'],_0x322643[_0xfe68dc(0x16f)]):(_0x47ac25=Buffer[_0xfe68dc(0x17b)](_0x322643),_0x1d7487[_0xfe68dc(0x242)]=!0x1),_0x47ac25;}if(te[_0x310ec1(0x288)]={'concat':_0x40e20f,'mask':_0xa6a6d,'toArrayBuffer':_0x1f7525,'toBuffer':_0x1d7487,'unmask':_0x53fda0},!process[_0x310ec1(0xf6)]['WS_NO_BUFFER_UTIL'])try{const _0x13ea22=Vt;te[_0x310ec1(0x288)][_0x310ec1(0x256)]=function(_0x4a77bc,_0x10ba0d,_0x44fa5d,_0x6a1dab,_0x2f6855){const _0x447d7a=_0x310ec1;_0x2f6855<0x30?_0xa6a6d(_0x4a77bc,_0x10ba0d,_0x44fa5d,_0x6a1dab,_0x2f6855):_0x13ea22[_0x447d7a(0x256)](_0x4a77bc,_0x10ba0d,_0x44fa5d,_0x6a1dab,_0x2f6855);},te[_0x310ec1(0x288)][_0x310ec1(0x11d)]=function(_0x520ae9,_0x489f97){const _0x4156c2=_0x310ec1;_0x520ae9['length']<0x20?_0x53fda0(_0x520ae9,_0x489f97):_0x13ea22[_0x4156c2(0x11d)](_0x520ae9,_0x489f97);};}catch{}return te[_0x310ec1(0x288)];}var ye,Xe;function qt(){const _0xab0743=_0x31e0d8;if(Xe)return ye;Xe=0x1;const _0xcb621=Symbol('kDone'),_0x16e5ce=Symbol(_0xab0743(0x153));class _0x516096{constructor(_0x37d7ef){this[_0xcb621]=()=>{const _0x5c7e3c=_0x52fc;this[_0x5c7e3c(0x21c)]--,this[_0x16e5ce]();},this['concurrency']=_0x37d7ef||0x1/0x0,this['jobs']=[],this['pending']=0x0;}['add'](_0x18ff90){const _0x42dc20=_0xab0743;this['jobs'][_0x42dc20(0x254)](_0x18ff90),this[_0x16e5ce]();}[_0x16e5ce](){const _0x529912=_0xab0743;if(this[_0x529912(0x21c)]!==this[_0x529912(0x226)]&&this[_0x529912(0x283)]['length']){const _0x355efe=this[_0x529912(0x283)][_0x529912(0x150)]();this['pending']++,_0x355efe(this[_0xcb621]);}}}return ye=_0x516096,ye;}var ve,Ze;function he(){const _0x3343c3=_0x31e0d8;if(Ze)return ve;Ze=0x1;const _0x508bfa=_0x3d4d6f,_0xea73f=ce(),_0x4c3ee8=qt(),{kStatusCode:_0xd93d0a}=V(),_0x40264a=Buffer[Symbol[_0x3343c3(0x1b9)]],_0x5d9aae=Buffer[_0x3343c3(0x17b)]([0x0,0x0,0xff,0xff]),_0x9f2bcb=Symbol(_0x3343c3(0x165)),_0x133afc=Symbol(_0x3343c3(0x277)),_0x3cf6c7=Symbol(_0x3343c3(0x28b)),_0x457dfa=Symbol(_0x3343c3(0x232)),_0x59643c=Symbol(_0x3343c3(0x181));let _0x737dc8;class _0x54faf7{constructor(_0x3e995a,_0x1dfd06,_0x17423e){const _0x4ff2b1=_0x3343c3;if(this[_0x4ff2b1(0x118)]=_0x17423e|0x0,this[_0x4ff2b1(0x228)]=_0x3e995a||{},this[_0x4ff2b1(0x128)]=this[_0x4ff2b1(0x228)][_0x4ff2b1(0x27a)]!==void 0x0?this['_options'][_0x4ff2b1(0x27a)]:0x400,this[_0x4ff2b1(0x1f3)]=!!_0x1dfd06,this[_0x4ff2b1(0x13a)]=null,this[_0x4ff2b1(0x1c7)]=null,this[_0x4ff2b1(0x28d)]=null,!_0x737dc8){const _0x5c40dc=this[_0x4ff2b1(0x228)][_0x4ff2b1(0x258)]!==void 0x0?this['_options']['concurrencyLimit']:0xa;_0x737dc8=new _0x4c3ee8(_0x5c40dc);}}static get[_0x3343c3(0x1dd)](){const _0x45fdd8=_0x3343c3;return _0x45fdd8(0x165);}[_0x3343c3(0x27e)](){const _0x59358a=_0x3343c3,_0x2509b4={};return this[_0x59358a(0x228)]['serverNoContextTakeover']&&(_0x2509b4['server_no_context_takeover']=!0x0),this[_0x59358a(0x228)][_0x59358a(0xe9)]&&(_0x2509b4['client_no_context_takeover']=!0x0),this[_0x59358a(0x228)][_0x59358a(0x1cb)]&&(_0x2509b4[_0x59358a(0xfb)]=this[_0x59358a(0x228)][_0x59358a(0x1cb)]),this['_options'][_0x59358a(0xff)]?_0x2509b4[_0x59358a(0x189)]=this[_0x59358a(0x228)]['clientMaxWindowBits']:this[_0x59358a(0x228)]['clientMaxWindowBits']==null&&(_0x2509b4[_0x59358a(0x189)]=!0x0),_0x2509b4;}[_0x3343c3(0x1e7)](_0x5230fc){const _0xdb4c48=_0x3343c3;return _0x5230fc=this['normalizeParams'](_0x5230fc),this['params']=this[_0xdb4c48(0x1f3)]?this[_0xdb4c48(0x124)](_0x5230fc):this[_0xdb4c48(0x1fa)](_0x5230fc),this[_0xdb4c48(0x28d)];}[_0x3343c3(0x125)](){const _0x939858=_0x3343c3;if(this['_inflate']&&(this[_0x939858(0x1c7)][_0x939858(0x1c9)](),this[_0x939858(0x1c7)]=null),this[_0x939858(0x13a)]){const _0x53edd7=this['_deflate'][_0x3cf6c7];this[_0x939858(0x13a)][_0x939858(0x1c9)](),this[_0x939858(0x13a)]=null,_0x53edd7&&_0x53edd7(new Error(_0x939858(0x233)));}}['acceptAsServer'](_0x2a8720){const _0x487357=_0x3343c3,_0x581802=this[_0x487357(0x228)],_0x4e62e0=_0x2a8720[_0x487357(0x1ca)](_0x4b6b0b=>!(_0x581802['serverNoContextTakeover']===!0x1&&_0x4b6b0b[_0x487357(0x204)]||_0x4b6b0b[_0x487357(0xfb)]&&(_0x581802['serverMaxWindowBits']===!0x1||typeof _0x581802['serverMaxWindowBits']==_0x487357(0x249)&&_0x581802[_0x487357(0x1cb)]>_0x4b6b0b[_0x487357(0xfb)])||typeof _0x581802['clientMaxWindowBits']==_0x487357(0x249)&&!_0x4b6b0b[_0x487357(0x189)]));if(!_0x4e62e0)throw new Error(_0x487357(0x137));return _0x581802['serverNoContextTakeover']&&(_0x4e62e0[_0x487357(0x204)]=!0x0),_0x581802['clientNoContextTakeover']&&(_0x4e62e0['client_no_context_takeover']=!0x0),typeof _0x581802[_0x487357(0x1cb)]==_0x487357(0x249)&&(_0x4e62e0['server_max_window_bits']=_0x581802['serverMaxWindowBits']),typeof _0x581802[_0x487357(0xff)]==_0x487357(0x249)?_0x4e62e0[_0x487357(0x189)]=_0x581802[_0x487357(0xff)]:(_0x4e62e0[_0x487357(0x189)]===!0x0||_0x581802[_0x487357(0xff)]===!0x1)&&delete _0x4e62e0[_0x487357(0x189)],_0x4e62e0;}[_0x3343c3(0x1fa)](_0x5d887e){const _0x3698de=_0x3343c3,_0x2c104f=_0x5d887e[0x0];if(this[_0x3698de(0x228)][_0x3698de(0xe9)]===!0x1&&_0x2c104f['client_no_context_takeover'])throw new Error(_0x3698de(0x26a));if(!_0x2c104f[_0x3698de(0x189)])typeof this[_0x3698de(0x228)][_0x3698de(0xff)]=='number'&&(_0x2c104f[_0x3698de(0x189)]=this[_0x3698de(0x228)][_0x3698de(0xff)]);else{if(this[_0x3698de(0x228)]['clientMaxWindowBits']===!0x1||typeof this[_0x3698de(0x228)][_0x3698de(0xff)]==_0x3698de(0x249)&&_0x2c104f[_0x3698de(0x189)]>this[_0x3698de(0x228)][_0x3698de(0xff)])throw new Error(_0x3698de(0x136));}return _0x2c104f;}['normalizeParams'](_0x48b3b5){return _0x48b3b5['forEach'](_0x54b29d=>{const _0x5136c5=_0x52fc;Object['keys'](_0x54b29d)[_0x5136c5(0x159)](_0x22b622=>{const _0x46886c=_0x5136c5;let _0x5bf257=_0x54b29d[_0x22b622];if(_0x5bf257[_0x46886c(0x127)]>0x1)throw new Error(_0x46886c(0x244)+_0x22b622+_0x46886c(0x23b));if(_0x5bf257=_0x5bf257[0x0],_0x22b622==='client_max_window_bits'){if(_0x5bf257!==!0x0){const _0xe36a46=+_0x5bf257;if(!Number[_0x46886c(0x151)](_0xe36a46)||_0xe36a46<0x8||_0xe36a46>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x22b622+'\x22:\x20'+_0x5bf257);_0x5bf257=_0xe36a46;}else{if(!this['_isServer'])throw new TypeError(_0x46886c(0x1d0)+_0x22b622+_0x46886c(0x234)+_0x5bf257);}}else{if(_0x22b622===_0x46886c(0xfb)){const _0x1255e2=+_0x5bf257;if(!Number[_0x46886c(0x151)](_0x1255e2)||_0x1255e2<0x8||_0x1255e2>0xf)throw new TypeError(_0x46886c(0x1d0)+_0x22b622+'\x22:\x20'+_0x5bf257);_0x5bf257=_0x1255e2;}else{if(_0x22b622==='client_no_context_takeover'||_0x22b622===_0x46886c(0x204)){if(_0x5bf257!==!0x0)throw new TypeError(_0x46886c(0x1d0)+_0x22b622+_0x46886c(0x234)+_0x5bf257);}else throw new Error('Unknown\x20parameter\x20\x22'+_0x22b622+'\x22');}}_0x54b29d[_0x22b622]=_0x5bf257;});}),_0x48b3b5;}[_0x3343c3(0x21e)](_0xf87ee9,_0x5663eb,_0x5d1e18){const _0x4ee1d1=_0x3343c3;_0x737dc8[_0x4ee1d1(0x1a3)](_0x197511=>{this['_decompress'](_0xf87ee9,_0x5663eb,(_0x17f62f,_0x511b2a)=>{_0x197511(),_0x5d1e18(_0x17f62f,_0x511b2a);});});}[_0x3343c3(0x138)](_0x4d31d6,_0x3a837a,_0x950c1e){const _0xc1030d=_0x3343c3;_0x737dc8[_0xc1030d(0x1a3)](_0x4fa7df=>{const _0x53875f=_0xc1030d;this[_0x53875f(0x224)](_0x4d31d6,_0x3a837a,(_0x143e3b,_0x4310f1)=>{_0x4fa7df(),_0x950c1e(_0x143e3b,_0x4310f1);});});}['_decompress'](_0x583e8c,_0xb302f4,_0x4bd406){const _0x3765fc=_0x3343c3,_0x1619ce=this[_0x3765fc(0x1f3)]?_0x3765fc(0x1d6):_0x3765fc(0x193);if(!this[_0x3765fc(0x1c7)]){const _0x5b8002=_0x1619ce+'_max_window_bits',_0x156ff6=typeof this[_0x3765fc(0x28d)][_0x5b8002]!='number'?_0x508bfa['Z_DEFAULT_WINDOWBITS']:this[_0x3765fc(0x28d)][_0x5b8002];this[_0x3765fc(0x1c7)]=_0x508bfa[_0x3765fc(0x1ad)]({...this['_options']['zlibInflateOptions'],'windowBits':_0x156ff6}),this[_0x3765fc(0x1c7)][_0x9f2bcb]=this,this['_inflate'][_0x133afc]=0x0,this['_inflate'][_0x457dfa]=[],this[_0x3765fc(0x1c7)]['on'](_0x3765fc(0x181),_0x538c90),this[_0x3765fc(0x1c7)]['on'](_0x3765fc(0x11e),_0x3a638c);}this[_0x3765fc(0x1c7)][_0x3cf6c7]=_0x4bd406,this['_inflate'][_0x3765fc(0x19d)](_0x583e8c),_0xb302f4&&this[_0x3765fc(0x1c7)][_0x3765fc(0x19d)](_0x5d9aae),this['_inflate']['flush'](()=>{const _0x415a1e=_0x3765fc,_0x58e1be=this[_0x415a1e(0x1c7)][_0x59643c];if(_0x58e1be){this[_0x415a1e(0x1c7)][_0x415a1e(0x1c9)](),this[_0x415a1e(0x1c7)]=null,_0x4bd406(_0x58e1be);return;}const _0x4cc02b=_0xea73f['concat'](this[_0x415a1e(0x1c7)][_0x457dfa],this[_0x415a1e(0x1c7)][_0x133afc]);this[_0x415a1e(0x1c7)]['_readableState'][_0x415a1e(0x1be)]?(this[_0x415a1e(0x1c7)][_0x415a1e(0x1c9)](),this['_inflate']=null):(this[_0x415a1e(0x1c7)][_0x133afc]=0x0,this[_0x415a1e(0x1c7)][_0x457dfa]=[],_0xb302f4&&this[_0x415a1e(0x28d)][_0x1619ce+'_no_context_takeover']&&this[_0x415a1e(0x1c7)][_0x415a1e(0x12f)]()),_0x4bd406(null,_0x4cc02b);});}[_0x3343c3(0x224)](_0x17bf24,_0x4fe0b5,_0x392969){const _0x12b04f=_0x3343c3,_0x1254bc=this[_0x12b04f(0x1f3)]?_0x12b04f(0x193):_0x12b04f(0x1d6);if(!this[_0x12b04f(0x13a)]){const _0x438537=_0x1254bc+'_max_window_bits',_0x60809d=typeof this['params'][_0x438537]!=_0x12b04f(0x249)?_0x508bfa[_0x12b04f(0x25d)]:this['params'][_0x438537];this[_0x12b04f(0x13a)]=_0x508bfa['createDeflateRaw']({...this[_0x12b04f(0x228)][_0x12b04f(0x18a)],'windowBits':_0x60809d}),this[_0x12b04f(0x13a)][_0x133afc]=0x0,this[_0x12b04f(0x13a)][_0x457dfa]=[],this[_0x12b04f(0x13a)]['on'](_0x12b04f(0x11e),_0x3f1afc);}this[_0x12b04f(0x13a)][_0x3cf6c7]=_0x392969,this[_0x12b04f(0x13a)][_0x12b04f(0x19d)](_0x17bf24),this[_0x12b04f(0x13a)][_0x12b04f(0x112)](_0x508bfa[_0x12b04f(0x238)],()=>{const _0x3ffaa8=_0x12b04f;if(!this[_0x3ffaa8(0x13a)])return;let _0x3ea603=_0xea73f['concat'](this['_deflate'][_0x457dfa],this['_deflate'][_0x133afc]);_0x4fe0b5&&(_0x3ea603=new _0x40264a(_0x3ea603[_0x3ffaa8(0x1a1)],_0x3ea603['byteOffset'],_0x3ea603['length']-0x4)),this[_0x3ffaa8(0x13a)][_0x3cf6c7]=null,this[_0x3ffaa8(0x13a)][_0x133afc]=0x0,this[_0x3ffaa8(0x13a)][_0x457dfa]=[],_0x4fe0b5&&this[_0x3ffaa8(0x28d)][_0x1254bc+_0x3ffaa8(0xf9)]&&this[_0x3ffaa8(0x13a)][_0x3ffaa8(0x12f)](),_0x392969(null,_0x3ea603);});}}ve=_0x54faf7;function _0x3f1afc(_0x4c56c2){const _0x423a04=_0x3343c3;this[_0x457dfa]['push'](_0x4c56c2),this[_0x133afc]+=_0x4c56c2[_0x423a04(0x127)];}function _0x3a638c(_0x15cce7){const _0x4eea0e=_0x3343c3;if(this[_0x133afc]+=_0x15cce7['length'],this[_0x9f2bcb][_0x4eea0e(0x118)]<0x1||this[_0x133afc]<=this[_0x9f2bcb][_0x4eea0e(0x118)]){this[_0x457dfa][_0x4eea0e(0x254)](_0x15cce7);return;}this[_0x59643c]=new RangeError('Max\x20payload\x20size\x20exceeded'),this[_0x59643c][_0x4eea0e(0x1da)]=_0x4eea0e(0x23f),this[_0x59643c][_0xd93d0a]=0x3f1,this[_0x4eea0e(0x1fe)](_0x4eea0e(0x11e),_0x3a638c),this['reset']();}function _0x538c90(_0x54abc3){const _0x43d904=_0x3343c3;if(this[_0x9f2bcb][_0x43d904(0x1c7)]=null,this[_0x59643c]){this[_0x3cf6c7](this[_0x59643c]);return;}_0x54abc3[_0xd93d0a]=0x3ef,this[_0x3cf6c7](_0x54abc3);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x31e0d8(0x18d)](Object[_0x31e0d8(0x1e3)]({'__proto__':null,'default':Ht},Symbol['toStringTag'],{'value':_0x31e0d8(0x12a)})),Yt=ut(zt);var Qe;function _0x52fc(_0x190552,_0x6284ae){const _0x3b8e82=_0x3b8e();return _0x52fc=function(_0x52fc3f,_0xa19e86){_0x52fc3f=_0x52fc3f-0xe3;let _0x266a37=_0x3b8e82[_0x52fc3f];return _0x266a37;},_0x52fc(_0x190552,_0x6284ae);}function ne(){const _0x5a5069=_0x31e0d8;if(Qe)return re[_0x5a5069(0x288)];Qe=0x1;const {isUtf8:_0x276af3}=_0x227dd9,{hasBlob:_0x510ee9}=V(),_0x4af2ee=[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 _0x29db8a(_0x45eec9){return _0x45eec9>=0x3e8&&_0x45eec9<=0x3f6&&_0x45eec9!==0x3ec&&_0x45eec9!==0x3ed&&_0x45eec9!==0x3ee||_0x45eec9>=0xbb8&&_0x45eec9<=0x1387;}function _0x364236(_0x4612e5){const _0x19ac67=_0x5a5069,_0x3b0f76=_0x4612e5[_0x19ac67(0x127)];let _0xd1d14c=0x0;for(;_0xd1d14c<_0x3b0f76;)if((_0x4612e5[_0xd1d14c]&0x80)===0x0)_0xd1d14c++;else{if((_0x4612e5[_0xd1d14c]&0xe0)===0xc0){if(_0xd1d14c+0x1===_0x3b0f76||(_0x4612e5[_0xd1d14c+0x1]&0xc0)!==0x80||(_0x4612e5[_0xd1d14c]&0xfe)===0xc0)return!0x1;_0xd1d14c+=0x2;}else{if((_0x4612e5[_0xd1d14c]&0xf0)===0xe0){if(_0xd1d14c+0x2>=_0x3b0f76||(_0x4612e5[_0xd1d14c+0x1]&0xc0)!==0x80||(_0x4612e5[_0xd1d14c+0x2]&0xc0)!==0x80||_0x4612e5[_0xd1d14c]===0xe0&&(_0x4612e5[_0xd1d14c+0x1]&0xe0)===0x80||_0x4612e5[_0xd1d14c]===0xed&&(_0x4612e5[_0xd1d14c+0x1]&0xe0)===0xa0)return!0x1;_0xd1d14c+=0x3;}else{if((_0x4612e5[_0xd1d14c]&0xf8)===0xf0){if(_0xd1d14c+0x3>=_0x3b0f76||(_0x4612e5[_0xd1d14c+0x1]&0xc0)!==0x80||(_0x4612e5[_0xd1d14c+0x2]&0xc0)!==0x80||(_0x4612e5[_0xd1d14c+0x3]&0xc0)!==0x80||_0x4612e5[_0xd1d14c]===0xf0&&(_0x4612e5[_0xd1d14c+0x1]&0xf0)===0x80||_0x4612e5[_0xd1d14c]===0xf4&&_0x4612e5[_0xd1d14c+0x1]>0x8f||_0x4612e5[_0xd1d14c]>0xf4)return!0x1;_0xd1d14c+=0x4;}else return!0x1;}}}return!0x0;}function _0x4e9e04(_0x1226e1){const _0x38f437=_0x5a5069;return _0x510ee9&&typeof _0x1226e1==_0x38f437(0x13e)&&typeof _0x1226e1[_0x38f437(0x129)]==_0x38f437(0x1b2)&&typeof _0x1226e1['type']=='string'&&typeof _0x1226e1[_0x38f437(0x195)]=='function'&&(_0x1226e1[Symbol[_0x38f437(0x22f)]]===_0x38f437(0x25a)||_0x1226e1[Symbol[_0x38f437(0x22f)]]==='File');}if(re[_0x5a5069(0x288)]={'isBlob':_0x4e9e04,'isValidStatusCode':_0x29db8a,'isValidUTF8':_0x364236,'tokenChars':_0x4af2ee},_0x276af3)re[_0x5a5069(0x288)][_0x5a5069(0x28f)]=function(_0x5af431){const _0x3dc0ec=_0x5a5069;return _0x5af431[_0x3dc0ec(0x127)]<0x18?_0x364236(_0x5af431):_0x276af3(_0x5af431);};else{if(!process[_0x5a5069(0xf6)][_0x5a5069(0x100)])try{const _0x40bbd9=Yt;re['exports'][_0x5a5069(0x28f)]=function(_0x1978cd){return _0x1978cd['length']<0x20?_0x364236(_0x1978cd):_0x40bbd9(_0x1978cd);};}catch{}}return re[_0x5a5069(0x288)];}var Se,Je;function dt(){const _0x210318=_0x31e0d8;if(Je)return Se;Je=0x1;const {Writable:_0xc0d16d}=_0xc32ad2,_0x183a4f=he(),{BINARY_TYPES:_0x438a24,EMPTY_BUFFER:_0x4301a4,kStatusCode:_0x3bd1b3,kWebSocket:_0x3db177}=V(),{concat:_0x5d00fc,toArrayBuffer:_0x4e1547,unmask:_0x4b1a83}=ce(),{isValidStatusCode:_0x34d710,isValidUTF8:_0x4f0ab8}=ne(),_0x40a7f8=Buffer[Symbol['species']],_0x43a243=0x0,_0x3c6381=0x1,_0x211bba=0x2,_0x736f89=0x3,_0x2087f6=0x4,_0x4350f5=0x5,_0x396ae1=0x6;class _0x1d591b extends _0xc0d16d{constructor(_0x3f21f6={}){const _0x323d8d=_0x52fc;super(),this[_0x323d8d(0x1fb)]=_0x3f21f6[_0x323d8d(0x106)]!==void 0x0?_0x3f21f6[_0x323d8d(0x106)]:!0x0,this[_0x323d8d(0x1b6)]=_0x3f21f6[_0x323d8d(0x208)]||_0x438a24[0x0],this[_0x323d8d(0x1db)]=_0x3f21f6[_0x323d8d(0x279)]||{},this[_0x323d8d(0x1f3)]=!!_0x3f21f6[_0x323d8d(0x1c2)],this[_0x323d8d(0x118)]=_0x3f21f6[_0x323d8d(0x1c4)]|0x0,this[_0x323d8d(0x1bc)]=!!_0x3f21f6[_0x323d8d(0x198)],this[_0x3db177]=void 0x0,this[_0x323d8d(0x207)]=0x0,this[_0x323d8d(0x175)]=[],this['_compressed']=!0x1,this[_0x323d8d(0x1bd)]=0x0,this[_0x323d8d(0x24e)]=void 0x0,this[_0x323d8d(0x1e9)]=0x0,this[_0x323d8d(0x17c)]=!0x1,this[_0x323d8d(0x1fc)]=!0x1,this[_0x323d8d(0x26f)]=0x0,this['_totalPayloadLength']=0x0,this[_0x323d8d(0x1d5)]=0x0,this[_0x323d8d(0x171)]=[],this[_0x323d8d(0x211)]=!0x1,this[_0x323d8d(0x210)]=!0x1,this[_0x323d8d(0x24a)]=_0x43a243;}[_0x210318(0x14c)](_0x485d9c,_0x23c412,_0x3f654c){const _0x1b98c0=_0x210318;if(this['_opcode']===0x8&&this[_0x1b98c0(0x24a)]==_0x43a243)return _0x3f654c();this[_0x1b98c0(0x207)]+=_0x485d9c[_0x1b98c0(0x127)],this['_buffers'][_0x1b98c0(0x254)](_0x485d9c),this[_0x1b98c0(0x26c)](_0x3f654c);}['consume'](_0x50ddbb){const _0x1ac894=_0x210318;if(this[_0x1ac894(0x207)]-=_0x50ddbb,_0x50ddbb===this[_0x1ac894(0x175)][0x0][_0x1ac894(0x127)])return this['_buffers'][_0x1ac894(0x150)]();if(_0x50ddbb<this['_buffers'][0x0][_0x1ac894(0x127)]){const _0x1c184a=this['_buffers'][0x0];return this[_0x1ac894(0x175)][0x0]=new _0x40a7f8(_0x1c184a[_0x1ac894(0x1a1)],_0x1c184a['byteOffset']+_0x50ddbb,_0x1c184a[_0x1ac894(0x127)]-_0x50ddbb),new _0x40a7f8(_0x1c184a[_0x1ac894(0x1a1)],_0x1c184a[_0x1ac894(0x13b)],_0x50ddbb);}const _0x22be40=Buffer[_0x1ac894(0x121)](_0x50ddbb);do{const _0x584041=this['_buffers'][0x0],_0x282313=_0x22be40[_0x1ac894(0x127)]-_0x50ddbb;_0x50ddbb>=_0x584041['length']?_0x22be40[_0x1ac894(0x105)](this['_buffers'][_0x1ac894(0x150)](),_0x282313):(_0x22be40['set'](new Uint8Array(_0x584041['buffer'],_0x584041[_0x1ac894(0x13b)],_0x50ddbb),_0x282313),this['_buffers'][0x0]=new _0x40a7f8(_0x584041[_0x1ac894(0x1a1)],_0x584041[_0x1ac894(0x13b)]+_0x50ddbb,_0x584041['length']-_0x50ddbb)),_0x50ddbb-=_0x584041[_0x1ac894(0x127)];}while(_0x50ddbb>0x0);return _0x22be40;}[_0x210318(0x26c)](_0x2278a8){const _0x333496=_0x210318;this[_0x333496(0x210)]=!0x0;do switch(this[_0x333496(0x24a)]){case _0x43a243:this[_0x333496(0x25e)](_0x2278a8);break;case _0x3c6381:this[_0x333496(0x19f)](_0x2278a8);break;case _0x211bba:this['getPayloadLength64'](_0x2278a8);break;case _0x736f89:this[_0x333496(0x1a9)]();break;case _0x2087f6:this[_0x333496(0x20a)](_0x2278a8);break;case _0x4350f5:case _0x396ae1:this[_0x333496(0x210)]=!0x1;return;}while(this[_0x333496(0x210)]);this['_errored']||_0x2278a8();}[_0x210318(0x25e)](_0x24673e){const _0x48fba0=_0x210318;if(this[_0x48fba0(0x207)]<0x2){this[_0x48fba0(0x210)]=!0x1;return;}const _0x2126ea=this[_0x48fba0(0x1f9)](0x2);if((_0x2126ea[0x0]&0x30)!==0x0){const _0x4aac38=this[_0x48fba0(0x264)](RangeError,'RSV2\x20and\x20RSV3\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0x24673e(_0x4aac38);return;}const _0x38fb0c=(_0x2126ea[0x0]&0x40)===0x40;if(_0x38fb0c&&!this[_0x48fba0(0x1db)][_0x183a4f[_0x48fba0(0x1dd)]]){const _0x176b28=this[_0x48fba0(0x264)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x24673e(_0x176b28);return;}if(this['_fin']=(_0x2126ea[0x0]&0x80)===0x80,this[_0x48fba0(0x26f)]=_0x2126ea[0x0]&0xf,this[_0x48fba0(0x1bd)]=_0x2126ea[0x1]&0x7f,this[_0x48fba0(0x26f)]===0x0){if(_0x38fb0c){const _0x7c0924=this[_0x48fba0(0x264)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x48fba0(0x23c));_0x24673e(_0x7c0924);return;}if(!this[_0x48fba0(0x1e9)]){const _0x5790b7=this[_0x48fba0(0x264)](RangeError,_0x48fba0(0x25c),!0x0,0x3ea,_0x48fba0(0x246));_0x24673e(_0x5790b7);return;}this['_opcode']=this['_fragmented'];}else{if(this[_0x48fba0(0x26f)]===0x1||this[_0x48fba0(0x26f)]===0x2){if(this[_0x48fba0(0x1e9)]){const _0x146c7d=this[_0x48fba0(0x264)](RangeError,'invalid\x20opcode\x20'+this[_0x48fba0(0x26f)],!0x0,0x3ea,_0x48fba0(0x246));_0x24673e(_0x146c7d);return;}this['_compressed']=_0x38fb0c;}else{if(this[_0x48fba0(0x26f)]>0x7&&this[_0x48fba0(0x26f)]<0xb){if(!this[_0x48fba0(0x1fc)]){const _0x1dd9a6=this['createError'](RangeError,_0x48fba0(0x22e),!0x0,0x3ea,_0x48fba0(0x22c));_0x24673e(_0x1dd9a6);return;}if(_0x38fb0c){const _0x1496d3=this['createError'](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x48fba0(0x23c));_0x24673e(_0x1496d3);return;}if(this[_0x48fba0(0x1bd)]>0x7d||this[_0x48fba0(0x26f)]===0x8&&this[_0x48fba0(0x1bd)]===0x1){const _0xce1fa=this[_0x48fba0(0x264)](RangeError,_0x48fba0(0x15f)+this[_0x48fba0(0x1bd)],!0x0,0x3ea,'WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH');_0x24673e(_0xce1fa);return;}}else{const _0x233a01=this[_0x48fba0(0x264)](RangeError,_0x48fba0(0x120)+this['_opcode'],!0x0,0x3ea,_0x48fba0(0x246));_0x24673e(_0x233a01);return;}}}if(!this[_0x48fba0(0x1fc)]&&!this['_fragmented']&&(this['_fragmented']=this[_0x48fba0(0x26f)]),this[_0x48fba0(0x17c)]=(_0x2126ea[0x1]&0x80)===0x80,this[_0x48fba0(0x1f3)]){if(!this[_0x48fba0(0x17c)]){const _0x4e6505=this[_0x48fba0(0x264)](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,_0x48fba0(0x156));_0x24673e(_0x4e6505);return;}}else{if(this[_0x48fba0(0x17c)]){const _0xd0633f=this['createError'](RangeError,_0x48fba0(0x16d),!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0x24673e(_0xd0633f);return;}}this[_0x48fba0(0x1bd)]===0x7e?this['_state']=_0x3c6381:this[_0x48fba0(0x1bd)]===0x7f?this['_state']=_0x211bba:this[_0x48fba0(0x294)](_0x24673e);}[_0x210318(0x19f)](_0x452d3d){const _0x232a29=_0x210318;if(this[_0x232a29(0x207)]<0x2){this[_0x232a29(0x210)]=!0x1;return;}this[_0x232a29(0x1bd)]=this[_0x232a29(0x1f9)](0x2)[_0x232a29(0x184)](0x0),this[_0x232a29(0x294)](_0x452d3d);}[_0x210318(0x252)](_0x10d413){const _0x3d3873=_0x210318;if(this[_0x3d3873(0x207)]<0x8){this[_0x3d3873(0x210)]=!0x1;return;}const _0x2e8726=this[_0x3d3873(0x1f9)](0x8),_0x2fa7be=_0x2e8726[_0x3d3873(0x20c)](0x0);if(_0x2fa7be>Math['pow'](0x2,0x15)-0x1){const _0x2f8157=this[_0x3d3873(0x264)](RangeError,_0x3d3873(0x19a),!0x1,0x3f1,_0x3d3873(0x158));_0x10d413(_0x2f8157);return;}this['_payloadLength']=_0x2fa7be*Math[_0x3d3873(0x154)](0x2,0x20)+_0x2e8726[_0x3d3873(0x20c)](0x4),this[_0x3d3873(0x294)](_0x10d413);}[_0x210318(0x294)](_0x1b0db7){const _0x2380d3=_0x210318;if(this[_0x2380d3(0x1bd)]&&this[_0x2380d3(0x26f)]<0x8&&(this[_0x2380d3(0x101)]+=this['_payloadLength'],this[_0x2380d3(0x101)]>this[_0x2380d3(0x118)]&&this[_0x2380d3(0x118)]>0x0)){const _0x23849c=this[_0x2380d3(0x264)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x2380d3(0x23f));_0x1b0db7(_0x23849c);return;}this[_0x2380d3(0x17c)]?this[_0x2380d3(0x24a)]=_0x736f89:this['_state']=_0x2087f6;}[_0x210318(0x1a9)](){const _0x378fd6=_0x210318;if(this['_bufferedBytes']<0x4){this[_0x378fd6(0x210)]=!0x1;return;}this[_0x378fd6(0x24e)]=this[_0x378fd6(0x1f9)](0x4),this[_0x378fd6(0x24a)]=_0x2087f6;}[_0x210318(0x20a)](_0x27befc){const _0x23c8aa=_0x210318;let _0x25c707=_0x4301a4;if(this[_0x23c8aa(0x1bd)]){if(this[_0x23c8aa(0x207)]<this[_0x23c8aa(0x1bd)]){this[_0x23c8aa(0x210)]=!0x1;return;}_0x25c707=this['consume'](this[_0x23c8aa(0x1bd)]),this[_0x23c8aa(0x17c)]&&(this['_mask'][0x0]|this[_0x23c8aa(0x24e)][0x1]|this['_mask'][0x2]|this[_0x23c8aa(0x24e)][0x3])!==0x0&&_0x4b1a83(_0x25c707,this[_0x23c8aa(0x24e)]);}if(this[_0x23c8aa(0x26f)]>0x7){this[_0x23c8aa(0x178)](_0x25c707,_0x27befc);return;}if(this['_compressed']){this['_state']=_0x4350f5,this[_0x23c8aa(0x21e)](_0x25c707,_0x27befc);return;}_0x25c707['length']&&(this[_0x23c8aa(0x1d5)]=this['_totalPayloadLength'],this[_0x23c8aa(0x171)][_0x23c8aa(0x254)](_0x25c707)),this[_0x23c8aa(0x18b)](_0x27befc);}[_0x210318(0x21e)](_0x2ea723,_0x3046dd){const _0x517c34=_0x210318;this[_0x517c34(0x1db)][_0x183a4f[_0x517c34(0x1dd)]]['decompress'](_0x2ea723,this[_0x517c34(0x1fc)],(_0x27039d,_0x36d52c)=>{const _0xe802e2=_0x517c34;if(_0x27039d)return _0x3046dd(_0x27039d);if(_0x36d52c[_0xe802e2(0x127)]){if(this[_0xe802e2(0x1d5)]+=_0x36d52c[_0xe802e2(0x127)],this[_0xe802e2(0x1d5)]>this[_0xe802e2(0x118)]&&this[_0xe802e2(0x118)]>0x0){const _0x452caf=this['createError'](RangeError,_0xe802e2(0x1c0),!0x1,0x3f1,_0xe802e2(0x23f));_0x3046dd(_0x452caf);return;}this[_0xe802e2(0x171)][_0xe802e2(0x254)](_0x36d52c);}this[_0xe802e2(0x18b)](_0x3046dd),this['_state']===_0x43a243&&this[_0xe802e2(0x26c)](_0x3046dd);});}[_0x210318(0x18b)](_0x478700){const _0x42bc33=_0x210318;if(!this[_0x42bc33(0x1fc)]){this['_state']=_0x43a243;return;}const _0x2d1b52=this['_messageLength'],_0x5ce98f=this[_0x42bc33(0x171)];if(this[_0x42bc33(0x101)]=0x0,this[_0x42bc33(0x1d5)]=0x0,this[_0x42bc33(0x1e9)]=0x0,this[_0x42bc33(0x171)]=[],this[_0x42bc33(0x26f)]===0x2){let _0x63c317;this[_0x42bc33(0x1b6)]===_0x42bc33(0x1b0)?_0x63c317=_0x5d00fc(_0x5ce98f,_0x2d1b52):this[_0x42bc33(0x1b6)]===_0x42bc33(0x1b5)?_0x63c317=_0x4e1547(_0x5d00fc(_0x5ce98f,_0x2d1b52)):this[_0x42bc33(0x1b6)]==='blob'?_0x63c317=new Blob(_0x5ce98f):_0x63c317=_0x5ce98f,this[_0x42bc33(0x1fb)]?(this[_0x42bc33(0x1d7)](_0x42bc33(0xe5),_0x63c317,!0x0),this['_state']=_0x43a243):(this['_state']=_0x396ae1,setImmediate(()=>{const _0x49d4cb=_0x42bc33;this[_0x49d4cb(0x1d7)](_0x49d4cb(0xe5),_0x63c317,!0x0),this[_0x49d4cb(0x24a)]=_0x43a243,this[_0x49d4cb(0x26c)](_0x478700);}));}else{const _0x55fb04=_0x5d00fc(_0x5ce98f,_0x2d1b52);if(!this[_0x42bc33(0x1bc)]&&!_0x4f0ab8(_0x55fb04)){const _0x5e16da=this[_0x42bc33(0x264)](Error,_0x42bc33(0x200),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x478700(_0x5e16da);return;}this['_state']===_0x4350f5||this[_0x42bc33(0x1fb)]?(this[_0x42bc33(0x1d7)](_0x42bc33(0xe5),_0x55fb04,!0x1),this[_0x42bc33(0x24a)]=_0x43a243):(this[_0x42bc33(0x24a)]=_0x396ae1,setImmediate(()=>{const _0x142ff0=_0x42bc33;this[_0x142ff0(0x1d7)]('message',_0x55fb04,!0x1),this[_0x142ff0(0x24a)]=_0x43a243,this['startLoop'](_0x478700);}));}}[_0x210318(0x178)](_0x9d02ca,_0x2ca4b9){const _0x51c334=_0x210318;if(this[_0x51c334(0x26f)]===0x8){if(_0x9d02ca[_0x51c334(0x127)]===0x0)this[_0x51c334(0x210)]=!0x1,this[_0x51c334(0x1d7)](_0x51c334(0x262),0x3ed,_0x4301a4),this[_0x51c334(0x225)]();else{const _0x18045d=_0x9d02ca['readUInt16BE'](0x0);if(!_0x34d710(_0x18045d)){const _0x5f4e8c=this[_0x51c334(0x264)](RangeError,'invalid\x20status\x20code\x20'+_0x18045d,!0x0,0x3ea,_0x51c334(0x10b));_0x2ca4b9(_0x5f4e8c);return;}const _0x80dec1=new _0x40a7f8(_0x9d02ca[_0x51c334(0x1a1)],_0x9d02ca[_0x51c334(0x13b)]+0x2,_0x9d02ca[_0x51c334(0x127)]-0x2);if(!this[_0x51c334(0x1bc)]&&!_0x4f0ab8(_0x80dec1)){const _0x5f032b=this[_0x51c334(0x264)](Error,_0x51c334(0x200),!0x0,0x3ef,_0x51c334(0x25b));_0x2ca4b9(_0x5f032b);return;}this[_0x51c334(0x210)]=!0x1,this[_0x51c334(0x1d7)](_0x51c334(0x262),_0x18045d,_0x80dec1),this[_0x51c334(0x225)]();}this['_state']=_0x43a243;return;}this[_0x51c334(0x1fb)]?(this[_0x51c334(0x1d7)](this[_0x51c334(0x26f)]===0x9?_0x51c334(0x115):_0x51c334(0xf3),_0x9d02ca),this[_0x51c334(0x24a)]=_0x43a243):(this[_0x51c334(0x24a)]=_0x396ae1,setImmediate(()=>{const _0x4138a2=_0x51c334;this[_0x4138a2(0x1d7)](this[_0x4138a2(0x26f)]===0x9?_0x4138a2(0x115):'pong',_0x9d02ca),this[_0x4138a2(0x24a)]=_0x43a243,this[_0x4138a2(0x26c)](_0x2ca4b9);}));}[_0x210318(0x264)](_0x4eca63,_0x451b2f,_0x8e037d,_0x118d2a,_0x4a84){const _0x51b50e=_0x210318;this['_loop']=!0x1,this[_0x51b50e(0x211)]=!0x0;const _0x34a32c=new _0x4eca63(_0x8e037d?_0x51b50e(0xf5)+_0x451b2f:_0x451b2f);return Error[_0x51b50e(0x230)](_0x34a32c,this['createError']),_0x34a32c[_0x51b50e(0x1da)]=_0x4a84,_0x34a32c[_0x3bd1b3]=_0x118d2a,_0x34a32c;}}return Se=_0x1d591b,Se;}var Ee,et;function _0x3b8e(){const _0x1e927c=['_masked','create','sec-websocket-extensions','password','hasOwnProperty','error','bind','origin','readUInt16BE','autoPong','The\x20\x22','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','Server\x20sent\x20no\x20subprotocol','client_max_window_bits','zlibDeflateOptions','dataMessage','unshift','freeze','_destroy','destroyed','kWasClean','noServer','status-code','server','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','stream','OPEN','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','skipUTF8Validation','WebSocket\x20is\x20not\x20open:\x20readyState\x20','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','_protocol','_closeFrameReceived','write','44890MmpSdE','getPayloadLength16','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','buffer','clients','add','apply','protocol','__esModule','entries','fragments','getMask','_firstFragment','handleUpgrade','parse','createInflateRaw','_closeFrameSent','customHeaders','nodebuffer','HTTP/1.1\x20','function','slice','maskBuffer','arraybuffer','_binaryType','call','_bufferedAmount','species','host','read','_skipUTF8Validation','_payloadLength','endEmitted','pathname','Max\x20payload\x20size\x20exceeded','kByteLength','isServer','Upgrade:\x20websocket','maxPayload','fin','kType','_inflate','STATUS_CODES','close','find','serverMaxWindowBits','Maximum\x20redirects\x20exceeded','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','timeout','listeners','Invalid\x20value\x20for\x20parameter\x20\x22','headers','CLOSED','pause','authorization','_messageLength','client','emit','shouldHandle','size','code','_extensions','generateMask','extensionName','auth','handleEvent','socket','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','toString','defineProperty','followRedirects','_socket','Unsupported\x20protocol\x20version:\x20','accept','once','_fragmented','_redirects','_server','listening','396840TgkdiW','isIP','Invalid\x20URL:\x20','sec-websocket-protocol','dequeue','_originalHostOrSocketPath','_isServer','_final','wss:','collaboration-client-node.config','digest','117BbyZqB','consume','acceptAsClient','_allowSynchronousEvents','_fin','_closeTimer','removeListener','The\x20server\x20is\x20not\x20running','invalid\x20UTF-8\x20sequence','GET','update','Connection:\x20Upgrade','server_no_context_takeover','handshakeTimeout','ws+unix:','_bufferedBytes','binaryType','Sec-WebSocket-Origin','getData','Basic\x20','readUInt32BE','isArray','_configService','client_no_context_takeover','_loop','_errored','toLowerCase','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','join','addEventListener','kAborted','setHeader','onmessage','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','_registerDependencies','hostname','pending','dispose','decompress','kListener','search','defaultPort','Unexpected\x20end\x20of\x20input','writeHead','_compress','end','concurrency','wasClean','_options','type','open','cookie','WS_ERR_EXPECTED_FIN','The\x20URL\x27s\x20pathname\x20is\x20empty','FIN\x20must\x20be\x20set','toStringTag','captureStackTrace','234256emtNjt','buffers','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','\x22:\x20','removeEventListener','_originalIpc','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','Z_SYNC_FLUSH','enqueue','construct','\x22\x20must\x20have\x20only\x20a\x20single\x20value','WS_ERR_UNEXPECTED_RSV_1','_maskBuffer','url','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','setConfig','_writableState','readOnly','Unexpected\x20character\x20at\x20index\x20','Parameter\x20\x22','sec-websocket-origin','WS_ERR_INVALID_OPCODE','listenerCount','_httpService','number','_state','port','finish','connect','_mask','_originalSecure','sha1','readable','getPayloadLength64','servername','push','base64','mask','kError','concurrencyLimit','_receiver','Blob','WS_ERR_INVALID_UTF8','invalid\x20opcode\x200','Z_DEFAULT_WINDOWBITS','getInfo','request','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','alloc','conclude','_injector','createError','kMessage','objectMode','sec-websocket-version','statusCode','format','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','values','startLoop','isBuffer','createConnection','_opcode','binary','unexpected-response','isView','keys','warn','next','perMessageDeflate','total-length','clientTracking','extensions','threshold','readyState','handleProtocols','abort','offer','maxRedirects','Invalid\x20HTTP\x20method','6444PhbVrK','websocket','jobs','delete','path','233826NgJSQR','Sec-WebSocket-Extensions','exports','_shouldEmitClose','455705PdWUkT','callback','finishRequest','params','Unexpected\x20server\x20response:\x20','isValidUTF8','getBlobData','prototype','frame','replace','haveLength','_paused','protocolVersion','message','reason','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','dispatch','clientNoContextTakeover','text/plain','indexOf','ws:','sendFrame','wsClientError','finished','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','verifyClient','_url','pong','sec-websocket-accept','Invalid\x20WebSocket\x20frame:\x20','env','split','kData','_no_context_takeover','onerror','server_max_window_bits','CLOSING','address','setNoDelay','clientMaxWindowBits','WS_NO_UTF_8_VALIDATE','_totalPayloadLength','setTimeout','66XCspKc','Sec-WebSocket-Protocol:\x20','set','allowSynchronousEvents','get','pipe','options','The\x20URL\x20contains\x20a\x20fragment\x20identifier','WS_ERR_INVALID_CLOSE_CODE','string','onclose','_req','has','uncork','Sec-WebSocket-Extensions:\x20','flush','Server\x20sent\x20an\x20invalid\x20subprotocol','redirect','ping','errorEmitted','writable','_maxPayload','_sender','getOwnPropertyDescriptor','terminate','onStarting','unmask','data','kReason','invalid\x20opcode\x20','allocUnsafe','cork','registerHTTPInterceptor','acceptAsServer','cleanup','_closeCode','length','_threshold','arrayBuffer','Module','drain','Invalid\x20Upgrade\x20header','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','connection','reset','_errorEmitted','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','nextTick','CONNECTING','Sec-WebSocket-Accept:\x20','includes','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','compress','_generateMask','_deflate','byteOffset','rsv1','_removeListeners','object','_read','writeUInt16BE','response','1eycqEe','onopen','https:','_autoPong','completeUpgrade','_readyState','bufferedAmount','createSocket','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','resume','_write','upgrade','isPaused','opcode','shift','isInteger','http:','kRun','pow','default','WS_ERR_EXPECTED_MASK','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','forEach','concat','emitClose','28fmLZDN','pluginName','\x22\x20subprotocol\x20is\x20duplicated','invalid\x20payload\x20length\x20','socketPath','_closeMessage','getConfig','941913mXYTtN','\x20(supported\x20versions:\x20','permessage-deflate','map','Opening\x20handshake\x20has\x20timed\x20out','Origin','setSocket','target','send','Invalid\x20Sec-WebSocket-Extensions\x20header','MASK\x20must\x20be\x20clear','_doCreateSocket','byteLength','constructor','_fragments','_readableState','Invalid\x20Sec-WebSocket-Accept\x20header','destroy','_buffers','hash','_queue','controlMessage','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','charCodeAt','from'];_0x3b8e=function(){return _0x1e927c;};return _0x3b8e();}function _t(){const _0x438c8c=_0x31e0d8;if(et)return Ee;et=0x1;const {Duplex:_0x57beac}=_0xc32ad2,{randomFillSync:_0x5377a0}=_0x183103,_0x36da44=he(),{EMPTY_BUFFER:_0x42462b,kWebSocket:_0x2f2454,NOOP:_0x19336e}=V(),{isBlob:_0xac73e4,isValidStatusCode:_0x500751}=ne(),{mask:_0x118080,toBuffer:_0x50d20b}=ce(),_0x4a3c26=Symbol(_0x438c8c(0x1c1)),_0x36f795=Buffer['alloc'](0x4),_0x155827=0x8*0x400;let _0x997138,_0x1a31c8=_0x155827;const _0x4433f3=0x0,_0x3998ab=0x1,_0x349918=0x2;class _0x575b1c{constructor(_0x21f4be,_0x3b06b3,_0x543661){const _0x33e616=_0x438c8c;this[_0x33e616(0x1db)]=_0x3b06b3||{},_0x543661&&(this[_0x33e616(0x139)]=_0x543661,this['_maskBuffer']=Buffer[_0x33e616(0x261)](0x4)),this['_socket']=_0x21f4be,this[_0x33e616(0x1aa)]=!0x0,this[_0x33e616(0x224)]=!0x1,this['_bufferedBytes']=0x0,this[_0x33e616(0x177)]=[],this[_0x33e616(0x24a)]=_0x4433f3,this[_0x33e616(0xfa)]=_0x19336e,this[_0x2f2454]=void 0x0;}static[_0x438c8c(0x292)](_0x106f93,_0x781bdc){const _0x99aac7=_0x438c8c;let _0x518d85,_0x58d3ce=!0x1,_0x42ca6f=0x2,_0x28ebbc=!0x1;_0x781bdc['mask']&&(_0x518d85=_0x781bdc[_0x99aac7(0x1b4)]||_0x36f795,_0x781bdc[_0x99aac7(0x1dc)]?_0x781bdc[_0x99aac7(0x1dc)](_0x518d85):(_0x1a31c8===_0x155827&&(_0x997138===void 0x0&&(_0x997138=Buffer[_0x99aac7(0x261)](_0x155827)),_0x5377a0(_0x997138,0x0,_0x155827),_0x1a31c8=0x0),_0x518d85[0x0]=_0x997138[_0x1a31c8++],_0x518d85[0x1]=_0x997138[_0x1a31c8++],_0x518d85[0x2]=_0x997138[_0x1a31c8++],_0x518d85[0x3]=_0x997138[_0x1a31c8++]),_0x28ebbc=(_0x518d85[0x0]|_0x518d85[0x1]|_0x518d85[0x2]|_0x518d85[0x3])===0x0,_0x42ca6f=0x6);let _0x199d0a;typeof _0x106f93==_0x99aac7(0x10c)?(!_0x781bdc['mask']||_0x28ebbc)&&_0x781bdc[_0x4a3c26]!==void 0x0?_0x199d0a=_0x781bdc[_0x4a3c26]:(_0x106f93=Buffer['from'](_0x106f93),_0x199d0a=_0x106f93[_0x99aac7(0x127)]):(_0x199d0a=_0x106f93['length'],_0x58d3ce=_0x781bdc[_0x99aac7(0x256)]&&_0x781bdc[_0x99aac7(0x242)]&&!_0x28ebbc);let _0xe1edaf=_0x199d0a;_0x199d0a>=0x10000?(_0x42ca6f+=0x8,_0xe1edaf=0x7f):_0x199d0a>0x7d&&(_0x42ca6f+=0x2,_0xe1edaf=0x7e);const _0x142527=Buffer[_0x99aac7(0x121)](_0x58d3ce?_0x199d0a+_0x42ca6f:_0x42ca6f);return _0x142527[0x0]=_0x781bdc['fin']?_0x781bdc[_0x99aac7(0x14f)]|0x80:_0x781bdc[_0x99aac7(0x14f)],_0x781bdc[_0x99aac7(0x13c)]&&(_0x142527[0x0]|=0x40),_0x142527[0x1]=_0xe1edaf,_0xe1edaf===0x7e?_0x142527[_0x99aac7(0x140)](_0x199d0a,0x2):_0xe1edaf===0x7f&&(_0x142527[0x2]=_0x142527[0x3]=0x0,_0x142527['writeUIntBE'](_0x199d0a,0x4,0x6)),_0x781bdc[_0x99aac7(0x256)]?(_0x142527[0x1]|=0x80,_0x142527[_0x42ca6f-0x4]=_0x518d85[0x0],_0x142527[_0x42ca6f-0x3]=_0x518d85[0x1],_0x142527[_0x42ca6f-0x2]=_0x518d85[0x2],_0x142527[_0x42ca6f-0x1]=_0x518d85[0x3],_0x28ebbc?[_0x142527,_0x106f93]:_0x58d3ce?(_0x118080(_0x106f93,_0x518d85,_0x142527,_0x42ca6f,_0x199d0a),[_0x142527]):(_0x118080(_0x106f93,_0x518d85,_0x106f93,0x0,_0x199d0a),[_0x142527,_0x106f93])):[_0x142527,_0x106f93];}[_0x438c8c(0x1c9)](_0x557dd3,_0x14dd33,_0x3eb1c8,_0x40e048){const _0xa97a6d=_0x438c8c;let _0x451000;if(_0x557dd3===void 0x0)_0x451000=_0x42462b;else{if(typeof _0x557dd3!=_0xa97a6d(0x249)||!_0x500751(_0x557dd3))throw new TypeError(_0xa97a6d(0x14a));if(_0x14dd33===void 0x0||!_0x14dd33[_0xa97a6d(0x127)])_0x451000=Buffer[_0xa97a6d(0x121)](0x2),_0x451000[_0xa97a6d(0x140)](_0x557dd3,0x0);else{const _0x20a1b8=Buffer['byteLength'](_0x14dd33);if(_0x20a1b8>0x7b)throw new RangeError(_0xa97a6d(0x197));_0x451000=Buffer[_0xa97a6d(0x121)](0x2+_0x20a1b8),_0x451000[_0xa97a6d(0x140)](_0x557dd3,0x0),typeof _0x14dd33=='string'?_0x451000[_0xa97a6d(0x19d)](_0x14dd33,0x2):_0x451000[_0xa97a6d(0x105)](_0x14dd33,0x2);}}const _0x152b59={[_0x4a3c26]:_0x451000[_0xa97a6d(0x127)],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x3eb1c8,'maskBuffer':this[_0xa97a6d(0x23d)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this['_state']!==_0x4433f3?this[_0xa97a6d(0x239)]([this[_0xa97a6d(0xe8)],_0x451000,!0x1,_0x152b59,_0x40e048]):this[_0xa97a6d(0xed)](_0x575b1c['frame'](_0x451000,_0x152b59),_0x40e048);}[_0x438c8c(0x115)](_0x115477,_0x23ca05,_0x56095c){const _0x29ec79=_0x438c8c;let _0x2b3da5,_0x16776d;if(typeof _0x115477==_0x29ec79(0x10c)?(_0x2b3da5=Buffer['byteLength'](_0x115477),_0x16776d=!0x1):_0xac73e4(_0x115477)?(_0x2b3da5=_0x115477['size'],_0x16776d=!0x1):(_0x115477=_0x50d20b(_0x115477),_0x2b3da5=_0x115477[_0x29ec79(0x127)],_0x16776d=_0x50d20b[_0x29ec79(0x242)]),_0x2b3da5>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x2af2ee={[_0x4a3c26]:_0x2b3da5,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x23ca05,'maskBuffer':this[_0x29ec79(0x23d)],'opcode':0x9,'readOnly':_0x16776d,'rsv1':!0x1};_0xac73e4(_0x115477)?this[_0x29ec79(0x24a)]!==_0x4433f3?this[_0x29ec79(0x239)]([this['getBlobData'],_0x115477,!0x1,_0x2af2ee,_0x56095c]):this['getBlobData'](_0x115477,!0x1,_0x2af2ee,_0x56095c):this[_0x29ec79(0x24a)]!==_0x4433f3?this[_0x29ec79(0x239)]([this[_0x29ec79(0xe8)],_0x115477,!0x1,_0x2af2ee,_0x56095c]):this[_0x29ec79(0xed)](_0x575b1c['frame'](_0x115477,_0x2af2ee),_0x56095c);}[_0x438c8c(0xf3)](_0xae242b,_0x3e074f,_0x4b088e){const _0x321714=_0x438c8c;let _0x588f53,_0x423608;if(typeof _0xae242b==_0x321714(0x10c)?(_0x588f53=Buffer['byteLength'](_0xae242b),_0x423608=!0x1):_0xac73e4(_0xae242b)?(_0x588f53=_0xae242b[_0x321714(0x1d9)],_0x423608=!0x1):(_0xae242b=_0x50d20b(_0xae242b),_0x588f53=_0xae242b[_0x321714(0x127)],_0x423608=_0x50d20b[_0x321714(0x242)]),_0x588f53>0x7d)throw new RangeError(_0x321714(0x194));const _0x373535={[_0x4a3c26]:_0x588f53,'fin':!0x0,'generateMask':this[_0x321714(0x139)],'mask':_0x3e074f,'maskBuffer':this[_0x321714(0x23d)],'opcode':0xa,'readOnly':_0x423608,'rsv1':!0x1};_0xac73e4(_0xae242b)?this[_0x321714(0x24a)]!==_0x4433f3?this[_0x321714(0x239)]([this[_0x321714(0x290)],_0xae242b,!0x1,_0x373535,_0x4b088e]):this['getBlobData'](_0xae242b,!0x1,_0x373535,_0x4b088e):this['_state']!==_0x4433f3?this[_0x321714(0x239)]([this[_0x321714(0xe8)],_0xae242b,!0x1,_0x373535,_0x4b088e]):this[_0x321714(0xed)](_0x575b1c[_0x321714(0x292)](_0xae242b,_0x373535),_0x4b088e);}['send'](_0x3e159a,_0x21fbd3,_0x2d4b89){const _0x191f66=_0x438c8c,_0x5c6a4d=this[_0x191f66(0x1db)][_0x36da44[_0x191f66(0x1dd)]];let _0x3690a3=_0x21fbd3[_0x191f66(0x270)]?0x2:0x1,_0x4dad35=_0x21fbd3[_0x191f66(0x138)],_0x571603,_0x57f049;typeof _0x3e159a==_0x191f66(0x10c)?(_0x571603=Buffer['byteLength'](_0x3e159a),_0x57f049=!0x1):_0xac73e4(_0x3e159a)?(_0x571603=_0x3e159a[_0x191f66(0x1d9)],_0x57f049=!0x1):(_0x3e159a=_0x50d20b(_0x3e159a),_0x571603=_0x3e159a[_0x191f66(0x127)],_0x57f049=_0x50d20b[_0x191f66(0x242)]),this[_0x191f66(0x1aa)]?(this[_0x191f66(0x1aa)]=!0x1,_0x4dad35&&_0x5c6a4d&&_0x5c6a4d[_0x191f66(0x28d)][_0x5c6a4d['_isServer']?'server_no_context_takeover':_0x191f66(0x20f)]&&(_0x4dad35=_0x571603>=_0x5c6a4d[_0x191f66(0x128)]),this['_compress']=_0x4dad35):(_0x4dad35=!0x1,_0x3690a3=0x0),_0x21fbd3[_0x191f66(0x1c5)]&&(this[_0x191f66(0x1aa)]=!0x0);const _0x4ad06c={[_0x4a3c26]:_0x571603,'fin':_0x21fbd3[_0x191f66(0x1c5)],'generateMask':this['_generateMask'],'mask':_0x21fbd3['mask'],'maskBuffer':this[_0x191f66(0x23d)],'opcode':_0x3690a3,'readOnly':_0x57f049,'rsv1':_0x4dad35};_0xac73e4(_0x3e159a)?this[_0x191f66(0x24a)]!==_0x4433f3?this[_0x191f66(0x239)]([this[_0x191f66(0x290)],_0x3e159a,this[_0x191f66(0x224)],_0x4ad06c,_0x2d4b89]):this['getBlobData'](_0x3e159a,this[_0x191f66(0x224)],_0x4ad06c,_0x2d4b89):this['_state']!==_0x4433f3?this[_0x191f66(0x239)]([this[_0x191f66(0xe8)],_0x3e159a,this[_0x191f66(0x224)],_0x4ad06c,_0x2d4b89]):this[_0x191f66(0xe8)](_0x3e159a,this[_0x191f66(0x224)],_0x4ad06c,_0x2d4b89);}['getBlobData'](_0x5f025a,_0x47621f,_0x5cc349,_0x5a6644){const _0x404fe7=_0x438c8c;this[_0x404fe7(0x207)]+=_0x5cc349[_0x4a3c26],this[_0x404fe7(0x24a)]=_0x349918,_0x5f025a[_0x404fe7(0x129)]()['then'](_0x142b08=>{const _0xf148f0=_0x404fe7;if(this['_socket'][_0xf148f0(0x18f)]){const _0x3b3049=new Error('The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read');process[_0xf148f0(0x132)](_0x47060b,this,_0x3b3049,_0x5a6644);return;}this['_bufferedBytes']-=_0x5cc349[_0x4a3c26];const _0x34f748=_0x50d20b(_0x142b08);_0x47621f?this[_0xf148f0(0xe8)](_0x34f748,_0x47621f,_0x5cc349,_0x5a6644):(this[_0xf148f0(0x24a)]=_0x4433f3,this[_0xf148f0(0xed)](_0x575b1c[_0xf148f0(0x292)](_0x34f748,_0x5cc349),_0x5a6644),this[_0xf148f0(0x1f1)]());})['catch'](_0x365d04=>{const _0x4c8a8d=_0x404fe7;process[_0x4c8a8d(0x132)](_0x13a7c9,this,_0x365d04,_0x5a6644);});}[_0x438c8c(0xe8)](_0x5f62ac,_0x218264,_0x46ac0a,_0x5b38d2){const _0x339438=_0x438c8c;if(!_0x218264){this[_0x339438(0xed)](_0x575b1c[_0x339438(0x292)](_0x5f62ac,_0x46ac0a),_0x5b38d2);return;}const _0x4f4bb0=this[_0x339438(0x1db)][_0x36da44[_0x339438(0x1dd)]];this[_0x339438(0x207)]+=_0x46ac0a[_0x4a3c26],this[_0x339438(0x24a)]=_0x3998ab,_0x4f4bb0[_0x339438(0x138)](_0x5f62ac,_0x46ac0a[_0x339438(0x1c5)],(_0x320b44,_0x493ced)=>{const _0x1932e4=_0x339438;if(this['_socket']['destroyed']){const _0x3122e3=new Error(_0x1932e4(0x179));_0x47060b(this,_0x3122e3,_0x5b38d2);return;}this[_0x1932e4(0x207)]-=_0x46ac0a[_0x4a3c26],this[_0x1932e4(0x24a)]=_0x4433f3,_0x46ac0a[_0x1932e4(0x242)]=!0x1,this[_0x1932e4(0xed)](_0x575b1c[_0x1932e4(0x292)](_0x493ced,_0x46ac0a),_0x5b38d2),this[_0x1932e4(0x1f1)]();});}['dequeue'](){const _0x3aebd5=_0x438c8c;for(;this[_0x3aebd5(0x24a)]===_0x4433f3&&this[_0x3aebd5(0x177)][_0x3aebd5(0x127)];){const _0x4c84a2=this[_0x3aebd5(0x177)][_0x3aebd5(0x150)]();this['_bufferedBytes']-=_0x4c84a2[0x3][_0x4a3c26],Reflect[_0x3aebd5(0x1a4)](_0x4c84a2[0x0],this,_0x4c84a2[_0x3aebd5(0x1b3)](0x1));}}[_0x438c8c(0x239)](_0x300cbe){const _0x4a7fd6=_0x438c8c;this[_0x4a7fd6(0x207)]+=_0x300cbe[0x3][_0x4a3c26],this[_0x4a7fd6(0x177)]['push'](_0x300cbe);}['sendFrame'](_0x46933b,_0x41b516){const _0x1a1c55=_0x438c8c;_0x46933b[_0x1a1c55(0x127)]===0x2?(this[_0x1a1c55(0x1e5)][_0x1a1c55(0x122)](),this[_0x1a1c55(0x1e5)][_0x1a1c55(0x19d)](_0x46933b[0x0]),this[_0x1a1c55(0x1e5)]['write'](_0x46933b[0x1],_0x41b516),this['_socket'][_0x1a1c55(0x110)]()):this['_socket'][_0x1a1c55(0x19d)](_0x46933b[0x0],_0x41b516);}}Ee=_0x575b1c;function _0x47060b(_0x51a197,_0x321f42,_0x456d64){const _0x180b06=_0x438c8c;typeof _0x456d64=='function'&&_0x456d64(_0x321f42);for(let _0x3d7da6=0x0;_0x3d7da6<_0x51a197[_0x180b06(0x177)]['length'];_0x3d7da6++){const _0x3b74f3=_0x51a197[_0x180b06(0x177)][_0x3d7da6],_0x2585e8=_0x3b74f3[_0x3b74f3[_0x180b06(0x127)]-0x1];typeof _0x2585e8==_0x180b06(0x1b2)&&_0x2585e8(_0x321f42);}}function _0x13a7c9(_0x331953,_0x2a3c6a,_0x2768aa){const _0x10e620=_0x438c8c;_0x47060b(_0x331953,_0x2a3c6a,_0x2768aa),_0x331953[_0x10e620(0xfa)](_0x2a3c6a);}return Ee;}var xe,tt;function Kt(){const _0xf8011f=_0x31e0d8;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x29afa8,kListener:_0x13e675}=V(),_0x3cdfe1=Symbol('kCode'),_0xfa4d20=Symbol(_0xf8011f(0xf8)),_0x4f791a=Symbol(_0xf8011f(0x257)),_0x407113=Symbol(_0xf8011f(0x265)),_0xdd5c5f=Symbol(_0xf8011f(0x11f)),_0x282e55=Symbol('kTarget'),_0x5bbea2=Symbol(_0xf8011f(0x1c6)),_0x449308=Symbol(_0xf8011f(0x190));class _0x30e3d7{constructor(_0x273622){this[_0x282e55]=null,this[_0x5bbea2]=_0x273622;}get[_0xf8011f(0x16a)](){return this[_0x282e55];}get[_0xf8011f(0x229)](){return this[_0x5bbea2];}}Object[_0xf8011f(0x1e3)](_0x30e3d7['prototype'],_0xf8011f(0x16a),{'enumerable':!0x0}),Object['defineProperty'](_0x30e3d7[_0xf8011f(0x291)],_0xf8011f(0x229),{'enumerable':!0x0});class _0x56372e extends _0x30e3d7{constructor(_0x56889d,_0x334a84={}){const _0x243000=_0xf8011f;super(_0x56889d),this[_0x3cdfe1]=_0x334a84['code']===void 0x0?0x0:_0x334a84[_0x243000(0x1da)],this[_0xdd5c5f]=_0x334a84[_0x243000(0xe6)]===void 0x0?'':_0x334a84['reason'],this[_0x449308]=_0x334a84[_0x243000(0x227)]===void 0x0?!0x1:_0x334a84[_0x243000(0x227)];}get[_0xf8011f(0x1da)](){return this[_0x3cdfe1];}get[_0xf8011f(0xe6)](){return this[_0xdd5c5f];}get[_0xf8011f(0x227)](){return this[_0x449308];}}Object[_0xf8011f(0x1e3)](_0x56372e['prototype'],_0xf8011f(0x1da),{'enumerable':!0x0}),Object[_0xf8011f(0x1e3)](_0x56372e[_0xf8011f(0x291)],_0xf8011f(0xe6),{'enumerable':!0x0}),Object[_0xf8011f(0x1e3)](_0x56372e[_0xf8011f(0x291)],_0xf8011f(0x227),{'enumerable':!0x0});class _0x1ab85a extends _0x30e3d7{constructor(_0x2cdb6e,_0xa62f2e={}){const _0x59e8b4=_0xf8011f;super(_0x2cdb6e),this[_0x4f791a]=_0xa62f2e[_0x59e8b4(0x181)]===void 0x0?null:_0xa62f2e[_0x59e8b4(0x181)],this[_0x407113]=_0xa62f2e['message']===void 0x0?'':_0xa62f2e['message'];}get[_0xf8011f(0x181)](){return this[_0x4f791a];}get[_0xf8011f(0xe5)](){return this[_0x407113];}}Object['defineProperty'](_0x1ab85a['prototype'],_0xf8011f(0x181),{'enumerable':!0x0}),Object[_0xf8011f(0x1e3)](_0x1ab85a[_0xf8011f(0x291)],'message',{'enumerable':!0x0});class _0x3774e3 extends _0x30e3d7{constructor(_0x4ef1c9,_0x2e8fbe={}){const _0x1632b0=_0xf8011f;super(_0x4ef1c9),this[_0xfa4d20]=_0x2e8fbe['data']===void 0x0?null:_0x2e8fbe[_0x1632b0(0x11e)];}get[_0xf8011f(0x11e)](){return this[_0xfa4d20];}}Object['defineProperty'](_0x3774e3[_0xf8011f(0x291)],'data',{'enumerable':!0x0}),xe={'CloseEvent':_0x56372e,'ErrorEvent':_0x1ab85a,'Event':_0x30e3d7,'EventTarget':{'addEventListener'(_0x33e6f3,_0x1a06de,_0x208043={}){const _0x73fae3=_0xf8011f;for(const _0x18073d of this[_0x73fae3(0x1cf)](_0x33e6f3))if(!_0x208043[_0x29afa8]&&_0x18073d[_0x13e675]===_0x1a06de&&!_0x18073d[_0x29afa8])return;let _0x272eb6;if(_0x33e6f3===_0x73fae3(0xe5))_0x272eb6=function(_0x21012d,_0x1a4b71){const _0x3b45ae=_0x73fae3,_0x2d919e=new _0x3774e3(_0x3b45ae(0xe5),{'data':_0x1a4b71?_0x21012d:_0x21012d[_0x3b45ae(0x1e2)]()});_0x2d919e[_0x282e55]=this,_0x3c82a0(_0x1a06de,this,_0x2d919e);};else{if(_0x33e6f3===_0x73fae3(0x1c9))_0x272eb6=function(_0x4b5bba,_0x5df972){const _0x9bb2=_0x73fae3,_0x66f2cc=new _0x56372e(_0x9bb2(0x1c9),{'code':_0x4b5bba,'reason':_0x5df972[_0x9bb2(0x1e2)](),'wasClean':this[_0x9bb2(0x19c)]&&this[_0x9bb2(0x1ae)]});_0x66f2cc[_0x282e55]=this,_0x3c82a0(_0x1a06de,this,_0x66f2cc);};else{if(_0x33e6f3==='error')_0x272eb6=function(_0x21da9b){const _0x5bdf5e=_0x73fae3,_0x3d2cd5=new _0x1ab85a('error',{'error':_0x21da9b,'message':_0x21da9b[_0x5bdf5e(0xe5)]});_0x3d2cd5[_0x282e55]=this,_0x3c82a0(_0x1a06de,this,_0x3d2cd5);};else{if(_0x33e6f3==='open')_0x272eb6=function(){const _0x270da2=_0x73fae3,_0x133ac2=new _0x30e3d7(_0x270da2(0x22a));_0x133ac2[_0x282e55]=this,_0x3c82a0(_0x1a06de,this,_0x133ac2);};else return;}}}_0x272eb6[_0x29afa8]=!!_0x208043[_0x29afa8],_0x272eb6[_0x13e675]=_0x1a06de,_0x208043[_0x73fae3(0x1e8)]?this[_0x73fae3(0x1e8)](_0x33e6f3,_0x272eb6):this['on'](_0x33e6f3,_0x272eb6);},'removeEventListener'(_0x2833fc,_0x4548ef){const _0x3be78f=_0xf8011f;for(const _0x5dad0c of this['listeners'](_0x2833fc))if(_0x5dad0c[_0x13e675]===_0x4548ef&&!_0x5dad0c[_0x29afa8]){this[_0x3be78f(0x1fe)](_0x2833fc,_0x5dad0c);break;}}},'MessageEvent':_0x3774e3};function _0x3c82a0(_0x3ae520,_0x1e84a2,_0x5450d3){const _0xc34e01=_0xf8011f;typeof _0x3ae520=='object'&&_0x3ae520['handleEvent']?_0x3ae520[_0xc34e01(0x1df)][_0xc34e01(0x1b7)](_0x3ae520,_0x5450d3):_0x3ae520[_0xc34e01(0x1b7)](_0x1e84a2,_0x5450d3);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x4db93c}=ne();function _0x3ea07b(_0x25385f,_0x15b351,_0x43aee1){const _0x380c46=_0x52fc;_0x25385f[_0x15b351]===void 0x0?_0x25385f[_0x15b351]=[_0x43aee1]:_0x25385f[_0x15b351][_0x380c46(0x254)](_0x43aee1);}function _0x2cc090(_0x2b7f70){const _0x5e5278=_0x52fc,_0xc59cea=Object['create'](null);let _0x5c88a1=Object[_0x5e5278(0x17d)](null),_0x3de336=!0x1,_0x315de6=!0x1,_0x475ede=!0x1,_0x37900a,_0xf627f1,_0x4553e5=-0x1,_0x363333=-0x1,_0x5c9e29=-0x1,_0x516d83=0x0;for(;_0x516d83<_0x2b7f70[_0x5e5278(0x127)];_0x516d83++)if(_0x363333=_0x2b7f70[_0x5e5278(0x17a)](_0x516d83),_0x37900a===void 0x0){if(_0x5c9e29===-0x1&&_0x4db93c[_0x363333]===0x1)_0x4553e5===-0x1&&(_0x4553e5=_0x516d83);else{if(_0x516d83!==0x0&&(_0x363333===0x20||_0x363333===0x9))_0x5c9e29===-0x1&&_0x4553e5!==-0x1&&(_0x5c9e29=_0x516d83);else{if(_0x363333===0x3b||_0x363333===0x2c){if(_0x4553e5===-0x1)throw new SyntaxError(_0x5e5278(0x243)+_0x516d83);_0x5c9e29===-0x1&&(_0x5c9e29=_0x516d83);const _0x10e422=_0x2b7f70['slice'](_0x4553e5,_0x5c9e29);_0x363333===0x2c?(_0x3ea07b(_0xc59cea,_0x10e422,_0x5c88a1),_0x5c88a1=Object[_0x5e5278(0x17d)](null)):_0x37900a=_0x10e422,_0x4553e5=_0x5c9e29=-0x1;}else throw new SyntaxError(_0x5e5278(0x243)+_0x516d83);}}}else{if(_0xf627f1===void 0x0){if(_0x5c9e29===-0x1&&_0x4db93c[_0x363333]===0x1)_0x4553e5===-0x1&&(_0x4553e5=_0x516d83);else{if(_0x363333===0x20||_0x363333===0x9)_0x5c9e29===-0x1&&_0x4553e5!==-0x1&&(_0x5c9e29=_0x516d83);else{if(_0x363333===0x3b||_0x363333===0x2c){if(_0x4553e5===-0x1)throw new SyntaxError(_0x5e5278(0x243)+_0x516d83);_0x5c9e29===-0x1&&(_0x5c9e29=_0x516d83),_0x3ea07b(_0x5c88a1,_0x2b7f70[_0x5e5278(0x1b3)](_0x4553e5,_0x5c9e29),!0x0),_0x363333===0x2c&&(_0x3ea07b(_0xc59cea,_0x37900a,_0x5c88a1),_0x5c88a1=Object['create'](null),_0x37900a=void 0x0),_0x4553e5=_0x5c9e29=-0x1;}else{if(_0x363333===0x3d&&_0x4553e5!==-0x1&&_0x5c9e29===-0x1)_0xf627f1=_0x2b7f70[_0x5e5278(0x1b3)](_0x4553e5,_0x516d83),_0x4553e5=_0x5c9e29=-0x1;else throw new SyntaxError(_0x5e5278(0x243)+_0x516d83);}}}}else{if(_0x315de6){if(_0x4db93c[_0x363333]!==0x1)throw new SyntaxError(_0x5e5278(0x243)+_0x516d83);_0x4553e5===-0x1?_0x4553e5=_0x516d83:_0x3de336||(_0x3de336=!0x0),_0x315de6=!0x1;}else{if(_0x475ede){if(_0x4db93c[_0x363333]===0x1)_0x4553e5===-0x1&&(_0x4553e5=_0x516d83);else{if(_0x363333===0x22&&_0x4553e5!==-0x1)_0x475ede=!0x1,_0x5c9e29=_0x516d83;else{if(_0x363333===0x5c)_0x315de6=!0x0;else throw new SyntaxError(_0x5e5278(0x243)+_0x516d83);}}}else{if(_0x363333===0x22&&_0x2b7f70[_0x5e5278(0x17a)](_0x516d83-0x1)===0x3d)_0x475ede=!0x0;else{if(_0x5c9e29===-0x1&&_0x4db93c[_0x363333]===0x1)_0x4553e5===-0x1&&(_0x4553e5=_0x516d83);else{if(_0x4553e5!==-0x1&&(_0x363333===0x20||_0x363333===0x9))_0x5c9e29===-0x1&&(_0x5c9e29=_0x516d83);else{if(_0x363333===0x3b||_0x363333===0x2c){if(_0x4553e5===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x516d83);_0x5c9e29===-0x1&&(_0x5c9e29=_0x516d83);let _0x8bc846=_0x2b7f70[_0x5e5278(0x1b3)](_0x4553e5,_0x5c9e29);_0x3de336&&(_0x8bc846=_0x8bc846[_0x5e5278(0x293)](/\\/g,''),_0x3de336=!0x1),_0x3ea07b(_0x5c88a1,_0xf627f1,_0x8bc846),_0x363333===0x2c&&(_0x3ea07b(_0xc59cea,_0x37900a,_0x5c88a1),_0x5c88a1=Object['create'](null),_0x37900a=void 0x0),_0xf627f1=void 0x0,_0x4553e5=_0x5c9e29=-0x1;}else throw new SyntaxError(_0x5e5278(0x243)+_0x516d83);}}}}}}}if(_0x4553e5===-0x1||_0x475ede||_0x363333===0x20||_0x363333===0x9)throw new SyntaxError(_0x5e5278(0x222));_0x5c9e29===-0x1&&(_0x5c9e29=_0x516d83);const _0x1a6852=_0x2b7f70[_0x5e5278(0x1b3)](_0x4553e5,_0x5c9e29);return _0x37900a===void 0x0?_0x3ea07b(_0xc59cea,_0x1a6852,_0x5c88a1):(_0xf627f1===void 0x0?_0x3ea07b(_0x5c88a1,_0x1a6852,!0x0):_0x3de336?_0x3ea07b(_0x5c88a1,_0xf627f1,_0x1a6852['replace'](/\\/g,'')):_0x3ea07b(_0x5c88a1,_0xf627f1,_0x1a6852),_0x3ea07b(_0xc59cea,_0x37900a,_0x5c88a1)),_0xc59cea;}function _0x721272(_0x593097){const _0x4ffaf2=_0x52fc;return Object[_0x4ffaf2(0x273)](_0x593097)['map'](_0x1b1a0c=>{const _0x45c972=_0x4ffaf2;let _0x454caf=_0x593097[_0x1b1a0c];return Array[_0x45c972(0x20d)](_0x454caf)||(_0x454caf=[_0x454caf]),_0x454caf[_0x45c972(0x166)](_0x474c20=>[_0x1b1a0c][_0x45c972(0x15a)](Object['keys'](_0x474c20)[_0x45c972(0x166)](_0x111386=>{const _0xcaf464=_0x45c972;let _0xd7743e=_0x474c20[_0x111386];return Array['isArray'](_0xd7743e)||(_0xd7743e=[_0xd7743e]),_0xd7743e[_0xcaf464(0x166)](_0x5853d7=>_0x5853d7===!0x0?_0x111386:_0x111386+'='+_0x5853d7)[_0xcaf464(0x214)](';\x20');}))[_0x45c972(0x214)](';\x20'))[_0x45c972(0x214)](',\x20');})['join'](',\x20');}return be={'format':_0x721272,'parse':_0x2cc090},be;}var we,st;function Ie(){const _0x236964=_0x31e0d8;if(st)return we;st=0x1;const _0x53d056=_0x267518,_0x8be0ec=_0x1a1263,_0x2b3e82=_0x270468,_0xf9abb2=_0x1c8bd8,_0x286545=_0x3f9487,{randomBytes:_0x5c0bcc,createHash:_0x5065be}=_0x183103,{Duplex:_0x2e01e4,Readable:_0x263966}=_0xc32ad2,{URL:_0x52f57c}=_0x2a486c,_0x42c793=he(),_0x47bf51=dt(),_0x5bc834=_t(),{isBlob:_0x17c53c}=ne(),{BINARY_TYPES:_0x527fba,EMPTY_BUFFER:_0x5e6e47,GUID:_0x27fa0e,kForOnEventAttribute:_0x12679d,kListener:_0x413e90,kStatusCode:_0x3050aa,kWebSocket:_0x1d7610,NOOP:_0x3e61f4}=V(),{EventTarget:{addEventListener:_0x5172f6,removeEventListener:_0x2f888b}}=Kt(),{format:_0x17ceb9,parse:_0x5a7147}=pt(),{toBuffer:_0x451ef5}=ce(),_0xc9ffff=0x1e*0x3e8,_0x127397=Symbol(_0x236964(0x216)),_0x50bfa9=[0x8,0xd],_0x2f66b7=[_0x236964(0x133),_0x236964(0x196),_0x236964(0xfc),'CLOSED'],_0x4fa7e3=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x5f1bd1 extends _0x53d056{constructor(_0x4ae0f4,_0x232c03,_0x677396){const _0x416a1c=_0x236964;super(),this[_0x416a1c(0x1b6)]=_0x527fba[0x0],this['_closeCode']=0x3ee,this[_0x416a1c(0x19c)]=!0x1,this['_closeFrameSent']=!0x1,this[_0x416a1c(0x161)]=_0x5e6e47,this[_0x416a1c(0x1fd)]=null,this[_0x416a1c(0x130)]=!0x1,this['_extensions']={},this['_paused']=!0x1,this[_0x416a1c(0x19b)]='',this[_0x416a1c(0x147)]=_0x5f1bd1[_0x416a1c(0x133)],this[_0x416a1c(0x259)]=null,this[_0x416a1c(0x119)]=null,this[_0x416a1c(0x1e5)]=null,_0x4ae0f4!==null?(this['_bufferedAmount']=0x0,this[_0x416a1c(0x1f3)]=!0x1,this['_redirects']=0x0,_0x232c03===void 0x0?_0x232c03=[]:Array['isArray'](_0x232c03)||(typeof _0x232c03==_0x416a1c(0x13e)&&_0x232c03!==null?(_0x677396=_0x232c03,_0x232c03=[]):_0x232c03=[_0x232c03]),_0x5a972b(this,_0x4ae0f4,_0x232c03,_0x677396)):(this[_0x416a1c(0x145)]=_0x677396[_0x416a1c(0x185)],this[_0x416a1c(0x1f3)]=!0x0);}get[_0x236964(0x208)](){const _0x4e27fe=_0x236964;return this[_0x4e27fe(0x1b6)];}set[_0x236964(0x208)](_0x167605){const _0x21d318=_0x236964;_0x527fba[_0x21d318(0x135)](_0x167605)&&(this[_0x21d318(0x1b6)]=_0x167605,this['_receiver']&&(this[_0x21d318(0x259)][_0x21d318(0x1b6)]=_0x167605));}get['bufferedAmount'](){const _0x5c0237=_0x236964;return this[_0x5c0237(0x1e5)]?this['_socket'][_0x5c0237(0x241)]['length']+this['_sender'][_0x5c0237(0x207)]:this[_0x5c0237(0x1b8)];}get['extensions'](){const _0x3eba4a=_0x236964;return Object[_0x3eba4a(0x273)](this[_0x3eba4a(0x1db)])[_0x3eba4a(0x214)]();}get['isPaused'](){return this['_paused'];}get[_0x236964(0x10d)](){return null;}get[_0x236964(0xfa)](){return null;}get[_0x236964(0x143)](){return null;}get[_0x236964(0x218)](){return null;}get[_0x236964(0x1a5)](){const _0x9f15af=_0x236964;return this[_0x9f15af(0x19b)];}get['readyState'](){return this['_readyState'];}get['url'](){const _0x4360d4=_0x236964;return this[_0x4360d4(0xf2)];}[_0x236964(0x169)](_0x3480d0,_0x269879,_0x3ec135){const _0x58f53c=_0x236964,_0xbcee1c=new _0x47bf51({'allowSynchronousEvents':_0x3ec135['allowSynchronousEvents'],'binaryType':this[_0x58f53c(0x208)],'extensions':this[_0x58f53c(0x1db)],'isServer':this['_isServer'],'maxPayload':_0x3ec135[_0x58f53c(0x1c4)],'skipUTF8Validation':_0x3ec135[_0x58f53c(0x198)]}),_0x415c1f=new _0x5bc834(_0x3480d0,this[_0x58f53c(0x1db)],_0x3ec135[_0x58f53c(0x1dc)]);this[_0x58f53c(0x259)]=_0xbcee1c,this[_0x58f53c(0x119)]=_0x415c1f,this[_0x58f53c(0x1e5)]=_0x3480d0,_0xbcee1c[_0x1d7610]=this,_0x415c1f[_0x1d7610]=this,_0x3480d0[_0x1d7610]=this,_0xbcee1c['on'](_0x58f53c(0x262),_0x59cf6b),_0xbcee1c['on'](_0x58f53c(0x12b),_0xfd7901),_0xbcee1c['on'](_0x58f53c(0x181),_0x4861a9),_0xbcee1c['on'](_0x58f53c(0xe5),_0x893fa6),_0xbcee1c['on'](_0x58f53c(0x115),_0x20770e),_0xbcee1c['on'](_0x58f53c(0xf3),_0x28fdd9),_0x415c1f[_0x58f53c(0xfa)]=_0x465409,_0x3480d0[_0x58f53c(0x102)]&&_0x3480d0[_0x58f53c(0x102)](0x0),_0x3480d0[_0x58f53c(0xfe)]&&_0x3480d0[_0x58f53c(0xfe)](),_0x269879[_0x58f53c(0x127)]>0x0&&_0x3480d0[_0x58f53c(0x18c)](_0x269879),_0x3480d0['on'](_0x58f53c(0x1c9),_0x4cdc41),_0x3480d0['on']('data',_0x1bff7a),_0x3480d0['on']('end',_0x51ee5d),_0x3480d0['on'](_0x58f53c(0x181),_0x57f7d1),this['_readyState']=_0x5f1bd1[_0x58f53c(0x196)],this[_0x58f53c(0x1d7)]('open');}[_0x236964(0x15b)](){const _0x243277=_0x236964;if(!this[_0x243277(0x1e5)]){this[_0x243277(0x147)]=_0x5f1bd1[_0x243277(0x1d2)],this[_0x243277(0x1d7)](_0x243277(0x1c9),this[_0x243277(0x126)],this[_0x243277(0x161)]);return;}this['_extensions'][_0x42c793[_0x243277(0x1dd)]]&&this[_0x243277(0x1db)][_0x42c793['extensionName']][_0x243277(0x125)](),this['_receiver']['removeAllListeners'](),this[_0x243277(0x147)]=_0x5f1bd1[_0x243277(0x1d2)],this[_0x243277(0x1d7)](_0x243277(0x1c9),this['_closeCode'],this['_closeMessage']);}[_0x236964(0x1c9)](_0x3df5a2,_0x18e706){const _0x107ded=_0x236964;if(this[_0x107ded(0x27b)]!==_0x5f1bd1[_0x107ded(0x1d2)]){if(this['readyState']===_0x5f1bd1[_0x107ded(0x133)]){_0x383ce2(this,this[_0x107ded(0x10e)],_0x107ded(0xf0));return;}if(this[_0x107ded(0x27b)]===_0x5f1bd1[_0x107ded(0xfc)]){this[_0x107ded(0x1ae)]&&(this['_closeFrameReceived']||this[_0x107ded(0x259)][_0x107ded(0x241)][_0x107ded(0x116)])&&this['_socket'][_0x107ded(0x225)]();return;}this['_readyState']=_0x5f1bd1[_0x107ded(0xfc)],this['_sender'][_0x107ded(0x1c9)](_0x3df5a2,_0x18e706,!this[_0x107ded(0x1f3)],_0x113d55=>{const _0x24a7ad=_0x107ded;_0x113d55||(this['_closeFrameSent']=!0x0,(this[_0x24a7ad(0x19c)]||this[_0x24a7ad(0x259)][_0x24a7ad(0x241)][_0x24a7ad(0x116)])&&this[_0x24a7ad(0x1e5)][_0x24a7ad(0x225)]());}),_0x2a3a84(this);}}[_0x236964(0x1d3)](){const _0x295f5d=_0x236964;this[_0x295f5d(0x27b)]===_0x5f1bd1[_0x295f5d(0x133)]||this['readyState']===_0x5f1bd1[_0x295f5d(0x1d2)]||(this['_paused']=!0x0,this[_0x295f5d(0x1e5)][_0x295f5d(0x1d3)]());}[_0x236964(0x115)](_0x428f3f,_0x1c4139,_0x194207){const _0x5e89d6=_0x236964;if(this[_0x5e89d6(0x27b)]===_0x5f1bd1[_0x5e89d6(0x133)])throw new Error(_0x5e89d6(0x213));if(typeof _0x428f3f=='function'?(_0x194207=_0x428f3f,_0x428f3f=_0x1c4139=void 0x0):typeof _0x1c4139==_0x5e89d6(0x1b2)&&(_0x194207=_0x1c4139,_0x1c4139=void 0x0),typeof _0x428f3f==_0x5e89d6(0x249)&&(_0x428f3f=_0x428f3f['toString']()),this[_0x5e89d6(0x27b)]!==_0x5f1bd1[_0x5e89d6(0x196)]){_0x2738de(this,_0x428f3f,_0x194207);return;}_0x1c4139===void 0x0&&(_0x1c4139=!this[_0x5e89d6(0x1f3)]),this[_0x5e89d6(0x119)][_0x5e89d6(0x115)](_0x428f3f||_0x5e6e47,_0x1c4139,_0x194207);}[_0x236964(0xf3)](_0x5528b6,_0x52c75d,_0x13f0ff){const _0x22438c=_0x236964;if(this[_0x22438c(0x27b)]===_0x5f1bd1[_0x22438c(0x133)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x5528b6=='function'?(_0x13f0ff=_0x5528b6,_0x5528b6=_0x52c75d=void 0x0):typeof _0x52c75d==_0x22438c(0x1b2)&&(_0x13f0ff=_0x52c75d,_0x52c75d=void 0x0),typeof _0x5528b6==_0x22438c(0x249)&&(_0x5528b6=_0x5528b6[_0x22438c(0x1e2)]()),this['readyState']!==_0x5f1bd1['OPEN']){_0x2738de(this,_0x5528b6,_0x13f0ff);return;}_0x52c75d===void 0x0&&(_0x52c75d=!this[_0x22438c(0x1f3)]),this['_sender']['pong'](_0x5528b6||_0x5e6e47,_0x52c75d,_0x13f0ff);}[_0x236964(0x14b)](){const _0x4ca632=_0x236964;this[_0x4ca632(0x27b)]===_0x5f1bd1['CONNECTING']||this['readyState']===_0x5f1bd1[_0x4ca632(0x1d2)]||(this[_0x4ca632(0xe3)]=!0x1,this[_0x4ca632(0x259)][_0x4ca632(0x241)]['needDrain']||this['_socket'][_0x4ca632(0x14b)]());}['send'](_0x5f585d,_0x5bfa79,_0x57070f){const _0x255593=_0x236964;if(this[_0x255593(0x27b)]===_0x5f1bd1['CONNECTING'])throw new Error(_0x255593(0x213));if(typeof _0x5bfa79==_0x255593(0x1b2)&&(_0x57070f=_0x5bfa79,_0x5bfa79={}),typeof _0x5f585d==_0x255593(0x249)&&(_0x5f585d=_0x5f585d['toString']()),this['readyState']!==_0x5f1bd1['OPEN']){_0x2738de(this,_0x5f585d,_0x57070f);return;}const _0x5ee281={'binary':typeof _0x5f585d!='string','mask':!this[_0x255593(0x1f3)],'compress':!0x0,'fin':!0x0,..._0x5bfa79};this[_0x255593(0x1db)][_0x42c793['extensionName']]||(_0x5ee281[_0x255593(0x138)]=!0x1),this[_0x255593(0x119)][_0x255593(0x16b)](_0x5f585d||_0x5e6e47,_0x5ee281,_0x57070f);}[_0x236964(0x11b)](){const _0x6e343c=_0x236964;if(this[_0x6e343c(0x27b)]!==_0x5f1bd1['CLOSED']){if(this[_0x6e343c(0x27b)]===_0x5f1bd1[_0x6e343c(0x133)]){_0x383ce2(this,this['_req'],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}this[_0x6e343c(0x1e5)]&&(this[_0x6e343c(0x147)]=_0x5f1bd1[_0x6e343c(0xfc)],this[_0x6e343c(0x1e5)][_0x6e343c(0x174)]());}}}Object['defineProperty'](_0x5f1bd1,_0x236964(0x133),{'enumerable':!0x0,'value':_0x2f66b7[_0x236964(0xeb)](_0x236964(0x133))}),Object[_0x236964(0x1e3)](_0x5f1bd1[_0x236964(0x291)],_0x236964(0x133),{'enumerable':!0x0,'value':_0x2f66b7[_0x236964(0xeb)](_0x236964(0x133))}),Object[_0x236964(0x1e3)](_0x5f1bd1,_0x236964(0x196),{'enumerable':!0x0,'value':_0x2f66b7['indexOf'](_0x236964(0x196))}),Object[_0x236964(0x1e3)](_0x5f1bd1['prototype'],_0x236964(0x196),{'enumerable':!0x0,'value':_0x2f66b7[_0x236964(0xeb)](_0x236964(0x196))}),Object['defineProperty'](_0x5f1bd1,'CLOSING',{'enumerable':!0x0,'value':_0x2f66b7[_0x236964(0xeb)](_0x236964(0xfc))}),Object[_0x236964(0x1e3)](_0x5f1bd1[_0x236964(0x291)],_0x236964(0xfc),{'enumerable':!0x0,'value':_0x2f66b7[_0x236964(0xeb)](_0x236964(0xfc))}),Object[_0x236964(0x1e3)](_0x5f1bd1,_0x236964(0x1d2),{'enumerable':!0x0,'value':_0x2f66b7[_0x236964(0xeb)](_0x236964(0x1d2))}),Object[_0x236964(0x1e3)](_0x5f1bd1[_0x236964(0x291)],_0x236964(0x1d2),{'enumerable':!0x0,'value':_0x2f66b7['indexOf'](_0x236964(0x1d2))}),[_0x236964(0x208),_0x236964(0x148),'extensions',_0x236964(0x14e),'protocol',_0x236964(0x27b),_0x236964(0x23e)][_0x236964(0x159)](_0x3f9198=>{const _0x5672bc=_0x236964;Object[_0x5672bc(0x1e3)](_0x5f1bd1[_0x5672bc(0x291)],_0x3f9198,{'enumerable':!0x0});}),[_0x236964(0x22a),_0x236964(0x181),'close','message']['forEach'](_0x249bc2=>{const _0x5d3f3c=_0x236964;Object['defineProperty'](_0x5f1bd1[_0x5d3f3c(0x291)],'on'+_0x249bc2,{'enumerable':!0x0,'get'(){const _0x5aa291=_0x5d3f3c;for(const _0x369c1a of this[_0x5aa291(0x1cf)](_0x249bc2))if(_0x369c1a[_0x12679d])return _0x369c1a[_0x413e90];return null;},'set'(_0x4b9354){const _0x3675c5=_0x5d3f3c;for(const _0x1af3ce of this[_0x3675c5(0x1cf)](_0x249bc2))if(_0x1af3ce[_0x12679d]){this[_0x3675c5(0x1fe)](_0x249bc2,_0x1af3ce);break;}typeof _0x4b9354==_0x3675c5(0x1b2)&&this[_0x3675c5(0x215)](_0x249bc2,_0x4b9354,{[_0x12679d]:!0x0});}});}),_0x5f1bd1[_0x236964(0x291)][_0x236964(0x215)]=_0x5172f6,_0x5f1bd1[_0x236964(0x291)]['removeEventListener']=_0x2f888b,we=_0x5f1bd1;function _0x5a972b(_0x4716e3,_0x487814,_0x29c9d7,_0x29933d){const _0x32e075=_0x236964,_0x473a35={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x50bfa9[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x29933d,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x32e075(0x201),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x4716e3['_autoPong']=_0x473a35[_0x32e075(0x185)],!_0x50bfa9[_0x32e075(0x135)](_0x473a35[_0x32e075(0xe4)]))throw new RangeError(_0x32e075(0x1e6)+_0x473a35[_0x32e075(0xe4)]+_0x32e075(0x164)+_0x50bfa9['join'](',\x20')+')');let _0x5ddd89;if(_0x487814 instanceof _0x52f57c)_0x5ddd89=_0x487814;else try{_0x5ddd89=new _0x52f57c(_0x487814);}catch{throw new SyntaxError('Invalid\x20URL:\x20'+_0x487814);}_0x5ddd89[_0x32e075(0x1a5)]===_0x32e075(0x152)?_0x5ddd89['protocol']=_0x32e075(0xec):_0x5ddd89[_0x32e075(0x1a5)]===_0x32e075(0x144)&&(_0x5ddd89[_0x32e075(0x1a5)]='wss:'),_0x4716e3[_0x32e075(0xf2)]=_0x5ddd89['href'];const _0x103527=_0x5ddd89[_0x32e075(0x1a5)]===_0x32e075(0x1f5),_0x143aa1=_0x5ddd89[_0x32e075(0x1a5)]===_0x32e075(0x206);let _0x17d19b;if(_0x5ddd89[_0x32e075(0x1a5)]!==_0x32e075(0xec)&&!_0x103527&&!_0x143aa1?_0x17d19b=_0x32e075(0xe7):_0x143aa1&&!_0x5ddd89['pathname']?_0x17d19b=_0x32e075(0x22d):_0x5ddd89[_0x32e075(0x176)]&&(_0x17d19b=_0x32e075(0x10a)),_0x17d19b){const _0x175710=new SyntaxError(_0x17d19b);if(_0x4716e3['_redirects']===0x0)throw _0x175710;_0x16081d(_0x4716e3,_0x175710);return;}const _0x391073=_0x103527?0x1bb:0x50,_0x1edda4=_0x5c0bcc(0x10)[_0x32e075(0x1e2)]('base64'),_0x5aec53=_0x103527?_0x8be0ec['request']:_0x2b3e82[_0x32e075(0x25f)],_0x56f47f=new Set();let _0xe68b67;if(_0x473a35[_0x32e075(0x26e)]=_0x473a35[_0x32e075(0x26e)]||(_0x103527?_0x550f4c:_0x382e81),_0x473a35[_0x32e075(0x221)]=_0x473a35['defaultPort']||_0x391073,_0x473a35[_0x32e075(0x24b)]=_0x5ddd89[_0x32e075(0x24b)]||_0x391073,_0x473a35[_0x32e075(0x1ba)]=_0x5ddd89[_0x32e075(0x21b)]['startsWith']('[')?_0x5ddd89['hostname']['slice'](0x1,-0x1):_0x5ddd89[_0x32e075(0x21b)],_0x473a35[_0x32e075(0x1d1)]={..._0x473a35[_0x32e075(0x1d1)],'Sec-WebSocket-Version':_0x473a35[_0x32e075(0xe4)],'Sec-WebSocket-Key':_0x1edda4,'Connection':'Upgrade','Upgrade':_0x32e075(0x282)},_0x473a35[_0x32e075(0x285)]=_0x5ddd89[_0x32e075(0x1bf)]+_0x5ddd89[_0x32e075(0x220)],_0x473a35[_0x32e075(0x1ce)]=_0x473a35[_0x32e075(0x205)],_0x473a35[_0x32e075(0x276)]&&(_0xe68b67=new _0x42c793(_0x473a35[_0x32e075(0x276)]!==!0x0?_0x473a35['perMessageDeflate']:{},!0x1,_0x473a35[_0x32e075(0x1c4)]),_0x473a35[_0x32e075(0x1d1)][_0x32e075(0x287)]=_0x17ceb9({[_0x42c793[_0x32e075(0x1dd)]]:_0xe68b67[_0x32e075(0x27e)]()})),_0x29c9d7[_0x32e075(0x127)]){for(const _0x2ebfa4 of _0x29c9d7){if(typeof _0x2ebfa4!=_0x32e075(0x10c)||!_0x4fa7e3['test'](_0x2ebfa4)||_0x56f47f['has'](_0x2ebfa4))throw new SyntaxError(_0x32e075(0x260));_0x56f47f[_0x32e075(0x1a3)](_0x2ebfa4);}_0x473a35[_0x32e075(0x1d1)]['Sec-WebSocket-Protocol']=_0x29c9d7[_0x32e075(0x214)](',');}if(_0x473a35['origin']&&(_0x473a35['protocolVersion']<0xd?_0x473a35[_0x32e075(0x1d1)][_0x32e075(0x209)]=_0x473a35[_0x32e075(0x183)]:_0x473a35['headers'][_0x32e075(0x168)]=_0x473a35['origin']),(_0x5ddd89['username']||_0x5ddd89['password'])&&(_0x473a35[_0x32e075(0x1de)]=_0x5ddd89['username']+':'+_0x5ddd89[_0x32e075(0x17f)]),_0x143aa1){const _0x4e9921=_0x473a35[_0x32e075(0x285)][_0x32e075(0xf7)](':');_0x473a35[_0x32e075(0x160)]=_0x4e9921[0x0],_0x473a35['path']=_0x4e9921[0x1];}let _0x10185c;if(_0x473a35[_0x32e075(0x1e4)]){if(_0x4716e3[_0x32e075(0x1ea)]===0x0){_0x4716e3[_0x32e075(0x236)]=_0x143aa1,_0x4716e3[_0x32e075(0x24f)]=_0x103527,_0x4716e3[_0x32e075(0x1f2)]=_0x143aa1?_0x473a35['socketPath']:_0x5ddd89[_0x32e075(0x1ba)];const _0x51f739=_0x29933d&&_0x29933d['headers'];if(_0x29933d={..._0x29933d,'headers':{}},_0x51f739){for(const [_0x213d64,_0x229297]of Object[_0x32e075(0x1a7)](_0x51f739))_0x29933d[_0x32e075(0x1d1)][_0x213d64[_0x32e075(0x212)]()]=_0x229297;}}else{if(_0x4716e3[_0x32e075(0x247)](_0x32e075(0x114))===0x0){const _0x5144c2=_0x143aa1?_0x4716e3[_0x32e075(0x236)]?_0x473a35[_0x32e075(0x160)]===_0x4716e3[_0x32e075(0x1f2)]:!0x1:_0x4716e3[_0x32e075(0x236)]?!0x1:_0x5ddd89[_0x32e075(0x1ba)]===_0x4716e3[_0x32e075(0x1f2)];(!_0x5144c2||_0x4716e3['_originalSecure']&&!_0x103527)&&(delete _0x473a35[_0x32e075(0x1d1)][_0x32e075(0x1d4)],delete _0x473a35['headers']['cookie'],_0x5144c2||delete _0x473a35[_0x32e075(0x1d1)]['host'],_0x473a35[_0x32e075(0x1de)]=void 0x0);}}_0x473a35[_0x32e075(0x1de)]&&!_0x29933d[_0x32e075(0x1d1)]['authorization']&&(_0x29933d[_0x32e075(0x1d1)][_0x32e075(0x1d4)]=_0x32e075(0x20b)+Buffer[_0x32e075(0x17b)](_0x473a35['auth'])[_0x32e075(0x1e2)](_0x32e075(0x255))),_0x10185c=_0x4716e3[_0x32e075(0x10e)]=_0x5aec53(_0x473a35),_0x4716e3[_0x32e075(0x1ea)]&&_0x4716e3[_0x32e075(0x1d7)](_0x32e075(0x114),_0x4716e3['url'],_0x10185c);}else _0x10185c=_0x4716e3[_0x32e075(0x10e)]=_0x5aec53(_0x473a35);_0x473a35[_0x32e075(0x1ce)]&&_0x10185c['on']('timeout',()=>{const _0x339a2c=_0x32e075;_0x383ce2(_0x4716e3,_0x10185c,_0x339a2c(0x167));}),_0x10185c['on'](_0x32e075(0x181),_0x47c24f=>{const _0x15ad2d=_0x32e075;_0x10185c===null||_0x10185c[_0x127397]||(_0x10185c=_0x4716e3[_0x15ad2d(0x10e)]=null,_0x16081d(_0x4716e3,_0x47c24f));}),_0x10185c['on'](_0x32e075(0x141),_0x3d6561=>{const _0xccbd1f=_0x32e075,_0x391056=_0x3d6561['headers']['location'],_0x4360d3=_0x3d6561[_0xccbd1f(0x268)];if(_0x391056&&_0x473a35[_0xccbd1f(0x1e4)]&&_0x4360d3>=0x12c&&_0x4360d3<0x190){if(++_0x4716e3[_0xccbd1f(0x1ea)]>_0x473a35[_0xccbd1f(0x27f)]){_0x383ce2(_0x4716e3,_0x10185c,_0xccbd1f(0x1cc));return;}_0x10185c[_0xccbd1f(0x27d)]();let _0x36b5ec;try{_0x36b5ec=new _0x52f57c(_0x391056,_0x487814);}catch{const _0x2ccbe3=new SyntaxError(_0xccbd1f(0x1ef)+_0x391056);_0x16081d(_0x4716e3,_0x2ccbe3);return;}_0x5a972b(_0x4716e3,_0x36b5ec,_0x29c9d7,_0x29933d);}else _0x4716e3[_0xccbd1f(0x1d7)](_0xccbd1f(0x271),_0x10185c,_0x3d6561)||_0x383ce2(_0x4716e3,_0x10185c,_0xccbd1f(0x28e)+_0x3d6561[_0xccbd1f(0x268)]);}),_0x10185c['on'](_0x32e075(0x14d),(_0x369e8b,_0x159e65,_0x3c4a76)=>{const _0x4eb0a8=_0x32e075;if(_0x4716e3[_0x4eb0a8(0x1d7)](_0x4eb0a8(0x14d),_0x369e8b),_0x4716e3[_0x4eb0a8(0x27b)]!==_0x5f1bd1[_0x4eb0a8(0x133)])return;_0x10185c=_0x4716e3[_0x4eb0a8(0x10e)]=null;const _0x13485e=_0x369e8b[_0x4eb0a8(0x1d1)][_0x4eb0a8(0x14d)];if(_0x13485e===void 0x0||_0x13485e[_0x4eb0a8(0x212)]()!=='websocket'){_0x383ce2(_0x4716e3,_0x159e65,_0x4eb0a8(0x12c));return;}const _0x169726=_0x5065be(_0x4eb0a8(0x250))['update'](_0x1edda4+_0x27fa0e)[_0x4eb0a8(0x1f7)](_0x4eb0a8(0x255));if(_0x369e8b[_0x4eb0a8(0x1d1)][_0x4eb0a8(0xf4)]!==_0x169726){_0x383ce2(_0x4716e3,_0x159e65,_0x4eb0a8(0x173));return;}const _0x57870b=_0x369e8b[_0x4eb0a8(0x1d1)]['sec-websocket-protocol'];let _0x4227d2;if(_0x57870b!==void 0x0?_0x56f47f['size']?_0x56f47f['has'](_0x57870b)||(_0x4227d2=_0x4eb0a8(0x113)):_0x4227d2=_0x4eb0a8(0x237):_0x56f47f[_0x4eb0a8(0x1d9)]&&(_0x4227d2=_0x4eb0a8(0x188)),_0x4227d2){_0x383ce2(_0x4716e3,_0x159e65,_0x4227d2);return;}_0x57870b&&(_0x4716e3[_0x4eb0a8(0x19b)]=_0x57870b);const _0x246e49=_0x369e8b[_0x4eb0a8(0x1d1)][_0x4eb0a8(0x17e)];if(_0x246e49!==void 0x0){if(!_0xe68b67){_0x383ce2(_0x4716e3,_0x159e65,_0x4eb0a8(0x1a0));return;}let _0x2f705b;try{_0x2f705b=_0x5a7147(_0x246e49);}catch{_0x383ce2(_0x4716e3,_0x159e65,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0x54aa01=Object[_0x4eb0a8(0x273)](_0x2f705b);if(_0x54aa01['length']!==0x1||_0x54aa01[0x0]!==_0x42c793[_0x4eb0a8(0x1dd)]){_0x383ce2(_0x4716e3,_0x159e65,_0x4eb0a8(0x187));return;}try{_0xe68b67[_0x4eb0a8(0x1e7)](_0x2f705b[_0x42c793[_0x4eb0a8(0x1dd)]]);}catch{_0x383ce2(_0x4716e3,_0x159e65,_0x4eb0a8(0x16c));return;}_0x4716e3[_0x4eb0a8(0x1db)][_0x42c793['extensionName']]=_0xe68b67;}_0x4716e3[_0x4eb0a8(0x169)](_0x159e65,_0x3c4a76,{'allowSynchronousEvents':_0x473a35[_0x4eb0a8(0x106)],'generateMask':_0x473a35['generateMask'],'maxPayload':_0x473a35[_0x4eb0a8(0x1c4)],'skipUTF8Validation':_0x473a35['skipUTF8Validation']});}),_0x473a35['finishRequest']?_0x473a35[_0x32e075(0x28c)](_0x10185c,_0x4716e3):_0x10185c[_0x32e075(0x225)]();}function _0x16081d(_0x2b26ae,_0x1ae79d){const _0x12a82a=_0x236964;_0x2b26ae[_0x12a82a(0x147)]=_0x5f1bd1[_0x12a82a(0xfc)],_0x2b26ae[_0x12a82a(0x130)]=!0x0,_0x2b26ae[_0x12a82a(0x1d7)](_0x12a82a(0x181),_0x1ae79d),_0x2b26ae[_0x12a82a(0x15b)]();}function _0x382e81(_0x2231a5){const _0x5f4f1b=_0x236964;return _0x2231a5[_0x5f4f1b(0x285)]=_0x2231a5[_0x5f4f1b(0x160)],_0xf9abb2['connect'](_0x2231a5);}function _0x550f4c(_0x51b5da){const _0x3799c1=_0x236964;return _0x51b5da['path']=void 0x0,!_0x51b5da[_0x3799c1(0x253)]&&_0x51b5da[_0x3799c1(0x253)]!==''&&(_0x51b5da['servername']=_0xf9abb2[_0x3799c1(0x1ee)](_0x51b5da['host'])?'':_0x51b5da['host']),_0x286545[_0x3799c1(0x24d)](_0x51b5da);}function _0x383ce2(_0x1b4eab,_0x3fa508,_0x30922f){const _0x583dcb=_0x236964;_0x1b4eab[_0x583dcb(0x147)]=_0x5f1bd1['CLOSING'];const _0x592c93=new Error(_0x30922f);Error[_0x583dcb(0x230)](_0x592c93,_0x383ce2),_0x3fa508[_0x583dcb(0x217)]?(_0x3fa508[_0x127397]=!0x0,_0x3fa508[_0x583dcb(0x27d)](),_0x3fa508[_0x583dcb(0x1e0)]&&!_0x3fa508[_0x583dcb(0x1e0)][_0x583dcb(0x18f)]&&_0x3fa508[_0x583dcb(0x1e0)][_0x583dcb(0x174)](),process[_0x583dcb(0x132)](_0x16081d,_0x1b4eab,_0x592c93)):(_0x3fa508[_0x583dcb(0x174)](_0x592c93),_0x3fa508[_0x583dcb(0x1e8)](_0x583dcb(0x181),_0x1b4eab[_0x583dcb(0x1d7)]['bind'](_0x1b4eab,_0x583dcb(0x181))),_0x3fa508['once'](_0x583dcb(0x1c9),_0x1b4eab[_0x583dcb(0x15b)]['bind'](_0x1b4eab)));}function _0x2738de(_0x46c728,_0x33e561,_0x5833cc){const _0x3b8260=_0x236964;if(_0x33e561){const _0x340af5=_0x17c53c(_0x33e561)?_0x33e561[_0x3b8260(0x1d9)]:_0x451ef5(_0x33e561)[_0x3b8260(0x127)];_0x46c728[_0x3b8260(0x1e5)]?_0x46c728[_0x3b8260(0x119)][_0x3b8260(0x207)]+=_0x340af5:_0x46c728['_bufferedAmount']+=_0x340af5;}if(_0x5833cc){const _0x259587=new Error(_0x3b8260(0x199)+_0x46c728[_0x3b8260(0x27b)]+'\x20('+_0x2f66b7[_0x46c728[_0x3b8260(0x27b)]]+')');process['nextTick'](_0x5833cc,_0x259587);}}function _0x59cf6b(_0x22c442,_0x1e2dfa){const _0x1b7ddd=_0x236964,_0x57f283=this[_0x1d7610];_0x57f283['_closeFrameReceived']=!0x0,_0x57f283['_closeMessage']=_0x1e2dfa,_0x57f283[_0x1b7ddd(0x126)]=_0x22c442,_0x57f283['_socket'][_0x1d7610]!==void 0x0&&(_0x57f283[_0x1b7ddd(0x1e5)][_0x1b7ddd(0x1fe)](_0x1b7ddd(0x11e),_0x1bff7a),process[_0x1b7ddd(0x132)](_0x168750,_0x57f283[_0x1b7ddd(0x1e5)]),_0x22c442===0x3ed?_0x57f283[_0x1b7ddd(0x1c9)]():_0x57f283[_0x1b7ddd(0x1c9)](_0x22c442,_0x1e2dfa));}function _0xfd7901(){const _0x5823ac=_0x236964,_0x5de10b=this[_0x1d7610];_0x5de10b[_0x5823ac(0x14e)]||_0x5de10b['_socket'][_0x5823ac(0x14b)]();}function _0x4861a9(_0x5cd38f){const _0x135cb7=_0x236964,_0x5238b8=this[_0x1d7610];_0x5238b8[_0x135cb7(0x1e5)][_0x1d7610]!==void 0x0&&(_0x5238b8[_0x135cb7(0x1e5)][_0x135cb7(0x1fe)](_0x135cb7(0x11e),_0x1bff7a),process[_0x135cb7(0x132)](_0x168750,_0x5238b8[_0x135cb7(0x1e5)]),_0x5238b8['close'](_0x5cd38f[_0x3050aa])),_0x5238b8[_0x135cb7(0x130)]||(_0x5238b8[_0x135cb7(0x130)]=!0x0,_0x5238b8[_0x135cb7(0x1d7)](_0x135cb7(0x181),_0x5cd38f));}function _0x1b2db5(){const _0x599f54=_0x236964;this[_0x1d7610][_0x599f54(0x15b)]();}function _0x893fa6(_0x51a0b3,_0x2ae9b2){const _0x492bd1=_0x236964;this[_0x1d7610][_0x492bd1(0x1d7)]('message',_0x51a0b3,_0x2ae9b2);}function _0x20770e(_0x52e2b4){const _0x148bf9=_0x236964,_0x333ee7=this[_0x1d7610];_0x333ee7[_0x148bf9(0x145)]&&_0x333ee7[_0x148bf9(0xf3)](_0x52e2b4,!this[_0x148bf9(0x1f3)],_0x3e61f4),_0x333ee7[_0x148bf9(0x1d7)](_0x148bf9(0x115),_0x52e2b4);}function _0x28fdd9(_0x4b5799){const _0x54f159=_0x236964;this[_0x1d7610][_0x54f159(0x1d7)](_0x54f159(0xf3),_0x4b5799);}function _0x168750(_0x874069){const _0x4d0a35=_0x236964;_0x874069[_0x4d0a35(0x14b)]();}function _0x465409(_0xb00b84){const _0x22414d=_0x236964,_0x3055bb=this[_0x1d7610];_0x3055bb[_0x22414d(0x27b)]!==_0x5f1bd1['CLOSED']&&(_0x3055bb[_0x22414d(0x27b)]===_0x5f1bd1[_0x22414d(0x196)]&&(_0x3055bb[_0x22414d(0x147)]=_0x5f1bd1[_0x22414d(0xfc)],_0x2a3a84(_0x3055bb)),this['_socket'][_0x22414d(0x225)](),_0x3055bb[_0x22414d(0x130)]||(_0x3055bb[_0x22414d(0x130)]=!0x0,_0x3055bb[_0x22414d(0x1d7)]('error',_0xb00b84)));}function _0x2a3a84(_0x591c06){const _0x15767f=_0x236964;_0x591c06['_closeTimer']=setTimeout(_0x591c06[_0x15767f(0x1e5)][_0x15767f(0x174)][_0x15767f(0x182)](_0x591c06[_0x15767f(0x1e5)]),_0xc9ffff);}function _0x4cdc41(){const _0x470b36=_0x236964,_0x50bace=this[_0x1d7610];this[_0x470b36(0x1fe)](_0x470b36(0x1c9),_0x4cdc41),this['removeListener'](_0x470b36(0x11e),_0x1bff7a),this['removeListener']('end',_0x51ee5d),_0x50bace[_0x470b36(0x147)]=_0x5f1bd1['CLOSING'];let _0x3ce282;!this[_0x470b36(0x172)][_0x470b36(0x1be)]&&!_0x50bace[_0x470b36(0x19c)]&&!_0x50bace['_receiver'][_0x470b36(0x241)]['errorEmitted']&&(_0x3ce282=_0x50bace[_0x470b36(0x1e5)][_0x470b36(0x1bb)]())!==null&&_0x50bace['_receiver'][_0x470b36(0x19d)](_0x3ce282),_0x50bace[_0x470b36(0x259)][_0x470b36(0x225)](),this[_0x1d7610]=void 0x0,clearTimeout(_0x50bace['_closeTimer']),_0x50bace['_receiver'][_0x470b36(0x241)]['finished']||_0x50bace['_receiver'][_0x470b36(0x241)][_0x470b36(0x116)]?_0x50bace[_0x470b36(0x15b)]():(_0x50bace[_0x470b36(0x259)]['on'](_0x470b36(0x181),_0x1b2db5),_0x50bace['_receiver']['on']('finish',_0x1b2db5));}function _0x1bff7a(_0x4e4fa1){const _0x500aba=_0x236964;this[_0x1d7610][_0x500aba(0x259)][_0x500aba(0x19d)](_0x4e4fa1)||this[_0x500aba(0x1d3)]();}function _0x51ee5d(){const _0x50eef8=_0x236964,_0x1c65fd=this[_0x1d7610];_0x1c65fd[_0x50eef8(0x147)]=_0x5f1bd1[_0x50eef8(0xfc)],_0x1c65fd[_0x50eef8(0x259)][_0x50eef8(0x225)](),this['end']();}function _0x57f7d1(){const _0x326353=_0x236964,_0x5976d3=this[_0x1d7610];this['removeListener'](_0x326353(0x181),_0x57f7d1),this['on'](_0x326353(0x181),_0x3e61f4),_0x5976d3&&(_0x5976d3['_readyState']=_0x5f1bd1[_0x326353(0xfc)],this['destroy']());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x167448}=_0xc32ad2;function _0x54be15(_0x383293){const _0x53b3ab=_0x52fc;_0x383293['emit'](_0x53b3ab(0x1c9));}function _0xeb45a3(){const _0x1de050=_0x52fc;!this[_0x1de050(0x18f)]&&this[_0x1de050(0x241)]['finished']&&this['destroy']();}function _0x4d21d6(_0x509da1){const _0x43d5ef=_0x52fc;this['removeListener'](_0x43d5ef(0x181),_0x4d21d6),this[_0x43d5ef(0x174)](),this[_0x43d5ef(0x247)](_0x43d5ef(0x181))===0x0&&this[_0x43d5ef(0x1d7)](_0x43d5ef(0x181),_0x509da1);}function _0x3fb061(_0x4250f0,_0x44eee9){const _0x47d9a8=_0x52fc;let _0x567554=!0x0;const _0xab384f=new _0x167448({..._0x44eee9,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x4250f0['on'](_0x47d9a8(0xe5),function(_0x301b76,_0x1a7983){const _0x69de10=_0x47d9a8,_0x118230=!_0x1a7983&&_0xab384f[_0x69de10(0x172)][_0x69de10(0x266)]?_0x301b76['toString']():_0x301b76;_0xab384f[_0x69de10(0x254)](_0x118230)||_0x4250f0[_0x69de10(0x1d3)]();}),_0x4250f0[_0x47d9a8(0x1e8)](_0x47d9a8(0x181),function(_0x21b908){const _0x385258=_0x47d9a8;_0xab384f[_0x385258(0x18f)]||(_0x567554=!0x1,_0xab384f[_0x385258(0x174)](_0x21b908));}),_0x4250f0[_0x47d9a8(0x1e8)](_0x47d9a8(0x1c9),function(){_0xab384f['destroyed']||_0xab384f['push'](null);}),_0xab384f[_0x47d9a8(0x18e)]=function(_0x173a96,_0x44afad){const _0x31fd4b=_0x47d9a8;if(_0x4250f0[_0x31fd4b(0x27b)]===_0x4250f0[_0x31fd4b(0x1d2)]){_0x44afad(_0x173a96),process[_0x31fd4b(0x132)](_0x54be15,_0xab384f);return;}let _0x41782f=!0x1;_0x4250f0['once'](_0x31fd4b(0x181),function(_0x16c21a){_0x41782f=!0x0,_0x44afad(_0x16c21a);}),_0x4250f0[_0x31fd4b(0x1e8)](_0x31fd4b(0x1c9),function(){const _0x177622=_0x31fd4b;_0x41782f||_0x44afad(_0x173a96),process[_0x177622(0x132)](_0x54be15,_0xab384f);}),_0x567554&&_0x4250f0['terminate']();},_0xab384f['_final']=function(_0x1e7f14){const _0x5c1a17=_0x47d9a8;if(_0x4250f0[_0x5c1a17(0x27b)]===_0x4250f0[_0x5c1a17(0x133)]){_0x4250f0[_0x5c1a17(0x1e8)]('open',function(){const _0x1affe2=_0x5c1a17;_0xab384f[_0x1affe2(0x1f4)](_0x1e7f14);});return;}_0x4250f0[_0x5c1a17(0x1e5)]!==null&&(_0x4250f0[_0x5c1a17(0x1e5)][_0x5c1a17(0x241)][_0x5c1a17(0xef)]?(_0x1e7f14(),_0xab384f[_0x5c1a17(0x172)]['endEmitted']&&_0xab384f[_0x5c1a17(0x174)]()):(_0x4250f0[_0x5c1a17(0x1e5)]['once'](_0x5c1a17(0x24c),function(){_0x1e7f14();}),_0x4250f0[_0x5c1a17(0x1c9)]()));},_0xab384f[_0x47d9a8(0x13f)]=function(){const _0x14e19f=_0x47d9a8;_0x4250f0[_0x14e19f(0x14e)]&&_0x4250f0[_0x14e19f(0x14b)]();},_0xab384f[_0x47d9a8(0x14c)]=function(_0x75a868,_0x3fb226,_0x2f3f44){const _0x3ee55f=_0x47d9a8;if(_0x4250f0[_0x3ee55f(0x27b)]===_0x4250f0['CONNECTING']){_0x4250f0[_0x3ee55f(0x1e8)]('open',function(){const _0xca4eae=_0x3ee55f;_0xab384f[_0xca4eae(0x14c)](_0x75a868,_0x3fb226,_0x2f3f44);});return;}_0x4250f0[_0x3ee55f(0x16b)](_0x75a868,_0x2f3f44);},_0xab384f['on'](_0x47d9a8(0x225),_0xeb45a3),_0xab384f['on'](_0x47d9a8(0x181),_0x4d21d6),_0xab384f;}return Oe=_0x3fb061,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=jt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x41a26b}=ne();function _0x24c129(_0xe8730f){const _0x4ee842=_0x52fc,_0x23bfff=new Set();let _0x2df446=-0x1,_0x2f913f=-0x1,_0xcb5987=0x0;for(_0xcb5987;_0xcb5987<_0xe8730f[_0x4ee842(0x127)];_0xcb5987++){const _0x37f383=_0xe8730f[_0x4ee842(0x17a)](_0xcb5987);if(_0x2f913f===-0x1&&_0x41a26b[_0x37f383]===0x1)_0x2df446===-0x1&&(_0x2df446=_0xcb5987);else{if(_0xcb5987!==0x0&&(_0x37f383===0x20||_0x37f383===0x9))_0x2f913f===-0x1&&_0x2df446!==-0x1&&(_0x2f913f=_0xcb5987);else{if(_0x37f383===0x2c){if(_0x2df446===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0xcb5987);_0x2f913f===-0x1&&(_0x2f913f=_0xcb5987);const _0x5ea41f=_0xe8730f[_0x4ee842(0x1b3)](_0x2df446,_0x2f913f);if(_0x23bfff[_0x4ee842(0x10f)](_0x5ea41f))throw new SyntaxError(_0x4ee842(0x186)+_0x5ea41f+_0x4ee842(0x15e));_0x23bfff[_0x4ee842(0x1a3)](_0x5ea41f),_0x2df446=_0x2f913f=-0x1;}else throw new SyntaxError(_0x4ee842(0x243)+_0xcb5987);}}}if(_0x2df446===-0x1||_0x2f913f!==-0x1)throw new SyntaxError(_0x4ee842(0x222));const _0x4de4a4=_0xe8730f[_0x4ee842(0x1b3)](_0x2df446,_0xcb5987);if(_0x23bfff['has'](_0x4de4a4))throw new SyntaxError(_0x4ee842(0x186)+_0x4de4a4+'\x22\x20subprotocol\x20is\x20duplicated');return _0x23bfff[_0x4ee842(0x1a3)](_0x4de4a4),_0x23bfff;}return Ce={'parse':_0x24c129},Ce;}var Te,ot;function er(){const _0x388f03=_0x31e0d8;if(ot)return Te;ot=0x1;const _0x4aed4b=_0x267518,_0x23e735=_0x270468,{Duplex:_0x1436f2}=_0xc32ad2,{createHash:_0xb65436}=_0x183103,_0x204e79=pt(),_0x393186=he(),_0x5f58c3=Jt(),_0x317bbd=Ie(),{GUID:_0xadac5,kWebSocket:_0x58534f}=V(),_0x5066c4=/^[+/0-9A-Za-z]{22}==$/,_0x2f0a39=0x0,_0x3025b3=0x1,_0x48ea18=0x2;class _0xc83fea extends _0x4aed4b{constructor(_0x31f55c,_0x186393){const _0x190b41=_0x52fc;if(super(),_0x31f55c={'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':_0x317bbd,..._0x31f55c},_0x31f55c[_0x190b41(0x24b)]==null&&!_0x31f55c[_0x190b41(0x193)]&&!_0x31f55c[_0x190b41(0x191)]||_0x31f55c[_0x190b41(0x24b)]!=null&&(_0x31f55c['server']||_0x31f55c[_0x190b41(0x191)])||_0x31f55c[_0x190b41(0x193)]&&_0x31f55c[_0x190b41(0x191)])throw new TypeError('One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified');if(_0x31f55c[_0x190b41(0x24b)]!=null?(this[_0x190b41(0x1eb)]=_0x23e735['createServer']((_0x37cc19,_0x4e1acd)=>{const _0x5afa17=_0x190b41,_0x22b0c4=_0x23e735[_0x5afa17(0x1c8)][0x1aa];_0x4e1acd[_0x5afa17(0x223)](0x1aa,{'Content-Length':_0x22b0c4[_0x5afa17(0x127)],'Content-Type':_0x5afa17(0xea)}),_0x4e1acd[_0x5afa17(0x225)](_0x22b0c4);}),this['_server']['listen'](_0x31f55c[_0x190b41(0x24b)],_0x31f55c[_0x190b41(0x1ba)],_0x31f55c['backlog'],_0x186393)):_0x31f55c['server']&&(this[_0x190b41(0x1eb)]=_0x31f55c['server']),this[_0x190b41(0x1eb)]){const _0x512699=this[_0x190b41(0x1d7)]['bind'](this,_0x190b41(0x12e));this[_0x190b41(0x13d)]=_0x9580b7(this[_0x190b41(0x1eb)],{'listening':this[_0x190b41(0x1d7)][_0x190b41(0x182)](this,_0x190b41(0x1ec)),'error':this[_0x190b41(0x1d7)][_0x190b41(0x182)](this,_0x190b41(0x181)),'upgrade':(_0x5e8249,_0x2a00a0,_0x5e62be)=>{const _0x45e1df=_0x190b41;this[_0x45e1df(0x1ab)](_0x5e8249,_0x2a00a0,_0x5e62be,_0x512699);}});}_0x31f55c[_0x190b41(0x276)]===!0x0&&(_0x31f55c[_0x190b41(0x276)]={}),_0x31f55c[_0x190b41(0x278)]&&(this[_0x190b41(0x1a2)]=new Set(),this[_0x190b41(0x289)]=!0x1),this[_0x190b41(0x109)]=_0x31f55c,this[_0x190b41(0x24a)]=_0x2f0a39;}[_0x388f03(0xfd)](){const _0x362fad=_0x388f03;if(this[_0x362fad(0x109)]['noServer'])throw new Error(_0x362fad(0x1cd));return this[_0x362fad(0x1eb)]?this[_0x362fad(0x1eb)][_0x362fad(0xfd)]():null;}[_0x388f03(0x1c9)](_0x54584a){const _0x1decbf=_0x388f03;if(this[_0x1decbf(0x24a)]===_0x48ea18){_0x54584a&&this[_0x1decbf(0x1e8)](_0x1decbf(0x1c9),()=>{const _0x4c9039=_0x1decbf;_0x54584a(new Error(_0x4c9039(0x1ff)));}),process['nextTick'](_0x58f6c7,this);return;}if(_0x54584a&&this[_0x1decbf(0x1e8)]('close',_0x54584a),this[_0x1decbf(0x24a)]!==_0x3025b3){if(this[_0x1decbf(0x24a)]=_0x3025b3,this[_0x1decbf(0x109)][_0x1decbf(0x191)]||this[_0x1decbf(0x109)][_0x1decbf(0x193)])this[_0x1decbf(0x1eb)]&&(this[_0x1decbf(0x13d)](),this['_removeListeners']=this[_0x1decbf(0x1eb)]=null),this[_0x1decbf(0x1a2)]?this[_0x1decbf(0x1a2)][_0x1decbf(0x1d9)]?this['_shouldEmitClose']=!0x0:process[_0x1decbf(0x132)](_0x58f6c7,this):process['nextTick'](_0x58f6c7,this);else{const _0x40c9d7=this[_0x1decbf(0x1eb)];this[_0x1decbf(0x13d)](),this[_0x1decbf(0x13d)]=this[_0x1decbf(0x1eb)]=null,_0x40c9d7[_0x1decbf(0x1c9)](()=>{_0x58f6c7(this);});}}}[_0x388f03(0x1d8)](_0x11dc92){const _0x5b12b5=_0x388f03;if(this[_0x5b12b5(0x109)]['path']){const _0x4f2cd5=_0x11dc92[_0x5b12b5(0x23e)][_0x5b12b5(0xeb)]('?');if((_0x4f2cd5!==-0x1?_0x11dc92[_0x5b12b5(0x23e)][_0x5b12b5(0x1b3)](0x0,_0x4f2cd5):_0x11dc92[_0x5b12b5(0x23e)])!==this[_0x5b12b5(0x109)][_0x5b12b5(0x285)])return!0x1;}return!0x0;}[_0x388f03(0x1ab)](_0x42b3e4,_0x33bb77,_0x43dba2,_0x37d7f3){const _0x24d267=_0x388f03;_0x33bb77['on'](_0x24d267(0x181),_0x326a78);const _0x414c40=_0x42b3e4[_0x24d267(0x1d1)]['sec-websocket-key'],_0x792054=_0x42b3e4[_0x24d267(0x1d1)][_0x24d267(0x14d)],_0x1184b4=+_0x42b3e4['headers'][_0x24d267(0x267)];if(_0x42b3e4['method']!=='GET'){_0x984e11(this,_0x42b3e4,_0x33bb77,0x195,_0x24d267(0x280));return;}if(_0x792054===void 0x0||_0x792054['toLowerCase']()!==_0x24d267(0x282)){_0x984e11(this,_0x42b3e4,_0x33bb77,0x190,_0x24d267(0x12c));return;}if(_0x414c40===void 0x0||!_0x5066c4['test'](_0x414c40)){_0x984e11(this,_0x42b3e4,_0x33bb77,0x190,_0x24d267(0x12d));return;}if(_0x1184b4!==0x8&&_0x1184b4!==0xd){_0x984e11(this,_0x42b3e4,_0x33bb77,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header');return;}if(!this['shouldHandle'](_0x42b3e4)){_0x4f1a33(_0x33bb77,0x190);return;}const _0x52f15a=_0x42b3e4['headers'][_0x24d267(0x1f0)];let _0x9862ff=new Set();if(_0x52f15a!==void 0x0)try{_0x9862ff=_0x5f58c3[_0x24d267(0x1ac)](_0x52f15a);}catch{_0x984e11(this,_0x42b3e4,_0x33bb77,0x190,'Invalid\x20Sec-WebSocket-Protocol\x20header');return;}const _0x59e849=_0x42b3e4[_0x24d267(0x1d1)][_0x24d267(0x17e)],_0x455e66={};if(this[_0x24d267(0x109)][_0x24d267(0x276)]&&_0x59e849!==void 0x0){const _0x37328b=new _0x393186(this[_0x24d267(0x109)][_0x24d267(0x276)],!0x0,this[_0x24d267(0x109)]['maxPayload']);try{const _0x334314=_0x204e79[_0x24d267(0x1ac)](_0x59e849);_0x334314[_0x393186[_0x24d267(0x1dd)]]&&(_0x37328b['accept'](_0x334314[_0x393186[_0x24d267(0x1dd)]]),_0x455e66[_0x393186[_0x24d267(0x1dd)]]=_0x37328b);}catch{_0x984e11(this,_0x42b3e4,_0x33bb77,0x190,_0x24d267(0x131));return;}}if(this[_0x24d267(0x109)][_0x24d267(0xf1)]){const _0x285eb8={'origin':_0x42b3e4[_0x24d267(0x1d1)][''+(_0x1184b4===0x8?_0x24d267(0x245):_0x24d267(0x183))],'secure':!!(_0x42b3e4[_0x24d267(0x1e0)]['authorized']||_0x42b3e4[_0x24d267(0x1e0)]['encrypted']),'req':_0x42b3e4};if(this[_0x24d267(0x109)][_0x24d267(0xf1)]['length']===0x2){this[_0x24d267(0x109)]['verifyClient'](_0x285eb8,(_0x2a94ca,_0x5b6acd,_0x2e8253,_0x346e06)=>{const _0x68c292=_0x24d267;if(!_0x2a94ca)return _0x4f1a33(_0x33bb77,_0x5b6acd||0x191,_0x2e8253,_0x346e06);this[_0x68c292(0x146)](_0x455e66,_0x414c40,_0x9862ff,_0x42b3e4,_0x33bb77,_0x43dba2,_0x37d7f3);});return;}if(!this[_0x24d267(0x109)]['verifyClient'](_0x285eb8))return _0x4f1a33(_0x33bb77,0x191);}this[_0x24d267(0x146)](_0x455e66,_0x414c40,_0x9862ff,_0x42b3e4,_0x33bb77,_0x43dba2,_0x37d7f3);}['completeUpgrade'](_0xc93a16,_0x477a79,_0x559a49,_0x42275a,_0x98d8da,_0xc9725d,_0x490119){const _0x112e14=_0x388f03;if(!_0x98d8da[_0x112e14(0x251)]||!_0x98d8da[_0x112e14(0x117)])return _0x98d8da['destroy']();if(_0x98d8da[_0x58534f])throw new Error(_0x112e14(0x219));if(this[_0x112e14(0x24a)]>_0x2f0a39)return _0x4f1a33(_0x98d8da,0x1f7);const _0xb66b33=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0x112e14(0x1c3),_0x112e14(0x203),_0x112e14(0x134)+_0xb65436('sha1')[_0x112e14(0x202)](_0x477a79+_0xadac5)[_0x112e14(0x1f7)](_0x112e14(0x255))],_0x11afa5=new this[(_0x112e14(0x109))]['WebSocket'](null,void 0x0,this[_0x112e14(0x109)]);if(_0x559a49[_0x112e14(0x1d9)]){const _0x2c3fd1=this[_0x112e14(0x109)][_0x112e14(0x27c)]?this[_0x112e14(0x109)][_0x112e14(0x27c)](_0x559a49,_0x42275a):_0x559a49[_0x112e14(0x26b)]()[_0x112e14(0x275)]()['value'];_0x2c3fd1&&(_0xb66b33['push'](_0x112e14(0x104)+_0x2c3fd1),_0x11afa5[_0x112e14(0x19b)]=_0x2c3fd1);}if(_0xc93a16[_0x393186['extensionName']]){const _0x5b84ed=_0xc93a16[_0x393186[_0x112e14(0x1dd)]][_0x112e14(0x28d)],_0x15224a=_0x204e79[_0x112e14(0x269)]({[_0x393186[_0x112e14(0x1dd)]]:[_0x5b84ed]});_0xb66b33[_0x112e14(0x254)](_0x112e14(0x111)+_0x15224a),_0x11afa5[_0x112e14(0x1db)]=_0xc93a16;}this[_0x112e14(0x1d7)]('headers',_0xb66b33,_0x42275a),_0x98d8da['write'](_0xb66b33[_0x112e14(0x15a)]('\x0d\x0a')['join']('\x0d\x0a')),_0x98d8da['removeListener']('error',_0x326a78),_0x11afa5[_0x112e14(0x169)](_0x98d8da,_0xc9725d,{'allowSynchronousEvents':this[_0x112e14(0x109)]['allowSynchronousEvents'],'maxPayload':this['options']['maxPayload'],'skipUTF8Validation':this[_0x112e14(0x109)]['skipUTF8Validation']}),this[_0x112e14(0x1a2)]&&(this[_0x112e14(0x1a2)][_0x112e14(0x1a3)](_0x11afa5),_0x11afa5['on'](_0x112e14(0x1c9),()=>{const _0x101d8e=_0x112e14;this[_0x101d8e(0x1a2)][_0x101d8e(0x284)](_0x11afa5),this['_shouldEmitClose']&&!this['clients'][_0x101d8e(0x1d9)]&&process[_0x101d8e(0x132)](_0x58f6c7,this);})),_0x490119(_0x11afa5,_0x42275a);}}Te=_0xc83fea;function _0x9580b7(_0x79a8fc,_0x435b92){const _0x143a3f=_0x388f03;for(const _0x592b3f of Object[_0x143a3f(0x273)](_0x435b92))_0x79a8fc['on'](_0x592b3f,_0x435b92[_0x592b3f]);return function(){const _0x18719e=_0x143a3f;for(const _0xce9d85 of Object[_0x18719e(0x273)](_0x435b92))_0x79a8fc[_0x18719e(0x1fe)](_0xce9d85,_0x435b92[_0xce9d85]);};}function _0x58f6c7(_0x19d9e3){const _0x10dce4=_0x388f03;_0x19d9e3['_state']=_0x48ea18,_0x19d9e3[_0x10dce4(0x1d7)]('close');}function _0x326a78(){this['destroy']();}function _0x4f1a33(_0x598329,_0x34bcaf,_0x573f69,_0x541099){const _0x58bee4=_0x388f03;_0x573f69=_0x573f69||_0x23e735[_0x58bee4(0x1c8)][_0x34bcaf],_0x541099={'Connection':'close','Content-Type':'text/html','Content-Length':Buffer[_0x58bee4(0x16f)](_0x573f69),..._0x541099},_0x598329[_0x58bee4(0x1e8)](_0x58bee4(0x24c),_0x598329[_0x58bee4(0x174)]),_0x598329[_0x58bee4(0x225)](_0x58bee4(0x1b1)+_0x34bcaf+'\x20'+_0x23e735[_0x58bee4(0x1c8)][_0x34bcaf]+'\x0d\x0a'+Object[_0x58bee4(0x273)](_0x541099)['map'](_0x2d39eb=>_0x2d39eb+':\x20'+_0x541099[_0x2d39eb])['join']('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0x573f69);}function _0x984e11(_0x562622,_0x4dca11,_0x5e23dc,_0x41a4fb,_0x57895f){const _0x2589eb=_0x388f03;if(_0x562622['listenerCount'](_0x2589eb(0xee))){const _0x2d9231=new Error(_0x57895f);Error[_0x2589eb(0x230)](_0x2d9231,_0x984e11),_0x562622['emit']('wsClientError',_0x2d9231,_0x5e23dc,_0x4dca11);}else _0x4f1a33(_0x5e23dc,_0x41a4fb,_0x57895f);}return Te;}er();var tr=Object[_0x31e0d8(0x11a)],rr=(_0x51fce3,_0x1206bd,_0x222a37,_0xa97a9f)=>{const _0x50c297=_0x31e0d8;for(var _0x48ef57=_0xa97a9f>0x1?void 0x0:_0xa97a9f?tr(_0x1206bd,_0x222a37):_0x1206bd,_0x4cc466=_0x51fce3[_0x50c297(0x127)]-0x1,_0x56950f;_0x4cc466>=0x0;_0x4cc466--)(_0x56950f=_0x51fce3[_0x4cc466])&&(_0x48ef57=_0x56950f(_0x48ef57)||_0x48ef57);return _0x48ef57;},sr=(_0x426152,_0x5a0856)=>(_0x336486,_0x605f4a)=>_0x5a0856(_0x336486,_0x605f4a,_0x426152);let Ne=class extends _0x5ea790{constructor(_0x376404){const _0x491644=_0x31e0d8;super(),this[_0x491644(0x20e)]=_0x376404;}['createSocket'](_0xac7f26){const _0x44c24b=_0x31e0d8;var _0x2d3bcb;const _0x4348ec=(_0x2d3bcb=this[_0x44c24b(0x20e)][_0x44c24b(0x162)](Be))==null?void 0x0:_0x2d3bcb[_0x44c24b(0x1af)];try{const _0x46d519=new Qt(_0xac7f26,{'headers':{..._0x4348ec}}),_0x36f2c2=new _0xf036c0();return{'URL':_0xac7f26,'close':(_0x3a12dc,_0x3675b9)=>{const _0x554df7=_0x44c24b;_0x46d519[_0x554df7(0x1c9)](_0x3a12dc,_0x3675b9),_0x36f2c2[_0x554df7(0x21d)]();},'send':_0x4908b7=>{const _0x1e5eb9=_0x44c24b;_0x46d519[_0x1e5eb9(0x16b)](_0x4908b7);},'open$':new _0x1ed798(_0x20e94d=>{const _0x1ce153=_0x44c24b,_0x306e25=_0x1eacb2=>_0x20e94d['next'](_0x1eacb2);_0x46d519[_0x1ce153(0x215)](_0x1ce153(0x22a),_0x306e25),_0x36f2c2[_0x1ce153(0x1a3)](_0x42da6e(()=>_0x46d519['removeEventListener'](_0x1ce153(0x22a),_0x306e25)));})[_0x44c24b(0x108)](_0x22a950()),'close$':new _0x1ed798(_0x42af33=>{const _0x55c8c9=_0x44c24b,_0x565dc7=_0x27eb56=>_0x42af33[_0x55c8c9(0x275)](_0x27eb56);_0x46d519[_0x55c8c9(0x215)](_0x55c8c9(0x1c9),_0x565dc7),_0x36f2c2[_0x55c8c9(0x1a3)](_0x42da6e(()=>_0x46d519[_0x55c8c9(0x235)](_0x55c8c9(0x1c9),_0x565dc7)));})[_0x44c24b(0x108)](_0x22a950()),'error$':new _0x1ed798(_0xfae50=>{const _0x228ffb=_0x44c24b,_0x697c22=_0x2da63e=>_0xfae50[_0x228ffb(0x275)](_0x2da63e);_0x46d519[_0x228ffb(0x215)](_0x228ffb(0x181),_0x697c22),_0x36f2c2[_0x228ffb(0x1a3)](_0x42da6e(()=>_0x46d519[_0x228ffb(0x235)]('error',_0x697c22)));})[_0x44c24b(0x108)](_0x22a950()),'message$':new _0x1ed798(_0x30f2ce=>{const _0xf6b34b=_0x44c24b,_0x3659b4=_0x4b7695=>_0x30f2ce['next'](_0x4b7695);_0x46d519[_0xf6b34b(0x215)](_0xf6b34b(0xe5),_0x3659b4),_0x36f2c2[_0xf6b34b(0x1a3)](_0x42da6e(()=>_0x46d519[_0xf6b34b(0x235)]('message',_0x3659b4)));})[_0x44c24b(0x108)](_0x22a950())};}catch(_0xca3836){return console[_0x44c24b(0x181)](_0xca3836),null;}}};Ne=rr([sr(0x0,_0x40c7aa)],Ne);var ir=Object[_0x31e0d8(0x1e3)],nr=Object[_0x31e0d8(0x11a)],or=(_0x2b297a,_0x390cd2,_0x54eb6e)=>_0x390cd2 in _0x2b297a?ir(_0x2b297a,_0x390cd2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x54eb6e}):_0x2b297a[_0x390cd2]=_0x54eb6e,ar=(_0x51596b,_0x4b0d30,_0x5b3a73,_0x3ab79d)=>{const _0xd033bb=_0x31e0d8;for(var _0x5bc644=_0x3ab79d>0x1?void 0x0:_0x3ab79d?nr(_0x4b0d30,_0x5b3a73):_0x4b0d30,_0x2444dc=_0x51596b[_0xd033bb(0x127)]-0x1,_0x39fa57;_0x2444dc>=0x0;_0x2444dc--)(_0x39fa57=_0x51596b[_0x2444dc])&&(_0x5bc644=_0x39fa57(_0x5bc644)||_0x5bc644);return _0x5bc644;},ke=(_0x332f03,_0x57096b)=>(_0x3407c6,_0x882eb2)=>_0x57096b(_0x3407c6,_0x882eb2,_0x332f03),lr=(_0x94be8d,_0x41acfe,_0x1120b1)=>or(_0x94be8d,_0x41acfe+'',_0x1120b1);let Pe=class extends _0x5b0127{constructor(_0xcbe1cb=Ft,_0x236493,_0x22285a,_0x371ccd){const _0x486c29=_0x31e0d8;_0xcbe1cb[_0x486c29(0x1af)]||_0x236493[_0x486c29(0x274)](_0x486c29(0x157)),super(),this['_configService']=_0x22285a,this[_0x486c29(0x263)]=_0x371ccd,this[_0x486c29(0x20e)][_0x486c29(0x240)](Be,_0xcbe1cb);}[_0x31e0d8(0x11c)](){this['_registerDependencies']();}[_0x31e0d8(0x21a)](){const _0x2d775d=_0x31e0d8;_0x114a05(this[_0x2d775d(0x263)],[[_0x5a4171,{'useClass':Ne}]]);}};lr(Pe,_0x31e0d8(0x15d),_0x31e0d8(0x1e1)),Pe=ar([_0x1f1027(_0x12fa22),ke(0x1,_0x15a41a),ke(0x2,_0x40c7aa),ke(0x3,_0x42ec29(_0xffd061))],Pe);var fr=Object[_0x31e0d8(0x11a)],cr=(_0x463dba,_0x3ca1a7,_0x1200e7,_0x1d55a0)=>{const _0x252704=_0x31e0d8;for(var _0x544863=_0x1d55a0>0x1?void 0x0:_0x1d55a0?fr(_0x3ca1a7,_0x1200e7):_0x3ca1a7,_0x16fd6c=_0x463dba[_0x252704(0x127)]-0x1,_0x38a3a1;_0x16fd6c>=0x0;_0x16fd6c--)(_0x38a3a1=_0x463dba[_0x16fd6c])&&(_0x544863=_0x38a3a1(_0x544863)||_0x544863);return _0x544863;},se=(_0x1f16d8,_0x1a010f)=>(_0x5ebd90,_0x24f44c)=>_0x1a010f(_0x5ebd90,_0x24f44c,_0x1f16d8);let at=class extends _0x57f95e{constructor(_0x9eebe7,_0x4c0231,_0x39a484,_0x49cc91,_0x23d66a){const _0x26a44e=_0x31e0d8;super(_0x9eebe7,_0x4c0231,_0x39a484,_0x49cc91,_0x23d66a);const _0x2b5940=this['_configService']['getConfig'](Be);this[_0x26a44e(0x248)][_0x26a44e(0x123)]({'interceptor':(_0x3a55ec,_0x137c80)=>{const _0x1f3749=_0x26a44e;var _0x24f772;const _0x4678e6=_0x3a55ec[_0x1f3749(0x1d1)];return(_0x24f772=_0x2b5940==null?void 0x0:_0x2b5940[_0x1f3749(0x1af)])!=null&&_0x24f772[_0x1f3749(0x22b)]&&_0x4678e6['set']('Cookie',_0x2b5940['customHeaders'][_0x1f3749(0x22b)]),_0x137c80(_0x3a55ec);}});}async[_0x31e0d8(0x149)](_0x282766){const _0x582c13=_0x31e0d8;return this[_0x582c13(0x16e)](_0x282766);}};at=cr([se(0x0,_0x42ec29(_0xffd061)),se(0x1,_0x42ec29(_0x343db5)),se(0x2,_0x40c7aa),se(0x3,_0x15a41a),se(0x4,_0x4b03c0)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};