@univerjs-pro/collaboration-client-node 0.10.2 → 0.10.3-experimental.20250812-b4b6f1a

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.js CHANGED
@@ -1 +1 @@
1
- const _0x4573dd=_0x5cf4;(function(_0x5d3cd7,_0x1120dc){const _0x2b2a32=_0x5cf4,_0x31109a=_0x5d3cd7();while(!![]){try{const _0x436dee=parseInt(_0x2b2a32(0x1d7))/0x1+parseInt(_0x2b2a32(0x20f))/0x2+-parseInt(_0x2b2a32(0x34f))/0x3+parseInt(_0x2b2a32(0x1ff))/0x4*(-parseInt(_0x2b2a32(0x2d0))/0x5)+parseInt(_0x2b2a32(0x1f3))/0x6*(-parseInt(_0x2b2a32(0x258))/0x7)+-parseInt(_0x2b2a32(0x2fe))/0x8*(-parseInt(_0x2b2a32(0x1fc))/0x9)+-parseInt(_0x2b2a32(0x20d))/0xa*(-parseInt(_0x2b2a32(0x2f1))/0xb);if(_0x436dee===_0x1120dc)break;else _0x31109a['push'](_0x31109a['shift']());}catch(_0x109582){_0x31109a['push'](_0x31109a['shift']());}}}(_0x58db,0x22384));import{UniverCollaborationClientPlugin as _0xd2836d,CollaborationSocketService as _0x54368a}from'@univerjs-pro/collaboration-client';import{Disposable as _0x45a1d6,DisposableCollection as _0x1a0095,toDisposable as _0xe543bd,IConfigService as _0x3d50f1,DependentOn as _0x6d079,ILogService as _0x40ea35,Inject as _0x399293,Injector as _0x590e27,Plugin as _0x245424,registerDependencies as _0x2cc219}from'@univerjs/core';import{ISocketService as _0x358938,HTTPService as _0x16d200}from'@univerjs/network';import{Observable as _0x363113,share as _0x96221d}from'rxjs';import _0xc8b08e from'events';import _0x5e382d from'https';import _0x49d0a7 from'http';import _0x1d2aae from'net';import _0x606e98 from'tls';import _0x1469aa from'crypto';import _0x3f0855 from'stream';import _0x50e69b from'url';import _0x3a3315 from'zlib';import _0x3cef7a from'buffer';function _0x58db(){const _0x317abf=['kWasClean','concat','headers','sha1','callback','_opcode','close','onerror','WS_NO_UTF_8_VALIDATE','WS_ERR_UNEXPECTED_RSV_1','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','open','Unexpected\x20character\x20at\x20index\x20','WS_NO_BUFFER_UTIL','onopen','hostname','abort','isInteger','upgrade','connect','registerHTTPInterceptor','get','sec-websocket-accept','prototype','189678xmMOIk','_extensions','extensions','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','total-length','digest','createError','search','value','writeUIntBE','cleanup','defaultPort','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','CLOSED','Invalid\x20Upgrade\x20header','pending','destroyed','startsWith','clientNoContextTakeover','_registerDependencies','removeEventListener','startLoop','isPaused','exports','handleProtocols','_socket','wasClean','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','6slpAxz','_max_window_bits','serverNoContextTakeover','readyState','accept','end','The\x20URL\x20contains\x20a\x20fragment\x20identifier','socketPath','_sender','526275mXzzgx','finished','removeListener','20TlADZL','Connection:\x20Upgrade','needDrain','OPEN','Unexpected\x20end\x20of\x20input','errorEmitted','servername','server','setConfig','Server\x20sent\x20no\x20subprotocol','binaryType','cookie','_queue','Sec-WebSocket-Accept:\x20','349420XZtTKJ','destroy','103144ecsWyt','createServer','setTimeout','statusCode','getData','nodebuffer','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','_binaryType','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','_mask','socket','jobs','getPayloadLength64','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','_originalIpc','listeners','_final','Invalid\x20Sec-WebSocket-Extensions\x20header','length','_writableState','HTTP/1.1\x20101\x20Switching\x20Protocols','byteOffset','href','read','customHeaders','removeAllListeners','_fragments','_shouldEmitClose','_server','text/html','listenerCount','sec-websocket-protocol','maxPayload','_errorEmitted','STATUS_CODES','reset','HTTP/1.1\x20','getBlobData','arrayBuffer','13,\x208','controlMessage','error','maskBuffer','write','_url','bind','normalizeParams','perMessageDeflate','sec-websocket-version','target','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','handshakeTimeout','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','isIP','update','maxRedirects','default','The\x20URL\x27s\x20protocol\x20must\x20be\x20one\x20of\x20\x22ws:\x22,\x20\x22wss:\x22,\x20\x22http:\x22,\x20\x22https:\x22,\x20or\x20\x22ws+unix:\x22','apply','env','_closeFrameReceived','alloc','Upgrade','_paused','Max\x20payload\x20size\x20exceeded','_maxPayload','WebSocket','blob','kByteLength','_allowSynchronousEvents','serverMaxWindowBits','timeout','message','1439242lubzFO','toLowerCase','clientMaxWindowBits','Z_DEFAULT_WINDOWBITS','server_max_window_bits','getOwnPropertyDescriptor','_bufferedAmount','zlibDeflateOptions','freeze','_receiver','WS_ERR_EXPECTED_MASK','drain','method','_autoPong','kRun','createInflateRaw','resume','kTarget','clients','keys','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','Sec-WebSocket-Protocol:\x20','CONNECTING','handleUpgrade','dispose','setSocket','connection','emitClose','hasOwnProperty','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','GET','push','Unknown\x20parameter\x20\x22','_payloadLength','toStringTag','_skipUTF8Validation','nextTick','readUInt16BE','allocUnsafe','dataMessage','Unsupported\x20protocol\x20version:\x20','Invalid\x20HTTP\x20method','unmask','replace','_decompress','_errored','Sec-WebSocket-Protocol','reason','readable','ws:','client_no_context_takeover','_closeFrameSent','forEach','WS_ERR_INVALID_CLOSE_CODE','kIsForOnEventAttribute','Sec-WebSocket-Extensions:\x20','_redirects','_firstFragment','noServer','extensionName','test','_maskBuffer','status-code','arraybuffer','_masked','redirect','_compressed','The\x20\x22','handleEvent','isView','string','allowSynchronousEvents','sendFrame','offer','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','autoPong','_deflate','listen','WS_ERR_INVALID_UTF8','finish','byteLength','client_max_window_bits','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','threshold','_fragmented','server_no_context_takeover','getPayloadLength16','_totalPayloadLength','_fin','authorization','unexpected-response','_protocol','code','endEmitted','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','_generateMask','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','_readyState','Origin','Invalid\x20Sec-WebSocket-Protocol\x20header','flush','RSV1\x20must\x20be\x20clear','kDone','once','_destroy','skipUTF8Validation','generateMask','wss:','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','createSocket','setNoDelay','buffers','slice','_threshold','then','opcode','defineProperty','zlibInflateOptions','objectMode','ws+unix:','64085IQSTCL','concurrency','_bufferedBytes','collaboration-client-node.config','create','dispatch','pipe','websocket','ping','getMask','\x22\x20subprotocol\x20is\x20duplicated','_compress','isArray','port','_read','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','add','permessage-deflate','charCodeAt','params','_isServer','_injector','WS_ERR_EXPECTED_FIN','size','_readableState','conclude','number','_originalSecure','request','_removeListeners','_closeCode','client','emit','88aDsrbc','compress','pause','send','type','enqueue','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','sec-websocket-extensions','constructor','hash','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','uncork','next','8aTcBdZ','shift','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','Invalid\x20value\x20for\x20parameter\x20\x22','decompress','toString','Module','_buffers','entries','_configService','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','authorized','fin','_req','split','The\x20URL\x27s\x20pathname\x20is\x20empty','encrypted','writeUInt16BE','includes','path','Z_SYNC_FLUSH','has','_write','acceptAsClient','protocolVersion','indexOf','Sec-WebSocket-Extensions','invalid\x20UTF-8\x20sequence','_closeMessage','protocol','isValidUTF8','onclose','Invalid\x20URL:\x20','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','__esModule','username','pathname','password','species','captureStackTrace','address','mask','addEventListener','kError','response','isServer','completeUpgrade','construct','invalid\x20status\x20code\x20','from','_options','File','url','CLOSING','warn','consume','_state','host','kCode','\x22:\x20','verifyClient','kListener','_originalHostOrSocketPath','Parameter\x20\x22','map','auth','followRedirects','shouldHandle','_messageLength','Unexpected\x20server\x20response:\x20','wsClientError','pong','_no_context_takeover','\x20(supported\x20versions:\x20','invalid\x20opcode\x20','rsv1','getInfo','haveLength','frame','concurrencyLimit','508218NpdwaT','pow','function','Maximum\x20redirects\x20exceeded','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','Invalid\x20WebSocket\x20frame:\x20','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','setHeader','Invalid\x20Sec-WebSocket-Accept\x20header','base64','buffer','origin','acceptAsServer','data','location','_closeTimer','options','kReason','stream','_doCreateSocket','parse','_loop','readOnly','set','WS_ERR_INVALID_OPCODE','_inflate','https:','dequeue','Cookie','getConfig','bufferedAmount','call','clientTracking','sec-websocket-origin','Sec-WebSocket-Origin','join','object'];_0x58db=function(){return _0x317abf;};return _0x58db();}import{ISnapshotServerService as _0x7885ea}from'@univerjs-pro/collaboration';const Be=_0x4573dd(0x2d3),Ft={'customHeaders':{}};function Wt(_0x1ae270){const _0x2a1989=_0x4573dd;return _0x1ae270&&_0x1ae270[_0x2a1989(0x321)]&&Object[_0x2a1989(0x1d6)][_0x2a1989(0x274)][_0x2a1989(0x1b9)](_0x1ae270,_0x2a1989(0x247))?_0x1ae270[_0x2a1989(0x247)]:_0x1ae270;}function ut(_0x28aafa){const _0xc68da8=_0x4573dd;if(Object[_0xc68da8(0x1d6)][_0xc68da8(0x274)][_0xc68da8(0x1b9)](_0x28aafa,_0xc68da8(0x321)))return _0x28aafa;var _0x1a3977=_0x28aafa[_0xc68da8(0x247)];if(typeof _0x1a3977==_0xc68da8(0x351)){var _0x2efbb3=function _0x24f859(){const _0x5b4a3a=_0xc68da8;var _0x291399=!0x1;try{_0x291399=this instanceof _0x24f859;}catch{}return _0x291399?Reflect[_0x5b4a3a(0x32e)](_0x1a3977,arguments,this[_0x5b4a3a(0x2f9)]):_0x1a3977[_0x5b4a3a(0x249)](this,arguments);};_0x2efbb3[_0xc68da8(0x1d6)]=_0x1a3977['prototype'];}else _0x2efbb3={};return Object[_0xc68da8(0x2cc)](_0x2efbb3,_0xc68da8(0x321),{'value':!0x0}),Object[_0xc68da8(0x26b)](_0x28aafa)[_0xc68da8(0x28c)](function(_0x1dbd6c){const _0x59491d=_0xc68da8;var _0x32d928=Object[_0x59491d(0x25d)](_0x28aafa,_0x1dbd6c);Object[_0x59491d(0x2cc)](_0x2efbb3,_0x1dbd6c,_0x32d928[_0x59491d(0x1d4)]?_0x32d928:{'enumerable':!0x0,'get':function(){return _0x28aafa[_0x1dbd6c];}});}),_0x2efbb3;}var te={'exports':{}},ge,Ye;function V(){const _0x251a40=_0x4573dd;if(Ye)return ge;Ye=0x1;const _0x5989c7=[_0x251a40(0x214),_0x251a40(0x297),'fragments'],_0x9f9b7d=typeof Blob<'u';return _0x9f9b7d&&_0x5989c7[_0x251a40(0x277)](_0x251a40(0x252)),ge={'BINARY_TYPES':_0x5989c7,'EMPTY_BUFFER':Buffer[_0x251a40(0x24c)](0x0),'GUID':'258EAFA5-E914-47DA-95CA-C5AB0DC85B11','hasBlob':_0x9f9b7d,'kForOnEventAttribute':Symbol(_0x251a40(0x28e)),'kListener':Symbol(_0x251a40(0x33c)),'kStatusCode':Symbol(_0x251a40(0x296)),'kWebSocket':Symbol('websocket'),'NOOP':()=>{}},ge;}const jt={},Gt=Object[_0x4573dd(0x260)](Object[_0x4573dd(0x2cc)]({'__proto__':null,'default':jt},Symbol['toStringTag'],{'value':'Module'})),Vt=ut(Gt);var Ke;function ce(){const _0x227ab2=_0x4573dd;if(Ke)return te[_0x227ab2(0x1ee)];Ke=0x1;const {EMPTY_BUFFER:_0xe9960d}=V(),_0x3d8f4c=Buffer[Symbol[_0x227ab2(0x325)]];function _0x30a1c2(_0x532487,_0x4dd7b1){const _0x2e3e1f=_0x227ab2;if(_0x532487[_0x2e3e1f(0x221)]===0x0)return _0xe9960d;if(_0x532487[_0x2e3e1f(0x221)]===0x1)return _0x532487[0x0];const _0x5e6eef=Buffer['allocUnsafe'](_0x4dd7b1);let _0x5221f8=0x0;for(let _0x211d34=0x0;_0x211d34<_0x532487[_0x2e3e1f(0x221)];_0x211d34++){const _0x1cba95=_0x532487[_0x211d34];_0x5e6eef['set'](_0x1cba95,_0x5221f8),_0x5221f8+=_0x1cba95['length'];}return _0x5221f8<_0x4dd7b1?new _0x3d8f4c(_0x5e6eef[_0x2e3e1f(0x359)],_0x5e6eef[_0x2e3e1f(0x224)],_0x5221f8):_0x5e6eef;}function _0x5de331(_0x2e62f9,_0x27b14f,_0x58db8d,_0x46cc1c,_0x5e6f88){for(let _0x245cf0=0x0;_0x245cf0<_0x5e6f88;_0x245cf0++)_0x58db8d[_0x46cc1c+_0x245cf0]=_0x2e62f9[_0x245cf0]^_0x27b14f[_0x245cf0&0x3];}function _0xd1b354(_0x24da67,_0x51bff8){const _0x53b5fb=_0x227ab2;for(let _0x572b39=0x0;_0x572b39<_0x24da67[_0x53b5fb(0x221)];_0x572b39++)_0x24da67[_0x572b39]^=_0x51bff8[_0x572b39&0x3];}function _0x12ecaf(_0x22cb3b){const _0x26d273=_0x227ab2;return _0x22cb3b[_0x26d273(0x221)]===_0x22cb3b['buffer'][_0x26d273(0x2a8)]?_0x22cb3b[_0x26d273(0x359)]:_0x22cb3b['buffer'][_0x26d273(0x2c8)](_0x22cb3b['byteOffset'],_0x22cb3b[_0x26d273(0x224)]+_0x22cb3b[_0x26d273(0x221)]);}function _0x574cb6(_0x498f29){const _0x410a27=_0x227ab2;if(_0x574cb6['readOnly']=!0x0,Buffer['isBuffer'](_0x498f29))return _0x498f29;let _0x4e7238;return _0x498f29 instanceof ArrayBuffer?_0x4e7238=new _0x3d8f4c(_0x498f29):ArrayBuffer[_0x410a27(0x29d)](_0x498f29)?_0x4e7238=new _0x3d8f4c(_0x498f29['buffer'],_0x498f29[_0x410a27(0x224)],_0x498f29[_0x410a27(0x2a8)]):(_0x4e7238=Buffer[_0x410a27(0x330)](_0x498f29),_0x574cb6['readOnly']=!0x1),_0x4e7238;}if(te[_0x227ab2(0x1ee)]={'concat':_0x30a1c2,'mask':_0x5de331,'toArrayBuffer':_0x12ecaf,'toBuffer':_0x574cb6,'unmask':_0xd1b354},!process[_0x227ab2(0x24a)][_0x227ab2(0x1cc)])try{const _0x13d789=Vt;te[_0x227ab2(0x1ee)]['mask']=function(_0x4cf062,_0x420e01,_0xddfb55,_0x4d7241,_0x1e9315){_0x1e9315<0x30?_0x5de331(_0x4cf062,_0x420e01,_0xddfb55,_0x4d7241,_0x1e9315):_0x13d789['mask'](_0x4cf062,_0x420e01,_0xddfb55,_0x4d7241,_0x1e9315);},te[_0x227ab2(0x1ee)][_0x227ab2(0x282)]=function(_0x3ab25f,_0x5f3b57){const _0x21a4fe=_0x227ab2;_0x3ab25f[_0x21a4fe(0x221)]<0x20?_0xd1b354(_0x3ab25f,_0x5f3b57):_0x13d789[_0x21a4fe(0x282)](_0x3ab25f,_0x5f3b57);};}catch{}return te[_0x227ab2(0x1ee)];}var ye,Xe;function qt(){const _0x5bc276=_0x4573dd;if(Xe)return ye;Xe=0x1;const _0x250326=Symbol(_0x5bc276(0x2be)),_0x29839e=Symbol(_0x5bc276(0x266));class _0x5c55e9{constructor(_0x1b8d80){const _0x271175=_0x5bc276;this[_0x250326]=()=>{this['pending']--,this[_0x29839e]();},this[_0x271175(0x2d1)]=_0x1b8d80||0x1/0x0,this[_0x271175(0x21a)]=[],this[_0x271175(0x1e6)]=0x0;}[_0x5bc276(0x2e0)](_0x33e6aa){const _0x3b7858=_0x5bc276;this[_0x3b7858(0x21a)][_0x3b7858(0x277)](_0x33e6aa),this[_0x29839e]();}[_0x29839e](){const _0x442b40=_0x5bc276;if(this['pending']!==this[_0x442b40(0x2d1)]&&this['jobs'][_0x442b40(0x221)]){const _0x28154c=this[_0x442b40(0x21a)][_0x442b40(0x2ff)]();this['pending']++,_0x28154c(this[_0x250326]);}}}return ye=_0x5c55e9,ye;}var ve,Ze;function he(){const _0x395497=_0x4573dd;if(Ze)return ve;Ze=0x1;const _0x34bbb1=_0x3a3315,_0x5d9e90=ce(),_0x488f4f=qt(),{kStatusCode:_0x439580}=V(),_0x42d847=Buffer[Symbol[_0x395497(0x325)]],_0x3cd154=Buffer['from']([0x0,0x0,0xff,0xff]),_0x447c1b=Symbol(_0x395497(0x2e1)),_0x521158=Symbol(_0x395497(0x1db)),_0x5e7f54=Symbol(_0x395497(0x1c3)),_0x15b0ff=Symbol(_0x395497(0x2c7)),_0x590615=Symbol(_0x395497(0x238));let _0x2e7a94;class _0x401ccf{constructor(_0x38f97f,_0x1fe232,_0x315ace){const _0x175eaa=_0x395497;if(this[_0x175eaa(0x250)]=_0x315ace|0x0,this[_0x175eaa(0x331)]=_0x38f97f||{},this[_0x175eaa(0x2c9)]=this[_0x175eaa(0x331)][_0x175eaa(0x2ab)]!==void 0x0?this[_0x175eaa(0x331)][_0x175eaa(0x2ab)]:0x400,this[_0x175eaa(0x2e4)]=!!_0x1fe232,this[_0x175eaa(0x2a4)]=null,this[_0x175eaa(0x1b3)]=null,this[_0x175eaa(0x2e3)]=null,!_0x2e7a94){const _0x2114d4=this['_options']['concurrencyLimit']!==void 0x0?this['_options'][_0x175eaa(0x34e)]:0xa;_0x2e7a94=new _0x488f4f(_0x2114d4);}}static get[_0x395497(0x293)](){const _0x137dc9=_0x395497;return _0x137dc9(0x2e1);}[_0x395497(0x2a1)](){const _0x175f15=_0x395497,_0x2096b7={};return this['_options']['serverNoContextTakeover']&&(_0x2096b7[_0x175f15(0x2ad)]=!0x0),this[_0x175f15(0x331)]['clientNoContextTakeover']&&(_0x2096b7[_0x175f15(0x28a)]=!0x0),this[_0x175f15(0x331)]['serverMaxWindowBits']&&(_0x2096b7[_0x175f15(0x25c)]=this[_0x175f15(0x331)][_0x175f15(0x255)]),this[_0x175f15(0x331)][_0x175f15(0x25a)]?_0x2096b7[_0x175f15(0x2a9)]=this[_0x175f15(0x331)][_0x175f15(0x25a)]:this[_0x175f15(0x331)][_0x175f15(0x25a)]==null&&(_0x2096b7[_0x175f15(0x2a9)]=!0x0),_0x2096b7;}[_0x395497(0x1f7)](_0x5466ec){const _0x298767=_0x395497;return _0x5466ec=this[_0x298767(0x23d)](_0x5466ec),this[_0x298767(0x2e3)]=this[_0x298767(0x2e4)]?this[_0x298767(0x35b)](_0x5466ec):this[_0x298767(0x316)](_0x5466ec),this[_0x298767(0x2e3)];}[_0x395497(0x1e1)](){const _0x3d1a52=_0x395497;if(this['_inflate']&&(this[_0x3d1a52(0x1b3)]['close'](),this[_0x3d1a52(0x1b3)]=null),this[_0x3d1a52(0x2a4)]){const _0x69d23=this[_0x3d1a52(0x2a4)][_0x5e7f54];this['_deflate'][_0x3d1a52(0x1c5)](),this['_deflate']=null,_0x69d23&&_0x69d23(new Error(_0x3d1a52(0x301)));}}[_0x395497(0x35b)](_0x151d81){const _0x2b2dcf=_0x395497,_0x51a318=this[_0x2b2dcf(0x331)],_0x493d0a=_0x151d81['find'](_0x3e22fd=>!(_0x51a318['serverNoContextTakeover']===!0x1&&_0x3e22fd[_0x2b2dcf(0x2ad)]||_0x3e22fd[_0x2b2dcf(0x25c)]&&(_0x51a318[_0x2b2dcf(0x255)]===!0x1||typeof _0x51a318['serverMaxWindowBits']=='number'&&_0x51a318[_0x2b2dcf(0x255)]>_0x3e22fd[_0x2b2dcf(0x25c)])||typeof _0x51a318[_0x2b2dcf(0x25a)]==_0x2b2dcf(0x2ea)&&!_0x3e22fd['client_max_window_bits']));if(!_0x493d0a)throw new Error(_0x2b2dcf(0x1e3));return _0x51a318[_0x2b2dcf(0x1f5)]&&(_0x493d0a['server_no_context_takeover']=!0x0),_0x51a318[_0x2b2dcf(0x1e9)]&&(_0x493d0a[_0x2b2dcf(0x28a)]=!0x0),typeof _0x51a318[_0x2b2dcf(0x255)]==_0x2b2dcf(0x2ea)&&(_0x493d0a[_0x2b2dcf(0x25c)]=_0x51a318[_0x2b2dcf(0x255)]),typeof _0x51a318[_0x2b2dcf(0x25a)]=='number'?_0x493d0a[_0x2b2dcf(0x2a9)]=_0x51a318['clientMaxWindowBits']:(_0x493d0a['client_max_window_bits']===!0x0||_0x51a318['clientMaxWindowBits']===!0x1)&&delete _0x493d0a[_0x2b2dcf(0x2a9)],_0x493d0a;}['acceptAsClient'](_0x4b8e58){const _0x1313fe=_0x395497,_0x3b0204=_0x4b8e58[0x0];if(this[_0x1313fe(0x331)]['clientNoContextTakeover']===!0x1&&_0x3b0204[_0x1313fe(0x28a)])throw new Error(_0x1313fe(0x309));if(!_0x3b0204['client_max_window_bits'])typeof this['_options']['clientMaxWindowBits']==_0x1313fe(0x2ea)&&(_0x3b0204['client_max_window_bits']=this['_options']['clientMaxWindowBits']);else{if(this[_0x1313fe(0x331)][_0x1313fe(0x25a)]===!0x1||typeof this[_0x1313fe(0x331)][_0x1313fe(0x25a)]==_0x1313fe(0x2ea)&&_0x3b0204[_0x1313fe(0x2a9)]>this['_options'][_0x1313fe(0x25a)])throw new Error(_0x1313fe(0x2f7));}return _0x3b0204;}[_0x395497(0x23d)](_0x44b716){const _0x60cb98=_0x395497;return _0x44b716[_0x60cb98(0x28c)](_0x43b4d6=>{const _0x5ab052=_0x60cb98;Object[_0x5ab052(0x26b)](_0x43b4d6)[_0x5ab052(0x28c)](_0x395795=>{const _0x1974f8=_0x5ab052;let _0x5ab95d=_0x43b4d6[_0x395795];if(_0x5ab95d[_0x1974f8(0x221)]>0x1)throw new Error(_0x1974f8(0x33e)+_0x395795+'\x22\x20must\x20have\x20only\x20a\x20single\x20value');if(_0x5ab95d=_0x5ab95d[0x0],_0x395795===_0x1974f8(0x2a9)){if(_0x5ab95d!==!0x0){const _0x2e855c=+_0x5ab95d;if(!Number['isInteger'](_0x2e855c)||_0x2e855c<0x8||_0x2e855c>0xf)throw new TypeError(_0x1974f8(0x302)+_0x395795+_0x1974f8(0x33a)+_0x5ab95d);_0x5ab95d=_0x2e855c;}else{if(!this[_0x1974f8(0x2e4)])throw new TypeError(_0x1974f8(0x302)+_0x395795+_0x1974f8(0x33a)+_0x5ab95d);}}else{if(_0x395795===_0x1974f8(0x25c)){const _0x3b6e60=+_0x5ab95d;if(!Number[_0x1974f8(0x1d0)](_0x3b6e60)||_0x3b6e60<0x8||_0x3b6e60>0xf)throw new TypeError(_0x1974f8(0x302)+_0x395795+_0x1974f8(0x33a)+_0x5ab95d);_0x5ab95d=_0x3b6e60;}else{if(_0x395795==='client_no_context_takeover'||_0x395795===_0x1974f8(0x2ad)){if(_0x5ab95d!==!0x0)throw new TypeError(_0x1974f8(0x302)+_0x395795+_0x1974f8(0x33a)+_0x5ab95d);}else throw new Error(_0x1974f8(0x278)+_0x395795+'\x22');}}_0x43b4d6[_0x395795]=_0x5ab95d;});}),_0x44b716;}[_0x395497(0x303)](_0x88b66f,_0xd0f2f6,_0x586c1a){const _0x36e4ff=_0x395497;_0x2e7a94[_0x36e4ff(0x2e0)](_0x1acffe=>{const _0x5b05fa=_0x36e4ff;this[_0x5b05fa(0x284)](_0x88b66f,_0xd0f2f6,(_0x410c9b,_0x456157)=>{_0x1acffe(),_0x586c1a(_0x410c9b,_0x456157);});});}[_0x395497(0x2f2)](_0x4587e1,_0x16df31,_0x2b22ee){_0x2e7a94['add'](_0xd316e8=>{const _0x474f36=_0x5cf4;this[_0x474f36(0x2db)](_0x4587e1,_0x16df31,(_0x172c51,_0x27a4fc)=>{_0xd316e8(),_0x2b22ee(_0x172c51,_0x27a4fc);});});}[_0x395497(0x284)](_0x15cab0,_0x511507,_0x40e7f5){const _0x105c16=_0x395497,_0x2b8619=this[_0x105c16(0x2e4)]?_0x105c16(0x2ef):'server';if(!this[_0x105c16(0x1b3)]){const _0x45c605=_0x2b8619+_0x105c16(0x1f4),_0x326c67=typeof this[_0x105c16(0x2e3)][_0x45c605]!=_0x105c16(0x2ea)?_0x34bbb1['Z_DEFAULT_WINDOWBITS']:this['params'][_0x45c605];this[_0x105c16(0x1b3)]=_0x34bbb1[_0x105c16(0x267)]({...this[_0x105c16(0x331)][_0x105c16(0x2cd)],'windowBits':_0x326c67}),this[_0x105c16(0x1b3)][_0x447c1b]=this,this[_0x105c16(0x1b3)][_0x521158]=0x0,this['_inflate'][_0x15b0ff]=[],this[_0x105c16(0x1b3)]['on'](_0x105c16(0x238),_0x353671),this[_0x105c16(0x1b3)]['on']('data',_0x4841d4);}this['_inflate'][_0x5e7f54]=_0x40e7f5,this['_inflate'][_0x105c16(0x23a)](_0x15cab0),_0x511507&&this[_0x105c16(0x1b3)][_0x105c16(0x23a)](_0x3cd154),this[_0x105c16(0x1b3)][_0x105c16(0x2bc)](()=>{const _0x59d35f=_0x105c16,_0x4855a0=this[_0x59d35f(0x1b3)][_0x590615];if(_0x4855a0){this[_0x59d35f(0x1b3)][_0x59d35f(0x1c5)](),this[_0x59d35f(0x1b3)]=null,_0x40e7f5(_0x4855a0);return;}const _0xa8158e=_0x5d9e90[_0x59d35f(0x1c0)](this[_0x59d35f(0x1b3)][_0x15b0ff],this[_0x59d35f(0x1b3)][_0x521158]);this['_inflate'][_0x59d35f(0x2e8)][_0x59d35f(0x2b5)]?(this[_0x59d35f(0x1b3)][_0x59d35f(0x1c5)](),this[_0x59d35f(0x1b3)]=null):(this[_0x59d35f(0x1b3)][_0x521158]=0x0,this[_0x59d35f(0x1b3)][_0x15b0ff]=[],_0x511507&&this[_0x59d35f(0x2e3)][_0x2b8619+_0x59d35f(0x347)]&&this['_inflate'][_0x59d35f(0x232)]()),_0x40e7f5(null,_0xa8158e);});}[_0x395497(0x2db)](_0x395932,_0x2577a9,_0x21c57f){const _0x527ffe=_0x395497,_0x52c337=this['_isServer']?_0x527ffe(0x206):_0x527ffe(0x2ef);if(!this['_deflate']){const _0x3b4081=_0x52c337+_0x527ffe(0x1f4),_0x50d486=typeof this[_0x527ffe(0x2e3)][_0x3b4081]!=_0x527ffe(0x2ea)?_0x34bbb1[_0x527ffe(0x25b)]:this[_0x527ffe(0x2e3)][_0x3b4081];this[_0x527ffe(0x2a4)]=_0x34bbb1['createDeflateRaw']({...this[_0x527ffe(0x331)][_0x527ffe(0x25f)],'windowBits':_0x50d486}),this['_deflate'][_0x521158]=0x0,this[_0x527ffe(0x2a4)][_0x15b0ff]=[],this['_deflate']['on'](_0x527ffe(0x35c),_0x590af1);}this[_0x527ffe(0x2a4)][_0x5e7f54]=_0x21c57f,this['_deflate']['write'](_0x395932),this['_deflate'][_0x527ffe(0x2bc)](_0x34bbb1[_0x527ffe(0x313)],()=>{const _0xcdca27=_0x527ffe;if(!this['_deflate'])return;let _0x2f816b=_0x5d9e90['concat'](this['_deflate'][_0x15b0ff],this[_0xcdca27(0x2a4)][_0x521158]);_0x2577a9&&(_0x2f816b=new _0x42d847(_0x2f816b[_0xcdca27(0x359)],_0x2f816b['byteOffset'],_0x2f816b[_0xcdca27(0x221)]-0x4)),this[_0xcdca27(0x2a4)][_0x5e7f54]=null,this[_0xcdca27(0x2a4)][_0x521158]=0x0,this[_0xcdca27(0x2a4)][_0x15b0ff]=[],_0x2577a9&&this[_0xcdca27(0x2e3)][_0x52c337+_0xcdca27(0x347)]&&this[_0xcdca27(0x2a4)][_0xcdca27(0x232)](),_0x21c57f(null,_0x2f816b);});}}ve=_0x401ccf;function _0x590af1(_0x416098){const _0x22e5f9=_0x395497;this[_0x15b0ff][_0x22e5f9(0x277)](_0x416098),this[_0x521158]+=_0x416098['length'];}function _0x4841d4(_0x162ad8){const _0x461b57=_0x395497;if(this[_0x521158]+=_0x162ad8['length'],this[_0x447c1b][_0x461b57(0x250)]<0x1||this[_0x521158]<=this[_0x447c1b][_0x461b57(0x250)]){this[_0x15b0ff]['push'](_0x162ad8);return;}this[_0x590615]=new RangeError(_0x461b57(0x24f)),this[_0x590615][_0x461b57(0x2b4)]=_0x461b57(0x21c),this[_0x590615][_0x439580]=0x3f1,this['removeListener'](_0x461b57(0x35c),_0x4841d4),this[_0x461b57(0x232)]();}function _0x353671(_0x4be7c2){if(this[_0x447c1b]['_inflate']=null,this[_0x590615]){this[_0x5e7f54](this[_0x590615]);return;}_0x4be7c2[_0x439580]=0x3ef,this[_0x5e7f54](_0x4be7c2);}return ve;}var re={'exports':{}};const Ht={},zt=Object['freeze'](Object[_0x4573dd(0x2cc)]({'__proto__':null,'default':Ht},Symbol[_0x4573dd(0x27a)],{'value':_0x4573dd(0x305)})),Yt=ut(zt);var Qe;function ne(){const _0x2da21a=_0x4573dd;if(Qe)return re['exports'];Qe=0x1;const {isUtf8:_0x507881}=_0x3cef7a,{hasBlob:_0x3fe72b}=V(),_0x586f7f=[0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x1,0x1,0x1,0x1,0x1,0x0,0x0,0x1,0x1,0x0,0x1,0x1,0x0,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x0,0x0,0x0,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x0,0x1,0x0,0x1,0x0];function _0x325d1e(_0xd127fc){return _0xd127fc>=0x3e8&&_0xd127fc<=0x3f6&&_0xd127fc!==0x3ec&&_0xd127fc!==0x3ed&&_0xd127fc!==0x3ee||_0xd127fc>=0xbb8&&_0xd127fc<=0x1387;}function _0xfcb7e(_0xaf18b5){const _0x525f57=_0xaf18b5['length'];let _0x4315fc=0x0;for(;_0x4315fc<_0x525f57;)if((_0xaf18b5[_0x4315fc]&0x80)===0x0)_0x4315fc++;else{if((_0xaf18b5[_0x4315fc]&0xe0)===0xc0){if(_0x4315fc+0x1===_0x525f57||(_0xaf18b5[_0x4315fc+0x1]&0xc0)!==0x80||(_0xaf18b5[_0x4315fc]&0xfe)===0xc0)return!0x1;_0x4315fc+=0x2;}else{if((_0xaf18b5[_0x4315fc]&0xf0)===0xe0){if(_0x4315fc+0x2>=_0x525f57||(_0xaf18b5[_0x4315fc+0x1]&0xc0)!==0x80||(_0xaf18b5[_0x4315fc+0x2]&0xc0)!==0x80||_0xaf18b5[_0x4315fc]===0xe0&&(_0xaf18b5[_0x4315fc+0x1]&0xe0)===0x80||_0xaf18b5[_0x4315fc]===0xed&&(_0xaf18b5[_0x4315fc+0x1]&0xe0)===0xa0)return!0x1;_0x4315fc+=0x3;}else{if((_0xaf18b5[_0x4315fc]&0xf8)===0xf0){if(_0x4315fc+0x3>=_0x525f57||(_0xaf18b5[_0x4315fc+0x1]&0xc0)!==0x80||(_0xaf18b5[_0x4315fc+0x2]&0xc0)!==0x80||(_0xaf18b5[_0x4315fc+0x3]&0xc0)!==0x80||_0xaf18b5[_0x4315fc]===0xf0&&(_0xaf18b5[_0x4315fc+0x1]&0xf0)===0x80||_0xaf18b5[_0x4315fc]===0xf4&&_0xaf18b5[_0x4315fc+0x1]>0x8f||_0xaf18b5[_0x4315fc]>0xf4)return!0x1;_0x4315fc+=0x4;}else return!0x1;}}}return!0x0;}function _0x5af133(_0xc2c669){const _0x1b675a=_0x5cf4;return _0x3fe72b&&typeof _0xc2c669==_0x1b675a(0x1be)&&typeof _0xc2c669[_0x1b675a(0x235)]==_0x1b675a(0x351)&&typeof _0xc2c669[_0x1b675a(0x2f5)]=='string'&&typeof _0xc2c669[_0x1b675a(0x361)]=='function'&&(_0xc2c669[Symbol[_0x1b675a(0x27a)]]==='Blob'||_0xc2c669[Symbol[_0x1b675a(0x27a)]]===_0x1b675a(0x332));}if(re[_0x2da21a(0x1ee)]={'isBlob':_0x5af133,'isValidStatusCode':_0x325d1e,'isValidUTF8':_0xfcb7e,'tokenChars':_0x586f7f},_0x507881)re['exports'][_0x2da21a(0x31d)]=function(_0x2ebd1e){return _0x2ebd1e['length']<0x18?_0xfcb7e(_0x2ebd1e):_0x507881(_0x2ebd1e);};else{if(!process['env'][_0x2da21a(0x1c7)])try{const _0x1831db=Yt;re[_0x2da21a(0x1ee)][_0x2da21a(0x31d)]=function(_0x64c95a){return _0x64c95a['length']<0x20?_0xfcb7e(_0x64c95a):_0x1831db(_0x64c95a);};}catch{}}return re[_0x2da21a(0x1ee)];}var Se,Je;function dt(){const _0x44a403=_0x4573dd;if(Je)return Se;Je=0x1;const {Writable:_0x22cf0b}=_0x3f0855,_0x55b926=he(),{BINARY_TYPES:_0x1feb0a,EMPTY_BUFFER:_0xe4d134,kStatusCode:_0x3bc606,kWebSocket:_0xaa76e6}=V(),{concat:_0x4e455d,toArrayBuffer:_0x22bbb0,unmask:_0x1d79ba}=ce(),{isValidStatusCode:_0x1e8e04,isValidUTF8:_0xd756ff}=ne(),_0x5c5673=Buffer[Symbol['species']],_0x4b5cb0=0x0,_0x322060=0x1,_0x43d82b=0x2,_0x2ae0ec=0x3,_0x58d29f=0x4,_0x123ad8=0x5,_0x227192=0x6;class _0x271459 extends _0x22cf0b{constructor(_0x2530e5={}){const _0x1e46ce=_0x5cf4;super(),this['_allowSynchronousEvents']=_0x2530e5[_0x1e46ce(0x29f)]!==void 0x0?_0x2530e5[_0x1e46ce(0x29f)]:!0x0,this[_0x1e46ce(0x216)]=_0x2530e5[_0x1e46ce(0x209)]||_0x1feb0a[0x0],this['_extensions']=_0x2530e5[_0x1e46ce(0x1d9)]||{},this[_0x1e46ce(0x2e4)]=!!_0x2530e5[_0x1e46ce(0x32c)],this[_0x1e46ce(0x250)]=_0x2530e5[_0x1e46ce(0x22f)]|0x0,this[_0x1e46ce(0x27b)]=!!_0x2530e5[_0x1e46ce(0x2c1)],this[_0xaa76e6]=void 0x0,this['_bufferedBytes']=0x0,this['_buffers']=[],this[_0x1e46ce(0x29a)]=!0x1,this[_0x1e46ce(0x279)]=0x0,this[_0x1e46ce(0x218)]=void 0x0,this['_fragmented']=0x0,this[_0x1e46ce(0x298)]=!0x1,this[_0x1e46ce(0x2b0)]=!0x1,this[_0x1e46ce(0x1c4)]=0x0,this[_0x1e46ce(0x2af)]=0x0,this[_0x1e46ce(0x343)]=0x0,this[_0x1e46ce(0x229)]=[],this['_errored']=!0x1,this[_0x1e46ce(0x1af)]=!0x1,this['_state']=_0x4b5cb0;}[_0x44a403(0x315)](_0x1869e7,_0x2189e9,_0x270936){const _0x284b6e=_0x44a403;if(this[_0x284b6e(0x1c4)]===0x8&&this['_state']==_0x4b5cb0)return _0x270936();this[_0x284b6e(0x2d2)]+=_0x1869e7[_0x284b6e(0x221)],this[_0x284b6e(0x306)][_0x284b6e(0x277)](_0x1869e7),this['startLoop'](_0x270936);}[_0x44a403(0x336)](_0x4cd7fe){const _0x44ad33=_0x44a403;if(this[_0x44ad33(0x2d2)]-=_0x4cd7fe,_0x4cd7fe===this['_buffers'][0x0]['length'])return this['_buffers'][_0x44ad33(0x2ff)]();if(_0x4cd7fe<this['_buffers'][0x0]['length']){const _0x35d91f=this[_0x44ad33(0x306)][0x0];return this[_0x44ad33(0x306)][0x0]=new _0x5c5673(_0x35d91f[_0x44ad33(0x359)],_0x35d91f['byteOffset']+_0x4cd7fe,_0x35d91f[_0x44ad33(0x221)]-_0x4cd7fe),new _0x5c5673(_0x35d91f[_0x44ad33(0x359)],_0x35d91f[_0x44ad33(0x224)],_0x4cd7fe);}const _0x3663c1=Buffer[_0x44ad33(0x27e)](_0x4cd7fe);do{const _0x12aa0e=this['_buffers'][0x0],_0x31a823=_0x3663c1[_0x44ad33(0x221)]-_0x4cd7fe;_0x4cd7fe>=_0x12aa0e[_0x44ad33(0x221)]?_0x3663c1[_0x44ad33(0x1b1)](this[_0x44ad33(0x306)][_0x44ad33(0x2ff)](),_0x31a823):(_0x3663c1['set'](new Uint8Array(_0x12aa0e[_0x44ad33(0x359)],_0x12aa0e[_0x44ad33(0x224)],_0x4cd7fe),_0x31a823),this[_0x44ad33(0x306)][0x0]=new _0x5c5673(_0x12aa0e['buffer'],_0x12aa0e['byteOffset']+_0x4cd7fe,_0x12aa0e['length']-_0x4cd7fe)),_0x4cd7fe-=_0x12aa0e[_0x44ad33(0x221)];}while(_0x4cd7fe>0x0);return _0x3663c1;}[_0x44a403(0x1ec)](_0xa1e8c2){const _0x47007e=_0x44a403;this[_0x47007e(0x1af)]=!0x0;do switch(this[_0x47007e(0x337)]){case _0x4b5cb0:this[_0x47007e(0x34b)](_0xa1e8c2);break;case _0x322060:this[_0x47007e(0x2ae)](_0xa1e8c2);break;case _0x43d82b:this[_0x47007e(0x21b)](_0xa1e8c2);break;case _0x2ae0ec:this[_0x47007e(0x2d9)]();break;case _0x58d29f:this[_0x47007e(0x213)](_0xa1e8c2);break;case _0x123ad8:case _0x227192:this['_loop']=!0x1;return;}while(this[_0x47007e(0x1af)]);this[_0x47007e(0x285)]||_0xa1e8c2();}[_0x44a403(0x34b)](_0x537dd7){const _0x4ddcf0=_0x44a403;if(this[_0x4ddcf0(0x2d2)]<0x2){this[_0x4ddcf0(0x1af)]=!0x1;return;}const _0x4e4b8d=this['consume'](0x2);if((_0x4e4b8d[0x0]&0x30)!==0x0){const _0x22ad59=this[_0x4ddcf0(0x1dd)](RangeError,_0x4ddcf0(0x1da),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0x537dd7(_0x22ad59);return;}const _0x2bd306=(_0x4e4b8d[0x0]&0x40)===0x40;if(_0x2bd306&&!this['_extensions'][_0x55b926[_0x4ddcf0(0x293)]]){const _0x133f3d=this[_0x4ddcf0(0x1dd)](RangeError,_0x4ddcf0(0x2bd),!0x0,0x3ea,_0x4ddcf0(0x1c8));_0x537dd7(_0x133f3d);return;}if(this[_0x4ddcf0(0x2b0)]=(_0x4e4b8d[0x0]&0x80)===0x80,this[_0x4ddcf0(0x1c4)]=_0x4e4b8d[0x0]&0xf,this[_0x4ddcf0(0x279)]=_0x4e4b8d[0x1]&0x7f,this[_0x4ddcf0(0x1c4)]===0x0){if(_0x2bd306){const _0x1cf9aa=this[_0x4ddcf0(0x1dd)](RangeError,_0x4ddcf0(0x2bd),!0x0,0x3ea,_0x4ddcf0(0x1c8));_0x537dd7(_0x1cf9aa);return;}if(!this['_fragmented']){const _0x105cfe=this[_0x4ddcf0(0x1dd)](RangeError,'invalid\x20opcode\x200',!0x0,0x3ea,_0x4ddcf0(0x1b2));_0x537dd7(_0x105cfe);return;}this[_0x4ddcf0(0x1c4)]=this[_0x4ddcf0(0x2ac)];}else{if(this[_0x4ddcf0(0x1c4)]===0x1||this[_0x4ddcf0(0x1c4)]===0x2){if(this['_fragmented']){const _0x128f67=this[_0x4ddcf0(0x1dd)](RangeError,_0x4ddcf0(0x349)+this[_0x4ddcf0(0x1c4)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x537dd7(_0x128f67);return;}this[_0x4ddcf0(0x29a)]=_0x2bd306;}else{if(this['_opcode']>0x7&&this[_0x4ddcf0(0x1c4)]<0xb){if(!this[_0x4ddcf0(0x2b0)]){const _0x593999=this['createError'](RangeError,'FIN\x20must\x20be\x20set',!0x0,0x3ea,_0x4ddcf0(0x2e6));_0x537dd7(_0x593999);return;}if(_0x2bd306){const _0xf0dae5=this[_0x4ddcf0(0x1dd)](RangeError,_0x4ddcf0(0x2bd),!0x0,0x3ea,_0x4ddcf0(0x1c8));_0x537dd7(_0xf0dae5);return;}if(this[_0x4ddcf0(0x279)]>0x7d||this[_0x4ddcf0(0x1c4)]===0x8&&this[_0x4ddcf0(0x279)]===0x1){const _0x5609cb=this['createError'](RangeError,'invalid\x20payload\x20length\x20'+this[_0x4ddcf0(0x279)],!0x0,0x3ea,'WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH');_0x537dd7(_0x5609cb);return;}}else{const _0x262cff=this[_0x4ddcf0(0x1dd)](RangeError,_0x4ddcf0(0x349)+this[_0x4ddcf0(0x1c4)],!0x0,0x3ea,_0x4ddcf0(0x1b2));_0x537dd7(_0x262cff);return;}}}if(!this[_0x4ddcf0(0x2b0)]&&!this[_0x4ddcf0(0x2ac)]&&(this['_fragmented']=this[_0x4ddcf0(0x1c4)]),this['_masked']=(_0x4e4b8d[0x1]&0x80)===0x80,this[_0x4ddcf0(0x2e4)]){if(!this['_masked']){const _0x3e4039=this[_0x4ddcf0(0x1dd)](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,_0x4ddcf0(0x262));_0x537dd7(_0x3e4039);return;}}else{if(this[_0x4ddcf0(0x298)]){const _0x4251cb=this[_0x4ddcf0(0x1dd)](RangeError,'MASK\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0x537dd7(_0x4251cb);return;}}this[_0x4ddcf0(0x279)]===0x7e?this[_0x4ddcf0(0x337)]=_0x322060:this[_0x4ddcf0(0x279)]===0x7f?this['_state']=_0x43d82b:this[_0x4ddcf0(0x34c)](_0x537dd7);}[_0x44a403(0x2ae)](_0x558a8f){const _0x36ad43=_0x44a403;if(this[_0x36ad43(0x2d2)]<0x2){this['_loop']=!0x1;return;}this[_0x36ad43(0x279)]=this[_0x36ad43(0x336)](0x2)['readUInt16BE'](0x0),this['haveLength'](_0x558a8f);}[_0x44a403(0x21b)](_0x48ea77){const _0x5f077d=_0x44a403;if(this[_0x5f077d(0x2d2)]<0x8){this[_0x5f077d(0x1af)]=!0x1;return;}const _0x1fe505=this[_0x5f077d(0x336)](0x8),_0x5d7e19=_0x1fe505['readUInt32BE'](0x0);if(_0x5d7e19>Math[_0x5f077d(0x350)](0x2,0x15)-0x1){const _0x5f2751=this[_0x5f077d(0x1dd)](RangeError,_0x5f077d(0x26c),!0x1,0x3f1,_0x5f077d(0x2df));_0x48ea77(_0x5f2751);return;}this[_0x5f077d(0x279)]=_0x5d7e19*Math[_0x5f077d(0x350)](0x2,0x20)+_0x1fe505['readUInt32BE'](0x4),this['haveLength'](_0x48ea77);}[_0x44a403(0x34c)](_0x22f73c){const _0x5da08f=_0x44a403;if(this[_0x5da08f(0x279)]&&this[_0x5da08f(0x1c4)]<0x8&&(this[_0x5da08f(0x2af)]+=this['_payloadLength'],this['_totalPayloadLength']>this['_maxPayload']&&this[_0x5da08f(0x250)]>0x0)){const _0x441742=this[_0x5da08f(0x1dd)](RangeError,_0x5da08f(0x24f),!0x1,0x3f1,_0x5da08f(0x21c));_0x22f73c(_0x441742);return;}this['_masked']?this['_state']=_0x2ae0ec:this[_0x5da08f(0x337)]=_0x58d29f;}[_0x44a403(0x2d9)](){const _0x325b54=_0x44a403;if(this[_0x325b54(0x2d2)]<0x4){this[_0x325b54(0x1af)]=!0x1;return;}this[_0x325b54(0x218)]=this['consume'](0x4),this['_state']=_0x58d29f;}[_0x44a403(0x213)](_0x2b05d2){const _0x474b0c=_0x44a403;let _0x1c3017=_0xe4d134;if(this['_payloadLength']){if(this['_bufferedBytes']<this['_payloadLength']){this['_loop']=!0x1;return;}_0x1c3017=this[_0x474b0c(0x336)](this[_0x474b0c(0x279)]),this[_0x474b0c(0x298)]&&(this[_0x474b0c(0x218)][0x0]|this[_0x474b0c(0x218)][0x1]|this[_0x474b0c(0x218)][0x2]|this['_mask'][0x3])!==0x0&&_0x1d79ba(_0x1c3017,this[_0x474b0c(0x218)]);}if(this['_opcode']>0x7){this[_0x474b0c(0x237)](_0x1c3017,_0x2b05d2);return;}if(this[_0x474b0c(0x29a)]){this[_0x474b0c(0x337)]=_0x123ad8,this[_0x474b0c(0x303)](_0x1c3017,_0x2b05d2);return;}_0x1c3017['length']&&(this[_0x474b0c(0x343)]=this[_0x474b0c(0x2af)],this[_0x474b0c(0x229)][_0x474b0c(0x277)](_0x1c3017)),this['dataMessage'](_0x2b05d2);}[_0x44a403(0x303)](_0x64bde4,_0x3630d2){const _0x47be0d=_0x44a403;this[_0x47be0d(0x1d8)][_0x55b926[_0x47be0d(0x293)]][_0x47be0d(0x303)](_0x64bde4,this[_0x47be0d(0x2b0)],(_0x50e81e,_0x9211c5)=>{const _0x5ff890=_0x47be0d;if(_0x50e81e)return _0x3630d2(_0x50e81e);if(_0x9211c5['length']){if(this['_messageLength']+=_0x9211c5['length'],this[_0x5ff890(0x343)]>this[_0x5ff890(0x250)]&&this[_0x5ff890(0x250)]>0x0){const _0x1a95d5=this[_0x5ff890(0x1dd)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x5ff890(0x21c));_0x3630d2(_0x1a95d5);return;}this[_0x5ff890(0x229)][_0x5ff890(0x277)](_0x9211c5);}this['dataMessage'](_0x3630d2),this['_state']===_0x4b5cb0&&this[_0x5ff890(0x1ec)](_0x3630d2);});}[_0x44a403(0x27f)](_0x3301ba){const _0xb783be=_0x44a403;if(!this[_0xb783be(0x2b0)]){this[_0xb783be(0x337)]=_0x4b5cb0;return;}const _0x3ce1e6=this[_0xb783be(0x343)],_0x5cfd54=this['_fragments'];if(this[_0xb783be(0x2af)]=0x0,this['_messageLength']=0x0,this[_0xb783be(0x2ac)]=0x0,this[_0xb783be(0x229)]=[],this['_opcode']===0x2){let _0x2212e5;this[_0xb783be(0x216)]==='nodebuffer'?_0x2212e5=_0x4e455d(_0x5cfd54,_0x3ce1e6):this['_binaryType']===_0xb783be(0x297)?_0x2212e5=_0x22bbb0(_0x4e455d(_0x5cfd54,_0x3ce1e6)):this[_0xb783be(0x216)]===_0xb783be(0x252)?_0x2212e5=new Blob(_0x5cfd54):_0x2212e5=_0x5cfd54,this['_allowSynchronousEvents']?(this[_0xb783be(0x2f0)]('message',_0x2212e5,!0x0),this[_0xb783be(0x337)]=_0x4b5cb0):(this['_state']=_0x227192,setImmediate(()=>{const _0x4c35e5=_0xb783be;this[_0x4c35e5(0x2f0)]('message',_0x2212e5,!0x0),this[_0x4c35e5(0x337)]=_0x4b5cb0,this['startLoop'](_0x3301ba);}));}else{const _0x564ff0=_0x4e455d(_0x5cfd54,_0x3ce1e6);if(!this[_0xb783be(0x27b)]&&!_0xd756ff(_0x564ff0)){const _0x2559fc=this['createError'](Error,_0xb783be(0x31a),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x3301ba(_0x2559fc);return;}this[_0xb783be(0x337)]===_0x123ad8||this[_0xb783be(0x254)]?(this[_0xb783be(0x2f0)](_0xb783be(0x257),_0x564ff0,!0x1),this['_state']=_0x4b5cb0):(this[_0xb783be(0x337)]=_0x227192,setImmediate(()=>{const _0x5654c5=_0xb783be;this[_0x5654c5(0x2f0)](_0x5654c5(0x257),_0x564ff0,!0x1),this[_0x5654c5(0x337)]=_0x4b5cb0,this[_0x5654c5(0x1ec)](_0x3301ba);}));}}[_0x44a403(0x237)](_0x21ee03,_0xdc55d){const _0x13e6c5=_0x44a403;if(this[_0x13e6c5(0x1c4)]===0x8){if(_0x21ee03['length']===0x0)this[_0x13e6c5(0x1af)]=!0x1,this['emit']('conclude',0x3ed,_0xe4d134),this[_0x13e6c5(0x1f8)]();else{const _0x172ca6=_0x21ee03[_0x13e6c5(0x27d)](0x0);if(!_0x1e8e04(_0x172ca6)){const _0x2eaea8=this[_0x13e6c5(0x1dd)](RangeError,_0x13e6c5(0x32f)+_0x172ca6,!0x0,0x3ea,_0x13e6c5(0x28d));_0xdc55d(_0x2eaea8);return;}const _0x2264eb=new _0x5c5673(_0x21ee03[_0x13e6c5(0x359)],_0x21ee03['byteOffset']+0x2,_0x21ee03[_0x13e6c5(0x221)]-0x2);if(!this['_skipUTF8Validation']&&!_0xd756ff(_0x2264eb)){const _0x54609f=this[_0x13e6c5(0x1dd)](Error,_0x13e6c5(0x31a),!0x0,0x3ef,_0x13e6c5(0x2a6));_0xdc55d(_0x54609f);return;}this['_loop']=!0x1,this[_0x13e6c5(0x2f0)]('conclude',_0x172ca6,_0x2264eb),this['end']();}this[_0x13e6c5(0x337)]=_0x4b5cb0;return;}this[_0x13e6c5(0x254)]?(this[_0x13e6c5(0x2f0)](this[_0x13e6c5(0x1c4)]===0x9?_0x13e6c5(0x2d8):'pong',_0x21ee03),this[_0x13e6c5(0x337)]=_0x4b5cb0):(this[_0x13e6c5(0x337)]=_0x227192,setImmediate(()=>{const _0x3de8d0=_0x13e6c5;this[_0x3de8d0(0x2f0)](this[_0x3de8d0(0x1c4)]===0x9?_0x3de8d0(0x2d8):'pong',_0x21ee03),this[_0x3de8d0(0x337)]=_0x4b5cb0,this[_0x3de8d0(0x1ec)](_0xdc55d);}));}[_0x44a403(0x1dd)](_0x45a467,_0x4a516f,_0xe0008a,_0x2f0496,_0x3adf7a){const _0x131595=_0x44a403;this[_0x131595(0x1af)]=!0x1,this['_errored']=!0x0;const _0x1d8734=new _0x45a467(_0xe0008a?_0x131595(0x354)+_0x4a516f:_0x4a516f);return Error[_0x131595(0x326)](_0x1d8734,this[_0x131595(0x1dd)]),_0x1d8734[_0x131595(0x2b4)]=_0x3adf7a,_0x1d8734[_0x3bc606]=_0x2f0496,_0x1d8734;}}return Se=_0x271459,Se;}var Ee,et;function _t(){const _0x52f5b4=_0x4573dd;if(et)return Ee;et=0x1;const {Duplex:_0x2452ab}=_0x3f0855,{randomFillSync:_0x191fd5}=_0x1469aa,_0x5a6936=he(),{EMPTY_BUFFER:_0x545b52,kWebSocket:_0x6620e6,NOOP:_0x3bc253}=V(),{isBlob:_0x3a076a,isValidStatusCode:_0x4b4e85}=ne(),{mask:_0x15bb6b,toBuffer:_0x490615}=ce(),_0x13e95f=Symbol(_0x52f5b4(0x253)),_0xf1b589=Buffer[_0x52f5b4(0x24c)](0x4),_0x95781f=0x8*0x400;let _0x211195,_0xf98318=_0x95781f;const _0x32cf73=0x0,_0x58beec=0x1,_0x23fae6=0x2;class _0x5641f7{constructor(_0xdbe941,_0x2f6182,_0x2130ab){const _0x2b8489=_0x52f5b4;this['_extensions']=_0x2f6182||{},_0x2130ab&&(this[_0x2b8489(0x2b7)]=_0x2130ab,this[_0x2b8489(0x295)]=Buffer[_0x2b8489(0x24c)](0x4)),this[_0x2b8489(0x1f0)]=_0xdbe941,this['_firstFragment']=!0x0,this[_0x2b8489(0x2db)]=!0x1,this[_0x2b8489(0x2d2)]=0x0,this['_queue']=[],this[_0x2b8489(0x337)]=_0x32cf73,this['onerror']=_0x3bc253,this[_0x6620e6]=void 0x0;}static['frame'](_0x555d71,_0x45ea9d){const _0x3f11d3=_0x52f5b4;let _0x55b3d1,_0x40a676=!0x1,_0x29132f=0x2,_0x5e1e7f=!0x1;_0x45ea9d[_0x3f11d3(0x328)]&&(_0x55b3d1=_0x45ea9d[_0x3f11d3(0x239)]||_0xf1b589,_0x45ea9d[_0x3f11d3(0x2c2)]?_0x45ea9d[_0x3f11d3(0x2c2)](_0x55b3d1):(_0xf98318===_0x95781f&&(_0x211195===void 0x0&&(_0x211195=Buffer['alloc'](_0x95781f)),_0x191fd5(_0x211195,0x0,_0x95781f),_0xf98318=0x0),_0x55b3d1[0x0]=_0x211195[_0xf98318++],_0x55b3d1[0x1]=_0x211195[_0xf98318++],_0x55b3d1[0x2]=_0x211195[_0xf98318++],_0x55b3d1[0x3]=_0x211195[_0xf98318++]),_0x5e1e7f=(_0x55b3d1[0x0]|_0x55b3d1[0x1]|_0x55b3d1[0x2]|_0x55b3d1[0x3])===0x0,_0x29132f=0x6);let _0x295144;typeof _0x555d71==_0x3f11d3(0x29e)?(!_0x45ea9d['mask']||_0x5e1e7f)&&_0x45ea9d[_0x13e95f]!==void 0x0?_0x295144=_0x45ea9d[_0x13e95f]:(_0x555d71=Buffer[_0x3f11d3(0x330)](_0x555d71),_0x295144=_0x555d71[_0x3f11d3(0x221)]):(_0x295144=_0x555d71['length'],_0x40a676=_0x45ea9d['mask']&&_0x45ea9d[_0x3f11d3(0x1b0)]&&!_0x5e1e7f);let _0x2dafd9=_0x295144;_0x295144>=0x10000?(_0x29132f+=0x8,_0x2dafd9=0x7f):_0x295144>0x7d&&(_0x29132f+=0x2,_0x2dafd9=0x7e);const _0x492f4c=Buffer[_0x3f11d3(0x27e)](_0x40a676?_0x295144+_0x29132f:_0x29132f);return _0x492f4c[0x0]=_0x45ea9d[_0x3f11d3(0x30b)]?_0x45ea9d[_0x3f11d3(0x2cb)]|0x80:_0x45ea9d['opcode'],_0x45ea9d[_0x3f11d3(0x34a)]&&(_0x492f4c[0x0]|=0x40),_0x492f4c[0x1]=_0x2dafd9,_0x2dafd9===0x7e?_0x492f4c['writeUInt16BE'](_0x295144,0x2):_0x2dafd9===0x7f&&(_0x492f4c[0x2]=_0x492f4c[0x3]=0x0,_0x492f4c[_0x3f11d3(0x1e0)](_0x295144,0x4,0x6)),_0x45ea9d['mask']?(_0x492f4c[0x1]|=0x80,_0x492f4c[_0x29132f-0x4]=_0x55b3d1[0x0],_0x492f4c[_0x29132f-0x3]=_0x55b3d1[0x1],_0x492f4c[_0x29132f-0x2]=_0x55b3d1[0x2],_0x492f4c[_0x29132f-0x1]=_0x55b3d1[0x3],_0x5e1e7f?[_0x492f4c,_0x555d71]:_0x40a676?(_0x15bb6b(_0x555d71,_0x55b3d1,_0x492f4c,_0x29132f,_0x295144),[_0x492f4c]):(_0x15bb6b(_0x555d71,_0x55b3d1,_0x555d71,0x0,_0x295144),[_0x492f4c,_0x555d71])):[_0x492f4c,_0x555d71];}[_0x52f5b4(0x1c5)](_0xe34ba6,_0xffe6d6,_0x93aaa1,_0xefc165){const _0x4fc169=_0x52f5b4;let _0x2213f1;if(_0xe34ba6===void 0x0)_0x2213f1=_0x545b52;else{if(typeof _0xe34ba6!=_0x4fc169(0x2ea)||!_0x4b4e85(_0xe34ba6))throw new TypeError(_0x4fc169(0x217));if(_0xffe6d6===void 0x0||!_0xffe6d6[_0x4fc169(0x221)])_0x2213f1=Buffer[_0x4fc169(0x27e)](0x2),_0x2213f1[_0x4fc169(0x310)](_0xe34ba6,0x0);else{const _0x427c14=Buffer['byteLength'](_0xffe6d6);if(_0x427c14>0x7b)throw new RangeError(_0x4fc169(0x1f2));_0x2213f1=Buffer[_0x4fc169(0x27e)](0x2+_0x427c14),_0x2213f1[_0x4fc169(0x310)](_0xe34ba6,0x0),typeof _0xffe6d6==_0x4fc169(0x29e)?_0x2213f1[_0x4fc169(0x23a)](_0xffe6d6,0x2):_0x2213f1[_0x4fc169(0x1b1)](_0xffe6d6,0x2);}}const _0x4de371={[_0x13e95f]:_0x2213f1[_0x4fc169(0x221)],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x93aaa1,'maskBuffer':this[_0x4fc169(0x295)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x4fc169(0x337)]!==_0x32cf73?this[_0x4fc169(0x2f6)]([this['dispatch'],_0x2213f1,!0x1,_0x4de371,_0xefc165]):this[_0x4fc169(0x2a0)](_0x5641f7[_0x4fc169(0x34d)](_0x2213f1,_0x4de371),_0xefc165);}['ping'](_0x2240e6,_0x5233dd,_0x39e00f){const _0x1e8366=_0x52f5b4;let _0x22319b,_0x59de43;if(typeof _0x2240e6=='string'?(_0x22319b=Buffer[_0x1e8366(0x2a8)](_0x2240e6),_0x59de43=!0x1):_0x3a076a(_0x2240e6)?(_0x22319b=_0x2240e6[_0x1e8366(0x2e7)],_0x59de43=!0x1):(_0x2240e6=_0x490615(_0x2240e6),_0x22319b=_0x2240e6['length'],_0x59de43=_0x490615[_0x1e8366(0x1b0)]),_0x22319b>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x517106={[_0x13e95f]:_0x22319b,'fin':!0x0,'generateMask':this[_0x1e8366(0x2b7)],'mask':_0x5233dd,'maskBuffer':this['_maskBuffer'],'opcode':0x9,'readOnly':_0x59de43,'rsv1':!0x1};_0x3a076a(_0x2240e6)?this['_state']!==_0x32cf73?this['enqueue']([this[_0x1e8366(0x234)],_0x2240e6,!0x1,_0x517106,_0x39e00f]):this['getBlobData'](_0x2240e6,!0x1,_0x517106,_0x39e00f):this[_0x1e8366(0x337)]!==_0x32cf73?this[_0x1e8366(0x2f6)]([this['dispatch'],_0x2240e6,!0x1,_0x517106,_0x39e00f]):this[_0x1e8366(0x2a0)](_0x5641f7[_0x1e8366(0x34d)](_0x2240e6,_0x517106),_0x39e00f);}[_0x52f5b4(0x346)](_0x319bfb,_0x2cac80,_0x2be150){const _0x42c15e=_0x52f5b4;let _0x375a95,_0x5cc42c;if(typeof _0x319bfb==_0x42c15e(0x29e)?(_0x375a95=Buffer['byteLength'](_0x319bfb),_0x5cc42c=!0x1):_0x3a076a(_0x319bfb)?(_0x375a95=_0x319bfb[_0x42c15e(0x2e7)],_0x5cc42c=!0x1):(_0x319bfb=_0x490615(_0x319bfb),_0x375a95=_0x319bfb[_0x42c15e(0x221)],_0x5cc42c=_0x490615[_0x42c15e(0x1b0)]),_0x375a95>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x583310={[_0x13e95f]:_0x375a95,'fin':!0x0,'generateMask':this[_0x42c15e(0x2b7)],'mask':_0x2cac80,'maskBuffer':this[_0x42c15e(0x295)],'opcode':0xa,'readOnly':_0x5cc42c,'rsv1':!0x1};_0x3a076a(_0x319bfb)?this['_state']!==_0x32cf73?this[_0x42c15e(0x2f6)]([this[_0x42c15e(0x234)],_0x319bfb,!0x1,_0x583310,_0x2be150]):this[_0x42c15e(0x234)](_0x319bfb,!0x1,_0x583310,_0x2be150):this[_0x42c15e(0x337)]!==_0x32cf73?this[_0x42c15e(0x2f6)]([this[_0x42c15e(0x2d5)],_0x319bfb,!0x1,_0x583310,_0x2be150]):this['sendFrame'](_0x5641f7['frame'](_0x319bfb,_0x583310),_0x2be150);}[_0x52f5b4(0x2f4)](_0x2c0f62,_0x38af1d,_0x2f63f8){const _0x4a63e2=_0x52f5b4,_0x23781f=this[_0x4a63e2(0x1d8)][_0x5a6936[_0x4a63e2(0x293)]];let _0x31009f=_0x38af1d['binary']?0x2:0x1,_0x894e64=_0x38af1d[_0x4a63e2(0x2f2)],_0x1fbb77,_0x46dda3;typeof _0x2c0f62==_0x4a63e2(0x29e)?(_0x1fbb77=Buffer[_0x4a63e2(0x2a8)](_0x2c0f62),_0x46dda3=!0x1):_0x3a076a(_0x2c0f62)?(_0x1fbb77=_0x2c0f62[_0x4a63e2(0x2e7)],_0x46dda3=!0x1):(_0x2c0f62=_0x490615(_0x2c0f62),_0x1fbb77=_0x2c0f62[_0x4a63e2(0x221)],_0x46dda3=_0x490615['readOnly']),this[_0x4a63e2(0x291)]?(this['_firstFragment']=!0x1,_0x894e64&&_0x23781f&&_0x23781f['params'][_0x23781f[_0x4a63e2(0x2e4)]?_0x4a63e2(0x2ad):'client_no_context_takeover']&&(_0x894e64=_0x1fbb77>=_0x23781f['_threshold']),this[_0x4a63e2(0x2db)]=_0x894e64):(_0x894e64=!0x1,_0x31009f=0x0),_0x38af1d[_0x4a63e2(0x30b)]&&(this[_0x4a63e2(0x291)]=!0x0);const _0x1f95bc={[_0x13e95f]:_0x1fbb77,'fin':_0x38af1d[_0x4a63e2(0x30b)],'generateMask':this[_0x4a63e2(0x2b7)],'mask':_0x38af1d[_0x4a63e2(0x328)],'maskBuffer':this[_0x4a63e2(0x295)],'opcode':_0x31009f,'readOnly':_0x46dda3,'rsv1':_0x894e64};_0x3a076a(_0x2c0f62)?this[_0x4a63e2(0x337)]!==_0x32cf73?this[_0x4a63e2(0x2f6)]([this[_0x4a63e2(0x234)],_0x2c0f62,this['_compress'],_0x1f95bc,_0x2f63f8]):this[_0x4a63e2(0x234)](_0x2c0f62,this[_0x4a63e2(0x2db)],_0x1f95bc,_0x2f63f8):this[_0x4a63e2(0x337)]!==_0x32cf73?this[_0x4a63e2(0x2f6)]([this['dispatch'],_0x2c0f62,this[_0x4a63e2(0x2db)],_0x1f95bc,_0x2f63f8]):this[_0x4a63e2(0x2d5)](_0x2c0f62,this['_compress'],_0x1f95bc,_0x2f63f8);}[_0x52f5b4(0x234)](_0x15133c,_0x35a628,_0x13a5cc,_0x2ba358){const _0x3e39ed=_0x52f5b4;this[_0x3e39ed(0x2d2)]+=_0x13a5cc[_0x13e95f],this[_0x3e39ed(0x337)]=_0x23fae6,_0x15133c['arrayBuffer']()[_0x3e39ed(0x2ca)](_0x41ab43=>{const _0x5680a4=_0x3e39ed;if(this[_0x5680a4(0x1f0)][_0x5680a4(0x1e7)]){const _0x39b26b=new Error(_0x5680a4(0x2c4));process[_0x5680a4(0x27c)](_0x39309e,this,_0x39b26b,_0x2ba358);return;}this['_bufferedBytes']-=_0x13a5cc[_0x13e95f];const _0x5c541b=_0x490615(_0x41ab43);_0x35a628?this[_0x5680a4(0x2d5)](_0x5c541b,_0x35a628,_0x13a5cc,_0x2ba358):(this['_state']=_0x32cf73,this[_0x5680a4(0x2a0)](_0x5641f7[_0x5680a4(0x34d)](_0x5c541b,_0x13a5cc),_0x2ba358),this['dequeue']());})['catch'](_0x42d7b5=>{process['nextTick'](_0x2dff9e,this,_0x42d7b5,_0x2ba358);});}[_0x52f5b4(0x2d5)](_0x4773bb,_0x4856fd,_0x226ce1,_0x4d2ace){const _0x2d81d7=_0x52f5b4;if(!_0x4856fd){this[_0x2d81d7(0x2a0)](_0x5641f7[_0x2d81d7(0x34d)](_0x4773bb,_0x226ce1),_0x4d2ace);return;}const _0x1f0218=this[_0x2d81d7(0x1d8)][_0x5a6936[_0x2d81d7(0x293)]];this[_0x2d81d7(0x2d2)]+=_0x226ce1[_0x13e95f],this[_0x2d81d7(0x337)]=_0x58beec,_0x1f0218[_0x2d81d7(0x2f2)](_0x4773bb,_0x226ce1['fin'],(_0x3d40f3,_0x304916)=>{const _0x34d23b=_0x2d81d7;if(this['_socket']['destroyed']){const _0x59d237=new Error(_0x34d23b(0x353));_0x39309e(this,_0x59d237,_0x4d2ace);return;}this[_0x34d23b(0x2d2)]-=_0x226ce1[_0x13e95f],this[_0x34d23b(0x337)]=_0x32cf73,_0x226ce1[_0x34d23b(0x1b0)]=!0x1,this[_0x34d23b(0x2a0)](_0x5641f7[_0x34d23b(0x34d)](_0x304916,_0x226ce1),_0x4d2ace),this[_0x34d23b(0x1b5)]();});}[_0x52f5b4(0x1b5)](){const _0x249f39=_0x52f5b4;for(;this[_0x249f39(0x337)]===_0x32cf73&&this[_0x249f39(0x20b)][_0x249f39(0x221)];){const _0x168543=this[_0x249f39(0x20b)][_0x249f39(0x2ff)]();this[_0x249f39(0x2d2)]-=_0x168543[0x3][_0x13e95f],Reflect['apply'](_0x168543[0x0],this,_0x168543[_0x249f39(0x2c8)](0x1));}}[_0x52f5b4(0x2f6)](_0x2df4d8){const _0x185502=_0x52f5b4;this['_bufferedBytes']+=_0x2df4d8[0x3][_0x13e95f],this['_queue'][_0x185502(0x277)](_0x2df4d8);}[_0x52f5b4(0x2a0)](_0x1e458a,_0x18ad07){const _0x20307e=_0x52f5b4;_0x1e458a['length']===0x2?(this['_socket']['cork'](),this[_0x20307e(0x1f0)]['write'](_0x1e458a[0x0]),this['_socket'][_0x20307e(0x23a)](_0x1e458a[0x1],_0x18ad07),this[_0x20307e(0x1f0)][_0x20307e(0x2fc)]()):this['_socket'][_0x20307e(0x23a)](_0x1e458a[0x0],_0x18ad07);}}Ee=_0x5641f7;function _0x39309e(_0x4165fc,_0x4775b3,_0x1caecf){const _0x2b2fd9=_0x52f5b4;typeof _0x1caecf==_0x2b2fd9(0x351)&&_0x1caecf(_0x4775b3);for(let _0x3e5bab=0x0;_0x3e5bab<_0x4165fc[_0x2b2fd9(0x20b)][_0x2b2fd9(0x221)];_0x3e5bab++){const _0x47089b=_0x4165fc['_queue'][_0x3e5bab],_0x3f637a=_0x47089b[_0x47089b['length']-0x1];typeof _0x3f637a==_0x2b2fd9(0x351)&&_0x3f637a(_0x4775b3);}}function _0x2dff9e(_0x3d0982,_0x3f5c66,_0x4ad249){const _0x41f8c7=_0x52f5b4;_0x39309e(_0x3d0982,_0x3f5c66,_0x4ad249),_0x3d0982[_0x41f8c7(0x1c6)](_0x3f5c66);}return Ee;}var xe,tt;function Kt(){const _0x23b22e=_0x4573dd;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x888fa5,kListener:_0x55e1f4}=V(),_0x34ad54=Symbol(_0x23b22e(0x339)),_0x4990b6=Symbol('kData'),_0x2db147=Symbol(_0x23b22e(0x32a)),_0x25153f=Symbol('kMessage'),_0x4247fb=Symbol(_0x23b22e(0x360)),_0x428b21=Symbol(_0x23b22e(0x269)),_0x3b381f=Symbol('kType'),_0x21b3a6=Symbol(_0x23b22e(0x1bf));class _0x5eff24{constructor(_0x95810c){this[_0x428b21]=null,this[_0x3b381f]=_0x95810c;}get[_0x23b22e(0x240)](){return this[_0x428b21];}get[_0x23b22e(0x2f5)](){return this[_0x3b381f];}}Object[_0x23b22e(0x2cc)](_0x5eff24[_0x23b22e(0x1d6)],_0x23b22e(0x240),{'enumerable':!0x0}),Object[_0x23b22e(0x2cc)](_0x5eff24['prototype'],_0x23b22e(0x2f5),{'enumerable':!0x0});class _0x3301d0 extends _0x5eff24{constructor(_0x277f6e,_0x4d50d8={}){const _0x584397=_0x23b22e;super(_0x277f6e),this[_0x34ad54]=_0x4d50d8[_0x584397(0x2b4)]===void 0x0?0x0:_0x4d50d8[_0x584397(0x2b4)],this[_0x4247fb]=_0x4d50d8[_0x584397(0x287)]===void 0x0?'':_0x4d50d8[_0x584397(0x287)],this[_0x21b3a6]=_0x4d50d8[_0x584397(0x1f1)]===void 0x0?!0x1:_0x4d50d8['wasClean'];}get[_0x23b22e(0x2b4)](){return this[_0x34ad54];}get[_0x23b22e(0x287)](){return this[_0x4247fb];}get[_0x23b22e(0x1f1)](){return this[_0x21b3a6];}}Object['defineProperty'](_0x3301d0[_0x23b22e(0x1d6)],_0x23b22e(0x2b4),{'enumerable':!0x0}),Object[_0x23b22e(0x2cc)](_0x3301d0[_0x23b22e(0x1d6)],_0x23b22e(0x287),{'enumerable':!0x0}),Object[_0x23b22e(0x2cc)](_0x3301d0[_0x23b22e(0x1d6)],_0x23b22e(0x1f1),{'enumerable':!0x0});class _0x13886c extends _0x5eff24{constructor(_0x340bf2,_0x289be8={}){const _0x4e5eaa=_0x23b22e;super(_0x340bf2),this[_0x2db147]=_0x289be8[_0x4e5eaa(0x238)]===void 0x0?null:_0x289be8[_0x4e5eaa(0x238)],this[_0x25153f]=_0x289be8[_0x4e5eaa(0x257)]===void 0x0?'':_0x289be8[_0x4e5eaa(0x257)];}get[_0x23b22e(0x238)](){return this[_0x2db147];}get['message'](){return this[_0x25153f];}}Object[_0x23b22e(0x2cc)](_0x13886c[_0x23b22e(0x1d6)],_0x23b22e(0x238),{'enumerable':!0x0}),Object[_0x23b22e(0x2cc)](_0x13886c[_0x23b22e(0x1d6)],_0x23b22e(0x257),{'enumerable':!0x0});class _0x49fc40 extends _0x5eff24{constructor(_0x511a6e,_0x16fddb={}){super(_0x511a6e),this[_0x4990b6]=_0x16fddb['data']===void 0x0?null:_0x16fddb['data'];}get[_0x23b22e(0x35c)](){return this[_0x4990b6];}}Object['defineProperty'](_0x49fc40[_0x23b22e(0x1d6)],_0x23b22e(0x35c),{'enumerable':!0x0}),xe={'CloseEvent':_0x3301d0,'ErrorEvent':_0x13886c,'Event':_0x5eff24,'EventTarget':{'addEventListener'(_0x4deb13,_0x3d9f2b,_0x8cbada={}){const _0x44f281=_0x23b22e;for(const _0x56c763 of this[_0x44f281(0x21e)](_0x4deb13))if(!_0x8cbada[_0x888fa5]&&_0x56c763[_0x55e1f4]===_0x3d9f2b&&!_0x56c763[_0x888fa5])return;let _0x415336;if(_0x4deb13===_0x44f281(0x257))_0x415336=function(_0x1aee46,_0x369e0a){const _0x48bd88=_0x44f281,_0x2fc6a8=new _0x49fc40(_0x48bd88(0x257),{'data':_0x369e0a?_0x1aee46:_0x1aee46[_0x48bd88(0x304)]()});_0x2fc6a8[_0x428b21]=this,_0xab33e9(_0x3d9f2b,this,_0x2fc6a8);};else{if(_0x4deb13===_0x44f281(0x1c5))_0x415336=function(_0x1a1e91,_0x37d078){const _0x44173c=_0x44f281,_0x3e644e=new _0x3301d0(_0x44173c(0x1c5),{'code':_0x1a1e91,'reason':_0x37d078[_0x44173c(0x304)](),'wasClean':this[_0x44173c(0x24b)]&&this[_0x44173c(0x28b)]});_0x3e644e[_0x428b21]=this,_0xab33e9(_0x3d9f2b,this,_0x3e644e);};else{if(_0x4deb13===_0x44f281(0x238))_0x415336=function(_0x21c7fc){const _0x2bb9bf=_0x44f281,_0x1b7912=new _0x13886c(_0x2bb9bf(0x238),{'error':_0x21c7fc,'message':_0x21c7fc[_0x2bb9bf(0x257)]});_0x1b7912[_0x428b21]=this,_0xab33e9(_0x3d9f2b,this,_0x1b7912);};else{if(_0x4deb13===_0x44f281(0x1ca))_0x415336=function(){const _0x2ff6e2=new _0x5eff24('open');_0x2ff6e2[_0x428b21]=this,_0xab33e9(_0x3d9f2b,this,_0x2ff6e2);};else return;}}}_0x415336[_0x888fa5]=!!_0x8cbada[_0x888fa5],_0x415336[_0x55e1f4]=_0x3d9f2b,_0x8cbada[_0x44f281(0x2bf)]?this['once'](_0x4deb13,_0x415336):this['on'](_0x4deb13,_0x415336);},'removeEventListener'(_0x164d62,_0x428b7f){const _0x151dfd=_0x23b22e;for(const _0x291dfa of this[_0x151dfd(0x21e)](_0x164d62))if(_0x291dfa[_0x55e1f4]===_0x428b7f&&!_0x291dfa[_0x888fa5]){this[_0x151dfd(0x1fe)](_0x164d62,_0x291dfa);break;}}},'MessageEvent':_0x49fc40};function _0xab33e9(_0x2e4c20,_0x5eb8ec,_0x59f6cd){const _0x4d37d9=_0x23b22e;typeof _0x2e4c20==_0x4d37d9(0x1be)&&_0x2e4c20['handleEvent']?_0x2e4c20[_0x4d37d9(0x29c)]['call'](_0x2e4c20,_0x59f6cd):_0x2e4c20[_0x4d37d9(0x1b9)](_0x5eb8ec,_0x59f6cd);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x26b386}=ne();function _0x124f70(_0x3b852e,_0x1499e5,_0x2d19d3){_0x3b852e[_0x1499e5]===void 0x0?_0x3b852e[_0x1499e5]=[_0x2d19d3]:_0x3b852e[_0x1499e5]['push'](_0x2d19d3);}function _0x38a4bc(_0x24e40){const _0x3e0ec9=_0x5cf4,_0x99b8bb=Object[_0x3e0ec9(0x2d4)](null);let _0x2bf71c=Object['create'](null),_0xccd9a0=!0x1,_0x24b337=!0x1,_0x205493=!0x1,_0x3ae278,_0x1f5904,_0x1963ca=-0x1,_0x5b916a=-0x1,_0x555a58=-0x1,_0x435105=0x0;for(;_0x435105<_0x24e40[_0x3e0ec9(0x221)];_0x435105++)if(_0x5b916a=_0x24e40[_0x3e0ec9(0x2e2)](_0x435105),_0x3ae278===void 0x0){if(_0x555a58===-0x1&&_0x26b386[_0x5b916a]===0x1)_0x1963ca===-0x1&&(_0x1963ca=_0x435105);else{if(_0x435105!==0x0&&(_0x5b916a===0x20||_0x5b916a===0x9))_0x555a58===-0x1&&_0x1963ca!==-0x1&&(_0x555a58=_0x435105);else{if(_0x5b916a===0x3b||_0x5b916a===0x2c){if(_0x1963ca===-0x1)throw new SyntaxError(_0x3e0ec9(0x1cb)+_0x435105);_0x555a58===-0x1&&(_0x555a58=_0x435105);const _0x41eeb5=_0x24e40[_0x3e0ec9(0x2c8)](_0x1963ca,_0x555a58);_0x5b916a===0x2c?(_0x124f70(_0x99b8bb,_0x41eeb5,_0x2bf71c),_0x2bf71c=Object[_0x3e0ec9(0x2d4)](null)):_0x3ae278=_0x41eeb5,_0x1963ca=_0x555a58=-0x1;}else throw new SyntaxError(_0x3e0ec9(0x1cb)+_0x435105);}}}else{if(_0x1f5904===void 0x0){if(_0x555a58===-0x1&&_0x26b386[_0x5b916a]===0x1)_0x1963ca===-0x1&&(_0x1963ca=_0x435105);else{if(_0x5b916a===0x20||_0x5b916a===0x9)_0x555a58===-0x1&&_0x1963ca!==-0x1&&(_0x555a58=_0x435105);else{if(_0x5b916a===0x3b||_0x5b916a===0x2c){if(_0x1963ca===-0x1)throw new SyntaxError(_0x3e0ec9(0x1cb)+_0x435105);_0x555a58===-0x1&&(_0x555a58=_0x435105),_0x124f70(_0x2bf71c,_0x24e40[_0x3e0ec9(0x2c8)](_0x1963ca,_0x555a58),!0x0),_0x5b916a===0x2c&&(_0x124f70(_0x99b8bb,_0x3ae278,_0x2bf71c),_0x2bf71c=Object[_0x3e0ec9(0x2d4)](null),_0x3ae278=void 0x0),_0x1963ca=_0x555a58=-0x1;}else{if(_0x5b916a===0x3d&&_0x1963ca!==-0x1&&_0x555a58===-0x1)_0x1f5904=_0x24e40[_0x3e0ec9(0x2c8)](_0x1963ca,_0x435105),_0x1963ca=_0x555a58=-0x1;else throw new SyntaxError(_0x3e0ec9(0x1cb)+_0x435105);}}}}else{if(_0x24b337){if(_0x26b386[_0x5b916a]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x435105);_0x1963ca===-0x1?_0x1963ca=_0x435105:_0xccd9a0||(_0xccd9a0=!0x0),_0x24b337=!0x1;}else{if(_0x205493){if(_0x26b386[_0x5b916a]===0x1)_0x1963ca===-0x1&&(_0x1963ca=_0x435105);else{if(_0x5b916a===0x22&&_0x1963ca!==-0x1)_0x205493=!0x1,_0x555a58=_0x435105;else{if(_0x5b916a===0x5c)_0x24b337=!0x0;else throw new SyntaxError(_0x3e0ec9(0x1cb)+_0x435105);}}}else{if(_0x5b916a===0x22&&_0x24e40[_0x3e0ec9(0x2e2)](_0x435105-0x1)===0x3d)_0x205493=!0x0;else{if(_0x555a58===-0x1&&_0x26b386[_0x5b916a]===0x1)_0x1963ca===-0x1&&(_0x1963ca=_0x435105);else{if(_0x1963ca!==-0x1&&(_0x5b916a===0x20||_0x5b916a===0x9))_0x555a58===-0x1&&(_0x555a58=_0x435105);else{if(_0x5b916a===0x3b||_0x5b916a===0x2c){if(_0x1963ca===-0x1)throw new SyntaxError(_0x3e0ec9(0x1cb)+_0x435105);_0x555a58===-0x1&&(_0x555a58=_0x435105);let _0x479694=_0x24e40[_0x3e0ec9(0x2c8)](_0x1963ca,_0x555a58);_0xccd9a0&&(_0x479694=_0x479694[_0x3e0ec9(0x283)](/\\/g,''),_0xccd9a0=!0x1),_0x124f70(_0x2bf71c,_0x1f5904,_0x479694),_0x5b916a===0x2c&&(_0x124f70(_0x99b8bb,_0x3ae278,_0x2bf71c),_0x2bf71c=Object[_0x3e0ec9(0x2d4)](null),_0x3ae278=void 0x0),_0x1f5904=void 0x0,_0x1963ca=_0x555a58=-0x1;}else throw new SyntaxError(_0x3e0ec9(0x1cb)+_0x435105);}}}}}}}if(_0x1963ca===-0x1||_0x205493||_0x5b916a===0x20||_0x5b916a===0x9)throw new SyntaxError('Unexpected\x20end\x20of\x20input');_0x555a58===-0x1&&(_0x555a58=_0x435105);const _0x3668e9=_0x24e40[_0x3e0ec9(0x2c8)](_0x1963ca,_0x555a58);return _0x3ae278===void 0x0?_0x124f70(_0x99b8bb,_0x3668e9,_0x2bf71c):(_0x1f5904===void 0x0?_0x124f70(_0x2bf71c,_0x3668e9,!0x0):_0xccd9a0?_0x124f70(_0x2bf71c,_0x1f5904,_0x3668e9[_0x3e0ec9(0x283)](/\\/g,'')):_0x124f70(_0x2bf71c,_0x1f5904,_0x3668e9),_0x124f70(_0x99b8bb,_0x3ae278,_0x2bf71c)),_0x99b8bb;}function _0x2b4bb3(_0x18c023){const _0xe63d5a=_0x5cf4;return Object['keys'](_0x18c023)[_0xe63d5a(0x33f)](_0x33e84e=>{const _0x31c724=_0xe63d5a;let _0x470532=_0x18c023[_0x33e84e];return Array[_0x31c724(0x2dc)](_0x470532)||(_0x470532=[_0x470532]),_0x470532[_0x31c724(0x33f)](_0x450801=>[_0x33e84e][_0x31c724(0x1c0)](Object['keys'](_0x450801)['map'](_0x13ac71=>{const _0x39cf18=_0x31c724;let _0x543416=_0x450801[_0x13ac71];return Array[_0x39cf18(0x2dc)](_0x543416)||(_0x543416=[_0x543416]),_0x543416[_0x39cf18(0x33f)](_0x1f63a5=>_0x1f63a5===!0x0?_0x13ac71:_0x13ac71+'='+_0x1f63a5)[_0x39cf18(0x1bd)](';\x20');}))[_0x31c724(0x1bd)](';\x20'))[_0x31c724(0x1bd)](',\x20');})['join'](',\x20');}return be={'format':_0x2b4bb3,'parse':_0x38a4bc},be;}var we,st;function Ie(){const _0x246a76=_0x4573dd;if(st)return we;st=0x1;const _0x11b30e=_0xc8b08e,_0x19b58f=_0x5e382d,_0x32c433=_0x49d0a7,_0x481503=_0x1d2aae,_0x16037e=_0x606e98,{randomBytes:_0x17e9e9,createHash:_0x4675f2}=_0x1469aa,{Duplex:_0x2c6d70,Readable:_0x50092c}=_0x3f0855,{URL:_0x35b48a}=_0x50e69b,_0x596b68=he(),_0xcbc02d=dt(),_0x538c95=_t(),{isBlob:_0x4da3eb}=ne(),{BINARY_TYPES:_0x5d1c54,EMPTY_BUFFER:_0x5c8b33,GUID:_0x32a1ad,kForOnEventAttribute:_0x587da0,kListener:_0x355cdb,kStatusCode:_0x14219a,kWebSocket:_0x2b3220,NOOP:_0x42b68f}=V(),{EventTarget:{addEventListener:_0x20bbed,removeEventListener:_0x303723}}=Kt(),{format:_0x1357f1,parse:_0x8fb446}=pt(),{toBuffer:_0x1adaea}=ce(),_0x1ad596=0x1e*0x3e8,_0x46d3d6=Symbol('kAborted'),_0x721150=[0x8,0xd],_0x149297=[_0x246a76(0x26e),_0x246a76(0x202),_0x246a76(0x334),_0x246a76(0x1e4)],_0x677143=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x3a22ff extends _0x11b30e{constructor(_0x591217,_0x124ab0,_0x509092){const _0x43a02b=_0x246a76;super(),this['_binaryType']=_0x5d1c54[0x0],this['_closeCode']=0x3ee,this[_0x43a02b(0x24b)]=!0x1,this[_0x43a02b(0x28b)]=!0x1,this[_0x43a02b(0x31b)]=_0x5c8b33,this[_0x43a02b(0x35e)]=null,this[_0x43a02b(0x230)]=!0x1,this['_extensions']={},this[_0x43a02b(0x24e)]=!0x1,this[_0x43a02b(0x2b3)]='',this[_0x43a02b(0x2b9)]=_0x3a22ff[_0x43a02b(0x26e)],this['_receiver']=null,this[_0x43a02b(0x1fb)]=null,this['_socket']=null,_0x591217!==null?(this[_0x43a02b(0x25e)]=0x0,this['_isServer']=!0x1,this[_0x43a02b(0x290)]=0x0,_0x124ab0===void 0x0?_0x124ab0=[]:Array[_0x43a02b(0x2dc)](_0x124ab0)||(typeof _0x124ab0==_0x43a02b(0x1be)&&_0x124ab0!==null?(_0x509092=_0x124ab0,_0x124ab0=[]):_0x124ab0=[_0x124ab0]),_0x2ebd4d(this,_0x591217,_0x124ab0,_0x509092)):(this[_0x43a02b(0x265)]=_0x509092[_0x43a02b(0x2a3)],this[_0x43a02b(0x2e4)]=!0x0);}get[_0x246a76(0x209)](){const _0x5b4090=_0x246a76;return this[_0x5b4090(0x216)];}set['binaryType'](_0x2c435a){const _0x5c9161=_0x246a76;_0x5d1c54[_0x5c9161(0x311)](_0x2c435a)&&(this[_0x5c9161(0x216)]=_0x2c435a,this[_0x5c9161(0x261)]&&(this['_receiver']['_binaryType']=_0x2c435a));}get['bufferedAmount'](){const _0x3f1e1a=_0x246a76;return this[_0x3f1e1a(0x1f0)]?this['_socket'][_0x3f1e1a(0x222)]['length']+this[_0x3f1e1a(0x1fb)][_0x3f1e1a(0x2d2)]:this['_bufferedAmount'];}get[_0x246a76(0x1d9)](){const _0x11991f=_0x246a76;return Object[_0x11991f(0x26b)](this['_extensions'])[_0x11991f(0x1bd)]();}get[_0x246a76(0x1ed)](){const _0x521221=_0x246a76;return this[_0x521221(0x24e)];}get[_0x246a76(0x31e)](){return null;}get[_0x246a76(0x1c6)](){return null;}get[_0x246a76(0x1cd)](){return null;}get['onmessage'](){return null;}get[_0x246a76(0x31c)](){const _0x22d822=_0x246a76;return this[_0x22d822(0x2b3)];}get[_0x246a76(0x1f6)](){const _0x3045ff=_0x246a76;return this[_0x3045ff(0x2b9)];}get[_0x246a76(0x333)](){const _0x32206e=_0x246a76;return this[_0x32206e(0x23b)];}[_0x246a76(0x271)](_0x48d060,_0x2cdf6c,_0x77772d){const _0x397cf3=_0x246a76,_0x5d19ed=new _0xcbc02d({'allowSynchronousEvents':_0x77772d[_0x397cf3(0x29f)],'binaryType':this[_0x397cf3(0x209)],'extensions':this[_0x397cf3(0x1d8)],'isServer':this[_0x397cf3(0x2e4)],'maxPayload':_0x77772d[_0x397cf3(0x22f)],'skipUTF8Validation':_0x77772d['skipUTF8Validation']}),_0x4f8a61=new _0x538c95(_0x48d060,this['_extensions'],_0x77772d['generateMask']);this[_0x397cf3(0x261)]=_0x5d19ed,this['_sender']=_0x4f8a61,this[_0x397cf3(0x1f0)]=_0x48d060,_0x5d19ed[_0x2b3220]=this,_0x4f8a61[_0x2b3220]=this,_0x48d060[_0x2b3220]=this,_0x5d19ed['on'](_0x397cf3(0x2e9),_0x4ba37a),_0x5d19ed['on'](_0x397cf3(0x263),_0x1dbceb),_0x5d19ed['on'](_0x397cf3(0x238),_0x3903e9),_0x5d19ed['on'](_0x397cf3(0x257),_0x7cc3a8),_0x5d19ed['on'](_0x397cf3(0x2d8),_0xec1676),_0x5d19ed['on'](_0x397cf3(0x346),_0xb629c3),_0x4f8a61[_0x397cf3(0x1c6)]=_0x321b43,_0x48d060['setTimeout']&&_0x48d060[_0x397cf3(0x211)](0x0),_0x48d060[_0x397cf3(0x2c6)]&&_0x48d060[_0x397cf3(0x2c6)](),_0x2cdf6c[_0x397cf3(0x221)]>0x0&&_0x48d060['unshift'](_0x2cdf6c),_0x48d060['on']('close',_0x30b2b9),_0x48d060['on']('data',_0x31c0c7),_0x48d060['on'](_0x397cf3(0x1f8),_0x5c6c4e),_0x48d060['on'](_0x397cf3(0x238),_0x5e34eb),this[_0x397cf3(0x2b9)]=_0x3a22ff[_0x397cf3(0x202)],this['emit'](_0x397cf3(0x1ca));}['emitClose'](){const _0x23244c=_0x246a76;if(!this[_0x23244c(0x1f0)]){this[_0x23244c(0x2b9)]=_0x3a22ff[_0x23244c(0x1e4)],this[_0x23244c(0x2f0)](_0x23244c(0x1c5),this[_0x23244c(0x2ee)],this[_0x23244c(0x31b)]);return;}this[_0x23244c(0x1d8)][_0x596b68[_0x23244c(0x293)]]&&this[_0x23244c(0x1d8)][_0x596b68['extensionName']][_0x23244c(0x1e1)](),this[_0x23244c(0x261)][_0x23244c(0x228)](),this[_0x23244c(0x2b9)]=_0x3a22ff['CLOSED'],this[_0x23244c(0x2f0)](_0x23244c(0x1c5),this[_0x23244c(0x2ee)],this[_0x23244c(0x31b)]);}[_0x246a76(0x1c5)](_0x2ed7f8,_0x2498de){const _0x2cf807=_0x246a76;if(this['readyState']!==_0x3a22ff[_0x2cf807(0x1e4)]){if(this[_0x2cf807(0x1f6)]===_0x3a22ff[_0x2cf807(0x26e)]){_0x3e0b74(this,this['_req'],_0x2cf807(0x300));return;}if(this[_0x2cf807(0x1f6)]===_0x3a22ff[_0x2cf807(0x334)]){this[_0x2cf807(0x28b)]&&(this[_0x2cf807(0x24b)]||this[_0x2cf807(0x261)][_0x2cf807(0x222)]['errorEmitted'])&&this['_socket'][_0x2cf807(0x1f8)]();return;}this['_readyState']=_0x3a22ff[_0x2cf807(0x334)],this[_0x2cf807(0x1fb)]['close'](_0x2ed7f8,_0x2498de,!this[_0x2cf807(0x2e4)],_0x1b692f=>{const _0x5e78b7=_0x2cf807;_0x1b692f||(this['_closeFrameSent']=!0x0,(this[_0x5e78b7(0x24b)]||this['_receiver'][_0x5e78b7(0x222)][_0x5e78b7(0x204)])&&this[_0x5e78b7(0x1f0)][_0x5e78b7(0x1f8)]());}),_0x14365f(this);}}[_0x246a76(0x2f3)](){const _0x2b031d=_0x246a76;this[_0x2b031d(0x1f6)]===_0x3a22ff[_0x2b031d(0x26e)]||this['readyState']===_0x3a22ff[_0x2b031d(0x1e4)]||(this[_0x2b031d(0x24e)]=!0x0,this[_0x2b031d(0x1f0)][_0x2b031d(0x2f3)]());}[_0x246a76(0x2d8)](_0xce8a31,_0x5af312,_0x5e76b6){const _0x151c22=_0x246a76;if(this[_0x151c22(0x1f6)]===_0x3a22ff[_0x151c22(0x26e)])throw new Error(_0x151c22(0x275));if(typeof _0xce8a31==_0x151c22(0x351)?(_0x5e76b6=_0xce8a31,_0xce8a31=_0x5af312=void 0x0):typeof _0x5af312==_0x151c22(0x351)&&(_0x5e76b6=_0x5af312,_0x5af312=void 0x0),typeof _0xce8a31==_0x151c22(0x2ea)&&(_0xce8a31=_0xce8a31[_0x151c22(0x304)]()),this['readyState']!==_0x3a22ff[_0x151c22(0x202)]){_0x298b11(this,_0xce8a31,_0x5e76b6);return;}_0x5af312===void 0x0&&(_0x5af312=!this[_0x151c22(0x2e4)]),this[_0x151c22(0x1fb)][_0x151c22(0x2d8)](_0xce8a31||_0x5c8b33,_0x5af312,_0x5e76b6);}['pong'](_0x270ec9,_0x5239e5,_0x12c7a6){const _0x14cf64=_0x246a76;if(this[_0x14cf64(0x1f6)]===_0x3a22ff[_0x14cf64(0x26e)])throw new Error(_0x14cf64(0x275));if(typeof _0x270ec9==_0x14cf64(0x351)?(_0x12c7a6=_0x270ec9,_0x270ec9=_0x5239e5=void 0x0):typeof _0x5239e5==_0x14cf64(0x351)&&(_0x12c7a6=_0x5239e5,_0x5239e5=void 0x0),typeof _0x270ec9==_0x14cf64(0x2ea)&&(_0x270ec9=_0x270ec9[_0x14cf64(0x304)]()),this['readyState']!==_0x3a22ff['OPEN']){_0x298b11(this,_0x270ec9,_0x12c7a6);return;}_0x5239e5===void 0x0&&(_0x5239e5=!this[_0x14cf64(0x2e4)]),this['_sender']['pong'](_0x270ec9||_0x5c8b33,_0x5239e5,_0x12c7a6);}[_0x246a76(0x268)](){const _0x553c49=_0x246a76;this[_0x553c49(0x1f6)]===_0x3a22ff[_0x553c49(0x26e)]||this[_0x553c49(0x1f6)]===_0x3a22ff[_0x553c49(0x1e4)]||(this[_0x553c49(0x24e)]=!0x1,this[_0x553c49(0x261)]['_writableState'][_0x553c49(0x201)]||this[_0x553c49(0x1f0)][_0x553c49(0x268)]());}['send'](_0x159125,_0x268ca4,_0x350828){const _0x59ba11=_0x246a76;if(this['readyState']===_0x3a22ff['CONNECTING'])throw new Error(_0x59ba11(0x275));if(typeof _0x268ca4==_0x59ba11(0x351)&&(_0x350828=_0x268ca4,_0x268ca4={}),typeof _0x159125==_0x59ba11(0x2ea)&&(_0x159125=_0x159125[_0x59ba11(0x304)]()),this[_0x59ba11(0x1f6)]!==_0x3a22ff[_0x59ba11(0x202)]){_0x298b11(this,_0x159125,_0x350828);return;}const _0x33818b={'binary':typeof _0x159125!=_0x59ba11(0x29e),'mask':!this[_0x59ba11(0x2e4)],'compress':!0x0,'fin':!0x0,..._0x268ca4};this['_extensions'][_0x596b68[_0x59ba11(0x293)]]||(_0x33818b[_0x59ba11(0x2f2)]=!0x1),this[_0x59ba11(0x1fb)][_0x59ba11(0x2f4)](_0x159125||_0x5c8b33,_0x33818b,_0x350828);}['terminate'](){const _0x450f49=_0x246a76;if(this[_0x450f49(0x1f6)]!==_0x3a22ff[_0x450f49(0x1e4)]){if(this['readyState']===_0x3a22ff[_0x450f49(0x26e)]){_0x3e0b74(this,this[_0x450f49(0x30c)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}this[_0x450f49(0x1f0)]&&(this[_0x450f49(0x2b9)]=_0x3a22ff['CLOSING'],this[_0x450f49(0x1f0)][_0x450f49(0x20e)]());}}}Object[_0x246a76(0x2cc)](_0x3a22ff,_0x246a76(0x26e),{'enumerable':!0x0,'value':_0x149297[_0x246a76(0x318)](_0x246a76(0x26e))}),Object[_0x246a76(0x2cc)](_0x3a22ff['prototype'],'CONNECTING',{'enumerable':!0x0,'value':_0x149297['indexOf']('CONNECTING')}),Object[_0x246a76(0x2cc)](_0x3a22ff,_0x246a76(0x202),{'enumerable':!0x0,'value':_0x149297['indexOf'](_0x246a76(0x202))}),Object[_0x246a76(0x2cc)](_0x3a22ff[_0x246a76(0x1d6)],_0x246a76(0x202),{'enumerable':!0x0,'value':_0x149297['indexOf']('OPEN')}),Object['defineProperty'](_0x3a22ff,_0x246a76(0x334),{'enumerable':!0x0,'value':_0x149297[_0x246a76(0x318)](_0x246a76(0x334))}),Object['defineProperty'](_0x3a22ff[_0x246a76(0x1d6)],_0x246a76(0x334),{'enumerable':!0x0,'value':_0x149297[_0x246a76(0x318)](_0x246a76(0x334))}),Object[_0x246a76(0x2cc)](_0x3a22ff,_0x246a76(0x1e4),{'enumerable':!0x0,'value':_0x149297[_0x246a76(0x318)](_0x246a76(0x1e4))}),Object['defineProperty'](_0x3a22ff[_0x246a76(0x1d6)],'CLOSED',{'enumerable':!0x0,'value':_0x149297[_0x246a76(0x318)](_0x246a76(0x1e4))}),[_0x246a76(0x209),_0x246a76(0x1b8),_0x246a76(0x1d9),_0x246a76(0x1ed),_0x246a76(0x31c),_0x246a76(0x1f6),_0x246a76(0x333)][_0x246a76(0x28c)](_0x3714cd=>{const _0x2feb5f=_0x246a76;Object[_0x2feb5f(0x2cc)](_0x3a22ff[_0x2feb5f(0x1d6)],_0x3714cd,{'enumerable':!0x0});}),[_0x246a76(0x1ca),_0x246a76(0x238),'close',_0x246a76(0x257)]['forEach'](_0x27a4f2=>{const _0x19498c=_0x246a76;Object[_0x19498c(0x2cc)](_0x3a22ff[_0x19498c(0x1d6)],'on'+_0x27a4f2,{'enumerable':!0x0,'get'(){const _0x7066c7=_0x19498c;for(const _0x214bb3 of this[_0x7066c7(0x21e)](_0x27a4f2))if(_0x214bb3[_0x587da0])return _0x214bb3[_0x355cdb];return null;},'set'(_0x2ea444){const _0x546877=_0x19498c;for(const _0x10b75a of this[_0x546877(0x21e)](_0x27a4f2))if(_0x10b75a[_0x587da0]){this[_0x546877(0x1fe)](_0x27a4f2,_0x10b75a);break;}typeof _0x2ea444==_0x546877(0x351)&&this[_0x546877(0x329)](_0x27a4f2,_0x2ea444,{[_0x587da0]:!0x0});}});}),_0x3a22ff['prototype'][_0x246a76(0x329)]=_0x20bbed,_0x3a22ff[_0x246a76(0x1d6)][_0x246a76(0x1eb)]=_0x303723,we=_0x3a22ff;function _0x2ebd4d(_0x4a04b4,_0x1a3aa9,_0x56c36b,_0x3de0db){const _0x13f963=_0x246a76,_0x177e07={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x721150[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x3de0db,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x13f963(0x276),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x4a04b4[_0x13f963(0x265)]=_0x177e07[_0x13f963(0x2a3)],!_0x721150[_0x13f963(0x311)](_0x177e07[_0x13f963(0x317)]))throw new RangeError(_0x13f963(0x280)+_0x177e07['protocolVersion']+_0x13f963(0x348)+_0x721150[_0x13f963(0x1bd)](',\x20')+')');let _0x158980;if(_0x1a3aa9 instanceof _0x35b48a)_0x158980=_0x1a3aa9;else try{_0x158980=new _0x35b48a(_0x1a3aa9);}catch{throw new SyntaxError('Invalid\x20URL:\x20'+_0x1a3aa9);}_0x158980[_0x13f963(0x31c)]==='http:'?_0x158980[_0x13f963(0x31c)]=_0x13f963(0x289):_0x158980[_0x13f963(0x31c)]===_0x13f963(0x1b4)&&(_0x158980[_0x13f963(0x31c)]=_0x13f963(0x2c3)),_0x4a04b4[_0x13f963(0x23b)]=_0x158980[_0x13f963(0x225)];const _0x598451=_0x158980[_0x13f963(0x31c)]===_0x13f963(0x2c3),_0x5e924a=_0x158980['protocol']===_0x13f963(0x2cf);let _0x820652;if(_0x158980[_0x13f963(0x31c)]!==_0x13f963(0x289)&&!_0x598451&&!_0x5e924a?_0x820652=_0x13f963(0x248):_0x5e924a&&!_0x158980[_0x13f963(0x323)]?_0x820652=_0x13f963(0x30e):_0x158980[_0x13f963(0x2fa)]&&(_0x820652=_0x13f963(0x1f9)),_0x820652){const _0x42c0ad=new SyntaxError(_0x820652);if(_0x4a04b4['_redirects']===0x0)throw _0x42c0ad;_0x4ab463(_0x4a04b4,_0x42c0ad);return;}const _0x6956b2=_0x598451?0x1bb:0x50,_0x22f8dd=_0x17e9e9(0x10)[_0x13f963(0x304)](_0x13f963(0x358)),_0x3e0e35=_0x598451?_0x19b58f[_0x13f963(0x2ec)]:_0x32c433[_0x13f963(0x2ec)],_0x1ec802=new Set();let _0x3e81e7;if(_0x177e07['createConnection']=_0x177e07['createConnection']||(_0x598451?_0x8858be:_0x37e314),_0x177e07[_0x13f963(0x1e2)]=_0x177e07[_0x13f963(0x1e2)]||_0x6956b2,_0x177e07[_0x13f963(0x2dd)]=_0x158980[_0x13f963(0x2dd)]||_0x6956b2,_0x177e07['host']=_0x158980['hostname'][_0x13f963(0x1e8)]('[')?_0x158980[_0x13f963(0x1ce)][_0x13f963(0x2c8)](0x1,-0x1):_0x158980[_0x13f963(0x1ce)],_0x177e07[_0x13f963(0x1c1)]={..._0x177e07[_0x13f963(0x1c1)],'Sec-WebSocket-Version':_0x177e07['protocolVersion'],'Sec-WebSocket-Key':_0x22f8dd,'Connection':_0x13f963(0x24d),'Upgrade':_0x13f963(0x2d7)},_0x177e07['path']=_0x158980[_0x13f963(0x323)]+_0x158980[_0x13f963(0x1de)],_0x177e07[_0x13f963(0x256)]=_0x177e07[_0x13f963(0x242)],_0x177e07[_0x13f963(0x23e)]&&(_0x3e81e7=new _0x596b68(_0x177e07[_0x13f963(0x23e)]!==!0x0?_0x177e07[_0x13f963(0x23e)]:{},!0x1,_0x177e07[_0x13f963(0x22f)]),_0x177e07['headers'][_0x13f963(0x319)]=_0x1357f1({[_0x596b68[_0x13f963(0x293)]]:_0x3e81e7[_0x13f963(0x2a1)]()})),_0x56c36b[_0x13f963(0x221)]){for(const _0x3bde28 of _0x56c36b){if(typeof _0x3bde28!=_0x13f963(0x29e)||!_0x677143[_0x13f963(0x294)](_0x3bde28)||_0x1ec802[_0x13f963(0x314)](_0x3bde28))throw new SyntaxError(_0x13f963(0x2fb));_0x1ec802['add'](_0x3bde28);}_0x177e07[_0x13f963(0x1c1)][_0x13f963(0x286)]=_0x56c36b[_0x13f963(0x1bd)](',');}if(_0x177e07['origin']&&(_0x177e07[_0x13f963(0x317)]<0xd?_0x177e07[_0x13f963(0x1c1)][_0x13f963(0x1bc)]=_0x177e07[_0x13f963(0x35a)]:_0x177e07['headers'][_0x13f963(0x2ba)]=_0x177e07[_0x13f963(0x35a)]),(_0x158980[_0x13f963(0x322)]||_0x158980['password'])&&(_0x177e07[_0x13f963(0x340)]=_0x158980[_0x13f963(0x322)]+':'+_0x158980[_0x13f963(0x324)]),_0x5e924a){const _0x2bac00=_0x177e07[_0x13f963(0x312)][_0x13f963(0x30d)](':');_0x177e07['socketPath']=_0x2bac00[0x0],_0x177e07[_0x13f963(0x312)]=_0x2bac00[0x1];}let _0x1d881d;if(_0x177e07[_0x13f963(0x341)]){if(_0x4a04b4[_0x13f963(0x290)]===0x0){_0x4a04b4[_0x13f963(0x21d)]=_0x5e924a,_0x4a04b4['_originalSecure']=_0x598451,_0x4a04b4[_0x13f963(0x33d)]=_0x5e924a?_0x177e07['socketPath']:_0x158980[_0x13f963(0x338)];const _0x57477b=_0x3de0db&&_0x3de0db[_0x13f963(0x1c1)];if(_0x3de0db={..._0x3de0db,'headers':{}},_0x57477b){for(const [_0x1da3aa,_0x1e365a]of Object[_0x13f963(0x307)](_0x57477b))_0x3de0db[_0x13f963(0x1c1)][_0x1da3aa[_0x13f963(0x259)]()]=_0x1e365a;}}else{if(_0x4a04b4[_0x13f963(0x22d)](_0x13f963(0x299))===0x0){const _0x4843cd=_0x5e924a?_0x4a04b4[_0x13f963(0x21d)]?_0x177e07[_0x13f963(0x1fa)]===_0x4a04b4[_0x13f963(0x33d)]:!0x1:_0x4a04b4['_originalIpc']?!0x1:_0x158980[_0x13f963(0x338)]===_0x4a04b4['_originalHostOrSocketPath'];(!_0x4843cd||_0x4a04b4[_0x13f963(0x2eb)]&&!_0x598451)&&(delete _0x177e07[_0x13f963(0x1c1)][_0x13f963(0x2b1)],delete _0x177e07[_0x13f963(0x1c1)][_0x13f963(0x20a)],_0x4843cd||delete _0x177e07[_0x13f963(0x1c1)][_0x13f963(0x338)],_0x177e07[_0x13f963(0x340)]=void 0x0);}}_0x177e07[_0x13f963(0x340)]&&!_0x3de0db[_0x13f963(0x1c1)][_0x13f963(0x2b1)]&&(_0x3de0db[_0x13f963(0x1c1)][_0x13f963(0x2b1)]='Basic\x20'+Buffer[_0x13f963(0x330)](_0x177e07['auth'])[_0x13f963(0x304)](_0x13f963(0x358))),_0x1d881d=_0x4a04b4['_req']=_0x3e0e35(_0x177e07),_0x4a04b4[_0x13f963(0x290)]&&_0x4a04b4[_0x13f963(0x2f0)](_0x13f963(0x299),_0x4a04b4[_0x13f963(0x333)],_0x1d881d);}else _0x1d881d=_0x4a04b4[_0x13f963(0x30c)]=_0x3e0e35(_0x177e07);_0x177e07[_0x13f963(0x256)]&&_0x1d881d['on']('timeout',()=>{_0x3e0b74(_0x4a04b4,_0x1d881d,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x1d881d['on'](_0x13f963(0x238),_0x35bfe4=>{const _0xf2e2ab=_0x13f963;_0x1d881d===null||_0x1d881d[_0x46d3d6]||(_0x1d881d=_0x4a04b4[_0xf2e2ab(0x30c)]=null,_0x4ab463(_0x4a04b4,_0x35bfe4));}),_0x1d881d['on'](_0x13f963(0x32b),_0x21113e=>{const _0x305f2f=_0x13f963,_0x141858=_0x21113e['headers'][_0x305f2f(0x35d)],_0x160dc8=_0x21113e[_0x305f2f(0x212)];if(_0x141858&&_0x177e07['followRedirects']&&_0x160dc8>=0x12c&&_0x160dc8<0x190){if(++_0x4a04b4[_0x305f2f(0x290)]>_0x177e07[_0x305f2f(0x246)]){_0x3e0b74(_0x4a04b4,_0x1d881d,_0x305f2f(0x352));return;}_0x1d881d[_0x305f2f(0x1cf)]();let _0x2543e9;try{_0x2543e9=new _0x35b48a(_0x141858,_0x1a3aa9);}catch{const _0x3e7800=new SyntaxError(_0x305f2f(0x31f)+_0x141858);_0x4ab463(_0x4a04b4,_0x3e7800);return;}_0x2ebd4d(_0x4a04b4,_0x2543e9,_0x56c36b,_0x3de0db);}else _0x4a04b4[_0x305f2f(0x2f0)](_0x305f2f(0x2b2),_0x1d881d,_0x21113e)||_0x3e0b74(_0x4a04b4,_0x1d881d,_0x305f2f(0x344)+_0x21113e[_0x305f2f(0x212)]);}),_0x1d881d['on']('upgrade',(_0x422b57,_0x16c715,_0x282ebe)=>{const _0xd2cb4e=_0x13f963;if(_0x4a04b4[_0xd2cb4e(0x2f0)](_0xd2cb4e(0x1d1),_0x422b57),_0x4a04b4[_0xd2cb4e(0x1f6)]!==_0x3a22ff['CONNECTING'])return;_0x1d881d=_0x4a04b4[_0xd2cb4e(0x30c)]=null;const _0x34141d=_0x422b57[_0xd2cb4e(0x1c1)]['upgrade'];if(_0x34141d===void 0x0||_0x34141d['toLowerCase']()!==_0xd2cb4e(0x2d7)){_0x3e0b74(_0x4a04b4,_0x16c715,_0xd2cb4e(0x1e5));return;}const _0x2fa3d6=_0x4675f2(_0xd2cb4e(0x1c2))['update'](_0x22f8dd+_0x32a1ad)[_0xd2cb4e(0x1dc)](_0xd2cb4e(0x358));if(_0x422b57['headers'][_0xd2cb4e(0x1d5)]!==_0x2fa3d6){_0x3e0b74(_0x4a04b4,_0x16c715,_0xd2cb4e(0x357));return;}const _0x1c9e92=_0x422b57[_0xd2cb4e(0x1c1)][_0xd2cb4e(0x22e)];let _0x3553b9;if(_0x1c9e92!==void 0x0?_0x1ec802[_0xd2cb4e(0x2e7)]?_0x1ec802[_0xd2cb4e(0x314)](_0x1c9e92)||(_0x3553b9='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0x3553b9=_0xd2cb4e(0x215):_0x1ec802[_0xd2cb4e(0x2e7)]&&(_0x3553b9=_0xd2cb4e(0x208)),_0x3553b9){_0x3e0b74(_0x4a04b4,_0x16c715,_0x3553b9);return;}_0x1c9e92&&(_0x4a04b4[_0xd2cb4e(0x2b3)]=_0x1c9e92);const _0x3f6eb8=_0x422b57[_0xd2cb4e(0x1c1)][_0xd2cb4e(0x2f8)];if(_0x3f6eb8!==void 0x0){if(!_0x3e81e7){_0x3e0b74(_0x4a04b4,_0x16c715,_0xd2cb4e(0x1c9));return;}let _0x3ff99a;try{_0x3ff99a=_0x8fb446(_0x3f6eb8);}catch{_0x3e0b74(_0x4a04b4,_0x16c715,_0xd2cb4e(0x220));return;}const _0x3e0fa3=Object['keys'](_0x3ff99a);if(_0x3e0fa3['length']!==0x1||_0x3e0fa3[0x0]!==_0x596b68[_0xd2cb4e(0x293)]){_0x3e0b74(_0x4a04b4,_0x16c715,_0xd2cb4e(0x243));return;}try{_0x3e81e7['accept'](_0x3ff99a[_0x596b68[_0xd2cb4e(0x293)]]);}catch{_0x3e0b74(_0x4a04b4,_0x16c715,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}_0x4a04b4[_0xd2cb4e(0x1d8)][_0x596b68['extensionName']]=_0x3e81e7;}_0x4a04b4[_0xd2cb4e(0x271)](_0x16c715,_0x282ebe,{'allowSynchronousEvents':_0x177e07[_0xd2cb4e(0x29f)],'generateMask':_0x177e07[_0xd2cb4e(0x2c2)],'maxPayload':_0x177e07[_0xd2cb4e(0x22f)],'skipUTF8Validation':_0x177e07['skipUTF8Validation']});}),_0x177e07['finishRequest']?_0x177e07['finishRequest'](_0x1d881d,_0x4a04b4):_0x1d881d['end']();}function _0x4ab463(_0x57ed1a,_0xc4014){const _0x2e2831=_0x246a76;_0x57ed1a['_readyState']=_0x3a22ff[_0x2e2831(0x334)],_0x57ed1a['_errorEmitted']=!0x0,_0x57ed1a['emit'](_0x2e2831(0x238),_0xc4014),_0x57ed1a[_0x2e2831(0x273)]();}function _0x37e314(_0x4bfd86){const _0x57cbe8=_0x246a76;return _0x4bfd86['path']=_0x4bfd86[_0x57cbe8(0x1fa)],_0x481503[_0x57cbe8(0x1d2)](_0x4bfd86);}function _0x8858be(_0xce6661){const _0x1c06eb=_0x246a76;return _0xce6661[_0x1c06eb(0x312)]=void 0x0,!_0xce6661[_0x1c06eb(0x205)]&&_0xce6661[_0x1c06eb(0x205)]!==''&&(_0xce6661['servername']=_0x481503[_0x1c06eb(0x244)](_0xce6661[_0x1c06eb(0x338)])?'':_0xce6661[_0x1c06eb(0x338)]),_0x16037e[_0x1c06eb(0x1d2)](_0xce6661);}function _0x3e0b74(_0x223caa,_0x4a788e,_0x4834e1){const _0x1c2743=_0x246a76;_0x223caa[_0x1c2743(0x2b9)]=_0x3a22ff[_0x1c2743(0x334)];const _0x138dd3=new Error(_0x4834e1);Error[_0x1c2743(0x326)](_0x138dd3,_0x3e0b74),_0x4a788e[_0x1c2743(0x356)]?(_0x4a788e[_0x46d3d6]=!0x0,_0x4a788e[_0x1c2743(0x1cf)](),_0x4a788e['socket']&&!_0x4a788e[_0x1c2743(0x219)]['destroyed']&&_0x4a788e['socket'][_0x1c2743(0x20e)](),process[_0x1c2743(0x27c)](_0x4ab463,_0x223caa,_0x138dd3)):(_0x4a788e[_0x1c2743(0x20e)](_0x138dd3),_0x4a788e['once'](_0x1c2743(0x238),_0x223caa[_0x1c2743(0x2f0)][_0x1c2743(0x23c)](_0x223caa,'error')),_0x4a788e[_0x1c2743(0x2bf)]('close',_0x223caa[_0x1c2743(0x273)][_0x1c2743(0x23c)](_0x223caa)));}function _0x298b11(_0xb7da21,_0x49bd20,_0x7effc9){const _0x1882a6=_0x246a76;if(_0x49bd20){const _0x23d7db=_0x4da3eb(_0x49bd20)?_0x49bd20['size']:_0x1adaea(_0x49bd20)[_0x1882a6(0x221)];_0xb7da21['_socket']?_0xb7da21[_0x1882a6(0x1fb)]['_bufferedBytes']+=_0x23d7db:_0xb7da21[_0x1882a6(0x25e)]+=_0x23d7db;}if(_0x7effc9){const _0x4b252c=new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x20'+_0xb7da21[_0x1882a6(0x1f6)]+'\x20('+_0x149297[_0xb7da21[_0x1882a6(0x1f6)]]+')');process[_0x1882a6(0x27c)](_0x7effc9,_0x4b252c);}}function _0x4ba37a(_0xaf9daf,_0x53df47){const _0x4be95c=_0x246a76,_0x539f31=this[_0x2b3220];_0x539f31[_0x4be95c(0x24b)]=!0x0,_0x539f31[_0x4be95c(0x31b)]=_0x53df47,_0x539f31['_closeCode']=_0xaf9daf,_0x539f31[_0x4be95c(0x1f0)][_0x2b3220]!==void 0x0&&(_0x539f31[_0x4be95c(0x1f0)][_0x4be95c(0x1fe)](_0x4be95c(0x35c),_0x31c0c7),process['nextTick'](_0x38c599,_0x539f31[_0x4be95c(0x1f0)]),_0xaf9daf===0x3ed?_0x539f31[_0x4be95c(0x1c5)]():_0x539f31[_0x4be95c(0x1c5)](_0xaf9daf,_0x53df47));}function _0x1dbceb(){const _0x35d1c3=_0x246a76,_0x1d8217=this[_0x2b3220];_0x1d8217[_0x35d1c3(0x1ed)]||_0x1d8217[_0x35d1c3(0x1f0)]['resume']();}function _0x3903e9(_0x29936e){const _0x226c1b=_0x246a76,_0x5e7f09=this[_0x2b3220];_0x5e7f09[_0x226c1b(0x1f0)][_0x2b3220]!==void 0x0&&(_0x5e7f09[_0x226c1b(0x1f0)][_0x226c1b(0x1fe)]('data',_0x31c0c7),process[_0x226c1b(0x27c)](_0x38c599,_0x5e7f09[_0x226c1b(0x1f0)]),_0x5e7f09[_0x226c1b(0x1c5)](_0x29936e[_0x14219a])),_0x5e7f09['_errorEmitted']||(_0x5e7f09['_errorEmitted']=!0x0,_0x5e7f09[_0x226c1b(0x2f0)](_0x226c1b(0x238),_0x29936e));}function _0x707018(){const _0x446e84=_0x246a76;this[_0x2b3220][_0x446e84(0x273)]();}function _0x7cc3a8(_0x5f346e,_0x39023c){const _0x126606=_0x246a76;this[_0x2b3220][_0x126606(0x2f0)]('message',_0x5f346e,_0x39023c);}function _0xec1676(_0x5bb68f){const _0x53ef04=_0x246a76,_0x265a60=this[_0x2b3220];_0x265a60[_0x53ef04(0x265)]&&_0x265a60[_0x53ef04(0x346)](_0x5bb68f,!this[_0x53ef04(0x2e4)],_0x42b68f),_0x265a60[_0x53ef04(0x2f0)](_0x53ef04(0x2d8),_0x5bb68f);}function _0xb629c3(_0x23678b){const _0x5a127b=_0x246a76;this[_0x2b3220][_0x5a127b(0x2f0)](_0x5a127b(0x346),_0x23678b);}function _0x38c599(_0x33a527){const _0x26319c=_0x246a76;_0x33a527[_0x26319c(0x268)]();}function _0x321b43(_0x1d4b7e){const _0x38f8d5=_0x246a76,_0x1a960c=this[_0x2b3220];_0x1a960c[_0x38f8d5(0x1f6)]!==_0x3a22ff[_0x38f8d5(0x1e4)]&&(_0x1a960c[_0x38f8d5(0x1f6)]===_0x3a22ff['OPEN']&&(_0x1a960c['_readyState']=_0x3a22ff['CLOSING'],_0x14365f(_0x1a960c)),this[_0x38f8d5(0x1f0)]['end'](),_0x1a960c[_0x38f8d5(0x230)]||(_0x1a960c[_0x38f8d5(0x230)]=!0x0,_0x1a960c[_0x38f8d5(0x2f0)]('error',_0x1d4b7e)));}function _0x14365f(_0x3a1ff7){const _0x2d867b=_0x246a76;_0x3a1ff7[_0x2d867b(0x35e)]=setTimeout(_0x3a1ff7[_0x2d867b(0x1f0)][_0x2d867b(0x20e)][_0x2d867b(0x23c)](_0x3a1ff7[_0x2d867b(0x1f0)]),_0x1ad596);}function _0x30b2b9(){const _0x40123c=_0x246a76,_0x596f35=this[_0x2b3220];this[_0x40123c(0x1fe)](_0x40123c(0x1c5),_0x30b2b9),this[_0x40123c(0x1fe)](_0x40123c(0x35c),_0x31c0c7),this[_0x40123c(0x1fe)](_0x40123c(0x1f8),_0x5c6c4e),_0x596f35[_0x40123c(0x2b9)]=_0x3a22ff[_0x40123c(0x334)];let _0x41d397;!this['_readableState'][_0x40123c(0x2b5)]&&!_0x596f35[_0x40123c(0x24b)]&&!_0x596f35[_0x40123c(0x261)][_0x40123c(0x222)][_0x40123c(0x204)]&&(_0x41d397=_0x596f35[_0x40123c(0x1f0)][_0x40123c(0x226)]())!==null&&_0x596f35[_0x40123c(0x261)]['write'](_0x41d397),_0x596f35[_0x40123c(0x261)][_0x40123c(0x1f8)](),this[_0x2b3220]=void 0x0,clearTimeout(_0x596f35[_0x40123c(0x35e)]),_0x596f35[_0x40123c(0x261)][_0x40123c(0x222)][_0x40123c(0x1fd)]||_0x596f35[_0x40123c(0x261)]['_writableState'][_0x40123c(0x204)]?_0x596f35[_0x40123c(0x273)]():(_0x596f35[_0x40123c(0x261)]['on'](_0x40123c(0x238),_0x707018),_0x596f35[_0x40123c(0x261)]['on'](_0x40123c(0x2a7),_0x707018));}function _0x31c0c7(_0x2f8d85){const _0x2cdf2b=_0x246a76;this[_0x2b3220]['_receiver'][_0x2cdf2b(0x23a)](_0x2f8d85)||this[_0x2cdf2b(0x2f3)]();}function _0x5c6c4e(){const _0x371e92=_0x246a76,_0xaf8877=this[_0x2b3220];_0xaf8877[_0x371e92(0x2b9)]=_0x3a22ff['CLOSING'],_0xaf8877[_0x371e92(0x261)][_0x371e92(0x1f8)](),this[_0x371e92(0x1f8)]();}function _0x5e34eb(){const _0x27bd63=_0x246a76,_0x1949a0=this[_0x2b3220];this['removeListener'](_0x27bd63(0x238),_0x5e34eb),this['on'](_0x27bd63(0x238),_0x42b68f),_0x1949a0&&(_0x1949a0['_readyState']=_0x3a22ff['CLOSING'],this[_0x27bd63(0x20e)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x292a6f}=_0x3f0855;function _0x4d923e(_0x30bf2a){const _0x5ba66b=_0x5cf4;_0x30bf2a[_0x5ba66b(0x2f0)](_0x5ba66b(0x1c5));}function _0x6677f8(){const _0x233a9a=_0x5cf4;!this[_0x233a9a(0x1e7)]&&this[_0x233a9a(0x222)][_0x233a9a(0x1fd)]&&this[_0x233a9a(0x20e)]();}function _0x17c418(_0x2d4e8c){const _0x5ce000=_0x5cf4;this[_0x5ce000(0x1fe)](_0x5ce000(0x238),_0x17c418),this[_0x5ce000(0x20e)](),this['listenerCount'](_0x5ce000(0x238))===0x0&&this[_0x5ce000(0x2f0)](_0x5ce000(0x238),_0x2d4e8c);}function _0x49ab03(_0x398c39,_0x4560f9){const _0x4d121c=_0x5cf4;let _0x3f850c=!0x0;const _0x2a3b1b=new _0x292a6f({..._0x4560f9,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x398c39['on']('message',function(_0x151705,_0x2099ff){const _0x539b6e=_0x5cf4,_0x369b2d=!_0x2099ff&&_0x2a3b1b[_0x539b6e(0x2e8)][_0x539b6e(0x2ce)]?_0x151705[_0x539b6e(0x304)]():_0x151705;_0x2a3b1b[_0x539b6e(0x277)](_0x369b2d)||_0x398c39['pause']();}),_0x398c39[_0x4d121c(0x2bf)]('error',function(_0x54bd25){const _0x73c636=_0x4d121c;_0x2a3b1b[_0x73c636(0x1e7)]||(_0x3f850c=!0x1,_0x2a3b1b[_0x73c636(0x20e)](_0x54bd25));}),_0x398c39['once'](_0x4d121c(0x1c5),function(){const _0x24ba48=_0x4d121c;_0x2a3b1b['destroyed']||_0x2a3b1b[_0x24ba48(0x277)](null);}),_0x2a3b1b[_0x4d121c(0x2c0)]=function(_0x150114,_0x324384){const _0x1faa10=_0x4d121c;if(_0x398c39[_0x1faa10(0x1f6)]===_0x398c39[_0x1faa10(0x1e4)]){_0x324384(_0x150114),process[_0x1faa10(0x27c)](_0x4d923e,_0x2a3b1b);return;}let _0x1ff865=!0x1;_0x398c39[_0x1faa10(0x2bf)](_0x1faa10(0x238),function(_0x4be125){_0x1ff865=!0x0,_0x324384(_0x4be125);}),_0x398c39[_0x1faa10(0x2bf)](_0x1faa10(0x1c5),function(){const _0x44b52b=_0x1faa10;_0x1ff865||_0x324384(_0x150114),process[_0x44b52b(0x27c)](_0x4d923e,_0x2a3b1b);}),_0x3f850c&&_0x398c39['terminate']();},_0x2a3b1b[_0x4d121c(0x21f)]=function(_0x2aefe1){const _0x807a6b=_0x4d121c;if(_0x398c39[_0x807a6b(0x1f6)]===_0x398c39['CONNECTING']){_0x398c39['once'](_0x807a6b(0x1ca),function(){const _0x5d2ce2=_0x807a6b;_0x2a3b1b[_0x5d2ce2(0x21f)](_0x2aefe1);});return;}_0x398c39[_0x807a6b(0x1f0)]!==null&&(_0x398c39[_0x807a6b(0x1f0)][_0x807a6b(0x222)][_0x807a6b(0x1fd)]?(_0x2aefe1(),_0x2a3b1b[_0x807a6b(0x2e8)][_0x807a6b(0x2b5)]&&_0x2a3b1b[_0x807a6b(0x20e)]()):(_0x398c39[_0x807a6b(0x1f0)][_0x807a6b(0x2bf)](_0x807a6b(0x2a7),function(){_0x2aefe1();}),_0x398c39[_0x807a6b(0x1c5)]()));},_0x2a3b1b[_0x4d121c(0x2de)]=function(){const _0xbba3c8=_0x4d121c;_0x398c39[_0xbba3c8(0x1ed)]&&_0x398c39[_0xbba3c8(0x268)]();},_0x2a3b1b[_0x4d121c(0x315)]=function(_0x198c3b,_0x5f4f8f,_0xe7f28b){const _0x3a0dc9=_0x4d121c;if(_0x398c39[_0x3a0dc9(0x1f6)]===_0x398c39['CONNECTING']){_0x398c39[_0x3a0dc9(0x2bf)]('open',function(){_0x2a3b1b['_write'](_0x198c3b,_0x5f4f8f,_0xe7f28b);});return;}_0x398c39['send'](_0x198c3b,_0xe7f28b);},_0x2a3b1b['on'](_0x4d121c(0x1f8),_0x6677f8),_0x2a3b1b['on']('error',_0x17c418),_0x2a3b1b;}return Oe=_0x49ab03,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=Wt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x133ac0}=ne();function _0x35ebaf(_0x3e9e7b){const _0x33b500=_0x5cf4,_0x5a6f75=new Set();let _0xa39107=-0x1,_0x50b57c=-0x1,_0x3d8dbb=0x0;for(_0x3d8dbb;_0x3d8dbb<_0x3e9e7b[_0x33b500(0x221)];_0x3d8dbb++){const _0x2477ec=_0x3e9e7b[_0x33b500(0x2e2)](_0x3d8dbb);if(_0x50b57c===-0x1&&_0x133ac0[_0x2477ec]===0x1)_0xa39107===-0x1&&(_0xa39107=_0x3d8dbb);else{if(_0x3d8dbb!==0x0&&(_0x2477ec===0x20||_0x2477ec===0x9))_0x50b57c===-0x1&&_0xa39107!==-0x1&&(_0x50b57c=_0x3d8dbb);else{if(_0x2477ec===0x2c){if(_0xa39107===-0x1)throw new SyntaxError(_0x33b500(0x1cb)+_0x3d8dbb);_0x50b57c===-0x1&&(_0x50b57c=_0x3d8dbb);const _0x3a815d=_0x3e9e7b[_0x33b500(0x2c8)](_0xa39107,_0x50b57c);if(_0x5a6f75[_0x33b500(0x314)](_0x3a815d))throw new SyntaxError('The\x20\x22'+_0x3a815d+_0x33b500(0x2da));_0x5a6f75[_0x33b500(0x2e0)](_0x3a815d),_0xa39107=_0x50b57c=-0x1;}else throw new SyntaxError(_0x33b500(0x1cb)+_0x3d8dbb);}}}if(_0xa39107===-0x1||_0x50b57c!==-0x1)throw new SyntaxError(_0x33b500(0x203));const _0x595cc0=_0x3e9e7b[_0x33b500(0x2c8)](_0xa39107,_0x3d8dbb);if(_0x5a6f75[_0x33b500(0x314)](_0x595cc0))throw new SyntaxError(_0x33b500(0x29b)+_0x595cc0+_0x33b500(0x2da));return _0x5a6f75[_0x33b500(0x2e0)](_0x595cc0),_0x5a6f75;}return Ce={'parse':_0x35ebaf},Ce;}var Te,ot;function er(){const _0x2e8e55=_0x4573dd;if(ot)return Te;ot=0x1;const _0x359f25=_0xc8b08e,_0x407a76=_0x49d0a7,{Duplex:_0x3f03e2}=_0x3f0855,{createHash:_0x387ca5}=_0x1469aa,_0x583ed5=pt(),_0x34f837=he(),_0x3410b0=Jt(),_0x4596b4=Ie(),{GUID:_0x4065a9,kWebSocket:_0x234c73}=V(),_0x2fb4b2=/^[+/0-9A-Za-z]{22}==$/,_0x17d612=0x0,_0x1f2944=0x1,_0x494d7d=0x2;class _0x1f21c5 extends _0x359f25{constructor(_0x5426ab,_0x2d6bf1){const _0x1c820e=_0x5cf4;if(super(),_0x5426ab={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'maxPayload':0x64*0x400*0x400,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x1,'handleProtocols':null,'clientTracking':!0x0,'verifyClient':null,'noServer':!0x1,'backlog':null,'server':null,'host':null,'path':null,'port':null,'WebSocket':_0x4596b4,..._0x5426ab},_0x5426ab[_0x1c820e(0x2dd)]==null&&!_0x5426ab[_0x1c820e(0x206)]&&!_0x5426ab[_0x1c820e(0x292)]||_0x5426ab['port']!=null&&(_0x5426ab[_0x1c820e(0x206)]||_0x5426ab[_0x1c820e(0x292)])||_0x5426ab[_0x1c820e(0x206)]&&_0x5426ab[_0x1c820e(0x292)])throw new TypeError(_0x1c820e(0x2aa));if(_0x5426ab[_0x1c820e(0x2dd)]!=null?(this[_0x1c820e(0x22b)]=_0x407a76[_0x1c820e(0x210)]((_0x56b0c8,_0x17e78b)=>{const _0x147372=_0x1c820e,_0x40fcb8=_0x407a76[_0x147372(0x231)][0x1aa];_0x17e78b['writeHead'](0x1aa,{'Content-Length':_0x40fcb8[_0x147372(0x221)],'Content-Type':'text/plain'}),_0x17e78b['end'](_0x40fcb8);}),this['_server'][_0x1c820e(0x2a5)](_0x5426ab[_0x1c820e(0x2dd)],_0x5426ab[_0x1c820e(0x338)],_0x5426ab['backlog'],_0x2d6bf1)):_0x5426ab[_0x1c820e(0x206)]&&(this[_0x1c820e(0x22b)]=_0x5426ab['server']),this[_0x1c820e(0x22b)]){const _0x1eaadc=this[_0x1c820e(0x2f0)][_0x1c820e(0x23c)](this,_0x1c820e(0x272));this['_removeListeners']=_0x235847(this[_0x1c820e(0x22b)],{'listening':this[_0x1c820e(0x2f0)]['bind'](this,'listening'),'error':this[_0x1c820e(0x2f0)]['bind'](this,_0x1c820e(0x238)),'upgrade':(_0x204e48,_0x1950d3,_0x1511ed)=>{const _0x19877a=_0x1c820e;this[_0x19877a(0x26f)](_0x204e48,_0x1950d3,_0x1511ed,_0x1eaadc);}});}_0x5426ab[_0x1c820e(0x23e)]===!0x0&&(_0x5426ab[_0x1c820e(0x23e)]={}),_0x5426ab[_0x1c820e(0x1ba)]&&(this[_0x1c820e(0x26a)]=new Set(),this[_0x1c820e(0x22a)]=!0x1),this[_0x1c820e(0x35f)]=_0x5426ab,this['_state']=_0x17d612;}['address'](){const _0x4b7e0d=_0x5cf4;if(this[_0x4b7e0d(0x35f)]['noServer'])throw new Error(_0x4b7e0d(0x320));return this['_server']?this[_0x4b7e0d(0x22b)][_0x4b7e0d(0x327)]():null;}['close'](_0x1180bf){const _0x734780=_0x5cf4;if(this[_0x734780(0x337)]===_0x494d7d){_0x1180bf&&this[_0x734780(0x2bf)](_0x734780(0x1c5),()=>{_0x1180bf(new Error('The\x20server\x20is\x20not\x20running'));}),process[_0x734780(0x27c)](_0x2da09d,this);return;}if(_0x1180bf&&this[_0x734780(0x2bf)](_0x734780(0x1c5),_0x1180bf),this['_state']!==_0x1f2944){if(this['_state']=_0x1f2944,this[_0x734780(0x35f)][_0x734780(0x292)]||this[_0x734780(0x35f)]['server'])this['_server']&&(this['_removeListeners'](),this[_0x734780(0x2ed)]=this['_server']=null),this[_0x734780(0x26a)]?this[_0x734780(0x26a)][_0x734780(0x2e7)]?this['_shouldEmitClose']=!0x0:process[_0x734780(0x27c)](_0x2da09d,this):process[_0x734780(0x27c)](_0x2da09d,this);else{const _0x1929af=this[_0x734780(0x22b)];this[_0x734780(0x2ed)](),this['_removeListeners']=this[_0x734780(0x22b)]=null,_0x1929af[_0x734780(0x1c5)](()=>{_0x2da09d(this);});}}}[_0x2e8e55(0x342)](_0x269b17){const _0x366845=_0x2e8e55;if(this[_0x366845(0x35f)]['path']){const _0x4d98c6=_0x269b17[_0x366845(0x333)][_0x366845(0x318)]('?');if((_0x4d98c6!==-0x1?_0x269b17[_0x366845(0x333)][_0x366845(0x2c8)](0x0,_0x4d98c6):_0x269b17[_0x366845(0x333)])!==this[_0x366845(0x35f)]['path'])return!0x1;}return!0x0;}[_0x2e8e55(0x26f)](_0x43af72,_0x46232b,_0x2a4aaa,_0x106752){const _0x297083=_0x2e8e55;_0x46232b['on'](_0x297083(0x238),_0x1192fd);const _0x3d7b03=_0x43af72[_0x297083(0x1c1)]['sec-websocket-key'],_0x31715b=_0x43af72[_0x297083(0x1c1)][_0x297083(0x1d1)],_0x356702=+_0x43af72[_0x297083(0x1c1)][_0x297083(0x23f)];if(_0x43af72[_0x297083(0x264)]!==_0x297083(0x276)){_0x4f9532(this,_0x43af72,_0x46232b,0x195,_0x297083(0x281));return;}if(_0x31715b===void 0x0||_0x31715b[_0x297083(0x259)]()!==_0x297083(0x2d7)){_0x4f9532(this,_0x43af72,_0x46232b,0x190,'Invalid\x20Upgrade\x20header');return;}if(_0x3d7b03===void 0x0||!_0x2fb4b2['test'](_0x3d7b03)){_0x4f9532(this,_0x43af72,_0x46232b,0x190,_0x297083(0x241));return;}if(_0x356702!==0xd&&_0x356702!==0x8){_0x4f9532(this,_0x43af72,_0x46232b,0x190,_0x297083(0x2a2),{'Sec-WebSocket-Version':_0x297083(0x236)});return;}if(!this[_0x297083(0x342)](_0x43af72)){_0x4f3826(_0x46232b,0x190);return;}const _0x27a676=_0x43af72[_0x297083(0x1c1)][_0x297083(0x22e)];let _0x45b517=new Set();if(_0x27a676!==void 0x0)try{_0x45b517=_0x3410b0['parse'](_0x27a676);}catch{_0x4f9532(this,_0x43af72,_0x46232b,0x190,_0x297083(0x2bb));return;}const _0xecedb6=_0x43af72['headers'][_0x297083(0x2f8)],_0x23f9cc={};if(this[_0x297083(0x35f)]['perMessageDeflate']&&_0xecedb6!==void 0x0){const _0x49a5d0=new _0x34f837(this[_0x297083(0x35f)][_0x297083(0x23e)],!0x0,this[_0x297083(0x35f)][_0x297083(0x22f)]);try{const _0x5f3684=_0x583ed5[_0x297083(0x363)](_0xecedb6);_0x5f3684[_0x34f837[_0x297083(0x293)]]&&(_0x49a5d0['accept'](_0x5f3684[_0x34f837['extensionName']]),_0x23f9cc[_0x34f837[_0x297083(0x293)]]=_0x49a5d0);}catch{_0x4f9532(this,_0x43af72,_0x46232b,0x190,_0x297083(0x2b6));return;}}if(this[_0x297083(0x35f)][_0x297083(0x33b)]){const _0x5a441e={'origin':_0x43af72[_0x297083(0x1c1)][''+(_0x356702===0x8?_0x297083(0x1bb):_0x297083(0x35a))],'secure':!!(_0x43af72[_0x297083(0x219)][_0x297083(0x30a)]||_0x43af72[_0x297083(0x219)][_0x297083(0x30f)]),'req':_0x43af72};if(this[_0x297083(0x35f)][_0x297083(0x33b)][_0x297083(0x221)]===0x2){this['options'][_0x297083(0x33b)](_0x5a441e,(_0x3ccf73,_0x540c3d,_0xba7a1a,_0x540ded)=>{const _0x243d6a=_0x297083;if(!_0x3ccf73)return _0x4f3826(_0x46232b,_0x540c3d||0x191,_0xba7a1a,_0x540ded);this[_0x243d6a(0x32d)](_0x23f9cc,_0x3d7b03,_0x45b517,_0x43af72,_0x46232b,_0x2a4aaa,_0x106752);});return;}if(!this['options']['verifyClient'](_0x5a441e))return _0x4f3826(_0x46232b,0x191);}this[_0x297083(0x32d)](_0x23f9cc,_0x3d7b03,_0x45b517,_0x43af72,_0x46232b,_0x2a4aaa,_0x106752);}[_0x2e8e55(0x32d)](_0x3d813e,_0x1bbc41,_0x43e990,_0x34b825,_0x256538,_0x22330f,_0x4613d0){const _0x165992=_0x2e8e55;if(!_0x256538[_0x165992(0x288)]||!_0x256538['writable'])return _0x256538[_0x165992(0x20e)]();if(_0x256538[_0x234c73])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this[_0x165992(0x337)]>_0x17d612)return _0x4f3826(_0x256538,0x1f7);const _0x17412f=[_0x165992(0x223),'Upgrade:\x20websocket',_0x165992(0x200),_0x165992(0x20c)+_0x387ca5(_0x165992(0x1c2))[_0x165992(0x245)](_0x1bbc41+_0x4065a9)[_0x165992(0x1dc)]('base64')],_0x2f686b=new this['options'][(_0x165992(0x251))](null,void 0x0,this[_0x165992(0x35f)]);if(_0x43e990[_0x165992(0x2e7)]){const _0x1d968a=this[_0x165992(0x35f)][_0x165992(0x1ef)]?this['options'][_0x165992(0x1ef)](_0x43e990,_0x34b825):_0x43e990['values']()[_0x165992(0x2fd)]()[_0x165992(0x1df)];_0x1d968a&&(_0x17412f[_0x165992(0x277)](_0x165992(0x26d)+_0x1d968a),_0x2f686b['_protocol']=_0x1d968a);}if(_0x3d813e[_0x34f837[_0x165992(0x293)]]){const _0x5ee63f=_0x3d813e[_0x34f837[_0x165992(0x293)]][_0x165992(0x2e3)],_0xca3785=_0x583ed5['format']({[_0x34f837[_0x165992(0x293)]]:[_0x5ee63f]});_0x17412f[_0x165992(0x277)](_0x165992(0x28f)+_0xca3785),_0x2f686b[_0x165992(0x1d8)]=_0x3d813e;}this[_0x165992(0x2f0)](_0x165992(0x1c1),_0x17412f,_0x34b825),_0x256538[_0x165992(0x23a)](_0x17412f[_0x165992(0x1c0)]('\x0d\x0a')[_0x165992(0x1bd)]('\x0d\x0a')),_0x256538[_0x165992(0x1fe)](_0x165992(0x238),_0x1192fd),_0x2f686b['setSocket'](_0x256538,_0x22330f,{'allowSynchronousEvents':this[_0x165992(0x35f)]['allowSynchronousEvents'],'maxPayload':this[_0x165992(0x35f)][_0x165992(0x22f)],'skipUTF8Validation':this[_0x165992(0x35f)][_0x165992(0x2c1)]}),this[_0x165992(0x26a)]&&(this[_0x165992(0x26a)][_0x165992(0x2e0)](_0x2f686b),_0x2f686b['on'](_0x165992(0x1c5),()=>{const _0x429cff=_0x165992;this[_0x429cff(0x26a)]['delete'](_0x2f686b),this[_0x429cff(0x22a)]&&!this['clients'][_0x429cff(0x2e7)]&&process[_0x429cff(0x27c)](_0x2da09d,this);})),_0x4613d0(_0x2f686b,_0x34b825);}}Te=_0x1f21c5;function _0x235847(_0x3d0752,_0x27ec80){const _0x5b20a6=_0x2e8e55;for(const _0x4151b9 of Object[_0x5b20a6(0x26b)](_0x27ec80))_0x3d0752['on'](_0x4151b9,_0x27ec80[_0x4151b9]);return function(){for(const _0x1f8ca1 of Object['keys'](_0x27ec80))_0x3d0752['removeListener'](_0x1f8ca1,_0x27ec80[_0x1f8ca1]);};}function _0x2da09d(_0x404da7){const _0x3ac1ed=_0x2e8e55;_0x404da7[_0x3ac1ed(0x337)]=_0x494d7d,_0x404da7['emit'](_0x3ac1ed(0x1c5));}function _0x1192fd(){this['destroy']();}function _0x4f3826(_0x3208fc,_0x1f32b5,_0x1bd065,_0x4886b3){const _0x47fa54=_0x2e8e55;_0x1bd065=_0x1bd065||_0x407a76[_0x47fa54(0x231)][_0x1f32b5],_0x4886b3={'Connection':'close','Content-Type':_0x47fa54(0x22c),'Content-Length':Buffer[_0x47fa54(0x2a8)](_0x1bd065),..._0x4886b3},_0x3208fc['once'](_0x47fa54(0x2a7),_0x3208fc['destroy']),_0x3208fc['end'](_0x47fa54(0x233)+_0x1f32b5+'\x20'+_0x407a76[_0x47fa54(0x231)][_0x1f32b5]+'\x0d\x0a'+Object[_0x47fa54(0x26b)](_0x4886b3)['map'](_0x4c1722=>_0x4c1722+':\x20'+_0x4886b3[_0x4c1722])['join']('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0x1bd065);}function _0x4f9532(_0x1b1a54,_0x3525c3,_0x279087,_0x1fb454,_0x2be650,_0x3a0686){const _0xe41fc4=_0x2e8e55;if(_0x1b1a54['listenerCount']('wsClientError')){const _0x3617ce=new Error(_0x2be650);Error[_0xe41fc4(0x326)](_0x3617ce,_0x4f9532),_0x1b1a54['emit'](_0xe41fc4(0x345),_0x3617ce,_0x279087,_0x3525c3);}else _0x4f3826(_0x279087,_0x1fb454,_0x2be650,_0x3a0686);}return Te;}er();var tr=Object['getOwnPropertyDescriptor'],rr=(_0x4c85d6,_0x45b436,_0xd5c95a,_0xf2704a)=>{for(var _0x264725=_0xf2704a>0x1?void 0x0:_0xf2704a?tr(_0x45b436,_0xd5c95a):_0x45b436,_0x54e7f2=_0x4c85d6['length']-0x1,_0x408b4f;_0x54e7f2>=0x0;_0x54e7f2--)(_0x408b4f=_0x4c85d6[_0x54e7f2])&&(_0x264725=_0x408b4f(_0x264725)||_0x264725);return _0x264725;},sr=(_0x5b0777,_0x2c87c8)=>(_0x42cfc6,_0x3c14a4)=>_0x2c87c8(_0x42cfc6,_0x3c14a4,_0x5b0777);let Ne=class extends _0x45a1d6{constructor(_0x4a5d29){super(),this['_configService']=_0x4a5d29;}['createSocket'](_0x17ef79){const _0x5c7f9a=_0x4573dd;var _0x9178e2;const _0x53189d=(_0x9178e2=this[_0x5c7f9a(0x308)][_0x5c7f9a(0x1b7)](Be))==null?void 0x0:_0x9178e2[_0x5c7f9a(0x227)];try{const _0x2b370f=new Qt(_0x17ef79,{'headers':{..._0x53189d}}),_0x56721f=new _0x1a0095();return{'URL':_0x17ef79,'close':(_0x470c38,_0x592dd0)=>{const _0x1c95c3=_0x5c7f9a;_0x2b370f['close'](_0x470c38,_0x592dd0),_0x56721f[_0x1c95c3(0x270)]();},'send':_0x669500=>{const _0xb89df6=_0x5c7f9a;_0x2b370f[_0xb89df6(0x2f4)](_0x669500);},'open$':new _0x363113(_0x3b6443=>{const _0x48facd=_0x5c7f9a,_0x5f3266=_0x557104=>_0x3b6443[_0x48facd(0x2fd)](_0x557104);_0x2b370f[_0x48facd(0x329)]('open',_0x5f3266),_0x56721f[_0x48facd(0x2e0)](_0xe543bd(()=>_0x2b370f['removeEventListener']('open',_0x5f3266)));})[_0x5c7f9a(0x2d6)](_0x96221d()),'close$':new _0x363113(_0x121cdb=>{const _0x3af9da=_0x5c7f9a,_0x5d7c65=_0x45dc4d=>_0x121cdb[_0x3af9da(0x2fd)](_0x45dc4d);_0x2b370f[_0x3af9da(0x329)](_0x3af9da(0x1c5),_0x5d7c65),_0x56721f[_0x3af9da(0x2e0)](_0xe543bd(()=>_0x2b370f['removeEventListener']('close',_0x5d7c65)));})[_0x5c7f9a(0x2d6)](_0x96221d()),'error$':new _0x363113(_0x42ba56=>{const _0x5a3ed7=_0x5c7f9a,_0x3bb3e9=_0x362b18=>_0x42ba56[_0x5a3ed7(0x2fd)](_0x362b18);_0x2b370f[_0x5a3ed7(0x329)](_0x5a3ed7(0x238),_0x3bb3e9),_0x56721f[_0x5a3ed7(0x2e0)](_0xe543bd(()=>_0x2b370f[_0x5a3ed7(0x1eb)](_0x5a3ed7(0x238),_0x3bb3e9)));})[_0x5c7f9a(0x2d6)](_0x96221d()),'message$':new _0x363113(_0x483188=>{const _0xba827a=_0x5c7f9a,_0x3ae6f0=_0x1df187=>_0x483188[_0xba827a(0x2fd)](_0x1df187);_0x2b370f[_0xba827a(0x329)](_0xba827a(0x257),_0x3ae6f0),_0x56721f[_0xba827a(0x2e0)](_0xe543bd(()=>_0x2b370f[_0xba827a(0x1eb)](_0xba827a(0x257),_0x3ae6f0)));})[_0x5c7f9a(0x2d6)](_0x96221d())};}catch(_0x1349d7){return console[_0x5c7f9a(0x238)](_0x1349d7),null;}}};Ne=rr([sr(0x0,_0x3d50f1)],Ne);function _0x5cf4(_0x44b32a,_0x11c311){const _0x58db82=_0x58db();return _0x5cf4=function(_0x5cf48e,_0x2488a7){_0x5cf48e=_0x5cf48e-0x1af;let _0x5ca5de=_0x58db82[_0x5cf48e];return _0x5ca5de;},_0x5cf4(_0x44b32a,_0x11c311);}var ir=Object[_0x4573dd(0x2cc)],nr=Object[_0x4573dd(0x25d)],or=(_0x56a5df,_0x53e603,_0x16bce2)=>_0x53e603 in _0x56a5df?ir(_0x56a5df,_0x53e603,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x16bce2}):_0x56a5df[_0x53e603]=_0x16bce2,ar=(_0xa33e15,_0x4dfb69,_0x3a3f0c,_0x407348)=>{const _0x103ee8=_0x4573dd;for(var _0x1697ce=_0x407348>0x1?void 0x0:_0x407348?nr(_0x4dfb69,_0x3a3f0c):_0x4dfb69,_0x59cb83=_0xa33e15[_0x103ee8(0x221)]-0x1,_0x15e36b;_0x59cb83>=0x0;_0x59cb83--)(_0x15e36b=_0xa33e15[_0x59cb83])&&(_0x1697ce=_0x15e36b(_0x1697ce)||_0x1697ce);return _0x1697ce;},ke=(_0x2d888d,_0x133db8)=>(_0x40707a,_0x2b4148)=>_0x133db8(_0x40707a,_0x2b4148,_0x2d888d),lr=(_0x2a9dab,_0x42cfee,_0x5cb138)=>or(_0x2a9dab,_0x42cfee+'',_0x5cb138);let Pe=class extends _0x245424{constructor(_0x260829=Ft,_0x438c6a,_0x11c144,_0xe3489d){const _0x4d34a4=_0x4573dd;_0x260829[_0x4d34a4(0x227)]||_0x438c6a[_0x4d34a4(0x335)](_0x4d34a4(0x355)),super(),this['_configService']=_0x11c144,this[_0x4d34a4(0x2e5)]=_0xe3489d,this[_0x4d34a4(0x308)][_0x4d34a4(0x207)](Be,_0x260829);}['onStarting'](){const _0x481541=_0x4573dd;this[_0x481541(0x1ea)]();}['_registerDependencies'](){_0x2cc219(this['_injector'],[[_0x358938,{'useClass':Ne}]]);}};lr(Pe,'pluginName',_0x4573dd(0x2b8)),Pe=ar([_0x6d079(_0xd2836d),ke(0x1,_0x40ea35),ke(0x2,_0x3d50f1),ke(0x3,_0x399293(_0x590e27))],Pe);var fr=Object[_0x4573dd(0x25d)],cr=(_0xdfca33,_0x2b8ca0,_0x27f619,_0x4d809a)=>{const _0x45219e=_0x4573dd;for(var _0x5ee3d0=_0x4d809a>0x1?void 0x0:_0x4d809a?fr(_0x2b8ca0,_0x27f619):_0x2b8ca0,_0x50b8f2=_0xdfca33[_0x45219e(0x221)]-0x1,_0xefd811;_0x50b8f2>=0x0;_0x50b8f2--)(_0xefd811=_0xdfca33[_0x50b8f2])&&(_0x5ee3d0=_0xefd811(_0x5ee3d0)||_0x5ee3d0);return _0x5ee3d0;},se=(_0x4b954b,_0x2dbc71)=>(_0x301fcb,_0x4ac588)=>_0x2dbc71(_0x301fcb,_0x4ac588,_0x4b954b);let at=class extends _0x54368a{constructor(_0x47fccb,_0x18d9ec,_0x27e600,_0x3a3344,_0x5849e3){const _0x28bb40=_0x4573dd;super(_0x47fccb,_0x18d9ec,_0x27e600,_0x3a3344,_0x5849e3);const _0x4f3cea=this[_0x28bb40(0x308)][_0x28bb40(0x1b7)](Be);this['_httpService'][_0x28bb40(0x1d3)]({'interceptor':(_0x5c6f5c,_0x1ed401)=>{const _0x110150=_0x28bb40;var _0x3dfa60;const _0x31289e=_0x5c6f5c['headers'];return(_0x3dfa60=_0x4f3cea==null?void 0x0:_0x4f3cea[_0x110150(0x227)])!=null&&_0x3dfa60[_0x110150(0x20a)]&&_0x31289e[_0x110150(0x1b1)](_0x110150(0x1b6),_0x4f3cea[_0x110150(0x227)][_0x110150(0x20a)]),_0x1ed401(_0x5c6f5c);}});}async[_0x4573dd(0x2c5)](_0x39ac04){const _0x2e3209=_0x4573dd;return this[_0x2e3209(0x362)](_0x39ac04);}};at=cr([se(0x0,_0x399293(_0x590e27)),se(0x1,_0x399293(_0x16d200)),se(0x2,_0x3d50f1),se(0x3,_0x40ea35),se(0x4,_0x7885ea)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
1
+ const _0x3b5f97=_0x4be4;(function(_0x52f859,_0x18f40e){const _0xa2ba93=_0x4be4,_0x2f0e68=_0x52f859();while(!![]){try{const _0x2cf9f3=parseInt(_0xa2ba93(0x1fe))/0x1+parseInt(_0xa2ba93(0x291))/0x2+parseInt(_0xa2ba93(0x2fb))/0x3+-parseInt(_0xa2ba93(0x1a3))/0x4*(parseInt(_0xa2ba93(0x205))/0x5)+-parseInt(_0xa2ba93(0x33f))/0x6+parseInt(_0xa2ba93(0x1bc))/0x7*(parseInt(_0xa2ba93(0x2a4))/0x8)+-parseInt(_0xa2ba93(0x309))/0x9*(parseInt(_0xa2ba93(0x200))/0xa);if(_0x2cf9f3===_0x18f40e)break;else _0x2f0e68['push'](_0x2f0e68['shift']());}catch(_0x28d9ba){_0x2f0e68['push'](_0x2f0e68['shift']());}}}(_0x4285,0x587d2));import{UniverCollaborationClientPlugin as _0x53e245,CollaborationSocketService as _0x3d88fa}from'@univerjs-pro/collaboration-client';import{Disposable as _0x98505d,DisposableCollection as _0x12fe87,toDisposable as _0x45bc32,IConfigService as _0xbb858e,DependentOn as _0x17e901,ILogService as _0x4fe92b,Inject as _0xbaa6b9,Injector as _0x226bc9,Plugin as _0x22736d,registerDependencies as _0x156702}from'@univerjs/core';import{ISocketService as _0x2d3242,HTTPService as _0x5b62ea}from'@univerjs/network';import{Observable as _0x5a2c7,share as _0x14d89c}from'rxjs';import _0x52e269 from'events';import _0x3b45ab from'https';import _0x233e89 from'http';import _0x593034 from'net';import _0x16503c from'tls';import _0x303e8a from'crypto';import _0x3500b5 from'stream';import _0x2bcd8c from'url';import _0x42581f from'zlib';import _0x1be64d from'buffer';import{ISnapshotServerService as _0x17f39f}from'@univerjs-pro/collaboration';const Be=_0x3b5f97(0x1cb),Ft={'customHeaders':{}};function Wt(_0x3667da){const _0x1589dd=_0x3b5f97;return _0x3667da&&_0x3667da[_0x1589dd(0x2d8)]&&Object[_0x1589dd(0x2dc)][_0x1589dd(0x1db)][_0x1589dd(0x1e9)](_0x3667da,_0x1589dd(0x255))?_0x3667da[_0x1589dd(0x255)]:_0x3667da;}function ut(_0x52b1d8){const _0x4e9fd6=_0x3b5f97;if(Object[_0x4e9fd6(0x2dc)][_0x4e9fd6(0x1db)][_0x4e9fd6(0x1e9)](_0x52b1d8,_0x4e9fd6(0x2d8)))return _0x52b1d8;var _0x15e74f=_0x52b1d8[_0x4e9fd6(0x255)];if(typeof _0x15e74f=='function'){var _0x325afa=function _0x54fe55(){const _0x3848fc=_0x4e9fd6;var _0x4a50fb=!0x1;try{_0x4a50fb=this instanceof _0x54fe55;}catch{}return _0x4a50fb?Reflect['construct'](_0x15e74f,arguments,this[_0x3848fc(0x2cb)]):_0x15e74f['apply'](this,arguments);};_0x325afa[_0x4e9fd6(0x2dc)]=_0x15e74f[_0x4e9fd6(0x2dc)];}else _0x325afa={};return Object['defineProperty'](_0x325afa,_0x4e9fd6(0x2d8),{'value':!0x0}),Object['keys'](_0x52b1d8)[_0x4e9fd6(0x295)](function(_0x1d5465){const _0x133991=_0x4e9fd6;var _0x1b2091=Object[_0x133991(0x318)](_0x52b1d8,_0x1d5465);Object['defineProperty'](_0x325afa,_0x1d5465,_0x1b2091[_0x133991(0x212)]?_0x1b2091:{'enumerable':!0x0,'get':function(){return _0x52b1d8[_0x1d5465];}});}),_0x325afa;}var te={'exports':{}},ge,Ye;function V(){const _0x16e2ba=_0x3b5f97;if(Ye)return ge;Ye=0x1;const _0x2c53a8=['nodebuffer','arraybuffer','fragments'],_0x55b94d=typeof Blob<'u';return _0x55b94d&&_0x2c53a8[_0x16e2ba(0x323)](_0x16e2ba(0x2fc)),ge={'BINARY_TYPES':_0x2c53a8,'EMPTY_BUFFER':Buffer[_0x16e2ba(0x2db)](0x0),'GUID':_0x16e2ba(0x1b7),'hasBlob':_0x55b94d,'kForOnEventAttribute':Symbol(_0x16e2ba(0x1fc)),'kListener':Symbol(_0x16e2ba(0x2d2)),'kStatusCode':Symbol(_0x16e2ba(0x259)),'kWebSocket':Symbol(_0x16e2ba(0x206)),'NOOP':()=>{}},ge;}const jt={},Gt=Object['freeze'](Object['defineProperty']({'__proto__':null,'default':jt},Symbol[_0x3b5f97(0x302)],{'value':_0x3b5f97(0x1be)})),Vt=ut(Gt);var Ke;function ce(){const _0x38d325=_0x3b5f97;if(Ke)return te[_0x38d325(0x349)];Ke=0x1;const {EMPTY_BUFFER:_0x1e875f}=V(),_0x30bbd3=Buffer[Symbol[_0x38d325(0x20c)]];function _0x193283(_0x751ce1,_0x10d755){const _0x573cdc=_0x38d325;if(_0x751ce1[_0x573cdc(0x33c)]===0x0)return _0x1e875f;if(_0x751ce1[_0x573cdc(0x33c)]===0x1)return _0x751ce1[0x0];const _0x2d7e31=Buffer[_0x573cdc(0x266)](_0x10d755);let _0x49ee5d=0x0;for(let _0x5ab8c8=0x0;_0x5ab8c8<_0x751ce1[_0x573cdc(0x33c)];_0x5ab8c8++){const _0x4ab0a8=_0x751ce1[_0x5ab8c8];_0x2d7e31[_0x573cdc(0x2ed)](_0x4ab0a8,_0x49ee5d),_0x49ee5d+=_0x4ab0a8[_0x573cdc(0x33c)];}return _0x49ee5d<_0x10d755?new _0x30bbd3(_0x2d7e31[_0x573cdc(0x2d3)],_0x2d7e31[_0x573cdc(0x1e7)],_0x49ee5d):_0x2d7e31;}function _0x5f1088(_0x103f6f,_0x236b17,_0x58e251,_0x47107c,_0x2ed29b){for(let _0x23cf4b=0x0;_0x23cf4b<_0x2ed29b;_0x23cf4b++)_0x58e251[_0x47107c+_0x23cf4b]=_0x103f6f[_0x23cf4b]^_0x236b17[_0x23cf4b&0x3];}function _0x3cd7e9(_0x5fa9ef,_0x67e6a9){const _0x48762c=_0x38d325;for(let _0xf6140b=0x0;_0xf6140b<_0x5fa9ef[_0x48762c(0x33c)];_0xf6140b++)_0x5fa9ef[_0xf6140b]^=_0x67e6a9[_0xf6140b&0x3];}function _0x304cd0(_0x2a204e){const _0x143826=_0x38d325;return _0x2a204e[_0x143826(0x33c)]===_0x2a204e[_0x143826(0x2d3)][_0x143826(0x284)]?_0x2a204e[_0x143826(0x2d3)]:_0x2a204e['buffer']['slice'](_0x2a204e[_0x143826(0x1e7)],_0x2a204e['byteOffset']+_0x2a204e[_0x143826(0x33c)]);}function _0xd015cf(_0xaf1399){const _0x2bfe8c=_0x38d325;if(_0xd015cf['readOnly']=!0x0,Buffer[_0x2bfe8c(0x33d)](_0xaf1399))return _0xaf1399;let _0x40aa51;return _0xaf1399 instanceof ArrayBuffer?_0x40aa51=new _0x30bbd3(_0xaf1399):ArrayBuffer['isView'](_0xaf1399)?_0x40aa51=new _0x30bbd3(_0xaf1399[_0x2bfe8c(0x2d3)],_0xaf1399[_0x2bfe8c(0x1e7)],_0xaf1399['byteLength']):(_0x40aa51=Buffer[_0x2bfe8c(0x1c9)](_0xaf1399),_0xd015cf[_0x2bfe8c(0x314)]=!0x1),_0x40aa51;}if(te[_0x38d325(0x349)]={'concat':_0x193283,'mask':_0x5f1088,'toArrayBuffer':_0x304cd0,'toBuffer':_0xd015cf,'unmask':_0x3cd7e9},!process[_0x38d325(0x2d4)][_0x38d325(0x2f7)])try{const _0x303ed7=Vt;te[_0x38d325(0x349)][_0x38d325(0x347)]=function(_0x195daa,_0x1a196b,_0x2179cc,_0x398dee,_0x493eed){const _0x2031e0=_0x38d325;_0x493eed<0x30?_0x5f1088(_0x195daa,_0x1a196b,_0x2179cc,_0x398dee,_0x493eed):_0x303ed7[_0x2031e0(0x347)](_0x195daa,_0x1a196b,_0x2179cc,_0x398dee,_0x493eed);},te[_0x38d325(0x349)][_0x38d325(0x2b6)]=function(_0x27a181,_0x1bcc8e){const _0xbaea67=_0x38d325;_0x27a181[_0xbaea67(0x33c)]<0x20?_0x3cd7e9(_0x27a181,_0x1bcc8e):_0x303ed7[_0xbaea67(0x2b6)](_0x27a181,_0x1bcc8e);};}catch{}return te[_0x38d325(0x349)];}var ye,Xe;function qt(){const _0x5739eb=_0x3b5f97;if(Xe)return ye;Xe=0x1;const _0x5bf041=Symbol(_0x5739eb(0x304)),_0x24f3e6=Symbol('kRun');class _0xce5347{constructor(_0x1d6756){const _0x37fcbf=_0x5739eb;this[_0x5bf041]=()=>{const _0x2470ea=_0x4be4;this[_0x2470ea(0x21d)]--,this[_0x24f3e6]();},this[_0x37fcbf(0x331)]=_0x1d6756||0x1/0x0,this['jobs']=[],this[_0x37fcbf(0x21d)]=0x0;}[_0x5739eb(0x247)](_0x195c24){const _0x49291e=_0x5739eb;this['jobs'][_0x49291e(0x323)](_0x195c24),this[_0x24f3e6]();}[_0x24f3e6](){const _0x32433f=_0x5739eb;if(this[_0x32433f(0x21d)]!==this['concurrency']&&this[_0x32433f(0x2f8)][_0x32433f(0x33c)]){const _0x4f5c89=this[_0x32433f(0x2f8)][_0x32433f(0x2b7)]();this[_0x32433f(0x21d)]++,_0x4f5c89(this[_0x5bf041]);}}}return ye=_0xce5347,ye;}var ve,Ze;function he(){const _0x3275bc=_0x3b5f97;if(Ze)return ve;Ze=0x1;const _0x138493=_0x42581f,_0x38e230=ce(),_0x1e169d=qt(),{kStatusCode:_0x43f238}=V(),_0x57e87c=Buffer[Symbol[_0x3275bc(0x20c)]],_0x21388b=Buffer['from']([0x0,0x0,0xff,0xff]),_0xc4f6f=Symbol('permessage-deflate'),_0x258931=Symbol('total-length'),_0x21784e=Symbol(_0x3275bc(0x2f0)),_0x5bc2ef=Symbol(_0x3275bc(0x1b5)),_0x25ecb2=Symbol('error');let _0x596a2b;class _0x280c47{constructor(_0x5e786b,_0x4e26e9,_0x2ee72e){const _0x148cfe=_0x3275bc;if(this[_0x148cfe(0x2a7)]=_0x2ee72e|0x0,this[_0x148cfe(0x237)]=_0x5e786b||{},this['_threshold']=this[_0x148cfe(0x237)]['threshold']!==void 0x0?this[_0x148cfe(0x237)][_0x148cfe(0x29e)]:0x400,this['_isServer']=!!_0x4e26e9,this[_0x148cfe(0x197)]=null,this[_0x148cfe(0x229)]=null,this[_0x148cfe(0x1d3)]=null,!_0x596a2b){const _0x2bf071=this['_options'][_0x148cfe(0x22e)]!==void 0x0?this[_0x148cfe(0x237)]['concurrencyLimit']:0xa;_0x596a2b=new _0x1e169d(_0x2bf071);}}static get[_0x3275bc(0x1dd)](){return'permessage-deflate';}['offer'](){const _0x50a351=_0x3275bc,_0x22868a={};return this[_0x50a351(0x237)]['serverNoContextTakeover']&&(_0x22868a[_0x50a351(0x33a)]=!0x0),this[_0x50a351(0x237)]['clientNoContextTakeover']&&(_0x22868a[_0x50a351(0x326)]=!0x0),this[_0x50a351(0x237)]['serverMaxWindowBits']&&(_0x22868a[_0x50a351(0x333)]=this[_0x50a351(0x237)][_0x50a351(0x1d9)]),this['_options'][_0x50a351(0x1f3)]?_0x22868a[_0x50a351(0x24a)]=this[_0x50a351(0x237)]['clientMaxWindowBits']:this[_0x50a351(0x237)][_0x50a351(0x1f3)]==null&&(_0x22868a[_0x50a351(0x24a)]=!0x0),_0x22868a;}[_0x3275bc(0x1b9)](_0x12e27e){const _0x5dc0fe=_0x3275bc;return _0x12e27e=this[_0x5dc0fe(0x28c)](_0x12e27e),this[_0x5dc0fe(0x1d3)]=this[_0x5dc0fe(0x2e3)]?this[_0x5dc0fe(0x2ff)](_0x12e27e):this[_0x5dc0fe(0x222)](_0x12e27e),this[_0x5dc0fe(0x1d3)];}['cleanup'](){const _0x3df5c8=_0x3275bc;if(this[_0x3df5c8(0x229)]&&(this[_0x3df5c8(0x229)]['close'](),this[_0x3df5c8(0x229)]=null),this[_0x3df5c8(0x197)]){const _0x37b952=this[_0x3df5c8(0x197)][_0x21784e];this[_0x3df5c8(0x197)][_0x3df5c8(0x31e)](),this[_0x3df5c8(0x197)]=null,_0x37b952&&_0x37b952(new Error(_0x3df5c8(0x288)));}}['acceptAsServer'](_0x5c16f3){const _0x180c2b=_0x3275bc,_0x2afe8f=this['_options'],_0x128ae1=_0x5c16f3[_0x180c2b(0x286)](_0x41c54b=>!(_0x2afe8f[_0x180c2b(0x342)]===!0x1&&_0x41c54b[_0x180c2b(0x33a)]||_0x41c54b[_0x180c2b(0x333)]&&(_0x2afe8f[_0x180c2b(0x1d9)]===!0x1||typeof _0x2afe8f['serverMaxWindowBits']==_0x180c2b(0x276)&&_0x2afe8f[_0x180c2b(0x1d9)]>_0x41c54b['server_max_window_bits'])||typeof _0x2afe8f[_0x180c2b(0x1f3)]==_0x180c2b(0x276)&&!_0x41c54b['client_max_window_bits']));if(!_0x128ae1)throw new Error('None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted');return _0x2afe8f[_0x180c2b(0x342)]&&(_0x128ae1[_0x180c2b(0x33a)]=!0x0),_0x2afe8f[_0x180c2b(0x199)]&&(_0x128ae1['client_no_context_takeover']=!0x0),typeof _0x2afe8f[_0x180c2b(0x1d9)]=='number'&&(_0x128ae1['server_max_window_bits']=_0x2afe8f[_0x180c2b(0x1d9)]),typeof _0x2afe8f[_0x180c2b(0x1f3)]==_0x180c2b(0x276)?_0x128ae1[_0x180c2b(0x24a)]=_0x2afe8f[_0x180c2b(0x1f3)]:(_0x128ae1[_0x180c2b(0x24a)]===!0x0||_0x2afe8f[_0x180c2b(0x1f3)]===!0x1)&&delete _0x128ae1['client_max_window_bits'],_0x128ae1;}[_0x3275bc(0x222)](_0x49d00d){const _0x5a2820=_0x3275bc,_0xc5993a=_0x49d00d[0x0];if(this[_0x5a2820(0x237)][_0x5a2820(0x199)]===!0x1&&_0xc5993a[_0x5a2820(0x326)])throw new Error(_0x5a2820(0x216));if(!_0xc5993a['client_max_window_bits'])typeof this[_0x5a2820(0x237)][_0x5a2820(0x1f3)]=='number'&&(_0xc5993a[_0x5a2820(0x24a)]=this[_0x5a2820(0x237)][_0x5a2820(0x1f3)]);else{if(this[_0x5a2820(0x237)][_0x5a2820(0x1f3)]===!0x1||typeof this[_0x5a2820(0x237)][_0x5a2820(0x1f3)]==_0x5a2820(0x276)&&_0xc5993a[_0x5a2820(0x24a)]>this['_options'][_0x5a2820(0x1f3)])throw new Error(_0x5a2820(0x26d));}return _0xc5993a;}[_0x3275bc(0x28c)](_0x114679){const _0x1574cb=_0x3275bc;return _0x114679[_0x1574cb(0x295)](_0x5e7558=>{const _0x3f82c5=_0x1574cb;Object[_0x3f82c5(0x2f2)](_0x5e7558)[_0x3f82c5(0x295)](_0x1dcdb5=>{const _0x21a52a=_0x3f82c5;let _0x31454c=_0x5e7558[_0x1dcdb5];if(_0x31454c['length']>0x1)throw new Error(_0x21a52a(0x328)+_0x1dcdb5+'\x22\x20must\x20have\x20only\x20a\x20single\x20value');if(_0x31454c=_0x31454c[0x0],_0x1dcdb5===_0x21a52a(0x24a)){if(_0x31454c!==!0x0){const _0x42898e=+_0x31454c;if(!Number[_0x21a52a(0x1e4)](_0x42898e)||_0x42898e<0x8||_0x42898e>0xf)throw new TypeError(_0x21a52a(0x240)+_0x1dcdb5+_0x21a52a(0x1da)+_0x31454c);_0x31454c=_0x42898e;}else{if(!this[_0x21a52a(0x2e3)])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x1dcdb5+_0x21a52a(0x1da)+_0x31454c);}}else{if(_0x1dcdb5===_0x21a52a(0x333)){const _0x2cd415=+_0x31454c;if(!Number[_0x21a52a(0x1e4)](_0x2cd415)||_0x2cd415<0x8||_0x2cd415>0xf)throw new TypeError(_0x21a52a(0x240)+_0x1dcdb5+_0x21a52a(0x1da)+_0x31454c);_0x31454c=_0x2cd415;}else{if(_0x1dcdb5==='client_no_context_takeover'||_0x1dcdb5===_0x21a52a(0x33a)){if(_0x31454c!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x1dcdb5+_0x21a52a(0x1da)+_0x31454c);}else throw new Error(_0x21a52a(0x260)+_0x1dcdb5+'\x22');}}_0x5e7558[_0x1dcdb5]=_0x31454c;});}),_0x114679;}['decompress'](_0x2d80a5,_0x10155f,_0x40caaf){const _0x2a13ab=_0x3275bc;_0x596a2b[_0x2a13ab(0x247)](_0x4e591f=>{const _0x8985a9=_0x2a13ab;this[_0x8985a9(0x1ea)](_0x2d80a5,_0x10155f,(_0x56c9e6,_0x59c857)=>{_0x4e591f(),_0x40caaf(_0x56c9e6,_0x59c857);});});}[_0x3275bc(0x301)](_0x23f0fc,_0x1baba9,_0x4002f3){_0x596a2b['add'](_0x35b491=>{const _0x494edd=_0x4be4;this[_0x494edd(0x1fb)](_0x23f0fc,_0x1baba9,(_0x4b900,_0x5c4a2d)=>{_0x35b491(),_0x4002f3(_0x4b900,_0x5c4a2d);});});}[_0x3275bc(0x1ea)](_0x1f4ada,_0x18fa95,_0x11ced7){const _0x1f97ad=_0x3275bc,_0x466a99=this[_0x1f97ad(0x2e3)]?_0x1f97ad(0x34e):_0x1f97ad(0x2c2);if(!this[_0x1f97ad(0x229)]){const _0x113ef8=_0x466a99+_0x1f97ad(0x23c),_0x335644=typeof this[_0x1f97ad(0x1d3)][_0x113ef8]!='number'?_0x138493['Z_DEFAULT_WINDOWBITS']:this[_0x1f97ad(0x1d3)][_0x113ef8];this[_0x1f97ad(0x229)]=_0x138493[_0x1f97ad(0x2f3)]({...this[_0x1f97ad(0x237)][_0x1f97ad(0x1d5)],'windowBits':_0x335644}),this[_0x1f97ad(0x229)][_0xc4f6f]=this,this['_inflate'][_0x258931]=0x0,this['_inflate'][_0x5bc2ef]=[],this[_0x1f97ad(0x229)]['on']('error',_0x199ba5),this['_inflate']['on'](_0x1f97ad(0x1f0),_0x31b94b);}this[_0x1f97ad(0x229)][_0x21784e]=_0x11ced7,this[_0x1f97ad(0x229)][_0x1f97ad(0x277)](_0x1f4ada),_0x18fa95&&this['_inflate'][_0x1f97ad(0x277)](_0x21388b),this[_0x1f97ad(0x229)][_0x1f97ad(0x2a5)](()=>{const _0x4a293=_0x1f97ad,_0x1fc2eb=this[_0x4a293(0x229)][_0x25ecb2];if(_0x1fc2eb){this[_0x4a293(0x229)][_0x4a293(0x31e)](),this[_0x4a293(0x229)]=null,_0x11ced7(_0x1fc2eb);return;}const _0x200456=_0x38e230[_0x4a293(0x195)](this['_inflate'][_0x5bc2ef],this['_inflate'][_0x258931]);this[_0x4a293(0x229)][_0x4a293(0x1f8)][_0x4a293(0x27b)]?(this[_0x4a293(0x229)][_0x4a293(0x31e)](),this[_0x4a293(0x229)]=null):(this[_0x4a293(0x229)][_0x258931]=0x0,this[_0x4a293(0x229)][_0x5bc2ef]=[],_0x18fa95&&this[_0x4a293(0x1d3)][_0x466a99+_0x4a293(0x1c5)]&&this['_inflate']['reset']()),_0x11ced7(null,_0x200456);});}['_compress'](_0x39ee6f,_0x14d528,_0x334815){const _0x292c06=_0x3275bc,_0xf00339=this[_0x292c06(0x2e3)]?_0x292c06(0x2c2):_0x292c06(0x34e);if(!this[_0x292c06(0x197)]){const _0x3b71b1=_0xf00339+_0x292c06(0x23c),_0x9d3d59=typeof this[_0x292c06(0x1d3)][_0x3b71b1]!=_0x292c06(0x276)?_0x138493[_0x292c06(0x238)]:this[_0x292c06(0x1d3)][_0x3b71b1];this[_0x292c06(0x197)]=_0x138493[_0x292c06(0x1d4)]({...this[_0x292c06(0x237)]['zlibDeflateOptions'],'windowBits':_0x9d3d59}),this[_0x292c06(0x197)][_0x258931]=0x0,this[_0x292c06(0x197)][_0x5bc2ef]=[],this['_deflate']['on'](_0x292c06(0x1f0),_0x3f5c8b);}this[_0x292c06(0x197)][_0x21784e]=_0x334815,this[_0x292c06(0x197)][_0x292c06(0x277)](_0x39ee6f),this['_deflate'][_0x292c06(0x2a5)](_0x138493[_0x292c06(0x226)],()=>{const _0x2ebb55=_0x292c06;if(!this[_0x2ebb55(0x197)])return;let _0x229346=_0x38e230[_0x2ebb55(0x195)](this[_0x2ebb55(0x197)][_0x5bc2ef],this[_0x2ebb55(0x197)][_0x258931]);_0x14d528&&(_0x229346=new _0x57e87c(_0x229346[_0x2ebb55(0x2d3)],_0x229346[_0x2ebb55(0x1e7)],_0x229346[_0x2ebb55(0x33c)]-0x4)),this[_0x2ebb55(0x197)][_0x21784e]=null,this[_0x2ebb55(0x197)][_0x258931]=0x0,this[_0x2ebb55(0x197)][_0x5bc2ef]=[],_0x14d528&&this[_0x2ebb55(0x1d3)][_0xf00339+_0x2ebb55(0x1c5)]&&this['_deflate']['reset'](),_0x334815(null,_0x229346);});}}ve=_0x280c47;function _0x3f5c8b(_0x37ecbe){const _0x283d3e=_0x3275bc;this[_0x5bc2ef][_0x283d3e(0x323)](_0x37ecbe),this[_0x258931]+=_0x37ecbe[_0x283d3e(0x33c)];}function _0x31b94b(_0x26cc2d){const _0x26ca93=_0x3275bc;if(this[_0x258931]+=_0x26cc2d['length'],this[_0xc4f6f]['_maxPayload']<0x1||this[_0x258931]<=this[_0xc4f6f][_0x26ca93(0x2a7)]){this[_0x5bc2ef][_0x26ca93(0x323)](_0x26cc2d);return;}this[_0x25ecb2]=new RangeError('Max\x20payload\x20size\x20exceeded'),this[_0x25ecb2][_0x26ca93(0x1e2)]=_0x26ca93(0x256),this[_0x25ecb2][_0x43f238]=0x3f1,this[_0x26ca93(0x27d)](_0x26ca93(0x1f0),_0x31b94b),this[_0x26ca93(0x25d)]();}function _0x199ba5(_0x3067c4){const _0x355ec1=_0x3275bc;if(this[_0xc4f6f][_0x355ec1(0x229)]=null,this[_0x25ecb2]){this[_0x21784e](this[_0x25ecb2]);return;}_0x3067c4[_0x43f238]=0x3ef,this[_0x21784e](_0x3067c4);}return ve;}function _0x4285(){const _0x3415d4=['_compressed','458518wvipDK','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','isValidUTF8','abort','forEach','_fragments','cleanup','ws+unix:','open','kType','_originalSecure','port','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','threshold','_skipUTF8Validation','test','handleEvent','toString','pong','8bSwnqA','flush','sec-websocket-protocol','_maxPayload','ws:','perMessageDeflate','getPayloadLength16','Unexpected\x20server\x20response:\x20','_totalPayloadLength','_protocol','writeHead','STATUS_CODES','listening','ping','onclose','maxPayload','CLOSED','HTTP/1.1\x20101\x20Switching\x20Protocols','unmask','shift','type','getInfo','RSV1\x20must\x20be\x20clear','pause','\x22\x20subprotocol\x20is\x20duplicated','href','_write','frame','Sec-WebSocket-Protocol:\x20','error','server','values','_masked','writeUInt16BE','search','emit','maskBuffer','options','once','constructor','replace','response','kCode','WS_ERR_UNEXPECTED_MASK','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','getData','kListener','buffer','env','kAborted','Server\x20sent\x20no\x20subprotocol','sec-websocket-origin','__esModule','setNoDelay','digest','alloc','prototype','_autoPong','method','WS_ERR_EXPECTED_MASK','writable','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','objectMode','_isServer','readUInt32BE','FIN\x20must\x20be\x20set','controlMessage','Blob','Sec-WebSocket-Protocol','Cookie','_readyState','object','finished','set','Invalid\x20Sec-WebSocket-Protocol\x20header','finish','callback','resume','keys','createInflateRaw','listen','customHeaders','Unsupported\x20protocol\x20version:\x20','WS_NO_BUFFER_UTIL','jobs','Max\x20payload\x20size\x20exceeded','_closeFrameSent','962346jELswM','blob','_server','arraybuffer','acceptAsServer','maxRedirects','compress','toStringTag','destroyed','kDone','dispose','_buffers','kTarget','read','274698JdTXAA','next','CONNECTING','unshift','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','opcode','File','upgrade','defineProperty','address','dispatch','readOnly','Invalid\x20Sec-WebSocket-Accept\x20header','kReason','_receiver','getOwnPropertyDescriptor','has','getConfig','_doCreateSocket','The\x20server\x20is\x20not\x20running','_bufferedAmount','close','_sender','nodebuffer','defaultPort','GET','push','Maximum\x20redirects\x20exceeded','WS_ERR_UNEXPECTED_RSV_2_3','client_no_context_takeover','_errored','Parameter\x20\x22','getBlobData','captureStackTrace','_firstFragment','setConfig','CLOSING','createConnection','_injector','_removeListeners','concurrency','listeners','server_max_window_bits','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','_bufferedBytes','WS_ERR_UNEXPECTED_RSV_1','target','_generateMask','offer','server_no_context_takeover','hash','length','isBuffer','_url','1067466QGLifL','dequeue','removeEventListener','serverNoContextTakeover','consume','protocolVersion','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','terminate','mask','readable','exports','value','Sec-WebSocket-Origin','authorization','invalid\x20opcode\x200','client','concat','The\x20\x22','_deflate','https:','clientNoContextTakeover','_closeTimer','_extensions','isPaused','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','decompress','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','dataMessage','allowSynchronousEvents','password','21972XTfnew','sec-websocket-key','_registerDependencies','createError','freeze','Invalid\x20WebSocket\x20frame:\x20','_opcode','split','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','_maskBuffer','_read','fin','_mask','WS_ERR_INVALID_UTF8','Invalid\x20URL:\x20','socketPath','clients','_configService','buffers','binaryType','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','_fin','accept','skipUTF8Validation','_closeMessage','514038tmdABE','text/plain','Module','delete','onopen','invalid\x20payload\x20length\x20','destroy','function','createServer','_no_context_takeover','cork','wsClientError','_httpService','from','authorized','collaboration-client-node.config','location','redirect','handshakeTimeout','emitClose','map','sec-websocket-extensions','kMessage','params','createDeflateRaw','zlibInflateOptions','listenerCount','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','format','serverMaxWindowBits','\x22:\x20','hasOwnProperty','_payloadLength','extensionName','followRedirects','The\x20URL\x20contains\x20a\x20fragment\x20identifier','kByteLength','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','code','invalid\x20status\x20code\x20','isInteger','MASK\x20must\x20be\x20clear','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','byteOffset','isServer','call','_decompress','_shouldEmitClose','Upgrade:\x20websocket','wss:','indexOf','haveLength','data','connect','_queue','clientMaxWindowBits','_allowSynchronousEvents','pathname','verifyClient','bufferedAmount','_readableState','create','_messageLength','_compress','kIsForOnEventAttribute','generateMask','462556gyPInD','shouldHandle','60wGNjGl','timeout','_writableState','parse','autoPong','330VnrbzD','websocket','host','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','conclude','http:','species','getPayloadLength64','base64','removeAllListeners','_paused','_req','get','auth','nextTick','completeUpgrade','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','_fragmented','sec-websocket-accept','_closeCode','needDrain','send','size','pending','OPEN','_closeFrameReceived','join','sha1','acceptAsClient','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','slice','Invalid\x20Sec-WebSocket-Extensions\x20header','Z_SYNC_FLUSH','addEventListener','username','_inflate','isIP','Sec-WebSocket-Extensions:\x20','WS_ERR_INVALID_CLOSE_CODE','origin','concurrencyLimit','WS_ERR_INVALID_OPCODE','_socket','noServer','onStarting','readyState','_redirects','Invalid\x20Upgrade\x20header','end','_options','Z_DEFAULT_WINDOWBITS','_final','\x0d\x0a\x0d\x0a','servername','_max_window_bits','then','getMask','wasClean','Invalid\x20value\x20for\x20parameter\x20\x22','stream','MASK\x20must\x20be\x20set','url','Basic\x20','The\x20URL\x27s\x20pathname\x20is\x20empty','message','add','Unexpected\x20character\x20at\x20index\x20','catch','client_max_window_bits','update','createSocket','encrypted','setSocket','isArray','_state','headers','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','charCodeAt','arrayBuffer','default','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','uncork','pow','status-code','socket','handleProtocols','registerHTTPInterceptor','reset','readUInt16BE','protocol','Unknown\x20parameter\x20\x22','errorEmitted','cookie','includes','string','extensions','allocUnsafe','_threshold','\x20(supported\x20versions:\x20','path','entries','text/html','startLoop','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','handleUpgrade','toLowerCase','onerror','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','_originalIpc','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','reason','kData','number','write','_originalHostOrSocketPath','request','pluginName','endEmitted','bind','removeListener','Sec-WebSocket-Accept:\x20','clientTracking','Sec-WebSocket-Extensions','enqueue','statusCode','pipe','byteLength','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','find','_loop','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','setTimeout','Upgrade','_binaryType','normalizeParams','sendFrame','invalid\x20opcode\x20','_errorEmitted'];_0x4285=function(){return _0x3415d4;};return _0x4285();}var re={'exports':{}};function _0x4be4(_0x18eac7,_0x19981f){const _0x428563=_0x4285();return _0x4be4=function(_0x4be479,_0x95c820){_0x4be479=_0x4be479-0x195;let _0x29f26c=_0x428563[_0x4be479];return _0x29f26c;},_0x4be4(_0x18eac7,_0x19981f);}const Ht={},zt=Object[_0x3b5f97(0x1a7)](Object[_0x3b5f97(0x311)]({'__proto__':null,'default':Ht},Symbol[_0x3b5f97(0x302)],{'value':'Module'})),Yt=ut(zt);var Qe;function ne(){const _0x392586=_0x3b5f97;if(Qe)return re[_0x392586(0x349)];Qe=0x1;const {isUtf8:_0x230d7b}=_0x1be64d,{hasBlob:_0x849de2}=V(),_0x3d016a=[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 _0xfc473a(_0x4ad78f){return _0x4ad78f>=0x3e8&&_0x4ad78f<=0x3f6&&_0x4ad78f!==0x3ec&&_0x4ad78f!==0x3ed&&_0x4ad78f!==0x3ee||_0x4ad78f>=0xbb8&&_0x4ad78f<=0x1387;}function _0x36923e(_0x1ea1ed){const _0x17cfda=_0x392586,_0xfbd627=_0x1ea1ed[_0x17cfda(0x33c)];let _0x2c647e=0x0;for(;_0x2c647e<_0xfbd627;)if((_0x1ea1ed[_0x2c647e]&0x80)===0x0)_0x2c647e++;else{if((_0x1ea1ed[_0x2c647e]&0xe0)===0xc0){if(_0x2c647e+0x1===_0xfbd627||(_0x1ea1ed[_0x2c647e+0x1]&0xc0)!==0x80||(_0x1ea1ed[_0x2c647e]&0xfe)===0xc0)return!0x1;_0x2c647e+=0x2;}else{if((_0x1ea1ed[_0x2c647e]&0xf0)===0xe0){if(_0x2c647e+0x2>=_0xfbd627||(_0x1ea1ed[_0x2c647e+0x1]&0xc0)!==0x80||(_0x1ea1ed[_0x2c647e+0x2]&0xc0)!==0x80||_0x1ea1ed[_0x2c647e]===0xe0&&(_0x1ea1ed[_0x2c647e+0x1]&0xe0)===0x80||_0x1ea1ed[_0x2c647e]===0xed&&(_0x1ea1ed[_0x2c647e+0x1]&0xe0)===0xa0)return!0x1;_0x2c647e+=0x3;}else{if((_0x1ea1ed[_0x2c647e]&0xf8)===0xf0){if(_0x2c647e+0x3>=_0xfbd627||(_0x1ea1ed[_0x2c647e+0x1]&0xc0)!==0x80||(_0x1ea1ed[_0x2c647e+0x2]&0xc0)!==0x80||(_0x1ea1ed[_0x2c647e+0x3]&0xc0)!==0x80||_0x1ea1ed[_0x2c647e]===0xf0&&(_0x1ea1ed[_0x2c647e+0x1]&0xf0)===0x80||_0x1ea1ed[_0x2c647e]===0xf4&&_0x1ea1ed[_0x2c647e+0x1]>0x8f||_0x1ea1ed[_0x2c647e]>0xf4)return!0x1;_0x2c647e+=0x4;}else return!0x1;}}}return!0x0;}function _0x562867(_0x11e5f6){const _0x3efbdb=_0x392586;return _0x849de2&&typeof _0x11e5f6==_0x3efbdb(0x2eb)&&typeof _0x11e5f6[_0x3efbdb(0x254)]==_0x3efbdb(0x1c3)&&typeof _0x11e5f6['type']==_0x3efbdb(0x264)&&typeof _0x11e5f6[_0x3efbdb(0x241)]=='function'&&(_0x11e5f6[Symbol[_0x3efbdb(0x302)]]===_0x3efbdb(0x2e7)||_0x11e5f6[Symbol[_0x3efbdb(0x302)]]===_0x3efbdb(0x30f));}if(re[_0x392586(0x349)]={'isBlob':_0x562867,'isValidStatusCode':_0xfc473a,'isValidUTF8':_0x36923e,'tokenChars':_0x3d016a},_0x230d7b)re['exports'][_0x392586(0x293)]=function(_0x316109){const _0x30c0d9=_0x392586;return _0x316109[_0x30c0d9(0x33c)]<0x18?_0x36923e(_0x316109):_0x230d7b(_0x316109);};else{if(!process[_0x392586(0x2d4)]['WS_NO_UTF_8_VALIDATE'])try{const _0x120f24=Yt;re[_0x392586(0x349)][_0x392586(0x293)]=function(_0x1d12b1){const _0x5147df=_0x392586;return _0x1d12b1[_0x5147df(0x33c)]<0x20?_0x36923e(_0x1d12b1):_0x120f24(_0x1d12b1);};}catch{}}return re['exports'];}var Se,Je;function dt(){const _0x556928=_0x3b5f97;if(Je)return Se;Je=0x1;const {Writable:_0x4c8dcf}=_0x3500b5,_0x48b7ed=he(),{BINARY_TYPES:_0x2503db,EMPTY_BUFFER:_0x2b310a,kStatusCode:_0x67cfd,kWebSocket:_0x5e5563}=V(),{concat:_0x132390,toArrayBuffer:_0xa83bb8,unmask:_0x795dfa}=ce(),{isValidStatusCode:_0x43dbcc,isValidUTF8:_0x3690f1}=ne(),_0x226b63=Buffer[Symbol[_0x556928(0x20c)]],_0x23bdb0=0x0,_0x5e7bbb=0x1,_0x5555df=0x2,_0x664d66=0x3,_0x365225=0x4,_0x5ec641=0x5,_0x25a842=0x6;class _0x31fc77 extends _0x4c8dcf{constructor(_0x2d43a4={}){const _0x38bdb1=_0x556928;super(),this[_0x38bdb1(0x1f4)]=_0x2d43a4[_0x38bdb1(0x1a1)]!==void 0x0?_0x2d43a4[_0x38bdb1(0x1a1)]:!0x0,this[_0x38bdb1(0x28b)]=_0x2d43a4['binaryType']||_0x2503db[0x0],this[_0x38bdb1(0x19b)]=_0x2d43a4[_0x38bdb1(0x265)]||{},this[_0x38bdb1(0x2e3)]=!!_0x2d43a4[_0x38bdb1(0x1e8)],this[_0x38bdb1(0x2a7)]=_0x2d43a4[_0x38bdb1(0x2b3)]|0x0,this[_0x38bdb1(0x29f)]=!!_0x2d43a4['skipUTF8Validation'],this[_0x5e5563]=void 0x0,this[_0x38bdb1(0x335)]=0x0,this[_0x38bdb1(0x306)]=[],this[_0x38bdb1(0x290)]=!0x1,this[_0x38bdb1(0x1dc)]=0x0,this[_0x38bdb1(0x1af)]=void 0x0,this[_0x38bdb1(0x217)]=0x0,this[_0x38bdb1(0x2c4)]=!0x1,this[_0x38bdb1(0x1b8)]=!0x1,this[_0x38bdb1(0x1a9)]=0x0,this[_0x38bdb1(0x2ac)]=0x0,this[_0x38bdb1(0x1fa)]=0x0,this['_fragments']=[],this[_0x38bdb1(0x327)]=!0x1,this[_0x38bdb1(0x287)]=!0x1,this['_state']=_0x23bdb0;}[_0x556928(0x2be)](_0x3bedb6,_0x51164c,_0x3596e5){const _0x3938cf=_0x556928;if(this[_0x3938cf(0x1a9)]===0x8&&this[_0x3938cf(0x250)]==_0x23bdb0)return _0x3596e5();this[_0x3938cf(0x335)]+=_0x3bedb6[_0x3938cf(0x33c)],this[_0x3938cf(0x306)][_0x3938cf(0x323)](_0x3bedb6),this['startLoop'](_0x3596e5);}[_0x556928(0x343)](_0x349774){const _0x24f5b8=_0x556928;if(this[_0x24f5b8(0x335)]-=_0x349774,_0x349774===this[_0x24f5b8(0x306)][0x0][_0x24f5b8(0x33c)])return this[_0x24f5b8(0x306)][_0x24f5b8(0x2b7)]();if(_0x349774<this['_buffers'][0x0][_0x24f5b8(0x33c)]){const _0xb7c615=this['_buffers'][0x0];return this['_buffers'][0x0]=new _0x226b63(_0xb7c615[_0x24f5b8(0x2d3)],_0xb7c615['byteOffset']+_0x349774,_0xb7c615[_0x24f5b8(0x33c)]-_0x349774),new _0x226b63(_0xb7c615[_0x24f5b8(0x2d3)],_0xb7c615['byteOffset'],_0x349774);}const _0x5210b3=Buffer[_0x24f5b8(0x266)](_0x349774);do{const _0x11449b=this[_0x24f5b8(0x306)][0x0],_0x87bcf8=_0x5210b3[_0x24f5b8(0x33c)]-_0x349774;_0x349774>=_0x11449b['length']?_0x5210b3[_0x24f5b8(0x2ed)](this['_buffers'][_0x24f5b8(0x2b7)](),_0x87bcf8):(_0x5210b3['set'](new Uint8Array(_0x11449b[_0x24f5b8(0x2d3)],_0x11449b[_0x24f5b8(0x1e7)],_0x349774),_0x87bcf8),this[_0x24f5b8(0x306)][0x0]=new _0x226b63(_0x11449b[_0x24f5b8(0x2d3)],_0x11449b[_0x24f5b8(0x1e7)]+_0x349774,_0x11449b[_0x24f5b8(0x33c)]-_0x349774)),_0x349774-=_0x11449b[_0x24f5b8(0x33c)];}while(_0x349774>0x0);return _0x5210b3;}[_0x556928(0x26c)](_0x30ab97){const _0x377cd8=_0x556928;this[_0x377cd8(0x287)]=!0x0;do switch(this[_0x377cd8(0x250)]){case _0x23bdb0:this[_0x377cd8(0x2b9)](_0x30ab97);break;case _0x5e7bbb:this['getPayloadLength16'](_0x30ab97);break;case _0x5555df:this[_0x377cd8(0x20d)](_0x30ab97);break;case _0x664d66:this[_0x377cd8(0x23e)]();break;case _0x365225:this[_0x377cd8(0x2d1)](_0x30ab97);break;case _0x5ec641:case _0x25a842:this[_0x377cd8(0x287)]=!0x1;return;}while(this[_0x377cd8(0x287)]);this[_0x377cd8(0x327)]||_0x30ab97();}[_0x556928(0x2b9)](_0x57cbcf){const _0x32034b=_0x556928;if(this[_0x32034b(0x335)]<0x2){this['_loop']=!0x1;return;}const _0x17e6b3=this['consume'](0x2);if((_0x17e6b3[0x0]&0x30)!==0x0){const _0x561d84=this[_0x32034b(0x1a6)](RangeError,_0x32034b(0x334),!0x0,0x3ea,_0x32034b(0x325));_0x57cbcf(_0x561d84);return;}const _0x5ccdfc=(_0x17e6b3[0x0]&0x40)===0x40;if(_0x5ccdfc&&!this[_0x32034b(0x19b)][_0x48b7ed[_0x32034b(0x1dd)]]){const _0x1de40c=this[_0x32034b(0x1a6)](RangeError,_0x32034b(0x2ba),!0x0,0x3ea,_0x32034b(0x336));_0x57cbcf(_0x1de40c);return;}if(this['_fin']=(_0x17e6b3[0x0]&0x80)===0x80,this['_opcode']=_0x17e6b3[0x0]&0xf,this['_payloadLength']=_0x17e6b3[0x1]&0x7f,this[_0x32034b(0x1a9)]===0x0){if(_0x5ccdfc){const _0x2f7a68=this[_0x32034b(0x1a6)](RangeError,_0x32034b(0x2ba),!0x0,0x3ea,_0x32034b(0x336));_0x57cbcf(_0x2f7a68);return;}if(!this[_0x32034b(0x217)]){const _0x4ef683=this[_0x32034b(0x1a6)](RangeError,_0x32034b(0x34d),!0x0,0x3ea,_0x32034b(0x22f));_0x57cbcf(_0x4ef683);return;}this['_opcode']=this[_0x32034b(0x217)];}else{if(this[_0x32034b(0x1a9)]===0x1||this[_0x32034b(0x1a9)]===0x2){if(this[_0x32034b(0x217)]){const _0x285037=this[_0x32034b(0x1a6)](RangeError,_0x32034b(0x28e)+this[_0x32034b(0x1a9)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x57cbcf(_0x285037);return;}this[_0x32034b(0x290)]=_0x5ccdfc;}else{if(this[_0x32034b(0x1a9)]>0x7&&this['_opcode']<0xb){if(!this[_0x32034b(0x1b8)]){const _0x21a4c1=this[_0x32034b(0x1a6)](RangeError,_0x32034b(0x2e5),!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0x57cbcf(_0x21a4c1);return;}if(_0x5ccdfc){const _0x48349=this['createError'](RangeError,_0x32034b(0x2ba),!0x0,0x3ea,_0x32034b(0x336));_0x57cbcf(_0x48349);return;}if(this['_payloadLength']>0x7d||this[_0x32034b(0x1a9)]===0x8&&this[_0x32034b(0x1dc)]===0x1){const _0x4265d4=this[_0x32034b(0x1a6)](RangeError,_0x32034b(0x1c1)+this[_0x32034b(0x1dc)],!0x0,0x3ea,_0x32034b(0x1ab));_0x57cbcf(_0x4265d4);return;}}else{const _0x38d64c=this[_0x32034b(0x1a6)](RangeError,'invalid\x20opcode\x20'+this[_0x32034b(0x1a9)],!0x0,0x3ea,_0x32034b(0x22f));_0x57cbcf(_0x38d64c);return;}}}if(!this[_0x32034b(0x1b8)]&&!this[_0x32034b(0x217)]&&(this['_fragmented']=this[_0x32034b(0x1a9)]),this[_0x32034b(0x2c4)]=(_0x17e6b3[0x1]&0x80)===0x80,this[_0x32034b(0x2e3)]){if(!this[_0x32034b(0x2c4)]){const _0x4c7a2b=this['createError'](RangeError,_0x32034b(0x242),!0x0,0x3ea,_0x32034b(0x2df));_0x57cbcf(_0x4c7a2b);return;}}else{if(this[_0x32034b(0x2c4)]){const _0xf0f64=this[_0x32034b(0x1a6)](RangeError,_0x32034b(0x1e5),!0x0,0x3ea,_0x32034b(0x2cf));_0x57cbcf(_0xf0f64);return;}}this[_0x32034b(0x1dc)]===0x7e?this[_0x32034b(0x250)]=_0x5e7bbb:this[_0x32034b(0x1dc)]===0x7f?this['_state']=_0x5555df:this[_0x32034b(0x1ef)](_0x57cbcf);}[_0x556928(0x2aa)](_0x3955b9){const _0x2090dc=_0x556928;if(this[_0x2090dc(0x335)]<0x2){this[_0x2090dc(0x287)]=!0x1;return;}this[_0x2090dc(0x1dc)]=this['consume'](0x2)[_0x2090dc(0x25e)](0x0),this[_0x2090dc(0x1ef)](_0x3955b9);}[_0x556928(0x20d)](_0x5a3fe5){const _0x1ee094=_0x556928;if(this[_0x1ee094(0x335)]<0x8){this[_0x1ee094(0x287)]=!0x1;return;}const _0x3e489c=this['consume'](0x8),_0x1b71a7=_0x3e489c[_0x1ee094(0x2e4)](0x0);if(_0x1b71a7>Math[_0x1ee094(0x258)](0x2,0x15)-0x1){const _0x586286=this[_0x1ee094(0x1a6)](RangeError,_0x1ee094(0x29d),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH');_0x5a3fe5(_0x586286);return;}this[_0x1ee094(0x1dc)]=_0x1b71a7*Math['pow'](0x2,0x20)+_0x3e489c['readUInt32BE'](0x4),this[_0x1ee094(0x1ef)](_0x5a3fe5);}['haveLength'](_0x3d7e49){const _0xefaa8b=_0x556928;if(this['_payloadLength']&&this[_0xefaa8b(0x1a9)]<0x8&&(this[_0xefaa8b(0x2ac)]+=this['_payloadLength'],this['_totalPayloadLength']>this[_0xefaa8b(0x2a7)]&&this[_0xefaa8b(0x2a7)]>0x0)){const _0x304481=this['createError'](RangeError,_0xefaa8b(0x2f9),!0x1,0x3f1,_0xefaa8b(0x256));_0x3d7e49(_0x304481);return;}this['_masked']?this[_0xefaa8b(0x250)]=_0x664d66:this[_0xefaa8b(0x250)]=_0x365225;}[_0x556928(0x23e)](){const _0x3c9faf=_0x556928;if(this[_0x3c9faf(0x335)]<0x4){this['_loop']=!0x1;return;}this[_0x3c9faf(0x1af)]=this[_0x3c9faf(0x343)](0x4),this[_0x3c9faf(0x250)]=_0x365225;}[_0x556928(0x2d1)](_0x2961ba){const _0x2cbaff=_0x556928;let _0x2da83f=_0x2b310a;if(this['_payloadLength']){if(this[_0x2cbaff(0x335)]<this[_0x2cbaff(0x1dc)]){this[_0x2cbaff(0x287)]=!0x1;return;}_0x2da83f=this[_0x2cbaff(0x343)](this['_payloadLength']),this['_masked']&&(this[_0x2cbaff(0x1af)][0x0]|this[_0x2cbaff(0x1af)][0x1]|this[_0x2cbaff(0x1af)][0x2]|this[_0x2cbaff(0x1af)][0x3])!==0x0&&_0x795dfa(_0x2da83f,this[_0x2cbaff(0x1af)]);}if(this['_opcode']>0x7){this['controlMessage'](_0x2da83f,_0x2961ba);return;}if(this[_0x2cbaff(0x290)]){this[_0x2cbaff(0x250)]=_0x5ec641,this[_0x2cbaff(0x19e)](_0x2da83f,_0x2961ba);return;}_0x2da83f[_0x2cbaff(0x33c)]&&(this[_0x2cbaff(0x1fa)]=this[_0x2cbaff(0x2ac)],this[_0x2cbaff(0x296)][_0x2cbaff(0x323)](_0x2da83f)),this[_0x2cbaff(0x1a0)](_0x2961ba);}['decompress'](_0x2b7ac5,_0x2a36d8){const _0x46ef25=_0x556928;this[_0x46ef25(0x19b)][_0x48b7ed['extensionName']][_0x46ef25(0x19e)](_0x2b7ac5,this[_0x46ef25(0x1b8)],(_0x386ae8,_0xf9b1d6)=>{const _0x220785=_0x46ef25;if(_0x386ae8)return _0x2a36d8(_0x386ae8);if(_0xf9b1d6[_0x220785(0x33c)]){if(this['_messageLength']+=_0xf9b1d6[_0x220785(0x33c)],this[_0x220785(0x1fa)]>this[_0x220785(0x2a7)]&&this[_0x220785(0x2a7)]>0x0){const _0x4c69d9=this[_0x220785(0x1a6)](RangeError,_0x220785(0x2f9),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x2a36d8(_0x4c69d9);return;}this[_0x220785(0x296)][_0x220785(0x323)](_0xf9b1d6);}this[_0x220785(0x1a0)](_0x2a36d8),this['_state']===_0x23bdb0&&this['startLoop'](_0x2a36d8);});}[_0x556928(0x1a0)](_0x5753e5){const _0x6db2d=_0x556928;if(!this[_0x6db2d(0x1b8)]){this[_0x6db2d(0x250)]=_0x23bdb0;return;}const _0x535fb0=this[_0x6db2d(0x1fa)],_0xd684a=this[_0x6db2d(0x296)];if(this[_0x6db2d(0x2ac)]=0x0,this['_messageLength']=0x0,this[_0x6db2d(0x217)]=0x0,this[_0x6db2d(0x296)]=[],this[_0x6db2d(0x1a9)]===0x2){let _0x4166e7;this[_0x6db2d(0x28b)]===_0x6db2d(0x320)?_0x4166e7=_0x132390(_0xd684a,_0x535fb0):this[_0x6db2d(0x28b)]===_0x6db2d(0x2fe)?_0x4166e7=_0xa83bb8(_0x132390(_0xd684a,_0x535fb0)):this[_0x6db2d(0x28b)]===_0x6db2d(0x2fc)?_0x4166e7=new Blob(_0xd684a):_0x4166e7=_0xd684a,this[_0x6db2d(0x1f4)]?(this[_0x6db2d(0x2c7)](_0x6db2d(0x246),_0x4166e7,!0x0),this['_state']=_0x23bdb0):(this[_0x6db2d(0x250)]=_0x25a842,setImmediate(()=>{const _0x25e39a=_0x6db2d;this[_0x25e39a(0x2c7)](_0x25e39a(0x246),_0x4166e7,!0x0),this[_0x25e39a(0x250)]=_0x23bdb0,this['startLoop'](_0x5753e5);}));}else{const _0x550023=_0x132390(_0xd684a,_0x535fb0);if(!this[_0x6db2d(0x29f)]&&!_0x3690f1(_0x550023)){const _0x336b72=this[_0x6db2d(0x1a6)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x6db2d(0x1b0));_0x5753e5(_0x336b72);return;}this[_0x6db2d(0x250)]===_0x5ec641||this[_0x6db2d(0x1f4)]?(this[_0x6db2d(0x2c7)]('message',_0x550023,!0x1),this[_0x6db2d(0x250)]=_0x23bdb0):(this[_0x6db2d(0x250)]=_0x25a842,setImmediate(()=>{const _0x4b9ee3=_0x6db2d;this[_0x4b9ee3(0x2c7)]('message',_0x550023,!0x1),this['_state']=_0x23bdb0,this[_0x4b9ee3(0x26c)](_0x5753e5);}));}}[_0x556928(0x2e6)](_0x2e9a8d,_0x13c6c1){const _0x2db7b3=_0x556928;if(this[_0x2db7b3(0x1a9)]===0x8){if(_0x2e9a8d['length']===0x0)this[_0x2db7b3(0x287)]=!0x1,this[_0x2db7b3(0x2c7)]('conclude',0x3ed,_0x2b310a),this['end']();else{const _0x29a592=_0x2e9a8d[_0x2db7b3(0x25e)](0x0);if(!_0x43dbcc(_0x29a592)){const _0x1a4860=this['createError'](RangeError,_0x2db7b3(0x1e3)+_0x29a592,!0x0,0x3ea,_0x2db7b3(0x22c));_0x13c6c1(_0x1a4860);return;}const _0x2f0146=new _0x226b63(_0x2e9a8d[_0x2db7b3(0x2d3)],_0x2e9a8d[_0x2db7b3(0x1e7)]+0x2,_0x2e9a8d[_0x2db7b3(0x33c)]-0x2);if(!this[_0x2db7b3(0x29f)]&&!_0x3690f1(_0x2f0146)){const _0x1146a7=this[_0x2db7b3(0x1a6)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x13c6c1(_0x1146a7);return;}this[_0x2db7b3(0x287)]=!0x1,this[_0x2db7b3(0x2c7)](_0x2db7b3(0x20a),_0x29a592,_0x2f0146),this[_0x2db7b3(0x236)]();}this[_0x2db7b3(0x250)]=_0x23bdb0;return;}this['_allowSynchronousEvents']?(this['emit'](this[_0x2db7b3(0x1a9)]===0x9?_0x2db7b3(0x2b1):'pong',_0x2e9a8d),this[_0x2db7b3(0x250)]=_0x23bdb0):(this['_state']=_0x25a842,setImmediate(()=>{const _0x4b24dc=_0x2db7b3;this[_0x4b24dc(0x2c7)](this[_0x4b24dc(0x1a9)]===0x9?_0x4b24dc(0x2b1):_0x4b24dc(0x2a3),_0x2e9a8d),this['_state']=_0x23bdb0,this[_0x4b24dc(0x26c)](_0x13c6c1);}));}[_0x556928(0x1a6)](_0x33c035,_0x1040c6,_0x1534e5,_0x54f870,_0x3be411){const _0x354506=_0x556928;this['_loop']=!0x1,this[_0x354506(0x327)]=!0x0;const _0x3ec8b0=new _0x33c035(_0x1534e5?_0x354506(0x1a8)+_0x1040c6:_0x1040c6);return Error[_0x354506(0x32a)](_0x3ec8b0,this[_0x354506(0x1a6)]),_0x3ec8b0[_0x354506(0x1e2)]=_0x3be411,_0x3ec8b0[_0x67cfd]=_0x54f870,_0x3ec8b0;}}return Se=_0x31fc77,Se;}var Ee,et;function _t(){const _0x8946d6=_0x3b5f97;if(et)return Ee;et=0x1;const {Duplex:_0x54af4c}=_0x3500b5,{randomFillSync:_0x5df176}=_0x303e8a,_0x23674b=he(),{EMPTY_BUFFER:_0xeceab1,kWebSocket:_0x354247,NOOP:_0x2342b9}=V(),{isBlob:_0x3939fc,isValidStatusCode:_0x5c2617}=ne(),{mask:_0x54b19e,toBuffer:_0x44957c}=ce(),_0x3ef67f=Symbol(_0x8946d6(0x1e0)),_0x55ed38=Buffer[_0x8946d6(0x2db)](0x4),_0x43a4e7=0x8*0x400;let _0x2666d1,_0x5521bb=_0x43a4e7;const _0x381246=0x0,_0x224f84=0x1,_0x5277dc=0x2;class _0xd12eb5{constructor(_0x9120d4,_0x4588e1,_0x2b4555){const _0x5f242e=_0x8946d6;this[_0x5f242e(0x19b)]=_0x4588e1||{},_0x2b4555&&(this[_0x5f242e(0x338)]=_0x2b4555,this[_0x5f242e(0x1ac)]=Buffer['alloc'](0x4)),this[_0x5f242e(0x230)]=_0x9120d4,this[_0x5f242e(0x32b)]=!0x0,this['_compress']=!0x1,this[_0x5f242e(0x335)]=0x0,this[_0x5f242e(0x1f2)]=[],this[_0x5f242e(0x250)]=_0x381246,this[_0x5f242e(0x270)]=_0x2342b9,this[_0x354247]=void 0x0;}static[_0x8946d6(0x2bf)](_0x22a575,_0x28b77a){const _0x1a5c61=_0x8946d6;let _0x4d0364,_0x464377=!0x1,_0x250af0=0x2,_0x26d9d2=!0x1;_0x28b77a['mask']&&(_0x4d0364=_0x28b77a[_0x1a5c61(0x2c8)]||_0x55ed38,_0x28b77a[_0x1a5c61(0x1fd)]?_0x28b77a[_0x1a5c61(0x1fd)](_0x4d0364):(_0x5521bb===_0x43a4e7&&(_0x2666d1===void 0x0&&(_0x2666d1=Buffer[_0x1a5c61(0x2db)](_0x43a4e7)),_0x5df176(_0x2666d1,0x0,_0x43a4e7),_0x5521bb=0x0),_0x4d0364[0x0]=_0x2666d1[_0x5521bb++],_0x4d0364[0x1]=_0x2666d1[_0x5521bb++],_0x4d0364[0x2]=_0x2666d1[_0x5521bb++],_0x4d0364[0x3]=_0x2666d1[_0x5521bb++]),_0x26d9d2=(_0x4d0364[0x0]|_0x4d0364[0x1]|_0x4d0364[0x2]|_0x4d0364[0x3])===0x0,_0x250af0=0x6);let _0x198c12;typeof _0x22a575==_0x1a5c61(0x264)?(!_0x28b77a[_0x1a5c61(0x347)]||_0x26d9d2)&&_0x28b77a[_0x3ef67f]!==void 0x0?_0x198c12=_0x28b77a[_0x3ef67f]:(_0x22a575=Buffer['from'](_0x22a575),_0x198c12=_0x22a575[_0x1a5c61(0x33c)]):(_0x198c12=_0x22a575['length'],_0x464377=_0x28b77a[_0x1a5c61(0x347)]&&_0x28b77a[_0x1a5c61(0x314)]&&!_0x26d9d2);let _0x38f28e=_0x198c12;_0x198c12>=0x10000?(_0x250af0+=0x8,_0x38f28e=0x7f):_0x198c12>0x7d&&(_0x250af0+=0x2,_0x38f28e=0x7e);const _0x4c14be=Buffer[_0x1a5c61(0x266)](_0x464377?_0x198c12+_0x250af0:_0x250af0);return _0x4c14be[0x0]=_0x28b77a['fin']?_0x28b77a[_0x1a5c61(0x30e)]|0x80:_0x28b77a[_0x1a5c61(0x30e)],_0x28b77a['rsv1']&&(_0x4c14be[0x0]|=0x40),_0x4c14be[0x1]=_0x38f28e,_0x38f28e===0x7e?_0x4c14be['writeUInt16BE'](_0x198c12,0x2):_0x38f28e===0x7f&&(_0x4c14be[0x2]=_0x4c14be[0x3]=0x0,_0x4c14be['writeUIntBE'](_0x198c12,0x4,0x6)),_0x28b77a['mask']?(_0x4c14be[0x1]|=0x80,_0x4c14be[_0x250af0-0x4]=_0x4d0364[0x0],_0x4c14be[_0x250af0-0x3]=_0x4d0364[0x1],_0x4c14be[_0x250af0-0x2]=_0x4d0364[0x2],_0x4c14be[_0x250af0-0x1]=_0x4d0364[0x3],_0x26d9d2?[_0x4c14be,_0x22a575]:_0x464377?(_0x54b19e(_0x22a575,_0x4d0364,_0x4c14be,_0x250af0,_0x198c12),[_0x4c14be]):(_0x54b19e(_0x22a575,_0x4d0364,_0x22a575,0x0,_0x198c12),[_0x4c14be,_0x22a575])):[_0x4c14be,_0x22a575];}[_0x8946d6(0x31e)](_0x27ebf4,_0x3a0f1c,_0x5742c6,_0x5446aa){const _0x59abfc=_0x8946d6;let _0x120878;if(_0x27ebf4===void 0x0)_0x120878=_0xeceab1;else{if(typeof _0x27ebf4!=_0x59abfc(0x276)||!_0x5c2617(_0x27ebf4))throw new TypeError(_0x59abfc(0x1d7));if(_0x3a0f1c===void 0x0||!_0x3a0f1c[_0x59abfc(0x33c)])_0x120878=Buffer[_0x59abfc(0x266)](0x2),_0x120878[_0x59abfc(0x2c5)](_0x27ebf4,0x0);else{const _0x502f7c=Buffer['byteLength'](_0x3a0f1c);if(_0x502f7c>0x7b)throw new RangeError(_0x59abfc(0x292));_0x120878=Buffer[_0x59abfc(0x266)](0x2+_0x502f7c),_0x120878['writeUInt16BE'](_0x27ebf4,0x0),typeof _0x3a0f1c==_0x59abfc(0x264)?_0x120878[_0x59abfc(0x277)](_0x3a0f1c,0x2):_0x120878[_0x59abfc(0x2ed)](_0x3a0f1c,0x2);}}const _0x381069={[_0x3ef67f]:_0x120878[_0x59abfc(0x33c)],'fin':!0x0,'generateMask':this[_0x59abfc(0x338)],'mask':_0x5742c6,'maskBuffer':this[_0x59abfc(0x1ac)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x59abfc(0x250)]!==_0x381246?this[_0x59abfc(0x281)]([this[_0x59abfc(0x313)],_0x120878,!0x1,_0x381069,_0x5446aa]):this[_0x59abfc(0x28d)](_0xd12eb5[_0x59abfc(0x2bf)](_0x120878,_0x381069),_0x5446aa);}[_0x8946d6(0x2b1)](_0x153e62,_0x2a821c,_0x104568){const _0x178446=_0x8946d6;let _0x267dff,_0x2b309b;if(typeof _0x153e62==_0x178446(0x264)?(_0x267dff=Buffer[_0x178446(0x284)](_0x153e62),_0x2b309b=!0x1):_0x3939fc(_0x153e62)?(_0x267dff=_0x153e62['size'],_0x2b309b=!0x1):(_0x153e62=_0x44957c(_0x153e62),_0x267dff=_0x153e62[_0x178446(0x33c)],_0x2b309b=_0x44957c[_0x178446(0x314)]),_0x267dff>0x7d)throw new RangeError(_0x178446(0x273));const _0x4bc009={[_0x3ef67f]:_0x267dff,'fin':!0x0,'generateMask':this[_0x178446(0x338)],'mask':_0x2a821c,'maskBuffer':this[_0x178446(0x1ac)],'opcode':0x9,'readOnly':_0x2b309b,'rsv1':!0x1};_0x3939fc(_0x153e62)?this[_0x178446(0x250)]!==_0x381246?this[_0x178446(0x281)]([this[_0x178446(0x329)],_0x153e62,!0x1,_0x4bc009,_0x104568]):this[_0x178446(0x329)](_0x153e62,!0x1,_0x4bc009,_0x104568):this[_0x178446(0x250)]!==_0x381246?this[_0x178446(0x281)]([this[_0x178446(0x313)],_0x153e62,!0x1,_0x4bc009,_0x104568]):this[_0x178446(0x28d)](_0xd12eb5[_0x178446(0x2bf)](_0x153e62,_0x4bc009),_0x104568);}['pong'](_0x4f713a,_0x39492c,_0x370ab2){const _0x1a6697=_0x8946d6;let _0x12405d,_0x500f60;if(typeof _0x4f713a==_0x1a6697(0x264)?(_0x12405d=Buffer['byteLength'](_0x4f713a),_0x500f60=!0x1):_0x3939fc(_0x4f713a)?(_0x12405d=_0x4f713a[_0x1a6697(0x21c)],_0x500f60=!0x1):(_0x4f713a=_0x44957c(_0x4f713a),_0x12405d=_0x4f713a[_0x1a6697(0x33c)],_0x500f60=_0x44957c[_0x1a6697(0x314)]),_0x12405d>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x197ce9={[_0x3ef67f]:_0x12405d,'fin':!0x0,'generateMask':this[_0x1a6697(0x338)],'mask':_0x39492c,'maskBuffer':this[_0x1a6697(0x1ac)],'opcode':0xa,'readOnly':_0x500f60,'rsv1':!0x1};_0x3939fc(_0x4f713a)?this['_state']!==_0x381246?this[_0x1a6697(0x281)]([this[_0x1a6697(0x329)],_0x4f713a,!0x1,_0x197ce9,_0x370ab2]):this['getBlobData'](_0x4f713a,!0x1,_0x197ce9,_0x370ab2):this['_state']!==_0x381246?this[_0x1a6697(0x281)]([this[_0x1a6697(0x313)],_0x4f713a,!0x1,_0x197ce9,_0x370ab2]):this[_0x1a6697(0x28d)](_0xd12eb5[_0x1a6697(0x2bf)](_0x4f713a,_0x197ce9),_0x370ab2);}[_0x8946d6(0x21b)](_0x1531dd,_0x1a80bc,_0x1b3f3a){const _0x5a51d6=_0x8946d6,_0xefa52=this[_0x5a51d6(0x19b)][_0x23674b[_0x5a51d6(0x1dd)]];let _0x1856c0=_0x1a80bc['binary']?0x2:0x1,_0x923520=_0x1a80bc['compress'],_0x231ea6,_0x295d29;typeof _0x1531dd=='string'?(_0x231ea6=Buffer[_0x5a51d6(0x284)](_0x1531dd),_0x295d29=!0x1):_0x3939fc(_0x1531dd)?(_0x231ea6=_0x1531dd[_0x5a51d6(0x21c)],_0x295d29=!0x1):(_0x1531dd=_0x44957c(_0x1531dd),_0x231ea6=_0x1531dd[_0x5a51d6(0x33c)],_0x295d29=_0x44957c['readOnly']),this[_0x5a51d6(0x32b)]?(this['_firstFragment']=!0x1,_0x923520&&_0xefa52&&_0xefa52['params'][_0xefa52[_0x5a51d6(0x2e3)]?_0x5a51d6(0x33a):_0x5a51d6(0x326)]&&(_0x923520=_0x231ea6>=_0xefa52[_0x5a51d6(0x267)]),this[_0x5a51d6(0x1fb)]=_0x923520):(_0x923520=!0x1,_0x1856c0=0x0),_0x1a80bc[_0x5a51d6(0x1ae)]&&(this['_firstFragment']=!0x0);const _0x2d8b0e={[_0x3ef67f]:_0x231ea6,'fin':_0x1a80bc[_0x5a51d6(0x1ae)],'generateMask':this['_generateMask'],'mask':_0x1a80bc[_0x5a51d6(0x347)],'maskBuffer':this['_maskBuffer'],'opcode':_0x1856c0,'readOnly':_0x295d29,'rsv1':_0x923520};_0x3939fc(_0x1531dd)?this[_0x5a51d6(0x250)]!==_0x381246?this[_0x5a51d6(0x281)]([this[_0x5a51d6(0x329)],_0x1531dd,this[_0x5a51d6(0x1fb)],_0x2d8b0e,_0x1b3f3a]):this[_0x5a51d6(0x329)](_0x1531dd,this[_0x5a51d6(0x1fb)],_0x2d8b0e,_0x1b3f3a):this[_0x5a51d6(0x250)]!==_0x381246?this[_0x5a51d6(0x281)]([this[_0x5a51d6(0x313)],_0x1531dd,this[_0x5a51d6(0x1fb)],_0x2d8b0e,_0x1b3f3a]):this[_0x5a51d6(0x313)](_0x1531dd,this[_0x5a51d6(0x1fb)],_0x2d8b0e,_0x1b3f3a);}[_0x8946d6(0x329)](_0x1906bf,_0x5e7cf8,_0x272f93,_0x1407d4){const _0x3a7f5c=_0x8946d6;this['_bufferedBytes']+=_0x272f93[_0x3ef67f],this[_0x3a7f5c(0x250)]=_0x5277dc,_0x1906bf[_0x3a7f5c(0x254)]()[_0x3a7f5c(0x23d)](_0x325305=>{const _0x26825d=_0x3a7f5c;if(this[_0x26825d(0x230)][_0x26825d(0x303)]){const _0xeae59d=new Error(_0x26825d(0x1e6));process[_0x26825d(0x214)](_0x22772b,this,_0xeae59d,_0x1407d4);return;}this['_bufferedBytes']-=_0x272f93[_0x3ef67f];const _0x897094=_0x44957c(_0x325305);_0x5e7cf8?this['dispatch'](_0x897094,_0x5e7cf8,_0x272f93,_0x1407d4):(this[_0x26825d(0x250)]=_0x381246,this[_0x26825d(0x28d)](_0xd12eb5[_0x26825d(0x2bf)](_0x897094,_0x272f93),_0x1407d4),this[_0x26825d(0x340)]());})[_0x3a7f5c(0x249)](_0x598ae9=>{process['nextTick'](_0x4f0e9d,this,_0x598ae9,_0x1407d4);});}[_0x8946d6(0x313)](_0xd4360d,_0x4f6bdd,_0x38ab9e,_0x5e29d5){const _0x3c97fb=_0x8946d6;if(!_0x4f6bdd){this['sendFrame'](_0xd12eb5[_0x3c97fb(0x2bf)](_0xd4360d,_0x38ab9e),_0x5e29d5);return;}const _0x196638=this[_0x3c97fb(0x19b)][_0x23674b[_0x3c97fb(0x1dd)]];this[_0x3c97fb(0x335)]+=_0x38ab9e[_0x3ef67f],this[_0x3c97fb(0x250)]=_0x224f84,_0x196638[_0x3c97fb(0x301)](_0xd4360d,_0x38ab9e['fin'],(_0x5e15f9,_0x39e266)=>{const _0x2c3918=_0x3c97fb;if(this[_0x2c3918(0x230)]['destroyed']){const _0x2e3703=new Error(_0x2c3918(0x19f));_0x22772b(this,_0x2e3703,_0x5e29d5);return;}this[_0x2c3918(0x335)]-=_0x38ab9e[_0x3ef67f],this[_0x2c3918(0x250)]=_0x381246,_0x38ab9e['readOnly']=!0x1,this['sendFrame'](_0xd12eb5['frame'](_0x39e266,_0x38ab9e),_0x5e29d5),this[_0x2c3918(0x340)]();});}[_0x8946d6(0x340)](){const _0x30b5ed=_0x8946d6;for(;this[_0x30b5ed(0x250)]===_0x381246&&this[_0x30b5ed(0x1f2)][_0x30b5ed(0x33c)];){const _0x569d39=this[_0x30b5ed(0x1f2)]['shift']();this[_0x30b5ed(0x335)]-=_0x569d39[0x3][_0x3ef67f],Reflect['apply'](_0x569d39[0x0],this,_0x569d39['slice'](0x1));}}[_0x8946d6(0x281)](_0x4472ec){const _0x4df5b5=_0x8946d6;this[_0x4df5b5(0x335)]+=_0x4472ec[0x3][_0x3ef67f],this[_0x4df5b5(0x1f2)][_0x4df5b5(0x323)](_0x4472ec);}[_0x8946d6(0x28d)](_0x4799fd,_0x1bcc27){const _0x3abc2f=_0x8946d6;_0x4799fd[_0x3abc2f(0x33c)]===0x2?(this['_socket'][_0x3abc2f(0x1c6)](),this[_0x3abc2f(0x230)][_0x3abc2f(0x277)](_0x4799fd[0x0]),this[_0x3abc2f(0x230)][_0x3abc2f(0x277)](_0x4799fd[0x1],_0x1bcc27),this['_socket'][_0x3abc2f(0x257)]()):this['_socket'][_0x3abc2f(0x277)](_0x4799fd[0x0],_0x1bcc27);}}Ee=_0xd12eb5;function _0x22772b(_0x79c06d,_0x1e9a6e,_0x3310e9){const _0xd6c16d=_0x8946d6;typeof _0x3310e9==_0xd6c16d(0x1c3)&&_0x3310e9(_0x1e9a6e);for(let _0x4d6e7a=0x0;_0x4d6e7a<_0x79c06d['_queue']['length'];_0x4d6e7a++){const _0x24a2f9=_0x79c06d[_0xd6c16d(0x1f2)][_0x4d6e7a],_0x5ee830=_0x24a2f9[_0x24a2f9[_0xd6c16d(0x33c)]-0x1];typeof _0x5ee830==_0xd6c16d(0x1c3)&&_0x5ee830(_0x1e9a6e);}}function _0x4f0e9d(_0x1ceadc,_0x30d8e6,_0x2db80d){const _0x2960b1=_0x8946d6;_0x22772b(_0x1ceadc,_0x30d8e6,_0x2db80d),_0x1ceadc[_0x2960b1(0x270)](_0x30d8e6);}return Ee;}var xe,tt;function Kt(){const _0x43351b=_0x3b5f97;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x1f4a32,kListener:_0xb74b92}=V(),_0x43899b=Symbol(_0x43351b(0x2ce)),_0x581e90=Symbol(_0x43351b(0x275)),_0x23a437=Symbol('kError'),_0x399eaa=Symbol(_0x43351b(0x1d2)),_0x143db0=Symbol(_0x43351b(0x316)),_0x47db71=Symbol(_0x43351b(0x307)),_0x4fddcd=Symbol(_0x43351b(0x29a)),_0x3c76b4=Symbol('kWasClean');class _0xc43c31{constructor(_0x30b054){this[_0x47db71]=null,this[_0x4fddcd]=_0x30b054;}get[_0x43351b(0x337)](){return this[_0x47db71];}get[_0x43351b(0x2b8)](){return this[_0x4fddcd];}}Object[_0x43351b(0x311)](_0xc43c31[_0x43351b(0x2dc)],_0x43351b(0x337),{'enumerable':!0x0}),Object[_0x43351b(0x311)](_0xc43c31[_0x43351b(0x2dc)],'type',{'enumerable':!0x0});class _0x4e7274 extends _0xc43c31{constructor(_0x4fde0b,_0x827b76={}){const _0x4e8794=_0x43351b;super(_0x4fde0b),this[_0x43899b]=_0x827b76[_0x4e8794(0x1e2)]===void 0x0?0x0:_0x827b76[_0x4e8794(0x1e2)],this[_0x143db0]=_0x827b76[_0x4e8794(0x274)]===void 0x0?'':_0x827b76['reason'],this[_0x3c76b4]=_0x827b76[_0x4e8794(0x23f)]===void 0x0?!0x1:_0x827b76[_0x4e8794(0x23f)];}get[_0x43351b(0x1e2)](){return this[_0x43899b];}get[_0x43351b(0x274)](){return this[_0x143db0];}get['wasClean'](){return this[_0x3c76b4];}}Object[_0x43351b(0x311)](_0x4e7274[_0x43351b(0x2dc)],_0x43351b(0x1e2),{'enumerable':!0x0}),Object[_0x43351b(0x311)](_0x4e7274[_0x43351b(0x2dc)],_0x43351b(0x274),{'enumerable':!0x0}),Object[_0x43351b(0x311)](_0x4e7274[_0x43351b(0x2dc)],_0x43351b(0x23f),{'enumerable':!0x0});class _0x368229 extends _0xc43c31{constructor(_0x52c174,_0x217ccf={}){const _0x5540da=_0x43351b;super(_0x52c174),this[_0x23a437]=_0x217ccf[_0x5540da(0x2c1)]===void 0x0?null:_0x217ccf[_0x5540da(0x2c1)],this[_0x399eaa]=_0x217ccf[_0x5540da(0x246)]===void 0x0?'':_0x217ccf['message'];}get[_0x43351b(0x2c1)](){return this[_0x23a437];}get[_0x43351b(0x246)](){return this[_0x399eaa];}}Object[_0x43351b(0x311)](_0x368229[_0x43351b(0x2dc)],_0x43351b(0x2c1),{'enumerable':!0x0}),Object[_0x43351b(0x311)](_0x368229['prototype'],_0x43351b(0x246),{'enumerable':!0x0});class _0x4426f3 extends _0xc43c31{constructor(_0x11e217,_0x41b5c9={}){const _0x55ba86=_0x43351b;super(_0x11e217),this[_0x581e90]=_0x41b5c9[_0x55ba86(0x1f0)]===void 0x0?null:_0x41b5c9[_0x55ba86(0x1f0)];}get[_0x43351b(0x1f0)](){return this[_0x581e90];}}Object[_0x43351b(0x311)](_0x4426f3['prototype'],'data',{'enumerable':!0x0}),xe={'CloseEvent':_0x4e7274,'ErrorEvent':_0x368229,'Event':_0xc43c31,'EventTarget':{'addEventListener'(_0x2bd889,_0x29047f,_0x1c0bdd={}){const _0x498cec=_0x43351b;for(const _0x3a45de of this[_0x498cec(0x332)](_0x2bd889))if(!_0x1c0bdd[_0x1f4a32]&&_0x3a45de[_0xb74b92]===_0x29047f&&!_0x3a45de[_0x1f4a32])return;let _0x191824;if(_0x2bd889===_0x498cec(0x246))_0x191824=function(_0x2759fe,_0x58f505){const _0x196223=_0x498cec,_0x13ce05=new _0x4426f3(_0x196223(0x246),{'data':_0x58f505?_0x2759fe:_0x2759fe['toString']()});_0x13ce05[_0x47db71]=this,_0xbffa48(_0x29047f,this,_0x13ce05);};else{if(_0x2bd889===_0x498cec(0x31e))_0x191824=function(_0x23a589,_0x5ae7f2){const _0x1e0616=_0x498cec,_0x2317a1=new _0x4e7274(_0x1e0616(0x31e),{'code':_0x23a589,'reason':_0x5ae7f2['toString'](),'wasClean':this['_closeFrameReceived']&&this['_closeFrameSent']});_0x2317a1[_0x47db71]=this,_0xbffa48(_0x29047f,this,_0x2317a1);};else{if(_0x2bd889===_0x498cec(0x2c1))_0x191824=function(_0x56b255){const _0x3202a4=_0x498cec,_0x4b96a2=new _0x368229(_0x3202a4(0x2c1),{'error':_0x56b255,'message':_0x56b255[_0x3202a4(0x246)]});_0x4b96a2[_0x47db71]=this,_0xbffa48(_0x29047f,this,_0x4b96a2);};else{if(_0x2bd889===_0x498cec(0x299))_0x191824=function(){const _0xf1537=_0x498cec,_0x154cb5=new _0xc43c31(_0xf1537(0x299));_0x154cb5[_0x47db71]=this,_0xbffa48(_0x29047f,this,_0x154cb5);};else return;}}}_0x191824[_0x1f4a32]=!!_0x1c0bdd[_0x1f4a32],_0x191824[_0xb74b92]=_0x29047f,_0x1c0bdd[_0x498cec(0x2ca)]?this[_0x498cec(0x2ca)](_0x2bd889,_0x191824):this['on'](_0x2bd889,_0x191824);},'removeEventListener'(_0x62df8d,_0x4ee423){const _0x144927=_0x43351b;for(const _0x534924 of this[_0x144927(0x332)](_0x62df8d))if(_0x534924[_0xb74b92]===_0x4ee423&&!_0x534924[_0x1f4a32]){this[_0x144927(0x27d)](_0x62df8d,_0x534924);break;}}},'MessageEvent':_0x4426f3};function _0xbffa48(_0x275942,_0x14b6ad,_0x5e0cc7){const _0x2e42e4=_0x43351b;typeof _0x275942==_0x2e42e4(0x2eb)&&_0x275942[_0x2e42e4(0x2a1)]?_0x275942[_0x2e42e4(0x2a1)][_0x2e42e4(0x1e9)](_0x275942,_0x5e0cc7):_0x275942['call'](_0x14b6ad,_0x5e0cc7);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x45eb3d}=ne();function _0x278b51(_0x17c501,_0x11cb58,_0x216c95){const _0x3b262d=_0x4be4;_0x17c501[_0x11cb58]===void 0x0?_0x17c501[_0x11cb58]=[_0x216c95]:_0x17c501[_0x11cb58][_0x3b262d(0x323)](_0x216c95);}function _0x11631c(_0x5cb3cb){const _0xe8f3f0=_0x4be4,_0x1af979=Object['create'](null);let _0x4b5631=Object['create'](null),_0x4fce69=!0x1,_0xdc3ac4=!0x1,_0x258bd6=!0x1,_0x47f735,_0x4ef624,_0x22635a=-0x1,_0x2f3fcd=-0x1,_0x27f8fc=-0x1,_0x2f18d7=0x0;for(;_0x2f18d7<_0x5cb3cb[_0xe8f3f0(0x33c)];_0x2f18d7++)if(_0x2f3fcd=_0x5cb3cb[_0xe8f3f0(0x253)](_0x2f18d7),_0x47f735===void 0x0){if(_0x27f8fc===-0x1&&_0x45eb3d[_0x2f3fcd]===0x1)_0x22635a===-0x1&&(_0x22635a=_0x2f18d7);else{if(_0x2f18d7!==0x0&&(_0x2f3fcd===0x20||_0x2f3fcd===0x9))_0x27f8fc===-0x1&&_0x22635a!==-0x1&&(_0x27f8fc=_0x2f18d7);else{if(_0x2f3fcd===0x3b||_0x2f3fcd===0x2c){if(_0x22635a===-0x1)throw new SyntaxError(_0xe8f3f0(0x248)+_0x2f18d7);_0x27f8fc===-0x1&&(_0x27f8fc=_0x2f18d7);const _0x1f882d=_0x5cb3cb[_0xe8f3f0(0x224)](_0x22635a,_0x27f8fc);_0x2f3fcd===0x2c?(_0x278b51(_0x1af979,_0x1f882d,_0x4b5631),_0x4b5631=Object['create'](null)):_0x47f735=_0x1f882d,_0x22635a=_0x27f8fc=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x2f18d7);}}}else{if(_0x4ef624===void 0x0){if(_0x27f8fc===-0x1&&_0x45eb3d[_0x2f3fcd]===0x1)_0x22635a===-0x1&&(_0x22635a=_0x2f18d7);else{if(_0x2f3fcd===0x20||_0x2f3fcd===0x9)_0x27f8fc===-0x1&&_0x22635a!==-0x1&&(_0x27f8fc=_0x2f18d7);else{if(_0x2f3fcd===0x3b||_0x2f3fcd===0x2c){if(_0x22635a===-0x1)throw new SyntaxError(_0xe8f3f0(0x248)+_0x2f18d7);_0x27f8fc===-0x1&&(_0x27f8fc=_0x2f18d7),_0x278b51(_0x4b5631,_0x5cb3cb[_0xe8f3f0(0x224)](_0x22635a,_0x27f8fc),!0x0),_0x2f3fcd===0x2c&&(_0x278b51(_0x1af979,_0x47f735,_0x4b5631),_0x4b5631=Object['create'](null),_0x47f735=void 0x0),_0x22635a=_0x27f8fc=-0x1;}else{if(_0x2f3fcd===0x3d&&_0x22635a!==-0x1&&_0x27f8fc===-0x1)_0x4ef624=_0x5cb3cb['slice'](_0x22635a,_0x2f18d7),_0x22635a=_0x27f8fc=-0x1;else throw new SyntaxError(_0xe8f3f0(0x248)+_0x2f18d7);}}}}else{if(_0xdc3ac4){if(_0x45eb3d[_0x2f3fcd]!==0x1)throw new SyntaxError(_0xe8f3f0(0x248)+_0x2f18d7);_0x22635a===-0x1?_0x22635a=_0x2f18d7:_0x4fce69||(_0x4fce69=!0x0),_0xdc3ac4=!0x1;}else{if(_0x258bd6){if(_0x45eb3d[_0x2f3fcd]===0x1)_0x22635a===-0x1&&(_0x22635a=_0x2f18d7);else{if(_0x2f3fcd===0x22&&_0x22635a!==-0x1)_0x258bd6=!0x1,_0x27f8fc=_0x2f18d7;else{if(_0x2f3fcd===0x5c)_0xdc3ac4=!0x0;else throw new SyntaxError(_0xe8f3f0(0x248)+_0x2f18d7);}}}else{if(_0x2f3fcd===0x22&&_0x5cb3cb[_0xe8f3f0(0x253)](_0x2f18d7-0x1)===0x3d)_0x258bd6=!0x0;else{if(_0x27f8fc===-0x1&&_0x45eb3d[_0x2f3fcd]===0x1)_0x22635a===-0x1&&(_0x22635a=_0x2f18d7);else{if(_0x22635a!==-0x1&&(_0x2f3fcd===0x20||_0x2f3fcd===0x9))_0x27f8fc===-0x1&&(_0x27f8fc=_0x2f18d7);else{if(_0x2f3fcd===0x3b||_0x2f3fcd===0x2c){if(_0x22635a===-0x1)throw new SyntaxError(_0xe8f3f0(0x248)+_0x2f18d7);_0x27f8fc===-0x1&&(_0x27f8fc=_0x2f18d7);let _0x46eff5=_0x5cb3cb[_0xe8f3f0(0x224)](_0x22635a,_0x27f8fc);_0x4fce69&&(_0x46eff5=_0x46eff5[_0xe8f3f0(0x2cc)](/\\/g,''),_0x4fce69=!0x1),_0x278b51(_0x4b5631,_0x4ef624,_0x46eff5),_0x2f3fcd===0x2c&&(_0x278b51(_0x1af979,_0x47f735,_0x4b5631),_0x4b5631=Object[_0xe8f3f0(0x1f9)](null),_0x47f735=void 0x0),_0x4ef624=void 0x0,_0x22635a=_0x27f8fc=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x2f18d7);}}}}}}}if(_0x22635a===-0x1||_0x258bd6||_0x2f3fcd===0x20||_0x2f3fcd===0x9)throw new SyntaxError('Unexpected\x20end\x20of\x20input');_0x27f8fc===-0x1&&(_0x27f8fc=_0x2f18d7);const _0xd58e31=_0x5cb3cb[_0xe8f3f0(0x224)](_0x22635a,_0x27f8fc);return _0x47f735===void 0x0?_0x278b51(_0x1af979,_0xd58e31,_0x4b5631):(_0x4ef624===void 0x0?_0x278b51(_0x4b5631,_0xd58e31,!0x0):_0x4fce69?_0x278b51(_0x4b5631,_0x4ef624,_0xd58e31[_0xe8f3f0(0x2cc)](/\\/g,'')):_0x278b51(_0x4b5631,_0x4ef624,_0xd58e31),_0x278b51(_0x1af979,_0x47f735,_0x4b5631)),_0x1af979;}function _0x4df872(_0x1da92d){const _0x2648b5=_0x4be4;return Object[_0x2648b5(0x2f2)](_0x1da92d)[_0x2648b5(0x1d0)](_0x405711=>{const _0x577dee=_0x2648b5;let _0x46760d=_0x1da92d[_0x405711];return Array[_0x577dee(0x24f)](_0x46760d)||(_0x46760d=[_0x46760d]),_0x46760d[_0x577dee(0x1d0)](_0x1b443d=>[_0x405711]['concat'](Object[_0x577dee(0x2f2)](_0x1b443d)[_0x577dee(0x1d0)](_0x1c1c20=>{const _0x39826e=_0x577dee;let _0x233e83=_0x1b443d[_0x1c1c20];return Array[_0x39826e(0x24f)](_0x233e83)||(_0x233e83=[_0x233e83]),_0x233e83[_0x39826e(0x1d0)](_0x5917b8=>_0x5917b8===!0x0?_0x1c1c20:_0x1c1c20+'='+_0x5917b8)[_0x39826e(0x220)](';\x20');}))[_0x577dee(0x220)](';\x20'))[_0x577dee(0x220)](',\x20');})[_0x2648b5(0x220)](',\x20');}return be={'format':_0x4df872,'parse':_0x11631c},be;}var we,st;function Ie(){const _0x5b1970=_0x3b5f97;if(st)return we;st=0x1;const _0x10be7e=_0x52e269,_0x3aca18=_0x3b45ab,_0x53aeba=_0x233e89,_0x56d80d=_0x593034,_0x5ae0e5=_0x16503c,{randomBytes:_0x147359,createHash:_0x310d0b}=_0x303e8a,{Duplex:_0x2c0a49,Readable:_0x52cfb0}=_0x3500b5,{URL:_0x27f5a5}=_0x2bcd8c,_0x209973=he(),_0x7560ed=dt(),_0x2541ef=_t(),{isBlob:_0x24a8d4}=ne(),{BINARY_TYPES:_0x485af8,EMPTY_BUFFER:_0x5bf430,GUID:_0x500ca0,kForOnEventAttribute:_0x299bbf,kListener:_0x132551,kStatusCode:_0x5c84a1,kWebSocket:_0x4fe071,NOOP:_0x368222}=V(),{EventTarget:{addEventListener:_0x5317bb,removeEventListener:_0x33bd4f}}=Kt(),{format:_0x3a3833,parse:_0x1c8153}=pt(),{toBuffer:_0x23dce7}=ce(),_0x5ea27a=0x1e*0x3e8,_0x493e68=Symbol(_0x5b1970(0x2d5)),_0x2ee38e=[0x8,0xd],_0x3a657e=[_0x5b1970(0x30b),_0x5b1970(0x21e),_0x5b1970(0x32d),'CLOSED'],_0x230a3e=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x55db8e extends _0x10be7e{constructor(_0x1afd6d,_0x173e15,_0x5d07af){const _0x530894=_0x5b1970;super(),this[_0x530894(0x28b)]=_0x485af8[0x0],this[_0x530894(0x219)]=0x3ee,this[_0x530894(0x21f)]=!0x1,this[_0x530894(0x2fa)]=!0x1,this[_0x530894(0x1bb)]=_0x5bf430,this[_0x530894(0x19a)]=null,this['_errorEmitted']=!0x1,this[_0x530894(0x19b)]={},this[_0x530894(0x210)]=!0x1,this[_0x530894(0x2ad)]='',this[_0x530894(0x2ea)]=_0x55db8e[_0x530894(0x30b)],this['_receiver']=null,this[_0x530894(0x31f)]=null,this[_0x530894(0x230)]=null,_0x1afd6d!==null?(this[_0x530894(0x31d)]=0x0,this[_0x530894(0x2e3)]=!0x1,this['_redirects']=0x0,_0x173e15===void 0x0?_0x173e15=[]:Array[_0x530894(0x24f)](_0x173e15)||(typeof _0x173e15==_0x530894(0x2eb)&&_0x173e15!==null?(_0x5d07af=_0x173e15,_0x173e15=[]):_0x173e15=[_0x173e15]),_0x39cbef(this,_0x1afd6d,_0x173e15,_0x5d07af)):(this[_0x530894(0x2dd)]=_0x5d07af[_0x530894(0x204)],this[_0x530894(0x2e3)]=!0x0);}get[_0x5b1970(0x1b6)](){const _0x50698e=_0x5b1970;return this[_0x50698e(0x28b)];}set['binaryType'](_0x40e1d2){const _0xf2b9b=_0x5b1970;_0x485af8[_0xf2b9b(0x263)](_0x40e1d2)&&(this[_0xf2b9b(0x28b)]=_0x40e1d2,this[_0xf2b9b(0x317)]&&(this[_0xf2b9b(0x317)][_0xf2b9b(0x28b)]=_0x40e1d2));}get['bufferedAmount'](){const _0x46d013=_0x5b1970;return this[_0x46d013(0x230)]?this[_0x46d013(0x230)]['_writableState'][_0x46d013(0x33c)]+this[_0x46d013(0x31f)][_0x46d013(0x335)]:this[_0x46d013(0x31d)];}get[_0x5b1970(0x265)](){const _0x56fb31=_0x5b1970;return Object[_0x56fb31(0x2f2)](this['_extensions'])[_0x56fb31(0x220)]();}get[_0x5b1970(0x19c)](){const _0x380661=_0x5b1970;return this[_0x380661(0x210)];}get[_0x5b1970(0x2b2)](){return null;}get['onerror'](){return null;}get[_0x5b1970(0x1c0)](){return null;}get['onmessage'](){return null;}get[_0x5b1970(0x25f)](){const _0x20396f=_0x5b1970;return this[_0x20396f(0x2ad)];}get['readyState'](){const _0x405487=_0x5b1970;return this[_0x405487(0x2ea)];}get[_0x5b1970(0x243)](){const _0x362438=_0x5b1970;return this[_0x362438(0x33e)];}[_0x5b1970(0x24e)](_0x3c64fa,_0x89f693,_0x50736e){const _0x333e5a=_0x5b1970,_0x3c5454=new _0x7560ed({'allowSynchronousEvents':_0x50736e[_0x333e5a(0x1a1)],'binaryType':this['binaryType'],'extensions':this[_0x333e5a(0x19b)],'isServer':this[_0x333e5a(0x2e3)],'maxPayload':_0x50736e[_0x333e5a(0x2b3)],'skipUTF8Validation':_0x50736e['skipUTF8Validation']}),_0x1b99b7=new _0x2541ef(_0x3c64fa,this[_0x333e5a(0x19b)],_0x50736e[_0x333e5a(0x1fd)]);this[_0x333e5a(0x317)]=_0x3c5454,this[_0x333e5a(0x31f)]=_0x1b99b7,this['_socket']=_0x3c64fa,_0x3c5454[_0x4fe071]=this,_0x1b99b7[_0x4fe071]=this,_0x3c64fa[_0x4fe071]=this,_0x3c5454['on'](_0x333e5a(0x20a),_0x404141),_0x3c5454['on']('drain',_0x2b43fc),_0x3c5454['on']('error',_0xf44d74),_0x3c5454['on'](_0x333e5a(0x246),_0x5aea13),_0x3c5454['on'](_0x333e5a(0x2b1),_0x392978),_0x3c5454['on'](_0x333e5a(0x2a3),_0x4e05ba),_0x1b99b7['onerror']=_0x57a0e4,_0x3c64fa[_0x333e5a(0x289)]&&_0x3c64fa[_0x333e5a(0x289)](0x0),_0x3c64fa['setNoDelay']&&_0x3c64fa[_0x333e5a(0x2d9)](),_0x89f693[_0x333e5a(0x33c)]>0x0&&_0x3c64fa[_0x333e5a(0x30c)](_0x89f693),_0x3c64fa['on'](_0x333e5a(0x31e),_0x2b44f6),_0x3c64fa['on'](_0x333e5a(0x1f0),_0x5f45ab),_0x3c64fa['on'](_0x333e5a(0x236),_0x3b8501),_0x3c64fa['on'](_0x333e5a(0x2c1),_0x4de912),this[_0x333e5a(0x2ea)]=_0x55db8e[_0x333e5a(0x21e)],this[_0x333e5a(0x2c7)](_0x333e5a(0x299));}[_0x5b1970(0x1cf)](){const _0x33be9e=_0x5b1970;if(!this[_0x33be9e(0x230)]){this[_0x33be9e(0x2ea)]=_0x55db8e[_0x33be9e(0x2b4)],this[_0x33be9e(0x2c7)](_0x33be9e(0x31e),this[_0x33be9e(0x219)],this[_0x33be9e(0x1bb)]);return;}this[_0x33be9e(0x19b)][_0x209973['extensionName']]&&this[_0x33be9e(0x19b)][_0x209973[_0x33be9e(0x1dd)]][_0x33be9e(0x297)](),this[_0x33be9e(0x317)][_0x33be9e(0x20f)](),this[_0x33be9e(0x2ea)]=_0x55db8e['CLOSED'],this[_0x33be9e(0x2c7)](_0x33be9e(0x31e),this[_0x33be9e(0x219)],this['_closeMessage']);}[_0x5b1970(0x31e)](_0x202ae1,_0xf334b6){const _0x62fb6d=_0x5b1970;if(this[_0x62fb6d(0x233)]!==_0x55db8e['CLOSED']){if(this[_0x62fb6d(0x233)]===_0x55db8e[_0x62fb6d(0x30b)]){_0x5ed4ee(this,this['_req'],_0x62fb6d(0x252));return;}if(this[_0x62fb6d(0x233)]===_0x55db8e[_0x62fb6d(0x32d)]){this[_0x62fb6d(0x2fa)]&&(this[_0x62fb6d(0x21f)]||this[_0x62fb6d(0x317)][_0x62fb6d(0x202)][_0x62fb6d(0x261)])&&this['_socket'][_0x62fb6d(0x236)]();return;}this[_0x62fb6d(0x2ea)]=_0x55db8e[_0x62fb6d(0x32d)],this['_sender'][_0x62fb6d(0x31e)](_0x202ae1,_0xf334b6,!this['_isServer'],_0x309a21=>{const _0x58d51a=_0x62fb6d;_0x309a21||(this[_0x58d51a(0x2fa)]=!0x0,(this[_0x58d51a(0x21f)]||this[_0x58d51a(0x317)][_0x58d51a(0x202)][_0x58d51a(0x261)])&&this[_0x58d51a(0x230)][_0x58d51a(0x236)]());}),_0x295f96(this);}}[_0x5b1970(0x2bb)](){const _0x5c6b4b=_0x5b1970;this[_0x5c6b4b(0x233)]===_0x55db8e[_0x5c6b4b(0x30b)]||this[_0x5c6b4b(0x233)]===_0x55db8e[_0x5c6b4b(0x2b4)]||(this[_0x5c6b4b(0x210)]=!0x0,this['_socket'][_0x5c6b4b(0x2bb)]());}[_0x5b1970(0x2b1)](_0x4e86a0,_0x1a2833,_0x36b610){const _0xe9ebc9=_0x5b1970;if(this[_0xe9ebc9(0x233)]===_0x55db8e[_0xe9ebc9(0x30b)])throw new Error(_0xe9ebc9(0x271));if(typeof _0x4e86a0==_0xe9ebc9(0x1c3)?(_0x36b610=_0x4e86a0,_0x4e86a0=_0x1a2833=void 0x0):typeof _0x1a2833==_0xe9ebc9(0x1c3)&&(_0x36b610=_0x1a2833,_0x1a2833=void 0x0),typeof _0x4e86a0==_0xe9ebc9(0x276)&&(_0x4e86a0=_0x4e86a0['toString']()),this[_0xe9ebc9(0x233)]!==_0x55db8e[_0xe9ebc9(0x21e)]){_0xc0983b(this,_0x4e86a0,_0x36b610);return;}_0x1a2833===void 0x0&&(_0x1a2833=!this['_isServer']),this[_0xe9ebc9(0x31f)][_0xe9ebc9(0x2b1)](_0x4e86a0||_0x5bf430,_0x1a2833,_0x36b610);}[_0x5b1970(0x2a3)](_0x2c2c23,_0x7ff1f0,_0x22cd60){const _0xf32a73=_0x5b1970;if(this[_0xf32a73(0x233)]===_0x55db8e[_0xf32a73(0x30b)])throw new Error(_0xf32a73(0x271));if(typeof _0x2c2c23==_0xf32a73(0x1c3)?(_0x22cd60=_0x2c2c23,_0x2c2c23=_0x7ff1f0=void 0x0):typeof _0x7ff1f0==_0xf32a73(0x1c3)&&(_0x22cd60=_0x7ff1f0,_0x7ff1f0=void 0x0),typeof _0x2c2c23==_0xf32a73(0x276)&&(_0x2c2c23=_0x2c2c23[_0xf32a73(0x2a2)]()),this['readyState']!==_0x55db8e[_0xf32a73(0x21e)]){_0xc0983b(this,_0x2c2c23,_0x22cd60);return;}_0x7ff1f0===void 0x0&&(_0x7ff1f0=!this[_0xf32a73(0x2e3)]),this[_0xf32a73(0x31f)][_0xf32a73(0x2a3)](_0x2c2c23||_0x5bf430,_0x7ff1f0,_0x22cd60);}[_0x5b1970(0x2f1)](){const _0x180766=_0x5b1970;this[_0x180766(0x233)]===_0x55db8e['CONNECTING']||this['readyState']===_0x55db8e[_0x180766(0x2b4)]||(this[_0x180766(0x210)]=!0x1,this[_0x180766(0x317)][_0x180766(0x202)][_0x180766(0x21a)]||this[_0x180766(0x230)][_0x180766(0x2f1)]());}[_0x5b1970(0x21b)](_0x7b5e7c,_0x8c4237,_0x219ea0){const _0x466b38=_0x5b1970;if(this[_0x466b38(0x233)]===_0x55db8e['CONNECTING'])throw new Error(_0x466b38(0x271));if(typeof _0x8c4237=='function'&&(_0x219ea0=_0x8c4237,_0x8c4237={}),typeof _0x7b5e7c==_0x466b38(0x276)&&(_0x7b5e7c=_0x7b5e7c[_0x466b38(0x2a2)]()),this[_0x466b38(0x233)]!==_0x55db8e['OPEN']){_0xc0983b(this,_0x7b5e7c,_0x219ea0);return;}const _0x121181={'binary':typeof _0x7b5e7c!=_0x466b38(0x264),'mask':!this['_isServer'],'compress':!0x0,'fin':!0x0,..._0x8c4237};this['_extensions'][_0x209973[_0x466b38(0x1dd)]]||(_0x121181[_0x466b38(0x301)]=!0x1),this[_0x466b38(0x31f)]['send'](_0x7b5e7c||_0x5bf430,_0x121181,_0x219ea0);}['terminate'](){const _0xfc8dd2=_0x5b1970;if(this[_0xfc8dd2(0x233)]!==_0x55db8e['CLOSED']){if(this[_0xfc8dd2(0x233)]===_0x55db8e[_0xfc8dd2(0x30b)]){_0x5ed4ee(this,this[_0xfc8dd2(0x211)],_0xfc8dd2(0x252));return;}this[_0xfc8dd2(0x230)]&&(this[_0xfc8dd2(0x2ea)]=_0x55db8e[_0xfc8dd2(0x32d)],this['_socket'][_0xfc8dd2(0x1c2)]());}}}Object[_0x5b1970(0x311)](_0x55db8e,_0x5b1970(0x30b),{'enumerable':!0x0,'value':_0x3a657e[_0x5b1970(0x1ee)](_0x5b1970(0x30b))}),Object[_0x5b1970(0x311)](_0x55db8e[_0x5b1970(0x2dc)],'CONNECTING',{'enumerable':!0x0,'value':_0x3a657e[_0x5b1970(0x1ee)](_0x5b1970(0x30b))}),Object['defineProperty'](_0x55db8e,_0x5b1970(0x21e),{'enumerable':!0x0,'value':_0x3a657e['indexOf'](_0x5b1970(0x21e))}),Object[_0x5b1970(0x311)](_0x55db8e[_0x5b1970(0x2dc)],_0x5b1970(0x21e),{'enumerable':!0x0,'value':_0x3a657e[_0x5b1970(0x1ee)](_0x5b1970(0x21e))}),Object[_0x5b1970(0x311)](_0x55db8e,_0x5b1970(0x32d),{'enumerable':!0x0,'value':_0x3a657e[_0x5b1970(0x1ee)](_0x5b1970(0x32d))}),Object['defineProperty'](_0x55db8e[_0x5b1970(0x2dc)],_0x5b1970(0x32d),{'enumerable':!0x0,'value':_0x3a657e[_0x5b1970(0x1ee)]('CLOSING')}),Object[_0x5b1970(0x311)](_0x55db8e,_0x5b1970(0x2b4),{'enumerable':!0x0,'value':_0x3a657e[_0x5b1970(0x1ee)](_0x5b1970(0x2b4))}),Object[_0x5b1970(0x311)](_0x55db8e[_0x5b1970(0x2dc)],_0x5b1970(0x2b4),{'enumerable':!0x0,'value':_0x3a657e[_0x5b1970(0x1ee)](_0x5b1970(0x2b4))}),[_0x5b1970(0x1b6),_0x5b1970(0x1f7),'extensions',_0x5b1970(0x19c),_0x5b1970(0x25f),_0x5b1970(0x233),_0x5b1970(0x243)]['forEach'](_0x31e96a=>{const _0x37ba91=_0x5b1970;Object[_0x37ba91(0x311)](_0x55db8e[_0x37ba91(0x2dc)],_0x31e96a,{'enumerable':!0x0});}),['open',_0x5b1970(0x2c1),_0x5b1970(0x31e),_0x5b1970(0x246)][_0x5b1970(0x295)](_0x335175=>{const _0x10d2c0=_0x5b1970;Object[_0x10d2c0(0x311)](_0x55db8e[_0x10d2c0(0x2dc)],'on'+_0x335175,{'enumerable':!0x0,'get'(){const _0x241290=_0x10d2c0;for(const _0x104bb9 of this[_0x241290(0x332)](_0x335175))if(_0x104bb9[_0x299bbf])return _0x104bb9[_0x132551];return null;},'set'(_0x5b7d8e){const _0x35b303=_0x10d2c0;for(const _0x29e8d8 of this[_0x35b303(0x332)](_0x335175))if(_0x29e8d8[_0x299bbf]){this['removeListener'](_0x335175,_0x29e8d8);break;}typeof _0x5b7d8e==_0x35b303(0x1c3)&&this[_0x35b303(0x227)](_0x335175,_0x5b7d8e,{[_0x299bbf]:!0x0});}});}),_0x55db8e[_0x5b1970(0x2dc)]['addEventListener']=_0x5317bb,_0x55db8e['prototype'][_0x5b1970(0x341)]=_0x33bd4f,we=_0x55db8e;function _0x39cbef(_0x1d872c,_0x553e4e,_0x24f8a2,_0x1f3f13){const _0x27b7d2=_0x5b1970,_0x58cd07={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x2ee38e[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x1f3f13,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x1d872c['_autoPong']=_0x58cd07[_0x27b7d2(0x204)],!_0x2ee38e[_0x27b7d2(0x263)](_0x58cd07['protocolVersion']))throw new RangeError(_0x27b7d2(0x2f6)+_0x58cd07[_0x27b7d2(0x344)]+_0x27b7d2(0x268)+_0x2ee38e[_0x27b7d2(0x220)](',\x20')+')');let _0x1f27b6;if(_0x553e4e instanceof _0x27f5a5)_0x1f27b6=_0x553e4e;else try{_0x1f27b6=new _0x27f5a5(_0x553e4e);}catch{throw new SyntaxError(_0x27b7d2(0x1b1)+_0x553e4e);}_0x1f27b6[_0x27b7d2(0x25f)]===_0x27b7d2(0x20b)?_0x1f27b6[_0x27b7d2(0x25f)]=_0x27b7d2(0x2a8):_0x1f27b6[_0x27b7d2(0x25f)]===_0x27b7d2(0x198)&&(_0x1f27b6[_0x27b7d2(0x25f)]=_0x27b7d2(0x1ed)),_0x1d872c['_url']=_0x1f27b6[_0x27b7d2(0x2bd)];const _0x10bbe6=_0x1f27b6[_0x27b7d2(0x25f)]===_0x27b7d2(0x1ed),_0x33e800=_0x1f27b6[_0x27b7d2(0x25f)]===_0x27b7d2(0x298);let _0x839064;if(_0x1f27b6[_0x27b7d2(0x25f)]!==_0x27b7d2(0x2a8)&&!_0x10bbe6&&!_0x33e800?_0x839064=_0x27b7d2(0x19d):_0x33e800&&!_0x1f27b6['pathname']?_0x839064=_0x27b7d2(0x245):_0x1f27b6[_0x27b7d2(0x33b)]&&(_0x839064=_0x27b7d2(0x1df)),_0x839064){const _0x279bcc=new SyntaxError(_0x839064);if(_0x1d872c[_0x27b7d2(0x234)]===0x0)throw _0x279bcc;_0x65b96e(_0x1d872c,_0x279bcc);return;}const _0xe9d039=_0x10bbe6?0x1bb:0x50,_0x260775=_0x147359(0x10)['toString'](_0x27b7d2(0x20e)),_0x4a3e63=_0x10bbe6?_0x3aca18[_0x27b7d2(0x279)]:_0x53aeba[_0x27b7d2(0x279)],_0xc14fcb=new Set();let _0x290283;if(_0x58cd07['createConnection']=_0x58cd07[_0x27b7d2(0x32e)]||(_0x10bbe6?_0x49f23f:_0x245ec8),_0x58cd07[_0x27b7d2(0x321)]=_0x58cd07[_0x27b7d2(0x321)]||_0xe9d039,_0x58cd07[_0x27b7d2(0x29c)]=_0x1f27b6['port']||_0xe9d039,_0x58cd07[_0x27b7d2(0x207)]=_0x1f27b6['hostname']['startsWith']('[')?_0x1f27b6['hostname'][_0x27b7d2(0x224)](0x1,-0x1):_0x1f27b6['hostname'],_0x58cd07['headers']={..._0x58cd07[_0x27b7d2(0x251)],'Sec-WebSocket-Version':_0x58cd07[_0x27b7d2(0x344)],'Sec-WebSocket-Key':_0x260775,'Connection':_0x27b7d2(0x28a),'Upgrade':_0x27b7d2(0x206)},_0x58cd07[_0x27b7d2(0x269)]=_0x1f27b6[_0x27b7d2(0x1f5)]+_0x1f27b6[_0x27b7d2(0x2c6)],_0x58cd07['timeout']=_0x58cd07[_0x27b7d2(0x1ce)],_0x58cd07[_0x27b7d2(0x2a9)]&&(_0x290283=new _0x209973(_0x58cd07[_0x27b7d2(0x2a9)]!==!0x0?_0x58cd07[_0x27b7d2(0x2a9)]:{},!0x1,_0x58cd07[_0x27b7d2(0x2b3)]),_0x58cd07[_0x27b7d2(0x251)][_0x27b7d2(0x280)]=_0x3a3833({[_0x209973[_0x27b7d2(0x1dd)]]:_0x290283[_0x27b7d2(0x339)]()})),_0x24f8a2[_0x27b7d2(0x33c)]){for(const _0x27096f of _0x24f8a2){if(typeof _0x27096f!=_0x27b7d2(0x264)||!_0x230a3e[_0x27b7d2(0x2a0)](_0x27096f)||_0xc14fcb[_0x27b7d2(0x319)](_0x27096f))throw new SyntaxError(_0x27b7d2(0x223));_0xc14fcb[_0x27b7d2(0x247)](_0x27096f);}_0x58cd07[_0x27b7d2(0x251)][_0x27b7d2(0x2e8)]=_0x24f8a2[_0x27b7d2(0x220)](',');}if(_0x58cd07['origin']&&(_0x58cd07[_0x27b7d2(0x344)]<0xd?_0x58cd07['headers'][_0x27b7d2(0x34b)]=_0x58cd07[_0x27b7d2(0x22d)]:_0x58cd07[_0x27b7d2(0x251)]['Origin']=_0x58cd07[_0x27b7d2(0x22d)]),(_0x1f27b6[_0x27b7d2(0x228)]||_0x1f27b6[_0x27b7d2(0x1a2)])&&(_0x58cd07[_0x27b7d2(0x213)]=_0x1f27b6[_0x27b7d2(0x228)]+':'+_0x1f27b6[_0x27b7d2(0x1a2)]),_0x33e800){const _0x3dfcf5=_0x58cd07[_0x27b7d2(0x269)][_0x27b7d2(0x1aa)](':');_0x58cd07['socketPath']=_0x3dfcf5[0x0],_0x58cd07['path']=_0x3dfcf5[0x1];}let _0x476465;if(_0x58cd07[_0x27b7d2(0x1de)]){if(_0x1d872c['_redirects']===0x0){_0x1d872c['_originalIpc']=_0x33e800,_0x1d872c[_0x27b7d2(0x29b)]=_0x10bbe6,_0x1d872c[_0x27b7d2(0x278)]=_0x33e800?_0x58cd07[_0x27b7d2(0x1b2)]:_0x1f27b6[_0x27b7d2(0x207)];const _0x8a7e7d=_0x1f3f13&&_0x1f3f13[_0x27b7d2(0x251)];if(_0x1f3f13={..._0x1f3f13,'headers':{}},_0x8a7e7d){for(const [_0xf639ac,_0x1d3442]of Object[_0x27b7d2(0x26a)](_0x8a7e7d))_0x1f3f13[_0x27b7d2(0x251)][_0xf639ac['toLowerCase']()]=_0x1d3442;}}else{if(_0x1d872c[_0x27b7d2(0x1d6)](_0x27b7d2(0x1cd))===0x0){const _0x4770da=_0x33e800?_0x1d872c[_0x27b7d2(0x272)]?_0x58cd07[_0x27b7d2(0x1b2)]===_0x1d872c[_0x27b7d2(0x278)]:!0x1:_0x1d872c[_0x27b7d2(0x272)]?!0x1:_0x1f27b6[_0x27b7d2(0x207)]===_0x1d872c[_0x27b7d2(0x278)];(!_0x4770da||_0x1d872c['_originalSecure']&&!_0x10bbe6)&&(delete _0x58cd07[_0x27b7d2(0x251)][_0x27b7d2(0x34c)],delete _0x58cd07[_0x27b7d2(0x251)][_0x27b7d2(0x262)],_0x4770da||delete _0x58cd07[_0x27b7d2(0x251)][_0x27b7d2(0x207)],_0x58cd07['auth']=void 0x0);}}_0x58cd07[_0x27b7d2(0x213)]&&!_0x1f3f13[_0x27b7d2(0x251)]['authorization']&&(_0x1f3f13['headers'][_0x27b7d2(0x34c)]=_0x27b7d2(0x244)+Buffer[_0x27b7d2(0x1c9)](_0x58cd07[_0x27b7d2(0x213)])[_0x27b7d2(0x2a2)](_0x27b7d2(0x20e))),_0x476465=_0x1d872c[_0x27b7d2(0x211)]=_0x4a3e63(_0x58cd07),_0x1d872c[_0x27b7d2(0x234)]&&_0x1d872c[_0x27b7d2(0x2c7)](_0x27b7d2(0x1cd),_0x1d872c['url'],_0x476465);}else _0x476465=_0x1d872c[_0x27b7d2(0x211)]=_0x4a3e63(_0x58cd07);_0x58cd07[_0x27b7d2(0x201)]&&_0x476465['on']('timeout',()=>{_0x5ed4ee(_0x1d872c,_0x476465,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x476465['on'](_0x27b7d2(0x2c1),_0x2d65c6=>{_0x476465===null||_0x476465[_0x493e68]||(_0x476465=_0x1d872c['_req']=null,_0x65b96e(_0x1d872c,_0x2d65c6));}),_0x476465['on'](_0x27b7d2(0x2cd),_0x3bd072=>{const _0x111510=_0x27b7d2,_0x4e7b45=_0x3bd072['headers'][_0x111510(0x1cc)],_0x2058f5=_0x3bd072[_0x111510(0x282)];if(_0x4e7b45&&_0x58cd07[_0x111510(0x1de)]&&_0x2058f5>=0x12c&&_0x2058f5<0x190){if(++_0x1d872c[_0x111510(0x234)]>_0x58cd07[_0x111510(0x300)]){_0x5ed4ee(_0x1d872c,_0x476465,_0x111510(0x324));return;}_0x476465[_0x111510(0x294)]();let _0x2b2299;try{_0x2b2299=new _0x27f5a5(_0x4e7b45,_0x553e4e);}catch{const _0x5cf870=new SyntaxError(_0x111510(0x1b1)+_0x4e7b45);_0x65b96e(_0x1d872c,_0x5cf870);return;}_0x39cbef(_0x1d872c,_0x2b2299,_0x24f8a2,_0x1f3f13);}else _0x1d872c[_0x111510(0x2c7)]('unexpected-response',_0x476465,_0x3bd072)||_0x5ed4ee(_0x1d872c,_0x476465,_0x111510(0x2ab)+_0x3bd072['statusCode']);}),_0x476465['on'](_0x27b7d2(0x310),(_0x586a4c,_0x2cf575,_0x2502c6)=>{const _0x3420dd=_0x27b7d2;if(_0x1d872c[_0x3420dd(0x2c7)](_0x3420dd(0x310),_0x586a4c),_0x1d872c[_0x3420dd(0x233)]!==_0x55db8e[_0x3420dd(0x30b)])return;_0x476465=_0x1d872c['_req']=null;const _0x2c4d61=_0x586a4c[_0x3420dd(0x251)][_0x3420dd(0x310)];if(_0x2c4d61===void 0x0||_0x2c4d61[_0x3420dd(0x26f)]()!==_0x3420dd(0x206)){_0x5ed4ee(_0x1d872c,_0x2cf575,_0x3420dd(0x235));return;}const _0x80620f=_0x310d0b('sha1')['update'](_0x260775+_0x500ca0)[_0x3420dd(0x2da)]('base64');if(_0x586a4c[_0x3420dd(0x251)][_0x3420dd(0x218)]!==_0x80620f){_0x5ed4ee(_0x1d872c,_0x2cf575,_0x3420dd(0x315));return;}const _0x501f1e=_0x586a4c[_0x3420dd(0x251)][_0x3420dd(0x2a6)];let _0x1d6b98;if(_0x501f1e!==void 0x0?_0xc14fcb['size']?_0xc14fcb['has'](_0x501f1e)||(_0x1d6b98='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0x1d6b98=_0x3420dd(0x1e1):_0xc14fcb[_0x3420dd(0x21c)]&&(_0x1d6b98=_0x3420dd(0x2d6)),_0x1d6b98){_0x5ed4ee(_0x1d872c,_0x2cf575,_0x1d6b98);return;}_0x501f1e&&(_0x1d872c['_protocol']=_0x501f1e);const _0x5d9ef6=_0x586a4c[_0x3420dd(0x251)][_0x3420dd(0x1d1)];if(_0x5d9ef6!==void 0x0){if(!_0x290283){_0x5ed4ee(_0x1d872c,_0x2cf575,_0x3420dd(0x345));return;}let _0x235484;try{_0x235484=_0x1c8153(_0x5d9ef6);}catch{_0x5ed4ee(_0x1d872c,_0x2cf575,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0x589517=Object[_0x3420dd(0x2f2)](_0x235484);if(_0x589517['length']!==0x1||_0x589517[0x0]!==_0x209973[_0x3420dd(0x1dd)]){_0x5ed4ee(_0x1d872c,_0x2cf575,_0x3420dd(0x209));return;}try{_0x290283['accept'](_0x235484[_0x209973[_0x3420dd(0x1dd)]]);}catch{_0x5ed4ee(_0x1d872c,_0x2cf575,_0x3420dd(0x225));return;}_0x1d872c[_0x3420dd(0x19b)][_0x209973[_0x3420dd(0x1dd)]]=_0x290283;}_0x1d872c['setSocket'](_0x2cf575,_0x2502c6,{'allowSynchronousEvents':_0x58cd07[_0x3420dd(0x1a1)],'generateMask':_0x58cd07['generateMask'],'maxPayload':_0x58cd07[_0x3420dd(0x2b3)],'skipUTF8Validation':_0x58cd07['skipUTF8Validation']});}),_0x58cd07['finishRequest']?_0x58cd07['finishRequest'](_0x476465,_0x1d872c):_0x476465[_0x27b7d2(0x236)]();}function _0x65b96e(_0x31073a,_0x541d05){const _0x10a101=_0x5b1970;_0x31073a[_0x10a101(0x2ea)]=_0x55db8e[_0x10a101(0x32d)],_0x31073a[_0x10a101(0x28f)]=!0x0,_0x31073a[_0x10a101(0x2c7)](_0x10a101(0x2c1),_0x541d05),_0x31073a[_0x10a101(0x1cf)]();}function _0x245ec8(_0x56880d){const _0x23cd90=_0x5b1970;return _0x56880d[_0x23cd90(0x269)]=_0x56880d[_0x23cd90(0x1b2)],_0x56d80d[_0x23cd90(0x1f1)](_0x56880d);}function _0x49f23f(_0x3b7b35){const _0x1124f0=_0x5b1970;return _0x3b7b35[_0x1124f0(0x269)]=void 0x0,!_0x3b7b35['servername']&&_0x3b7b35[_0x1124f0(0x23b)]!==''&&(_0x3b7b35[_0x1124f0(0x23b)]=_0x56d80d[_0x1124f0(0x22a)](_0x3b7b35['host'])?'':_0x3b7b35[_0x1124f0(0x207)]),_0x5ae0e5[_0x1124f0(0x1f1)](_0x3b7b35);}function _0x5ed4ee(_0x3b1781,_0x1ef212,_0x5d10aa){const _0x978236=_0x5b1970;_0x3b1781[_0x978236(0x2ea)]=_0x55db8e['CLOSING'];const _0x2f3902=new Error(_0x5d10aa);Error['captureStackTrace'](_0x2f3902,_0x5ed4ee),_0x1ef212['setHeader']?(_0x1ef212[_0x493e68]=!0x0,_0x1ef212['abort'](),_0x1ef212[_0x978236(0x25a)]&&!_0x1ef212[_0x978236(0x25a)]['destroyed']&&_0x1ef212[_0x978236(0x25a)][_0x978236(0x1c2)](),process[_0x978236(0x214)](_0x65b96e,_0x3b1781,_0x2f3902)):(_0x1ef212[_0x978236(0x1c2)](_0x2f3902),_0x1ef212[_0x978236(0x2ca)](_0x978236(0x2c1),_0x3b1781['emit'][_0x978236(0x27c)](_0x3b1781,_0x978236(0x2c1))),_0x1ef212[_0x978236(0x2ca)](_0x978236(0x31e),_0x3b1781['emitClose']['bind'](_0x3b1781)));}function _0xc0983b(_0x8083d4,_0x2ce8b1,_0x58504b){const _0x3791dd=_0x5b1970;if(_0x2ce8b1){const _0x5702d6=_0x24a8d4(_0x2ce8b1)?_0x2ce8b1[_0x3791dd(0x21c)]:_0x23dce7(_0x2ce8b1)[_0x3791dd(0x33c)];_0x8083d4['_socket']?_0x8083d4['_sender'][_0x3791dd(0x335)]+=_0x5702d6:_0x8083d4[_0x3791dd(0x31d)]+=_0x5702d6;}if(_0x58504b){const _0x16eccb=new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x20'+_0x8083d4[_0x3791dd(0x233)]+'\x20('+_0x3a657e[_0x8083d4[_0x3791dd(0x233)]]+')');process['nextTick'](_0x58504b,_0x16eccb);}}function _0x404141(_0x19d739,_0xf6fdbf){const _0x4c21b6=_0x5b1970,_0x3749b4=this[_0x4fe071];_0x3749b4[_0x4c21b6(0x21f)]=!0x0,_0x3749b4[_0x4c21b6(0x1bb)]=_0xf6fdbf,_0x3749b4[_0x4c21b6(0x219)]=_0x19d739,_0x3749b4[_0x4c21b6(0x230)][_0x4fe071]!==void 0x0&&(_0x3749b4[_0x4c21b6(0x230)][_0x4c21b6(0x27d)]('data',_0x5f45ab),process[_0x4c21b6(0x214)](_0x34171a,_0x3749b4[_0x4c21b6(0x230)]),_0x19d739===0x3ed?_0x3749b4[_0x4c21b6(0x31e)]():_0x3749b4[_0x4c21b6(0x31e)](_0x19d739,_0xf6fdbf));}function _0x2b43fc(){const _0x6c7c4a=_0x5b1970,_0x18a17b=this[_0x4fe071];_0x18a17b[_0x6c7c4a(0x19c)]||_0x18a17b['_socket'][_0x6c7c4a(0x2f1)]();}function _0xf44d74(_0x49b95e){const _0x17de68=_0x5b1970,_0x34e205=this[_0x4fe071];_0x34e205['_socket'][_0x4fe071]!==void 0x0&&(_0x34e205[_0x17de68(0x230)]['removeListener'](_0x17de68(0x1f0),_0x5f45ab),process[_0x17de68(0x214)](_0x34171a,_0x34e205[_0x17de68(0x230)]),_0x34e205[_0x17de68(0x31e)](_0x49b95e[_0x5c84a1])),_0x34e205[_0x17de68(0x28f)]||(_0x34e205[_0x17de68(0x28f)]=!0x0,_0x34e205[_0x17de68(0x2c7)]('error',_0x49b95e));}function _0x3d1684(){const _0x31ec80=_0x5b1970;this[_0x4fe071][_0x31ec80(0x1cf)]();}function _0x5aea13(_0x123191,_0x373ebe){const _0x5d6a6a=_0x5b1970;this[_0x4fe071][_0x5d6a6a(0x2c7)]('message',_0x123191,_0x373ebe);}function _0x392978(_0x29b717){const _0x2f766f=_0x5b1970,_0x5e92b2=this[_0x4fe071];_0x5e92b2[_0x2f766f(0x2dd)]&&_0x5e92b2[_0x2f766f(0x2a3)](_0x29b717,!this['_isServer'],_0x368222),_0x5e92b2[_0x2f766f(0x2c7)]('ping',_0x29b717);}function _0x4e05ba(_0x1afdd7){const _0x2b186e=_0x5b1970;this[_0x4fe071]['emit'](_0x2b186e(0x2a3),_0x1afdd7);}function _0x34171a(_0x41b073){_0x41b073['resume']();}function _0x57a0e4(_0x24f2fa){const _0x28cbde=_0x5b1970,_0x4c13a7=this[_0x4fe071];_0x4c13a7[_0x28cbde(0x233)]!==_0x55db8e[_0x28cbde(0x2b4)]&&(_0x4c13a7[_0x28cbde(0x233)]===_0x55db8e['OPEN']&&(_0x4c13a7['_readyState']=_0x55db8e[_0x28cbde(0x32d)],_0x295f96(_0x4c13a7)),this[_0x28cbde(0x230)][_0x28cbde(0x236)](),_0x4c13a7['_errorEmitted']||(_0x4c13a7['_errorEmitted']=!0x0,_0x4c13a7['emit'](_0x28cbde(0x2c1),_0x24f2fa)));}function _0x295f96(_0x40614f){const _0x519817=_0x5b1970;_0x40614f[_0x519817(0x19a)]=setTimeout(_0x40614f[_0x519817(0x230)][_0x519817(0x1c2)]['bind'](_0x40614f[_0x519817(0x230)]),_0x5ea27a);}function _0x2b44f6(){const _0x5992c7=_0x5b1970,_0x56f694=this[_0x4fe071];this[_0x5992c7(0x27d)](_0x5992c7(0x31e),_0x2b44f6),this[_0x5992c7(0x27d)](_0x5992c7(0x1f0),_0x5f45ab),this[_0x5992c7(0x27d)](_0x5992c7(0x236),_0x3b8501),_0x56f694['_readyState']=_0x55db8e[_0x5992c7(0x32d)];let _0x2eca54;!this[_0x5992c7(0x1f8)][_0x5992c7(0x27b)]&&!_0x56f694[_0x5992c7(0x21f)]&&!_0x56f694[_0x5992c7(0x317)][_0x5992c7(0x202)]['errorEmitted']&&(_0x2eca54=_0x56f694[_0x5992c7(0x230)][_0x5992c7(0x308)]())!==null&&_0x56f694[_0x5992c7(0x317)][_0x5992c7(0x277)](_0x2eca54),_0x56f694['_receiver'][_0x5992c7(0x236)](),this[_0x4fe071]=void 0x0,clearTimeout(_0x56f694[_0x5992c7(0x19a)]),_0x56f694['_receiver'][_0x5992c7(0x202)][_0x5992c7(0x2ec)]||_0x56f694[_0x5992c7(0x317)][_0x5992c7(0x202)][_0x5992c7(0x261)]?_0x56f694['emitClose']():(_0x56f694[_0x5992c7(0x317)]['on'](_0x5992c7(0x2c1),_0x3d1684),_0x56f694[_0x5992c7(0x317)]['on'](_0x5992c7(0x2ef),_0x3d1684));}function _0x5f45ab(_0x59741d){const _0x24e72c=_0x5b1970;this[_0x4fe071][_0x24e72c(0x317)][_0x24e72c(0x277)](_0x59741d)||this[_0x24e72c(0x2bb)]();}function _0x3b8501(){const _0xc43da5=_0x5b1970,_0x19217c=this[_0x4fe071];_0x19217c['_readyState']=_0x55db8e[_0xc43da5(0x32d)],_0x19217c[_0xc43da5(0x317)][_0xc43da5(0x236)](),this['end']();}function _0x4de912(){const _0x472f94=_0x5b1970,_0x41a14d=this[_0x4fe071];this[_0x472f94(0x27d)](_0x472f94(0x2c1),_0x4de912),this['on'](_0x472f94(0x2c1),_0x368222),_0x41a14d&&(_0x41a14d[_0x472f94(0x2ea)]=_0x55db8e[_0x472f94(0x32d)],this['destroy']());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x2dbcc7}=_0x3500b5;function _0x43fde2(_0x1c6af3){const _0x40c636=_0x4be4;_0x1c6af3[_0x40c636(0x2c7)](_0x40c636(0x31e));}function _0x3e012c(){const _0x437391=_0x4be4;!this[_0x437391(0x303)]&&this[_0x437391(0x202)][_0x437391(0x2ec)]&&this['destroy']();}function _0x369b67(_0x4d3def){const _0x1aef63=_0x4be4;this[_0x1aef63(0x27d)]('error',_0x369b67),this[_0x1aef63(0x1c2)](),this[_0x1aef63(0x1d6)](_0x1aef63(0x2c1))===0x0&&this[_0x1aef63(0x2c7)]('error',_0x4d3def);}function _0x4da1c8(_0x24034e,_0x5429a6){const _0x413586=_0x4be4;let _0x2b1e49=!0x0;const _0x156424=new _0x2dbcc7({..._0x5429a6,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x24034e['on'](_0x413586(0x246),function(_0x15a066,_0x501da7){const _0x546acf=_0x413586,_0x55a5f6=!_0x501da7&&_0x156424[_0x546acf(0x1f8)][_0x546acf(0x2e2)]?_0x15a066[_0x546acf(0x2a2)]():_0x15a066;_0x156424[_0x546acf(0x323)](_0x55a5f6)||_0x24034e['pause']();}),_0x24034e[_0x413586(0x2ca)](_0x413586(0x2c1),function(_0x5379a1){const _0x1a3ccb=_0x413586;_0x156424[_0x1a3ccb(0x303)]||(_0x2b1e49=!0x1,_0x156424[_0x1a3ccb(0x1c2)](_0x5379a1));}),_0x24034e[_0x413586(0x2ca)]('close',function(){const _0x28ca18=_0x413586;_0x156424[_0x28ca18(0x303)]||_0x156424[_0x28ca18(0x323)](null);}),_0x156424['_destroy']=function(_0x4c720b,_0x11259c){const _0x33de59=_0x413586;if(_0x24034e['readyState']===_0x24034e['CLOSED']){_0x11259c(_0x4c720b),process[_0x33de59(0x214)](_0x43fde2,_0x156424);return;}let _0x496f80=!0x1;_0x24034e[_0x33de59(0x2ca)](_0x33de59(0x2c1),function(_0x80d3e4){_0x496f80=!0x0,_0x11259c(_0x80d3e4);}),_0x24034e['once'](_0x33de59(0x31e),function(){_0x496f80||_0x11259c(_0x4c720b),process['nextTick'](_0x43fde2,_0x156424);}),_0x2b1e49&&_0x24034e[_0x33de59(0x346)]();},_0x156424[_0x413586(0x239)]=function(_0x1cdbd3){const _0x1a5331=_0x413586;if(_0x24034e[_0x1a5331(0x233)]===_0x24034e[_0x1a5331(0x30b)]){_0x24034e['once']('open',function(){const _0x59f73a=_0x1a5331;_0x156424[_0x59f73a(0x239)](_0x1cdbd3);});return;}_0x24034e[_0x1a5331(0x230)]!==null&&(_0x24034e['_socket'][_0x1a5331(0x202)][_0x1a5331(0x2ec)]?(_0x1cdbd3(),_0x156424[_0x1a5331(0x1f8)][_0x1a5331(0x27b)]&&_0x156424[_0x1a5331(0x1c2)]()):(_0x24034e[_0x1a5331(0x230)][_0x1a5331(0x2ca)](_0x1a5331(0x2ef),function(){_0x1cdbd3();}),_0x24034e['close']()));},_0x156424[_0x413586(0x1ad)]=function(){const _0x16e7aa=_0x413586;_0x24034e[_0x16e7aa(0x19c)]&&_0x24034e[_0x16e7aa(0x2f1)]();},_0x156424[_0x413586(0x2be)]=function(_0x534901,_0x22751b,_0x5565f4){const _0x5d7e76=_0x413586;if(_0x24034e[_0x5d7e76(0x233)]===_0x24034e['CONNECTING']){_0x24034e[_0x5d7e76(0x2ca)](_0x5d7e76(0x299),function(){_0x156424['_write'](_0x534901,_0x22751b,_0x5565f4);});return;}_0x24034e[_0x5d7e76(0x21b)](_0x534901,_0x5565f4);},_0x156424['on'](_0x413586(0x236),_0x3e012c),_0x156424['on'](_0x413586(0x2c1),_0x369b67),_0x156424;}return Oe=_0x4da1c8,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=Wt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x2de91d}=ne();function _0x1e3f7f(_0xc5072c){const _0x3cf1f6=_0x4be4,_0x4b9a78=new Set();let _0x3afdc=-0x1,_0x212889=-0x1,_0x55bf4a=0x0;for(_0x55bf4a;_0x55bf4a<_0xc5072c[_0x3cf1f6(0x33c)];_0x55bf4a++){const _0x3a1c7f=_0xc5072c['charCodeAt'](_0x55bf4a);if(_0x212889===-0x1&&_0x2de91d[_0x3a1c7f]===0x1)_0x3afdc===-0x1&&(_0x3afdc=_0x55bf4a);else{if(_0x55bf4a!==0x0&&(_0x3a1c7f===0x20||_0x3a1c7f===0x9))_0x212889===-0x1&&_0x3afdc!==-0x1&&(_0x212889=_0x55bf4a);else{if(_0x3a1c7f===0x2c){if(_0x3afdc===-0x1)throw new SyntaxError(_0x3cf1f6(0x248)+_0x55bf4a);_0x212889===-0x1&&(_0x212889=_0x55bf4a);const _0x17db82=_0xc5072c[_0x3cf1f6(0x224)](_0x3afdc,_0x212889);if(_0x4b9a78[_0x3cf1f6(0x319)](_0x17db82))throw new SyntaxError(_0x3cf1f6(0x196)+_0x17db82+_0x3cf1f6(0x2bc));_0x4b9a78['add'](_0x17db82),_0x3afdc=_0x212889=-0x1;}else throw new SyntaxError(_0x3cf1f6(0x248)+_0x55bf4a);}}}if(_0x3afdc===-0x1||_0x212889!==-0x1)throw new SyntaxError('Unexpected\x20end\x20of\x20input');const _0x31d84e=_0xc5072c[_0x3cf1f6(0x224)](_0x3afdc,_0x55bf4a);if(_0x4b9a78[_0x3cf1f6(0x319)](_0x31d84e))throw new SyntaxError('The\x20\x22'+_0x31d84e+'\x22\x20subprotocol\x20is\x20duplicated');return _0x4b9a78[_0x3cf1f6(0x247)](_0x31d84e),_0x4b9a78;}return Ce={'parse':_0x1e3f7f},Ce;}var Te,ot;function er(){const _0x2218db=_0x3b5f97;if(ot)return Te;ot=0x1;const _0x7cff6c=_0x52e269,_0x51a87f=_0x233e89,{Duplex:_0x46453d}=_0x3500b5,{createHash:_0x1a6dd3}=_0x303e8a,_0x4f005e=pt(),_0xdba587=he(),_0x53d55b=Jt(),_0x66a495=Ie(),{GUID:_0x483a5b,kWebSocket:_0x51c086}=V(),_0x13293c=/^[+/0-9A-Za-z]{22}==$/,_0x25ce21=0x0,_0x5ed21c=0x1,_0x3f1e29=0x2;class _0x2cc1d8 extends _0x7cff6c{constructor(_0x3df54a,_0x335f88){const _0x509b8d=_0x4be4;if(super(),_0x3df54a={'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':_0x66a495,..._0x3df54a},_0x3df54a['port']==null&&!_0x3df54a[_0x509b8d(0x2c2)]&&!_0x3df54a[_0x509b8d(0x231)]||_0x3df54a[_0x509b8d(0x29c)]!=null&&(_0x3df54a['server']||_0x3df54a[_0x509b8d(0x231)])||_0x3df54a[_0x509b8d(0x2c2)]&&_0x3df54a['noServer'])throw new TypeError('One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified');if(_0x3df54a[_0x509b8d(0x29c)]!=null?(this[_0x509b8d(0x2fd)]=_0x51a87f[_0x509b8d(0x1c4)]((_0xf8fe56,_0x20dbe8)=>{const _0x14fb5a=_0x509b8d,_0x207114=_0x51a87f[_0x14fb5a(0x2af)][0x1aa];_0x20dbe8[_0x14fb5a(0x2ae)](0x1aa,{'Content-Length':_0x207114[_0x14fb5a(0x33c)],'Content-Type':_0x14fb5a(0x1bd)}),_0x20dbe8['end'](_0x207114);}),this['_server'][_0x509b8d(0x2f4)](_0x3df54a[_0x509b8d(0x29c)],_0x3df54a['host'],_0x3df54a['backlog'],_0x335f88)):_0x3df54a[_0x509b8d(0x2c2)]&&(this[_0x509b8d(0x2fd)]=_0x3df54a['server']),this[_0x509b8d(0x2fd)]){const _0x21a1fb=this[_0x509b8d(0x2c7)][_0x509b8d(0x27c)](this,'connection');this[_0x509b8d(0x330)]=_0x560a2a(this[_0x509b8d(0x2fd)],{'listening':this[_0x509b8d(0x2c7)][_0x509b8d(0x27c)](this,_0x509b8d(0x2b0)),'error':this[_0x509b8d(0x2c7)][_0x509b8d(0x27c)](this,_0x509b8d(0x2c1)),'upgrade':(_0x503762,_0x3e1945,_0x487e9d)=>{const _0x463e7d=_0x509b8d;this[_0x463e7d(0x26e)](_0x503762,_0x3e1945,_0x487e9d,_0x21a1fb);}});}_0x3df54a[_0x509b8d(0x2a9)]===!0x0&&(_0x3df54a['perMessageDeflate']={}),_0x3df54a[_0x509b8d(0x27f)]&&(this[_0x509b8d(0x1b3)]=new Set(),this[_0x509b8d(0x1eb)]=!0x1),this[_0x509b8d(0x2c9)]=_0x3df54a,this['_state']=_0x25ce21;}[_0x2218db(0x312)](){const _0x541961=_0x2218db;if(this[_0x541961(0x2c9)][_0x541961(0x231)])throw new Error('The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode');return this[_0x541961(0x2fd)]?this[_0x541961(0x2fd)][_0x541961(0x312)]():null;}[_0x2218db(0x31e)](_0x3b27db){const _0x157716=_0x2218db;if(this['_state']===_0x3f1e29){_0x3b27db&&this[_0x157716(0x2ca)](_0x157716(0x31e),()=>{const _0x16ab0c=_0x157716;_0x3b27db(new Error(_0x16ab0c(0x31c)));}),process[_0x157716(0x214)](_0x3d1a6c,this);return;}if(_0x3b27db&&this[_0x157716(0x2ca)](_0x157716(0x31e),_0x3b27db),this[_0x157716(0x250)]!==_0x5ed21c){if(this[_0x157716(0x250)]=_0x5ed21c,this[_0x157716(0x2c9)][_0x157716(0x231)]||this[_0x157716(0x2c9)][_0x157716(0x2c2)])this['_server']&&(this['_removeListeners'](),this[_0x157716(0x330)]=this[_0x157716(0x2fd)]=null),this['clients']?this['clients'][_0x157716(0x21c)]?this['_shouldEmitClose']=!0x0:process[_0x157716(0x214)](_0x3d1a6c,this):process['nextTick'](_0x3d1a6c,this);else{const _0x2f52ec=this[_0x157716(0x2fd)];this['_removeListeners'](),this[_0x157716(0x330)]=this[_0x157716(0x2fd)]=null,_0x2f52ec['close'](()=>{_0x3d1a6c(this);});}}}[_0x2218db(0x1ff)](_0x35c829){const _0x411465=_0x2218db;if(this[_0x411465(0x2c9)][_0x411465(0x269)]){const _0x36eb8d=_0x35c829[_0x411465(0x243)]['indexOf']('?');if((_0x36eb8d!==-0x1?_0x35c829[_0x411465(0x243)][_0x411465(0x224)](0x0,_0x36eb8d):_0x35c829[_0x411465(0x243)])!==this[_0x411465(0x2c9)][_0x411465(0x269)])return!0x1;}return!0x0;}[_0x2218db(0x26e)](_0x373e8a,_0x538e79,_0x2e9a5a,_0x1de175){const _0x33d419=_0x2218db;_0x538e79['on'](_0x33d419(0x2c1),_0x521f72);const _0xd3eff7=_0x373e8a[_0x33d419(0x251)][_0x33d419(0x1a4)],_0x2f1cf3=_0x373e8a[_0x33d419(0x251)]['upgrade'],_0x4473e7=+_0x373e8a[_0x33d419(0x251)]['sec-websocket-version'];if(_0x373e8a[_0x33d419(0x2de)]!==_0x33d419(0x322)){_0x527a57(this,_0x373e8a,_0x538e79,0x195,'Invalid\x20HTTP\x20method');return;}if(_0x2f1cf3===void 0x0||_0x2f1cf3['toLowerCase']()!==_0x33d419(0x206)){_0x527a57(this,_0x373e8a,_0x538e79,0x190,'Invalid\x20Upgrade\x20header');return;}if(_0xd3eff7===void 0x0||!_0x13293c[_0x33d419(0x2a0)](_0xd3eff7)){_0x527a57(this,_0x373e8a,_0x538e79,0x190,_0x33d419(0x30d));return;}if(_0x4473e7!==0xd&&_0x4473e7!==0x8){_0x527a57(this,_0x373e8a,_0x538e79,0x190,_0x33d419(0x208),{'Sec-WebSocket-Version':'13,\x208'});return;}if(!this[_0x33d419(0x1ff)](_0x373e8a)){_0xe7da33(_0x538e79,0x190);return;}const _0x19b3a1=_0x373e8a[_0x33d419(0x251)][_0x33d419(0x2a6)];let _0x3aaf87=new Set();if(_0x19b3a1!==void 0x0)try{_0x3aaf87=_0x53d55b[_0x33d419(0x203)](_0x19b3a1);}catch{_0x527a57(this,_0x373e8a,_0x538e79,0x190,_0x33d419(0x2ee));return;}const _0x58231e=_0x373e8a[_0x33d419(0x251)][_0x33d419(0x1d1)],_0x3ba1a6={};if(this[_0x33d419(0x2c9)][_0x33d419(0x2a9)]&&_0x58231e!==void 0x0){const _0xa78c13=new _0xdba587(this[_0x33d419(0x2c9)]['perMessageDeflate'],!0x0,this[_0x33d419(0x2c9)][_0x33d419(0x2b3)]);try{const _0x5c190b=_0x4f005e['parse'](_0x58231e);_0x5c190b[_0xdba587[_0x33d419(0x1dd)]]&&(_0xa78c13['accept'](_0x5c190b[_0xdba587[_0x33d419(0x1dd)]]),_0x3ba1a6[_0xdba587[_0x33d419(0x1dd)]]=_0xa78c13);}catch{_0x527a57(this,_0x373e8a,_0x538e79,0x190,_0x33d419(0x2e1));return;}}if(this[_0x33d419(0x2c9)][_0x33d419(0x1f6)]){const _0x1739ab={'origin':_0x373e8a[_0x33d419(0x251)][''+(_0x4473e7===0x8?_0x33d419(0x2d7):_0x33d419(0x22d))],'secure':!!(_0x373e8a[_0x33d419(0x25a)][_0x33d419(0x1ca)]||_0x373e8a['socket'][_0x33d419(0x24d)]),'req':_0x373e8a};if(this[_0x33d419(0x2c9)][_0x33d419(0x1f6)][_0x33d419(0x33c)]===0x2){this[_0x33d419(0x2c9)]['verifyClient'](_0x1739ab,(_0x4da197,_0x22d1fc,_0x467a62,_0x41f288)=>{const _0x11286e=_0x33d419;if(!_0x4da197)return _0xe7da33(_0x538e79,_0x22d1fc||0x191,_0x467a62,_0x41f288);this[_0x11286e(0x215)](_0x3ba1a6,_0xd3eff7,_0x3aaf87,_0x373e8a,_0x538e79,_0x2e9a5a,_0x1de175);});return;}if(!this['options'][_0x33d419(0x1f6)](_0x1739ab))return _0xe7da33(_0x538e79,0x191);}this[_0x33d419(0x215)](_0x3ba1a6,_0xd3eff7,_0x3aaf87,_0x373e8a,_0x538e79,_0x2e9a5a,_0x1de175);}[_0x2218db(0x215)](_0x27e0ba,_0x29a9d4,_0x26f9be,_0x4ee192,_0x396c6d,_0x38fffe,_0x5250bd){const _0x58771e=_0x2218db;if(!_0x396c6d[_0x58771e(0x348)]||!_0x396c6d[_0x58771e(0x2e0)])return _0x396c6d[_0x58771e(0x1c2)]();if(_0x396c6d[_0x51c086])throw new Error(_0x58771e(0x2d0));if(this[_0x58771e(0x250)]>_0x25ce21)return _0xe7da33(_0x396c6d,0x1f7);const _0x456c8c=[_0x58771e(0x2b5),_0x58771e(0x1ec),'Connection:\x20Upgrade',_0x58771e(0x27e)+_0x1a6dd3(_0x58771e(0x221))[_0x58771e(0x24b)](_0x29a9d4+_0x483a5b)['digest']('base64')],_0x42c1e7=new this[(_0x58771e(0x2c9))]['WebSocket'](null,void 0x0,this[_0x58771e(0x2c9)]);if(_0x26f9be[_0x58771e(0x21c)]){const _0x573b92=this[_0x58771e(0x2c9)][_0x58771e(0x25b)]?this[_0x58771e(0x2c9)]['handleProtocols'](_0x26f9be,_0x4ee192):_0x26f9be[_0x58771e(0x2c3)]()[_0x58771e(0x30a)]()[_0x58771e(0x34a)];_0x573b92&&(_0x456c8c[_0x58771e(0x323)](_0x58771e(0x2c0)+_0x573b92),_0x42c1e7[_0x58771e(0x2ad)]=_0x573b92);}if(_0x27e0ba[_0xdba587[_0x58771e(0x1dd)]]){const _0x1b23ed=_0x27e0ba[_0xdba587['extensionName']]['params'],_0x1ef565=_0x4f005e[_0x58771e(0x1d8)]({[_0xdba587[_0x58771e(0x1dd)]]:[_0x1b23ed]});_0x456c8c[_0x58771e(0x323)](_0x58771e(0x22b)+_0x1ef565),_0x42c1e7[_0x58771e(0x19b)]=_0x27e0ba;}this['emit'](_0x58771e(0x251),_0x456c8c,_0x4ee192),_0x396c6d[_0x58771e(0x277)](_0x456c8c[_0x58771e(0x195)]('\x0d\x0a')[_0x58771e(0x220)]('\x0d\x0a')),_0x396c6d[_0x58771e(0x27d)](_0x58771e(0x2c1),_0x521f72),_0x42c1e7[_0x58771e(0x24e)](_0x396c6d,_0x38fffe,{'allowSynchronousEvents':this[_0x58771e(0x2c9)]['allowSynchronousEvents'],'maxPayload':this[_0x58771e(0x2c9)]['maxPayload'],'skipUTF8Validation':this['options'][_0x58771e(0x1ba)]}),this[_0x58771e(0x1b3)]&&(this['clients'][_0x58771e(0x247)](_0x42c1e7),_0x42c1e7['on'](_0x58771e(0x31e),()=>{const _0x4308b0=_0x58771e;this[_0x4308b0(0x1b3)][_0x4308b0(0x1bf)](_0x42c1e7),this[_0x4308b0(0x1eb)]&&!this[_0x4308b0(0x1b3)][_0x4308b0(0x21c)]&&process[_0x4308b0(0x214)](_0x3d1a6c,this);})),_0x5250bd(_0x42c1e7,_0x4ee192);}}Te=_0x2cc1d8;function _0x560a2a(_0x2bf267,_0x21f5d2){const _0x28381f=_0x2218db;for(const _0x268c67 of Object[_0x28381f(0x2f2)](_0x21f5d2))_0x2bf267['on'](_0x268c67,_0x21f5d2[_0x268c67]);return function(){const _0x2bcb66=_0x28381f;for(const _0x1a42ec of Object[_0x2bcb66(0x2f2)](_0x21f5d2))_0x2bf267['removeListener'](_0x1a42ec,_0x21f5d2[_0x1a42ec]);};}function _0x3d1a6c(_0x3a0eeb){const _0x2c748a=_0x2218db;_0x3a0eeb['_state']=_0x3f1e29,_0x3a0eeb[_0x2c748a(0x2c7)](_0x2c748a(0x31e));}function _0x521f72(){const _0x37bcf5=_0x2218db;this[_0x37bcf5(0x1c2)]();}function _0xe7da33(_0x25a6af,_0xe3bcb4,_0x29b1e5,_0x5cc3d8){const _0x513fac=_0x2218db;_0x29b1e5=_0x29b1e5||_0x51a87f[_0x513fac(0x2af)][_0xe3bcb4],_0x5cc3d8={'Connection':_0x513fac(0x31e),'Content-Type':_0x513fac(0x26b),'Content-Length':Buffer[_0x513fac(0x284)](_0x29b1e5),..._0x5cc3d8},_0x25a6af['once']('finish',_0x25a6af[_0x513fac(0x1c2)]),_0x25a6af[_0x513fac(0x236)]('HTTP/1.1\x20'+_0xe3bcb4+'\x20'+_0x51a87f['STATUS_CODES'][_0xe3bcb4]+'\x0d\x0a'+Object[_0x513fac(0x2f2)](_0x5cc3d8)[_0x513fac(0x1d0)](_0x14fca1=>_0x14fca1+':\x20'+_0x5cc3d8[_0x14fca1])[_0x513fac(0x220)]('\x0d\x0a')+_0x513fac(0x23a)+_0x29b1e5);}function _0x527a57(_0x3baed8,_0x3cc217,_0x45e4b2,_0x51fc9a,_0x1a7766,_0xbb0385){const _0x11c1fc=_0x2218db;if(_0x3baed8[_0x11c1fc(0x1d6)](_0x11c1fc(0x1c7))){const _0x47b602=new Error(_0x1a7766);Error[_0x11c1fc(0x32a)](_0x47b602,_0x527a57),_0x3baed8[_0x11c1fc(0x2c7)](_0x11c1fc(0x1c7),_0x47b602,_0x45e4b2,_0x3cc217);}else _0xe7da33(_0x45e4b2,_0x51fc9a,_0x1a7766,_0xbb0385);}return Te;}er();var tr=Object[_0x3b5f97(0x318)],rr=(_0x277300,_0x3f160b,_0x357a04,_0x35b764)=>{for(var _0x582804=_0x35b764>0x1?void 0x0:_0x35b764?tr(_0x3f160b,_0x357a04):_0x3f160b,_0x441e29=_0x277300['length']-0x1,_0x4fc721;_0x441e29>=0x0;_0x441e29--)(_0x4fc721=_0x277300[_0x441e29])&&(_0x582804=_0x4fc721(_0x582804)||_0x582804);return _0x582804;},sr=(_0x2c4f97,_0x1aed8e)=>(_0x34bd01,_0x461a92)=>_0x1aed8e(_0x34bd01,_0x461a92,_0x2c4f97);let Ne=class extends _0x98505d{constructor(_0x21fa09){super(),this['_configService']=_0x21fa09;}[_0x3b5f97(0x24c)](_0x13e383){const _0x54aacf=_0x3b5f97;var _0xe5c4ed;const _0xeaae15=(_0xe5c4ed=this['_configService'][_0x54aacf(0x31a)](Be))==null?void 0x0:_0xe5c4ed[_0x54aacf(0x2f5)];try{const _0x21c513=new Qt(_0x13e383,{'headers':{..._0xeaae15}}),_0x366835=new _0x12fe87();return{'URL':_0x13e383,'close':(_0x25fb76,_0x19c490)=>{const _0x1086f2=_0x54aacf;_0x21c513[_0x1086f2(0x31e)](_0x25fb76,_0x19c490),_0x366835[_0x1086f2(0x305)]();},'send':_0x2f8894=>{_0x21c513['send'](_0x2f8894);},'open$':new _0x5a2c7(_0x5cd635=>{const _0x380e0f=_0x54aacf,_0x28e564=_0x12dbd4=>_0x5cd635[_0x380e0f(0x30a)](_0x12dbd4);_0x21c513[_0x380e0f(0x227)](_0x380e0f(0x299),_0x28e564),_0x366835[_0x380e0f(0x247)](_0x45bc32(()=>_0x21c513[_0x380e0f(0x341)](_0x380e0f(0x299),_0x28e564)));})[_0x54aacf(0x283)](_0x14d89c()),'close$':new _0x5a2c7(_0x40ecc3=>{const _0x56e17e=_0x54aacf,_0x318a1d=_0x1523ec=>_0x40ecc3[_0x56e17e(0x30a)](_0x1523ec);_0x21c513[_0x56e17e(0x227)](_0x56e17e(0x31e),_0x318a1d),_0x366835[_0x56e17e(0x247)](_0x45bc32(()=>_0x21c513[_0x56e17e(0x341)]('close',_0x318a1d)));})[_0x54aacf(0x283)](_0x14d89c()),'error$':new _0x5a2c7(_0x50551f=>{const _0x1715cd=_0x54aacf,_0x483764=_0x500545=>_0x50551f[_0x1715cd(0x30a)](_0x500545);_0x21c513[_0x1715cd(0x227)]('error',_0x483764),_0x366835[_0x1715cd(0x247)](_0x45bc32(()=>_0x21c513[_0x1715cd(0x341)]('error',_0x483764)));})[_0x54aacf(0x283)](_0x14d89c()),'message$':new _0x5a2c7(_0x35c923=>{const _0x354f0f=_0x54aacf,_0x59684a=_0x580acc=>_0x35c923[_0x354f0f(0x30a)](_0x580acc);_0x21c513[_0x354f0f(0x227)](_0x354f0f(0x246),_0x59684a),_0x366835[_0x354f0f(0x247)](_0x45bc32(()=>_0x21c513[_0x354f0f(0x341)](_0x354f0f(0x246),_0x59684a)));})[_0x54aacf(0x283)](_0x14d89c())};}catch(_0x17212d){return console[_0x54aacf(0x2c1)](_0x17212d),null;}}};Ne=rr([sr(0x0,_0xbb858e)],Ne);var ir=Object[_0x3b5f97(0x311)],nr=Object['getOwnPropertyDescriptor'],or=(_0x33b4d8,_0x45e1dc,_0x2eb08b)=>_0x45e1dc in _0x33b4d8?ir(_0x33b4d8,_0x45e1dc,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2eb08b}):_0x33b4d8[_0x45e1dc]=_0x2eb08b,ar=(_0x53491e,_0xcd7ebe,_0x5ba09e,_0x62c486)=>{const _0x17bc4f=_0x3b5f97;for(var _0x126238=_0x62c486>0x1?void 0x0:_0x62c486?nr(_0xcd7ebe,_0x5ba09e):_0xcd7ebe,_0x408b3c=_0x53491e[_0x17bc4f(0x33c)]-0x1,_0x58e3dd;_0x408b3c>=0x0;_0x408b3c--)(_0x58e3dd=_0x53491e[_0x408b3c])&&(_0x126238=_0x58e3dd(_0x126238)||_0x126238);return _0x126238;},ke=(_0x1c60fb,_0x139a7f)=>(_0x279053,_0x5419ed)=>_0x139a7f(_0x279053,_0x5419ed,_0x1c60fb),lr=(_0x267682,_0xa2ee7f,_0x56deb8)=>or(_0x267682,_0xa2ee7f+'',_0x56deb8);let Pe=class extends _0x22736d{constructor(_0x5bc3f0=Ft,_0xc78f31,_0x2db412,_0x536f12){const _0x339e43=_0x3b5f97;_0x5bc3f0[_0x339e43(0x2f5)]||_0xc78f31['warn'](_0x339e43(0x285)),super(),this['_configService']=_0x2db412,this['_injector']=_0x536f12,this[_0x339e43(0x1b4)][_0x339e43(0x32c)](Be,_0x5bc3f0);}[_0x3b5f97(0x232)](){const _0x4bc238=_0x3b5f97;this[_0x4bc238(0x1a5)]();}[_0x3b5f97(0x1a5)](){const _0x251899=_0x3b5f97;_0x156702(this[_0x251899(0x32f)],[[_0x2d3242,{'useClass':Ne}]]);}};lr(Pe,_0x3b5f97(0x27a),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),Pe=ar([_0x17e901(_0x53e245),ke(0x1,_0x4fe92b),ke(0x2,_0xbb858e),ke(0x3,_0xbaa6b9(_0x226bc9))],Pe);var fr=Object[_0x3b5f97(0x318)],cr=(_0x231110,_0x2432d8,_0x3c68e1,_0xe74281)=>{for(var _0x3287c3=_0xe74281>0x1?void 0x0:_0xe74281?fr(_0x2432d8,_0x3c68e1):_0x2432d8,_0x42bb3a=_0x231110['length']-0x1,_0x2bed5a;_0x42bb3a>=0x0;_0x42bb3a--)(_0x2bed5a=_0x231110[_0x42bb3a])&&(_0x3287c3=_0x2bed5a(_0x3287c3)||_0x3287c3);return _0x3287c3;},se=(_0x843d2f,_0x5ee7db)=>(_0x3cc292,_0x179c85)=>_0x5ee7db(_0x3cc292,_0x179c85,_0x843d2f);let at=class extends _0x3d88fa{constructor(_0x3be370,_0x3d624e,_0x4a1353,_0x332261,_0x79a9f0){const _0xaf76f2=_0x3b5f97;super(_0x3be370,_0x3d624e,_0x4a1353,_0x332261,_0x79a9f0);const _0x14d89d=this['_configService']['getConfig'](Be);this[_0xaf76f2(0x1c8)][_0xaf76f2(0x25c)]({'interceptor':(_0x18b843,_0x238362)=>{const _0x5286e4=_0xaf76f2;var _0x303a14;const _0x2f7898=_0x18b843[_0x5286e4(0x251)];return(_0x303a14=_0x14d89d==null?void 0x0:_0x14d89d['customHeaders'])!=null&&_0x303a14[_0x5286e4(0x262)]&&_0x2f7898[_0x5286e4(0x2ed)](_0x5286e4(0x2e9),_0x14d89d[_0x5286e4(0x2f5)][_0x5286e4(0x262)]),_0x238362(_0x18b843);}});}async[_0x3b5f97(0x24c)](_0x2bbf89){const _0x512a75=_0x3b5f97;return this[_0x512a75(0x31b)](_0x2bbf89);}};at=cr([se(0x0,_0xbaa6b9(_0x226bc9)),se(0x1,_0xbaa6b9(_0x5b62ea)),se(0x2,_0xbb858e),se(0x3,_0x4fe92b),se(0x4,_0x17f39f)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
@@ -1,4 +1,4 @@
1
- export { UniverCollaborationClientNodePlugin } from './plugin';
2
- export { NodeCollaborationSocketService } from './services/collaboration-socket.service';
3
1
  export { COLLABORATION_CLIENT_NODE_CONFIG_KEY } from './config.schema';
4
2
  export type { IUniverCollaborationClientNodeConfig } from './config.schema';
3
+ export { UniverCollaborationClientNodePlugin } from './plugin';
4
+ export { NodeCollaborationSocketService } from './services/collaboration-socket.service';