@univerjs-pro/collaboration-client-node 0.6.9-nightly.202504061606 → 0.6.9-nightly.202504081607

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.js CHANGED
@@ -1 +1 @@
1
- const _0x428a1f=_0x40b5;(function(_0x4e21b6,_0x3f52fd){const _0x221dc9=_0x40b5,_0x26ade5=_0x4e21b6();while(!![]){try{const _0x5a68e1=parseInt(_0x221dc9(0x2df))/0x1+-parseInt(_0x221dc9(0x24c))/0x2*(-parseInt(_0x221dc9(0x288))/0x3)+-parseInt(_0x221dc9(0x2d7))/0x4*(-parseInt(_0x221dc9(0x2a4))/0x5)+parseInt(_0x221dc9(0x265))/0x6+-parseInt(_0x221dc9(0x2cb))/0x7*(-parseInt(_0x221dc9(0x27f))/0x8)+-parseInt(_0x221dc9(0x23c))/0x9*(-parseInt(_0x221dc9(0x251))/0xa)+parseInt(_0x221dc9(0x21b))/0xb*(-parseInt(_0x221dc9(0x23b))/0xc);if(_0x5a68e1===_0x3f52fd)break;else _0x26ade5['push'](_0x26ade5['shift']());}catch(_0x5c6ed6){_0x26ade5['push'](_0x26ade5['shift']());}}}(_0xa425,0x39e44));import{UniverCollaborationClientPlugin as _0x12537f,CollaborationSocketService as _0x500bf6}from'@univerjs-pro/collaboration-client';import{Disposable as _0x4cdc4f,DisposableCollection as _0x507d60,toDisposable as _0x4bad05,IConfigService as _0xb019a5,DependentOn as _0x1d617c,ILogService as _0x210727,Inject as _0x274da2,Injector as _0x20237a,Plugin as _0x2a6234,registerDependencies as _0x53d611}from'@univerjs/core';import{ISocketService as _0x3f18d4,HTTPService as _0x5154ef}from'@univerjs/network';function _0x40b5(_0x5f061a,_0x1026f9){const _0xa42572=_0xa425();return _0x40b5=function(_0x40b5b7,_0x57ecc7){_0x40b5b7=_0x40b5b7-0x148;let _0x35324c=_0xa42572[_0x40b5b7];return _0x35324c;},_0x40b5(_0x5f061a,_0x1026f9);}import{Observable as _0x1aeb65,share as _0x300abd}from'rxjs';import _0x2a163f from'events';import _0xde7cdb from'https';import _0x43dc55 from'http';import _0x5942ba from'net';import _0x214617 from'tls';import _0x29696a from'crypto';import _0x2440cb from'stream';import _0x42c500 from'url';import _0x4f8f55 from'zlib';import _0x2b076d from'buffer';import{ISnapshotServerService as _0x1a3b7e}from'@univerjs-pro/collaboration';const Be=_0x428a1f(0x2aa),Ft={'customHeaders':{}};function jt(_0x1ec2bb){const _0x2d9d0e=_0x428a1f;return _0x1ec2bb&&_0x1ec2bb[_0x2d9d0e(0x2e9)]&&Object[_0x2d9d0e(0x2dd)][_0x2d9d0e(0x2da)][_0x2d9d0e(0x271)](_0x1ec2bb,_0x2d9d0e(0x1ad))?_0x1ec2bb[_0x2d9d0e(0x1ad)]:_0x1ec2bb;}function ut(_0x3baf5f){const _0x2570d2=_0x428a1f;if(Object[_0x2570d2(0x2dd)][_0x2570d2(0x2da)]['call'](_0x3baf5f,_0x2570d2(0x2e9)))return _0x3baf5f;var _0x42f850=_0x3baf5f['default'];if(typeof _0x42f850=='function'){var _0x1f0ac1=function _0x6e561d(){const _0x435dec=_0x2570d2;return this instanceof _0x6e561d?Reflect[_0x435dec(0x1b1)](_0x42f850,arguments,this[_0x435dec(0x1c2)]):_0x42f850[_0x435dec(0x16b)](this,arguments);};_0x1f0ac1[_0x2570d2(0x2dd)]=_0x42f850[_0x2570d2(0x2dd)];}else _0x1f0ac1={};return Object[_0x2570d2(0x279)](_0x1f0ac1,_0x2570d2(0x2e9),{'value':!0x0}),Object[_0x2570d2(0x2e4)](_0x3baf5f)[_0x2570d2(0x28d)](function(_0x16ffc7){const _0x167660=_0x2570d2;var _0x3ca457=Object['getOwnPropertyDescriptor'](_0x3baf5f,_0x16ffc7);Object[_0x167660(0x279)](_0x1f0ac1,_0x16ffc7,_0x3ca457[_0x167660(0x1d5)]?_0x3ca457:{'enumerable':!0x0,'get':function(){return _0x3baf5f[_0x16ffc7];}});}),_0x1f0ac1;}var te={'exports':{}},ge,Ye;function V(){const _0x502127=_0x428a1f;if(Ye)return ge;Ye=0x1;const _0x306c49=[_0x502127(0x236),'arraybuffer',_0x502127(0x287)],_0x38494f=typeof Blob<'u';return _0x38494f&&_0x306c49['push'](_0x502127(0x193)),ge={'BINARY_TYPES':_0x306c49,'EMPTY_BUFFER':Buffer[_0x502127(0x29f)](0x0),'GUID':_0x502127(0x2ec),'hasBlob':_0x38494f,'kForOnEventAttribute':Symbol(_0x502127(0x22b)),'kListener':Symbol(_0x502127(0x2ba)),'kStatusCode':Symbol(_0x502127(0x292)),'kWebSocket':Symbol(_0x502127(0x2bb)),'NOOP':()=>{}},ge;}const Wt={},Gt=Object[_0x428a1f(0x232)](Object[_0x428a1f(0x279)]({'__proto__':null,'default':Wt},Symbol[_0x428a1f(0x160)],{'value':'Module'})),Vt=ut(Gt);var Ke;function ce(){const _0x30da8e=_0x428a1f;if(Ke)return te[_0x30da8e(0x1fb)];Ke=0x1;const {EMPTY_BUFFER:_0x538929}=V(),_0x3411b7=Buffer[Symbol[_0x30da8e(0x26d)]];function _0x493157(_0x17ce1b,_0x5b0e42){const _0xa9a45c=_0x30da8e;if(_0x17ce1b[_0xa9a45c(0x208)]===0x0)return _0x538929;if(_0x17ce1b[_0xa9a45c(0x208)]===0x1)return _0x17ce1b[0x0];const _0xfc02db=Buffer[_0xa9a45c(0x1f3)](_0x5b0e42);let _0x54972c=0x0;for(let _0x39dd27=0x0;_0x39dd27<_0x17ce1b[_0xa9a45c(0x208)];_0x39dd27++){const _0x1b1400=_0x17ce1b[_0x39dd27];_0xfc02db[_0xa9a45c(0x1a4)](_0x1b1400,_0x54972c),_0x54972c+=_0x1b1400[_0xa9a45c(0x208)];}return _0x54972c<_0x5b0e42?new _0x3411b7(_0xfc02db['buffer'],_0xfc02db['byteOffset'],_0x54972c):_0xfc02db;}function _0x34c067(_0x5dcaee,_0x78451f,_0x4c1a18,_0xd3dc54,_0x15662d){for(let _0x3b0b13=0x0;_0x3b0b13<_0x15662d;_0x3b0b13++)_0x4c1a18[_0xd3dc54+_0x3b0b13]=_0x5dcaee[_0x3b0b13]^_0x78451f[_0x3b0b13&0x3];}function _0xbb549a(_0x4a2f97,_0x2f79f9){const _0x372364=_0x30da8e;for(let _0x51b149=0x0;_0x51b149<_0x4a2f97[_0x372364(0x208)];_0x51b149++)_0x4a2f97[_0x51b149]^=_0x2f79f9[_0x51b149&0x3];}function _0x107625(_0x555c61){const _0xa7f9e0=_0x30da8e;return _0x555c61[_0xa7f9e0(0x208)]===_0x555c61['buffer'][_0xa7f9e0(0x298)]?_0x555c61[_0xa7f9e0(0x1cc)]:_0x555c61[_0xa7f9e0(0x1cc)][_0xa7f9e0(0x22d)](_0x555c61[_0xa7f9e0(0x1f7)],_0x555c61[_0xa7f9e0(0x1f7)]+_0x555c61[_0xa7f9e0(0x208)]);}function _0x163b4f(_0x5cebac){const _0x2fd11f=_0x30da8e;if(_0x163b4f['readOnly']=!0x0,Buffer[_0x2fd11f(0x262)](_0x5cebac))return _0x5cebac;let _0x1ec4cf;return _0x5cebac instanceof ArrayBuffer?_0x1ec4cf=new _0x3411b7(_0x5cebac):ArrayBuffer[_0x2fd11f(0x1ce)](_0x5cebac)?_0x1ec4cf=new _0x3411b7(_0x5cebac[_0x2fd11f(0x1cc)],_0x5cebac[_0x2fd11f(0x1f7)],_0x5cebac[_0x2fd11f(0x298)]):(_0x1ec4cf=Buffer[_0x2fd11f(0x170)](_0x5cebac),_0x163b4f['readOnly']=!0x1),_0x1ec4cf;}if(te[_0x30da8e(0x1fb)]={'concat':_0x493157,'mask':_0x34c067,'toArrayBuffer':_0x107625,'toBuffer':_0x163b4f,'unmask':_0xbb549a},!process[_0x30da8e(0x2b9)][_0x30da8e(0x252)])try{const _0x5902d4=Vt;te[_0x30da8e(0x1fb)][_0x30da8e(0x189)]=function(_0x15dbfb,_0x1b14e4,_0x33bb37,_0xdfcfe8,_0x288af2){const _0x367673=_0x30da8e;_0x288af2<0x30?_0x34c067(_0x15dbfb,_0x1b14e4,_0x33bb37,_0xdfcfe8,_0x288af2):_0x5902d4[_0x367673(0x189)](_0x15dbfb,_0x1b14e4,_0x33bb37,_0xdfcfe8,_0x288af2);},te[_0x30da8e(0x1fb)]['unmask']=function(_0x32a312,_0xbda98f){const _0x1b268c=_0x30da8e;_0x32a312[_0x1b268c(0x208)]<0x20?_0xbb549a(_0x32a312,_0xbda98f):_0x5902d4[_0x1b268c(0x2be)](_0x32a312,_0xbda98f);};}catch{}return te[_0x30da8e(0x1fb)];}var ye,Xe;function qt(){const _0x4e8bb5=_0x428a1f;if(Xe)return ye;Xe=0x1;const _0x19cd0d=Symbol('kDone'),_0x35f22b=Symbol(_0x4e8bb5(0x264));class _0x50ed99{constructor(_0x5d5362){const _0x45a086=_0x4e8bb5;this[_0x19cd0d]=()=>{const _0x460a25=_0x40b5;this[_0x460a25(0x1b8)]--,this[_0x35f22b]();},this[_0x45a086(0x257)]=_0x5d5362||0x1/0x0,this[_0x45a086(0x224)]=[],this['pending']=0x0;}[_0x4e8bb5(0x2a1)](_0xceb2e8){const _0x345801=_0x4e8bb5;this[_0x345801(0x224)][_0x345801(0x197)](_0xceb2e8),this[_0x35f22b]();}[_0x35f22b](){const _0x4f28fd=_0x4e8bb5;if(this[_0x4f28fd(0x1b8)]!==this[_0x4f28fd(0x257)]&&this[_0x4f28fd(0x224)][_0x4f28fd(0x208)]){const _0x25d182=this[_0x4f28fd(0x224)][_0x4f28fd(0x1cb)]();this[_0x4f28fd(0x1b8)]++,_0x25d182(this[_0x19cd0d]);}}}return ye=_0x50ed99,ye;}var ve,Ze;function _0xa425(){const _0x1ff271=['_closeTimer','isInteger','createSocket','arrayBuffer','Invalid\x20Upgrade\x20header','delete','maskBuffer','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','search','number','_fragmented','test','toStringTag','_masked','_shouldEmitClose','setConfig','Sec-WebSocket-Accept:\x20','Sec-WebSocket-Origin','password','_payloadLength','readUInt32BE','WS_ERR_EXPECTED_MASK','Invalid\x20Sec-WebSocket-Accept\x20header','apply','port','_destroy','Invalid\x20Sec-WebSocket-Protocol\x20header','Sec-WebSocket-Extensions:\x20','from','Server\x20sent\x20no\x20subprotocol','compress','emit','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','_removeListeners','The\x20URL\x27s\x20pathname\x20is\x20empty','CLOSING','onmessage','kReason','conclude','_sender','Invalid\x20Sec-WebSocket-Extensions\x20header','_extensions','_decompress','wsClientError','\x22:\x20','code','_originalSecure','_fin','Upgrade:\x20websocket','buffers','_isServer','startsWith','Invalid\x20URL:\x20','mask','format','_paused','decompress','nextTick','map','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','removeAllListeners','Parameter\x20\x22','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','blob','end','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','listenerCount','push','_firstFragment','_compress','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','_queue','Sec-WebSocket-Extensions','kAborted','params','headers','objectMode','cleanup','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','statusCode','set','next','acceptAsClient','pause','concurrencyLimit','kMessage','Sec-WebSocket-Protocol:\x20','parse','perMessageDeflate','default','getMask','_fragments','_no_context_takeover','construct','client_max_window_bits','bind','dequeue','isIP','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','_url','pending','_protocol','WS_ERR_UNEXPECTED_RSV_1','WS_NO_UTF_8_VALIDATE','acceptAsServer','extensions','getConfig','reset','http:','isArray','constructor','timeout','bufferedAmount','host','_inflate','dataMessage','_redirects','authorization','digest','shift','buffer','readOnly','isView','_skipUTF8Validation','unexpected-response','handleProtocols','WS_ERR_INVALID_OPCODE','customHeaders','https:','get','values','_maskBuffer','opcode','_deflate','readyState','finishRequest','Z_SYNC_FLUSH','Basic\x20','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','_threshold','STATUS_CODES','sec-websocket-accept','binaryType','pathname','Invalid\x20value\x20for\x20parameter\x20\x22','_max_window_bits','GET','server_max_window_bits','ws:','_buffers','Opening\x20handshake\x20has\x20timed\x20out','_loop','frame','object','wss:','data','onerror','handleUpgrade','\x22\x20must\x20have\x20only\x20a\x20single\x20value','allocUnsafe','sha1','setHeader','cookie','byteOffset','sec-websocket-version','target','_receiver','exports','hostname','accept','controlMessage','string','finish','_totalPayloadLength','_originalIpc','type','followRedirects','terminate','includes','_options','length','username','drain','_opcode','replace','function','createConnection','getPayloadLength64','sec-websocket-extensions','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','emitClose','finished','listening','_binaryType','_mask','_messageLength','MASK\x20must\x20be\x20set','message','indexOf','15170089AFhjlq','binary','clients','servername','method','RSV1\x20must\x20be\x20clear','autoPong','setTimeout','wasClean','jobs','ping','resume','getInfo','close','size','_req','kIsForOnEventAttribute','sendFrame','slice','serverNoContextTakeover','Invalid\x20WebSocket\x20frame:\x20','Maximum\x20redirects\x20exceeded','_readyState','freeze','_errored','The\x20URL\x20contains\x20a\x20fragment\x20identifier','protocolVersion','nodebuffer','errorEmitted','setNoDelay','send','text/html','12RBuJbe','18nUISFx','_httpService','catch','createInflateRaw','getOwnPropertyDescriptor','shouldHandle','HTTP/1.1\x20','_state','invalid\x20payload\x20length\x20','options','path','zlibDeflateOptions','threshold','sec-websocket-protocol','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','sec-websocket-key','44POFVWW','Module','_closeMessage','response','createServer','895130zeCwlO','WS_NO_BUFFER_UTIL','The\x20server\x20is\x20not\x20running','permessage-deflate','auth','zlibInflateOptions','concurrency','client','isPaused','_originalHostOrSocketPath','_doCreateSocket','Max\x20payload\x20size\x20exceeded','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','_closeFrameReceived','createError','enqueue','_bufferedAmount','isBuffer','Unsupported\x20protocol\x20version:\x20','kRun','1248882eTAvxa','FIN\x20must\x20be\x20set','destroy','socket','server','CLOSED','_allowSynchronousEvents','kCode','species','writeUIntBE','serverMaxWindowBits','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','call','normalizeParams','unshift','onclose','text/plain','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','invalid\x20status\x20code\x20','defaultPort','defineProperty','origin','fin','\x20(supported\x20versions:\x20','kType','concat','96WyAYqz','abort','pow','_readableState','haveLength','callback','HTTP/1.1\x20101\x20Switching\x20Protocols','kWasClean','fragments','60315ybQlVT','toString','WebSocket\x20is\x20not\x20open:\x20readyState\x20','listen','extensionName','forEach','connection','Sec-WebSocket-Protocol','clientMaxWindowBits','join','status-code','_errorEmitted','connect','hash','address','dispose','byteLength','_closeCode','_configService','find','getBlobData','backlog','listeners','alloc','verifyClient','add','base64','pong','235JxWMhU','_socket','authorized','clientTracking','isValidUTF8','getPayloadLength16','collaboration-client-node.config','Unexpected\x20character\x20at\x20index\x20','WS_ERR_INVALID_UTF8','_server','captureStackTrace','_final','_bufferedBytes','error','protocol','redirect','consume','_injector','noServer','invalid\x20opcode\x20','setSocket','env','kListener','websocket','The\x20\x22','write','unmask','kError','url','handleEvent','pipe','registerHTTPInterceptor','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','client_no_context_takeover','charCodeAt','_compressed','_autoPong','rsv1','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','234059jGnwvy','removeListener','update','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','Unexpected\x20end\x20of\x20input','_closeFrameSent','maxPayload','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','_maxPayload','endEmitted','Upgrade','Z_DEFAULT_WINDOWBITS','27348EmAGJS','request','startLoop','hasOwnProperty','_generateMask','writeUInt16BE','prototype','encrypted','64157nEaVQK','\x22\x20subprotocol\x20is\x20duplicated','generateMask','server_no_context_takeover','OPEN','keys','has','skipUTF8Validation','_read','once','__esModule','destroyed','pluginName','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','reason','needDrain','open','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','create','removeEventListener','_writableState','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','offer','completeUpgrade','sec-websocket-origin','getData','invalid\x20opcode\x200','addEventListener','clientNoContextTakeover','readUInt16BE','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','upgrade','WS_ERR_UNEXPECTED_MASK','CONNECTING','Origin','socketPath','stream','allowSynchronousEvents','_registerDependencies','toLowerCase','onopen','href','location','dispatch','Connection:\x20Upgrade','split','arraybuffer','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified'];_0xa425=function(){return _0x1ff271;};return _0xa425();}function he(){const _0x2f6b44=_0x428a1f;if(Ze)return ve;Ze=0x1;const _0x31afc3=_0x4f8f55,_0x2a6549=ce(),_0x57a187=qt(),{kStatusCode:_0x3fc943}=V(),_0x707385=Buffer[Symbol[_0x2f6b44(0x26d)]],_0x1d8197=Buffer[_0x2f6b44(0x170)]([0x0,0x0,0xff,0xff]),_0x552c47=Symbol(_0x2f6b44(0x254)),_0x5e96ee=Symbol('total-length'),_0x4ed2e6=Symbol(_0x2f6b44(0x284)),_0x4159ef=Symbol(_0x2f6b44(0x185)),_0xf1cb66=Symbol(_0x2f6b44(0x2b1));let _0x35536a;class _0x2caf93{constructor(_0x4ba937,_0x130d52,_0x474b76){const _0x4a5f65=_0x2f6b44;if(this[_0x4a5f65(0x2d3)]=_0x474b76|0x0,this[_0x4a5f65(0x207)]=_0x4ba937||{},this['_threshold']=this[_0x4a5f65(0x207)][_0x4a5f65(0x248)]!==void 0x0?this[_0x4a5f65(0x207)][_0x4a5f65(0x248)]:0x400,this[_0x4a5f65(0x186)]=!!_0x130d52,this['_deflate']=null,this[_0x4a5f65(0x1c6)]=null,this[_0x4a5f65(0x19e)]=null,!_0x35536a){const _0x1f158d=this[_0x4a5f65(0x207)][_0x4a5f65(0x1a8)]!==void 0x0?this[_0x4a5f65(0x207)][_0x4a5f65(0x1a8)]:0xa;_0x35536a=new _0x57a187(_0x1f158d);}}static get[_0x2f6b44(0x28c)](){const _0x3bf620=_0x2f6b44;return _0x3bf620(0x254);}[_0x2f6b44(0x2f5)](){const _0x42cc5d=_0x2f6b44,_0x2c56bb={};return this[_0x42cc5d(0x207)][_0x42cc5d(0x22e)]&&(_0x2c56bb[_0x42cc5d(0x2e2)]=!0x0),this['_options'][_0x42cc5d(0x2fb)]&&(_0x2c56bb[_0x42cc5d(0x2c5)]=!0x0),this[_0x42cc5d(0x207)][_0x42cc5d(0x26f)]&&(_0x2c56bb[_0x42cc5d(0x1e7)]=this['_options'][_0x42cc5d(0x26f)]),this['_options'][_0x42cc5d(0x290)]?_0x2c56bb[_0x42cc5d(0x1b2)]=this['_options'][_0x42cc5d(0x290)]:this[_0x42cc5d(0x207)]['clientMaxWindowBits']==null&&(_0x2c56bb[_0x42cc5d(0x1b2)]=!0x0),_0x2c56bb;}[_0x2f6b44(0x1fd)](_0xcb435a){const _0x1f180e=_0x2f6b44;return _0xcb435a=this['normalizeParams'](_0xcb435a),this[_0x1f180e(0x19e)]=this[_0x1f180e(0x186)]?this[_0x1f180e(0x1bc)](_0xcb435a):this[_0x1f180e(0x1a6)](_0xcb435a),this[_0x1f180e(0x19e)];}[_0x2f6b44(0x1a1)](){const _0x52f75f=_0x2f6b44;if(this[_0x52f75f(0x1c6)]&&(this[_0x52f75f(0x1c6)][_0x52f75f(0x228)](),this['_inflate']=null),this[_0x52f75f(0x1d9)]){const _0x11bf05=this[_0x52f75f(0x1d9)][_0x4ed2e6];this[_0x52f75f(0x1d9)]['close'](),this[_0x52f75f(0x1d9)]=null,_0x11bf05&&_0x11bf05(new Error(_0x52f75f(0x1b6)));}}[_0x2f6b44(0x1bc)](_0x5b01e1){const _0x1e2043=_0x2f6b44,_0x4c46f8=this['_options'],_0x2b5782=_0x5b01e1[_0x1e2043(0x29b)](_0x5a3dd1=>!(_0x4c46f8[_0x1e2043(0x22e)]===!0x1&&_0x5a3dd1[_0x1e2043(0x2e2)]||_0x5a3dd1[_0x1e2043(0x1e7)]&&(_0x4c46f8[_0x1e2043(0x26f)]===!0x1||typeof _0x4c46f8[_0x1e2043(0x26f)]==_0x1e2043(0x15d)&&_0x4c46f8[_0x1e2043(0x26f)]>_0x5a3dd1[_0x1e2043(0x1e7)])||typeof _0x4c46f8[_0x1e2043(0x290)]=='number'&&!_0x5a3dd1['client_max_window_bits']));if(!_0x2b5782)throw new Error(_0x1e2043(0x2c4));return _0x4c46f8[_0x1e2043(0x22e)]&&(_0x2b5782['server_no_context_takeover']=!0x0),_0x4c46f8['clientNoContextTakeover']&&(_0x2b5782['client_no_context_takeover']=!0x0),typeof _0x4c46f8[_0x1e2043(0x26f)]==_0x1e2043(0x15d)&&(_0x2b5782[_0x1e2043(0x1e7)]=_0x4c46f8[_0x1e2043(0x26f)]),typeof _0x4c46f8[_0x1e2043(0x290)]==_0x1e2043(0x15d)?_0x2b5782['client_max_window_bits']=_0x4c46f8[_0x1e2043(0x290)]:(_0x2b5782['client_max_window_bits']===!0x0||_0x4c46f8[_0x1e2043(0x290)]===!0x1)&&delete _0x2b5782['client_max_window_bits'],_0x2b5782;}['acceptAsClient'](_0x5e6672){const _0x16478e=_0x2f6b44,_0x70aa39=_0x5e6672[0x0];if(this[_0x16478e(0x207)][_0x16478e(0x2fb)]===!0x1&&_0x70aa39[_0x16478e(0x2c5)])throw new Error(_0x16478e(0x24a));if(!_0x70aa39[_0x16478e(0x1b2)])typeof this['_options'][_0x16478e(0x290)]=='number'&&(_0x70aa39[_0x16478e(0x1b2)]=this[_0x16478e(0x207)][_0x16478e(0x290)]);else{if(this[_0x16478e(0x207)]['clientMaxWindowBits']===!0x1||typeof this[_0x16478e(0x207)][_0x16478e(0x290)]==_0x16478e(0x15d)&&_0x70aa39[_0x16478e(0x1b2)]>this[_0x16478e(0x207)]['clientMaxWindowBits'])throw new Error(_0x16478e(0x2fd));}return _0x70aa39;}[_0x2f6b44(0x272)](_0x34993d){const _0x19f4db=_0x2f6b44;return _0x34993d[_0x19f4db(0x28d)](_0x3055eb=>{const _0x27515=_0x19f4db;Object[_0x27515(0x2e4)](_0x3055eb)[_0x27515(0x28d)](_0x3d73f4=>{const _0x3d1baa=_0x27515;let _0x1bce18=_0x3055eb[_0x3d73f4];if(_0x1bce18['length']>0x1)throw new Error(_0x3d1baa(0x191)+_0x3d73f4+_0x3d1baa(0x1f2));if(_0x1bce18=_0x1bce18[0x0],_0x3d73f4===_0x3d1baa(0x1b2)){if(_0x1bce18!==!0x0){const _0x14c486=+_0x1bce18;if(!Number[_0x3d1baa(0x155)](_0x14c486)||_0x14c486<0x8||_0x14c486>0xf)throw new TypeError(_0x3d1baa(0x1e4)+_0x3d73f4+_0x3d1baa(0x180)+_0x1bce18);_0x1bce18=_0x14c486;}else{if(!this[_0x3d1baa(0x186)])throw new TypeError(_0x3d1baa(0x1e4)+_0x3d73f4+_0x3d1baa(0x180)+_0x1bce18);}}else{if(_0x3d73f4==='server_max_window_bits'){const _0xa2ba1a=+_0x1bce18;if(!Number['isInteger'](_0xa2ba1a)||_0xa2ba1a<0x8||_0xa2ba1a>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x3d73f4+_0x3d1baa(0x180)+_0x1bce18);_0x1bce18=_0xa2ba1a;}else{if(_0x3d73f4===_0x3d1baa(0x2c5)||_0x3d73f4===_0x3d1baa(0x2e2)){if(_0x1bce18!==!0x0)throw new TypeError(_0x3d1baa(0x1e4)+_0x3d73f4+_0x3d1baa(0x180)+_0x1bce18);}else throw new Error('Unknown\x20parameter\x20\x22'+_0x3d73f4+'\x22');}}_0x3055eb[_0x3d73f4]=_0x1bce18;});}),_0x34993d;}['decompress'](_0x2f2036,_0x1f5e94,_0x21b86c){const _0x3149d3=_0x2f6b44;_0x35536a[_0x3149d3(0x2a1)](_0x1c1d78=>{const _0x14c478=_0x3149d3;this[_0x14c478(0x17e)](_0x2f2036,_0x1f5e94,(_0x4ffdb1,_0x4983a1)=>{_0x1c1d78(),_0x21b86c(_0x4ffdb1,_0x4983a1);});});}[_0x2f6b44(0x172)](_0x16084d,_0xf1cf38,_0x120176){const _0x52836c=_0x2f6b44;_0x35536a[_0x52836c(0x2a1)](_0x31a506=>{const _0x2e5776=_0x52836c;this[_0x2e5776(0x199)](_0x16084d,_0xf1cf38,(_0x120bb6,_0x5a55b1)=>{_0x31a506(),_0x120176(_0x120bb6,_0x5a55b1);});});}[_0x2f6b44(0x17e)](_0x50fe74,_0x3b89e2,_0x503b07){const _0x1a6693=_0x2f6b44,_0x4341c7=this[_0x1a6693(0x186)]?_0x1a6693(0x258):_0x1a6693(0x269);if(!this[_0x1a6693(0x1c6)]){const _0x5df6fa=_0x4341c7+'_max_window_bits',_0x3b82f4=typeof this[_0x1a6693(0x19e)][_0x5df6fa]!=_0x1a6693(0x15d)?_0x31afc3[_0x1a6693(0x2d6)]:this[_0x1a6693(0x19e)][_0x5df6fa];this[_0x1a6693(0x1c6)]=_0x31afc3[_0x1a6693(0x23f)]({...this['_options'][_0x1a6693(0x256)],'windowBits':_0x3b82f4}),this[_0x1a6693(0x1c6)][_0x552c47]=this,this[_0x1a6693(0x1c6)][_0x5e96ee]=0x0,this[_0x1a6693(0x1c6)][_0x4159ef]=[],this[_0x1a6693(0x1c6)]['on'](_0x1a6693(0x2b1),_0x25d1ea),this[_0x1a6693(0x1c6)]['on'](_0x1a6693(0x1ef),_0x32e106);}this[_0x1a6693(0x1c6)][_0x4ed2e6]=_0x503b07,this[_0x1a6693(0x1c6)][_0x1a6693(0x2bd)](_0x50fe74),_0x3b89e2&&this['_inflate'][_0x1a6693(0x2bd)](_0x1d8197),this['_inflate']['flush'](()=>{const _0x4564f5=_0x1a6693,_0x41aced=this[_0x4564f5(0x1c6)][_0xf1cb66];if(_0x41aced){this[_0x4564f5(0x1c6)][_0x4564f5(0x228)](),this[_0x4564f5(0x1c6)]=null,_0x503b07(_0x41aced);return;}const _0x3112e2=_0x2a6549[_0x4564f5(0x27e)](this[_0x4564f5(0x1c6)][_0x4159ef],this['_inflate'][_0x5e96ee]);this['_inflate'][_0x4564f5(0x282)][_0x4564f5(0x2d4)]?(this[_0x4564f5(0x1c6)][_0x4564f5(0x228)](),this[_0x4564f5(0x1c6)]=null):(this[_0x4564f5(0x1c6)][_0x5e96ee]=0x0,this[_0x4564f5(0x1c6)][_0x4159ef]=[],_0x3b89e2&&this[_0x4564f5(0x19e)][_0x4341c7+_0x4564f5(0x1b0)]&&this[_0x4564f5(0x1c6)]['reset']()),_0x503b07(null,_0x3112e2);});}[_0x2f6b44(0x199)](_0x126ceb,_0x11c04c,_0x524177){const _0x37ad98=_0x2f6b44,_0x83fecb=this['_isServer']?_0x37ad98(0x269):_0x37ad98(0x258);if(!this[_0x37ad98(0x1d9)]){const _0x1cf0d3=_0x83fecb+_0x37ad98(0x1e5),_0x13beae=typeof this[_0x37ad98(0x19e)][_0x1cf0d3]!='number'?_0x31afc3['Z_DEFAULT_WINDOWBITS']:this['params'][_0x1cf0d3];this[_0x37ad98(0x1d9)]=_0x31afc3['createDeflateRaw']({...this[_0x37ad98(0x207)][_0x37ad98(0x247)],'windowBits':_0x13beae}),this[_0x37ad98(0x1d9)][_0x5e96ee]=0x0,this[_0x37ad98(0x1d9)][_0x4159ef]=[],this['_deflate']['on']('data',_0x512cbc);}this[_0x37ad98(0x1d9)][_0x4ed2e6]=_0x524177,this[_0x37ad98(0x1d9)][_0x37ad98(0x2bd)](_0x126ceb),this[_0x37ad98(0x1d9)]['flush'](_0x31afc3[_0x37ad98(0x1dc)],()=>{const _0x49bbfe=_0x37ad98;if(!this[_0x49bbfe(0x1d9)])return;let _0x14e022=_0x2a6549[_0x49bbfe(0x27e)](this[_0x49bbfe(0x1d9)][_0x4159ef],this[_0x49bbfe(0x1d9)][_0x5e96ee]);_0x11c04c&&(_0x14e022=new _0x707385(_0x14e022[_0x49bbfe(0x1cc)],_0x14e022[_0x49bbfe(0x1f7)],_0x14e022[_0x49bbfe(0x208)]-0x4)),this[_0x49bbfe(0x1d9)][_0x4ed2e6]=null,this['_deflate'][_0x5e96ee]=0x0,this['_deflate'][_0x4159ef]=[],_0x11c04c&&this[_0x49bbfe(0x19e)][_0x83fecb+_0x49bbfe(0x1b0)]&&this[_0x49bbfe(0x1d9)][_0x49bbfe(0x1bf)](),_0x524177(null,_0x14e022);});}}ve=_0x2caf93;function _0x512cbc(_0x20e61a){const _0x4e9afb=_0x2f6b44;this[_0x4159ef][_0x4e9afb(0x197)](_0x20e61a),this[_0x5e96ee]+=_0x20e61a['length'];}function _0x32e106(_0x53a48c){const _0x53c4bf=_0x2f6b44;if(this[_0x5e96ee]+=_0x53a48c[_0x53c4bf(0x208)],this[_0x552c47][_0x53c4bf(0x2d3)]<0x1||this[_0x5e96ee]<=this[_0x552c47]['_maxPayload']){this[_0x4159ef]['push'](_0x53a48c);return;}this[_0xf1cb66]=new RangeError(_0x53c4bf(0x25c)),this[_0xf1cb66]['code']=_0x53c4bf(0x2ca),this[_0xf1cb66][_0x3fc943]=0x3f1,this[_0x53c4bf(0x2cc)]('data',_0x32e106),this[_0x53c4bf(0x1bf)]();}function _0x25d1ea(_0x5c44ce){const _0x30e7f4=_0x2f6b44;this[_0x552c47][_0x30e7f4(0x1c6)]=null,_0x5c44ce[_0x3fc943]=0x3ef,this[_0x4ed2e6](_0x5c44ce);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x428a1f(0x232)](Object[_0x428a1f(0x279)]({'__proto__':null,'default':Ht},Symbol['toStringTag'],{'value':_0x428a1f(0x24d)})),Yt=ut(zt);var Qe;function ne(){const _0x3b1a3b=_0x428a1f;if(Qe)return re[_0x3b1a3b(0x1fb)];Qe=0x1;const {isUtf8:_0x2df6cb}=_0x2b076d,{hasBlob:_0x1e1a21}=V(),_0x85e8c5=[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 _0x1c03e8(_0x396975){return _0x396975>=0x3e8&&_0x396975<=0x3f6&&_0x396975!==0x3ec&&_0x396975!==0x3ed&&_0x396975!==0x3ee||_0x396975>=0xbb8&&_0x396975<=0x1387;}function _0x17bc92(_0x39fa97){const _0x368956=_0x3b1a3b,_0x50020d=_0x39fa97[_0x368956(0x208)];let _0x535c6c=0x0;for(;_0x535c6c<_0x50020d;)if((_0x39fa97[_0x535c6c]&0x80)===0x0)_0x535c6c++;else{if((_0x39fa97[_0x535c6c]&0xe0)===0xc0){if(_0x535c6c+0x1===_0x50020d||(_0x39fa97[_0x535c6c+0x1]&0xc0)!==0x80||(_0x39fa97[_0x535c6c]&0xfe)===0xc0)return!0x1;_0x535c6c+=0x2;}else{if((_0x39fa97[_0x535c6c]&0xf0)===0xe0){if(_0x535c6c+0x2>=_0x50020d||(_0x39fa97[_0x535c6c+0x1]&0xc0)!==0x80||(_0x39fa97[_0x535c6c+0x2]&0xc0)!==0x80||_0x39fa97[_0x535c6c]===0xe0&&(_0x39fa97[_0x535c6c+0x1]&0xe0)===0x80||_0x39fa97[_0x535c6c]===0xed&&(_0x39fa97[_0x535c6c+0x1]&0xe0)===0xa0)return!0x1;_0x535c6c+=0x3;}else{if((_0x39fa97[_0x535c6c]&0xf8)===0xf0){if(_0x535c6c+0x3>=_0x50020d||(_0x39fa97[_0x535c6c+0x1]&0xc0)!==0x80||(_0x39fa97[_0x535c6c+0x2]&0xc0)!==0x80||(_0x39fa97[_0x535c6c+0x3]&0xc0)!==0x80||_0x39fa97[_0x535c6c]===0xf0&&(_0x39fa97[_0x535c6c+0x1]&0xf0)===0x80||_0x39fa97[_0x535c6c]===0xf4&&_0x39fa97[_0x535c6c+0x1]>0x8f||_0x39fa97[_0x535c6c]>0xf4)return!0x1;_0x535c6c+=0x4;}else return!0x1;}}}return!0x0;}function _0x5b6249(_0xc703d7){const _0x2eb6d5=_0x3b1a3b;return _0x1e1a21&&typeof _0xc703d7=='object'&&typeof _0xc703d7[_0x2eb6d5(0x157)]=='function'&&typeof _0xc703d7[_0x2eb6d5(0x203)]=='string'&&typeof _0xc703d7[_0x2eb6d5(0x148)]=='function'&&(_0xc703d7[Symbol['toStringTag']]==='Blob'||_0xc703d7[Symbol['toStringTag']]==='File');}if(re[_0x3b1a3b(0x1fb)]={'isBlob':_0x5b6249,'isValidStatusCode':_0x1c03e8,'isValidUTF8':_0x17bc92,'tokenChars':_0x85e8c5},_0x2df6cb)re['exports'][_0x3b1a3b(0x2a8)]=function(_0x4608ae){const _0x15fce2=_0x3b1a3b;return _0x4608ae[_0x15fce2(0x208)]<0x18?_0x17bc92(_0x4608ae):_0x2df6cb(_0x4608ae);};else{if(!process[_0x3b1a3b(0x2b9)][_0x3b1a3b(0x1bb)])try{const _0x273490=Yt;re[_0x3b1a3b(0x1fb)][_0x3b1a3b(0x2a8)]=function(_0x535046){return _0x535046['length']<0x20?_0x17bc92(_0x535046):_0x273490(_0x535046);};}catch{}}return re['exports'];}var Se,Je;function dt(){const _0x5aec0b=_0x428a1f;if(Je)return Se;Je=0x1;const {Writable:_0x2e8d8d}=_0x2440cb,_0x38a6ce=he(),{BINARY_TYPES:_0x3ade00,EMPTY_BUFFER:_0x27fa80,kStatusCode:_0x2aa97e,kWebSocket:_0xb312cd}=V(),{concat:_0x3cf5b7,toArrayBuffer:_0x4edf77,unmask:_0x2376ba}=ce(),{isValidStatusCode:_0x27bc14,isValidUTF8:_0x1bf91d}=ne(),_0x47a829=Buffer[Symbol[_0x5aec0b(0x26d)]],_0x4c5775=0x0,_0x585ecb=0x1,_0x25c98e=0x2,_0x4c5297=0x3,_0xb51c1d=0x4,_0x5b54e2=0x5,_0x30dbd8=0x6;class _0x2a7f1e extends _0x2e8d8d{constructor(_0x4b9886={}){const _0x22e4f8=_0x5aec0b;super(),this[_0x22e4f8(0x26b)]=_0x4b9886['allowSynchronousEvents']!==void 0x0?_0x4b9886[_0x22e4f8(0x149)]:!0x0,this['_binaryType']=_0x4b9886['binaryType']||_0x3ade00[0x0],this[_0x22e4f8(0x17d)]=_0x4b9886[_0x22e4f8(0x1bd)]||{},this[_0x22e4f8(0x186)]=!!_0x4b9886['isServer'],this[_0x22e4f8(0x2d3)]=_0x4b9886[_0x22e4f8(0x2d1)]|0x0,this[_0x22e4f8(0x1cf)]=!!_0x4b9886[_0x22e4f8(0x2e6)],this[_0xb312cd]=void 0x0,this[_0x22e4f8(0x2b0)]=0x0,this[_0x22e4f8(0x1e9)]=[],this[_0x22e4f8(0x2c7)]=!0x1,this[_0x22e4f8(0x167)]=0x0,this[_0x22e4f8(0x216)]=void 0x0,this[_0x22e4f8(0x15e)]=0x0,this[_0x22e4f8(0x161)]=!0x1,this[_0x22e4f8(0x183)]=!0x1,this[_0x22e4f8(0x20b)]=0x0,this['_totalPayloadLength']=0x0,this[_0x22e4f8(0x217)]=0x0,this[_0x22e4f8(0x1af)]=[],this['_errored']=!0x1,this[_0x22e4f8(0x1eb)]=!0x1,this[_0x22e4f8(0x243)]=_0x4c5775;}['_write'](_0x218b7f,_0x18213a,_0x56d4ab){const _0x57ef42=_0x5aec0b;if(this[_0x57ef42(0x20b)]===0x8&&this[_0x57ef42(0x243)]==_0x4c5775)return _0x56d4ab();this['_bufferedBytes']+=_0x218b7f[_0x57ef42(0x208)],this['_buffers'][_0x57ef42(0x197)](_0x218b7f),this[_0x57ef42(0x2d9)](_0x56d4ab);}[_0x5aec0b(0x2b4)](_0x51ce37){const _0x2e6b49=_0x5aec0b;if(this['_bufferedBytes']-=_0x51ce37,_0x51ce37===this['_buffers'][0x0][_0x2e6b49(0x208)])return this['_buffers'][_0x2e6b49(0x1cb)]();if(_0x51ce37<this[_0x2e6b49(0x1e9)][0x0][_0x2e6b49(0x208)]){const _0x4f32b2=this[_0x2e6b49(0x1e9)][0x0];return this[_0x2e6b49(0x1e9)][0x0]=new _0x47a829(_0x4f32b2[_0x2e6b49(0x1cc)],_0x4f32b2[_0x2e6b49(0x1f7)]+_0x51ce37,_0x4f32b2['length']-_0x51ce37),new _0x47a829(_0x4f32b2[_0x2e6b49(0x1cc)],_0x4f32b2[_0x2e6b49(0x1f7)],_0x51ce37);}const _0x4dd92b=Buffer[_0x2e6b49(0x1f3)](_0x51ce37);do{const _0x4b14ee=this[_0x2e6b49(0x1e9)][0x0],_0xc2fa0f=_0x4dd92b[_0x2e6b49(0x208)]-_0x51ce37;_0x51ce37>=_0x4b14ee[_0x2e6b49(0x208)]?_0x4dd92b[_0x2e6b49(0x1a4)](this['_buffers']['shift'](),_0xc2fa0f):(_0x4dd92b[_0x2e6b49(0x1a4)](new Uint8Array(_0x4b14ee[_0x2e6b49(0x1cc)],_0x4b14ee[_0x2e6b49(0x1f7)],_0x51ce37),_0xc2fa0f),this['_buffers'][0x0]=new _0x47a829(_0x4b14ee['buffer'],_0x4b14ee[_0x2e6b49(0x1f7)]+_0x51ce37,_0x4b14ee[_0x2e6b49(0x208)]-_0x51ce37)),_0x51ce37-=_0x4b14ee[_0x2e6b49(0x208)];}while(_0x51ce37>0x0);return _0x4dd92b;}[_0x5aec0b(0x2d9)](_0x45f57d){const _0x2aa5e8=_0x5aec0b;this['_loop']=!0x0;do switch(this[_0x2aa5e8(0x243)]){case _0x4c5775:this[_0x2aa5e8(0x227)](_0x45f57d);break;case _0x585ecb:this[_0x2aa5e8(0x2a9)](_0x45f57d);break;case _0x25c98e:this[_0x2aa5e8(0x20f)](_0x45f57d);break;case _0x4c5297:this['getMask']();break;case _0xb51c1d:this[_0x2aa5e8(0x2f8)](_0x45f57d);break;case _0x5b54e2:case _0x30dbd8:this['_loop']=!0x1;return;}while(this[_0x2aa5e8(0x1eb)]);this[_0x2aa5e8(0x233)]||_0x45f57d();}[_0x5aec0b(0x227)](_0x38bf25){const _0x9a2c17=_0x5aec0b;if(this[_0x9a2c17(0x2b0)]<0x2){this[_0x9a2c17(0x1eb)]=!0x1;return;}const _0x1f2ba6=this['consume'](0x2);if((_0x1f2ba6[0x0]&0x30)!==0x0){const _0x150fee=this[_0x9a2c17(0x25f)](RangeError,'RSV2\x20and\x20RSV3\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0x38bf25(_0x150fee);return;}const _0x3172bc=(_0x1f2ba6[0x0]&0x40)===0x40;if(_0x3172bc&&!this['_extensions'][_0x38a6ce[_0x9a2c17(0x28c)]]){const _0x20c56f=this['createError'](RangeError,_0x9a2c17(0x220),!0x0,0x3ea,_0x9a2c17(0x1ba));_0x38bf25(_0x20c56f);return;}if(this[_0x9a2c17(0x183)]=(_0x1f2ba6[0x0]&0x80)===0x80,this[_0x9a2c17(0x20b)]=_0x1f2ba6[0x0]&0xf,this['_payloadLength']=_0x1f2ba6[0x1]&0x7f,this[_0x9a2c17(0x20b)]===0x0){if(_0x3172bc){const _0x4b74a4=this['createError'](RangeError,_0x9a2c17(0x220),!0x0,0x3ea,_0x9a2c17(0x1ba));_0x38bf25(_0x4b74a4);return;}if(!this[_0x9a2c17(0x15e)]){const _0x28f60d=this[_0x9a2c17(0x25f)](RangeError,_0x9a2c17(0x2f9),!0x0,0x3ea,_0x9a2c17(0x1d2));_0x38bf25(_0x28f60d);return;}this[_0x9a2c17(0x20b)]=this['_fragmented'];}else{if(this['_opcode']===0x1||this['_opcode']===0x2){if(this[_0x9a2c17(0x15e)]){const _0x213d64=this[_0x9a2c17(0x25f)](RangeError,'invalid\x20opcode\x20'+this['_opcode'],!0x0,0x3ea,_0x9a2c17(0x1d2));_0x38bf25(_0x213d64);return;}this['_compressed']=_0x3172bc;}else{if(this[_0x9a2c17(0x20b)]>0x7&&this[_0x9a2c17(0x20b)]<0xb){if(!this[_0x9a2c17(0x183)]){const _0x470806=this['createError'](RangeError,_0x9a2c17(0x266),!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0x38bf25(_0x470806);return;}if(_0x3172bc){const _0x10954d=this['createError'](RangeError,_0x9a2c17(0x220),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x38bf25(_0x10954d);return;}if(this[_0x9a2c17(0x167)]>0x7d||this['_opcode']===0x8&&this[_0x9a2c17(0x167)]===0x1){const _0x1028be=this[_0x9a2c17(0x25f)](RangeError,_0x9a2c17(0x244)+this[_0x9a2c17(0x167)],!0x0,0x3ea,'WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH');_0x38bf25(_0x1028be);return;}}else{const _0x28669c=this['createError'](RangeError,_0x9a2c17(0x2b7)+this[_0x9a2c17(0x20b)],!0x0,0x3ea,_0x9a2c17(0x1d2));_0x38bf25(_0x28669c);return;}}}if(!this[_0x9a2c17(0x183)]&&!this[_0x9a2c17(0x15e)]&&(this[_0x9a2c17(0x15e)]=this['_opcode']),this[_0x9a2c17(0x161)]=(_0x1f2ba6[0x1]&0x80)===0x80,this['_isServer']){if(!this[_0x9a2c17(0x161)]){const _0x1d6904=this['createError'](RangeError,_0x9a2c17(0x218),!0x0,0x3ea,_0x9a2c17(0x169));_0x38bf25(_0x1d6904);return;}}else{if(this[_0x9a2c17(0x161)]){const _0x5d91ec=this[_0x9a2c17(0x25f)](RangeError,'MASK\x20must\x20be\x20clear',!0x0,0x3ea,_0x9a2c17(0x2ff));_0x38bf25(_0x5d91ec);return;}}this[_0x9a2c17(0x167)]===0x7e?this[_0x9a2c17(0x243)]=_0x585ecb:this[_0x9a2c17(0x167)]===0x7f?this[_0x9a2c17(0x243)]=_0x25c98e:this[_0x9a2c17(0x283)](_0x38bf25);}[_0x5aec0b(0x2a9)](_0x32494b){const _0x58b9b9=_0x5aec0b;if(this['_bufferedBytes']<0x2){this['_loop']=!0x1;return;}this[_0x58b9b9(0x167)]=this[_0x58b9b9(0x2b4)](0x2)[_0x58b9b9(0x2fc)](0x0),this[_0x58b9b9(0x283)](_0x32494b);}['getPayloadLength64'](_0x4e6001){const _0x4feff0=_0x5aec0b;if(this[_0x4feff0(0x2b0)]<0x8){this[_0x4feff0(0x1eb)]=!0x1;return;}const _0x297c12=this[_0x4feff0(0x2b4)](0x8),_0x22d8a4=_0x297c12[_0x4feff0(0x168)](0x0);if(_0x22d8a4>Math[_0x4feff0(0x281)](0x2,0x15)-0x1){const _0xf501cd=this[_0x4feff0(0x25f)](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,_0x4feff0(0x1a2));_0x4e6001(_0xf501cd);return;}this[_0x4feff0(0x167)]=_0x22d8a4*Math[_0x4feff0(0x281)](0x2,0x20)+_0x297c12[_0x4feff0(0x168)](0x4),this[_0x4feff0(0x283)](_0x4e6001);}[_0x5aec0b(0x283)](_0x152ea9){const _0x30b2a3=_0x5aec0b;if(this[_0x30b2a3(0x167)]&&this[_0x30b2a3(0x20b)]<0x8&&(this[_0x30b2a3(0x201)]+=this[_0x30b2a3(0x167)],this[_0x30b2a3(0x201)]>this['_maxPayload']&&this[_0x30b2a3(0x2d3)]>0x0)){const _0xc10141=this['createError'](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x152ea9(_0xc10141);return;}this[_0x30b2a3(0x161)]?this['_state']=_0x4c5297:this[_0x30b2a3(0x243)]=_0xb51c1d;}[_0x5aec0b(0x1ae)](){const _0x55de13=_0x5aec0b;if(this[_0x55de13(0x2b0)]<0x4){this[_0x55de13(0x1eb)]=!0x1;return;}this[_0x55de13(0x216)]=this['consume'](0x4),this[_0x55de13(0x243)]=_0xb51c1d;}[_0x5aec0b(0x2f8)](_0x4652da){const _0x35130e=_0x5aec0b;let _0x76f56c=_0x27fa80;if(this[_0x35130e(0x167)]){if(this[_0x35130e(0x2b0)]<this[_0x35130e(0x167)]){this[_0x35130e(0x1eb)]=!0x1;return;}_0x76f56c=this[_0x35130e(0x2b4)](this[_0x35130e(0x167)]),this[_0x35130e(0x161)]&&(this[_0x35130e(0x216)][0x0]|this['_mask'][0x1]|this[_0x35130e(0x216)][0x2]|this['_mask'][0x3])!==0x0&&_0x2376ba(_0x76f56c,this[_0x35130e(0x216)]);}if(this[_0x35130e(0x20b)]>0x7){this[_0x35130e(0x1fe)](_0x76f56c,_0x4652da);return;}if(this[_0x35130e(0x2c7)]){this[_0x35130e(0x243)]=_0x5b54e2,this[_0x35130e(0x18c)](_0x76f56c,_0x4652da);return;}_0x76f56c['length']&&(this['_messageLength']=this[_0x35130e(0x201)],this[_0x35130e(0x1af)]['push'](_0x76f56c)),this['dataMessage'](_0x4652da);}[_0x5aec0b(0x18c)](_0x3e988b,_0xc4ec18){const _0x4c02ab=_0x5aec0b;this['_extensions'][_0x38a6ce[_0x4c02ab(0x28c)]]['decompress'](_0x3e988b,this[_0x4c02ab(0x183)],(_0x1e9a05,_0x4ba112)=>{const _0x148326=_0x4c02ab;if(_0x1e9a05)return _0xc4ec18(_0x1e9a05);if(_0x4ba112[_0x148326(0x208)]){if(this[_0x148326(0x217)]+=_0x4ba112[_0x148326(0x208)],this[_0x148326(0x217)]>this['_maxPayload']&&this[_0x148326(0x2d3)]>0x0){const _0x52fe88=this[_0x148326(0x25f)](RangeError,_0x148326(0x25c),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0xc4ec18(_0x52fe88);return;}this[_0x148326(0x1af)]['push'](_0x4ba112);}this[_0x148326(0x1c7)](_0xc4ec18),this['_state']===_0x4c5775&&this[_0x148326(0x2d9)](_0xc4ec18);});}[_0x5aec0b(0x1c7)](_0x2fe41c){const _0x3a7ee9=_0x5aec0b;if(!this[_0x3a7ee9(0x183)]){this['_state']=_0x4c5775;return;}const _0x70c0f1=this[_0x3a7ee9(0x217)],_0x5dbda0=this[_0x3a7ee9(0x1af)];if(this[_0x3a7ee9(0x201)]=0x0,this[_0x3a7ee9(0x217)]=0x0,this['_fragmented']=0x0,this[_0x3a7ee9(0x1af)]=[],this[_0x3a7ee9(0x20b)]===0x2){let _0x2622ad;this[_0x3a7ee9(0x215)]==='nodebuffer'?_0x2622ad=_0x3cf5b7(_0x5dbda0,_0x70c0f1):this['_binaryType']===_0x3a7ee9(0x152)?_0x2622ad=_0x4edf77(_0x3cf5b7(_0x5dbda0,_0x70c0f1)):this[_0x3a7ee9(0x215)]===_0x3a7ee9(0x193)?_0x2622ad=new Blob(_0x5dbda0):_0x2622ad=_0x5dbda0,this[_0x3a7ee9(0x26b)]?(this['emit'](_0x3a7ee9(0x219),_0x2622ad,!0x0),this[_0x3a7ee9(0x243)]=_0x4c5775):(this[_0x3a7ee9(0x243)]=_0x30dbd8,setImmediate(()=>{const _0x1630b9=_0x3a7ee9;this[_0x1630b9(0x173)](_0x1630b9(0x219),_0x2622ad,!0x0),this[_0x1630b9(0x243)]=_0x4c5775,this[_0x1630b9(0x2d9)](_0x2fe41c);}));}else{const _0x4a6256=_0x3cf5b7(_0x5dbda0,_0x70c0f1);if(!this[_0x3a7ee9(0x1cf)]&&!_0x1bf91d(_0x4a6256)){const _0x37ae5b=this[_0x3a7ee9(0x25f)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x2fe41c(_0x37ae5b);return;}this[_0x3a7ee9(0x243)]===_0x5b54e2||this[_0x3a7ee9(0x26b)]?(this[_0x3a7ee9(0x173)](_0x3a7ee9(0x219),_0x4a6256,!0x1),this[_0x3a7ee9(0x243)]=_0x4c5775):(this[_0x3a7ee9(0x243)]=_0x30dbd8,setImmediate(()=>{const _0x46b8b1=_0x3a7ee9;this['emit'](_0x46b8b1(0x219),_0x4a6256,!0x1),this['_state']=_0x4c5775,this[_0x46b8b1(0x2d9)](_0x2fe41c);}));}}[_0x5aec0b(0x1fe)](_0xc0a0dc,_0x577917){const _0x1b29a1=_0x5aec0b;if(this[_0x1b29a1(0x20b)]===0x8){if(_0xc0a0dc[_0x1b29a1(0x208)]===0x0)this[_0x1b29a1(0x1eb)]=!0x1,this[_0x1b29a1(0x173)](_0x1b29a1(0x17a),0x3ed,_0x27fa80),this[_0x1b29a1(0x194)]();else{const _0x272627=_0xc0a0dc[_0x1b29a1(0x2fc)](0x0);if(!_0x27bc14(_0x272627)){const _0x3647c9=this[_0x1b29a1(0x25f)](RangeError,_0x1b29a1(0x277)+_0x272627,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0x577917(_0x3647c9);return;}const _0xbe8f03=new _0x47a829(_0xc0a0dc['buffer'],_0xc0a0dc[_0x1b29a1(0x1f7)]+0x2,_0xc0a0dc[_0x1b29a1(0x208)]-0x2);if(!this[_0x1b29a1(0x1cf)]&&!_0x1bf91d(_0xbe8f03)){const _0x4478f6=this[_0x1b29a1(0x25f)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x1b29a1(0x2ac));_0x577917(_0x4478f6);return;}this['_loop']=!0x1,this[_0x1b29a1(0x173)](_0x1b29a1(0x17a),_0x272627,_0xbe8f03),this[_0x1b29a1(0x194)]();}this[_0x1b29a1(0x243)]=_0x4c5775;return;}this['_allowSynchronousEvents']?(this[_0x1b29a1(0x173)](this[_0x1b29a1(0x20b)]===0x9?_0x1b29a1(0x225):'pong',_0xc0a0dc),this[_0x1b29a1(0x243)]=_0x4c5775):(this[_0x1b29a1(0x243)]=_0x30dbd8,setImmediate(()=>{const _0x260b6d=_0x1b29a1;this[_0x260b6d(0x173)](this[_0x260b6d(0x20b)]===0x9?_0x260b6d(0x225):'pong',_0xc0a0dc),this[_0x260b6d(0x243)]=_0x4c5775,this[_0x260b6d(0x2d9)](_0x577917);}));}[_0x5aec0b(0x25f)](_0x3deefb,_0x4d4244,_0x3b06ff,_0xfd8983,_0x48fbb5){const _0x5b2251=_0x5aec0b;this['_loop']=!0x1,this['_errored']=!0x0;const _0x135c05=new _0x3deefb(_0x3b06ff?_0x5b2251(0x22f)+_0x4d4244:_0x4d4244);return Error[_0x5b2251(0x2ae)](_0x135c05,this[_0x5b2251(0x25f)]),_0x135c05[_0x5b2251(0x181)]=_0x48fbb5,_0x135c05[_0x2aa97e]=_0xfd8983,_0x135c05;}}return Se=_0x2a7f1e,Se;}var Ee,et;function _t(){const _0x386a47=_0x428a1f;if(et)return Ee;et=0x1;const {Duplex:_0x3dd261}=_0x2440cb,{randomFillSync:_0x2238e2}=_0x29696a,_0x3c17e7=he(),{EMPTY_BUFFER:_0x4a8b60,kWebSocket:_0x216df8,NOOP:_0x5e5ea1}=V(),{isBlob:_0x59e5d6,isValidStatusCode:_0x263336}=ne(),{mask:_0x51d230,toBuffer:_0x1e6165}=ce(),_0x5c298b=Symbol('kByteLength'),_0x40e2c4=Buffer['alloc'](0x4),_0x211f1c=0x8*0x400;let _0x47db42,_0xb18533=_0x211f1c;const _0x46528b=0x0,_0x3e4544=0x1,_0xb47605=0x2;class _0x5e0526{constructor(_0x3487c2,_0x2b765f,_0x1d58fd){const _0x362127=_0x40b5;this[_0x362127(0x17d)]=_0x2b765f||{},_0x1d58fd&&(this[_0x362127(0x2db)]=_0x1d58fd,this[_0x362127(0x1d7)]=Buffer[_0x362127(0x29f)](0x4)),this[_0x362127(0x2a5)]=_0x3487c2,this['_firstFragment']=!0x0,this[_0x362127(0x199)]=!0x1,this[_0x362127(0x2b0)]=0x0,this[_0x362127(0x19b)]=[],this[_0x362127(0x243)]=_0x46528b,this[_0x362127(0x1f0)]=_0x5e5ea1,this[_0x216df8]=void 0x0;}static[_0x386a47(0x1ec)](_0x158a88,_0x62140f){const _0x4152ce=_0x386a47;let _0x3c9bf3,_0x21fc25=!0x1,_0x111c9f=0x2,_0x2cf609=!0x1;_0x62140f[_0x4152ce(0x189)]&&(_0x3c9bf3=_0x62140f[_0x4152ce(0x15a)]||_0x40e2c4,_0x62140f[_0x4152ce(0x2e1)]?_0x62140f[_0x4152ce(0x2e1)](_0x3c9bf3):(_0xb18533===_0x211f1c&&(_0x47db42===void 0x0&&(_0x47db42=Buffer[_0x4152ce(0x29f)](_0x211f1c)),_0x2238e2(_0x47db42,0x0,_0x211f1c),_0xb18533=0x0),_0x3c9bf3[0x0]=_0x47db42[_0xb18533++],_0x3c9bf3[0x1]=_0x47db42[_0xb18533++],_0x3c9bf3[0x2]=_0x47db42[_0xb18533++],_0x3c9bf3[0x3]=_0x47db42[_0xb18533++]),_0x2cf609=(_0x3c9bf3[0x0]|_0x3c9bf3[0x1]|_0x3c9bf3[0x2]|_0x3c9bf3[0x3])===0x0,_0x111c9f=0x6);let _0xfb636c;typeof _0x158a88==_0x4152ce(0x1ff)?(!_0x62140f[_0x4152ce(0x189)]||_0x2cf609)&&_0x62140f[_0x5c298b]!==void 0x0?_0xfb636c=_0x62140f[_0x5c298b]:(_0x158a88=Buffer[_0x4152ce(0x170)](_0x158a88),_0xfb636c=_0x158a88[_0x4152ce(0x208)]):(_0xfb636c=_0x158a88[_0x4152ce(0x208)],_0x21fc25=_0x62140f[_0x4152ce(0x189)]&&_0x62140f[_0x4152ce(0x1cd)]&&!_0x2cf609);let _0xd96f7b=_0xfb636c;_0xfb636c>=0x10000?(_0x111c9f+=0x8,_0xd96f7b=0x7f):_0xfb636c>0x7d&&(_0x111c9f+=0x2,_0xd96f7b=0x7e);const _0x41e0a6=Buffer[_0x4152ce(0x1f3)](_0x21fc25?_0xfb636c+_0x111c9f:_0x111c9f);return _0x41e0a6[0x0]=_0x62140f[_0x4152ce(0x27b)]?_0x62140f[_0x4152ce(0x1d8)]|0x80:_0x62140f[_0x4152ce(0x1d8)],_0x62140f[_0x4152ce(0x2c9)]&&(_0x41e0a6[0x0]|=0x40),_0x41e0a6[0x1]=_0xd96f7b,_0xd96f7b===0x7e?_0x41e0a6[_0x4152ce(0x2dc)](_0xfb636c,0x2):_0xd96f7b===0x7f&&(_0x41e0a6[0x2]=_0x41e0a6[0x3]=0x0,_0x41e0a6[_0x4152ce(0x26e)](_0xfb636c,0x4,0x6)),_0x62140f[_0x4152ce(0x189)]?(_0x41e0a6[0x1]|=0x80,_0x41e0a6[_0x111c9f-0x4]=_0x3c9bf3[0x0],_0x41e0a6[_0x111c9f-0x3]=_0x3c9bf3[0x1],_0x41e0a6[_0x111c9f-0x2]=_0x3c9bf3[0x2],_0x41e0a6[_0x111c9f-0x1]=_0x3c9bf3[0x3],_0x2cf609?[_0x41e0a6,_0x158a88]:_0x21fc25?(_0x51d230(_0x158a88,_0x3c9bf3,_0x41e0a6,_0x111c9f,_0xfb636c),[_0x41e0a6]):(_0x51d230(_0x158a88,_0x3c9bf3,_0x158a88,0x0,_0xfb636c),[_0x41e0a6,_0x158a88])):[_0x41e0a6,_0x158a88];}[_0x386a47(0x228)](_0x5621bf,_0x1ee799,_0x9aaa5d,_0xd8e0e2){const _0x3e6263=_0x386a47;let _0x4e3c02;if(_0x5621bf===void 0x0)_0x4e3c02=_0x4a8b60;else{if(typeof _0x5621bf!='number'||!_0x263336(_0x5621bf))throw new TypeError('First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number');if(_0x1ee799===void 0x0||!_0x1ee799[_0x3e6263(0x208)])_0x4e3c02=Buffer[_0x3e6263(0x1f3)](0x2),_0x4e3c02[_0x3e6263(0x2dc)](_0x5621bf,0x0);else{const _0x254eab=Buffer[_0x3e6263(0x298)](_0x1ee799);if(_0x254eab>0x7b)throw new RangeError(_0x3e6263(0x25d));_0x4e3c02=Buffer['allocUnsafe'](0x2+_0x254eab),_0x4e3c02[_0x3e6263(0x2dc)](_0x5621bf,0x0),typeof _0x1ee799==_0x3e6263(0x1ff)?_0x4e3c02[_0x3e6263(0x2bd)](_0x1ee799,0x2):_0x4e3c02[_0x3e6263(0x1a4)](_0x1ee799,0x2);}}const _0x2b8cba={[_0x5c298b]:_0x4e3c02[_0x3e6263(0x208)],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x9aaa5d,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this['_state']!==_0x46528b?this[_0x3e6263(0x260)]([this[_0x3e6263(0x14f)],_0x4e3c02,!0x1,_0x2b8cba,_0xd8e0e2]):this[_0x3e6263(0x22c)](_0x5e0526[_0x3e6263(0x1ec)](_0x4e3c02,_0x2b8cba),_0xd8e0e2);}['ping'](_0x2c584b,_0x534598,_0xc3f295){const _0x36000c=_0x386a47;let _0x2282ca,_0x29093f;if(typeof _0x2c584b==_0x36000c(0x1ff)?(_0x2282ca=Buffer['byteLength'](_0x2c584b),_0x29093f=!0x1):_0x59e5d6(_0x2c584b)?(_0x2282ca=_0x2c584b[_0x36000c(0x229)],_0x29093f=!0x1):(_0x2c584b=_0x1e6165(_0x2c584b),_0x2282ca=_0x2c584b[_0x36000c(0x208)],_0x29093f=_0x1e6165[_0x36000c(0x1cd)]),_0x2282ca>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x5759c8={[_0x5c298b]:_0x2282ca,'fin':!0x0,'generateMask':this[_0x36000c(0x2db)],'mask':_0x534598,'maskBuffer':this[_0x36000c(0x1d7)],'opcode':0x9,'readOnly':_0x29093f,'rsv1':!0x1};_0x59e5d6(_0x2c584b)?this[_0x36000c(0x243)]!==_0x46528b?this[_0x36000c(0x260)]([this[_0x36000c(0x29c)],_0x2c584b,!0x1,_0x5759c8,_0xc3f295]):this['getBlobData'](_0x2c584b,!0x1,_0x5759c8,_0xc3f295):this[_0x36000c(0x243)]!==_0x46528b?this[_0x36000c(0x260)]([this[_0x36000c(0x14f)],_0x2c584b,!0x1,_0x5759c8,_0xc3f295]):this[_0x36000c(0x22c)](_0x5e0526[_0x36000c(0x1ec)](_0x2c584b,_0x5759c8),_0xc3f295);}[_0x386a47(0x2a3)](_0x28542a,_0x52ea25,_0x6e149a){const _0x3853a2=_0x386a47;let _0x5d9ceb,_0xe7298a;if(typeof _0x28542a==_0x3853a2(0x1ff)?(_0x5d9ceb=Buffer[_0x3853a2(0x298)](_0x28542a),_0xe7298a=!0x1):_0x59e5d6(_0x28542a)?(_0x5d9ceb=_0x28542a[_0x3853a2(0x229)],_0xe7298a=!0x1):(_0x28542a=_0x1e6165(_0x28542a),_0x5d9ceb=_0x28542a['length'],_0xe7298a=_0x1e6165[_0x3853a2(0x1cd)]),_0x5d9ceb>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x23c8b9={[_0x5c298b]:_0x5d9ceb,'fin':!0x0,'generateMask':this[_0x3853a2(0x2db)],'mask':_0x52ea25,'maskBuffer':this[_0x3853a2(0x1d7)],'opcode':0xa,'readOnly':_0xe7298a,'rsv1':!0x1};_0x59e5d6(_0x28542a)?this[_0x3853a2(0x243)]!==_0x46528b?this[_0x3853a2(0x260)]([this[_0x3853a2(0x29c)],_0x28542a,!0x1,_0x23c8b9,_0x6e149a]):this[_0x3853a2(0x29c)](_0x28542a,!0x1,_0x23c8b9,_0x6e149a):this['_state']!==_0x46528b?this[_0x3853a2(0x260)]([this[_0x3853a2(0x14f)],_0x28542a,!0x1,_0x23c8b9,_0x6e149a]):this[_0x3853a2(0x22c)](_0x5e0526[_0x3853a2(0x1ec)](_0x28542a,_0x23c8b9),_0x6e149a);}['send'](_0x3c0d10,_0x4e4bd0,_0x19c75e){const _0x41c65f=_0x386a47,_0x13f626=this['_extensions'][_0x3c17e7[_0x41c65f(0x28c)]];let _0x1a95e8=_0x4e4bd0[_0x41c65f(0x21c)]?0x2:0x1,_0x19e756=_0x4e4bd0[_0x41c65f(0x172)],_0x4a8104,_0x57c502;typeof _0x3c0d10==_0x41c65f(0x1ff)?(_0x4a8104=Buffer['byteLength'](_0x3c0d10),_0x57c502=!0x1):_0x59e5d6(_0x3c0d10)?(_0x4a8104=_0x3c0d10[_0x41c65f(0x229)],_0x57c502=!0x1):(_0x3c0d10=_0x1e6165(_0x3c0d10),_0x4a8104=_0x3c0d10[_0x41c65f(0x208)],_0x57c502=_0x1e6165[_0x41c65f(0x1cd)]),this[_0x41c65f(0x198)]?(this[_0x41c65f(0x198)]=!0x1,_0x19e756&&_0x13f626&&_0x13f626[_0x41c65f(0x19e)][_0x13f626[_0x41c65f(0x186)]?_0x41c65f(0x2e2):'client_no_context_takeover']&&(_0x19e756=_0x4a8104>=_0x13f626[_0x41c65f(0x1df)]),this['_compress']=_0x19e756):(_0x19e756=!0x1,_0x1a95e8=0x0),_0x4e4bd0[_0x41c65f(0x27b)]&&(this['_firstFragment']=!0x0);const _0x3cf2fd={[_0x5c298b]:_0x4a8104,'fin':_0x4e4bd0[_0x41c65f(0x27b)],'generateMask':this[_0x41c65f(0x2db)],'mask':_0x4e4bd0[_0x41c65f(0x189)],'maskBuffer':this['_maskBuffer'],'opcode':_0x1a95e8,'readOnly':_0x57c502,'rsv1':_0x19e756};_0x59e5d6(_0x3c0d10)?this[_0x41c65f(0x243)]!==_0x46528b?this[_0x41c65f(0x260)]([this[_0x41c65f(0x29c)],_0x3c0d10,this['_compress'],_0x3cf2fd,_0x19c75e]):this[_0x41c65f(0x29c)](_0x3c0d10,this[_0x41c65f(0x199)],_0x3cf2fd,_0x19c75e):this[_0x41c65f(0x243)]!==_0x46528b?this[_0x41c65f(0x260)]([this['dispatch'],_0x3c0d10,this[_0x41c65f(0x199)],_0x3cf2fd,_0x19c75e]):this[_0x41c65f(0x14f)](_0x3c0d10,this[_0x41c65f(0x199)],_0x3cf2fd,_0x19c75e);}[_0x386a47(0x29c)](_0x1b2cec,_0x49aec5,_0x219a2e,_0x5d690d){const _0x3165c4=_0x386a47;this[_0x3165c4(0x2b0)]+=_0x219a2e[_0x5c298b],this['_state']=_0xb47605,_0x1b2cec[_0x3165c4(0x157)]()['then'](_0x2a0ad8=>{const _0x414cfa=_0x3165c4;if(this['_socket'][_0x414cfa(0x2ea)]){const _0x5eba75=new Error(_0x414cfa(0x2ce));process[_0x414cfa(0x18d)](_0x7c1a7b,this,_0x5eba75,_0x5d690d);return;}this[_0x414cfa(0x2b0)]-=_0x219a2e[_0x5c298b];const _0x283bfa=_0x1e6165(_0x2a0ad8);_0x49aec5?this[_0x414cfa(0x14f)](_0x283bfa,_0x49aec5,_0x219a2e,_0x5d690d):(this[_0x414cfa(0x243)]=_0x46528b,this[_0x414cfa(0x22c)](_0x5e0526[_0x414cfa(0x1ec)](_0x283bfa,_0x219a2e),_0x5d690d),this['dequeue']());})[_0x3165c4(0x23e)](_0x55b124=>{process['nextTick'](_0x1f6ca4,this,_0x55b124,_0x5d690d);});}[_0x386a47(0x14f)](_0x1ccd1f,_0x5d7bd8,_0x58abd0,_0x28c8e8){const _0x2553e0=_0x386a47;if(!_0x5d7bd8){this[_0x2553e0(0x22c)](_0x5e0526[_0x2553e0(0x1ec)](_0x1ccd1f,_0x58abd0),_0x28c8e8);return;}const _0x47f85e=this[_0x2553e0(0x17d)][_0x3c17e7['extensionName']];this['_bufferedBytes']+=_0x58abd0[_0x5c298b],this[_0x2553e0(0x243)]=_0x3e4544,_0x47f85e[_0x2553e0(0x172)](_0x1ccd1f,_0x58abd0[_0x2553e0(0x27b)],(_0x4d34b1,_0x1696d5)=>{const _0x208e7d=_0x2553e0;if(this[_0x208e7d(0x2a5)][_0x208e7d(0x2ea)]){const _0x4e531a=new Error(_0x208e7d(0x2d2));_0x7c1a7b(this,_0x4e531a,_0x28c8e8);return;}this['_bufferedBytes']-=_0x58abd0[_0x5c298b],this[_0x208e7d(0x243)]=_0x46528b,_0x58abd0['readOnly']=!0x1,this[_0x208e7d(0x22c)](_0x5e0526[_0x208e7d(0x1ec)](_0x1696d5,_0x58abd0),_0x28c8e8),this[_0x208e7d(0x1b4)]();});}[_0x386a47(0x1b4)](){const _0x2ed3fa=_0x386a47;for(;this[_0x2ed3fa(0x243)]===_0x46528b&&this['_queue']['length'];){const _0x5cec47=this['_queue'][_0x2ed3fa(0x1cb)]();this['_bufferedBytes']-=_0x5cec47[0x3][_0x5c298b],Reflect[_0x2ed3fa(0x16b)](_0x5cec47[0x0],this,_0x5cec47[_0x2ed3fa(0x22d)](0x1));}}[_0x386a47(0x260)](_0x474d92){const _0x16d713=_0x386a47;this[_0x16d713(0x2b0)]+=_0x474d92[0x3][_0x5c298b],this[_0x16d713(0x19b)]['push'](_0x474d92);}['sendFrame'](_0x525cec,_0x5f56a6){const _0x14e498=_0x386a47;_0x525cec[_0x14e498(0x208)]===0x2?(this['_socket']['cork'](),this['_socket'][_0x14e498(0x2bd)](_0x525cec[0x0]),this[_0x14e498(0x2a5)][_0x14e498(0x2bd)](_0x525cec[0x1],_0x5f56a6),this[_0x14e498(0x2a5)]['uncork']()):this[_0x14e498(0x2a5)]['write'](_0x525cec[0x0],_0x5f56a6);}}Ee=_0x5e0526;function _0x7c1a7b(_0x596e62,_0x4aa3a0,_0x46c945){const _0x579122=_0x386a47;typeof _0x46c945=='function'&&_0x46c945(_0x4aa3a0);for(let _0x1efe9e=0x0;_0x1efe9e<_0x596e62[_0x579122(0x19b)][_0x579122(0x208)];_0x1efe9e++){const _0x382591=_0x596e62['_queue'][_0x1efe9e],_0x3e4bc7=_0x382591[_0x382591[_0x579122(0x208)]-0x1];typeof _0x3e4bc7==_0x579122(0x20d)&&_0x3e4bc7(_0x4aa3a0);}}function _0x1f6ca4(_0xc5308,_0x483d78,_0x4b0965){const _0x56cdc0=_0x386a47;_0x7c1a7b(_0xc5308,_0x483d78,_0x4b0965),_0xc5308[_0x56cdc0(0x1f0)](_0x483d78);}return Ee;}var xe,tt;function Kt(){const _0x4e6ecf=_0x428a1f;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x16ab6f,kListener:_0x113d95}=V(),_0x4c66af=Symbol(_0x4e6ecf(0x26c)),_0x25a398=Symbol('kData'),_0x18fe04=Symbol(_0x4e6ecf(0x2bf)),_0x4d063f=Symbol(_0x4e6ecf(0x1a9)),_0x4c5729=Symbol(_0x4e6ecf(0x179)),_0x3344ee=Symbol('kTarget'),_0x282326=Symbol(_0x4e6ecf(0x27d)),_0x2e3f5f=Symbol(_0x4e6ecf(0x286));class _0x1c9fa3{constructor(_0x1c62a9){this[_0x3344ee]=null,this[_0x282326]=_0x1c62a9;}get[_0x4e6ecf(0x1f9)](){return this[_0x3344ee];}get[_0x4e6ecf(0x203)](){return this[_0x282326];}}Object['defineProperty'](_0x1c9fa3['prototype'],_0x4e6ecf(0x1f9),{'enumerable':!0x0}),Object['defineProperty'](_0x1c9fa3[_0x4e6ecf(0x2dd)],_0x4e6ecf(0x203),{'enumerable':!0x0});class _0x1eb161 extends _0x1c9fa3{constructor(_0x204827,_0xeeae55={}){const _0x4a75c7=_0x4e6ecf;super(_0x204827),this[_0x4c66af]=_0xeeae55[_0x4a75c7(0x181)]===void 0x0?0x0:_0xeeae55[_0x4a75c7(0x181)],this[_0x4c5729]=_0xeeae55[_0x4a75c7(0x2ed)]===void 0x0?'':_0xeeae55['reason'],this[_0x2e3f5f]=_0xeeae55['wasClean']===void 0x0?!0x1:_0xeeae55[_0x4a75c7(0x223)];}get[_0x4e6ecf(0x181)](){return this[_0x4c66af];}get[_0x4e6ecf(0x2ed)](){return this[_0x4c5729];}get[_0x4e6ecf(0x223)](){return this[_0x2e3f5f];}}Object[_0x4e6ecf(0x279)](_0x1eb161[_0x4e6ecf(0x2dd)],_0x4e6ecf(0x181),{'enumerable':!0x0}),Object[_0x4e6ecf(0x279)](_0x1eb161[_0x4e6ecf(0x2dd)],_0x4e6ecf(0x2ed),{'enumerable':!0x0}),Object['defineProperty'](_0x1eb161[_0x4e6ecf(0x2dd)],_0x4e6ecf(0x223),{'enumerable':!0x0});class _0x2b183f extends _0x1c9fa3{constructor(_0x56645d,_0x1d0fb1={}){const _0xe7a289=_0x4e6ecf;super(_0x56645d),this[_0x18fe04]=_0x1d0fb1['error']===void 0x0?null:_0x1d0fb1['error'],this[_0x4d063f]=_0x1d0fb1[_0xe7a289(0x219)]===void 0x0?'':_0x1d0fb1[_0xe7a289(0x219)];}get[_0x4e6ecf(0x2b1)](){return this[_0x18fe04];}get[_0x4e6ecf(0x219)](){return this[_0x4d063f];}}Object[_0x4e6ecf(0x279)](_0x2b183f[_0x4e6ecf(0x2dd)],_0x4e6ecf(0x2b1),{'enumerable':!0x0}),Object['defineProperty'](_0x2b183f[_0x4e6ecf(0x2dd)],_0x4e6ecf(0x219),{'enumerable':!0x0});class _0x2684fe extends _0x1c9fa3{constructor(_0x144710,_0x3886db={}){const _0x503c78=_0x4e6ecf;super(_0x144710),this[_0x25a398]=_0x3886db[_0x503c78(0x1ef)]===void 0x0?null:_0x3886db['data'];}get[_0x4e6ecf(0x1ef)](){return this[_0x25a398];}}Object[_0x4e6ecf(0x279)](_0x2684fe[_0x4e6ecf(0x2dd)],_0x4e6ecf(0x1ef),{'enumerable':!0x0}),xe={'CloseEvent':_0x1eb161,'ErrorEvent':_0x2b183f,'Event':_0x1c9fa3,'EventTarget':{'addEventListener'(_0x2e916c,_0x432028,_0x1ed6cc={}){const _0x775f9=_0x4e6ecf;for(const _0x2112b9 of this['listeners'](_0x2e916c))if(!_0x1ed6cc[_0x16ab6f]&&_0x2112b9[_0x113d95]===_0x432028&&!_0x2112b9[_0x16ab6f])return;let _0x5dbe44;if(_0x2e916c===_0x775f9(0x219))_0x5dbe44=function(_0x429261,_0x472dd8){const _0x39370b=_0x775f9,_0x9a2f92=new _0x2684fe(_0x39370b(0x219),{'data':_0x472dd8?_0x429261:_0x429261[_0x39370b(0x289)]()});_0x9a2f92[_0x3344ee]=this,_0x2f2e7a(_0x432028,this,_0x9a2f92);};else{if(_0x2e916c==='close')_0x5dbe44=function(_0x4264b8,_0xec0670){const _0x81a0ca=_0x775f9,_0x288ee7=new _0x1eb161('close',{'code':_0x4264b8,'reason':_0xec0670['toString'](),'wasClean':this[_0x81a0ca(0x25e)]&&this[_0x81a0ca(0x2d0)]});_0x288ee7[_0x3344ee]=this,_0x2f2e7a(_0x432028,this,_0x288ee7);};else{if(_0x2e916c===_0x775f9(0x2b1))_0x5dbe44=function(_0x47fe15){const _0x3d707e=_0x775f9,_0x1d4ca1=new _0x2b183f(_0x3d707e(0x2b1),{'error':_0x47fe15,'message':_0x47fe15[_0x3d707e(0x219)]});_0x1d4ca1[_0x3344ee]=this,_0x2f2e7a(_0x432028,this,_0x1d4ca1);};else{if(_0x2e916c===_0x775f9(0x2ef))_0x5dbe44=function(){const _0x1cc343=_0x775f9,_0x318606=new _0x1c9fa3(_0x1cc343(0x2ef));_0x318606[_0x3344ee]=this,_0x2f2e7a(_0x432028,this,_0x318606);};else return;}}}_0x5dbe44[_0x16ab6f]=!!_0x1ed6cc[_0x16ab6f],_0x5dbe44[_0x113d95]=_0x432028,_0x1ed6cc[_0x775f9(0x2e8)]?this[_0x775f9(0x2e8)](_0x2e916c,_0x5dbe44):this['on'](_0x2e916c,_0x5dbe44);},'removeEventListener'(_0x373e4b,_0x1d89a1){const _0x15f4d9=_0x4e6ecf;for(const _0x27b548 of this[_0x15f4d9(0x29e)](_0x373e4b))if(_0x27b548[_0x113d95]===_0x1d89a1&&!_0x27b548[_0x16ab6f]){this[_0x15f4d9(0x2cc)](_0x373e4b,_0x27b548);break;}}},'MessageEvent':_0x2684fe};function _0x2f2e7a(_0x559655,_0xc9ee7d,_0x41b071){const _0x393429=_0x4e6ecf;typeof _0x559655==_0x393429(0x1ed)&&_0x559655[_0x393429(0x2c1)]?_0x559655[_0x393429(0x2c1)][_0x393429(0x271)](_0x559655,_0x41b071):_0x559655[_0x393429(0x271)](_0xc9ee7d,_0x41b071);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x3867af}=ne();function _0x183627(_0x30d5ea,_0x3f2e97,_0x4eaaf5){const _0x168781=_0x40b5;_0x30d5ea[_0x3f2e97]===void 0x0?_0x30d5ea[_0x3f2e97]=[_0x4eaaf5]:_0x30d5ea[_0x3f2e97][_0x168781(0x197)](_0x4eaaf5);}function _0xeab80f(_0x30f841){const _0x2ab369=_0x40b5,_0x848d10=Object['create'](null);let _0x3c0ec7=Object[_0x2ab369(0x2f1)](null),_0x1fcd2b=!0x1,_0x29fd11=!0x1,_0x3a073e=!0x1,_0x1ddb20,_0x2974dc,_0x551458=-0x1,_0x141b17=-0x1,_0x2bab89=-0x1,_0x2784e8=0x0;for(;_0x2784e8<_0x30f841[_0x2ab369(0x208)];_0x2784e8++)if(_0x141b17=_0x30f841[_0x2ab369(0x2c6)](_0x2784e8),_0x1ddb20===void 0x0){if(_0x2bab89===-0x1&&_0x3867af[_0x141b17]===0x1)_0x551458===-0x1&&(_0x551458=_0x2784e8);else{if(_0x2784e8!==0x0&&(_0x141b17===0x20||_0x141b17===0x9))_0x2bab89===-0x1&&_0x551458!==-0x1&&(_0x2bab89=_0x2784e8);else{if(_0x141b17===0x3b||_0x141b17===0x2c){if(_0x551458===-0x1)throw new SyntaxError(_0x2ab369(0x2ab)+_0x2784e8);_0x2bab89===-0x1&&(_0x2bab89=_0x2784e8);const _0xdee887=_0x30f841['slice'](_0x551458,_0x2bab89);_0x141b17===0x2c?(_0x183627(_0x848d10,_0xdee887,_0x3c0ec7),_0x3c0ec7=Object[_0x2ab369(0x2f1)](null)):_0x1ddb20=_0xdee887,_0x551458=_0x2bab89=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x2784e8);}}}else{if(_0x2974dc===void 0x0){if(_0x2bab89===-0x1&&_0x3867af[_0x141b17]===0x1)_0x551458===-0x1&&(_0x551458=_0x2784e8);else{if(_0x141b17===0x20||_0x141b17===0x9)_0x2bab89===-0x1&&_0x551458!==-0x1&&(_0x2bab89=_0x2784e8);else{if(_0x141b17===0x3b||_0x141b17===0x2c){if(_0x551458===-0x1)throw new SyntaxError(_0x2ab369(0x2ab)+_0x2784e8);_0x2bab89===-0x1&&(_0x2bab89=_0x2784e8),_0x183627(_0x3c0ec7,_0x30f841[_0x2ab369(0x22d)](_0x551458,_0x2bab89),!0x0),_0x141b17===0x2c&&(_0x183627(_0x848d10,_0x1ddb20,_0x3c0ec7),_0x3c0ec7=Object['create'](null),_0x1ddb20=void 0x0),_0x551458=_0x2bab89=-0x1;}else{if(_0x141b17===0x3d&&_0x551458!==-0x1&&_0x2bab89===-0x1)_0x2974dc=_0x30f841[_0x2ab369(0x22d)](_0x551458,_0x2784e8),_0x551458=_0x2bab89=-0x1;else throw new SyntaxError(_0x2ab369(0x2ab)+_0x2784e8);}}}}else{if(_0x29fd11){if(_0x3867af[_0x141b17]!==0x1)throw new SyntaxError(_0x2ab369(0x2ab)+_0x2784e8);_0x551458===-0x1?_0x551458=_0x2784e8:_0x1fcd2b||(_0x1fcd2b=!0x0),_0x29fd11=!0x1;}else{if(_0x3a073e){if(_0x3867af[_0x141b17]===0x1)_0x551458===-0x1&&(_0x551458=_0x2784e8);else{if(_0x141b17===0x22&&_0x551458!==-0x1)_0x3a073e=!0x1,_0x2bab89=_0x2784e8;else{if(_0x141b17===0x5c)_0x29fd11=!0x0;else throw new SyntaxError(_0x2ab369(0x2ab)+_0x2784e8);}}}else{if(_0x141b17===0x22&&_0x30f841[_0x2ab369(0x2c6)](_0x2784e8-0x1)===0x3d)_0x3a073e=!0x0;else{if(_0x2bab89===-0x1&&_0x3867af[_0x141b17]===0x1)_0x551458===-0x1&&(_0x551458=_0x2784e8);else{if(_0x551458!==-0x1&&(_0x141b17===0x20||_0x141b17===0x9))_0x2bab89===-0x1&&(_0x2bab89=_0x2784e8);else{if(_0x141b17===0x3b||_0x141b17===0x2c){if(_0x551458===-0x1)throw new SyntaxError(_0x2ab369(0x2ab)+_0x2784e8);_0x2bab89===-0x1&&(_0x2bab89=_0x2784e8);let _0x141117=_0x30f841['slice'](_0x551458,_0x2bab89);_0x1fcd2b&&(_0x141117=_0x141117['replace'](/\\/g,''),_0x1fcd2b=!0x1),_0x183627(_0x3c0ec7,_0x2974dc,_0x141117),_0x141b17===0x2c&&(_0x183627(_0x848d10,_0x1ddb20,_0x3c0ec7),_0x3c0ec7=Object[_0x2ab369(0x2f1)](null),_0x1ddb20=void 0x0),_0x2974dc=void 0x0,_0x551458=_0x2bab89=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x2784e8);}}}}}}}if(_0x551458===-0x1||_0x3a073e||_0x141b17===0x20||_0x141b17===0x9)throw new SyntaxError('Unexpected\x20end\x20of\x20input');_0x2bab89===-0x1&&(_0x2bab89=_0x2784e8);const _0x2bc979=_0x30f841[_0x2ab369(0x22d)](_0x551458,_0x2bab89);return _0x1ddb20===void 0x0?_0x183627(_0x848d10,_0x2bc979,_0x3c0ec7):(_0x2974dc===void 0x0?_0x183627(_0x3c0ec7,_0x2bc979,!0x0):_0x1fcd2b?_0x183627(_0x3c0ec7,_0x2974dc,_0x2bc979[_0x2ab369(0x20c)](/\\/g,'')):_0x183627(_0x3c0ec7,_0x2974dc,_0x2bc979),_0x183627(_0x848d10,_0x1ddb20,_0x3c0ec7)),_0x848d10;}function _0x26b92e(_0x27e4e8){const _0x35d6b2=_0x40b5;return Object[_0x35d6b2(0x2e4)](_0x27e4e8)[_0x35d6b2(0x18e)](_0xc69e0b=>{const _0x428abc=_0x35d6b2;let _0x112168=_0x27e4e8[_0xc69e0b];return Array[_0x428abc(0x1c1)](_0x112168)||(_0x112168=[_0x112168]),_0x112168[_0x428abc(0x18e)](_0x42ea88=>[_0xc69e0b][_0x428abc(0x27e)](Object[_0x428abc(0x2e4)](_0x42ea88)[_0x428abc(0x18e)](_0x321410=>{const _0x1d40dd=_0x428abc;let _0x54859b=_0x42ea88[_0x321410];return Array[_0x1d40dd(0x1c1)](_0x54859b)||(_0x54859b=[_0x54859b]),_0x54859b[_0x1d40dd(0x18e)](_0x28b56a=>_0x28b56a===!0x0?_0x321410:_0x321410+'='+_0x28b56a)[_0x1d40dd(0x291)](';\x20');}))[_0x428abc(0x291)](';\x20'))[_0x428abc(0x291)](',\x20');})['join'](',\x20');}return be={'format':_0x26b92e,'parse':_0xeab80f},be;}var we,st;function Ie(){const _0x4a12bc=_0x428a1f;if(st)return we;st=0x1;const _0x23bf81=_0x2a163f,_0x305629=_0xde7cdb,_0x2ebeac=_0x43dc55,_0x425ba4=_0x5942ba,_0x437fa3=_0x214617,{randomBytes:_0x41f5e2,createHash:_0x276f42}=_0x29696a,{Duplex:_0x39435b,Readable:_0x575666}=_0x2440cb,{URL:_0x4759d6}=_0x42c500,_0x3e79ca=he(),_0x3cbd95=dt(),_0x2ec1d4=_t(),{isBlob:_0x1ba75c}=ne(),{BINARY_TYPES:_0x57fa00,EMPTY_BUFFER:_0x53d1dc,GUID:_0x309d2d,kForOnEventAttribute:_0x497379,kListener:_0x1ee76c,kStatusCode:_0x2b8ac0,kWebSocket:_0x3b31d6,NOOP:_0x5556c8}=V(),{EventTarget:{addEventListener:_0x3b894e,removeEventListener:_0x344568}}=Kt(),{format:_0x239004,parse:_0x25ab7b}=pt(),{toBuffer:_0x5b4aa1}=ce(),_0x2a0806=0x1e*0x3e8,_0x2d12b8=Symbol(_0x4a12bc(0x19d)),_0x3a8378=[0x8,0xd],_0x2f6d9a=[_0x4a12bc(0x300),_0x4a12bc(0x2e3),_0x4a12bc(0x177),_0x4a12bc(0x26a)],_0x23957a=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x38b267 extends _0x23bf81{constructor(_0x415677,_0x1fceed,_0x56f0db){const _0x379c25=_0x4a12bc;super(),this['_binaryType']=_0x57fa00[0x0],this[_0x379c25(0x299)]=0x3ee,this['_closeFrameReceived']=!0x1,this[_0x379c25(0x2d0)]=!0x1,this[_0x379c25(0x24e)]=_0x53d1dc,this[_0x379c25(0x154)]=null,this[_0x379c25(0x293)]=!0x1,this[_0x379c25(0x17d)]={},this['_paused']=!0x1,this[_0x379c25(0x1b9)]='',this[_0x379c25(0x231)]=_0x38b267[_0x379c25(0x300)],this[_0x379c25(0x1fa)]=null,this[_0x379c25(0x17b)]=null,this['_socket']=null,_0x415677!==null?(this[_0x379c25(0x261)]=0x0,this[_0x379c25(0x186)]=!0x1,this[_0x379c25(0x1c8)]=0x0,_0x1fceed===void 0x0?_0x1fceed=[]:Array[_0x379c25(0x1c1)](_0x1fceed)||(typeof _0x1fceed==_0x379c25(0x1ed)&&_0x1fceed!==null?(_0x56f0db=_0x1fceed,_0x1fceed=[]):_0x1fceed=[_0x1fceed]),_0x45a19c(this,_0x415677,_0x1fceed,_0x56f0db)):(this[_0x379c25(0x2c8)]=_0x56f0db['autoPong'],this[_0x379c25(0x186)]=!0x0);}get[_0x4a12bc(0x1e2)](){const _0x285be8=_0x4a12bc;return this[_0x285be8(0x215)];}set['binaryType'](_0x1c4c5b){const _0x501268=_0x4a12bc;_0x57fa00[_0x501268(0x206)](_0x1c4c5b)&&(this[_0x501268(0x215)]=_0x1c4c5b,this[_0x501268(0x1fa)]&&(this[_0x501268(0x1fa)][_0x501268(0x215)]=_0x1c4c5b));}get[_0x4a12bc(0x1c4)](){const _0x129a48=_0x4a12bc;return this[_0x129a48(0x2a5)]?this['_socket']['_writableState']['length']+this[_0x129a48(0x17b)]['_bufferedBytes']:this['_bufferedAmount'];}get[_0x4a12bc(0x1bd)](){const _0x476660=_0x4a12bc;return Object[_0x476660(0x2e4)](this[_0x476660(0x17d)])[_0x476660(0x291)]();}get['isPaused'](){const _0x2ac765=_0x4a12bc;return this[_0x2ac765(0x18b)];}get[_0x4a12bc(0x274)](){return null;}get[_0x4a12bc(0x1f0)](){return null;}get[_0x4a12bc(0x14c)](){return null;}get[_0x4a12bc(0x178)](){return null;}get[_0x4a12bc(0x2b2)](){const _0xe27d1c=_0x4a12bc;return this[_0xe27d1c(0x1b9)];}get['readyState'](){const _0x5bfe0c=_0x4a12bc;return this[_0x5bfe0c(0x231)];}get['url'](){const _0x19eaa4=_0x4a12bc;return this[_0x19eaa4(0x1b7)];}[_0x4a12bc(0x2b8)](_0xca9633,_0x32259d,_0x4dc9c3){const _0x4b9a1a=_0x4a12bc,_0x39b51d=new _0x3cbd95({'allowSynchronousEvents':_0x4dc9c3['allowSynchronousEvents'],'binaryType':this[_0x4b9a1a(0x1e2)],'extensions':this[_0x4b9a1a(0x17d)],'isServer':this[_0x4b9a1a(0x186)],'maxPayload':_0x4dc9c3[_0x4b9a1a(0x2d1)],'skipUTF8Validation':_0x4dc9c3[_0x4b9a1a(0x2e6)]}),_0x1cb992=new _0x2ec1d4(_0xca9633,this[_0x4b9a1a(0x17d)],_0x4dc9c3[_0x4b9a1a(0x2e1)]);this[_0x4b9a1a(0x1fa)]=_0x39b51d,this[_0x4b9a1a(0x17b)]=_0x1cb992,this[_0x4b9a1a(0x2a5)]=_0xca9633,_0x39b51d[_0x3b31d6]=this,_0x1cb992[_0x3b31d6]=this,_0xca9633[_0x3b31d6]=this,_0x39b51d['on'](_0x4b9a1a(0x17a),_0x16aac7),_0x39b51d['on'](_0x4b9a1a(0x20a),_0x435cc6),_0x39b51d['on'](_0x4b9a1a(0x2b1),_0x5e9209),_0x39b51d['on'](_0x4b9a1a(0x219),_0x14e2db),_0x39b51d['on']('ping',_0x53e519),_0x39b51d['on'](_0x4b9a1a(0x2a3),_0x546ad7),_0x1cb992['onerror']=_0x2edebb,_0xca9633[_0x4b9a1a(0x222)]&&_0xca9633[_0x4b9a1a(0x222)](0x0),_0xca9633[_0x4b9a1a(0x238)]&&_0xca9633['setNoDelay'](),_0x32259d[_0x4b9a1a(0x208)]>0x0&&_0xca9633[_0x4b9a1a(0x273)](_0x32259d),_0xca9633['on'](_0x4b9a1a(0x228),_0x344bd4),_0xca9633['on'](_0x4b9a1a(0x1ef),_0xbffcd6),_0xca9633['on']('end',_0x3acbf7),_0xca9633['on'](_0x4b9a1a(0x2b1),_0x112ccd),this[_0x4b9a1a(0x231)]=_0x38b267[_0x4b9a1a(0x2e3)],this[_0x4b9a1a(0x173)](_0x4b9a1a(0x2ef));}[_0x4a12bc(0x212)](){const _0x682017=_0x4a12bc;if(!this[_0x682017(0x2a5)]){this[_0x682017(0x231)]=_0x38b267[_0x682017(0x26a)],this[_0x682017(0x173)]('close',this[_0x682017(0x299)],this[_0x682017(0x24e)]);return;}this[_0x682017(0x17d)][_0x3e79ca['extensionName']]&&this[_0x682017(0x17d)][_0x3e79ca[_0x682017(0x28c)]][_0x682017(0x1a1)](),this[_0x682017(0x1fa)][_0x682017(0x190)](),this['_readyState']=_0x38b267[_0x682017(0x26a)],this[_0x682017(0x173)]('close',this['_closeCode'],this[_0x682017(0x24e)]);}[_0x4a12bc(0x228)](_0x34705b,_0x169a1a){const _0x482a0f=_0x4a12bc;if(this[_0x482a0f(0x1da)]!==_0x38b267[_0x482a0f(0x26a)]){if(this['readyState']===_0x38b267[_0x482a0f(0x300)]){_0x434388(this,this['_req'],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}if(this[_0x482a0f(0x1da)]===_0x38b267[_0x482a0f(0x177)]){this[_0x482a0f(0x2d0)]&&(this[_0x482a0f(0x25e)]||this[_0x482a0f(0x1fa)]['_writableState']['errorEmitted'])&&this[_0x482a0f(0x2a5)][_0x482a0f(0x194)]();return;}this[_0x482a0f(0x231)]=_0x38b267[_0x482a0f(0x177)],this[_0x482a0f(0x17b)][_0x482a0f(0x228)](_0x34705b,_0x169a1a,!this[_0x482a0f(0x186)],_0xf4764e=>{const _0x162450=_0x482a0f;_0xf4764e||(this[_0x162450(0x2d0)]=!0x0,(this['_closeFrameReceived']||this[_0x162450(0x1fa)][_0x162450(0x2f3)][_0x162450(0x237)])&&this[_0x162450(0x2a5)][_0x162450(0x194)]());}),_0x2e33f4(this);}}[_0x4a12bc(0x1a7)](){const _0x356fc0=_0x4a12bc;this[_0x356fc0(0x1da)]===_0x38b267[_0x356fc0(0x300)]||this[_0x356fc0(0x1da)]===_0x38b267[_0x356fc0(0x26a)]||(this[_0x356fc0(0x18b)]=!0x0,this[_0x356fc0(0x2a5)][_0x356fc0(0x1a7)]());}[_0x4a12bc(0x225)](_0x450ccf,_0x37ab76,_0x13a3a9){const _0x35b84e=_0x4a12bc;if(this[_0x35b84e(0x1da)]===_0x38b267[_0x35b84e(0x300)])throw new Error(_0x35b84e(0x174));if(typeof _0x450ccf==_0x35b84e(0x20d)?(_0x13a3a9=_0x450ccf,_0x450ccf=_0x37ab76=void 0x0):typeof _0x37ab76==_0x35b84e(0x20d)&&(_0x13a3a9=_0x37ab76,_0x37ab76=void 0x0),typeof _0x450ccf==_0x35b84e(0x15d)&&(_0x450ccf=_0x450ccf[_0x35b84e(0x289)]()),this['readyState']!==_0x38b267[_0x35b84e(0x2e3)]){_0x4f878b(this,_0x450ccf,_0x13a3a9);return;}_0x37ab76===void 0x0&&(_0x37ab76=!this[_0x35b84e(0x186)]),this[_0x35b84e(0x17b)][_0x35b84e(0x225)](_0x450ccf||_0x53d1dc,_0x37ab76,_0x13a3a9);}['pong'](_0x2a134b,_0x22c16e,_0x317c27){const _0xf015d2=_0x4a12bc;if(this[_0xf015d2(0x1da)]===_0x38b267[_0xf015d2(0x300)])throw new Error(_0xf015d2(0x174));if(typeof _0x2a134b==_0xf015d2(0x20d)?(_0x317c27=_0x2a134b,_0x2a134b=_0x22c16e=void 0x0):typeof _0x22c16e==_0xf015d2(0x20d)&&(_0x317c27=_0x22c16e,_0x22c16e=void 0x0),typeof _0x2a134b==_0xf015d2(0x15d)&&(_0x2a134b=_0x2a134b[_0xf015d2(0x289)]()),this[_0xf015d2(0x1da)]!==_0x38b267[_0xf015d2(0x2e3)]){_0x4f878b(this,_0x2a134b,_0x317c27);return;}_0x22c16e===void 0x0&&(_0x22c16e=!this[_0xf015d2(0x186)]),this[_0xf015d2(0x17b)]['pong'](_0x2a134b||_0x53d1dc,_0x22c16e,_0x317c27);}[_0x4a12bc(0x226)](){const _0x9c808a=_0x4a12bc;this[_0x9c808a(0x1da)]===_0x38b267['CONNECTING']||this[_0x9c808a(0x1da)]===_0x38b267[_0x9c808a(0x26a)]||(this[_0x9c808a(0x18b)]=!0x1,this[_0x9c808a(0x1fa)][_0x9c808a(0x2f3)][_0x9c808a(0x2ee)]||this[_0x9c808a(0x2a5)][_0x9c808a(0x226)]());}[_0x4a12bc(0x239)](_0x11fc83,_0x54ab5a,_0x4162d7){const _0x37c72e=_0x4a12bc;if(this[_0x37c72e(0x1da)]===_0x38b267['CONNECTING'])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x54ab5a==_0x37c72e(0x20d)&&(_0x4162d7=_0x54ab5a,_0x54ab5a={}),typeof _0x11fc83==_0x37c72e(0x15d)&&(_0x11fc83=_0x11fc83['toString']()),this[_0x37c72e(0x1da)]!==_0x38b267[_0x37c72e(0x2e3)]){_0x4f878b(this,_0x11fc83,_0x4162d7);return;}const _0x30b5bb={'binary':typeof _0x11fc83!=_0x37c72e(0x1ff),'mask':!this['_isServer'],'compress':!0x0,'fin':!0x0,..._0x54ab5a};this[_0x37c72e(0x17d)][_0x3e79ca[_0x37c72e(0x28c)]]||(_0x30b5bb[_0x37c72e(0x172)]=!0x1),this[_0x37c72e(0x17b)][_0x37c72e(0x239)](_0x11fc83||_0x53d1dc,_0x30b5bb,_0x4162d7);}[_0x4a12bc(0x205)](){const _0x4fc503=_0x4a12bc;if(this[_0x4fc503(0x1da)]!==_0x38b267[_0x4fc503(0x26a)]){if(this[_0x4fc503(0x1da)]===_0x38b267[_0x4fc503(0x300)]){_0x434388(this,this[_0x4fc503(0x22a)],_0x4fc503(0x2f4));return;}this[_0x4fc503(0x2a5)]&&(this[_0x4fc503(0x231)]=_0x38b267[_0x4fc503(0x177)],this[_0x4fc503(0x2a5)][_0x4fc503(0x267)]());}}}Object['defineProperty'](_0x38b267,_0x4a12bc(0x300),{'enumerable':!0x0,'value':_0x2f6d9a[_0x4a12bc(0x21a)](_0x4a12bc(0x300))}),Object['defineProperty'](_0x38b267['prototype'],_0x4a12bc(0x300),{'enumerable':!0x0,'value':_0x2f6d9a[_0x4a12bc(0x21a)](_0x4a12bc(0x300))}),Object[_0x4a12bc(0x279)](_0x38b267,_0x4a12bc(0x2e3),{'enumerable':!0x0,'value':_0x2f6d9a['indexOf']('OPEN')}),Object[_0x4a12bc(0x279)](_0x38b267[_0x4a12bc(0x2dd)],_0x4a12bc(0x2e3),{'enumerable':!0x0,'value':_0x2f6d9a[_0x4a12bc(0x21a)](_0x4a12bc(0x2e3))}),Object[_0x4a12bc(0x279)](_0x38b267,_0x4a12bc(0x177),{'enumerable':!0x0,'value':_0x2f6d9a[_0x4a12bc(0x21a)]('CLOSING')}),Object[_0x4a12bc(0x279)](_0x38b267['prototype'],'CLOSING',{'enumerable':!0x0,'value':_0x2f6d9a['indexOf'](_0x4a12bc(0x177))}),Object[_0x4a12bc(0x279)](_0x38b267,_0x4a12bc(0x26a),{'enumerable':!0x0,'value':_0x2f6d9a[_0x4a12bc(0x21a)]('CLOSED')}),Object['defineProperty'](_0x38b267[_0x4a12bc(0x2dd)],'CLOSED',{'enumerable':!0x0,'value':_0x2f6d9a['indexOf'](_0x4a12bc(0x26a))}),[_0x4a12bc(0x1e2),_0x4a12bc(0x1c4),'extensions',_0x4a12bc(0x259),_0x4a12bc(0x2b2),_0x4a12bc(0x1da),_0x4a12bc(0x2c0)]['forEach'](_0x17cd35=>{const _0x266e2e=_0x4a12bc;Object[_0x266e2e(0x279)](_0x38b267['prototype'],_0x17cd35,{'enumerable':!0x0});}),[_0x4a12bc(0x2ef),_0x4a12bc(0x2b1),_0x4a12bc(0x228),'message']['forEach'](_0x9357f6=>{const _0x15a660=_0x4a12bc;Object['defineProperty'](_0x38b267[_0x15a660(0x2dd)],'on'+_0x9357f6,{'enumerable':!0x0,'get'(){const _0x536b19=_0x15a660;for(const _0x434565 of this[_0x536b19(0x29e)](_0x9357f6))if(_0x434565[_0x497379])return _0x434565[_0x1ee76c];return null;},'set'(_0x4b4421){const _0x221c29=_0x15a660;for(const _0x831867 of this['listeners'](_0x9357f6))if(_0x831867[_0x497379]){this[_0x221c29(0x2cc)](_0x9357f6,_0x831867);break;}typeof _0x4b4421==_0x221c29(0x20d)&&this[_0x221c29(0x2fa)](_0x9357f6,_0x4b4421,{[_0x497379]:!0x0});}});}),_0x38b267[_0x4a12bc(0x2dd)][_0x4a12bc(0x2fa)]=_0x3b894e,_0x38b267[_0x4a12bc(0x2dd)][_0x4a12bc(0x2f2)]=_0x344568,we=_0x38b267;function _0x45a19c(_0x1aa492,_0x56a5fc,_0x912c09,_0x47d4c0){const _0x315e2f=_0x4a12bc,_0x578561={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x3a8378[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x47d4c0,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x315e2f(0x1e6),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x1aa492[_0x315e2f(0x2c8)]=_0x578561[_0x315e2f(0x221)],!_0x3a8378[_0x315e2f(0x206)](_0x578561[_0x315e2f(0x235)]))throw new RangeError(_0x315e2f(0x263)+_0x578561[_0x315e2f(0x235)]+_0x315e2f(0x27c)+_0x3a8378[_0x315e2f(0x291)](',\x20')+')');let _0x50c845;if(_0x56a5fc instanceof _0x4759d6)_0x50c845=_0x56a5fc;else try{_0x50c845=new _0x4759d6(_0x56a5fc);}catch{throw new SyntaxError(_0x315e2f(0x188)+_0x56a5fc);}_0x50c845['protocol']===_0x315e2f(0x1c0)?_0x50c845[_0x315e2f(0x2b2)]=_0x315e2f(0x1e8):_0x50c845['protocol']===_0x315e2f(0x1d4)&&(_0x50c845[_0x315e2f(0x2b2)]='wss:'),_0x1aa492[_0x315e2f(0x1b7)]=_0x50c845[_0x315e2f(0x14d)];const _0x1cce25=_0x50c845[_0x315e2f(0x2b2)]===_0x315e2f(0x1ee),_0x27c937=_0x50c845[_0x315e2f(0x2b2)]==='ws+unix:';let _0x179b45;if(_0x50c845['protocol']!==_0x315e2f(0x1e8)&&!_0x1cce25&&!_0x27c937?_0x179b45=_0x315e2f(0x15b):_0x27c937&&!_0x50c845[_0x315e2f(0x1e3)]?_0x179b45=_0x315e2f(0x176):_0x50c845[_0x315e2f(0x295)]&&(_0x179b45=_0x315e2f(0x234)),_0x179b45){const _0x113a14=new SyntaxError(_0x179b45);if(_0x1aa492[_0x315e2f(0x1c8)]===0x0)throw _0x113a14;_0x433bb7(_0x1aa492,_0x113a14);return;}const _0x272162=_0x1cce25?0x1bb:0x50,_0x3ce1aa=_0x41f5e2(0x10)[_0x315e2f(0x289)](_0x315e2f(0x2a2)),_0x49866a=_0x1cce25?_0x305629[_0x315e2f(0x2d8)]:_0x2ebeac[_0x315e2f(0x2d8)],_0x322bcb=new Set();let _0x4d6aa0;if(_0x578561['createConnection']=_0x578561[_0x315e2f(0x20e)]||(_0x1cce25?_0xca53d3:_0x65d8e2),_0x578561[_0x315e2f(0x278)]=_0x578561[_0x315e2f(0x278)]||_0x272162,_0x578561[_0x315e2f(0x16c)]=_0x50c845['port']||_0x272162,_0x578561[_0x315e2f(0x1c5)]=_0x50c845[_0x315e2f(0x1fc)][_0x315e2f(0x187)]('[')?_0x50c845[_0x315e2f(0x1fc)]['slice'](0x1,-0x1):_0x50c845[_0x315e2f(0x1fc)],_0x578561[_0x315e2f(0x19f)]={..._0x578561[_0x315e2f(0x19f)],'Sec-WebSocket-Version':_0x578561[_0x315e2f(0x235)],'Sec-WebSocket-Key':_0x3ce1aa,'Connection':_0x315e2f(0x2d5),'Upgrade':'websocket'},_0x578561['path']=_0x50c845['pathname']+_0x50c845[_0x315e2f(0x15c)],_0x578561['timeout']=_0x578561['handshakeTimeout'],_0x578561[_0x315e2f(0x1ac)]&&(_0x4d6aa0=new _0x3e79ca(_0x578561[_0x315e2f(0x1ac)]!==!0x0?_0x578561[_0x315e2f(0x1ac)]:{},!0x1,_0x578561[_0x315e2f(0x2d1)]),_0x578561[_0x315e2f(0x19f)][_0x315e2f(0x19c)]=_0x239004({[_0x3e79ca[_0x315e2f(0x28c)]]:_0x4d6aa0['offer']()})),_0x912c09['length']){for(const _0x2b4163 of _0x912c09){if(typeof _0x2b4163!=_0x315e2f(0x1ff)||!_0x23957a[_0x315e2f(0x15f)](_0x2b4163)||_0x322bcb[_0x315e2f(0x2e5)](_0x2b4163))throw new SyntaxError(_0x315e2f(0x153));_0x322bcb[_0x315e2f(0x2a1)](_0x2b4163);}_0x578561[_0x315e2f(0x19f)][_0x315e2f(0x28f)]=_0x912c09[_0x315e2f(0x291)](',');}if(_0x578561[_0x315e2f(0x27a)]&&(_0x578561[_0x315e2f(0x235)]<0xd?_0x578561[_0x315e2f(0x19f)][_0x315e2f(0x165)]=_0x578561[_0x315e2f(0x27a)]:_0x578561[_0x315e2f(0x19f)][_0x315e2f(0x301)]=_0x578561[_0x315e2f(0x27a)]),(_0x50c845[_0x315e2f(0x209)]||_0x50c845[_0x315e2f(0x166)])&&(_0x578561[_0x315e2f(0x255)]=_0x50c845[_0x315e2f(0x209)]+':'+_0x50c845[_0x315e2f(0x166)]),_0x27c937){const _0x403688=_0x578561[_0x315e2f(0x246)][_0x315e2f(0x151)](':');_0x578561[_0x315e2f(0x302)]=_0x403688[0x0],_0x578561[_0x315e2f(0x246)]=_0x403688[0x1];}let _0x1db059;if(_0x578561['followRedirects']){if(_0x1aa492[_0x315e2f(0x1c8)]===0x0){_0x1aa492['_originalIpc']=_0x27c937,_0x1aa492[_0x315e2f(0x182)]=_0x1cce25,_0x1aa492[_0x315e2f(0x25a)]=_0x27c937?_0x578561[_0x315e2f(0x302)]:_0x50c845[_0x315e2f(0x1c5)];const _0x1f7841=_0x47d4c0&&_0x47d4c0[_0x315e2f(0x19f)];if(_0x47d4c0={..._0x47d4c0,'headers':{}},_0x1f7841){for(const [_0x4ed95f,_0x236d19]of Object['entries'](_0x1f7841))_0x47d4c0['headers'][_0x4ed95f[_0x315e2f(0x14b)]()]=_0x236d19;}}else{if(_0x1aa492[_0x315e2f(0x196)](_0x315e2f(0x2b3))===0x0){const _0x5a90e8=_0x27c937?_0x1aa492[_0x315e2f(0x202)]?_0x578561[_0x315e2f(0x302)]===_0x1aa492['_originalHostOrSocketPath']:!0x1:_0x1aa492['_originalIpc']?!0x1:_0x50c845['host']===_0x1aa492[_0x315e2f(0x25a)];(!_0x5a90e8||_0x1aa492['_originalSecure']&&!_0x1cce25)&&(delete _0x578561[_0x315e2f(0x19f)]['authorization'],delete _0x578561[_0x315e2f(0x19f)][_0x315e2f(0x1f6)],_0x5a90e8||delete _0x578561[_0x315e2f(0x19f)][_0x315e2f(0x1c5)],_0x578561[_0x315e2f(0x255)]=void 0x0);}}_0x578561[_0x315e2f(0x255)]&&!_0x47d4c0[_0x315e2f(0x19f)][_0x315e2f(0x1c9)]&&(_0x47d4c0[_0x315e2f(0x19f)][_0x315e2f(0x1c9)]=_0x315e2f(0x1dd)+Buffer[_0x315e2f(0x170)](_0x578561[_0x315e2f(0x255)])[_0x315e2f(0x289)](_0x315e2f(0x2a2))),_0x1db059=_0x1aa492['_req']=_0x49866a(_0x578561),_0x1aa492['_redirects']&&_0x1aa492[_0x315e2f(0x173)](_0x315e2f(0x2b3),_0x1aa492[_0x315e2f(0x2c0)],_0x1db059);}else _0x1db059=_0x1aa492[_0x315e2f(0x22a)]=_0x49866a(_0x578561);_0x578561['timeout']&&_0x1db059['on'](_0x315e2f(0x1c3),()=>{const _0x20f89c=_0x315e2f;_0x434388(_0x1aa492,_0x1db059,_0x20f89c(0x1ea));}),_0x1db059['on'](_0x315e2f(0x2b1),_0x257668=>{_0x1db059===null||_0x1db059[_0x2d12b8]||(_0x1db059=_0x1aa492['_req']=null,_0x433bb7(_0x1aa492,_0x257668));}),_0x1db059['on'](_0x315e2f(0x24f),_0x205992=>{const _0x3df91d=_0x315e2f,_0x344f8d=_0x205992['headers'][_0x3df91d(0x14e)],_0x3deaac=_0x205992[_0x3df91d(0x1a3)];if(_0x344f8d&&_0x578561[_0x3df91d(0x204)]&&_0x3deaac>=0x12c&&_0x3deaac<0x190){if(++_0x1aa492[_0x3df91d(0x1c8)]>_0x578561['maxRedirects']){_0x434388(_0x1aa492,_0x1db059,_0x3df91d(0x230));return;}_0x1db059[_0x3df91d(0x280)]();let _0x28cf6c;try{_0x28cf6c=new _0x4759d6(_0x344f8d,_0x56a5fc);}catch{const _0xdde7b5=new SyntaxError(_0x3df91d(0x188)+_0x344f8d);_0x433bb7(_0x1aa492,_0xdde7b5);return;}_0x45a19c(_0x1aa492,_0x28cf6c,_0x912c09,_0x47d4c0);}else _0x1aa492[_0x3df91d(0x173)](_0x3df91d(0x1d0),_0x1db059,_0x205992)||_0x434388(_0x1aa492,_0x1db059,'Unexpected\x20server\x20response:\x20'+_0x205992[_0x3df91d(0x1a3)]);}),_0x1db059['on'](_0x315e2f(0x2fe),(_0x43d8d0,_0x56bf32,_0x215acf)=>{const _0x3a4852=_0x315e2f;if(_0x1aa492[_0x3a4852(0x173)](_0x3a4852(0x2fe),_0x43d8d0),_0x1aa492[_0x3a4852(0x1da)]!==_0x38b267[_0x3a4852(0x300)])return;_0x1db059=_0x1aa492[_0x3a4852(0x22a)]=null;const _0x4e9d4d=_0x43d8d0['headers'][_0x3a4852(0x2fe)];if(_0x4e9d4d===void 0x0||_0x4e9d4d[_0x3a4852(0x14b)]()!==_0x3a4852(0x2bb)){_0x434388(_0x1aa492,_0x56bf32,_0x3a4852(0x158));return;}const _0x2c71cf=_0x276f42(_0x3a4852(0x1f4))[_0x3a4852(0x2cd)](_0x3ce1aa+_0x309d2d)[_0x3a4852(0x1ca)]('base64');if(_0x43d8d0[_0x3a4852(0x19f)][_0x3a4852(0x1e1)]!==_0x2c71cf){_0x434388(_0x1aa492,_0x56bf32,_0x3a4852(0x16a));return;}const _0x18e665=_0x43d8d0[_0x3a4852(0x19f)][_0x3a4852(0x249)];let _0x3b12c6;if(_0x18e665!==void 0x0?_0x322bcb[_0x3a4852(0x229)]?_0x322bcb['has'](_0x18e665)||(_0x3b12c6='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0x3b12c6=_0x3a4852(0x18f):_0x322bcb[_0x3a4852(0x229)]&&(_0x3b12c6=_0x3a4852(0x171)),_0x3b12c6){_0x434388(_0x1aa492,_0x56bf32,_0x3b12c6);return;}_0x18e665&&(_0x1aa492[_0x3a4852(0x1b9)]=_0x18e665);const _0x4c86ec=_0x43d8d0['headers'][_0x3a4852(0x210)];if(_0x4c86ec!==void 0x0){if(!_0x4d6aa0){_0x434388(_0x1aa492,_0x56bf32,_0x3a4852(0x270));return;}let _0x10fd86;try{_0x10fd86=_0x25ab7b(_0x4c86ec);}catch{_0x434388(_0x1aa492,_0x56bf32,_0x3a4852(0x17c));return;}const _0x48f220=Object[_0x3a4852(0x2e4)](_0x10fd86);if(_0x48f220[_0x3a4852(0x208)]!==0x1||_0x48f220[0x0]!==_0x3e79ca['extensionName']){_0x434388(_0x1aa492,_0x56bf32,_0x3a4852(0x211));return;}try{_0x4d6aa0['accept'](_0x10fd86[_0x3e79ca[_0x3a4852(0x28c)]]);}catch{_0x434388(_0x1aa492,_0x56bf32,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}_0x1aa492[_0x3a4852(0x17d)][_0x3e79ca[_0x3a4852(0x28c)]]=_0x4d6aa0;}_0x1aa492['setSocket'](_0x56bf32,_0x215acf,{'allowSynchronousEvents':_0x578561[_0x3a4852(0x149)],'generateMask':_0x578561[_0x3a4852(0x2e1)],'maxPayload':_0x578561[_0x3a4852(0x2d1)],'skipUTF8Validation':_0x578561[_0x3a4852(0x2e6)]});}),_0x578561[_0x315e2f(0x1db)]?_0x578561[_0x315e2f(0x1db)](_0x1db059,_0x1aa492):_0x1db059[_0x315e2f(0x194)]();}function _0x433bb7(_0x18a475,_0x19290f){const _0x4df9da=_0x4a12bc;_0x18a475[_0x4df9da(0x231)]=_0x38b267[_0x4df9da(0x177)],_0x18a475[_0x4df9da(0x293)]=!0x0,_0x18a475[_0x4df9da(0x173)](_0x4df9da(0x2b1),_0x19290f),_0x18a475[_0x4df9da(0x212)]();}function _0x65d8e2(_0x1be77a){const _0x3ebb52=_0x4a12bc;return _0x1be77a[_0x3ebb52(0x246)]=_0x1be77a['socketPath'],_0x425ba4['connect'](_0x1be77a);}function _0xca53d3(_0x5ac54d){const _0x5a1cde=_0x4a12bc;return _0x5ac54d['path']=void 0x0,!_0x5ac54d['servername']&&_0x5ac54d[_0x5a1cde(0x21e)]!==''&&(_0x5ac54d[_0x5a1cde(0x21e)]=_0x425ba4[_0x5a1cde(0x1b5)](_0x5ac54d[_0x5a1cde(0x1c5)])?'':_0x5ac54d['host']),_0x437fa3[_0x5a1cde(0x294)](_0x5ac54d);}function _0x434388(_0x263c34,_0x4008bc,_0x4e31ba){const _0x51aa3e=_0x4a12bc;_0x263c34[_0x51aa3e(0x231)]=_0x38b267[_0x51aa3e(0x177)];const _0x4095d4=new Error(_0x4e31ba);Error['captureStackTrace'](_0x4095d4,_0x434388),_0x4008bc[_0x51aa3e(0x1f5)]?(_0x4008bc[_0x2d12b8]=!0x0,_0x4008bc[_0x51aa3e(0x280)](),_0x4008bc['socket']&&!_0x4008bc[_0x51aa3e(0x268)][_0x51aa3e(0x2ea)]&&_0x4008bc[_0x51aa3e(0x268)][_0x51aa3e(0x267)](),process[_0x51aa3e(0x18d)](_0x433bb7,_0x263c34,_0x4095d4)):(_0x4008bc[_0x51aa3e(0x267)](_0x4095d4),_0x4008bc[_0x51aa3e(0x2e8)](_0x51aa3e(0x2b1),_0x263c34['emit']['bind'](_0x263c34,'error')),_0x4008bc['once'](_0x51aa3e(0x228),_0x263c34[_0x51aa3e(0x212)][_0x51aa3e(0x1b3)](_0x263c34)));}function _0x4f878b(_0x3bc7c3,_0x1a3702,_0x55372b){const _0x402f97=_0x4a12bc;if(_0x1a3702){const _0x495513=_0x1ba75c(_0x1a3702)?_0x1a3702[_0x402f97(0x229)]:_0x5b4aa1(_0x1a3702)[_0x402f97(0x208)];_0x3bc7c3[_0x402f97(0x2a5)]?_0x3bc7c3[_0x402f97(0x17b)][_0x402f97(0x2b0)]+=_0x495513:_0x3bc7c3['_bufferedAmount']+=_0x495513;}if(_0x55372b){const _0x1fa78b=new Error(_0x402f97(0x28a)+_0x3bc7c3[_0x402f97(0x1da)]+'\x20('+_0x2f6d9a[_0x3bc7c3[_0x402f97(0x1da)]]+')');process[_0x402f97(0x18d)](_0x55372b,_0x1fa78b);}}function _0x16aac7(_0x44b464,_0x48c11a){const _0x1d020c=_0x4a12bc,_0x22af12=this[_0x3b31d6];_0x22af12[_0x1d020c(0x25e)]=!0x0,_0x22af12[_0x1d020c(0x24e)]=_0x48c11a,_0x22af12[_0x1d020c(0x299)]=_0x44b464,_0x22af12[_0x1d020c(0x2a5)][_0x3b31d6]!==void 0x0&&(_0x22af12[_0x1d020c(0x2a5)][_0x1d020c(0x2cc)](_0x1d020c(0x1ef),_0xbffcd6),process[_0x1d020c(0x18d)](_0x4b14da,_0x22af12[_0x1d020c(0x2a5)]),_0x44b464===0x3ed?_0x22af12[_0x1d020c(0x228)]():_0x22af12['close'](_0x44b464,_0x48c11a));}function _0x435cc6(){const _0x184a27=_0x4a12bc,_0x1e8058=this[_0x3b31d6];_0x1e8058['isPaused']||_0x1e8058[_0x184a27(0x2a5)][_0x184a27(0x226)]();}function _0x5e9209(_0x28ee9d){const _0x36d93f=_0x4a12bc,_0x246a46=this[_0x3b31d6];_0x246a46['_socket'][_0x3b31d6]!==void 0x0&&(_0x246a46[_0x36d93f(0x2a5)][_0x36d93f(0x2cc)]('data',_0xbffcd6),process[_0x36d93f(0x18d)](_0x4b14da,_0x246a46[_0x36d93f(0x2a5)]),_0x246a46[_0x36d93f(0x228)](_0x28ee9d[_0x2b8ac0])),_0x246a46['_errorEmitted']||(_0x246a46[_0x36d93f(0x293)]=!0x0,_0x246a46[_0x36d93f(0x173)]('error',_0x28ee9d));}function _0x2347c8(){const _0x2d34c8=_0x4a12bc;this[_0x3b31d6][_0x2d34c8(0x212)]();}function _0x14e2db(_0x1150c3,_0x272ccd){const _0x3297c9=_0x4a12bc;this[_0x3b31d6][_0x3297c9(0x173)](_0x3297c9(0x219),_0x1150c3,_0x272ccd);}function _0x53e519(_0x252e3d){const _0x211613=_0x4a12bc,_0x5027da=this[_0x3b31d6];_0x5027da[_0x211613(0x2c8)]&&_0x5027da[_0x211613(0x2a3)](_0x252e3d,!this[_0x211613(0x186)],_0x5556c8),_0x5027da[_0x211613(0x173)]('ping',_0x252e3d);}function _0x546ad7(_0x4ffb14){const _0x4416a6=_0x4a12bc;this[_0x3b31d6]['emit'](_0x4416a6(0x2a3),_0x4ffb14);}function _0x4b14da(_0x55a03e){_0x55a03e['resume']();}function _0x2edebb(_0x3cf196){const _0x2e975b=_0x4a12bc,_0x33a23d=this[_0x3b31d6];_0x33a23d[_0x2e975b(0x1da)]!==_0x38b267[_0x2e975b(0x26a)]&&(_0x33a23d['readyState']===_0x38b267[_0x2e975b(0x2e3)]&&(_0x33a23d[_0x2e975b(0x231)]=_0x38b267[_0x2e975b(0x177)],_0x2e33f4(_0x33a23d)),this['_socket'][_0x2e975b(0x194)](),_0x33a23d['_errorEmitted']||(_0x33a23d[_0x2e975b(0x293)]=!0x0,_0x33a23d[_0x2e975b(0x173)]('error',_0x3cf196)));}function _0x2e33f4(_0x33f2c5){const _0xd95208=_0x4a12bc;_0x33f2c5[_0xd95208(0x154)]=setTimeout(_0x33f2c5[_0xd95208(0x2a5)][_0xd95208(0x267)][_0xd95208(0x1b3)](_0x33f2c5['_socket']),_0x2a0806);}function _0x344bd4(){const _0x531d96=_0x4a12bc,_0x32009a=this[_0x3b31d6];this[_0x531d96(0x2cc)](_0x531d96(0x228),_0x344bd4),this['removeListener']('data',_0xbffcd6),this[_0x531d96(0x2cc)](_0x531d96(0x194),_0x3acbf7),_0x32009a[_0x531d96(0x231)]=_0x38b267[_0x531d96(0x177)];let _0x1302c7;!this[_0x531d96(0x282)]['endEmitted']&&!_0x32009a['_closeFrameReceived']&&!_0x32009a[_0x531d96(0x1fa)][_0x531d96(0x2f3)]['errorEmitted']&&(_0x1302c7=_0x32009a['_socket']['read']())!==null&&_0x32009a['_receiver'][_0x531d96(0x2bd)](_0x1302c7),_0x32009a['_receiver'][_0x531d96(0x194)](),this[_0x3b31d6]=void 0x0,clearTimeout(_0x32009a['_closeTimer']),_0x32009a[_0x531d96(0x1fa)]['_writableState'][_0x531d96(0x213)]||_0x32009a[_0x531d96(0x1fa)][_0x531d96(0x2f3)][_0x531d96(0x237)]?_0x32009a[_0x531d96(0x212)]():(_0x32009a['_receiver']['on'](_0x531d96(0x2b1),_0x2347c8),_0x32009a['_receiver']['on'](_0x531d96(0x200),_0x2347c8));}function _0xbffcd6(_0x5cfa27){const _0xd502c=_0x4a12bc;this[_0x3b31d6][_0xd502c(0x1fa)][_0xd502c(0x2bd)](_0x5cfa27)||this[_0xd502c(0x1a7)]();}function _0x3acbf7(){const _0x3ff5c8=_0x4a12bc,_0x93dbce=this[_0x3b31d6];_0x93dbce[_0x3ff5c8(0x231)]=_0x38b267['CLOSING'],_0x93dbce[_0x3ff5c8(0x1fa)][_0x3ff5c8(0x194)](),this[_0x3ff5c8(0x194)]();}function _0x112ccd(){const _0x2ea9a0=_0x4a12bc,_0x4ca048=this[_0x3b31d6];this[_0x2ea9a0(0x2cc)]('error',_0x112ccd),this['on'](_0x2ea9a0(0x2b1),_0x5556c8),_0x4ca048&&(_0x4ca048[_0x2ea9a0(0x231)]=_0x38b267[_0x2ea9a0(0x177)],this['destroy']());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x1fa1f4}=_0x2440cb;function _0x2f51ec(_0x45bdbc){const _0x3c2689=_0x40b5;_0x45bdbc['emit'](_0x3c2689(0x228));}function _0x9addc9(){const _0x2388dc=_0x40b5;!this[_0x2388dc(0x2ea)]&&this[_0x2388dc(0x2f3)][_0x2388dc(0x213)]&&this[_0x2388dc(0x267)]();}function _0x295050(_0x1d710e){const _0x5c7071=_0x40b5;this[_0x5c7071(0x2cc)](_0x5c7071(0x2b1),_0x295050),this[_0x5c7071(0x267)](),this[_0x5c7071(0x196)](_0x5c7071(0x2b1))===0x0&&this[_0x5c7071(0x173)]('error',_0x1d710e);}function _0xbdb1c(_0xec41fa,_0x9e20c6){const _0x21cda1=_0x40b5;let _0x19de26=!0x0;const _0x310af4=new _0x1fa1f4({..._0x9e20c6,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0xec41fa['on'](_0x21cda1(0x219),function(_0x278f68,_0x46af39){const _0x1d60e8=_0x21cda1,_0x2c1386=!_0x46af39&&_0x310af4['_readableState'][_0x1d60e8(0x1a0)]?_0x278f68[_0x1d60e8(0x289)]():_0x278f68;_0x310af4['push'](_0x2c1386)||_0xec41fa[_0x1d60e8(0x1a7)]();}),_0xec41fa['once']('error',function(_0x458c67){const _0x5ee1a4=_0x21cda1;_0x310af4[_0x5ee1a4(0x2ea)]||(_0x19de26=!0x1,_0x310af4['destroy'](_0x458c67));}),_0xec41fa[_0x21cda1(0x2e8)](_0x21cda1(0x228),function(){const _0x1c92c4=_0x21cda1;_0x310af4[_0x1c92c4(0x2ea)]||_0x310af4[_0x1c92c4(0x197)](null);}),_0x310af4[_0x21cda1(0x16d)]=function(_0x4f46c4,_0x1d1afb){const _0x16ecf7=_0x21cda1;if(_0xec41fa[_0x16ecf7(0x1da)]===_0xec41fa[_0x16ecf7(0x26a)]){_0x1d1afb(_0x4f46c4),process[_0x16ecf7(0x18d)](_0x2f51ec,_0x310af4);return;}let _0x17b156=!0x1;_0xec41fa[_0x16ecf7(0x2e8)](_0x16ecf7(0x2b1),function(_0xab30d2){_0x17b156=!0x0,_0x1d1afb(_0xab30d2);}),_0xec41fa['once'](_0x16ecf7(0x228),function(){_0x17b156||_0x1d1afb(_0x4f46c4),process['nextTick'](_0x2f51ec,_0x310af4);}),_0x19de26&&_0xec41fa[_0x16ecf7(0x205)]();},_0x310af4[_0x21cda1(0x2af)]=function(_0x4f9e63){const _0x30e26f=_0x21cda1;if(_0xec41fa[_0x30e26f(0x1da)]===_0xec41fa['CONNECTING']){_0xec41fa[_0x30e26f(0x2e8)]('open',function(){_0x310af4['_final'](_0x4f9e63);});return;}_0xec41fa[_0x30e26f(0x2a5)]!==null&&(_0xec41fa[_0x30e26f(0x2a5)][_0x30e26f(0x2f3)][_0x30e26f(0x213)]?(_0x4f9e63(),_0x310af4['_readableState']['endEmitted']&&_0x310af4['destroy']()):(_0xec41fa[_0x30e26f(0x2a5)]['once'](_0x30e26f(0x200),function(){_0x4f9e63();}),_0xec41fa[_0x30e26f(0x228)]()));},_0x310af4[_0x21cda1(0x2e7)]=function(){const _0x2272ff=_0x21cda1;_0xec41fa[_0x2272ff(0x259)]&&_0xec41fa['resume']();},_0x310af4['_write']=function(_0x2fff1c,_0xb75d40,_0x15bd59){const _0x443366=_0x21cda1;if(_0xec41fa[_0x443366(0x1da)]===_0xec41fa[_0x443366(0x300)]){_0xec41fa[_0x443366(0x2e8)](_0x443366(0x2ef),function(){_0x310af4['_write'](_0x2fff1c,_0xb75d40,_0x15bd59);});return;}_0xec41fa[_0x443366(0x239)](_0x2fff1c,_0x15bd59);},_0x310af4['on'](_0x21cda1(0x194),_0x9addc9),_0x310af4['on'](_0x21cda1(0x2b1),_0x295050),_0x310af4;}return Oe=_0xbdb1c,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=jt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x13b6f1}=ne();function _0x53b472(_0x5a25a0){const _0x37823b=_0x40b5,_0x30f336=new Set();let _0x4ae348=-0x1,_0x9d76ee=-0x1,_0x1c2447=0x0;for(_0x1c2447;_0x1c2447<_0x5a25a0[_0x37823b(0x208)];_0x1c2447++){const _0x18b601=_0x5a25a0['charCodeAt'](_0x1c2447);if(_0x9d76ee===-0x1&&_0x13b6f1[_0x18b601]===0x1)_0x4ae348===-0x1&&(_0x4ae348=_0x1c2447);else{if(_0x1c2447!==0x0&&(_0x18b601===0x20||_0x18b601===0x9))_0x9d76ee===-0x1&&_0x4ae348!==-0x1&&(_0x9d76ee=_0x1c2447);else{if(_0x18b601===0x2c){if(_0x4ae348===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x1c2447);_0x9d76ee===-0x1&&(_0x9d76ee=_0x1c2447);const _0x5e577c=_0x5a25a0['slice'](_0x4ae348,_0x9d76ee);if(_0x30f336['has'](_0x5e577c))throw new SyntaxError(_0x37823b(0x2bc)+_0x5e577c+'\x22\x20subprotocol\x20is\x20duplicated');_0x30f336['add'](_0x5e577c),_0x4ae348=_0x9d76ee=-0x1;}else throw new SyntaxError(_0x37823b(0x2ab)+_0x1c2447);}}}if(_0x4ae348===-0x1||_0x9d76ee!==-0x1)throw new SyntaxError(_0x37823b(0x2cf));const _0x231db5=_0x5a25a0[_0x37823b(0x22d)](_0x4ae348,_0x1c2447);if(_0x30f336[_0x37823b(0x2e5)](_0x231db5))throw new SyntaxError(_0x37823b(0x2bc)+_0x231db5+_0x37823b(0x2e0));return _0x30f336[_0x37823b(0x2a1)](_0x231db5),_0x30f336;}return Ce={'parse':_0x53b472},Ce;}var Te,ot;function er(){const _0xb891c4=_0x428a1f;if(ot)return Te;ot=0x1;const _0x5c532d=_0x2a163f,_0xcb7539=_0x43dc55,{Duplex:_0x50970e}=_0x2440cb,{createHash:_0x23147d}=_0x29696a,_0x5373fc=pt(),_0x40a259=he(),_0x4adbe8=Jt(),_0x560767=Ie(),{GUID:_0x352eb4,kWebSocket:_0x191950}=V(),_0x462c49=/^[+/0-9A-Za-z]{22}==$/,_0x451dd3=0x0,_0x2774b2=0x1,_0x49dcec=0x2;class _0x51e3c1 extends _0x5c532d{constructor(_0x278df6,_0x3fb5c4){const _0x1d2539=_0x40b5;if(super(),_0x278df6={'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':_0x560767,..._0x278df6},_0x278df6[_0x1d2539(0x16c)]==null&&!_0x278df6[_0x1d2539(0x269)]&&!_0x278df6[_0x1d2539(0x2b6)]||_0x278df6[_0x1d2539(0x16c)]!=null&&(_0x278df6['server']||_0x278df6['noServer'])||_0x278df6[_0x1d2539(0x269)]&&_0x278df6[_0x1d2539(0x2b6)])throw new TypeError(_0x1d2539(0x19a));if(_0x278df6[_0x1d2539(0x16c)]!=null?(this[_0x1d2539(0x2ad)]=_0xcb7539[_0x1d2539(0x250)]((_0x2b1e2a,_0x378ffb)=>{const _0x5eacd4=_0x1d2539,_0x57fb3c=_0xcb7539['STATUS_CODES'][0x1aa];_0x378ffb['writeHead'](0x1aa,{'Content-Length':_0x57fb3c[_0x5eacd4(0x208)],'Content-Type':_0x5eacd4(0x275)}),_0x378ffb[_0x5eacd4(0x194)](_0x57fb3c);}),this[_0x1d2539(0x2ad)][_0x1d2539(0x28b)](_0x278df6[_0x1d2539(0x16c)],_0x278df6['host'],_0x278df6[_0x1d2539(0x29d)],_0x3fb5c4)):_0x278df6['server']&&(this[_0x1d2539(0x2ad)]=_0x278df6[_0x1d2539(0x269)]),this[_0x1d2539(0x2ad)]){const _0x380422=this[_0x1d2539(0x173)][_0x1d2539(0x1b3)](this,_0x1d2539(0x28e));this['_removeListeners']=_0x6711c3(this[_0x1d2539(0x2ad)],{'listening':this['emit'][_0x1d2539(0x1b3)](this,_0x1d2539(0x214)),'error':this[_0x1d2539(0x173)]['bind'](this,_0x1d2539(0x2b1)),'upgrade':(_0x3237b2,_0x476730,_0x2e1177)=>{const _0x1bcdd5=_0x1d2539;this[_0x1bcdd5(0x1f1)](_0x3237b2,_0x476730,_0x2e1177,_0x380422);}});}_0x278df6[_0x1d2539(0x1ac)]===!0x0&&(_0x278df6[_0x1d2539(0x1ac)]={}),_0x278df6[_0x1d2539(0x2a7)]&&(this[_0x1d2539(0x21d)]=new Set(),this[_0x1d2539(0x162)]=!0x1),this['options']=_0x278df6,this[_0x1d2539(0x243)]=_0x451dd3;}[_0xb891c4(0x296)](){const _0x35a099=_0xb891c4;if(this[_0x35a099(0x245)]['noServer'])throw new Error(_0x35a099(0x276));return this[_0x35a099(0x2ad)]?this[_0x35a099(0x2ad)][_0x35a099(0x296)]():null;}[_0xb891c4(0x228)](_0x235b22){const _0x44c527=_0xb891c4;if(this[_0x44c527(0x243)]===_0x49dcec){_0x235b22&&this['once'](_0x44c527(0x228),()=>{const _0x1a3dd3=_0x44c527;_0x235b22(new Error(_0x1a3dd3(0x253)));}),process[_0x44c527(0x18d)](_0x37906d,this);return;}if(_0x235b22&&this[_0x44c527(0x2e8)](_0x44c527(0x228),_0x235b22),this[_0x44c527(0x243)]!==_0x2774b2){if(this['_state']=_0x2774b2,this[_0x44c527(0x245)]['noServer']||this['options'][_0x44c527(0x269)])this[_0x44c527(0x2ad)]&&(this[_0x44c527(0x175)](),this['_removeListeners']=this[_0x44c527(0x2ad)]=null),this[_0x44c527(0x21d)]?this[_0x44c527(0x21d)]['size']?this[_0x44c527(0x162)]=!0x0:process[_0x44c527(0x18d)](_0x37906d,this):process[_0x44c527(0x18d)](_0x37906d,this);else{const _0x1d22f4=this[_0x44c527(0x2ad)];this[_0x44c527(0x175)](),this[_0x44c527(0x175)]=this['_server']=null,_0x1d22f4['close'](()=>{_0x37906d(this);});}}}[_0xb891c4(0x241)](_0x56b4d6){const _0x4455dc=_0xb891c4;if(this[_0x4455dc(0x245)][_0x4455dc(0x246)]){const _0x505c71=_0x56b4d6[_0x4455dc(0x2c0)][_0x4455dc(0x21a)]('?');if((_0x505c71!==-0x1?_0x56b4d6[_0x4455dc(0x2c0)][_0x4455dc(0x22d)](0x0,_0x505c71):_0x56b4d6['url'])!==this[_0x4455dc(0x245)][_0x4455dc(0x246)])return!0x1;}return!0x0;}['handleUpgrade'](_0x1684d3,_0x21c1fd,_0x5aa439,_0x4d49b3){const _0xcb70c4=_0xb891c4;_0x21c1fd['on']('error',_0xa9663f);const _0x3643c0=_0x1684d3[_0xcb70c4(0x19f)][_0xcb70c4(0x24b)],_0x4c238f=_0x1684d3['headers'][_0xcb70c4(0x2fe)],_0x3a29a5=+_0x1684d3[_0xcb70c4(0x19f)][_0xcb70c4(0x1f8)];if(_0x1684d3[_0xcb70c4(0x21f)]!=='GET'){_0x15893c(this,_0x1684d3,_0x21c1fd,0x195,'Invalid\x20HTTP\x20method');return;}if(_0x4c238f===void 0x0||_0x4c238f[_0xcb70c4(0x14b)]()!==_0xcb70c4(0x2bb)){_0x15893c(this,_0x1684d3,_0x21c1fd,0x190,_0xcb70c4(0x158));return;}if(_0x3643c0===void 0x0||!_0x462c49[_0xcb70c4(0x15f)](_0x3643c0)){_0x15893c(this,_0x1684d3,_0x21c1fd,0x190,_0xcb70c4(0x1de));return;}if(_0x3a29a5!==0x8&&_0x3a29a5!==0xd){_0x15893c(this,_0x1684d3,_0x21c1fd,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header');return;}if(!this[_0xcb70c4(0x241)](_0x1684d3)){_0x215d2e(_0x21c1fd,0x190);return;}const _0x104a9d=_0x1684d3['headers']['sec-websocket-protocol'];let _0x1ba454=new Set();if(_0x104a9d!==void 0x0)try{_0x1ba454=_0x4adbe8[_0xcb70c4(0x1ab)](_0x104a9d);}catch{_0x15893c(this,_0x1684d3,_0x21c1fd,0x190,_0xcb70c4(0x16e));return;}const _0x1d3e0c=_0x1684d3[_0xcb70c4(0x19f)]['sec-websocket-extensions'],_0x2bb968={};if(this[_0xcb70c4(0x245)][_0xcb70c4(0x1ac)]&&_0x1d3e0c!==void 0x0){const _0x202097=new _0x40a259(this[_0xcb70c4(0x245)][_0xcb70c4(0x1ac)],!0x0,this[_0xcb70c4(0x245)][_0xcb70c4(0x2d1)]);try{const _0x23a35e=_0x5373fc['parse'](_0x1d3e0c);_0x23a35e[_0x40a259['extensionName']]&&(_0x202097[_0xcb70c4(0x1fd)](_0x23a35e[_0x40a259[_0xcb70c4(0x28c)]]),_0x2bb968[_0x40a259[_0xcb70c4(0x28c)]]=_0x202097);}catch{_0x15893c(this,_0x1684d3,_0x21c1fd,0x190,_0xcb70c4(0x192));return;}}if(this['options'][_0xcb70c4(0x2a0)]){const _0x5dbe28={'origin':_0x1684d3[_0xcb70c4(0x19f)][''+(_0x3a29a5===0x8?_0xcb70c4(0x2f7):'origin')],'secure':!!(_0x1684d3[_0xcb70c4(0x268)][_0xcb70c4(0x2a6)]||_0x1684d3[_0xcb70c4(0x268)][_0xcb70c4(0x2de)]),'req':_0x1684d3};if(this['options'][_0xcb70c4(0x2a0)][_0xcb70c4(0x208)]===0x2){this[_0xcb70c4(0x245)]['verifyClient'](_0x5dbe28,(_0x5f9ce6,_0x483c79,_0x4484c7,_0x284ca1)=>{const _0x5a72ba=_0xcb70c4;if(!_0x5f9ce6)return _0x215d2e(_0x21c1fd,_0x483c79||0x191,_0x4484c7,_0x284ca1);this[_0x5a72ba(0x2f6)](_0x2bb968,_0x3643c0,_0x1ba454,_0x1684d3,_0x21c1fd,_0x5aa439,_0x4d49b3);});return;}if(!this[_0xcb70c4(0x245)][_0xcb70c4(0x2a0)](_0x5dbe28))return _0x215d2e(_0x21c1fd,0x191);}this[_0xcb70c4(0x2f6)](_0x2bb968,_0x3643c0,_0x1ba454,_0x1684d3,_0x21c1fd,_0x5aa439,_0x4d49b3);}['completeUpgrade'](_0x441734,_0x58e07d,_0x45618a,_0x4739e1,_0x47b8d8,_0x4e53a2,_0x41a30d){const _0x2e78ae=_0xb891c4;if(!_0x47b8d8['readable']||!_0x47b8d8['writable'])return _0x47b8d8['destroy']();if(_0x47b8d8[_0x191950])throw new Error(_0x2e78ae(0x2f0));if(this[_0x2e78ae(0x243)]>_0x451dd3)return _0x215d2e(_0x47b8d8,0x1f7);const _0x1098d0=[_0x2e78ae(0x285),_0x2e78ae(0x184),_0x2e78ae(0x150),_0x2e78ae(0x164)+_0x23147d(_0x2e78ae(0x1f4))['update'](_0x58e07d+_0x352eb4)[_0x2e78ae(0x1ca)](_0x2e78ae(0x2a2))],_0x1819f4=new this[(_0x2e78ae(0x245))]['WebSocket'](null,void 0x0,this[_0x2e78ae(0x245)]);if(_0x45618a[_0x2e78ae(0x229)]){const _0x1450f8=this['options'][_0x2e78ae(0x1d1)]?this[_0x2e78ae(0x245)][_0x2e78ae(0x1d1)](_0x45618a,_0x4739e1):_0x45618a[_0x2e78ae(0x1d6)]()[_0x2e78ae(0x1a5)]()['value'];_0x1450f8&&(_0x1098d0[_0x2e78ae(0x197)](_0x2e78ae(0x1aa)+_0x1450f8),_0x1819f4[_0x2e78ae(0x1b9)]=_0x1450f8);}if(_0x441734[_0x40a259['extensionName']]){const _0x3b343a=_0x441734[_0x40a259[_0x2e78ae(0x28c)]][_0x2e78ae(0x19e)],_0x4b3231=_0x5373fc[_0x2e78ae(0x18a)]({[_0x40a259[_0x2e78ae(0x28c)]]:[_0x3b343a]});_0x1098d0[_0x2e78ae(0x197)](_0x2e78ae(0x16f)+_0x4b3231),_0x1819f4['_extensions']=_0x441734;}this[_0x2e78ae(0x173)](_0x2e78ae(0x19f),_0x1098d0,_0x4739e1),_0x47b8d8[_0x2e78ae(0x2bd)](_0x1098d0[_0x2e78ae(0x27e)]('\x0d\x0a')[_0x2e78ae(0x291)]('\x0d\x0a')),_0x47b8d8[_0x2e78ae(0x2cc)](_0x2e78ae(0x2b1),_0xa9663f),_0x1819f4[_0x2e78ae(0x2b8)](_0x47b8d8,_0x4e53a2,{'allowSynchronousEvents':this[_0x2e78ae(0x245)][_0x2e78ae(0x149)],'maxPayload':this['options'][_0x2e78ae(0x2d1)],'skipUTF8Validation':this[_0x2e78ae(0x245)][_0x2e78ae(0x2e6)]}),this[_0x2e78ae(0x21d)]&&(this[_0x2e78ae(0x21d)]['add'](_0x1819f4),_0x1819f4['on'](_0x2e78ae(0x228),()=>{const _0x7763d4=_0x2e78ae;this['clients'][_0x7763d4(0x159)](_0x1819f4),this['_shouldEmitClose']&&!this[_0x7763d4(0x21d)]['size']&&process['nextTick'](_0x37906d,this);})),_0x41a30d(_0x1819f4,_0x4739e1);}}Te=_0x51e3c1;function _0x6711c3(_0x4973b6,_0x22e123){for(const _0x52fa89 of Object['keys'](_0x22e123))_0x4973b6['on'](_0x52fa89,_0x22e123[_0x52fa89]);return function(){const _0x2448b7=_0x40b5;for(const _0x571fe3 of Object['keys'](_0x22e123))_0x4973b6[_0x2448b7(0x2cc)](_0x571fe3,_0x22e123[_0x571fe3]);};}function _0x37906d(_0x1b6197){const _0x48609b=_0xb891c4;_0x1b6197['_state']=_0x49dcec,_0x1b6197[_0x48609b(0x173)](_0x48609b(0x228));}function _0xa9663f(){this['destroy']();}function _0x215d2e(_0x4d8fa5,_0x5a8f2a,_0x2c2a45,_0x3d5d48){const _0x17f6ae=_0xb891c4;_0x2c2a45=_0x2c2a45||_0xcb7539[_0x17f6ae(0x1e0)][_0x5a8f2a],_0x3d5d48={'Connection':'close','Content-Type':_0x17f6ae(0x23a),'Content-Length':Buffer['byteLength'](_0x2c2a45),..._0x3d5d48},_0x4d8fa5[_0x17f6ae(0x2e8)](_0x17f6ae(0x200),_0x4d8fa5[_0x17f6ae(0x267)]),_0x4d8fa5[_0x17f6ae(0x194)](_0x17f6ae(0x242)+_0x5a8f2a+'\x20'+_0xcb7539[_0x17f6ae(0x1e0)][_0x5a8f2a]+'\x0d\x0a'+Object[_0x17f6ae(0x2e4)](_0x3d5d48)[_0x17f6ae(0x18e)](_0x3e508b=>_0x3e508b+':\x20'+_0x3d5d48[_0x3e508b])['join']('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0x2c2a45);}function _0x15893c(_0x359b1d,_0x5ede6c,_0x485337,_0x5201d1,_0x2b2332){const _0x268d46=_0xb891c4;if(_0x359b1d[_0x268d46(0x196)]('wsClientError')){const _0x2cfe1a=new Error(_0x2b2332);Error[_0x268d46(0x2ae)](_0x2cfe1a,_0x15893c),_0x359b1d['emit'](_0x268d46(0x17f),_0x2cfe1a,_0x485337,_0x5ede6c);}else _0x215d2e(_0x485337,_0x5201d1,_0x2b2332);}return Te;}er();var tr=Object[_0x428a1f(0x240)],rr=(_0x514d0d,_0x5cdef4,_0x5691f9,_0x5ddedd)=>{const _0x38865d=_0x428a1f;for(var _0x343e7e=_0x5ddedd>0x1?void 0x0:_0x5ddedd?tr(_0x5cdef4,_0x5691f9):_0x5cdef4,_0x299806=_0x514d0d[_0x38865d(0x208)]-0x1,_0x289d88;_0x299806>=0x0;_0x299806--)(_0x289d88=_0x514d0d[_0x299806])&&(_0x343e7e=_0x289d88(_0x343e7e)||_0x343e7e);return _0x343e7e;},sr=(_0x21ebec,_0x205348)=>(_0x2aaa65,_0x519dd2)=>_0x205348(_0x2aaa65,_0x519dd2,_0x21ebec);let Ne=class extends _0x4cdc4f{constructor(_0xa92443){const _0x483e2a=_0x428a1f;super(),this[_0x483e2a(0x29a)]=_0xa92443;}[_0x428a1f(0x156)](_0x4d439b){const _0x43064c=_0x428a1f;var _0x168c91;const _0x49bb39=(_0x168c91=this[_0x43064c(0x29a)][_0x43064c(0x1be)](Be))==null?void 0x0:_0x168c91[_0x43064c(0x1d3)];try{const _0x4d7f5b=new Qt(_0x4d439b,{'headers':{..._0x49bb39}}),_0x5171c2=new _0x507d60();return{'URL':_0x4d439b,'close':(_0x549520,_0x3f119b)=>{const _0xe16d18=_0x43064c;_0x4d7f5b[_0xe16d18(0x228)](_0x549520,_0x3f119b),_0x5171c2[_0xe16d18(0x297)]();},'send':_0x5cc227=>{const _0x2e405f=_0x43064c;_0x4d7f5b[_0x2e405f(0x239)](_0x5cc227);},'open$':new _0x1aeb65(_0x572d55=>{const _0x5c3b70=_0x43064c,_0x104fd9=_0x8097f6=>_0x572d55[_0x5c3b70(0x1a5)](_0x8097f6);_0x4d7f5b['addEventListener'](_0x5c3b70(0x2ef),_0x104fd9),_0x5171c2['add'](_0x4bad05(()=>_0x4d7f5b['removeEventListener'](_0x5c3b70(0x2ef),_0x104fd9)));})[_0x43064c(0x2c2)](_0x300abd()),'close$':new _0x1aeb65(_0x176ae6=>{const _0x16a2a0=_0x43064c,_0x3a22d2=_0x5aaeb4=>_0x176ae6[_0x16a2a0(0x1a5)](_0x5aaeb4);_0x4d7f5b[_0x16a2a0(0x2fa)](_0x16a2a0(0x228),_0x3a22d2),_0x5171c2[_0x16a2a0(0x2a1)](_0x4bad05(()=>_0x4d7f5b[_0x16a2a0(0x2f2)](_0x16a2a0(0x228),_0x3a22d2)));})[_0x43064c(0x2c2)](_0x300abd()),'error$':new _0x1aeb65(_0x5057b2=>{const _0x521a7b=_0x43064c,_0x544e21=_0x47efb1=>_0x5057b2['next'](_0x47efb1);_0x4d7f5b[_0x521a7b(0x2fa)]('error',_0x544e21),_0x5171c2[_0x521a7b(0x2a1)](_0x4bad05(()=>_0x4d7f5b[_0x521a7b(0x2f2)]('error',_0x544e21)));})['pipe'](_0x300abd()),'message$':new _0x1aeb65(_0x11b870=>{const _0x7a7da4=_0x43064c,_0x2ed92d=_0x42a78f=>_0x11b870[_0x7a7da4(0x1a5)](_0x42a78f);_0x4d7f5b[_0x7a7da4(0x2fa)]('message',_0x2ed92d),_0x5171c2[_0x7a7da4(0x2a1)](_0x4bad05(()=>_0x4d7f5b[_0x7a7da4(0x2f2)](_0x7a7da4(0x219),_0x2ed92d)));})[_0x43064c(0x2c2)](_0x300abd())};}catch(_0x415530){return console[_0x43064c(0x2b1)](_0x415530),null;}}};Ne=rr([sr(0x0,_0xb019a5)],Ne);var ir=Object[_0x428a1f(0x279)],nr=Object[_0x428a1f(0x240)],or=(_0x2fadf7,_0x562402,_0x229478)=>_0x562402 in _0x2fadf7?ir(_0x2fadf7,_0x562402,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x229478}):_0x2fadf7[_0x562402]=_0x229478,ar=(_0xd82acd,_0x4e3aab,_0x5c4b1b,_0x4a5135)=>{const _0x1b4fbc=_0x428a1f;for(var _0x4d3158=_0x4a5135>0x1?void 0x0:_0x4a5135?nr(_0x4e3aab,_0x5c4b1b):_0x4e3aab,_0x417a12=_0xd82acd[_0x1b4fbc(0x208)]-0x1,_0x1dfc68;_0x417a12>=0x0;_0x417a12--)(_0x1dfc68=_0xd82acd[_0x417a12])&&(_0x4d3158=_0x1dfc68(_0x4d3158)||_0x4d3158);return _0x4d3158;},ke=(_0x42f8a7,_0x568785)=>(_0x390b0b,_0x4fe732)=>_0x568785(_0x390b0b,_0x4fe732,_0x42f8a7),lr=(_0xf73c5c,_0x24a129,_0x21b6c4)=>or(_0xf73c5c,_0x24a129+'',_0x21b6c4);let Pe=class extends _0x2a6234{constructor(_0x4a3f38=Ft,_0x5043b3,_0x265208,_0x290417){const _0x33a151=_0x428a1f;_0x4a3f38[_0x33a151(0x1d3)]||_0x5043b3['warn']('[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.'),super(),this[_0x33a151(0x29a)]=_0x265208,this['_injector']=_0x290417,this[_0x33a151(0x29a)][_0x33a151(0x163)](Be,_0x4a3f38);}['onStarting'](){this['_registerDependencies']();}[_0x428a1f(0x14a)](){const _0x3dede7=_0x428a1f;_0x53d611(this[_0x3dede7(0x2b5)],[[_0x3f18d4,{'useClass':Ne}]]);}};lr(Pe,_0x428a1f(0x2eb),_0x428a1f(0x195)),Pe=ar([_0x1d617c(_0x12537f),ke(0x1,_0x210727),ke(0x2,_0xb019a5),ke(0x3,_0x274da2(_0x20237a))],Pe);var fr=Object['getOwnPropertyDescriptor'],cr=(_0x43bd17,_0x2c91bd,_0x5b4589,_0x439b58)=>{const _0x380a90=_0x428a1f;for(var _0x53c408=_0x439b58>0x1?void 0x0:_0x439b58?fr(_0x2c91bd,_0x5b4589):_0x2c91bd,_0x5439d7=_0x43bd17[_0x380a90(0x208)]-0x1,_0xb2d72f;_0x5439d7>=0x0;_0x5439d7--)(_0xb2d72f=_0x43bd17[_0x5439d7])&&(_0x53c408=_0xb2d72f(_0x53c408)||_0x53c408);return _0x53c408;},se=(_0x38fc07,_0x328940)=>(_0x5d871a,_0x147e83)=>_0x328940(_0x5d871a,_0x147e83,_0x38fc07);let at=class extends _0x500bf6{constructor(_0x129dc4,_0x4c7afe,_0x62a66b,_0x21fc60,_0x4523d7){const _0x14a079=_0x428a1f;super(_0x129dc4,_0x4c7afe,_0x62a66b,_0x21fc60,_0x4523d7);const _0x1de32a=this[_0x14a079(0x29a)][_0x14a079(0x1be)](Be);this[_0x14a079(0x23d)][_0x14a079(0x2c3)]({'interceptor':(_0x3f1949,_0x4f57ab)=>{const _0x20a9ff=_0x14a079;var _0x506b94;const _0x3fc206=_0x3f1949[_0x20a9ff(0x19f)];return(_0x506b94=_0x1de32a==null?void 0x0:_0x1de32a[_0x20a9ff(0x1d3)])!=null&&_0x506b94[_0x20a9ff(0x1f6)]&&_0x3fc206[_0x20a9ff(0x1a4)]('Cookie',_0x1de32a[_0x20a9ff(0x1d3)][_0x20a9ff(0x1f6)]),_0x4f57ab(_0x3f1949);}});}async['createSocket'](_0x57192d){const _0x254b2c=_0x428a1f;return this[_0x254b2c(0x25b)](_0x57192d);}};at=cr([se(0x0,_0x274da2(_0x20237a)),se(0x1,_0x274da2(_0x5154ef)),se(0x2,_0xb019a5),se(0x3,_0x210727),se(0x4,_0x1a3b7e)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
1
+ const _0x34176d=_0x4f95;(function(_0x57c8f6,_0x21cf2e){const _0xe01f5a=_0x4f95,_0x487186=_0x57c8f6();while(!![]){try{const _0x3c4dbb=-parseInt(_0xe01f5a(0x2fc))/0x1*(-parseInt(_0xe01f5a(0x274))/0x2)+parseInt(_0xe01f5a(0x1fc))/0x3+-parseInt(_0xe01f5a(0x29a))/0x4+parseInt(_0xe01f5a(0x30d))/0x5*(-parseInt(_0xe01f5a(0x342))/0x6)+-parseInt(_0xe01f5a(0x2f6))/0x7*(parseInt(_0xe01f5a(0x229))/0x8)+-parseInt(_0xe01f5a(0x197))/0x9+parseInt(_0xe01f5a(0x1b9))/0xa;if(_0x3c4dbb===_0x21cf2e)break;else _0x487186['push'](_0x487186['shift']());}catch(_0x3471b1){_0x487186['push'](_0x487186['shift']());}}}(_0x5125,0xb3d34));import{UniverCollaborationClientPlugin as _0x4bf7ee,CollaborationSocketService as _0x4a71ce}from'@univerjs-pro/collaboration-client';import{Disposable as _0x270128,DisposableCollection as _0x3391d8,toDisposable as _0x1fd72f,IConfigService as _0x9c5ac2,DependentOn as _0x2488c8,ILogService as _0x4c6c50,Inject as _0x3caec2,Injector as _0x50cec9,Plugin as _0x35e8ce,registerDependencies as _0x2b10f3}from'@univerjs/core';import{ISocketService as _0x470e1a,HTTPService as _0x111a46}from'@univerjs/network';import{Observable as _0x41ab3c,share as _0x785b11}from'rxjs';import _0x29cd67 from'events';import _0x1aae83 from'https';import _0x1d9926 from'http';import _0x3e958d from'net';import _0x53f427 from'tls';import _0x499ed5 from'crypto';import _0x55da56 from'stream';import _0x1670d8 from'url';import _0x34b7e7 from'zlib';import _0x4adad8 from'buffer';import{ISnapshotServerService as _0x22f549}from'@univerjs-pro/collaboration';const Be=_0x34176d(0x33c),Ft={'customHeaders':{}};function _0x5125(){const _0x1b4551=['timeout','mask','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','4120MdKUmr','onopen','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','port','read','normalizeParams','default','type','isPaused','_skipUTF8Validation','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','call','kListener','clients','_max_window_bits','href','password','_options','_deflate','WebSocket','dispatch','removeEventListener','slice','createConnection','_binaryType','Connection:\x20Upgrade','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','find','bind','readyState','handshakeTimeout','_queue','_fragments','objectMode','string','unmask','keys','OPEN','threshold','_receiver','MASK\x20must\x20be\x20set','base64','headers','sec-websocket-version','write','socketPath','byteLength','Sec-WebSocket-Extensions','sendFrame','Parameter\x20\x22','dataMessage','protocolVersion','replace','Maximum\x20redirects\x20exceeded','needDrain','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','_compress','perMessageDeflate','end','kCode','_state','client_max_window_bits','\x22\x20must\x20have\x20only\x20a\x20single\x20value','WS_ERR_INVALID_CLOSE_CODE','client_no_context_takeover','_readyState','Upgrade','\x22:\x20','permessage-deflate','\x22\x20subprotocol\x20is\x20duplicated','_write','server_max_window_bits','readUInt16BE','authorized','sec-websocket-accept','10fbsmDG','_paused','invalid\x20UTF-8\x20sequence','writeUIntBE','kMessage','\x0d\x0a\x0d\x0a','Unknown\x20parameter\x20\x22','removeListener','update','_buffers','test','entries','join','jobs','toStringTag','_url','client','HTTP/1.1\x20','WS_NO_UTF_8_VALIDATE','http:','opcode','wasClean','sec-websocket-protocol','allocUnsafe','forEach','Z_DEFAULT_WINDOWBITS','rsv1','websocket','Z_SYNC_FLUSH','removeAllListeners','_bufferedAmount','clientNoContextTakeover','concurrencyLimit','offer','CLOSED','nextTick','consume','getPayloadLength16','2753160KjueVW','Sec-WebSocket-Extensions:\x20','redirect','__esModule','GET','parse','listening','exports','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','getBlobData','_compressed','unexpected-response','toLowerCase','has','host','terminate','connect','readOnly','File','buffer','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','onmessage','dequeue','number','once','enqueue','Server\x20sent\x20an\x20invalid\x20subprotocol','_masked','auth','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','emit','_errored','createError','FIN\x20must\x20be\x20set','CLOSING','defineProperty','abort','delete','bufferedAmount','length','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','Sec-WebSocket-Accept:\x20','fin','readable','cleanup','cork','_originalSecure','encrypted','_maskBuffer','push','frame','kError','acceptAsServer','sha1','pluginName','finished','isArray','maxPayload','Sec-WebSocket-Protocol','Sec-WebSocket-Protocol:\x20','verifyClient','handleProtocols','_destroy','catch','STATUS_CODES','Opening\x20handshake\x20has\x20timed\x20out','_maxPayload','origin','flush','_closeCode','decompress','add','error','includes','WS_ERR_INVALID_UTF8','kWasClean','_closeMessage','_configService','setTimeout','format','isServer','connection','_closeFrameReceived','_final','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','constructor','finishRequest','object','conclude','getInfo','isValidUTF8','_generateMask','12481XwHmwe','invalid\x20opcode\x200','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','MASK\x20must\x20be\x20clear','destroyed','maskBuffer','175671cYsIWL','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','_originalIpc','listenerCount','_errorEmitted','listen','options','Invalid\x20Sec-WebSocket-Accept\x20header','_inflate','getMask','getOwnPropertyDescriptor','isIP','_firstFragment','_autoPong','resume','then','_protocol','5XKEchy','onclose','byteOffset','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','_messageLength','url','clientTracking','allowSynchronousEvents','warn','cookie','digest','map','zlibInflateOptions','WS_ERR_EXPECTED_MASK','alloc','The\x20URL\x20contains\x20a\x20fragment\x20identifier','send','compress','_totalPayloadLength','freeze','server_no_context_takeover','server','pause','_mask','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','emitClose','_extensions','readUInt32BE','prototype','env','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','skipUTF8Validation','arraybuffer','size','_payloadLength','reason','The\x20URL\x27s\x20pathname\x20is\x20empty','text/html','_loop','onStarting','kData','response','Invalid\x20Sec-WebSocket-Protocol\x20header','open','https:','listeners','indexOf','collaboration-client-node.config','generateMask','value','_registerDependencies','Invalid\x20Sec-WebSocket-Extensions\x20header','backlog','7096956WJgvjp','_sender','Invalid\x20WebSocket\x20frame:\x20','_no_context_takeover','serverNoContextTakeover','_originalHostOrSocketPath','Unsupported\x20protocol\x20version:\x20','toString','username','_bufferedBytes','shift','Module','12788397rISyCh','get','_read','_closeFrameSent','shouldHandle','data','registerHTTPInterceptor','haveLength','sec-websocket-key','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','extensionName','zlibDeflateOptions','_socket','WS_ERR_UNEXPECTED_MASK','fragments','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','total-length','address','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','authorization','RSV1\x20must\x20be\x20clear','Max\x20payload\x20size\x20exceeded','isView','_removeListeners','addEventListener','apply','_server','WS_ERR_INVALID_OPCODE','kType','HTTP/1.1\x20101\x20Switching\x20Protocols','extensions','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','unshift','buffers','36876210PeKMha','pending','setSocket','pathname','_allowSynchronousEvents','_threshold','pipe','_shouldEmitClose','close','wsClientError','_req','noServer','_fin','values','_opcode','completeUpgrade','method','wss:','getData','_redirects','handleUpgrade','binaryType','pow','getPayloadLength64','servername','kIsForOnEventAttribute','Blob','destroy','finish','function','species','invalid\x20opcode\x20','Invalid\x20value\x20for\x20parameter\x20\x22','drain','message','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','onerror','arrayBuffer','Server\x20sent\x20no\x20subprotocol','WS_ERR_UNEXPECTED_RSV_2_3','serverMaxWindowBits','set','_closeTimer','location','autoPong','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','getConfig','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','writeUInt16BE','kTarget','charCodeAt','isBuffer','concat','The\x20\x22','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','ws:','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','Invalid\x20Upgrade\x20header','Unexpected\x20end\x20of\x20input','createDeflateRaw','hostname','concurrency','Unexpected\x20character\x20at\x20index\x20','ping','statusCode','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','Origin','1142646EyAxQn','_injector','socket','nodebuffer','captureStackTrace','_isServer','WS_ERR_UNEXPECTED_RSV_1','defaultPort','setNoDelay','hasOwnProperty','split','create','clientMaxWindowBits','next','path','pong','CONNECTING','handleEvent','code','errorEmitted','reset','_readableState','_fragmented','text/plain','controlMessage','target','customHeaders','blob','createSocket','endEmitted','protocol','params','writeHead','startLoop','upgrade','createInflateRaw','acceptAsClient','WS_NO_BUFFER_UTIL','accept','_writableState','callback','from'];_0x5125=function(){return _0x1b4551;};return _0x5125();}function jt(_0x4c4c55){const _0x4c36e3=_0x34176d;return _0x4c4c55&&_0x4c4c55[_0x4c36e3(0x29d)]&&Object[_0x4c36e3(0x329)][_0x4c36e3(0x205)][_0x4c36e3(0x234)](_0x4c4c55,_0x4c36e3(0x22f))?_0x4c4c55['default']:_0x4c4c55;}function ut(_0x41261a){const _0x3534ef=_0x34176d;if(Object['prototype']['hasOwnProperty']['call'](_0x41261a,'__esModule'))return _0x41261a;var _0x14eeb0=_0x41261a[_0x3534ef(0x22f)];if(typeof _0x14eeb0==_0x3534ef(0x1d6)){var _0x112863=function _0x17c1cc(){const _0x409022=_0x3534ef;return this instanceof _0x17c1cc?Reflect['construct'](_0x14eeb0,arguments,this[_0x409022(0x2ef)]):_0x14eeb0['apply'](this,arguments);};_0x112863[_0x3534ef(0x329)]=_0x14eeb0[_0x3534ef(0x329)];}else _0x112863={};return Object['defineProperty'](_0x112863,_0x3534ef(0x29d),{'value':!0x0}),Object[_0x3534ef(0x24d)](_0x41261a)[_0x3534ef(0x28c)](function(_0x10b415){const _0x148b93=_0x3534ef;var _0x57edf4=Object[_0x148b93(0x306)](_0x41261a,_0x10b415);Object['defineProperty'](_0x112863,_0x10b415,_0x57edf4[_0x148b93(0x198)]?_0x57edf4:{'enumerable':!0x0,'get':function(){return _0x41261a[_0x10b415];}});}),_0x112863;}var te={'exports':{}},ge,Ye;function V(){const _0x5602c5=_0x34176d;if(Ye)return ge;Ye=0x1;const _0x5d0915=[_0x5602c5(0x1ff),_0x5602c5(0x32d),_0x5602c5(0x1a5)],_0x441cdd=typeof Blob<'u';return _0x441cdd&&_0x5d0915[_0x5602c5(0x2cb)](_0x5602c5(0x217)),ge={'BINARY_TYPES':_0x5d0915,'EMPTY_BUFFER':Buffer[_0x5602c5(0x31b)](0x0),'GUID':'258EAFA5-E914-47DA-95CA-C5AB0DC85B11','hasBlob':_0x441cdd,'kForOnEventAttribute':Symbol(_0x5602c5(0x1d2)),'kListener':Symbol(_0x5602c5(0x235)),'kStatusCode':Symbol('status-code'),'kWebSocket':Symbol(_0x5602c5(0x28f)),'NOOP':()=>{}},ge;}const Wt={},Gt=Object['freeze'](Object[_0x34176d(0x2bd)]({'__proto__':null,'default':Wt},Symbol[_0x34176d(0x282)],{'value':_0x34176d(0x196)})),Vt=ut(Gt);var Ke;function ce(){const _0x197ea7=_0x34176d;if(Ke)return te['exports'];Ke=0x1;const {EMPTY_BUFFER:_0x2a3df5}=V(),_0x43df7e=Buffer[Symbol[_0x197ea7(0x1d7)]];function _0x1436cd(_0x19e7b1,_0x1cbf66){const _0x36bdb3=_0x197ea7;if(_0x19e7b1['length']===0x0)return _0x2a3df5;if(_0x19e7b1[_0x36bdb3(0x2c1)]===0x1)return _0x19e7b1[0x0];const _0x7e550b=Buffer[_0x36bdb3(0x28b)](_0x1cbf66);let _0x215599=0x0;for(let _0x39444b=0x0;_0x39444b<_0x19e7b1['length'];_0x39444b++){const _0x89f4ba=_0x19e7b1[_0x39444b];_0x7e550b['set'](_0x89f4ba,_0x215599),_0x215599+=_0x89f4ba[_0x36bdb3(0x2c1)];}return _0x215599<_0x1cbf66?new _0x43df7e(_0x7e550b[_0x36bdb3(0x2ad)],_0x7e550b[_0x36bdb3(0x30f)],_0x215599):_0x7e550b;}function _0x3da161(_0x20b496,_0x1aea6d,_0x55ea45,_0x2eb064,_0x1b4dc0){for(let _0x1dbe95=0x0;_0x1dbe95<_0x1b4dc0;_0x1dbe95++)_0x55ea45[_0x2eb064+_0x1dbe95]=_0x20b496[_0x1dbe95]^_0x1aea6d[_0x1dbe95&0x3];}function _0x4499f2(_0x5571b2,_0x4e08d2){for(let _0x2f36e2=0x0;_0x2f36e2<_0x5571b2['length'];_0x2f36e2++)_0x5571b2[_0x2f36e2]^=_0x4e08d2[_0x2f36e2&0x3];}function _0x186b72(_0x4b7b75){const _0xade36d=_0x197ea7;return _0x4b7b75['length']===_0x4b7b75['buffer'][_0xade36d(0x257)]?_0x4b7b75[_0xade36d(0x2ad)]:_0x4b7b75[_0xade36d(0x2ad)][_0xade36d(0x23f)](_0x4b7b75['byteOffset'],_0x4b7b75[_0xade36d(0x30f)]+_0x4b7b75[_0xade36d(0x2c1)]);}function _0x452a55(_0x366406){const _0x42a209=_0x197ea7;if(_0x452a55[_0x42a209(0x2ab)]=!0x0,Buffer[_0x42a209(0x1ec)](_0x366406))return _0x366406;let _0x9444cb;return _0x366406 instanceof ArrayBuffer?_0x9444cb=new _0x43df7e(_0x366406):ArrayBuffer[_0x42a209(0x1ad)](_0x366406)?_0x9444cb=new _0x43df7e(_0x366406[_0x42a209(0x2ad)],_0x366406[_0x42a209(0x30f)],_0x366406[_0x42a209(0x257)]):(_0x9444cb=Buffer[_0x42a209(0x225)](_0x366406),_0x452a55[_0x42a209(0x2ab)]=!0x1),_0x9444cb;}if(te[_0x197ea7(0x2a1)]={'concat':_0x1436cd,'mask':_0x3da161,'toArrayBuffer':_0x186b72,'toBuffer':_0x452a55,'unmask':_0x4499f2},!process['env'][_0x197ea7(0x221)])try{const _0x48118c=Vt;te[_0x197ea7(0x2a1)]['mask']=function(_0x2fe7ae,_0x4e9126,_0x6ac542,_0xe77ff4,_0x3ea690){_0x3ea690<0x30?_0x3da161(_0x2fe7ae,_0x4e9126,_0x6ac542,_0xe77ff4,_0x3ea690):_0x48118c['mask'](_0x2fe7ae,_0x4e9126,_0x6ac542,_0xe77ff4,_0x3ea690);},te[_0x197ea7(0x2a1)]['unmask']=function(_0x10f116,_0x4aa820){const _0x25b627=_0x197ea7;_0x10f116['length']<0x20?_0x4499f2(_0x10f116,_0x4aa820):_0x48118c[_0x25b627(0x24c)](_0x10f116,_0x4aa820);};}catch{}return te['exports'];}var ye,Xe;function qt(){const _0x28b5f1=_0x34176d;if(Xe)return ye;Xe=0x1;const _0x2b1c93=Symbol('kDone'),_0x4bc08e=Symbol('kRun');class _0x3e9a27{constructor(_0x25e879){const _0x7369a4=_0x4f95;this[_0x2b1c93]=()=>{this['pending']--,this[_0x4bc08e]();},this[_0x7369a4(0x1f6)]=_0x25e879||0x1/0x0,this['jobs']=[],this[_0x7369a4(0x1ba)]=0x0;}[_0x28b5f1(0x2e1)](_0xa29a9){const _0x1b4fe5=_0x28b5f1;this[_0x1b4fe5(0x281)][_0x1b4fe5(0x2cb)](_0xa29a9),this[_0x4bc08e]();}[_0x4bc08e](){const _0xb001e7=_0x28b5f1;if(this[_0xb001e7(0x1ba)]!==this['concurrency']&&this[_0xb001e7(0x281)][_0xb001e7(0x2c1)]){const _0x3cc576=this[_0xb001e7(0x281)][_0xb001e7(0x195)]();this[_0xb001e7(0x1ba)]++,_0x3cc576(this[_0x2b1c93]);}}}return ye=_0x3e9a27,ye;}var ve,Ze;function he(){const _0x9a9e5c=_0x34176d;if(Ze)return ve;Ze=0x1;const _0x5aaa19=_0x34b7e7,_0x1c21c2=ce(),_0x1d43cc=qt(),{kStatusCode:_0x46e3c8}=V(),_0x287170=Buffer[Symbol[_0x9a9e5c(0x1d7)]],_0x3eaa9b=Buffer[_0x9a9e5c(0x225)]([0x0,0x0,0xff,0xff]),_0x58bdce=Symbol(_0x9a9e5c(0x26d)),_0x64a432=Symbol(_0x9a9e5c(0x1a7)),_0x15d9a9=Symbol(_0x9a9e5c(0x224)),_0x513d3c=Symbol(_0x9a9e5c(0x1b8)),_0x114ddb=Symbol(_0x9a9e5c(0x2e2));let _0x55a7cc;class _0x30390d{constructor(_0x14da4f,_0xb7e0ef,_0x3c00be){const _0x322b2a=_0x9a9e5c;if(this[_0x322b2a(0x2dc)]=_0x3c00be|0x0,this[_0x322b2a(0x23a)]=_0x14da4f||{},this[_0x322b2a(0x1be)]=this[_0x322b2a(0x23a)][_0x322b2a(0x24f)]!==void 0x0?this[_0x322b2a(0x23a)][_0x322b2a(0x24f)]:0x400,this[_0x322b2a(0x201)]=!!_0xb7e0ef,this[_0x322b2a(0x23b)]=null,this[_0x322b2a(0x304)]=null,this[_0x322b2a(0x21b)]=null,!_0x55a7cc){const _0x56d3bd=this[_0x322b2a(0x23a)]['concurrencyLimit']!==void 0x0?this[_0x322b2a(0x23a)][_0x322b2a(0x294)]:0xa;_0x55a7cc=new _0x1d43cc(_0x56d3bd);}}static get[_0x9a9e5c(0x1a1)](){const _0x1471df=_0x9a9e5c;return _0x1471df(0x26d);}[_0x9a9e5c(0x295)](){const _0x3027cd=_0x9a9e5c,_0xc63c6={};return this[_0x3027cd(0x23a)][_0x3027cd(0x346)]&&(_0xc63c6['server_no_context_takeover']=!0x0),this[_0x3027cd(0x23a)][_0x3027cd(0x293)]&&(_0xc63c6[_0x3027cd(0x269)]=!0x0),this['_options'][_0x3027cd(0x1e1)]&&(_0xc63c6[_0x3027cd(0x270)]=this[_0x3027cd(0x23a)]['serverMaxWindowBits']),this['_options'][_0x3027cd(0x208)]?_0xc63c6[_0x3027cd(0x266)]=this[_0x3027cd(0x23a)][_0x3027cd(0x208)]:this[_0x3027cd(0x23a)][_0x3027cd(0x208)]==null&&(_0xc63c6['client_max_window_bits']=!0x0),_0xc63c6;}[_0x9a9e5c(0x222)](_0x595dc8){const _0x309837=_0x9a9e5c;return _0x595dc8=this[_0x309837(0x22e)](_0x595dc8),this[_0x309837(0x21b)]=this[_0x309837(0x201)]?this[_0x309837(0x2ce)](_0x595dc8):this[_0x309837(0x220)](_0x595dc8),this[_0x309837(0x21b)];}[_0x9a9e5c(0x2c6)](){const _0xb8e0d5=_0x9a9e5c;if(this[_0xb8e0d5(0x304)]&&(this[_0xb8e0d5(0x304)][_0xb8e0d5(0x1c1)](),this[_0xb8e0d5(0x304)]=null),this['_deflate']){const _0x3275bf=this[_0xb8e0d5(0x23b)][_0x15d9a9];this[_0xb8e0d5(0x23b)]['close'](),this[_0xb8e0d5(0x23b)]=null,_0x3275bf&&_0x3275bf(new Error(_0xb8e0d5(0x325)));}}['acceptAsServer'](_0x5218c0){const _0x4f4a00=_0x9a9e5c,_0x540396=this[_0x4f4a00(0x23a)],_0x2cf85b=_0x5218c0[_0x4f4a00(0x244)](_0x354362=>!(_0x540396[_0x4f4a00(0x346)]===!0x1&&_0x354362[_0x4f4a00(0x321)]||_0x354362[_0x4f4a00(0x270)]&&(_0x540396['serverMaxWindowBits']===!0x1||typeof _0x540396[_0x4f4a00(0x1e1)]==_0x4f4a00(0x2b1)&&_0x540396['serverMaxWindowBits']>_0x354362[_0x4f4a00(0x270)])||typeof _0x540396[_0x4f4a00(0x208)]==_0x4f4a00(0x2b1)&&!_0x354362['client_max_window_bits']));if(!_0x2cf85b)throw new Error(_0x4f4a00(0x2b7));return _0x540396[_0x4f4a00(0x346)]&&(_0x2cf85b[_0x4f4a00(0x321)]=!0x0),_0x540396[_0x4f4a00(0x293)]&&(_0x2cf85b['client_no_context_takeover']=!0x0),typeof _0x540396[_0x4f4a00(0x1e1)]==_0x4f4a00(0x2b1)&&(_0x2cf85b[_0x4f4a00(0x270)]=_0x540396[_0x4f4a00(0x1e1)]),typeof _0x540396[_0x4f4a00(0x208)]==_0x4f4a00(0x2b1)?_0x2cf85b['client_max_window_bits']=_0x540396['clientMaxWindowBits']:(_0x2cf85b[_0x4f4a00(0x266)]===!0x0||_0x540396[_0x4f4a00(0x208)]===!0x1)&&delete _0x2cf85b[_0x4f4a00(0x266)],_0x2cf85b;}['acceptAsClient'](_0xa02d60){const _0x1ea2e7=_0x9a9e5c,_0x214478=_0xa02d60[0x0];if(this[_0x1ea2e7(0x23a)]['clientNoContextTakeover']===!0x1&&_0x214478[_0x1ea2e7(0x269)])throw new Error(_0x1ea2e7(0x2ae));if(!_0x214478[_0x1ea2e7(0x266)])typeof this[_0x1ea2e7(0x23a)][_0x1ea2e7(0x208)]==_0x1ea2e7(0x2b1)&&(_0x214478['client_max_window_bits']=this[_0x1ea2e7(0x23a)][_0x1ea2e7(0x208)]);else{if(this['_options'][_0x1ea2e7(0x208)]===!0x1||typeof this[_0x1ea2e7(0x23a)]['clientMaxWindowBits']==_0x1ea2e7(0x2b1)&&_0x214478[_0x1ea2e7(0x266)]>this[_0x1ea2e7(0x23a)][_0x1ea2e7(0x208)])throw new Error(_0x1ea2e7(0x1a0));}return _0x214478;}['normalizeParams'](_0x15aa13){return _0x15aa13['forEach'](_0x57d549=>{const _0x27ca5f=_0x4f95;Object['keys'](_0x57d549)[_0x27ca5f(0x28c)](_0x432ff1=>{const _0x32af46=_0x27ca5f;let _0x4c5c98=_0x57d549[_0x432ff1];if(_0x4c5c98['length']>0x1)throw new Error(_0x32af46(0x25a)+_0x432ff1+_0x32af46(0x267));if(_0x4c5c98=_0x4c5c98[0x0],_0x432ff1==='client_max_window_bits'){if(_0x4c5c98!==!0x0){const _0x381957=+_0x4c5c98;if(!Number['isInteger'](_0x381957)||_0x381957<0x8||_0x381957>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x432ff1+_0x32af46(0x26c)+_0x4c5c98);_0x4c5c98=_0x381957;}else{if(!this[_0x32af46(0x201)])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x432ff1+_0x32af46(0x26c)+_0x4c5c98);}}else{if(_0x432ff1===_0x32af46(0x270)){const _0x4399fd=+_0x4c5c98;if(!Number['isInteger'](_0x4399fd)||_0x4399fd<0x8||_0x4399fd>0xf)throw new TypeError(_0x32af46(0x1d9)+_0x432ff1+'\x22:\x20'+_0x4c5c98);_0x4c5c98=_0x4399fd;}else{if(_0x432ff1==='client_no_context_takeover'||_0x432ff1==='server_no_context_takeover'){if(_0x4c5c98!==!0x0)throw new TypeError(_0x32af46(0x1d9)+_0x432ff1+_0x32af46(0x26c)+_0x4c5c98);}else throw new Error(_0x32af46(0x27a)+_0x432ff1+'\x22');}}_0x57d549[_0x432ff1]=_0x4c5c98;});}),_0x15aa13;}['decompress'](_0x3430ec,_0x3bd9a7,_0x4168fa){const _0xc32675=_0x9a9e5c;_0x55a7cc[_0xc32675(0x2e1)](_0x11fe57=>{this['_decompress'](_0x3430ec,_0x3bd9a7,(_0x59ede3,_0x377560)=>{_0x11fe57(),_0x4168fa(_0x59ede3,_0x377560);});});}[_0x9a9e5c(0x31e)](_0x4939c9,_0x1a6877,_0xb86af9){_0x55a7cc['add'](_0x4124d5=>{const _0x12605e=_0x4f95;this[_0x12605e(0x261)](_0x4939c9,_0x1a6877,(_0x1a13e7,_0x3e8647)=>{_0x4124d5(),_0xb86af9(_0x1a13e7,_0x3e8647);});});}['_decompress'](_0x373dba,_0x37df1f,_0x473f06){const _0x28eca5=_0x9a9e5c,_0x47d422=this[_0x28eca5(0x201)]?'client':_0x28eca5(0x322);if(!this[_0x28eca5(0x304)]){const _0x4ac4b8=_0x47d422+'_max_window_bits',_0x144eac=typeof this[_0x28eca5(0x21b)][_0x4ac4b8]!='number'?_0x5aaa19[_0x28eca5(0x28d)]:this[_0x28eca5(0x21b)][_0x4ac4b8];this['_inflate']=_0x5aaa19[_0x28eca5(0x21f)]({...this[_0x28eca5(0x23a)][_0x28eca5(0x319)],'windowBits':_0x144eac}),this[_0x28eca5(0x304)][_0x58bdce]=this,this[_0x28eca5(0x304)][_0x64a432]=0x0,this['_inflate'][_0x513d3c]=[],this[_0x28eca5(0x304)]['on'](_0x28eca5(0x2e2),_0x48f124),this[_0x28eca5(0x304)]['on']('data',_0x1f7165);}this['_inflate'][_0x15d9a9]=_0x473f06,this[_0x28eca5(0x304)]['write'](_0x373dba),_0x37df1f&&this[_0x28eca5(0x304)][_0x28eca5(0x255)](_0x3eaa9b),this['_inflate'][_0x28eca5(0x2de)](()=>{const _0x1fc45a=_0x28eca5,_0x4b1652=this[_0x1fc45a(0x304)][_0x114ddb];if(_0x4b1652){this[_0x1fc45a(0x304)][_0x1fc45a(0x1c1)](),this[_0x1fc45a(0x304)]=null,_0x473f06(_0x4b1652);return;}const _0x46d30a=_0x1c21c2[_0x1fc45a(0x1ed)](this[_0x1fc45a(0x304)][_0x513d3c],this[_0x1fc45a(0x304)][_0x64a432]);this[_0x1fc45a(0x304)][_0x1fc45a(0x211)][_0x1fc45a(0x219)]?(this[_0x1fc45a(0x304)][_0x1fc45a(0x1c1)](),this[_0x1fc45a(0x304)]=null):(this[_0x1fc45a(0x304)][_0x64a432]=0x0,this[_0x1fc45a(0x304)][_0x513d3c]=[],_0x37df1f&&this['params'][_0x47d422+_0x1fc45a(0x345)]&&this[_0x1fc45a(0x304)]['reset']()),_0x473f06(null,_0x46d30a);});}[_0x9a9e5c(0x261)](_0x314c2f,_0x4d2814,_0x1b7103){const _0x28f767=_0x9a9e5c,_0x5abb0c=this['_isServer']?_0x28f767(0x322):_0x28f767(0x284);if(!this[_0x28f767(0x23b)]){const _0xd529c7=_0x5abb0c+_0x28f767(0x237),_0x58ddda=typeof this[_0x28f767(0x21b)][_0xd529c7]!=_0x28f767(0x2b1)?_0x5aaa19[_0x28f767(0x28d)]:this[_0x28f767(0x21b)][_0xd529c7];this[_0x28f767(0x23b)]=_0x5aaa19[_0x28f767(0x1f4)]({...this[_0x28f767(0x23a)][_0x28f767(0x1a2)],'windowBits':_0x58ddda}),this[_0x28f767(0x23b)][_0x64a432]=0x0,this[_0x28f767(0x23b)][_0x513d3c]=[],this[_0x28f767(0x23b)]['on'](_0x28f767(0x19c),_0x5b1b1c);}this[_0x28f767(0x23b)][_0x15d9a9]=_0x1b7103,this['_deflate'][_0x28f767(0x255)](_0x314c2f),this[_0x28f767(0x23b)][_0x28f767(0x2de)](_0x5aaa19[_0x28f767(0x290)],()=>{const _0x456e75=_0x28f767;if(!this[_0x456e75(0x23b)])return;let _0x182b3c=_0x1c21c2[_0x456e75(0x1ed)](this[_0x456e75(0x23b)][_0x513d3c],this[_0x456e75(0x23b)][_0x64a432]);_0x4d2814&&(_0x182b3c=new _0x287170(_0x182b3c[_0x456e75(0x2ad)],_0x182b3c[_0x456e75(0x30f)],_0x182b3c[_0x456e75(0x2c1)]-0x4)),this[_0x456e75(0x23b)][_0x15d9a9]=null,this[_0x456e75(0x23b)][_0x64a432]=0x0,this[_0x456e75(0x23b)][_0x513d3c]=[],_0x4d2814&&this[_0x456e75(0x21b)][_0x5abb0c+_0x456e75(0x345)]&&this[_0x456e75(0x23b)][_0x456e75(0x210)](),_0x1b7103(null,_0x182b3c);});}}ve=_0x30390d;function _0x5b1b1c(_0x1ad40e){const _0x1cbddc=_0x9a9e5c;this[_0x513d3c][_0x1cbddc(0x2cb)](_0x1ad40e),this[_0x64a432]+=_0x1ad40e[_0x1cbddc(0x2c1)];}function _0x1f7165(_0x3815f5){const _0x4f0d18=_0x9a9e5c;if(this[_0x64a432]+=_0x3815f5[_0x4f0d18(0x2c1)],this[_0x58bdce]['_maxPayload']<0x1||this[_0x64a432]<=this[_0x58bdce][_0x4f0d18(0x2dc)]){this[_0x513d3c][_0x4f0d18(0x2cb)](_0x3815f5);return;}this[_0x114ddb]=new RangeError('Max\x20payload\x20size\x20exceeded'),this[_0x114ddb]['code']=_0x4f0d18(0x22b),this[_0x114ddb][_0x46e3c8]=0x3f1,this[_0x4f0d18(0x27b)](_0x4f0d18(0x19c),_0x1f7165),this['reset']();}function _0x48f124(_0x5b3add){const _0x914c4=_0x9a9e5c;this[_0x58bdce][_0x914c4(0x304)]=null,_0x5b3add[_0x46e3c8]=0x3ef,this[_0x15d9a9](_0x5b3add);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x34176d(0x320)](Object[_0x34176d(0x2bd)]({'__proto__':null,'default':Ht},Symbol['toStringTag'],{'value':_0x34176d(0x196)})),Yt=ut(zt);var Qe;function ne(){const _0x491626=_0x34176d;if(Qe)return re[_0x491626(0x2a1)];Qe=0x1;const {isUtf8:_0xa9ee}=_0x4adad8,{hasBlob:_0x5d3b18}=V(),_0x39772b=[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 _0x35f362(_0x315fb1){return _0x315fb1>=0x3e8&&_0x315fb1<=0x3f6&&_0x315fb1!==0x3ec&&_0x315fb1!==0x3ed&&_0x315fb1!==0x3ee||_0x315fb1>=0xbb8&&_0x315fb1<=0x1387;}function _0x37a443(_0x2636dc){const _0x46d6db=_0x491626,_0x557ecf=_0x2636dc[_0x46d6db(0x2c1)];let _0x3c0eb9=0x0;for(;_0x3c0eb9<_0x557ecf;)if((_0x2636dc[_0x3c0eb9]&0x80)===0x0)_0x3c0eb9++;else{if((_0x2636dc[_0x3c0eb9]&0xe0)===0xc0){if(_0x3c0eb9+0x1===_0x557ecf||(_0x2636dc[_0x3c0eb9+0x1]&0xc0)!==0x80||(_0x2636dc[_0x3c0eb9]&0xfe)===0xc0)return!0x1;_0x3c0eb9+=0x2;}else{if((_0x2636dc[_0x3c0eb9]&0xf0)===0xe0){if(_0x3c0eb9+0x2>=_0x557ecf||(_0x2636dc[_0x3c0eb9+0x1]&0xc0)!==0x80||(_0x2636dc[_0x3c0eb9+0x2]&0xc0)!==0x80||_0x2636dc[_0x3c0eb9]===0xe0&&(_0x2636dc[_0x3c0eb9+0x1]&0xe0)===0x80||_0x2636dc[_0x3c0eb9]===0xed&&(_0x2636dc[_0x3c0eb9+0x1]&0xe0)===0xa0)return!0x1;_0x3c0eb9+=0x3;}else{if((_0x2636dc[_0x3c0eb9]&0xf8)===0xf0){if(_0x3c0eb9+0x3>=_0x557ecf||(_0x2636dc[_0x3c0eb9+0x1]&0xc0)!==0x80||(_0x2636dc[_0x3c0eb9+0x2]&0xc0)!==0x80||(_0x2636dc[_0x3c0eb9+0x3]&0xc0)!==0x80||_0x2636dc[_0x3c0eb9]===0xf0&&(_0x2636dc[_0x3c0eb9+0x1]&0xf0)===0x80||_0x2636dc[_0x3c0eb9]===0xf4&&_0x2636dc[_0x3c0eb9+0x1]>0x8f||_0x2636dc[_0x3c0eb9]>0xf4)return!0x1;_0x3c0eb9+=0x4;}else return!0x1;}}}return!0x0;}function _0x1b396a(_0x16d772){const _0x3bc58f=_0x491626;return _0x5d3b18&&typeof _0x16d772=='object'&&typeof _0x16d772['arrayBuffer']=='function'&&typeof _0x16d772[_0x3bc58f(0x230)]==_0x3bc58f(0x24b)&&typeof _0x16d772['stream']=='function'&&(_0x16d772[Symbol['toStringTag']]===_0x3bc58f(0x1d3)||_0x16d772[Symbol[_0x3bc58f(0x282)]]===_0x3bc58f(0x2ac));}if(re['exports']={'isBlob':_0x1b396a,'isValidStatusCode':_0x35f362,'isValidUTF8':_0x37a443,'tokenChars':_0x39772b},_0xa9ee)re[_0x491626(0x2a1)][_0x491626(0x2f4)]=function(_0x485fa8){const _0x1ecfe2=_0x491626;return _0x485fa8[_0x1ecfe2(0x2c1)]<0x18?_0x37a443(_0x485fa8):_0xa9ee(_0x485fa8);};else{if(!process[_0x491626(0x32a)][_0x491626(0x286)])try{const _0x5c7c4a=Yt;re[_0x491626(0x2a1)][_0x491626(0x2f4)]=function(_0x2dfccf){const _0x305264=_0x491626;return _0x2dfccf[_0x305264(0x2c1)]<0x20?_0x37a443(_0x2dfccf):_0x5c7c4a(_0x2dfccf);};}catch{}}return re[_0x491626(0x2a1)];}var Se,Je;function dt(){const _0x44563e=_0x34176d;if(Je)return Se;Je=0x1;const {Writable:_0x3fcaaf}=_0x55da56,_0x312f99=he(),{BINARY_TYPES:_0x621026,EMPTY_BUFFER:_0x437506,kStatusCode:_0xdde89,kWebSocket:_0x259236}=V(),{concat:_0x236f8a,toArrayBuffer:_0x3957be,unmask:_0x47d08b}=ce(),{isValidStatusCode:_0xe16b13,isValidUTF8:_0x4f9bb2}=ne(),_0x3d1045=Buffer[Symbol['species']],_0x5c6324=0x0,_0x216fe5=0x1,_0x40d400=0x2,_0xf5e104=0x3,_0x2a003c=0x4,_0x278a37=0x5,_0x31fb8a=0x6;class _0x2f86b0 extends _0x3fcaaf{constructor(_0xd44db8={}){const _0x145e7e=_0x4f95;super(),this[_0x145e7e(0x1bd)]=_0xd44db8[_0x145e7e(0x314)]!==void 0x0?_0xd44db8['allowSynchronousEvents']:!0x0,this[_0x145e7e(0x241)]=_0xd44db8['binaryType']||_0x621026[0x0],this[_0x145e7e(0x327)]=_0xd44db8[_0x145e7e(0x1b5)]||{},this[_0x145e7e(0x201)]=!!_0xd44db8[_0x145e7e(0x2ea)],this['_maxPayload']=_0xd44db8['maxPayload']|0x0,this[_0x145e7e(0x232)]=!!_0xd44db8['skipUTF8Validation'],this[_0x259236]=void 0x0,this[_0x145e7e(0x194)]=0x0,this[_0x145e7e(0x27d)]=[],this['_compressed']=!0x1,this[_0x145e7e(0x32f)]=0x0,this[_0x145e7e(0x324)]=void 0x0,this['_fragmented']=0x0,this['_masked']=!0x1,this[_0x145e7e(0x1c5)]=!0x1,this[_0x145e7e(0x1c7)]=0x0,this[_0x145e7e(0x31f)]=0x0,this[_0x145e7e(0x311)]=0x0,this['_fragments']=[],this['_errored']=!0x1,this[_0x145e7e(0x333)]=!0x1,this[_0x145e7e(0x265)]=_0x5c6324;}[_0x44563e(0x26f)](_0x2e950f,_0x5c03e0,_0x3e5e2c){const _0x3a3b5c=_0x44563e;if(this[_0x3a3b5c(0x1c7)]===0x8&&this['_state']==_0x5c6324)return _0x3e5e2c();this['_bufferedBytes']+=_0x2e950f[_0x3a3b5c(0x2c1)],this[_0x3a3b5c(0x27d)]['push'](_0x2e950f),this[_0x3a3b5c(0x21d)](_0x3e5e2c);}['consume'](_0x2c1e66){const _0x236ee7=_0x44563e;if(this[_0x236ee7(0x194)]-=_0x2c1e66,_0x2c1e66===this[_0x236ee7(0x27d)][0x0][_0x236ee7(0x2c1)])return this[_0x236ee7(0x27d)]['shift']();if(_0x2c1e66<this[_0x236ee7(0x27d)][0x0]['length']){const _0x313604=this[_0x236ee7(0x27d)][0x0];return this[_0x236ee7(0x27d)][0x0]=new _0x3d1045(_0x313604[_0x236ee7(0x2ad)],_0x313604[_0x236ee7(0x30f)]+_0x2c1e66,_0x313604[_0x236ee7(0x2c1)]-_0x2c1e66),new _0x3d1045(_0x313604[_0x236ee7(0x2ad)],_0x313604[_0x236ee7(0x30f)],_0x2c1e66);}const _0x3fe8dd=Buffer[_0x236ee7(0x28b)](_0x2c1e66);do{const _0x3a3986=this['_buffers'][0x0],_0x23d811=_0x3fe8dd[_0x236ee7(0x2c1)]-_0x2c1e66;_0x2c1e66>=_0x3a3986[_0x236ee7(0x2c1)]?_0x3fe8dd[_0x236ee7(0x1e2)](this[_0x236ee7(0x27d)]['shift'](),_0x23d811):(_0x3fe8dd[_0x236ee7(0x1e2)](new Uint8Array(_0x3a3986[_0x236ee7(0x2ad)],_0x3a3986[_0x236ee7(0x30f)],_0x2c1e66),_0x23d811),this[_0x236ee7(0x27d)][0x0]=new _0x3d1045(_0x3a3986[_0x236ee7(0x2ad)],_0x3a3986[_0x236ee7(0x30f)]+_0x2c1e66,_0x3a3986[_0x236ee7(0x2c1)]-_0x2c1e66)),_0x2c1e66-=_0x3a3986[_0x236ee7(0x2c1)];}while(_0x2c1e66>0x0);return _0x3fe8dd;}[_0x44563e(0x21d)](_0x4a914a){const _0x5b96bb=_0x44563e;this[_0x5b96bb(0x333)]=!0x0;do switch(this[_0x5b96bb(0x265)]){case _0x5c6324:this['getInfo'](_0x4a914a);break;case _0x216fe5:this[_0x5b96bb(0x299)](_0x4a914a);break;case _0x40d400:this[_0x5b96bb(0x1d0)](_0x4a914a);break;case _0xf5e104:this['getMask']();break;case _0x2a003c:this[_0x5b96bb(0x1cb)](_0x4a914a);break;case _0x278a37:case _0x31fb8a:this[_0x5b96bb(0x333)]=!0x1;return;}while(this['_loop']);this['_errored']||_0x4a914a();}[_0x44563e(0x2f3)](_0x5688c8){const _0x211ab7=_0x44563e;if(this[_0x211ab7(0x194)]<0x2){this[_0x211ab7(0x333)]=!0x1;return;}const _0x12e8b5=this[_0x211ab7(0x298)](0x2);if((_0x12e8b5[0x0]&0x30)!==0x0){const _0x2b9f06=this[_0x211ab7(0x2ba)](RangeError,_0x211ab7(0x1ef),!0x0,0x3ea,_0x211ab7(0x1e0));_0x5688c8(_0x2b9f06);return;}const _0x262e27=(_0x12e8b5[0x0]&0x40)===0x40;if(_0x262e27&&!this[_0x211ab7(0x327)][_0x312f99[_0x211ab7(0x1a1)]]){const _0x5671f0=this[_0x211ab7(0x2ba)](RangeError,_0x211ab7(0x1ab),!0x0,0x3ea,_0x211ab7(0x202));_0x5688c8(_0x5671f0);return;}if(this[_0x211ab7(0x1c5)]=(_0x12e8b5[0x0]&0x80)===0x80,this[_0x211ab7(0x1c7)]=_0x12e8b5[0x0]&0xf,this[_0x211ab7(0x32f)]=_0x12e8b5[0x1]&0x7f,this[_0x211ab7(0x1c7)]===0x0){if(_0x262e27){const _0x4386c8=this[_0x211ab7(0x2ba)](RangeError,_0x211ab7(0x1ab),!0x0,0x3ea,_0x211ab7(0x202));_0x5688c8(_0x4386c8);return;}if(!this[_0x211ab7(0x212)]){const _0xc6004d=this['createError'](RangeError,_0x211ab7(0x2f7),!0x0,0x3ea,_0x211ab7(0x1b2));_0x5688c8(_0xc6004d);return;}this[_0x211ab7(0x1c7)]=this[_0x211ab7(0x212)];}else{if(this[_0x211ab7(0x1c7)]===0x1||this['_opcode']===0x2){if(this[_0x211ab7(0x212)]){const _0x13bf52=this[_0x211ab7(0x2ba)](RangeError,_0x211ab7(0x1d8)+this['_opcode'],!0x0,0x3ea,_0x211ab7(0x1b2));_0x5688c8(_0x13bf52);return;}this[_0x211ab7(0x2a4)]=_0x262e27;}else{if(this[_0x211ab7(0x1c7)]>0x7&&this[_0x211ab7(0x1c7)]<0xb){if(!this[_0x211ab7(0x1c5)]){const _0x12f975=this[_0x211ab7(0x2ba)](RangeError,_0x211ab7(0x2bb),!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0x5688c8(_0x12f975);return;}if(_0x262e27){const _0x508f99=this[_0x211ab7(0x2ba)](RangeError,_0x211ab7(0x1ab),!0x0,0x3ea,_0x211ab7(0x202));_0x5688c8(_0x508f99);return;}if(this[_0x211ab7(0x32f)]>0x7d||this[_0x211ab7(0x1c7)]===0x8&&this[_0x211ab7(0x32f)]===0x1){const _0x1d0ec4=this[_0x211ab7(0x2ba)](RangeError,'invalid\x20payload\x20length\x20'+this[_0x211ab7(0x32f)],!0x0,0x3ea,_0x211ab7(0x1fa));_0x5688c8(_0x1d0ec4);return;}}else{const _0x17d9f0=this[_0x211ab7(0x2ba)](RangeError,'invalid\x20opcode\x20'+this['_opcode'],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x5688c8(_0x17d9f0);return;}}}if(!this[_0x211ab7(0x1c5)]&&!this[_0x211ab7(0x212)]&&(this[_0x211ab7(0x212)]=this[_0x211ab7(0x1c7)]),this[_0x211ab7(0x2b5)]=(_0x12e8b5[0x1]&0x80)===0x80,this[_0x211ab7(0x201)]){if(!this['_masked']){const _0x1fab68=this[_0x211ab7(0x2ba)](RangeError,_0x211ab7(0x251),!0x0,0x3ea,_0x211ab7(0x31a));_0x5688c8(_0x1fab68);return;}}else{if(this[_0x211ab7(0x2b5)]){const _0x4ca3ec=this[_0x211ab7(0x2ba)](RangeError,_0x211ab7(0x2f9),!0x0,0x3ea,_0x211ab7(0x1a4));_0x5688c8(_0x4ca3ec);return;}}this['_payloadLength']===0x7e?this[_0x211ab7(0x265)]=_0x216fe5:this['_payloadLength']===0x7f?this['_state']=_0x40d400:this[_0x211ab7(0x19e)](_0x5688c8);}[_0x44563e(0x299)](_0x4bacbd){const _0x579cf4=_0x44563e;if(this[_0x579cf4(0x194)]<0x2){this[_0x579cf4(0x333)]=!0x1;return;}this[_0x579cf4(0x32f)]=this[_0x579cf4(0x298)](0x2)[_0x579cf4(0x271)](0x0),this[_0x579cf4(0x19e)](_0x4bacbd);}['getPayloadLength64'](_0x4a6e42){const _0x52a1c3=_0x44563e;if(this['_bufferedBytes']<0x8){this[_0x52a1c3(0x333)]=!0x1;return;}const _0x2f68ae=this[_0x52a1c3(0x298)](0x8),_0x3382b5=_0x2f68ae[_0x52a1c3(0x328)](0x0);if(_0x3382b5>Math[_0x52a1c3(0x1cf)](0x2,0x15)-0x1){const _0x1acf1d=this[_0x52a1c3(0x2ba)](RangeError,_0x52a1c3(0x310),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH');_0x4a6e42(_0x1acf1d);return;}this['_payloadLength']=_0x3382b5*Math['pow'](0x2,0x20)+_0x2f68ae[_0x52a1c3(0x328)](0x4),this[_0x52a1c3(0x19e)](_0x4a6e42);}[_0x44563e(0x19e)](_0x16852b){const _0x2c8924=_0x44563e;if(this[_0x2c8924(0x32f)]&&this['_opcode']<0x8&&(this[_0x2c8924(0x31f)]+=this[_0x2c8924(0x32f)],this['_totalPayloadLength']>this[_0x2c8924(0x2dc)]&&this['_maxPayload']>0x0)){const _0x2610df=this[_0x2c8924(0x2ba)](RangeError,_0x2c8924(0x1ac),!0x1,0x3f1,_0x2c8924(0x22b));_0x16852b(_0x2610df);return;}this['_masked']?this[_0x2c8924(0x265)]=_0xf5e104:this[_0x2c8924(0x265)]=_0x2a003c;}[_0x44563e(0x305)](){const _0x3edc2b=_0x44563e;if(this[_0x3edc2b(0x194)]<0x4){this[_0x3edc2b(0x333)]=!0x1;return;}this['_mask']=this[_0x3edc2b(0x298)](0x4),this['_state']=_0x2a003c;}[_0x44563e(0x1cb)](_0x344d81){const _0x3471ef=_0x44563e;let _0x4f14ef=_0x437506;if(this[_0x3471ef(0x32f)]){if(this[_0x3471ef(0x194)]<this[_0x3471ef(0x32f)]){this['_loop']=!0x1;return;}_0x4f14ef=this[_0x3471ef(0x298)](this[_0x3471ef(0x32f)]),this[_0x3471ef(0x2b5)]&&(this['_mask'][0x0]|this[_0x3471ef(0x324)][0x1]|this[_0x3471ef(0x324)][0x2]|this[_0x3471ef(0x324)][0x3])!==0x0&&_0x47d08b(_0x4f14ef,this['_mask']);}if(this[_0x3471ef(0x1c7)]>0x7){this[_0x3471ef(0x214)](_0x4f14ef,_0x344d81);return;}if(this[_0x3471ef(0x2a4)]){this['_state']=_0x278a37,this[_0x3471ef(0x2e0)](_0x4f14ef,_0x344d81);return;}_0x4f14ef[_0x3471ef(0x2c1)]&&(this[_0x3471ef(0x311)]=this[_0x3471ef(0x31f)],this[_0x3471ef(0x249)][_0x3471ef(0x2cb)](_0x4f14ef)),this['dataMessage'](_0x344d81);}[_0x44563e(0x2e0)](_0x34f98c,_0x3cc66d){const _0x5c8600=_0x44563e;this[_0x5c8600(0x327)][_0x312f99[_0x5c8600(0x1a1)]][_0x5c8600(0x2e0)](_0x34f98c,this[_0x5c8600(0x1c5)],(_0xdf921e,_0x4caed4)=>{const _0x11ad90=_0x5c8600;if(_0xdf921e)return _0x3cc66d(_0xdf921e);if(_0x4caed4['length']){if(this[_0x11ad90(0x311)]+=_0x4caed4['length'],this[_0x11ad90(0x311)]>this[_0x11ad90(0x2dc)]&&this[_0x11ad90(0x2dc)]>0x0){const _0x3a0869=this[_0x11ad90(0x2ba)](RangeError,_0x11ad90(0x1ac),!0x1,0x3f1,_0x11ad90(0x22b));_0x3cc66d(_0x3a0869);return;}this[_0x11ad90(0x249)][_0x11ad90(0x2cb)](_0x4caed4);}this[_0x11ad90(0x25b)](_0x3cc66d),this['_state']===_0x5c6324&&this['startLoop'](_0x3cc66d);});}['dataMessage'](_0x302698){const _0x95bada=_0x44563e;if(!this[_0x95bada(0x1c5)]){this[_0x95bada(0x265)]=_0x5c6324;return;}const _0x2056b7=this[_0x95bada(0x311)],_0x3ed95d=this[_0x95bada(0x249)];if(this[_0x95bada(0x31f)]=0x0,this[_0x95bada(0x311)]=0x0,this[_0x95bada(0x212)]=0x0,this['_fragments']=[],this['_opcode']===0x2){let _0x118e1d;this['_binaryType']==='nodebuffer'?_0x118e1d=_0x236f8a(_0x3ed95d,_0x2056b7):this[_0x95bada(0x241)]==='arraybuffer'?_0x118e1d=_0x3957be(_0x236f8a(_0x3ed95d,_0x2056b7)):this[_0x95bada(0x241)]===_0x95bada(0x217)?_0x118e1d=new Blob(_0x3ed95d):_0x118e1d=_0x3ed95d,this[_0x95bada(0x1bd)]?(this[_0x95bada(0x2b8)](_0x95bada(0x1db),_0x118e1d,!0x0),this[_0x95bada(0x265)]=_0x5c6324):(this[_0x95bada(0x265)]=_0x31fb8a,setImmediate(()=>{const _0x4a5c59=_0x95bada;this[_0x4a5c59(0x2b8)](_0x4a5c59(0x1db),_0x118e1d,!0x0),this['_state']=_0x5c6324,this[_0x4a5c59(0x21d)](_0x302698);}));}else{const _0x550258=_0x236f8a(_0x3ed95d,_0x2056b7);if(!this[_0x95bada(0x232)]&&!_0x4f9bb2(_0x550258)){const _0x3cb393=this[_0x95bada(0x2ba)](Error,_0x95bada(0x276),!0x0,0x3ef,_0x95bada(0x2e4));_0x302698(_0x3cb393);return;}this[_0x95bada(0x265)]===_0x278a37||this['_allowSynchronousEvents']?(this[_0x95bada(0x2b8)]('message',_0x550258,!0x1),this[_0x95bada(0x265)]=_0x5c6324):(this[_0x95bada(0x265)]=_0x31fb8a,setImmediate(()=>{const _0x5abf03=_0x95bada;this[_0x5abf03(0x2b8)]('message',_0x550258,!0x1),this['_state']=_0x5c6324,this[_0x5abf03(0x21d)](_0x302698);}));}}['controlMessage'](_0x27ea23,_0x17397c){const _0x277a27=_0x44563e;if(this[_0x277a27(0x1c7)]===0x8){if(_0x27ea23[_0x277a27(0x2c1)]===0x0)this[_0x277a27(0x333)]=!0x1,this['emit'](_0x277a27(0x2f2),0x3ed,_0x437506),this[_0x277a27(0x263)]();else{const _0x2516ea=_0x27ea23[_0x277a27(0x271)](0x0);if(!_0xe16b13(_0x2516ea)){const _0x4c3be3=this[_0x277a27(0x2ba)](RangeError,'invalid\x20status\x20code\x20'+_0x2516ea,!0x0,0x3ea,_0x277a27(0x268));_0x17397c(_0x4c3be3);return;}const _0x5ec2f7=new _0x3d1045(_0x27ea23[_0x277a27(0x2ad)],_0x27ea23[_0x277a27(0x30f)]+0x2,_0x27ea23[_0x277a27(0x2c1)]-0x2);if(!this['_skipUTF8Validation']&&!_0x4f9bb2(_0x5ec2f7)){const _0x44b0eb=this[_0x277a27(0x2ba)](Error,_0x277a27(0x276),!0x0,0x3ef,_0x277a27(0x2e4));_0x17397c(_0x44b0eb);return;}this['_loop']=!0x1,this[_0x277a27(0x2b8)](_0x277a27(0x2f2),_0x2516ea,_0x5ec2f7),this['end']();}this[_0x277a27(0x265)]=_0x5c6324;return;}this['_allowSynchronousEvents']?(this[_0x277a27(0x2b8)](this[_0x277a27(0x1c7)]===0x9?_0x277a27(0x1f8):_0x277a27(0x20b),_0x27ea23),this[_0x277a27(0x265)]=_0x5c6324):(this['_state']=_0x31fb8a,setImmediate(()=>{const _0xc67850=_0x277a27;this[_0xc67850(0x2b8)](this[_0xc67850(0x1c7)]===0x9?_0xc67850(0x1f8):_0xc67850(0x20b),_0x27ea23),this[_0xc67850(0x265)]=_0x5c6324,this['startLoop'](_0x17397c);}));}[_0x44563e(0x2ba)](_0x581a12,_0x4e56d2,_0x1d0cc0,_0x2a4111,_0x220a0f){const _0x2e0653=_0x44563e;this['_loop']=!0x1,this[_0x2e0653(0x2b9)]=!0x0;const _0x1a99c2=new _0x581a12(_0x1d0cc0?_0x2e0653(0x344)+_0x4e56d2:_0x4e56d2);return Error[_0x2e0653(0x200)](_0x1a99c2,this[_0x2e0653(0x2ba)]),_0x1a99c2['code']=_0x220a0f,_0x1a99c2[_0xdde89]=_0x2a4111,_0x1a99c2;}}return Se=_0x2f86b0,Se;}var Ee,et;function _t(){const _0x939b36=_0x34176d;if(et)return Ee;et=0x1;const {Duplex:_0x1a2b3e}=_0x55da56,{randomFillSync:_0x11296b}=_0x499ed5,_0x494f58=he(),{EMPTY_BUFFER:_0x52a623,kWebSocket:_0x3fcff2,NOOP:_0x1d5108}=V(),{isBlob:_0x1cf70f,isValidStatusCode:_0x261a75}=ne(),{mask:_0x5415ed,toBuffer:_0x3da7ee}=ce(),_0x1dcfdc=Symbol('kByteLength'),_0x1362b1=Buffer[_0x939b36(0x31b)](0x4),_0x42c08f=0x8*0x400;let _0x4fb646,_0x11da48=_0x42c08f;const _0x185c1a=0x0,_0x2a52ef=0x1,_0x49c748=0x2;class _0x64facc{constructor(_0x1e5663,_0x3d5bf1,_0x39417a){const _0x128367=_0x939b36;this['_extensions']=_0x3d5bf1||{},_0x39417a&&(this[_0x128367(0x2f5)]=_0x39417a,this[_0x128367(0x2ca)]=Buffer[_0x128367(0x31b)](0x4)),this[_0x128367(0x1a3)]=_0x1e5663,this['_firstFragment']=!0x0,this[_0x128367(0x261)]=!0x1,this[_0x128367(0x194)]=0x0,this[_0x128367(0x248)]=[],this[_0x128367(0x265)]=_0x185c1a,this['onerror']=_0x1d5108,this[_0x3fcff2]=void 0x0;}static[_0x939b36(0x2cc)](_0x56e727,_0x1df18c){const _0x11caa0=_0x939b36;let _0x544a8a,_0xf1a583=!0x1,_0x5d5cd6=0x2,_0x52e3cf=!0x1;_0x1df18c[_0x11caa0(0x227)]&&(_0x544a8a=_0x1df18c[_0x11caa0(0x2fb)]||_0x1362b1,_0x1df18c[_0x11caa0(0x33d)]?_0x1df18c['generateMask'](_0x544a8a):(_0x11da48===_0x42c08f&&(_0x4fb646===void 0x0&&(_0x4fb646=Buffer[_0x11caa0(0x31b)](_0x42c08f)),_0x11296b(_0x4fb646,0x0,_0x42c08f),_0x11da48=0x0),_0x544a8a[0x0]=_0x4fb646[_0x11da48++],_0x544a8a[0x1]=_0x4fb646[_0x11da48++],_0x544a8a[0x2]=_0x4fb646[_0x11da48++],_0x544a8a[0x3]=_0x4fb646[_0x11da48++]),_0x52e3cf=(_0x544a8a[0x0]|_0x544a8a[0x1]|_0x544a8a[0x2]|_0x544a8a[0x3])===0x0,_0x5d5cd6=0x6);let _0x94e8ea;typeof _0x56e727==_0x11caa0(0x24b)?(!_0x1df18c['mask']||_0x52e3cf)&&_0x1df18c[_0x1dcfdc]!==void 0x0?_0x94e8ea=_0x1df18c[_0x1dcfdc]:(_0x56e727=Buffer[_0x11caa0(0x225)](_0x56e727),_0x94e8ea=_0x56e727[_0x11caa0(0x2c1)]):(_0x94e8ea=_0x56e727[_0x11caa0(0x2c1)],_0xf1a583=_0x1df18c[_0x11caa0(0x227)]&&_0x1df18c[_0x11caa0(0x2ab)]&&!_0x52e3cf);let _0x20de1e=_0x94e8ea;_0x94e8ea>=0x10000?(_0x5d5cd6+=0x8,_0x20de1e=0x7f):_0x94e8ea>0x7d&&(_0x5d5cd6+=0x2,_0x20de1e=0x7e);const _0x3d7e38=Buffer[_0x11caa0(0x28b)](_0xf1a583?_0x94e8ea+_0x5d5cd6:_0x5d5cd6);return _0x3d7e38[0x0]=_0x1df18c[_0x11caa0(0x2c4)]?_0x1df18c[_0x11caa0(0x288)]|0x80:_0x1df18c[_0x11caa0(0x288)],_0x1df18c[_0x11caa0(0x28e)]&&(_0x3d7e38[0x0]|=0x40),_0x3d7e38[0x1]=_0x20de1e,_0x20de1e===0x7e?_0x3d7e38[_0x11caa0(0x1e9)](_0x94e8ea,0x2):_0x20de1e===0x7f&&(_0x3d7e38[0x2]=_0x3d7e38[0x3]=0x0,_0x3d7e38[_0x11caa0(0x277)](_0x94e8ea,0x4,0x6)),_0x1df18c[_0x11caa0(0x227)]?(_0x3d7e38[0x1]|=0x80,_0x3d7e38[_0x5d5cd6-0x4]=_0x544a8a[0x0],_0x3d7e38[_0x5d5cd6-0x3]=_0x544a8a[0x1],_0x3d7e38[_0x5d5cd6-0x2]=_0x544a8a[0x2],_0x3d7e38[_0x5d5cd6-0x1]=_0x544a8a[0x3],_0x52e3cf?[_0x3d7e38,_0x56e727]:_0xf1a583?(_0x5415ed(_0x56e727,_0x544a8a,_0x3d7e38,_0x5d5cd6,_0x94e8ea),[_0x3d7e38]):(_0x5415ed(_0x56e727,_0x544a8a,_0x56e727,0x0,_0x94e8ea),[_0x3d7e38,_0x56e727])):[_0x3d7e38,_0x56e727];}[_0x939b36(0x1c1)](_0x18c8b2,_0x1e3538,_0x785cbe,_0x3ae0f9){const _0x565a29=_0x939b36;let _0x34325f;if(_0x18c8b2===void 0x0)_0x34325f=_0x52a623;else{if(typeof _0x18c8b2!='number'||!_0x261a75(_0x18c8b2))throw new TypeError(_0x565a29(0x260));if(_0x1e3538===void 0x0||!_0x1e3538[_0x565a29(0x2c1)])_0x34325f=Buffer[_0x565a29(0x28b)](0x2),_0x34325f[_0x565a29(0x1e9)](_0x18c8b2,0x0);else{const _0xe674d0=Buffer[_0x565a29(0x257)](_0x1e3538);if(_0xe674d0>0x7b)throw new RangeError(_0x565a29(0x2fd));_0x34325f=Buffer['allocUnsafe'](0x2+_0xe674d0),_0x34325f[_0x565a29(0x1e9)](_0x18c8b2,0x0),typeof _0x1e3538==_0x565a29(0x24b)?_0x34325f['write'](_0x1e3538,0x2):_0x34325f[_0x565a29(0x1e2)](_0x1e3538,0x2);}}const _0x1bb41f={[_0x1dcfdc]:_0x34325f['length'],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x785cbe,'maskBuffer':this[_0x565a29(0x2ca)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x565a29(0x265)]!==_0x185c1a?this[_0x565a29(0x2b3)]([this[_0x565a29(0x23d)],_0x34325f,!0x1,_0x1bb41f,_0x3ae0f9]):this['sendFrame'](_0x64facc['frame'](_0x34325f,_0x1bb41f),_0x3ae0f9);}[_0x939b36(0x1f8)](_0x59f1a3,_0x54d5b7,_0x3e7eb2){const _0x1fb356=_0x939b36;let _0x54ec71,_0x58fcb5;if(typeof _0x59f1a3==_0x1fb356(0x24b)?(_0x54ec71=Buffer['byteLength'](_0x59f1a3),_0x58fcb5=!0x1):_0x1cf70f(_0x59f1a3)?(_0x54ec71=_0x59f1a3['size'],_0x58fcb5=!0x1):(_0x59f1a3=_0x3da7ee(_0x59f1a3),_0x54ec71=_0x59f1a3[_0x1fb356(0x2c1)],_0x58fcb5=_0x3da7ee[_0x1fb356(0x2ab)]),_0x54ec71>0x7d)throw new RangeError(_0x1fb356(0x2a2));const _0x11ea86={[_0x1dcfdc]:_0x54ec71,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x54d5b7,'maskBuffer':this[_0x1fb356(0x2ca)],'opcode':0x9,'readOnly':_0x58fcb5,'rsv1':!0x1};_0x1cf70f(_0x59f1a3)?this[_0x1fb356(0x265)]!==_0x185c1a?this[_0x1fb356(0x2b3)]([this['getBlobData'],_0x59f1a3,!0x1,_0x11ea86,_0x3e7eb2]):this[_0x1fb356(0x2a3)](_0x59f1a3,!0x1,_0x11ea86,_0x3e7eb2):this[_0x1fb356(0x265)]!==_0x185c1a?this[_0x1fb356(0x2b3)]([this[_0x1fb356(0x23d)],_0x59f1a3,!0x1,_0x11ea86,_0x3e7eb2]):this[_0x1fb356(0x259)](_0x64facc[_0x1fb356(0x2cc)](_0x59f1a3,_0x11ea86),_0x3e7eb2);}[_0x939b36(0x20b)](_0x3b7c20,_0x1b5ce9,_0x134c3d){const _0x4cf035=_0x939b36;let _0x2c326d,_0x501090;if(typeof _0x3b7c20==_0x4cf035(0x24b)?(_0x2c326d=Buffer[_0x4cf035(0x257)](_0x3b7c20),_0x501090=!0x1):_0x1cf70f(_0x3b7c20)?(_0x2c326d=_0x3b7c20[_0x4cf035(0x32e)],_0x501090=!0x1):(_0x3b7c20=_0x3da7ee(_0x3b7c20),_0x2c326d=_0x3b7c20[_0x4cf035(0x2c1)],_0x501090=_0x3da7ee['readOnly']),_0x2c326d>0x7d)throw new RangeError(_0x4cf035(0x2a2));const _0x3c84eb={[_0x1dcfdc]:_0x2c326d,'fin':!0x0,'generateMask':this[_0x4cf035(0x2f5)],'mask':_0x1b5ce9,'maskBuffer':this[_0x4cf035(0x2ca)],'opcode':0xa,'readOnly':_0x501090,'rsv1':!0x1};_0x1cf70f(_0x3b7c20)?this[_0x4cf035(0x265)]!==_0x185c1a?this[_0x4cf035(0x2b3)]([this[_0x4cf035(0x2a3)],_0x3b7c20,!0x1,_0x3c84eb,_0x134c3d]):this[_0x4cf035(0x2a3)](_0x3b7c20,!0x1,_0x3c84eb,_0x134c3d):this[_0x4cf035(0x265)]!==_0x185c1a?this[_0x4cf035(0x2b3)]([this[_0x4cf035(0x23d)],_0x3b7c20,!0x1,_0x3c84eb,_0x134c3d]):this[_0x4cf035(0x259)](_0x64facc[_0x4cf035(0x2cc)](_0x3b7c20,_0x3c84eb),_0x134c3d);}['send'](_0x3557b0,_0x24adf8,_0x3dcca0){const _0x36f99a=_0x939b36,_0x83c7c7=this[_0x36f99a(0x327)][_0x494f58['extensionName']];let _0x10c0d4=_0x24adf8['binary']?0x2:0x1,_0x191799=_0x24adf8['compress'],_0x2e63e3,_0x34f1dd;typeof _0x3557b0=='string'?(_0x2e63e3=Buffer['byteLength'](_0x3557b0),_0x34f1dd=!0x1):_0x1cf70f(_0x3557b0)?(_0x2e63e3=_0x3557b0[_0x36f99a(0x32e)],_0x34f1dd=!0x1):(_0x3557b0=_0x3da7ee(_0x3557b0),_0x2e63e3=_0x3557b0['length'],_0x34f1dd=_0x3da7ee[_0x36f99a(0x2ab)]),this[_0x36f99a(0x308)]?(this['_firstFragment']=!0x1,_0x191799&&_0x83c7c7&&_0x83c7c7[_0x36f99a(0x21b)][_0x83c7c7[_0x36f99a(0x201)]?_0x36f99a(0x321):_0x36f99a(0x269)]&&(_0x191799=_0x2e63e3>=_0x83c7c7['_threshold']),this[_0x36f99a(0x261)]=_0x191799):(_0x191799=!0x1,_0x10c0d4=0x0),_0x24adf8[_0x36f99a(0x2c4)]&&(this[_0x36f99a(0x308)]=!0x0);const _0x291565={[_0x1dcfdc]:_0x2e63e3,'fin':_0x24adf8[_0x36f99a(0x2c4)],'generateMask':this[_0x36f99a(0x2f5)],'mask':_0x24adf8[_0x36f99a(0x227)],'maskBuffer':this[_0x36f99a(0x2ca)],'opcode':_0x10c0d4,'readOnly':_0x34f1dd,'rsv1':_0x191799};_0x1cf70f(_0x3557b0)?this[_0x36f99a(0x265)]!==_0x185c1a?this[_0x36f99a(0x2b3)]([this['getBlobData'],_0x3557b0,this['_compress'],_0x291565,_0x3dcca0]):this[_0x36f99a(0x2a3)](_0x3557b0,this['_compress'],_0x291565,_0x3dcca0):this[_0x36f99a(0x265)]!==_0x185c1a?this[_0x36f99a(0x2b3)]([this[_0x36f99a(0x23d)],_0x3557b0,this[_0x36f99a(0x261)],_0x291565,_0x3dcca0]):this[_0x36f99a(0x23d)](_0x3557b0,this[_0x36f99a(0x261)],_0x291565,_0x3dcca0);}['getBlobData'](_0x27a71c,_0x332a8e,_0x105e1d,_0x9f2b2b){const _0x455949=_0x939b36;this[_0x455949(0x194)]+=_0x105e1d[_0x1dcfdc],this[_0x455949(0x265)]=_0x49c748,_0x27a71c[_0x455949(0x1de)]()[_0x455949(0x30b)](_0x2d87ea=>{const _0x39e3f9=_0x455949;if(this[_0x39e3f9(0x1a3)][_0x39e3f9(0x2fa)]){const _0x92389d=new Error(_0x39e3f9(0x233));process[_0x39e3f9(0x297)](_0x4afd2d,this,_0x92389d,_0x9f2b2b);return;}this['_bufferedBytes']-=_0x105e1d[_0x1dcfdc];const _0x1c29d2=_0x3da7ee(_0x2d87ea);_0x332a8e?this[_0x39e3f9(0x23d)](_0x1c29d2,_0x332a8e,_0x105e1d,_0x9f2b2b):(this[_0x39e3f9(0x265)]=_0x185c1a,this[_0x39e3f9(0x259)](_0x64facc['frame'](_0x1c29d2,_0x105e1d),_0x9f2b2b),this['dequeue']());})[_0x455949(0x2d9)](_0x57e2de=>{const _0x3c25cb=_0x455949;process[_0x3c25cb(0x297)](_0x176960,this,_0x57e2de,_0x9f2b2b);});}[_0x939b36(0x23d)](_0x3bd858,_0x188ecf,_0x54ad87,_0x629d83){const _0x2c00c7=_0x939b36;if(!_0x188ecf){this[_0x2c00c7(0x259)](_0x64facc[_0x2c00c7(0x2cc)](_0x3bd858,_0x54ad87),_0x629d83);return;}const _0x110637=this[_0x2c00c7(0x327)][_0x494f58[_0x2c00c7(0x1a1)]];this['_bufferedBytes']+=_0x54ad87[_0x1dcfdc],this[_0x2c00c7(0x265)]=_0x2a52ef,_0x110637[_0x2c00c7(0x31e)](_0x3bd858,_0x54ad87[_0x2c00c7(0x2c4)],(_0x1a76aa,_0x185308)=>{const _0x46d362=_0x2c00c7;if(this['_socket'][_0x46d362(0x2fa)]){const _0x3335b6=new Error(_0x46d362(0x2f8));_0x4afd2d(this,_0x3335b6,_0x629d83);return;}this[_0x46d362(0x194)]-=_0x54ad87[_0x1dcfdc],this[_0x46d362(0x265)]=_0x185c1a,_0x54ad87[_0x46d362(0x2ab)]=!0x1,this[_0x46d362(0x259)](_0x64facc[_0x46d362(0x2cc)](_0x185308,_0x54ad87),_0x629d83),this[_0x46d362(0x2b0)]();});}[_0x939b36(0x2b0)](){const _0x18338f=_0x939b36;for(;this[_0x18338f(0x265)]===_0x185c1a&&this[_0x18338f(0x248)][_0x18338f(0x2c1)];){const _0x57da9f=this[_0x18338f(0x248)][_0x18338f(0x195)]();this[_0x18338f(0x194)]-=_0x57da9f[0x3][_0x1dcfdc],Reflect[_0x18338f(0x1b0)](_0x57da9f[0x0],this,_0x57da9f[_0x18338f(0x23f)](0x1));}}['enqueue'](_0x350616){const _0x5dd2d1=_0x939b36;this[_0x5dd2d1(0x194)]+=_0x350616[0x3][_0x1dcfdc],this[_0x5dd2d1(0x248)][_0x5dd2d1(0x2cb)](_0x350616);}[_0x939b36(0x259)](_0x3be1f8,_0x2729ed){const _0x19a00d=_0x939b36;_0x3be1f8['length']===0x2?(this[_0x19a00d(0x1a3)][_0x19a00d(0x2c7)](),this[_0x19a00d(0x1a3)][_0x19a00d(0x255)](_0x3be1f8[0x0]),this['_socket']['write'](_0x3be1f8[0x1],_0x2729ed),this[_0x19a00d(0x1a3)]['uncork']()):this['_socket'][_0x19a00d(0x255)](_0x3be1f8[0x0],_0x2729ed);}}Ee=_0x64facc;function _0x4afd2d(_0x546baa,_0x47536a,_0x36e4b2){const _0xc52035=_0x939b36;typeof _0x36e4b2==_0xc52035(0x1d6)&&_0x36e4b2(_0x47536a);for(let _0x52735a=0x0;_0x52735a<_0x546baa['_queue'][_0xc52035(0x2c1)];_0x52735a++){const _0xf463a9=_0x546baa[_0xc52035(0x248)][_0x52735a],_0x55fe4b=_0xf463a9[_0xf463a9[_0xc52035(0x2c1)]-0x1];typeof _0x55fe4b==_0xc52035(0x1d6)&&_0x55fe4b(_0x47536a);}}function _0x176960(_0x245433,_0x31085c,_0x4ab529){const _0x28e88d=_0x939b36;_0x4afd2d(_0x245433,_0x31085c,_0x4ab529),_0x245433[_0x28e88d(0x1dd)](_0x31085c);}return Ee;}var xe,tt;function Kt(){const _0xf8458d=_0x34176d;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x4f6d03,kListener:_0x318f0f}=V(),_0xaa227a=Symbol(_0xf8458d(0x264)),_0x2c6ddd=Symbol(_0xf8458d(0x335)),_0x142aaa=Symbol(_0xf8458d(0x2cd)),_0x48538c=Symbol(_0xf8458d(0x278)),_0x4ddfaa=Symbol('kReason'),_0x481d88=Symbol(_0xf8458d(0x1ea)),_0x5bbf63=Symbol(_0xf8458d(0x1b3)),_0x4d267b=Symbol(_0xf8458d(0x2e5));class _0xcd3690{constructor(_0x3d1a72){this[_0x481d88]=null,this[_0x5bbf63]=_0x3d1a72;}get[_0xf8458d(0x215)](){return this[_0x481d88];}get['type'](){return this[_0x5bbf63];}}Object[_0xf8458d(0x2bd)](_0xcd3690['prototype'],'target',{'enumerable':!0x0}),Object[_0xf8458d(0x2bd)](_0xcd3690[_0xf8458d(0x329)],_0xf8458d(0x230),{'enumerable':!0x0});class _0x2d992 extends _0xcd3690{constructor(_0x23e3b5,_0x52c704={}){const _0x491fca=_0xf8458d;super(_0x23e3b5),this[_0xaa227a]=_0x52c704[_0x491fca(0x20e)]===void 0x0?0x0:_0x52c704[_0x491fca(0x20e)],this[_0x4ddfaa]=_0x52c704['reason']===void 0x0?'':_0x52c704[_0x491fca(0x330)],this[_0x4d267b]=_0x52c704[_0x491fca(0x289)]===void 0x0?!0x1:_0x52c704['wasClean'];}get[_0xf8458d(0x20e)](){return this[_0xaa227a];}get['reason'](){return this[_0x4ddfaa];}get[_0xf8458d(0x289)](){return this[_0x4d267b];}}Object[_0xf8458d(0x2bd)](_0x2d992[_0xf8458d(0x329)],'code',{'enumerable':!0x0}),Object[_0xf8458d(0x2bd)](_0x2d992[_0xf8458d(0x329)],_0xf8458d(0x330),{'enumerable':!0x0}),Object[_0xf8458d(0x2bd)](_0x2d992[_0xf8458d(0x329)],_0xf8458d(0x289),{'enumerable':!0x0});class _0x466921 extends _0xcd3690{constructor(_0x368c76,_0x5ef979={}){const _0x67ee52=_0xf8458d;super(_0x368c76),this[_0x142aaa]=_0x5ef979[_0x67ee52(0x2e2)]===void 0x0?null:_0x5ef979[_0x67ee52(0x2e2)],this[_0x48538c]=_0x5ef979[_0x67ee52(0x1db)]===void 0x0?'':_0x5ef979['message'];}get[_0xf8458d(0x2e2)](){return this[_0x142aaa];}get[_0xf8458d(0x1db)](){return this[_0x48538c];}}Object[_0xf8458d(0x2bd)](_0x466921['prototype'],'error',{'enumerable':!0x0}),Object[_0xf8458d(0x2bd)](_0x466921[_0xf8458d(0x329)],_0xf8458d(0x1db),{'enumerable':!0x0});class _0x383d83 extends _0xcd3690{constructor(_0x511eea,_0x2b4105={}){const _0x498d95=_0xf8458d;super(_0x511eea),this[_0x2c6ddd]=_0x2b4105[_0x498d95(0x19c)]===void 0x0?null:_0x2b4105[_0x498d95(0x19c)];}get[_0xf8458d(0x19c)](){return this[_0x2c6ddd];}}Object[_0xf8458d(0x2bd)](_0x383d83[_0xf8458d(0x329)],_0xf8458d(0x19c),{'enumerable':!0x0}),xe={'CloseEvent':_0x2d992,'ErrorEvent':_0x466921,'Event':_0xcd3690,'EventTarget':{'addEventListener'(_0xe4fb72,_0xf97bc1,_0x415255={}){const _0x200344=_0xf8458d;for(const _0x6c3f97 of this[_0x200344(0x33a)](_0xe4fb72))if(!_0x415255[_0x4f6d03]&&_0x6c3f97[_0x318f0f]===_0xf97bc1&&!_0x6c3f97[_0x4f6d03])return;let _0x28307b;if(_0xe4fb72===_0x200344(0x1db))_0x28307b=function(_0x2dbc79,_0x32b407){const _0x38ed89=_0x200344,_0x1cb1f4=new _0x383d83(_0x38ed89(0x1db),{'data':_0x32b407?_0x2dbc79:_0x2dbc79[_0x38ed89(0x192)]()});_0x1cb1f4[_0x481d88]=this,_0x7bf812(_0xf97bc1,this,_0x1cb1f4);};else{if(_0xe4fb72===_0x200344(0x1c1))_0x28307b=function(_0x325095,_0x2408fa){const _0x3990e2=_0x200344,_0x162741=new _0x2d992(_0x3990e2(0x1c1),{'code':_0x325095,'reason':_0x2408fa[_0x3990e2(0x192)](),'wasClean':this[_0x3990e2(0x2ec)]&&this[_0x3990e2(0x19a)]});_0x162741[_0x481d88]=this,_0x7bf812(_0xf97bc1,this,_0x162741);};else{if(_0xe4fb72===_0x200344(0x2e2))_0x28307b=function(_0x3e9bbe){const _0x54d706=_0x200344,_0x1c9473=new _0x466921(_0x54d706(0x2e2),{'error':_0x3e9bbe,'message':_0x3e9bbe[_0x54d706(0x1db)]});_0x1c9473[_0x481d88]=this,_0x7bf812(_0xf97bc1,this,_0x1c9473);};else{if(_0xe4fb72===_0x200344(0x338))_0x28307b=function(){const _0x148606=new _0xcd3690('open');_0x148606[_0x481d88]=this,_0x7bf812(_0xf97bc1,this,_0x148606);};else return;}}}_0x28307b[_0x4f6d03]=!!_0x415255[_0x4f6d03],_0x28307b[_0x318f0f]=_0xf97bc1,_0x415255[_0x200344(0x2b2)]?this['once'](_0xe4fb72,_0x28307b):this['on'](_0xe4fb72,_0x28307b);},'removeEventListener'(_0x402356,_0x576016){for(const _0x5e37e8 of this['listeners'](_0x402356))if(_0x5e37e8[_0x318f0f]===_0x576016&&!_0x5e37e8[_0x4f6d03]){this['removeListener'](_0x402356,_0x5e37e8);break;}}},'MessageEvent':_0x383d83};function _0x7bf812(_0xc7c761,_0x28b9bd,_0x109d7d){const _0x27a399=_0xf8458d;typeof _0xc7c761==_0x27a399(0x2f1)&&_0xc7c761[_0x27a399(0x20d)]?_0xc7c761[_0x27a399(0x20d)][_0x27a399(0x234)](_0xc7c761,_0x109d7d):_0xc7c761[_0x27a399(0x234)](_0x28b9bd,_0x109d7d);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0xe5aceb}=ne();function _0x297225(_0x24fa32,_0x26c9d2,_0x16cac2){const _0x59350f=_0x4f95;_0x24fa32[_0x26c9d2]===void 0x0?_0x24fa32[_0x26c9d2]=[_0x16cac2]:_0x24fa32[_0x26c9d2][_0x59350f(0x2cb)](_0x16cac2);}function _0x313f38(_0x1e3434){const _0x23a610=_0x4f95,_0x38805c=Object[_0x23a610(0x207)](null);let _0x51ba87=Object[_0x23a610(0x207)](null),_0x277348=!0x1,_0x1e95fe=!0x1,_0x100988=!0x1,_0x2e91fc,_0x461c55,_0x4abb4e=-0x1,_0x511779=-0x1,_0xe56df3=-0x1,_0x42ddc0=0x0;for(;_0x42ddc0<_0x1e3434[_0x23a610(0x2c1)];_0x42ddc0++)if(_0x511779=_0x1e3434['charCodeAt'](_0x42ddc0),_0x2e91fc===void 0x0){if(_0xe56df3===-0x1&&_0xe5aceb[_0x511779]===0x1)_0x4abb4e===-0x1&&(_0x4abb4e=_0x42ddc0);else{if(_0x42ddc0!==0x0&&(_0x511779===0x20||_0x511779===0x9))_0xe56df3===-0x1&&_0x4abb4e!==-0x1&&(_0xe56df3=_0x42ddc0);else{if(_0x511779===0x3b||_0x511779===0x2c){if(_0x4abb4e===-0x1)throw new SyntaxError(_0x23a610(0x1f7)+_0x42ddc0);_0xe56df3===-0x1&&(_0xe56df3=_0x42ddc0);const _0xd0c8bb=_0x1e3434['slice'](_0x4abb4e,_0xe56df3);_0x511779===0x2c?(_0x297225(_0x38805c,_0xd0c8bb,_0x51ba87),_0x51ba87=Object[_0x23a610(0x207)](null)):_0x2e91fc=_0xd0c8bb,_0x4abb4e=_0xe56df3=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x42ddc0);}}}else{if(_0x461c55===void 0x0){if(_0xe56df3===-0x1&&_0xe5aceb[_0x511779]===0x1)_0x4abb4e===-0x1&&(_0x4abb4e=_0x42ddc0);else{if(_0x511779===0x20||_0x511779===0x9)_0xe56df3===-0x1&&_0x4abb4e!==-0x1&&(_0xe56df3=_0x42ddc0);else{if(_0x511779===0x3b||_0x511779===0x2c){if(_0x4abb4e===-0x1)throw new SyntaxError(_0x23a610(0x1f7)+_0x42ddc0);_0xe56df3===-0x1&&(_0xe56df3=_0x42ddc0),_0x297225(_0x51ba87,_0x1e3434[_0x23a610(0x23f)](_0x4abb4e,_0xe56df3),!0x0),_0x511779===0x2c&&(_0x297225(_0x38805c,_0x2e91fc,_0x51ba87),_0x51ba87=Object['create'](null),_0x2e91fc=void 0x0),_0x4abb4e=_0xe56df3=-0x1;}else{if(_0x511779===0x3d&&_0x4abb4e!==-0x1&&_0xe56df3===-0x1)_0x461c55=_0x1e3434[_0x23a610(0x23f)](_0x4abb4e,_0x42ddc0),_0x4abb4e=_0xe56df3=-0x1;else throw new SyntaxError(_0x23a610(0x1f7)+_0x42ddc0);}}}}else{if(_0x1e95fe){if(_0xe5aceb[_0x511779]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x42ddc0);_0x4abb4e===-0x1?_0x4abb4e=_0x42ddc0:_0x277348||(_0x277348=!0x0),_0x1e95fe=!0x1;}else{if(_0x100988){if(_0xe5aceb[_0x511779]===0x1)_0x4abb4e===-0x1&&(_0x4abb4e=_0x42ddc0);else{if(_0x511779===0x22&&_0x4abb4e!==-0x1)_0x100988=!0x1,_0xe56df3=_0x42ddc0;else{if(_0x511779===0x5c)_0x1e95fe=!0x0;else throw new SyntaxError(_0x23a610(0x1f7)+_0x42ddc0);}}}else{if(_0x511779===0x22&&_0x1e3434[_0x23a610(0x1eb)](_0x42ddc0-0x1)===0x3d)_0x100988=!0x0;else{if(_0xe56df3===-0x1&&_0xe5aceb[_0x511779]===0x1)_0x4abb4e===-0x1&&(_0x4abb4e=_0x42ddc0);else{if(_0x4abb4e!==-0x1&&(_0x511779===0x20||_0x511779===0x9))_0xe56df3===-0x1&&(_0xe56df3=_0x42ddc0);else{if(_0x511779===0x3b||_0x511779===0x2c){if(_0x4abb4e===-0x1)throw new SyntaxError(_0x23a610(0x1f7)+_0x42ddc0);_0xe56df3===-0x1&&(_0xe56df3=_0x42ddc0);let _0x17ff51=_0x1e3434[_0x23a610(0x23f)](_0x4abb4e,_0xe56df3);_0x277348&&(_0x17ff51=_0x17ff51['replace'](/\\/g,''),_0x277348=!0x1),_0x297225(_0x51ba87,_0x461c55,_0x17ff51),_0x511779===0x2c&&(_0x297225(_0x38805c,_0x2e91fc,_0x51ba87),_0x51ba87=Object[_0x23a610(0x207)](null),_0x2e91fc=void 0x0),_0x461c55=void 0x0,_0x4abb4e=_0xe56df3=-0x1;}else throw new SyntaxError(_0x23a610(0x1f7)+_0x42ddc0);}}}}}}}if(_0x4abb4e===-0x1||_0x100988||_0x511779===0x20||_0x511779===0x9)throw new SyntaxError(_0x23a610(0x1f3));_0xe56df3===-0x1&&(_0xe56df3=_0x42ddc0);const _0x4113ba=_0x1e3434[_0x23a610(0x23f)](_0x4abb4e,_0xe56df3);return _0x2e91fc===void 0x0?_0x297225(_0x38805c,_0x4113ba,_0x51ba87):(_0x461c55===void 0x0?_0x297225(_0x51ba87,_0x4113ba,!0x0):_0x277348?_0x297225(_0x51ba87,_0x461c55,_0x4113ba[_0x23a610(0x25d)](/\\/g,'')):_0x297225(_0x51ba87,_0x461c55,_0x4113ba),_0x297225(_0x38805c,_0x2e91fc,_0x51ba87)),_0x38805c;}function _0x5f4e8c(_0x3efd76){const _0x389014=_0x4f95;return Object['keys'](_0x3efd76)[_0x389014(0x318)](_0x421596=>{const _0x21cc2b=_0x389014;let _0x3306ab=_0x3efd76[_0x421596];return Array[_0x21cc2b(0x2d2)](_0x3306ab)||(_0x3306ab=[_0x3306ab]),_0x3306ab[_0x21cc2b(0x318)](_0x3d28cd=>[_0x421596][_0x21cc2b(0x1ed)](Object[_0x21cc2b(0x24d)](_0x3d28cd)[_0x21cc2b(0x318)](_0x282090=>{const _0x4c5f87=_0x21cc2b;let _0x5a5764=_0x3d28cd[_0x282090];return Array[_0x4c5f87(0x2d2)](_0x5a5764)||(_0x5a5764=[_0x5a5764]),_0x5a5764[_0x4c5f87(0x318)](_0x1dc93c=>_0x1dc93c===!0x0?_0x282090:_0x282090+'='+_0x1dc93c)['join'](';\x20');}))['join'](';\x20'))[_0x21cc2b(0x280)](',\x20');})[_0x389014(0x280)](',\x20');}return be={'format':_0x5f4e8c,'parse':_0x313f38},be;}var we,st;function Ie(){const _0x516cce=_0x34176d;if(st)return we;st=0x1;const _0x310ab4=_0x29cd67,_0x5e422d=_0x1aae83,_0x463c6b=_0x1d9926,_0x1e74ba=_0x3e958d,_0x4ef268=_0x53f427,{randomBytes:_0x25f600,createHash:_0x2478be}=_0x499ed5,{Duplex:_0x58399d,Readable:_0x37bb53}=_0x55da56,{URL:_0x1d3308}=_0x1670d8,_0x3577d5=he(),_0x2a6e2a=dt(),_0x384690=_t(),{isBlob:_0x5f45f2}=ne(),{BINARY_TYPES:_0x5f5172,EMPTY_BUFFER:_0x467d28,GUID:_0x44beeb,kForOnEventAttribute:_0x22e01c,kListener:_0x125644,kStatusCode:_0x336ba6,kWebSocket:_0x18dcde,NOOP:_0x3df22f}=V(),{EventTarget:{addEventListener:_0x304400,removeEventListener:_0x56973b}}=Kt(),{format:_0x2421d2,parse:_0x6dc9ac}=pt(),{toBuffer:_0x5d0c2d}=ce(),_0x30130f=0x1e*0x3e8,_0x421421=Symbol('kAborted'),_0x5a1b0c=[0x8,0xd],_0x54393f=[_0x516cce(0x20c),'OPEN',_0x516cce(0x2bc),_0x516cce(0x296)],_0x514db1=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x457205 extends _0x310ab4{constructor(_0x287f87,_0x3fc2c7,_0x3dee80){const _0x23d1c9=_0x516cce;super(),this[_0x23d1c9(0x241)]=_0x5f5172[0x0],this[_0x23d1c9(0x2df)]=0x3ee,this['_closeFrameReceived']=!0x1,this[_0x23d1c9(0x19a)]=!0x1,this[_0x23d1c9(0x2e6)]=_0x467d28,this[_0x23d1c9(0x1e3)]=null,this[_0x23d1c9(0x300)]=!0x1,this[_0x23d1c9(0x327)]={},this['_paused']=!0x1,this[_0x23d1c9(0x30c)]='',this[_0x23d1c9(0x26a)]=_0x457205[_0x23d1c9(0x20c)],this[_0x23d1c9(0x250)]=null,this['_sender']=null,this['_socket']=null,_0x287f87!==null?(this[_0x23d1c9(0x292)]=0x0,this['_isServer']=!0x1,this[_0x23d1c9(0x1cc)]=0x0,_0x3fc2c7===void 0x0?_0x3fc2c7=[]:Array[_0x23d1c9(0x2d2)](_0x3fc2c7)||(typeof _0x3fc2c7==_0x23d1c9(0x2f1)&&_0x3fc2c7!==null?(_0x3dee80=_0x3fc2c7,_0x3fc2c7=[]):_0x3fc2c7=[_0x3fc2c7]),_0x39e9a6(this,_0x287f87,_0x3fc2c7,_0x3dee80)):(this[_0x23d1c9(0x309)]=_0x3dee80[_0x23d1c9(0x1e5)],this[_0x23d1c9(0x201)]=!0x0);}get[_0x516cce(0x1ce)](){const _0x2adb3b=_0x516cce;return this[_0x2adb3b(0x241)];}set[_0x516cce(0x1ce)](_0x2adba4){const _0x54c2ea=_0x516cce;_0x5f5172['includes'](_0x2adba4)&&(this[_0x54c2ea(0x241)]=_0x2adba4,this['_receiver']&&(this[_0x54c2ea(0x250)]['_binaryType']=_0x2adba4));}get[_0x516cce(0x2c0)](){const _0x31535e=_0x516cce;return this['_socket']?this['_socket'][_0x31535e(0x223)][_0x31535e(0x2c1)]+this[_0x31535e(0x343)][_0x31535e(0x194)]:this[_0x31535e(0x292)];}get[_0x516cce(0x1b5)](){const _0x19dc05=_0x516cce;return Object[_0x19dc05(0x24d)](this[_0x19dc05(0x327)])['join']();}get[_0x516cce(0x231)](){const _0x2eba12=_0x516cce;return this[_0x2eba12(0x275)];}get[_0x516cce(0x30e)](){return null;}get[_0x516cce(0x1dd)](){return null;}get[_0x516cce(0x22a)](){return null;}get[_0x516cce(0x2af)](){return null;}get[_0x516cce(0x21a)](){const _0x272427=_0x516cce;return this[_0x272427(0x30c)];}get['readyState'](){return this['_readyState'];}get[_0x516cce(0x312)](){const _0xddf3a3=_0x516cce;return this[_0xddf3a3(0x283)];}[_0x516cce(0x1bb)](_0x437f98,_0x675657,_0xd6348a){const _0x5a5bd0=_0x516cce,_0x5e0292=new _0x2a6e2a({'allowSynchronousEvents':_0xd6348a['allowSynchronousEvents'],'binaryType':this['binaryType'],'extensions':this['_extensions'],'isServer':this[_0x5a5bd0(0x201)],'maxPayload':_0xd6348a[_0x5a5bd0(0x2d3)],'skipUTF8Validation':_0xd6348a[_0x5a5bd0(0x32c)]}),_0x23a2e6=new _0x384690(_0x437f98,this['_extensions'],_0xd6348a[_0x5a5bd0(0x33d)]);this[_0x5a5bd0(0x250)]=_0x5e0292,this[_0x5a5bd0(0x343)]=_0x23a2e6,this[_0x5a5bd0(0x1a3)]=_0x437f98,_0x5e0292[_0x18dcde]=this,_0x23a2e6[_0x18dcde]=this,_0x437f98[_0x18dcde]=this,_0x5e0292['on']('conclude',_0x37187),_0x5e0292['on'](_0x5a5bd0(0x1da),_0x4659d3),_0x5e0292['on'](_0x5a5bd0(0x2e2),_0x275745),_0x5e0292['on'](_0x5a5bd0(0x1db),_0x4b3bca),_0x5e0292['on'](_0x5a5bd0(0x1f8),_0x483602),_0x5e0292['on'](_0x5a5bd0(0x20b),_0x327230),_0x23a2e6[_0x5a5bd0(0x1dd)]=_0x5acc03,_0x437f98[_0x5a5bd0(0x2e8)]&&_0x437f98[_0x5a5bd0(0x2e8)](0x0),_0x437f98[_0x5a5bd0(0x204)]&&_0x437f98['setNoDelay'](),_0x675657[_0x5a5bd0(0x2c1)]>0x0&&_0x437f98[_0x5a5bd0(0x1b7)](_0x675657),_0x437f98['on'](_0x5a5bd0(0x1c1),_0x17526a),_0x437f98['on'](_0x5a5bd0(0x19c),_0x2b8023),_0x437f98['on'](_0x5a5bd0(0x263),_0x8e48e9),_0x437f98['on']('error',_0x5ef6b0),this['_readyState']=_0x457205[_0x5a5bd0(0x24e)],this['emit'](_0x5a5bd0(0x338));}[_0x516cce(0x326)](){const _0x255559=_0x516cce;if(!this[_0x255559(0x1a3)]){this[_0x255559(0x26a)]=_0x457205[_0x255559(0x296)],this[_0x255559(0x2b8)]('close',this[_0x255559(0x2df)],this[_0x255559(0x2e6)]);return;}this['_extensions'][_0x3577d5[_0x255559(0x1a1)]]&&this[_0x255559(0x327)][_0x3577d5['extensionName']]['cleanup'](),this[_0x255559(0x250)][_0x255559(0x291)](),this[_0x255559(0x26a)]=_0x457205['CLOSED'],this[_0x255559(0x2b8)]('close',this[_0x255559(0x2df)],this[_0x255559(0x2e6)]);}[_0x516cce(0x1c1)](_0xbd17bc,_0x1c6518){const _0x439df8=_0x516cce;if(this[_0x439df8(0x246)]!==_0x457205['CLOSED']){if(this['readyState']===_0x457205['CONNECTING']){_0x4f5dc7(this,this[_0x439df8(0x1c3)],_0x439df8(0x228));return;}if(this['readyState']===_0x457205[_0x439df8(0x2bc)]){this[_0x439df8(0x19a)]&&(this[_0x439df8(0x2ec)]||this[_0x439df8(0x250)]['_writableState']['errorEmitted'])&&this['_socket'][_0x439df8(0x263)]();return;}this[_0x439df8(0x26a)]=_0x457205[_0x439df8(0x2bc)],this[_0x439df8(0x343)][_0x439df8(0x1c1)](_0xbd17bc,_0x1c6518,!this[_0x439df8(0x201)],_0x294609=>{const _0x249c33=_0x439df8;_0x294609||(this['_closeFrameSent']=!0x0,(this['_closeFrameReceived']||this['_receiver'][_0x249c33(0x223)][_0x249c33(0x20f)])&&this[_0x249c33(0x1a3)][_0x249c33(0x263)]());}),_0x5a8e77(this);}}[_0x516cce(0x323)](){const _0x367d6f=_0x516cce;this[_0x367d6f(0x246)]===_0x457205['CONNECTING']||this[_0x367d6f(0x246)]===_0x457205[_0x367d6f(0x296)]||(this[_0x367d6f(0x275)]=!0x0,this[_0x367d6f(0x1a3)]['pause']());}[_0x516cce(0x1f8)](_0x59a81c,_0x30a7ba,_0x3e7a3a){const _0x4044a5=_0x516cce;if(this[_0x4044a5(0x246)]===_0x457205[_0x4044a5(0x20c)])throw new Error(_0x4044a5(0x2c2));if(typeof _0x59a81c==_0x4044a5(0x1d6)?(_0x3e7a3a=_0x59a81c,_0x59a81c=_0x30a7ba=void 0x0):typeof _0x30a7ba=='function'&&(_0x3e7a3a=_0x30a7ba,_0x30a7ba=void 0x0),typeof _0x59a81c==_0x4044a5(0x2b1)&&(_0x59a81c=_0x59a81c[_0x4044a5(0x192)]()),this[_0x4044a5(0x246)]!==_0x457205[_0x4044a5(0x24e)]){_0x1ce2f3(this,_0x59a81c,_0x3e7a3a);return;}_0x30a7ba===void 0x0&&(_0x30a7ba=!this[_0x4044a5(0x201)]),this[_0x4044a5(0x343)][_0x4044a5(0x1f8)](_0x59a81c||_0x467d28,_0x30a7ba,_0x3e7a3a);}[_0x516cce(0x20b)](_0x209458,_0x654efc,_0x1bd084){const _0x41cf57=_0x516cce;if(this['readyState']===_0x457205['CONNECTING'])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x209458==_0x41cf57(0x1d6)?(_0x1bd084=_0x209458,_0x209458=_0x654efc=void 0x0):typeof _0x654efc=='function'&&(_0x1bd084=_0x654efc,_0x654efc=void 0x0),typeof _0x209458==_0x41cf57(0x2b1)&&(_0x209458=_0x209458[_0x41cf57(0x192)]()),this[_0x41cf57(0x246)]!==_0x457205[_0x41cf57(0x24e)]){_0x1ce2f3(this,_0x209458,_0x1bd084);return;}_0x654efc===void 0x0&&(_0x654efc=!this[_0x41cf57(0x201)]),this[_0x41cf57(0x343)][_0x41cf57(0x20b)](_0x209458||_0x467d28,_0x654efc,_0x1bd084);}[_0x516cce(0x30a)](){const _0x27651f=_0x516cce;this[_0x27651f(0x246)]===_0x457205[_0x27651f(0x20c)]||this[_0x27651f(0x246)]===_0x457205[_0x27651f(0x296)]||(this[_0x27651f(0x275)]=!0x1,this[_0x27651f(0x250)]['_writableState'][_0x27651f(0x25f)]||this[_0x27651f(0x1a3)][_0x27651f(0x30a)]());}[_0x516cce(0x31d)](_0x394885,_0x2c79ce,_0x2ca16d){const _0x17d457=_0x516cce;if(this[_0x17d457(0x246)]===_0x457205[_0x17d457(0x20c)])throw new Error(_0x17d457(0x2c2));if(typeof _0x2c79ce==_0x17d457(0x1d6)&&(_0x2ca16d=_0x2c79ce,_0x2c79ce={}),typeof _0x394885==_0x17d457(0x2b1)&&(_0x394885=_0x394885[_0x17d457(0x192)]()),this[_0x17d457(0x246)]!==_0x457205[_0x17d457(0x24e)]){_0x1ce2f3(this,_0x394885,_0x2ca16d);return;}const _0x1fdc85={'binary':typeof _0x394885!=_0x17d457(0x24b),'mask':!this[_0x17d457(0x201)],'compress':!0x0,'fin':!0x0,..._0x2c79ce};this[_0x17d457(0x327)][_0x3577d5[_0x17d457(0x1a1)]]||(_0x1fdc85['compress']=!0x1),this['_sender']['send'](_0x394885||_0x467d28,_0x1fdc85,_0x2ca16d);}[_0x516cce(0x2a9)](){const _0x32f756=_0x516cce;if(this[_0x32f756(0x246)]!==_0x457205[_0x32f756(0x296)]){if(this[_0x32f756(0x246)]===_0x457205[_0x32f756(0x20c)]){_0x4f5dc7(this,this['_req'],_0x32f756(0x228));return;}this[_0x32f756(0x1a3)]&&(this[_0x32f756(0x26a)]=_0x457205[_0x32f756(0x2bc)],this[_0x32f756(0x1a3)][_0x32f756(0x1d4)]());}}}Object[_0x516cce(0x2bd)](_0x457205,'CONNECTING',{'enumerable':!0x0,'value':_0x54393f['indexOf'](_0x516cce(0x20c))}),Object[_0x516cce(0x2bd)](_0x457205[_0x516cce(0x329)],_0x516cce(0x20c),{'enumerable':!0x0,'value':_0x54393f[_0x516cce(0x33b)](_0x516cce(0x20c))}),Object[_0x516cce(0x2bd)](_0x457205,_0x516cce(0x24e),{'enumerable':!0x0,'value':_0x54393f[_0x516cce(0x33b)](_0x516cce(0x24e))}),Object[_0x516cce(0x2bd)](_0x457205[_0x516cce(0x329)],'OPEN',{'enumerable':!0x0,'value':_0x54393f['indexOf'](_0x516cce(0x24e))}),Object[_0x516cce(0x2bd)](_0x457205,_0x516cce(0x2bc),{'enumerable':!0x0,'value':_0x54393f[_0x516cce(0x33b)](_0x516cce(0x2bc))}),Object[_0x516cce(0x2bd)](_0x457205[_0x516cce(0x329)],_0x516cce(0x2bc),{'enumerable':!0x0,'value':_0x54393f['indexOf']('CLOSING')}),Object[_0x516cce(0x2bd)](_0x457205,'CLOSED',{'enumerable':!0x0,'value':_0x54393f[_0x516cce(0x33b)](_0x516cce(0x296))}),Object[_0x516cce(0x2bd)](_0x457205[_0x516cce(0x329)],_0x516cce(0x296),{'enumerable':!0x0,'value':_0x54393f[_0x516cce(0x33b)]('CLOSED')}),[_0x516cce(0x1ce),_0x516cce(0x2c0),'extensions',_0x516cce(0x231),'protocol','readyState','url'][_0x516cce(0x28c)](_0x329743=>{const _0xc5994=_0x516cce;Object[_0xc5994(0x2bd)](_0x457205[_0xc5994(0x329)],_0x329743,{'enumerable':!0x0});}),[_0x516cce(0x338),_0x516cce(0x2e2),'close',_0x516cce(0x1db)][_0x516cce(0x28c)](_0x375f75=>{const _0xda2d1d=_0x516cce;Object[_0xda2d1d(0x2bd)](_0x457205['prototype'],'on'+_0x375f75,{'enumerable':!0x0,'get'(){const _0x32eb31=_0xda2d1d;for(const _0x2b566b of this[_0x32eb31(0x33a)](_0x375f75))if(_0x2b566b[_0x22e01c])return _0x2b566b[_0x125644];return null;},'set'(_0x249bdc){const _0x1f055f=_0xda2d1d;for(const _0x29ce0e of this[_0x1f055f(0x33a)](_0x375f75))if(_0x29ce0e[_0x22e01c]){this[_0x1f055f(0x27b)](_0x375f75,_0x29ce0e);break;}typeof _0x249bdc==_0x1f055f(0x1d6)&&this['addEventListener'](_0x375f75,_0x249bdc,{[_0x22e01c]:!0x0});}});}),_0x457205[_0x516cce(0x329)][_0x516cce(0x1af)]=_0x304400,_0x457205['prototype'][_0x516cce(0x23e)]=_0x56973b,we=_0x457205;function _0x39e9a6(_0x53a73e,_0x3b32c8,_0x479950,_0x43d6e1){const _0x53c7dd=_0x516cce,_0x2834a8={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x5a1b0c[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x43d6e1,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x53c7dd(0x29e),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x53a73e[_0x53c7dd(0x309)]=_0x2834a8['autoPong'],!_0x5a1b0c[_0x53c7dd(0x2e3)](_0x2834a8[_0x53c7dd(0x25c)]))throw new RangeError(_0x53c7dd(0x191)+_0x2834a8[_0x53c7dd(0x25c)]+'\x20(supported\x20versions:\x20'+_0x5a1b0c[_0x53c7dd(0x280)](',\x20')+')');let _0x261954;if(_0x3b32c8 instanceof _0x1d3308)_0x261954=_0x3b32c8;else try{_0x261954=new _0x1d3308(_0x3b32c8);}catch{throw new SyntaxError('Invalid\x20URL:\x20'+_0x3b32c8);}_0x261954[_0x53c7dd(0x21a)]===_0x53c7dd(0x287)?_0x261954[_0x53c7dd(0x21a)]=_0x53c7dd(0x1f0):_0x261954[_0x53c7dd(0x21a)]===_0x53c7dd(0x339)&&(_0x261954[_0x53c7dd(0x21a)]=_0x53c7dd(0x1ca)),_0x53a73e[_0x53c7dd(0x283)]=_0x261954[_0x53c7dd(0x238)];const _0x5c36ed=_0x261954[_0x53c7dd(0x21a)]===_0x53c7dd(0x1ca),_0x23a924=_0x261954[_0x53c7dd(0x21a)]==='ws+unix:';let _0x1aa552;if(_0x261954[_0x53c7dd(0x21a)]!==_0x53c7dd(0x1f0)&&!_0x5c36ed&&!_0x23a924?_0x1aa552='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':_0x23a924&&!_0x261954[_0x53c7dd(0x1bc)]?_0x1aa552=_0x53c7dd(0x331):_0x261954['hash']&&(_0x1aa552=_0x53c7dd(0x31c)),_0x1aa552){const _0x3df083=new SyntaxError(_0x1aa552);if(_0x53a73e['_redirects']===0x0)throw _0x3df083;_0x590443(_0x53a73e,_0x3df083);return;}const _0x43e003=_0x5c36ed?0x1bb:0x50,_0x4eb3c8=_0x25f600(0x10)[_0x53c7dd(0x192)](_0x53c7dd(0x252)),_0x10d4f6=_0x5c36ed?_0x5e422d['request']:_0x463c6b['request'],_0x206ce7=new Set();let _0x321011;if(_0x2834a8[_0x53c7dd(0x240)]=_0x2834a8['createConnection']||(_0x5c36ed?_0x145eb3:_0x52a54d),_0x2834a8[_0x53c7dd(0x203)]=_0x2834a8[_0x53c7dd(0x203)]||_0x43e003,_0x2834a8[_0x53c7dd(0x22c)]=_0x261954[_0x53c7dd(0x22c)]||_0x43e003,_0x2834a8[_0x53c7dd(0x2a8)]=_0x261954[_0x53c7dd(0x1f5)]['startsWith']('[')?_0x261954['hostname'][_0x53c7dd(0x23f)](0x1,-0x1):_0x261954[_0x53c7dd(0x1f5)],_0x2834a8['headers']={..._0x2834a8[_0x53c7dd(0x253)],'Sec-WebSocket-Version':_0x2834a8['protocolVersion'],'Sec-WebSocket-Key':_0x4eb3c8,'Connection':_0x53c7dd(0x26b),'Upgrade':_0x53c7dd(0x28f)},_0x2834a8['path']=_0x261954[_0x53c7dd(0x1bc)]+_0x261954['search'],_0x2834a8['timeout']=_0x2834a8[_0x53c7dd(0x247)],_0x2834a8[_0x53c7dd(0x262)]&&(_0x321011=new _0x3577d5(_0x2834a8[_0x53c7dd(0x262)]!==!0x0?_0x2834a8[_0x53c7dd(0x262)]:{},!0x1,_0x2834a8[_0x53c7dd(0x2d3)]),_0x2834a8[_0x53c7dd(0x253)][_0x53c7dd(0x258)]=_0x2421d2({[_0x3577d5[_0x53c7dd(0x1a1)]]:_0x321011[_0x53c7dd(0x295)]()})),_0x479950[_0x53c7dd(0x2c1)]){for(const _0x57696f of _0x479950){if(typeof _0x57696f!=_0x53c7dd(0x24b)||!_0x514db1[_0x53c7dd(0x27e)](_0x57696f)||_0x206ce7[_0x53c7dd(0x2a7)](_0x57696f))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x206ce7[_0x53c7dd(0x2e1)](_0x57696f);}_0x2834a8[_0x53c7dd(0x253)][_0x53c7dd(0x2d4)]=_0x479950[_0x53c7dd(0x280)](',');}if(_0x2834a8[_0x53c7dd(0x2dd)]&&(_0x2834a8[_0x53c7dd(0x25c)]<0xd?_0x2834a8[_0x53c7dd(0x253)]['Sec-WebSocket-Origin']=_0x2834a8[_0x53c7dd(0x2dd)]:_0x2834a8[_0x53c7dd(0x253)][_0x53c7dd(0x1fb)]=_0x2834a8[_0x53c7dd(0x2dd)]),(_0x261954[_0x53c7dd(0x193)]||_0x261954[_0x53c7dd(0x239)])&&(_0x2834a8['auth']=_0x261954[_0x53c7dd(0x193)]+':'+_0x261954[_0x53c7dd(0x239)]),_0x23a924){const _0x2b2bfa=_0x2834a8[_0x53c7dd(0x20a)][_0x53c7dd(0x206)](':');_0x2834a8['socketPath']=_0x2b2bfa[0x0],_0x2834a8['path']=_0x2b2bfa[0x1];}let _0x54d3d1;if(_0x2834a8['followRedirects']){if(_0x53a73e[_0x53c7dd(0x1cc)]===0x0){_0x53a73e[_0x53c7dd(0x2fe)]=_0x23a924,_0x53a73e[_0x53c7dd(0x2c8)]=_0x5c36ed,_0x53a73e[_0x53c7dd(0x190)]=_0x23a924?_0x2834a8[_0x53c7dd(0x256)]:_0x261954[_0x53c7dd(0x2a8)];const _0x195203=_0x43d6e1&&_0x43d6e1[_0x53c7dd(0x253)];if(_0x43d6e1={..._0x43d6e1,'headers':{}},_0x195203){for(const [_0x58e64e,_0x4efdfe]of Object[_0x53c7dd(0x27f)](_0x195203))_0x43d6e1[_0x53c7dd(0x253)][_0x58e64e[_0x53c7dd(0x2a6)]()]=_0x4efdfe;}}else{if(_0x53a73e[_0x53c7dd(0x2ff)](_0x53c7dd(0x29c))===0x0){const _0x171307=_0x23a924?_0x53a73e[_0x53c7dd(0x2fe)]?_0x2834a8[_0x53c7dd(0x256)]===_0x53a73e['_originalHostOrSocketPath']:!0x1:_0x53a73e[_0x53c7dd(0x2fe)]?!0x1:_0x261954[_0x53c7dd(0x2a8)]===_0x53a73e[_0x53c7dd(0x190)];(!_0x171307||_0x53a73e[_0x53c7dd(0x2c8)]&&!_0x5c36ed)&&(delete _0x2834a8['headers'][_0x53c7dd(0x1aa)],delete _0x2834a8['headers'][_0x53c7dd(0x316)],_0x171307||delete _0x2834a8[_0x53c7dd(0x253)]['host'],_0x2834a8['auth']=void 0x0);}}_0x2834a8['auth']&&!_0x43d6e1[_0x53c7dd(0x253)][_0x53c7dd(0x1aa)]&&(_0x43d6e1[_0x53c7dd(0x253)]['authorization']='Basic\x20'+Buffer[_0x53c7dd(0x225)](_0x2834a8[_0x53c7dd(0x2b6)])['toString']('base64')),_0x54d3d1=_0x53a73e[_0x53c7dd(0x1c3)]=_0x10d4f6(_0x2834a8),_0x53a73e[_0x53c7dd(0x1cc)]&&_0x53a73e[_0x53c7dd(0x2b8)](_0x53c7dd(0x29c),_0x53a73e[_0x53c7dd(0x312)],_0x54d3d1);}else _0x54d3d1=_0x53a73e[_0x53c7dd(0x1c3)]=_0x10d4f6(_0x2834a8);_0x2834a8[_0x53c7dd(0x226)]&&_0x54d3d1['on']('timeout',()=>{const _0x52438a=_0x53c7dd;_0x4f5dc7(_0x53a73e,_0x54d3d1,_0x52438a(0x2db));}),_0x54d3d1['on'](_0x53c7dd(0x2e2),_0x230f9c=>{const _0x55dd4a=_0x53c7dd;_0x54d3d1===null||_0x54d3d1[_0x421421]||(_0x54d3d1=_0x53a73e[_0x55dd4a(0x1c3)]=null,_0x590443(_0x53a73e,_0x230f9c));}),_0x54d3d1['on'](_0x53c7dd(0x336),_0x55c974=>{const _0x1ef412=_0x53c7dd,_0x1ae462=_0x55c974['headers'][_0x1ef412(0x1e4)],_0x5d55b8=_0x55c974[_0x1ef412(0x1f9)];if(_0x1ae462&&_0x2834a8['followRedirects']&&_0x5d55b8>=0x12c&&_0x5d55b8<0x190){if(++_0x53a73e['_redirects']>_0x2834a8['maxRedirects']){_0x4f5dc7(_0x53a73e,_0x54d3d1,_0x1ef412(0x25e));return;}_0x54d3d1[_0x1ef412(0x2be)]();let _0x351d4a;try{_0x351d4a=new _0x1d3308(_0x1ae462,_0x3b32c8);}catch{const _0x2aecf2=new SyntaxError('Invalid\x20URL:\x20'+_0x1ae462);_0x590443(_0x53a73e,_0x2aecf2);return;}_0x39e9a6(_0x53a73e,_0x351d4a,_0x479950,_0x43d6e1);}else _0x53a73e[_0x1ef412(0x2b8)](_0x1ef412(0x2a5),_0x54d3d1,_0x55c974)||_0x4f5dc7(_0x53a73e,_0x54d3d1,'Unexpected\x20server\x20response:\x20'+_0x55c974[_0x1ef412(0x1f9)]);}),_0x54d3d1['on'](_0x53c7dd(0x21e),(_0x6dff3b,_0x1fcd48,_0x3847a8)=>{const _0xa804a6=_0x53c7dd;if(_0x53a73e['emit']('upgrade',_0x6dff3b),_0x53a73e[_0xa804a6(0x246)]!==_0x457205[_0xa804a6(0x20c)])return;_0x54d3d1=_0x53a73e[_0xa804a6(0x1c3)]=null;const _0x21c492=_0x6dff3b[_0xa804a6(0x253)][_0xa804a6(0x21e)];if(_0x21c492===void 0x0||_0x21c492[_0xa804a6(0x2a6)]()!=='websocket'){_0x4f5dc7(_0x53a73e,_0x1fcd48,_0xa804a6(0x1f2));return;}const _0x2a8a5f=_0x2478be(_0xa804a6(0x2cf))['update'](_0x4eb3c8+_0x44beeb)['digest'](_0xa804a6(0x252));if(_0x6dff3b[_0xa804a6(0x253)][_0xa804a6(0x273)]!==_0x2a8a5f){_0x4f5dc7(_0x53a73e,_0x1fcd48,_0xa804a6(0x303));return;}const _0x53b264=_0x6dff3b[_0xa804a6(0x253)]['sec-websocket-protocol'];let _0x50d169;if(_0x53b264!==void 0x0?_0x206ce7[_0xa804a6(0x32e)]?_0x206ce7[_0xa804a6(0x2a7)](_0x53b264)||(_0x50d169=_0xa804a6(0x2b4)):_0x50d169='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0x206ce7[_0xa804a6(0x32e)]&&(_0x50d169=_0xa804a6(0x1df)),_0x50d169){_0x4f5dc7(_0x53a73e,_0x1fcd48,_0x50d169);return;}_0x53b264&&(_0x53a73e[_0xa804a6(0x30c)]=_0x53b264);const _0x4991dc=_0x6dff3b['headers']['sec-websocket-extensions'];if(_0x4991dc!==void 0x0){if(!_0x321011){_0x4f5dc7(_0x53a73e,_0x1fcd48,_0xa804a6(0x32b));return;}let _0x5482f6;try{_0x5482f6=_0x6dc9ac(_0x4991dc);}catch{_0x4f5dc7(_0x53a73e,_0x1fcd48,_0xa804a6(0x340));return;}const _0x2e38d4=Object[_0xa804a6(0x24d)](_0x5482f6);if(_0x2e38d4['length']!==0x1||_0x2e38d4[0x0]!==_0x3577d5[_0xa804a6(0x1a1)]){_0x4f5dc7(_0x53a73e,_0x1fcd48,_0xa804a6(0x1b6));return;}try{_0x321011['accept'](_0x5482f6[_0x3577d5['extensionName']]);}catch{_0x4f5dc7(_0x53a73e,_0x1fcd48,_0xa804a6(0x340));return;}_0x53a73e[_0xa804a6(0x327)][_0x3577d5[_0xa804a6(0x1a1)]]=_0x321011;}_0x53a73e[_0xa804a6(0x1bb)](_0x1fcd48,_0x3847a8,{'allowSynchronousEvents':_0x2834a8[_0xa804a6(0x314)],'generateMask':_0x2834a8[_0xa804a6(0x33d)],'maxPayload':_0x2834a8[_0xa804a6(0x2d3)],'skipUTF8Validation':_0x2834a8[_0xa804a6(0x32c)]});}),_0x2834a8[_0x53c7dd(0x2f0)]?_0x2834a8[_0x53c7dd(0x2f0)](_0x54d3d1,_0x53a73e):_0x54d3d1[_0x53c7dd(0x263)]();}function _0x590443(_0xa4fb3,_0x12c5f6){const _0x55ae99=_0x516cce;_0xa4fb3[_0x55ae99(0x26a)]=_0x457205['CLOSING'],_0xa4fb3['_errorEmitted']=!0x0,_0xa4fb3[_0x55ae99(0x2b8)](_0x55ae99(0x2e2),_0x12c5f6),_0xa4fb3['emitClose']();}function _0x52a54d(_0x1e1be5){const _0x4fa2f9=_0x516cce;return _0x1e1be5[_0x4fa2f9(0x20a)]=_0x1e1be5[_0x4fa2f9(0x256)],_0x1e74ba['connect'](_0x1e1be5);}function _0x145eb3(_0x7e9f8){const _0x496533=_0x516cce;return _0x7e9f8[_0x496533(0x20a)]=void 0x0,!_0x7e9f8['servername']&&_0x7e9f8[_0x496533(0x1d1)]!==''&&(_0x7e9f8[_0x496533(0x1d1)]=_0x1e74ba[_0x496533(0x307)](_0x7e9f8[_0x496533(0x2a8)])?'':_0x7e9f8['host']),_0x4ef268[_0x496533(0x2aa)](_0x7e9f8);}function _0x4f5dc7(_0x2eec92,_0x242f37,_0xa0257e){const _0x29dcf8=_0x516cce;_0x2eec92['_readyState']=_0x457205['CLOSING'];const _0x20a618=new Error(_0xa0257e);Error[_0x29dcf8(0x200)](_0x20a618,_0x4f5dc7),_0x242f37['setHeader']?(_0x242f37[_0x421421]=!0x0,_0x242f37[_0x29dcf8(0x2be)](),_0x242f37[_0x29dcf8(0x1fe)]&&!_0x242f37[_0x29dcf8(0x1fe)][_0x29dcf8(0x2fa)]&&_0x242f37[_0x29dcf8(0x1fe)][_0x29dcf8(0x1d4)](),process[_0x29dcf8(0x297)](_0x590443,_0x2eec92,_0x20a618)):(_0x242f37[_0x29dcf8(0x1d4)](_0x20a618),_0x242f37['once'](_0x29dcf8(0x2e2),_0x2eec92[_0x29dcf8(0x2b8)][_0x29dcf8(0x245)](_0x2eec92,_0x29dcf8(0x2e2))),_0x242f37['once'](_0x29dcf8(0x1c1),_0x2eec92[_0x29dcf8(0x326)][_0x29dcf8(0x245)](_0x2eec92)));}function _0x1ce2f3(_0x1ec236,_0x328f99,_0x491210){const _0x163ffd=_0x516cce;if(_0x328f99){const _0x3f88b6=_0x5f45f2(_0x328f99)?_0x328f99[_0x163ffd(0x32e)]:_0x5d0c2d(_0x328f99)[_0x163ffd(0x2c1)];_0x1ec236[_0x163ffd(0x1a3)]?_0x1ec236[_0x163ffd(0x343)][_0x163ffd(0x194)]+=_0x3f88b6:_0x1ec236[_0x163ffd(0x292)]+=_0x3f88b6;}if(_0x491210){const _0x5ad39e=new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x20'+_0x1ec236[_0x163ffd(0x246)]+'\x20('+_0x54393f[_0x1ec236['readyState']]+')');process[_0x163ffd(0x297)](_0x491210,_0x5ad39e);}}function _0x37187(_0x29d525,_0x4320ef){const _0x2703a1=_0x516cce,_0x101ce9=this[_0x18dcde];_0x101ce9[_0x2703a1(0x2ec)]=!0x0,_0x101ce9[_0x2703a1(0x2e6)]=_0x4320ef,_0x101ce9[_0x2703a1(0x2df)]=_0x29d525,_0x101ce9[_0x2703a1(0x1a3)][_0x18dcde]!==void 0x0&&(_0x101ce9[_0x2703a1(0x1a3)][_0x2703a1(0x27b)](_0x2703a1(0x19c),_0x2b8023),process[_0x2703a1(0x297)](_0xa5b55b,_0x101ce9['_socket']),_0x29d525===0x3ed?_0x101ce9[_0x2703a1(0x1c1)]():_0x101ce9[_0x2703a1(0x1c1)](_0x29d525,_0x4320ef));}function _0x4659d3(){const _0x165c8d=_0x516cce,_0x7f8577=this[_0x18dcde];_0x7f8577[_0x165c8d(0x231)]||_0x7f8577[_0x165c8d(0x1a3)][_0x165c8d(0x30a)]();}function _0x275745(_0x126582){const _0x58ee8b=_0x516cce,_0x3c5055=this[_0x18dcde];_0x3c5055['_socket'][_0x18dcde]!==void 0x0&&(_0x3c5055[_0x58ee8b(0x1a3)][_0x58ee8b(0x27b)](_0x58ee8b(0x19c),_0x2b8023),process[_0x58ee8b(0x297)](_0xa5b55b,_0x3c5055[_0x58ee8b(0x1a3)]),_0x3c5055[_0x58ee8b(0x1c1)](_0x126582[_0x336ba6])),_0x3c5055[_0x58ee8b(0x300)]||(_0x3c5055[_0x58ee8b(0x300)]=!0x0,_0x3c5055[_0x58ee8b(0x2b8)]('error',_0x126582));}function _0x25b75c(){const _0x1b2b94=_0x516cce;this[_0x18dcde][_0x1b2b94(0x326)]();}function _0x4b3bca(_0x342bc9,_0x53d0bc){const _0x359e86=_0x516cce;this[_0x18dcde][_0x359e86(0x2b8)](_0x359e86(0x1db),_0x342bc9,_0x53d0bc);}function _0x483602(_0x3007d6){const _0x4a57b3=_0x516cce,_0x1b5b28=this[_0x18dcde];_0x1b5b28[_0x4a57b3(0x309)]&&_0x1b5b28[_0x4a57b3(0x20b)](_0x3007d6,!this[_0x4a57b3(0x201)],_0x3df22f),_0x1b5b28[_0x4a57b3(0x2b8)](_0x4a57b3(0x1f8),_0x3007d6);}function _0x327230(_0x34e115){const _0x58c11e=_0x516cce;this[_0x18dcde][_0x58c11e(0x2b8)]('pong',_0x34e115);}function _0xa5b55b(_0x3a52e4){const _0x32370f=_0x516cce;_0x3a52e4[_0x32370f(0x30a)]();}function _0x5acc03(_0x1b5267){const _0x256f3d=_0x516cce,_0x1bbae4=this[_0x18dcde];_0x1bbae4['readyState']!==_0x457205[_0x256f3d(0x296)]&&(_0x1bbae4['readyState']===_0x457205[_0x256f3d(0x24e)]&&(_0x1bbae4[_0x256f3d(0x26a)]=_0x457205['CLOSING'],_0x5a8e77(_0x1bbae4)),this[_0x256f3d(0x1a3)]['end'](),_0x1bbae4[_0x256f3d(0x300)]||(_0x1bbae4[_0x256f3d(0x300)]=!0x0,_0x1bbae4[_0x256f3d(0x2b8)](_0x256f3d(0x2e2),_0x1b5267)));}function _0x5a8e77(_0x3b08de){const _0xb3c198=_0x516cce;_0x3b08de['_closeTimer']=setTimeout(_0x3b08de[_0xb3c198(0x1a3)][_0xb3c198(0x1d4)][_0xb3c198(0x245)](_0x3b08de[_0xb3c198(0x1a3)]),_0x30130f);}function _0x17526a(){const _0x239c27=_0x516cce,_0x6500fb=this[_0x18dcde];this['removeListener'](_0x239c27(0x1c1),_0x17526a),this[_0x239c27(0x27b)](_0x239c27(0x19c),_0x2b8023),this[_0x239c27(0x27b)]('end',_0x8e48e9),_0x6500fb[_0x239c27(0x26a)]=_0x457205[_0x239c27(0x2bc)];let _0x235a32;!this[_0x239c27(0x211)]['endEmitted']&&!_0x6500fb[_0x239c27(0x2ec)]&&!_0x6500fb['_receiver']['_writableState']['errorEmitted']&&(_0x235a32=_0x6500fb[_0x239c27(0x1a3)][_0x239c27(0x22d)]())!==null&&_0x6500fb[_0x239c27(0x250)][_0x239c27(0x255)](_0x235a32),_0x6500fb[_0x239c27(0x250)][_0x239c27(0x263)](),this[_0x18dcde]=void 0x0,clearTimeout(_0x6500fb[_0x239c27(0x1e3)]),_0x6500fb[_0x239c27(0x250)][_0x239c27(0x223)][_0x239c27(0x2d1)]||_0x6500fb[_0x239c27(0x250)][_0x239c27(0x223)]['errorEmitted']?_0x6500fb['emitClose']():(_0x6500fb[_0x239c27(0x250)]['on'](_0x239c27(0x2e2),_0x25b75c),_0x6500fb['_receiver']['on'](_0x239c27(0x1d5),_0x25b75c));}function _0x2b8023(_0x143e70){const _0x556796=_0x516cce;this[_0x18dcde][_0x556796(0x250)][_0x556796(0x255)](_0x143e70)||this['pause']();}function _0x8e48e9(){const _0x2a08f2=_0x516cce,_0x5395a6=this[_0x18dcde];_0x5395a6['_readyState']=_0x457205['CLOSING'],_0x5395a6['_receiver'][_0x2a08f2(0x263)](),this[_0x2a08f2(0x263)]();}function _0x5ef6b0(){const _0x4e374d=_0x516cce,_0x237aeb=this[_0x18dcde];this['removeListener'](_0x4e374d(0x2e2),_0x5ef6b0),this['on'](_0x4e374d(0x2e2),_0x3df22f),_0x237aeb&&(_0x237aeb['_readyState']=_0x457205[_0x4e374d(0x2bc)],this[_0x4e374d(0x1d4)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x5bd695}=_0x55da56;function _0xaefed4(_0x38fc27){const _0xbc38ed=_0x4f95;_0x38fc27[_0xbc38ed(0x2b8)]('close');}function _0x5eb371(){const _0x2e643b=_0x4f95;!this[_0x2e643b(0x2fa)]&&this[_0x2e643b(0x223)][_0x2e643b(0x2d1)]&&this['destroy']();}function _0x10563a(_0x2cff03){const _0x436edc=_0x4f95;this['removeListener']('error',_0x10563a),this[_0x436edc(0x1d4)](),this[_0x436edc(0x2ff)](_0x436edc(0x2e2))===0x0&&this[_0x436edc(0x2b8)]('error',_0x2cff03);}function _0x3ffe11(_0x138bf5,_0x4e90ed){const _0x4ff8d6=_0x4f95;let _0x3bc041=!0x0;const _0x37e689=new _0x5bd695({..._0x4e90ed,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x138bf5['on'](_0x4ff8d6(0x1db),function(_0x367459,_0xdda5d9){const _0x4602dd=_0x4ff8d6,_0x2ae461=!_0xdda5d9&&_0x37e689[_0x4602dd(0x211)][_0x4602dd(0x24a)]?_0x367459[_0x4602dd(0x192)]():_0x367459;_0x37e689['push'](_0x2ae461)||_0x138bf5['pause']();}),_0x138bf5[_0x4ff8d6(0x2b2)](_0x4ff8d6(0x2e2),function(_0x3b2651){const _0x21d30d=_0x4ff8d6;_0x37e689[_0x21d30d(0x2fa)]||(_0x3bc041=!0x1,_0x37e689[_0x21d30d(0x1d4)](_0x3b2651));}),_0x138bf5[_0x4ff8d6(0x2b2)](_0x4ff8d6(0x1c1),function(){_0x37e689['destroyed']||_0x37e689['push'](null);}),_0x37e689[_0x4ff8d6(0x2d8)]=function(_0x229a0d,_0x44c930){const _0x2b0e7f=_0x4ff8d6;if(_0x138bf5[_0x2b0e7f(0x246)]===_0x138bf5[_0x2b0e7f(0x296)]){_0x44c930(_0x229a0d),process[_0x2b0e7f(0x297)](_0xaefed4,_0x37e689);return;}let _0x1e6e27=!0x1;_0x138bf5[_0x2b0e7f(0x2b2)]('error',function(_0x1ed9c2){_0x1e6e27=!0x0,_0x44c930(_0x1ed9c2);}),_0x138bf5[_0x2b0e7f(0x2b2)]('close',function(){const _0x514863=_0x2b0e7f;_0x1e6e27||_0x44c930(_0x229a0d),process[_0x514863(0x297)](_0xaefed4,_0x37e689);}),_0x3bc041&&_0x138bf5[_0x2b0e7f(0x2a9)]();},_0x37e689[_0x4ff8d6(0x2ed)]=function(_0x270f6c){const _0xf96ae7=_0x4ff8d6;if(_0x138bf5['readyState']===_0x138bf5['CONNECTING']){_0x138bf5['once'](_0xf96ae7(0x338),function(){_0x37e689['_final'](_0x270f6c);});return;}_0x138bf5[_0xf96ae7(0x1a3)]!==null&&(_0x138bf5[_0xf96ae7(0x1a3)][_0xf96ae7(0x223)][_0xf96ae7(0x2d1)]?(_0x270f6c(),_0x37e689[_0xf96ae7(0x211)][_0xf96ae7(0x219)]&&_0x37e689[_0xf96ae7(0x1d4)]()):(_0x138bf5[_0xf96ae7(0x1a3)][_0xf96ae7(0x2b2)](_0xf96ae7(0x1d5),function(){_0x270f6c();}),_0x138bf5[_0xf96ae7(0x1c1)]()));},_0x37e689[_0x4ff8d6(0x199)]=function(){const _0x50c643=_0x4ff8d6;_0x138bf5[_0x50c643(0x231)]&&_0x138bf5[_0x50c643(0x30a)]();},_0x37e689[_0x4ff8d6(0x26f)]=function(_0x448e43,_0x327725,_0xeffe8f){const _0x4adf00=_0x4ff8d6;if(_0x138bf5[_0x4adf00(0x246)]===_0x138bf5[_0x4adf00(0x20c)]){_0x138bf5['once'](_0x4adf00(0x338),function(){const _0x2d55b6=_0x4adf00;_0x37e689[_0x2d55b6(0x26f)](_0x448e43,_0x327725,_0xeffe8f);});return;}_0x138bf5[_0x4adf00(0x31d)](_0x448e43,_0xeffe8f);},_0x37e689['on']('end',_0x5eb371),_0x37e689['on'](_0x4ff8d6(0x2e2),_0x10563a),_0x37e689;}return Oe=_0x3ffe11,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=jt(Zt);function _0x4f95(_0x330a87,_0x3de9fd){const _0x5125b7=_0x5125();return _0x4f95=function(_0x4f95cb,_0x5346a8){_0x4f95cb=_0x4f95cb-0x190;let _0x2afe46=_0x5125b7[_0x4f95cb];return _0x2afe46;},_0x4f95(_0x330a87,_0x3de9fd);}var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x3807fd}=ne();function _0x51f3f1(_0x3d35d6){const _0x12395c=_0x4f95,_0x5bd4a8=new Set();let _0x205f63=-0x1,_0x286fe4=-0x1,_0xcfa96b=0x0;for(_0xcfa96b;_0xcfa96b<_0x3d35d6[_0x12395c(0x2c1)];_0xcfa96b++){const _0x4ec4b4=_0x3d35d6['charCodeAt'](_0xcfa96b);if(_0x286fe4===-0x1&&_0x3807fd[_0x4ec4b4]===0x1)_0x205f63===-0x1&&(_0x205f63=_0xcfa96b);else{if(_0xcfa96b!==0x0&&(_0x4ec4b4===0x20||_0x4ec4b4===0x9))_0x286fe4===-0x1&&_0x205f63!==-0x1&&(_0x286fe4=_0xcfa96b);else{if(_0x4ec4b4===0x2c){if(_0x205f63===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0xcfa96b);_0x286fe4===-0x1&&(_0x286fe4=_0xcfa96b);const _0x3a0dfa=_0x3d35d6[_0x12395c(0x23f)](_0x205f63,_0x286fe4);if(_0x5bd4a8[_0x12395c(0x2a7)](_0x3a0dfa))throw new SyntaxError(_0x12395c(0x1ee)+_0x3a0dfa+'\x22\x20subprotocol\x20is\x20duplicated');_0x5bd4a8[_0x12395c(0x2e1)](_0x3a0dfa),_0x205f63=_0x286fe4=-0x1;}else throw new SyntaxError(_0x12395c(0x1f7)+_0xcfa96b);}}}if(_0x205f63===-0x1||_0x286fe4!==-0x1)throw new SyntaxError('Unexpected\x20end\x20of\x20input');const _0xc068a9=_0x3d35d6[_0x12395c(0x23f)](_0x205f63,_0xcfa96b);if(_0x5bd4a8[_0x12395c(0x2a7)](_0xc068a9))throw new SyntaxError(_0x12395c(0x1ee)+_0xc068a9+_0x12395c(0x26e));return _0x5bd4a8[_0x12395c(0x2e1)](_0xc068a9),_0x5bd4a8;}return Ce={'parse':_0x51f3f1},Ce;}var Te,ot;function er(){const _0x1f22a3=_0x34176d;if(ot)return Te;ot=0x1;const _0x3a23c5=_0x29cd67,_0x3913b5=_0x1d9926,{Duplex:_0x1d6d31}=_0x55da56,{createHash:_0x31670c}=_0x499ed5,_0x5efba9=pt(),_0x3664bb=he(),_0x16aeca=Jt(),_0x3059d6=Ie(),{GUID:_0x786992,kWebSocket:_0x556661}=V(),_0x91ff79=/^[+/0-9A-Za-z]{22}==$/,_0x12d793=0x0,_0x519cdb=0x1,_0x4e5a02=0x2;class _0x3a2a39 extends _0x3a23c5{constructor(_0x3167be,_0x7b30b9){const _0x5cdf07=_0x4f95;if(super(),_0x3167be={'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':_0x3059d6,..._0x3167be},_0x3167be['port']==null&&!_0x3167be[_0x5cdf07(0x322)]&&!_0x3167be[_0x5cdf07(0x1c4)]||_0x3167be[_0x5cdf07(0x22c)]!=null&&(_0x3167be[_0x5cdf07(0x322)]||_0x3167be['noServer'])||_0x3167be[_0x5cdf07(0x322)]&&_0x3167be['noServer'])throw new TypeError(_0x5cdf07(0x1a9));if(_0x3167be['port']!=null?(this['_server']=_0x3913b5['createServer']((_0x2f3ef3,_0x2791e4)=>{const _0x348528=_0x5cdf07,_0x2d3312=_0x3913b5[_0x348528(0x2da)][0x1aa];_0x2791e4[_0x348528(0x21c)](0x1aa,{'Content-Length':_0x2d3312[_0x348528(0x2c1)],'Content-Type':_0x348528(0x213)}),_0x2791e4[_0x348528(0x263)](_0x2d3312);}),this['_server'][_0x5cdf07(0x301)](_0x3167be[_0x5cdf07(0x22c)],_0x3167be[_0x5cdf07(0x2a8)],_0x3167be[_0x5cdf07(0x341)],_0x7b30b9)):_0x3167be['server']&&(this[_0x5cdf07(0x1b1)]=_0x3167be[_0x5cdf07(0x322)]),this['_server']){const _0x32b15b=this[_0x5cdf07(0x2b8)][_0x5cdf07(0x245)](this,_0x5cdf07(0x2eb));this['_removeListeners']=_0x21c1e3(this[_0x5cdf07(0x1b1)],{'listening':this[_0x5cdf07(0x2b8)]['bind'](this,_0x5cdf07(0x2a0)),'error':this[_0x5cdf07(0x2b8)][_0x5cdf07(0x245)](this,_0x5cdf07(0x2e2)),'upgrade':(_0x27498d,_0x37abd9,_0x4659c3)=>{this['handleUpgrade'](_0x27498d,_0x37abd9,_0x4659c3,_0x32b15b);}});}_0x3167be[_0x5cdf07(0x262)]===!0x0&&(_0x3167be[_0x5cdf07(0x262)]={}),_0x3167be[_0x5cdf07(0x313)]&&(this['clients']=new Set(),this[_0x5cdf07(0x1c0)]=!0x1),this[_0x5cdf07(0x302)]=_0x3167be,this[_0x5cdf07(0x265)]=_0x12d793;}[_0x1f22a3(0x1a8)](){const _0x1ab4fa=_0x1f22a3;if(this[_0x1ab4fa(0x302)]['noServer'])throw new Error(_0x1ab4fa(0x1e6));return this['_server']?this[_0x1ab4fa(0x1b1)][_0x1ab4fa(0x1a8)]():null;}[_0x1f22a3(0x1c1)](_0x283638){const _0x5403cc=_0x1f22a3;if(this['_state']===_0x4e5a02){_0x283638&&this[_0x5403cc(0x2b2)](_0x5403cc(0x1c1),()=>{_0x283638(new Error('The\x20server\x20is\x20not\x20running'));}),process['nextTick'](_0x3f1f1e,this);return;}if(_0x283638&&this[_0x5403cc(0x2b2)](_0x5403cc(0x1c1),_0x283638),this[_0x5403cc(0x265)]!==_0x519cdb){if(this[_0x5403cc(0x265)]=_0x519cdb,this[_0x5403cc(0x302)]['noServer']||this[_0x5403cc(0x302)][_0x5403cc(0x322)])this[_0x5403cc(0x1b1)]&&(this[_0x5403cc(0x1ae)](),this[_0x5403cc(0x1ae)]=this['_server']=null),this[_0x5403cc(0x236)]?this[_0x5403cc(0x236)]['size']?this['_shouldEmitClose']=!0x0:process[_0x5403cc(0x297)](_0x3f1f1e,this):process[_0x5403cc(0x297)](_0x3f1f1e,this);else{const _0x4cfa67=this[_0x5403cc(0x1b1)];this[_0x5403cc(0x1ae)](),this['_removeListeners']=this[_0x5403cc(0x1b1)]=null,_0x4cfa67['close'](()=>{_0x3f1f1e(this);});}}}[_0x1f22a3(0x19b)](_0x2d2e97){const _0x145b67=_0x1f22a3;if(this[_0x145b67(0x302)][_0x145b67(0x20a)]){const _0x45548d=_0x2d2e97[_0x145b67(0x312)]['indexOf']('?');if((_0x45548d!==-0x1?_0x2d2e97[_0x145b67(0x312)][_0x145b67(0x23f)](0x0,_0x45548d):_0x2d2e97[_0x145b67(0x312)])!==this[_0x145b67(0x302)][_0x145b67(0x20a)])return!0x1;}return!0x0;}[_0x1f22a3(0x1cd)](_0x4bb4e4,_0x1c795f,_0x108623,_0x44527d){const _0xcfd050=_0x1f22a3;_0x1c795f['on'](_0xcfd050(0x2e2),_0x307dc7);const _0x1193f0=_0x4bb4e4[_0xcfd050(0x253)][_0xcfd050(0x19f)],_0x2b7f1d=_0x4bb4e4[_0xcfd050(0x253)][_0xcfd050(0x21e)],_0xdb6e60=+_0x4bb4e4[_0xcfd050(0x253)][_0xcfd050(0x254)];if(_0x4bb4e4[_0xcfd050(0x1c9)]!==_0xcfd050(0x29e)){_0x587376(this,_0x4bb4e4,_0x1c795f,0x195,'Invalid\x20HTTP\x20method');return;}if(_0x2b7f1d===void 0x0||_0x2b7f1d[_0xcfd050(0x2a6)]()!==_0xcfd050(0x28f)){_0x587376(this,_0x4bb4e4,_0x1c795f,0x190,'Invalid\x20Upgrade\x20header');return;}if(_0x1193f0===void 0x0||!_0x91ff79[_0xcfd050(0x27e)](_0x1193f0)){_0x587376(this,_0x4bb4e4,_0x1c795f,0x190,_0xcfd050(0x2ee));return;}if(_0xdb6e60!==0x8&&_0xdb6e60!==0xd){_0x587376(this,_0x4bb4e4,_0x1c795f,0x190,_0xcfd050(0x1dc));return;}if(!this['shouldHandle'](_0x4bb4e4)){_0x24c152(_0x1c795f,0x190);return;}const _0x5eb20d=_0x4bb4e4['headers'][_0xcfd050(0x28a)];let _0x425c82=new Set();if(_0x5eb20d!==void 0x0)try{_0x425c82=_0x16aeca[_0xcfd050(0x29f)](_0x5eb20d);}catch{_0x587376(this,_0x4bb4e4,_0x1c795f,0x190,_0xcfd050(0x337));return;}const _0x432228=_0x4bb4e4[_0xcfd050(0x253)]['sec-websocket-extensions'],_0x1b79b4={};if(this[_0xcfd050(0x302)][_0xcfd050(0x262)]&&_0x432228!==void 0x0){const _0x3c61c6=new _0x3664bb(this[_0xcfd050(0x302)]['perMessageDeflate'],!0x0,this[_0xcfd050(0x302)]['maxPayload']);try{const _0x4c1ebe=_0x5efba9[_0xcfd050(0x29f)](_0x432228);_0x4c1ebe[_0x3664bb[_0xcfd050(0x1a1)]]&&(_0x3c61c6[_0xcfd050(0x222)](_0x4c1ebe[_0x3664bb[_0xcfd050(0x1a1)]]),_0x1b79b4[_0x3664bb[_0xcfd050(0x1a1)]]=_0x3c61c6);}catch{_0x587376(this,_0x4bb4e4,_0x1c795f,0x190,_0xcfd050(0x1f1));return;}}if(this['options']['verifyClient']){const _0x18857f={'origin':_0x4bb4e4[_0xcfd050(0x253)][''+(_0xdb6e60===0x8?'sec-websocket-origin':'origin')],'secure':!!(_0x4bb4e4[_0xcfd050(0x1fe)][_0xcfd050(0x272)]||_0x4bb4e4[_0xcfd050(0x1fe)][_0xcfd050(0x2c9)]),'req':_0x4bb4e4};if(this[_0xcfd050(0x302)]['verifyClient']['length']===0x2){this[_0xcfd050(0x302)]['verifyClient'](_0x18857f,(_0x4afdf2,_0x41ddcc,_0x1a7544,_0x1fc80c)=>{const _0xf4d3cb=_0xcfd050;if(!_0x4afdf2)return _0x24c152(_0x1c795f,_0x41ddcc||0x191,_0x1a7544,_0x1fc80c);this[_0xf4d3cb(0x1c8)](_0x1b79b4,_0x1193f0,_0x425c82,_0x4bb4e4,_0x1c795f,_0x108623,_0x44527d);});return;}if(!this['options'][_0xcfd050(0x2d6)](_0x18857f))return _0x24c152(_0x1c795f,0x191);}this[_0xcfd050(0x1c8)](_0x1b79b4,_0x1193f0,_0x425c82,_0x4bb4e4,_0x1c795f,_0x108623,_0x44527d);}[_0x1f22a3(0x1c8)](_0x826862,_0xfa4f1c,_0x43fd0e,_0x14ca73,_0x2a9594,_0x475144,_0x8af687){const _0x3a2cf0=_0x1f22a3;if(!_0x2a9594[_0x3a2cf0(0x2c5)]||!_0x2a9594['writable'])return _0x2a9594[_0x3a2cf0(0x1d4)]();if(_0x2a9594[_0x556661])throw new Error(_0x3a2cf0(0x243));if(this['_state']>_0x12d793)return _0x24c152(_0x2a9594,0x1f7);const _0x3710d5=[_0x3a2cf0(0x1b4),'Upgrade:\x20websocket',_0x3a2cf0(0x242),_0x3a2cf0(0x2c3)+_0x31670c(_0x3a2cf0(0x2cf))[_0x3a2cf0(0x27c)](_0xfa4f1c+_0x786992)[_0x3a2cf0(0x317)](_0x3a2cf0(0x252))],_0x5342e6=new this[(_0x3a2cf0(0x302))][(_0x3a2cf0(0x23c))](null,void 0x0,this[_0x3a2cf0(0x302)]);if(_0x43fd0e[_0x3a2cf0(0x32e)]){const _0x22babd=this[_0x3a2cf0(0x302)][_0x3a2cf0(0x2d7)]?this[_0x3a2cf0(0x302)][_0x3a2cf0(0x2d7)](_0x43fd0e,_0x14ca73):_0x43fd0e[_0x3a2cf0(0x1c6)]()[_0x3a2cf0(0x209)]()[_0x3a2cf0(0x33e)];_0x22babd&&(_0x3710d5[_0x3a2cf0(0x2cb)](_0x3a2cf0(0x2d5)+_0x22babd),_0x5342e6[_0x3a2cf0(0x30c)]=_0x22babd);}if(_0x826862[_0x3664bb['extensionName']]){const _0x3230d1=_0x826862[_0x3664bb['extensionName']][_0x3a2cf0(0x21b)],_0x360409=_0x5efba9[_0x3a2cf0(0x2e9)]({[_0x3664bb['extensionName']]:[_0x3230d1]});_0x3710d5[_0x3a2cf0(0x2cb)](_0x3a2cf0(0x29b)+_0x360409),_0x5342e6[_0x3a2cf0(0x327)]=_0x826862;}this['emit']('headers',_0x3710d5,_0x14ca73),_0x2a9594['write'](_0x3710d5['concat']('\x0d\x0a')[_0x3a2cf0(0x280)]('\x0d\x0a')),_0x2a9594[_0x3a2cf0(0x27b)](_0x3a2cf0(0x2e2),_0x307dc7),_0x5342e6[_0x3a2cf0(0x1bb)](_0x2a9594,_0x475144,{'allowSynchronousEvents':this[_0x3a2cf0(0x302)]['allowSynchronousEvents'],'maxPayload':this[_0x3a2cf0(0x302)][_0x3a2cf0(0x2d3)],'skipUTF8Validation':this[_0x3a2cf0(0x302)][_0x3a2cf0(0x32c)]}),this[_0x3a2cf0(0x236)]&&(this[_0x3a2cf0(0x236)][_0x3a2cf0(0x2e1)](_0x5342e6),_0x5342e6['on'](_0x3a2cf0(0x1c1),()=>{const _0x27f4c5=_0x3a2cf0;this[_0x27f4c5(0x236)][_0x27f4c5(0x2bf)](_0x5342e6),this[_0x27f4c5(0x1c0)]&&!this[_0x27f4c5(0x236)][_0x27f4c5(0x32e)]&&process[_0x27f4c5(0x297)](_0x3f1f1e,this);})),_0x8af687(_0x5342e6,_0x14ca73);}}Te=_0x3a2a39;function _0x21c1e3(_0x39d6c6,_0x585c27){const _0x3bcfd9=_0x1f22a3;for(const _0x4d29d4 of Object[_0x3bcfd9(0x24d)](_0x585c27))_0x39d6c6['on'](_0x4d29d4,_0x585c27[_0x4d29d4]);return function(){const _0x156374=_0x3bcfd9;for(const _0x1e8776 of Object[_0x156374(0x24d)](_0x585c27))_0x39d6c6[_0x156374(0x27b)](_0x1e8776,_0x585c27[_0x1e8776]);};}function _0x3f1f1e(_0x18d14a){const _0x2e1c55=_0x1f22a3;_0x18d14a[_0x2e1c55(0x265)]=_0x4e5a02,_0x18d14a['emit'](_0x2e1c55(0x1c1));}function _0x307dc7(){this['destroy']();}function _0x24c152(_0x5468e9,_0x169369,_0x69dd7b,_0x265fa9){const _0x3d3446=_0x1f22a3;_0x69dd7b=_0x69dd7b||_0x3913b5[_0x3d3446(0x2da)][_0x169369],_0x265fa9={'Connection':'close','Content-Type':_0x3d3446(0x332),'Content-Length':Buffer[_0x3d3446(0x257)](_0x69dd7b),..._0x265fa9},_0x5468e9['once'](_0x3d3446(0x1d5),_0x5468e9[_0x3d3446(0x1d4)]),_0x5468e9[_0x3d3446(0x263)](_0x3d3446(0x285)+_0x169369+'\x20'+_0x3913b5[_0x3d3446(0x2da)][_0x169369]+'\x0d\x0a'+Object[_0x3d3446(0x24d)](_0x265fa9)['map'](_0x1eaf45=>_0x1eaf45+':\x20'+_0x265fa9[_0x1eaf45])[_0x3d3446(0x280)]('\x0d\x0a')+_0x3d3446(0x279)+_0x69dd7b);}function _0x587376(_0x1c6ba5,_0x13ecca,_0x55af40,_0x207f6d,_0xfb0e2){const _0x1a9304=_0x1f22a3;if(_0x1c6ba5[_0x1a9304(0x2ff)]('wsClientError')){const _0x2e5a92=new Error(_0xfb0e2);Error[_0x1a9304(0x200)](_0x2e5a92,_0x587376),_0x1c6ba5[_0x1a9304(0x2b8)](_0x1a9304(0x1c2),_0x2e5a92,_0x55af40,_0x13ecca);}else _0x24c152(_0x55af40,_0x207f6d,_0xfb0e2);}return Te;}er();var tr=Object[_0x34176d(0x306)],rr=(_0x2690c5,_0x19bee5,_0x4df28e,_0x2e97b6)=>{for(var _0x4b0f6e=_0x2e97b6>0x1?void 0x0:_0x2e97b6?tr(_0x19bee5,_0x4df28e):_0x19bee5,_0x3dfe4d=_0x2690c5['length']-0x1,_0x1ac9f9;_0x3dfe4d>=0x0;_0x3dfe4d--)(_0x1ac9f9=_0x2690c5[_0x3dfe4d])&&(_0x4b0f6e=_0x1ac9f9(_0x4b0f6e)||_0x4b0f6e);return _0x4b0f6e;},sr=(_0x42ec47,_0x399948)=>(_0x1e4ba1,_0x2348fc)=>_0x399948(_0x1e4ba1,_0x2348fc,_0x42ec47);let Ne=class extends _0x270128{constructor(_0x47576f){const _0x645a83=_0x34176d;super(),this[_0x645a83(0x2e7)]=_0x47576f;}[_0x34176d(0x218)](_0x5c8b6b){const _0x32a0f2=_0x34176d;var _0x3216f3;const _0x5c7a20=(_0x3216f3=this[_0x32a0f2(0x2e7)][_0x32a0f2(0x1e7)](Be))==null?void 0x0:_0x3216f3[_0x32a0f2(0x216)];try{const _0x5ead7a=new Qt(_0x5c8b6b,{'headers':{..._0x5c7a20}}),_0x1cc397=new _0x3391d8();return{'URL':_0x5c8b6b,'close':(_0x508f39,_0x567955)=>{const _0x2643b5=_0x32a0f2;_0x5ead7a[_0x2643b5(0x1c1)](_0x508f39,_0x567955),_0x1cc397['dispose']();},'send':_0x19b386=>{_0x5ead7a['send'](_0x19b386);},'open$':new _0x41ab3c(_0x377908=>{const _0x34fb72=_0x32a0f2,_0x887788=_0x3865cb=>_0x377908[_0x34fb72(0x209)](_0x3865cb);_0x5ead7a['addEventListener'](_0x34fb72(0x338),_0x887788),_0x1cc397[_0x34fb72(0x2e1)](_0x1fd72f(()=>_0x5ead7a[_0x34fb72(0x23e)](_0x34fb72(0x338),_0x887788)));})[_0x32a0f2(0x1bf)](_0x785b11()),'close$':new _0x41ab3c(_0xb924c0=>{const _0x5c5e27=_0x32a0f2,_0x54be49=_0x5e7a7c=>_0xb924c0[_0x5c5e27(0x209)](_0x5e7a7c);_0x5ead7a[_0x5c5e27(0x1af)](_0x5c5e27(0x1c1),_0x54be49),_0x1cc397['add'](_0x1fd72f(()=>_0x5ead7a[_0x5c5e27(0x23e)](_0x5c5e27(0x1c1),_0x54be49)));})[_0x32a0f2(0x1bf)](_0x785b11()),'error$':new _0x41ab3c(_0x36bba7=>{const _0x1fc010=_0x32a0f2,_0x22c12=_0x37c33d=>_0x36bba7[_0x1fc010(0x209)](_0x37c33d);_0x5ead7a[_0x1fc010(0x1af)](_0x1fc010(0x2e2),_0x22c12),_0x1cc397[_0x1fc010(0x2e1)](_0x1fd72f(()=>_0x5ead7a['removeEventListener'](_0x1fc010(0x2e2),_0x22c12)));})[_0x32a0f2(0x1bf)](_0x785b11()),'message$':new _0x41ab3c(_0x23eb4e=>{const _0x2d70fe=_0x32a0f2,_0x27c4a5=_0x26e0df=>_0x23eb4e[_0x2d70fe(0x209)](_0x26e0df);_0x5ead7a[_0x2d70fe(0x1af)](_0x2d70fe(0x1db),_0x27c4a5),_0x1cc397[_0x2d70fe(0x2e1)](_0x1fd72f(()=>_0x5ead7a['removeEventListener'](_0x2d70fe(0x1db),_0x27c4a5)));})[_0x32a0f2(0x1bf)](_0x785b11())};}catch(_0x53e12b){return console[_0x32a0f2(0x2e2)](_0x53e12b),null;}}};Ne=rr([sr(0x0,_0x9c5ac2)],Ne);var ir=Object[_0x34176d(0x2bd)],nr=Object[_0x34176d(0x306)],or=(_0x148e1c,_0x58ea54,_0x53130f)=>_0x58ea54 in _0x148e1c?ir(_0x148e1c,_0x58ea54,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x53130f}):_0x148e1c[_0x58ea54]=_0x53130f,ar=(_0xd77c06,_0x388c4b,_0xf85ca5,_0x55dc74)=>{for(var _0x1d471a=_0x55dc74>0x1?void 0x0:_0x55dc74?nr(_0x388c4b,_0xf85ca5):_0x388c4b,_0x4f1b01=_0xd77c06['length']-0x1,_0x13ca86;_0x4f1b01>=0x0;_0x4f1b01--)(_0x13ca86=_0xd77c06[_0x4f1b01])&&(_0x1d471a=_0x13ca86(_0x1d471a)||_0x1d471a);return _0x1d471a;},ke=(_0x4bbc4a,_0x232a37)=>(_0x579740,_0x3cc6ce)=>_0x232a37(_0x579740,_0x3cc6ce,_0x4bbc4a),lr=(_0x793c80,_0x47e3e9,_0x24113c)=>or(_0x793c80,_0x47e3e9+'',_0x24113c);let Pe=class extends _0x35e8ce{constructor(_0x5dce5d=Ft,_0x4b9fb3,_0x516791,_0x16da15){const _0x59d34c=_0x34176d;_0x5dce5d['customHeaders']||_0x4b9fb3[_0x59d34c(0x315)](_0x59d34c(0x1a6)),super(),this[_0x59d34c(0x2e7)]=_0x516791,this[_0x59d34c(0x1fd)]=_0x16da15,this['_configService']['setConfig'](Be,_0x5dce5d);}[_0x34176d(0x334)](){this['_registerDependencies']();}[_0x34176d(0x33f)](){const _0x456997=_0x34176d;_0x2b10f3(this[_0x456997(0x1fd)],[[_0x470e1a,{'useClass':Ne}]]);}};lr(Pe,_0x34176d(0x2d0),_0x34176d(0x1e8)),Pe=ar([_0x2488c8(_0x4bf7ee),ke(0x1,_0x4c6c50),ke(0x2,_0x9c5ac2),ke(0x3,_0x3caec2(_0x50cec9))],Pe);var fr=Object[_0x34176d(0x306)],cr=(_0x4d37e8,_0x506040,_0x862c00,_0x2b8051)=>{const _0x38ba70=_0x34176d;for(var _0x17b738=_0x2b8051>0x1?void 0x0:_0x2b8051?fr(_0x506040,_0x862c00):_0x506040,_0x12850f=_0x4d37e8[_0x38ba70(0x2c1)]-0x1,_0x5c1afe;_0x12850f>=0x0;_0x12850f--)(_0x5c1afe=_0x4d37e8[_0x12850f])&&(_0x17b738=_0x5c1afe(_0x17b738)||_0x17b738);return _0x17b738;},se=(_0x48dfa3,_0xe3e114)=>(_0x2079ed,_0x32080b)=>_0xe3e114(_0x2079ed,_0x32080b,_0x48dfa3);let at=class extends _0x4a71ce{constructor(_0x2a9449,_0x351cda,_0x4df235,_0x1381fa,_0xb5c05){const _0x3eef47=_0x34176d;super(_0x2a9449,_0x351cda,_0x4df235,_0x1381fa,_0xb5c05);const _0x1fa350=this[_0x3eef47(0x2e7)][_0x3eef47(0x1e7)](Be);this['_httpService'][_0x3eef47(0x19d)]({'interceptor':(_0x5be242,_0x39b8bb)=>{const _0x2bcfb3=_0x3eef47;var _0x4d3e71;const _0xed4663=_0x5be242[_0x2bcfb3(0x253)];return(_0x4d3e71=_0x1fa350==null?void 0x0:_0x1fa350[_0x2bcfb3(0x216)])!=null&&_0x4d3e71[_0x2bcfb3(0x316)]&&_0xed4663[_0x2bcfb3(0x1e2)]('Cookie',_0x1fa350[_0x2bcfb3(0x216)][_0x2bcfb3(0x316)]),_0x39b8bb(_0x5be242);}});}async[_0x34176d(0x218)](_0x3ef8a9){return this['_doCreateSocket'](_0x3ef8a9);}};at=cr([se(0x0,_0x3caec2(_0x50cec9)),se(0x1,_0x3caec2(_0x111a46)),se(0x2,_0x9c5ac2),se(0x3,_0x4c6c50),se(0x4,_0x22f549)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};