@univerjs-pro/collaboration-client-node 0.10.1 → 0.10.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.js CHANGED
@@ -1 +1 @@
1
- const _0x354711=_0x508b;(function(_0x196927,_0x466d38){const _0x88aa7c=_0x508b,_0x319cd8=_0x196927();while(!![]){try{const _0x53b818=parseInt(_0x88aa7c(0x1a1))/0x1*(parseInt(_0x88aa7c(0x1a4))/0x2)+-parseInt(_0x88aa7c(0x2ae))/0x3*(parseInt(_0x88aa7c(0x1fc))/0x4)+-parseInt(_0x88aa7c(0x228))/0x5+-parseInt(_0x88aa7c(0x1ca))/0x6*(-parseInt(_0x88aa7c(0x322))/0x7)+parseInt(_0x88aa7c(0x2dc))/0x8*(parseInt(_0x88aa7c(0x2fd))/0x9)+parseInt(_0x88aa7c(0x1d5))/0xa+-parseInt(_0x88aa7c(0x208))/0xb;if(_0x53b818===_0x466d38)break;else _0x319cd8['push'](_0x319cd8['shift']());}catch(_0x20b532){_0x319cd8['push'](_0x319cd8['shift']());}}}(_0x3a4c,0xbfae7));import{UniverCollaborationClientPlugin as _0x11f551,CollaborationSocketService as _0x1152c3}from'@univerjs-pro/collaboration-client';import{Disposable as _0x5b22e9,DisposableCollection as _0x180089,toDisposable as _0x35541a,IConfigService as _0xfe82ca,DependentOn as _0x32f0b5,ILogService as _0x334909,Inject as _0x2ce7ba,Injector as _0x72b2eb,Plugin as _0x41de3f,registerDependencies as _0x116285}from'@univerjs/core';import{ISocketService as _0x503ed7,HTTPService as _0x595241}from'@univerjs/network';import{Observable as _0x285b15,share as _0x2ef6e4}from'rxjs';import _0x2d9a8c from'events';import _0xde752b from'https';import _0x48a5e1 from'http';import _0x6b9aea from'net';import _0x2f8d45 from'tls';import _0x997d7e from'crypto';import _0x201f56 from'stream';function _0x3a4c(){const _0x2a15c2=['blob','_socket','server_max_window_bits','href','pathname','Maximum\x20redirects\x20exceeded','acceptAsClient','writeHead','wss:','FIN\x20must\x20be\x20set','handleProtocols','autoPong','getBlobData','58396ehmfNT','_no_context_takeover','_server','has','Opening\x20handshake\x20has\x20timed\x20out','createServer','getMask','handleEvent','object','kTarget','WS_ERR_EXPECTED_FIN','isArray','12500796vorKZU','hasOwnProperty','add','Unsupported\x20protocol\x20version:\x20','server','nextTick','end','warn','_deflate','_sender','getPayloadLength16','emitClose','pause','setTimeout','arrayBuffer','push','_buffers','_injector','readyState','isServer','connection','createSocket','pong','getConfig','write','OPEN','slice','origin','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','statusCode','sec-websocket-protocol','once','7537565YtPdNY','getInfo','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','username','Cookie','_fin','ws:','construct','host','_compress','RSV1\x20must\x20be\x20clear','_closeFrameReceived','_write','invalid\x20opcode\x20','fragments','_closeTimer','bind','timeout','_fragments','_maxPayload','get','allocUnsafe','_masked','dispose','indexOf','zlibInflateOptions','kWasClean','_isServer','create','servername','createConnection','pluginName','setNoDelay','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','toStringTag','extensions','hash','type','arraybuffer','pow','setSocket','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','serverNoContextTakeover','_readyState','values','The\x20\x22','_max_window_bits','close','_state','params','wsClientError','isValidUTF8','read','_originalHostOrSocketPath','text/plain','port','authorized','controlMessage','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','MASK\x20must\x20be\x20set','backlog','startLoop','removeEventListener','_queue','hostname','number','\x20(supported\x20versions:\x20','string','13,\x208','then','haveLength','reason','_mask','resume','_fragmented','nodebuffer','cleanup','createDeflateRaw','Upgrade','mask','maxRedirects','HTTP/1.1\x20','setConfig','emit','server_no_context_takeover','_final','Server\x20sent\x20no\x20subprotocol','options','_allowSynchronousEvents','password','data','zlibDeflateOptions','send','client','Sec-WebSocket-Origin','perMessageDeflate','_decompress','keys','_configService','next','decompress','Sec-WebSocket-Protocol:\x20','_autoPong','WS_ERR_UNEXPECTED_MASK','dequeue','_maskBuffer','dataMessage','set','ping','onerror','client_max_window_bits','_messageLength','kIsForOnEventAttribute','byteLength','CLOSED','_payloadLength','WS_NO_UTF_8_VALIDATE','sec-websocket-key','authorization','needDrain','onclose','concat','Max\x20payload\x20size\x20exceeded','kAborted','File','buffer','status-code','threshold','_opcode','unexpected-response','getOwnPropertyDescriptor','_originalSecure','_registerDependencies','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','312ELkiAT','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','Module','completeUpgrade','socket','_binaryType','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','offer','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','removeAllListeners','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','handleUpgrade','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','_inflate','extensionName','__esModule','Z_DEFAULT_WINDOWBITS','auth','prototype','join','Invalid\x20Sec-WebSocket-Accept\x20header','shift','value','STATUS_CODES','WS_ERR_EXPECTED_MASK','getPayloadLength64','\x22\x20subprotocol\x20is\x20duplicated','url','species','cookie','method','pipe','update','http:','The\x20URL\x27s\x20pathname\x20is\x20empty','client_no_context_takeover','skipUTF8Validation','replace','_errorEmitted','location','_removeListeners','_protocol','writeUInt16BE','path','base64','verifyClient','24yBmreY','redirect','Unknown\x20parameter\x20\x22','Invalid\x20HTTP\x20method','permessage-deflate','clientNoContextTakeover','normalizeParams','_writableState','captureStackTrace','CLOSING','customHeaders','handshakeTimeout','noServer','invalid\x20UTF-8\x20sequence','_loop','GET','Invalid\x20value\x20for\x20parameter\x20\x22','defaultPort','from','function','length','maxPayload','concurrency','removeListener','code','map','_shouldEmitClose','readOnly','flush','toString','_paused','finish','message','3699117OuzpXq','_originalIpc','addEventListener','kCode','listening','generateMask','_generateMask','MASK\x20must\x20be\x20clear','maskBuffer','consume','protocolVersion','Upgrade:\x20websocket','protocol','dispatch','_closeFrameSent','finishRequest','kRun','byteOffset','_threshold','catch','destroy','onopen','Unexpected\x20server\x20response:\x20','listen','constructor','_closeCode','listeners','clients','uncork','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','readUInt32BE','Origin','abort','_closeMessage','invalid\x20payload\x20length\x20','forEach','Sec-WebSocket-Extensions:\x20','1616769NCCmyC','listenerCount','conclude','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','setHeader','call','binaryType','upgrade','target','_options','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','toLowerCase','WS_NO_BUFFER_UTIL','alloc','Invalid\x20Upgrade\x20header','WS_ERR_INVALID_OPCODE','includes','_readableState','endEmitted','_bufferedAmount','drain','_url','sha1','clientMaxWindowBits','getData','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','createError','WS_ERR_INVALID_UTF8','size','accept','_skipUTF8Validation','sec-websocket-version','env','followRedirects','default','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','isPaused','apply','87rLInfM','socketPath','enqueue','28922luzWSp','CONNECTING','_compressed','_extensions','opcode','frame','Unexpected\x20end\x20of\x20input','\x0d\x0a\x0d\x0a','connect','HTTP/1.1\x20101\x20Switching\x20Protocols','isInteger','errorEmitted','headers','jobs','exports','_errored','kReason','onmessage','_bufferedBytes','buffers','collaboration-client-node.config','\x22:\x20','kMessage','delete','bufferedAmount','reset','wasClean','The\x20server\x20is\x20not\x20running','Invalid\x20URL:\x20','open','_req','serverMaxWindowBits','Invalid\x20Sec-WebSocket-Extensions\x20header','destroyed','request','freeze','address','concurrencyLimit','30PISzIs','charCodeAt','isIP','WS_ERR_UNEXPECTED_RSV_1','_doCreateSocket','error','Z_SYNC_FLUSH','shouldHandle','websocket','kType','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','13013910gIvhPO','_firstFragment','Sec-WebSocket-Accept:\x20','allowSynchronousEvents','parse','Unexpected\x20character\x20at\x20index\x20','_totalPayloadLength','fin','compress','WS_ERR_INVALID_CLOSE_CODE','_receiver','defineProperty','search','https:','_redirects','sec-websocket-extensions','Connection:\x20Upgrade','createInflateRaw','format','finished','test','terminate','readUInt16BE','pending','sendFrame','writeUIntBE'];_0x3a4c=function(){return _0x2a15c2;};return _0x3a4c();}import _0x29ec2d from'url';import _0x3865d4 from'zlib';import _0x49e4c6 from'buffer';import{ISnapshotServerService as _0x2fa27a}from'@univerjs-pro/collaboration';const Be=_0x354711(0x1b8),Ft={'customHeaders':{}};function Wt(_0x2f4c6f){const _0x2467eb=_0x354711;return _0x2f4c6f&&_0x2f4c6f[_0x2467eb(0x2bd)]&&Object[_0x2467eb(0x2c0)]['hasOwnProperty'][_0x2467eb(0x327)](_0x2f4c6f,_0x2467eb(0x19d))?_0x2f4c6f['default']:_0x2f4c6f;}function ut(_0x5aebeb){const _0x1e1732=_0x354711;if(Object[_0x1e1732(0x2c0)][_0x1e1732(0x209)][_0x1e1732(0x327)](_0x5aebeb,_0x1e1732(0x2bd)))return _0x5aebeb;var _0x1592e8=_0x5aebeb[_0x1e1732(0x19d)];if(typeof _0x1592e8==_0x1e1732(0x2ef)){var _0x231d2b=function _0x72e78f(){const _0x4200d7=_0x1e1732;var _0x44d542=!0x1;try{_0x44d542=this instanceof _0x72e78f;}catch{}return _0x44d542?Reflect[_0x4200d7(0x22f)](_0x1592e8,arguments,this[_0x4200d7(0x315)]):_0x1592e8['apply'](this,arguments);};_0x231d2b[_0x1e1732(0x2c0)]=_0x1592e8['prototype'];}else _0x231d2b={};return Object[_0x1e1732(0x1e0)](_0x231d2b,_0x1e1732(0x2bd),{'value':!0x0}),Object[_0x1e1732(0x289)](_0x5aebeb)[_0x1e1732(0x320)](function(_0x1f918c){const _0x49db72=_0x1e1732;var _0x4d758b=Object[_0x49db72(0x2aa)](_0x5aebeb,_0x1f918c);Object[_0x49db72(0x1e0)](_0x231d2b,_0x1f918c,_0x4d758b[_0x49db72(0x23c)]?_0x4d758b:{'enumerable':!0x0,'get':function(){return _0x5aebeb[_0x1f918c];}});}),_0x231d2b;}var te={'exports':{}},ge,Ye;function V(){const _0x54aab8=_0x354711;if(Ye)return ge;Ye=0x1;const _0x3f87f3=[_0x54aab8(0x273),'arraybuffer',_0x54aab8(0x236)],_0x1b424f=typeof Blob<'u';return _0x1b424f&&_0x3f87f3[_0x54aab8(0x217)](_0x54aab8(0x1ef)),ge={'BINARY_TYPES':_0x3f87f3,'EMPTY_BUFFER':Buffer[_0x54aab8(0x32f)](0x0),'GUID':_0x54aab8(0x224),'hasBlob':_0x1b424f,'kForOnEventAttribute':Symbol(_0x54aab8(0x298)),'kListener':Symbol('kListener'),'kStatusCode':Symbol(_0x54aab8(0x2a6)),'kWebSocket':Symbol(_0x54aab8(0x1d2)),'NOOP':()=>{}},ge;}const jt={},Gt=Object[_0x354711(0x1c7)](Object['defineProperty']({'__proto__':null,'default':jt},Symbol[_0x354711(0x24a)],{'value':'Module'})),Vt=ut(Gt);var Ke;function ce(){const _0x389983=_0x354711;if(Ke)return te[_0x389983(0x1b2)];Ke=0x1;const {EMPTY_BUFFER:_0x407984}=V(),_0x457a7c=Buffer[Symbol['species']];function _0x570ce3(_0xe95848,_0x23f8ea){const _0x53a997=_0x389983;if(_0xe95848[_0x53a997(0x2f0)]===0x0)return _0x407984;if(_0xe95848[_0x53a997(0x2f0)]===0x1)return _0xe95848[0x0];const _0x3e3a39=Buffer[_0x53a997(0x23d)](_0x23f8ea);let _0x45aa1c=0x0;for(let _0x5d8d49=0x0;_0x5d8d49<_0xe95848['length'];_0x5d8d49++){const _0x48bef1=_0xe95848[_0x5d8d49];_0x3e3a39[_0x53a997(0x293)](_0x48bef1,_0x45aa1c),_0x45aa1c+=_0x48bef1[_0x53a997(0x2f0)];}return _0x45aa1c<_0x23f8ea?new _0x457a7c(_0x3e3a39['buffer'],_0x3e3a39[_0x53a997(0x30e)],_0x45aa1c):_0x3e3a39;}function _0x4437f4(_0x3a0ce1,_0x40ca51,_0xf56392,_0x206d86,_0xf5c299){for(let _0xc4794b=0x0;_0xc4794b<_0xf5c299;_0xc4794b++)_0xf56392[_0x206d86+_0xc4794b]=_0x3a0ce1[_0xc4794b]^_0x40ca51[_0xc4794b&0x3];}function _0x478fdb(_0x33e8f9,_0x1e7d47){const _0x526547=_0x389983;for(let _0x8b3a0a=0x0;_0x8b3a0a<_0x33e8f9[_0x526547(0x2f0)];_0x8b3a0a++)_0x33e8f9[_0x8b3a0a]^=_0x1e7d47[_0x8b3a0a&0x3];}function _0x4f6d6f(_0x1e15b2){const _0xd9822=_0x389983;return _0x1e15b2[_0xd9822(0x2f0)]===_0x1e15b2[_0xd9822(0x2a5)]['byteLength']?_0x1e15b2[_0xd9822(0x2a5)]:_0x1e15b2[_0xd9822(0x2a5)][_0xd9822(0x222)](_0x1e15b2[_0xd9822(0x30e)],_0x1e15b2[_0xd9822(0x30e)]+_0x1e15b2['length']);}function _0x4c8b49(_0x4bf5cf){const _0x4ddf3b=_0x389983;if(_0x4c8b49[_0x4ddf3b(0x2f7)]=!0x0,Buffer['isBuffer'](_0x4bf5cf))return _0x4bf5cf;let _0x54a15a;return _0x4bf5cf instanceof ArrayBuffer?_0x54a15a=new _0x457a7c(_0x4bf5cf):ArrayBuffer['isView'](_0x4bf5cf)?_0x54a15a=new _0x457a7c(_0x4bf5cf[_0x4ddf3b(0x2a5)],_0x4bf5cf[_0x4ddf3b(0x30e)],_0x4bf5cf[_0x4ddf3b(0x299)]):(_0x54a15a=Buffer[_0x4ddf3b(0x2ee)](_0x4bf5cf),_0x4c8b49[_0x4ddf3b(0x2f7)]=!0x1),_0x54a15a;}if(te[_0x389983(0x1b2)]={'concat':_0x570ce3,'mask':_0x4437f4,'toArrayBuffer':_0x4f6d6f,'toBuffer':_0x4c8b49,'unmask':_0x478fdb},!process[_0x389983(0x19b)][_0x389983(0x32e)])try{const _0x4901ee=Vt;te[_0x389983(0x1b2)][_0x389983(0x277)]=function(_0x1bfd2b,_0x5f1af4,_0xa7a375,_0x4f27da,_0x1aaa70){const _0x3fc5d0=_0x389983;_0x1aaa70<0x30?_0x4437f4(_0x1bfd2b,_0x5f1af4,_0xa7a375,_0x4f27da,_0x1aaa70):_0x4901ee[_0x3fc5d0(0x277)](_0x1bfd2b,_0x5f1af4,_0xa7a375,_0x4f27da,_0x1aaa70);},te['exports']['unmask']=function(_0x51c101,_0xda0505){const _0x4eb604=_0x389983;_0x51c101[_0x4eb604(0x2f0)]<0x20?_0x478fdb(_0x51c101,_0xda0505):_0x4901ee['unmask'](_0x51c101,_0xda0505);};}catch{}return te['exports'];}var ye,Xe;function qt(){const _0xcf75c4=_0x354711;if(Xe)return ye;Xe=0x1;const _0x4ca563=Symbol('kDone'),_0x5975b3=Symbol(_0xcf75c4(0x30d));class _0x5e65ef{constructor(_0x500452){const _0x5e9132=_0xcf75c4;this[_0x4ca563]=()=>{this['pending']--,this[_0x5975b3]();},this[_0x5e9132(0x2f2)]=_0x500452||0x1/0x0,this[_0x5e9132(0x1b1)]=[],this[_0x5e9132(0x1ec)]=0x0;}[_0xcf75c4(0x20a)](_0x2ade49){this['jobs']['push'](_0x2ade49),this[_0x5975b3]();}[_0x5975b3](){const _0x11fbd0=_0xcf75c4;if(this['pending']!==this['concurrency']&&this[_0x11fbd0(0x1b1)][_0x11fbd0(0x2f0)]){const _0x3c817e=this[_0x11fbd0(0x1b1)]['shift']();this[_0x11fbd0(0x1ec)]++,_0x3c817e(this[_0x4ca563]);}}}return ye=_0x5e65ef,ye;}var ve,Ze;function he(){const _0x3de608=_0x354711;if(Ze)return ve;Ze=0x1;const _0x3ab7a8=_0x3865d4,_0x32b085=ce(),_0x491919=qt(),{kStatusCode:_0x4b48c2}=V(),_0x5a04f2=Buffer[Symbol['species']],_0x1bdf50=Buffer[_0x3de608(0x2ee)]([0x0,0x0,0xff,0xff]),_0x853cf7=Symbol(_0x3de608(0x2e0)),_0x49c281=Symbol('total-length'),_0x156d18=Symbol('callback'),_0x30c130=Symbol(_0x3de608(0x1b7)),_0x1ff4b0=Symbol(_0x3de608(0x1cf));let _0x1ebf8d;class _0x53c8e1{constructor(_0x56a48d,_0xda2e2b,_0x20721c){const _0x34c793=_0x3de608;if(this[_0x34c793(0x23b)]=_0x20721c|0x0,this['_options']=_0x56a48d||{},this[_0x34c793(0x30f)]=this[_0x34c793(0x32b)]['threshold']!==void 0x0?this['_options'][_0x34c793(0x2a7)]:0x400,this[_0x34c793(0x243)]=!!_0xda2e2b,this['_deflate']=null,this[_0x34c793(0x2bb)]=null,this[_0x34c793(0x259)]=null,!_0x1ebf8d){const _0x47b57d=this[_0x34c793(0x32b)]['concurrencyLimit']!==void 0x0?this[_0x34c793(0x32b)][_0x34c793(0x1c9)]:0xa;_0x1ebf8d=new _0x491919(_0x47b57d);}}static get[_0x3de608(0x2bc)](){return'permessage-deflate';}[_0x3de608(0x2b5)](){const _0x524566=_0x3de608,_0x5220d9={};return this[_0x524566(0x32b)][_0x524566(0x252)]&&(_0x5220d9[_0x524566(0x27c)]=!0x0),this['_options'][_0x524566(0x2e1)]&&(_0x5220d9[_0x524566(0x2d1)]=!0x0),this[_0x524566(0x32b)]['serverMaxWindowBits']&&(_0x5220d9[_0x524566(0x1f1)]=this['_options']['serverMaxWindowBits']),this[_0x524566(0x32b)][_0x524566(0x339)]?_0x5220d9[_0x524566(0x296)]=this[_0x524566(0x32b)][_0x524566(0x339)]:this[_0x524566(0x32b)][_0x524566(0x339)]==null&&(_0x5220d9[_0x524566(0x296)]=!0x0),_0x5220d9;}[_0x3de608(0x33f)](_0x10a591){const _0x52968c=_0x3de608;return _0x10a591=this[_0x52968c(0x2e2)](_0x10a591),this['params']=this[_0x52968c(0x243)]?this['acceptAsServer'](_0x10a591):this[_0x52968c(0x1f5)](_0x10a591),this[_0x52968c(0x259)];}[_0x3de608(0x274)](){const _0x48e009=_0x3de608;if(this[_0x48e009(0x2bb)]&&(this[_0x48e009(0x2bb)][_0x48e009(0x257)](),this[_0x48e009(0x2bb)]=null),this[_0x48e009(0x210)]){const _0xb33edf=this[_0x48e009(0x210)][_0x156d18];this['_deflate'][_0x48e009(0x257)](),this[_0x48e009(0x210)]=null,_0xb33edf&&_0xb33edf(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}['acceptAsServer'](_0x4bdb9e){const _0x4eabe2=_0x3de608,_0x4d41d6=this[_0x4eabe2(0x32b)],_0x2d6fe4=_0x4bdb9e['find'](_0x5d3ba1=>!(_0x4d41d6[_0x4eabe2(0x252)]===!0x1&&_0x5d3ba1[_0x4eabe2(0x27c)]||_0x5d3ba1[_0x4eabe2(0x1f1)]&&(_0x4d41d6['serverMaxWindowBits']===!0x1||typeof _0x4d41d6[_0x4eabe2(0x1c3)]==_0x4eabe2(0x269)&&_0x4d41d6[_0x4eabe2(0x1c3)]>_0x5d3ba1['server_max_window_bits'])||typeof _0x4d41d6[_0x4eabe2(0x339)]==_0x4eabe2(0x269)&&!_0x5d3ba1[_0x4eabe2(0x296)]));if(!_0x2d6fe4)throw new Error(_0x4eabe2(0x325));return _0x4d41d6['serverNoContextTakeover']&&(_0x2d6fe4['server_no_context_takeover']=!0x0),_0x4d41d6[_0x4eabe2(0x2e1)]&&(_0x2d6fe4[_0x4eabe2(0x2d1)]=!0x0),typeof _0x4d41d6[_0x4eabe2(0x1c3)]==_0x4eabe2(0x269)&&(_0x2d6fe4['server_max_window_bits']=_0x4d41d6[_0x4eabe2(0x1c3)]),typeof _0x4d41d6[_0x4eabe2(0x339)]==_0x4eabe2(0x269)?_0x2d6fe4[_0x4eabe2(0x296)]=_0x4d41d6[_0x4eabe2(0x339)]:(_0x2d6fe4[_0x4eabe2(0x296)]===!0x0||_0x4d41d6[_0x4eabe2(0x339)]===!0x1)&&delete _0x2d6fe4[_0x4eabe2(0x296)],_0x2d6fe4;}[_0x3de608(0x1f5)](_0x5cd9ec){const _0xebdbe9=_0x3de608,_0x5a0a15=_0x5cd9ec[0x0];if(this[_0xebdbe9(0x32b)][_0xebdbe9(0x2e1)]===!0x1&&_0x5a0a15[_0xebdbe9(0x2d1)])throw new Error(_0xebdbe9(0x2b8));if(!_0x5a0a15['client_max_window_bits'])typeof this[_0xebdbe9(0x32b)]['clientMaxWindowBits']=='number'&&(_0x5a0a15[_0xebdbe9(0x296)]=this[_0xebdbe9(0x32b)][_0xebdbe9(0x339)]);else{if(this['_options'][_0xebdbe9(0x339)]===!0x1||typeof this[_0xebdbe9(0x32b)][_0xebdbe9(0x339)]==_0xebdbe9(0x269)&&_0x5a0a15[_0xebdbe9(0x296)]>this[_0xebdbe9(0x32b)]['clientMaxWindowBits'])throw new Error(_0xebdbe9(0x262));}return _0x5a0a15;}[_0x3de608(0x2e2)](_0x1cd7c3){return _0x1cd7c3['forEach'](_0x1edd1e=>{const _0xd226d1=_0x508b;Object[_0xd226d1(0x289)](_0x1edd1e)['forEach'](_0x13ae72=>{const _0x5278c7=_0xd226d1;let _0x3f124a=_0x1edd1e[_0x13ae72];if(_0x3f124a[_0x5278c7(0x2f0)]>0x1)throw new Error('Parameter\x20\x22'+_0x13ae72+'\x22\x20must\x20have\x20only\x20a\x20single\x20value');if(_0x3f124a=_0x3f124a[0x0],_0x13ae72===_0x5278c7(0x296)){if(_0x3f124a!==!0x0){const _0x1a5264=+_0x3f124a;if(!Number[_0x5278c7(0x1ae)](_0x1a5264)||_0x1a5264<0x8||_0x1a5264>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x13ae72+'\x22:\x20'+_0x3f124a);_0x3f124a=_0x1a5264;}else{if(!this[_0x5278c7(0x243)])throw new TypeError(_0x5278c7(0x2ec)+_0x13ae72+_0x5278c7(0x1b9)+_0x3f124a);}}else{if(_0x13ae72===_0x5278c7(0x1f1)){const _0x3e4266=+_0x3f124a;if(!Number[_0x5278c7(0x1ae)](_0x3e4266)||_0x3e4266<0x8||_0x3e4266>0xf)throw new TypeError(_0x5278c7(0x2ec)+_0x13ae72+'\x22:\x20'+_0x3f124a);_0x3f124a=_0x3e4266;}else{if(_0x13ae72===_0x5278c7(0x2d1)||_0x13ae72===_0x5278c7(0x27c)){if(_0x3f124a!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x13ae72+'\x22:\x20'+_0x3f124a);}else throw new Error(_0x5278c7(0x2de)+_0x13ae72+'\x22');}}_0x1edd1e[_0x13ae72]=_0x3f124a;});}),_0x1cd7c3;}['decompress'](_0x4be00d,_0x586607,_0x38a842){const _0x565fd5=_0x3de608;_0x1ebf8d[_0x565fd5(0x20a)](_0x3dbab4=>{const _0x24cf6e=_0x565fd5;this[_0x24cf6e(0x288)](_0x4be00d,_0x586607,(_0x10335a,_0x2eefe6)=>{_0x3dbab4(),_0x38a842(_0x10335a,_0x2eefe6);});});}[_0x3de608(0x1dd)](_0x3124ba,_0x1ea5c6,_0x238243){_0x1ebf8d['add'](_0xd2cd30=>{const _0x11b8a8=_0x508b;this[_0x11b8a8(0x231)](_0x3124ba,_0x1ea5c6,(_0x2ebb49,_0x434a00)=>{_0xd2cd30(),_0x238243(_0x2ebb49,_0x434a00);});});}[_0x3de608(0x288)](_0x2767c7,_0x43ea10,_0x14ecdb){const _0x34287d=_0x3de608,_0x23dcf2=this[_0x34287d(0x243)]?'client':_0x34287d(0x20c);if(!this[_0x34287d(0x2bb)]){const _0x4f8a51=_0x23dcf2+_0x34287d(0x256),_0x4eb179=typeof this[_0x34287d(0x259)][_0x4f8a51]!=_0x34287d(0x269)?_0x3ab7a8[_0x34287d(0x2be)]:this[_0x34287d(0x259)][_0x4f8a51];this[_0x34287d(0x2bb)]=_0x3ab7a8[_0x34287d(0x1e6)]({...this[_0x34287d(0x32b)][_0x34287d(0x241)],'windowBits':_0x4eb179}),this[_0x34287d(0x2bb)][_0x853cf7]=this,this[_0x34287d(0x2bb)][_0x49c281]=0x0,this[_0x34287d(0x2bb)][_0x30c130]=[],this[_0x34287d(0x2bb)]['on']('error',_0x5a221a),this['_inflate']['on'](_0x34287d(0x282),_0x23cd6f);}this['_inflate'][_0x156d18]=_0x14ecdb,this['_inflate'][_0x34287d(0x220)](_0x2767c7),_0x43ea10&&this['_inflate'][_0x34287d(0x220)](_0x1bdf50),this['_inflate']['flush'](()=>{const _0x58c04f=_0x34287d,_0x4e90e3=this[_0x58c04f(0x2bb)][_0x1ff4b0];if(_0x4e90e3){this['_inflate']['close'](),this[_0x58c04f(0x2bb)]=null,_0x14ecdb(_0x4e90e3);return;}const _0x103b19=_0x32b085[_0x58c04f(0x2a1)](this[_0x58c04f(0x2bb)][_0x30c130],this[_0x58c04f(0x2bb)][_0x49c281]);this[_0x58c04f(0x2bb)][_0x58c04f(0x333)]['endEmitted']?(this[_0x58c04f(0x2bb)][_0x58c04f(0x257)](),this['_inflate']=null):(this['_inflate'][_0x49c281]=0x0,this[_0x58c04f(0x2bb)][_0x30c130]=[],_0x43ea10&&this['params'][_0x23dcf2+_0x58c04f(0x1fd)]&&this['_inflate'][_0x58c04f(0x1bd)]()),_0x14ecdb(null,_0x103b19);});}[_0x3de608(0x231)](_0x1b4b43,_0x2e9610,_0x4159eb){const _0x2452c2=_0x3de608,_0x47c7b7=this[_0x2452c2(0x243)]?_0x2452c2(0x20c):_0x2452c2(0x285);if(!this[_0x2452c2(0x210)]){const _0x559177=_0x47c7b7+_0x2452c2(0x256),_0x31544c=typeof this[_0x2452c2(0x259)][_0x559177]!=_0x2452c2(0x269)?_0x3ab7a8[_0x2452c2(0x2be)]:this[_0x2452c2(0x259)][_0x559177];this['_deflate']=_0x3ab7a8[_0x2452c2(0x275)]({...this[_0x2452c2(0x32b)][_0x2452c2(0x283)],'windowBits':_0x31544c}),this[_0x2452c2(0x210)][_0x49c281]=0x0,this['_deflate'][_0x30c130]=[],this[_0x2452c2(0x210)]['on'](_0x2452c2(0x282),_0x196b42);}this[_0x2452c2(0x210)][_0x156d18]=_0x4159eb,this['_deflate']['write'](_0x1b4b43),this[_0x2452c2(0x210)][_0x2452c2(0x2f8)](_0x3ab7a8[_0x2452c2(0x1d0)],()=>{const _0x5c9e75=_0x2452c2;if(!this[_0x5c9e75(0x210)])return;let _0x3f1bd3=_0x32b085[_0x5c9e75(0x2a1)](this[_0x5c9e75(0x210)][_0x30c130],this[_0x5c9e75(0x210)][_0x49c281]);_0x2e9610&&(_0x3f1bd3=new _0x5a04f2(_0x3f1bd3[_0x5c9e75(0x2a5)],_0x3f1bd3[_0x5c9e75(0x30e)],_0x3f1bd3[_0x5c9e75(0x2f0)]-0x4)),this[_0x5c9e75(0x210)][_0x156d18]=null,this['_deflate'][_0x49c281]=0x0,this[_0x5c9e75(0x210)][_0x30c130]=[],_0x2e9610&&this[_0x5c9e75(0x259)][_0x47c7b7+_0x5c9e75(0x1fd)]&&this[_0x5c9e75(0x210)][_0x5c9e75(0x1bd)](),_0x4159eb(null,_0x3f1bd3);});}}ve=_0x53c8e1;function _0x196b42(_0x460465){const _0x1e9641=_0x3de608;this[_0x30c130][_0x1e9641(0x217)](_0x460465),this[_0x49c281]+=_0x460465[_0x1e9641(0x2f0)];}function _0x23cd6f(_0x3c203e){const _0x282e69=_0x3de608;if(this[_0x49c281]+=_0x3c203e['length'],this[_0x853cf7][_0x282e69(0x23b)]<0x1||this[_0x49c281]<=this[_0x853cf7]['_maxPayload']){this[_0x30c130][_0x282e69(0x217)](_0x3c203e);return;}this[_0x1ff4b0]=new RangeError(_0x282e69(0x2a2)),this[_0x1ff4b0]['code']=_0x282e69(0x1d4),this[_0x1ff4b0][_0x4b48c2]=0x3f1,this[_0x282e69(0x2f3)]('data',_0x23cd6f),this[_0x282e69(0x1bd)]();}function _0x5a221a(_0x4d30c4){const _0x5705f0=_0x3de608;if(this[_0x853cf7][_0x5705f0(0x2bb)]=null,this[_0x1ff4b0]){this[_0x156d18](this[_0x1ff4b0]);return;}_0x4d30c4[_0x4b48c2]=0x3ef,this[_0x156d18](_0x4d30c4);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x354711(0x1c7)](Object[_0x354711(0x1e0)]({'__proto__':null,'default':Ht},Symbol[_0x354711(0x24a)],{'value':_0x354711(0x2b0)})),Yt=ut(zt);var Qe;function ne(){const _0x52e564=_0x354711;if(Qe)return re['exports'];Qe=0x1;const {isUtf8:_0x41dbe3}=_0x49e4c6,{hasBlob:_0x2fad7d}=V(),_0x4ef1dd=[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 _0x5d648f(_0x13625b){return _0x13625b>=0x3e8&&_0x13625b<=0x3f6&&_0x13625b!==0x3ec&&_0x13625b!==0x3ed&&_0x13625b!==0x3ee||_0x13625b>=0xbb8&&_0x13625b<=0x1387;}function _0x184a90(_0x38857b){const _0x433e7a=_0x508b,_0x3de53a=_0x38857b[_0x433e7a(0x2f0)];let _0x89c069=0x0;for(;_0x89c069<_0x3de53a;)if((_0x38857b[_0x89c069]&0x80)===0x0)_0x89c069++;else{if((_0x38857b[_0x89c069]&0xe0)===0xc0){if(_0x89c069+0x1===_0x3de53a||(_0x38857b[_0x89c069+0x1]&0xc0)!==0x80||(_0x38857b[_0x89c069]&0xfe)===0xc0)return!0x1;_0x89c069+=0x2;}else{if((_0x38857b[_0x89c069]&0xf0)===0xe0){if(_0x89c069+0x2>=_0x3de53a||(_0x38857b[_0x89c069+0x1]&0xc0)!==0x80||(_0x38857b[_0x89c069+0x2]&0xc0)!==0x80||_0x38857b[_0x89c069]===0xe0&&(_0x38857b[_0x89c069+0x1]&0xe0)===0x80||_0x38857b[_0x89c069]===0xed&&(_0x38857b[_0x89c069+0x1]&0xe0)===0xa0)return!0x1;_0x89c069+=0x3;}else{if((_0x38857b[_0x89c069]&0xf8)===0xf0){if(_0x89c069+0x3>=_0x3de53a||(_0x38857b[_0x89c069+0x1]&0xc0)!==0x80||(_0x38857b[_0x89c069+0x2]&0xc0)!==0x80||(_0x38857b[_0x89c069+0x3]&0xc0)!==0x80||_0x38857b[_0x89c069]===0xf0&&(_0x38857b[_0x89c069+0x1]&0xf0)===0x80||_0x38857b[_0x89c069]===0xf4&&_0x38857b[_0x89c069+0x1]>0x8f||_0x38857b[_0x89c069]>0xf4)return!0x1;_0x89c069+=0x4;}else return!0x1;}}}return!0x0;}function _0x3511ae(_0x5812d1){const _0x23ede7=_0x508b;return _0x2fad7d&&typeof _0x5812d1==_0x23ede7(0x204)&&typeof _0x5812d1[_0x23ede7(0x216)]=='function'&&typeof _0x5812d1[_0x23ede7(0x24d)]==_0x23ede7(0x26b)&&typeof _0x5812d1['stream']==_0x23ede7(0x2ef)&&(_0x5812d1[Symbol['toStringTag']]==='Blob'||_0x5812d1[Symbol[_0x23ede7(0x24a)]]===_0x23ede7(0x2a4));}if(re[_0x52e564(0x1b2)]={'isBlob':_0x3511ae,'isValidStatusCode':_0x5d648f,'isValidUTF8':_0x184a90,'tokenChars':_0x4ef1dd},_0x41dbe3)re[_0x52e564(0x1b2)][_0x52e564(0x25b)]=function(_0x575b86){const _0x4215da=_0x52e564;return _0x575b86[_0x4215da(0x2f0)]<0x18?_0x184a90(_0x575b86):_0x41dbe3(_0x575b86);};else{if(!process[_0x52e564(0x19b)][_0x52e564(0x29c)])try{const _0x7b0c85=Yt;re[_0x52e564(0x1b2)][_0x52e564(0x25b)]=function(_0x2d6dac){const _0x6d7cd=_0x52e564;return _0x2d6dac[_0x6d7cd(0x2f0)]<0x20?_0x184a90(_0x2d6dac):_0x7b0c85(_0x2d6dac);};}catch{}}return re['exports'];}var Se,Je;function dt(){const _0x90c35e=_0x354711;if(Je)return Se;Je=0x1;const {Writable:_0xf516e1}=_0x201f56,_0x162be5=he(),{BINARY_TYPES:_0x5032a4,EMPTY_BUFFER:_0x4a7901,kStatusCode:_0x2e6b77,kWebSocket:_0x1513a2}=V(),{concat:_0x58ab61,toArrayBuffer:_0x3886be,unmask:_0xcba1ce}=ce(),{isValidStatusCode:_0x39df0a,isValidUTF8:_0x2be463}=ne(),_0x40e25d=Buffer[Symbol[_0x90c35e(0x2ca)]],_0x104259=0x0,_0x2e1ff7=0x1,_0x23ef42=0x2,_0x57812b=0x3,_0x450bc1=0x4,_0x502641=0x5,_0x2e651b=0x6;class _0x24b7c1 extends _0xf516e1{constructor(_0x166e54={}){const _0x482fbb=_0x90c35e;super(),this[_0x482fbb(0x280)]=_0x166e54[_0x482fbb(0x1d8)]!==void 0x0?_0x166e54[_0x482fbb(0x1d8)]:!0x0,this[_0x482fbb(0x2b3)]=_0x166e54[_0x482fbb(0x328)]||_0x5032a4[0x0],this[_0x482fbb(0x1a7)]=_0x166e54[_0x482fbb(0x24b)]||{},this[_0x482fbb(0x243)]=!!_0x166e54[_0x482fbb(0x21b)],this[_0x482fbb(0x23b)]=_0x166e54[_0x482fbb(0x2f1)]|0x0,this['_skipUTF8Validation']=!!_0x166e54[_0x482fbb(0x2d2)],this[_0x1513a2]=void 0x0,this[_0x482fbb(0x1b6)]=0x0,this['_buffers']=[],this[_0x482fbb(0x1a6)]=!0x1,this[_0x482fbb(0x29b)]=0x0,this['_mask']=void 0x0,this['_fragmented']=0x0,this[_0x482fbb(0x23e)]=!0x1,this['_fin']=!0x1,this['_opcode']=0x0,this[_0x482fbb(0x1db)]=0x0,this[_0x482fbb(0x297)]=0x0,this[_0x482fbb(0x23a)]=[],this[_0x482fbb(0x1b3)]=!0x1,this[_0x482fbb(0x2ea)]=!0x1,this[_0x482fbb(0x258)]=_0x104259;}[_0x90c35e(0x234)](_0x327cb3,_0x39da99,_0x51431d){const _0x3056d6=_0x90c35e;if(this[_0x3056d6(0x2a8)]===0x8&&this['_state']==_0x104259)return _0x51431d();this[_0x3056d6(0x1b6)]+=_0x327cb3[_0x3056d6(0x2f0)],this[_0x3056d6(0x218)][_0x3056d6(0x217)](_0x327cb3),this[_0x3056d6(0x265)](_0x51431d);}[_0x90c35e(0x306)](_0xaebd96){const _0x1cdcac=_0x90c35e;if(this[_0x1cdcac(0x1b6)]-=_0xaebd96,_0xaebd96===this[_0x1cdcac(0x218)][0x0][_0x1cdcac(0x2f0)])return this[_0x1cdcac(0x218)][_0x1cdcac(0x2c3)]();if(_0xaebd96<this[_0x1cdcac(0x218)][0x0]['length']){const _0x38d4a9=this['_buffers'][0x0];return this[_0x1cdcac(0x218)][0x0]=new _0x40e25d(_0x38d4a9[_0x1cdcac(0x2a5)],_0x38d4a9['byteOffset']+_0xaebd96,_0x38d4a9[_0x1cdcac(0x2f0)]-_0xaebd96),new _0x40e25d(_0x38d4a9[_0x1cdcac(0x2a5)],_0x38d4a9[_0x1cdcac(0x30e)],_0xaebd96);}const _0x2bb857=Buffer[_0x1cdcac(0x23d)](_0xaebd96);do{const _0x1d84c3=this['_buffers'][0x0],_0x94989d=_0x2bb857[_0x1cdcac(0x2f0)]-_0xaebd96;_0xaebd96>=_0x1d84c3['length']?_0x2bb857[_0x1cdcac(0x293)](this[_0x1cdcac(0x218)][_0x1cdcac(0x2c3)](),_0x94989d):(_0x2bb857[_0x1cdcac(0x293)](new Uint8Array(_0x1d84c3[_0x1cdcac(0x2a5)],_0x1d84c3[_0x1cdcac(0x30e)],_0xaebd96),_0x94989d),this[_0x1cdcac(0x218)][0x0]=new _0x40e25d(_0x1d84c3[_0x1cdcac(0x2a5)],_0x1d84c3[_0x1cdcac(0x30e)]+_0xaebd96,_0x1d84c3[_0x1cdcac(0x2f0)]-_0xaebd96)),_0xaebd96-=_0x1d84c3[_0x1cdcac(0x2f0)];}while(_0xaebd96>0x0);return _0x2bb857;}[_0x90c35e(0x265)](_0x9fc9cc){const _0x3c81e9=_0x90c35e;this['_loop']=!0x0;do switch(this['_state']){case _0x104259:this['getInfo'](_0x9fc9cc);break;case _0x2e1ff7:this[_0x3c81e9(0x212)](_0x9fc9cc);break;case _0x23ef42:this[_0x3c81e9(0x2c7)](_0x9fc9cc);break;case _0x57812b:this[_0x3c81e9(0x202)]();break;case _0x450bc1:this[_0x3c81e9(0x33a)](_0x9fc9cc);break;case _0x502641:case _0x2e651b:this[_0x3c81e9(0x2ea)]=!0x1;return;}while(this[_0x3c81e9(0x2ea)]);this[_0x3c81e9(0x1b3)]||_0x9fc9cc();}[_0x90c35e(0x229)](_0x3af2c3){const _0x14fa4b=_0x90c35e;if(this['_bufferedBytes']<0x2){this[_0x14fa4b(0x2ea)]=!0x1;return;}const _0x594b10=this[_0x14fa4b(0x306)](0x2);if((_0x594b10[0x0]&0x30)!==0x0){const _0x3087d4=this[_0x14fa4b(0x33c)](RangeError,_0x14fa4b(0x31a),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0x3af2c3(_0x3087d4);return;}const _0x56a9bd=(_0x594b10[0x0]&0x40)===0x40;if(_0x56a9bd&&!this[_0x14fa4b(0x1a7)][_0x162be5[_0x14fa4b(0x2bc)]]){const _0x193853=this[_0x14fa4b(0x33c)](RangeError,_0x14fa4b(0x232),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x3af2c3(_0x193853);return;}if(this[_0x14fa4b(0x22d)]=(_0x594b10[0x0]&0x80)===0x80,this[_0x14fa4b(0x2a8)]=_0x594b10[0x0]&0xf,this[_0x14fa4b(0x29b)]=_0x594b10[0x1]&0x7f,this[_0x14fa4b(0x2a8)]===0x0){if(_0x56a9bd){const _0x1a9a2a=this[_0x14fa4b(0x33c)](RangeError,_0x14fa4b(0x232),!0x0,0x3ea,_0x14fa4b(0x1cd));_0x3af2c3(_0x1a9a2a);return;}if(!this[_0x14fa4b(0x272)]){const _0x2e0605=this[_0x14fa4b(0x33c)](RangeError,'invalid\x20opcode\x200',!0x0,0x3ea,_0x14fa4b(0x331));_0x3af2c3(_0x2e0605);return;}this[_0x14fa4b(0x2a8)]=this[_0x14fa4b(0x272)];}else{if(this[_0x14fa4b(0x2a8)]===0x1||this[_0x14fa4b(0x2a8)]===0x2){if(this[_0x14fa4b(0x272)]){const _0x56801d=this[_0x14fa4b(0x33c)](RangeError,'invalid\x20opcode\x20'+this['_opcode'],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x3af2c3(_0x56801d);return;}this[_0x14fa4b(0x1a6)]=_0x56a9bd;}else{if(this[_0x14fa4b(0x2a8)]>0x7&&this[_0x14fa4b(0x2a8)]<0xb){if(!this[_0x14fa4b(0x22d)]){const _0x35902a=this[_0x14fa4b(0x33c)](RangeError,_0x14fa4b(0x1f8),!0x0,0x3ea,_0x14fa4b(0x206));_0x3af2c3(_0x35902a);return;}if(_0x56a9bd){const _0x2df20d=this['createError'](RangeError,_0x14fa4b(0x232),!0x0,0x3ea,_0x14fa4b(0x1cd));_0x3af2c3(_0x2df20d);return;}if(this[_0x14fa4b(0x29b)]>0x7d||this[_0x14fa4b(0x2a8)]===0x8&&this['_payloadLength']===0x1){const _0x25380d=this[_0x14fa4b(0x33c)](RangeError,_0x14fa4b(0x31f)+this[_0x14fa4b(0x29b)],!0x0,0x3ea,_0x14fa4b(0x22a));_0x3af2c3(_0x25380d);return;}}else{const _0x31a24f=this[_0x14fa4b(0x33c)](RangeError,_0x14fa4b(0x235)+this['_opcode'],!0x0,0x3ea,_0x14fa4b(0x331));_0x3af2c3(_0x31a24f);return;}}}if(!this[_0x14fa4b(0x22d)]&&!this[_0x14fa4b(0x272)]&&(this[_0x14fa4b(0x272)]=this[_0x14fa4b(0x2a8)]),this[_0x14fa4b(0x23e)]=(_0x594b10[0x1]&0x80)===0x80,this[_0x14fa4b(0x243)]){if(!this['_masked']){const _0x90bfe2=this['createError'](RangeError,_0x14fa4b(0x263),!0x0,0x3ea,_0x14fa4b(0x2c6));_0x3af2c3(_0x90bfe2);return;}}else{if(this[_0x14fa4b(0x23e)]){const _0x290eef=this[_0x14fa4b(0x33c)](RangeError,_0x14fa4b(0x304),!0x0,0x3ea,_0x14fa4b(0x28f));_0x3af2c3(_0x290eef);return;}}this[_0x14fa4b(0x29b)]===0x7e?this[_0x14fa4b(0x258)]=_0x2e1ff7:this['_payloadLength']===0x7f?this[_0x14fa4b(0x258)]=_0x23ef42:this[_0x14fa4b(0x26e)](_0x3af2c3);}[_0x90c35e(0x212)](_0x5c2484){const _0x41a00e=_0x90c35e;if(this[_0x41a00e(0x1b6)]<0x2){this[_0x41a00e(0x2ea)]=!0x1;return;}this[_0x41a00e(0x29b)]=this[_0x41a00e(0x306)](0x2)['readUInt16BE'](0x0),this[_0x41a00e(0x26e)](_0x5c2484);}['getPayloadLength64'](_0x12e248){const _0x468d80=_0x90c35e;if(this[_0x468d80(0x1b6)]<0x8){this['_loop']=!0x1;return;}const _0x1a2e93=this[_0x468d80(0x306)](0x8),_0x11e99c=_0x1a2e93[_0x468d80(0x31b)](0x0);if(_0x11e99c>Math[_0x468d80(0x24f)](0x2,0x15)-0x1){const _0x13b6d9=this[_0x468d80(0x33c)](RangeError,_0x468d80(0x249),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH');_0x12e248(_0x13b6d9);return;}this[_0x468d80(0x29b)]=_0x11e99c*Math[_0x468d80(0x24f)](0x2,0x20)+_0x1a2e93[_0x468d80(0x31b)](0x4),this['haveLength'](_0x12e248);}[_0x90c35e(0x26e)](_0x49e2cc){const _0x476ccc=_0x90c35e;if(this['_payloadLength']&&this[_0x476ccc(0x2a8)]<0x8&&(this[_0x476ccc(0x1db)]+=this['_payloadLength'],this[_0x476ccc(0x1db)]>this[_0x476ccc(0x23b)]&&this[_0x476ccc(0x23b)]>0x0)){const _0xee1a0b=this[_0x476ccc(0x33c)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x476ccc(0x1d4));_0x49e2cc(_0xee1a0b);return;}this[_0x476ccc(0x23e)]?this['_state']=_0x57812b:this[_0x476ccc(0x258)]=_0x450bc1;}[_0x90c35e(0x202)](){const _0x44302f=_0x90c35e;if(this[_0x44302f(0x1b6)]<0x4){this[_0x44302f(0x2ea)]=!0x1;return;}this[_0x44302f(0x270)]=this[_0x44302f(0x306)](0x4),this[_0x44302f(0x258)]=_0x450bc1;}[_0x90c35e(0x33a)](_0x1697c7){const _0x15aa98=_0x90c35e;let _0x413bdd=_0x4a7901;if(this[_0x15aa98(0x29b)]){if(this[_0x15aa98(0x1b6)]<this[_0x15aa98(0x29b)]){this[_0x15aa98(0x2ea)]=!0x1;return;}_0x413bdd=this[_0x15aa98(0x306)](this['_payloadLength']),this['_masked']&&(this[_0x15aa98(0x270)][0x0]|this[_0x15aa98(0x270)][0x1]|this['_mask'][0x2]|this[_0x15aa98(0x270)][0x3])!==0x0&&_0xcba1ce(_0x413bdd,this[_0x15aa98(0x270)]);}if(this[_0x15aa98(0x2a8)]>0x7){this[_0x15aa98(0x261)](_0x413bdd,_0x1697c7);return;}if(this[_0x15aa98(0x1a6)]){this[_0x15aa98(0x258)]=_0x502641,this[_0x15aa98(0x28c)](_0x413bdd,_0x1697c7);return;}_0x413bdd[_0x15aa98(0x2f0)]&&(this[_0x15aa98(0x297)]=this[_0x15aa98(0x1db)],this[_0x15aa98(0x23a)][_0x15aa98(0x217)](_0x413bdd)),this[_0x15aa98(0x292)](_0x1697c7);}[_0x90c35e(0x28c)](_0x4adf79,_0x1d6071){const _0x1c382d=_0x90c35e;this[_0x1c382d(0x1a7)][_0x162be5['extensionName']][_0x1c382d(0x28c)](_0x4adf79,this[_0x1c382d(0x22d)],(_0x491d89,_0x73cd26)=>{const _0x2b1c0a=_0x1c382d;if(_0x491d89)return _0x1d6071(_0x491d89);if(_0x73cd26['length']){if(this[_0x2b1c0a(0x297)]+=_0x73cd26[_0x2b1c0a(0x2f0)],this[_0x2b1c0a(0x297)]>this[_0x2b1c0a(0x23b)]&&this[_0x2b1c0a(0x23b)]>0x0){const _0x562f2a=this['createError'](RangeError,_0x2b1c0a(0x2a2),!0x1,0x3f1,_0x2b1c0a(0x1d4));_0x1d6071(_0x562f2a);return;}this[_0x2b1c0a(0x23a)][_0x2b1c0a(0x217)](_0x73cd26);}this[_0x2b1c0a(0x292)](_0x1d6071),this[_0x2b1c0a(0x258)]===_0x104259&&this[_0x2b1c0a(0x265)](_0x1d6071);});}[_0x90c35e(0x292)](_0x2c6fc8){const _0x4576af=_0x90c35e;if(!this[_0x4576af(0x22d)]){this['_state']=_0x104259;return;}const _0x1da864=this[_0x4576af(0x297)],_0x5acc6c=this[_0x4576af(0x23a)];if(this[_0x4576af(0x1db)]=0x0,this[_0x4576af(0x297)]=0x0,this['_fragmented']=0x0,this[_0x4576af(0x23a)]=[],this[_0x4576af(0x2a8)]===0x2){let _0x1e5941;this['_binaryType']==='nodebuffer'?_0x1e5941=_0x58ab61(_0x5acc6c,_0x1da864):this[_0x4576af(0x2b3)]===_0x4576af(0x24e)?_0x1e5941=_0x3886be(_0x58ab61(_0x5acc6c,_0x1da864)):this[_0x4576af(0x2b3)]==='blob'?_0x1e5941=new Blob(_0x5acc6c):_0x1e5941=_0x5acc6c,this[_0x4576af(0x280)]?(this[_0x4576af(0x27b)](_0x4576af(0x2fc),_0x1e5941,!0x0),this['_state']=_0x104259):(this[_0x4576af(0x258)]=_0x2e651b,setImmediate(()=>{const _0x41691d=_0x4576af;this['emit']('message',_0x1e5941,!0x0),this[_0x41691d(0x258)]=_0x104259,this['startLoop'](_0x2c6fc8);}));}else{const _0x4312ee=_0x58ab61(_0x5acc6c,_0x1da864);if(!this[_0x4576af(0x340)]&&!_0x2be463(_0x4312ee)){const _0x106508=this['createError'](Error,_0x4576af(0x2e9),!0x0,0x3ef,_0x4576af(0x33d));_0x2c6fc8(_0x106508);return;}this[_0x4576af(0x258)]===_0x502641||this[_0x4576af(0x280)]?(this[_0x4576af(0x27b)](_0x4576af(0x2fc),_0x4312ee,!0x1),this[_0x4576af(0x258)]=_0x104259):(this['_state']=_0x2e651b,setImmediate(()=>{const _0x1a8fc7=_0x4576af;this[_0x1a8fc7(0x27b)]('message',_0x4312ee,!0x1),this[_0x1a8fc7(0x258)]=_0x104259,this[_0x1a8fc7(0x265)](_0x2c6fc8);}));}}[_0x90c35e(0x261)](_0x212be4,_0x238756){const _0x2c3397=_0x90c35e;if(this['_opcode']===0x8){if(_0x212be4[_0x2c3397(0x2f0)]===0x0)this[_0x2c3397(0x2ea)]=!0x1,this[_0x2c3397(0x27b)](_0x2c3397(0x324),0x3ed,_0x4a7901),this[_0x2c3397(0x20e)]();else{const _0x586a43=_0x212be4[_0x2c3397(0x1eb)](0x0);if(!_0x39df0a(_0x586a43)){const _0x371716=this['createError'](RangeError,'invalid\x20status\x20code\x20'+_0x586a43,!0x0,0x3ea,_0x2c3397(0x1de));_0x238756(_0x371716);return;}const _0x15f5d3=new _0x40e25d(_0x212be4['buffer'],_0x212be4['byteOffset']+0x2,_0x212be4[_0x2c3397(0x2f0)]-0x2);if(!this[_0x2c3397(0x340)]&&!_0x2be463(_0x15f5d3)){const _0x44eee8=this['createError'](Error,_0x2c3397(0x2e9),!0x0,0x3ef,_0x2c3397(0x33d));_0x238756(_0x44eee8);return;}this[_0x2c3397(0x2ea)]=!0x1,this['emit']('conclude',_0x586a43,_0x15f5d3),this[_0x2c3397(0x20e)]();}this[_0x2c3397(0x258)]=_0x104259;return;}this[_0x2c3397(0x280)]?(this[_0x2c3397(0x27b)](this['_opcode']===0x9?_0x2c3397(0x294):_0x2c3397(0x21e),_0x212be4),this[_0x2c3397(0x258)]=_0x104259):(this['_state']=_0x2e651b,setImmediate(()=>{const _0x4d7d7c=_0x2c3397;this[_0x4d7d7c(0x27b)](this['_opcode']===0x9?_0x4d7d7c(0x294):_0x4d7d7c(0x21e),_0x212be4),this[_0x4d7d7c(0x258)]=_0x104259,this[_0x4d7d7c(0x265)](_0x238756);}));}[_0x90c35e(0x33c)](_0x28f1c5,_0xd0039b,_0x33355b,_0x2ab1f4,_0x43dd05){const _0x322429=_0x90c35e;this[_0x322429(0x2ea)]=!0x1,this[_0x322429(0x1b3)]=!0x0;const _0x2fbf06=new _0x28f1c5(_0x33355b?'Invalid\x20WebSocket\x20frame:\x20'+_0xd0039b:_0xd0039b);return Error['captureStackTrace'](_0x2fbf06,this[_0x322429(0x33c)]),_0x2fbf06['code']=_0x43dd05,_0x2fbf06[_0x2e6b77]=_0x2ab1f4,_0x2fbf06;}}return Se=_0x24b7c1,Se;}var Ee,et;function _t(){const _0x1fcb8a=_0x354711;if(et)return Ee;et=0x1;const {Duplex:_0x3fdf9d}=_0x201f56,{randomFillSync:_0x166e90}=_0x997d7e,_0xcc5e93=he(),{EMPTY_BUFFER:_0x43ec8d,kWebSocket:_0x4b0c11,NOOP:_0x5836cd}=V(),{isBlob:_0x43de2c,isValidStatusCode:_0x5a3dc9}=ne(),{mask:_0x43b85d,toBuffer:_0x157966}=ce(),_0x1b1d26=Symbol('kByteLength'),_0x2b8dc0=Buffer[_0x1fcb8a(0x32f)](0x4),_0x1d1340=0x8*0x400;let _0x1f9111,_0x1e5526=_0x1d1340;const _0x45f603=0x0,_0x55b6b3=0x1,_0x4fd8eb=0x2;class _0x5cd041{constructor(_0x1cfa6b,_0x549938,_0x9134c7){const _0x164307=_0x1fcb8a;this[_0x164307(0x1a7)]=_0x549938||{},_0x9134c7&&(this[_0x164307(0x303)]=_0x9134c7,this[_0x164307(0x291)]=Buffer[_0x164307(0x32f)](0x4)),this[_0x164307(0x1f0)]=_0x1cfa6b,this['_firstFragment']=!0x0,this[_0x164307(0x231)]=!0x1,this[_0x164307(0x1b6)]=0x0,this[_0x164307(0x267)]=[],this[_0x164307(0x258)]=_0x45f603,this[_0x164307(0x295)]=_0x5836cd,this[_0x4b0c11]=void 0x0;}static['frame'](_0x38d78d,_0x43c083){const _0x33b42a=_0x1fcb8a;let _0x243589,_0x43f775=!0x1,_0x137337=0x2,_0xdf79=!0x1;_0x43c083[_0x33b42a(0x277)]&&(_0x243589=_0x43c083[_0x33b42a(0x305)]||_0x2b8dc0,_0x43c083[_0x33b42a(0x302)]?_0x43c083[_0x33b42a(0x302)](_0x243589):(_0x1e5526===_0x1d1340&&(_0x1f9111===void 0x0&&(_0x1f9111=Buffer['alloc'](_0x1d1340)),_0x166e90(_0x1f9111,0x0,_0x1d1340),_0x1e5526=0x0),_0x243589[0x0]=_0x1f9111[_0x1e5526++],_0x243589[0x1]=_0x1f9111[_0x1e5526++],_0x243589[0x2]=_0x1f9111[_0x1e5526++],_0x243589[0x3]=_0x1f9111[_0x1e5526++]),_0xdf79=(_0x243589[0x0]|_0x243589[0x1]|_0x243589[0x2]|_0x243589[0x3])===0x0,_0x137337=0x6);let _0xab01bc;typeof _0x38d78d==_0x33b42a(0x26b)?(!_0x43c083['mask']||_0xdf79)&&_0x43c083[_0x1b1d26]!==void 0x0?_0xab01bc=_0x43c083[_0x1b1d26]:(_0x38d78d=Buffer['from'](_0x38d78d),_0xab01bc=_0x38d78d[_0x33b42a(0x2f0)]):(_0xab01bc=_0x38d78d[_0x33b42a(0x2f0)],_0x43f775=_0x43c083[_0x33b42a(0x277)]&&_0x43c083['readOnly']&&!_0xdf79);let _0x254a5e=_0xab01bc;_0xab01bc>=0x10000?(_0x137337+=0x8,_0x254a5e=0x7f):_0xab01bc>0x7d&&(_0x137337+=0x2,_0x254a5e=0x7e);const _0x29fd1b=Buffer['allocUnsafe'](_0x43f775?_0xab01bc+_0x137337:_0x137337);return _0x29fd1b[0x0]=_0x43c083[_0x33b42a(0x1dc)]?_0x43c083[_0x33b42a(0x1a8)]|0x80:_0x43c083['opcode'],_0x43c083['rsv1']&&(_0x29fd1b[0x0]|=0x40),_0x29fd1b[0x1]=_0x254a5e,_0x254a5e===0x7e?_0x29fd1b[_0x33b42a(0x2d8)](_0xab01bc,0x2):_0x254a5e===0x7f&&(_0x29fd1b[0x2]=_0x29fd1b[0x3]=0x0,_0x29fd1b[_0x33b42a(0x1ee)](_0xab01bc,0x4,0x6)),_0x43c083[_0x33b42a(0x277)]?(_0x29fd1b[0x1]|=0x80,_0x29fd1b[_0x137337-0x4]=_0x243589[0x0],_0x29fd1b[_0x137337-0x3]=_0x243589[0x1],_0x29fd1b[_0x137337-0x2]=_0x243589[0x2],_0x29fd1b[_0x137337-0x1]=_0x243589[0x3],_0xdf79?[_0x29fd1b,_0x38d78d]:_0x43f775?(_0x43b85d(_0x38d78d,_0x243589,_0x29fd1b,_0x137337,_0xab01bc),[_0x29fd1b]):(_0x43b85d(_0x38d78d,_0x243589,_0x38d78d,0x0,_0xab01bc),[_0x29fd1b,_0x38d78d])):[_0x29fd1b,_0x38d78d];}[_0x1fcb8a(0x257)](_0x3659bd,_0x4b4df4,_0x34a52a,_0x25bdb9){const _0x2f0b9a=_0x1fcb8a;let _0x4e5576;if(_0x3659bd===void 0x0)_0x4e5576=_0x43ec8d;else{if(typeof _0x3659bd!=_0x2f0b9a(0x269)||!_0x5a3dc9(_0x3659bd))throw new TypeError(_0x2f0b9a(0x251));if(_0x4b4df4===void 0x0||!_0x4b4df4[_0x2f0b9a(0x2f0)])_0x4e5576=Buffer['allocUnsafe'](0x2),_0x4e5576[_0x2f0b9a(0x2d8)](_0x3659bd,0x0);else{const _0x31771a=Buffer[_0x2f0b9a(0x299)](_0x4b4df4);if(_0x31771a>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x4e5576=Buffer[_0x2f0b9a(0x23d)](0x2+_0x31771a),_0x4e5576[_0x2f0b9a(0x2d8)](_0x3659bd,0x0),typeof _0x4b4df4==_0x2f0b9a(0x26b)?_0x4e5576[_0x2f0b9a(0x220)](_0x4b4df4,0x2):_0x4e5576[_0x2f0b9a(0x293)](_0x4b4df4,0x2);}}const _0x256d1e={[_0x1b1d26]:_0x4e5576['length'],'fin':!0x0,'generateMask':this[_0x2f0b9a(0x303)],'mask':_0x34a52a,'maskBuffer':this[_0x2f0b9a(0x291)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x2f0b9a(0x258)]!==_0x45f603?this[_0x2f0b9a(0x1a3)]([this[_0x2f0b9a(0x30a)],_0x4e5576,!0x1,_0x256d1e,_0x25bdb9]):this[_0x2f0b9a(0x1ed)](_0x5cd041[_0x2f0b9a(0x1a9)](_0x4e5576,_0x256d1e),_0x25bdb9);}[_0x1fcb8a(0x294)](_0x3dfa8f,_0x4c1ae3,_0x21090e){const _0x1c0dc6=_0x1fcb8a;let _0x566d7d,_0x3f32ee;if(typeof _0x3dfa8f==_0x1c0dc6(0x26b)?(_0x566d7d=Buffer[_0x1c0dc6(0x299)](_0x3dfa8f),_0x3f32ee=!0x1):_0x43de2c(_0x3dfa8f)?(_0x566d7d=_0x3dfa8f[_0x1c0dc6(0x33e)],_0x3f32ee=!0x1):(_0x3dfa8f=_0x157966(_0x3dfa8f),_0x566d7d=_0x3dfa8f[_0x1c0dc6(0x2f0)],_0x3f32ee=_0x157966[_0x1c0dc6(0x2f7)]),_0x566d7d>0x7d)throw new RangeError(_0x1c0dc6(0x19e));const _0x266eac={[_0x1b1d26]:_0x566d7d,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x4c1ae3,'maskBuffer':this[_0x1c0dc6(0x291)],'opcode':0x9,'readOnly':_0x3f32ee,'rsv1':!0x1};_0x43de2c(_0x3dfa8f)?this[_0x1c0dc6(0x258)]!==_0x45f603?this[_0x1c0dc6(0x1a3)]([this[_0x1c0dc6(0x1fb)],_0x3dfa8f,!0x1,_0x266eac,_0x21090e]):this[_0x1c0dc6(0x1fb)](_0x3dfa8f,!0x1,_0x266eac,_0x21090e):this[_0x1c0dc6(0x258)]!==_0x45f603?this[_0x1c0dc6(0x1a3)]([this['dispatch'],_0x3dfa8f,!0x1,_0x266eac,_0x21090e]):this[_0x1c0dc6(0x1ed)](_0x5cd041[_0x1c0dc6(0x1a9)](_0x3dfa8f,_0x266eac),_0x21090e);}[_0x1fcb8a(0x21e)](_0x191c2d,_0x52837e,_0x4e622e){const _0x3def80=_0x1fcb8a;let _0x226a3e,_0x5d681c;if(typeof _0x191c2d==_0x3def80(0x26b)?(_0x226a3e=Buffer[_0x3def80(0x299)](_0x191c2d),_0x5d681c=!0x1):_0x43de2c(_0x191c2d)?(_0x226a3e=_0x191c2d[_0x3def80(0x33e)],_0x5d681c=!0x1):(_0x191c2d=_0x157966(_0x191c2d),_0x226a3e=_0x191c2d['length'],_0x5d681c=_0x157966[_0x3def80(0x2f7)]),_0x226a3e>0x7d)throw new RangeError(_0x3def80(0x19e));const _0x53b984={[_0x1b1d26]:_0x226a3e,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x52837e,'maskBuffer':this[_0x3def80(0x291)],'opcode':0xa,'readOnly':_0x5d681c,'rsv1':!0x1};_0x43de2c(_0x191c2d)?this[_0x3def80(0x258)]!==_0x45f603?this[_0x3def80(0x1a3)]([this[_0x3def80(0x1fb)],_0x191c2d,!0x1,_0x53b984,_0x4e622e]):this[_0x3def80(0x1fb)](_0x191c2d,!0x1,_0x53b984,_0x4e622e):this['_state']!==_0x45f603?this[_0x3def80(0x1a3)]([this[_0x3def80(0x30a)],_0x191c2d,!0x1,_0x53b984,_0x4e622e]):this['sendFrame'](_0x5cd041['frame'](_0x191c2d,_0x53b984),_0x4e622e);}[_0x1fcb8a(0x284)](_0x3d8e84,_0x4ffd4a,_0x3f9299){const _0x3fae10=_0x1fcb8a,_0x5d3f08=this['_extensions'][_0xcc5e93[_0x3fae10(0x2bc)]];let _0x4b1ae9=_0x4ffd4a['binary']?0x2:0x1,_0x2089ac=_0x4ffd4a[_0x3fae10(0x1dd)],_0xa9026e,_0x4eb9c2;typeof _0x3d8e84==_0x3fae10(0x26b)?(_0xa9026e=Buffer[_0x3fae10(0x299)](_0x3d8e84),_0x4eb9c2=!0x1):_0x43de2c(_0x3d8e84)?(_0xa9026e=_0x3d8e84[_0x3fae10(0x33e)],_0x4eb9c2=!0x1):(_0x3d8e84=_0x157966(_0x3d8e84),_0xa9026e=_0x3d8e84[_0x3fae10(0x2f0)],_0x4eb9c2=_0x157966[_0x3fae10(0x2f7)]),this['_firstFragment']?(this[_0x3fae10(0x1d6)]=!0x1,_0x2089ac&&_0x5d3f08&&_0x5d3f08[_0x3fae10(0x259)][_0x5d3f08[_0x3fae10(0x243)]?_0x3fae10(0x27c):_0x3fae10(0x2d1)]&&(_0x2089ac=_0xa9026e>=_0x5d3f08[_0x3fae10(0x30f)]),this['_compress']=_0x2089ac):(_0x2089ac=!0x1,_0x4b1ae9=0x0),_0x4ffd4a[_0x3fae10(0x1dc)]&&(this['_firstFragment']=!0x0);const _0xee870e={[_0x1b1d26]:_0xa9026e,'fin':_0x4ffd4a[_0x3fae10(0x1dc)],'generateMask':this[_0x3fae10(0x303)],'mask':_0x4ffd4a[_0x3fae10(0x277)],'maskBuffer':this[_0x3fae10(0x291)],'opcode':_0x4b1ae9,'readOnly':_0x4eb9c2,'rsv1':_0x2089ac};_0x43de2c(_0x3d8e84)?this[_0x3fae10(0x258)]!==_0x45f603?this[_0x3fae10(0x1a3)]([this['getBlobData'],_0x3d8e84,this[_0x3fae10(0x231)],_0xee870e,_0x3f9299]):this[_0x3fae10(0x1fb)](_0x3d8e84,this['_compress'],_0xee870e,_0x3f9299):this[_0x3fae10(0x258)]!==_0x45f603?this[_0x3fae10(0x1a3)]([this[_0x3fae10(0x30a)],_0x3d8e84,this[_0x3fae10(0x231)],_0xee870e,_0x3f9299]):this['dispatch'](_0x3d8e84,this[_0x3fae10(0x231)],_0xee870e,_0x3f9299);}[_0x1fcb8a(0x1fb)](_0x5e3bed,_0x5c8be4,_0x158644,_0x1d0d49){const _0x4e306f=_0x1fcb8a;this[_0x4e306f(0x1b6)]+=_0x158644[_0x1b1d26],this[_0x4e306f(0x258)]=_0x4fd8eb,_0x5e3bed['arrayBuffer']()[_0x4e306f(0x26d)](_0xec31f3=>{const _0x301b21=_0x4e306f;if(this['_socket'][_0x301b21(0x1c5)]){const _0x17000e=new Error(_0x301b21(0x33b));process[_0x301b21(0x20d)](_0x12ae6d,this,_0x17000e,_0x1d0d49);return;}this[_0x301b21(0x1b6)]-=_0x158644[_0x1b1d26];const _0x3cd0d9=_0x157966(_0xec31f3);_0x5c8be4?this[_0x301b21(0x30a)](_0x3cd0d9,_0x5c8be4,_0x158644,_0x1d0d49):(this['_state']=_0x45f603,this[_0x301b21(0x1ed)](_0x5cd041[_0x301b21(0x1a9)](_0x3cd0d9,_0x158644),_0x1d0d49),this[_0x301b21(0x290)]());})[_0x4e306f(0x310)](_0x41cb98=>{process['nextTick'](_0x2d0aac,this,_0x41cb98,_0x1d0d49);});}['dispatch'](_0x3cf7d9,_0x47cfa4,_0x3497e4,_0x5ea0f4){const _0x56e981=_0x1fcb8a;if(!_0x47cfa4){this['sendFrame'](_0x5cd041[_0x56e981(0x1a9)](_0x3cf7d9,_0x3497e4),_0x5ea0f4);return;}const _0x4dc940=this[_0x56e981(0x1a7)][_0xcc5e93[_0x56e981(0x2bc)]];this[_0x56e981(0x1b6)]+=_0x3497e4[_0x1b1d26],this[_0x56e981(0x258)]=_0x55b6b3,_0x4dc940[_0x56e981(0x1dd)](_0x3cf7d9,_0x3497e4[_0x56e981(0x1dc)],(_0x17efb3,_0x479d94)=>{const _0x1022a1=_0x56e981;if(this[_0x1022a1(0x1f0)]['destroyed']){const _0x41db8c=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x12ae6d(this,_0x41db8c,_0x5ea0f4);return;}this[_0x1022a1(0x1b6)]-=_0x3497e4[_0x1b1d26],this[_0x1022a1(0x258)]=_0x45f603,_0x3497e4[_0x1022a1(0x2f7)]=!0x1,this[_0x1022a1(0x1ed)](_0x5cd041[_0x1022a1(0x1a9)](_0x479d94,_0x3497e4),_0x5ea0f4),this[_0x1022a1(0x290)]();});}[_0x1fcb8a(0x290)](){const _0x356dbb=_0x1fcb8a;for(;this[_0x356dbb(0x258)]===_0x45f603&&this[_0x356dbb(0x267)][_0x356dbb(0x2f0)];){const _0x16915a=this[_0x356dbb(0x267)]['shift']();this[_0x356dbb(0x1b6)]-=_0x16915a[0x3][_0x1b1d26],Reflect[_0x356dbb(0x1a0)](_0x16915a[0x0],this,_0x16915a[_0x356dbb(0x222)](0x1));}}['enqueue'](_0x3f08af){const _0x301808=_0x1fcb8a;this[_0x301808(0x1b6)]+=_0x3f08af[0x3][_0x1b1d26],this[_0x301808(0x267)][_0x301808(0x217)](_0x3f08af);}[_0x1fcb8a(0x1ed)](_0x36a6a6,_0x17974e){const _0x26e111=_0x1fcb8a;_0x36a6a6[_0x26e111(0x2f0)]===0x2?(this[_0x26e111(0x1f0)]['cork'](),this['_socket'][_0x26e111(0x220)](_0x36a6a6[0x0]),this[_0x26e111(0x1f0)][_0x26e111(0x220)](_0x36a6a6[0x1],_0x17974e),this[_0x26e111(0x1f0)][_0x26e111(0x319)]()):this[_0x26e111(0x1f0)][_0x26e111(0x220)](_0x36a6a6[0x0],_0x17974e);}}Ee=_0x5cd041;function _0x12ae6d(_0x143fc3,_0x5ee98a,_0x128717){const _0x17698b=_0x1fcb8a;typeof _0x128717==_0x17698b(0x2ef)&&_0x128717(_0x5ee98a);for(let _0x1ddd3e=0x0;_0x1ddd3e<_0x143fc3[_0x17698b(0x267)][_0x17698b(0x2f0)];_0x1ddd3e++){const _0x379811=_0x143fc3['_queue'][_0x1ddd3e],_0x528dc8=_0x379811[_0x379811[_0x17698b(0x2f0)]-0x1];typeof _0x528dc8==_0x17698b(0x2ef)&&_0x528dc8(_0x5ee98a);}}function _0x2d0aac(_0xb2caa9,_0x3e77a7,_0x23cd4c){_0x12ae6d(_0xb2caa9,_0x3e77a7,_0x23cd4c),_0xb2caa9['onerror'](_0x3e77a7);}return Ee;}var xe,tt;function Kt(){const _0x3bee93=_0x354711;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0xba3472,kListener:_0x1f6208}=V(),_0x35bf92=Symbol(_0x3bee93(0x300)),_0x47fe98=Symbol('kData'),_0x212e6e=Symbol('kError'),_0x45a493=Symbol(_0x3bee93(0x1ba)),_0x17cad9=Symbol(_0x3bee93(0x1b4)),_0x49dfcd=Symbol(_0x3bee93(0x205)),_0x183f47=Symbol(_0x3bee93(0x1d3)),_0x327626=Symbol(_0x3bee93(0x242));class _0x2c29c1{constructor(_0x2d5183){this[_0x49dfcd]=null,this[_0x183f47]=_0x2d5183;}get['target'](){return this[_0x49dfcd];}get[_0x3bee93(0x24d)](){return this[_0x183f47];}}Object['defineProperty'](_0x2c29c1['prototype'],_0x3bee93(0x32a),{'enumerable':!0x0}),Object[_0x3bee93(0x1e0)](_0x2c29c1[_0x3bee93(0x2c0)],_0x3bee93(0x24d),{'enumerable':!0x0});class _0xd3f6a8 extends _0x2c29c1{constructor(_0x4f6ae2,_0x406878={}){const _0x15ea37=_0x3bee93;super(_0x4f6ae2),this[_0x35bf92]=_0x406878[_0x15ea37(0x2f4)]===void 0x0?0x0:_0x406878['code'],this[_0x17cad9]=_0x406878[_0x15ea37(0x26f)]===void 0x0?'':_0x406878[_0x15ea37(0x26f)],this[_0x327626]=_0x406878['wasClean']===void 0x0?!0x1:_0x406878['wasClean'];}get[_0x3bee93(0x2f4)](){return this[_0x35bf92];}get['reason'](){return this[_0x17cad9];}get['wasClean'](){return this[_0x327626];}}Object['defineProperty'](_0xd3f6a8[_0x3bee93(0x2c0)],_0x3bee93(0x2f4),{'enumerable':!0x0}),Object['defineProperty'](_0xd3f6a8[_0x3bee93(0x2c0)],'reason',{'enumerable':!0x0}),Object[_0x3bee93(0x1e0)](_0xd3f6a8[_0x3bee93(0x2c0)],_0x3bee93(0x1be),{'enumerable':!0x0});class _0x49ba58 extends _0x2c29c1{constructor(_0x3a63a6,_0x2395b9={}){const _0x234d21=_0x3bee93;super(_0x3a63a6),this[_0x212e6e]=_0x2395b9['error']===void 0x0?null:_0x2395b9['error'],this[_0x45a493]=_0x2395b9[_0x234d21(0x2fc)]===void 0x0?'':_0x2395b9[_0x234d21(0x2fc)];}get[_0x3bee93(0x1cf)](){return this[_0x212e6e];}get['message'](){return this[_0x45a493];}}Object['defineProperty'](_0x49ba58[_0x3bee93(0x2c0)],_0x3bee93(0x1cf),{'enumerable':!0x0}),Object['defineProperty'](_0x49ba58[_0x3bee93(0x2c0)],_0x3bee93(0x2fc),{'enumerable':!0x0});class _0x52b20c extends _0x2c29c1{constructor(_0x584892,_0x47072b={}){const _0x98cb4a=_0x3bee93;super(_0x584892),this[_0x47fe98]=_0x47072b[_0x98cb4a(0x282)]===void 0x0?null:_0x47072b[_0x98cb4a(0x282)];}get[_0x3bee93(0x282)](){return this[_0x47fe98];}}Object[_0x3bee93(0x1e0)](_0x52b20c[_0x3bee93(0x2c0)],_0x3bee93(0x282),{'enumerable':!0x0}),xe={'CloseEvent':_0xd3f6a8,'ErrorEvent':_0x49ba58,'Event':_0x2c29c1,'EventTarget':{'addEventListener'(_0x5d2e55,_0x540b1d,_0x51f34b={}){const _0x43bbb4=_0x3bee93;for(const _0xdb293e of this[_0x43bbb4(0x317)](_0x5d2e55))if(!_0x51f34b[_0xba3472]&&_0xdb293e[_0x1f6208]===_0x540b1d&&!_0xdb293e[_0xba3472])return;let _0x4bb542;if(_0x5d2e55==='message')_0x4bb542=function(_0x1cd661,_0x499906){const _0x8c4378=_0x43bbb4,_0x49fc90=new _0x52b20c(_0x8c4378(0x2fc),{'data':_0x499906?_0x1cd661:_0x1cd661[_0x8c4378(0x2f9)]()});_0x49fc90[_0x49dfcd]=this,_0x590b38(_0x540b1d,this,_0x49fc90);};else{if(_0x5d2e55===_0x43bbb4(0x257))_0x4bb542=function(_0x26ff25,_0x19b331){const _0x3c890c=_0x43bbb4,_0x4dd8e2=new _0xd3f6a8(_0x3c890c(0x257),{'code':_0x26ff25,'reason':_0x19b331[_0x3c890c(0x2f9)](),'wasClean':this[_0x3c890c(0x233)]&&this[_0x3c890c(0x30b)]});_0x4dd8e2[_0x49dfcd]=this,_0x590b38(_0x540b1d,this,_0x4dd8e2);};else{if(_0x5d2e55===_0x43bbb4(0x1cf))_0x4bb542=function(_0x5758ee){const _0x2fae5e=_0x43bbb4,_0x28aa27=new _0x49ba58(_0x2fae5e(0x1cf),{'error':_0x5758ee,'message':_0x5758ee[_0x2fae5e(0x2fc)]});_0x28aa27[_0x49dfcd]=this,_0x590b38(_0x540b1d,this,_0x28aa27);};else{if(_0x5d2e55===_0x43bbb4(0x1c1))_0x4bb542=function(){const _0x4ed288=_0x43bbb4,_0xf79df8=new _0x2c29c1(_0x4ed288(0x1c1));_0xf79df8[_0x49dfcd]=this,_0x590b38(_0x540b1d,this,_0xf79df8);};else return;}}}_0x4bb542[_0xba3472]=!!_0x51f34b[_0xba3472],_0x4bb542[_0x1f6208]=_0x540b1d,_0x51f34b[_0x43bbb4(0x227)]?this['once'](_0x5d2e55,_0x4bb542):this['on'](_0x5d2e55,_0x4bb542);},'removeEventListener'(_0x1e56df,_0x1bdbd4){const _0x25cec0=_0x3bee93;for(const _0x5d0d9a of this[_0x25cec0(0x317)](_0x1e56df))if(_0x5d0d9a[_0x1f6208]===_0x1bdbd4&&!_0x5d0d9a[_0xba3472]){this[_0x25cec0(0x2f3)](_0x1e56df,_0x5d0d9a);break;}}},'MessageEvent':_0x52b20c};function _0x590b38(_0x3a72c0,_0x1e7ca3,_0x4de526){const _0x30afdf=_0x3bee93;typeof _0x3a72c0==_0x30afdf(0x204)&&_0x3a72c0['handleEvent']?_0x3a72c0[_0x30afdf(0x203)][_0x30afdf(0x327)](_0x3a72c0,_0x4de526):_0x3a72c0['call'](_0x1e7ca3,_0x4de526);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x5d74d6}=ne();function _0x422ffd(_0x541942,_0x3c9de9,_0x4978c7){_0x541942[_0x3c9de9]===void 0x0?_0x541942[_0x3c9de9]=[_0x4978c7]:_0x541942[_0x3c9de9]['push'](_0x4978c7);}function _0x46b87f(_0x291367){const _0x148e78=_0x508b,_0x334c6f=Object['create'](null);let _0x4bad6c=Object[_0x148e78(0x244)](null),_0x1d39f0=!0x1,_0x25418b=!0x1,_0x5ad94d=!0x1,_0x1dcc4a,_0x5cc906,_0x493b19=-0x1,_0x8b70f4=-0x1,_0x139b19=-0x1,_0x203bc1=0x0;for(;_0x203bc1<_0x291367[_0x148e78(0x2f0)];_0x203bc1++)if(_0x8b70f4=_0x291367['charCodeAt'](_0x203bc1),_0x1dcc4a===void 0x0){if(_0x139b19===-0x1&&_0x5d74d6[_0x8b70f4]===0x1)_0x493b19===-0x1&&(_0x493b19=_0x203bc1);else{if(_0x203bc1!==0x0&&(_0x8b70f4===0x20||_0x8b70f4===0x9))_0x139b19===-0x1&&_0x493b19!==-0x1&&(_0x139b19=_0x203bc1);else{if(_0x8b70f4===0x3b||_0x8b70f4===0x2c){if(_0x493b19===-0x1)throw new SyntaxError(_0x148e78(0x1da)+_0x203bc1);_0x139b19===-0x1&&(_0x139b19=_0x203bc1);const _0x3ada09=_0x291367[_0x148e78(0x222)](_0x493b19,_0x139b19);_0x8b70f4===0x2c?(_0x422ffd(_0x334c6f,_0x3ada09,_0x4bad6c),_0x4bad6c=Object['create'](null)):_0x1dcc4a=_0x3ada09,_0x493b19=_0x139b19=-0x1;}else throw new SyntaxError(_0x148e78(0x1da)+_0x203bc1);}}}else{if(_0x5cc906===void 0x0){if(_0x139b19===-0x1&&_0x5d74d6[_0x8b70f4]===0x1)_0x493b19===-0x1&&(_0x493b19=_0x203bc1);else{if(_0x8b70f4===0x20||_0x8b70f4===0x9)_0x139b19===-0x1&&_0x493b19!==-0x1&&(_0x139b19=_0x203bc1);else{if(_0x8b70f4===0x3b||_0x8b70f4===0x2c){if(_0x493b19===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x203bc1);_0x139b19===-0x1&&(_0x139b19=_0x203bc1),_0x422ffd(_0x4bad6c,_0x291367['slice'](_0x493b19,_0x139b19),!0x0),_0x8b70f4===0x2c&&(_0x422ffd(_0x334c6f,_0x1dcc4a,_0x4bad6c),_0x4bad6c=Object['create'](null),_0x1dcc4a=void 0x0),_0x493b19=_0x139b19=-0x1;}else{if(_0x8b70f4===0x3d&&_0x493b19!==-0x1&&_0x139b19===-0x1)_0x5cc906=_0x291367[_0x148e78(0x222)](_0x493b19,_0x203bc1),_0x493b19=_0x139b19=-0x1;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x203bc1);}}}}else{if(_0x25418b){if(_0x5d74d6[_0x8b70f4]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x203bc1);_0x493b19===-0x1?_0x493b19=_0x203bc1:_0x1d39f0||(_0x1d39f0=!0x0),_0x25418b=!0x1;}else{if(_0x5ad94d){if(_0x5d74d6[_0x8b70f4]===0x1)_0x493b19===-0x1&&(_0x493b19=_0x203bc1);else{if(_0x8b70f4===0x22&&_0x493b19!==-0x1)_0x5ad94d=!0x1,_0x139b19=_0x203bc1;else{if(_0x8b70f4===0x5c)_0x25418b=!0x0;else throw new SyntaxError(_0x148e78(0x1da)+_0x203bc1);}}}else{if(_0x8b70f4===0x22&&_0x291367['charCodeAt'](_0x203bc1-0x1)===0x3d)_0x5ad94d=!0x0;else{if(_0x139b19===-0x1&&_0x5d74d6[_0x8b70f4]===0x1)_0x493b19===-0x1&&(_0x493b19=_0x203bc1);else{if(_0x493b19!==-0x1&&(_0x8b70f4===0x20||_0x8b70f4===0x9))_0x139b19===-0x1&&(_0x139b19=_0x203bc1);else{if(_0x8b70f4===0x3b||_0x8b70f4===0x2c){if(_0x493b19===-0x1)throw new SyntaxError(_0x148e78(0x1da)+_0x203bc1);_0x139b19===-0x1&&(_0x139b19=_0x203bc1);let _0x21cd94=_0x291367[_0x148e78(0x222)](_0x493b19,_0x139b19);_0x1d39f0&&(_0x21cd94=_0x21cd94['replace'](/\\/g,''),_0x1d39f0=!0x1),_0x422ffd(_0x4bad6c,_0x5cc906,_0x21cd94),_0x8b70f4===0x2c&&(_0x422ffd(_0x334c6f,_0x1dcc4a,_0x4bad6c),_0x4bad6c=Object[_0x148e78(0x244)](null),_0x1dcc4a=void 0x0),_0x5cc906=void 0x0,_0x493b19=_0x139b19=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x203bc1);}}}}}}}if(_0x493b19===-0x1||_0x5ad94d||_0x8b70f4===0x20||_0x8b70f4===0x9)throw new SyntaxError(_0x148e78(0x1aa));_0x139b19===-0x1&&(_0x139b19=_0x203bc1);const _0x44e159=_0x291367[_0x148e78(0x222)](_0x493b19,_0x139b19);return _0x1dcc4a===void 0x0?_0x422ffd(_0x334c6f,_0x44e159,_0x4bad6c):(_0x5cc906===void 0x0?_0x422ffd(_0x4bad6c,_0x44e159,!0x0):_0x1d39f0?_0x422ffd(_0x4bad6c,_0x5cc906,_0x44e159[_0x148e78(0x2d3)](/\\/g,'')):_0x422ffd(_0x4bad6c,_0x5cc906,_0x44e159),_0x422ffd(_0x334c6f,_0x1dcc4a,_0x4bad6c)),_0x334c6f;}function _0x4c6da7(_0x5034bc){const _0x3dfbe4=_0x508b;return Object[_0x3dfbe4(0x289)](_0x5034bc)[_0x3dfbe4(0x2f5)](_0x1d9895=>{const _0x2c2356=_0x3dfbe4;let _0x1694ee=_0x5034bc[_0x1d9895];return Array[_0x2c2356(0x207)](_0x1694ee)||(_0x1694ee=[_0x1694ee]),_0x1694ee[_0x2c2356(0x2f5)](_0x27173e=>[_0x1d9895][_0x2c2356(0x2a1)](Object['keys'](_0x27173e)['map'](_0x3d0057=>{const _0x15612e=_0x2c2356;let _0x494dd8=_0x27173e[_0x3d0057];return Array[_0x15612e(0x207)](_0x494dd8)||(_0x494dd8=[_0x494dd8]),_0x494dd8[_0x15612e(0x2f5)](_0x52d0d=>_0x52d0d===!0x0?_0x3d0057:_0x3d0057+'='+_0x52d0d)['join'](';\x20');}))[_0x2c2356(0x2c1)](';\x20'))[_0x2c2356(0x2c1)](',\x20');})['join'](',\x20');}return be={'format':_0x4c6da7,'parse':_0x46b87f},be;}var we,st;function Ie(){const _0x4873ff=_0x354711;if(st)return we;st=0x1;const _0x45540e=_0x2d9a8c,_0x3778ee=_0xde752b,_0x4c8d8c=_0x48a5e1,_0x174219=_0x6b9aea,_0x42c864=_0x2f8d45,{randomBytes:_0x41b2f8,createHash:_0x1e0b0b}=_0x997d7e,{Duplex:_0x362f68,Readable:_0x2c88cb}=_0x201f56,{URL:_0x203710}=_0x29ec2d,_0x4521b6=he(),_0x3572df=dt(),_0x1cb6dc=_t(),{isBlob:_0x15b9f2}=ne(),{BINARY_TYPES:_0x48e513,EMPTY_BUFFER:_0x1bd947,GUID:_0x4976de,kForOnEventAttribute:_0x40df70,kListener:_0x4b34e4,kStatusCode:_0x10437f,kWebSocket:_0x3e7bf4,NOOP:_0x5df861}=V(),{EventTarget:{addEventListener:_0x433ea7,removeEventListener:_0x555ee7}}=Kt(),{format:_0x31f0ed,parse:_0x19521c}=pt(),{toBuffer:_0x2bd97e}=ce(),_0x2bfa67=0x1e*0x3e8,_0x348067=Symbol(_0x4873ff(0x2a3)),_0x397c0b=[0x8,0xd],_0x1851c1=['CONNECTING',_0x4873ff(0x221),_0x4873ff(0x2e5),_0x4873ff(0x29a)],_0x42534c=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0xe0db9f extends _0x45540e{constructor(_0x4986c1,_0x1445c1,_0x17c71a){const _0x4d0703=_0x4873ff;super(),this[_0x4d0703(0x2b3)]=_0x48e513[0x0],this[_0x4d0703(0x316)]=0x3ee,this['_closeFrameReceived']=!0x1,this['_closeFrameSent']=!0x1,this['_closeMessage']=_0x1bd947,this['_closeTimer']=null,this['_errorEmitted']=!0x1,this[_0x4d0703(0x1a7)]={},this['_paused']=!0x1,this['_protocol']='',this[_0x4d0703(0x253)]=_0xe0db9f[_0x4d0703(0x1a5)],this[_0x4d0703(0x1df)]=null,this[_0x4d0703(0x211)]=null,this[_0x4d0703(0x1f0)]=null,_0x4986c1!==null?(this[_0x4d0703(0x335)]=0x0,this[_0x4d0703(0x243)]=!0x1,this['_redirects']=0x0,_0x1445c1===void 0x0?_0x1445c1=[]:Array[_0x4d0703(0x207)](_0x1445c1)||(typeof _0x1445c1=='object'&&_0x1445c1!==null?(_0x17c71a=_0x1445c1,_0x1445c1=[]):_0x1445c1=[_0x1445c1]),_0x2969a2(this,_0x4986c1,_0x1445c1,_0x17c71a)):(this[_0x4d0703(0x28e)]=_0x17c71a['autoPong'],this[_0x4d0703(0x243)]=!0x0);}get[_0x4873ff(0x328)](){return this['_binaryType'];}set[_0x4873ff(0x328)](_0x207e85){const _0xd5df4=_0x4873ff;_0x48e513[_0xd5df4(0x332)](_0x207e85)&&(this[_0xd5df4(0x2b3)]=_0x207e85,this['_receiver']&&(this[_0xd5df4(0x1df)][_0xd5df4(0x2b3)]=_0x207e85));}get[_0x4873ff(0x1bc)](){const _0x3c421b=_0x4873ff;return this['_socket']?this[_0x3c421b(0x1f0)][_0x3c421b(0x2e3)]['length']+this[_0x3c421b(0x211)][_0x3c421b(0x1b6)]:this['_bufferedAmount'];}get['extensions'](){const _0x4563b7=_0x4873ff;return Object[_0x4563b7(0x289)](this[_0x4563b7(0x1a7)])['join']();}get[_0x4873ff(0x19f)](){const _0x4fe816=_0x4873ff;return this[_0x4fe816(0x2fa)];}get[_0x4873ff(0x2a0)](){return null;}get[_0x4873ff(0x295)](){return null;}get[_0x4873ff(0x312)](){return null;}get[_0x4873ff(0x1b5)](){return null;}get[_0x4873ff(0x309)](){const _0x505afe=_0x4873ff;return this[_0x505afe(0x2d7)];}get[_0x4873ff(0x21a)](){const _0x508e5f=_0x4873ff;return this[_0x508e5f(0x253)];}get[_0x4873ff(0x2c9)](){const _0x12c40d=_0x4873ff;return this[_0x12c40d(0x337)];}[_0x4873ff(0x250)](_0x308168,_0x24e1d5,_0x19418d){const _0xc87582=_0x4873ff,_0x2af575=new _0x3572df({'allowSynchronousEvents':_0x19418d[_0xc87582(0x1d8)],'binaryType':this[_0xc87582(0x328)],'extensions':this['_extensions'],'isServer':this[_0xc87582(0x243)],'maxPayload':_0x19418d['maxPayload'],'skipUTF8Validation':_0x19418d['skipUTF8Validation']}),_0x5c8e9e=new _0x1cb6dc(_0x308168,this['_extensions'],_0x19418d[_0xc87582(0x302)]);this['_receiver']=_0x2af575,this['_sender']=_0x5c8e9e,this[_0xc87582(0x1f0)]=_0x308168,_0x2af575[_0x3e7bf4]=this,_0x5c8e9e[_0x3e7bf4]=this,_0x308168[_0x3e7bf4]=this,_0x2af575['on'](_0xc87582(0x324),_0x2d9598),_0x2af575['on'](_0xc87582(0x336),_0x271ecd),_0x2af575['on'](_0xc87582(0x1cf),_0x22d55e),_0x2af575['on'](_0xc87582(0x2fc),_0x95ae32),_0x2af575['on'](_0xc87582(0x294),_0xc3e90d),_0x2af575['on'](_0xc87582(0x21e),_0x42e5aa),_0x5c8e9e[_0xc87582(0x295)]=_0x4f689f,_0x308168[_0xc87582(0x215)]&&_0x308168['setTimeout'](0x0),_0x308168[_0xc87582(0x248)]&&_0x308168[_0xc87582(0x248)](),_0x24e1d5[_0xc87582(0x2f0)]>0x0&&_0x308168['unshift'](_0x24e1d5),_0x308168['on'](_0xc87582(0x257),_0x38e05a),_0x308168['on']('data',_0x3b8b84),_0x308168['on'](_0xc87582(0x20e),_0x491f0b),_0x308168['on'](_0xc87582(0x1cf),_0x873df7),this[_0xc87582(0x253)]=_0xe0db9f[_0xc87582(0x221)],this['emit'](_0xc87582(0x1c1));}['emitClose'](){const _0x368f23=_0x4873ff;if(!this[_0x368f23(0x1f0)]){this['_readyState']=_0xe0db9f[_0x368f23(0x29a)],this['emit'](_0x368f23(0x257),this[_0x368f23(0x316)],this[_0x368f23(0x31e)]);return;}this[_0x368f23(0x1a7)][_0x4521b6['extensionName']]&&this[_0x368f23(0x1a7)][_0x4521b6['extensionName']][_0x368f23(0x274)](),this[_0x368f23(0x1df)][_0x368f23(0x2b7)](),this[_0x368f23(0x253)]=_0xe0db9f[_0x368f23(0x29a)],this[_0x368f23(0x27b)]('close',this[_0x368f23(0x316)],this[_0x368f23(0x31e)]);}[_0x4873ff(0x257)](_0x1f00f0,_0x1d8471){const _0x1cb1dd=_0x4873ff;if(this[_0x1cb1dd(0x21a)]!==_0xe0db9f[_0x1cb1dd(0x29a)]){if(this[_0x1cb1dd(0x21a)]===_0xe0db9f['CONNECTING']){_0x474ecf(this,this[_0x1cb1dd(0x1c2)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}if(this['readyState']===_0xe0db9f['CLOSING']){this[_0x1cb1dd(0x30b)]&&(this[_0x1cb1dd(0x233)]||this['_receiver'][_0x1cb1dd(0x2e3)][_0x1cb1dd(0x1af)])&&this[_0x1cb1dd(0x1f0)][_0x1cb1dd(0x20e)]();return;}this[_0x1cb1dd(0x253)]=_0xe0db9f[_0x1cb1dd(0x2e5)],this[_0x1cb1dd(0x211)][_0x1cb1dd(0x257)](_0x1f00f0,_0x1d8471,!this[_0x1cb1dd(0x243)],_0x295c51=>{const _0x325f7e=_0x1cb1dd;_0x295c51||(this[_0x325f7e(0x30b)]=!0x0,(this['_closeFrameReceived']||this[_0x325f7e(0x1df)][_0x325f7e(0x2e3)][_0x325f7e(0x1af)])&&this[_0x325f7e(0x1f0)][_0x325f7e(0x20e)]());}),_0xd23ea2(this);}}['pause'](){const _0x534995=_0x4873ff;this[_0x534995(0x21a)]===_0xe0db9f[_0x534995(0x1a5)]||this['readyState']===_0xe0db9f['CLOSED']||(this['_paused']=!0x0,this[_0x534995(0x1f0)]['pause']());}[_0x4873ff(0x294)](_0x70e85b,_0x530a24,_0x39fc36){const _0x3ca181=_0x4873ff;if(this[_0x3ca181(0x21a)]===_0xe0db9f[_0x3ca181(0x1a5)])throw new Error(_0x3ca181(0x2b6));if(typeof _0x70e85b==_0x3ca181(0x2ef)?(_0x39fc36=_0x70e85b,_0x70e85b=_0x530a24=void 0x0):typeof _0x530a24=='function'&&(_0x39fc36=_0x530a24,_0x530a24=void 0x0),typeof _0x70e85b==_0x3ca181(0x269)&&(_0x70e85b=_0x70e85b[_0x3ca181(0x2f9)]()),this['readyState']!==_0xe0db9f[_0x3ca181(0x221)]){_0x16a3b8(this,_0x70e85b,_0x39fc36);return;}_0x530a24===void 0x0&&(_0x530a24=!this['_isServer']),this[_0x3ca181(0x211)][_0x3ca181(0x294)](_0x70e85b||_0x1bd947,_0x530a24,_0x39fc36);}['pong'](_0x3ce9c9,_0x48d64d,_0x59b74c){const _0x1f9b10=_0x4873ff;if(this[_0x1f9b10(0x21a)]===_0xe0db9f[_0x1f9b10(0x1a5)])throw new Error(_0x1f9b10(0x2b6));if(typeof _0x3ce9c9==_0x1f9b10(0x2ef)?(_0x59b74c=_0x3ce9c9,_0x3ce9c9=_0x48d64d=void 0x0):typeof _0x48d64d=='function'&&(_0x59b74c=_0x48d64d,_0x48d64d=void 0x0),typeof _0x3ce9c9=='number'&&(_0x3ce9c9=_0x3ce9c9['toString']()),this[_0x1f9b10(0x21a)]!==_0xe0db9f[_0x1f9b10(0x221)]){_0x16a3b8(this,_0x3ce9c9,_0x59b74c);return;}_0x48d64d===void 0x0&&(_0x48d64d=!this[_0x1f9b10(0x243)]),this[_0x1f9b10(0x211)][_0x1f9b10(0x21e)](_0x3ce9c9||_0x1bd947,_0x48d64d,_0x59b74c);}[_0x4873ff(0x271)](){const _0x8c812f=_0x4873ff;this[_0x8c812f(0x21a)]===_0xe0db9f[_0x8c812f(0x1a5)]||this['readyState']===_0xe0db9f[_0x8c812f(0x29a)]||(this[_0x8c812f(0x2fa)]=!0x1,this[_0x8c812f(0x1df)]['_writableState'][_0x8c812f(0x29f)]||this['_socket'][_0x8c812f(0x271)]());}[_0x4873ff(0x284)](_0xfde8f7,_0x5482e1,_0xdc3e11){const _0x3be455=_0x4873ff;if(this['readyState']===_0xe0db9f[_0x3be455(0x1a5)])throw new Error(_0x3be455(0x2b6));if(typeof _0x5482e1==_0x3be455(0x2ef)&&(_0xdc3e11=_0x5482e1,_0x5482e1={}),typeof _0xfde8f7==_0x3be455(0x269)&&(_0xfde8f7=_0xfde8f7[_0x3be455(0x2f9)]()),this[_0x3be455(0x21a)]!==_0xe0db9f[_0x3be455(0x221)]){_0x16a3b8(this,_0xfde8f7,_0xdc3e11);return;}const _0x268dd3={'binary':typeof _0xfde8f7!=_0x3be455(0x26b),'mask':!this[_0x3be455(0x243)],'compress':!0x0,'fin':!0x0,..._0x5482e1};this[_0x3be455(0x1a7)][_0x4521b6['extensionName']]||(_0x268dd3[_0x3be455(0x1dd)]=!0x1),this['_sender'][_0x3be455(0x284)](_0xfde8f7||_0x1bd947,_0x268dd3,_0xdc3e11);}[_0x4873ff(0x1ea)](){const _0x7f8c58=_0x4873ff;if(this[_0x7f8c58(0x21a)]!==_0xe0db9f[_0x7f8c58(0x29a)]){if(this[_0x7f8c58(0x21a)]===_0xe0db9f[_0x7f8c58(0x1a5)]){_0x474ecf(this,this[_0x7f8c58(0x1c2)],_0x7f8c58(0x2ba));return;}this[_0x7f8c58(0x1f0)]&&(this['_readyState']=_0xe0db9f['CLOSING'],this[_0x7f8c58(0x1f0)]['destroy']());}}}Object[_0x4873ff(0x1e0)](_0xe0db9f,_0x4873ff(0x1a5),{'enumerable':!0x0,'value':_0x1851c1[_0x4873ff(0x240)](_0x4873ff(0x1a5))}),Object[_0x4873ff(0x1e0)](_0xe0db9f[_0x4873ff(0x2c0)],_0x4873ff(0x1a5),{'enumerable':!0x0,'value':_0x1851c1[_0x4873ff(0x240)](_0x4873ff(0x1a5))}),Object[_0x4873ff(0x1e0)](_0xe0db9f,_0x4873ff(0x221),{'enumerable':!0x0,'value':_0x1851c1[_0x4873ff(0x240)](_0x4873ff(0x221))}),Object[_0x4873ff(0x1e0)](_0xe0db9f[_0x4873ff(0x2c0)],_0x4873ff(0x221),{'enumerable':!0x0,'value':_0x1851c1[_0x4873ff(0x240)](_0x4873ff(0x221))}),Object[_0x4873ff(0x1e0)](_0xe0db9f,_0x4873ff(0x2e5),{'enumerable':!0x0,'value':_0x1851c1[_0x4873ff(0x240)]('CLOSING')}),Object['defineProperty'](_0xe0db9f[_0x4873ff(0x2c0)],'CLOSING',{'enumerable':!0x0,'value':_0x1851c1[_0x4873ff(0x240)](_0x4873ff(0x2e5))}),Object[_0x4873ff(0x1e0)](_0xe0db9f,_0x4873ff(0x29a),{'enumerable':!0x0,'value':_0x1851c1[_0x4873ff(0x240)](_0x4873ff(0x29a))}),Object['defineProperty'](_0xe0db9f['prototype'],'CLOSED',{'enumerable':!0x0,'value':_0x1851c1[_0x4873ff(0x240)]('CLOSED')}),[_0x4873ff(0x328),'bufferedAmount',_0x4873ff(0x24b),'isPaused',_0x4873ff(0x309),_0x4873ff(0x21a),'url'][_0x4873ff(0x320)](_0x5a1136=>{const _0x1e04ae=_0x4873ff;Object[_0x1e04ae(0x1e0)](_0xe0db9f[_0x1e04ae(0x2c0)],_0x5a1136,{'enumerable':!0x0});}),['open',_0x4873ff(0x1cf),'close',_0x4873ff(0x2fc)]['forEach'](_0x288118=>{const _0x16044b=_0x4873ff;Object[_0x16044b(0x1e0)](_0xe0db9f[_0x16044b(0x2c0)],'on'+_0x288118,{'enumerable':!0x0,'get'(){const _0x3e1039=_0x16044b;for(const _0x33c7d2 of this[_0x3e1039(0x317)](_0x288118))if(_0x33c7d2[_0x40df70])return _0x33c7d2[_0x4b34e4];return null;},'set'(_0x550490){const _0xb4d30=_0x16044b;for(const _0x2544ea of this['listeners'](_0x288118))if(_0x2544ea[_0x40df70]){this[_0xb4d30(0x2f3)](_0x288118,_0x2544ea);break;}typeof _0x550490==_0xb4d30(0x2ef)&&this['addEventListener'](_0x288118,_0x550490,{[_0x40df70]:!0x0});}});}),_0xe0db9f[_0x4873ff(0x2c0)][_0x4873ff(0x2ff)]=_0x433ea7,_0xe0db9f[_0x4873ff(0x2c0)][_0x4873ff(0x266)]=_0x555ee7,we=_0xe0db9f;function _0x2969a2(_0x57df93,_0x3cf8dc,_0x33aea1,_0x489b8b){const _0x52c8ab=_0x4873ff,_0x329593={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x397c0b[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x489b8b,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x57df93[_0x52c8ab(0x28e)]=_0x329593[_0x52c8ab(0x1fa)],!_0x397c0b[_0x52c8ab(0x332)](_0x329593['protocolVersion']))throw new RangeError(_0x52c8ab(0x20b)+_0x329593[_0x52c8ab(0x307)]+_0x52c8ab(0x26a)+_0x397c0b['join'](',\x20')+')');let _0x36c8d7;if(_0x3cf8dc instanceof _0x203710)_0x36c8d7=_0x3cf8dc;else try{_0x36c8d7=new _0x203710(_0x3cf8dc);}catch{throw new SyntaxError(_0x52c8ab(0x1c0)+_0x3cf8dc);}_0x36c8d7[_0x52c8ab(0x309)]===_0x52c8ab(0x2cf)?_0x36c8d7[_0x52c8ab(0x309)]=_0x52c8ab(0x22e):_0x36c8d7[_0x52c8ab(0x309)]===_0x52c8ab(0x1e2)&&(_0x36c8d7[_0x52c8ab(0x309)]=_0x52c8ab(0x1f7)),_0x57df93['_url']=_0x36c8d7[_0x52c8ab(0x1f2)];const _0x4de5d5=_0x36c8d7[_0x52c8ab(0x309)]===_0x52c8ab(0x1f7),_0x2ebfe1=_0x36c8d7[_0x52c8ab(0x309)]==='ws+unix:';let _0x51f0d9;if(_0x36c8d7['protocol']!==_0x52c8ab(0x22e)&&!_0x4de5d5&&!_0x2ebfe1?_0x51f0d9=_0x52c8ab(0x2ad):_0x2ebfe1&&!_0x36c8d7[_0x52c8ab(0x1f3)]?_0x51f0d9=_0x52c8ab(0x2d0):_0x36c8d7[_0x52c8ab(0x24c)]&&(_0x51f0d9='The\x20URL\x20contains\x20a\x20fragment\x20identifier'),_0x51f0d9){const _0x210310=new SyntaxError(_0x51f0d9);if(_0x57df93[_0x52c8ab(0x1e3)]===0x0)throw _0x210310;_0x3a11b1(_0x57df93,_0x210310);return;}const _0x97aeb3=_0x4de5d5?0x1bb:0x50,_0x49068a=_0x41b2f8(0x10)['toString']('base64'),_0x387e06=_0x4de5d5?_0x3778ee[_0x52c8ab(0x1c6)]:_0x4c8d8c[_0x52c8ab(0x1c6)],_0x3f0fa8=new Set();let _0x552dd9;if(_0x329593['createConnection']=_0x329593[_0x52c8ab(0x246)]||(_0x4de5d5?_0x566b7b:_0x2f4f8f),_0x329593[_0x52c8ab(0x2ed)]=_0x329593[_0x52c8ab(0x2ed)]||_0x97aeb3,_0x329593[_0x52c8ab(0x25f)]=_0x36c8d7[_0x52c8ab(0x25f)]||_0x97aeb3,_0x329593[_0x52c8ab(0x230)]=_0x36c8d7['hostname']['startsWith']('[')?_0x36c8d7[_0x52c8ab(0x268)]['slice'](0x1,-0x1):_0x36c8d7[_0x52c8ab(0x268)],_0x329593[_0x52c8ab(0x1b0)]={..._0x329593[_0x52c8ab(0x1b0)],'Sec-WebSocket-Version':_0x329593[_0x52c8ab(0x307)],'Sec-WebSocket-Key':_0x49068a,'Connection':_0x52c8ab(0x276),'Upgrade':_0x52c8ab(0x1d2)},_0x329593[_0x52c8ab(0x2d9)]=_0x36c8d7[_0x52c8ab(0x1f3)]+_0x36c8d7[_0x52c8ab(0x1e1)],_0x329593[_0x52c8ab(0x239)]=_0x329593[_0x52c8ab(0x2e7)],_0x329593[_0x52c8ab(0x287)]&&(_0x552dd9=new _0x4521b6(_0x329593[_0x52c8ab(0x287)]!==!0x0?_0x329593[_0x52c8ab(0x287)]:{},!0x1,_0x329593[_0x52c8ab(0x2f1)]),_0x329593[_0x52c8ab(0x1b0)]['Sec-WebSocket-Extensions']=_0x31f0ed({[_0x4521b6['extensionName']]:_0x552dd9[_0x52c8ab(0x2b5)]()})),_0x33aea1[_0x52c8ab(0x2f0)]){for(const _0x115f36 of _0x33aea1){if(typeof _0x115f36!=_0x52c8ab(0x26b)||!_0x42534c[_0x52c8ab(0x1e9)](_0x115f36)||_0x3f0fa8['has'](_0x115f36))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x3f0fa8[_0x52c8ab(0x20a)](_0x115f36);}_0x329593[_0x52c8ab(0x1b0)]['Sec-WebSocket-Protocol']=_0x33aea1['join'](',');}if(_0x329593['origin']&&(_0x329593['protocolVersion']<0xd?_0x329593[_0x52c8ab(0x1b0)][_0x52c8ab(0x286)]=_0x329593[_0x52c8ab(0x223)]:_0x329593[_0x52c8ab(0x1b0)][_0x52c8ab(0x31c)]=_0x329593[_0x52c8ab(0x223)]),(_0x36c8d7['username']||_0x36c8d7[_0x52c8ab(0x281)])&&(_0x329593[_0x52c8ab(0x2bf)]=_0x36c8d7[_0x52c8ab(0x22b)]+':'+_0x36c8d7[_0x52c8ab(0x281)]),_0x2ebfe1){const _0x5479bc=_0x329593[_0x52c8ab(0x2d9)]['split'](':');_0x329593['socketPath']=_0x5479bc[0x0],_0x329593[_0x52c8ab(0x2d9)]=_0x5479bc[0x1];}let _0x342ede;if(_0x329593['followRedirects']){if(_0x57df93[_0x52c8ab(0x1e3)]===0x0){_0x57df93[_0x52c8ab(0x2fe)]=_0x2ebfe1,_0x57df93[_0x52c8ab(0x2ab)]=_0x4de5d5,_0x57df93['_originalHostOrSocketPath']=_0x2ebfe1?_0x329593[_0x52c8ab(0x1a2)]:_0x36c8d7[_0x52c8ab(0x230)];const _0x452e55=_0x489b8b&&_0x489b8b[_0x52c8ab(0x1b0)];if(_0x489b8b={..._0x489b8b,'headers':{}},_0x452e55){for(const [_0x1aba9c,_0x8ce6e5]of Object['entries'](_0x452e55))_0x489b8b['headers'][_0x1aba9c[_0x52c8ab(0x32d)]()]=_0x8ce6e5;}}else{if(_0x57df93[_0x52c8ab(0x323)](_0x52c8ab(0x2dd))===0x0){const _0x27e6fc=_0x2ebfe1?_0x57df93[_0x52c8ab(0x2fe)]?_0x329593['socketPath']===_0x57df93[_0x52c8ab(0x25d)]:!0x1:_0x57df93[_0x52c8ab(0x2fe)]?!0x1:_0x36c8d7[_0x52c8ab(0x230)]===_0x57df93[_0x52c8ab(0x25d)];(!_0x27e6fc||_0x57df93[_0x52c8ab(0x2ab)]&&!_0x4de5d5)&&(delete _0x329593[_0x52c8ab(0x1b0)]['authorization'],delete _0x329593[_0x52c8ab(0x1b0)][_0x52c8ab(0x2cb)],_0x27e6fc||delete _0x329593['headers'][_0x52c8ab(0x230)],_0x329593[_0x52c8ab(0x2bf)]=void 0x0);}}_0x329593[_0x52c8ab(0x2bf)]&&!_0x489b8b[_0x52c8ab(0x1b0)]['authorization']&&(_0x489b8b['headers'][_0x52c8ab(0x29e)]='Basic\x20'+Buffer[_0x52c8ab(0x2ee)](_0x329593[_0x52c8ab(0x2bf)])[_0x52c8ab(0x2f9)]('base64')),_0x342ede=_0x57df93['_req']=_0x387e06(_0x329593),_0x57df93['_redirects']&&_0x57df93[_0x52c8ab(0x27b)](_0x52c8ab(0x2dd),_0x57df93[_0x52c8ab(0x2c9)],_0x342ede);}else _0x342ede=_0x57df93[_0x52c8ab(0x1c2)]=_0x387e06(_0x329593);_0x329593[_0x52c8ab(0x239)]&&_0x342ede['on'](_0x52c8ab(0x239),()=>{const _0x10418a=_0x52c8ab;_0x474ecf(_0x57df93,_0x342ede,_0x10418a(0x200));}),_0x342ede['on']('error',_0x31f826=>{_0x342ede===null||_0x342ede[_0x348067]||(_0x342ede=_0x57df93['_req']=null,_0x3a11b1(_0x57df93,_0x31f826));}),_0x342ede['on']('response',_0x1571d0=>{const _0x13c148=_0x52c8ab,_0x2f9f59=_0x1571d0[_0x13c148(0x1b0)][_0x13c148(0x2d5)],_0x17cee8=_0x1571d0[_0x13c148(0x225)];if(_0x2f9f59&&_0x329593[_0x13c148(0x19c)]&&_0x17cee8>=0x12c&&_0x17cee8<0x190){if(++_0x57df93[_0x13c148(0x1e3)]>_0x329593[_0x13c148(0x278)]){_0x474ecf(_0x57df93,_0x342ede,_0x13c148(0x1f4));return;}_0x342ede['abort']();let _0x4a7a26;try{_0x4a7a26=new _0x203710(_0x2f9f59,_0x3cf8dc);}catch{const _0x322378=new SyntaxError(_0x13c148(0x1c0)+_0x2f9f59);_0x3a11b1(_0x57df93,_0x322378);return;}_0x2969a2(_0x57df93,_0x4a7a26,_0x33aea1,_0x489b8b);}else _0x57df93[_0x13c148(0x27b)](_0x13c148(0x2a9),_0x342ede,_0x1571d0)||_0x474ecf(_0x57df93,_0x342ede,_0x13c148(0x313)+_0x1571d0[_0x13c148(0x225)]);}),_0x342ede['on'](_0x52c8ab(0x329),(_0x27622a,_0xc49f77,_0xa500c0)=>{const _0x399d4c=_0x52c8ab;if(_0x57df93[_0x399d4c(0x27b)](_0x399d4c(0x329),_0x27622a),_0x57df93['readyState']!==_0xe0db9f['CONNECTING'])return;_0x342ede=_0x57df93['_req']=null;const _0x406db7=_0x27622a[_0x399d4c(0x1b0)][_0x399d4c(0x329)];if(_0x406db7===void 0x0||_0x406db7[_0x399d4c(0x32d)]()!=='websocket'){_0x474ecf(_0x57df93,_0xc49f77,_0x399d4c(0x330));return;}const _0x30bce9=_0x1e0b0b(_0x399d4c(0x338))['update'](_0x49068a+_0x4976de)['digest'](_0x399d4c(0x2da));if(_0x27622a['headers']['sec-websocket-accept']!==_0x30bce9){_0x474ecf(_0x57df93,_0xc49f77,_0x399d4c(0x2c2));return;}const _0x5948bd=_0x27622a['headers']['sec-websocket-protocol'];let _0x54f456;if(_0x5948bd!==void 0x0?_0x3f0fa8[_0x399d4c(0x33e)]?_0x3f0fa8[_0x399d4c(0x1ff)](_0x5948bd)||(_0x54f456='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0x54f456='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0x3f0fa8['size']&&(_0x54f456=_0x399d4c(0x27e)),_0x54f456){_0x474ecf(_0x57df93,_0xc49f77,_0x54f456);return;}_0x5948bd&&(_0x57df93[_0x399d4c(0x2d7)]=_0x5948bd);const _0x6dccdf=_0x27622a['headers'][_0x399d4c(0x1e4)];if(_0x6dccdf!==void 0x0){if(!_0x552dd9){_0x474ecf(_0x57df93,_0xc49f77,'Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested');return;}let _0x3561ed;try{_0x3561ed=_0x19521c(_0x6dccdf);}catch{_0x474ecf(_0x57df93,_0xc49f77,_0x399d4c(0x1c4));return;}const _0x3b5692=Object[_0x399d4c(0x289)](_0x3561ed);if(_0x3b5692[_0x399d4c(0x2f0)]!==0x1||_0x3b5692[0x0]!==_0x4521b6[_0x399d4c(0x2bc)]){_0x474ecf(_0x57df93,_0xc49f77,_0x399d4c(0x32c));return;}try{_0x552dd9[_0x399d4c(0x33f)](_0x3561ed[_0x4521b6[_0x399d4c(0x2bc)]]);}catch{_0x474ecf(_0x57df93,_0xc49f77,_0x399d4c(0x1c4));return;}_0x57df93[_0x399d4c(0x1a7)][_0x4521b6[_0x399d4c(0x2bc)]]=_0x552dd9;}_0x57df93[_0x399d4c(0x250)](_0xc49f77,_0xa500c0,{'allowSynchronousEvents':_0x329593[_0x399d4c(0x1d8)],'generateMask':_0x329593[_0x399d4c(0x302)],'maxPayload':_0x329593[_0x399d4c(0x2f1)],'skipUTF8Validation':_0x329593[_0x399d4c(0x2d2)]});}),_0x329593[_0x52c8ab(0x30c)]?_0x329593['finishRequest'](_0x342ede,_0x57df93):_0x342ede[_0x52c8ab(0x20e)]();}function _0x3a11b1(_0x4beec8,_0x1e1164){const _0x1cb809=_0x4873ff;_0x4beec8[_0x1cb809(0x253)]=_0xe0db9f[_0x1cb809(0x2e5)],_0x4beec8[_0x1cb809(0x2d4)]=!0x0,_0x4beec8['emit'](_0x1cb809(0x1cf),_0x1e1164),_0x4beec8[_0x1cb809(0x213)]();}function _0x2f4f8f(_0x4bb1eb){const _0x4b0764=_0x4873ff;return _0x4bb1eb[_0x4b0764(0x2d9)]=_0x4bb1eb[_0x4b0764(0x1a2)],_0x174219[_0x4b0764(0x1ac)](_0x4bb1eb);}function _0x566b7b(_0x5e0083){const _0x4638b6=_0x4873ff;return _0x5e0083[_0x4638b6(0x2d9)]=void 0x0,!_0x5e0083[_0x4638b6(0x245)]&&_0x5e0083[_0x4638b6(0x245)]!==''&&(_0x5e0083[_0x4638b6(0x245)]=_0x174219[_0x4638b6(0x1cc)](_0x5e0083[_0x4638b6(0x230)])?'':_0x5e0083[_0x4638b6(0x230)]),_0x42c864[_0x4638b6(0x1ac)](_0x5e0083);}function _0x474ecf(_0x4372f7,_0x1abcad,_0x406c74){const _0x28d207=_0x4873ff;_0x4372f7[_0x28d207(0x253)]=_0xe0db9f[_0x28d207(0x2e5)];const _0x23196e=new Error(_0x406c74);Error[_0x28d207(0x2e4)](_0x23196e,_0x474ecf),_0x1abcad[_0x28d207(0x326)]?(_0x1abcad[_0x348067]=!0x0,_0x1abcad[_0x28d207(0x31d)](),_0x1abcad[_0x28d207(0x2b2)]&&!_0x1abcad[_0x28d207(0x2b2)][_0x28d207(0x1c5)]&&_0x1abcad[_0x28d207(0x2b2)][_0x28d207(0x311)](),process['nextTick'](_0x3a11b1,_0x4372f7,_0x23196e)):(_0x1abcad[_0x28d207(0x311)](_0x23196e),_0x1abcad[_0x28d207(0x227)]('error',_0x4372f7[_0x28d207(0x27b)][_0x28d207(0x238)](_0x4372f7,_0x28d207(0x1cf))),_0x1abcad[_0x28d207(0x227)](_0x28d207(0x257),_0x4372f7['emitClose'][_0x28d207(0x238)](_0x4372f7)));}function _0x16a3b8(_0x1266e9,_0x27c8a8,_0x2a0920){const _0x2f7acd=_0x4873ff;if(_0x27c8a8){const _0x44af24=_0x15b9f2(_0x27c8a8)?_0x27c8a8[_0x2f7acd(0x33e)]:_0x2bd97e(_0x27c8a8)[_0x2f7acd(0x2f0)];_0x1266e9['_socket']?_0x1266e9[_0x2f7acd(0x211)][_0x2f7acd(0x1b6)]+=_0x44af24:_0x1266e9[_0x2f7acd(0x335)]+=_0x44af24;}if(_0x2a0920){const _0x3d6bdd=new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x20'+_0x1266e9['readyState']+'\x20('+_0x1851c1[_0x1266e9['readyState']]+')');process[_0x2f7acd(0x20d)](_0x2a0920,_0x3d6bdd);}}function _0x2d9598(_0x439ad2,_0x570368){const _0x29a6d8=_0x4873ff,_0x36c099=this[_0x3e7bf4];_0x36c099[_0x29a6d8(0x233)]=!0x0,_0x36c099[_0x29a6d8(0x31e)]=_0x570368,_0x36c099[_0x29a6d8(0x316)]=_0x439ad2,_0x36c099[_0x29a6d8(0x1f0)][_0x3e7bf4]!==void 0x0&&(_0x36c099[_0x29a6d8(0x1f0)][_0x29a6d8(0x2f3)](_0x29a6d8(0x282),_0x3b8b84),process['nextTick'](_0x35c2f4,_0x36c099[_0x29a6d8(0x1f0)]),_0x439ad2===0x3ed?_0x36c099[_0x29a6d8(0x257)]():_0x36c099[_0x29a6d8(0x257)](_0x439ad2,_0x570368));}function _0x271ecd(){const _0x3106bf=_0x4873ff,_0x4cd0e7=this[_0x3e7bf4];_0x4cd0e7['isPaused']||_0x4cd0e7['_socket'][_0x3106bf(0x271)]();}function _0x22d55e(_0x128128){const _0x15cdf1=_0x4873ff,_0x323174=this[_0x3e7bf4];_0x323174[_0x15cdf1(0x1f0)][_0x3e7bf4]!==void 0x0&&(_0x323174[_0x15cdf1(0x1f0)][_0x15cdf1(0x2f3)](_0x15cdf1(0x282),_0x3b8b84),process[_0x15cdf1(0x20d)](_0x35c2f4,_0x323174[_0x15cdf1(0x1f0)]),_0x323174[_0x15cdf1(0x257)](_0x128128[_0x10437f])),_0x323174[_0x15cdf1(0x2d4)]||(_0x323174[_0x15cdf1(0x2d4)]=!0x0,_0x323174['emit'](_0x15cdf1(0x1cf),_0x128128));}function _0x239b0e(){const _0x57cada=_0x4873ff;this[_0x3e7bf4][_0x57cada(0x213)]();}function _0x95ae32(_0x547b55,_0x558d29){const _0x402e41=_0x4873ff;this[_0x3e7bf4][_0x402e41(0x27b)](_0x402e41(0x2fc),_0x547b55,_0x558d29);}function _0xc3e90d(_0x57ccf7){const _0x1d9dd8=_0x4873ff,_0xb11bf1=this[_0x3e7bf4];_0xb11bf1[_0x1d9dd8(0x28e)]&&_0xb11bf1['pong'](_0x57ccf7,!this['_isServer'],_0x5df861),_0xb11bf1[_0x1d9dd8(0x27b)](_0x1d9dd8(0x294),_0x57ccf7);}function _0x42e5aa(_0x42b27f){const _0x3f105f=_0x4873ff;this[_0x3e7bf4]['emit'](_0x3f105f(0x21e),_0x42b27f);}function _0x35c2f4(_0x3daed3){const _0xa0a43=_0x4873ff;_0x3daed3[_0xa0a43(0x271)]();}function _0x4f689f(_0x2d6270){const _0x58188d=_0x4873ff,_0x4a0ee9=this[_0x3e7bf4];_0x4a0ee9[_0x58188d(0x21a)]!==_0xe0db9f['CLOSED']&&(_0x4a0ee9[_0x58188d(0x21a)]===_0xe0db9f[_0x58188d(0x221)]&&(_0x4a0ee9['_readyState']=_0xe0db9f[_0x58188d(0x2e5)],_0xd23ea2(_0x4a0ee9)),this[_0x58188d(0x1f0)]['end'](),_0x4a0ee9[_0x58188d(0x2d4)]||(_0x4a0ee9[_0x58188d(0x2d4)]=!0x0,_0x4a0ee9[_0x58188d(0x27b)](_0x58188d(0x1cf),_0x2d6270)));}function _0xd23ea2(_0x5600ec){const _0x2f2283=_0x4873ff;_0x5600ec[_0x2f2283(0x237)]=setTimeout(_0x5600ec[_0x2f2283(0x1f0)][_0x2f2283(0x311)]['bind'](_0x5600ec[_0x2f2283(0x1f0)]),_0x2bfa67);}function _0x38e05a(){const _0x455b47=_0x4873ff,_0x531705=this[_0x3e7bf4];this['removeListener'](_0x455b47(0x257),_0x38e05a),this['removeListener'](_0x455b47(0x282),_0x3b8b84),this[_0x455b47(0x2f3)](_0x455b47(0x20e),_0x491f0b),_0x531705[_0x455b47(0x253)]=_0xe0db9f[_0x455b47(0x2e5)];let _0x52ca08;!this['_readableState']['endEmitted']&&!_0x531705[_0x455b47(0x233)]&&!_0x531705[_0x455b47(0x1df)][_0x455b47(0x2e3)][_0x455b47(0x1af)]&&(_0x52ca08=_0x531705['_socket'][_0x455b47(0x25c)]())!==null&&_0x531705[_0x455b47(0x1df)][_0x455b47(0x220)](_0x52ca08),_0x531705[_0x455b47(0x1df)][_0x455b47(0x20e)](),this[_0x3e7bf4]=void 0x0,clearTimeout(_0x531705['_closeTimer']),_0x531705[_0x455b47(0x1df)][_0x455b47(0x2e3)]['finished']||_0x531705[_0x455b47(0x1df)]['_writableState'][_0x455b47(0x1af)]?_0x531705[_0x455b47(0x213)]():(_0x531705[_0x455b47(0x1df)]['on'](_0x455b47(0x1cf),_0x239b0e),_0x531705['_receiver']['on'](_0x455b47(0x2fb),_0x239b0e));}function _0x3b8b84(_0x562435){const _0x6bd73b=_0x4873ff;this[_0x3e7bf4][_0x6bd73b(0x1df)][_0x6bd73b(0x220)](_0x562435)||this[_0x6bd73b(0x214)]();}function _0x491f0b(){const _0x3af8d1=_0x4873ff,_0x1f3016=this[_0x3e7bf4];_0x1f3016['_readyState']=_0xe0db9f[_0x3af8d1(0x2e5)],_0x1f3016[_0x3af8d1(0x1df)][_0x3af8d1(0x20e)](),this[_0x3af8d1(0x20e)]();}function _0x873df7(){const _0x19fab6=_0x4873ff,_0x3db7c=this[_0x3e7bf4];this[_0x19fab6(0x2f3)](_0x19fab6(0x1cf),_0x873df7),this['on']('error',_0x5df861),_0x3db7c&&(_0x3db7c[_0x19fab6(0x253)]=_0xe0db9f['CLOSING'],this[_0x19fab6(0x311)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x2f9d23}=_0x201f56;function _0x354027(_0x25185d){const _0x10b2fc=_0x508b;_0x25185d[_0x10b2fc(0x27b)]('close');}function _0x54bac7(){const _0x113d4a=_0x508b;!this[_0x113d4a(0x1c5)]&&this[_0x113d4a(0x2e3)][_0x113d4a(0x1e8)]&&this[_0x113d4a(0x311)]();}function _0x22da56(_0x57465f){const _0x3ab537=_0x508b;this[_0x3ab537(0x2f3)](_0x3ab537(0x1cf),_0x22da56),this[_0x3ab537(0x311)](),this['listenerCount'](_0x3ab537(0x1cf))===0x0&&this[_0x3ab537(0x27b)]('error',_0x57465f);}function _0x387033(_0xa72beb,_0xd198f7){const _0xfed883=_0x508b;let _0x1c8bcf=!0x0;const _0x5986e4=new _0x2f9d23({..._0xd198f7,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0xa72beb['on'](_0xfed883(0x2fc),function(_0x410efc,_0x31027d){const _0x430e6a=_0xfed883,_0x23bc03=!_0x31027d&&_0x5986e4[_0x430e6a(0x333)]['objectMode']?_0x410efc[_0x430e6a(0x2f9)]():_0x410efc;_0x5986e4[_0x430e6a(0x217)](_0x23bc03)||_0xa72beb[_0x430e6a(0x214)]();}),_0xa72beb[_0xfed883(0x227)]('error',function(_0x3ebac3){const _0x26292d=_0xfed883;_0x5986e4[_0x26292d(0x1c5)]||(_0x1c8bcf=!0x1,_0x5986e4['destroy'](_0x3ebac3));}),_0xa72beb[_0xfed883(0x227)](_0xfed883(0x257),function(){const _0x4756b5=_0xfed883;_0x5986e4[_0x4756b5(0x1c5)]||_0x5986e4[_0x4756b5(0x217)](null);}),_0x5986e4['_destroy']=function(_0x463efc,_0x7bbee8){const _0x4d47c4=_0xfed883;if(_0xa72beb[_0x4d47c4(0x21a)]===_0xa72beb[_0x4d47c4(0x29a)]){_0x7bbee8(_0x463efc),process[_0x4d47c4(0x20d)](_0x354027,_0x5986e4);return;}let _0xb831f1=!0x1;_0xa72beb['once']('error',function(_0x1cd10a){_0xb831f1=!0x0,_0x7bbee8(_0x1cd10a);}),_0xa72beb[_0x4d47c4(0x227)](_0x4d47c4(0x257),function(){_0xb831f1||_0x7bbee8(_0x463efc),process['nextTick'](_0x354027,_0x5986e4);}),_0x1c8bcf&&_0xa72beb['terminate']();},_0x5986e4[_0xfed883(0x27d)]=function(_0x3b30d8){const _0xc4226=_0xfed883;if(_0xa72beb[_0xc4226(0x21a)]===_0xa72beb[_0xc4226(0x1a5)]){_0xa72beb[_0xc4226(0x227)](_0xc4226(0x1c1),function(){_0x5986e4['_final'](_0x3b30d8);});return;}_0xa72beb[_0xc4226(0x1f0)]!==null&&(_0xa72beb[_0xc4226(0x1f0)]['_writableState']['finished']?(_0x3b30d8(),_0x5986e4[_0xc4226(0x333)][_0xc4226(0x334)]&&_0x5986e4[_0xc4226(0x311)]()):(_0xa72beb[_0xc4226(0x1f0)][_0xc4226(0x227)]('finish',function(){_0x3b30d8();}),_0xa72beb[_0xc4226(0x257)]()));},_0x5986e4['_read']=function(){const _0x598877=_0xfed883;_0xa72beb['isPaused']&&_0xa72beb[_0x598877(0x271)]();},_0x5986e4[_0xfed883(0x234)]=function(_0x75ae7c,_0x22a676,_0x91aabe){const _0x329743=_0xfed883;if(_0xa72beb[_0x329743(0x21a)]===_0xa72beb[_0x329743(0x1a5)]){_0xa72beb[_0x329743(0x227)](_0x329743(0x1c1),function(){const _0x4576c5=_0x329743;_0x5986e4[_0x4576c5(0x234)](_0x75ae7c,_0x22a676,_0x91aabe);});return;}_0xa72beb[_0x329743(0x284)](_0x75ae7c,_0x91aabe);},_0x5986e4['on'](_0xfed883(0x20e),_0x54bac7),_0x5986e4['on'](_0xfed883(0x1cf),_0x22da56),_0x5986e4;}return Oe=_0x387033,Oe;}function _0x508b(_0x1f61cc,_0x422df1){const _0x3a4c29=_0x3a4c();return _0x508b=function(_0x508bfb,_0x4edf2b){_0x508bfb=_0x508bfb-0x19a;let _0x2f1c7a=_0x3a4c29[_0x508bfb];return _0x2f1c7a;},_0x508b(_0x1f61cc,_0x422df1);}Xt(),dt(),_t();var Zt=Ie();const Qt=Wt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x23d527}=ne();function _0x4d0385(_0x3f2ca6){const _0x569340=_0x508b,_0x36092d=new Set();let _0x11fcdd=-0x1,_0x1c4a86=-0x1,_0x20fda7=0x0;for(_0x20fda7;_0x20fda7<_0x3f2ca6[_0x569340(0x2f0)];_0x20fda7++){const _0x2594be=_0x3f2ca6[_0x569340(0x1cb)](_0x20fda7);if(_0x1c4a86===-0x1&&_0x23d527[_0x2594be]===0x1)_0x11fcdd===-0x1&&(_0x11fcdd=_0x20fda7);else{if(_0x20fda7!==0x0&&(_0x2594be===0x20||_0x2594be===0x9))_0x1c4a86===-0x1&&_0x11fcdd!==-0x1&&(_0x1c4a86=_0x20fda7);else{if(_0x2594be===0x2c){if(_0x11fcdd===-0x1)throw new SyntaxError(_0x569340(0x1da)+_0x20fda7);_0x1c4a86===-0x1&&(_0x1c4a86=_0x20fda7);const _0x27e97a=_0x3f2ca6['slice'](_0x11fcdd,_0x1c4a86);if(_0x36092d[_0x569340(0x1ff)](_0x27e97a))throw new SyntaxError('The\x20\x22'+_0x27e97a+_0x569340(0x2c8));_0x36092d[_0x569340(0x20a)](_0x27e97a),_0x11fcdd=_0x1c4a86=-0x1;}else throw new SyntaxError(_0x569340(0x1da)+_0x20fda7);}}}if(_0x11fcdd===-0x1||_0x1c4a86!==-0x1)throw new SyntaxError(_0x569340(0x1aa));const _0x5644db=_0x3f2ca6[_0x569340(0x222)](_0x11fcdd,_0x20fda7);if(_0x36092d[_0x569340(0x1ff)](_0x5644db))throw new SyntaxError(_0x569340(0x255)+_0x5644db+'\x22\x20subprotocol\x20is\x20duplicated');return _0x36092d['add'](_0x5644db),_0x36092d;}return Ce={'parse':_0x4d0385},Ce;}var Te,ot;function er(){const _0x586654=_0x354711;if(ot)return Te;ot=0x1;const _0x16b886=_0x2d9a8c,_0x3063f0=_0x48a5e1,{Duplex:_0x22552e}=_0x201f56,{createHash:_0x4089c1}=_0x997d7e,_0x5d4bd8=pt(),_0xa74369=he(),_0x4006b6=Jt(),_0x1a2457=Ie(),{GUID:_0x384b49,kWebSocket:_0x135bec}=V(),_0x232494=/^[+/0-9A-Za-z]{22}==$/,_0x174779=0x0,_0x5b8f80=0x1,_0x2cf7e1=0x2;class _0x46b6db extends _0x16b886{constructor(_0x23e2bc,_0x1fd942){const _0x2a3e0f=_0x508b;if(super(),_0x23e2bc={'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':_0x1a2457,..._0x23e2bc},_0x23e2bc[_0x2a3e0f(0x25f)]==null&&!_0x23e2bc[_0x2a3e0f(0x20c)]&&!_0x23e2bc['noServer']||_0x23e2bc[_0x2a3e0f(0x25f)]!=null&&(_0x23e2bc['server']||_0x23e2bc['noServer'])||_0x23e2bc[_0x2a3e0f(0x20c)]&&_0x23e2bc[_0x2a3e0f(0x2e8)])throw new TypeError('One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified');if(_0x23e2bc[_0x2a3e0f(0x25f)]!=null?(this[_0x2a3e0f(0x1fe)]=_0x3063f0[_0x2a3e0f(0x201)]((_0x43a672,_0x60743e)=>{const _0x1d7744=_0x2a3e0f,_0x4e34ac=_0x3063f0[_0x1d7744(0x2c5)][0x1aa];_0x60743e[_0x1d7744(0x1f6)](0x1aa,{'Content-Length':_0x4e34ac[_0x1d7744(0x2f0)],'Content-Type':_0x1d7744(0x25e)}),_0x60743e[_0x1d7744(0x20e)](_0x4e34ac);}),this['_server'][_0x2a3e0f(0x314)](_0x23e2bc[_0x2a3e0f(0x25f)],_0x23e2bc[_0x2a3e0f(0x230)],_0x23e2bc[_0x2a3e0f(0x264)],_0x1fd942)):_0x23e2bc['server']&&(this[_0x2a3e0f(0x1fe)]=_0x23e2bc[_0x2a3e0f(0x20c)]),this[_0x2a3e0f(0x1fe)]){const _0x18fc2a=this['emit'][_0x2a3e0f(0x238)](this,_0x2a3e0f(0x21c));this[_0x2a3e0f(0x2d6)]=_0x3eb266(this[_0x2a3e0f(0x1fe)],{'listening':this[_0x2a3e0f(0x27b)][_0x2a3e0f(0x238)](this,_0x2a3e0f(0x301)),'error':this[_0x2a3e0f(0x27b)][_0x2a3e0f(0x238)](this,_0x2a3e0f(0x1cf)),'upgrade':(_0x6d3ec5,_0x28e8a0,_0x352713)=>{this['handleUpgrade'](_0x6d3ec5,_0x28e8a0,_0x352713,_0x18fc2a);}});}_0x23e2bc[_0x2a3e0f(0x287)]===!0x0&&(_0x23e2bc[_0x2a3e0f(0x287)]={}),_0x23e2bc['clientTracking']&&(this['clients']=new Set(),this[_0x2a3e0f(0x2f6)]=!0x1),this[_0x2a3e0f(0x27f)]=_0x23e2bc,this[_0x2a3e0f(0x258)]=_0x174779;}[_0x586654(0x1c8)](){const _0x2343a7=_0x586654;if(this[_0x2343a7(0x27f)][_0x2343a7(0x2e8)])throw new Error('The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode');return this[_0x2343a7(0x1fe)]?this['_server'][_0x2343a7(0x1c8)]():null;}[_0x586654(0x257)](_0x537363){const _0x2b1d07=_0x586654;if(this['_state']===_0x2cf7e1){_0x537363&&this[_0x2b1d07(0x227)](_0x2b1d07(0x257),()=>{const _0x5d3d1e=_0x2b1d07;_0x537363(new Error(_0x5d3d1e(0x1bf)));}),process[_0x2b1d07(0x20d)](_0x1eea22,this);return;}if(_0x537363&&this[_0x2b1d07(0x227)](_0x2b1d07(0x257),_0x537363),this[_0x2b1d07(0x258)]!==_0x5b8f80){if(this[_0x2b1d07(0x258)]=_0x5b8f80,this[_0x2b1d07(0x27f)][_0x2b1d07(0x2e8)]||this['options'][_0x2b1d07(0x20c)])this[_0x2b1d07(0x1fe)]&&(this[_0x2b1d07(0x2d6)](),this[_0x2b1d07(0x2d6)]=this[_0x2b1d07(0x1fe)]=null),this[_0x2b1d07(0x318)]?this[_0x2b1d07(0x318)][_0x2b1d07(0x33e)]?this['_shouldEmitClose']=!0x0:process[_0x2b1d07(0x20d)](_0x1eea22,this):process['nextTick'](_0x1eea22,this);else{const _0x1f165d=this[_0x2b1d07(0x1fe)];this['_removeListeners'](),this['_removeListeners']=this[_0x2b1d07(0x1fe)]=null,_0x1f165d['close'](()=>{_0x1eea22(this);});}}}[_0x586654(0x1d1)](_0x3ae813){const _0xcc8d3e=_0x586654;if(this[_0xcc8d3e(0x27f)][_0xcc8d3e(0x2d9)]){const _0x5e44c6=_0x3ae813[_0xcc8d3e(0x2c9)][_0xcc8d3e(0x240)]('?');if((_0x5e44c6!==-0x1?_0x3ae813[_0xcc8d3e(0x2c9)][_0xcc8d3e(0x222)](0x0,_0x5e44c6):_0x3ae813[_0xcc8d3e(0x2c9)])!==this['options'][_0xcc8d3e(0x2d9)])return!0x1;}return!0x0;}[_0x586654(0x2b9)](_0x44c686,_0x41b93b,_0x22a126,_0x4e7bad){const _0x44d7e6=_0x586654;_0x41b93b['on'](_0x44d7e6(0x1cf),_0x3ad7ee);const _0x523172=_0x44c686[_0x44d7e6(0x1b0)][_0x44d7e6(0x29d)],_0x3c5037=_0x44c686[_0x44d7e6(0x1b0)][_0x44d7e6(0x329)],_0x26db04=+_0x44c686['headers'][_0x44d7e6(0x19a)];if(_0x44c686[_0x44d7e6(0x2cc)]!==_0x44d7e6(0x2eb)){_0x17680c(this,_0x44c686,_0x41b93b,0x195,_0x44d7e6(0x2df));return;}if(_0x3c5037===void 0x0||_0x3c5037[_0x44d7e6(0x32d)]()!==_0x44d7e6(0x1d2)){_0x17680c(this,_0x44c686,_0x41b93b,0x190,_0x44d7e6(0x330));return;}if(_0x523172===void 0x0||!_0x232494['test'](_0x523172)){_0x17680c(this,_0x44c686,_0x41b93b,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header');return;}if(_0x26db04!==0xd&&_0x26db04!==0x8){_0x17680c(this,_0x44c686,_0x41b93b,0x190,_0x44d7e6(0x2af),{'Sec-WebSocket-Version':_0x44d7e6(0x26c)});return;}if(!this[_0x44d7e6(0x1d1)](_0x44c686)){_0x28901f(_0x41b93b,0x190);return;}const _0x480527=_0x44c686[_0x44d7e6(0x1b0)][_0x44d7e6(0x226)];let _0x214525=new Set();if(_0x480527!==void 0x0)try{_0x214525=_0x4006b6[_0x44d7e6(0x1d9)](_0x480527);}catch{_0x17680c(this,_0x44c686,_0x41b93b,0x190,'Invalid\x20Sec-WebSocket-Protocol\x20header');return;}const _0x16cd4e=_0x44c686[_0x44d7e6(0x1b0)]['sec-websocket-extensions'],_0x186662={};if(this[_0x44d7e6(0x27f)]['perMessageDeflate']&&_0x16cd4e!==void 0x0){const _0x5eeb78=new _0xa74369(this[_0x44d7e6(0x27f)][_0x44d7e6(0x287)],!0x0,this[_0x44d7e6(0x27f)][_0x44d7e6(0x2f1)]);try{const _0x53d605=_0x5d4bd8[_0x44d7e6(0x1d9)](_0x16cd4e);_0x53d605[_0xa74369[_0x44d7e6(0x2bc)]]&&(_0x5eeb78[_0x44d7e6(0x33f)](_0x53d605[_0xa74369['extensionName']]),_0x186662[_0xa74369[_0x44d7e6(0x2bc)]]=_0x5eeb78);}catch{_0x17680c(this,_0x44c686,_0x41b93b,0x190,'Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header');return;}}if(this[_0x44d7e6(0x27f)][_0x44d7e6(0x2db)]){const _0x54bcff={'origin':_0x44c686['headers'][''+(_0x26db04===0x8?'sec-websocket-origin':_0x44d7e6(0x223))],'secure':!!(_0x44c686[_0x44d7e6(0x2b2)][_0x44d7e6(0x260)]||_0x44c686['socket']['encrypted']),'req':_0x44c686};if(this[_0x44d7e6(0x27f)]['verifyClient']['length']===0x2){this[_0x44d7e6(0x27f)][_0x44d7e6(0x2db)](_0x54bcff,(_0x54e9cb,_0x121023,_0x3e2fc4,_0x56756b)=>{const _0x379b81=_0x44d7e6;if(!_0x54e9cb)return _0x28901f(_0x41b93b,_0x121023||0x191,_0x3e2fc4,_0x56756b);this[_0x379b81(0x2b1)](_0x186662,_0x523172,_0x214525,_0x44c686,_0x41b93b,_0x22a126,_0x4e7bad);});return;}if(!this[_0x44d7e6(0x27f)][_0x44d7e6(0x2db)](_0x54bcff))return _0x28901f(_0x41b93b,0x191);}this[_0x44d7e6(0x2b1)](_0x186662,_0x523172,_0x214525,_0x44c686,_0x41b93b,_0x22a126,_0x4e7bad);}['completeUpgrade'](_0x4e38ce,_0x4581fb,_0x51dcde,_0xb4e7bd,_0x438521,_0x3bf468,_0x184232){const _0x25e233=_0x586654;if(!_0x438521['readable']||!_0x438521['writable'])return _0x438521[_0x25e233(0x311)]();if(_0x438521[_0x135bec])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this[_0x25e233(0x258)]>_0x174779)return _0x28901f(_0x438521,0x1f7);const _0x5b7142=[_0x25e233(0x1ad),_0x25e233(0x308),_0x25e233(0x1e5),_0x25e233(0x1d7)+_0x4089c1('sha1')[_0x25e233(0x2ce)](_0x4581fb+_0x384b49)['digest'](_0x25e233(0x2da))],_0x46bbce=new this[(_0x25e233(0x27f))]['WebSocket'](null,void 0x0,this[_0x25e233(0x27f)]);if(_0x51dcde[_0x25e233(0x33e)]){const _0x2f1db6=this[_0x25e233(0x27f)]['handleProtocols']?this[_0x25e233(0x27f)][_0x25e233(0x1f9)](_0x51dcde,_0xb4e7bd):_0x51dcde[_0x25e233(0x254)]()[_0x25e233(0x28b)]()[_0x25e233(0x2c4)];_0x2f1db6&&(_0x5b7142[_0x25e233(0x217)](_0x25e233(0x28d)+_0x2f1db6),_0x46bbce[_0x25e233(0x2d7)]=_0x2f1db6);}if(_0x4e38ce[_0xa74369[_0x25e233(0x2bc)]]){const _0x3df17e=_0x4e38ce[_0xa74369[_0x25e233(0x2bc)]][_0x25e233(0x259)],_0x34a15e=_0x5d4bd8[_0x25e233(0x1e7)]({[_0xa74369[_0x25e233(0x2bc)]]:[_0x3df17e]});_0x5b7142[_0x25e233(0x217)](_0x25e233(0x321)+_0x34a15e),_0x46bbce[_0x25e233(0x1a7)]=_0x4e38ce;}this[_0x25e233(0x27b)](_0x25e233(0x1b0),_0x5b7142,_0xb4e7bd),_0x438521[_0x25e233(0x220)](_0x5b7142[_0x25e233(0x2a1)]('\x0d\x0a')['join']('\x0d\x0a')),_0x438521[_0x25e233(0x2f3)]('error',_0x3ad7ee),_0x46bbce[_0x25e233(0x250)](_0x438521,_0x3bf468,{'allowSynchronousEvents':this['options'][_0x25e233(0x1d8)],'maxPayload':this[_0x25e233(0x27f)][_0x25e233(0x2f1)],'skipUTF8Validation':this[_0x25e233(0x27f)]['skipUTF8Validation']}),this[_0x25e233(0x318)]&&(this[_0x25e233(0x318)][_0x25e233(0x20a)](_0x46bbce),_0x46bbce['on']('close',()=>{const _0x4169c7=_0x25e233;this['clients'][_0x4169c7(0x1bb)](_0x46bbce),this[_0x4169c7(0x2f6)]&&!this[_0x4169c7(0x318)][_0x4169c7(0x33e)]&&process[_0x4169c7(0x20d)](_0x1eea22,this);})),_0x184232(_0x46bbce,_0xb4e7bd);}}Te=_0x46b6db;function _0x3eb266(_0x3cf9d5,_0x4da127){const _0x4554d0=_0x586654;for(const _0x4ac80f of Object[_0x4554d0(0x289)](_0x4da127))_0x3cf9d5['on'](_0x4ac80f,_0x4da127[_0x4ac80f]);return function(){const _0x213507=_0x4554d0;for(const _0x371b9f of Object[_0x213507(0x289)](_0x4da127))_0x3cf9d5['removeListener'](_0x371b9f,_0x4da127[_0x371b9f]);};}function _0x1eea22(_0x535114){const _0x52d234=_0x586654;_0x535114[_0x52d234(0x258)]=_0x2cf7e1,_0x535114[_0x52d234(0x27b)](_0x52d234(0x257));}function _0x3ad7ee(){this['destroy']();}function _0x28901f(_0x4de6f4,_0x14c89b,_0x3e88ec,_0x50607b){const _0x3be110=_0x586654;_0x3e88ec=_0x3e88ec||_0x3063f0[_0x3be110(0x2c5)][_0x14c89b],_0x50607b={'Connection':_0x3be110(0x257),'Content-Type':'text/html','Content-Length':Buffer['byteLength'](_0x3e88ec),..._0x50607b},_0x4de6f4['once'](_0x3be110(0x2fb),_0x4de6f4[_0x3be110(0x311)]),_0x4de6f4['end'](_0x3be110(0x279)+_0x14c89b+'\x20'+_0x3063f0[_0x3be110(0x2c5)][_0x14c89b]+'\x0d\x0a'+Object['keys'](_0x50607b)['map'](_0x49b1f6=>_0x49b1f6+':\x20'+_0x50607b[_0x49b1f6])['join']('\x0d\x0a')+_0x3be110(0x1ab)+_0x3e88ec);}function _0x17680c(_0x127fc6,_0x54165b,_0x35d7c1,_0x5abcca,_0x5d34c7,_0x239503){const _0x56b58c=_0x586654;if(_0x127fc6[_0x56b58c(0x323)](_0x56b58c(0x25a))){const _0x4a8266=new Error(_0x5d34c7);Error[_0x56b58c(0x2e4)](_0x4a8266,_0x17680c),_0x127fc6[_0x56b58c(0x27b)](_0x56b58c(0x25a),_0x4a8266,_0x35d7c1,_0x54165b);}else _0x28901f(_0x35d7c1,_0x5abcca,_0x5d34c7,_0x239503);}return Te;}er();var tr=Object[_0x354711(0x2aa)],rr=(_0x538860,_0x491cb6,_0xe231dc,_0x373de9)=>{const _0x1bc99e=_0x354711;for(var _0x1da765=_0x373de9>0x1?void 0x0:_0x373de9?tr(_0x491cb6,_0xe231dc):_0x491cb6,_0x1639e3=_0x538860[_0x1bc99e(0x2f0)]-0x1,_0x5711fb;_0x1639e3>=0x0;_0x1639e3--)(_0x5711fb=_0x538860[_0x1639e3])&&(_0x1da765=_0x5711fb(_0x1da765)||_0x1da765);return _0x1da765;},sr=(_0x2ea314,_0x438fb4)=>(_0x162f52,_0x2d945b)=>_0x438fb4(_0x162f52,_0x2d945b,_0x2ea314);let Ne=class extends _0x5b22e9{constructor(_0x3c28b5){super(),this['_configService']=_0x3c28b5;}[_0x354711(0x21d)](_0x124236){const _0x3f9109=_0x354711;var _0x1efbdd;const _0x1a717b=(_0x1efbdd=this[_0x3f9109(0x28a)][_0x3f9109(0x21f)](Be))==null?void 0x0:_0x1efbdd[_0x3f9109(0x2e6)];try{const _0x17d542=new Qt(_0x124236,{'headers':{..._0x1a717b}}),_0x54fe00=new _0x180089();return{'URL':_0x124236,'close':(_0x24814c,_0x3271af)=>{const _0x3d41cc=_0x3f9109;_0x17d542[_0x3d41cc(0x257)](_0x24814c,_0x3271af),_0x54fe00[_0x3d41cc(0x23f)]();},'send':_0x7a5c8d=>{const _0x16e482=_0x3f9109;_0x17d542[_0x16e482(0x284)](_0x7a5c8d);},'open$':new _0x285b15(_0x5d7cc8=>{const _0x5731b9=_0x3f9109,_0x6805ef=_0x5e669e=>_0x5d7cc8[_0x5731b9(0x28b)](_0x5e669e);_0x17d542[_0x5731b9(0x2ff)]('open',_0x6805ef),_0x54fe00[_0x5731b9(0x20a)](_0x35541a(()=>_0x17d542['removeEventListener'](_0x5731b9(0x1c1),_0x6805ef)));})[_0x3f9109(0x2cd)](_0x2ef6e4()),'close$':new _0x285b15(_0x1b4459=>{const _0x5acb02=_0x3f9109,_0x2bccf2=_0x14e2a7=>_0x1b4459[_0x5acb02(0x28b)](_0x14e2a7);_0x17d542[_0x5acb02(0x2ff)]('close',_0x2bccf2),_0x54fe00[_0x5acb02(0x20a)](_0x35541a(()=>_0x17d542['removeEventListener'](_0x5acb02(0x257),_0x2bccf2)));})[_0x3f9109(0x2cd)](_0x2ef6e4()),'error$':new _0x285b15(_0x2725db=>{const _0x1a8d4c=_0x3f9109,_0x5a54a5=_0x56a6a7=>_0x2725db[_0x1a8d4c(0x28b)](_0x56a6a7);_0x17d542[_0x1a8d4c(0x2ff)](_0x1a8d4c(0x1cf),_0x5a54a5),_0x54fe00['add'](_0x35541a(()=>_0x17d542[_0x1a8d4c(0x266)](_0x1a8d4c(0x1cf),_0x5a54a5)));})[_0x3f9109(0x2cd)](_0x2ef6e4()),'message$':new _0x285b15(_0x3df1e1=>{const _0x117c73=_0x3f9109,_0x4bfde2=_0x348e7c=>_0x3df1e1[_0x117c73(0x28b)](_0x348e7c);_0x17d542['addEventListener'](_0x117c73(0x2fc),_0x4bfde2),_0x54fe00[_0x117c73(0x20a)](_0x35541a(()=>_0x17d542[_0x117c73(0x266)]('message',_0x4bfde2)));})['pipe'](_0x2ef6e4())};}catch(_0x5b1e2c){return console[_0x3f9109(0x1cf)](_0x5b1e2c),null;}}};Ne=rr([sr(0x0,_0xfe82ca)],Ne);var ir=Object[_0x354711(0x1e0)],nr=Object['getOwnPropertyDescriptor'],or=(_0x43da83,_0x51ffdd,_0x2267a1)=>_0x51ffdd in _0x43da83?ir(_0x43da83,_0x51ffdd,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2267a1}):_0x43da83[_0x51ffdd]=_0x2267a1,ar=(_0x9100f1,_0x26e681,_0x219d68,_0x565e98)=>{for(var _0x48cd87=_0x565e98>0x1?void 0x0:_0x565e98?nr(_0x26e681,_0x219d68):_0x26e681,_0x24b326=_0x9100f1['length']-0x1,_0x54583b;_0x24b326>=0x0;_0x24b326--)(_0x54583b=_0x9100f1[_0x24b326])&&(_0x48cd87=_0x54583b(_0x48cd87)||_0x48cd87);return _0x48cd87;},ke=(_0x1f2280,_0x3149c2)=>(_0xbfd1e5,_0x19cde8)=>_0x3149c2(_0xbfd1e5,_0x19cde8,_0x1f2280),lr=(_0x43bf44,_0x1ae6e0,_0x5abff4)=>or(_0x43bf44,_0x1ae6e0+'',_0x5abff4);let Pe=class extends _0x41de3f{constructor(_0x9b4a6=Ft,_0x1c46e3,_0x5d3d16,_0x540b78){const _0x5ca7c2=_0x354711;_0x9b4a6['customHeaders']||_0x1c46e3[_0x5ca7c2(0x20f)]('[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.'),super(),this['_configService']=_0x5d3d16,this[_0x5ca7c2(0x219)]=_0x540b78,this[_0x5ca7c2(0x28a)][_0x5ca7c2(0x27a)](Be,_0x9b4a6);}['onStarting'](){const _0x33a318=_0x354711;this[_0x33a318(0x2ac)]();}[_0x354711(0x2ac)](){_0x116285(this['_injector'],[[_0x503ed7,{'useClass':Ne}]]);}};lr(Pe,_0x354711(0x247),_0x354711(0x2b4)),Pe=ar([_0x32f0b5(_0x11f551),ke(0x1,_0x334909),ke(0x2,_0xfe82ca),ke(0x3,_0x2ce7ba(_0x72b2eb))],Pe);var fr=Object[_0x354711(0x2aa)],cr=(_0x31e8c4,_0x190384,_0x5d4125,_0x4dce57)=>{const _0x299097=_0x354711;for(var _0x39aaf6=_0x4dce57>0x1?void 0x0:_0x4dce57?fr(_0x190384,_0x5d4125):_0x190384,_0x1b27a9=_0x31e8c4[_0x299097(0x2f0)]-0x1,_0x4dc4a6;_0x1b27a9>=0x0;_0x1b27a9--)(_0x4dc4a6=_0x31e8c4[_0x1b27a9])&&(_0x39aaf6=_0x4dc4a6(_0x39aaf6)||_0x39aaf6);return _0x39aaf6;},se=(_0x515b66,_0x11cf3d)=>(_0x4a0084,_0x3077fc)=>_0x11cf3d(_0x4a0084,_0x3077fc,_0x515b66);let at=class extends _0x1152c3{constructor(_0x1850d5,_0x1e6252,_0x15b0b0,_0x590392,_0x55c32a){const _0x4b564a=_0x354711;super(_0x1850d5,_0x1e6252,_0x15b0b0,_0x590392,_0x55c32a);const _0x5d9e64=this[_0x4b564a(0x28a)][_0x4b564a(0x21f)](Be);this['_httpService']['registerHTTPInterceptor']({'interceptor':(_0x3fde31,_0x41465c)=>{const _0x39ea24=_0x4b564a;var _0x288799;const _0x95ecb6=_0x3fde31[_0x39ea24(0x1b0)];return(_0x288799=_0x5d9e64==null?void 0x0:_0x5d9e64[_0x39ea24(0x2e6)])!=null&&_0x288799['cookie']&&_0x95ecb6['set'](_0x39ea24(0x22c),_0x5d9e64[_0x39ea24(0x2e6)][_0x39ea24(0x2cb)]),_0x41465c(_0x3fde31);}});}async['createSocket'](_0x69d7b6){const _0x5d4747=_0x354711;return this[_0x5d4747(0x1ce)](_0x69d7b6);}};at=cr([se(0x0,_0x2ce7ba(_0x72b2eb)),se(0x1,_0x2ce7ba(_0x595241)),se(0x2,_0xfe82ca),se(0x3,_0x334909),se(0x4,_0x2fa27a)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
1
+ const _0x4573dd=_0x5cf4;(function(_0x5d3cd7,_0x1120dc){const _0x2b2a32=_0x5cf4,_0x31109a=_0x5d3cd7();while(!![]){try{const _0x436dee=parseInt(_0x2b2a32(0x1d7))/0x1+parseInt(_0x2b2a32(0x20f))/0x2+-parseInt(_0x2b2a32(0x34f))/0x3+parseInt(_0x2b2a32(0x1ff))/0x4*(-parseInt(_0x2b2a32(0x2d0))/0x5)+parseInt(_0x2b2a32(0x1f3))/0x6*(-parseInt(_0x2b2a32(0x258))/0x7)+-parseInt(_0x2b2a32(0x2fe))/0x8*(-parseInt(_0x2b2a32(0x1fc))/0x9)+-parseInt(_0x2b2a32(0x20d))/0xa*(-parseInt(_0x2b2a32(0x2f1))/0xb);if(_0x436dee===_0x1120dc)break;else _0x31109a['push'](_0x31109a['shift']());}catch(_0x109582){_0x31109a['push'](_0x31109a['shift']());}}}(_0x58db,0x22384));import{UniverCollaborationClientPlugin as _0xd2836d,CollaborationSocketService as _0x54368a}from'@univerjs-pro/collaboration-client';import{Disposable as _0x45a1d6,DisposableCollection as _0x1a0095,toDisposable as _0xe543bd,IConfigService as _0x3d50f1,DependentOn as _0x6d079,ILogService as _0x40ea35,Inject as _0x399293,Injector as _0x590e27,Plugin as _0x245424,registerDependencies as _0x2cc219}from'@univerjs/core';import{ISocketService as _0x358938,HTTPService as _0x16d200}from'@univerjs/network';import{Observable as _0x363113,share as _0x96221d}from'rxjs';import _0xc8b08e from'events';import _0x5e382d from'https';import _0x49d0a7 from'http';import _0x1d2aae from'net';import _0x606e98 from'tls';import _0x1469aa from'crypto';import _0x3f0855 from'stream';import _0x50e69b from'url';import _0x3a3315 from'zlib';import _0x3cef7a from'buffer';function _0x58db(){const _0x317abf=['kWasClean','concat','headers','sha1','callback','_opcode','close','onerror','WS_NO_UTF_8_VALIDATE','WS_ERR_UNEXPECTED_RSV_1','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','open','Unexpected\x20character\x20at\x20index\x20','WS_NO_BUFFER_UTIL','onopen','hostname','abort','isInteger','upgrade','connect','registerHTTPInterceptor','get','sec-websocket-accept','prototype','189678xmMOIk','_extensions','extensions','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','total-length','digest','createError','search','value','writeUIntBE','cleanup','defaultPort','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','CLOSED','Invalid\x20Upgrade\x20header','pending','destroyed','startsWith','clientNoContextTakeover','_registerDependencies','removeEventListener','startLoop','isPaused','exports','handleProtocols','_socket','wasClean','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','6slpAxz','_max_window_bits','serverNoContextTakeover','readyState','accept','end','The\x20URL\x20contains\x20a\x20fragment\x20identifier','socketPath','_sender','526275mXzzgx','finished','removeListener','20TlADZL','Connection:\x20Upgrade','needDrain','OPEN','Unexpected\x20end\x20of\x20input','errorEmitted','servername','server','setConfig','Server\x20sent\x20no\x20subprotocol','binaryType','cookie','_queue','Sec-WebSocket-Accept:\x20','349420XZtTKJ','destroy','103144ecsWyt','createServer','setTimeout','statusCode','getData','nodebuffer','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','_binaryType','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','_mask','socket','jobs','getPayloadLength64','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','_originalIpc','listeners','_final','Invalid\x20Sec-WebSocket-Extensions\x20header','length','_writableState','HTTP/1.1\x20101\x20Switching\x20Protocols','byteOffset','href','read','customHeaders','removeAllListeners','_fragments','_shouldEmitClose','_server','text/html','listenerCount','sec-websocket-protocol','maxPayload','_errorEmitted','STATUS_CODES','reset','HTTP/1.1\x20','getBlobData','arrayBuffer','13,\x208','controlMessage','error','maskBuffer','write','_url','bind','normalizeParams','perMessageDeflate','sec-websocket-version','target','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','handshakeTimeout','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','isIP','update','maxRedirects','default','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','apply','env','_closeFrameReceived','alloc','Upgrade','_paused','Max\x20payload\x20size\x20exceeded','_maxPayload','WebSocket','blob','kByteLength','_allowSynchronousEvents','serverMaxWindowBits','timeout','message','1439242lubzFO','toLowerCase','clientMaxWindowBits','Z_DEFAULT_WINDOWBITS','server_max_window_bits','getOwnPropertyDescriptor','_bufferedAmount','zlibDeflateOptions','freeze','_receiver','WS_ERR_EXPECTED_MASK','drain','method','_autoPong','kRun','createInflateRaw','resume','kTarget','clients','keys','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','Sec-WebSocket-Protocol:\x20','CONNECTING','handleUpgrade','dispose','setSocket','connection','emitClose','hasOwnProperty','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','GET','push','Unknown\x20parameter\x20\x22','_payloadLength','toStringTag','_skipUTF8Validation','nextTick','readUInt16BE','allocUnsafe','dataMessage','Unsupported\x20protocol\x20version:\x20','Invalid\x20HTTP\x20method','unmask','replace','_decompress','_errored','Sec-WebSocket-Protocol','reason','readable','ws:','client_no_context_takeover','_closeFrameSent','forEach','WS_ERR_INVALID_CLOSE_CODE','kIsForOnEventAttribute','Sec-WebSocket-Extensions:\x20','_redirects','_firstFragment','noServer','extensionName','test','_maskBuffer','status-code','arraybuffer','_masked','redirect','_compressed','The\x20\x22','handleEvent','isView','string','allowSynchronousEvents','sendFrame','offer','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','autoPong','_deflate','listen','WS_ERR_INVALID_UTF8','finish','byteLength','client_max_window_bits','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','threshold','_fragmented','server_no_context_takeover','getPayloadLength16','_totalPayloadLength','_fin','authorization','unexpected-response','_protocol','code','endEmitted','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','_generateMask','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','_readyState','Origin','Invalid\x20Sec-WebSocket-Protocol\x20header','flush','RSV1\x20must\x20be\x20clear','kDone','once','_destroy','skipUTF8Validation','generateMask','wss:','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','createSocket','setNoDelay','buffers','slice','_threshold','then','opcode','defineProperty','zlibInflateOptions','objectMode','ws+unix:','64085IQSTCL','concurrency','_bufferedBytes','collaboration-client-node.config','create','dispatch','pipe','websocket','ping','getMask','\x22\x20subprotocol\x20is\x20duplicated','_compress','isArray','port','_read','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','add','permessage-deflate','charCodeAt','params','_isServer','_injector','WS_ERR_EXPECTED_FIN','size','_readableState','conclude','number','_originalSecure','request','_removeListeners','_closeCode','client','emit','88aDsrbc','compress','pause','send','type','enqueue','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','sec-websocket-extensions','constructor','hash','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','uncork','next','8aTcBdZ','shift','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','Invalid\x20value\x20for\x20parameter\x20\x22','decompress','toString','Module','_buffers','entries','_configService','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','authorized','fin','_req','split','The\x20URL\x27s\x20pathname\x20is\x20empty','encrypted','writeUInt16BE','includes','path','Z_SYNC_FLUSH','has','_write','acceptAsClient','protocolVersion','indexOf','Sec-WebSocket-Extensions','invalid\x20UTF-8\x20sequence','_closeMessage','protocol','isValidUTF8','onclose','Invalid\x20URL:\x20','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','__esModule','username','pathname','password','species','captureStackTrace','address','mask','addEventListener','kError','response','isServer','completeUpgrade','construct','invalid\x20status\x20code\x20','from','_options','File','url','CLOSING','warn','consume','_state','host','kCode','\x22:\x20','verifyClient','kListener','_originalHostOrSocketPath','Parameter\x20\x22','map','auth','followRedirects','shouldHandle','_messageLength','Unexpected\x20server\x20response:\x20','wsClientError','pong','_no_context_takeover','\x20(supported\x20versions:\x20','invalid\x20opcode\x20','rsv1','getInfo','haveLength','frame','concurrencyLimit','508218NpdwaT','pow','function','Maximum\x20redirects\x20exceeded','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','Invalid\x20WebSocket\x20frame:\x20','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','setHeader','Invalid\x20Sec-WebSocket-Accept\x20header','base64','buffer','origin','acceptAsServer','data','location','_closeTimer','options','kReason','stream','_doCreateSocket','parse','_loop','readOnly','set','WS_ERR_INVALID_OPCODE','_inflate','https:','dequeue','Cookie','getConfig','bufferedAmount','call','clientTracking','sec-websocket-origin','Sec-WebSocket-Origin','join','object'];_0x58db=function(){return _0x317abf;};return _0x58db();}import{ISnapshotServerService as _0x7885ea}from'@univerjs-pro/collaboration';const Be=_0x4573dd(0x2d3),Ft={'customHeaders':{}};function Wt(_0x1ae270){const _0x2a1989=_0x4573dd;return _0x1ae270&&_0x1ae270[_0x2a1989(0x321)]&&Object[_0x2a1989(0x1d6)][_0x2a1989(0x274)][_0x2a1989(0x1b9)](_0x1ae270,_0x2a1989(0x247))?_0x1ae270[_0x2a1989(0x247)]:_0x1ae270;}function ut(_0x28aafa){const _0xc68da8=_0x4573dd;if(Object[_0xc68da8(0x1d6)][_0xc68da8(0x274)][_0xc68da8(0x1b9)](_0x28aafa,_0xc68da8(0x321)))return _0x28aafa;var _0x1a3977=_0x28aafa[_0xc68da8(0x247)];if(typeof _0x1a3977==_0xc68da8(0x351)){var _0x2efbb3=function _0x24f859(){const _0x5b4a3a=_0xc68da8;var _0x291399=!0x1;try{_0x291399=this instanceof _0x24f859;}catch{}return _0x291399?Reflect[_0x5b4a3a(0x32e)](_0x1a3977,arguments,this[_0x5b4a3a(0x2f9)]):_0x1a3977[_0x5b4a3a(0x249)](this,arguments);};_0x2efbb3[_0xc68da8(0x1d6)]=_0x1a3977['prototype'];}else _0x2efbb3={};return Object[_0xc68da8(0x2cc)](_0x2efbb3,_0xc68da8(0x321),{'value':!0x0}),Object[_0xc68da8(0x26b)](_0x28aafa)[_0xc68da8(0x28c)](function(_0x1dbd6c){const _0x59491d=_0xc68da8;var _0x32d928=Object[_0x59491d(0x25d)](_0x28aafa,_0x1dbd6c);Object[_0x59491d(0x2cc)](_0x2efbb3,_0x1dbd6c,_0x32d928[_0x59491d(0x1d4)]?_0x32d928:{'enumerable':!0x0,'get':function(){return _0x28aafa[_0x1dbd6c];}});}),_0x2efbb3;}var te={'exports':{}},ge,Ye;function V(){const _0x251a40=_0x4573dd;if(Ye)return ge;Ye=0x1;const _0x5989c7=[_0x251a40(0x214),_0x251a40(0x297),'fragments'],_0x9f9b7d=typeof Blob<'u';return _0x9f9b7d&&_0x5989c7[_0x251a40(0x277)](_0x251a40(0x252)),ge={'BINARY_TYPES':_0x5989c7,'EMPTY_BUFFER':Buffer[_0x251a40(0x24c)](0x0),'GUID':'258EAFA5-E914-47DA-95CA-C5AB0DC85B11','hasBlob':_0x9f9b7d,'kForOnEventAttribute':Symbol(_0x251a40(0x28e)),'kListener':Symbol(_0x251a40(0x33c)),'kStatusCode':Symbol(_0x251a40(0x296)),'kWebSocket':Symbol('websocket'),'NOOP':()=>{}},ge;}const jt={},Gt=Object[_0x4573dd(0x260)](Object[_0x4573dd(0x2cc)]({'__proto__':null,'default':jt},Symbol['toStringTag'],{'value':'Module'})),Vt=ut(Gt);var Ke;function ce(){const _0x227ab2=_0x4573dd;if(Ke)return te[_0x227ab2(0x1ee)];Ke=0x1;const {EMPTY_BUFFER:_0xe9960d}=V(),_0x3d8f4c=Buffer[Symbol[_0x227ab2(0x325)]];function _0x30a1c2(_0x532487,_0x4dd7b1){const _0x2e3e1f=_0x227ab2;if(_0x532487[_0x2e3e1f(0x221)]===0x0)return _0xe9960d;if(_0x532487[_0x2e3e1f(0x221)]===0x1)return _0x532487[0x0];const _0x5e6eef=Buffer['allocUnsafe'](_0x4dd7b1);let _0x5221f8=0x0;for(let _0x211d34=0x0;_0x211d34<_0x532487[_0x2e3e1f(0x221)];_0x211d34++){const _0x1cba95=_0x532487[_0x211d34];_0x5e6eef['set'](_0x1cba95,_0x5221f8),_0x5221f8+=_0x1cba95['length'];}return _0x5221f8<_0x4dd7b1?new _0x3d8f4c(_0x5e6eef[_0x2e3e1f(0x359)],_0x5e6eef[_0x2e3e1f(0x224)],_0x5221f8):_0x5e6eef;}function _0x5de331(_0x2e62f9,_0x27b14f,_0x58db8d,_0x46cc1c,_0x5e6f88){for(let _0x245cf0=0x0;_0x245cf0<_0x5e6f88;_0x245cf0++)_0x58db8d[_0x46cc1c+_0x245cf0]=_0x2e62f9[_0x245cf0]^_0x27b14f[_0x245cf0&0x3];}function _0xd1b354(_0x24da67,_0x51bff8){const _0x53b5fb=_0x227ab2;for(let _0x572b39=0x0;_0x572b39<_0x24da67[_0x53b5fb(0x221)];_0x572b39++)_0x24da67[_0x572b39]^=_0x51bff8[_0x572b39&0x3];}function _0x12ecaf(_0x22cb3b){const _0x26d273=_0x227ab2;return _0x22cb3b[_0x26d273(0x221)]===_0x22cb3b['buffer'][_0x26d273(0x2a8)]?_0x22cb3b[_0x26d273(0x359)]:_0x22cb3b['buffer'][_0x26d273(0x2c8)](_0x22cb3b['byteOffset'],_0x22cb3b[_0x26d273(0x224)]+_0x22cb3b[_0x26d273(0x221)]);}function _0x574cb6(_0x498f29){const _0x410a27=_0x227ab2;if(_0x574cb6['readOnly']=!0x0,Buffer['isBuffer'](_0x498f29))return _0x498f29;let _0x4e7238;return _0x498f29 instanceof ArrayBuffer?_0x4e7238=new _0x3d8f4c(_0x498f29):ArrayBuffer[_0x410a27(0x29d)](_0x498f29)?_0x4e7238=new _0x3d8f4c(_0x498f29['buffer'],_0x498f29[_0x410a27(0x224)],_0x498f29[_0x410a27(0x2a8)]):(_0x4e7238=Buffer[_0x410a27(0x330)](_0x498f29),_0x574cb6['readOnly']=!0x1),_0x4e7238;}if(te[_0x227ab2(0x1ee)]={'concat':_0x30a1c2,'mask':_0x5de331,'toArrayBuffer':_0x12ecaf,'toBuffer':_0x574cb6,'unmask':_0xd1b354},!process[_0x227ab2(0x24a)][_0x227ab2(0x1cc)])try{const _0x13d789=Vt;te[_0x227ab2(0x1ee)]['mask']=function(_0x4cf062,_0x420e01,_0xddfb55,_0x4d7241,_0x1e9315){_0x1e9315<0x30?_0x5de331(_0x4cf062,_0x420e01,_0xddfb55,_0x4d7241,_0x1e9315):_0x13d789['mask'](_0x4cf062,_0x420e01,_0xddfb55,_0x4d7241,_0x1e9315);},te[_0x227ab2(0x1ee)][_0x227ab2(0x282)]=function(_0x3ab25f,_0x5f3b57){const _0x21a4fe=_0x227ab2;_0x3ab25f[_0x21a4fe(0x221)]<0x20?_0xd1b354(_0x3ab25f,_0x5f3b57):_0x13d789[_0x21a4fe(0x282)](_0x3ab25f,_0x5f3b57);};}catch{}return te[_0x227ab2(0x1ee)];}var ye,Xe;function qt(){const _0x5bc276=_0x4573dd;if(Xe)return ye;Xe=0x1;const _0x250326=Symbol(_0x5bc276(0x2be)),_0x29839e=Symbol(_0x5bc276(0x266));class _0x5c55e9{constructor(_0x1b8d80){const _0x271175=_0x5bc276;this[_0x250326]=()=>{this['pending']--,this[_0x29839e]();},this[_0x271175(0x2d1)]=_0x1b8d80||0x1/0x0,this[_0x271175(0x21a)]=[],this[_0x271175(0x1e6)]=0x0;}[_0x5bc276(0x2e0)](_0x33e6aa){const _0x3b7858=_0x5bc276;this[_0x3b7858(0x21a)][_0x3b7858(0x277)](_0x33e6aa),this[_0x29839e]();}[_0x29839e](){const _0x442b40=_0x5bc276;if(this['pending']!==this[_0x442b40(0x2d1)]&&this['jobs'][_0x442b40(0x221)]){const _0x28154c=this[_0x442b40(0x21a)][_0x442b40(0x2ff)]();this['pending']++,_0x28154c(this[_0x250326]);}}}return ye=_0x5c55e9,ye;}var ve,Ze;function he(){const _0x395497=_0x4573dd;if(Ze)return ve;Ze=0x1;const _0x34bbb1=_0x3a3315,_0x5d9e90=ce(),_0x488f4f=qt(),{kStatusCode:_0x439580}=V(),_0x42d847=Buffer[Symbol[_0x395497(0x325)]],_0x3cd154=Buffer['from']([0x0,0x0,0xff,0xff]),_0x447c1b=Symbol(_0x395497(0x2e1)),_0x521158=Symbol(_0x395497(0x1db)),_0x5e7f54=Symbol(_0x395497(0x1c3)),_0x15b0ff=Symbol(_0x395497(0x2c7)),_0x590615=Symbol(_0x395497(0x238));let _0x2e7a94;class _0x401ccf{constructor(_0x38f97f,_0x1fe232,_0x315ace){const _0x175eaa=_0x395497;if(this[_0x175eaa(0x250)]=_0x315ace|0x0,this[_0x175eaa(0x331)]=_0x38f97f||{},this[_0x175eaa(0x2c9)]=this[_0x175eaa(0x331)][_0x175eaa(0x2ab)]!==void 0x0?this[_0x175eaa(0x331)][_0x175eaa(0x2ab)]:0x400,this[_0x175eaa(0x2e4)]=!!_0x1fe232,this[_0x175eaa(0x2a4)]=null,this[_0x175eaa(0x1b3)]=null,this[_0x175eaa(0x2e3)]=null,!_0x2e7a94){const _0x2114d4=this['_options']['concurrencyLimit']!==void 0x0?this['_options'][_0x175eaa(0x34e)]:0xa;_0x2e7a94=new _0x488f4f(_0x2114d4);}}static get[_0x395497(0x293)](){const _0x137dc9=_0x395497;return _0x137dc9(0x2e1);}[_0x395497(0x2a1)](){const _0x175f15=_0x395497,_0x2096b7={};return this['_options']['serverNoContextTakeover']&&(_0x2096b7[_0x175f15(0x2ad)]=!0x0),this[_0x175f15(0x331)]['clientNoContextTakeover']&&(_0x2096b7[_0x175f15(0x28a)]=!0x0),this[_0x175f15(0x331)]['serverMaxWindowBits']&&(_0x2096b7[_0x175f15(0x25c)]=this[_0x175f15(0x331)][_0x175f15(0x255)]),this[_0x175f15(0x331)][_0x175f15(0x25a)]?_0x2096b7[_0x175f15(0x2a9)]=this[_0x175f15(0x331)][_0x175f15(0x25a)]:this[_0x175f15(0x331)][_0x175f15(0x25a)]==null&&(_0x2096b7[_0x175f15(0x2a9)]=!0x0),_0x2096b7;}[_0x395497(0x1f7)](_0x5466ec){const _0x298767=_0x395497;return _0x5466ec=this[_0x298767(0x23d)](_0x5466ec),this[_0x298767(0x2e3)]=this[_0x298767(0x2e4)]?this[_0x298767(0x35b)](_0x5466ec):this[_0x298767(0x316)](_0x5466ec),this[_0x298767(0x2e3)];}[_0x395497(0x1e1)](){const _0x3d1a52=_0x395497;if(this['_inflate']&&(this[_0x3d1a52(0x1b3)]['close'](),this[_0x3d1a52(0x1b3)]=null),this[_0x3d1a52(0x2a4)]){const _0x69d23=this[_0x3d1a52(0x2a4)][_0x5e7f54];this['_deflate'][_0x3d1a52(0x1c5)](),this['_deflate']=null,_0x69d23&&_0x69d23(new Error(_0x3d1a52(0x301)));}}[_0x395497(0x35b)](_0x151d81){const _0x2b2dcf=_0x395497,_0x51a318=this[_0x2b2dcf(0x331)],_0x493d0a=_0x151d81['find'](_0x3e22fd=>!(_0x51a318['serverNoContextTakeover']===!0x1&&_0x3e22fd[_0x2b2dcf(0x2ad)]||_0x3e22fd[_0x2b2dcf(0x25c)]&&(_0x51a318[_0x2b2dcf(0x255)]===!0x1||typeof _0x51a318['serverMaxWindowBits']=='number'&&_0x51a318[_0x2b2dcf(0x255)]>_0x3e22fd[_0x2b2dcf(0x25c)])||typeof _0x51a318[_0x2b2dcf(0x25a)]==_0x2b2dcf(0x2ea)&&!_0x3e22fd['client_max_window_bits']));if(!_0x493d0a)throw new Error(_0x2b2dcf(0x1e3));return _0x51a318[_0x2b2dcf(0x1f5)]&&(_0x493d0a['server_no_context_takeover']=!0x0),_0x51a318[_0x2b2dcf(0x1e9)]&&(_0x493d0a[_0x2b2dcf(0x28a)]=!0x0),typeof _0x51a318[_0x2b2dcf(0x255)]==_0x2b2dcf(0x2ea)&&(_0x493d0a[_0x2b2dcf(0x25c)]=_0x51a318[_0x2b2dcf(0x255)]),typeof _0x51a318[_0x2b2dcf(0x25a)]=='number'?_0x493d0a[_0x2b2dcf(0x2a9)]=_0x51a318['clientMaxWindowBits']:(_0x493d0a['client_max_window_bits']===!0x0||_0x51a318['clientMaxWindowBits']===!0x1)&&delete _0x493d0a[_0x2b2dcf(0x2a9)],_0x493d0a;}['acceptAsClient'](_0x4b8e58){const _0x1313fe=_0x395497,_0x3b0204=_0x4b8e58[0x0];if(this[_0x1313fe(0x331)]['clientNoContextTakeover']===!0x1&&_0x3b0204[_0x1313fe(0x28a)])throw new Error(_0x1313fe(0x309));if(!_0x3b0204['client_max_window_bits'])typeof this['_options']['clientMaxWindowBits']==_0x1313fe(0x2ea)&&(_0x3b0204['client_max_window_bits']=this['_options']['clientMaxWindowBits']);else{if(this[_0x1313fe(0x331)][_0x1313fe(0x25a)]===!0x1||typeof this[_0x1313fe(0x331)][_0x1313fe(0x25a)]==_0x1313fe(0x2ea)&&_0x3b0204[_0x1313fe(0x2a9)]>this['_options'][_0x1313fe(0x25a)])throw new Error(_0x1313fe(0x2f7));}return _0x3b0204;}[_0x395497(0x23d)](_0x44b716){const _0x60cb98=_0x395497;return _0x44b716[_0x60cb98(0x28c)](_0x43b4d6=>{const _0x5ab052=_0x60cb98;Object[_0x5ab052(0x26b)](_0x43b4d6)[_0x5ab052(0x28c)](_0x395795=>{const _0x1974f8=_0x5ab052;let _0x5ab95d=_0x43b4d6[_0x395795];if(_0x5ab95d[_0x1974f8(0x221)]>0x1)throw new Error(_0x1974f8(0x33e)+_0x395795+'\x22\x20must\x20have\x20only\x20a\x20single\x20value');if(_0x5ab95d=_0x5ab95d[0x0],_0x395795===_0x1974f8(0x2a9)){if(_0x5ab95d!==!0x0){const _0x2e855c=+_0x5ab95d;if(!Number['isInteger'](_0x2e855c)||_0x2e855c<0x8||_0x2e855c>0xf)throw new TypeError(_0x1974f8(0x302)+_0x395795+_0x1974f8(0x33a)+_0x5ab95d);_0x5ab95d=_0x2e855c;}else{if(!this[_0x1974f8(0x2e4)])throw new TypeError(_0x1974f8(0x302)+_0x395795+_0x1974f8(0x33a)+_0x5ab95d);}}else{if(_0x395795===_0x1974f8(0x25c)){const _0x3b6e60=+_0x5ab95d;if(!Number[_0x1974f8(0x1d0)](_0x3b6e60)||_0x3b6e60<0x8||_0x3b6e60>0xf)throw new TypeError(_0x1974f8(0x302)+_0x395795+_0x1974f8(0x33a)+_0x5ab95d);_0x5ab95d=_0x3b6e60;}else{if(_0x395795==='client_no_context_takeover'||_0x395795===_0x1974f8(0x2ad)){if(_0x5ab95d!==!0x0)throw new TypeError(_0x1974f8(0x302)+_0x395795+_0x1974f8(0x33a)+_0x5ab95d);}else throw new Error(_0x1974f8(0x278)+_0x395795+'\x22');}}_0x43b4d6[_0x395795]=_0x5ab95d;});}),_0x44b716;}[_0x395497(0x303)](_0x88b66f,_0xd0f2f6,_0x586c1a){const _0x36e4ff=_0x395497;_0x2e7a94[_0x36e4ff(0x2e0)](_0x1acffe=>{const _0x5b05fa=_0x36e4ff;this[_0x5b05fa(0x284)](_0x88b66f,_0xd0f2f6,(_0x410c9b,_0x456157)=>{_0x1acffe(),_0x586c1a(_0x410c9b,_0x456157);});});}[_0x395497(0x2f2)](_0x4587e1,_0x16df31,_0x2b22ee){_0x2e7a94['add'](_0xd316e8=>{const _0x474f36=_0x5cf4;this[_0x474f36(0x2db)](_0x4587e1,_0x16df31,(_0x172c51,_0x27a4fc)=>{_0xd316e8(),_0x2b22ee(_0x172c51,_0x27a4fc);});});}[_0x395497(0x284)](_0x15cab0,_0x511507,_0x40e7f5){const _0x105c16=_0x395497,_0x2b8619=this[_0x105c16(0x2e4)]?_0x105c16(0x2ef):'server';if(!this[_0x105c16(0x1b3)]){const _0x45c605=_0x2b8619+_0x105c16(0x1f4),_0x326c67=typeof this[_0x105c16(0x2e3)][_0x45c605]!=_0x105c16(0x2ea)?_0x34bbb1['Z_DEFAULT_WINDOWBITS']:this['params'][_0x45c605];this[_0x105c16(0x1b3)]=_0x34bbb1[_0x105c16(0x267)]({...this[_0x105c16(0x331)][_0x105c16(0x2cd)],'windowBits':_0x326c67}),this[_0x105c16(0x1b3)][_0x447c1b]=this,this[_0x105c16(0x1b3)][_0x521158]=0x0,this['_inflate'][_0x15b0ff]=[],this[_0x105c16(0x1b3)]['on'](_0x105c16(0x238),_0x353671),this[_0x105c16(0x1b3)]['on']('data',_0x4841d4);}this['_inflate'][_0x5e7f54]=_0x40e7f5,this['_inflate'][_0x105c16(0x23a)](_0x15cab0),_0x511507&&this[_0x105c16(0x1b3)][_0x105c16(0x23a)](_0x3cd154),this[_0x105c16(0x1b3)][_0x105c16(0x2bc)](()=>{const _0x59d35f=_0x105c16,_0x4855a0=this[_0x59d35f(0x1b3)][_0x590615];if(_0x4855a0){this[_0x59d35f(0x1b3)][_0x59d35f(0x1c5)](),this[_0x59d35f(0x1b3)]=null,_0x40e7f5(_0x4855a0);return;}const _0xa8158e=_0x5d9e90[_0x59d35f(0x1c0)](this[_0x59d35f(0x1b3)][_0x15b0ff],this[_0x59d35f(0x1b3)][_0x521158]);this['_inflate'][_0x59d35f(0x2e8)][_0x59d35f(0x2b5)]?(this[_0x59d35f(0x1b3)][_0x59d35f(0x1c5)](),this[_0x59d35f(0x1b3)]=null):(this[_0x59d35f(0x1b3)][_0x521158]=0x0,this[_0x59d35f(0x1b3)][_0x15b0ff]=[],_0x511507&&this[_0x59d35f(0x2e3)][_0x2b8619+_0x59d35f(0x347)]&&this['_inflate'][_0x59d35f(0x232)]()),_0x40e7f5(null,_0xa8158e);});}[_0x395497(0x2db)](_0x395932,_0x2577a9,_0x21c57f){const _0x527ffe=_0x395497,_0x52c337=this['_isServer']?_0x527ffe(0x206):_0x527ffe(0x2ef);if(!this['_deflate']){const _0x3b4081=_0x52c337+_0x527ffe(0x1f4),_0x50d486=typeof this[_0x527ffe(0x2e3)][_0x3b4081]!=_0x527ffe(0x2ea)?_0x34bbb1[_0x527ffe(0x25b)]:this[_0x527ffe(0x2e3)][_0x3b4081];this[_0x527ffe(0x2a4)]=_0x34bbb1['createDeflateRaw']({...this[_0x527ffe(0x331)][_0x527ffe(0x25f)],'windowBits':_0x50d486}),this['_deflate'][_0x521158]=0x0,this[_0x527ffe(0x2a4)][_0x15b0ff]=[],this['_deflate']['on'](_0x527ffe(0x35c),_0x590af1);}this[_0x527ffe(0x2a4)][_0x5e7f54]=_0x21c57f,this['_deflate']['write'](_0x395932),this['_deflate'][_0x527ffe(0x2bc)](_0x34bbb1[_0x527ffe(0x313)],()=>{const _0xcdca27=_0x527ffe;if(!this['_deflate'])return;let _0x2f816b=_0x5d9e90['concat'](this['_deflate'][_0x15b0ff],this[_0xcdca27(0x2a4)][_0x521158]);_0x2577a9&&(_0x2f816b=new _0x42d847(_0x2f816b[_0xcdca27(0x359)],_0x2f816b['byteOffset'],_0x2f816b[_0xcdca27(0x221)]-0x4)),this[_0xcdca27(0x2a4)][_0x5e7f54]=null,this[_0xcdca27(0x2a4)][_0x521158]=0x0,this[_0xcdca27(0x2a4)][_0x15b0ff]=[],_0x2577a9&&this[_0xcdca27(0x2e3)][_0x52c337+_0xcdca27(0x347)]&&this[_0xcdca27(0x2a4)][_0xcdca27(0x232)](),_0x21c57f(null,_0x2f816b);});}}ve=_0x401ccf;function _0x590af1(_0x416098){const _0x22e5f9=_0x395497;this[_0x15b0ff][_0x22e5f9(0x277)](_0x416098),this[_0x521158]+=_0x416098['length'];}function _0x4841d4(_0x162ad8){const _0x461b57=_0x395497;if(this[_0x521158]+=_0x162ad8['length'],this[_0x447c1b][_0x461b57(0x250)]<0x1||this[_0x521158]<=this[_0x447c1b][_0x461b57(0x250)]){this[_0x15b0ff]['push'](_0x162ad8);return;}this[_0x590615]=new RangeError(_0x461b57(0x24f)),this[_0x590615][_0x461b57(0x2b4)]=_0x461b57(0x21c),this[_0x590615][_0x439580]=0x3f1,this['removeListener'](_0x461b57(0x35c),_0x4841d4),this[_0x461b57(0x232)]();}function _0x353671(_0x4be7c2){if(this[_0x447c1b]['_inflate']=null,this[_0x590615]){this[_0x5e7f54](this[_0x590615]);return;}_0x4be7c2[_0x439580]=0x3ef,this[_0x5e7f54](_0x4be7c2);}return ve;}var re={'exports':{}};const Ht={},zt=Object['freeze'](Object[_0x4573dd(0x2cc)]({'__proto__':null,'default':Ht},Symbol[_0x4573dd(0x27a)],{'value':_0x4573dd(0x305)})),Yt=ut(zt);var Qe;function ne(){const _0x2da21a=_0x4573dd;if(Qe)return re['exports'];Qe=0x1;const {isUtf8:_0x507881}=_0x3cef7a,{hasBlob:_0x3fe72b}=V(),_0x586f7f=[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 _0x325d1e(_0xd127fc){return _0xd127fc>=0x3e8&&_0xd127fc<=0x3f6&&_0xd127fc!==0x3ec&&_0xd127fc!==0x3ed&&_0xd127fc!==0x3ee||_0xd127fc>=0xbb8&&_0xd127fc<=0x1387;}function _0xfcb7e(_0xaf18b5){const _0x525f57=_0xaf18b5['length'];let _0x4315fc=0x0;for(;_0x4315fc<_0x525f57;)if((_0xaf18b5[_0x4315fc]&0x80)===0x0)_0x4315fc++;else{if((_0xaf18b5[_0x4315fc]&0xe0)===0xc0){if(_0x4315fc+0x1===_0x525f57||(_0xaf18b5[_0x4315fc+0x1]&0xc0)!==0x80||(_0xaf18b5[_0x4315fc]&0xfe)===0xc0)return!0x1;_0x4315fc+=0x2;}else{if((_0xaf18b5[_0x4315fc]&0xf0)===0xe0){if(_0x4315fc+0x2>=_0x525f57||(_0xaf18b5[_0x4315fc+0x1]&0xc0)!==0x80||(_0xaf18b5[_0x4315fc+0x2]&0xc0)!==0x80||_0xaf18b5[_0x4315fc]===0xe0&&(_0xaf18b5[_0x4315fc+0x1]&0xe0)===0x80||_0xaf18b5[_0x4315fc]===0xed&&(_0xaf18b5[_0x4315fc+0x1]&0xe0)===0xa0)return!0x1;_0x4315fc+=0x3;}else{if((_0xaf18b5[_0x4315fc]&0xf8)===0xf0){if(_0x4315fc+0x3>=_0x525f57||(_0xaf18b5[_0x4315fc+0x1]&0xc0)!==0x80||(_0xaf18b5[_0x4315fc+0x2]&0xc0)!==0x80||(_0xaf18b5[_0x4315fc+0x3]&0xc0)!==0x80||_0xaf18b5[_0x4315fc]===0xf0&&(_0xaf18b5[_0x4315fc+0x1]&0xf0)===0x80||_0xaf18b5[_0x4315fc]===0xf4&&_0xaf18b5[_0x4315fc+0x1]>0x8f||_0xaf18b5[_0x4315fc]>0xf4)return!0x1;_0x4315fc+=0x4;}else return!0x1;}}}return!0x0;}function _0x5af133(_0xc2c669){const _0x1b675a=_0x5cf4;return _0x3fe72b&&typeof _0xc2c669==_0x1b675a(0x1be)&&typeof _0xc2c669[_0x1b675a(0x235)]==_0x1b675a(0x351)&&typeof _0xc2c669[_0x1b675a(0x2f5)]=='string'&&typeof _0xc2c669[_0x1b675a(0x361)]=='function'&&(_0xc2c669[Symbol[_0x1b675a(0x27a)]]==='Blob'||_0xc2c669[Symbol[_0x1b675a(0x27a)]]===_0x1b675a(0x332));}if(re[_0x2da21a(0x1ee)]={'isBlob':_0x5af133,'isValidStatusCode':_0x325d1e,'isValidUTF8':_0xfcb7e,'tokenChars':_0x586f7f},_0x507881)re['exports'][_0x2da21a(0x31d)]=function(_0x2ebd1e){return _0x2ebd1e['length']<0x18?_0xfcb7e(_0x2ebd1e):_0x507881(_0x2ebd1e);};else{if(!process['env'][_0x2da21a(0x1c7)])try{const _0x1831db=Yt;re[_0x2da21a(0x1ee)][_0x2da21a(0x31d)]=function(_0x64c95a){return _0x64c95a['length']<0x20?_0xfcb7e(_0x64c95a):_0x1831db(_0x64c95a);};}catch{}}return re[_0x2da21a(0x1ee)];}var Se,Je;function dt(){const _0x44a403=_0x4573dd;if(Je)return Se;Je=0x1;const {Writable:_0x22cf0b}=_0x3f0855,_0x55b926=he(),{BINARY_TYPES:_0x1feb0a,EMPTY_BUFFER:_0xe4d134,kStatusCode:_0x3bc606,kWebSocket:_0xaa76e6}=V(),{concat:_0x4e455d,toArrayBuffer:_0x22bbb0,unmask:_0x1d79ba}=ce(),{isValidStatusCode:_0x1e8e04,isValidUTF8:_0xd756ff}=ne(),_0x5c5673=Buffer[Symbol['species']],_0x4b5cb0=0x0,_0x322060=0x1,_0x43d82b=0x2,_0x2ae0ec=0x3,_0x58d29f=0x4,_0x123ad8=0x5,_0x227192=0x6;class _0x271459 extends _0x22cf0b{constructor(_0x2530e5={}){const _0x1e46ce=_0x5cf4;super(),this['_allowSynchronousEvents']=_0x2530e5[_0x1e46ce(0x29f)]!==void 0x0?_0x2530e5[_0x1e46ce(0x29f)]:!0x0,this[_0x1e46ce(0x216)]=_0x2530e5[_0x1e46ce(0x209)]||_0x1feb0a[0x0],this['_extensions']=_0x2530e5[_0x1e46ce(0x1d9)]||{},this[_0x1e46ce(0x2e4)]=!!_0x2530e5[_0x1e46ce(0x32c)],this[_0x1e46ce(0x250)]=_0x2530e5[_0x1e46ce(0x22f)]|0x0,this[_0x1e46ce(0x27b)]=!!_0x2530e5[_0x1e46ce(0x2c1)],this[_0xaa76e6]=void 0x0,this['_bufferedBytes']=0x0,this['_buffers']=[],this[_0x1e46ce(0x29a)]=!0x1,this[_0x1e46ce(0x279)]=0x0,this[_0x1e46ce(0x218)]=void 0x0,this['_fragmented']=0x0,this[_0x1e46ce(0x298)]=!0x1,this[_0x1e46ce(0x2b0)]=!0x1,this[_0x1e46ce(0x1c4)]=0x0,this[_0x1e46ce(0x2af)]=0x0,this[_0x1e46ce(0x343)]=0x0,this[_0x1e46ce(0x229)]=[],this['_errored']=!0x1,this[_0x1e46ce(0x1af)]=!0x1,this['_state']=_0x4b5cb0;}[_0x44a403(0x315)](_0x1869e7,_0x2189e9,_0x270936){const _0x284b6e=_0x44a403;if(this[_0x284b6e(0x1c4)]===0x8&&this['_state']==_0x4b5cb0)return _0x270936();this[_0x284b6e(0x2d2)]+=_0x1869e7[_0x284b6e(0x221)],this[_0x284b6e(0x306)][_0x284b6e(0x277)](_0x1869e7),this['startLoop'](_0x270936);}[_0x44a403(0x336)](_0x4cd7fe){const _0x44ad33=_0x44a403;if(this[_0x44ad33(0x2d2)]-=_0x4cd7fe,_0x4cd7fe===this['_buffers'][0x0]['length'])return this['_buffers'][_0x44ad33(0x2ff)]();if(_0x4cd7fe<this['_buffers'][0x0]['length']){const _0x35d91f=this[_0x44ad33(0x306)][0x0];return this[_0x44ad33(0x306)][0x0]=new _0x5c5673(_0x35d91f[_0x44ad33(0x359)],_0x35d91f['byteOffset']+_0x4cd7fe,_0x35d91f[_0x44ad33(0x221)]-_0x4cd7fe),new _0x5c5673(_0x35d91f[_0x44ad33(0x359)],_0x35d91f[_0x44ad33(0x224)],_0x4cd7fe);}const _0x3663c1=Buffer[_0x44ad33(0x27e)](_0x4cd7fe);do{const _0x12aa0e=this['_buffers'][0x0],_0x31a823=_0x3663c1[_0x44ad33(0x221)]-_0x4cd7fe;_0x4cd7fe>=_0x12aa0e[_0x44ad33(0x221)]?_0x3663c1[_0x44ad33(0x1b1)](this[_0x44ad33(0x306)][_0x44ad33(0x2ff)](),_0x31a823):(_0x3663c1['set'](new Uint8Array(_0x12aa0e[_0x44ad33(0x359)],_0x12aa0e[_0x44ad33(0x224)],_0x4cd7fe),_0x31a823),this[_0x44ad33(0x306)][0x0]=new _0x5c5673(_0x12aa0e['buffer'],_0x12aa0e['byteOffset']+_0x4cd7fe,_0x12aa0e['length']-_0x4cd7fe)),_0x4cd7fe-=_0x12aa0e[_0x44ad33(0x221)];}while(_0x4cd7fe>0x0);return _0x3663c1;}[_0x44a403(0x1ec)](_0xa1e8c2){const _0x47007e=_0x44a403;this[_0x47007e(0x1af)]=!0x0;do switch(this[_0x47007e(0x337)]){case _0x4b5cb0:this[_0x47007e(0x34b)](_0xa1e8c2);break;case _0x322060:this[_0x47007e(0x2ae)](_0xa1e8c2);break;case _0x43d82b:this[_0x47007e(0x21b)](_0xa1e8c2);break;case _0x2ae0ec:this[_0x47007e(0x2d9)]();break;case _0x58d29f:this[_0x47007e(0x213)](_0xa1e8c2);break;case _0x123ad8:case _0x227192:this['_loop']=!0x1;return;}while(this[_0x47007e(0x1af)]);this[_0x47007e(0x285)]||_0xa1e8c2();}[_0x44a403(0x34b)](_0x537dd7){const _0x4ddcf0=_0x44a403;if(this[_0x4ddcf0(0x2d2)]<0x2){this[_0x4ddcf0(0x1af)]=!0x1;return;}const _0x4e4b8d=this['consume'](0x2);if((_0x4e4b8d[0x0]&0x30)!==0x0){const _0x22ad59=this[_0x4ddcf0(0x1dd)](RangeError,_0x4ddcf0(0x1da),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0x537dd7(_0x22ad59);return;}const _0x2bd306=(_0x4e4b8d[0x0]&0x40)===0x40;if(_0x2bd306&&!this['_extensions'][_0x55b926[_0x4ddcf0(0x293)]]){const _0x133f3d=this[_0x4ddcf0(0x1dd)](RangeError,_0x4ddcf0(0x2bd),!0x0,0x3ea,_0x4ddcf0(0x1c8));_0x537dd7(_0x133f3d);return;}if(this[_0x4ddcf0(0x2b0)]=(_0x4e4b8d[0x0]&0x80)===0x80,this[_0x4ddcf0(0x1c4)]=_0x4e4b8d[0x0]&0xf,this[_0x4ddcf0(0x279)]=_0x4e4b8d[0x1]&0x7f,this[_0x4ddcf0(0x1c4)]===0x0){if(_0x2bd306){const _0x1cf9aa=this[_0x4ddcf0(0x1dd)](RangeError,_0x4ddcf0(0x2bd),!0x0,0x3ea,_0x4ddcf0(0x1c8));_0x537dd7(_0x1cf9aa);return;}if(!this['_fragmented']){const _0x105cfe=this[_0x4ddcf0(0x1dd)](RangeError,'invalid\x20opcode\x200',!0x0,0x3ea,_0x4ddcf0(0x1b2));_0x537dd7(_0x105cfe);return;}this[_0x4ddcf0(0x1c4)]=this[_0x4ddcf0(0x2ac)];}else{if(this[_0x4ddcf0(0x1c4)]===0x1||this[_0x4ddcf0(0x1c4)]===0x2){if(this['_fragmented']){const _0x128f67=this[_0x4ddcf0(0x1dd)](RangeError,_0x4ddcf0(0x349)+this[_0x4ddcf0(0x1c4)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x537dd7(_0x128f67);return;}this[_0x4ddcf0(0x29a)]=_0x2bd306;}else{if(this['_opcode']>0x7&&this[_0x4ddcf0(0x1c4)]<0xb){if(!this[_0x4ddcf0(0x2b0)]){const _0x593999=this['createError'](RangeError,'FIN\x20must\x20be\x20set',!0x0,0x3ea,_0x4ddcf0(0x2e6));_0x537dd7(_0x593999);return;}if(_0x2bd306){const _0xf0dae5=this[_0x4ddcf0(0x1dd)](RangeError,_0x4ddcf0(0x2bd),!0x0,0x3ea,_0x4ddcf0(0x1c8));_0x537dd7(_0xf0dae5);return;}if(this[_0x4ddcf0(0x279)]>0x7d||this[_0x4ddcf0(0x1c4)]===0x8&&this[_0x4ddcf0(0x279)]===0x1){const _0x5609cb=this['createError'](RangeError,'invalid\x20payload\x20length\x20'+this[_0x4ddcf0(0x279)],!0x0,0x3ea,'WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH');_0x537dd7(_0x5609cb);return;}}else{const _0x262cff=this[_0x4ddcf0(0x1dd)](RangeError,_0x4ddcf0(0x349)+this[_0x4ddcf0(0x1c4)],!0x0,0x3ea,_0x4ddcf0(0x1b2));_0x537dd7(_0x262cff);return;}}}if(!this[_0x4ddcf0(0x2b0)]&&!this[_0x4ddcf0(0x2ac)]&&(this['_fragmented']=this[_0x4ddcf0(0x1c4)]),this['_masked']=(_0x4e4b8d[0x1]&0x80)===0x80,this[_0x4ddcf0(0x2e4)]){if(!this['_masked']){const _0x3e4039=this[_0x4ddcf0(0x1dd)](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,_0x4ddcf0(0x262));_0x537dd7(_0x3e4039);return;}}else{if(this[_0x4ddcf0(0x298)]){const _0x4251cb=this[_0x4ddcf0(0x1dd)](RangeError,'MASK\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0x537dd7(_0x4251cb);return;}}this[_0x4ddcf0(0x279)]===0x7e?this[_0x4ddcf0(0x337)]=_0x322060:this[_0x4ddcf0(0x279)]===0x7f?this['_state']=_0x43d82b:this[_0x4ddcf0(0x34c)](_0x537dd7);}[_0x44a403(0x2ae)](_0x558a8f){const _0x36ad43=_0x44a403;if(this[_0x36ad43(0x2d2)]<0x2){this['_loop']=!0x1;return;}this[_0x36ad43(0x279)]=this[_0x36ad43(0x336)](0x2)['readUInt16BE'](0x0),this['haveLength'](_0x558a8f);}[_0x44a403(0x21b)](_0x48ea77){const _0x5f077d=_0x44a403;if(this[_0x5f077d(0x2d2)]<0x8){this[_0x5f077d(0x1af)]=!0x1;return;}const _0x1fe505=this[_0x5f077d(0x336)](0x8),_0x5d7e19=_0x1fe505['readUInt32BE'](0x0);if(_0x5d7e19>Math[_0x5f077d(0x350)](0x2,0x15)-0x1){const _0x5f2751=this[_0x5f077d(0x1dd)](RangeError,_0x5f077d(0x26c),!0x1,0x3f1,_0x5f077d(0x2df));_0x48ea77(_0x5f2751);return;}this[_0x5f077d(0x279)]=_0x5d7e19*Math[_0x5f077d(0x350)](0x2,0x20)+_0x1fe505['readUInt32BE'](0x4),this['haveLength'](_0x48ea77);}[_0x44a403(0x34c)](_0x22f73c){const _0x5da08f=_0x44a403;if(this[_0x5da08f(0x279)]&&this[_0x5da08f(0x1c4)]<0x8&&(this[_0x5da08f(0x2af)]+=this['_payloadLength'],this['_totalPayloadLength']>this['_maxPayload']&&this[_0x5da08f(0x250)]>0x0)){const _0x441742=this[_0x5da08f(0x1dd)](RangeError,_0x5da08f(0x24f),!0x1,0x3f1,_0x5da08f(0x21c));_0x22f73c(_0x441742);return;}this['_masked']?this['_state']=_0x2ae0ec:this[_0x5da08f(0x337)]=_0x58d29f;}[_0x44a403(0x2d9)](){const _0x325b54=_0x44a403;if(this[_0x325b54(0x2d2)]<0x4){this[_0x325b54(0x1af)]=!0x1;return;}this[_0x325b54(0x218)]=this['consume'](0x4),this['_state']=_0x58d29f;}[_0x44a403(0x213)](_0x2b05d2){const _0x474b0c=_0x44a403;let _0x1c3017=_0xe4d134;if(this['_payloadLength']){if(this['_bufferedBytes']<this['_payloadLength']){this['_loop']=!0x1;return;}_0x1c3017=this[_0x474b0c(0x336)](this[_0x474b0c(0x279)]),this[_0x474b0c(0x298)]&&(this[_0x474b0c(0x218)][0x0]|this[_0x474b0c(0x218)][0x1]|this[_0x474b0c(0x218)][0x2]|this['_mask'][0x3])!==0x0&&_0x1d79ba(_0x1c3017,this[_0x474b0c(0x218)]);}if(this['_opcode']>0x7){this[_0x474b0c(0x237)](_0x1c3017,_0x2b05d2);return;}if(this[_0x474b0c(0x29a)]){this[_0x474b0c(0x337)]=_0x123ad8,this[_0x474b0c(0x303)](_0x1c3017,_0x2b05d2);return;}_0x1c3017['length']&&(this[_0x474b0c(0x343)]=this[_0x474b0c(0x2af)],this[_0x474b0c(0x229)][_0x474b0c(0x277)](_0x1c3017)),this['dataMessage'](_0x2b05d2);}[_0x44a403(0x303)](_0x64bde4,_0x3630d2){const _0x47be0d=_0x44a403;this[_0x47be0d(0x1d8)][_0x55b926[_0x47be0d(0x293)]][_0x47be0d(0x303)](_0x64bde4,this[_0x47be0d(0x2b0)],(_0x50e81e,_0x9211c5)=>{const _0x5ff890=_0x47be0d;if(_0x50e81e)return _0x3630d2(_0x50e81e);if(_0x9211c5['length']){if(this['_messageLength']+=_0x9211c5['length'],this[_0x5ff890(0x343)]>this[_0x5ff890(0x250)]&&this[_0x5ff890(0x250)]>0x0){const _0x1a95d5=this[_0x5ff890(0x1dd)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x5ff890(0x21c));_0x3630d2(_0x1a95d5);return;}this[_0x5ff890(0x229)][_0x5ff890(0x277)](_0x9211c5);}this['dataMessage'](_0x3630d2),this['_state']===_0x4b5cb0&&this[_0x5ff890(0x1ec)](_0x3630d2);});}[_0x44a403(0x27f)](_0x3301ba){const _0xb783be=_0x44a403;if(!this[_0xb783be(0x2b0)]){this[_0xb783be(0x337)]=_0x4b5cb0;return;}const _0x3ce1e6=this[_0xb783be(0x343)],_0x5cfd54=this['_fragments'];if(this[_0xb783be(0x2af)]=0x0,this['_messageLength']=0x0,this[_0xb783be(0x2ac)]=0x0,this[_0xb783be(0x229)]=[],this['_opcode']===0x2){let _0x2212e5;this[_0xb783be(0x216)]==='nodebuffer'?_0x2212e5=_0x4e455d(_0x5cfd54,_0x3ce1e6):this['_binaryType']===_0xb783be(0x297)?_0x2212e5=_0x22bbb0(_0x4e455d(_0x5cfd54,_0x3ce1e6)):this[_0xb783be(0x216)]===_0xb783be(0x252)?_0x2212e5=new Blob(_0x5cfd54):_0x2212e5=_0x5cfd54,this['_allowSynchronousEvents']?(this[_0xb783be(0x2f0)]('message',_0x2212e5,!0x0),this[_0xb783be(0x337)]=_0x4b5cb0):(this['_state']=_0x227192,setImmediate(()=>{const _0x4c35e5=_0xb783be;this[_0x4c35e5(0x2f0)]('message',_0x2212e5,!0x0),this[_0x4c35e5(0x337)]=_0x4b5cb0,this['startLoop'](_0x3301ba);}));}else{const _0x564ff0=_0x4e455d(_0x5cfd54,_0x3ce1e6);if(!this[_0xb783be(0x27b)]&&!_0xd756ff(_0x564ff0)){const _0x2559fc=this['createError'](Error,_0xb783be(0x31a),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x3301ba(_0x2559fc);return;}this[_0xb783be(0x337)]===_0x123ad8||this[_0xb783be(0x254)]?(this[_0xb783be(0x2f0)](_0xb783be(0x257),_0x564ff0,!0x1),this['_state']=_0x4b5cb0):(this[_0xb783be(0x337)]=_0x227192,setImmediate(()=>{const _0x5654c5=_0xb783be;this[_0x5654c5(0x2f0)](_0x5654c5(0x257),_0x564ff0,!0x1),this[_0x5654c5(0x337)]=_0x4b5cb0,this[_0x5654c5(0x1ec)](_0x3301ba);}));}}[_0x44a403(0x237)](_0x21ee03,_0xdc55d){const _0x13e6c5=_0x44a403;if(this[_0x13e6c5(0x1c4)]===0x8){if(_0x21ee03['length']===0x0)this[_0x13e6c5(0x1af)]=!0x1,this['emit']('conclude',0x3ed,_0xe4d134),this[_0x13e6c5(0x1f8)]();else{const _0x172ca6=_0x21ee03[_0x13e6c5(0x27d)](0x0);if(!_0x1e8e04(_0x172ca6)){const _0x2eaea8=this[_0x13e6c5(0x1dd)](RangeError,_0x13e6c5(0x32f)+_0x172ca6,!0x0,0x3ea,_0x13e6c5(0x28d));_0xdc55d(_0x2eaea8);return;}const _0x2264eb=new _0x5c5673(_0x21ee03[_0x13e6c5(0x359)],_0x21ee03['byteOffset']+0x2,_0x21ee03[_0x13e6c5(0x221)]-0x2);if(!this['_skipUTF8Validation']&&!_0xd756ff(_0x2264eb)){const _0x54609f=this[_0x13e6c5(0x1dd)](Error,_0x13e6c5(0x31a),!0x0,0x3ef,_0x13e6c5(0x2a6));_0xdc55d(_0x54609f);return;}this['_loop']=!0x1,this[_0x13e6c5(0x2f0)]('conclude',_0x172ca6,_0x2264eb),this['end']();}this[_0x13e6c5(0x337)]=_0x4b5cb0;return;}this[_0x13e6c5(0x254)]?(this[_0x13e6c5(0x2f0)](this[_0x13e6c5(0x1c4)]===0x9?_0x13e6c5(0x2d8):'pong',_0x21ee03),this[_0x13e6c5(0x337)]=_0x4b5cb0):(this[_0x13e6c5(0x337)]=_0x227192,setImmediate(()=>{const _0x3de8d0=_0x13e6c5;this[_0x3de8d0(0x2f0)](this[_0x3de8d0(0x1c4)]===0x9?_0x3de8d0(0x2d8):'pong',_0x21ee03),this[_0x3de8d0(0x337)]=_0x4b5cb0,this[_0x3de8d0(0x1ec)](_0xdc55d);}));}[_0x44a403(0x1dd)](_0x45a467,_0x4a516f,_0xe0008a,_0x2f0496,_0x3adf7a){const _0x131595=_0x44a403;this[_0x131595(0x1af)]=!0x1,this['_errored']=!0x0;const _0x1d8734=new _0x45a467(_0xe0008a?_0x131595(0x354)+_0x4a516f:_0x4a516f);return Error[_0x131595(0x326)](_0x1d8734,this[_0x131595(0x1dd)]),_0x1d8734[_0x131595(0x2b4)]=_0x3adf7a,_0x1d8734[_0x3bc606]=_0x2f0496,_0x1d8734;}}return Se=_0x271459,Se;}var Ee,et;function _t(){const _0x52f5b4=_0x4573dd;if(et)return Ee;et=0x1;const {Duplex:_0x2452ab}=_0x3f0855,{randomFillSync:_0x191fd5}=_0x1469aa,_0x5a6936=he(),{EMPTY_BUFFER:_0x545b52,kWebSocket:_0x6620e6,NOOP:_0x3bc253}=V(),{isBlob:_0x3a076a,isValidStatusCode:_0x4b4e85}=ne(),{mask:_0x15bb6b,toBuffer:_0x490615}=ce(),_0x13e95f=Symbol(_0x52f5b4(0x253)),_0xf1b589=Buffer[_0x52f5b4(0x24c)](0x4),_0x95781f=0x8*0x400;let _0x211195,_0xf98318=_0x95781f;const _0x32cf73=0x0,_0x58beec=0x1,_0x23fae6=0x2;class _0x5641f7{constructor(_0xdbe941,_0x2f6182,_0x2130ab){const _0x2b8489=_0x52f5b4;this['_extensions']=_0x2f6182||{},_0x2130ab&&(this[_0x2b8489(0x2b7)]=_0x2130ab,this[_0x2b8489(0x295)]=Buffer[_0x2b8489(0x24c)](0x4)),this[_0x2b8489(0x1f0)]=_0xdbe941,this['_firstFragment']=!0x0,this[_0x2b8489(0x2db)]=!0x1,this[_0x2b8489(0x2d2)]=0x0,this['_queue']=[],this[_0x2b8489(0x337)]=_0x32cf73,this['onerror']=_0x3bc253,this[_0x6620e6]=void 0x0;}static['frame'](_0x555d71,_0x45ea9d){const _0x3f11d3=_0x52f5b4;let _0x55b3d1,_0x40a676=!0x1,_0x29132f=0x2,_0x5e1e7f=!0x1;_0x45ea9d[_0x3f11d3(0x328)]&&(_0x55b3d1=_0x45ea9d[_0x3f11d3(0x239)]||_0xf1b589,_0x45ea9d[_0x3f11d3(0x2c2)]?_0x45ea9d[_0x3f11d3(0x2c2)](_0x55b3d1):(_0xf98318===_0x95781f&&(_0x211195===void 0x0&&(_0x211195=Buffer['alloc'](_0x95781f)),_0x191fd5(_0x211195,0x0,_0x95781f),_0xf98318=0x0),_0x55b3d1[0x0]=_0x211195[_0xf98318++],_0x55b3d1[0x1]=_0x211195[_0xf98318++],_0x55b3d1[0x2]=_0x211195[_0xf98318++],_0x55b3d1[0x3]=_0x211195[_0xf98318++]),_0x5e1e7f=(_0x55b3d1[0x0]|_0x55b3d1[0x1]|_0x55b3d1[0x2]|_0x55b3d1[0x3])===0x0,_0x29132f=0x6);let _0x295144;typeof _0x555d71==_0x3f11d3(0x29e)?(!_0x45ea9d['mask']||_0x5e1e7f)&&_0x45ea9d[_0x13e95f]!==void 0x0?_0x295144=_0x45ea9d[_0x13e95f]:(_0x555d71=Buffer[_0x3f11d3(0x330)](_0x555d71),_0x295144=_0x555d71[_0x3f11d3(0x221)]):(_0x295144=_0x555d71['length'],_0x40a676=_0x45ea9d['mask']&&_0x45ea9d[_0x3f11d3(0x1b0)]&&!_0x5e1e7f);let _0x2dafd9=_0x295144;_0x295144>=0x10000?(_0x29132f+=0x8,_0x2dafd9=0x7f):_0x295144>0x7d&&(_0x29132f+=0x2,_0x2dafd9=0x7e);const _0x492f4c=Buffer[_0x3f11d3(0x27e)](_0x40a676?_0x295144+_0x29132f:_0x29132f);return _0x492f4c[0x0]=_0x45ea9d[_0x3f11d3(0x30b)]?_0x45ea9d[_0x3f11d3(0x2cb)]|0x80:_0x45ea9d['opcode'],_0x45ea9d[_0x3f11d3(0x34a)]&&(_0x492f4c[0x0]|=0x40),_0x492f4c[0x1]=_0x2dafd9,_0x2dafd9===0x7e?_0x492f4c['writeUInt16BE'](_0x295144,0x2):_0x2dafd9===0x7f&&(_0x492f4c[0x2]=_0x492f4c[0x3]=0x0,_0x492f4c[_0x3f11d3(0x1e0)](_0x295144,0x4,0x6)),_0x45ea9d['mask']?(_0x492f4c[0x1]|=0x80,_0x492f4c[_0x29132f-0x4]=_0x55b3d1[0x0],_0x492f4c[_0x29132f-0x3]=_0x55b3d1[0x1],_0x492f4c[_0x29132f-0x2]=_0x55b3d1[0x2],_0x492f4c[_0x29132f-0x1]=_0x55b3d1[0x3],_0x5e1e7f?[_0x492f4c,_0x555d71]:_0x40a676?(_0x15bb6b(_0x555d71,_0x55b3d1,_0x492f4c,_0x29132f,_0x295144),[_0x492f4c]):(_0x15bb6b(_0x555d71,_0x55b3d1,_0x555d71,0x0,_0x295144),[_0x492f4c,_0x555d71])):[_0x492f4c,_0x555d71];}[_0x52f5b4(0x1c5)](_0xe34ba6,_0xffe6d6,_0x93aaa1,_0xefc165){const _0x4fc169=_0x52f5b4;let _0x2213f1;if(_0xe34ba6===void 0x0)_0x2213f1=_0x545b52;else{if(typeof _0xe34ba6!=_0x4fc169(0x2ea)||!_0x4b4e85(_0xe34ba6))throw new TypeError(_0x4fc169(0x217));if(_0xffe6d6===void 0x0||!_0xffe6d6[_0x4fc169(0x221)])_0x2213f1=Buffer[_0x4fc169(0x27e)](0x2),_0x2213f1[_0x4fc169(0x310)](_0xe34ba6,0x0);else{const _0x427c14=Buffer['byteLength'](_0xffe6d6);if(_0x427c14>0x7b)throw new RangeError(_0x4fc169(0x1f2));_0x2213f1=Buffer[_0x4fc169(0x27e)](0x2+_0x427c14),_0x2213f1[_0x4fc169(0x310)](_0xe34ba6,0x0),typeof _0xffe6d6==_0x4fc169(0x29e)?_0x2213f1[_0x4fc169(0x23a)](_0xffe6d6,0x2):_0x2213f1[_0x4fc169(0x1b1)](_0xffe6d6,0x2);}}const _0x4de371={[_0x13e95f]:_0x2213f1[_0x4fc169(0x221)],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x93aaa1,'maskBuffer':this[_0x4fc169(0x295)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x4fc169(0x337)]!==_0x32cf73?this[_0x4fc169(0x2f6)]([this['dispatch'],_0x2213f1,!0x1,_0x4de371,_0xefc165]):this[_0x4fc169(0x2a0)](_0x5641f7[_0x4fc169(0x34d)](_0x2213f1,_0x4de371),_0xefc165);}['ping'](_0x2240e6,_0x5233dd,_0x39e00f){const _0x1e8366=_0x52f5b4;let _0x22319b,_0x59de43;if(typeof _0x2240e6=='string'?(_0x22319b=Buffer[_0x1e8366(0x2a8)](_0x2240e6),_0x59de43=!0x1):_0x3a076a(_0x2240e6)?(_0x22319b=_0x2240e6[_0x1e8366(0x2e7)],_0x59de43=!0x1):(_0x2240e6=_0x490615(_0x2240e6),_0x22319b=_0x2240e6['length'],_0x59de43=_0x490615[_0x1e8366(0x1b0)]),_0x22319b>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x517106={[_0x13e95f]:_0x22319b,'fin':!0x0,'generateMask':this[_0x1e8366(0x2b7)],'mask':_0x5233dd,'maskBuffer':this['_maskBuffer'],'opcode':0x9,'readOnly':_0x59de43,'rsv1':!0x1};_0x3a076a(_0x2240e6)?this['_state']!==_0x32cf73?this['enqueue']([this[_0x1e8366(0x234)],_0x2240e6,!0x1,_0x517106,_0x39e00f]):this['getBlobData'](_0x2240e6,!0x1,_0x517106,_0x39e00f):this[_0x1e8366(0x337)]!==_0x32cf73?this[_0x1e8366(0x2f6)]([this['dispatch'],_0x2240e6,!0x1,_0x517106,_0x39e00f]):this[_0x1e8366(0x2a0)](_0x5641f7[_0x1e8366(0x34d)](_0x2240e6,_0x517106),_0x39e00f);}[_0x52f5b4(0x346)](_0x319bfb,_0x2cac80,_0x2be150){const _0x42c15e=_0x52f5b4;let _0x375a95,_0x5cc42c;if(typeof _0x319bfb==_0x42c15e(0x29e)?(_0x375a95=Buffer['byteLength'](_0x319bfb),_0x5cc42c=!0x1):_0x3a076a(_0x319bfb)?(_0x375a95=_0x319bfb[_0x42c15e(0x2e7)],_0x5cc42c=!0x1):(_0x319bfb=_0x490615(_0x319bfb),_0x375a95=_0x319bfb[_0x42c15e(0x221)],_0x5cc42c=_0x490615[_0x42c15e(0x1b0)]),_0x375a95>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x583310={[_0x13e95f]:_0x375a95,'fin':!0x0,'generateMask':this[_0x42c15e(0x2b7)],'mask':_0x2cac80,'maskBuffer':this[_0x42c15e(0x295)],'opcode':0xa,'readOnly':_0x5cc42c,'rsv1':!0x1};_0x3a076a(_0x319bfb)?this['_state']!==_0x32cf73?this[_0x42c15e(0x2f6)]([this[_0x42c15e(0x234)],_0x319bfb,!0x1,_0x583310,_0x2be150]):this[_0x42c15e(0x234)](_0x319bfb,!0x1,_0x583310,_0x2be150):this[_0x42c15e(0x337)]!==_0x32cf73?this[_0x42c15e(0x2f6)]([this[_0x42c15e(0x2d5)],_0x319bfb,!0x1,_0x583310,_0x2be150]):this['sendFrame'](_0x5641f7['frame'](_0x319bfb,_0x583310),_0x2be150);}[_0x52f5b4(0x2f4)](_0x2c0f62,_0x38af1d,_0x2f63f8){const _0x4a63e2=_0x52f5b4,_0x23781f=this[_0x4a63e2(0x1d8)][_0x5a6936[_0x4a63e2(0x293)]];let _0x31009f=_0x38af1d['binary']?0x2:0x1,_0x894e64=_0x38af1d[_0x4a63e2(0x2f2)],_0x1fbb77,_0x46dda3;typeof _0x2c0f62==_0x4a63e2(0x29e)?(_0x1fbb77=Buffer[_0x4a63e2(0x2a8)](_0x2c0f62),_0x46dda3=!0x1):_0x3a076a(_0x2c0f62)?(_0x1fbb77=_0x2c0f62[_0x4a63e2(0x2e7)],_0x46dda3=!0x1):(_0x2c0f62=_0x490615(_0x2c0f62),_0x1fbb77=_0x2c0f62[_0x4a63e2(0x221)],_0x46dda3=_0x490615['readOnly']),this[_0x4a63e2(0x291)]?(this['_firstFragment']=!0x1,_0x894e64&&_0x23781f&&_0x23781f['params'][_0x23781f[_0x4a63e2(0x2e4)]?_0x4a63e2(0x2ad):'client_no_context_takeover']&&(_0x894e64=_0x1fbb77>=_0x23781f['_threshold']),this[_0x4a63e2(0x2db)]=_0x894e64):(_0x894e64=!0x1,_0x31009f=0x0),_0x38af1d[_0x4a63e2(0x30b)]&&(this[_0x4a63e2(0x291)]=!0x0);const _0x1f95bc={[_0x13e95f]:_0x1fbb77,'fin':_0x38af1d[_0x4a63e2(0x30b)],'generateMask':this[_0x4a63e2(0x2b7)],'mask':_0x38af1d[_0x4a63e2(0x328)],'maskBuffer':this[_0x4a63e2(0x295)],'opcode':_0x31009f,'readOnly':_0x46dda3,'rsv1':_0x894e64};_0x3a076a(_0x2c0f62)?this[_0x4a63e2(0x337)]!==_0x32cf73?this[_0x4a63e2(0x2f6)]([this[_0x4a63e2(0x234)],_0x2c0f62,this['_compress'],_0x1f95bc,_0x2f63f8]):this[_0x4a63e2(0x234)](_0x2c0f62,this[_0x4a63e2(0x2db)],_0x1f95bc,_0x2f63f8):this[_0x4a63e2(0x337)]!==_0x32cf73?this[_0x4a63e2(0x2f6)]([this['dispatch'],_0x2c0f62,this[_0x4a63e2(0x2db)],_0x1f95bc,_0x2f63f8]):this[_0x4a63e2(0x2d5)](_0x2c0f62,this['_compress'],_0x1f95bc,_0x2f63f8);}[_0x52f5b4(0x234)](_0x15133c,_0x35a628,_0x13a5cc,_0x2ba358){const _0x3e39ed=_0x52f5b4;this[_0x3e39ed(0x2d2)]+=_0x13a5cc[_0x13e95f],this[_0x3e39ed(0x337)]=_0x23fae6,_0x15133c['arrayBuffer']()[_0x3e39ed(0x2ca)](_0x41ab43=>{const _0x5680a4=_0x3e39ed;if(this[_0x5680a4(0x1f0)][_0x5680a4(0x1e7)]){const _0x39b26b=new Error(_0x5680a4(0x2c4));process[_0x5680a4(0x27c)](_0x39309e,this,_0x39b26b,_0x2ba358);return;}this['_bufferedBytes']-=_0x13a5cc[_0x13e95f];const _0x5c541b=_0x490615(_0x41ab43);_0x35a628?this[_0x5680a4(0x2d5)](_0x5c541b,_0x35a628,_0x13a5cc,_0x2ba358):(this['_state']=_0x32cf73,this[_0x5680a4(0x2a0)](_0x5641f7[_0x5680a4(0x34d)](_0x5c541b,_0x13a5cc),_0x2ba358),this['dequeue']());})['catch'](_0x42d7b5=>{process['nextTick'](_0x2dff9e,this,_0x42d7b5,_0x2ba358);});}[_0x52f5b4(0x2d5)](_0x4773bb,_0x4856fd,_0x226ce1,_0x4d2ace){const _0x2d81d7=_0x52f5b4;if(!_0x4856fd){this[_0x2d81d7(0x2a0)](_0x5641f7[_0x2d81d7(0x34d)](_0x4773bb,_0x226ce1),_0x4d2ace);return;}const _0x1f0218=this[_0x2d81d7(0x1d8)][_0x5a6936[_0x2d81d7(0x293)]];this[_0x2d81d7(0x2d2)]+=_0x226ce1[_0x13e95f],this[_0x2d81d7(0x337)]=_0x58beec,_0x1f0218[_0x2d81d7(0x2f2)](_0x4773bb,_0x226ce1['fin'],(_0x3d40f3,_0x304916)=>{const _0x34d23b=_0x2d81d7;if(this['_socket']['destroyed']){const _0x59d237=new Error(_0x34d23b(0x353));_0x39309e(this,_0x59d237,_0x4d2ace);return;}this[_0x34d23b(0x2d2)]-=_0x226ce1[_0x13e95f],this[_0x34d23b(0x337)]=_0x32cf73,_0x226ce1[_0x34d23b(0x1b0)]=!0x1,this[_0x34d23b(0x2a0)](_0x5641f7[_0x34d23b(0x34d)](_0x304916,_0x226ce1),_0x4d2ace),this[_0x34d23b(0x1b5)]();});}[_0x52f5b4(0x1b5)](){const _0x249f39=_0x52f5b4;for(;this[_0x249f39(0x337)]===_0x32cf73&&this[_0x249f39(0x20b)][_0x249f39(0x221)];){const _0x168543=this[_0x249f39(0x20b)][_0x249f39(0x2ff)]();this[_0x249f39(0x2d2)]-=_0x168543[0x3][_0x13e95f],Reflect['apply'](_0x168543[0x0],this,_0x168543[_0x249f39(0x2c8)](0x1));}}[_0x52f5b4(0x2f6)](_0x2df4d8){const _0x185502=_0x52f5b4;this['_bufferedBytes']+=_0x2df4d8[0x3][_0x13e95f],this['_queue'][_0x185502(0x277)](_0x2df4d8);}[_0x52f5b4(0x2a0)](_0x1e458a,_0x18ad07){const _0x20307e=_0x52f5b4;_0x1e458a['length']===0x2?(this['_socket']['cork'](),this[_0x20307e(0x1f0)]['write'](_0x1e458a[0x0]),this['_socket'][_0x20307e(0x23a)](_0x1e458a[0x1],_0x18ad07),this[_0x20307e(0x1f0)][_0x20307e(0x2fc)]()):this['_socket'][_0x20307e(0x23a)](_0x1e458a[0x0],_0x18ad07);}}Ee=_0x5641f7;function _0x39309e(_0x4165fc,_0x4775b3,_0x1caecf){const _0x2b2fd9=_0x52f5b4;typeof _0x1caecf==_0x2b2fd9(0x351)&&_0x1caecf(_0x4775b3);for(let _0x3e5bab=0x0;_0x3e5bab<_0x4165fc[_0x2b2fd9(0x20b)][_0x2b2fd9(0x221)];_0x3e5bab++){const _0x47089b=_0x4165fc['_queue'][_0x3e5bab],_0x3f637a=_0x47089b[_0x47089b['length']-0x1];typeof _0x3f637a==_0x2b2fd9(0x351)&&_0x3f637a(_0x4775b3);}}function _0x2dff9e(_0x3d0982,_0x3f5c66,_0x4ad249){const _0x41f8c7=_0x52f5b4;_0x39309e(_0x3d0982,_0x3f5c66,_0x4ad249),_0x3d0982[_0x41f8c7(0x1c6)](_0x3f5c66);}return Ee;}var xe,tt;function Kt(){const _0x23b22e=_0x4573dd;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x888fa5,kListener:_0x55e1f4}=V(),_0x34ad54=Symbol(_0x23b22e(0x339)),_0x4990b6=Symbol('kData'),_0x2db147=Symbol(_0x23b22e(0x32a)),_0x25153f=Symbol('kMessage'),_0x4247fb=Symbol(_0x23b22e(0x360)),_0x428b21=Symbol(_0x23b22e(0x269)),_0x3b381f=Symbol('kType'),_0x21b3a6=Symbol(_0x23b22e(0x1bf));class _0x5eff24{constructor(_0x95810c){this[_0x428b21]=null,this[_0x3b381f]=_0x95810c;}get[_0x23b22e(0x240)](){return this[_0x428b21];}get[_0x23b22e(0x2f5)](){return this[_0x3b381f];}}Object[_0x23b22e(0x2cc)](_0x5eff24[_0x23b22e(0x1d6)],_0x23b22e(0x240),{'enumerable':!0x0}),Object[_0x23b22e(0x2cc)](_0x5eff24['prototype'],_0x23b22e(0x2f5),{'enumerable':!0x0});class _0x3301d0 extends _0x5eff24{constructor(_0x277f6e,_0x4d50d8={}){const _0x584397=_0x23b22e;super(_0x277f6e),this[_0x34ad54]=_0x4d50d8[_0x584397(0x2b4)]===void 0x0?0x0:_0x4d50d8[_0x584397(0x2b4)],this[_0x4247fb]=_0x4d50d8[_0x584397(0x287)]===void 0x0?'':_0x4d50d8[_0x584397(0x287)],this[_0x21b3a6]=_0x4d50d8[_0x584397(0x1f1)]===void 0x0?!0x1:_0x4d50d8['wasClean'];}get[_0x23b22e(0x2b4)](){return this[_0x34ad54];}get[_0x23b22e(0x287)](){return this[_0x4247fb];}get[_0x23b22e(0x1f1)](){return this[_0x21b3a6];}}Object['defineProperty'](_0x3301d0[_0x23b22e(0x1d6)],_0x23b22e(0x2b4),{'enumerable':!0x0}),Object[_0x23b22e(0x2cc)](_0x3301d0[_0x23b22e(0x1d6)],_0x23b22e(0x287),{'enumerable':!0x0}),Object[_0x23b22e(0x2cc)](_0x3301d0[_0x23b22e(0x1d6)],_0x23b22e(0x1f1),{'enumerable':!0x0});class _0x13886c extends _0x5eff24{constructor(_0x340bf2,_0x289be8={}){const _0x4e5eaa=_0x23b22e;super(_0x340bf2),this[_0x2db147]=_0x289be8[_0x4e5eaa(0x238)]===void 0x0?null:_0x289be8[_0x4e5eaa(0x238)],this[_0x25153f]=_0x289be8[_0x4e5eaa(0x257)]===void 0x0?'':_0x289be8[_0x4e5eaa(0x257)];}get[_0x23b22e(0x238)](){return this[_0x2db147];}get['message'](){return this[_0x25153f];}}Object[_0x23b22e(0x2cc)](_0x13886c[_0x23b22e(0x1d6)],_0x23b22e(0x238),{'enumerable':!0x0}),Object[_0x23b22e(0x2cc)](_0x13886c[_0x23b22e(0x1d6)],_0x23b22e(0x257),{'enumerable':!0x0});class _0x49fc40 extends _0x5eff24{constructor(_0x511a6e,_0x16fddb={}){super(_0x511a6e),this[_0x4990b6]=_0x16fddb['data']===void 0x0?null:_0x16fddb['data'];}get[_0x23b22e(0x35c)](){return this[_0x4990b6];}}Object['defineProperty'](_0x49fc40[_0x23b22e(0x1d6)],_0x23b22e(0x35c),{'enumerable':!0x0}),xe={'CloseEvent':_0x3301d0,'ErrorEvent':_0x13886c,'Event':_0x5eff24,'EventTarget':{'addEventListener'(_0x4deb13,_0x3d9f2b,_0x8cbada={}){const _0x44f281=_0x23b22e;for(const _0x56c763 of this[_0x44f281(0x21e)](_0x4deb13))if(!_0x8cbada[_0x888fa5]&&_0x56c763[_0x55e1f4]===_0x3d9f2b&&!_0x56c763[_0x888fa5])return;let _0x415336;if(_0x4deb13===_0x44f281(0x257))_0x415336=function(_0x1aee46,_0x369e0a){const _0x48bd88=_0x44f281,_0x2fc6a8=new _0x49fc40(_0x48bd88(0x257),{'data':_0x369e0a?_0x1aee46:_0x1aee46[_0x48bd88(0x304)]()});_0x2fc6a8[_0x428b21]=this,_0xab33e9(_0x3d9f2b,this,_0x2fc6a8);};else{if(_0x4deb13===_0x44f281(0x1c5))_0x415336=function(_0x1a1e91,_0x37d078){const _0x44173c=_0x44f281,_0x3e644e=new _0x3301d0(_0x44173c(0x1c5),{'code':_0x1a1e91,'reason':_0x37d078[_0x44173c(0x304)](),'wasClean':this[_0x44173c(0x24b)]&&this[_0x44173c(0x28b)]});_0x3e644e[_0x428b21]=this,_0xab33e9(_0x3d9f2b,this,_0x3e644e);};else{if(_0x4deb13===_0x44f281(0x238))_0x415336=function(_0x21c7fc){const _0x2bb9bf=_0x44f281,_0x1b7912=new _0x13886c(_0x2bb9bf(0x238),{'error':_0x21c7fc,'message':_0x21c7fc[_0x2bb9bf(0x257)]});_0x1b7912[_0x428b21]=this,_0xab33e9(_0x3d9f2b,this,_0x1b7912);};else{if(_0x4deb13===_0x44f281(0x1ca))_0x415336=function(){const _0x2ff6e2=new _0x5eff24('open');_0x2ff6e2[_0x428b21]=this,_0xab33e9(_0x3d9f2b,this,_0x2ff6e2);};else return;}}}_0x415336[_0x888fa5]=!!_0x8cbada[_0x888fa5],_0x415336[_0x55e1f4]=_0x3d9f2b,_0x8cbada[_0x44f281(0x2bf)]?this['once'](_0x4deb13,_0x415336):this['on'](_0x4deb13,_0x415336);},'removeEventListener'(_0x164d62,_0x428b7f){const _0x151dfd=_0x23b22e;for(const _0x291dfa of this[_0x151dfd(0x21e)](_0x164d62))if(_0x291dfa[_0x55e1f4]===_0x428b7f&&!_0x291dfa[_0x888fa5]){this[_0x151dfd(0x1fe)](_0x164d62,_0x291dfa);break;}}},'MessageEvent':_0x49fc40};function _0xab33e9(_0x2e4c20,_0x5eb8ec,_0x59f6cd){const _0x4d37d9=_0x23b22e;typeof _0x2e4c20==_0x4d37d9(0x1be)&&_0x2e4c20['handleEvent']?_0x2e4c20[_0x4d37d9(0x29c)]['call'](_0x2e4c20,_0x59f6cd):_0x2e4c20[_0x4d37d9(0x1b9)](_0x5eb8ec,_0x59f6cd);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x26b386}=ne();function _0x124f70(_0x3b852e,_0x1499e5,_0x2d19d3){_0x3b852e[_0x1499e5]===void 0x0?_0x3b852e[_0x1499e5]=[_0x2d19d3]:_0x3b852e[_0x1499e5]['push'](_0x2d19d3);}function _0x38a4bc(_0x24e40){const _0x3e0ec9=_0x5cf4,_0x99b8bb=Object[_0x3e0ec9(0x2d4)](null);let _0x2bf71c=Object['create'](null),_0xccd9a0=!0x1,_0x24b337=!0x1,_0x205493=!0x1,_0x3ae278,_0x1f5904,_0x1963ca=-0x1,_0x5b916a=-0x1,_0x555a58=-0x1,_0x435105=0x0;for(;_0x435105<_0x24e40[_0x3e0ec9(0x221)];_0x435105++)if(_0x5b916a=_0x24e40[_0x3e0ec9(0x2e2)](_0x435105),_0x3ae278===void 0x0){if(_0x555a58===-0x1&&_0x26b386[_0x5b916a]===0x1)_0x1963ca===-0x1&&(_0x1963ca=_0x435105);else{if(_0x435105!==0x0&&(_0x5b916a===0x20||_0x5b916a===0x9))_0x555a58===-0x1&&_0x1963ca!==-0x1&&(_0x555a58=_0x435105);else{if(_0x5b916a===0x3b||_0x5b916a===0x2c){if(_0x1963ca===-0x1)throw new SyntaxError(_0x3e0ec9(0x1cb)+_0x435105);_0x555a58===-0x1&&(_0x555a58=_0x435105);const _0x41eeb5=_0x24e40[_0x3e0ec9(0x2c8)](_0x1963ca,_0x555a58);_0x5b916a===0x2c?(_0x124f70(_0x99b8bb,_0x41eeb5,_0x2bf71c),_0x2bf71c=Object[_0x3e0ec9(0x2d4)](null)):_0x3ae278=_0x41eeb5,_0x1963ca=_0x555a58=-0x1;}else throw new SyntaxError(_0x3e0ec9(0x1cb)+_0x435105);}}}else{if(_0x1f5904===void 0x0){if(_0x555a58===-0x1&&_0x26b386[_0x5b916a]===0x1)_0x1963ca===-0x1&&(_0x1963ca=_0x435105);else{if(_0x5b916a===0x20||_0x5b916a===0x9)_0x555a58===-0x1&&_0x1963ca!==-0x1&&(_0x555a58=_0x435105);else{if(_0x5b916a===0x3b||_0x5b916a===0x2c){if(_0x1963ca===-0x1)throw new SyntaxError(_0x3e0ec9(0x1cb)+_0x435105);_0x555a58===-0x1&&(_0x555a58=_0x435105),_0x124f70(_0x2bf71c,_0x24e40[_0x3e0ec9(0x2c8)](_0x1963ca,_0x555a58),!0x0),_0x5b916a===0x2c&&(_0x124f70(_0x99b8bb,_0x3ae278,_0x2bf71c),_0x2bf71c=Object[_0x3e0ec9(0x2d4)](null),_0x3ae278=void 0x0),_0x1963ca=_0x555a58=-0x1;}else{if(_0x5b916a===0x3d&&_0x1963ca!==-0x1&&_0x555a58===-0x1)_0x1f5904=_0x24e40[_0x3e0ec9(0x2c8)](_0x1963ca,_0x435105),_0x1963ca=_0x555a58=-0x1;else throw new SyntaxError(_0x3e0ec9(0x1cb)+_0x435105);}}}}else{if(_0x24b337){if(_0x26b386[_0x5b916a]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x435105);_0x1963ca===-0x1?_0x1963ca=_0x435105:_0xccd9a0||(_0xccd9a0=!0x0),_0x24b337=!0x1;}else{if(_0x205493){if(_0x26b386[_0x5b916a]===0x1)_0x1963ca===-0x1&&(_0x1963ca=_0x435105);else{if(_0x5b916a===0x22&&_0x1963ca!==-0x1)_0x205493=!0x1,_0x555a58=_0x435105;else{if(_0x5b916a===0x5c)_0x24b337=!0x0;else throw new SyntaxError(_0x3e0ec9(0x1cb)+_0x435105);}}}else{if(_0x5b916a===0x22&&_0x24e40[_0x3e0ec9(0x2e2)](_0x435105-0x1)===0x3d)_0x205493=!0x0;else{if(_0x555a58===-0x1&&_0x26b386[_0x5b916a]===0x1)_0x1963ca===-0x1&&(_0x1963ca=_0x435105);else{if(_0x1963ca!==-0x1&&(_0x5b916a===0x20||_0x5b916a===0x9))_0x555a58===-0x1&&(_0x555a58=_0x435105);else{if(_0x5b916a===0x3b||_0x5b916a===0x2c){if(_0x1963ca===-0x1)throw new SyntaxError(_0x3e0ec9(0x1cb)+_0x435105);_0x555a58===-0x1&&(_0x555a58=_0x435105);let _0x479694=_0x24e40[_0x3e0ec9(0x2c8)](_0x1963ca,_0x555a58);_0xccd9a0&&(_0x479694=_0x479694[_0x3e0ec9(0x283)](/\\/g,''),_0xccd9a0=!0x1),_0x124f70(_0x2bf71c,_0x1f5904,_0x479694),_0x5b916a===0x2c&&(_0x124f70(_0x99b8bb,_0x3ae278,_0x2bf71c),_0x2bf71c=Object[_0x3e0ec9(0x2d4)](null),_0x3ae278=void 0x0),_0x1f5904=void 0x0,_0x1963ca=_0x555a58=-0x1;}else throw new SyntaxError(_0x3e0ec9(0x1cb)+_0x435105);}}}}}}}if(_0x1963ca===-0x1||_0x205493||_0x5b916a===0x20||_0x5b916a===0x9)throw new SyntaxError('Unexpected\x20end\x20of\x20input');_0x555a58===-0x1&&(_0x555a58=_0x435105);const _0x3668e9=_0x24e40[_0x3e0ec9(0x2c8)](_0x1963ca,_0x555a58);return _0x3ae278===void 0x0?_0x124f70(_0x99b8bb,_0x3668e9,_0x2bf71c):(_0x1f5904===void 0x0?_0x124f70(_0x2bf71c,_0x3668e9,!0x0):_0xccd9a0?_0x124f70(_0x2bf71c,_0x1f5904,_0x3668e9[_0x3e0ec9(0x283)](/\\/g,'')):_0x124f70(_0x2bf71c,_0x1f5904,_0x3668e9),_0x124f70(_0x99b8bb,_0x3ae278,_0x2bf71c)),_0x99b8bb;}function _0x2b4bb3(_0x18c023){const _0xe63d5a=_0x5cf4;return Object['keys'](_0x18c023)[_0xe63d5a(0x33f)](_0x33e84e=>{const _0x31c724=_0xe63d5a;let _0x470532=_0x18c023[_0x33e84e];return Array[_0x31c724(0x2dc)](_0x470532)||(_0x470532=[_0x470532]),_0x470532[_0x31c724(0x33f)](_0x450801=>[_0x33e84e][_0x31c724(0x1c0)](Object['keys'](_0x450801)['map'](_0x13ac71=>{const _0x39cf18=_0x31c724;let _0x543416=_0x450801[_0x13ac71];return Array[_0x39cf18(0x2dc)](_0x543416)||(_0x543416=[_0x543416]),_0x543416[_0x39cf18(0x33f)](_0x1f63a5=>_0x1f63a5===!0x0?_0x13ac71:_0x13ac71+'='+_0x1f63a5)[_0x39cf18(0x1bd)](';\x20');}))[_0x31c724(0x1bd)](';\x20'))[_0x31c724(0x1bd)](',\x20');})['join'](',\x20');}return be={'format':_0x2b4bb3,'parse':_0x38a4bc},be;}var we,st;function Ie(){const _0x246a76=_0x4573dd;if(st)return we;st=0x1;const _0x11b30e=_0xc8b08e,_0x19b58f=_0x5e382d,_0x32c433=_0x49d0a7,_0x481503=_0x1d2aae,_0x16037e=_0x606e98,{randomBytes:_0x17e9e9,createHash:_0x4675f2}=_0x1469aa,{Duplex:_0x2c6d70,Readable:_0x50092c}=_0x3f0855,{URL:_0x35b48a}=_0x50e69b,_0x596b68=he(),_0xcbc02d=dt(),_0x538c95=_t(),{isBlob:_0x4da3eb}=ne(),{BINARY_TYPES:_0x5d1c54,EMPTY_BUFFER:_0x5c8b33,GUID:_0x32a1ad,kForOnEventAttribute:_0x587da0,kListener:_0x355cdb,kStatusCode:_0x14219a,kWebSocket:_0x2b3220,NOOP:_0x42b68f}=V(),{EventTarget:{addEventListener:_0x20bbed,removeEventListener:_0x303723}}=Kt(),{format:_0x1357f1,parse:_0x8fb446}=pt(),{toBuffer:_0x1adaea}=ce(),_0x1ad596=0x1e*0x3e8,_0x46d3d6=Symbol('kAborted'),_0x721150=[0x8,0xd],_0x149297=[_0x246a76(0x26e),_0x246a76(0x202),_0x246a76(0x334),_0x246a76(0x1e4)],_0x677143=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x3a22ff extends _0x11b30e{constructor(_0x591217,_0x124ab0,_0x509092){const _0x43a02b=_0x246a76;super(),this['_binaryType']=_0x5d1c54[0x0],this['_closeCode']=0x3ee,this[_0x43a02b(0x24b)]=!0x1,this[_0x43a02b(0x28b)]=!0x1,this[_0x43a02b(0x31b)]=_0x5c8b33,this[_0x43a02b(0x35e)]=null,this[_0x43a02b(0x230)]=!0x1,this['_extensions']={},this[_0x43a02b(0x24e)]=!0x1,this[_0x43a02b(0x2b3)]='',this[_0x43a02b(0x2b9)]=_0x3a22ff[_0x43a02b(0x26e)],this['_receiver']=null,this[_0x43a02b(0x1fb)]=null,this['_socket']=null,_0x591217!==null?(this[_0x43a02b(0x25e)]=0x0,this['_isServer']=!0x1,this[_0x43a02b(0x290)]=0x0,_0x124ab0===void 0x0?_0x124ab0=[]:Array[_0x43a02b(0x2dc)](_0x124ab0)||(typeof _0x124ab0==_0x43a02b(0x1be)&&_0x124ab0!==null?(_0x509092=_0x124ab0,_0x124ab0=[]):_0x124ab0=[_0x124ab0]),_0x2ebd4d(this,_0x591217,_0x124ab0,_0x509092)):(this[_0x43a02b(0x265)]=_0x509092[_0x43a02b(0x2a3)],this[_0x43a02b(0x2e4)]=!0x0);}get[_0x246a76(0x209)](){const _0x5b4090=_0x246a76;return this[_0x5b4090(0x216)];}set['binaryType'](_0x2c435a){const _0x5c9161=_0x246a76;_0x5d1c54[_0x5c9161(0x311)](_0x2c435a)&&(this[_0x5c9161(0x216)]=_0x2c435a,this[_0x5c9161(0x261)]&&(this['_receiver']['_binaryType']=_0x2c435a));}get['bufferedAmount'](){const _0x3f1e1a=_0x246a76;return this[_0x3f1e1a(0x1f0)]?this['_socket'][_0x3f1e1a(0x222)]['length']+this[_0x3f1e1a(0x1fb)][_0x3f1e1a(0x2d2)]:this['_bufferedAmount'];}get[_0x246a76(0x1d9)](){const _0x11991f=_0x246a76;return Object[_0x11991f(0x26b)](this['_extensions'])[_0x11991f(0x1bd)]();}get[_0x246a76(0x1ed)](){const _0x521221=_0x246a76;return this[_0x521221(0x24e)];}get[_0x246a76(0x31e)](){return null;}get[_0x246a76(0x1c6)](){return null;}get[_0x246a76(0x1cd)](){return null;}get['onmessage'](){return null;}get[_0x246a76(0x31c)](){const _0x22d822=_0x246a76;return this[_0x22d822(0x2b3)];}get[_0x246a76(0x1f6)](){const _0x3045ff=_0x246a76;return this[_0x3045ff(0x2b9)];}get[_0x246a76(0x333)](){const _0x32206e=_0x246a76;return this[_0x32206e(0x23b)];}[_0x246a76(0x271)](_0x48d060,_0x2cdf6c,_0x77772d){const _0x397cf3=_0x246a76,_0x5d19ed=new _0xcbc02d({'allowSynchronousEvents':_0x77772d[_0x397cf3(0x29f)],'binaryType':this[_0x397cf3(0x209)],'extensions':this[_0x397cf3(0x1d8)],'isServer':this[_0x397cf3(0x2e4)],'maxPayload':_0x77772d[_0x397cf3(0x22f)],'skipUTF8Validation':_0x77772d['skipUTF8Validation']}),_0x4f8a61=new _0x538c95(_0x48d060,this['_extensions'],_0x77772d['generateMask']);this[_0x397cf3(0x261)]=_0x5d19ed,this['_sender']=_0x4f8a61,this[_0x397cf3(0x1f0)]=_0x48d060,_0x5d19ed[_0x2b3220]=this,_0x4f8a61[_0x2b3220]=this,_0x48d060[_0x2b3220]=this,_0x5d19ed['on'](_0x397cf3(0x2e9),_0x4ba37a),_0x5d19ed['on'](_0x397cf3(0x263),_0x1dbceb),_0x5d19ed['on'](_0x397cf3(0x238),_0x3903e9),_0x5d19ed['on'](_0x397cf3(0x257),_0x7cc3a8),_0x5d19ed['on'](_0x397cf3(0x2d8),_0xec1676),_0x5d19ed['on'](_0x397cf3(0x346),_0xb629c3),_0x4f8a61[_0x397cf3(0x1c6)]=_0x321b43,_0x48d060['setTimeout']&&_0x48d060[_0x397cf3(0x211)](0x0),_0x48d060[_0x397cf3(0x2c6)]&&_0x48d060[_0x397cf3(0x2c6)](),_0x2cdf6c[_0x397cf3(0x221)]>0x0&&_0x48d060['unshift'](_0x2cdf6c),_0x48d060['on']('close',_0x30b2b9),_0x48d060['on']('data',_0x31c0c7),_0x48d060['on'](_0x397cf3(0x1f8),_0x5c6c4e),_0x48d060['on'](_0x397cf3(0x238),_0x5e34eb),this[_0x397cf3(0x2b9)]=_0x3a22ff[_0x397cf3(0x202)],this['emit'](_0x397cf3(0x1ca));}['emitClose'](){const _0x23244c=_0x246a76;if(!this[_0x23244c(0x1f0)]){this[_0x23244c(0x2b9)]=_0x3a22ff[_0x23244c(0x1e4)],this[_0x23244c(0x2f0)](_0x23244c(0x1c5),this[_0x23244c(0x2ee)],this[_0x23244c(0x31b)]);return;}this[_0x23244c(0x1d8)][_0x596b68[_0x23244c(0x293)]]&&this[_0x23244c(0x1d8)][_0x596b68['extensionName']][_0x23244c(0x1e1)](),this[_0x23244c(0x261)][_0x23244c(0x228)](),this[_0x23244c(0x2b9)]=_0x3a22ff['CLOSED'],this[_0x23244c(0x2f0)](_0x23244c(0x1c5),this[_0x23244c(0x2ee)],this[_0x23244c(0x31b)]);}[_0x246a76(0x1c5)](_0x2ed7f8,_0x2498de){const _0x2cf807=_0x246a76;if(this['readyState']!==_0x3a22ff[_0x2cf807(0x1e4)]){if(this[_0x2cf807(0x1f6)]===_0x3a22ff[_0x2cf807(0x26e)]){_0x3e0b74(this,this['_req'],_0x2cf807(0x300));return;}if(this[_0x2cf807(0x1f6)]===_0x3a22ff[_0x2cf807(0x334)]){this[_0x2cf807(0x28b)]&&(this[_0x2cf807(0x24b)]||this[_0x2cf807(0x261)][_0x2cf807(0x222)]['errorEmitted'])&&this['_socket'][_0x2cf807(0x1f8)]();return;}this['_readyState']=_0x3a22ff[_0x2cf807(0x334)],this[_0x2cf807(0x1fb)]['close'](_0x2ed7f8,_0x2498de,!this[_0x2cf807(0x2e4)],_0x1b692f=>{const _0x5e78b7=_0x2cf807;_0x1b692f||(this['_closeFrameSent']=!0x0,(this[_0x5e78b7(0x24b)]||this['_receiver'][_0x5e78b7(0x222)][_0x5e78b7(0x204)])&&this[_0x5e78b7(0x1f0)][_0x5e78b7(0x1f8)]());}),_0x14365f(this);}}[_0x246a76(0x2f3)](){const _0x2b031d=_0x246a76;this[_0x2b031d(0x1f6)]===_0x3a22ff[_0x2b031d(0x26e)]||this['readyState']===_0x3a22ff[_0x2b031d(0x1e4)]||(this[_0x2b031d(0x24e)]=!0x0,this[_0x2b031d(0x1f0)][_0x2b031d(0x2f3)]());}[_0x246a76(0x2d8)](_0xce8a31,_0x5af312,_0x5e76b6){const _0x151c22=_0x246a76;if(this[_0x151c22(0x1f6)]===_0x3a22ff[_0x151c22(0x26e)])throw new Error(_0x151c22(0x275));if(typeof _0xce8a31==_0x151c22(0x351)?(_0x5e76b6=_0xce8a31,_0xce8a31=_0x5af312=void 0x0):typeof _0x5af312==_0x151c22(0x351)&&(_0x5e76b6=_0x5af312,_0x5af312=void 0x0),typeof _0xce8a31==_0x151c22(0x2ea)&&(_0xce8a31=_0xce8a31[_0x151c22(0x304)]()),this['readyState']!==_0x3a22ff[_0x151c22(0x202)]){_0x298b11(this,_0xce8a31,_0x5e76b6);return;}_0x5af312===void 0x0&&(_0x5af312=!this[_0x151c22(0x2e4)]),this[_0x151c22(0x1fb)][_0x151c22(0x2d8)](_0xce8a31||_0x5c8b33,_0x5af312,_0x5e76b6);}['pong'](_0x270ec9,_0x5239e5,_0x12c7a6){const _0x14cf64=_0x246a76;if(this[_0x14cf64(0x1f6)]===_0x3a22ff[_0x14cf64(0x26e)])throw new Error(_0x14cf64(0x275));if(typeof _0x270ec9==_0x14cf64(0x351)?(_0x12c7a6=_0x270ec9,_0x270ec9=_0x5239e5=void 0x0):typeof _0x5239e5==_0x14cf64(0x351)&&(_0x12c7a6=_0x5239e5,_0x5239e5=void 0x0),typeof _0x270ec9==_0x14cf64(0x2ea)&&(_0x270ec9=_0x270ec9[_0x14cf64(0x304)]()),this['readyState']!==_0x3a22ff['OPEN']){_0x298b11(this,_0x270ec9,_0x12c7a6);return;}_0x5239e5===void 0x0&&(_0x5239e5=!this[_0x14cf64(0x2e4)]),this['_sender']['pong'](_0x270ec9||_0x5c8b33,_0x5239e5,_0x12c7a6);}[_0x246a76(0x268)](){const _0x553c49=_0x246a76;this[_0x553c49(0x1f6)]===_0x3a22ff[_0x553c49(0x26e)]||this[_0x553c49(0x1f6)]===_0x3a22ff[_0x553c49(0x1e4)]||(this[_0x553c49(0x24e)]=!0x1,this[_0x553c49(0x261)]['_writableState'][_0x553c49(0x201)]||this[_0x553c49(0x1f0)][_0x553c49(0x268)]());}['send'](_0x159125,_0x268ca4,_0x350828){const _0x59ba11=_0x246a76;if(this['readyState']===_0x3a22ff['CONNECTING'])throw new Error(_0x59ba11(0x275));if(typeof _0x268ca4==_0x59ba11(0x351)&&(_0x350828=_0x268ca4,_0x268ca4={}),typeof _0x159125==_0x59ba11(0x2ea)&&(_0x159125=_0x159125[_0x59ba11(0x304)]()),this[_0x59ba11(0x1f6)]!==_0x3a22ff[_0x59ba11(0x202)]){_0x298b11(this,_0x159125,_0x350828);return;}const _0x33818b={'binary':typeof _0x159125!=_0x59ba11(0x29e),'mask':!this[_0x59ba11(0x2e4)],'compress':!0x0,'fin':!0x0,..._0x268ca4};this['_extensions'][_0x596b68[_0x59ba11(0x293)]]||(_0x33818b[_0x59ba11(0x2f2)]=!0x1),this[_0x59ba11(0x1fb)][_0x59ba11(0x2f4)](_0x159125||_0x5c8b33,_0x33818b,_0x350828);}['terminate'](){const _0x450f49=_0x246a76;if(this[_0x450f49(0x1f6)]!==_0x3a22ff[_0x450f49(0x1e4)]){if(this['readyState']===_0x3a22ff[_0x450f49(0x26e)]){_0x3e0b74(this,this[_0x450f49(0x30c)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}this[_0x450f49(0x1f0)]&&(this[_0x450f49(0x2b9)]=_0x3a22ff['CLOSING'],this[_0x450f49(0x1f0)][_0x450f49(0x20e)]());}}}Object[_0x246a76(0x2cc)](_0x3a22ff,_0x246a76(0x26e),{'enumerable':!0x0,'value':_0x149297[_0x246a76(0x318)](_0x246a76(0x26e))}),Object[_0x246a76(0x2cc)](_0x3a22ff['prototype'],'CONNECTING',{'enumerable':!0x0,'value':_0x149297['indexOf']('CONNECTING')}),Object[_0x246a76(0x2cc)](_0x3a22ff,_0x246a76(0x202),{'enumerable':!0x0,'value':_0x149297['indexOf'](_0x246a76(0x202))}),Object[_0x246a76(0x2cc)](_0x3a22ff[_0x246a76(0x1d6)],_0x246a76(0x202),{'enumerable':!0x0,'value':_0x149297['indexOf']('OPEN')}),Object['defineProperty'](_0x3a22ff,_0x246a76(0x334),{'enumerable':!0x0,'value':_0x149297[_0x246a76(0x318)](_0x246a76(0x334))}),Object['defineProperty'](_0x3a22ff[_0x246a76(0x1d6)],_0x246a76(0x334),{'enumerable':!0x0,'value':_0x149297[_0x246a76(0x318)](_0x246a76(0x334))}),Object[_0x246a76(0x2cc)](_0x3a22ff,_0x246a76(0x1e4),{'enumerable':!0x0,'value':_0x149297[_0x246a76(0x318)](_0x246a76(0x1e4))}),Object['defineProperty'](_0x3a22ff[_0x246a76(0x1d6)],'CLOSED',{'enumerable':!0x0,'value':_0x149297[_0x246a76(0x318)](_0x246a76(0x1e4))}),[_0x246a76(0x209),_0x246a76(0x1b8),_0x246a76(0x1d9),_0x246a76(0x1ed),_0x246a76(0x31c),_0x246a76(0x1f6),_0x246a76(0x333)][_0x246a76(0x28c)](_0x3714cd=>{const _0x2feb5f=_0x246a76;Object[_0x2feb5f(0x2cc)](_0x3a22ff[_0x2feb5f(0x1d6)],_0x3714cd,{'enumerable':!0x0});}),[_0x246a76(0x1ca),_0x246a76(0x238),'close',_0x246a76(0x257)]['forEach'](_0x27a4f2=>{const _0x19498c=_0x246a76;Object[_0x19498c(0x2cc)](_0x3a22ff[_0x19498c(0x1d6)],'on'+_0x27a4f2,{'enumerable':!0x0,'get'(){const _0x7066c7=_0x19498c;for(const _0x214bb3 of this[_0x7066c7(0x21e)](_0x27a4f2))if(_0x214bb3[_0x587da0])return _0x214bb3[_0x355cdb];return null;},'set'(_0x2ea444){const _0x546877=_0x19498c;for(const _0x10b75a of this[_0x546877(0x21e)](_0x27a4f2))if(_0x10b75a[_0x587da0]){this[_0x546877(0x1fe)](_0x27a4f2,_0x10b75a);break;}typeof _0x2ea444==_0x546877(0x351)&&this[_0x546877(0x329)](_0x27a4f2,_0x2ea444,{[_0x587da0]:!0x0});}});}),_0x3a22ff['prototype'][_0x246a76(0x329)]=_0x20bbed,_0x3a22ff[_0x246a76(0x1d6)][_0x246a76(0x1eb)]=_0x303723,we=_0x3a22ff;function _0x2ebd4d(_0x4a04b4,_0x1a3aa9,_0x56c36b,_0x3de0db){const _0x13f963=_0x246a76,_0x177e07={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x721150[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x3de0db,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x13f963(0x276),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x4a04b4[_0x13f963(0x265)]=_0x177e07[_0x13f963(0x2a3)],!_0x721150[_0x13f963(0x311)](_0x177e07[_0x13f963(0x317)]))throw new RangeError(_0x13f963(0x280)+_0x177e07['protocolVersion']+_0x13f963(0x348)+_0x721150[_0x13f963(0x1bd)](',\x20')+')');let _0x158980;if(_0x1a3aa9 instanceof _0x35b48a)_0x158980=_0x1a3aa9;else try{_0x158980=new _0x35b48a(_0x1a3aa9);}catch{throw new SyntaxError('Invalid\x20URL:\x20'+_0x1a3aa9);}_0x158980[_0x13f963(0x31c)]==='http:'?_0x158980[_0x13f963(0x31c)]=_0x13f963(0x289):_0x158980[_0x13f963(0x31c)]===_0x13f963(0x1b4)&&(_0x158980[_0x13f963(0x31c)]=_0x13f963(0x2c3)),_0x4a04b4[_0x13f963(0x23b)]=_0x158980[_0x13f963(0x225)];const _0x598451=_0x158980[_0x13f963(0x31c)]===_0x13f963(0x2c3),_0x5e924a=_0x158980['protocol']===_0x13f963(0x2cf);let _0x820652;if(_0x158980[_0x13f963(0x31c)]!==_0x13f963(0x289)&&!_0x598451&&!_0x5e924a?_0x820652=_0x13f963(0x248):_0x5e924a&&!_0x158980[_0x13f963(0x323)]?_0x820652=_0x13f963(0x30e):_0x158980[_0x13f963(0x2fa)]&&(_0x820652=_0x13f963(0x1f9)),_0x820652){const _0x42c0ad=new SyntaxError(_0x820652);if(_0x4a04b4['_redirects']===0x0)throw _0x42c0ad;_0x4ab463(_0x4a04b4,_0x42c0ad);return;}const _0x6956b2=_0x598451?0x1bb:0x50,_0x22f8dd=_0x17e9e9(0x10)[_0x13f963(0x304)](_0x13f963(0x358)),_0x3e0e35=_0x598451?_0x19b58f[_0x13f963(0x2ec)]:_0x32c433[_0x13f963(0x2ec)],_0x1ec802=new Set();let _0x3e81e7;if(_0x177e07['createConnection']=_0x177e07['createConnection']||(_0x598451?_0x8858be:_0x37e314),_0x177e07[_0x13f963(0x1e2)]=_0x177e07[_0x13f963(0x1e2)]||_0x6956b2,_0x177e07[_0x13f963(0x2dd)]=_0x158980[_0x13f963(0x2dd)]||_0x6956b2,_0x177e07['host']=_0x158980['hostname'][_0x13f963(0x1e8)]('[')?_0x158980[_0x13f963(0x1ce)][_0x13f963(0x2c8)](0x1,-0x1):_0x158980[_0x13f963(0x1ce)],_0x177e07[_0x13f963(0x1c1)]={..._0x177e07[_0x13f963(0x1c1)],'Sec-WebSocket-Version':_0x177e07['protocolVersion'],'Sec-WebSocket-Key':_0x22f8dd,'Connection':_0x13f963(0x24d),'Upgrade':_0x13f963(0x2d7)},_0x177e07['path']=_0x158980[_0x13f963(0x323)]+_0x158980[_0x13f963(0x1de)],_0x177e07[_0x13f963(0x256)]=_0x177e07[_0x13f963(0x242)],_0x177e07[_0x13f963(0x23e)]&&(_0x3e81e7=new _0x596b68(_0x177e07[_0x13f963(0x23e)]!==!0x0?_0x177e07[_0x13f963(0x23e)]:{},!0x1,_0x177e07[_0x13f963(0x22f)]),_0x177e07['headers'][_0x13f963(0x319)]=_0x1357f1({[_0x596b68[_0x13f963(0x293)]]:_0x3e81e7[_0x13f963(0x2a1)]()})),_0x56c36b[_0x13f963(0x221)]){for(const _0x3bde28 of _0x56c36b){if(typeof _0x3bde28!=_0x13f963(0x29e)||!_0x677143[_0x13f963(0x294)](_0x3bde28)||_0x1ec802[_0x13f963(0x314)](_0x3bde28))throw new SyntaxError(_0x13f963(0x2fb));_0x1ec802['add'](_0x3bde28);}_0x177e07[_0x13f963(0x1c1)][_0x13f963(0x286)]=_0x56c36b[_0x13f963(0x1bd)](',');}if(_0x177e07['origin']&&(_0x177e07[_0x13f963(0x317)]<0xd?_0x177e07[_0x13f963(0x1c1)][_0x13f963(0x1bc)]=_0x177e07[_0x13f963(0x35a)]:_0x177e07['headers'][_0x13f963(0x2ba)]=_0x177e07[_0x13f963(0x35a)]),(_0x158980[_0x13f963(0x322)]||_0x158980['password'])&&(_0x177e07[_0x13f963(0x340)]=_0x158980[_0x13f963(0x322)]+':'+_0x158980[_0x13f963(0x324)]),_0x5e924a){const _0x2bac00=_0x177e07[_0x13f963(0x312)][_0x13f963(0x30d)](':');_0x177e07['socketPath']=_0x2bac00[0x0],_0x177e07[_0x13f963(0x312)]=_0x2bac00[0x1];}let _0x1d881d;if(_0x177e07[_0x13f963(0x341)]){if(_0x4a04b4[_0x13f963(0x290)]===0x0){_0x4a04b4[_0x13f963(0x21d)]=_0x5e924a,_0x4a04b4['_originalSecure']=_0x598451,_0x4a04b4[_0x13f963(0x33d)]=_0x5e924a?_0x177e07['socketPath']:_0x158980[_0x13f963(0x338)];const _0x57477b=_0x3de0db&&_0x3de0db[_0x13f963(0x1c1)];if(_0x3de0db={..._0x3de0db,'headers':{}},_0x57477b){for(const [_0x1da3aa,_0x1e365a]of Object[_0x13f963(0x307)](_0x57477b))_0x3de0db[_0x13f963(0x1c1)][_0x1da3aa[_0x13f963(0x259)]()]=_0x1e365a;}}else{if(_0x4a04b4[_0x13f963(0x22d)](_0x13f963(0x299))===0x0){const _0x4843cd=_0x5e924a?_0x4a04b4[_0x13f963(0x21d)]?_0x177e07[_0x13f963(0x1fa)]===_0x4a04b4[_0x13f963(0x33d)]:!0x1:_0x4a04b4['_originalIpc']?!0x1:_0x158980[_0x13f963(0x338)]===_0x4a04b4['_originalHostOrSocketPath'];(!_0x4843cd||_0x4a04b4[_0x13f963(0x2eb)]&&!_0x598451)&&(delete _0x177e07[_0x13f963(0x1c1)][_0x13f963(0x2b1)],delete _0x177e07[_0x13f963(0x1c1)][_0x13f963(0x20a)],_0x4843cd||delete _0x177e07[_0x13f963(0x1c1)][_0x13f963(0x338)],_0x177e07[_0x13f963(0x340)]=void 0x0);}}_0x177e07[_0x13f963(0x340)]&&!_0x3de0db[_0x13f963(0x1c1)][_0x13f963(0x2b1)]&&(_0x3de0db[_0x13f963(0x1c1)][_0x13f963(0x2b1)]='Basic\x20'+Buffer[_0x13f963(0x330)](_0x177e07['auth'])[_0x13f963(0x304)](_0x13f963(0x358))),_0x1d881d=_0x4a04b4['_req']=_0x3e0e35(_0x177e07),_0x4a04b4[_0x13f963(0x290)]&&_0x4a04b4[_0x13f963(0x2f0)](_0x13f963(0x299),_0x4a04b4[_0x13f963(0x333)],_0x1d881d);}else _0x1d881d=_0x4a04b4[_0x13f963(0x30c)]=_0x3e0e35(_0x177e07);_0x177e07[_0x13f963(0x256)]&&_0x1d881d['on']('timeout',()=>{_0x3e0b74(_0x4a04b4,_0x1d881d,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x1d881d['on'](_0x13f963(0x238),_0x35bfe4=>{const _0xf2e2ab=_0x13f963;_0x1d881d===null||_0x1d881d[_0x46d3d6]||(_0x1d881d=_0x4a04b4[_0xf2e2ab(0x30c)]=null,_0x4ab463(_0x4a04b4,_0x35bfe4));}),_0x1d881d['on'](_0x13f963(0x32b),_0x21113e=>{const _0x305f2f=_0x13f963,_0x141858=_0x21113e['headers'][_0x305f2f(0x35d)],_0x160dc8=_0x21113e[_0x305f2f(0x212)];if(_0x141858&&_0x177e07['followRedirects']&&_0x160dc8>=0x12c&&_0x160dc8<0x190){if(++_0x4a04b4[_0x305f2f(0x290)]>_0x177e07[_0x305f2f(0x246)]){_0x3e0b74(_0x4a04b4,_0x1d881d,_0x305f2f(0x352));return;}_0x1d881d[_0x305f2f(0x1cf)]();let _0x2543e9;try{_0x2543e9=new _0x35b48a(_0x141858,_0x1a3aa9);}catch{const _0x3e7800=new SyntaxError(_0x305f2f(0x31f)+_0x141858);_0x4ab463(_0x4a04b4,_0x3e7800);return;}_0x2ebd4d(_0x4a04b4,_0x2543e9,_0x56c36b,_0x3de0db);}else _0x4a04b4[_0x305f2f(0x2f0)](_0x305f2f(0x2b2),_0x1d881d,_0x21113e)||_0x3e0b74(_0x4a04b4,_0x1d881d,_0x305f2f(0x344)+_0x21113e[_0x305f2f(0x212)]);}),_0x1d881d['on']('upgrade',(_0x422b57,_0x16c715,_0x282ebe)=>{const _0xd2cb4e=_0x13f963;if(_0x4a04b4[_0xd2cb4e(0x2f0)](_0xd2cb4e(0x1d1),_0x422b57),_0x4a04b4[_0xd2cb4e(0x1f6)]!==_0x3a22ff['CONNECTING'])return;_0x1d881d=_0x4a04b4[_0xd2cb4e(0x30c)]=null;const _0x34141d=_0x422b57[_0xd2cb4e(0x1c1)]['upgrade'];if(_0x34141d===void 0x0||_0x34141d['toLowerCase']()!==_0xd2cb4e(0x2d7)){_0x3e0b74(_0x4a04b4,_0x16c715,_0xd2cb4e(0x1e5));return;}const _0x2fa3d6=_0x4675f2(_0xd2cb4e(0x1c2))['update'](_0x22f8dd+_0x32a1ad)[_0xd2cb4e(0x1dc)](_0xd2cb4e(0x358));if(_0x422b57['headers'][_0xd2cb4e(0x1d5)]!==_0x2fa3d6){_0x3e0b74(_0x4a04b4,_0x16c715,_0xd2cb4e(0x357));return;}const _0x1c9e92=_0x422b57[_0xd2cb4e(0x1c1)][_0xd2cb4e(0x22e)];let _0x3553b9;if(_0x1c9e92!==void 0x0?_0x1ec802[_0xd2cb4e(0x2e7)]?_0x1ec802[_0xd2cb4e(0x314)](_0x1c9e92)||(_0x3553b9='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0x3553b9=_0xd2cb4e(0x215):_0x1ec802[_0xd2cb4e(0x2e7)]&&(_0x3553b9=_0xd2cb4e(0x208)),_0x3553b9){_0x3e0b74(_0x4a04b4,_0x16c715,_0x3553b9);return;}_0x1c9e92&&(_0x4a04b4[_0xd2cb4e(0x2b3)]=_0x1c9e92);const _0x3f6eb8=_0x422b57[_0xd2cb4e(0x1c1)][_0xd2cb4e(0x2f8)];if(_0x3f6eb8!==void 0x0){if(!_0x3e81e7){_0x3e0b74(_0x4a04b4,_0x16c715,_0xd2cb4e(0x1c9));return;}let _0x3ff99a;try{_0x3ff99a=_0x8fb446(_0x3f6eb8);}catch{_0x3e0b74(_0x4a04b4,_0x16c715,_0xd2cb4e(0x220));return;}const _0x3e0fa3=Object['keys'](_0x3ff99a);if(_0x3e0fa3['length']!==0x1||_0x3e0fa3[0x0]!==_0x596b68[_0xd2cb4e(0x293)]){_0x3e0b74(_0x4a04b4,_0x16c715,_0xd2cb4e(0x243));return;}try{_0x3e81e7['accept'](_0x3ff99a[_0x596b68[_0xd2cb4e(0x293)]]);}catch{_0x3e0b74(_0x4a04b4,_0x16c715,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}_0x4a04b4[_0xd2cb4e(0x1d8)][_0x596b68['extensionName']]=_0x3e81e7;}_0x4a04b4[_0xd2cb4e(0x271)](_0x16c715,_0x282ebe,{'allowSynchronousEvents':_0x177e07[_0xd2cb4e(0x29f)],'generateMask':_0x177e07[_0xd2cb4e(0x2c2)],'maxPayload':_0x177e07[_0xd2cb4e(0x22f)],'skipUTF8Validation':_0x177e07['skipUTF8Validation']});}),_0x177e07['finishRequest']?_0x177e07['finishRequest'](_0x1d881d,_0x4a04b4):_0x1d881d['end']();}function _0x4ab463(_0x57ed1a,_0xc4014){const _0x2e2831=_0x246a76;_0x57ed1a['_readyState']=_0x3a22ff[_0x2e2831(0x334)],_0x57ed1a['_errorEmitted']=!0x0,_0x57ed1a['emit'](_0x2e2831(0x238),_0xc4014),_0x57ed1a[_0x2e2831(0x273)]();}function _0x37e314(_0x4bfd86){const _0x57cbe8=_0x246a76;return _0x4bfd86['path']=_0x4bfd86[_0x57cbe8(0x1fa)],_0x481503[_0x57cbe8(0x1d2)](_0x4bfd86);}function _0x8858be(_0xce6661){const _0x1c06eb=_0x246a76;return _0xce6661[_0x1c06eb(0x312)]=void 0x0,!_0xce6661[_0x1c06eb(0x205)]&&_0xce6661[_0x1c06eb(0x205)]!==''&&(_0xce6661['servername']=_0x481503[_0x1c06eb(0x244)](_0xce6661[_0x1c06eb(0x338)])?'':_0xce6661[_0x1c06eb(0x338)]),_0x16037e[_0x1c06eb(0x1d2)](_0xce6661);}function _0x3e0b74(_0x223caa,_0x4a788e,_0x4834e1){const _0x1c2743=_0x246a76;_0x223caa[_0x1c2743(0x2b9)]=_0x3a22ff[_0x1c2743(0x334)];const _0x138dd3=new Error(_0x4834e1);Error[_0x1c2743(0x326)](_0x138dd3,_0x3e0b74),_0x4a788e[_0x1c2743(0x356)]?(_0x4a788e[_0x46d3d6]=!0x0,_0x4a788e[_0x1c2743(0x1cf)](),_0x4a788e['socket']&&!_0x4a788e[_0x1c2743(0x219)]['destroyed']&&_0x4a788e['socket'][_0x1c2743(0x20e)](),process[_0x1c2743(0x27c)](_0x4ab463,_0x223caa,_0x138dd3)):(_0x4a788e[_0x1c2743(0x20e)](_0x138dd3),_0x4a788e['once'](_0x1c2743(0x238),_0x223caa[_0x1c2743(0x2f0)][_0x1c2743(0x23c)](_0x223caa,'error')),_0x4a788e[_0x1c2743(0x2bf)]('close',_0x223caa[_0x1c2743(0x273)][_0x1c2743(0x23c)](_0x223caa)));}function _0x298b11(_0xb7da21,_0x49bd20,_0x7effc9){const _0x1882a6=_0x246a76;if(_0x49bd20){const _0x23d7db=_0x4da3eb(_0x49bd20)?_0x49bd20['size']:_0x1adaea(_0x49bd20)[_0x1882a6(0x221)];_0xb7da21['_socket']?_0xb7da21[_0x1882a6(0x1fb)]['_bufferedBytes']+=_0x23d7db:_0xb7da21[_0x1882a6(0x25e)]+=_0x23d7db;}if(_0x7effc9){const _0x4b252c=new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x20'+_0xb7da21[_0x1882a6(0x1f6)]+'\x20('+_0x149297[_0xb7da21[_0x1882a6(0x1f6)]]+')');process[_0x1882a6(0x27c)](_0x7effc9,_0x4b252c);}}function _0x4ba37a(_0xaf9daf,_0x53df47){const _0x4be95c=_0x246a76,_0x539f31=this[_0x2b3220];_0x539f31[_0x4be95c(0x24b)]=!0x0,_0x539f31[_0x4be95c(0x31b)]=_0x53df47,_0x539f31['_closeCode']=_0xaf9daf,_0x539f31[_0x4be95c(0x1f0)][_0x2b3220]!==void 0x0&&(_0x539f31[_0x4be95c(0x1f0)][_0x4be95c(0x1fe)](_0x4be95c(0x35c),_0x31c0c7),process['nextTick'](_0x38c599,_0x539f31[_0x4be95c(0x1f0)]),_0xaf9daf===0x3ed?_0x539f31[_0x4be95c(0x1c5)]():_0x539f31[_0x4be95c(0x1c5)](_0xaf9daf,_0x53df47));}function _0x1dbceb(){const _0x35d1c3=_0x246a76,_0x1d8217=this[_0x2b3220];_0x1d8217[_0x35d1c3(0x1ed)]||_0x1d8217[_0x35d1c3(0x1f0)]['resume']();}function _0x3903e9(_0x29936e){const _0x226c1b=_0x246a76,_0x5e7f09=this[_0x2b3220];_0x5e7f09[_0x226c1b(0x1f0)][_0x2b3220]!==void 0x0&&(_0x5e7f09[_0x226c1b(0x1f0)][_0x226c1b(0x1fe)]('data',_0x31c0c7),process[_0x226c1b(0x27c)](_0x38c599,_0x5e7f09[_0x226c1b(0x1f0)]),_0x5e7f09[_0x226c1b(0x1c5)](_0x29936e[_0x14219a])),_0x5e7f09['_errorEmitted']||(_0x5e7f09['_errorEmitted']=!0x0,_0x5e7f09[_0x226c1b(0x2f0)](_0x226c1b(0x238),_0x29936e));}function _0x707018(){const _0x446e84=_0x246a76;this[_0x2b3220][_0x446e84(0x273)]();}function _0x7cc3a8(_0x5f346e,_0x39023c){const _0x126606=_0x246a76;this[_0x2b3220][_0x126606(0x2f0)]('message',_0x5f346e,_0x39023c);}function _0xec1676(_0x5bb68f){const _0x53ef04=_0x246a76,_0x265a60=this[_0x2b3220];_0x265a60[_0x53ef04(0x265)]&&_0x265a60[_0x53ef04(0x346)](_0x5bb68f,!this[_0x53ef04(0x2e4)],_0x42b68f),_0x265a60[_0x53ef04(0x2f0)](_0x53ef04(0x2d8),_0x5bb68f);}function _0xb629c3(_0x23678b){const _0x5a127b=_0x246a76;this[_0x2b3220][_0x5a127b(0x2f0)](_0x5a127b(0x346),_0x23678b);}function _0x38c599(_0x33a527){const _0x26319c=_0x246a76;_0x33a527[_0x26319c(0x268)]();}function _0x321b43(_0x1d4b7e){const _0x38f8d5=_0x246a76,_0x1a960c=this[_0x2b3220];_0x1a960c[_0x38f8d5(0x1f6)]!==_0x3a22ff[_0x38f8d5(0x1e4)]&&(_0x1a960c[_0x38f8d5(0x1f6)]===_0x3a22ff['OPEN']&&(_0x1a960c['_readyState']=_0x3a22ff['CLOSING'],_0x14365f(_0x1a960c)),this[_0x38f8d5(0x1f0)]['end'](),_0x1a960c[_0x38f8d5(0x230)]||(_0x1a960c[_0x38f8d5(0x230)]=!0x0,_0x1a960c[_0x38f8d5(0x2f0)]('error',_0x1d4b7e)));}function _0x14365f(_0x3a1ff7){const _0x2d867b=_0x246a76;_0x3a1ff7[_0x2d867b(0x35e)]=setTimeout(_0x3a1ff7[_0x2d867b(0x1f0)][_0x2d867b(0x20e)][_0x2d867b(0x23c)](_0x3a1ff7[_0x2d867b(0x1f0)]),_0x1ad596);}function _0x30b2b9(){const _0x40123c=_0x246a76,_0x596f35=this[_0x2b3220];this[_0x40123c(0x1fe)](_0x40123c(0x1c5),_0x30b2b9),this[_0x40123c(0x1fe)](_0x40123c(0x35c),_0x31c0c7),this[_0x40123c(0x1fe)](_0x40123c(0x1f8),_0x5c6c4e),_0x596f35[_0x40123c(0x2b9)]=_0x3a22ff[_0x40123c(0x334)];let _0x41d397;!this['_readableState'][_0x40123c(0x2b5)]&&!_0x596f35[_0x40123c(0x24b)]&&!_0x596f35[_0x40123c(0x261)][_0x40123c(0x222)][_0x40123c(0x204)]&&(_0x41d397=_0x596f35[_0x40123c(0x1f0)][_0x40123c(0x226)]())!==null&&_0x596f35[_0x40123c(0x261)]['write'](_0x41d397),_0x596f35[_0x40123c(0x261)][_0x40123c(0x1f8)](),this[_0x2b3220]=void 0x0,clearTimeout(_0x596f35[_0x40123c(0x35e)]),_0x596f35[_0x40123c(0x261)][_0x40123c(0x222)][_0x40123c(0x1fd)]||_0x596f35[_0x40123c(0x261)]['_writableState'][_0x40123c(0x204)]?_0x596f35[_0x40123c(0x273)]():(_0x596f35[_0x40123c(0x261)]['on'](_0x40123c(0x238),_0x707018),_0x596f35[_0x40123c(0x261)]['on'](_0x40123c(0x2a7),_0x707018));}function _0x31c0c7(_0x2f8d85){const _0x2cdf2b=_0x246a76;this[_0x2b3220]['_receiver'][_0x2cdf2b(0x23a)](_0x2f8d85)||this[_0x2cdf2b(0x2f3)]();}function _0x5c6c4e(){const _0x371e92=_0x246a76,_0xaf8877=this[_0x2b3220];_0xaf8877[_0x371e92(0x2b9)]=_0x3a22ff['CLOSING'],_0xaf8877[_0x371e92(0x261)][_0x371e92(0x1f8)](),this[_0x371e92(0x1f8)]();}function _0x5e34eb(){const _0x27bd63=_0x246a76,_0x1949a0=this[_0x2b3220];this['removeListener'](_0x27bd63(0x238),_0x5e34eb),this['on'](_0x27bd63(0x238),_0x42b68f),_0x1949a0&&(_0x1949a0['_readyState']=_0x3a22ff['CLOSING'],this[_0x27bd63(0x20e)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x292a6f}=_0x3f0855;function _0x4d923e(_0x30bf2a){const _0x5ba66b=_0x5cf4;_0x30bf2a[_0x5ba66b(0x2f0)](_0x5ba66b(0x1c5));}function _0x6677f8(){const _0x233a9a=_0x5cf4;!this[_0x233a9a(0x1e7)]&&this[_0x233a9a(0x222)][_0x233a9a(0x1fd)]&&this[_0x233a9a(0x20e)]();}function _0x17c418(_0x2d4e8c){const _0x5ce000=_0x5cf4;this[_0x5ce000(0x1fe)](_0x5ce000(0x238),_0x17c418),this[_0x5ce000(0x20e)](),this['listenerCount'](_0x5ce000(0x238))===0x0&&this[_0x5ce000(0x2f0)](_0x5ce000(0x238),_0x2d4e8c);}function _0x49ab03(_0x398c39,_0x4560f9){const _0x4d121c=_0x5cf4;let _0x3f850c=!0x0;const _0x2a3b1b=new _0x292a6f({..._0x4560f9,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x398c39['on']('message',function(_0x151705,_0x2099ff){const _0x539b6e=_0x5cf4,_0x369b2d=!_0x2099ff&&_0x2a3b1b[_0x539b6e(0x2e8)][_0x539b6e(0x2ce)]?_0x151705[_0x539b6e(0x304)]():_0x151705;_0x2a3b1b[_0x539b6e(0x277)](_0x369b2d)||_0x398c39['pause']();}),_0x398c39[_0x4d121c(0x2bf)]('error',function(_0x54bd25){const _0x73c636=_0x4d121c;_0x2a3b1b[_0x73c636(0x1e7)]||(_0x3f850c=!0x1,_0x2a3b1b[_0x73c636(0x20e)](_0x54bd25));}),_0x398c39['once'](_0x4d121c(0x1c5),function(){const _0x24ba48=_0x4d121c;_0x2a3b1b['destroyed']||_0x2a3b1b[_0x24ba48(0x277)](null);}),_0x2a3b1b[_0x4d121c(0x2c0)]=function(_0x150114,_0x324384){const _0x1faa10=_0x4d121c;if(_0x398c39[_0x1faa10(0x1f6)]===_0x398c39[_0x1faa10(0x1e4)]){_0x324384(_0x150114),process[_0x1faa10(0x27c)](_0x4d923e,_0x2a3b1b);return;}let _0x1ff865=!0x1;_0x398c39[_0x1faa10(0x2bf)](_0x1faa10(0x238),function(_0x4be125){_0x1ff865=!0x0,_0x324384(_0x4be125);}),_0x398c39[_0x1faa10(0x2bf)](_0x1faa10(0x1c5),function(){const _0x44b52b=_0x1faa10;_0x1ff865||_0x324384(_0x150114),process[_0x44b52b(0x27c)](_0x4d923e,_0x2a3b1b);}),_0x3f850c&&_0x398c39['terminate']();},_0x2a3b1b[_0x4d121c(0x21f)]=function(_0x2aefe1){const _0x807a6b=_0x4d121c;if(_0x398c39[_0x807a6b(0x1f6)]===_0x398c39['CONNECTING']){_0x398c39['once'](_0x807a6b(0x1ca),function(){const _0x5d2ce2=_0x807a6b;_0x2a3b1b[_0x5d2ce2(0x21f)](_0x2aefe1);});return;}_0x398c39[_0x807a6b(0x1f0)]!==null&&(_0x398c39[_0x807a6b(0x1f0)][_0x807a6b(0x222)][_0x807a6b(0x1fd)]?(_0x2aefe1(),_0x2a3b1b[_0x807a6b(0x2e8)][_0x807a6b(0x2b5)]&&_0x2a3b1b[_0x807a6b(0x20e)]()):(_0x398c39[_0x807a6b(0x1f0)][_0x807a6b(0x2bf)](_0x807a6b(0x2a7),function(){_0x2aefe1();}),_0x398c39[_0x807a6b(0x1c5)]()));},_0x2a3b1b[_0x4d121c(0x2de)]=function(){const _0xbba3c8=_0x4d121c;_0x398c39[_0xbba3c8(0x1ed)]&&_0x398c39[_0xbba3c8(0x268)]();},_0x2a3b1b[_0x4d121c(0x315)]=function(_0x198c3b,_0x5f4f8f,_0xe7f28b){const _0x3a0dc9=_0x4d121c;if(_0x398c39[_0x3a0dc9(0x1f6)]===_0x398c39['CONNECTING']){_0x398c39[_0x3a0dc9(0x2bf)]('open',function(){_0x2a3b1b['_write'](_0x198c3b,_0x5f4f8f,_0xe7f28b);});return;}_0x398c39['send'](_0x198c3b,_0xe7f28b);},_0x2a3b1b['on'](_0x4d121c(0x1f8),_0x6677f8),_0x2a3b1b['on']('error',_0x17c418),_0x2a3b1b;}return Oe=_0x49ab03,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=Wt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x133ac0}=ne();function _0x35ebaf(_0x3e9e7b){const _0x33b500=_0x5cf4,_0x5a6f75=new Set();let _0xa39107=-0x1,_0x50b57c=-0x1,_0x3d8dbb=0x0;for(_0x3d8dbb;_0x3d8dbb<_0x3e9e7b[_0x33b500(0x221)];_0x3d8dbb++){const _0x2477ec=_0x3e9e7b[_0x33b500(0x2e2)](_0x3d8dbb);if(_0x50b57c===-0x1&&_0x133ac0[_0x2477ec]===0x1)_0xa39107===-0x1&&(_0xa39107=_0x3d8dbb);else{if(_0x3d8dbb!==0x0&&(_0x2477ec===0x20||_0x2477ec===0x9))_0x50b57c===-0x1&&_0xa39107!==-0x1&&(_0x50b57c=_0x3d8dbb);else{if(_0x2477ec===0x2c){if(_0xa39107===-0x1)throw new SyntaxError(_0x33b500(0x1cb)+_0x3d8dbb);_0x50b57c===-0x1&&(_0x50b57c=_0x3d8dbb);const _0x3a815d=_0x3e9e7b[_0x33b500(0x2c8)](_0xa39107,_0x50b57c);if(_0x5a6f75[_0x33b500(0x314)](_0x3a815d))throw new SyntaxError('The\x20\x22'+_0x3a815d+_0x33b500(0x2da));_0x5a6f75[_0x33b500(0x2e0)](_0x3a815d),_0xa39107=_0x50b57c=-0x1;}else throw new SyntaxError(_0x33b500(0x1cb)+_0x3d8dbb);}}}if(_0xa39107===-0x1||_0x50b57c!==-0x1)throw new SyntaxError(_0x33b500(0x203));const _0x595cc0=_0x3e9e7b[_0x33b500(0x2c8)](_0xa39107,_0x3d8dbb);if(_0x5a6f75[_0x33b500(0x314)](_0x595cc0))throw new SyntaxError(_0x33b500(0x29b)+_0x595cc0+_0x33b500(0x2da));return _0x5a6f75[_0x33b500(0x2e0)](_0x595cc0),_0x5a6f75;}return Ce={'parse':_0x35ebaf},Ce;}var Te,ot;function er(){const _0x2e8e55=_0x4573dd;if(ot)return Te;ot=0x1;const _0x359f25=_0xc8b08e,_0x407a76=_0x49d0a7,{Duplex:_0x3f03e2}=_0x3f0855,{createHash:_0x387ca5}=_0x1469aa,_0x583ed5=pt(),_0x34f837=he(),_0x3410b0=Jt(),_0x4596b4=Ie(),{GUID:_0x4065a9,kWebSocket:_0x234c73}=V(),_0x2fb4b2=/^[+/0-9A-Za-z]{22}==$/,_0x17d612=0x0,_0x1f2944=0x1,_0x494d7d=0x2;class _0x1f21c5 extends _0x359f25{constructor(_0x5426ab,_0x2d6bf1){const _0x1c820e=_0x5cf4;if(super(),_0x5426ab={'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':_0x4596b4,..._0x5426ab},_0x5426ab[_0x1c820e(0x2dd)]==null&&!_0x5426ab[_0x1c820e(0x206)]&&!_0x5426ab[_0x1c820e(0x292)]||_0x5426ab['port']!=null&&(_0x5426ab[_0x1c820e(0x206)]||_0x5426ab[_0x1c820e(0x292)])||_0x5426ab[_0x1c820e(0x206)]&&_0x5426ab[_0x1c820e(0x292)])throw new TypeError(_0x1c820e(0x2aa));if(_0x5426ab[_0x1c820e(0x2dd)]!=null?(this[_0x1c820e(0x22b)]=_0x407a76[_0x1c820e(0x210)]((_0x56b0c8,_0x17e78b)=>{const _0x147372=_0x1c820e,_0x40fcb8=_0x407a76[_0x147372(0x231)][0x1aa];_0x17e78b['writeHead'](0x1aa,{'Content-Length':_0x40fcb8[_0x147372(0x221)],'Content-Type':'text/plain'}),_0x17e78b['end'](_0x40fcb8);}),this['_server'][_0x1c820e(0x2a5)](_0x5426ab[_0x1c820e(0x2dd)],_0x5426ab[_0x1c820e(0x338)],_0x5426ab['backlog'],_0x2d6bf1)):_0x5426ab[_0x1c820e(0x206)]&&(this[_0x1c820e(0x22b)]=_0x5426ab['server']),this[_0x1c820e(0x22b)]){const _0x1eaadc=this[_0x1c820e(0x2f0)][_0x1c820e(0x23c)](this,_0x1c820e(0x272));this['_removeListeners']=_0x235847(this[_0x1c820e(0x22b)],{'listening':this[_0x1c820e(0x2f0)]['bind'](this,'listening'),'error':this[_0x1c820e(0x2f0)]['bind'](this,_0x1c820e(0x238)),'upgrade':(_0x204e48,_0x1950d3,_0x1511ed)=>{const _0x19877a=_0x1c820e;this[_0x19877a(0x26f)](_0x204e48,_0x1950d3,_0x1511ed,_0x1eaadc);}});}_0x5426ab[_0x1c820e(0x23e)]===!0x0&&(_0x5426ab[_0x1c820e(0x23e)]={}),_0x5426ab[_0x1c820e(0x1ba)]&&(this[_0x1c820e(0x26a)]=new Set(),this[_0x1c820e(0x22a)]=!0x1),this[_0x1c820e(0x35f)]=_0x5426ab,this['_state']=_0x17d612;}['address'](){const _0x4b7e0d=_0x5cf4;if(this[_0x4b7e0d(0x35f)]['noServer'])throw new Error(_0x4b7e0d(0x320));return this['_server']?this[_0x4b7e0d(0x22b)][_0x4b7e0d(0x327)]():null;}['close'](_0x1180bf){const _0x734780=_0x5cf4;if(this[_0x734780(0x337)]===_0x494d7d){_0x1180bf&&this[_0x734780(0x2bf)](_0x734780(0x1c5),()=>{_0x1180bf(new Error('The\x20server\x20is\x20not\x20running'));}),process[_0x734780(0x27c)](_0x2da09d,this);return;}if(_0x1180bf&&this[_0x734780(0x2bf)](_0x734780(0x1c5),_0x1180bf),this['_state']!==_0x1f2944){if(this['_state']=_0x1f2944,this[_0x734780(0x35f)][_0x734780(0x292)]||this[_0x734780(0x35f)]['server'])this['_server']&&(this['_removeListeners'](),this[_0x734780(0x2ed)]=this['_server']=null),this[_0x734780(0x26a)]?this[_0x734780(0x26a)][_0x734780(0x2e7)]?this['_shouldEmitClose']=!0x0:process[_0x734780(0x27c)](_0x2da09d,this):process[_0x734780(0x27c)](_0x2da09d,this);else{const _0x1929af=this[_0x734780(0x22b)];this[_0x734780(0x2ed)](),this['_removeListeners']=this[_0x734780(0x22b)]=null,_0x1929af[_0x734780(0x1c5)](()=>{_0x2da09d(this);});}}}[_0x2e8e55(0x342)](_0x269b17){const _0x366845=_0x2e8e55;if(this[_0x366845(0x35f)]['path']){const _0x4d98c6=_0x269b17[_0x366845(0x333)][_0x366845(0x318)]('?');if((_0x4d98c6!==-0x1?_0x269b17[_0x366845(0x333)][_0x366845(0x2c8)](0x0,_0x4d98c6):_0x269b17[_0x366845(0x333)])!==this[_0x366845(0x35f)]['path'])return!0x1;}return!0x0;}[_0x2e8e55(0x26f)](_0x43af72,_0x46232b,_0x2a4aaa,_0x106752){const _0x297083=_0x2e8e55;_0x46232b['on'](_0x297083(0x238),_0x1192fd);const _0x3d7b03=_0x43af72[_0x297083(0x1c1)]['sec-websocket-key'],_0x31715b=_0x43af72[_0x297083(0x1c1)][_0x297083(0x1d1)],_0x356702=+_0x43af72[_0x297083(0x1c1)][_0x297083(0x23f)];if(_0x43af72[_0x297083(0x264)]!==_0x297083(0x276)){_0x4f9532(this,_0x43af72,_0x46232b,0x195,_0x297083(0x281));return;}if(_0x31715b===void 0x0||_0x31715b[_0x297083(0x259)]()!==_0x297083(0x2d7)){_0x4f9532(this,_0x43af72,_0x46232b,0x190,'Invalid\x20Upgrade\x20header');return;}if(_0x3d7b03===void 0x0||!_0x2fb4b2['test'](_0x3d7b03)){_0x4f9532(this,_0x43af72,_0x46232b,0x190,_0x297083(0x241));return;}if(_0x356702!==0xd&&_0x356702!==0x8){_0x4f9532(this,_0x43af72,_0x46232b,0x190,_0x297083(0x2a2),{'Sec-WebSocket-Version':_0x297083(0x236)});return;}if(!this[_0x297083(0x342)](_0x43af72)){_0x4f3826(_0x46232b,0x190);return;}const _0x27a676=_0x43af72[_0x297083(0x1c1)][_0x297083(0x22e)];let _0x45b517=new Set();if(_0x27a676!==void 0x0)try{_0x45b517=_0x3410b0['parse'](_0x27a676);}catch{_0x4f9532(this,_0x43af72,_0x46232b,0x190,_0x297083(0x2bb));return;}const _0xecedb6=_0x43af72['headers'][_0x297083(0x2f8)],_0x23f9cc={};if(this[_0x297083(0x35f)]['perMessageDeflate']&&_0xecedb6!==void 0x0){const _0x49a5d0=new _0x34f837(this[_0x297083(0x35f)][_0x297083(0x23e)],!0x0,this[_0x297083(0x35f)][_0x297083(0x22f)]);try{const _0x5f3684=_0x583ed5[_0x297083(0x363)](_0xecedb6);_0x5f3684[_0x34f837[_0x297083(0x293)]]&&(_0x49a5d0['accept'](_0x5f3684[_0x34f837['extensionName']]),_0x23f9cc[_0x34f837[_0x297083(0x293)]]=_0x49a5d0);}catch{_0x4f9532(this,_0x43af72,_0x46232b,0x190,_0x297083(0x2b6));return;}}if(this[_0x297083(0x35f)][_0x297083(0x33b)]){const _0x5a441e={'origin':_0x43af72[_0x297083(0x1c1)][''+(_0x356702===0x8?_0x297083(0x1bb):_0x297083(0x35a))],'secure':!!(_0x43af72[_0x297083(0x219)][_0x297083(0x30a)]||_0x43af72[_0x297083(0x219)][_0x297083(0x30f)]),'req':_0x43af72};if(this[_0x297083(0x35f)][_0x297083(0x33b)][_0x297083(0x221)]===0x2){this['options'][_0x297083(0x33b)](_0x5a441e,(_0x3ccf73,_0x540c3d,_0xba7a1a,_0x540ded)=>{const _0x243d6a=_0x297083;if(!_0x3ccf73)return _0x4f3826(_0x46232b,_0x540c3d||0x191,_0xba7a1a,_0x540ded);this[_0x243d6a(0x32d)](_0x23f9cc,_0x3d7b03,_0x45b517,_0x43af72,_0x46232b,_0x2a4aaa,_0x106752);});return;}if(!this['options']['verifyClient'](_0x5a441e))return _0x4f3826(_0x46232b,0x191);}this[_0x297083(0x32d)](_0x23f9cc,_0x3d7b03,_0x45b517,_0x43af72,_0x46232b,_0x2a4aaa,_0x106752);}[_0x2e8e55(0x32d)](_0x3d813e,_0x1bbc41,_0x43e990,_0x34b825,_0x256538,_0x22330f,_0x4613d0){const _0x165992=_0x2e8e55;if(!_0x256538[_0x165992(0x288)]||!_0x256538['writable'])return _0x256538[_0x165992(0x20e)]();if(_0x256538[_0x234c73])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this[_0x165992(0x337)]>_0x17d612)return _0x4f3826(_0x256538,0x1f7);const _0x17412f=[_0x165992(0x223),'Upgrade:\x20websocket',_0x165992(0x200),_0x165992(0x20c)+_0x387ca5(_0x165992(0x1c2))[_0x165992(0x245)](_0x1bbc41+_0x4065a9)[_0x165992(0x1dc)]('base64')],_0x2f686b=new this['options'][(_0x165992(0x251))](null,void 0x0,this[_0x165992(0x35f)]);if(_0x43e990[_0x165992(0x2e7)]){const _0x1d968a=this[_0x165992(0x35f)][_0x165992(0x1ef)]?this['options'][_0x165992(0x1ef)](_0x43e990,_0x34b825):_0x43e990['values']()[_0x165992(0x2fd)]()[_0x165992(0x1df)];_0x1d968a&&(_0x17412f[_0x165992(0x277)](_0x165992(0x26d)+_0x1d968a),_0x2f686b['_protocol']=_0x1d968a);}if(_0x3d813e[_0x34f837[_0x165992(0x293)]]){const _0x5ee63f=_0x3d813e[_0x34f837[_0x165992(0x293)]][_0x165992(0x2e3)],_0xca3785=_0x583ed5['format']({[_0x34f837[_0x165992(0x293)]]:[_0x5ee63f]});_0x17412f[_0x165992(0x277)](_0x165992(0x28f)+_0xca3785),_0x2f686b[_0x165992(0x1d8)]=_0x3d813e;}this[_0x165992(0x2f0)](_0x165992(0x1c1),_0x17412f,_0x34b825),_0x256538[_0x165992(0x23a)](_0x17412f[_0x165992(0x1c0)]('\x0d\x0a')[_0x165992(0x1bd)]('\x0d\x0a')),_0x256538[_0x165992(0x1fe)](_0x165992(0x238),_0x1192fd),_0x2f686b['setSocket'](_0x256538,_0x22330f,{'allowSynchronousEvents':this[_0x165992(0x35f)]['allowSynchronousEvents'],'maxPayload':this[_0x165992(0x35f)][_0x165992(0x22f)],'skipUTF8Validation':this[_0x165992(0x35f)][_0x165992(0x2c1)]}),this[_0x165992(0x26a)]&&(this[_0x165992(0x26a)][_0x165992(0x2e0)](_0x2f686b),_0x2f686b['on'](_0x165992(0x1c5),()=>{const _0x429cff=_0x165992;this[_0x429cff(0x26a)]['delete'](_0x2f686b),this[_0x429cff(0x22a)]&&!this['clients'][_0x429cff(0x2e7)]&&process[_0x429cff(0x27c)](_0x2da09d,this);})),_0x4613d0(_0x2f686b,_0x34b825);}}Te=_0x1f21c5;function _0x235847(_0x3d0752,_0x27ec80){const _0x5b20a6=_0x2e8e55;for(const _0x4151b9 of Object[_0x5b20a6(0x26b)](_0x27ec80))_0x3d0752['on'](_0x4151b9,_0x27ec80[_0x4151b9]);return function(){for(const _0x1f8ca1 of Object['keys'](_0x27ec80))_0x3d0752['removeListener'](_0x1f8ca1,_0x27ec80[_0x1f8ca1]);};}function _0x2da09d(_0x404da7){const _0x3ac1ed=_0x2e8e55;_0x404da7[_0x3ac1ed(0x337)]=_0x494d7d,_0x404da7['emit'](_0x3ac1ed(0x1c5));}function _0x1192fd(){this['destroy']();}function _0x4f3826(_0x3208fc,_0x1f32b5,_0x1bd065,_0x4886b3){const _0x47fa54=_0x2e8e55;_0x1bd065=_0x1bd065||_0x407a76[_0x47fa54(0x231)][_0x1f32b5],_0x4886b3={'Connection':'close','Content-Type':_0x47fa54(0x22c),'Content-Length':Buffer[_0x47fa54(0x2a8)](_0x1bd065),..._0x4886b3},_0x3208fc['once'](_0x47fa54(0x2a7),_0x3208fc['destroy']),_0x3208fc['end'](_0x47fa54(0x233)+_0x1f32b5+'\x20'+_0x407a76[_0x47fa54(0x231)][_0x1f32b5]+'\x0d\x0a'+Object[_0x47fa54(0x26b)](_0x4886b3)['map'](_0x4c1722=>_0x4c1722+':\x20'+_0x4886b3[_0x4c1722])['join']('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0x1bd065);}function _0x4f9532(_0x1b1a54,_0x3525c3,_0x279087,_0x1fb454,_0x2be650,_0x3a0686){const _0xe41fc4=_0x2e8e55;if(_0x1b1a54['listenerCount']('wsClientError')){const _0x3617ce=new Error(_0x2be650);Error[_0xe41fc4(0x326)](_0x3617ce,_0x4f9532),_0x1b1a54['emit'](_0xe41fc4(0x345),_0x3617ce,_0x279087,_0x3525c3);}else _0x4f3826(_0x279087,_0x1fb454,_0x2be650,_0x3a0686);}return Te;}er();var tr=Object['getOwnPropertyDescriptor'],rr=(_0x4c85d6,_0x45b436,_0xd5c95a,_0xf2704a)=>{for(var _0x264725=_0xf2704a>0x1?void 0x0:_0xf2704a?tr(_0x45b436,_0xd5c95a):_0x45b436,_0x54e7f2=_0x4c85d6['length']-0x1,_0x408b4f;_0x54e7f2>=0x0;_0x54e7f2--)(_0x408b4f=_0x4c85d6[_0x54e7f2])&&(_0x264725=_0x408b4f(_0x264725)||_0x264725);return _0x264725;},sr=(_0x5b0777,_0x2c87c8)=>(_0x42cfc6,_0x3c14a4)=>_0x2c87c8(_0x42cfc6,_0x3c14a4,_0x5b0777);let Ne=class extends _0x45a1d6{constructor(_0x4a5d29){super(),this['_configService']=_0x4a5d29;}['createSocket'](_0x17ef79){const _0x5c7f9a=_0x4573dd;var _0x9178e2;const _0x53189d=(_0x9178e2=this[_0x5c7f9a(0x308)][_0x5c7f9a(0x1b7)](Be))==null?void 0x0:_0x9178e2[_0x5c7f9a(0x227)];try{const _0x2b370f=new Qt(_0x17ef79,{'headers':{..._0x53189d}}),_0x56721f=new _0x1a0095();return{'URL':_0x17ef79,'close':(_0x470c38,_0x592dd0)=>{const _0x1c95c3=_0x5c7f9a;_0x2b370f['close'](_0x470c38,_0x592dd0),_0x56721f[_0x1c95c3(0x270)]();},'send':_0x669500=>{const _0xb89df6=_0x5c7f9a;_0x2b370f[_0xb89df6(0x2f4)](_0x669500);},'open$':new _0x363113(_0x3b6443=>{const _0x48facd=_0x5c7f9a,_0x5f3266=_0x557104=>_0x3b6443[_0x48facd(0x2fd)](_0x557104);_0x2b370f[_0x48facd(0x329)]('open',_0x5f3266),_0x56721f[_0x48facd(0x2e0)](_0xe543bd(()=>_0x2b370f['removeEventListener']('open',_0x5f3266)));})[_0x5c7f9a(0x2d6)](_0x96221d()),'close$':new _0x363113(_0x121cdb=>{const _0x3af9da=_0x5c7f9a,_0x5d7c65=_0x45dc4d=>_0x121cdb[_0x3af9da(0x2fd)](_0x45dc4d);_0x2b370f[_0x3af9da(0x329)](_0x3af9da(0x1c5),_0x5d7c65),_0x56721f[_0x3af9da(0x2e0)](_0xe543bd(()=>_0x2b370f['removeEventListener']('close',_0x5d7c65)));})[_0x5c7f9a(0x2d6)](_0x96221d()),'error$':new _0x363113(_0x42ba56=>{const _0x5a3ed7=_0x5c7f9a,_0x3bb3e9=_0x362b18=>_0x42ba56[_0x5a3ed7(0x2fd)](_0x362b18);_0x2b370f[_0x5a3ed7(0x329)](_0x5a3ed7(0x238),_0x3bb3e9),_0x56721f[_0x5a3ed7(0x2e0)](_0xe543bd(()=>_0x2b370f[_0x5a3ed7(0x1eb)](_0x5a3ed7(0x238),_0x3bb3e9)));})[_0x5c7f9a(0x2d6)](_0x96221d()),'message$':new _0x363113(_0x483188=>{const _0xba827a=_0x5c7f9a,_0x3ae6f0=_0x1df187=>_0x483188[_0xba827a(0x2fd)](_0x1df187);_0x2b370f[_0xba827a(0x329)](_0xba827a(0x257),_0x3ae6f0),_0x56721f[_0xba827a(0x2e0)](_0xe543bd(()=>_0x2b370f[_0xba827a(0x1eb)](_0xba827a(0x257),_0x3ae6f0)));})[_0x5c7f9a(0x2d6)](_0x96221d())};}catch(_0x1349d7){return console[_0x5c7f9a(0x238)](_0x1349d7),null;}}};Ne=rr([sr(0x0,_0x3d50f1)],Ne);function _0x5cf4(_0x44b32a,_0x11c311){const _0x58db82=_0x58db();return _0x5cf4=function(_0x5cf48e,_0x2488a7){_0x5cf48e=_0x5cf48e-0x1af;let _0x5ca5de=_0x58db82[_0x5cf48e];return _0x5ca5de;},_0x5cf4(_0x44b32a,_0x11c311);}var ir=Object[_0x4573dd(0x2cc)],nr=Object[_0x4573dd(0x25d)],or=(_0x56a5df,_0x53e603,_0x16bce2)=>_0x53e603 in _0x56a5df?ir(_0x56a5df,_0x53e603,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x16bce2}):_0x56a5df[_0x53e603]=_0x16bce2,ar=(_0xa33e15,_0x4dfb69,_0x3a3f0c,_0x407348)=>{const _0x103ee8=_0x4573dd;for(var _0x1697ce=_0x407348>0x1?void 0x0:_0x407348?nr(_0x4dfb69,_0x3a3f0c):_0x4dfb69,_0x59cb83=_0xa33e15[_0x103ee8(0x221)]-0x1,_0x15e36b;_0x59cb83>=0x0;_0x59cb83--)(_0x15e36b=_0xa33e15[_0x59cb83])&&(_0x1697ce=_0x15e36b(_0x1697ce)||_0x1697ce);return _0x1697ce;},ke=(_0x2d888d,_0x133db8)=>(_0x40707a,_0x2b4148)=>_0x133db8(_0x40707a,_0x2b4148,_0x2d888d),lr=(_0x2a9dab,_0x42cfee,_0x5cb138)=>or(_0x2a9dab,_0x42cfee+'',_0x5cb138);let Pe=class extends _0x245424{constructor(_0x260829=Ft,_0x438c6a,_0x11c144,_0xe3489d){const _0x4d34a4=_0x4573dd;_0x260829[_0x4d34a4(0x227)]||_0x438c6a[_0x4d34a4(0x335)](_0x4d34a4(0x355)),super(),this['_configService']=_0x11c144,this[_0x4d34a4(0x2e5)]=_0xe3489d,this[_0x4d34a4(0x308)][_0x4d34a4(0x207)](Be,_0x260829);}['onStarting'](){const _0x481541=_0x4573dd;this[_0x481541(0x1ea)]();}['_registerDependencies'](){_0x2cc219(this['_injector'],[[_0x358938,{'useClass':Ne}]]);}};lr(Pe,'pluginName',_0x4573dd(0x2b8)),Pe=ar([_0x6d079(_0xd2836d),ke(0x1,_0x40ea35),ke(0x2,_0x3d50f1),ke(0x3,_0x399293(_0x590e27))],Pe);var fr=Object[_0x4573dd(0x25d)],cr=(_0xdfca33,_0x2b8ca0,_0x27f619,_0x4d809a)=>{const _0x45219e=_0x4573dd;for(var _0x5ee3d0=_0x4d809a>0x1?void 0x0:_0x4d809a?fr(_0x2b8ca0,_0x27f619):_0x2b8ca0,_0x50b8f2=_0xdfca33[_0x45219e(0x221)]-0x1,_0xefd811;_0x50b8f2>=0x0;_0x50b8f2--)(_0xefd811=_0xdfca33[_0x50b8f2])&&(_0x5ee3d0=_0xefd811(_0x5ee3d0)||_0x5ee3d0);return _0x5ee3d0;},se=(_0x4b954b,_0x2dbc71)=>(_0x301fcb,_0x4ac588)=>_0x2dbc71(_0x301fcb,_0x4ac588,_0x4b954b);let at=class extends _0x54368a{constructor(_0x47fccb,_0x18d9ec,_0x27e600,_0x3a3344,_0x5849e3){const _0x28bb40=_0x4573dd;super(_0x47fccb,_0x18d9ec,_0x27e600,_0x3a3344,_0x5849e3);const _0x4f3cea=this[_0x28bb40(0x308)][_0x28bb40(0x1b7)](Be);this['_httpService'][_0x28bb40(0x1d3)]({'interceptor':(_0x5c6f5c,_0x1ed401)=>{const _0x110150=_0x28bb40;var _0x3dfa60;const _0x31289e=_0x5c6f5c['headers'];return(_0x3dfa60=_0x4f3cea==null?void 0x0:_0x4f3cea[_0x110150(0x227)])!=null&&_0x3dfa60[_0x110150(0x20a)]&&_0x31289e[_0x110150(0x1b1)](_0x110150(0x1b6),_0x4f3cea[_0x110150(0x227)][_0x110150(0x20a)]),_0x1ed401(_0x5c6f5c);}});}async[_0x4573dd(0x2c5)](_0x39ac04){const _0x2e3209=_0x4573dd;return this[_0x2e3209(0x362)](_0x39ac04);}};at=cr([se(0x0,_0x399293(_0x590e27)),se(0x1,_0x399293(_0x16d200)),se(0x2,_0x3d50f1),se(0x3,_0x40ea35),se(0x4,_0x7885ea)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};