@univerjs-pro/collaboration-client-node 0.10.7-nightly.202509130703 → 0.10.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0x499823=_0x3bf5;(function(_0x1b399b,_0x1b070f){const _0x2a2015=_0x3bf5,_0x17ee23=_0x1b399b();while(!![]){try{const _0x384764=parseInt(_0x2a2015(0x1ed))/0x1+parseInt(_0x2a2015(0x297))/0x2*(-parseInt(_0x2a2015(0x20c))/0x3)+-parseInt(_0x2a2015(0x1bc))/0x4*(parseInt(_0x2a2015(0x257))/0x5)+parseInt(_0x2a2015(0x157))/0x6*(parseInt(_0x2a2015(0x27e))/0x7)+parseInt(_0x2a2015(0x2da))/0x8*(-parseInt(_0x2a2015(0x28b))/0x9)+-parseInt(_0x2a2015(0x1d7))/0xa*(parseInt(_0x2a2015(0x13b))/0xb)+-parseInt(_0x2a2015(0x237))/0xc*(-parseInt(_0x2a2015(0x2d3))/0xd);if(_0x384764===_0x1b070f)break;else _0x17ee23['push'](_0x17ee23['shift']());}catch(_0x4134f0){_0x17ee23['push'](_0x17ee23['shift']());}}}(_0x60d1,0x7e55d));import{UniverCollaborationClientPlugin as _0x2f0120,CollaborationSocketService as _0x5409e1}from'@univerjs-pro/collaboration-client';import{Disposable as _0x2df620,DisposableCollection as _0x4a8b49,toDisposable as _0x38df46,IConfigService as _0x289293,DependentOn as _0x5ca920,ILogService as _0x4a6530,Inject as _0x273630,Injector as _0x3c37f4,Plugin as _0x424764,registerDependencies as _0x5e0808}from'@univerjs/core';import{ISocketService as _0x121457,HTTPService as _0x34e0c6}from'@univerjs/network';import{Observable as _0x2a67f2,share as _0x1ae7ca}from'rxjs';function _0x60d1(){const _0x1556cb=['defineProperty','options','__esModule','cleanup','CLOSED','_originalIpc','readOnly','_messageLength','_maxPayload','acceptAsClient','listeners','delete','text/html','CONNECTING','_deflate','value','WS_ERR_UNEXPECTED_RSV_1','code','http:','72583hdaXQz','_closeCode','alloc','_bufferedAmount','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','url','_loop','https:','catch','noServer','permessage-deflate','_fragments','frame','135hopKyT','wss:','entries','removeEventListener','_autoPong','isValidUTF8','_options','server_max_window_bits','send','_masked','message','read','511208JZaNVE','_errorEmitted','verifyClient','reason','flush','pending','The\x20URL\x20contains\x20a\x20fragment\x20identifier','host','pathname','extensions','warn','timeout','sec-websocket-extensions','_opcode','construct','Unsupported\x20protocol\x20version:\x20','terminate','clientTracking','_req','reset','\x22\x20must\x20have\x20only\x20a\x20single\x20value','Module','destroy','unshift','_destroy','The\x20URL\x27s\x20pathname\x20is\x20empty','getOwnPropertyDescriptor','invalid\x20opcode\x20','_totalPayloadLength','charCodeAt','method','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','server','allocUnsafe','address','sha1','length','socket','WS_ERR_UNEXPECTED_MASK','test','allowSynchronousEvents','writeHead','kCode','addEventListener','_closeMessage','RSV1\x20must\x20be\x20clear','Invalid\x20Upgrade\x20header','species','GET','errorEmitted','_server','kByteLength','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','handleProtocols','createDeflateRaw','_queue','_isServer','fin','_url','end','143exZlNI','readable','_write','maskBuffer','customHeaders','digest','readUInt32BE','509384xFWDrU','params','completeUpgrade','Blob','writable','indexOf','_closeFrameReceived','concat','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','parse','sec-websocket-key','createSocket','listening','Connection:\x20Upgrade','The\x20server\x20is\x20not\x20running','collaboration-client-node.config','getPayloadLength64','_paused','WebSocket\x20is\x20not\x20open:\x20readyState\x20','_bufferedBytes','_threshold','blob','11bmqwgT','unmask','acceptAsServer','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','offer','Server\x20sent\x20an\x20invalid\x20subprotocol','upgrade','clientNoContextTakeover','setTimeout','setHeader','total-length','object','_decompress','kError','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','_final','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','sendFrame','WS_ERR_EXPECTED_MASK','toLowerCase','dataMessage','slice','_fin','_receiver','Invalid\x20Sec-WebSocket-Accept\x20header','createConnection','dispose','then','60BpHPej','abort','MASK\x20must\x20be\x20set','Invalid\x20WebSocket\x20frame:\x20','resume','exports','call','_inflate','_registerDependencies','freeze','WS_ERR_EXPECTED_FIN','client','wasClean','_allowSynchronousEvents','_shouldEmitClose','conclude','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','Invalid\x20Sec-WebSocket-Extensions\x20header','setConfig','rsv1','_extensions','kListener','find','Invalid\x20URL:\x20','update','pipe','Origin','skipUTF8Validation','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','getBlobData','kWasClean','normalizeParams','sec-websocket-protocol','has','byteOffset','backlog','cork','_protocol','destroyed','zlibInflateOptions','from','serverMaxWindowBits','Sec-WebSocket-Origin','constructor','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','zlibDeflateOptions','next','authorization','startLoop','arrayBuffer','isInteger','string','_generateMask','location','push','env','_firstFragment','default','values','isIP','autoPong','_redirects','Invalid\x20value\x20for\x20parameter\x20\x22','_readyState','_errored','captureStackTrace','\x22:\x20','concurrencyLimit','Cookie','clients','type','_maskBuffer','writeUInt16BE','mask','sec-websocket-accept','Upgrade:\x20websocket','kDone','pluginName','dispatch','Unexpected\x20character\x20at\x20index\x20','setNoDelay','sec-websocket-version','extensionName','createServer','function','binary','OPEN','stream','isArray','onopen','Parameter\x20\x22','binaryType','shouldHandle','servername','bufferedAmount','emit','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','\x22\x20subprotocol\x20is\x20duplicated','getPayloadLength16','WS_ERR_UNEXPECTED_RSV_2_3','includes','595708UNcNnS','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','removeListener','buffer','response','Unknown\x20parameter\x20\x22','_compressed','threshold','getMask','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','nextTick','ws:','invalid\x20payload\x20length\x20','_injector','toStringTag','fragments','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','onerror','apply','Sec-WebSocket-Extensions','_mask','WS_NO_UTF_8_VALIDATE','objectMode','headers','_skipUTF8Validation','search','handleEvent','2084410flgJRr','finish','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','pong','map','writeUIntBE','kType','FIN\x20must\x20be\x20set','join','dequeue','request','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','create','buffers','invalid\x20UTF-8\x20sequence','close','toString','number','keys','Upgrade','_writableState','set','181443HtQrHu','_originalSecure','size','_socket','registerHTTPInterceptor','shift','_fragmented','listenerCount','maxPayload','kData','Maximum\x20redirects\x20exceeded','add','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','WebSocket','WS_ERR_INVALID_UTF8','decompress','CLOSING','server_no_context_takeover','Basic\x20','sec-websocket-origin','concurrency','Z_SYNC_FLUSH','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','WS_NO_BUFFER_UTIL','data','open','hostname','auth','consume','write','statusCode','3zrsQCf','Unexpected\x20end\x20of\x20input','kMessage','_doCreateSocket','hasOwnProperty','nodebuffer','base64','replace','_configService','uncork','\x0d\x0a\x0d\x0a','handshakeTimeout','clientMaxWindowBits','serverNoContextTakeover','setSocket','onStarting','_compress','arraybuffer','byteLength','endEmitted','ping','STATUS_CODES','perMessageDeflate','Sec-WebSocket-Protocol','_closeFrameSent','haveLength','forEach','emitClose','finishRequest','accept','isPaused','text/plain','jobs','The\x20\x22','_binaryType','port','_readableState','ws+unix:','onclose','defaultPort','bind','_originalHostOrSocketPath','_payloadLength','1964076pqlWKu','prototype','createError','hash','HTTP/1.1\x20101\x20Switching\x20Protocols','client_no_context_takeover','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','wsClientError','_closeTimer','getConfig','controlMessage','socketPath','generateMask','href','protocolVersion','opcode','websocket','getInfo','path','split','Max\x20payload\x20size\x20exceeded','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','_sender','redirect','_state','Invalid\x20Sec-WebSocket-Protocol\x20header','_buffers','origin','MASK\x20must\x20be\x20clear','compress','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','isBuffer','5MIefDR','handleUpgrade','_no_context_takeover','readUInt16BE','pause','protocol','password','enqueue','readyState','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','cookie','WS_ERR_INVALID_OPCODE','Z_DEFAULT_WINDOWBITS','WS_ERR_INVALID_CLOSE_CODE','_removeListeners','_httpService','error','_max_window_bits','client_max_window_bits','once'];_0x60d1=function(){return _0x1556cb;};return _0x60d1();}import _0x4a14b5 from'events';import _0x3690c5 from'https';import _0x5887c6 from'http';import _0x20bdad from'net';import _0x5c7de9 from'tls';import _0xab02dc from'crypto';import _0x263b4e from'stream';import _0x7543bf from'url';import _0x2225b4 from'zlib';import _0x393c3f from'buffer';import{ISnapshotServerService as _0x36a73a}from'@univerjs-pro/collaboration';const Be=_0x499823(0x134),Ft={'customHeaders':{}};function Wt(_0x39268d){const _0x27a2e8=_0x499823;return _0x39268d&&_0x39268d[_0x27a2e8(0x26d)]&&Object[_0x27a2e8(0x238)][_0x27a2e8(0x210)][_0x27a2e8(0x15d)](_0x39268d,_0x27a2e8(0x190))?_0x39268d['default']:_0x39268d;}function ut(_0x4c6e39){const _0x544a85=_0x499823;if(Object[_0x544a85(0x238)][_0x544a85(0x210)][_0x544a85(0x15d)](_0x4c6e39,_0x544a85(0x26d)))return _0x4c6e39;var _0xc6f796=_0x4c6e39['default'];if(typeof _0xc6f796==_0x544a85(0x1ab)){var _0xd302ff=function _0x4cbf46(){const _0x366c7d=_0x544a85;var _0xb6a4c5=!0x1;try{_0xb6a4c5=this instanceof _0x4cbf46;}catch{}return _0xb6a4c5?Reflect[_0x366c7d(0x2a5)](_0xc6f796,arguments,this[_0x366c7d(0x182)]):_0xc6f796[_0x366c7d(0x1ce)](this,arguments);};_0xd302ff['prototype']=_0xc6f796[_0x544a85(0x238)];}else _0xd302ff={};return Object['defineProperty'](_0xd302ff,_0x544a85(0x26d),{'value':!0x0}),Object[_0x544a85(0x1e9)](_0x4c6e39)[_0x544a85(0x226)](function(_0x580036){const _0x5aaa9b=_0x544a85;var _0x2578df=Object[_0x5aaa9b(0x2b1)](_0x4c6e39,_0x580036);Object[_0x5aaa9b(0x26b)](_0xd302ff,_0x580036,_0x2578df['get']?_0x2578df:{'enumerable':!0x0,'get':function(){return _0x4c6e39[_0x580036];}});}),_0xd302ff;}var te={'exports':{}},ge,Ye;function V(){const _0x10192d=_0x499823;if(Ye)return ge;Ye=0x1;const _0x341188=[_0x10192d(0x211),_0x10192d(0x21d),_0x10192d(0x1cb)],_0x167d58=typeof Blob<'u';return _0x167d58&&_0x341188[_0x10192d(0x18d)](_0x10192d(0x13a)),ge={'BINARY_TYPES':_0x341188,'EMPTY_BUFFER':Buffer[_0x10192d(0x280)](0x0),'GUID':'258EAFA5-E914-47DA-95CA-C5AB0DC85B11','hasBlob':_0x167d58,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol(_0x10192d(0x16c)),'kStatusCode':Symbol('status-code'),'kWebSocket':Symbol(_0x10192d(0x247)),'NOOP':()=>{}},ge;}const jt={},Gt=Object['freeze'](Object[_0x499823(0x26b)]({'__proto__':null,'default':jt},Symbol[_0x499823(0x1ca)],{'value':_0x499823(0x2ac)})),Vt=ut(Gt);var Ke;function ce(){const _0x583190=_0x499823;if(Ke)return te[_0x583190(0x15c)];Ke=0x1;const {EMPTY_BUFFER:_0x562bd4}=V(),_0x3299b7=Buffer[Symbol[_0x583190(0x2c6)]];function _0x53c499(_0x339b7c,_0x5720cd){const _0x143b8f=_0x583190;if(_0x339b7c[_0x143b8f(0x2bb)]===0x0)return _0x562bd4;if(_0x339b7c[_0x143b8f(0x2bb)]===0x1)return _0x339b7c[0x0];const _0x2e7420=Buffer['allocUnsafe'](_0x5720cd);let _0x31377b=0x0;for(let _0x278a82=0x0;_0x278a82<_0x339b7c[_0x143b8f(0x2bb)];_0x278a82++){const _0x4a4c65=_0x339b7c[_0x278a82];_0x2e7420['set'](_0x4a4c65,_0x31377b),_0x31377b+=_0x4a4c65[_0x143b8f(0x2bb)];}return _0x31377b<_0x5720cd?new _0x3299b7(_0x2e7420[_0x143b8f(0x1bf)],_0x2e7420[_0x143b8f(0x179)],_0x31377b):_0x2e7420;}function _0x47b06c(_0x2b750f,_0x310515,_0x323673,_0x1cb136,_0x1a9e98){for(let _0x5825c1=0x0;_0x5825c1<_0x1a9e98;_0x5825c1++)_0x323673[_0x1cb136+_0x5825c1]=_0x2b750f[_0x5825c1]^_0x310515[_0x5825c1&0x3];}function _0x3d7943(_0x57c3e2,_0x33c0df){for(let _0xaa58f4=0x0;_0xaa58f4<_0x57c3e2['length'];_0xaa58f4++)_0x57c3e2[_0xaa58f4]^=_0x33c0df[_0xaa58f4&0x3];}function _0x5bcbc8(_0x166cd6){const _0x549aae=_0x583190;return _0x166cd6[_0x549aae(0x2bb)]===_0x166cd6[_0x549aae(0x1bf)][_0x549aae(0x21e)]?_0x166cd6['buffer']:_0x166cd6['buffer'][_0x549aae(0x150)](_0x166cd6['byteOffset'],_0x166cd6[_0x549aae(0x179)]+_0x166cd6['length']);}function _0x2b1a07(_0x107828){const _0x402119=_0x583190;if(_0x2b1a07['readOnly']=!0x0,Buffer[_0x402119(0x256)](_0x107828))return _0x107828;let _0x336021;return _0x107828 instanceof ArrayBuffer?_0x336021=new _0x3299b7(_0x107828):ArrayBuffer['isView'](_0x107828)?_0x336021=new _0x3299b7(_0x107828[_0x402119(0x1bf)],_0x107828['byteOffset'],_0x107828[_0x402119(0x21e)]):(_0x336021=Buffer[_0x402119(0x17f)](_0x107828),_0x2b1a07[_0x402119(0x271)]=!0x1),_0x336021;}if(te[_0x583190(0x15c)]={'concat':_0x53c499,'mask':_0x47b06c,'toArrayBuffer':_0x5bcbc8,'toBuffer':_0x2b1a07,'unmask':_0x3d7943},!process['env'][_0x583190(0x204)])try{const _0x5aa902=Vt;te[_0x583190(0x15c)][_0x583190(0x1a0)]=function(_0x1a3b14,_0x46a5b9,_0x42b868,_0x170f3f,_0x5186f9){const _0x4a2457=_0x583190;_0x5186f9<0x30?_0x47b06c(_0x1a3b14,_0x46a5b9,_0x42b868,_0x170f3f,_0x5186f9):_0x5aa902[_0x4a2457(0x1a0)](_0x1a3b14,_0x46a5b9,_0x42b868,_0x170f3f,_0x5186f9);},te[_0x583190(0x15c)][_0x583190(0x13c)]=function(_0x39b2f5,_0x3e60b7){const _0x2c8eb0=_0x583190;_0x39b2f5[_0x2c8eb0(0x2bb)]<0x20?_0x3d7943(_0x39b2f5,_0x3e60b7):_0x5aa902[_0x2c8eb0(0x13c)](_0x39b2f5,_0x3e60b7);};}catch{}return te[_0x583190(0x15c)];}var ye,Xe;function qt(){const _0x4fa479=_0x499823;if(Xe)return ye;Xe=0x1;const _0x54ca65=Symbol(_0x4fa479(0x1a3)),_0x30b3ac=Symbol('kRun');class _0x4102ec{constructor(_0x226bd6){const _0x123a82=_0x4fa479;this[_0x54ca65]=()=>{this['pending']--,this[_0x30b3ac]();},this[_0x123a82(0x201)]=_0x226bd6||0x1/0x0,this[_0x123a82(0x22c)]=[],this[_0x123a82(0x29c)]=0x0;}[_0x4fa479(0x1f8)](_0x5a6d0a){const _0x9db54b=_0x4fa479;this[_0x9db54b(0x22c)][_0x9db54b(0x18d)](_0x5a6d0a),this[_0x30b3ac]();}[_0x30b3ac](){const _0x5c371b=_0x4fa479;if(this[_0x5c371b(0x29c)]!==this[_0x5c371b(0x201)]&&this[_0x5c371b(0x22c)]['length']){const _0x1e334f=this[_0x5c371b(0x22c)][_0x5c371b(0x1f2)]();this['pending']++,_0x1e334f(this[_0x54ca65]);}}}return ye=_0x4102ec,ye;}var ve,Ze;function he(){const _0xa35c75=_0x499823;if(Ze)return ve;Ze=0x1;const _0x365e52=_0x2225b4,_0x54e2f6=ce(),_0x15e6ec=qt(),{kStatusCode:_0x3e16e1}=V(),_0x37707e=Buffer[Symbol['species']],_0x9447e3=Buffer[_0xa35c75(0x17f)]([0x0,0x0,0xff,0xff]),_0x29d63e=Symbol('permessage-deflate'),_0x8ecc62=Symbol(_0xa35c75(0x145)),_0x282c21=Symbol('callback'),_0x1c3c9e=Symbol(_0xa35c75(0x1e4)),_0x3fcb62=Symbol('error');let _0x112ca2;class _0x57227e{constructor(_0x1e07f3,_0x23fc52,_0x2fa2fc){const _0x54b571=_0xa35c75;if(this[_0x54b571(0x273)]=_0x2fa2fc|0x0,this[_0x54b571(0x291)]=_0x1e07f3||{},this[_0x54b571(0x139)]=this[_0x54b571(0x291)][_0x54b571(0x1c3)]!==void 0x0?this[_0x54b571(0x291)]['threshold']:0x400,this[_0x54b571(0x2cf)]=!!_0x23fc52,this[_0x54b571(0x279)]=null,this[_0x54b571(0x15e)]=null,this[_0x54b571(0x2db)]=null,!_0x112ca2){const _0x481574=this[_0x54b571(0x291)][_0x54b571(0x19a)]!==void 0x0?this[_0x54b571(0x291)]['concurrencyLimit']:0xa;_0x112ca2=new _0x15e6ec(_0x481574);}}static get['extensionName'](){const _0x174a14=_0xa35c75;return _0x174a14(0x288);}[_0xa35c75(0x13f)](){const _0x102400=_0xa35c75,_0x16e17f={};return this[_0x102400(0x291)][_0x102400(0x219)]&&(_0x16e17f[_0x102400(0x1fe)]=!0x0),this[_0x102400(0x291)][_0x102400(0x142)]&&(_0x16e17f[_0x102400(0x23c)]=!0x0),this[_0x102400(0x291)][_0x102400(0x180)]&&(_0x16e17f[_0x102400(0x292)]=this['_options'][_0x102400(0x180)]),this[_0x102400(0x291)][_0x102400(0x218)]?_0x16e17f[_0x102400(0x269)]=this[_0x102400(0x291)]['clientMaxWindowBits']:this[_0x102400(0x291)][_0x102400(0x218)]==null&&(_0x16e17f[_0x102400(0x269)]=!0x0),_0x16e17f;}[_0xa35c75(0x229)](_0xf81fb3){const _0x4e319f=_0xa35c75;return _0xf81fb3=this[_0x4e319f(0x176)](_0xf81fb3),this[_0x4e319f(0x2db)]=this[_0x4e319f(0x2cf)]?this[_0x4e319f(0x13d)](_0xf81fb3):this[_0x4e319f(0x274)](_0xf81fb3),this[_0x4e319f(0x2db)];}[_0xa35c75(0x26e)](){const _0x40cd0b=_0xa35c75;if(this[_0x40cd0b(0x15e)]&&(this[_0x40cd0b(0x15e)][_0x40cd0b(0x1e6)](),this[_0x40cd0b(0x15e)]=null),this[_0x40cd0b(0x279)]){const _0x101052=this[_0x40cd0b(0x279)][_0x282c21];this[_0x40cd0b(0x279)][_0x40cd0b(0x1e6)](),this[_0x40cd0b(0x279)]=null,_0x101052&&_0x101052(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}[_0xa35c75(0x13d)](_0x635cdc){const _0x2a8817=_0xa35c75,_0xf1963b=this[_0x2a8817(0x291)],_0x378c04=_0x635cdc[_0x2a8817(0x16d)](_0x3f620c=>!(_0xf1963b[_0x2a8817(0x219)]===!0x1&&_0x3f620c[_0x2a8817(0x1fe)]||_0x3f620c[_0x2a8817(0x292)]&&(_0xf1963b['serverMaxWindowBits']===!0x1||typeof _0xf1963b['serverMaxWindowBits']==_0x2a8817(0x1e8)&&_0xf1963b[_0x2a8817(0x180)]>_0x3f620c[_0x2a8817(0x292)])||typeof _0xf1963b[_0x2a8817(0x218)]==_0x2a8817(0x1e8)&&!_0x3f620c[_0x2a8817(0x269)]));if(!_0x378c04)throw new Error(_0x2a8817(0x24c));return _0xf1963b[_0x2a8817(0x219)]&&(_0x378c04[_0x2a8817(0x1fe)]=!0x0),_0xf1963b[_0x2a8817(0x142)]&&(_0x378c04['client_no_context_takeover']=!0x0),typeof _0xf1963b['serverMaxWindowBits']==_0x2a8817(0x1e8)&&(_0x378c04['server_max_window_bits']=_0xf1963b[_0x2a8817(0x180)]),typeof _0xf1963b[_0x2a8817(0x218)]==_0x2a8817(0x1e8)?_0x378c04[_0x2a8817(0x269)]=_0xf1963b[_0x2a8817(0x218)]:(_0x378c04[_0x2a8817(0x269)]===!0x0||_0xf1963b['clientMaxWindowBits']===!0x1)&&delete _0x378c04['client_max_window_bits'],_0x378c04;}[_0xa35c75(0x274)](_0x4fcdf4){const _0x12008d=_0xa35c75,_0x9fe6a=_0x4fcdf4[0x0];if(this[_0x12008d(0x291)]['clientNoContextTakeover']===!0x1&&_0x9fe6a['client_no_context_takeover'])throw new Error(_0x12008d(0x1b7));if(!_0x9fe6a['client_max_window_bits'])typeof this[_0x12008d(0x291)][_0x12008d(0x218)]==_0x12008d(0x1e8)&&(_0x9fe6a['client_max_window_bits']=this['_options']['clientMaxWindowBits']);else{if(this['_options'][_0x12008d(0x218)]===!0x1||typeof this[_0x12008d(0x291)][_0x12008d(0x218)]==_0x12008d(0x1e8)&&_0x9fe6a[_0x12008d(0x269)]>this[_0x12008d(0x291)][_0x12008d(0x218)])throw new Error(_0x12008d(0x167));}return _0x9fe6a;}['normalizeParams'](_0x16f69b){return _0x16f69b['forEach'](_0x4e9c9f=>{const _0x5809d3=_0x3bf5;Object[_0x5809d3(0x1e9)](_0x4e9c9f)[_0x5809d3(0x226)](_0x28a681=>{const _0x6b76c=_0x5809d3;let _0x4e2929=_0x4e9c9f[_0x28a681];if(_0x4e2929[_0x6b76c(0x2bb)]>0x1)throw new Error(_0x6b76c(0x1b1)+_0x28a681+_0x6b76c(0x2ab));if(_0x4e2929=_0x4e2929[0x0],_0x28a681===_0x6b76c(0x269)){if(_0x4e2929!==!0x0){const _0x194ab0=+_0x4e2929;if(!Number[_0x6b76c(0x189)](_0x194ab0)||_0x194ab0<0x8||_0x194ab0>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x28a681+_0x6b76c(0x199)+_0x4e2929);_0x4e2929=_0x194ab0;}else{if(!this[_0x6b76c(0x2cf)])throw new TypeError(_0x6b76c(0x195)+_0x28a681+_0x6b76c(0x199)+_0x4e2929);}}else{if(_0x28a681===_0x6b76c(0x292)){const _0x3162f1=+_0x4e2929;if(!Number['isInteger'](_0x3162f1)||_0x3162f1<0x8||_0x3162f1>0xf)throw new TypeError(_0x6b76c(0x195)+_0x28a681+_0x6b76c(0x199)+_0x4e2929);_0x4e2929=_0x3162f1;}else{if(_0x28a681===_0x6b76c(0x23c)||_0x28a681===_0x6b76c(0x1fe)){if(_0x4e2929!==!0x0)throw new TypeError(_0x6b76c(0x195)+_0x28a681+_0x6b76c(0x199)+_0x4e2929);}else throw new Error(_0x6b76c(0x1c1)+_0x28a681+'\x22');}}_0x4e9c9f[_0x28a681]=_0x4e2929;});}),_0x16f69b;}[_0xa35c75(0x1fc)](_0x23b3b6,_0x52aad1,_0x29469c){const _0x2c0a5a=_0xa35c75;_0x112ca2[_0x2c0a5a(0x1f8)](_0x152f0f=>{const _0x5a219e=_0x2c0a5a;this[_0x5a219e(0x147)](_0x23b3b6,_0x52aad1,(_0x1b091,_0xf3ceea)=>{_0x152f0f(),_0x29469c(_0x1b091,_0xf3ceea);});});}[_0xa35c75(0x254)](_0x4d5824,_0xc6e561,_0x21aff3){const _0x145d50=_0xa35c75;_0x112ca2[_0x145d50(0x1f8)](_0x4edb1c=>{const _0x49827f=_0x145d50;this[_0x49827f(0x21c)](_0x4d5824,_0xc6e561,(_0x483615,_0x361627)=>{_0x4edb1c(),_0x21aff3(_0x483615,_0x361627);});});}[_0xa35c75(0x147)](_0x1fe77a,_0x3fb7ef,_0x4b4d2f){const _0x271daf=_0xa35c75,_0x2249c3=this[_0x271daf(0x2cf)]?_0x271daf(0x162):_0x271daf(0x2b7);if(!this[_0x271daf(0x15e)]){const _0x1843dc=_0x2249c3+_0x271daf(0x268),_0x5a18ca=typeof this[_0x271daf(0x2db)][_0x1843dc]!=_0x271daf(0x1e8)?_0x365e52['Z_DEFAULT_WINDOWBITS']:this[_0x271daf(0x2db)][_0x1843dc];this[_0x271daf(0x15e)]=_0x365e52['createInflateRaw']({...this[_0x271daf(0x291)][_0x271daf(0x17e)],'windowBits':_0x5a18ca}),this['_inflate'][_0x29d63e]=this,this[_0x271daf(0x15e)][_0x8ecc62]=0x0,this['_inflate'][_0x1c3c9e]=[],this['_inflate']['on'](_0x271daf(0x267),_0x19929e),this['_inflate']['on'](_0x271daf(0x205),_0x392473);}this[_0x271daf(0x15e)][_0x282c21]=_0x4b4d2f,this['_inflate'][_0x271daf(0x20a)](_0x1fe77a),_0x3fb7ef&&this[_0x271daf(0x15e)][_0x271daf(0x20a)](_0x9447e3),this[_0x271daf(0x15e)][_0x271daf(0x29b)](()=>{const _0x26a862=_0x271daf,_0x333c36=this[_0x26a862(0x15e)][_0x3fcb62];if(_0x333c36){this[_0x26a862(0x15e)][_0x26a862(0x1e6)](),this['_inflate']=null,_0x4b4d2f(_0x333c36);return;}const _0x34ac8e=_0x54e2f6[_0x26a862(0x2e1)](this['_inflate'][_0x1c3c9e],this['_inflate'][_0x8ecc62]);this[_0x26a862(0x15e)][_0x26a862(0x230)][_0x26a862(0x21f)]?(this[_0x26a862(0x15e)]['close'](),this['_inflate']=null):(this[_0x26a862(0x15e)][_0x8ecc62]=0x0,this[_0x26a862(0x15e)][_0x1c3c9e]=[],_0x3fb7ef&&this[_0x26a862(0x2db)][_0x2249c3+'_no_context_takeover']&&this['_inflate'][_0x26a862(0x2aa)]()),_0x4b4d2f(null,_0x34ac8e);});}['_compress'](_0x2b2312,_0x164d05,_0x2dee0b){const _0x13f783=_0xa35c75,_0x201c8b=this[_0x13f783(0x2cf)]?_0x13f783(0x2b7):_0x13f783(0x162);if(!this[_0x13f783(0x279)]){const _0x439efb=_0x201c8b+_0x13f783(0x268),_0x30955a=typeof this[_0x13f783(0x2db)][_0x439efb]!=_0x13f783(0x1e8)?_0x365e52[_0x13f783(0x263)]:this['params'][_0x439efb];this[_0x13f783(0x279)]=_0x365e52[_0x13f783(0x2cd)]({...this[_0x13f783(0x291)][_0x13f783(0x184)],'windowBits':_0x30955a}),this[_0x13f783(0x279)][_0x8ecc62]=0x0,this['_deflate'][_0x1c3c9e]=[],this[_0x13f783(0x279)]['on']('data',_0xd502d8);}this[_0x13f783(0x279)][_0x282c21]=_0x2dee0b,this[_0x13f783(0x279)][_0x13f783(0x20a)](_0x2b2312),this[_0x13f783(0x279)]['flush'](_0x365e52[_0x13f783(0x202)],()=>{const _0x1a9d03=_0x13f783;if(!this[_0x1a9d03(0x279)])return;let _0x46ea45=_0x54e2f6[_0x1a9d03(0x2e1)](this[_0x1a9d03(0x279)][_0x1c3c9e],this[_0x1a9d03(0x279)][_0x8ecc62]);_0x164d05&&(_0x46ea45=new _0x37707e(_0x46ea45['buffer'],_0x46ea45[_0x1a9d03(0x179)],_0x46ea45[_0x1a9d03(0x2bb)]-0x4)),this['_deflate'][_0x282c21]=null,this[_0x1a9d03(0x279)][_0x8ecc62]=0x0,this[_0x1a9d03(0x279)][_0x1c3c9e]=[],_0x164d05&&this['params'][_0x201c8b+_0x1a9d03(0x259)]&&this[_0x1a9d03(0x279)][_0x1a9d03(0x2aa)](),_0x2dee0b(null,_0x46ea45);});}}ve=_0x57227e;function _0xd502d8(_0x463e78){const _0xa640e6=_0xa35c75;this[_0x1c3c9e][_0xa640e6(0x18d)](_0x463e78),this[_0x8ecc62]+=_0x463e78[_0xa640e6(0x2bb)];}function _0x392473(_0x43598b){const _0x580b77=_0xa35c75;if(this[_0x8ecc62]+=_0x43598b[_0x580b77(0x2bb)],this[_0x29d63e][_0x580b77(0x273)]<0x1||this[_0x8ecc62]<=this[_0x29d63e][_0x580b77(0x273)]){this[_0x1c3c9e][_0x580b77(0x18d)](_0x43598b);return;}this[_0x3fcb62]=new RangeError(_0x580b77(0x24b)),this[_0x3fcb62][_0x580b77(0x27c)]=_0x580b77(0x1bd),this[_0x3fcb62][_0x3e16e1]=0x3f1,this[_0x580b77(0x1be)]('data',_0x392473),this['reset']();}function _0x19929e(_0x12e13d){if(this[_0x29d63e]['_inflate']=null,this[_0x3fcb62]){this[_0x282c21](this[_0x3fcb62]);return;}_0x12e13d[_0x3e16e1]=0x3ef,this[_0x282c21](_0x12e13d);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x499823(0x160)](Object['defineProperty']({'__proto__':null,'default':Ht},Symbol[_0x499823(0x1ca)],{'value':'Module'})),Yt=ut(zt);var Qe;function ne(){const _0x57aeab=_0x499823;if(Qe)return re[_0x57aeab(0x15c)];Qe=0x1;const {isUtf8:_0x52eb1f}=_0x393c3f,{hasBlob:_0x79d41}=V(),_0x3c9c77=[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 _0x36166e(_0x291ab){return _0x291ab>=0x3e8&&_0x291ab<=0x3f6&&_0x291ab!==0x3ec&&_0x291ab!==0x3ed&&_0x291ab!==0x3ee||_0x291ab>=0xbb8&&_0x291ab<=0x1387;}function _0x1ca7c3(_0x484d77){const _0x5bb86e=_0x57aeab,_0x2fda88=_0x484d77[_0x5bb86e(0x2bb)];let _0x379259=0x0;for(;_0x379259<_0x2fda88;)if((_0x484d77[_0x379259]&0x80)===0x0)_0x379259++;else{if((_0x484d77[_0x379259]&0xe0)===0xc0){if(_0x379259+0x1===_0x2fda88||(_0x484d77[_0x379259+0x1]&0xc0)!==0x80||(_0x484d77[_0x379259]&0xfe)===0xc0)return!0x1;_0x379259+=0x2;}else{if((_0x484d77[_0x379259]&0xf0)===0xe0){if(_0x379259+0x2>=_0x2fda88||(_0x484d77[_0x379259+0x1]&0xc0)!==0x80||(_0x484d77[_0x379259+0x2]&0xc0)!==0x80||_0x484d77[_0x379259]===0xe0&&(_0x484d77[_0x379259+0x1]&0xe0)===0x80||_0x484d77[_0x379259]===0xed&&(_0x484d77[_0x379259+0x1]&0xe0)===0xa0)return!0x1;_0x379259+=0x3;}else{if((_0x484d77[_0x379259]&0xf8)===0xf0){if(_0x379259+0x3>=_0x2fda88||(_0x484d77[_0x379259+0x1]&0xc0)!==0x80||(_0x484d77[_0x379259+0x2]&0xc0)!==0x80||(_0x484d77[_0x379259+0x3]&0xc0)!==0x80||_0x484d77[_0x379259]===0xf0&&(_0x484d77[_0x379259+0x1]&0xf0)===0x80||_0x484d77[_0x379259]===0xf4&&_0x484d77[_0x379259+0x1]>0x8f||_0x484d77[_0x379259]>0xf4)return!0x1;_0x379259+=0x4;}else return!0x1;}}}return!0x0;}function _0x27b0ff(_0x2c99e8){const _0x236813=_0x57aeab;return _0x79d41&&typeof _0x2c99e8==_0x236813(0x146)&&typeof _0x2c99e8[_0x236813(0x188)]==_0x236813(0x1ab)&&typeof _0x2c99e8['type']==_0x236813(0x18a)&&typeof _0x2c99e8[_0x236813(0x1ae)]==_0x236813(0x1ab)&&(_0x2c99e8[Symbol[_0x236813(0x1ca)]]===_0x236813(0x2dd)||_0x2c99e8[Symbol[_0x236813(0x1ca)]]==='File');}if(re[_0x57aeab(0x15c)]={'isBlob':_0x27b0ff,'isValidStatusCode':_0x36166e,'isValidUTF8':_0x1ca7c3,'tokenChars':_0x3c9c77},_0x52eb1f)re[_0x57aeab(0x15c)][_0x57aeab(0x290)]=function(_0x168c51){const _0x599092=_0x57aeab;return _0x168c51[_0x599092(0x2bb)]<0x18?_0x1ca7c3(_0x168c51):_0x52eb1f(_0x168c51);};else{if(!process[_0x57aeab(0x18e)][_0x57aeab(0x1d1)])try{const _0x10fff0=Yt;re['exports'][_0x57aeab(0x290)]=function(_0x146c4e){const _0x91cc69=_0x57aeab;return _0x146c4e[_0x91cc69(0x2bb)]<0x20?_0x1ca7c3(_0x146c4e):_0x10fff0(_0x146c4e);};}catch{}}return re[_0x57aeab(0x15c)];}var Se,Je;function dt(){const _0x4b4d95=_0x499823;if(Je)return Se;Je=0x1;const {Writable:_0x243a24}=_0x263b4e,_0x3a0806=he(),{BINARY_TYPES:_0x4f2e55,EMPTY_BUFFER:_0x13e704,kStatusCode:_0x42e642,kWebSocket:_0x2e7c6a}=V(),{concat:_0x20c207,toArrayBuffer:_0xbe9898,unmask:_0x406597}=ce(),{isValidStatusCode:_0x264b36,isValidUTF8:_0x12a57d}=ne(),_0x26d568=Buffer[Symbol[_0x4b4d95(0x2c6)]],_0x3cae6d=0x0,_0x1461d0=0x1,_0x95869b=0x2,_0xa9459f=0x3,_0x3b209e=0x4,_0x1c319f=0x5,_0x590313=0x6;class _0x28d688 extends _0x243a24{constructor(_0xcfcba1={}){const _0x4d6480=_0x4b4d95;super(),this['_allowSynchronousEvents']=_0xcfcba1[_0x4d6480(0x2bf)]!==void 0x0?_0xcfcba1[_0x4d6480(0x2bf)]:!0x0,this['_binaryType']=_0xcfcba1[_0x4d6480(0x1b2)]||_0x4f2e55[0x0],this[_0x4d6480(0x16b)]=_0xcfcba1[_0x4d6480(0x2a0)]||{},this[_0x4d6480(0x2cf)]=!!_0xcfcba1['isServer'],this['_maxPayload']=_0xcfcba1['maxPayload']|0x0,this['_skipUTF8Validation']=!!_0xcfcba1['skipUTF8Validation'],this[_0x2e7c6a]=void 0x0,this[_0x4d6480(0x138)]=0x0,this['_buffers']=[],this[_0x4d6480(0x1c2)]=!0x1,this[_0x4d6480(0x236)]=0x0,this[_0x4d6480(0x1d0)]=void 0x0,this['_fragmented']=0x0,this[_0x4d6480(0x294)]=!0x1,this[_0x4d6480(0x151)]=!0x1,this[_0x4d6480(0x2a4)]=0x0,this[_0x4d6480(0x2b3)]=0x0,this[_0x4d6480(0x272)]=0x0,this[_0x4d6480(0x289)]=[],this['_errored']=!0x1,this[_0x4d6480(0x284)]=!0x1,this[_0x4d6480(0x24f)]=_0x3cae6d;}[_0x4b4d95(0x2d5)](_0x2c4b98,_0x5b5163,_0x48598c){const _0x365d22=_0x4b4d95;if(this['_opcode']===0x8&&this[_0x365d22(0x24f)]==_0x3cae6d)return _0x48598c();this[_0x365d22(0x138)]+=_0x2c4b98[_0x365d22(0x2bb)],this[_0x365d22(0x251)]['push'](_0x2c4b98),this[_0x365d22(0x187)](_0x48598c);}['consume'](_0x5bb203){const _0x4e6bd7=_0x4b4d95;if(this[_0x4e6bd7(0x138)]-=_0x5bb203,_0x5bb203===this[_0x4e6bd7(0x251)][0x0]['length'])return this[_0x4e6bd7(0x251)][_0x4e6bd7(0x1f2)]();if(_0x5bb203<this['_buffers'][0x0][_0x4e6bd7(0x2bb)]){const _0x45846c=this[_0x4e6bd7(0x251)][0x0];return this[_0x4e6bd7(0x251)][0x0]=new _0x26d568(_0x45846c[_0x4e6bd7(0x1bf)],_0x45846c['byteOffset']+_0x5bb203,_0x45846c['length']-_0x5bb203),new _0x26d568(_0x45846c['buffer'],_0x45846c['byteOffset'],_0x5bb203);}const _0xd603e7=Buffer['allocUnsafe'](_0x5bb203);do{const _0x23986a=this[_0x4e6bd7(0x251)][0x0],_0x463836=_0xd603e7[_0x4e6bd7(0x2bb)]-_0x5bb203;_0x5bb203>=_0x23986a[_0x4e6bd7(0x2bb)]?_0xd603e7[_0x4e6bd7(0x1ec)](this[_0x4e6bd7(0x251)][_0x4e6bd7(0x1f2)](),_0x463836):(_0xd603e7[_0x4e6bd7(0x1ec)](new Uint8Array(_0x23986a['buffer'],_0x23986a[_0x4e6bd7(0x179)],_0x5bb203),_0x463836),this['_buffers'][0x0]=new _0x26d568(_0x23986a[_0x4e6bd7(0x1bf)],_0x23986a[_0x4e6bd7(0x179)]+_0x5bb203,_0x23986a[_0x4e6bd7(0x2bb)]-_0x5bb203)),_0x5bb203-=_0x23986a[_0x4e6bd7(0x2bb)];}while(_0x5bb203>0x0);return _0xd603e7;}[_0x4b4d95(0x187)](_0x44f6ec){const _0x3cde52=_0x4b4d95;this[_0x3cde52(0x284)]=!0x0;do switch(this[_0x3cde52(0x24f)]){case _0x3cae6d:this[_0x3cde52(0x248)](_0x44f6ec);break;case _0x1461d0:this[_0x3cde52(0x1b9)](_0x44f6ec);break;case _0x95869b:this[_0x3cde52(0x135)](_0x44f6ec);break;case _0xa9459f:this[_0x3cde52(0x1c4)]();break;case _0x3b209e:this['getData'](_0x44f6ec);break;case _0x1c319f:case _0x590313:this['_loop']=!0x1;return;}while(this['_loop']);this[_0x3cde52(0x197)]||_0x44f6ec();}[_0x4b4d95(0x248)](_0x1b8fdc){const _0x34acb4=_0x4b4d95;if(this[_0x34acb4(0x138)]<0x2){this['_loop']=!0x1;return;}const _0x43cde1=this[_0x34acb4(0x209)](0x2);if((_0x43cde1[0x0]&0x30)!==0x0){const _0x3f0074=this[_0x34acb4(0x239)](RangeError,'RSV2\x20and\x20RSV3\x20must\x20be\x20clear',!0x0,0x3ea,_0x34acb4(0x1ba));_0x1b8fdc(_0x3f0074);return;}const _0x20c793=(_0x43cde1[0x0]&0x40)===0x40;if(_0x20c793&&!this[_0x34acb4(0x16b)][_0x3a0806['extensionName']]){const _0x30ee7e=this[_0x34acb4(0x239)](RangeError,_0x34acb4(0x2c4),!0x0,0x3ea,_0x34acb4(0x27b));_0x1b8fdc(_0x30ee7e);return;}if(this[_0x34acb4(0x151)]=(_0x43cde1[0x0]&0x80)===0x80,this[_0x34acb4(0x2a4)]=_0x43cde1[0x0]&0xf,this[_0x34acb4(0x236)]=_0x43cde1[0x1]&0x7f,this[_0x34acb4(0x2a4)]===0x0){if(_0x20c793){const _0x431694=this['createError'](RangeError,_0x34acb4(0x2c4),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x1b8fdc(_0x431694);return;}if(!this[_0x34acb4(0x1f3)]){const _0x50b10d=this[_0x34acb4(0x239)](RangeError,'invalid\x20opcode\x200',!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x1b8fdc(_0x50b10d);return;}this[_0x34acb4(0x2a4)]=this[_0x34acb4(0x1f3)];}else{if(this[_0x34acb4(0x2a4)]===0x1||this['_opcode']===0x2){if(this['_fragmented']){const _0x461a9a=this[_0x34acb4(0x239)](RangeError,_0x34acb4(0x2b2)+this['_opcode'],!0x0,0x3ea,_0x34acb4(0x262));_0x1b8fdc(_0x461a9a);return;}this[_0x34acb4(0x1c2)]=_0x20c793;}else{if(this[_0x34acb4(0x2a4)]>0x7&&this[_0x34acb4(0x2a4)]<0xb){if(!this[_0x34acb4(0x151)]){const _0x5a4e8f=this[_0x34acb4(0x239)](RangeError,_0x34acb4(0x1de),!0x0,0x3ea,_0x34acb4(0x161));_0x1b8fdc(_0x5a4e8f);return;}if(_0x20c793){const _0x46d6e1=this['createError'](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x34acb4(0x27b));_0x1b8fdc(_0x46d6e1);return;}if(this[_0x34acb4(0x236)]>0x7d||this[_0x34acb4(0x2a4)]===0x8&&this[_0x34acb4(0x236)]===0x1){const _0xe70905=this['createError'](RangeError,_0x34acb4(0x1c8)+this['_payloadLength'],!0x0,0x3ea,_0x34acb4(0x2cb));_0x1b8fdc(_0xe70905);return;}}else{const _0x45c56d=this['createError'](RangeError,_0x34acb4(0x2b2)+this[_0x34acb4(0x2a4)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x1b8fdc(_0x45c56d);return;}}}if(!this[_0x34acb4(0x151)]&&!this['_fragmented']&&(this[_0x34acb4(0x1f3)]=this[_0x34acb4(0x2a4)]),this[_0x34acb4(0x294)]=(_0x43cde1[0x1]&0x80)===0x80,this[_0x34acb4(0x2cf)]){if(!this['_masked']){const _0x256008=this[_0x34acb4(0x239)](RangeError,_0x34acb4(0x159),!0x0,0x3ea,_0x34acb4(0x14d));_0x1b8fdc(_0x256008);return;}}else{if(this['_masked']){const _0x3cc39a=this[_0x34acb4(0x239)](RangeError,_0x34acb4(0x253),!0x0,0x3ea,_0x34acb4(0x2bd));_0x1b8fdc(_0x3cc39a);return;}}this[_0x34acb4(0x236)]===0x7e?this['_state']=_0x1461d0:this[_0x34acb4(0x236)]===0x7f?this['_state']=_0x95869b:this[_0x34acb4(0x225)](_0x1b8fdc);}['getPayloadLength16'](_0xb096b1){const _0x1a0a6b=_0x4b4d95;if(this['_bufferedBytes']<0x2){this[_0x1a0a6b(0x284)]=!0x1;return;}this[_0x1a0a6b(0x236)]=this['consume'](0x2)[_0x1a0a6b(0x25a)](0x0),this[_0x1a0a6b(0x225)](_0xb096b1);}[_0x4b4d95(0x135)](_0x196d33){const _0x347969=_0x4b4d95;if(this[_0x347969(0x138)]<0x8){this[_0x347969(0x284)]=!0x1;return;}const _0x2d2e4e=this[_0x347969(0x209)](0x8),_0x2bebb4=_0x2d2e4e[_0x347969(0x2d9)](0x0);if(_0x2bebb4>Math['pow'](0x2,0x15)-0x1){const _0x3db011=this[_0x347969(0x239)](RangeError,_0x347969(0x1c5),!0x1,0x3f1,_0x347969(0x23d));_0x196d33(_0x3db011);return;}this[_0x347969(0x236)]=_0x2bebb4*Math['pow'](0x2,0x20)+_0x2d2e4e[_0x347969(0x2d9)](0x4),this[_0x347969(0x225)](_0x196d33);}[_0x4b4d95(0x225)](_0x37735d){const _0x2d81ef=_0x4b4d95;if(this[_0x2d81ef(0x236)]&&this[_0x2d81ef(0x2a4)]<0x8&&(this[_0x2d81ef(0x2b3)]+=this[_0x2d81ef(0x236)],this[_0x2d81ef(0x2b3)]>this[_0x2d81ef(0x273)]&&this[_0x2d81ef(0x273)]>0x0)){const _0x5c869b=this[_0x2d81ef(0x239)](RangeError,_0x2d81ef(0x24b),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x37735d(_0x5c869b);return;}this[_0x2d81ef(0x294)]?this['_state']=_0xa9459f:this[_0x2d81ef(0x24f)]=_0x3b209e;}['getMask'](){const _0x5a8d70=_0x4b4d95;if(this[_0x5a8d70(0x138)]<0x4){this[_0x5a8d70(0x284)]=!0x1;return;}this[_0x5a8d70(0x1d0)]=this[_0x5a8d70(0x209)](0x4),this[_0x5a8d70(0x24f)]=_0x3b209e;}['getData'](_0x1e7044){const _0x2320bd=_0x4b4d95;let _0x467d95=_0x13e704;if(this[_0x2320bd(0x236)]){if(this[_0x2320bd(0x138)]<this['_payloadLength']){this[_0x2320bd(0x284)]=!0x1;return;}_0x467d95=this[_0x2320bd(0x209)](this[_0x2320bd(0x236)]),this[_0x2320bd(0x294)]&&(this[_0x2320bd(0x1d0)][0x0]|this[_0x2320bd(0x1d0)][0x1]|this[_0x2320bd(0x1d0)][0x2]|this[_0x2320bd(0x1d0)][0x3])!==0x0&&_0x406597(_0x467d95,this[_0x2320bd(0x1d0)]);}if(this[_0x2320bd(0x2a4)]>0x7){this[_0x2320bd(0x241)](_0x467d95,_0x1e7044);return;}if(this[_0x2320bd(0x1c2)]){this[_0x2320bd(0x24f)]=_0x1c319f,this[_0x2320bd(0x1fc)](_0x467d95,_0x1e7044);return;}_0x467d95['length']&&(this[_0x2320bd(0x272)]=this[_0x2320bd(0x2b3)],this[_0x2320bd(0x289)][_0x2320bd(0x18d)](_0x467d95)),this[_0x2320bd(0x14f)](_0x1e7044);}[_0x4b4d95(0x1fc)](_0x330c01,_0x4dc00e){const _0x1de19f=_0x4b4d95;this['_extensions'][_0x3a0806[_0x1de19f(0x1a9)]]['decompress'](_0x330c01,this[_0x1de19f(0x151)],(_0x4deda8,_0x5003f5)=>{const _0x174b19=_0x1de19f;if(_0x4deda8)return _0x4dc00e(_0x4deda8);if(_0x5003f5[_0x174b19(0x2bb)]){if(this[_0x174b19(0x272)]+=_0x5003f5[_0x174b19(0x2bb)],this[_0x174b19(0x272)]>this[_0x174b19(0x273)]&&this['_maxPayload']>0x0){const _0xb5a573=this[_0x174b19(0x239)](RangeError,_0x174b19(0x24b),!0x1,0x3f1,_0x174b19(0x1bd));_0x4dc00e(_0xb5a573);return;}this[_0x174b19(0x289)][_0x174b19(0x18d)](_0x5003f5);}this[_0x174b19(0x14f)](_0x4dc00e),this['_state']===_0x3cae6d&&this[_0x174b19(0x187)](_0x4dc00e);});}[_0x4b4d95(0x14f)](_0x5cde85){const _0x32e64b=_0x4b4d95;if(!this[_0x32e64b(0x151)]){this[_0x32e64b(0x24f)]=_0x3cae6d;return;}const _0x541388=this[_0x32e64b(0x272)],_0x571bcf=this[_0x32e64b(0x289)];if(this[_0x32e64b(0x2b3)]=0x0,this['_messageLength']=0x0,this[_0x32e64b(0x1f3)]=0x0,this[_0x32e64b(0x289)]=[],this[_0x32e64b(0x2a4)]===0x2){let _0x3981bc;this[_0x32e64b(0x22e)]===_0x32e64b(0x211)?_0x3981bc=_0x20c207(_0x571bcf,_0x541388):this[_0x32e64b(0x22e)]==='arraybuffer'?_0x3981bc=_0xbe9898(_0x20c207(_0x571bcf,_0x541388)):this[_0x32e64b(0x22e)]==='blob'?_0x3981bc=new Blob(_0x571bcf):_0x3981bc=_0x571bcf,this[_0x32e64b(0x164)]?(this[_0x32e64b(0x1b6)](_0x32e64b(0x295),_0x3981bc,!0x0),this[_0x32e64b(0x24f)]=_0x3cae6d):(this[_0x32e64b(0x24f)]=_0x590313,setImmediate(()=>{const _0x4107eb=_0x32e64b;this[_0x4107eb(0x1b6)](_0x4107eb(0x295),_0x3981bc,!0x0),this[_0x4107eb(0x24f)]=_0x3cae6d,this['startLoop'](_0x5cde85);}));}else{const _0x37b25a=_0x20c207(_0x571bcf,_0x541388);if(!this[_0x32e64b(0x1d4)]&&!_0x12a57d(_0x37b25a)){const _0x4740a2=this[_0x32e64b(0x239)](Error,_0x32e64b(0x1e5),!0x0,0x3ef,_0x32e64b(0x1fb));_0x5cde85(_0x4740a2);return;}this['_state']===_0x1c319f||this[_0x32e64b(0x164)]?(this['emit']('message',_0x37b25a,!0x1),this[_0x32e64b(0x24f)]=_0x3cae6d):(this['_state']=_0x590313,setImmediate(()=>{const _0x3dd1f0=_0x32e64b;this[_0x3dd1f0(0x1b6)](_0x3dd1f0(0x295),_0x37b25a,!0x1),this[_0x3dd1f0(0x24f)]=_0x3cae6d,this[_0x3dd1f0(0x187)](_0x5cde85);}));}}[_0x4b4d95(0x241)](_0x355080,_0x32a645){const _0x1f7075=_0x4b4d95;if(this[_0x1f7075(0x2a4)]===0x8){if(_0x355080[_0x1f7075(0x2bb)]===0x0)this[_0x1f7075(0x284)]=!0x1,this[_0x1f7075(0x1b6)](_0x1f7075(0x166),0x3ed,_0x13e704),this['end']();else{const _0x162c7d=_0x355080['readUInt16BE'](0x0);if(!_0x264b36(_0x162c7d)){const _0x1ec94a=this[_0x1f7075(0x239)](RangeError,'invalid\x20status\x20code\x20'+_0x162c7d,!0x0,0x3ea,_0x1f7075(0x264));_0x32a645(_0x1ec94a);return;}const _0x774c64=new _0x26d568(_0x355080[_0x1f7075(0x1bf)],_0x355080[_0x1f7075(0x179)]+0x2,_0x355080[_0x1f7075(0x2bb)]-0x2);if(!this['_skipUTF8Validation']&&!_0x12a57d(_0x774c64)){const _0x7954ee=this['createError'](Error,_0x1f7075(0x1e5),!0x0,0x3ef,_0x1f7075(0x1fb));_0x32a645(_0x7954ee);return;}this[_0x1f7075(0x284)]=!0x1,this[_0x1f7075(0x1b6)](_0x1f7075(0x166),_0x162c7d,_0x774c64),this[_0x1f7075(0x2d2)]();}this['_state']=_0x3cae6d;return;}this[_0x1f7075(0x164)]?(this[_0x1f7075(0x1b6)](this['_opcode']===0x9?_0x1f7075(0x220):_0x1f7075(0x1da),_0x355080),this[_0x1f7075(0x24f)]=_0x3cae6d):(this[_0x1f7075(0x24f)]=_0x590313,setImmediate(()=>{const _0x3e83f6=_0x1f7075;this['emit'](this[_0x3e83f6(0x2a4)]===0x9?_0x3e83f6(0x220):'pong',_0x355080),this[_0x3e83f6(0x24f)]=_0x3cae6d,this['startLoop'](_0x32a645);}));}['createError'](_0x598f7b,_0x49c17b,_0x440d66,_0x43ab2e,_0x4ff4e0){const _0x3ec584=_0x4b4d95;this[_0x3ec584(0x284)]=!0x1,this[_0x3ec584(0x197)]=!0x0;const _0x1e77fd=new _0x598f7b(_0x440d66?_0x3ec584(0x15a)+_0x49c17b:_0x49c17b);return Error[_0x3ec584(0x198)](_0x1e77fd,this[_0x3ec584(0x239)]),_0x1e77fd['code']=_0x4ff4e0,_0x1e77fd[_0x42e642]=_0x43ab2e,_0x1e77fd;}}return Se=_0x28d688,Se;}var Ee,et;function _t(){const _0x500713=_0x499823;if(et)return Ee;et=0x1;const {Duplex:_0x4d1481}=_0x263b4e,{randomFillSync:_0x510e01}=_0xab02dc,_0x1e4c2d=he(),{EMPTY_BUFFER:_0x61886,kWebSocket:_0x2b559a,NOOP:_0x2ce9ea}=V(),{isBlob:_0x528384,isValidStatusCode:_0x2d419e}=ne(),{mask:_0x3632c5,toBuffer:_0x1cfcef}=ce(),_0x3a0d07=Symbol(_0x500713(0x2ca)),_0x587c33=Buffer['alloc'](0x4),_0x3a43af=0x8*0x400;let _0x4ee00a,_0x58647f=_0x3a43af;const _0x47e995=0x0,_0x279737=0x1,_0x1166ad=0x2;class _0x2dd855{constructor(_0x2b22de,_0x229b0d,_0x5ed7dd){const _0x1dddea=_0x500713;this[_0x1dddea(0x16b)]=_0x229b0d||{},_0x5ed7dd&&(this[_0x1dddea(0x18b)]=_0x5ed7dd,this['_maskBuffer']=Buffer[_0x1dddea(0x280)](0x4)),this['_socket']=_0x2b22de,this[_0x1dddea(0x18f)]=!0x0,this[_0x1dddea(0x21c)]=!0x1,this[_0x1dddea(0x138)]=0x0,this[_0x1dddea(0x2ce)]=[],this[_0x1dddea(0x24f)]=_0x47e995,this[_0x1dddea(0x1cd)]=_0x2ce9ea,this[_0x2b559a]=void 0x0;}static[_0x500713(0x28a)](_0x573be2,_0x23bb5c){const _0x3f7a43=_0x500713;let _0x6f551,_0x86a72d=!0x1,_0x2f5ceb=0x2,_0xd22ceb=!0x1;_0x23bb5c['mask']&&(_0x6f551=_0x23bb5c[_0x3f7a43(0x2d6)]||_0x587c33,_0x23bb5c[_0x3f7a43(0x243)]?_0x23bb5c['generateMask'](_0x6f551):(_0x58647f===_0x3a43af&&(_0x4ee00a===void 0x0&&(_0x4ee00a=Buffer[_0x3f7a43(0x280)](_0x3a43af)),_0x510e01(_0x4ee00a,0x0,_0x3a43af),_0x58647f=0x0),_0x6f551[0x0]=_0x4ee00a[_0x58647f++],_0x6f551[0x1]=_0x4ee00a[_0x58647f++],_0x6f551[0x2]=_0x4ee00a[_0x58647f++],_0x6f551[0x3]=_0x4ee00a[_0x58647f++]),_0xd22ceb=(_0x6f551[0x0]|_0x6f551[0x1]|_0x6f551[0x2]|_0x6f551[0x3])===0x0,_0x2f5ceb=0x6);let _0x41ab9d;typeof _0x573be2==_0x3f7a43(0x18a)?(!_0x23bb5c[_0x3f7a43(0x1a0)]||_0xd22ceb)&&_0x23bb5c[_0x3a0d07]!==void 0x0?_0x41ab9d=_0x23bb5c[_0x3a0d07]:(_0x573be2=Buffer['from'](_0x573be2),_0x41ab9d=_0x573be2['length']):(_0x41ab9d=_0x573be2[_0x3f7a43(0x2bb)],_0x86a72d=_0x23bb5c[_0x3f7a43(0x1a0)]&&_0x23bb5c[_0x3f7a43(0x271)]&&!_0xd22ceb);let _0x32e422=_0x41ab9d;_0x41ab9d>=0x10000?(_0x2f5ceb+=0x8,_0x32e422=0x7f):_0x41ab9d>0x7d&&(_0x2f5ceb+=0x2,_0x32e422=0x7e);const _0x7943bd=Buffer[_0x3f7a43(0x2b8)](_0x86a72d?_0x41ab9d+_0x2f5ceb:_0x2f5ceb);return _0x7943bd[0x0]=_0x23bb5c[_0x3f7a43(0x2d0)]?_0x23bb5c[_0x3f7a43(0x246)]|0x80:_0x23bb5c[_0x3f7a43(0x246)],_0x23bb5c[_0x3f7a43(0x16a)]&&(_0x7943bd[0x0]|=0x40),_0x7943bd[0x1]=_0x32e422,_0x32e422===0x7e?_0x7943bd[_0x3f7a43(0x19f)](_0x41ab9d,0x2):_0x32e422===0x7f&&(_0x7943bd[0x2]=_0x7943bd[0x3]=0x0,_0x7943bd[_0x3f7a43(0x1dc)](_0x41ab9d,0x4,0x6)),_0x23bb5c[_0x3f7a43(0x1a0)]?(_0x7943bd[0x1]|=0x80,_0x7943bd[_0x2f5ceb-0x4]=_0x6f551[0x0],_0x7943bd[_0x2f5ceb-0x3]=_0x6f551[0x1],_0x7943bd[_0x2f5ceb-0x2]=_0x6f551[0x2],_0x7943bd[_0x2f5ceb-0x1]=_0x6f551[0x3],_0xd22ceb?[_0x7943bd,_0x573be2]:_0x86a72d?(_0x3632c5(_0x573be2,_0x6f551,_0x7943bd,_0x2f5ceb,_0x41ab9d),[_0x7943bd]):(_0x3632c5(_0x573be2,_0x6f551,_0x573be2,0x0,_0x41ab9d),[_0x7943bd,_0x573be2])):[_0x7943bd,_0x573be2];}['close'](_0x1391b4,_0x35e61b,_0x1c7b8e,_0x275b6d){const _0x42c4f6=_0x500713;let _0x50955a;if(_0x1391b4===void 0x0)_0x50955a=_0x61886;else{if(typeof _0x1391b4!='number'||!_0x2d419e(_0x1391b4))throw new TypeError(_0x42c4f6(0x173));if(_0x35e61b===void 0x0||!_0x35e61b[_0x42c4f6(0x2bb)])_0x50955a=Buffer[_0x42c4f6(0x2b8)](0x2),_0x50955a[_0x42c4f6(0x19f)](_0x1391b4,0x0);else{const _0x44fe02=Buffer[_0x42c4f6(0x21e)](_0x35e61b);if(_0x44fe02>0x7b)throw new RangeError(_0x42c4f6(0x1cc));_0x50955a=Buffer['allocUnsafe'](0x2+_0x44fe02),_0x50955a[_0x42c4f6(0x19f)](_0x1391b4,0x0),typeof _0x35e61b==_0x42c4f6(0x18a)?_0x50955a[_0x42c4f6(0x20a)](_0x35e61b,0x2):_0x50955a['set'](_0x35e61b,0x2);}}const _0x609b1={[_0x3a0d07]:_0x50955a[_0x42c4f6(0x2bb)],'fin':!0x0,'generateMask':this[_0x42c4f6(0x18b)],'mask':_0x1c7b8e,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x42c4f6(0x24f)]!==_0x47e995?this['enqueue']([this[_0x42c4f6(0x1a5)],_0x50955a,!0x1,_0x609b1,_0x275b6d]):this[_0x42c4f6(0x14c)](_0x2dd855[_0x42c4f6(0x28a)](_0x50955a,_0x609b1),_0x275b6d);}[_0x500713(0x220)](_0x11066e,_0x464784,_0x472fb5){const _0x4c6d17=_0x500713;let _0x4a9099,_0x424791;if(typeof _0x11066e==_0x4c6d17(0x18a)?(_0x4a9099=Buffer[_0x4c6d17(0x21e)](_0x11066e),_0x424791=!0x1):_0x528384(_0x11066e)?(_0x4a9099=_0x11066e[_0x4c6d17(0x1ef)],_0x424791=!0x1):(_0x11066e=_0x1cfcef(_0x11066e),_0x4a9099=_0x11066e[_0x4c6d17(0x2bb)],_0x424791=_0x1cfcef['readOnly']),_0x4a9099>0x7d)throw new RangeError(_0x4c6d17(0x255));const _0x5dcacd={[_0x3a0d07]:_0x4a9099,'fin':!0x0,'generateMask':this[_0x4c6d17(0x18b)],'mask':_0x464784,'maskBuffer':this[_0x4c6d17(0x19e)],'opcode':0x9,'readOnly':_0x424791,'rsv1':!0x1};_0x528384(_0x11066e)?this[_0x4c6d17(0x24f)]!==_0x47e995?this[_0x4c6d17(0x25e)]([this[_0x4c6d17(0x174)],_0x11066e,!0x1,_0x5dcacd,_0x472fb5]):this['getBlobData'](_0x11066e,!0x1,_0x5dcacd,_0x472fb5):this[_0x4c6d17(0x24f)]!==_0x47e995?this[_0x4c6d17(0x25e)]([this[_0x4c6d17(0x1a5)],_0x11066e,!0x1,_0x5dcacd,_0x472fb5]):this[_0x4c6d17(0x14c)](_0x2dd855[_0x4c6d17(0x28a)](_0x11066e,_0x5dcacd),_0x472fb5);}[_0x500713(0x1da)](_0x318540,_0x41a6bc,_0x158bac){const _0x32b60d=_0x500713;let _0x471793,_0x109215;if(typeof _0x318540==_0x32b60d(0x18a)?(_0x471793=Buffer[_0x32b60d(0x21e)](_0x318540),_0x109215=!0x1):_0x528384(_0x318540)?(_0x471793=_0x318540[_0x32b60d(0x1ef)],_0x109215=!0x1):(_0x318540=_0x1cfcef(_0x318540),_0x471793=_0x318540[_0x32b60d(0x2bb)],_0x109215=_0x1cfcef[_0x32b60d(0x271)]),_0x471793>0x7d)throw new RangeError(_0x32b60d(0x255));const _0x4560d7={[_0x3a0d07]:_0x471793,'fin':!0x0,'generateMask':this[_0x32b60d(0x18b)],'mask':_0x41a6bc,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x109215,'rsv1':!0x1};_0x528384(_0x318540)?this['_state']!==_0x47e995?this[_0x32b60d(0x25e)]([this[_0x32b60d(0x174)],_0x318540,!0x1,_0x4560d7,_0x158bac]):this['getBlobData'](_0x318540,!0x1,_0x4560d7,_0x158bac):this[_0x32b60d(0x24f)]!==_0x47e995?this[_0x32b60d(0x25e)]([this[_0x32b60d(0x1a5)],_0x318540,!0x1,_0x4560d7,_0x158bac]):this[_0x32b60d(0x14c)](_0x2dd855[_0x32b60d(0x28a)](_0x318540,_0x4560d7),_0x158bac);}[_0x500713(0x293)](_0x102c9c,_0x53e758,_0x2a913e){const _0xd97ebd=_0x500713,_0x45c305=this[_0xd97ebd(0x16b)][_0x1e4c2d['extensionName']];let _0xc26131=_0x53e758[_0xd97ebd(0x1ac)]?0x2:0x1,_0x3b0517=_0x53e758[_0xd97ebd(0x254)],_0x593c0d,_0xe59ef5;typeof _0x102c9c=='string'?(_0x593c0d=Buffer[_0xd97ebd(0x21e)](_0x102c9c),_0xe59ef5=!0x1):_0x528384(_0x102c9c)?(_0x593c0d=_0x102c9c[_0xd97ebd(0x1ef)],_0xe59ef5=!0x1):(_0x102c9c=_0x1cfcef(_0x102c9c),_0x593c0d=_0x102c9c[_0xd97ebd(0x2bb)],_0xe59ef5=_0x1cfcef[_0xd97ebd(0x271)]),this[_0xd97ebd(0x18f)]?(this[_0xd97ebd(0x18f)]=!0x1,_0x3b0517&&_0x45c305&&_0x45c305[_0xd97ebd(0x2db)][_0x45c305[_0xd97ebd(0x2cf)]?_0xd97ebd(0x1fe):_0xd97ebd(0x23c)]&&(_0x3b0517=_0x593c0d>=_0x45c305['_threshold']),this[_0xd97ebd(0x21c)]=_0x3b0517):(_0x3b0517=!0x1,_0xc26131=0x0),_0x53e758[_0xd97ebd(0x2d0)]&&(this[_0xd97ebd(0x18f)]=!0x0);const _0x5e765f={[_0x3a0d07]:_0x593c0d,'fin':_0x53e758['fin'],'generateMask':this[_0xd97ebd(0x18b)],'mask':_0x53e758[_0xd97ebd(0x1a0)],'maskBuffer':this['_maskBuffer'],'opcode':_0xc26131,'readOnly':_0xe59ef5,'rsv1':_0x3b0517};_0x528384(_0x102c9c)?this[_0xd97ebd(0x24f)]!==_0x47e995?this['enqueue']([this['getBlobData'],_0x102c9c,this[_0xd97ebd(0x21c)],_0x5e765f,_0x2a913e]):this['getBlobData'](_0x102c9c,this[_0xd97ebd(0x21c)],_0x5e765f,_0x2a913e):this['_state']!==_0x47e995?this[_0xd97ebd(0x25e)]([this[_0xd97ebd(0x1a5)],_0x102c9c,this['_compress'],_0x5e765f,_0x2a913e]):this['dispatch'](_0x102c9c,this[_0xd97ebd(0x21c)],_0x5e765f,_0x2a913e);}[_0x500713(0x174)](_0x5d2274,_0x3696d9,_0x3d2d78,_0x522e1c){const _0x3f0831=_0x500713;this[_0x3f0831(0x138)]+=_0x3d2d78[_0x3a0d07],this[_0x3f0831(0x24f)]=_0x1166ad,_0x5d2274['arrayBuffer']()[_0x3f0831(0x156)](_0x1b7a20=>{const _0x5e6b4c=_0x3f0831;if(this[_0x5e6b4c(0x1f0)]['destroyed']){const _0x4635a4=new Error(_0x5e6b4c(0x149));process[_0x5e6b4c(0x1c6)](_0x2d2e50,this,_0x4635a4,_0x522e1c);return;}this[_0x5e6b4c(0x138)]-=_0x3d2d78[_0x3a0d07];const _0x14a14e=_0x1cfcef(_0x1b7a20);_0x3696d9?this[_0x5e6b4c(0x1a5)](_0x14a14e,_0x3696d9,_0x3d2d78,_0x522e1c):(this[_0x5e6b4c(0x24f)]=_0x47e995,this['sendFrame'](_0x2dd855['frame'](_0x14a14e,_0x3d2d78),_0x522e1c),this[_0x5e6b4c(0x1e0)]());})[_0x3f0831(0x286)](_0x3c8e1b=>{const _0x176999=_0x3f0831;process[_0x176999(0x1c6)](_0x464e08,this,_0x3c8e1b,_0x522e1c);});}[_0x500713(0x1a5)](_0x1bd1c7,_0x289372,_0x3a11b4,_0x491840){const _0x2729a8=_0x500713;if(!_0x289372){this[_0x2729a8(0x14c)](_0x2dd855[_0x2729a8(0x28a)](_0x1bd1c7,_0x3a11b4),_0x491840);return;}const _0x3b108f=this[_0x2729a8(0x16b)][_0x1e4c2d[_0x2729a8(0x1a9)]];this[_0x2729a8(0x138)]+=_0x3a11b4[_0x3a0d07],this[_0x2729a8(0x24f)]=_0x279737,_0x3b108f[_0x2729a8(0x254)](_0x1bd1c7,_0x3a11b4[_0x2729a8(0x2d0)],(_0x5071c7,_0x32d118)=>{const _0x22460b=_0x2729a8;if(this['_socket'][_0x22460b(0x17d)]){const _0x2d2966=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x2d2e50(this,_0x2d2966,_0x491840);return;}this['_bufferedBytes']-=_0x3a11b4[_0x3a0d07],this[_0x22460b(0x24f)]=_0x47e995,_0x3a11b4[_0x22460b(0x271)]=!0x1,this[_0x22460b(0x14c)](_0x2dd855[_0x22460b(0x28a)](_0x32d118,_0x3a11b4),_0x491840),this['dequeue']();});}[_0x500713(0x1e0)](){const _0x2bc07e=_0x500713;for(;this[_0x2bc07e(0x24f)]===_0x47e995&&this['_queue']['length'];){const _0x1db539=this[_0x2bc07e(0x2ce)][_0x2bc07e(0x1f2)]();this['_bufferedBytes']-=_0x1db539[0x3][_0x3a0d07],Reflect[_0x2bc07e(0x1ce)](_0x1db539[0x0],this,_0x1db539[_0x2bc07e(0x150)](0x1));}}[_0x500713(0x25e)](_0x43db43){const _0x3aff5b=_0x500713;this[_0x3aff5b(0x138)]+=_0x43db43[0x3][_0x3a0d07],this['_queue']['push'](_0x43db43);}[_0x500713(0x14c)](_0x4838f0,_0x4b80d4){const _0x1575c5=_0x500713;_0x4838f0['length']===0x2?(this['_socket'][_0x1575c5(0x17b)](),this[_0x1575c5(0x1f0)][_0x1575c5(0x20a)](_0x4838f0[0x0]),this[_0x1575c5(0x1f0)][_0x1575c5(0x20a)](_0x4838f0[0x1],_0x4b80d4),this['_socket'][_0x1575c5(0x215)]()):this[_0x1575c5(0x1f0)]['write'](_0x4838f0[0x0],_0x4b80d4);}}Ee=_0x2dd855;function _0x2d2e50(_0x4cf7ec,_0x68895f,_0x4c0bc2){const _0x72d251=_0x500713;typeof _0x4c0bc2==_0x72d251(0x1ab)&&_0x4c0bc2(_0x68895f);for(let _0x2d3052=0x0;_0x2d3052<_0x4cf7ec[_0x72d251(0x2ce)][_0x72d251(0x2bb)];_0x2d3052++){const _0x3b77be=_0x4cf7ec[_0x72d251(0x2ce)][_0x2d3052],_0x4a583f=_0x3b77be[_0x3b77be['length']-0x1];typeof _0x4a583f==_0x72d251(0x1ab)&&_0x4a583f(_0x68895f);}}function _0x464e08(_0x33b715,_0x15f9ae,_0x3afd59){const _0x14931c=_0x500713;_0x2d2e50(_0x33b715,_0x15f9ae,_0x3afd59),_0x33b715[_0x14931c(0x1cd)](_0x15f9ae);}return Ee;}var xe,tt;function Kt(){const _0x56369b=_0x499823;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x5b03fe,kListener:_0x3879c8}=V(),_0x28ba83=Symbol(_0x56369b(0x2c1)),_0x201a29=Symbol(_0x56369b(0x1f6)),_0x58ccd6=Symbol(_0x56369b(0x148)),_0x449f19=Symbol(_0x56369b(0x20e)),_0x11832c=Symbol('kReason'),_0x5e4fa6=Symbol('kTarget'),_0x13b3e4=Symbol(_0x56369b(0x1dd)),_0x27b8f6=Symbol(_0x56369b(0x175));class _0x85640c{constructor(_0x1975f5){this[_0x5e4fa6]=null,this[_0x13b3e4]=_0x1975f5;}get['target'](){return this[_0x5e4fa6];}get[_0x56369b(0x19d)](){return this[_0x13b3e4];}}Object[_0x56369b(0x26b)](_0x85640c[_0x56369b(0x238)],'target',{'enumerable':!0x0}),Object['defineProperty'](_0x85640c['prototype'],_0x56369b(0x19d),{'enumerable':!0x0});class _0x3c40f6 extends _0x85640c{constructor(_0x3f1961,_0x54ac33={}){const _0x257a8c=_0x56369b;super(_0x3f1961),this[_0x28ba83]=_0x54ac33['code']===void 0x0?0x0:_0x54ac33['code'],this[_0x11832c]=_0x54ac33[_0x257a8c(0x29a)]===void 0x0?'':_0x54ac33[_0x257a8c(0x29a)],this[_0x27b8f6]=_0x54ac33[_0x257a8c(0x163)]===void 0x0?!0x1:_0x54ac33['wasClean'];}get[_0x56369b(0x27c)](){return this[_0x28ba83];}get[_0x56369b(0x29a)](){return this[_0x11832c];}get[_0x56369b(0x163)](){return this[_0x27b8f6];}}Object[_0x56369b(0x26b)](_0x3c40f6[_0x56369b(0x238)],_0x56369b(0x27c),{'enumerable':!0x0}),Object['defineProperty'](_0x3c40f6[_0x56369b(0x238)],'reason',{'enumerable':!0x0}),Object[_0x56369b(0x26b)](_0x3c40f6[_0x56369b(0x238)],_0x56369b(0x163),{'enumerable':!0x0});class _0x47ca1e extends _0x85640c{constructor(_0x2401f5,_0x15af99={}){const _0x47dab2=_0x56369b;super(_0x2401f5),this[_0x58ccd6]=_0x15af99[_0x47dab2(0x267)]===void 0x0?null:_0x15af99['error'],this[_0x449f19]=_0x15af99[_0x47dab2(0x295)]===void 0x0?'':_0x15af99[_0x47dab2(0x295)];}get['error'](){return this[_0x58ccd6];}get[_0x56369b(0x295)](){return this[_0x449f19];}}Object['defineProperty'](_0x47ca1e[_0x56369b(0x238)],_0x56369b(0x267),{'enumerable':!0x0}),Object[_0x56369b(0x26b)](_0x47ca1e[_0x56369b(0x238)],_0x56369b(0x295),{'enumerable':!0x0});class _0x2b8719 extends _0x85640c{constructor(_0x5e5e46,_0xd8b03a={}){const _0x454367=_0x56369b;super(_0x5e5e46),this[_0x201a29]=_0xd8b03a[_0x454367(0x205)]===void 0x0?null:_0xd8b03a[_0x454367(0x205)];}get[_0x56369b(0x205)](){return this[_0x201a29];}}Object[_0x56369b(0x26b)](_0x2b8719[_0x56369b(0x238)],_0x56369b(0x205),{'enumerable':!0x0}),xe={'CloseEvent':_0x3c40f6,'ErrorEvent':_0x47ca1e,'Event':_0x85640c,'EventTarget':{'addEventListener'(_0x1f833f,_0x201604,_0x2e0236={}){const _0x2779f8=_0x56369b;for(const _0x54d961 of this[_0x2779f8(0x275)](_0x1f833f))if(!_0x2e0236[_0x5b03fe]&&_0x54d961[_0x3879c8]===_0x201604&&!_0x54d961[_0x5b03fe])return;let _0x56ab09;if(_0x1f833f===_0x2779f8(0x295))_0x56ab09=function(_0x38c33c,_0x1e47ae){const _0x2080fa=_0x2779f8,_0xab727f=new _0x2b8719(_0x2080fa(0x295),{'data':_0x1e47ae?_0x38c33c:_0x38c33c[_0x2080fa(0x1e7)]()});_0xab727f[_0x5e4fa6]=this,_0x391d62(_0x201604,this,_0xab727f);};else{if(_0x1f833f===_0x2779f8(0x1e6))_0x56ab09=function(_0x429840,_0x3cc4ec){const _0x290b5d=_0x2779f8,_0x4c4737=new _0x3c40f6(_0x290b5d(0x1e6),{'code':_0x429840,'reason':_0x3cc4ec[_0x290b5d(0x1e7)](),'wasClean':this[_0x290b5d(0x2e0)]&&this[_0x290b5d(0x224)]});_0x4c4737[_0x5e4fa6]=this,_0x391d62(_0x201604,this,_0x4c4737);};else{if(_0x1f833f===_0x2779f8(0x267))_0x56ab09=function(_0x4e1b69){const _0x2a05a0=_0x2779f8,_0x3856e1=new _0x47ca1e(_0x2a05a0(0x267),{'error':_0x4e1b69,'message':_0x4e1b69[_0x2a05a0(0x295)]});_0x3856e1[_0x5e4fa6]=this,_0x391d62(_0x201604,this,_0x3856e1);};else{if(_0x1f833f==='open')_0x56ab09=function(){const _0x83f77c=_0x2779f8,_0x4f7e94=new _0x85640c(_0x83f77c(0x206));_0x4f7e94[_0x5e4fa6]=this,_0x391d62(_0x201604,this,_0x4f7e94);};else return;}}}_0x56ab09[_0x5b03fe]=!!_0x2e0236[_0x5b03fe],_0x56ab09[_0x3879c8]=_0x201604,_0x2e0236[_0x2779f8(0x26a)]?this['once'](_0x1f833f,_0x56ab09):this['on'](_0x1f833f,_0x56ab09);},'removeEventListener'(_0x141ec5,_0x2e7653){const _0x525608=_0x56369b;for(const _0xde2d53 of this[_0x525608(0x275)](_0x141ec5))if(_0xde2d53[_0x3879c8]===_0x2e7653&&!_0xde2d53[_0x5b03fe]){this[_0x525608(0x1be)](_0x141ec5,_0xde2d53);break;}}},'MessageEvent':_0x2b8719};function _0x391d62(_0x384320,_0x4a598f,_0x7f7e13){const _0x2b765d=_0x56369b;typeof _0x384320=='object'&&_0x384320[_0x2b765d(0x1d6)]?_0x384320[_0x2b765d(0x1d6)][_0x2b765d(0x15d)](_0x384320,_0x7f7e13):_0x384320['call'](_0x4a598f,_0x7f7e13);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x11aa0a}=ne();function _0x49bf7f(_0x1c3d73,_0x48a8f0,_0x2a1e80){const _0x5824e3=_0x3bf5;_0x1c3d73[_0x48a8f0]===void 0x0?_0x1c3d73[_0x48a8f0]=[_0x2a1e80]:_0x1c3d73[_0x48a8f0][_0x5824e3(0x18d)](_0x2a1e80);}function _0x261575(_0x384c4e){const _0x3dd971=_0x3bf5,_0x55bab4=Object[_0x3dd971(0x1e3)](null);let _0x3be323=Object[_0x3dd971(0x1e3)](null),_0x58a296=!0x1,_0x841e6=!0x1,_0x47926d=!0x1,_0x43775d,_0x7b529e,_0x872915=-0x1,_0x75e1d2=-0x1,_0x55cdbb=-0x1,_0x1be8f9=0x0;for(;_0x1be8f9<_0x384c4e[_0x3dd971(0x2bb)];_0x1be8f9++)if(_0x75e1d2=_0x384c4e[_0x3dd971(0x2b4)](_0x1be8f9),_0x43775d===void 0x0){if(_0x55cdbb===-0x1&&_0x11aa0a[_0x75e1d2]===0x1)_0x872915===-0x1&&(_0x872915=_0x1be8f9);else{if(_0x1be8f9!==0x0&&(_0x75e1d2===0x20||_0x75e1d2===0x9))_0x55cdbb===-0x1&&_0x872915!==-0x1&&(_0x55cdbb=_0x1be8f9);else{if(_0x75e1d2===0x3b||_0x75e1d2===0x2c){if(_0x872915===-0x1)throw new SyntaxError(_0x3dd971(0x1a6)+_0x1be8f9);_0x55cdbb===-0x1&&(_0x55cdbb=_0x1be8f9);const _0x41dcd3=_0x384c4e[_0x3dd971(0x150)](_0x872915,_0x55cdbb);_0x75e1d2===0x2c?(_0x49bf7f(_0x55bab4,_0x41dcd3,_0x3be323),_0x3be323=Object['create'](null)):_0x43775d=_0x41dcd3,_0x872915=_0x55cdbb=-0x1;}else throw new SyntaxError(_0x3dd971(0x1a6)+_0x1be8f9);}}}else{if(_0x7b529e===void 0x0){if(_0x55cdbb===-0x1&&_0x11aa0a[_0x75e1d2]===0x1)_0x872915===-0x1&&(_0x872915=_0x1be8f9);else{if(_0x75e1d2===0x20||_0x75e1d2===0x9)_0x55cdbb===-0x1&&_0x872915!==-0x1&&(_0x55cdbb=_0x1be8f9);else{if(_0x75e1d2===0x3b||_0x75e1d2===0x2c){if(_0x872915===-0x1)throw new SyntaxError(_0x3dd971(0x1a6)+_0x1be8f9);_0x55cdbb===-0x1&&(_0x55cdbb=_0x1be8f9),_0x49bf7f(_0x3be323,_0x384c4e[_0x3dd971(0x150)](_0x872915,_0x55cdbb),!0x0),_0x75e1d2===0x2c&&(_0x49bf7f(_0x55bab4,_0x43775d,_0x3be323),_0x3be323=Object[_0x3dd971(0x1e3)](null),_0x43775d=void 0x0),_0x872915=_0x55cdbb=-0x1;}else{if(_0x75e1d2===0x3d&&_0x872915!==-0x1&&_0x55cdbb===-0x1)_0x7b529e=_0x384c4e[_0x3dd971(0x150)](_0x872915,_0x1be8f9),_0x872915=_0x55cdbb=-0x1;else throw new SyntaxError(_0x3dd971(0x1a6)+_0x1be8f9);}}}}else{if(_0x841e6){if(_0x11aa0a[_0x75e1d2]!==0x1)throw new SyntaxError(_0x3dd971(0x1a6)+_0x1be8f9);_0x872915===-0x1?_0x872915=_0x1be8f9:_0x58a296||(_0x58a296=!0x0),_0x841e6=!0x1;}else{if(_0x47926d){if(_0x11aa0a[_0x75e1d2]===0x1)_0x872915===-0x1&&(_0x872915=_0x1be8f9);else{if(_0x75e1d2===0x22&&_0x872915!==-0x1)_0x47926d=!0x1,_0x55cdbb=_0x1be8f9;else{if(_0x75e1d2===0x5c)_0x841e6=!0x0;else throw new SyntaxError(_0x3dd971(0x1a6)+_0x1be8f9);}}}else{if(_0x75e1d2===0x22&&_0x384c4e[_0x3dd971(0x2b4)](_0x1be8f9-0x1)===0x3d)_0x47926d=!0x0;else{if(_0x55cdbb===-0x1&&_0x11aa0a[_0x75e1d2]===0x1)_0x872915===-0x1&&(_0x872915=_0x1be8f9);else{if(_0x872915!==-0x1&&(_0x75e1d2===0x20||_0x75e1d2===0x9))_0x55cdbb===-0x1&&(_0x55cdbb=_0x1be8f9);else{if(_0x75e1d2===0x3b||_0x75e1d2===0x2c){if(_0x872915===-0x1)throw new SyntaxError(_0x3dd971(0x1a6)+_0x1be8f9);_0x55cdbb===-0x1&&(_0x55cdbb=_0x1be8f9);let _0x1a3f1d=_0x384c4e[_0x3dd971(0x150)](_0x872915,_0x55cdbb);_0x58a296&&(_0x1a3f1d=_0x1a3f1d[_0x3dd971(0x213)](/\\/g,''),_0x58a296=!0x1),_0x49bf7f(_0x3be323,_0x7b529e,_0x1a3f1d),_0x75e1d2===0x2c&&(_0x49bf7f(_0x55bab4,_0x43775d,_0x3be323),_0x3be323=Object[_0x3dd971(0x1e3)](null),_0x43775d=void 0x0),_0x7b529e=void 0x0,_0x872915=_0x55cdbb=-0x1;}else throw new SyntaxError(_0x3dd971(0x1a6)+_0x1be8f9);}}}}}}}if(_0x872915===-0x1||_0x47926d||_0x75e1d2===0x20||_0x75e1d2===0x9)throw new SyntaxError('Unexpected\x20end\x20of\x20input');_0x55cdbb===-0x1&&(_0x55cdbb=_0x1be8f9);const _0x53499a=_0x384c4e[_0x3dd971(0x150)](_0x872915,_0x55cdbb);return _0x43775d===void 0x0?_0x49bf7f(_0x55bab4,_0x53499a,_0x3be323):(_0x7b529e===void 0x0?_0x49bf7f(_0x3be323,_0x53499a,!0x0):_0x58a296?_0x49bf7f(_0x3be323,_0x7b529e,_0x53499a[_0x3dd971(0x213)](/\\/g,'')):_0x49bf7f(_0x3be323,_0x7b529e,_0x53499a),_0x49bf7f(_0x55bab4,_0x43775d,_0x3be323)),_0x55bab4;}function _0xbc2420(_0x5ab00e){const _0x49cf07=_0x3bf5;return Object['keys'](_0x5ab00e)[_0x49cf07(0x1db)](_0x1f9f0e=>{const _0x335d3c=_0x49cf07;let _0x1e43d6=_0x5ab00e[_0x1f9f0e];return Array[_0x335d3c(0x1af)](_0x1e43d6)||(_0x1e43d6=[_0x1e43d6]),_0x1e43d6['map'](_0x5a721c=>[_0x1f9f0e][_0x335d3c(0x2e1)](Object[_0x335d3c(0x1e9)](_0x5a721c)[_0x335d3c(0x1db)](_0x9dcdd4=>{const _0x1cee10=_0x335d3c;let _0x45443b=_0x5a721c[_0x9dcdd4];return Array[_0x1cee10(0x1af)](_0x45443b)||(_0x45443b=[_0x45443b]),_0x45443b[_0x1cee10(0x1db)](_0x4fd331=>_0x4fd331===!0x0?_0x9dcdd4:_0x9dcdd4+'='+_0x4fd331)['join'](';\x20');}))['join'](';\x20'))[_0x335d3c(0x1df)](',\x20');})[_0x49cf07(0x1df)](',\x20');}return be={'format':_0xbc2420,'parse':_0x261575},be;}var we,st;function Ie(){const _0x3c445c=_0x499823;if(st)return we;st=0x1;const _0x43a036=_0x4a14b5,_0x30257f=_0x3690c5,_0x42a08b=_0x5887c6,_0x4a71fa=_0x20bdad,_0x52e894=_0x5c7de9,{randomBytes:_0x2e1f30,createHash:_0x19003d}=_0xab02dc,{Duplex:_0x1d92cf,Readable:_0x199529}=_0x263b4e,{URL:_0x45df82}=_0x7543bf,_0x4a3586=he(),_0x5c9e19=dt(),_0x347032=_t(),{isBlob:_0x4bab30}=ne(),{BINARY_TYPES:_0x5c9fb5,EMPTY_BUFFER:_0x5900b9,GUID:_0x347078,kForOnEventAttribute:_0x4e9ac0,kListener:_0x58758e,kStatusCode:_0x48023d,kWebSocket:_0x521c5a,NOOP:_0xafa055}=V(),{EventTarget:{addEventListener:_0x4be594,removeEventListener:_0x436eca}}=Kt(),{format:_0x2975fc,parse:_0x149698}=pt(),{toBuffer:_0x2ce095}=ce(),_0x21b8c7=0x1e*0x3e8,_0x4c117f=Symbol('kAborted'),_0x5b4d3b=[0x8,0xd],_0x524e8f=[_0x3c445c(0x278),_0x3c445c(0x1ad),_0x3c445c(0x1fd),_0x3c445c(0x26f)],_0xb75cc0=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x79ed4a extends _0x43a036{constructor(_0x3f5b4a,_0x1c58bc,_0x227549){const _0x36136a=_0x3c445c;super(),this[_0x36136a(0x22e)]=_0x5c9fb5[0x0],this[_0x36136a(0x27f)]=0x3ee,this[_0x36136a(0x2e0)]=!0x1,this[_0x36136a(0x224)]=!0x1,this[_0x36136a(0x2c3)]=_0x5900b9,this[_0x36136a(0x23f)]=null,this[_0x36136a(0x298)]=!0x1,this['_extensions']={},this['_paused']=!0x1,this['_protocol']='',this['_readyState']=_0x79ed4a[_0x36136a(0x278)],this[_0x36136a(0x152)]=null,this[_0x36136a(0x24d)]=null,this[_0x36136a(0x1f0)]=null,_0x3f5b4a!==null?(this[_0x36136a(0x281)]=0x0,this[_0x36136a(0x2cf)]=!0x1,this[_0x36136a(0x194)]=0x0,_0x1c58bc===void 0x0?_0x1c58bc=[]:Array['isArray'](_0x1c58bc)||(typeof _0x1c58bc==_0x36136a(0x146)&&_0x1c58bc!==null?(_0x227549=_0x1c58bc,_0x1c58bc=[]):_0x1c58bc=[_0x1c58bc]),_0x1c0319(this,_0x3f5b4a,_0x1c58bc,_0x227549)):(this[_0x36136a(0x28f)]=_0x227549[_0x36136a(0x193)],this[_0x36136a(0x2cf)]=!0x0);}get[_0x3c445c(0x1b2)](){const _0x59bc9f=_0x3c445c;return this[_0x59bc9f(0x22e)];}set[_0x3c445c(0x1b2)](_0x17e12f){const _0x2fcb44=_0x3c445c;_0x5c9fb5[_0x2fcb44(0x1bb)](_0x17e12f)&&(this['_binaryType']=_0x17e12f,this[_0x2fcb44(0x152)]&&(this[_0x2fcb44(0x152)][_0x2fcb44(0x22e)]=_0x17e12f));}get['bufferedAmount'](){const _0x43e673=_0x3c445c;return this[_0x43e673(0x1f0)]?this[_0x43e673(0x1f0)][_0x43e673(0x1eb)]['length']+this['_sender'][_0x43e673(0x138)]:this['_bufferedAmount'];}get['extensions'](){const _0xd18166=_0x3c445c;return Object[_0xd18166(0x1e9)](this[_0xd18166(0x16b)])[_0xd18166(0x1df)]();}get['isPaused'](){const _0x538914=_0x3c445c;return this[_0x538914(0x136)];}get[_0x3c445c(0x232)](){return null;}get[_0x3c445c(0x1cd)](){return null;}get[_0x3c445c(0x1b0)](){return null;}get['onmessage'](){return null;}get[_0x3c445c(0x25c)](){return this['_protocol'];}get[_0x3c445c(0x25f)](){return this['_readyState'];}get[_0x3c445c(0x283)](){return this['_url'];}['setSocket'](_0x39cdca,_0x245c9d,_0x2c674c){const _0x259d2e=_0x3c445c,_0x116990=new _0x5c9e19({'allowSynchronousEvents':_0x2c674c['allowSynchronousEvents'],'binaryType':this[_0x259d2e(0x1b2)],'extensions':this['_extensions'],'isServer':this[_0x259d2e(0x2cf)],'maxPayload':_0x2c674c[_0x259d2e(0x1f5)],'skipUTF8Validation':_0x2c674c[_0x259d2e(0x172)]}),_0x30e063=new _0x347032(_0x39cdca,this[_0x259d2e(0x16b)],_0x2c674c[_0x259d2e(0x243)]);this['_receiver']=_0x116990,this[_0x259d2e(0x24d)]=_0x30e063,this[_0x259d2e(0x1f0)]=_0x39cdca,_0x116990[_0x521c5a]=this,_0x30e063[_0x521c5a]=this,_0x39cdca[_0x521c5a]=this,_0x116990['on'](_0x259d2e(0x166),_0x431e19),_0x116990['on']('drain',_0x98280),_0x116990['on'](_0x259d2e(0x267),_0x2e39db),_0x116990['on'](_0x259d2e(0x295),_0x226862),_0x116990['on'](_0x259d2e(0x220),_0x417c6c),_0x116990['on'](_0x259d2e(0x1da),_0x11fc1b),_0x30e063[_0x259d2e(0x1cd)]=_0x105d07,_0x39cdca[_0x259d2e(0x143)]&&_0x39cdca[_0x259d2e(0x143)](0x0),_0x39cdca[_0x259d2e(0x1a7)]&&_0x39cdca[_0x259d2e(0x1a7)](),_0x245c9d['length']>0x0&&_0x39cdca[_0x259d2e(0x2ae)](_0x245c9d),_0x39cdca['on'](_0x259d2e(0x1e6),_0x4df833),_0x39cdca['on']('data',_0x2aa6f2),_0x39cdca['on'](_0x259d2e(0x2d2),_0x661fcf),_0x39cdca['on'](_0x259d2e(0x267),_0x2ce45a),this[_0x259d2e(0x196)]=_0x79ed4a['OPEN'],this[_0x259d2e(0x1b6)](_0x259d2e(0x206));}[_0x3c445c(0x227)](){const _0x32fcc4=_0x3c445c;if(!this[_0x32fcc4(0x1f0)]){this[_0x32fcc4(0x196)]=_0x79ed4a[_0x32fcc4(0x26f)],this[_0x32fcc4(0x1b6)]('close',this['_closeCode'],this[_0x32fcc4(0x2c3)]);return;}this[_0x32fcc4(0x16b)][_0x4a3586[_0x32fcc4(0x1a9)]]&&this[_0x32fcc4(0x16b)][_0x4a3586[_0x32fcc4(0x1a9)]][_0x32fcc4(0x26e)](),this[_0x32fcc4(0x152)]['removeAllListeners'](),this['_readyState']=_0x79ed4a['CLOSED'],this[_0x32fcc4(0x1b6)](_0x32fcc4(0x1e6),this[_0x32fcc4(0x27f)],this['_closeMessage']);}[_0x3c445c(0x1e6)](_0x126fed,_0x5b0d0c){const _0x1e5f21=_0x3c445c;if(this[_0x1e5f21(0x25f)]!==_0x79ed4a[_0x1e5f21(0x26f)]){if(this[_0x1e5f21(0x25f)]===_0x79ed4a[_0x1e5f21(0x278)]){_0x3d06bd(this,this[_0x1e5f21(0x2a9)],_0x1e5f21(0x13e));return;}if(this[_0x1e5f21(0x25f)]===_0x79ed4a[_0x1e5f21(0x1fd)]){this[_0x1e5f21(0x224)]&&(this[_0x1e5f21(0x2e0)]||this[_0x1e5f21(0x152)][_0x1e5f21(0x1eb)][_0x1e5f21(0x2c8)])&&this[_0x1e5f21(0x1f0)][_0x1e5f21(0x2d2)]();return;}this[_0x1e5f21(0x196)]=_0x79ed4a[_0x1e5f21(0x1fd)],this[_0x1e5f21(0x24d)][_0x1e5f21(0x1e6)](_0x126fed,_0x5b0d0c,!this[_0x1e5f21(0x2cf)],_0x63de75=>{const _0x4c336e=_0x1e5f21;_0x63de75||(this[_0x4c336e(0x224)]=!0x0,(this[_0x4c336e(0x2e0)]||this[_0x4c336e(0x152)]['_writableState'][_0x4c336e(0x2c8)])&&this[_0x4c336e(0x1f0)][_0x4c336e(0x2d2)]());}),_0x1b8393(this);}}[_0x3c445c(0x25b)](){const _0x391117=_0x3c445c;this[_0x391117(0x25f)]===_0x79ed4a[_0x391117(0x278)]||this[_0x391117(0x25f)]===_0x79ed4a['CLOSED']||(this[_0x391117(0x136)]=!0x0,this[_0x391117(0x1f0)][_0x391117(0x25b)]());}[_0x3c445c(0x220)](_0x496090,_0x4a57c6,_0x19c0a7){const _0x3dc1d7=_0x3c445c;if(this['readyState']===_0x79ed4a[_0x3dc1d7(0x278)])throw new Error(_0x3dc1d7(0x203));if(typeof _0x496090==_0x3dc1d7(0x1ab)?(_0x19c0a7=_0x496090,_0x496090=_0x4a57c6=void 0x0):typeof _0x4a57c6==_0x3dc1d7(0x1ab)&&(_0x19c0a7=_0x4a57c6,_0x4a57c6=void 0x0),typeof _0x496090==_0x3dc1d7(0x1e8)&&(_0x496090=_0x496090['toString']()),this[_0x3dc1d7(0x25f)]!==_0x79ed4a[_0x3dc1d7(0x1ad)]){_0x32be63(this,_0x496090,_0x19c0a7);return;}_0x4a57c6===void 0x0&&(_0x4a57c6=!this[_0x3dc1d7(0x2cf)]),this['_sender']['ping'](_0x496090||_0x5900b9,_0x4a57c6,_0x19c0a7);}[_0x3c445c(0x1da)](_0x2edfdd,_0x21016a,_0xd82afb){const _0x58cb04=_0x3c445c;if(this[_0x58cb04(0x25f)]===_0x79ed4a[_0x58cb04(0x278)])throw new Error(_0x58cb04(0x203));if(typeof _0x2edfdd=='function'?(_0xd82afb=_0x2edfdd,_0x2edfdd=_0x21016a=void 0x0):typeof _0x21016a==_0x58cb04(0x1ab)&&(_0xd82afb=_0x21016a,_0x21016a=void 0x0),typeof _0x2edfdd==_0x58cb04(0x1e8)&&(_0x2edfdd=_0x2edfdd['toString']()),this[_0x58cb04(0x25f)]!==_0x79ed4a[_0x58cb04(0x1ad)]){_0x32be63(this,_0x2edfdd,_0xd82afb);return;}_0x21016a===void 0x0&&(_0x21016a=!this[_0x58cb04(0x2cf)]),this['_sender'][_0x58cb04(0x1da)](_0x2edfdd||_0x5900b9,_0x21016a,_0xd82afb);}['resume'](){const _0x5dc6cb=_0x3c445c;this['readyState']===_0x79ed4a[_0x5dc6cb(0x278)]||this[_0x5dc6cb(0x25f)]===_0x79ed4a['CLOSED']||(this[_0x5dc6cb(0x136)]=!0x1,this[_0x5dc6cb(0x152)][_0x5dc6cb(0x1eb)]['needDrain']||this[_0x5dc6cb(0x1f0)][_0x5dc6cb(0x15b)]());}[_0x3c445c(0x293)](_0x96580b,_0x2d2910,_0x30a2b5){const _0x550c34=_0x3c445c;if(this['readyState']===_0x79ed4a['CONNECTING'])throw new Error(_0x550c34(0x203));if(typeof _0x2d2910=='function'&&(_0x30a2b5=_0x2d2910,_0x2d2910={}),typeof _0x96580b==_0x550c34(0x1e8)&&(_0x96580b=_0x96580b['toString']()),this['readyState']!==_0x79ed4a['OPEN']){_0x32be63(this,_0x96580b,_0x30a2b5);return;}const _0x2b92ec={'binary':typeof _0x96580b!='string','mask':!this[_0x550c34(0x2cf)],'compress':!0x0,'fin':!0x0,..._0x2d2910};this[_0x550c34(0x16b)][_0x4a3586['extensionName']]||(_0x2b92ec[_0x550c34(0x254)]=!0x1),this[_0x550c34(0x24d)][_0x550c34(0x293)](_0x96580b||_0x5900b9,_0x2b92ec,_0x30a2b5);}[_0x3c445c(0x2a7)](){const _0x21f600=_0x3c445c;if(this[_0x21f600(0x25f)]!==_0x79ed4a[_0x21f600(0x26f)]){if(this['readyState']===_0x79ed4a[_0x21f600(0x278)]){_0x3d06bd(this,this[_0x21f600(0x2a9)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}this[_0x21f600(0x1f0)]&&(this[_0x21f600(0x196)]=_0x79ed4a[_0x21f600(0x1fd)],this[_0x21f600(0x1f0)][_0x21f600(0x2ad)]());}}}Object[_0x3c445c(0x26b)](_0x79ed4a,_0x3c445c(0x278),{'enumerable':!0x0,'value':_0x524e8f[_0x3c445c(0x2df)]('CONNECTING')}),Object[_0x3c445c(0x26b)](_0x79ed4a['prototype'],_0x3c445c(0x278),{'enumerable':!0x0,'value':_0x524e8f['indexOf'](_0x3c445c(0x278))}),Object[_0x3c445c(0x26b)](_0x79ed4a,'OPEN',{'enumerable':!0x0,'value':_0x524e8f[_0x3c445c(0x2df)](_0x3c445c(0x1ad))}),Object['defineProperty'](_0x79ed4a['prototype'],_0x3c445c(0x1ad),{'enumerable':!0x0,'value':_0x524e8f[_0x3c445c(0x2df)]('OPEN')}),Object[_0x3c445c(0x26b)](_0x79ed4a,'CLOSING',{'enumerable':!0x0,'value':_0x524e8f[_0x3c445c(0x2df)](_0x3c445c(0x1fd))}),Object[_0x3c445c(0x26b)](_0x79ed4a['prototype'],_0x3c445c(0x1fd),{'enumerable':!0x0,'value':_0x524e8f[_0x3c445c(0x2df)](_0x3c445c(0x1fd))}),Object['defineProperty'](_0x79ed4a,_0x3c445c(0x26f),{'enumerable':!0x0,'value':_0x524e8f[_0x3c445c(0x2df)](_0x3c445c(0x26f))}),Object[_0x3c445c(0x26b)](_0x79ed4a[_0x3c445c(0x238)],_0x3c445c(0x26f),{'enumerable':!0x0,'value':_0x524e8f[_0x3c445c(0x2df)](_0x3c445c(0x26f))}),[_0x3c445c(0x1b2),_0x3c445c(0x1b5),_0x3c445c(0x2a0),_0x3c445c(0x22a),'protocol',_0x3c445c(0x25f),_0x3c445c(0x283)]['forEach'](_0x517664=>{Object['defineProperty'](_0x79ed4a['prototype'],_0x517664,{'enumerable':!0x0});}),[_0x3c445c(0x206),_0x3c445c(0x267),_0x3c445c(0x1e6),_0x3c445c(0x295)][_0x3c445c(0x226)](_0x51ee70=>{const _0x1762ff=_0x3c445c;Object[_0x1762ff(0x26b)](_0x79ed4a['prototype'],'on'+_0x51ee70,{'enumerable':!0x0,'get'(){const _0x2df259=_0x1762ff;for(const _0x26a158 of this[_0x2df259(0x275)](_0x51ee70))if(_0x26a158[_0x4e9ac0])return _0x26a158[_0x58758e];return null;},'set'(_0x2be340){const _0x4d32a2=_0x1762ff;for(const _0x92714b of this['listeners'](_0x51ee70))if(_0x92714b[_0x4e9ac0]){this[_0x4d32a2(0x1be)](_0x51ee70,_0x92714b);break;}typeof _0x2be340==_0x4d32a2(0x1ab)&&this[_0x4d32a2(0x2c2)](_0x51ee70,_0x2be340,{[_0x4e9ac0]:!0x0});}});}),_0x79ed4a[_0x3c445c(0x238)][_0x3c445c(0x2c2)]=_0x4be594,_0x79ed4a[_0x3c445c(0x238)][_0x3c445c(0x28e)]=_0x436eca,we=_0x79ed4a;function _0x1c0319(_0x29f384,_0x5435d5,_0x2cfa09,_0xf96772){const _0x1d4516=_0x3c445c,_0x4c77c6={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x5b4d3b[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0xf96772,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x1d4516(0x2c7),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x29f384['_autoPong']=_0x4c77c6[_0x1d4516(0x193)],!_0x5b4d3b['includes'](_0x4c77c6[_0x1d4516(0x245)]))throw new RangeError(_0x1d4516(0x2a6)+_0x4c77c6['protocolVersion']+'\x20(supported\x20versions:\x20'+_0x5b4d3b[_0x1d4516(0x1df)](',\x20')+')');let _0x399e86;if(_0x5435d5 instanceof _0x45df82)_0x399e86=_0x5435d5;else try{_0x399e86=new _0x45df82(_0x5435d5);}catch{throw new SyntaxError('Invalid\x20URL:\x20'+_0x5435d5);}_0x399e86['protocol']===_0x1d4516(0x27d)?_0x399e86[_0x1d4516(0x25c)]=_0x1d4516(0x1c7):_0x399e86[_0x1d4516(0x25c)]===_0x1d4516(0x285)&&(_0x399e86['protocol']=_0x1d4516(0x28c)),_0x29f384[_0x1d4516(0x2d1)]=_0x399e86[_0x1d4516(0x244)];const _0x1d97cc=_0x399e86[_0x1d4516(0x25c)]===_0x1d4516(0x28c),_0x3bf86c=_0x399e86['protocol']===_0x1d4516(0x231);let _0x52f938;if(_0x399e86[_0x1d4516(0x25c)]!=='ws:'&&!_0x1d97cc&&!_0x3bf86c?_0x52f938=_0x1d4516(0x260):_0x3bf86c&&!_0x399e86[_0x1d4516(0x29f)]?_0x52f938=_0x1d4516(0x2b0):_0x399e86[_0x1d4516(0x23a)]&&(_0x52f938=_0x1d4516(0x29d)),_0x52f938){const _0x80dbb2=new SyntaxError(_0x52f938);if(_0x29f384[_0x1d4516(0x194)]===0x0)throw _0x80dbb2;_0x22b89c(_0x29f384,_0x80dbb2);return;}const _0x166658=_0x1d97cc?0x1bb:0x50,_0x1c70a5=_0x2e1f30(0x10)[_0x1d4516(0x1e7)]('base64'),_0x4934d2=_0x1d97cc?_0x30257f[_0x1d4516(0x1e1)]:_0x42a08b[_0x1d4516(0x1e1)],_0x1eb969=new Set();let _0x7b9f25;if(_0x4c77c6['createConnection']=_0x4c77c6[_0x1d4516(0x154)]||(_0x1d97cc?_0x25838c:_0xfe2023),_0x4c77c6[_0x1d4516(0x233)]=_0x4c77c6[_0x1d4516(0x233)]||_0x166658,_0x4c77c6['port']=_0x399e86['port']||_0x166658,_0x4c77c6[_0x1d4516(0x29e)]=_0x399e86[_0x1d4516(0x207)]['startsWith']('[')?_0x399e86[_0x1d4516(0x207)][_0x1d4516(0x150)](0x1,-0x1):_0x399e86['hostname'],_0x4c77c6[_0x1d4516(0x1d3)]={..._0x4c77c6['headers'],'Sec-WebSocket-Version':_0x4c77c6[_0x1d4516(0x245)],'Sec-WebSocket-Key':_0x1c70a5,'Connection':_0x1d4516(0x1ea),'Upgrade':_0x1d4516(0x247)},_0x4c77c6['path']=_0x399e86[_0x1d4516(0x29f)]+_0x399e86[_0x1d4516(0x1d5)],_0x4c77c6['timeout']=_0x4c77c6[_0x1d4516(0x217)],_0x4c77c6[_0x1d4516(0x222)]&&(_0x7b9f25=new _0x4a3586(_0x4c77c6[_0x1d4516(0x222)]!==!0x0?_0x4c77c6[_0x1d4516(0x222)]:{},!0x1,_0x4c77c6[_0x1d4516(0x1f5)]),_0x4c77c6[_0x1d4516(0x1d3)][_0x1d4516(0x1cf)]=_0x2975fc({[_0x4a3586['extensionName']]:_0x7b9f25['offer']()})),_0x2cfa09[_0x1d4516(0x2bb)]){for(const _0x1c23ec of _0x2cfa09){if(typeof _0x1c23ec!='string'||!_0xb75cc0[_0x1d4516(0x2be)](_0x1c23ec)||_0x1eb969[_0x1d4516(0x178)](_0x1c23ec))throw new SyntaxError(_0x1d4516(0x282));_0x1eb969[_0x1d4516(0x1f8)](_0x1c23ec);}_0x4c77c6[_0x1d4516(0x1d3)][_0x1d4516(0x223)]=_0x2cfa09[_0x1d4516(0x1df)](',');}if(_0x4c77c6[_0x1d4516(0x252)]&&(_0x4c77c6[_0x1d4516(0x245)]<0xd?_0x4c77c6[_0x1d4516(0x1d3)][_0x1d4516(0x181)]=_0x4c77c6['origin']:_0x4c77c6[_0x1d4516(0x1d3)][_0x1d4516(0x171)]=_0x4c77c6[_0x1d4516(0x252)]),(_0x399e86['username']||_0x399e86['password'])&&(_0x4c77c6['auth']=_0x399e86['username']+':'+_0x399e86[_0x1d4516(0x25d)]),_0x3bf86c){const _0x7108ad=_0x4c77c6[_0x1d4516(0x249)][_0x1d4516(0x24a)](':');_0x4c77c6[_0x1d4516(0x242)]=_0x7108ad[0x0],_0x4c77c6[_0x1d4516(0x249)]=_0x7108ad[0x1];}let _0x26223b;if(_0x4c77c6['followRedirects']){if(_0x29f384[_0x1d4516(0x194)]===0x0){_0x29f384[_0x1d4516(0x270)]=_0x3bf86c,_0x29f384[_0x1d4516(0x1ee)]=_0x1d97cc,_0x29f384[_0x1d4516(0x235)]=_0x3bf86c?_0x4c77c6[_0x1d4516(0x242)]:_0x399e86[_0x1d4516(0x29e)];const _0x500737=_0xf96772&&_0xf96772[_0x1d4516(0x1d3)];if(_0xf96772={..._0xf96772,'headers':{}},_0x500737){for(const [_0x357221,_0x50cc6d]of Object[_0x1d4516(0x28d)](_0x500737))_0xf96772[_0x1d4516(0x1d3)][_0x357221[_0x1d4516(0x14e)]()]=_0x50cc6d;}}else{if(_0x29f384[_0x1d4516(0x1f4)](_0x1d4516(0x24e))===0x0){const _0x605b2e=_0x3bf86c?_0x29f384['_originalIpc']?_0x4c77c6['socketPath']===_0x29f384[_0x1d4516(0x235)]:!0x1:_0x29f384[_0x1d4516(0x270)]?!0x1:_0x399e86[_0x1d4516(0x29e)]===_0x29f384['_originalHostOrSocketPath'];(!_0x605b2e||_0x29f384[_0x1d4516(0x1ee)]&&!_0x1d97cc)&&(delete _0x4c77c6['headers'][_0x1d4516(0x186)],delete _0x4c77c6[_0x1d4516(0x1d3)][_0x1d4516(0x261)],_0x605b2e||delete _0x4c77c6[_0x1d4516(0x1d3)][_0x1d4516(0x29e)],_0x4c77c6[_0x1d4516(0x208)]=void 0x0);}}_0x4c77c6[_0x1d4516(0x208)]&&!_0xf96772[_0x1d4516(0x1d3)]['authorization']&&(_0xf96772['headers'][_0x1d4516(0x186)]=_0x1d4516(0x1ff)+Buffer[_0x1d4516(0x17f)](_0x4c77c6['auth'])[_0x1d4516(0x1e7)](_0x1d4516(0x212))),_0x26223b=_0x29f384['_req']=_0x4934d2(_0x4c77c6),_0x29f384[_0x1d4516(0x194)]&&_0x29f384[_0x1d4516(0x1b6)](_0x1d4516(0x24e),_0x29f384[_0x1d4516(0x283)],_0x26223b);}else _0x26223b=_0x29f384[_0x1d4516(0x2a9)]=_0x4934d2(_0x4c77c6);_0x4c77c6['timeout']&&_0x26223b['on'](_0x1d4516(0x2a2),()=>{_0x3d06bd(_0x29f384,_0x26223b,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x26223b['on'](_0x1d4516(0x267),_0x5e4d3b=>{const _0x42f873=_0x1d4516;_0x26223b===null||_0x26223b[_0x4c117f]||(_0x26223b=_0x29f384[_0x42f873(0x2a9)]=null,_0x22b89c(_0x29f384,_0x5e4d3b));}),_0x26223b['on'](_0x1d4516(0x1c0),_0x168952=>{const _0x5f1bfa=_0x1d4516,_0x372ce3=_0x168952[_0x5f1bfa(0x1d3)][_0x5f1bfa(0x18c)],_0x14078a=_0x168952[_0x5f1bfa(0x20b)];if(_0x372ce3&&_0x4c77c6['followRedirects']&&_0x14078a>=0x12c&&_0x14078a<0x190){if(++_0x29f384[_0x5f1bfa(0x194)]>_0x4c77c6['maxRedirects']){_0x3d06bd(_0x29f384,_0x26223b,_0x5f1bfa(0x1f7));return;}_0x26223b[_0x5f1bfa(0x158)]();let _0x305a59;try{_0x305a59=new _0x45df82(_0x372ce3,_0x5435d5);}catch{const _0x357752=new SyntaxError(_0x5f1bfa(0x16e)+_0x372ce3);_0x22b89c(_0x29f384,_0x357752);return;}_0x1c0319(_0x29f384,_0x305a59,_0x2cfa09,_0xf96772);}else _0x29f384['emit']('unexpected-response',_0x26223b,_0x168952)||_0x3d06bd(_0x29f384,_0x26223b,'Unexpected\x20server\x20response:\x20'+_0x168952[_0x5f1bfa(0x20b)]);}),_0x26223b['on'](_0x1d4516(0x141),(_0x2909fe,_0x45e4a7,_0x161e2b)=>{const _0x4e0f5e=_0x1d4516;if(_0x29f384[_0x4e0f5e(0x1b6)](_0x4e0f5e(0x141),_0x2909fe),_0x29f384[_0x4e0f5e(0x25f)]!==_0x79ed4a['CONNECTING'])return;_0x26223b=_0x29f384[_0x4e0f5e(0x2a9)]=null;const _0x3bdf42=_0x2909fe[_0x4e0f5e(0x1d3)][_0x4e0f5e(0x141)];if(_0x3bdf42===void 0x0||_0x3bdf42['toLowerCase']()!==_0x4e0f5e(0x247)){_0x3d06bd(_0x29f384,_0x45e4a7,'Invalid\x20Upgrade\x20header');return;}const _0x509b3f=_0x19003d(_0x4e0f5e(0x2ba))[_0x4e0f5e(0x16f)](_0x1c70a5+_0x347078)[_0x4e0f5e(0x2d8)](_0x4e0f5e(0x212));if(_0x2909fe[_0x4e0f5e(0x1d3)][_0x4e0f5e(0x1a1)]!==_0x509b3f){_0x3d06bd(_0x29f384,_0x45e4a7,_0x4e0f5e(0x153));return;}const _0x2d41d3=_0x2909fe[_0x4e0f5e(0x1d3)][_0x4e0f5e(0x177)];let _0x589b01;if(_0x2d41d3!==void 0x0?_0x1eb969['size']?_0x1eb969[_0x4e0f5e(0x178)](_0x2d41d3)||(_0x589b01=_0x4e0f5e(0x140)):_0x589b01=_0x4e0f5e(0x2e2):_0x1eb969[_0x4e0f5e(0x1ef)]&&(_0x589b01='Server\x20sent\x20no\x20subprotocol'),_0x589b01){_0x3d06bd(_0x29f384,_0x45e4a7,_0x589b01);return;}_0x2d41d3&&(_0x29f384[_0x4e0f5e(0x17c)]=_0x2d41d3);const _0x3e84a0=_0x2909fe[_0x4e0f5e(0x1d3)][_0x4e0f5e(0x2a3)];if(_0x3e84a0!==void 0x0){if(!_0x7b9f25){_0x3d06bd(_0x29f384,_0x45e4a7,'Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested');return;}let _0x452517;try{_0x452517=_0x149698(_0x3e84a0);}catch{_0x3d06bd(_0x29f384,_0x45e4a7,_0x4e0f5e(0x168));return;}const _0x160cec=Object[_0x4e0f5e(0x1e9)](_0x452517);if(_0x160cec['length']!==0x1||_0x160cec[0x0]!==_0x4a3586[_0x4e0f5e(0x1a9)]){_0x3d06bd(_0x29f384,_0x45e4a7,_0x4e0f5e(0x14b));return;}try{_0x7b9f25[_0x4e0f5e(0x229)](_0x452517[_0x4a3586[_0x4e0f5e(0x1a9)]]);}catch{_0x3d06bd(_0x29f384,_0x45e4a7,_0x4e0f5e(0x168));return;}_0x29f384['_extensions'][_0x4a3586['extensionName']]=_0x7b9f25;}_0x29f384['setSocket'](_0x45e4a7,_0x161e2b,{'allowSynchronousEvents':_0x4c77c6[_0x4e0f5e(0x2bf)],'generateMask':_0x4c77c6[_0x4e0f5e(0x243)],'maxPayload':_0x4c77c6['maxPayload'],'skipUTF8Validation':_0x4c77c6[_0x4e0f5e(0x172)]});}),_0x4c77c6[_0x1d4516(0x228)]?_0x4c77c6['finishRequest'](_0x26223b,_0x29f384):_0x26223b['end']();}function _0x22b89c(_0xee7093,_0x3a4607){const _0x3b56e3=_0x3c445c;_0xee7093[_0x3b56e3(0x196)]=_0x79ed4a[_0x3b56e3(0x1fd)],_0xee7093[_0x3b56e3(0x298)]=!0x0,_0xee7093['emit'](_0x3b56e3(0x267),_0x3a4607),_0xee7093[_0x3b56e3(0x227)]();}function _0xfe2023(_0x49dc02){const _0x4ab7c8=_0x3c445c;return _0x49dc02[_0x4ab7c8(0x249)]=_0x49dc02[_0x4ab7c8(0x242)],_0x4a71fa['connect'](_0x49dc02);}function _0x25838c(_0x3abd4d){const _0x55420b=_0x3c445c;return _0x3abd4d[_0x55420b(0x249)]=void 0x0,!_0x3abd4d[_0x55420b(0x1b4)]&&_0x3abd4d[_0x55420b(0x1b4)]!==''&&(_0x3abd4d[_0x55420b(0x1b4)]=_0x4a71fa[_0x55420b(0x192)](_0x3abd4d[_0x55420b(0x29e)])?'':_0x3abd4d['host']),_0x52e894['connect'](_0x3abd4d);}function _0x3d06bd(_0x299b9f,_0x1a25ed,_0x2402d4){const _0x4b909f=_0x3c445c;_0x299b9f[_0x4b909f(0x196)]=_0x79ed4a[_0x4b909f(0x1fd)];const _0x54730a=new Error(_0x2402d4);Error[_0x4b909f(0x198)](_0x54730a,_0x3d06bd),_0x1a25ed[_0x4b909f(0x144)]?(_0x1a25ed[_0x4c117f]=!0x0,_0x1a25ed['abort'](),_0x1a25ed[_0x4b909f(0x2bc)]&&!_0x1a25ed[_0x4b909f(0x2bc)][_0x4b909f(0x17d)]&&_0x1a25ed[_0x4b909f(0x2bc)][_0x4b909f(0x2ad)](),process[_0x4b909f(0x1c6)](_0x22b89c,_0x299b9f,_0x54730a)):(_0x1a25ed['destroy'](_0x54730a),_0x1a25ed[_0x4b909f(0x26a)]('error',_0x299b9f[_0x4b909f(0x1b6)][_0x4b909f(0x234)](_0x299b9f,_0x4b909f(0x267))),_0x1a25ed['once'](_0x4b909f(0x1e6),_0x299b9f[_0x4b909f(0x227)][_0x4b909f(0x234)](_0x299b9f)));}function _0x32be63(_0x1dfdfb,_0x3b1bbb,_0x26780a){const _0x2c2a4a=_0x3c445c;if(_0x3b1bbb){const _0x3003a5=_0x4bab30(_0x3b1bbb)?_0x3b1bbb[_0x2c2a4a(0x1ef)]:_0x2ce095(_0x3b1bbb)['length'];_0x1dfdfb['_socket']?_0x1dfdfb[_0x2c2a4a(0x24d)][_0x2c2a4a(0x138)]+=_0x3003a5:_0x1dfdfb[_0x2c2a4a(0x281)]+=_0x3003a5;}if(_0x26780a){const _0x38e8c3=new Error(_0x2c2a4a(0x137)+_0x1dfdfb[_0x2c2a4a(0x25f)]+'\x20('+_0x524e8f[_0x1dfdfb[_0x2c2a4a(0x25f)]]+')');process[_0x2c2a4a(0x1c6)](_0x26780a,_0x38e8c3);}}function _0x431e19(_0x45e2ed,_0x4ac5b7){const _0x2fdfeb=_0x3c445c,_0x440af6=this[_0x521c5a];_0x440af6[_0x2fdfeb(0x2e0)]=!0x0,_0x440af6['_closeMessage']=_0x4ac5b7,_0x440af6['_closeCode']=_0x45e2ed,_0x440af6[_0x2fdfeb(0x1f0)][_0x521c5a]!==void 0x0&&(_0x440af6[_0x2fdfeb(0x1f0)][_0x2fdfeb(0x1be)](_0x2fdfeb(0x205),_0x2aa6f2),process[_0x2fdfeb(0x1c6)](_0x1aabea,_0x440af6[_0x2fdfeb(0x1f0)]),_0x45e2ed===0x3ed?_0x440af6[_0x2fdfeb(0x1e6)]():_0x440af6[_0x2fdfeb(0x1e6)](_0x45e2ed,_0x4ac5b7));}function _0x98280(){const _0x1bb9d6=_0x3c445c,_0x164bd6=this[_0x521c5a];_0x164bd6[_0x1bb9d6(0x22a)]||_0x164bd6[_0x1bb9d6(0x1f0)][_0x1bb9d6(0x15b)]();}function _0x2e39db(_0x3f8d16){const _0x39c693=_0x3c445c,_0x48ee6e=this[_0x521c5a];_0x48ee6e[_0x39c693(0x1f0)][_0x521c5a]!==void 0x0&&(_0x48ee6e[_0x39c693(0x1f0)][_0x39c693(0x1be)](_0x39c693(0x205),_0x2aa6f2),process[_0x39c693(0x1c6)](_0x1aabea,_0x48ee6e[_0x39c693(0x1f0)]),_0x48ee6e['close'](_0x3f8d16[_0x48023d])),_0x48ee6e['_errorEmitted']||(_0x48ee6e['_errorEmitted']=!0x0,_0x48ee6e[_0x39c693(0x1b6)](_0x39c693(0x267),_0x3f8d16));}function _0x3f3d52(){const _0x3a7996=_0x3c445c;this[_0x521c5a][_0x3a7996(0x227)]();}function _0x226862(_0x1c08c5,_0x10e69d){const _0x42d454=_0x3c445c;this[_0x521c5a][_0x42d454(0x1b6)](_0x42d454(0x295),_0x1c08c5,_0x10e69d);}function _0x417c6c(_0x947fab){const _0x29fde8=_0x3c445c,_0x3422b4=this[_0x521c5a];_0x3422b4[_0x29fde8(0x28f)]&&_0x3422b4[_0x29fde8(0x1da)](_0x947fab,!this[_0x29fde8(0x2cf)],_0xafa055),_0x3422b4[_0x29fde8(0x1b6)](_0x29fde8(0x220),_0x947fab);}function _0x11fc1b(_0x3f2ad9){const _0x4a1321=_0x3c445c;this[_0x521c5a][_0x4a1321(0x1b6)](_0x4a1321(0x1da),_0x3f2ad9);}function _0x1aabea(_0x23ca41){const _0x4a2d88=_0x3c445c;_0x23ca41[_0x4a2d88(0x15b)]();}function _0x105d07(_0x9f9ac3){const _0xa6fe70=_0x3c445c,_0x24a545=this[_0x521c5a];_0x24a545[_0xa6fe70(0x25f)]!==_0x79ed4a['CLOSED']&&(_0x24a545['readyState']===_0x79ed4a[_0xa6fe70(0x1ad)]&&(_0x24a545[_0xa6fe70(0x196)]=_0x79ed4a[_0xa6fe70(0x1fd)],_0x1b8393(_0x24a545)),this['_socket'][_0xa6fe70(0x2d2)](),_0x24a545['_errorEmitted']||(_0x24a545[_0xa6fe70(0x298)]=!0x0,_0x24a545[_0xa6fe70(0x1b6)](_0xa6fe70(0x267),_0x9f9ac3)));}function _0x1b8393(_0x31260a){const _0x239fb6=_0x3c445c;_0x31260a['_closeTimer']=setTimeout(_0x31260a[_0x239fb6(0x1f0)][_0x239fb6(0x2ad)]['bind'](_0x31260a[_0x239fb6(0x1f0)]),_0x21b8c7);}function _0x4df833(){const _0x57b8b9=_0x3c445c,_0x15cc07=this[_0x521c5a];this[_0x57b8b9(0x1be)](_0x57b8b9(0x1e6),_0x4df833),this[_0x57b8b9(0x1be)]('data',_0x2aa6f2),this[_0x57b8b9(0x1be)]('end',_0x661fcf),_0x15cc07[_0x57b8b9(0x196)]=_0x79ed4a[_0x57b8b9(0x1fd)];let _0x40ffd4;!this[_0x57b8b9(0x230)]['endEmitted']&&!_0x15cc07[_0x57b8b9(0x2e0)]&&!_0x15cc07[_0x57b8b9(0x152)]['_writableState'][_0x57b8b9(0x2c8)]&&(_0x40ffd4=_0x15cc07['_socket'][_0x57b8b9(0x296)]())!==null&&_0x15cc07[_0x57b8b9(0x152)][_0x57b8b9(0x20a)](_0x40ffd4),_0x15cc07['_receiver'][_0x57b8b9(0x2d2)](),this[_0x521c5a]=void 0x0,clearTimeout(_0x15cc07['_closeTimer']),_0x15cc07[_0x57b8b9(0x152)][_0x57b8b9(0x1eb)]['finished']||_0x15cc07[_0x57b8b9(0x152)][_0x57b8b9(0x1eb)][_0x57b8b9(0x2c8)]?_0x15cc07[_0x57b8b9(0x227)]():(_0x15cc07['_receiver']['on']('error',_0x3f3d52),_0x15cc07['_receiver']['on']('finish',_0x3f3d52));}function _0x2aa6f2(_0x418198){const _0xa01c65=_0x3c445c;this[_0x521c5a]['_receiver'][_0xa01c65(0x20a)](_0x418198)||this[_0xa01c65(0x25b)]();}function _0x661fcf(){const _0x303f2c=_0x3c445c,_0x4d8dd5=this[_0x521c5a];_0x4d8dd5[_0x303f2c(0x196)]=_0x79ed4a[_0x303f2c(0x1fd)],_0x4d8dd5[_0x303f2c(0x152)][_0x303f2c(0x2d2)](),this['end']();}function _0x2ce45a(){const _0x3cc3a0=_0x3c445c,_0x54b914=this[_0x521c5a];this[_0x3cc3a0(0x1be)](_0x3cc3a0(0x267),_0x2ce45a),this['on'](_0x3cc3a0(0x267),_0xafa055),_0x54b914&&(_0x54b914['_readyState']=_0x79ed4a[_0x3cc3a0(0x1fd)],this[_0x3cc3a0(0x2ad)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x588098}=_0x263b4e;function _0x592329(_0x1410ac){const _0x615128=_0x3bf5;_0x1410ac[_0x615128(0x1b6)](_0x615128(0x1e6));}function _0x2afbfc(){const _0x1355a2=_0x3bf5;!this['destroyed']&&this[_0x1355a2(0x1eb)]['finished']&&this['destroy']();}function _0x45dee7(_0x2b5fee){const _0x3ff9de=_0x3bf5;this[_0x3ff9de(0x1be)]('error',_0x45dee7),this['destroy'](),this[_0x3ff9de(0x1f4)](_0x3ff9de(0x267))===0x0&&this[_0x3ff9de(0x1b6)](_0x3ff9de(0x267),_0x2b5fee);}function _0x48d6ef(_0x560e48,_0x2dc031){const _0x5c052a=_0x3bf5;let _0x52f12e=!0x0;const _0x58cf52=new _0x588098({..._0x2dc031,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x560e48['on'](_0x5c052a(0x295),function(_0x28a811,_0x379fb0){const _0x550718=_0x5c052a,_0x7f1c08=!_0x379fb0&&_0x58cf52[_0x550718(0x230)][_0x550718(0x1d2)]?_0x28a811[_0x550718(0x1e7)]():_0x28a811;_0x58cf52[_0x550718(0x18d)](_0x7f1c08)||_0x560e48[_0x550718(0x25b)]();}),_0x560e48['once']('error',function(_0x4321d2){const _0xf6e4d6=_0x5c052a;_0x58cf52[_0xf6e4d6(0x17d)]||(_0x52f12e=!0x1,_0x58cf52['destroy'](_0x4321d2));}),_0x560e48[_0x5c052a(0x26a)](_0x5c052a(0x1e6),function(){const _0x3d0473=_0x5c052a;_0x58cf52[_0x3d0473(0x17d)]||_0x58cf52[_0x3d0473(0x18d)](null);}),_0x58cf52[_0x5c052a(0x2af)]=function(_0x5d60ad,_0x191961){const _0x29dc80=_0x5c052a;if(_0x560e48[_0x29dc80(0x25f)]===_0x560e48[_0x29dc80(0x26f)]){_0x191961(_0x5d60ad),process[_0x29dc80(0x1c6)](_0x592329,_0x58cf52);return;}let _0x5a7138=!0x1;_0x560e48[_0x29dc80(0x26a)](_0x29dc80(0x267),function(_0x23563d){_0x5a7138=!0x0,_0x191961(_0x23563d);}),_0x560e48[_0x29dc80(0x26a)](_0x29dc80(0x1e6),function(){const _0x222e11=_0x29dc80;_0x5a7138||_0x191961(_0x5d60ad),process[_0x222e11(0x1c6)](_0x592329,_0x58cf52);}),_0x52f12e&&_0x560e48[_0x29dc80(0x2a7)]();},_0x58cf52[_0x5c052a(0x14a)]=function(_0x35bc01){const _0x17cd23=_0x5c052a;if(_0x560e48[_0x17cd23(0x25f)]===_0x560e48['CONNECTING']){_0x560e48[_0x17cd23(0x26a)](_0x17cd23(0x206),function(){const _0x13a257=_0x17cd23;_0x58cf52[_0x13a257(0x14a)](_0x35bc01);});return;}_0x560e48[_0x17cd23(0x1f0)]!==null&&(_0x560e48[_0x17cd23(0x1f0)][_0x17cd23(0x1eb)]['finished']?(_0x35bc01(),_0x58cf52[_0x17cd23(0x230)][_0x17cd23(0x21f)]&&_0x58cf52['destroy']()):(_0x560e48[_0x17cd23(0x1f0)][_0x17cd23(0x26a)](_0x17cd23(0x1d8),function(){_0x35bc01();}),_0x560e48['close']()));},_0x58cf52['_read']=function(){const _0x410775=_0x5c052a;_0x560e48['isPaused']&&_0x560e48[_0x410775(0x15b)]();},_0x58cf52[_0x5c052a(0x2d5)]=function(_0xa84021,_0x5656f9,_0x2397b9){const _0xd07c21=_0x5c052a;if(_0x560e48[_0xd07c21(0x25f)]===_0x560e48[_0xd07c21(0x278)]){_0x560e48[_0xd07c21(0x26a)](_0xd07c21(0x206),function(){const _0x226c0f=_0xd07c21;_0x58cf52[_0x226c0f(0x2d5)](_0xa84021,_0x5656f9,_0x2397b9);});return;}_0x560e48['send'](_0xa84021,_0x2397b9);},_0x58cf52['on'](_0x5c052a(0x2d2),_0x2afbfc),_0x58cf52['on']('error',_0x45dee7),_0x58cf52;}return Oe=_0x48d6ef,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=Wt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x4a87df}=ne();function _0xd8d4b8(_0x57b426){const _0x3f1ad7=_0x3bf5,_0x561ef6=new Set();let _0x5e2553=-0x1,_0x3528e9=-0x1,_0x54b449=0x0;for(_0x54b449;_0x54b449<_0x57b426[_0x3f1ad7(0x2bb)];_0x54b449++){const _0x24ef26=_0x57b426[_0x3f1ad7(0x2b4)](_0x54b449);if(_0x3528e9===-0x1&&_0x4a87df[_0x24ef26]===0x1)_0x5e2553===-0x1&&(_0x5e2553=_0x54b449);else{if(_0x54b449!==0x0&&(_0x24ef26===0x20||_0x24ef26===0x9))_0x3528e9===-0x1&&_0x5e2553!==-0x1&&(_0x3528e9=_0x54b449);else{if(_0x24ef26===0x2c){if(_0x5e2553===-0x1)throw new SyntaxError(_0x3f1ad7(0x1a6)+_0x54b449);_0x3528e9===-0x1&&(_0x3528e9=_0x54b449);const _0x4a9a9b=_0x57b426[_0x3f1ad7(0x150)](_0x5e2553,_0x3528e9);if(_0x561ef6[_0x3f1ad7(0x178)](_0x4a9a9b))throw new SyntaxError('The\x20\x22'+_0x4a9a9b+_0x3f1ad7(0x1b8));_0x561ef6[_0x3f1ad7(0x1f8)](_0x4a9a9b),_0x5e2553=_0x3528e9=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x54b449);}}}if(_0x5e2553===-0x1||_0x3528e9!==-0x1)throw new SyntaxError(_0x3f1ad7(0x20d));const _0x235206=_0x57b426['slice'](_0x5e2553,_0x54b449);if(_0x561ef6[_0x3f1ad7(0x178)](_0x235206))throw new SyntaxError(_0x3f1ad7(0x22d)+_0x235206+'\x22\x20subprotocol\x20is\x20duplicated');return _0x561ef6[_0x3f1ad7(0x1f8)](_0x235206),_0x561ef6;}return Ce={'parse':_0xd8d4b8},Ce;}function _0x3bf5(_0x34d7c4,_0x51c4a7){const _0x60d1f0=_0x60d1();return _0x3bf5=function(_0x3bf532,_0x2821d3){_0x3bf532=_0x3bf532-0x133;let _0x305cbc=_0x60d1f0[_0x3bf532];return _0x305cbc;},_0x3bf5(_0x34d7c4,_0x51c4a7);}var Te,ot;function er(){const _0x129ae6=_0x499823;if(ot)return Te;ot=0x1;const _0x266435=_0x4a14b5,_0x36a151=_0x5887c6,{Duplex:_0x4584e0}=_0x263b4e,{createHash:_0x2cdbe2}=_0xab02dc,_0x162820=pt(),_0x5e5317=he(),_0x49e258=Jt(),_0x3935a1=Ie(),{GUID:_0x4ba33b,kWebSocket:_0x1c2db1}=V(),_0x51a0b4=/^[+/0-9A-Za-z]{22}==$/,_0x40a884=0x0,_0x11530e=0x1,_0x57db9b=0x2;class _0x24496b extends _0x266435{constructor(_0x1e86ca,_0x2d4c04){const _0x2d8078=_0x3bf5;if(super(),_0x1e86ca={'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':_0x3935a1,..._0x1e86ca},_0x1e86ca[_0x2d8078(0x22f)]==null&&!_0x1e86ca[_0x2d8078(0x2b7)]&&!_0x1e86ca[_0x2d8078(0x287)]||_0x1e86ca[_0x2d8078(0x22f)]!=null&&(_0x1e86ca[_0x2d8078(0x2b7)]||_0x1e86ca[_0x2d8078(0x287)])||_0x1e86ca[_0x2d8078(0x2b7)]&&_0x1e86ca['noServer'])throw new TypeError(_0x2d8078(0x1f9));if(_0x1e86ca[_0x2d8078(0x22f)]!=null?(this[_0x2d8078(0x2c9)]=_0x36a151[_0x2d8078(0x1aa)]((_0x595f36,_0x55d6bc)=>{const _0x3471d7=_0x2d8078,_0x28c2ca=_0x36a151['STATUS_CODES'][0x1aa];_0x55d6bc[_0x3471d7(0x2c0)](0x1aa,{'Content-Length':_0x28c2ca[_0x3471d7(0x2bb)],'Content-Type':_0x3471d7(0x22b)}),_0x55d6bc[_0x3471d7(0x2d2)](_0x28c2ca);}),this[_0x2d8078(0x2c9)]['listen'](_0x1e86ca[_0x2d8078(0x22f)],_0x1e86ca['host'],_0x1e86ca[_0x2d8078(0x17a)],_0x2d4c04)):_0x1e86ca[_0x2d8078(0x2b7)]&&(this[_0x2d8078(0x2c9)]=_0x1e86ca[_0x2d8078(0x2b7)]),this[_0x2d8078(0x2c9)]){const _0xb421c4=this[_0x2d8078(0x1b6)][_0x2d8078(0x234)](this,'connection');this[_0x2d8078(0x265)]=_0x1f64b7(this[_0x2d8078(0x2c9)],{'listening':this[_0x2d8078(0x1b6)][_0x2d8078(0x234)](this,_0x2d8078(0x2e6)),'error':this[_0x2d8078(0x1b6)][_0x2d8078(0x234)](this,_0x2d8078(0x267)),'upgrade':(_0x22319f,_0x4bd44d,_0x25fc3c)=>{this['handleUpgrade'](_0x22319f,_0x4bd44d,_0x25fc3c,_0xb421c4);}});}_0x1e86ca['perMessageDeflate']===!0x0&&(_0x1e86ca[_0x2d8078(0x222)]={}),_0x1e86ca[_0x2d8078(0x2a8)]&&(this[_0x2d8078(0x19c)]=new Set(),this[_0x2d8078(0x165)]=!0x1),this['options']=_0x1e86ca,this[_0x2d8078(0x24f)]=_0x40a884;}[_0x129ae6(0x2b9)](){const _0x772d60=_0x129ae6;if(this['options']['noServer'])throw new Error(_0x772d60(0x2b6));return this['_server']?this[_0x772d60(0x2c9)]['address']():null;}[_0x129ae6(0x1e6)](_0xf08c2d){const _0x3defe1=_0x129ae6;if(this['_state']===_0x57db9b){_0xf08c2d&&this[_0x3defe1(0x26a)]('close',()=>{const _0x3b7cb8=_0x3defe1;_0xf08c2d(new Error(_0x3b7cb8(0x133)));}),process[_0x3defe1(0x1c6)](_0x28e09c,this);return;}if(_0xf08c2d&&this[_0x3defe1(0x26a)](_0x3defe1(0x1e6),_0xf08c2d),this[_0x3defe1(0x24f)]!==_0x11530e){if(this[_0x3defe1(0x24f)]=_0x11530e,this[_0x3defe1(0x26c)][_0x3defe1(0x287)]||this['options'][_0x3defe1(0x2b7)])this[_0x3defe1(0x2c9)]&&(this[_0x3defe1(0x265)](),this[_0x3defe1(0x265)]=this[_0x3defe1(0x2c9)]=null),this['clients']?this[_0x3defe1(0x19c)][_0x3defe1(0x1ef)]?this[_0x3defe1(0x165)]=!0x0:process[_0x3defe1(0x1c6)](_0x28e09c,this):process[_0x3defe1(0x1c6)](_0x28e09c,this);else{const _0x59c7f5=this[_0x3defe1(0x2c9)];this[_0x3defe1(0x265)](),this['_removeListeners']=this['_server']=null,_0x59c7f5['close'](()=>{_0x28e09c(this);});}}}[_0x129ae6(0x1b3)](_0x413bda){const _0x9e7b8c=_0x129ae6;if(this[_0x9e7b8c(0x26c)][_0x9e7b8c(0x249)]){const _0x26f1ab=_0x413bda[_0x9e7b8c(0x283)]['indexOf']('?');if((_0x26f1ab!==-0x1?_0x413bda[_0x9e7b8c(0x283)]['slice'](0x0,_0x26f1ab):_0x413bda[_0x9e7b8c(0x283)])!==this[_0x9e7b8c(0x26c)][_0x9e7b8c(0x249)])return!0x1;}return!0x0;}[_0x129ae6(0x258)](_0x1562ec,_0x4be4b3,_0x2a2615,_0x22f0f7){const _0x5db7ce=_0x129ae6;_0x4be4b3['on'](_0x5db7ce(0x267),_0x30e7d4);const _0x2f7055=_0x1562ec[_0x5db7ce(0x1d3)][_0x5db7ce(0x2e4)],_0x3264e4=_0x1562ec[_0x5db7ce(0x1d3)]['upgrade'],_0x4586df=+_0x1562ec['headers'][_0x5db7ce(0x1a8)];if(_0x1562ec[_0x5db7ce(0x2b5)]!==_0x5db7ce(0x2c7)){_0x30eacc(this,_0x1562ec,_0x4be4b3,0x195,'Invalid\x20HTTP\x20method');return;}if(_0x3264e4===void 0x0||_0x3264e4[_0x5db7ce(0x14e)]()!==_0x5db7ce(0x247)){_0x30eacc(this,_0x1562ec,_0x4be4b3,0x190,_0x5db7ce(0x2c5));return;}if(_0x2f7055===void 0x0||!_0x51a0b4[_0x5db7ce(0x2be)](_0x2f7055)){_0x30eacc(this,_0x1562ec,_0x4be4b3,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header');return;}if(_0x4586df!==0xd&&_0x4586df!==0x8){_0x30eacc(this,_0x1562ec,_0x4be4b3,0x190,_0x5db7ce(0x1d9),{'Sec-WebSocket-Version':'13,\x208'});return;}if(!this[_0x5db7ce(0x1b3)](_0x1562ec)){_0x1ae38c(_0x4be4b3,0x190);return;}const _0x48c7cd=_0x1562ec[_0x5db7ce(0x1d3)]['sec-websocket-protocol'];let _0x9e7377=new Set();if(_0x48c7cd!==void 0x0)try{_0x9e7377=_0x49e258['parse'](_0x48c7cd);}catch{_0x30eacc(this,_0x1562ec,_0x4be4b3,0x190,_0x5db7ce(0x250));return;}const _0x24f155=_0x1562ec[_0x5db7ce(0x1d3)][_0x5db7ce(0x2a3)],_0x363a03={};if(this['options'][_0x5db7ce(0x222)]&&_0x24f155!==void 0x0){const _0x4a8c3c=new _0x5e5317(this[_0x5db7ce(0x26c)]['perMessageDeflate'],!0x0,this['options'][_0x5db7ce(0x1f5)]);try{const _0x4d85a2=_0x162820[_0x5db7ce(0x2e3)](_0x24f155);_0x4d85a2[_0x5e5317[_0x5db7ce(0x1a9)]]&&(_0x4a8c3c[_0x5db7ce(0x229)](_0x4d85a2[_0x5e5317[_0x5db7ce(0x1a9)]]),_0x363a03[_0x5e5317['extensionName']]=_0x4a8c3c);}catch{_0x30eacc(this,_0x1562ec,_0x4be4b3,0x190,_0x5db7ce(0x183));return;}}if(this[_0x5db7ce(0x26c)][_0x5db7ce(0x299)]){const _0x1617e2={'origin':_0x1562ec[_0x5db7ce(0x1d3)][''+(_0x4586df===0x8?_0x5db7ce(0x200):_0x5db7ce(0x252))],'secure':!!(_0x1562ec[_0x5db7ce(0x2bc)]['authorized']||_0x1562ec[_0x5db7ce(0x2bc)]['encrypted']),'req':_0x1562ec};if(this[_0x5db7ce(0x26c)]['verifyClient'][_0x5db7ce(0x2bb)]===0x2){this['options']['verifyClient'](_0x1617e2,(_0x1c23ca,_0x5a6436,_0x58468e,_0x170c05)=>{const _0x351a95=_0x5db7ce;if(!_0x1c23ca)return _0x1ae38c(_0x4be4b3,_0x5a6436||0x191,_0x58468e,_0x170c05);this[_0x351a95(0x2dc)](_0x363a03,_0x2f7055,_0x9e7377,_0x1562ec,_0x4be4b3,_0x2a2615,_0x22f0f7);});return;}if(!this['options']['verifyClient'](_0x1617e2))return _0x1ae38c(_0x4be4b3,0x191);}this['completeUpgrade'](_0x363a03,_0x2f7055,_0x9e7377,_0x1562ec,_0x4be4b3,_0x2a2615,_0x22f0f7);}[_0x129ae6(0x2dc)](_0x2c2b59,_0x51e6ba,_0x1db08b,_0x9959b5,_0x48be67,_0x4bf8cc,_0x4b02f6){const _0x385a95=_0x129ae6;if(!_0x48be67[_0x385a95(0x2d4)]||!_0x48be67[_0x385a95(0x2de)])return _0x48be67[_0x385a95(0x2ad)]();if(_0x48be67[_0x1c2db1])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this[_0x385a95(0x24f)]>_0x40a884)return _0x1ae38c(_0x48be67,0x1f7);const _0x39c760=[_0x385a95(0x23b),_0x385a95(0x1a2),_0x385a95(0x2e7),'Sec-WebSocket-Accept:\x20'+_0x2cdbe2('sha1')[_0x385a95(0x16f)](_0x51e6ba+_0x4ba33b)[_0x385a95(0x2d8)](_0x385a95(0x212))],_0x3460b7=new this[(_0x385a95(0x26c))][(_0x385a95(0x1fa))](null,void 0x0,this[_0x385a95(0x26c)]);if(_0x1db08b[_0x385a95(0x1ef)]){const _0x704c87=this[_0x385a95(0x26c)][_0x385a95(0x2cc)]?this[_0x385a95(0x26c)][_0x385a95(0x2cc)](_0x1db08b,_0x9959b5):_0x1db08b[_0x385a95(0x191)]()[_0x385a95(0x185)]()[_0x385a95(0x27a)];_0x704c87&&(_0x39c760[_0x385a95(0x18d)]('Sec-WebSocket-Protocol:\x20'+_0x704c87),_0x3460b7['_protocol']=_0x704c87);}if(_0x2c2b59[_0x5e5317['extensionName']]){const _0x55aea9=_0x2c2b59[_0x5e5317[_0x385a95(0x1a9)]][_0x385a95(0x2db)],_0x2dd05f=_0x162820['format']({[_0x5e5317[_0x385a95(0x1a9)]]:[_0x55aea9]});_0x39c760[_0x385a95(0x18d)]('Sec-WebSocket-Extensions:\x20'+_0x2dd05f),_0x3460b7[_0x385a95(0x16b)]=_0x2c2b59;}this[_0x385a95(0x1b6)](_0x385a95(0x1d3),_0x39c760,_0x9959b5),_0x48be67['write'](_0x39c760[_0x385a95(0x2e1)]('\x0d\x0a')[_0x385a95(0x1df)]('\x0d\x0a')),_0x48be67['removeListener'](_0x385a95(0x267),_0x30e7d4),_0x3460b7[_0x385a95(0x21a)](_0x48be67,_0x4bf8cc,{'allowSynchronousEvents':this['options']['allowSynchronousEvents'],'maxPayload':this[_0x385a95(0x26c)][_0x385a95(0x1f5)],'skipUTF8Validation':this[_0x385a95(0x26c)][_0x385a95(0x172)]}),this[_0x385a95(0x19c)]&&(this[_0x385a95(0x19c)][_0x385a95(0x1f8)](_0x3460b7),_0x3460b7['on'](_0x385a95(0x1e6),()=>{const _0xc5daac=_0x385a95;this[_0xc5daac(0x19c)][_0xc5daac(0x276)](_0x3460b7),this[_0xc5daac(0x165)]&&!this['clients'][_0xc5daac(0x1ef)]&&process[_0xc5daac(0x1c6)](_0x28e09c,this);})),_0x4b02f6(_0x3460b7,_0x9959b5);}}Te=_0x24496b;function _0x1f64b7(_0x3f3272,_0x310e2b){const _0x45158c=_0x129ae6;for(const _0x4057a4 of Object[_0x45158c(0x1e9)](_0x310e2b))_0x3f3272['on'](_0x4057a4,_0x310e2b[_0x4057a4]);return function(){const _0x42f4e8=_0x45158c;for(const _0xdbc875 of Object[_0x42f4e8(0x1e9)](_0x310e2b))_0x3f3272['removeListener'](_0xdbc875,_0x310e2b[_0xdbc875]);};}function _0x28e09c(_0x56930d){_0x56930d['_state']=_0x57db9b,_0x56930d['emit']('close');}function _0x30e7d4(){this['destroy']();}function _0x1ae38c(_0x565bc7,_0x8c27ff,_0x2f9711,_0x39b594){const _0x1a6084=_0x129ae6;_0x2f9711=_0x2f9711||_0x36a151[_0x1a6084(0x221)][_0x8c27ff],_0x39b594={'Connection':_0x1a6084(0x1e6),'Content-Type':_0x1a6084(0x277),'Content-Length':Buffer[_0x1a6084(0x21e)](_0x2f9711),..._0x39b594},_0x565bc7['once'](_0x1a6084(0x1d8),_0x565bc7[_0x1a6084(0x2ad)]),_0x565bc7[_0x1a6084(0x2d2)]('HTTP/1.1\x20'+_0x8c27ff+'\x20'+_0x36a151[_0x1a6084(0x221)][_0x8c27ff]+'\x0d\x0a'+Object['keys'](_0x39b594)['map'](_0x5a720c=>_0x5a720c+':\x20'+_0x39b594[_0x5a720c])[_0x1a6084(0x1df)]('\x0d\x0a')+_0x1a6084(0x216)+_0x2f9711);}function _0x30eacc(_0x525637,_0x84e310,_0x2c8af1,_0x3c5f76,_0x3e3e6f,_0x47cde6){const _0x2684de=_0x129ae6;if(_0x525637[_0x2684de(0x1f4)]('wsClientError')){const _0x5b5476=new Error(_0x3e3e6f);Error[_0x2684de(0x198)](_0x5b5476,_0x30eacc),_0x525637['emit'](_0x2684de(0x23e),_0x5b5476,_0x2c8af1,_0x84e310);}else _0x1ae38c(_0x2c8af1,_0x3c5f76,_0x3e3e6f,_0x47cde6);}return Te;}er();var tr=Object['getOwnPropertyDescriptor'],rr=(_0x55eae2,_0x497ff4,_0x17790f,_0x533c12)=>{const _0x1b8941=_0x499823;for(var _0x162c98=_0x533c12>0x1?void 0x0:_0x533c12?tr(_0x497ff4,_0x17790f):_0x497ff4,_0x1214a4=_0x55eae2[_0x1b8941(0x2bb)]-0x1,_0x3e3cad;_0x1214a4>=0x0;_0x1214a4--)(_0x3e3cad=_0x55eae2[_0x1214a4])&&(_0x162c98=_0x3e3cad(_0x162c98)||_0x162c98);return _0x162c98;},sr=(_0x16ee04,_0x28d56f)=>(_0xc17809,_0x94125b)=>_0x28d56f(_0xc17809,_0x94125b,_0x16ee04);let Ne=class extends _0x2df620{constructor(_0x538d7c){const _0x39ef13=_0x499823;super(),this[_0x39ef13(0x214)]=_0x538d7c;}[_0x499823(0x2e5)](_0x24eabc){const _0x235b29=_0x499823;var _0x182682;const _0x5f42ae=(_0x182682=this[_0x235b29(0x214)][_0x235b29(0x240)](Be))==null?void 0x0:_0x182682[_0x235b29(0x2d7)];try{const _0xd69adb=new Qt(_0x24eabc,{'headers':{..._0x5f42ae}}),_0x30ff33=new _0x4a8b49();return{'URL':_0x24eabc,'close':(_0x14c036,_0x146ecc)=>{const _0x1370d5=_0x235b29;_0xd69adb[_0x1370d5(0x1e6)](_0x14c036,_0x146ecc),_0x30ff33[_0x1370d5(0x155)]();},'send':_0x2f486b=>{const _0x41046a=_0x235b29;_0xd69adb[_0x41046a(0x293)](_0x2f486b);},'open$':new _0x2a67f2(_0x3bf4fc=>{const _0x4889f8=_0x235b29,_0x740f09=_0x13e365=>_0x3bf4fc['next'](_0x13e365);_0xd69adb[_0x4889f8(0x2c2)](_0x4889f8(0x206),_0x740f09),_0x30ff33[_0x4889f8(0x1f8)](_0x38df46(()=>_0xd69adb['removeEventListener']('open',_0x740f09)));})[_0x235b29(0x170)](_0x1ae7ca()),'close$':new _0x2a67f2(_0x49d5b0=>{const _0x4c570f=_0x235b29,_0x16cb96=_0x1df878=>_0x49d5b0[_0x4c570f(0x185)](_0x1df878);_0xd69adb[_0x4c570f(0x2c2)](_0x4c570f(0x1e6),_0x16cb96),_0x30ff33['add'](_0x38df46(()=>_0xd69adb[_0x4c570f(0x28e)](_0x4c570f(0x1e6),_0x16cb96)));})[_0x235b29(0x170)](_0x1ae7ca()),'error$':new _0x2a67f2(_0x3c6211=>{const _0x392f5a=_0x235b29,_0x4a63dd=_0x3dc173=>_0x3c6211[_0x392f5a(0x185)](_0x3dc173);_0xd69adb[_0x392f5a(0x2c2)](_0x392f5a(0x267),_0x4a63dd),_0x30ff33['add'](_0x38df46(()=>_0xd69adb[_0x392f5a(0x28e)](_0x392f5a(0x267),_0x4a63dd)));})[_0x235b29(0x170)](_0x1ae7ca()),'message$':new _0x2a67f2(_0xea0d0f=>{const _0x43da24=_0x235b29,_0x3f9c5d=_0x128957=>_0xea0d0f[_0x43da24(0x185)](_0x128957);_0xd69adb[_0x43da24(0x2c2)](_0x43da24(0x295),_0x3f9c5d),_0x30ff33['add'](_0x38df46(()=>_0xd69adb['removeEventListener']('message',_0x3f9c5d)));})[_0x235b29(0x170)](_0x1ae7ca())};}catch(_0x384b67){return console['error'](_0x384b67),null;}}};Ne=rr([sr(0x0,_0x289293)],Ne);var ir=Object['defineProperty'],nr=Object[_0x499823(0x2b1)],or=(_0x9e7e12,_0x17f4f6,_0x3d46e2)=>_0x17f4f6 in _0x9e7e12?ir(_0x9e7e12,_0x17f4f6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3d46e2}):_0x9e7e12[_0x17f4f6]=_0x3d46e2,ar=(_0x582678,_0x578306,_0x67ea8f,_0x46895f)=>{for(var _0x5e09e0=_0x46895f>0x1?void 0x0:_0x46895f?nr(_0x578306,_0x67ea8f):_0x578306,_0x3053a2=_0x582678['length']-0x1,_0x148758;_0x3053a2>=0x0;_0x3053a2--)(_0x148758=_0x582678[_0x3053a2])&&(_0x5e09e0=_0x148758(_0x5e09e0)||_0x5e09e0);return _0x5e09e0;},ke=(_0x1daf68,_0x42dd23)=>(_0x8c267d,_0x1e68d1)=>_0x42dd23(_0x8c267d,_0x1e68d1,_0x1daf68),lr=(_0x411bbb,_0x32fc9f,_0x3a0c60)=>or(_0x411bbb,_0x32fc9f+'',_0x3a0c60);let Pe=class extends _0x424764{constructor(_0x426624=Ft,_0x513bfd,_0x308ad9,_0x3132f9){const _0x498ca0=_0x499823;_0x426624[_0x498ca0(0x2d7)]||_0x513bfd[_0x498ca0(0x2a1)]('[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.'),super(),this[_0x498ca0(0x214)]=_0x308ad9,this[_0x498ca0(0x1c9)]=_0x3132f9,this[_0x498ca0(0x214)][_0x498ca0(0x169)](Be,_0x426624);}[_0x499823(0x21b)](){const _0x1d4258=_0x499823;this[_0x1d4258(0x15f)]();}[_0x499823(0x15f)](){const _0x1db197=_0x499823;_0x5e0808(this[_0x1db197(0x1c9)],[[_0x121457,{'useClass':Ne}]]);}};lr(Pe,_0x499823(0x1a4),_0x499823(0x1e2)),Pe=ar([_0x5ca920(_0x2f0120),ke(0x1,_0x4a6530),ke(0x2,_0x289293),ke(0x3,_0x273630(_0x3c37f4))],Pe);var fr=Object[_0x499823(0x2b1)],cr=(_0x43dc06,_0x52e610,_0x27dee2,_0x353fcb)=>{const _0x1b0757=_0x499823;for(var _0x2287f8=_0x353fcb>0x1?void 0x0:_0x353fcb?fr(_0x52e610,_0x27dee2):_0x52e610,_0x16cca6=_0x43dc06[_0x1b0757(0x2bb)]-0x1,_0x573567;_0x16cca6>=0x0;_0x16cca6--)(_0x573567=_0x43dc06[_0x16cca6])&&(_0x2287f8=_0x573567(_0x2287f8)||_0x2287f8);return _0x2287f8;},se=(_0x2f8d57,_0x109c60)=>(_0x30b6e8,_0x1bed31)=>_0x109c60(_0x30b6e8,_0x1bed31,_0x2f8d57);let at=class extends _0x5409e1{constructor(_0x22ccb1,_0x518fbd,_0x465b6f,_0x59b4bc,_0x8a8597){const _0x48ea22=_0x499823;super(_0x22ccb1,_0x518fbd,_0x465b6f,_0x59b4bc,_0x8a8597);const _0x526ec7=this['_configService'][_0x48ea22(0x240)](Be);this[_0x48ea22(0x266)][_0x48ea22(0x1f1)]({'interceptor':(_0x2111af,_0x2f9dfc)=>{const _0x40a440=_0x48ea22;var _0x548303;const _0x791cc9=_0x2111af[_0x40a440(0x1d3)];return(_0x548303=_0x526ec7==null?void 0x0:_0x526ec7[_0x40a440(0x2d7)])!=null&&_0x548303[_0x40a440(0x261)]&&_0x791cc9['set'](_0x40a440(0x19b),_0x526ec7[_0x40a440(0x2d7)][_0x40a440(0x261)]),_0x2f9dfc(_0x2111af);}});}async[_0x499823(0x2e5)](_0x31bf83){const _0xee5eef=_0x499823;return this[_0xee5eef(0x20f)](_0x31bf83);}};at=cr([se(0x0,_0x273630(_0x3c37f4)),se(0x1,_0x273630(_0x34e0c6)),se(0x2,_0x289293),se(0x3,_0x4a6530),se(0x4,_0x36a73a)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
1
+ const _0x41a477=_0x1884;(function(_0x430cb9,_0x1f29dd){const _0x3a5d49=_0x1884,_0xe62a2f=_0x430cb9();while(!![]){try{const _0x37cbc8=parseInt(_0x3a5d49(0x2d1))/0x1*(parseInt(_0x3a5d49(0x1fb))/0x2)+parseInt(_0x3a5d49(0x37c))/0x3+-parseInt(_0x3a5d49(0x2e9))/0x4*(-parseInt(_0x3a5d49(0x29a))/0x5)+parseInt(_0x3a5d49(0x38a))/0x6+-parseInt(_0x3a5d49(0x346))/0x7*(parseInt(_0x3a5d49(0x386))/0x8)+parseInt(_0x3a5d49(0x3a7))/0x9+-parseInt(_0x3a5d49(0x204))/0xa;if(_0x37cbc8===_0x1f29dd)break;else _0xe62a2f['push'](_0xe62a2f['shift']());}catch(_0x369119){_0xe62a2f['push'](_0xe62a2f['shift']());}}}(_0x2581,0x567dd));import{UniverCollaborationClientPlugin as _0x431993,CollaborationSocketService as _0xd5f299}from'@univerjs-pro/collaboration-client';import{Disposable as _0x53c142,DisposableCollection as _0x530038,toDisposable as _0x4c2130,IConfigService as _0x4d2675,DependentOn as _0x40a3e6,ILogService as _0x4c044d,Inject as _0x17adb0,Injector as _0x5cc64e,Plugin as _0xe248e1,registerDependencies as _0x42f7a0}from'@univerjs/core';import{ISocketService as _0x5b4c6c,HTTPService as _0x5ce968}from'@univerjs/network';import{Observable as _0x36f113,share as _0x2349a8}from'rxjs';function _0x2581(){const _0x1f065c=['object','_skipUTF8Validation','CLOSED','zlibInflateOptions','extensions','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','CONNECTING','flush','once','40fJIFkV','pause','update','_compressed','origin','pending','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','listenerCount','slice','OPEN','isPaused','The\x20\x22','WS_ERR_UNEXPECTED_MASK','_buffers','_isServer','password','_doCreateSocket','handshakeTimeout','then','location','Sec-WebSocket-Accept:\x20','customHeaders','blob','arraybuffer','Invalid\x20Sec-WebSocket-Accept\x20header','emitClose','shouldHandle','authorized','type','Sec-WebSocket-Protocol:\x20','server_max_window_bits','backlog','_registerDependencies','_bufferedBytes','_shouldEmitClose','dataMessage','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','dequeue','toStringTag','prototype','timeout','_redirects','shift','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','protocolVersion','removeAllListeners','code','_receiver','readUInt32BE','replace','error','_payloadLength','opcode','Sec-WebSocket-Extensions:\x20','parse','12kNtSja','createConnection','accept','Basic\x20','\x22\x20subprotocol\x20is\x20duplicated','WS_ERR_INVALID_OPCODE','drain','client_max_window_bits','cookie','invalid\x20UTF-8\x20sequence','frame','decompress','setNoDelay','_mask','concat','sha1','Invalid\x20WebSocket\x20frame:\x20','compress','extensionName','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','getPayloadLength16','createSocket','indexOf','nextTick','275104JDFmjc','startLoop','Invalid\x20Sec-WebSocket-Protocol\x20header','HTTP/1.1\x20101\x20Switching\x20Protocols','_opcode','client','Server\x20sent\x20no\x20subprotocol','startsWith','_closeFrameReceived','Connection:\x20Upgrade','kReason','writeUInt16BE','_httpService','isArray','_errored','_paused','completeUpgrade','kDone','message','read','kByteLength','abort','charCodeAt','forEach','readOnly','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','resume','bufferedAmount','includes','WS_ERR_EXPECTED_FIN','auth','serverMaxWindowBits','sec-websocket-version','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','invalid\x20opcode\x20','length','onerror','url','ws:','port','_configService','wss:','_originalIpc','conclude','encrypted','followRedirects','_autoPong','text/html','Unknown\x20parameter\x20\x22','\x22\x20must\x20have\x20only\x20a\x20single\x20value','pipe','handleEvent','destroy','alloc','onmessage','_firstFragment','pow','Max\x20payload\x20size\x20exceeded','entries','_closeMessage','statusCode','getBlobData','isBuffer','address','_socket','pluginName','_readyState','destroyed','_generateMask','_closeCode','set','_errorEmitted','allowSynchronousEvents','pathname','Cookie','Maximum\x20redirects\x20exceeded','maskBuffer','servername','\x0d\x0a\x0d\x0a','maxPayload','Upgrade','arrayBuffer','finished','kTarget','unshift','method','cork','_state','readUInt16BE','removeListener','_inflate','path','params','891961AevpUT','kData','_totalPayloadLength','username','listeners','ping','concurrency','hostname','_maxPayload','_protocol','unmask','sec-websocket-key','terminate','construct','WS_NO_BUFFER_UTIL','_readableState','uncork','_removeListeners','reason','Blob','binaryType','_injector','generateMask','getConfig','getData','sec-websocket-extensions','defaultPort','_queue','byteOffset','response','collaboration-client-node.config','clientMaxWindowBits','handleProtocols','write','byteLength','Unsupported\x20protocol\x20version:\x20','_write','websocket','zlibDeflateOptions','_extensions','total-length','finishRequest','Z_DEFAULT_WINDOWBITS','Unexpected\x20character\x20at\x20index\x20','headers','The\x20server\x20is\x20not\x20running','writeUIntBE','fragments','search','toLowerCase','getInfo','text/plain','default','sec-websocket-accept','1731576nyDDit','test','options','onclose','enqueue','\x22:\x20','The\x20URL\x20contains\x20a\x20fragment\x20identifier','socket','format','_closeFrameSent','8yLAGkt','apply','_originalSecure','createInflateRaw','3683748teHbUb','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','redirect','next','kAborted','Upgrade:\x20websocket','Sec-WebSocket-Protocol','keys','WS_ERR_INVALID_CLOSE_CODE','close','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','_closeTimer','skipUTF8Validation','dispatch','warn','clients','dispose','clientNoContextTakeover','isInteger','perMessageDeflate','writeHead','number','value','WS_ERR_UNEXPECTED_RSV_1','getMask','string','ws+unix:','push','6194844LnyyNQ','setHeader','acceptAsClient','STATUS_CODES','_fin','autoPong','_final','Z_SYNC_FLUSH','bind','Invalid\x20Upgrade\x20header','buffer','setTimeout','request','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','WebSocket','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','isValidUTF8','authorization','concurrencyLimit','pong','consume','freeze','finish','normalizeParams','52418msYhyh','createError','WebSocket\x20is\x20not\x20open:\x20readyState\x20','Invalid\x20HTTP\x20method','split','CLOSING','reset','_threshold','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','22624900SOQNeL','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','readable','map','from','wsClientError','createDeflateRaw','jobs','getOwnPropertyDescriptor','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','connect','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','call','registerHTTPInterceptor','wasClean','onStarting','acceptAsServer','_decompress','function','callback','handleUpgrade','http:','Invalid\x20Sec-WebSocket-Extensions\x20header','_options','_no_context_takeover','GET','kWasClean','addEventListener','create','_compress','getPayloadLength64','__esModule','invalid\x20opcode\x200','digest','kListener','_loop','_fragments','invalid\x20payload\x20length\x20','errorEmitted','Unexpected\x20end\x20of\x20input','_allowSynchronousEvents','socketPath','toString','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','_maskBuffer','invalid\x20status\x20code\x20','_req','server_no_context_takeover','_server','unexpected-response','_max_window_bits','controlMessage','WS_ERR_INVALID_UTF8','onopen','fin','readyState','_deflate','https:','protocol','noServer','add','data','size','haveLength','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','end','species','kMessage','_originalHostOrSocketPath','WS_ERR_UNEXPECTED_RSV_2_3','client_no_context_takeover','Invalid\x20value\x20for\x20parameter\x20\x22','objectMode','kType','MASK\x20must\x20be\x20set','serverNoContextTakeover','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','allocUnsafe','_read','RSV1\x20must\x20be\x20clear','defineProperty','upgrade','catch','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','WS_ERR_EXPECTED_MASK','MASK\x20must\x20be\x20clear','mask','cleanup','has','connection','removeEventListener','The\x20URL\x27s\x20pathname\x20is\x20empty','emit','_writableState','_url','_destroy','open','_binaryType','join','kCode','_bufferedAmount','threshold','Module','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','setSocket','base64','status-code','_messageLength','needDrain','isIP','_masked','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','sec-websocket-protocol','_sender','Opening\x20handshake\x20has\x20timed\x20out','env','listen','target','Invalid\x20URL:\x20','_fragmented','WS_NO_UTF_8_VALIDATE','sec-websocket-origin','Origin','offer','host','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','captureStackTrace','hasOwnProperty','server','sendFrame','exports','\x20(supported\x20versions:\x20','get','kError','send','listening','permessage-deflate','verifyClient','endEmitted','setConfig'];_0x2581=function(){return _0x1f065c;};return _0x2581();}import _0x24953e from'events';import _0x6df930 from'https';import _0x28952d from'http';import _0x3f4ea9 from'net';import _0x4b9e25 from'tls';import _0x2d244e from'crypto';import _0x41223a from'stream';import _0x2aafdd from'url';import _0xa384b4 from'zlib';import _0x6f5ab0 from'buffer';import{ISnapshotServerService as _0x2d5253}from'@univerjs-pro/collaboration';const Be=_0x41a477(0x364),Ft={'customHeaders':{}};function _0x1884(_0x105b1f,_0xe4b441){const _0x2581b0=_0x2581();return _0x1884=function(_0x1884c5,_0x39aaca){_0x1884c5=_0x1884c5-0x1ec;let _0x3ac150=_0x2581b0[_0x1884c5];return _0x3ac150;},_0x1884(_0x105b1f,_0xe4b441);}function Wt(_0x1485ca){const _0x3769c3=_0x41a477;return _0x1485ca&&_0x1485ca['__esModule']&&Object[_0x3769c3(0x2c1)][_0x3769c3(0x284)][_0x3769c3(0x210)](_0x1485ca,_0x3769c3(0x37a))?_0x1485ca[_0x3769c3(0x37a)]:_0x1485ca;}function ut(_0x5a9b8d){const _0x1d7f32=_0x41a477;if(Object[_0x1d7f32(0x2c1)][_0x1d7f32(0x284)][_0x1d7f32(0x210)](_0x5a9b8d,'__esModule'))return _0x5a9b8d;var _0x463745=_0x5a9b8d[_0x1d7f32(0x37a)];if(typeof _0x463745==_0x1d7f32(0x216)){var _0x532fd5=function _0x5899df(){const _0x5f35ae=_0x1d7f32;var _0x509d9d=!0x1;try{_0x509d9d=this instanceof _0x5899df;}catch{}return _0x509d9d?Reflect[_0x5f35ae(0x353)](_0x463745,arguments,this['constructor']):_0x463745[_0x5f35ae(0x387)](this,arguments);};_0x532fd5[_0x1d7f32(0x2c1)]=_0x463745[_0x1d7f32(0x2c1)];}else _0x532fd5={};return Object[_0x1d7f32(0x255)](_0x532fd5,_0x1d7f32(0x223),{'value':!0x0}),Object[_0x1d7f32(0x391)](_0x5a9b8d)['forEach'](function(_0x3cee32){const _0x1df541=_0x1d7f32;var _0x4dd15f=Object[_0x1df541(0x20c)](_0x5a9b8d,_0x3cee32);Object[_0x1df541(0x255)](_0x532fd5,_0x3cee32,_0x4dd15f[_0x1df541(0x289)]?_0x4dd15f:{'enumerable':!0x0,'get':function(){return _0x5a9b8d[_0x3cee32];}});}),_0x532fd5;}var te={'exports':{}},ge,Ye;function V(){const _0x6f2f95=_0x41a477;if(Ye)return ge;Ye=0x1;const _0x3c78fa=['nodebuffer',_0x6f2f95(0x2b1),_0x6f2f95(0x375)],_0x37239f=typeof Blob<'u';return _0x37239f&&_0x3c78fa['push'](_0x6f2f95(0x2b0)),ge={'BINARY_TYPES':_0x3c78fa,'EMPTY_BUFFER':Buffer[_0x6f2f95(0x31e)](0x0),'GUID':'258EAFA5-E914-47DA-95CA-C5AB0DC85B11','hasBlob':_0x37239f,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol(_0x6f2f95(0x226)),'kStatusCode':Symbol(_0x6f2f95(0x26f)),'kWebSocket':Symbol(_0x6f2f95(0x36b)),'NOOP':()=>{}},ge;}const jt={},Gt=Object[_0x41a477(0x1f8)](Object['defineProperty']({'__proto__':null,'default':jt},Symbol[_0x41a477(0x2c0)],{'value':_0x41a477(0x26b)})),Vt=ut(Gt);var Ke;function ce(){const _0x34c92a=_0x41a477;if(Ke)return te[_0x34c92a(0x287)];Ke=0x1;const {EMPTY_BUFFER:_0x21d3d7}=V(),_0xade586=Buffer[Symbol[_0x34c92a(0x246)]];function _0x3eadc8(_0x3e6537,_0x1900b1){const _0x3a9da1=_0x34c92a;if(_0x3e6537[_0x3a9da1(0x30c)]===0x0)return _0x21d3d7;if(_0x3e6537[_0x3a9da1(0x30c)]===0x1)return _0x3e6537[0x0];const _0x411d6b=Buffer[_0x3a9da1(0x252)](_0x1900b1);let _0x441a59=0x0;for(let _0x4b5199=0x0;_0x4b5199<_0x3e6537[_0x3a9da1(0x30c)];_0x4b5199++){const _0x43a2d5=_0x3e6537[_0x4b5199];_0x411d6b[_0x3a9da1(0x32f)](_0x43a2d5,_0x441a59),_0x441a59+=_0x43a2d5[_0x3a9da1(0x30c)];}return _0x441a59<_0x1900b1?new _0xade586(_0x411d6b[_0x3a9da1(0x1ed)],_0x411d6b['byteOffset'],_0x441a59):_0x411d6b;}function _0x436f68(_0x3b8df8,_0x1ea13b,_0xa50042,_0x7e0d77,_0x2d1fc6){for(let _0x1bcd9f=0x0;_0x1bcd9f<_0x2d1fc6;_0x1bcd9f++)_0xa50042[_0x7e0d77+_0x1bcd9f]=_0x3b8df8[_0x1bcd9f]^_0x1ea13b[_0x1bcd9f&0x3];}function _0x473e3b(_0x9e28b2,_0x23ca42){const _0x19756e=_0x34c92a;for(let _0x23257e=0x0;_0x23257e<_0x9e28b2[_0x19756e(0x30c)];_0x23257e++)_0x9e28b2[_0x23257e]^=_0x23ca42[_0x23257e&0x3];}function _0x385963(_0x38821d){const _0x30e7c8=_0x34c92a;return _0x38821d[_0x30e7c8(0x30c)]===_0x38821d[_0x30e7c8(0x1ed)][_0x30e7c8(0x368)]?_0x38821d['buffer']:_0x38821d[_0x30e7c8(0x1ed)][_0x30e7c8(0x2a2)](_0x38821d[_0x30e7c8(0x362)],_0x38821d['byteOffset']+_0x38821d[_0x30e7c8(0x30c)]);}function _0x44785f(_0x218271){const _0x5e3859=_0x34c92a;if(_0x44785f['readOnly']=!0x0,Buffer[_0x5e3859(0x327)](_0x218271))return _0x218271;let _0xa67a6b;return _0x218271 instanceof ArrayBuffer?_0xa67a6b=new _0xade586(_0x218271):ArrayBuffer['isView'](_0x218271)?_0xa67a6b=new _0xade586(_0x218271['buffer'],_0x218271[_0x5e3859(0x362)],_0x218271[_0x5e3859(0x368)]):(_0xa67a6b=Buffer[_0x5e3859(0x208)](_0x218271),_0x44785f[_0x5e3859(0x301)]=!0x1),_0xa67a6b;}if(te[_0x34c92a(0x287)]={'concat':_0x3eadc8,'mask':_0x436f68,'toArrayBuffer':_0x385963,'toBuffer':_0x44785f,'unmask':_0x473e3b},!process['env'][_0x34c92a(0x354)])try{const _0x30bae8=Vt;te[_0x34c92a(0x287)]['mask']=function(_0x27bd49,_0x40cab1,_0x2c2b4d,_0x43f588,_0xd0f0a9){const _0xec49f9=_0x34c92a;_0xd0f0a9<0x30?_0x436f68(_0x27bd49,_0x40cab1,_0x2c2b4d,_0x43f588,_0xd0f0a9):_0x30bae8[_0xec49f9(0x25b)](_0x27bd49,_0x40cab1,_0x2c2b4d,_0x43f588,_0xd0f0a9);},te[_0x34c92a(0x287)][_0x34c92a(0x350)]=function(_0x261026,_0x231f00){const _0x43be81=_0x34c92a;_0x261026[_0x43be81(0x30c)]<0x20?_0x473e3b(_0x261026,_0x231f00):_0x30bae8[_0x43be81(0x350)](_0x261026,_0x231f00);};}catch{}return te[_0x34c92a(0x287)];}var ye,Xe;function qt(){const _0x37a058=_0x41a477;if(Xe)return ye;Xe=0x1;const _0x39771f=Symbol(_0x37a058(0x2fa)),_0x292a64=Symbol('kRun');class _0x5365ae{constructor(_0x4b7a73){const _0x1abb25=_0x37a058;this[_0x39771f]=()=>{const _0x59541f=_0x1884;this[_0x59541f(0x29f)]--,this[_0x292a64]();},this[_0x1abb25(0x34c)]=_0x4b7a73||0x1/0x0,this[_0x1abb25(0x20b)]=[],this[_0x1abb25(0x29f)]=0x0;}[_0x37a058(0x240)](_0xb8c0bc){const _0x3f3c3e=_0x37a058;this[_0x3f3c3e(0x20b)][_0x3f3c3e(0x3a6)](_0xb8c0bc),this[_0x292a64]();}[_0x292a64](){const _0x524afb=_0x37a058;if(this[_0x524afb(0x29f)]!==this[_0x524afb(0x34c)]&&this[_0x524afb(0x20b)][_0x524afb(0x30c)]){const _0x42a349=this[_0x524afb(0x20b)][_0x524afb(0x2c4)]();this[_0x524afb(0x29f)]++,_0x42a349(this[_0x39771f]);}}}return ye=_0x5365ae,ye;}var ve,Ze;function he(){const _0x5a9af8=_0x41a477;if(Ze)return ve;Ze=0x1;const _0x1f544d=_0xa384b4,_0x3fa2ba=ce(),_0x1d0208=qt(),{kStatusCode:_0x1b30b8}=V(),_0x14215a=Buffer[Symbol[_0x5a9af8(0x246)]],_0x4a2a30=Buffer[_0x5a9af8(0x208)]([0x0,0x0,0xff,0xff]),_0x2be745=Symbol(_0x5a9af8(0x28d)),_0x5761ca=Symbol(_0x5a9af8(0x36e)),_0x1c62de=Symbol(_0x5a9af8(0x217)),_0x406fa8=Symbol('buffers'),_0x3aabe4=Symbol(_0x5a9af8(0x2cc));let _0xf23a6f;class _0x165f90{constructor(_0x2ba417,_0x434fa5,_0x49a905){const _0x33d443=_0x5a9af8;if(this[_0x33d443(0x34e)]=_0x49a905|0x0,this[_0x33d443(0x21b)]=_0x2ba417||{},this[_0x33d443(0x202)]=this['_options'][_0x33d443(0x26a)]!==void 0x0?this['_options'][_0x33d443(0x26a)]:0x400,this['_isServer']=!!_0x434fa5,this['_deflate']=null,this['_inflate']=null,this[_0x33d443(0x345)]=null,!_0xf23a6f){const _0x5829d1=this[_0x33d443(0x21b)]['concurrencyLimit']!==void 0x0?this[_0x33d443(0x21b)][_0x33d443(0x1f5)]:0xa;_0xf23a6f=new _0x1d0208(_0x5829d1);}}static get[_0x5a9af8(0x2e3)](){const _0x205ba3=_0x5a9af8;return _0x205ba3(0x28d);}[_0x5a9af8(0x280)](){const _0x3ce41d=_0x5a9af8,_0x1fa870={};return this['_options']['serverNoContextTakeover']&&(_0x1fa870['server_no_context_takeover']=!0x0),this[_0x3ce41d(0x21b)][_0x3ce41d(0x39c)]&&(_0x1fa870[_0x3ce41d(0x24a)]=!0x0),this[_0x3ce41d(0x21b)][_0x3ce41d(0x308)]&&(_0x1fa870[_0x3ce41d(0x2b8)]=this[_0x3ce41d(0x21b)]['serverMaxWindowBits']),this[_0x3ce41d(0x21b)]['clientMaxWindowBits']?_0x1fa870[_0x3ce41d(0x2d8)]=this[_0x3ce41d(0x21b)][_0x3ce41d(0x365)]:this['_options'][_0x3ce41d(0x365)]==null&&(_0x1fa870[_0x3ce41d(0x2d8)]=!0x0),_0x1fa870;}[_0x5a9af8(0x2d3)](_0xe54b7e){const _0x56cb6e=_0x5a9af8;return _0xe54b7e=this[_0x56cb6e(0x1fa)](_0xe54b7e),this['params']=this['_isServer']?this['acceptAsServer'](_0xe54b7e):this[_0x56cb6e(0x3a9)](_0xe54b7e),this[_0x56cb6e(0x345)];}[_0x5a9af8(0x25c)](){const _0x5afbea=_0x5a9af8;if(this['_inflate']&&(this[_0x5afbea(0x343)][_0x5afbea(0x393)](),this[_0x5afbea(0x343)]=null),this[_0x5afbea(0x23c)]){const _0x22893e=this[_0x5afbea(0x23c)][_0x1c62de];this[_0x5afbea(0x23c)][_0x5afbea(0x393)](),this[_0x5afbea(0x23c)]=null,_0x22893e&&_0x22893e(new Error(_0x5afbea(0x22f)));}}[_0x5a9af8(0x214)](_0x46d2a9){const _0x2b62cf=_0x5a9af8,_0x31e36a=this['_options'],_0x524ec6=_0x46d2a9['find'](_0x5d66de=>!(_0x31e36a[_0x2b62cf(0x24f)]===!0x1&&_0x5d66de[_0x2b62cf(0x233)]||_0x5d66de[_0x2b62cf(0x2b8)]&&(_0x31e36a[_0x2b62cf(0x308)]===!0x1||typeof _0x31e36a['serverMaxWindowBits']==_0x2b62cf(0x3a0)&&_0x31e36a['serverMaxWindowBits']>_0x5d66de['server_max_window_bits'])||typeof _0x31e36a['clientMaxWindowBits']==_0x2b62cf(0x3a0)&&!_0x5d66de[_0x2b62cf(0x2d8)]));if(!_0x524ec6)throw new Error(_0x2b62cf(0x296));return _0x31e36a[_0x2b62cf(0x24f)]&&(_0x524ec6[_0x2b62cf(0x233)]=!0x0),_0x31e36a['clientNoContextTakeover']&&(_0x524ec6['client_no_context_takeover']=!0x0),typeof _0x31e36a['serverMaxWindowBits']==_0x2b62cf(0x3a0)&&(_0x524ec6['server_max_window_bits']=_0x31e36a[_0x2b62cf(0x308)]),typeof _0x31e36a[_0x2b62cf(0x365)]==_0x2b62cf(0x3a0)?_0x524ec6['client_max_window_bits']=_0x31e36a['clientMaxWindowBits']:(_0x524ec6[_0x2b62cf(0x2d8)]===!0x0||_0x31e36a['clientMaxWindowBits']===!0x1)&&delete _0x524ec6[_0x2b62cf(0x2d8)],_0x524ec6;}[_0x5a9af8(0x3a9)](_0xc162fe){const _0x1e24dd=_0x5a9af8,_0xfb462f=_0xc162fe[0x0];if(this[_0x1e24dd(0x21b)]['clientNoContextTakeover']===!0x1&&_0xfb462f['client_no_context_takeover'])throw new Error(_0x1e24dd(0x251));if(!_0xfb462f['client_max_window_bits'])typeof this[_0x1e24dd(0x21b)]['clientMaxWindowBits']==_0x1e24dd(0x3a0)&&(_0xfb462f['client_max_window_bits']=this[_0x1e24dd(0x21b)]['clientMaxWindowBits']);else{if(this['_options'][_0x1e24dd(0x365)]===!0x1||typeof this[_0x1e24dd(0x21b)][_0x1e24dd(0x365)]==_0x1e24dd(0x3a0)&&_0xfb462f[_0x1e24dd(0x2d8)]>this['_options'][_0x1e24dd(0x365)])throw new Error(_0x1e24dd(0x1f2));}return _0xfb462f;}[_0x5a9af8(0x1fa)](_0x291f8f){const _0x2fd351=_0x5a9af8;return _0x291f8f[_0x2fd351(0x300)](_0x440c49=>{const _0x346d59=_0x2fd351;Object[_0x346d59(0x391)](_0x440c49)['forEach'](_0x4de725=>{const _0x598ca6=_0x346d59;let _0xda5ec6=_0x440c49[_0x4de725];if(_0xda5ec6[_0x598ca6(0x30c)]>0x1)throw new Error('Parameter\x20\x22'+_0x4de725+_0x598ca6(0x31a));if(_0xda5ec6=_0xda5ec6[0x0],_0x4de725===_0x598ca6(0x2d8)){if(_0xda5ec6!==!0x0){const _0x3b0006=+_0xda5ec6;if(!Number[_0x598ca6(0x39d)](_0x3b0006)||_0x3b0006<0x8||_0x3b0006>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x4de725+'\x22:\x20'+_0xda5ec6);_0xda5ec6=_0x3b0006;}else{if(!this[_0x598ca6(0x2a8)])throw new TypeError(_0x598ca6(0x24b)+_0x4de725+_0x598ca6(0x381)+_0xda5ec6);}}else{if(_0x4de725==='server_max_window_bits'){const _0x5737c4=+_0xda5ec6;if(!Number[_0x598ca6(0x39d)](_0x5737c4)||_0x5737c4<0x8||_0x5737c4>0xf)throw new TypeError(_0x598ca6(0x24b)+_0x4de725+_0x598ca6(0x381)+_0xda5ec6);_0xda5ec6=_0x5737c4;}else{if(_0x4de725===_0x598ca6(0x24a)||_0x4de725===_0x598ca6(0x233)){if(_0xda5ec6!==!0x0)throw new TypeError(_0x598ca6(0x24b)+_0x4de725+_0x598ca6(0x381)+_0xda5ec6);}else throw new Error(_0x598ca6(0x319)+_0x4de725+'\x22');}}_0x440c49[_0x4de725]=_0xda5ec6;});}),_0x291f8f;}['decompress'](_0x40ea70,_0x3343e8,_0x595367){const _0x52c940=_0x5a9af8;_0xf23a6f[_0x52c940(0x240)](_0x2ea78c=>{const _0x4422c2=_0x52c940;this[_0x4422c2(0x215)](_0x40ea70,_0x3343e8,(_0x2e0841,_0xffab64)=>{_0x2ea78c(),_0x595367(_0x2e0841,_0xffab64);});});}[_0x5a9af8(0x2e2)](_0x17d9f2,_0x5711a9,_0x4f5e1c){const _0x2bd2e2=_0x5a9af8;_0xf23a6f[_0x2bd2e2(0x240)](_0xa0be96=>{this['_compress'](_0x17d9f2,_0x5711a9,(_0x50393f,_0x2374d0)=>{_0xa0be96(),_0x4f5e1c(_0x50393f,_0x2374d0);});});}[_0x5a9af8(0x215)](_0x534f78,_0x3e79ff,_0x367f67){const _0x4cdc2b=_0x5a9af8,_0x5d3c3b=this[_0x4cdc2b(0x2a8)]?_0x4cdc2b(0x2ee):_0x4cdc2b(0x285);if(!this[_0x4cdc2b(0x343)]){const _0x53f978=_0x5d3c3b+_0x4cdc2b(0x236),_0x497374=typeof this[_0x4cdc2b(0x345)][_0x53f978]!=_0x4cdc2b(0x3a0)?_0x1f544d[_0x4cdc2b(0x370)]:this[_0x4cdc2b(0x345)][_0x53f978];this['_inflate']=_0x1f544d[_0x4cdc2b(0x389)]({...this[_0x4cdc2b(0x21b)][_0x4cdc2b(0x294)],'windowBits':_0x497374}),this[_0x4cdc2b(0x343)][_0x2be745]=this,this[_0x4cdc2b(0x343)][_0x5761ca]=0x0,this[_0x4cdc2b(0x343)][_0x406fa8]=[],this[_0x4cdc2b(0x343)]['on'](_0x4cdc2b(0x2cc),_0x53f7a4),this['_inflate']['on'](_0x4cdc2b(0x241),_0x2b1bda);}this[_0x4cdc2b(0x343)][_0x1c62de]=_0x367f67,this['_inflate'][_0x4cdc2b(0x367)](_0x534f78),_0x3e79ff&&this[_0x4cdc2b(0x343)][_0x4cdc2b(0x367)](_0x4a2a30),this[_0x4cdc2b(0x343)][_0x4cdc2b(0x298)](()=>{const _0x15a59c=_0x4cdc2b,_0x33f9a6=this[_0x15a59c(0x343)][_0x3aabe4];if(_0x33f9a6){this[_0x15a59c(0x343)]['close'](),this[_0x15a59c(0x343)]=null,_0x367f67(_0x33f9a6);return;}const _0x12f321=_0x3fa2ba[_0x15a59c(0x2df)](this[_0x15a59c(0x343)][_0x406fa8],this[_0x15a59c(0x343)][_0x5761ca]);this[_0x15a59c(0x343)][_0x15a59c(0x355)][_0x15a59c(0x28f)]?(this[_0x15a59c(0x343)][_0x15a59c(0x393)](),this[_0x15a59c(0x343)]=null):(this[_0x15a59c(0x343)][_0x5761ca]=0x0,this[_0x15a59c(0x343)][_0x406fa8]=[],_0x3e79ff&&this[_0x15a59c(0x345)][_0x5d3c3b+_0x15a59c(0x21c)]&&this[_0x15a59c(0x343)][_0x15a59c(0x201)]()),_0x367f67(null,_0x12f321);});}[_0x5a9af8(0x221)](_0x1f3efc,_0x18f146,_0x52d9fa){const _0x94681=_0x5a9af8,_0x30819b=this[_0x94681(0x2a8)]?_0x94681(0x285):_0x94681(0x2ee);if(!this[_0x94681(0x23c)]){const _0x14b655=_0x30819b+_0x94681(0x236),_0x4d60c7=typeof this[_0x94681(0x345)][_0x14b655]!='number'?_0x1f544d[_0x94681(0x370)]:this['params'][_0x14b655];this[_0x94681(0x23c)]=_0x1f544d[_0x94681(0x20a)]({...this[_0x94681(0x21b)][_0x94681(0x36c)],'windowBits':_0x4d60c7}),this[_0x94681(0x23c)][_0x5761ca]=0x0,this[_0x94681(0x23c)][_0x406fa8]=[],this[_0x94681(0x23c)]['on']('data',_0x4e3492);}this[_0x94681(0x23c)][_0x1c62de]=_0x52d9fa,this[_0x94681(0x23c)][_0x94681(0x367)](_0x1f3efc),this[_0x94681(0x23c)][_0x94681(0x298)](_0x1f544d[_0x94681(0x3ae)],()=>{const _0x56060b=_0x94681;if(!this[_0x56060b(0x23c)])return;let _0x28029c=_0x3fa2ba['concat'](this[_0x56060b(0x23c)][_0x406fa8],this[_0x56060b(0x23c)][_0x5761ca]);_0x18f146&&(_0x28029c=new _0x14215a(_0x28029c[_0x56060b(0x1ed)],_0x28029c[_0x56060b(0x362)],_0x28029c['length']-0x4)),this[_0x56060b(0x23c)][_0x1c62de]=null,this[_0x56060b(0x23c)][_0x5761ca]=0x0,this[_0x56060b(0x23c)][_0x406fa8]=[],_0x18f146&&this[_0x56060b(0x345)][_0x30819b+_0x56060b(0x21c)]&&this[_0x56060b(0x23c)][_0x56060b(0x201)](),_0x52d9fa(null,_0x28029c);});}}ve=_0x165f90;function _0x4e3492(_0x42ea2e){const _0x1b3b48=_0x5a9af8;this[_0x406fa8][_0x1b3b48(0x3a6)](_0x42ea2e),this[_0x5761ca]+=_0x42ea2e['length'];}function _0x2b1bda(_0x100db5){const _0x3e9fde=_0x5a9af8;if(this[_0x5761ca]+=_0x100db5[_0x3e9fde(0x30c)],this[_0x2be745][_0x3e9fde(0x34e)]<0x1||this[_0x5761ca]<=this[_0x2be745][_0x3e9fde(0x34e)]){this[_0x406fa8][_0x3e9fde(0x3a6)](_0x100db5);return;}this[_0x3aabe4]=new RangeError('Max\x20payload\x20size\x20exceeded'),this[_0x3aabe4]['code']=_0x3e9fde(0x26c),this[_0x3aabe4][_0x1b30b8]=0x3f1,this[_0x3e9fde(0x342)](_0x3e9fde(0x241),_0x2b1bda),this[_0x3e9fde(0x201)]();}function _0x53f7a4(_0x12211a){const _0x204ede=_0x5a9af8;if(this[_0x2be745][_0x204ede(0x343)]=null,this[_0x3aabe4]){this[_0x1c62de](this[_0x3aabe4]);return;}_0x12211a[_0x1b30b8]=0x3ef,this[_0x1c62de](_0x12211a);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x41a477(0x1f8)](Object['defineProperty']({'__proto__':null,'default':Ht},Symbol['toStringTag'],{'value':'Module'})),Yt=ut(zt);var Qe;function ne(){const _0xd66cda=_0x41a477;if(Qe)return re[_0xd66cda(0x287)];Qe=0x1;const {isUtf8:_0x44a869}=_0x6f5ab0,{hasBlob:_0x5f57d3}=V(),_0x396a9c=[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 _0x309c99(_0x4e78c8){return _0x4e78c8>=0x3e8&&_0x4e78c8<=0x3f6&&_0x4e78c8!==0x3ec&&_0x4e78c8!==0x3ed&&_0x4e78c8!==0x3ee||_0x4e78c8>=0xbb8&&_0x4e78c8<=0x1387;}function _0x73508d(_0x48843d){const _0xac611e=_0xd66cda,_0x515024=_0x48843d[_0xac611e(0x30c)];let _0x3cda3f=0x0;for(;_0x3cda3f<_0x515024;)if((_0x48843d[_0x3cda3f]&0x80)===0x0)_0x3cda3f++;else{if((_0x48843d[_0x3cda3f]&0xe0)===0xc0){if(_0x3cda3f+0x1===_0x515024||(_0x48843d[_0x3cda3f+0x1]&0xc0)!==0x80||(_0x48843d[_0x3cda3f]&0xfe)===0xc0)return!0x1;_0x3cda3f+=0x2;}else{if((_0x48843d[_0x3cda3f]&0xf0)===0xe0){if(_0x3cda3f+0x2>=_0x515024||(_0x48843d[_0x3cda3f+0x1]&0xc0)!==0x80||(_0x48843d[_0x3cda3f+0x2]&0xc0)!==0x80||_0x48843d[_0x3cda3f]===0xe0&&(_0x48843d[_0x3cda3f+0x1]&0xe0)===0x80||_0x48843d[_0x3cda3f]===0xed&&(_0x48843d[_0x3cda3f+0x1]&0xe0)===0xa0)return!0x1;_0x3cda3f+=0x3;}else{if((_0x48843d[_0x3cda3f]&0xf8)===0xf0){if(_0x3cda3f+0x3>=_0x515024||(_0x48843d[_0x3cda3f+0x1]&0xc0)!==0x80||(_0x48843d[_0x3cda3f+0x2]&0xc0)!==0x80||(_0x48843d[_0x3cda3f+0x3]&0xc0)!==0x80||_0x48843d[_0x3cda3f]===0xf0&&(_0x48843d[_0x3cda3f+0x1]&0xf0)===0x80||_0x48843d[_0x3cda3f]===0xf4&&_0x48843d[_0x3cda3f+0x1]>0x8f||_0x48843d[_0x3cda3f]>0xf4)return!0x1;_0x3cda3f+=0x4;}else return!0x1;}}}return!0x0;}function _0x3e1f3b(_0x15532e){const _0x24af71=_0xd66cda;return _0x5f57d3&&typeof _0x15532e==_0x24af71(0x291)&&typeof _0x15532e[_0x24af71(0x33a)]=='function'&&typeof _0x15532e[_0x24af71(0x2b6)]==_0x24af71(0x3a4)&&typeof _0x15532e['stream']=='function'&&(_0x15532e[Symbol[_0x24af71(0x2c0)]]===_0x24af71(0x359)||_0x15532e[Symbol[_0x24af71(0x2c0)]]==='File');}if(re[_0xd66cda(0x287)]={'isBlob':_0x3e1f3b,'isValidStatusCode':_0x309c99,'isValidUTF8':_0x73508d,'tokenChars':_0x396a9c},_0x44a869)re[_0xd66cda(0x287)]['isValidUTF8']=function(_0x19228f){return _0x19228f['length']<0x18?_0x73508d(_0x19228f):_0x44a869(_0x19228f);};else{if(!process[_0xd66cda(0x278)][_0xd66cda(0x27d)])try{const _0xb192e=Yt;re[_0xd66cda(0x287)][_0xd66cda(0x1f3)]=function(_0x31659b){return _0x31659b['length']<0x20?_0x73508d(_0x31659b):_0xb192e(_0x31659b);};}catch{}}return re['exports'];}var Se,Je;function dt(){const _0x3fafe2=_0x41a477;if(Je)return Se;Je=0x1;const {Writable:_0x3991be}=_0x41223a,_0xbb0d31=he(),{BINARY_TYPES:_0x4a1bf1,EMPTY_BUFFER:_0x30ef73,kStatusCode:_0xb87dca,kWebSocket:_0x5d7b6e}=V(),{concat:_0x18e3f0,toArrayBuffer:_0x1ab6dc,unmask:_0x15d242}=ce(),{isValidStatusCode:_0x5c34bf,isValidUTF8:_0x4fb26f}=ne(),_0x3c4e6b=Buffer[Symbol[_0x3fafe2(0x246)]],_0x5ad100=0x0,_0x1faa3a=0x1,_0x3fb7ea=0x2,_0x5724f9=0x3,_0x16cda9=0x4,_0x3ed3c8=0x5,_0x130bb9=0x6;class _0x18a995 extends _0x3991be{constructor(_0x31db60={}){const _0x4240ec=_0x3fafe2;super(),this['_allowSynchronousEvents']=_0x31db60[_0x4240ec(0x331)]!==void 0x0?_0x31db60[_0x4240ec(0x331)]:!0x0,this[_0x4240ec(0x266)]=_0x31db60[_0x4240ec(0x35a)]||_0x4a1bf1[0x0],this['_extensions']=_0x31db60['extensions']||{},this[_0x4240ec(0x2a8)]=!!_0x31db60['isServer'],this[_0x4240ec(0x34e)]=_0x31db60[_0x4240ec(0x338)]|0x0,this[_0x4240ec(0x292)]=!!_0x31db60[_0x4240ec(0x397)],this[_0x5d7b6e]=void 0x0,this[_0x4240ec(0x2bb)]=0x0,this[_0x4240ec(0x2a7)]=[],this['_compressed']=!0x1,this[_0x4240ec(0x2cd)]=0x0,this['_mask']=void 0x0,this[_0x4240ec(0x27c)]=0x0,this[_0x4240ec(0x273)]=!0x1,this[_0x4240ec(0x3ab)]=!0x1,this[_0x4240ec(0x2ed)]=0x0,this[_0x4240ec(0x348)]=0x0,this[_0x4240ec(0x270)]=0x0,this['_fragments']=[],this['_errored']=!0x1,this[_0x4240ec(0x227)]=!0x1,this[_0x4240ec(0x340)]=_0x5ad100;}[_0x3fafe2(0x36a)](_0xcbf6df,_0x57e3aa,_0x156bad){const _0x31c556=_0x3fafe2;if(this[_0x31c556(0x2ed)]===0x8&&this['_state']==_0x5ad100)return _0x156bad();this[_0x31c556(0x2bb)]+=_0xcbf6df[_0x31c556(0x30c)],this[_0x31c556(0x2a7)][_0x31c556(0x3a6)](_0xcbf6df),this[_0x31c556(0x2ea)](_0x156bad);}['consume'](_0x52b71c){const _0x4fb797=_0x3fafe2;if(this['_bufferedBytes']-=_0x52b71c,_0x52b71c===this[_0x4fb797(0x2a7)][0x0]['length'])return this['_buffers']['shift']();if(_0x52b71c<this[_0x4fb797(0x2a7)][0x0]['length']){const _0x480e90=this['_buffers'][0x0];return this[_0x4fb797(0x2a7)][0x0]=new _0x3c4e6b(_0x480e90['buffer'],_0x480e90[_0x4fb797(0x362)]+_0x52b71c,_0x480e90[_0x4fb797(0x30c)]-_0x52b71c),new _0x3c4e6b(_0x480e90['buffer'],_0x480e90['byteOffset'],_0x52b71c);}const _0x2147d6=Buffer['allocUnsafe'](_0x52b71c);do{const _0x2dc77c=this['_buffers'][0x0],_0x2cd85c=_0x2147d6[_0x4fb797(0x30c)]-_0x52b71c;_0x52b71c>=_0x2dc77c[_0x4fb797(0x30c)]?_0x2147d6[_0x4fb797(0x32f)](this['_buffers']['shift'](),_0x2cd85c):(_0x2147d6[_0x4fb797(0x32f)](new Uint8Array(_0x2dc77c[_0x4fb797(0x1ed)],_0x2dc77c['byteOffset'],_0x52b71c),_0x2cd85c),this[_0x4fb797(0x2a7)][0x0]=new _0x3c4e6b(_0x2dc77c['buffer'],_0x2dc77c[_0x4fb797(0x362)]+_0x52b71c,_0x2dc77c[_0x4fb797(0x30c)]-_0x52b71c)),_0x52b71c-=_0x2dc77c[_0x4fb797(0x30c)];}while(_0x52b71c>0x0);return _0x2147d6;}[_0x3fafe2(0x2ea)](_0x384cde){const _0x1430d4=_0x3fafe2;this['_loop']=!0x0;do switch(this['_state']){case _0x5ad100:this[_0x1430d4(0x378)](_0x384cde);break;case _0x1faa3a:this['getPayloadLength16'](_0x384cde);break;case _0x3fb7ea:this[_0x1430d4(0x222)](_0x384cde);break;case _0x5724f9:this[_0x1430d4(0x3a3)]();break;case _0x16cda9:this['getData'](_0x384cde);break;case _0x3ed3c8:case _0x130bb9:this[_0x1430d4(0x227)]=!0x1;return;}while(this[_0x1430d4(0x227)]);this['_errored']||_0x384cde();}[_0x3fafe2(0x378)](_0x892381){const _0x49fcf5=_0x3fafe2;if(this[_0x49fcf5(0x2bb)]<0x2){this['_loop']=!0x1;return;}const _0x469517=this['consume'](0x2);if((_0x469517[0x0]&0x30)!==0x0){const _0x4a3607=this[_0x49fcf5(0x1fc)](RangeError,_0x49fcf5(0x2c5),!0x0,0x3ea,_0x49fcf5(0x249));_0x892381(_0x4a3607);return;}const _0x44cd7d=(_0x469517[0x0]&0x40)===0x40;if(_0x44cd7d&&!this[_0x49fcf5(0x36d)][_0xbb0d31[_0x49fcf5(0x2e3)]]){const _0x2079b3=this[_0x49fcf5(0x1fc)](RangeError,_0x49fcf5(0x254),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x892381(_0x2079b3);return;}if(this[_0x49fcf5(0x3ab)]=(_0x469517[0x0]&0x80)===0x80,this[_0x49fcf5(0x2ed)]=_0x469517[0x0]&0xf,this[_0x49fcf5(0x2cd)]=_0x469517[0x1]&0x7f,this[_0x49fcf5(0x2ed)]===0x0){if(_0x44cd7d){const _0x2663d9=this[_0x49fcf5(0x1fc)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x49fcf5(0x3a2));_0x892381(_0x2663d9);return;}if(!this[_0x49fcf5(0x27c)]){const _0x5bd881=this[_0x49fcf5(0x1fc)](RangeError,_0x49fcf5(0x224),!0x0,0x3ea,_0x49fcf5(0x2d6));_0x892381(_0x5bd881);return;}this[_0x49fcf5(0x2ed)]=this[_0x49fcf5(0x27c)];}else{if(this[_0x49fcf5(0x2ed)]===0x1||this[_0x49fcf5(0x2ed)]===0x2){if(this[_0x49fcf5(0x27c)]){const _0x3b2b49=this[_0x49fcf5(0x1fc)](RangeError,_0x49fcf5(0x30b)+this[_0x49fcf5(0x2ed)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x892381(_0x3b2b49);return;}this['_compressed']=_0x44cd7d;}else{if(this['_opcode']>0x7&&this['_opcode']<0xb){if(!this['_fin']){const _0x196768=this[_0x49fcf5(0x1fc)](RangeError,'FIN\x20must\x20be\x20set',!0x0,0x3ea,_0x49fcf5(0x306));_0x892381(_0x196768);return;}if(_0x44cd7d){const _0x452ab3=this['createError'](RangeError,_0x49fcf5(0x254),!0x0,0x3ea,_0x49fcf5(0x3a2));_0x892381(_0x452ab3);return;}if(this[_0x49fcf5(0x2cd)]>0x7d||this[_0x49fcf5(0x2ed)]===0x8&&this[_0x49fcf5(0x2cd)]===0x1){const _0x2f5041=this['createError'](RangeError,_0x49fcf5(0x229)+this[_0x49fcf5(0x2cd)],!0x0,0x3ea,_0x49fcf5(0x258));_0x892381(_0x2f5041);return;}}else{const _0x20b96a=this[_0x49fcf5(0x1fc)](RangeError,_0x49fcf5(0x30b)+this[_0x49fcf5(0x2ed)],!0x0,0x3ea,_0x49fcf5(0x2d6));_0x892381(_0x20b96a);return;}}}if(!this[_0x49fcf5(0x3ab)]&&!this[_0x49fcf5(0x27c)]&&(this[_0x49fcf5(0x27c)]=this[_0x49fcf5(0x2ed)]),this[_0x49fcf5(0x273)]=(_0x469517[0x1]&0x80)===0x80,this[_0x49fcf5(0x2a8)]){if(!this['_masked']){const _0x5c5af1=this['createError'](RangeError,_0x49fcf5(0x24e),!0x0,0x3ea,_0x49fcf5(0x259));_0x892381(_0x5c5af1);return;}}else{if(this[_0x49fcf5(0x273)]){const _0x565161=this[_0x49fcf5(0x1fc)](RangeError,_0x49fcf5(0x25a),!0x0,0x3ea,_0x49fcf5(0x2a6));_0x892381(_0x565161);return;}}this[_0x49fcf5(0x2cd)]===0x7e?this['_state']=_0x1faa3a:this[_0x49fcf5(0x2cd)]===0x7f?this[_0x49fcf5(0x340)]=_0x3fb7ea:this[_0x49fcf5(0x243)](_0x892381);}[_0x3fafe2(0x2e5)](_0x47895f){const _0x1ef239=_0x3fafe2;if(this['_bufferedBytes']<0x2){this['_loop']=!0x1;return;}this[_0x1ef239(0x2cd)]=this[_0x1ef239(0x1f7)](0x2)[_0x1ef239(0x341)](0x0),this[_0x1ef239(0x243)](_0x47895f);}['getPayloadLength64'](_0x2ddf3d){const _0x135c0f=_0x3fafe2;if(this[_0x135c0f(0x2bb)]<0x8){this[_0x135c0f(0x227)]=!0x1;return;}const _0x3f7008=this['consume'](0x8),_0x5342ad=_0x3f7008[_0x135c0f(0x2ca)](0x0);if(_0x5342ad>Math['pow'](0x2,0x15)-0x1){const _0x5d50b7=this['createError'](RangeError,_0x135c0f(0x2be),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH');_0x2ddf3d(_0x5d50b7);return;}this[_0x135c0f(0x2cd)]=_0x5342ad*Math[_0x135c0f(0x321)](0x2,0x20)+_0x3f7008[_0x135c0f(0x2ca)](0x4),this[_0x135c0f(0x243)](_0x2ddf3d);}['haveLength'](_0x21bcbb){const _0x4ec14d=_0x3fafe2;if(this[_0x4ec14d(0x2cd)]&&this[_0x4ec14d(0x2ed)]<0x8&&(this['_totalPayloadLength']+=this[_0x4ec14d(0x2cd)],this['_totalPayloadLength']>this[_0x4ec14d(0x34e)]&&this[_0x4ec14d(0x34e)]>0x0)){const _0x3286fc=this[_0x4ec14d(0x1fc)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x21bcbb(_0x3286fc);return;}this[_0x4ec14d(0x273)]?this[_0x4ec14d(0x340)]=_0x5724f9:this[_0x4ec14d(0x340)]=_0x16cda9;}[_0x3fafe2(0x3a3)](){const _0x252295=_0x3fafe2;if(this['_bufferedBytes']<0x4){this[_0x252295(0x227)]=!0x1;return;}this[_0x252295(0x2de)]=this['consume'](0x4),this[_0x252295(0x340)]=_0x16cda9;}[_0x3fafe2(0x35e)](_0x38f883){const _0x2a7a2d=_0x3fafe2;let _0x4b0fc0=_0x30ef73;if(this[_0x2a7a2d(0x2cd)]){if(this[_0x2a7a2d(0x2bb)]<this[_0x2a7a2d(0x2cd)]){this[_0x2a7a2d(0x227)]=!0x1;return;}_0x4b0fc0=this[_0x2a7a2d(0x1f7)](this[_0x2a7a2d(0x2cd)]),this[_0x2a7a2d(0x273)]&&(this[_0x2a7a2d(0x2de)][0x0]|this['_mask'][0x1]|this[_0x2a7a2d(0x2de)][0x2]|this[_0x2a7a2d(0x2de)][0x3])!==0x0&&_0x15d242(_0x4b0fc0,this[_0x2a7a2d(0x2de)]);}if(this[_0x2a7a2d(0x2ed)]>0x7){this[_0x2a7a2d(0x237)](_0x4b0fc0,_0x38f883);return;}if(this[_0x2a7a2d(0x29d)]){this[_0x2a7a2d(0x340)]=_0x3ed3c8,this['decompress'](_0x4b0fc0,_0x38f883);return;}_0x4b0fc0[_0x2a7a2d(0x30c)]&&(this[_0x2a7a2d(0x270)]=this[_0x2a7a2d(0x348)],this[_0x2a7a2d(0x228)][_0x2a7a2d(0x3a6)](_0x4b0fc0)),this[_0x2a7a2d(0x2bd)](_0x38f883);}[_0x3fafe2(0x2dc)](_0x101eb8,_0x48133f){const _0x274224=_0x3fafe2;this[_0x274224(0x36d)][_0xbb0d31[_0x274224(0x2e3)]][_0x274224(0x2dc)](_0x101eb8,this['_fin'],(_0x5a7602,_0x46ef4f)=>{const _0x567e3c=_0x274224;if(_0x5a7602)return _0x48133f(_0x5a7602);if(_0x46ef4f[_0x567e3c(0x30c)]){if(this[_0x567e3c(0x270)]+=_0x46ef4f[_0x567e3c(0x30c)],this['_messageLength']>this[_0x567e3c(0x34e)]&&this[_0x567e3c(0x34e)]>0x0){const _0x522a55=this[_0x567e3c(0x1fc)](RangeError,_0x567e3c(0x322),!0x1,0x3f1,_0x567e3c(0x26c));_0x48133f(_0x522a55);return;}this[_0x567e3c(0x228)]['push'](_0x46ef4f);}this[_0x567e3c(0x2bd)](_0x48133f),this[_0x567e3c(0x340)]===_0x5ad100&&this['startLoop'](_0x48133f);});}[_0x3fafe2(0x2bd)](_0x2ea0bb){const _0xb3b6e3=_0x3fafe2;if(!this[_0xb3b6e3(0x3ab)]){this[_0xb3b6e3(0x340)]=_0x5ad100;return;}const _0x134d1c=this[_0xb3b6e3(0x270)],_0x289c2b=this[_0xb3b6e3(0x228)];if(this['_totalPayloadLength']=0x0,this[_0xb3b6e3(0x270)]=0x0,this[_0xb3b6e3(0x27c)]=0x0,this['_fragments']=[],this[_0xb3b6e3(0x2ed)]===0x2){let _0x14c39a;this[_0xb3b6e3(0x266)]==='nodebuffer'?_0x14c39a=_0x18e3f0(_0x289c2b,_0x134d1c):this['_binaryType']==='arraybuffer'?_0x14c39a=_0x1ab6dc(_0x18e3f0(_0x289c2b,_0x134d1c)):this['_binaryType']===_0xb3b6e3(0x2b0)?_0x14c39a=new Blob(_0x289c2b):_0x14c39a=_0x289c2b,this[_0xb3b6e3(0x22c)]?(this[_0xb3b6e3(0x261)](_0xb3b6e3(0x2fb),_0x14c39a,!0x0),this['_state']=_0x5ad100):(this[_0xb3b6e3(0x340)]=_0x130bb9,setImmediate(()=>{const _0x2c074e=_0xb3b6e3;this[_0x2c074e(0x261)](_0x2c074e(0x2fb),_0x14c39a,!0x0),this[_0x2c074e(0x340)]=_0x5ad100,this['startLoop'](_0x2ea0bb);}));}else{const _0x40b77a=_0x18e3f0(_0x289c2b,_0x134d1c);if(!this[_0xb3b6e3(0x292)]&&!_0x4fb26f(_0x40b77a)){const _0x4f9c1b=this[_0xb3b6e3(0x1fc)](Error,_0xb3b6e3(0x2da),!0x0,0x3ef,_0xb3b6e3(0x238));_0x2ea0bb(_0x4f9c1b);return;}this[_0xb3b6e3(0x340)]===_0x3ed3c8||this['_allowSynchronousEvents']?(this[_0xb3b6e3(0x261)](_0xb3b6e3(0x2fb),_0x40b77a,!0x1),this['_state']=_0x5ad100):(this[_0xb3b6e3(0x340)]=_0x130bb9,setImmediate(()=>{const _0x219a71=_0xb3b6e3;this[_0x219a71(0x261)](_0x219a71(0x2fb),_0x40b77a,!0x1),this[_0x219a71(0x340)]=_0x5ad100,this[_0x219a71(0x2ea)](_0x2ea0bb);}));}}[_0x3fafe2(0x237)](_0x1765a5,_0x4758b8){const _0x59e8e2=_0x3fafe2;if(this['_opcode']===0x8){if(_0x1765a5[_0x59e8e2(0x30c)]===0x0)this['_loop']=!0x1,this[_0x59e8e2(0x261)]('conclude',0x3ed,_0x30ef73),this[_0x59e8e2(0x245)]();else{const _0x3743b3=_0x1765a5[_0x59e8e2(0x341)](0x0);if(!_0x5c34bf(_0x3743b3)){const _0x5c65d7=this[_0x59e8e2(0x1fc)](RangeError,_0x59e8e2(0x231)+_0x3743b3,!0x0,0x3ea,_0x59e8e2(0x392));_0x4758b8(_0x5c65d7);return;}const _0x5d7751=new _0x3c4e6b(_0x1765a5[_0x59e8e2(0x1ed)],_0x1765a5[_0x59e8e2(0x362)]+0x2,_0x1765a5[_0x59e8e2(0x30c)]-0x2);if(!this['_skipUTF8Validation']&&!_0x4fb26f(_0x5d7751)){const _0x2a56c4=this[_0x59e8e2(0x1fc)](Error,_0x59e8e2(0x2da),!0x0,0x3ef,_0x59e8e2(0x238));_0x4758b8(_0x2a56c4);return;}this[_0x59e8e2(0x227)]=!0x1,this[_0x59e8e2(0x261)]('conclude',_0x3743b3,_0x5d7751),this[_0x59e8e2(0x245)]();}this[_0x59e8e2(0x340)]=_0x5ad100;return;}this[_0x59e8e2(0x22c)]?(this[_0x59e8e2(0x261)](this[_0x59e8e2(0x2ed)]===0x9?_0x59e8e2(0x34b):_0x59e8e2(0x1f6),_0x1765a5),this[_0x59e8e2(0x340)]=_0x5ad100):(this[_0x59e8e2(0x340)]=_0x130bb9,setImmediate(()=>{const _0x2b3d9c=_0x59e8e2;this['emit'](this['_opcode']===0x9?_0x2b3d9c(0x34b):_0x2b3d9c(0x1f6),_0x1765a5),this[_0x2b3d9c(0x340)]=_0x5ad100,this[_0x2b3d9c(0x2ea)](_0x4758b8);}));}[_0x3fafe2(0x1fc)](_0x47ab01,_0x308c14,_0x3ad34b,_0x52d7dc,_0x4ebc3e){const _0x1aeeb4=_0x3fafe2;this['_loop']=!0x1,this[_0x1aeeb4(0x2f7)]=!0x0;const _0x40a3bd=new _0x47ab01(_0x3ad34b?_0x1aeeb4(0x2e1)+_0x308c14:_0x308c14);return Error[_0x1aeeb4(0x283)](_0x40a3bd,this['createError']),_0x40a3bd['code']=_0x4ebc3e,_0x40a3bd[_0xb87dca]=_0x52d7dc,_0x40a3bd;}}return Se=_0x18a995,Se;}var Ee,et;function _t(){const _0x4283ad=_0x41a477;if(et)return Ee;et=0x1;const {Duplex:_0x4c6f68}=_0x41223a,{randomFillSync:_0x5ad2c6}=_0x2d244e,_0xe58c03=he(),{EMPTY_BUFFER:_0x4d720e,kWebSocket:_0x2c446b,NOOP:_0x1907d5}=V(),{isBlob:_0x422f0e,isValidStatusCode:_0xfdc156}=ne(),{mask:_0x2aec96,toBuffer:_0x596cb3}=ce(),_0x796d76=Symbol(_0x4283ad(0x2fd)),_0x467553=Buffer[_0x4283ad(0x31e)](0x4),_0x4125ee=0x8*0x400;let _0x729341,_0x4fa8b9=_0x4125ee;const _0x42d663=0x0,_0x4418c1=0x1,_0x325de0=0x2;class _0x315055{constructor(_0x4d8ca6,_0x2d2e99,_0x40b543){const _0x4dd740=_0x4283ad;this[_0x4dd740(0x36d)]=_0x2d2e99||{},_0x40b543&&(this[_0x4dd740(0x32d)]=_0x40b543,this[_0x4dd740(0x230)]=Buffer[_0x4dd740(0x31e)](0x4)),this['_socket']=_0x4d8ca6,this[_0x4dd740(0x320)]=!0x0,this[_0x4dd740(0x221)]=!0x1,this[_0x4dd740(0x2bb)]=0x0,this[_0x4dd740(0x361)]=[],this[_0x4dd740(0x340)]=_0x42d663,this[_0x4dd740(0x30d)]=_0x1907d5,this[_0x2c446b]=void 0x0;}static[_0x4283ad(0x2db)](_0x1762cc,_0x3dcadf){const _0x4e1980=_0x4283ad;let _0x5d0c54,_0x70ac63=!0x1,_0x46bf62=0x2,_0x3bbaa4=!0x1;_0x3dcadf['mask']&&(_0x5d0c54=_0x3dcadf[_0x4e1980(0x335)]||_0x467553,_0x3dcadf[_0x4e1980(0x35c)]?_0x3dcadf[_0x4e1980(0x35c)](_0x5d0c54):(_0x4fa8b9===_0x4125ee&&(_0x729341===void 0x0&&(_0x729341=Buffer[_0x4e1980(0x31e)](_0x4125ee)),_0x5ad2c6(_0x729341,0x0,_0x4125ee),_0x4fa8b9=0x0),_0x5d0c54[0x0]=_0x729341[_0x4fa8b9++],_0x5d0c54[0x1]=_0x729341[_0x4fa8b9++],_0x5d0c54[0x2]=_0x729341[_0x4fa8b9++],_0x5d0c54[0x3]=_0x729341[_0x4fa8b9++]),_0x3bbaa4=(_0x5d0c54[0x0]|_0x5d0c54[0x1]|_0x5d0c54[0x2]|_0x5d0c54[0x3])===0x0,_0x46bf62=0x6);let _0x314b76;typeof _0x1762cc=='string'?(!_0x3dcadf[_0x4e1980(0x25b)]||_0x3bbaa4)&&_0x3dcadf[_0x796d76]!==void 0x0?_0x314b76=_0x3dcadf[_0x796d76]:(_0x1762cc=Buffer[_0x4e1980(0x208)](_0x1762cc),_0x314b76=_0x1762cc[_0x4e1980(0x30c)]):(_0x314b76=_0x1762cc['length'],_0x70ac63=_0x3dcadf[_0x4e1980(0x25b)]&&_0x3dcadf[_0x4e1980(0x301)]&&!_0x3bbaa4);let _0x18941a=_0x314b76;_0x314b76>=0x10000?(_0x46bf62+=0x8,_0x18941a=0x7f):_0x314b76>0x7d&&(_0x46bf62+=0x2,_0x18941a=0x7e);const _0x1129b1=Buffer['allocUnsafe'](_0x70ac63?_0x314b76+_0x46bf62:_0x46bf62);return _0x1129b1[0x0]=_0x3dcadf[_0x4e1980(0x23a)]?_0x3dcadf[_0x4e1980(0x2ce)]|0x80:_0x3dcadf[_0x4e1980(0x2ce)],_0x3dcadf['rsv1']&&(_0x1129b1[0x0]|=0x40),_0x1129b1[0x1]=_0x18941a,_0x18941a===0x7e?_0x1129b1[_0x4e1980(0x2f4)](_0x314b76,0x2):_0x18941a===0x7f&&(_0x1129b1[0x2]=_0x1129b1[0x3]=0x0,_0x1129b1[_0x4e1980(0x374)](_0x314b76,0x4,0x6)),_0x3dcadf[_0x4e1980(0x25b)]?(_0x1129b1[0x1]|=0x80,_0x1129b1[_0x46bf62-0x4]=_0x5d0c54[0x0],_0x1129b1[_0x46bf62-0x3]=_0x5d0c54[0x1],_0x1129b1[_0x46bf62-0x2]=_0x5d0c54[0x2],_0x1129b1[_0x46bf62-0x1]=_0x5d0c54[0x3],_0x3bbaa4?[_0x1129b1,_0x1762cc]:_0x70ac63?(_0x2aec96(_0x1762cc,_0x5d0c54,_0x1129b1,_0x46bf62,_0x314b76),[_0x1129b1]):(_0x2aec96(_0x1762cc,_0x5d0c54,_0x1762cc,0x0,_0x314b76),[_0x1129b1,_0x1762cc])):[_0x1129b1,_0x1762cc];}[_0x4283ad(0x393)](_0x2634b5,_0x2a73d4,_0x911de7,_0x4776b4){const _0x255d75=_0x4283ad;let _0x5c05d9;if(_0x2634b5===void 0x0)_0x5c05d9=_0x4d720e;else{if(typeof _0x2634b5!=_0x255d75(0x3a0)||!_0xfdc156(_0x2634b5))throw new TypeError('First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number');if(_0x2a73d4===void 0x0||!_0x2a73d4[_0x255d75(0x30c)])_0x5c05d9=Buffer[_0x255d75(0x252)](0x2),_0x5c05d9[_0x255d75(0x2f4)](_0x2634b5,0x0);else{const _0x19dc56=Buffer[_0x255d75(0x368)](_0x2a73d4);if(_0x19dc56>0x7b)throw new RangeError(_0x255d75(0x302));_0x5c05d9=Buffer[_0x255d75(0x252)](0x2+_0x19dc56),_0x5c05d9[_0x255d75(0x2f4)](_0x2634b5,0x0),typeof _0x2a73d4==_0x255d75(0x3a4)?_0x5c05d9['write'](_0x2a73d4,0x2):_0x5c05d9['set'](_0x2a73d4,0x2);}}const _0x181f16={[_0x796d76]:_0x5c05d9[_0x255d75(0x30c)],'fin':!0x0,'generateMask':this[_0x255d75(0x32d)],'mask':_0x911de7,'maskBuffer':this[_0x255d75(0x230)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x255d75(0x340)]!==_0x42d663?this[_0x255d75(0x380)]([this['dispatch'],_0x5c05d9,!0x1,_0x181f16,_0x4776b4]):this[_0x255d75(0x286)](_0x315055['frame'](_0x5c05d9,_0x181f16),_0x4776b4);}[_0x4283ad(0x34b)](_0x48a8ec,_0x1b1690,_0x170c63){const _0x4dd606=_0x4283ad;let _0x159a2e,_0x2632fb;if(typeof _0x48a8ec==_0x4dd606(0x3a4)?(_0x159a2e=Buffer[_0x4dd606(0x368)](_0x48a8ec),_0x2632fb=!0x1):_0x422f0e(_0x48a8ec)?(_0x159a2e=_0x48a8ec[_0x4dd606(0x242)],_0x2632fb=!0x1):(_0x48a8ec=_0x596cb3(_0x48a8ec),_0x159a2e=_0x48a8ec[_0x4dd606(0x30c)],_0x2632fb=_0x596cb3[_0x4dd606(0x301)]),_0x159a2e>0x7d)throw new RangeError(_0x4dd606(0x2e4));const _0x144fd8={[_0x796d76]:_0x159a2e,'fin':!0x0,'generateMask':this[_0x4dd606(0x32d)],'mask':_0x1b1690,'maskBuffer':this['_maskBuffer'],'opcode':0x9,'readOnly':_0x2632fb,'rsv1':!0x1};_0x422f0e(_0x48a8ec)?this[_0x4dd606(0x340)]!==_0x42d663?this[_0x4dd606(0x380)]([this[_0x4dd606(0x326)],_0x48a8ec,!0x1,_0x144fd8,_0x170c63]):this[_0x4dd606(0x326)](_0x48a8ec,!0x1,_0x144fd8,_0x170c63):this['_state']!==_0x42d663?this[_0x4dd606(0x380)]([this[_0x4dd606(0x398)],_0x48a8ec,!0x1,_0x144fd8,_0x170c63]):this[_0x4dd606(0x286)](_0x315055[_0x4dd606(0x2db)](_0x48a8ec,_0x144fd8),_0x170c63);}[_0x4283ad(0x1f6)](_0x1ebedc,_0x1d765c,_0x36dc76){const _0x3907cd=_0x4283ad;let _0x440e1d,_0x3c8e58;if(typeof _0x1ebedc=='string'?(_0x440e1d=Buffer[_0x3907cd(0x368)](_0x1ebedc),_0x3c8e58=!0x1):_0x422f0e(_0x1ebedc)?(_0x440e1d=_0x1ebedc[_0x3907cd(0x242)],_0x3c8e58=!0x1):(_0x1ebedc=_0x596cb3(_0x1ebedc),_0x440e1d=_0x1ebedc[_0x3907cd(0x30c)],_0x3c8e58=_0x596cb3[_0x3907cd(0x301)]),_0x440e1d>0x7d)throw new RangeError(_0x3907cd(0x2e4));const _0x189c55={[_0x796d76]:_0x440e1d,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x1d765c,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x3c8e58,'rsv1':!0x1};_0x422f0e(_0x1ebedc)?this['_state']!==_0x42d663?this[_0x3907cd(0x380)]([this[_0x3907cd(0x326)],_0x1ebedc,!0x1,_0x189c55,_0x36dc76]):this['getBlobData'](_0x1ebedc,!0x1,_0x189c55,_0x36dc76):this[_0x3907cd(0x340)]!==_0x42d663?this[_0x3907cd(0x380)]([this[_0x3907cd(0x398)],_0x1ebedc,!0x1,_0x189c55,_0x36dc76]):this[_0x3907cd(0x286)](_0x315055['frame'](_0x1ebedc,_0x189c55),_0x36dc76);}[_0x4283ad(0x28b)](_0x4391ff,_0x108e80,_0x2fad55){const _0x57e40b=_0x4283ad,_0x4066ab=this[_0x57e40b(0x36d)][_0xe58c03['extensionName']];let _0x36c8ad=_0x108e80['binary']?0x2:0x1,_0x5a0626=_0x108e80[_0x57e40b(0x2e2)],_0x3ae87e,_0x2dc318;typeof _0x4391ff==_0x57e40b(0x3a4)?(_0x3ae87e=Buffer['byteLength'](_0x4391ff),_0x2dc318=!0x1):_0x422f0e(_0x4391ff)?(_0x3ae87e=_0x4391ff[_0x57e40b(0x242)],_0x2dc318=!0x1):(_0x4391ff=_0x596cb3(_0x4391ff),_0x3ae87e=_0x4391ff['length'],_0x2dc318=_0x596cb3[_0x57e40b(0x301)]),this['_firstFragment']?(this[_0x57e40b(0x320)]=!0x1,_0x5a0626&&_0x4066ab&&_0x4066ab[_0x57e40b(0x345)][_0x4066ab[_0x57e40b(0x2a8)]?_0x57e40b(0x233):_0x57e40b(0x24a)]&&(_0x5a0626=_0x3ae87e>=_0x4066ab[_0x57e40b(0x202)]),this[_0x57e40b(0x221)]=_0x5a0626):(_0x5a0626=!0x1,_0x36c8ad=0x0),_0x108e80[_0x57e40b(0x23a)]&&(this[_0x57e40b(0x320)]=!0x0);const _0x364eda={[_0x796d76]:_0x3ae87e,'fin':_0x108e80[_0x57e40b(0x23a)],'generateMask':this[_0x57e40b(0x32d)],'mask':_0x108e80[_0x57e40b(0x25b)],'maskBuffer':this[_0x57e40b(0x230)],'opcode':_0x36c8ad,'readOnly':_0x2dc318,'rsv1':_0x5a0626};_0x422f0e(_0x4391ff)?this[_0x57e40b(0x340)]!==_0x42d663?this['enqueue']([this['getBlobData'],_0x4391ff,this[_0x57e40b(0x221)],_0x364eda,_0x2fad55]):this[_0x57e40b(0x326)](_0x4391ff,this[_0x57e40b(0x221)],_0x364eda,_0x2fad55):this[_0x57e40b(0x340)]!==_0x42d663?this[_0x57e40b(0x380)]([this['dispatch'],_0x4391ff,this[_0x57e40b(0x221)],_0x364eda,_0x2fad55]):this[_0x57e40b(0x398)](_0x4391ff,this['_compress'],_0x364eda,_0x2fad55);}[_0x4283ad(0x326)](_0x2cb7d6,_0x177ed4,_0xc89566,_0x46af02){const _0x5c75d0=_0x4283ad;this[_0x5c75d0(0x2bb)]+=_0xc89566[_0x796d76],this[_0x5c75d0(0x340)]=_0x325de0,_0x2cb7d6[_0x5c75d0(0x33a)]()[_0x5c75d0(0x2ac)](_0x1b8491=>{const _0x43f546=_0x5c75d0;if(this['_socket'][_0x43f546(0x32c)]){const _0x273973=new Error(_0x43f546(0x20d));process[_0x43f546(0x2e8)](_0x299fa8,this,_0x273973,_0x46af02);return;}this['_bufferedBytes']-=_0xc89566[_0x796d76];const _0x3ea67c=_0x596cb3(_0x1b8491);_0x177ed4?this[_0x43f546(0x398)](_0x3ea67c,_0x177ed4,_0xc89566,_0x46af02):(this[_0x43f546(0x340)]=_0x42d663,this[_0x43f546(0x286)](_0x315055[_0x43f546(0x2db)](_0x3ea67c,_0xc89566),_0x46af02),this[_0x43f546(0x2bf)]());})[_0x5c75d0(0x257)](_0x1c1543=>{const _0xd41e44=_0x5c75d0;process[_0xd41e44(0x2e8)](_0xa9cdd5,this,_0x1c1543,_0x46af02);});}[_0x4283ad(0x398)](_0x48e1e9,_0x482fa0,_0x2c5ee1,_0x2772f1){const _0x4bd10=_0x4283ad;if(!_0x482fa0){this[_0x4bd10(0x286)](_0x315055[_0x4bd10(0x2db)](_0x48e1e9,_0x2c5ee1),_0x2772f1);return;}const _0x2a0408=this[_0x4bd10(0x36d)][_0xe58c03[_0x4bd10(0x2e3)]];this[_0x4bd10(0x2bb)]+=_0x2c5ee1[_0x796d76],this[_0x4bd10(0x340)]=_0x4418c1,_0x2a0408[_0x4bd10(0x2e2)](_0x48e1e9,_0x2c5ee1['fin'],(_0x5e89d3,_0x1d8b3b)=>{const _0x210e64=_0x4bd10;if(this['_socket']['destroyed']){const _0xc0e9c7=new Error(_0x210e64(0x244));_0x299fa8(this,_0xc0e9c7,_0x2772f1);return;}this['_bufferedBytes']-=_0x2c5ee1[_0x796d76],this[_0x210e64(0x340)]=_0x42d663,_0x2c5ee1['readOnly']=!0x1,this[_0x210e64(0x286)](_0x315055[_0x210e64(0x2db)](_0x1d8b3b,_0x2c5ee1),_0x2772f1),this['dequeue']();});}[_0x4283ad(0x2bf)](){const _0x4dbd12=_0x4283ad;for(;this[_0x4dbd12(0x340)]===_0x42d663&&this[_0x4dbd12(0x361)][_0x4dbd12(0x30c)];){const _0x260d77=this['_queue'][_0x4dbd12(0x2c4)]();this[_0x4dbd12(0x2bb)]-=_0x260d77[0x3][_0x796d76],Reflect['apply'](_0x260d77[0x0],this,_0x260d77['slice'](0x1));}}[_0x4283ad(0x380)](_0x13bad2){const _0x29643a=_0x4283ad;this['_bufferedBytes']+=_0x13bad2[0x3][_0x796d76],this[_0x29643a(0x361)][_0x29643a(0x3a6)](_0x13bad2);}[_0x4283ad(0x286)](_0x623faa,_0x11078a){const _0x4450ce=_0x4283ad;_0x623faa[_0x4450ce(0x30c)]===0x2?(this[_0x4450ce(0x329)][_0x4450ce(0x33f)](),this[_0x4450ce(0x329)][_0x4450ce(0x367)](_0x623faa[0x0]),this['_socket'][_0x4450ce(0x367)](_0x623faa[0x1],_0x11078a),this[_0x4450ce(0x329)][_0x4450ce(0x356)]()):this[_0x4450ce(0x329)]['write'](_0x623faa[0x0],_0x11078a);}}Ee=_0x315055;function _0x299fa8(_0x88463f,_0x263e4a,_0x54a19e){const _0x21a299=_0x4283ad;typeof _0x54a19e==_0x21a299(0x216)&&_0x54a19e(_0x263e4a);for(let _0x160358=0x0;_0x160358<_0x88463f['_queue'][_0x21a299(0x30c)];_0x160358++){const _0x17ebd=_0x88463f['_queue'][_0x160358],_0x262ee0=_0x17ebd[_0x17ebd[_0x21a299(0x30c)]-0x1];typeof _0x262ee0==_0x21a299(0x216)&&_0x262ee0(_0x263e4a);}}function _0xa9cdd5(_0x50e390,_0x11bb52,_0x2d4ab4){const _0x304314=_0x4283ad;_0x299fa8(_0x50e390,_0x11bb52,_0x2d4ab4),_0x50e390[_0x304314(0x30d)](_0x11bb52);}return Ee;}var xe,tt;function Kt(){const _0x48297d=_0x41a477;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x59df11,kListener:_0x344cc3}=V(),_0x292eb1=Symbol(_0x48297d(0x268)),_0x437eea=Symbol(_0x48297d(0x347)),_0x5a5758=Symbol(_0x48297d(0x28a)),_0x365818=Symbol(_0x48297d(0x247)),_0x41d2e3=Symbol(_0x48297d(0x2f3)),_0x26394a=Symbol(_0x48297d(0x33c)),_0x1b9e47=Symbol(_0x48297d(0x24d)),_0x4d7e65=Symbol(_0x48297d(0x21e));class _0x1ecdf4{constructor(_0x3483b3){this[_0x26394a]=null,this[_0x1b9e47]=_0x3483b3;}get[_0x48297d(0x27a)](){return this[_0x26394a];}get[_0x48297d(0x2b6)](){return this[_0x1b9e47];}}Object[_0x48297d(0x255)](_0x1ecdf4['prototype'],_0x48297d(0x27a),{'enumerable':!0x0}),Object[_0x48297d(0x255)](_0x1ecdf4[_0x48297d(0x2c1)],_0x48297d(0x2b6),{'enumerable':!0x0});class _0x4d3ab5 extends _0x1ecdf4{constructor(_0x2f2018,_0x890fd1={}){const _0x3b04a5=_0x48297d;super(_0x2f2018),this[_0x292eb1]=_0x890fd1[_0x3b04a5(0x2c8)]===void 0x0?0x0:_0x890fd1[_0x3b04a5(0x2c8)],this[_0x41d2e3]=_0x890fd1[_0x3b04a5(0x358)]===void 0x0?'':_0x890fd1['reason'],this[_0x4d7e65]=_0x890fd1[_0x3b04a5(0x212)]===void 0x0?!0x1:_0x890fd1[_0x3b04a5(0x212)];}get[_0x48297d(0x2c8)](){return this[_0x292eb1];}get[_0x48297d(0x358)](){return this[_0x41d2e3];}get[_0x48297d(0x212)](){return this[_0x4d7e65];}}Object[_0x48297d(0x255)](_0x4d3ab5['prototype'],_0x48297d(0x2c8),{'enumerable':!0x0}),Object[_0x48297d(0x255)](_0x4d3ab5[_0x48297d(0x2c1)],_0x48297d(0x358),{'enumerable':!0x0}),Object[_0x48297d(0x255)](_0x4d3ab5[_0x48297d(0x2c1)],_0x48297d(0x212),{'enumerable':!0x0});class _0x4657fb extends _0x1ecdf4{constructor(_0x4108ca,_0x3637f9={}){const _0x5b2bb2=_0x48297d;super(_0x4108ca),this[_0x5a5758]=_0x3637f9[_0x5b2bb2(0x2cc)]===void 0x0?null:_0x3637f9[_0x5b2bb2(0x2cc)],this[_0x365818]=_0x3637f9[_0x5b2bb2(0x2fb)]===void 0x0?'':_0x3637f9[_0x5b2bb2(0x2fb)];}get[_0x48297d(0x2cc)](){return this[_0x5a5758];}get[_0x48297d(0x2fb)](){return this[_0x365818];}}Object['defineProperty'](_0x4657fb[_0x48297d(0x2c1)],_0x48297d(0x2cc),{'enumerable':!0x0}),Object[_0x48297d(0x255)](_0x4657fb[_0x48297d(0x2c1)],'message',{'enumerable':!0x0});class _0x218375 extends _0x1ecdf4{constructor(_0x1056df,_0x5b31e7={}){const _0x26b6d4=_0x48297d;super(_0x1056df),this[_0x437eea]=_0x5b31e7[_0x26b6d4(0x241)]===void 0x0?null:_0x5b31e7[_0x26b6d4(0x241)];}get[_0x48297d(0x241)](){return this[_0x437eea];}}Object[_0x48297d(0x255)](_0x218375[_0x48297d(0x2c1)],_0x48297d(0x241),{'enumerable':!0x0}),xe={'CloseEvent':_0x4d3ab5,'ErrorEvent':_0x4657fb,'Event':_0x1ecdf4,'EventTarget':{'addEventListener'(_0x15343e,_0x38b16b,_0x13553d={}){const _0x51002c=_0x48297d;for(const _0x4771e5 of this[_0x51002c(0x34a)](_0x15343e))if(!_0x13553d[_0x59df11]&&_0x4771e5[_0x344cc3]===_0x38b16b&&!_0x4771e5[_0x59df11])return;let _0x35f7c9;if(_0x15343e===_0x51002c(0x2fb))_0x35f7c9=function(_0x1414e6,_0x3e2dc1){const _0x15a32f=_0x51002c,_0x5ab754=new _0x218375(_0x15a32f(0x2fb),{'data':_0x3e2dc1?_0x1414e6:_0x1414e6[_0x15a32f(0x22e)]()});_0x5ab754[_0x26394a]=this,_0xf6e720(_0x38b16b,this,_0x5ab754);};else{if(_0x15343e===_0x51002c(0x393))_0x35f7c9=function(_0xae8704,_0x2f4e8f){const _0x4f940f=_0x51002c,_0x5e974=new _0x4d3ab5('close',{'code':_0xae8704,'reason':_0x2f4e8f[_0x4f940f(0x22e)](),'wasClean':this[_0x4f940f(0x2f1)]&&this[_0x4f940f(0x385)]});_0x5e974[_0x26394a]=this,_0xf6e720(_0x38b16b,this,_0x5e974);};else{if(_0x15343e===_0x51002c(0x2cc))_0x35f7c9=function(_0x228382){const _0x59c64b=_0x51002c,_0x30d1e7=new _0x4657fb(_0x59c64b(0x2cc),{'error':_0x228382,'message':_0x228382[_0x59c64b(0x2fb)]});_0x30d1e7[_0x26394a]=this,_0xf6e720(_0x38b16b,this,_0x30d1e7);};else{if(_0x15343e==='open')_0x35f7c9=function(){const _0x4d10f7=_0x51002c,_0x405abf=new _0x1ecdf4(_0x4d10f7(0x265));_0x405abf[_0x26394a]=this,_0xf6e720(_0x38b16b,this,_0x405abf);};else return;}}}_0x35f7c9[_0x59df11]=!!_0x13553d[_0x59df11],_0x35f7c9[_0x344cc3]=_0x38b16b,_0x13553d[_0x51002c(0x299)]?this[_0x51002c(0x299)](_0x15343e,_0x35f7c9):this['on'](_0x15343e,_0x35f7c9);},'removeEventListener'(_0x40d2b8,_0xa04c1b){const _0x1a6e11=_0x48297d;for(const _0x56a35a of this[_0x1a6e11(0x34a)](_0x40d2b8))if(_0x56a35a[_0x344cc3]===_0xa04c1b&&!_0x56a35a[_0x59df11]){this[_0x1a6e11(0x342)](_0x40d2b8,_0x56a35a);break;}}},'MessageEvent':_0x218375};function _0xf6e720(_0x5f59d9,_0x35b593,_0x415ded){const _0x3328f7=_0x48297d;typeof _0x5f59d9==_0x3328f7(0x291)&&_0x5f59d9[_0x3328f7(0x31c)]?_0x5f59d9[_0x3328f7(0x31c)]['call'](_0x5f59d9,_0x415ded):_0x5f59d9['call'](_0x35b593,_0x415ded);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x540595}=ne();function _0x9b4177(_0x4675c2,_0xcefa55,_0x5ebfbb){const _0x2e886e=_0x1884;_0x4675c2[_0xcefa55]===void 0x0?_0x4675c2[_0xcefa55]=[_0x5ebfbb]:_0x4675c2[_0xcefa55][_0x2e886e(0x3a6)](_0x5ebfbb);}function _0x49e484(_0x307f6c){const _0x2e242e=_0x1884,_0x2b35f9=Object[_0x2e242e(0x220)](null);let _0x13c2c4=Object[_0x2e242e(0x220)](null),_0x1eb729=!0x1,_0x382a3e=!0x1,_0x39f61a=!0x1,_0x58f16e,_0x417c54,_0x62ae9b=-0x1,_0x18f079=-0x1,_0x5cccd0=-0x1,_0x55a45=0x0;for(;_0x55a45<_0x307f6c[_0x2e242e(0x30c)];_0x55a45++)if(_0x18f079=_0x307f6c[_0x2e242e(0x2ff)](_0x55a45),_0x58f16e===void 0x0){if(_0x5cccd0===-0x1&&_0x540595[_0x18f079]===0x1)_0x62ae9b===-0x1&&(_0x62ae9b=_0x55a45);else{if(_0x55a45!==0x0&&(_0x18f079===0x20||_0x18f079===0x9))_0x5cccd0===-0x1&&_0x62ae9b!==-0x1&&(_0x5cccd0=_0x55a45);else{if(_0x18f079===0x3b||_0x18f079===0x2c){if(_0x62ae9b===-0x1)throw new SyntaxError(_0x2e242e(0x371)+_0x55a45);_0x5cccd0===-0x1&&(_0x5cccd0=_0x55a45);const _0x56f9dd=_0x307f6c['slice'](_0x62ae9b,_0x5cccd0);_0x18f079===0x2c?(_0x9b4177(_0x2b35f9,_0x56f9dd,_0x13c2c4),_0x13c2c4=Object['create'](null)):_0x58f16e=_0x56f9dd,_0x62ae9b=_0x5cccd0=-0x1;}else throw new SyntaxError(_0x2e242e(0x371)+_0x55a45);}}}else{if(_0x417c54===void 0x0){if(_0x5cccd0===-0x1&&_0x540595[_0x18f079]===0x1)_0x62ae9b===-0x1&&(_0x62ae9b=_0x55a45);else{if(_0x18f079===0x20||_0x18f079===0x9)_0x5cccd0===-0x1&&_0x62ae9b!==-0x1&&(_0x5cccd0=_0x55a45);else{if(_0x18f079===0x3b||_0x18f079===0x2c){if(_0x62ae9b===-0x1)throw new SyntaxError(_0x2e242e(0x371)+_0x55a45);_0x5cccd0===-0x1&&(_0x5cccd0=_0x55a45),_0x9b4177(_0x13c2c4,_0x307f6c[_0x2e242e(0x2a2)](_0x62ae9b,_0x5cccd0),!0x0),_0x18f079===0x2c&&(_0x9b4177(_0x2b35f9,_0x58f16e,_0x13c2c4),_0x13c2c4=Object[_0x2e242e(0x220)](null),_0x58f16e=void 0x0),_0x62ae9b=_0x5cccd0=-0x1;}else{if(_0x18f079===0x3d&&_0x62ae9b!==-0x1&&_0x5cccd0===-0x1)_0x417c54=_0x307f6c[_0x2e242e(0x2a2)](_0x62ae9b,_0x55a45),_0x62ae9b=_0x5cccd0=-0x1;else throw new SyntaxError(_0x2e242e(0x371)+_0x55a45);}}}}else{if(_0x382a3e){if(_0x540595[_0x18f079]!==0x1)throw new SyntaxError(_0x2e242e(0x371)+_0x55a45);_0x62ae9b===-0x1?_0x62ae9b=_0x55a45:_0x1eb729||(_0x1eb729=!0x0),_0x382a3e=!0x1;}else{if(_0x39f61a){if(_0x540595[_0x18f079]===0x1)_0x62ae9b===-0x1&&(_0x62ae9b=_0x55a45);else{if(_0x18f079===0x22&&_0x62ae9b!==-0x1)_0x39f61a=!0x1,_0x5cccd0=_0x55a45;else{if(_0x18f079===0x5c)_0x382a3e=!0x0;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x55a45);}}}else{if(_0x18f079===0x22&&_0x307f6c[_0x2e242e(0x2ff)](_0x55a45-0x1)===0x3d)_0x39f61a=!0x0;else{if(_0x5cccd0===-0x1&&_0x540595[_0x18f079]===0x1)_0x62ae9b===-0x1&&(_0x62ae9b=_0x55a45);else{if(_0x62ae9b!==-0x1&&(_0x18f079===0x20||_0x18f079===0x9))_0x5cccd0===-0x1&&(_0x5cccd0=_0x55a45);else{if(_0x18f079===0x3b||_0x18f079===0x2c){if(_0x62ae9b===-0x1)throw new SyntaxError(_0x2e242e(0x371)+_0x55a45);_0x5cccd0===-0x1&&(_0x5cccd0=_0x55a45);let _0x162a2f=_0x307f6c['slice'](_0x62ae9b,_0x5cccd0);_0x1eb729&&(_0x162a2f=_0x162a2f[_0x2e242e(0x2cb)](/\\/g,''),_0x1eb729=!0x1),_0x9b4177(_0x13c2c4,_0x417c54,_0x162a2f),_0x18f079===0x2c&&(_0x9b4177(_0x2b35f9,_0x58f16e,_0x13c2c4),_0x13c2c4=Object[_0x2e242e(0x220)](null),_0x58f16e=void 0x0),_0x417c54=void 0x0,_0x62ae9b=_0x5cccd0=-0x1;}else throw new SyntaxError(_0x2e242e(0x371)+_0x55a45);}}}}}}}if(_0x62ae9b===-0x1||_0x39f61a||_0x18f079===0x20||_0x18f079===0x9)throw new SyntaxError(_0x2e242e(0x22b));_0x5cccd0===-0x1&&(_0x5cccd0=_0x55a45);const _0x27d169=_0x307f6c[_0x2e242e(0x2a2)](_0x62ae9b,_0x5cccd0);return _0x58f16e===void 0x0?_0x9b4177(_0x2b35f9,_0x27d169,_0x13c2c4):(_0x417c54===void 0x0?_0x9b4177(_0x13c2c4,_0x27d169,!0x0):_0x1eb729?_0x9b4177(_0x13c2c4,_0x417c54,_0x27d169[_0x2e242e(0x2cb)](/\\/g,'')):_0x9b4177(_0x13c2c4,_0x417c54,_0x27d169),_0x9b4177(_0x2b35f9,_0x58f16e,_0x13c2c4)),_0x2b35f9;}function _0x583c43(_0x1f85bd){const _0x331bd5=_0x1884;return Object['keys'](_0x1f85bd)['map'](_0x4ec240=>{const _0x748fb0=_0x1884;let _0x1aeaa3=_0x1f85bd[_0x4ec240];return Array['isArray'](_0x1aeaa3)||(_0x1aeaa3=[_0x1aeaa3]),_0x1aeaa3['map'](_0x4c475e=>[_0x4ec240][_0x748fb0(0x2df)](Object['keys'](_0x4c475e)[_0x748fb0(0x207)](_0x48b214=>{const _0x149bc5=_0x748fb0;let _0x5bdf9b=_0x4c475e[_0x48b214];return Array[_0x149bc5(0x2f6)](_0x5bdf9b)||(_0x5bdf9b=[_0x5bdf9b]),_0x5bdf9b[_0x149bc5(0x207)](_0x4cca30=>_0x4cca30===!0x0?_0x48b214:_0x48b214+'='+_0x4cca30)[_0x149bc5(0x267)](';\x20');}))[_0x748fb0(0x267)](';\x20'))[_0x748fb0(0x267)](',\x20');})[_0x331bd5(0x267)](',\x20');}return be={'format':_0x583c43,'parse':_0x49e484},be;}var we,st;function Ie(){const _0x4246c4=_0x41a477;if(st)return we;st=0x1;const _0x293e72=_0x24953e,_0x142eba=_0x6df930,_0x545f29=_0x28952d,_0xd60483=_0x3f4ea9,_0x25f30b=_0x4b9e25,{randomBytes:_0x3c5e99,createHash:_0x2dc09a}=_0x2d244e,{Duplex:_0xeaa813,Readable:_0x1ea16c}=_0x41223a,{URL:_0x4bf913}=_0x2aafdd,_0x35b4fa=he(),_0x225950=dt(),_0x443e25=_t(),{isBlob:_0x5c22d8}=ne(),{BINARY_TYPES:_0xaed0b0,EMPTY_BUFFER:_0x20fd25,GUID:_0x1b8ceb,kForOnEventAttribute:_0x3a9fcf,kListener:_0x5baaf8,kStatusCode:_0x5c175f,kWebSocket:_0x3ee610,NOOP:_0x228efc}=V(),{EventTarget:{addEventListener:_0x2efa8d,removeEventListener:_0x3be33f}}=Kt(),{format:_0x1ec106,parse:_0x45a5cc}=pt(),{toBuffer:_0xe49438}=ce(),_0x5d574a=0x1e*0x3e8,_0x4e34bf=Symbol(_0x4246c4(0x38e)),_0x48e85d=[0x8,0xd],_0x21f063=[_0x4246c4(0x297),_0x4246c4(0x2a3),_0x4246c4(0x200),_0x4246c4(0x293)],_0x52531e=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x39e428 extends _0x293e72{constructor(_0xcc6649,_0x31f840,_0x457ec3){const _0x664f38=_0x4246c4;super(),this[_0x664f38(0x266)]=_0xaed0b0[0x0],this[_0x664f38(0x32e)]=0x3ee,this[_0x664f38(0x2f1)]=!0x1,this['_closeFrameSent']=!0x1,this['_closeMessage']=_0x20fd25,this[_0x664f38(0x396)]=null,this[_0x664f38(0x330)]=!0x1,this[_0x664f38(0x36d)]={},this['_paused']=!0x1,this[_0x664f38(0x34f)]='',this[_0x664f38(0x32b)]=_0x39e428[_0x664f38(0x297)],this[_0x664f38(0x2c9)]=null,this[_0x664f38(0x276)]=null,this['_socket']=null,_0xcc6649!==null?(this[_0x664f38(0x269)]=0x0,this['_isServer']=!0x1,this[_0x664f38(0x2c3)]=0x0,_0x31f840===void 0x0?_0x31f840=[]:Array[_0x664f38(0x2f6)](_0x31f840)||(typeof _0x31f840==_0x664f38(0x291)&&_0x31f840!==null?(_0x457ec3=_0x31f840,_0x31f840=[]):_0x31f840=[_0x31f840]),_0x4b5f92(this,_0xcc6649,_0x31f840,_0x457ec3)):(this[_0x664f38(0x317)]=_0x457ec3[_0x664f38(0x3ac)],this[_0x664f38(0x2a8)]=!0x0);}get[_0x4246c4(0x35a)](){const _0x10c9fe=_0x4246c4;return this[_0x10c9fe(0x266)];}set['binaryType'](_0x228942){const _0x13e77e=_0x4246c4;_0xaed0b0[_0x13e77e(0x305)](_0x228942)&&(this['_binaryType']=_0x228942,this[_0x13e77e(0x2c9)]&&(this[_0x13e77e(0x2c9)][_0x13e77e(0x266)]=_0x228942));}get['bufferedAmount'](){const _0x52b864=_0x4246c4;return this['_socket']?this[_0x52b864(0x329)]['_writableState']['length']+this[_0x52b864(0x276)][_0x52b864(0x2bb)]:this[_0x52b864(0x269)];}get[_0x4246c4(0x295)](){const _0x56f7de=_0x4246c4;return Object['keys'](this[_0x56f7de(0x36d)])[_0x56f7de(0x267)]();}get[_0x4246c4(0x2a4)](){const _0x3513ab=_0x4246c4;return this[_0x3513ab(0x2f8)];}get[_0x4246c4(0x37f)](){return null;}get[_0x4246c4(0x30d)](){return null;}get[_0x4246c4(0x239)](){return null;}get[_0x4246c4(0x31f)](){return null;}get[_0x4246c4(0x23e)](){return this['_protocol'];}get[_0x4246c4(0x23b)](){const _0x5d6b8d=_0x4246c4;return this[_0x5d6b8d(0x32b)];}get['url'](){const _0x1d32ef=_0x4246c4;return this[_0x1d32ef(0x263)];}['setSocket'](_0x1002b5,_0x362548,_0x483cab){const _0x193c96=_0x4246c4,_0x23feaf=new _0x225950({'allowSynchronousEvents':_0x483cab[_0x193c96(0x331)],'binaryType':this['binaryType'],'extensions':this[_0x193c96(0x36d)],'isServer':this['_isServer'],'maxPayload':_0x483cab[_0x193c96(0x338)],'skipUTF8Validation':_0x483cab[_0x193c96(0x397)]}),_0x350585=new _0x443e25(_0x1002b5,this[_0x193c96(0x36d)],_0x483cab[_0x193c96(0x35c)]);this[_0x193c96(0x2c9)]=_0x23feaf,this[_0x193c96(0x276)]=_0x350585,this[_0x193c96(0x329)]=_0x1002b5,_0x23feaf[_0x3ee610]=this,_0x350585[_0x3ee610]=this,_0x1002b5[_0x3ee610]=this,_0x23feaf['on'](_0x193c96(0x314),_0x4763f9),_0x23feaf['on'](_0x193c96(0x2d7),_0x40fffa),_0x23feaf['on'](_0x193c96(0x2cc),_0x4ec816),_0x23feaf['on']('message',_0x301f96),_0x23feaf['on']('ping',_0x2b1d9f),_0x23feaf['on']('pong',_0x3bf653),_0x350585[_0x193c96(0x30d)]=_0x46175b,_0x1002b5[_0x193c96(0x1ee)]&&_0x1002b5[_0x193c96(0x1ee)](0x0),_0x1002b5['setNoDelay']&&_0x1002b5[_0x193c96(0x2dd)](),_0x362548['length']>0x0&&_0x1002b5[_0x193c96(0x33d)](_0x362548),_0x1002b5['on'](_0x193c96(0x393),_0x31ea25),_0x1002b5['on'](_0x193c96(0x241),_0x24f5d2),_0x1002b5['on'](_0x193c96(0x245),_0x3aa64e),_0x1002b5['on'](_0x193c96(0x2cc),_0x1fd04e),this[_0x193c96(0x32b)]=_0x39e428[_0x193c96(0x2a3)],this[_0x193c96(0x261)](_0x193c96(0x265));}[_0x4246c4(0x2b3)](){const _0x57aa3c=_0x4246c4;if(!this[_0x57aa3c(0x329)]){this[_0x57aa3c(0x32b)]=_0x39e428[_0x57aa3c(0x293)],this[_0x57aa3c(0x261)](_0x57aa3c(0x393),this[_0x57aa3c(0x32e)],this[_0x57aa3c(0x324)]);return;}this['_extensions'][_0x35b4fa[_0x57aa3c(0x2e3)]]&&this[_0x57aa3c(0x36d)][_0x35b4fa[_0x57aa3c(0x2e3)]][_0x57aa3c(0x25c)](),this['_receiver'][_0x57aa3c(0x2c7)](),this[_0x57aa3c(0x32b)]=_0x39e428['CLOSED'],this[_0x57aa3c(0x261)]('close',this[_0x57aa3c(0x32e)],this[_0x57aa3c(0x324)]);}[_0x4246c4(0x393)](_0x3a1d7f,_0x5406a0){const _0xc4a655=_0x4246c4;if(this[_0xc4a655(0x23b)]!==_0x39e428[_0xc4a655(0x293)]){if(this[_0xc4a655(0x23b)]===_0x39e428['CONNECTING']){_0x42bea1(this,this[_0xc4a655(0x232)],_0xc4a655(0x20f));return;}if(this[_0xc4a655(0x23b)]===_0x39e428[_0xc4a655(0x200)]){this[_0xc4a655(0x385)]&&(this['_closeFrameReceived']||this[_0xc4a655(0x2c9)][_0xc4a655(0x262)][_0xc4a655(0x22a)])&&this[_0xc4a655(0x329)][_0xc4a655(0x245)]();return;}this[_0xc4a655(0x32b)]=_0x39e428[_0xc4a655(0x200)],this[_0xc4a655(0x276)][_0xc4a655(0x393)](_0x3a1d7f,_0x5406a0,!this[_0xc4a655(0x2a8)],_0x4d42f1=>{const _0x12184d=_0xc4a655;_0x4d42f1||(this[_0x12184d(0x385)]=!0x0,(this['_closeFrameReceived']||this[_0x12184d(0x2c9)]['_writableState'][_0x12184d(0x22a)])&&this[_0x12184d(0x329)][_0x12184d(0x245)]());}),_0x54ad85(this);}}[_0x4246c4(0x29b)](){const _0x5ce4de=_0x4246c4;this[_0x5ce4de(0x23b)]===_0x39e428['CONNECTING']||this[_0x5ce4de(0x23b)]===_0x39e428[_0x5ce4de(0x293)]||(this[_0x5ce4de(0x2f8)]=!0x0,this['_socket'][_0x5ce4de(0x29b)]());}['ping'](_0x1fa69f,_0x4899ec,_0xb29b9a){const _0x17a38d=_0x4246c4;if(this['readyState']===_0x39e428['CONNECTING'])throw new Error(_0x17a38d(0x250));if(typeof _0x1fa69f==_0x17a38d(0x216)?(_0xb29b9a=_0x1fa69f,_0x1fa69f=_0x4899ec=void 0x0):typeof _0x4899ec=='function'&&(_0xb29b9a=_0x4899ec,_0x4899ec=void 0x0),typeof _0x1fa69f=='number'&&(_0x1fa69f=_0x1fa69f[_0x17a38d(0x22e)]()),this[_0x17a38d(0x23b)]!==_0x39e428['OPEN']){_0x2ec7ca(this,_0x1fa69f,_0xb29b9a);return;}_0x4899ec===void 0x0&&(_0x4899ec=!this[_0x17a38d(0x2a8)]),this[_0x17a38d(0x276)]['ping'](_0x1fa69f||_0x20fd25,_0x4899ec,_0xb29b9a);}[_0x4246c4(0x1f6)](_0x54ef3d,_0x5acd3e,_0x442a60){const _0x524ebc=_0x4246c4;if(this['readyState']===_0x39e428[_0x524ebc(0x297)])throw new Error(_0x524ebc(0x250));if(typeof _0x54ef3d==_0x524ebc(0x216)?(_0x442a60=_0x54ef3d,_0x54ef3d=_0x5acd3e=void 0x0):typeof _0x5acd3e==_0x524ebc(0x216)&&(_0x442a60=_0x5acd3e,_0x5acd3e=void 0x0),typeof _0x54ef3d==_0x524ebc(0x3a0)&&(_0x54ef3d=_0x54ef3d[_0x524ebc(0x22e)]()),this['readyState']!==_0x39e428[_0x524ebc(0x2a3)]){_0x2ec7ca(this,_0x54ef3d,_0x442a60);return;}_0x5acd3e===void 0x0&&(_0x5acd3e=!this[_0x524ebc(0x2a8)]),this['_sender'][_0x524ebc(0x1f6)](_0x54ef3d||_0x20fd25,_0x5acd3e,_0x442a60);}[_0x4246c4(0x303)](){const _0x34d925=_0x4246c4;this[_0x34d925(0x23b)]===_0x39e428[_0x34d925(0x297)]||this[_0x34d925(0x23b)]===_0x39e428[_0x34d925(0x293)]||(this[_0x34d925(0x2f8)]=!0x1,this[_0x34d925(0x2c9)][_0x34d925(0x262)][_0x34d925(0x271)]||this[_0x34d925(0x329)][_0x34d925(0x303)]());}[_0x4246c4(0x28b)](_0xc79bad,_0x3a0339,_0x384c63){const _0x33a24d=_0x4246c4;if(this['readyState']===_0x39e428['CONNECTING'])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x3a0339=='function'&&(_0x384c63=_0x3a0339,_0x3a0339={}),typeof _0xc79bad==_0x33a24d(0x3a0)&&(_0xc79bad=_0xc79bad[_0x33a24d(0x22e)]()),this[_0x33a24d(0x23b)]!==_0x39e428[_0x33a24d(0x2a3)]){_0x2ec7ca(this,_0xc79bad,_0x384c63);return;}const _0x2fa882={'binary':typeof _0xc79bad!=_0x33a24d(0x3a4),'mask':!this[_0x33a24d(0x2a8)],'compress':!0x0,'fin':!0x0,..._0x3a0339};this[_0x33a24d(0x36d)][_0x35b4fa[_0x33a24d(0x2e3)]]||(_0x2fa882[_0x33a24d(0x2e2)]=!0x1),this['_sender'][_0x33a24d(0x28b)](_0xc79bad||_0x20fd25,_0x2fa882,_0x384c63);}[_0x4246c4(0x352)](){const _0x48b4ba=_0x4246c4;if(this[_0x48b4ba(0x23b)]!==_0x39e428[_0x48b4ba(0x293)]){if(this[_0x48b4ba(0x23b)]===_0x39e428['CONNECTING']){_0x42bea1(this,this[_0x48b4ba(0x232)],_0x48b4ba(0x20f));return;}this[_0x48b4ba(0x329)]&&(this[_0x48b4ba(0x32b)]=_0x39e428[_0x48b4ba(0x200)],this[_0x48b4ba(0x329)][_0x48b4ba(0x31d)]());}}}Object[_0x4246c4(0x255)](_0x39e428,_0x4246c4(0x297),{'enumerable':!0x0,'value':_0x21f063[_0x4246c4(0x2e7)]('CONNECTING')}),Object[_0x4246c4(0x255)](_0x39e428['prototype'],_0x4246c4(0x297),{'enumerable':!0x0,'value':_0x21f063[_0x4246c4(0x2e7)](_0x4246c4(0x297))}),Object['defineProperty'](_0x39e428,_0x4246c4(0x2a3),{'enumerable':!0x0,'value':_0x21f063['indexOf']('OPEN')}),Object[_0x4246c4(0x255)](_0x39e428[_0x4246c4(0x2c1)],_0x4246c4(0x2a3),{'enumerable':!0x0,'value':_0x21f063[_0x4246c4(0x2e7)]('OPEN')}),Object['defineProperty'](_0x39e428,_0x4246c4(0x200),{'enumerable':!0x0,'value':_0x21f063[_0x4246c4(0x2e7)](_0x4246c4(0x200))}),Object['defineProperty'](_0x39e428[_0x4246c4(0x2c1)],_0x4246c4(0x200),{'enumerable':!0x0,'value':_0x21f063['indexOf']('CLOSING')}),Object[_0x4246c4(0x255)](_0x39e428,_0x4246c4(0x293),{'enumerable':!0x0,'value':_0x21f063[_0x4246c4(0x2e7)](_0x4246c4(0x293))}),Object[_0x4246c4(0x255)](_0x39e428[_0x4246c4(0x2c1)],_0x4246c4(0x293),{'enumerable':!0x0,'value':_0x21f063['indexOf'](_0x4246c4(0x293))}),[_0x4246c4(0x35a),_0x4246c4(0x304),_0x4246c4(0x295),'isPaused',_0x4246c4(0x23e),'readyState','url']['forEach'](_0xec6e0=>{const _0x3aa8b7=_0x4246c4;Object['defineProperty'](_0x39e428[_0x3aa8b7(0x2c1)],_0xec6e0,{'enumerable':!0x0});}),[_0x4246c4(0x265),_0x4246c4(0x2cc),_0x4246c4(0x393),'message']['forEach'](_0x5af2c8=>{Object['defineProperty'](_0x39e428['prototype'],'on'+_0x5af2c8,{'enumerable':!0x0,'get'(){const _0x3afc58=_0x1884;for(const _0x599d25 of this[_0x3afc58(0x34a)](_0x5af2c8))if(_0x599d25[_0x3a9fcf])return _0x599d25[_0x5baaf8];return null;},'set'(_0x21f613){const _0x270cdf=_0x1884;for(const _0x450cb5 of this[_0x270cdf(0x34a)](_0x5af2c8))if(_0x450cb5[_0x3a9fcf]){this[_0x270cdf(0x342)](_0x5af2c8,_0x450cb5);break;}typeof _0x21f613==_0x270cdf(0x216)&&this['addEventListener'](_0x5af2c8,_0x21f613,{[_0x3a9fcf]:!0x0});}});}),_0x39e428[_0x4246c4(0x2c1)]['addEventListener']=_0x2efa8d,_0x39e428[_0x4246c4(0x2c1)][_0x4246c4(0x25f)]=_0x3be33f,we=_0x39e428;function _0x4b5f92(_0x4feac5,_0x782d9e,_0x1d4827,_0x2097be){const _0x3e6463=_0x4246c4,_0x563510={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x48e85d[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x2097be,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x4feac5[_0x3e6463(0x317)]=_0x563510[_0x3e6463(0x3ac)],!_0x48e85d[_0x3e6463(0x305)](_0x563510[_0x3e6463(0x2c6)]))throw new RangeError(_0x3e6463(0x369)+_0x563510[_0x3e6463(0x2c6)]+_0x3e6463(0x288)+_0x48e85d['join'](',\x20')+')');let _0x48ddfb;if(_0x782d9e instanceof _0x4bf913)_0x48ddfb=_0x782d9e;else try{_0x48ddfb=new _0x4bf913(_0x782d9e);}catch{throw new SyntaxError(_0x3e6463(0x27b)+_0x782d9e);}_0x48ddfb['protocol']===_0x3e6463(0x219)?_0x48ddfb['protocol']=_0x3e6463(0x30f):_0x48ddfb[_0x3e6463(0x23e)]===_0x3e6463(0x23d)&&(_0x48ddfb[_0x3e6463(0x23e)]='wss:'),_0x4feac5[_0x3e6463(0x263)]=_0x48ddfb['href'];const _0x554819=_0x48ddfb[_0x3e6463(0x23e)]===_0x3e6463(0x312),_0xe9eb27=_0x48ddfb[_0x3e6463(0x23e)]===_0x3e6463(0x3a5);let _0x3f0e2e;if(_0x48ddfb[_0x3e6463(0x23e)]!==_0x3e6463(0x30f)&&!_0x554819&&!_0xe9eb27?_0x3f0e2e=_0x3e6463(0x282):_0xe9eb27&&!_0x48ddfb[_0x3e6463(0x332)]?_0x3f0e2e=_0x3e6463(0x260):_0x48ddfb['hash']&&(_0x3f0e2e=_0x3e6463(0x382)),_0x3f0e2e){const _0x557ed7=new SyntaxError(_0x3f0e2e);if(_0x4feac5[_0x3e6463(0x2c3)]===0x0)throw _0x557ed7;_0x15eda9(_0x4feac5,_0x557ed7);return;}const _0x49a420=_0x554819?0x1bb:0x50,_0x579970=_0x3c5e99(0x10)[_0x3e6463(0x22e)](_0x3e6463(0x26e)),_0x10652=_0x554819?_0x142eba[_0x3e6463(0x1ef)]:_0x545f29['request'],_0x2f126e=new Set();let _0x3e2c5e;if(_0x563510[_0x3e6463(0x2d2)]=_0x563510[_0x3e6463(0x2d2)]||(_0x554819?_0x1fee9c:_0x1d6c27),_0x563510[_0x3e6463(0x360)]=_0x563510[_0x3e6463(0x360)]||_0x49a420,_0x563510[_0x3e6463(0x310)]=_0x48ddfb['port']||_0x49a420,_0x563510['host']=_0x48ddfb['hostname'][_0x3e6463(0x2f0)]('[')?_0x48ddfb['hostname'][_0x3e6463(0x2a2)](0x1,-0x1):_0x48ddfb[_0x3e6463(0x34d)],_0x563510[_0x3e6463(0x372)]={..._0x563510[_0x3e6463(0x372)],'Sec-WebSocket-Version':_0x563510[_0x3e6463(0x2c6)],'Sec-WebSocket-Key':_0x579970,'Connection':_0x3e6463(0x339),'Upgrade':_0x3e6463(0x36b)},_0x563510[_0x3e6463(0x344)]=_0x48ddfb[_0x3e6463(0x332)]+_0x48ddfb[_0x3e6463(0x376)],_0x563510[_0x3e6463(0x2c2)]=_0x563510[_0x3e6463(0x2ab)],_0x563510[_0x3e6463(0x39e)]&&(_0x3e2c5e=new _0x35b4fa(_0x563510[_0x3e6463(0x39e)]!==!0x0?_0x563510[_0x3e6463(0x39e)]:{},!0x1,_0x563510[_0x3e6463(0x338)]),_0x563510[_0x3e6463(0x372)]['Sec-WebSocket-Extensions']=_0x1ec106({[_0x35b4fa[_0x3e6463(0x2e3)]]:_0x3e2c5e[_0x3e6463(0x280)]()})),_0x1d4827[_0x3e6463(0x30c)]){for(const _0x1bd0d8 of _0x1d4827){if(typeof _0x1bd0d8!=_0x3e6463(0x3a4)||!_0x52531e['test'](_0x1bd0d8)||_0x2f126e['has'](_0x1bd0d8))throw new SyntaxError(_0x3e6463(0x205));_0x2f126e['add'](_0x1bd0d8);}_0x563510[_0x3e6463(0x372)][_0x3e6463(0x390)]=_0x1d4827['join'](',');}if(_0x563510['origin']&&(_0x563510[_0x3e6463(0x2c6)]<0xd?_0x563510['headers']['Sec-WebSocket-Origin']=_0x563510['origin']:_0x563510[_0x3e6463(0x372)][_0x3e6463(0x27f)]=_0x563510['origin']),(_0x48ddfb[_0x3e6463(0x349)]||_0x48ddfb[_0x3e6463(0x2a9)])&&(_0x563510[_0x3e6463(0x307)]=_0x48ddfb[_0x3e6463(0x349)]+':'+_0x48ddfb['password']),_0xe9eb27){const _0x3261ef=_0x563510[_0x3e6463(0x344)][_0x3e6463(0x1ff)](':');_0x563510['socketPath']=_0x3261ef[0x0],_0x563510[_0x3e6463(0x344)]=_0x3261ef[0x1];}let _0x440e60;if(_0x563510[_0x3e6463(0x316)]){if(_0x4feac5['_redirects']===0x0){_0x4feac5[_0x3e6463(0x313)]=_0xe9eb27,_0x4feac5['_originalSecure']=_0x554819,_0x4feac5['_originalHostOrSocketPath']=_0xe9eb27?_0x563510[_0x3e6463(0x22d)]:_0x48ddfb['host'];const _0x6b2075=_0x2097be&&_0x2097be['headers'];if(_0x2097be={..._0x2097be,'headers':{}},_0x6b2075){for(const [_0x53b3d2,_0x11b993]of Object[_0x3e6463(0x323)](_0x6b2075))_0x2097be['headers'][_0x53b3d2['toLowerCase']()]=_0x11b993;}}else{if(_0x4feac5[_0x3e6463(0x2a1)](_0x3e6463(0x38c))===0x0){const _0x36bab8=_0xe9eb27?_0x4feac5[_0x3e6463(0x313)]?_0x563510[_0x3e6463(0x22d)]===_0x4feac5[_0x3e6463(0x248)]:!0x1:_0x4feac5[_0x3e6463(0x313)]?!0x1:_0x48ddfb[_0x3e6463(0x281)]===_0x4feac5[_0x3e6463(0x248)];(!_0x36bab8||_0x4feac5[_0x3e6463(0x388)]&&!_0x554819)&&(delete _0x563510['headers'][_0x3e6463(0x1f4)],delete _0x563510[_0x3e6463(0x372)][_0x3e6463(0x2d9)],_0x36bab8||delete _0x563510[_0x3e6463(0x372)][_0x3e6463(0x281)],_0x563510[_0x3e6463(0x307)]=void 0x0);}}_0x563510[_0x3e6463(0x307)]&&!_0x2097be[_0x3e6463(0x372)][_0x3e6463(0x1f4)]&&(_0x2097be[_0x3e6463(0x372)]['authorization']=_0x3e6463(0x2d4)+Buffer[_0x3e6463(0x208)](_0x563510[_0x3e6463(0x307)])['toString'](_0x3e6463(0x26e))),_0x440e60=_0x4feac5['_req']=_0x10652(_0x563510),_0x4feac5[_0x3e6463(0x2c3)]&&_0x4feac5[_0x3e6463(0x261)](_0x3e6463(0x38c),_0x4feac5[_0x3e6463(0x30e)],_0x440e60);}else _0x440e60=_0x4feac5['_req']=_0x10652(_0x563510);_0x563510[_0x3e6463(0x2c2)]&&_0x440e60['on'](_0x3e6463(0x2c2),()=>{const _0x1771c1=_0x3e6463;_0x42bea1(_0x4feac5,_0x440e60,_0x1771c1(0x277));}),_0x440e60['on'](_0x3e6463(0x2cc),_0x4c6b2f=>{_0x440e60===null||_0x440e60[_0x4e34bf]||(_0x440e60=_0x4feac5['_req']=null,_0x15eda9(_0x4feac5,_0x4c6b2f));}),_0x440e60['on'](_0x3e6463(0x363),_0x3a1586=>{const _0x45e22e=_0x3e6463,_0x4463a4=_0x3a1586[_0x45e22e(0x372)][_0x45e22e(0x2ad)],_0x8e2da0=_0x3a1586[_0x45e22e(0x325)];if(_0x4463a4&&_0x563510[_0x45e22e(0x316)]&&_0x8e2da0>=0x12c&&_0x8e2da0<0x190){if(++_0x4feac5[_0x45e22e(0x2c3)]>_0x563510['maxRedirects']){_0x42bea1(_0x4feac5,_0x440e60,_0x45e22e(0x334));return;}_0x440e60[_0x45e22e(0x2fe)]();let _0x33e3ff;try{_0x33e3ff=new _0x4bf913(_0x4463a4,_0x782d9e);}catch{const _0x548a0d=new SyntaxError(_0x45e22e(0x27b)+_0x4463a4);_0x15eda9(_0x4feac5,_0x548a0d);return;}_0x4b5f92(_0x4feac5,_0x33e3ff,_0x1d4827,_0x2097be);}else _0x4feac5[_0x45e22e(0x261)](_0x45e22e(0x235),_0x440e60,_0x3a1586)||_0x42bea1(_0x4feac5,_0x440e60,'Unexpected\x20server\x20response:\x20'+_0x3a1586[_0x45e22e(0x325)]);}),_0x440e60['on']('upgrade',(_0x22b6a8,_0x42a593,_0x27c7d2)=>{const _0x4e4cb7=_0x3e6463;if(_0x4feac5[_0x4e4cb7(0x261)](_0x4e4cb7(0x256),_0x22b6a8),_0x4feac5[_0x4e4cb7(0x23b)]!==_0x39e428['CONNECTING'])return;_0x440e60=_0x4feac5[_0x4e4cb7(0x232)]=null;const _0x55be82=_0x22b6a8[_0x4e4cb7(0x372)]['upgrade'];if(_0x55be82===void 0x0||_0x55be82['toLowerCase']()!==_0x4e4cb7(0x36b)){_0x42bea1(_0x4feac5,_0x42a593,_0x4e4cb7(0x1ec));return;}const _0x14448a=_0x2dc09a(_0x4e4cb7(0x2e0))[_0x4e4cb7(0x29c)](_0x579970+_0x1b8ceb)['digest']('base64');if(_0x22b6a8[_0x4e4cb7(0x372)][_0x4e4cb7(0x37b)]!==_0x14448a){_0x42bea1(_0x4feac5,_0x42a593,_0x4e4cb7(0x2b2));return;}const _0x32234d=_0x22b6a8['headers'][_0x4e4cb7(0x275)];let _0x4675ac;if(_0x32234d!==void 0x0?_0x2f126e[_0x4e4cb7(0x242)]?_0x2f126e['has'](_0x32234d)||(_0x4675ac='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0x4675ac=_0x4e4cb7(0x2a0):_0x2f126e[_0x4e4cb7(0x242)]&&(_0x4675ac=_0x4e4cb7(0x2ef)),_0x4675ac){_0x42bea1(_0x4feac5,_0x42a593,_0x4675ac);return;}_0x32234d&&(_0x4feac5[_0x4e4cb7(0x34f)]=_0x32234d);const _0x778776=_0x22b6a8[_0x4e4cb7(0x372)]['sec-websocket-extensions'];if(_0x778776!==void 0x0){if(!_0x3e2c5e){_0x42bea1(_0x4feac5,_0x42a593,_0x4e4cb7(0x38b));return;}let _0x5cc4b1;try{_0x5cc4b1=_0x45a5cc(_0x778776);}catch{_0x42bea1(_0x4feac5,_0x42a593,_0x4e4cb7(0x21a));return;}const _0x49994d=Object[_0x4e4cb7(0x391)](_0x5cc4b1);if(_0x49994d[_0x4e4cb7(0x30c)]!==0x1||_0x49994d[0x0]!==_0x35b4fa[_0x4e4cb7(0x2e3)]){_0x42bea1(_0x4feac5,_0x42a593,'Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested');return;}try{_0x3e2c5e['accept'](_0x5cc4b1[_0x35b4fa[_0x4e4cb7(0x2e3)]]);}catch{_0x42bea1(_0x4feac5,_0x42a593,_0x4e4cb7(0x21a));return;}_0x4feac5[_0x4e4cb7(0x36d)][_0x35b4fa[_0x4e4cb7(0x2e3)]]=_0x3e2c5e;}_0x4feac5[_0x4e4cb7(0x26d)](_0x42a593,_0x27c7d2,{'allowSynchronousEvents':_0x563510[_0x4e4cb7(0x331)],'generateMask':_0x563510[_0x4e4cb7(0x35c)],'maxPayload':_0x563510[_0x4e4cb7(0x338)],'skipUTF8Validation':_0x563510[_0x4e4cb7(0x397)]});}),_0x563510[_0x3e6463(0x36f)]?_0x563510['finishRequest'](_0x440e60,_0x4feac5):_0x440e60[_0x3e6463(0x245)]();}function _0x15eda9(_0x2cb2e2,_0x3e9ebc){const _0x534754=_0x4246c4;_0x2cb2e2[_0x534754(0x32b)]=_0x39e428[_0x534754(0x200)],_0x2cb2e2['_errorEmitted']=!0x0,_0x2cb2e2[_0x534754(0x261)](_0x534754(0x2cc),_0x3e9ebc),_0x2cb2e2[_0x534754(0x2b3)]();}function _0x1d6c27(_0x399e8a){const _0x1ab83d=_0x4246c4;return _0x399e8a[_0x1ab83d(0x344)]=_0x399e8a['socketPath'],_0xd60483['connect'](_0x399e8a);}function _0x1fee9c(_0x407a5e){const _0x290df6=_0x4246c4;return _0x407a5e[_0x290df6(0x344)]=void 0x0,!_0x407a5e[_0x290df6(0x336)]&&_0x407a5e['servername']!==''&&(_0x407a5e[_0x290df6(0x336)]=_0xd60483[_0x290df6(0x272)](_0x407a5e[_0x290df6(0x281)])?'':_0x407a5e[_0x290df6(0x281)]),_0x25f30b[_0x290df6(0x20e)](_0x407a5e);}function _0x42bea1(_0xa306df,_0x50cc7d,_0x353515){const _0x49a151=_0x4246c4;_0xa306df[_0x49a151(0x32b)]=_0x39e428['CLOSING'];const _0x21f9af=new Error(_0x353515);Error[_0x49a151(0x283)](_0x21f9af,_0x42bea1),_0x50cc7d[_0x49a151(0x3a8)]?(_0x50cc7d[_0x4e34bf]=!0x0,_0x50cc7d['abort'](),_0x50cc7d['socket']&&!_0x50cc7d[_0x49a151(0x383)]['destroyed']&&_0x50cc7d[_0x49a151(0x383)][_0x49a151(0x31d)](),process[_0x49a151(0x2e8)](_0x15eda9,_0xa306df,_0x21f9af)):(_0x50cc7d[_0x49a151(0x31d)](_0x21f9af),_0x50cc7d[_0x49a151(0x299)](_0x49a151(0x2cc),_0xa306df[_0x49a151(0x261)][_0x49a151(0x3af)](_0xa306df,_0x49a151(0x2cc))),_0x50cc7d[_0x49a151(0x299)](_0x49a151(0x393),_0xa306df['emitClose']['bind'](_0xa306df)));}function _0x2ec7ca(_0x59584a,_0x20ea8e,_0x445d78){const _0x1e0a98=_0x4246c4;if(_0x20ea8e){const _0x60f9db=_0x5c22d8(_0x20ea8e)?_0x20ea8e[_0x1e0a98(0x242)]:_0xe49438(_0x20ea8e)[_0x1e0a98(0x30c)];_0x59584a[_0x1e0a98(0x329)]?_0x59584a[_0x1e0a98(0x276)]['_bufferedBytes']+=_0x60f9db:_0x59584a[_0x1e0a98(0x269)]+=_0x60f9db;}if(_0x445d78){const _0x43ad54=new Error(_0x1e0a98(0x1fd)+_0x59584a[_0x1e0a98(0x23b)]+'\x20('+_0x21f063[_0x59584a['readyState']]+')');process[_0x1e0a98(0x2e8)](_0x445d78,_0x43ad54);}}function _0x4763f9(_0x339ab7,_0x19a799){const _0x543084=_0x4246c4,_0x1956a6=this[_0x3ee610];_0x1956a6[_0x543084(0x2f1)]=!0x0,_0x1956a6[_0x543084(0x324)]=_0x19a799,_0x1956a6['_closeCode']=_0x339ab7,_0x1956a6['_socket'][_0x3ee610]!==void 0x0&&(_0x1956a6[_0x543084(0x329)][_0x543084(0x342)]('data',_0x24f5d2),process[_0x543084(0x2e8)](_0x555198,_0x1956a6[_0x543084(0x329)]),_0x339ab7===0x3ed?_0x1956a6[_0x543084(0x393)]():_0x1956a6[_0x543084(0x393)](_0x339ab7,_0x19a799));}function _0x40fffa(){const _0x26a0ed=_0x4246c4,_0x405318=this[_0x3ee610];_0x405318['isPaused']||_0x405318['_socket'][_0x26a0ed(0x303)]();}function _0x4ec816(_0x331240){const _0x550871=_0x4246c4,_0x3eb52b=this[_0x3ee610];_0x3eb52b[_0x550871(0x329)][_0x3ee610]!==void 0x0&&(_0x3eb52b[_0x550871(0x329)][_0x550871(0x342)]('data',_0x24f5d2),process[_0x550871(0x2e8)](_0x555198,_0x3eb52b['_socket']),_0x3eb52b[_0x550871(0x393)](_0x331240[_0x5c175f])),_0x3eb52b[_0x550871(0x330)]||(_0x3eb52b['_errorEmitted']=!0x0,_0x3eb52b['emit'](_0x550871(0x2cc),_0x331240));}function _0x37e30d(){const _0x31a88d=_0x4246c4;this[_0x3ee610][_0x31a88d(0x2b3)]();}function _0x301f96(_0x120fb5,_0xf035f7){this[_0x3ee610]['emit']('message',_0x120fb5,_0xf035f7);}function _0x2b1d9f(_0x16a1fe){const _0x275c0d=_0x4246c4,_0x53d8dc=this[_0x3ee610];_0x53d8dc[_0x275c0d(0x317)]&&_0x53d8dc[_0x275c0d(0x1f6)](_0x16a1fe,!this[_0x275c0d(0x2a8)],_0x228efc),_0x53d8dc[_0x275c0d(0x261)](_0x275c0d(0x34b),_0x16a1fe);}function _0x3bf653(_0x1e58aa){const _0x190f42=_0x4246c4;this[_0x3ee610][_0x190f42(0x261)](_0x190f42(0x1f6),_0x1e58aa);}function _0x555198(_0xf01030){_0xf01030['resume']();}function _0x46175b(_0x8d95bd){const _0xb38538=_0x4246c4,_0x23abef=this[_0x3ee610];_0x23abef[_0xb38538(0x23b)]!==_0x39e428[_0xb38538(0x293)]&&(_0x23abef['readyState']===_0x39e428[_0xb38538(0x2a3)]&&(_0x23abef[_0xb38538(0x32b)]=_0x39e428[_0xb38538(0x200)],_0x54ad85(_0x23abef)),this['_socket'][_0xb38538(0x245)](),_0x23abef[_0xb38538(0x330)]||(_0x23abef[_0xb38538(0x330)]=!0x0,_0x23abef[_0xb38538(0x261)](_0xb38538(0x2cc),_0x8d95bd)));}function _0x54ad85(_0x1bf152){const _0x2dbd52=_0x4246c4;_0x1bf152[_0x2dbd52(0x396)]=setTimeout(_0x1bf152[_0x2dbd52(0x329)][_0x2dbd52(0x31d)][_0x2dbd52(0x3af)](_0x1bf152[_0x2dbd52(0x329)]),_0x5d574a);}function _0x31ea25(){const _0xd61e2b=_0x4246c4,_0x5cc0cc=this[_0x3ee610];this[_0xd61e2b(0x342)](_0xd61e2b(0x393),_0x31ea25),this[_0xd61e2b(0x342)](_0xd61e2b(0x241),_0x24f5d2),this['removeListener'](_0xd61e2b(0x245),_0x3aa64e),_0x5cc0cc[_0xd61e2b(0x32b)]=_0x39e428[_0xd61e2b(0x200)];let _0x2e9ce0;!this[_0xd61e2b(0x355)]['endEmitted']&&!_0x5cc0cc[_0xd61e2b(0x2f1)]&&!_0x5cc0cc[_0xd61e2b(0x2c9)]['_writableState'][_0xd61e2b(0x22a)]&&(_0x2e9ce0=_0x5cc0cc[_0xd61e2b(0x329)][_0xd61e2b(0x2fc)]())!==null&&_0x5cc0cc[_0xd61e2b(0x2c9)][_0xd61e2b(0x367)](_0x2e9ce0),_0x5cc0cc[_0xd61e2b(0x2c9)][_0xd61e2b(0x245)](),this[_0x3ee610]=void 0x0,clearTimeout(_0x5cc0cc[_0xd61e2b(0x396)]),_0x5cc0cc[_0xd61e2b(0x2c9)][_0xd61e2b(0x262)][_0xd61e2b(0x33b)]||_0x5cc0cc[_0xd61e2b(0x2c9)]['_writableState']['errorEmitted']?_0x5cc0cc['emitClose']():(_0x5cc0cc[_0xd61e2b(0x2c9)]['on'](_0xd61e2b(0x2cc),_0x37e30d),_0x5cc0cc[_0xd61e2b(0x2c9)]['on'](_0xd61e2b(0x1f9),_0x37e30d));}function _0x24f5d2(_0x1d3f48){const _0x94f9ca=_0x4246c4;this[_0x3ee610]['_receiver'][_0x94f9ca(0x367)](_0x1d3f48)||this[_0x94f9ca(0x29b)]();}function _0x3aa64e(){const _0x3c26b8=_0x4246c4,_0x5df647=this[_0x3ee610];_0x5df647['_readyState']=_0x39e428['CLOSING'],_0x5df647['_receiver'][_0x3c26b8(0x245)](),this[_0x3c26b8(0x245)]();}function _0x1fd04e(){const _0x2ec2ab=_0x4246c4,_0x2cd237=this[_0x3ee610];this[_0x2ec2ab(0x342)](_0x2ec2ab(0x2cc),_0x1fd04e),this['on'](_0x2ec2ab(0x2cc),_0x228efc),_0x2cd237&&(_0x2cd237[_0x2ec2ab(0x32b)]=_0x39e428[_0x2ec2ab(0x200)],this[_0x2ec2ab(0x31d)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x1e1529}=_0x41223a;function _0x58fee6(_0x274e80){const _0x36a934=_0x1884;_0x274e80[_0x36a934(0x261)](_0x36a934(0x393));}function _0x2bb125(){const _0x150cf2=_0x1884;!this[_0x150cf2(0x32c)]&&this[_0x150cf2(0x262)]['finished']&&this[_0x150cf2(0x31d)]();}function _0x3f50fa(_0x43953c){const _0x258fed=_0x1884;this[_0x258fed(0x342)](_0x258fed(0x2cc),_0x3f50fa),this['destroy'](),this['listenerCount'](_0x258fed(0x2cc))===0x0&&this[_0x258fed(0x261)](_0x258fed(0x2cc),_0x43953c);}function _0x44762a(_0x5f2fc5,_0x53cf27){const _0x5b40bb=_0x1884;let _0x265056=!0x0;const _0x559d0b=new _0x1e1529({..._0x53cf27,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x5f2fc5['on'](_0x5b40bb(0x2fb),function(_0x58117d,_0x4c2a6e){const _0x5773d8=_0x5b40bb,_0x1e59e3=!_0x4c2a6e&&_0x559d0b['_readableState'][_0x5773d8(0x24c)]?_0x58117d[_0x5773d8(0x22e)]():_0x58117d;_0x559d0b[_0x5773d8(0x3a6)](_0x1e59e3)||_0x5f2fc5[_0x5773d8(0x29b)]();}),_0x5f2fc5[_0x5b40bb(0x299)]('error',function(_0x4fb1af){const _0x49c225=_0x5b40bb;_0x559d0b[_0x49c225(0x32c)]||(_0x265056=!0x1,_0x559d0b[_0x49c225(0x31d)](_0x4fb1af));}),_0x5f2fc5[_0x5b40bb(0x299)]('close',function(){const _0x1b34f4=_0x5b40bb;_0x559d0b[_0x1b34f4(0x32c)]||_0x559d0b[_0x1b34f4(0x3a6)](null);}),_0x559d0b[_0x5b40bb(0x264)]=function(_0x5bbec6,_0x3615e7){const _0x32f593=_0x5b40bb;if(_0x5f2fc5[_0x32f593(0x23b)]===_0x5f2fc5[_0x32f593(0x293)]){_0x3615e7(_0x5bbec6),process[_0x32f593(0x2e8)](_0x58fee6,_0x559d0b);return;}let _0x1e1c6b=!0x1;_0x5f2fc5[_0x32f593(0x299)](_0x32f593(0x2cc),function(_0x1defcb){_0x1e1c6b=!0x0,_0x3615e7(_0x1defcb);}),_0x5f2fc5[_0x32f593(0x299)](_0x32f593(0x393),function(){const _0x31bfd2=_0x32f593;_0x1e1c6b||_0x3615e7(_0x5bbec6),process[_0x31bfd2(0x2e8)](_0x58fee6,_0x559d0b);}),_0x265056&&_0x5f2fc5[_0x32f593(0x352)]();},_0x559d0b[_0x5b40bb(0x3ad)]=function(_0x392e66){const _0x474d2d=_0x5b40bb;if(_0x5f2fc5[_0x474d2d(0x23b)]===_0x5f2fc5[_0x474d2d(0x297)]){_0x5f2fc5['once'](_0x474d2d(0x265),function(){const _0x112613=_0x474d2d;_0x559d0b[_0x112613(0x3ad)](_0x392e66);});return;}_0x5f2fc5[_0x474d2d(0x329)]!==null&&(_0x5f2fc5['_socket'][_0x474d2d(0x262)]['finished']?(_0x392e66(),_0x559d0b['_readableState']['endEmitted']&&_0x559d0b[_0x474d2d(0x31d)]()):(_0x5f2fc5['_socket']['once']('finish',function(){_0x392e66();}),_0x5f2fc5[_0x474d2d(0x393)]()));},_0x559d0b[_0x5b40bb(0x253)]=function(){const _0x21bec2=_0x5b40bb;_0x5f2fc5[_0x21bec2(0x2a4)]&&_0x5f2fc5[_0x21bec2(0x303)]();},_0x559d0b[_0x5b40bb(0x36a)]=function(_0x31105a,_0x1a1d01,_0x14c99c){const _0x1b2ecb=_0x5b40bb;if(_0x5f2fc5[_0x1b2ecb(0x23b)]===_0x5f2fc5[_0x1b2ecb(0x297)]){_0x5f2fc5[_0x1b2ecb(0x299)](_0x1b2ecb(0x265),function(){const _0x322ad4=_0x1b2ecb;_0x559d0b[_0x322ad4(0x36a)](_0x31105a,_0x1a1d01,_0x14c99c);});return;}_0x5f2fc5[_0x1b2ecb(0x28b)](_0x31105a,_0x14c99c);},_0x559d0b['on'](_0x5b40bb(0x245),_0x2bb125),_0x559d0b['on']('error',_0x3f50fa),_0x559d0b;}return Oe=_0x44762a,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=Wt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x3491e3}=ne();function _0x1b626c(_0x188080){const _0x394362=_0x1884,_0x4f8ce3=new Set();let _0xf214b0=-0x1,_0x2953ce=-0x1,_0x1d7f8e=0x0;for(_0x1d7f8e;_0x1d7f8e<_0x188080[_0x394362(0x30c)];_0x1d7f8e++){const _0x22d35d=_0x188080[_0x394362(0x2ff)](_0x1d7f8e);if(_0x2953ce===-0x1&&_0x3491e3[_0x22d35d]===0x1)_0xf214b0===-0x1&&(_0xf214b0=_0x1d7f8e);else{if(_0x1d7f8e!==0x0&&(_0x22d35d===0x20||_0x22d35d===0x9))_0x2953ce===-0x1&&_0xf214b0!==-0x1&&(_0x2953ce=_0x1d7f8e);else{if(_0x22d35d===0x2c){if(_0xf214b0===-0x1)throw new SyntaxError(_0x394362(0x371)+_0x1d7f8e);_0x2953ce===-0x1&&(_0x2953ce=_0x1d7f8e);const _0x32ba49=_0x188080['slice'](_0xf214b0,_0x2953ce);if(_0x4f8ce3[_0x394362(0x25d)](_0x32ba49))throw new SyntaxError(_0x394362(0x2a5)+_0x32ba49+_0x394362(0x2d5));_0x4f8ce3['add'](_0x32ba49),_0xf214b0=_0x2953ce=-0x1;}else throw new SyntaxError(_0x394362(0x371)+_0x1d7f8e);}}}if(_0xf214b0===-0x1||_0x2953ce!==-0x1)throw new SyntaxError('Unexpected\x20end\x20of\x20input');const _0x2cc0f2=_0x188080[_0x394362(0x2a2)](_0xf214b0,_0x1d7f8e);if(_0x4f8ce3[_0x394362(0x25d)](_0x2cc0f2))throw new SyntaxError('The\x20\x22'+_0x2cc0f2+_0x394362(0x2d5));return _0x4f8ce3[_0x394362(0x240)](_0x2cc0f2),_0x4f8ce3;}return Ce={'parse':_0x1b626c},Ce;}var Te,ot;function er(){const _0x15e4d6=_0x41a477;if(ot)return Te;ot=0x1;const _0x1433f0=_0x24953e,_0x34cf85=_0x28952d,{Duplex:_0x765037}=_0x41223a,{createHash:_0x5e64ff}=_0x2d244e,_0x4fd6e1=pt(),_0x1cbeca=he(),_0x3d344e=Jt(),_0x2f2d9d=Ie(),{GUID:_0x238313,kWebSocket:_0x3f3646}=V(),_0x5a759a=/^[+/0-9A-Za-z]{22}==$/,_0xb4c37b=0x0,_0x24ebcd=0x1,_0x1eec59=0x2;class _0x4b479e extends _0x1433f0{constructor(_0x468d6b,_0x24e029){const _0x4d0bd7=_0x1884;if(super(),_0x468d6b={'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':_0x2f2d9d,..._0x468d6b},_0x468d6b['port']==null&&!_0x468d6b[_0x4d0bd7(0x285)]&&!_0x468d6b['noServer']||_0x468d6b['port']!=null&&(_0x468d6b['server']||_0x468d6b[_0x4d0bd7(0x23f)])||_0x468d6b['server']&&_0x468d6b[_0x4d0bd7(0x23f)])throw new TypeError('One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified');if(_0x468d6b[_0x4d0bd7(0x310)]!=null?(this[_0x4d0bd7(0x234)]=_0x34cf85['createServer']((_0x58fb20,_0x514cfb)=>{const _0x9c38d1=_0x4d0bd7,_0x33e787=_0x34cf85[_0x9c38d1(0x3aa)][0x1aa];_0x514cfb[_0x9c38d1(0x39f)](0x1aa,{'Content-Length':_0x33e787[_0x9c38d1(0x30c)],'Content-Type':_0x9c38d1(0x379)}),_0x514cfb[_0x9c38d1(0x245)](_0x33e787);}),this[_0x4d0bd7(0x234)][_0x4d0bd7(0x279)](_0x468d6b[_0x4d0bd7(0x310)],_0x468d6b[_0x4d0bd7(0x281)],_0x468d6b[_0x4d0bd7(0x2b9)],_0x24e029)):_0x468d6b[_0x4d0bd7(0x285)]&&(this[_0x4d0bd7(0x234)]=_0x468d6b[_0x4d0bd7(0x285)]),this[_0x4d0bd7(0x234)]){const _0x2d78d2=this[_0x4d0bd7(0x261)]['bind'](this,_0x4d0bd7(0x25e));this[_0x4d0bd7(0x357)]=_0x36b7a7(this[_0x4d0bd7(0x234)],{'listening':this[_0x4d0bd7(0x261)]['bind'](this,_0x4d0bd7(0x28c)),'error':this[_0x4d0bd7(0x261)][_0x4d0bd7(0x3af)](this,_0x4d0bd7(0x2cc)),'upgrade':(_0x2a2f5e,_0x5e47de,_0x361644)=>{const _0x499bbd=_0x4d0bd7;this[_0x499bbd(0x218)](_0x2a2f5e,_0x5e47de,_0x361644,_0x2d78d2);}});}_0x468d6b[_0x4d0bd7(0x39e)]===!0x0&&(_0x468d6b[_0x4d0bd7(0x39e)]={}),_0x468d6b['clientTracking']&&(this[_0x4d0bd7(0x39a)]=new Set(),this[_0x4d0bd7(0x2bc)]=!0x1),this[_0x4d0bd7(0x37e)]=_0x468d6b,this['_state']=_0xb4c37b;}[_0x15e4d6(0x328)](){const _0x3c3293=_0x15e4d6;if(this[_0x3c3293(0x37e)]['noServer'])throw new Error(_0x3c3293(0x394));return this[_0x3c3293(0x234)]?this['_server'][_0x3c3293(0x328)]():null;}[_0x15e4d6(0x393)](_0x2be5c6){const _0x4e1a75=_0x15e4d6;if(this[_0x4e1a75(0x340)]===_0x1eec59){_0x2be5c6&&this[_0x4e1a75(0x299)]('close',()=>{const _0x230c3d=_0x4e1a75;_0x2be5c6(new Error(_0x230c3d(0x373)));}),process[_0x4e1a75(0x2e8)](_0x3a881c,this);return;}if(_0x2be5c6&&this['once'](_0x4e1a75(0x393),_0x2be5c6),this[_0x4e1a75(0x340)]!==_0x24ebcd){if(this[_0x4e1a75(0x340)]=_0x24ebcd,this[_0x4e1a75(0x37e)][_0x4e1a75(0x23f)]||this['options']['server'])this[_0x4e1a75(0x234)]&&(this['_removeListeners'](),this[_0x4e1a75(0x357)]=this[_0x4e1a75(0x234)]=null),this[_0x4e1a75(0x39a)]?this[_0x4e1a75(0x39a)][_0x4e1a75(0x242)]?this[_0x4e1a75(0x2bc)]=!0x0:process['nextTick'](_0x3a881c,this):process[_0x4e1a75(0x2e8)](_0x3a881c,this);else{const _0xd1cf65=this[_0x4e1a75(0x234)];this[_0x4e1a75(0x357)](),this[_0x4e1a75(0x357)]=this[_0x4e1a75(0x234)]=null,_0xd1cf65['close'](()=>{_0x3a881c(this);});}}}[_0x15e4d6(0x2b4)](_0x1edb36){const _0xd2aabc=_0x15e4d6;if(this['options']['path']){const _0x305147=_0x1edb36['url']['indexOf']('?');if((_0x305147!==-0x1?_0x1edb36[_0xd2aabc(0x30e)]['slice'](0x0,_0x305147):_0x1edb36['url'])!==this['options']['path'])return!0x1;}return!0x0;}['handleUpgrade'](_0x2da24a,_0x2db674,_0x5695d4,_0xce4371){const _0x1acce5=_0x15e4d6;_0x2db674['on']('error',_0x58f75d);const _0x4b6327=_0x2da24a[_0x1acce5(0x372)][_0x1acce5(0x351)],_0x1c9816=_0x2da24a[_0x1acce5(0x372)][_0x1acce5(0x256)],_0x3873b8=+_0x2da24a[_0x1acce5(0x372)][_0x1acce5(0x309)];if(_0x2da24a[_0x1acce5(0x33e)]!==_0x1acce5(0x21d)){_0x330468(this,_0x2da24a,_0x2db674,0x195,_0x1acce5(0x1fe));return;}if(_0x1c9816===void 0x0||_0x1c9816[_0x1acce5(0x377)]()!==_0x1acce5(0x36b)){_0x330468(this,_0x2da24a,_0x2db674,0x190,_0x1acce5(0x1ec));return;}if(_0x4b6327===void 0x0||!_0x5a759a[_0x1acce5(0x37d)](_0x4b6327)){_0x330468(this,_0x2da24a,_0x2db674,0x190,_0x1acce5(0x203));return;}if(_0x3873b8!==0xd&&_0x3873b8!==0x8){_0x330468(this,_0x2da24a,_0x2db674,0x190,_0x1acce5(0x30a),{'Sec-WebSocket-Version':'13,\x208'});return;}if(!this[_0x1acce5(0x2b4)](_0x2da24a)){_0xacc355(_0x2db674,0x190);return;}const _0x3550f3=_0x2da24a['headers'][_0x1acce5(0x275)];let _0x1dddcc=new Set();if(_0x3550f3!==void 0x0)try{_0x1dddcc=_0x3d344e[_0x1acce5(0x2d0)](_0x3550f3);}catch{_0x330468(this,_0x2da24a,_0x2db674,0x190,_0x1acce5(0x2eb));return;}const _0x13de56=_0x2da24a[_0x1acce5(0x372)][_0x1acce5(0x35f)],_0x281c98={};if(this['options'][_0x1acce5(0x39e)]&&_0x13de56!==void 0x0){const _0x357f11=new _0x1cbeca(this[_0x1acce5(0x37e)][_0x1acce5(0x39e)],!0x0,this[_0x1acce5(0x37e)][_0x1acce5(0x338)]);try{const _0x57d250=_0x4fd6e1[_0x1acce5(0x2d0)](_0x13de56);_0x57d250[_0x1cbeca[_0x1acce5(0x2e3)]]&&(_0x357f11[_0x1acce5(0x2d3)](_0x57d250[_0x1cbeca['extensionName']]),_0x281c98[_0x1cbeca[_0x1acce5(0x2e3)]]=_0x357f11);}catch{_0x330468(this,_0x2da24a,_0x2db674,0x190,_0x1acce5(0x1f0));return;}}if(this[_0x1acce5(0x37e)][_0x1acce5(0x28e)]){const _0x35ff5a={'origin':_0x2da24a['headers'][''+(_0x3873b8===0x8?_0x1acce5(0x27e):_0x1acce5(0x29e))],'secure':!!(_0x2da24a[_0x1acce5(0x383)][_0x1acce5(0x2b5)]||_0x2da24a['socket'][_0x1acce5(0x315)]),'req':_0x2da24a};if(this['options'][_0x1acce5(0x28e)][_0x1acce5(0x30c)]===0x2){this[_0x1acce5(0x37e)][_0x1acce5(0x28e)](_0x35ff5a,(_0x2c39c5,_0x4bc111,_0x122fae,_0x15ac65)=>{if(!_0x2c39c5)return _0xacc355(_0x2db674,_0x4bc111||0x191,_0x122fae,_0x15ac65);this['completeUpgrade'](_0x281c98,_0x4b6327,_0x1dddcc,_0x2da24a,_0x2db674,_0x5695d4,_0xce4371);});return;}if(!this[_0x1acce5(0x37e)][_0x1acce5(0x28e)](_0x35ff5a))return _0xacc355(_0x2db674,0x191);}this[_0x1acce5(0x2f9)](_0x281c98,_0x4b6327,_0x1dddcc,_0x2da24a,_0x2db674,_0x5695d4,_0xce4371);}['completeUpgrade'](_0x1007c0,_0x533aa6,_0x3b24dc,_0x447a77,_0x33ddb5,_0x426351,_0x12c8c5){const _0x2d1bee=_0x15e4d6;if(!_0x33ddb5[_0x2d1bee(0x206)]||!_0x33ddb5['writable'])return _0x33ddb5['destroy']();if(_0x33ddb5[_0x3f3646])throw new Error(_0x2d1bee(0x395));if(this[_0x2d1bee(0x340)]>_0xb4c37b)return _0xacc355(_0x33ddb5,0x1f7);const _0x5d7f84=[_0x2d1bee(0x2ec),_0x2d1bee(0x38f),_0x2d1bee(0x2f2),_0x2d1bee(0x2ae)+_0x5e64ff(_0x2d1bee(0x2e0))['update'](_0x533aa6+_0x238313)[_0x2d1bee(0x225)]('base64')],_0x469550=new this[(_0x2d1bee(0x37e))][(_0x2d1bee(0x1f1))](null,void 0x0,this[_0x2d1bee(0x37e)]);if(_0x3b24dc[_0x2d1bee(0x242)]){const _0x11da4e=this[_0x2d1bee(0x37e)][_0x2d1bee(0x366)]?this[_0x2d1bee(0x37e)][_0x2d1bee(0x366)](_0x3b24dc,_0x447a77):_0x3b24dc['values']()[_0x2d1bee(0x38d)]()[_0x2d1bee(0x3a1)];_0x11da4e&&(_0x5d7f84[_0x2d1bee(0x3a6)](_0x2d1bee(0x2b7)+_0x11da4e),_0x469550['_protocol']=_0x11da4e);}if(_0x1007c0[_0x1cbeca['extensionName']]){const _0xae3e00=_0x1007c0[_0x1cbeca[_0x2d1bee(0x2e3)]]['params'],_0x3a201d=_0x4fd6e1[_0x2d1bee(0x384)]({[_0x1cbeca['extensionName']]:[_0xae3e00]});_0x5d7f84['push'](_0x2d1bee(0x2cf)+_0x3a201d),_0x469550['_extensions']=_0x1007c0;}this['emit'](_0x2d1bee(0x372),_0x5d7f84,_0x447a77),_0x33ddb5[_0x2d1bee(0x367)](_0x5d7f84[_0x2d1bee(0x2df)]('\x0d\x0a')[_0x2d1bee(0x267)]('\x0d\x0a')),_0x33ddb5[_0x2d1bee(0x342)](_0x2d1bee(0x2cc),_0x58f75d),_0x469550[_0x2d1bee(0x26d)](_0x33ddb5,_0x426351,{'allowSynchronousEvents':this[_0x2d1bee(0x37e)][_0x2d1bee(0x331)],'maxPayload':this[_0x2d1bee(0x37e)][_0x2d1bee(0x338)],'skipUTF8Validation':this['options'][_0x2d1bee(0x397)]}),this['clients']&&(this['clients'][_0x2d1bee(0x240)](_0x469550),_0x469550['on']('close',()=>{const _0x96f558=_0x2d1bee;this[_0x96f558(0x39a)]['delete'](_0x469550),this[_0x96f558(0x2bc)]&&!this[_0x96f558(0x39a)][_0x96f558(0x242)]&&process[_0x96f558(0x2e8)](_0x3a881c,this);})),_0x12c8c5(_0x469550,_0x447a77);}}Te=_0x4b479e;function _0x36b7a7(_0x58c40d,_0x1d8ed1){const _0x12fd27=_0x15e4d6;for(const _0x386c4e of Object[_0x12fd27(0x391)](_0x1d8ed1))_0x58c40d['on'](_0x386c4e,_0x1d8ed1[_0x386c4e]);return function(){const _0x1a4139=_0x12fd27;for(const _0xe8b84c of Object[_0x1a4139(0x391)](_0x1d8ed1))_0x58c40d['removeListener'](_0xe8b84c,_0x1d8ed1[_0xe8b84c]);};}function _0x3a881c(_0x4316ab){const _0x28b142=_0x15e4d6;_0x4316ab['_state']=_0x1eec59,_0x4316ab['emit'](_0x28b142(0x393));}function _0x58f75d(){const _0x14d5e4=_0x15e4d6;this[_0x14d5e4(0x31d)]();}function _0xacc355(_0x200e4b,_0x43f6ad,_0x216ed5,_0x423400){const _0xae3738=_0x15e4d6;_0x216ed5=_0x216ed5||_0x34cf85[_0xae3738(0x3aa)][_0x43f6ad],_0x423400={'Connection':_0xae3738(0x393),'Content-Type':_0xae3738(0x318),'Content-Length':Buffer[_0xae3738(0x368)](_0x216ed5),..._0x423400},_0x200e4b['once'](_0xae3738(0x1f9),_0x200e4b['destroy']),_0x200e4b[_0xae3738(0x245)]('HTTP/1.1\x20'+_0x43f6ad+'\x20'+_0x34cf85[_0xae3738(0x3aa)][_0x43f6ad]+'\x0d\x0a'+Object[_0xae3738(0x391)](_0x423400)['map'](_0x14c5fa=>_0x14c5fa+':\x20'+_0x423400[_0x14c5fa])['join']('\x0d\x0a')+_0xae3738(0x337)+_0x216ed5);}function _0x330468(_0x32a31c,_0x23ef7e,_0x2d2a6e,_0xa6b292,_0x417673,_0x45c44e){const _0x455501=_0x15e4d6;if(_0x32a31c[_0x455501(0x2a1)](_0x455501(0x209))){const _0x3865b4=new Error(_0x417673);Error[_0x455501(0x283)](_0x3865b4,_0x330468),_0x32a31c[_0x455501(0x261)](_0x455501(0x209),_0x3865b4,_0x2d2a6e,_0x23ef7e);}else _0xacc355(_0x2d2a6e,_0xa6b292,_0x417673,_0x45c44e);}return Te;}er();var tr=Object[_0x41a477(0x20c)],rr=(_0x45c436,_0x46c77b,_0x5ce51a,_0x3431b5)=>{const _0xf5cbfb=_0x41a477;for(var _0x387137=_0x3431b5>0x1?void 0x0:_0x3431b5?tr(_0x46c77b,_0x5ce51a):_0x46c77b,_0x51948a=_0x45c436[_0xf5cbfb(0x30c)]-0x1,_0x1c7174;_0x51948a>=0x0;_0x51948a--)(_0x1c7174=_0x45c436[_0x51948a])&&(_0x387137=_0x1c7174(_0x387137)||_0x387137);return _0x387137;},sr=(_0x4f8da9,_0xc2d87d)=>(_0x470701,_0x53149e)=>_0xc2d87d(_0x470701,_0x53149e,_0x4f8da9);let Ne=class extends _0x53c142{constructor(_0x4e7156){const _0x43247f=_0x41a477;super(),this[_0x43247f(0x311)]=_0x4e7156;}[_0x41a477(0x2e6)](_0x57b45f){const _0x5b7bc6=_0x41a477;var _0x5465ef;const _0x4e4b90=(_0x5465ef=this['_configService'][_0x5b7bc6(0x35d)](Be))==null?void 0x0:_0x5465ef['customHeaders'];try{const _0x1da2f4=new Qt(_0x57b45f,{'headers':{..._0x4e4b90}}),_0x4d65b6=new _0x530038();return{'URL':_0x57b45f,'close':(_0x553a9a,_0x4398b8)=>{const _0xf0ec39=_0x5b7bc6;_0x1da2f4['close'](_0x553a9a,_0x4398b8),_0x4d65b6[_0xf0ec39(0x39b)]();},'send':_0x13fa52=>{const _0x440830=_0x5b7bc6;_0x1da2f4[_0x440830(0x28b)](_0x13fa52);},'open$':new _0x36f113(_0x35b706=>{const _0xa96e5b=_0x5b7bc6,_0x54b035=_0x25c915=>_0x35b706[_0xa96e5b(0x38d)](_0x25c915);_0x1da2f4['addEventListener']('open',_0x54b035),_0x4d65b6[_0xa96e5b(0x240)](_0x4c2130(()=>_0x1da2f4['removeEventListener']('open',_0x54b035)));})[_0x5b7bc6(0x31b)](_0x2349a8()),'close$':new _0x36f113(_0x1b8ed5=>{const _0x10ea81=_0x5b7bc6,_0x577c6e=_0x51042f=>_0x1b8ed5[_0x10ea81(0x38d)](_0x51042f);_0x1da2f4[_0x10ea81(0x21f)]('close',_0x577c6e),_0x4d65b6['add'](_0x4c2130(()=>_0x1da2f4[_0x10ea81(0x25f)](_0x10ea81(0x393),_0x577c6e)));})[_0x5b7bc6(0x31b)](_0x2349a8()),'error$':new _0x36f113(_0x598bfe=>{const _0x4cccfd=_0x5b7bc6,_0x1f8296=_0x4bb789=>_0x598bfe[_0x4cccfd(0x38d)](_0x4bb789);_0x1da2f4['addEventListener'](_0x4cccfd(0x2cc),_0x1f8296),_0x4d65b6[_0x4cccfd(0x240)](_0x4c2130(()=>_0x1da2f4['removeEventListener']('error',_0x1f8296)));})[_0x5b7bc6(0x31b)](_0x2349a8()),'message$':new _0x36f113(_0x3dd38a=>{const _0x17dc93=_0x5b7bc6,_0x584ad2=_0x21f1e4=>_0x3dd38a[_0x17dc93(0x38d)](_0x21f1e4);_0x1da2f4[_0x17dc93(0x21f)](_0x17dc93(0x2fb),_0x584ad2),_0x4d65b6[_0x17dc93(0x240)](_0x4c2130(()=>_0x1da2f4['removeEventListener'](_0x17dc93(0x2fb),_0x584ad2)));})[_0x5b7bc6(0x31b)](_0x2349a8())};}catch(_0x3bda73){return console[_0x5b7bc6(0x2cc)](_0x3bda73),null;}}};Ne=rr([sr(0x0,_0x4d2675)],Ne);var ir=Object[_0x41a477(0x255)],nr=Object[_0x41a477(0x20c)],or=(_0x563038,_0x355270,_0x3e2e5a)=>_0x355270 in _0x563038?ir(_0x563038,_0x355270,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3e2e5a}):_0x563038[_0x355270]=_0x3e2e5a,ar=(_0x5966de,_0x1fa0d9,_0x6d45c,_0x1b335e)=>{const _0x10f34f=_0x41a477;for(var _0x3ee7e0=_0x1b335e>0x1?void 0x0:_0x1b335e?nr(_0x1fa0d9,_0x6d45c):_0x1fa0d9,_0x32e346=_0x5966de[_0x10f34f(0x30c)]-0x1,_0x4dd94b;_0x32e346>=0x0;_0x32e346--)(_0x4dd94b=_0x5966de[_0x32e346])&&(_0x3ee7e0=_0x4dd94b(_0x3ee7e0)||_0x3ee7e0);return _0x3ee7e0;},ke=(_0x57ef24,_0x30cfc2)=>(_0x20acdf,_0xfd6ec6)=>_0x30cfc2(_0x20acdf,_0xfd6ec6,_0x57ef24),lr=(_0x5ccafa,_0x45fcab,_0x3e1515)=>or(_0x5ccafa,_0x45fcab+'',_0x3e1515);let Pe=class extends _0xe248e1{constructor(_0x2813ff=Ft,_0x1b1d97,_0x28311a,_0x43a051){const _0x2e3972=_0x41a477;_0x2813ff[_0x2e3972(0x2af)]||_0x1b1d97[_0x2e3972(0x399)](_0x2e3972(0x274)),super(),this[_0x2e3972(0x311)]=_0x28311a,this['_injector']=_0x43a051,this['_configService'][_0x2e3972(0x290)](Be,_0x2813ff);}[_0x41a477(0x213)](){const _0x22961a=_0x41a477;this[_0x22961a(0x2ba)]();}[_0x41a477(0x2ba)](){const _0x45a9e8=_0x41a477;_0x42f7a0(this[_0x45a9e8(0x35b)],[[_0x5b4c6c,{'useClass':Ne}]]);}};lr(Pe,_0x41a477(0x32a),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),Pe=ar([_0x40a3e6(_0x431993),ke(0x1,_0x4c044d),ke(0x2,_0x4d2675),ke(0x3,_0x17adb0(_0x5cc64e))],Pe);var fr=Object['getOwnPropertyDescriptor'],cr=(_0xbcf826,_0x4b8092,_0x1c7591,_0x4e14e6)=>{const _0x321f0a=_0x41a477;for(var _0x3f9170=_0x4e14e6>0x1?void 0x0:_0x4e14e6?fr(_0x4b8092,_0x1c7591):_0x4b8092,_0x700bc9=_0xbcf826[_0x321f0a(0x30c)]-0x1,_0x1d54e2;_0x700bc9>=0x0;_0x700bc9--)(_0x1d54e2=_0xbcf826[_0x700bc9])&&(_0x3f9170=_0x1d54e2(_0x3f9170)||_0x3f9170);return _0x3f9170;},se=(_0x345ab4,_0xa5332e)=>(_0x2295df,_0x10cbca)=>_0xa5332e(_0x2295df,_0x10cbca,_0x345ab4);let at=class extends _0xd5f299{constructor(_0x1c44d7,_0x2fb822,_0x57ecb,_0x24deae,_0x2d36c5){const _0xf63263=_0x41a477;super(_0x1c44d7,_0x2fb822,_0x57ecb,_0x24deae,_0x2d36c5);const _0x1faced=this['_configService'][_0xf63263(0x35d)](Be);this[_0xf63263(0x2f5)][_0xf63263(0x211)]({'interceptor':(_0x4ce963,_0x31f947)=>{const _0x3f703f=_0xf63263;var _0x333bc9;const _0xda4827=_0x4ce963[_0x3f703f(0x372)];return(_0x333bc9=_0x1faced==null?void 0x0:_0x1faced[_0x3f703f(0x2af)])!=null&&_0x333bc9['cookie']&&_0xda4827['set'](_0x3f703f(0x333),_0x1faced[_0x3f703f(0x2af)][_0x3f703f(0x2d9)]),_0x31f947(_0x4ce963);}});}async['createSocket'](_0x1ddd62){const _0x560e70=_0x41a477;return this[_0x560e70(0x2aa)](_0x1ddd62);}};at=cr([se(0x0,_0x17adb0(_0x5cc64e)),se(0x1,_0x17adb0(_0x5ce968)),se(0x2,_0x4d2675),se(0x3,_0x4c044d),se(0x4,_0x2d5253)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};