@univerjs-pro/collaboration-client-node 0.6.9-nightly.202504061606 → 0.6.9-nightly.202504071607
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/index.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +7 -7
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 _0x1045d1=_0x3f5d;(function(_0x3e60a3,_0x17c5c2){const _0x594b25=_0x3f5d,_0x4c1d82=_0x3e60a3();while(!![]){try{const _0x1f7b7e=-parseInt(_0x594b25(0x285))/0x1+-parseInt(_0x594b25(0x202))/0x2+-parseInt(_0x594b25(0x24b))/0x3+-parseInt(_0x594b25(0x174))/0x4+-parseInt(_0x594b25(0x242))/0x5+parseInt(_0x594b25(0x253))/0x6*(parseInt(_0x594b25(0x273))/0x7)+parseInt(_0x594b25(0x185))/0x8;if(_0x1f7b7e===_0x17c5c2)break;else _0x4c1d82['push'](_0x4c1d82['shift']());}catch(_0x586f06){_0x4c1d82['push'](_0x4c1d82['shift']());}}}(_0x50ae,0x21487));import{UniverCollaborationClientPlugin as _0x411193,CollaborationSocketService as _0x33abdd}from'@univerjs-pro/collaboration-client';import{Disposable as _0x8a0f6d,DisposableCollection as _0x196959,toDisposable as _0x3a61b7,IConfigService as _0x5d86d3,DependentOn as _0x556173,ILogService as _0x47bbed,Inject as _0x55b773,Injector as _0x5433c8,Plugin as _0x153801,registerDependencies as _0x72142b}from'@univerjs/core';import{ISocketService as _0x9a6838,HTTPService as _0x1f0bb1}from'@univerjs/network';import{Observable as _0x2d7300,share as _0x3c9e76}from'rxjs';import _0x18caa4 from'events';import _0x2b5faa from'https';import _0x3a2f25 from'http';import _0x54371f from'net';import _0x548dda from'tls';import _0x34f9da from'crypto';function _0x3f5d(_0x3791b2,_0x2bc69e){const _0x50ae09=_0x50ae();return _0x3f5d=function(_0x3f5dbf,_0x49ee1a){_0x3f5dbf=_0x3f5dbf-0x126;let _0x3e4b1d=_0x50ae09[_0x3f5dbf];return _0x3e4b1d;},_0x3f5d(_0x3791b2,_0x2bc69e);}import _0x3c241e from'stream';import _0x5374da from'url';import _0x466a46 from'zlib';import _0x267e56 from'buffer';import{ISnapshotServerService as _0x16bbd7}from'@univerjs-pro/collaboration';const Be=_0x1045d1(0x2c7),Ft={'customHeaders':{}};function jt(_0x2b7742){const _0x2d5424=_0x1045d1;return _0x2b7742&&_0x2b7742[_0x2d5424(0x149)]&&Object['prototype'][_0x2d5424(0x26d)][_0x2d5424(0x21d)](_0x2b7742,_0x2d5424(0x142))?_0x2b7742['default']:_0x2b7742;}function ut(_0x311495){const _0x71f241=_0x1045d1;if(Object[_0x71f241(0x261)]['hasOwnProperty'][_0x71f241(0x21d)](_0x311495,_0x71f241(0x149)))return _0x311495;var _0x58877c=_0x311495[_0x71f241(0x142)];if(typeof _0x58877c==_0x71f241(0x270)){var _0x835d55=function _0x4b8836(){const _0x3afbf9=_0x71f241;return this instanceof _0x4b8836?Reflect[_0x3afbf9(0x1b9)](_0x58877c,arguments,this['constructor']):_0x58877c[_0x3afbf9(0x260)](this,arguments);};_0x835d55[_0x71f241(0x261)]=_0x58877c[_0x71f241(0x261)];}else _0x835d55={};return Object[_0x71f241(0x167)](_0x835d55,_0x71f241(0x149),{'value':!0x0}),Object[_0x71f241(0x1cf)](_0x311495)[_0x71f241(0x2b1)](function(_0x599e52){const _0x599e8f=_0x71f241;var _0x58ed0a=Object[_0x599e8f(0x233)](_0x311495,_0x599e52);Object['defineProperty'](_0x835d55,_0x599e52,_0x58ed0a['get']?_0x58ed0a:{'enumerable':!0x0,'get':function(){return _0x311495[_0x599e52];}});}),_0x835d55;}var te={'exports':{}},ge,Ye;function V(){const _0x5af045=_0x1045d1;if(Ye)return ge;Ye=0x1;const _0x2cc9ee=[_0x5af045(0x1c6),'arraybuffer',_0x5af045(0x259)],_0x27ba16=typeof Blob<'u';return _0x27ba16&&_0x2cc9ee[_0x5af045(0x1b6)]('blob'),ge={'BINARY_TYPES':_0x2cc9ee,'EMPTY_BUFFER':Buffer[_0x5af045(0x1f0)](0x0),'GUID':_0x5af045(0x148),'hasBlob':_0x27ba16,'kForOnEventAttribute':Symbol(_0x5af045(0x1f6)),'kListener':Symbol(_0x5af045(0x282)),'kStatusCode':Symbol(_0x5af045(0x2c5)),'kWebSocket':Symbol('websocket'),'NOOP':()=>{}},ge;}const Wt={},Gt=Object['freeze'](Object['defineProperty']({'__proto__':null,'default':Wt},Symbol[_0x1045d1(0x2c8)],{'value':_0x1045d1(0x20b)})),Vt=ut(Gt);var Ke;function ce(){const _0x5f2855=_0x1045d1;if(Ke)return te[_0x5f2855(0x15f)];Ke=0x1;const {EMPTY_BUFFER:_0x2340c5}=V(),_0x8ee5bb=Buffer[Symbol[_0x5f2855(0x1e9)]];function _0x56a57d(_0x10495e,_0x4a875d){const _0x2f3605=_0x5f2855;if(_0x10495e[_0x2f3605(0x188)]===0x0)return _0x2340c5;if(_0x10495e['length']===0x1)return _0x10495e[0x0];const _0x14db5c=Buffer['allocUnsafe'](_0x4a875d);let _0x3cea58=0x0;for(let _0x5bd8b3=0x0;_0x5bd8b3<_0x10495e['length'];_0x5bd8b3++){const _0x182bb8=_0x10495e[_0x5bd8b3];_0x14db5c[_0x2f3605(0x1c3)](_0x182bb8,_0x3cea58),_0x3cea58+=_0x182bb8[_0x2f3605(0x188)];}return _0x3cea58<_0x4a875d?new _0x8ee5bb(_0x14db5c[_0x2f3605(0x258)],_0x14db5c['byteOffset'],_0x3cea58):_0x14db5c;}function _0x276fcc(_0x170233,_0x21c46d,_0xb4d124,_0x2422f1,_0x3d85d5){for(let _0x41121d=0x0;_0x41121d<_0x3d85d5;_0x41121d++)_0xb4d124[_0x2422f1+_0x41121d]=_0x170233[_0x41121d]^_0x21c46d[_0x41121d&0x3];}function _0x329ccd(_0x4475d4,_0x50228f){const _0x50ce85=_0x5f2855;for(let _0x2263e9=0x0;_0x2263e9<_0x4475d4[_0x50ce85(0x188)];_0x2263e9++)_0x4475d4[_0x2263e9]^=_0x50228f[_0x2263e9&0x3];}function _0x49f401(_0x1aa1b9){const _0xa0e808=_0x5f2855;return _0x1aa1b9[_0xa0e808(0x188)]===_0x1aa1b9[_0xa0e808(0x258)][_0xa0e808(0x129)]?_0x1aa1b9[_0xa0e808(0x258)]:_0x1aa1b9[_0xa0e808(0x258)][_0xa0e808(0x23f)](_0x1aa1b9[_0xa0e808(0x132)],_0x1aa1b9[_0xa0e808(0x132)]+_0x1aa1b9[_0xa0e808(0x188)]);}function _0x3b9b5c(_0x525bd6){const _0x350358=_0x5f2855;if(_0x3b9b5c[_0x350358(0x1de)]=!0x0,Buffer['isBuffer'](_0x525bd6))return _0x525bd6;let _0x2abb51;return _0x525bd6 instanceof ArrayBuffer?_0x2abb51=new _0x8ee5bb(_0x525bd6):ArrayBuffer[_0x350358(0x138)](_0x525bd6)?_0x2abb51=new _0x8ee5bb(_0x525bd6['buffer'],_0x525bd6['byteOffset'],_0x525bd6[_0x350358(0x129)]):(_0x2abb51=Buffer[_0x350358(0x166)](_0x525bd6),_0x3b9b5c[_0x350358(0x1de)]=!0x1),_0x2abb51;}if(te[_0x5f2855(0x15f)]={'concat':_0x56a57d,'mask':_0x276fcc,'toArrayBuffer':_0x49f401,'toBuffer':_0x3b9b5c,'unmask':_0x329ccd},!process[_0x5f2855(0x20a)]['WS_NO_BUFFER_UTIL'])try{const _0xdf4366=Vt;te[_0x5f2855(0x15f)][_0x5f2855(0x235)]=function(_0x382c02,_0x25724a,_0x2e77ca,_0x5bd825,_0x397181){_0x397181<0x30?_0x276fcc(_0x382c02,_0x25724a,_0x2e77ca,_0x5bd825,_0x397181):_0xdf4366['mask'](_0x382c02,_0x25724a,_0x2e77ca,_0x5bd825,_0x397181);},te['exports']['unmask']=function(_0x487f0e,_0x17a56a){const _0x1ecc78=_0x5f2855;_0x487f0e[_0x1ecc78(0x188)]<0x20?_0x329ccd(_0x487f0e,_0x17a56a):_0xdf4366[_0x1ecc78(0x214)](_0x487f0e,_0x17a56a);};}catch{}return te[_0x5f2855(0x15f)];}var ye,Xe;function qt(){const _0x2c2f19=_0x1045d1;if(Xe)return ye;Xe=0x1;const _0x38c0f2=Symbol(_0x2c2f19(0x298)),_0x1caf12=Symbol('kRun');class _0x5d062d{constructor(_0x3fbbec){const _0x21efff=_0x2c2f19;this[_0x38c0f2]=()=>{const _0x284e25=_0x3f5d;this[_0x284e25(0x1cb)]--,this[_0x1caf12]();},this[_0x21efff(0x275)]=_0x3fbbec||0x1/0x0,this[_0x21efff(0x1ae)]=[],this[_0x21efff(0x1cb)]=0x0;}[_0x2c2f19(0x272)](_0x414738){const _0x4cedec=_0x2c2f19;this['jobs'][_0x4cedec(0x1b6)](_0x414738),this[_0x1caf12]();}[_0x1caf12](){const _0x196972=_0x2c2f19;if(this['pending']!==this[_0x196972(0x275)]&&this[_0x196972(0x1ae)][_0x196972(0x188)]){const _0x5f45e6=this['jobs'][_0x196972(0x1ee)]();this[_0x196972(0x1cb)]++,_0x5f45e6(this[_0x38c0f2]);}}}return ye=_0x5d062d,ye;}var ve,Ze;function he(){const _0x778c22=_0x1045d1;if(Ze)return ve;Ze=0x1;const _0x115ff5=_0x466a46,_0x397d46=ce(),_0x2b6793=qt(),{kStatusCode:_0x25a58c}=V(),_0x6ed9b9=Buffer[Symbol[_0x778c22(0x1e9)]],_0x2f3209=Buffer[_0x778c22(0x166)]([0x0,0x0,0xff,0xff]),_0x22a331=Symbol('permessage-deflate'),_0x33dc01=Symbol('total-length'),_0x65a38a=Symbol(_0x778c22(0x16a)),_0x36bbe7=Symbol(_0x778c22(0x1df)),_0x4aed1d=Symbol(_0x778c22(0x1db));let _0x329b4a;class _0x15cad0{constructor(_0x8d05a4,_0x10ef63,_0x40e889){const _0x367d36=_0x778c22;if(this[_0x367d36(0x245)]=_0x40e889|0x0,this[_0x367d36(0x17a)]=_0x8d05a4||{},this[_0x367d36(0x25d)]=this[_0x367d36(0x17a)][_0x367d36(0x257)]!==void 0x0?this['_options'][_0x367d36(0x257)]:0x400,this[_0x367d36(0x24a)]=!!_0x10ef63,this[_0x367d36(0x1eb)]=null,this[_0x367d36(0x154)]=null,this[_0x367d36(0x25c)]=null,!_0x329b4a){const _0x4ab437=this['_options'][_0x367d36(0x15e)]!==void 0x0?this[_0x367d36(0x17a)][_0x367d36(0x15e)]:0xa;_0x329b4a=new _0x2b6793(_0x4ab437);}}static get[_0x778c22(0x208)](){const _0x4b11f0=_0x778c22;return _0x4b11f0(0x2c6);}[_0x778c22(0x161)](){const _0x1e76be=_0x778c22,_0x19b91a={};return this[_0x1e76be(0x17a)][_0x1e76be(0x2b2)]&&(_0x19b91a[_0x1e76be(0x18d)]=!0x0),this[_0x1e76be(0x17a)][_0x1e76be(0x252)]&&(_0x19b91a[_0x1e76be(0x1fa)]=!0x0),this[_0x1e76be(0x17a)][_0x1e76be(0x17d)]&&(_0x19b91a['server_max_window_bits']=this[_0x1e76be(0x17a)][_0x1e76be(0x17d)]),this[_0x1e76be(0x17a)][_0x1e76be(0x14d)]?_0x19b91a[_0x1e76be(0x1e8)]=this['_options'][_0x1e76be(0x14d)]:this[_0x1e76be(0x17a)]['clientMaxWindowBits']==null&&(_0x19b91a[_0x1e76be(0x1e8)]=!0x0),_0x19b91a;}[_0x778c22(0x228)](_0x84fc97){const _0x242df1=_0x778c22;return _0x84fc97=this[_0x242df1(0x20e)](_0x84fc97),this[_0x242df1(0x25c)]=this['_isServer']?this[_0x242df1(0x135)](_0x84fc97):this[_0x242df1(0x1a3)](_0x84fc97),this['params'];}['cleanup'](){const _0x140482=_0x778c22;if(this['_inflate']&&(this[_0x140482(0x154)][_0x140482(0x1fb)](),this['_inflate']=null),this[_0x140482(0x1eb)]){const _0x2b7551=this[_0x140482(0x1eb)][_0x65a38a];this['_deflate'][_0x140482(0x1fb)](),this[_0x140482(0x1eb)]=null,_0x2b7551&&_0x2b7551(new Error(_0x140482(0x21f)));}}[_0x778c22(0x135)](_0x44f325){const _0x2b57a3=_0x778c22,_0x2e59f9=this[_0x2b57a3(0x17a)],_0x5f3597=_0x44f325[_0x2b57a3(0x264)](_0x17a0d0=>!(_0x2e59f9['serverNoContextTakeover']===!0x1&&_0x17a0d0[_0x2b57a3(0x18d)]||_0x17a0d0[_0x2b57a3(0x12f)]&&(_0x2e59f9['serverMaxWindowBits']===!0x1||typeof _0x2e59f9[_0x2b57a3(0x17d)]==_0x2b57a3(0x230)&&_0x2e59f9['serverMaxWindowBits']>_0x17a0d0[_0x2b57a3(0x12f)])||typeof _0x2e59f9[_0x2b57a3(0x14d)]=='number'&&!_0x17a0d0['client_max_window_bits']));if(!_0x5f3597)throw new Error(_0x2b57a3(0x268));return _0x2e59f9[_0x2b57a3(0x2b2)]&&(_0x5f3597[_0x2b57a3(0x18d)]=!0x0),_0x2e59f9[_0x2b57a3(0x252)]&&(_0x5f3597['client_no_context_takeover']=!0x0),typeof _0x2e59f9[_0x2b57a3(0x17d)]==_0x2b57a3(0x230)&&(_0x5f3597[_0x2b57a3(0x12f)]=_0x2e59f9[_0x2b57a3(0x17d)]),typeof _0x2e59f9['clientMaxWindowBits']==_0x2b57a3(0x230)?_0x5f3597[_0x2b57a3(0x1e8)]=_0x2e59f9[_0x2b57a3(0x14d)]:(_0x5f3597[_0x2b57a3(0x1e8)]===!0x0||_0x2e59f9[_0x2b57a3(0x14d)]===!0x1)&&delete _0x5f3597[_0x2b57a3(0x1e8)],_0x5f3597;}[_0x778c22(0x1a3)](_0x5a32c1){const _0x23c7f5=_0x778c22,_0x2a7d22=_0x5a32c1[0x0];if(this[_0x23c7f5(0x17a)][_0x23c7f5(0x252)]===!0x1&&_0x2a7d22[_0x23c7f5(0x1fa)])throw new Error('Unexpected\x20parameter\x20\x22client_no_context_takeover\x22');if(!_0x2a7d22[_0x23c7f5(0x1e8)])typeof this[_0x23c7f5(0x17a)]['clientMaxWindowBits']==_0x23c7f5(0x230)&&(_0x2a7d22[_0x23c7f5(0x1e8)]=this[_0x23c7f5(0x17a)]['clientMaxWindowBits']);else{if(this[_0x23c7f5(0x17a)][_0x23c7f5(0x14d)]===!0x1||typeof this[_0x23c7f5(0x17a)][_0x23c7f5(0x14d)]==_0x23c7f5(0x230)&&_0x2a7d22[_0x23c7f5(0x1e8)]>this['_options']['clientMaxWindowBits'])throw new Error(_0x23c7f5(0x211));}return _0x2a7d22;}[_0x778c22(0x20e)](_0x291731){const _0x645e7b=_0x778c22;return _0x291731[_0x645e7b(0x2b1)](_0x150eba=>{const _0x450822=_0x645e7b;Object['keys'](_0x150eba)[_0x450822(0x2b1)](_0x99a7cd=>{const _0x550a4f=_0x450822;let _0x5b39e8=_0x150eba[_0x99a7cd];if(_0x5b39e8[_0x550a4f(0x188)]>0x1)throw new Error(_0x550a4f(0x29b)+_0x99a7cd+'\x22\x20must\x20have\x20only\x20a\x20single\x20value');if(_0x5b39e8=_0x5b39e8[0x0],_0x99a7cd==='client_max_window_bits'){if(_0x5b39e8!==!0x0){const _0x3f9354=+_0x5b39e8;if(!Number[_0x550a4f(0x2a5)](_0x3f9354)||_0x3f9354<0x8||_0x3f9354>0xf)throw new TypeError(_0x550a4f(0x1ad)+_0x99a7cd+_0x550a4f(0x292)+_0x5b39e8);_0x5b39e8=_0x3f9354;}else{if(!this[_0x550a4f(0x24a)])throw new TypeError(_0x550a4f(0x1ad)+_0x99a7cd+_0x550a4f(0x292)+_0x5b39e8);}}else{if(_0x99a7cd==='server_max_window_bits'){const _0x180203=+_0x5b39e8;if(!Number[_0x550a4f(0x2a5)](_0x180203)||_0x180203<0x8||_0x180203>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x99a7cd+_0x550a4f(0x292)+_0x5b39e8);_0x5b39e8=_0x180203;}else{if(_0x99a7cd===_0x550a4f(0x1fa)||_0x99a7cd===_0x550a4f(0x18d)){if(_0x5b39e8!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x99a7cd+_0x550a4f(0x292)+_0x5b39e8);}else throw new Error(_0x550a4f(0x2a0)+_0x99a7cd+'\x22');}}_0x150eba[_0x99a7cd]=_0x5b39e8;});}),_0x291731;}[_0x778c22(0x196)](_0x2a819e,_0x3914b0,_0x107c0c){const _0x4fd47b=_0x778c22;_0x329b4a[_0x4fd47b(0x272)](_0x290479=>{this['_decompress'](_0x2a819e,_0x3914b0,(_0x2d7cb2,_0x557733)=>{_0x290479(),_0x107c0c(_0x2d7cb2,_0x557733);});});}[_0x778c22(0x12c)](_0x490f98,_0x42212b,_0x4450f3){const _0x3ae31f=_0x778c22;_0x329b4a[_0x3ae31f(0x272)](_0x19d35b=>{const _0xb96fe5=_0x3ae31f;this[_0xb96fe5(0x1a9)](_0x490f98,_0x42212b,(_0x4981de,_0x434bc0)=>{_0x19d35b(),_0x4450f3(_0x4981de,_0x434bc0);});});}[_0x778c22(0x2cd)](_0x289817,_0x47095f,_0x3db4a7){const _0x2a1fb5=_0x778c22,_0x43c8c3=this[_0x2a1fb5(0x24a)]?_0x2a1fb5(0x19e):'server';if(!this['_inflate']){const _0x3866ce=_0x43c8c3+'_max_window_bits',_0x576d8a=typeof this[_0x2a1fb5(0x25c)][_0x3866ce]!=_0x2a1fb5(0x230)?_0x115ff5[_0x2a1fb5(0x158)]:this[_0x2a1fb5(0x25c)][_0x3866ce];this[_0x2a1fb5(0x154)]=_0x115ff5['createInflateRaw']({...this['_options'][_0x2a1fb5(0x286)],'windowBits':_0x576d8a}),this[_0x2a1fb5(0x154)][_0x22a331]=this,this['_inflate'][_0x33dc01]=0x0,this[_0x2a1fb5(0x154)][_0x36bbe7]=[],this[_0x2a1fb5(0x154)]['on'](_0x2a1fb5(0x1db),_0x4606d3),this[_0x2a1fb5(0x154)]['on']('data',_0x329874);}this[_0x2a1fb5(0x154)][_0x65a38a]=_0x3db4a7,this[_0x2a1fb5(0x154)]['write'](_0x289817),_0x47095f&&this['_inflate'][_0x2a1fb5(0x13d)](_0x2f3209),this[_0x2a1fb5(0x154)]['flush'](()=>{const _0x2d6e1c=_0x2a1fb5,_0x534f55=this[_0x2d6e1c(0x154)][_0x4aed1d];if(_0x534f55){this[_0x2d6e1c(0x154)]['close'](),this[_0x2d6e1c(0x154)]=null,_0x3db4a7(_0x534f55);return;}const _0x134c95=_0x397d46[_0x2d6e1c(0x13a)](this['_inflate'][_0x36bbe7],this[_0x2d6e1c(0x154)][_0x33dc01]);this['_inflate'][_0x2d6e1c(0x1ff)][_0x2d6e1c(0x1d2)]?(this[_0x2d6e1c(0x154)][_0x2d6e1c(0x1fb)](),this[_0x2d6e1c(0x154)]=null):(this[_0x2d6e1c(0x154)][_0x33dc01]=0x0,this[_0x2d6e1c(0x154)][_0x36bbe7]=[],_0x47095f&&this['params'][_0x43c8c3+_0x2d6e1c(0x24d)]&&this[_0x2d6e1c(0x154)][_0x2d6e1c(0x1ce)]()),_0x3db4a7(null,_0x134c95);});}['_compress'](_0x7010d7,_0x26262f,_0x1110c6){const _0x304ed8=_0x778c22,_0xded918=this[_0x304ed8(0x24a)]?'server':_0x304ed8(0x19e);if(!this['_deflate']){const _0x1c5587=_0xded918+'_max_window_bits',_0x3806a3=typeof this[_0x304ed8(0x25c)][_0x1c5587]!=_0x304ed8(0x230)?_0x115ff5[_0x304ed8(0x158)]:this[_0x304ed8(0x25c)][_0x1c5587];this[_0x304ed8(0x1eb)]=_0x115ff5[_0x304ed8(0x1c8)]({...this[_0x304ed8(0x17a)][_0x304ed8(0x26c)],'windowBits':_0x3806a3}),this[_0x304ed8(0x1eb)][_0x33dc01]=0x0,this[_0x304ed8(0x1eb)][_0x36bbe7]=[],this[_0x304ed8(0x1eb)]['on'](_0x304ed8(0x2a4),_0x3f8b42);}this[_0x304ed8(0x1eb)][_0x65a38a]=_0x1110c6,this[_0x304ed8(0x1eb)][_0x304ed8(0x13d)](_0x7010d7),this[_0x304ed8(0x1eb)]['flush'](_0x115ff5[_0x304ed8(0x143)],()=>{const _0x5da8b0=_0x304ed8;if(!this[_0x5da8b0(0x1eb)])return;let _0x1669ef=_0x397d46['concat'](this['_deflate'][_0x36bbe7],this[_0x5da8b0(0x1eb)][_0x33dc01]);_0x26262f&&(_0x1669ef=new _0x6ed9b9(_0x1669ef[_0x5da8b0(0x258)],_0x1669ef[_0x5da8b0(0x132)],_0x1669ef['length']-0x4)),this['_deflate'][_0x65a38a]=null,this['_deflate'][_0x33dc01]=0x0,this[_0x5da8b0(0x1eb)][_0x36bbe7]=[],_0x26262f&&this['params'][_0xded918+_0x5da8b0(0x24d)]&&this[_0x5da8b0(0x1eb)][_0x5da8b0(0x1ce)](),_0x1110c6(null,_0x1669ef);});}}ve=_0x15cad0;function _0x3f8b42(_0x5948a3){const _0x37c710=_0x778c22;this[_0x36bbe7][_0x37c710(0x1b6)](_0x5948a3),this[_0x33dc01]+=_0x5948a3[_0x37c710(0x188)];}function _0x329874(_0x23ab4a){const _0x12efbb=_0x778c22;if(this[_0x33dc01]+=_0x23ab4a[_0x12efbb(0x188)],this[_0x22a331][_0x12efbb(0x245)]<0x1||this[_0x33dc01]<=this[_0x22a331]['_maxPayload']){this[_0x36bbe7][_0x12efbb(0x1b6)](_0x23ab4a);return;}this[_0x4aed1d]=new RangeError(_0x12efbb(0x2c9)),this[_0x4aed1d][_0x12efbb(0x187)]=_0x12efbb(0x15c),this[_0x4aed1d][_0x25a58c]=0x3f1,this['removeListener'](_0x12efbb(0x2a4),_0x329874),this[_0x12efbb(0x1ce)]();}function _0x4606d3(_0x4699db){this[_0x22a331]['_inflate']=null,_0x4699db[_0x25a58c]=0x3ef,this[_0x65a38a](_0x4699db);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x1045d1(0x288)](Object[_0x1045d1(0x167)]({'__proto__':null,'default':Ht},Symbol['toStringTag'],{'value':'Module'})),Yt=ut(zt);var Qe;function ne(){const _0x55e663=_0x1045d1;if(Qe)return re[_0x55e663(0x15f)];Qe=0x1;const {isUtf8:_0x34a0ad}=_0x267e56,{hasBlob:_0x43e58e}=V(),_0x2d1c22=[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 _0x14c2bd(_0x288a56){return _0x288a56>=0x3e8&&_0x288a56<=0x3f6&&_0x288a56!==0x3ec&&_0x288a56!==0x3ed&&_0x288a56!==0x3ee||_0x288a56>=0xbb8&&_0x288a56<=0x1387;}function _0x1afe9c(_0x11b407){const _0x306838=_0x55e663,_0x596ec5=_0x11b407[_0x306838(0x188)];let _0x2f121e=0x0;for(;_0x2f121e<_0x596ec5;)if((_0x11b407[_0x2f121e]&0x80)===0x0)_0x2f121e++;else{if((_0x11b407[_0x2f121e]&0xe0)===0xc0){if(_0x2f121e+0x1===_0x596ec5||(_0x11b407[_0x2f121e+0x1]&0xc0)!==0x80||(_0x11b407[_0x2f121e]&0xfe)===0xc0)return!0x1;_0x2f121e+=0x2;}else{if((_0x11b407[_0x2f121e]&0xf0)===0xe0){if(_0x2f121e+0x2>=_0x596ec5||(_0x11b407[_0x2f121e+0x1]&0xc0)!==0x80||(_0x11b407[_0x2f121e+0x2]&0xc0)!==0x80||_0x11b407[_0x2f121e]===0xe0&&(_0x11b407[_0x2f121e+0x1]&0xe0)===0x80||_0x11b407[_0x2f121e]===0xed&&(_0x11b407[_0x2f121e+0x1]&0xe0)===0xa0)return!0x1;_0x2f121e+=0x3;}else{if((_0x11b407[_0x2f121e]&0xf8)===0xf0){if(_0x2f121e+0x3>=_0x596ec5||(_0x11b407[_0x2f121e+0x1]&0xc0)!==0x80||(_0x11b407[_0x2f121e+0x2]&0xc0)!==0x80||(_0x11b407[_0x2f121e+0x3]&0xc0)!==0x80||_0x11b407[_0x2f121e]===0xf0&&(_0x11b407[_0x2f121e+0x1]&0xf0)===0x80||_0x11b407[_0x2f121e]===0xf4&&_0x11b407[_0x2f121e+0x1]>0x8f||_0x11b407[_0x2f121e]>0xf4)return!0x1;_0x2f121e+=0x4;}else return!0x1;}}}return!0x0;}function _0xf728ca(_0x3896e2){const _0x3e7358=_0x55e663;return _0x43e58e&&typeof _0x3896e2==_0x3e7358(0x287)&&typeof _0x3896e2[_0x3e7358(0x1b7)]=='function'&&typeof _0x3896e2[_0x3e7358(0x153)]==_0x3e7358(0x2ac)&&typeof _0x3896e2[_0x3e7358(0x164)]==_0x3e7358(0x270)&&(_0x3896e2[Symbol[_0x3e7358(0x2c8)]]==='Blob'||_0x3896e2[Symbol[_0x3e7358(0x2c8)]]===_0x3e7358(0x27b));}if(re[_0x55e663(0x15f)]={'isBlob':_0xf728ca,'isValidStatusCode':_0x14c2bd,'isValidUTF8':_0x1afe9c,'tokenChars':_0x2d1c22},_0x34a0ad)re[_0x55e663(0x15f)][_0x55e663(0x1d3)]=function(_0x59fd25){const _0xeb493d=_0x55e663;return _0x59fd25[_0xeb493d(0x188)]<0x18?_0x1afe9c(_0x59fd25):_0x34a0ad(_0x59fd25);};else{if(!process[_0x55e663(0x20a)][_0x55e663(0x12e)])try{const _0x5968d7=Yt;re[_0x55e663(0x15f)][_0x55e663(0x1d3)]=function(_0x14b0c3){const _0x409ef1=_0x55e663;return _0x14b0c3[_0x409ef1(0x188)]<0x20?_0x1afe9c(_0x14b0c3):_0x5968d7(_0x14b0c3);};}catch{}}return re['exports'];}var Se,Je;function dt(){const _0x2d1e15=_0x1045d1;if(Je)return Se;Je=0x1;const {Writable:_0x385d04}=_0x3c241e,_0x1fa3fb=he(),{BINARY_TYPES:_0x1b793a,EMPTY_BUFFER:_0x398e78,kStatusCode:_0x1278e5,kWebSocket:_0x40c465}=V(),{concat:_0x3de7bf,toArrayBuffer:_0x1d9eda,unmask:_0x2b8c36}=ce(),{isValidStatusCode:_0x505de0,isValidUTF8:_0x45185f}=ne(),_0x129705=Buffer[Symbol['species']],_0x1f43c4=0x0,_0x1b188e=0x1,_0x2f7580=0x2,_0x70f885=0x3,_0x2a32d5=0x4,_0x5c6750=0x5,_0x41be3b=0x6;class _0x1f04fd extends _0x385d04{constructor(_0x40e57f={}){const _0x4670e1=_0x3f5d;super(),this[_0x4670e1(0x150)]=_0x40e57f[_0x4670e1(0x181)]!==void 0x0?_0x40e57f[_0x4670e1(0x181)]:!0x0,this[_0x4670e1(0x289)]=_0x40e57f[_0x4670e1(0x16e)]||_0x1b793a[0x0],this[_0x4670e1(0x1f4)]=_0x40e57f['extensions']||{},this['_isServer']=!!_0x40e57f[_0x4670e1(0x23d)],this[_0x4670e1(0x245)]=_0x40e57f[_0x4670e1(0x294)]|0x0,this[_0x4670e1(0x1fe)]=!!_0x40e57f[_0x4670e1(0x1d5)],this[_0x40c465]=void 0x0,this[_0x4670e1(0x2ab)]=0x0,this[_0x4670e1(0x1aa)]=[],this['_compressed']=!0x1,this[_0x4670e1(0x16c)]=0x0,this[_0x4670e1(0x173)]=void 0x0,this[_0x4670e1(0x1d9)]=0x0,this[_0x4670e1(0x12b)]=!0x1,this[_0x4670e1(0x2cf)]=!0x1,this['_opcode']=0x0,this['_totalPayloadLength']=0x0,this[_0x4670e1(0x2b4)]=0x0,this['_fragments']=[],this[_0x4670e1(0x28d)]=!0x1,this[_0x4670e1(0x28c)]=!0x1,this[_0x4670e1(0x1b1)]=_0x1f43c4;}[_0x2d1e15(0x1a2)](_0x106c75,_0x446b13,_0x432b1b){const _0x311252=_0x2d1e15;if(this['_opcode']===0x8&&this['_state']==_0x1f43c4)return _0x432b1b();this['_bufferedBytes']+=_0x106c75[_0x311252(0x188)],this[_0x311252(0x1aa)][_0x311252(0x1b6)](_0x106c75),this[_0x311252(0x1c0)](_0x432b1b);}[_0x2d1e15(0x246)](_0x8286ca){const _0x488858=_0x2d1e15;if(this[_0x488858(0x2ab)]-=_0x8286ca,_0x8286ca===this[_0x488858(0x1aa)][0x0]['length'])return this['_buffers'][_0x488858(0x1ee)]();if(_0x8286ca<this['_buffers'][0x0][_0x488858(0x188)]){const _0x283e22=this[_0x488858(0x1aa)][0x0];return this['_buffers'][0x0]=new _0x129705(_0x283e22[_0x488858(0x258)],_0x283e22['byteOffset']+_0x8286ca,_0x283e22[_0x488858(0x188)]-_0x8286ca),new _0x129705(_0x283e22[_0x488858(0x258)],_0x283e22[_0x488858(0x132)],_0x8286ca);}const _0x5a9236=Buffer[_0x488858(0x1c7)](_0x8286ca);do{const _0x1a5605=this[_0x488858(0x1aa)][0x0],_0x2e085b=_0x5a9236[_0x488858(0x188)]-_0x8286ca;_0x8286ca>=_0x1a5605[_0x488858(0x188)]?_0x5a9236[_0x488858(0x1c3)](this[_0x488858(0x1aa)][_0x488858(0x1ee)](),_0x2e085b):(_0x5a9236[_0x488858(0x1c3)](new Uint8Array(_0x1a5605[_0x488858(0x258)],_0x1a5605[_0x488858(0x132)],_0x8286ca),_0x2e085b),this['_buffers'][0x0]=new _0x129705(_0x1a5605['buffer'],_0x1a5605[_0x488858(0x132)]+_0x8286ca,_0x1a5605['length']-_0x8286ca)),_0x8286ca-=_0x1a5605[_0x488858(0x188)];}while(_0x8286ca>0x0);return _0x5a9236;}[_0x2d1e15(0x1c0)](_0x49b8a1){const _0x32bbd7=_0x2d1e15;this[_0x32bbd7(0x28c)]=!0x0;do switch(this['_state']){case _0x1f43c4:this['getInfo'](_0x49b8a1);break;case _0x1b188e:this[_0x32bbd7(0x172)](_0x49b8a1);break;case _0x2f7580:this[_0x32bbd7(0x19f)](_0x49b8a1);break;case _0x70f885:this[_0x32bbd7(0x12d)]();break;case _0x2a32d5:this['getData'](_0x49b8a1);break;case _0x5c6750:case _0x41be3b:this[_0x32bbd7(0x28c)]=!0x1;return;}while(this[_0x32bbd7(0x28c)]);this[_0x32bbd7(0x28d)]||_0x49b8a1();}[_0x2d1e15(0x1a1)](_0x13f6a7){const _0x22baf8=_0x2d1e15;if(this['_bufferedBytes']<0x2){this[_0x22baf8(0x28c)]=!0x1;return;}const _0xc499d3=this[_0x22baf8(0x246)](0x2);if((_0xc499d3[0x0]&0x30)!==0x0){const _0x3f6778=this[_0x22baf8(0x241)](RangeError,_0x22baf8(0x1da),!0x0,0x3ea,_0x22baf8(0x1d7));_0x13f6a7(_0x3f6778);return;}const _0x566a23=(_0xc499d3[0x0]&0x40)===0x40;if(_0x566a23&&!this[_0x22baf8(0x1f4)][_0x1fa3fb[_0x22baf8(0x208)]]){const _0x11f17c=this['createError'](RangeError,_0x22baf8(0x128),!0x0,0x3ea,_0x22baf8(0x127));_0x13f6a7(_0x11f17c);return;}if(this['_fin']=(_0xc499d3[0x0]&0x80)===0x80,this[_0x22baf8(0x16b)]=_0xc499d3[0x0]&0xf,this[_0x22baf8(0x16c)]=_0xc499d3[0x1]&0x7f,this[_0x22baf8(0x16b)]===0x0){if(_0x566a23){const _0x46cd4c=this['createError'](RangeError,_0x22baf8(0x128),!0x0,0x3ea,_0x22baf8(0x127));_0x13f6a7(_0x46cd4c);return;}if(!this['_fragmented']){const _0x102101=this[_0x22baf8(0x241)](RangeError,_0x22baf8(0x183),!0x0,0x3ea,_0x22baf8(0x255));_0x13f6a7(_0x102101);return;}this[_0x22baf8(0x16b)]=this['_fragmented'];}else{if(this[_0x22baf8(0x16b)]===0x1||this['_opcode']===0x2){if(this[_0x22baf8(0x1d9)]){const _0x19d044=this[_0x22baf8(0x241)](RangeError,_0x22baf8(0x1b5)+this['_opcode'],!0x0,0x3ea,_0x22baf8(0x255));_0x13f6a7(_0x19d044);return;}this[_0x22baf8(0x215)]=_0x566a23;}else{if(this[_0x22baf8(0x16b)]>0x7&&this[_0x22baf8(0x16b)]<0xb){if(!this[_0x22baf8(0x2cf)]){const _0x41e138=this[_0x22baf8(0x241)](RangeError,'FIN\x20must\x20be\x20set',!0x0,0x3ea,_0x22baf8(0x247));_0x13f6a7(_0x41e138);return;}if(_0x566a23){const _0x4e6797=this[_0x22baf8(0x241)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x22baf8(0x127));_0x13f6a7(_0x4e6797);return;}if(this[_0x22baf8(0x16c)]>0x7d||this['_opcode']===0x8&&this[_0x22baf8(0x16c)]===0x1){const _0xea052b=this[_0x22baf8(0x241)](RangeError,_0x22baf8(0x22b)+this[_0x22baf8(0x16c)],!0x0,0x3ea,_0x22baf8(0x206));_0x13f6a7(_0xea052b);return;}}else{const _0x48ba0e=this[_0x22baf8(0x241)](RangeError,_0x22baf8(0x1b5)+this[_0x22baf8(0x16b)],!0x0,0x3ea,_0x22baf8(0x255));_0x13f6a7(_0x48ba0e);return;}}}if(!this[_0x22baf8(0x2cf)]&&!this[_0x22baf8(0x1d9)]&&(this['_fragmented']=this[_0x22baf8(0x16b)]),this[_0x22baf8(0x12b)]=(_0xc499d3[0x1]&0x80)===0x80,this[_0x22baf8(0x24a)]){if(!this['_masked']){const _0x4eeaf2=this[_0x22baf8(0x241)](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,_0x22baf8(0x291));_0x13f6a7(_0x4eeaf2);return;}}else{if(this[_0x22baf8(0x12b)]){const _0x2d1827=this[_0x22baf8(0x241)](RangeError,_0x22baf8(0x190),!0x0,0x3ea,_0x22baf8(0x2b6));_0x13f6a7(_0x2d1827);return;}}this[_0x22baf8(0x16c)]===0x7e?this[_0x22baf8(0x1b1)]=_0x1b188e:this[_0x22baf8(0x16c)]===0x7f?this[_0x22baf8(0x1b1)]=_0x2f7580:this['haveLength'](_0x13f6a7);}[_0x2d1e15(0x172)](_0x48b7c7){const _0x368e2c=_0x2d1e15;if(this[_0x368e2c(0x2ab)]<0x2){this[_0x368e2c(0x28c)]=!0x1;return;}this[_0x368e2c(0x16c)]=this[_0x368e2c(0x246)](0x2)[_0x368e2c(0x14e)](0x0),this[_0x368e2c(0x29f)](_0x48b7c7);}['getPayloadLength64'](_0x4273bb){const _0x3ab1a8=_0x2d1e15;if(this[_0x3ab1a8(0x2ab)]<0x8){this[_0x3ab1a8(0x28c)]=!0x1;return;}const _0x56a42f=this[_0x3ab1a8(0x246)](0x8),_0xd635fc=_0x56a42f[_0x3ab1a8(0x1c2)](0x0);if(_0xd635fc>Math[_0x3ab1a8(0x193)](0x2,0x15)-0x1){const _0x2acbd9=this[_0x3ab1a8(0x241)](RangeError,_0x3ab1a8(0x147),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH');_0x4273bb(_0x2acbd9);return;}this[_0x3ab1a8(0x16c)]=_0xd635fc*Math[_0x3ab1a8(0x193)](0x2,0x20)+_0x56a42f['readUInt32BE'](0x4),this[_0x3ab1a8(0x29f)](_0x4273bb);}['haveLength'](_0x38dc0a){const _0x2017de=_0x2d1e15;if(this['_payloadLength']&&this['_opcode']<0x8&&(this[_0x2017de(0x1f2)]+=this[_0x2017de(0x16c)],this['_totalPayloadLength']>this[_0x2017de(0x245)]&&this[_0x2017de(0x245)]>0x0)){const _0x292daf=this['createError'](RangeError,_0x2017de(0x2c9),!0x1,0x3f1,_0x2017de(0x15c));_0x38dc0a(_0x292daf);return;}this[_0x2017de(0x12b)]?this[_0x2017de(0x1b1)]=_0x70f885:this[_0x2017de(0x1b1)]=_0x2a32d5;}[_0x2d1e15(0x12d)](){const _0x5ae278=_0x2d1e15;if(this['_bufferedBytes']<0x4){this[_0x5ae278(0x28c)]=!0x1;return;}this[_0x5ae278(0x173)]=this['consume'](0x4),this['_state']=_0x2a32d5;}[_0x2d1e15(0x297)](_0x10090e){const _0x595228=_0x2d1e15;let _0x125b7e=_0x398e78;if(this[_0x595228(0x16c)]){if(this['_bufferedBytes']<this[_0x595228(0x16c)]){this[_0x595228(0x28c)]=!0x1;return;}_0x125b7e=this[_0x595228(0x246)](this['_payloadLength']),this[_0x595228(0x12b)]&&(this[_0x595228(0x173)][0x0]|this[_0x595228(0x173)][0x1]|this[_0x595228(0x173)][0x2]|this['_mask'][0x3])!==0x0&&_0x2b8c36(_0x125b7e,this['_mask']);}if(this[_0x595228(0x16b)]>0x7){this['controlMessage'](_0x125b7e,_0x10090e);return;}if(this[_0x595228(0x215)]){this[_0x595228(0x1b1)]=_0x5c6750,this[_0x595228(0x196)](_0x125b7e,_0x10090e);return;}_0x125b7e[_0x595228(0x188)]&&(this[_0x595228(0x2b4)]=this[_0x595228(0x1f2)],this[_0x595228(0x151)][_0x595228(0x1b6)](_0x125b7e)),this[_0x595228(0x152)](_0x10090e);}[_0x2d1e15(0x196)](_0xb42066,_0x255116){const _0x5c90fb=_0x2d1e15;this['_extensions'][_0x1fa3fb[_0x5c90fb(0x208)]][_0x5c90fb(0x196)](_0xb42066,this[_0x5c90fb(0x2cf)],(_0x53424a,_0x115f40)=>{const _0x3cbae1=_0x5c90fb;if(_0x53424a)return _0x255116(_0x53424a);if(_0x115f40['length']){if(this[_0x3cbae1(0x2b4)]+=_0x115f40[_0x3cbae1(0x188)],this['_messageLength']>this[_0x3cbae1(0x245)]&&this[_0x3cbae1(0x245)]>0x0){const _0x53d5fa=this[_0x3cbae1(0x241)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x3cbae1(0x15c));_0x255116(_0x53d5fa);return;}this[_0x3cbae1(0x151)][_0x3cbae1(0x1b6)](_0x115f40);}this[_0x3cbae1(0x152)](_0x255116),this[_0x3cbae1(0x1b1)]===_0x1f43c4&&this[_0x3cbae1(0x1c0)](_0x255116);});}['dataMessage'](_0x47de6c){const _0x519dd6=_0x2d1e15;if(!this[_0x519dd6(0x2cf)]){this['_state']=_0x1f43c4;return;}const _0xae123=this['_messageLength'],_0x31729d=this[_0x519dd6(0x151)];if(this[_0x519dd6(0x1f2)]=0x0,this[_0x519dd6(0x2b4)]=0x0,this['_fragmented']=0x0,this[_0x519dd6(0x151)]=[],this['_opcode']===0x2){let _0x4f182b;this['_binaryType']===_0x519dd6(0x1c6)?_0x4f182b=_0x3de7bf(_0x31729d,_0xae123):this[_0x519dd6(0x289)]===_0x519dd6(0x1ea)?_0x4f182b=_0x1d9eda(_0x3de7bf(_0x31729d,_0xae123)):this['_binaryType']===_0x519dd6(0x136)?_0x4f182b=new Blob(_0x31729d):_0x4f182b=_0x31729d,this[_0x519dd6(0x150)]?(this['emit']('message',_0x4f182b,!0x0),this[_0x519dd6(0x1b1)]=_0x1f43c4):(this[_0x519dd6(0x1b1)]=_0x41be3b,setImmediate(()=>{const _0x54e23f=_0x519dd6;this[_0x54e23f(0x2b7)](_0x54e23f(0x22a),_0x4f182b,!0x0),this['_state']=_0x1f43c4,this[_0x54e23f(0x1c0)](_0x47de6c);}));}else{const _0x795b09=_0x3de7bf(_0x31729d,_0xae123);if(!this[_0x519dd6(0x1fe)]&&!_0x45185f(_0x795b09)){const _0x61d6d1=this[_0x519dd6(0x241)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x519dd6(0x203));_0x47de6c(_0x61d6d1);return;}this[_0x519dd6(0x1b1)]===_0x5c6750||this[_0x519dd6(0x150)]?(this['emit'](_0x519dd6(0x22a),_0x795b09,!0x1),this[_0x519dd6(0x1b1)]=_0x1f43c4):(this[_0x519dd6(0x1b1)]=_0x41be3b,setImmediate(()=>{const _0x4ffdc4=_0x519dd6;this['emit'](_0x4ffdc4(0x22a),_0x795b09,!0x1),this['_state']=_0x1f43c4,this[_0x4ffdc4(0x1c0)](_0x47de6c);}));}}[_0x2d1e15(0x178)](_0x47db92,_0x24130c){const _0x372e83=_0x2d1e15;if(this[_0x372e83(0x16b)]===0x8){if(_0x47db92[_0x372e83(0x188)]===0x0)this['_loop']=!0x1,this[_0x372e83(0x2b7)]('conclude',0x3ed,_0x398e78),this[_0x372e83(0x182)]();else{const _0x211428=_0x47db92[_0x372e83(0x14e)](0x0);if(!_0x505de0(_0x211428)){const _0x364a5c=this['createError'](RangeError,'invalid\x20status\x20code\x20'+_0x211428,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0x24130c(_0x364a5c);return;}const _0x17136d=new _0x129705(_0x47db92[_0x372e83(0x258)],_0x47db92[_0x372e83(0x132)]+0x2,_0x47db92[_0x372e83(0x188)]-0x2);if(!this[_0x372e83(0x1fe)]&&!_0x45185f(_0x17136d)){const _0x4779e2=this[_0x372e83(0x241)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x372e83(0x203));_0x24130c(_0x4779e2);return;}this[_0x372e83(0x28c)]=!0x1,this[_0x372e83(0x2b7)](_0x372e83(0x145),_0x211428,_0x17136d),this['end']();}this['_state']=_0x1f43c4;return;}this[_0x372e83(0x150)]?(this[_0x372e83(0x2b7)](this[_0x372e83(0x16b)]===0x9?'ping':_0x372e83(0x197),_0x47db92),this[_0x372e83(0x1b1)]=_0x1f43c4):(this[_0x372e83(0x1b1)]=_0x41be3b,setImmediate(()=>{const _0x3d3652=_0x372e83;this[_0x3d3652(0x2b7)](this['_opcode']===0x9?_0x3d3652(0x221):'pong',_0x47db92),this['_state']=_0x1f43c4,this[_0x3d3652(0x1c0)](_0x24130c);}));}[_0x2d1e15(0x241)](_0x14c9ca,_0x105b5b,_0x408079,_0x4f573d,_0x3101dd){const _0x518b64=_0x2d1e15;this[_0x518b64(0x28c)]=!0x1,this[_0x518b64(0x28d)]=!0x0;const _0xe2aff=new _0x14c9ca(_0x408079?_0x518b64(0x1a8)+_0x105b5b:_0x105b5b);return Error[_0x518b64(0x19a)](_0xe2aff,this[_0x518b64(0x241)]),_0xe2aff[_0x518b64(0x187)]=_0x3101dd,_0xe2aff[_0x1278e5]=_0x4f573d,_0xe2aff;}}return Se=_0x1f04fd,Se;}var Ee,et;function _t(){const _0x5ab1fa=_0x1045d1;if(et)return Ee;et=0x1;const {Duplex:_0x144c6}=_0x3c241e,{randomFillSync:_0x308127}=_0x34f9da,_0x2bb063=he(),{EMPTY_BUFFER:_0x318c0b,kWebSocket:_0x2f2d6e,NOOP:_0x195b8f}=V(),{isBlob:_0x454992,isValidStatusCode:_0x184d79}=ne(),{mask:_0x261518,toBuffer:_0x502ca2}=ce(),_0x4effd3=Symbol(_0x5ab1fa(0x2a8)),_0xd8c578=Buffer[_0x5ab1fa(0x1f0)](0x4),_0x34b877=0x8*0x400;let _0x6dda78,_0x4e1465=_0x34b877;const _0x22514e=0x0,_0x23976f=0x1,_0x42e02d=0x2;class _0xdb8243{constructor(_0x188715,_0x571652,_0x19e837){const _0x3fca6e=_0x5ab1fa;this[_0x3fca6e(0x1f4)]=_0x571652||{},_0x19e837&&(this[_0x3fca6e(0x2ce)]=_0x19e837,this['_maskBuffer']=Buffer['alloc'](0x4)),this[_0x3fca6e(0x15b)]=_0x188715,this[_0x3fca6e(0x1b2)]=!0x0,this['_compress']=!0x1,this[_0x3fca6e(0x2ab)]=0x0,this['_queue']=[],this[_0x3fca6e(0x1b1)]=_0x22514e,this[_0x3fca6e(0x27f)]=_0x195b8f,this[_0x2f2d6e]=void 0x0;}static[_0x5ab1fa(0x21b)](_0x2a1b72,_0x4f18a6){const _0x4bbca7=_0x5ab1fa;let _0x14ddc3,_0x3b27e8=!0x1,_0x2d0305=0x2,_0x332532=!0x1;_0x4f18a6[_0x4bbca7(0x235)]&&(_0x14ddc3=_0x4f18a6['maskBuffer']||_0xd8c578,_0x4f18a6['generateMask']?_0x4f18a6[_0x4bbca7(0x192)](_0x14ddc3):(_0x4e1465===_0x34b877&&(_0x6dda78===void 0x0&&(_0x6dda78=Buffer[_0x4bbca7(0x1f0)](_0x34b877)),_0x308127(_0x6dda78,0x0,_0x34b877),_0x4e1465=0x0),_0x14ddc3[0x0]=_0x6dda78[_0x4e1465++],_0x14ddc3[0x1]=_0x6dda78[_0x4e1465++],_0x14ddc3[0x2]=_0x6dda78[_0x4e1465++],_0x14ddc3[0x3]=_0x6dda78[_0x4e1465++]),_0x332532=(_0x14ddc3[0x0]|_0x14ddc3[0x1]|_0x14ddc3[0x2]|_0x14ddc3[0x3])===0x0,_0x2d0305=0x6);let _0x4813cd;typeof _0x2a1b72=='string'?(!_0x4f18a6[_0x4bbca7(0x235)]||_0x332532)&&_0x4f18a6[_0x4effd3]!==void 0x0?_0x4813cd=_0x4f18a6[_0x4effd3]:(_0x2a1b72=Buffer[_0x4bbca7(0x166)](_0x2a1b72),_0x4813cd=_0x2a1b72[_0x4bbca7(0x188)]):(_0x4813cd=_0x2a1b72['length'],_0x3b27e8=_0x4f18a6[_0x4bbca7(0x235)]&&_0x4f18a6[_0x4bbca7(0x1de)]&&!_0x332532);let _0xa66004=_0x4813cd;_0x4813cd>=0x10000?(_0x2d0305+=0x8,_0xa66004=0x7f):_0x4813cd>0x7d&&(_0x2d0305+=0x2,_0xa66004=0x7e);const _0x448f61=Buffer[_0x4bbca7(0x1c7)](_0x3b27e8?_0x4813cd+_0x2d0305:_0x2d0305);return _0x448f61[0x0]=_0x4f18a6[_0x4bbca7(0x1cc)]?_0x4f18a6[_0x4bbca7(0x198)]|0x80:_0x4f18a6[_0x4bbca7(0x198)],_0x4f18a6[_0x4bbca7(0x15d)]&&(_0x448f61[0x0]|=0x40),_0x448f61[0x1]=_0xa66004,_0xa66004===0x7e?_0x448f61[_0x4bbca7(0x184)](_0x4813cd,0x2):_0xa66004===0x7f&&(_0x448f61[0x2]=_0x448f61[0x3]=0x0,_0x448f61[_0x4bbca7(0x18c)](_0x4813cd,0x4,0x6)),_0x4f18a6[_0x4bbca7(0x235)]?(_0x448f61[0x1]|=0x80,_0x448f61[_0x2d0305-0x4]=_0x14ddc3[0x0],_0x448f61[_0x2d0305-0x3]=_0x14ddc3[0x1],_0x448f61[_0x2d0305-0x2]=_0x14ddc3[0x2],_0x448f61[_0x2d0305-0x1]=_0x14ddc3[0x3],_0x332532?[_0x448f61,_0x2a1b72]:_0x3b27e8?(_0x261518(_0x2a1b72,_0x14ddc3,_0x448f61,_0x2d0305,_0x4813cd),[_0x448f61]):(_0x261518(_0x2a1b72,_0x14ddc3,_0x2a1b72,0x0,_0x4813cd),[_0x448f61,_0x2a1b72])):[_0x448f61,_0x2a1b72];}['close'](_0x505fa4,_0x4be0c5,_0x2d7454,_0x4059ee){const _0x3219b6=_0x5ab1fa;let _0xebbdc9;if(_0x505fa4===void 0x0)_0xebbdc9=_0x318c0b;else{if(typeof _0x505fa4!=_0x3219b6(0x230)||!_0x184d79(_0x505fa4))throw new TypeError(_0x3219b6(0x18f));if(_0x4be0c5===void 0x0||!_0x4be0c5[_0x3219b6(0x188)])_0xebbdc9=Buffer[_0x3219b6(0x1c7)](0x2),_0xebbdc9[_0x3219b6(0x184)](_0x505fa4,0x0);else{const _0x495ac9=Buffer[_0x3219b6(0x129)](_0x4be0c5);if(_0x495ac9>0x7b)throw new RangeError(_0x3219b6(0x200));_0xebbdc9=Buffer[_0x3219b6(0x1c7)](0x2+_0x495ac9),_0xebbdc9[_0x3219b6(0x184)](_0x505fa4,0x0),typeof _0x4be0c5==_0x3219b6(0x2ac)?_0xebbdc9[_0x3219b6(0x13d)](_0x4be0c5,0x2):_0xebbdc9['set'](_0x4be0c5,0x2);}}const _0x22c632={[_0x4effd3]:_0xebbdc9[_0x3219b6(0x188)],'fin':!0x0,'generateMask':this[_0x3219b6(0x2ce)],'mask':_0x2d7454,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this['_state']!==_0x22514e?this[_0x3219b6(0x25f)]([this[_0x3219b6(0x24f)],_0xebbdc9,!0x1,_0x22c632,_0x4059ee]):this[_0x3219b6(0x20f)](_0xdb8243[_0x3219b6(0x21b)](_0xebbdc9,_0x22c632),_0x4059ee);}[_0x5ab1fa(0x221)](_0x3b5d04,_0x2a99f7,_0x467a1e){const _0x1a7df5=_0x5ab1fa;let _0x63821c,_0x4e3379;if(typeof _0x3b5d04=='string'?(_0x63821c=Buffer[_0x1a7df5(0x129)](_0x3b5d04),_0x4e3379=!0x1):_0x454992(_0x3b5d04)?(_0x63821c=_0x3b5d04[_0x1a7df5(0x146)],_0x4e3379=!0x1):(_0x3b5d04=_0x502ca2(_0x3b5d04),_0x63821c=_0x3b5d04['length'],_0x4e3379=_0x502ca2['readOnly']),_0x63821c>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x5e3538={[_0x4effd3]:_0x63821c,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x2a99f7,'maskBuffer':this[_0x1a7df5(0x1ca)],'opcode':0x9,'readOnly':_0x4e3379,'rsv1':!0x1};_0x454992(_0x3b5d04)?this['_state']!==_0x22514e?this[_0x1a7df5(0x25f)]([this['getBlobData'],_0x3b5d04,!0x1,_0x5e3538,_0x467a1e]):this['getBlobData'](_0x3b5d04,!0x1,_0x5e3538,_0x467a1e):this[_0x1a7df5(0x1b1)]!==_0x22514e?this[_0x1a7df5(0x25f)]([this['dispatch'],_0x3b5d04,!0x1,_0x5e3538,_0x467a1e]):this[_0x1a7df5(0x20f)](_0xdb8243[_0x1a7df5(0x21b)](_0x3b5d04,_0x5e3538),_0x467a1e);}['pong'](_0x4e0323,_0x5abcba,_0x1edb65){const _0x5110ea=_0x5ab1fa;let _0x475031,_0x1b1f7c;if(typeof _0x4e0323==_0x5110ea(0x2ac)?(_0x475031=Buffer[_0x5110ea(0x129)](_0x4e0323),_0x1b1f7c=!0x1):_0x454992(_0x4e0323)?(_0x475031=_0x4e0323['size'],_0x1b1f7c=!0x1):(_0x4e0323=_0x502ca2(_0x4e0323),_0x475031=_0x4e0323[_0x5110ea(0x188)],_0x1b1f7c=_0x502ca2[_0x5110ea(0x1de)]),_0x475031>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x1998fe={[_0x4effd3]:_0x475031,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x5abcba,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x1b1f7c,'rsv1':!0x1};_0x454992(_0x4e0323)?this['_state']!==_0x22514e?this[_0x5110ea(0x25f)]([this[_0x5110ea(0x254)],_0x4e0323,!0x1,_0x1998fe,_0x1edb65]):this[_0x5110ea(0x254)](_0x4e0323,!0x1,_0x1998fe,_0x1edb65):this['_state']!==_0x22514e?this[_0x5110ea(0x25f)]([this['dispatch'],_0x4e0323,!0x1,_0x1998fe,_0x1edb65]):this[_0x5110ea(0x20f)](_0xdb8243['frame'](_0x4e0323,_0x1998fe),_0x1edb65);}[_0x5ab1fa(0x231)](_0x3e10a4,_0x1a58ca,_0x491f26){const _0x390000=_0x5ab1fa,_0x1af549=this['_extensions'][_0x2bb063['extensionName']];let _0x16950c=_0x1a58ca[_0x390000(0x1cd)]?0x2:0x1,_0x54fa52=_0x1a58ca[_0x390000(0x12c)],_0x35acd7,_0x15652a;typeof _0x3e10a4==_0x390000(0x2ac)?(_0x35acd7=Buffer[_0x390000(0x129)](_0x3e10a4),_0x15652a=!0x1):_0x454992(_0x3e10a4)?(_0x35acd7=_0x3e10a4[_0x390000(0x146)],_0x15652a=!0x1):(_0x3e10a4=_0x502ca2(_0x3e10a4),_0x35acd7=_0x3e10a4['length'],_0x15652a=_0x502ca2[_0x390000(0x1de)]),this[_0x390000(0x1b2)]?(this[_0x390000(0x1b2)]=!0x1,_0x54fa52&&_0x1af549&&_0x1af549[_0x390000(0x25c)][_0x1af549['_isServer']?'server_no_context_takeover':'client_no_context_takeover']&&(_0x54fa52=_0x35acd7>=_0x1af549[_0x390000(0x25d)]),this['_compress']=_0x54fa52):(_0x54fa52=!0x1,_0x16950c=0x0),_0x1a58ca[_0x390000(0x1cc)]&&(this['_firstFragment']=!0x0);const _0x37c123={[_0x4effd3]:_0x35acd7,'fin':_0x1a58ca[_0x390000(0x1cc)],'generateMask':this['_generateMask'],'mask':_0x1a58ca[_0x390000(0x235)],'maskBuffer':this[_0x390000(0x1ca)],'opcode':_0x16950c,'readOnly':_0x15652a,'rsv1':_0x54fa52};_0x454992(_0x3e10a4)?this[_0x390000(0x1b1)]!==_0x22514e?this[_0x390000(0x25f)]([this[_0x390000(0x254)],_0x3e10a4,this[_0x390000(0x1a9)],_0x37c123,_0x491f26]):this[_0x390000(0x254)](_0x3e10a4,this[_0x390000(0x1a9)],_0x37c123,_0x491f26):this[_0x390000(0x1b1)]!==_0x22514e?this[_0x390000(0x25f)]([this[_0x390000(0x24f)],_0x3e10a4,this[_0x390000(0x1a9)],_0x37c123,_0x491f26]):this['dispatch'](_0x3e10a4,this['_compress'],_0x37c123,_0x491f26);}['getBlobData'](_0x4335a5,_0x1045fd,_0x449734,_0x218889){const _0x39d11e=_0x5ab1fa;this[_0x39d11e(0x2ab)]+=_0x449734[_0x4effd3],this[_0x39d11e(0x1b1)]=_0x42e02d,_0x4335a5[_0x39d11e(0x1b7)]()[_0x39d11e(0x2bc)](_0x2918dc=>{const _0x47f677=_0x39d11e;if(this[_0x47f677(0x15b)][_0x47f677(0x240)]){const _0x1a7253=new Error(_0x47f677(0x219));process[_0x47f677(0x2a1)](_0xb54545,this,_0x1a7253,_0x218889);return;}this[_0x47f677(0x2ab)]-=_0x449734[_0x4effd3];const _0x2b97a3=_0x502ca2(_0x2918dc);_0x1045fd?this['dispatch'](_0x2b97a3,_0x1045fd,_0x449734,_0x218889):(this[_0x47f677(0x1b1)]=_0x22514e,this[_0x47f677(0x20f)](_0xdb8243[_0x47f677(0x21b)](_0x2b97a3,_0x449734),_0x218889),this[_0x47f677(0x14c)]());})['catch'](_0x3252a7=>{const _0x496c60=_0x39d11e;process[_0x496c60(0x2a1)](_0x5794a8,this,_0x3252a7,_0x218889);});}[_0x5ab1fa(0x24f)](_0x58851e,_0x5a7caf,_0x5a90e8,_0x5ec561){const _0x371395=_0x5ab1fa;if(!_0x5a7caf){this['sendFrame'](_0xdb8243[_0x371395(0x21b)](_0x58851e,_0x5a90e8),_0x5ec561);return;}const _0x40d653=this[_0x371395(0x1f4)][_0x2bb063[_0x371395(0x208)]];this[_0x371395(0x2ab)]+=_0x5a90e8[_0x4effd3],this[_0x371395(0x1b1)]=_0x23976f,_0x40d653[_0x371395(0x12c)](_0x58851e,_0x5a90e8[_0x371395(0x1cc)],(_0x44925,_0x57a277)=>{const _0x3912cb=_0x371395;if(this['_socket'][_0x3912cb(0x240)]){const _0x3d9b38=new Error(_0x3912cb(0x25e));_0xb54545(this,_0x3d9b38,_0x5ec561);return;}this[_0x3912cb(0x2ab)]-=_0x5a90e8[_0x4effd3],this[_0x3912cb(0x1b1)]=_0x22514e,_0x5a90e8[_0x3912cb(0x1de)]=!0x1,this[_0x3912cb(0x20f)](_0xdb8243[_0x3912cb(0x21b)](_0x57a277,_0x5a90e8),_0x5ec561),this[_0x3912cb(0x14c)]();});}['dequeue'](){const _0x1ee308=_0x5ab1fa;for(;this[_0x1ee308(0x1b1)]===_0x22514e&&this['_queue']['length'];){const _0x3603f1=this[_0x1ee308(0x23a)]['shift']();this[_0x1ee308(0x2ab)]-=_0x3603f1[0x3][_0x4effd3],Reflect[_0x1ee308(0x260)](_0x3603f1[0x0],this,_0x3603f1[_0x1ee308(0x23f)](0x1));}}[_0x5ab1fa(0x25f)](_0x189d40){const _0x25f300=_0x5ab1fa;this[_0x25f300(0x2ab)]+=_0x189d40[0x3][_0x4effd3],this[_0x25f300(0x23a)][_0x25f300(0x1b6)](_0x189d40);}[_0x5ab1fa(0x20f)](_0x3f71f2,_0x3b98d3){const _0x5737fa=_0x5ab1fa;_0x3f71f2['length']===0x2?(this['_socket'][_0x5737fa(0x271)](),this[_0x5737fa(0x15b)][_0x5737fa(0x13d)](_0x3f71f2[0x0]),this[_0x5737fa(0x15b)][_0x5737fa(0x13d)](_0x3f71f2[0x1],_0x3b98d3),this[_0x5737fa(0x15b)][_0x5737fa(0x137)]()):this[_0x5737fa(0x15b)]['write'](_0x3f71f2[0x0],_0x3b98d3);}}Ee=_0xdb8243;function _0xb54545(_0x2cfcfb,_0x4297a9,_0xbdfb73){const _0x353d84=_0x5ab1fa;typeof _0xbdfb73==_0x353d84(0x270)&&_0xbdfb73(_0x4297a9);for(let _0x1f8700=0x0;_0x1f8700<_0x2cfcfb[_0x353d84(0x23a)][_0x353d84(0x188)];_0x1f8700++){const _0x771d8=_0x2cfcfb[_0x353d84(0x23a)][_0x1f8700],_0x2152cc=_0x771d8[_0x771d8[_0x353d84(0x188)]-0x1];typeof _0x2152cc==_0x353d84(0x270)&&_0x2152cc(_0x4297a9);}}function _0x5794a8(_0xa060f,_0x319858,_0x24f1f9){const _0x8ffa0b=_0x5ab1fa;_0xb54545(_0xa060f,_0x319858,_0x24f1f9),_0xa060f[_0x8ffa0b(0x27f)](_0x319858);}return Ee;}var xe,tt;function Kt(){const _0x26261a=_0x1045d1;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x5c46ee,kListener:_0x2ba08d}=V(),_0x5f4a95=Symbol(_0x26261a(0x1e7)),_0x153f19=Symbol(_0x26261a(0x201)),_0x43c8c2=Symbol(_0x26261a(0x2bb)),_0xd42d40=Symbol(_0x26261a(0x26a)),_0x5790ad=Symbol('kReason'),_0x135f96=Symbol(_0x26261a(0x227)),_0x1777d=Symbol(_0x26261a(0x13b)),_0x29a3de=Symbol(_0x26261a(0x223));class _0x1875a2{constructor(_0x2b793c){this[_0x135f96]=null,this[_0x1777d]=_0x2b793c;}get[_0x26261a(0x27a)](){return this[_0x135f96];}get['type'](){return this[_0x1777d];}}Object[_0x26261a(0x167)](_0x1875a2[_0x26261a(0x261)],_0x26261a(0x27a),{'enumerable':!0x0}),Object[_0x26261a(0x167)](_0x1875a2[_0x26261a(0x261)],'type',{'enumerable':!0x0});class _0x32d1a2 extends _0x1875a2{constructor(_0x1809aa,_0x424ffd={}){const _0x285fc8=_0x26261a;super(_0x1809aa),this[_0x5f4a95]=_0x424ffd['code']===void 0x0?0x0:_0x424ffd[_0x285fc8(0x187)],this[_0x5790ad]=_0x424ffd[_0x285fc8(0x2b3)]===void 0x0?'':_0x424ffd[_0x285fc8(0x2b3)],this[_0x29a3de]=_0x424ffd[_0x285fc8(0x2ad)]===void 0x0?!0x1:_0x424ffd[_0x285fc8(0x2ad)];}get['code'](){return this[_0x5f4a95];}get[_0x26261a(0x2b3)](){return this[_0x5790ad];}get[_0x26261a(0x2ad)](){return this[_0x29a3de];}}Object[_0x26261a(0x167)](_0x32d1a2[_0x26261a(0x261)],'code',{'enumerable':!0x0}),Object[_0x26261a(0x167)](_0x32d1a2[_0x26261a(0x261)],_0x26261a(0x2b3),{'enumerable':!0x0}),Object['defineProperty'](_0x32d1a2[_0x26261a(0x261)],'wasClean',{'enumerable':!0x0});class _0x3cdde9 extends _0x1875a2{constructor(_0x5ef28b,_0x2f90f1={}){const _0x2fa398=_0x26261a;super(_0x5ef28b),this[_0x43c8c2]=_0x2f90f1['error']===void 0x0?null:_0x2f90f1[_0x2fa398(0x1db)],this[_0xd42d40]=_0x2f90f1[_0x2fa398(0x22a)]===void 0x0?'':_0x2f90f1[_0x2fa398(0x22a)];}get[_0x26261a(0x1db)](){return this[_0x43c8c2];}get['message'](){return this[_0xd42d40];}}Object['defineProperty'](_0x3cdde9[_0x26261a(0x261)],_0x26261a(0x1db),{'enumerable':!0x0}),Object[_0x26261a(0x167)](_0x3cdde9[_0x26261a(0x261)],'message',{'enumerable':!0x0});class _0x2dd390 extends _0x1875a2{constructor(_0x27ca10,_0x870e73={}){const _0x18c660=_0x26261a;super(_0x27ca10),this[_0x153f19]=_0x870e73[_0x18c660(0x2a4)]===void 0x0?null:_0x870e73[_0x18c660(0x2a4)];}get[_0x26261a(0x2a4)](){return this[_0x153f19];}}Object[_0x26261a(0x167)](_0x2dd390[_0x26261a(0x261)],_0x26261a(0x2a4),{'enumerable':!0x0}),xe={'CloseEvent':_0x32d1a2,'ErrorEvent':_0x3cdde9,'Event':_0x1875a2,'EventTarget':{'addEventListener'(_0x4cb7fd,_0x4d3c55,_0xe39ace={}){const _0x67ecbd=_0x26261a;for(const _0x367518 of this[_0x67ecbd(0x2cb)](_0x4cb7fd))if(!_0xe39ace[_0x5c46ee]&&_0x367518[_0x2ba08d]===_0x4d3c55&&!_0x367518[_0x5c46ee])return;let _0x524746;if(_0x4cb7fd===_0x67ecbd(0x22a))_0x524746=function(_0x21152d,_0x107f2b){const _0x3c1c03=_0x67ecbd,_0x439e58=new _0x2dd390(_0x3c1c03(0x22a),{'data':_0x107f2b?_0x21152d:_0x21152d[_0x3c1c03(0x176)]()});_0x439e58[_0x135f96]=this,_0x34d8b7(_0x4d3c55,this,_0x439e58);};else{if(_0x4cb7fd==='close')_0x524746=function(_0x50d89a,_0x2a5d9b){const _0x998842=_0x67ecbd,_0x368151=new _0x32d1a2('close',{'code':_0x50d89a,'reason':_0x2a5d9b[_0x998842(0x176)](),'wasClean':this[_0x998842(0x171)]&&this['_closeFrameSent']});_0x368151[_0x135f96]=this,_0x34d8b7(_0x4d3c55,this,_0x368151);};else{if(_0x4cb7fd===_0x67ecbd(0x1db))_0x524746=function(_0x305786){const _0x3763b9=new _0x3cdde9('error',{'error':_0x305786,'message':_0x305786['message']});_0x3763b9[_0x135f96]=this,_0x34d8b7(_0x4d3c55,this,_0x3763b9);};else{if(_0x4cb7fd==='open')_0x524746=function(){const _0x48bc9e=_0x67ecbd,_0x51b727=new _0x1875a2(_0x48bc9e(0x1e5));_0x51b727[_0x135f96]=this,_0x34d8b7(_0x4d3c55,this,_0x51b727);};else return;}}}_0x524746[_0x5c46ee]=!!_0xe39ace[_0x5c46ee],_0x524746[_0x2ba08d]=_0x4d3c55,_0xe39ace[_0x67ecbd(0x1ac)]?this[_0x67ecbd(0x1ac)](_0x4cb7fd,_0x524746):this['on'](_0x4cb7fd,_0x524746);},'removeEventListener'(_0x14476b,_0x46a5b6){const _0x5ddbb8=_0x26261a;for(const _0x145d93 of this['listeners'](_0x14476b))if(_0x145d93[_0x2ba08d]===_0x46a5b6&&!_0x145d93[_0x5c46ee]){this[_0x5ddbb8(0x222)](_0x14476b,_0x145d93);break;}}},'MessageEvent':_0x2dd390};function _0x34d8b7(_0x147eb1,_0x24ada0,_0x435793){const _0x36f650=_0x26261a;typeof _0x147eb1==_0x36f650(0x287)&&_0x147eb1['handleEvent']?_0x147eb1[_0x36f650(0x2ae)]['call'](_0x147eb1,_0x435793):_0x147eb1[_0x36f650(0x21d)](_0x24ada0,_0x435793);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x5c7377}=ne();function _0x327173(_0x1fd43c,_0xc7478a,_0x5706f8){const _0x11f78a=_0x3f5d;_0x1fd43c[_0xc7478a]===void 0x0?_0x1fd43c[_0xc7478a]=[_0x5706f8]:_0x1fd43c[_0xc7478a][_0x11f78a(0x1b6)](_0x5706f8);}function _0x33c126(_0x51245a){const _0x316a98=_0x3f5d,_0x160493=Object['create'](null);let _0x4b69ac=Object[_0x316a98(0x163)](null),_0x124123=!0x1,_0x15ca10=!0x1,_0x35d7fc=!0x1,_0x3e9e83,_0x29e44a,_0x59eaf3=-0x1,_0x2ec5bb=-0x1,_0x3c9c03=-0x1,_0x5a6b3e=0x0;for(;_0x5a6b3e<_0x51245a[_0x316a98(0x188)];_0x5a6b3e++)if(_0x2ec5bb=_0x51245a[_0x316a98(0x1af)](_0x5a6b3e),_0x3e9e83===void 0x0){if(_0x3c9c03===-0x1&&_0x5c7377[_0x2ec5bb]===0x1)_0x59eaf3===-0x1&&(_0x59eaf3=_0x5a6b3e);else{if(_0x5a6b3e!==0x0&&(_0x2ec5bb===0x20||_0x2ec5bb===0x9))_0x3c9c03===-0x1&&_0x59eaf3!==-0x1&&(_0x3c9c03=_0x5a6b3e);else{if(_0x2ec5bb===0x3b||_0x2ec5bb===0x2c){if(_0x59eaf3===-0x1)throw new SyntaxError(_0x316a98(0x216)+_0x5a6b3e);_0x3c9c03===-0x1&&(_0x3c9c03=_0x5a6b3e);const _0x1cc11e=_0x51245a[_0x316a98(0x23f)](_0x59eaf3,_0x3c9c03);_0x2ec5bb===0x2c?(_0x327173(_0x160493,_0x1cc11e,_0x4b69ac),_0x4b69ac=Object['create'](null)):_0x3e9e83=_0x1cc11e,_0x59eaf3=_0x3c9c03=-0x1;}else throw new SyntaxError(_0x316a98(0x216)+_0x5a6b3e);}}}else{if(_0x29e44a===void 0x0){if(_0x3c9c03===-0x1&&_0x5c7377[_0x2ec5bb]===0x1)_0x59eaf3===-0x1&&(_0x59eaf3=_0x5a6b3e);else{if(_0x2ec5bb===0x20||_0x2ec5bb===0x9)_0x3c9c03===-0x1&&_0x59eaf3!==-0x1&&(_0x3c9c03=_0x5a6b3e);else{if(_0x2ec5bb===0x3b||_0x2ec5bb===0x2c){if(_0x59eaf3===-0x1)throw new SyntaxError(_0x316a98(0x216)+_0x5a6b3e);_0x3c9c03===-0x1&&(_0x3c9c03=_0x5a6b3e),_0x327173(_0x4b69ac,_0x51245a['slice'](_0x59eaf3,_0x3c9c03),!0x0),_0x2ec5bb===0x2c&&(_0x327173(_0x160493,_0x3e9e83,_0x4b69ac),_0x4b69ac=Object[_0x316a98(0x163)](null),_0x3e9e83=void 0x0),_0x59eaf3=_0x3c9c03=-0x1;}else{if(_0x2ec5bb===0x3d&&_0x59eaf3!==-0x1&&_0x3c9c03===-0x1)_0x29e44a=_0x51245a[_0x316a98(0x23f)](_0x59eaf3,_0x5a6b3e),_0x59eaf3=_0x3c9c03=-0x1;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x5a6b3e);}}}}else{if(_0x15ca10){if(_0x5c7377[_0x2ec5bb]!==0x1)throw new SyntaxError(_0x316a98(0x216)+_0x5a6b3e);_0x59eaf3===-0x1?_0x59eaf3=_0x5a6b3e:_0x124123||(_0x124123=!0x0),_0x15ca10=!0x1;}else{if(_0x35d7fc){if(_0x5c7377[_0x2ec5bb]===0x1)_0x59eaf3===-0x1&&(_0x59eaf3=_0x5a6b3e);else{if(_0x2ec5bb===0x22&&_0x59eaf3!==-0x1)_0x35d7fc=!0x1,_0x3c9c03=_0x5a6b3e;else{if(_0x2ec5bb===0x5c)_0x15ca10=!0x0;else throw new SyntaxError(_0x316a98(0x216)+_0x5a6b3e);}}}else{if(_0x2ec5bb===0x22&&_0x51245a[_0x316a98(0x1af)](_0x5a6b3e-0x1)===0x3d)_0x35d7fc=!0x0;else{if(_0x3c9c03===-0x1&&_0x5c7377[_0x2ec5bb]===0x1)_0x59eaf3===-0x1&&(_0x59eaf3=_0x5a6b3e);else{if(_0x59eaf3!==-0x1&&(_0x2ec5bb===0x20||_0x2ec5bb===0x9))_0x3c9c03===-0x1&&(_0x3c9c03=_0x5a6b3e);else{if(_0x2ec5bb===0x3b||_0x2ec5bb===0x2c){if(_0x59eaf3===-0x1)throw new SyntaxError(_0x316a98(0x216)+_0x5a6b3e);_0x3c9c03===-0x1&&(_0x3c9c03=_0x5a6b3e);let _0x3c460a=_0x51245a[_0x316a98(0x23f)](_0x59eaf3,_0x3c9c03);_0x124123&&(_0x3c460a=_0x3c460a['replace'](/\\/g,''),_0x124123=!0x1),_0x327173(_0x4b69ac,_0x29e44a,_0x3c460a),_0x2ec5bb===0x2c&&(_0x327173(_0x160493,_0x3e9e83,_0x4b69ac),_0x4b69ac=Object[_0x316a98(0x163)](null),_0x3e9e83=void 0x0),_0x29e44a=void 0x0,_0x59eaf3=_0x3c9c03=-0x1;}else throw new SyntaxError(_0x316a98(0x216)+_0x5a6b3e);}}}}}}}if(_0x59eaf3===-0x1||_0x35d7fc||_0x2ec5bb===0x20||_0x2ec5bb===0x9)throw new SyntaxError(_0x316a98(0x224));_0x3c9c03===-0x1&&(_0x3c9c03=_0x5a6b3e);const _0xe7cd06=_0x51245a[_0x316a98(0x23f)](_0x59eaf3,_0x3c9c03);return _0x3e9e83===void 0x0?_0x327173(_0x160493,_0xe7cd06,_0x4b69ac):(_0x29e44a===void 0x0?_0x327173(_0x4b69ac,_0xe7cd06,!0x0):_0x124123?_0x327173(_0x4b69ac,_0x29e44a,_0xe7cd06[_0x316a98(0x296)](/\\/g,'')):_0x327173(_0x4b69ac,_0x29e44a,_0xe7cd06),_0x327173(_0x160493,_0x3e9e83,_0x4b69ac)),_0x160493;}function _0x578d40(_0x52157e){const _0x460689=_0x3f5d;return Object[_0x460689(0x1cf)](_0x52157e)[_0x460689(0x210)](_0x1af40f=>{const _0x29f583=_0x460689;let _0x47ab10=_0x52157e[_0x1af40f];return Array[_0x29f583(0x16d)](_0x47ab10)||(_0x47ab10=[_0x47ab10]),_0x47ab10['map'](_0x4defb9=>[_0x1af40f][_0x29f583(0x13a)](Object[_0x29f583(0x1cf)](_0x4defb9)[_0x29f583(0x210)](_0x20f92d=>{const _0x5a52af=_0x29f583;let _0x27ce13=_0x4defb9[_0x20f92d];return Array[_0x5a52af(0x16d)](_0x27ce13)||(_0x27ce13=[_0x27ce13]),_0x27ce13['map'](_0x47bc0e=>_0x47bc0e===!0x0?_0x20f92d:_0x20f92d+'='+_0x47bc0e)['join'](';\x20');}))['join'](';\x20'))[_0x29f583(0x1b8)](',\x20');})[_0x460689(0x1b8)](',\x20');}return be={'format':_0x578d40,'parse':_0x33c126},be;}var we,st;function Ie(){const _0x44eaba=_0x1045d1;if(st)return we;st=0x1;const _0x51b8ef=_0x18caa4,_0x4dfe5a=_0x2b5faa,_0x5cbe5a=_0x3a2f25,_0x45cd99=_0x54371f,_0x39e379=_0x548dda,{randomBytes:_0x4f478e,createHash:_0x233e50}=_0x34f9da,{Duplex:_0x1d74b8,Readable:_0x53f077}=_0x3c241e,{URL:_0x8851cb}=_0x5374da,_0x38f7da=he(),_0x4a81e7=dt(),_0xc39ff6=_t(),{isBlob:_0x300dcc}=ne(),{BINARY_TYPES:_0x225b9e,EMPTY_BUFFER:_0x45892f,GUID:_0x226f46,kForOnEventAttribute:_0x1f4471,kListener:_0x910222,kStatusCode:_0x3a0416,kWebSocket:_0x2b64cf,NOOP:_0x29d3f}=V(),{EventTarget:{addEventListener:_0x10eaa6,removeEventListener:_0x3898ef}}=Kt(),{format:_0x12b522,parse:_0x4dbbb3}=pt(),{toBuffer:_0x3d366f}=ce(),_0x23e3e0=0x1e*0x3e8,_0x322bfe=Symbol(_0x44eaba(0x2ba)),_0x38574a=[0x8,0xd],_0x11c708=['CONNECTING',_0x44eaba(0x281),_0x44eaba(0x1dc),_0x44eaba(0x131)],_0x4150b3=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x3dec80 extends _0x51b8ef{constructor(_0x4fad26,_0x2ae2df,_0x1655d4){const _0x1c17b1=_0x44eaba;super(),this[_0x1c17b1(0x289)]=_0x225b9e[0x0],this['_closeCode']=0x3ee,this[_0x1c17b1(0x171)]=!0x1,this[_0x1c17b1(0x290)]=!0x1,this[_0x1c17b1(0x1bd)]=_0x45892f,this[_0x1c17b1(0x2cc)]=null,this[_0x1c17b1(0x1e1)]=!0x1,this[_0x1c17b1(0x1f4)]={},this[_0x1c17b1(0x14b)]=!0x1,this['_protocol']='',this['_readyState']=_0x3dec80[_0x1c17b1(0x177)],this[_0x1c17b1(0x295)]=null,this[_0x1c17b1(0x1d0)]=null,this[_0x1c17b1(0x15b)]=null,_0x4fad26!==null?(this[_0x1c17b1(0x243)]=0x0,this[_0x1c17b1(0x24a)]=!0x1,this[_0x1c17b1(0x1f1)]=0x0,_0x2ae2df===void 0x0?_0x2ae2df=[]:Array[_0x1c17b1(0x16d)](_0x2ae2df)||(typeof _0x2ae2df==_0x1c17b1(0x287)&&_0x2ae2df!==null?(_0x1655d4=_0x2ae2df,_0x2ae2df=[]):_0x2ae2df=[_0x2ae2df]),_0x514479(this,_0x4fad26,_0x2ae2df,_0x1655d4)):(this[_0x1c17b1(0x12a)]=_0x1655d4[_0x1c17b1(0x1e2)],this[_0x1c17b1(0x24a)]=!0x0);}get['binaryType'](){const _0x543abb=_0x44eaba;return this[_0x543abb(0x289)];}set['binaryType'](_0x29be95){const _0x29e4c6=_0x44eaba;_0x225b9e['includes'](_0x29be95)&&(this['_binaryType']=_0x29be95,this['_receiver']&&(this[_0x29e4c6(0x295)][_0x29e4c6(0x289)]=_0x29be95));}get['bufferedAmount'](){const _0x165108=_0x44eaba;return this['_socket']?this[_0x165108(0x15b)][_0x165108(0x26f)]['length']+this['_sender']['_bufferedBytes']:this['_bufferedAmount'];}get['extensions'](){const _0x4759ae=_0x44eaba;return Object[_0x4759ae(0x1cf)](this[_0x4759ae(0x1f4)])['join']();}get[_0x44eaba(0x1ba)](){const _0x8cd042=_0x44eaba;return this[_0x8cd042(0x14b)];}get[_0x44eaba(0x204)](){return null;}get[_0x44eaba(0x27f)](){return null;}get[_0x44eaba(0x29a)](){return null;}get[_0x44eaba(0x280)](){return null;}get['protocol'](){const _0x11fc60=_0x44eaba;return this[_0x11fc60(0x1f8)];}get[_0x44eaba(0x25b)](){const _0x186149=_0x44eaba;return this[_0x186149(0x22f)];}get[_0x44eaba(0x1c9)](){const _0x2854b3=_0x44eaba;return this[_0x2854b3(0x17f)];}[_0x44eaba(0x265)](_0x5e3efa,_0x423486,_0x3671d8){const _0x1e69f0=_0x44eaba,_0x215870=new _0x4a81e7({'allowSynchronousEvents':_0x3671d8[_0x1e69f0(0x181)],'binaryType':this['binaryType'],'extensions':this[_0x1e69f0(0x1f4)],'isServer':this[_0x1e69f0(0x24a)],'maxPayload':_0x3671d8[_0x1e69f0(0x294)],'skipUTF8Validation':_0x3671d8[_0x1e69f0(0x1d5)]}),_0x4884ff=new _0xc39ff6(_0x5e3efa,this['_extensions'],_0x3671d8[_0x1e69f0(0x192)]);this['_receiver']=_0x215870,this[_0x1e69f0(0x1d0)]=_0x4884ff,this[_0x1e69f0(0x15b)]=_0x5e3efa,_0x215870[_0x2b64cf]=this,_0x4884ff[_0x2b64cf]=this,_0x5e3efa[_0x2b64cf]=this,_0x215870['on'](_0x1e69f0(0x145),_0x142665),_0x215870['on'](_0x1e69f0(0x225),_0x5ed567),_0x215870['on']('error',_0x4d125b),_0x215870['on']('message',_0x55190d),_0x215870['on'](_0x1e69f0(0x221),_0x12464f),_0x215870['on'](_0x1e69f0(0x197),_0x13d947),_0x4884ff[_0x1e69f0(0x27f)]=_0x25fdfa,_0x5e3efa[_0x1e69f0(0x1a5)]&&_0x5e3efa[_0x1e69f0(0x1a5)](0x0),_0x5e3efa[_0x1e69f0(0x134)]&&_0x5e3efa['setNoDelay'](),_0x423486['length']>0x0&&_0x5e3efa[_0x1e69f0(0x23e)](_0x423486),_0x5e3efa['on'](_0x1e69f0(0x1fb),_0x1c83dc),_0x5e3efa['on']('data',_0x2022a5),_0x5e3efa['on'](_0x1e69f0(0x182),_0x5666be),_0x5e3efa['on'](_0x1e69f0(0x1db),_0x2f5ad7),this[_0x1e69f0(0x22f)]=_0x3dec80[_0x1e69f0(0x281)],this[_0x1e69f0(0x2b7)](_0x1e69f0(0x1e5));}['emitClose'](){const _0x392916=_0x44eaba;if(!this[_0x392916(0x15b)]){this[_0x392916(0x22f)]=_0x3dec80[_0x392916(0x131)],this['emit'](_0x392916(0x1fb),this[_0x392916(0x29e)],this[_0x392916(0x1bd)]);return;}this[_0x392916(0x1f4)][_0x38f7da[_0x392916(0x208)]]&&this[_0x392916(0x1f4)][_0x38f7da['extensionName']][_0x392916(0x14a)](),this[_0x392916(0x295)]['removeAllListeners'](),this[_0x392916(0x22f)]=_0x3dec80[_0x392916(0x131)],this['emit'](_0x392916(0x1fb),this[_0x392916(0x29e)],this['_closeMessage']);}['close'](_0x4eeddd,_0x3abe38){const _0x541c91=_0x44eaba;if(this[_0x541c91(0x25b)]!==_0x3dec80[_0x541c91(0x131)]){if(this[_0x541c91(0x25b)]===_0x3dec80[_0x541c91(0x177)]){_0x3cd53b(this,this[_0x541c91(0x1fd)],_0x541c91(0x16f));return;}if(this['readyState']===_0x3dec80[_0x541c91(0x1dc)]){this[_0x541c91(0x290)]&&(this[_0x541c91(0x171)]||this['_receiver'][_0x541c91(0x26f)]['errorEmitted'])&&this[_0x541c91(0x15b)][_0x541c91(0x182)]();return;}this[_0x541c91(0x22f)]=_0x3dec80['CLOSING'],this[_0x541c91(0x1d0)]['close'](_0x4eeddd,_0x3abe38,!this[_0x541c91(0x24a)],_0x2c8cd0=>{const _0x4fc562=_0x541c91;_0x2c8cd0||(this[_0x4fc562(0x290)]=!0x0,(this[_0x4fc562(0x171)]||this[_0x4fc562(0x295)][_0x4fc562(0x26f)][_0x4fc562(0x2b0)])&&this[_0x4fc562(0x15b)][_0x4fc562(0x182)]());}),_0x2c2435(this);}}[_0x44eaba(0x2aa)](){const _0x3a9635=_0x44eaba;this[_0x3a9635(0x25b)]===_0x3dec80[_0x3a9635(0x177)]||this[_0x3a9635(0x25b)]===_0x3dec80['CLOSED']||(this[_0x3a9635(0x14b)]=!0x0,this[_0x3a9635(0x15b)][_0x3a9635(0x2aa)]());}[_0x44eaba(0x221)](_0x5e98bc,_0xcfaf03,_0x14ea86){const _0x44b98b=_0x44eaba;if(this[_0x44b98b(0x25b)]===_0x3dec80['CONNECTING'])throw new Error(_0x44b98b(0x155));if(typeof _0x5e98bc==_0x44b98b(0x270)?(_0x14ea86=_0x5e98bc,_0x5e98bc=_0xcfaf03=void 0x0):typeof _0xcfaf03=='function'&&(_0x14ea86=_0xcfaf03,_0xcfaf03=void 0x0),typeof _0x5e98bc=='number'&&(_0x5e98bc=_0x5e98bc['toString']()),this['readyState']!==_0x3dec80['OPEN']){_0x13a04f(this,_0x5e98bc,_0x14ea86);return;}_0xcfaf03===void 0x0&&(_0xcfaf03=!this['_isServer']),this[_0x44b98b(0x1d0)]['ping'](_0x5e98bc||_0x45892f,_0xcfaf03,_0x14ea86);}['pong'](_0x726e78,_0x3df45b,_0x49ac8e){const _0x4c7f84=_0x44eaba;if(this[_0x4c7f84(0x25b)]===_0x3dec80[_0x4c7f84(0x177)])throw new Error(_0x4c7f84(0x155));if(typeof _0x726e78==_0x4c7f84(0x270)?(_0x49ac8e=_0x726e78,_0x726e78=_0x3df45b=void 0x0):typeof _0x3df45b==_0x4c7f84(0x270)&&(_0x49ac8e=_0x3df45b,_0x3df45b=void 0x0),typeof _0x726e78=='number'&&(_0x726e78=_0x726e78[_0x4c7f84(0x176)]()),this[_0x4c7f84(0x25b)]!==_0x3dec80[_0x4c7f84(0x281)]){_0x13a04f(this,_0x726e78,_0x49ac8e);return;}_0x3df45b===void 0x0&&(_0x3df45b=!this['_isServer']),this[_0x4c7f84(0x1d0)]['pong'](_0x726e78||_0x45892f,_0x3df45b,_0x49ac8e);}[_0x44eaba(0x2b8)](){const _0x243c94=_0x44eaba;this[_0x243c94(0x25b)]===_0x3dec80[_0x243c94(0x177)]||this[_0x243c94(0x25b)]===_0x3dec80[_0x243c94(0x131)]||(this[_0x243c94(0x14b)]=!0x1,this[_0x243c94(0x295)][_0x243c94(0x26f)][_0x243c94(0x2af)]||this[_0x243c94(0x15b)][_0x243c94(0x2b8)]());}['send'](_0x1ac8b5,_0x5bb946,_0x59cca1){const _0x487ee4=_0x44eaba;if(this['readyState']===_0x3dec80[_0x487ee4(0x177)])throw new Error(_0x487ee4(0x155));if(typeof _0x5bb946==_0x487ee4(0x270)&&(_0x59cca1=_0x5bb946,_0x5bb946={}),typeof _0x1ac8b5==_0x487ee4(0x230)&&(_0x1ac8b5=_0x1ac8b5[_0x487ee4(0x176)]()),this[_0x487ee4(0x25b)]!==_0x3dec80[_0x487ee4(0x281)]){_0x13a04f(this,_0x1ac8b5,_0x59cca1);return;}const _0x1d8ec9={'binary':typeof _0x1ac8b5!=_0x487ee4(0x2ac),'mask':!this[_0x487ee4(0x24a)],'compress':!0x0,'fin':!0x0,..._0x5bb946};this[_0x487ee4(0x1f4)][_0x38f7da[_0x487ee4(0x208)]]||(_0x1d8ec9[_0x487ee4(0x12c)]=!0x1),this['_sender'][_0x487ee4(0x231)](_0x1ac8b5||_0x45892f,_0x1d8ec9,_0x59cca1);}['terminate'](){const _0x3152b3=_0x44eaba;if(this['readyState']!==_0x3dec80[_0x3152b3(0x131)]){if(this[_0x3152b3(0x25b)]===_0x3dec80[_0x3152b3(0x177)]){_0x3cd53b(this,this[_0x3152b3(0x1fd)],_0x3152b3(0x16f));return;}this['_socket']&&(this['_readyState']=_0x3dec80[_0x3152b3(0x1dc)],this[_0x3152b3(0x15b)]['destroy']());}}}Object['defineProperty'](_0x3dec80,_0x44eaba(0x177),{'enumerable':!0x0,'value':_0x11c708[_0x44eaba(0x2a3)](_0x44eaba(0x177))}),Object[_0x44eaba(0x167)](_0x3dec80[_0x44eaba(0x261)],'CONNECTING',{'enumerable':!0x0,'value':_0x11c708[_0x44eaba(0x2a3)](_0x44eaba(0x177))}),Object[_0x44eaba(0x167)](_0x3dec80,_0x44eaba(0x281),{'enumerable':!0x0,'value':_0x11c708[_0x44eaba(0x2a3)](_0x44eaba(0x281))}),Object[_0x44eaba(0x167)](_0x3dec80['prototype'],_0x44eaba(0x281),{'enumerable':!0x0,'value':_0x11c708[_0x44eaba(0x2a3)](_0x44eaba(0x281))}),Object[_0x44eaba(0x167)](_0x3dec80,'CLOSING',{'enumerable':!0x0,'value':_0x11c708[_0x44eaba(0x2a3)](_0x44eaba(0x1dc))}),Object[_0x44eaba(0x167)](_0x3dec80[_0x44eaba(0x261)],'CLOSING',{'enumerable':!0x0,'value':_0x11c708[_0x44eaba(0x2a3)](_0x44eaba(0x1dc))}),Object[_0x44eaba(0x167)](_0x3dec80,_0x44eaba(0x131),{'enumerable':!0x0,'value':_0x11c708['indexOf'](_0x44eaba(0x131))}),Object[_0x44eaba(0x167)](_0x3dec80['prototype'],'CLOSED',{'enumerable':!0x0,'value':_0x11c708['indexOf']('CLOSED')}),[_0x44eaba(0x16e),'bufferedAmount','extensions',_0x44eaba(0x1ba),_0x44eaba(0x1b3),'readyState',_0x44eaba(0x1c9)][_0x44eaba(0x2b1)](_0x2c92ef=>{const _0x5cc2b0=_0x44eaba;Object['defineProperty'](_0x3dec80[_0x5cc2b0(0x261)],_0x2c92ef,{'enumerable':!0x0});}),['open',_0x44eaba(0x1db),_0x44eaba(0x1fb),_0x44eaba(0x22a)][_0x44eaba(0x2b1)](_0x330e7e=>{const _0x3f2e4c=_0x44eaba;Object[_0x3f2e4c(0x167)](_0x3dec80[_0x3f2e4c(0x261)],'on'+_0x330e7e,{'enumerable':!0x0,'get'(){const _0x54b9d4=_0x3f2e4c;for(const _0x5a739a of this[_0x54b9d4(0x2cb)](_0x330e7e))if(_0x5a739a[_0x1f4471])return _0x5a739a[_0x910222];return null;},'set'(_0x2e4f2f){const _0x31433e=_0x3f2e4c;for(const _0x53ffc8 of this[_0x31433e(0x2cb)](_0x330e7e))if(_0x53ffc8[_0x1f4471]){this['removeListener'](_0x330e7e,_0x53ffc8);break;}typeof _0x2e4f2f=='function'&&this['addEventListener'](_0x330e7e,_0x2e4f2f,{[_0x1f4471]:!0x0});}});}),_0x3dec80['prototype'][_0x44eaba(0x19b)]=_0x10eaa6,_0x3dec80[_0x44eaba(0x261)][_0x44eaba(0x15a)]=_0x3898ef,we=_0x3dec80;function _0x514479(_0x3a1404,_0x432a97,_0x12fe6e,_0x5c05bc){const _0x5477f5=_0x44eaba,_0x52f69f={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x38574a[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x5c05bc,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x5477f5(0x26e),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x3a1404[_0x5477f5(0x12a)]=_0x52f69f[_0x5477f5(0x1e2)],!_0x38574a['includes'](_0x52f69f[_0x5477f5(0x234)]))throw new RangeError(_0x5477f5(0x21c)+_0x52f69f[_0x5477f5(0x234)]+_0x5477f5(0x17e)+_0x38574a[_0x5477f5(0x1b8)](',\x20')+')');let _0x57f165;if(_0x432a97 instanceof _0x8851cb)_0x57f165=_0x432a97;else try{_0x57f165=new _0x8851cb(_0x432a97);}catch{throw new SyntaxError(_0x5477f5(0x2b9)+_0x432a97);}_0x57f165[_0x5477f5(0x1b3)]===_0x5477f5(0x139)?_0x57f165['protocol']=_0x5477f5(0x207):_0x57f165[_0x5477f5(0x1b3)]==='https:'&&(_0x57f165['protocol']=_0x5477f5(0x22e)),_0x3a1404['_url']=_0x57f165[_0x5477f5(0x130)];const _0x46e692=_0x57f165[_0x5477f5(0x1b3)]==='wss:',_0x4e990d=_0x57f165[_0x5477f5(0x1b3)]==='ws+unix:';let _0x4e409e;if(_0x57f165[_0x5477f5(0x1b3)]!=='ws:'&&!_0x46e692&&!_0x4e990d?_0x4e409e=_0x5477f5(0x1e4):_0x4e990d&&!_0x57f165[_0x5477f5(0x277)]?_0x4e409e='The\x20URL\x27s\x20pathname\x20is\x20empty':_0x57f165[_0x5477f5(0x274)]&&(_0x4e409e=_0x5477f5(0x179)),_0x4e409e){const _0xca967d=new SyntaxError(_0x4e409e);if(_0x3a1404[_0x5477f5(0x1f1)]===0x0)throw _0xca967d;_0x4fe7df(_0x3a1404,_0xca967d);return;}const _0x1c8f10=_0x46e692?0x1bb:0x50,_0xd6f007=_0x4f478e(0x10)[_0x5477f5(0x176)](_0x5477f5(0x2d2)),_0x1e3e86=_0x46e692?_0x4dfe5a[_0x5477f5(0x156)]:_0x5cbe5a[_0x5477f5(0x156)],_0x34879e=new Set();let _0x2657b3;if(_0x52f69f[_0x5477f5(0x1d4)]=_0x52f69f[_0x5477f5(0x1d4)]||(_0x46e692?_0x3bf9c9:_0x36af3c),_0x52f69f['defaultPort']=_0x52f69f[_0x5477f5(0x278)]||_0x1c8f10,_0x52f69f[_0x5477f5(0x1d8)]=_0x57f165['port']||_0x1c8f10,_0x52f69f[_0x5477f5(0x213)]=_0x57f165[_0x5477f5(0x1f5)][_0x5477f5(0x1b4)]('[')?_0x57f165[_0x5477f5(0x1f5)][_0x5477f5(0x23f)](0x1,-0x1):_0x57f165[_0x5477f5(0x1f5)],_0x52f69f[_0x5477f5(0x244)]={..._0x52f69f[_0x5477f5(0x244)],'Sec-WebSocket-Version':_0x52f69f[_0x5477f5(0x234)],'Sec-WebSocket-Key':_0xd6f007,'Connection':_0x5477f5(0x13f),'Upgrade':'websocket'},_0x52f69f[_0x5477f5(0x2ca)]=_0x57f165['pathname']+_0x57f165[_0x5477f5(0x2a2)],_0x52f69f[_0x5477f5(0x276)]=_0x52f69f[_0x5477f5(0x2a7)],_0x52f69f[_0x5477f5(0x1ef)]&&(_0x2657b3=new _0x38f7da(_0x52f69f[_0x5477f5(0x1ef)]!==!0x0?_0x52f69f['perMessageDeflate']:{},!0x1,_0x52f69f[_0x5477f5(0x294)]),_0x52f69f['headers']['Sec-WebSocket-Extensions']=_0x12b522({[_0x38f7da[_0x5477f5(0x208)]]:_0x2657b3['offer']()})),_0x12fe6e[_0x5477f5(0x188)]){for(const _0x36e821 of _0x12fe6e){if(typeof _0x36e821!=_0x5477f5(0x2ac)||!_0x4150b3[_0x5477f5(0x251)](_0x36e821)||_0x34879e[_0x5477f5(0x220)](_0x36e821))throw new SyntaxError(_0x5477f5(0x249));_0x34879e['add'](_0x36e821);}_0x52f69f[_0x5477f5(0x244)][_0x5477f5(0x209)]=_0x12fe6e['join'](',');}if(_0x52f69f[_0x5477f5(0x1f7)]&&(_0x52f69f[_0x5477f5(0x234)]<0xd?_0x52f69f[_0x5477f5(0x244)][_0x5477f5(0x17b)]=_0x52f69f['origin']:_0x52f69f[_0x5477f5(0x244)][_0x5477f5(0x29d)]=_0x52f69f[_0x5477f5(0x1f7)]),(_0x57f165[_0x5477f5(0x263)]||_0x57f165[_0x5477f5(0x284)])&&(_0x52f69f['auth']=_0x57f165[_0x5477f5(0x263)]+':'+_0x57f165[_0x5477f5(0x284)]),_0x4e990d){const _0x91aa54=_0x52f69f[_0x5477f5(0x2ca)]['split'](':');_0x52f69f[_0x5477f5(0x269)]=_0x91aa54[0x0],_0x52f69f[_0x5477f5(0x2ca)]=_0x91aa54[0x1];}let _0x2ad9f6;if(_0x52f69f[_0x5477f5(0x186)]){if(_0x3a1404[_0x5477f5(0x1f1)]===0x0){_0x3a1404[_0x5477f5(0x2d1)]=_0x4e990d,_0x3a1404['_originalSecure']=_0x46e692,_0x3a1404[_0x5477f5(0x133)]=_0x4e990d?_0x52f69f[_0x5477f5(0x269)]:_0x57f165[_0x5477f5(0x213)];const _0x4f7e4e=_0x5c05bc&&_0x5c05bc['headers'];if(_0x5c05bc={..._0x5c05bc,'headers':{}},_0x4f7e4e){for(const [_0x53040d,_0x32f617]of Object[_0x5477f5(0x29c)](_0x4f7e4e))_0x5c05bc[_0x5477f5(0x244)][_0x53040d['toLowerCase']()]=_0x32f617;}}else{if(_0x3a1404[_0x5477f5(0x22d)](_0x5477f5(0x159))===0x0){const _0x15a638=_0x4e990d?_0x3a1404[_0x5477f5(0x2d1)]?_0x52f69f[_0x5477f5(0x269)]===_0x3a1404[_0x5477f5(0x133)]:!0x1:_0x3a1404[_0x5477f5(0x2d1)]?!0x1:_0x57f165[_0x5477f5(0x213)]===_0x3a1404[_0x5477f5(0x133)];(!_0x15a638||_0x3a1404[_0x5477f5(0x1ec)]&&!_0x46e692)&&(delete _0x52f69f['headers']['authorization'],delete _0x52f69f[_0x5477f5(0x244)]['cookie'],_0x15a638||delete _0x52f69f[_0x5477f5(0x244)][_0x5477f5(0x213)],_0x52f69f[_0x5477f5(0x1d6)]=void 0x0);}}_0x52f69f[_0x5477f5(0x1d6)]&&!_0x5c05bc['headers']['authorization']&&(_0x5c05bc[_0x5477f5(0x244)][_0x5477f5(0x194)]=_0x5477f5(0x267)+Buffer['from'](_0x52f69f[_0x5477f5(0x1d6)])[_0x5477f5(0x176)](_0x5477f5(0x2d2))),_0x2ad9f6=_0x3a1404[_0x5477f5(0x1fd)]=_0x1e3e86(_0x52f69f),_0x3a1404[_0x5477f5(0x1f1)]&&_0x3a1404['emit'](_0x5477f5(0x159),_0x3a1404[_0x5477f5(0x1c9)],_0x2ad9f6);}else _0x2ad9f6=_0x3a1404['_req']=_0x1e3e86(_0x52f69f);_0x52f69f[_0x5477f5(0x276)]&&_0x2ad9f6['on'](_0x5477f5(0x276),()=>{_0x3cd53b(_0x3a1404,_0x2ad9f6,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x2ad9f6['on'](_0x5477f5(0x1db),_0x229d51=>{const _0x3b9b03=_0x5477f5;_0x2ad9f6===null||_0x2ad9f6[_0x322bfe]||(_0x2ad9f6=_0x3a1404[_0x3b9b03(0x1fd)]=null,_0x4fe7df(_0x3a1404,_0x229d51));}),_0x2ad9f6['on']('response',_0x365d69=>{const _0x3177a7=_0x5477f5,_0x11cc91=_0x365d69[_0x3177a7(0x244)][_0x3177a7(0x1bc)],_0x40d413=_0x365d69[_0x3177a7(0x175)];if(_0x11cc91&&_0x52f69f[_0x3177a7(0x186)]&&_0x40d413>=0x12c&&_0x40d413<0x190){if(++_0x3a1404[_0x3177a7(0x1f1)]>_0x52f69f[_0x3177a7(0x2a9)]){_0x3cd53b(_0x3a1404,_0x2ad9f6,_0x3177a7(0x1a6));return;}_0x2ad9f6[_0x3177a7(0x23b)]();let _0x54727e;try{_0x54727e=new _0x8851cb(_0x11cc91,_0x432a97);}catch{const _0x5790ef=new SyntaxError(_0x3177a7(0x2b9)+_0x11cc91);_0x4fe7df(_0x3a1404,_0x5790ef);return;}_0x514479(_0x3a1404,_0x54727e,_0x12fe6e,_0x5c05bc);}else _0x3a1404[_0x3177a7(0x2b7)]('unexpected-response',_0x2ad9f6,_0x365d69)||_0x3cd53b(_0x3a1404,_0x2ad9f6,_0x3177a7(0x24c)+_0x365d69[_0x3177a7(0x175)]);}),_0x2ad9f6['on'](_0x5477f5(0x250),(_0x2c4982,_0x5727f1,_0xb59b)=>{const _0x303088=_0x5477f5;if(_0x3a1404[_0x303088(0x2b7)](_0x303088(0x250),_0x2c4982),_0x3a1404[_0x303088(0x25b)]!==_0x3dec80[_0x303088(0x177)])return;_0x2ad9f6=_0x3a1404[_0x303088(0x1fd)]=null;const _0x1e9354=_0x2c4982[_0x303088(0x244)]['upgrade'];if(_0x1e9354===void 0x0||_0x1e9354[_0x303088(0x162)]()!=='websocket'){_0x3cd53b(_0x3a1404,_0x5727f1,_0x303088(0x1a7));return;}const _0x1e731b=_0x233e50('sha1')[_0x303088(0x248)](_0xd6f007+_0x226f46)[_0x303088(0x218)](_0x303088(0x2d2));if(_0x2c4982[_0x303088(0x244)][_0x303088(0x1e0)]!==_0x1e731b){_0x3cd53b(_0x3a1404,_0x5727f1,_0x303088(0x212));return;}const _0x2e4887=_0x2c4982[_0x303088(0x244)]['sec-websocket-protocol'];let _0x5ebef5;if(_0x2e4887!==void 0x0?_0x34879e[_0x303088(0x146)]?_0x34879e[_0x303088(0x220)](_0x2e4887)||(_0x5ebef5=_0x303088(0x18b)):_0x5ebef5='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0x34879e[_0x303088(0x146)]&&(_0x5ebef5=_0x303088(0x27c)),_0x5ebef5){_0x3cd53b(_0x3a1404,_0x5727f1,_0x5ebef5);return;}_0x2e4887&&(_0x3a1404[_0x303088(0x1f8)]=_0x2e4887);const _0x49c72f=_0x2c4982[_0x303088(0x244)][_0x303088(0x2be)];if(_0x49c72f!==void 0x0){if(!_0x2657b3){_0x3cd53b(_0x3a1404,_0x5727f1,_0x303088(0x2d3));return;}let _0x2eccf6;try{_0x2eccf6=_0x4dbbb3(_0x49c72f);}catch{_0x3cd53b(_0x3a1404,_0x5727f1,_0x303088(0x239));return;}const _0x2ae84a=Object[_0x303088(0x1cf)](_0x2eccf6);if(_0x2ae84a[_0x303088(0x188)]!==0x1||_0x2ae84a[0x0]!==_0x38f7da['extensionName']){_0x3cd53b(_0x3a1404,_0x5727f1,_0x303088(0x169));return;}try{_0x2657b3[_0x303088(0x228)](_0x2eccf6[_0x38f7da['extensionName']]);}catch{_0x3cd53b(_0x3a1404,_0x5727f1,_0x303088(0x239));return;}_0x3a1404[_0x303088(0x1f4)][_0x38f7da[_0x303088(0x208)]]=_0x2657b3;}_0x3a1404[_0x303088(0x265)](_0x5727f1,_0xb59b,{'allowSynchronousEvents':_0x52f69f[_0x303088(0x181)],'generateMask':_0x52f69f['generateMask'],'maxPayload':_0x52f69f[_0x303088(0x294)],'skipUTF8Validation':_0x52f69f[_0x303088(0x1d5)]});}),_0x52f69f[_0x5477f5(0x2c4)]?_0x52f69f[_0x5477f5(0x2c4)](_0x2ad9f6,_0x3a1404):_0x2ad9f6['end']();}function _0x4fe7df(_0x4008d8,_0x298902){const _0x16f3ec=_0x44eaba;_0x4008d8[_0x16f3ec(0x22f)]=_0x3dec80['CLOSING'],_0x4008d8[_0x16f3ec(0x1e1)]=!0x0,_0x4008d8[_0x16f3ec(0x2b7)](_0x16f3ec(0x1db),_0x298902),_0x4008d8[_0x16f3ec(0x205)]();}function _0x36af3c(_0x560c8a){const _0x2aa02b=_0x44eaba;return _0x560c8a[_0x2aa02b(0x2ca)]=_0x560c8a[_0x2aa02b(0x269)],_0x45cd99[_0x2aa02b(0x1b0)](_0x560c8a);}function _0x3bf9c9(_0x23e203){const _0x1ca52d=_0x44eaba;return _0x23e203[_0x1ca52d(0x2ca)]=void 0x0,!_0x23e203['servername']&&_0x23e203['servername']!==''&&(_0x23e203[_0x1ca52d(0x157)]=_0x45cd99['isIP'](_0x23e203[_0x1ca52d(0x213)])?'':_0x23e203['host']),_0x39e379['connect'](_0x23e203);}function _0x3cd53b(_0x50627b,_0xaa56b8,_0x23cd71){const _0x12de75=_0x44eaba;_0x50627b[_0x12de75(0x22f)]=_0x3dec80[_0x12de75(0x1dc)];const _0x33889f=new Error(_0x23cd71);Error[_0x12de75(0x19a)](_0x33889f,_0x3cd53b),_0xaa56b8[_0x12de75(0x2d0)]?(_0xaa56b8[_0x322bfe]=!0x0,_0xaa56b8[_0x12de75(0x23b)](),_0xaa56b8[_0x12de75(0x28e)]&&!_0xaa56b8[_0x12de75(0x28e)]['destroyed']&&_0xaa56b8[_0x12de75(0x28e)]['destroy'](),process[_0x12de75(0x2a1)](_0x4fe7df,_0x50627b,_0x33889f)):(_0xaa56b8[_0x12de75(0x1bf)](_0x33889f),_0xaa56b8['once'](_0x12de75(0x1db),_0x50627b[_0x12de75(0x2b7)][_0x12de75(0x1a4)](_0x50627b,_0x12de75(0x1db))),_0xaa56b8[_0x12de75(0x1ac)](_0x12de75(0x1fb),_0x50627b[_0x12de75(0x205)][_0x12de75(0x1a4)](_0x50627b)));}function _0x13a04f(_0x55aead,_0x17dcb2,_0x2af68f){const _0x3f2d1b=_0x44eaba;if(_0x17dcb2){const _0x35c68b=_0x300dcc(_0x17dcb2)?_0x17dcb2[_0x3f2d1b(0x146)]:_0x3d366f(_0x17dcb2)[_0x3f2d1b(0x188)];_0x55aead[_0x3f2d1b(0x15b)]?_0x55aead[_0x3f2d1b(0x1d0)][_0x3f2d1b(0x2ab)]+=_0x35c68b:_0x55aead[_0x3f2d1b(0x243)]+=_0x35c68b;}if(_0x2af68f){const _0x272cab=new Error(_0x3f2d1b(0x21a)+_0x55aead[_0x3f2d1b(0x25b)]+'\x20('+_0x11c708[_0x55aead[_0x3f2d1b(0x25b)]]+')');process['nextTick'](_0x2af68f,_0x272cab);}}function _0x142665(_0x30d82e,_0x12c8a5){const _0x2a7d8a=_0x44eaba,_0x573621=this[_0x2b64cf];_0x573621[_0x2a7d8a(0x171)]=!0x0,_0x573621[_0x2a7d8a(0x1bd)]=_0x12c8a5,_0x573621[_0x2a7d8a(0x29e)]=_0x30d82e,_0x573621[_0x2a7d8a(0x15b)][_0x2b64cf]!==void 0x0&&(_0x573621[_0x2a7d8a(0x15b)][_0x2a7d8a(0x222)](_0x2a7d8a(0x2a4),_0x2022a5),process[_0x2a7d8a(0x2a1)](_0x415e4f,_0x573621[_0x2a7d8a(0x15b)]),_0x30d82e===0x3ed?_0x573621['close']():_0x573621['close'](_0x30d82e,_0x12c8a5));}function _0x5ed567(){const _0x30019b=_0x44eaba,_0xf47aec=this[_0x2b64cf];_0xf47aec[_0x30019b(0x1ba)]||_0xf47aec[_0x30019b(0x15b)][_0x30019b(0x2b8)]();}function _0x4d125b(_0x2475df){const _0x456583=_0x44eaba,_0x4ca946=this[_0x2b64cf];_0x4ca946[_0x456583(0x15b)][_0x2b64cf]!==void 0x0&&(_0x4ca946['_socket'][_0x456583(0x222)](_0x456583(0x2a4),_0x2022a5),process['nextTick'](_0x415e4f,_0x4ca946[_0x456583(0x15b)]),_0x4ca946[_0x456583(0x1fb)](_0x2475df[_0x3a0416])),_0x4ca946[_0x456583(0x1e1)]||(_0x4ca946[_0x456583(0x1e1)]=!0x0,_0x4ca946[_0x456583(0x2b7)]('error',_0x2475df));}function _0xbdcc4b(){const _0x4bb9f2=_0x44eaba;this[_0x2b64cf][_0x4bb9f2(0x205)]();}function _0x55190d(_0x2f633c,_0xbac9f){const _0x5db397=_0x44eaba;this[_0x2b64cf][_0x5db397(0x2b7)]('message',_0x2f633c,_0xbac9f);}function _0x12464f(_0xfa60c4){const _0x2487b3=_0x44eaba,_0x338a0b=this[_0x2b64cf];_0x338a0b[_0x2487b3(0x12a)]&&_0x338a0b[_0x2487b3(0x197)](_0xfa60c4,!this['_isServer'],_0x29d3f),_0x338a0b[_0x2487b3(0x2b7)](_0x2487b3(0x221),_0xfa60c4);}function _0x13d947(_0x4249ec){const _0x1e518d=_0x44eaba;this[_0x2b64cf][_0x1e518d(0x2b7)](_0x1e518d(0x197),_0x4249ec);}function _0x415e4f(_0x370a16){const _0x1fd153=_0x44eaba;_0x370a16[_0x1fd153(0x2b8)]();}function _0x25fdfa(_0x2fa492){const _0x12f92e=_0x44eaba,_0x20a812=this[_0x2b64cf];_0x20a812[_0x12f92e(0x25b)]!==_0x3dec80[_0x12f92e(0x131)]&&(_0x20a812['readyState']===_0x3dec80['OPEN']&&(_0x20a812[_0x12f92e(0x22f)]=_0x3dec80['CLOSING'],_0x2c2435(_0x20a812)),this['_socket'][_0x12f92e(0x182)](),_0x20a812[_0x12f92e(0x1e1)]||(_0x20a812['_errorEmitted']=!0x0,_0x20a812['emit'](_0x12f92e(0x1db),_0x2fa492)));}function _0x2c2435(_0x27f214){const _0x5731f5=_0x44eaba;_0x27f214[_0x5731f5(0x2cc)]=setTimeout(_0x27f214[_0x5731f5(0x15b)][_0x5731f5(0x1bf)]['bind'](_0x27f214['_socket']),_0x23e3e0);}function _0x1c83dc(){const _0x81e0c9=_0x44eaba,_0x282b8d=this[_0x2b64cf];this[_0x81e0c9(0x222)](_0x81e0c9(0x1fb),_0x1c83dc),this[_0x81e0c9(0x222)](_0x81e0c9(0x2a4),_0x2022a5),this[_0x81e0c9(0x222)]('end',_0x5666be),_0x282b8d['_readyState']=_0x3dec80[_0x81e0c9(0x1dc)];let _0x179e91;!this[_0x81e0c9(0x1ff)]['endEmitted']&&!_0x282b8d[_0x81e0c9(0x171)]&&!_0x282b8d[_0x81e0c9(0x295)][_0x81e0c9(0x26f)][_0x81e0c9(0x2b0)]&&(_0x179e91=_0x282b8d['_socket'][_0x81e0c9(0x236)]())!==null&&_0x282b8d[_0x81e0c9(0x295)][_0x81e0c9(0x13d)](_0x179e91),_0x282b8d['_receiver'][_0x81e0c9(0x182)](),this[_0x2b64cf]=void 0x0,clearTimeout(_0x282b8d[_0x81e0c9(0x2cc)]),_0x282b8d[_0x81e0c9(0x295)][_0x81e0c9(0x26f)][_0x81e0c9(0x18e)]||_0x282b8d[_0x81e0c9(0x295)][_0x81e0c9(0x26f)][_0x81e0c9(0x2b0)]?_0x282b8d['emitClose']():(_0x282b8d[_0x81e0c9(0x295)]['on'](_0x81e0c9(0x1db),_0xbdcc4b),_0x282b8d[_0x81e0c9(0x295)]['on'](_0x81e0c9(0x2b5),_0xbdcc4b));}function _0x2022a5(_0x4ae922){const _0x46d2a1=_0x44eaba;this[_0x2b64cf][_0x46d2a1(0x295)][_0x46d2a1(0x13d)](_0x4ae922)||this[_0x46d2a1(0x2aa)]();}function _0x5666be(){const _0x587616=_0x44eaba,_0x19e872=this[_0x2b64cf];_0x19e872['_readyState']=_0x3dec80[_0x587616(0x1dc)],_0x19e872['_receiver'][_0x587616(0x182)](),this['end']();}function _0x2f5ad7(){const _0x14f8aa=_0x44eaba,_0x2185a9=this[_0x2b64cf];this[_0x14f8aa(0x222)](_0x14f8aa(0x1db),_0x2f5ad7),this['on'](_0x14f8aa(0x1db),_0x29d3f),_0x2185a9&&(_0x2185a9[_0x14f8aa(0x22f)]=_0x3dec80[_0x14f8aa(0x1dc)],this['destroy']());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x4c29ee}=_0x3c241e;function _0x4c08e2(_0x3528cc){const _0x3b2f76=_0x3f5d;_0x3528cc[_0x3b2f76(0x2b7)](_0x3b2f76(0x1fb));}function _0x4a4498(){const _0x3518b2=_0x3f5d;!this[_0x3518b2(0x240)]&&this[_0x3518b2(0x26f)][_0x3518b2(0x18e)]&&this['destroy']();}function _0x1c6aa0(_0x4d8330){const _0x341baf=_0x3f5d;this[_0x341baf(0x222)](_0x341baf(0x1db),_0x1c6aa0),this[_0x341baf(0x1bf)](),this[_0x341baf(0x22d)]('error')===0x0&&this[_0x341baf(0x2b7)](_0x341baf(0x1db),_0x4d8330);}function _0x154d14(_0x30966d,_0x2a8d79){const _0x210e63=_0x3f5d;let _0x12f64d=!0x0;const _0x23bc84=new _0x4c29ee({..._0x2a8d79,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x30966d['on'](_0x210e63(0x22a),function(_0xdb3739,_0x17fa04){const _0x23e8b1=_0x210e63,_0x69bc1=!_0x17fa04&&_0x23bc84[_0x23e8b1(0x1ff)]['objectMode']?_0xdb3739['toString']():_0xdb3739;_0x23bc84[_0x23e8b1(0x1b6)](_0x69bc1)||_0x30966d[_0x23e8b1(0x2aa)]();}),_0x30966d['once'](_0x210e63(0x1db),function(_0x3a99f9){const _0x5402e3=_0x210e63;_0x23bc84['destroyed']||(_0x12f64d=!0x1,_0x23bc84[_0x5402e3(0x1bf)](_0x3a99f9));}),_0x30966d[_0x210e63(0x1ac)](_0x210e63(0x1fb),function(){const _0x2370e0=_0x210e63;_0x23bc84['destroyed']||_0x23bc84[_0x2370e0(0x1b6)](null);}),_0x23bc84[_0x210e63(0x1d1)]=function(_0x371d70,_0x8853e8){const _0x18aee9=_0x210e63;if(_0x30966d['readyState']===_0x30966d[_0x18aee9(0x131)]){_0x8853e8(_0x371d70),process[_0x18aee9(0x2a1)](_0x4c08e2,_0x23bc84);return;}let _0x46483b=!0x1;_0x30966d[_0x18aee9(0x1ac)](_0x18aee9(0x1db),function(_0x1f3072){_0x46483b=!0x0,_0x8853e8(_0x1f3072);}),_0x30966d[_0x18aee9(0x1ac)](_0x18aee9(0x1fb),function(){const _0x1178aa=_0x18aee9;_0x46483b||_0x8853e8(_0x371d70),process[_0x1178aa(0x2a1)](_0x4c08e2,_0x23bc84);}),_0x12f64d&&_0x30966d[_0x18aee9(0x28f)]();},_0x23bc84[_0x210e63(0x266)]=function(_0x3b24bc){const _0x21fae5=_0x210e63;if(_0x30966d[_0x21fae5(0x25b)]===_0x30966d['CONNECTING']){_0x30966d[_0x21fae5(0x1ac)](_0x21fae5(0x1e5),function(){const _0x3f8f8f=_0x21fae5;_0x23bc84[_0x3f8f8f(0x266)](_0x3b24bc);});return;}_0x30966d[_0x21fae5(0x15b)]!==null&&(_0x30966d[_0x21fae5(0x15b)][_0x21fae5(0x26f)][_0x21fae5(0x18e)]?(_0x3b24bc(),_0x23bc84[_0x21fae5(0x1ff)][_0x21fae5(0x1d2)]&&_0x23bc84['destroy']()):(_0x30966d[_0x21fae5(0x15b)][_0x21fae5(0x1ac)]('finish',function(){_0x3b24bc();}),_0x30966d[_0x21fae5(0x1fb)]()));},_0x23bc84[_0x210e63(0x2c2)]=function(){const _0x3a9fc8=_0x210e63;_0x30966d[_0x3a9fc8(0x1ba)]&&_0x30966d[_0x3a9fc8(0x2b8)]();},_0x23bc84[_0x210e63(0x1a2)]=function(_0x1a1d36,_0x43ebf0,_0x36be59){const _0x38eaeb=_0x210e63;if(_0x30966d['readyState']===_0x30966d[_0x38eaeb(0x177)]){_0x30966d[_0x38eaeb(0x1ac)]('open',function(){const _0x15b587=_0x38eaeb;_0x23bc84[_0x15b587(0x1a2)](_0x1a1d36,_0x43ebf0,_0x36be59);});return;}_0x30966d[_0x38eaeb(0x231)](_0x1a1d36,_0x36be59);},_0x23bc84['on'](_0x210e63(0x182),_0x4a4498),_0x23bc84['on'](_0x210e63(0x1db),_0x1c6aa0),_0x23bc84;}return Oe=_0x154d14,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=jt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x2b3d4e}=ne();function _0x4fe906(_0x33a84d){const _0x32d160=_0x3f5d,_0x37d348=new Set();let _0x304091=-0x1,_0x53ce93=-0x1,_0x157463=0x0;for(_0x157463;_0x157463<_0x33a84d['length'];_0x157463++){const _0xdc904a=_0x33a84d[_0x32d160(0x1af)](_0x157463);if(_0x53ce93===-0x1&&_0x2b3d4e[_0xdc904a]===0x1)_0x304091===-0x1&&(_0x304091=_0x157463);else{if(_0x157463!==0x0&&(_0xdc904a===0x20||_0xdc904a===0x9))_0x53ce93===-0x1&&_0x304091!==-0x1&&(_0x53ce93=_0x157463);else{if(_0xdc904a===0x2c){if(_0x304091===-0x1)throw new SyntaxError(_0x32d160(0x216)+_0x157463);_0x53ce93===-0x1&&(_0x53ce93=_0x157463);const _0xe4b7d1=_0x33a84d[_0x32d160(0x23f)](_0x304091,_0x53ce93);if(_0x37d348[_0x32d160(0x220)](_0xe4b7d1))throw new SyntaxError('The\x20\x22'+_0xe4b7d1+_0x32d160(0x1e3));_0x37d348[_0x32d160(0x272)](_0xe4b7d1),_0x304091=_0x53ce93=-0x1;}else throw new SyntaxError(_0x32d160(0x216)+_0x157463);}}}if(_0x304091===-0x1||_0x53ce93!==-0x1)throw new SyntaxError('Unexpected\x20end\x20of\x20input');const _0x4d6a3f=_0x33a84d[_0x32d160(0x23f)](_0x304091,_0x157463);if(_0x37d348[_0x32d160(0x220)](_0x4d6a3f))throw new SyntaxError(_0x32d160(0x262)+_0x4d6a3f+_0x32d160(0x1e3));return _0x37d348[_0x32d160(0x272)](_0x4d6a3f),_0x37d348;}return Ce={'parse':_0x4fe906},Ce;}var Te,ot;function er(){const _0x1362f0=_0x1045d1;if(ot)return Te;ot=0x1;const _0x145ea2=_0x18caa4,_0xdfe99b=_0x3a2f25,{Duplex:_0x3d2f9e}=_0x3c241e,{createHash:_0x3a50d6}=_0x34f9da,_0xcd84e0=pt(),_0x1c53d0=he(),_0xa93772=Jt(),_0x5e4be1=Ie(),{GUID:_0x50178a,kWebSocket:_0x3e06b}=V(),_0x1f3c49=/^[+/0-9A-Za-z]{22}==$/,_0xd7344f=0x0,_0x5e3a6e=0x1,_0x191506=0x2;class _0x9377c1 extends _0x145ea2{constructor(_0x461561,_0x3b9963){const _0x58983e=_0x3f5d;if(super(),_0x461561={'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':_0x5e4be1,..._0x461561},_0x461561[_0x58983e(0x1d8)]==null&&!_0x461561[_0x58983e(0x14f)]&&!_0x461561['noServer']||_0x461561[_0x58983e(0x1d8)]!=null&&(_0x461561['server']||_0x461561[_0x58983e(0x28a)])||_0x461561['server']&&_0x461561[_0x58983e(0x28a)])throw new TypeError(_0x58983e(0x1bb));if(_0x461561['port']!=null?(this[_0x58983e(0x17c)]=_0xdfe99b[_0x58983e(0x1f9)]((_0x15a889,_0x56d559)=>{const _0x155979=_0x58983e,_0x5594b2=_0xdfe99b[_0x155979(0x238)][0x1aa];_0x56d559['writeHead'](0x1aa,{'Content-Length':_0x5594b2[_0x155979(0x188)],'Content-Type':'text/plain'}),_0x56d559[_0x155979(0x182)](_0x5594b2);}),this[_0x58983e(0x17c)][_0x58983e(0x195)](_0x461561[_0x58983e(0x1d8)],_0x461561[_0x58983e(0x213)],_0x461561[_0x58983e(0x21e)],_0x3b9963)):_0x461561['server']&&(this[_0x58983e(0x17c)]=_0x461561[_0x58983e(0x14f)]),this[_0x58983e(0x17c)]){const _0x34b78b=this[_0x58983e(0x2b7)][_0x58983e(0x1a4)](this,'connection');this[_0x58983e(0x1fc)]=_0x462eaa(this['_server'],{'listening':this[_0x58983e(0x2b7)]['bind'](this,_0x58983e(0x160)),'error':this['emit'][_0x58983e(0x1a4)](this,'error'),'upgrade':(_0x41dc6f,_0x2e8f00,_0x12c8ef)=>{this['handleUpgrade'](_0x41dc6f,_0x2e8f00,_0x12c8ef,_0x34b78b);}});}_0x461561['perMessageDeflate']===!0x0&&(_0x461561['perMessageDeflate']={}),_0x461561[_0x58983e(0x1dd)]&&(this[_0x58983e(0x199)]=new Set(),this[_0x58983e(0x141)]=!0x1),this[_0x58983e(0x256)]=_0x461561,this['_state']=_0xd7344f;}[_0x1362f0(0x226)](){const _0x5186c3=_0x1362f0;if(this[_0x5186c3(0x256)]['noServer'])throw new Error(_0x5186c3(0x180));return this[_0x5186c3(0x17c)]?this[_0x5186c3(0x17c)][_0x5186c3(0x226)]():null;}[_0x1362f0(0x1fb)](_0x474ee8){const _0x1473a2=_0x1362f0;if(this[_0x1473a2(0x1b1)]===_0x191506){_0x474ee8&&this[_0x1473a2(0x1ac)]('close',()=>{const _0x24cb0d=_0x1473a2;_0x474ee8(new Error(_0x24cb0d(0x140)));}),process[_0x1473a2(0x2a1)](_0x449fb6,this);return;}if(_0x474ee8&&this[_0x1473a2(0x1ac)](_0x1473a2(0x1fb),_0x474ee8),this[_0x1473a2(0x1b1)]!==_0x5e3a6e){if(this[_0x1473a2(0x1b1)]=_0x5e3a6e,this['options'][_0x1473a2(0x28a)]||this[_0x1473a2(0x256)][_0x1473a2(0x14f)])this[_0x1473a2(0x17c)]&&(this['_removeListeners'](),this[_0x1473a2(0x1fc)]=this['_server']=null),this[_0x1473a2(0x199)]?this[_0x1473a2(0x199)][_0x1473a2(0x146)]?this[_0x1473a2(0x141)]=!0x0:process['nextTick'](_0x449fb6,this):process[_0x1473a2(0x2a1)](_0x449fb6,this);else{const _0x3cb7ee=this[_0x1473a2(0x17c)];this['_removeListeners'](),this[_0x1473a2(0x1fc)]=this[_0x1473a2(0x17c)]=null,_0x3cb7ee['close'](()=>{_0x449fb6(this);});}}}[_0x1362f0(0x217)](_0x4985f7){const _0x454ebd=_0x1362f0;if(this[_0x454ebd(0x256)][_0x454ebd(0x2ca)]){const _0x1cc52a=_0x4985f7[_0x454ebd(0x1c9)][_0x454ebd(0x2a3)]('?');if((_0x1cc52a!==-0x1?_0x4985f7[_0x454ebd(0x1c9)][_0x454ebd(0x23f)](0x0,_0x1cc52a):_0x4985f7['url'])!==this[_0x454ebd(0x256)][_0x454ebd(0x2ca)])return!0x1;}return!0x0;}[_0x1362f0(0x229)](_0x4958e7,_0x383567,_0x1f44ad,_0x202781){const _0x54c2ac=_0x1362f0;_0x383567['on']('error',_0x45b787);const _0x6d960a=_0x4958e7[_0x54c2ac(0x244)][_0x54c2ac(0x20c)],_0x5aa0b2=_0x4958e7[_0x54c2ac(0x244)][_0x54c2ac(0x250)],_0x30f5e7=+_0x4958e7[_0x54c2ac(0x244)][_0x54c2ac(0x168)];if(_0x4958e7[_0x54c2ac(0x20d)]!==_0x54c2ac(0x26e)){_0x45b212(this,_0x4958e7,_0x383567,0x195,_0x54c2ac(0x283));return;}if(_0x5aa0b2===void 0x0||_0x5aa0b2[_0x54c2ac(0x162)]()!==_0x54c2ac(0x170)){_0x45b212(this,_0x4958e7,_0x383567,0x190,_0x54c2ac(0x1a7));return;}if(_0x6d960a===void 0x0||!_0x1f3c49['test'](_0x6d960a)){_0x45b212(this,_0x4958e7,_0x383567,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header');return;}if(_0x30f5e7!==0x8&&_0x30f5e7!==0xd){_0x45b212(this,_0x4958e7,_0x383567,0x190,_0x54c2ac(0x2bd));return;}if(!this[_0x54c2ac(0x217)](_0x4958e7)){_0x4b35ff(_0x383567,0x190);return;}const _0x178b91=_0x4958e7[_0x54c2ac(0x244)][_0x54c2ac(0x2c1)];let _0x48c8eb=new Set();if(_0x178b91!==void 0x0)try{_0x48c8eb=_0xa93772['parse'](_0x178b91);}catch{_0x45b212(this,_0x4958e7,_0x383567,0x190,_0x54c2ac(0x24e));return;}const _0x103f12=_0x4958e7['headers'][_0x54c2ac(0x2be)],_0x49aa53={};if(this[_0x54c2ac(0x256)][_0x54c2ac(0x1ef)]&&_0x103f12!==void 0x0){const _0x5e7235=new _0x1c53d0(this[_0x54c2ac(0x256)][_0x54c2ac(0x1ef)],!0x0,this['options'][_0x54c2ac(0x294)]);try{const _0x26367a=_0xcd84e0[_0x54c2ac(0x27d)](_0x103f12);_0x26367a[_0x1c53d0['extensionName']]&&(_0x5e7235[_0x54c2ac(0x228)](_0x26367a[_0x1c53d0['extensionName']]),_0x49aa53[_0x1c53d0['extensionName']]=_0x5e7235);}catch{_0x45b212(this,_0x4958e7,_0x383567,0x190,'Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header');return;}}if(this[_0x54c2ac(0x256)][_0x54c2ac(0x28b)]){const _0x2a432c={'origin':_0x4958e7[_0x54c2ac(0x244)][''+(_0x30f5e7===0x8?'sec-websocket-origin':'origin')],'secure':!!(_0x4958e7[_0x54c2ac(0x28e)][_0x54c2ac(0x13c)]||_0x4958e7[_0x54c2ac(0x28e)][_0x54c2ac(0x165)]),'req':_0x4958e7};if(this[_0x54c2ac(0x256)][_0x54c2ac(0x28b)][_0x54c2ac(0x188)]===0x2){this[_0x54c2ac(0x256)][_0x54c2ac(0x28b)](_0x2a432c,(_0x146f50,_0x1f701c,_0x3fecf2,_0x3e0188)=>{const _0x2e3b15=_0x54c2ac;if(!_0x146f50)return _0x4b35ff(_0x383567,_0x1f701c||0x191,_0x3fecf2,_0x3e0188);this[_0x2e3b15(0x26b)](_0x49aa53,_0x6d960a,_0x48c8eb,_0x4958e7,_0x383567,_0x1f44ad,_0x202781);});return;}if(!this[_0x54c2ac(0x256)][_0x54c2ac(0x28b)](_0x2a432c))return _0x4b35ff(_0x383567,0x191);}this['completeUpgrade'](_0x49aa53,_0x6d960a,_0x48c8eb,_0x4958e7,_0x383567,_0x1f44ad,_0x202781);}[_0x1362f0(0x26b)](_0x1bbac7,_0x2e0752,_0x364e90,_0x3a2195,_0x3c1a1f,_0x55e648,_0x2f3679){const _0x320cd4=_0x1362f0;if(!_0x3c1a1f[_0x320cd4(0x19d)]||!_0x3c1a1f['writable'])return _0x3c1a1f['destroy']();if(_0x3c1a1f[_0x3e06b])throw new Error(_0x320cd4(0x279));if(this[_0x320cd4(0x1b1)]>_0xd7344f)return _0x4b35ff(_0x3c1a1f,0x1f7);const _0x3e6a27=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0x320cd4(0x232),_0x320cd4(0x237),_0x320cd4(0x1ed)+_0x3a50d6('sha1')[_0x320cd4(0x248)](_0x2e0752+_0x50178a)[_0x320cd4(0x218)](_0x320cd4(0x2d2))],_0x418613=new this[(_0x320cd4(0x256))][(_0x320cd4(0x2a6))](null,void 0x0,this[_0x320cd4(0x256)]);if(_0x364e90[_0x320cd4(0x146)]){const _0x3748e4=this[_0x320cd4(0x256)][_0x320cd4(0x1ab)]?this[_0x320cd4(0x256)][_0x320cd4(0x1ab)](_0x364e90,_0x3a2195):_0x364e90[_0x320cd4(0x22c)]()[_0x320cd4(0x2c3)]()['value'];_0x3748e4&&(_0x3e6a27[_0x320cd4(0x1b6)](_0x320cd4(0x1f3)+_0x3748e4),_0x418613[_0x320cd4(0x1f8)]=_0x3748e4);}if(_0x1bbac7[_0x1c53d0[_0x320cd4(0x208)]]){const _0x2b41ac=_0x1bbac7[_0x1c53d0[_0x320cd4(0x208)]]['params'],_0x2438b4=_0xcd84e0[_0x320cd4(0x1c1)]({[_0x1c53d0['extensionName']]:[_0x2b41ac]});_0x3e6a27[_0x320cd4(0x1b6)](_0x320cd4(0x293)+_0x2438b4),_0x418613[_0x320cd4(0x1f4)]=_0x1bbac7;}this['emit'](_0x320cd4(0x244),_0x3e6a27,_0x3a2195),_0x3c1a1f['write'](_0x3e6a27[_0x320cd4(0x13a)]('\x0d\x0a')[_0x320cd4(0x1b8)]('\x0d\x0a')),_0x3c1a1f[_0x320cd4(0x222)](_0x320cd4(0x1db),_0x45b787),_0x418613[_0x320cd4(0x265)](_0x3c1a1f,_0x55e648,{'allowSynchronousEvents':this[_0x320cd4(0x256)][_0x320cd4(0x181)],'maxPayload':this[_0x320cd4(0x256)]['maxPayload'],'skipUTF8Validation':this['options'][_0x320cd4(0x1d5)]}),this['clients']&&(this[_0x320cd4(0x199)][_0x320cd4(0x272)](_0x418613),_0x418613['on'](_0x320cd4(0x1fb),()=>{const _0x36e907=_0x320cd4;this[_0x36e907(0x199)]['delete'](_0x418613),this[_0x36e907(0x141)]&&!this[_0x36e907(0x199)][_0x36e907(0x146)]&&process['nextTick'](_0x449fb6,this);})),_0x2f3679(_0x418613,_0x3a2195);}}Te=_0x9377c1;function _0x462eaa(_0x2b7932,_0x39aa70){const _0x5d2605=_0x1362f0;for(const _0x17280c of Object[_0x5d2605(0x1cf)](_0x39aa70))_0x2b7932['on'](_0x17280c,_0x39aa70[_0x17280c]);return function(){const _0x4bc471=_0x5d2605;for(const _0x5bd1cb of Object['keys'](_0x39aa70))_0x2b7932[_0x4bc471(0x222)](_0x5bd1cb,_0x39aa70[_0x5bd1cb]);};}function _0x449fb6(_0x59c155){const _0x30b073=_0x1362f0;_0x59c155[_0x30b073(0x1b1)]=_0x191506,_0x59c155['emit'](_0x30b073(0x1fb));}function _0x45b787(){const _0x2198d7=_0x1362f0;this[_0x2198d7(0x1bf)]();}function _0x4b35ff(_0x2fc0d3,_0x42d719,_0x28c6ad,_0x248a4c){const _0x73cfa2=_0x1362f0;_0x28c6ad=_0x28c6ad||_0xdfe99b[_0x73cfa2(0x238)][_0x42d719],_0x248a4c={'Connection':_0x73cfa2(0x1fb),'Content-Type':_0x73cfa2(0x23c),'Content-Length':Buffer[_0x73cfa2(0x129)](_0x28c6ad),..._0x248a4c},_0x2fc0d3[_0x73cfa2(0x1ac)]('finish',_0x2fc0d3[_0x73cfa2(0x1bf)]),_0x2fc0d3[_0x73cfa2(0x182)](_0x73cfa2(0x1c4)+_0x42d719+'\x20'+_0xdfe99b['STATUS_CODES'][_0x42d719]+'\x0d\x0a'+Object[_0x73cfa2(0x1cf)](_0x248a4c)['map'](_0xa89cc1=>_0xa89cc1+':\x20'+_0x248a4c[_0xa89cc1])['join']('\x0d\x0a')+_0x73cfa2(0x27e)+_0x28c6ad);}function _0x45b212(_0x42b713,_0x378395,_0x353b7d,_0x1527b2,_0x4b5425){const _0x24a8e5=_0x1362f0;if(_0x42b713[_0x24a8e5(0x22d)]('wsClientError')){const _0x3bb561=new Error(_0x4b5425);Error[_0x24a8e5(0x19a)](_0x3bb561,_0x45b212),_0x42b713[_0x24a8e5(0x2b7)]('wsClientError',_0x3bb561,_0x353b7d,_0x378395);}else _0x4b35ff(_0x353b7d,_0x1527b2,_0x4b5425);}return Te;}er();var tr=Object[_0x1045d1(0x233)],rr=(_0x1a29b6,_0x457451,_0x408cd4,_0x186551)=>{const _0x55f9de=_0x1045d1;for(var _0x3d7494=_0x186551>0x1?void 0x0:_0x186551?tr(_0x457451,_0x408cd4):_0x457451,_0x23ac6e=_0x1a29b6[_0x55f9de(0x188)]-0x1,_0x4249c4;_0x23ac6e>=0x0;_0x23ac6e--)(_0x4249c4=_0x1a29b6[_0x23ac6e])&&(_0x3d7494=_0x4249c4(_0x3d7494)||_0x3d7494);return _0x3d7494;},sr=(_0x3dc758,_0x326496)=>(_0x2b37ab,_0x4636e7)=>_0x326496(_0x2b37ab,_0x4636e7,_0x3dc758);let Ne=class extends _0x8a0f6d{constructor(_0x413011){const _0x303be1=_0x1045d1;super(),this[_0x303be1(0x144)]=_0x413011;}[_0x1045d1(0x1c5)](_0x5c1a34){const _0x481bff=_0x1045d1;var _0x13554f;const _0x2ea0f0=(_0x13554f=this['_configService']['getConfig'](Be))==null?void 0x0:_0x13554f['customHeaders'];try{const _0x105ea6=new Qt(_0x5c1a34,{'headers':{..._0x2ea0f0}}),_0x3c7885=new _0x196959();return{'URL':_0x5c1a34,'close':(_0x366032,_0x300081)=>{const _0xeefa7c=_0x3f5d;_0x105ea6[_0xeefa7c(0x1fb)](_0x366032,_0x300081),_0x3c7885[_0xeefa7c(0x299)]();},'send':_0x37f4cf=>{_0x105ea6['send'](_0x37f4cf);},'open$':new _0x2d7300(_0x5ed10a=>{const _0x3b8f28=_0x3f5d,_0x316421=_0x13cc8d=>_0x5ed10a['next'](_0x13cc8d);_0x105ea6['addEventListener'](_0x3b8f28(0x1e5),_0x316421),_0x3c7885['add'](_0x3a61b7(()=>_0x105ea6[_0x3b8f28(0x15a)](_0x3b8f28(0x1e5),_0x316421)));})['pipe'](_0x3c9e76()),'close$':new _0x2d7300(_0x4392ec=>{const _0x38cfb2=_0x3f5d,_0x2a3043=_0x2b8e4b=>_0x4392ec[_0x38cfb2(0x2c3)](_0x2b8e4b);_0x105ea6[_0x38cfb2(0x19b)](_0x38cfb2(0x1fb),_0x2a3043),_0x3c7885[_0x38cfb2(0x272)](_0x3a61b7(()=>_0x105ea6[_0x38cfb2(0x15a)](_0x38cfb2(0x1fb),_0x2a3043)));})[_0x481bff(0x18a)](_0x3c9e76()),'error$':new _0x2d7300(_0x373f64=>{const _0xe3e4ac=_0x481bff,_0x1ae5cc=_0x36099e=>_0x373f64['next'](_0x36099e);_0x105ea6[_0xe3e4ac(0x19b)]('error',_0x1ae5cc),_0x3c7885['add'](_0x3a61b7(()=>_0x105ea6[_0xe3e4ac(0x15a)](_0xe3e4ac(0x1db),_0x1ae5cc)));})[_0x481bff(0x18a)](_0x3c9e76()),'message$':new _0x2d7300(_0x5020ba=>{const _0x413167=_0x481bff,_0x465f02=_0x5631d7=>_0x5020ba[_0x413167(0x2c3)](_0x5631d7);_0x105ea6[_0x413167(0x19b)](_0x413167(0x22a),_0x465f02),_0x3c7885[_0x413167(0x272)](_0x3a61b7(()=>_0x105ea6[_0x413167(0x15a)](_0x413167(0x22a),_0x465f02)));})['pipe'](_0x3c9e76())};}catch(_0x508020){return console[_0x481bff(0x1db)](_0x508020),null;}}};Ne=rr([sr(0x0,_0x5d86d3)],Ne);var ir=Object[_0x1045d1(0x167)],nr=Object[_0x1045d1(0x233)],or=(_0x398234,_0x4b26cf,_0x40905f)=>_0x4b26cf in _0x398234?ir(_0x398234,_0x4b26cf,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x40905f}):_0x398234[_0x4b26cf]=_0x40905f,ar=(_0x2c3a08,_0x14aba6,_0x791861,_0x5675f1)=>{const _0x1e8396=_0x1045d1;for(var _0x1cd824=_0x5675f1>0x1?void 0x0:_0x5675f1?nr(_0x14aba6,_0x791861):_0x14aba6,_0x146beb=_0x2c3a08[_0x1e8396(0x188)]-0x1,_0x58e7de;_0x146beb>=0x0;_0x146beb--)(_0x58e7de=_0x2c3a08[_0x146beb])&&(_0x1cd824=_0x58e7de(_0x1cd824)||_0x1cd824);return _0x1cd824;},ke=(_0x22d1bd,_0x2fec6b)=>(_0x12700d,_0x5c46eb)=>_0x2fec6b(_0x12700d,_0x5c46eb,_0x22d1bd),lr=(_0x15df03,_0xe8f66e,_0x1d3824)=>or(_0x15df03,_0xe8f66e+'',_0x1d3824);let Pe=class extends _0x153801{constructor(_0x4b9222=Ft,_0x1c0d2e,_0x4d3312,_0x56d963){const _0x225e7b=_0x1045d1;_0x4b9222[_0x225e7b(0x2c0)]||_0x1c0d2e[_0x225e7b(0x1a0)]('[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.'),super(),this['_configService']=_0x4d3312,this[_0x225e7b(0x19c)]=_0x56d963,this[_0x225e7b(0x144)][_0x225e7b(0x2bf)](Be,_0x4b9222);}[_0x1045d1(0x189)](){const _0x2b2a55=_0x1045d1;this[_0x2b2a55(0x126)]();}['_registerDependencies'](){const _0x5bb249=_0x1045d1;_0x72142b(this[_0x5bb249(0x19c)],[[_0x9a6838,{'useClass':Ne}]]);}};lr(Pe,'pluginName',_0x1045d1(0x25a)),Pe=ar([_0x556173(_0x411193),ke(0x1,_0x47bbed),ke(0x2,_0x5d86d3),ke(0x3,_0x55b773(_0x5433c8))],Pe);var fr=Object[_0x1045d1(0x233)],cr=(_0x405bcf,_0x5413c9,_0x194932,_0xd78c50)=>{const _0x5bca8a=_0x1045d1;for(var _0x17806f=_0xd78c50>0x1?void 0x0:_0xd78c50?fr(_0x5413c9,_0x194932):_0x5413c9,_0x61dea=_0x405bcf[_0x5bca8a(0x188)]-0x1,_0x255a62;_0x61dea>=0x0;_0x61dea--)(_0x255a62=_0x405bcf[_0x61dea])&&(_0x17806f=_0x255a62(_0x17806f)||_0x17806f);return _0x17806f;},se=(_0x82d63e,_0xa666fe)=>(_0x53a6b9,_0x1b02f4)=>_0xa666fe(_0x53a6b9,_0x1b02f4,_0x82d63e);let at=class extends _0x33abdd{constructor(_0x1fb212,_0x32fda6,_0x309eef,_0xbb54b5,_0x21c2f7){const _0x3b8dde=_0x1045d1;super(_0x1fb212,_0x32fda6,_0x309eef,_0xbb54b5,_0x21c2f7);const _0x10bcb6=this[_0x3b8dde(0x144)][_0x3b8dde(0x191)](Be);this[_0x3b8dde(0x1e6)]['registerHTTPInterceptor']({'interceptor':(_0x10f18a,_0x2593a5)=>{const _0x6a6d8a=_0x3b8dde;var _0x24e966;const _0xa1c1c=_0x10f18a['headers'];return(_0x24e966=_0x10bcb6==null?void 0x0:_0x10bcb6['customHeaders'])!=null&&_0x24e966[_0x6a6d8a(0x13e)]&&_0xa1c1c['set'](_0x6a6d8a(0x1be),_0x10bcb6[_0x6a6d8a(0x2c0)][_0x6a6d8a(0x13e)]),_0x2593a5(_0x10f18a);}});}async['createSocket'](_0x50b835){return this['_doCreateSocket'](_0x50b835);}};function _0x50ae(){const _0x13b1c4=['wss:','_readyState','number','send','Upgrade:\x20websocket','getOwnPropertyDescriptor','protocolVersion','mask','read','Connection:\x20Upgrade','STATUS_CODES','Invalid\x20Sec-WebSocket-Extensions\x20header','_queue','abort','text/html','isServer','unshift','slice','destroyed','createError','18515RUjxeZ','_bufferedAmount','headers','_maxPayload','consume','WS_ERR_EXPECTED_FIN','update','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','_isServer','744069QbtYWv','Unexpected\x20server\x20response:\x20','_no_context_takeover','Invalid\x20Sec-WebSocket-Protocol\x20header','dispatch','upgrade','test','clientNoContextTakeover','18bGJGbt','getBlobData','WS_ERR_INVALID_OPCODE','options','threshold','buffer','fragments','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','readyState','params','_threshold','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','enqueue','apply','prototype','The\x20\x22','username','find','setSocket','_final','Basic\x20','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','socketPath','kMessage','completeUpgrade','zlibDeflateOptions','hasOwnProperty','GET','_writableState','function','cork','add','286916TllRaT','hash','concurrency','timeout','pathname','defaultPort','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','target','File','Server\x20sent\x20no\x20subprotocol','parse','\x0d\x0a\x0d\x0a','onerror','onmessage','OPEN','kListener','Invalid\x20HTTP\x20method','password','150559yJIYAN','zlibInflateOptions','object','freeze','_binaryType','noServer','verifyClient','_loop','_errored','socket','terminate','_closeFrameSent','WS_ERR_EXPECTED_MASK','\x22:\x20','Sec-WebSocket-Extensions:\x20','maxPayload','_receiver','replace','getData','kDone','dispose','onopen','Parameter\x20\x22','entries','Origin','_closeCode','haveLength','Unknown\x20parameter\x20\x22','nextTick','search','indexOf','data','isInteger','WebSocket','handshakeTimeout','kByteLength','maxRedirects','pause','_bufferedBytes','string','wasClean','handleEvent','needDrain','errorEmitted','forEach','serverNoContextTakeover','reason','_messageLength','finish','WS_ERR_UNEXPECTED_MASK','emit','resume','Invalid\x20URL:\x20','kAborted','kError','then','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','sec-websocket-extensions','setConfig','customHeaders','sec-websocket-protocol','_read','next','finishRequest','status-code','permessage-deflate','collaboration-client-node.config','toStringTag','Max\x20payload\x20size\x20exceeded','path','listeners','_closeTimer','_decompress','_generateMask','_fin','setHeader','_originalIpc','base64','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','_registerDependencies','WS_ERR_UNEXPECTED_RSV_1','RSV1\x20must\x20be\x20clear','byteLength','_autoPong','_masked','compress','getMask','WS_NO_UTF_8_VALIDATE','server_max_window_bits','href','CLOSED','byteOffset','_originalHostOrSocketPath','setNoDelay','acceptAsServer','blob','uncork','isView','http:','concat','kType','authorized','write','cookie','Upgrade','The\x20server\x20is\x20not\x20running','_shouldEmitClose','default','Z_SYNC_FLUSH','_configService','conclude','size','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','__esModule','cleanup','_paused','dequeue','clientMaxWindowBits','readUInt16BE','server','_allowSynchronousEvents','_fragments','dataMessage','type','_inflate','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','request','servername','Z_DEFAULT_WINDOWBITS','redirect','removeEventListener','_socket','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','rsv1','concurrencyLimit','exports','listening','offer','toLowerCase','create','stream','encrypted','from','defineProperty','sec-websocket-version','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','callback','_opcode','_payloadLength','isArray','binaryType','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','websocket','_closeFrameReceived','getPayloadLength16','_mask','305648IWJlRN','statusCode','toString','CONNECTING','controlMessage','The\x20URL\x20contains\x20a\x20fragment\x20identifier','_options','Sec-WebSocket-Origin','_server','serverMaxWindowBits','\x20(supported\x20versions:\x20','_url','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','allowSynchronousEvents','end','invalid\x20opcode\x200','writeUInt16BE','5039536qkHqac','followRedirects','code','length','onStarting','pipe','Server\x20sent\x20an\x20invalid\x20subprotocol','writeUIntBE','server_no_context_takeover','finished','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','MASK\x20must\x20be\x20clear','getConfig','generateMask','pow','authorization','listen','decompress','pong','opcode','clients','captureStackTrace','addEventListener','_injector','readable','client','getPayloadLength64','warn','getInfo','_write','acceptAsClient','bind','setTimeout','Maximum\x20redirects\x20exceeded','Invalid\x20Upgrade\x20header','Invalid\x20WebSocket\x20frame:\x20','_compress','_buffers','handleProtocols','once','Invalid\x20value\x20for\x20parameter\x20\x22','jobs','charCodeAt','connect','_state','_firstFragment','protocol','startsWith','invalid\x20opcode\x20','push','arrayBuffer','join','construct','isPaused','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','location','_closeMessage','Cookie','destroy','startLoop','format','readUInt32BE','set','HTTP/1.1\x20','createSocket','nodebuffer','allocUnsafe','createDeflateRaw','url','_maskBuffer','pending','fin','binary','reset','keys','_sender','_destroy','endEmitted','isValidUTF8','createConnection','skipUTF8Validation','auth','WS_ERR_UNEXPECTED_RSV_2_3','port','_fragmented','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','error','CLOSING','clientTracking','readOnly','buffers','sec-websocket-accept','_errorEmitted','autoPong','\x22\x20subprotocol\x20is\x20duplicated','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','open','_httpService','kCode','client_max_window_bits','species','arraybuffer','_deflate','_originalSecure','Sec-WebSocket-Accept:\x20','shift','perMessageDeflate','alloc','_redirects','_totalPayloadLength','Sec-WebSocket-Protocol:\x20','_extensions','hostname','kIsForOnEventAttribute','origin','_protocol','createServer','client_no_context_takeover','close','_removeListeners','_req','_skipUTF8Validation','_readableState','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','kData','275764NWfzfB','WS_ERR_INVALID_UTF8','onclose','emitClose','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','ws:','extensionName','Sec-WebSocket-Protocol','env','Module','sec-websocket-key','method','normalizeParams','sendFrame','map','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','Invalid\x20Sec-WebSocket-Accept\x20header','host','unmask','_compressed','Unexpected\x20character\x20at\x20index\x20','shouldHandle','digest','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','WebSocket\x20is\x20not\x20open:\x20readyState\x20','frame','Unsupported\x20protocol\x20version:\x20','call','backlog','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','has','ping','removeListener','kWasClean','Unexpected\x20end\x20of\x20input','drain','address','kTarget','accept','handleUpgrade','message','invalid\x20payload\x20length\x20','values','listenerCount'];_0x50ae=function(){return _0x13b1c4;};return _0x50ae();}at=cr([se(0x0,_0x55b773(_0x5433c8)),se(0x1,_0x55b773(_0x1f0bb1)),se(0x2,_0x5d86d3),se(0x3,_0x47bbed),se(0x4,_0x16bbd7)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
|