@univerjs-pro/collaboration-client-node 0.6.10-nightly.202504241607 → 0.6.10-nightly.202504261606

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/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x54d721=_0x59da;(function(_0x3dc43f,_0x3c845){const _0x257de3=_0x59da,_0x157d7f=_0x3dc43f();while(!![]){try{const _0x6e0003=-parseInt(_0x257de3(0x1ea))/0x1+parseInt(_0x257de3(0xe8))/0x2+-parseInt(_0x257de3(0x12c))/0x3+-parseInt(_0x257de3(0xb7))/0x4+parseInt(_0x257de3(0xf3))/0x5*(-parseInt(_0x257de3(0xf7))/0x6)+-parseInt(_0x257de3(0xcc))/0x7+-parseInt(_0x257de3(0xd0))/0x8*(-parseInt(_0x257de3(0xc6))/0x9);if(_0x6e0003===_0x3c845)break;else _0x157d7f['push'](_0x157d7f['shift']());}catch(_0x2cace8){_0x157d7f['push'](_0x157d7f['shift']());}}}(_0x3d5e,0xed296));Object[_0x54d721(0x15b)](exports,Symbol['toStringTag'],{'value':_0x54d721(0xd8)});const st=require(_0x54d721(0x18a)),A=require(_0x54d721(0x1fa)),it=require(_0x54d721(0xed)),V=require(_0x54d721(0x1b1)),nt=require(_0x54d721(0x146)),vt=require('https'),ot=require(_0x54d721(0xdd)),St=require(_0x54d721(0xfa)),Et=require('tls'),Le=require(_0x54d721(0x141)),oe=require(_0x54d721(0x1c4)),xt=require(_0x54d721(0xa2)),bt=require(_0x54d721(0x122)),wt=require(_0x54d721(0x11d)),Ot=require(_0x54d721(0x1a7)),fe='collaboration-client-node.config',Ct={'customHeaders':{}};function _0x59da(_0x521520,_0x28e606){const _0x3d5e1b=_0x3d5e();return _0x59da=function(_0x59da71,_0x2106e7){_0x59da71=_0x59da71-0x78;let _0x77f662=_0x3d5e1b[_0x59da71];return _0x77f662;},_0x59da(_0x521520,_0x28e606);}function Tt(_0x1a3393){const _0x1e8bca=_0x54d721;return _0x1a3393&&_0x1a3393['__esModule']&&Object[_0x1e8bca(0xb9)][_0x1e8bca(0x101)][_0x1e8bca(0x1c1)](_0x1a3393,_0x1e8bca(0x1d8))?_0x1a3393['default']:_0x1a3393;}function at(_0x753b81){const _0x272627=_0x54d721;if(Object['prototype'][_0x272627(0x101)]['call'](_0x753b81,_0x272627(0xa7)))return _0x753b81;var _0x27fe47=_0x753b81[_0x272627(0x1d8)];if(typeof _0x27fe47==_0x272627(0xb6)){var _0x12f4d9=function _0xfb13e2(){const _0x434308=_0x272627;return this instanceof _0xfb13e2?Reflect[_0x434308(0x11a)](_0x27fe47,arguments,this[_0x434308(0x237)]):_0x27fe47['apply'](this,arguments);};_0x12f4d9[_0x272627(0xb9)]=_0x27fe47[_0x272627(0xb9)];}else _0x12f4d9={};return Object[_0x272627(0x15b)](_0x12f4d9,_0x272627(0xa7),{'value':!0x0}),Object['keys'](_0x753b81)['forEach'](function(_0x5db9dc){const _0xfa2b81=_0x272627;var _0x2a0d02=Object['getOwnPropertyDescriptor'](_0x753b81,_0x5db9dc);Object[_0xfa2b81(0x15b)](_0x12f4d9,_0x5db9dc,_0x2a0d02[_0xfa2b81(0x10c)]?_0x2a0d02:{'enumerable':!0x0,'get':function(){return _0x753b81[_0x5db9dc];}});}),_0x12f4d9;}var se={'exports':{}},ge,Ge;function _0x3d5e(){const _0x1ed1ac=['kListener','target','_bufferedAmount','connect','onmessage','text/html','object','frame','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','_readableState','verifyClient','readyState','from','createError','Server\x20sent\x20no\x20subprotocol','_httpService','bind','DisposableCollection','removeListener','_destroy','maskBuffer','shouldHandle','origin','once','response','destroy','clients','_options','end','type','GET','pathname','_decompress','ISnapshotServerService','blob','host','compress','forEach','permessage-deflate','kDone','needDrain','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','Z_SYNC_FLUSH','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','flush','byteOffset','address','_autoPong','indexOf','invalid\x20opcode\x20','nodebuffer','enqueue','open','species','url','writeHead','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','client_max_window_bits','NodeCollaborationSocketService','__esModule','join','kByteLength','setTimeout','createDeflateRaw','method','createSocket','noServer','emitClose','HTTP/1.1\x20','getOwnPropertyDescriptor','values','kError','toString','invalid\x20status\x20code\x20','function','790900NgfQVz','UniverCollaborationClientNodePlugin','prototype','readUInt32BE','invalid\x20UTF-8\x20sequence','push','extensions','fin','completeUpgrade','timeout','customHeaders','getMask','length','Plugin','kAborted','24067566ZKbzuJ','Disposable','Server\x20sent\x20an\x20invalid\x20subprotocol','Basic\x20','ws:','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','6668823qCkaIm','removeAllListeners','_fragments','servername','16xLgJzL','isPaused','_queue','apply','isArray','Max\x20payload\x20size\x20exceeded','request','kType','Module','size','The\x20URL\x27s\x20pathname\x20is\x20empty','sha1','autoPong','http','CLOSED','arrayBuffer','reason','ws+unix:','pause','ILogService','listenerCount','threshold','perMessageDeflate','_removeListeners','1112052UQpuZa','listen','password','pluginName','_shouldEmitClose','@univerjs/network','_closeFrameReceived','Unknown\x20parameter\x20\x22','kRun','warn','handleEvent','4135KnADBz','\x20(supported\x20versions:\x20','keys','MASK\x20must\x20be\x20set','8142txyhTa','WS_NO_BUFFER_UTIL','_fin','net','\x22\x20subprotocol\x20is\x20duplicated','options','invalid\x20opcode\x200','Upgrade','_maskBuffer','skipUTF8Validation','hasOwnProperty','createServer','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','nextTick','DependentOn','cleanup','setHeader','Invalid\x20HTTP\x20method','_receiver','authorized','isView','get','_originalSecure','Unexpected\x20end\x20of\x20input','set','wsClientError','slice','emit','consume','_originalHostOrSocketPath','WS_ERR_EXPECTED_FIN','sendFrame','Opening\x20handshake\x20has\x20timed\x20out','objectMode','OPEN','construct','kCode','Invalid\x20Upgrade\x20header','buffer','dataMessage','read','_opcode','bufferedAmount','zlib','Unexpected\x20character\x20at\x20index\x20','The\x20\x22','wasClean','readOnly','maxPayload','binaryType','WS_ERR_UNEXPECTED_RSV_2_3','zlibDeflateOptions','_writableState','3192351bmHXSU','dispose','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','catch','followRedirects','reset','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','then','ping','isInteger','pipe','WS_ERR_INVALID_OPCODE','_firstFragment','IConfigService','Origin','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','shift','offer','_isServer','_url','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','crypto','binary','setNoDelay','split','_skipUTF8Validation','events','accept','port','protocolVersion','headers','data','captureStackTrace','server_no_context_takeover','_server','toStringTag','client_no_context_takeover','_loop','controlMessage','params','_deflate','has','wss:','startsWith','jobs','WebSocket','RSV1\x20must\x20be\x20clear','defineProperty','_compress','parse','create','serverMaxWindowBits','normalizeParams','generateMask','HTTPService','_configService','value','clientMaxWindowBits','_no_context_takeover','websocket','setSocket','addEventListener','decompress','kMessage','File','clientNoContextTakeover','hash','_maxPayload','STATUS_CODES','sec-websocket-origin','authorization','next','allowSynchronousEvents','backlog','_extensions','listeners','_binaryType','startLoop','socket','_closeTimer','WS_NO_UTF_8_VALIDATE','createInflateRaw','https:','onopen','createConnection','path','WS_ERR_INVALID_CLOSE_CODE','delete','getConfig','_fragmented','getBlobData','Unsupported\x20protocol\x20version:\x20','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','@univerjs-pro/collaboration-client','search','map','cork','Sec-WebSocket-Accept:\x20','update','defaultPort','CONNECTING','_state','_closeMessage','add','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','MASK\x20must\x20be\x20clear','destroyed','alloc','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','errorEmitted','serverNoContextTakeover','kReason','dispatch','concurrencyLimit','abort','Maximum\x20redirects\x20exceeded','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','_write','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','statusCode','Z_DEFAULT_WINDOWBITS','getInfo','@univerjs-pro/collaboration','send','Invalid\x20value\x20for\x20parameter\x20\x22','protocol','CollaborationSocketService','Blob','The\x20URL\x20contains\x20a\x20fragment\x20identifier','Observable','charCodeAt','concat','rxjs','getPayloadLength16','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','format','acceptAsServer','Sec-WebSocket-Protocol','rsv1','cookie','Invalid\x20URL:\x20','_inflate','haveLength','readUInt16BE','total-length','connection','_buffers','writeUInt16BE','call','toLowerCase','client','stream','Sec-WebSocket-Protocol:\x20','opcode','onerror','_mask','_protocol','resume','setConfig','acceptAsClient','WS_ERR_INVALID_UTF8','dequeue','_errored','test','hostname','_totalPayloadLength','http:','CLOSING','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','_readyState','Sec-WebSocket-Extensions','default','_final','pow','error','Sec-WebSocket-Origin','_sender','\x0d\x0a\x0d\x0a','_doCreateSocket','server','finishRequest','server_max_window_bits','_socket','_payloadLength','Unexpected\x20server\x20response:\x20','writable','sec-websocket-key','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','auth','1596190icYjeT','share','href','ISocketService','_registerDependencies','_max_window_bits','unshift','buffers','terminate','_bufferedBytes','getPayloadLength64','digest','string','_generateMask','redirect','message','@univerjs/core','readable','finish','unexpected-response','arraybuffer','handleUpgrade','_messageLength','_errorEmitted','WebSocket\x20is\x20not\x20open:\x20readyState\x20','concurrency','write','removeEventListener','endEmitted','onclose','pending','Invalid\x20WebSocket\x20frame:\x20','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','Invalid\x20Sec-WebSocket-Extensions\x20header','WS_ERR_UNEXPECTED_MASK','replace','\x22:\x20','_masked','mask','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','conclude','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','_req','drain','allocUnsafe','unmask','exports','pong','_closeFrameSent','Injector','code','number','username','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','close','base64','_threshold','sec-websocket-extensions','toDisposable','_injector','_redirects','_closeCode','_compressed','isServer','socketPath','byteLength','upgrade','isBuffer','_originalIpc','Inject','isValidUTF8','getData','freeze','WS_ERR_UNEXPECTED_RSV_1','_allowSynchronousEvents','fragments','_paused','constructor','sec-websocket-accept','includes','extensionName','finished'];_0x3d5e=function(){return _0x1ed1ac;};return _0x3d5e();}function H(){const _0xe5a315=_0x54d721;if(Ge)return ge;Ge=0x1;const _0x47a789=[_0xe5a315(0x9e),_0xe5a315(0x1fe),_0xe5a315(0x235)],_0x17afee=typeof Blob<'u';return _0x17afee&&_0x47a789[_0xe5a315(0xbc)](_0xe5a315(0x8e)),ge={'BINARY_TYPES':_0x47a789,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':_0xe5a315(0x13b),'hasBlob':_0x17afee,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol(_0xe5a315(0x23c)),'kStatusCode':Symbol('status-code'),'kWebSocket':Symbol(_0xe5a315(0x167)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x54d721(0x232)](Object[_0x54d721(0x15b)]({'__proto__':null,'default':Nt},Symbol[_0x54d721(0x14f)],{'value':_0x54d721(0xd8)})),Lt=at(kt);var Ve;function ce(){const _0x42e041=_0x54d721;if(Ve)return se[_0x42e041(0x218)];Ve=0x1;const {EMPTY_BUFFER:_0x200f0a}=H(),_0x4d4ba4=Buffer[Symbol[_0x42e041(0xa1)]];function _0x43f9a2(_0x4aa8e5,_0xe529ff){const _0x6c01fe=_0x42e041;if(_0x4aa8e5[_0x6c01fe(0xc3)]===0x0)return _0x200f0a;if(_0x4aa8e5['length']===0x1)return _0x4aa8e5[0x0];const _0x320da5=Buffer['allocUnsafe'](_0xe529ff);let _0x506126=0x0;for(let _0x2033c3=0x0;_0x2033c3<_0x4aa8e5[_0x6c01fe(0xc3)];_0x2033c3++){const _0x53dc82=_0x4aa8e5[_0x2033c3];_0x320da5[_0x6c01fe(0x10f)](_0x53dc82,_0x506126),_0x506126+=_0x53dc82['length'];}return _0x506126<_0xe529ff?new _0x4d4ba4(_0x320da5[_0x6c01fe(0x11d)],_0x320da5[_0x6c01fe(0x99)],_0x506126):_0x320da5;}function _0x205488(_0x54fdc7,_0x2d00a2,_0x317def,_0x53b3d8,_0x16b5ff){for(let _0x1ec576=0x0;_0x1ec576<_0x16b5ff;_0x1ec576++)_0x317def[_0x53b3d8+_0x1ec576]=_0x54fdc7[_0x1ec576]^_0x2d00a2[_0x1ec576&0x3];}function _0x310f03(_0x49ebe0,_0x51e407){const _0x194ac6=_0x42e041;for(let _0x49b14d=0x0;_0x49b14d<_0x49ebe0[_0x194ac6(0xc3)];_0x49b14d++)_0x49ebe0[_0x49b14d]^=_0x51e407[_0x49b14d&0x3];}function _0x28dc5d(_0x485334){const _0xd8c473=_0x42e041;return _0x485334[_0xd8c473(0xc3)]===_0x485334['buffer'][_0xd8c473(0x22b)]?_0x485334[_0xd8c473(0x11d)]:_0x485334[_0xd8c473(0x11d)][_0xd8c473(0x111)](_0x485334[_0xd8c473(0x99)],_0x485334[_0xd8c473(0x99)]+_0x485334['length']);}function _0x160121(_0x360720){const _0x1adc24=_0x42e041;if(_0x160121[_0x1adc24(0x126)]=!0x0,Buffer[_0x1adc24(0x22d)](_0x360720))return _0x360720;let _0x4fa787;return _0x360720 instanceof ArrayBuffer?_0x4fa787=new _0x4d4ba4(_0x360720):ArrayBuffer[_0x1adc24(0x10b)](_0x360720)?_0x4fa787=new _0x4d4ba4(_0x360720[_0x1adc24(0x11d)],_0x360720['byteOffset'],_0x360720[_0x1adc24(0x22b)]):(_0x4fa787=Buffer[_0x1adc24(0x78)](_0x360720),_0x160121['readOnly']=!0x1),_0x4fa787;}if(se[_0x42e041(0x218)]={'concat':_0x43f9a2,'mask':_0x205488,'toArrayBuffer':_0x28dc5d,'toBuffer':_0x160121,'unmask':_0x310f03},!process['env'][_0x42e041(0xf8)])try{const _0x21b980=Lt;se['exports'][_0x42e041(0x210)]=function(_0x226b3d,_0x37f55c,_0x41529c,_0x17998d,_0x53c14e){const _0x26851d=_0x42e041;_0x53c14e<0x30?_0x205488(_0x226b3d,_0x37f55c,_0x41529c,_0x17998d,_0x53c14e):_0x21b980[_0x26851d(0x210)](_0x226b3d,_0x37f55c,_0x41529c,_0x17998d,_0x53c14e);},se[_0x42e041(0x218)]['unmask']=function(_0x3b3826,_0x10774d){const _0x1735d5=_0x42e041;_0x3b3826['length']<0x20?_0x310f03(_0x3b3826,_0x10774d):_0x21b980[_0x1735d5(0x217)](_0x3b3826,_0x10774d);};}catch{}return se[_0x42e041(0x218)];}var ye,He;function Pt(){const _0x4f8c2e=_0x54d721;if(He)return ye;He=0x1;const _0x4c36dc=Symbol(_0x4f8c2e(0x93)),_0x2d3910=Symbol(_0x4f8c2e(0xf0));class _0x44de7d{constructor(_0x368d54){const _0x4db1a4=_0x4f8c2e;this[_0x4c36dc]=()=>{const _0x4c0501=_0x59da;this[_0x4c0501(0x208)]--,this[_0x2d3910]();},this[_0x4db1a4(0x203)]=_0x368d54||0x1/0x0,this[_0x4db1a4(0x158)]=[],this[_0x4db1a4(0x208)]=0x0;}[_0x4f8c2e(0x194)](_0x2c31d5){const _0x2f61ba=_0x4f8c2e;this[_0x2f61ba(0x158)][_0x2f61ba(0xbc)](_0x2c31d5),this[_0x2d3910]();}[_0x2d3910](){const _0x18f6b6=_0x4f8c2e;if(this[_0x18f6b6(0x208)]!==this[_0x18f6b6(0x203)]&&this[_0x18f6b6(0x158)][_0x18f6b6(0xc3)]){const _0x23c0d2=this[_0x18f6b6(0x158)][_0x18f6b6(0x13c)]();this[_0x18f6b6(0x208)]++,_0x23c0d2(this[_0x4c36dc]);}}}return ye=_0x44de7d,ye;}var ve,ze;function he(){const _0x4be0bb=_0x54d721;if(ze)return ve;ze=0x1;const _0x4cd170=bt,_0xf820ba=ce(),_0x1257bf=Pt(),{kStatusCode:_0x4ae73e}=H(),_0xd140b=Buffer[Symbol['species']],_0x15ffdc=Buffer[_0x4be0bb(0x78)]([0x0,0x0,0xff,0xff]),_0x506342=Symbol(_0x4be0bb(0x92)),_0x176e8b=Symbol(_0x4be0bb(0x1bd)),_0x42fca3=Symbol('callback'),_0x569de3=Symbol(_0x4be0bb(0x1f1)),_0x4242aa=Symbol(_0x4be0bb(0x1db));let _0x2167af;class _0x229c8c{constructor(_0x1d7423,_0x2a4949,_0x2951e3){const _0x513821=_0x4be0bb;if(this['_maxPayload']=_0x2951e3|0x0,this[_0x513821(0x87)]=_0x1d7423||{},this['_threshold']=this[_0x513821(0x87)][_0x513821(0xe5)]!==void 0x0?this[_0x513821(0x87)][_0x513821(0xe5)]:0x400,this[_0x513821(0x13e)]=!!_0x2a4949,this['_deflate']=null,this['_inflate']=null,this['params']=null,!_0x2167af){const _0x5d961a=this[_0x513821(0x87)]['concurrencyLimit']!==void 0x0?this['_options'][_0x513821(0x19e)]:0xa;_0x2167af=new _0x1257bf(_0x5d961a);}}static get[_0x4be0bb(0x23a)](){const _0x5410e1=_0x4be0bb;return _0x5410e1(0x92);}[_0x4be0bb(0x13d)](){const _0x3d87b0=_0x4be0bb,_0x293d5d={};return this[_0x3d87b0(0x87)][_0x3d87b0(0x19b)]&&(_0x293d5d['server_no_context_takeover']=!0x0),this[_0x3d87b0(0x87)][_0x3d87b0(0x16d)]&&(_0x293d5d['client_no_context_takeover']=!0x0),this['_options']['serverMaxWindowBits']&&(_0x293d5d['server_max_window_bits']=this[_0x3d87b0(0x87)][_0x3d87b0(0x15f)]),this[_0x3d87b0(0x87)][_0x3d87b0(0x165)]?_0x293d5d['client_max_window_bits']=this['_options'][_0x3d87b0(0x165)]:this['_options'][_0x3d87b0(0x165)]==null&&(_0x293d5d['client_max_window_bits']=!0x0),_0x293d5d;}[_0x4be0bb(0x147)](_0x247ccc){const _0x2f0d10=_0x4be0bb;return _0x247ccc=this[_0x2f0d10(0x160)](_0x247ccc),this[_0x2f0d10(0x153)]=this[_0x2f0d10(0x13e)]?this['acceptAsServer'](_0x247ccc):this[_0x2f0d10(0x1cc)](_0x247ccc),this[_0x2f0d10(0x153)];}['cleanup'](){const _0x1c8d15=_0x4be0bb;if(this[_0x1c8d15(0x1ba)]&&(this['_inflate'][_0x1c8d15(0x220)](),this[_0x1c8d15(0x1ba)]=null),this['_deflate']){const _0x1a5c88=this['_deflate'][_0x42fca3];this[_0x1c8d15(0x154)][_0x1c8d15(0x220)](),this[_0x1c8d15(0x154)]=null,_0x1a5c88&&_0x1a5c88(new Error(_0x1c8d15(0x1e8)));}}[_0x4be0bb(0x1b5)](_0x253fa2){const _0x248f12=_0x4be0bb,_0x5b6c8f=this[_0x248f12(0x87)],_0x4d744b=_0x253fa2['find'](_0x1e903b=>!(_0x5b6c8f[_0x248f12(0x19b)]===!0x1&&_0x1e903b['server_no_context_takeover']||_0x1e903b[_0x248f12(0x1e2)]&&(_0x5b6c8f[_0x248f12(0x15f)]===!0x1||typeof _0x5b6c8f[_0x248f12(0x15f)]=='number'&&_0x5b6c8f['serverMaxWindowBits']>_0x1e903b['server_max_window_bits'])||typeof _0x5b6c8f['clientMaxWindowBits']==_0x248f12(0x21d)&&!_0x1e903b[_0x248f12(0xa5)]));if(!_0x4d744b)throw new Error(_0x248f12(0x244));return _0x5b6c8f[_0x248f12(0x19b)]&&(_0x4d744b[_0x248f12(0x14d)]=!0x0),_0x5b6c8f['clientNoContextTakeover']&&(_0x4d744b[_0x248f12(0x150)]=!0x0),typeof _0x5b6c8f[_0x248f12(0x15f)]==_0x248f12(0x21d)&&(_0x4d744b[_0x248f12(0x1e2)]=_0x5b6c8f['serverMaxWindowBits']),typeof _0x5b6c8f[_0x248f12(0x165)]=='number'?_0x4d744b['client_max_window_bits']=_0x5b6c8f['clientMaxWindowBits']:(_0x4d744b[_0x248f12(0xa5)]===!0x0||_0x5b6c8f[_0x248f12(0x165)]===!0x1)&&delete _0x4d744b[_0x248f12(0xa5)],_0x4d744b;}[_0x4be0bb(0x1cc)](_0x2dd422){const _0x414c71=_0x4be0bb,_0x294df3=_0x2dd422[0x0];if(this[_0x414c71(0x87)][_0x414c71(0x16d)]===!0x1&&_0x294df3[_0x414c71(0x150)])throw new Error('Unexpected\x20parameter\x20\x22client_no_context_takeover\x22');if(!_0x294df3[_0x414c71(0xa5)])typeof this[_0x414c71(0x87)][_0x414c71(0x165)]=='number'&&(_0x294df3[_0x414c71(0xa5)]=this['_options'][_0x414c71(0x165)]);else{if(this[_0x414c71(0x87)][_0x414c71(0x165)]===!0x1||typeof this[_0x414c71(0x87)][_0x414c71(0x165)]==_0x414c71(0x21d)&&_0x294df3[_0x414c71(0xa5)]>this[_0x414c71(0x87)][_0x414c71(0x165)])throw new Error(_0x414c71(0x188));}return _0x294df3;}[_0x4be0bb(0x160)](_0x478c98){const _0xdd56b3=_0x4be0bb;return _0x478c98[_0xdd56b3(0x91)](_0x4df251=>{const _0x1afe2d=_0xdd56b3;Object[_0x1afe2d(0xf5)](_0x4df251)[_0x1afe2d(0x91)](_0x3dc1e9=>{const _0x526db3=_0x1afe2d;let _0x332cbe=_0x4df251[_0x3dc1e9];if(_0x332cbe[_0x526db3(0xc3)]>0x1)throw new Error('Parameter\x20\x22'+_0x3dc1e9+'\x22\x20must\x20have\x20only\x20a\x20single\x20value');if(_0x332cbe=_0x332cbe[0x0],_0x3dc1e9==='client_max_window_bits'){if(_0x332cbe!==!0x0){const _0x45780d=+_0x332cbe;if(!Number[_0x526db3(0x135)](_0x45780d)||_0x45780d<0x8||_0x45780d>0xf)throw new TypeError(_0x526db3(0x1a9)+_0x3dc1e9+_0x526db3(0x20e)+_0x332cbe);_0x332cbe=_0x45780d;}else{if(!this[_0x526db3(0x13e)])throw new TypeError(_0x526db3(0x1a9)+_0x3dc1e9+'\x22:\x20'+_0x332cbe);}}else{if(_0x3dc1e9===_0x526db3(0x1e2)){const _0x16b990=+_0x332cbe;if(!Number[_0x526db3(0x135)](_0x16b990)||_0x16b990<0x8||_0x16b990>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x3dc1e9+_0x526db3(0x20e)+_0x332cbe);_0x332cbe=_0x16b990;}else{if(_0x3dc1e9===_0x526db3(0x150)||_0x3dc1e9===_0x526db3(0x14d)){if(_0x332cbe!==!0x0)throw new TypeError(_0x526db3(0x1a9)+_0x3dc1e9+_0x526db3(0x20e)+_0x332cbe);}else throw new Error(_0x526db3(0xef)+_0x3dc1e9+'\x22');}}_0x4df251[_0x3dc1e9]=_0x332cbe;});}),_0x478c98;}[_0x4be0bb(0x16a)](_0x59cba6,_0x39aaba,_0x548350){const _0x7502a8=_0x4be0bb;_0x2167af[_0x7502a8(0x194)](_0x2e9d52=>{const _0x4e38f3=_0x7502a8;this[_0x4e38f3(0x8c)](_0x59cba6,_0x39aaba,(_0x5b1b2f,_0x3aa1ca)=>{_0x2e9d52(),_0x548350(_0x5b1b2f,_0x3aa1ca);});});}[_0x4be0bb(0x90)](_0x3e0e41,_0x428bde,_0xa70b81){const _0xb459c5=_0x4be0bb;_0x2167af[_0xb459c5(0x194)](_0x42294e=>{const _0x6659a5=_0xb459c5;this[_0x6659a5(0x15c)](_0x3e0e41,_0x428bde,(_0x982ed2,_0x59d72b)=>{_0x42294e(),_0xa70b81(_0x982ed2,_0x59d72b);});});}[_0x4be0bb(0x8c)](_0x3e39bb,_0xab6c21,_0x3d294e){const _0x26d7fd=_0x4be0bb,_0x56ea64=this[_0x26d7fd(0x13e)]?_0x26d7fd(0x1c3):_0x26d7fd(0x1e0);if(!this['_inflate']){const _0x1c2602=_0x56ea64+_0x26d7fd(0x1ef),_0x357982=typeof this[_0x26d7fd(0x153)][_0x1c2602]!=_0x26d7fd(0x21d)?_0x4cd170[_0x26d7fd(0x1a5)]:this['params'][_0x1c2602];this[_0x26d7fd(0x1ba)]=_0x4cd170[_0x26d7fd(0x17d)]({...this['_options']['zlibInflateOptions'],'windowBits':_0x357982}),this[_0x26d7fd(0x1ba)][_0x506342]=this,this[_0x26d7fd(0x1ba)][_0x176e8b]=0x0,this[_0x26d7fd(0x1ba)][_0x569de3]=[],this[_0x26d7fd(0x1ba)]['on']('error',_0x25865c),this[_0x26d7fd(0x1ba)]['on'](_0x26d7fd(0x14b),_0x162d4a);}this['_inflate'][_0x42fca3]=_0x3d294e,this['_inflate'][_0x26d7fd(0x204)](_0x3e39bb),_0xab6c21&&this['_inflate'][_0x26d7fd(0x204)](_0x15ffdc),this[_0x26d7fd(0x1ba)][_0x26d7fd(0x98)](()=>{const _0x101a36=_0x26d7fd,_0x3a19d4=this['_inflate'][_0x4242aa];if(_0x3a19d4){this[_0x101a36(0x1ba)][_0x101a36(0x220)](),this[_0x101a36(0x1ba)]=null,_0x3d294e(_0x3a19d4);return;}const _0x4af9a9=_0xf820ba[_0x101a36(0x1b0)](this[_0x101a36(0x1ba)][_0x569de3],this[_0x101a36(0x1ba)][_0x176e8b]);this[_0x101a36(0x1ba)][_0x101a36(0x245)][_0x101a36(0x206)]?(this['_inflate']['close'](),this[_0x101a36(0x1ba)]=null):(this[_0x101a36(0x1ba)][_0x176e8b]=0x0,this['_inflate'][_0x569de3]=[],_0xab6c21&&this[_0x101a36(0x153)][_0x56ea64+_0x101a36(0x166)]&&this[_0x101a36(0x1ba)][_0x101a36(0x131)]()),_0x3d294e(null,_0x4af9a9);});}[_0x4be0bb(0x15c)](_0xae191e,_0x4d0b13,_0x207820){const _0x57848e=_0x4be0bb,_0x168125=this[_0x57848e(0x13e)]?_0x57848e(0x1e0):_0x57848e(0x1c3);if(!this['_deflate']){const _0x59784b=_0x168125+_0x57848e(0x1ef),_0x9032d1=typeof this[_0x57848e(0x153)][_0x59784b]!=_0x57848e(0x21d)?_0x4cd170[_0x57848e(0x1a5)]:this[_0x57848e(0x153)][_0x59784b];this[_0x57848e(0x154)]=_0x4cd170[_0x57848e(0xab)]({...this[_0x57848e(0x87)][_0x57848e(0x12a)],'windowBits':_0x9032d1}),this[_0x57848e(0x154)][_0x176e8b]=0x0,this[_0x57848e(0x154)][_0x569de3]=[],this['_deflate']['on'](_0x57848e(0x14b),_0x4c794a);}this[_0x57848e(0x154)][_0x42fca3]=_0x207820,this[_0x57848e(0x154)][_0x57848e(0x204)](_0xae191e),this[_0x57848e(0x154)][_0x57848e(0x98)](_0x4cd170[_0x57848e(0x96)],()=>{const _0x515f8a=_0x57848e;if(!this[_0x515f8a(0x154)])return;let _0x1a28b4=_0xf820ba['concat'](this[_0x515f8a(0x154)][_0x569de3],this[_0x515f8a(0x154)][_0x176e8b]);_0x4d0b13&&(_0x1a28b4=new _0xd140b(_0x1a28b4[_0x515f8a(0x11d)],_0x1a28b4[_0x515f8a(0x99)],_0x1a28b4[_0x515f8a(0xc3)]-0x4)),this[_0x515f8a(0x154)][_0x42fca3]=null,this[_0x515f8a(0x154)][_0x176e8b]=0x0,this[_0x515f8a(0x154)][_0x569de3]=[],_0x4d0b13&&this[_0x515f8a(0x153)][_0x168125+_0x515f8a(0x166)]&&this[_0x515f8a(0x154)][_0x515f8a(0x131)](),_0x207820(null,_0x1a28b4);});}}ve=_0x229c8c;function _0x4c794a(_0x4487d3){const _0x2f91b7=_0x4be0bb;this[_0x569de3][_0x2f91b7(0xbc)](_0x4487d3),this[_0x176e8b]+=_0x4487d3[_0x2f91b7(0xc3)];}function _0x162d4a(_0x3c077c){const _0x43afe0=_0x4be0bb;if(this[_0x176e8b]+=_0x3c077c[_0x43afe0(0xc3)],this[_0x506342]['_maxPayload']<0x1||this[_0x176e8b]<=this[_0x506342][_0x43afe0(0x16f)]){this[_0x569de3][_0x43afe0(0xbc)](_0x3c077c);return;}this[_0x4242aa]=new RangeError(_0x43afe0(0xd5)),this[_0x4242aa][_0x43afe0(0x21c)]='WS_ERR_UNSUPPORTED_MESSAGE_LENGTH',this[_0x4242aa][_0x4ae73e]=0x3f1,this[_0x43afe0(0x7e)](_0x43afe0(0x14b),_0x162d4a),this[_0x43afe0(0x131)]();}function _0x25865c(_0x120e0c){this[_0x506342]['_inflate']=null,_0x120e0c[_0x4ae73e]=0x3ef,this[_0x42fca3](_0x120e0c);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x54d721(0x232)](Object[_0x54d721(0x15b)]({'__proto__':null,'default':Dt},Symbol[_0x54d721(0x14f)],{'value':'Module'})),Bt=at(Rt);var Ye;function ae(){const _0x3a1821=_0x54d721;if(Ye)return ie['exports'];Ye=0x1;const {isUtf8:_0x57449d}=wt,{hasBlob:_0x4c634b}=H(),_0x5a765c=[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 _0x2e3a71(_0x3c7aae){return _0x3c7aae>=0x3e8&&_0x3c7aae<=0x3f6&&_0x3c7aae!==0x3ec&&_0x3c7aae!==0x3ed&&_0x3c7aae!==0x3ee||_0x3c7aae>=0xbb8&&_0x3c7aae<=0x1387;}function _0x42ba72(_0x4dd181){const _0x56f2d0=_0x59da,_0x57aba9=_0x4dd181[_0x56f2d0(0xc3)];let _0x58453f=0x0;for(;_0x58453f<_0x57aba9;)if((_0x4dd181[_0x58453f]&0x80)===0x0)_0x58453f++;else{if((_0x4dd181[_0x58453f]&0xe0)===0xc0){if(_0x58453f+0x1===_0x57aba9||(_0x4dd181[_0x58453f+0x1]&0xc0)!==0x80||(_0x4dd181[_0x58453f]&0xfe)===0xc0)return!0x1;_0x58453f+=0x2;}else{if((_0x4dd181[_0x58453f]&0xf0)===0xe0){if(_0x58453f+0x2>=_0x57aba9||(_0x4dd181[_0x58453f+0x1]&0xc0)!==0x80||(_0x4dd181[_0x58453f+0x2]&0xc0)!==0x80||_0x4dd181[_0x58453f]===0xe0&&(_0x4dd181[_0x58453f+0x1]&0xe0)===0x80||_0x4dd181[_0x58453f]===0xed&&(_0x4dd181[_0x58453f+0x1]&0xe0)===0xa0)return!0x1;_0x58453f+=0x3;}else{if((_0x4dd181[_0x58453f]&0xf8)===0xf0){if(_0x58453f+0x3>=_0x57aba9||(_0x4dd181[_0x58453f+0x1]&0xc0)!==0x80||(_0x4dd181[_0x58453f+0x2]&0xc0)!==0x80||(_0x4dd181[_0x58453f+0x3]&0xc0)!==0x80||_0x4dd181[_0x58453f]===0xf0&&(_0x4dd181[_0x58453f+0x1]&0xf0)===0x80||_0x4dd181[_0x58453f]===0xf4&&_0x4dd181[_0x58453f+0x1]>0x8f||_0x4dd181[_0x58453f]>0xf4)return!0x1;_0x58453f+=0x4;}else return!0x1;}}}return!0x0;}function _0x5dfb03(_0x55cac8){const _0xd9f303=_0x59da;return _0x4c634b&&typeof _0x55cac8=='object'&&typeof _0x55cac8[_0xd9f303(0xdf)]=='function'&&typeof _0x55cac8[_0xd9f303(0x89)]=='string'&&typeof _0x55cac8[_0xd9f303(0x1c4)]=='function'&&(_0x55cac8[Symbol[_0xd9f303(0x14f)]]===_0xd9f303(0x1ac)||_0x55cac8[Symbol[_0xd9f303(0x14f)]]===_0xd9f303(0x16c));}if(ie['exports']={'isBlob':_0x5dfb03,'isValidStatusCode':_0x2e3a71,'isValidUTF8':_0x42ba72,'tokenChars':_0x5a765c},_0x57449d)ie[_0x3a1821(0x218)][_0x3a1821(0x230)]=function(_0x392158){return _0x392158['length']<0x18?_0x42ba72(_0x392158):_0x57449d(_0x392158);};else{if(!process['env'][_0x3a1821(0x17c)])try{const _0xc893bc=Bt;ie[_0x3a1821(0x218)][_0x3a1821(0x230)]=function(_0x1bd728){return _0x1bd728['length']<0x20?_0x42ba72(_0x1bd728):_0xc893bc(_0x1bd728);};}catch{}}return ie['exports'];}var Se,Ke;function lt(){const _0x3edd39=_0x54d721;if(Ke)return Se;Ke=0x1;const {Writable:_0x15b4be}=oe,_0x9a30e4=he(),{BINARY_TYPES:_0x41fc34,EMPTY_BUFFER:_0x47816c,kStatusCode:_0x37f609,kWebSocket:_0x4ffd55}=H(),{concat:_0x44be2b,toArrayBuffer:_0x40f9d5,unmask:_0x330320}=ce(),{isValidStatusCode:_0x398f19,isValidUTF8:_0x2acb45}=ae(),_0x58f920=Buffer[Symbol['species']],_0x31a7eb=0x0,_0x30b696=0x1,_0x414730=0x2,_0x46a8de=0x3,_0x16fcb8=0x4,_0x261af5=0x5,_0x28e6b0=0x6;class _0x52c052 extends _0x15b4be{constructor(_0x5bd114={}){const _0x196cad=_0x59da;super(),this[_0x196cad(0x234)]=_0x5bd114[_0x196cad(0x174)]!==void 0x0?_0x5bd114['allowSynchronousEvents']:!0x0,this['_binaryType']=_0x5bd114[_0x196cad(0x128)]||_0x41fc34[0x0],this[_0x196cad(0x176)]=_0x5bd114[_0x196cad(0xbd)]||{},this['_isServer']=!!_0x5bd114[_0x196cad(0x229)],this[_0x196cad(0x16f)]=_0x5bd114[_0x196cad(0x127)]|0x0,this['_skipUTF8Validation']=!!_0x5bd114[_0x196cad(0x100)],this[_0x4ffd55]=void 0x0,this[_0x196cad(0x1f3)]=0x0,this['_buffers']=[],this['_compressed']=!0x1,this['_payloadLength']=0x0,this[_0x196cad(0x1c8)]=void 0x0,this[_0x196cad(0x185)]=0x0,this[_0x196cad(0x20f)]=!0x1,this[_0x196cad(0xf9)]=!0x1,this[_0x196cad(0x120)]=0x0,this['_totalPayloadLength']=0x0,this[_0x196cad(0x200)]=0x0,this['_fragments']=[],this[_0x196cad(0x1cf)]=!0x1,this['_loop']=!0x1,this[_0x196cad(0x192)]=_0x31a7eb;}['_write'](_0x1ac5b3,_0x5cd128,_0x46ca9e){const _0x180341=_0x59da;if(this[_0x180341(0x120)]===0x8&&this[_0x180341(0x192)]==_0x31a7eb)return _0x46ca9e();this[_0x180341(0x1f3)]+=_0x1ac5b3[_0x180341(0xc3)],this['_buffers'][_0x180341(0xbc)](_0x1ac5b3),this[_0x180341(0x179)](_0x46ca9e);}[_0x3edd39(0x113)](_0x4040c1){const _0x2019dc=_0x3edd39;if(this[_0x2019dc(0x1f3)]-=_0x4040c1,_0x4040c1===this[_0x2019dc(0x1bf)][0x0][_0x2019dc(0xc3)])return this['_buffers'][_0x2019dc(0x13c)]();if(_0x4040c1<this[_0x2019dc(0x1bf)][0x0][_0x2019dc(0xc3)]){const _0x2d542b=this[_0x2019dc(0x1bf)][0x0];return this[_0x2019dc(0x1bf)][0x0]=new _0x58f920(_0x2d542b['buffer'],_0x2d542b[_0x2019dc(0x99)]+_0x4040c1,_0x2d542b['length']-_0x4040c1),new _0x58f920(_0x2d542b[_0x2019dc(0x11d)],_0x2d542b['byteOffset'],_0x4040c1);}const _0x5912c0=Buffer['allocUnsafe'](_0x4040c1);do{const _0xcf2474=this['_buffers'][0x0],_0x1f1a36=_0x5912c0[_0x2019dc(0xc3)]-_0x4040c1;_0x4040c1>=_0xcf2474['length']?_0x5912c0[_0x2019dc(0x10f)](this[_0x2019dc(0x1bf)][_0x2019dc(0x13c)](),_0x1f1a36):(_0x5912c0[_0x2019dc(0x10f)](new Uint8Array(_0xcf2474[_0x2019dc(0x11d)],_0xcf2474['byteOffset'],_0x4040c1),_0x1f1a36),this['_buffers'][0x0]=new _0x58f920(_0xcf2474['buffer'],_0xcf2474[_0x2019dc(0x99)]+_0x4040c1,_0xcf2474['length']-_0x4040c1)),_0x4040c1-=_0xcf2474[_0x2019dc(0xc3)];}while(_0x4040c1>0x0);return _0x5912c0;}[_0x3edd39(0x179)](_0x454900){const _0x45d5eb=_0x3edd39;this[_0x45d5eb(0x151)]=!0x0;do switch(this[_0x45d5eb(0x192)]){case _0x31a7eb:this[_0x45d5eb(0x1a6)](_0x454900);break;case _0x30b696:this['getPayloadLength16'](_0x454900);break;case _0x414730:this[_0x45d5eb(0x1f4)](_0x454900);break;case _0x46a8de:this['getMask']();break;case _0x16fcb8:this[_0x45d5eb(0x231)](_0x454900);break;case _0x261af5:case _0x28e6b0:this[_0x45d5eb(0x151)]=!0x1;return;}while(this[_0x45d5eb(0x151)]);this[_0x45d5eb(0x1cf)]||_0x454900();}['getInfo'](_0x112a66){const _0x3549af=_0x3edd39;if(this[_0x3549af(0x1f3)]<0x2){this[_0x3549af(0x151)]=!0x1;return;}const _0x10135b=this[_0x3549af(0x113)](0x2);if((_0x10135b[0x0]&0x30)!==0x0){const _0x561066=this[_0x3549af(0x79)](RangeError,'RSV2\x20and\x20RSV3\x20must\x20be\x20clear',!0x0,0x3ea,_0x3549af(0x129));_0x112a66(_0x561066);return;}const _0x39b345=(_0x10135b[0x0]&0x40)===0x40;if(_0x39b345&&!this[_0x3549af(0x176)][_0x9a30e4['extensionName']]){const _0x5411ca=this[_0x3549af(0x79)](RangeError,_0x3549af(0x15a),!0x0,0x3ea,_0x3549af(0x233));_0x112a66(_0x5411ca);return;}if(this[_0x3549af(0xf9)]=(_0x10135b[0x0]&0x80)===0x80,this[_0x3549af(0x120)]=_0x10135b[0x0]&0xf,this[_0x3549af(0x1e4)]=_0x10135b[0x1]&0x7f,this['_opcode']===0x0){if(_0x39b345){const _0x450b1c=this[_0x3549af(0x79)](RangeError,_0x3549af(0x15a),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x112a66(_0x450b1c);return;}if(!this[_0x3549af(0x185)]){const _0x45c76e=this['createError'](RangeError,_0x3549af(0xfd),!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x112a66(_0x45c76e);return;}this[_0x3549af(0x120)]=this[_0x3549af(0x185)];}else{if(this[_0x3549af(0x120)]===0x1||this[_0x3549af(0x120)]===0x2){if(this['_fragmented']){const _0x222252=this[_0x3549af(0x79)](RangeError,_0x3549af(0x9d)+this[_0x3549af(0x120)],!0x0,0x3ea,_0x3549af(0x137));_0x112a66(_0x222252);return;}this[_0x3549af(0x228)]=_0x39b345;}else{if(this[_0x3549af(0x120)]>0x7&&this['_opcode']<0xb){if(!this['_fin']){const _0x48597a=this[_0x3549af(0x79)](RangeError,'FIN\x20must\x20be\x20set',!0x0,0x3ea,_0x3549af(0x115));_0x112a66(_0x48597a);return;}if(_0x39b345){const _0x2a0ddf=this[_0x3549af(0x79)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x3549af(0x233));_0x112a66(_0x2a0ddf);return;}if(this[_0x3549af(0x1e4)]>0x7d||this['_opcode']===0x8&&this['_payloadLength']===0x1){const _0x2ff08f=this['createError'](RangeError,'invalid\x20payload\x20length\x20'+this['_payloadLength'],!0x0,0x3ea,_0x3549af(0x132));_0x112a66(_0x2ff08f);return;}}else{const _0x24e041=this['createError'](RangeError,_0x3549af(0x9d)+this[_0x3549af(0x120)],!0x0,0x3ea,_0x3549af(0x137));_0x112a66(_0x24e041);return;}}}if(!this[_0x3549af(0xf9)]&&!this[_0x3549af(0x185)]&&(this[_0x3549af(0x185)]=this[_0x3549af(0x120)]),this['_masked']=(_0x10135b[0x1]&0x80)===0x80,this[_0x3549af(0x13e)]){if(!this[_0x3549af(0x20f)]){const _0xc835c9=this[_0x3549af(0x79)](RangeError,_0x3549af(0xf6),!0x0,0x3ea,'WS_ERR_EXPECTED_MASK');_0x112a66(_0xc835c9);return;}}else{if(this[_0x3549af(0x20f)]){const _0x37945a=this[_0x3549af(0x79)](RangeError,_0x3549af(0x196),!0x0,0x3ea,_0x3549af(0x20c));_0x112a66(_0x37945a);return;}}this['_payloadLength']===0x7e?this[_0x3549af(0x192)]=_0x30b696:this[_0x3549af(0x1e4)]===0x7f?this[_0x3549af(0x192)]=_0x414730:this[_0x3549af(0x1bb)](_0x112a66);}[_0x3edd39(0x1b2)](_0x2d21c5){const _0x543e61=_0x3edd39;if(this[_0x543e61(0x1f3)]<0x2){this['_loop']=!0x1;return;}this[_0x543e61(0x1e4)]=this[_0x543e61(0x113)](0x2)[_0x543e61(0x1bc)](0x0),this[_0x543e61(0x1bb)](_0x2d21c5);}['getPayloadLength64'](_0x5cc0ef){const _0x4ca68b=_0x3edd39;if(this[_0x4ca68b(0x1f3)]<0x8){this[_0x4ca68b(0x151)]=!0x1;return;}const _0x344eaa=this['consume'](0x8),_0xc0ff16=_0x344eaa[_0x4ca68b(0xba)](0x0);if(_0xc0ff16>Math[_0x4ca68b(0x1da)](0x2,0x15)-0x1){const _0x21b684=this[_0x4ca68b(0x79)](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH');_0x5cc0ef(_0x21b684);return;}this[_0x4ca68b(0x1e4)]=_0xc0ff16*Math[_0x4ca68b(0x1da)](0x2,0x20)+_0x344eaa['readUInt32BE'](0x4),this[_0x4ca68b(0x1bb)](_0x5cc0ef);}[_0x3edd39(0x1bb)](_0x424f80){const _0x101dd2=_0x3edd39;if(this['_payloadLength']&&this[_0x101dd2(0x120)]<0x8&&(this[_0x101dd2(0x1d2)]+=this[_0x101dd2(0x1e4)],this[_0x101dd2(0x1d2)]>this['_maxPayload']&&this[_0x101dd2(0x16f)]>0x0)){const _0x356780=this[_0x101dd2(0x79)](RangeError,_0x101dd2(0xd5),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x424f80(_0x356780);return;}this[_0x101dd2(0x20f)]?this[_0x101dd2(0x192)]=_0x46a8de:this[_0x101dd2(0x192)]=_0x16fcb8;}[_0x3edd39(0xc2)](){const _0x50434b=_0x3edd39;if(this[_0x50434b(0x1f3)]<0x4){this['_loop']=!0x1;return;}this[_0x50434b(0x1c8)]=this['consume'](0x4),this[_0x50434b(0x192)]=_0x16fcb8;}[_0x3edd39(0x231)](_0x463b44){const _0x35fc1a=_0x3edd39;let _0x14cc81=_0x47816c;if(this[_0x35fc1a(0x1e4)]){if(this[_0x35fc1a(0x1f3)]<this[_0x35fc1a(0x1e4)]){this[_0x35fc1a(0x151)]=!0x1;return;}_0x14cc81=this[_0x35fc1a(0x113)](this[_0x35fc1a(0x1e4)]),this['_masked']&&(this[_0x35fc1a(0x1c8)][0x0]|this[_0x35fc1a(0x1c8)][0x1]|this[_0x35fc1a(0x1c8)][0x2]|this['_mask'][0x3])!==0x0&&_0x330320(_0x14cc81,this[_0x35fc1a(0x1c8)]);}if(this[_0x35fc1a(0x120)]>0x7){this[_0x35fc1a(0x152)](_0x14cc81,_0x463b44);return;}if(this[_0x35fc1a(0x228)]){this[_0x35fc1a(0x192)]=_0x261af5,this['decompress'](_0x14cc81,_0x463b44);return;}_0x14cc81[_0x35fc1a(0xc3)]&&(this['_messageLength']=this['_totalPayloadLength'],this[_0x35fc1a(0xce)]['push'](_0x14cc81)),this[_0x35fc1a(0x11e)](_0x463b44);}['decompress'](_0x515293,_0x3c0b89){const _0x2e4188=_0x3edd39;this[_0x2e4188(0x176)][_0x9a30e4[_0x2e4188(0x23a)]][_0x2e4188(0x16a)](_0x515293,this['_fin'],(_0x419ae6,_0x30bfb9)=>{const _0x5a6d35=_0x2e4188;if(_0x419ae6)return _0x3c0b89(_0x419ae6);if(_0x30bfb9[_0x5a6d35(0xc3)]){if(this[_0x5a6d35(0x200)]+=_0x30bfb9['length'],this[_0x5a6d35(0x200)]>this['_maxPayload']&&this[_0x5a6d35(0x16f)]>0x0){const _0x26ddf4=this[_0x5a6d35(0x79)](RangeError,_0x5a6d35(0xd5),!0x1,0x3f1,_0x5a6d35(0x95));_0x3c0b89(_0x26ddf4);return;}this[_0x5a6d35(0xce)][_0x5a6d35(0xbc)](_0x30bfb9);}this[_0x5a6d35(0x11e)](_0x3c0b89),this[_0x5a6d35(0x192)]===_0x31a7eb&&this[_0x5a6d35(0x179)](_0x3c0b89);});}[_0x3edd39(0x11e)](_0x390de9){const _0x23c7b5=_0x3edd39;if(!this[_0x23c7b5(0xf9)]){this[_0x23c7b5(0x192)]=_0x31a7eb;return;}const _0x5c55ef=this[_0x23c7b5(0x200)],_0x21a6c1=this[_0x23c7b5(0xce)];if(this['_totalPayloadLength']=0x0,this['_messageLength']=0x0,this[_0x23c7b5(0x185)]=0x0,this[_0x23c7b5(0xce)]=[],this[_0x23c7b5(0x120)]===0x2){let _0x4c9a4b;this[_0x23c7b5(0x178)]===_0x23c7b5(0x9e)?_0x4c9a4b=_0x44be2b(_0x21a6c1,_0x5c55ef):this[_0x23c7b5(0x178)]===_0x23c7b5(0x1fe)?_0x4c9a4b=_0x40f9d5(_0x44be2b(_0x21a6c1,_0x5c55ef)):this[_0x23c7b5(0x178)]===_0x23c7b5(0x8e)?_0x4c9a4b=new Blob(_0x21a6c1):_0x4c9a4b=_0x21a6c1,this[_0x23c7b5(0x234)]?(this['emit'](_0x23c7b5(0x1f9),_0x4c9a4b,!0x0),this[_0x23c7b5(0x192)]=_0x31a7eb):(this[_0x23c7b5(0x192)]=_0x28e6b0,setImmediate(()=>{const _0x590287=_0x23c7b5;this[_0x590287(0x112)](_0x590287(0x1f9),_0x4c9a4b,!0x0),this['_state']=_0x31a7eb,this[_0x590287(0x179)](_0x390de9);}));}else{const _0x4efdf3=_0x44be2b(_0x21a6c1,_0x5c55ef);if(!this[_0x23c7b5(0x145)]&&!_0x2acb45(_0x4efdf3)){const _0x5576d9=this[_0x23c7b5(0x79)](Error,_0x23c7b5(0xbb),!0x0,0x3ef,_0x23c7b5(0x1cd));_0x390de9(_0x5576d9);return;}this[_0x23c7b5(0x192)]===_0x261af5||this['_allowSynchronousEvents']?(this['emit'](_0x23c7b5(0x1f9),_0x4efdf3,!0x1),this[_0x23c7b5(0x192)]=_0x31a7eb):(this[_0x23c7b5(0x192)]=_0x28e6b0,setImmediate(()=>{const _0x5419d1=_0x23c7b5;this[_0x5419d1(0x112)]('message',_0x4efdf3,!0x1),this[_0x5419d1(0x192)]=_0x31a7eb,this[_0x5419d1(0x179)](_0x390de9);}));}}['controlMessage'](_0x3ca8a7,_0x405880){const _0x20c6da=_0x3edd39;if(this[_0x20c6da(0x120)]===0x8){if(_0x3ca8a7['length']===0x0)this[_0x20c6da(0x151)]=!0x1,this[_0x20c6da(0x112)](_0x20c6da(0x212),0x3ed,_0x47816c),this[_0x20c6da(0x88)]();else{const _0x557e2b=_0x3ca8a7['readUInt16BE'](0x0);if(!_0x398f19(_0x557e2b)){const _0x17a829=this[_0x20c6da(0x79)](RangeError,_0x20c6da(0xb5)+_0x557e2b,!0x0,0x3ea,_0x20c6da(0x182));_0x405880(_0x17a829);return;}const _0x31c20f=new _0x58f920(_0x3ca8a7[_0x20c6da(0x11d)],_0x3ca8a7['byteOffset']+0x2,_0x3ca8a7[_0x20c6da(0xc3)]-0x2);if(!this[_0x20c6da(0x145)]&&!_0x2acb45(_0x31c20f)){const _0x442400=this['createError'](Error,_0x20c6da(0xbb),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x405880(_0x442400);return;}this[_0x20c6da(0x151)]=!0x1,this['emit'](_0x20c6da(0x212),_0x557e2b,_0x31c20f),this[_0x20c6da(0x88)]();}this['_state']=_0x31a7eb;return;}this[_0x20c6da(0x234)]?(this[_0x20c6da(0x112)](this[_0x20c6da(0x120)]===0x9?_0x20c6da(0x134):_0x20c6da(0x219),_0x3ca8a7),this['_state']=_0x31a7eb):(this[_0x20c6da(0x192)]=_0x28e6b0,setImmediate(()=>{const _0x1191d4=_0x20c6da;this[_0x1191d4(0x112)](this[_0x1191d4(0x120)]===0x9?_0x1191d4(0x134):_0x1191d4(0x219),_0x3ca8a7),this[_0x1191d4(0x192)]=_0x31a7eb,this[_0x1191d4(0x179)](_0x405880);}));}[_0x3edd39(0x79)](_0x172193,_0x1bd7b1,_0x1cc602,_0x8b909c,_0x721c74){const _0xc143e=_0x3edd39;this[_0xc143e(0x151)]=!0x1,this[_0xc143e(0x1cf)]=!0x0;const _0x5e0000=new _0x172193(_0x1cc602?_0xc143e(0x209)+_0x1bd7b1:_0x1bd7b1);return Error[_0xc143e(0x14c)](_0x5e0000,this['createError']),_0x5e0000[_0xc143e(0x21c)]=_0x721c74,_0x5e0000[_0x37f609]=_0x8b909c,_0x5e0000;}}return Se=_0x52c052,Se;}var Ee,Xe;function ft(){const _0xcc8ff7=_0x54d721;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x551e23}=oe,{randomFillSync:_0x20899e}=Le,_0x485c85=he(),{EMPTY_BUFFER:_0x1413b1,kWebSocket:_0x3959bd,NOOP:_0x5767ce}=H(),{isBlob:_0xcb6c62,isValidStatusCode:_0x55f467}=ae(),{mask:_0x1c7b9c,toBuffer:_0x400397}=ce(),_0x2a1b3b=Symbol(_0xcc8ff7(0xa9)),_0x2aff2b=Buffer[_0xcc8ff7(0x198)](0x4),_0x1b2929=0x8*0x400;let _0x3ea9a7,_0x40ba10=_0x1b2929;const _0x229d54=0x0,_0x581c77=0x1,_0x4c91b4=0x2;class _0x2dfadb{constructor(_0x59d55c,_0x2586da,_0x37d9ff){const _0x59b6b1=_0xcc8ff7;this['_extensions']=_0x2586da||{},_0x37d9ff&&(this[_0x59b6b1(0x1f7)]=_0x37d9ff,this['_maskBuffer']=Buffer[_0x59b6b1(0x198)](0x4)),this['_socket']=_0x59d55c,this[_0x59b6b1(0x138)]=!0x0,this['_compress']=!0x1,this[_0x59b6b1(0x1f3)]=0x0,this['_queue']=[],this[_0x59b6b1(0x192)]=_0x229d54,this['onerror']=_0x5767ce,this[_0x3959bd]=void 0x0;}static['frame'](_0x2e9121,_0x394c2c){const _0x1c053d=_0xcc8ff7;let _0x15b5ed,_0x2bc929=!0x1,_0x564472=0x2,_0x2e2996=!0x1;_0x394c2c['mask']&&(_0x15b5ed=_0x394c2c[_0x1c053d(0x80)]||_0x2aff2b,_0x394c2c[_0x1c053d(0x161)]?_0x394c2c[_0x1c053d(0x161)](_0x15b5ed):(_0x40ba10===_0x1b2929&&(_0x3ea9a7===void 0x0&&(_0x3ea9a7=Buffer['alloc'](_0x1b2929)),_0x20899e(_0x3ea9a7,0x0,_0x1b2929),_0x40ba10=0x0),_0x15b5ed[0x0]=_0x3ea9a7[_0x40ba10++],_0x15b5ed[0x1]=_0x3ea9a7[_0x40ba10++],_0x15b5ed[0x2]=_0x3ea9a7[_0x40ba10++],_0x15b5ed[0x3]=_0x3ea9a7[_0x40ba10++]),_0x2e2996=(_0x15b5ed[0x0]|_0x15b5ed[0x1]|_0x15b5ed[0x2]|_0x15b5ed[0x3])===0x0,_0x564472=0x6);let _0x27eaca;typeof _0x2e9121=='string'?(!_0x394c2c[_0x1c053d(0x210)]||_0x2e2996)&&_0x394c2c[_0x2a1b3b]!==void 0x0?_0x27eaca=_0x394c2c[_0x2a1b3b]:(_0x2e9121=Buffer[_0x1c053d(0x78)](_0x2e9121),_0x27eaca=_0x2e9121[_0x1c053d(0xc3)]):(_0x27eaca=_0x2e9121[_0x1c053d(0xc3)],_0x2bc929=_0x394c2c[_0x1c053d(0x210)]&&_0x394c2c[_0x1c053d(0x126)]&&!_0x2e2996);let _0x550acf=_0x27eaca;_0x27eaca>=0x10000?(_0x564472+=0x8,_0x550acf=0x7f):_0x27eaca>0x7d&&(_0x564472+=0x2,_0x550acf=0x7e);const _0x5da6ff=Buffer[_0x1c053d(0x216)](_0x2bc929?_0x27eaca+_0x564472:_0x564472);return _0x5da6ff[0x0]=_0x394c2c[_0x1c053d(0xbe)]?_0x394c2c[_0x1c053d(0x1c6)]|0x80:_0x394c2c['opcode'],_0x394c2c[_0x1c053d(0x1b7)]&&(_0x5da6ff[0x0]|=0x40),_0x5da6ff[0x1]=_0x550acf,_0x550acf===0x7e?_0x5da6ff[_0x1c053d(0x1c0)](_0x27eaca,0x2):_0x550acf===0x7f&&(_0x5da6ff[0x2]=_0x5da6ff[0x3]=0x0,_0x5da6ff['writeUIntBE'](_0x27eaca,0x4,0x6)),_0x394c2c[_0x1c053d(0x210)]?(_0x5da6ff[0x1]|=0x80,_0x5da6ff[_0x564472-0x4]=_0x15b5ed[0x0],_0x5da6ff[_0x564472-0x3]=_0x15b5ed[0x1],_0x5da6ff[_0x564472-0x2]=_0x15b5ed[0x2],_0x5da6ff[_0x564472-0x1]=_0x15b5ed[0x3],_0x2e2996?[_0x5da6ff,_0x2e9121]:_0x2bc929?(_0x1c7b9c(_0x2e9121,_0x15b5ed,_0x5da6ff,_0x564472,_0x27eaca),[_0x5da6ff]):(_0x1c7b9c(_0x2e9121,_0x15b5ed,_0x2e9121,0x0,_0x27eaca),[_0x5da6ff,_0x2e9121])):[_0x5da6ff,_0x2e9121];}[_0xcc8ff7(0x220)](_0x5c57db,_0x187956,_0xbeef94,_0x4faf58){const _0x5b8e65=_0xcc8ff7;let _0x3074e2;if(_0x5c57db===void 0x0)_0x3074e2=_0x1413b1;else{if(typeof _0x5c57db!='number'||!_0x55f467(_0x5c57db))throw new TypeError(_0x5b8e65(0x21f));if(_0x187956===void 0x0||!_0x187956[_0x5b8e65(0xc3)])_0x3074e2=Buffer[_0x5b8e65(0x216)](0x2),_0x3074e2[_0x5b8e65(0x1c0)](_0x5c57db,0x0);else{const _0x2317b0=Buffer['byteLength'](_0x187956);if(_0x2317b0>0x7b)throw new RangeError(_0x5b8e65(0x97));_0x3074e2=Buffer[_0x5b8e65(0x216)](0x2+_0x2317b0),_0x3074e2[_0x5b8e65(0x1c0)](_0x5c57db,0x0),typeof _0x187956==_0x5b8e65(0x1f6)?_0x3074e2[_0x5b8e65(0x204)](_0x187956,0x2):_0x3074e2[_0x5b8e65(0x10f)](_0x187956,0x2);}}const _0x28f095={[_0x2a1b3b]:_0x3074e2[_0x5b8e65(0xc3)],'fin':!0x0,'generateMask':this[_0x5b8e65(0x1f7)],'mask':_0xbeef94,'maskBuffer':this[_0x5b8e65(0xff)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x5b8e65(0x192)]!==_0x229d54?this[_0x5b8e65(0x9f)]([this[_0x5b8e65(0x19d)],_0x3074e2,!0x1,_0x28f095,_0x4faf58]):this[_0x5b8e65(0x116)](_0x2dfadb[_0x5b8e65(0x243)](_0x3074e2,_0x28f095),_0x4faf58);}[_0xcc8ff7(0x134)](_0x1de385,_0x3cd75e,_0x1624e8){const _0x426961=_0xcc8ff7;let _0x415d46,_0xeb0159;if(typeof _0x1de385==_0x426961(0x1f6)?(_0x415d46=Buffer[_0x426961(0x22b)](_0x1de385),_0xeb0159=!0x1):_0xcb6c62(_0x1de385)?(_0x415d46=_0x1de385[_0x426961(0xd9)],_0xeb0159=!0x1):(_0x1de385=_0x400397(_0x1de385),_0x415d46=_0x1de385[_0x426961(0xc3)],_0xeb0159=_0x400397[_0x426961(0x126)]),_0x415d46>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x5dcba6={[_0x2a1b3b]:_0x415d46,'fin':!0x0,'generateMask':this[_0x426961(0x1f7)],'mask':_0x3cd75e,'maskBuffer':this[_0x426961(0xff)],'opcode':0x9,'readOnly':_0xeb0159,'rsv1':!0x1};_0xcb6c62(_0x1de385)?this['_state']!==_0x229d54?this[_0x426961(0x9f)]([this['getBlobData'],_0x1de385,!0x1,_0x5dcba6,_0x1624e8]):this[_0x426961(0x186)](_0x1de385,!0x1,_0x5dcba6,_0x1624e8):this['_state']!==_0x229d54?this[_0x426961(0x9f)]([this[_0x426961(0x19d)],_0x1de385,!0x1,_0x5dcba6,_0x1624e8]):this['sendFrame'](_0x2dfadb[_0x426961(0x243)](_0x1de385,_0x5dcba6),_0x1624e8);}[_0xcc8ff7(0x219)](_0x1bc117,_0x1fa754,_0x2ee407){const _0x55abc1=_0xcc8ff7;let _0x7b8988,_0x4e3f1c;if(typeof _0x1bc117=='string'?(_0x7b8988=Buffer['byteLength'](_0x1bc117),_0x4e3f1c=!0x1):_0xcb6c62(_0x1bc117)?(_0x7b8988=_0x1bc117['size'],_0x4e3f1c=!0x1):(_0x1bc117=_0x400397(_0x1bc117),_0x7b8988=_0x1bc117[_0x55abc1(0xc3)],_0x4e3f1c=_0x400397[_0x55abc1(0x126)]),_0x7b8988>0x7d)throw new RangeError(_0x55abc1(0x195));const _0x309c92={[_0x2a1b3b]:_0x7b8988,'fin':!0x0,'generateMask':this[_0x55abc1(0x1f7)],'mask':_0x1fa754,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x4e3f1c,'rsv1':!0x1};_0xcb6c62(_0x1bc117)?this[_0x55abc1(0x192)]!==_0x229d54?this[_0x55abc1(0x9f)]([this['getBlobData'],_0x1bc117,!0x1,_0x309c92,_0x2ee407]):this[_0x55abc1(0x186)](_0x1bc117,!0x1,_0x309c92,_0x2ee407):this[_0x55abc1(0x192)]!==_0x229d54?this[_0x55abc1(0x9f)]([this['dispatch'],_0x1bc117,!0x1,_0x309c92,_0x2ee407]):this['sendFrame'](_0x2dfadb[_0x55abc1(0x243)](_0x1bc117,_0x309c92),_0x2ee407);}[_0xcc8ff7(0x1a8)](_0x44d745,_0x325653,_0x1ec722){const _0x4d7416=_0xcc8ff7,_0x1d0594=this['_extensions'][_0x485c85[_0x4d7416(0x23a)]];let _0x26b8aa=_0x325653[_0x4d7416(0x142)]?0x2:0x1,_0x47414=_0x325653[_0x4d7416(0x90)],_0x29bc5,_0xebc793;typeof _0x44d745=='string'?(_0x29bc5=Buffer[_0x4d7416(0x22b)](_0x44d745),_0xebc793=!0x1):_0xcb6c62(_0x44d745)?(_0x29bc5=_0x44d745[_0x4d7416(0xd9)],_0xebc793=!0x1):(_0x44d745=_0x400397(_0x44d745),_0x29bc5=_0x44d745['length'],_0xebc793=_0x400397[_0x4d7416(0x126)]),this[_0x4d7416(0x138)]?(this[_0x4d7416(0x138)]=!0x1,_0x47414&&_0x1d0594&&_0x1d0594['params'][_0x1d0594[_0x4d7416(0x13e)]?_0x4d7416(0x14d):_0x4d7416(0x150)]&&(_0x47414=_0x29bc5>=_0x1d0594[_0x4d7416(0x222)]),this['_compress']=_0x47414):(_0x47414=!0x1,_0x26b8aa=0x0),_0x325653[_0x4d7416(0xbe)]&&(this['_firstFragment']=!0x0);const _0xd880cb={[_0x2a1b3b]:_0x29bc5,'fin':_0x325653['fin'],'generateMask':this[_0x4d7416(0x1f7)],'mask':_0x325653[_0x4d7416(0x210)],'maskBuffer':this['_maskBuffer'],'opcode':_0x26b8aa,'readOnly':_0xebc793,'rsv1':_0x47414};_0xcb6c62(_0x44d745)?this[_0x4d7416(0x192)]!==_0x229d54?this['enqueue']([this[_0x4d7416(0x186)],_0x44d745,this[_0x4d7416(0x15c)],_0xd880cb,_0x1ec722]):this[_0x4d7416(0x186)](_0x44d745,this['_compress'],_0xd880cb,_0x1ec722):this[_0x4d7416(0x192)]!==_0x229d54?this[_0x4d7416(0x9f)]([this[_0x4d7416(0x19d)],_0x44d745,this[_0x4d7416(0x15c)],_0xd880cb,_0x1ec722]):this[_0x4d7416(0x19d)](_0x44d745,this[_0x4d7416(0x15c)],_0xd880cb,_0x1ec722);}['getBlobData'](_0x205ff9,_0x1f7ed6,_0x8ba74e,_0x23f0d2){const _0x16b40a=_0xcc8ff7;this[_0x16b40a(0x1f3)]+=_0x8ba74e[_0x2a1b3b],this[_0x16b40a(0x192)]=_0x4c91b4,_0x205ff9[_0x16b40a(0xdf)]()[_0x16b40a(0x133)](_0x2881f5=>{const _0x2e7d3e=_0x16b40a;if(this[_0x2e7d3e(0x1e3)][_0x2e7d3e(0x197)]){const _0x4d2ccc=new Error('The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read');process[_0x2e7d3e(0x104)](_0x4c672e,this,_0x4d2ccc,_0x23f0d2);return;}this['_bufferedBytes']-=_0x8ba74e[_0x2a1b3b];const _0xe98d19=_0x400397(_0x2881f5);_0x1f7ed6?this['dispatch'](_0xe98d19,_0x1f7ed6,_0x8ba74e,_0x23f0d2):(this[_0x2e7d3e(0x192)]=_0x229d54,this['sendFrame'](_0x2dfadb[_0x2e7d3e(0x243)](_0xe98d19,_0x8ba74e),_0x23f0d2),this[_0x2e7d3e(0x1ce)]());})[_0x16b40a(0x12f)](_0x46d7be=>{const _0x59c80f=_0x16b40a;process[_0x59c80f(0x104)](_0x32e094,this,_0x46d7be,_0x23f0d2);});}[_0xcc8ff7(0x19d)](_0x19b0a5,_0x3c7b71,_0x248faf,_0x919d5a){const _0x1e0dc1=_0xcc8ff7;if(!_0x3c7b71){this[_0x1e0dc1(0x116)](_0x2dfadb[_0x1e0dc1(0x243)](_0x19b0a5,_0x248faf),_0x919d5a);return;}const _0xc69839=this[_0x1e0dc1(0x176)][_0x485c85['extensionName']];this['_bufferedBytes']+=_0x248faf[_0x2a1b3b],this[_0x1e0dc1(0x192)]=_0x581c77,_0xc69839['compress'](_0x19b0a5,_0x248faf['fin'],(_0x4b1f36,_0x275abe)=>{const _0x26473a=_0x1e0dc1;if(this[_0x26473a(0x1e3)][_0x26473a(0x197)]){const _0x33e2ea=new Error(_0x26473a(0x20a));_0x4c672e(this,_0x33e2ea,_0x919d5a);return;}this[_0x26473a(0x1f3)]-=_0x248faf[_0x2a1b3b],this[_0x26473a(0x192)]=_0x229d54,_0x248faf[_0x26473a(0x126)]=!0x1,this[_0x26473a(0x116)](_0x2dfadb[_0x26473a(0x243)](_0x275abe,_0x248faf),_0x919d5a),this[_0x26473a(0x1ce)]();});}[_0xcc8ff7(0x1ce)](){const _0x2b13ae=_0xcc8ff7;for(;this[_0x2b13ae(0x192)]===_0x229d54&&this[_0x2b13ae(0xd2)][_0x2b13ae(0xc3)];){const _0x3213a5=this['_queue']['shift']();this[_0x2b13ae(0x1f3)]-=_0x3213a5[0x3][_0x2a1b3b],Reflect[_0x2b13ae(0xd3)](_0x3213a5[0x0],this,_0x3213a5[_0x2b13ae(0x111)](0x1));}}[_0xcc8ff7(0x9f)](_0x15d049){const _0x181e4f=_0xcc8ff7;this['_bufferedBytes']+=_0x15d049[0x3][_0x2a1b3b],this[_0x181e4f(0xd2)][_0x181e4f(0xbc)](_0x15d049);}[_0xcc8ff7(0x116)](_0x307b59,_0x155bb7){const _0xd09dbe=_0xcc8ff7;_0x307b59[_0xd09dbe(0xc3)]===0x2?(this[_0xd09dbe(0x1e3)][_0xd09dbe(0x18d)](),this['_socket'][_0xd09dbe(0x204)](_0x307b59[0x0]),this[_0xd09dbe(0x1e3)][_0xd09dbe(0x204)](_0x307b59[0x1],_0x155bb7),this[_0xd09dbe(0x1e3)]['uncork']()):this['_socket'][_0xd09dbe(0x204)](_0x307b59[0x0],_0x155bb7);}}Ee=_0x2dfadb;function _0x4c672e(_0x4d742d,_0x58d5a2,_0x5f033f){const _0xa3219f=_0xcc8ff7;typeof _0x5f033f==_0xa3219f(0xb6)&&_0x5f033f(_0x58d5a2);for(let _0x4e78e6=0x0;_0x4e78e6<_0x4d742d[_0xa3219f(0xd2)][_0xa3219f(0xc3)];_0x4e78e6++){const _0x1b4c9a=_0x4d742d[_0xa3219f(0xd2)][_0x4e78e6],_0x19e90d=_0x1b4c9a[_0x1b4c9a['length']-0x1];typeof _0x19e90d=='function'&&_0x19e90d(_0x58d5a2);}}function _0x32e094(_0x5e007d,_0x40023a,_0xf04f0a){const _0x5a65b6=_0xcc8ff7;_0x4c672e(_0x5e007d,_0x40023a,_0xf04f0a),_0x5e007d[_0x5a65b6(0x1c7)](_0x40023a);}return Ee;}var xe,Ze;function It(){const _0x105d8a=_0x54d721;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x463560,kListener:_0x432e89}=H(),_0x1dce56=Symbol(_0x105d8a(0x11b)),_0x1909d0=Symbol('kData'),_0x5f1558=Symbol(_0x105d8a(0xb3)),_0x4e04a2=Symbol(_0x105d8a(0x16b)),_0x42e234=Symbol(_0x105d8a(0x19c)),_0x54c902=Symbol('kTarget'),_0x297167=Symbol(_0x105d8a(0xd7)),_0x4bef97=Symbol('kWasClean');class _0x551817{constructor(_0x37cf6e){this[_0x54c902]=null,this[_0x297167]=_0x37cf6e;}get[_0x105d8a(0x23d)](){return this[_0x54c902];}get[_0x105d8a(0x89)](){return this[_0x297167];}}Object[_0x105d8a(0x15b)](_0x551817[_0x105d8a(0xb9)],_0x105d8a(0x23d),{'enumerable':!0x0}),Object['defineProperty'](_0x551817['prototype'],'type',{'enumerable':!0x0});class _0x1e8276 extends _0x551817{constructor(_0x373dab,_0x11e8bf={}){const _0xe863de=_0x105d8a;super(_0x373dab),this[_0x1dce56]=_0x11e8bf[_0xe863de(0x21c)]===void 0x0?0x0:_0x11e8bf[_0xe863de(0x21c)],this[_0x42e234]=_0x11e8bf[_0xe863de(0xe0)]===void 0x0?'':_0x11e8bf[_0xe863de(0xe0)],this[_0x4bef97]=_0x11e8bf[_0xe863de(0x125)]===void 0x0?!0x1:_0x11e8bf['wasClean'];}get['code'](){return this[_0x1dce56];}get[_0x105d8a(0xe0)](){return this[_0x42e234];}get[_0x105d8a(0x125)](){return this[_0x4bef97];}}Object['defineProperty'](_0x1e8276[_0x105d8a(0xb9)],_0x105d8a(0x21c),{'enumerable':!0x0}),Object[_0x105d8a(0x15b)](_0x1e8276[_0x105d8a(0xb9)],'reason',{'enumerable':!0x0}),Object[_0x105d8a(0x15b)](_0x1e8276[_0x105d8a(0xb9)],'wasClean',{'enumerable':!0x0});class _0x26d12b extends _0x551817{constructor(_0x44dcd3,_0x435c73={}){const _0x335749=_0x105d8a;super(_0x44dcd3),this[_0x5f1558]=_0x435c73['error']===void 0x0?null:_0x435c73[_0x335749(0x1db)],this[_0x4e04a2]=_0x435c73[_0x335749(0x1f9)]===void 0x0?'':_0x435c73['message'];}get[_0x105d8a(0x1db)](){return this[_0x5f1558];}get[_0x105d8a(0x1f9)](){return this[_0x4e04a2];}}Object[_0x105d8a(0x15b)](_0x26d12b['prototype'],_0x105d8a(0x1db),{'enumerable':!0x0}),Object[_0x105d8a(0x15b)](_0x26d12b[_0x105d8a(0xb9)],_0x105d8a(0x1f9),{'enumerable':!0x0});class _0x49fae7 extends _0x551817{constructor(_0x388797,_0x133d7f={}){const _0x11ff11=_0x105d8a;super(_0x388797),this[_0x1909d0]=_0x133d7f[_0x11ff11(0x14b)]===void 0x0?null:_0x133d7f[_0x11ff11(0x14b)];}get['data'](){return this[_0x1909d0];}}Object['defineProperty'](_0x49fae7[_0x105d8a(0xb9)],_0x105d8a(0x14b),{'enumerable':!0x0}),xe={'CloseEvent':_0x1e8276,'ErrorEvent':_0x26d12b,'Event':_0x551817,'EventTarget':{'addEventListener'(_0x5cee50,_0x7dcb92,_0x578c83={}){const _0x4e9e6d=_0x105d8a;for(const _0x405de9 of this[_0x4e9e6d(0x177)](_0x5cee50))if(!_0x578c83[_0x463560]&&_0x405de9[_0x432e89]===_0x7dcb92&&!_0x405de9[_0x463560])return;let _0x493d0f;if(_0x5cee50===_0x4e9e6d(0x1f9))_0x493d0f=function(_0x5d00a4,_0x5600e9){const _0x279e86=_0x4e9e6d,_0x2714e3=new _0x49fae7(_0x279e86(0x1f9),{'data':_0x5600e9?_0x5d00a4:_0x5d00a4['toString']()});_0x2714e3[_0x54c902]=this,_0x2e8b5a(_0x7dcb92,this,_0x2714e3);};else{if(_0x5cee50===_0x4e9e6d(0x220))_0x493d0f=function(_0xdf4c53,_0x314d6e){const _0x40e0bb=_0x4e9e6d,_0x30dbbd=new _0x1e8276('close',{'code':_0xdf4c53,'reason':_0x314d6e[_0x40e0bb(0xb4)](),'wasClean':this[_0x40e0bb(0xee)]&&this[_0x40e0bb(0x21a)]});_0x30dbbd[_0x54c902]=this,_0x2e8b5a(_0x7dcb92,this,_0x30dbbd);};else{if(_0x5cee50===_0x4e9e6d(0x1db))_0x493d0f=function(_0x51a022){const _0x3c9a95=_0x4e9e6d,_0x70ad25=new _0x26d12b(_0x3c9a95(0x1db),{'error':_0x51a022,'message':_0x51a022[_0x3c9a95(0x1f9)]});_0x70ad25[_0x54c902]=this,_0x2e8b5a(_0x7dcb92,this,_0x70ad25);};else{if(_0x5cee50===_0x4e9e6d(0xa0))_0x493d0f=function(){const _0x1377c2=new _0x551817('open');_0x1377c2[_0x54c902]=this,_0x2e8b5a(_0x7dcb92,this,_0x1377c2);};else return;}}}_0x493d0f[_0x463560]=!!_0x578c83[_0x463560],_0x493d0f[_0x432e89]=_0x7dcb92,_0x578c83['once']?this[_0x4e9e6d(0x83)](_0x5cee50,_0x493d0f):this['on'](_0x5cee50,_0x493d0f);},'removeEventListener'(_0x1b75ab,_0x3d7398){const _0x4e0c7b=_0x105d8a;for(const _0x1ec5d5 of this['listeners'](_0x1b75ab))if(_0x1ec5d5[_0x432e89]===_0x3d7398&&!_0x1ec5d5[_0x463560]){this[_0x4e0c7b(0x7e)](_0x1b75ab,_0x1ec5d5);break;}}},'MessageEvent':_0x49fae7};function _0x2e8b5a(_0x547c14,_0x9f359f,_0x3e6f53){const _0x39e1f7=_0x105d8a;typeof _0x547c14==_0x39e1f7(0x242)&&_0x547c14[_0x39e1f7(0xf2)]?_0x547c14[_0x39e1f7(0xf2)]['call'](_0x547c14,_0x3e6f53):_0x547c14[_0x39e1f7(0x1c1)](_0x9f359f,_0x3e6f53);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x5e70da}=ae();function _0x57a163(_0x4b2744,_0x322bd9,_0x4afb2d){const _0x259770=_0x59da;_0x4b2744[_0x322bd9]===void 0x0?_0x4b2744[_0x322bd9]=[_0x4afb2d]:_0x4b2744[_0x322bd9][_0x259770(0xbc)](_0x4afb2d);}function _0xe225ab(_0x53810f){const _0x2b6d67=_0x59da,_0x195460=Object[_0x2b6d67(0x15e)](null);let _0x13e6b5=Object[_0x2b6d67(0x15e)](null),_0x2f4252=!0x1,_0x3ee5a1=!0x1,_0x1bf752=!0x1,_0x6da76c,_0x3e39f9,_0x59197e=-0x1,_0x26249a=-0x1,_0x43fe38=-0x1,_0x4e5e0d=0x0;for(;_0x4e5e0d<_0x53810f[_0x2b6d67(0xc3)];_0x4e5e0d++)if(_0x26249a=_0x53810f[_0x2b6d67(0x1af)](_0x4e5e0d),_0x6da76c===void 0x0){if(_0x43fe38===-0x1&&_0x5e70da[_0x26249a]===0x1)_0x59197e===-0x1&&(_0x59197e=_0x4e5e0d);else{if(_0x4e5e0d!==0x0&&(_0x26249a===0x20||_0x26249a===0x9))_0x43fe38===-0x1&&_0x59197e!==-0x1&&(_0x43fe38=_0x4e5e0d);else{if(_0x26249a===0x3b||_0x26249a===0x2c){if(_0x59197e===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x4e5e0d);_0x43fe38===-0x1&&(_0x43fe38=_0x4e5e0d);const _0x2f2b54=_0x53810f[_0x2b6d67(0x111)](_0x59197e,_0x43fe38);_0x26249a===0x2c?(_0x57a163(_0x195460,_0x2f2b54,_0x13e6b5),_0x13e6b5=Object[_0x2b6d67(0x15e)](null)):_0x6da76c=_0x2f2b54,_0x59197e=_0x43fe38=-0x1;}else throw new SyntaxError(_0x2b6d67(0x123)+_0x4e5e0d);}}}else{if(_0x3e39f9===void 0x0){if(_0x43fe38===-0x1&&_0x5e70da[_0x26249a]===0x1)_0x59197e===-0x1&&(_0x59197e=_0x4e5e0d);else{if(_0x26249a===0x20||_0x26249a===0x9)_0x43fe38===-0x1&&_0x59197e!==-0x1&&(_0x43fe38=_0x4e5e0d);else{if(_0x26249a===0x3b||_0x26249a===0x2c){if(_0x59197e===-0x1)throw new SyntaxError(_0x2b6d67(0x123)+_0x4e5e0d);_0x43fe38===-0x1&&(_0x43fe38=_0x4e5e0d),_0x57a163(_0x13e6b5,_0x53810f[_0x2b6d67(0x111)](_0x59197e,_0x43fe38),!0x0),_0x26249a===0x2c&&(_0x57a163(_0x195460,_0x6da76c,_0x13e6b5),_0x13e6b5=Object['create'](null),_0x6da76c=void 0x0),_0x59197e=_0x43fe38=-0x1;}else{if(_0x26249a===0x3d&&_0x59197e!==-0x1&&_0x43fe38===-0x1)_0x3e39f9=_0x53810f[_0x2b6d67(0x111)](_0x59197e,_0x4e5e0d),_0x59197e=_0x43fe38=-0x1;else throw new SyntaxError(_0x2b6d67(0x123)+_0x4e5e0d);}}}}else{if(_0x3ee5a1){if(_0x5e70da[_0x26249a]!==0x1)throw new SyntaxError(_0x2b6d67(0x123)+_0x4e5e0d);_0x59197e===-0x1?_0x59197e=_0x4e5e0d:_0x2f4252||(_0x2f4252=!0x0),_0x3ee5a1=!0x1;}else{if(_0x1bf752){if(_0x5e70da[_0x26249a]===0x1)_0x59197e===-0x1&&(_0x59197e=_0x4e5e0d);else{if(_0x26249a===0x22&&_0x59197e!==-0x1)_0x1bf752=!0x1,_0x43fe38=_0x4e5e0d;else{if(_0x26249a===0x5c)_0x3ee5a1=!0x0;else throw new SyntaxError(_0x2b6d67(0x123)+_0x4e5e0d);}}}else{if(_0x26249a===0x22&&_0x53810f[_0x2b6d67(0x1af)](_0x4e5e0d-0x1)===0x3d)_0x1bf752=!0x0;else{if(_0x43fe38===-0x1&&_0x5e70da[_0x26249a]===0x1)_0x59197e===-0x1&&(_0x59197e=_0x4e5e0d);else{if(_0x59197e!==-0x1&&(_0x26249a===0x20||_0x26249a===0x9))_0x43fe38===-0x1&&(_0x43fe38=_0x4e5e0d);else{if(_0x26249a===0x3b||_0x26249a===0x2c){if(_0x59197e===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x4e5e0d);_0x43fe38===-0x1&&(_0x43fe38=_0x4e5e0d);let _0x5ef154=_0x53810f['slice'](_0x59197e,_0x43fe38);_0x2f4252&&(_0x5ef154=_0x5ef154['replace'](/\\/g,''),_0x2f4252=!0x1),_0x57a163(_0x13e6b5,_0x3e39f9,_0x5ef154),_0x26249a===0x2c&&(_0x57a163(_0x195460,_0x6da76c,_0x13e6b5),_0x13e6b5=Object[_0x2b6d67(0x15e)](null),_0x6da76c=void 0x0),_0x3e39f9=void 0x0,_0x59197e=_0x43fe38=-0x1;}else throw new SyntaxError(_0x2b6d67(0x123)+_0x4e5e0d);}}}}}}}if(_0x59197e===-0x1||_0x1bf752||_0x26249a===0x20||_0x26249a===0x9)throw new SyntaxError('Unexpected\x20end\x20of\x20input');_0x43fe38===-0x1&&(_0x43fe38=_0x4e5e0d);const _0x3444d5=_0x53810f[_0x2b6d67(0x111)](_0x59197e,_0x43fe38);return _0x6da76c===void 0x0?_0x57a163(_0x195460,_0x3444d5,_0x13e6b5):(_0x3e39f9===void 0x0?_0x57a163(_0x13e6b5,_0x3444d5,!0x0):_0x2f4252?_0x57a163(_0x13e6b5,_0x3e39f9,_0x3444d5[_0x2b6d67(0x20d)](/\\/g,'')):_0x57a163(_0x13e6b5,_0x3e39f9,_0x3444d5),_0x57a163(_0x195460,_0x6da76c,_0x13e6b5)),_0x195460;}function _0x50f9c1(_0x65de1){const _0x3efa08=_0x59da;return Object[_0x3efa08(0xf5)](_0x65de1)[_0x3efa08(0x18c)](_0x215d3a=>{const _0x41c8a8=_0x3efa08;let _0x439884=_0x65de1[_0x215d3a];return Array['isArray'](_0x439884)||(_0x439884=[_0x439884]),_0x439884[_0x41c8a8(0x18c)](_0x27f0e1=>[_0x215d3a][_0x41c8a8(0x1b0)](Object[_0x41c8a8(0xf5)](_0x27f0e1)[_0x41c8a8(0x18c)](_0x200c05=>{const _0x2a2639=_0x41c8a8;let _0x25cfa5=_0x27f0e1[_0x200c05];return Array['isArray'](_0x25cfa5)||(_0x25cfa5=[_0x25cfa5]),_0x25cfa5[_0x2a2639(0x18c)](_0x33e678=>_0x33e678===!0x0?_0x200c05:_0x200c05+'='+_0x33e678)[_0x2a2639(0xa8)](';\x20');}))[_0x41c8a8(0xa8)](';\x20'))[_0x41c8a8(0xa8)](',\x20');})[_0x3efa08(0xa8)](',\x20');}return be={'format':_0x50f9c1,'parse':_0xe225ab},be;}var we,Je;function Pe(){const _0x26bc00=_0x54d721;if(Je)return we;Je=0x1;const _0x46556f=nt,_0x1cf155=vt,_0x241b21=ot,_0x503ec7=St,_0x244aa1=Et,{randomBytes:_0x1785ea,createHash:_0x1fda34}=Le,{Duplex:_0x54aa64,Readable:_0x5b963}=oe,{URL:_0x34be8e}=xt,_0x4adc00=he(),_0x5d3450=lt(),_0xfcb1d2=ft(),{isBlob:_0x31fb54}=ae(),{BINARY_TYPES:_0x42ea45,EMPTY_BUFFER:_0x232726,GUID:_0x2a91d2,kForOnEventAttribute:_0x43f7d0,kListener:_0x4c5639,kStatusCode:_0x2d053f,kWebSocket:_0x2b0b7c,NOOP:_0x4c3ddc}=H(),{EventTarget:{addEventListener:_0x354cda,removeEventListener:_0x3b19f2}}=It(),{format:_0x1be172,parse:_0x379d89}=ct(),{toBuffer:_0x373b05}=ce(),_0x4ffb32=0x1e*0x3e8,_0x155edd=Symbol(_0x26bc00(0xc5)),_0x210fce=[0x8,0xd],_0x25339e=[_0x26bc00(0x191),_0x26bc00(0x119),_0x26bc00(0x1d4),_0x26bc00(0xde)],_0x10fc7b=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x55d697 extends _0x46556f{constructor(_0x4dfcbc,_0x165692,_0x594f51){const _0x4e93ee=_0x26bc00;super(),this[_0x4e93ee(0x178)]=_0x42ea45[0x0],this[_0x4e93ee(0x227)]=0x3ee,this[_0x4e93ee(0xee)]=!0x1,this[_0x4e93ee(0x21a)]=!0x1,this[_0x4e93ee(0x193)]=_0x232726,this[_0x4e93ee(0x17b)]=null,this[_0x4e93ee(0x201)]=!0x1,this['_extensions']={},this[_0x4e93ee(0x236)]=!0x1,this[_0x4e93ee(0x1c9)]='',this[_0x4e93ee(0x1d6)]=_0x55d697['CONNECTING'],this['_receiver']=null,this[_0x4e93ee(0x1dd)]=null,this['_socket']=null,_0x4dfcbc!==null?(this[_0x4e93ee(0x23e)]=0x0,this[_0x4e93ee(0x13e)]=!0x1,this[_0x4e93ee(0x226)]=0x0,_0x165692===void 0x0?_0x165692=[]:Array[_0x4e93ee(0xd4)](_0x165692)||(typeof _0x165692==_0x4e93ee(0x242)&&_0x165692!==null?(_0x594f51=_0x165692,_0x165692=[]):_0x165692=[_0x165692]),_0x64a53c(this,_0x4dfcbc,_0x165692,_0x594f51)):(this[_0x4e93ee(0x9b)]=_0x594f51[_0x4e93ee(0xdc)],this[_0x4e93ee(0x13e)]=!0x0);}get[_0x26bc00(0x128)](){return this['_binaryType'];}set[_0x26bc00(0x128)](_0x3ee18f){const _0x47f685=_0x26bc00;_0x42ea45[_0x47f685(0x239)](_0x3ee18f)&&(this[_0x47f685(0x178)]=_0x3ee18f,this['_receiver']&&(this['_receiver'][_0x47f685(0x178)]=_0x3ee18f));}get[_0x26bc00(0x121)](){const _0x18ffdf=_0x26bc00;return this[_0x18ffdf(0x1e3)]?this[_0x18ffdf(0x1e3)]['_writableState'][_0x18ffdf(0xc3)]+this[_0x18ffdf(0x1dd)]['_bufferedBytes']:this['_bufferedAmount'];}get[_0x26bc00(0xbd)](){const _0x214940=_0x26bc00;return Object[_0x214940(0xf5)](this[_0x214940(0x176)])[_0x214940(0xa8)]();}get[_0x26bc00(0xd1)](){const _0x28ba92=_0x26bc00;return this[_0x28ba92(0x236)];}get[_0x26bc00(0x207)](){return null;}get[_0x26bc00(0x1c7)](){return null;}get[_0x26bc00(0x17f)](){return null;}get[_0x26bc00(0x240)](){return null;}get[_0x26bc00(0x1aa)](){return this['_protocol'];}get[_0x26bc00(0x247)](){const _0x4b703a=_0x26bc00;return this[_0x4b703a(0x1d6)];}get[_0x26bc00(0xa2)](){const _0x5f183e=_0x26bc00;return this[_0x5f183e(0x13f)];}[_0x26bc00(0x168)](_0x28f64e,_0x5bf702,_0x4e60cd){const _0x210f2f=_0x26bc00,_0x30785b=new _0x5d3450({'allowSynchronousEvents':_0x4e60cd[_0x210f2f(0x174)],'binaryType':this['binaryType'],'extensions':this[_0x210f2f(0x176)],'isServer':this[_0x210f2f(0x13e)],'maxPayload':_0x4e60cd[_0x210f2f(0x127)],'skipUTF8Validation':_0x4e60cd['skipUTF8Validation']}),_0x5f40f1=new _0xfcb1d2(_0x28f64e,this[_0x210f2f(0x176)],_0x4e60cd[_0x210f2f(0x161)]);this[_0x210f2f(0x109)]=_0x30785b,this['_sender']=_0x5f40f1,this[_0x210f2f(0x1e3)]=_0x28f64e,_0x30785b[_0x2b0b7c]=this,_0x5f40f1[_0x2b0b7c]=this,_0x28f64e[_0x2b0b7c]=this,_0x30785b['on'](_0x210f2f(0x212),_0x4894ea),_0x30785b['on'](_0x210f2f(0x215),_0x3b66a2),_0x30785b['on'](_0x210f2f(0x1db),_0x2fbb25),_0x30785b['on'](_0x210f2f(0x1f9),_0x52fbde),_0x30785b['on'](_0x210f2f(0x134),_0xa74dff),_0x30785b['on'](_0x210f2f(0x219),_0x2469d7),_0x5f40f1[_0x210f2f(0x1c7)]=_0xfa2de4,_0x28f64e[_0x210f2f(0xaa)]&&_0x28f64e[_0x210f2f(0xaa)](0x0),_0x28f64e[_0x210f2f(0x143)]&&_0x28f64e[_0x210f2f(0x143)](),_0x5bf702[_0x210f2f(0xc3)]>0x0&&_0x28f64e[_0x210f2f(0x1f0)](_0x5bf702),_0x28f64e['on'](_0x210f2f(0x220),_0x334075),_0x28f64e['on'](_0x210f2f(0x14b),_0x4efd82),_0x28f64e['on'](_0x210f2f(0x88),_0x4e8ae1),_0x28f64e['on'](_0x210f2f(0x1db),_0x28e2ed),this['_readyState']=_0x55d697['OPEN'],this[_0x210f2f(0x112)](_0x210f2f(0xa0));}[_0x26bc00(0xaf)](){const _0x4c4434=_0x26bc00;if(!this[_0x4c4434(0x1e3)]){this[_0x4c4434(0x1d6)]=_0x55d697[_0x4c4434(0xde)],this['emit']('close',this[_0x4c4434(0x227)],this[_0x4c4434(0x193)]);return;}this[_0x4c4434(0x176)][_0x4adc00[_0x4c4434(0x23a)]]&&this['_extensions'][_0x4adc00[_0x4c4434(0x23a)]][_0x4c4434(0x106)](),this[_0x4c4434(0x109)][_0x4c4434(0xcd)](),this[_0x4c4434(0x1d6)]=_0x55d697[_0x4c4434(0xde)],this[_0x4c4434(0x112)](_0x4c4434(0x220),this[_0x4c4434(0x227)],this[_0x4c4434(0x193)]);}['close'](_0x15dd3f,_0x252222){const _0x4e0c17=_0x26bc00;if(this['readyState']!==_0x55d697[_0x4e0c17(0xde)]){if(this[_0x4e0c17(0x247)]===_0x55d697['CONNECTING']){_0x1496d4(this,this[_0x4e0c17(0x214)],_0x4e0c17(0x1d5));return;}if(this['readyState']===_0x55d697[_0x4e0c17(0x1d4)]){this[_0x4e0c17(0x21a)]&&(this[_0x4e0c17(0xee)]||this[_0x4e0c17(0x109)][_0x4e0c17(0x12b)][_0x4e0c17(0x19a)])&&this[_0x4e0c17(0x1e3)][_0x4e0c17(0x88)]();return;}this[_0x4e0c17(0x1d6)]=_0x55d697[_0x4e0c17(0x1d4)],this[_0x4e0c17(0x1dd)]['close'](_0x15dd3f,_0x252222,!this['_isServer'],_0x2ab9a6=>{const _0xf2bdb4=_0x4e0c17;_0x2ab9a6||(this[_0xf2bdb4(0x21a)]=!0x0,(this[_0xf2bdb4(0xee)]||this[_0xf2bdb4(0x109)][_0xf2bdb4(0x12b)]['errorEmitted'])&&this['_socket'][_0xf2bdb4(0x88)]());}),_0x4499ea(this);}}['pause'](){const _0x26bf8=_0x26bc00;this['readyState']===_0x55d697[_0x26bf8(0x191)]||this[_0x26bf8(0x247)]===_0x55d697[_0x26bf8(0xde)]||(this[_0x26bf8(0x236)]=!0x0,this[_0x26bf8(0x1e3)][_0x26bf8(0xe2)]());}['ping'](_0x316e4c,_0x2f6ec5,_0x5d8fe7){const _0x3c67fe=_0x26bc00;if(this['readyState']===_0x55d697[_0x3c67fe(0x191)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x316e4c==_0x3c67fe(0xb6)?(_0x5d8fe7=_0x316e4c,_0x316e4c=_0x2f6ec5=void 0x0):typeof _0x2f6ec5=='function'&&(_0x5d8fe7=_0x2f6ec5,_0x2f6ec5=void 0x0),typeof _0x316e4c=='number'&&(_0x316e4c=_0x316e4c[_0x3c67fe(0xb4)]()),this[_0x3c67fe(0x247)]!==_0x55d697['OPEN']){_0x45b8a9(this,_0x316e4c,_0x5d8fe7);return;}_0x2f6ec5===void 0x0&&(_0x2f6ec5=!this['_isServer']),this[_0x3c67fe(0x1dd)][_0x3c67fe(0x134)](_0x316e4c||_0x232726,_0x2f6ec5,_0x5d8fe7);}['pong'](_0x43857e,_0x220879,_0x2f614d){const _0x5e3bac=_0x26bc00;if(this[_0x5e3bac(0x247)]===_0x55d697[_0x5e3bac(0x191)])throw new Error(_0x5e3bac(0x199));if(typeof _0x43857e==_0x5e3bac(0xb6)?(_0x2f614d=_0x43857e,_0x43857e=_0x220879=void 0x0):typeof _0x220879==_0x5e3bac(0xb6)&&(_0x2f614d=_0x220879,_0x220879=void 0x0),typeof _0x43857e==_0x5e3bac(0x21d)&&(_0x43857e=_0x43857e[_0x5e3bac(0xb4)]()),this[_0x5e3bac(0x247)]!==_0x55d697[_0x5e3bac(0x119)]){_0x45b8a9(this,_0x43857e,_0x2f614d);return;}_0x220879===void 0x0&&(_0x220879=!this[_0x5e3bac(0x13e)]),this['_sender'][_0x5e3bac(0x219)](_0x43857e||_0x232726,_0x220879,_0x2f614d);}['resume'](){const _0x5c6b17=_0x26bc00;this[_0x5c6b17(0x247)]===_0x55d697['CONNECTING']||this[_0x5c6b17(0x247)]===_0x55d697[_0x5c6b17(0xde)]||(this[_0x5c6b17(0x236)]=!0x1,this[_0x5c6b17(0x109)][_0x5c6b17(0x12b)][_0x5c6b17(0x94)]||this[_0x5c6b17(0x1e3)][_0x5c6b17(0x1ca)]());}[_0x26bc00(0x1a8)](_0xe79b04,_0x5f11e6,_0x1f5882){const _0x491aa8=_0x26bc00;if(this['readyState']===_0x55d697[_0x491aa8(0x191)])throw new Error(_0x491aa8(0x199));if(typeof _0x5f11e6=='function'&&(_0x1f5882=_0x5f11e6,_0x5f11e6={}),typeof _0xe79b04==_0x491aa8(0x21d)&&(_0xe79b04=_0xe79b04[_0x491aa8(0xb4)]()),this[_0x491aa8(0x247)]!==_0x55d697['OPEN']){_0x45b8a9(this,_0xe79b04,_0x1f5882);return;}const _0x228a4e={'binary':typeof _0xe79b04!=_0x491aa8(0x1f6),'mask':!this[_0x491aa8(0x13e)],'compress':!0x0,'fin':!0x0,..._0x5f11e6};this[_0x491aa8(0x176)][_0x4adc00['extensionName']]||(_0x228a4e['compress']=!0x1),this[_0x491aa8(0x1dd)][_0x491aa8(0x1a8)](_0xe79b04||_0x232726,_0x228a4e,_0x1f5882);}[_0x26bc00(0x1f2)](){const _0x14eec6=_0x26bc00;if(this[_0x14eec6(0x247)]!==_0x55d697['CLOSED']){if(this[_0x14eec6(0x247)]===_0x55d697[_0x14eec6(0x191)]){_0x1496d4(this,this['_req'],_0x14eec6(0x1d5));return;}this['_socket']&&(this[_0x14eec6(0x1d6)]=_0x55d697[_0x14eec6(0x1d4)],this[_0x14eec6(0x1e3)][_0x14eec6(0x85)]());}}}Object['defineProperty'](_0x55d697,_0x26bc00(0x191),{'enumerable':!0x0,'value':_0x25339e[_0x26bc00(0x9c)]('CONNECTING')}),Object[_0x26bc00(0x15b)](_0x55d697[_0x26bc00(0xb9)],'CONNECTING',{'enumerable':!0x0,'value':_0x25339e['indexOf'](_0x26bc00(0x191))}),Object[_0x26bc00(0x15b)](_0x55d697,_0x26bc00(0x119),{'enumerable':!0x0,'value':_0x25339e[_0x26bc00(0x9c)](_0x26bc00(0x119))}),Object['defineProperty'](_0x55d697[_0x26bc00(0xb9)],_0x26bc00(0x119),{'enumerable':!0x0,'value':_0x25339e['indexOf'](_0x26bc00(0x119))}),Object[_0x26bc00(0x15b)](_0x55d697,_0x26bc00(0x1d4),{'enumerable':!0x0,'value':_0x25339e[_0x26bc00(0x9c)](_0x26bc00(0x1d4))}),Object[_0x26bc00(0x15b)](_0x55d697[_0x26bc00(0xb9)],_0x26bc00(0x1d4),{'enumerable':!0x0,'value':_0x25339e['indexOf'](_0x26bc00(0x1d4))}),Object['defineProperty'](_0x55d697,_0x26bc00(0xde),{'enumerable':!0x0,'value':_0x25339e[_0x26bc00(0x9c)](_0x26bc00(0xde))}),Object[_0x26bc00(0x15b)](_0x55d697[_0x26bc00(0xb9)],'CLOSED',{'enumerable':!0x0,'value':_0x25339e[_0x26bc00(0x9c)]('CLOSED')}),[_0x26bc00(0x128),'bufferedAmount',_0x26bc00(0xbd),_0x26bc00(0xd1),_0x26bc00(0x1aa),_0x26bc00(0x247),_0x26bc00(0xa2)][_0x26bc00(0x91)](_0x1b8617=>{const _0x588211=_0x26bc00;Object[_0x588211(0x15b)](_0x55d697['prototype'],_0x1b8617,{'enumerable':!0x0});}),[_0x26bc00(0xa0),_0x26bc00(0x1db),_0x26bc00(0x220),'message'][_0x26bc00(0x91)](_0x2f8247=>{const _0x4cf7fc=_0x26bc00;Object[_0x4cf7fc(0x15b)](_0x55d697[_0x4cf7fc(0xb9)],'on'+_0x2f8247,{'enumerable':!0x0,'get'(){const _0x11cdc9=_0x4cf7fc;for(const _0x14a479 of this[_0x11cdc9(0x177)](_0x2f8247))if(_0x14a479[_0x43f7d0])return _0x14a479[_0x4c5639];return null;},'set'(_0x42196d){const _0x30d09c=_0x4cf7fc;for(const _0x22cfc8 of this[_0x30d09c(0x177)](_0x2f8247))if(_0x22cfc8[_0x43f7d0]){this[_0x30d09c(0x7e)](_0x2f8247,_0x22cfc8);break;}typeof _0x42196d==_0x30d09c(0xb6)&&this['addEventListener'](_0x2f8247,_0x42196d,{[_0x43f7d0]:!0x0});}});}),_0x55d697['prototype']['addEventListener']=_0x354cda,_0x55d697[_0x26bc00(0xb9)][_0x26bc00(0x205)]=_0x3b19f2,we=_0x55d697;function _0x64a53c(_0x7916d7,_0x2ad0c5,_0x3d64f7,_0x5ed9f2){const _0x277ba9=_0x26bc00,_0x4ed0c5={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x210fce[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x5ed9f2,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x277ba9(0x8a),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x7916d7[_0x277ba9(0x9b)]=_0x4ed0c5[_0x277ba9(0xdc)],!_0x210fce[_0x277ba9(0x239)](_0x4ed0c5[_0x277ba9(0x149)]))throw new RangeError(_0x277ba9(0x187)+_0x4ed0c5[_0x277ba9(0x149)]+_0x277ba9(0xf4)+_0x210fce[_0x277ba9(0xa8)](',\x20')+')');let _0x169fef;if(_0x2ad0c5 instanceof _0x34be8e)_0x169fef=_0x2ad0c5;else try{_0x169fef=new _0x34be8e(_0x2ad0c5);}catch{throw new SyntaxError(_0x277ba9(0x1b9)+_0x2ad0c5);}_0x169fef['protocol']===_0x277ba9(0x1d3)?_0x169fef[_0x277ba9(0x1aa)]=_0x277ba9(0xca):_0x169fef[_0x277ba9(0x1aa)]===_0x277ba9(0x17e)&&(_0x169fef['protocol']=_0x277ba9(0x156)),_0x7916d7[_0x277ba9(0x13f)]=_0x169fef[_0x277ba9(0x1ec)];const _0xacb46=_0x169fef[_0x277ba9(0x1aa)]==='wss:',_0x3b9fb9=_0x169fef['protocol']===_0x277ba9(0xe1);let _0x5309fb;if(_0x169fef[_0x277ba9(0x1aa)]!==_0x277ba9(0xca)&&!_0xacb46&&!_0x3b9fb9?_0x5309fb=_0x277ba9(0x12e):_0x3b9fb9&&!_0x169fef['pathname']?_0x5309fb=_0x277ba9(0xda):_0x169fef[_0x277ba9(0x16e)]&&(_0x5309fb=_0x277ba9(0x1ad)),_0x5309fb){const _0x59db06=new SyntaxError(_0x5309fb);if(_0x7916d7[_0x277ba9(0x226)]===0x0)throw _0x59db06;_0x4d7b20(_0x7916d7,_0x59db06);return;}const _0x2b12f4=_0xacb46?0x1bb:0x50,_0x2610f3=_0x1785ea(0x10)['toString'](_0x277ba9(0x221)),_0x3ac120=_0xacb46?_0x1cf155[_0x277ba9(0xd6)]:_0x241b21[_0x277ba9(0xd6)],_0x3723b9=new Set();let _0x25f303;if(_0x4ed0c5['createConnection']=_0x4ed0c5[_0x277ba9(0x180)]||(_0xacb46?_0x457f2f:_0x5bf1d2),_0x4ed0c5[_0x277ba9(0x190)]=_0x4ed0c5[_0x277ba9(0x190)]||_0x2b12f4,_0x4ed0c5[_0x277ba9(0x148)]=_0x169fef[_0x277ba9(0x148)]||_0x2b12f4,_0x4ed0c5[_0x277ba9(0x8f)]=_0x169fef[_0x277ba9(0x1d1)][_0x277ba9(0x157)]('[')?_0x169fef[_0x277ba9(0x1d1)][_0x277ba9(0x111)](0x1,-0x1):_0x169fef[_0x277ba9(0x1d1)],_0x4ed0c5['headers']={..._0x4ed0c5[_0x277ba9(0x14a)],'Sec-WebSocket-Version':_0x4ed0c5['protocolVersion'],'Sec-WebSocket-Key':_0x2610f3,'Connection':_0x277ba9(0xfe),'Upgrade':_0x277ba9(0x167)},_0x4ed0c5[_0x277ba9(0x181)]=_0x169fef[_0x277ba9(0x8b)]+_0x169fef[_0x277ba9(0x18b)],_0x4ed0c5[_0x277ba9(0xc0)]=_0x4ed0c5['handshakeTimeout'],_0x4ed0c5[_0x277ba9(0xe6)]&&(_0x25f303=new _0x4adc00(_0x4ed0c5[_0x277ba9(0xe6)]!==!0x0?_0x4ed0c5[_0x277ba9(0xe6)]:{},!0x1,_0x4ed0c5[_0x277ba9(0x127)]),_0x4ed0c5[_0x277ba9(0x14a)][_0x277ba9(0x1d7)]=_0x1be172({[_0x4adc00[_0x277ba9(0x23a)]]:_0x25f303[_0x277ba9(0x13d)]()})),_0x3d64f7[_0x277ba9(0xc3)]){for(const _0x5345e1 of _0x3d64f7){if(typeof _0x5345e1!=_0x277ba9(0x1f6)||!_0x10fc7b[_0x277ba9(0x1d0)](_0x5345e1)||_0x3723b9['has'](_0x5345e1))throw new SyntaxError(_0x277ba9(0x103));_0x3723b9[_0x277ba9(0x194)](_0x5345e1);}_0x4ed0c5[_0x277ba9(0x14a)][_0x277ba9(0x1b6)]=_0x3d64f7[_0x277ba9(0xa8)](',');}if(_0x4ed0c5[_0x277ba9(0x82)]&&(_0x4ed0c5[_0x277ba9(0x149)]<0xd?_0x4ed0c5[_0x277ba9(0x14a)][_0x277ba9(0x1dc)]=_0x4ed0c5['origin']:_0x4ed0c5[_0x277ba9(0x14a)][_0x277ba9(0x13a)]=_0x4ed0c5[_0x277ba9(0x82)]),(_0x169fef[_0x277ba9(0x21e)]||_0x169fef[_0x277ba9(0xea)])&&(_0x4ed0c5[_0x277ba9(0x1e9)]=_0x169fef[_0x277ba9(0x21e)]+':'+_0x169fef[_0x277ba9(0xea)]),_0x3b9fb9){const _0x1ef38f=_0x4ed0c5[_0x277ba9(0x181)][_0x277ba9(0x144)](':');_0x4ed0c5[_0x277ba9(0x22a)]=_0x1ef38f[0x0],_0x4ed0c5['path']=_0x1ef38f[0x1];}let _0x4ef381;if(_0x4ed0c5[_0x277ba9(0x130)]){if(_0x7916d7['_redirects']===0x0){_0x7916d7['_originalIpc']=_0x3b9fb9,_0x7916d7['_originalSecure']=_0xacb46,_0x7916d7['_originalHostOrSocketPath']=_0x3b9fb9?_0x4ed0c5[_0x277ba9(0x22a)]:_0x169fef[_0x277ba9(0x8f)];const _0x5e2dba=_0x5ed9f2&&_0x5ed9f2[_0x277ba9(0x14a)];if(_0x5ed9f2={..._0x5ed9f2,'headers':{}},_0x5e2dba){for(const [_0x19e91e,_0x2e875f]of Object['entries'](_0x5e2dba))_0x5ed9f2[_0x277ba9(0x14a)][_0x19e91e[_0x277ba9(0x1c2)]()]=_0x2e875f;}}else{if(_0x7916d7[_0x277ba9(0xe4)](_0x277ba9(0x1f8))===0x0){const _0x43e9d5=_0x3b9fb9?_0x7916d7[_0x277ba9(0x22e)]?_0x4ed0c5[_0x277ba9(0x22a)]===_0x7916d7[_0x277ba9(0x114)]:!0x1:_0x7916d7[_0x277ba9(0x22e)]?!0x1:_0x169fef[_0x277ba9(0x8f)]===_0x7916d7[_0x277ba9(0x114)];(!_0x43e9d5||_0x7916d7[_0x277ba9(0x10d)]&&!_0xacb46)&&(delete _0x4ed0c5[_0x277ba9(0x14a)][_0x277ba9(0x172)],delete _0x4ed0c5['headers']['cookie'],_0x43e9d5||delete _0x4ed0c5[_0x277ba9(0x14a)][_0x277ba9(0x8f)],_0x4ed0c5['auth']=void 0x0);}}_0x4ed0c5[_0x277ba9(0x1e9)]&&!_0x5ed9f2['headers'][_0x277ba9(0x172)]&&(_0x5ed9f2[_0x277ba9(0x14a)][_0x277ba9(0x172)]=_0x277ba9(0xc9)+Buffer[_0x277ba9(0x78)](_0x4ed0c5[_0x277ba9(0x1e9)])[_0x277ba9(0xb4)](_0x277ba9(0x221))),_0x4ef381=_0x7916d7[_0x277ba9(0x214)]=_0x3ac120(_0x4ed0c5),_0x7916d7[_0x277ba9(0x226)]&&_0x7916d7[_0x277ba9(0x112)](_0x277ba9(0x1f8),_0x7916d7[_0x277ba9(0xa2)],_0x4ef381);}else _0x4ef381=_0x7916d7[_0x277ba9(0x214)]=_0x3ac120(_0x4ed0c5);_0x4ed0c5[_0x277ba9(0xc0)]&&_0x4ef381['on'](_0x277ba9(0xc0),()=>{const _0xedaec8=_0x277ba9;_0x1496d4(_0x7916d7,_0x4ef381,_0xedaec8(0x117));}),_0x4ef381['on'](_0x277ba9(0x1db),_0x255d35=>{_0x4ef381===null||_0x4ef381[_0x155edd]||(_0x4ef381=_0x7916d7['_req']=null,_0x4d7b20(_0x7916d7,_0x255d35));}),_0x4ef381['on'](_0x277ba9(0x84),_0x48684e=>{const _0x116aea=_0x277ba9,_0x11d5a0=_0x48684e[_0x116aea(0x14a)]['location'],_0x31699d=_0x48684e['statusCode'];if(_0x11d5a0&&_0x4ed0c5[_0x116aea(0x130)]&&_0x31699d>=0x12c&&_0x31699d<0x190){if(++_0x7916d7[_0x116aea(0x226)]>_0x4ed0c5['maxRedirects']){_0x1496d4(_0x7916d7,_0x4ef381,_0x116aea(0x1a0));return;}_0x4ef381[_0x116aea(0x19f)]();let _0x1169ec;try{_0x1169ec=new _0x34be8e(_0x11d5a0,_0x2ad0c5);}catch{const _0x3a8f95=new SyntaxError('Invalid\x20URL:\x20'+_0x11d5a0);_0x4d7b20(_0x7916d7,_0x3a8f95);return;}_0x64a53c(_0x7916d7,_0x1169ec,_0x3d64f7,_0x5ed9f2);}else _0x7916d7[_0x116aea(0x112)](_0x116aea(0x1fd),_0x4ef381,_0x48684e)||_0x1496d4(_0x7916d7,_0x4ef381,_0x116aea(0x1e5)+_0x48684e[_0x116aea(0x1a4)]);}),_0x4ef381['on'](_0x277ba9(0x22c),(_0x3062dd,_0x17469f,_0x1be5fa)=>{const _0x53c7b1=_0x277ba9;if(_0x7916d7[_0x53c7b1(0x112)](_0x53c7b1(0x22c),_0x3062dd),_0x7916d7[_0x53c7b1(0x247)]!==_0x55d697[_0x53c7b1(0x191)])return;_0x4ef381=_0x7916d7[_0x53c7b1(0x214)]=null;const _0x32a956=_0x3062dd[_0x53c7b1(0x14a)][_0x53c7b1(0x22c)];if(_0x32a956===void 0x0||_0x32a956[_0x53c7b1(0x1c2)]()!=='websocket'){_0x1496d4(_0x7916d7,_0x17469f,_0x53c7b1(0x11c));return;}const _0x223e44=_0x1fda34(_0x53c7b1(0xdb))['update'](_0x2610f3+_0x2a91d2)[_0x53c7b1(0x1f5)](_0x53c7b1(0x221));if(_0x3062dd[_0x53c7b1(0x14a)][_0x53c7b1(0x238)]!==_0x223e44){_0x1496d4(_0x7916d7,_0x17469f,'Invalid\x20Sec-WebSocket-Accept\x20header');return;}const _0x3b8939=_0x3062dd['headers']['sec-websocket-protocol'];let _0x4b0e05;if(_0x3b8939!==void 0x0?_0x3723b9[_0x53c7b1(0xd9)]?_0x3723b9[_0x53c7b1(0x155)](_0x3b8939)||(_0x4b0e05=_0x53c7b1(0xc8)):_0x4b0e05=_0x53c7b1(0x189):_0x3723b9['size']&&(_0x4b0e05=_0x53c7b1(0x7a)),_0x4b0e05){_0x1496d4(_0x7916d7,_0x17469f,_0x4b0e05);return;}_0x3b8939&&(_0x7916d7[_0x53c7b1(0x1c9)]=_0x3b8939);const _0x2ffca8=_0x3062dd[_0x53c7b1(0x14a)]['sec-websocket-extensions'];if(_0x2ffca8!==void 0x0){if(!_0x25f303){_0x1496d4(_0x7916d7,_0x17469f,'Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested');return;}let _0x1417df;try{_0x1417df=_0x379d89(_0x2ffca8);}catch{_0x1496d4(_0x7916d7,_0x17469f,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0x25a455=Object[_0x53c7b1(0xf5)](_0x1417df);if(_0x25a455['length']!==0x1||_0x25a455[0x0]!==_0x4adc00[_0x53c7b1(0x23a)]){_0x1496d4(_0x7916d7,_0x17469f,_0x53c7b1(0x211));return;}try{_0x25f303[_0x53c7b1(0x147)](_0x1417df[_0x4adc00[_0x53c7b1(0x23a)]]);}catch{_0x1496d4(_0x7916d7,_0x17469f,_0x53c7b1(0x20b));return;}_0x7916d7[_0x53c7b1(0x176)][_0x4adc00[_0x53c7b1(0x23a)]]=_0x25f303;}_0x7916d7['setSocket'](_0x17469f,_0x1be5fa,{'allowSynchronousEvents':_0x4ed0c5['allowSynchronousEvents'],'generateMask':_0x4ed0c5['generateMask'],'maxPayload':_0x4ed0c5[_0x53c7b1(0x127)],'skipUTF8Validation':_0x4ed0c5['skipUTF8Validation']});}),_0x4ed0c5[_0x277ba9(0x1e1)]?_0x4ed0c5[_0x277ba9(0x1e1)](_0x4ef381,_0x7916d7):_0x4ef381['end']();}function _0x4d7b20(_0x319ee6,_0x44dd5a){const _0x3ffb2e=_0x26bc00;_0x319ee6['_readyState']=_0x55d697[_0x3ffb2e(0x1d4)],_0x319ee6[_0x3ffb2e(0x201)]=!0x0,_0x319ee6['emit'](_0x3ffb2e(0x1db),_0x44dd5a),_0x319ee6[_0x3ffb2e(0xaf)]();}function _0x5bf1d2(_0x43d2e4){const _0x2a8333=_0x26bc00;return _0x43d2e4[_0x2a8333(0x181)]=_0x43d2e4[_0x2a8333(0x22a)],_0x503ec7['connect'](_0x43d2e4);}function _0x457f2f(_0x47f4a1){const _0x25466d=_0x26bc00;return _0x47f4a1['path']=void 0x0,!_0x47f4a1[_0x25466d(0xcf)]&&_0x47f4a1[_0x25466d(0xcf)]!==''&&(_0x47f4a1[_0x25466d(0xcf)]=_0x503ec7['isIP'](_0x47f4a1[_0x25466d(0x8f)])?'':_0x47f4a1[_0x25466d(0x8f)]),_0x244aa1[_0x25466d(0x23f)](_0x47f4a1);}function _0x1496d4(_0x496ddf,_0xd64af0,_0x13e173){const _0x7119e8=_0x26bc00;_0x496ddf[_0x7119e8(0x1d6)]=_0x55d697[_0x7119e8(0x1d4)];const _0x359ca4=new Error(_0x13e173);Error['captureStackTrace'](_0x359ca4,_0x1496d4),_0xd64af0[_0x7119e8(0x107)]?(_0xd64af0[_0x155edd]=!0x0,_0xd64af0[_0x7119e8(0x19f)](),_0xd64af0['socket']&&!_0xd64af0[_0x7119e8(0x17a)]['destroyed']&&_0xd64af0[_0x7119e8(0x17a)][_0x7119e8(0x85)](),process[_0x7119e8(0x104)](_0x4d7b20,_0x496ddf,_0x359ca4)):(_0xd64af0[_0x7119e8(0x85)](_0x359ca4),_0xd64af0[_0x7119e8(0x83)](_0x7119e8(0x1db),_0x496ddf[_0x7119e8(0x112)][_0x7119e8(0x7c)](_0x496ddf,_0x7119e8(0x1db))),_0xd64af0[_0x7119e8(0x83)](_0x7119e8(0x220),_0x496ddf[_0x7119e8(0xaf)][_0x7119e8(0x7c)](_0x496ddf)));}function _0x45b8a9(_0x3a4c9a,_0x8658fc,_0x3f6976){const _0x3f53ea=_0x26bc00;if(_0x8658fc){const _0x519857=_0x31fb54(_0x8658fc)?_0x8658fc[_0x3f53ea(0xd9)]:_0x373b05(_0x8658fc)['length'];_0x3a4c9a[_0x3f53ea(0x1e3)]?_0x3a4c9a[_0x3f53ea(0x1dd)][_0x3f53ea(0x1f3)]+=_0x519857:_0x3a4c9a['_bufferedAmount']+=_0x519857;}if(_0x3f6976){const _0x3baae4=new Error(_0x3f53ea(0x202)+_0x3a4c9a[_0x3f53ea(0x247)]+'\x20('+_0x25339e[_0x3a4c9a[_0x3f53ea(0x247)]]+')');process[_0x3f53ea(0x104)](_0x3f6976,_0x3baae4);}}function _0x4894ea(_0x5e8303,_0x158eb7){const _0x3f0f99=_0x26bc00,_0x32115e=this[_0x2b0b7c];_0x32115e[_0x3f0f99(0xee)]=!0x0,_0x32115e[_0x3f0f99(0x193)]=_0x158eb7,_0x32115e[_0x3f0f99(0x227)]=_0x5e8303,_0x32115e[_0x3f0f99(0x1e3)][_0x2b0b7c]!==void 0x0&&(_0x32115e[_0x3f0f99(0x1e3)][_0x3f0f99(0x7e)](_0x3f0f99(0x14b),_0x4efd82),process[_0x3f0f99(0x104)](_0x498787,_0x32115e[_0x3f0f99(0x1e3)]),_0x5e8303===0x3ed?_0x32115e['close']():_0x32115e[_0x3f0f99(0x220)](_0x5e8303,_0x158eb7));}function _0x3b66a2(){const _0x3c1eca=_0x26bc00,_0x12980a=this[_0x2b0b7c];_0x12980a[_0x3c1eca(0xd1)]||_0x12980a[_0x3c1eca(0x1e3)][_0x3c1eca(0x1ca)]();}function _0x2fbb25(_0x27372b){const _0x4d0aac=_0x26bc00,_0x1fbaf2=this[_0x2b0b7c];_0x1fbaf2['_socket'][_0x2b0b7c]!==void 0x0&&(_0x1fbaf2[_0x4d0aac(0x1e3)][_0x4d0aac(0x7e)]('data',_0x4efd82),process['nextTick'](_0x498787,_0x1fbaf2[_0x4d0aac(0x1e3)]),_0x1fbaf2[_0x4d0aac(0x220)](_0x27372b[_0x2d053f])),_0x1fbaf2['_errorEmitted']||(_0x1fbaf2[_0x4d0aac(0x201)]=!0x0,_0x1fbaf2[_0x4d0aac(0x112)](_0x4d0aac(0x1db),_0x27372b));}function _0x236cc2(){const _0x181d6c=_0x26bc00;this[_0x2b0b7c][_0x181d6c(0xaf)]();}function _0x52fbde(_0x283194,_0xf4a3a4){const _0x4d7681=_0x26bc00;this[_0x2b0b7c][_0x4d7681(0x112)]('message',_0x283194,_0xf4a3a4);}function _0xa74dff(_0x163b67){const _0x38c58f=_0x26bc00,_0x2256f6=this[_0x2b0b7c];_0x2256f6[_0x38c58f(0x9b)]&&_0x2256f6['pong'](_0x163b67,!this[_0x38c58f(0x13e)],_0x4c3ddc),_0x2256f6[_0x38c58f(0x112)](_0x38c58f(0x134),_0x163b67);}function _0x2469d7(_0x4aa784){const _0x2f9302=_0x26bc00;this[_0x2b0b7c][_0x2f9302(0x112)]('pong',_0x4aa784);}function _0x498787(_0x3a0191){const _0x42724c=_0x26bc00;_0x3a0191[_0x42724c(0x1ca)]();}function _0xfa2de4(_0x411d80){const _0x457eb5=_0x26bc00,_0x340456=this[_0x2b0b7c];_0x340456[_0x457eb5(0x247)]!==_0x55d697['CLOSED']&&(_0x340456[_0x457eb5(0x247)]===_0x55d697['OPEN']&&(_0x340456[_0x457eb5(0x1d6)]=_0x55d697[_0x457eb5(0x1d4)],_0x4499ea(_0x340456)),this[_0x457eb5(0x1e3)][_0x457eb5(0x88)](),_0x340456[_0x457eb5(0x201)]||(_0x340456[_0x457eb5(0x201)]=!0x0,_0x340456['emit']('error',_0x411d80)));}function _0x4499ea(_0x4416a3){const _0x400692=_0x26bc00;_0x4416a3['_closeTimer']=setTimeout(_0x4416a3[_0x400692(0x1e3)][_0x400692(0x85)][_0x400692(0x7c)](_0x4416a3[_0x400692(0x1e3)]),_0x4ffb32);}function _0x334075(){const _0x275cf6=_0x26bc00,_0x1a5336=this[_0x2b0b7c];this[_0x275cf6(0x7e)]('close',_0x334075),this[_0x275cf6(0x7e)](_0x275cf6(0x14b),_0x4efd82),this[_0x275cf6(0x7e)](_0x275cf6(0x88),_0x4e8ae1),_0x1a5336[_0x275cf6(0x1d6)]=_0x55d697['CLOSING'];let _0xd09737;!this['_readableState'][_0x275cf6(0x206)]&&!_0x1a5336['_closeFrameReceived']&&!_0x1a5336[_0x275cf6(0x109)][_0x275cf6(0x12b)][_0x275cf6(0x19a)]&&(_0xd09737=_0x1a5336['_socket'][_0x275cf6(0x11f)]())!==null&&_0x1a5336[_0x275cf6(0x109)]['write'](_0xd09737),_0x1a5336[_0x275cf6(0x109)][_0x275cf6(0x88)](),this[_0x2b0b7c]=void 0x0,clearTimeout(_0x1a5336[_0x275cf6(0x17b)]),_0x1a5336[_0x275cf6(0x109)][_0x275cf6(0x12b)]['finished']||_0x1a5336['_receiver'][_0x275cf6(0x12b)][_0x275cf6(0x19a)]?_0x1a5336[_0x275cf6(0xaf)]():(_0x1a5336[_0x275cf6(0x109)]['on'](_0x275cf6(0x1db),_0x236cc2),_0x1a5336['_receiver']['on'](_0x275cf6(0x1fc),_0x236cc2));}function _0x4efd82(_0x1d6600){const _0x3346ba=_0x26bc00;this[_0x2b0b7c][_0x3346ba(0x109)][_0x3346ba(0x204)](_0x1d6600)||this['pause']();}function _0x4e8ae1(){const _0x68d89e=_0x26bc00,_0x6c41d5=this[_0x2b0b7c];_0x6c41d5[_0x68d89e(0x1d6)]=_0x55d697[_0x68d89e(0x1d4)],_0x6c41d5[_0x68d89e(0x109)][_0x68d89e(0x88)](),this[_0x68d89e(0x88)]();}function _0x28e2ed(){const _0x20b6e4=_0x26bc00,_0x2baf42=this[_0x2b0b7c];this[_0x20b6e4(0x7e)]('error',_0x28e2ed),this['on'](_0x20b6e4(0x1db),_0x4c3ddc),_0x2baf42&&(_0x2baf42[_0x20b6e4(0x1d6)]=_0x55d697[_0x20b6e4(0x1d4)],this[_0x20b6e4(0x85)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x4d69d0}=oe;function _0x2002e5(_0x2cf44a){const _0x2f9a01=_0x59da;_0x2cf44a[_0x2f9a01(0x112)](_0x2f9a01(0x220));}function _0x3bfa10(){const _0x970bf7=_0x59da;!this[_0x970bf7(0x197)]&&this[_0x970bf7(0x12b)][_0x970bf7(0x23b)]&&this[_0x970bf7(0x85)]();}function _0x2374b2(_0x2e4f4b){const _0x238ff0=_0x59da;this[_0x238ff0(0x7e)](_0x238ff0(0x1db),_0x2374b2),this['destroy'](),this[_0x238ff0(0xe4)](_0x238ff0(0x1db))===0x0&&this[_0x238ff0(0x112)](_0x238ff0(0x1db),_0x2e4f4b);}function _0x11bf54(_0x4b340c,_0x142a98){const _0x17c975=_0x59da;let _0x2e8d6f=!0x0;const _0x29c537=new _0x4d69d0({..._0x142a98,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x4b340c['on'](_0x17c975(0x1f9),function(_0x171ef0,_0x3967ac){const _0x1c8a57=_0x17c975,_0x43b2a4=!_0x3967ac&&_0x29c537['_readableState'][_0x1c8a57(0x118)]?_0x171ef0[_0x1c8a57(0xb4)]():_0x171ef0;_0x29c537[_0x1c8a57(0xbc)](_0x43b2a4)||_0x4b340c['pause']();}),_0x4b340c[_0x17c975(0x83)]('error',function(_0x326874){const _0x4d1da1=_0x17c975;_0x29c537[_0x4d1da1(0x197)]||(_0x2e8d6f=!0x1,_0x29c537['destroy'](_0x326874));}),_0x4b340c['once']('close',function(){const _0x1c3548=_0x17c975;_0x29c537[_0x1c3548(0x197)]||_0x29c537[_0x1c3548(0xbc)](null);}),_0x29c537[_0x17c975(0x7f)]=function(_0x4edc37,_0x59abb7){const _0x17c8f6=_0x17c975;if(_0x4b340c[_0x17c8f6(0x247)]===_0x4b340c[_0x17c8f6(0xde)]){_0x59abb7(_0x4edc37),process[_0x17c8f6(0x104)](_0x2002e5,_0x29c537);return;}let _0x13c5bf=!0x1;_0x4b340c['once']('error',function(_0x3e5552){_0x13c5bf=!0x0,_0x59abb7(_0x3e5552);}),_0x4b340c[_0x17c8f6(0x83)]('close',function(){const _0x87b3e2=_0x17c8f6;_0x13c5bf||_0x59abb7(_0x4edc37),process[_0x87b3e2(0x104)](_0x2002e5,_0x29c537);}),_0x2e8d6f&&_0x4b340c[_0x17c8f6(0x1f2)]();},_0x29c537[_0x17c975(0x1d9)]=function(_0x57ccee){const _0x273509=_0x17c975;if(_0x4b340c[_0x273509(0x247)]===_0x4b340c['CONNECTING']){_0x4b340c[_0x273509(0x83)](_0x273509(0xa0),function(){const _0x1acbf8=_0x273509;_0x29c537[_0x1acbf8(0x1d9)](_0x57ccee);});return;}_0x4b340c[_0x273509(0x1e3)]!==null&&(_0x4b340c[_0x273509(0x1e3)][_0x273509(0x12b)]['finished']?(_0x57ccee(),_0x29c537[_0x273509(0x245)]['endEmitted']&&_0x29c537['destroy']()):(_0x4b340c[_0x273509(0x1e3)]['once']('finish',function(){_0x57ccee();}),_0x4b340c['close']()));},_0x29c537['_read']=function(){const _0x30f9a2=_0x17c975;_0x4b340c[_0x30f9a2(0xd1)]&&_0x4b340c[_0x30f9a2(0x1ca)]();},_0x29c537[_0x17c975(0x1a2)]=function(_0x390e84,_0x189be8,_0x102ae5){const _0x582b77=_0x17c975;if(_0x4b340c['readyState']===_0x4b340c[_0x582b77(0x191)]){_0x4b340c[_0x582b77(0x83)](_0x582b77(0xa0),function(){const _0x59cdad=_0x582b77;_0x29c537[_0x59cdad(0x1a2)](_0x390e84,_0x189be8,_0x102ae5);});return;}_0x4b340c[_0x582b77(0x1a8)](_0x390e84,_0x102ae5);},_0x29c537['on'](_0x17c975(0x88),_0x3bfa10),_0x29c537['on'](_0x17c975(0x1db),_0x2374b2),_0x29c537;}return Oe=_0x11bf54,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0xb355a1}=ae();function _0x84cd55(_0x377238){const _0x522f8c=_0x59da,_0x109cf8=new Set();let _0x576896=-0x1,_0x2aa47d=-0x1,_0x44e096=0x0;for(_0x44e096;_0x44e096<_0x377238['length'];_0x44e096++){const _0x46b8b3=_0x377238[_0x522f8c(0x1af)](_0x44e096);if(_0x2aa47d===-0x1&&_0xb355a1[_0x46b8b3]===0x1)_0x576896===-0x1&&(_0x576896=_0x44e096);else{if(_0x44e096!==0x0&&(_0x46b8b3===0x20||_0x46b8b3===0x9))_0x2aa47d===-0x1&&_0x576896!==-0x1&&(_0x2aa47d=_0x44e096);else{if(_0x46b8b3===0x2c){if(_0x576896===-0x1)throw new SyntaxError(_0x522f8c(0x123)+_0x44e096);_0x2aa47d===-0x1&&(_0x2aa47d=_0x44e096);const _0x3054e3=_0x377238[_0x522f8c(0x111)](_0x576896,_0x2aa47d);if(_0x109cf8['has'](_0x3054e3))throw new SyntaxError(_0x522f8c(0x124)+_0x3054e3+'\x22\x20subprotocol\x20is\x20duplicated');_0x109cf8[_0x522f8c(0x194)](_0x3054e3),_0x576896=_0x2aa47d=-0x1;}else throw new SyntaxError(_0x522f8c(0x123)+_0x44e096);}}}if(_0x576896===-0x1||_0x2aa47d!==-0x1)throw new SyntaxError(_0x522f8c(0x10e));const _0x2aa0ee=_0x377238[_0x522f8c(0x111)](_0x576896,_0x44e096);if(_0x109cf8['has'](_0x2aa0ee))throw new SyntaxError(_0x522f8c(0x124)+_0x2aa0ee+_0x522f8c(0xfb));return _0x109cf8[_0x522f8c(0x194)](_0x2aa0ee),_0x109cf8;}return Ce={'parse':_0x84cd55},Ce;}var Te,rt;function Ft(){const _0x1887b0=_0x54d721;if(rt)return Te;rt=0x1;const _0x5bf3b8=nt,_0xf51352=ot,{Duplex:_0xdde4ed}=oe,{createHash:_0x456c01}=Le,_0x16652a=ct(),_0x29875d=he(),_0x401519=At(),_0x28423a=Pe(),{GUID:_0x4acc71,kWebSocket:_0x190bdc}=H(),_0x10c89c=/^[+/0-9A-Za-z]{22}==$/,_0x36924c=0x0,_0x148e64=0x1,_0x58c7d4=0x2;class _0x39a311 extends _0x5bf3b8{constructor(_0xe74820,_0x9f05fa){const _0x3ce30f=_0x59da;if(super(),_0xe74820={'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':_0x28423a,..._0xe74820},_0xe74820[_0x3ce30f(0x148)]==null&&!_0xe74820[_0x3ce30f(0x1e0)]&&!_0xe74820[_0x3ce30f(0xae)]||_0xe74820['port']!=null&&(_0xe74820['server']||_0xe74820[_0x3ce30f(0xae)])||_0xe74820[_0x3ce30f(0x1e0)]&&_0xe74820[_0x3ce30f(0xae)])throw new TypeError(_0x3ce30f(0x1a3));if(_0xe74820[_0x3ce30f(0x148)]!=null?(this[_0x3ce30f(0x14e)]=_0xf51352[_0x3ce30f(0x102)]((_0x1af0db,_0x1db983)=>{const _0x57c6e7=_0x3ce30f,_0x444b51=_0xf51352[_0x57c6e7(0x170)][0x1aa];_0x1db983[_0x57c6e7(0xa3)](0x1aa,{'Content-Length':_0x444b51[_0x57c6e7(0xc3)],'Content-Type':'text/plain'}),_0x1db983[_0x57c6e7(0x88)](_0x444b51);}),this[_0x3ce30f(0x14e)][_0x3ce30f(0xe9)](_0xe74820[_0x3ce30f(0x148)],_0xe74820['host'],_0xe74820[_0x3ce30f(0x175)],_0x9f05fa)):_0xe74820['server']&&(this['_server']=_0xe74820[_0x3ce30f(0x1e0)]),this[_0x3ce30f(0x14e)]){const _0x3e8b71=this[_0x3ce30f(0x112)]['bind'](this,_0x3ce30f(0x1be));this[_0x3ce30f(0xe7)]=_0x3db27e(this[_0x3ce30f(0x14e)],{'listening':this[_0x3ce30f(0x112)][_0x3ce30f(0x7c)](this,'listening'),'error':this[_0x3ce30f(0x112)][_0x3ce30f(0x7c)](this,'error'),'upgrade':(_0x50c86b,_0x61cc5a,_0x41966c)=>{const _0x23ebf2=_0x3ce30f;this[_0x23ebf2(0x1ff)](_0x50c86b,_0x61cc5a,_0x41966c,_0x3e8b71);}});}_0xe74820[_0x3ce30f(0xe6)]===!0x0&&(_0xe74820['perMessageDeflate']={}),_0xe74820['clientTracking']&&(this[_0x3ce30f(0x86)]=new Set(),this['_shouldEmitClose']=!0x1),this[_0x3ce30f(0xfc)]=_0xe74820,this[_0x3ce30f(0x192)]=_0x36924c;}[_0x1887b0(0x9a)](){const _0x3862de=_0x1887b0;if(this[_0x3862de(0xfc)][_0x3862de(0xae)])throw new Error(_0x3862de(0x1a1));return this['_server']?this[_0x3862de(0x14e)]['address']():null;}[_0x1887b0(0x220)](_0x2a89b0){const _0xe0f46a=_0x1887b0;if(this[_0xe0f46a(0x192)]===_0x58c7d4){_0x2a89b0&&this[_0xe0f46a(0x83)](_0xe0f46a(0x220),()=>{_0x2a89b0(new Error('The\x20server\x20is\x20not\x20running'));}),process[_0xe0f46a(0x104)](_0x47ea4c,this);return;}if(_0x2a89b0&&this[_0xe0f46a(0x83)]('close',_0x2a89b0),this[_0xe0f46a(0x192)]!==_0x148e64){if(this[_0xe0f46a(0x192)]=_0x148e64,this[_0xe0f46a(0xfc)][_0xe0f46a(0xae)]||this[_0xe0f46a(0xfc)][_0xe0f46a(0x1e0)])this['_server']&&(this['_removeListeners'](),this[_0xe0f46a(0xe7)]=this['_server']=null),this[_0xe0f46a(0x86)]?this[_0xe0f46a(0x86)][_0xe0f46a(0xd9)]?this[_0xe0f46a(0xec)]=!0x0:process['nextTick'](_0x47ea4c,this):process[_0xe0f46a(0x104)](_0x47ea4c,this);else{const _0x633fbc=this[_0xe0f46a(0x14e)];this[_0xe0f46a(0xe7)](),this[_0xe0f46a(0xe7)]=this[_0xe0f46a(0x14e)]=null,_0x633fbc['close'](()=>{_0x47ea4c(this);});}}}[_0x1887b0(0x81)](_0x2e7b23){const _0x254632=_0x1887b0;if(this[_0x254632(0xfc)]['path']){const _0x507cd5=_0x2e7b23[_0x254632(0xa2)]['indexOf']('?');if((_0x507cd5!==-0x1?_0x2e7b23[_0x254632(0xa2)]['slice'](0x0,_0x507cd5):_0x2e7b23['url'])!==this['options'][_0x254632(0x181)])return!0x1;}return!0x0;}[_0x1887b0(0x1ff)](_0xe39aeb,_0x382834,_0x23174e,_0x21f81b){const _0x4a79a7=_0x1887b0;_0x382834['on']('error',_0x490a47);const _0x5ae9a8=_0xe39aeb['headers'][_0x4a79a7(0x1e7)],_0x35e64b=_0xe39aeb['headers'][_0x4a79a7(0x22c)],_0x30c623=+_0xe39aeb[_0x4a79a7(0x14a)]['sec-websocket-version'];if(_0xe39aeb[_0x4a79a7(0xac)]!==_0x4a79a7(0x8a)){_0x4bc837(this,_0xe39aeb,_0x382834,0x195,_0x4a79a7(0x108));return;}if(_0x35e64b===void 0x0||_0x35e64b[_0x4a79a7(0x1c2)]()!==_0x4a79a7(0x167)){_0x4bc837(this,_0xe39aeb,_0x382834,0x190,_0x4a79a7(0x11c));return;}if(_0x5ae9a8===void 0x0||!_0x10c89c[_0x4a79a7(0x1d0)](_0x5ae9a8)){_0x4bc837(this,_0xe39aeb,_0x382834,0x190,_0x4a79a7(0x140));return;}if(_0x30c623!==0x8&&_0x30c623!==0xd){_0x4bc837(this,_0xe39aeb,_0x382834,0x190,_0x4a79a7(0x1b3));return;}if(!this[_0x4a79a7(0x81)](_0xe39aeb)){_0x223f5b(_0x382834,0x190);return;}const _0x43e68c=_0xe39aeb['headers']['sec-websocket-protocol'];let _0x19f696=new Set();if(_0x43e68c!==void 0x0)try{_0x19f696=_0x401519[_0x4a79a7(0x15d)](_0x43e68c);}catch{_0x4bc837(this,_0xe39aeb,_0x382834,0x190,'Invalid\x20Sec-WebSocket-Protocol\x20header');return;}const _0x39271d=_0xe39aeb[_0x4a79a7(0x14a)][_0x4a79a7(0x223)],_0x2c0513={};if(this[_0x4a79a7(0xfc)][_0x4a79a7(0xe6)]&&_0x39271d!==void 0x0){const _0x3f6466=new _0x29875d(this[_0x4a79a7(0xfc)][_0x4a79a7(0xe6)],!0x0,this['options']['maxPayload']);try{const _0x43dc9b=_0x16652a[_0x4a79a7(0x15d)](_0x39271d);_0x43dc9b[_0x29875d[_0x4a79a7(0x23a)]]&&(_0x3f6466['accept'](_0x43dc9b[_0x29875d[_0x4a79a7(0x23a)]]),_0x2c0513[_0x29875d[_0x4a79a7(0x23a)]]=_0x3f6466);}catch{_0x4bc837(this,_0xe39aeb,_0x382834,0x190,_0x4a79a7(0x213));return;}}if(this[_0x4a79a7(0xfc)]['verifyClient']){const _0x1969d1={'origin':_0xe39aeb[_0x4a79a7(0x14a)][''+(_0x30c623===0x8?_0x4a79a7(0x171):_0x4a79a7(0x82))],'secure':!!(_0xe39aeb[_0x4a79a7(0x17a)][_0x4a79a7(0x10a)]||_0xe39aeb[_0x4a79a7(0x17a)]['encrypted']),'req':_0xe39aeb};if(this[_0x4a79a7(0xfc)]['verifyClient'][_0x4a79a7(0xc3)]===0x2){this[_0x4a79a7(0xfc)]['verifyClient'](_0x1969d1,(_0x452427,_0x259e3b,_0x3c869f,_0x4a4246)=>{const _0x4120ee=_0x4a79a7;if(!_0x452427)return _0x223f5b(_0x382834,_0x259e3b||0x191,_0x3c869f,_0x4a4246);this[_0x4120ee(0xbf)](_0x2c0513,_0x5ae9a8,_0x19f696,_0xe39aeb,_0x382834,_0x23174e,_0x21f81b);});return;}if(!this[_0x4a79a7(0xfc)][_0x4a79a7(0x246)](_0x1969d1))return _0x223f5b(_0x382834,0x191);}this[_0x4a79a7(0xbf)](_0x2c0513,_0x5ae9a8,_0x19f696,_0xe39aeb,_0x382834,_0x23174e,_0x21f81b);}[_0x1887b0(0xbf)](_0x4e2994,_0x3f130a,_0x5d8e6d,_0x38e397,_0x21250e,_0x2456e3,_0x37ea45){const _0xe2b431=_0x1887b0;if(!_0x21250e[_0xe2b431(0x1fb)]||!_0x21250e[_0xe2b431(0x1e6)])return _0x21250e['destroy']();if(_0x21250e[_0x190bdc])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this[_0xe2b431(0x192)]>_0x36924c)return _0x223f5b(_0x21250e,0x1f7);const _0x42bdb9=['HTTP/1.1\x20101\x20Switching\x20Protocols','Upgrade:\x20websocket','Connection:\x20Upgrade',_0xe2b431(0x18e)+_0x456c01('sha1')[_0xe2b431(0x18f)](_0x3f130a+_0x4acc71)[_0xe2b431(0x1f5)](_0xe2b431(0x221))],_0x5b078f=new this[(_0xe2b431(0xfc))][(_0xe2b431(0x159))](null,void 0x0,this[_0xe2b431(0xfc)]);if(_0x5d8e6d[_0xe2b431(0xd9)]){const _0x3da886=this['options']['handleProtocols']?this[_0xe2b431(0xfc)]['handleProtocols'](_0x5d8e6d,_0x38e397):_0x5d8e6d[_0xe2b431(0xb2)]()['next']()[_0xe2b431(0x164)];_0x3da886&&(_0x42bdb9[_0xe2b431(0xbc)](_0xe2b431(0x1c5)+_0x3da886),_0x5b078f[_0xe2b431(0x1c9)]=_0x3da886);}if(_0x4e2994[_0x29875d[_0xe2b431(0x23a)]]){const _0x378d03=_0x4e2994[_0x29875d[_0xe2b431(0x23a)]][_0xe2b431(0x153)],_0x6dcbd7=_0x16652a[_0xe2b431(0x1b4)]({[_0x29875d[_0xe2b431(0x23a)]]:[_0x378d03]});_0x42bdb9['push']('Sec-WebSocket-Extensions:\x20'+_0x6dcbd7),_0x5b078f[_0xe2b431(0x176)]=_0x4e2994;}this[_0xe2b431(0x112)]('headers',_0x42bdb9,_0x38e397),_0x21250e[_0xe2b431(0x204)](_0x42bdb9[_0xe2b431(0x1b0)]('\x0d\x0a')[_0xe2b431(0xa8)]('\x0d\x0a')),_0x21250e[_0xe2b431(0x7e)]('error',_0x490a47),_0x5b078f[_0xe2b431(0x168)](_0x21250e,_0x2456e3,{'allowSynchronousEvents':this[_0xe2b431(0xfc)][_0xe2b431(0x174)],'maxPayload':this[_0xe2b431(0xfc)][_0xe2b431(0x127)],'skipUTF8Validation':this[_0xe2b431(0xfc)][_0xe2b431(0x100)]}),this['clients']&&(this['clients'][_0xe2b431(0x194)](_0x5b078f),_0x5b078f['on'](_0xe2b431(0x220),()=>{const _0x35bc55=_0xe2b431;this[_0x35bc55(0x86)][_0x35bc55(0x183)](_0x5b078f),this[_0x35bc55(0xec)]&&!this[_0x35bc55(0x86)][_0x35bc55(0xd9)]&&process['nextTick'](_0x47ea4c,this);})),_0x37ea45(_0x5b078f,_0x38e397);}}Te=_0x39a311;function _0x3db27e(_0x4b1dfe,_0x317885){const _0x35fb20=_0x1887b0;for(const _0x2c0ae2 of Object[_0x35fb20(0xf5)](_0x317885))_0x4b1dfe['on'](_0x2c0ae2,_0x317885[_0x2c0ae2]);return function(){const _0x51edbb=_0x35fb20;for(const _0x2c65c5 of Object[_0x51edbb(0xf5)](_0x317885))_0x4b1dfe['removeListener'](_0x2c65c5,_0x317885[_0x2c65c5]);};}function _0x47ea4c(_0x1b1224){const _0x4e2877=_0x1887b0;_0x1b1224['_state']=_0x58c7d4,_0x1b1224[_0x4e2877(0x112)](_0x4e2877(0x220));}function _0x490a47(){const _0x3f9ce8=_0x1887b0;this[_0x3f9ce8(0x85)]();}function _0x223f5b(_0x449767,_0x46b8a1,_0x5b872f,_0x4611bc){const _0x18a9f0=_0x1887b0;_0x5b872f=_0x5b872f||_0xf51352[_0x18a9f0(0x170)][_0x46b8a1],_0x4611bc={'Connection':'close','Content-Type':_0x18a9f0(0x241),'Content-Length':Buffer[_0x18a9f0(0x22b)](_0x5b872f),..._0x4611bc},_0x449767['once']('finish',_0x449767[_0x18a9f0(0x85)]),_0x449767['end'](_0x18a9f0(0xb0)+_0x46b8a1+'\x20'+_0xf51352['STATUS_CODES'][_0x46b8a1]+'\x0d\x0a'+Object['keys'](_0x4611bc)[_0x18a9f0(0x18c)](_0x49d564=>_0x49d564+':\x20'+_0x4611bc[_0x49d564])['join']('\x0d\x0a')+_0x18a9f0(0x1de)+_0x5b872f);}function _0x4bc837(_0x1d8200,_0x430c0a,_0x367ccb,_0x4f5990,_0x5dbc0a){const _0x167c61=_0x1887b0;if(_0x1d8200[_0x167c61(0xe4)](_0x167c61(0x110))){const _0x304d7b=new Error(_0x5dbc0a);Error[_0x167c61(0x14c)](_0x304d7b,_0x4bc837),_0x1d8200[_0x167c61(0x112)]('wsClientError',_0x304d7b,_0x367ccb,_0x430c0a);}else _0x223f5b(_0x367ccb,_0x4f5990,_0x5dbc0a);}return Te;}Ft();var jt=Object[_0x54d721(0xb1)],Wt=(_0x44b1f5,_0x3844a1,_0x17e4e0,_0xe2a2e9)=>{const _0x156a4a=_0x54d721;for(var _0x62a004=_0xe2a2e9>0x1?void 0x0:_0xe2a2e9?jt(_0x3844a1,_0x17e4e0):_0x3844a1,_0x57e0da=_0x44b1f5[_0x156a4a(0xc3)]-0x1,_0x54e231;_0x57e0da>=0x0;_0x57e0da--)(_0x54e231=_0x44b1f5[_0x57e0da])&&(_0x62a004=_0x54e231(_0x62a004)||_0x62a004);return _0x62a004;},qt=(_0x3d8482,_0x22bf3e)=>(_0x3f6123,_0x3b691d)=>_0x22bf3e(_0x3f6123,_0x3b691d,_0x3d8482);let ke=class extends A[_0x54d721(0xc7)]{constructor(_0x4b2f62){const _0xf30f1a=_0x54d721;super(),this[_0xf30f1a(0x163)]=_0x4b2f62;}[_0x54d721(0xad)](_0x3bc267){const _0x2395f6=_0x54d721;var _0x4e76b0;const _0x3f4ad5=(_0x4e76b0=this[_0x2395f6(0x163)][_0x2395f6(0x184)](fe))==null?void 0x0:_0x4e76b0['customHeaders'];try{const _0x2f713c=new $t(_0x3bc267,{'headers':{..._0x3f4ad5}}),_0x291df5=new A[(_0x2395f6(0x7d))]();return{'URL':_0x3bc267,'close':(_0x1d2b17,_0x2a0424)=>{const _0x27c202=_0x2395f6;_0x2f713c[_0x27c202(0x220)](_0x1d2b17,_0x2a0424),_0x291df5[_0x27c202(0x12d)]();},'send':_0xa2710d=>{_0x2f713c['send'](_0xa2710d);},'open$':new V['Observable'](_0x4d079b=>{const _0x1836fc=_0x2395f6,_0x5996da=_0x20d320=>_0x4d079b[_0x1836fc(0x173)](_0x20d320);_0x2f713c[_0x1836fc(0x169)]('open',_0x5996da),_0x291df5['add'](A['toDisposable'](()=>_0x2f713c['removeEventListener'](_0x1836fc(0xa0),_0x5996da)));})['pipe'](V[_0x2395f6(0x1eb)]()),'close$':new V[(_0x2395f6(0x1ae))](_0x219386=>{const _0x2a5c28=_0x2395f6,_0x1147b3=_0x150d38=>_0x219386[_0x2a5c28(0x173)](_0x150d38);_0x2f713c['addEventListener'](_0x2a5c28(0x220),_0x1147b3),_0x291df5['add'](A[_0x2a5c28(0x224)](()=>_0x2f713c[_0x2a5c28(0x205)](_0x2a5c28(0x220),_0x1147b3)));})[_0x2395f6(0x136)](V['share']()),'error$':new V[(_0x2395f6(0x1ae))](_0x52fc29=>{const _0x2dbaed=_0x2395f6,_0x53e524=_0x3b05e6=>_0x52fc29[_0x2dbaed(0x173)](_0x3b05e6);_0x2f713c['addEventListener']('error',_0x53e524),_0x291df5[_0x2dbaed(0x194)](A[_0x2dbaed(0x224)](()=>_0x2f713c[_0x2dbaed(0x205)](_0x2dbaed(0x1db),_0x53e524)));})[_0x2395f6(0x136)](V[_0x2395f6(0x1eb)]()),'message$':new V[(_0x2395f6(0x1ae))](_0x4d494f=>{const _0x22da48=_0x2395f6,_0x128b83=_0x1e4959=>_0x4d494f[_0x22da48(0x173)](_0x1e4959);_0x2f713c[_0x22da48(0x169)]('message',_0x128b83),_0x291df5[_0x22da48(0x194)](A[_0x22da48(0x224)](()=>_0x2f713c['removeEventListener'](_0x22da48(0x1f9),_0x128b83)));})[_0x2395f6(0x136)](V['share']())};}catch(_0x3238fb){return console[_0x2395f6(0x1db)](_0x3238fb),null;}}};ke=Wt([qt(0x0,A['IConfigService'])],ke);var Gt=Object[_0x54d721(0x15b)],Vt=Object['getOwnPropertyDescriptor'],Ht=(_0x339424,_0x3d44b5,_0x396e31)=>_0x3d44b5 in _0x339424?Gt(_0x339424,_0x3d44b5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x396e31}):_0x339424[_0x3d44b5]=_0x396e31,zt=(_0x4684ee,_0x347a4b,_0x5b02ef,_0x4ccaca)=>{const _0x11a953=_0x54d721;for(var _0x216346=_0x4ccaca>0x1?void 0x0:_0x4ccaca?Vt(_0x347a4b,_0x5b02ef):_0x347a4b,_0x4b5988=_0x4684ee[_0x11a953(0xc3)]-0x1,_0xf6267b;_0x4b5988>=0x0;_0x4b5988--)(_0xf6267b=_0x4684ee[_0x4b5988])&&(_0x216346=_0xf6267b(_0x216346)||_0x216346);return _0x216346;},Ne=(_0x183792,_0x188339)=>(_0x462cf6,_0x455ebb)=>_0x188339(_0x462cf6,_0x455ebb,_0x183792),Yt=(_0x1802bf,_0x419328,_0x1a9e73)=>Ht(_0x1802bf,_0x419328+'',_0x1a9e73);exports['UniverCollaborationClientNodePlugin']=class extends A[_0x54d721(0xc4)]{constructor(_0x297e0d=Ct,_0x59ba9f,_0x4dc6db,_0x16517f){const _0x2bd1f7=_0x54d721;_0x297e0d[_0x2bd1f7(0xc1)]||_0x59ba9f[_0x2bd1f7(0xf1)](_0x2bd1f7(0xcb)),super(),this['_configService']=_0x4dc6db,this[_0x2bd1f7(0x225)]=_0x16517f,this[_0x2bd1f7(0x163)][_0x2bd1f7(0x1cb)](fe,_0x297e0d);}['onStarting'](){const _0x35bace=_0x54d721;this[_0x35bace(0x1ee)]();}[_0x54d721(0x1ee)](){const _0x2337d4=_0x54d721;A['registerDependencies'](this[_0x2337d4(0x225)],[[it[_0x2337d4(0x1ed)],{'useClass':ke}]]);}},Yt(exports[_0x54d721(0xb8)],_0x54d721(0xeb),_0x54d721(0xa4)),exports[_0x54d721(0xb8)]=zt([A[_0x54d721(0x105)](st['UniverCollaborationClientPlugin']),Ne(0x1,A[_0x54d721(0xe3)]),Ne(0x2,A['IConfigService']),Ne(0x3,A[_0x54d721(0x22f)](A[_0x54d721(0x21b)]))],exports[_0x54d721(0xb8)]);var Kt=Object[_0x54d721(0xb1)],Xt=(_0x2b5c86,_0x4e86cc,_0x2b8993,_0x116e76)=>{const _0x2d1632=_0x54d721;for(var _0x3aed78=_0x116e76>0x1?void 0x0:_0x116e76?Kt(_0x4e86cc,_0x2b8993):_0x4e86cc,_0x5ad082=_0x2b5c86[_0x2d1632(0xc3)]-0x1,_0x17da72;_0x5ad082>=0x0;_0x5ad082--)(_0x17da72=_0x2b5c86[_0x5ad082])&&(_0x3aed78=_0x17da72(_0x3aed78)||_0x3aed78);return _0x3aed78;},ne=(_0x1546fb,_0x195302)=>(_0x2e0444,_0x40bc47)=>_0x195302(_0x2e0444,_0x40bc47,_0x1546fb);exports[_0x54d721(0xa6)]=class extends st[_0x54d721(0x1ab)]{constructor(_0x241203,_0x586a4b,_0x139709,_0x3f8701,_0x57dd23){const _0x2f4703=_0x54d721;super(_0x241203,_0x586a4b,_0x139709,_0x3f8701,_0x57dd23);const _0x382c81=this['_configService'][_0x2f4703(0x184)](fe);this[_0x2f4703(0x7b)]['registerHTTPInterceptor']({'interceptor':(_0xd85844,_0x4d4bdb)=>{const _0x404e43=_0x2f4703;var _0x1b87e4;const _0x2dea87=_0xd85844[_0x404e43(0x14a)];return(_0x1b87e4=_0x382c81==null?void 0x0:_0x382c81['customHeaders'])!=null&&_0x1b87e4[_0x404e43(0x1b8)]&&_0x2dea87[_0x404e43(0x10f)]('Cookie',_0x382c81[_0x404e43(0xc1)][_0x404e43(0x1b8)]),_0x4d4bdb(_0xd85844);}});}async[_0x54d721(0xad)](_0x23fc41){const _0xb4f654=_0x54d721;return this[_0xb4f654(0x1df)](_0x23fc41);}},exports['NodeCollaborationSocketService']=Xt([ne(0x0,A['Inject'](A['Injector'])),ne(0x1,A[_0x54d721(0x22f)](it[_0x54d721(0x162)])),ne(0x2,A[_0x54d721(0x139)]),ne(0x3,A[_0x54d721(0xe3)]),ne(0x4,Ot[_0x54d721(0x8d)])],exports['NodeCollaborationSocketService']),exports['COLLABORATION_CLIENT_NODE_CONFIG_KEY']=fe;
1
+ 'use strict';const _0x5c908d=_0x2b90;(function(_0x4a9999,_0x64771a){const _0x527310=_0x2b90,_0x95d259=_0x4a9999();while(!![]){try{const _0x58f26a=-parseInt(_0x527310(0x274))/0x1*(parseInt(_0x527310(0x1d3))/0x2)+parseInt(_0x527310(0x161))/0x3+parseInt(_0x527310(0x19a))/0x4*(parseInt(_0x527310(0x185))/0x5)+-parseInt(_0x527310(0x2e1))/0x6*(parseInt(_0x527310(0x278))/0x7)+parseInt(_0x527310(0x2f3))/0x8*(parseInt(_0x527310(0x2ca))/0x9)+-parseInt(_0x527310(0x17f))/0xa+parseInt(_0x527310(0x2f9))/0xb;if(_0x58f26a===_0x64771a)break;else _0x95d259['push'](_0x95d259['shift']());}catch(_0x1caa2f){_0x95d259['push'](_0x95d259['shift']());}}}(_0x28d2,0x5757c));function _0x28d2(){const _0x456623=['Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','nextTick','GET','apply','_fragments','FIN\x20must\x20be\x20set','isValidUTF8','followRedirects','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','WS_ERR_EXPECTED_FIN','status-code','server','protocol','path','_sender','call','_server','WS_ERR_INVALID_CLOSE_CODE','function','acceptAsServer','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','_isServer','arraybuffer','defineProperty','Upgrade','@univerjs/core','COLLABORATION_CLIENT_NODE_CONFIG_KEY','_decompress','invalid\x20payload\x20length\x20','add','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','kWasClean','response','total-length','port','toLowerCase','location','size','number','allowSynchronousEvents','error','client','_read','onmessage','_protocol','UniverCollaborationClientNodePlugin','client_no_context_takeover','has','WS_ERR_UNEXPECTED_MASK','open','_mask','_skipUTF8Validation','terminate','sendFrame','_maskBuffer','_paused','href','cork','redirect','_no_context_takeover','Module','objectMode','object','Invalid\x20Sec-WebSocket-Accept\x20header','listen','_compress','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','map','_allowSynchronousEvents','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','ISocketService','errorEmitted','isArray','blob','Invalid\x20value\x20for\x20parameter\x20\x22','readUInt16BE','values','pow','password','https','replace','destroy','_receiver','createDeflateRaw','extensionName','_readableState','_state','alloc','username','createSocket','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','enqueue','MASK\x20must\x20be\x20clear','_originalSecure','WS_ERR_UNEXPECTED_RSV_1','getOwnPropertyDescriptor','File','handleEvent','verifyClient','wsClientError','_firstFragment','zlib','kIsForOnEventAttribute','_payloadLength','getData','CLOSING','Sec-WebSocket-Protocol','sha1','Parameter\x20\x22','nodebuffer','_readyState','Max\x20payload\x20size\x20exceeded','isBuffer','forEach','threshold','websocket','sec-websocket-extensions','headers','__esModule','address','toString','Invalid\x20URL:\x20','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','byteOffset','noServer','Injector','invalid\x20opcode\x20','allocUnsafe','UniverCollaborationClientPlugin','offer','_opcode','completeUpgrade','WS_ERR_UNEXPECTED_RSV_2_3','search','STATUS_CODES','construct','getConfig','mask','Upgrade:\x20websocket','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','text/plain','net','defaultPort','getBlobData','from','1PPTWmb','decompress','readyState','serverNoContextTakeover','5572CGjqlG','Observable','arrayBuffer','_loop','Z_SYNC_FLUSH','getMask','join','maxRedirects','removeEventListener','compress','_final','wss:','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','reason','readOnly','_generateMask','_closeMessage','RSV1\x20must\x20be\x20clear','HTTP/1.1\x20','find','_url','protocolVersion','_extensions','dispose','connect','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','Disposable','generateMask','invalid\x20UTF-8\x20sequence','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','conclude','_inflate','origin','CLOSED','length','next','removeAllListeners','clientMaxWindowBits','ISnapshotServerService','target','events','CollaborationSocketService','Sec-WebSocket-Origin','kData','_closeFrameSent','finished','_max_window_bits','consume','customHeaders','Blob','extensions','controlMessage','drain','registerHTTPInterceptor','send','Opening\x20handshake\x20has\x20timed\x20out','pong','_fin','readable','@univerjs-pro/collaboration-client','_threshold','hasOwnProperty','Origin','normalizeParams','rxjs','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','type','setNoDelay','destroyed','Basic\x20','kCode','WS_NO_BUFFER_UTIL','kMessage','listenerCount','Unexpected\x20end\x20of\x20input','\x22\x20must\x20have\x20only\x20a\x20single\x20value','Unsupported\x20protocol\x20version:\x20','handshakeTimeout','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','The\x20URL\x20contains\x20a\x20fragment\x20identifier','end','host','2538roXdxL','authorization','species','pause','Inject','WebSocket','wasClean','kTarget','_closeTimer','kByteLength','endEmitted','unshift','dataMessage','WS_ERR_INVALID_OPCODE','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','crypto','Sec-WebSocket-Extensions:\x20','server_max_window_bits','_req','buffer','setSocket','_options','client_max_window_bits','1296VNrrzj','pathname','kType','NodeCollaborationSocketService','skipUTF8Validation','getPayloadLength64','_writableState','kAborted','WebSocket\x20is\x20not\x20open:\x20readyState\x20','handleUpgrade','Invalid\x20Upgrade\x20header','params','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','emit','handleProtocols','_buffers','finish','set','12736gckYZr','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','emitClose','DisposableCollection','clientTracking','url','1638241FTfKUR','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','servername','onerror','_totalPayloadLength','\x22\x20subprotocol\x20is\x20duplicated','Server\x20sent\x20an\x20invalid\x20subprotocol','listeners','fin','Invalid\x20HTTP\x20method','IConfigService','text/html','read','_socket','cleanup','binaryType','write','digest','fragments','share','HTTP/1.1\x20101\x20Switching\x20Protocols','Unexpected\x20server\x20response:\x20','_queue','listening','exports','setHeader','DependentOn','\x22:\x20','default','server_no_context_takeover','_registerDependencies','pluginName','_errored','_redirects','dequeue','setTimeout','concurrency','Invalid\x20Sec-WebSocket-Extensions\x20header','_closeCode','tls','flush','Unknown\x20parameter\x20\x22','MASK\x20must\x20be\x20set','reset','connection','string','_removeListeners','isView','WS_ERR_EXPECTED_MASK','addEventListener','472932HxwTll','stream','_compressed','binary','shouldHandle','WS_ERR_INVALID_UTF8','_originalHostOrSocketPath','acceptAsClient','keys','_errorEmitted','CONNECTING','concurrencyLimit','get','message','options','_originalIpc','prototype','split','pending','_bufferedAmount','upgrade','serverMaxWindowBits','request','_write','byteLength','_bufferedBytes','getInfo','_closeFrameReceived','frame','captureStackTrace','6838080UstGsa','once','The\x20\x22','_autoPong','hostname','maxPayload','25wwHPAn','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','close','clientNoContextTakeover','Unexpected\x20character\x20at\x20index\x20','readUInt32BE','bufferedAmount','sec-websocket-key','create','backlog','shift','http','indexOf','pipe','permessage-deflate','kDone','isPaused','_shouldEmitClose','invalid\x20status\x20code\x20','abort','push','393604gDHwlv','toDisposable','unmask','concat','startLoop','_injector','isIP','parse','_binaryType','opcode','The\x20URL\x27s\x20pathname\x20is\x20empty','_maxPayload','jobs','createConnection','finishRequest','OPEN','perMessageDeflate','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','_configService','statusCode','writeUInt16BE','slice','data','_masked','createError','kListener','removeListener','Server\x20sent\x20no\x20subprotocol','socketPath','_fragmented','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','code','buffers','Connection:\x20Upgrade','autoPong','cookie','catch','kReason','Sec-WebSocket-Accept:\x20','auth','timeout','toStringTag','_deflate','delete','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','charCodeAt','env','createServer','base64','ping','clients','Sec-WebSocket-Extensions','freeze','bind','ILogService','accept','sec-websocket-accept','68048inMWmR','resume','dispatch','socket','authorized','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','Plugin','haveLength','includes','writeUIntBE','ws:','sec-websocket-protocol','_messageLength','isInteger','Invalid\x20Sec-WebSocket-Protocol\x20header'];_0x28d2=function(){return _0x456623;};return _0x28d2();}Object[_0x5c908d(0x1f9)](exports,Symbol[_0x5c908d(0x1c3)],{'value':_0x5c908d(0x21e)});const st=require(_0x5c908d(0x2b3)),A=require(_0x5c908d(0x1fb)),it=require('@univerjs/network'),V=require(_0x5c908d(0x2b8)),nt=require(_0x5c908d(0x2a0)),vt=require(_0x5c908d(0x232)),ot=require(_0x5c908d(0x190)),St=require(_0x5c908d(0x270)),Et=require(_0x5c908d(0x156)),Le=require(_0x5c908d(0x2d9)),oe=require(_0x5c908d(0x162)),xt=require(_0x5c908d(0x2f8)),bt=require(_0x5c908d(0x248)),wt=require(_0x5c908d(0x2dd)),Ot=require('@univerjs-pro/collaboration'),fe='collaboration-client-node.config',Ct={'customHeaders':{}};function Tt(_0xe580de){const _0x5a66e8=_0x5c908d;return _0xe580de&&_0xe580de[_0x5a66e8(0x259)]&&Object[_0x5a66e8(0x171)][_0x5a66e8(0x2b5)][_0x5a66e8(0x1f1)](_0xe580de,'default')?_0xe580de[_0x5a66e8(0x14b)]:_0xe580de;}function _0x2b90(_0x314a8a,_0x2c376f){const _0x28d237=_0x28d2();return _0x2b90=function(_0x2b9047,_0x42f8a7){_0x2b9047=_0x2b9047-0x136;let _0x42fb5a=_0x28d237[_0x2b9047];return _0x42fb5a;},_0x2b90(_0x314a8a,_0x2c376f);}function at(_0x3d671c){const _0x58480d=_0x5c908d;if(Object[_0x58480d(0x171)][_0x58480d(0x2b5)][_0x58480d(0x1f1)](_0x3d671c,_0x58480d(0x259)))return _0x3d671c;var _0x185c5c=_0x3d671c['default'];if(typeof _0x185c5c==_0x58480d(0x1f4)){var _0x36e3af=function _0x241c6a(){const _0x49ef49=_0x58480d;return this instanceof _0x241c6a?Reflect[_0x49ef49(0x26a)](_0x185c5c,arguments,this['constructor']):_0x185c5c[_0x49ef49(0x1e5)](this,arguments);};_0x36e3af[_0x58480d(0x171)]=_0x185c5c[_0x58480d(0x171)];}else _0x36e3af={};return Object[_0x58480d(0x1f9)](_0x36e3af,'__esModule',{'value':!0x0}),Object[_0x58480d(0x169)](_0x3d671c)[_0x58480d(0x254)](function(_0x3b7832){const _0x1ed9e3=_0x58480d;var _0x3e11c0=Object[_0x1ed9e3(0x242)](_0x3d671c,_0x3b7832);Object[_0x1ed9e3(0x1f9)](_0x36e3af,_0x3b7832,_0x3e11c0[_0x1ed9e3(0x16d)]?_0x3e11c0:{'enumerable':!0x0,'get':function(){return _0x3d671c[_0x3b7832];}});}),_0x36e3af;}var se={'exports':{}},ge,Ge;function H(){const _0x26ad31=_0x5c908d;if(Ge)return ge;Ge=0x1;const _0x1c8743=[_0x26ad31(0x250),_0x26ad31(0x1f8),_0x26ad31(0x141)],_0x2fd64f=typeof Blob<'u';return _0x2fd64f&&_0x1c8743[_0x26ad31(0x199)](_0x26ad31(0x22c)),ge={'BINARY_TYPES':_0x1c8743,'EMPTY_BUFFER':Buffer[_0x26ad31(0x23a)](0x0),'GUID':_0x26ad31(0x25d),'hasBlob':_0x2fd64f,'kForOnEventAttribute':Symbol(_0x26ad31(0x249)),'kListener':Symbol(_0x26ad31(0x1b3)),'kStatusCode':Symbol(_0x26ad31(0x1ec)),'kWebSocket':Symbol(_0x26ad31(0x256)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x5c908d(0x1ce)](Object[_0x5c908d(0x1f9)]({'__proto__':null,'default':Nt},Symbol[_0x5c908d(0x1c3)],{'value':_0x5c908d(0x21e)})),Lt=at(kt);var Ve;function ce(){const _0x25f466=_0x5c908d;if(Ve)return se['exports'];Ve=0x1;const {EMPTY_BUFFER:_0x158fe7}=H(),_0x10bbe8=Buffer[Symbol[_0x25f466(0x2cc)]];function _0x4edf86(_0xb5918d,_0x51e71e){const _0x54ddd7=_0x25f466;if(_0xb5918d['length']===0x0)return _0x158fe7;if(_0xb5918d[_0x54ddd7(0x29a)]===0x1)return _0xb5918d[0x0];const _0x1c48d2=Buffer[_0x54ddd7(0x262)](_0x51e71e);let _0x5a6b54=0x0;for(let _0x473d97=0x0;_0x473d97<_0xb5918d['length'];_0x473d97++){const _0x3e0940=_0xb5918d[_0x473d97];_0x1c48d2[_0x54ddd7(0x2f2)](_0x3e0940,_0x5a6b54),_0x5a6b54+=_0x3e0940[_0x54ddd7(0x29a)];}return _0x5a6b54<_0x51e71e?new _0x10bbe8(_0x1c48d2['buffer'],_0x1c48d2[_0x54ddd7(0x25e)],_0x5a6b54):_0x1c48d2;}function _0x2e6cba(_0x15d33e,_0x55457c,_0xefbf8c,_0x12b8e5,_0xf52cfc){for(let _0x206f0b=0x0;_0x206f0b<_0xf52cfc;_0x206f0b++)_0xefbf8c[_0x12b8e5+_0x206f0b]=_0x15d33e[_0x206f0b]^_0x55457c[_0x206f0b&0x3];}function _0x4da31f(_0x490ecb,_0x4fb9eb){const _0x316be0=_0x25f466;for(let _0x108905=0x0;_0x108905<_0x490ecb[_0x316be0(0x29a)];_0x108905++)_0x490ecb[_0x108905]^=_0x4fb9eb[_0x108905&0x3];}function _0x15ed1c(_0x237e1e){const _0x3f82f0=_0x25f466;return _0x237e1e[_0x3f82f0(0x29a)]===_0x237e1e[_0x3f82f0(0x2dd)][_0x3f82f0(0x179)]?_0x237e1e[_0x3f82f0(0x2dd)]:_0x237e1e[_0x3f82f0(0x2dd)][_0x3f82f0(0x1af)](_0x237e1e[_0x3f82f0(0x25e)],_0x237e1e[_0x3f82f0(0x25e)]+_0x237e1e[_0x3f82f0(0x29a)]);}function _0x191b00(_0x17a8d6){const _0x178181=_0x25f466;if(_0x191b00['readOnly']=!0x0,Buffer[_0x178181(0x253)](_0x17a8d6))return _0x17a8d6;let _0x560df0;return _0x17a8d6 instanceof ArrayBuffer?_0x560df0=new _0x10bbe8(_0x17a8d6):ArrayBuffer[_0x178181(0x15e)](_0x17a8d6)?_0x560df0=new _0x10bbe8(_0x17a8d6[_0x178181(0x2dd)],_0x17a8d6[_0x178181(0x25e)],_0x17a8d6[_0x178181(0x179)]):(_0x560df0=Buffer[_0x178181(0x273)](_0x17a8d6),_0x191b00['readOnly']=!0x1),_0x560df0;}if(se[_0x25f466(0x147)]={'concat':_0x4edf86,'mask':_0x2e6cba,'toArrayBuffer':_0x15ed1c,'toBuffer':_0x191b00,'unmask':_0x4da31f},!process['env'][_0x25f466(0x2bf)])try{const _0x2c523a=Lt;se[_0x25f466(0x147)][_0x25f466(0x26c)]=function(_0x1906f2,_0x4c986a,_0x68325f,_0x4b50f9,_0x5d8e4e){const _0x324a65=_0x25f466;_0x5d8e4e<0x30?_0x2e6cba(_0x1906f2,_0x4c986a,_0x68325f,_0x4b50f9,_0x5d8e4e):_0x2c523a[_0x324a65(0x26c)](_0x1906f2,_0x4c986a,_0x68325f,_0x4b50f9,_0x5d8e4e);},se[_0x25f466(0x147)][_0x25f466(0x19c)]=function(_0x43cd89,_0xcbc78a){const _0x1c0839=_0x25f466;_0x43cd89[_0x1c0839(0x29a)]<0x20?_0x4da31f(_0x43cd89,_0xcbc78a):_0x2c523a['unmask'](_0x43cd89,_0xcbc78a);};}catch{}return se['exports'];}var ye,He;function Pt(){const _0x570eb7=_0x5c908d;if(He)return ye;He=0x1;const _0x4a0bf4=Symbol(_0x570eb7(0x194)),_0x4d0561=Symbol('kRun');class _0x111da0{constructor(_0xd9c16){const _0x531864=_0x570eb7;this[_0x4a0bf4]=()=>{this['pending']--,this[_0x4d0561]();},this['concurrency']=_0xd9c16||0x1/0x0,this[_0x531864(0x1a6)]=[],this[_0x531864(0x173)]=0x0;}['add'](_0xebbbc5){const _0x2a4320=_0x570eb7;this[_0x2a4320(0x1a6)][_0x2a4320(0x199)](_0xebbbc5),this[_0x4d0561]();}[_0x4d0561](){const _0x5b70cd=_0x570eb7;if(this[_0x5b70cd(0x173)]!==this[_0x5b70cd(0x153)]&&this['jobs']['length']){const _0x349d07=this['jobs'][_0x5b70cd(0x18f)]();this[_0x5b70cd(0x173)]++,_0x349d07(this[_0x4a0bf4]);}}}return ye=_0x111da0,ye;}var ve,ze;function he(){const _0x22230e=_0x5c908d;if(ze)return ve;ze=0x1;const _0x4b6881=bt,_0x47d435=ce(),_0x194215=Pt(),{kStatusCode:_0x586a38}=H(),_0x5080b3=Buffer[Symbol[_0x22230e(0x2cc)]],_0x2534ce=Buffer[_0x22230e(0x273)]([0x0,0x0,0xff,0xff]),_0x17d780=Symbol(_0x22230e(0x193)),_0x569f84=Symbol(_0x22230e(0x203)),_0x593fec=Symbol('callback'),_0x47788f=Symbol(_0x22230e(0x1ba)),_0x227a04=Symbol(_0x22230e(0x20a));let _0x316c1c;class _0x2a58e1{constructor(_0x1e748e,_0x501799,_0x1a4faa){const _0x12c340=_0x22230e;if(this[_0x12c340(0x1a5)]=_0x1a4faa|0x0,this[_0x12c340(0x2df)]=_0x1e748e||{},this[_0x12c340(0x2b4)]=this['_options'][_0x12c340(0x255)]!==void 0x0?this[_0x12c340(0x2df)][_0x12c340(0x255)]:0x400,this['_isServer']=!!_0x501799,this[_0x12c340(0x1c4)]=null,this[_0x12c340(0x297)]=null,this['params']=null,!_0x316c1c){const _0x54de9e=this[_0x12c340(0x2df)][_0x12c340(0x16c)]!==void 0x0?this[_0x12c340(0x2df)][_0x12c340(0x16c)]:0xa;_0x316c1c=new _0x194215(_0x54de9e);}}static get[_0x22230e(0x237)](){const _0x30a87d=_0x22230e;return _0x30a87d(0x193);}[_0x22230e(0x264)](){const _0x126bf1=_0x22230e,_0x416df3={};return this[_0x126bf1(0x2df)][_0x126bf1(0x277)]&&(_0x416df3[_0x126bf1(0x14c)]=!0x0),this[_0x126bf1(0x2df)][_0x126bf1(0x188)]&&(_0x416df3['client_no_context_takeover']=!0x0),this['_options'][_0x126bf1(0x176)]&&(_0x416df3['server_max_window_bits']=this[_0x126bf1(0x2df)][_0x126bf1(0x176)]),this[_0x126bf1(0x2df)]['clientMaxWindowBits']?_0x416df3[_0x126bf1(0x2e0)]=this[_0x126bf1(0x2df)][_0x126bf1(0x29d)]:this['_options'][_0x126bf1(0x29d)]==null&&(_0x416df3['client_max_window_bits']=!0x0),_0x416df3;}[_0x22230e(0x1d1)](_0x566b80){const _0x27bb16=_0x22230e;return _0x566b80=this['normalizeParams'](_0x566b80),this[_0x27bb16(0x2ec)]=this[_0x27bb16(0x1f7)]?this[_0x27bb16(0x1f5)](_0x566b80):this[_0x27bb16(0x168)](_0x566b80),this['params'];}['cleanup'](){const _0x2e8572=_0x22230e;if(this[_0x2e8572(0x297)]&&(this[_0x2e8572(0x297)]['close'](),this[_0x2e8572(0x297)]=null),this[_0x2e8572(0x1c4)]){const _0x27781c=this[_0x2e8572(0x1c4)][_0x593fec];this['_deflate']['close'](),this['_deflate']=null,_0x27781c&&_0x27781c(new Error(_0x2e8572(0x224)));}}[_0x22230e(0x1f5)](_0x2c5d7){const _0x480158=_0x22230e,_0x3303c8=this[_0x480158(0x2df)],_0x7dde85=_0x2c5d7[_0x480158(0x28b)](_0x1ea346=>!(_0x3303c8[_0x480158(0x277)]===!0x1&&_0x1ea346[_0x480158(0x14c)]||_0x1ea346[_0x480158(0x2db)]&&(_0x3303c8[_0x480158(0x176)]===!0x1||typeof _0x3303c8[_0x480158(0x176)]==_0x480158(0x208)&&_0x3303c8[_0x480158(0x176)]>_0x1ea346[_0x480158(0x2db)])||typeof _0x3303c8[_0x480158(0x29d)]=='number'&&!_0x1ea346[_0x480158(0x2e0)]));if(!_0x7dde85)throw new Error(_0x480158(0x1c6));return _0x3303c8[_0x480158(0x277)]&&(_0x7dde85['server_no_context_takeover']=!0x0),_0x3303c8[_0x480158(0x188)]&&(_0x7dde85[_0x480158(0x210)]=!0x0),typeof _0x3303c8[_0x480158(0x176)]==_0x480158(0x208)&&(_0x7dde85[_0x480158(0x2db)]=_0x3303c8[_0x480158(0x176)]),typeof _0x3303c8[_0x480158(0x29d)]=='number'?_0x7dde85[_0x480158(0x2e0)]=_0x3303c8['clientMaxWindowBits']:(_0x7dde85['client_max_window_bits']===!0x0||_0x3303c8[_0x480158(0x29d)]===!0x1)&&delete _0x7dde85[_0x480158(0x2e0)],_0x7dde85;}['acceptAsClient'](_0x2907d7){const _0x4ecad4=_0x22230e,_0xc73b7a=_0x2907d7[0x0];if(this['_options'][_0x4ecad4(0x188)]===!0x1&&_0xc73b7a[_0x4ecad4(0x210)])throw new Error('Unexpected\x20parameter\x20\x22client_no_context_takeover\x22');if(!_0xc73b7a['client_max_window_bits'])typeof this[_0x4ecad4(0x2df)]['clientMaxWindowBits']=='number'&&(_0xc73b7a[_0x4ecad4(0x2e0)]=this[_0x4ecad4(0x2df)][_0x4ecad4(0x29d)]);else{if(this[_0x4ecad4(0x2df)]['clientMaxWindowBits']===!0x1||typeof this[_0x4ecad4(0x2df)][_0x4ecad4(0x29d)]==_0x4ecad4(0x208)&&_0xc73b7a[_0x4ecad4(0x2e0)]>this['_options'][_0x4ecad4(0x29d)])throw new Error(_0x4ecad4(0x2f4));}return _0xc73b7a;}[_0x22230e(0x2b7)](_0x27a793){return _0x27a793['forEach'](_0x4adfdb=>{const _0x151d0c=_0x2b90;Object[_0x151d0c(0x169)](_0x4adfdb)[_0x151d0c(0x254)](_0x174e79=>{const _0x21d792=_0x151d0c;let _0x18ad56=_0x4adfdb[_0x174e79];if(_0x18ad56[_0x21d792(0x29a)]>0x1)throw new Error(_0x21d792(0x24f)+_0x174e79+_0x21d792(0x2c3));if(_0x18ad56=_0x18ad56[0x0],_0x174e79===_0x21d792(0x2e0)){if(_0x18ad56!==!0x0){const _0x59c56a=+_0x18ad56;if(!Number[_0x21d792(0x1e0)](_0x59c56a)||_0x59c56a<0x8||_0x59c56a>0xf)throw new TypeError(_0x21d792(0x22d)+_0x174e79+_0x21d792(0x14a)+_0x18ad56);_0x18ad56=_0x59c56a;}else{if(!this[_0x21d792(0x1f7)])throw new TypeError(_0x21d792(0x22d)+_0x174e79+'\x22:\x20'+_0x18ad56);}}else{if(_0x174e79===_0x21d792(0x2db)){const _0x54a0d1=+_0x18ad56;if(!Number[_0x21d792(0x1e0)](_0x54a0d1)||_0x54a0d1<0x8||_0x54a0d1>0xf)throw new TypeError(_0x21d792(0x22d)+_0x174e79+_0x21d792(0x14a)+_0x18ad56);_0x18ad56=_0x54a0d1;}else{if(_0x174e79===_0x21d792(0x210)||_0x174e79==='server_no_context_takeover'){if(_0x18ad56!==!0x0)throw new TypeError(_0x21d792(0x22d)+_0x174e79+_0x21d792(0x14a)+_0x18ad56);}else throw new Error(_0x21d792(0x158)+_0x174e79+'\x22');}}_0x4adfdb[_0x174e79]=_0x18ad56;});}),_0x27a793;}[_0x22230e(0x275)](_0x70b7c8,_0x5384b1,_0x485eee){const _0x547cbb=_0x22230e;_0x316c1c[_0x547cbb(0x1ff)](_0x506ec5=>{const _0x258b8f=_0x547cbb;this[_0x258b8f(0x1fd)](_0x70b7c8,_0x5384b1,(_0x494569,_0x29ecfa)=>{_0x506ec5(),_0x485eee(_0x494569,_0x29ecfa);});});}['compress'](_0x2de05f,_0x179726,_0x5b0736){const _0x3a88d3=_0x22230e;_0x316c1c[_0x3a88d3(0x1ff)](_0x39bc5a=>{const _0x2ee2bb=_0x3a88d3;this[_0x2ee2bb(0x223)](_0x2de05f,_0x179726,(_0x39a411,_0x2de5a9)=>{_0x39bc5a(),_0x5b0736(_0x39a411,_0x2de5a9);});});}[_0x22230e(0x1fd)](_0x5e7fd3,_0x492bd7,_0x557eee){const _0x3f594e=_0x22230e,_0x2e3981=this['_isServer']?_0x3f594e(0x20b):_0x3f594e(0x1ed);if(!this[_0x3f594e(0x297)]){const _0x335d52=_0x2e3981+_0x3f594e(0x2a6),_0x3e0727=typeof this[_0x3f594e(0x2ec)][_0x335d52]!=_0x3f594e(0x208)?_0x4b6881['Z_DEFAULT_WINDOWBITS']:this[_0x3f594e(0x2ec)][_0x335d52];this[_0x3f594e(0x297)]=_0x4b6881['createInflateRaw']({...this['_options']['zlibInflateOptions'],'windowBits':_0x3e0727}),this[_0x3f594e(0x297)][_0x17d780]=this,this[_0x3f594e(0x297)][_0x569f84]=0x0,this[_0x3f594e(0x297)][_0x47788f]=[],this[_0x3f594e(0x297)]['on'](_0x3f594e(0x20a),_0xee858a),this[_0x3f594e(0x297)]['on'](_0x3f594e(0x1b0),_0x36a876);}this['_inflate'][_0x593fec]=_0x557eee,this[_0x3f594e(0x297)]['write'](_0x5e7fd3),_0x492bd7&&this[_0x3f594e(0x297)][_0x3f594e(0x13f)](_0x2534ce),this[_0x3f594e(0x297)]['flush'](()=>{const _0x51a2b6=_0x3f594e,_0x11f67e=this[_0x51a2b6(0x297)][_0x227a04];if(_0x11f67e){this[_0x51a2b6(0x297)]['close'](),this[_0x51a2b6(0x297)]=null,_0x557eee(_0x11f67e);return;}const _0x3afab2=_0x47d435['concat'](this['_inflate'][_0x47788f],this[_0x51a2b6(0x297)][_0x569f84]);this[_0x51a2b6(0x297)]['_readableState']['endEmitted']?(this[_0x51a2b6(0x297)]['close'](),this[_0x51a2b6(0x297)]=null):(this[_0x51a2b6(0x297)][_0x569f84]=0x0,this[_0x51a2b6(0x297)][_0x47788f]=[],_0x492bd7&&this[_0x51a2b6(0x2ec)][_0x2e3981+_0x51a2b6(0x21d)]&&this['_inflate'][_0x51a2b6(0x15a)]()),_0x557eee(null,_0x3afab2);});}['_compress'](_0x9fc4b8,_0x2ce943,_0x5a3dda){const _0x1fa3f3=_0x22230e,_0x382833=this[_0x1fa3f3(0x1f7)]?_0x1fa3f3(0x1ed):'client';if(!this[_0x1fa3f3(0x1c4)]){const _0x36cbf2=_0x382833+_0x1fa3f3(0x2a6),_0x4a234b=typeof this[_0x1fa3f3(0x2ec)][_0x36cbf2]!='number'?_0x4b6881['Z_DEFAULT_WINDOWBITS']:this[_0x1fa3f3(0x2ec)][_0x36cbf2];this[_0x1fa3f3(0x1c4)]=_0x4b6881[_0x1fa3f3(0x236)]({...this[_0x1fa3f3(0x2df)]['zlibDeflateOptions'],'windowBits':_0x4a234b}),this['_deflate'][_0x569f84]=0x0,this[_0x1fa3f3(0x1c4)][_0x47788f]=[],this[_0x1fa3f3(0x1c4)]['on'](_0x1fa3f3(0x1b0),_0x4f8398);}this[_0x1fa3f3(0x1c4)][_0x593fec]=_0x5a3dda,this[_0x1fa3f3(0x1c4)][_0x1fa3f3(0x13f)](_0x9fc4b8),this[_0x1fa3f3(0x1c4)][_0x1fa3f3(0x157)](_0x4b6881[_0x1fa3f3(0x27c)],()=>{const _0x121492=_0x1fa3f3;if(!this[_0x121492(0x1c4)])return;let _0x3a12c7=_0x47d435[_0x121492(0x19d)](this[_0x121492(0x1c4)][_0x47788f],this[_0x121492(0x1c4)][_0x569f84]);_0x2ce943&&(_0x3a12c7=new _0x5080b3(_0x3a12c7[_0x121492(0x2dd)],_0x3a12c7[_0x121492(0x25e)],_0x3a12c7[_0x121492(0x29a)]-0x4)),this[_0x121492(0x1c4)][_0x593fec]=null,this[_0x121492(0x1c4)][_0x569f84]=0x0,this['_deflate'][_0x47788f]=[],_0x2ce943&&this[_0x121492(0x2ec)][_0x382833+_0x121492(0x21d)]&&this[_0x121492(0x1c4)][_0x121492(0x15a)](),_0x5a3dda(null,_0x3a12c7);});}}ve=_0x2a58e1;function _0x4f8398(_0x36f20b){const _0x11c4fe=_0x22230e;this[_0x47788f][_0x11c4fe(0x199)](_0x36f20b),this[_0x569f84]+=_0x36f20b[_0x11c4fe(0x29a)];}function _0x36a876(_0x3ea519){const _0x5e05d7=_0x22230e;if(this[_0x569f84]+=_0x3ea519[_0x5e05d7(0x29a)],this[_0x17d780][_0x5e05d7(0x1a5)]<0x1||this[_0x569f84]<=this[_0x17d780][_0x5e05d7(0x1a5)]){this[_0x47788f][_0x5e05d7(0x199)](_0x3ea519);return;}this[_0x227a04]=new RangeError(_0x5e05d7(0x252)),this[_0x227a04][_0x5e05d7(0x1b9)]='WS_ERR_UNSUPPORTED_MESSAGE_LENGTH',this[_0x227a04][_0x586a38]=0x3f1,this[_0x5e05d7(0x1b4)](_0x5e05d7(0x1b0),_0x36a876),this[_0x5e05d7(0x15a)]();}function _0xee858a(_0x3918f7){const _0x224329=_0x22230e;this[_0x17d780][_0x224329(0x297)]=null,_0x3918f7[_0x586a38]=0x3ef,this[_0x593fec](_0x3918f7);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x5c908d(0x1ce)](Object[_0x5c908d(0x1f9)]({'__proto__':null,'default':Dt},Symbol['toStringTag'],{'value':_0x5c908d(0x21e)})),Bt=at(Rt);var Ye;function ae(){const _0x51897f=_0x5c908d;if(Ye)return ie[_0x51897f(0x147)];Ye=0x1;const {isUtf8:_0x3ef6fc}=wt,{hasBlob:_0x433db0}=H(),_0x3a572c=[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 _0x40c3c3(_0x3d9223){return _0x3d9223>=0x3e8&&_0x3d9223<=0x3f6&&_0x3d9223!==0x3ec&&_0x3d9223!==0x3ed&&_0x3d9223!==0x3ee||_0x3d9223>=0xbb8&&_0x3d9223<=0x1387;}function _0x403bba(_0x417e70){const _0x1da656=_0x51897f,_0x3b23d1=_0x417e70[_0x1da656(0x29a)];let _0x16d271=0x0;for(;_0x16d271<_0x3b23d1;)if((_0x417e70[_0x16d271]&0x80)===0x0)_0x16d271++;else{if((_0x417e70[_0x16d271]&0xe0)===0xc0){if(_0x16d271+0x1===_0x3b23d1||(_0x417e70[_0x16d271+0x1]&0xc0)!==0x80||(_0x417e70[_0x16d271]&0xfe)===0xc0)return!0x1;_0x16d271+=0x2;}else{if((_0x417e70[_0x16d271]&0xf0)===0xe0){if(_0x16d271+0x2>=_0x3b23d1||(_0x417e70[_0x16d271+0x1]&0xc0)!==0x80||(_0x417e70[_0x16d271+0x2]&0xc0)!==0x80||_0x417e70[_0x16d271]===0xe0&&(_0x417e70[_0x16d271+0x1]&0xe0)===0x80||_0x417e70[_0x16d271]===0xed&&(_0x417e70[_0x16d271+0x1]&0xe0)===0xa0)return!0x1;_0x16d271+=0x3;}else{if((_0x417e70[_0x16d271]&0xf8)===0xf0){if(_0x16d271+0x3>=_0x3b23d1||(_0x417e70[_0x16d271+0x1]&0xc0)!==0x80||(_0x417e70[_0x16d271+0x2]&0xc0)!==0x80||(_0x417e70[_0x16d271+0x3]&0xc0)!==0x80||_0x417e70[_0x16d271]===0xf0&&(_0x417e70[_0x16d271+0x1]&0xf0)===0x80||_0x417e70[_0x16d271]===0xf4&&_0x417e70[_0x16d271+0x1]>0x8f||_0x417e70[_0x16d271]>0xf4)return!0x1;_0x16d271+=0x4;}else return!0x1;}}}return!0x0;}function _0x362a04(_0x49ad29){const _0x36d604=_0x51897f;return _0x433db0&&typeof _0x49ad29==_0x36d604(0x220)&&typeof _0x49ad29[_0x36d604(0x27a)]==_0x36d604(0x1f4)&&typeof _0x49ad29[_0x36d604(0x2ba)]==_0x36d604(0x15c)&&typeof _0x49ad29[_0x36d604(0x162)]==_0x36d604(0x1f4)&&(_0x49ad29[Symbol[_0x36d604(0x1c3)]]===_0x36d604(0x2a9)||_0x49ad29[Symbol[_0x36d604(0x1c3)]]===_0x36d604(0x243));}if(ie[_0x51897f(0x147)]={'isBlob':_0x362a04,'isValidStatusCode':_0x40c3c3,'isValidUTF8':_0x403bba,'tokenChars':_0x3a572c},_0x3ef6fc)ie['exports'][_0x51897f(0x1e8)]=function(_0x2beed8){const _0x3f3ef3=_0x51897f;return _0x2beed8[_0x3f3ef3(0x29a)]<0x18?_0x403bba(_0x2beed8):_0x3ef6fc(_0x2beed8);};else{if(!process[_0x51897f(0x1c8)]['WS_NO_UTF_8_VALIDATE'])try{const _0x10d9d6=Bt;ie[_0x51897f(0x147)]['isValidUTF8']=function(_0x127e66){return _0x127e66['length']<0x20?_0x403bba(_0x127e66):_0x10d9d6(_0x127e66);};}catch{}}return ie[_0x51897f(0x147)];}var Se,Ke;function lt(){const _0xe3ade6=_0x5c908d;if(Ke)return Se;Ke=0x1;const {Writable:_0x5ac54a}=oe,_0x339f5b=he(),{BINARY_TYPES:_0x22a88b,EMPTY_BUFFER:_0x3e7575,kStatusCode:_0xa98207,kWebSocket:_0x293b88}=H(),{concat:_0x50d556,toArrayBuffer:_0x1aabbc,unmask:_0x586ada}=ce(),{isValidStatusCode:_0x146784,isValidUTF8:_0x3b5e6e}=ae(),_0x13545=Buffer[Symbol['species']],_0x4e1d1e=0x0,_0x1f76fc=0x1,_0x456386=0x2,_0x54d492=0x3,_0x527ebf=0x4,_0x4f66d7=0x5,_0x267437=0x6;class _0x237ea8 extends _0x5ac54a{constructor(_0x446f20={}){const _0x5bd230=_0x2b90;super(),this[_0x5bd230(0x226)]=_0x446f20[_0x5bd230(0x209)]!==void 0x0?_0x446f20[_0x5bd230(0x209)]:!0x0,this[_0x5bd230(0x1a2)]=_0x446f20[_0x5bd230(0x13e)]||_0x22a88b[0x0],this[_0x5bd230(0x28e)]=_0x446f20[_0x5bd230(0x2aa)]||{},this[_0x5bd230(0x1f7)]=!!_0x446f20['isServer'],this[_0x5bd230(0x1a5)]=_0x446f20['maxPayload']|0x0,this[_0x5bd230(0x215)]=!!_0x446f20['skipUTF8Validation'],this[_0x293b88]=void 0x0,this['_bufferedBytes']=0x0,this['_buffers']=[],this['_compressed']=!0x1,this['_payloadLength']=0x0,this[_0x5bd230(0x214)]=void 0x0,this['_fragmented']=0x0,this[_0x5bd230(0x1b1)]=!0x1,this[_0x5bd230(0x2b1)]=!0x1,this[_0x5bd230(0x265)]=0x0,this['_totalPayloadLength']=0x0,this[_0x5bd230(0x1df)]=0x0,this[_0x5bd230(0x1e6)]=[],this['_errored']=!0x1,this[_0x5bd230(0x27b)]=!0x1,this[_0x5bd230(0x239)]=_0x4e1d1e;}['_write'](_0x5af91d,_0x3037a2,_0x3e391c){const _0x27bf0b=_0x2b90;if(this[_0x27bf0b(0x265)]===0x8&&this[_0x27bf0b(0x239)]==_0x4e1d1e)return _0x3e391c();this['_bufferedBytes']+=_0x5af91d['length'],this[_0x27bf0b(0x2f0)][_0x27bf0b(0x199)](_0x5af91d),this[_0x27bf0b(0x19e)](_0x3e391c);}[_0xe3ade6(0x2a7)](_0xbe4d7b){const _0x57b808=_0xe3ade6;if(this[_0x57b808(0x17a)]-=_0xbe4d7b,_0xbe4d7b===this['_buffers'][0x0][_0x57b808(0x29a)])return this[_0x57b808(0x2f0)]['shift']();if(_0xbe4d7b<this[_0x57b808(0x2f0)][0x0]['length']){const _0x1c5ead=this[_0x57b808(0x2f0)][0x0];return this[_0x57b808(0x2f0)][0x0]=new _0x13545(_0x1c5ead[_0x57b808(0x2dd)],_0x1c5ead[_0x57b808(0x25e)]+_0xbe4d7b,_0x1c5ead[_0x57b808(0x29a)]-_0xbe4d7b),new _0x13545(_0x1c5ead[_0x57b808(0x2dd)],_0x1c5ead[_0x57b808(0x25e)],_0xbe4d7b);}const _0x4b4cf4=Buffer[_0x57b808(0x262)](_0xbe4d7b);do{const _0xe17788=this[_0x57b808(0x2f0)][0x0],_0x4d7a4c=_0x4b4cf4[_0x57b808(0x29a)]-_0xbe4d7b;_0xbe4d7b>=_0xe17788[_0x57b808(0x29a)]?_0x4b4cf4['set'](this['_buffers'][_0x57b808(0x18f)](),_0x4d7a4c):(_0x4b4cf4['set'](new Uint8Array(_0xe17788[_0x57b808(0x2dd)],_0xe17788[_0x57b808(0x25e)],_0xbe4d7b),_0x4d7a4c),this[_0x57b808(0x2f0)][0x0]=new _0x13545(_0xe17788[_0x57b808(0x2dd)],_0xe17788['byteOffset']+_0xbe4d7b,_0xe17788[_0x57b808(0x29a)]-_0xbe4d7b)),_0xbe4d7b-=_0xe17788[_0x57b808(0x29a)];}while(_0xbe4d7b>0x0);return _0x4b4cf4;}[_0xe3ade6(0x19e)](_0x53c96d){const _0x3987c1=_0xe3ade6;this[_0x3987c1(0x27b)]=!0x0;do switch(this[_0x3987c1(0x239)]){case _0x4e1d1e:this[_0x3987c1(0x17b)](_0x53c96d);break;case _0x1f76fc:this['getPayloadLength16'](_0x53c96d);break;case _0x456386:this[_0x3987c1(0x2e6)](_0x53c96d);break;case _0x54d492:this['getMask']();break;case _0x527ebf:this['getData'](_0x53c96d);break;case _0x4f66d7:case _0x267437:this[_0x3987c1(0x27b)]=!0x1;return;}while(this['_loop']);this[_0x3987c1(0x14f)]||_0x53c96d();}[_0xe3ade6(0x17b)](_0x3f67d8){const _0x441a77=_0xe3ade6;if(this['_bufferedBytes']<0x2){this['_loop']=!0x1;return;}const _0x145c5d=this[_0x441a77(0x2a7)](0x2);if((_0x145c5d[0x0]&0x30)!==0x0){const _0x5494c8=this['createError'](RangeError,_0x441a77(0x2b9),!0x0,0x3ea,_0x441a77(0x267));_0x3f67d8(_0x5494c8);return;}const _0x5628d6=(_0x145c5d[0x0]&0x40)===0x40;if(_0x5628d6&&!this[_0x441a77(0x28e)][_0x339f5b[_0x441a77(0x237)]]){const _0x22e8c8=this[_0x441a77(0x1b2)](RangeError,_0x441a77(0x289),!0x0,0x3ea,_0x441a77(0x241));_0x3f67d8(_0x22e8c8);return;}if(this[_0x441a77(0x2b1)]=(_0x145c5d[0x0]&0x80)===0x80,this[_0x441a77(0x265)]=_0x145c5d[0x0]&0xf,this[_0x441a77(0x24a)]=_0x145c5d[0x1]&0x7f,this[_0x441a77(0x265)]===0x0){if(_0x5628d6){const _0x41d1c9=this[_0x441a77(0x1b2)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x441a77(0x241));_0x3f67d8(_0x41d1c9);return;}if(!this[_0x441a77(0x1b7)]){const _0x251bad=this[_0x441a77(0x1b2)](RangeError,'invalid\x20opcode\x200',!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x3f67d8(_0x251bad);return;}this['_opcode']=this['_fragmented'];}else{if(this[_0x441a77(0x265)]===0x1||this[_0x441a77(0x265)]===0x2){if(this['_fragmented']){const _0x24150b=this[_0x441a77(0x1b2)](RangeError,_0x441a77(0x261)+this['_opcode'],!0x0,0x3ea,_0x441a77(0x2d7));_0x3f67d8(_0x24150b);return;}this[_0x441a77(0x163)]=_0x5628d6;}else{if(this[_0x441a77(0x265)]>0x7&&this[_0x441a77(0x265)]<0xb){if(!this[_0x441a77(0x2b1)]){const _0x5b56cf=this[_0x441a77(0x1b2)](RangeError,_0x441a77(0x1e7),!0x0,0x3ea,_0x441a77(0x1eb));_0x3f67d8(_0x5b56cf);return;}if(_0x5628d6){const _0x139d89=this['createError'](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x3f67d8(_0x139d89);return;}if(this[_0x441a77(0x24a)]>0x7d||this[_0x441a77(0x265)]===0x8&&this[_0x441a77(0x24a)]===0x1){const _0x3eeec5=this['createError'](RangeError,_0x441a77(0x1fe)+this[_0x441a77(0x24a)],!0x0,0x3ea,_0x441a77(0x2d8));_0x3f67d8(_0x3eeec5);return;}}else{const _0x473706=this[_0x441a77(0x1b2)](RangeError,_0x441a77(0x261)+this[_0x441a77(0x265)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x3f67d8(_0x473706);return;}}}if(!this['_fin']&&!this[_0x441a77(0x1b7)]&&(this[_0x441a77(0x1b7)]=this[_0x441a77(0x265)]),this['_masked']=(_0x145c5d[0x1]&0x80)===0x80,this[_0x441a77(0x1f7)]){if(!this[_0x441a77(0x1b1)]){const _0x5a244d=this[_0x441a77(0x1b2)](RangeError,_0x441a77(0x159),!0x0,0x3ea,_0x441a77(0x15f));_0x3f67d8(_0x5a244d);return;}}else{if(this[_0x441a77(0x1b1)]){const _0x4b6a87=this[_0x441a77(0x1b2)](RangeError,_0x441a77(0x23f),!0x0,0x3ea,_0x441a77(0x212));_0x3f67d8(_0x4b6a87);return;}}this[_0x441a77(0x24a)]===0x7e?this[_0x441a77(0x239)]=_0x1f76fc:this[_0x441a77(0x24a)]===0x7f?this[_0x441a77(0x239)]=_0x456386:this['haveLength'](_0x3f67d8);}['getPayloadLength16'](_0x178f1d){const _0xc4d1a5=_0xe3ade6;if(this[_0xc4d1a5(0x17a)]<0x2){this[_0xc4d1a5(0x27b)]=!0x1;return;}this['_payloadLength']=this['consume'](0x2)[_0xc4d1a5(0x22e)](0x0),this['haveLength'](_0x178f1d);}[_0xe3ade6(0x2e6)](_0x168b45){const _0x722785=_0xe3ade6;if(this['_bufferedBytes']<0x8){this[_0x722785(0x27b)]=!0x1;return;}const _0x2e0f31=this[_0x722785(0x2a7)](0x8),_0x3b9824=_0x2e0f31[_0x722785(0x18a)](0x0);if(_0x3b9824>Math[_0x722785(0x230)](0x2,0x15)-0x1){const _0x3c3c33=this[_0x722785(0x1b2)](RangeError,_0x722785(0x1b8),!0x1,0x3f1,_0x722785(0x1f6));_0x168b45(_0x3c3c33);return;}this[_0x722785(0x24a)]=_0x3b9824*Math['pow'](0x2,0x20)+_0x2e0f31[_0x722785(0x18a)](0x4),this[_0x722785(0x1da)](_0x168b45);}[_0xe3ade6(0x1da)](_0x3d6426){const _0x206910=_0xe3ade6;if(this[_0x206910(0x24a)]&&this[_0x206910(0x265)]<0x8&&(this['_totalPayloadLength']+=this['_payloadLength'],this[_0x206910(0x2fd)]>this[_0x206910(0x1a5)]&&this[_0x206910(0x1a5)]>0x0)){const _0x48bea3=this[_0x206910(0x1b2)](RangeError,_0x206910(0x252),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x3d6426(_0x48bea3);return;}this[_0x206910(0x1b1)]?this['_state']=_0x54d492:this['_state']=_0x527ebf;}[_0xe3ade6(0x27d)](){const _0x3d3125=_0xe3ade6;if(this['_bufferedBytes']<0x4){this[_0x3d3125(0x27b)]=!0x1;return;}this[_0x3d3125(0x214)]=this[_0x3d3125(0x2a7)](0x4),this['_state']=_0x527ebf;}[_0xe3ade6(0x24b)](_0x276285){const _0x4813a5=_0xe3ade6;let _0x37c765=_0x3e7575;if(this[_0x4813a5(0x24a)]){if(this[_0x4813a5(0x17a)]<this[_0x4813a5(0x24a)]){this['_loop']=!0x1;return;}_0x37c765=this['consume'](this[_0x4813a5(0x24a)]),this['_masked']&&(this[_0x4813a5(0x214)][0x0]|this[_0x4813a5(0x214)][0x1]|this[_0x4813a5(0x214)][0x2]|this['_mask'][0x3])!==0x0&&_0x586ada(_0x37c765,this[_0x4813a5(0x214)]);}if(this[_0x4813a5(0x265)]>0x7){this[_0x4813a5(0x2ab)](_0x37c765,_0x276285);return;}if(this[_0x4813a5(0x163)]){this[_0x4813a5(0x239)]=_0x4f66d7,this[_0x4813a5(0x275)](_0x37c765,_0x276285);return;}_0x37c765[_0x4813a5(0x29a)]&&(this[_0x4813a5(0x1df)]=this['_totalPayloadLength'],this[_0x4813a5(0x1e6)][_0x4813a5(0x199)](_0x37c765)),this[_0x4813a5(0x2d6)](_0x276285);}['decompress'](_0x4e79b1,_0x5d5fed){const _0x31ba98=_0xe3ade6;this[_0x31ba98(0x28e)][_0x339f5b[_0x31ba98(0x237)]]['decompress'](_0x4e79b1,this['_fin'],(_0x34a402,_0x3be982)=>{const _0x24d8ab=_0x31ba98;if(_0x34a402)return _0x5d5fed(_0x34a402);if(_0x3be982[_0x24d8ab(0x29a)]){if(this[_0x24d8ab(0x1df)]+=_0x3be982[_0x24d8ab(0x29a)],this[_0x24d8ab(0x1df)]>this[_0x24d8ab(0x1a5)]&&this[_0x24d8ab(0x1a5)]>0x0){const _0x3fef06=this[_0x24d8ab(0x1b2)](RangeError,_0x24d8ab(0x252),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x5d5fed(_0x3fef06);return;}this[_0x24d8ab(0x1e6)][_0x24d8ab(0x199)](_0x3be982);}this['dataMessage'](_0x5d5fed),this['_state']===_0x4e1d1e&&this[_0x24d8ab(0x19e)](_0x5d5fed);});}[_0xe3ade6(0x2d6)](_0x6075a5){const _0x13f4f0=_0xe3ade6;if(!this[_0x13f4f0(0x2b1)]){this[_0x13f4f0(0x239)]=_0x4e1d1e;return;}const _0x4686ad=this[_0x13f4f0(0x1df)],_0x515f0f=this['_fragments'];if(this['_totalPayloadLength']=0x0,this[_0x13f4f0(0x1df)]=0x0,this[_0x13f4f0(0x1b7)]=0x0,this[_0x13f4f0(0x1e6)]=[],this[_0x13f4f0(0x265)]===0x2){let _0x11d00d;this['_binaryType']==='nodebuffer'?_0x11d00d=_0x50d556(_0x515f0f,_0x4686ad):this['_binaryType']===_0x13f4f0(0x1f8)?_0x11d00d=_0x1aabbc(_0x50d556(_0x515f0f,_0x4686ad)):this[_0x13f4f0(0x1a2)]===_0x13f4f0(0x22c)?_0x11d00d=new Blob(_0x515f0f):_0x11d00d=_0x515f0f,this[_0x13f4f0(0x226)]?(this[_0x13f4f0(0x2ee)](_0x13f4f0(0x16e),_0x11d00d,!0x0),this[_0x13f4f0(0x239)]=_0x4e1d1e):(this[_0x13f4f0(0x239)]=_0x267437,setImmediate(()=>{const _0x763943=_0x13f4f0;this['emit'](_0x763943(0x16e),_0x11d00d,!0x0),this[_0x763943(0x239)]=_0x4e1d1e,this['startLoop'](_0x6075a5);}));}else{const _0xf73711=_0x50d556(_0x515f0f,_0x4686ad);if(!this[_0x13f4f0(0x215)]&&!_0x3b5e6e(_0xf73711)){const _0x3f3838=this[_0x13f4f0(0x1b2)](Error,_0x13f4f0(0x294),!0x0,0x3ef,_0x13f4f0(0x166));_0x6075a5(_0x3f3838);return;}this[_0x13f4f0(0x239)]===_0x4f66d7||this['_allowSynchronousEvents']?(this[_0x13f4f0(0x2ee)](_0x13f4f0(0x16e),_0xf73711,!0x1),this['_state']=_0x4e1d1e):(this[_0x13f4f0(0x239)]=_0x267437,setImmediate(()=>{const _0x5b1bf7=_0x13f4f0;this[_0x5b1bf7(0x2ee)](_0x5b1bf7(0x16e),_0xf73711,!0x1),this[_0x5b1bf7(0x239)]=_0x4e1d1e,this[_0x5b1bf7(0x19e)](_0x6075a5);}));}}['controlMessage'](_0x20d40d,_0x2b060d){const _0xe23556=_0xe3ade6;if(this[_0xe23556(0x265)]===0x8){if(_0x20d40d[_0xe23556(0x29a)]===0x0)this['_loop']=!0x1,this[_0xe23556(0x2ee)](_0xe23556(0x296),0x3ed,_0x3e7575),this[_0xe23556(0x2c8)]();else{const _0xe610b5=_0x20d40d[_0xe23556(0x22e)](0x0);if(!_0x146784(_0xe610b5)){const _0x1531ff=this[_0xe23556(0x1b2)](RangeError,_0xe23556(0x197)+_0xe610b5,!0x0,0x3ea,_0xe23556(0x1f3));_0x2b060d(_0x1531ff);return;}const _0x5a23d8=new _0x13545(_0x20d40d[_0xe23556(0x2dd)],_0x20d40d[_0xe23556(0x25e)]+0x2,_0x20d40d[_0xe23556(0x29a)]-0x2);if(!this[_0xe23556(0x215)]&&!_0x3b5e6e(_0x5a23d8)){const _0x4862ef=this['createError'](Error,_0xe23556(0x294),!0x0,0x3ef,_0xe23556(0x166));_0x2b060d(_0x4862ef);return;}this[_0xe23556(0x27b)]=!0x1,this[_0xe23556(0x2ee)](_0xe23556(0x296),_0xe610b5,_0x5a23d8),this[_0xe23556(0x2c8)]();}this[_0xe23556(0x239)]=_0x4e1d1e;return;}this[_0xe23556(0x226)]?(this[_0xe23556(0x2ee)](this[_0xe23556(0x265)]===0x9?_0xe23556(0x1cb):_0xe23556(0x2b0),_0x20d40d),this['_state']=_0x4e1d1e):(this[_0xe23556(0x239)]=_0x267437,setImmediate(()=>{const _0x12419a=_0xe23556;this[_0x12419a(0x2ee)](this[_0x12419a(0x265)]===0x9?'ping':_0x12419a(0x2b0),_0x20d40d),this['_state']=_0x4e1d1e,this['startLoop'](_0x2b060d);}));}[_0xe3ade6(0x1b2)](_0x597f45,_0x247273,_0x3e4362,_0x16de3d,_0x504359){const _0x1f9e1a=_0xe3ade6;this['_loop']=!0x1,this[_0x1f9e1a(0x14f)]=!0x0;const _0x4a1698=new _0x597f45(_0x3e4362?'Invalid\x20WebSocket\x20frame:\x20'+_0x247273:_0x247273);return Error[_0x1f9e1a(0x17e)](_0x4a1698,this[_0x1f9e1a(0x1b2)]),_0x4a1698['code']=_0x504359,_0x4a1698[_0xa98207]=_0x16de3d,_0x4a1698;}}return Se=_0x237ea8,Se;}var Ee,Xe;function ft(){const _0x1bc782=_0x5c908d;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x5a7ec6}=oe,{randomFillSync:_0xcf48b2}=Le,_0x59690a=he(),{EMPTY_BUFFER:_0x4985b9,kWebSocket:_0x4c0b9b,NOOP:_0x43d90a}=H(),{isBlob:_0x3cae1f,isValidStatusCode:_0xdc3adb}=ae(),{mask:_0x3605c7,toBuffer:_0x29cb8b}=ce(),_0x520927=Symbol(_0x1bc782(0x2d3)),_0x173449=Buffer[_0x1bc782(0x23a)](0x4),_0x39527a=0x8*0x400;let _0x4a8d0d,_0x2dbdb4=_0x39527a;const _0x43e144=0x0,_0x53513a=0x1,_0x3aee31=0x2;class _0x58c280{constructor(_0x460909,_0x29c228,_0x4678f9){const _0x2ed49c=_0x1bc782;this[_0x2ed49c(0x28e)]=_0x29c228||{},_0x4678f9&&(this[_0x2ed49c(0x287)]=_0x4678f9,this[_0x2ed49c(0x218)]=Buffer[_0x2ed49c(0x23a)](0x4)),this[_0x2ed49c(0x13c)]=_0x460909,this[_0x2ed49c(0x247)]=!0x0,this[_0x2ed49c(0x223)]=!0x1,this['_bufferedBytes']=0x0,this['_queue']=[],this[_0x2ed49c(0x239)]=_0x43e144,this[_0x2ed49c(0x2fc)]=_0x43d90a,this[_0x4c0b9b]=void 0x0;}static['frame'](_0x498aea,_0x30e426){const _0x39eece=_0x1bc782;let _0x1e00f7,_0x25c946=!0x1,_0x30bae3=0x2,_0x19f0c6=!0x1;_0x30e426['mask']&&(_0x1e00f7=_0x30e426['maskBuffer']||_0x173449,_0x30e426[_0x39eece(0x293)]?_0x30e426[_0x39eece(0x293)](_0x1e00f7):(_0x2dbdb4===_0x39527a&&(_0x4a8d0d===void 0x0&&(_0x4a8d0d=Buffer[_0x39eece(0x23a)](_0x39527a)),_0xcf48b2(_0x4a8d0d,0x0,_0x39527a),_0x2dbdb4=0x0),_0x1e00f7[0x0]=_0x4a8d0d[_0x2dbdb4++],_0x1e00f7[0x1]=_0x4a8d0d[_0x2dbdb4++],_0x1e00f7[0x2]=_0x4a8d0d[_0x2dbdb4++],_0x1e00f7[0x3]=_0x4a8d0d[_0x2dbdb4++]),_0x19f0c6=(_0x1e00f7[0x0]|_0x1e00f7[0x1]|_0x1e00f7[0x2]|_0x1e00f7[0x3])===0x0,_0x30bae3=0x6);let _0x519a76;typeof _0x498aea==_0x39eece(0x15c)?(!_0x30e426['mask']||_0x19f0c6)&&_0x30e426[_0x520927]!==void 0x0?_0x519a76=_0x30e426[_0x520927]:(_0x498aea=Buffer[_0x39eece(0x273)](_0x498aea),_0x519a76=_0x498aea[_0x39eece(0x29a)]):(_0x519a76=_0x498aea[_0x39eece(0x29a)],_0x25c946=_0x30e426[_0x39eece(0x26c)]&&_0x30e426[_0x39eece(0x286)]&&!_0x19f0c6);let _0x4639d4=_0x519a76;_0x519a76>=0x10000?(_0x30bae3+=0x8,_0x4639d4=0x7f):_0x519a76>0x7d&&(_0x30bae3+=0x2,_0x4639d4=0x7e);const _0x1b39c9=Buffer[_0x39eece(0x262)](_0x25c946?_0x519a76+_0x30bae3:_0x30bae3);return _0x1b39c9[0x0]=_0x30e426['fin']?_0x30e426[_0x39eece(0x1a3)]|0x80:_0x30e426[_0x39eece(0x1a3)],_0x30e426['rsv1']&&(_0x1b39c9[0x0]|=0x40),_0x1b39c9[0x1]=_0x4639d4,_0x4639d4===0x7e?_0x1b39c9[_0x39eece(0x1ae)](_0x519a76,0x2):_0x4639d4===0x7f&&(_0x1b39c9[0x2]=_0x1b39c9[0x3]=0x0,_0x1b39c9[_0x39eece(0x1dc)](_0x519a76,0x4,0x6)),_0x30e426['mask']?(_0x1b39c9[0x1]|=0x80,_0x1b39c9[_0x30bae3-0x4]=_0x1e00f7[0x0],_0x1b39c9[_0x30bae3-0x3]=_0x1e00f7[0x1],_0x1b39c9[_0x30bae3-0x2]=_0x1e00f7[0x2],_0x1b39c9[_0x30bae3-0x1]=_0x1e00f7[0x3],_0x19f0c6?[_0x1b39c9,_0x498aea]:_0x25c946?(_0x3605c7(_0x498aea,_0x1e00f7,_0x1b39c9,_0x30bae3,_0x519a76),[_0x1b39c9]):(_0x3605c7(_0x498aea,_0x1e00f7,_0x498aea,0x0,_0x519a76),[_0x1b39c9,_0x498aea])):[_0x1b39c9,_0x498aea];}[_0x1bc782(0x187)](_0x3d9551,_0x3e97f5,_0x3873bb,_0x2267c2){const _0x11d757=_0x1bc782;let _0x242a3d;if(_0x3d9551===void 0x0)_0x242a3d=_0x4985b9;else{if(typeof _0x3d9551!='number'||!_0xdc3adb(_0x3d9551))throw new TypeError(_0x11d757(0x1d8));if(_0x3e97f5===void 0x0||!_0x3e97f5['length'])_0x242a3d=Buffer[_0x11d757(0x262)](0x2),_0x242a3d[_0x11d757(0x1ae)](_0x3d9551,0x0);else{const _0x3b53cb=Buffer[_0x11d757(0x179)](_0x3e97f5);if(_0x3b53cb>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x242a3d=Buffer[_0x11d757(0x262)](0x2+_0x3b53cb),_0x242a3d[_0x11d757(0x1ae)](_0x3d9551,0x0),typeof _0x3e97f5==_0x11d757(0x15c)?_0x242a3d[_0x11d757(0x13f)](_0x3e97f5,0x2):_0x242a3d[_0x11d757(0x2f2)](_0x3e97f5,0x2);}}const _0x5d6c4e={[_0x520927]:_0x242a3d[_0x11d757(0x29a)],'fin':!0x0,'generateMask':this[_0x11d757(0x287)],'mask':_0x3873bb,'maskBuffer':this[_0x11d757(0x218)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x11d757(0x239)]!==_0x43e144?this[_0x11d757(0x23e)]([this[_0x11d757(0x1d5)],_0x242a3d,!0x1,_0x5d6c4e,_0x2267c2]):this[_0x11d757(0x217)](_0x58c280['frame'](_0x242a3d,_0x5d6c4e),_0x2267c2);}[_0x1bc782(0x1cb)](_0x112857,_0x5e88ae,_0x2cbcf1){const _0x4cdeda=_0x1bc782;let _0x3ebc0d,_0x28f850;if(typeof _0x112857==_0x4cdeda(0x15c)?(_0x3ebc0d=Buffer[_0x4cdeda(0x179)](_0x112857),_0x28f850=!0x1):_0x3cae1f(_0x112857)?(_0x3ebc0d=_0x112857[_0x4cdeda(0x207)],_0x28f850=!0x1):(_0x112857=_0x29cb8b(_0x112857),_0x3ebc0d=_0x112857[_0x4cdeda(0x29a)],_0x28f850=_0x29cb8b[_0x4cdeda(0x286)]),_0x3ebc0d>0x7d)throw new RangeError(_0x4cdeda(0x2ed));const _0x34cd80={[_0x520927]:_0x3ebc0d,'fin':!0x0,'generateMask':this[_0x4cdeda(0x287)],'mask':_0x5e88ae,'maskBuffer':this['_maskBuffer'],'opcode':0x9,'readOnly':_0x28f850,'rsv1':!0x1};_0x3cae1f(_0x112857)?this[_0x4cdeda(0x239)]!==_0x43e144?this[_0x4cdeda(0x23e)]([this[_0x4cdeda(0x272)],_0x112857,!0x1,_0x34cd80,_0x2cbcf1]):this[_0x4cdeda(0x272)](_0x112857,!0x1,_0x34cd80,_0x2cbcf1):this[_0x4cdeda(0x239)]!==_0x43e144?this[_0x4cdeda(0x23e)]([this[_0x4cdeda(0x1d5)],_0x112857,!0x1,_0x34cd80,_0x2cbcf1]):this[_0x4cdeda(0x217)](_0x58c280['frame'](_0x112857,_0x34cd80),_0x2cbcf1);}[_0x1bc782(0x2b0)](_0x528668,_0x44b830,_0x4f49a4){const _0x238b9a=_0x1bc782;let _0xc3d7b5,_0xd95eed;if(typeof _0x528668==_0x238b9a(0x15c)?(_0xc3d7b5=Buffer[_0x238b9a(0x179)](_0x528668),_0xd95eed=!0x1):_0x3cae1f(_0x528668)?(_0xc3d7b5=_0x528668[_0x238b9a(0x207)],_0xd95eed=!0x1):(_0x528668=_0x29cb8b(_0x528668),_0xc3d7b5=_0x528668[_0x238b9a(0x29a)],_0xd95eed=_0x29cb8b[_0x238b9a(0x286)]),_0xc3d7b5>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x3a206a={[_0x520927]:_0xc3d7b5,'fin':!0x0,'generateMask':this[_0x238b9a(0x287)],'mask':_0x44b830,'maskBuffer':this[_0x238b9a(0x218)],'opcode':0xa,'readOnly':_0xd95eed,'rsv1':!0x1};_0x3cae1f(_0x528668)?this[_0x238b9a(0x239)]!==_0x43e144?this[_0x238b9a(0x23e)]([this[_0x238b9a(0x272)],_0x528668,!0x1,_0x3a206a,_0x4f49a4]):this['getBlobData'](_0x528668,!0x1,_0x3a206a,_0x4f49a4):this[_0x238b9a(0x239)]!==_0x43e144?this[_0x238b9a(0x23e)]([this[_0x238b9a(0x1d5)],_0x528668,!0x1,_0x3a206a,_0x4f49a4]):this[_0x238b9a(0x217)](_0x58c280[_0x238b9a(0x17d)](_0x528668,_0x3a206a),_0x4f49a4);}[_0x1bc782(0x2ae)](_0x4a7f67,_0x3b4a5d,_0x5e8458){const _0x33080e=_0x1bc782,_0x372c06=this[_0x33080e(0x28e)][_0x59690a['extensionName']];let _0x3a3085=_0x3b4a5d[_0x33080e(0x164)]?0x2:0x1,_0x3fd3b8=_0x3b4a5d[_0x33080e(0x281)],_0x1b11a1,_0x47b2a8;typeof _0x4a7f67==_0x33080e(0x15c)?(_0x1b11a1=Buffer[_0x33080e(0x179)](_0x4a7f67),_0x47b2a8=!0x1):_0x3cae1f(_0x4a7f67)?(_0x1b11a1=_0x4a7f67[_0x33080e(0x207)],_0x47b2a8=!0x1):(_0x4a7f67=_0x29cb8b(_0x4a7f67),_0x1b11a1=_0x4a7f67[_0x33080e(0x29a)],_0x47b2a8=_0x29cb8b['readOnly']),this[_0x33080e(0x247)]?(this['_firstFragment']=!0x1,_0x3fd3b8&&_0x372c06&&_0x372c06['params'][_0x372c06['_isServer']?_0x33080e(0x14c):'client_no_context_takeover']&&(_0x3fd3b8=_0x1b11a1>=_0x372c06[_0x33080e(0x2b4)]),this[_0x33080e(0x223)]=_0x3fd3b8):(_0x3fd3b8=!0x1,_0x3a3085=0x0),_0x3b4a5d[_0x33080e(0x137)]&&(this['_firstFragment']=!0x0);const _0x4507c3={[_0x520927]:_0x1b11a1,'fin':_0x3b4a5d['fin'],'generateMask':this[_0x33080e(0x287)],'mask':_0x3b4a5d['mask'],'maskBuffer':this[_0x33080e(0x218)],'opcode':_0x3a3085,'readOnly':_0x47b2a8,'rsv1':_0x3fd3b8};_0x3cae1f(_0x4a7f67)?this['_state']!==_0x43e144?this[_0x33080e(0x23e)]([this[_0x33080e(0x272)],_0x4a7f67,this[_0x33080e(0x223)],_0x4507c3,_0x5e8458]):this['getBlobData'](_0x4a7f67,this['_compress'],_0x4507c3,_0x5e8458):this['_state']!==_0x43e144?this[_0x33080e(0x23e)]([this[_0x33080e(0x1d5)],_0x4a7f67,this[_0x33080e(0x223)],_0x4507c3,_0x5e8458]):this[_0x33080e(0x1d5)](_0x4a7f67,this[_0x33080e(0x223)],_0x4507c3,_0x5e8458);}[_0x1bc782(0x272)](_0x59c873,_0x3f7ec4,_0x350701,_0x3dffb6){const _0xc7adf5=_0x1bc782;this['_bufferedBytes']+=_0x350701[_0x520927],this[_0xc7adf5(0x239)]=_0x3aee31,_0x59c873[_0xc7adf5(0x27a)]()['then'](_0xe4ceff=>{const _0x5ac5d4=_0xc7adf5;if(this[_0x5ac5d4(0x13c)][_0x5ac5d4(0x2bc)]){const _0xea6dee=new Error(_0x5ac5d4(0x295));process[_0x5ac5d4(0x1e3)](_0x565f11,this,_0xea6dee,_0x3dffb6);return;}this['_bufferedBytes']-=_0x350701[_0x520927];const _0x8c1022=_0x29cb8b(_0xe4ceff);_0x3f7ec4?this[_0x5ac5d4(0x1d5)](_0x8c1022,_0x3f7ec4,_0x350701,_0x3dffb6):(this[_0x5ac5d4(0x239)]=_0x43e144,this[_0x5ac5d4(0x217)](_0x58c280['frame'](_0x8c1022,_0x350701),_0x3dffb6),this[_0x5ac5d4(0x151)]());})[_0xc7adf5(0x1be)](_0x4f7957=>{const _0x2f6685=_0xc7adf5;process[_0x2f6685(0x1e3)](_0x153f77,this,_0x4f7957,_0x3dffb6);});}[_0x1bc782(0x1d5)](_0x2044f1,_0x1b547a,_0x1061af,_0x57c4c9){const _0x2e83e7=_0x1bc782;if(!_0x1b547a){this[_0x2e83e7(0x217)](_0x58c280[_0x2e83e7(0x17d)](_0x2044f1,_0x1061af),_0x57c4c9);return;}const _0x4b7ae1=this[_0x2e83e7(0x28e)][_0x59690a['extensionName']];this['_bufferedBytes']+=_0x1061af[_0x520927],this[_0x2e83e7(0x239)]=_0x53513a,_0x4b7ae1[_0x2e83e7(0x281)](_0x2044f1,_0x1061af[_0x2e83e7(0x137)],(_0x525f63,_0x27b69e)=>{const _0x2f340b=_0x2e83e7;if(this['_socket'][_0x2f340b(0x2bc)]){const _0x5b4565=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x565f11(this,_0x5b4565,_0x57c4c9);return;}this[_0x2f340b(0x17a)]-=_0x1061af[_0x520927],this[_0x2f340b(0x239)]=_0x43e144,_0x1061af[_0x2f340b(0x286)]=!0x1,this['sendFrame'](_0x58c280[_0x2f340b(0x17d)](_0x27b69e,_0x1061af),_0x57c4c9),this[_0x2f340b(0x151)]();});}[_0x1bc782(0x151)](){const _0x4ac448=_0x1bc782;for(;this[_0x4ac448(0x239)]===_0x43e144&&this['_queue'][_0x4ac448(0x29a)];){const _0x468088=this['_queue'][_0x4ac448(0x18f)]();this[_0x4ac448(0x17a)]-=_0x468088[0x3][_0x520927],Reflect[_0x4ac448(0x1e5)](_0x468088[0x0],this,_0x468088['slice'](0x1));}}['enqueue'](_0x2a910e){const _0x405365=_0x1bc782;this['_bufferedBytes']+=_0x2a910e[0x3][_0x520927],this[_0x405365(0x145)]['push'](_0x2a910e);}[_0x1bc782(0x217)](_0x283f78,_0x38c28d){const _0x3acdae=_0x1bc782;_0x283f78[_0x3acdae(0x29a)]===0x2?(this['_socket'][_0x3acdae(0x21b)](),this[_0x3acdae(0x13c)][_0x3acdae(0x13f)](_0x283f78[0x0]),this['_socket'][_0x3acdae(0x13f)](_0x283f78[0x1],_0x38c28d),this[_0x3acdae(0x13c)]['uncork']()):this[_0x3acdae(0x13c)][_0x3acdae(0x13f)](_0x283f78[0x0],_0x38c28d);}}Ee=_0x58c280;function _0x565f11(_0x3bba41,_0x243d90,_0x3a7eeb){const _0x1fb0d9=_0x1bc782;typeof _0x3a7eeb=='function'&&_0x3a7eeb(_0x243d90);for(let _0x27c4a0=0x0;_0x27c4a0<_0x3bba41[_0x1fb0d9(0x145)]['length'];_0x27c4a0++){const _0x3f4d9c=_0x3bba41[_0x1fb0d9(0x145)][_0x27c4a0],_0xf6de00=_0x3f4d9c[_0x3f4d9c[_0x1fb0d9(0x29a)]-0x1];typeof _0xf6de00==_0x1fb0d9(0x1f4)&&_0xf6de00(_0x243d90);}}function _0x153f77(_0x39dd55,_0x49ebe7,_0x54af50){_0x565f11(_0x39dd55,_0x49ebe7,_0x54af50),_0x39dd55['onerror'](_0x49ebe7);}return Ee;}var xe,Ze;function It(){const _0x223a1e=_0x5c908d;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x2cc87a,kListener:_0x12d4c6}=H(),_0x5225a4=Symbol(_0x223a1e(0x2be)),_0x276afa=Symbol(_0x223a1e(0x2a3)),_0x57a06e=Symbol('kError'),_0x3a15ba=Symbol(_0x223a1e(0x2c0)),_0x21cb1f=Symbol(_0x223a1e(0x1bf)),_0x5f4a53=Symbol(_0x223a1e(0x2d1)),_0x577f0c=Symbol(_0x223a1e(0x2e3)),_0x54f50a=Symbol(_0x223a1e(0x201));class _0x310eb4{constructor(_0x388d1b){this[_0x5f4a53]=null,this[_0x577f0c]=_0x388d1b;}get[_0x223a1e(0x29f)](){return this[_0x5f4a53];}get[_0x223a1e(0x2ba)](){return this[_0x577f0c];}}Object['defineProperty'](_0x310eb4[_0x223a1e(0x171)],_0x223a1e(0x29f),{'enumerable':!0x0}),Object[_0x223a1e(0x1f9)](_0x310eb4[_0x223a1e(0x171)],'type',{'enumerable':!0x0});class _0x2985c9 extends _0x310eb4{constructor(_0xa08f2a,_0x57a0cf={}){const _0x24c1d4=_0x223a1e;super(_0xa08f2a),this[_0x5225a4]=_0x57a0cf[_0x24c1d4(0x1b9)]===void 0x0?0x0:_0x57a0cf['code'],this[_0x21cb1f]=_0x57a0cf[_0x24c1d4(0x285)]===void 0x0?'':_0x57a0cf['reason'],this[_0x54f50a]=_0x57a0cf[_0x24c1d4(0x2d0)]===void 0x0?!0x1:_0x57a0cf[_0x24c1d4(0x2d0)];}get[_0x223a1e(0x1b9)](){return this[_0x5225a4];}get[_0x223a1e(0x285)](){return this[_0x21cb1f];}get[_0x223a1e(0x2d0)](){return this[_0x54f50a];}}Object['defineProperty'](_0x2985c9[_0x223a1e(0x171)],_0x223a1e(0x1b9),{'enumerable':!0x0}),Object[_0x223a1e(0x1f9)](_0x2985c9['prototype'],'reason',{'enumerable':!0x0}),Object[_0x223a1e(0x1f9)](_0x2985c9[_0x223a1e(0x171)],_0x223a1e(0x2d0),{'enumerable':!0x0});class _0x365f39 extends _0x310eb4{constructor(_0x26f69c,_0x2ffd8b={}){const _0x374c2d=_0x223a1e;super(_0x26f69c),this[_0x57a06e]=_0x2ffd8b['error']===void 0x0?null:_0x2ffd8b[_0x374c2d(0x20a)],this[_0x3a15ba]=_0x2ffd8b['message']===void 0x0?'':_0x2ffd8b['message'];}get[_0x223a1e(0x20a)](){return this[_0x57a06e];}get['message'](){return this[_0x3a15ba];}}Object['defineProperty'](_0x365f39[_0x223a1e(0x171)],_0x223a1e(0x20a),{'enumerable':!0x0}),Object[_0x223a1e(0x1f9)](_0x365f39[_0x223a1e(0x171)],_0x223a1e(0x16e),{'enumerable':!0x0});class _0x301761 extends _0x310eb4{constructor(_0x58f6a0,_0x50ea4e={}){const _0x5bd060=_0x223a1e;super(_0x58f6a0),this[_0x276afa]=_0x50ea4e[_0x5bd060(0x1b0)]===void 0x0?null:_0x50ea4e[_0x5bd060(0x1b0)];}get['data'](){return this[_0x276afa];}}Object[_0x223a1e(0x1f9)](_0x301761[_0x223a1e(0x171)],_0x223a1e(0x1b0),{'enumerable':!0x0}),xe={'CloseEvent':_0x2985c9,'ErrorEvent':_0x365f39,'Event':_0x310eb4,'EventTarget':{'addEventListener'(_0x629ae8,_0x2862ca,_0x4dce63={}){const _0x16c4fd=_0x223a1e;for(const _0x852578 of this[_0x16c4fd(0x136)](_0x629ae8))if(!_0x4dce63[_0x2cc87a]&&_0x852578[_0x12d4c6]===_0x2862ca&&!_0x852578[_0x2cc87a])return;let _0x3d8127;if(_0x629ae8===_0x16c4fd(0x16e))_0x3d8127=function(_0x329169,_0xa4d326){const _0x29657d=_0x16c4fd,_0x53c6d1=new _0x301761(_0x29657d(0x16e),{'data':_0xa4d326?_0x329169:_0x329169[_0x29657d(0x25b)]()});_0x53c6d1[_0x5f4a53]=this,_0x31cf64(_0x2862ca,this,_0x53c6d1);};else{if(_0x629ae8===_0x16c4fd(0x187))_0x3d8127=function(_0x5a2a26,_0x45c8fc){const _0x13a1db=_0x16c4fd,_0x3b7d86=new _0x2985c9(_0x13a1db(0x187),{'code':_0x5a2a26,'reason':_0x45c8fc[_0x13a1db(0x25b)](),'wasClean':this[_0x13a1db(0x17c)]&&this[_0x13a1db(0x2a4)]});_0x3b7d86[_0x5f4a53]=this,_0x31cf64(_0x2862ca,this,_0x3b7d86);};else{if(_0x629ae8==='error')_0x3d8127=function(_0x5f2ed9){const _0x38fa1e=_0x16c4fd,_0x4a2ad1=new _0x365f39(_0x38fa1e(0x20a),{'error':_0x5f2ed9,'message':_0x5f2ed9[_0x38fa1e(0x16e)]});_0x4a2ad1[_0x5f4a53]=this,_0x31cf64(_0x2862ca,this,_0x4a2ad1);};else{if(_0x629ae8==='open')_0x3d8127=function(){const _0x41ed5f=_0x16c4fd,_0x2463a8=new _0x310eb4(_0x41ed5f(0x213));_0x2463a8[_0x5f4a53]=this,_0x31cf64(_0x2862ca,this,_0x2463a8);};else return;}}}_0x3d8127[_0x2cc87a]=!!_0x4dce63[_0x2cc87a],_0x3d8127[_0x12d4c6]=_0x2862ca,_0x4dce63[_0x16c4fd(0x180)]?this[_0x16c4fd(0x180)](_0x629ae8,_0x3d8127):this['on'](_0x629ae8,_0x3d8127);},'removeEventListener'(_0xcc6cb7,_0x4d5638){for(const _0x1eeeea of this['listeners'](_0xcc6cb7))if(_0x1eeeea[_0x12d4c6]===_0x4d5638&&!_0x1eeeea[_0x2cc87a]){this['removeListener'](_0xcc6cb7,_0x1eeeea);break;}}},'MessageEvent':_0x301761};function _0x31cf64(_0x3bfd86,_0x520019,_0x1dc941){const _0x255017=_0x223a1e;typeof _0x3bfd86==_0x255017(0x220)&&_0x3bfd86['handleEvent']?_0x3bfd86[_0x255017(0x244)][_0x255017(0x1f1)](_0x3bfd86,_0x1dc941):_0x3bfd86[_0x255017(0x1f1)](_0x520019,_0x1dc941);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x46ca02}=ae();function _0xd23e9(_0x354869,_0x4e050e,_0x54f824){const _0x351a10=_0x2b90;_0x354869[_0x4e050e]===void 0x0?_0x354869[_0x4e050e]=[_0x54f824]:_0x354869[_0x4e050e][_0x351a10(0x199)](_0x54f824);}function _0x4c6fa5(_0x3bd534){const _0x1e3220=_0x2b90,_0x29bd16=Object['create'](null);let _0x791a61=Object[_0x1e3220(0x18d)](null),_0x36169e=!0x1,_0x3bd957=!0x1,_0x285d6e=!0x1,_0x37b2b1,_0xb4034a,_0x16de2d=-0x1,_0x3a4d85=-0x1,_0x46c75e=-0x1,_0x51133b=0x0;for(;_0x51133b<_0x3bd534[_0x1e3220(0x29a)];_0x51133b++)if(_0x3a4d85=_0x3bd534[_0x1e3220(0x1c7)](_0x51133b),_0x37b2b1===void 0x0){if(_0x46c75e===-0x1&&_0x46ca02[_0x3a4d85]===0x1)_0x16de2d===-0x1&&(_0x16de2d=_0x51133b);else{if(_0x51133b!==0x0&&(_0x3a4d85===0x20||_0x3a4d85===0x9))_0x46c75e===-0x1&&_0x16de2d!==-0x1&&(_0x46c75e=_0x51133b);else{if(_0x3a4d85===0x3b||_0x3a4d85===0x2c){if(_0x16de2d===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x51133b);_0x46c75e===-0x1&&(_0x46c75e=_0x51133b);const _0x5769ad=_0x3bd534[_0x1e3220(0x1af)](_0x16de2d,_0x46c75e);_0x3a4d85===0x2c?(_0xd23e9(_0x29bd16,_0x5769ad,_0x791a61),_0x791a61=Object['create'](null)):_0x37b2b1=_0x5769ad,_0x16de2d=_0x46c75e=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x51133b);}}}else{if(_0xb4034a===void 0x0){if(_0x46c75e===-0x1&&_0x46ca02[_0x3a4d85]===0x1)_0x16de2d===-0x1&&(_0x16de2d=_0x51133b);else{if(_0x3a4d85===0x20||_0x3a4d85===0x9)_0x46c75e===-0x1&&_0x16de2d!==-0x1&&(_0x46c75e=_0x51133b);else{if(_0x3a4d85===0x3b||_0x3a4d85===0x2c){if(_0x16de2d===-0x1)throw new SyntaxError(_0x1e3220(0x189)+_0x51133b);_0x46c75e===-0x1&&(_0x46c75e=_0x51133b),_0xd23e9(_0x791a61,_0x3bd534[_0x1e3220(0x1af)](_0x16de2d,_0x46c75e),!0x0),_0x3a4d85===0x2c&&(_0xd23e9(_0x29bd16,_0x37b2b1,_0x791a61),_0x791a61=Object['create'](null),_0x37b2b1=void 0x0),_0x16de2d=_0x46c75e=-0x1;}else{if(_0x3a4d85===0x3d&&_0x16de2d!==-0x1&&_0x46c75e===-0x1)_0xb4034a=_0x3bd534[_0x1e3220(0x1af)](_0x16de2d,_0x51133b),_0x16de2d=_0x46c75e=-0x1;else throw new SyntaxError(_0x1e3220(0x189)+_0x51133b);}}}}else{if(_0x3bd957){if(_0x46ca02[_0x3a4d85]!==0x1)throw new SyntaxError(_0x1e3220(0x189)+_0x51133b);_0x16de2d===-0x1?_0x16de2d=_0x51133b:_0x36169e||(_0x36169e=!0x0),_0x3bd957=!0x1;}else{if(_0x285d6e){if(_0x46ca02[_0x3a4d85]===0x1)_0x16de2d===-0x1&&(_0x16de2d=_0x51133b);else{if(_0x3a4d85===0x22&&_0x16de2d!==-0x1)_0x285d6e=!0x1,_0x46c75e=_0x51133b;else{if(_0x3a4d85===0x5c)_0x3bd957=!0x0;else throw new SyntaxError(_0x1e3220(0x189)+_0x51133b);}}}else{if(_0x3a4d85===0x22&&_0x3bd534[_0x1e3220(0x1c7)](_0x51133b-0x1)===0x3d)_0x285d6e=!0x0;else{if(_0x46c75e===-0x1&&_0x46ca02[_0x3a4d85]===0x1)_0x16de2d===-0x1&&(_0x16de2d=_0x51133b);else{if(_0x16de2d!==-0x1&&(_0x3a4d85===0x20||_0x3a4d85===0x9))_0x46c75e===-0x1&&(_0x46c75e=_0x51133b);else{if(_0x3a4d85===0x3b||_0x3a4d85===0x2c){if(_0x16de2d===-0x1)throw new SyntaxError(_0x1e3220(0x189)+_0x51133b);_0x46c75e===-0x1&&(_0x46c75e=_0x51133b);let _0x1a9f13=_0x3bd534[_0x1e3220(0x1af)](_0x16de2d,_0x46c75e);_0x36169e&&(_0x1a9f13=_0x1a9f13[_0x1e3220(0x233)](/\\/g,''),_0x36169e=!0x1),_0xd23e9(_0x791a61,_0xb4034a,_0x1a9f13),_0x3a4d85===0x2c&&(_0xd23e9(_0x29bd16,_0x37b2b1,_0x791a61),_0x791a61=Object[_0x1e3220(0x18d)](null),_0x37b2b1=void 0x0),_0xb4034a=void 0x0,_0x16de2d=_0x46c75e=-0x1;}else throw new SyntaxError(_0x1e3220(0x189)+_0x51133b);}}}}}}}if(_0x16de2d===-0x1||_0x285d6e||_0x3a4d85===0x20||_0x3a4d85===0x9)throw new SyntaxError(_0x1e3220(0x2c2));_0x46c75e===-0x1&&(_0x46c75e=_0x51133b);const _0x4a7094=_0x3bd534[_0x1e3220(0x1af)](_0x16de2d,_0x46c75e);return _0x37b2b1===void 0x0?_0xd23e9(_0x29bd16,_0x4a7094,_0x791a61):(_0xb4034a===void 0x0?_0xd23e9(_0x791a61,_0x4a7094,!0x0):_0x36169e?_0xd23e9(_0x791a61,_0xb4034a,_0x4a7094['replace'](/\\/g,'')):_0xd23e9(_0x791a61,_0xb4034a,_0x4a7094),_0xd23e9(_0x29bd16,_0x37b2b1,_0x791a61)),_0x29bd16;}function _0x4ca069(_0x1448bf){const _0x541355=_0x2b90;return Object[_0x541355(0x169)](_0x1448bf)['map'](_0x3c9cc6=>{const _0x8cbe1e=_0x541355;let _0x548572=_0x1448bf[_0x3c9cc6];return Array[_0x8cbe1e(0x22b)](_0x548572)||(_0x548572=[_0x548572]),_0x548572[_0x8cbe1e(0x225)](_0x307eba=>[_0x3c9cc6]['concat'](Object['keys'](_0x307eba)[_0x8cbe1e(0x225)](_0x4f2703=>{const _0x223e83=_0x8cbe1e;let _0x1374e9=_0x307eba[_0x4f2703];return Array[_0x223e83(0x22b)](_0x1374e9)||(_0x1374e9=[_0x1374e9]),_0x1374e9[_0x223e83(0x225)](_0x3e1c89=>_0x3e1c89===!0x0?_0x4f2703:_0x4f2703+'='+_0x3e1c89)['join'](';\x20');}))[_0x8cbe1e(0x27e)](';\x20'))[_0x8cbe1e(0x27e)](',\x20');})[_0x541355(0x27e)](',\x20');}return be={'format':_0x4ca069,'parse':_0x4c6fa5},be;}var we,Je;function Pe(){const _0x34abbe=_0x5c908d;if(Je)return we;Je=0x1;const _0x49d9b1=nt,_0x5b729b=vt,_0x52c2b4=ot,_0x72ffc4=St,_0x2e469f=Et,{randomBytes:_0x5ab4ca,createHash:_0x17765e}=Le,{Duplex:_0x236954,Readable:_0x15f1c1}=oe,{URL:_0x45f0ba}=xt,_0x584cf8=he(),_0x4df1d9=lt(),_0xde2eb7=ft(),{isBlob:_0x216e84}=ae(),{BINARY_TYPES:_0x1105cd,EMPTY_BUFFER:_0x3ef474,GUID:_0xafa314,kForOnEventAttribute:_0x52395c,kListener:_0x2b4fd0,kStatusCode:_0x13fe98,kWebSocket:_0x17e227,NOOP:_0x52ce65}=H(),{EventTarget:{addEventListener:_0x5d7a14,removeEventListener:_0x3dafd6}}=It(),{format:_0x17eab7,parse:_0xf3708d}=ct(),{toBuffer:_0xca2fc2}=ce(),_0x42ecb3=0x1e*0x3e8,_0x39e383=Symbol(_0x34abbe(0x2e8)),_0xb19144=[0x8,0xd],_0x4cc70f=['CONNECTING',_0x34abbe(0x1a9),_0x34abbe(0x24c),'CLOSED'],_0x145c4a=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x3b5f75 extends _0x49d9b1{constructor(_0x3e5d5c,_0x274e8d,_0x3adc10){const _0x3fcb16=_0x34abbe;super(),this[_0x3fcb16(0x1a2)]=_0x1105cd[0x0],this[_0x3fcb16(0x155)]=0x3ee,this[_0x3fcb16(0x17c)]=!0x1,this['_closeFrameSent']=!0x1,this['_closeMessage']=_0x3ef474,this[_0x3fcb16(0x2d2)]=null,this['_errorEmitted']=!0x1,this[_0x3fcb16(0x28e)]={},this['_paused']=!0x1,this[_0x3fcb16(0x20e)]='',this['_readyState']=_0x3b5f75[_0x3fcb16(0x16b)],this['_receiver']=null,this['_sender']=null,this[_0x3fcb16(0x13c)]=null,_0x3e5d5c!==null?(this[_0x3fcb16(0x174)]=0x0,this['_isServer']=!0x1,this['_redirects']=0x0,_0x274e8d===void 0x0?_0x274e8d=[]:Array[_0x3fcb16(0x22b)](_0x274e8d)||(typeof _0x274e8d==_0x3fcb16(0x220)&&_0x274e8d!==null?(_0x3adc10=_0x274e8d,_0x274e8d=[]):_0x274e8d=[_0x274e8d]),_0x494245(this,_0x3e5d5c,_0x274e8d,_0x3adc10)):(this[_0x3fcb16(0x182)]=_0x3adc10[_0x3fcb16(0x1bc)],this[_0x3fcb16(0x1f7)]=!0x0);}get[_0x34abbe(0x13e)](){const _0x5b3127=_0x34abbe;return this[_0x5b3127(0x1a2)];}set[_0x34abbe(0x13e)](_0x2ac3bb){const _0x1e9be8=_0x34abbe;_0x1105cd[_0x1e9be8(0x1db)](_0x2ac3bb)&&(this[_0x1e9be8(0x1a2)]=_0x2ac3bb,this['_receiver']&&(this[_0x1e9be8(0x235)][_0x1e9be8(0x1a2)]=_0x2ac3bb));}get[_0x34abbe(0x18b)](){const _0x527054=_0x34abbe;return this[_0x527054(0x13c)]?this[_0x527054(0x13c)]['_writableState']['length']+this[_0x527054(0x1f0)][_0x527054(0x17a)]:this[_0x527054(0x174)];}get[_0x34abbe(0x2aa)](){const _0x2e3c0b=_0x34abbe;return Object['keys'](this['_extensions'])[_0x2e3c0b(0x27e)]();}get[_0x34abbe(0x195)](){const _0x9a653a=_0x34abbe;return this[_0x9a653a(0x219)];}get['onclose'](){return null;}get[_0x34abbe(0x2fc)](){return null;}get['onopen'](){return null;}get[_0x34abbe(0x20d)](){return null;}get[_0x34abbe(0x1ee)](){return this['_protocol'];}get['readyState'](){const _0x6a726a=_0x34abbe;return this[_0x6a726a(0x251)];}get[_0x34abbe(0x2f8)](){const _0x9e7437=_0x34abbe;return this[_0x9e7437(0x28c)];}[_0x34abbe(0x2de)](_0x51cb00,_0x391ef8,_0x23d244){const _0x5f5a8d=_0x34abbe,_0x4ce261=new _0x4df1d9({'allowSynchronousEvents':_0x23d244[_0x5f5a8d(0x209)],'binaryType':this['binaryType'],'extensions':this['_extensions'],'isServer':this[_0x5f5a8d(0x1f7)],'maxPayload':_0x23d244[_0x5f5a8d(0x184)],'skipUTF8Validation':_0x23d244[_0x5f5a8d(0x2e5)]}),_0x34b6bd=new _0xde2eb7(_0x51cb00,this['_extensions'],_0x23d244[_0x5f5a8d(0x293)]);this[_0x5f5a8d(0x235)]=_0x4ce261,this[_0x5f5a8d(0x1f0)]=_0x34b6bd,this[_0x5f5a8d(0x13c)]=_0x51cb00,_0x4ce261[_0x17e227]=this,_0x34b6bd[_0x17e227]=this,_0x51cb00[_0x17e227]=this,_0x4ce261['on']('conclude',_0xd3f5db),_0x4ce261['on'](_0x5f5a8d(0x2ac),_0x104e65),_0x4ce261['on'](_0x5f5a8d(0x20a),_0x422511),_0x4ce261['on'](_0x5f5a8d(0x16e),_0x494707),_0x4ce261['on'](_0x5f5a8d(0x1cb),_0x462ea2),_0x4ce261['on'](_0x5f5a8d(0x2b0),_0x38d861),_0x34b6bd[_0x5f5a8d(0x2fc)]=_0x49e8f2,_0x51cb00['setTimeout']&&_0x51cb00[_0x5f5a8d(0x152)](0x0),_0x51cb00[_0x5f5a8d(0x2bb)]&&_0x51cb00[_0x5f5a8d(0x2bb)](),_0x391ef8[_0x5f5a8d(0x29a)]>0x0&&_0x51cb00[_0x5f5a8d(0x2d5)](_0x391ef8),_0x51cb00['on']('close',_0x661f49),_0x51cb00['on'](_0x5f5a8d(0x1b0),_0x3e1bc1),_0x51cb00['on'](_0x5f5a8d(0x2c8),_0x128e9f),_0x51cb00['on'](_0x5f5a8d(0x20a),_0x2a8baf),this[_0x5f5a8d(0x251)]=_0x3b5f75[_0x5f5a8d(0x1a9)],this[_0x5f5a8d(0x2ee)](_0x5f5a8d(0x213));}[_0x34abbe(0x2f5)](){const _0x267f3c=_0x34abbe;if(!this[_0x267f3c(0x13c)]){this[_0x267f3c(0x251)]=_0x3b5f75['CLOSED'],this[_0x267f3c(0x2ee)](_0x267f3c(0x187),this[_0x267f3c(0x155)],this['_closeMessage']);return;}this[_0x267f3c(0x28e)][_0x584cf8[_0x267f3c(0x237)]]&&this['_extensions'][_0x584cf8[_0x267f3c(0x237)]][_0x267f3c(0x13d)](),this['_receiver'][_0x267f3c(0x29c)](),this[_0x267f3c(0x251)]=_0x3b5f75['CLOSED'],this[_0x267f3c(0x2ee)](_0x267f3c(0x187),this[_0x267f3c(0x155)],this[_0x267f3c(0x288)]);}[_0x34abbe(0x187)](_0x11642f,_0x257d9a){const _0x18d360=_0x34abbe;if(this[_0x18d360(0x276)]!==_0x3b5f75['CLOSED']){if(this[_0x18d360(0x276)]===_0x3b5f75[_0x18d360(0x16b)]){_0x3dface(this,this['_req'],_0x18d360(0x227));return;}if(this[_0x18d360(0x276)]===_0x3b5f75[_0x18d360(0x24c)]){this[_0x18d360(0x2a4)]&&(this['_closeFrameReceived']||this[_0x18d360(0x235)][_0x18d360(0x2e7)]['errorEmitted'])&&this['_socket'][_0x18d360(0x2c8)]();return;}this['_readyState']=_0x3b5f75[_0x18d360(0x24c)],this[_0x18d360(0x1f0)][_0x18d360(0x187)](_0x11642f,_0x257d9a,!this[_0x18d360(0x1f7)],_0x551630=>{const _0x1ab8fe=_0x18d360;_0x551630||(this['_closeFrameSent']=!0x0,(this[_0x1ab8fe(0x17c)]||this[_0x1ab8fe(0x235)][_0x1ab8fe(0x2e7)]['errorEmitted'])&&this[_0x1ab8fe(0x13c)][_0x1ab8fe(0x2c8)]());}),_0xd3d67f(this);}}['pause'](){const _0x2189dd=_0x34abbe;this[_0x2189dd(0x276)]===_0x3b5f75[_0x2189dd(0x16b)]||this['readyState']===_0x3b5f75[_0x2189dd(0x299)]||(this[_0x2189dd(0x219)]=!0x0,this[_0x2189dd(0x13c)]['pause']());}[_0x34abbe(0x1cb)](_0x59b692,_0x14a80a,_0x30c0d9){const _0x5d1a07=_0x34abbe;if(this[_0x5d1a07(0x276)]===_0x3b5f75[_0x5d1a07(0x16b)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x59b692==_0x5d1a07(0x1f4)?(_0x30c0d9=_0x59b692,_0x59b692=_0x14a80a=void 0x0):typeof _0x14a80a=='function'&&(_0x30c0d9=_0x14a80a,_0x14a80a=void 0x0),typeof _0x59b692==_0x5d1a07(0x208)&&(_0x59b692=_0x59b692[_0x5d1a07(0x25b)]()),this['readyState']!==_0x3b5f75['OPEN']){_0x24c1e5(this,_0x59b692,_0x30c0d9);return;}_0x14a80a===void 0x0&&(_0x14a80a=!this['_isServer']),this[_0x5d1a07(0x1f0)]['ping'](_0x59b692||_0x3ef474,_0x14a80a,_0x30c0d9);}[_0x34abbe(0x2b0)](_0x53d45a,_0x40d14a,_0x370392){const _0x2022e6=_0x34abbe;if(this[_0x2022e6(0x276)]===_0x3b5f75[_0x2022e6(0x16b)])throw new Error(_0x2022e6(0x2c6));if(typeof _0x53d45a==_0x2022e6(0x1f4)?(_0x370392=_0x53d45a,_0x53d45a=_0x40d14a=void 0x0):typeof _0x40d14a=='function'&&(_0x370392=_0x40d14a,_0x40d14a=void 0x0),typeof _0x53d45a=='number'&&(_0x53d45a=_0x53d45a['toString']()),this[_0x2022e6(0x276)]!==_0x3b5f75[_0x2022e6(0x1a9)]){_0x24c1e5(this,_0x53d45a,_0x370392);return;}_0x40d14a===void 0x0&&(_0x40d14a=!this[_0x2022e6(0x1f7)]),this[_0x2022e6(0x1f0)][_0x2022e6(0x2b0)](_0x53d45a||_0x3ef474,_0x40d14a,_0x370392);}['resume'](){const _0x3bf676=_0x34abbe;this[_0x3bf676(0x276)]===_0x3b5f75[_0x3bf676(0x16b)]||this[_0x3bf676(0x276)]===_0x3b5f75['CLOSED']||(this[_0x3bf676(0x219)]=!0x1,this[_0x3bf676(0x235)]['_writableState']['needDrain']||this['_socket'][_0x3bf676(0x1d4)]());}[_0x34abbe(0x2ae)](_0x4d3fca,_0x101e05,_0x494f92){const _0x565255=_0x34abbe;if(this['readyState']===_0x3b5f75['CONNECTING'])throw new Error(_0x565255(0x2c6));if(typeof _0x101e05==_0x565255(0x1f4)&&(_0x494f92=_0x101e05,_0x101e05={}),typeof _0x4d3fca==_0x565255(0x208)&&(_0x4d3fca=_0x4d3fca['toString']()),this[_0x565255(0x276)]!==_0x3b5f75[_0x565255(0x1a9)]){_0x24c1e5(this,_0x4d3fca,_0x494f92);return;}const _0x9449ef={'binary':typeof _0x4d3fca!='string','mask':!this['_isServer'],'compress':!0x0,'fin':!0x0,..._0x101e05};this[_0x565255(0x28e)][_0x584cf8['extensionName']]||(_0x9449ef[_0x565255(0x281)]=!0x1),this[_0x565255(0x1f0)][_0x565255(0x2ae)](_0x4d3fca||_0x3ef474,_0x9449ef,_0x494f92);}['terminate'](){const _0x14316a=_0x34abbe;if(this[_0x14316a(0x276)]!==_0x3b5f75['CLOSED']){if(this[_0x14316a(0x276)]===_0x3b5f75[_0x14316a(0x16b)]){_0x3dface(this,this['_req'],_0x14316a(0x227));return;}this[_0x14316a(0x13c)]&&(this['_readyState']=_0x3b5f75[_0x14316a(0x24c)],this[_0x14316a(0x13c)][_0x14316a(0x234)]());}}}Object['defineProperty'](_0x3b5f75,'CONNECTING',{'enumerable':!0x0,'value':_0x4cc70f[_0x34abbe(0x191)](_0x34abbe(0x16b))}),Object[_0x34abbe(0x1f9)](_0x3b5f75['prototype'],_0x34abbe(0x16b),{'enumerable':!0x0,'value':_0x4cc70f[_0x34abbe(0x191)]('CONNECTING')}),Object[_0x34abbe(0x1f9)](_0x3b5f75,'OPEN',{'enumerable':!0x0,'value':_0x4cc70f[_0x34abbe(0x191)]('OPEN')}),Object['defineProperty'](_0x3b5f75[_0x34abbe(0x171)],'OPEN',{'enumerable':!0x0,'value':_0x4cc70f[_0x34abbe(0x191)](_0x34abbe(0x1a9))}),Object[_0x34abbe(0x1f9)](_0x3b5f75,_0x34abbe(0x24c),{'enumerable':!0x0,'value':_0x4cc70f[_0x34abbe(0x191)]('CLOSING')}),Object[_0x34abbe(0x1f9)](_0x3b5f75[_0x34abbe(0x171)],'CLOSING',{'enumerable':!0x0,'value':_0x4cc70f['indexOf'](_0x34abbe(0x24c))}),Object[_0x34abbe(0x1f9)](_0x3b5f75,_0x34abbe(0x299),{'enumerable':!0x0,'value':_0x4cc70f['indexOf'](_0x34abbe(0x299))}),Object[_0x34abbe(0x1f9)](_0x3b5f75[_0x34abbe(0x171)],_0x34abbe(0x299),{'enumerable':!0x0,'value':_0x4cc70f[_0x34abbe(0x191)](_0x34abbe(0x299))}),[_0x34abbe(0x13e),_0x34abbe(0x18b),_0x34abbe(0x2aa),_0x34abbe(0x195),_0x34abbe(0x1ee),_0x34abbe(0x276),_0x34abbe(0x2f8)][_0x34abbe(0x254)](_0x4a9d27=>{const _0x2cea13=_0x34abbe;Object[_0x2cea13(0x1f9)](_0x3b5f75[_0x2cea13(0x171)],_0x4a9d27,{'enumerable':!0x0});}),[_0x34abbe(0x213),_0x34abbe(0x20a),_0x34abbe(0x187),'message']['forEach'](_0x342708=>{const _0x211747=_0x34abbe;Object['defineProperty'](_0x3b5f75[_0x211747(0x171)],'on'+_0x342708,{'enumerable':!0x0,'get'(){const _0x598a41=_0x211747;for(const _0x320233 of this[_0x598a41(0x136)](_0x342708))if(_0x320233[_0x52395c])return _0x320233[_0x2b4fd0];return null;},'set'(_0x3f5005){const _0x6b92e7=_0x211747;for(const _0x531634 of this[_0x6b92e7(0x136)](_0x342708))if(_0x531634[_0x52395c]){this[_0x6b92e7(0x1b4)](_0x342708,_0x531634);break;}typeof _0x3f5005=='function'&&this[_0x6b92e7(0x160)](_0x342708,_0x3f5005,{[_0x52395c]:!0x0});}});}),_0x3b5f75[_0x34abbe(0x171)][_0x34abbe(0x160)]=_0x5d7a14,_0x3b5f75['prototype'][_0x34abbe(0x280)]=_0x3dafd6,we=_0x3b5f75;function _0x494245(_0x49dcbc,_0xe2c689,_0x1f5839,_0x2f320d){const _0x1ae761=_0x34abbe,_0x324c23={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0xb19144[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x2f320d,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x1ae761(0x1e4),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x49dcbc[_0x1ae761(0x182)]=_0x324c23['autoPong'],!_0xb19144[_0x1ae761(0x1db)](_0x324c23[_0x1ae761(0x28d)]))throw new RangeError(_0x1ae761(0x2c4)+_0x324c23[_0x1ae761(0x28d)]+'\x20(supported\x20versions:\x20'+_0xb19144['join'](',\x20')+')');let _0x424db6;if(_0xe2c689 instanceof _0x45f0ba)_0x424db6=_0xe2c689;else try{_0x424db6=new _0x45f0ba(_0xe2c689);}catch{throw new SyntaxError(_0x1ae761(0x25c)+_0xe2c689);}_0x424db6[_0x1ae761(0x1ee)]==='http:'?_0x424db6[_0x1ae761(0x1ee)]=_0x1ae761(0x1dd):_0x424db6[_0x1ae761(0x1ee)]==='https:'&&(_0x424db6[_0x1ae761(0x1ee)]=_0x1ae761(0x283)),_0x49dcbc['_url']=_0x424db6[_0x1ae761(0x21a)];const _0x5d1517=_0x424db6[_0x1ae761(0x1ee)]==='wss:',_0x5da373=_0x424db6['protocol']==='ws+unix:';let _0x46280d;if(_0x424db6['protocol']!==_0x1ae761(0x1dd)&&!_0x5d1517&&!_0x5da373?_0x46280d=_0x1ae761(0x23d):_0x5da373&&!_0x424db6[_0x1ae761(0x2e2)]?_0x46280d=_0x1ae761(0x1a4):_0x424db6['hash']&&(_0x46280d=_0x1ae761(0x2c7)),_0x46280d){const _0xc358eb=new SyntaxError(_0x46280d);if(_0x49dcbc[_0x1ae761(0x150)]===0x0)throw _0xc358eb;_0x23aead(_0x49dcbc,_0xc358eb);return;}const _0x529e5c=_0x5d1517?0x1bb:0x50,_0x226095=_0x5ab4ca(0x10)[_0x1ae761(0x25b)](_0x1ae761(0x1ca)),_0x385e89=_0x5d1517?_0x5b729b[_0x1ae761(0x177)]:_0x52c2b4[_0x1ae761(0x177)],_0x56e5bc=new Set();let _0x734ef9;if(_0x324c23[_0x1ae761(0x1a7)]=_0x324c23[_0x1ae761(0x1a7)]||(_0x5d1517?_0x5be367:_0x19ba8f),_0x324c23[_0x1ae761(0x271)]=_0x324c23['defaultPort']||_0x529e5c,_0x324c23['port']=_0x424db6[_0x1ae761(0x204)]||_0x529e5c,_0x324c23[_0x1ae761(0x2c9)]=_0x424db6[_0x1ae761(0x183)]['startsWith']('[')?_0x424db6[_0x1ae761(0x183)][_0x1ae761(0x1af)](0x1,-0x1):_0x424db6[_0x1ae761(0x183)],_0x324c23[_0x1ae761(0x258)]={..._0x324c23['headers'],'Sec-WebSocket-Version':_0x324c23['protocolVersion'],'Sec-WebSocket-Key':_0x226095,'Connection':_0x1ae761(0x1fa),'Upgrade':_0x1ae761(0x256)},_0x324c23[_0x1ae761(0x1ef)]=_0x424db6[_0x1ae761(0x2e2)]+_0x424db6[_0x1ae761(0x268)],_0x324c23[_0x1ae761(0x1c2)]=_0x324c23[_0x1ae761(0x2c5)],_0x324c23['perMessageDeflate']&&(_0x734ef9=new _0x584cf8(_0x324c23[_0x1ae761(0x1aa)]!==!0x0?_0x324c23[_0x1ae761(0x1aa)]:{},!0x1,_0x324c23[_0x1ae761(0x184)]),_0x324c23[_0x1ae761(0x258)][_0x1ae761(0x1cd)]=_0x17eab7({[_0x584cf8[_0x1ae761(0x237)]]:_0x734ef9[_0x1ae761(0x264)]()})),_0x1f5839['length']){for(const _0x5a0f21 of _0x1f5839){if(typeof _0x5a0f21!=_0x1ae761(0x15c)||!_0x145c4a['test'](_0x5a0f21)||_0x56e5bc[_0x1ae761(0x211)](_0x5a0f21))throw new SyntaxError(_0x1ae761(0x2fa));_0x56e5bc['add'](_0x5a0f21);}_0x324c23[_0x1ae761(0x258)][_0x1ae761(0x24d)]=_0x1f5839[_0x1ae761(0x27e)](',');}if(_0x324c23[_0x1ae761(0x298)]&&(_0x324c23[_0x1ae761(0x28d)]<0xd?_0x324c23[_0x1ae761(0x258)][_0x1ae761(0x2a2)]=_0x324c23[_0x1ae761(0x298)]:_0x324c23[_0x1ae761(0x258)][_0x1ae761(0x2b6)]=_0x324c23[_0x1ae761(0x298)]),(_0x424db6[_0x1ae761(0x23b)]||_0x424db6[_0x1ae761(0x231)])&&(_0x324c23[_0x1ae761(0x1c1)]=_0x424db6[_0x1ae761(0x23b)]+':'+_0x424db6['password']),_0x5da373){const _0x5643de=_0x324c23[_0x1ae761(0x1ef)][_0x1ae761(0x172)](':');_0x324c23[_0x1ae761(0x1b6)]=_0x5643de[0x0],_0x324c23[_0x1ae761(0x1ef)]=_0x5643de[0x1];}let _0x1b8e17;if(_0x324c23[_0x1ae761(0x1e9)]){if(_0x49dcbc[_0x1ae761(0x150)]===0x0){_0x49dcbc[_0x1ae761(0x170)]=_0x5da373,_0x49dcbc[_0x1ae761(0x240)]=_0x5d1517,_0x49dcbc[_0x1ae761(0x167)]=_0x5da373?_0x324c23[_0x1ae761(0x1b6)]:_0x424db6['host'];const _0xee94dd=_0x2f320d&&_0x2f320d[_0x1ae761(0x258)];if(_0x2f320d={..._0x2f320d,'headers':{}},_0xee94dd){for(const [_0x431a64,_0x3e2276]of Object['entries'](_0xee94dd))_0x2f320d['headers'][_0x431a64[_0x1ae761(0x205)]()]=_0x3e2276;}}else{if(_0x49dcbc[_0x1ae761(0x2c1)](_0x1ae761(0x21c))===0x0){const _0x93ec5d=_0x5da373?_0x49dcbc[_0x1ae761(0x170)]?_0x324c23[_0x1ae761(0x1b6)]===_0x49dcbc[_0x1ae761(0x167)]:!0x1:_0x49dcbc[_0x1ae761(0x170)]?!0x1:_0x424db6['host']===_0x49dcbc['_originalHostOrSocketPath'];(!_0x93ec5d||_0x49dcbc[_0x1ae761(0x240)]&&!_0x5d1517)&&(delete _0x324c23[_0x1ae761(0x258)]['authorization'],delete _0x324c23[_0x1ae761(0x258)][_0x1ae761(0x1bd)],_0x93ec5d||delete _0x324c23['headers']['host'],_0x324c23[_0x1ae761(0x1c1)]=void 0x0);}}_0x324c23['auth']&&!_0x2f320d[_0x1ae761(0x258)][_0x1ae761(0x2cb)]&&(_0x2f320d[_0x1ae761(0x258)]['authorization']=_0x1ae761(0x2bd)+Buffer[_0x1ae761(0x273)](_0x324c23['auth'])[_0x1ae761(0x25b)](_0x1ae761(0x1ca))),_0x1b8e17=_0x49dcbc[_0x1ae761(0x2dc)]=_0x385e89(_0x324c23),_0x49dcbc[_0x1ae761(0x150)]&&_0x49dcbc[_0x1ae761(0x2ee)](_0x1ae761(0x21c),_0x49dcbc[_0x1ae761(0x2f8)],_0x1b8e17);}else _0x1b8e17=_0x49dcbc[_0x1ae761(0x2dc)]=_0x385e89(_0x324c23);_0x324c23[_0x1ae761(0x1c2)]&&_0x1b8e17['on']('timeout',()=>{const _0x2ac032=_0x1ae761;_0x3dface(_0x49dcbc,_0x1b8e17,_0x2ac032(0x2af));}),_0x1b8e17['on'](_0x1ae761(0x20a),_0x25427c=>{const _0x1356f0=_0x1ae761;_0x1b8e17===null||_0x1b8e17[_0x39e383]||(_0x1b8e17=_0x49dcbc[_0x1356f0(0x2dc)]=null,_0x23aead(_0x49dcbc,_0x25427c));}),_0x1b8e17['on'](_0x1ae761(0x202),_0x2e1bc6=>{const _0x42fc7e=_0x1ae761,_0x49f0fc=_0x2e1bc6[_0x42fc7e(0x258)][_0x42fc7e(0x206)],_0x3d1e98=_0x2e1bc6[_0x42fc7e(0x1ad)];if(_0x49f0fc&&_0x324c23[_0x42fc7e(0x1e9)]&&_0x3d1e98>=0x12c&&_0x3d1e98<0x190){if(++_0x49dcbc['_redirects']>_0x324c23[_0x42fc7e(0x27f)]){_0x3dface(_0x49dcbc,_0x1b8e17,'Maximum\x20redirects\x20exceeded');return;}_0x1b8e17[_0x42fc7e(0x198)]();let _0x32ec14;try{_0x32ec14=new _0x45f0ba(_0x49f0fc,_0xe2c689);}catch{const _0x4aa265=new SyntaxError(_0x42fc7e(0x25c)+_0x49f0fc);_0x23aead(_0x49dcbc,_0x4aa265);return;}_0x494245(_0x49dcbc,_0x32ec14,_0x1f5839,_0x2f320d);}else _0x49dcbc[_0x42fc7e(0x2ee)]('unexpected-response',_0x1b8e17,_0x2e1bc6)||_0x3dface(_0x49dcbc,_0x1b8e17,_0x42fc7e(0x144)+_0x2e1bc6['statusCode']);}),_0x1b8e17['on'](_0x1ae761(0x175),(_0x2cec90,_0x32c0ed,_0x2c4f17)=>{const _0x14b8b4=_0x1ae761;if(_0x49dcbc[_0x14b8b4(0x2ee)]('upgrade',_0x2cec90),_0x49dcbc[_0x14b8b4(0x276)]!==_0x3b5f75[_0x14b8b4(0x16b)])return;_0x1b8e17=_0x49dcbc[_0x14b8b4(0x2dc)]=null;const _0xc2c0b7=_0x2cec90[_0x14b8b4(0x258)][_0x14b8b4(0x175)];if(_0xc2c0b7===void 0x0||_0xc2c0b7['toLowerCase']()!=='websocket'){_0x3dface(_0x49dcbc,_0x32c0ed,_0x14b8b4(0x2eb));return;}const _0x2ff1ef=_0x17765e(_0x14b8b4(0x24e))['update'](_0x226095+_0xafa314)[_0x14b8b4(0x140)](_0x14b8b4(0x1ca));if(_0x2cec90[_0x14b8b4(0x258)][_0x14b8b4(0x1d2)]!==_0x2ff1ef){_0x3dface(_0x49dcbc,_0x32c0ed,_0x14b8b4(0x221));return;}const _0x16749f=_0x2cec90[_0x14b8b4(0x258)][_0x14b8b4(0x1de)];let _0x4cc2c4;if(_0x16749f!==void 0x0?_0x56e5bc[_0x14b8b4(0x207)]?_0x56e5bc['has'](_0x16749f)||(_0x4cc2c4=_0x14b8b4(0x2ff)):_0x4cc2c4=_0x14b8b4(0x284):_0x56e5bc[_0x14b8b4(0x207)]&&(_0x4cc2c4=_0x14b8b4(0x1b5)),_0x4cc2c4){_0x3dface(_0x49dcbc,_0x32c0ed,_0x4cc2c4);return;}_0x16749f&&(_0x49dcbc[_0x14b8b4(0x20e)]=_0x16749f);const _0x387160=_0x2cec90[_0x14b8b4(0x258)]['sec-websocket-extensions'];if(_0x387160!==void 0x0){if(!_0x734ef9){_0x3dface(_0x49dcbc,_0x32c0ed,_0x14b8b4(0x1ab));return;}let _0x15400b;try{_0x15400b=_0xf3708d(_0x387160);}catch{_0x3dface(_0x49dcbc,_0x32c0ed,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0x21711f=Object[_0x14b8b4(0x169)](_0x15400b);if(_0x21711f[_0x14b8b4(0x29a)]!==0x1||_0x21711f[0x0]!==_0x584cf8[_0x14b8b4(0x237)]){_0x3dface(_0x49dcbc,_0x32c0ed,_0x14b8b4(0x186));return;}try{_0x734ef9['accept'](_0x15400b[_0x584cf8[_0x14b8b4(0x237)]]);}catch{_0x3dface(_0x49dcbc,_0x32c0ed,_0x14b8b4(0x154));return;}_0x49dcbc[_0x14b8b4(0x28e)][_0x584cf8[_0x14b8b4(0x237)]]=_0x734ef9;}_0x49dcbc[_0x14b8b4(0x2de)](_0x32c0ed,_0x2c4f17,{'allowSynchronousEvents':_0x324c23[_0x14b8b4(0x209)],'generateMask':_0x324c23['generateMask'],'maxPayload':_0x324c23[_0x14b8b4(0x184)],'skipUTF8Validation':_0x324c23['skipUTF8Validation']});}),_0x324c23[_0x1ae761(0x1a8)]?_0x324c23['finishRequest'](_0x1b8e17,_0x49dcbc):_0x1b8e17[_0x1ae761(0x2c8)]();}function _0x23aead(_0x353ba0,_0x21ff99){const _0x4ea5f9=_0x34abbe;_0x353ba0['_readyState']=_0x3b5f75[_0x4ea5f9(0x24c)],_0x353ba0[_0x4ea5f9(0x16a)]=!0x0,_0x353ba0['emit'](_0x4ea5f9(0x20a),_0x21ff99),_0x353ba0[_0x4ea5f9(0x2f5)]();}function _0x19ba8f(_0x1c7a2a){const _0x303bd5=_0x34abbe;return _0x1c7a2a['path']=_0x1c7a2a[_0x303bd5(0x1b6)],_0x72ffc4[_0x303bd5(0x290)](_0x1c7a2a);}function _0x5be367(_0x11847b){const _0x489aee=_0x34abbe;return _0x11847b[_0x489aee(0x1ef)]=void 0x0,!_0x11847b[_0x489aee(0x2fb)]&&_0x11847b[_0x489aee(0x2fb)]!==''&&(_0x11847b[_0x489aee(0x2fb)]=_0x72ffc4[_0x489aee(0x1a0)](_0x11847b[_0x489aee(0x2c9)])?'':_0x11847b[_0x489aee(0x2c9)]),_0x2e469f[_0x489aee(0x290)](_0x11847b);}function _0x3dface(_0x55cbcf,_0x18db95,_0x1b50eb){const _0xbcdc4f=_0x34abbe;_0x55cbcf[_0xbcdc4f(0x251)]=_0x3b5f75[_0xbcdc4f(0x24c)];const _0x137e1e=new Error(_0x1b50eb);Error['captureStackTrace'](_0x137e1e,_0x3dface),_0x18db95[_0xbcdc4f(0x148)]?(_0x18db95[_0x39e383]=!0x0,_0x18db95[_0xbcdc4f(0x198)](),_0x18db95[_0xbcdc4f(0x1d6)]&&!_0x18db95['socket'][_0xbcdc4f(0x2bc)]&&_0x18db95[_0xbcdc4f(0x1d6)]['destroy'](),process[_0xbcdc4f(0x1e3)](_0x23aead,_0x55cbcf,_0x137e1e)):(_0x18db95[_0xbcdc4f(0x234)](_0x137e1e),_0x18db95['once'](_0xbcdc4f(0x20a),_0x55cbcf['emit']['bind'](_0x55cbcf,_0xbcdc4f(0x20a))),_0x18db95[_0xbcdc4f(0x180)](_0xbcdc4f(0x187),_0x55cbcf[_0xbcdc4f(0x2f5)]['bind'](_0x55cbcf)));}function _0x24c1e5(_0x1af31c,_0x2de382,_0x56627a){const _0x1571f3=_0x34abbe;if(_0x2de382){const _0x5d9700=_0x216e84(_0x2de382)?_0x2de382[_0x1571f3(0x207)]:_0xca2fc2(_0x2de382)['length'];_0x1af31c[_0x1571f3(0x13c)]?_0x1af31c[_0x1571f3(0x1f0)][_0x1571f3(0x17a)]+=_0x5d9700:_0x1af31c[_0x1571f3(0x174)]+=_0x5d9700;}if(_0x56627a){const _0xd429dc=new Error(_0x1571f3(0x2e9)+_0x1af31c[_0x1571f3(0x276)]+'\x20('+_0x4cc70f[_0x1af31c[_0x1571f3(0x276)]]+')');process[_0x1571f3(0x1e3)](_0x56627a,_0xd429dc);}}function _0xd3f5db(_0x95f10a,_0x5d92a1){const _0x48a91f=_0x34abbe,_0x50e4bc=this[_0x17e227];_0x50e4bc[_0x48a91f(0x17c)]=!0x0,_0x50e4bc['_closeMessage']=_0x5d92a1,_0x50e4bc[_0x48a91f(0x155)]=_0x95f10a,_0x50e4bc[_0x48a91f(0x13c)][_0x17e227]!==void 0x0&&(_0x50e4bc['_socket'][_0x48a91f(0x1b4)](_0x48a91f(0x1b0),_0x3e1bc1),process[_0x48a91f(0x1e3)](_0x17d611,_0x50e4bc['_socket']),_0x95f10a===0x3ed?_0x50e4bc['close']():_0x50e4bc[_0x48a91f(0x187)](_0x95f10a,_0x5d92a1));}function _0x104e65(){const _0x28a8f2=_0x34abbe,_0x45ce20=this[_0x17e227];_0x45ce20[_0x28a8f2(0x195)]||_0x45ce20[_0x28a8f2(0x13c)][_0x28a8f2(0x1d4)]();}function _0x422511(_0x1d5e2a){const _0x1424da=_0x34abbe,_0x3c82bd=this[_0x17e227];_0x3c82bd[_0x1424da(0x13c)][_0x17e227]!==void 0x0&&(_0x3c82bd[_0x1424da(0x13c)][_0x1424da(0x1b4)](_0x1424da(0x1b0),_0x3e1bc1),process[_0x1424da(0x1e3)](_0x17d611,_0x3c82bd['_socket']),_0x3c82bd[_0x1424da(0x187)](_0x1d5e2a[_0x13fe98])),_0x3c82bd['_errorEmitted']||(_0x3c82bd[_0x1424da(0x16a)]=!0x0,_0x3c82bd[_0x1424da(0x2ee)](_0x1424da(0x20a),_0x1d5e2a));}function _0x3c38c8(){const _0x283ccf=_0x34abbe;this[_0x17e227][_0x283ccf(0x2f5)]();}function _0x494707(_0x225c4f,_0x5a8db8){const _0xbe0f1f=_0x34abbe;this[_0x17e227]['emit'](_0xbe0f1f(0x16e),_0x225c4f,_0x5a8db8);}function _0x462ea2(_0x3a73b4){const _0x263570=_0x34abbe,_0x331206=this[_0x17e227];_0x331206[_0x263570(0x182)]&&_0x331206[_0x263570(0x2b0)](_0x3a73b4,!this[_0x263570(0x1f7)],_0x52ce65),_0x331206[_0x263570(0x2ee)](_0x263570(0x1cb),_0x3a73b4);}function _0x38d861(_0x23de1f){const _0x15a12a=_0x34abbe;this[_0x17e227]['emit'](_0x15a12a(0x2b0),_0x23de1f);}function _0x17d611(_0x4566df){const _0x27ae07=_0x34abbe;_0x4566df[_0x27ae07(0x1d4)]();}function _0x49e8f2(_0x2b456b){const _0x56463d=_0x34abbe,_0x579c44=this[_0x17e227];_0x579c44[_0x56463d(0x276)]!==_0x3b5f75[_0x56463d(0x299)]&&(_0x579c44['readyState']===_0x3b5f75[_0x56463d(0x1a9)]&&(_0x579c44['_readyState']=_0x3b5f75[_0x56463d(0x24c)],_0xd3d67f(_0x579c44)),this[_0x56463d(0x13c)]['end'](),_0x579c44[_0x56463d(0x16a)]||(_0x579c44[_0x56463d(0x16a)]=!0x0,_0x579c44[_0x56463d(0x2ee)]('error',_0x2b456b)));}function _0xd3d67f(_0x4b919b){const _0x3394d2=_0x34abbe;_0x4b919b[_0x3394d2(0x2d2)]=setTimeout(_0x4b919b[_0x3394d2(0x13c)][_0x3394d2(0x234)][_0x3394d2(0x1cf)](_0x4b919b[_0x3394d2(0x13c)]),_0x42ecb3);}function _0x661f49(){const _0x3664b9=_0x34abbe,_0x5d216f=this[_0x17e227];this['removeListener'](_0x3664b9(0x187),_0x661f49),this[_0x3664b9(0x1b4)]('data',_0x3e1bc1),this[_0x3664b9(0x1b4)](_0x3664b9(0x2c8),_0x128e9f),_0x5d216f['_readyState']=_0x3b5f75[_0x3664b9(0x24c)];let _0x4e44f0;!this['_readableState'][_0x3664b9(0x2d4)]&&!_0x5d216f['_closeFrameReceived']&&!_0x5d216f[_0x3664b9(0x235)][_0x3664b9(0x2e7)][_0x3664b9(0x22a)]&&(_0x4e44f0=_0x5d216f[_0x3664b9(0x13c)][_0x3664b9(0x13b)]())!==null&&_0x5d216f[_0x3664b9(0x235)]['write'](_0x4e44f0),_0x5d216f[_0x3664b9(0x235)][_0x3664b9(0x2c8)](),this[_0x17e227]=void 0x0,clearTimeout(_0x5d216f[_0x3664b9(0x2d2)]),_0x5d216f[_0x3664b9(0x235)][_0x3664b9(0x2e7)][_0x3664b9(0x2a5)]||_0x5d216f[_0x3664b9(0x235)][_0x3664b9(0x2e7)][_0x3664b9(0x22a)]?_0x5d216f[_0x3664b9(0x2f5)]():(_0x5d216f[_0x3664b9(0x235)]['on'](_0x3664b9(0x20a),_0x3c38c8),_0x5d216f['_receiver']['on'](_0x3664b9(0x2f1),_0x3c38c8));}function _0x3e1bc1(_0x15eb39){const _0x5146c3=_0x34abbe;this[_0x17e227]['_receiver'][_0x5146c3(0x13f)](_0x15eb39)||this[_0x5146c3(0x2cd)]();}function _0x128e9f(){const _0x3ddcb2=_0x34abbe,_0x917051=this[_0x17e227];_0x917051[_0x3ddcb2(0x251)]=_0x3b5f75[_0x3ddcb2(0x24c)],_0x917051['_receiver'][_0x3ddcb2(0x2c8)](),this['end']();}function _0x2a8baf(){const _0x9fd970=_0x34abbe,_0x29f5d1=this[_0x17e227];this[_0x9fd970(0x1b4)](_0x9fd970(0x20a),_0x2a8baf),this['on'](_0x9fd970(0x20a),_0x52ce65),_0x29f5d1&&(_0x29f5d1[_0x9fd970(0x251)]=_0x3b5f75[_0x9fd970(0x24c)],this[_0x9fd970(0x234)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x20bd2b}=oe;function _0x3ad06f(_0x383f26){const _0x54e94e=_0x2b90;_0x383f26['emit'](_0x54e94e(0x187));}function _0x5070fe(){const _0x2a9652=_0x2b90;!this[_0x2a9652(0x2bc)]&&this['_writableState'][_0x2a9652(0x2a5)]&&this['destroy']();}function _0x12651f(_0x586733){const _0xadb0c6=_0x2b90;this[_0xadb0c6(0x1b4)]('error',_0x12651f),this[_0xadb0c6(0x234)](),this[_0xadb0c6(0x2c1)]('error')===0x0&&this[_0xadb0c6(0x2ee)](_0xadb0c6(0x20a),_0x586733);}function _0x39be42(_0x11ecaf,_0x37ae67){const _0x4196ca=_0x2b90;let _0x2d11cb=!0x0;const _0x40334f=new _0x20bd2b({..._0x37ae67,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x11ecaf['on']('message',function(_0x1acc6d,_0x1c1cbd){const _0xb5fb7=_0x2b90,_0x18c0fa=!_0x1c1cbd&&_0x40334f[_0xb5fb7(0x238)][_0xb5fb7(0x21f)]?_0x1acc6d[_0xb5fb7(0x25b)]():_0x1acc6d;_0x40334f[_0xb5fb7(0x199)](_0x18c0fa)||_0x11ecaf[_0xb5fb7(0x2cd)]();}),_0x11ecaf[_0x4196ca(0x180)]('error',function(_0x1d9414){const _0x2c4b98=_0x4196ca;_0x40334f[_0x2c4b98(0x2bc)]||(_0x2d11cb=!0x1,_0x40334f[_0x2c4b98(0x234)](_0x1d9414));}),_0x11ecaf[_0x4196ca(0x180)](_0x4196ca(0x187),function(){const _0x3d5bf5=_0x4196ca;_0x40334f[_0x3d5bf5(0x2bc)]||_0x40334f[_0x3d5bf5(0x199)](null);}),_0x40334f['_destroy']=function(_0x243823,_0x117df4){const _0x520c48=_0x4196ca;if(_0x11ecaf[_0x520c48(0x276)]===_0x11ecaf[_0x520c48(0x299)]){_0x117df4(_0x243823),process['nextTick'](_0x3ad06f,_0x40334f);return;}let _0x2e891f=!0x1;_0x11ecaf['once']('error',function(_0x4bff45){_0x2e891f=!0x0,_0x117df4(_0x4bff45);}),_0x11ecaf[_0x520c48(0x180)](_0x520c48(0x187),function(){const _0x5cb2e5=_0x520c48;_0x2e891f||_0x117df4(_0x243823),process[_0x5cb2e5(0x1e3)](_0x3ad06f,_0x40334f);}),_0x2d11cb&&_0x11ecaf[_0x520c48(0x216)]();},_0x40334f[_0x4196ca(0x282)]=function(_0x5c8646){const _0x2cf254=_0x4196ca;if(_0x11ecaf[_0x2cf254(0x276)]===_0x11ecaf['CONNECTING']){_0x11ecaf[_0x2cf254(0x180)](_0x2cf254(0x213),function(){const _0x233a8c=_0x2cf254;_0x40334f[_0x233a8c(0x282)](_0x5c8646);});return;}_0x11ecaf[_0x2cf254(0x13c)]!==null&&(_0x11ecaf[_0x2cf254(0x13c)][_0x2cf254(0x2e7)]['finished']?(_0x5c8646(),_0x40334f[_0x2cf254(0x238)][_0x2cf254(0x2d4)]&&_0x40334f[_0x2cf254(0x234)]()):(_0x11ecaf[_0x2cf254(0x13c)][_0x2cf254(0x180)](_0x2cf254(0x2f1),function(){_0x5c8646();}),_0x11ecaf[_0x2cf254(0x187)]()));},_0x40334f[_0x4196ca(0x20c)]=function(){_0x11ecaf['isPaused']&&_0x11ecaf['resume']();},_0x40334f[_0x4196ca(0x178)]=function(_0x397674,_0xb73661,_0x860a15){const _0x1af105=_0x4196ca;if(_0x11ecaf[_0x1af105(0x276)]===_0x11ecaf[_0x1af105(0x16b)]){_0x11ecaf[_0x1af105(0x180)](_0x1af105(0x213),function(){const _0x2d1f15=_0x1af105;_0x40334f[_0x2d1f15(0x178)](_0x397674,_0xb73661,_0x860a15);});return;}_0x11ecaf[_0x1af105(0x2ae)](_0x397674,_0x860a15);},_0x40334f['on'](_0x4196ca(0x2c8),_0x5070fe),_0x40334f['on']('error',_0x12651f),_0x40334f;}return Oe=_0x39be42,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x337c77}=ae();function _0x5487fd(_0x4201a9){const _0x2de4d4=_0x2b90,_0x1c1476=new Set();let _0x3f678b=-0x1,_0x2fe7f4=-0x1,_0x3eb2c2=0x0;for(_0x3eb2c2;_0x3eb2c2<_0x4201a9['length'];_0x3eb2c2++){const _0x263140=_0x4201a9[_0x2de4d4(0x1c7)](_0x3eb2c2);if(_0x2fe7f4===-0x1&&_0x337c77[_0x263140]===0x1)_0x3f678b===-0x1&&(_0x3f678b=_0x3eb2c2);else{if(_0x3eb2c2!==0x0&&(_0x263140===0x20||_0x263140===0x9))_0x2fe7f4===-0x1&&_0x3f678b!==-0x1&&(_0x2fe7f4=_0x3eb2c2);else{if(_0x263140===0x2c){if(_0x3f678b===-0x1)throw new SyntaxError(_0x2de4d4(0x189)+_0x3eb2c2);_0x2fe7f4===-0x1&&(_0x2fe7f4=_0x3eb2c2);const _0x5da4e7=_0x4201a9[_0x2de4d4(0x1af)](_0x3f678b,_0x2fe7f4);if(_0x1c1476[_0x2de4d4(0x211)](_0x5da4e7))throw new SyntaxError(_0x2de4d4(0x181)+_0x5da4e7+_0x2de4d4(0x2fe));_0x1c1476[_0x2de4d4(0x1ff)](_0x5da4e7),_0x3f678b=_0x2fe7f4=-0x1;}else throw new SyntaxError(_0x2de4d4(0x189)+_0x3eb2c2);}}}if(_0x3f678b===-0x1||_0x2fe7f4!==-0x1)throw new SyntaxError(_0x2de4d4(0x2c2));const _0x481428=_0x4201a9['slice'](_0x3f678b,_0x3eb2c2);if(_0x1c1476[_0x2de4d4(0x211)](_0x481428))throw new SyntaxError(_0x2de4d4(0x181)+_0x481428+_0x2de4d4(0x2fe));return _0x1c1476[_0x2de4d4(0x1ff)](_0x481428),_0x1c1476;}return Ce={'parse':_0x5487fd},Ce;}var Te,rt;function Ft(){const _0x4c43b6=_0x5c908d;if(rt)return Te;rt=0x1;const _0x3496bd=nt,_0x546cbb=ot,{Duplex:_0xdbb418}=oe,{createHash:_0xb801}=Le,_0x1d1fb1=ct(),_0x3a1e1f=he(),_0x32601b=At(),_0x4b12fe=Pe(),{GUID:_0x26f676,kWebSocket:_0x3cdc9e}=H(),_0x53db09=/^[+/0-9A-Za-z]{22}==$/,_0x146ea6=0x0,_0x11c80e=0x1,_0x121efe=0x2;class _0x12787c extends _0x3496bd{constructor(_0x590149,_0x4c5ed0){const _0x4fa618=_0x2b90;if(super(),_0x590149={'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':_0x4b12fe,..._0x590149},_0x590149[_0x4fa618(0x204)]==null&&!_0x590149[_0x4fa618(0x1ed)]&&!_0x590149[_0x4fa618(0x25f)]||_0x590149['port']!=null&&(_0x590149['server']||_0x590149[_0x4fa618(0x25f)])||_0x590149[_0x4fa618(0x1ed)]&&_0x590149[_0x4fa618(0x25f)])throw new TypeError(_0x4fa618(0x26e));if(_0x590149[_0x4fa618(0x204)]!=null?(this[_0x4fa618(0x1f2)]=_0x546cbb[_0x4fa618(0x1c9)]((_0x33c7ad,_0x3b4836)=>{const _0x3c2618=_0x4fa618,_0x145d78=_0x546cbb['STATUS_CODES'][0x1aa];_0x3b4836['writeHead'](0x1aa,{'Content-Length':_0x145d78[_0x3c2618(0x29a)],'Content-Type':_0x3c2618(0x26f)}),_0x3b4836[_0x3c2618(0x2c8)](_0x145d78);}),this[_0x4fa618(0x1f2)][_0x4fa618(0x222)](_0x590149[_0x4fa618(0x204)],_0x590149['host'],_0x590149[_0x4fa618(0x18e)],_0x4c5ed0)):_0x590149[_0x4fa618(0x1ed)]&&(this['_server']=_0x590149[_0x4fa618(0x1ed)]),this[_0x4fa618(0x1f2)]){const _0x5ceb66=this[_0x4fa618(0x2ee)][_0x4fa618(0x1cf)](this,_0x4fa618(0x15b));this[_0x4fa618(0x15d)]=_0x39e5a4(this['_server'],{'listening':this[_0x4fa618(0x2ee)]['bind'](this,_0x4fa618(0x146)),'error':this[_0x4fa618(0x2ee)][_0x4fa618(0x1cf)](this,_0x4fa618(0x20a)),'upgrade':(_0x5b8976,_0x3e6e04,_0x50eb62)=>{const _0x1aee3f=_0x4fa618;this[_0x1aee3f(0x2ea)](_0x5b8976,_0x3e6e04,_0x50eb62,_0x5ceb66);}});}_0x590149[_0x4fa618(0x1aa)]===!0x0&&(_0x590149[_0x4fa618(0x1aa)]={}),_0x590149[_0x4fa618(0x2f7)]&&(this[_0x4fa618(0x1cc)]=new Set(),this['_shouldEmitClose']=!0x1),this[_0x4fa618(0x16f)]=_0x590149,this['_state']=_0x146ea6;}[_0x4c43b6(0x25a)](){const _0xc18210=_0x4c43b6;if(this[_0xc18210(0x16f)][_0xc18210(0x25f)])throw new Error(_0xc18210(0x1ea));return this['_server']?this[_0xc18210(0x1f2)][_0xc18210(0x25a)]():null;}[_0x4c43b6(0x187)](_0x4bbc8b){const _0x342260=_0x4c43b6;if(this[_0x342260(0x239)]===_0x121efe){_0x4bbc8b&&this[_0x342260(0x180)](_0x342260(0x187),()=>{_0x4bbc8b(new Error('The\x20server\x20is\x20not\x20running'));}),process[_0x342260(0x1e3)](_0x4ea79d,this);return;}if(_0x4bbc8b&&this[_0x342260(0x180)](_0x342260(0x187),_0x4bbc8b),this['_state']!==_0x11c80e){if(this[_0x342260(0x239)]=_0x11c80e,this[_0x342260(0x16f)]['noServer']||this[_0x342260(0x16f)]['server'])this[_0x342260(0x1f2)]&&(this[_0x342260(0x15d)](),this['_removeListeners']=this[_0x342260(0x1f2)]=null),this['clients']?this[_0x342260(0x1cc)]['size']?this['_shouldEmitClose']=!0x0:process[_0x342260(0x1e3)](_0x4ea79d,this):process[_0x342260(0x1e3)](_0x4ea79d,this);else{const _0x2f439d=this['_server'];this['_removeListeners'](),this['_removeListeners']=this[_0x342260(0x1f2)]=null,_0x2f439d[_0x342260(0x187)](()=>{_0x4ea79d(this);});}}}[_0x4c43b6(0x165)](_0x3a404c){const _0x1efa50=_0x4c43b6;if(this[_0x1efa50(0x16f)]['path']){const _0x5a3d63=_0x3a404c['url'][_0x1efa50(0x191)]('?');if((_0x5a3d63!==-0x1?_0x3a404c[_0x1efa50(0x2f8)]['slice'](0x0,_0x5a3d63):_0x3a404c[_0x1efa50(0x2f8)])!==this[_0x1efa50(0x16f)][_0x1efa50(0x1ef)])return!0x1;}return!0x0;}['handleUpgrade'](_0x45f7d1,_0x50ba8c,_0x3e5a82,_0x176bfa){const _0x1b2cdf=_0x4c43b6;_0x50ba8c['on']('error',_0x47dba9);const _0x48c244=_0x45f7d1[_0x1b2cdf(0x258)][_0x1b2cdf(0x18c)],_0x26ee8f=_0x45f7d1[_0x1b2cdf(0x258)][_0x1b2cdf(0x175)],_0x360d2d=+_0x45f7d1['headers']['sec-websocket-version'];if(_0x45f7d1['method']!==_0x1b2cdf(0x1e4)){_0x4f3069(this,_0x45f7d1,_0x50ba8c,0x195,_0x1b2cdf(0x138));return;}if(_0x26ee8f===void 0x0||_0x26ee8f[_0x1b2cdf(0x205)]()!==_0x1b2cdf(0x256)){_0x4f3069(this,_0x45f7d1,_0x50ba8c,0x190,_0x1b2cdf(0x2eb));return;}if(_0x48c244===void 0x0||!_0x53db09['test'](_0x48c244)){_0x4f3069(this,_0x45f7d1,_0x50ba8c,0x190,_0x1b2cdf(0x1e2));return;}if(_0x360d2d!==0x8&&_0x360d2d!==0xd){_0x4f3069(this,_0x45f7d1,_0x50ba8c,0x190,_0x1b2cdf(0x228));return;}if(!this[_0x1b2cdf(0x165)](_0x45f7d1)){_0xc782e8(_0x50ba8c,0x190);return;}const _0x3d3a68=_0x45f7d1['headers'][_0x1b2cdf(0x1de)];let _0xd44eb=new Set();if(_0x3d3a68!==void 0x0)try{_0xd44eb=_0x32601b[_0x1b2cdf(0x1a1)](_0x3d3a68);}catch{_0x4f3069(this,_0x45f7d1,_0x50ba8c,0x190,_0x1b2cdf(0x1e1));return;}const _0x137202=_0x45f7d1[_0x1b2cdf(0x258)][_0x1b2cdf(0x257)],_0x358a9d={};if(this['options'][_0x1b2cdf(0x1aa)]&&_0x137202!==void 0x0){const _0x3ca259=new _0x3a1e1f(this[_0x1b2cdf(0x16f)]['perMessageDeflate'],!0x0,this[_0x1b2cdf(0x16f)][_0x1b2cdf(0x184)]);try{const _0x44b6d2=_0x1d1fb1[_0x1b2cdf(0x1a1)](_0x137202);_0x44b6d2[_0x3a1e1f[_0x1b2cdf(0x237)]]&&(_0x3ca259[_0x1b2cdf(0x1d1)](_0x44b6d2[_0x3a1e1f[_0x1b2cdf(0x237)]]),_0x358a9d[_0x3a1e1f['extensionName']]=_0x3ca259);}catch{_0x4f3069(this,_0x45f7d1,_0x50ba8c,0x190,_0x1b2cdf(0x200));return;}}if(this[_0x1b2cdf(0x16f)][_0x1b2cdf(0x245)]){const _0x2fd6b0={'origin':_0x45f7d1['headers'][''+(_0x360d2d===0x8?'sec-websocket-origin':_0x1b2cdf(0x298))],'secure':!!(_0x45f7d1['socket'][_0x1b2cdf(0x1d7)]||_0x45f7d1[_0x1b2cdf(0x1d6)]['encrypted']),'req':_0x45f7d1};if(this[_0x1b2cdf(0x16f)][_0x1b2cdf(0x245)][_0x1b2cdf(0x29a)]===0x2){this[_0x1b2cdf(0x16f)]['verifyClient'](_0x2fd6b0,(_0x103e3d,_0x55b380,_0x247cf9,_0x1207c8)=>{const _0x4e038b=_0x1b2cdf;if(!_0x103e3d)return _0xc782e8(_0x50ba8c,_0x55b380||0x191,_0x247cf9,_0x1207c8);this[_0x4e038b(0x266)](_0x358a9d,_0x48c244,_0xd44eb,_0x45f7d1,_0x50ba8c,_0x3e5a82,_0x176bfa);});return;}if(!this['options'][_0x1b2cdf(0x245)](_0x2fd6b0))return _0xc782e8(_0x50ba8c,0x191);}this[_0x1b2cdf(0x266)](_0x358a9d,_0x48c244,_0xd44eb,_0x45f7d1,_0x50ba8c,_0x3e5a82,_0x176bfa);}[_0x4c43b6(0x266)](_0x294e48,_0xb80207,_0x508ddc,_0x3fd001,_0x4ef23a,_0x3dc3f9,_0x4de65b){const _0x1da04d=_0x4c43b6;if(!_0x4ef23a[_0x1da04d(0x2b2)]||!_0x4ef23a['writable'])return _0x4ef23a[_0x1da04d(0x234)]();if(_0x4ef23a[_0x3cdc9e])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this[_0x1da04d(0x239)]>_0x146ea6)return _0xc782e8(_0x4ef23a,0x1f7);const _0x4271e1=[_0x1da04d(0x143),_0x1da04d(0x26d),_0x1da04d(0x1bb),_0x1da04d(0x1c0)+_0xb801('sha1')['update'](_0xb80207+_0x26f676)[_0x1da04d(0x140)](_0x1da04d(0x1ca))],_0x1ae311=new this['options'][(_0x1da04d(0x2cf))](null,void 0x0,this[_0x1da04d(0x16f)]);if(_0x508ddc[_0x1da04d(0x207)]){const _0x38068c=this[_0x1da04d(0x16f)]['handleProtocols']?this['options'][_0x1da04d(0x2ef)](_0x508ddc,_0x3fd001):_0x508ddc[_0x1da04d(0x22f)]()[_0x1da04d(0x29b)]()['value'];_0x38068c&&(_0x4271e1[_0x1da04d(0x199)]('Sec-WebSocket-Protocol:\x20'+_0x38068c),_0x1ae311[_0x1da04d(0x20e)]=_0x38068c);}if(_0x294e48[_0x3a1e1f[_0x1da04d(0x237)]]){const _0x1c36ec=_0x294e48[_0x3a1e1f[_0x1da04d(0x237)]][_0x1da04d(0x2ec)],_0x288427=_0x1d1fb1['format']({[_0x3a1e1f[_0x1da04d(0x237)]]:[_0x1c36ec]});_0x4271e1[_0x1da04d(0x199)](_0x1da04d(0x2da)+_0x288427),_0x1ae311[_0x1da04d(0x28e)]=_0x294e48;}this[_0x1da04d(0x2ee)](_0x1da04d(0x258),_0x4271e1,_0x3fd001),_0x4ef23a['write'](_0x4271e1[_0x1da04d(0x19d)]('\x0d\x0a')[_0x1da04d(0x27e)]('\x0d\x0a')),_0x4ef23a[_0x1da04d(0x1b4)](_0x1da04d(0x20a),_0x47dba9),_0x1ae311[_0x1da04d(0x2de)](_0x4ef23a,_0x3dc3f9,{'allowSynchronousEvents':this[_0x1da04d(0x16f)]['allowSynchronousEvents'],'maxPayload':this['options'][_0x1da04d(0x184)],'skipUTF8Validation':this[_0x1da04d(0x16f)][_0x1da04d(0x2e5)]}),this[_0x1da04d(0x1cc)]&&(this['clients'][_0x1da04d(0x1ff)](_0x1ae311),_0x1ae311['on'](_0x1da04d(0x187),()=>{const _0x540349=_0x1da04d;this[_0x540349(0x1cc)][_0x540349(0x1c5)](_0x1ae311),this[_0x540349(0x196)]&&!this[_0x540349(0x1cc)][_0x540349(0x207)]&&process[_0x540349(0x1e3)](_0x4ea79d,this);})),_0x4de65b(_0x1ae311,_0x3fd001);}}Te=_0x12787c;function _0x39e5a4(_0x39fec3,_0x577dc5){const _0x20285c=_0x4c43b6;for(const _0x358b43 of Object[_0x20285c(0x169)](_0x577dc5))_0x39fec3['on'](_0x358b43,_0x577dc5[_0x358b43]);return function(){const _0x432964=_0x20285c;for(const _0xe8f9bd of Object[_0x432964(0x169)](_0x577dc5))_0x39fec3[_0x432964(0x1b4)](_0xe8f9bd,_0x577dc5[_0xe8f9bd]);};}function _0x4ea79d(_0x1c4675){const _0x4df43c=_0x4c43b6;_0x1c4675['_state']=_0x121efe,_0x1c4675[_0x4df43c(0x2ee)]('close');}function _0x47dba9(){const _0x14cfaa=_0x4c43b6;this[_0x14cfaa(0x234)]();}function _0xc782e8(_0x1c97df,_0x3efe64,_0x51183e,_0x2aaf13){const _0x451ba2=_0x4c43b6;_0x51183e=_0x51183e||_0x546cbb['STATUS_CODES'][_0x3efe64],_0x2aaf13={'Connection':_0x451ba2(0x187),'Content-Type':_0x451ba2(0x13a),'Content-Length':Buffer['byteLength'](_0x51183e),..._0x2aaf13},_0x1c97df[_0x451ba2(0x180)](_0x451ba2(0x2f1),_0x1c97df[_0x451ba2(0x234)]),_0x1c97df[_0x451ba2(0x2c8)](_0x451ba2(0x28a)+_0x3efe64+'\x20'+_0x546cbb[_0x451ba2(0x269)][_0x3efe64]+'\x0d\x0a'+Object[_0x451ba2(0x169)](_0x2aaf13)[_0x451ba2(0x225)](_0x4f7348=>_0x4f7348+':\x20'+_0x2aaf13[_0x4f7348])[_0x451ba2(0x27e)]('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0x51183e);}function _0x4f3069(_0x408378,_0x2a6f67,_0x5acfb4,_0x3ed90e,_0x52d18b){const _0x37ef6a=_0x4c43b6;if(_0x408378[_0x37ef6a(0x2c1)]('wsClientError')){const _0x329d95=new Error(_0x52d18b);Error[_0x37ef6a(0x17e)](_0x329d95,_0x4f3069),_0x408378[_0x37ef6a(0x2ee)](_0x37ef6a(0x246),_0x329d95,_0x5acfb4,_0x2a6f67);}else _0xc782e8(_0x5acfb4,_0x3ed90e,_0x52d18b);}return Te;}Ft();var jt=Object[_0x5c908d(0x242)],Wt=(_0x5d00a9,_0x15d5ac,_0x591bf0,_0x389404)=>{const _0x565bd2=_0x5c908d;for(var _0x1bb54f=_0x389404>0x1?void 0x0:_0x389404?jt(_0x15d5ac,_0x591bf0):_0x15d5ac,_0x5760aa=_0x5d00a9[_0x565bd2(0x29a)]-0x1,_0x709c18;_0x5760aa>=0x0;_0x5760aa--)(_0x709c18=_0x5d00a9[_0x5760aa])&&(_0x1bb54f=_0x709c18(_0x1bb54f)||_0x1bb54f);return _0x1bb54f;},qt=(_0x1db771,_0x1cbf32)=>(_0x41166f,_0x4d8a57)=>_0x1cbf32(_0x41166f,_0x4d8a57,_0x1db771);let ke=class extends A[_0x5c908d(0x292)]{constructor(_0xf5216b){const _0x335f0b=_0x5c908d;super(),this[_0x335f0b(0x1ac)]=_0xf5216b;}[_0x5c908d(0x23c)](_0x52802a){const _0x3e0ca4=_0x5c908d;var _0x1e5cb9;const _0x5cebe7=(_0x1e5cb9=this[_0x3e0ca4(0x1ac)][_0x3e0ca4(0x26b)](fe))==null?void 0x0:_0x1e5cb9[_0x3e0ca4(0x2a8)];try{const _0x27431d=new $t(_0x52802a,{'headers':{..._0x5cebe7}}),_0x253e40=new A[(_0x3e0ca4(0x2f6))]();return{'URL':_0x52802a,'close':(_0x5a9fd1,_0x26285a)=>{const _0x334ded=_0x3e0ca4;_0x27431d[_0x334ded(0x187)](_0x5a9fd1,_0x26285a),_0x253e40[_0x334ded(0x28f)]();},'send':_0x1fcdb9=>{const _0x3966ae=_0x3e0ca4;_0x27431d[_0x3966ae(0x2ae)](_0x1fcdb9);},'open$':new V[(_0x3e0ca4(0x279))](_0x1c02c5=>{const _0x2b128d=_0x3e0ca4,_0x56e942=_0x3e2ca7=>_0x1c02c5[_0x2b128d(0x29b)](_0x3e2ca7);_0x27431d[_0x2b128d(0x160)](_0x2b128d(0x213),_0x56e942),_0x253e40[_0x2b128d(0x1ff)](A['toDisposable'](()=>_0x27431d[_0x2b128d(0x280)](_0x2b128d(0x213),_0x56e942)));})['pipe'](V['share']()),'close$':new V[(_0x3e0ca4(0x279))](_0x22e448=>{const _0x13cb51=_0x3e0ca4,_0x2877d6=_0x30f4df=>_0x22e448[_0x13cb51(0x29b)](_0x30f4df);_0x27431d[_0x13cb51(0x160)](_0x13cb51(0x187),_0x2877d6),_0x253e40[_0x13cb51(0x1ff)](A[_0x13cb51(0x19b)](()=>_0x27431d[_0x13cb51(0x280)]('close',_0x2877d6)));})[_0x3e0ca4(0x192)](V[_0x3e0ca4(0x142)]()),'error$':new V[(_0x3e0ca4(0x279))](_0x1d0797=>{const _0xa1d639=_0x3e0ca4,_0x7d2219=_0x5aff8c=>_0x1d0797[_0xa1d639(0x29b)](_0x5aff8c);_0x27431d[_0xa1d639(0x160)](_0xa1d639(0x20a),_0x7d2219),_0x253e40[_0xa1d639(0x1ff)](A[_0xa1d639(0x19b)](()=>_0x27431d[_0xa1d639(0x280)](_0xa1d639(0x20a),_0x7d2219)));})[_0x3e0ca4(0x192)](V['share']()),'message$':new V['Observable'](_0xab4ca=>{const _0x29e84a=_0x3e0ca4,_0x397e2d=_0x1a658d=>_0xab4ca['next'](_0x1a658d);_0x27431d['addEventListener'](_0x29e84a(0x16e),_0x397e2d),_0x253e40['add'](A['toDisposable'](()=>_0x27431d['removeEventListener'](_0x29e84a(0x16e),_0x397e2d)));})[_0x3e0ca4(0x192)](V['share']())};}catch(_0x223eaf){return console['error'](_0x223eaf),null;}}};ke=Wt([qt(0x0,A[_0x5c908d(0x139)])],ke);var Gt=Object[_0x5c908d(0x1f9)],Vt=Object['getOwnPropertyDescriptor'],Ht=(_0x4ab28e,_0x1c9e9d,_0x4bcdd6)=>_0x1c9e9d in _0x4ab28e?Gt(_0x4ab28e,_0x1c9e9d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4bcdd6}):_0x4ab28e[_0x1c9e9d]=_0x4bcdd6,zt=(_0x52c8aa,_0x56125f,_0x47f918,_0x2833c3)=>{const _0xf384bf=_0x5c908d;for(var _0x3595c2=_0x2833c3>0x1?void 0x0:_0x2833c3?Vt(_0x56125f,_0x47f918):_0x56125f,_0x56ca86=_0x52c8aa[_0xf384bf(0x29a)]-0x1,_0x5cc692;_0x56ca86>=0x0;_0x56ca86--)(_0x5cc692=_0x52c8aa[_0x56ca86])&&(_0x3595c2=_0x5cc692(_0x3595c2)||_0x3595c2);return _0x3595c2;},Ne=(_0x481042,_0x254e39)=>(_0x109fb5,_0x554043)=>_0x254e39(_0x109fb5,_0x554043,_0x481042),Yt=(_0xad1465,_0x5c32d4,_0x24d808)=>Ht(_0xad1465,_0x5c32d4+'',_0x24d808);exports[_0x5c908d(0x20f)]=class extends A[_0x5c908d(0x1d9)]{constructor(_0x489801=Ct,_0x1b1018,_0x32f5ab,_0x36735f){const _0x3af632=_0x5c908d;_0x489801['customHeaders']||_0x1b1018['warn']('[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.'),super(),this['_configService']=_0x32f5ab,this[_0x3af632(0x19f)]=_0x36735f,this[_0x3af632(0x1ac)]['setConfig'](fe,_0x489801);}['onStarting'](){const _0xd3b54f=_0x5c908d;this[_0xd3b54f(0x14d)]();}[_0x5c908d(0x14d)](){const _0x190432=_0x5c908d;A['registerDependencies'](this[_0x190432(0x19f)],[[it[_0x190432(0x229)],{'useClass':ke}]]);}},Yt(exports['UniverCollaborationClientNodePlugin'],_0x5c908d(0x14e),_0x5c908d(0x291)),exports['UniverCollaborationClientNodePlugin']=zt([A[_0x5c908d(0x149)](st[_0x5c908d(0x263)]),Ne(0x1,A[_0x5c908d(0x1d0)]),Ne(0x2,A['IConfigService']),Ne(0x3,A[_0x5c908d(0x2ce)](A[_0x5c908d(0x260)]))],exports[_0x5c908d(0x20f)]);var Kt=Object[_0x5c908d(0x242)],Xt=(_0x53440e,_0x1ed42e,_0x1e7611,_0x2fb219)=>{for(var _0x2bbb0d=_0x2fb219>0x1?void 0x0:_0x2fb219?Kt(_0x1ed42e,_0x1e7611):_0x1ed42e,_0x33e3f3=_0x53440e['length']-0x1,_0x27b52f;_0x33e3f3>=0x0;_0x33e3f3--)(_0x27b52f=_0x53440e[_0x33e3f3])&&(_0x2bbb0d=_0x27b52f(_0x2bbb0d)||_0x2bbb0d);return _0x2bbb0d;},ne=(_0x57d895,_0x3be190)=>(_0x23a4db,_0x1e89bc)=>_0x3be190(_0x23a4db,_0x1e89bc,_0x57d895);exports[_0x5c908d(0x2e4)]=class extends st[_0x5c908d(0x2a1)]{constructor(_0x57f4c6,_0x4043f9,_0x5f5cae,_0x2f2420,_0x3c4514){const _0x37eecd=_0x5c908d;super(_0x57f4c6,_0x4043f9,_0x5f5cae,_0x2f2420,_0x3c4514);const _0x298e11=this['_configService'][_0x37eecd(0x26b)](fe);this['_httpService'][_0x37eecd(0x2ad)]({'interceptor':(_0x278746,_0x56318a)=>{const _0x4abf1a=_0x37eecd;var _0x253f8c;const _0x806850=_0x278746[_0x4abf1a(0x258)];return(_0x253f8c=_0x298e11==null?void 0x0:_0x298e11[_0x4abf1a(0x2a8)])!=null&&_0x253f8c['cookie']&&_0x806850[_0x4abf1a(0x2f2)]('Cookie',_0x298e11['customHeaders'][_0x4abf1a(0x1bd)]),_0x56318a(_0x278746);}});}async['createSocket'](_0x2a4d48){return this['_doCreateSocket'](_0x2a4d48);}},exports[_0x5c908d(0x2e4)]=Xt([ne(0x0,A[_0x5c908d(0x2ce)](A[_0x5c908d(0x260)])),ne(0x1,A[_0x5c908d(0x2ce)](it['HTTPService'])),ne(0x2,A[_0x5c908d(0x139)]),ne(0x3,A[_0x5c908d(0x1d0)]),ne(0x4,Ot[_0x5c908d(0x29e)])],exports[_0x5c908d(0x2e4)]),exports[_0x5c908d(0x1fc)]=fe;