@univerjs-pro/collaboration-client-node 0.10.12-nightly.202510221114 → 0.10.12-nightly.202510251119

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/index.js CHANGED
@@ -1 +1 @@
1
- const _0x5c7db0=_0x5161;(function(_0x34a598,_0x902df9){const _0x5a34ae=_0x5161,_0x111c5e=_0x34a598();while(!![]){try{const _0x4c9e5f=parseInt(_0x5a34ae(0x255))/0x1+-parseInt(_0x5a34ae(0x2a8))/0x2*(parseInt(_0x5a34ae(0x1bd))/0x3)+-parseInt(_0x5a34ae(0x307))/0x4+-parseInt(_0x5a34ae(0x20c))/0x5*(parseInt(_0x5a34ae(0x2fc))/0x6)+parseInt(_0x5a34ae(0x26c))/0x7*(-parseInt(_0x5a34ae(0x1d6))/0x8)+parseInt(_0x5a34ae(0x1fd))/0x9*(-parseInt(_0x5a34ae(0x1e1))/0xa)+parseInt(_0x5a34ae(0x204))/0xb;if(_0x4c9e5f===_0x902df9)break;else _0x111c5e['push'](_0x111c5e['shift']());}catch(_0x498cff){_0x111c5e['push'](_0x111c5e['shift']());}}}(_0x42e2,0xa0b9e));import{UniverCollaborationClientPlugin as _0x5d1851,CollaborationSocketService as _0x4c2323}from'@univerjs-pro/collaboration-client';import{Disposable as _0x32c81a,DisposableCollection as _0x5310f5,toDisposable as _0x234781,IConfigService as _0x4d6366,DependentOn as _0x5819a7,ILogService as _0x31921c,Inject as _0x5a533e,Injector as _0x3337e3,Plugin as _0x1cc9e9,registerDependencies as _0x3af243}from'@univerjs/core';import{ISocketService as _0x470a21,HTTPService as _0x17396e}from'@univerjs/network';import{Observable as _0x516bea,share as _0x481e54}from'rxjs';import _0x460d20 from'events';import _0x3f53a6 from'https';import _0x123ba3 from'http';function _0x5161(_0x57f12a,_0x14f16d){const _0x42e2d4=_0x42e2();return _0x5161=function(_0x5161b7,_0x45b833){_0x5161b7=_0x5161b7-0x16d;let _0x3868ca=_0x42e2d4[_0x5161b7];return _0x3868ca;},_0x5161(_0x57f12a,_0x14f16d);}import _0x4be752 from'net';import _0x1b75ba from'tls';import _0x5ac424 from'crypto';import _0x4d2870 from'stream';function _0x42e2(){const _0x12cd13=['next','conclude','timeout','invalid\x20opcode\x20','_final','error','object','binaryType','client','727528GIaTbm','finish','username','endEmitted','unshift','includes','https:','jobs','_url','generateMask','consume','value','from','port','arrayBuffer','response','pause','server_max_window_bits','_shouldEmitClose','getOwnPropertyDescriptor','stream','maxRedirects','destroyed','dispose','hasOwnProperty','clientMaxWindowBits','writeHead','connection','WS_NO_UTF_8_VALIDATE','host','readUInt16BE','_write','path','getPayloadLength64','kByteLength','createServer','\x22\x20must\x20have\x20only\x20a\x20single\x20value','protocolVersion','autoPong','objectMode','kReason','add','noServer','Unexpected\x20end\x20of\x20input','readUInt32BE','Server\x20sent\x20an\x20invalid\x20subprotocol','_binaryType','status-code','_buffers','_originalHostOrSocketPath','WS_ERR_INVALID_OPCODE','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','_skipUTF8Validation','pluginName','unmask','kError','create','offer','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','_redirects','_inflate','HTTP/1.1\x20','pow','_generateMask','password','controlMessage','skipUTF8Validation','callback','wasClean','toString','opcode','Module','byteLength','pathname','startsWith','finished','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','normalizeParams','values','server','emitClose','addEventListener','_extensions','forEach','_max_window_bits','Max\x20payload\x20size\x20exceeded','_closeMessage','pong','listenerCount','FIN\x20must\x20be\x20set','constructor','call','params','zlibDeflateOptions','client_no_context_takeover','_masked','test','customHeaders','_isServer','_loop','_closeFrameReceived','Sec-WebSocket-Protocol:\x20','ping','handleUpgrade','Maximum\x20redirects\x20exceeded','origin','text/plain','WebSocket','finishRequest','maskBuffer','map','function','createError','_readableState','has','onStarting','551040aMYGUJ','_doCreateSocket','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','apply','socketPath','WS_ERR_INVALID_UTF8','defaultPort','_closeTimer','acceptAsServer','nextTick','Invalid\x20value\x20for\x20parameter\x20\x22','isView','construct','_payloadLength','toStringTag','\x22\x20subprotocol\x20is\x20duplicated','_originalSecure','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','allocUnsafe','Invalid\x20WebSocket\x20frame:\x20','_options','_threshold','threshold','_bufferedAmount','_closeCode','25248WljmcE','_autoPong','_mask','createInflateRaw','kRun','clients','sec-websocket-extensions','keys','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','Blob','63790pbmwmb','_maskBuffer','serverMaxWindowBits','writeUInt16BE','WS_ERR_UNEXPECTED_RSV_2_3','base64','sec-websocket-origin','data','extensionName','The\x20URL\x27s\x20pathname\x20is\x20empty','code','_deflate','verifyClient','_allowSynchronousEvents','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','The\x20URL\x20contains\x20a\x20fragment\x20identifier','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','reset','Upgrade','rsv1','Z_DEFAULT_WINDOWBITS','\x22:\x20','flush','string','Sec-WebSocket-Origin','sec-websocket-key','charCodeAt','listening','666kDtVoD','end','freeze','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','invalid\x20payload\x20length\x20','_messageLength','startLoop','39484588ypkloP','species','Invalid\x20HTTP\x20method','digest','fin','replace','maxPayload','writeUIntBE','693960ePhULt','toLowerCase','createConnection','getMask','concat','shift','_server','GET','authorized','address','enqueue','isValidUTF8','getBlobData','prototype','onclose','server_no_context_takeover','getInfo','listen','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','onopen','_configService','request','removeListener','extensions','WS_ERR_EXPECTED_MASK','_maxPayload','slice','defineProperty','Invalid\x20URL:\x20','sec-websocket-accept','emit','length','MASK\x20must\x20be\x20clear','websocket','_socket','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','compress','_receiver','search','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','_firstFragment','message','readyState','haveLength','_opcode','join','_closeFrameSent','wsClientError','setNoDelay','handleEvent','HTTP/1.1\x20101\x20Switching\x20Protocols','terminate','_injector','_compress','binary','indexOf','_compressed','nodebuffer','OPEN','close','CONNECTING','kMessage','getConfig','setConfig','buffer','invalid\x20UTF-8\x20sequence','Origin','_readyState','_fin','errorEmitted','createDeflateRaw','invalid\x20status\x20code\x20','_decompress','1056254aRHrbh','arraybuffer','_req','WS_ERR_UNEXPECTED_RSV_1','text/html','frame','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','completeUpgrade','authorization','href','resume','Basic\x20','needDrain','WS_ERR_UNEXPECTED_MASK','shouldHandle','drain','setTimeout','Sec-WebSocket-Extensions:\x20','send','decompress','dataMessage','size','_destroy','2387nxXfDR','sendFrame','exports','ws:','Unexpected\x20character\x20at\x20index\x20','catch','\x0d\x0a\x0d\x0a','concurrency','hash','wss:','clientTracking','then','kAborted','cookie','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','isArray','setSocket','cork','_totalPayloadLength','upgrade','isPaused','destroy','bufferedAmount','onerror','readOnly','target','number','_bufferedBytes','clientNoContextTakeover','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','protocol','open','The\x20server\x20is\x20not\x20running','parse','alloc','serverNoContextTakeover','headers','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','write','Opening\x20handshake\x20has\x20timed\x20out','_sender','kCode','client_max_window_bits','captureStackTrace','Server\x20sent\x20no\x20subprotocol','getPayloadLength16','abort','split','WebSocket\x20is\x20not\x20open:\x20readyState\x20','cleanup','_writableState','ws+unix:','_httpService','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','statusCode','handleProtocols','_removeListeners','The\x20\x22','connect','handshakeTimeout','14BcTVtV','unexpected-response','removeEventListener','dispatch','auth','kData','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','once','delete','onmessage','invalid\x20opcode\x200','http:','followRedirects','WS_ERR_INVALID_CLOSE_CODE','kType','_errorEmitted','update','Upgrade:\x20websocket','Unexpected\x20server\x20response:\x20','socket','Unsupported\x20protocol\x20version:\x20','_fragments','permessage-deflate','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','getData','_no_context_takeover','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','_originalIpc','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','type','backlog','createSocket','_queue','CLOSED','set','method','uncork','read','registerHTTPInterceptor','encrypted','_paused','redirect','entries','mask','removeAllListeners','reason','STATUS_CODES','pending','readable','sec-websocket-version','fragments','bind','blob','Sec-WebSocket-Protocol','CLOSING','push','Sec-WebSocket-Extensions','listeners','_registerDependencies','pipe','_fragmented','dequeue','default','_errored','url','allowSynchronousEvents','_state','RSV1\x20must\x20be\x20clear','accept','__esModule','isInteger','sha1','_protocol','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','byteOffset','servername','perMessageDeflate','Invalid\x20Upgrade\x20header','options','acceptAsClient','kIsForOnEventAttribute','hostname','WS_ERR_EXPECTED_FIN','Invalid\x20Sec-WebSocket-Protocol\x20header','42BNwiDc','Cookie'];_0x42e2=function(){return _0x12cd13;};return _0x42e2();}import _0x94c963 from'url';import _0x75889e from'zlib';import _0x3bf584 from'buffer';import{ISnapshotServerService as _0x8fa9ac}from'@univerjs-pro/collaboration';const Be='collaboration-client-node.config',Ft={'customHeaders':{}};function Wt(_0x39d66f){const _0x198a5a=_0x5161;return _0x39d66f&&_0x39d66f[_0x198a5a(0x2ed)]&&Object[_0x198a5a(0x219)][_0x198a5a(0x31f)]['call'](_0x39d66f,'default')?_0x39d66f['default']:_0x39d66f;}function ut(_0x2b720f){const _0x9fe6b5=_0x5161;if(Object[_0x9fe6b5(0x219)]['hasOwnProperty'][_0x9fe6b5(0x1a4)](_0x2b720f,'__esModule'))return _0x2b720f;var _0x34326e=_0x2b720f[_0x9fe6b5(0x2e6)];if(typeof _0x34326e==_0x9fe6b5(0x1b8)){var _0x3e2843=function _0x56b2e3(){const _0x2ff00b=_0x9fe6b5;var _0x1e541d=!0x1;try{_0x1e541d=this instanceof _0x56b2e3;}catch{}return _0x1e541d?Reflect[_0x2ff00b(0x1c9)](_0x34326e,arguments,this[_0x2ff00b(0x1a3)]):_0x34326e['apply'](this,arguments);};_0x3e2843['prototype']=_0x34326e[_0x9fe6b5(0x219)];}else _0x3e2843={};return Object['defineProperty'](_0x3e2843,_0x9fe6b5(0x2ed),{'value':!0x0}),Object[_0x9fe6b5(0x1dd)](_0x2b720f)[_0x9fe6b5(0x19c)](function(_0x11329e){const _0x1b104b=_0x9fe6b5;var _0x53e952=Object[_0x1b104b(0x31a)](_0x2b720f,_0x11329e);Object[_0x1b104b(0x227)](_0x3e2843,_0x11329e,_0x53e952['get']?_0x53e952:{'enumerable':!0x0,'get':function(){return _0x2b720f[_0x11329e];}});}),_0x3e2843;}var te={'exports':{}},ge,Ye;function V(){const _0x4a36e8=_0x5161;if(Ye)return ge;Ye=0x1;const _0x24a73d=[_0x4a36e8(0x245),_0x4a36e8(0x256),_0x4a36e8(0x2da)],_0x46e5d5=typeof Blob<'u';return _0x46e5d5&&_0x24a73d[_0x4a36e8(0x2df)](_0x4a36e8(0x2dc)),ge={'BINARY_TYPES':_0x24a73d,'EMPTY_BUFFER':Buffer[_0x4a36e8(0x28e)](0x0),'GUID':_0x4a36e8(0x291),'hasBlob':_0x46e5d5,'kForOnEventAttribute':Symbol(_0x4a36e8(0x2f8)),'kListener':Symbol('kListener'),'kStatusCode':Symbol(_0x4a36e8(0x178)),'kWebSocket':Symbol(_0x4a36e8(0x22d)),'NOOP':()=>{}},ge;}const jt={},Gt=Object[_0x5c7db0(0x1ff)](Object[_0x5c7db0(0x227)]({'__proto__':null,'default':jt},Symbol[_0x5c7db0(0x1cb)],{'value':_0x5c7db0(0x190)})),Vt=ut(Gt);var Ke;function ce(){const _0x144496=_0x5c7db0;if(Ke)return te[_0x144496(0x26e)];Ke=0x1;const {EMPTY_BUFFER:_0x4bc655}=V(),_0x1c47a0=Buffer[Symbol[_0x144496(0x205)]];function _0x3df68b(_0x5e36f1,_0x265279){const _0x37e39d=_0x144496;if(_0x5e36f1[_0x37e39d(0x22b)]===0x0)return _0x4bc655;if(_0x5e36f1['length']===0x1)return _0x5e36f1[0x0];const _0x27959d=Buffer[_0x37e39d(0x1cf)](_0x265279);let _0x376717=0x0;for(let _0x45bf9a=0x0;_0x45bf9a<_0x5e36f1[_0x37e39d(0x22b)];_0x45bf9a++){const _0x14eacd=_0x5e36f1[_0x45bf9a];_0x27959d[_0x37e39d(0x2ca)](_0x14eacd,_0x376717),_0x376717+=_0x14eacd[_0x37e39d(0x22b)];}return _0x376717<_0x265279?new _0x1c47a0(_0x27959d[_0x37e39d(0x24c)],_0x27959d[_0x37e39d(0x2f2)],_0x376717):_0x27959d;}function _0x17e5fc(_0xb5da9d,_0x5af392,_0x1787e0,_0xd0367d,_0x4501a0){for(let _0x57ce9d=0x0;_0x57ce9d<_0x4501a0;_0x57ce9d++)_0x1787e0[_0xd0367d+_0x57ce9d]=_0xb5da9d[_0x57ce9d]^_0x5af392[_0x57ce9d&0x3];}function _0xa29008(_0x210309,_0xb2032f){const _0x15d782=_0x144496;for(let _0x57fe16=0x0;_0x57fe16<_0x210309[_0x15d782(0x22b)];_0x57fe16++)_0x210309[_0x57fe16]^=_0xb2032f[_0x57fe16&0x3];}function _0x3a1428(_0x1f4562){const _0x5a60cc=_0x144496;return _0x1f4562['length']===_0x1f4562[_0x5a60cc(0x24c)][_0x5a60cc(0x191)]?_0x1f4562[_0x5a60cc(0x24c)]:_0x1f4562['buffer']['slice'](_0x1f4562['byteOffset'],_0x1f4562[_0x5a60cc(0x2f2)]+_0x1f4562[_0x5a60cc(0x22b)]);}function _0x3fa480(_0x31f068){const _0x4f6f85=_0x144496;if(_0x3fa480['readOnly']=!0x0,Buffer['isBuffer'](_0x31f068))return _0x31f068;let _0x22b4f2;return _0x31f068 instanceof ArrayBuffer?_0x22b4f2=new _0x1c47a0(_0x31f068):ArrayBuffer[_0x4f6f85(0x1c8)](_0x31f068)?_0x22b4f2=new _0x1c47a0(_0x31f068[_0x4f6f85(0x24c)],_0x31f068[_0x4f6f85(0x2f2)],_0x31f068[_0x4f6f85(0x191)]):(_0x22b4f2=Buffer[_0x4f6f85(0x313)](_0x31f068),_0x3fa480[_0x4f6f85(0x284)]=!0x1),_0x22b4f2;}if(te[_0x144496(0x26e)]={'concat':_0x3df68b,'mask':_0x17e5fc,'toArrayBuffer':_0x3a1428,'toBuffer':_0x3fa480,'unmask':_0xa29008},!process['env']['WS_NO_BUFFER_UTIL'])try{const _0x589e19=Vt;te[_0x144496(0x26e)][_0x144496(0x2d3)]=function(_0xe39d1c,_0x460950,_0x5df087,_0x5eb59f,_0x2fbba0){const _0x2808ad=_0x144496;_0x2fbba0<0x30?_0x17e5fc(_0xe39d1c,_0x460950,_0x5df087,_0x5eb59f,_0x2fbba0):_0x589e19[_0x2808ad(0x2d3)](_0xe39d1c,_0x460950,_0x5df087,_0x5eb59f,_0x2fbba0);},te[_0x144496(0x26e)][_0x144496(0x17f)]=function(_0x169fbe,_0x29d748){const _0x421c87=_0x144496;_0x169fbe['length']<0x20?_0xa29008(_0x169fbe,_0x29d748):_0x589e19[_0x421c87(0x17f)](_0x169fbe,_0x29d748);};}catch{}return te[_0x144496(0x26e)];}var ye,Xe;function qt(){const _0x35fe2b=_0x5c7db0;if(Xe)return ye;Xe=0x1;const _0x14ceda=Symbol('kDone'),_0x3cca7a=Symbol(_0x35fe2b(0x1da));class _0x409eae{constructor(_0x51fec7){const _0x2492e3=_0x35fe2b;this[_0x14ceda]=()=>{const _0x16597e=_0x5161;this[_0x16597e(0x2d7)]--,this[_0x3cca7a]();},this[_0x2492e3(0x273)]=_0x51fec7||0x1/0x0,this['jobs']=[],this[_0x2492e3(0x2d7)]=0x0;}[_0x35fe2b(0x172)](_0x1340cc){const _0x342939=_0x35fe2b;this[_0x342939(0x30e)][_0x342939(0x2df)](_0x1340cc),this[_0x3cca7a]();}[_0x3cca7a](){const _0x4e68df=_0x35fe2b;if(this[_0x4e68df(0x2d7)]!==this[_0x4e68df(0x273)]&&this[_0x4e68df(0x30e)]['length']){const _0x50056f=this['jobs']['shift']();this[_0x4e68df(0x2d7)]++,_0x50056f(this[_0x14ceda]);}}}return ye=_0x409eae,ye;}var ve,Ze;function he(){const _0x59af9d=_0x5c7db0;if(Ze)return ve;Ze=0x1;const _0x1c5420=_0x75889e,_0x5e4e61=ce(),_0xf56485=qt(),{kStatusCode:_0x51e2f3}=V(),_0x35ef98=Buffer[Symbol[_0x59af9d(0x205)]],_0xad1773=Buffer['from']([0x0,0x0,0xff,0xff]),_0x21f4a9=Symbol('permessage-deflate'),_0x2d2a5f=Symbol('total-length'),_0x4cc759=Symbol(_0x59af9d(0x18c)),_0x788c23=Symbol('buffers'),_0x3e6bff=Symbol('error');let _0x4cafc7;class _0x7a0812{constructor(_0x5e92eb,_0x1be80d,_0x287ac5){const _0x4d2925=_0x59af9d;if(this[_0x4d2925(0x225)]=_0x287ac5|0x0,this[_0x4d2925(0x1d1)]=_0x5e92eb||{},this[_0x4d2925(0x1d2)]=this[_0x4d2925(0x1d1)][_0x4d2925(0x1d3)]!==void 0x0?this[_0x4d2925(0x1d1)]['threshold']:0x400,this['_isServer']=!!_0x1be80d,this[_0x4d2925(0x1ec)]=null,this[_0x4d2925(0x185)]=null,this[_0x4d2925(0x1a5)]=null,!_0x4cafc7){const _0x3c9833=this['_options']['concurrencyLimit']!==void 0x0?this['_options']['concurrencyLimit']:0xa;_0x4cafc7=new _0xf56485(_0x3c9833);}}static get[_0x59af9d(0x1e9)](){const _0x954624=_0x59af9d;return _0x954624(0x2be);}[_0x59af9d(0x182)](){const _0x41e1d8=_0x59af9d,_0xea7ae8={};return this[_0x41e1d8(0x1d1)][_0x41e1d8(0x28f)]&&(_0xea7ae8[_0x41e1d8(0x21b)]=!0x0),this[_0x41e1d8(0x1d1)][_0x41e1d8(0x288)]&&(_0xea7ae8[_0x41e1d8(0x1a7)]=!0x0),this[_0x41e1d8(0x1d1)][_0x41e1d8(0x1e3)]&&(_0xea7ae8[_0x41e1d8(0x318)]=this['_options'][_0x41e1d8(0x1e3)]),this[_0x41e1d8(0x1d1)][_0x41e1d8(0x320)]?_0xea7ae8[_0x41e1d8(0x296)]=this[_0x41e1d8(0x1d1)]['clientMaxWindowBits']:this[_0x41e1d8(0x1d1)][_0x41e1d8(0x320)]==null&&(_0xea7ae8[_0x41e1d8(0x296)]=!0x0),_0xea7ae8;}[_0x59af9d(0x2ec)](_0x3ed657){const _0x303c02=_0x59af9d;return _0x3ed657=this[_0x303c02(0x196)](_0x3ed657),this[_0x303c02(0x1a5)]=this['_isServer']?this[_0x303c02(0x1c5)](_0x3ed657):this[_0x303c02(0x2f7)](_0x3ed657),this[_0x303c02(0x1a5)];}[_0x59af9d(0x29d)](){const _0x183705=_0x59af9d;if(this[_0x183705(0x185)]&&(this[_0x183705(0x185)][_0x183705(0x247)](),this[_0x183705(0x185)]=null),this['_deflate']){const _0x4e86bf=this[_0x183705(0x1ec)][_0x4cc759];this['_deflate'][_0x183705(0x247)](),this['_deflate']=null,_0x4e86bf&&_0x4e86bf(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}['acceptAsServer'](_0x335970){const _0x12703a=_0x59af9d,_0x2ecd6b=this['_options'],_0x3a2eaa=_0x335970['find'](_0x166edd=>!(_0x2ecd6b[_0x12703a(0x28f)]===!0x1&&_0x166edd[_0x12703a(0x21b)]||_0x166edd[_0x12703a(0x318)]&&(_0x2ecd6b['serverMaxWindowBits']===!0x1||typeof _0x2ecd6b[_0x12703a(0x1e3)]=='number'&&_0x2ecd6b[_0x12703a(0x1e3)]>_0x166edd[_0x12703a(0x318)])||typeof _0x2ecd6b[_0x12703a(0x320)]==_0x12703a(0x286)&&!_0x166edd[_0x12703a(0x296)]));if(!_0x3a2eaa)throw new Error('None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted');return _0x2ecd6b['serverNoContextTakeover']&&(_0x3a2eaa[_0x12703a(0x21b)]=!0x0),_0x2ecd6b['clientNoContextTakeover']&&(_0x3a2eaa[_0x12703a(0x1a7)]=!0x0),typeof _0x2ecd6b[_0x12703a(0x1e3)]==_0x12703a(0x286)&&(_0x3a2eaa['server_max_window_bits']=_0x2ecd6b['serverMaxWindowBits']),typeof _0x2ecd6b[_0x12703a(0x320)]==_0x12703a(0x286)?_0x3a2eaa[_0x12703a(0x296)]=_0x2ecd6b[_0x12703a(0x320)]:(_0x3a2eaa[_0x12703a(0x296)]===!0x0||_0x2ecd6b[_0x12703a(0x320)]===!0x1)&&delete _0x3a2eaa[_0x12703a(0x296)],_0x3a2eaa;}[_0x59af9d(0x2f7)](_0x221b9d){const _0x1d3c29=_0x59af9d,_0x16d617=_0x221b9d[0x0];if(this['_options'][_0x1d3c29(0x288)]===!0x1&&_0x16d617[_0x1d3c29(0x1a7)])throw new Error(_0x1d3c29(0x1ef));if(!_0x16d617[_0x1d3c29(0x296)])typeof this['_options'][_0x1d3c29(0x320)]==_0x1d3c29(0x286)&&(_0x16d617[_0x1d3c29(0x296)]=this['_options']['clientMaxWindowBits']);else{if(this['_options'][_0x1d3c29(0x320)]===!0x1||typeof this['_options']['clientMaxWindowBits']==_0x1d3c29(0x286)&&_0x16d617[_0x1d3c29(0x296)]>this[_0x1d3c29(0x1d1)][_0x1d3c29(0x320)])throw new Error(_0x1d3c29(0x233));}return _0x16d617;}[_0x59af9d(0x196)](_0x19724a){return _0x19724a['forEach'](_0x48cb71=>{const _0x5824fa=_0x5161;Object['keys'](_0x48cb71)[_0x5824fa(0x19c)](_0x419340=>{const _0x4bf7fb=_0x5824fa;let _0x1caabf=_0x48cb71[_0x419340];if(_0x1caabf['length']>0x1)throw new Error('Parameter\x20\x22'+_0x419340+_0x4bf7fb(0x16d));if(_0x1caabf=_0x1caabf[0x0],_0x419340===_0x4bf7fb(0x296)){if(_0x1caabf!==!0x0){const _0x96d37d=+_0x1caabf;if(!Number[_0x4bf7fb(0x2ee)](_0x96d37d)||_0x96d37d<0x8||_0x96d37d>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x419340+_0x4bf7fb(0x1f6)+_0x1caabf);_0x1caabf=_0x96d37d;}else{if(!this[_0x4bf7fb(0x1ab)])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x419340+_0x4bf7fb(0x1f6)+_0x1caabf);}}else{if(_0x419340===_0x4bf7fb(0x318)){const _0x5f33c9=+_0x1caabf;if(!Number[_0x4bf7fb(0x2ee)](_0x5f33c9)||_0x5f33c9<0x8||_0x5f33c9>0xf)throw new TypeError(_0x4bf7fb(0x1c7)+_0x419340+_0x4bf7fb(0x1f6)+_0x1caabf);_0x1caabf=_0x5f33c9;}else{if(_0x419340===_0x4bf7fb(0x1a7)||_0x419340===_0x4bf7fb(0x21b)){if(_0x1caabf!==!0x0)throw new TypeError(_0x4bf7fb(0x1c7)+_0x419340+'\x22:\x20'+_0x1caabf);}else throw new Error('Unknown\x20parameter\x20\x22'+_0x419340+'\x22');}}_0x48cb71[_0x419340]=_0x1caabf;});}),_0x19724a;}[_0x59af9d(0x268)](_0x427949,_0x41a896,_0x3828c6){_0x4cafc7['add'](_0x46e39a=>{this['_decompress'](_0x427949,_0x41a896,(_0x2f1992,_0x267c7e)=>{_0x46e39a(),_0x3828c6(_0x2f1992,_0x267c7e);});});}[_0x59af9d(0x230)](_0x32bb22,_0x5cfcce,_0x223cd9){const _0x4b723e=_0x59af9d;_0x4cafc7[_0x4b723e(0x172)](_0x57c787=>{const _0x4942b3=_0x4b723e;this[_0x4942b3(0x241)](_0x32bb22,_0x5cfcce,(_0x538c54,_0x24b505)=>{_0x57c787(),_0x223cd9(_0x538c54,_0x24b505);});});}[_0x59af9d(0x254)](_0x5b8735,_0x1cf7c2,_0x13b521){const _0x39bee1=_0x59af9d,_0x16b9b5=this['_isServer']?_0x39bee1(0x306):_0x39bee1(0x198);if(!this[_0x39bee1(0x185)]){const _0x5ac89a=_0x16b9b5+_0x39bee1(0x19d),_0xd0ead9=typeof this['params'][_0x5ac89a]!=_0x39bee1(0x286)?_0x1c5420['Z_DEFAULT_WINDOWBITS']:this[_0x39bee1(0x1a5)][_0x5ac89a];this[_0x39bee1(0x185)]=_0x1c5420[_0x39bee1(0x1d9)]({...this[_0x39bee1(0x1d1)]['zlibInflateOptions'],'windowBits':_0xd0ead9}),this[_0x39bee1(0x185)][_0x21f4a9]=this,this[_0x39bee1(0x185)][_0x2d2a5f]=0x0,this[_0x39bee1(0x185)][_0x788c23]=[],this[_0x39bee1(0x185)]['on'](_0x39bee1(0x303),_0x54e33d),this[_0x39bee1(0x185)]['on'](_0x39bee1(0x1e8),_0x1da696);}this[_0x39bee1(0x185)][_0x4cc759]=_0x13b521,this[_0x39bee1(0x185)][_0x39bee1(0x292)](_0x5b8735),_0x1cf7c2&&this[_0x39bee1(0x185)][_0x39bee1(0x292)](_0xad1773),this[_0x39bee1(0x185)][_0x39bee1(0x1f7)](()=>{const _0x263514=_0x39bee1,_0x2860f2=this['_inflate'][_0x3e6bff];if(_0x2860f2){this['_inflate'][_0x263514(0x247)](),this[_0x263514(0x185)]=null,_0x13b521(_0x2860f2);return;}const _0x25a0de=_0x5e4e61['concat'](this[_0x263514(0x185)][_0x788c23],this[_0x263514(0x185)][_0x2d2a5f]);this[_0x263514(0x185)][_0x263514(0x1ba)][_0x263514(0x30a)]?(this[_0x263514(0x185)][_0x263514(0x247)](),this['_inflate']=null):(this['_inflate'][_0x2d2a5f]=0x0,this[_0x263514(0x185)][_0x788c23]=[],_0x1cf7c2&&this[_0x263514(0x1a5)][_0x16b9b5+_0x263514(0x2c1)]&&this[_0x263514(0x185)][_0x263514(0x1f2)]()),_0x13b521(null,_0x25a0de);});}[_0x59af9d(0x241)](_0x36b673,_0x32f48e,_0x35c998){const _0x2f1940=_0x59af9d,_0x4b22be=this[_0x2f1940(0x1ab)]?_0x2f1940(0x198):_0x2f1940(0x306);if(!this['_deflate']){const _0x1332c1=_0x4b22be+_0x2f1940(0x19d),_0x1b788b=typeof this[_0x2f1940(0x1a5)][_0x1332c1]!=_0x2f1940(0x286)?_0x1c5420[_0x2f1940(0x1f5)]:this['params'][_0x1332c1];this[_0x2f1940(0x1ec)]=_0x1c5420[_0x2f1940(0x252)]({...this[_0x2f1940(0x1d1)][_0x2f1940(0x1a6)],'windowBits':_0x1b788b}),this[_0x2f1940(0x1ec)][_0x2d2a5f]=0x0,this[_0x2f1940(0x1ec)][_0x788c23]=[],this[_0x2f1940(0x1ec)]['on']('data',_0x19a82d);}this[_0x2f1940(0x1ec)][_0x4cc759]=_0x35c998,this[_0x2f1940(0x1ec)][_0x2f1940(0x292)](_0x36b673),this['_deflate'][_0x2f1940(0x1f7)](_0x1c5420['Z_SYNC_FLUSH'],()=>{const _0x3edcec=_0x2f1940;if(!this['_deflate'])return;let _0x4ee07f=_0x5e4e61['concat'](this[_0x3edcec(0x1ec)][_0x788c23],this[_0x3edcec(0x1ec)][_0x2d2a5f]);_0x32f48e&&(_0x4ee07f=new _0x35ef98(_0x4ee07f[_0x3edcec(0x24c)],_0x4ee07f['byteOffset'],_0x4ee07f[_0x3edcec(0x22b)]-0x4)),this['_deflate'][_0x4cc759]=null,this[_0x3edcec(0x1ec)][_0x2d2a5f]=0x0,this[_0x3edcec(0x1ec)][_0x788c23]=[],_0x32f48e&&this[_0x3edcec(0x1a5)][_0x4b22be+_0x3edcec(0x2c1)]&&this[_0x3edcec(0x1ec)][_0x3edcec(0x1f2)](),_0x35c998(null,_0x4ee07f);});}}ve=_0x7a0812;function _0x19a82d(_0x24ffd8){const _0x3613c5=_0x59af9d;this[_0x788c23][_0x3613c5(0x2df)](_0x24ffd8),this[_0x2d2a5f]+=_0x24ffd8[_0x3613c5(0x22b)];}function _0x1da696(_0x2aaa7b){const _0x1bafd2=_0x59af9d;if(this[_0x2d2a5f]+=_0x2aaa7b[_0x1bafd2(0x22b)],this[_0x21f4a9][_0x1bafd2(0x225)]<0x1||this[_0x2d2a5f]<=this[_0x21f4a9][_0x1bafd2(0x225)]){this[_0x788c23]['push'](_0x2aaa7b);return;}this[_0x3e6bff]=new RangeError('Max\x20payload\x20size\x20exceeded'),this[_0x3e6bff]['code']='WS_ERR_UNSUPPORTED_MESSAGE_LENGTH',this[_0x3e6bff][_0x51e2f3]=0x3f1,this[_0x1bafd2(0x222)](_0x1bafd2(0x1e8),_0x1da696),this[_0x1bafd2(0x1f2)]();}function _0x54e33d(_0x5eeacb){if(this[_0x21f4a9]['_inflate']=null,this[_0x3e6bff]){this[_0x4cc759](this[_0x3e6bff]);return;}_0x5eeacb[_0x51e2f3]=0x3ef,this[_0x4cc759](_0x5eeacb);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x5c7db0(0x1ff)](Object[_0x5c7db0(0x227)]({'__proto__':null,'default':Ht},Symbol[_0x5c7db0(0x1cb)],{'value':_0x5c7db0(0x190)})),Yt=ut(zt);var Qe;function ne(){const _0x161461=_0x5c7db0;if(Qe)return re[_0x161461(0x26e)];Qe=0x1;const {isUtf8:_0x456fc6}=_0x3bf584,{hasBlob:_0x51b620}=V(),_0x3b8809=[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 _0x5b81f5(_0x291d89){return _0x291d89>=0x3e8&&_0x291d89<=0x3f6&&_0x291d89!==0x3ec&&_0x291d89!==0x3ed&&_0x291d89!==0x3ee||_0x291d89>=0xbb8&&_0x291d89<=0x1387;}function _0x1ae0ac(_0x113dba){const _0x385f4f=_0x161461,_0x1eb8c3=_0x113dba[_0x385f4f(0x22b)];let _0x4a4a52=0x0;for(;_0x4a4a52<_0x1eb8c3;)if((_0x113dba[_0x4a4a52]&0x80)===0x0)_0x4a4a52++;else{if((_0x113dba[_0x4a4a52]&0xe0)===0xc0){if(_0x4a4a52+0x1===_0x1eb8c3||(_0x113dba[_0x4a4a52+0x1]&0xc0)!==0x80||(_0x113dba[_0x4a4a52]&0xfe)===0xc0)return!0x1;_0x4a4a52+=0x2;}else{if((_0x113dba[_0x4a4a52]&0xf0)===0xe0){if(_0x4a4a52+0x2>=_0x1eb8c3||(_0x113dba[_0x4a4a52+0x1]&0xc0)!==0x80||(_0x113dba[_0x4a4a52+0x2]&0xc0)!==0x80||_0x113dba[_0x4a4a52]===0xe0&&(_0x113dba[_0x4a4a52+0x1]&0xe0)===0x80||_0x113dba[_0x4a4a52]===0xed&&(_0x113dba[_0x4a4a52+0x1]&0xe0)===0xa0)return!0x1;_0x4a4a52+=0x3;}else{if((_0x113dba[_0x4a4a52]&0xf8)===0xf0){if(_0x4a4a52+0x3>=_0x1eb8c3||(_0x113dba[_0x4a4a52+0x1]&0xc0)!==0x80||(_0x113dba[_0x4a4a52+0x2]&0xc0)!==0x80||(_0x113dba[_0x4a4a52+0x3]&0xc0)!==0x80||_0x113dba[_0x4a4a52]===0xf0&&(_0x113dba[_0x4a4a52+0x1]&0xf0)===0x80||_0x113dba[_0x4a4a52]===0xf4&&_0x113dba[_0x4a4a52+0x1]>0x8f||_0x113dba[_0x4a4a52]>0xf4)return!0x1;_0x4a4a52+=0x4;}else return!0x1;}}}return!0x0;}function _0x2909be(_0xcc9fbd){const _0x21414d=_0x161461;return _0x51b620&&typeof _0xcc9fbd==_0x21414d(0x304)&&typeof _0xcc9fbd[_0x21414d(0x315)]==_0x21414d(0x1b8)&&typeof _0xcc9fbd[_0x21414d(0x2c5)]==_0x21414d(0x1f8)&&typeof _0xcc9fbd[_0x21414d(0x31b)]==_0x21414d(0x1b8)&&(_0xcc9fbd[Symbol[_0x21414d(0x1cb)]]===_0x21414d(0x1e0)||_0xcc9fbd[Symbol[_0x21414d(0x1cb)]]==='File');}if(re[_0x161461(0x26e)]={'isBlob':_0x2909be,'isValidStatusCode':_0x5b81f5,'isValidUTF8':_0x1ae0ac,'tokenChars':_0x3b8809},_0x456fc6)re[_0x161461(0x26e)][_0x161461(0x217)]=function(_0x348549){const _0x313767=_0x161461;return _0x348549[_0x313767(0x22b)]<0x18?_0x1ae0ac(_0x348549):_0x456fc6(_0x348549);};else{if(!process['env'][_0x161461(0x323)])try{const _0x329f65=Yt;re[_0x161461(0x26e)][_0x161461(0x217)]=function(_0x1d111d){return _0x1d111d['length']<0x20?_0x1ae0ac(_0x1d111d):_0x329f65(_0x1d111d);};}catch{}}return re['exports'];}var Se,Je;function dt(){const _0x154512=_0x5c7db0;if(Je)return Se;Je=0x1;const {Writable:_0x300bb7}=_0x4d2870,_0xee5073=he(),{BINARY_TYPES:_0x3b4357,EMPTY_BUFFER:_0x2c579c,kStatusCode:_0x1afd53,kWebSocket:_0x5aeda0}=V(),{concat:_0x4ddc8,toArrayBuffer:_0x199f03,unmask:_0x3a7982}=ce(),{isValidStatusCode:_0x1b1f89,isValidUTF8:_0x9ab3cb}=ne(),_0x5f0d69=Buffer[Symbol[_0x154512(0x205)]],_0xdc1b59=0x0,_0x116ab0=0x1,_0x507804=0x2,_0x55978d=0x3,_0x244f6b=0x4,_0x400af2=0x5,_0x2d76af=0x6;class _0x1ac911 extends _0x300bb7{constructor(_0xf5acc8={}){const _0x380b3c=_0x154512;super(),this[_0x380b3c(0x1ee)]=_0xf5acc8[_0x380b3c(0x2e9)]!==void 0x0?_0xf5acc8[_0x380b3c(0x2e9)]:!0x0,this[_0x380b3c(0x177)]=_0xf5acc8[_0x380b3c(0x305)]||_0x3b4357[0x0],this[_0x380b3c(0x19b)]=_0xf5acc8['extensions']||{},this[_0x380b3c(0x1ab)]=!!_0xf5acc8['isServer'],this[_0x380b3c(0x225)]=_0xf5acc8[_0x380b3c(0x20a)]|0x0,this[_0x380b3c(0x17d)]=!!_0xf5acc8[_0x380b3c(0x18b)],this[_0x5aeda0]=void 0x0,this[_0x380b3c(0x287)]=0x0,this[_0x380b3c(0x179)]=[],this['_compressed']=!0x1,this[_0x380b3c(0x1ca)]=0x0,this[_0x380b3c(0x1d8)]=void 0x0,this[_0x380b3c(0x2e4)]=0x0,this['_masked']=!0x1,this[_0x380b3c(0x250)]=!0x1,this['_opcode']=0x0,this[_0x380b3c(0x27e)]=0x0,this['_messageLength']=0x0,this['_fragments']=[],this[_0x380b3c(0x2e7)]=!0x1,this[_0x380b3c(0x1ac)]=!0x1,this['_state']=_0xdc1b59;}['_write'](_0x78e0ec,_0x3bf50f,_0x1785d6){const _0x5c88bf=_0x154512;if(this[_0x5c88bf(0x238)]===0x8&&this[_0x5c88bf(0x2ea)]==_0xdc1b59)return _0x1785d6();this['_bufferedBytes']+=_0x78e0ec[_0x5c88bf(0x22b)],this[_0x5c88bf(0x179)]['push'](_0x78e0ec),this[_0x5c88bf(0x203)](_0x1785d6);}[_0x154512(0x311)](_0x22e9d3){const _0x2d2d27=_0x154512;if(this[_0x2d2d27(0x287)]-=_0x22e9d3,_0x22e9d3===this[_0x2d2d27(0x179)][0x0][_0x2d2d27(0x22b)])return this['_buffers']['shift']();if(_0x22e9d3<this[_0x2d2d27(0x179)][0x0][_0x2d2d27(0x22b)]){const _0x1b09b6=this['_buffers'][0x0];return this['_buffers'][0x0]=new _0x5f0d69(_0x1b09b6[_0x2d2d27(0x24c)],_0x1b09b6[_0x2d2d27(0x2f2)]+_0x22e9d3,_0x1b09b6['length']-_0x22e9d3),new _0x5f0d69(_0x1b09b6[_0x2d2d27(0x24c)],_0x1b09b6[_0x2d2d27(0x2f2)],_0x22e9d3);}const _0x4bac1e=Buffer[_0x2d2d27(0x1cf)](_0x22e9d3);do{const _0x48f365=this['_buffers'][0x0],_0x3172aa=_0x4bac1e[_0x2d2d27(0x22b)]-_0x22e9d3;_0x22e9d3>=_0x48f365['length']?_0x4bac1e[_0x2d2d27(0x2ca)](this[_0x2d2d27(0x179)][_0x2d2d27(0x211)](),_0x3172aa):(_0x4bac1e[_0x2d2d27(0x2ca)](new Uint8Array(_0x48f365[_0x2d2d27(0x24c)],_0x48f365[_0x2d2d27(0x2f2)],_0x22e9d3),_0x3172aa),this[_0x2d2d27(0x179)][0x0]=new _0x5f0d69(_0x48f365[_0x2d2d27(0x24c)],_0x48f365[_0x2d2d27(0x2f2)]+_0x22e9d3,_0x48f365['length']-_0x22e9d3)),_0x22e9d3-=_0x48f365[_0x2d2d27(0x22b)];}while(_0x22e9d3>0x0);return _0x4bac1e;}[_0x154512(0x203)](_0x421fc2){const _0x5d5552=_0x154512;this[_0x5d5552(0x1ac)]=!0x0;do switch(this[_0x5d5552(0x2ea)]){case _0xdc1b59:this[_0x5d5552(0x21c)](_0x421fc2);break;case _0x116ab0:this[_0x5d5552(0x299)](_0x421fc2);break;case _0x507804:this[_0x5d5552(0x328)](_0x421fc2);break;case _0x55978d:this['getMask']();break;case _0x244f6b:this[_0x5d5552(0x2c0)](_0x421fc2);break;case _0x400af2:case _0x2d76af:this['_loop']=!0x1;return;}while(this[_0x5d5552(0x1ac)]);this[_0x5d5552(0x2e7)]||_0x421fc2();}[_0x154512(0x21c)](_0x4a43eb){const _0x211c49=_0x154512;if(this[_0x211c49(0x287)]<0x2){this[_0x211c49(0x1ac)]=!0x1;return;}const _0x469b7d=this[_0x211c49(0x311)](0x2);if((_0x469b7d[0x0]&0x30)!==0x0){const _0x4421ed=this[_0x211c49(0x1b9)](RangeError,_0x211c49(0x17c),!0x0,0x3ea,_0x211c49(0x1e5));_0x4a43eb(_0x4421ed);return;}const _0x2a2a82=(_0x469b7d[0x0]&0x40)===0x40;if(_0x2a2a82&&!this[_0x211c49(0x19b)][_0xee5073['extensionName']]){const _0x31d0ab=this[_0x211c49(0x1b9)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x4a43eb(_0x31d0ab);return;}if(this[_0x211c49(0x250)]=(_0x469b7d[0x0]&0x80)===0x80,this[_0x211c49(0x238)]=_0x469b7d[0x0]&0xf,this['_payloadLength']=_0x469b7d[0x1]&0x7f,this[_0x211c49(0x238)]===0x0){if(_0x2a2a82){const _0x5a172b=this['createError'](RangeError,_0x211c49(0x2eb),!0x0,0x3ea,_0x211c49(0x258));_0x4a43eb(_0x5a172b);return;}if(!this[_0x211c49(0x2e4)]){const _0x5e8744=this['createError'](RangeError,_0x211c49(0x2b2),!0x0,0x3ea,_0x211c49(0x17b));_0x4a43eb(_0x5e8744);return;}this['_opcode']=this[_0x211c49(0x2e4)];}else{if(this[_0x211c49(0x238)]===0x1||this[_0x211c49(0x238)]===0x2){if(this[_0x211c49(0x2e4)]){const _0x1cb0a7=this['createError'](RangeError,_0x211c49(0x301)+this[_0x211c49(0x238)],!0x0,0x3ea,_0x211c49(0x17b));_0x4a43eb(_0x1cb0a7);return;}this[_0x211c49(0x244)]=_0x2a2a82;}else{if(this[_0x211c49(0x238)]>0x7&&this[_0x211c49(0x238)]<0xb){if(!this[_0x211c49(0x250)]){const _0x1860d4=this[_0x211c49(0x1b9)](RangeError,_0x211c49(0x1a2),!0x0,0x3ea,_0x211c49(0x2fa));_0x4a43eb(_0x1860d4);return;}if(_0x2a2a82){const _0x2290bf=this[_0x211c49(0x1b9)](RangeError,_0x211c49(0x2eb),!0x0,0x3ea,_0x211c49(0x258));_0x4a43eb(_0x2290bf);return;}if(this['_payloadLength']>0x7d||this[_0x211c49(0x238)]===0x8&&this[_0x211c49(0x1ca)]===0x1){const _0x2c3924=this[_0x211c49(0x1b9)](RangeError,_0x211c49(0x201)+this[_0x211c49(0x1ca)],!0x0,0x3ea,_0x211c49(0x22f));_0x4a43eb(_0x2c3924);return;}}else{const _0x5a337b=this['createError'](RangeError,'invalid\x20opcode\x20'+this[_0x211c49(0x238)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x4a43eb(_0x5a337b);return;}}}if(!this['_fin']&&!this[_0x211c49(0x2e4)]&&(this['_fragmented']=this['_opcode']),this['_masked']=(_0x469b7d[0x1]&0x80)===0x80,this[_0x211c49(0x1ab)]){if(!this[_0x211c49(0x1a8)]){const _0x577ff0=this[_0x211c49(0x1b9)](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,_0x211c49(0x224));_0x4a43eb(_0x577ff0);return;}}else{if(this[_0x211c49(0x1a8)]){const _0x1053b7=this['createError'](RangeError,_0x211c49(0x22c),!0x0,0x3ea,_0x211c49(0x262));_0x4a43eb(_0x1053b7);return;}}this[_0x211c49(0x1ca)]===0x7e?this[_0x211c49(0x2ea)]=_0x116ab0:this[_0x211c49(0x1ca)]===0x7f?this[_0x211c49(0x2ea)]=_0x507804:this[_0x211c49(0x237)](_0x4a43eb);}[_0x154512(0x299)](_0x30c161){const _0xc346bc=_0x154512;if(this[_0xc346bc(0x287)]<0x2){this[_0xc346bc(0x1ac)]=!0x1;return;}this[_0xc346bc(0x1ca)]=this[_0xc346bc(0x311)](0x2)[_0xc346bc(0x325)](0x0),this['haveLength'](_0x30c161);}[_0x154512(0x328)](_0x599848){const _0x1a8e88=_0x154512;if(this['_bufferedBytes']<0x8){this[_0x1a8e88(0x1ac)]=!0x1;return;}const _0x36f795=this[_0x1a8e88(0x311)](0x8),_0x317666=_0x36f795['readUInt32BE'](0x0);if(_0x317666>Math[_0x1a8e88(0x187)](0x2,0x15)-0x1){const _0xd5b075=this[_0x1a8e88(0x1b9)](RangeError,_0x1a8e88(0x2f1),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH');_0x599848(_0xd5b075);return;}this[_0x1a8e88(0x1ca)]=_0x317666*Math[_0x1a8e88(0x187)](0x2,0x20)+_0x36f795[_0x1a8e88(0x175)](0x4),this[_0x1a8e88(0x237)](_0x599848);}['haveLength'](_0x3ae806){const _0x5a3064=_0x154512;if(this['_payloadLength']&&this['_opcode']<0x8&&(this[_0x5a3064(0x27e)]+=this['_payloadLength'],this[_0x5a3064(0x27e)]>this[_0x5a3064(0x225)]&&this[_0x5a3064(0x225)]>0x0)){const _0x45b109=this[_0x5a3064(0x1b9)](RangeError,_0x5a3064(0x19e),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x3ae806(_0x45b109);return;}this[_0x5a3064(0x1a8)]?this['_state']=_0x55978d:this[_0x5a3064(0x2ea)]=_0x244f6b;}[_0x154512(0x20f)](){const _0xd64a97=_0x154512;if(this['_bufferedBytes']<0x4){this['_loop']=!0x1;return;}this[_0xd64a97(0x1d8)]=this[_0xd64a97(0x311)](0x4),this['_state']=_0x244f6b;}[_0x154512(0x2c0)](_0x56912f){const _0x34cc6b=_0x154512;let _0xe4efac=_0x2c579c;if(this[_0x34cc6b(0x1ca)]){if(this[_0x34cc6b(0x287)]<this[_0x34cc6b(0x1ca)]){this[_0x34cc6b(0x1ac)]=!0x1;return;}_0xe4efac=this[_0x34cc6b(0x311)](this[_0x34cc6b(0x1ca)]),this[_0x34cc6b(0x1a8)]&&(this['_mask'][0x0]|this['_mask'][0x1]|this[_0x34cc6b(0x1d8)][0x2]|this['_mask'][0x3])!==0x0&&_0x3a7982(_0xe4efac,this['_mask']);}if(this[_0x34cc6b(0x238)]>0x7){this[_0x34cc6b(0x18a)](_0xe4efac,_0x56912f);return;}if(this[_0x34cc6b(0x244)]){this[_0x34cc6b(0x2ea)]=_0x400af2,this[_0x34cc6b(0x268)](_0xe4efac,_0x56912f);return;}_0xe4efac[_0x34cc6b(0x22b)]&&(this[_0x34cc6b(0x202)]=this[_0x34cc6b(0x27e)],this[_0x34cc6b(0x2bd)]['push'](_0xe4efac)),this[_0x34cc6b(0x269)](_0x56912f);}[_0x154512(0x268)](_0x5a2a1a,_0x1046dd){const _0x16ea6d=_0x154512;this[_0x16ea6d(0x19b)][_0xee5073[_0x16ea6d(0x1e9)]]['decompress'](_0x5a2a1a,this['_fin'],(_0x1ae9b8,_0x1b2558)=>{const _0x4c428=_0x16ea6d;if(_0x1ae9b8)return _0x1046dd(_0x1ae9b8);if(_0x1b2558['length']){if(this[_0x4c428(0x202)]+=_0x1b2558[_0x4c428(0x22b)],this[_0x4c428(0x202)]>this[_0x4c428(0x225)]&&this[_0x4c428(0x225)]>0x0){const _0x4b0f41=this[_0x4c428(0x1b9)](RangeError,_0x4c428(0x19e),!0x1,0x3f1,_0x4c428(0x2c2));_0x1046dd(_0x4b0f41);return;}this[_0x4c428(0x2bd)]['push'](_0x1b2558);}this['dataMessage'](_0x1046dd),this['_state']===_0xdc1b59&&this[_0x4c428(0x203)](_0x1046dd);});}[_0x154512(0x269)](_0x5ecbfc){const _0x26f748=_0x154512;if(!this[_0x26f748(0x250)]){this[_0x26f748(0x2ea)]=_0xdc1b59;return;}const _0x5c91be=this[_0x26f748(0x202)],_0x19a436=this[_0x26f748(0x2bd)];if(this[_0x26f748(0x27e)]=0x0,this[_0x26f748(0x202)]=0x0,this[_0x26f748(0x2e4)]=0x0,this[_0x26f748(0x2bd)]=[],this['_opcode']===0x2){let _0x3c2c26;this[_0x26f748(0x177)]===_0x26f748(0x245)?_0x3c2c26=_0x4ddc8(_0x19a436,_0x5c91be):this[_0x26f748(0x177)]==='arraybuffer'?_0x3c2c26=_0x199f03(_0x4ddc8(_0x19a436,_0x5c91be)):this[_0x26f748(0x177)]==='blob'?_0x3c2c26=new Blob(_0x19a436):_0x3c2c26=_0x19a436,this[_0x26f748(0x1ee)]?(this['emit'](_0x26f748(0x235),_0x3c2c26,!0x0),this[_0x26f748(0x2ea)]=_0xdc1b59):(this['_state']=_0x2d76af,setImmediate(()=>{const _0x56ab6a=_0x26f748;this['emit'](_0x56ab6a(0x235),_0x3c2c26,!0x0),this[_0x56ab6a(0x2ea)]=_0xdc1b59,this[_0x56ab6a(0x203)](_0x5ecbfc);}));}else{const _0x588541=_0x4ddc8(_0x19a436,_0x5c91be);if(!this[_0x26f748(0x17d)]&&!_0x9ab3cb(_0x588541)){const _0x2a20e4=this[_0x26f748(0x1b9)](Error,_0x26f748(0x24d),!0x0,0x3ef,_0x26f748(0x1c2));_0x5ecbfc(_0x2a20e4);return;}this[_0x26f748(0x2ea)]===_0x400af2||this[_0x26f748(0x1ee)]?(this[_0x26f748(0x22a)](_0x26f748(0x235),_0x588541,!0x1),this[_0x26f748(0x2ea)]=_0xdc1b59):(this['_state']=_0x2d76af,setImmediate(()=>{const _0x243957=_0x26f748;this[_0x243957(0x22a)]('message',_0x588541,!0x1),this[_0x243957(0x2ea)]=_0xdc1b59,this[_0x243957(0x203)](_0x5ecbfc);}));}}[_0x154512(0x18a)](_0x19ab50,_0x1efe60){const _0x28a4c8=_0x154512;if(this[_0x28a4c8(0x238)]===0x8){if(_0x19ab50[_0x28a4c8(0x22b)]===0x0)this['_loop']=!0x1,this['emit']('conclude',0x3ed,_0x2c579c),this[_0x28a4c8(0x1fe)]();else{const _0x4663b6=_0x19ab50[_0x28a4c8(0x325)](0x0);if(!_0x1b1f89(_0x4663b6)){const _0x2ccbe7=this[_0x28a4c8(0x1b9)](RangeError,_0x28a4c8(0x253)+_0x4663b6,!0x0,0x3ea,_0x28a4c8(0x2b5));_0x1efe60(_0x2ccbe7);return;}const _0x3fd186=new _0x5f0d69(_0x19ab50[_0x28a4c8(0x24c)],_0x19ab50[_0x28a4c8(0x2f2)]+0x2,_0x19ab50[_0x28a4c8(0x22b)]-0x2);if(!this[_0x28a4c8(0x17d)]&&!_0x9ab3cb(_0x3fd186)){const _0x5d826a=this['createError'](Error,_0x28a4c8(0x24d),!0x0,0x3ef,_0x28a4c8(0x1c2));_0x1efe60(_0x5d826a);return;}this[_0x28a4c8(0x1ac)]=!0x1,this[_0x28a4c8(0x22a)](_0x28a4c8(0x2ff),_0x4663b6,_0x3fd186),this[_0x28a4c8(0x1fe)]();}this['_state']=_0xdc1b59;return;}this[_0x28a4c8(0x1ee)]?(this[_0x28a4c8(0x22a)](this[_0x28a4c8(0x238)]===0x9?_0x28a4c8(0x1af):_0x28a4c8(0x1a0),_0x19ab50),this[_0x28a4c8(0x2ea)]=_0xdc1b59):(this['_state']=_0x2d76af,setImmediate(()=>{const _0x1712bb=_0x28a4c8;this['emit'](this[_0x1712bb(0x238)]===0x9?'ping':_0x1712bb(0x1a0),_0x19ab50),this[_0x1712bb(0x2ea)]=_0xdc1b59,this[_0x1712bb(0x203)](_0x1efe60);}));}[_0x154512(0x1b9)](_0x8a1aa2,_0xd64b70,_0x22177c,_0x5323a0,_0x3f7d78){const _0x49fdbe=_0x154512;this['_loop']=!0x1,this[_0x49fdbe(0x2e7)]=!0x0;const _0x2b2274=new _0x8a1aa2(_0x22177c?_0x49fdbe(0x1d0)+_0xd64b70:_0xd64b70);return Error[_0x49fdbe(0x297)](_0x2b2274,this['createError']),_0x2b2274['code']=_0x3f7d78,_0x2b2274[_0x1afd53]=_0x5323a0,_0x2b2274;}}return Se=_0x1ac911,Se;}var Ee,et;function _t(){const _0x28662a=_0x5c7db0;if(et)return Ee;et=0x1;const {Duplex:_0x44969d}=_0x4d2870,{randomFillSync:_0x23eda4}=_0x5ac424,_0x1b92e9=he(),{EMPTY_BUFFER:_0x3f7b7d,kWebSocket:_0x216e14,NOOP:_0x3b42a0}=V(),{isBlob:_0x260b6e,isValidStatusCode:_0x14dc80}=ne(),{mask:_0x3ff5b1,toBuffer:_0x14cb65}=ce(),_0x239b58=Symbol(_0x28662a(0x329)),_0x1e6709=Buffer['alloc'](0x4),_0x9ca2b1=0x8*0x400;let _0x4b8a63,_0x1ce8bd=_0x9ca2b1;const _0x35620e=0x0,_0x3c7ec9=0x1,_0x3fe8f4=0x2;class _0x423bf1{constructor(_0x228324,_0x3cb528,_0x7ac71c){const _0x123232=_0x28662a;this[_0x123232(0x19b)]=_0x3cb528||{},_0x7ac71c&&(this[_0x123232(0x188)]=_0x7ac71c,this[_0x123232(0x1e2)]=Buffer['alloc'](0x4)),this[_0x123232(0x22e)]=_0x228324,this[_0x123232(0x234)]=!0x0,this[_0x123232(0x241)]=!0x1,this[_0x123232(0x287)]=0x0,this[_0x123232(0x2c8)]=[],this[_0x123232(0x2ea)]=_0x35620e,this[_0x123232(0x283)]=_0x3b42a0,this[_0x216e14]=void 0x0;}static[_0x28662a(0x25a)](_0x29ad49,_0x272619){const _0x5a0478=_0x28662a;let _0x42749f,_0x33dced=!0x1,_0x51a63c=0x2,_0x1712a2=!0x1;_0x272619[_0x5a0478(0x2d3)]&&(_0x42749f=_0x272619[_0x5a0478(0x1b6)]||_0x1e6709,_0x272619[_0x5a0478(0x310)]?_0x272619[_0x5a0478(0x310)](_0x42749f):(_0x1ce8bd===_0x9ca2b1&&(_0x4b8a63===void 0x0&&(_0x4b8a63=Buffer[_0x5a0478(0x28e)](_0x9ca2b1)),_0x23eda4(_0x4b8a63,0x0,_0x9ca2b1),_0x1ce8bd=0x0),_0x42749f[0x0]=_0x4b8a63[_0x1ce8bd++],_0x42749f[0x1]=_0x4b8a63[_0x1ce8bd++],_0x42749f[0x2]=_0x4b8a63[_0x1ce8bd++],_0x42749f[0x3]=_0x4b8a63[_0x1ce8bd++]),_0x1712a2=(_0x42749f[0x0]|_0x42749f[0x1]|_0x42749f[0x2]|_0x42749f[0x3])===0x0,_0x51a63c=0x6);let _0x209861;typeof _0x29ad49=='string'?(!_0x272619[_0x5a0478(0x2d3)]||_0x1712a2)&&_0x272619[_0x239b58]!==void 0x0?_0x209861=_0x272619[_0x239b58]:(_0x29ad49=Buffer[_0x5a0478(0x313)](_0x29ad49),_0x209861=_0x29ad49['length']):(_0x209861=_0x29ad49['length'],_0x33dced=_0x272619[_0x5a0478(0x2d3)]&&_0x272619[_0x5a0478(0x284)]&&!_0x1712a2);let _0x5c0d05=_0x209861;_0x209861>=0x10000?(_0x51a63c+=0x8,_0x5c0d05=0x7f):_0x209861>0x7d&&(_0x51a63c+=0x2,_0x5c0d05=0x7e);const _0x128842=Buffer[_0x5a0478(0x1cf)](_0x33dced?_0x209861+_0x51a63c:_0x51a63c);return _0x128842[0x0]=_0x272619[_0x5a0478(0x208)]?_0x272619[_0x5a0478(0x18f)]|0x80:_0x272619['opcode'],_0x272619[_0x5a0478(0x1f4)]&&(_0x128842[0x0]|=0x40),_0x128842[0x1]=_0x5c0d05,_0x5c0d05===0x7e?_0x128842[_0x5a0478(0x1e4)](_0x209861,0x2):_0x5c0d05===0x7f&&(_0x128842[0x2]=_0x128842[0x3]=0x0,_0x128842[_0x5a0478(0x20b)](_0x209861,0x4,0x6)),_0x272619[_0x5a0478(0x2d3)]?(_0x128842[0x1]|=0x80,_0x128842[_0x51a63c-0x4]=_0x42749f[0x0],_0x128842[_0x51a63c-0x3]=_0x42749f[0x1],_0x128842[_0x51a63c-0x2]=_0x42749f[0x2],_0x128842[_0x51a63c-0x1]=_0x42749f[0x3],_0x1712a2?[_0x128842,_0x29ad49]:_0x33dced?(_0x3ff5b1(_0x29ad49,_0x42749f,_0x128842,_0x51a63c,_0x209861),[_0x128842]):(_0x3ff5b1(_0x29ad49,_0x42749f,_0x29ad49,0x0,_0x209861),[_0x128842,_0x29ad49])):[_0x128842,_0x29ad49];}[_0x28662a(0x247)](_0x5c2758,_0x1f9479,_0x16b2c5,_0x33c140){const _0x5aeef4=_0x28662a;let _0x3b84df;if(_0x5c2758===void 0x0)_0x3b84df=_0x3f7b7d;else{if(typeof _0x5c2758!=_0x5aeef4(0x286)||!_0x14dc80(_0x5c2758))throw new TypeError(_0x5aeef4(0x183));if(_0x1f9479===void 0x0||!_0x1f9479[_0x5aeef4(0x22b)])_0x3b84df=Buffer[_0x5aeef4(0x1cf)](0x2),_0x3b84df[_0x5aeef4(0x1e4)](_0x5c2758,0x0);else{const _0x551bfd=Buffer[_0x5aeef4(0x191)](_0x1f9479);if(_0x551bfd>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x3b84df=Buffer[_0x5aeef4(0x1cf)](0x2+_0x551bfd),_0x3b84df[_0x5aeef4(0x1e4)](_0x5c2758,0x0),typeof _0x1f9479==_0x5aeef4(0x1f8)?_0x3b84df['write'](_0x1f9479,0x2):_0x3b84df[_0x5aeef4(0x2ca)](_0x1f9479,0x2);}}const _0x484652={[_0x239b58]:_0x3b84df[_0x5aeef4(0x22b)],'fin':!0x0,'generateMask':this[_0x5aeef4(0x188)],'mask':_0x16b2c5,'maskBuffer':this[_0x5aeef4(0x1e2)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x5aeef4(0x2ea)]!==_0x35620e?this[_0x5aeef4(0x216)]([this[_0x5aeef4(0x2ab)],_0x3b84df,!0x1,_0x484652,_0x33c140]):this[_0x5aeef4(0x26d)](_0x423bf1[_0x5aeef4(0x25a)](_0x3b84df,_0x484652),_0x33c140);}[_0x28662a(0x1af)](_0x2ecc80,_0x47c626,_0x3034de){const _0x4063f7=_0x28662a;let _0x2cd6e7,_0x18bc83;if(typeof _0x2ecc80==_0x4063f7(0x1f8)?(_0x2cd6e7=Buffer['byteLength'](_0x2ecc80),_0x18bc83=!0x1):_0x260b6e(_0x2ecc80)?(_0x2cd6e7=_0x2ecc80['size'],_0x18bc83=!0x1):(_0x2ecc80=_0x14cb65(_0x2ecc80),_0x2cd6e7=_0x2ecc80['length'],_0x18bc83=_0x14cb65[_0x4063f7(0x284)]),_0x2cd6e7>0x7d)throw new RangeError(_0x4063f7(0x1de));const _0x1c8317={[_0x239b58]:_0x2cd6e7,'fin':!0x0,'generateMask':this[_0x4063f7(0x188)],'mask':_0x47c626,'maskBuffer':this['_maskBuffer'],'opcode':0x9,'readOnly':_0x18bc83,'rsv1':!0x1};_0x260b6e(_0x2ecc80)?this[_0x4063f7(0x2ea)]!==_0x35620e?this[_0x4063f7(0x216)]([this[_0x4063f7(0x218)],_0x2ecc80,!0x1,_0x1c8317,_0x3034de]):this[_0x4063f7(0x218)](_0x2ecc80,!0x1,_0x1c8317,_0x3034de):this[_0x4063f7(0x2ea)]!==_0x35620e?this['enqueue']([this[_0x4063f7(0x2ab)],_0x2ecc80,!0x1,_0x1c8317,_0x3034de]):this[_0x4063f7(0x26d)](_0x423bf1['frame'](_0x2ecc80,_0x1c8317),_0x3034de);}[_0x28662a(0x1a0)](_0x4f1759,_0x2400bc,_0x180584){const _0x333c47=_0x28662a;let _0x2dd02b,_0x20198f;if(typeof _0x4f1759==_0x333c47(0x1f8)?(_0x2dd02b=Buffer[_0x333c47(0x191)](_0x4f1759),_0x20198f=!0x1):_0x260b6e(_0x4f1759)?(_0x2dd02b=_0x4f1759['size'],_0x20198f=!0x1):(_0x4f1759=_0x14cb65(_0x4f1759),_0x2dd02b=_0x4f1759[_0x333c47(0x22b)],_0x20198f=_0x14cb65[_0x333c47(0x284)]),_0x2dd02b>0x7d)throw new RangeError(_0x333c47(0x1de));const _0x135721={[_0x239b58]:_0x2dd02b,'fin':!0x0,'generateMask':this[_0x333c47(0x188)],'mask':_0x2400bc,'maskBuffer':this[_0x333c47(0x1e2)],'opcode':0xa,'readOnly':_0x20198f,'rsv1':!0x1};_0x260b6e(_0x4f1759)?this['_state']!==_0x35620e?this[_0x333c47(0x216)]([this[_0x333c47(0x218)],_0x4f1759,!0x1,_0x135721,_0x180584]):this[_0x333c47(0x218)](_0x4f1759,!0x1,_0x135721,_0x180584):this[_0x333c47(0x2ea)]!==_0x35620e?this[_0x333c47(0x216)]([this[_0x333c47(0x2ab)],_0x4f1759,!0x1,_0x135721,_0x180584]):this[_0x333c47(0x26d)](_0x423bf1[_0x333c47(0x25a)](_0x4f1759,_0x135721),_0x180584);}[_0x28662a(0x267)](_0x401f62,_0x18ab65,_0xbc43df){const _0x3af52=_0x28662a,_0x3978cb=this[_0x3af52(0x19b)][_0x1b92e9['extensionName']];let _0x31c92c=_0x18ab65[_0x3af52(0x242)]?0x2:0x1,_0x19168c=_0x18ab65[_0x3af52(0x230)],_0x26838b,_0x420502;typeof _0x401f62=='string'?(_0x26838b=Buffer['byteLength'](_0x401f62),_0x420502=!0x1):_0x260b6e(_0x401f62)?(_0x26838b=_0x401f62[_0x3af52(0x26a)],_0x420502=!0x1):(_0x401f62=_0x14cb65(_0x401f62),_0x26838b=_0x401f62[_0x3af52(0x22b)],_0x420502=_0x14cb65[_0x3af52(0x284)]),this[_0x3af52(0x234)]?(this[_0x3af52(0x234)]=!0x1,_0x19168c&&_0x3978cb&&_0x3978cb[_0x3af52(0x1a5)][_0x3978cb[_0x3af52(0x1ab)]?'server_no_context_takeover':'client_no_context_takeover']&&(_0x19168c=_0x26838b>=_0x3978cb[_0x3af52(0x1d2)]),this[_0x3af52(0x241)]=_0x19168c):(_0x19168c=!0x1,_0x31c92c=0x0),_0x18ab65[_0x3af52(0x208)]&&(this[_0x3af52(0x234)]=!0x0);const _0x5ed3d6={[_0x239b58]:_0x26838b,'fin':_0x18ab65[_0x3af52(0x208)],'generateMask':this[_0x3af52(0x188)],'mask':_0x18ab65[_0x3af52(0x2d3)],'maskBuffer':this[_0x3af52(0x1e2)],'opcode':_0x31c92c,'readOnly':_0x420502,'rsv1':_0x19168c};_0x260b6e(_0x401f62)?this[_0x3af52(0x2ea)]!==_0x35620e?this['enqueue']([this[_0x3af52(0x218)],_0x401f62,this[_0x3af52(0x241)],_0x5ed3d6,_0xbc43df]):this[_0x3af52(0x218)](_0x401f62,this[_0x3af52(0x241)],_0x5ed3d6,_0xbc43df):this[_0x3af52(0x2ea)]!==_0x35620e?this[_0x3af52(0x216)]([this[_0x3af52(0x2ab)],_0x401f62,this['_compress'],_0x5ed3d6,_0xbc43df]):this[_0x3af52(0x2ab)](_0x401f62,this[_0x3af52(0x241)],_0x5ed3d6,_0xbc43df);}[_0x28662a(0x218)](_0x45f08c,_0x2867f6,_0x51a4a3,_0x51c8c8){const _0xe7ad7b=_0x28662a;this[_0xe7ad7b(0x287)]+=_0x51a4a3[_0x239b58],this[_0xe7ad7b(0x2ea)]=_0x3fe8f4,_0x45f08c['arrayBuffer']()[_0xe7ad7b(0x277)](_0x219133=>{const _0x58bde1=_0xe7ad7b;if(this[_0x58bde1(0x22e)]['destroyed']){const _0x4bf59b=new Error(_0x58bde1(0x1f1));process[_0x58bde1(0x1c6)](_0x5f3c7a,this,_0x4bf59b,_0x51c8c8);return;}this[_0x58bde1(0x287)]-=_0x51a4a3[_0x239b58];const _0x5d7756=_0x14cb65(_0x219133);_0x2867f6?this[_0x58bde1(0x2ab)](_0x5d7756,_0x2867f6,_0x51a4a3,_0x51c8c8):(this[_0x58bde1(0x2ea)]=_0x35620e,this[_0x58bde1(0x26d)](_0x423bf1[_0x58bde1(0x25a)](_0x5d7756,_0x51a4a3),_0x51c8c8),this[_0x58bde1(0x2e5)]());})[_0xe7ad7b(0x271)](_0x34a516=>{const _0x51e2c7=_0xe7ad7b;process[_0x51e2c7(0x1c6)](_0x1c1c09,this,_0x34a516,_0x51c8c8);});}[_0x28662a(0x2ab)](_0x4ebb4d,_0x4f8eef,_0xc3d5b4,_0x5d2af7){const _0x1bd34d=_0x28662a;if(!_0x4f8eef){this[_0x1bd34d(0x26d)](_0x423bf1[_0x1bd34d(0x25a)](_0x4ebb4d,_0xc3d5b4),_0x5d2af7);return;}const _0x37c279=this['_extensions'][_0x1b92e9['extensionName']];this[_0x1bd34d(0x287)]+=_0xc3d5b4[_0x239b58],this[_0x1bd34d(0x2ea)]=_0x3c7ec9,_0x37c279[_0x1bd34d(0x230)](_0x4ebb4d,_0xc3d5b4[_0x1bd34d(0x208)],(_0x48a929,_0x50726a)=>{const _0x590676=_0x1bd34d;if(this[_0x590676(0x22e)][_0x590676(0x31d)]){const _0x40c62e=new Error(_0x590676(0x195));_0x5f3c7a(this,_0x40c62e,_0x5d2af7);return;}this[_0x590676(0x287)]-=_0xc3d5b4[_0x239b58],this[_0x590676(0x2ea)]=_0x35620e,_0xc3d5b4['readOnly']=!0x1,this[_0x590676(0x26d)](_0x423bf1['frame'](_0x50726a,_0xc3d5b4),_0x5d2af7),this['dequeue']();});}[_0x28662a(0x2e5)](){const _0x4f8c47=_0x28662a;for(;this[_0x4f8c47(0x2ea)]===_0x35620e&&this[_0x4f8c47(0x2c8)][_0x4f8c47(0x22b)];){const _0x18e966=this[_0x4f8c47(0x2c8)][_0x4f8c47(0x211)]();this[_0x4f8c47(0x287)]-=_0x18e966[0x3][_0x239b58],Reflect[_0x4f8c47(0x1c0)](_0x18e966[0x0],this,_0x18e966['slice'](0x1));}}[_0x28662a(0x216)](_0x262ed6){const _0x386b46=_0x28662a;this['_bufferedBytes']+=_0x262ed6[0x3][_0x239b58],this[_0x386b46(0x2c8)]['push'](_0x262ed6);}[_0x28662a(0x26d)](_0x3c1b70,_0xcb5cb1){const _0x39f5bb=_0x28662a;_0x3c1b70[_0x39f5bb(0x22b)]===0x2?(this[_0x39f5bb(0x22e)][_0x39f5bb(0x27d)](),this[_0x39f5bb(0x22e)][_0x39f5bb(0x292)](_0x3c1b70[0x0]),this[_0x39f5bb(0x22e)]['write'](_0x3c1b70[0x1],_0xcb5cb1),this[_0x39f5bb(0x22e)][_0x39f5bb(0x2cc)]()):this[_0x39f5bb(0x22e)][_0x39f5bb(0x292)](_0x3c1b70[0x0],_0xcb5cb1);}}Ee=_0x423bf1;function _0x5f3c7a(_0x260dbf,_0x14fc50,_0x3fff28){const _0x406ab3=_0x28662a;typeof _0x3fff28==_0x406ab3(0x1b8)&&_0x3fff28(_0x14fc50);for(let _0xa9b585=0x0;_0xa9b585<_0x260dbf['_queue'][_0x406ab3(0x22b)];_0xa9b585++){const _0x49f796=_0x260dbf[_0x406ab3(0x2c8)][_0xa9b585],_0x27fd93=_0x49f796[_0x49f796[_0x406ab3(0x22b)]-0x1];typeof _0x27fd93==_0x406ab3(0x1b8)&&_0x27fd93(_0x14fc50);}}function _0x1c1c09(_0x361086,_0x592a48,_0x1adb8d){_0x5f3c7a(_0x361086,_0x592a48,_0x1adb8d),_0x361086['onerror'](_0x592a48);}return Ee;}var xe,tt;function Kt(){const _0x530a5b=_0x5c7db0;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x18841d,kListener:_0x2ed439}=V(),_0x13a3ec=Symbol(_0x530a5b(0x295)),_0x312e97=Symbol(_0x530a5b(0x2ad)),_0x230080=Symbol(_0x530a5b(0x180)),_0x57abd5=Symbol(_0x530a5b(0x249)),_0x3c68ca=Symbol(_0x530a5b(0x171)),_0xcfbee7=Symbol('kTarget'),_0x4f69d0=Symbol(_0x530a5b(0x2b6)),_0x50205a=Symbol('kWasClean');class _0x3436d4{constructor(_0x2181b5){this[_0xcfbee7]=null,this[_0x4f69d0]=_0x2181b5;}get[_0x530a5b(0x285)](){return this[_0xcfbee7];}get[_0x530a5b(0x2c5)](){return this[_0x4f69d0];}}Object[_0x530a5b(0x227)](_0x3436d4['prototype'],_0x530a5b(0x285),{'enumerable':!0x0}),Object[_0x530a5b(0x227)](_0x3436d4[_0x530a5b(0x219)],_0x530a5b(0x2c5),{'enumerable':!0x0});class _0x5dcf17 extends _0x3436d4{constructor(_0x3259b1,_0x4be0f7={}){const _0x587fd2=_0x530a5b;super(_0x3259b1),this[_0x13a3ec]=_0x4be0f7['code']===void 0x0?0x0:_0x4be0f7[_0x587fd2(0x1eb)],this[_0x3c68ca]=_0x4be0f7['reason']===void 0x0?'':_0x4be0f7['reason'],this[_0x50205a]=_0x4be0f7[_0x587fd2(0x18d)]===void 0x0?!0x1:_0x4be0f7['wasClean'];}get[_0x530a5b(0x1eb)](){return this[_0x13a3ec];}get[_0x530a5b(0x2d5)](){return this[_0x3c68ca];}get[_0x530a5b(0x18d)](){return this[_0x50205a];}}Object['defineProperty'](_0x5dcf17[_0x530a5b(0x219)],_0x530a5b(0x1eb),{'enumerable':!0x0}),Object[_0x530a5b(0x227)](_0x5dcf17[_0x530a5b(0x219)],_0x530a5b(0x2d5),{'enumerable':!0x0}),Object['defineProperty'](_0x5dcf17['prototype'],'wasClean',{'enumerable':!0x0});class _0x5eca33 extends _0x3436d4{constructor(_0x409f36,_0x2a84c1={}){const _0x4f76a8=_0x530a5b;super(_0x409f36),this[_0x230080]=_0x2a84c1['error']===void 0x0?null:_0x2a84c1[_0x4f76a8(0x303)],this[_0x57abd5]=_0x2a84c1[_0x4f76a8(0x235)]===void 0x0?'':_0x2a84c1[_0x4f76a8(0x235)];}get[_0x530a5b(0x303)](){return this[_0x230080];}get['message'](){return this[_0x57abd5];}}Object[_0x530a5b(0x227)](_0x5eca33[_0x530a5b(0x219)],_0x530a5b(0x303),{'enumerable':!0x0}),Object['defineProperty'](_0x5eca33['prototype'],_0x530a5b(0x235),{'enumerable':!0x0});class _0x4027c8 extends _0x3436d4{constructor(_0x3d129a,_0x536fab={}){const _0x17e121=_0x530a5b;super(_0x3d129a),this[_0x312e97]=_0x536fab[_0x17e121(0x1e8)]===void 0x0?null:_0x536fab['data'];}get[_0x530a5b(0x1e8)](){return this[_0x312e97];}}Object['defineProperty'](_0x4027c8[_0x530a5b(0x219)],_0x530a5b(0x1e8),{'enumerable':!0x0}),xe={'CloseEvent':_0x5dcf17,'ErrorEvent':_0x5eca33,'Event':_0x3436d4,'EventTarget':{'addEventListener'(_0x16eb78,_0x27bcb5,_0x10a518={}){const _0x2f5652=_0x530a5b;for(const _0x411805 of this[_0x2f5652(0x2e1)](_0x16eb78))if(!_0x10a518[_0x18841d]&&_0x411805[_0x2ed439]===_0x27bcb5&&!_0x411805[_0x18841d])return;let _0x47fa70;if(_0x16eb78==='message')_0x47fa70=function(_0x30b543,_0x3b65bd){const _0x3f9a94=_0x2f5652,_0x321271=new _0x4027c8('message',{'data':_0x3b65bd?_0x30b543:_0x30b543[_0x3f9a94(0x18e)]()});_0x321271[_0xcfbee7]=this,_0x424adb(_0x27bcb5,this,_0x321271);};else{if(_0x16eb78===_0x2f5652(0x247))_0x47fa70=function(_0x38e527,_0x43bad6){const _0x478905=_0x2f5652,_0xb69045=new _0x5dcf17(_0x478905(0x247),{'code':_0x38e527,'reason':_0x43bad6[_0x478905(0x18e)](),'wasClean':this[_0x478905(0x1ad)]&&this[_0x478905(0x23a)]});_0xb69045[_0xcfbee7]=this,_0x424adb(_0x27bcb5,this,_0xb69045);};else{if(_0x16eb78==='error')_0x47fa70=function(_0x537921){const _0x695e2a=_0x2f5652,_0x1bc308=new _0x5eca33(_0x695e2a(0x303),{'error':_0x537921,'message':_0x537921['message']});_0x1bc308[_0xcfbee7]=this,_0x424adb(_0x27bcb5,this,_0x1bc308);};else{if(_0x16eb78===_0x2f5652(0x28b))_0x47fa70=function(){const _0x5b9729=_0x2f5652,_0x459a49=new _0x3436d4(_0x5b9729(0x28b));_0x459a49[_0xcfbee7]=this,_0x424adb(_0x27bcb5,this,_0x459a49);};else return;}}}_0x47fa70[_0x18841d]=!!_0x10a518[_0x18841d],_0x47fa70[_0x2ed439]=_0x27bcb5,_0x10a518[_0x2f5652(0x2af)]?this['once'](_0x16eb78,_0x47fa70):this['on'](_0x16eb78,_0x47fa70);},'removeEventListener'(_0x1dbe8e,_0x5eb7a1){const _0x3a3503=_0x530a5b;for(const _0x5057de of this[_0x3a3503(0x2e1)](_0x1dbe8e))if(_0x5057de[_0x2ed439]===_0x5eb7a1&&!_0x5057de[_0x18841d]){this[_0x3a3503(0x222)](_0x1dbe8e,_0x5057de);break;}}},'MessageEvent':_0x4027c8};function _0x424adb(_0x3594a9,_0x244170,_0x56ed53){const _0x339658=_0x530a5b;typeof _0x3594a9==_0x339658(0x304)&&_0x3594a9[_0x339658(0x23d)]?_0x3594a9['handleEvent']['call'](_0x3594a9,_0x56ed53):_0x3594a9[_0x339658(0x1a4)](_0x244170,_0x56ed53);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x5e9d47}=ne();function _0x2d874e(_0x58d248,_0x2f3e1c,_0x49539f){const _0x53b031=_0x5161;_0x58d248[_0x2f3e1c]===void 0x0?_0x58d248[_0x2f3e1c]=[_0x49539f]:_0x58d248[_0x2f3e1c][_0x53b031(0x2df)](_0x49539f);}function _0x3bc239(_0x20f9d4){const _0x1e1cf3=_0x5161,_0xf72d9b=Object[_0x1e1cf3(0x181)](null);let _0x302cbb=Object[_0x1e1cf3(0x181)](null),_0x358aef=!0x1,_0x4b6a99=!0x1,_0x2ee7b8=!0x1,_0x63bb18,_0x2bfca8,_0x5ceca2=-0x1,_0x3d7c39=-0x1,_0x2323ca=-0x1,_0xa9543=0x0;for(;_0xa9543<_0x20f9d4[_0x1e1cf3(0x22b)];_0xa9543++)if(_0x3d7c39=_0x20f9d4[_0x1e1cf3(0x1fb)](_0xa9543),_0x63bb18===void 0x0){if(_0x2323ca===-0x1&&_0x5e9d47[_0x3d7c39]===0x1)_0x5ceca2===-0x1&&(_0x5ceca2=_0xa9543);else{if(_0xa9543!==0x0&&(_0x3d7c39===0x20||_0x3d7c39===0x9))_0x2323ca===-0x1&&_0x5ceca2!==-0x1&&(_0x2323ca=_0xa9543);else{if(_0x3d7c39===0x3b||_0x3d7c39===0x2c){if(_0x5ceca2===-0x1)throw new SyntaxError(_0x1e1cf3(0x270)+_0xa9543);_0x2323ca===-0x1&&(_0x2323ca=_0xa9543);const _0x1802ce=_0x20f9d4[_0x1e1cf3(0x226)](_0x5ceca2,_0x2323ca);_0x3d7c39===0x2c?(_0x2d874e(_0xf72d9b,_0x1802ce,_0x302cbb),_0x302cbb=Object[_0x1e1cf3(0x181)](null)):_0x63bb18=_0x1802ce,_0x5ceca2=_0x2323ca=-0x1;}else throw new SyntaxError(_0x1e1cf3(0x270)+_0xa9543);}}}else{if(_0x2bfca8===void 0x0){if(_0x2323ca===-0x1&&_0x5e9d47[_0x3d7c39]===0x1)_0x5ceca2===-0x1&&(_0x5ceca2=_0xa9543);else{if(_0x3d7c39===0x20||_0x3d7c39===0x9)_0x2323ca===-0x1&&_0x5ceca2!==-0x1&&(_0x2323ca=_0xa9543);else{if(_0x3d7c39===0x3b||_0x3d7c39===0x2c){if(_0x5ceca2===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0xa9543);_0x2323ca===-0x1&&(_0x2323ca=_0xa9543),_0x2d874e(_0x302cbb,_0x20f9d4[_0x1e1cf3(0x226)](_0x5ceca2,_0x2323ca),!0x0),_0x3d7c39===0x2c&&(_0x2d874e(_0xf72d9b,_0x63bb18,_0x302cbb),_0x302cbb=Object[_0x1e1cf3(0x181)](null),_0x63bb18=void 0x0),_0x5ceca2=_0x2323ca=-0x1;}else{if(_0x3d7c39===0x3d&&_0x5ceca2!==-0x1&&_0x2323ca===-0x1)_0x2bfca8=_0x20f9d4[_0x1e1cf3(0x226)](_0x5ceca2,_0xa9543),_0x5ceca2=_0x2323ca=-0x1;else throw new SyntaxError(_0x1e1cf3(0x270)+_0xa9543);}}}}else{if(_0x4b6a99){if(_0x5e9d47[_0x3d7c39]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0xa9543);_0x5ceca2===-0x1?_0x5ceca2=_0xa9543:_0x358aef||(_0x358aef=!0x0),_0x4b6a99=!0x1;}else{if(_0x2ee7b8){if(_0x5e9d47[_0x3d7c39]===0x1)_0x5ceca2===-0x1&&(_0x5ceca2=_0xa9543);else{if(_0x3d7c39===0x22&&_0x5ceca2!==-0x1)_0x2ee7b8=!0x1,_0x2323ca=_0xa9543;else{if(_0x3d7c39===0x5c)_0x4b6a99=!0x0;else throw new SyntaxError(_0x1e1cf3(0x270)+_0xa9543);}}}else{if(_0x3d7c39===0x22&&_0x20f9d4[_0x1e1cf3(0x1fb)](_0xa9543-0x1)===0x3d)_0x2ee7b8=!0x0;else{if(_0x2323ca===-0x1&&_0x5e9d47[_0x3d7c39]===0x1)_0x5ceca2===-0x1&&(_0x5ceca2=_0xa9543);else{if(_0x5ceca2!==-0x1&&(_0x3d7c39===0x20||_0x3d7c39===0x9))_0x2323ca===-0x1&&(_0x2323ca=_0xa9543);else{if(_0x3d7c39===0x3b||_0x3d7c39===0x2c){if(_0x5ceca2===-0x1)throw new SyntaxError(_0x1e1cf3(0x270)+_0xa9543);_0x2323ca===-0x1&&(_0x2323ca=_0xa9543);let _0x40b6ba=_0x20f9d4['slice'](_0x5ceca2,_0x2323ca);_0x358aef&&(_0x40b6ba=_0x40b6ba[_0x1e1cf3(0x209)](/\\/g,''),_0x358aef=!0x1),_0x2d874e(_0x302cbb,_0x2bfca8,_0x40b6ba),_0x3d7c39===0x2c&&(_0x2d874e(_0xf72d9b,_0x63bb18,_0x302cbb),_0x302cbb=Object[_0x1e1cf3(0x181)](null),_0x63bb18=void 0x0),_0x2bfca8=void 0x0,_0x5ceca2=_0x2323ca=-0x1;}else throw new SyntaxError(_0x1e1cf3(0x270)+_0xa9543);}}}}}}}if(_0x5ceca2===-0x1||_0x2ee7b8||_0x3d7c39===0x20||_0x3d7c39===0x9)throw new SyntaxError(_0x1e1cf3(0x174));_0x2323ca===-0x1&&(_0x2323ca=_0xa9543);const _0x6d7cfb=_0x20f9d4[_0x1e1cf3(0x226)](_0x5ceca2,_0x2323ca);return _0x63bb18===void 0x0?_0x2d874e(_0xf72d9b,_0x6d7cfb,_0x302cbb):(_0x2bfca8===void 0x0?_0x2d874e(_0x302cbb,_0x6d7cfb,!0x0):_0x358aef?_0x2d874e(_0x302cbb,_0x2bfca8,_0x6d7cfb['replace'](/\\/g,'')):_0x2d874e(_0x302cbb,_0x2bfca8,_0x6d7cfb),_0x2d874e(_0xf72d9b,_0x63bb18,_0x302cbb)),_0xf72d9b;}function _0x3c2d62(_0x3fca6b){const _0xe6f134=_0x5161;return Object[_0xe6f134(0x1dd)](_0x3fca6b)['map'](_0x192faa=>{const _0x228b62=_0xe6f134;let _0x3ee643=_0x3fca6b[_0x192faa];return Array[_0x228b62(0x27b)](_0x3ee643)||(_0x3ee643=[_0x3ee643]),_0x3ee643[_0x228b62(0x1b7)](_0x5b9d65=>[_0x192faa][_0x228b62(0x210)](Object[_0x228b62(0x1dd)](_0x5b9d65)[_0x228b62(0x1b7)](_0x551ba0=>{const _0x6f23b1=_0x228b62;let _0x5af39b=_0x5b9d65[_0x551ba0];return Array[_0x6f23b1(0x27b)](_0x5af39b)||(_0x5af39b=[_0x5af39b]),_0x5af39b['map'](_0x50ead3=>_0x50ead3===!0x0?_0x551ba0:_0x551ba0+'='+_0x50ead3)['join'](';\x20');}))[_0x228b62(0x239)](';\x20'))[_0x228b62(0x239)](',\x20');})[_0xe6f134(0x239)](',\x20');}return be={'format':_0x3c2d62,'parse':_0x3bc239},be;}var we,st;function Ie(){const _0x10fa45=_0x5c7db0;if(st)return we;st=0x1;const _0x2ada53=_0x460d20,_0x5b015c=_0x3f53a6,_0x99ecb=_0x123ba3,_0x384414=_0x4be752,_0x2562d5=_0x1b75ba,{randomBytes:_0x5c45c9,createHash:_0x574e61}=_0x5ac424,{Duplex:_0x3fbd06,Readable:_0x132cae}=_0x4d2870,{URL:_0x4dea04}=_0x94c963,_0x3bc3e7=he(),_0x1e9f88=dt(),_0x20a916=_t(),{isBlob:_0x2ea926}=ne(),{BINARY_TYPES:_0x470051,EMPTY_BUFFER:_0x4225bf,GUID:_0x5c5457,kForOnEventAttribute:_0x1f5abc,kListener:_0x177fbf,kStatusCode:_0xff85ba,kWebSocket:_0x2e4c40,NOOP:_0x358f6d}=V(),{EventTarget:{addEventListener:_0x15d990,removeEventListener:_0x36b97d}}=Kt(),{format:_0x501ec7,parse:_0x2bc0db}=pt(),{toBuffer:_0x47dab3}=ce(),_0x41ccf5=0x1e*0x3e8,_0x374cd5=Symbol(_0x10fa45(0x278)),_0x34b3a7=[0x8,0xd],_0x478cf5=[_0x10fa45(0x248),_0x10fa45(0x246),_0x10fa45(0x2de),_0x10fa45(0x2c9)],_0x46ee90=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x4dbf60 extends _0x2ada53{constructor(_0x4caf26,_0x13f718,_0xc2c06){const _0x41f97f=_0x10fa45;super(),this[_0x41f97f(0x177)]=_0x470051[0x0],this['_closeCode']=0x3ee,this[_0x41f97f(0x1ad)]=!0x1,this[_0x41f97f(0x23a)]=!0x1,this['_closeMessage']=_0x4225bf,this['_closeTimer']=null,this['_errorEmitted']=!0x1,this[_0x41f97f(0x19b)]={},this[_0x41f97f(0x2d0)]=!0x1,this[_0x41f97f(0x2f0)]='',this[_0x41f97f(0x24f)]=_0x4dbf60['CONNECTING'],this[_0x41f97f(0x231)]=null,this[_0x41f97f(0x294)]=null,this['_socket']=null,_0x4caf26!==null?(this[_0x41f97f(0x1d4)]=0x0,this[_0x41f97f(0x1ab)]=!0x1,this[_0x41f97f(0x184)]=0x0,_0x13f718===void 0x0?_0x13f718=[]:Array[_0x41f97f(0x27b)](_0x13f718)||(typeof _0x13f718=='object'&&_0x13f718!==null?(_0xc2c06=_0x13f718,_0x13f718=[]):_0x13f718=[_0x13f718]),_0xbe7d4d(this,_0x4caf26,_0x13f718,_0xc2c06)):(this[_0x41f97f(0x1d7)]=_0xc2c06['autoPong'],this['_isServer']=!0x0);}get[_0x10fa45(0x305)](){return this['_binaryType'];}set['binaryType'](_0x550abe){const _0x1f9b44=_0x10fa45;_0x470051[_0x1f9b44(0x30c)](_0x550abe)&&(this['_binaryType']=_0x550abe,this[_0x1f9b44(0x231)]&&(this[_0x1f9b44(0x231)][_0x1f9b44(0x177)]=_0x550abe));}get[_0x10fa45(0x282)](){const _0x5a5e79=_0x10fa45;return this[_0x5a5e79(0x22e)]?this[_0x5a5e79(0x22e)][_0x5a5e79(0x29e)][_0x5a5e79(0x22b)]+this[_0x5a5e79(0x294)][_0x5a5e79(0x287)]:this[_0x5a5e79(0x1d4)];}get[_0x10fa45(0x223)](){const _0xf1e30d=_0x10fa45;return Object['keys'](this[_0xf1e30d(0x19b)])[_0xf1e30d(0x239)]();}get[_0x10fa45(0x280)](){return this['_paused'];}get[_0x10fa45(0x21a)](){return null;}get[_0x10fa45(0x283)](){return null;}get[_0x10fa45(0x21f)](){return null;}get[_0x10fa45(0x2b1)](){return null;}get[_0x10fa45(0x28a)](){const _0x39b1c4=_0x10fa45;return this[_0x39b1c4(0x2f0)];}get['readyState'](){return this['_readyState'];}get[_0x10fa45(0x2e8)](){const _0x727e3c=_0x10fa45;return this[_0x727e3c(0x30f)];}[_0x10fa45(0x27c)](_0x312a3f,_0x5d0988,_0x2494d1){const _0x308eec=_0x10fa45,_0x438f84=new _0x1e9f88({'allowSynchronousEvents':_0x2494d1[_0x308eec(0x2e9)],'binaryType':this['binaryType'],'extensions':this[_0x308eec(0x19b)],'isServer':this['_isServer'],'maxPayload':_0x2494d1[_0x308eec(0x20a)],'skipUTF8Validation':_0x2494d1['skipUTF8Validation']}),_0x33477a=new _0x20a916(_0x312a3f,this['_extensions'],_0x2494d1[_0x308eec(0x310)]);this[_0x308eec(0x231)]=_0x438f84,this['_sender']=_0x33477a,this[_0x308eec(0x22e)]=_0x312a3f,_0x438f84[_0x2e4c40]=this,_0x33477a[_0x2e4c40]=this,_0x312a3f[_0x2e4c40]=this,_0x438f84['on'](_0x308eec(0x2ff),_0x112a14),_0x438f84['on'](_0x308eec(0x264),_0x485e8a),_0x438f84['on'](_0x308eec(0x303),_0x5829b8),_0x438f84['on'](_0x308eec(0x235),_0x35a8f2),_0x438f84['on'](_0x308eec(0x1af),_0x4c8f93),_0x438f84['on'](_0x308eec(0x1a0),_0x467421),_0x33477a[_0x308eec(0x283)]=_0x7681a0,_0x312a3f[_0x308eec(0x265)]&&_0x312a3f['setTimeout'](0x0),_0x312a3f[_0x308eec(0x23c)]&&_0x312a3f[_0x308eec(0x23c)](),_0x5d0988[_0x308eec(0x22b)]>0x0&&_0x312a3f[_0x308eec(0x30b)](_0x5d0988),_0x312a3f['on'](_0x308eec(0x247),_0x2bb410),_0x312a3f['on'](_0x308eec(0x1e8),_0x40beb0),_0x312a3f['on'](_0x308eec(0x1fe),_0x2797cf),_0x312a3f['on']('error',_0x82a448),this[_0x308eec(0x24f)]=_0x4dbf60[_0x308eec(0x246)],this[_0x308eec(0x22a)](_0x308eec(0x28b));}[_0x10fa45(0x199)](){const _0x6c9f1=_0x10fa45;if(!this[_0x6c9f1(0x22e)]){this[_0x6c9f1(0x24f)]=_0x4dbf60['CLOSED'],this[_0x6c9f1(0x22a)](_0x6c9f1(0x247),this['_closeCode'],this[_0x6c9f1(0x19f)]);return;}this['_extensions'][_0x3bc3e7['extensionName']]&&this['_extensions'][_0x3bc3e7[_0x6c9f1(0x1e9)]][_0x6c9f1(0x29d)](),this[_0x6c9f1(0x231)][_0x6c9f1(0x2d4)](),this[_0x6c9f1(0x24f)]=_0x4dbf60[_0x6c9f1(0x2c9)],this[_0x6c9f1(0x22a)](_0x6c9f1(0x247),this[_0x6c9f1(0x1d5)],this[_0x6c9f1(0x19f)]);}[_0x10fa45(0x247)](_0x5b47e5,_0x142d9b){const _0x2b9547=_0x10fa45;if(this['readyState']!==_0x4dbf60[_0x2b9547(0x2c9)]){if(this['readyState']===_0x4dbf60[_0x2b9547(0x248)]){_0x46476f(this,this[_0x2b9547(0x257)],_0x2b9547(0x289));return;}if(this[_0x2b9547(0x236)]===_0x4dbf60[_0x2b9547(0x2de)]){this[_0x2b9547(0x23a)]&&(this['_closeFrameReceived']||this['_receiver']['_writableState'][_0x2b9547(0x251)])&&this['_socket'][_0x2b9547(0x1fe)]();return;}this['_readyState']=_0x4dbf60[_0x2b9547(0x2de)],this[_0x2b9547(0x294)][_0x2b9547(0x247)](_0x5b47e5,_0x142d9b,!this[_0x2b9547(0x1ab)],_0x1aec2e=>{const _0x14147b=_0x2b9547;_0x1aec2e||(this[_0x14147b(0x23a)]=!0x0,(this[_0x14147b(0x1ad)]||this[_0x14147b(0x231)][_0x14147b(0x29e)]['errorEmitted'])&&this[_0x14147b(0x22e)][_0x14147b(0x1fe)]());}),_0x36e28c(this);}}[_0x10fa45(0x317)](){const _0x1113cc=_0x10fa45;this[_0x1113cc(0x236)]===_0x4dbf60['CONNECTING']||this[_0x1113cc(0x236)]===_0x4dbf60['CLOSED']||(this[_0x1113cc(0x2d0)]=!0x0,this[_0x1113cc(0x22e)][_0x1113cc(0x317)]());}['ping'](_0x24d94b,_0x493227,_0x5097d2){const _0x6554a2=_0x10fa45;if(this['readyState']===_0x4dbf60['CONNECTING'])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x24d94b==_0x6554a2(0x1b8)?(_0x5097d2=_0x24d94b,_0x24d94b=_0x493227=void 0x0):typeof _0x493227==_0x6554a2(0x1b8)&&(_0x5097d2=_0x493227,_0x493227=void 0x0),typeof _0x24d94b=='number'&&(_0x24d94b=_0x24d94b['toString']()),this[_0x6554a2(0x236)]!==_0x4dbf60[_0x6554a2(0x246)]){_0x561b4f(this,_0x24d94b,_0x5097d2);return;}_0x493227===void 0x0&&(_0x493227=!this[_0x6554a2(0x1ab)]),this[_0x6554a2(0x294)]['ping'](_0x24d94b||_0x4225bf,_0x493227,_0x5097d2);}[_0x10fa45(0x1a0)](_0x8eb732,_0x453086,_0x32ac8b){const _0x27dca3=_0x10fa45;if(this[_0x27dca3(0x236)]===_0x4dbf60['CONNECTING'])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x8eb732==_0x27dca3(0x1b8)?(_0x32ac8b=_0x8eb732,_0x8eb732=_0x453086=void 0x0):typeof _0x453086==_0x27dca3(0x1b8)&&(_0x32ac8b=_0x453086,_0x453086=void 0x0),typeof _0x8eb732==_0x27dca3(0x286)&&(_0x8eb732=_0x8eb732[_0x27dca3(0x18e)]()),this['readyState']!==_0x4dbf60['OPEN']){_0x561b4f(this,_0x8eb732,_0x32ac8b);return;}_0x453086===void 0x0&&(_0x453086=!this[_0x27dca3(0x1ab)]),this[_0x27dca3(0x294)][_0x27dca3(0x1a0)](_0x8eb732||_0x4225bf,_0x453086,_0x32ac8b);}['resume'](){const _0x1c7d86=_0x10fa45;this['readyState']===_0x4dbf60['CONNECTING']||this[_0x1c7d86(0x236)]===_0x4dbf60[_0x1c7d86(0x2c9)]||(this[_0x1c7d86(0x2d0)]=!0x1,this[_0x1c7d86(0x231)][_0x1c7d86(0x29e)][_0x1c7d86(0x261)]||this[_0x1c7d86(0x22e)]['resume']());}[_0x10fa45(0x267)](_0x555bb2,_0x2a944b,_0x22eb8d){const _0x5ad1f2=_0x10fa45;if(this['readyState']===_0x4dbf60[_0x5ad1f2(0x248)])throw new Error(_0x5ad1f2(0x2c4));if(typeof _0x2a944b==_0x5ad1f2(0x1b8)&&(_0x22eb8d=_0x2a944b,_0x2a944b={}),typeof _0x555bb2=='number'&&(_0x555bb2=_0x555bb2[_0x5ad1f2(0x18e)]()),this[_0x5ad1f2(0x236)]!==_0x4dbf60[_0x5ad1f2(0x246)]){_0x561b4f(this,_0x555bb2,_0x22eb8d);return;}const _0x50247b={'binary':typeof _0x555bb2!=_0x5ad1f2(0x1f8),'mask':!this[_0x5ad1f2(0x1ab)],'compress':!0x0,'fin':!0x0,..._0x2a944b};this[_0x5ad1f2(0x19b)][_0x3bc3e7[_0x5ad1f2(0x1e9)]]||(_0x50247b['compress']=!0x1),this[_0x5ad1f2(0x294)][_0x5ad1f2(0x267)](_0x555bb2||_0x4225bf,_0x50247b,_0x22eb8d);}['terminate'](){const _0x3b013b=_0x10fa45;if(this[_0x3b013b(0x236)]!==_0x4dbf60[_0x3b013b(0x2c9)]){if(this['readyState']===_0x4dbf60[_0x3b013b(0x248)]){_0x46476f(this,this[_0x3b013b(0x257)],_0x3b013b(0x289));return;}this[_0x3b013b(0x22e)]&&(this[_0x3b013b(0x24f)]=_0x4dbf60[_0x3b013b(0x2de)],this[_0x3b013b(0x22e)][_0x3b013b(0x281)]());}}}Object['defineProperty'](_0x4dbf60,_0x10fa45(0x248),{'enumerable':!0x0,'value':_0x478cf5['indexOf'](_0x10fa45(0x248))}),Object['defineProperty'](_0x4dbf60[_0x10fa45(0x219)],_0x10fa45(0x248),{'enumerable':!0x0,'value':_0x478cf5[_0x10fa45(0x243)](_0x10fa45(0x248))}),Object[_0x10fa45(0x227)](_0x4dbf60,_0x10fa45(0x246),{'enumerable':!0x0,'value':_0x478cf5['indexOf'](_0x10fa45(0x246))}),Object[_0x10fa45(0x227)](_0x4dbf60[_0x10fa45(0x219)],_0x10fa45(0x246),{'enumerable':!0x0,'value':_0x478cf5[_0x10fa45(0x243)](_0x10fa45(0x246))}),Object['defineProperty'](_0x4dbf60,'CLOSING',{'enumerable':!0x0,'value':_0x478cf5['indexOf']('CLOSING')}),Object[_0x10fa45(0x227)](_0x4dbf60[_0x10fa45(0x219)],_0x10fa45(0x2de),{'enumerable':!0x0,'value':_0x478cf5['indexOf'](_0x10fa45(0x2de))}),Object[_0x10fa45(0x227)](_0x4dbf60,_0x10fa45(0x2c9),{'enumerable':!0x0,'value':_0x478cf5[_0x10fa45(0x243)](_0x10fa45(0x2c9))}),Object['defineProperty'](_0x4dbf60[_0x10fa45(0x219)],'CLOSED',{'enumerable':!0x0,'value':_0x478cf5[_0x10fa45(0x243)](_0x10fa45(0x2c9))}),['binaryType',_0x10fa45(0x282),'extensions',_0x10fa45(0x280),_0x10fa45(0x28a),_0x10fa45(0x236),_0x10fa45(0x2e8)][_0x10fa45(0x19c)](_0x513507=>{const _0xcd0129=_0x10fa45;Object[_0xcd0129(0x227)](_0x4dbf60[_0xcd0129(0x219)],_0x513507,{'enumerable':!0x0});}),[_0x10fa45(0x28b),_0x10fa45(0x303),'close','message'][_0x10fa45(0x19c)](_0x2a63ae=>{const _0x29604c=_0x10fa45;Object[_0x29604c(0x227)](_0x4dbf60[_0x29604c(0x219)],'on'+_0x2a63ae,{'enumerable':!0x0,'get'(){const _0x318cc5=_0x29604c;for(const _0x4f2e71 of this[_0x318cc5(0x2e1)](_0x2a63ae))if(_0x4f2e71[_0x1f5abc])return _0x4f2e71[_0x177fbf];return null;},'set'(_0x410efc){const _0x40de84=_0x29604c;for(const _0x1887b7 of this['listeners'](_0x2a63ae))if(_0x1887b7[_0x1f5abc]){this[_0x40de84(0x222)](_0x2a63ae,_0x1887b7);break;}typeof _0x410efc=='function'&&this['addEventListener'](_0x2a63ae,_0x410efc,{[_0x1f5abc]:!0x0});}});}),_0x4dbf60[_0x10fa45(0x219)][_0x10fa45(0x19a)]=_0x15d990,_0x4dbf60[_0x10fa45(0x219)]['removeEventListener']=_0x36b97d,we=_0x4dbf60;function _0xbe7d4d(_0x401337,_0x506b6d,_0xadfe9f,_0x3065d5){const _0x2ef8d1=_0x10fa45,_0x5bd427={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x34b3a7[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x3065d5,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x2ef8d1(0x213),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x401337[_0x2ef8d1(0x1d7)]=_0x5bd427[_0x2ef8d1(0x16f)],!_0x34b3a7[_0x2ef8d1(0x30c)](_0x5bd427[_0x2ef8d1(0x16e)]))throw new RangeError(_0x2ef8d1(0x2bc)+_0x5bd427[_0x2ef8d1(0x16e)]+'\x20(supported\x20versions:\x20'+_0x34b3a7[_0x2ef8d1(0x239)](',\x20')+')');let _0xfbaf6f;if(_0x506b6d instanceof _0x4dea04)_0xfbaf6f=_0x506b6d;else try{_0xfbaf6f=new _0x4dea04(_0x506b6d);}catch{throw new SyntaxError(_0x2ef8d1(0x228)+_0x506b6d);}_0xfbaf6f[_0x2ef8d1(0x28a)]===_0x2ef8d1(0x2b3)?_0xfbaf6f[_0x2ef8d1(0x28a)]=_0x2ef8d1(0x26f):_0xfbaf6f[_0x2ef8d1(0x28a)]===_0x2ef8d1(0x30d)&&(_0xfbaf6f['protocol']=_0x2ef8d1(0x275)),_0x401337[_0x2ef8d1(0x30f)]=_0xfbaf6f[_0x2ef8d1(0x25e)];const _0x1396ab=_0xfbaf6f[_0x2ef8d1(0x28a)]===_0x2ef8d1(0x275),_0x52c700=_0xfbaf6f[_0x2ef8d1(0x28a)]===_0x2ef8d1(0x29f);let _0x7bd662;if(_0xfbaf6f[_0x2ef8d1(0x28a)]!==_0x2ef8d1(0x26f)&&!_0x1396ab&&!_0x52c700?_0x7bd662=_0x2ef8d1(0x2ae):_0x52c700&&!_0xfbaf6f['pathname']?_0x7bd662=_0x2ef8d1(0x1ea):_0xfbaf6f[_0x2ef8d1(0x274)]&&(_0x7bd662=_0x2ef8d1(0x1f0)),_0x7bd662){const _0x498f1c=new SyntaxError(_0x7bd662);if(_0x401337[_0x2ef8d1(0x184)]===0x0)throw _0x498f1c;_0x457584(_0x401337,_0x498f1c);return;}const _0x6ec935=_0x1396ab?0x1bb:0x50,_0x32c28e=_0x5c45c9(0x10)['toString'](_0x2ef8d1(0x1e6)),_0x3a0bc3=_0x1396ab?_0x5b015c[_0x2ef8d1(0x221)]:_0x99ecb['request'],_0x21dcc8=new Set();let _0x261c8b;if(_0x5bd427['createConnection']=_0x5bd427[_0x2ef8d1(0x20e)]||(_0x1396ab?_0x31738e:_0x2eb849),_0x5bd427[_0x2ef8d1(0x1c3)]=_0x5bd427[_0x2ef8d1(0x1c3)]||_0x6ec935,_0x5bd427[_0x2ef8d1(0x314)]=_0xfbaf6f[_0x2ef8d1(0x314)]||_0x6ec935,_0x5bd427[_0x2ef8d1(0x324)]=_0xfbaf6f[_0x2ef8d1(0x2f9)][_0x2ef8d1(0x193)]('[')?_0xfbaf6f[_0x2ef8d1(0x2f9)][_0x2ef8d1(0x226)](0x1,-0x1):_0xfbaf6f[_0x2ef8d1(0x2f9)],_0x5bd427[_0x2ef8d1(0x290)]={..._0x5bd427[_0x2ef8d1(0x290)],'Sec-WebSocket-Version':_0x5bd427[_0x2ef8d1(0x16e)],'Sec-WebSocket-Key':_0x32c28e,'Connection':_0x2ef8d1(0x1f3),'Upgrade':'websocket'},_0x5bd427[_0x2ef8d1(0x327)]=_0xfbaf6f[_0x2ef8d1(0x192)]+_0xfbaf6f[_0x2ef8d1(0x232)],_0x5bd427[_0x2ef8d1(0x300)]=_0x5bd427[_0x2ef8d1(0x2a7)],_0x5bd427[_0x2ef8d1(0x2f4)]&&(_0x261c8b=new _0x3bc3e7(_0x5bd427[_0x2ef8d1(0x2f4)]!==!0x0?_0x5bd427[_0x2ef8d1(0x2f4)]:{},!0x1,_0x5bd427['maxPayload']),_0x5bd427[_0x2ef8d1(0x290)][_0x2ef8d1(0x2e0)]=_0x501ec7({[_0x3bc3e7[_0x2ef8d1(0x1e9)]]:_0x261c8b[_0x2ef8d1(0x182)]()})),_0xadfe9f['length']){for(const _0x1c738b of _0xadfe9f){if(typeof _0x1c738b!='string'||!_0x46ee90[_0x2ef8d1(0x1a9)](_0x1c738b)||_0x21dcc8[_0x2ef8d1(0x1bb)](_0x1c738b))throw new SyntaxError(_0x2ef8d1(0x1df));_0x21dcc8[_0x2ef8d1(0x172)](_0x1c738b);}_0x5bd427[_0x2ef8d1(0x290)][_0x2ef8d1(0x2dd)]=_0xadfe9f[_0x2ef8d1(0x239)](',');}if(_0x5bd427[_0x2ef8d1(0x1b2)]&&(_0x5bd427[_0x2ef8d1(0x16e)]<0xd?_0x5bd427[_0x2ef8d1(0x290)][_0x2ef8d1(0x1f9)]=_0x5bd427['origin']:_0x5bd427[_0x2ef8d1(0x290)][_0x2ef8d1(0x24e)]=_0x5bd427['origin']),(_0xfbaf6f[_0x2ef8d1(0x309)]||_0xfbaf6f[_0x2ef8d1(0x189)])&&(_0x5bd427[_0x2ef8d1(0x2ac)]=_0xfbaf6f['username']+':'+_0xfbaf6f[_0x2ef8d1(0x189)]),_0x52c700){const _0x4d17df=_0x5bd427[_0x2ef8d1(0x327)][_0x2ef8d1(0x29b)](':');_0x5bd427[_0x2ef8d1(0x1c1)]=_0x4d17df[0x0],_0x5bd427['path']=_0x4d17df[0x1];}let _0x534fa3;if(_0x5bd427[_0x2ef8d1(0x2b4)]){if(_0x401337[_0x2ef8d1(0x184)]===0x0){_0x401337[_0x2ef8d1(0x2c3)]=_0x52c700,_0x401337[_0x2ef8d1(0x1cd)]=_0x1396ab,_0x401337[_0x2ef8d1(0x17a)]=_0x52c700?_0x5bd427[_0x2ef8d1(0x1c1)]:_0xfbaf6f[_0x2ef8d1(0x324)];const _0x146f92=_0x3065d5&&_0x3065d5[_0x2ef8d1(0x290)];if(_0x3065d5={..._0x3065d5,'headers':{}},_0x146f92){for(const [_0x193594,_0x43740e]of Object[_0x2ef8d1(0x2d2)](_0x146f92))_0x3065d5[_0x2ef8d1(0x290)][_0x193594[_0x2ef8d1(0x20d)]()]=_0x43740e;}}else{if(_0x401337['listenerCount'](_0x2ef8d1(0x2d1))===0x0){const _0x4a6ad0=_0x52c700?_0x401337[_0x2ef8d1(0x2c3)]?_0x5bd427[_0x2ef8d1(0x1c1)]===_0x401337[_0x2ef8d1(0x17a)]:!0x1:_0x401337[_0x2ef8d1(0x2c3)]?!0x1:_0xfbaf6f[_0x2ef8d1(0x324)]===_0x401337[_0x2ef8d1(0x17a)];(!_0x4a6ad0||_0x401337[_0x2ef8d1(0x1cd)]&&!_0x1396ab)&&(delete _0x5bd427[_0x2ef8d1(0x290)][_0x2ef8d1(0x25d)],delete _0x5bd427[_0x2ef8d1(0x290)][_0x2ef8d1(0x279)],_0x4a6ad0||delete _0x5bd427['headers'][_0x2ef8d1(0x324)],_0x5bd427[_0x2ef8d1(0x2ac)]=void 0x0);}}_0x5bd427[_0x2ef8d1(0x2ac)]&&!_0x3065d5[_0x2ef8d1(0x290)][_0x2ef8d1(0x25d)]&&(_0x3065d5[_0x2ef8d1(0x290)][_0x2ef8d1(0x25d)]=_0x2ef8d1(0x260)+Buffer['from'](_0x5bd427[_0x2ef8d1(0x2ac)])[_0x2ef8d1(0x18e)](_0x2ef8d1(0x1e6))),_0x534fa3=_0x401337[_0x2ef8d1(0x257)]=_0x3a0bc3(_0x5bd427),_0x401337[_0x2ef8d1(0x184)]&&_0x401337[_0x2ef8d1(0x22a)]('redirect',_0x401337['url'],_0x534fa3);}else _0x534fa3=_0x401337[_0x2ef8d1(0x257)]=_0x3a0bc3(_0x5bd427);_0x5bd427['timeout']&&_0x534fa3['on'](_0x2ef8d1(0x300),()=>{const _0x4b5e85=_0x2ef8d1;_0x46476f(_0x401337,_0x534fa3,_0x4b5e85(0x293));}),_0x534fa3['on']('error',_0x3ba865=>{const _0xa44a4a=_0x2ef8d1;_0x534fa3===null||_0x534fa3[_0x374cd5]||(_0x534fa3=_0x401337[_0xa44a4a(0x257)]=null,_0x457584(_0x401337,_0x3ba865));}),_0x534fa3['on'](_0x2ef8d1(0x316),_0x4122a0=>{const _0x27c1f5=_0x2ef8d1,_0x2f7a1f=_0x4122a0['headers']['location'],_0x45fd9d=_0x4122a0['statusCode'];if(_0x2f7a1f&&_0x5bd427[_0x27c1f5(0x2b4)]&&_0x45fd9d>=0x12c&&_0x45fd9d<0x190){if(++_0x401337['_redirects']>_0x5bd427[_0x27c1f5(0x31c)]){_0x46476f(_0x401337,_0x534fa3,_0x27c1f5(0x1b1));return;}_0x534fa3[_0x27c1f5(0x29a)]();let _0x5dda19;try{_0x5dda19=new _0x4dea04(_0x2f7a1f,_0x506b6d);}catch{const _0x214a3b=new SyntaxError(_0x27c1f5(0x228)+_0x2f7a1f);_0x457584(_0x401337,_0x214a3b);return;}_0xbe7d4d(_0x401337,_0x5dda19,_0xadfe9f,_0x3065d5);}else _0x401337['emit'](_0x27c1f5(0x2a9),_0x534fa3,_0x4122a0)||_0x46476f(_0x401337,_0x534fa3,_0x27c1f5(0x2ba)+_0x4122a0[_0x27c1f5(0x2a2)]);}),_0x534fa3['on'](_0x2ef8d1(0x27f),(_0x330182,_0x1ac516,_0x18287b)=>{const _0x50acde=_0x2ef8d1;if(_0x401337['emit']('upgrade',_0x330182),_0x401337[_0x50acde(0x236)]!==_0x4dbf60['CONNECTING'])return;_0x534fa3=_0x401337[_0x50acde(0x257)]=null;const _0x520362=_0x330182[_0x50acde(0x290)][_0x50acde(0x27f)];if(_0x520362===void 0x0||_0x520362[_0x50acde(0x20d)]()!==_0x50acde(0x22d)){_0x46476f(_0x401337,_0x1ac516,_0x50acde(0x2f5));return;}const _0x53cb8f=_0x574e61(_0x50acde(0x2ef))[_0x50acde(0x2b8)](_0x32c28e+_0x5c5457)[_0x50acde(0x207)](_0x50acde(0x1e6));if(_0x330182['headers'][_0x50acde(0x229)]!==_0x53cb8f){_0x46476f(_0x401337,_0x1ac516,'Invalid\x20Sec-WebSocket-Accept\x20header');return;}const _0x4248cd=_0x330182[_0x50acde(0x290)]['sec-websocket-protocol'];let _0x57e254;if(_0x4248cd!==void 0x0?_0x21dcc8[_0x50acde(0x26a)]?_0x21dcc8[_0x50acde(0x1bb)](_0x4248cd)||(_0x57e254=_0x50acde(0x176)):_0x57e254=_0x50acde(0x2bf):_0x21dcc8[_0x50acde(0x26a)]&&(_0x57e254=_0x50acde(0x298)),_0x57e254){_0x46476f(_0x401337,_0x1ac516,_0x57e254);return;}_0x4248cd&&(_0x401337[_0x50acde(0x2f0)]=_0x4248cd);const _0x3e5da5=_0x330182[_0x50acde(0x290)][_0x50acde(0x1dc)];if(_0x3e5da5!==void 0x0){if(!_0x261c8b){_0x46476f(_0x401337,_0x1ac516,'Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested');return;}let _0x5dabb6;try{_0x5dabb6=_0x2bc0db(_0x3e5da5);}catch{_0x46476f(_0x401337,_0x1ac516,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0xa10e7d=Object['keys'](_0x5dabb6);if(_0xa10e7d[_0x50acde(0x22b)]!==0x1||_0xa10e7d[0x0]!==_0x3bc3e7[_0x50acde(0x1e9)]){_0x46476f(_0x401337,_0x1ac516,_0x50acde(0x2a1));return;}try{_0x261c8b[_0x50acde(0x2ec)](_0x5dabb6[_0x3bc3e7[_0x50acde(0x1e9)]]);}catch{_0x46476f(_0x401337,_0x1ac516,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}_0x401337[_0x50acde(0x19b)][_0x3bc3e7['extensionName']]=_0x261c8b;}_0x401337[_0x50acde(0x27c)](_0x1ac516,_0x18287b,{'allowSynchronousEvents':_0x5bd427[_0x50acde(0x2e9)],'generateMask':_0x5bd427[_0x50acde(0x310)],'maxPayload':_0x5bd427[_0x50acde(0x20a)],'skipUTF8Validation':_0x5bd427['skipUTF8Validation']});}),_0x5bd427[_0x2ef8d1(0x1b5)]?_0x5bd427['finishRequest'](_0x534fa3,_0x401337):_0x534fa3[_0x2ef8d1(0x1fe)]();}function _0x457584(_0x37ac00,_0x15b28d){const _0xe8720c=_0x10fa45;_0x37ac00['_readyState']=_0x4dbf60[_0xe8720c(0x2de)],_0x37ac00[_0xe8720c(0x2b7)]=!0x0,_0x37ac00['emit'](_0xe8720c(0x303),_0x15b28d),_0x37ac00[_0xe8720c(0x199)]();}function _0x2eb849(_0xc7f553){const _0x20a480=_0x10fa45;return _0xc7f553[_0x20a480(0x327)]=_0xc7f553[_0x20a480(0x1c1)],_0x384414['connect'](_0xc7f553);}function _0x31738e(_0x5416a4){const _0x29e51e=_0x10fa45;return _0x5416a4['path']=void 0x0,!_0x5416a4[_0x29e51e(0x2f3)]&&_0x5416a4[_0x29e51e(0x2f3)]!==''&&(_0x5416a4[_0x29e51e(0x2f3)]=_0x384414['isIP'](_0x5416a4['host'])?'':_0x5416a4[_0x29e51e(0x324)]),_0x2562d5[_0x29e51e(0x2a6)](_0x5416a4);}function _0x46476f(_0x16d538,_0x2a7d5f,_0x2792bc){const _0x49e823=_0x10fa45;_0x16d538['_readyState']=_0x4dbf60['CLOSING'];const _0x598e7a=new Error(_0x2792bc);Error[_0x49e823(0x297)](_0x598e7a,_0x46476f),_0x2a7d5f['setHeader']?(_0x2a7d5f[_0x374cd5]=!0x0,_0x2a7d5f[_0x49e823(0x29a)](),_0x2a7d5f['socket']&&!_0x2a7d5f['socket'][_0x49e823(0x31d)]&&_0x2a7d5f['socket'][_0x49e823(0x281)](),process[_0x49e823(0x1c6)](_0x457584,_0x16d538,_0x598e7a)):(_0x2a7d5f[_0x49e823(0x281)](_0x598e7a),_0x2a7d5f[_0x49e823(0x2af)](_0x49e823(0x303),_0x16d538[_0x49e823(0x22a)][_0x49e823(0x2db)](_0x16d538,'error')),_0x2a7d5f[_0x49e823(0x2af)](_0x49e823(0x247),_0x16d538[_0x49e823(0x199)][_0x49e823(0x2db)](_0x16d538)));}function _0x561b4f(_0xddaad2,_0x55a876,_0x59540a){const _0x3eb762=_0x10fa45;if(_0x55a876){const _0x33a42f=_0x2ea926(_0x55a876)?_0x55a876[_0x3eb762(0x26a)]:_0x47dab3(_0x55a876)[_0x3eb762(0x22b)];_0xddaad2[_0x3eb762(0x22e)]?_0xddaad2[_0x3eb762(0x294)][_0x3eb762(0x287)]+=_0x33a42f:_0xddaad2['_bufferedAmount']+=_0x33a42f;}if(_0x59540a){const _0x178a00=new Error(_0x3eb762(0x29c)+_0xddaad2[_0x3eb762(0x236)]+'\x20('+_0x478cf5[_0xddaad2[_0x3eb762(0x236)]]+')');process[_0x3eb762(0x1c6)](_0x59540a,_0x178a00);}}function _0x112a14(_0x2bc80b,_0x33c733){const _0x90ffc1=_0x10fa45,_0xb3963=this[_0x2e4c40];_0xb3963[_0x90ffc1(0x1ad)]=!0x0,_0xb3963['_closeMessage']=_0x33c733,_0xb3963[_0x90ffc1(0x1d5)]=_0x2bc80b,_0xb3963[_0x90ffc1(0x22e)][_0x2e4c40]!==void 0x0&&(_0xb3963[_0x90ffc1(0x22e)][_0x90ffc1(0x222)](_0x90ffc1(0x1e8),_0x40beb0),process[_0x90ffc1(0x1c6)](_0x526454,_0xb3963[_0x90ffc1(0x22e)]),_0x2bc80b===0x3ed?_0xb3963[_0x90ffc1(0x247)]():_0xb3963[_0x90ffc1(0x247)](_0x2bc80b,_0x33c733));}function _0x485e8a(){const _0x43622a=_0x10fa45,_0x356c78=this[_0x2e4c40];_0x356c78['isPaused']||_0x356c78[_0x43622a(0x22e)][_0x43622a(0x25f)]();}function _0x5829b8(_0x2d582b){const _0xb46ae1=_0x10fa45,_0x4da7f8=this[_0x2e4c40];_0x4da7f8[_0xb46ae1(0x22e)][_0x2e4c40]!==void 0x0&&(_0x4da7f8[_0xb46ae1(0x22e)][_0xb46ae1(0x222)](_0xb46ae1(0x1e8),_0x40beb0),process['nextTick'](_0x526454,_0x4da7f8[_0xb46ae1(0x22e)]),_0x4da7f8[_0xb46ae1(0x247)](_0x2d582b[_0xff85ba])),_0x4da7f8[_0xb46ae1(0x2b7)]||(_0x4da7f8[_0xb46ae1(0x2b7)]=!0x0,_0x4da7f8[_0xb46ae1(0x22a)](_0xb46ae1(0x303),_0x2d582b));}function _0x379555(){this[_0x2e4c40]['emitClose']();}function _0x35a8f2(_0x48ebfb,_0x24bd15){const _0xf117e8=_0x10fa45;this[_0x2e4c40][_0xf117e8(0x22a)]('message',_0x48ebfb,_0x24bd15);}function _0x4c8f93(_0xc9e281){const _0x1a542b=_0x10fa45,_0x2b474c=this[_0x2e4c40];_0x2b474c[_0x1a542b(0x1d7)]&&_0x2b474c['pong'](_0xc9e281,!this[_0x1a542b(0x1ab)],_0x358f6d),_0x2b474c[_0x1a542b(0x22a)](_0x1a542b(0x1af),_0xc9e281);}function _0x467421(_0x411cb8){const _0x108465=_0x10fa45;this[_0x2e4c40]['emit'](_0x108465(0x1a0),_0x411cb8);}function _0x526454(_0x5a9842){const _0x504bc3=_0x10fa45;_0x5a9842[_0x504bc3(0x25f)]();}function _0x7681a0(_0x357cc9){const _0x57c5d3=_0x10fa45,_0x10a1d3=this[_0x2e4c40];_0x10a1d3[_0x57c5d3(0x236)]!==_0x4dbf60[_0x57c5d3(0x2c9)]&&(_0x10a1d3[_0x57c5d3(0x236)]===_0x4dbf60[_0x57c5d3(0x246)]&&(_0x10a1d3[_0x57c5d3(0x24f)]=_0x4dbf60[_0x57c5d3(0x2de)],_0x36e28c(_0x10a1d3)),this[_0x57c5d3(0x22e)][_0x57c5d3(0x1fe)](),_0x10a1d3[_0x57c5d3(0x2b7)]||(_0x10a1d3[_0x57c5d3(0x2b7)]=!0x0,_0x10a1d3['emit']('error',_0x357cc9)));}function _0x36e28c(_0x595cfc){const _0x3a285a=_0x10fa45;_0x595cfc[_0x3a285a(0x1c4)]=setTimeout(_0x595cfc[_0x3a285a(0x22e)]['destroy'][_0x3a285a(0x2db)](_0x595cfc[_0x3a285a(0x22e)]),_0x41ccf5);}function _0x2bb410(){const _0x15946b=_0x10fa45,_0x54d757=this[_0x2e4c40];this[_0x15946b(0x222)](_0x15946b(0x247),_0x2bb410),this[_0x15946b(0x222)](_0x15946b(0x1e8),_0x40beb0),this[_0x15946b(0x222)](_0x15946b(0x1fe),_0x2797cf),_0x54d757[_0x15946b(0x24f)]=_0x4dbf60['CLOSING'];let _0xa103df;!this[_0x15946b(0x1ba)][_0x15946b(0x30a)]&&!_0x54d757[_0x15946b(0x1ad)]&&!_0x54d757[_0x15946b(0x231)]['_writableState'][_0x15946b(0x251)]&&(_0xa103df=_0x54d757[_0x15946b(0x22e)][_0x15946b(0x2cd)]())!==null&&_0x54d757[_0x15946b(0x231)][_0x15946b(0x292)](_0xa103df),_0x54d757[_0x15946b(0x231)][_0x15946b(0x1fe)](),this[_0x2e4c40]=void 0x0,clearTimeout(_0x54d757[_0x15946b(0x1c4)]),_0x54d757['_receiver'][_0x15946b(0x29e)][_0x15946b(0x194)]||_0x54d757['_receiver']['_writableState'][_0x15946b(0x251)]?_0x54d757[_0x15946b(0x199)]():(_0x54d757[_0x15946b(0x231)]['on'](_0x15946b(0x303),_0x379555),_0x54d757['_receiver']['on']('finish',_0x379555));}function _0x40beb0(_0x2fadc3){const _0x3c9b9f=_0x10fa45;this[_0x2e4c40]['_receiver'][_0x3c9b9f(0x292)](_0x2fadc3)||this[_0x3c9b9f(0x317)]();}function _0x2797cf(){const _0x50d320=_0x10fa45,_0x811e00=this[_0x2e4c40];_0x811e00['_readyState']=_0x4dbf60[_0x50d320(0x2de)],_0x811e00[_0x50d320(0x231)][_0x50d320(0x1fe)](),this[_0x50d320(0x1fe)]();}function _0x82a448(){const _0x33276b=_0x10fa45,_0x44804e=this[_0x2e4c40];this['removeListener'](_0x33276b(0x303),_0x82a448),this['on'](_0x33276b(0x303),_0x358f6d),_0x44804e&&(_0x44804e[_0x33276b(0x24f)]=_0x4dbf60[_0x33276b(0x2de)],this[_0x33276b(0x281)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x89f805}=_0x4d2870;function _0x472adb(_0x3794c4){const _0x17365c=_0x5161;_0x3794c4[_0x17365c(0x22a)](_0x17365c(0x247));}function _0xa5c889(){const _0x139e58=_0x5161;!this[_0x139e58(0x31d)]&&this[_0x139e58(0x29e)][_0x139e58(0x194)]&&this[_0x139e58(0x281)]();}function _0x4b41fd(_0xe7fe8d){const _0x505bbf=_0x5161;this[_0x505bbf(0x222)](_0x505bbf(0x303),_0x4b41fd),this[_0x505bbf(0x281)](),this['listenerCount'](_0x505bbf(0x303))===0x0&&this['emit'](_0x505bbf(0x303),_0xe7fe8d);}function _0x2ad6bd(_0x5ecce7,_0x3864c5){const _0x899128=_0x5161;let _0x2b007c=!0x0;const _0x1697ef=new _0x89f805({..._0x3864c5,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x5ecce7['on'](_0x899128(0x235),function(_0xcae88e,_0x3d4904){const _0x223f95=_0x899128,_0xc80f87=!_0x3d4904&&_0x1697ef['_readableState'][_0x223f95(0x170)]?_0xcae88e['toString']():_0xcae88e;_0x1697ef['push'](_0xc80f87)||_0x5ecce7['pause']();}),_0x5ecce7[_0x899128(0x2af)](_0x899128(0x303),function(_0x3c80ba){_0x1697ef['destroyed']||(_0x2b007c=!0x1,_0x1697ef['destroy'](_0x3c80ba));}),_0x5ecce7[_0x899128(0x2af)](_0x899128(0x247),function(){const _0x31b899=_0x899128;_0x1697ef[_0x31b899(0x31d)]||_0x1697ef[_0x31b899(0x2df)](null);}),_0x1697ef[_0x899128(0x26b)]=function(_0x179df6,_0x29cbdf){const _0x2676da=_0x899128;if(_0x5ecce7[_0x2676da(0x236)]===_0x5ecce7['CLOSED']){_0x29cbdf(_0x179df6),process[_0x2676da(0x1c6)](_0x472adb,_0x1697ef);return;}let _0x548e23=!0x1;_0x5ecce7[_0x2676da(0x2af)]('error',function(_0x345384){_0x548e23=!0x0,_0x29cbdf(_0x345384);}),_0x5ecce7['once'](_0x2676da(0x247),function(){const _0xc2abe1=_0x2676da;_0x548e23||_0x29cbdf(_0x179df6),process[_0xc2abe1(0x1c6)](_0x472adb,_0x1697ef);}),_0x2b007c&&_0x5ecce7[_0x2676da(0x23f)]();},_0x1697ef[_0x899128(0x302)]=function(_0xfd6288){const _0xf5448a=_0x899128;if(_0x5ecce7[_0xf5448a(0x236)]===_0x5ecce7[_0xf5448a(0x248)]){_0x5ecce7[_0xf5448a(0x2af)]('open',function(){_0x1697ef['_final'](_0xfd6288);});return;}_0x5ecce7[_0xf5448a(0x22e)]!==null&&(_0x5ecce7[_0xf5448a(0x22e)][_0xf5448a(0x29e)]['finished']?(_0xfd6288(),_0x1697ef[_0xf5448a(0x1ba)][_0xf5448a(0x30a)]&&_0x1697ef[_0xf5448a(0x281)]()):(_0x5ecce7[_0xf5448a(0x22e)][_0xf5448a(0x2af)](_0xf5448a(0x308),function(){_0xfd6288();}),_0x5ecce7['close']()));},_0x1697ef['_read']=function(){const _0x4c278a=_0x899128;_0x5ecce7[_0x4c278a(0x280)]&&_0x5ecce7[_0x4c278a(0x25f)]();},_0x1697ef[_0x899128(0x326)]=function(_0x56443e,_0x39f06d,_0x40a8dd){const _0x15147a=_0x899128;if(_0x5ecce7[_0x15147a(0x236)]===_0x5ecce7[_0x15147a(0x248)]){_0x5ecce7[_0x15147a(0x2af)]('open',function(){const _0x5c17d8=_0x15147a;_0x1697ef[_0x5c17d8(0x326)](_0x56443e,_0x39f06d,_0x40a8dd);});return;}_0x5ecce7[_0x15147a(0x267)](_0x56443e,_0x40a8dd);},_0x1697ef['on']('end',_0xa5c889),_0x1697ef['on'](_0x899128(0x303),_0x4b41fd),_0x1697ef;}return Oe=_0x2ad6bd,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=Wt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x77295a}=ne();function _0x3c8ae6(_0x2c1f4c){const _0x1ae0f6=_0x5161,_0x3d03e1=new Set();let _0x4d914f=-0x1,_0x7912b6=-0x1,_0x3442c8=0x0;for(_0x3442c8;_0x3442c8<_0x2c1f4c[_0x1ae0f6(0x22b)];_0x3442c8++){const _0x45f8f9=_0x2c1f4c[_0x1ae0f6(0x1fb)](_0x3442c8);if(_0x7912b6===-0x1&&_0x77295a[_0x45f8f9]===0x1)_0x4d914f===-0x1&&(_0x4d914f=_0x3442c8);else{if(_0x3442c8!==0x0&&(_0x45f8f9===0x20||_0x45f8f9===0x9))_0x7912b6===-0x1&&_0x4d914f!==-0x1&&(_0x7912b6=_0x3442c8);else{if(_0x45f8f9===0x2c){if(_0x4d914f===-0x1)throw new SyntaxError(_0x1ae0f6(0x270)+_0x3442c8);_0x7912b6===-0x1&&(_0x7912b6=_0x3442c8);const _0x4f929f=_0x2c1f4c[_0x1ae0f6(0x226)](_0x4d914f,_0x7912b6);if(_0x3d03e1[_0x1ae0f6(0x1bb)](_0x4f929f))throw new SyntaxError(_0x1ae0f6(0x2a5)+_0x4f929f+_0x1ae0f6(0x1cc));_0x3d03e1[_0x1ae0f6(0x172)](_0x4f929f),_0x4d914f=_0x7912b6=-0x1;}else throw new SyntaxError(_0x1ae0f6(0x270)+_0x3442c8);}}}if(_0x4d914f===-0x1||_0x7912b6!==-0x1)throw new SyntaxError('Unexpected\x20end\x20of\x20input');const _0x50d744=_0x2c1f4c[_0x1ae0f6(0x226)](_0x4d914f,_0x3442c8);if(_0x3d03e1[_0x1ae0f6(0x1bb)](_0x50d744))throw new SyntaxError('The\x20\x22'+_0x50d744+_0x1ae0f6(0x1cc));return _0x3d03e1[_0x1ae0f6(0x172)](_0x50d744),_0x3d03e1;}return Ce={'parse':_0x3c8ae6},Ce;}var Te,ot;function er(){const _0x3bdda5=_0x5c7db0;if(ot)return Te;ot=0x1;const _0x23b580=_0x460d20,_0x518a51=_0x123ba3,{Duplex:_0x3509f5}=_0x4d2870,{createHash:_0x21715e}=_0x5ac424,_0x140bff=pt(),_0x44766e=he(),_0x2546af=Jt(),_0x24ba8d=Ie(),{GUID:_0x162011,kWebSocket:_0x433684}=V(),_0x9d9032=/^[+/0-9A-Za-z]{22}==$/,_0x370168=0x0,_0x53a375=0x1,_0x242b34=0x2;class _0x1415e2 extends _0x23b580{constructor(_0x2f7870,_0xe6a460){const _0xff0a5a=_0x5161;if(super(),_0x2f7870={'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':_0x24ba8d,..._0x2f7870},_0x2f7870[_0xff0a5a(0x314)]==null&&!_0x2f7870['server']&&!_0x2f7870[_0xff0a5a(0x173)]||_0x2f7870[_0xff0a5a(0x314)]!=null&&(_0x2f7870[_0xff0a5a(0x198)]||_0x2f7870['noServer'])||_0x2f7870[_0xff0a5a(0x198)]&&_0x2f7870[_0xff0a5a(0x173)])throw new TypeError(_0xff0a5a(0x25b));if(_0x2f7870[_0xff0a5a(0x314)]!=null?(this[_0xff0a5a(0x212)]=_0x518a51[_0xff0a5a(0x32a)]((_0x5c36ab,_0x9403d8)=>{const _0x1923e8=_0xff0a5a,_0xddcf04=_0x518a51[_0x1923e8(0x2d6)][0x1aa];_0x9403d8[_0x1923e8(0x321)](0x1aa,{'Content-Length':_0xddcf04[_0x1923e8(0x22b)],'Content-Type':_0x1923e8(0x1b3)}),_0x9403d8[_0x1923e8(0x1fe)](_0xddcf04);}),this['_server'][_0xff0a5a(0x21d)](_0x2f7870[_0xff0a5a(0x314)],_0x2f7870['host'],_0x2f7870[_0xff0a5a(0x2c6)],_0xe6a460)):_0x2f7870[_0xff0a5a(0x198)]&&(this['_server']=_0x2f7870['server']),this[_0xff0a5a(0x212)]){const _0x1c2056=this[_0xff0a5a(0x22a)]['bind'](this,_0xff0a5a(0x322));this[_0xff0a5a(0x2a4)]=_0x56acbc(this[_0xff0a5a(0x212)],{'listening':this['emit'][_0xff0a5a(0x2db)](this,_0xff0a5a(0x1fc)),'error':this[_0xff0a5a(0x22a)]['bind'](this,_0xff0a5a(0x303)),'upgrade':(_0x19e497,_0x2195ca,_0x3c6048)=>{const _0x57bb03=_0xff0a5a;this[_0x57bb03(0x1b0)](_0x19e497,_0x2195ca,_0x3c6048,_0x1c2056);}});}_0x2f7870[_0xff0a5a(0x2f4)]===!0x0&&(_0x2f7870[_0xff0a5a(0x2f4)]={}),_0x2f7870[_0xff0a5a(0x276)]&&(this[_0xff0a5a(0x1db)]=new Set(),this[_0xff0a5a(0x319)]=!0x1),this['options']=_0x2f7870,this[_0xff0a5a(0x2ea)]=_0x370168;}[_0x3bdda5(0x215)](){const _0x166610=_0x3bdda5;if(this[_0x166610(0x2f6)][_0x166610(0x173)])throw new Error('The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode');return this[_0x166610(0x212)]?this[_0x166610(0x212)][_0x166610(0x215)]():null;}[_0x3bdda5(0x247)](_0x51bc17){const _0x25bbe8=_0x3bdda5;if(this['_state']===_0x242b34){_0x51bc17&&this['once'](_0x25bbe8(0x247),()=>{const _0x55ed9a=_0x25bbe8;_0x51bc17(new Error(_0x55ed9a(0x28c)));}),process[_0x25bbe8(0x1c6)](_0x15967a,this);return;}if(_0x51bc17&&this[_0x25bbe8(0x2af)](_0x25bbe8(0x247),_0x51bc17),this[_0x25bbe8(0x2ea)]!==_0x53a375){if(this['_state']=_0x53a375,this[_0x25bbe8(0x2f6)]['noServer']||this[_0x25bbe8(0x2f6)][_0x25bbe8(0x198)])this[_0x25bbe8(0x212)]&&(this[_0x25bbe8(0x2a4)](),this[_0x25bbe8(0x2a4)]=this['_server']=null),this['clients']?this['clients'][_0x25bbe8(0x26a)]?this[_0x25bbe8(0x319)]=!0x0:process[_0x25bbe8(0x1c6)](_0x15967a,this):process[_0x25bbe8(0x1c6)](_0x15967a,this);else{const _0x420f46=this['_server'];this['_removeListeners'](),this[_0x25bbe8(0x2a4)]=this[_0x25bbe8(0x212)]=null,_0x420f46[_0x25bbe8(0x247)](()=>{_0x15967a(this);});}}}[_0x3bdda5(0x263)](_0x43c9b1){const _0x1ba5ef=_0x3bdda5;if(this[_0x1ba5ef(0x2f6)]['path']){const _0x1210f1=_0x43c9b1[_0x1ba5ef(0x2e8)][_0x1ba5ef(0x243)]('?');if((_0x1210f1!==-0x1?_0x43c9b1[_0x1ba5ef(0x2e8)][_0x1ba5ef(0x226)](0x0,_0x1210f1):_0x43c9b1[_0x1ba5ef(0x2e8)])!==this[_0x1ba5ef(0x2f6)][_0x1ba5ef(0x327)])return!0x1;}return!0x0;}[_0x3bdda5(0x1b0)](_0x25a912,_0xa7020d,_0x1ebc91,_0x5cd879){const _0x2df4cb=_0x3bdda5;_0xa7020d['on'](_0x2df4cb(0x303),_0x33b42e);const _0xf178fc=_0x25a912[_0x2df4cb(0x290)][_0x2df4cb(0x1fa)],_0x523c4f=_0x25a912[_0x2df4cb(0x290)][_0x2df4cb(0x27f)],_0x171cad=+_0x25a912[_0x2df4cb(0x290)][_0x2df4cb(0x2d9)];if(_0x25a912[_0x2df4cb(0x2cb)]!==_0x2df4cb(0x213)){_0x598a86(this,_0x25a912,_0xa7020d,0x195,_0x2df4cb(0x206));return;}if(_0x523c4f===void 0x0||_0x523c4f[_0x2df4cb(0x20d)]()!==_0x2df4cb(0x22d)){_0x598a86(this,_0x25a912,_0xa7020d,0x190,'Invalid\x20Upgrade\x20header');return;}if(_0xf178fc===void 0x0||!_0x9d9032['test'](_0xf178fc)){_0x598a86(this,_0x25a912,_0xa7020d,0x190,_0x2df4cb(0x1bf));return;}if(_0x171cad!==0xd&&_0x171cad!==0x8){_0x598a86(this,_0x25a912,_0xa7020d,0x190,_0x2df4cb(0x1ce),{'Sec-WebSocket-Version':'13,\x208'});return;}if(!this[_0x2df4cb(0x263)](_0x25a912)){_0x40255d(_0xa7020d,0x190);return;}const _0x4a606f=_0x25a912[_0x2df4cb(0x290)]['sec-websocket-protocol'];let _0x199869=new Set();if(_0x4a606f!==void 0x0)try{_0x199869=_0x2546af[_0x2df4cb(0x28d)](_0x4a606f);}catch{_0x598a86(this,_0x25a912,_0xa7020d,0x190,_0x2df4cb(0x2fb));return;}const _0x19d053=_0x25a912[_0x2df4cb(0x290)]['sec-websocket-extensions'],_0x13e104={};if(this[_0x2df4cb(0x2f6)]['perMessageDeflate']&&_0x19d053!==void 0x0){const _0x24d6a5=new _0x44766e(this[_0x2df4cb(0x2f6)][_0x2df4cb(0x2f4)],!0x0,this[_0x2df4cb(0x2f6)][_0x2df4cb(0x20a)]);try{const _0x43d7ec=_0x140bff[_0x2df4cb(0x28d)](_0x19d053);_0x43d7ec[_0x44766e['extensionName']]&&(_0x24d6a5[_0x2df4cb(0x2ec)](_0x43d7ec[_0x44766e['extensionName']]),_0x13e104[_0x44766e[_0x2df4cb(0x1e9)]]=_0x24d6a5);}catch{_0x598a86(this,_0x25a912,_0xa7020d,0x190,_0x2df4cb(0x21e));return;}}if(this[_0x2df4cb(0x2f6)][_0x2df4cb(0x1ed)]){const _0x155d7c={'origin':_0x25a912[_0x2df4cb(0x290)][''+(_0x171cad===0x8?_0x2df4cb(0x1e7):_0x2df4cb(0x1b2))],'secure':!!(_0x25a912[_0x2df4cb(0x2bb)][_0x2df4cb(0x214)]||_0x25a912[_0x2df4cb(0x2bb)][_0x2df4cb(0x2cf)]),'req':_0x25a912};if(this[_0x2df4cb(0x2f6)]['verifyClient']['length']===0x2){this['options']['verifyClient'](_0x155d7c,(_0x1ad664,_0x1d1972,_0x3c9ceb,_0x18bfdf)=>{const _0x38bd64=_0x2df4cb;if(!_0x1ad664)return _0x40255d(_0xa7020d,_0x1d1972||0x191,_0x3c9ceb,_0x18bfdf);this[_0x38bd64(0x25c)](_0x13e104,_0xf178fc,_0x199869,_0x25a912,_0xa7020d,_0x1ebc91,_0x5cd879);});return;}if(!this[_0x2df4cb(0x2f6)][_0x2df4cb(0x1ed)](_0x155d7c))return _0x40255d(_0xa7020d,0x191);}this[_0x2df4cb(0x25c)](_0x13e104,_0xf178fc,_0x199869,_0x25a912,_0xa7020d,_0x1ebc91,_0x5cd879);}[_0x3bdda5(0x25c)](_0x3bee98,_0x32241b,_0x55f17e,_0x473da3,_0x2fda8c,_0x37c4af,_0x1fba21){const _0x5317d3=_0x3bdda5;if(!_0x2fda8c[_0x5317d3(0x2d8)]||!_0x2fda8c['writable'])return _0x2fda8c[_0x5317d3(0x281)]();if(_0x2fda8c[_0x433684])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this[_0x5317d3(0x2ea)]>_0x370168)return _0x40255d(_0x2fda8c,0x1f7);const _0x37f68b=[_0x5317d3(0x23e),_0x5317d3(0x2b9),'Connection:\x20Upgrade','Sec-WebSocket-Accept:\x20'+_0x21715e(_0x5317d3(0x2ef))['update'](_0x32241b+_0x162011)['digest']('base64')],_0x477e98=new this['options'][(_0x5317d3(0x1b4))](null,void 0x0,this['options']);if(_0x55f17e['size']){const _0x3033ec=this['options'][_0x5317d3(0x2a3)]?this[_0x5317d3(0x2f6)][_0x5317d3(0x2a3)](_0x55f17e,_0x473da3):_0x55f17e[_0x5317d3(0x197)]()[_0x5317d3(0x2fe)]()[_0x5317d3(0x312)];_0x3033ec&&(_0x37f68b[_0x5317d3(0x2df)](_0x5317d3(0x1ae)+_0x3033ec),_0x477e98[_0x5317d3(0x2f0)]=_0x3033ec);}if(_0x3bee98[_0x44766e['extensionName']]){const _0x28909f=_0x3bee98[_0x44766e['extensionName']][_0x5317d3(0x1a5)],_0x120ecf=_0x140bff['format']({[_0x44766e[_0x5317d3(0x1e9)]]:[_0x28909f]});_0x37f68b[_0x5317d3(0x2df)](_0x5317d3(0x266)+_0x120ecf),_0x477e98[_0x5317d3(0x19b)]=_0x3bee98;}this[_0x5317d3(0x22a)](_0x5317d3(0x290),_0x37f68b,_0x473da3),_0x2fda8c[_0x5317d3(0x292)](_0x37f68b[_0x5317d3(0x210)]('\x0d\x0a')[_0x5317d3(0x239)]('\x0d\x0a')),_0x2fda8c['removeListener'](_0x5317d3(0x303),_0x33b42e),_0x477e98[_0x5317d3(0x27c)](_0x2fda8c,_0x37c4af,{'allowSynchronousEvents':this['options'][_0x5317d3(0x2e9)],'maxPayload':this[_0x5317d3(0x2f6)]['maxPayload'],'skipUTF8Validation':this[_0x5317d3(0x2f6)]['skipUTF8Validation']}),this['clients']&&(this['clients']['add'](_0x477e98),_0x477e98['on']('close',()=>{const _0x4de663=_0x5317d3;this[_0x4de663(0x1db)][_0x4de663(0x2b0)](_0x477e98),this[_0x4de663(0x319)]&&!this[_0x4de663(0x1db)]['size']&&process[_0x4de663(0x1c6)](_0x15967a,this);})),_0x1fba21(_0x477e98,_0x473da3);}}Te=_0x1415e2;function _0x56acbc(_0x3901c2,_0x5c81f9){const _0x341fba=_0x3bdda5;for(const _0x19a40e of Object[_0x341fba(0x1dd)](_0x5c81f9))_0x3901c2['on'](_0x19a40e,_0x5c81f9[_0x19a40e]);return function(){const _0x3f8eda=_0x341fba;for(const _0x424b41 of Object[_0x3f8eda(0x1dd)](_0x5c81f9))_0x3901c2[_0x3f8eda(0x222)](_0x424b41,_0x5c81f9[_0x424b41]);};}function _0x15967a(_0x200d12){const _0xbfa10d=_0x3bdda5;_0x200d12[_0xbfa10d(0x2ea)]=_0x242b34,_0x200d12['emit']('close');}function _0x33b42e(){this['destroy']();}function _0x40255d(_0x15fe02,_0xc3ea8c,_0x8b3dc9,_0x2e8465){const _0xe9db01=_0x3bdda5;_0x8b3dc9=_0x8b3dc9||_0x518a51[_0xe9db01(0x2d6)][_0xc3ea8c],_0x2e8465={'Connection':_0xe9db01(0x247),'Content-Type':_0xe9db01(0x259),'Content-Length':Buffer['byteLength'](_0x8b3dc9),..._0x2e8465},_0x15fe02[_0xe9db01(0x2af)](_0xe9db01(0x308),_0x15fe02[_0xe9db01(0x281)]),_0x15fe02[_0xe9db01(0x1fe)](_0xe9db01(0x186)+_0xc3ea8c+'\x20'+_0x518a51[_0xe9db01(0x2d6)][_0xc3ea8c]+'\x0d\x0a'+Object[_0xe9db01(0x1dd)](_0x2e8465)['map'](_0x5debcc=>_0x5debcc+':\x20'+_0x2e8465[_0x5debcc])[_0xe9db01(0x239)]('\x0d\x0a')+_0xe9db01(0x272)+_0x8b3dc9);}function _0x598a86(_0x398e4f,_0x2b3d4c,_0x2a75f6,_0x40797b,_0x5ca16c,_0x5e5a70){const _0x428b1a=_0x3bdda5;if(_0x398e4f[_0x428b1a(0x1a1)](_0x428b1a(0x23b))){const _0x363cbd=new Error(_0x5ca16c);Error['captureStackTrace'](_0x363cbd,_0x598a86),_0x398e4f['emit'](_0x428b1a(0x23b),_0x363cbd,_0x2a75f6,_0x2b3d4c);}else _0x40255d(_0x2a75f6,_0x40797b,_0x5ca16c,_0x5e5a70);}return Te;}er();var tr=Object[_0x5c7db0(0x31a)],rr=(_0x486ac2,_0x53a2f4,_0x330ff7,_0x1d3617)=>{const _0x4b0364=_0x5c7db0;for(var _0x3a1fa0=_0x1d3617>0x1?void 0x0:_0x1d3617?tr(_0x53a2f4,_0x330ff7):_0x53a2f4,_0xca866f=_0x486ac2[_0x4b0364(0x22b)]-0x1,_0x91665b;_0xca866f>=0x0;_0xca866f--)(_0x91665b=_0x486ac2[_0xca866f])&&(_0x3a1fa0=_0x91665b(_0x3a1fa0)||_0x3a1fa0);return _0x3a1fa0;},sr=(_0x4ad8ba,_0x577eb1)=>(_0x409097,_0x2350b9)=>_0x577eb1(_0x409097,_0x2350b9,_0x4ad8ba);let Ne=class extends _0x32c81a{constructor(_0x4af86b){const _0x5e2a99=_0x5c7db0;super(),this[_0x5e2a99(0x220)]=_0x4af86b;}[_0x5c7db0(0x2c7)](_0x4d3c83){const _0x4d66aa=_0x5c7db0;var _0x1388f9;const _0x18809c=(_0x1388f9=this[_0x4d66aa(0x220)][_0x4d66aa(0x24a)](Be))==null?void 0x0:_0x1388f9[_0x4d66aa(0x1aa)];try{const _0x5eecf1=new Qt(_0x4d3c83,{'headers':{..._0x18809c}}),_0x139bbf=new _0x5310f5();return{'URL':_0x4d3c83,'close':(_0x59c6af,_0x51132d)=>{const _0x3919c9=_0x4d66aa;_0x5eecf1['close'](_0x59c6af,_0x51132d),_0x139bbf[_0x3919c9(0x31e)]();},'send':_0x3e7f1a=>{const _0x2d97e8=_0x4d66aa;_0x5eecf1[_0x2d97e8(0x267)](_0x3e7f1a);},'open$':new _0x516bea(_0x145853=>{const _0x15a12b=_0x4d66aa,_0x5c6a83=_0x16aaf2=>_0x145853[_0x15a12b(0x2fe)](_0x16aaf2);_0x5eecf1[_0x15a12b(0x19a)](_0x15a12b(0x28b),_0x5c6a83),_0x139bbf['add'](_0x234781(()=>_0x5eecf1[_0x15a12b(0x2aa)](_0x15a12b(0x28b),_0x5c6a83)));})[_0x4d66aa(0x2e3)](_0x481e54()),'close$':new _0x516bea(_0x48a492=>{const _0x11f854=_0x4d66aa,_0x376bf9=_0x5bf166=>_0x48a492[_0x11f854(0x2fe)](_0x5bf166);_0x5eecf1['addEventListener'](_0x11f854(0x247),_0x376bf9),_0x139bbf[_0x11f854(0x172)](_0x234781(()=>_0x5eecf1[_0x11f854(0x2aa)](_0x11f854(0x247),_0x376bf9)));})[_0x4d66aa(0x2e3)](_0x481e54()),'error$':new _0x516bea(_0x3a9cc8=>{const _0x14f901=_0x4d66aa,_0x429a45=_0x55bb9b=>_0x3a9cc8[_0x14f901(0x2fe)](_0x55bb9b);_0x5eecf1['addEventListener']('error',_0x429a45),_0x139bbf[_0x14f901(0x172)](_0x234781(()=>_0x5eecf1[_0x14f901(0x2aa)](_0x14f901(0x303),_0x429a45)));})['pipe'](_0x481e54()),'message$':new _0x516bea(_0x21db61=>{const _0x360a12=_0x4d66aa,_0x3aeddc=_0x2ac687=>_0x21db61[_0x360a12(0x2fe)](_0x2ac687);_0x5eecf1['addEventListener'](_0x360a12(0x235),_0x3aeddc),_0x139bbf[_0x360a12(0x172)](_0x234781(()=>_0x5eecf1['removeEventListener'](_0x360a12(0x235),_0x3aeddc)));})[_0x4d66aa(0x2e3)](_0x481e54())};}catch(_0x43f190){return console[_0x4d66aa(0x303)](_0x43f190),null;}}};Ne=rr([sr(0x0,_0x4d6366)],Ne);var ir=Object[_0x5c7db0(0x227)],nr=Object[_0x5c7db0(0x31a)],or=(_0x337ffe,_0xdfd87c,_0x393763)=>_0xdfd87c in _0x337ffe?ir(_0x337ffe,_0xdfd87c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x393763}):_0x337ffe[_0xdfd87c]=_0x393763,ar=(_0xc259cf,_0x576144,_0x36b82d,_0x3d1455)=>{const _0x2d3e80=_0x5c7db0;for(var _0x21c6bb=_0x3d1455>0x1?void 0x0:_0x3d1455?nr(_0x576144,_0x36b82d):_0x576144,_0x52cb40=_0xc259cf[_0x2d3e80(0x22b)]-0x1,_0x3d8ef6;_0x52cb40>=0x0;_0x52cb40--)(_0x3d8ef6=_0xc259cf[_0x52cb40])&&(_0x21c6bb=_0x3d8ef6(_0x21c6bb)||_0x21c6bb);return _0x21c6bb;},ke=(_0x140ee3,_0x35c548)=>(_0x2b04af,_0x397a7c)=>_0x35c548(_0x2b04af,_0x397a7c,_0x140ee3),lr=(_0x2b40db,_0x29a780,_0x26cf7d)=>or(_0x2b40db,_0x29a780+'',_0x26cf7d);let Pe=class extends _0x1cc9e9{constructor(_0x284cc9=Ft,_0x4ae731,_0x183ac3,_0x17e336){const _0x57760b=_0x5c7db0;_0x284cc9[_0x57760b(0x1aa)]||_0x4ae731['warn'](_0x57760b(0x200)),super(),this[_0x57760b(0x220)]=_0x183ac3,this[_0x57760b(0x240)]=_0x17e336,this[_0x57760b(0x220)][_0x57760b(0x24b)](Be,_0x284cc9);}[_0x5c7db0(0x1bc)](){this['_registerDependencies']();}[_0x5c7db0(0x2e2)](){const _0x56c2af=_0x5c7db0;_0x3af243(this[_0x56c2af(0x240)],[[_0x470a21,{'useClass':Ne}]]);}};lr(Pe,_0x5c7db0(0x17e),_0x5c7db0(0x27a)),Pe=ar([_0x5819a7(_0x5d1851),ke(0x1,_0x31921c),ke(0x2,_0x4d6366),ke(0x3,_0x5a533e(_0x3337e3))],Pe);var fr=Object[_0x5c7db0(0x31a)],cr=(_0x599fb2,_0x162b55,_0x15b09d,_0x8cc09f)=>{const _0xe4fc15=_0x5c7db0;for(var _0x392f8f=_0x8cc09f>0x1?void 0x0:_0x8cc09f?fr(_0x162b55,_0x15b09d):_0x162b55,_0x31fc95=_0x599fb2[_0xe4fc15(0x22b)]-0x1,_0x59d995;_0x31fc95>=0x0;_0x31fc95--)(_0x59d995=_0x599fb2[_0x31fc95])&&(_0x392f8f=_0x59d995(_0x392f8f)||_0x392f8f);return _0x392f8f;},se=(_0x33c2d1,_0xb790d7)=>(_0xb7e84b,_0x2b0d85)=>_0xb790d7(_0xb7e84b,_0x2b0d85,_0x33c2d1);let at=class extends _0x4c2323{constructor(_0x3bac09,_0xf59096,_0x21713a,_0x362527,_0x4969ae){const _0x5e5046=_0x5c7db0;super(_0x3bac09,_0xf59096,_0x21713a,_0x362527,_0x4969ae);const _0x4b2c4f=this['_configService']['getConfig'](Be);this[_0x5e5046(0x2a0)][_0x5e5046(0x2ce)]({'interceptor':(_0xe71c80,_0x1a2789)=>{const _0x494e35=_0x5e5046;var _0x1b5835;const _0x18cfd8=_0xe71c80[_0x494e35(0x290)];return(_0x1b5835=_0x4b2c4f==null?void 0x0:_0x4b2c4f[_0x494e35(0x1aa)])!=null&&_0x1b5835[_0x494e35(0x279)]&&_0x18cfd8['set'](_0x494e35(0x2fd),_0x4b2c4f['customHeaders'][_0x494e35(0x279)]),_0x1a2789(_0xe71c80);}});}async[_0x5c7db0(0x2c7)](_0x4574e2){const _0x110dfc=_0x5c7db0;return this[_0x110dfc(0x1be)](_0x4574e2);}};at=cr([se(0x0,_0x5a533e(_0x3337e3)),se(0x1,_0x5a533e(_0x17396e)),se(0x2,_0x4d6366),se(0x3,_0x31921c),se(0x4,_0x8fa9ac)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
1
+ const _0x4bc144=_0x5e22;(function(_0x4b6bff,_0xea197){const _0xbacae2=_0x5e22,_0x3063a=_0x4b6bff();while(!![]){try{const _0x3680ba=parseInt(_0xbacae2(0x34c))/0x1+parseInt(_0xbacae2(0x2ae))/0x2*(-parseInt(_0xbacae2(0x326))/0x3)+-parseInt(_0xbacae2(0x263))/0x4*(parseInt(_0xbacae2(0x24d))/0x5)+-parseInt(_0xbacae2(0x2c7))/0x6*(-parseInt(_0xbacae2(0x36c))/0x7)+-parseInt(_0xbacae2(0x300))/0x8+-parseInt(_0xbacae2(0x200))/0x9+parseInt(_0xbacae2(0x379))/0xa;if(_0x3680ba===_0xea197)break;else _0x3063a['push'](_0x3063a['shift']());}catch(_0x127ab9){_0x3063a['push'](_0x3063a['shift']());}}}(_0x1b1c,0x53cb5));import{UniverCollaborationClientPlugin as _0x5486fe,CollaborationSocketService as _0x4bf000}from'@univerjs-pro/collaboration-client';import{Disposable as _0x35b763,DisposableCollection as _0x968827,toDisposable as _0x5cd91c,IConfigService as _0x4e136d,DependentOn as _0x4bf50d,ILogService as _0x4f088e,Inject as _0x559eb0,Injector as _0x40a410,Plugin as _0x1a238f,registerDependencies as _0x3c8ebd}from'@univerjs/core';import{ISocketService as _0x278a56,HTTPService as _0x4e6c74}from'@univerjs/network';function _0x1b1c(){const _0x20f8b=['haveLength','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','value','WS_ERR_INVALID_OPCODE','format','_receiver','kDone','buffer','_socket','verifyClient','join','_allowSynchronousEvents','getMask','_bufferedBytes','Invalid\x20Sec-WebSocket-Extensions\x20header','bufferedAmount','concat','HTTP/1.1\x20','Upgrade','blob','18672BHEHZb','isView','frame','_masked','toLowerCase','redirect','wss:','entries','port','_originalSecure','stream','headers','_fin','_removeListeners','_decompress','statusCode','Unexpected\x20server\x20response:\x20','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','WS_NO_BUFFER_UTIL','flush','values','_readyState','unexpected-response','Unknown\x20parameter\x20\x22','listenerCount','_skipUTF8Validation','connect','sec-websocket-origin','slice','warn','delete','invalid\x20opcode\x20','errorEmitted','handleUpgrade','_originalHostOrSocketPath','nodebuffer','Sec-WebSocket-Protocol','construct','617707bvfZbE','upgrade','length','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','collaboration-client-node.config','createDeflateRaw','pipe','species','Sec-WebSocket-Accept:\x20','Parameter\x20\x22','location','accept','getPayloadLength16','WebSocket\x20is\x20not\x20open:\x20readyState\x20','_configService','_generateMask','unmask','target','threshold','STATUS_CODES','map','_mask','sec-websocket-extensions','Max\x20payload\x20size\x20exceeded','type','_originalIpc','charCodeAt','\x22\x20subprotocol\x20is\x20duplicated','readyState','CONNECTING','kAborted','removeListener','186767kBMuup','WebSocket','_isServer','maskBuffer','isArray','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','createError','_loop','origin','Z_DEFAULT_WINDOWBITS','Upgrade:\x20websocket','_req','kTarget','9373130jQHjQr','kWasClean','_extensions','authorization','clientNoContextTakeover','onmessage','protocol','concurrencyLimit','arraybuffer','CLOSING','forEach','noServer','isPaused','arrayBuffer','default','skipUTF8Validation','dispatch','13,\x208','WS_ERR_UNEXPECTED_MASK','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','_closeCode','params','\x20(supported\x20versions:\x20','_registerDependencies','_bufferedAmount','allowSynchronousEvents','Invalid\x20Sec-WebSocket-Accept\x20header','pause','fragments','_messageLength','_errored','hostname','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','defineProperty','pong','ws:','consume','Unexpected\x20end\x20of\x20input','_closeTimer','size','File','finishRequest','keys','_final','_closeMessage','Invalid\x20Sec-WebSocket-Protocol\x20header','startLoop','buffers','allocUnsafe','serverMaxWindowBits','dispose','onopen','setSocket','getData','_threshold','OPEN','endEmitted','create','nextTick','_redirects','3243213rFkxDK','address','isInteger','text/plain','objectMode','\x0d\x0a\x0d\x0a','permessage-deflate','url','unshift','includes','kData','handleEvent','enqueue','socket','emit','terminate','request','get','websocket','once','getPayloadLength64','clients','toString','catch','then','Unsupported\x20protocol\x20version:\x20','autoPong','CLOSED','shouldHandle','\x22:\x20','createServer','The\x20URL\x27s\x20pathname\x20is\x20empty','destroyed','_state','_writableState','options','dataMessage','shift','WS_ERR_INVALID_UTF8','exports','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','Origin','_fragmented','WS_ERR_UNEXPECTED_RSV_1','servername','_buffers','rsv1','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','destroy','host','writable','maxPayload','kReason','Connection:\x20Upgrade','_totalPayloadLength','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','ping','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','base64','getOwnPropertyDescriptor','data','_paused','serverNoContextTakeover','binaryType','connection','kRun','controlMessage','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','prototype','test','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','isValidUTF8','_no_context_takeover','sec-websocket-accept','cookie','WS_ERR_INVALID_CLOSE_CODE','backlog','3062270ROAWRo','_server','createConnection','_errorEmitted','set','onStarting','Basic\x20','writeUIntBE','__esModule','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','writeHead','The\x20URL\x20contains\x20a\x20fragment\x20identifier','byteLength','generateMask','send','_fragments','_closeFrameSent','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','MASK\x20must\x20be\x20set','sendFrame','end','_inflate','4Ahwzon','kByteLength','zlibInflateOptions','RSV1\x20must\x20be\x20clear','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','perMessageDeflate','jobs','parse','_binaryType','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','Invalid\x20WebSocket\x20frame:\x20','push','protocolVersion','zlibDeflateOptions','readable','server_no_context_takeover','_deflate','has','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','kCode','hasOwnProperty','createInflateRaw','Server\x20sent\x20no\x20subprotocol','Unexpected\x20character\x20at\x20index\x20','call','_write','Blob','finish','emitClose','setNoDelay','href','cleanup','apply','Opening\x20handshake\x20has\x20timed\x20out','client_no_context_takeover','captureStackTrace','dequeue','Invalid\x20Upgrade\x20header','update','write','readOnly','find','_maskBuffer','sec-websocket-protocol','removeAllListeners','timeout','number','reason','_opcode','followRedirects','bind','https:','removeEventListener','search','conclude','_max_window_bits','freeze','isBuffer','_autoPong','startsWith','defaultPort','handleProtocols','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','close','_payloadLength','_options','onerror','handshakeTimeout','_sender','compress','http:','Server\x20sent\x20an\x20invalid\x20subprotocol','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','function','digest','34DxUVsW','concurrency','error','Sec-WebSocket-Extensions','Invalid\x20value\x20for\x20parameter\x20\x22','_compress','decompress','The\x20server\x20is\x20not\x20running','sha1','createSocket','finished','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','fin','completeUpgrade','customHeaders','getBlobData','isIP','open','_injector','normalizeParams','_queue','response','Invalid\x20URL:\x20','object','extensions','42AnVBnT','_doCreateSocket','password','WS_ERR_EXPECTED_FIN','username','setHeader','method','maxRedirects','acceptAsClient','env','kListener','path','message','toStringTag','getConfig','WS_ERR_EXPECTED_MASK','_protocol','extensionName','WS_NO_UTF_8_VALIDATE','indexOf','_readableState','_maxPayload','string','from','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','setTimeout','WS_ERR_UNEXPECTED_RSV_2_3','mask','_compressed','Invalid\x20HTTP\x20method','alloc','total-length','socketPath','_httpService','byteOffset','invalid\x20UTF-8\x20sequence','wasClean','kType','_url','kMessage','add','ws+unix:','pathname','_destroy','auth','registerHTTPInterceptor','code','Sec-WebSocket-Protocol:\x20','listeners','addEventListener','resume','reset','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','Maximum\x20redirects\x20exceeded','invalid\x20payload\x20length\x20','FIN\x20must\x20be\x20set','server_max_window_bits','2559576pTLXic','server','opcode','client_max_window_bits','pluginName','_shouldEmitClose','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','clientMaxWindowBits','pow','Sec-WebSocket-Extensions:\x20','_closeFrameReceived','next','The\x20\x22','readUInt32BE','_firstFragment','wsClientError','abort'];_0x1b1c=function(){return _0x20f8b;};return _0x1b1c();}import{Observable as _0xe8c78,share as _0x366d94}from'rxjs';import _0x2b706c from'events';import _0x34025c from'https';import _0xc49ca8 from'http';import _0x22f0e4 from'net';import _0x5d446d from'tls';import _0x1708a4 from'crypto';import _0x1142f9 from'stream';import _0x27fa54 from'url';import _0x379b49 from'zlib';function _0x5e22(_0x193faa,_0x54f7a5){const _0x1b1c30=_0x1b1c();return _0x5e22=function(_0x5e2205,_0x51efad){_0x5e2205=_0x5e2205-0x1f1;let _0x295d98=_0x1b1c30[_0x5e2205];return _0x295d98;},_0x5e22(_0x193faa,_0x54f7a5);}import _0x10c01a from'buffer';import{ISnapshotServerService as _0x29527f}from'@univerjs-pro/collaboration';const Be=_0x4bc144(0x350),Ft={'customHeaders':{}};function Wt(_0x17a2a1){const _0x3bccbb=_0x4bc144;return _0x17a2a1&&_0x17a2a1['__esModule']&&Object['prototype'][_0x3bccbb(0x277)][_0x3bccbb(0x27b)](_0x17a2a1,_0x3bccbb(0x387))?_0x17a2a1[_0x3bccbb(0x387)]:_0x17a2a1;}function ut(_0x25b539){const _0x556dc5=_0x4bc144;if(Object[_0x556dc5(0x244)][_0x556dc5(0x277)][_0x556dc5(0x27b)](_0x25b539,_0x556dc5(0x255)))return _0x25b539;var _0x132aff=_0x25b539[_0x556dc5(0x387)];if(typeof _0x132aff==_0x556dc5(0x2ac)){var _0x10eb7a=function _0x389670(){const _0x2ecdd2=_0x556dc5;var _0x5485d5=!0x1;try{_0x5485d5=this instanceof _0x389670;}catch{}return _0x5485d5?Reflect[_0x2ecdd2(0x34b)](_0x132aff,arguments,this['constructor']):_0x132aff[_0x2ecdd2(0x283)](this,arguments);};_0x10eb7a['prototype']=_0x132aff[_0x556dc5(0x244)];}else _0x10eb7a={};return Object['defineProperty'](_0x10eb7a,_0x556dc5(0x255),{'value':!0x0}),Object['keys'](_0x25b539)['forEach'](function(_0x1dfa7d){const _0x5ae43b=_0x556dc5;var _0x141207=Object[_0x5ae43b(0x23b)](_0x25b539,_0x1dfa7d);Object[_0x5ae43b(0x39a)](_0x10eb7a,_0x1dfa7d,_0x141207[_0x5ae43b(0x211)]?_0x141207:{'enumerable':!0x0,'get':function(){return _0x25b539[_0x1dfa7d];}});}),_0x10eb7a;}var te={'exports':{}},ge,Ye;function V(){const _0x123ca3=_0x4bc144;if(Ye)return ge;Ye=0x1;const _0x4bcf04=[_0x123ca3(0x349),_0x123ca3(0x381),_0x123ca3(0x395)],_0x289e2f=typeof Blob<'u';return _0x289e2f&&_0x4bcf04['push'](_0x123ca3(0x325)),ge={'BINARY_TYPES':_0x4bcf04,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':_0x123ca3(0x243),'hasBlob':_0x289e2f,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol(_0x123ca3(0x2d1)),'kStatusCode':Symbol('status-code'),'kWebSocket':Symbol('websocket'),'NOOP':()=>{}},ge;}const jt={},Gt=Object[_0x4bc144(0x29b)](Object['defineProperty']({'__proto__':null,'default':jt},Symbol[_0x4bc144(0x2d4)],{'value':'Module'})),Vt=ut(Gt);var Ke;function ce(){const _0x9e4314=_0x4bc144;if(Ke)return te[_0x9e4314(0x227)];Ke=0x1;const {EMPTY_BUFFER:_0x3c12d0}=V(),_0x11e2c8=Buffer[Symbol[_0x9e4314(0x353)]];function _0x276414(_0xd33def,_0x38e706){const _0x202811=_0x9e4314;if(_0xd33def[_0x202811(0x34e)]===0x0)return _0x3c12d0;if(_0xd33def['length']===0x1)return _0xd33def[0x0];const _0x5aaab5=Buffer[_0x202811(0x1f4)](_0x38e706);let _0x4c2a29=0x0;for(let _0xc20040=0x0;_0xc20040<_0xd33def[_0x202811(0x34e)];_0xc20040++){const _0x5b1c8a=_0xd33def[_0xc20040];_0x5aaab5[_0x202811(0x251)](_0x5b1c8a,_0x4c2a29),_0x4c2a29+=_0x5b1c8a[_0x202811(0x34e)];}return _0x4c2a29<_0x38e706?new _0x11e2c8(_0x5aaab5[_0x202811(0x319)],_0x5aaab5[_0x202811(0x2e9)],_0x4c2a29):_0x5aaab5;}function _0xeceb06(_0x10c1a1,_0x37a804,_0x3861d7,_0x157bb6,_0x545a87){for(let _0x4e82cc=0x0;_0x4e82cc<_0x545a87;_0x4e82cc++)_0x3861d7[_0x157bb6+_0x4e82cc]=_0x10c1a1[_0x4e82cc]^_0x37a804[_0x4e82cc&0x3];}function _0x5c58c8(_0x360b73,_0x42b340){const _0x124594=_0x9e4314;for(let _0x56e6e4=0x0;_0x56e6e4<_0x360b73[_0x124594(0x34e)];_0x56e6e4++)_0x360b73[_0x56e6e4]^=_0x42b340[_0x56e6e4&0x3];}function _0x30362c(_0x1e8158){const _0x2982b2=_0x9e4314;return _0x1e8158[_0x2982b2(0x34e)]===_0x1e8158['buffer'][_0x2982b2(0x259)]?_0x1e8158[_0x2982b2(0x319)]:_0x1e8158[_0x2982b2(0x319)][_0x2982b2(0x342)](_0x1e8158[_0x2982b2(0x2e9)],_0x1e8158[_0x2982b2(0x2e9)]+_0x1e8158[_0x2982b2(0x34e)]);}function _0x17a87f(_0x2d8c5a){const _0x5f383a=_0x9e4314;if(_0x17a87f[_0x5f383a(0x28b)]=!0x0,Buffer[_0x5f383a(0x29c)](_0x2d8c5a))return _0x2d8c5a;let _0x405054;return _0x2d8c5a instanceof ArrayBuffer?_0x405054=new _0x11e2c8(_0x2d8c5a):ArrayBuffer[_0x5f383a(0x327)](_0x2d8c5a)?_0x405054=new _0x11e2c8(_0x2d8c5a['buffer'],_0x2d8c5a[_0x5f383a(0x2e9)],_0x2d8c5a[_0x5f383a(0x259)]):(_0x405054=Buffer[_0x5f383a(0x2de)](_0x2d8c5a),_0x17a87f[_0x5f383a(0x28b)]=!0x1),_0x405054;}if(te['exports']={'concat':_0x276414,'mask':_0xeceb06,'toArrayBuffer':_0x30362c,'toBuffer':_0x17a87f,'unmask':_0x5c58c8},!process[_0x9e4314(0x2d0)][_0x9e4314(0x338)])try{const _0x44411d=Vt;te[_0x9e4314(0x227)][_0x9e4314(0x2e2)]=function(_0x48387b,_0x4beb4e,_0x2e39ac,_0x50953b,_0x357ffb){const _0x42c4a3=_0x9e4314;_0x357ffb<0x30?_0xeceb06(_0x48387b,_0x4beb4e,_0x2e39ac,_0x50953b,_0x357ffb):_0x44411d[_0x42c4a3(0x2e2)](_0x48387b,_0x4beb4e,_0x2e39ac,_0x50953b,_0x357ffb);},te[_0x9e4314(0x227)]['unmask']=function(_0x3b9cdf,_0xc6891b){const _0x5c6097=_0x9e4314;_0x3b9cdf[_0x5c6097(0x34e)]<0x20?_0x5c58c8(_0x3b9cdf,_0xc6891b):_0x44411d[_0x5c6097(0x35c)](_0x3b9cdf,_0xc6891b);};}catch{}return te[_0x9e4314(0x227)];}var ye,Xe;function qt(){const _0x39430f=_0x4bc144;if(Xe)return ye;Xe=0x1;const _0xb6fa01=Symbol(_0x39430f(0x318)),_0x415f91=Symbol(_0x39430f(0x241));class _0x2850e9{constructor(_0x40a33b){const _0x2d9286=_0x39430f;this[_0xb6fa01]=()=>{this['pending']--,this[_0x415f91]();},this[_0x2d9286(0x2af)]=_0x40a33b||0x1/0x0,this[_0x2d9286(0x269)]=[],this['pending']=0x0;}[_0x39430f(0x2ef)](_0x329458){const _0x3cd980=_0x39430f;this[_0x3cd980(0x269)]['push'](_0x329458),this[_0x415f91]();}[_0x415f91](){const _0x570397=_0x39430f;if(this['pending']!==this[_0x570397(0x2af)]&&this[_0x570397(0x269)][_0x570397(0x34e)]){const _0x3cb69b=this[_0x570397(0x269)][_0x570397(0x225)]();this['pending']++,_0x3cb69b(this[_0xb6fa01]);}}}return ye=_0x2850e9,ye;}var ve,Ze;function he(){const _0x4b626d=_0x4bc144;if(Ze)return ve;Ze=0x1;const _0xbcf120=_0x379b49,_0x3d60e8=ce(),_0x18c596=qt(),{kStatusCode:_0x229944}=V(),_0x17514c=Buffer[Symbol[_0x4b626d(0x353)]],_0x25504f=Buffer['from']([0x0,0x0,0xff,0xff]),_0x51962a=Symbol(_0x4b626d(0x206)),_0x151679=Symbol(_0x4b626d(0x2e6)),_0x4a36c7=Symbol('callback'),_0x124b1a=Symbol(_0x4b626d(0x1f3)),_0x601d2e=Symbol('error');let _0x5c43b9;class _0x294f75{constructor(_0xae761d,_0x485bed,_0x5598ed){const _0x5ae207=_0x4b626d;if(this[_0x5ae207(0x2dc)]=_0x5598ed|0x0,this['_options']=_0xae761d||{},this[_0x5ae207(0x1fa)]=this[_0x5ae207(0x2a4)]['threshold']!==void 0x0?this[_0x5ae207(0x2a4)][_0x5ae207(0x35e)]:0x400,this[_0x5ae207(0x36e)]=!!_0x485bed,this[_0x5ae207(0x273)]=null,this['_inflate']=null,this[_0x5ae207(0x38e)]=null,!_0x5c43b9){const _0x2b933f=this[_0x5ae207(0x2a4)][_0x5ae207(0x380)]!==void 0x0?this[_0x5ae207(0x2a4)][_0x5ae207(0x380)]:0xa;_0x5c43b9=new _0x18c596(_0x2b933f);}}static get['extensionName'](){const _0x529f9a=_0x4b626d;return _0x529f9a(0x206);}['offer'](){const _0x3020a7=_0x4b626d,_0x4df559={};return this['_options'][_0x3020a7(0x23e)]&&(_0x4df559[_0x3020a7(0x272)]=!0x0),this[_0x3020a7(0x2a4)]['clientNoContextTakeover']&&(_0x4df559[_0x3020a7(0x285)]=!0x0),this[_0x3020a7(0x2a4)][_0x3020a7(0x1f5)]&&(_0x4df559[_0x3020a7(0x2ff)]=this[_0x3020a7(0x2a4)]['serverMaxWindowBits']),this[_0x3020a7(0x2a4)][_0x3020a7(0x308)]?_0x4df559[_0x3020a7(0x303)]=this[_0x3020a7(0x2a4)][_0x3020a7(0x308)]:this[_0x3020a7(0x2a4)][_0x3020a7(0x308)]==null&&(_0x4df559[_0x3020a7(0x303)]=!0x0),_0x4df559;}[_0x4b626d(0x357)](_0x5bdf2c){const _0x34d628=_0x4b626d;return _0x5bdf2c=this[_0x34d628(0x2c1)](_0x5bdf2c),this[_0x34d628(0x38e)]=this[_0x34d628(0x36e)]?this['acceptAsServer'](_0x5bdf2c):this[_0x34d628(0x2cf)](_0x5bdf2c),this[_0x34d628(0x38e)];}['cleanup'](){const _0x3856c9=_0x4b626d;if(this[_0x3856c9(0x262)]&&(this[_0x3856c9(0x262)][_0x3856c9(0x2a2)](),this[_0x3856c9(0x262)]=null),this['_deflate']){const _0x2b7ec8=this[_0x3856c9(0x273)][_0x4a36c7];this[_0x3856c9(0x273)]['close'](),this[_0x3856c9(0x273)]=null,_0x2b7ec8&&_0x2b7ec8(new Error(_0x3856c9(0x2ab)));}}['acceptAsServer'](_0x48d063){const _0x3ea02b=_0x4b626d,_0x41c5d6=this[_0x3ea02b(0x2a4)],_0x59d464=_0x48d063[_0x3ea02b(0x28c)](_0x3a6ce4=>!(_0x41c5d6['serverNoContextTakeover']===!0x1&&_0x3a6ce4[_0x3ea02b(0x272)]||_0x3a6ce4[_0x3ea02b(0x2ff)]&&(_0x41c5d6[_0x3ea02b(0x1f5)]===!0x1||typeof _0x41c5d6['serverMaxWindowBits']=='number'&&_0x41c5d6['serverMaxWindowBits']>_0x3a6ce4[_0x3ea02b(0x2ff)])||typeof _0x41c5d6['clientMaxWindowBits']==_0x3ea02b(0x291)&&!_0x3a6ce4[_0x3ea02b(0x303)]));if(!_0x59d464)throw new Error(_0x3ea02b(0x2df));return _0x41c5d6[_0x3ea02b(0x23e)]&&(_0x59d464[_0x3ea02b(0x272)]=!0x0),_0x41c5d6[_0x3ea02b(0x37d)]&&(_0x59d464[_0x3ea02b(0x285)]=!0x0),typeof _0x41c5d6[_0x3ea02b(0x1f5)]==_0x3ea02b(0x291)&&(_0x59d464[_0x3ea02b(0x2ff)]=_0x41c5d6[_0x3ea02b(0x1f5)]),typeof _0x41c5d6[_0x3ea02b(0x308)]=='number'?_0x59d464['client_max_window_bits']=_0x41c5d6[_0x3ea02b(0x308)]:(_0x59d464['client_max_window_bits']===!0x0||_0x41c5d6['clientMaxWindowBits']===!0x1)&&delete _0x59d464[_0x3ea02b(0x303)],_0x59d464;}[_0x4b626d(0x2cf)](_0xd40645){const _0xf1ffc8=_0x4b626d,_0x5047ef=_0xd40645[0x0];if(this['_options'][_0xf1ffc8(0x37d)]===!0x1&&_0x5047ef[_0xf1ffc8(0x285)])throw new Error('Unexpected\x20parameter\x20\x22client_no_context_takeover\x22');if(!_0x5047ef[_0xf1ffc8(0x303)])typeof this[_0xf1ffc8(0x2a4)][_0xf1ffc8(0x308)]==_0xf1ffc8(0x291)&&(_0x5047ef['client_max_window_bits']=this[_0xf1ffc8(0x2a4)][_0xf1ffc8(0x308)]);else{if(this[_0xf1ffc8(0x2a4)][_0xf1ffc8(0x308)]===!0x1||typeof this[_0xf1ffc8(0x2a4)]['clientMaxWindowBits']=='number'&&_0x5047ef[_0xf1ffc8(0x303)]>this[_0xf1ffc8(0x2a4)][_0xf1ffc8(0x308)])throw new Error('Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22');}return _0x5047ef;}[_0x4b626d(0x2c1)](_0x25f081){const _0x11ae8a=_0x4b626d;return _0x25f081[_0x11ae8a(0x383)](_0x81889f=>{const _0x472f29=_0x11ae8a;Object[_0x472f29(0x3a3)](_0x81889f)[_0x472f29(0x383)](_0x22de3e=>{const _0x42dd18=_0x472f29;let _0x293bcb=_0x81889f[_0x22de3e];if(_0x293bcb[_0x42dd18(0x34e)]>0x1)throw new Error(_0x42dd18(0x355)+_0x22de3e+'\x22\x20must\x20have\x20only\x20a\x20single\x20value');if(_0x293bcb=_0x293bcb[0x0],_0x22de3e===_0x42dd18(0x303)){if(_0x293bcb!==!0x0){const _0x49aa1c=+_0x293bcb;if(!Number[_0x42dd18(0x202)](_0x49aa1c)||_0x49aa1c<0x8||_0x49aa1c>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x22de3e+_0x42dd18(0x21d)+_0x293bcb);_0x293bcb=_0x49aa1c;}else{if(!this[_0x42dd18(0x36e)])throw new TypeError(_0x42dd18(0x2b2)+_0x22de3e+'\x22:\x20'+_0x293bcb);}}else{if(_0x22de3e===_0x42dd18(0x2ff)){const _0xb46370=+_0x293bcb;if(!Number[_0x42dd18(0x202)](_0xb46370)||_0xb46370<0x8||_0xb46370>0xf)throw new TypeError(_0x42dd18(0x2b2)+_0x22de3e+_0x42dd18(0x21d)+_0x293bcb);_0x293bcb=_0xb46370;}else{if(_0x22de3e===_0x42dd18(0x285)||_0x22de3e===_0x42dd18(0x272)){if(_0x293bcb!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x22de3e+'\x22:\x20'+_0x293bcb);}else throw new Error(_0x42dd18(0x33d)+_0x22de3e+'\x22');}}_0x81889f[_0x22de3e]=_0x293bcb;});}),_0x25f081;}[_0x4b626d(0x2b4)](_0x472896,_0x2063e3,_0x2dd52f){const _0xae5b03=_0x4b626d;_0x5c43b9[_0xae5b03(0x2ef)](_0x1c5893=>{this['_decompress'](_0x472896,_0x2063e3,(_0x551f65,_0x198b2e)=>{_0x1c5893(),_0x2dd52f(_0x551f65,_0x198b2e);});});}[_0x4b626d(0x2a8)](_0x3ccce9,_0x19b769,_0x2040f0){_0x5c43b9['add'](_0x2ac15b=>{const _0x3ccc76=_0x5e22;this[_0x3ccc76(0x2b3)](_0x3ccce9,_0x19b769,(_0x419a53,_0x1d8e11)=>{_0x2ac15b(),_0x2040f0(_0x419a53,_0x1d8e11);});});}[_0x4b626d(0x334)](_0x30358a,_0x343f0e,_0x45a46b){const _0xb7f784=_0x4b626d,_0x3b5370=this['_isServer']?'client':_0xb7f784(0x301);if(!this[_0xb7f784(0x262)]){const _0xbed057=_0x3b5370+_0xb7f784(0x29a),_0x9c13e9=typeof this[_0xb7f784(0x38e)][_0xbed057]!=_0xb7f784(0x291)?_0xbcf120['Z_DEFAULT_WINDOWBITS']:this[_0xb7f784(0x38e)][_0xbed057];this[_0xb7f784(0x262)]=_0xbcf120[_0xb7f784(0x278)]({...this[_0xb7f784(0x2a4)][_0xb7f784(0x265)],'windowBits':_0x9c13e9}),this[_0xb7f784(0x262)][_0x51962a]=this,this[_0xb7f784(0x262)][_0x151679]=0x0,this[_0xb7f784(0x262)][_0x124b1a]=[],this[_0xb7f784(0x262)]['on'](_0xb7f784(0x2b0),_0xb0c3b4),this[_0xb7f784(0x262)]['on'](_0xb7f784(0x23c),_0x37bfa9);}this[_0xb7f784(0x262)][_0x4a36c7]=_0x45a46b,this[_0xb7f784(0x262)]['write'](_0x30358a),_0x343f0e&&this[_0xb7f784(0x262)][_0xb7f784(0x28a)](_0x25504f),this[_0xb7f784(0x262)][_0xb7f784(0x339)](()=>{const _0x5bf098=_0xb7f784,_0xf10f2=this['_inflate'][_0x601d2e];if(_0xf10f2){this[_0x5bf098(0x262)][_0x5bf098(0x2a2)](),this['_inflate']=null,_0x45a46b(_0xf10f2);return;}const _0x3fc0e0=_0x3d60e8[_0x5bf098(0x322)](this[_0x5bf098(0x262)][_0x124b1a],this[_0x5bf098(0x262)][_0x151679]);this[_0x5bf098(0x262)][_0x5bf098(0x2db)][_0x5bf098(0x1fc)]?(this[_0x5bf098(0x262)][_0x5bf098(0x2a2)](),this[_0x5bf098(0x262)]=null):(this[_0x5bf098(0x262)][_0x151679]=0x0,this[_0x5bf098(0x262)][_0x124b1a]=[],_0x343f0e&&this[_0x5bf098(0x38e)][_0x3b5370+_0x5bf098(0x248)]&&this[_0x5bf098(0x262)][_0x5bf098(0x2fa)]()),_0x45a46b(null,_0x3fc0e0);});}[_0x4b626d(0x2b3)](_0x12fcfa,_0x2ec17a,_0x249b10){const _0x5baa31=_0x4b626d,_0x22133a=this[_0x5baa31(0x36e)]?'server':'client';if(!this[_0x5baa31(0x273)]){const _0x5583f0=_0x22133a+'_max_window_bits',_0xe26843=typeof this[_0x5baa31(0x38e)][_0x5583f0]!=_0x5baa31(0x291)?_0xbcf120[_0x5baa31(0x375)]:this[_0x5baa31(0x38e)][_0x5583f0];this[_0x5baa31(0x273)]=_0xbcf120[_0x5baa31(0x351)]({...this['_options'][_0x5baa31(0x270)],'windowBits':_0xe26843}),this['_deflate'][_0x151679]=0x0,this[_0x5baa31(0x273)][_0x124b1a]=[],this[_0x5baa31(0x273)]['on'](_0x5baa31(0x23c),_0x19d869);}this[_0x5baa31(0x273)][_0x4a36c7]=_0x249b10,this[_0x5baa31(0x273)][_0x5baa31(0x28a)](_0x12fcfa),this['_deflate'][_0x5baa31(0x339)](_0xbcf120['Z_SYNC_FLUSH'],()=>{const _0x1f3e46=_0x5baa31;if(!this[_0x1f3e46(0x273)])return;let _0x5c54ed=_0x3d60e8[_0x1f3e46(0x322)](this[_0x1f3e46(0x273)][_0x124b1a],this[_0x1f3e46(0x273)][_0x151679]);_0x2ec17a&&(_0x5c54ed=new _0x17514c(_0x5c54ed[_0x1f3e46(0x319)],_0x5c54ed[_0x1f3e46(0x2e9)],_0x5c54ed[_0x1f3e46(0x34e)]-0x4)),this[_0x1f3e46(0x273)][_0x4a36c7]=null,this[_0x1f3e46(0x273)][_0x151679]=0x0,this[_0x1f3e46(0x273)][_0x124b1a]=[],_0x2ec17a&&this[_0x1f3e46(0x38e)][_0x22133a+_0x1f3e46(0x248)]&&this[_0x1f3e46(0x273)][_0x1f3e46(0x2fa)](),_0x249b10(null,_0x5c54ed);});}}ve=_0x294f75;function _0x19d869(_0x23d9ab){const _0x4583a0=_0x4b626d;this[_0x124b1a][_0x4583a0(0x26e)](_0x23d9ab),this[_0x151679]+=_0x23d9ab['length'];}function _0x37bfa9(_0x2abefb){const _0x416010=_0x4b626d;if(this[_0x151679]+=_0x2abefb[_0x416010(0x34e)],this[_0x51962a][_0x416010(0x2dc)]<0x1||this[_0x151679]<=this[_0x51962a][_0x416010(0x2dc)]){this[_0x124b1a][_0x416010(0x26e)](_0x2abefb);return;}this[_0x601d2e]=new RangeError(_0x416010(0x363)),this[_0x601d2e][_0x416010(0x2f5)]=_0x416010(0x38c),this[_0x601d2e][_0x229944]=0x3f1,this[_0x416010(0x36b)](_0x416010(0x23c),_0x37bfa9),this[_0x416010(0x2fa)]();}function _0xb0c3b4(_0x60507e){const _0x3443b5=_0x4b626d;if(this[_0x51962a][_0x3443b5(0x262)]=null,this[_0x601d2e]){this[_0x4a36c7](this[_0x601d2e]);return;}_0x60507e[_0x229944]=0x3ef,this[_0x4a36c7](_0x60507e);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x4bc144(0x29b)](Object['defineProperty']({'__proto__':null,'default':Ht},Symbol['toStringTag'],{'value':'Module'})),Yt=ut(zt);var Qe;function ne(){const _0x2bb6e4=_0x4bc144;if(Qe)return re[_0x2bb6e4(0x227)];Qe=0x1;const {isUtf8:_0x325f7c}=_0x10c01a,{hasBlob:_0x589c5a}=V(),_0xb0b4df=[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 _0xab04ab(_0x3fecd7){return _0x3fecd7>=0x3e8&&_0x3fecd7<=0x3f6&&_0x3fecd7!==0x3ec&&_0x3fecd7!==0x3ed&&_0x3fecd7!==0x3ee||_0x3fecd7>=0xbb8&&_0x3fecd7<=0x1387;}function _0x24af24(_0x55ae19){const _0x43c1af=_0x55ae19['length'];let _0x28660e=0x0;for(;_0x28660e<_0x43c1af;)if((_0x55ae19[_0x28660e]&0x80)===0x0)_0x28660e++;else{if((_0x55ae19[_0x28660e]&0xe0)===0xc0){if(_0x28660e+0x1===_0x43c1af||(_0x55ae19[_0x28660e+0x1]&0xc0)!==0x80||(_0x55ae19[_0x28660e]&0xfe)===0xc0)return!0x1;_0x28660e+=0x2;}else{if((_0x55ae19[_0x28660e]&0xf0)===0xe0){if(_0x28660e+0x2>=_0x43c1af||(_0x55ae19[_0x28660e+0x1]&0xc0)!==0x80||(_0x55ae19[_0x28660e+0x2]&0xc0)!==0x80||_0x55ae19[_0x28660e]===0xe0&&(_0x55ae19[_0x28660e+0x1]&0xe0)===0x80||_0x55ae19[_0x28660e]===0xed&&(_0x55ae19[_0x28660e+0x1]&0xe0)===0xa0)return!0x1;_0x28660e+=0x3;}else{if((_0x55ae19[_0x28660e]&0xf8)===0xf0){if(_0x28660e+0x3>=_0x43c1af||(_0x55ae19[_0x28660e+0x1]&0xc0)!==0x80||(_0x55ae19[_0x28660e+0x2]&0xc0)!==0x80||(_0x55ae19[_0x28660e+0x3]&0xc0)!==0x80||_0x55ae19[_0x28660e]===0xf0&&(_0x55ae19[_0x28660e+0x1]&0xf0)===0x80||_0x55ae19[_0x28660e]===0xf4&&_0x55ae19[_0x28660e+0x1]>0x8f||_0x55ae19[_0x28660e]>0xf4)return!0x1;_0x28660e+=0x4;}else return!0x1;}}}return!0x0;}function _0xe92209(_0x16cf84){const _0x572350=_0x2bb6e4;return _0x589c5a&&typeof _0x16cf84==_0x572350(0x2c5)&&typeof _0x16cf84[_0x572350(0x386)]==_0x572350(0x2ac)&&typeof _0x16cf84[_0x572350(0x364)]==_0x572350(0x2dd)&&typeof _0x16cf84[_0x572350(0x330)]=='function'&&(_0x16cf84[Symbol[_0x572350(0x2d4)]]===_0x572350(0x27d)||_0x16cf84[Symbol[_0x572350(0x2d4)]]===_0x572350(0x3a1));}if(re['exports']={'isBlob':_0xe92209,'isValidStatusCode':_0xab04ab,'isValidUTF8':_0x24af24,'tokenChars':_0xb0b4df},_0x325f7c)re['exports'][_0x2bb6e4(0x247)]=function(_0x1d936b){const _0x2a99b8=_0x2bb6e4;return _0x1d936b[_0x2a99b8(0x34e)]<0x18?_0x24af24(_0x1d936b):_0x325f7c(_0x1d936b);};else{if(!process[_0x2bb6e4(0x2d0)][_0x2bb6e4(0x2d9)])try{const _0x1f9bde=Yt;re[_0x2bb6e4(0x227)][_0x2bb6e4(0x247)]=function(_0x7e0e8c){return _0x7e0e8c['length']<0x20?_0x24af24(_0x7e0e8c):_0x1f9bde(_0x7e0e8c);};}catch{}}return re['exports'];}var Se,Je;function dt(){const _0x1152a7=_0x4bc144;if(Je)return Se;Je=0x1;const {Writable:_0x4229dd}=_0x1142f9,_0x390090=he(),{BINARY_TYPES:_0x172878,EMPTY_BUFFER:_0x40e158,kStatusCode:_0x3a45c4,kWebSocket:_0x31a047}=V(),{concat:_0x45daa2,toArrayBuffer:_0x393327,unmask:_0x1fc691}=ce(),{isValidStatusCode:_0x299bd1,isValidUTF8:_0x49515e}=ne(),_0x44b656=Buffer[Symbol['species']],_0x29e599=0x0,_0x473e0f=0x1,_0x2e5546=0x2,_0x4c2ba2=0x3,_0x2097bd=0x4,_0x3c87d2=0x5,_0x8ae433=0x6;class _0x178e9b extends _0x4229dd{constructor(_0x54e69c={}){const _0x28b4a9=_0x5e22;super(),this[_0x28b4a9(0x31d)]=_0x54e69c[_0x28b4a9(0x392)]!==void 0x0?_0x54e69c[_0x28b4a9(0x392)]:!0x0,this['_binaryType']=_0x54e69c[_0x28b4a9(0x23f)]||_0x172878[0x0],this[_0x28b4a9(0x37b)]=_0x54e69c[_0x28b4a9(0x2c6)]||{},this[_0x28b4a9(0x36e)]=!!_0x54e69c['isServer'],this[_0x28b4a9(0x2dc)]=_0x54e69c[_0x28b4a9(0x233)]|0x0,this['_skipUTF8Validation']=!!_0x54e69c[_0x28b4a9(0x388)],this[_0x31a047]=void 0x0,this[_0x28b4a9(0x31f)]=0x0,this[_0x28b4a9(0x22d)]=[],this[_0x28b4a9(0x2e3)]=!0x1,this[_0x28b4a9(0x2a3)]=0x0,this[_0x28b4a9(0x361)]=void 0x0,this['_fragmented']=0x0,this[_0x28b4a9(0x329)]=!0x1,this[_0x28b4a9(0x332)]=!0x1,this[_0x28b4a9(0x293)]=0x0,this[_0x28b4a9(0x236)]=0x0,this[_0x28b4a9(0x396)]=0x0,this['_fragments']=[],this['_errored']=!0x1,this[_0x28b4a9(0x373)]=!0x1,this[_0x28b4a9(0x221)]=_0x29e599;}['_write'](_0x2a30e9,_0x3ffc7a,_0x585e89){const _0x3f8768=_0x5e22;if(this[_0x3f8768(0x293)]===0x8&&this[_0x3f8768(0x221)]==_0x29e599)return _0x585e89();this['_bufferedBytes']+=_0x2a30e9['length'],this[_0x3f8768(0x22d)][_0x3f8768(0x26e)](_0x2a30e9),this[_0x3f8768(0x1f2)](_0x585e89);}['consume'](_0x39bf35){const _0x484147=_0x5e22;if(this['_bufferedBytes']-=_0x39bf35,_0x39bf35===this[_0x484147(0x22d)][0x0]['length'])return this[_0x484147(0x22d)]['shift']();if(_0x39bf35<this[_0x484147(0x22d)][0x0][_0x484147(0x34e)]){const _0x4acaba=this[_0x484147(0x22d)][0x0];return this['_buffers'][0x0]=new _0x44b656(_0x4acaba[_0x484147(0x319)],_0x4acaba[_0x484147(0x2e9)]+_0x39bf35,_0x4acaba[_0x484147(0x34e)]-_0x39bf35),new _0x44b656(_0x4acaba[_0x484147(0x319)],_0x4acaba[_0x484147(0x2e9)],_0x39bf35);}const _0x178ff4=Buffer[_0x484147(0x1f4)](_0x39bf35);do{const _0x11f256=this[_0x484147(0x22d)][0x0],_0x38e4a8=_0x178ff4[_0x484147(0x34e)]-_0x39bf35;_0x39bf35>=_0x11f256['length']?_0x178ff4['set'](this[_0x484147(0x22d)][_0x484147(0x225)](),_0x38e4a8):(_0x178ff4[_0x484147(0x251)](new Uint8Array(_0x11f256['buffer'],_0x11f256['byteOffset'],_0x39bf35),_0x38e4a8),this['_buffers'][0x0]=new _0x44b656(_0x11f256[_0x484147(0x319)],_0x11f256[_0x484147(0x2e9)]+_0x39bf35,_0x11f256[_0x484147(0x34e)]-_0x39bf35)),_0x39bf35-=_0x11f256[_0x484147(0x34e)];}while(_0x39bf35>0x0);return _0x178ff4;}[_0x1152a7(0x1f2)](_0x2500eb){const _0xc16758=_0x1152a7;this[_0xc16758(0x373)]=!0x0;do switch(this['_state']){case _0x29e599:this['getInfo'](_0x2500eb);break;case _0x473e0f:this['getPayloadLength16'](_0x2500eb);break;case _0x2e5546:this['getPayloadLength64'](_0x2500eb);break;case _0x4c2ba2:this[_0xc16758(0x31e)]();break;case _0x2097bd:this['getData'](_0x2500eb);break;case _0x3c87d2:case _0x8ae433:this[_0xc16758(0x373)]=!0x1;return;}while(this[_0xc16758(0x373)]);this[_0xc16758(0x397)]||_0x2500eb();}['getInfo'](_0xf510b8){const _0x5cf731=_0x1152a7;if(this[_0x5cf731(0x31f)]<0x2){this[_0x5cf731(0x373)]=!0x1;return;}const _0xfb3b84=this[_0x5cf731(0x39d)](0x2);if((_0xfb3b84[0x0]&0x30)!==0x0){const _0x5cec49=this[_0x5cf731(0x372)](RangeError,_0x5cf731(0x256),!0x0,0x3ea,_0x5cf731(0x2e1));_0xf510b8(_0x5cec49);return;}const _0x2523a2=(_0xfb3b84[0x0]&0x40)===0x40;if(_0x2523a2&&!this[_0x5cf731(0x37b)][_0x390090[_0x5cf731(0x2d8)]]){const _0x1a6cfd=this[_0x5cf731(0x372)](RangeError,_0x5cf731(0x266),!0x0,0x3ea,_0x5cf731(0x22b));_0xf510b8(_0x1a6cfd);return;}if(this[_0x5cf731(0x332)]=(_0xfb3b84[0x0]&0x80)===0x80,this[_0x5cf731(0x293)]=_0xfb3b84[0x0]&0xf,this[_0x5cf731(0x2a3)]=_0xfb3b84[0x1]&0x7f,this['_opcode']===0x0){if(_0x2523a2){const _0x1baf4a=this[_0x5cf731(0x372)](RangeError,_0x5cf731(0x266),!0x0,0x3ea,_0x5cf731(0x22b));_0xf510b8(_0x1baf4a);return;}if(!this['_fragmented']){const _0x520da9=this[_0x5cf731(0x372)](RangeError,'invalid\x20opcode\x200',!0x0,0x3ea,_0x5cf731(0x315));_0xf510b8(_0x520da9);return;}this[_0x5cf731(0x293)]=this[_0x5cf731(0x22a)];}else{if(this[_0x5cf731(0x293)]===0x1||this['_opcode']===0x2){if(this[_0x5cf731(0x22a)]){const _0x228da4=this[_0x5cf731(0x372)](RangeError,_0x5cf731(0x345)+this[_0x5cf731(0x293)],!0x0,0x3ea,_0x5cf731(0x315));_0xf510b8(_0x228da4);return;}this[_0x5cf731(0x2e3)]=_0x2523a2;}else{if(this[_0x5cf731(0x293)]>0x7&&this[_0x5cf731(0x293)]<0xb){if(!this[_0x5cf731(0x332)]){const _0x53db99=this['createError'](RangeError,_0x5cf731(0x2fe),!0x0,0x3ea,_0x5cf731(0x2ca));_0xf510b8(_0x53db99);return;}if(_0x2523a2){const _0x38f740=this[_0x5cf731(0x372)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x5cf731(0x22b));_0xf510b8(_0x38f740);return;}if(this[_0x5cf731(0x2a3)]>0x7d||this['_opcode']===0x8&&this[_0x5cf731(0x2a3)]===0x1){const _0x1070b6=this['createError'](RangeError,_0x5cf731(0x2fd)+this['_payloadLength'],!0x0,0x3ea,'WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH');_0xf510b8(_0x1070b6);return;}}else{const _0x2b2804=this[_0x5cf731(0x372)](RangeError,_0x5cf731(0x345)+this[_0x5cf731(0x293)],!0x0,0x3ea,_0x5cf731(0x315));_0xf510b8(_0x2b2804);return;}}}if(!this['_fin']&&!this[_0x5cf731(0x22a)]&&(this[_0x5cf731(0x22a)]=this[_0x5cf731(0x293)]),this[_0x5cf731(0x329)]=(_0xfb3b84[0x1]&0x80)===0x80,this['_isServer']){if(!this['_masked']){const _0x3b5067=this[_0x5cf731(0x372)](RangeError,_0x5cf731(0x25f),!0x0,0x3ea,_0x5cf731(0x2d6));_0xf510b8(_0x3b5067);return;}}else{if(this[_0x5cf731(0x329)]){const _0x1e9e0c=this['createError'](RangeError,'MASK\x20must\x20be\x20clear',!0x0,0x3ea,_0x5cf731(0x38b));_0xf510b8(_0x1e9e0c);return;}}this['_payloadLength']===0x7e?this[_0x5cf731(0x221)]=_0x473e0f:this[_0x5cf731(0x2a3)]===0x7f?this['_state']=_0x2e5546:this[_0x5cf731(0x312)](_0xf510b8);}[_0x1152a7(0x358)](_0x4e348e){const _0xd450bb=_0x1152a7;if(this[_0xd450bb(0x31f)]<0x2){this['_loop']=!0x1;return;}this[_0xd450bb(0x2a3)]=this['consume'](0x2)['readUInt16BE'](0x0),this['haveLength'](_0x4e348e);}[_0x1152a7(0x214)](_0x52d1e6){const _0x544771=_0x1152a7;if(this[_0x544771(0x31f)]<0x8){this[_0x544771(0x373)]=!0x1;return;}const _0x5b82a3=this[_0x544771(0x39d)](0x8),_0x5e47c6=_0x5b82a3[_0x544771(0x30e)](0x0);if(_0x5e47c6>Math[_0x544771(0x309)](0x2,0x15)-0x1){const _0xbf9b8e=this[_0x544771(0x372)](RangeError,_0x544771(0x239),!0x1,0x3f1,_0x544771(0x2a1));_0x52d1e6(_0xbf9b8e);return;}this[_0x544771(0x2a3)]=_0x5e47c6*Math[_0x544771(0x309)](0x2,0x20)+_0x5b82a3[_0x544771(0x30e)](0x4),this[_0x544771(0x312)](_0x52d1e6);}[_0x1152a7(0x312)](_0x24845a){const _0x3e2b59=_0x1152a7;if(this[_0x3e2b59(0x2a3)]&&this[_0x3e2b59(0x293)]<0x8&&(this[_0x3e2b59(0x236)]+=this[_0x3e2b59(0x2a3)],this[_0x3e2b59(0x236)]>this[_0x3e2b59(0x2dc)]&&this[_0x3e2b59(0x2dc)]>0x0)){const _0xc9ab28=this[_0x3e2b59(0x372)](RangeError,_0x3e2b59(0x363),!0x1,0x3f1,_0x3e2b59(0x38c));_0x24845a(_0xc9ab28);return;}this[_0x3e2b59(0x329)]?this[_0x3e2b59(0x221)]=_0x4c2ba2:this['_state']=_0x2097bd;}[_0x1152a7(0x31e)](){const _0x4a5ed0=_0x1152a7;if(this['_bufferedBytes']<0x4){this[_0x4a5ed0(0x373)]=!0x1;return;}this['_mask']=this[_0x4a5ed0(0x39d)](0x4),this[_0x4a5ed0(0x221)]=_0x2097bd;}[_0x1152a7(0x1f9)](_0x581a03){const _0x5d67c9=_0x1152a7;let _0x353b2c=_0x40e158;if(this['_payloadLength']){if(this[_0x5d67c9(0x31f)]<this['_payloadLength']){this[_0x5d67c9(0x373)]=!0x1;return;}_0x353b2c=this[_0x5d67c9(0x39d)](this[_0x5d67c9(0x2a3)]),this['_masked']&&(this[_0x5d67c9(0x361)][0x0]|this[_0x5d67c9(0x361)][0x1]|this[_0x5d67c9(0x361)][0x2]|this['_mask'][0x3])!==0x0&&_0x1fc691(_0x353b2c,this[_0x5d67c9(0x361)]);}if(this[_0x5d67c9(0x293)]>0x7){this['controlMessage'](_0x353b2c,_0x581a03);return;}if(this[_0x5d67c9(0x2e3)]){this[_0x5d67c9(0x221)]=_0x3c87d2,this['decompress'](_0x353b2c,_0x581a03);return;}_0x353b2c['length']&&(this[_0x5d67c9(0x396)]=this[_0x5d67c9(0x236)],this[_0x5d67c9(0x25c)][_0x5d67c9(0x26e)](_0x353b2c)),this[_0x5d67c9(0x224)](_0x581a03);}[_0x1152a7(0x2b4)](_0x4d6ddf,_0x32101c){const _0x3bcdc2=_0x1152a7;this['_extensions'][_0x390090[_0x3bcdc2(0x2d8)]][_0x3bcdc2(0x2b4)](_0x4d6ddf,this[_0x3bcdc2(0x332)],(_0x513ebe,_0x58642e)=>{const _0x1ae9b7=_0x3bcdc2;if(_0x513ebe)return _0x32101c(_0x513ebe);if(_0x58642e[_0x1ae9b7(0x34e)]){if(this[_0x1ae9b7(0x396)]+=_0x58642e[_0x1ae9b7(0x34e)],this['_messageLength']>this[_0x1ae9b7(0x2dc)]&&this['_maxPayload']>0x0){const _0x1c2848=this[_0x1ae9b7(0x372)](RangeError,_0x1ae9b7(0x363),!0x1,0x3f1,_0x1ae9b7(0x38c));_0x32101c(_0x1c2848);return;}this['_fragments'][_0x1ae9b7(0x26e)](_0x58642e);}this[_0x1ae9b7(0x224)](_0x32101c),this['_state']===_0x29e599&&this[_0x1ae9b7(0x1f2)](_0x32101c);});}[_0x1152a7(0x224)](_0x111f52){const _0x33258d=_0x1152a7;if(!this[_0x33258d(0x332)]){this['_state']=_0x29e599;return;}const _0x19c6ed=this['_messageLength'],_0x465534=this[_0x33258d(0x25c)];if(this['_totalPayloadLength']=0x0,this['_messageLength']=0x0,this[_0x33258d(0x22a)]=0x0,this[_0x33258d(0x25c)]=[],this['_opcode']===0x2){let _0x485fc1;this[_0x33258d(0x26b)]===_0x33258d(0x349)?_0x485fc1=_0x45daa2(_0x465534,_0x19c6ed):this[_0x33258d(0x26b)]==='arraybuffer'?_0x485fc1=_0x393327(_0x45daa2(_0x465534,_0x19c6ed)):this[_0x33258d(0x26b)]==='blob'?_0x485fc1=new Blob(_0x465534):_0x485fc1=_0x465534,this[_0x33258d(0x31d)]?(this[_0x33258d(0x20e)](_0x33258d(0x2d3),_0x485fc1,!0x0),this[_0x33258d(0x221)]=_0x29e599):(this[_0x33258d(0x221)]=_0x8ae433,setImmediate(()=>{const _0x4f133d=_0x33258d;this[_0x4f133d(0x20e)](_0x4f133d(0x2d3),_0x485fc1,!0x0),this[_0x4f133d(0x221)]=_0x29e599,this[_0x4f133d(0x1f2)](_0x111f52);}));}else{const _0x205c43=_0x45daa2(_0x465534,_0x19c6ed);if(!this[_0x33258d(0x33f)]&&!_0x49515e(_0x205c43)){const _0x98af6a=this['createError'](Error,_0x33258d(0x2ea),!0x0,0x3ef,_0x33258d(0x226));_0x111f52(_0x98af6a);return;}this[_0x33258d(0x221)]===_0x3c87d2||this[_0x33258d(0x31d)]?(this[_0x33258d(0x20e)](_0x33258d(0x2d3),_0x205c43,!0x1),this[_0x33258d(0x221)]=_0x29e599):(this[_0x33258d(0x221)]=_0x8ae433,setImmediate(()=>{const _0x2def12=_0x33258d;this['emit'](_0x2def12(0x2d3),_0x205c43,!0x1),this['_state']=_0x29e599,this[_0x2def12(0x1f2)](_0x111f52);}));}}[_0x1152a7(0x242)](_0x1016f,_0x487dc1){const _0x1b2af4=_0x1152a7;if(this[_0x1b2af4(0x293)]===0x8){if(_0x1016f[_0x1b2af4(0x34e)]===0x0)this[_0x1b2af4(0x373)]=!0x1,this[_0x1b2af4(0x20e)](_0x1b2af4(0x299),0x3ed,_0x40e158),this[_0x1b2af4(0x261)]();else{const _0x98bd1b=_0x1016f['readUInt16BE'](0x0);if(!_0x299bd1(_0x98bd1b)){const _0x2a3b39=this[_0x1b2af4(0x372)](RangeError,'invalid\x20status\x20code\x20'+_0x98bd1b,!0x0,0x3ea,_0x1b2af4(0x24b));_0x487dc1(_0x2a3b39);return;}const _0x1b894e=new _0x44b656(_0x1016f[_0x1b2af4(0x319)],_0x1016f['byteOffset']+0x2,_0x1016f[_0x1b2af4(0x34e)]-0x2);if(!this['_skipUTF8Validation']&&!_0x49515e(_0x1b894e)){const _0x24d3f9=this[_0x1b2af4(0x372)](Error,_0x1b2af4(0x2ea),!0x0,0x3ef,_0x1b2af4(0x226));_0x487dc1(_0x24d3f9);return;}this[_0x1b2af4(0x373)]=!0x1,this[_0x1b2af4(0x20e)](_0x1b2af4(0x299),_0x98bd1b,_0x1b894e),this[_0x1b2af4(0x261)]();}this[_0x1b2af4(0x221)]=_0x29e599;return;}this['_allowSynchronousEvents']?(this[_0x1b2af4(0x20e)](this[_0x1b2af4(0x293)]===0x9?_0x1b2af4(0x238):_0x1b2af4(0x39b),_0x1016f),this[_0x1b2af4(0x221)]=_0x29e599):(this[_0x1b2af4(0x221)]=_0x8ae433,setImmediate(()=>{const _0x15e6e2=_0x1b2af4;this[_0x15e6e2(0x20e)](this[_0x15e6e2(0x293)]===0x9?_0x15e6e2(0x238):_0x15e6e2(0x39b),_0x1016f),this[_0x15e6e2(0x221)]=_0x29e599,this[_0x15e6e2(0x1f2)](_0x487dc1);}));}['createError'](_0x289368,_0x25bd14,_0x13a5c3,_0x215e1c,_0x56adb7){const _0x1d49f9=_0x1152a7;this['_loop']=!0x1,this['_errored']=!0x0;const _0x399815=new _0x289368(_0x13a5c3?_0x1d49f9(0x26d)+_0x25bd14:_0x25bd14);return Error[_0x1d49f9(0x286)](_0x399815,this[_0x1d49f9(0x372)]),_0x399815[_0x1d49f9(0x2f5)]=_0x56adb7,_0x399815[_0x3a45c4]=_0x215e1c,_0x399815;}}return Se=_0x178e9b,Se;}var Ee,et;function _t(){const _0x526004=_0x4bc144;if(et)return Ee;et=0x1;const {Duplex:_0x2e19fb}=_0x1142f9,{randomFillSync:_0x35ee4d}=_0x1708a4,_0x59ea59=he(),{EMPTY_BUFFER:_0x3d012a,kWebSocket:_0x25f884,NOOP:_0x86bece}=V(),{isBlob:_0x3be7f9,isValidStatusCode:_0x303e80}=ne(),{mask:_0x13222f,toBuffer:_0x37e3ed}=ce(),_0x3107fc=Symbol(_0x526004(0x264)),_0x273569=Buffer['alloc'](0x4),_0x12becb=0x8*0x400;let _0x1a5b5c,_0x180681=_0x12becb;const _0xb53491=0x0,_0xaff3dd=0x1,_0x115921=0x2;class _0x45fae3{constructor(_0xce684c,_0x27187e,_0x43d433){const _0x141187=_0x526004;this['_extensions']=_0x27187e||{},_0x43d433&&(this[_0x141187(0x35b)]=_0x43d433,this[_0x141187(0x28d)]=Buffer[_0x141187(0x2e5)](0x4)),this[_0x141187(0x31a)]=_0xce684c,this[_0x141187(0x30f)]=!0x0,this[_0x141187(0x2b3)]=!0x1,this[_0x141187(0x31f)]=0x0,this[_0x141187(0x2c2)]=[],this[_0x141187(0x221)]=_0xb53491,this[_0x141187(0x2a5)]=_0x86bece,this[_0x25f884]=void 0x0;}static['frame'](_0x2f6c75,_0xf3d19a){const _0x3804c6=_0x526004;let _0x34d819,_0x2db45c=!0x1,_0x460912=0x2,_0x5f096c=!0x1;_0xf3d19a[_0x3804c6(0x2e2)]&&(_0x34d819=_0xf3d19a[_0x3804c6(0x36f)]||_0x273569,_0xf3d19a[_0x3804c6(0x25a)]?_0xf3d19a[_0x3804c6(0x25a)](_0x34d819):(_0x180681===_0x12becb&&(_0x1a5b5c===void 0x0&&(_0x1a5b5c=Buffer[_0x3804c6(0x2e5)](_0x12becb)),_0x35ee4d(_0x1a5b5c,0x0,_0x12becb),_0x180681=0x0),_0x34d819[0x0]=_0x1a5b5c[_0x180681++],_0x34d819[0x1]=_0x1a5b5c[_0x180681++],_0x34d819[0x2]=_0x1a5b5c[_0x180681++],_0x34d819[0x3]=_0x1a5b5c[_0x180681++]),_0x5f096c=(_0x34d819[0x0]|_0x34d819[0x1]|_0x34d819[0x2]|_0x34d819[0x3])===0x0,_0x460912=0x6);let _0x331980;typeof _0x2f6c75=='string'?(!_0xf3d19a['mask']||_0x5f096c)&&_0xf3d19a[_0x3107fc]!==void 0x0?_0x331980=_0xf3d19a[_0x3107fc]:(_0x2f6c75=Buffer['from'](_0x2f6c75),_0x331980=_0x2f6c75['length']):(_0x331980=_0x2f6c75[_0x3804c6(0x34e)],_0x2db45c=_0xf3d19a[_0x3804c6(0x2e2)]&&_0xf3d19a[_0x3804c6(0x28b)]&&!_0x5f096c);let _0x42e9a9=_0x331980;_0x331980>=0x10000?(_0x460912+=0x8,_0x42e9a9=0x7f):_0x331980>0x7d&&(_0x460912+=0x2,_0x42e9a9=0x7e);const _0xcc618b=Buffer['allocUnsafe'](_0x2db45c?_0x331980+_0x460912:_0x460912);return _0xcc618b[0x0]=_0xf3d19a['fin']?_0xf3d19a[_0x3804c6(0x302)]|0x80:_0xf3d19a[_0x3804c6(0x302)],_0xf3d19a[_0x3804c6(0x22e)]&&(_0xcc618b[0x0]|=0x40),_0xcc618b[0x1]=_0x42e9a9,_0x42e9a9===0x7e?_0xcc618b['writeUInt16BE'](_0x331980,0x2):_0x42e9a9===0x7f&&(_0xcc618b[0x2]=_0xcc618b[0x3]=0x0,_0xcc618b[_0x3804c6(0x254)](_0x331980,0x4,0x6)),_0xf3d19a['mask']?(_0xcc618b[0x1]|=0x80,_0xcc618b[_0x460912-0x4]=_0x34d819[0x0],_0xcc618b[_0x460912-0x3]=_0x34d819[0x1],_0xcc618b[_0x460912-0x2]=_0x34d819[0x2],_0xcc618b[_0x460912-0x1]=_0x34d819[0x3],_0x5f096c?[_0xcc618b,_0x2f6c75]:_0x2db45c?(_0x13222f(_0x2f6c75,_0x34d819,_0xcc618b,_0x460912,_0x331980),[_0xcc618b]):(_0x13222f(_0x2f6c75,_0x34d819,_0x2f6c75,0x0,_0x331980),[_0xcc618b,_0x2f6c75])):[_0xcc618b,_0x2f6c75];}[_0x526004(0x2a2)](_0x5ec972,_0x5d4298,_0x374ec7,_0x481f02){const _0x34612a=_0x526004;let _0x1eeeb1;if(_0x5ec972===void 0x0)_0x1eeeb1=_0x3d012a;else{if(typeof _0x5ec972!=_0x34612a(0x291)||!_0x303e80(_0x5ec972))throw new TypeError(_0x34612a(0x22f));if(_0x5d4298===void 0x0||!_0x5d4298[_0x34612a(0x34e)])_0x1eeeb1=Buffer[_0x34612a(0x1f4)](0x2),_0x1eeeb1['writeUInt16BE'](_0x5ec972,0x0);else{const _0x2f8dc0=Buffer[_0x34612a(0x259)](_0x5d4298);if(_0x2f8dc0>0x7b)throw new RangeError(_0x34612a(0x306));_0x1eeeb1=Buffer['allocUnsafe'](0x2+_0x2f8dc0),_0x1eeeb1['writeUInt16BE'](_0x5ec972,0x0),typeof _0x5d4298=='string'?_0x1eeeb1[_0x34612a(0x28a)](_0x5d4298,0x2):_0x1eeeb1[_0x34612a(0x251)](_0x5d4298,0x2);}}const _0x1245d4={[_0x3107fc]:_0x1eeeb1[_0x34612a(0x34e)],'fin':!0x0,'generateMask':this[_0x34612a(0x35b)],'mask':_0x374ec7,'maskBuffer':this[_0x34612a(0x28d)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this['_state']!==_0xb53491?this[_0x34612a(0x20c)]([this[_0x34612a(0x389)],_0x1eeeb1,!0x1,_0x1245d4,_0x481f02]):this[_0x34612a(0x260)](_0x45fae3[_0x34612a(0x328)](_0x1eeeb1,_0x1245d4),_0x481f02);}['ping'](_0x3c817b,_0x37031a,_0x59bea0){const _0x49d9f1=_0x526004;let _0x5bd0ed,_0x4dd9fb;if(typeof _0x3c817b=='string'?(_0x5bd0ed=Buffer[_0x49d9f1(0x259)](_0x3c817b),_0x4dd9fb=!0x1):_0x3be7f9(_0x3c817b)?(_0x5bd0ed=_0x3c817b['size'],_0x4dd9fb=!0x1):(_0x3c817b=_0x37e3ed(_0x3c817b),_0x5bd0ed=_0x3c817b[_0x49d9f1(0x34e)],_0x4dd9fb=_0x37e3ed['readOnly']),_0x5bd0ed>0x7d)throw new RangeError(_0x49d9f1(0x313));const _0x44efe5={[_0x3107fc]:_0x5bd0ed,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x37031a,'maskBuffer':this[_0x49d9f1(0x28d)],'opcode':0x9,'readOnly':_0x4dd9fb,'rsv1':!0x1};_0x3be7f9(_0x3c817b)?this[_0x49d9f1(0x221)]!==_0xb53491?this[_0x49d9f1(0x20c)]([this[_0x49d9f1(0x2bd)],_0x3c817b,!0x1,_0x44efe5,_0x59bea0]):this['getBlobData'](_0x3c817b,!0x1,_0x44efe5,_0x59bea0):this[_0x49d9f1(0x221)]!==_0xb53491?this[_0x49d9f1(0x20c)]([this[_0x49d9f1(0x389)],_0x3c817b,!0x1,_0x44efe5,_0x59bea0]):this[_0x49d9f1(0x260)](_0x45fae3[_0x49d9f1(0x328)](_0x3c817b,_0x44efe5),_0x59bea0);}[_0x526004(0x39b)](_0x3b2730,_0x6f09fe,_0x28ff43){const _0x3b4fab=_0x526004;let _0x1d9c75,_0x3dc2ae;if(typeof _0x3b2730==_0x3b4fab(0x2dd)?(_0x1d9c75=Buffer['byteLength'](_0x3b2730),_0x3dc2ae=!0x1):_0x3be7f9(_0x3b2730)?(_0x1d9c75=_0x3b2730[_0x3b4fab(0x3a0)],_0x3dc2ae=!0x1):(_0x3b2730=_0x37e3ed(_0x3b2730),_0x1d9c75=_0x3b2730['length'],_0x3dc2ae=_0x37e3ed['readOnly']),_0x1d9c75>0x7d)throw new RangeError(_0x3b4fab(0x313));const _0x758501={[_0x3107fc]:_0x1d9c75,'fin':!0x0,'generateMask':this[_0x3b4fab(0x35b)],'mask':_0x6f09fe,'maskBuffer':this[_0x3b4fab(0x28d)],'opcode':0xa,'readOnly':_0x3dc2ae,'rsv1':!0x1};_0x3be7f9(_0x3b2730)?this['_state']!==_0xb53491?this[_0x3b4fab(0x20c)]([this[_0x3b4fab(0x2bd)],_0x3b2730,!0x1,_0x758501,_0x28ff43]):this['getBlobData'](_0x3b2730,!0x1,_0x758501,_0x28ff43):this[_0x3b4fab(0x221)]!==_0xb53491?this['enqueue']([this[_0x3b4fab(0x389)],_0x3b2730,!0x1,_0x758501,_0x28ff43]):this['sendFrame'](_0x45fae3[_0x3b4fab(0x328)](_0x3b2730,_0x758501),_0x28ff43);}['send'](_0x3689d6,_0x6df18b,_0xf360c6){const _0x225fb0=_0x526004,_0x108e8b=this[_0x225fb0(0x37b)][_0x59ea59[_0x225fb0(0x2d8)]];let _0x58a402=_0x6df18b['binary']?0x2:0x1,_0x4028a2=_0x6df18b[_0x225fb0(0x2a8)],_0x2d7375,_0x2fa858;typeof _0x3689d6==_0x225fb0(0x2dd)?(_0x2d7375=Buffer[_0x225fb0(0x259)](_0x3689d6),_0x2fa858=!0x1):_0x3be7f9(_0x3689d6)?(_0x2d7375=_0x3689d6[_0x225fb0(0x3a0)],_0x2fa858=!0x1):(_0x3689d6=_0x37e3ed(_0x3689d6),_0x2d7375=_0x3689d6[_0x225fb0(0x34e)],_0x2fa858=_0x37e3ed[_0x225fb0(0x28b)]),this['_firstFragment']?(this[_0x225fb0(0x30f)]=!0x1,_0x4028a2&&_0x108e8b&&_0x108e8b[_0x225fb0(0x38e)][_0x108e8b[_0x225fb0(0x36e)]?_0x225fb0(0x272):'client_no_context_takeover']&&(_0x4028a2=_0x2d7375>=_0x108e8b[_0x225fb0(0x1fa)]),this[_0x225fb0(0x2b3)]=_0x4028a2):(_0x4028a2=!0x1,_0x58a402=0x0),_0x6df18b[_0x225fb0(0x2ba)]&&(this[_0x225fb0(0x30f)]=!0x0);const _0x163790={[_0x3107fc]:_0x2d7375,'fin':_0x6df18b[_0x225fb0(0x2ba)],'generateMask':this['_generateMask'],'mask':_0x6df18b[_0x225fb0(0x2e2)],'maskBuffer':this[_0x225fb0(0x28d)],'opcode':_0x58a402,'readOnly':_0x2fa858,'rsv1':_0x4028a2};_0x3be7f9(_0x3689d6)?this['_state']!==_0xb53491?this['enqueue']([this['getBlobData'],_0x3689d6,this[_0x225fb0(0x2b3)],_0x163790,_0xf360c6]):this[_0x225fb0(0x2bd)](_0x3689d6,this['_compress'],_0x163790,_0xf360c6):this[_0x225fb0(0x221)]!==_0xb53491?this[_0x225fb0(0x20c)]([this[_0x225fb0(0x389)],_0x3689d6,this[_0x225fb0(0x2b3)],_0x163790,_0xf360c6]):this[_0x225fb0(0x389)](_0x3689d6,this['_compress'],_0x163790,_0xf360c6);}[_0x526004(0x2bd)](_0x17d22f,_0x537464,_0x55f502,_0x13425e){const _0x2e0c92=_0x526004;this['_bufferedBytes']+=_0x55f502[_0x3107fc],this[_0x2e0c92(0x221)]=_0x115921,_0x17d22f[_0x2e0c92(0x386)]()[_0x2e0c92(0x218)](_0x377f02=>{const _0x3dfc2d=_0x2e0c92;if(this[_0x3dfc2d(0x31a)]['destroyed']){const _0xde8a40=new Error(_0x3dfc2d(0x34f));process[_0x3dfc2d(0x1fe)](_0x4854f5,this,_0xde8a40,_0x13425e);return;}this[_0x3dfc2d(0x31f)]-=_0x55f502[_0x3107fc];const _0x54d037=_0x37e3ed(_0x377f02);_0x537464?this[_0x3dfc2d(0x389)](_0x54d037,_0x537464,_0x55f502,_0x13425e):(this[_0x3dfc2d(0x221)]=_0xb53491,this['sendFrame'](_0x45fae3[_0x3dfc2d(0x328)](_0x54d037,_0x55f502),_0x13425e),this[_0x3dfc2d(0x287)]());})[_0x2e0c92(0x217)](_0x1ff096=>{const _0x4837cf=_0x2e0c92;process[_0x4837cf(0x1fe)](_0x426348,this,_0x1ff096,_0x13425e);});}[_0x526004(0x389)](_0x5d9e4a,_0x290400,_0x207786,_0x566460){const _0x1e9944=_0x526004;if(!_0x290400){this[_0x1e9944(0x260)](_0x45fae3[_0x1e9944(0x328)](_0x5d9e4a,_0x207786),_0x566460);return;}const _0xba2146=this[_0x1e9944(0x37b)][_0x59ea59[_0x1e9944(0x2d8)]];this[_0x1e9944(0x31f)]+=_0x207786[_0x3107fc],this[_0x1e9944(0x221)]=_0xaff3dd,_0xba2146[_0x1e9944(0x2a8)](_0x5d9e4a,_0x207786['fin'],(_0x41e48c,_0x1beaf7)=>{const _0xce162f=_0x1e9944;if(this['_socket'][_0xce162f(0x220)]){const _0x4dba34=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x4854f5(this,_0x4dba34,_0x566460);return;}this['_bufferedBytes']-=_0x207786[_0x3107fc],this[_0xce162f(0x221)]=_0xb53491,_0x207786[_0xce162f(0x28b)]=!0x1,this[_0xce162f(0x260)](_0x45fae3[_0xce162f(0x328)](_0x1beaf7,_0x207786),_0x566460),this[_0xce162f(0x287)]();});}[_0x526004(0x287)](){const _0xa80ea7=_0x526004;for(;this[_0xa80ea7(0x221)]===_0xb53491&&this[_0xa80ea7(0x2c2)][_0xa80ea7(0x34e)];){const _0x3cd56d=this[_0xa80ea7(0x2c2)]['shift']();this[_0xa80ea7(0x31f)]-=_0x3cd56d[0x3][_0x3107fc],Reflect[_0xa80ea7(0x283)](_0x3cd56d[0x0],this,_0x3cd56d['slice'](0x1));}}['enqueue'](_0x4a36ec){const _0x1c9f5d=_0x526004;this['_bufferedBytes']+=_0x4a36ec[0x3][_0x3107fc],this[_0x1c9f5d(0x2c2)][_0x1c9f5d(0x26e)](_0x4a36ec);}['sendFrame'](_0x5d71ef,_0x335b4f){const _0x2ea4ef=_0x526004;_0x5d71ef[_0x2ea4ef(0x34e)]===0x2?(this['_socket']['cork'](),this[_0x2ea4ef(0x31a)][_0x2ea4ef(0x28a)](_0x5d71ef[0x0]),this[_0x2ea4ef(0x31a)][_0x2ea4ef(0x28a)](_0x5d71ef[0x1],_0x335b4f),this['_socket']['uncork']()):this[_0x2ea4ef(0x31a)][_0x2ea4ef(0x28a)](_0x5d71ef[0x0],_0x335b4f);}}Ee=_0x45fae3;function _0x4854f5(_0xd4dba5,_0x196261,_0x25f842){const _0x3b705c=_0x526004;typeof _0x25f842==_0x3b705c(0x2ac)&&_0x25f842(_0x196261);for(let _0x54823c=0x0;_0x54823c<_0xd4dba5[_0x3b705c(0x2c2)][_0x3b705c(0x34e)];_0x54823c++){const _0x496f73=_0xd4dba5[_0x3b705c(0x2c2)][_0x54823c],_0x370dac=_0x496f73[_0x496f73[_0x3b705c(0x34e)]-0x1];typeof _0x370dac==_0x3b705c(0x2ac)&&_0x370dac(_0x196261);}}function _0x426348(_0xd0f427,_0x74990b,_0x513a1d){_0x4854f5(_0xd0f427,_0x74990b,_0x513a1d),_0xd0f427['onerror'](_0x74990b);}return Ee;}var xe,tt;function Kt(){const _0x548979=_0x4bc144;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x2beb00,kListener:_0x3c04b8}=V(),_0xb3be04=Symbol(_0x548979(0x276)),_0x2f1ba6=Symbol(_0x548979(0x20a)),_0xbf4e18=Symbol('kError'),_0x1082e2=Symbol(_0x548979(0x2ee)),_0xd98209=Symbol(_0x548979(0x234)),_0x38ee48=Symbol(_0x548979(0x378)),_0x322cc9=Symbol(_0x548979(0x2ec)),_0x497fb7=Symbol(_0x548979(0x37a));class _0x2c0d64{constructor(_0x1404f3){this[_0x38ee48]=null,this[_0x322cc9]=_0x1404f3;}get[_0x548979(0x35d)](){return this[_0x38ee48];}get[_0x548979(0x364)](){return this[_0x322cc9];}}Object[_0x548979(0x39a)](_0x2c0d64[_0x548979(0x244)],'target',{'enumerable':!0x0}),Object['defineProperty'](_0x2c0d64['prototype'],'type',{'enumerable':!0x0});class _0x419a8a extends _0x2c0d64{constructor(_0x1f1435,_0x43470b={}){const _0x5be06e=_0x548979;super(_0x1f1435),this[_0xb3be04]=_0x43470b[_0x5be06e(0x2f5)]===void 0x0?0x0:_0x43470b[_0x5be06e(0x2f5)],this[_0xd98209]=_0x43470b[_0x5be06e(0x292)]===void 0x0?'':_0x43470b[_0x5be06e(0x292)],this[_0x497fb7]=_0x43470b['wasClean']===void 0x0?!0x1:_0x43470b[_0x5be06e(0x2eb)];}get[_0x548979(0x2f5)](){return this[_0xb3be04];}get[_0x548979(0x292)](){return this[_0xd98209];}get[_0x548979(0x2eb)](){return this[_0x497fb7];}}Object[_0x548979(0x39a)](_0x419a8a[_0x548979(0x244)],_0x548979(0x2f5),{'enumerable':!0x0}),Object['defineProperty'](_0x419a8a[_0x548979(0x244)],'reason',{'enumerable':!0x0}),Object[_0x548979(0x39a)](_0x419a8a['prototype'],_0x548979(0x2eb),{'enumerable':!0x0});class _0x2e966f extends _0x2c0d64{constructor(_0x1fabe4,_0x4ec1ac={}){const _0x12246a=_0x548979;super(_0x1fabe4),this[_0xbf4e18]=_0x4ec1ac[_0x12246a(0x2b0)]===void 0x0?null:_0x4ec1ac[_0x12246a(0x2b0)],this[_0x1082e2]=_0x4ec1ac[_0x12246a(0x2d3)]===void 0x0?'':_0x4ec1ac[_0x12246a(0x2d3)];}get[_0x548979(0x2b0)](){return this[_0xbf4e18];}get[_0x548979(0x2d3)](){return this[_0x1082e2];}}Object[_0x548979(0x39a)](_0x2e966f[_0x548979(0x244)],_0x548979(0x2b0),{'enumerable':!0x0}),Object[_0x548979(0x39a)](_0x2e966f['prototype'],_0x548979(0x2d3),{'enumerable':!0x0});class _0x2b46bd extends _0x2c0d64{constructor(_0x3edc2c,_0x30f9c2={}){const _0x498848=_0x548979;super(_0x3edc2c),this[_0x2f1ba6]=_0x30f9c2['data']===void 0x0?null:_0x30f9c2[_0x498848(0x23c)];}get[_0x548979(0x23c)](){return this[_0x2f1ba6];}}Object[_0x548979(0x39a)](_0x2b46bd[_0x548979(0x244)],_0x548979(0x23c),{'enumerable':!0x0}),xe={'CloseEvent':_0x419a8a,'ErrorEvent':_0x2e966f,'Event':_0x2c0d64,'EventTarget':{'addEventListener'(_0x2acc3f,_0x4f2bc5,_0x56bf31={}){const _0xb5a712=_0x548979;for(const _0x4bf843 of this[_0xb5a712(0x2f7)](_0x2acc3f))if(!_0x56bf31[_0x2beb00]&&_0x4bf843[_0x3c04b8]===_0x4f2bc5&&!_0x4bf843[_0x2beb00])return;let _0x347d86;if(_0x2acc3f==='message')_0x347d86=function(_0x3aa3a7,_0x281f0b){const _0xb8628a=_0xb5a712,_0x301203=new _0x2b46bd(_0xb8628a(0x2d3),{'data':_0x281f0b?_0x3aa3a7:_0x3aa3a7[_0xb8628a(0x216)]()});_0x301203[_0x38ee48]=this,_0x5e308f(_0x4f2bc5,this,_0x301203);};else{if(_0x2acc3f===_0xb5a712(0x2a2))_0x347d86=function(_0x1f6f54,_0x1cf839){const _0x48785b=_0xb5a712,_0x5c0ed7=new _0x419a8a(_0x48785b(0x2a2),{'code':_0x1f6f54,'reason':_0x1cf839['toString'](),'wasClean':this[_0x48785b(0x30b)]&&this[_0x48785b(0x25d)]});_0x5c0ed7[_0x38ee48]=this,_0x5e308f(_0x4f2bc5,this,_0x5c0ed7);};else{if(_0x2acc3f===_0xb5a712(0x2b0))_0x347d86=function(_0x5b6303){const _0x158ab7=_0xb5a712,_0x4b5637=new _0x2e966f('error',{'error':_0x5b6303,'message':_0x5b6303[_0x158ab7(0x2d3)]});_0x4b5637[_0x38ee48]=this,_0x5e308f(_0x4f2bc5,this,_0x4b5637);};else{if(_0x2acc3f===_0xb5a712(0x2bf))_0x347d86=function(){const _0x19b69f=_0xb5a712,_0x52c1d7=new _0x2c0d64(_0x19b69f(0x2bf));_0x52c1d7[_0x38ee48]=this,_0x5e308f(_0x4f2bc5,this,_0x52c1d7);};else return;}}}_0x347d86[_0x2beb00]=!!_0x56bf31[_0x2beb00],_0x347d86[_0x3c04b8]=_0x4f2bc5,_0x56bf31[_0xb5a712(0x213)]?this[_0xb5a712(0x213)](_0x2acc3f,_0x347d86):this['on'](_0x2acc3f,_0x347d86);},'removeEventListener'(_0x58b217,_0x3cc4b0){const _0x160ac5=_0x548979;for(const _0x528cc1 of this[_0x160ac5(0x2f7)](_0x58b217))if(_0x528cc1[_0x3c04b8]===_0x3cc4b0&&!_0x528cc1[_0x2beb00]){this['removeListener'](_0x58b217,_0x528cc1);break;}}},'MessageEvent':_0x2b46bd};function _0x5e308f(_0x10494a,_0x144d19,_0x5db22f){const _0x423e44=_0x548979;typeof _0x10494a==_0x423e44(0x2c5)&&_0x10494a[_0x423e44(0x20b)]?_0x10494a['handleEvent']['call'](_0x10494a,_0x5db22f):_0x10494a[_0x423e44(0x27b)](_0x144d19,_0x5db22f);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x44ce6a}=ne();function _0x2ba932(_0x43123f,_0x4b245c,_0x22abfe){_0x43123f[_0x4b245c]===void 0x0?_0x43123f[_0x4b245c]=[_0x22abfe]:_0x43123f[_0x4b245c]['push'](_0x22abfe);}function _0x239fce(_0x35cd8b){const _0x1a6713=_0x5e22,_0x17485e=Object[_0x1a6713(0x1fd)](null);let _0x34a838=Object['create'](null),_0x3406e4=!0x1,_0x3536e5=!0x1,_0x3c0dbe=!0x1,_0x4e47bb,_0x1c3b96,_0x4f3962=-0x1,_0x3ec518=-0x1,_0x428aff=-0x1,_0x33cb62=0x0;for(;_0x33cb62<_0x35cd8b[_0x1a6713(0x34e)];_0x33cb62++)if(_0x3ec518=_0x35cd8b['charCodeAt'](_0x33cb62),_0x4e47bb===void 0x0){if(_0x428aff===-0x1&&_0x44ce6a[_0x3ec518]===0x1)_0x4f3962===-0x1&&(_0x4f3962=_0x33cb62);else{if(_0x33cb62!==0x0&&(_0x3ec518===0x20||_0x3ec518===0x9))_0x428aff===-0x1&&_0x4f3962!==-0x1&&(_0x428aff=_0x33cb62);else{if(_0x3ec518===0x3b||_0x3ec518===0x2c){if(_0x4f3962===-0x1)throw new SyntaxError(_0x1a6713(0x27a)+_0x33cb62);_0x428aff===-0x1&&(_0x428aff=_0x33cb62);const _0x293d3f=_0x35cd8b[_0x1a6713(0x342)](_0x4f3962,_0x428aff);_0x3ec518===0x2c?(_0x2ba932(_0x17485e,_0x293d3f,_0x34a838),_0x34a838=Object[_0x1a6713(0x1fd)](null)):_0x4e47bb=_0x293d3f,_0x4f3962=_0x428aff=-0x1;}else throw new SyntaxError(_0x1a6713(0x27a)+_0x33cb62);}}}else{if(_0x1c3b96===void 0x0){if(_0x428aff===-0x1&&_0x44ce6a[_0x3ec518]===0x1)_0x4f3962===-0x1&&(_0x4f3962=_0x33cb62);else{if(_0x3ec518===0x20||_0x3ec518===0x9)_0x428aff===-0x1&&_0x4f3962!==-0x1&&(_0x428aff=_0x33cb62);else{if(_0x3ec518===0x3b||_0x3ec518===0x2c){if(_0x4f3962===-0x1)throw new SyntaxError(_0x1a6713(0x27a)+_0x33cb62);_0x428aff===-0x1&&(_0x428aff=_0x33cb62),_0x2ba932(_0x34a838,_0x35cd8b['slice'](_0x4f3962,_0x428aff),!0x0),_0x3ec518===0x2c&&(_0x2ba932(_0x17485e,_0x4e47bb,_0x34a838),_0x34a838=Object['create'](null),_0x4e47bb=void 0x0),_0x4f3962=_0x428aff=-0x1;}else{if(_0x3ec518===0x3d&&_0x4f3962!==-0x1&&_0x428aff===-0x1)_0x1c3b96=_0x35cd8b[_0x1a6713(0x342)](_0x4f3962,_0x33cb62),_0x4f3962=_0x428aff=-0x1;else throw new SyntaxError(_0x1a6713(0x27a)+_0x33cb62);}}}}else{if(_0x3536e5){if(_0x44ce6a[_0x3ec518]!==0x1)throw new SyntaxError(_0x1a6713(0x27a)+_0x33cb62);_0x4f3962===-0x1?_0x4f3962=_0x33cb62:_0x3406e4||(_0x3406e4=!0x0),_0x3536e5=!0x1;}else{if(_0x3c0dbe){if(_0x44ce6a[_0x3ec518]===0x1)_0x4f3962===-0x1&&(_0x4f3962=_0x33cb62);else{if(_0x3ec518===0x22&&_0x4f3962!==-0x1)_0x3c0dbe=!0x1,_0x428aff=_0x33cb62;else{if(_0x3ec518===0x5c)_0x3536e5=!0x0;else throw new SyntaxError(_0x1a6713(0x27a)+_0x33cb62);}}}else{if(_0x3ec518===0x22&&_0x35cd8b['charCodeAt'](_0x33cb62-0x1)===0x3d)_0x3c0dbe=!0x0;else{if(_0x428aff===-0x1&&_0x44ce6a[_0x3ec518]===0x1)_0x4f3962===-0x1&&(_0x4f3962=_0x33cb62);else{if(_0x4f3962!==-0x1&&(_0x3ec518===0x20||_0x3ec518===0x9))_0x428aff===-0x1&&(_0x428aff=_0x33cb62);else{if(_0x3ec518===0x3b||_0x3ec518===0x2c){if(_0x4f3962===-0x1)throw new SyntaxError(_0x1a6713(0x27a)+_0x33cb62);_0x428aff===-0x1&&(_0x428aff=_0x33cb62);let _0x6ea130=_0x35cd8b[_0x1a6713(0x342)](_0x4f3962,_0x428aff);_0x3406e4&&(_0x6ea130=_0x6ea130['replace'](/\\/g,''),_0x3406e4=!0x1),_0x2ba932(_0x34a838,_0x1c3b96,_0x6ea130),_0x3ec518===0x2c&&(_0x2ba932(_0x17485e,_0x4e47bb,_0x34a838),_0x34a838=Object[_0x1a6713(0x1fd)](null),_0x4e47bb=void 0x0),_0x1c3b96=void 0x0,_0x4f3962=_0x428aff=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x33cb62);}}}}}}}if(_0x4f3962===-0x1||_0x3c0dbe||_0x3ec518===0x20||_0x3ec518===0x9)throw new SyntaxError(_0x1a6713(0x39e));_0x428aff===-0x1&&(_0x428aff=_0x33cb62);const _0x50c0b9=_0x35cd8b[_0x1a6713(0x342)](_0x4f3962,_0x428aff);return _0x4e47bb===void 0x0?_0x2ba932(_0x17485e,_0x50c0b9,_0x34a838):(_0x1c3b96===void 0x0?_0x2ba932(_0x34a838,_0x50c0b9,!0x0):_0x3406e4?_0x2ba932(_0x34a838,_0x1c3b96,_0x50c0b9['replace'](/\\/g,'')):_0x2ba932(_0x34a838,_0x1c3b96,_0x50c0b9),_0x2ba932(_0x17485e,_0x4e47bb,_0x34a838)),_0x17485e;}function _0x304ef6(_0x1565d2){const _0x34964b=_0x5e22;return Object[_0x34964b(0x3a3)](_0x1565d2)[_0x34964b(0x360)](_0x234697=>{const _0x186a8d=_0x34964b;let _0x334b10=_0x1565d2[_0x234697];return Array[_0x186a8d(0x370)](_0x334b10)||(_0x334b10=[_0x334b10]),_0x334b10['map'](_0x32e00a=>[_0x234697][_0x186a8d(0x322)](Object['keys'](_0x32e00a)[_0x186a8d(0x360)](_0x39618f=>{const _0xeced8d=_0x186a8d;let _0x1d5b1d=_0x32e00a[_0x39618f];return Array[_0xeced8d(0x370)](_0x1d5b1d)||(_0x1d5b1d=[_0x1d5b1d]),_0x1d5b1d[_0xeced8d(0x360)](_0x354f3c=>_0x354f3c===!0x0?_0x39618f:_0x39618f+'='+_0x354f3c)[_0xeced8d(0x31c)](';\x20');}))[_0x186a8d(0x31c)](';\x20'))[_0x186a8d(0x31c)](',\x20');})[_0x34964b(0x31c)](',\x20');}return be={'format':_0x304ef6,'parse':_0x239fce},be;}var we,st;function Ie(){const _0x50bdea=_0x4bc144;if(st)return we;st=0x1;const _0x1e5a0d=_0x2b706c,_0x5191e9=_0x34025c,_0x487f77=_0xc49ca8,_0x489788=_0x22f0e4,_0x47c015=_0x5d446d,{randomBytes:_0x2c2ac7,createHash:_0xeb6427}=_0x1708a4,{Duplex:_0x4b1c7b,Readable:_0x46bf56}=_0x1142f9,{URL:_0x252788}=_0x27fa54,_0x3af676=he(),_0x507a85=dt(),_0x2cd64a=_t(),{isBlob:_0x245d40}=ne(),{BINARY_TYPES:_0x38cffd,EMPTY_BUFFER:_0x2d2deb,GUID:_0x8bae9f,kForOnEventAttribute:_0xe526a4,kListener:_0x115a6f,kStatusCode:_0xbfda07,kWebSocket:_0x51473f,NOOP:_0x485503}=V(),{EventTarget:{addEventListener:_0x249955,removeEventListener:_0x2e2cc9}}=Kt(),{format:_0x30cf10,parse:_0x27d2d5}=pt(),{toBuffer:_0xea56ec}=ce(),_0x245c9c=0x1e*0x3e8,_0x1be386=Symbol(_0x50bdea(0x36a)),_0x3d9463=[0x8,0xd],_0x528cef=[_0x50bdea(0x369),_0x50bdea(0x1fb),'CLOSING',_0x50bdea(0x21b)],_0x4a3b9f=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x3ad158 extends _0x1e5a0d{constructor(_0x72b1d4,_0x7c979e,_0x243b9a){const _0x40ae74=_0x50bdea;super(),this['_binaryType']=_0x38cffd[0x0],this['_closeCode']=0x3ee,this[_0x40ae74(0x30b)]=!0x1,this[_0x40ae74(0x25d)]=!0x1,this[_0x40ae74(0x3a5)]=_0x2d2deb,this[_0x40ae74(0x39f)]=null,this[_0x40ae74(0x250)]=!0x1,this[_0x40ae74(0x37b)]={},this[_0x40ae74(0x23d)]=!0x1,this['_protocol']='',this[_0x40ae74(0x33b)]=_0x3ad158['CONNECTING'],this['_receiver']=null,this[_0x40ae74(0x2a7)]=null,this['_socket']=null,_0x72b1d4!==null?(this['_bufferedAmount']=0x0,this[_0x40ae74(0x36e)]=!0x1,this[_0x40ae74(0x1ff)]=0x0,_0x7c979e===void 0x0?_0x7c979e=[]:Array[_0x40ae74(0x370)](_0x7c979e)||(typeof _0x7c979e=='object'&&_0x7c979e!==null?(_0x243b9a=_0x7c979e,_0x7c979e=[]):_0x7c979e=[_0x7c979e]),_0x1d8c29(this,_0x72b1d4,_0x7c979e,_0x243b9a)):(this['_autoPong']=_0x243b9a[_0x40ae74(0x21a)],this[_0x40ae74(0x36e)]=!0x0);}get['binaryType'](){return this['_binaryType'];}set[_0x50bdea(0x23f)](_0x325df5){const _0xda1cbb=_0x50bdea;_0x38cffd[_0xda1cbb(0x209)](_0x325df5)&&(this[_0xda1cbb(0x26b)]=_0x325df5,this[_0xda1cbb(0x317)]&&(this['_receiver'][_0xda1cbb(0x26b)]=_0x325df5));}get[_0x50bdea(0x321)](){const _0x196196=_0x50bdea;return this[_0x196196(0x31a)]?this[_0x196196(0x31a)][_0x196196(0x222)][_0x196196(0x34e)]+this['_sender']['_bufferedBytes']:this[_0x196196(0x391)];}get[_0x50bdea(0x2c6)](){const _0x1f9719=_0x50bdea;return Object[_0x1f9719(0x3a3)](this['_extensions'])[_0x1f9719(0x31c)]();}get[_0x50bdea(0x385)](){const _0x492e78=_0x50bdea;return this[_0x492e78(0x23d)];}get['onclose'](){return null;}get[_0x50bdea(0x2a5)](){return null;}get[_0x50bdea(0x1f7)](){return null;}get[_0x50bdea(0x37e)](){return null;}get['protocol'](){const _0x1b3936=_0x50bdea;return this[_0x1b3936(0x2d7)];}get[_0x50bdea(0x368)](){const _0x47cd75=_0x50bdea;return this[_0x47cd75(0x33b)];}get['url'](){return this['_url'];}[_0x50bdea(0x1f8)](_0xcc055f,_0x1bd17a,_0x4bc93f){const _0x395678=_0x50bdea,_0x2fd27f=new _0x507a85({'allowSynchronousEvents':_0x4bc93f[_0x395678(0x392)],'binaryType':this[_0x395678(0x23f)],'extensions':this[_0x395678(0x37b)],'isServer':this[_0x395678(0x36e)],'maxPayload':_0x4bc93f['maxPayload'],'skipUTF8Validation':_0x4bc93f[_0x395678(0x388)]}),_0x3848aa=new _0x2cd64a(_0xcc055f,this[_0x395678(0x37b)],_0x4bc93f[_0x395678(0x25a)]);this['_receiver']=_0x2fd27f,this[_0x395678(0x2a7)]=_0x3848aa,this['_socket']=_0xcc055f,_0x2fd27f[_0x51473f]=this,_0x3848aa[_0x51473f]=this,_0xcc055f[_0x51473f]=this,_0x2fd27f['on'](_0x395678(0x299),_0x314694),_0x2fd27f['on']('drain',_0x4dd467),_0x2fd27f['on'](_0x395678(0x2b0),_0x181523),_0x2fd27f['on'](_0x395678(0x2d3),_0x158814),_0x2fd27f['on'](_0x395678(0x238),_0x4a28a9),_0x2fd27f['on'](_0x395678(0x39b),_0x2f6982),_0x3848aa[_0x395678(0x2a5)]=_0x52d592,_0xcc055f['setTimeout']&&_0xcc055f[_0x395678(0x2e0)](0x0),_0xcc055f[_0x395678(0x280)]&&_0xcc055f[_0x395678(0x280)](),_0x1bd17a[_0x395678(0x34e)]>0x0&&_0xcc055f[_0x395678(0x208)](_0x1bd17a),_0xcc055f['on']('close',_0x10023b),_0xcc055f['on'](_0x395678(0x23c),_0x52f819),_0xcc055f['on'](_0x395678(0x261),_0x1d6e8b),_0xcc055f['on'](_0x395678(0x2b0),_0x50df84),this[_0x395678(0x33b)]=_0x3ad158[_0x395678(0x1fb)],this[_0x395678(0x20e)]('open');}[_0x50bdea(0x27f)](){const _0x5d309c=_0x50bdea;if(!this[_0x5d309c(0x31a)]){this[_0x5d309c(0x33b)]=_0x3ad158['CLOSED'],this[_0x5d309c(0x20e)](_0x5d309c(0x2a2),this[_0x5d309c(0x38d)],this[_0x5d309c(0x3a5)]);return;}this['_extensions'][_0x3af676[_0x5d309c(0x2d8)]]&&this['_extensions'][_0x3af676[_0x5d309c(0x2d8)]][_0x5d309c(0x282)](),this[_0x5d309c(0x317)][_0x5d309c(0x28f)](),this['_readyState']=_0x3ad158['CLOSED'],this[_0x5d309c(0x20e)](_0x5d309c(0x2a2),this[_0x5d309c(0x38d)],this[_0x5d309c(0x3a5)]);}['close'](_0x87c3aa,_0x3d04e9){const _0x85a92c=_0x50bdea;if(this[_0x85a92c(0x368)]!==_0x3ad158['CLOSED']){if(this[_0x85a92c(0x368)]===_0x3ad158[_0x85a92c(0x369)]){_0x422be1(this,this[_0x85a92c(0x377)],_0x85a92c(0x228));return;}if(this['readyState']===_0x3ad158[_0x85a92c(0x382)]){this[_0x85a92c(0x25d)]&&(this[_0x85a92c(0x30b)]||this[_0x85a92c(0x317)][_0x85a92c(0x222)]['errorEmitted'])&&this['_socket']['end']();return;}this['_readyState']=_0x3ad158['CLOSING'],this[_0x85a92c(0x2a7)]['close'](_0x87c3aa,_0x3d04e9,!this[_0x85a92c(0x36e)],_0x2e3035=>{const _0x3c0d05=_0x85a92c;_0x2e3035||(this[_0x3c0d05(0x25d)]=!0x0,(this[_0x3c0d05(0x30b)]||this['_receiver'][_0x3c0d05(0x222)][_0x3c0d05(0x346)])&&this[_0x3c0d05(0x31a)][_0x3c0d05(0x261)]());}),_0x1b1fd5(this);}}['pause'](){const _0x1fd041=_0x50bdea;this[_0x1fd041(0x368)]===_0x3ad158[_0x1fd041(0x369)]||this['readyState']===_0x3ad158[_0x1fd041(0x21b)]||(this[_0x1fd041(0x23d)]=!0x0,this[_0x1fd041(0x31a)]['pause']());}['ping'](_0x5cd150,_0x2730a,_0x173aae){const _0x2dd4c3=_0x50bdea;if(this[_0x2dd4c3(0x368)]===_0x3ad158[_0x2dd4c3(0x369)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x5cd150==_0x2dd4c3(0x2ac)?(_0x173aae=_0x5cd150,_0x5cd150=_0x2730a=void 0x0):typeof _0x2730a=='function'&&(_0x173aae=_0x2730a,_0x2730a=void 0x0),typeof _0x5cd150==_0x2dd4c3(0x291)&&(_0x5cd150=_0x5cd150[_0x2dd4c3(0x216)]()),this['readyState']!==_0x3ad158[_0x2dd4c3(0x1fb)]){_0x4987fe(this,_0x5cd150,_0x173aae);return;}_0x2730a===void 0x0&&(_0x2730a=!this[_0x2dd4c3(0x36e)]),this[_0x2dd4c3(0x2a7)][_0x2dd4c3(0x238)](_0x5cd150||_0x2d2deb,_0x2730a,_0x173aae);}[_0x50bdea(0x39b)](_0x23bbd2,_0x23d1fb,_0x5231ca){const _0x577fe8=_0x50bdea;if(this[_0x577fe8(0x368)]===_0x3ad158[_0x577fe8(0x369)])throw new Error(_0x577fe8(0x399));if(typeof _0x23bbd2==_0x577fe8(0x2ac)?(_0x5231ca=_0x23bbd2,_0x23bbd2=_0x23d1fb=void 0x0):typeof _0x23d1fb==_0x577fe8(0x2ac)&&(_0x5231ca=_0x23d1fb,_0x23d1fb=void 0x0),typeof _0x23bbd2==_0x577fe8(0x291)&&(_0x23bbd2=_0x23bbd2['toString']()),this[_0x577fe8(0x368)]!==_0x3ad158[_0x577fe8(0x1fb)]){_0x4987fe(this,_0x23bbd2,_0x5231ca);return;}_0x23d1fb===void 0x0&&(_0x23d1fb=!this[_0x577fe8(0x36e)]),this[_0x577fe8(0x2a7)]['pong'](_0x23bbd2||_0x2d2deb,_0x23d1fb,_0x5231ca);}[_0x50bdea(0x2f9)](){const _0x460579=_0x50bdea;this['readyState']===_0x3ad158['CONNECTING']||this['readyState']===_0x3ad158[_0x460579(0x21b)]||(this[_0x460579(0x23d)]=!0x1,this[_0x460579(0x317)][_0x460579(0x222)]['needDrain']||this['_socket'][_0x460579(0x2f9)]());}[_0x50bdea(0x25b)](_0xe90f96,_0xaf7f90,_0x250450){const _0x465cfa=_0x50bdea;if(this[_0x465cfa(0x368)]===_0x3ad158['CONNECTING'])throw new Error(_0x465cfa(0x399));if(typeof _0xaf7f90=='function'&&(_0x250450=_0xaf7f90,_0xaf7f90={}),typeof _0xe90f96==_0x465cfa(0x291)&&(_0xe90f96=_0xe90f96[_0x465cfa(0x216)]()),this['readyState']!==_0x3ad158[_0x465cfa(0x1fb)]){_0x4987fe(this,_0xe90f96,_0x250450);return;}const _0x41619c={'binary':typeof _0xe90f96!=_0x465cfa(0x2dd),'mask':!this[_0x465cfa(0x36e)],'compress':!0x0,'fin':!0x0,..._0xaf7f90};this[_0x465cfa(0x37b)][_0x3af676[_0x465cfa(0x2d8)]]||(_0x41619c['compress']=!0x1),this['_sender']['send'](_0xe90f96||_0x2d2deb,_0x41619c,_0x250450);}['terminate'](){const _0x3ccbf8=_0x50bdea;if(this[_0x3ccbf8(0x368)]!==_0x3ad158['CLOSED']){if(this[_0x3ccbf8(0x368)]===_0x3ad158[_0x3ccbf8(0x369)]){_0x422be1(this,this['_req'],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}this[_0x3ccbf8(0x31a)]&&(this[_0x3ccbf8(0x33b)]=_0x3ad158[_0x3ccbf8(0x382)],this[_0x3ccbf8(0x31a)][_0x3ccbf8(0x230)]());}}}Object[_0x50bdea(0x39a)](_0x3ad158,_0x50bdea(0x369),{'enumerable':!0x0,'value':_0x528cef[_0x50bdea(0x2da)]('CONNECTING')}),Object[_0x50bdea(0x39a)](_0x3ad158[_0x50bdea(0x244)],_0x50bdea(0x369),{'enumerable':!0x0,'value':_0x528cef['indexOf']('CONNECTING')}),Object[_0x50bdea(0x39a)](_0x3ad158,_0x50bdea(0x1fb),{'enumerable':!0x0,'value':_0x528cef[_0x50bdea(0x2da)](_0x50bdea(0x1fb))}),Object[_0x50bdea(0x39a)](_0x3ad158[_0x50bdea(0x244)],'OPEN',{'enumerable':!0x0,'value':_0x528cef[_0x50bdea(0x2da)]('OPEN')}),Object[_0x50bdea(0x39a)](_0x3ad158,'CLOSING',{'enumerable':!0x0,'value':_0x528cef['indexOf'](_0x50bdea(0x382))}),Object[_0x50bdea(0x39a)](_0x3ad158[_0x50bdea(0x244)],_0x50bdea(0x382),{'enumerable':!0x0,'value':_0x528cef['indexOf'](_0x50bdea(0x382))}),Object['defineProperty'](_0x3ad158,_0x50bdea(0x21b),{'enumerable':!0x0,'value':_0x528cef[_0x50bdea(0x2da)]('CLOSED')}),Object[_0x50bdea(0x39a)](_0x3ad158[_0x50bdea(0x244)],_0x50bdea(0x21b),{'enumerable':!0x0,'value':_0x528cef[_0x50bdea(0x2da)](_0x50bdea(0x21b))}),[_0x50bdea(0x23f),_0x50bdea(0x321),_0x50bdea(0x2c6),_0x50bdea(0x385),'protocol','readyState',_0x50bdea(0x207)][_0x50bdea(0x383)](_0x271450=>{const _0x1ee8de=_0x50bdea;Object[_0x1ee8de(0x39a)](_0x3ad158[_0x1ee8de(0x244)],_0x271450,{'enumerable':!0x0});}),[_0x50bdea(0x2bf),_0x50bdea(0x2b0),_0x50bdea(0x2a2),_0x50bdea(0x2d3)][_0x50bdea(0x383)](_0x3902c3=>{const _0x43d7f7=_0x50bdea;Object[_0x43d7f7(0x39a)](_0x3ad158[_0x43d7f7(0x244)],'on'+_0x3902c3,{'enumerable':!0x0,'get'(){const _0x22cdf2=_0x43d7f7;for(const _0x4cf002 of this[_0x22cdf2(0x2f7)](_0x3902c3))if(_0x4cf002[_0xe526a4])return _0x4cf002[_0x115a6f];return null;},'set'(_0x1c44fa){const _0x1ab462=_0x43d7f7;for(const _0x46219d of this['listeners'](_0x3902c3))if(_0x46219d[_0xe526a4]){this[_0x1ab462(0x36b)](_0x3902c3,_0x46219d);break;}typeof _0x1c44fa==_0x1ab462(0x2ac)&&this['addEventListener'](_0x3902c3,_0x1c44fa,{[_0xe526a4]:!0x0});}});}),_0x3ad158[_0x50bdea(0x244)][_0x50bdea(0x2f8)]=_0x249955,_0x3ad158['prototype'][_0x50bdea(0x297)]=_0x2e2cc9,we=_0x3ad158;function _0x1d8c29(_0x3d7da0,_0x37b2aa,_0x401fcc,_0xd99d3){const _0xd75ba5=_0x50bdea,_0x3cbfaf={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x3d9463[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0xd99d3,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x3d7da0[_0xd75ba5(0x29d)]=_0x3cbfaf[_0xd75ba5(0x21a)],!_0x3d9463[_0xd75ba5(0x209)](_0x3cbfaf[_0xd75ba5(0x26f)]))throw new RangeError(_0xd75ba5(0x219)+_0x3cbfaf[_0xd75ba5(0x26f)]+_0xd75ba5(0x38f)+_0x3d9463[_0xd75ba5(0x31c)](',\x20')+')');let _0x3acb7c;if(_0x37b2aa instanceof _0x252788)_0x3acb7c=_0x37b2aa;else try{_0x3acb7c=new _0x252788(_0x37b2aa);}catch{throw new SyntaxError('Invalid\x20URL:\x20'+_0x37b2aa);}_0x3acb7c[_0xd75ba5(0x37f)]===_0xd75ba5(0x2a9)?_0x3acb7c[_0xd75ba5(0x37f)]=_0xd75ba5(0x39c):_0x3acb7c[_0xd75ba5(0x37f)]===_0xd75ba5(0x296)&&(_0x3acb7c['protocol']='wss:'),_0x3d7da0[_0xd75ba5(0x2ed)]=_0x3acb7c[_0xd75ba5(0x281)];const _0x3d285f=_0x3acb7c[_0xd75ba5(0x37f)]===_0xd75ba5(0x32c),_0x3dede6=_0x3acb7c['protocol']===_0xd75ba5(0x2f0);let _0x2cd057;if(_0x3acb7c[_0xd75ba5(0x37f)]!=='ws:'&&!_0x3d285f&&!_0x3dede6?_0x2cd057=_0xd75ba5(0x337):_0x3dede6&&!_0x3acb7c[_0xd75ba5(0x2f1)]?_0x2cd057=_0xd75ba5(0x21f):_0x3acb7c['hash']&&(_0x2cd057=_0xd75ba5(0x258)),_0x2cd057){const _0x661723=new SyntaxError(_0x2cd057);if(_0x3d7da0[_0xd75ba5(0x1ff)]===0x0)throw _0x661723;_0xc59212(_0x3d7da0,_0x661723);return;}const _0x368d8c=_0x3d285f?0x1bb:0x50,_0x5f18e2=_0x2c2ac7(0x10)[_0xd75ba5(0x216)]('base64'),_0x20671f=_0x3d285f?_0x5191e9[_0xd75ba5(0x210)]:_0x487f77[_0xd75ba5(0x210)],_0x1dd634=new Set();let _0xbcd95f;if(_0x3cbfaf[_0xd75ba5(0x24f)]=_0x3cbfaf[_0xd75ba5(0x24f)]||(_0x3d285f?_0x4d9a4f:_0xe648dc),_0x3cbfaf[_0xd75ba5(0x29f)]=_0x3cbfaf[_0xd75ba5(0x29f)]||_0x368d8c,_0x3cbfaf[_0xd75ba5(0x32e)]=_0x3acb7c[_0xd75ba5(0x32e)]||_0x368d8c,_0x3cbfaf['host']=_0x3acb7c['hostname'][_0xd75ba5(0x29e)]('[')?_0x3acb7c[_0xd75ba5(0x398)]['slice'](0x1,-0x1):_0x3acb7c[_0xd75ba5(0x398)],_0x3cbfaf[_0xd75ba5(0x331)]={..._0x3cbfaf[_0xd75ba5(0x331)],'Sec-WebSocket-Version':_0x3cbfaf[_0xd75ba5(0x26f)],'Sec-WebSocket-Key':_0x5f18e2,'Connection':_0xd75ba5(0x324),'Upgrade':_0xd75ba5(0x212)},_0x3cbfaf[_0xd75ba5(0x2d2)]=_0x3acb7c['pathname']+_0x3acb7c[_0xd75ba5(0x298)],_0x3cbfaf['timeout']=_0x3cbfaf[_0xd75ba5(0x2a6)],_0x3cbfaf[_0xd75ba5(0x268)]&&(_0xbcd95f=new _0x3af676(_0x3cbfaf[_0xd75ba5(0x268)]!==!0x0?_0x3cbfaf[_0xd75ba5(0x268)]:{},!0x1,_0x3cbfaf[_0xd75ba5(0x233)]),_0x3cbfaf['headers'][_0xd75ba5(0x2b1)]=_0x30cf10({[_0x3af676[_0xd75ba5(0x2d8)]]:_0xbcd95f['offer']()})),_0x401fcc[_0xd75ba5(0x34e)]){for(const _0x2b48b6 of _0x401fcc){if(typeof _0x2b48b6!='string'||!_0x4a3b9f['test'](_0x2b48b6)||_0x1dd634[_0xd75ba5(0x274)](_0x2b48b6))throw new SyntaxError(_0xd75ba5(0x371));_0x1dd634[_0xd75ba5(0x2ef)](_0x2b48b6);}_0x3cbfaf[_0xd75ba5(0x331)][_0xd75ba5(0x34a)]=_0x401fcc['join'](',');}if(_0x3cbfaf[_0xd75ba5(0x374)]&&(_0x3cbfaf[_0xd75ba5(0x26f)]<0xd?_0x3cbfaf['headers']['Sec-WebSocket-Origin']=_0x3cbfaf['origin']:_0x3cbfaf[_0xd75ba5(0x331)][_0xd75ba5(0x229)]=_0x3cbfaf[_0xd75ba5(0x374)]),(_0x3acb7c['username']||_0x3acb7c['password'])&&(_0x3cbfaf['auth']=_0x3acb7c[_0xd75ba5(0x2cb)]+':'+_0x3acb7c[_0xd75ba5(0x2c9)]),_0x3dede6){const _0x1eeb4f=_0x3cbfaf[_0xd75ba5(0x2d2)]['split'](':');_0x3cbfaf[_0xd75ba5(0x2e7)]=_0x1eeb4f[0x0],_0x3cbfaf['path']=_0x1eeb4f[0x1];}let _0x39861d;if(_0x3cbfaf[_0xd75ba5(0x294)]){if(_0x3d7da0[_0xd75ba5(0x1ff)]===0x0){_0x3d7da0[_0xd75ba5(0x365)]=_0x3dede6,_0x3d7da0[_0xd75ba5(0x32f)]=_0x3d285f,_0x3d7da0[_0xd75ba5(0x348)]=_0x3dede6?_0x3cbfaf['socketPath']:_0x3acb7c[_0xd75ba5(0x231)];const _0x543abb=_0xd99d3&&_0xd99d3[_0xd75ba5(0x331)];if(_0xd99d3={..._0xd99d3,'headers':{}},_0x543abb){for(const [_0x549ac7,_0x2cbeb0]of Object[_0xd75ba5(0x32d)](_0x543abb))_0xd99d3[_0xd75ba5(0x331)][_0x549ac7[_0xd75ba5(0x32a)]()]=_0x2cbeb0;}}else{if(_0x3d7da0[_0xd75ba5(0x33e)]('redirect')===0x0){const _0x3a7f05=_0x3dede6?_0x3d7da0['_originalIpc']?_0x3cbfaf['socketPath']===_0x3d7da0[_0xd75ba5(0x348)]:!0x1:_0x3d7da0[_0xd75ba5(0x365)]?!0x1:_0x3acb7c[_0xd75ba5(0x231)]===_0x3d7da0[_0xd75ba5(0x348)];(!_0x3a7f05||_0x3d7da0[_0xd75ba5(0x32f)]&&!_0x3d285f)&&(delete _0x3cbfaf[_0xd75ba5(0x331)]['authorization'],delete _0x3cbfaf[_0xd75ba5(0x331)][_0xd75ba5(0x24a)],_0x3a7f05||delete _0x3cbfaf[_0xd75ba5(0x331)][_0xd75ba5(0x231)],_0x3cbfaf[_0xd75ba5(0x2f3)]=void 0x0);}}_0x3cbfaf[_0xd75ba5(0x2f3)]&&!_0xd99d3[_0xd75ba5(0x331)][_0xd75ba5(0x37c)]&&(_0xd99d3[_0xd75ba5(0x331)][_0xd75ba5(0x37c)]=_0xd75ba5(0x253)+Buffer[_0xd75ba5(0x2de)](_0x3cbfaf['auth'])[_0xd75ba5(0x216)](_0xd75ba5(0x23a))),_0x39861d=_0x3d7da0[_0xd75ba5(0x377)]=_0x20671f(_0x3cbfaf),_0x3d7da0[_0xd75ba5(0x1ff)]&&_0x3d7da0[_0xd75ba5(0x20e)](_0xd75ba5(0x32b),_0x3d7da0[_0xd75ba5(0x207)],_0x39861d);}else _0x39861d=_0x3d7da0[_0xd75ba5(0x377)]=_0x20671f(_0x3cbfaf);_0x3cbfaf[_0xd75ba5(0x290)]&&_0x39861d['on']('timeout',()=>{const _0x779ffd=_0xd75ba5;_0x422be1(_0x3d7da0,_0x39861d,_0x779ffd(0x284));}),_0x39861d['on'](_0xd75ba5(0x2b0),_0xfee09c=>{const _0x56b1c3=_0xd75ba5;_0x39861d===null||_0x39861d[_0x1be386]||(_0x39861d=_0x3d7da0[_0x56b1c3(0x377)]=null,_0xc59212(_0x3d7da0,_0xfee09c));}),_0x39861d['on'](_0xd75ba5(0x2c3),_0x3dca07=>{const _0x47436c=_0xd75ba5,_0xad2578=_0x3dca07[_0x47436c(0x331)][_0x47436c(0x356)],_0x319384=_0x3dca07[_0x47436c(0x335)];if(_0xad2578&&_0x3cbfaf['followRedirects']&&_0x319384>=0x12c&&_0x319384<0x190){if(++_0x3d7da0[_0x47436c(0x1ff)]>_0x3cbfaf[_0x47436c(0x2ce)]){_0x422be1(_0x3d7da0,_0x39861d,_0x47436c(0x2fc));return;}_0x39861d[_0x47436c(0x311)]();let _0x341b26;try{_0x341b26=new _0x252788(_0xad2578,_0x37b2aa);}catch{const _0x12490e=new SyntaxError(_0x47436c(0x2c4)+_0xad2578);_0xc59212(_0x3d7da0,_0x12490e);return;}_0x1d8c29(_0x3d7da0,_0x341b26,_0x401fcc,_0xd99d3);}else _0x3d7da0[_0x47436c(0x20e)](_0x47436c(0x33c),_0x39861d,_0x3dca07)||_0x422be1(_0x3d7da0,_0x39861d,_0x47436c(0x336)+_0x3dca07[_0x47436c(0x335)]);}),_0x39861d['on'](_0xd75ba5(0x34d),(_0x22be88,_0x49dabd,_0x66da9e)=>{const _0x1040ab=_0xd75ba5;if(_0x3d7da0['emit'](_0x1040ab(0x34d),_0x22be88),_0x3d7da0[_0x1040ab(0x368)]!==_0x3ad158[_0x1040ab(0x369)])return;_0x39861d=_0x3d7da0['_req']=null;const _0x4e79c2=_0x22be88[_0x1040ab(0x331)][_0x1040ab(0x34d)];if(_0x4e79c2===void 0x0||_0x4e79c2['toLowerCase']()!==_0x1040ab(0x212)){_0x422be1(_0x3d7da0,_0x49dabd,_0x1040ab(0x288));return;}const _0x23d8de=_0xeb6427('sha1')[_0x1040ab(0x289)](_0x5f18e2+_0x8bae9f)[_0x1040ab(0x2ad)]('base64');if(_0x22be88[_0x1040ab(0x331)][_0x1040ab(0x249)]!==_0x23d8de){_0x422be1(_0x3d7da0,_0x49dabd,_0x1040ab(0x393));return;}const _0x3bc880=_0x22be88[_0x1040ab(0x331)][_0x1040ab(0x28e)];let _0x27612d;if(_0x3bc880!==void 0x0?_0x1dd634[_0x1040ab(0x3a0)]?_0x1dd634[_0x1040ab(0x274)](_0x3bc880)||(_0x27612d=_0x1040ab(0x2aa)):_0x27612d=_0x1040ab(0x2b9):_0x1dd634[_0x1040ab(0x3a0)]&&(_0x27612d=_0x1040ab(0x279)),_0x27612d){_0x422be1(_0x3d7da0,_0x49dabd,_0x27612d);return;}_0x3bc880&&(_0x3d7da0[_0x1040ab(0x2d7)]=_0x3bc880);const _0x3e82c7=_0x22be88['headers']['sec-websocket-extensions'];if(_0x3e82c7!==void 0x0){if(!_0xbcd95f){_0x422be1(_0x3d7da0,_0x49dabd,_0x1040ab(0x237));return;}let _0x143794;try{_0x143794=_0x27d2d5(_0x3e82c7);}catch{_0x422be1(_0x3d7da0,_0x49dabd,_0x1040ab(0x320));return;}const _0xb9b7fb=Object[_0x1040ab(0x3a3)](_0x143794);if(_0xb9b7fb[_0x1040ab(0x34e)]!==0x1||_0xb9b7fb[0x0]!==_0x3af676[_0x1040ab(0x2d8)]){_0x422be1(_0x3d7da0,_0x49dabd,_0x1040ab(0x26c));return;}try{_0xbcd95f[_0x1040ab(0x357)](_0x143794[_0x3af676[_0x1040ab(0x2d8)]]);}catch{_0x422be1(_0x3d7da0,_0x49dabd,_0x1040ab(0x320));return;}_0x3d7da0[_0x1040ab(0x37b)][_0x3af676['extensionName']]=_0xbcd95f;}_0x3d7da0[_0x1040ab(0x1f8)](_0x49dabd,_0x66da9e,{'allowSynchronousEvents':_0x3cbfaf[_0x1040ab(0x392)],'generateMask':_0x3cbfaf[_0x1040ab(0x25a)],'maxPayload':_0x3cbfaf[_0x1040ab(0x233)],'skipUTF8Validation':_0x3cbfaf['skipUTF8Validation']});}),_0x3cbfaf[_0xd75ba5(0x3a2)]?_0x3cbfaf['finishRequest'](_0x39861d,_0x3d7da0):_0x39861d[_0xd75ba5(0x261)]();}function _0xc59212(_0x3bf2a1,_0x12123c){const _0x5b8b53=_0x50bdea;_0x3bf2a1[_0x5b8b53(0x33b)]=_0x3ad158[_0x5b8b53(0x382)],_0x3bf2a1['_errorEmitted']=!0x0,_0x3bf2a1[_0x5b8b53(0x20e)](_0x5b8b53(0x2b0),_0x12123c),_0x3bf2a1[_0x5b8b53(0x27f)]();}function _0xe648dc(_0x5f1247){const _0x30194f=_0x50bdea;return _0x5f1247[_0x30194f(0x2d2)]=_0x5f1247[_0x30194f(0x2e7)],_0x489788[_0x30194f(0x340)](_0x5f1247);}function _0x4d9a4f(_0x4fffbd){const _0x71933f=_0x50bdea;return _0x4fffbd[_0x71933f(0x2d2)]=void 0x0,!_0x4fffbd[_0x71933f(0x22c)]&&_0x4fffbd[_0x71933f(0x22c)]!==''&&(_0x4fffbd[_0x71933f(0x22c)]=_0x489788[_0x71933f(0x2be)](_0x4fffbd['host'])?'':_0x4fffbd[_0x71933f(0x231)]),_0x47c015['connect'](_0x4fffbd);}function _0x422be1(_0x4ade25,_0x3f523f,_0x4cc0ec){const _0x5c0af7=_0x50bdea;_0x4ade25[_0x5c0af7(0x33b)]=_0x3ad158[_0x5c0af7(0x382)];const _0x5218b0=new Error(_0x4cc0ec);Error['captureStackTrace'](_0x5218b0,_0x422be1),_0x3f523f[_0x5c0af7(0x2cc)]?(_0x3f523f[_0x1be386]=!0x0,_0x3f523f[_0x5c0af7(0x311)](),_0x3f523f[_0x5c0af7(0x20d)]&&!_0x3f523f[_0x5c0af7(0x20d)][_0x5c0af7(0x220)]&&_0x3f523f[_0x5c0af7(0x20d)]['destroy'](),process['nextTick'](_0xc59212,_0x4ade25,_0x5218b0)):(_0x3f523f[_0x5c0af7(0x230)](_0x5218b0),_0x3f523f['once'](_0x5c0af7(0x2b0),_0x4ade25['emit']['bind'](_0x4ade25,'error')),_0x3f523f['once'](_0x5c0af7(0x2a2),_0x4ade25['emitClose'][_0x5c0af7(0x295)](_0x4ade25)));}function _0x4987fe(_0x33c136,_0x3dc8cb,_0x313207){const _0x26c115=_0x50bdea;if(_0x3dc8cb){const _0x22c48c=_0x245d40(_0x3dc8cb)?_0x3dc8cb[_0x26c115(0x3a0)]:_0xea56ec(_0x3dc8cb)[_0x26c115(0x34e)];_0x33c136['_socket']?_0x33c136[_0x26c115(0x2a7)][_0x26c115(0x31f)]+=_0x22c48c:_0x33c136['_bufferedAmount']+=_0x22c48c;}if(_0x313207){const _0x198aff=new Error(_0x26c115(0x359)+_0x33c136[_0x26c115(0x368)]+'\x20('+_0x528cef[_0x33c136['readyState']]+')');process['nextTick'](_0x313207,_0x198aff);}}function _0x314694(_0x178862,_0x565475){const _0x662f24=_0x50bdea,_0x45ae3c=this[_0x51473f];_0x45ae3c[_0x662f24(0x30b)]=!0x0,_0x45ae3c[_0x662f24(0x3a5)]=_0x565475,_0x45ae3c[_0x662f24(0x38d)]=_0x178862,_0x45ae3c[_0x662f24(0x31a)][_0x51473f]!==void 0x0&&(_0x45ae3c[_0x662f24(0x31a)][_0x662f24(0x36b)](_0x662f24(0x23c),_0x52f819),process[_0x662f24(0x1fe)](_0x2876df,_0x45ae3c['_socket']),_0x178862===0x3ed?_0x45ae3c[_0x662f24(0x2a2)]():_0x45ae3c[_0x662f24(0x2a2)](_0x178862,_0x565475));}function _0x4dd467(){const _0x47c6db=_0x50bdea,_0x25406a=this[_0x51473f];_0x25406a[_0x47c6db(0x385)]||_0x25406a['_socket'][_0x47c6db(0x2f9)]();}function _0x181523(_0x3bb841){const _0x2697d4=_0x50bdea,_0x2f30dd=this[_0x51473f];_0x2f30dd[_0x2697d4(0x31a)][_0x51473f]!==void 0x0&&(_0x2f30dd[_0x2697d4(0x31a)]['removeListener'](_0x2697d4(0x23c),_0x52f819),process[_0x2697d4(0x1fe)](_0x2876df,_0x2f30dd[_0x2697d4(0x31a)]),_0x2f30dd[_0x2697d4(0x2a2)](_0x3bb841[_0xbfda07])),_0x2f30dd[_0x2697d4(0x250)]||(_0x2f30dd['_errorEmitted']=!0x0,_0x2f30dd['emit'](_0x2697d4(0x2b0),_0x3bb841));}function _0x50e19f(){const _0x231ef2=_0x50bdea;this[_0x51473f][_0x231ef2(0x27f)]();}function _0x158814(_0x7ead6a,_0x1bf482){const _0x1254a8=_0x50bdea;this[_0x51473f][_0x1254a8(0x20e)]('message',_0x7ead6a,_0x1bf482);}function _0x4a28a9(_0x208791){const _0x4aacbe=_0x50bdea,_0x972ab3=this[_0x51473f];_0x972ab3['_autoPong']&&_0x972ab3[_0x4aacbe(0x39b)](_0x208791,!this[_0x4aacbe(0x36e)],_0x485503),_0x972ab3[_0x4aacbe(0x20e)]('ping',_0x208791);}function _0x2f6982(_0x529cb6){const _0x6ba1f6=_0x50bdea;this[_0x51473f]['emit'](_0x6ba1f6(0x39b),_0x529cb6);}function _0x2876df(_0xb324ed){_0xb324ed['resume']();}function _0x52d592(_0x162192){const _0x3a8f99=_0x50bdea,_0x7b37d1=this[_0x51473f];_0x7b37d1[_0x3a8f99(0x368)]!==_0x3ad158[_0x3a8f99(0x21b)]&&(_0x7b37d1[_0x3a8f99(0x368)]===_0x3ad158['OPEN']&&(_0x7b37d1['_readyState']=_0x3ad158[_0x3a8f99(0x382)],_0x1b1fd5(_0x7b37d1)),this[_0x3a8f99(0x31a)][_0x3a8f99(0x261)](),_0x7b37d1['_errorEmitted']||(_0x7b37d1[_0x3a8f99(0x250)]=!0x0,_0x7b37d1['emit'](_0x3a8f99(0x2b0),_0x162192)));}function _0x1b1fd5(_0x4d1a72){const _0x410f5f=_0x50bdea;_0x4d1a72['_closeTimer']=setTimeout(_0x4d1a72[_0x410f5f(0x31a)][_0x410f5f(0x230)]['bind'](_0x4d1a72[_0x410f5f(0x31a)]),_0x245c9c);}function _0x10023b(){const _0x2f9799=_0x50bdea,_0x11649d=this[_0x51473f];this[_0x2f9799(0x36b)]('close',_0x10023b),this[_0x2f9799(0x36b)](_0x2f9799(0x23c),_0x52f819),this[_0x2f9799(0x36b)](_0x2f9799(0x261),_0x1d6e8b),_0x11649d[_0x2f9799(0x33b)]=_0x3ad158[_0x2f9799(0x382)];let _0x3028f4;!this[_0x2f9799(0x2db)][_0x2f9799(0x1fc)]&&!_0x11649d[_0x2f9799(0x30b)]&&!_0x11649d[_0x2f9799(0x317)][_0x2f9799(0x222)][_0x2f9799(0x346)]&&(_0x3028f4=_0x11649d['_socket']['read']())!==null&&_0x11649d[_0x2f9799(0x317)]['write'](_0x3028f4),_0x11649d['_receiver']['end'](),this[_0x51473f]=void 0x0,clearTimeout(_0x11649d[_0x2f9799(0x39f)]),_0x11649d[_0x2f9799(0x317)]['_writableState']['finished']||_0x11649d[_0x2f9799(0x317)][_0x2f9799(0x222)][_0x2f9799(0x346)]?_0x11649d[_0x2f9799(0x27f)]():(_0x11649d['_receiver']['on'](_0x2f9799(0x2b0),_0x50e19f),_0x11649d[_0x2f9799(0x317)]['on'](_0x2f9799(0x27e),_0x50e19f));}function _0x52f819(_0x558b01){const _0x21c4fe=_0x50bdea;this[_0x51473f][_0x21c4fe(0x317)][_0x21c4fe(0x28a)](_0x558b01)||this[_0x21c4fe(0x394)]();}function _0x1d6e8b(){const _0x4a1c49=_0x50bdea,_0x5c6a1e=this[_0x51473f];_0x5c6a1e['_readyState']=_0x3ad158[_0x4a1c49(0x382)],_0x5c6a1e[_0x4a1c49(0x317)][_0x4a1c49(0x261)](),this[_0x4a1c49(0x261)]();}function _0x50df84(){const _0x1f1487=_0x50bdea,_0x1e9f0f=this[_0x51473f];this[_0x1f1487(0x36b)](_0x1f1487(0x2b0),_0x50df84),this['on'](_0x1f1487(0x2b0),_0x485503),_0x1e9f0f&&(_0x1e9f0f['_readyState']=_0x3ad158[_0x1f1487(0x382)],this[_0x1f1487(0x230)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x12cf61}=_0x1142f9;function _0x5b4343(_0x4c81f3){const _0x3c5ae2=_0x5e22;_0x4c81f3[_0x3c5ae2(0x20e)](_0x3c5ae2(0x2a2));}function _0x2cb5a6(){const _0x139540=_0x5e22;!this['destroyed']&&this['_writableState'][_0x139540(0x2b8)]&&this[_0x139540(0x230)]();}function _0x4beb02(_0x5e282a){const _0x3fa4e0=_0x5e22;this['removeListener'](_0x3fa4e0(0x2b0),_0x4beb02),this['destroy'](),this[_0x3fa4e0(0x33e)](_0x3fa4e0(0x2b0))===0x0&&this[_0x3fa4e0(0x20e)](_0x3fa4e0(0x2b0),_0x5e282a);}function _0x4db7f7(_0xafd66,_0x23e470){const _0x55453d=_0x5e22;let _0x408cb6=!0x0;const _0x40edcd=new _0x12cf61({..._0x23e470,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0xafd66['on'](_0x55453d(0x2d3),function(_0x339445,_0x3f626b){const _0x363c5f=_0x55453d,_0x3b413e=!_0x3f626b&&_0x40edcd[_0x363c5f(0x2db)][_0x363c5f(0x204)]?_0x339445['toString']():_0x339445;_0x40edcd[_0x363c5f(0x26e)](_0x3b413e)||_0xafd66[_0x363c5f(0x394)]();}),_0xafd66['once']('error',function(_0x7286c9){const _0x4faa43=_0x55453d;_0x40edcd[_0x4faa43(0x220)]||(_0x408cb6=!0x1,_0x40edcd[_0x4faa43(0x230)](_0x7286c9));}),_0xafd66[_0x55453d(0x213)](_0x55453d(0x2a2),function(){const _0x3ed35e=_0x55453d;_0x40edcd[_0x3ed35e(0x220)]||_0x40edcd[_0x3ed35e(0x26e)](null);}),_0x40edcd[_0x55453d(0x2f2)]=function(_0x4c4e23,_0x3406ad){const _0x446ebe=_0x55453d;if(_0xafd66[_0x446ebe(0x368)]===_0xafd66[_0x446ebe(0x21b)]){_0x3406ad(_0x4c4e23),process[_0x446ebe(0x1fe)](_0x5b4343,_0x40edcd);return;}let _0x4b9248=!0x1;_0xafd66[_0x446ebe(0x213)](_0x446ebe(0x2b0),function(_0x20a785){_0x4b9248=!0x0,_0x3406ad(_0x20a785);}),_0xafd66['once']('close',function(){const _0x189c1f=_0x446ebe;_0x4b9248||_0x3406ad(_0x4c4e23),process[_0x189c1f(0x1fe)](_0x5b4343,_0x40edcd);}),_0x408cb6&&_0xafd66[_0x446ebe(0x20f)]();},_0x40edcd[_0x55453d(0x3a4)]=function(_0x2bbb33){const _0xe88f20=_0x55453d;if(_0xafd66[_0xe88f20(0x368)]===_0xafd66['CONNECTING']){_0xafd66[_0xe88f20(0x213)](_0xe88f20(0x2bf),function(){_0x40edcd['_final'](_0x2bbb33);});return;}_0xafd66[_0xe88f20(0x31a)]!==null&&(_0xafd66[_0xe88f20(0x31a)]['_writableState'][_0xe88f20(0x2b8)]?(_0x2bbb33(),_0x40edcd[_0xe88f20(0x2db)]['endEmitted']&&_0x40edcd[_0xe88f20(0x230)]()):(_0xafd66[_0xe88f20(0x31a)][_0xe88f20(0x213)](_0xe88f20(0x27e),function(){_0x2bbb33();}),_0xafd66['close']()));},_0x40edcd['_read']=function(){const _0x589215=_0x55453d;_0xafd66[_0x589215(0x385)]&&_0xafd66[_0x589215(0x2f9)]();},_0x40edcd['_write']=function(_0x6bb2a6,_0x1d16b8,_0x5b60ef){const _0x4fda42=_0x55453d;if(_0xafd66['readyState']===_0xafd66['CONNECTING']){_0xafd66['once'](_0x4fda42(0x2bf),function(){const _0x5906e5=_0x4fda42;_0x40edcd[_0x5906e5(0x27c)](_0x6bb2a6,_0x1d16b8,_0x5b60ef);});return;}_0xafd66['send'](_0x6bb2a6,_0x5b60ef);},_0x40edcd['on']('end',_0x2cb5a6),_0x40edcd['on']('error',_0x4beb02),_0x40edcd;}return Oe=_0x4db7f7,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=Wt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x100783}=ne();function _0x8d7bb4(_0x431ded){const _0x32532f=_0x5e22,_0x4bc569=new Set();let _0x52e9b4=-0x1,_0x6af81c=-0x1,_0x3cda6b=0x0;for(_0x3cda6b;_0x3cda6b<_0x431ded[_0x32532f(0x34e)];_0x3cda6b++){const _0xc5264f=_0x431ded[_0x32532f(0x366)](_0x3cda6b);if(_0x6af81c===-0x1&&_0x100783[_0xc5264f]===0x1)_0x52e9b4===-0x1&&(_0x52e9b4=_0x3cda6b);else{if(_0x3cda6b!==0x0&&(_0xc5264f===0x20||_0xc5264f===0x9))_0x6af81c===-0x1&&_0x52e9b4!==-0x1&&(_0x6af81c=_0x3cda6b);else{if(_0xc5264f===0x2c){if(_0x52e9b4===-0x1)throw new SyntaxError(_0x32532f(0x27a)+_0x3cda6b);_0x6af81c===-0x1&&(_0x6af81c=_0x3cda6b);const _0xedb8bc=_0x431ded['slice'](_0x52e9b4,_0x6af81c);if(_0x4bc569[_0x32532f(0x274)](_0xedb8bc))throw new SyntaxError(_0x32532f(0x30d)+_0xedb8bc+_0x32532f(0x367));_0x4bc569[_0x32532f(0x2ef)](_0xedb8bc),_0x52e9b4=_0x6af81c=-0x1;}else throw new SyntaxError(_0x32532f(0x27a)+_0x3cda6b);}}}if(_0x52e9b4===-0x1||_0x6af81c!==-0x1)throw new SyntaxError(_0x32532f(0x39e));const _0x5d5209=_0x431ded[_0x32532f(0x342)](_0x52e9b4,_0x3cda6b);if(_0x4bc569['has'](_0x5d5209))throw new SyntaxError(_0x32532f(0x30d)+_0x5d5209+'\x22\x20subprotocol\x20is\x20duplicated');return _0x4bc569[_0x32532f(0x2ef)](_0x5d5209),_0x4bc569;}return Ce={'parse':_0x8d7bb4},Ce;}var Te,ot;function er(){const _0x23f677=_0x4bc144;if(ot)return Te;ot=0x1;const _0x30f261=_0x2b706c,_0x1f23ec=_0xc49ca8,{Duplex:_0x44b07a}=_0x1142f9,{createHash:_0x8ae449}=_0x1708a4,_0x70ad75=pt(),_0x5b8c70=he(),_0x5d4345=Jt(),_0x1ee692=Ie(),{GUID:_0xd4095d,kWebSocket:_0x3a6cff}=V(),_0x42e33f=/^[+/0-9A-Za-z]{22}==$/,_0x11c5ae=0x0,_0x3cec3e=0x1,_0x4e208a=0x2;class _0x4bb9b2 extends _0x30f261{constructor(_0x4de0e5,_0x54e266){const _0x4ec0bd=_0x5e22;if(super(),_0x4de0e5={'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':_0x1ee692,..._0x4de0e5},_0x4de0e5['port']==null&&!_0x4de0e5[_0x4ec0bd(0x301)]&&!_0x4de0e5['noServer']||_0x4de0e5['port']!=null&&(_0x4de0e5[_0x4ec0bd(0x301)]||_0x4de0e5[_0x4ec0bd(0x384)])||_0x4de0e5[_0x4ec0bd(0x301)]&&_0x4de0e5[_0x4ec0bd(0x384)])throw new TypeError('One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified');if(_0x4de0e5[_0x4ec0bd(0x32e)]!=null?(this['_server']=_0x1f23ec[_0x4ec0bd(0x21e)]((_0x414296,_0x53d63a)=>{const _0x3e6bc7=_0x4ec0bd,_0x36f166=_0x1f23ec['STATUS_CODES'][0x1aa];_0x53d63a[_0x3e6bc7(0x257)](0x1aa,{'Content-Length':_0x36f166[_0x3e6bc7(0x34e)],'Content-Type':_0x3e6bc7(0x203)}),_0x53d63a[_0x3e6bc7(0x261)](_0x36f166);}),this['_server']['listen'](_0x4de0e5[_0x4ec0bd(0x32e)],_0x4de0e5[_0x4ec0bd(0x231)],_0x4de0e5[_0x4ec0bd(0x24c)],_0x54e266)):_0x4de0e5[_0x4ec0bd(0x301)]&&(this['_server']=_0x4de0e5[_0x4ec0bd(0x301)]),this['_server']){const _0x13c0a4=this['emit'][_0x4ec0bd(0x295)](this,_0x4ec0bd(0x240));this[_0x4ec0bd(0x333)]=_0x565aff(this[_0x4ec0bd(0x24e)],{'listening':this[_0x4ec0bd(0x20e)][_0x4ec0bd(0x295)](this,'listening'),'error':this[_0x4ec0bd(0x20e)]['bind'](this,_0x4ec0bd(0x2b0)),'upgrade':(_0x538d81,_0x54608d,_0x45edea)=>{const _0x851d2d=_0x4ec0bd;this[_0x851d2d(0x347)](_0x538d81,_0x54608d,_0x45edea,_0x13c0a4);}});}_0x4de0e5[_0x4ec0bd(0x268)]===!0x0&&(_0x4de0e5[_0x4ec0bd(0x268)]={}),_0x4de0e5['clientTracking']&&(this[_0x4ec0bd(0x215)]=new Set(),this[_0x4ec0bd(0x305)]=!0x1),this[_0x4ec0bd(0x223)]=_0x4de0e5,this['_state']=_0x11c5ae;}[_0x23f677(0x201)](){const _0x5c0850=_0x23f677;if(this[_0x5c0850(0x223)][_0x5c0850(0x384)])throw new Error(_0x5c0850(0x246));return this[_0x5c0850(0x24e)]?this[_0x5c0850(0x24e)]['address']():null;}[_0x23f677(0x2a2)](_0x42759a){const _0x9b5f38=_0x23f677;if(this[_0x9b5f38(0x221)]===_0x4e208a){_0x42759a&&this[_0x9b5f38(0x213)](_0x9b5f38(0x2a2),()=>{const _0x230572=_0x9b5f38;_0x42759a(new Error(_0x230572(0x2b5)));}),process[_0x9b5f38(0x1fe)](_0x16d503,this);return;}if(_0x42759a&&this[_0x9b5f38(0x213)]('close',_0x42759a),this[_0x9b5f38(0x221)]!==_0x3cec3e){if(this[_0x9b5f38(0x221)]=_0x3cec3e,this['options'][_0x9b5f38(0x384)]||this[_0x9b5f38(0x223)][_0x9b5f38(0x301)])this[_0x9b5f38(0x24e)]&&(this['_removeListeners'](),this[_0x9b5f38(0x333)]=this[_0x9b5f38(0x24e)]=null),this['clients']?this[_0x9b5f38(0x215)]['size']?this[_0x9b5f38(0x305)]=!0x0:process[_0x9b5f38(0x1fe)](_0x16d503,this):process[_0x9b5f38(0x1fe)](_0x16d503,this);else{const _0x402b45=this[_0x9b5f38(0x24e)];this['_removeListeners'](),this[_0x9b5f38(0x333)]=this[_0x9b5f38(0x24e)]=null,_0x402b45[_0x9b5f38(0x2a2)](()=>{_0x16d503(this);});}}}['shouldHandle'](_0x5dc7c5){const _0x4b1556=_0x23f677;if(this[_0x4b1556(0x223)]['path']){const _0x394851=_0x5dc7c5[_0x4b1556(0x207)]['indexOf']('?');if((_0x394851!==-0x1?_0x5dc7c5[_0x4b1556(0x207)][_0x4b1556(0x342)](0x0,_0x394851):_0x5dc7c5[_0x4b1556(0x207)])!==this[_0x4b1556(0x223)]['path'])return!0x1;}return!0x0;}[_0x23f677(0x347)](_0x5eeffe,_0x3758c8,_0xf129a5,_0x355366){const _0x3343c2=_0x23f677;_0x3758c8['on'](_0x3343c2(0x2b0),_0x25d155);const _0x43dd24=_0x5eeffe[_0x3343c2(0x331)]['sec-websocket-key'],_0x31ae78=_0x5eeffe[_0x3343c2(0x331)][_0x3343c2(0x34d)],_0x3a7eec=+_0x5eeffe['headers']['sec-websocket-version'];if(_0x5eeffe[_0x3343c2(0x2cd)]!=='GET'){_0x1b16ad(this,_0x5eeffe,_0x3758c8,0x195,_0x3343c2(0x2e4));return;}if(_0x31ae78===void 0x0||_0x31ae78['toLowerCase']()!==_0x3343c2(0x212)){_0x1b16ad(this,_0x5eeffe,_0x3758c8,0x190,_0x3343c2(0x288));return;}if(_0x43dd24===void 0x0||!_0x42e33f[_0x3343c2(0x245)](_0x43dd24)){_0x1b16ad(this,_0x5eeffe,_0x3758c8,0x190,_0x3343c2(0x275));return;}if(_0x3a7eec!==0xd&&_0x3a7eec!==0x8){_0x1b16ad(this,_0x5eeffe,_0x3758c8,0x190,_0x3343c2(0x267),{'Sec-WebSocket-Version':_0x3343c2(0x38a)});return;}if(!this[_0x3343c2(0x21c)](_0x5eeffe)){_0x51dd19(_0x3758c8,0x190);return;}const _0xa9abb8=_0x5eeffe['headers'][_0x3343c2(0x28e)];let _0x3accf5=new Set();if(_0xa9abb8!==void 0x0)try{_0x3accf5=_0x5d4345[_0x3343c2(0x26a)](_0xa9abb8);}catch{_0x1b16ad(this,_0x5eeffe,_0x3758c8,0x190,_0x3343c2(0x1f1));return;}const _0xaa4cd1=_0x5eeffe[_0x3343c2(0x331)][_0x3343c2(0x362)],_0x442a29={};if(this[_0x3343c2(0x223)][_0x3343c2(0x268)]&&_0xaa4cd1!==void 0x0){const _0x1888d1=new _0x5b8c70(this[_0x3343c2(0x223)][_0x3343c2(0x268)],!0x0,this[_0x3343c2(0x223)][_0x3343c2(0x233)]);try{const _0x442520=_0x70ad75[_0x3343c2(0x26a)](_0xaa4cd1);_0x442520[_0x5b8c70['extensionName']]&&(_0x1888d1[_0x3343c2(0x357)](_0x442520[_0x5b8c70['extensionName']]),_0x442a29[_0x5b8c70[_0x3343c2(0x2d8)]]=_0x1888d1);}catch{_0x1b16ad(this,_0x5eeffe,_0x3758c8,0x190,_0x3343c2(0x25e));return;}}if(this['options'][_0x3343c2(0x31b)]){const _0x3260a8={'origin':_0x5eeffe[_0x3343c2(0x331)][''+(_0x3a7eec===0x8?_0x3343c2(0x341):_0x3343c2(0x374))],'secure':!!(_0x5eeffe[_0x3343c2(0x20d)]['authorized']||_0x5eeffe[_0x3343c2(0x20d)]['encrypted']),'req':_0x5eeffe};if(this[_0x3343c2(0x223)][_0x3343c2(0x31b)][_0x3343c2(0x34e)]===0x2){this['options'][_0x3343c2(0x31b)](_0x3260a8,(_0x689f73,_0x42f169,_0x3c48fd,_0x43f804)=>{const _0x3604a4=_0x3343c2;if(!_0x689f73)return _0x51dd19(_0x3758c8,_0x42f169||0x191,_0x3c48fd,_0x43f804);this[_0x3604a4(0x2bb)](_0x442a29,_0x43dd24,_0x3accf5,_0x5eeffe,_0x3758c8,_0xf129a5,_0x355366);});return;}if(!this[_0x3343c2(0x223)]['verifyClient'](_0x3260a8))return _0x51dd19(_0x3758c8,0x191);}this[_0x3343c2(0x2bb)](_0x442a29,_0x43dd24,_0x3accf5,_0x5eeffe,_0x3758c8,_0xf129a5,_0x355366);}[_0x23f677(0x2bb)](_0x2c300a,_0x4dc099,_0x13d001,_0x5807eb,_0x1ce94a,_0x17f95b,_0x369175){const _0x2e73fd=_0x23f677;if(!_0x1ce94a[_0x2e73fd(0x271)]||!_0x1ce94a[_0x2e73fd(0x232)])return _0x1ce94a[_0x2e73fd(0x230)]();if(_0x1ce94a[_0x3a6cff])throw new Error(_0x2e73fd(0x2fb));if(this[_0x2e73fd(0x221)]>_0x11c5ae)return _0x51dd19(_0x1ce94a,0x1f7);const _0xb49eb6=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0x2e73fd(0x376),_0x2e73fd(0x235),_0x2e73fd(0x354)+_0x8ae449(_0x2e73fd(0x2b6))[_0x2e73fd(0x289)](_0x4dc099+_0xd4095d)['digest'](_0x2e73fd(0x23a))],_0x53e461=new this['options'][(_0x2e73fd(0x36d))](null,void 0x0,this['options']);if(_0x13d001[_0x2e73fd(0x3a0)]){const _0xd72dd2=this['options'][_0x2e73fd(0x2a0)]?this['options'][_0x2e73fd(0x2a0)](_0x13d001,_0x5807eb):_0x13d001[_0x2e73fd(0x33a)]()[_0x2e73fd(0x30c)]()[_0x2e73fd(0x314)];_0xd72dd2&&(_0xb49eb6[_0x2e73fd(0x26e)](_0x2e73fd(0x2f6)+_0xd72dd2),_0x53e461[_0x2e73fd(0x2d7)]=_0xd72dd2);}if(_0x2c300a[_0x5b8c70[_0x2e73fd(0x2d8)]]){const _0x9a720a=_0x2c300a[_0x5b8c70[_0x2e73fd(0x2d8)]][_0x2e73fd(0x38e)],_0x1f3729=_0x70ad75[_0x2e73fd(0x316)]({[_0x5b8c70[_0x2e73fd(0x2d8)]]:[_0x9a720a]});_0xb49eb6[_0x2e73fd(0x26e)](_0x2e73fd(0x30a)+_0x1f3729),_0x53e461[_0x2e73fd(0x37b)]=_0x2c300a;}this['emit'](_0x2e73fd(0x331),_0xb49eb6,_0x5807eb),_0x1ce94a['write'](_0xb49eb6[_0x2e73fd(0x322)]('\x0d\x0a')[_0x2e73fd(0x31c)]('\x0d\x0a')),_0x1ce94a[_0x2e73fd(0x36b)](_0x2e73fd(0x2b0),_0x25d155),_0x53e461[_0x2e73fd(0x1f8)](_0x1ce94a,_0x17f95b,{'allowSynchronousEvents':this['options'][_0x2e73fd(0x392)],'maxPayload':this[_0x2e73fd(0x223)][_0x2e73fd(0x233)],'skipUTF8Validation':this[_0x2e73fd(0x223)][_0x2e73fd(0x388)]}),this[_0x2e73fd(0x215)]&&(this[_0x2e73fd(0x215)][_0x2e73fd(0x2ef)](_0x53e461),_0x53e461['on']('close',()=>{const _0x14ae06=_0x2e73fd;this[_0x14ae06(0x215)][_0x14ae06(0x344)](_0x53e461),this[_0x14ae06(0x305)]&&!this[_0x14ae06(0x215)][_0x14ae06(0x3a0)]&&process[_0x14ae06(0x1fe)](_0x16d503,this);})),_0x369175(_0x53e461,_0x5807eb);}}Te=_0x4bb9b2;function _0x565aff(_0x2e2d2c,_0x151996){const _0x497f18=_0x23f677;for(const _0x3dd7f3 of Object[_0x497f18(0x3a3)](_0x151996))_0x2e2d2c['on'](_0x3dd7f3,_0x151996[_0x3dd7f3]);return function(){const _0x4b1916=_0x497f18;for(const _0x3ebf60 of Object[_0x4b1916(0x3a3)](_0x151996))_0x2e2d2c['removeListener'](_0x3ebf60,_0x151996[_0x3ebf60]);};}function _0x16d503(_0x5c27dd){const _0x4c03f2=_0x23f677;_0x5c27dd[_0x4c03f2(0x221)]=_0x4e208a,_0x5c27dd[_0x4c03f2(0x20e)]('close');}function _0x25d155(){const _0xc9e768=_0x23f677;this[_0xc9e768(0x230)]();}function _0x51dd19(_0x380b99,_0x70920a,_0x22253a,_0x3a3d39){const _0x42631d=_0x23f677;_0x22253a=_0x22253a||_0x1f23ec[_0x42631d(0x35f)][_0x70920a],_0x3a3d39={'Connection':_0x42631d(0x2a2),'Content-Type':'text/html','Content-Length':Buffer['byteLength'](_0x22253a),..._0x3a3d39},_0x380b99[_0x42631d(0x213)](_0x42631d(0x27e),_0x380b99['destroy']),_0x380b99[_0x42631d(0x261)](_0x42631d(0x323)+_0x70920a+'\x20'+_0x1f23ec[_0x42631d(0x35f)][_0x70920a]+'\x0d\x0a'+Object[_0x42631d(0x3a3)](_0x3a3d39)[_0x42631d(0x360)](_0x1fd30c=>_0x1fd30c+':\x20'+_0x3a3d39[_0x1fd30c])[_0x42631d(0x31c)]('\x0d\x0a')+_0x42631d(0x205)+_0x22253a);}function _0x1b16ad(_0x4e2c14,_0x22ee6f,_0x5bb592,_0x491562,_0x4c66eb,_0x5c3e97){const _0x13f499=_0x23f677;if(_0x4e2c14['listenerCount'](_0x13f499(0x310))){const _0x372313=new Error(_0x4c66eb);Error[_0x13f499(0x286)](_0x372313,_0x1b16ad),_0x4e2c14['emit']('wsClientError',_0x372313,_0x5bb592,_0x22ee6f);}else _0x51dd19(_0x5bb592,_0x491562,_0x4c66eb,_0x5c3e97);}return Te;}er();var tr=Object['getOwnPropertyDescriptor'],rr=(_0x16bc9b,_0x422a59,_0x520f33,_0x3d1698)=>{const _0x36155f=_0x4bc144;for(var _0x26f598=_0x3d1698>0x1?void 0x0:_0x3d1698?tr(_0x422a59,_0x520f33):_0x422a59,_0x97580f=_0x16bc9b[_0x36155f(0x34e)]-0x1,_0x2d9b84;_0x97580f>=0x0;_0x97580f--)(_0x2d9b84=_0x16bc9b[_0x97580f])&&(_0x26f598=_0x2d9b84(_0x26f598)||_0x26f598);return _0x26f598;},sr=(_0x228e01,_0x3763db)=>(_0x548a53,_0x20bfe5)=>_0x3763db(_0x548a53,_0x20bfe5,_0x228e01);let Ne=class extends _0x35b763{constructor(_0x394e4e){super(),this['_configService']=_0x394e4e;}[_0x4bc144(0x2b7)](_0x477e12){const _0x4c5faf=_0x4bc144;var _0x32edec;const _0x437d03=(_0x32edec=this[_0x4c5faf(0x35a)]['getConfig'](Be))==null?void 0x0:_0x32edec[_0x4c5faf(0x2bc)];try{const _0x8cb2b6=new Qt(_0x477e12,{'headers':{..._0x437d03}}),_0x3714dd=new _0x968827();return{'URL':_0x477e12,'close':(_0x34d9b0,_0x1a1317)=>{const _0x26ac4f=_0x4c5faf;_0x8cb2b6[_0x26ac4f(0x2a2)](_0x34d9b0,_0x1a1317),_0x3714dd[_0x26ac4f(0x1f6)]();},'send':_0x66ce04=>{const _0x543079=_0x4c5faf;_0x8cb2b6[_0x543079(0x25b)](_0x66ce04);},'open$':new _0xe8c78(_0x3ef6f9=>{const _0x32089b=_0x4c5faf,_0x117214=_0x4c7f38=>_0x3ef6f9[_0x32089b(0x30c)](_0x4c7f38);_0x8cb2b6[_0x32089b(0x2f8)](_0x32089b(0x2bf),_0x117214),_0x3714dd['add'](_0x5cd91c(()=>_0x8cb2b6[_0x32089b(0x297)](_0x32089b(0x2bf),_0x117214)));})['pipe'](_0x366d94()),'close$':new _0xe8c78(_0x29e6ee=>{const _0x120c1a=_0x4c5faf,_0x295a42=_0x201eda=>_0x29e6ee[_0x120c1a(0x30c)](_0x201eda);_0x8cb2b6[_0x120c1a(0x2f8)](_0x120c1a(0x2a2),_0x295a42),_0x3714dd[_0x120c1a(0x2ef)](_0x5cd91c(()=>_0x8cb2b6[_0x120c1a(0x297)](_0x120c1a(0x2a2),_0x295a42)));})[_0x4c5faf(0x352)](_0x366d94()),'error$':new _0xe8c78(_0x514bdb=>{const _0x36a192=_0x4c5faf,_0x4e0df2=_0x54d8dc=>_0x514bdb['next'](_0x54d8dc);_0x8cb2b6[_0x36a192(0x2f8)](_0x36a192(0x2b0),_0x4e0df2),_0x3714dd[_0x36a192(0x2ef)](_0x5cd91c(()=>_0x8cb2b6[_0x36a192(0x297)]('error',_0x4e0df2)));})['pipe'](_0x366d94()),'message$':new _0xe8c78(_0x2a42de=>{const _0x5c0e4d=_0x4c5faf,_0xe4b8bb=_0x3d239d=>_0x2a42de[_0x5c0e4d(0x30c)](_0x3d239d);_0x8cb2b6['addEventListener'](_0x5c0e4d(0x2d3),_0xe4b8bb),_0x3714dd['add'](_0x5cd91c(()=>_0x8cb2b6[_0x5c0e4d(0x297)]('message',_0xe4b8bb)));})[_0x4c5faf(0x352)](_0x366d94())};}catch(_0x174c42){return console['error'](_0x174c42),null;}}};Ne=rr([sr(0x0,_0x4e136d)],Ne);var ir=Object[_0x4bc144(0x39a)],nr=Object[_0x4bc144(0x23b)],or=(_0xffe2ac,_0x3334a8,_0x189f6b)=>_0x3334a8 in _0xffe2ac?ir(_0xffe2ac,_0x3334a8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x189f6b}):_0xffe2ac[_0x3334a8]=_0x189f6b,ar=(_0x4529f5,_0x56ff04,_0x523b43,_0x2078c9)=>{const _0x1e30ce=_0x4bc144;for(var _0xb1dbdc=_0x2078c9>0x1?void 0x0:_0x2078c9?nr(_0x56ff04,_0x523b43):_0x56ff04,_0x50b6f6=_0x4529f5[_0x1e30ce(0x34e)]-0x1,_0x10c560;_0x50b6f6>=0x0;_0x50b6f6--)(_0x10c560=_0x4529f5[_0x50b6f6])&&(_0xb1dbdc=_0x10c560(_0xb1dbdc)||_0xb1dbdc);return _0xb1dbdc;},ke=(_0x2de2ba,_0x49024f)=>(_0x467f16,_0x5c4ac1)=>_0x49024f(_0x467f16,_0x5c4ac1,_0x2de2ba),lr=(_0x3b842c,_0x2afe70,_0x279adb)=>or(_0x3b842c,_0x2afe70+'',_0x279adb);let Pe=class extends _0x1a238f{constructor(_0x5ec8f1=Ft,_0x449608,_0x4cc3b4,_0x52332f){const _0x4b402b=_0x4bc144;_0x5ec8f1['customHeaders']||_0x449608[_0x4b402b(0x343)]('[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.'),super(),this[_0x4b402b(0x35a)]=_0x4cc3b4,this[_0x4b402b(0x2c0)]=_0x52332f,this[_0x4b402b(0x35a)]['setConfig'](Be,_0x5ec8f1);}[_0x4bc144(0x252)](){const _0x129556=_0x4bc144;this[_0x129556(0x390)]();}[_0x4bc144(0x390)](){_0x3c8ebd(this['_injector'],[[_0x278a56,{'useClass':Ne}]]);}};lr(Pe,_0x4bc144(0x304),_0x4bc144(0x307)),Pe=ar([_0x4bf50d(_0x5486fe),ke(0x1,_0x4f088e),ke(0x2,_0x4e136d),ke(0x3,_0x559eb0(_0x40a410))],Pe);var fr=Object[_0x4bc144(0x23b)],cr=(_0x15fab2,_0x397330,_0x5a753d,_0x5ce4ef)=>{const _0x14d73a=_0x4bc144;for(var _0x34bead=_0x5ce4ef>0x1?void 0x0:_0x5ce4ef?fr(_0x397330,_0x5a753d):_0x397330,_0x9edf7a=_0x15fab2[_0x14d73a(0x34e)]-0x1,_0x347d99;_0x9edf7a>=0x0;_0x9edf7a--)(_0x347d99=_0x15fab2[_0x9edf7a])&&(_0x34bead=_0x347d99(_0x34bead)||_0x34bead);return _0x34bead;},se=(_0x372449,_0x24b7c6)=>(_0x52dd02,_0x58f952)=>_0x24b7c6(_0x52dd02,_0x58f952,_0x372449);let at=class extends _0x4bf000{constructor(_0x3fb17d,_0x3d3094,_0x4be092,_0x468998,_0x5534c2){const _0x2e5776=_0x4bc144;super(_0x3fb17d,_0x3d3094,_0x4be092,_0x468998,_0x5534c2);const _0x1f269c=this['_configService'][_0x2e5776(0x2d5)](Be);this[_0x2e5776(0x2e8)][_0x2e5776(0x2f4)]({'interceptor':(_0x3e104e,_0x284731)=>{const _0x5348b4=_0x2e5776;var _0x259883;const _0xbc75de=_0x3e104e[_0x5348b4(0x331)];return(_0x259883=_0x1f269c==null?void 0x0:_0x1f269c[_0x5348b4(0x2bc)])!=null&&_0x259883[_0x5348b4(0x24a)]&&_0xbc75de[_0x5348b4(0x251)]('Cookie',_0x1f269c[_0x5348b4(0x2bc)][_0x5348b4(0x24a)]),_0x284731(_0x3e104e);}});}async[_0x4bc144(0x2b7)](_0x125e79){const _0x1fd057=_0x4bc144;return this[_0x1fd057(0x2c8)](_0x125e79);}};at=cr([se(0x0,_0x559eb0(_0x40a410)),se(0x1,_0x559eb0(_0x4e6c74)),se(0x2,_0x4e136d),se(0x3,_0x4f088e),se(0x4,_0x29527f)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};