@univerjs-pro/collaboration-client-node 0.10.14-nightly.202511070939 → 0.10.14-nightly.202511080715

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0xa7a424=_0x1faa;(function(_0x3affa2,_0x51be8f){const _0x320050=_0x1faa,_0x1539bc=_0x3affa2();while(!![]){try{const _0x45e2d8=parseInt(_0x320050(0xb3))/0x1*(-parseInt(_0x320050(0xcb))/0x2)+parseInt(_0x320050(0xd6))/0x3+-parseInt(_0x320050(0xa0))/0x4*(-parseInt(_0x320050(0x148))/0x5)+parseInt(_0x320050(0xf4))/0x6*(parseInt(_0x320050(0xd2))/0x7)+parseInt(_0x320050(0x109))/0x8+-parseInt(_0x320050(0x151))/0x9*(-parseInt(_0x320050(0xe4))/0xa)+-parseInt(_0x320050(0x23c))/0xb;if(_0x45e2d8===_0x51be8f)break;else _0x1539bc['push'](_0x1539bc['shift']());}catch(_0x1f8aae){_0x1539bc['push'](_0x1539bc['shift']());}}}(_0xbae9,0xa69a6));import{UniverCollaborationClientPlugin as _0x1645b3,CollaborationSocketService as _0x765c0f}from'@univerjs-pro/collaboration-client';import{Disposable as _0x507ed8,DisposableCollection as _0x8da5ed,toDisposable as _0x578d41,IConfigService as _0x368d87,DependentOn as _0x376cf3,ILogService as _0x2d4816,Inject as _0xc0da8d,Injector as _0xc8f60a,Plugin as _0x27b1a3,registerDependencies as _0x42c9b0}from'@univerjs/core';import{ISocketService as _0x547534,HTTPService as _0x5704bf}from'@univerjs/network';import{Observable as _0x61d4f4,share as _0x338037}from'rxjs';import _0x3f7707 from'events';import _0x30486f from'https';import _0x215007 from'http';import _0x2d3ff9 from'net';import _0x2d5ad3 from'tls';import _0x47cf61 from'crypto';import _0x566c0f from'stream';import _0x2b1d85 from'url';import _0x3415ee from'zlib';import _0x34fd8d from'buffer';import{ISnapshotServerService as _0xaf4332}from'@univerjs-pro/collaboration';const Be='collaboration-client-node.config',Ft={'customHeaders':{}};function _0xbae9(){const _0x2d09f7=['listenerCount','WS_ERR_UNEXPECTED_MASK','580THbQxN','wss:','readUInt16BE','authorized','protocolVersion','WS_ERR_INVALID_UTF8','_errorEmitted','push','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','emit','sha1','password','Cookie','byteOffset','hash','createConnection','18qvTQoC','timeout','_state','_isServer','haveLength','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','clientNoContextTakeover','_threshold','toString','has','kMessage','createSocket','_receiver','fin','handshakeTimeout','Max\x20payload\x20size\x20exceeded','_messageLength','arraybuffer','_readyState','HTTP/1.1\x20101\x20Switching\x20Protocols','followRedirects','3213496DWROKG','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','_bufferedAmount','_readableState','search','_bufferedBytes','Unexpected\x20end\x20of\x20input','defaultPort','shouldHandle','_final','pluginName','Invalid\x20Sec-WebSocket-Extensions\x20header','Sec-WebSocket-Protocol:\x20','object','string','find','WS_NO_UTF_8_VALIDATE','concurrencyLimit','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','isArray','data','endEmitted','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','sec-websocket-protocol','next','kError','allocUnsafe','uncork','isIP','default','sec-websocket-extensions','shift','env','_writableState','clientMaxWindowBits','freeze','charCodeAt','client','client_no_context_takeover','kData','nodebuffer','unmask','set','_destroy','setTimeout','origin','_firstFragment','pipe','\x0d\x0a\x0d\x0a','extensions','maxRedirects','mask','_removeListeners','map','listen','getMask','_configService','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','frame','_queue','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','conclude','8115DwVbqY','close','unexpected-response','removeListener','_allowSynchronousEvents','consume','address','acceptAsClient','statusCode','196254RJCfFC','zlibDeflateOptions','size','_opcode','__esModule','removeEventListener','verifyClient','wasClean','Invalid\x20HTTP\x20method','WebSocket','cookie','finishRequest','authorization','_maxPayload','acceptAsServer','Basic\x20','blob','server_max_window_bits','get','decompress','handleEvent','parse','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','_originalSecure','invalid\x20UTF-8\x20sequence','unshift','kCode','binaryType','call','_closeFrameSent','readable','split','_paused','Sec-WebSocket-Protocol','ping','finish','kReason','getInfo','function','perMessageDeflate','auth','_no_context_takeover','Connection:\x20Upgrade','prototype','Unknown\x20parameter\x20\x22','_shouldEmitClose','once','MASK\x20must\x20be\x20clear','noServer','jobs','maskBuffer','update','pathname','reason','type','CLOSED','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','setSocket','serverMaxWindowBits','username','Unexpected\x20character\x20at\x20index\x20','ws:','invalid\x20payload\x20length\x20','isPaused','_socket','flush','Upgrade:\x20websocket','_masked','end','readyState','_autoPong','terminate','generateMask','encrypted','sendFrame','_fin','readUInt32BE','_skipUTF8Validation','_compressed','apply','extensionName','enqueue','finished','emitClose','status-code','addEventListener','bufferedAmount','path','cork','Maximum\x20redirects\x20exceeded','getOwnPropertyDescriptor','allowSynchronousEvents','listening','Invalid\x20value\x20for\x20parameter\x20\x22','_originalHostOrSocketPath','dataMessage','kIsForOnEventAttribute','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','readOnly','_compress','getData','destroy','offer','Unexpected\x20server\x20response:\x20','onopen','text/plain','OPEN','FIN\x20must\x20be\x20set','WS_NO_BUFFER_UTIL','\x22:\x20','Opening\x20handshake\x20has\x20timed\x20out','writeUIntBE','Invalid\x20URL:\x20','values','opcode','server','_binaryType','client_max_window_bits','_closeTimer','url','GET','length','write','total-length','WS_ERR_INVALID_OPCODE','_httpService','createInflateRaw','pong','servername','construct','autoPong','writable','message','_buffers','upgrade','resume','dispatch','replace','_write','ws+unix:','protocol','Invalid\x20Sec-WebSocket-Accept\x20header','_registerDependencies','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','_fragments','_max_window_bits','indexOf','writeUInt16BE','\x22\x20subprotocol\x20is\x20duplicated','Sec-WebSocket-Extensions:\x20','isInteger','The\x20URL\x20contains\x20a\x20fragment\x20identifier','wsClientError','exports','registerHTTPInterceptor','location','reset','digest','_options','Sec-WebSocket-Origin','stream','_decompress','createDeflateRaw','add','delete','socket','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','setNoDelay','arrayBuffer','pow','\x20(supported\x20versions:\x20','handleProtocols','The\x20server\x20is\x20not\x20running','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','sec-websocket-origin','\x22\x20must\x20have\x20only\x20a\x20single\x20value','onerror','send','CLOSING','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','_read','Module','_closeFrameReceived','connection','listeners','invalid\x20opcode\x20','sec-websocket-accept','CONNECTING','callback','base64','createError','isServer','getConfig','pause','toStringTag','WS_ERR_EXPECTED_FIN','hostname','kTarget','isView','destroyed','startLoop','handleUpgrade','kType','byteLength','_redirects','WS_ERR_UNEXPECTED_RSV_1','_loop','toLowerCase','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','WebSocket\x20is\x20not\x20open:\x20readyState\x20','defineProperty','_req','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','threshold','dequeue','createServer','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','Server\x20sent\x20an\x20invalid\x20subprotocol','getBlobData','join','_closeMessage','captureStackTrace','keys','params','normalizeParams','_totalPayloadLength','websocket','value','Origin','objectMode','accept','headers','request','then','Blob','36192574hPvytv','getPayloadLength64','_maskBuffer','read','bind','create','nextTick','maxPayload','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','HTTP/1.1\x20','response','clients','host','The\x20\x22','sec-websocket-key','text/html','error','_server','constructor','test','MASK\x20must\x20be\x20set','warn','errorEmitted','13,\x208','Sec-WebSocket-Extensions','forEach','format','onclose','writeHead','2036rxXLpA','clientTracking','from','_errored','invalid\x20opcode\x200','Sec-WebSocket-Accept:\x20','options','hasOwnProperty','isValidUTF8','Z_SYNC_FLUSH','onmessage','STATUS_CODES','open','http:','_payloadLength','_extensions','drain','_closeCode','code','278189ofMlxT','cleanup','port','customHeaders','_sender','Invalid\x20WebSocket\x20frame:\x20','_inflate','serverNoContextTakeover','_protocol','slice','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','Z_DEFAULT_WINDOWBITS','_fragmented','getPayloadLength16','target','server_no_context_takeover','concat','_originalIpc','Invalid\x20Upgrade\x20header','compress','_url','buffers','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','redirect','2FLYTIP','kListener','skipUTF8Validation','connect','_generateMask','species','pending','1773723JPjJFh','alloc','buffer','abort','2994360KuIFaL','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','number','_deflate','sec-websocket-version','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','socketPath','rsv1','_mask','Server\x20sent\x20no\x20subprotocol','RSV1\x20must\x20be\x20clear','completeUpgrade'];_0xbae9=function(){return _0x2d09f7;};return _0xbae9();}function Wt(_0x39bf59){const _0x1ba3c4=_0x1faa;return _0x39bf59&&_0x39bf59[_0x1ba3c4(0x155)]&&Object[_0x1ba3c4(0x17c)]['hasOwnProperty']['call'](_0x39bf59,_0x1ba3c4(0x127))?_0x39bf59[_0x1ba3c4(0x127)]:_0x39bf59;}function ut(_0x27a1d0){const _0x2e6a3e=_0x1faa;if(Object[_0x2e6a3e(0x17c)][_0x2e6a3e(0xa7)][_0x2e6a3e(0x16d)](_0x27a1d0,_0x2e6a3e(0x155)))return _0x27a1d0;var _0x30e436=_0x27a1d0['default'];if(typeof _0x30e436==_0x2e6a3e(0x177)){var _0x5a46be=function _0x34154e(){const _0x2d5b95=_0x2e6a3e;var _0xf0a3fd=!0x1;try{_0xf0a3fd=this instanceof _0x34154e;}catch{}return _0xf0a3fd?Reflect[_0x2d5b95(0x1d2)](_0x30e436,arguments,this[_0x2d5b95(0x95)]):_0x30e436[_0x2d5b95(0x1a0)](this,arguments);};_0x5a46be[_0x2e6a3e(0x17c)]=_0x30e436[_0x2e6a3e(0x17c)];}else _0x5a46be={};return Object[_0x2e6a3e(0x223)](_0x5a46be,_0x2e6a3e(0x155),{'value':!0x0}),Object[_0x2e6a3e(0x22f)](_0x27a1d0)[_0x2e6a3e(0x9c)](function(_0x1b1926){const _0x53baf1=_0x2e6a3e;var _0x589e79=Object[_0x53baf1(0x1ab)](_0x27a1d0,_0x1b1926);Object[_0x53baf1(0x223)](_0x5a46be,_0x1b1926,_0x589e79[_0x53baf1(0x163)]?_0x589e79:{'enumerable':!0x0,'get':function(){return _0x27a1d0[_0x1b1926];}});}),_0x5a46be;}var te={'exports':{}},ge,Ye;function V(){const _0x4ce108=_0x1faa;if(Ye)return ge;Ye=0x1;const _0x5cf865=[_0x4ce108(0x132),_0x4ce108(0x105),'fragments'],_0x212f2d=typeof Blob<'u';return _0x212f2d&&_0x5cf865[_0x4ce108(0xeb)](_0x4ce108(0x161)),ge={'BINARY_TYPES':_0x5cf865,'EMPTY_BUFFER':Buffer[_0x4ce108(0xd3)](0x0),'GUID':'258EAFA5-E914-47DA-95CA-C5AB0DC85B11','hasBlob':_0x212f2d,'kForOnEventAttribute':Symbol(_0x4ce108(0x1b1)),'kListener':Symbol(_0x4ce108(0xcc)),'kStatusCode':Symbol(_0x4ce108(0x1a5)),'kWebSocket':Symbol(_0x4ce108(0x233)),'NOOP':()=>{}},ge;}const jt={},Gt=Object[_0xa7a424(0x12d)](Object[_0xa7a424(0x223)]({'__proto__':null,'default':jt},Symbol[_0xa7a424(0x213)],{'value':'Module'})),Vt=ut(Gt);var Ke;function ce(){const _0x58da94=_0xa7a424;if(Ke)return te[_0x58da94(0x1ea)];Ke=0x1;const {EMPTY_BUFFER:_0x5cb31d}=V(),_0x1fecc0=Buffer[Symbol[_0x58da94(0xd0)]];function _0x44842e(_0x3b73a8,_0x427eab){const _0x10aaa3=_0x58da94;if(_0x3b73a8['length']===0x0)return _0x5cb31d;if(_0x3b73a8[_0x10aaa3(0x1ca)]===0x1)return _0x3b73a8[0x0];const _0x8fd58d=Buffer['allocUnsafe'](_0x427eab);let _0xb10035=0x0;for(let _0x307901=0x0;_0x307901<_0x3b73a8[_0x10aaa3(0x1ca)];_0x307901++){const _0x500a96=_0x3b73a8[_0x307901];_0x8fd58d[_0x10aaa3(0x134)](_0x500a96,_0xb10035),_0xb10035+=_0x500a96[_0x10aaa3(0x1ca)];}return _0xb10035<_0x427eab?new _0x1fecc0(_0x8fd58d['buffer'],_0x8fd58d['byteOffset'],_0xb10035):_0x8fd58d;}function _0x59e0b8(_0x2a25dc,_0xcba41c,_0x1f80d1,_0x20e6d7,_0x468966){for(let _0x3b2f5b=0x0;_0x3b2f5b<_0x468966;_0x3b2f5b++)_0x1f80d1[_0x20e6d7+_0x3b2f5b]=_0x2a25dc[_0x3b2f5b]^_0xcba41c[_0x3b2f5b&0x3];}function _0x5ccbed(_0x586302,_0x23a87e){const _0x249bc9=_0x58da94;for(let _0x310cdf=0x0;_0x310cdf<_0x586302[_0x249bc9(0x1ca)];_0x310cdf++)_0x586302[_0x310cdf]^=_0x23a87e[_0x310cdf&0x3];}function _0x1ff413(_0x4dde2f){const _0x276961=_0x58da94;return _0x4dde2f['length']===_0x4dde2f[_0x276961(0xd4)][_0x276961(0x21c)]?_0x4dde2f[_0x276961(0xd4)]:_0x4dde2f['buffer'][_0x276961(0xbc)](_0x4dde2f['byteOffset'],_0x4dde2f['byteOffset']+_0x4dde2f[_0x276961(0x1ca)]);}function _0x1c6992(_0x3bce24){const _0x2d0640=_0x58da94;if(_0x1c6992['readOnly']=!0x0,Buffer['isBuffer'](_0x3bce24))return _0x3bce24;let _0xbd9b1f;return _0x3bce24 instanceof ArrayBuffer?_0xbd9b1f=new _0x1fecc0(_0x3bce24):ArrayBuffer[_0x2d0640(0x217)](_0x3bce24)?_0xbd9b1f=new _0x1fecc0(_0x3bce24[_0x2d0640(0xd4)],_0x3bce24['byteOffset'],_0x3bce24['byteLength']):(_0xbd9b1f=Buffer[_0x2d0640(0xa2)](_0x3bce24),_0x1c6992[_0x2d0640(0x1b3)]=!0x1),_0xbd9b1f;}if(te[_0x58da94(0x1ea)]={'concat':_0x44842e,'mask':_0x59e0b8,'toArrayBuffer':_0x1ff413,'toBuffer':_0x1c6992,'unmask':_0x5ccbed},!process[_0x58da94(0x12a)][_0x58da94(0x1bd)])try{const _0x43cfcd=Vt;te[_0x58da94(0x1ea)][_0x58da94(0x13d)]=function(_0x724fc3,_0x1080ab,_0xa00f4a,_0x4c4f70,_0x485330){const _0x1dedd9=_0x58da94;_0x485330<0x30?_0x59e0b8(_0x724fc3,_0x1080ab,_0xa00f4a,_0x4c4f70,_0x485330):_0x43cfcd[_0x1dedd9(0x13d)](_0x724fc3,_0x1080ab,_0xa00f4a,_0x4c4f70,_0x485330);},te[_0x58da94(0x1ea)][_0x58da94(0x133)]=function(_0x5c5d2a,_0x538ff4){const _0x3e6195=_0x58da94;_0x5c5d2a[_0x3e6195(0x1ca)]<0x20?_0x5ccbed(_0x5c5d2a,_0x538ff4):_0x43cfcd[_0x3e6195(0x133)](_0x5c5d2a,_0x538ff4);};}catch{}return te[_0x58da94(0x1ea)];}var ye,Xe;function qt(){const _0xa841e5=_0xa7a424;if(Xe)return ye;Xe=0x1;const _0x3ea33d=Symbol('kDone'),_0x7b7bf1=Symbol('kRun');class _0x368c1e{constructor(_0x333e6a){const _0x5b2d03=_0x1faa;this[_0x3ea33d]=()=>{const _0x11a91c=_0x1faa;this[_0x11a91c(0xd1)]--,this[_0x7b7bf1]();},this['concurrency']=_0x333e6a||0x1/0x0,this[_0x5b2d03(0x182)]=[],this[_0x5b2d03(0xd1)]=0x0;}[_0xa841e5(0x1f4)](_0x54e861){const _0x24d7ca=_0xa841e5;this[_0x24d7ca(0x182)][_0x24d7ca(0xeb)](_0x54e861),this[_0x7b7bf1]();}[_0x7b7bf1](){const _0x182108=_0xa841e5;if(this['pending']!==this['concurrency']&&this['jobs'][_0x182108(0x1ca)]){const _0x23ef55=this['jobs'][_0x182108(0x129)]();this[_0x182108(0xd1)]++,_0x23ef55(this[_0x3ea33d]);}}}return ye=_0x368c1e,ye;}var ve,Ze;function he(){const _0x3849c7=_0xa7a424;if(Ze)return ve;Ze=0x1;const _0x2c4ae1=_0x3415ee,_0x2e8934=ce(),_0x427b9d=qt(),{kStatusCode:_0x40f4fc}=V(),_0x52f37d=Buffer[Symbol[_0x3849c7(0xd0)]],_0x16832b=Buffer[_0x3849c7(0xa2)]([0x0,0x0,0xff,0xff]),_0x42cef8=Symbol('permessage-deflate'),_0x1bade6=Symbol(_0x3849c7(0x1cc)),_0x82cbcc=Symbol(_0x3849c7(0x20d)),_0x4bf8b2=Symbol(_0x3849c7(0xc8)),_0x2b839b=Symbol(_0x3849c7(0x93));let _0x1729e8;class _0x477c70{constructor(_0x3e3e19,_0x4de632,_0x11901e){const _0x5940c8=_0x3849c7;if(this[_0x5940c8(0x15e)]=_0x11901e|0x0,this[_0x5940c8(0x1ef)]=_0x3e3e19||{},this[_0x5940c8(0xfb)]=this[_0x5940c8(0x1ef)][_0x5940c8(0x226)]!==void 0x0?this[_0x5940c8(0x1ef)][_0x5940c8(0x226)]:0x400,this[_0x5940c8(0xf7)]=!!_0x4de632,this[_0x5940c8(0xd9)]=null,this['_inflate']=null,this[_0x5940c8(0x230)]=null,!_0x1729e8){const _0x200f0b=this[_0x5940c8(0x1ef)][_0x5940c8(0x11a)]!==void 0x0?this[_0x5940c8(0x1ef)]['concurrencyLimit']:0xa;_0x1729e8=new _0x427b9d(_0x200f0b);}}static get[_0x3849c7(0x1a1)](){return'permessage-deflate';}[_0x3849c7(0x1b7)](){const _0x1294f6=_0x3849c7,_0x4d0ef4={};return this[_0x1294f6(0x1ef)][_0x1294f6(0xba)]&&(_0x4d0ef4[_0x1294f6(0xc2)]=!0x0),this[_0x1294f6(0x1ef)][_0x1294f6(0xfa)]&&(_0x4d0ef4[_0x1294f6(0x130)]=!0x0),this[_0x1294f6(0x1ef)]['serverMaxWindowBits']&&(_0x4d0ef4[_0x1294f6(0x162)]=this['_options']['serverMaxWindowBits']),this[_0x1294f6(0x1ef)][_0x1294f6(0x12c)]?_0x4d0ef4[_0x1294f6(0x1c6)]=this[_0x1294f6(0x1ef)][_0x1294f6(0x12c)]:this[_0x1294f6(0x1ef)]['clientMaxWindowBits']==null&&(_0x4d0ef4['client_max_window_bits']=!0x0),_0x4d0ef4;}[_0x3849c7(0x237)](_0x18d2f5){const _0x37e963=_0x3849c7;return _0x18d2f5=this['normalizeParams'](_0x18d2f5),this[_0x37e963(0x230)]=this['_isServer']?this[_0x37e963(0x15f)](_0x18d2f5):this[_0x37e963(0x14f)](_0x18d2f5),this[_0x37e963(0x230)];}[_0x3849c7(0xb4)](){const _0x13ebef=_0x3849c7;if(this[_0x13ebef(0xb9)]&&(this[_0x13ebef(0xb9)]['close'](),this['_inflate']=null),this[_0x13ebef(0xd9)]){const _0x8e9bcb=this[_0x13ebef(0xd9)][_0x82cbcc];this[_0x13ebef(0xd9)][_0x13ebef(0x149)](),this['_deflate']=null,_0x8e9bcb&&_0x8e9bcb(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}[_0x3849c7(0x15f)](_0xc264d0){const _0x138ceb=_0x3849c7,_0x5d5e12=this[_0x138ceb(0x1ef)],_0x1350ce=_0xc264d0[_0x138ceb(0x118)](_0x35507c=>!(_0x5d5e12[_0x138ceb(0xba)]===!0x1&&_0x35507c['server_no_context_takeover']||_0x35507c[_0x138ceb(0x162)]&&(_0x5d5e12['serverMaxWindowBits']===!0x1||typeof _0x5d5e12['serverMaxWindowBits']=='number'&&_0x5d5e12['serverMaxWindowBits']>_0x35507c[_0x138ceb(0x162)])||typeof _0x5d5e12['clientMaxWindowBits']==_0x138ceb(0xd8)&&!_0x35507c[_0x138ceb(0x1c6)]));if(!_0x1350ce)throw new Error(_0x138ceb(0x10a));return _0x5d5e12[_0x138ceb(0xba)]&&(_0x1350ce[_0x138ceb(0xc2)]=!0x0),_0x5d5e12[_0x138ceb(0xfa)]&&(_0x1350ce[_0x138ceb(0x130)]=!0x0),typeof _0x5d5e12[_0x138ceb(0x18b)]==_0x138ceb(0xd8)&&(_0x1350ce[_0x138ceb(0x162)]=_0x5d5e12[_0x138ceb(0x18b)]),typeof _0x5d5e12[_0x138ceb(0x12c)]==_0x138ceb(0xd8)?_0x1350ce['client_max_window_bits']=_0x5d5e12[_0x138ceb(0x12c)]:(_0x1350ce['client_max_window_bits']===!0x0||_0x5d5e12[_0x138ceb(0x12c)]===!0x1)&&delete _0x1350ce[_0x138ceb(0x1c6)],_0x1350ce;}[_0x3849c7(0x14f)](_0x50b0f6){const _0x57f086=_0x3849c7,_0x3a49d0=_0x50b0f6[0x0];if(this[_0x57f086(0x1ef)][_0x57f086(0xfa)]===!0x1&&_0x3a49d0[_0x57f086(0x130)])throw new Error(_0x57f086(0xec));if(!_0x3a49d0[_0x57f086(0x1c6)])typeof this[_0x57f086(0x1ef)][_0x57f086(0x12c)]==_0x57f086(0xd8)&&(_0x3a49d0[_0x57f086(0x1c6)]=this[_0x57f086(0x1ef)][_0x57f086(0x12c)]);else{if(this['_options'][_0x57f086(0x12c)]===!0x1||typeof this[_0x57f086(0x1ef)][_0x57f086(0x12c)]==_0x57f086(0xd8)&&_0x3a49d0[_0x57f086(0x1c6)]>this[_0x57f086(0x1ef)]['clientMaxWindowBits'])throw new Error(_0x57f086(0xd7));}return _0x3a49d0;}[_0x3849c7(0x231)](_0x3e77e8){const _0x2536b4=_0x3849c7;return _0x3e77e8[_0x2536b4(0x9c)](_0x347fb8=>{const _0x33c8d6=_0x2536b4;Object[_0x33c8d6(0x22f)](_0x347fb8)['forEach'](_0x47b24c=>{const _0x5cd8e0=_0x33c8d6;let _0x32dccb=_0x347fb8[_0x47b24c];if(_0x32dccb['length']>0x1)throw new Error('Parameter\x20\x22'+_0x47b24c+_0x5cd8e0(0x200));if(_0x32dccb=_0x32dccb[0x0],_0x47b24c==='client_max_window_bits'){if(_0x32dccb!==!0x0){const _0x3435c4=+_0x32dccb;if(!Number['isInteger'](_0x3435c4)||_0x3435c4<0x8||_0x3435c4>0xf)throw new TypeError(_0x5cd8e0(0x1ae)+_0x47b24c+_0x5cd8e0(0x1be)+_0x32dccb);_0x32dccb=_0x3435c4;}else{if(!this[_0x5cd8e0(0xf7)])throw new TypeError(_0x5cd8e0(0x1ae)+_0x47b24c+_0x5cd8e0(0x1be)+_0x32dccb);}}else{if(_0x47b24c==='server_max_window_bits'){const _0x29d2fa=+_0x32dccb;if(!Number[_0x5cd8e0(0x1e7)](_0x29d2fa)||_0x29d2fa<0x8||_0x29d2fa>0xf)throw new TypeError(_0x5cd8e0(0x1ae)+_0x47b24c+_0x5cd8e0(0x1be)+_0x32dccb);_0x32dccb=_0x29d2fa;}else{if(_0x47b24c===_0x5cd8e0(0x130)||_0x47b24c===_0x5cd8e0(0xc2)){if(_0x32dccb!==!0x0)throw new TypeError(_0x5cd8e0(0x1ae)+_0x47b24c+_0x5cd8e0(0x1be)+_0x32dccb);}else throw new Error(_0x5cd8e0(0x17d)+_0x47b24c+'\x22');}}_0x347fb8[_0x47b24c]=_0x32dccb;});}),_0x3e77e8;}[_0x3849c7(0x164)](_0x2d92f6,_0x52be20,_0x8d4ede){const _0x5ecad1=_0x3849c7;_0x1729e8[_0x5ecad1(0x1f4)](_0x1420ab=>{const _0x31b023=_0x5ecad1;this[_0x31b023(0x1f2)](_0x2d92f6,_0x52be20,(_0x1d30c0,_0xc25faf)=>{_0x1420ab(),_0x8d4ede(_0x1d30c0,_0xc25faf);});});}[_0x3849c7(0xc6)](_0x2fc710,_0x323b94,_0x210965){const _0x22e3f9=_0x3849c7;_0x1729e8[_0x22e3f9(0x1f4)](_0x140b10=>{const _0x36ad3=_0x22e3f9;this[_0x36ad3(0x1b4)](_0x2fc710,_0x323b94,(_0x3d1ca4,_0x5ad25e)=>{_0x140b10(),_0x210965(_0x3d1ca4,_0x5ad25e);});});}[_0x3849c7(0x1f2)](_0x5cbd40,_0x9569a4,_0x332dab){const _0x297da3=_0x3849c7,_0x538329=this['_isServer']?_0x297da3(0x12f):_0x297da3(0x1c4);if(!this[_0x297da3(0xb9)]){const _0x577a90=_0x538329+_0x297da3(0x1e2),_0x3a5faf=typeof this[_0x297da3(0x230)][_0x577a90]!=_0x297da3(0xd8)?_0x2c4ae1[_0x297da3(0xbe)]:this[_0x297da3(0x230)][_0x577a90];this[_0x297da3(0xb9)]=_0x2c4ae1[_0x297da3(0x1cf)]({...this[_0x297da3(0x1ef)]['zlibInflateOptions'],'windowBits':_0x3a5faf}),this['_inflate'][_0x42cef8]=this,this[_0x297da3(0xb9)][_0x1bade6]=0x0,this[_0x297da3(0xb9)][_0x4bf8b2]=[],this[_0x297da3(0xb9)]['on'](_0x297da3(0x93),_0xac128),this[_0x297da3(0xb9)]['on'](_0x297da3(0x11e),_0x2d0260);}this[_0x297da3(0xb9)][_0x82cbcc]=_0x332dab,this['_inflate'][_0x297da3(0x1cb)](_0x5cbd40),_0x9569a4&&this[_0x297da3(0xb9)][_0x297da3(0x1cb)](_0x16832b),this[_0x297da3(0xb9)][_0x297da3(0x192)](()=>{const _0x3a9156=_0x297da3,_0x406989=this[_0x3a9156(0xb9)][_0x2b839b];if(_0x406989){this[_0x3a9156(0xb9)][_0x3a9156(0x149)](),this[_0x3a9156(0xb9)]=null,_0x332dab(_0x406989);return;}const _0x45f875=_0x2e8934[_0x3a9156(0xc3)](this[_0x3a9156(0xb9)][_0x4bf8b2],this[_0x3a9156(0xb9)][_0x1bade6]);this[_0x3a9156(0xb9)][_0x3a9156(0x10c)][_0x3a9156(0x11f)]?(this[_0x3a9156(0xb9)][_0x3a9156(0x149)](),this[_0x3a9156(0xb9)]=null):(this[_0x3a9156(0xb9)][_0x1bade6]=0x0,this[_0x3a9156(0xb9)][_0x4bf8b2]=[],_0x9569a4&&this[_0x3a9156(0x230)][_0x538329+_0x3a9156(0x17a)]&&this[_0x3a9156(0xb9)]['reset']()),_0x332dab(null,_0x45f875);});}[_0x3849c7(0x1b4)](_0x12fd40,_0x24b04e,_0x368a74){const _0x2cc4c0=_0x3849c7,_0x1a76c8=this[_0x2cc4c0(0xf7)]?_0x2cc4c0(0x1c4):_0x2cc4c0(0x12f);if(!this['_deflate']){const _0x11a640=_0x1a76c8+_0x2cc4c0(0x1e2),_0x23449f=typeof this[_0x2cc4c0(0x230)][_0x11a640]!='number'?_0x2c4ae1[_0x2cc4c0(0xbe)]:this[_0x2cc4c0(0x230)][_0x11a640];this[_0x2cc4c0(0xd9)]=_0x2c4ae1[_0x2cc4c0(0x1f3)]({...this[_0x2cc4c0(0x1ef)][_0x2cc4c0(0x152)],'windowBits':_0x23449f}),this['_deflate'][_0x1bade6]=0x0,this[_0x2cc4c0(0xd9)][_0x4bf8b2]=[],this[_0x2cc4c0(0xd9)]['on'](_0x2cc4c0(0x11e),_0x5782d1);}this[_0x2cc4c0(0xd9)][_0x82cbcc]=_0x368a74,this[_0x2cc4c0(0xd9)][_0x2cc4c0(0x1cb)](_0x12fd40),this['_deflate'][_0x2cc4c0(0x192)](_0x2c4ae1[_0x2cc4c0(0xa9)],()=>{const _0x34b2ae=_0x2cc4c0;if(!this[_0x34b2ae(0xd9)])return;let _0x24dd91=_0x2e8934['concat'](this[_0x34b2ae(0xd9)][_0x4bf8b2],this[_0x34b2ae(0xd9)][_0x1bade6]);_0x24b04e&&(_0x24dd91=new _0x52f37d(_0x24dd91[_0x34b2ae(0xd4)],_0x24dd91[_0x34b2ae(0xf1)],_0x24dd91[_0x34b2ae(0x1ca)]-0x4)),this['_deflate'][_0x82cbcc]=null,this[_0x34b2ae(0xd9)][_0x1bade6]=0x0,this[_0x34b2ae(0xd9)][_0x4bf8b2]=[],_0x24b04e&&this['params'][_0x1a76c8+'_no_context_takeover']&&this['_deflate'][_0x34b2ae(0x1ed)](),_0x368a74(null,_0x24dd91);});}}ve=_0x477c70;function _0x5782d1(_0x9c33e2){const _0x35ff7b=_0x3849c7;this[_0x4bf8b2][_0x35ff7b(0xeb)](_0x9c33e2),this[_0x1bade6]+=_0x9c33e2[_0x35ff7b(0x1ca)];}function _0x2d0260(_0x45b831){const _0xd88777=_0x3849c7;if(this[_0x1bade6]+=_0x45b831[_0xd88777(0x1ca)],this[_0x42cef8][_0xd88777(0x15e)]<0x1||this[_0x1bade6]<=this[_0x42cef8]['_maxPayload']){this[_0x4bf8b2][_0xd88777(0xeb)](_0x45b831);return;}this[_0x2b839b]=new RangeError(_0xd88777(0x103)),this[_0x2b839b]['code']='WS_ERR_UNSUPPORTED_MESSAGE_LENGTH',this[_0x2b839b][_0x40f4fc]=0x3f1,this[_0xd88777(0x14b)]('data',_0x2d0260),this[_0xd88777(0x1ed)]();}function _0xac128(_0x1058de){const _0xa71bb6=_0x3849c7;if(this[_0x42cef8][_0xa71bb6(0xb9)]=null,this[_0x2b839b]){this[_0x82cbcc](this[_0x2b839b]);return;}_0x1058de[_0x40f4fc]=0x3ef,this[_0x82cbcc](_0x1058de);}return ve;}var re={'exports':{}};const Ht={},zt=Object['freeze'](Object[_0xa7a424(0x223)]({'__proto__':null,'default':Ht},Symbol[_0xa7a424(0x213)],{'value':_0xa7a424(0x206)})),Yt=ut(zt);var Qe;function ne(){const _0x26a580=_0xa7a424;if(Qe)return re['exports'];Qe=0x1;const {isUtf8:_0x592065}=_0x34fd8d,{hasBlob:_0x1f0ce9}=V(),_0x5dffb8=[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 _0x5499ba(_0x1717e0){return _0x1717e0>=0x3e8&&_0x1717e0<=0x3f6&&_0x1717e0!==0x3ec&&_0x1717e0!==0x3ed&&_0x1717e0!==0x3ee||_0x1717e0>=0xbb8&&_0x1717e0<=0x1387;}function _0x370b96(_0xf3cff8){const _0x591670=_0x1faa,_0x57ec8d=_0xf3cff8[_0x591670(0x1ca)];let _0x257e52=0x0;for(;_0x257e52<_0x57ec8d;)if((_0xf3cff8[_0x257e52]&0x80)===0x0)_0x257e52++;else{if((_0xf3cff8[_0x257e52]&0xe0)===0xc0){if(_0x257e52+0x1===_0x57ec8d||(_0xf3cff8[_0x257e52+0x1]&0xc0)!==0x80||(_0xf3cff8[_0x257e52]&0xfe)===0xc0)return!0x1;_0x257e52+=0x2;}else{if((_0xf3cff8[_0x257e52]&0xf0)===0xe0){if(_0x257e52+0x2>=_0x57ec8d||(_0xf3cff8[_0x257e52+0x1]&0xc0)!==0x80||(_0xf3cff8[_0x257e52+0x2]&0xc0)!==0x80||_0xf3cff8[_0x257e52]===0xe0&&(_0xf3cff8[_0x257e52+0x1]&0xe0)===0x80||_0xf3cff8[_0x257e52]===0xed&&(_0xf3cff8[_0x257e52+0x1]&0xe0)===0xa0)return!0x1;_0x257e52+=0x3;}else{if((_0xf3cff8[_0x257e52]&0xf8)===0xf0){if(_0x257e52+0x3>=_0x57ec8d||(_0xf3cff8[_0x257e52+0x1]&0xc0)!==0x80||(_0xf3cff8[_0x257e52+0x2]&0xc0)!==0x80||(_0xf3cff8[_0x257e52+0x3]&0xc0)!==0x80||_0xf3cff8[_0x257e52]===0xf0&&(_0xf3cff8[_0x257e52+0x1]&0xf0)===0x80||_0xf3cff8[_0x257e52]===0xf4&&_0xf3cff8[_0x257e52+0x1]>0x8f||_0xf3cff8[_0x257e52]>0xf4)return!0x1;_0x257e52+=0x4;}else return!0x1;}}}return!0x0;}function _0x4d884c(_0x4adcc8){const _0x2afb53=_0x1faa;return _0x1f0ce9&&typeof _0x4adcc8==_0x2afb53(0x116)&&typeof _0x4adcc8[_0x2afb53(0x1f9)]=='function'&&typeof _0x4adcc8['type']==_0x2afb53(0x117)&&typeof _0x4adcc8[_0x2afb53(0x1f1)]==_0x2afb53(0x177)&&(_0x4adcc8[Symbol['toStringTag']]===_0x2afb53(0x23b)||_0x4adcc8[Symbol['toStringTag']]==='File');}if(re[_0x26a580(0x1ea)]={'isBlob':_0x4d884c,'isValidStatusCode':_0x5499ba,'isValidUTF8':_0x370b96,'tokenChars':_0x5dffb8},_0x592065)re[_0x26a580(0x1ea)][_0x26a580(0xa8)]=function(_0x1e2a38){const _0x459190=_0x26a580;return _0x1e2a38[_0x459190(0x1ca)]<0x18?_0x370b96(_0x1e2a38):_0x592065(_0x1e2a38);};else{if(!process[_0x26a580(0x12a)][_0x26a580(0x119)])try{const _0x288117=Yt;re['exports'][_0x26a580(0xa8)]=function(_0x2fedb3){const _0x30072d=_0x26a580;return _0x2fedb3[_0x30072d(0x1ca)]<0x20?_0x370b96(_0x2fedb3):_0x288117(_0x2fedb3);};}catch{}}return re['exports'];}var Se,Je;function dt(){const _0x4c2431=_0xa7a424;if(Je)return Se;Je=0x1;const {Writable:_0x483a70}=_0x566c0f,_0x2c78ab=he(),{BINARY_TYPES:_0x3a0088,EMPTY_BUFFER:_0x4174e9,kStatusCode:_0x132964,kWebSocket:_0x2cd37d}=V(),{concat:_0x46ae2a,toArrayBuffer:_0x3b036b,unmask:_0x2a614e}=ce(),{isValidStatusCode:_0x1481b1,isValidUTF8:_0x43fbdd}=ne(),_0x278296=Buffer[Symbol['species']],_0x3e8314=0x0,_0x25c06f=0x1,_0x5a318a=0x2,_0x4dc87a=0x3,_0x7f832c=0x4,_0x3c1126=0x5,_0x3d8634=0x6;class _0x391ee7 extends _0x483a70{constructor(_0x546783={}){const _0x4e5e3b=_0x1faa;super(),this['_allowSynchronousEvents']=_0x546783[_0x4e5e3b(0x1ac)]!==void 0x0?_0x546783[_0x4e5e3b(0x1ac)]:!0x0,this['_binaryType']=_0x546783[_0x4e5e3b(0x16c)]||_0x3a0088[0x0],this[_0x4e5e3b(0xaf)]=_0x546783[_0x4e5e3b(0x13b)]||{},this[_0x4e5e3b(0xf7)]=!!_0x546783[_0x4e5e3b(0x210)],this[_0x4e5e3b(0x15e)]=_0x546783[_0x4e5e3b(0x243)]|0x0,this[_0x4e5e3b(0x19e)]=!!_0x546783['skipUTF8Validation'],this[_0x2cd37d]=void 0x0,this[_0x4e5e3b(0x10e)]=0x0,this[_0x4e5e3b(0x1d6)]=[],this['_compressed']=!0x1,this['_payloadLength']=0x0,this[_0x4e5e3b(0xde)]=void 0x0,this['_fragmented']=0x0,this[_0x4e5e3b(0x194)]=!0x1,this['_fin']=!0x1,this[_0x4e5e3b(0x154)]=0x0,this[_0x4e5e3b(0x232)]=0x0,this['_messageLength']=0x0,this[_0x4e5e3b(0x1e1)]=[],this['_errored']=!0x1,this[_0x4e5e3b(0x21f)]=!0x1,this['_state']=_0x3e8314;}['_write'](_0x3395fd,_0x486f37,_0x4c273c){const _0x3d7a13=_0x1faa;if(this[_0x3d7a13(0x154)]===0x8&&this[_0x3d7a13(0xf6)]==_0x3e8314)return _0x4c273c();this[_0x3d7a13(0x10e)]+=_0x3395fd[_0x3d7a13(0x1ca)],this[_0x3d7a13(0x1d6)][_0x3d7a13(0xeb)](_0x3395fd),this['startLoop'](_0x4c273c);}[_0x4c2431(0x14d)](_0x58f752){const _0x3a8a25=_0x4c2431;if(this['_bufferedBytes']-=_0x58f752,_0x58f752===this[_0x3a8a25(0x1d6)][0x0][_0x3a8a25(0x1ca)])return this[_0x3a8a25(0x1d6)][_0x3a8a25(0x129)]();if(_0x58f752<this[_0x3a8a25(0x1d6)][0x0][_0x3a8a25(0x1ca)]){const _0x53ea06=this[_0x3a8a25(0x1d6)][0x0];return this[_0x3a8a25(0x1d6)][0x0]=new _0x278296(_0x53ea06[_0x3a8a25(0xd4)],_0x53ea06[_0x3a8a25(0xf1)]+_0x58f752,_0x53ea06['length']-_0x58f752),new _0x278296(_0x53ea06['buffer'],_0x53ea06['byteOffset'],_0x58f752);}const _0x14e0fd=Buffer[_0x3a8a25(0x124)](_0x58f752);do{const _0x12129a=this[_0x3a8a25(0x1d6)][0x0],_0x12ace0=_0x14e0fd['length']-_0x58f752;_0x58f752>=_0x12129a['length']?_0x14e0fd[_0x3a8a25(0x134)](this[_0x3a8a25(0x1d6)][_0x3a8a25(0x129)](),_0x12ace0):(_0x14e0fd[_0x3a8a25(0x134)](new Uint8Array(_0x12129a[_0x3a8a25(0xd4)],_0x12129a['byteOffset'],_0x58f752),_0x12ace0),this[_0x3a8a25(0x1d6)][0x0]=new _0x278296(_0x12129a[_0x3a8a25(0xd4)],_0x12129a[_0x3a8a25(0xf1)]+_0x58f752,_0x12129a[_0x3a8a25(0x1ca)]-_0x58f752)),_0x58f752-=_0x12129a['length'];}while(_0x58f752>0x0);return _0x14e0fd;}[_0x4c2431(0x219)](_0x21f8d7){const _0x5e98d5=_0x4c2431;this[_0x5e98d5(0x21f)]=!0x0;do switch(this[_0x5e98d5(0xf6)]){case _0x3e8314:this[_0x5e98d5(0x176)](_0x21f8d7);break;case _0x25c06f:this[_0x5e98d5(0xc0)](_0x21f8d7);break;case _0x5a318a:this[_0x5e98d5(0x23d)](_0x21f8d7);break;case _0x4dc87a:this['getMask']();break;case _0x7f832c:this['getData'](_0x21f8d7);break;case _0x3c1126:case _0x3d8634:this['_loop']=!0x1;return;}while(this[_0x5e98d5(0x21f)]);this[_0x5e98d5(0xa3)]||_0x21f8d7();}[_0x4c2431(0x176)](_0x5669e0){const _0x40893a=_0x4c2431;if(this[_0x40893a(0x10e)]<0x2){this[_0x40893a(0x21f)]=!0x1;return;}const _0x50750a=this['consume'](0x2);if((_0x50750a[0x0]&0x30)!==0x0){const _0x307b7a=this['createError'](RangeError,_0x40893a(0x146),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0x5669e0(_0x307b7a);return;}const _0x4d882d=(_0x50750a[0x0]&0x40)===0x40;if(_0x4d882d&&!this[_0x40893a(0xaf)][_0x2c78ab['extensionName']]){const _0x1b5c80=this[_0x40893a(0x20f)](RangeError,_0x40893a(0xe0),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x5669e0(_0x1b5c80);return;}if(this[_0x40893a(0x19c)]=(_0x50750a[0x0]&0x80)===0x80,this[_0x40893a(0x154)]=_0x50750a[0x0]&0xf,this['_payloadLength']=_0x50750a[0x1]&0x7f,this[_0x40893a(0x154)]===0x0){if(_0x4d882d){const _0x2543fa=this[_0x40893a(0x20f)](RangeError,_0x40893a(0xe0),!0x0,0x3ea,_0x40893a(0x21e));_0x5669e0(_0x2543fa);return;}if(!this[_0x40893a(0xbf)]){const _0x4e8a83=this[_0x40893a(0x20f)](RangeError,_0x40893a(0xa4),!0x0,0x3ea,_0x40893a(0x1cd));_0x5669e0(_0x4e8a83);return;}this[_0x40893a(0x154)]=this[_0x40893a(0xbf)];}else{if(this[_0x40893a(0x154)]===0x1||this[_0x40893a(0x154)]===0x2){if(this[_0x40893a(0xbf)]){const _0x2ef1fa=this[_0x40893a(0x20f)](RangeError,_0x40893a(0x20a)+this[_0x40893a(0x154)],!0x0,0x3ea,_0x40893a(0x1cd));_0x5669e0(_0x2ef1fa);return;}this['_compressed']=_0x4d882d;}else{if(this[_0x40893a(0x154)]>0x7&&this[_0x40893a(0x154)]<0xb){if(!this[_0x40893a(0x19c)]){const _0x376379=this[_0x40893a(0x20f)](RangeError,_0x40893a(0x1bc),!0x0,0x3ea,_0x40893a(0x214));_0x5669e0(_0x376379);return;}if(_0x4d882d){const _0x1f9e35=this[_0x40893a(0x20f)](RangeError,_0x40893a(0xe0),!0x0,0x3ea,_0x40893a(0x21e));_0x5669e0(_0x1f9e35);return;}if(this[_0x40893a(0xae)]>0x7d||this['_opcode']===0x8&&this[_0x40893a(0xae)]===0x1){const _0x140e4c=this[_0x40893a(0x20f)](RangeError,_0x40893a(0x18f)+this[_0x40893a(0xae)],!0x0,0x3ea,_0x40893a(0xf9));_0x5669e0(_0x140e4c);return;}}else{const _0x2434a9=this[_0x40893a(0x20f)](RangeError,_0x40893a(0x20a)+this[_0x40893a(0x154)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x5669e0(_0x2434a9);return;}}}if(!this['_fin']&&!this['_fragmented']&&(this['_fragmented']=this[_0x40893a(0x154)]),this['_masked']=(_0x50750a[0x1]&0x80)===0x80,this['_isServer']){if(!this['_masked']){const _0x95b117=this[_0x40893a(0x20f)](RangeError,_0x40893a(0x97),!0x0,0x3ea,'WS_ERR_EXPECTED_MASK');_0x5669e0(_0x95b117);return;}}else{if(this[_0x40893a(0x194)]){const _0x467de0=this[_0x40893a(0x20f)](RangeError,_0x40893a(0x180),!0x0,0x3ea,_0x40893a(0xe3));_0x5669e0(_0x467de0);return;}}this[_0x40893a(0xae)]===0x7e?this['_state']=_0x25c06f:this['_payloadLength']===0x7f?this[_0x40893a(0xf6)]=_0x5a318a:this[_0x40893a(0xf8)](_0x5669e0);}['getPayloadLength16'](_0x5c42b3){const _0x449a96=_0x4c2431;if(this[_0x449a96(0x10e)]<0x2){this[_0x449a96(0x21f)]=!0x1;return;}this['_payloadLength']=this[_0x449a96(0x14d)](0x2)[_0x449a96(0xe6)](0x0),this['haveLength'](_0x5c42b3);}['getPayloadLength64'](_0x3e66bb){const _0x11a792=_0x4c2431;if(this[_0x11a792(0x10e)]<0x8){this[_0x11a792(0x21f)]=!0x1;return;}const _0x568a27=this[_0x11a792(0x14d)](0x8),_0x38fd4a=_0x568a27[_0x11a792(0x19d)](0x0);if(_0x38fd4a>Math[_0x11a792(0x1fa)](0x2,0x15)-0x1){const _0x452cc4=this[_0x11a792(0x20f)](RangeError,_0x11a792(0x11c),!0x1,0x3f1,_0x11a792(0x1fe));_0x3e66bb(_0x452cc4);return;}this[_0x11a792(0xae)]=_0x38fd4a*Math['pow'](0x2,0x20)+_0x568a27[_0x11a792(0x19d)](0x4),this[_0x11a792(0xf8)](_0x3e66bb);}[_0x4c2431(0xf8)](_0x1b4eac){const _0x155033=_0x4c2431;if(this[_0x155033(0xae)]&&this[_0x155033(0x154)]<0x8&&(this[_0x155033(0x232)]+=this[_0x155033(0xae)],this[_0x155033(0x232)]>this['_maxPayload']&&this[_0x155033(0x15e)]>0x0)){const _0x1f8226=this['createError'](RangeError,_0x155033(0x103),!0x1,0x3f1,_0x155033(0xc9));_0x1b4eac(_0x1f8226);return;}this[_0x155033(0x194)]?this[_0x155033(0xf6)]=_0x4dc87a:this['_state']=_0x7f832c;}[_0x4c2431(0x141)](){const _0x2e7236=_0x4c2431;if(this[_0x2e7236(0x10e)]<0x4){this['_loop']=!0x1;return;}this[_0x2e7236(0xde)]=this['consume'](0x4),this[_0x2e7236(0xf6)]=_0x7f832c;}[_0x4c2431(0x1b5)](_0x4f82e0){const _0x58482c=_0x4c2431;let _0x124137=_0x4174e9;if(this[_0x58482c(0xae)]){if(this['_bufferedBytes']<this['_payloadLength']){this[_0x58482c(0x21f)]=!0x1;return;}_0x124137=this[_0x58482c(0x14d)](this[_0x58482c(0xae)]),this[_0x58482c(0x194)]&&(this[_0x58482c(0xde)][0x0]|this[_0x58482c(0xde)][0x1]|this['_mask'][0x2]|this[_0x58482c(0xde)][0x3])!==0x0&&_0x2a614e(_0x124137,this[_0x58482c(0xde)]);}if(this[_0x58482c(0x154)]>0x7){this['controlMessage'](_0x124137,_0x4f82e0);return;}if(this[_0x58482c(0x19f)]){this[_0x58482c(0xf6)]=_0x3c1126,this[_0x58482c(0x164)](_0x124137,_0x4f82e0);return;}_0x124137[_0x58482c(0x1ca)]&&(this['_messageLength']=this[_0x58482c(0x232)],this[_0x58482c(0x1e1)][_0x58482c(0xeb)](_0x124137)),this[_0x58482c(0x1b0)](_0x4f82e0);}[_0x4c2431(0x164)](_0x142e5e,_0x546fab){const _0x121614=_0x4c2431;this[_0x121614(0xaf)][_0x2c78ab[_0x121614(0x1a1)]][_0x121614(0x164)](_0x142e5e,this['_fin'],(_0x402d40,_0x4a661d)=>{const _0x455d54=_0x121614;if(_0x402d40)return _0x546fab(_0x402d40);if(_0x4a661d[_0x455d54(0x1ca)]){if(this[_0x455d54(0x104)]+=_0x4a661d[_0x455d54(0x1ca)],this[_0x455d54(0x104)]>this[_0x455d54(0x15e)]&&this[_0x455d54(0x15e)]>0x0){const _0x114e67=this[_0x455d54(0x20f)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x546fab(_0x114e67);return;}this['_fragments'][_0x455d54(0xeb)](_0x4a661d);}this[_0x455d54(0x1b0)](_0x546fab),this[_0x455d54(0xf6)]===_0x3e8314&&this[_0x455d54(0x219)](_0x546fab);});}[_0x4c2431(0x1b0)](_0x5ce822){const _0x35443f=_0x4c2431;if(!this[_0x35443f(0x19c)]){this[_0x35443f(0xf6)]=_0x3e8314;return;}const _0x4da992=this[_0x35443f(0x104)],_0x506cd5=this[_0x35443f(0x1e1)];if(this['_totalPayloadLength']=0x0,this[_0x35443f(0x104)]=0x0,this[_0x35443f(0xbf)]=0x0,this['_fragments']=[],this[_0x35443f(0x154)]===0x2){let _0x1091f1;this[_0x35443f(0x1c5)]==='nodebuffer'?_0x1091f1=_0x46ae2a(_0x506cd5,_0x4da992):this[_0x35443f(0x1c5)]===_0x35443f(0x105)?_0x1091f1=_0x3b036b(_0x46ae2a(_0x506cd5,_0x4da992)):this[_0x35443f(0x1c5)]==='blob'?_0x1091f1=new Blob(_0x506cd5):_0x1091f1=_0x506cd5,this[_0x35443f(0x14c)]?(this[_0x35443f(0xed)]('message',_0x1091f1,!0x0),this[_0x35443f(0xf6)]=_0x3e8314):(this['_state']=_0x3d8634,setImmediate(()=>{const _0x30d3c9=_0x35443f;this[_0x30d3c9(0xed)](_0x30d3c9(0x1d5),_0x1091f1,!0x0),this[_0x30d3c9(0xf6)]=_0x3e8314,this[_0x30d3c9(0x219)](_0x5ce822);}));}else{const _0x388897=_0x46ae2a(_0x506cd5,_0x4da992);if(!this[_0x35443f(0x19e)]&&!_0x43fbdd(_0x388897)){const _0x2b698a=this[_0x35443f(0x20f)](Error,_0x35443f(0x169),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x5ce822(_0x2b698a);return;}this[_0x35443f(0xf6)]===_0x3c1126||this[_0x35443f(0x14c)]?(this[_0x35443f(0xed)]('message',_0x388897,!0x1),this[_0x35443f(0xf6)]=_0x3e8314):(this[_0x35443f(0xf6)]=_0x3d8634,setImmediate(()=>{const _0xd9ace=_0x35443f;this[_0xd9ace(0xed)](_0xd9ace(0x1d5),_0x388897,!0x1),this[_0xd9ace(0xf6)]=_0x3e8314,this[_0xd9ace(0x219)](_0x5ce822);}));}}['controlMessage'](_0x3d62c1,_0x3d0050){const _0x24deaf=_0x4c2431;if(this[_0x24deaf(0x154)]===0x8){if(_0x3d62c1[_0x24deaf(0x1ca)]===0x0)this[_0x24deaf(0x21f)]=!0x1,this[_0x24deaf(0xed)](_0x24deaf(0x147),0x3ed,_0x4174e9),this[_0x24deaf(0x195)]();else{const _0x5993a2=_0x3d62c1['readUInt16BE'](0x0);if(!_0x1481b1(_0x5993a2)){const _0x4f6fd8=this[_0x24deaf(0x20f)](RangeError,'invalid\x20status\x20code\x20'+_0x5993a2,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0x3d0050(_0x4f6fd8);return;}const _0x4bef01=new _0x278296(_0x3d62c1[_0x24deaf(0xd4)],_0x3d62c1[_0x24deaf(0xf1)]+0x2,_0x3d62c1['length']-0x2);if(!this[_0x24deaf(0x19e)]&&!_0x43fbdd(_0x4bef01)){const _0x284e5c=this['createError'](Error,_0x24deaf(0x169),!0x0,0x3ef,_0x24deaf(0xe9));_0x3d0050(_0x284e5c);return;}this[_0x24deaf(0x21f)]=!0x1,this[_0x24deaf(0xed)]('conclude',_0x5993a2,_0x4bef01),this[_0x24deaf(0x195)]();}this[_0x24deaf(0xf6)]=_0x3e8314;return;}this[_0x24deaf(0x14c)]?(this[_0x24deaf(0xed)](this['_opcode']===0x9?_0x24deaf(0x173):_0x24deaf(0x1d0),_0x3d62c1),this[_0x24deaf(0xf6)]=_0x3e8314):(this[_0x24deaf(0xf6)]=_0x3d8634,setImmediate(()=>{const _0x3d3ed6=_0x24deaf;this[_0x3d3ed6(0xed)](this[_0x3d3ed6(0x154)]===0x9?_0x3d3ed6(0x173):'pong',_0x3d62c1),this[_0x3d3ed6(0xf6)]=_0x3e8314,this[_0x3d3ed6(0x219)](_0x3d0050);}));}[_0x4c2431(0x20f)](_0x25a32d,_0x19c08b,_0xdf6f98,_0x407098,_0x2025b8){const _0x268848=_0x4c2431;this['_loop']=!0x1,this['_errored']=!0x0;const _0x2f02d6=new _0x25a32d(_0xdf6f98?_0x268848(0xb8)+_0x19c08b:_0x19c08b);return Error[_0x268848(0x22e)](_0x2f02d6,this['createError']),_0x2f02d6[_0x268848(0xb2)]=_0x2025b8,_0x2f02d6[_0x132964]=_0x407098,_0x2f02d6;}}return Se=_0x391ee7,Se;}var Ee,et;function _t(){const _0x19845e=_0xa7a424;if(et)return Ee;et=0x1;const {Duplex:_0x51a50c}=_0x566c0f,{randomFillSync:_0x5ad86f}=_0x47cf61,_0x4d7c41=he(),{EMPTY_BUFFER:_0xa42482,kWebSocket:_0x421c34,NOOP:_0xc7849a}=V(),{isBlob:_0x2b53b6,isValidStatusCode:_0x352b5d}=ne(),{mask:_0x3adfcd,toBuffer:_0x2613d2}=ce(),_0x546ac9=Symbol('kByteLength'),_0x4a2746=Buffer[_0x19845e(0xd3)](0x4),_0x255b96=0x8*0x400;let _0xce645b,_0x339997=_0x255b96;const _0x41fea4=0x0,_0x142f3f=0x1,_0x247971=0x2;class _0x45b274{constructor(_0x388377,_0x19f1eb,_0x1fb750){const _0x1d4d0c=_0x19845e;this[_0x1d4d0c(0xaf)]=_0x19f1eb||{},_0x1fb750&&(this[_0x1d4d0c(0xcf)]=_0x1fb750,this[_0x1d4d0c(0x23e)]=Buffer[_0x1d4d0c(0xd3)](0x4)),this['_socket']=_0x388377,this[_0x1d4d0c(0x138)]=!0x0,this[_0x1d4d0c(0x1b4)]=!0x1,this[_0x1d4d0c(0x10e)]=0x0,this[_0x1d4d0c(0x145)]=[],this['_state']=_0x41fea4,this[_0x1d4d0c(0x201)]=_0xc7849a,this[_0x421c34]=void 0x0;}static[_0x19845e(0x144)](_0x566cb5,_0x80b45f){const _0x225227=_0x19845e;let _0x47b72e,_0x4d8f7e=!0x1,_0x314d7e=0x2,_0x54f6f0=!0x1;_0x80b45f[_0x225227(0x13d)]&&(_0x47b72e=_0x80b45f[_0x225227(0x183)]||_0x4a2746,_0x80b45f[_0x225227(0x199)]?_0x80b45f[_0x225227(0x199)](_0x47b72e):(_0x339997===_0x255b96&&(_0xce645b===void 0x0&&(_0xce645b=Buffer[_0x225227(0xd3)](_0x255b96)),_0x5ad86f(_0xce645b,0x0,_0x255b96),_0x339997=0x0),_0x47b72e[0x0]=_0xce645b[_0x339997++],_0x47b72e[0x1]=_0xce645b[_0x339997++],_0x47b72e[0x2]=_0xce645b[_0x339997++],_0x47b72e[0x3]=_0xce645b[_0x339997++]),_0x54f6f0=(_0x47b72e[0x0]|_0x47b72e[0x1]|_0x47b72e[0x2]|_0x47b72e[0x3])===0x0,_0x314d7e=0x6);let _0x19a290;typeof _0x566cb5==_0x225227(0x117)?(!_0x80b45f[_0x225227(0x13d)]||_0x54f6f0)&&_0x80b45f[_0x546ac9]!==void 0x0?_0x19a290=_0x80b45f[_0x546ac9]:(_0x566cb5=Buffer[_0x225227(0xa2)](_0x566cb5),_0x19a290=_0x566cb5[_0x225227(0x1ca)]):(_0x19a290=_0x566cb5[_0x225227(0x1ca)],_0x4d8f7e=_0x80b45f['mask']&&_0x80b45f[_0x225227(0x1b3)]&&!_0x54f6f0);let _0x284dc8=_0x19a290;_0x19a290>=0x10000?(_0x314d7e+=0x8,_0x284dc8=0x7f):_0x19a290>0x7d&&(_0x314d7e+=0x2,_0x284dc8=0x7e);const _0x2d064a=Buffer[_0x225227(0x124)](_0x4d8f7e?_0x19a290+_0x314d7e:_0x314d7e);return _0x2d064a[0x0]=_0x80b45f[_0x225227(0x101)]?_0x80b45f[_0x225227(0x1c3)]|0x80:_0x80b45f[_0x225227(0x1c3)],_0x80b45f[_0x225227(0xdd)]&&(_0x2d064a[0x0]|=0x40),_0x2d064a[0x1]=_0x284dc8,_0x284dc8===0x7e?_0x2d064a[_0x225227(0x1e4)](_0x19a290,0x2):_0x284dc8===0x7f&&(_0x2d064a[0x2]=_0x2d064a[0x3]=0x0,_0x2d064a[_0x225227(0x1c0)](_0x19a290,0x4,0x6)),_0x80b45f[_0x225227(0x13d)]?(_0x2d064a[0x1]|=0x80,_0x2d064a[_0x314d7e-0x4]=_0x47b72e[0x0],_0x2d064a[_0x314d7e-0x3]=_0x47b72e[0x1],_0x2d064a[_0x314d7e-0x2]=_0x47b72e[0x2],_0x2d064a[_0x314d7e-0x1]=_0x47b72e[0x3],_0x54f6f0?[_0x2d064a,_0x566cb5]:_0x4d8f7e?(_0x3adfcd(_0x566cb5,_0x47b72e,_0x2d064a,_0x314d7e,_0x19a290),[_0x2d064a]):(_0x3adfcd(_0x566cb5,_0x47b72e,_0x566cb5,0x0,_0x19a290),[_0x2d064a,_0x566cb5])):[_0x2d064a,_0x566cb5];}[_0x19845e(0x149)](_0x2a3630,_0x5e59f8,_0x35b7a2,_0xfef211){const _0x2539da=_0x19845e;let _0x247ea6;if(_0x2a3630===void 0x0)_0x247ea6=_0xa42482;else{if(typeof _0x2a3630!='number'||!_0x352b5d(_0x2a3630))throw new TypeError(_0x2539da(0x189));if(_0x5e59f8===void 0x0||!_0x5e59f8['length'])_0x247ea6=Buffer[_0x2539da(0x124)](0x2),_0x247ea6[_0x2539da(0x1e4)](_0x2a3630,0x0);else{const _0x57ef72=Buffer['byteLength'](_0x5e59f8);if(_0x57ef72>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x247ea6=Buffer[_0x2539da(0x124)](0x2+_0x57ef72),_0x247ea6[_0x2539da(0x1e4)](_0x2a3630,0x0),typeof _0x5e59f8==_0x2539da(0x117)?_0x247ea6[_0x2539da(0x1cb)](_0x5e59f8,0x2):_0x247ea6[_0x2539da(0x134)](_0x5e59f8,0x2);}}const _0x553901={[_0x546ac9]:_0x247ea6['length'],'fin':!0x0,'generateMask':this[_0x2539da(0xcf)],'mask':_0x35b7a2,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x2539da(0xf6)]!==_0x41fea4?this[_0x2539da(0x1a2)]([this[_0x2539da(0x1d9)],_0x247ea6,!0x1,_0x553901,_0xfef211]):this[_0x2539da(0x19b)](_0x45b274['frame'](_0x247ea6,_0x553901),_0xfef211);}[_0x19845e(0x173)](_0x4f5311,_0x5a563f,_0x374e44){const _0x93b03b=_0x19845e;let _0x16186d,_0x2f5803;if(typeof _0x4f5311==_0x93b03b(0x117)?(_0x16186d=Buffer[_0x93b03b(0x21c)](_0x4f5311),_0x2f5803=!0x1):_0x2b53b6(_0x4f5311)?(_0x16186d=_0x4f5311[_0x93b03b(0x153)],_0x2f5803=!0x1):(_0x4f5311=_0x2613d2(_0x4f5311),_0x16186d=_0x4f5311[_0x93b03b(0x1ca)],_0x2f5803=_0x2613d2[_0x93b03b(0x1b3)]),_0x16186d>0x7d)throw new RangeError(_0x93b03b(0x1f7));const _0x4ff0a5={[_0x546ac9]:_0x16186d,'fin':!0x0,'generateMask':this[_0x93b03b(0xcf)],'mask':_0x5a563f,'maskBuffer':this[_0x93b03b(0x23e)],'opcode':0x9,'readOnly':_0x2f5803,'rsv1':!0x1};_0x2b53b6(_0x4f5311)?this[_0x93b03b(0xf6)]!==_0x41fea4?this[_0x93b03b(0x1a2)]([this[_0x93b03b(0x22b)],_0x4f5311,!0x1,_0x4ff0a5,_0x374e44]):this[_0x93b03b(0x22b)](_0x4f5311,!0x1,_0x4ff0a5,_0x374e44):this[_0x93b03b(0xf6)]!==_0x41fea4?this[_0x93b03b(0x1a2)]([this[_0x93b03b(0x1d9)],_0x4f5311,!0x1,_0x4ff0a5,_0x374e44]):this[_0x93b03b(0x19b)](_0x45b274[_0x93b03b(0x144)](_0x4f5311,_0x4ff0a5),_0x374e44);}[_0x19845e(0x1d0)](_0xa7ba87,_0x587002,_0x40801b){const _0x534460=_0x19845e;let _0xccbd8b,_0xc9d8fd;if(typeof _0xa7ba87==_0x534460(0x117)?(_0xccbd8b=Buffer[_0x534460(0x21c)](_0xa7ba87),_0xc9d8fd=!0x1):_0x2b53b6(_0xa7ba87)?(_0xccbd8b=_0xa7ba87['size'],_0xc9d8fd=!0x1):(_0xa7ba87=_0x2613d2(_0xa7ba87),_0xccbd8b=_0xa7ba87['length'],_0xc9d8fd=_0x2613d2[_0x534460(0x1b3)]),_0xccbd8b>0x7d)throw new RangeError(_0x534460(0x1f7));const _0x3a06a0={[_0x546ac9]:_0xccbd8b,'fin':!0x0,'generateMask':this[_0x534460(0xcf)],'mask':_0x587002,'maskBuffer':this[_0x534460(0x23e)],'opcode':0xa,'readOnly':_0xc9d8fd,'rsv1':!0x1};_0x2b53b6(_0xa7ba87)?this[_0x534460(0xf6)]!==_0x41fea4?this[_0x534460(0x1a2)]([this[_0x534460(0x22b)],_0xa7ba87,!0x1,_0x3a06a0,_0x40801b]):this['getBlobData'](_0xa7ba87,!0x1,_0x3a06a0,_0x40801b):this['_state']!==_0x41fea4?this[_0x534460(0x1a2)]([this['dispatch'],_0xa7ba87,!0x1,_0x3a06a0,_0x40801b]):this['sendFrame'](_0x45b274[_0x534460(0x144)](_0xa7ba87,_0x3a06a0),_0x40801b);}['send'](_0x4656d0,_0x9e569d,_0x4204dd){const _0x29f9c7=_0x19845e,_0x2af7a2=this[_0x29f9c7(0xaf)][_0x4d7c41['extensionName']];let _0x1cc768=_0x9e569d['binary']?0x2:0x1,_0x1870dc=_0x9e569d['compress'],_0x3114aa,_0x42f65e;typeof _0x4656d0=='string'?(_0x3114aa=Buffer['byteLength'](_0x4656d0),_0x42f65e=!0x1):_0x2b53b6(_0x4656d0)?(_0x3114aa=_0x4656d0[_0x29f9c7(0x153)],_0x42f65e=!0x1):(_0x4656d0=_0x2613d2(_0x4656d0),_0x3114aa=_0x4656d0['length'],_0x42f65e=_0x2613d2[_0x29f9c7(0x1b3)]),this[_0x29f9c7(0x138)]?(this[_0x29f9c7(0x138)]=!0x1,_0x1870dc&&_0x2af7a2&&_0x2af7a2[_0x29f9c7(0x230)][_0x2af7a2[_0x29f9c7(0xf7)]?_0x29f9c7(0xc2):'client_no_context_takeover']&&(_0x1870dc=_0x3114aa>=_0x2af7a2[_0x29f9c7(0xfb)]),this['_compress']=_0x1870dc):(_0x1870dc=!0x1,_0x1cc768=0x0),_0x9e569d[_0x29f9c7(0x101)]&&(this['_firstFragment']=!0x0);const _0x83edb2={[_0x546ac9]:_0x3114aa,'fin':_0x9e569d['fin'],'generateMask':this['_generateMask'],'mask':_0x9e569d[_0x29f9c7(0x13d)],'maskBuffer':this['_maskBuffer'],'opcode':_0x1cc768,'readOnly':_0x42f65e,'rsv1':_0x1870dc};_0x2b53b6(_0x4656d0)?this[_0x29f9c7(0xf6)]!==_0x41fea4?this['enqueue']([this[_0x29f9c7(0x22b)],_0x4656d0,this[_0x29f9c7(0x1b4)],_0x83edb2,_0x4204dd]):this['getBlobData'](_0x4656d0,this[_0x29f9c7(0x1b4)],_0x83edb2,_0x4204dd):this[_0x29f9c7(0xf6)]!==_0x41fea4?this[_0x29f9c7(0x1a2)]([this[_0x29f9c7(0x1d9)],_0x4656d0,this['_compress'],_0x83edb2,_0x4204dd]):this[_0x29f9c7(0x1d9)](_0x4656d0,this[_0x29f9c7(0x1b4)],_0x83edb2,_0x4204dd);}['getBlobData'](_0x33ad4b,_0x404ae7,_0x4d7d81,_0x2d7a8d){const _0x524647=_0x19845e;this['_bufferedBytes']+=_0x4d7d81[_0x546ac9],this[_0x524647(0xf6)]=_0x247971,_0x33ad4b[_0x524647(0x1f9)]()[_0x524647(0x23a)](_0x4a1297=>{const _0x5b1805=_0x524647;if(this[_0x5b1805(0x191)]['destroyed']){const _0x594535=new Error(_0x5b1805(0x11b));process[_0x5b1805(0x242)](_0x14f39e,this,_0x594535,_0x2d7a8d);return;}this[_0x5b1805(0x10e)]-=_0x4d7d81[_0x546ac9];const _0xc4bbe7=_0x2613d2(_0x4a1297);_0x404ae7?this[_0x5b1805(0x1d9)](_0xc4bbe7,_0x404ae7,_0x4d7d81,_0x2d7a8d):(this[_0x5b1805(0xf6)]=_0x41fea4,this[_0x5b1805(0x19b)](_0x45b274[_0x5b1805(0x144)](_0xc4bbe7,_0x4d7d81),_0x2d7a8d),this[_0x5b1805(0x227)]());})['catch'](_0x4e057f=>{const _0x1e4e54=_0x524647;process[_0x1e4e54(0x242)](_0x337c9a,this,_0x4e057f,_0x2d7a8d);});}[_0x19845e(0x1d9)](_0x3ac297,_0x1a635d,_0x46e11e,_0x2a62e7){const _0x52831c=_0x19845e;if(!_0x1a635d){this['sendFrame'](_0x45b274[_0x52831c(0x144)](_0x3ac297,_0x46e11e),_0x2a62e7);return;}const _0xe3d7c=this[_0x52831c(0xaf)][_0x4d7c41[_0x52831c(0x1a1)]];this['_bufferedBytes']+=_0x46e11e[_0x546ac9],this[_0x52831c(0xf6)]=_0x142f3f,_0xe3d7c[_0x52831c(0xc6)](_0x3ac297,_0x46e11e[_0x52831c(0x101)],(_0x3c5baf,_0x45f6e5)=>{const _0x5cb224=_0x52831c;if(this[_0x5cb224(0x191)][_0x5cb224(0x218)]){const _0xf6aadd=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x14f39e(this,_0xf6aadd,_0x2a62e7);return;}this[_0x5cb224(0x10e)]-=_0x46e11e[_0x546ac9],this[_0x5cb224(0xf6)]=_0x41fea4,_0x46e11e['readOnly']=!0x1,this['sendFrame'](_0x45b274['frame'](_0x45f6e5,_0x46e11e),_0x2a62e7),this[_0x5cb224(0x227)]();});}[_0x19845e(0x227)](){const _0x1229d8=_0x19845e;for(;this[_0x1229d8(0xf6)]===_0x41fea4&&this[_0x1229d8(0x145)]['length'];){const _0x16571c=this[_0x1229d8(0x145)]['shift']();this[_0x1229d8(0x10e)]-=_0x16571c[0x3][_0x546ac9],Reflect[_0x1229d8(0x1a0)](_0x16571c[0x0],this,_0x16571c[_0x1229d8(0xbc)](0x1));}}['enqueue'](_0x36d081){const _0x3eb063=_0x19845e;this[_0x3eb063(0x10e)]+=_0x36d081[0x3][_0x546ac9],this[_0x3eb063(0x145)][_0x3eb063(0xeb)](_0x36d081);}[_0x19845e(0x19b)](_0x2106b3,_0x103c9f){const _0x1817b1=_0x19845e;_0x2106b3[_0x1817b1(0x1ca)]===0x2?(this[_0x1817b1(0x191)][_0x1817b1(0x1a9)](),this[_0x1817b1(0x191)][_0x1817b1(0x1cb)](_0x2106b3[0x0]),this['_socket']['write'](_0x2106b3[0x1],_0x103c9f),this[_0x1817b1(0x191)][_0x1817b1(0x125)]()):this['_socket'][_0x1817b1(0x1cb)](_0x2106b3[0x0],_0x103c9f);}}Ee=_0x45b274;function _0x14f39e(_0x18c857,_0x58ec5f,_0x5b468c){const _0x29dd13=_0x19845e;typeof _0x5b468c=='function'&&_0x5b468c(_0x58ec5f);for(let _0x2dd5a3=0x0;_0x2dd5a3<_0x18c857[_0x29dd13(0x145)]['length'];_0x2dd5a3++){const _0x3e810c=_0x18c857[_0x29dd13(0x145)][_0x2dd5a3],_0x1d41b5=_0x3e810c[_0x3e810c['length']-0x1];typeof _0x1d41b5=='function'&&_0x1d41b5(_0x58ec5f);}}function _0x337c9a(_0x25be91,_0x4f657a,_0x107221){const _0x4fa57d=_0x19845e;_0x14f39e(_0x25be91,_0x4f657a,_0x107221),_0x25be91[_0x4fa57d(0x201)](_0x4f657a);}return Ee;}var xe,tt;function Kt(){const _0xd74ccf=_0xa7a424;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x55cde2,kListener:_0x407849}=V(),_0x4dd373=Symbol(_0xd74ccf(0x16b)),_0x4e0fcd=Symbol(_0xd74ccf(0x131)),_0x424838=Symbol(_0xd74ccf(0x123)),_0x206088=Symbol(_0xd74ccf(0xfe)),_0x344c30=Symbol(_0xd74ccf(0x175)),_0x2fea79=Symbol(_0xd74ccf(0x216)),_0x34c616=Symbol(_0xd74ccf(0x21b)),_0x31faa0=Symbol('kWasClean');class _0x79ab4a{constructor(_0x47d559){this[_0x2fea79]=null,this[_0x34c616]=_0x47d559;}get[_0xd74ccf(0xc1)](){return this[_0x2fea79];}get[_0xd74ccf(0x187)](){return this[_0x34c616];}}Object[_0xd74ccf(0x223)](_0x79ab4a[_0xd74ccf(0x17c)],_0xd74ccf(0xc1),{'enumerable':!0x0}),Object[_0xd74ccf(0x223)](_0x79ab4a[_0xd74ccf(0x17c)],'type',{'enumerable':!0x0});class _0x2e2568 extends _0x79ab4a{constructor(_0x51cec1,_0x535ba6={}){const _0x38f3b9=_0xd74ccf;super(_0x51cec1),this[_0x4dd373]=_0x535ba6[_0x38f3b9(0xb2)]===void 0x0?0x0:_0x535ba6[_0x38f3b9(0xb2)],this[_0x344c30]=_0x535ba6[_0x38f3b9(0x186)]===void 0x0?'':_0x535ba6[_0x38f3b9(0x186)],this[_0x31faa0]=_0x535ba6[_0x38f3b9(0x158)]===void 0x0?!0x1:_0x535ba6[_0x38f3b9(0x158)];}get['code'](){return this[_0x4dd373];}get[_0xd74ccf(0x186)](){return this[_0x344c30];}get['wasClean'](){return this[_0x31faa0];}}Object['defineProperty'](_0x2e2568[_0xd74ccf(0x17c)],_0xd74ccf(0xb2),{'enumerable':!0x0}),Object[_0xd74ccf(0x223)](_0x2e2568[_0xd74ccf(0x17c)],_0xd74ccf(0x186),{'enumerable':!0x0}),Object[_0xd74ccf(0x223)](_0x2e2568[_0xd74ccf(0x17c)],_0xd74ccf(0x158),{'enumerable':!0x0});class _0x54e4a3 extends _0x79ab4a{constructor(_0x59357c,_0x188c37={}){const _0x269a42=_0xd74ccf;super(_0x59357c),this[_0x424838]=_0x188c37[_0x269a42(0x93)]===void 0x0?null:_0x188c37['error'],this[_0x206088]=_0x188c37[_0x269a42(0x1d5)]===void 0x0?'':_0x188c37[_0x269a42(0x1d5)];}get[_0xd74ccf(0x93)](){return this[_0x424838];}get[_0xd74ccf(0x1d5)](){return this[_0x206088];}}Object[_0xd74ccf(0x223)](_0x54e4a3[_0xd74ccf(0x17c)],'error',{'enumerable':!0x0}),Object['defineProperty'](_0x54e4a3['prototype'],_0xd74ccf(0x1d5),{'enumerable':!0x0});class _0x11b4c4 extends _0x79ab4a{constructor(_0x526145,_0x132d94={}){const _0x53d4bc=_0xd74ccf;super(_0x526145),this[_0x4e0fcd]=_0x132d94[_0x53d4bc(0x11e)]===void 0x0?null:_0x132d94[_0x53d4bc(0x11e)];}get[_0xd74ccf(0x11e)](){return this[_0x4e0fcd];}}Object[_0xd74ccf(0x223)](_0x11b4c4[_0xd74ccf(0x17c)],'data',{'enumerable':!0x0}),xe={'CloseEvent':_0x2e2568,'ErrorEvent':_0x54e4a3,'Event':_0x79ab4a,'EventTarget':{'addEventListener'(_0x264338,_0x219222,_0x49aa56={}){const _0x1c6433=_0xd74ccf;for(const _0x2c1d56 of this[_0x1c6433(0x209)](_0x264338))if(!_0x49aa56[_0x55cde2]&&_0x2c1d56[_0x407849]===_0x219222&&!_0x2c1d56[_0x55cde2])return;let _0x37506b;if(_0x264338===_0x1c6433(0x1d5))_0x37506b=function(_0xc6fe15,_0x3ed063){const _0xc11b07=_0x1c6433,_0x200263=new _0x11b4c4(_0xc11b07(0x1d5),{'data':_0x3ed063?_0xc6fe15:_0xc6fe15['toString']()});_0x200263[_0x2fea79]=this,_0x5ac184(_0x219222,this,_0x200263);};else{if(_0x264338===_0x1c6433(0x149))_0x37506b=function(_0x15bdc9,_0xf5ad34){const _0xa340d9=_0x1c6433,_0x2b3e73=new _0x2e2568(_0xa340d9(0x149),{'code':_0x15bdc9,'reason':_0xf5ad34['toString'](),'wasClean':this[_0xa340d9(0x207)]&&this['_closeFrameSent']});_0x2b3e73[_0x2fea79]=this,_0x5ac184(_0x219222,this,_0x2b3e73);};else{if(_0x264338===_0x1c6433(0x93))_0x37506b=function(_0x6f80e0){const _0x4b2007=_0x1c6433,_0x1d51e3=new _0x54e4a3(_0x4b2007(0x93),{'error':_0x6f80e0,'message':_0x6f80e0[_0x4b2007(0x1d5)]});_0x1d51e3[_0x2fea79]=this,_0x5ac184(_0x219222,this,_0x1d51e3);};else{if(_0x264338===_0x1c6433(0xac))_0x37506b=function(){const _0x1a46e1=_0x1c6433,_0x176179=new _0x79ab4a(_0x1a46e1(0xac));_0x176179[_0x2fea79]=this,_0x5ac184(_0x219222,this,_0x176179);};else return;}}}_0x37506b[_0x55cde2]=!!_0x49aa56[_0x55cde2],_0x37506b[_0x407849]=_0x219222,_0x49aa56[_0x1c6433(0x17f)]?this[_0x1c6433(0x17f)](_0x264338,_0x37506b):this['on'](_0x264338,_0x37506b);},'removeEventListener'(_0x6ba099,_0x1384b4){const _0x486359=_0xd74ccf;for(const _0x17d9bb of this[_0x486359(0x209)](_0x6ba099))if(_0x17d9bb[_0x407849]===_0x1384b4&&!_0x17d9bb[_0x55cde2]){this[_0x486359(0x14b)](_0x6ba099,_0x17d9bb);break;}}},'MessageEvent':_0x11b4c4};function _0x5ac184(_0x606429,_0x3fccb8,_0x4ffbbb){const _0x3e254d=_0xd74ccf;typeof _0x606429==_0x3e254d(0x116)&&_0x606429['handleEvent']?_0x606429[_0x3e254d(0x165)][_0x3e254d(0x16d)](_0x606429,_0x4ffbbb):_0x606429['call'](_0x3fccb8,_0x4ffbbb);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x16e937}=ne();function _0x3f25a3(_0x57be7a,_0x24fe13,_0x3696ed){const _0x4620bc=_0x1faa;_0x57be7a[_0x24fe13]===void 0x0?_0x57be7a[_0x24fe13]=[_0x3696ed]:_0x57be7a[_0x24fe13][_0x4620bc(0xeb)](_0x3696ed);}function _0x33d6bf(_0x4f63a7){const _0x539d43=_0x1faa,_0x321fc1=Object[_0x539d43(0x241)](null);let _0xc2849b=Object[_0x539d43(0x241)](null),_0x452b38=!0x1,_0x2e5989=!0x1,_0x6b1364=!0x1,_0x5656b4,_0x1e7929,_0x16b7d5=-0x1,_0x52b003=-0x1,_0x2a71f1=-0x1,_0x382274=0x0;for(;_0x382274<_0x4f63a7[_0x539d43(0x1ca)];_0x382274++)if(_0x52b003=_0x4f63a7[_0x539d43(0x12e)](_0x382274),_0x5656b4===void 0x0){if(_0x2a71f1===-0x1&&_0x16e937[_0x52b003]===0x1)_0x16b7d5===-0x1&&(_0x16b7d5=_0x382274);else{if(_0x382274!==0x0&&(_0x52b003===0x20||_0x52b003===0x9))_0x2a71f1===-0x1&&_0x16b7d5!==-0x1&&(_0x2a71f1=_0x382274);else{if(_0x52b003===0x3b||_0x52b003===0x2c){if(_0x16b7d5===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x382274);_0x2a71f1===-0x1&&(_0x2a71f1=_0x382274);const _0xf12438=_0x4f63a7[_0x539d43(0xbc)](_0x16b7d5,_0x2a71f1);_0x52b003===0x2c?(_0x3f25a3(_0x321fc1,_0xf12438,_0xc2849b),_0xc2849b=Object[_0x539d43(0x241)](null)):_0x5656b4=_0xf12438,_0x16b7d5=_0x2a71f1=-0x1;}else throw new SyntaxError(_0x539d43(0x18d)+_0x382274);}}}else{if(_0x1e7929===void 0x0){if(_0x2a71f1===-0x1&&_0x16e937[_0x52b003]===0x1)_0x16b7d5===-0x1&&(_0x16b7d5=_0x382274);else{if(_0x52b003===0x20||_0x52b003===0x9)_0x2a71f1===-0x1&&_0x16b7d5!==-0x1&&(_0x2a71f1=_0x382274);else{if(_0x52b003===0x3b||_0x52b003===0x2c){if(_0x16b7d5===-0x1)throw new SyntaxError(_0x539d43(0x18d)+_0x382274);_0x2a71f1===-0x1&&(_0x2a71f1=_0x382274),_0x3f25a3(_0xc2849b,_0x4f63a7['slice'](_0x16b7d5,_0x2a71f1),!0x0),_0x52b003===0x2c&&(_0x3f25a3(_0x321fc1,_0x5656b4,_0xc2849b),_0xc2849b=Object['create'](null),_0x5656b4=void 0x0),_0x16b7d5=_0x2a71f1=-0x1;}else{if(_0x52b003===0x3d&&_0x16b7d5!==-0x1&&_0x2a71f1===-0x1)_0x1e7929=_0x4f63a7[_0x539d43(0xbc)](_0x16b7d5,_0x382274),_0x16b7d5=_0x2a71f1=-0x1;else throw new SyntaxError(_0x539d43(0x18d)+_0x382274);}}}}else{if(_0x2e5989){if(_0x16e937[_0x52b003]!==0x1)throw new SyntaxError(_0x539d43(0x18d)+_0x382274);_0x16b7d5===-0x1?_0x16b7d5=_0x382274:_0x452b38||(_0x452b38=!0x0),_0x2e5989=!0x1;}else{if(_0x6b1364){if(_0x16e937[_0x52b003]===0x1)_0x16b7d5===-0x1&&(_0x16b7d5=_0x382274);else{if(_0x52b003===0x22&&_0x16b7d5!==-0x1)_0x6b1364=!0x1,_0x2a71f1=_0x382274;else{if(_0x52b003===0x5c)_0x2e5989=!0x0;else throw new SyntaxError(_0x539d43(0x18d)+_0x382274);}}}else{if(_0x52b003===0x22&&_0x4f63a7[_0x539d43(0x12e)](_0x382274-0x1)===0x3d)_0x6b1364=!0x0;else{if(_0x2a71f1===-0x1&&_0x16e937[_0x52b003]===0x1)_0x16b7d5===-0x1&&(_0x16b7d5=_0x382274);else{if(_0x16b7d5!==-0x1&&(_0x52b003===0x20||_0x52b003===0x9))_0x2a71f1===-0x1&&(_0x2a71f1=_0x382274);else{if(_0x52b003===0x3b||_0x52b003===0x2c){if(_0x16b7d5===-0x1)throw new SyntaxError(_0x539d43(0x18d)+_0x382274);_0x2a71f1===-0x1&&(_0x2a71f1=_0x382274);let _0x58f726=_0x4f63a7['slice'](_0x16b7d5,_0x2a71f1);_0x452b38&&(_0x58f726=_0x58f726['replace'](/\\/g,''),_0x452b38=!0x1),_0x3f25a3(_0xc2849b,_0x1e7929,_0x58f726),_0x52b003===0x2c&&(_0x3f25a3(_0x321fc1,_0x5656b4,_0xc2849b),_0xc2849b=Object[_0x539d43(0x241)](null),_0x5656b4=void 0x0),_0x1e7929=void 0x0,_0x16b7d5=_0x2a71f1=-0x1;}else throw new SyntaxError(_0x539d43(0x18d)+_0x382274);}}}}}}}if(_0x16b7d5===-0x1||_0x6b1364||_0x52b003===0x20||_0x52b003===0x9)throw new SyntaxError(_0x539d43(0x10f));_0x2a71f1===-0x1&&(_0x2a71f1=_0x382274);const _0x486881=_0x4f63a7[_0x539d43(0xbc)](_0x16b7d5,_0x2a71f1);return _0x5656b4===void 0x0?_0x3f25a3(_0x321fc1,_0x486881,_0xc2849b):(_0x1e7929===void 0x0?_0x3f25a3(_0xc2849b,_0x486881,!0x0):_0x452b38?_0x3f25a3(_0xc2849b,_0x1e7929,_0x486881[_0x539d43(0x1da)](/\\/g,'')):_0x3f25a3(_0xc2849b,_0x1e7929,_0x486881),_0x3f25a3(_0x321fc1,_0x5656b4,_0xc2849b)),_0x321fc1;}function _0x12ddc9(_0x8c31ca){const _0x5cec47=_0x1faa;return Object['keys'](_0x8c31ca)[_0x5cec47(0x13f)](_0x10ffc4=>{const _0x77d34b=_0x5cec47;let _0x3cb713=_0x8c31ca[_0x10ffc4];return Array['isArray'](_0x3cb713)||(_0x3cb713=[_0x3cb713]),_0x3cb713[_0x77d34b(0x13f)](_0xb177af=>[_0x10ffc4][_0x77d34b(0xc3)](Object['keys'](_0xb177af)[_0x77d34b(0x13f)](_0x2a7cfb=>{const _0x1c8422=_0x77d34b;let _0x5b0346=_0xb177af[_0x2a7cfb];return Array[_0x1c8422(0x11d)](_0x5b0346)||(_0x5b0346=[_0x5b0346]),_0x5b0346[_0x1c8422(0x13f)](_0x267178=>_0x267178===!0x0?_0x2a7cfb:_0x2a7cfb+'='+_0x267178)[_0x1c8422(0x22c)](';\x20');}))['join'](';\x20'))[_0x77d34b(0x22c)](',\x20');})[_0x5cec47(0x22c)](',\x20');}return be={'format':_0x12ddc9,'parse':_0x33d6bf},be;}var we,st;function Ie(){const _0x35fbf8=_0xa7a424;if(st)return we;st=0x1;const _0x12eb75=_0x3f7707,_0x2700b0=_0x30486f,_0x59a3af=_0x215007,_0x2ca9bf=_0x2d3ff9,_0x1fa1cf=_0x2d5ad3,{randomBytes:_0x14b0ba,createHash:_0xe5c70}=_0x47cf61,{Duplex:_0x145f21,Readable:_0x160cd0}=_0x566c0f,{URL:_0x4d4b30}=_0x2b1d85,_0x148cd5=he(),_0x19104d=dt(),_0x39b712=_t(),{isBlob:_0x711327}=ne(),{BINARY_TYPES:_0x322c71,EMPTY_BUFFER:_0x52bd74,GUID:_0x276f70,kForOnEventAttribute:_0xd77ff1,kListener:_0x409b5f,kStatusCode:_0x2aa74a,kWebSocket:_0xdbccc1,NOOP:_0x4e793e}=V(),{EventTarget:{addEventListener:_0x8461a8,removeEventListener:_0x225324}}=Kt(),{format:_0x2bbba2,parse:_0xd33150}=pt(),{toBuffer:_0x375cd}=ce(),_0x1f2480=0x1e*0x3e8,_0x4b9ad6=Symbol('kAborted'),_0x12107c=[0x8,0xd],_0x3f5be3=['CONNECTING','OPEN',_0x35fbf8(0x203),_0x35fbf8(0x188)],_0x2d6380=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x2c50a4 extends _0x12eb75{constructor(_0x35e844,_0x4c5872,_0x5b7de4){const _0x5dbfae=_0x35fbf8;super(),this[_0x5dbfae(0x1c5)]=_0x322c71[0x0],this['_closeCode']=0x3ee,this[_0x5dbfae(0x207)]=!0x1,this[_0x5dbfae(0x16e)]=!0x1,this[_0x5dbfae(0x22d)]=_0x52bd74,this[_0x5dbfae(0x1c7)]=null,this[_0x5dbfae(0xea)]=!0x1,this[_0x5dbfae(0xaf)]={},this['_paused']=!0x1,this['_protocol']='',this['_readyState']=_0x2c50a4[_0x5dbfae(0x20c)],this[_0x5dbfae(0x100)]=null,this[_0x5dbfae(0xb7)]=null,this[_0x5dbfae(0x191)]=null,_0x35e844!==null?(this[_0x5dbfae(0x10b)]=0x0,this['_isServer']=!0x1,this[_0x5dbfae(0x21d)]=0x0,_0x4c5872===void 0x0?_0x4c5872=[]:Array['isArray'](_0x4c5872)||(typeof _0x4c5872=='object'&&_0x4c5872!==null?(_0x5b7de4=_0x4c5872,_0x4c5872=[]):_0x4c5872=[_0x4c5872]),_0x140810(this,_0x35e844,_0x4c5872,_0x5b7de4)):(this[_0x5dbfae(0x197)]=_0x5b7de4[_0x5dbfae(0x1d3)],this['_isServer']=!0x0);}get['binaryType'](){const _0x123514=_0x35fbf8;return this[_0x123514(0x1c5)];}set[_0x35fbf8(0x16c)](_0x4f8e73){const _0x26432a=_0x35fbf8;_0x322c71['includes'](_0x4f8e73)&&(this[_0x26432a(0x1c5)]=_0x4f8e73,this['_receiver']&&(this[_0x26432a(0x100)][_0x26432a(0x1c5)]=_0x4f8e73));}get[_0x35fbf8(0x1a7)](){const _0x59a0a9=_0x35fbf8;return this[_0x59a0a9(0x191)]?this[_0x59a0a9(0x191)][_0x59a0a9(0x12b)][_0x59a0a9(0x1ca)]+this[_0x59a0a9(0xb7)]['_bufferedBytes']:this[_0x59a0a9(0x10b)];}get[_0x35fbf8(0x13b)](){const _0x120cc4=_0x35fbf8;return Object[_0x120cc4(0x22f)](this[_0x120cc4(0xaf)])[_0x120cc4(0x22c)]();}get[_0x35fbf8(0x190)](){const _0x4e6c27=_0x35fbf8;return this[_0x4e6c27(0x171)];}get[_0x35fbf8(0x9e)](){return null;}get[_0x35fbf8(0x201)](){return null;}get[_0x35fbf8(0x1b9)](){return null;}get[_0x35fbf8(0xaa)](){return null;}get[_0x35fbf8(0x1dd)](){const _0x5ae358=_0x35fbf8;return this[_0x5ae358(0xbb)];}get[_0x35fbf8(0x196)](){const _0x32f0cc=_0x35fbf8;return this[_0x32f0cc(0x106)];}get[_0x35fbf8(0x1c8)](){const _0x25b153=_0x35fbf8;return this[_0x25b153(0xc7)];}[_0x35fbf8(0x18a)](_0x38457c,_0x233909,_0x29f5cc){const _0x2bdea6=_0x35fbf8,_0x2af596=new _0x19104d({'allowSynchronousEvents':_0x29f5cc[_0x2bdea6(0x1ac)],'binaryType':this[_0x2bdea6(0x16c)],'extensions':this[_0x2bdea6(0xaf)],'isServer':this[_0x2bdea6(0xf7)],'maxPayload':_0x29f5cc[_0x2bdea6(0x243)],'skipUTF8Validation':_0x29f5cc[_0x2bdea6(0xcd)]}),_0x4d4b6d=new _0x39b712(_0x38457c,this['_extensions'],_0x29f5cc[_0x2bdea6(0x199)]);this[_0x2bdea6(0x100)]=_0x2af596,this[_0x2bdea6(0xb7)]=_0x4d4b6d,this[_0x2bdea6(0x191)]=_0x38457c,_0x2af596[_0xdbccc1]=this,_0x4d4b6d[_0xdbccc1]=this,_0x38457c[_0xdbccc1]=this,_0x2af596['on'](_0x2bdea6(0x147),_0x36a3cd),_0x2af596['on'](_0x2bdea6(0xb0),_0x574fef),_0x2af596['on']('error',_0x2488da),_0x2af596['on'](_0x2bdea6(0x1d5),_0x309f16),_0x2af596['on'](_0x2bdea6(0x173),_0x54258e),_0x2af596['on'](_0x2bdea6(0x1d0),_0x555efe),_0x4d4b6d[_0x2bdea6(0x201)]=_0x156656,_0x38457c[_0x2bdea6(0x136)]&&_0x38457c['setTimeout'](0x0),_0x38457c[_0x2bdea6(0x1f8)]&&_0x38457c[_0x2bdea6(0x1f8)](),_0x233909[_0x2bdea6(0x1ca)]>0x0&&_0x38457c[_0x2bdea6(0x16a)](_0x233909),_0x38457c['on'](_0x2bdea6(0x149),_0x3b7476),_0x38457c['on'](_0x2bdea6(0x11e),_0x52e978),_0x38457c['on'](_0x2bdea6(0x195),_0x596718),_0x38457c['on'](_0x2bdea6(0x93),_0x2080f8),this['_readyState']=_0x2c50a4[_0x2bdea6(0x1bb)],this[_0x2bdea6(0xed)](_0x2bdea6(0xac));}[_0x35fbf8(0x1a4)](){const _0x189973=_0x35fbf8;if(!this[_0x189973(0x191)]){this[_0x189973(0x106)]=_0x2c50a4['CLOSED'],this['emit']('close',this['_closeCode'],this[_0x189973(0x22d)]);return;}this[_0x189973(0xaf)][_0x148cd5[_0x189973(0x1a1)]]&&this[_0x189973(0xaf)][_0x148cd5[_0x189973(0x1a1)]][_0x189973(0xb4)](),this['_receiver']['removeAllListeners'](),this[_0x189973(0x106)]=_0x2c50a4[_0x189973(0x188)],this[_0x189973(0xed)]('close',this[_0x189973(0xb1)],this[_0x189973(0x22d)]);}[_0x35fbf8(0x149)](_0x4d480e,_0x5e2c14){const _0x57a15f=_0x35fbf8;if(this[_0x57a15f(0x196)]!==_0x2c50a4[_0x57a15f(0x188)]){if(this[_0x57a15f(0x196)]===_0x2c50a4[_0x57a15f(0x20c)]){_0x3b31f3(this,this[_0x57a15f(0x224)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}if(this[_0x57a15f(0x196)]===_0x2c50a4[_0x57a15f(0x203)]){this[_0x57a15f(0x16e)]&&(this['_closeFrameReceived']||this[_0x57a15f(0x100)]['_writableState']['errorEmitted'])&&this[_0x57a15f(0x191)][_0x57a15f(0x195)]();return;}this[_0x57a15f(0x106)]=_0x2c50a4[_0x57a15f(0x203)],this[_0x57a15f(0xb7)]['close'](_0x4d480e,_0x5e2c14,!this['_isServer'],_0x3564f6=>{const _0x421c83=_0x57a15f;_0x3564f6||(this['_closeFrameSent']=!0x0,(this['_closeFrameReceived']||this['_receiver'][_0x421c83(0x12b)][_0x421c83(0x99)])&&this[_0x421c83(0x191)][_0x421c83(0x195)]());}),_0x20f731(this);}}[_0x35fbf8(0x212)](){const _0x2dd069=_0x35fbf8;this[_0x2dd069(0x196)]===_0x2c50a4[_0x2dd069(0x20c)]||this[_0x2dd069(0x196)]===_0x2c50a4[_0x2dd069(0x188)]||(this['_paused']=!0x0,this[_0x2dd069(0x191)][_0x2dd069(0x212)]());}[_0x35fbf8(0x173)](_0x14d748,_0x34fec4,_0x248cfd){const _0x37e84a=_0x35fbf8;if(this['readyState']===_0x2c50a4[_0x37e84a(0x20c)])throw new Error(_0x37e84a(0x244));if(typeof _0x14d748==_0x37e84a(0x177)?(_0x248cfd=_0x14d748,_0x14d748=_0x34fec4=void 0x0):typeof _0x34fec4=='function'&&(_0x248cfd=_0x34fec4,_0x34fec4=void 0x0),typeof _0x14d748==_0x37e84a(0xd8)&&(_0x14d748=_0x14d748['toString']()),this[_0x37e84a(0x196)]!==_0x2c50a4[_0x37e84a(0x1bb)]){_0x4e9229(this,_0x14d748,_0x248cfd);return;}_0x34fec4===void 0x0&&(_0x34fec4=!this[_0x37e84a(0xf7)]),this[_0x37e84a(0xb7)][_0x37e84a(0x173)](_0x14d748||_0x52bd74,_0x34fec4,_0x248cfd);}[_0x35fbf8(0x1d0)](_0x47792f,_0x54929d,_0x14ccce){const _0x57d9f4=_0x35fbf8;if(this[_0x57d9f4(0x196)]===_0x2c50a4[_0x57d9f4(0x20c)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x47792f=='function'?(_0x14ccce=_0x47792f,_0x47792f=_0x54929d=void 0x0):typeof _0x54929d=='function'&&(_0x14ccce=_0x54929d,_0x54929d=void 0x0),typeof _0x47792f==_0x57d9f4(0xd8)&&(_0x47792f=_0x47792f[_0x57d9f4(0xfc)]()),this[_0x57d9f4(0x196)]!==_0x2c50a4['OPEN']){_0x4e9229(this,_0x47792f,_0x14ccce);return;}_0x54929d===void 0x0&&(_0x54929d=!this[_0x57d9f4(0xf7)]),this[_0x57d9f4(0xb7)][_0x57d9f4(0x1d0)](_0x47792f||_0x52bd74,_0x54929d,_0x14ccce);}[_0x35fbf8(0x1d8)](){const _0x2104d6=_0x35fbf8;this['readyState']===_0x2c50a4[_0x2104d6(0x20c)]||this[_0x2104d6(0x196)]===_0x2c50a4[_0x2104d6(0x188)]||(this['_paused']=!0x1,this[_0x2104d6(0x100)][_0x2104d6(0x12b)]['needDrain']||this[_0x2104d6(0x191)]['resume']());}[_0x35fbf8(0x202)](_0x5eedd6,_0x382658,_0x51031f){const _0x79d07d=_0x35fbf8;if(this[_0x79d07d(0x196)]===_0x2c50a4[_0x79d07d(0x20c)])throw new Error(_0x79d07d(0x244));if(typeof _0x382658=='function'&&(_0x51031f=_0x382658,_0x382658={}),typeof _0x5eedd6==_0x79d07d(0xd8)&&(_0x5eedd6=_0x5eedd6[_0x79d07d(0xfc)]()),this[_0x79d07d(0x196)]!==_0x2c50a4[_0x79d07d(0x1bb)]){_0x4e9229(this,_0x5eedd6,_0x51031f);return;}const _0xf89797={'binary':typeof _0x5eedd6!=_0x79d07d(0x117),'mask':!this['_isServer'],'compress':!0x0,'fin':!0x0,..._0x382658};this[_0x79d07d(0xaf)][_0x148cd5[_0x79d07d(0x1a1)]]||(_0xf89797[_0x79d07d(0xc6)]=!0x1),this['_sender'][_0x79d07d(0x202)](_0x5eedd6||_0x52bd74,_0xf89797,_0x51031f);}[_0x35fbf8(0x198)](){const _0x2086ed=_0x35fbf8;if(this[_0x2086ed(0x196)]!==_0x2c50a4[_0x2086ed(0x188)]){if(this['readyState']===_0x2c50a4[_0x2086ed(0x20c)]){_0x3b31f3(this,this['_req'],_0x2086ed(0x143));return;}this[_0x2086ed(0x191)]&&(this[_0x2086ed(0x106)]=_0x2c50a4[_0x2086ed(0x203)],this[_0x2086ed(0x191)][_0x2086ed(0x1b6)]());}}}Object['defineProperty'](_0x2c50a4,'CONNECTING',{'enumerable':!0x0,'value':_0x3f5be3[_0x35fbf8(0x1e3)](_0x35fbf8(0x20c))}),Object[_0x35fbf8(0x223)](_0x2c50a4[_0x35fbf8(0x17c)],_0x35fbf8(0x20c),{'enumerable':!0x0,'value':_0x3f5be3[_0x35fbf8(0x1e3)](_0x35fbf8(0x20c))}),Object['defineProperty'](_0x2c50a4,'OPEN',{'enumerable':!0x0,'value':_0x3f5be3[_0x35fbf8(0x1e3)](_0x35fbf8(0x1bb))}),Object['defineProperty'](_0x2c50a4[_0x35fbf8(0x17c)],'OPEN',{'enumerable':!0x0,'value':_0x3f5be3[_0x35fbf8(0x1e3)](_0x35fbf8(0x1bb))}),Object[_0x35fbf8(0x223)](_0x2c50a4,_0x35fbf8(0x203),{'enumerable':!0x0,'value':_0x3f5be3['indexOf'](_0x35fbf8(0x203))}),Object[_0x35fbf8(0x223)](_0x2c50a4[_0x35fbf8(0x17c)],'CLOSING',{'enumerable':!0x0,'value':_0x3f5be3[_0x35fbf8(0x1e3)]('CLOSING')}),Object[_0x35fbf8(0x223)](_0x2c50a4,_0x35fbf8(0x188),{'enumerable':!0x0,'value':_0x3f5be3['indexOf'](_0x35fbf8(0x188))}),Object[_0x35fbf8(0x223)](_0x2c50a4[_0x35fbf8(0x17c)],_0x35fbf8(0x188),{'enumerable':!0x0,'value':_0x3f5be3[_0x35fbf8(0x1e3)](_0x35fbf8(0x188))}),['binaryType','bufferedAmount',_0x35fbf8(0x13b),_0x35fbf8(0x190),_0x35fbf8(0x1dd),'readyState','url'][_0x35fbf8(0x9c)](_0x29a841=>{const _0x4e2abb=_0x35fbf8;Object[_0x4e2abb(0x223)](_0x2c50a4[_0x4e2abb(0x17c)],_0x29a841,{'enumerable':!0x0});}),[_0x35fbf8(0xac),_0x35fbf8(0x93),_0x35fbf8(0x149),'message'][_0x35fbf8(0x9c)](_0xd31792=>{const _0x4f5163=_0x35fbf8;Object[_0x4f5163(0x223)](_0x2c50a4[_0x4f5163(0x17c)],'on'+_0xd31792,{'enumerable':!0x0,'get'(){for(const _0x1f65c3 of this['listeners'](_0xd31792))if(_0x1f65c3[_0xd77ff1])return _0x1f65c3[_0x409b5f];return null;},'set'(_0x22f5cb){const _0x297b79=_0x4f5163;for(const _0x1c26dc of this['listeners'](_0xd31792))if(_0x1c26dc[_0xd77ff1]){this[_0x297b79(0x14b)](_0xd31792,_0x1c26dc);break;}typeof _0x22f5cb==_0x297b79(0x177)&&this[_0x297b79(0x1a6)](_0xd31792,_0x22f5cb,{[_0xd77ff1]:!0x0});}});}),_0x2c50a4[_0x35fbf8(0x17c)][_0x35fbf8(0x1a6)]=_0x8461a8,_0x2c50a4[_0x35fbf8(0x17c)][_0x35fbf8(0x156)]=_0x225324,we=_0x2c50a4;function _0x140810(_0xd20bd6,_0x3ea630,_0x360f38,_0x209d9f){const _0x5ac7bc=_0x35fbf8,_0x4ea7d0={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x12107c[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x209d9f,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x5ac7bc(0x1c9),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0xd20bd6[_0x5ac7bc(0x197)]=_0x4ea7d0[_0x5ac7bc(0x1d3)],!_0x12107c['includes'](_0x4ea7d0[_0x5ac7bc(0xe8)]))throw new RangeError('Unsupported\x20protocol\x20version:\x20'+_0x4ea7d0[_0x5ac7bc(0xe8)]+_0x5ac7bc(0x1fb)+_0x12107c['join'](',\x20')+')');let _0x104713;if(_0x3ea630 instanceof _0x4d4b30)_0x104713=_0x3ea630;else try{_0x104713=new _0x4d4b30(_0x3ea630);}catch{throw new SyntaxError(_0x5ac7bc(0x1c1)+_0x3ea630);}_0x104713['protocol']===_0x5ac7bc(0xad)?_0x104713[_0x5ac7bc(0x1dd)]=_0x5ac7bc(0x18e):_0x104713[_0x5ac7bc(0x1dd)]==='https:'&&(_0x104713[_0x5ac7bc(0x1dd)]=_0x5ac7bc(0xe5)),_0xd20bd6[_0x5ac7bc(0xc7)]=_0x104713['href'];const _0x232fb7=_0x104713[_0x5ac7bc(0x1dd)]===_0x5ac7bc(0xe5),_0x258e83=_0x104713[_0x5ac7bc(0x1dd)]===_0x5ac7bc(0x1dc);let _0x450beb;if(_0x104713[_0x5ac7bc(0x1dd)]!==_0x5ac7bc(0x18e)&&!_0x232fb7&&!_0x258e83?_0x450beb=_0x5ac7bc(0x167):_0x258e83&&!_0x104713['pathname']?_0x450beb='The\x20URL\x27s\x20pathname\x20is\x20empty':_0x104713[_0x5ac7bc(0xf2)]&&(_0x450beb=_0x5ac7bc(0x1e8)),_0x450beb){const _0x55889d=new SyntaxError(_0x450beb);if(_0xd20bd6[_0x5ac7bc(0x21d)]===0x0)throw _0x55889d;_0x3b6277(_0xd20bd6,_0x55889d);return;}const _0x4a857e=_0x232fb7?0x1bb:0x50,_0x509aa6=_0x14b0ba(0x10)['toString'](_0x5ac7bc(0x20e)),_0x280fac=_0x232fb7?_0x2700b0[_0x5ac7bc(0x239)]:_0x59a3af[_0x5ac7bc(0x239)],_0x1224c9=new Set();let _0x3785e5;if(_0x4ea7d0['createConnection']=_0x4ea7d0[_0x5ac7bc(0xf3)]||(_0x232fb7?_0x591193:_0x2bfcca),_0x4ea7d0[_0x5ac7bc(0x110)]=_0x4ea7d0[_0x5ac7bc(0x110)]||_0x4a857e,_0x4ea7d0[_0x5ac7bc(0xb5)]=_0x104713[_0x5ac7bc(0xb5)]||_0x4a857e,_0x4ea7d0[_0x5ac7bc(0x248)]=_0x104713[_0x5ac7bc(0x215)]['startsWith']('[')?_0x104713[_0x5ac7bc(0x215)][_0x5ac7bc(0xbc)](0x1,-0x1):_0x104713[_0x5ac7bc(0x215)],_0x4ea7d0[_0x5ac7bc(0x238)]={..._0x4ea7d0[_0x5ac7bc(0x238)],'Sec-WebSocket-Version':_0x4ea7d0[_0x5ac7bc(0xe8)],'Sec-WebSocket-Key':_0x509aa6,'Connection':'Upgrade','Upgrade':'websocket'},_0x4ea7d0[_0x5ac7bc(0x1a8)]=_0x104713[_0x5ac7bc(0x185)]+_0x104713[_0x5ac7bc(0x10d)],_0x4ea7d0['timeout']=_0x4ea7d0[_0x5ac7bc(0x102)],_0x4ea7d0[_0x5ac7bc(0x178)]&&(_0x3785e5=new _0x148cd5(_0x4ea7d0[_0x5ac7bc(0x178)]!==!0x0?_0x4ea7d0[_0x5ac7bc(0x178)]:{},!0x1,_0x4ea7d0[_0x5ac7bc(0x243)]),_0x4ea7d0['headers'][_0x5ac7bc(0x9b)]=_0x2bbba2({[_0x148cd5[_0x5ac7bc(0x1a1)]]:_0x3785e5['offer']()})),_0x360f38[_0x5ac7bc(0x1ca)]){for(const _0x301660 of _0x360f38){if(typeof _0x301660!=_0x5ac7bc(0x117)||!_0x2d6380['test'](_0x301660)||_0x1224c9['has'](_0x301660))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x1224c9[_0x5ac7bc(0x1f4)](_0x301660);}_0x4ea7d0[_0x5ac7bc(0x238)][_0x5ac7bc(0x172)]=_0x360f38[_0x5ac7bc(0x22c)](',');}if(_0x4ea7d0[_0x5ac7bc(0x137)]&&(_0x4ea7d0[_0x5ac7bc(0xe8)]<0xd?_0x4ea7d0[_0x5ac7bc(0x238)][_0x5ac7bc(0x1f0)]=_0x4ea7d0['origin']:_0x4ea7d0[_0x5ac7bc(0x238)][_0x5ac7bc(0x235)]=_0x4ea7d0['origin']),(_0x104713[_0x5ac7bc(0x18c)]||_0x104713['password'])&&(_0x4ea7d0['auth']=_0x104713[_0x5ac7bc(0x18c)]+':'+_0x104713[_0x5ac7bc(0xef)]),_0x258e83){const _0x31cc37=_0x4ea7d0[_0x5ac7bc(0x1a8)][_0x5ac7bc(0x170)](':');_0x4ea7d0['socketPath']=_0x31cc37[0x0],_0x4ea7d0[_0x5ac7bc(0x1a8)]=_0x31cc37[0x1];}let _0x5b7497;if(_0x4ea7d0[_0x5ac7bc(0x108)]){if(_0xd20bd6[_0x5ac7bc(0x21d)]===0x0){_0xd20bd6['_originalIpc']=_0x258e83,_0xd20bd6[_0x5ac7bc(0x168)]=_0x232fb7,_0xd20bd6[_0x5ac7bc(0x1af)]=_0x258e83?_0x4ea7d0['socketPath']:_0x104713['host'];const _0x161be5=_0x209d9f&&_0x209d9f[_0x5ac7bc(0x238)];if(_0x209d9f={..._0x209d9f,'headers':{}},_0x161be5){for(const [_0x36937f,_0x14bb3f]of Object['entries'](_0x161be5))_0x209d9f[_0x5ac7bc(0x238)][_0x36937f[_0x5ac7bc(0x220)]()]=_0x14bb3f;}}else{if(_0xd20bd6[_0x5ac7bc(0xe2)](_0x5ac7bc(0xca))===0x0){const _0x12ce5f=_0x258e83?_0xd20bd6['_originalIpc']?_0x4ea7d0[_0x5ac7bc(0xdc)]===_0xd20bd6[_0x5ac7bc(0x1af)]:!0x1:_0xd20bd6[_0x5ac7bc(0xc4)]?!0x1:_0x104713['host']===_0xd20bd6[_0x5ac7bc(0x1af)];(!_0x12ce5f||_0xd20bd6[_0x5ac7bc(0x168)]&&!_0x232fb7)&&(delete _0x4ea7d0[_0x5ac7bc(0x238)]['authorization'],delete _0x4ea7d0[_0x5ac7bc(0x238)][_0x5ac7bc(0x15b)],_0x12ce5f||delete _0x4ea7d0[_0x5ac7bc(0x238)]['host'],_0x4ea7d0[_0x5ac7bc(0x179)]=void 0x0);}}_0x4ea7d0['auth']&&!_0x209d9f[_0x5ac7bc(0x238)][_0x5ac7bc(0x15d)]&&(_0x209d9f[_0x5ac7bc(0x238)]['authorization']=_0x5ac7bc(0x160)+Buffer['from'](_0x4ea7d0['auth'])[_0x5ac7bc(0xfc)](_0x5ac7bc(0x20e))),_0x5b7497=_0xd20bd6[_0x5ac7bc(0x224)]=_0x280fac(_0x4ea7d0),_0xd20bd6[_0x5ac7bc(0x21d)]&&_0xd20bd6[_0x5ac7bc(0xed)](_0x5ac7bc(0xca),_0xd20bd6[_0x5ac7bc(0x1c8)],_0x5b7497);}else _0x5b7497=_0xd20bd6[_0x5ac7bc(0x224)]=_0x280fac(_0x4ea7d0);_0x4ea7d0[_0x5ac7bc(0xf5)]&&_0x5b7497['on']('timeout',()=>{const _0x98b9c7=_0x5ac7bc;_0x3b31f3(_0xd20bd6,_0x5b7497,_0x98b9c7(0x1bf));}),_0x5b7497['on']('error',_0x39b66f=>{_0x5b7497===null||_0x5b7497[_0x4b9ad6]||(_0x5b7497=_0xd20bd6['_req']=null,_0x3b6277(_0xd20bd6,_0x39b66f));}),_0x5b7497['on'](_0x5ac7bc(0x246),_0x15dc71=>{const _0x3efcb8=_0x5ac7bc,_0xb82af4=_0x15dc71[_0x3efcb8(0x238)][_0x3efcb8(0x1ec)],_0x1aca52=_0x15dc71[_0x3efcb8(0x150)];if(_0xb82af4&&_0x4ea7d0[_0x3efcb8(0x108)]&&_0x1aca52>=0x12c&&_0x1aca52<0x190){if(++_0xd20bd6[_0x3efcb8(0x21d)]>_0x4ea7d0[_0x3efcb8(0x13c)]){_0x3b31f3(_0xd20bd6,_0x5b7497,_0x3efcb8(0x1aa));return;}_0x5b7497[_0x3efcb8(0xd5)]();let _0x353977;try{_0x353977=new _0x4d4b30(_0xb82af4,_0x3ea630);}catch{const _0x4fd9ed=new SyntaxError('Invalid\x20URL:\x20'+_0xb82af4);_0x3b6277(_0xd20bd6,_0x4fd9ed);return;}_0x140810(_0xd20bd6,_0x353977,_0x360f38,_0x209d9f);}else _0xd20bd6['emit'](_0x3efcb8(0x14a),_0x5b7497,_0x15dc71)||_0x3b31f3(_0xd20bd6,_0x5b7497,_0x3efcb8(0x1b8)+_0x15dc71['statusCode']);}),_0x5b7497['on']('upgrade',(_0x11dacf,_0x228ce6,_0x3374ad)=>{const _0x4791f3=_0x5ac7bc;if(_0xd20bd6[_0x4791f3(0xed)](_0x4791f3(0x1d7),_0x11dacf),_0xd20bd6[_0x4791f3(0x196)]!==_0x2c50a4[_0x4791f3(0x20c)])return;_0x5b7497=_0xd20bd6[_0x4791f3(0x224)]=null;const _0x1c4c7c=_0x11dacf[_0x4791f3(0x238)][_0x4791f3(0x1d7)];if(_0x1c4c7c===void 0x0||_0x1c4c7c[_0x4791f3(0x220)]()!==_0x4791f3(0x233)){_0x3b31f3(_0xd20bd6,_0x228ce6,_0x4791f3(0xc5));return;}const _0x38124b=_0xe5c70(_0x4791f3(0xee))['update'](_0x509aa6+_0x276f70)[_0x4791f3(0x1ee)](_0x4791f3(0x20e));if(_0x11dacf[_0x4791f3(0x238)][_0x4791f3(0x20b)]!==_0x38124b){_0x3b31f3(_0xd20bd6,_0x228ce6,_0x4791f3(0x1de));return;}const _0x1ffb84=_0x11dacf[_0x4791f3(0x238)][_0x4791f3(0x121)];let _0xb034e3;if(_0x1ffb84!==void 0x0?_0x1224c9[_0x4791f3(0x153)]?_0x1224c9[_0x4791f3(0xfd)](_0x1ffb84)||(_0xb034e3=_0x4791f3(0x22a)):_0xb034e3=_0x4791f3(0x225):_0x1224c9[_0x4791f3(0x153)]&&(_0xb034e3=_0x4791f3(0xdf)),_0xb034e3){_0x3b31f3(_0xd20bd6,_0x228ce6,_0xb034e3);return;}_0x1ffb84&&(_0xd20bd6[_0x4791f3(0xbb)]=_0x1ffb84);const _0x1a7033=_0x11dacf['headers'][_0x4791f3(0x128)];if(_0x1a7033!==void 0x0){if(!_0x3785e5){_0x3b31f3(_0xd20bd6,_0x228ce6,_0x4791f3(0xdb));return;}let _0xc00f7c;try{_0xc00f7c=_0xd33150(_0x1a7033);}catch{_0x3b31f3(_0xd20bd6,_0x228ce6,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0x41b588=Object['keys'](_0xc00f7c);if(_0x41b588[_0x4791f3(0x1ca)]!==0x1||_0x41b588[0x0]!==_0x148cd5[_0x4791f3(0x1a1)]){_0x3b31f3(_0xd20bd6,_0x228ce6,_0x4791f3(0x204));return;}try{_0x3785e5[_0x4791f3(0x237)](_0xc00f7c[_0x148cd5['extensionName']]);}catch{_0x3b31f3(_0xd20bd6,_0x228ce6,_0x4791f3(0x114));return;}_0xd20bd6[_0x4791f3(0xaf)][_0x148cd5[_0x4791f3(0x1a1)]]=_0x3785e5;}_0xd20bd6[_0x4791f3(0x18a)](_0x228ce6,_0x3374ad,{'allowSynchronousEvents':_0x4ea7d0[_0x4791f3(0x1ac)],'generateMask':_0x4ea7d0[_0x4791f3(0x199)],'maxPayload':_0x4ea7d0[_0x4791f3(0x243)],'skipUTF8Validation':_0x4ea7d0[_0x4791f3(0xcd)]});}),_0x4ea7d0['finishRequest']?_0x4ea7d0[_0x5ac7bc(0x15c)](_0x5b7497,_0xd20bd6):_0x5b7497['end']();}function _0x3b6277(_0x1a6878,_0x39c7c6){const _0x38fe46=_0x35fbf8;_0x1a6878[_0x38fe46(0x106)]=_0x2c50a4['CLOSING'],_0x1a6878[_0x38fe46(0xea)]=!0x0,_0x1a6878[_0x38fe46(0xed)](_0x38fe46(0x93),_0x39c7c6),_0x1a6878[_0x38fe46(0x1a4)]();}function _0x2bfcca(_0x123d94){const _0x1c7b19=_0x35fbf8;return _0x123d94['path']=_0x123d94[_0x1c7b19(0xdc)],_0x2ca9bf[_0x1c7b19(0xce)](_0x123d94);}function _0x591193(_0x53fb8f){const _0x503a1a=_0x35fbf8;return _0x53fb8f['path']=void 0x0,!_0x53fb8f[_0x503a1a(0x1d1)]&&_0x53fb8f[_0x503a1a(0x1d1)]!==''&&(_0x53fb8f[_0x503a1a(0x1d1)]=_0x2ca9bf[_0x503a1a(0x126)](_0x53fb8f[_0x503a1a(0x248)])?'':_0x53fb8f[_0x503a1a(0x248)]),_0x1fa1cf[_0x503a1a(0xce)](_0x53fb8f);}function _0x3b31f3(_0xc4dbb6,_0x433fdb,_0x482a4e){const _0x3a072b=_0x35fbf8;_0xc4dbb6[_0x3a072b(0x106)]=_0x2c50a4[_0x3a072b(0x203)];const _0x2c55a4=new Error(_0x482a4e);Error[_0x3a072b(0x22e)](_0x2c55a4,_0x3b31f3),_0x433fdb['setHeader']?(_0x433fdb[_0x4b9ad6]=!0x0,_0x433fdb[_0x3a072b(0xd5)](),_0x433fdb[_0x3a072b(0x1f6)]&&!_0x433fdb[_0x3a072b(0x1f6)][_0x3a072b(0x218)]&&_0x433fdb[_0x3a072b(0x1f6)][_0x3a072b(0x1b6)](),process['nextTick'](_0x3b6277,_0xc4dbb6,_0x2c55a4)):(_0x433fdb[_0x3a072b(0x1b6)](_0x2c55a4),_0x433fdb['once'](_0x3a072b(0x93),_0xc4dbb6[_0x3a072b(0xed)][_0x3a072b(0x240)](_0xc4dbb6,_0x3a072b(0x93))),_0x433fdb[_0x3a072b(0x17f)]('close',_0xc4dbb6[_0x3a072b(0x1a4)][_0x3a072b(0x240)](_0xc4dbb6)));}function _0x4e9229(_0x273a9c,_0x23716a,_0x3140ce){const _0x16c94c=_0x35fbf8;if(_0x23716a){const _0x36bf1b=_0x711327(_0x23716a)?_0x23716a[_0x16c94c(0x153)]:_0x375cd(_0x23716a)[_0x16c94c(0x1ca)];_0x273a9c[_0x16c94c(0x191)]?_0x273a9c[_0x16c94c(0xb7)][_0x16c94c(0x10e)]+=_0x36bf1b:_0x273a9c['_bufferedAmount']+=_0x36bf1b;}if(_0x3140ce){const _0x2769ea=new Error(_0x16c94c(0x222)+_0x273a9c[_0x16c94c(0x196)]+'\x20('+_0x3f5be3[_0x273a9c[_0x16c94c(0x196)]]+')');process[_0x16c94c(0x242)](_0x3140ce,_0x2769ea);}}function _0x36a3cd(_0x47c4b1,_0x75826f){const _0x3748a2=_0x35fbf8,_0x3903af=this[_0xdbccc1];_0x3903af[_0x3748a2(0x207)]=!0x0,_0x3903af['_closeMessage']=_0x75826f,_0x3903af[_0x3748a2(0xb1)]=_0x47c4b1,_0x3903af[_0x3748a2(0x191)][_0xdbccc1]!==void 0x0&&(_0x3903af[_0x3748a2(0x191)][_0x3748a2(0x14b)](_0x3748a2(0x11e),_0x52e978),process[_0x3748a2(0x242)](_0x3c33a0,_0x3903af[_0x3748a2(0x191)]),_0x47c4b1===0x3ed?_0x3903af[_0x3748a2(0x149)]():_0x3903af[_0x3748a2(0x149)](_0x47c4b1,_0x75826f));}function _0x574fef(){const _0xd973af=_0x35fbf8,_0x64113b=this[_0xdbccc1];_0x64113b[_0xd973af(0x190)]||_0x64113b[_0xd973af(0x191)][_0xd973af(0x1d8)]();}function _0x2488da(_0x14414a){const _0x5f68d=_0x35fbf8,_0x2009ec=this[_0xdbccc1];_0x2009ec['_socket'][_0xdbccc1]!==void 0x0&&(_0x2009ec[_0x5f68d(0x191)]['removeListener']('data',_0x52e978),process['nextTick'](_0x3c33a0,_0x2009ec[_0x5f68d(0x191)]),_0x2009ec[_0x5f68d(0x149)](_0x14414a[_0x2aa74a])),_0x2009ec['_errorEmitted']||(_0x2009ec[_0x5f68d(0xea)]=!0x0,_0x2009ec[_0x5f68d(0xed)](_0x5f68d(0x93),_0x14414a));}function _0x4d8d07(){this[_0xdbccc1]['emitClose']();}function _0x309f16(_0x4aa776,_0x128ac3){const _0x13a8fa=_0x35fbf8;this[_0xdbccc1][_0x13a8fa(0xed)](_0x13a8fa(0x1d5),_0x4aa776,_0x128ac3);}function _0x54258e(_0x4d2c39){const _0x21fc49=_0x35fbf8,_0x3e1a30=this[_0xdbccc1];_0x3e1a30[_0x21fc49(0x197)]&&_0x3e1a30[_0x21fc49(0x1d0)](_0x4d2c39,!this[_0x21fc49(0xf7)],_0x4e793e),_0x3e1a30['emit'](_0x21fc49(0x173),_0x4d2c39);}function _0x555efe(_0x7e5b2b){const _0x4525e4=_0x35fbf8;this[_0xdbccc1][_0x4525e4(0xed)](_0x4525e4(0x1d0),_0x7e5b2b);}function _0x3c33a0(_0x513687){_0x513687['resume']();}function _0x156656(_0x3e20aa){const _0x40732d=_0x35fbf8,_0x25e017=this[_0xdbccc1];_0x25e017[_0x40732d(0x196)]!==_0x2c50a4[_0x40732d(0x188)]&&(_0x25e017[_0x40732d(0x196)]===_0x2c50a4[_0x40732d(0x1bb)]&&(_0x25e017['_readyState']=_0x2c50a4['CLOSING'],_0x20f731(_0x25e017)),this[_0x40732d(0x191)][_0x40732d(0x195)](),_0x25e017[_0x40732d(0xea)]||(_0x25e017[_0x40732d(0xea)]=!0x0,_0x25e017[_0x40732d(0xed)](_0x40732d(0x93),_0x3e20aa)));}function _0x20f731(_0x3f37da){const _0x12f9fd=_0x35fbf8;_0x3f37da[_0x12f9fd(0x1c7)]=setTimeout(_0x3f37da['_socket'][_0x12f9fd(0x1b6)][_0x12f9fd(0x240)](_0x3f37da[_0x12f9fd(0x191)]),_0x1f2480);}function _0x3b7476(){const _0x15782d=_0x35fbf8,_0x59343c=this[_0xdbccc1];this['removeListener'](_0x15782d(0x149),_0x3b7476),this[_0x15782d(0x14b)](_0x15782d(0x11e),_0x52e978),this[_0x15782d(0x14b)](_0x15782d(0x195),_0x596718),_0x59343c['_readyState']=_0x2c50a4[_0x15782d(0x203)];let _0x59578c;!this[_0x15782d(0x10c)][_0x15782d(0x11f)]&&!_0x59343c['_closeFrameReceived']&&!_0x59343c[_0x15782d(0x100)]['_writableState'][_0x15782d(0x99)]&&(_0x59578c=_0x59343c[_0x15782d(0x191)][_0x15782d(0x23f)]())!==null&&_0x59343c['_receiver']['write'](_0x59578c),_0x59343c[_0x15782d(0x100)][_0x15782d(0x195)](),this[_0xdbccc1]=void 0x0,clearTimeout(_0x59343c['_closeTimer']),_0x59343c[_0x15782d(0x100)][_0x15782d(0x12b)]['finished']||_0x59343c[_0x15782d(0x100)][_0x15782d(0x12b)]['errorEmitted']?_0x59343c[_0x15782d(0x1a4)]():(_0x59343c['_receiver']['on']('error',_0x4d8d07),_0x59343c[_0x15782d(0x100)]['on'](_0x15782d(0x174),_0x4d8d07));}function _0x52e978(_0x3b0894){const _0x3a04a4=_0x35fbf8;this[_0xdbccc1][_0x3a04a4(0x100)][_0x3a04a4(0x1cb)](_0x3b0894)||this['pause']();}function _0x596718(){const _0x48b15f=_0x35fbf8,_0x1c3f19=this[_0xdbccc1];_0x1c3f19[_0x48b15f(0x106)]=_0x2c50a4[_0x48b15f(0x203)],_0x1c3f19['_receiver'][_0x48b15f(0x195)](),this[_0x48b15f(0x195)]();}function _0x2080f8(){const _0x521126=_0x35fbf8,_0x4f1db1=this[_0xdbccc1];this[_0x521126(0x14b)](_0x521126(0x93),_0x2080f8),this['on']('error',_0x4e793e),_0x4f1db1&&(_0x4f1db1['_readyState']=_0x2c50a4[_0x521126(0x203)],this[_0x521126(0x1b6)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0xa7ad7b}=_0x566c0f;function _0x3b1d02(_0x851925){const _0x1d625b=_0x1faa;_0x851925[_0x1d625b(0xed)]('close');}function _0x468601(){const _0x549bb8=_0x1faa;!this[_0x549bb8(0x218)]&&this['_writableState']['finished']&&this[_0x549bb8(0x1b6)]();}function _0x3f8d9b(_0x3355d7){const _0x1ecc40=_0x1faa;this['removeListener'](_0x1ecc40(0x93),_0x3f8d9b),this['destroy'](),this[_0x1ecc40(0xe2)]('error')===0x0&&this[_0x1ecc40(0xed)](_0x1ecc40(0x93),_0x3355d7);}function _0x4cb6f3(_0x4b3af7,_0x5ee2e3){const _0x3e455b=_0x1faa;let _0x265ec4=!0x0;const _0x14cc46=new _0xa7ad7b({..._0x5ee2e3,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x4b3af7['on']('message',function(_0xb7201e,_0x4cca3c){const _0x513f6e=_0x1faa,_0x524983=!_0x4cca3c&&_0x14cc46['_readableState'][_0x513f6e(0x236)]?_0xb7201e['toString']():_0xb7201e;_0x14cc46[_0x513f6e(0xeb)](_0x524983)||_0x4b3af7[_0x513f6e(0x212)]();}),_0x4b3af7[_0x3e455b(0x17f)](_0x3e455b(0x93),function(_0x29a21f){const _0x26fe29=_0x3e455b;_0x14cc46['destroyed']||(_0x265ec4=!0x1,_0x14cc46[_0x26fe29(0x1b6)](_0x29a21f));}),_0x4b3af7['once']('close',function(){const _0x33998c=_0x3e455b;_0x14cc46[_0x33998c(0x218)]||_0x14cc46[_0x33998c(0xeb)](null);}),_0x14cc46[_0x3e455b(0x135)]=function(_0x2304de,_0x2adf36){const _0x5e826c=_0x3e455b;if(_0x4b3af7[_0x5e826c(0x196)]===_0x4b3af7['CLOSED']){_0x2adf36(_0x2304de),process[_0x5e826c(0x242)](_0x3b1d02,_0x14cc46);return;}let _0x557a7a=!0x1;_0x4b3af7[_0x5e826c(0x17f)](_0x5e826c(0x93),function(_0x1fdcc8){_0x557a7a=!0x0,_0x2adf36(_0x1fdcc8);}),_0x4b3af7['once']('close',function(){const _0x4affc8=_0x5e826c;_0x557a7a||_0x2adf36(_0x2304de),process[_0x4affc8(0x242)](_0x3b1d02,_0x14cc46);}),_0x265ec4&&_0x4b3af7[_0x5e826c(0x198)]();},_0x14cc46['_final']=function(_0x4cf8a2){const _0x313e19=_0x3e455b;if(_0x4b3af7['readyState']===_0x4b3af7['CONNECTING']){_0x4b3af7['once'](_0x313e19(0xac),function(){const _0x151cda=_0x313e19;_0x14cc46[_0x151cda(0x112)](_0x4cf8a2);});return;}_0x4b3af7[_0x313e19(0x191)]!==null&&(_0x4b3af7['_socket'][_0x313e19(0x12b)][_0x313e19(0x1a3)]?(_0x4cf8a2(),_0x14cc46[_0x313e19(0x10c)][_0x313e19(0x11f)]&&_0x14cc46[_0x313e19(0x1b6)]()):(_0x4b3af7[_0x313e19(0x191)]['once']('finish',function(){_0x4cf8a2();}),_0x4b3af7['close']()));},_0x14cc46[_0x3e455b(0x205)]=function(){const _0x3d7498=_0x3e455b;_0x4b3af7[_0x3d7498(0x190)]&&_0x4b3af7['resume']();},_0x14cc46[_0x3e455b(0x1db)]=function(_0x58cf66,_0x280797,_0xc15463){const _0x18dfeb=_0x3e455b;if(_0x4b3af7[_0x18dfeb(0x196)]===_0x4b3af7[_0x18dfeb(0x20c)]){_0x4b3af7[_0x18dfeb(0x17f)](_0x18dfeb(0xac),function(){const _0x13df30=_0x18dfeb;_0x14cc46[_0x13df30(0x1db)](_0x58cf66,_0x280797,_0xc15463);});return;}_0x4b3af7[_0x18dfeb(0x202)](_0x58cf66,_0xc15463);},_0x14cc46['on'](_0x3e455b(0x195),_0x468601),_0x14cc46['on'](_0x3e455b(0x93),_0x3f8d9b),_0x14cc46;}return Oe=_0x4cb6f3,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=Wt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x1ad977}=ne();function _0x3deebc(_0x552871){const _0x12a4fc=_0x1faa,_0x47dd9b=new Set();let _0x4f7a03=-0x1,_0x521b7e=-0x1,_0x1000f8=0x0;for(_0x1000f8;_0x1000f8<_0x552871[_0x12a4fc(0x1ca)];_0x1000f8++){const _0x2f5516=_0x552871[_0x12a4fc(0x12e)](_0x1000f8);if(_0x521b7e===-0x1&&_0x1ad977[_0x2f5516]===0x1)_0x4f7a03===-0x1&&(_0x4f7a03=_0x1000f8);else{if(_0x1000f8!==0x0&&(_0x2f5516===0x20||_0x2f5516===0x9))_0x521b7e===-0x1&&_0x4f7a03!==-0x1&&(_0x521b7e=_0x1000f8);else{if(_0x2f5516===0x2c){if(_0x4f7a03===-0x1)throw new SyntaxError(_0x12a4fc(0x18d)+_0x1000f8);_0x521b7e===-0x1&&(_0x521b7e=_0x1000f8);const _0xc21708=_0x552871['slice'](_0x4f7a03,_0x521b7e);if(_0x47dd9b[_0x12a4fc(0xfd)](_0xc21708))throw new SyntaxError(_0x12a4fc(0x249)+_0xc21708+_0x12a4fc(0x1e5));_0x47dd9b[_0x12a4fc(0x1f4)](_0xc21708),_0x4f7a03=_0x521b7e=-0x1;}else throw new SyntaxError(_0x12a4fc(0x18d)+_0x1000f8);}}}if(_0x4f7a03===-0x1||_0x521b7e!==-0x1)throw new SyntaxError(_0x12a4fc(0x10f));const _0x38bafc=_0x552871[_0x12a4fc(0xbc)](_0x4f7a03,_0x1000f8);if(_0x47dd9b['has'](_0x38bafc))throw new SyntaxError(_0x12a4fc(0x249)+_0x38bafc+_0x12a4fc(0x1e5));return _0x47dd9b[_0x12a4fc(0x1f4)](_0x38bafc),_0x47dd9b;}return Ce={'parse':_0x3deebc},Ce;}var Te,ot;function er(){const _0x4b00e4=_0xa7a424;if(ot)return Te;ot=0x1;const _0x4e4567=_0x3f7707,_0x2f6bc6=_0x215007,{Duplex:_0x359efe}=_0x566c0f,{createHash:_0x48e9b3}=_0x47cf61,_0x215d9f=pt(),_0x32b486=he(),_0xe0da39=Jt(),_0x5c17be=Ie(),{GUID:_0x5b94b4,kWebSocket:_0x3e4432}=V(),_0x4ddb82=/^[+/0-9A-Za-z]{22}==$/,_0x25090c=0x0,_0x4621be=0x1,_0x3fb519=0x2;class _0x25e497 extends _0x4e4567{constructor(_0x243b17,_0x1491a6){const _0x32cb72=_0x1faa;if(super(),_0x243b17={'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':_0x5c17be,..._0x243b17},_0x243b17[_0x32cb72(0xb5)]==null&&!_0x243b17[_0x32cb72(0x1c4)]&&!_0x243b17[_0x32cb72(0x181)]||_0x243b17['port']!=null&&(_0x243b17[_0x32cb72(0x1c4)]||_0x243b17[_0x32cb72(0x181)])||_0x243b17['server']&&_0x243b17['noServer'])throw new TypeError(_0x32cb72(0x120));if(_0x243b17[_0x32cb72(0xb5)]!=null?(this[_0x32cb72(0x94)]=_0x2f6bc6[_0x32cb72(0x228)]((_0x418947,_0x56f2b0)=>{const _0xdd4f9=_0x32cb72,_0x5199aa=_0x2f6bc6[_0xdd4f9(0xab)][0x1aa];_0x56f2b0[_0xdd4f9(0x9f)](0x1aa,{'Content-Length':_0x5199aa[_0xdd4f9(0x1ca)],'Content-Type':_0xdd4f9(0x1ba)}),_0x56f2b0[_0xdd4f9(0x195)](_0x5199aa);}),this[_0x32cb72(0x94)][_0x32cb72(0x140)](_0x243b17['port'],_0x243b17[_0x32cb72(0x248)],_0x243b17['backlog'],_0x1491a6)):_0x243b17['server']&&(this['_server']=_0x243b17['server']),this['_server']){const _0x4613a2=this['emit']['bind'](this,_0x32cb72(0x208));this[_0x32cb72(0x13e)]=_0x12a454(this['_server'],{'listening':this[_0x32cb72(0xed)]['bind'](this,_0x32cb72(0x1ad)),'error':this[_0x32cb72(0xed)][_0x32cb72(0x240)](this,_0x32cb72(0x93)),'upgrade':(_0x48cd1f,_0x3e236b,_0x575c07)=>{this['handleUpgrade'](_0x48cd1f,_0x3e236b,_0x575c07,_0x4613a2);}});}_0x243b17[_0x32cb72(0x178)]===!0x0&&(_0x243b17[_0x32cb72(0x178)]={}),_0x243b17[_0x32cb72(0xa1)]&&(this[_0x32cb72(0x247)]=new Set(),this['_shouldEmitClose']=!0x1),this[_0x32cb72(0xa6)]=_0x243b17,this[_0x32cb72(0xf6)]=_0x25090c;}[_0x4b00e4(0x14e)](){const _0x12f8b0=_0x4b00e4;if(this[_0x12f8b0(0xa6)][_0x12f8b0(0x181)])throw new Error(_0x12f8b0(0x1b2));return this[_0x12f8b0(0x94)]?this[_0x12f8b0(0x94)][_0x12f8b0(0x14e)]():null;}['close'](_0x409959){const _0x8828a8=_0x4b00e4;if(this[_0x8828a8(0xf6)]===_0x3fb519){_0x409959&&this[_0x8828a8(0x17f)]('close',()=>{const _0xbd1e5b=_0x8828a8;_0x409959(new Error(_0xbd1e5b(0x1fd)));}),process[_0x8828a8(0x242)](_0x559f3c,this);return;}if(_0x409959&&this['once'](_0x8828a8(0x149),_0x409959),this[_0x8828a8(0xf6)]!==_0x4621be){if(this[_0x8828a8(0xf6)]=_0x4621be,this['options'][_0x8828a8(0x181)]||this[_0x8828a8(0xa6)]['server'])this[_0x8828a8(0x94)]&&(this[_0x8828a8(0x13e)](),this['_removeListeners']=this['_server']=null),this[_0x8828a8(0x247)]?this[_0x8828a8(0x247)][_0x8828a8(0x153)]?this[_0x8828a8(0x17e)]=!0x0:process[_0x8828a8(0x242)](_0x559f3c,this):process[_0x8828a8(0x242)](_0x559f3c,this);else{const _0x3a640a=this['_server'];this[_0x8828a8(0x13e)](),this['_removeListeners']=this[_0x8828a8(0x94)]=null,_0x3a640a['close'](()=>{_0x559f3c(this);});}}}[_0x4b00e4(0x111)](_0x178036){const _0xf3b09b=_0x4b00e4;if(this[_0xf3b09b(0xa6)][_0xf3b09b(0x1a8)]){const _0x7464e3=_0x178036['url'][_0xf3b09b(0x1e3)]('?');if((_0x7464e3!==-0x1?_0x178036[_0xf3b09b(0x1c8)][_0xf3b09b(0xbc)](0x0,_0x7464e3):_0x178036[_0xf3b09b(0x1c8)])!==this[_0xf3b09b(0xa6)][_0xf3b09b(0x1a8)])return!0x1;}return!0x0;}[_0x4b00e4(0x21a)](_0x312ca1,_0x47627b,_0x5672e0,_0x243282){const _0x5ba6da=_0x4b00e4;_0x47627b['on']('error',_0xda9359);const _0x5818bf=_0x312ca1[_0x5ba6da(0x238)][_0x5ba6da(0x24a)],_0x13d14f=_0x312ca1[_0x5ba6da(0x238)][_0x5ba6da(0x1d7)],_0x12ba89=+_0x312ca1[_0x5ba6da(0x238)][_0x5ba6da(0xda)];if(_0x312ca1['method']!==_0x5ba6da(0x1c9)){_0x4c0001(this,_0x312ca1,_0x47627b,0x195,_0x5ba6da(0x159));return;}if(_0x13d14f===void 0x0||_0x13d14f['toLowerCase']()!==_0x5ba6da(0x233)){_0x4c0001(this,_0x312ca1,_0x47627b,0x190,'Invalid\x20Upgrade\x20header');return;}if(_0x5818bf===void 0x0||!_0x4ddb82[_0x5ba6da(0x96)](_0x5818bf)){_0x4c0001(this,_0x312ca1,_0x47627b,0x190,_0x5ba6da(0x1e0));return;}if(_0x12ba89!==0xd&&_0x12ba89!==0x8){_0x4c0001(this,_0x312ca1,_0x47627b,0x190,_0x5ba6da(0xbd),{'Sec-WebSocket-Version':_0x5ba6da(0x9a)});return;}if(!this[_0x5ba6da(0x111)](_0x312ca1)){_0x49d8f5(_0x47627b,0x190);return;}const _0x3f0b93=_0x312ca1[_0x5ba6da(0x238)][_0x5ba6da(0x121)];let _0x491947=new Set();if(_0x3f0b93!==void 0x0)try{_0x491947=_0xe0da39[_0x5ba6da(0x166)](_0x3f0b93);}catch{_0x4c0001(this,_0x312ca1,_0x47627b,0x190,'Invalid\x20Sec-WebSocket-Protocol\x20header');return;}const _0x79a273=_0x312ca1[_0x5ba6da(0x238)][_0x5ba6da(0x128)],_0x3b4929={};if(this[_0x5ba6da(0xa6)][_0x5ba6da(0x178)]&&_0x79a273!==void 0x0){const _0x4a7bab=new _0x32b486(this['options']['perMessageDeflate'],!0x0,this[_0x5ba6da(0xa6)][_0x5ba6da(0x243)]);try{const _0x4d8415=_0x215d9f['parse'](_0x79a273);_0x4d8415[_0x32b486['extensionName']]&&(_0x4a7bab[_0x5ba6da(0x237)](_0x4d8415[_0x32b486['extensionName']]),_0x3b4929[_0x32b486[_0x5ba6da(0x1a1)]]=_0x4a7bab);}catch{_0x4c0001(this,_0x312ca1,_0x47627b,0x190,_0x5ba6da(0x221));return;}}if(this[_0x5ba6da(0xa6)]['verifyClient']){const _0x5856c4={'origin':_0x312ca1[_0x5ba6da(0x238)][''+(_0x12ba89===0x8?_0x5ba6da(0x1ff):_0x5ba6da(0x137))],'secure':!!(_0x312ca1[_0x5ba6da(0x1f6)][_0x5ba6da(0xe7)]||_0x312ca1[_0x5ba6da(0x1f6)][_0x5ba6da(0x19a)]),'req':_0x312ca1};if(this[_0x5ba6da(0xa6)][_0x5ba6da(0x157)][_0x5ba6da(0x1ca)]===0x2){this[_0x5ba6da(0xa6)]['verifyClient'](_0x5856c4,(_0x451efd,_0x362f00,_0x3252eb,_0x36fd10)=>{const _0x5b13eb=_0x5ba6da;if(!_0x451efd)return _0x49d8f5(_0x47627b,_0x362f00||0x191,_0x3252eb,_0x36fd10);this[_0x5b13eb(0xe1)](_0x3b4929,_0x5818bf,_0x491947,_0x312ca1,_0x47627b,_0x5672e0,_0x243282);});return;}if(!this['options'][_0x5ba6da(0x157)](_0x5856c4))return _0x49d8f5(_0x47627b,0x191);}this[_0x5ba6da(0xe1)](_0x3b4929,_0x5818bf,_0x491947,_0x312ca1,_0x47627b,_0x5672e0,_0x243282);}[_0x4b00e4(0xe1)](_0x5c5e38,_0x3dbdf7,_0x50a743,_0x3d7972,_0xda63fa,_0x3110a9,_0x364e1f){const _0x4fc917=_0x4b00e4;if(!_0xda63fa[_0x4fc917(0x16f)]||!_0xda63fa[_0x4fc917(0x1d4)])return _0xda63fa[_0x4fc917(0x1b6)]();if(_0xda63fa[_0x3e4432])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this[_0x4fc917(0xf6)]>_0x25090c)return _0x49d8f5(_0xda63fa,0x1f7);const _0x4b6e75=[_0x4fc917(0x107),_0x4fc917(0x193),_0x4fc917(0x17b),_0x4fc917(0xa5)+_0x48e9b3('sha1')[_0x4fc917(0x184)](_0x3dbdf7+_0x5b94b4)[_0x4fc917(0x1ee)](_0x4fc917(0x20e))],_0x155a69=new this[(_0x4fc917(0xa6))][(_0x4fc917(0x15a))](null,void 0x0,this['options']);if(_0x50a743[_0x4fc917(0x153)]){const _0x1f12d0=this['options'][_0x4fc917(0x1fc)]?this[_0x4fc917(0xa6)][_0x4fc917(0x1fc)](_0x50a743,_0x3d7972):_0x50a743[_0x4fc917(0x1c2)]()[_0x4fc917(0x122)]()[_0x4fc917(0x234)];_0x1f12d0&&(_0x4b6e75[_0x4fc917(0xeb)](_0x4fc917(0x115)+_0x1f12d0),_0x155a69[_0x4fc917(0xbb)]=_0x1f12d0);}if(_0x5c5e38[_0x32b486[_0x4fc917(0x1a1)]]){const _0x4bac8b=_0x5c5e38[_0x32b486[_0x4fc917(0x1a1)]][_0x4fc917(0x230)],_0x24efa3=_0x215d9f[_0x4fc917(0x9d)]({[_0x32b486['extensionName']]:[_0x4bac8b]});_0x4b6e75['push'](_0x4fc917(0x1e6)+_0x24efa3),_0x155a69[_0x4fc917(0xaf)]=_0x5c5e38;}this['emit'](_0x4fc917(0x238),_0x4b6e75,_0x3d7972),_0xda63fa[_0x4fc917(0x1cb)](_0x4b6e75['concat']('\x0d\x0a')[_0x4fc917(0x22c)]('\x0d\x0a')),_0xda63fa[_0x4fc917(0x14b)](_0x4fc917(0x93),_0xda9359),_0x155a69[_0x4fc917(0x18a)](_0xda63fa,_0x3110a9,{'allowSynchronousEvents':this[_0x4fc917(0xa6)][_0x4fc917(0x1ac)],'maxPayload':this[_0x4fc917(0xa6)][_0x4fc917(0x243)],'skipUTF8Validation':this['options']['skipUTF8Validation']}),this[_0x4fc917(0x247)]&&(this[_0x4fc917(0x247)][_0x4fc917(0x1f4)](_0x155a69),_0x155a69['on'](_0x4fc917(0x149),()=>{const _0x5efbcf=_0x4fc917;this[_0x5efbcf(0x247)][_0x5efbcf(0x1f5)](_0x155a69),this['_shouldEmitClose']&&!this[_0x5efbcf(0x247)]['size']&&process[_0x5efbcf(0x242)](_0x559f3c,this);})),_0x364e1f(_0x155a69,_0x3d7972);}}Te=_0x25e497;function _0x12a454(_0x5569cc,_0x21f21d){for(const _0x6dd6b6 of Object['keys'](_0x21f21d))_0x5569cc['on'](_0x6dd6b6,_0x21f21d[_0x6dd6b6]);return function(){const _0x20d4b9=_0x1faa;for(const _0x22c5bc of Object[_0x20d4b9(0x22f)](_0x21f21d))_0x5569cc[_0x20d4b9(0x14b)](_0x22c5bc,_0x21f21d[_0x22c5bc]);};}function _0x559f3c(_0x30055e){const _0x4d1427=_0x4b00e4;_0x30055e[_0x4d1427(0xf6)]=_0x3fb519,_0x30055e[_0x4d1427(0xed)](_0x4d1427(0x149));}function _0xda9359(){this['destroy']();}function _0x49d8f5(_0x71afea,_0x32fc3c,_0x14294a,_0x5993f5){const _0x32dba0=_0x4b00e4;_0x14294a=_0x14294a||_0x2f6bc6[_0x32dba0(0xab)][_0x32fc3c],_0x5993f5={'Connection':_0x32dba0(0x149),'Content-Type':_0x32dba0(0x24b),'Content-Length':Buffer[_0x32dba0(0x21c)](_0x14294a),..._0x5993f5},_0x71afea['once'](_0x32dba0(0x174),_0x71afea[_0x32dba0(0x1b6)]),_0x71afea['end'](_0x32dba0(0x245)+_0x32fc3c+'\x20'+_0x2f6bc6[_0x32dba0(0xab)][_0x32fc3c]+'\x0d\x0a'+Object[_0x32dba0(0x22f)](_0x5993f5)[_0x32dba0(0x13f)](_0x3d2999=>_0x3d2999+':\x20'+_0x5993f5[_0x3d2999])['join']('\x0d\x0a')+_0x32dba0(0x13a)+_0x14294a);}function _0x4c0001(_0x51c7cf,_0x454467,_0x19ecc5,_0x2782b2,_0xfcc4e3,_0x41e805){const _0x379fcd=_0x4b00e4;if(_0x51c7cf['listenerCount']('wsClientError')){const _0x13a738=new Error(_0xfcc4e3);Error[_0x379fcd(0x22e)](_0x13a738,_0x4c0001),_0x51c7cf[_0x379fcd(0xed)](_0x379fcd(0x1e9),_0x13a738,_0x19ecc5,_0x454467);}else _0x49d8f5(_0x19ecc5,_0x2782b2,_0xfcc4e3,_0x41e805);}return Te;}er();var tr=Object[_0xa7a424(0x1ab)],rr=(_0x4cac92,_0x5b709e,_0x170428,_0x1378a0)=>{for(var _0x166467=_0x1378a0>0x1?void 0x0:_0x1378a0?tr(_0x5b709e,_0x170428):_0x5b709e,_0x215217=_0x4cac92['length']-0x1,_0x13c4ab;_0x215217>=0x0;_0x215217--)(_0x13c4ab=_0x4cac92[_0x215217])&&(_0x166467=_0x13c4ab(_0x166467)||_0x166467);return _0x166467;},sr=(_0x12e8fb,_0x56a5ca)=>(_0x4f8f2a,_0x41b7b6)=>_0x56a5ca(_0x4f8f2a,_0x41b7b6,_0x12e8fb);let Ne=class extends _0x507ed8{constructor(_0x37f9ed){const _0x21a9b5=_0xa7a424;super(),this[_0x21a9b5(0x142)]=_0x37f9ed;}[_0xa7a424(0xff)](_0x23a816){const _0x3d7ec8=_0xa7a424;var _0x53c7e4;const _0x1c35d7=(_0x53c7e4=this[_0x3d7ec8(0x142)][_0x3d7ec8(0x211)](Be))==null?void 0x0:_0x53c7e4[_0x3d7ec8(0xb6)];try{const _0x27963d=new Qt(_0x23a816,{'headers':{..._0x1c35d7}}),_0x686df=new _0x8da5ed();return{'URL':_0x23a816,'close':(_0x443e5c,_0x254c1c)=>{_0x27963d['close'](_0x443e5c,_0x254c1c),_0x686df['dispose']();},'send':_0xc1c7b8=>{const _0x52d341=_0x3d7ec8;_0x27963d[_0x52d341(0x202)](_0xc1c7b8);},'open$':new _0x61d4f4(_0x33042f=>{const _0x32b447=_0x3d7ec8,_0x483648=_0x2e6326=>_0x33042f[_0x32b447(0x122)](_0x2e6326);_0x27963d[_0x32b447(0x1a6)]('open',_0x483648),_0x686df[_0x32b447(0x1f4)](_0x578d41(()=>_0x27963d[_0x32b447(0x156)](_0x32b447(0xac),_0x483648)));})[_0x3d7ec8(0x139)](_0x338037()),'close$':new _0x61d4f4(_0x561fec=>{const _0xfc42af=_0x3d7ec8,_0x35ef81=_0xa055ec=>_0x561fec[_0xfc42af(0x122)](_0xa055ec);_0x27963d[_0xfc42af(0x1a6)](_0xfc42af(0x149),_0x35ef81),_0x686df['add'](_0x578d41(()=>_0x27963d[_0xfc42af(0x156)](_0xfc42af(0x149),_0x35ef81)));})['pipe'](_0x338037()),'error$':new _0x61d4f4(_0x3a6fe5=>{const _0x94257e=_0x3d7ec8,_0x33f842=_0x4ce00e=>_0x3a6fe5[_0x94257e(0x122)](_0x4ce00e);_0x27963d[_0x94257e(0x1a6)]('error',_0x33f842),_0x686df[_0x94257e(0x1f4)](_0x578d41(()=>_0x27963d[_0x94257e(0x156)](_0x94257e(0x93),_0x33f842)));})[_0x3d7ec8(0x139)](_0x338037()),'message$':new _0x61d4f4(_0x3a443e=>{const _0x51f072=_0x3d7ec8,_0x114b27=_0x27f848=>_0x3a443e[_0x51f072(0x122)](_0x27f848);_0x27963d[_0x51f072(0x1a6)](_0x51f072(0x1d5),_0x114b27),_0x686df['add'](_0x578d41(()=>_0x27963d[_0x51f072(0x156)]('message',_0x114b27)));})['pipe'](_0x338037())};}catch(_0x39503c){return console[_0x3d7ec8(0x93)](_0x39503c),null;}}};Ne=rr([sr(0x0,_0x368d87)],Ne);var ir=Object[_0xa7a424(0x223)],nr=Object[_0xa7a424(0x1ab)],or=(_0x498d71,_0x1d8284,_0x10c6ce)=>_0x1d8284 in _0x498d71?ir(_0x498d71,_0x1d8284,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x10c6ce}):_0x498d71[_0x1d8284]=_0x10c6ce,ar=(_0x45e20,_0x4a1990,_0x3a21c9,_0x553e9d)=>{for(var _0x4e16af=_0x553e9d>0x1?void 0x0:_0x553e9d?nr(_0x4a1990,_0x3a21c9):_0x4a1990,_0x2b8443=_0x45e20['length']-0x1,_0x140406;_0x2b8443>=0x0;_0x2b8443--)(_0x140406=_0x45e20[_0x2b8443])&&(_0x4e16af=_0x140406(_0x4e16af)||_0x4e16af);return _0x4e16af;},ke=(_0x575c21,_0x35e9d3)=>(_0x39583f,_0x12010b)=>_0x35e9d3(_0x39583f,_0x12010b,_0x575c21),lr=(_0x1311da,_0x4963f7,_0x13ff95)=>or(_0x1311da,_0x4963f7+'',_0x13ff95);let Pe=class extends _0x27b1a3{constructor(_0x4441e1=Ft,_0x1f726c,_0x2491ba,_0x695262){const _0x1c7119=_0xa7a424;_0x4441e1[_0x1c7119(0xb6)]||_0x1f726c[_0x1c7119(0x98)]('[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.'),super(),this[_0x1c7119(0x142)]=_0x2491ba,this['_injector']=_0x695262,this[_0x1c7119(0x142)]['setConfig'](Be,_0x4441e1);}['onStarting'](){this['_registerDependencies']();}[_0xa7a424(0x1df)](){_0x42c9b0(this['_injector'],[[_0x547534,{'useClass':Ne}]]);}};lr(Pe,_0xa7a424(0x113),_0xa7a424(0x229)),Pe=ar([_0x376cf3(_0x1645b3),ke(0x1,_0x2d4816),ke(0x2,_0x368d87),ke(0x3,_0xc0da8d(_0xc8f60a))],Pe);var fr=Object[_0xa7a424(0x1ab)],cr=(_0x2e1cba,_0x3f96a4,_0x1eaf73,_0x792d84)=>{for(var _0x1ad286=_0x792d84>0x1?void 0x0:_0x792d84?fr(_0x3f96a4,_0x1eaf73):_0x3f96a4,_0x483eb2=_0x2e1cba['length']-0x1,_0x5ede28;_0x483eb2>=0x0;_0x483eb2--)(_0x5ede28=_0x2e1cba[_0x483eb2])&&(_0x1ad286=_0x5ede28(_0x1ad286)||_0x1ad286);return _0x1ad286;},se=(_0x108bdc,_0x502a0c)=>(_0x5bbf4b,_0x56a16d)=>_0x502a0c(_0x5bbf4b,_0x56a16d,_0x108bdc);function _0x1faa(_0x275768,_0x239e93){const _0xbae945=_0xbae9();return _0x1faa=function(_0x1faa3f,_0x2e68f8){_0x1faa3f=_0x1faa3f-0x93;let _0x492385=_0xbae945[_0x1faa3f];return _0x492385;},_0x1faa(_0x275768,_0x239e93);}let at=class extends _0x765c0f{constructor(_0x2192c9,_0x17913b,_0x1af805,_0x4af6c6,_0x3a220e){const _0x46617c=_0xa7a424;super(_0x2192c9,_0x17913b,_0x1af805,_0x4af6c6,_0x3a220e);const _0xaa4ca5=this[_0x46617c(0x142)][_0x46617c(0x211)](Be);this[_0x46617c(0x1ce)][_0x46617c(0x1eb)]({'interceptor':(_0xaa1f,_0x164804)=>{const _0x33cfe4=_0x46617c;var _0x3af6f3;const _0x3f8880=_0xaa1f['headers'];return(_0x3af6f3=_0xaa4ca5==null?void 0x0:_0xaa4ca5[_0x33cfe4(0xb6)])!=null&&_0x3af6f3[_0x33cfe4(0x15b)]&&_0x3f8880[_0x33cfe4(0x134)](_0x33cfe4(0xf0),_0xaa4ca5['customHeaders'][_0x33cfe4(0x15b)]),_0x164804(_0xaa1f);}});}async[_0xa7a424(0xff)](_0x189834){return this['_doCreateSocket'](_0x189834);}};at=cr([se(0x0,_0xc0da8d(_0xc8f60a)),se(0x1,_0xc0da8d(_0x5704bf)),se(0x2,_0x368d87),se(0x3,_0x2d4816),se(0x4,_0xaf4332)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
1
+ const _0xf7eb09=_0x2a36;(function(_0x31b855,_0x49303f){const _0x13b65b=_0x2a36,_0x420ff9=_0x31b855();while(!![]){try{const _0x3f7e98=parseInt(_0x13b65b(0x259))/0x1+parseInt(_0x13b65b(0x1c4))/0x2*(-parseInt(_0x13b65b(0x25c))/0x3)+parseInt(_0x13b65b(0x298))/0x4*(-parseInt(_0x13b65b(0x13f))/0x5)+-parseInt(_0x13b65b(0x256))/0x6*(parseInt(_0x13b65b(0x23d))/0x7)+-parseInt(_0x13b65b(0x244))/0x8*(-parseInt(_0x13b65b(0x2ab))/0x9)+-parseInt(_0x13b65b(0x22c))/0xa+parseInt(_0x13b65b(0x261))/0xb;if(_0x3f7e98===_0x49303f)break;else _0x420ff9['push'](_0x420ff9['shift']());}catch(_0x4cf682){_0x420ff9['push'](_0x420ff9['shift']());}}}(_0x14cf,0xd92a4));import{UniverCollaborationClientPlugin as _0x557109,CollaborationSocketService as _0x35feb4}from'@univerjs-pro/collaboration-client';import{Disposable as _0x11032c,DisposableCollection as _0x2cdf21,toDisposable as _0x2828ac,IConfigService as _0x32d527,DependentOn as _0x2494f4,ILogService as _0x5becdf,Inject as _0x322627,Injector as _0x10dcce,Plugin as _0x366db9,registerDependencies as _0x3d3330}from'@univerjs/core';import{ISocketService as _0x417f0b,HTTPService as _0xa584b}from'@univerjs/network';import{Observable as _0x523e61,share as _0x52bfaa}from'rxjs';import _0x42d902 from'events';import _0x4d87d3 from'https';import _0x244b75 from'http';import _0x5444d5 from'net';import _0x574d6b from'tls';import _0x18e394 from'crypto';import _0x1c53b5 from'stream';import _0x2bd41c from'url';import _0x20c97f from'zlib';import _0x30ec7d from'buffer';import{ISnapshotServerService as _0xb9b99e}from'@univerjs-pro/collaboration';const Be=_0xf7eb09(0x1c0),Ft={'customHeaders':{}};function Wt(_0x261493){const _0x3e4f2b=_0xf7eb09;return _0x261493&&_0x261493[_0x3e4f2b(0x2d5)]&&Object[_0x3e4f2b(0x218)][_0x3e4f2b(0x22d)][_0x3e4f2b(0x2c0)](_0x261493,_0x3e4f2b(0x220))?_0x261493[_0x3e4f2b(0x220)]:_0x261493;}function ut(_0x4f1e9f){const _0x494954=_0xf7eb09;if(Object[_0x494954(0x218)][_0x494954(0x22d)][_0x494954(0x2c0)](_0x4f1e9f,_0x494954(0x2d5)))return _0x4f1e9f;var _0x5c4b9e=_0x4f1e9f[_0x494954(0x220)];if(typeof _0x5c4b9e==_0x494954(0x22e)){var _0x208aeb=function _0x573371(){const _0x310fc6=_0x494954;var _0xe6c691=!0x1;try{_0xe6c691=this instanceof _0x573371;}catch{}return _0xe6c691?Reflect[_0x310fc6(0x143)](_0x5c4b9e,arguments,this['constructor']):_0x5c4b9e[_0x310fc6(0x1d7)](this,arguments);};_0x208aeb['prototype']=_0x5c4b9e[_0x494954(0x218)];}else _0x208aeb={};return Object[_0x494954(0x239)](_0x208aeb,_0x494954(0x2d5),{'value':!0x0}),Object['keys'](_0x4f1e9f)['forEach'](function(_0x16e9ed){const _0x173490=_0x494954;var _0x36c092=Object[_0x173490(0x1f4)](_0x4f1e9f,_0x16e9ed);Object['defineProperty'](_0x208aeb,_0x16e9ed,_0x36c092['get']?_0x36c092:{'enumerable':!0x0,'get':function(){return _0x4f1e9f[_0x16e9ed];}});}),_0x208aeb;}var te={'exports':{}},ge,Ye;function V(){const _0x586487=_0xf7eb09;if(Ye)return ge;Ye=0x1;const _0x20540a=[_0x586487(0x1d1),_0x586487(0x204),'fragments'],_0x27d38d=typeof Blob<'u';return _0x27d38d&&_0x20540a['push'](_0x586487(0x150)),ge={'BINARY_TYPES':_0x20540a,'EMPTY_BUFFER':Buffer[_0x586487(0x2c9)](0x0),'GUID':_0x586487(0x23b),'hasBlob':_0x27d38d,'kForOnEventAttribute':Symbol(_0x586487(0x13c)),'kListener':Symbol(_0x586487(0x1e2)),'kStatusCode':Symbol(_0x586487(0x219)),'kWebSocket':Symbol(_0x586487(0x16b)),'NOOP':()=>{}},ge;}const jt={},Gt=Object[_0xf7eb09(0x242)](Object['defineProperty']({'__proto__':null,'default':jt},Symbol[_0xf7eb09(0x171)],{'value':'Module'})),Vt=ut(Gt);var Ke;function ce(){const _0x50f3ba=_0xf7eb09;if(Ke)return te[_0x50f3ba(0x2df)];Ke=0x1;const {EMPTY_BUFFER:_0x3835b6}=V(),_0x267e14=Buffer[Symbol[_0x50f3ba(0x272)]];function _0x39c9e7(_0x29259f,_0x3f51e7){const _0x710b63=_0x50f3ba;if(_0x29259f[_0x710b63(0x17e)]===0x0)return _0x3835b6;if(_0x29259f['length']===0x1)return _0x29259f[0x0];const _0x4ae9f9=Buffer[_0x710b63(0x1ee)](_0x3f51e7);let _0xfa1db3=0x0;for(let _0x5e83db=0x0;_0x5e83db<_0x29259f[_0x710b63(0x17e)];_0x5e83db++){const _0x45e97c=_0x29259f[_0x5e83db];_0x4ae9f9[_0x710b63(0x21f)](_0x45e97c,_0xfa1db3),_0xfa1db3+=_0x45e97c[_0x710b63(0x17e)];}return _0xfa1db3<_0x3f51e7?new _0x267e14(_0x4ae9f9[_0x710b63(0x189)],_0x4ae9f9[_0x710b63(0x205)],_0xfa1db3):_0x4ae9f9;}function _0x37f30f(_0x17bb50,_0x57801f,_0x8ca36b,_0x326dfe,_0x35e814){for(let _0x18803d=0x0;_0x18803d<_0x35e814;_0x18803d++)_0x8ca36b[_0x326dfe+_0x18803d]=_0x17bb50[_0x18803d]^_0x57801f[_0x18803d&0x3];}function _0x54ae43(_0x55fc15,_0x5abb8a){const _0x31a92d=_0x50f3ba;for(let _0x10afae=0x0;_0x10afae<_0x55fc15[_0x31a92d(0x17e)];_0x10afae++)_0x55fc15[_0x10afae]^=_0x5abb8a[_0x10afae&0x3];}function _0x55e4b8(_0x520f31){const _0x1c0238=_0x50f3ba;return _0x520f31[_0x1c0238(0x17e)]===_0x520f31[_0x1c0238(0x189)]['byteLength']?_0x520f31[_0x1c0238(0x189)]:_0x520f31[_0x1c0238(0x189)]['slice'](_0x520f31[_0x1c0238(0x205)],_0x520f31['byteOffset']+_0x520f31[_0x1c0238(0x17e)]);}function _0xb904c1(_0x2b9d2c){const _0x42e390=_0x50f3ba;if(_0xb904c1[_0x42e390(0x252)]=!0x0,Buffer[_0x42e390(0x18b)](_0x2b9d2c))return _0x2b9d2c;let _0x337d7e;return _0x2b9d2c instanceof ArrayBuffer?_0x337d7e=new _0x267e14(_0x2b9d2c):ArrayBuffer['isView'](_0x2b9d2c)?_0x337d7e=new _0x267e14(_0x2b9d2c['buffer'],_0x2b9d2c[_0x42e390(0x205)],_0x2b9d2c[_0x42e390(0x16f)]):(_0x337d7e=Buffer['from'](_0x2b9d2c),_0xb904c1[_0x42e390(0x252)]=!0x1),_0x337d7e;}if(te['exports']={'concat':_0x39c9e7,'mask':_0x37f30f,'toArrayBuffer':_0x55e4b8,'toBuffer':_0xb904c1,'unmask':_0x54ae43},!process['env'][_0x50f3ba(0x145)])try{const _0x40aad3=Vt;te[_0x50f3ba(0x2df)][_0x50f3ba(0x169)]=function(_0x3749cb,_0x207a31,_0xab013c,_0x48f360,_0x370189){const _0x1d3fdf=_0x50f3ba;_0x370189<0x30?_0x37f30f(_0x3749cb,_0x207a31,_0xab013c,_0x48f360,_0x370189):_0x40aad3[_0x1d3fdf(0x169)](_0x3749cb,_0x207a31,_0xab013c,_0x48f360,_0x370189);},te[_0x50f3ba(0x2df)][_0x50f3ba(0x182)]=function(_0x2404f2,_0x26c3a8){const _0x4523e0=_0x50f3ba;_0x2404f2[_0x4523e0(0x17e)]<0x20?_0x54ae43(_0x2404f2,_0x26c3a8):_0x40aad3['unmask'](_0x2404f2,_0x26c3a8);};}catch{}return te[_0x50f3ba(0x2df)];}var ye,Xe;function qt(){const _0x2854e1=_0xf7eb09;if(Xe)return ye;Xe=0x1;const _0x3f2741=Symbol(_0x2854e1(0x28b)),_0x415ee7=Symbol('kRun');class _0x504785{constructor(_0x3a1a8d){const _0x4cdca3=_0x2854e1;this[_0x3f2741]=()=>{const _0x16f41e=_0x2a36;this[_0x16f41e(0x28d)]--,this[_0x415ee7]();},this[_0x4cdca3(0x284)]=_0x3a1a8d||0x1/0x0,this['jobs']=[],this['pending']=0x0;}[_0x2854e1(0x16a)](_0x1a7504){const _0x45a86a=_0x2854e1;this[_0x45a86a(0x24e)][_0x45a86a(0x20a)](_0x1a7504),this[_0x415ee7]();}[_0x415ee7](){const _0x1a439e=_0x2854e1;if(this[_0x1a439e(0x28d)]!==this['concurrency']&&this[_0x1a439e(0x24e)][_0x1a439e(0x17e)]){const _0xed2657=this[_0x1a439e(0x24e)][_0x1a439e(0x183)]();this[_0x1a439e(0x28d)]++,_0xed2657(this[_0x3f2741]);}}}return ye=_0x504785,ye;}var ve,Ze;function he(){const _0x28e67e=_0xf7eb09;if(Ze)return ve;Ze=0x1;const _0x133125=_0x20c97f,_0x422946=ce(),_0x82d029=qt(),{kStatusCode:_0x925456}=V(),_0x3d45ba=Buffer[Symbol[_0x28e67e(0x272)]],_0x479701=Buffer[_0x28e67e(0x210)]([0x0,0x0,0xff,0xff]),_0xee5c35=Symbol(_0x28e67e(0x2d4)),_0x4d8d8f=Symbol(_0x28e67e(0x222)),_0x4ef1df=Symbol(_0x28e67e(0x1a4)),_0x2da395=Symbol(_0x28e67e(0x1b4)),_0x123b09=Symbol(_0x28e67e(0x2d9));let _0x1b7f20;class _0xd05ac1{constructor(_0x28b289,_0x2b89bc,_0xec4828){const _0x4f6a79=_0x28e67e;if(this['_maxPayload']=_0xec4828|0x0,this[_0x4f6a79(0x18f)]=_0x28b289||{},this['_threshold']=this[_0x4f6a79(0x18f)][_0x4f6a79(0x1b0)]!==void 0x0?this[_0x4f6a79(0x18f)][_0x4f6a79(0x1b0)]:0x400,this[_0x4f6a79(0x2ae)]=!!_0x2b89bc,this[_0x4f6a79(0x235)]=null,this['_inflate']=null,this[_0x4f6a79(0x198)]=null,!_0x1b7f20){const _0x10440c=this[_0x4f6a79(0x18f)][_0x4f6a79(0x1fb)]!==void 0x0?this['_options'][_0x4f6a79(0x1fb)]:0xa;_0x1b7f20=new _0x82d029(_0x10440c);}}static get[_0x28e67e(0x15a)](){const _0x5ca129=_0x28e67e;return _0x5ca129(0x2d4);}[_0x28e67e(0x274)](){const _0x1ee3f7=_0x28e67e,_0x31cf20={};return this[_0x1ee3f7(0x18f)][_0x1ee3f7(0x1b7)]&&(_0x31cf20['server_no_context_takeover']=!0x0),this['_options'][_0x1ee3f7(0x2e8)]&&(_0x31cf20[_0x1ee3f7(0x209)]=!0x0),this[_0x1ee3f7(0x18f)]['serverMaxWindowBits']&&(_0x31cf20[_0x1ee3f7(0x275)]=this[_0x1ee3f7(0x18f)][_0x1ee3f7(0x24d)]),this[_0x1ee3f7(0x18f)][_0x1ee3f7(0x2dd)]?_0x31cf20['client_max_window_bits']=this[_0x1ee3f7(0x18f)]['clientMaxWindowBits']:this[_0x1ee3f7(0x18f)]['clientMaxWindowBits']==null&&(_0x31cf20[_0x1ee3f7(0x2a8)]=!0x0),_0x31cf20;}[_0x28e67e(0x25e)](_0x17188b){const _0x336f18=_0x28e67e;return _0x17188b=this[_0x336f18(0x2d0)](_0x17188b),this['params']=this[_0x336f18(0x2ae)]?this[_0x336f18(0x136)](_0x17188b):this[_0x336f18(0x15e)](_0x17188b),this[_0x336f18(0x198)];}['cleanup'](){const _0x2a6343=_0x28e67e;if(this['_inflate']&&(this[_0x2a6343(0x294)][_0x2a6343(0x290)](),this[_0x2a6343(0x294)]=null),this['_deflate']){const _0x3c148d=this[_0x2a6343(0x235)][_0x4ef1df];this[_0x2a6343(0x235)][_0x2a6343(0x290)](),this[_0x2a6343(0x235)]=null,_0x3c148d&&_0x3c148d(new Error(_0x2a6343(0x268)));}}[_0x28e67e(0x136)](_0x8a1363){const _0x3bde86=_0x28e67e,_0x50382c=this[_0x3bde86(0x18f)],_0x86beb4=_0x8a1363['find'](_0x52517e=>!(_0x50382c[_0x3bde86(0x1b7)]===!0x1&&_0x52517e['server_no_context_takeover']||_0x52517e[_0x3bde86(0x275)]&&(_0x50382c[_0x3bde86(0x24d)]===!0x1||typeof _0x50382c[_0x3bde86(0x24d)]==_0x3bde86(0x1cd)&&_0x50382c[_0x3bde86(0x24d)]>_0x52517e[_0x3bde86(0x275)])||typeof _0x50382c[_0x3bde86(0x2dd)]==_0x3bde86(0x1cd)&&!_0x52517e[_0x3bde86(0x2a8)]));if(!_0x86beb4)throw new Error(_0x3bde86(0x177));return _0x50382c[_0x3bde86(0x1b7)]&&(_0x86beb4[_0x3bde86(0x13e)]=!0x0),_0x50382c[_0x3bde86(0x2e8)]&&(_0x86beb4[_0x3bde86(0x209)]=!0x0),typeof _0x50382c[_0x3bde86(0x24d)]=='number'&&(_0x86beb4[_0x3bde86(0x275)]=_0x50382c[_0x3bde86(0x24d)]),typeof _0x50382c[_0x3bde86(0x2dd)]==_0x3bde86(0x1cd)?_0x86beb4['client_max_window_bits']=_0x50382c[_0x3bde86(0x2dd)]:(_0x86beb4['client_max_window_bits']===!0x0||_0x50382c[_0x3bde86(0x2dd)]===!0x1)&&delete _0x86beb4[_0x3bde86(0x2a8)],_0x86beb4;}[_0x28e67e(0x15e)](_0x172f0d){const _0x211649=_0x28e67e,_0x5a6b0f=_0x172f0d[0x0];if(this['_options'][_0x211649(0x2e8)]===!0x1&&_0x5a6b0f[_0x211649(0x209)])throw new Error('Unexpected\x20parameter\x20\x22client_no_context_takeover\x22');if(!_0x5a6b0f[_0x211649(0x2a8)])typeof this['_options'][_0x211649(0x2dd)]==_0x211649(0x1cd)&&(_0x5a6b0f[_0x211649(0x2a8)]=this['_options']['clientMaxWindowBits']);else{if(this[_0x211649(0x18f)][_0x211649(0x2dd)]===!0x1||typeof this[_0x211649(0x18f)][_0x211649(0x2dd)]==_0x211649(0x1cd)&&_0x5a6b0f[_0x211649(0x2a8)]>this[_0x211649(0x18f)][_0x211649(0x2dd)])throw new Error(_0x211649(0x18e));}return _0x5a6b0f;}[_0x28e67e(0x2d0)](_0x418a17){const _0x126241=_0x28e67e;return _0x418a17[_0x126241(0x1e8)](_0x48487e=>{const _0x5dbbcc=_0x126241;Object[_0x5dbbcc(0x212)](_0x48487e)['forEach'](_0xe95320=>{const _0x5d5379=_0x5dbbcc;let _0x40845a=_0x48487e[_0xe95320];if(_0x40845a[_0x5d5379(0x17e)]>0x1)throw new Error(_0x5d5379(0x14a)+_0xe95320+_0x5d5379(0x1ca));if(_0x40845a=_0x40845a[0x0],_0xe95320===_0x5d5379(0x2a8)){if(_0x40845a!==!0x0){const _0xac5d43=+_0x40845a;if(!Number[_0x5d5379(0x271)](_0xac5d43)||_0xac5d43<0x8||_0xac5d43>0xf)throw new TypeError(_0x5d5379(0x249)+_0xe95320+_0x5d5379(0x202)+_0x40845a);_0x40845a=_0xac5d43;}else{if(!this['_isServer'])throw new TypeError(_0x5d5379(0x249)+_0xe95320+'\x22:\x20'+_0x40845a);}}else{if(_0xe95320==='server_max_window_bits'){const _0x59288b=+_0x40845a;if(!Number[_0x5d5379(0x271)](_0x59288b)||_0x59288b<0x8||_0x59288b>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0xe95320+_0x5d5379(0x202)+_0x40845a);_0x40845a=_0x59288b;}else{if(_0xe95320===_0x5d5379(0x209)||_0xe95320===_0x5d5379(0x13e)){if(_0x40845a!==!0x0)throw new TypeError(_0x5d5379(0x249)+_0xe95320+_0x5d5379(0x202)+_0x40845a);}else throw new Error(_0x5d5379(0x236)+_0xe95320+'\x22');}}_0x48487e[_0xe95320]=_0x40845a;});}),_0x418a17;}[_0x28e67e(0x21c)](_0x20de4e,_0x556d7b,_0xd136a2){const _0x4832a7=_0x28e67e;_0x1b7f20[_0x4832a7(0x16a)](_0x3c75c6=>{const _0x4c8dc1=_0x4832a7;this[_0x4c8dc1(0x16d)](_0x20de4e,_0x556d7b,(_0x418072,_0x45462d)=>{_0x3c75c6(),_0xd136a2(_0x418072,_0x45462d);});});}['compress'](_0x4d6e9e,_0x384db9,_0x347b2){_0x1b7f20['add'](_0x5c0b95=>{this['_compress'](_0x4d6e9e,_0x384db9,(_0x141b10,_0x554b7b)=>{_0x5c0b95(),_0x347b2(_0x141b10,_0x554b7b);});});}[_0x28e67e(0x16d)](_0x3df63b,_0xbe26c6,_0xc7d9dc){const _0x247b33=_0x28e67e,_0x54cbc6=this[_0x247b33(0x2ae)]?_0x247b33(0x2a6):'server';if(!this[_0x247b33(0x294)]){const _0x2d67dd=_0x54cbc6+_0x247b33(0x1b9),_0x35163e=typeof this[_0x247b33(0x198)][_0x2d67dd]!='number'?_0x133125['Z_DEFAULT_WINDOWBITS']:this[_0x247b33(0x198)][_0x2d67dd];this[_0x247b33(0x294)]=_0x133125[_0x247b33(0x1b5)]({...this[_0x247b33(0x18f)]['zlibInflateOptions'],'windowBits':_0x35163e}),this['_inflate'][_0xee5c35]=this,this['_inflate'][_0x4d8d8f]=0x0,this['_inflate'][_0x2da395]=[],this['_inflate']['on'](_0x247b33(0x2d9),_0x4294c9),this[_0x247b33(0x294)]['on'](_0x247b33(0x213),_0x4e131d);}this[_0x247b33(0x294)][_0x4ef1df]=_0xc7d9dc,this[_0x247b33(0x294)][_0x247b33(0x19b)](_0x3df63b),_0xbe26c6&&this['_inflate'][_0x247b33(0x19b)](_0x479701),this[_0x247b33(0x294)][_0x247b33(0x23c)](()=>{const _0x2e4ea5=_0x247b33,_0x4611dc=this[_0x2e4ea5(0x294)][_0x123b09];if(_0x4611dc){this[_0x2e4ea5(0x294)]['close'](),this['_inflate']=null,_0xc7d9dc(_0x4611dc);return;}const _0x482f77=_0x422946[_0x2e4ea5(0x1da)](this[_0x2e4ea5(0x294)][_0x2da395],this[_0x2e4ea5(0x294)][_0x4d8d8f]);this[_0x2e4ea5(0x294)][_0x2e4ea5(0x187)][_0x2e4ea5(0x138)]?(this['_inflate']['close'](),this[_0x2e4ea5(0x294)]=null):(this['_inflate'][_0x4d8d8f]=0x0,this[_0x2e4ea5(0x294)][_0x2da395]=[],_0xbe26c6&&this[_0x2e4ea5(0x198)][_0x54cbc6+'_no_context_takeover']&&this[_0x2e4ea5(0x294)][_0x2e4ea5(0x167)]()),_0xc7d9dc(null,_0x482f77);});}[_0x28e67e(0x2de)](_0x147b9c,_0x4da67e,_0x58878e){const _0x589d94=_0x28e67e,_0x3455c4=this['_isServer']?_0x589d94(0x19a):_0x589d94(0x2a6);if(!this[_0x589d94(0x235)]){const _0x18ffd0=_0x3455c4+_0x589d94(0x1b9),_0x40d898=typeof this[_0x589d94(0x198)][_0x18ffd0]!=_0x589d94(0x1cd)?_0x133125[_0x589d94(0x2ac)]:this['params'][_0x18ffd0];this['_deflate']=_0x133125[_0x589d94(0x286)]({...this[_0x589d94(0x18f)][_0x589d94(0x228)],'windowBits':_0x40d898}),this[_0x589d94(0x235)][_0x4d8d8f]=0x0,this['_deflate'][_0x2da395]=[],this[_0x589d94(0x235)]['on']('data',_0x42f630);}this[_0x589d94(0x235)][_0x4ef1df]=_0x58878e,this[_0x589d94(0x235)][_0x589d94(0x19b)](_0x147b9c),this[_0x589d94(0x235)]['flush'](_0x133125[_0x589d94(0x1ce)],()=>{const _0x459fdf=_0x589d94;if(!this[_0x459fdf(0x235)])return;let _0x47cf6d=_0x422946[_0x459fdf(0x1da)](this[_0x459fdf(0x235)][_0x2da395],this[_0x459fdf(0x235)][_0x4d8d8f]);_0x4da67e&&(_0x47cf6d=new _0x3d45ba(_0x47cf6d[_0x459fdf(0x189)],_0x47cf6d[_0x459fdf(0x205)],_0x47cf6d[_0x459fdf(0x17e)]-0x4)),this[_0x459fdf(0x235)][_0x4ef1df]=null,this[_0x459fdf(0x235)][_0x4d8d8f]=0x0,this[_0x459fdf(0x235)][_0x2da395]=[],_0x4da67e&&this[_0x459fdf(0x198)][_0x3455c4+_0x459fdf(0x283)]&&this[_0x459fdf(0x235)][_0x459fdf(0x167)](),_0x58878e(null,_0x47cf6d);});}}ve=_0xd05ac1;function _0x42f630(_0xc87abf){const _0x46bcab=_0x28e67e;this[_0x2da395][_0x46bcab(0x20a)](_0xc87abf),this[_0x4d8d8f]+=_0xc87abf[_0x46bcab(0x17e)];}function _0x4e131d(_0x538e31){const _0x53f16d=_0x28e67e;if(this[_0x4d8d8f]+=_0x538e31[_0x53f16d(0x17e)],this[_0xee5c35][_0x53f16d(0x25f)]<0x1||this[_0x4d8d8f]<=this[_0xee5c35][_0x53f16d(0x25f)]){this[_0x2da395][_0x53f16d(0x20a)](_0x538e31);return;}this[_0x123b09]=new RangeError(_0x53f16d(0x2e5)),this[_0x123b09][_0x53f16d(0x265)]='WS_ERR_UNSUPPORTED_MESSAGE_LENGTH',this[_0x123b09][_0x925456]=0x3f1,this[_0x53f16d(0x149)]('data',_0x4e131d),this[_0x53f16d(0x167)]();}function _0x4294c9(_0x5cd813){const _0x2fed33=_0x28e67e;if(this[_0xee5c35][_0x2fed33(0x294)]=null,this[_0x123b09]){this[_0x4ef1df](this[_0x123b09]);return;}_0x5cd813[_0x925456]=0x3ef,this[_0x4ef1df](_0x5cd813);}return ve;}var re={'exports':{}};function _0x14cf(){const _0x5315b7=['fin','binary','https:','ws+unix:','kListener','Cookie','removeAllListeners','completeUpgrade','setConfig','kReason','forEach','createServer','href','shouldHandle','wss:','invalid\x20UTF-8\x20sequence','allocUnsafe','_autoPong','kData','autoPong','_final','statusCode','getOwnPropertyDescriptor','value','entries','GET','socketPath','_binaryType','Unsupported\x20protocol\x20version:\x20','concurrencyLimit','Unexpected\x20server\x20response:\x20','handleEvent','listening','kTarget','search','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','\x22:\x20','cookie','arraybuffer','byteOffset','hostname','hash','_payloadLength','client_no_context_takeover','push','sec-websocket-version','digest','onerror','dequeue','generateMask','from','setNoDelay','keys','data','_shouldEmitClose','getPayloadLength16','WS_ERR_UNEXPECTED_RSV_1','slice','prototype','status-code','Invalid\x20URL:\x20','controlMessage','decompress','_masked','_extensions','set','default','string','total-length','cork','values','pause','createError','resume','zlibDeflateOptions','RSV1\x20must\x20be\x20clear','_write','replace','9085420KbAoLK','hasOwnProperty','function','emitClose','handshakeTimeout','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','next','_closeFrameReceived','toLowerCase','_deflate','Unknown\x20parameter\x20\x22','Sec-WebSocket-Extensions:\x20','The\x20URL\x27s\x20pathname\x20is\x20empty','defineProperty','isPaused','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','flush','1291339FrFWcV','kByteLength','isIP','writeUInt16BE','path','freeze','readUInt16BE','177464knNUAt','map','Unexpected\x20end\x20of\x20input','Basic\x20','STATUS_CODES','Invalid\x20value\x20for\x20parameter\x20\x22','dataMessage','username','invalid\x20opcode\x20','serverMaxWindowBits','jobs','text/plain','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','dispatch','readOnly','authorization','CLOSED','ping','54tBuJZM','_socket','haveLength','836605JdXiLd','response','conclude','246345RYRwJJ','socket','accept','_maxPayload','Blob','46102980yMoZwx','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','_allowSynchronousEvents','WS_ERR_INVALID_UTF8','code','Invalid\x20Sec-WebSocket-Protocol\x20header','createConnection','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','defaultPort','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','object','authorized','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','kWasClean','onclose','abort','isInteger','species','_messageLength','offer','server_max_window_bits','Sec-WebSocket-Protocol','invalid\x20status\x20code\x20','The\x20server\x20is\x20not\x20running','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','perMessageDeflate','sec-websocket-protocol','Opening\x20handshake\x20has\x20timed\x20out','uncork','finished','join','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','options','servername','_no_context_takeover','concurrency','maxRedirects','createDeflateRaw','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','extensions','objectMode','_state','kDone','verifyClient','pending','pluginName','_readyState','close','_errorEmitted','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','frame','_inflate','HTTP/1.1\x20101\x20Switching\x20Protocols','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','ws:','8pqodhM','_bufferedAmount','onStarting','protocol','end','removeEventListener','readUInt32BE','sec-websocket-extensions','address','host','setTimeout','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','customHeaders','MASK\x20must\x20be\x20clear','client','arrayBuffer','client_max_window_bits','location','finishRequest','387seTZoF','Z_DEFAULT_WINDOWBITS','isArray','_isServer','_receiver','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','CONNECTING','errorEmitted','_fragmented','WS_ERR_EXPECTED_MASK','message','binaryType','allowSynchronousEvents','kMessage','_firstFragment','headers','WS_ERR_UNEXPECTED_RSV_2_3','update','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','_queue','Sec-WebSocket-Accept:\x20','call','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','_url','pipe','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','getConfig','stream','connect','charCodeAt','alloc','upgrade','Invalid\x20Sec-WebSocket-Extensions\x20header','pathname','reason','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','skipUTF8Validation','normalizeParams','_originalIpc','origin','clients','permessage-deflate','__esModule','_totalPayloadLength','has','startLoop','error','_bufferedBytes','clientTracking','delete','clientMaxWindowBits','_compress','exports','registerHTTPInterceptor','_closeMessage','writeUIntBE','redirect','sha1','Max\x20payload\x20size\x20exceeded','parse','_errored','clientNoContextTakeover','handleUpgrade','acceptAsServer','addEventListener','endEmitted','terminate','invalid\x20payload\x20length\x20','backlog','kIsForOnEventAttribute','OPEN','server_no_context_takeover','2818390LqesGN','format','Invalid\x20HTTP\x20method','_mask','construct','base64','WS_NO_BUFFER_UTIL','open','captureStackTrace','createSocket','removeListener','Parameter\x20\x22','consume','WS_ERR_INVALID_OPCODE','_loop','The\x20URL\x20contains\x20a\x20fragment\x20identifier','connection','blob','listenerCount','request','_sender','WS_ERR_UNEXPECTED_MASK','read','_buffers','setSocket','pong','protocolVersion','extensionName','_registerDependencies','WS_ERR_EXPECTED_FIN','indexOf','acceptAsClient','method','then','_skipUTF8Validation','_maskBuffer','Upgrade','needDrain','_paused','_closeCode','reset','_redirects','mask','add','websocket','noServer','_decompress','_protocol','byteLength','readyState','toStringTag','_closeTimer','_fin','_removeListeners','_generateMask','_writableState','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','\x22\x20subprotocol\x20is\x20duplicated','cleanup','destroyed','wasClean','followRedirects','auth','length','isServer','test','\x0d\x0a\x0d\x0a','unmask','shift','send','_injector','warn','_readableState','bufferedAmount','buffer','_fragments','isBuffer','pow','_compressed','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','_options','getInfo','maxPayload','Invalid\x20Sec-WebSocket-Accept\x20header','writable','catch','bind','password','port','params','kType','server','write','Server\x20sent\x20no\x20subprotocol','_req','finish','FIN\x20must\x20be\x20set','sendFrame','listeners','env','Unexpected\x20character\x20at\x20index\x20','callback','size','timeout','kAborted','toString','url','once','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','includes','_originalHostOrSocketPath','encrypted','threshold','_closeFrameSent','Module','WebSocket','buffers','createInflateRaw','getPayloadLength64','serverNoContextTakeover','kError','_max_window_bits','Sec-WebSocket-Protocol:\x20','\x20(supported\x20versions:\x20','_threshold','destroy','getMask','handleProtocols','collaboration-client-node.config','sec-websocket-key','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','CLOSING','34WdqIKM','getBlobData','getData','WS_ERR_INVALID_CLOSE_CODE','_opcode','compress','\x22\x20must\x20have\x20only\x20a\x20single\x20value','Sec-WebSocket-Extensions','_httpService','number','Z_SYNC_FLUSH','_configService','enqueue','nodebuffer','Sec-WebSocket-Origin','_server','wsClientError','Upgrade:\x20websocket','create','apply','target','emit','concat','Invalid\x20Upgrade\x20header','_originalSecure','nextTick'];_0x14cf=function(){return _0x5315b7;};return _0x14cf();}const Ht={},zt=Object[_0xf7eb09(0x242)](Object[_0xf7eb09(0x239)]({'__proto__':null,'default':Ht},Symbol[_0xf7eb09(0x171)],{'value':_0xf7eb09(0x1b2)})),Yt=ut(zt);var Qe;function ne(){const _0x2b9e1c=_0xf7eb09;if(Qe)return re['exports'];Qe=0x1;const {isUtf8:_0x432229}=_0x30ec7d,{hasBlob:_0x4fcb48}=V(),_0x37286c=[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 _0x23951b(_0x61f92d){return _0x61f92d>=0x3e8&&_0x61f92d<=0x3f6&&_0x61f92d!==0x3ec&&_0x61f92d!==0x3ed&&_0x61f92d!==0x3ee||_0x61f92d>=0xbb8&&_0x61f92d<=0x1387;}function _0x12a87c(_0x525115){const _0x864166=_0x525115['length'];let _0x5161c2=0x0;for(;_0x5161c2<_0x864166;)if((_0x525115[_0x5161c2]&0x80)===0x0)_0x5161c2++;else{if((_0x525115[_0x5161c2]&0xe0)===0xc0){if(_0x5161c2+0x1===_0x864166||(_0x525115[_0x5161c2+0x1]&0xc0)!==0x80||(_0x525115[_0x5161c2]&0xfe)===0xc0)return!0x1;_0x5161c2+=0x2;}else{if((_0x525115[_0x5161c2]&0xf0)===0xe0){if(_0x5161c2+0x2>=_0x864166||(_0x525115[_0x5161c2+0x1]&0xc0)!==0x80||(_0x525115[_0x5161c2+0x2]&0xc0)!==0x80||_0x525115[_0x5161c2]===0xe0&&(_0x525115[_0x5161c2+0x1]&0xe0)===0x80||_0x525115[_0x5161c2]===0xed&&(_0x525115[_0x5161c2+0x1]&0xe0)===0xa0)return!0x1;_0x5161c2+=0x3;}else{if((_0x525115[_0x5161c2]&0xf8)===0xf0){if(_0x5161c2+0x3>=_0x864166||(_0x525115[_0x5161c2+0x1]&0xc0)!==0x80||(_0x525115[_0x5161c2+0x2]&0xc0)!==0x80||(_0x525115[_0x5161c2+0x3]&0xc0)!==0x80||_0x525115[_0x5161c2]===0xf0&&(_0x525115[_0x5161c2+0x1]&0xf0)===0x80||_0x525115[_0x5161c2]===0xf4&&_0x525115[_0x5161c2+0x1]>0x8f||_0x525115[_0x5161c2]>0xf4)return!0x1;_0x5161c2+=0x4;}else return!0x1;}}}return!0x0;}function _0x112e95(_0x14ab02){const _0x1e759a=_0x2a36;return _0x4fcb48&&typeof _0x14ab02=='object'&&typeof _0x14ab02[_0x1e759a(0x2a7)]=='function'&&typeof _0x14ab02['type']==_0x1e759a(0x221)&&typeof _0x14ab02[_0x1e759a(0x2c6)]==_0x1e759a(0x22e)&&(_0x14ab02[Symbol[_0x1e759a(0x171)]]===_0x1e759a(0x260)||_0x14ab02[Symbol[_0x1e759a(0x171)]]==='File');}if(re[_0x2b9e1c(0x2df)]={'isBlob':_0x112e95,'isValidStatusCode':_0x23951b,'isValidUTF8':_0x12a87c,'tokenChars':_0x37286c},_0x432229)re['exports']['isValidUTF8']=function(_0x26f62b){const _0x3eab2d=_0x2b9e1c;return _0x26f62b[_0x3eab2d(0x17e)]<0x18?_0x12a87c(_0x26f62b):_0x432229(_0x26f62b);};else{if(!process[_0x2b9e1c(0x1a2)]['WS_NO_UTF_8_VALIDATE'])try{const _0x4b281f=Yt;re[_0x2b9e1c(0x2df)]['isValidUTF8']=function(_0x351e58){const _0x1b82ca=_0x2b9e1c;return _0x351e58[_0x1b82ca(0x17e)]<0x20?_0x12a87c(_0x351e58):_0x4b281f(_0x351e58);};}catch{}}return re[_0x2b9e1c(0x2df)];}var Se,Je;function dt(){const _0x1c7c82=_0xf7eb09;if(Je)return Se;Je=0x1;const {Writable:_0x1b36e5}=_0x1c53b5,_0x589e7a=he(),{BINARY_TYPES:_0x4a5295,EMPTY_BUFFER:_0x53bf40,kStatusCode:_0x276ee3,kWebSocket:_0x1ac583}=V(),{concat:_0x2a6b53,toArrayBuffer:_0x2b5605,unmask:_0x3312f4}=ce(),{isValidStatusCode:_0x58a187,isValidUTF8:_0x51ddc7}=ne(),_0x34b87b=Buffer[Symbol[_0x1c7c82(0x272)]],_0x747912=0x0,_0x351e76=0x1,_0x1aa752=0x2,_0x32c5db=0x3,_0x28657d=0x4,_0x2c2f99=0x5,_0xdd0e18=0x6;class _0x4e8f4f extends _0x1b36e5{constructor(_0x272e27={}){const _0xe2f8cd=_0x1c7c82;super(),this['_allowSynchronousEvents']=_0x272e27[_0xe2f8cd(0x2b7)]!==void 0x0?_0x272e27['allowSynchronousEvents']:!0x0,this[_0xe2f8cd(0x1f9)]=_0x272e27[_0xe2f8cd(0x2b6)]||_0x4a5295[0x0],this[_0xe2f8cd(0x21e)]=_0x272e27['extensions']||{},this['_isServer']=!!_0x272e27[_0xe2f8cd(0x17f)],this[_0xe2f8cd(0x25f)]=_0x272e27[_0xe2f8cd(0x191)]|0x0,this[_0xe2f8cd(0x161)]=!!_0x272e27['skipUTF8Validation'],this[_0x1ac583]=void 0x0,this[_0xe2f8cd(0x2da)]=0x0,this['_buffers']=[],this[_0xe2f8cd(0x18d)]=!0x1,this[_0xe2f8cd(0x208)]=0x0,this[_0xe2f8cd(0x142)]=void 0x0,this[_0xe2f8cd(0x2b3)]=0x0,this[_0xe2f8cd(0x21d)]=!0x1,this[_0xe2f8cd(0x173)]=!0x1,this['_opcode']=0x0,this[_0xe2f8cd(0x2d6)]=0x0,this['_messageLength']=0x0,this[_0xe2f8cd(0x18a)]=[],this['_errored']=!0x1,this['_loop']=!0x1,this[_0xe2f8cd(0x28a)]=_0x747912;}['_write'](_0x1df727,_0x37ccd2,_0x5820a2){const _0x253a2f=_0x1c7c82;if(this['_opcode']===0x8&&this[_0x253a2f(0x28a)]==_0x747912)return _0x5820a2();this[_0x253a2f(0x2da)]+=_0x1df727[_0x253a2f(0x17e)],this[_0x253a2f(0x156)]['push'](_0x1df727),this[_0x253a2f(0x2d8)](_0x5820a2);}['consume'](_0x42432b){const _0x6bb3f4=_0x1c7c82;if(this['_bufferedBytes']-=_0x42432b,_0x42432b===this[_0x6bb3f4(0x156)][0x0][_0x6bb3f4(0x17e)])return this['_buffers'][_0x6bb3f4(0x183)]();if(_0x42432b<this[_0x6bb3f4(0x156)][0x0]['length']){const _0xaf4074=this[_0x6bb3f4(0x156)][0x0];return this[_0x6bb3f4(0x156)][0x0]=new _0x34b87b(_0xaf4074['buffer'],_0xaf4074[_0x6bb3f4(0x205)]+_0x42432b,_0xaf4074[_0x6bb3f4(0x17e)]-_0x42432b),new _0x34b87b(_0xaf4074['buffer'],_0xaf4074['byteOffset'],_0x42432b);}const _0x53bac8=Buffer[_0x6bb3f4(0x1ee)](_0x42432b);do{const _0x5306dc=this[_0x6bb3f4(0x156)][0x0],_0x42b0e1=_0x53bac8[_0x6bb3f4(0x17e)]-_0x42432b;_0x42432b>=_0x5306dc[_0x6bb3f4(0x17e)]?_0x53bac8[_0x6bb3f4(0x21f)](this[_0x6bb3f4(0x156)][_0x6bb3f4(0x183)](),_0x42b0e1):(_0x53bac8[_0x6bb3f4(0x21f)](new Uint8Array(_0x5306dc[_0x6bb3f4(0x189)],_0x5306dc[_0x6bb3f4(0x205)],_0x42432b),_0x42b0e1),this[_0x6bb3f4(0x156)][0x0]=new _0x34b87b(_0x5306dc['buffer'],_0x5306dc[_0x6bb3f4(0x205)]+_0x42432b,_0x5306dc[_0x6bb3f4(0x17e)]-_0x42432b)),_0x42432b-=_0x5306dc[_0x6bb3f4(0x17e)];}while(_0x42432b>0x0);return _0x53bac8;}[_0x1c7c82(0x2d8)](_0x54f89a){const _0x1cf544=_0x1c7c82;this[_0x1cf544(0x14d)]=!0x0;do switch(this[_0x1cf544(0x28a)]){case _0x747912:this[_0x1cf544(0x190)](_0x54f89a);break;case _0x351e76:this[_0x1cf544(0x215)](_0x54f89a);break;case _0x1aa752:this[_0x1cf544(0x1b6)](_0x54f89a);break;case _0x32c5db:this[_0x1cf544(0x1be)]();break;case _0x28657d:this[_0x1cf544(0x1c6)](_0x54f89a);break;case _0x2c2f99:case _0xdd0e18:this['_loop']=!0x1;return;}while(this[_0x1cf544(0x14d)]);this[_0x1cf544(0x2e7)]||_0x54f89a();}['getInfo'](_0xc1232c){const _0x1b64f8=_0x1c7c82;if(this[_0x1b64f8(0x2da)]<0x2){this[_0x1b64f8(0x14d)]=!0x1;return;}const _0x34ea60=this[_0x1b64f8(0x14b)](0x2);if((_0x34ea60[0x0]&0x30)!==0x0){const _0x2c5818=this[_0x1b64f8(0x226)](RangeError,_0x1b64f8(0x2a3),!0x0,0x3ea,_0x1b64f8(0x2bb));_0xc1232c(_0x2c5818);return;}const _0x1300de=(_0x34ea60[0x0]&0x40)===0x40;if(_0x1300de&&!this['_extensions'][_0x589e7a[_0x1b64f8(0x15a)]]){const _0x26aec6=this['createError'](RangeError,_0x1b64f8(0x229),!0x0,0x3ea,_0x1b64f8(0x216));_0xc1232c(_0x26aec6);return;}if(this[_0x1b64f8(0x173)]=(_0x34ea60[0x0]&0x80)===0x80,this[_0x1b64f8(0x1c8)]=_0x34ea60[0x0]&0xf,this[_0x1b64f8(0x208)]=_0x34ea60[0x1]&0x7f,this['_opcode']===0x0){if(_0x1300de){const _0x6b4841=this[_0x1b64f8(0x226)](RangeError,_0x1b64f8(0x229),!0x0,0x3ea,_0x1b64f8(0x216));_0xc1232c(_0x6b4841);return;}if(!this[_0x1b64f8(0x2b3)]){const _0x450529=this[_0x1b64f8(0x226)](RangeError,'invalid\x20opcode\x200',!0x0,0x3ea,_0x1b64f8(0x14c));_0xc1232c(_0x450529);return;}this['_opcode']=this['_fragmented'];}else{if(this[_0x1b64f8(0x1c8)]===0x1||this[_0x1b64f8(0x1c8)]===0x2){if(this['_fragmented']){const _0x545055=this[_0x1b64f8(0x226)](RangeError,_0x1b64f8(0x24c)+this[_0x1b64f8(0x1c8)],!0x0,0x3ea,_0x1b64f8(0x14c));_0xc1232c(_0x545055);return;}this[_0x1b64f8(0x18d)]=_0x1300de;}else{if(this[_0x1b64f8(0x1c8)]>0x7&&this[_0x1b64f8(0x1c8)]<0xb){if(!this[_0x1b64f8(0x173)]){const _0x4e4500=this['createError'](RangeError,_0x1b64f8(0x19f),!0x0,0x3ea,_0x1b64f8(0x15c));_0xc1232c(_0x4e4500);return;}if(_0x1300de){const _0x551ad1=this[_0x1b64f8(0x226)](RangeError,_0x1b64f8(0x229),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0xc1232c(_0x551ad1);return;}if(this[_0x1b64f8(0x208)]>0x7d||this[_0x1b64f8(0x1c8)]===0x8&&this[_0x1b64f8(0x208)]===0x1){const _0x5c76ee=this['createError'](RangeError,_0x1b64f8(0x13a)+this['_payloadLength'],!0x0,0x3ea,'WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH');_0xc1232c(_0x5c76ee);return;}}else{const _0x17146e=this[_0x1b64f8(0x226)](RangeError,_0x1b64f8(0x24c)+this[_0x1b64f8(0x1c8)],!0x0,0x3ea,_0x1b64f8(0x14c));_0xc1232c(_0x17146e);return;}}}if(!this[_0x1b64f8(0x173)]&&!this[_0x1b64f8(0x2b3)]&&(this[_0x1b64f8(0x2b3)]=this[_0x1b64f8(0x1c8)]),this['_masked']=(_0x34ea60[0x1]&0x80)===0x80,this[_0x1b64f8(0x2ae)]){if(!this[_0x1b64f8(0x21d)]){const _0x16503b=this[_0x1b64f8(0x226)](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,_0x1b64f8(0x2b4));_0xc1232c(_0x16503b);return;}}else{if(this[_0x1b64f8(0x21d)]){const _0x1e8218=this['createError'](RangeError,_0x1b64f8(0x2a5),!0x0,0x3ea,_0x1b64f8(0x154));_0xc1232c(_0x1e8218);return;}}this[_0x1b64f8(0x208)]===0x7e?this[_0x1b64f8(0x28a)]=_0x351e76:this[_0x1b64f8(0x208)]===0x7f?this[_0x1b64f8(0x28a)]=_0x1aa752:this[_0x1b64f8(0x258)](_0xc1232c);}[_0x1c7c82(0x215)](_0x2d15d6){const _0xa81e70=_0x1c7c82;if(this[_0xa81e70(0x2da)]<0x2){this[_0xa81e70(0x14d)]=!0x1;return;}this[_0xa81e70(0x208)]=this['consume'](0x2)[_0xa81e70(0x243)](0x0),this['haveLength'](_0x2d15d6);}[_0x1c7c82(0x1b6)](_0x261fa1){const _0x38bd4d=_0x1c7c82;if(this['_bufferedBytes']<0x8){this['_loop']=!0x1;return;}const _0x35896f=this[_0x38bd4d(0x14b)](0x8),_0x48e413=_0x35896f[_0x38bd4d(0x29e)](0x0);if(_0x48e413>Math[_0x38bd4d(0x18c)](0x2,0x15)-0x1){const _0x26e036=this['createError'](RangeError,_0x38bd4d(0x279),!0x1,0x3f1,_0x38bd4d(0x231));_0x261fa1(_0x26e036);return;}this[_0x38bd4d(0x208)]=_0x48e413*Math[_0x38bd4d(0x18c)](0x2,0x20)+_0x35896f[_0x38bd4d(0x29e)](0x4),this[_0x38bd4d(0x258)](_0x261fa1);}[_0x1c7c82(0x258)](_0x23818e){const _0x111af2=_0x1c7c82;if(this[_0x111af2(0x208)]&&this[_0x111af2(0x1c8)]<0x8&&(this[_0x111af2(0x2d6)]+=this[_0x111af2(0x208)],this[_0x111af2(0x2d6)]>this[_0x111af2(0x25f)]&&this[_0x111af2(0x25f)]>0x0)){const _0x59d704=this[_0x111af2(0x226)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x111af2(0x2c4));_0x23818e(_0x59d704);return;}this['_masked']?this[_0x111af2(0x28a)]=_0x32c5db:this['_state']=_0x28657d;}[_0x1c7c82(0x1be)](){const _0x20bf73=_0x1c7c82;if(this[_0x20bf73(0x2da)]<0x4){this[_0x20bf73(0x14d)]=!0x1;return;}this[_0x20bf73(0x142)]=this['consume'](0x4),this[_0x20bf73(0x28a)]=_0x28657d;}[_0x1c7c82(0x1c6)](_0x2ba39a){const _0x2db00c=_0x1c7c82;let _0x8edfac=_0x53bf40;if(this[_0x2db00c(0x208)]){if(this['_bufferedBytes']<this[_0x2db00c(0x208)]){this['_loop']=!0x1;return;}_0x8edfac=this['consume'](this[_0x2db00c(0x208)]),this[_0x2db00c(0x21d)]&&(this['_mask'][0x0]|this[_0x2db00c(0x142)][0x1]|this[_0x2db00c(0x142)][0x2]|this[_0x2db00c(0x142)][0x3])!==0x0&&_0x3312f4(_0x8edfac,this['_mask']);}if(this[_0x2db00c(0x1c8)]>0x7){this[_0x2db00c(0x21b)](_0x8edfac,_0x2ba39a);return;}if(this[_0x2db00c(0x18d)]){this[_0x2db00c(0x28a)]=_0x2c2f99,this[_0x2db00c(0x21c)](_0x8edfac,_0x2ba39a);return;}_0x8edfac[_0x2db00c(0x17e)]&&(this[_0x2db00c(0x273)]=this[_0x2db00c(0x2d6)],this[_0x2db00c(0x18a)]['push'](_0x8edfac)),this[_0x2db00c(0x24a)](_0x2ba39a);}[_0x1c7c82(0x21c)](_0x3290f4,_0x5160b5){const _0x37f5c0=_0x1c7c82;this[_0x37f5c0(0x21e)][_0x589e7a['extensionName']][_0x37f5c0(0x21c)](_0x3290f4,this[_0x37f5c0(0x173)],(_0x2bb8da,_0x5da0d2)=>{const _0x2431ba=_0x37f5c0;if(_0x2bb8da)return _0x5160b5(_0x2bb8da);if(_0x5da0d2[_0x2431ba(0x17e)]){if(this[_0x2431ba(0x273)]+=_0x5da0d2[_0x2431ba(0x17e)],this[_0x2431ba(0x273)]>this[_0x2431ba(0x25f)]&&this[_0x2431ba(0x25f)]>0x0){const _0x253b1e=this[_0x2431ba(0x226)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x2431ba(0x2c4));_0x5160b5(_0x253b1e);return;}this['_fragments'][_0x2431ba(0x20a)](_0x5da0d2);}this['dataMessage'](_0x5160b5),this[_0x2431ba(0x28a)]===_0x747912&&this[_0x2431ba(0x2d8)](_0x5160b5);});}[_0x1c7c82(0x24a)](_0x518c43){const _0x500f83=_0x1c7c82;if(!this[_0x500f83(0x173)]){this[_0x500f83(0x28a)]=_0x747912;return;}const _0x1795ab=this[_0x500f83(0x273)],_0x5169c0=this[_0x500f83(0x18a)];if(this[_0x500f83(0x2d6)]=0x0,this[_0x500f83(0x273)]=0x0,this[_0x500f83(0x2b3)]=0x0,this[_0x500f83(0x18a)]=[],this['_opcode']===0x2){let _0x4af3d0;this[_0x500f83(0x1f9)]==='nodebuffer'?_0x4af3d0=_0x2a6b53(_0x5169c0,_0x1795ab):this[_0x500f83(0x1f9)]===_0x500f83(0x204)?_0x4af3d0=_0x2b5605(_0x2a6b53(_0x5169c0,_0x1795ab)):this[_0x500f83(0x1f9)]===_0x500f83(0x150)?_0x4af3d0=new Blob(_0x5169c0):_0x4af3d0=_0x5169c0,this[_0x500f83(0x263)]?(this[_0x500f83(0x1d9)](_0x500f83(0x2b5),_0x4af3d0,!0x0),this[_0x500f83(0x28a)]=_0x747912):(this[_0x500f83(0x28a)]=_0xdd0e18,setImmediate(()=>{const _0x51d0ca=_0x500f83;this['emit'](_0x51d0ca(0x2b5),_0x4af3d0,!0x0),this['_state']=_0x747912,this[_0x51d0ca(0x2d8)](_0x518c43);}));}else{const _0x4e389e=_0x2a6b53(_0x5169c0,_0x1795ab);if(!this[_0x500f83(0x161)]&&!_0x51ddc7(_0x4e389e)){const _0x4cd492=this['createError'](Error,_0x500f83(0x1ed),!0x0,0x3ef,_0x500f83(0x264));_0x518c43(_0x4cd492);return;}this['_state']===_0x2c2f99||this[_0x500f83(0x263)]?(this['emit'](_0x500f83(0x2b5),_0x4e389e,!0x1),this[_0x500f83(0x28a)]=_0x747912):(this['_state']=_0xdd0e18,setImmediate(()=>{const _0x11ee8d=_0x500f83;this[_0x11ee8d(0x1d9)](_0x11ee8d(0x2b5),_0x4e389e,!0x1),this[_0x11ee8d(0x28a)]=_0x747912,this[_0x11ee8d(0x2d8)](_0x518c43);}));}}['controlMessage'](_0x2e846e,_0x730a11){const _0x2ea153=_0x1c7c82;if(this['_opcode']===0x8){if(_0x2e846e[_0x2ea153(0x17e)]===0x0)this[_0x2ea153(0x14d)]=!0x1,this[_0x2ea153(0x1d9)](_0x2ea153(0x25b),0x3ed,_0x53bf40),this[_0x2ea153(0x29c)]();else{const _0x548631=_0x2e846e[_0x2ea153(0x243)](0x0);if(!_0x58a187(_0x548631)){const _0x3c5b54=this[_0x2ea153(0x226)](RangeError,_0x2ea153(0x277)+_0x548631,!0x0,0x3ea,_0x2ea153(0x1c7));_0x730a11(_0x3c5b54);return;}const _0x22171f=new _0x34b87b(_0x2e846e[_0x2ea153(0x189)],_0x2e846e['byteOffset']+0x2,_0x2e846e[_0x2ea153(0x17e)]-0x2);if(!this['_skipUTF8Validation']&&!_0x51ddc7(_0x22171f)){const _0x5af984=this['createError'](Error,_0x2ea153(0x1ed),!0x0,0x3ef,_0x2ea153(0x264));_0x730a11(_0x5af984);return;}this[_0x2ea153(0x14d)]=!0x1,this['emit'](_0x2ea153(0x25b),_0x548631,_0x22171f),this[_0x2ea153(0x29c)]();}this[_0x2ea153(0x28a)]=_0x747912;return;}this['_allowSynchronousEvents']?(this[_0x2ea153(0x1d9)](this[_0x2ea153(0x1c8)]===0x9?_0x2ea153(0x255):'pong',_0x2e846e),this[_0x2ea153(0x28a)]=_0x747912):(this[_0x2ea153(0x28a)]=_0xdd0e18,setImmediate(()=>{const _0x27b703=_0x2ea153;this[_0x27b703(0x1d9)](this['_opcode']===0x9?'ping':'pong',_0x2e846e),this[_0x27b703(0x28a)]=_0x747912,this[_0x27b703(0x2d8)](_0x730a11);}));}['createError'](_0x132d1e,_0x1ea475,_0x3187c1,_0x1dba9c,_0x51141e){const _0x2a0f5c=_0x1c7c82;this['_loop']=!0x1,this[_0x2a0f5c(0x2e7)]=!0x0;const _0x5878cd=new _0x132d1e(_0x3187c1?'Invalid\x20WebSocket\x20frame:\x20'+_0x1ea475:_0x1ea475);return Error[_0x2a0f5c(0x147)](_0x5878cd,this[_0x2a0f5c(0x226)]),_0x5878cd[_0x2a0f5c(0x265)]=_0x51141e,_0x5878cd[_0x276ee3]=_0x1dba9c,_0x5878cd;}}return Se=_0x4e8f4f,Se;}var Ee,et;function _t(){const _0x2f2a75=_0xf7eb09;if(et)return Ee;et=0x1;const {Duplex:_0x584426}=_0x1c53b5,{randomFillSync:_0x28ccfa}=_0x18e394,_0xf7f8fe=he(),{EMPTY_BUFFER:_0x31bff7,kWebSocket:_0x45163d,NOOP:_0x3ed7b9}=V(),{isBlob:_0x59d354,isValidStatusCode:_0x333b28}=ne(),{mask:_0xaa3e5,toBuffer:_0x3e9050}=ce(),_0x2528f1=Symbol(_0x2f2a75(0x23e)),_0x36505b=Buffer[_0x2f2a75(0x2c9)](0x4),_0x5ec8ec=0x8*0x400;let _0x2166c7,_0x5abf09=_0x5ec8ec;const _0x40ce53=0x0,_0x59c594=0x1,_0x49a29e=0x2;class _0x107908{constructor(_0x272361,_0x2a0928,_0x361ba0){const _0x10c9a4=_0x2f2a75;this['_extensions']=_0x2a0928||{},_0x361ba0&&(this[_0x10c9a4(0x175)]=_0x361ba0,this[_0x10c9a4(0x162)]=Buffer[_0x10c9a4(0x2c9)](0x4)),this['_socket']=_0x272361,this[_0x10c9a4(0x2b9)]=!0x0,this['_compress']=!0x1,this[_0x10c9a4(0x2da)]=0x0,this[_0x10c9a4(0x2be)]=[],this[_0x10c9a4(0x28a)]=_0x40ce53,this[_0x10c9a4(0x20d)]=_0x3ed7b9,this[_0x45163d]=void 0x0;}static['frame'](_0x12f1f1,_0x11431d){const _0x295ef1=_0x2f2a75;let _0x162648,_0x3f84c6=!0x1,_0x340ba8=0x2,_0x549a16=!0x1;_0x11431d[_0x295ef1(0x169)]&&(_0x162648=_0x11431d['maskBuffer']||_0x36505b,_0x11431d[_0x295ef1(0x20f)]?_0x11431d['generateMask'](_0x162648):(_0x5abf09===_0x5ec8ec&&(_0x2166c7===void 0x0&&(_0x2166c7=Buffer[_0x295ef1(0x2c9)](_0x5ec8ec)),_0x28ccfa(_0x2166c7,0x0,_0x5ec8ec),_0x5abf09=0x0),_0x162648[0x0]=_0x2166c7[_0x5abf09++],_0x162648[0x1]=_0x2166c7[_0x5abf09++],_0x162648[0x2]=_0x2166c7[_0x5abf09++],_0x162648[0x3]=_0x2166c7[_0x5abf09++]),_0x549a16=(_0x162648[0x0]|_0x162648[0x1]|_0x162648[0x2]|_0x162648[0x3])===0x0,_0x340ba8=0x6);let _0x33ee78;typeof _0x12f1f1==_0x295ef1(0x221)?(!_0x11431d[_0x295ef1(0x169)]||_0x549a16)&&_0x11431d[_0x2528f1]!==void 0x0?_0x33ee78=_0x11431d[_0x2528f1]:(_0x12f1f1=Buffer['from'](_0x12f1f1),_0x33ee78=_0x12f1f1['length']):(_0x33ee78=_0x12f1f1[_0x295ef1(0x17e)],_0x3f84c6=_0x11431d[_0x295ef1(0x169)]&&_0x11431d[_0x295ef1(0x252)]&&!_0x549a16);let _0x662dc=_0x33ee78;_0x33ee78>=0x10000?(_0x340ba8+=0x8,_0x662dc=0x7f):_0x33ee78>0x7d&&(_0x340ba8+=0x2,_0x662dc=0x7e);const _0x396991=Buffer[_0x295ef1(0x1ee)](_0x3f84c6?_0x33ee78+_0x340ba8:_0x340ba8);return _0x396991[0x0]=_0x11431d['fin']?_0x11431d['opcode']|0x80:_0x11431d['opcode'],_0x11431d['rsv1']&&(_0x396991[0x0]|=0x40),_0x396991[0x1]=_0x662dc,_0x662dc===0x7e?_0x396991[_0x295ef1(0x240)](_0x33ee78,0x2):_0x662dc===0x7f&&(_0x396991[0x2]=_0x396991[0x3]=0x0,_0x396991[_0x295ef1(0x2e2)](_0x33ee78,0x4,0x6)),_0x11431d[_0x295ef1(0x169)]?(_0x396991[0x1]|=0x80,_0x396991[_0x340ba8-0x4]=_0x162648[0x0],_0x396991[_0x340ba8-0x3]=_0x162648[0x1],_0x396991[_0x340ba8-0x2]=_0x162648[0x2],_0x396991[_0x340ba8-0x1]=_0x162648[0x3],_0x549a16?[_0x396991,_0x12f1f1]:_0x3f84c6?(_0xaa3e5(_0x12f1f1,_0x162648,_0x396991,_0x340ba8,_0x33ee78),[_0x396991]):(_0xaa3e5(_0x12f1f1,_0x162648,_0x12f1f1,0x0,_0x33ee78),[_0x396991,_0x12f1f1])):[_0x396991,_0x12f1f1];}[_0x2f2a75(0x290)](_0x16f754,_0x3d5679,_0x2c71f5,_0x34719b){const _0x2ec501=_0x2f2a75;let _0xfe195;if(_0x16f754===void 0x0)_0xfe195=_0x31bff7;else{if(typeof _0x16f754!=_0x2ec501(0x1cd)||!_0x333b28(_0x16f754))throw new TypeError(_0x2ec501(0x201));if(_0x3d5679===void 0x0||!_0x3d5679[_0x2ec501(0x17e)])_0xfe195=Buffer[_0x2ec501(0x1ee)](0x2),_0xfe195[_0x2ec501(0x240)](_0x16f754,0x0);else{const _0x485a96=Buffer['byteLength'](_0x3d5679);if(_0x485a96>0x7b)throw new RangeError(_0x2ec501(0x26a));_0xfe195=Buffer[_0x2ec501(0x1ee)](0x2+_0x485a96),_0xfe195[_0x2ec501(0x240)](_0x16f754,0x0),typeof _0x3d5679==_0x2ec501(0x221)?_0xfe195[_0x2ec501(0x19b)](_0x3d5679,0x2):_0xfe195['set'](_0x3d5679,0x2);}}const _0x30b6f3={[_0x2528f1]:_0xfe195['length'],'fin':!0x0,'generateMask':this[_0x2ec501(0x175)],'mask':_0x2c71f5,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x2ec501(0x28a)]!==_0x40ce53?this['enqueue']([this[_0x2ec501(0x251)],_0xfe195,!0x1,_0x30b6f3,_0x34719b]):this['sendFrame'](_0x107908[_0x2ec501(0x293)](_0xfe195,_0x30b6f3),_0x34719b);}[_0x2f2a75(0x255)](_0x5521ea,_0x484312,_0x3f7d9d){const _0x3c3a1f=_0x2f2a75;let _0x1ebc44,_0x316f46;if(typeof _0x5521ea==_0x3c3a1f(0x221)?(_0x1ebc44=Buffer[_0x3c3a1f(0x16f)](_0x5521ea),_0x316f46=!0x1):_0x59d354(_0x5521ea)?(_0x1ebc44=_0x5521ea[_0x3c3a1f(0x1a5)],_0x316f46=!0x1):(_0x5521ea=_0x3e9050(_0x5521ea),_0x1ebc44=_0x5521ea[_0x3c3a1f(0x17e)],_0x316f46=_0x3e9050['readOnly']),_0x1ebc44>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x12bb24={[_0x2528f1]:_0x1ebc44,'fin':!0x0,'generateMask':this[_0x3c3a1f(0x175)],'mask':_0x484312,'maskBuffer':this[_0x3c3a1f(0x162)],'opcode':0x9,'readOnly':_0x316f46,'rsv1':!0x1};_0x59d354(_0x5521ea)?this['_state']!==_0x40ce53?this[_0x3c3a1f(0x1d0)]([this[_0x3c3a1f(0x1c5)],_0x5521ea,!0x1,_0x12bb24,_0x3f7d9d]):this[_0x3c3a1f(0x1c5)](_0x5521ea,!0x1,_0x12bb24,_0x3f7d9d):this[_0x3c3a1f(0x28a)]!==_0x40ce53?this['enqueue']([this[_0x3c3a1f(0x251)],_0x5521ea,!0x1,_0x12bb24,_0x3f7d9d]):this[_0x3c3a1f(0x1a0)](_0x107908[_0x3c3a1f(0x293)](_0x5521ea,_0x12bb24),_0x3f7d9d);}[_0x2f2a75(0x158)](_0x10e6cd,_0x5cbfd9,_0x5027fc){const _0x40f0bf=_0x2f2a75;let _0x20e571,_0x5a1bea;if(typeof _0x10e6cd==_0x40f0bf(0x221)?(_0x20e571=Buffer['byteLength'](_0x10e6cd),_0x5a1bea=!0x1):_0x59d354(_0x10e6cd)?(_0x20e571=_0x10e6cd[_0x40f0bf(0x1a5)],_0x5a1bea=!0x1):(_0x10e6cd=_0x3e9050(_0x10e6cd),_0x20e571=_0x10e6cd[_0x40f0bf(0x17e)],_0x5a1bea=_0x3e9050[_0x40f0bf(0x252)]),_0x20e571>0x7d)throw new RangeError(_0x40f0bf(0x1c2));const _0x3f081c={[_0x2528f1]:_0x20e571,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x5cbfd9,'maskBuffer':this[_0x40f0bf(0x162)],'opcode':0xa,'readOnly':_0x5a1bea,'rsv1':!0x1};_0x59d354(_0x10e6cd)?this[_0x40f0bf(0x28a)]!==_0x40ce53?this[_0x40f0bf(0x1d0)]([this[_0x40f0bf(0x1c5)],_0x10e6cd,!0x1,_0x3f081c,_0x5027fc]):this[_0x40f0bf(0x1c5)](_0x10e6cd,!0x1,_0x3f081c,_0x5027fc):this['_state']!==_0x40ce53?this['enqueue']([this[_0x40f0bf(0x251)],_0x10e6cd,!0x1,_0x3f081c,_0x5027fc]):this[_0x40f0bf(0x1a0)](_0x107908[_0x40f0bf(0x293)](_0x10e6cd,_0x3f081c),_0x5027fc);}[_0x2f2a75(0x184)](_0x4a6845,_0x529613,_0x155df7){const _0x443bc2=_0x2f2a75,_0x5ba987=this[_0x443bc2(0x21e)][_0xf7f8fe[_0x443bc2(0x15a)]];let _0x5757d1=_0x529613[_0x443bc2(0x1df)]?0x2:0x1,_0x314f5a=_0x529613['compress'],_0x1e6d2e,_0x334047;typeof _0x4a6845==_0x443bc2(0x221)?(_0x1e6d2e=Buffer[_0x443bc2(0x16f)](_0x4a6845),_0x334047=!0x1):_0x59d354(_0x4a6845)?(_0x1e6d2e=_0x4a6845[_0x443bc2(0x1a5)],_0x334047=!0x1):(_0x4a6845=_0x3e9050(_0x4a6845),_0x1e6d2e=_0x4a6845[_0x443bc2(0x17e)],_0x334047=_0x3e9050[_0x443bc2(0x252)]),this[_0x443bc2(0x2b9)]?(this[_0x443bc2(0x2b9)]=!0x1,_0x314f5a&&_0x5ba987&&_0x5ba987[_0x443bc2(0x198)][_0x5ba987[_0x443bc2(0x2ae)]?_0x443bc2(0x13e):_0x443bc2(0x209)]&&(_0x314f5a=_0x1e6d2e>=_0x5ba987[_0x443bc2(0x1bc)]),this['_compress']=_0x314f5a):(_0x314f5a=!0x1,_0x5757d1=0x0),_0x529613[_0x443bc2(0x1de)]&&(this[_0x443bc2(0x2b9)]=!0x0);const _0x516b3a={[_0x2528f1]:_0x1e6d2e,'fin':_0x529613[_0x443bc2(0x1de)],'generateMask':this[_0x443bc2(0x175)],'mask':_0x529613['mask'],'maskBuffer':this[_0x443bc2(0x162)],'opcode':_0x5757d1,'readOnly':_0x334047,'rsv1':_0x314f5a};_0x59d354(_0x4a6845)?this['_state']!==_0x40ce53?this[_0x443bc2(0x1d0)]([this['getBlobData'],_0x4a6845,this[_0x443bc2(0x2de)],_0x516b3a,_0x155df7]):this[_0x443bc2(0x1c5)](_0x4a6845,this[_0x443bc2(0x2de)],_0x516b3a,_0x155df7):this[_0x443bc2(0x28a)]!==_0x40ce53?this[_0x443bc2(0x1d0)]([this[_0x443bc2(0x251)],_0x4a6845,this['_compress'],_0x516b3a,_0x155df7]):this[_0x443bc2(0x251)](_0x4a6845,this['_compress'],_0x516b3a,_0x155df7);}[_0x2f2a75(0x1c5)](_0x198ab8,_0x37a1e7,_0x269897,_0x2f3ef4){const _0x3e3ff3=_0x2f2a75;this[_0x3e3ff3(0x2da)]+=_0x269897[_0x2528f1],this[_0x3e3ff3(0x28a)]=_0x49a29e,_0x198ab8[_0x3e3ff3(0x2a7)]()[_0x3e3ff3(0x160)](_0x442a06=>{const _0x58639d=_0x3e3ff3;if(this[_0x58639d(0x257)]['destroyed']){const _0x1fac1d=new Error(_0x58639d(0x296));process['nextTick'](_0x121a6f,this,_0x1fac1d,_0x2f3ef4);return;}this['_bufferedBytes']-=_0x269897[_0x2528f1];const _0x3b9981=_0x3e9050(_0x442a06);_0x37a1e7?this[_0x58639d(0x251)](_0x3b9981,_0x37a1e7,_0x269897,_0x2f3ef4):(this[_0x58639d(0x28a)]=_0x40ce53,this[_0x58639d(0x1a0)](_0x107908[_0x58639d(0x293)](_0x3b9981,_0x269897),_0x2f3ef4),this[_0x58639d(0x20e)]());})[_0x3e3ff3(0x194)](_0x4d49e6=>{const _0x2f5d19=_0x3e3ff3;process[_0x2f5d19(0x1dd)](_0x580b6c,this,_0x4d49e6,_0x2f3ef4);});}[_0x2f2a75(0x251)](_0x4d4a0c,_0x43366c,_0x2520e9,_0x41be5f){const _0x14ae06=_0x2f2a75;if(!_0x43366c){this[_0x14ae06(0x1a0)](_0x107908[_0x14ae06(0x293)](_0x4d4a0c,_0x2520e9),_0x41be5f);return;}const _0x444184=this['_extensions'][_0xf7f8fe[_0x14ae06(0x15a)]];this['_bufferedBytes']+=_0x2520e9[_0x2528f1],this['_state']=_0x59c594,_0x444184[_0x14ae06(0x1c9)](_0x4d4a0c,_0x2520e9[_0x14ae06(0x1de)],(_0x3deb5c,_0x178801)=>{const _0x1f8ede=_0x14ae06;if(this[_0x1f8ede(0x257)]['destroyed']){const _0x12b815=new Error(_0x1f8ede(0x26d));_0x121a6f(this,_0x12b815,_0x41be5f);return;}this[_0x1f8ede(0x2da)]-=_0x2520e9[_0x2528f1],this['_state']=_0x40ce53,_0x2520e9[_0x1f8ede(0x252)]=!0x1,this[_0x1f8ede(0x1a0)](_0x107908[_0x1f8ede(0x293)](_0x178801,_0x2520e9),_0x41be5f),this['dequeue']();});}[_0x2f2a75(0x20e)](){const _0x4959a3=_0x2f2a75;for(;this[_0x4959a3(0x28a)]===_0x40ce53&&this[_0x4959a3(0x2be)][_0x4959a3(0x17e)];){const _0x300f0d=this[_0x4959a3(0x2be)][_0x4959a3(0x183)]();this[_0x4959a3(0x2da)]-=_0x300f0d[0x3][_0x2528f1],Reflect['apply'](_0x300f0d[0x0],this,_0x300f0d['slice'](0x1));}}[_0x2f2a75(0x1d0)](_0xdc4a2a){const _0x277011=_0x2f2a75;this['_bufferedBytes']+=_0xdc4a2a[0x3][_0x2528f1],this[_0x277011(0x2be)][_0x277011(0x20a)](_0xdc4a2a);}[_0x2f2a75(0x1a0)](_0x9405e0,_0x96314f){const _0x1a3cd6=_0x2f2a75;_0x9405e0[_0x1a3cd6(0x17e)]===0x2?(this['_socket'][_0x1a3cd6(0x223)](),this['_socket']['write'](_0x9405e0[0x0]),this[_0x1a3cd6(0x257)][_0x1a3cd6(0x19b)](_0x9405e0[0x1],_0x96314f),this[_0x1a3cd6(0x257)][_0x1a3cd6(0x27d)]()):this['_socket'][_0x1a3cd6(0x19b)](_0x9405e0[0x0],_0x96314f);}}Ee=_0x107908;function _0x121a6f(_0x32a661,_0x57e829,_0x3c5187){const _0x3c7939=_0x2f2a75;typeof _0x3c5187==_0x3c7939(0x22e)&&_0x3c5187(_0x57e829);for(let _0x49902f=0x0;_0x49902f<_0x32a661[_0x3c7939(0x2be)][_0x3c7939(0x17e)];_0x49902f++){const _0x30a08f=_0x32a661[_0x3c7939(0x2be)][_0x49902f],_0x477bfd=_0x30a08f[_0x30a08f[_0x3c7939(0x17e)]-0x1];typeof _0x477bfd==_0x3c7939(0x22e)&&_0x477bfd(_0x57e829);}}function _0x580b6c(_0x3e5b12,_0x19eef8,_0x4bdca2){const _0x1232e7=_0x2f2a75;_0x121a6f(_0x3e5b12,_0x19eef8,_0x4bdca2),_0x3e5b12[_0x1232e7(0x20d)](_0x19eef8);}return Ee;}var xe,tt;function Kt(){const _0x77d343=_0xf7eb09;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x1b11eb,kListener:_0x4629ac}=V(),_0x41e939=Symbol('kCode'),_0x1034c7=Symbol(_0x77d343(0x1f0)),_0x1adb4e=Symbol(_0x77d343(0x1b8)),_0xed683e=Symbol(_0x77d343(0x2b8)),_0x9ffacf=Symbol(_0x77d343(0x1e7)),_0x318e7e=Symbol(_0x77d343(0x1ff)),_0x435175=Symbol(_0x77d343(0x199)),_0x3f5564=Symbol(_0x77d343(0x26e));class _0x1012fa{constructor(_0x2936ae){this[_0x318e7e]=null,this[_0x435175]=_0x2936ae;}get[_0x77d343(0x1d8)](){return this[_0x318e7e];}get['type'](){return this[_0x435175];}}Object[_0x77d343(0x239)](_0x1012fa[_0x77d343(0x218)],_0x77d343(0x1d8),{'enumerable':!0x0}),Object[_0x77d343(0x239)](_0x1012fa[_0x77d343(0x218)],'type',{'enumerable':!0x0});class _0xb606fd extends _0x1012fa{constructor(_0x2dd851,_0x5ed09e={}){const _0x57ddcc=_0x77d343;super(_0x2dd851),this[_0x41e939]=_0x5ed09e[_0x57ddcc(0x265)]===void 0x0?0x0:_0x5ed09e[_0x57ddcc(0x265)],this[_0x9ffacf]=_0x5ed09e[_0x57ddcc(0x2cd)]===void 0x0?'':_0x5ed09e[_0x57ddcc(0x2cd)],this[_0x3f5564]=_0x5ed09e[_0x57ddcc(0x17b)]===void 0x0?!0x1:_0x5ed09e[_0x57ddcc(0x17b)];}get[_0x77d343(0x265)](){return this[_0x41e939];}get[_0x77d343(0x2cd)](){return this[_0x9ffacf];}get['wasClean'](){return this[_0x3f5564];}}Object[_0x77d343(0x239)](_0xb606fd['prototype'],_0x77d343(0x265),{'enumerable':!0x0}),Object[_0x77d343(0x239)](_0xb606fd[_0x77d343(0x218)],_0x77d343(0x2cd),{'enumerable':!0x0}),Object[_0x77d343(0x239)](_0xb606fd[_0x77d343(0x218)],'wasClean',{'enumerable':!0x0});class _0x2aea3a extends _0x1012fa{constructor(_0x4cb577,_0xca5633={}){const _0x46fdeb=_0x77d343;super(_0x4cb577),this[_0x1adb4e]=_0xca5633[_0x46fdeb(0x2d9)]===void 0x0?null:_0xca5633[_0x46fdeb(0x2d9)],this[_0xed683e]=_0xca5633[_0x46fdeb(0x2b5)]===void 0x0?'':_0xca5633[_0x46fdeb(0x2b5)];}get[_0x77d343(0x2d9)](){return this[_0x1adb4e];}get['message'](){return this[_0xed683e];}}Object['defineProperty'](_0x2aea3a['prototype'],_0x77d343(0x2d9),{'enumerable':!0x0}),Object[_0x77d343(0x239)](_0x2aea3a[_0x77d343(0x218)],_0x77d343(0x2b5),{'enumerable':!0x0});class _0x38cde5 extends _0x1012fa{constructor(_0x69db8c,_0x58a965={}){const _0x4c8301=_0x77d343;super(_0x69db8c),this[_0x1034c7]=_0x58a965[_0x4c8301(0x213)]===void 0x0?null:_0x58a965['data'];}get[_0x77d343(0x213)](){return this[_0x1034c7];}}Object[_0x77d343(0x239)](_0x38cde5[_0x77d343(0x218)],'data',{'enumerable':!0x0}),xe={'CloseEvent':_0xb606fd,'ErrorEvent':_0x2aea3a,'Event':_0x1012fa,'EventTarget':{'addEventListener'(_0x5af95b,_0x1711b4,_0xf418c6={}){const _0x44149d=_0x77d343;for(const _0x4ef3fd of this['listeners'](_0x5af95b))if(!_0xf418c6[_0x1b11eb]&&_0x4ef3fd[_0x4629ac]===_0x1711b4&&!_0x4ef3fd[_0x1b11eb])return;let _0x3f79dd;if(_0x5af95b==='message')_0x3f79dd=function(_0x3be530,_0x48c4c6){const _0x425c0c=_0x2a36,_0xd92f55=new _0x38cde5(_0x425c0c(0x2b5),{'data':_0x48c4c6?_0x3be530:_0x3be530[_0x425c0c(0x1a8)]()});_0xd92f55[_0x318e7e]=this,_0x1ae3d9(_0x1711b4,this,_0xd92f55);};else{if(_0x5af95b==='close')_0x3f79dd=function(_0x373400,_0x1a40a6){const _0x267bb5=_0x2a36,_0x259f51=new _0xb606fd(_0x267bb5(0x290),{'code':_0x373400,'reason':_0x1a40a6[_0x267bb5(0x1a8)](),'wasClean':this[_0x267bb5(0x233)]&&this[_0x267bb5(0x1b1)]});_0x259f51[_0x318e7e]=this,_0x1ae3d9(_0x1711b4,this,_0x259f51);};else{if(_0x5af95b===_0x44149d(0x2d9))_0x3f79dd=function(_0x464b1d){const _0x5f3c7d=new _0x2aea3a('error',{'error':_0x464b1d,'message':_0x464b1d['message']});_0x5f3c7d[_0x318e7e]=this,_0x1ae3d9(_0x1711b4,this,_0x5f3c7d);};else{if(_0x5af95b===_0x44149d(0x146))_0x3f79dd=function(){const _0x3112f6=_0x44149d,_0x414f8a=new _0x1012fa(_0x3112f6(0x146));_0x414f8a[_0x318e7e]=this,_0x1ae3d9(_0x1711b4,this,_0x414f8a);};else return;}}}_0x3f79dd[_0x1b11eb]=!!_0xf418c6[_0x1b11eb],_0x3f79dd[_0x4629ac]=_0x1711b4,_0xf418c6[_0x44149d(0x1aa)]?this[_0x44149d(0x1aa)](_0x5af95b,_0x3f79dd):this['on'](_0x5af95b,_0x3f79dd);},'removeEventListener'(_0x56cb3d,_0x495f94){const _0x57e0d6=_0x77d343;for(const _0xf4f33d of this[_0x57e0d6(0x1a1)](_0x56cb3d))if(_0xf4f33d[_0x4629ac]===_0x495f94&&!_0xf4f33d[_0x1b11eb]){this[_0x57e0d6(0x149)](_0x56cb3d,_0xf4f33d);break;}}},'MessageEvent':_0x38cde5};function _0x1ae3d9(_0x110f1b,_0xff2142,_0x52d8aa){const _0x268267=_0x77d343;typeof _0x110f1b==_0x268267(0x26b)&&_0x110f1b['handleEvent']?_0x110f1b[_0x268267(0x1fd)][_0x268267(0x2c0)](_0x110f1b,_0x52d8aa):_0x110f1b[_0x268267(0x2c0)](_0xff2142,_0x52d8aa);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x4bd381}=ne();function _0x382b27(_0xbeafc4,_0x1d24b5,_0x44b42b){_0xbeafc4[_0x1d24b5]===void 0x0?_0xbeafc4[_0x1d24b5]=[_0x44b42b]:_0xbeafc4[_0x1d24b5]['push'](_0x44b42b);}function _0x35d4f7(_0x46a57e){const _0x29af1c=_0x2a36,_0x379010=Object[_0x29af1c(0x1d6)](null);let _0x28d32a=Object[_0x29af1c(0x1d6)](null),_0x3c2992=!0x1,_0x2747d8=!0x1,_0x45b3d0=!0x1,_0x25aa60,_0x2222c2,_0x111552=-0x1,_0x5b9bdc=-0x1,_0x37dc95=-0x1,_0x4616e8=0x0;for(;_0x4616e8<_0x46a57e[_0x29af1c(0x17e)];_0x4616e8++)if(_0x5b9bdc=_0x46a57e[_0x29af1c(0x2c8)](_0x4616e8),_0x25aa60===void 0x0){if(_0x37dc95===-0x1&&_0x4bd381[_0x5b9bdc]===0x1)_0x111552===-0x1&&(_0x111552=_0x4616e8);else{if(_0x4616e8!==0x0&&(_0x5b9bdc===0x20||_0x5b9bdc===0x9))_0x37dc95===-0x1&&_0x111552!==-0x1&&(_0x37dc95=_0x4616e8);else{if(_0x5b9bdc===0x3b||_0x5b9bdc===0x2c){if(_0x111552===-0x1)throw new SyntaxError(_0x29af1c(0x1a3)+_0x4616e8);_0x37dc95===-0x1&&(_0x37dc95=_0x4616e8);const _0x32938b=_0x46a57e[_0x29af1c(0x217)](_0x111552,_0x37dc95);_0x5b9bdc===0x2c?(_0x382b27(_0x379010,_0x32938b,_0x28d32a),_0x28d32a=Object[_0x29af1c(0x1d6)](null)):_0x25aa60=_0x32938b,_0x111552=_0x37dc95=-0x1;}else throw new SyntaxError(_0x29af1c(0x1a3)+_0x4616e8);}}}else{if(_0x2222c2===void 0x0){if(_0x37dc95===-0x1&&_0x4bd381[_0x5b9bdc]===0x1)_0x111552===-0x1&&(_0x111552=_0x4616e8);else{if(_0x5b9bdc===0x20||_0x5b9bdc===0x9)_0x37dc95===-0x1&&_0x111552!==-0x1&&(_0x37dc95=_0x4616e8);else{if(_0x5b9bdc===0x3b||_0x5b9bdc===0x2c){if(_0x111552===-0x1)throw new SyntaxError(_0x29af1c(0x1a3)+_0x4616e8);_0x37dc95===-0x1&&(_0x37dc95=_0x4616e8),_0x382b27(_0x28d32a,_0x46a57e[_0x29af1c(0x217)](_0x111552,_0x37dc95),!0x0),_0x5b9bdc===0x2c&&(_0x382b27(_0x379010,_0x25aa60,_0x28d32a),_0x28d32a=Object['create'](null),_0x25aa60=void 0x0),_0x111552=_0x37dc95=-0x1;}else{if(_0x5b9bdc===0x3d&&_0x111552!==-0x1&&_0x37dc95===-0x1)_0x2222c2=_0x46a57e[_0x29af1c(0x217)](_0x111552,_0x4616e8),_0x111552=_0x37dc95=-0x1;else throw new SyntaxError(_0x29af1c(0x1a3)+_0x4616e8);}}}}else{if(_0x2747d8){if(_0x4bd381[_0x5b9bdc]!==0x1)throw new SyntaxError(_0x29af1c(0x1a3)+_0x4616e8);_0x111552===-0x1?_0x111552=_0x4616e8:_0x3c2992||(_0x3c2992=!0x0),_0x2747d8=!0x1;}else{if(_0x45b3d0){if(_0x4bd381[_0x5b9bdc]===0x1)_0x111552===-0x1&&(_0x111552=_0x4616e8);else{if(_0x5b9bdc===0x22&&_0x111552!==-0x1)_0x45b3d0=!0x1,_0x37dc95=_0x4616e8;else{if(_0x5b9bdc===0x5c)_0x2747d8=!0x0;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x4616e8);}}}else{if(_0x5b9bdc===0x22&&_0x46a57e[_0x29af1c(0x2c8)](_0x4616e8-0x1)===0x3d)_0x45b3d0=!0x0;else{if(_0x37dc95===-0x1&&_0x4bd381[_0x5b9bdc]===0x1)_0x111552===-0x1&&(_0x111552=_0x4616e8);else{if(_0x111552!==-0x1&&(_0x5b9bdc===0x20||_0x5b9bdc===0x9))_0x37dc95===-0x1&&(_0x37dc95=_0x4616e8);else{if(_0x5b9bdc===0x3b||_0x5b9bdc===0x2c){if(_0x111552===-0x1)throw new SyntaxError(_0x29af1c(0x1a3)+_0x4616e8);_0x37dc95===-0x1&&(_0x37dc95=_0x4616e8);let _0x6425de=_0x46a57e[_0x29af1c(0x217)](_0x111552,_0x37dc95);_0x3c2992&&(_0x6425de=_0x6425de[_0x29af1c(0x22b)](/\\/g,''),_0x3c2992=!0x1),_0x382b27(_0x28d32a,_0x2222c2,_0x6425de),_0x5b9bdc===0x2c&&(_0x382b27(_0x379010,_0x25aa60,_0x28d32a),_0x28d32a=Object['create'](null),_0x25aa60=void 0x0),_0x2222c2=void 0x0,_0x111552=_0x37dc95=-0x1;}else throw new SyntaxError(_0x29af1c(0x1a3)+_0x4616e8);}}}}}}}if(_0x111552===-0x1||_0x45b3d0||_0x5b9bdc===0x20||_0x5b9bdc===0x9)throw new SyntaxError(_0x29af1c(0x246));_0x37dc95===-0x1&&(_0x37dc95=_0x4616e8);const _0x41ba90=_0x46a57e['slice'](_0x111552,_0x37dc95);return _0x25aa60===void 0x0?_0x382b27(_0x379010,_0x41ba90,_0x28d32a):(_0x2222c2===void 0x0?_0x382b27(_0x28d32a,_0x41ba90,!0x0):_0x3c2992?_0x382b27(_0x28d32a,_0x2222c2,_0x41ba90[_0x29af1c(0x22b)](/\\/g,'')):_0x382b27(_0x28d32a,_0x2222c2,_0x41ba90),_0x382b27(_0x379010,_0x25aa60,_0x28d32a)),_0x379010;}function _0x576673(_0x73042a){const _0x2ed709=_0x2a36;return Object[_0x2ed709(0x212)](_0x73042a)['map'](_0x5b4783=>{const _0x2df2d3=_0x2ed709;let _0x1d8dd3=_0x73042a[_0x5b4783];return Array['isArray'](_0x1d8dd3)||(_0x1d8dd3=[_0x1d8dd3]),_0x1d8dd3[_0x2df2d3(0x245)](_0x567e37=>[_0x5b4783][_0x2df2d3(0x1da)](Object[_0x2df2d3(0x212)](_0x567e37)[_0x2df2d3(0x245)](_0x4aa5d3=>{const _0x5b8010=_0x2df2d3;let _0x3ab38d=_0x567e37[_0x4aa5d3];return Array[_0x5b8010(0x2ad)](_0x3ab38d)||(_0x3ab38d=[_0x3ab38d]),_0x3ab38d[_0x5b8010(0x245)](_0x5f32d9=>_0x5f32d9===!0x0?_0x4aa5d3:_0x4aa5d3+'='+_0x5f32d9)['join'](';\x20');}))[_0x2df2d3(0x27f)](';\x20'))[_0x2df2d3(0x27f)](',\x20');})['join'](',\x20');}return be={'format':_0x576673,'parse':_0x35d4f7},be;}var we,st;function Ie(){const _0x4bad16=_0xf7eb09;if(st)return we;st=0x1;const _0x30b5da=_0x42d902,_0x4224d7=_0x4d87d3,_0x2a5e0b=_0x244b75,_0x5c240a=_0x5444d5,_0x34edae=_0x574d6b,{randomBytes:_0x3439e1,createHash:_0x40bd7f}=_0x18e394,{Duplex:_0x4ec647,Readable:_0x3b20a1}=_0x1c53b5,{URL:_0xb68b68}=_0x2bd41c,_0x31c4c9=he(),_0x355659=dt(),_0x5bac3b=_t(),{isBlob:_0x39d03b}=ne(),{BINARY_TYPES:_0x555036,EMPTY_BUFFER:_0x5e594d,GUID:_0x3ba165,kForOnEventAttribute:_0x3c9a83,kListener:_0x4fe9b6,kStatusCode:_0x2abfd1,kWebSocket:_0x1259e4,NOOP:_0x15a05a}=V(),{EventTarget:{addEventListener:_0x2a6db5,removeEventListener:_0x3c01c1}}=Kt(),{format:_0x1107c4,parse:_0x27fc6b}=pt(),{toBuffer:_0x7b3cd5}=ce(),_0x1f0aa7=0x1e*0x3e8,_0x20ce23=Symbol(_0x4bad16(0x1a7)),_0x169503=[0x8,0xd],_0x2206f2=[_0x4bad16(0x2b1),_0x4bad16(0x13d),_0x4bad16(0x1c3),_0x4bad16(0x254)],_0x2cab59=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x3f840 extends _0x30b5da{constructor(_0x1a6046,_0x3e0b67,_0x4f56a5){const _0x44a29c=_0x4bad16;super(),this[_0x44a29c(0x1f9)]=_0x555036[0x0],this['_closeCode']=0x3ee,this[_0x44a29c(0x233)]=!0x1,this[_0x44a29c(0x1b1)]=!0x1,this[_0x44a29c(0x2e1)]=_0x5e594d,this['_closeTimer']=null,this[_0x44a29c(0x291)]=!0x1,this[_0x44a29c(0x21e)]={},this[_0x44a29c(0x165)]=!0x1,this[_0x44a29c(0x16e)]='',this['_readyState']=_0x3f840[_0x44a29c(0x2b1)],this[_0x44a29c(0x2af)]=null,this[_0x44a29c(0x153)]=null,this[_0x44a29c(0x257)]=null,_0x1a6046!==null?(this[_0x44a29c(0x299)]=0x0,this['_isServer']=!0x1,this[_0x44a29c(0x168)]=0x0,_0x3e0b67===void 0x0?_0x3e0b67=[]:Array[_0x44a29c(0x2ad)](_0x3e0b67)||(typeof _0x3e0b67==_0x44a29c(0x26b)&&_0x3e0b67!==null?(_0x4f56a5=_0x3e0b67,_0x3e0b67=[]):_0x3e0b67=[_0x3e0b67]),_0x125401(this,_0x1a6046,_0x3e0b67,_0x4f56a5)):(this[_0x44a29c(0x1ef)]=_0x4f56a5[_0x44a29c(0x1f1)],this[_0x44a29c(0x2ae)]=!0x0);}get['binaryType'](){const _0x266bd7=_0x4bad16;return this[_0x266bd7(0x1f9)];}set[_0x4bad16(0x2b6)](_0x1770bb){const _0x438e98=_0x4bad16;_0x555036[_0x438e98(0x1ad)](_0x1770bb)&&(this['_binaryType']=_0x1770bb,this[_0x438e98(0x2af)]&&(this['_receiver'][_0x438e98(0x1f9)]=_0x1770bb));}get['bufferedAmount'](){const _0x169598=_0x4bad16;return this[_0x169598(0x257)]?this[_0x169598(0x257)][_0x169598(0x176)][_0x169598(0x17e)]+this[_0x169598(0x153)]['_bufferedBytes']:this['_bufferedAmount'];}get[_0x4bad16(0x288)](){const _0x3b7a7f=_0x4bad16;return Object['keys'](this[_0x3b7a7f(0x21e)])[_0x3b7a7f(0x27f)]();}get['isPaused'](){const _0x17adf4=_0x4bad16;return this[_0x17adf4(0x165)];}get[_0x4bad16(0x26f)](){return null;}get[_0x4bad16(0x20d)](){return null;}get['onopen'](){return null;}get['onmessage'](){return null;}get[_0x4bad16(0x29b)](){const _0x21c63f=_0x4bad16;return this[_0x21c63f(0x16e)];}get[_0x4bad16(0x170)](){return this['_readyState'];}get['url'](){const _0x148d32=_0x4bad16;return this[_0x148d32(0x2c2)];}['setSocket'](_0x39dbb2,_0x31b3dd,_0x5075f1){const _0xb5963f=_0x4bad16,_0x912ea2=new _0x355659({'allowSynchronousEvents':_0x5075f1['allowSynchronousEvents'],'binaryType':this[_0xb5963f(0x2b6)],'extensions':this[_0xb5963f(0x21e)],'isServer':this[_0xb5963f(0x2ae)],'maxPayload':_0x5075f1[_0xb5963f(0x191)],'skipUTF8Validation':_0x5075f1[_0xb5963f(0x2cf)]}),_0x4a765d=new _0x5bac3b(_0x39dbb2,this[_0xb5963f(0x21e)],_0x5075f1[_0xb5963f(0x20f)]);this[_0xb5963f(0x2af)]=_0x912ea2,this[_0xb5963f(0x153)]=_0x4a765d,this[_0xb5963f(0x257)]=_0x39dbb2,_0x912ea2[_0x1259e4]=this,_0x4a765d[_0x1259e4]=this,_0x39dbb2[_0x1259e4]=this,_0x912ea2['on'](_0xb5963f(0x25b),_0x4db9cd),_0x912ea2['on']('drain',_0x53a483),_0x912ea2['on'](_0xb5963f(0x2d9),_0x49ecee),_0x912ea2['on'](_0xb5963f(0x2b5),_0x4018e8),_0x912ea2['on'](_0xb5963f(0x255),_0x47ea2c),_0x912ea2['on'](_0xb5963f(0x158),_0x3321e8),_0x4a765d[_0xb5963f(0x20d)]=_0x1c3f0b,_0x39dbb2[_0xb5963f(0x2a2)]&&_0x39dbb2['setTimeout'](0x0),_0x39dbb2[_0xb5963f(0x211)]&&_0x39dbb2[_0xb5963f(0x211)](),_0x31b3dd[_0xb5963f(0x17e)]>0x0&&_0x39dbb2['unshift'](_0x31b3dd),_0x39dbb2['on']('close',_0x55f8fb),_0x39dbb2['on']('data',_0x2914ef),_0x39dbb2['on'](_0xb5963f(0x29c),_0x34a701),_0x39dbb2['on'](_0xb5963f(0x2d9),_0x53b150),this[_0xb5963f(0x28f)]=_0x3f840['OPEN'],this[_0xb5963f(0x1d9)](_0xb5963f(0x146));}['emitClose'](){const _0x3ea19b=_0x4bad16;if(!this['_socket']){this['_readyState']=_0x3f840[_0x3ea19b(0x254)],this[_0x3ea19b(0x1d9)](_0x3ea19b(0x290),this[_0x3ea19b(0x166)],this[_0x3ea19b(0x2e1)]);return;}this[_0x3ea19b(0x21e)][_0x31c4c9[_0x3ea19b(0x15a)]]&&this[_0x3ea19b(0x21e)][_0x31c4c9[_0x3ea19b(0x15a)]][_0x3ea19b(0x179)](),this[_0x3ea19b(0x2af)][_0x3ea19b(0x1e4)](),this['_readyState']=_0x3f840[_0x3ea19b(0x254)],this[_0x3ea19b(0x1d9)](_0x3ea19b(0x290),this[_0x3ea19b(0x166)],this[_0x3ea19b(0x2e1)]);}[_0x4bad16(0x290)](_0x39ba53,_0xf7f5d){const _0x6ab269=_0x4bad16;if(this[_0x6ab269(0x170)]!==_0x3f840[_0x6ab269(0x254)]){if(this[_0x6ab269(0x170)]===_0x3f840[_0x6ab269(0x2b1)]){_0x1ab6d2(this,this['_req'],_0x6ab269(0x262));return;}if(this[_0x6ab269(0x170)]===_0x3f840[_0x6ab269(0x1c3)]){this[_0x6ab269(0x1b1)]&&(this[_0x6ab269(0x233)]||this[_0x6ab269(0x2af)][_0x6ab269(0x176)]['errorEmitted'])&&this[_0x6ab269(0x257)][_0x6ab269(0x29c)]();return;}this[_0x6ab269(0x28f)]=_0x3f840[_0x6ab269(0x1c3)],this[_0x6ab269(0x153)][_0x6ab269(0x290)](_0x39ba53,_0xf7f5d,!this[_0x6ab269(0x2ae)],_0x138b43=>{const _0x78dcd5=_0x6ab269;_0x138b43||(this[_0x78dcd5(0x1b1)]=!0x0,(this[_0x78dcd5(0x233)]||this[_0x78dcd5(0x2af)][_0x78dcd5(0x176)][_0x78dcd5(0x2b2)])&&this[_0x78dcd5(0x257)][_0x78dcd5(0x29c)]());}),_0x1ca871(this);}}[_0x4bad16(0x225)](){const _0x19d2f6=_0x4bad16;this[_0x19d2f6(0x170)]===_0x3f840[_0x19d2f6(0x2b1)]||this[_0x19d2f6(0x170)]===_0x3f840['CLOSED']||(this[_0x19d2f6(0x165)]=!0x0,this[_0x19d2f6(0x257)]['pause']());}[_0x4bad16(0x255)](_0x4a329a,_0x2277ae,_0x17a211){const _0x3bd811=_0x4bad16;if(this[_0x3bd811(0x170)]===_0x3f840[_0x3bd811(0x2b1)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x4a329a=='function'?(_0x17a211=_0x4a329a,_0x4a329a=_0x2277ae=void 0x0):typeof _0x2277ae=='function'&&(_0x17a211=_0x2277ae,_0x2277ae=void 0x0),typeof _0x4a329a=='number'&&(_0x4a329a=_0x4a329a[_0x3bd811(0x1a8)]()),this[_0x3bd811(0x170)]!==_0x3f840[_0x3bd811(0x13d)]){_0x502d17(this,_0x4a329a,_0x17a211);return;}_0x2277ae===void 0x0&&(_0x2277ae=!this[_0x3bd811(0x2ae)]),this[_0x3bd811(0x153)][_0x3bd811(0x255)](_0x4a329a||_0x5e594d,_0x2277ae,_0x17a211);}[_0x4bad16(0x158)](_0x56c5ea,_0x1c1b85,_0x2234d4){const _0x131008=_0x4bad16;if(this[_0x131008(0x170)]===_0x3f840[_0x131008(0x2b1)])throw new Error(_0x131008(0x1ab));if(typeof _0x56c5ea==_0x131008(0x22e)?(_0x2234d4=_0x56c5ea,_0x56c5ea=_0x1c1b85=void 0x0):typeof _0x1c1b85=='function'&&(_0x2234d4=_0x1c1b85,_0x1c1b85=void 0x0),typeof _0x56c5ea=='number'&&(_0x56c5ea=_0x56c5ea[_0x131008(0x1a8)]()),this[_0x131008(0x170)]!==_0x3f840[_0x131008(0x13d)]){_0x502d17(this,_0x56c5ea,_0x2234d4);return;}_0x1c1b85===void 0x0&&(_0x1c1b85=!this[_0x131008(0x2ae)]),this[_0x131008(0x153)][_0x131008(0x158)](_0x56c5ea||_0x5e594d,_0x1c1b85,_0x2234d4);}[_0x4bad16(0x227)](){const _0x1f2763=_0x4bad16;this[_0x1f2763(0x170)]===_0x3f840['CONNECTING']||this[_0x1f2763(0x170)]===_0x3f840[_0x1f2763(0x254)]||(this[_0x1f2763(0x165)]=!0x1,this[_0x1f2763(0x2af)]['_writableState'][_0x1f2763(0x164)]||this[_0x1f2763(0x257)][_0x1f2763(0x227)]());}[_0x4bad16(0x184)](_0x304bb2,_0x32434d,_0x5a24eb){const _0x3f5066=_0x4bad16;if(this['readyState']===_0x3f840[_0x3f5066(0x2b1)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x32434d==_0x3f5066(0x22e)&&(_0x5a24eb=_0x32434d,_0x32434d={}),typeof _0x304bb2==_0x3f5066(0x1cd)&&(_0x304bb2=_0x304bb2[_0x3f5066(0x1a8)]()),this[_0x3f5066(0x170)]!==_0x3f840[_0x3f5066(0x13d)]){_0x502d17(this,_0x304bb2,_0x5a24eb);return;}const _0x26d31a={'binary':typeof _0x304bb2!=_0x3f5066(0x221),'mask':!this[_0x3f5066(0x2ae)],'compress':!0x0,'fin':!0x0,..._0x32434d};this[_0x3f5066(0x21e)][_0x31c4c9[_0x3f5066(0x15a)]]||(_0x26d31a['compress']=!0x1),this[_0x3f5066(0x153)][_0x3f5066(0x184)](_0x304bb2||_0x5e594d,_0x26d31a,_0x5a24eb);}[_0x4bad16(0x139)](){const _0x479278=_0x4bad16;if(this['readyState']!==_0x3f840[_0x479278(0x254)]){if(this[_0x479278(0x170)]===_0x3f840[_0x479278(0x2b1)]){_0x1ab6d2(this,this[_0x479278(0x19d)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}this[_0x479278(0x257)]&&(this['_readyState']=_0x3f840[_0x479278(0x1c3)],this[_0x479278(0x257)][_0x479278(0x1bd)]());}}}Object[_0x4bad16(0x239)](_0x3f840,_0x4bad16(0x2b1),{'enumerable':!0x0,'value':_0x2206f2['indexOf']('CONNECTING')}),Object['defineProperty'](_0x3f840[_0x4bad16(0x218)],_0x4bad16(0x2b1),{'enumerable':!0x0,'value':_0x2206f2['indexOf'](_0x4bad16(0x2b1))}),Object[_0x4bad16(0x239)](_0x3f840,'OPEN',{'enumerable':!0x0,'value':_0x2206f2[_0x4bad16(0x15d)](_0x4bad16(0x13d))}),Object[_0x4bad16(0x239)](_0x3f840[_0x4bad16(0x218)],'OPEN',{'enumerable':!0x0,'value':_0x2206f2[_0x4bad16(0x15d)]('OPEN')}),Object[_0x4bad16(0x239)](_0x3f840,_0x4bad16(0x1c3),{'enumerable':!0x0,'value':_0x2206f2[_0x4bad16(0x15d)](_0x4bad16(0x1c3))}),Object[_0x4bad16(0x239)](_0x3f840[_0x4bad16(0x218)],_0x4bad16(0x1c3),{'enumerable':!0x0,'value':_0x2206f2[_0x4bad16(0x15d)](_0x4bad16(0x1c3))}),Object[_0x4bad16(0x239)](_0x3f840,'CLOSED',{'enumerable':!0x0,'value':_0x2206f2[_0x4bad16(0x15d)](_0x4bad16(0x254))}),Object[_0x4bad16(0x239)](_0x3f840[_0x4bad16(0x218)],'CLOSED',{'enumerable':!0x0,'value':_0x2206f2[_0x4bad16(0x15d)]('CLOSED')}),[_0x4bad16(0x2b6),_0x4bad16(0x188),_0x4bad16(0x288),'isPaused',_0x4bad16(0x29b),_0x4bad16(0x170),_0x4bad16(0x1a9)][_0x4bad16(0x1e8)](_0x50502b=>{const _0x3b6056=_0x4bad16;Object[_0x3b6056(0x239)](_0x3f840['prototype'],_0x50502b,{'enumerable':!0x0});}),[_0x4bad16(0x146),'error',_0x4bad16(0x290),'message'][_0x4bad16(0x1e8)](_0x370a17=>{const _0x5e56aa=_0x4bad16;Object[_0x5e56aa(0x239)](_0x3f840['prototype'],'on'+_0x370a17,{'enumerable':!0x0,'get'(){const _0x3e0acc=_0x5e56aa;for(const _0x3bff94 of this[_0x3e0acc(0x1a1)](_0x370a17))if(_0x3bff94[_0x3c9a83])return _0x3bff94[_0x4fe9b6];return null;},'set'(_0x26a397){const _0x247917=_0x5e56aa;for(const _0x1d5198 of this[_0x247917(0x1a1)](_0x370a17))if(_0x1d5198[_0x3c9a83]){this['removeListener'](_0x370a17,_0x1d5198);break;}typeof _0x26a397=='function'&&this[_0x247917(0x137)](_0x370a17,_0x26a397,{[_0x3c9a83]:!0x0});}});}),_0x3f840[_0x4bad16(0x218)][_0x4bad16(0x137)]=_0x2a6db5,_0x3f840[_0x4bad16(0x218)][_0x4bad16(0x29d)]=_0x3c01c1,we=_0x3f840;function _0x125401(_0x1f2e05,_0x58bf63,_0x4cecf4,_0x2cfbba){const _0xc13af2=_0x4bad16,_0x3b932e={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x169503[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x2cfbba,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0xc13af2(0x1f7),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x1f2e05[_0xc13af2(0x1ef)]=_0x3b932e[_0xc13af2(0x1f1)],!_0x169503[_0xc13af2(0x1ad)](_0x3b932e[_0xc13af2(0x159)]))throw new RangeError(_0xc13af2(0x1fa)+_0x3b932e[_0xc13af2(0x159)]+_0xc13af2(0x1bb)+_0x169503[_0xc13af2(0x27f)](',\x20')+')');let _0x2dde96;if(_0x58bf63 instanceof _0xb68b68)_0x2dde96=_0x58bf63;else try{_0x2dde96=new _0xb68b68(_0x58bf63);}catch{throw new SyntaxError(_0xc13af2(0x21a)+_0x58bf63);}_0x2dde96[_0xc13af2(0x29b)]==='http:'?_0x2dde96['protocol']='ws:':_0x2dde96[_0xc13af2(0x29b)]===_0xc13af2(0x1e0)&&(_0x2dde96[_0xc13af2(0x29b)]=_0xc13af2(0x1ec)),_0x1f2e05[_0xc13af2(0x2c2)]=_0x2dde96[_0xc13af2(0x1ea)];const _0x1963cb=_0x2dde96[_0xc13af2(0x29b)]==='wss:',_0x166620=_0x2dde96['protocol']===_0xc13af2(0x1e1);let _0x40e6ce;if(_0x2dde96['protocol']!==_0xc13af2(0x297)&&!_0x1963cb&&!_0x166620?_0x40e6ce=_0xc13af2(0x2b0):_0x166620&&!_0x2dde96['pathname']?_0x40e6ce=_0xc13af2(0x238):_0x2dde96[_0xc13af2(0x207)]&&(_0x40e6ce=_0xc13af2(0x14e)),_0x40e6ce){const _0x403b74=new SyntaxError(_0x40e6ce);if(_0x1f2e05['_redirects']===0x0)throw _0x403b74;_0x552592(_0x1f2e05,_0x403b74);return;}const _0x38caf5=_0x1963cb?0x1bb:0x50,_0x4d62ec=_0x3439e1(0x10)[_0xc13af2(0x1a8)](_0xc13af2(0x144)),_0x2ac09d=_0x1963cb?_0x4224d7[_0xc13af2(0x152)]:_0x2a5e0b[_0xc13af2(0x152)],_0x53d073=new Set();let _0x55b6d6;if(_0x3b932e[_0xc13af2(0x267)]=_0x3b932e[_0xc13af2(0x267)]||(_0x1963cb?_0x5e3c0e:_0x4b782a),_0x3b932e[_0xc13af2(0x269)]=_0x3b932e['defaultPort']||_0x38caf5,_0x3b932e[_0xc13af2(0x197)]=_0x2dde96['port']||_0x38caf5,_0x3b932e[_0xc13af2(0x2a1)]=_0x2dde96[_0xc13af2(0x206)]['startsWith']('[')?_0x2dde96[_0xc13af2(0x206)][_0xc13af2(0x217)](0x1,-0x1):_0x2dde96['hostname'],_0x3b932e[_0xc13af2(0x2ba)]={..._0x3b932e[_0xc13af2(0x2ba)],'Sec-WebSocket-Version':_0x3b932e['protocolVersion'],'Sec-WebSocket-Key':_0x4d62ec,'Connection':_0xc13af2(0x163),'Upgrade':_0xc13af2(0x16b)},_0x3b932e[_0xc13af2(0x241)]=_0x2dde96[_0xc13af2(0x2cc)]+_0x2dde96[_0xc13af2(0x200)],_0x3b932e[_0xc13af2(0x1a6)]=_0x3b932e[_0xc13af2(0x230)],_0x3b932e[_0xc13af2(0x27a)]&&(_0x55b6d6=new _0x31c4c9(_0x3b932e[_0xc13af2(0x27a)]!==!0x0?_0x3b932e[_0xc13af2(0x27a)]:{},!0x1,_0x3b932e['maxPayload']),_0x3b932e[_0xc13af2(0x2ba)][_0xc13af2(0x1cb)]=_0x1107c4({[_0x31c4c9[_0xc13af2(0x15a)]]:_0x55b6d6['offer']()})),_0x4cecf4['length']){for(const _0x34c3a1 of _0x4cecf4){if(typeof _0x34c3a1!='string'||!_0x2cab59[_0xc13af2(0x180)](_0x34c3a1)||_0x53d073[_0xc13af2(0x2d7)](_0x34c3a1))throw new SyntaxError(_0xc13af2(0x2ce));_0x53d073[_0xc13af2(0x16a)](_0x34c3a1);}_0x3b932e[_0xc13af2(0x2ba)][_0xc13af2(0x276)]=_0x4cecf4[_0xc13af2(0x27f)](',');}if(_0x3b932e[_0xc13af2(0x2d2)]&&(_0x3b932e[_0xc13af2(0x159)]<0xd?_0x3b932e[_0xc13af2(0x2ba)][_0xc13af2(0x1d2)]=_0x3b932e[_0xc13af2(0x2d2)]:_0x3b932e[_0xc13af2(0x2ba)]['Origin']=_0x3b932e['origin']),(_0x2dde96['username']||_0x2dde96[_0xc13af2(0x196)])&&(_0x3b932e[_0xc13af2(0x17d)]=_0x2dde96[_0xc13af2(0x24b)]+':'+_0x2dde96[_0xc13af2(0x196)]),_0x166620){const _0x12907e=_0x3b932e[_0xc13af2(0x241)]['split'](':');_0x3b932e['socketPath']=_0x12907e[0x0],_0x3b932e[_0xc13af2(0x241)]=_0x12907e[0x1];}let _0x17e40e;if(_0x3b932e[_0xc13af2(0x17c)]){if(_0x1f2e05['_redirects']===0x0){_0x1f2e05[_0xc13af2(0x2d1)]=_0x166620,_0x1f2e05[_0xc13af2(0x1dc)]=_0x1963cb,_0x1f2e05[_0xc13af2(0x1ae)]=_0x166620?_0x3b932e[_0xc13af2(0x1f8)]:_0x2dde96['host'];const _0x31af8f=_0x2cfbba&&_0x2cfbba[_0xc13af2(0x2ba)];if(_0x2cfbba={..._0x2cfbba,'headers':{}},_0x31af8f){for(const [_0x2c9b02,_0x1b835b]of Object[_0xc13af2(0x1f6)](_0x31af8f))_0x2cfbba[_0xc13af2(0x2ba)][_0x2c9b02['toLowerCase']()]=_0x1b835b;}}else{if(_0x1f2e05[_0xc13af2(0x151)](_0xc13af2(0x2e3))===0x0){const _0x3c3765=_0x166620?_0x1f2e05[_0xc13af2(0x2d1)]?_0x3b932e[_0xc13af2(0x1f8)]===_0x1f2e05[_0xc13af2(0x1ae)]:!0x1:_0x1f2e05[_0xc13af2(0x2d1)]?!0x1:_0x2dde96[_0xc13af2(0x2a1)]===_0x1f2e05['_originalHostOrSocketPath'];(!_0x3c3765||_0x1f2e05[_0xc13af2(0x1dc)]&&!_0x1963cb)&&(delete _0x3b932e['headers']['authorization'],delete _0x3b932e[_0xc13af2(0x2ba)][_0xc13af2(0x203)],_0x3c3765||delete _0x3b932e['headers']['host'],_0x3b932e[_0xc13af2(0x17d)]=void 0x0);}}_0x3b932e[_0xc13af2(0x17d)]&&!_0x2cfbba['headers'][_0xc13af2(0x253)]&&(_0x2cfbba[_0xc13af2(0x2ba)][_0xc13af2(0x253)]=_0xc13af2(0x247)+Buffer[_0xc13af2(0x210)](_0x3b932e[_0xc13af2(0x17d)])[_0xc13af2(0x1a8)]('base64')),_0x17e40e=_0x1f2e05['_req']=_0x2ac09d(_0x3b932e),_0x1f2e05['_redirects']&&_0x1f2e05[_0xc13af2(0x1d9)](_0xc13af2(0x2e3),_0x1f2e05['url'],_0x17e40e);}else _0x17e40e=_0x1f2e05[_0xc13af2(0x19d)]=_0x2ac09d(_0x3b932e);_0x3b932e[_0xc13af2(0x1a6)]&&_0x17e40e['on'](_0xc13af2(0x1a6),()=>{const _0x41c4c0=_0xc13af2;_0x1ab6d2(_0x1f2e05,_0x17e40e,_0x41c4c0(0x27c));}),_0x17e40e['on']('error',_0x312838=>{_0x17e40e===null||_0x17e40e[_0x20ce23]||(_0x17e40e=_0x1f2e05['_req']=null,_0x552592(_0x1f2e05,_0x312838));}),_0x17e40e['on'](_0xc13af2(0x25a),_0x36d1f7=>{const _0xca809=_0xc13af2,_0x3f0449=_0x36d1f7[_0xca809(0x2ba)][_0xca809(0x2a9)],_0x284428=_0x36d1f7[_0xca809(0x1f3)];if(_0x3f0449&&_0x3b932e['followRedirects']&&_0x284428>=0x12c&&_0x284428<0x190){if(++_0x1f2e05[_0xca809(0x168)]>_0x3b932e[_0xca809(0x285)]){_0x1ab6d2(_0x1f2e05,_0x17e40e,'Maximum\x20redirects\x20exceeded');return;}_0x17e40e[_0xca809(0x270)]();let _0x2c9e48;try{_0x2c9e48=new _0xb68b68(_0x3f0449,_0x58bf63);}catch{const _0x55c9ed=new SyntaxError(_0xca809(0x21a)+_0x3f0449);_0x552592(_0x1f2e05,_0x55c9ed);return;}_0x125401(_0x1f2e05,_0x2c9e48,_0x4cecf4,_0x2cfbba);}else _0x1f2e05['emit']('unexpected-response',_0x17e40e,_0x36d1f7)||_0x1ab6d2(_0x1f2e05,_0x17e40e,_0xca809(0x1fc)+_0x36d1f7['statusCode']);}),_0x17e40e['on'](_0xc13af2(0x2ca),(_0xfb1f4d,_0x3ab746,_0x53eb56)=>{const _0x136370=_0xc13af2;if(_0x1f2e05[_0x136370(0x1d9)]('upgrade',_0xfb1f4d),_0x1f2e05[_0x136370(0x170)]!==_0x3f840[_0x136370(0x2b1)])return;_0x17e40e=_0x1f2e05['_req']=null;const _0x48f07f=_0xfb1f4d[_0x136370(0x2ba)][_0x136370(0x2ca)];if(_0x48f07f===void 0x0||_0x48f07f[_0x136370(0x234)]()!=='websocket'){_0x1ab6d2(_0x1f2e05,_0x3ab746,_0x136370(0x1db));return;}const _0x11c3d1=_0x40bd7f(_0x136370(0x2e4))[_0x136370(0x2bc)](_0x4d62ec+_0x3ba165)[_0x136370(0x20c)](_0x136370(0x144));if(_0xfb1f4d[_0x136370(0x2ba)]['sec-websocket-accept']!==_0x11c3d1){_0x1ab6d2(_0x1f2e05,_0x3ab746,_0x136370(0x192));return;}const _0x19dd63=_0xfb1f4d['headers'][_0x136370(0x27b)];let _0x7b5349;if(_0x19dd63!==void 0x0?_0x53d073[_0x136370(0x1a5)]?_0x53d073[_0x136370(0x2d7)](_0x19dd63)||(_0x7b5349='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0x7b5349=_0x136370(0x1ac):_0x53d073[_0x136370(0x1a5)]&&(_0x7b5349=_0x136370(0x19c)),_0x7b5349){_0x1ab6d2(_0x1f2e05,_0x3ab746,_0x7b5349);return;}_0x19dd63&&(_0x1f2e05[_0x136370(0x16e)]=_0x19dd63);const _0x560c6e=_0xfb1f4d['headers'][_0x136370(0x29f)];if(_0x560c6e!==void 0x0){if(!_0x55b6d6){_0x1ab6d2(_0x1f2e05,_0x3ab746,_0x136370(0x280));return;}let _0x5ed77f;try{_0x5ed77f=_0x27fc6b(_0x560c6e);}catch{_0x1ab6d2(_0x1f2e05,_0x3ab746,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0x3cc079=Object[_0x136370(0x212)](_0x5ed77f);if(_0x3cc079[_0x136370(0x17e)]!==0x1||_0x3cc079[0x0]!==_0x31c4c9[_0x136370(0x15a)]){_0x1ab6d2(_0x1f2e05,_0x3ab746,'Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested');return;}try{_0x55b6d6[_0x136370(0x25e)](_0x5ed77f[_0x31c4c9[_0x136370(0x15a)]]);}catch{_0x1ab6d2(_0x1f2e05,_0x3ab746,_0x136370(0x2cb));return;}_0x1f2e05['_extensions'][_0x31c4c9[_0x136370(0x15a)]]=_0x55b6d6;}_0x1f2e05['setSocket'](_0x3ab746,_0x53eb56,{'allowSynchronousEvents':_0x3b932e['allowSynchronousEvents'],'generateMask':_0x3b932e['generateMask'],'maxPayload':_0x3b932e[_0x136370(0x191)],'skipUTF8Validation':_0x3b932e[_0x136370(0x2cf)]});}),_0x3b932e[_0xc13af2(0x2aa)]?_0x3b932e[_0xc13af2(0x2aa)](_0x17e40e,_0x1f2e05):_0x17e40e[_0xc13af2(0x29c)]();}function _0x552592(_0x263fc0,_0x1e95d9){const _0xd435ba=_0x4bad16;_0x263fc0[_0xd435ba(0x28f)]=_0x3f840[_0xd435ba(0x1c3)],_0x263fc0[_0xd435ba(0x291)]=!0x0,_0x263fc0['emit'](_0xd435ba(0x2d9),_0x1e95d9),_0x263fc0[_0xd435ba(0x22f)]();}function _0x4b782a(_0x562a6a){const _0x698d59=_0x4bad16;return _0x562a6a[_0x698d59(0x241)]=_0x562a6a[_0x698d59(0x1f8)],_0x5c240a[_0x698d59(0x2c7)](_0x562a6a);}function _0x5e3c0e(_0x205ca7){const _0x59f6ee=_0x4bad16;return _0x205ca7[_0x59f6ee(0x241)]=void 0x0,!_0x205ca7[_0x59f6ee(0x282)]&&_0x205ca7['servername']!==''&&(_0x205ca7['servername']=_0x5c240a[_0x59f6ee(0x23f)](_0x205ca7[_0x59f6ee(0x2a1)])?'':_0x205ca7['host']),_0x34edae[_0x59f6ee(0x2c7)](_0x205ca7);}function _0x1ab6d2(_0x36c107,_0x6200f,_0x3210b5){const _0x293374=_0x4bad16;_0x36c107[_0x293374(0x28f)]=_0x3f840[_0x293374(0x1c3)];const _0x542edb=new Error(_0x3210b5);Error[_0x293374(0x147)](_0x542edb,_0x1ab6d2),_0x6200f['setHeader']?(_0x6200f[_0x20ce23]=!0x0,_0x6200f[_0x293374(0x270)](),_0x6200f[_0x293374(0x25d)]&&!_0x6200f[_0x293374(0x25d)]['destroyed']&&_0x6200f[_0x293374(0x25d)][_0x293374(0x1bd)](),process[_0x293374(0x1dd)](_0x552592,_0x36c107,_0x542edb)):(_0x6200f['destroy'](_0x542edb),_0x6200f[_0x293374(0x1aa)](_0x293374(0x2d9),_0x36c107[_0x293374(0x1d9)][_0x293374(0x195)](_0x36c107,'error')),_0x6200f[_0x293374(0x1aa)](_0x293374(0x290),_0x36c107[_0x293374(0x22f)][_0x293374(0x195)](_0x36c107)));}function _0x502d17(_0x56ac1d,_0x1c9afd,_0x250d14){const _0x3c653e=_0x4bad16;if(_0x1c9afd){const _0x399407=_0x39d03b(_0x1c9afd)?_0x1c9afd[_0x3c653e(0x1a5)]:_0x7b3cd5(_0x1c9afd)['length'];_0x56ac1d[_0x3c653e(0x257)]?_0x56ac1d[_0x3c653e(0x153)][_0x3c653e(0x2da)]+=_0x399407:_0x56ac1d[_0x3c653e(0x299)]+=_0x399407;}if(_0x250d14){const _0x285e87=new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x20'+_0x56ac1d[_0x3c653e(0x170)]+'\x20('+_0x2206f2[_0x56ac1d['readyState']]+')');process[_0x3c653e(0x1dd)](_0x250d14,_0x285e87);}}function _0x4db9cd(_0xf5b7a0,_0x31684f){const _0x3b0fc6=_0x4bad16,_0x59565d=this[_0x1259e4];_0x59565d[_0x3b0fc6(0x233)]=!0x0,_0x59565d[_0x3b0fc6(0x2e1)]=_0x31684f,_0x59565d[_0x3b0fc6(0x166)]=_0xf5b7a0,_0x59565d['_socket'][_0x1259e4]!==void 0x0&&(_0x59565d['_socket'][_0x3b0fc6(0x149)](_0x3b0fc6(0x213),_0x2914ef),process[_0x3b0fc6(0x1dd)](_0x47e742,_0x59565d[_0x3b0fc6(0x257)]),_0xf5b7a0===0x3ed?_0x59565d[_0x3b0fc6(0x290)]():_0x59565d[_0x3b0fc6(0x290)](_0xf5b7a0,_0x31684f));}function _0x53a483(){const _0x4ffdf3=_0x4bad16,_0x449321=this[_0x1259e4];_0x449321[_0x4ffdf3(0x23a)]||_0x449321['_socket'][_0x4ffdf3(0x227)]();}function _0x49ecee(_0x449038){const _0x323e2d=_0x4bad16,_0x3f7b17=this[_0x1259e4];_0x3f7b17[_0x323e2d(0x257)][_0x1259e4]!==void 0x0&&(_0x3f7b17[_0x323e2d(0x257)][_0x323e2d(0x149)](_0x323e2d(0x213),_0x2914ef),process[_0x323e2d(0x1dd)](_0x47e742,_0x3f7b17['_socket']),_0x3f7b17[_0x323e2d(0x290)](_0x449038[_0x2abfd1])),_0x3f7b17['_errorEmitted']||(_0x3f7b17[_0x323e2d(0x291)]=!0x0,_0x3f7b17[_0x323e2d(0x1d9)](_0x323e2d(0x2d9),_0x449038));}function _0xbb1385(){const _0x47d8a3=_0x4bad16;this[_0x1259e4][_0x47d8a3(0x22f)]();}function _0x4018e8(_0xa557ee,_0xed088a){const _0x2b062a=_0x4bad16;this[_0x1259e4][_0x2b062a(0x1d9)]('message',_0xa557ee,_0xed088a);}function _0x47ea2c(_0x27e63c){const _0x5c7625=_0x4bad16,_0x2c181d=this[_0x1259e4];_0x2c181d[_0x5c7625(0x1ef)]&&_0x2c181d[_0x5c7625(0x158)](_0x27e63c,!this[_0x5c7625(0x2ae)],_0x15a05a),_0x2c181d[_0x5c7625(0x1d9)](_0x5c7625(0x255),_0x27e63c);}function _0x3321e8(_0x4cae72){const _0x4bfb69=_0x4bad16;this[_0x1259e4][_0x4bfb69(0x1d9)](_0x4bfb69(0x158),_0x4cae72);}function _0x47e742(_0x2c6da0){_0x2c6da0['resume']();}function _0x1c3f0b(_0x12df23){const _0x5ee32e=_0x4bad16,_0x14f9d8=this[_0x1259e4];_0x14f9d8['readyState']!==_0x3f840[_0x5ee32e(0x254)]&&(_0x14f9d8['readyState']===_0x3f840[_0x5ee32e(0x13d)]&&(_0x14f9d8[_0x5ee32e(0x28f)]=_0x3f840[_0x5ee32e(0x1c3)],_0x1ca871(_0x14f9d8)),this[_0x5ee32e(0x257)][_0x5ee32e(0x29c)](),_0x14f9d8[_0x5ee32e(0x291)]||(_0x14f9d8[_0x5ee32e(0x291)]=!0x0,_0x14f9d8[_0x5ee32e(0x1d9)]('error',_0x12df23)));}function _0x1ca871(_0x4cb502){const _0x5e1067=_0x4bad16;_0x4cb502[_0x5e1067(0x172)]=setTimeout(_0x4cb502[_0x5e1067(0x257)][_0x5e1067(0x1bd)][_0x5e1067(0x195)](_0x4cb502[_0x5e1067(0x257)]),_0x1f0aa7);}function _0x55f8fb(){const _0x53828f=_0x4bad16,_0x116151=this[_0x1259e4];this[_0x53828f(0x149)]('close',_0x55f8fb),this[_0x53828f(0x149)](_0x53828f(0x213),_0x2914ef),this[_0x53828f(0x149)](_0x53828f(0x29c),_0x34a701),_0x116151[_0x53828f(0x28f)]=_0x3f840[_0x53828f(0x1c3)];let _0x34cde2;!this[_0x53828f(0x187)][_0x53828f(0x138)]&&!_0x116151['_closeFrameReceived']&&!_0x116151[_0x53828f(0x2af)][_0x53828f(0x176)][_0x53828f(0x2b2)]&&(_0x34cde2=_0x116151['_socket'][_0x53828f(0x155)]())!==null&&_0x116151['_receiver']['write'](_0x34cde2),_0x116151[_0x53828f(0x2af)]['end'](),this[_0x1259e4]=void 0x0,clearTimeout(_0x116151[_0x53828f(0x172)]),_0x116151[_0x53828f(0x2af)][_0x53828f(0x176)][_0x53828f(0x27e)]||_0x116151[_0x53828f(0x2af)]['_writableState']['errorEmitted']?_0x116151[_0x53828f(0x22f)]():(_0x116151[_0x53828f(0x2af)]['on'](_0x53828f(0x2d9),_0xbb1385),_0x116151[_0x53828f(0x2af)]['on'](_0x53828f(0x19e),_0xbb1385));}function _0x2914ef(_0x2c5678){const _0x3d43a1=_0x4bad16;this[_0x1259e4]['_receiver'][_0x3d43a1(0x19b)](_0x2c5678)||this['pause']();}function _0x34a701(){const _0x4f86b7=_0x4bad16,_0xf29b4c=this[_0x1259e4];_0xf29b4c[_0x4f86b7(0x28f)]=_0x3f840['CLOSING'],_0xf29b4c['_receiver']['end'](),this['end']();}function _0x53b150(){const _0x96637c=_0x4bad16,_0x1ed8e7=this[_0x1259e4];this[_0x96637c(0x149)](_0x96637c(0x2d9),_0x53b150),this['on'](_0x96637c(0x2d9),_0x15a05a),_0x1ed8e7&&(_0x1ed8e7[_0x96637c(0x28f)]=_0x3f840[_0x96637c(0x1c3)],this[_0x96637c(0x1bd)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x2b3811}=_0x1c53b5;function _0xbc46f6(_0x346b7c){const _0x2a8d9b=_0x2a36;_0x346b7c[_0x2a8d9b(0x1d9)](_0x2a8d9b(0x290));}function _0x5a0d95(){const _0x1eda5a=_0x2a36;!this[_0x1eda5a(0x17a)]&&this[_0x1eda5a(0x176)][_0x1eda5a(0x27e)]&&this[_0x1eda5a(0x1bd)]();}function _0xfc88cc(_0x138909){const _0x37be36=_0x2a36;this['removeListener'](_0x37be36(0x2d9),_0xfc88cc),this[_0x37be36(0x1bd)](),this[_0x37be36(0x151)](_0x37be36(0x2d9))===0x0&&this[_0x37be36(0x1d9)](_0x37be36(0x2d9),_0x138909);}function _0x23a636(_0x283640,_0x34fb6a){const _0x588acc=_0x2a36;let _0x5db0da=!0x0;const _0x481740=new _0x2b3811({..._0x34fb6a,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x283640['on'](_0x588acc(0x2b5),function(_0x24eed7,_0x425696){const _0x51d502=_0x588acc,_0x50c12a=!_0x425696&&_0x481740[_0x51d502(0x187)][_0x51d502(0x289)]?_0x24eed7['toString']():_0x24eed7;_0x481740[_0x51d502(0x20a)](_0x50c12a)||_0x283640['pause']();}),_0x283640[_0x588acc(0x1aa)](_0x588acc(0x2d9),function(_0x4de51c){const _0x15696d=_0x588acc;_0x481740[_0x15696d(0x17a)]||(_0x5db0da=!0x1,_0x481740[_0x15696d(0x1bd)](_0x4de51c));}),_0x283640['once'](_0x588acc(0x290),function(){const _0x5c3d9d=_0x588acc;_0x481740[_0x5c3d9d(0x17a)]||_0x481740['push'](null);}),_0x481740['_destroy']=function(_0x52425a,_0x393bfb){const _0x3512c4=_0x588acc;if(_0x283640[_0x3512c4(0x170)]===_0x283640[_0x3512c4(0x254)]){_0x393bfb(_0x52425a),process[_0x3512c4(0x1dd)](_0xbc46f6,_0x481740);return;}let _0x27da1a=!0x1;_0x283640[_0x3512c4(0x1aa)](_0x3512c4(0x2d9),function(_0x121422){_0x27da1a=!0x0,_0x393bfb(_0x121422);}),_0x283640[_0x3512c4(0x1aa)]('close',function(){const _0x2a5655=_0x3512c4;_0x27da1a||_0x393bfb(_0x52425a),process[_0x2a5655(0x1dd)](_0xbc46f6,_0x481740);}),_0x5db0da&&_0x283640[_0x3512c4(0x139)]();},_0x481740['_final']=function(_0x25143a){const _0x173c85=_0x588acc;if(_0x283640[_0x173c85(0x170)]===_0x283640[_0x173c85(0x2b1)]){_0x283640['once'](_0x173c85(0x146),function(){const _0x1bac90=_0x173c85;_0x481740[_0x1bac90(0x1f2)](_0x25143a);});return;}_0x283640[_0x173c85(0x257)]!==null&&(_0x283640[_0x173c85(0x257)]['_writableState'][_0x173c85(0x27e)]?(_0x25143a(),_0x481740[_0x173c85(0x187)][_0x173c85(0x138)]&&_0x481740['destroy']()):(_0x283640['_socket']['once']('finish',function(){_0x25143a();}),_0x283640[_0x173c85(0x290)]()));},_0x481740['_read']=function(){const _0x23d371=_0x588acc;_0x283640[_0x23d371(0x23a)]&&_0x283640[_0x23d371(0x227)]();},_0x481740[_0x588acc(0x22a)]=function(_0x2f8a98,_0x9f85dd,_0x5395bd){const _0x5a7aca=_0x588acc;if(_0x283640[_0x5a7aca(0x170)]===_0x283640[_0x5a7aca(0x2b1)]){_0x283640[_0x5a7aca(0x1aa)]('open',function(){const _0x4328a8=_0x5a7aca;_0x481740[_0x4328a8(0x22a)](_0x2f8a98,_0x9f85dd,_0x5395bd);});return;}_0x283640[_0x5a7aca(0x184)](_0x2f8a98,_0x5395bd);},_0x481740['on']('end',_0x5a0d95),_0x481740['on'](_0x588acc(0x2d9),_0xfc88cc),_0x481740;}return Oe=_0x23a636,Oe;}Xt(),dt(),_t();function _0x2a36(_0xf7768a,_0xef83cc){const _0x14cf07=_0x14cf();return _0x2a36=function(_0x2a360d,_0x5e7b27){_0x2a360d=_0x2a360d-0x135;let _0xed1480=_0x14cf07[_0x2a360d];return _0xed1480;},_0x2a36(_0xf7768a,_0xef83cc);}var Zt=Ie();const Qt=Wt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x12629c}=ne();function _0x48c0d3(_0x2b1beb){const _0x208b11=_0x2a36,_0x8fe784=new Set();let _0x2e19dc=-0x1,_0x506eb8=-0x1,_0x2ff741=0x0;for(_0x2ff741;_0x2ff741<_0x2b1beb[_0x208b11(0x17e)];_0x2ff741++){const _0x4f5d8a=_0x2b1beb[_0x208b11(0x2c8)](_0x2ff741);if(_0x506eb8===-0x1&&_0x12629c[_0x4f5d8a]===0x1)_0x2e19dc===-0x1&&(_0x2e19dc=_0x2ff741);else{if(_0x2ff741!==0x0&&(_0x4f5d8a===0x20||_0x4f5d8a===0x9))_0x506eb8===-0x1&&_0x2e19dc!==-0x1&&(_0x506eb8=_0x2ff741);else{if(_0x4f5d8a===0x2c){if(_0x2e19dc===-0x1)throw new SyntaxError(_0x208b11(0x1a3)+_0x2ff741);_0x506eb8===-0x1&&(_0x506eb8=_0x2ff741);const _0x401dcf=_0x2b1beb[_0x208b11(0x217)](_0x2e19dc,_0x506eb8);if(_0x8fe784[_0x208b11(0x2d7)](_0x401dcf))throw new SyntaxError('The\x20\x22'+_0x401dcf+_0x208b11(0x178));_0x8fe784[_0x208b11(0x16a)](_0x401dcf),_0x2e19dc=_0x506eb8=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x2ff741);}}}if(_0x2e19dc===-0x1||_0x506eb8!==-0x1)throw new SyntaxError(_0x208b11(0x246));const _0x3e40d4=_0x2b1beb[_0x208b11(0x217)](_0x2e19dc,_0x2ff741);if(_0x8fe784[_0x208b11(0x2d7)](_0x3e40d4))throw new SyntaxError('The\x20\x22'+_0x3e40d4+_0x208b11(0x178));return _0x8fe784[_0x208b11(0x16a)](_0x3e40d4),_0x8fe784;}return Ce={'parse':_0x48c0d3},Ce;}var Te,ot;function er(){const _0x10acfa=_0xf7eb09;if(ot)return Te;ot=0x1;const _0x58f391=_0x42d902,_0x534fe4=_0x244b75,{Duplex:_0x270f2a}=_0x1c53b5,{createHash:_0x375615}=_0x18e394,_0x1b4e08=pt(),_0x189c50=he(),_0x48648d=Jt(),_0x541ec9=Ie(),{GUID:_0x1ccb94,kWebSocket:_0x1cc7ce}=V(),_0x2daab2=/^[+/0-9A-Za-z]{22}==$/,_0x5c9eae=0x0,_0x232d99=0x1,_0x57193e=0x2;class _0x2ef970 extends _0x58f391{constructor(_0xdecaa,_0x1d87e4){const _0x51b5f6=_0x2a36;if(super(),_0xdecaa={'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':_0x541ec9,..._0xdecaa},_0xdecaa[_0x51b5f6(0x197)]==null&&!_0xdecaa[_0x51b5f6(0x19a)]&&!_0xdecaa[_0x51b5f6(0x16c)]||_0xdecaa[_0x51b5f6(0x197)]!=null&&(_0xdecaa[_0x51b5f6(0x19a)]||_0xdecaa[_0x51b5f6(0x16c)])||_0xdecaa[_0x51b5f6(0x19a)]&&_0xdecaa['noServer'])throw new TypeError(_0x51b5f6(0x2bd));if(_0xdecaa[_0x51b5f6(0x197)]!=null?(this['_server']=_0x534fe4[_0x51b5f6(0x1e9)]((_0x28a1a1,_0x36c5a9)=>{const _0x4d035c=_0x51b5f6,_0x109899=_0x534fe4[_0x4d035c(0x248)][0x1aa];_0x36c5a9['writeHead'](0x1aa,{'Content-Length':_0x109899[_0x4d035c(0x17e)],'Content-Type':_0x4d035c(0x24f)}),_0x36c5a9[_0x4d035c(0x29c)](_0x109899);}),this['_server']['listen'](_0xdecaa[_0x51b5f6(0x197)],_0xdecaa[_0x51b5f6(0x2a1)],_0xdecaa[_0x51b5f6(0x13b)],_0x1d87e4)):_0xdecaa[_0x51b5f6(0x19a)]&&(this[_0x51b5f6(0x1d3)]=_0xdecaa[_0x51b5f6(0x19a)]),this['_server']){const _0x1ce6a7=this['emit'][_0x51b5f6(0x195)](this,_0x51b5f6(0x14f));this['_removeListeners']=_0x386ff5(this[_0x51b5f6(0x1d3)],{'listening':this['emit'][_0x51b5f6(0x195)](this,_0x51b5f6(0x1fe)),'error':this[_0x51b5f6(0x1d9)]['bind'](this,_0x51b5f6(0x2d9)),'upgrade':(_0xf4789e,_0x364bef,_0x303548)=>{const _0x49caed=_0x51b5f6;this[_0x49caed(0x135)](_0xf4789e,_0x364bef,_0x303548,_0x1ce6a7);}});}_0xdecaa['perMessageDeflate']===!0x0&&(_0xdecaa[_0x51b5f6(0x27a)]={}),_0xdecaa[_0x51b5f6(0x2db)]&&(this['clients']=new Set(),this[_0x51b5f6(0x214)]=!0x1),this['options']=_0xdecaa,this[_0x51b5f6(0x28a)]=_0x5c9eae;}[_0x10acfa(0x2a0)](){const _0xabe56c=_0x10acfa;if(this['options'][_0xabe56c(0x16c)])throw new Error(_0xabe56c(0x292));return this['_server']?this[_0xabe56c(0x1d3)][_0xabe56c(0x2a0)]():null;}['close'](_0x1f1479){const _0x27d41e=_0x10acfa;if(this['_state']===_0x57193e){_0x1f1479&&this[_0x27d41e(0x1aa)](_0x27d41e(0x290),()=>{const _0x13cc27=_0x27d41e;_0x1f1479(new Error(_0x13cc27(0x278)));}),process['nextTick'](_0x30498a,this);return;}if(_0x1f1479&&this[_0x27d41e(0x1aa)](_0x27d41e(0x290),_0x1f1479),this[_0x27d41e(0x28a)]!==_0x232d99){if(this['_state']=_0x232d99,this['options'][_0x27d41e(0x16c)]||this[_0x27d41e(0x281)][_0x27d41e(0x19a)])this['_server']&&(this[_0x27d41e(0x174)](),this[_0x27d41e(0x174)]=this['_server']=null),this['clients']?this[_0x27d41e(0x2d3)][_0x27d41e(0x1a5)]?this[_0x27d41e(0x214)]=!0x0:process['nextTick'](_0x30498a,this):process[_0x27d41e(0x1dd)](_0x30498a,this);else{const _0x42341f=this[_0x27d41e(0x1d3)];this[_0x27d41e(0x174)](),this[_0x27d41e(0x174)]=this[_0x27d41e(0x1d3)]=null,_0x42341f[_0x27d41e(0x290)](()=>{_0x30498a(this);});}}}[_0x10acfa(0x1eb)](_0x468f58){const _0x2aa1cd=_0x10acfa;if(this['options'][_0x2aa1cd(0x241)]){const _0x441a91=_0x468f58['url'][_0x2aa1cd(0x15d)]('?');if((_0x441a91!==-0x1?_0x468f58[_0x2aa1cd(0x1a9)][_0x2aa1cd(0x217)](0x0,_0x441a91):_0x468f58[_0x2aa1cd(0x1a9)])!==this[_0x2aa1cd(0x281)][_0x2aa1cd(0x241)])return!0x1;}return!0x0;}['handleUpgrade'](_0x53850e,_0x94658e,_0x1f371b,_0x2a39fb){const _0x45ea04=_0x10acfa;_0x94658e['on'](_0x45ea04(0x2d9),_0x544e1e);const _0x162c70=_0x53850e[_0x45ea04(0x2ba)][_0x45ea04(0x1c1)],_0x1f77a5=_0x53850e[_0x45ea04(0x2ba)][_0x45ea04(0x2ca)],_0x5695f3=+_0x53850e[_0x45ea04(0x2ba)][_0x45ea04(0x20b)];if(_0x53850e[_0x45ea04(0x15f)]!==_0x45ea04(0x1f7)){_0x35fa74(this,_0x53850e,_0x94658e,0x195,_0x45ea04(0x141));return;}if(_0x1f77a5===void 0x0||_0x1f77a5[_0x45ea04(0x234)]()!==_0x45ea04(0x16b)){_0x35fa74(this,_0x53850e,_0x94658e,0x190,_0x45ea04(0x1db));return;}if(_0x162c70===void 0x0||!_0x2daab2['test'](_0x162c70)){_0x35fa74(this,_0x53850e,_0x94658e,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header');return;}if(_0x5695f3!==0xd&&_0x5695f3!==0x8){_0x35fa74(this,_0x53850e,_0x94658e,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header',{'Sec-WebSocket-Version':'13,\x208'});return;}if(!this[_0x45ea04(0x1eb)](_0x53850e)){_0x5c3aa7(_0x94658e,0x190);return;}const _0x3520b1=_0x53850e['headers'][_0x45ea04(0x27b)];let _0x232994=new Set();if(_0x3520b1!==void 0x0)try{_0x232994=_0x48648d[_0x45ea04(0x2e6)](_0x3520b1);}catch{_0x35fa74(this,_0x53850e,_0x94658e,0x190,_0x45ea04(0x266));return;}const _0x22348a=_0x53850e[_0x45ea04(0x2ba)]['sec-websocket-extensions'],_0x5f25b8={};if(this[_0x45ea04(0x281)]['perMessageDeflate']&&_0x22348a!==void 0x0){const _0x31c7ef=new _0x189c50(this[_0x45ea04(0x281)][_0x45ea04(0x27a)],!0x0,this[_0x45ea04(0x281)][_0x45ea04(0x191)]);try{const _0xa866be=_0x1b4e08[_0x45ea04(0x2e6)](_0x22348a);_0xa866be[_0x189c50[_0x45ea04(0x15a)]]&&(_0x31c7ef[_0x45ea04(0x25e)](_0xa866be[_0x189c50[_0x45ea04(0x15a)]]),_0x5f25b8[_0x189c50[_0x45ea04(0x15a)]]=_0x31c7ef);}catch{_0x35fa74(this,_0x53850e,_0x94658e,0x190,_0x45ea04(0x2c1));return;}}if(this[_0x45ea04(0x281)][_0x45ea04(0x28c)]){const _0x51e418={'origin':_0x53850e[_0x45ea04(0x2ba)][''+(_0x5695f3===0x8?'sec-websocket-origin':'origin')],'secure':!!(_0x53850e['socket'][_0x45ea04(0x26c)]||_0x53850e[_0x45ea04(0x25d)][_0x45ea04(0x1af)]),'req':_0x53850e};if(this[_0x45ea04(0x281)][_0x45ea04(0x28c)][_0x45ea04(0x17e)]===0x2){this['options'][_0x45ea04(0x28c)](_0x51e418,(_0x121234,_0x23d990,_0x4dac7b,_0xedcca9)=>{const _0x53aca2=_0x45ea04;if(!_0x121234)return _0x5c3aa7(_0x94658e,_0x23d990||0x191,_0x4dac7b,_0xedcca9);this[_0x53aca2(0x1e5)](_0x5f25b8,_0x162c70,_0x232994,_0x53850e,_0x94658e,_0x1f371b,_0x2a39fb);});return;}if(!this[_0x45ea04(0x281)][_0x45ea04(0x28c)](_0x51e418))return _0x5c3aa7(_0x94658e,0x191);}this['completeUpgrade'](_0x5f25b8,_0x162c70,_0x232994,_0x53850e,_0x94658e,_0x1f371b,_0x2a39fb);}['completeUpgrade'](_0x54b7de,_0x27fffa,_0x258f80,_0x1fe61e,_0x2ae53b,_0x426454,_0x380f4e){const _0xa02003=_0x10acfa;if(!_0x2ae53b['readable']||!_0x2ae53b[_0xa02003(0x193)])return _0x2ae53b[_0xa02003(0x1bd)]();if(_0x2ae53b[_0x1cc7ce])throw new Error(_0xa02003(0x287));if(this['_state']>_0x5c9eae)return _0x5c3aa7(_0x2ae53b,0x1f7);const _0x1f5f46=[_0xa02003(0x295),_0xa02003(0x1d5),'Connection:\x20Upgrade',_0xa02003(0x2bf)+_0x375615(_0xa02003(0x2e4))['update'](_0x27fffa+_0x1ccb94)[_0xa02003(0x20c)](_0xa02003(0x144))],_0x33a628=new this[(_0xa02003(0x281))][(_0xa02003(0x1b3))](null,void 0x0,this[_0xa02003(0x281)]);if(_0x258f80[_0xa02003(0x1a5)]){const _0x5564ea=this[_0xa02003(0x281)][_0xa02003(0x1bf)]?this[_0xa02003(0x281)][_0xa02003(0x1bf)](_0x258f80,_0x1fe61e):_0x258f80[_0xa02003(0x224)]()[_0xa02003(0x232)]()[_0xa02003(0x1f5)];_0x5564ea&&(_0x1f5f46[_0xa02003(0x20a)](_0xa02003(0x1ba)+_0x5564ea),_0x33a628[_0xa02003(0x16e)]=_0x5564ea);}if(_0x54b7de[_0x189c50[_0xa02003(0x15a)]]){const _0x4bcf19=_0x54b7de[_0x189c50['extensionName']][_0xa02003(0x198)],_0x2744f6=_0x1b4e08[_0xa02003(0x140)]({[_0x189c50[_0xa02003(0x15a)]]:[_0x4bcf19]});_0x1f5f46[_0xa02003(0x20a)](_0xa02003(0x237)+_0x2744f6),_0x33a628[_0xa02003(0x21e)]=_0x54b7de;}this[_0xa02003(0x1d9)](_0xa02003(0x2ba),_0x1f5f46,_0x1fe61e),_0x2ae53b[_0xa02003(0x19b)](_0x1f5f46[_0xa02003(0x1da)]('\x0d\x0a')[_0xa02003(0x27f)]('\x0d\x0a')),_0x2ae53b[_0xa02003(0x149)](_0xa02003(0x2d9),_0x544e1e),_0x33a628[_0xa02003(0x157)](_0x2ae53b,_0x426454,{'allowSynchronousEvents':this[_0xa02003(0x281)][_0xa02003(0x2b7)],'maxPayload':this['options'][_0xa02003(0x191)],'skipUTF8Validation':this[_0xa02003(0x281)][_0xa02003(0x2cf)]}),this[_0xa02003(0x2d3)]&&(this[_0xa02003(0x2d3)][_0xa02003(0x16a)](_0x33a628),_0x33a628['on']('close',()=>{const _0x42b53b=_0xa02003;this['clients'][_0x42b53b(0x2dc)](_0x33a628),this[_0x42b53b(0x214)]&&!this['clients'][_0x42b53b(0x1a5)]&&process[_0x42b53b(0x1dd)](_0x30498a,this);})),_0x380f4e(_0x33a628,_0x1fe61e);}}Te=_0x2ef970;function _0x386ff5(_0x242960,_0x2c1aab){const _0x37624b=_0x10acfa;for(const _0x5737a2 of Object[_0x37624b(0x212)](_0x2c1aab))_0x242960['on'](_0x5737a2,_0x2c1aab[_0x5737a2]);return function(){const _0xcf3634=_0x37624b;for(const _0x4a2de4 of Object[_0xcf3634(0x212)](_0x2c1aab))_0x242960[_0xcf3634(0x149)](_0x4a2de4,_0x2c1aab[_0x4a2de4]);};}function _0x30498a(_0x2ddd0a){const _0x182d04=_0x10acfa;_0x2ddd0a[_0x182d04(0x28a)]=_0x57193e,_0x2ddd0a[_0x182d04(0x1d9)](_0x182d04(0x290));}function _0x544e1e(){this['destroy']();}function _0x5c3aa7(_0x370d3b,_0x5d4d55,_0xbaffc,_0x27a2df){const _0x36f524=_0x10acfa;_0xbaffc=_0xbaffc||_0x534fe4[_0x36f524(0x248)][_0x5d4d55],_0x27a2df={'Connection':_0x36f524(0x290),'Content-Type':'text/html','Content-Length':Buffer[_0x36f524(0x16f)](_0xbaffc),..._0x27a2df},_0x370d3b[_0x36f524(0x1aa)](_0x36f524(0x19e),_0x370d3b[_0x36f524(0x1bd)]),_0x370d3b[_0x36f524(0x29c)]('HTTP/1.1\x20'+_0x5d4d55+'\x20'+_0x534fe4[_0x36f524(0x248)][_0x5d4d55]+'\x0d\x0a'+Object['keys'](_0x27a2df)[_0x36f524(0x245)](_0x212eaf=>_0x212eaf+':\x20'+_0x27a2df[_0x212eaf])[_0x36f524(0x27f)]('\x0d\x0a')+_0x36f524(0x181)+_0xbaffc);}function _0x35fa74(_0x4e8d07,_0x536baa,_0x47946a,_0x1ee9c1,_0x567a88,_0x93e8cf){const _0x92f1bb=_0x10acfa;if(_0x4e8d07[_0x92f1bb(0x151)]('wsClientError')){const _0x4e607f=new Error(_0x567a88);Error[_0x92f1bb(0x147)](_0x4e607f,_0x35fa74),_0x4e8d07[_0x92f1bb(0x1d9)](_0x92f1bb(0x1d4),_0x4e607f,_0x47946a,_0x536baa);}else _0x5c3aa7(_0x47946a,_0x1ee9c1,_0x567a88,_0x93e8cf);}return Te;}er();var tr=Object[_0xf7eb09(0x1f4)],rr=(_0x3dc8c3,_0xc94805,_0x1fb3d1,_0x3bc296)=>{const _0x2c4945=_0xf7eb09;for(var _0xecb59c=_0x3bc296>0x1?void 0x0:_0x3bc296?tr(_0xc94805,_0x1fb3d1):_0xc94805,_0x29b992=_0x3dc8c3[_0x2c4945(0x17e)]-0x1,_0x46ee30;_0x29b992>=0x0;_0x29b992--)(_0x46ee30=_0x3dc8c3[_0x29b992])&&(_0xecb59c=_0x46ee30(_0xecb59c)||_0xecb59c);return _0xecb59c;},sr=(_0x21e93f,_0x335941)=>(_0x439169,_0x30a84a)=>_0x335941(_0x439169,_0x30a84a,_0x21e93f);let Ne=class extends _0x11032c{constructor(_0x283d4c){super(),this['_configService']=_0x283d4c;}[_0xf7eb09(0x148)](_0x514af2){const _0x7bef77=_0xf7eb09;var _0x344109;const _0x52d9b9=(_0x344109=this['_configService'][_0x7bef77(0x2c5)](Be))==null?void 0x0:_0x344109['customHeaders'];try{const _0xb929c1=new Qt(_0x514af2,{'headers':{..._0x52d9b9}}),_0x35a52f=new _0x2cdf21();return{'URL':_0x514af2,'close':(_0x4b65af,_0x50f932)=>{const _0x276d82=_0x7bef77;_0xb929c1[_0x276d82(0x290)](_0x4b65af,_0x50f932),_0x35a52f['dispose']();},'send':_0x3ed6ab=>{const _0x2f1102=_0x7bef77;_0xb929c1[_0x2f1102(0x184)](_0x3ed6ab);},'open$':new _0x523e61(_0x1803d2=>{const _0x35f3b3=_0x7bef77,_0x19d199=_0x921543=>_0x1803d2['next'](_0x921543);_0xb929c1[_0x35f3b3(0x137)]('open',_0x19d199),_0x35a52f[_0x35f3b3(0x16a)](_0x2828ac(()=>_0xb929c1[_0x35f3b3(0x29d)](_0x35f3b3(0x146),_0x19d199)));})[_0x7bef77(0x2c3)](_0x52bfaa()),'close$':new _0x523e61(_0x42e54d=>{const _0x5e9bc7=_0x7bef77,_0x2012b7=_0x198357=>_0x42e54d[_0x5e9bc7(0x232)](_0x198357);_0xb929c1[_0x5e9bc7(0x137)](_0x5e9bc7(0x290),_0x2012b7),_0x35a52f[_0x5e9bc7(0x16a)](_0x2828ac(()=>_0xb929c1[_0x5e9bc7(0x29d)](_0x5e9bc7(0x290),_0x2012b7)));})[_0x7bef77(0x2c3)](_0x52bfaa()),'error$':new _0x523e61(_0xf348d=>{const _0xcd73de=_0x7bef77,_0x19c18a=_0x51730=>_0xf348d[_0xcd73de(0x232)](_0x51730);_0xb929c1[_0xcd73de(0x137)](_0xcd73de(0x2d9),_0x19c18a),_0x35a52f[_0xcd73de(0x16a)](_0x2828ac(()=>_0xb929c1[_0xcd73de(0x29d)](_0xcd73de(0x2d9),_0x19c18a)));})[_0x7bef77(0x2c3)](_0x52bfaa()),'message$':new _0x523e61(_0x510e5c=>{const _0x514ac9=_0x7bef77,_0x21e34d=_0x2cfb94=>_0x510e5c[_0x514ac9(0x232)](_0x2cfb94);_0xb929c1[_0x514ac9(0x137)]('message',_0x21e34d),_0x35a52f[_0x514ac9(0x16a)](_0x2828ac(()=>_0xb929c1[_0x514ac9(0x29d)](_0x514ac9(0x2b5),_0x21e34d)));})[_0x7bef77(0x2c3)](_0x52bfaa())};}catch(_0x14b6dc){return console['error'](_0x14b6dc),null;}}};Ne=rr([sr(0x0,_0x32d527)],Ne);var ir=Object['defineProperty'],nr=Object[_0xf7eb09(0x1f4)],or=(_0xa787b4,_0x43139b,_0xc16184)=>_0x43139b in _0xa787b4?ir(_0xa787b4,_0x43139b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xc16184}):_0xa787b4[_0x43139b]=_0xc16184,ar=(_0x2a2130,_0x12c6b8,_0x4aed9f,_0xd2480d)=>{for(var _0x3b63f0=_0xd2480d>0x1?void 0x0:_0xd2480d?nr(_0x12c6b8,_0x4aed9f):_0x12c6b8,_0x118c6d=_0x2a2130['length']-0x1,_0x3d029e;_0x118c6d>=0x0;_0x118c6d--)(_0x3d029e=_0x2a2130[_0x118c6d])&&(_0x3b63f0=_0x3d029e(_0x3b63f0)||_0x3b63f0);return _0x3b63f0;},ke=(_0x41ff37,_0x14fc28)=>(_0x370214,_0xd87838)=>_0x14fc28(_0x370214,_0xd87838,_0x41ff37),lr=(_0x1065d7,_0x4342c7,_0x215938)=>or(_0x1065d7,_0x4342c7+'',_0x215938);let Pe=class extends _0x366db9{constructor(_0x136a79=Ft,_0x123bf0,_0x353811,_0x165b23){const _0x18cb78=_0xf7eb09;_0x136a79[_0x18cb78(0x2a4)]||_0x123bf0[_0x18cb78(0x186)](_0x18cb78(0x250)),super(),this[_0x18cb78(0x1cf)]=_0x353811,this[_0x18cb78(0x185)]=_0x165b23,this[_0x18cb78(0x1cf)][_0x18cb78(0x1e6)](Be,_0x136a79);}[_0xf7eb09(0x29a)](){const _0x3ee82d=_0xf7eb09;this[_0x3ee82d(0x15b)]();}[_0xf7eb09(0x15b)](){const _0x1b44ea=_0xf7eb09;_0x3d3330(this[_0x1b44ea(0x185)],[[_0x417f0b,{'useClass':Ne}]]);}};lr(Pe,_0xf7eb09(0x28e),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),Pe=ar([_0x2494f4(_0x557109),ke(0x1,_0x5becdf),ke(0x2,_0x32d527),ke(0x3,_0x322627(_0x10dcce))],Pe);var fr=Object[_0xf7eb09(0x1f4)],cr=(_0x11cc68,_0x25e905,_0x1d2934,_0x2b33d6)=>{const _0x5a2b2f=_0xf7eb09;for(var _0x23eff5=_0x2b33d6>0x1?void 0x0:_0x2b33d6?fr(_0x25e905,_0x1d2934):_0x25e905,_0x4c579a=_0x11cc68[_0x5a2b2f(0x17e)]-0x1,_0x185eaf;_0x4c579a>=0x0;_0x4c579a--)(_0x185eaf=_0x11cc68[_0x4c579a])&&(_0x23eff5=_0x185eaf(_0x23eff5)||_0x23eff5);return _0x23eff5;},se=(_0x56cee6,_0x4c0b2b)=>(_0x40f8a0,_0x2b22b4)=>_0x4c0b2b(_0x40f8a0,_0x2b22b4,_0x56cee6);let at=class extends _0x35feb4{constructor(_0x94d193,_0x3bf9f2,_0x284e84,_0x36c893,_0xea10a5){const _0x1ecc16=_0xf7eb09;super(_0x94d193,_0x3bf9f2,_0x284e84,_0x36c893,_0xea10a5);const _0x239539=this[_0x1ecc16(0x1cf)]['getConfig'](Be);this[_0x1ecc16(0x1cc)][_0x1ecc16(0x2e0)]({'interceptor':(_0x2d9f66,_0x563e99)=>{const _0x5419e2=_0x1ecc16;var _0x17019f;const _0x5cdb93=_0x2d9f66[_0x5419e2(0x2ba)];return(_0x17019f=_0x239539==null?void 0x0:_0x239539[_0x5419e2(0x2a4)])!=null&&_0x17019f[_0x5419e2(0x203)]&&_0x5cdb93[_0x5419e2(0x21f)](_0x5419e2(0x1e3),_0x239539['customHeaders'][_0x5419e2(0x203)]),_0x563e99(_0x2d9f66);}});}async['createSocket'](_0xf56618){return this['_doCreateSocket'](_0xf56618);}};at=cr([se(0x0,_0x322627(_0x10dcce)),se(0x1,_0x322627(_0xa584b)),se(0x2,_0x32d527),se(0x3,_0x5becdf),se(0x4,_0xb9b99e)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};