@univerjs-pro/collaboration-client-node 0.9.3-nightly.202507250750 → 0.9.3-nightly.202507250819
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 -11
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x3e7491=_0x1da9;(function(_0x4744a7,_0xd88314){const _0x4e831b=_0x1da9,_0x41df16=_0x4744a7();while(!![]){try{const _0x53e1a0=-parseInt(_0x4e831b(0x19c))/0x1*(parseInt(_0x4e831b(0x282))/0x2)+parseInt(_0x4e831b(0x1c5))/0x3*(parseInt(_0x4e831b(0x18b))/0x4)+-parseInt(_0x4e831b(0x268))/0x5*(-parseInt(_0x4e831b(0x18c))/0x6)+parseInt(_0x4e831b(0x156))/0x7+-parseInt(_0x4e831b(0x194))/0x8*(parseInt(_0x4e831b(0x2d0))/0x9)+-parseInt(_0x4e831b(0x1e2))/0xa+-parseInt(_0x4e831b(0x15d))/0xb;if(_0x53e1a0===_0xd88314)break;else _0x41df16['push'](_0x41df16['shift']());}catch(_0x3189a7){_0x41df16['push'](_0x41df16['shift']());}}}(_0x1b91,0x29652));import{UniverCollaborationClientPlugin as _0x458eeb,CollaborationSocketService as _0x1437de}from'@univerjs-pro/collaboration-client';import{Disposable as _0x2737f7,DisposableCollection as _0x3784bb,toDisposable as _0x230175,IConfigService as _0x46c521,DependentOn as _0x1da448,ILogService as _0x3bb979,Inject as _0x14a135,Injector as _0x413cf1,Plugin as _0x51ff04,registerDependencies as _0xf9db87}from'@univerjs/core';import{ISocketService as _0x1313b6,HTTPService as _0x564d5f}from'@univerjs/network';import{Observable as _0x1584bb,share as _0x1e5cb8}from'rxjs';import _0x30fedc from'events';import _0x1d190d from'https';import _0x5ce828 from'http';import _0x9ff531 from'net';import _0x1a6001 from'tls';import _0x245205 from'crypto';import _0x18c39f from'stream';import _0xe7a915 from'url';import _0xa96d58 from'zlib';import _0x9a1ca6 from'buffer';import{ISnapshotServerService as _0x3df8ef}from'@univerjs-pro/collaboration';const Be=_0x3e7491(0x195),Ft={'customHeaders':{}};function jt(_0x41cf9e){const _0x1e954f=_0x3e7491;return _0x41cf9e&&_0x41cf9e['__esModule']&&Object['prototype'][_0x1e954f(0x1ab)][_0x1e954f(0x178)](_0x41cf9e,_0x1e954f(0x2c6))?_0x41cf9e[_0x1e954f(0x2c6)]:_0x41cf9e;}function ut(_0xa981eb){const _0x59f71c=_0x3e7491;if(Object[_0x59f71c(0x271)][_0x59f71c(0x1ab)][_0x59f71c(0x178)](_0xa981eb,'__esModule'))return _0xa981eb;var _0x116d78=_0xa981eb[_0x59f71c(0x2c6)];if(typeof _0x116d78==_0x59f71c(0x130)){var _0x4c9e14=function _0x1d2df7(){const _0x5648b=_0x59f71c;var _0x22a164=!0x1;try{_0x22a164=this instanceof _0x1d2df7;}catch{}return _0x22a164?Reflect[_0x5648b(0x16d)](_0x116d78,arguments,this[_0x5648b(0x204)]):_0x116d78[_0x5648b(0x17f)](this,arguments);};_0x4c9e14[_0x59f71c(0x271)]=_0x116d78[_0x59f71c(0x271)];}else _0x4c9e14={};return Object[_0x59f71c(0x1c6)](_0x4c9e14,_0x59f71c(0x25d),{'value':!0x0}),Object[_0x59f71c(0x149)](_0xa981eb)[_0x59f71c(0x209)](function(_0xd3e2d7){const _0x54df5c=_0x59f71c;var _0x57dc01=Object[_0x54df5c(0x1e7)](_0xa981eb,_0xd3e2d7);Object['defineProperty'](_0x4c9e14,_0xd3e2d7,_0x57dc01['get']?_0x57dc01:{'enumerable':!0x0,'get':function(){return _0xa981eb[_0xd3e2d7];}});}),_0x4c9e14;}var te={'exports':{}},ge,Ye;function V(){const _0x29b1b2=_0x3e7491;if(Ye)return ge;Ye=0x1;const _0x533acf=[_0x29b1b2(0x2ad),_0x29b1b2(0x171),'fragments'],_0x44648c=typeof Blob<'u';return _0x44648c&&_0x533acf[_0x29b1b2(0x22f)](_0x29b1b2(0x1ea)),ge={'BINARY_TYPES':_0x533acf,'EMPTY_BUFFER':Buffer[_0x29b1b2(0x28a)](0x0),'GUID':_0x29b1b2(0x260),'hasBlob':_0x44648c,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol('kListener'),'kStatusCode':Symbol('status-code'),'kWebSocket':Symbol('websocket'),'NOOP':()=>{}},ge;}function _0x1b91(){const _0x50598b=['_skipUTF8Validation','auth','object','startLoop','hasOwnProperty','buffer','onStarting','callback','redirect','shouldHandle','port','_fin','server_no_context_takeover','_readableState','location','once','client_no_context_takeover','length','write','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','Module','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','target','clients','FIN\x20must\x20be\x20set','haveLength','readable','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','charCodeAt','nextTick','1446trpfll','defineProperty','dequeue','skipUTF8Validation','readUInt32BE','errorEmitted','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','decompress','_compressed','includes','WS_ERR_INVALID_CLOSE_CODE','customHeaders','verifyClient','toStringTag','_sender','frame','setTimeout','_server','maxRedirects','statusCode','STATUS_CODES','_buffers','WebSocket\x20is\x20not\x20open:\x20readyState\x20','listenerCount','Unsupported\x20protocol\x20version:\x20','normalizeParams','_req','_httpService','Z_DEFAULT_WINDOWBITS','18260iBofCU','indexOf','ws+unix:','acceptAsClient','species','getOwnPropertyDescriptor','bind','kReason','blob','cleanup','ws:','set','path','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','consume','_read','_messageLength','listeners','sec-websocket-origin','backlog','endEmitted','invalid\x20UTF-8\x20sequence','_paused','headers','Sec-WebSocket-Protocol','_firstFragment','_options','\x0d\x0a\x0d\x0a','serverNoContextTakeover','pause','_autoPong','onmessage','_closeFrameSent','server','constructor','writeUInt16BE','generateMask','WS_ERR_INVALID_OPCODE','addEventListener','forEach','Unexpected\x20end\x20of\x20input','arrayBuffer','_originalSecure','Sec-WebSocket-Accept:\x20','_loop','string','sendFrame','isServer','_destroy','Server\x20sent\x20an\x20invalid\x20subprotocol','_write','GET','enqueue','WS_NO_BUFFER_UTIL','CLOSING','isValidUTF8','authorized','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','host','kCode','setHeader','reset','Invalid\x20HTTP\x20method','sec-websocket-protocol','slice','pong','replace','data','freeze','server_max_window_bits','registerHTTPInterceptor','isBuffer','_fragmented','\x22:\x20','_deflate','test','base64','push','WS_ERR_EXPECTED_FIN','exports','offer','mask','completeUpgrade','number','setSocket','acceptAsServer','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','removeAllListeners','createSocket','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','Unknown\x20parameter\x20\x22','byteOffset','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','setNoDelay','captureStackTrace','threshold','isPaused','WS_ERR_INVALID_UTF8','dispatch','finished','env','extensionName','followRedirects','timeout','create','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','find','perMessageDeflate','kTarget','_decompress','Connection:\x20Upgrade','from','createConnection','_compress','then','_max_window_bits','_generateMask','buffers','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','Sec-WebSocket-Extensions','Server\x20sent\x20no\x20subprotocol','map','Invalid\x20URL:\x20','__esModule','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','_totalPayloadLength','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','extensions','cork','_removeListeners','noServer','destroy','isInteger','websocket','20FVHXKs','binaryType','_url','WS_ERR_UNEXPECTED_MASK','pathname','controlMessage','_inflate','_threshold','pipe','prototype','_doCreateSocket','Invalid\x20Sec-WebSocket-Protocol\x20header','drain','invalid\x20payload\x20length\x20','Invalid\x20WebSocket\x20frame:\x20','opcode','objectMode','_closeCode','send','The\x20server\x20is\x20not\x20running','_mask','Origin','_masked','client_max_window_bits','getBlobData','compress','6ZDaBhR','allocUnsafe','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','bufferedAmount','Max\x20payload\x20size\x20exceeded','hostname','text/html','_fragments','alloc','binary','href','concat','invalid\x20opcode\x20','The\x20\x22','digest','serverMaxWindowBits','code','end','client','_opcode','entries','HTTP/1.1\x20101\x20Switching\x20Protocols','_configService','_closeTimer','hash','upgrade','getPayloadLength64','finish','parse','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','wss:','getMask','ping','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','size','Parameter\x20\x22','total-length','Upgrade:\x20websocket','readOnly','getPayloadLength16','authorization','Basic\x20','socketPath','nodebuffer','cookie','handshakeTimeout','_originalIpc','uncork','handleEvent','Unexpected\x20character\x20at\x20index\x20','stream','kError','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','concurrencyLimit','readyState','open','jobs','HTTP/1.1\x20','_originalHostOrSocketPath','shift','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','clientNoContextTakeover','MASK\x20must\x20be\x20set','origin','onerror','abort','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','clientMaxWindowBits','default','password','emitClose','CONNECTING','_socket','clientTracking','pow','Sec-WebSocket-Protocol:\x20','createError','toLowerCase','2372121aRSkpO','fin','zlibInflateOptions','flush','url','Opening\x20handshake\x20has\x20timed\x20out','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','close','File','_errored','wsClientError','_state','servername','search','add','resume','_registerDependencies','function','_protocol','WS_ERR_EXPECTED_MASK','_errorEmitted','_injector','_payloadLength','kByteLength','request','update','unexpected-response','removeListener','kWasClean','protocolVersion','createDeflateRaw','_queue','writeHead','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','reason','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','Unexpected\x20server\x20response:\x20','username','wasClean','getInfo','_shouldEmitClose','createInflateRaw','keys','type','writeUIntBE','sha1','WS_ERR_UNEXPECTED_RSV_1','unshift','setConfig','protocol','byteLength','readUInt16BE','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','_extensions','connection','1913268oTHJRt','Invalid\x20Upgrade\x20header','destroyed','isArray','encrypted','_allowSynchronousEvents','conclude','780318SpiOac','onopen','_bufferedBytes','\x22\x20must\x20have\x20only\x20a\x20single\x20value','zlibDeflateOptions','CLOSED','has','finishRequest','Sec-WebSocket-Origin','split','defaultPort','_no_context_takeover','warn','getConfig','sec-websocket-version','sec-websocket-extensions','construct','removeEventListener','format','emit','arraybuffer','response','next','join','pluginName','autoPong','allowSynchronousEvents','call','_redirects','unmask','_maxPayload','terminate','dispose','concurrency','apply','error','_isServer','params','handleUpgrade','_maskBuffer','maxPayload','message','OPEN','RSV1\x20must\x20be\x20clear','dataMessage','WS_NO_UTF_8_VALIDATE','964yaYiZj','334122znQeEn','Upgrade','pending','\x22\x20subprotocol\x20is\x20duplicated','Invalid\x20value\x20for\x20parameter\x20\x22','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','socket','connect','8tfvXQB','collaboration-client-node.config','_writableState','The\x20URL\x20contains\x20a\x20fragment\x20identifier','toString','_binaryType','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','options','35449xZYtwP','Blob','needDrain','_closeMessage','read','handleProtocols','kData','accept','_closeFrameReceived','_receiver','_readyState'];_0x1b91=function(){return _0x50598b;};return _0x1b91();}const Wt={},Gt=Object['freeze'](Object[_0x3e7491(0x1c6)]({'__proto__':null,'default':Wt},Symbol['toStringTag'],{'value':_0x3e7491(0x1bb)})),Vt=ut(Gt);var Ke;function ce(){const _0x12e1dc=_0x3e7491;if(Ke)return te[_0x12e1dc(0x231)];Ke=0x1;const {EMPTY_BUFFER:_0x413e3b}=V(),_0x1598ff=Buffer[Symbol[_0x12e1dc(0x1e6)]];function _0x63bd01(_0xfb249,_0x540181){const _0x555eb1=_0x12e1dc;if(_0xfb249['length']===0x0)return _0x413e3b;if(_0xfb249['length']===0x1)return _0xfb249[0x0];const _0x1b6cfd=Buffer[_0x555eb1(0x283)](_0x540181);let _0x2fdc18=0x0;for(let _0x2c1241=0x0;_0x2c1241<_0xfb249[_0x555eb1(0x1b8)];_0x2c1241++){const _0x18a8e9=_0xfb249[_0x2c1241];_0x1b6cfd[_0x555eb1(0x1ed)](_0x18a8e9,_0x2fdc18),_0x2fdc18+=_0x18a8e9[_0x555eb1(0x1b8)];}return _0x2fdc18<_0x540181?new _0x1598ff(_0x1b6cfd[_0x555eb1(0x1ac)],_0x1b6cfd[_0x555eb1(0x23d)],_0x2fdc18):_0x1b6cfd;}function _0x4d951b(_0x27414c,_0x28a167,_0x3ae4f3,_0x17167a,_0x238fcd){for(let _0x57b756=0x0;_0x57b756<_0x238fcd;_0x57b756++)_0x3ae4f3[_0x17167a+_0x57b756]=_0x27414c[_0x57b756]^_0x28a167[_0x57b756&0x3];}function _0x3c83ec(_0x3394be,_0x55b26f){const _0x485aba=_0x12e1dc;for(let _0x583d66=0x0;_0x583d66<_0x3394be[_0x485aba(0x1b8)];_0x583d66++)_0x3394be[_0x583d66]^=_0x55b26f[_0x583d66&0x3];}function _0x23c924(_0xe1e795){const _0x1d97c2=_0x12e1dc;return _0xe1e795['length']===_0xe1e795[_0x1d97c2(0x1ac)]['byteLength']?_0xe1e795[_0x1d97c2(0x1ac)]:_0xe1e795['buffer'][_0x1d97c2(0x222)](_0xe1e795['byteOffset'],_0xe1e795[_0x1d97c2(0x23d)]+_0xe1e795[_0x1d97c2(0x1b8)]);}function _0xe11076(_0x1fce6b){const _0x52315d=_0x12e1dc;if(_0xe11076[_0x52315d(0x2a8)]=!0x0,Buffer[_0x52315d(0x229)](_0x1fce6b))return _0x1fce6b;let _0x33325;return _0x1fce6b instanceof ArrayBuffer?_0x33325=new _0x1598ff(_0x1fce6b):ArrayBuffer['isView'](_0x1fce6b)?_0x33325=new _0x1598ff(_0x1fce6b[_0x52315d(0x1ac)],_0x1fce6b[_0x52315d(0x23d)],_0x1fce6b[_0x52315d(0x151)]):(_0x33325=Buffer['from'](_0x1fce6b),_0xe11076['readOnly']=!0x1),_0x33325;}if(te[_0x12e1dc(0x231)]={'concat':_0x63bd01,'mask':_0x4d951b,'toArrayBuffer':_0x23c924,'toBuffer':_0xe11076,'unmask':_0x3c83ec},!process[_0x12e1dc(0x246)][_0x12e1dc(0x217)])try{const _0x267929=Vt;te[_0x12e1dc(0x231)][_0x12e1dc(0x233)]=function(_0x5cf931,_0x5ca61d,_0x3642d7,_0x9f6513,_0x39a760){const _0x26aaad=_0x12e1dc;_0x39a760<0x30?_0x4d951b(_0x5cf931,_0x5ca61d,_0x3642d7,_0x9f6513,_0x39a760):_0x267929[_0x26aaad(0x233)](_0x5cf931,_0x5ca61d,_0x3642d7,_0x9f6513,_0x39a760);},te[_0x12e1dc(0x231)][_0x12e1dc(0x17a)]=function(_0x2190b4,_0xc0cf63){const _0x2c7038=_0x12e1dc;_0x2190b4[_0x2c7038(0x1b8)]<0x20?_0x3c83ec(_0x2190b4,_0xc0cf63):_0x267929[_0x2c7038(0x17a)](_0x2190b4,_0xc0cf63);};}catch{}return te[_0x12e1dc(0x231)];}var ye,Xe;function qt(){if(Xe)return ye;Xe=0x1;const _0x1a34b6=Symbol('kDone'),_0x1e695c=Symbol('kRun');class _0xb23d7d{constructor(_0x1c5f8a){const _0x306bb9=_0x1da9;this[_0x1a34b6]=()=>{const _0x33ecbd=_0x1da9;this[_0x33ecbd(0x18e)]--,this[_0x1e695c]();},this[_0x306bb9(0x17e)]=_0x1c5f8a||0x1/0x0,this[_0x306bb9(0x2ba)]=[],this[_0x306bb9(0x18e)]=0x0;}['add'](_0x4d9e8d){const _0x32fa23=_0x1da9;this['jobs'][_0x32fa23(0x22f)](_0x4d9e8d),this[_0x1e695c]();}[_0x1e695c](){const _0x4b09b5=_0x1da9;if(this[_0x4b09b5(0x18e)]!==this[_0x4b09b5(0x17e)]&&this[_0x4b09b5(0x2ba)][_0x4b09b5(0x1b8)]){const _0x5ccd02=this[_0x4b09b5(0x2ba)][_0x4b09b5(0x2bd)]();this[_0x4b09b5(0x18e)]++,_0x5ccd02(this[_0x1a34b6]);}}}return ye=_0xb23d7d,ye;}var ve,Ze;function he(){const _0x323bbd=_0x3e7491;if(Ze)return ve;Ze=0x1;const _0x48b710=_0xa96d58,_0x30e709=ce(),_0x909935=qt(),{kStatusCode:_0x55be70}=V(),_0x1dce26=Buffer[Symbol[_0x323bbd(0x1e6)]],_0xa91923=Buffer[_0x323bbd(0x251)]([0x0,0x0,0xff,0xff]),_0x2c2dcc=Symbol('permessage-deflate'),_0x38d853=Symbol(_0x323bbd(0x2a6)),_0x4f9364=Symbol(_0x323bbd(0x1ae)),_0x5ef659=Symbol(_0x323bbd(0x257)),_0x1a671b=Symbol(_0x323bbd(0x180));let _0x3888cc;class _0x3d30d3{constructor(_0x4b7b57,_0x2b38fc,_0x5f2832){const _0x5f1b7f=_0x323bbd;if(this[_0x5f1b7f(0x17b)]=_0x5f2832|0x0,this[_0x5f1b7f(0x1fc)]=_0x4b7b57||{},this[_0x5f1b7f(0x26f)]=this['_options'][_0x5f1b7f(0x241)]!==void 0x0?this[_0x5f1b7f(0x1fc)][_0x5f1b7f(0x241)]:0x400,this[_0x5f1b7f(0x181)]=!!_0x2b38fc,this[_0x5f1b7f(0x22c)]=null,this['_inflate']=null,this[_0x5f1b7f(0x182)]=null,!_0x3888cc){const _0x47fb6a=this['_options'][_0x5f1b7f(0x2b7)]!==void 0x0?this['_options'][_0x5f1b7f(0x2b7)]:0xa;_0x3888cc=new _0x909935(_0x47fb6a);}}static get[_0x323bbd(0x247)](){return'permessage-deflate';}[_0x323bbd(0x232)](){const _0x5c6235=_0x323bbd,_0x2f32ff={};return this['_options'][_0x5c6235(0x1fe)]&&(_0x2f32ff[_0x5c6235(0x1b3)]=!0x0),this[_0x5c6235(0x1fc)][_0x5c6235(0x2bf)]&&(_0x2f32ff[_0x5c6235(0x1b7)]=!0x0),this['_options'][_0x5c6235(0x291)]&&(_0x2f32ff[_0x5c6235(0x227)]=this[_0x5c6235(0x1fc)][_0x5c6235(0x291)]),this[_0x5c6235(0x1fc)][_0x5c6235(0x2c5)]?_0x2f32ff[_0x5c6235(0x27f)]=this[_0x5c6235(0x1fc)][_0x5c6235(0x2c5)]:this['_options'][_0x5c6235(0x2c5)]==null&&(_0x2f32ff[_0x5c6235(0x27f)]=!0x0),_0x2f32ff;}[_0x323bbd(0x1a3)](_0x6cf20){const _0x5bbb66=_0x323bbd;return _0x6cf20=this[_0x5bbb66(0x1de)](_0x6cf20),this[_0x5bbb66(0x182)]=this['_isServer']?this[_0x5bbb66(0x237)](_0x6cf20):this['acceptAsClient'](_0x6cf20),this[_0x5bbb66(0x182)];}[_0x323bbd(0x1eb)](){const _0x2731e8=_0x323bbd;if(this[_0x2731e8(0x26e)]&&(this['_inflate'][_0x2731e8(0x2d7)](),this['_inflate']=null),this[_0x2731e8(0x22c)]){const _0x4628b6=this[_0x2731e8(0x22c)][_0x4f9364];this[_0x2731e8(0x22c)]['close'](),this[_0x2731e8(0x22c)]=null,_0x4628b6&&_0x4628b6(new Error(_0x2731e8(0x1cb)));}}[_0x323bbd(0x237)](_0x54f8a8){const _0x4a82d0=_0x323bbd,_0x44cfba=this[_0x4a82d0(0x1fc)],_0x360e9a=_0x54f8a8[_0x4a82d0(0x24c)](_0x3d8d5b=>!(_0x44cfba[_0x4a82d0(0x1fe)]===!0x1&&_0x3d8d5b[_0x4a82d0(0x1b3)]||_0x3d8d5b['server_max_window_bits']&&(_0x44cfba[_0x4a82d0(0x291)]===!0x1||typeof _0x44cfba['serverMaxWindowBits']==_0x4a82d0(0x235)&&_0x44cfba[_0x4a82d0(0x291)]>_0x3d8d5b[_0x4a82d0(0x227)])||typeof _0x44cfba['clientMaxWindowBits']==_0x4a82d0(0x235)&&!_0x3d8d5b['client_max_window_bits']));if(!_0x360e9a)throw new Error(_0x4a82d0(0x25e));return _0x44cfba[_0x4a82d0(0x1fe)]&&(_0x360e9a[_0x4a82d0(0x1b3)]=!0x0),_0x44cfba['clientNoContextTakeover']&&(_0x360e9a[_0x4a82d0(0x1b7)]=!0x0),typeof _0x44cfba['serverMaxWindowBits']==_0x4a82d0(0x235)&&(_0x360e9a[_0x4a82d0(0x227)]=_0x44cfba[_0x4a82d0(0x291)]),typeof _0x44cfba['clientMaxWindowBits']==_0x4a82d0(0x235)?_0x360e9a[_0x4a82d0(0x27f)]=_0x44cfba['clientMaxWindowBits']:(_0x360e9a['client_max_window_bits']===!0x0||_0x44cfba['clientMaxWindowBits']===!0x1)&&delete _0x360e9a['client_max_window_bits'],_0x360e9a;}[_0x323bbd(0x1e5)](_0xb3e22b){const _0x5a14f2=_0x323bbd,_0xd9349d=_0xb3e22b[0x0];if(this['_options'][_0x5a14f2(0x2bf)]===!0x1&&_0xd9349d[_0x5a14f2(0x1b7)])throw new Error(_0x5a14f2(0x2d6));if(!_0xd9349d[_0x5a14f2(0x27f)])typeof this[_0x5a14f2(0x1fc)][_0x5a14f2(0x2c5)]=='number'&&(_0xd9349d[_0x5a14f2(0x27f)]=this[_0x5a14f2(0x1fc)][_0x5a14f2(0x2c5)]);else{if(this['_options'][_0x5a14f2(0x2c5)]===!0x1||typeof this['_options'][_0x5a14f2(0x2c5)]==_0x5a14f2(0x235)&&_0xd9349d[_0x5a14f2(0x27f)]>this[_0x5a14f2(0x1fc)][_0x5a14f2(0x2c5)])throw new Error(_0x5a14f2(0x29f));}return _0xd9349d;}[_0x323bbd(0x1de)](_0x5bce6c){return _0x5bce6c['forEach'](_0x44e65b=>{const _0x5abb34=_0x1da9;Object[_0x5abb34(0x149)](_0x44e65b)[_0x5abb34(0x209)](_0x25f805=>{const _0x6eb0c3=_0x5abb34;let _0x1fc353=_0x44e65b[_0x25f805];if(_0x1fc353['length']>0x1)throw new Error(_0x6eb0c3(0x2a5)+_0x25f805+_0x6eb0c3(0x160));if(_0x1fc353=_0x1fc353[0x0],_0x25f805==='client_max_window_bits'){if(_0x1fc353!==!0x0){const _0x3e45eb=+_0x1fc353;if(!Number[_0x6eb0c3(0x266)](_0x3e45eb)||_0x3e45eb<0x8||_0x3e45eb>0xf)throw new TypeError(_0x6eb0c3(0x190)+_0x25f805+_0x6eb0c3(0x22b)+_0x1fc353);_0x1fc353=_0x3e45eb;}else{if(!this[_0x6eb0c3(0x181)])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x25f805+_0x6eb0c3(0x22b)+_0x1fc353);}}else{if(_0x25f805===_0x6eb0c3(0x227)){const _0x5e9579=+_0x1fc353;if(!Number['isInteger'](_0x5e9579)||_0x5e9579<0x8||_0x5e9579>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x25f805+_0x6eb0c3(0x22b)+_0x1fc353);_0x1fc353=_0x5e9579;}else{if(_0x25f805===_0x6eb0c3(0x1b7)||_0x25f805===_0x6eb0c3(0x1b3)){if(_0x1fc353!==!0x0)throw new TypeError(_0x6eb0c3(0x190)+_0x25f805+_0x6eb0c3(0x22b)+_0x1fc353);}else throw new Error(_0x6eb0c3(0x23c)+_0x25f805+'\x22');}}_0x44e65b[_0x25f805]=_0x1fc353;});}),_0x5bce6c;}[_0x323bbd(0x1cc)](_0x1c283d,_0x5db200,_0x56091b){const _0x1b9995=_0x323bbd;_0x3888cc[_0x1b9995(0x2de)](_0x3b9705=>{this['_decompress'](_0x1c283d,_0x5db200,(_0x1f9222,_0x4d60f4)=>{_0x3b9705(),_0x56091b(_0x1f9222,_0x4d60f4);});});}[_0x323bbd(0x281)](_0x212683,_0x4c275b,_0x28bf7a){_0x3888cc['add'](_0x5eda2=>{const _0x42178a=_0x1da9;this[_0x42178a(0x253)](_0x212683,_0x4c275b,(_0x2f7418,_0x2a0c2b)=>{_0x5eda2(),_0x28bf7a(_0x2f7418,_0x2a0c2b);});});}[_0x323bbd(0x24f)](_0x5a75e8,_0x189b48,_0x308724){const _0x340739=_0x323bbd,_0x5b4c37=this[_0x340739(0x181)]?'client':_0x340739(0x203);if(!this['_inflate']){const _0x20d620=_0x5b4c37+_0x340739(0x255),_0x4ce599=typeof this[_0x340739(0x182)][_0x20d620]!=_0x340739(0x235)?_0x48b710[_0x340739(0x1e1)]:this['params'][_0x20d620];this[_0x340739(0x26e)]=_0x48b710[_0x340739(0x148)]({...this[_0x340739(0x1fc)][_0x340739(0x2d2)],'windowBits':_0x4ce599}),this[_0x340739(0x26e)][_0x2c2dcc]=this,this[_0x340739(0x26e)][_0x38d853]=0x0,this['_inflate'][_0x5ef659]=[],this[_0x340739(0x26e)]['on'](_0x340739(0x180),_0x56ec04),this[_0x340739(0x26e)]['on'](_0x340739(0x225),_0x29c13a);}this['_inflate'][_0x4f9364]=_0x308724,this[_0x340739(0x26e)]['write'](_0x5a75e8),_0x189b48&&this[_0x340739(0x26e)]['write'](_0xa91923),this[_0x340739(0x26e)][_0x340739(0x2d3)](()=>{const _0xc7616a=_0x340739,_0x57900f=this['_inflate'][_0x1a671b];if(_0x57900f){this[_0xc7616a(0x26e)][_0xc7616a(0x2d7)](),this[_0xc7616a(0x26e)]=null,_0x308724(_0x57900f);return;}const _0x4ab976=_0x30e709[_0xc7616a(0x28d)](this[_0xc7616a(0x26e)][_0x5ef659],this['_inflate'][_0x38d853]);this[_0xc7616a(0x26e)]['_readableState']['endEmitted']?(this[_0xc7616a(0x26e)][_0xc7616a(0x2d7)](),this[_0xc7616a(0x26e)]=null):(this[_0xc7616a(0x26e)][_0x38d853]=0x0,this[_0xc7616a(0x26e)][_0x5ef659]=[],_0x189b48&&this[_0xc7616a(0x182)][_0x5b4c37+_0xc7616a(0x168)]&&this[_0xc7616a(0x26e)]['reset']()),_0x308724(null,_0x4ab976);});}['_compress'](_0x1a9b61,_0x111b54,_0x24bf89){const _0x3ce2d8=_0x323bbd,_0x1c0f87=this[_0x3ce2d8(0x181)]?_0x3ce2d8(0x203):_0x3ce2d8(0x294);if(!this['_deflate']){const _0x12f4f6=_0x1c0f87+'_max_window_bits',_0x4b7672=typeof this[_0x3ce2d8(0x182)][_0x12f4f6]!=_0x3ce2d8(0x235)?_0x48b710[_0x3ce2d8(0x1e1)]:this[_0x3ce2d8(0x182)][_0x12f4f6];this[_0x3ce2d8(0x22c)]=_0x48b710[_0x3ce2d8(0x13d)]({...this['_options'][_0x3ce2d8(0x161)],'windowBits':_0x4b7672}),this[_0x3ce2d8(0x22c)][_0x38d853]=0x0,this[_0x3ce2d8(0x22c)][_0x5ef659]=[],this['_deflate']['on']('data',_0x5e2ac3);}this['_deflate'][_0x4f9364]=_0x24bf89,this[_0x3ce2d8(0x22c)][_0x3ce2d8(0x1b9)](_0x1a9b61),this[_0x3ce2d8(0x22c)][_0x3ce2d8(0x2d3)](_0x48b710['Z_SYNC_FLUSH'],()=>{const _0x31ba25=_0x3ce2d8;if(!this[_0x31ba25(0x22c)])return;let _0x28cc8c=_0x30e709['concat'](this[_0x31ba25(0x22c)][_0x5ef659],this[_0x31ba25(0x22c)][_0x38d853]);_0x111b54&&(_0x28cc8c=new _0x1dce26(_0x28cc8c[_0x31ba25(0x1ac)],_0x28cc8c['byteOffset'],_0x28cc8c['length']-0x4)),this['_deflate'][_0x4f9364]=null,this[_0x31ba25(0x22c)][_0x38d853]=0x0,this[_0x31ba25(0x22c)][_0x5ef659]=[],_0x111b54&&this[_0x31ba25(0x182)][_0x1c0f87+_0x31ba25(0x168)]&&this[_0x31ba25(0x22c)][_0x31ba25(0x21f)](),_0x24bf89(null,_0x28cc8c);});}}ve=_0x3d30d3;function _0x5e2ac3(_0x8592b1){const _0x1310bb=_0x323bbd;this[_0x5ef659][_0x1310bb(0x22f)](_0x8592b1),this[_0x38d853]+=_0x8592b1['length'];}function _0x29c13a(_0x4bf317){const _0xef7fb=_0x323bbd;if(this[_0x38d853]+=_0x4bf317[_0xef7fb(0x1b8)],this[_0x2c2dcc][_0xef7fb(0x17b)]<0x1||this[_0x38d853]<=this[_0x2c2dcc][_0xef7fb(0x17b)]){this[_0x5ef659][_0xef7fb(0x22f)](_0x4bf317);return;}this[_0x1a671b]=new RangeError(_0xef7fb(0x286)),this[_0x1a671b][_0xef7fb(0x292)]=_0xef7fb(0x191),this[_0x1a671b][_0x55be70]=0x3f1,this[_0xef7fb(0x13a)](_0xef7fb(0x225),_0x29c13a),this[_0xef7fb(0x21f)]();}function _0x56ec04(_0x1a479e){if(this[_0x2c2dcc]['_inflate']=null,this[_0x1a671b]){this[_0x4f9364](this[_0x1a671b]);return;}_0x1a479e[_0x55be70]=0x3ef,this[_0x4f9364](_0x1a479e);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x3e7491(0x226)](Object[_0x3e7491(0x1c6)]({'__proto__':null,'default':Ht},Symbol[_0x3e7491(0x1d2)],{'value':_0x3e7491(0x1bb)})),Yt=ut(zt);var Qe;function ne(){const _0xb02d10=_0x3e7491;if(Qe)return re[_0xb02d10(0x231)];Qe=0x1;const {isUtf8:_0x217ea3}=_0x9a1ca6,{hasBlob:_0x3d5786}=V(),_0x507c04=[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 _0x3b6e86(_0x4ca272){return _0x4ca272>=0x3e8&&_0x4ca272<=0x3f6&&_0x4ca272!==0x3ec&&_0x4ca272!==0x3ed&&_0x4ca272!==0x3ee||_0x4ca272>=0xbb8&&_0x4ca272<=0x1387;}function _0x107991(_0x9ce985){const _0x4586d2=_0x9ce985['length'];let _0x2877a6=0x0;for(;_0x2877a6<_0x4586d2;)if((_0x9ce985[_0x2877a6]&0x80)===0x0)_0x2877a6++;else{if((_0x9ce985[_0x2877a6]&0xe0)===0xc0){if(_0x2877a6+0x1===_0x4586d2||(_0x9ce985[_0x2877a6+0x1]&0xc0)!==0x80||(_0x9ce985[_0x2877a6]&0xfe)===0xc0)return!0x1;_0x2877a6+=0x2;}else{if((_0x9ce985[_0x2877a6]&0xf0)===0xe0){if(_0x2877a6+0x2>=_0x4586d2||(_0x9ce985[_0x2877a6+0x1]&0xc0)!==0x80||(_0x9ce985[_0x2877a6+0x2]&0xc0)!==0x80||_0x9ce985[_0x2877a6]===0xe0&&(_0x9ce985[_0x2877a6+0x1]&0xe0)===0x80||_0x9ce985[_0x2877a6]===0xed&&(_0x9ce985[_0x2877a6+0x1]&0xe0)===0xa0)return!0x1;_0x2877a6+=0x3;}else{if((_0x9ce985[_0x2877a6]&0xf8)===0xf0){if(_0x2877a6+0x3>=_0x4586d2||(_0x9ce985[_0x2877a6+0x1]&0xc0)!==0x80||(_0x9ce985[_0x2877a6+0x2]&0xc0)!==0x80||(_0x9ce985[_0x2877a6+0x3]&0xc0)!==0x80||_0x9ce985[_0x2877a6]===0xf0&&(_0x9ce985[_0x2877a6+0x1]&0xf0)===0x80||_0x9ce985[_0x2877a6]===0xf4&&_0x9ce985[_0x2877a6+0x1]>0x8f||_0x9ce985[_0x2877a6]>0xf4)return!0x1;_0x2877a6+=0x4;}else return!0x1;}}}return!0x0;}function _0x7860b5(_0x50099f){const _0x2a85ee=_0xb02d10;return _0x3d5786&&typeof _0x50099f==_0x2a85ee(0x1a9)&&typeof _0x50099f[_0x2a85ee(0x20b)]==_0x2a85ee(0x130)&&typeof _0x50099f[_0x2a85ee(0x14a)]==_0x2a85ee(0x20f)&&typeof _0x50099f[_0x2a85ee(0x2b4)]==_0x2a85ee(0x130)&&(_0x50099f[Symbol[_0x2a85ee(0x1d2)]]===_0x2a85ee(0x19d)||_0x50099f[Symbol['toStringTag']]===_0x2a85ee(0x2d8));}if(re[_0xb02d10(0x231)]={'isBlob':_0x7860b5,'isValidStatusCode':_0x3b6e86,'isValidUTF8':_0x107991,'tokenChars':_0x507c04},_0x217ea3)re[_0xb02d10(0x231)][_0xb02d10(0x219)]=function(_0x2b1bf7){const _0xaba5cf=_0xb02d10;return _0x2b1bf7[_0xaba5cf(0x1b8)]<0x18?_0x107991(_0x2b1bf7):_0x217ea3(_0x2b1bf7);};else{if(!process[_0xb02d10(0x246)][_0xb02d10(0x18a)])try{const _0x4b4523=Yt;re[_0xb02d10(0x231)]['isValidUTF8']=function(_0x42e030){const _0x2d0b59=_0xb02d10;return _0x42e030[_0x2d0b59(0x1b8)]<0x20?_0x107991(_0x42e030):_0x4b4523(_0x42e030);};}catch{}}return re[_0xb02d10(0x231)];}var Se,Je;function dt(){const _0x242ef0=_0x3e7491;if(Je)return Se;Je=0x1;const {Writable:_0x1f4e49}=_0x18c39f,_0x54e617=he(),{BINARY_TYPES:_0x4d2e9d,EMPTY_BUFFER:_0x6e4354,kStatusCode:_0x47b9a6,kWebSocket:_0x4e9eaa}=V(),{concat:_0x37c746,toArrayBuffer:_0x29b7aa,unmask:_0x39888b}=ce(),{isValidStatusCode:_0x277df8,isValidUTF8:_0x231fe5}=ne(),_0x6ec96a=Buffer[Symbol[_0x242ef0(0x1e6)]],_0x3e2080=0x0,_0x2b91f0=0x1,_0x1dacf9=0x2,_0x3f567b=0x3,_0x483738=0x4,_0x15fa72=0x5,_0xd73e57=0x6;class _0x4994db extends _0x1f4e49{constructor(_0x16cb44={}){const _0x552200=_0x242ef0;super(),this[_0x552200(0x15b)]=_0x16cb44[_0x552200(0x177)]!==void 0x0?_0x16cb44[_0x552200(0x177)]:!0x0,this[_0x552200(0x199)]=_0x16cb44[_0x552200(0x269)]||_0x4d2e9d[0x0],this[_0x552200(0x154)]=_0x16cb44['extensions']||{},this[_0x552200(0x181)]=!!_0x16cb44[_0x552200(0x211)],this['_maxPayload']=_0x16cb44[_0x552200(0x185)]|0x0,this[_0x552200(0x1a7)]=!!_0x16cb44['skipUTF8Validation'],this[_0x4e9eaa]=void 0x0,this['_bufferedBytes']=0x0,this[_0x552200(0x1da)]=[],this[_0x552200(0x1cd)]=!0x1,this[_0x552200(0x135)]=0x0,this[_0x552200(0x27c)]=void 0x0,this[_0x552200(0x22a)]=0x0,this[_0x552200(0x27e)]=!0x1,this['_fin']=!0x1,this[_0x552200(0x295)]=0x0,this['_totalPayloadLength']=0x0,this[_0x552200(0x1f2)]=0x0,this[_0x552200(0x289)]=[],this['_errored']=!0x1,this[_0x552200(0x20e)]=!0x1,this[_0x552200(0x2db)]=_0x3e2080;}['_write'](_0x5d81cc,_0x5916e3,_0x4d9038){const _0x2951ad=_0x242ef0;if(this[_0x2951ad(0x295)]===0x8&&this[_0x2951ad(0x2db)]==_0x3e2080)return _0x4d9038();this[_0x2951ad(0x15f)]+=_0x5d81cc[_0x2951ad(0x1b8)],this[_0x2951ad(0x1da)][_0x2951ad(0x22f)](_0x5d81cc),this[_0x2951ad(0x1aa)](_0x4d9038);}['consume'](_0x141561){const _0x210049=_0x242ef0;if(this[_0x210049(0x15f)]-=_0x141561,_0x141561===this[_0x210049(0x1da)][0x0]['length'])return this[_0x210049(0x1da)]['shift']();if(_0x141561<this['_buffers'][0x0][_0x210049(0x1b8)]){const _0x5b4e86=this['_buffers'][0x0];return this[_0x210049(0x1da)][0x0]=new _0x6ec96a(_0x5b4e86['buffer'],_0x5b4e86[_0x210049(0x23d)]+_0x141561,_0x5b4e86['length']-_0x141561),new _0x6ec96a(_0x5b4e86['buffer'],_0x5b4e86['byteOffset'],_0x141561);}const _0x4e877d=Buffer[_0x210049(0x283)](_0x141561);do{const _0x58ac22=this[_0x210049(0x1da)][0x0],_0x311fc6=_0x4e877d[_0x210049(0x1b8)]-_0x141561;_0x141561>=_0x58ac22['length']?_0x4e877d[_0x210049(0x1ed)](this[_0x210049(0x1da)][_0x210049(0x2bd)](),_0x311fc6):(_0x4e877d[_0x210049(0x1ed)](new Uint8Array(_0x58ac22[_0x210049(0x1ac)],_0x58ac22[_0x210049(0x23d)],_0x141561),_0x311fc6),this[_0x210049(0x1da)][0x0]=new _0x6ec96a(_0x58ac22[_0x210049(0x1ac)],_0x58ac22[_0x210049(0x23d)]+_0x141561,_0x58ac22[_0x210049(0x1b8)]-_0x141561)),_0x141561-=_0x58ac22[_0x210049(0x1b8)];}while(_0x141561>0x0);return _0x4e877d;}[_0x242ef0(0x1aa)](_0xbc9394){const _0x45056b=_0x242ef0;this[_0x45056b(0x20e)]=!0x0;do switch(this[_0x45056b(0x2db)]){case _0x3e2080:this[_0x45056b(0x146)](_0xbc9394);break;case _0x2b91f0:this[_0x45056b(0x2a9)](_0xbc9394);break;case _0x1dacf9:this[_0x45056b(0x29c)](_0xbc9394);break;case _0x3f567b:this[_0x45056b(0x2a1)]();break;case _0x483738:this['getData'](_0xbc9394);break;case _0x15fa72:case _0xd73e57:this[_0x45056b(0x20e)]=!0x1;return;}while(this['_loop']);this[_0x45056b(0x2d9)]||_0xbc9394();}[_0x242ef0(0x146)](_0xcd4cec){const _0x37cf03=_0x242ef0;if(this[_0x37cf03(0x15f)]<0x2){this[_0x37cf03(0x20e)]=!0x1;return;}const _0x20d4fc=this[_0x37cf03(0x1f0)](0x2);if((_0x20d4fc[0x0]&0x30)!==0x0){const _0xbf0c37=this[_0x37cf03(0x2ce)](RangeError,'RSV2\x20and\x20RSV3\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0xcd4cec(_0xbf0c37);return;}const _0x5a9d83=(_0x20d4fc[0x0]&0x40)===0x40;if(_0x5a9d83&&!this[_0x37cf03(0x154)][_0x54e617[_0x37cf03(0x247)]]){const _0x125944=this['createError'](RangeError,_0x37cf03(0x188),!0x0,0x3ea,_0x37cf03(0x14d));_0xcd4cec(_0x125944);return;}if(this[_0x37cf03(0x1b2)]=(_0x20d4fc[0x0]&0x80)===0x80,this['_opcode']=_0x20d4fc[0x0]&0xf,this[_0x37cf03(0x135)]=_0x20d4fc[0x1]&0x7f,this['_opcode']===0x0){if(_0x5a9d83){const _0x150769=this[_0x37cf03(0x2ce)](RangeError,_0x37cf03(0x188),!0x0,0x3ea,_0x37cf03(0x14d));_0xcd4cec(_0x150769);return;}if(!this[_0x37cf03(0x22a)]){const _0x937aa5=this['createError'](RangeError,'invalid\x20opcode\x200',!0x0,0x3ea,_0x37cf03(0x207));_0xcd4cec(_0x937aa5);return;}this[_0x37cf03(0x295)]=this['_fragmented'];}else{if(this['_opcode']===0x1||this[_0x37cf03(0x295)]===0x2){if(this[_0x37cf03(0x22a)]){const _0x21a08a=this[_0x37cf03(0x2ce)](RangeError,_0x37cf03(0x28e)+this['_opcode'],!0x0,0x3ea,_0x37cf03(0x207));_0xcd4cec(_0x21a08a);return;}this['_compressed']=_0x5a9d83;}else{if(this[_0x37cf03(0x295)]>0x7&&this['_opcode']<0xb){if(!this[_0x37cf03(0x1b2)]){const _0x21b91b=this[_0x37cf03(0x2ce)](RangeError,_0x37cf03(0x1bf),!0x0,0x3ea,_0x37cf03(0x230));_0xcd4cec(_0x21b91b);return;}if(_0x5a9d83){const _0x3d4a8b=this['createError'](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x37cf03(0x14d));_0xcd4cec(_0x3d4a8b);return;}if(this[_0x37cf03(0x135)]>0x7d||this['_opcode']===0x8&&this[_0x37cf03(0x135)]===0x1){const _0x3e7afe=this[_0x37cf03(0x2ce)](RangeError,_0x37cf03(0x275)+this['_payloadLength'],!0x0,0x3ea,_0x37cf03(0x2be));_0xcd4cec(_0x3e7afe);return;}}else{const _0x5dd849=this[_0x37cf03(0x2ce)](RangeError,'invalid\x20opcode\x20'+this[_0x37cf03(0x295)],!0x0,0x3ea,_0x37cf03(0x207));_0xcd4cec(_0x5dd849);return;}}}if(!this[_0x37cf03(0x1b2)]&&!this['_fragmented']&&(this[_0x37cf03(0x22a)]=this[_0x37cf03(0x295)]),this['_masked']=(_0x20d4fc[0x1]&0x80)===0x80,this[_0x37cf03(0x181)]){if(!this[_0x37cf03(0x27e)]){const _0x14dd31=this[_0x37cf03(0x2ce)](RangeError,_0x37cf03(0x2c0),!0x0,0x3ea,_0x37cf03(0x132));_0xcd4cec(_0x14dd31);return;}}else{if(this['_masked']){const _0x361bea=this['createError'](RangeError,'MASK\x20must\x20be\x20clear',!0x0,0x3ea,_0x37cf03(0x26b));_0xcd4cec(_0x361bea);return;}}this[_0x37cf03(0x135)]===0x7e?this['_state']=_0x2b91f0:this[_0x37cf03(0x135)]===0x7f?this['_state']=_0x1dacf9:this[_0x37cf03(0x1c0)](_0xcd4cec);}[_0x242ef0(0x2a9)](_0x27326b){const _0x1864f7=_0x242ef0;if(this[_0x1864f7(0x15f)]<0x2){this['_loop']=!0x1;return;}this['_payloadLength']=this[_0x1864f7(0x1f0)](0x2)[_0x1864f7(0x152)](0x0),this['haveLength'](_0x27326b);}[_0x242ef0(0x29c)](_0x2278bf){const _0x5a7de2=_0x242ef0;if(this[_0x5a7de2(0x15f)]<0x8){this[_0x5a7de2(0x20e)]=!0x1;return;}const _0x4b82c4=this[_0x5a7de2(0x1f0)](0x8),_0x55c84a=_0x4b82c4[_0x5a7de2(0x1c9)](0x0);if(_0x55c84a>Math[_0x5a7de2(0x2cc)](0x2,0x15)-0x1){const _0x30f509=this[_0x5a7de2(0x2ce)](RangeError,_0x5a7de2(0x140),!0x1,0x3f1,_0x5a7de2(0x258));_0x2278bf(_0x30f509);return;}this[_0x5a7de2(0x135)]=_0x55c84a*Math[_0x5a7de2(0x2cc)](0x2,0x20)+_0x4b82c4[_0x5a7de2(0x1c9)](0x4),this['haveLength'](_0x2278bf);}[_0x242ef0(0x1c0)](_0x4e1a8b){const _0xe4aff2=_0x242ef0;if(this[_0xe4aff2(0x135)]&&this[_0xe4aff2(0x295)]<0x8&&(this['_totalPayloadLength']+=this[_0xe4aff2(0x135)],this[_0xe4aff2(0x25f)]>this['_maxPayload']&&this['_maxPayload']>0x0)){const _0x308fb1=this[_0xe4aff2(0x2ce)](RangeError,_0xe4aff2(0x286),!0x1,0x3f1,_0xe4aff2(0x191));_0x4e1a8b(_0x308fb1);return;}this[_0xe4aff2(0x27e)]?this['_state']=_0x3f567b:this[_0xe4aff2(0x2db)]=_0x483738;}[_0x242ef0(0x2a1)](){const _0x491347=_0x242ef0;if(this[_0x491347(0x15f)]<0x4){this['_loop']=!0x1;return;}this[_0x491347(0x27c)]=this[_0x491347(0x1f0)](0x4),this[_0x491347(0x2db)]=_0x483738;}['getData'](_0x3db27e){const _0x5d4ad9=_0x242ef0;let _0x103dfa=_0x6e4354;if(this[_0x5d4ad9(0x135)]){if(this[_0x5d4ad9(0x15f)]<this[_0x5d4ad9(0x135)]){this['_loop']=!0x1;return;}_0x103dfa=this[_0x5d4ad9(0x1f0)](this[_0x5d4ad9(0x135)]),this['_masked']&&(this['_mask'][0x0]|this['_mask'][0x1]|this[_0x5d4ad9(0x27c)][0x2]|this['_mask'][0x3])!==0x0&&_0x39888b(_0x103dfa,this[_0x5d4ad9(0x27c)]);}if(this['_opcode']>0x7){this[_0x5d4ad9(0x26d)](_0x103dfa,_0x3db27e);return;}if(this[_0x5d4ad9(0x1cd)]){this[_0x5d4ad9(0x2db)]=_0x15fa72,this[_0x5d4ad9(0x1cc)](_0x103dfa,_0x3db27e);return;}_0x103dfa[_0x5d4ad9(0x1b8)]&&(this[_0x5d4ad9(0x1f2)]=this[_0x5d4ad9(0x25f)],this[_0x5d4ad9(0x289)][_0x5d4ad9(0x22f)](_0x103dfa)),this[_0x5d4ad9(0x189)](_0x3db27e);}[_0x242ef0(0x1cc)](_0x28c31b,_0xac8db8){const _0x278ddb=_0x242ef0;this[_0x278ddb(0x154)][_0x54e617[_0x278ddb(0x247)]][_0x278ddb(0x1cc)](_0x28c31b,this[_0x278ddb(0x1b2)],(_0x316f17,_0x3481cf)=>{const _0x156bf0=_0x278ddb;if(_0x316f17)return _0xac8db8(_0x316f17);if(_0x3481cf[_0x156bf0(0x1b8)]){if(this[_0x156bf0(0x1f2)]+=_0x3481cf[_0x156bf0(0x1b8)],this[_0x156bf0(0x1f2)]>this[_0x156bf0(0x17b)]&&this['_maxPayload']>0x0){const _0x16da1e=this['createError'](RangeError,_0x156bf0(0x286),!0x1,0x3f1,_0x156bf0(0x191));_0xac8db8(_0x16da1e);return;}this[_0x156bf0(0x289)][_0x156bf0(0x22f)](_0x3481cf);}this['dataMessage'](_0xac8db8),this['_state']===_0x3e2080&&this[_0x156bf0(0x1aa)](_0xac8db8);});}[_0x242ef0(0x189)](_0x249d76){const _0x2abf85=_0x242ef0;if(!this[_0x2abf85(0x1b2)]){this['_state']=_0x3e2080;return;}const _0x8d8621=this[_0x2abf85(0x1f2)],_0x2e2469=this[_0x2abf85(0x289)];if(this[_0x2abf85(0x25f)]=0x0,this[_0x2abf85(0x1f2)]=0x0,this[_0x2abf85(0x22a)]=0x0,this[_0x2abf85(0x289)]=[],this['_opcode']===0x2){let _0x9c1b33;this['_binaryType']===_0x2abf85(0x2ad)?_0x9c1b33=_0x37c746(_0x2e2469,_0x8d8621):this[_0x2abf85(0x199)]===_0x2abf85(0x171)?_0x9c1b33=_0x29b7aa(_0x37c746(_0x2e2469,_0x8d8621)):this[_0x2abf85(0x199)]===_0x2abf85(0x1ea)?_0x9c1b33=new Blob(_0x2e2469):_0x9c1b33=_0x2e2469,this[_0x2abf85(0x15b)]?(this[_0x2abf85(0x170)]('message',_0x9c1b33,!0x0),this[_0x2abf85(0x2db)]=_0x3e2080):(this[_0x2abf85(0x2db)]=_0xd73e57,setImmediate(()=>{const _0x16ea9f=_0x2abf85;this[_0x16ea9f(0x170)]('message',_0x9c1b33,!0x0),this[_0x16ea9f(0x2db)]=_0x3e2080,this[_0x16ea9f(0x1aa)](_0x249d76);}));}else{const _0xc650f0=_0x37c746(_0x2e2469,_0x8d8621);if(!this[_0x2abf85(0x1a7)]&&!_0x231fe5(_0xc650f0)){const _0x312b78=this[_0x2abf85(0x2ce)](Error,_0x2abf85(0x1f7),!0x0,0x3ef,_0x2abf85(0x243));_0x249d76(_0x312b78);return;}this[_0x2abf85(0x2db)]===_0x15fa72||this['_allowSynchronousEvents']?(this['emit'](_0x2abf85(0x186),_0xc650f0,!0x1),this[_0x2abf85(0x2db)]=_0x3e2080):(this[_0x2abf85(0x2db)]=_0xd73e57,setImmediate(()=>{const _0x45cb7b=_0x2abf85;this[_0x45cb7b(0x170)]('message',_0xc650f0,!0x1),this[_0x45cb7b(0x2db)]=_0x3e2080,this[_0x45cb7b(0x1aa)](_0x249d76);}));}}[_0x242ef0(0x26d)](_0x192c54,_0x3affcf){const _0xa0627e=_0x242ef0;if(this[_0xa0627e(0x295)]===0x8){if(_0x192c54[_0xa0627e(0x1b8)]===0x0)this['_loop']=!0x1,this[_0xa0627e(0x170)](_0xa0627e(0x15c),0x3ed,_0x6e4354),this[_0xa0627e(0x293)]();else{const _0x131118=_0x192c54[_0xa0627e(0x152)](0x0);if(!_0x277df8(_0x131118)){const _0x4eb28a=this[_0xa0627e(0x2ce)](RangeError,'invalid\x20status\x20code\x20'+_0x131118,!0x0,0x3ea,_0xa0627e(0x1cf));_0x3affcf(_0x4eb28a);return;}const _0xe39c40=new _0x6ec96a(_0x192c54[_0xa0627e(0x1ac)],_0x192c54['byteOffset']+0x2,_0x192c54[_0xa0627e(0x1b8)]-0x2);if(!this[_0xa0627e(0x1a7)]&&!_0x231fe5(_0xe39c40)){const _0x24ca60=this['createError'](Error,_0xa0627e(0x1f7),!0x0,0x3ef,_0xa0627e(0x243));_0x3affcf(_0x24ca60);return;}this[_0xa0627e(0x20e)]=!0x1,this[_0xa0627e(0x170)](_0xa0627e(0x15c),_0x131118,_0xe39c40),this[_0xa0627e(0x293)]();}this[_0xa0627e(0x2db)]=_0x3e2080;return;}this['_allowSynchronousEvents']?(this[_0xa0627e(0x170)](this[_0xa0627e(0x295)]===0x9?_0xa0627e(0x2a2):_0xa0627e(0x223),_0x192c54),this[_0xa0627e(0x2db)]=_0x3e2080):(this[_0xa0627e(0x2db)]=_0xd73e57,setImmediate(()=>{const _0x43debd=_0xa0627e;this[_0x43debd(0x170)](this[_0x43debd(0x295)]===0x9?_0x43debd(0x2a2):_0x43debd(0x223),_0x192c54),this['_state']=_0x3e2080,this[_0x43debd(0x1aa)](_0x3affcf);}));}[_0x242ef0(0x2ce)](_0x121735,_0x2251fe,_0x226274,_0x4f984a,_0x2ba9d0){const _0x58b743=_0x242ef0;this['_loop']=!0x1,this[_0x58b743(0x2d9)]=!0x0;const _0x58dc1c=new _0x121735(_0x226274?_0x58b743(0x276)+_0x2251fe:_0x2251fe);return Error[_0x58b743(0x240)](_0x58dc1c,this[_0x58b743(0x2ce)]),_0x58dc1c[_0x58b743(0x292)]=_0x2ba9d0,_0x58dc1c[_0x47b9a6]=_0x4f984a,_0x58dc1c;}}return Se=_0x4994db,Se;}var Ee,et;function _t(){const _0xa83917=_0x3e7491;if(et)return Ee;et=0x1;const {Duplex:_0x537830}=_0x18c39f,{randomFillSync:_0x132cb8}=_0x245205,_0x566746=he(),{EMPTY_BUFFER:_0x3ad2cf,kWebSocket:_0x684511,NOOP:_0x31e668}=V(),{isBlob:_0x1a4998,isValidStatusCode:_0x3d5d68}=ne(),{mask:_0x3d3241,toBuffer:_0x2e7746}=ce(),_0x3ae124=Symbol(_0xa83917(0x136)),_0x59ec3b=Buffer[_0xa83917(0x28a)](0x4),_0x134db0=0x8*0x400;let _0x3dd2c4,_0x431dea=_0x134db0;const _0x490bdd=0x0,_0x10d611=0x1,_0x2d4677=0x2;class _0x4c2616{constructor(_0x2a2f08,_0x3e5d9a,_0x810f32){const _0x47e850=_0xa83917;this[_0x47e850(0x154)]=_0x3e5d9a||{},_0x810f32&&(this[_0x47e850(0x256)]=_0x810f32,this[_0x47e850(0x184)]=Buffer[_0x47e850(0x28a)](0x4)),this[_0x47e850(0x2ca)]=_0x2a2f08,this[_0x47e850(0x1fb)]=!0x0,this['_compress']=!0x1,this[_0x47e850(0x15f)]=0x0,this[_0x47e850(0x13e)]=[],this[_0x47e850(0x2db)]=_0x490bdd,this[_0x47e850(0x2c2)]=_0x31e668,this[_0x684511]=void 0x0;}static['frame'](_0x42dd8a,_0x2df46){const _0x4ac511=_0xa83917;let _0x143ecc,_0x553a32=!0x1,_0x31049d=0x2,_0x131940=!0x1;_0x2df46[_0x4ac511(0x233)]&&(_0x143ecc=_0x2df46['maskBuffer']||_0x59ec3b,_0x2df46[_0x4ac511(0x206)]?_0x2df46[_0x4ac511(0x206)](_0x143ecc):(_0x431dea===_0x134db0&&(_0x3dd2c4===void 0x0&&(_0x3dd2c4=Buffer['alloc'](_0x134db0)),_0x132cb8(_0x3dd2c4,0x0,_0x134db0),_0x431dea=0x0),_0x143ecc[0x0]=_0x3dd2c4[_0x431dea++],_0x143ecc[0x1]=_0x3dd2c4[_0x431dea++],_0x143ecc[0x2]=_0x3dd2c4[_0x431dea++],_0x143ecc[0x3]=_0x3dd2c4[_0x431dea++]),_0x131940=(_0x143ecc[0x0]|_0x143ecc[0x1]|_0x143ecc[0x2]|_0x143ecc[0x3])===0x0,_0x31049d=0x6);let _0x3bd8be;typeof _0x42dd8a=='string'?(!_0x2df46[_0x4ac511(0x233)]||_0x131940)&&_0x2df46[_0x3ae124]!==void 0x0?_0x3bd8be=_0x2df46[_0x3ae124]:(_0x42dd8a=Buffer[_0x4ac511(0x251)](_0x42dd8a),_0x3bd8be=_0x42dd8a[_0x4ac511(0x1b8)]):(_0x3bd8be=_0x42dd8a[_0x4ac511(0x1b8)],_0x553a32=_0x2df46['mask']&&_0x2df46[_0x4ac511(0x2a8)]&&!_0x131940);let _0x48ea12=_0x3bd8be;_0x3bd8be>=0x10000?(_0x31049d+=0x8,_0x48ea12=0x7f):_0x3bd8be>0x7d&&(_0x31049d+=0x2,_0x48ea12=0x7e);const _0x52624f=Buffer[_0x4ac511(0x283)](_0x553a32?_0x3bd8be+_0x31049d:_0x31049d);return _0x52624f[0x0]=_0x2df46[_0x4ac511(0x2d1)]?_0x2df46['opcode']|0x80:_0x2df46[_0x4ac511(0x277)],_0x2df46['rsv1']&&(_0x52624f[0x0]|=0x40),_0x52624f[0x1]=_0x48ea12,_0x48ea12===0x7e?_0x52624f[_0x4ac511(0x205)](_0x3bd8be,0x2):_0x48ea12===0x7f&&(_0x52624f[0x2]=_0x52624f[0x3]=0x0,_0x52624f[_0x4ac511(0x14b)](_0x3bd8be,0x4,0x6)),_0x2df46[_0x4ac511(0x233)]?(_0x52624f[0x1]|=0x80,_0x52624f[_0x31049d-0x4]=_0x143ecc[0x0],_0x52624f[_0x31049d-0x3]=_0x143ecc[0x1],_0x52624f[_0x31049d-0x2]=_0x143ecc[0x2],_0x52624f[_0x31049d-0x1]=_0x143ecc[0x3],_0x131940?[_0x52624f,_0x42dd8a]:_0x553a32?(_0x3d3241(_0x42dd8a,_0x143ecc,_0x52624f,_0x31049d,_0x3bd8be),[_0x52624f]):(_0x3d3241(_0x42dd8a,_0x143ecc,_0x42dd8a,0x0,_0x3bd8be),[_0x52624f,_0x42dd8a])):[_0x52624f,_0x42dd8a];}[_0xa83917(0x2d7)](_0x40a980,_0x5cb72d,_0x23b0bb,_0x2b17c9){const _0x38b4ff=_0xa83917;let _0x386683;if(_0x40a980===void 0x0)_0x386683=_0x3ad2cf;else{if(typeof _0x40a980!=_0x38b4ff(0x235)||!_0x3d5d68(_0x40a980))throw new TypeError(_0x38b4ff(0x2a3));if(_0x5cb72d===void 0x0||!_0x5cb72d['length'])_0x386683=Buffer[_0x38b4ff(0x283)](0x2),_0x386683[_0x38b4ff(0x205)](_0x40a980,0x0);else{const _0x4a30a5=Buffer[_0x38b4ff(0x151)](_0x5cb72d);if(_0x4a30a5>0x7b)throw new RangeError(_0x38b4ff(0x2b6));_0x386683=Buffer['allocUnsafe'](0x2+_0x4a30a5),_0x386683[_0x38b4ff(0x205)](_0x40a980,0x0),typeof _0x5cb72d==_0x38b4ff(0x20f)?_0x386683[_0x38b4ff(0x1b9)](_0x5cb72d,0x2):_0x386683[_0x38b4ff(0x1ed)](_0x5cb72d,0x2);}}const _0x1c0ab0={[_0x3ae124]:_0x386683['length'],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x23b0bb,'maskBuffer':this[_0x38b4ff(0x184)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this['_state']!==_0x490bdd?this[_0x38b4ff(0x216)]([this[_0x38b4ff(0x244)],_0x386683,!0x1,_0x1c0ab0,_0x2b17c9]):this['sendFrame'](_0x4c2616[_0x38b4ff(0x1d4)](_0x386683,_0x1c0ab0),_0x2b17c9);}[_0xa83917(0x2a2)](_0xadf9af,_0x2b7f00,_0x376cfd){const _0x290bce=_0xa83917;let _0x2ef06e,_0x426598;if(typeof _0xadf9af==_0x290bce(0x20f)?(_0x2ef06e=Buffer[_0x290bce(0x151)](_0xadf9af),_0x426598=!0x1):_0x1a4998(_0xadf9af)?(_0x2ef06e=_0xadf9af[_0x290bce(0x2a4)],_0x426598=!0x1):(_0xadf9af=_0x2e7746(_0xadf9af),_0x2ef06e=_0xadf9af[_0x290bce(0x1b8)],_0x426598=_0x2e7746[_0x290bce(0x2a8)]),_0x2ef06e>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x20bb7b={[_0x3ae124]:_0x2ef06e,'fin':!0x0,'generateMask':this[_0x290bce(0x256)],'mask':_0x2b7f00,'maskBuffer':this['_maskBuffer'],'opcode':0x9,'readOnly':_0x426598,'rsv1':!0x1};_0x1a4998(_0xadf9af)?this[_0x290bce(0x2db)]!==_0x490bdd?this[_0x290bce(0x216)]([this[_0x290bce(0x280)],_0xadf9af,!0x1,_0x20bb7b,_0x376cfd]):this[_0x290bce(0x280)](_0xadf9af,!0x1,_0x20bb7b,_0x376cfd):this['_state']!==_0x490bdd?this[_0x290bce(0x216)]([this['dispatch'],_0xadf9af,!0x1,_0x20bb7b,_0x376cfd]):this['sendFrame'](_0x4c2616[_0x290bce(0x1d4)](_0xadf9af,_0x20bb7b),_0x376cfd);}[_0xa83917(0x223)](_0x2915f1,_0x5b2819,_0x54db1a){const _0x586893=_0xa83917;let _0x582b74,_0x133870;if(typeof _0x2915f1=='string'?(_0x582b74=Buffer['byteLength'](_0x2915f1),_0x133870=!0x1):_0x1a4998(_0x2915f1)?(_0x582b74=_0x2915f1[_0x586893(0x2a4)],_0x133870=!0x1):(_0x2915f1=_0x2e7746(_0x2915f1),_0x582b74=_0x2915f1[_0x586893(0x1b8)],_0x133870=_0x2e7746[_0x586893(0x2a8)]),_0x582b74>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x44ff26={[_0x3ae124]:_0x582b74,'fin':!0x0,'generateMask':this[_0x586893(0x256)],'mask':_0x5b2819,'maskBuffer':this[_0x586893(0x184)],'opcode':0xa,'readOnly':_0x133870,'rsv1':!0x1};_0x1a4998(_0x2915f1)?this[_0x586893(0x2db)]!==_0x490bdd?this[_0x586893(0x216)]([this[_0x586893(0x280)],_0x2915f1,!0x1,_0x44ff26,_0x54db1a]):this[_0x586893(0x280)](_0x2915f1,!0x1,_0x44ff26,_0x54db1a):this[_0x586893(0x2db)]!==_0x490bdd?this[_0x586893(0x216)]([this['dispatch'],_0x2915f1,!0x1,_0x44ff26,_0x54db1a]):this[_0x586893(0x210)](_0x4c2616[_0x586893(0x1d4)](_0x2915f1,_0x44ff26),_0x54db1a);}['send'](_0x4ed65f,_0x287c86,_0x3eec96){const _0x25a259=_0xa83917,_0x48e154=this[_0x25a259(0x154)][_0x566746[_0x25a259(0x247)]];let _0x2708ff=_0x287c86[_0x25a259(0x28b)]?0x2:0x1,_0xc8328e=_0x287c86[_0x25a259(0x281)],_0x22197f,_0x54ab2b;typeof _0x4ed65f==_0x25a259(0x20f)?(_0x22197f=Buffer[_0x25a259(0x151)](_0x4ed65f),_0x54ab2b=!0x1):_0x1a4998(_0x4ed65f)?(_0x22197f=_0x4ed65f[_0x25a259(0x2a4)],_0x54ab2b=!0x1):(_0x4ed65f=_0x2e7746(_0x4ed65f),_0x22197f=_0x4ed65f['length'],_0x54ab2b=_0x2e7746[_0x25a259(0x2a8)]),this['_firstFragment']?(this['_firstFragment']=!0x1,_0xc8328e&&_0x48e154&&_0x48e154[_0x25a259(0x182)][_0x48e154['_isServer']?_0x25a259(0x1b3):'client_no_context_takeover']&&(_0xc8328e=_0x22197f>=_0x48e154[_0x25a259(0x26f)]),this[_0x25a259(0x253)]=_0xc8328e):(_0xc8328e=!0x1,_0x2708ff=0x0),_0x287c86[_0x25a259(0x2d1)]&&(this[_0x25a259(0x1fb)]=!0x0);const _0x2d57b1={[_0x3ae124]:_0x22197f,'fin':_0x287c86[_0x25a259(0x2d1)],'generateMask':this[_0x25a259(0x256)],'mask':_0x287c86[_0x25a259(0x233)],'maskBuffer':this[_0x25a259(0x184)],'opcode':_0x2708ff,'readOnly':_0x54ab2b,'rsv1':_0xc8328e};_0x1a4998(_0x4ed65f)?this[_0x25a259(0x2db)]!==_0x490bdd?this[_0x25a259(0x216)]([this['getBlobData'],_0x4ed65f,this[_0x25a259(0x253)],_0x2d57b1,_0x3eec96]):this['getBlobData'](_0x4ed65f,this[_0x25a259(0x253)],_0x2d57b1,_0x3eec96):this[_0x25a259(0x2db)]!==_0x490bdd?this[_0x25a259(0x216)]([this[_0x25a259(0x244)],_0x4ed65f,this['_compress'],_0x2d57b1,_0x3eec96]):this['dispatch'](_0x4ed65f,this['_compress'],_0x2d57b1,_0x3eec96);}[_0xa83917(0x280)](_0x264cfb,_0x3de0bc,_0x4de73e,_0x31ff37){const _0x5674bb=_0xa83917;this['_bufferedBytes']+=_0x4de73e[_0x3ae124],this[_0x5674bb(0x2db)]=_0x2d4677,_0x264cfb[_0x5674bb(0x20b)]()[_0x5674bb(0x254)](_0x359099=>{const _0x42b1fc=_0x5674bb;if(this[_0x42b1fc(0x2ca)][_0x42b1fc(0x158)]){const _0x47010f=new Error(_0x42b1fc(0x23e));process[_0x42b1fc(0x1c4)](_0x26a853,this,_0x47010f,_0x31ff37);return;}this[_0x42b1fc(0x15f)]-=_0x4de73e[_0x3ae124];const _0x528ae0=_0x2e7746(_0x359099);_0x3de0bc?this['dispatch'](_0x528ae0,_0x3de0bc,_0x4de73e,_0x31ff37):(this[_0x42b1fc(0x2db)]=_0x490bdd,this[_0x42b1fc(0x210)](_0x4c2616[_0x42b1fc(0x1d4)](_0x528ae0,_0x4de73e),_0x31ff37),this[_0x42b1fc(0x1c7)]());})['catch'](_0x1cd0f5=>{const _0x386a2b=_0x5674bb;process[_0x386a2b(0x1c4)](_0x87934d,this,_0x1cd0f5,_0x31ff37);});}[_0xa83917(0x244)](_0x5c3831,_0x3e8436,_0x5f3227,_0x33da89){const _0x266f3b=_0xa83917;if(!_0x3e8436){this['sendFrame'](_0x4c2616[_0x266f3b(0x1d4)](_0x5c3831,_0x5f3227),_0x33da89);return;}const _0x5624ac=this[_0x266f3b(0x154)][_0x566746[_0x266f3b(0x247)]];this[_0x266f3b(0x15f)]+=_0x5f3227[_0x3ae124],this[_0x266f3b(0x2db)]=_0x10d611,_0x5624ac[_0x266f3b(0x281)](_0x5c3831,_0x5f3227['fin'],(_0x3247fe,_0x416938)=>{const _0x45ce66=_0x266f3b;if(this['_socket'][_0x45ce66(0x158)]){const _0x2e3344=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x26a853(this,_0x2e3344,_0x33da89);return;}this[_0x45ce66(0x15f)]-=_0x5f3227[_0x3ae124],this[_0x45ce66(0x2db)]=_0x490bdd,_0x5f3227['readOnly']=!0x1,this[_0x45ce66(0x210)](_0x4c2616[_0x45ce66(0x1d4)](_0x416938,_0x5f3227),_0x33da89),this[_0x45ce66(0x1c7)]();});}[_0xa83917(0x1c7)](){const _0x376818=_0xa83917;for(;this[_0x376818(0x2db)]===_0x490bdd&&this[_0x376818(0x13e)]['length'];){const _0x1244bb=this[_0x376818(0x13e)]['shift']();this[_0x376818(0x15f)]-=_0x1244bb[0x3][_0x3ae124],Reflect['apply'](_0x1244bb[0x0],this,_0x1244bb['slice'](0x1));}}[_0xa83917(0x216)](_0x99d32d){const _0x2d3f1f=_0xa83917;this[_0x2d3f1f(0x15f)]+=_0x99d32d[0x3][_0x3ae124],this[_0x2d3f1f(0x13e)][_0x2d3f1f(0x22f)](_0x99d32d);}[_0xa83917(0x210)](_0x3a7530,_0x416bac){const _0x27cb0f=_0xa83917;_0x3a7530[_0x27cb0f(0x1b8)]===0x2?(this[_0x27cb0f(0x2ca)][_0x27cb0f(0x262)](),this[_0x27cb0f(0x2ca)]['write'](_0x3a7530[0x0]),this['_socket'][_0x27cb0f(0x1b9)](_0x3a7530[0x1],_0x416bac),this[_0x27cb0f(0x2ca)][_0x27cb0f(0x2b1)]()):this[_0x27cb0f(0x2ca)][_0x27cb0f(0x1b9)](_0x3a7530[0x0],_0x416bac);}}Ee=_0x4c2616;function _0x26a853(_0x158161,_0x37ae27,_0x51f3de){const _0x45beab=_0xa83917;typeof _0x51f3de==_0x45beab(0x130)&&_0x51f3de(_0x37ae27);for(let _0x50db62=0x0;_0x50db62<_0x158161[_0x45beab(0x13e)][_0x45beab(0x1b8)];_0x50db62++){const _0x2bf9aa=_0x158161[_0x45beab(0x13e)][_0x50db62],_0x46b4e2=_0x2bf9aa[_0x2bf9aa[_0x45beab(0x1b8)]-0x1];typeof _0x46b4e2=='function'&&_0x46b4e2(_0x37ae27);}}function _0x87934d(_0x201d47,_0x52f8a5,_0x9a8c72){const _0x147da7=_0xa83917;_0x26a853(_0x201d47,_0x52f8a5,_0x9a8c72),_0x201d47[_0x147da7(0x2c2)](_0x52f8a5);}return Ee;}var xe,tt;function Kt(){const _0xf789c7=_0x3e7491;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x5c388b,kListener:_0x158d6c}=V(),_0x3cd573=Symbol(_0xf789c7(0x21d)),_0x109748=Symbol(_0xf789c7(0x1a2)),_0x55c3b0=Symbol(_0xf789c7(0x2b5)),_0x79f5b0=Symbol('kMessage'),_0x4fe828=Symbol(_0xf789c7(0x1e9)),_0x4129d2=Symbol(_0xf789c7(0x24e)),_0x14d0fc=Symbol('kType'),_0x33d7ed=Symbol(_0xf789c7(0x13b));class _0x267d72{constructor(_0x3159f8){this[_0x4129d2]=null,this[_0x14d0fc]=_0x3159f8;}get['target'](){return this[_0x4129d2];}get[_0xf789c7(0x14a)](){return this[_0x14d0fc];}}Object[_0xf789c7(0x1c6)](_0x267d72[_0xf789c7(0x271)],_0xf789c7(0x1bd),{'enumerable':!0x0}),Object[_0xf789c7(0x1c6)](_0x267d72[_0xf789c7(0x271)],_0xf789c7(0x14a),{'enumerable':!0x0});class _0x132300 extends _0x267d72{constructor(_0x19aece,_0x576bc4={}){const _0x2ba23b=_0xf789c7;super(_0x19aece),this[_0x3cd573]=_0x576bc4['code']===void 0x0?0x0:_0x576bc4[_0x2ba23b(0x292)],this[_0x4fe828]=_0x576bc4[_0x2ba23b(0x141)]===void 0x0?'':_0x576bc4[_0x2ba23b(0x141)],this[_0x33d7ed]=_0x576bc4[_0x2ba23b(0x145)]===void 0x0?!0x1:_0x576bc4[_0x2ba23b(0x145)];}get[_0xf789c7(0x292)](){return this[_0x3cd573];}get[_0xf789c7(0x141)](){return this[_0x4fe828];}get['wasClean'](){return this[_0x33d7ed];}}Object[_0xf789c7(0x1c6)](_0x132300[_0xf789c7(0x271)],_0xf789c7(0x292),{'enumerable':!0x0}),Object[_0xf789c7(0x1c6)](_0x132300[_0xf789c7(0x271)],_0xf789c7(0x141),{'enumerable':!0x0}),Object[_0xf789c7(0x1c6)](_0x132300[_0xf789c7(0x271)],_0xf789c7(0x145),{'enumerable':!0x0});class _0x25aa99 extends _0x267d72{constructor(_0x11fe81,_0x563c50={}){const _0x6107ea=_0xf789c7;super(_0x11fe81),this[_0x55c3b0]=_0x563c50[_0x6107ea(0x180)]===void 0x0?null:_0x563c50[_0x6107ea(0x180)],this[_0x79f5b0]=_0x563c50[_0x6107ea(0x186)]===void 0x0?'':_0x563c50[_0x6107ea(0x186)];}get[_0xf789c7(0x180)](){return this[_0x55c3b0];}get[_0xf789c7(0x186)](){return this[_0x79f5b0];}}Object[_0xf789c7(0x1c6)](_0x25aa99[_0xf789c7(0x271)],_0xf789c7(0x180),{'enumerable':!0x0}),Object[_0xf789c7(0x1c6)](_0x25aa99['prototype'],_0xf789c7(0x186),{'enumerable':!0x0});class _0x1f9159 extends _0x267d72{constructor(_0x4bc5b3,_0x36d825={}){const _0x39a31e=_0xf789c7;super(_0x4bc5b3),this[_0x109748]=_0x36d825[_0x39a31e(0x225)]===void 0x0?null:_0x36d825[_0x39a31e(0x225)];}get[_0xf789c7(0x225)](){return this[_0x109748];}}Object[_0xf789c7(0x1c6)](_0x1f9159[_0xf789c7(0x271)],_0xf789c7(0x225),{'enumerable':!0x0}),xe={'CloseEvent':_0x132300,'ErrorEvent':_0x25aa99,'Event':_0x267d72,'EventTarget':{'addEventListener'(_0x38fbd7,_0x5e123d,_0x38f1aa={}){const _0x5bc49e=_0xf789c7;for(const _0x127cd5 of this[_0x5bc49e(0x1f3)](_0x38fbd7))if(!_0x38f1aa[_0x5c388b]&&_0x127cd5[_0x158d6c]===_0x5e123d&&!_0x127cd5[_0x5c388b])return;let _0x31a7ac;if(_0x38fbd7===_0x5bc49e(0x186))_0x31a7ac=function(_0x1f0a25,_0x37657b){const _0x3c1752=_0x5bc49e,_0x3f6b47=new _0x1f9159(_0x3c1752(0x186),{'data':_0x37657b?_0x1f0a25:_0x1f0a25[_0x3c1752(0x198)]()});_0x3f6b47[_0x4129d2]=this,_0x4490fa(_0x5e123d,this,_0x3f6b47);};else{if(_0x38fbd7===_0x5bc49e(0x2d7))_0x31a7ac=function(_0x373928,_0x2faf40){const _0x5355c8=_0x5bc49e,_0xe70e09=new _0x132300('close',{'code':_0x373928,'reason':_0x2faf40[_0x5355c8(0x198)](),'wasClean':this['_closeFrameReceived']&&this[_0x5355c8(0x202)]});_0xe70e09[_0x4129d2]=this,_0x4490fa(_0x5e123d,this,_0xe70e09);};else{if(_0x38fbd7===_0x5bc49e(0x180))_0x31a7ac=function(_0x34a4ac){const _0x2d3d08=_0x5bc49e,_0xb1aef8=new _0x25aa99(_0x2d3d08(0x180),{'error':_0x34a4ac,'message':_0x34a4ac[_0x2d3d08(0x186)]});_0xb1aef8[_0x4129d2]=this,_0x4490fa(_0x5e123d,this,_0xb1aef8);};else{if(_0x38fbd7===_0x5bc49e(0x2b9))_0x31a7ac=function(){const _0x18564f=_0x5bc49e,_0x34fb6c=new _0x267d72(_0x18564f(0x2b9));_0x34fb6c[_0x4129d2]=this,_0x4490fa(_0x5e123d,this,_0x34fb6c);};else return;}}}_0x31a7ac[_0x5c388b]=!!_0x38f1aa[_0x5c388b],_0x31a7ac[_0x158d6c]=_0x5e123d,_0x38f1aa[_0x5bc49e(0x1b6)]?this[_0x5bc49e(0x1b6)](_0x38fbd7,_0x31a7ac):this['on'](_0x38fbd7,_0x31a7ac);},'removeEventListener'(_0x5c9852,_0x1b29cf){const _0xb95f5=_0xf789c7;for(const _0x39b35b of this[_0xb95f5(0x1f3)](_0x5c9852))if(_0x39b35b[_0x158d6c]===_0x1b29cf&&!_0x39b35b[_0x5c388b]){this[_0xb95f5(0x13a)](_0x5c9852,_0x39b35b);break;}}},'MessageEvent':_0x1f9159};function _0x4490fa(_0x51ae94,_0x23e073,_0x481700){const _0x71e98e=_0xf789c7;typeof _0x51ae94==_0x71e98e(0x1a9)&&_0x51ae94[_0x71e98e(0x2b2)]?_0x51ae94[_0x71e98e(0x2b2)][_0x71e98e(0x178)](_0x51ae94,_0x481700):_0x51ae94[_0x71e98e(0x178)](_0x23e073,_0x481700);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x368743}=ne();function _0x3c071f(_0x1dcbc9,_0x8f3d98,_0x5d0a8f){const _0x19be8d=_0x1da9;_0x1dcbc9[_0x8f3d98]===void 0x0?_0x1dcbc9[_0x8f3d98]=[_0x5d0a8f]:_0x1dcbc9[_0x8f3d98][_0x19be8d(0x22f)](_0x5d0a8f);}function _0x1d4bae(_0x1f3eef){const _0x1f5cc4=_0x1da9,_0x21e28f=Object[_0x1f5cc4(0x24a)](null);let _0x2bb1a2=Object['create'](null),_0x458137=!0x1,_0x2a230d=!0x1,_0x3866b7=!0x1,_0x27ffde,_0x49848a,_0x4fd469=-0x1,_0x27ee34=-0x1,_0xf0139c=-0x1,_0xb2ab0f=0x0;for(;_0xb2ab0f<_0x1f3eef['length'];_0xb2ab0f++)if(_0x27ee34=_0x1f3eef[_0x1f5cc4(0x1c3)](_0xb2ab0f),_0x27ffde===void 0x0){if(_0xf0139c===-0x1&&_0x368743[_0x27ee34]===0x1)_0x4fd469===-0x1&&(_0x4fd469=_0xb2ab0f);else{if(_0xb2ab0f!==0x0&&(_0x27ee34===0x20||_0x27ee34===0x9))_0xf0139c===-0x1&&_0x4fd469!==-0x1&&(_0xf0139c=_0xb2ab0f);else{if(_0x27ee34===0x3b||_0x27ee34===0x2c){if(_0x4fd469===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0xb2ab0f);_0xf0139c===-0x1&&(_0xf0139c=_0xb2ab0f);const _0x6faf84=_0x1f3eef['slice'](_0x4fd469,_0xf0139c);_0x27ee34===0x2c?(_0x3c071f(_0x21e28f,_0x6faf84,_0x2bb1a2),_0x2bb1a2=Object[_0x1f5cc4(0x24a)](null)):_0x27ffde=_0x6faf84,_0x4fd469=_0xf0139c=-0x1;}else throw new SyntaxError(_0x1f5cc4(0x2b3)+_0xb2ab0f);}}}else{if(_0x49848a===void 0x0){if(_0xf0139c===-0x1&&_0x368743[_0x27ee34]===0x1)_0x4fd469===-0x1&&(_0x4fd469=_0xb2ab0f);else{if(_0x27ee34===0x20||_0x27ee34===0x9)_0xf0139c===-0x1&&_0x4fd469!==-0x1&&(_0xf0139c=_0xb2ab0f);else{if(_0x27ee34===0x3b||_0x27ee34===0x2c){if(_0x4fd469===-0x1)throw new SyntaxError(_0x1f5cc4(0x2b3)+_0xb2ab0f);_0xf0139c===-0x1&&(_0xf0139c=_0xb2ab0f),_0x3c071f(_0x2bb1a2,_0x1f3eef[_0x1f5cc4(0x222)](_0x4fd469,_0xf0139c),!0x0),_0x27ee34===0x2c&&(_0x3c071f(_0x21e28f,_0x27ffde,_0x2bb1a2),_0x2bb1a2=Object[_0x1f5cc4(0x24a)](null),_0x27ffde=void 0x0),_0x4fd469=_0xf0139c=-0x1;}else{if(_0x27ee34===0x3d&&_0x4fd469!==-0x1&&_0xf0139c===-0x1)_0x49848a=_0x1f3eef[_0x1f5cc4(0x222)](_0x4fd469,_0xb2ab0f),_0x4fd469=_0xf0139c=-0x1;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0xb2ab0f);}}}}else{if(_0x2a230d){if(_0x368743[_0x27ee34]!==0x1)throw new SyntaxError(_0x1f5cc4(0x2b3)+_0xb2ab0f);_0x4fd469===-0x1?_0x4fd469=_0xb2ab0f:_0x458137||(_0x458137=!0x0),_0x2a230d=!0x1;}else{if(_0x3866b7){if(_0x368743[_0x27ee34]===0x1)_0x4fd469===-0x1&&(_0x4fd469=_0xb2ab0f);else{if(_0x27ee34===0x22&&_0x4fd469!==-0x1)_0x3866b7=!0x1,_0xf0139c=_0xb2ab0f;else{if(_0x27ee34===0x5c)_0x2a230d=!0x0;else throw new SyntaxError(_0x1f5cc4(0x2b3)+_0xb2ab0f);}}}else{if(_0x27ee34===0x22&&_0x1f3eef[_0x1f5cc4(0x1c3)](_0xb2ab0f-0x1)===0x3d)_0x3866b7=!0x0;else{if(_0xf0139c===-0x1&&_0x368743[_0x27ee34]===0x1)_0x4fd469===-0x1&&(_0x4fd469=_0xb2ab0f);else{if(_0x4fd469!==-0x1&&(_0x27ee34===0x20||_0x27ee34===0x9))_0xf0139c===-0x1&&(_0xf0139c=_0xb2ab0f);else{if(_0x27ee34===0x3b||_0x27ee34===0x2c){if(_0x4fd469===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0xb2ab0f);_0xf0139c===-0x1&&(_0xf0139c=_0xb2ab0f);let _0x19b46c=_0x1f3eef[_0x1f5cc4(0x222)](_0x4fd469,_0xf0139c);_0x458137&&(_0x19b46c=_0x19b46c[_0x1f5cc4(0x224)](/\\/g,''),_0x458137=!0x1),_0x3c071f(_0x2bb1a2,_0x49848a,_0x19b46c),_0x27ee34===0x2c&&(_0x3c071f(_0x21e28f,_0x27ffde,_0x2bb1a2),_0x2bb1a2=Object['create'](null),_0x27ffde=void 0x0),_0x49848a=void 0x0,_0x4fd469=_0xf0139c=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0xb2ab0f);}}}}}}}if(_0x4fd469===-0x1||_0x3866b7||_0x27ee34===0x20||_0x27ee34===0x9)throw new SyntaxError(_0x1f5cc4(0x20a));_0xf0139c===-0x1&&(_0xf0139c=_0xb2ab0f);const _0x1618ed=_0x1f3eef[_0x1f5cc4(0x222)](_0x4fd469,_0xf0139c);return _0x27ffde===void 0x0?_0x3c071f(_0x21e28f,_0x1618ed,_0x2bb1a2):(_0x49848a===void 0x0?_0x3c071f(_0x2bb1a2,_0x1618ed,!0x0):_0x458137?_0x3c071f(_0x2bb1a2,_0x49848a,_0x1618ed[_0x1f5cc4(0x224)](/\\/g,'')):_0x3c071f(_0x2bb1a2,_0x49848a,_0x1618ed),_0x3c071f(_0x21e28f,_0x27ffde,_0x2bb1a2)),_0x21e28f;}function _0x16f661(_0x431e82){const _0x38b7c4=_0x1da9;return Object['keys'](_0x431e82)[_0x38b7c4(0x25b)](_0x405b9c=>{const _0xa81a73=_0x38b7c4;let _0x5b7b13=_0x431e82[_0x405b9c];return Array[_0xa81a73(0x159)](_0x5b7b13)||(_0x5b7b13=[_0x5b7b13]),_0x5b7b13[_0xa81a73(0x25b)](_0x5d507a=>[_0x405b9c]['concat'](Object[_0xa81a73(0x149)](_0x5d507a)['map'](_0x36bd93=>{const _0x1b3023=_0xa81a73;let _0xd18725=_0x5d507a[_0x36bd93];return Array[_0x1b3023(0x159)](_0xd18725)||(_0xd18725=[_0xd18725]),_0xd18725['map'](_0x3bba2d=>_0x3bba2d===!0x0?_0x36bd93:_0x36bd93+'='+_0x3bba2d)['join'](';\x20');}))[_0xa81a73(0x174)](';\x20'))[_0xa81a73(0x174)](',\x20');})[_0x38b7c4(0x174)](',\x20');}return be={'format':_0x16f661,'parse':_0x1d4bae},be;}var we,st;function Ie(){const _0x5ad5f9=_0x3e7491;if(st)return we;st=0x1;const _0x188227=_0x30fedc,_0x12f155=_0x1d190d,_0x4e0739=_0x5ce828,_0x5c176c=_0x9ff531,_0x9e6add=_0x1a6001,{randomBytes:_0x51404a,createHash:_0x5d9a11}=_0x245205,{Duplex:_0x4569c2,Readable:_0x4c0ecb}=_0x18c39f,{URL:_0x21bc0c}=_0xe7a915,_0x14e1e9=he(),_0x2af6c1=dt(),_0x51539c=_t(),{isBlob:_0x1462a9}=ne(),{BINARY_TYPES:_0x206335,EMPTY_BUFFER:_0x24fe3a,GUID:_0x3f2bdf,kForOnEventAttribute:_0x4a3ee4,kListener:_0x20da57,kStatusCode:_0x3864ba,kWebSocket:_0x2e43ad,NOOP:_0x574680}=V(),{EventTarget:{addEventListener:_0x505ef8,removeEventListener:_0xe9a792}}=Kt(),{format:_0x5406fd,parse:_0x290ecf}=pt(),{toBuffer:_0x5649e5}=ce(),_0x4dde18=0x1e*0x3e8,_0x368751=Symbol('kAborted'),_0x16dd16=[0x8,0xd],_0x497291=['CONNECTING',_0x5ad5f9(0x187),_0x5ad5f9(0x218),_0x5ad5f9(0x162)],_0x3f3d7f=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x3f7084 extends _0x188227{constructor(_0x5957a3,_0x5414ec,_0x3f4a8c){const _0x352ecf=_0x5ad5f9;super(),this[_0x352ecf(0x199)]=_0x206335[0x0],this[_0x352ecf(0x279)]=0x3ee,this[_0x352ecf(0x1a4)]=!0x1,this['_closeFrameSent']=!0x1,this[_0x352ecf(0x19f)]=_0x24fe3a,this[_0x352ecf(0x299)]=null,this[_0x352ecf(0x133)]=!0x1,this['_extensions']={},this[_0x352ecf(0x1f8)]=!0x1,this[_0x352ecf(0x131)]='',this[_0x352ecf(0x1a6)]=_0x3f7084['CONNECTING'],this[_0x352ecf(0x1a5)]=null,this[_0x352ecf(0x1d3)]=null,this['_socket']=null,_0x5957a3!==null?(this['_bufferedAmount']=0x0,this[_0x352ecf(0x181)]=!0x1,this[_0x352ecf(0x179)]=0x0,_0x5414ec===void 0x0?_0x5414ec=[]:Array[_0x352ecf(0x159)](_0x5414ec)||(typeof _0x5414ec==_0x352ecf(0x1a9)&&_0x5414ec!==null?(_0x3f4a8c=_0x5414ec,_0x5414ec=[]):_0x5414ec=[_0x5414ec]),_0x40fb8a(this,_0x5957a3,_0x5414ec,_0x3f4a8c)):(this[_0x352ecf(0x200)]=_0x3f4a8c[_0x352ecf(0x176)],this[_0x352ecf(0x181)]=!0x0);}get['binaryType'](){const _0x208b09=_0x5ad5f9;return this[_0x208b09(0x199)];}set['binaryType'](_0x5c0b1e){const _0xacd361=_0x5ad5f9;_0x206335[_0xacd361(0x1ce)](_0x5c0b1e)&&(this[_0xacd361(0x199)]=_0x5c0b1e,this[_0xacd361(0x1a5)]&&(this[_0xacd361(0x1a5)][_0xacd361(0x199)]=_0x5c0b1e));}get[_0x5ad5f9(0x285)](){const _0x3dc348=_0x5ad5f9;return this[_0x3dc348(0x2ca)]?this[_0x3dc348(0x2ca)][_0x3dc348(0x196)][_0x3dc348(0x1b8)]+this[_0x3dc348(0x1d3)][_0x3dc348(0x15f)]:this['_bufferedAmount'];}get[_0x5ad5f9(0x261)](){const _0x516ad4=_0x5ad5f9;return Object[_0x516ad4(0x149)](this[_0x516ad4(0x154)])[_0x516ad4(0x174)]();}get[_0x5ad5f9(0x242)](){const _0x4ffaca=_0x5ad5f9;return this[_0x4ffaca(0x1f8)];}get['onclose'](){return null;}get[_0x5ad5f9(0x2c2)](){return null;}get[_0x5ad5f9(0x15e)](){return null;}get[_0x5ad5f9(0x201)](){return null;}get[_0x5ad5f9(0x150)](){const _0x1657dd=_0x5ad5f9;return this[_0x1657dd(0x131)];}get[_0x5ad5f9(0x2b8)](){const _0x5bc377=_0x5ad5f9;return this[_0x5bc377(0x1a6)];}get['url'](){const _0x138f11=_0x5ad5f9;return this[_0x138f11(0x26a)];}[_0x5ad5f9(0x236)](_0x4d381d,_0x2f0a97,_0x466302){const _0x3cef96=_0x5ad5f9,_0x2e4673=new _0x2af6c1({'allowSynchronousEvents':_0x466302['allowSynchronousEvents'],'binaryType':this['binaryType'],'extensions':this[_0x3cef96(0x154)],'isServer':this[_0x3cef96(0x181)],'maxPayload':_0x466302[_0x3cef96(0x185)],'skipUTF8Validation':_0x466302[_0x3cef96(0x1c8)]}),_0x352f9a=new _0x51539c(_0x4d381d,this[_0x3cef96(0x154)],_0x466302['generateMask']);this['_receiver']=_0x2e4673,this[_0x3cef96(0x1d3)]=_0x352f9a,this[_0x3cef96(0x2ca)]=_0x4d381d,_0x2e4673[_0x2e43ad]=this,_0x352f9a[_0x2e43ad]=this,_0x4d381d[_0x2e43ad]=this,_0x2e4673['on'](_0x3cef96(0x15c),_0x35ddd6),_0x2e4673['on'](_0x3cef96(0x274),_0x1443fe),_0x2e4673['on'](_0x3cef96(0x180),_0x4d5ad4),_0x2e4673['on'](_0x3cef96(0x186),_0x144dcc),_0x2e4673['on'](_0x3cef96(0x2a2),_0xdf31be),_0x2e4673['on'](_0x3cef96(0x223),_0x596e24),_0x352f9a[_0x3cef96(0x2c2)]=_0x49eb65,_0x4d381d[_0x3cef96(0x1d5)]&&_0x4d381d[_0x3cef96(0x1d5)](0x0),_0x4d381d[_0x3cef96(0x23f)]&&_0x4d381d[_0x3cef96(0x23f)](),_0x2f0a97['length']>0x0&&_0x4d381d[_0x3cef96(0x14e)](_0x2f0a97),_0x4d381d['on']('close',_0x2c1839),_0x4d381d['on'](_0x3cef96(0x225),_0x537887),_0x4d381d['on'](_0x3cef96(0x293),_0x207356),_0x4d381d['on'](_0x3cef96(0x180),_0x6c02c7),this[_0x3cef96(0x1a6)]=_0x3f7084[_0x3cef96(0x187)],this['emit'](_0x3cef96(0x2b9));}[_0x5ad5f9(0x2c8)](){const _0x313879=_0x5ad5f9;if(!this[_0x313879(0x2ca)]){this[_0x313879(0x1a6)]=_0x3f7084['CLOSED'],this[_0x313879(0x170)]('close',this['_closeCode'],this[_0x313879(0x19f)]);return;}this[_0x313879(0x154)][_0x14e1e9['extensionName']]&&this[_0x313879(0x154)][_0x14e1e9[_0x313879(0x247)]][_0x313879(0x1eb)](),this[_0x313879(0x1a5)][_0x313879(0x239)](),this['_readyState']=_0x3f7084['CLOSED'],this['emit'](_0x313879(0x2d7),this[_0x313879(0x279)],this[_0x313879(0x19f)]);}[_0x5ad5f9(0x2d7)](_0x133814,_0x506162){const _0x57ab9d=_0x5ad5f9;if(this[_0x57ab9d(0x2b8)]!==_0x3f7084[_0x57ab9d(0x162)]){if(this[_0x57ab9d(0x2b8)]===_0x3f7084['CONNECTING']){_0x341e5d(this,this['_req'],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}if(this[_0x57ab9d(0x2b8)]===_0x3f7084[_0x57ab9d(0x218)]){this[_0x57ab9d(0x202)]&&(this[_0x57ab9d(0x1a4)]||this[_0x57ab9d(0x1a5)][_0x57ab9d(0x196)][_0x57ab9d(0x1ca)])&&this[_0x57ab9d(0x2ca)]['end']();return;}this[_0x57ab9d(0x1a6)]=_0x3f7084[_0x57ab9d(0x218)],this[_0x57ab9d(0x1d3)][_0x57ab9d(0x2d7)](_0x133814,_0x506162,!this[_0x57ab9d(0x181)],_0x37a710=>{const _0x47b19f=_0x57ab9d;_0x37a710||(this[_0x47b19f(0x202)]=!0x0,(this[_0x47b19f(0x1a4)]||this[_0x47b19f(0x1a5)][_0x47b19f(0x196)][_0x47b19f(0x1ca)])&&this[_0x47b19f(0x2ca)][_0x47b19f(0x293)]());}),_0x550431(this);}}[_0x5ad5f9(0x1ff)](){const _0x169cd8=_0x5ad5f9;this['readyState']===_0x3f7084[_0x169cd8(0x2c9)]||this[_0x169cd8(0x2b8)]===_0x3f7084[_0x169cd8(0x162)]||(this[_0x169cd8(0x1f8)]=!0x0,this[_0x169cd8(0x2ca)][_0x169cd8(0x1ff)]());}[_0x5ad5f9(0x2a2)](_0x549d99,_0x3e502d,_0x16e852){const _0x4f158d=_0x5ad5f9;if(this['readyState']===_0x3f7084[_0x4f158d(0x2c9)])throw new Error(_0x4f158d(0x1ef));if(typeof _0x549d99=='function'?(_0x16e852=_0x549d99,_0x549d99=_0x3e502d=void 0x0):typeof _0x3e502d=='function'&&(_0x16e852=_0x3e502d,_0x3e502d=void 0x0),typeof _0x549d99==_0x4f158d(0x235)&&(_0x549d99=_0x549d99[_0x4f158d(0x198)]()),this[_0x4f158d(0x2b8)]!==_0x3f7084[_0x4f158d(0x187)]){_0x5af7a1(this,_0x549d99,_0x16e852);return;}_0x3e502d===void 0x0&&(_0x3e502d=!this[_0x4f158d(0x181)]),this[_0x4f158d(0x1d3)][_0x4f158d(0x2a2)](_0x549d99||_0x24fe3a,_0x3e502d,_0x16e852);}[_0x5ad5f9(0x223)](_0x1b5c81,_0x20a934,_0x4e1806){const _0x4df0ad=_0x5ad5f9;if(this[_0x4df0ad(0x2b8)]===_0x3f7084[_0x4df0ad(0x2c9)])throw new Error(_0x4df0ad(0x1ef));if(typeof _0x1b5c81==_0x4df0ad(0x130)?(_0x4e1806=_0x1b5c81,_0x1b5c81=_0x20a934=void 0x0):typeof _0x20a934==_0x4df0ad(0x130)&&(_0x4e1806=_0x20a934,_0x20a934=void 0x0),typeof _0x1b5c81==_0x4df0ad(0x235)&&(_0x1b5c81=_0x1b5c81[_0x4df0ad(0x198)]()),this[_0x4df0ad(0x2b8)]!==_0x3f7084['OPEN']){_0x5af7a1(this,_0x1b5c81,_0x4e1806);return;}_0x20a934===void 0x0&&(_0x20a934=!this['_isServer']),this[_0x4df0ad(0x1d3)][_0x4df0ad(0x223)](_0x1b5c81||_0x24fe3a,_0x20a934,_0x4e1806);}[_0x5ad5f9(0x12e)](){const _0x2955b2=_0x5ad5f9;this[_0x2955b2(0x2b8)]===_0x3f7084['CONNECTING']||this[_0x2955b2(0x2b8)]===_0x3f7084['CLOSED']||(this[_0x2955b2(0x1f8)]=!0x1,this[_0x2955b2(0x1a5)]['_writableState'][_0x2955b2(0x19e)]||this[_0x2955b2(0x2ca)][_0x2955b2(0x12e)]());}['send'](_0x7bcccd,_0x404067,_0x127bd5){const _0x175e81=_0x5ad5f9;if(this[_0x175e81(0x2b8)]===_0x3f7084[_0x175e81(0x2c9)])throw new Error(_0x175e81(0x1ef));if(typeof _0x404067=='function'&&(_0x127bd5=_0x404067,_0x404067={}),typeof _0x7bcccd=='number'&&(_0x7bcccd=_0x7bcccd[_0x175e81(0x198)]()),this['readyState']!==_0x3f7084[_0x175e81(0x187)]){_0x5af7a1(this,_0x7bcccd,_0x127bd5);return;}const _0x199931={'binary':typeof _0x7bcccd!=_0x175e81(0x20f),'mask':!this['_isServer'],'compress':!0x0,'fin':!0x0,..._0x404067};this['_extensions'][_0x14e1e9[_0x175e81(0x247)]]||(_0x199931[_0x175e81(0x281)]=!0x1),this[_0x175e81(0x1d3)]['send'](_0x7bcccd||_0x24fe3a,_0x199931,_0x127bd5);}[_0x5ad5f9(0x17c)](){const _0x59e979=_0x5ad5f9;if(this['readyState']!==_0x3f7084['CLOSED']){if(this[_0x59e979(0x2b8)]===_0x3f7084[_0x59e979(0x2c9)]){_0x341e5d(this,this[_0x59e979(0x1df)],_0x59e979(0x1c2));return;}this['_socket']&&(this['_readyState']=_0x3f7084[_0x59e979(0x218)],this[_0x59e979(0x2ca)][_0x59e979(0x265)]());}}}Object[_0x5ad5f9(0x1c6)](_0x3f7084,_0x5ad5f9(0x2c9),{'enumerable':!0x0,'value':_0x497291[_0x5ad5f9(0x1e3)](_0x5ad5f9(0x2c9))}),Object[_0x5ad5f9(0x1c6)](_0x3f7084[_0x5ad5f9(0x271)],'CONNECTING',{'enumerable':!0x0,'value':_0x497291[_0x5ad5f9(0x1e3)](_0x5ad5f9(0x2c9))}),Object[_0x5ad5f9(0x1c6)](_0x3f7084,_0x5ad5f9(0x187),{'enumerable':!0x0,'value':_0x497291[_0x5ad5f9(0x1e3)](_0x5ad5f9(0x187))}),Object[_0x5ad5f9(0x1c6)](_0x3f7084[_0x5ad5f9(0x271)],_0x5ad5f9(0x187),{'enumerable':!0x0,'value':_0x497291[_0x5ad5f9(0x1e3)]('OPEN')}),Object[_0x5ad5f9(0x1c6)](_0x3f7084,'CLOSING',{'enumerable':!0x0,'value':_0x497291['indexOf']('CLOSING')}),Object[_0x5ad5f9(0x1c6)](_0x3f7084[_0x5ad5f9(0x271)],_0x5ad5f9(0x218),{'enumerable':!0x0,'value':_0x497291[_0x5ad5f9(0x1e3)](_0x5ad5f9(0x218))}),Object[_0x5ad5f9(0x1c6)](_0x3f7084,_0x5ad5f9(0x162),{'enumerable':!0x0,'value':_0x497291[_0x5ad5f9(0x1e3)]('CLOSED')}),Object[_0x5ad5f9(0x1c6)](_0x3f7084[_0x5ad5f9(0x271)],_0x5ad5f9(0x162),{'enumerable':!0x0,'value':_0x497291[_0x5ad5f9(0x1e3)](_0x5ad5f9(0x162))}),[_0x5ad5f9(0x269),_0x5ad5f9(0x285),_0x5ad5f9(0x261),_0x5ad5f9(0x242),_0x5ad5f9(0x150),_0x5ad5f9(0x2b8),_0x5ad5f9(0x2d4)][_0x5ad5f9(0x209)](_0x1345ed=>{const _0x41ce47=_0x5ad5f9;Object[_0x41ce47(0x1c6)](_0x3f7084[_0x41ce47(0x271)],_0x1345ed,{'enumerable':!0x0});}),[_0x5ad5f9(0x2b9),_0x5ad5f9(0x180),'close',_0x5ad5f9(0x186)][_0x5ad5f9(0x209)](_0x191c56=>{const _0x296fd2=_0x5ad5f9;Object['defineProperty'](_0x3f7084[_0x296fd2(0x271)],'on'+_0x191c56,{'enumerable':!0x0,'get'(){const _0x2c4b7c=_0x296fd2;for(const _0x45ffb5 of this[_0x2c4b7c(0x1f3)](_0x191c56))if(_0x45ffb5[_0x4a3ee4])return _0x45ffb5[_0x20da57];return null;},'set'(_0x5a3e3a){const _0x1fe02f=_0x296fd2;for(const _0x4162e7 of this[_0x1fe02f(0x1f3)](_0x191c56))if(_0x4162e7[_0x4a3ee4]){this['removeListener'](_0x191c56,_0x4162e7);break;}typeof _0x5a3e3a==_0x1fe02f(0x130)&&this[_0x1fe02f(0x208)](_0x191c56,_0x5a3e3a,{[_0x4a3ee4]:!0x0});}});}),_0x3f7084[_0x5ad5f9(0x271)][_0x5ad5f9(0x208)]=_0x505ef8,_0x3f7084['prototype'][_0x5ad5f9(0x16e)]=_0xe9a792,we=_0x3f7084;function _0x40fb8a(_0x2a07f7,_0x5f528d,_0x36b5bd,_0x2ad15d){const _0x3ea14a=_0x5ad5f9,_0x52acbf={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x16dd16[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x2ad15d,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x3ea14a(0x215),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x2a07f7['_autoPong']=_0x52acbf[_0x3ea14a(0x176)],!_0x16dd16[_0x3ea14a(0x1ce)](_0x52acbf[_0x3ea14a(0x13c)]))throw new RangeError(_0x3ea14a(0x1dd)+_0x52acbf['protocolVersion']+'\x20(supported\x20versions:\x20'+_0x16dd16['join'](',\x20')+')');let _0x46156d;if(_0x5f528d instanceof _0x21bc0c)_0x46156d=_0x5f528d;else try{_0x46156d=new _0x21bc0c(_0x5f528d);}catch{throw new SyntaxError(_0x3ea14a(0x25c)+_0x5f528d);}_0x46156d[_0x3ea14a(0x150)]==='http:'?_0x46156d[_0x3ea14a(0x150)]=_0x3ea14a(0x1ec):_0x46156d[_0x3ea14a(0x150)]==='https:'&&(_0x46156d[_0x3ea14a(0x150)]='wss:'),_0x2a07f7[_0x3ea14a(0x26a)]=_0x46156d[_0x3ea14a(0x28c)];const _0x2264f8=_0x46156d['protocol']===_0x3ea14a(0x2a0),_0x2faafb=_0x46156d[_0x3ea14a(0x150)]===_0x3ea14a(0x1e4);let _0x2574b0;if(_0x46156d[_0x3ea14a(0x150)]!=='ws:'&&!_0x2264f8&&!_0x2faafb?_0x2574b0=_0x3ea14a(0x1ba):_0x2faafb&&!_0x46156d['pathname']?_0x2574b0='The\x20URL\x27s\x20pathname\x20is\x20empty':_0x46156d[_0x3ea14a(0x29a)]&&(_0x2574b0=_0x3ea14a(0x197)),_0x2574b0){const _0x809c1a=new SyntaxError(_0x2574b0);if(_0x2a07f7[_0x3ea14a(0x179)]===0x0)throw _0x809c1a;_0x162688(_0x2a07f7,_0x809c1a);return;}const _0x3a1792=_0x2264f8?0x1bb:0x50,_0x21b031=_0x51404a(0x10)[_0x3ea14a(0x198)]('base64'),_0x3c9972=_0x2264f8?_0x12f155[_0x3ea14a(0x137)]:_0x4e0739[_0x3ea14a(0x137)],_0x1c88c4=new Set();let _0x7d023c;if(_0x52acbf[_0x3ea14a(0x252)]=_0x52acbf['createConnection']||(_0x2264f8?_0x8e028:_0xc6a99e),_0x52acbf[_0x3ea14a(0x167)]=_0x52acbf[_0x3ea14a(0x167)]||_0x3a1792,_0x52acbf['port']=_0x46156d[_0x3ea14a(0x1b1)]||_0x3a1792,_0x52acbf['host']=_0x46156d[_0x3ea14a(0x287)]['startsWith']('[')?_0x46156d[_0x3ea14a(0x287)][_0x3ea14a(0x222)](0x1,-0x1):_0x46156d['hostname'],_0x52acbf[_0x3ea14a(0x1f9)]={..._0x52acbf['headers'],'Sec-WebSocket-Version':_0x52acbf['protocolVersion'],'Sec-WebSocket-Key':_0x21b031,'Connection':_0x3ea14a(0x18d),'Upgrade':_0x3ea14a(0x267)},_0x52acbf[_0x3ea14a(0x1ee)]=_0x46156d[_0x3ea14a(0x26c)]+_0x46156d[_0x3ea14a(0x2dd)],_0x52acbf[_0x3ea14a(0x249)]=_0x52acbf[_0x3ea14a(0x2af)],_0x52acbf['perMessageDeflate']&&(_0x7d023c=new _0x14e1e9(_0x52acbf[_0x3ea14a(0x24d)]!==!0x0?_0x52acbf[_0x3ea14a(0x24d)]:{},!0x1,_0x52acbf[_0x3ea14a(0x185)]),_0x52acbf[_0x3ea14a(0x1f9)][_0x3ea14a(0x259)]=_0x5406fd({[_0x14e1e9[_0x3ea14a(0x247)]]:_0x7d023c['offer']()})),_0x36b5bd['length']){for(const _0x5bc3c5 of _0x36b5bd){if(typeof _0x5bc3c5!=_0x3ea14a(0x20f)||!_0x3f3d7f[_0x3ea14a(0x22d)](_0x5bc3c5)||_0x1c88c4[_0x3ea14a(0x163)](_0x5bc3c5))throw new SyntaxError(_0x3ea14a(0x142));_0x1c88c4['add'](_0x5bc3c5);}_0x52acbf[_0x3ea14a(0x1f9)][_0x3ea14a(0x1fa)]=_0x36b5bd[_0x3ea14a(0x174)](',');}if(_0x52acbf[_0x3ea14a(0x2c1)]&&(_0x52acbf[_0x3ea14a(0x13c)]<0xd?_0x52acbf['headers'][_0x3ea14a(0x165)]=_0x52acbf[_0x3ea14a(0x2c1)]:_0x52acbf[_0x3ea14a(0x1f9)][_0x3ea14a(0x27d)]=_0x52acbf[_0x3ea14a(0x2c1)]),(_0x46156d[_0x3ea14a(0x144)]||_0x46156d[_0x3ea14a(0x2c7)])&&(_0x52acbf[_0x3ea14a(0x1a8)]=_0x46156d[_0x3ea14a(0x144)]+':'+_0x46156d[_0x3ea14a(0x2c7)]),_0x2faafb){const _0x747293=_0x52acbf['path'][_0x3ea14a(0x166)](':');_0x52acbf[_0x3ea14a(0x2ac)]=_0x747293[0x0],_0x52acbf['path']=_0x747293[0x1];}let _0x29000b;if(_0x52acbf[_0x3ea14a(0x248)]){if(_0x2a07f7[_0x3ea14a(0x179)]===0x0){_0x2a07f7[_0x3ea14a(0x2b0)]=_0x2faafb,_0x2a07f7[_0x3ea14a(0x20c)]=_0x2264f8,_0x2a07f7[_0x3ea14a(0x2bc)]=_0x2faafb?_0x52acbf[_0x3ea14a(0x2ac)]:_0x46156d[_0x3ea14a(0x21c)];const _0x28068f=_0x2ad15d&&_0x2ad15d[_0x3ea14a(0x1f9)];if(_0x2ad15d={..._0x2ad15d,'headers':{}},_0x28068f){for(const [_0x1b2f25,_0x1a08d8]of Object[_0x3ea14a(0x296)](_0x28068f))_0x2ad15d[_0x3ea14a(0x1f9)][_0x1b2f25[_0x3ea14a(0x2cf)]()]=_0x1a08d8;}}else{if(_0x2a07f7[_0x3ea14a(0x1dc)](_0x3ea14a(0x1af))===0x0){const _0x2cb930=_0x2faafb?_0x2a07f7[_0x3ea14a(0x2b0)]?_0x52acbf[_0x3ea14a(0x2ac)]===_0x2a07f7[_0x3ea14a(0x2bc)]:!0x1:_0x2a07f7['_originalIpc']?!0x1:_0x46156d[_0x3ea14a(0x21c)]===_0x2a07f7[_0x3ea14a(0x2bc)];(!_0x2cb930||_0x2a07f7[_0x3ea14a(0x20c)]&&!_0x2264f8)&&(delete _0x52acbf[_0x3ea14a(0x1f9)]['authorization'],delete _0x52acbf[_0x3ea14a(0x1f9)][_0x3ea14a(0x2ae)],_0x2cb930||delete _0x52acbf[_0x3ea14a(0x1f9)][_0x3ea14a(0x21c)],_0x52acbf['auth']=void 0x0);}}_0x52acbf[_0x3ea14a(0x1a8)]&&!_0x2ad15d[_0x3ea14a(0x1f9)][_0x3ea14a(0x2aa)]&&(_0x2ad15d[_0x3ea14a(0x1f9)][_0x3ea14a(0x2aa)]=_0x3ea14a(0x2ab)+Buffer[_0x3ea14a(0x251)](_0x52acbf['auth'])['toString'](_0x3ea14a(0x22e))),_0x29000b=_0x2a07f7[_0x3ea14a(0x1df)]=_0x3c9972(_0x52acbf),_0x2a07f7[_0x3ea14a(0x179)]&&_0x2a07f7['emit'](_0x3ea14a(0x1af),_0x2a07f7[_0x3ea14a(0x2d4)],_0x29000b);}else _0x29000b=_0x2a07f7[_0x3ea14a(0x1df)]=_0x3c9972(_0x52acbf);_0x52acbf['timeout']&&_0x29000b['on']('timeout',()=>{const _0x3d2bc6=_0x3ea14a;_0x341e5d(_0x2a07f7,_0x29000b,_0x3d2bc6(0x2d5));}),_0x29000b['on'](_0x3ea14a(0x180),_0x30f9de=>{const _0x23efda=_0x3ea14a;_0x29000b===null||_0x29000b[_0x368751]||(_0x29000b=_0x2a07f7[_0x23efda(0x1df)]=null,_0x162688(_0x2a07f7,_0x30f9de));}),_0x29000b['on'](_0x3ea14a(0x172),_0x1f8585=>{const _0x597cfb=_0x3ea14a,_0x348307=_0x1f8585[_0x597cfb(0x1f9)][_0x597cfb(0x1b5)],_0x2511a0=_0x1f8585[_0x597cfb(0x1d8)];if(_0x348307&&_0x52acbf['followRedirects']&&_0x2511a0>=0x12c&&_0x2511a0<0x190){if(++_0x2a07f7['_redirects']>_0x52acbf[_0x597cfb(0x1d7)]){_0x341e5d(_0x2a07f7,_0x29000b,'Maximum\x20redirects\x20exceeded');return;}_0x29000b[_0x597cfb(0x2c3)]();let _0x5aff5e;try{_0x5aff5e=new _0x21bc0c(_0x348307,_0x5f528d);}catch{const _0x57b7a6=new SyntaxError('Invalid\x20URL:\x20'+_0x348307);_0x162688(_0x2a07f7,_0x57b7a6);return;}_0x40fb8a(_0x2a07f7,_0x5aff5e,_0x36b5bd,_0x2ad15d);}else _0x2a07f7[_0x597cfb(0x170)](_0x597cfb(0x139),_0x29000b,_0x1f8585)||_0x341e5d(_0x2a07f7,_0x29000b,_0x597cfb(0x143)+_0x1f8585[_0x597cfb(0x1d8)]);}),_0x29000b['on'](_0x3ea14a(0x29b),(_0x1fc15f,_0x1a1fe2,_0xc463a8)=>{const _0x1e7b7c=_0x3ea14a;if(_0x2a07f7[_0x1e7b7c(0x170)](_0x1e7b7c(0x29b),_0x1fc15f),_0x2a07f7['readyState']!==_0x3f7084[_0x1e7b7c(0x2c9)])return;_0x29000b=_0x2a07f7['_req']=null;const _0x11f018=_0x1fc15f['headers'][_0x1e7b7c(0x29b)];if(_0x11f018===void 0x0||_0x11f018[_0x1e7b7c(0x2cf)]()!==_0x1e7b7c(0x267)){_0x341e5d(_0x2a07f7,_0x1a1fe2,_0x1e7b7c(0x157));return;}const _0x32302d=_0x5d9a11(_0x1e7b7c(0x14c))[_0x1e7b7c(0x138)](_0x21b031+_0x3f2bdf)[_0x1e7b7c(0x290)]('base64');if(_0x1fc15f[_0x1e7b7c(0x1f9)]['sec-websocket-accept']!==_0x32302d){_0x341e5d(_0x2a07f7,_0x1a1fe2,'Invalid\x20Sec-WebSocket-Accept\x20header');return;}const _0x356561=_0x1fc15f[_0x1e7b7c(0x1f9)][_0x1e7b7c(0x221)];let _0x8c574c;if(_0x356561!==void 0x0?_0x1c88c4[_0x1e7b7c(0x2a4)]?_0x1c88c4['has'](_0x356561)||(_0x8c574c=_0x1e7b7c(0x213)):_0x8c574c=_0x1e7b7c(0x19a):_0x1c88c4[_0x1e7b7c(0x2a4)]&&(_0x8c574c=_0x1e7b7c(0x25a)),_0x8c574c){_0x341e5d(_0x2a07f7,_0x1a1fe2,_0x8c574c);return;}_0x356561&&(_0x2a07f7['_protocol']=_0x356561);const _0x597dec=_0x1fc15f[_0x1e7b7c(0x1f9)][_0x1e7b7c(0x16c)];if(_0x597dec!==void 0x0){if(!_0x7d023c){_0x341e5d(_0x2a07f7,_0x1a1fe2,_0x1e7b7c(0x284));return;}let _0x3fb514;try{_0x3fb514=_0x290ecf(_0x597dec);}catch{_0x341e5d(_0x2a07f7,_0x1a1fe2,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0x49e970=Object[_0x1e7b7c(0x149)](_0x3fb514);if(_0x49e970['length']!==0x1||_0x49e970[0x0]!==_0x14e1e9[_0x1e7b7c(0x247)]){_0x341e5d(_0x2a07f7,_0x1a1fe2,_0x1e7b7c(0x24b));return;}try{_0x7d023c[_0x1e7b7c(0x1a3)](_0x3fb514[_0x14e1e9[_0x1e7b7c(0x247)]]);}catch{_0x341e5d(_0x2a07f7,_0x1a1fe2,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}_0x2a07f7[_0x1e7b7c(0x154)][_0x14e1e9['extensionName']]=_0x7d023c;}_0x2a07f7['setSocket'](_0x1a1fe2,_0xc463a8,{'allowSynchronousEvents':_0x52acbf['allowSynchronousEvents'],'generateMask':_0x52acbf['generateMask'],'maxPayload':_0x52acbf[_0x1e7b7c(0x185)],'skipUTF8Validation':_0x52acbf[_0x1e7b7c(0x1c8)]});}),_0x52acbf['finishRequest']?_0x52acbf[_0x3ea14a(0x164)](_0x29000b,_0x2a07f7):_0x29000b[_0x3ea14a(0x293)]();}function _0x162688(_0x13f282,_0x55827d){const _0xa06e13=_0x5ad5f9;_0x13f282[_0xa06e13(0x1a6)]=_0x3f7084[_0xa06e13(0x218)],_0x13f282[_0xa06e13(0x133)]=!0x0,_0x13f282[_0xa06e13(0x170)](_0xa06e13(0x180),_0x55827d),_0x13f282[_0xa06e13(0x2c8)]();}function _0xc6a99e(_0x1461f6){const _0x842ad2=_0x5ad5f9;return _0x1461f6[_0x842ad2(0x1ee)]=_0x1461f6['socketPath'],_0x5c176c[_0x842ad2(0x193)](_0x1461f6);}function _0x8e028(_0x1e979c){const _0x123673=_0x5ad5f9;return _0x1e979c[_0x123673(0x1ee)]=void 0x0,!_0x1e979c[_0x123673(0x2dc)]&&_0x1e979c[_0x123673(0x2dc)]!==''&&(_0x1e979c[_0x123673(0x2dc)]=_0x5c176c['isIP'](_0x1e979c['host'])?'':_0x1e979c[_0x123673(0x21c)]),_0x9e6add[_0x123673(0x193)](_0x1e979c);}function _0x341e5d(_0x19615a,_0x33e559,_0x2ff217){const _0x40b6b5=_0x5ad5f9;_0x19615a['_readyState']=_0x3f7084['CLOSING'];const _0x2c9459=new Error(_0x2ff217);Error['captureStackTrace'](_0x2c9459,_0x341e5d),_0x33e559[_0x40b6b5(0x21e)]?(_0x33e559[_0x368751]=!0x0,_0x33e559[_0x40b6b5(0x2c3)](),_0x33e559[_0x40b6b5(0x192)]&&!_0x33e559[_0x40b6b5(0x192)][_0x40b6b5(0x158)]&&_0x33e559[_0x40b6b5(0x192)][_0x40b6b5(0x265)](),process[_0x40b6b5(0x1c4)](_0x162688,_0x19615a,_0x2c9459)):(_0x33e559[_0x40b6b5(0x265)](_0x2c9459),_0x33e559['once'](_0x40b6b5(0x180),_0x19615a[_0x40b6b5(0x170)]['bind'](_0x19615a,'error')),_0x33e559[_0x40b6b5(0x1b6)]('close',_0x19615a['emitClose'][_0x40b6b5(0x1e8)](_0x19615a)));}function _0x5af7a1(_0x2f147f,_0x5bf5e0,_0x315a1f){const _0x395cbb=_0x5ad5f9;if(_0x5bf5e0){const _0x1f3102=_0x1462a9(_0x5bf5e0)?_0x5bf5e0['size']:_0x5649e5(_0x5bf5e0)['length'];_0x2f147f[_0x395cbb(0x2ca)]?_0x2f147f[_0x395cbb(0x1d3)][_0x395cbb(0x15f)]+=_0x1f3102:_0x2f147f['_bufferedAmount']+=_0x1f3102;}if(_0x315a1f){const _0x79a841=new Error(_0x395cbb(0x1db)+_0x2f147f[_0x395cbb(0x2b8)]+'\x20('+_0x497291[_0x2f147f[_0x395cbb(0x2b8)]]+')');process['nextTick'](_0x315a1f,_0x79a841);}}function _0x35ddd6(_0x5262ff,_0x461d26){const _0x4e0f96=_0x5ad5f9,_0x3a5192=this[_0x2e43ad];_0x3a5192[_0x4e0f96(0x1a4)]=!0x0,_0x3a5192[_0x4e0f96(0x19f)]=_0x461d26,_0x3a5192[_0x4e0f96(0x279)]=_0x5262ff,_0x3a5192[_0x4e0f96(0x2ca)][_0x2e43ad]!==void 0x0&&(_0x3a5192['_socket']['removeListener'](_0x4e0f96(0x225),_0x537887),process[_0x4e0f96(0x1c4)](_0x2cad36,_0x3a5192[_0x4e0f96(0x2ca)]),_0x5262ff===0x3ed?_0x3a5192[_0x4e0f96(0x2d7)]():_0x3a5192[_0x4e0f96(0x2d7)](_0x5262ff,_0x461d26));}function _0x1443fe(){const _0x2e0e49=_0x5ad5f9,_0x29c03c=this[_0x2e43ad];_0x29c03c[_0x2e0e49(0x242)]||_0x29c03c['_socket'][_0x2e0e49(0x12e)]();}function _0x4d5ad4(_0x39117b){const _0x571312=_0x5ad5f9,_0xcabac=this[_0x2e43ad];_0xcabac[_0x571312(0x2ca)][_0x2e43ad]!==void 0x0&&(_0xcabac[_0x571312(0x2ca)]['removeListener'](_0x571312(0x225),_0x537887),process[_0x571312(0x1c4)](_0x2cad36,_0xcabac[_0x571312(0x2ca)]),_0xcabac[_0x571312(0x2d7)](_0x39117b[_0x3864ba])),_0xcabac[_0x571312(0x133)]||(_0xcabac['_errorEmitted']=!0x0,_0xcabac[_0x571312(0x170)](_0x571312(0x180),_0x39117b));}function _0x979212(){const _0x2d9fa4=_0x5ad5f9;this[_0x2e43ad][_0x2d9fa4(0x2c8)]();}function _0x144dcc(_0x128707,_0x1a8e03){const _0x4692d4=_0x5ad5f9;this[_0x2e43ad][_0x4692d4(0x170)]('message',_0x128707,_0x1a8e03);}function _0xdf31be(_0x3e2d6c){const _0x12d0cb=_0x5ad5f9,_0xe31fd9=this[_0x2e43ad];_0xe31fd9[_0x12d0cb(0x200)]&&_0xe31fd9[_0x12d0cb(0x223)](_0x3e2d6c,!this[_0x12d0cb(0x181)],_0x574680),_0xe31fd9[_0x12d0cb(0x170)](_0x12d0cb(0x2a2),_0x3e2d6c);}function _0x596e24(_0x5df6a3){const _0x3ee570=_0x5ad5f9;this[_0x2e43ad][_0x3ee570(0x170)]('pong',_0x5df6a3);}function _0x2cad36(_0x1e0f2b){const _0x171e5c=_0x5ad5f9;_0x1e0f2b[_0x171e5c(0x12e)]();}function _0x49eb65(_0x1148bd){const _0x913882=_0x5ad5f9,_0x2c4a52=this[_0x2e43ad];_0x2c4a52['readyState']!==_0x3f7084[_0x913882(0x162)]&&(_0x2c4a52[_0x913882(0x2b8)]===_0x3f7084[_0x913882(0x187)]&&(_0x2c4a52[_0x913882(0x1a6)]=_0x3f7084[_0x913882(0x218)],_0x550431(_0x2c4a52)),this['_socket']['end'](),_0x2c4a52[_0x913882(0x133)]||(_0x2c4a52[_0x913882(0x133)]=!0x0,_0x2c4a52[_0x913882(0x170)]('error',_0x1148bd)));}function _0x550431(_0x386426){const _0x3f403c=_0x5ad5f9;_0x386426[_0x3f403c(0x299)]=setTimeout(_0x386426['_socket'][_0x3f403c(0x265)][_0x3f403c(0x1e8)](_0x386426[_0x3f403c(0x2ca)]),_0x4dde18);}function _0x2c1839(){const _0x3cacd5=_0x5ad5f9,_0x1d8e33=this[_0x2e43ad];this[_0x3cacd5(0x13a)]('close',_0x2c1839),this['removeListener'](_0x3cacd5(0x225),_0x537887),this[_0x3cacd5(0x13a)](_0x3cacd5(0x293),_0x207356),_0x1d8e33[_0x3cacd5(0x1a6)]=_0x3f7084[_0x3cacd5(0x218)];let _0x3a521c;!this[_0x3cacd5(0x1b4)][_0x3cacd5(0x1f6)]&&!_0x1d8e33[_0x3cacd5(0x1a4)]&&!_0x1d8e33[_0x3cacd5(0x1a5)][_0x3cacd5(0x196)][_0x3cacd5(0x1ca)]&&(_0x3a521c=_0x1d8e33['_socket'][_0x3cacd5(0x1a0)]())!==null&&_0x1d8e33['_receiver'][_0x3cacd5(0x1b9)](_0x3a521c),_0x1d8e33[_0x3cacd5(0x1a5)][_0x3cacd5(0x293)](),this[_0x2e43ad]=void 0x0,clearTimeout(_0x1d8e33[_0x3cacd5(0x299)]),_0x1d8e33[_0x3cacd5(0x1a5)][_0x3cacd5(0x196)][_0x3cacd5(0x245)]||_0x1d8e33[_0x3cacd5(0x1a5)][_0x3cacd5(0x196)][_0x3cacd5(0x1ca)]?_0x1d8e33[_0x3cacd5(0x2c8)]():(_0x1d8e33[_0x3cacd5(0x1a5)]['on'](_0x3cacd5(0x180),_0x979212),_0x1d8e33['_receiver']['on']('finish',_0x979212));}function _0x537887(_0x20497a){const _0x26dd65=_0x5ad5f9;this[_0x2e43ad]['_receiver'][_0x26dd65(0x1b9)](_0x20497a)||this[_0x26dd65(0x1ff)]();}function _0x207356(){const _0x892a72=_0x5ad5f9,_0x33b393=this[_0x2e43ad];_0x33b393[_0x892a72(0x1a6)]=_0x3f7084['CLOSING'],_0x33b393[_0x892a72(0x1a5)][_0x892a72(0x293)](),this[_0x892a72(0x293)]();}function _0x6c02c7(){const _0x5144c4=_0x5ad5f9,_0x3924dd=this[_0x2e43ad];this[_0x5144c4(0x13a)](_0x5144c4(0x180),_0x6c02c7),this['on']('error',_0x574680),_0x3924dd&&(_0x3924dd[_0x5144c4(0x1a6)]=_0x3f7084[_0x5144c4(0x218)],this[_0x5144c4(0x265)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x290603}=_0x18c39f;function _0x3e3581(_0x1a34c5){const _0x510262=_0x1da9;_0x1a34c5['emit'](_0x510262(0x2d7));}function _0x5938ca(){const _0x11a5e3=_0x1da9;!this[_0x11a5e3(0x158)]&&this[_0x11a5e3(0x196)]['finished']&&this[_0x11a5e3(0x265)]();}function _0x4c4b92(_0x5d9e22){const _0x488d0d=_0x1da9;this['removeListener']('error',_0x4c4b92),this[_0x488d0d(0x265)](),this[_0x488d0d(0x1dc)]('error')===0x0&&this['emit']('error',_0x5d9e22);}function _0x378795(_0x36d30a,_0x2fa9d8){const _0x218e38=_0x1da9;let _0x4a9aea=!0x0;const _0x2c3da6=new _0x290603({..._0x2fa9d8,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x36d30a['on'](_0x218e38(0x186),function(_0x1fd4b6,_0x3d2d3d){const _0x29a6ed=_0x218e38,_0x86984f=!_0x3d2d3d&&_0x2c3da6['_readableState'][_0x29a6ed(0x278)]?_0x1fd4b6['toString']():_0x1fd4b6;_0x2c3da6[_0x29a6ed(0x22f)](_0x86984f)||_0x36d30a[_0x29a6ed(0x1ff)]();}),_0x36d30a[_0x218e38(0x1b6)](_0x218e38(0x180),function(_0x2e3cf8){const _0x2e79d7=_0x218e38;_0x2c3da6[_0x2e79d7(0x158)]||(_0x4a9aea=!0x1,_0x2c3da6[_0x2e79d7(0x265)](_0x2e3cf8));}),_0x36d30a[_0x218e38(0x1b6)](_0x218e38(0x2d7),function(){const _0x5359d7=_0x218e38;_0x2c3da6[_0x5359d7(0x158)]||_0x2c3da6[_0x5359d7(0x22f)](null);}),_0x2c3da6[_0x218e38(0x212)]=function(_0x5ee8a7,_0x394127){const _0x1d909a=_0x218e38;if(_0x36d30a[_0x1d909a(0x2b8)]===_0x36d30a['CLOSED']){_0x394127(_0x5ee8a7),process['nextTick'](_0x3e3581,_0x2c3da6);return;}let _0x54f408=!0x1;_0x36d30a[_0x1d909a(0x1b6)](_0x1d909a(0x180),function(_0x401fb6){_0x54f408=!0x0,_0x394127(_0x401fb6);}),_0x36d30a[_0x1d909a(0x1b6)]('close',function(){const _0x479dcd=_0x1d909a;_0x54f408||_0x394127(_0x5ee8a7),process[_0x479dcd(0x1c4)](_0x3e3581,_0x2c3da6);}),_0x4a9aea&&_0x36d30a['terminate']();},_0x2c3da6['_final']=function(_0xffb384){const _0x135a22=_0x218e38;if(_0x36d30a[_0x135a22(0x2b8)]===_0x36d30a[_0x135a22(0x2c9)]){_0x36d30a['once'](_0x135a22(0x2b9),function(){_0x2c3da6['_final'](_0xffb384);});return;}_0x36d30a[_0x135a22(0x2ca)]!==null&&(_0x36d30a[_0x135a22(0x2ca)][_0x135a22(0x196)][_0x135a22(0x245)]?(_0xffb384(),_0x2c3da6[_0x135a22(0x1b4)][_0x135a22(0x1f6)]&&_0x2c3da6[_0x135a22(0x265)]()):(_0x36d30a[_0x135a22(0x2ca)][_0x135a22(0x1b6)](_0x135a22(0x29d),function(){_0xffb384();}),_0x36d30a[_0x135a22(0x2d7)]()));},_0x2c3da6[_0x218e38(0x1f1)]=function(){const _0x3bbe2f=_0x218e38;_0x36d30a[_0x3bbe2f(0x242)]&&_0x36d30a[_0x3bbe2f(0x12e)]();},_0x2c3da6[_0x218e38(0x214)]=function(_0x3b4929,_0x5d81f6,_0x1f98f9){const _0xdf27aa=_0x218e38;if(_0x36d30a['readyState']===_0x36d30a['CONNECTING']){_0x36d30a[_0xdf27aa(0x1b6)](_0xdf27aa(0x2b9),function(){_0x2c3da6['_write'](_0x3b4929,_0x5d81f6,_0x1f98f9);});return;}_0x36d30a[_0xdf27aa(0x27a)](_0x3b4929,_0x1f98f9);},_0x2c3da6['on'](_0x218e38(0x293),_0x5938ca),_0x2c3da6['on']('error',_0x4c4b92),_0x2c3da6;}return Oe=_0x378795,Oe;}Xt(),dt(),_t();function _0x1da9(_0x1cc49b,_0x1d929b){const _0x1b91a5=_0x1b91();return _0x1da9=function(_0x1da977,_0x29a006){_0x1da977=_0x1da977-0x12e;let _0x3f4d82=_0x1b91a5[_0x1da977];return _0x3f4d82;},_0x1da9(_0x1cc49b,_0x1d929b);}var Zt=Ie();const Qt=jt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x243fdd}=ne();function _0x10032d(_0x3296bb){const _0x2b3f02=_0x1da9,_0x133e4d=new Set();let _0x3797ed=-0x1,_0x432e8b=-0x1,_0x3f9148=0x0;for(_0x3f9148;_0x3f9148<_0x3296bb[_0x2b3f02(0x1b8)];_0x3f9148++){const _0x53e7ca=_0x3296bb[_0x2b3f02(0x1c3)](_0x3f9148);if(_0x432e8b===-0x1&&_0x243fdd[_0x53e7ca]===0x1)_0x3797ed===-0x1&&(_0x3797ed=_0x3f9148);else{if(_0x3f9148!==0x0&&(_0x53e7ca===0x20||_0x53e7ca===0x9))_0x432e8b===-0x1&&_0x3797ed!==-0x1&&(_0x432e8b=_0x3f9148);else{if(_0x53e7ca===0x2c){if(_0x3797ed===-0x1)throw new SyntaxError(_0x2b3f02(0x2b3)+_0x3f9148);_0x432e8b===-0x1&&(_0x432e8b=_0x3f9148);const _0x193402=_0x3296bb['slice'](_0x3797ed,_0x432e8b);if(_0x133e4d['has'](_0x193402))throw new SyntaxError(_0x2b3f02(0x28f)+_0x193402+_0x2b3f02(0x18f));_0x133e4d[_0x2b3f02(0x2de)](_0x193402),_0x3797ed=_0x432e8b=-0x1;}else throw new SyntaxError(_0x2b3f02(0x2b3)+_0x3f9148);}}}if(_0x3797ed===-0x1||_0x432e8b!==-0x1)throw new SyntaxError(_0x2b3f02(0x20a));const _0x49e6b6=_0x3296bb[_0x2b3f02(0x222)](_0x3797ed,_0x3f9148);if(_0x133e4d[_0x2b3f02(0x163)](_0x49e6b6))throw new SyntaxError(_0x2b3f02(0x28f)+_0x49e6b6+'\x22\x20subprotocol\x20is\x20duplicated');return _0x133e4d[_0x2b3f02(0x2de)](_0x49e6b6),_0x133e4d;}return Ce={'parse':_0x10032d},Ce;}var Te,ot;function er(){const _0x15b292=_0x3e7491;if(ot)return Te;ot=0x1;const _0x1be351=_0x30fedc,_0xe37cb3=_0x5ce828,{Duplex:_0x201f48}=_0x18c39f,{createHash:_0x405ddf}=_0x245205,_0x19944e=pt(),_0x9ad1ea=he(),_0x187ce2=Jt(),_0x439b3f=Ie(),{GUID:_0x1cda93,kWebSocket:_0x49da98}=V(),_0x289379=/^[+/0-9A-Za-z]{22}==$/,_0x28cdbb=0x0,_0x5f597d=0x1,_0x5239ab=0x2;class _0x4f81df extends _0x1be351{constructor(_0x474214,_0xd6407b){const _0x4ad44f=_0x1da9;if(super(),_0x474214={'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':_0x439b3f,..._0x474214},_0x474214[_0x4ad44f(0x1b1)]==null&&!_0x474214[_0x4ad44f(0x203)]&&!_0x474214[_0x4ad44f(0x264)]||_0x474214[_0x4ad44f(0x1b1)]!=null&&(_0x474214[_0x4ad44f(0x203)]||_0x474214[_0x4ad44f(0x264)])||_0x474214[_0x4ad44f(0x203)]&&_0x474214['noServer'])throw new TypeError(_0x4ad44f(0x2c4));if(_0x474214[_0x4ad44f(0x1b1)]!=null?(this[_0x4ad44f(0x1d6)]=_0xe37cb3['createServer']((_0x310859,_0x46b7b5)=>{const _0x452b40=_0x4ad44f,_0xe46bc=_0xe37cb3[_0x452b40(0x1d9)][0x1aa];_0x46b7b5[_0x452b40(0x13f)](0x1aa,{'Content-Length':_0xe46bc[_0x452b40(0x1b8)],'Content-Type':'text/plain'}),_0x46b7b5['end'](_0xe46bc);}),this[_0x4ad44f(0x1d6)]['listen'](_0x474214[_0x4ad44f(0x1b1)],_0x474214[_0x4ad44f(0x21c)],_0x474214[_0x4ad44f(0x1f5)],_0xd6407b)):_0x474214['server']&&(this['_server']=_0x474214['server']),this[_0x4ad44f(0x1d6)]){const _0x4c8700=this[_0x4ad44f(0x170)][_0x4ad44f(0x1e8)](this,_0x4ad44f(0x155));this['_removeListeners']=_0x274f01(this[_0x4ad44f(0x1d6)],{'listening':this[_0x4ad44f(0x170)][_0x4ad44f(0x1e8)](this,'listening'),'error':this[_0x4ad44f(0x170)][_0x4ad44f(0x1e8)](this,_0x4ad44f(0x180)),'upgrade':(_0x508aac,_0x17378f,_0x5e0aa1)=>{const _0x5b8ce4=_0x4ad44f;this[_0x5b8ce4(0x183)](_0x508aac,_0x17378f,_0x5e0aa1,_0x4c8700);}});}_0x474214[_0x4ad44f(0x24d)]===!0x0&&(_0x474214[_0x4ad44f(0x24d)]={}),_0x474214[_0x4ad44f(0x2cb)]&&(this[_0x4ad44f(0x1be)]=new Set(),this['_shouldEmitClose']=!0x1),this[_0x4ad44f(0x19b)]=_0x474214,this[_0x4ad44f(0x2db)]=_0x28cdbb;}['address'](){const _0x2f0fb4=_0x1da9;if(this[_0x2f0fb4(0x19b)]['noServer'])throw new Error(_0x2f0fb4(0x238));return this[_0x2f0fb4(0x1d6)]?this[_0x2f0fb4(0x1d6)]['address']():null;}[_0x15b292(0x2d7)](_0x54c99c){const _0x5a45c5=_0x15b292;if(this[_0x5a45c5(0x2db)]===_0x5239ab){_0x54c99c&&this[_0x5a45c5(0x1b6)]('close',()=>{const _0x5b697a=_0x5a45c5;_0x54c99c(new Error(_0x5b697a(0x27b)));}),process['nextTick'](_0x2baa94,this);return;}if(_0x54c99c&&this[_0x5a45c5(0x1b6)](_0x5a45c5(0x2d7),_0x54c99c),this[_0x5a45c5(0x2db)]!==_0x5f597d){if(this['_state']=_0x5f597d,this['options']['noServer']||this[_0x5a45c5(0x19b)]['server'])this[_0x5a45c5(0x1d6)]&&(this[_0x5a45c5(0x263)](),this[_0x5a45c5(0x263)]=this[_0x5a45c5(0x1d6)]=null),this[_0x5a45c5(0x1be)]?this[_0x5a45c5(0x1be)][_0x5a45c5(0x2a4)]?this[_0x5a45c5(0x147)]=!0x0:process[_0x5a45c5(0x1c4)](_0x2baa94,this):process[_0x5a45c5(0x1c4)](_0x2baa94,this);else{const _0x39e925=this[_0x5a45c5(0x1d6)];this['_removeListeners'](),this[_0x5a45c5(0x263)]=this[_0x5a45c5(0x1d6)]=null,_0x39e925['close'](()=>{_0x2baa94(this);});}}}['shouldHandle'](_0x73573f){const _0xb96df4=_0x15b292;if(this[_0xb96df4(0x19b)][_0xb96df4(0x1ee)]){const _0x3bcaf6=_0x73573f[_0xb96df4(0x2d4)]['indexOf']('?');if((_0x3bcaf6!==-0x1?_0x73573f['url'][_0xb96df4(0x222)](0x0,_0x3bcaf6):_0x73573f[_0xb96df4(0x2d4)])!==this['options']['path'])return!0x1;}return!0x0;}[_0x15b292(0x183)](_0x25d8ba,_0x57985a,_0x32ce51,_0x3f02e9){const _0x1d4db6=_0x15b292;_0x57985a['on']('error',_0x1ca669);const _0x120259=_0x25d8ba['headers']['sec-websocket-key'],_0x3797a2=_0x25d8ba[_0x1d4db6(0x1f9)][_0x1d4db6(0x29b)],_0x5e5568=+_0x25d8ba[_0x1d4db6(0x1f9)][_0x1d4db6(0x16b)];if(_0x25d8ba['method']!==_0x1d4db6(0x215)){_0x134e7e(this,_0x25d8ba,_0x57985a,0x195,_0x1d4db6(0x220));return;}if(_0x3797a2===void 0x0||_0x3797a2[_0x1d4db6(0x2cf)]()!==_0x1d4db6(0x267)){_0x134e7e(this,_0x25d8ba,_0x57985a,0x190,_0x1d4db6(0x157));return;}if(_0x120259===void 0x0||!_0x289379[_0x1d4db6(0x22d)](_0x120259)){_0x134e7e(this,_0x25d8ba,_0x57985a,0x190,_0x1d4db6(0x1bc));return;}if(_0x5e5568!==0x8&&_0x5e5568!==0xd){_0x134e7e(this,_0x25d8ba,_0x57985a,0x190,_0x1d4db6(0x23b));return;}if(!this[_0x1d4db6(0x1b0)](_0x25d8ba)){_0x5f2194(_0x57985a,0x190);return;}const _0x568b73=_0x25d8ba[_0x1d4db6(0x1f9)]['sec-websocket-protocol'];let _0x149ab3=new Set();if(_0x568b73!==void 0x0)try{_0x149ab3=_0x187ce2[_0x1d4db6(0x29e)](_0x568b73);}catch{_0x134e7e(this,_0x25d8ba,_0x57985a,0x190,_0x1d4db6(0x273));return;}const _0x415892=_0x25d8ba[_0x1d4db6(0x1f9)]['sec-websocket-extensions'],_0x52382d={};if(this[_0x1d4db6(0x19b)][_0x1d4db6(0x24d)]&&_0x415892!==void 0x0){const _0x5d6047=new _0x9ad1ea(this['options']['perMessageDeflate'],!0x0,this[_0x1d4db6(0x19b)][_0x1d4db6(0x185)]);try{const _0x4d0ee7=_0x19944e[_0x1d4db6(0x29e)](_0x415892);_0x4d0ee7[_0x9ad1ea[_0x1d4db6(0x247)]]&&(_0x5d6047[_0x1d4db6(0x1a3)](_0x4d0ee7[_0x9ad1ea[_0x1d4db6(0x247)]]),_0x52382d[_0x9ad1ea[_0x1d4db6(0x247)]]=_0x5d6047);}catch{_0x134e7e(this,_0x25d8ba,_0x57985a,0x190,'Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header');return;}}if(this[_0x1d4db6(0x19b)][_0x1d4db6(0x1d1)]){const _0x319a9c={'origin':_0x25d8ba[_0x1d4db6(0x1f9)][''+(_0x5e5568===0x8?_0x1d4db6(0x1f4):_0x1d4db6(0x2c1))],'secure':!!(_0x25d8ba[_0x1d4db6(0x192)][_0x1d4db6(0x21a)]||_0x25d8ba['socket'][_0x1d4db6(0x15a)]),'req':_0x25d8ba};if(this[_0x1d4db6(0x19b)][_0x1d4db6(0x1d1)][_0x1d4db6(0x1b8)]===0x2){this[_0x1d4db6(0x19b)][_0x1d4db6(0x1d1)](_0x319a9c,(_0x454c99,_0x507790,_0x56e89f,_0x30de43)=>{const _0x2581a3=_0x1d4db6;if(!_0x454c99)return _0x5f2194(_0x57985a,_0x507790||0x191,_0x56e89f,_0x30de43);this[_0x2581a3(0x234)](_0x52382d,_0x120259,_0x149ab3,_0x25d8ba,_0x57985a,_0x32ce51,_0x3f02e9);});return;}if(!this[_0x1d4db6(0x19b)][_0x1d4db6(0x1d1)](_0x319a9c))return _0x5f2194(_0x57985a,0x191);}this[_0x1d4db6(0x234)](_0x52382d,_0x120259,_0x149ab3,_0x25d8ba,_0x57985a,_0x32ce51,_0x3f02e9);}['completeUpgrade'](_0x44fb3b,_0x581fdc,_0x27ffc7,_0x20ae8a,_0x4f1391,_0x53feb9,_0x249217){const _0x5a713f=_0x15b292;if(!_0x4f1391[_0x5a713f(0x1c1)]||!_0x4f1391['writable'])return _0x4f1391[_0x5a713f(0x265)]();if(_0x4f1391[_0x49da98])throw new Error(_0x5a713f(0x21b));if(this[_0x5a713f(0x2db)]>_0x28cdbb)return _0x5f2194(_0x4f1391,0x1f7);const _0x597685=[_0x5a713f(0x297),_0x5a713f(0x2a7),_0x5a713f(0x250),_0x5a713f(0x20d)+_0x405ddf(_0x5a713f(0x14c))[_0x5a713f(0x138)](_0x581fdc+_0x1cda93)['digest']('base64')],_0x1fbf6b=new this['options']['WebSocket'](null,void 0x0,this[_0x5a713f(0x19b)]);if(_0x27ffc7[_0x5a713f(0x2a4)]){const _0x7c3a21=this['options'][_0x5a713f(0x1a1)]?this[_0x5a713f(0x19b)][_0x5a713f(0x1a1)](_0x27ffc7,_0x20ae8a):_0x27ffc7['values']()[_0x5a713f(0x173)]()['value'];_0x7c3a21&&(_0x597685['push'](_0x5a713f(0x2cd)+_0x7c3a21),_0x1fbf6b[_0x5a713f(0x131)]=_0x7c3a21);}if(_0x44fb3b[_0x9ad1ea[_0x5a713f(0x247)]]){const _0x223acb=_0x44fb3b[_0x9ad1ea[_0x5a713f(0x247)]][_0x5a713f(0x182)],_0xacd6fa=_0x19944e[_0x5a713f(0x16f)]({[_0x9ad1ea['extensionName']]:[_0x223acb]});_0x597685[_0x5a713f(0x22f)]('Sec-WebSocket-Extensions:\x20'+_0xacd6fa),_0x1fbf6b[_0x5a713f(0x154)]=_0x44fb3b;}this['emit'](_0x5a713f(0x1f9),_0x597685,_0x20ae8a),_0x4f1391[_0x5a713f(0x1b9)](_0x597685[_0x5a713f(0x28d)]('\x0d\x0a')[_0x5a713f(0x174)]('\x0d\x0a')),_0x4f1391[_0x5a713f(0x13a)](_0x5a713f(0x180),_0x1ca669),_0x1fbf6b[_0x5a713f(0x236)](_0x4f1391,_0x53feb9,{'allowSynchronousEvents':this[_0x5a713f(0x19b)][_0x5a713f(0x177)],'maxPayload':this[_0x5a713f(0x19b)]['maxPayload'],'skipUTF8Validation':this[_0x5a713f(0x19b)][_0x5a713f(0x1c8)]}),this[_0x5a713f(0x1be)]&&(this['clients'][_0x5a713f(0x2de)](_0x1fbf6b),_0x1fbf6b['on'](_0x5a713f(0x2d7),()=>{const _0x8e48f0=_0x5a713f;this['clients']['delete'](_0x1fbf6b),this[_0x8e48f0(0x147)]&&!this['clients']['size']&&process['nextTick'](_0x2baa94,this);})),_0x249217(_0x1fbf6b,_0x20ae8a);}}Te=_0x4f81df;function _0x274f01(_0xd33ed0,_0x23cc31){const _0x2b5572=_0x15b292;for(const _0x22185c of Object[_0x2b5572(0x149)](_0x23cc31))_0xd33ed0['on'](_0x22185c,_0x23cc31[_0x22185c]);return function(){const _0x24c823=_0x2b5572;for(const _0x437dd4 of Object[_0x24c823(0x149)](_0x23cc31))_0xd33ed0[_0x24c823(0x13a)](_0x437dd4,_0x23cc31[_0x437dd4]);};}function _0x2baa94(_0xbe224c){const _0x1616fc=_0x15b292;_0xbe224c[_0x1616fc(0x2db)]=_0x5239ab,_0xbe224c['emit']('close');}function _0x1ca669(){this['destroy']();}function _0x5f2194(_0x19f939,_0x57922d,_0x12b7d0,_0x49ab37){const _0x47d07d=_0x15b292;_0x12b7d0=_0x12b7d0||_0xe37cb3[_0x47d07d(0x1d9)][_0x57922d],_0x49ab37={'Connection':'close','Content-Type':_0x47d07d(0x288),'Content-Length':Buffer[_0x47d07d(0x151)](_0x12b7d0),..._0x49ab37},_0x19f939[_0x47d07d(0x1b6)](_0x47d07d(0x29d),_0x19f939[_0x47d07d(0x265)]),_0x19f939[_0x47d07d(0x293)](_0x47d07d(0x2bb)+_0x57922d+'\x20'+_0xe37cb3[_0x47d07d(0x1d9)][_0x57922d]+'\x0d\x0a'+Object[_0x47d07d(0x149)](_0x49ab37)[_0x47d07d(0x25b)](_0x24804b=>_0x24804b+':\x20'+_0x49ab37[_0x24804b])[_0x47d07d(0x174)]('\x0d\x0a')+_0x47d07d(0x1fd)+_0x12b7d0);}function _0x134e7e(_0x2764dd,_0x2593c9,_0x588f35,_0x171091,_0x3761b8){const _0x5ba302=_0x15b292;if(_0x2764dd['listenerCount'](_0x5ba302(0x2da))){const _0x3c7a54=new Error(_0x3761b8);Error[_0x5ba302(0x240)](_0x3c7a54,_0x134e7e),_0x2764dd[_0x5ba302(0x170)](_0x5ba302(0x2da),_0x3c7a54,_0x588f35,_0x2593c9);}else _0x5f2194(_0x588f35,_0x171091,_0x3761b8);}return Te;}er();var tr=Object[_0x3e7491(0x1e7)],rr=(_0x5559e2,_0x49765c,_0x2e98a7,_0x1ec3b4)=>{const _0x15f195=_0x3e7491;for(var _0x2783f3=_0x1ec3b4>0x1?void 0x0:_0x1ec3b4?tr(_0x49765c,_0x2e98a7):_0x49765c,_0x3b4333=_0x5559e2[_0x15f195(0x1b8)]-0x1,_0xf21ce;_0x3b4333>=0x0;_0x3b4333--)(_0xf21ce=_0x5559e2[_0x3b4333])&&(_0x2783f3=_0xf21ce(_0x2783f3)||_0x2783f3);return _0x2783f3;},sr=(_0x4731fb,_0x4d9706)=>(_0x453dff,_0x154dad)=>_0x4d9706(_0x453dff,_0x154dad,_0x4731fb);let Ne=class extends _0x2737f7{constructor(_0x27a2e9){const _0x5571f0=_0x3e7491;super(),this[_0x5571f0(0x298)]=_0x27a2e9;}[_0x3e7491(0x23a)](_0x50549f){const _0x31e1bd=_0x3e7491;var _0x16ff77;const _0x5b6cdc=(_0x16ff77=this['_configService']['getConfig'](Be))==null?void 0x0:_0x16ff77['customHeaders'];try{const _0x21c2b4=new Qt(_0x50549f,{'headers':{..._0x5b6cdc}}),_0x416697=new _0x3784bb();return{'URL':_0x50549f,'close':(_0x3d7bd1,_0x5f38e2)=>{const _0x108f41=_0x1da9;_0x21c2b4[_0x108f41(0x2d7)](_0x3d7bd1,_0x5f38e2),_0x416697[_0x108f41(0x17d)]();},'send':_0x23c477=>{const _0x407f02=_0x1da9;_0x21c2b4[_0x407f02(0x27a)](_0x23c477);},'open$':new _0x1584bb(_0x2e1d77=>{const _0x1744ad=_0x1da9,_0x22d351=_0x36a803=>_0x2e1d77['next'](_0x36a803);_0x21c2b4[_0x1744ad(0x208)](_0x1744ad(0x2b9),_0x22d351),_0x416697[_0x1744ad(0x2de)](_0x230175(()=>_0x21c2b4[_0x1744ad(0x16e)](_0x1744ad(0x2b9),_0x22d351)));})['pipe'](_0x1e5cb8()),'close$':new _0x1584bb(_0x2d3b8d=>{const _0x35c7f3=_0x1da9,_0x2ae2e4=_0x46e735=>_0x2d3b8d[_0x35c7f3(0x173)](_0x46e735);_0x21c2b4[_0x35c7f3(0x208)](_0x35c7f3(0x2d7),_0x2ae2e4),_0x416697[_0x35c7f3(0x2de)](_0x230175(()=>_0x21c2b4[_0x35c7f3(0x16e)](_0x35c7f3(0x2d7),_0x2ae2e4)));})[_0x31e1bd(0x270)](_0x1e5cb8()),'error$':new _0x1584bb(_0x598f3d=>{const _0x23e232=_0x31e1bd,_0x518223=_0x4caa94=>_0x598f3d[_0x23e232(0x173)](_0x4caa94);_0x21c2b4[_0x23e232(0x208)](_0x23e232(0x180),_0x518223),_0x416697['add'](_0x230175(()=>_0x21c2b4[_0x23e232(0x16e)](_0x23e232(0x180),_0x518223)));})[_0x31e1bd(0x270)](_0x1e5cb8()),'message$':new _0x1584bb(_0x340eab=>{const _0x541017=_0x31e1bd,_0x1d1788=_0x2b8941=>_0x340eab['next'](_0x2b8941);_0x21c2b4[_0x541017(0x208)](_0x541017(0x186),_0x1d1788),_0x416697['add'](_0x230175(()=>_0x21c2b4['removeEventListener'](_0x541017(0x186),_0x1d1788)));})[_0x31e1bd(0x270)](_0x1e5cb8())};}catch(_0x599854){return console['error'](_0x599854),null;}}};Ne=rr([sr(0x0,_0x46c521)],Ne);var ir=Object[_0x3e7491(0x1c6)],nr=Object[_0x3e7491(0x1e7)],or=(_0x1f1c34,_0x34c29d,_0x59bdb1)=>_0x34c29d in _0x1f1c34?ir(_0x1f1c34,_0x34c29d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x59bdb1}):_0x1f1c34[_0x34c29d]=_0x59bdb1,ar=(_0x3c5ce0,_0x3e7eed,_0x1c000b,_0x5c6d40)=>{const _0x850762=_0x3e7491;for(var _0x4b2a55=_0x5c6d40>0x1?void 0x0:_0x5c6d40?nr(_0x3e7eed,_0x1c000b):_0x3e7eed,_0x18539b=_0x3c5ce0[_0x850762(0x1b8)]-0x1,_0x3fbc63;_0x18539b>=0x0;_0x18539b--)(_0x3fbc63=_0x3c5ce0[_0x18539b])&&(_0x4b2a55=_0x3fbc63(_0x4b2a55)||_0x4b2a55);return _0x4b2a55;},ke=(_0x120018,_0x21d199)=>(_0xad93f8,_0xddb188)=>_0x21d199(_0xad93f8,_0xddb188,_0x120018),lr=(_0x48b983,_0x4e181e,_0x36e2c0)=>or(_0x48b983,_0x4e181e+'',_0x36e2c0);let Pe=class extends _0x51ff04{constructor(_0x2c9890=Ft,_0x3a216e,_0x4d6bd3,_0x291076){const _0x4da11e=_0x3e7491;_0x2c9890[_0x4da11e(0x1d0)]||_0x3a216e[_0x4da11e(0x169)]('[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.'),super(),this['_configService']=_0x4d6bd3,this[_0x4da11e(0x134)]=_0x291076,this[_0x4da11e(0x298)][_0x4da11e(0x14f)](Be,_0x2c9890);}[_0x3e7491(0x1ad)](){const _0x25081a=_0x3e7491;this[_0x25081a(0x12f)]();}[_0x3e7491(0x12f)](){_0xf9db87(this['_injector'],[[_0x1313b6,{'useClass':Ne}]]);}};lr(Pe,_0x3e7491(0x175),_0x3e7491(0x153)),Pe=ar([_0x1da448(_0x458eeb),ke(0x1,_0x3bb979),ke(0x2,_0x46c521),ke(0x3,_0x14a135(_0x413cf1))],Pe);var fr=Object[_0x3e7491(0x1e7)],cr=(_0x5c9cc2,_0x400196,_0x13e92d,_0x1d5e5a)=>{const _0x9d5195=_0x3e7491;for(var _0x509a8e=_0x1d5e5a>0x1?void 0x0:_0x1d5e5a?fr(_0x400196,_0x13e92d):_0x400196,_0x3b07a7=_0x5c9cc2[_0x9d5195(0x1b8)]-0x1,_0x3747a5;_0x3b07a7>=0x0;_0x3b07a7--)(_0x3747a5=_0x5c9cc2[_0x3b07a7])&&(_0x509a8e=_0x3747a5(_0x509a8e)||_0x509a8e);return _0x509a8e;},se=(_0x31efe9,_0x2a943d)=>(_0x161b83,_0x8221cc)=>_0x2a943d(_0x161b83,_0x8221cc,_0x31efe9);let at=class extends _0x1437de{constructor(_0x533714,_0x5d8546,_0x4968b9,_0x392157,_0x3fb05e){const _0x19e7df=_0x3e7491;super(_0x533714,_0x5d8546,_0x4968b9,_0x392157,_0x3fb05e);const _0x18bdcf=this[_0x19e7df(0x298)][_0x19e7df(0x16a)](Be);this[_0x19e7df(0x1e0)][_0x19e7df(0x228)]({'interceptor':(_0x1f2bf8,_0x12f68d)=>{const _0x572621=_0x19e7df;var _0x1d8eee;const _0x15235d=_0x1f2bf8['headers'];return(_0x1d8eee=_0x18bdcf==null?void 0x0:_0x18bdcf[_0x572621(0x1d0)])!=null&&_0x1d8eee['cookie']&&_0x15235d[_0x572621(0x1ed)]('Cookie',_0x18bdcf[_0x572621(0x1d0)]['cookie']),_0x12f68d(_0x1f2bf8);}});}async[_0x3e7491(0x23a)](_0x4ecdc2){const _0x37a8c7=_0x3e7491;return this[_0x37a8c7(0x272)](_0x4ecdc2);}};at=cr([se(0x0,_0x14a135(_0x413cf1)),se(0x1,_0x14a135(_0x564d5f)),se(0x2,_0x46c521),se(0x3,_0x3bb979),se(0x4,_0x3df8ef)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
|
|
1
|
+
const _0x2b7c49=_0x212f;(function(_0x4501a2,_0x22693a){const _0x3e2e72=_0x212f,_0x3b2b93=_0x4501a2();while(!![]){try{const _0x317445=-parseInt(_0x3e2e72(0x1f5))/0x1+parseInt(_0x3e2e72(0x193))/0x2*(-parseInt(_0x3e2e72(0x21c))/0x3)+parseInt(_0x3e2e72(0x288))/0x4+-parseInt(_0x3e2e72(0x16d))/0x5+-parseInt(_0x3e2e72(0x1fa))/0x6+parseInt(_0x3e2e72(0x1e5))/0x7*(parseInt(_0x3e2e72(0x2aa))/0x8)+parseInt(_0x3e2e72(0x2b8))/0x9*(parseInt(_0x3e2e72(0x19c))/0xa);if(_0x317445===_0x22693a)break;else _0x3b2b93['push'](_0x3b2b93['shift']());}catch(_0x5a3c3c){_0x3b2b93['push'](_0x3b2b93['shift']());}}}(_0x43cc,0xc8ce7));import{UniverCollaborationClientPlugin as _0x336679,CollaborationSocketService as _0x47bd11}from'@univerjs-pro/collaboration-client';import{Disposable as _0x3ae861,DisposableCollection as _0x2822ea,toDisposable as _0x3b9b05,IConfigService as _0x14c117,DependentOn as _0x5b05cf,ILogService as _0x9ff22c,Inject as _0x38379a,Injector as _0x2aa482,Plugin as _0x37c28f,registerDependencies as _0x5c4569}from'@univerjs/core';import{ISocketService as _0xfe1714,HTTPService as _0x59054c}from'@univerjs/network';import{Observable as _0x48eb5f,share as _0x460c01}from'rxjs';import _0x2a026b from'events';import _0x9edbd2 from'https';import _0x193856 from'http';import _0x580936 from'net';import _0x4fa7f7 from'tls';import _0x409377 from'crypto';import _0x3e85cd from'stream';import _0x247b7c from'url';import _0x4fdd1d from'zlib';import _0x38a4fe from'buffer';import{ISnapshotServerService as _0x5d2238}from'@univerjs-pro/collaboration';const Be=_0x2b7c49(0x25e),Ft={'customHeaders':{}};function jt(_0x4b8b28){const _0x5c8c86=_0x2b7c49;return _0x4b8b28&&_0x4b8b28[_0x5c8c86(0x2b9)]&&Object[_0x5c8c86(0x216)][_0x5c8c86(0x221)][_0x5c8c86(0x2ba)](_0x4b8b28,_0x5c8c86(0x1e0))?_0x4b8b28[_0x5c8c86(0x1e0)]:_0x4b8b28;}function ut(_0x574066){const _0x48d443=_0x2b7c49;if(Object[_0x48d443(0x216)]['hasOwnProperty'][_0x48d443(0x2ba)](_0x574066,_0x48d443(0x2b9)))return _0x574066;var _0x17f106=_0x574066[_0x48d443(0x1e0)];if(typeof _0x17f106==_0x48d443(0x157)){var _0x146df1=function _0x2e8da4(){const _0x20535d=_0x48d443;var _0x49a219=!0x1;try{_0x49a219=this instanceof _0x2e8da4;}catch{}return _0x49a219?Reflect[_0x20535d(0x187)](_0x17f106,arguments,this['constructor']):_0x17f106['apply'](this,arguments);};_0x146df1['prototype']=_0x17f106[_0x48d443(0x216)];}else _0x146df1={};return Object[_0x48d443(0x1a5)](_0x146df1,_0x48d443(0x2b9),{'value':!0x0}),Object[_0x48d443(0x1ff)](_0x574066)[_0x48d443(0x13f)](function(_0x51e997){const _0x188937=_0x48d443;var _0xf135f3=Object['getOwnPropertyDescriptor'](_0x574066,_0x51e997);Object[_0x188937(0x1a5)](_0x146df1,_0x51e997,_0xf135f3['get']?_0xf135f3:{'enumerable':!0x0,'get':function(){return _0x574066[_0x51e997];}});}),_0x146df1;}var te={'exports':{}},ge,Ye;function V(){const _0x33748f=_0x2b7c49;if(Ye)return ge;Ye=0x1;const _0xdb6a4b=[_0x33748f(0x1cd),'arraybuffer',_0x33748f(0x184)],_0x1f808e=typeof Blob<'u';return _0x1f808e&&_0xdb6a4b[_0x33748f(0x17e)](_0x33748f(0x12e)),ge={'BINARY_TYPES':_0xdb6a4b,'EMPTY_BUFFER':Buffer[_0x33748f(0x26a)](0x0),'GUID':_0x33748f(0x133),'hasBlob':_0x1f808e,'kForOnEventAttribute':Symbol(_0x33748f(0x11b)),'kListener':Symbol('kListener'),'kStatusCode':Symbol(_0x33748f(0x1bc)),'kWebSocket':Symbol(_0x33748f(0x195)),'NOOP':()=>{}},ge;}const Wt={},Gt=Object[_0x2b7c49(0x29d)](Object['defineProperty']({'__proto__':null,'default':Wt},Symbol['toStringTag'],{'value':_0x2b7c49(0x2a2)})),Vt=ut(Gt);var Ke;function ce(){const _0x579f0d=_0x2b7c49;if(Ke)return te[_0x579f0d(0x2a5)];Ke=0x1;const {EMPTY_BUFFER:_0x26d86f}=V(),_0x30ab5c=Buffer[Symbol[_0x579f0d(0x16b)]];function _0x56f152(_0x4ec72c,_0x5db2ac){const _0x19e75b=_0x579f0d;if(_0x4ec72c[_0x19e75b(0x10f)]===0x0)return _0x26d86f;if(_0x4ec72c[_0x19e75b(0x10f)]===0x1)return _0x4ec72c[0x0];const _0x17d0d4=Buffer[_0x19e75b(0x1e1)](_0x5db2ac);let _0x56c447=0x0;for(let _0x11e79a=0x0;_0x11e79a<_0x4ec72c[_0x19e75b(0x10f)];_0x11e79a++){const _0x16f5de=_0x4ec72c[_0x11e79a];_0x17d0d4[_0x19e75b(0x1f3)](_0x16f5de,_0x56c447),_0x56c447+=_0x16f5de[_0x19e75b(0x10f)];}return _0x56c447<_0x5db2ac?new _0x30ab5c(_0x17d0d4[_0x19e75b(0x1ea)],_0x17d0d4[_0x19e75b(0x231)],_0x56c447):_0x17d0d4;}function _0x5076f4(_0x684cc3,_0x4c83d9,_0x5e4f82,_0x5b811b,_0x305e6e){for(let _0x162316=0x0;_0x162316<_0x305e6e;_0x162316++)_0x5e4f82[_0x5b811b+_0x162316]=_0x684cc3[_0x162316]^_0x4c83d9[_0x162316&0x3];}function _0x3016f9(_0x48b205,_0x37d3d3){const _0x2f0e82=_0x579f0d;for(let _0x575022=0x0;_0x575022<_0x48b205[_0x2f0e82(0x10f)];_0x575022++)_0x48b205[_0x575022]^=_0x37d3d3[_0x575022&0x3];}function _0x413498(_0x1e71d8){const _0xae0170=_0x579f0d;return _0x1e71d8[_0xae0170(0x10f)]===_0x1e71d8[_0xae0170(0x1ea)][_0xae0170(0x279)]?_0x1e71d8[_0xae0170(0x1ea)]:_0x1e71d8[_0xae0170(0x1ea)]['slice'](_0x1e71d8['byteOffset'],_0x1e71d8[_0xae0170(0x231)]+_0x1e71d8['length']);}function _0x1b3440(_0x11da53){const _0x1aa4b2=_0x579f0d;if(_0x1b3440[_0x1aa4b2(0x23d)]=!0x0,Buffer[_0x1aa4b2(0x120)](_0x11da53))return _0x11da53;let _0x14dd5d;return _0x11da53 instanceof ArrayBuffer?_0x14dd5d=new _0x30ab5c(_0x11da53):ArrayBuffer[_0x1aa4b2(0x143)](_0x11da53)?_0x14dd5d=new _0x30ab5c(_0x11da53['buffer'],_0x11da53[_0x1aa4b2(0x231)],_0x11da53[_0x1aa4b2(0x279)]):(_0x14dd5d=Buffer[_0x1aa4b2(0x1b4)](_0x11da53),_0x1b3440[_0x1aa4b2(0x23d)]=!0x1),_0x14dd5d;}if(te[_0x579f0d(0x2a5)]={'concat':_0x56f152,'mask':_0x5076f4,'toArrayBuffer':_0x413498,'toBuffer':_0x1b3440,'unmask':_0x3016f9},!process[_0x579f0d(0x253)][_0x579f0d(0x28c)])try{const _0xd9ff0b=Vt;te[_0x579f0d(0x2a5)][_0x579f0d(0x207)]=function(_0xf77b58,_0x16268f,_0x2fab9b,_0x5a3c44,_0x350e87){const _0x51ada4=_0x579f0d;_0x350e87<0x30?_0x5076f4(_0xf77b58,_0x16268f,_0x2fab9b,_0x5a3c44,_0x350e87):_0xd9ff0b[_0x51ada4(0x207)](_0xf77b58,_0x16268f,_0x2fab9b,_0x5a3c44,_0x350e87);},te[_0x579f0d(0x2a5)]['unmask']=function(_0x4f9259,_0xaa04e0){const _0x5a1283=_0x579f0d;_0x4f9259[_0x5a1283(0x10f)]<0x20?_0x3016f9(_0x4f9259,_0xaa04e0):_0xd9ff0b[_0x5a1283(0x1c3)](_0x4f9259,_0xaa04e0);};}catch{}return te['exports'];}var ye,Xe;function qt(){const _0x290f0b=_0x2b7c49;if(Xe)return ye;Xe=0x1;const _0x506b5d=Symbol('kDone'),_0x57ff84=Symbol(_0x290f0b(0x175));class _0x439019{constructor(_0x2dcf70){const _0x2b4f95=_0x290f0b;this[_0x506b5d]=()=>{const _0x49067f=_0x212f;this[_0x49067f(0x153)]--,this[_0x57ff84]();},this['concurrency']=_0x2dcf70||0x1/0x0,this['jobs']=[],this[_0x2b4f95(0x153)]=0x0;}[_0x290f0b(0x227)](_0x2ffc1f){const _0x5b2465=_0x290f0b;this[_0x5b2465(0x1a4)][_0x5b2465(0x17e)](_0x2ffc1f),this[_0x57ff84]();}[_0x57ff84](){const _0x43bb09=_0x290f0b;if(this['pending']!==this[_0x43bb09(0x1fe)]&&this[_0x43bb09(0x1a4)]['length']){const _0x28be90=this['jobs']['shift']();this[_0x43bb09(0x153)]++,_0x28be90(this[_0x506b5d]);}}}return ye=_0x439019,ye;}var ve,Ze;function he(){const _0x3f8913=_0x2b7c49;if(Ze)return ve;Ze=0x1;const _0x50ba07=_0x4fdd1d,_0xae45cb=ce(),_0x315430=qt(),{kStatusCode:_0x36ba1c}=V(),_0xf22d5d=Buffer[Symbol[_0x3f8913(0x16b)]],_0x23aef8=Buffer['from']([0x0,0x0,0xff,0xff]),_0x30ff06=Symbol(_0x3f8913(0x164)),_0x5cd3bf=Symbol(_0x3f8913(0x1d6)),_0x3fa390=Symbol(_0x3f8913(0x1df)),_0x6600fe=Symbol(_0x3f8913(0x26f)),_0x446275=Symbol(_0x3f8913(0x21f));let _0x344638;class _0xb24fe3{constructor(_0xb62833,_0x4a9146,_0x433bfb){const _0x36715d=_0x3f8913;if(this[_0x36715d(0x127)]=_0x433bfb|0x0,this[_0x36715d(0x1de)]=_0xb62833||{},this['_threshold']=this['_options'][_0x36715d(0x1dd)]!==void 0x0?this[_0x36715d(0x1de)][_0x36715d(0x1dd)]:0x400,this['_isServer']=!!_0x4a9146,this[_0x36715d(0x29f)]=null,this['_inflate']=null,this[_0x36715d(0x1a3)]=null,!_0x344638){const _0xf648b5=this['_options']['concurrencyLimit']!==void 0x0?this['_options']['concurrencyLimit']:0xa;_0x344638=new _0x315430(_0xf648b5);}}static get['extensionName'](){return'permessage-deflate';}[_0x3f8913(0x1bd)](){const _0x11fca3=_0x3f8913,_0x6e32d3={};return this[_0x11fca3(0x1de)][_0x11fca3(0x2a6)]&&(_0x6e32d3[_0x11fca3(0x169)]=!0x0),this[_0x11fca3(0x1de)][_0x11fca3(0x1c4)]&&(_0x6e32d3['client_no_context_takeover']=!0x0),this[_0x11fca3(0x1de)][_0x11fca3(0x2b3)]&&(_0x6e32d3[_0x11fca3(0x19d)]=this['_options'][_0x11fca3(0x2b3)]),this[_0x11fca3(0x1de)][_0x11fca3(0x238)]?_0x6e32d3[_0x11fca3(0x172)]=this[_0x11fca3(0x1de)][_0x11fca3(0x238)]:this['_options'][_0x11fca3(0x238)]==null&&(_0x6e32d3[_0x11fca3(0x172)]=!0x0),_0x6e32d3;}['accept'](_0x3f541f){const _0x578bfe=_0x3f8913;return _0x3f541f=this[_0x578bfe(0x266)](_0x3f541f),this[_0x578bfe(0x1a3)]=this[_0x578bfe(0x1f9)]?this[_0x578bfe(0x249)](_0x3f541f):this[_0x578bfe(0x162)](_0x3f541f),this['params'];}[_0x3f8913(0x125)](){const _0x11c229=_0x3f8913;if(this[_0x11c229(0x18b)]&&(this[_0x11c229(0x18b)]['close'](),this[_0x11c229(0x18b)]=null),this['_deflate']){const _0x20cc14=this[_0x11c229(0x29f)][_0x3fa390];this[_0x11c229(0x29f)]['close'](),this[_0x11c229(0x29f)]=null,_0x20cc14&&_0x20cc14(new Error(_0x11c229(0x19a)));}}['acceptAsServer'](_0x24bdbf){const _0x834d18=_0x3f8913,_0x539146=this['_options'],_0x3f0315=_0x24bdbf[_0x834d18(0x25b)](_0x420cf7=>!(_0x539146[_0x834d18(0x2a6)]===!0x1&&_0x420cf7[_0x834d18(0x169)]||_0x420cf7[_0x834d18(0x19d)]&&(_0x539146[_0x834d18(0x2b3)]===!0x1||typeof _0x539146['serverMaxWindowBits']==_0x834d18(0x24b)&&_0x539146[_0x834d18(0x2b3)]>_0x420cf7[_0x834d18(0x19d)])||typeof _0x539146[_0x834d18(0x238)]==_0x834d18(0x24b)&&!_0x420cf7[_0x834d18(0x172)]));if(!_0x3f0315)throw new Error(_0x834d18(0x13e));return _0x539146['serverNoContextTakeover']&&(_0x3f0315[_0x834d18(0x169)]=!0x0),_0x539146[_0x834d18(0x1c4)]&&(_0x3f0315[_0x834d18(0x142)]=!0x0),typeof _0x539146[_0x834d18(0x2b3)]==_0x834d18(0x24b)&&(_0x3f0315[_0x834d18(0x19d)]=_0x539146[_0x834d18(0x2b3)]),typeof _0x539146[_0x834d18(0x238)]=='number'?_0x3f0315[_0x834d18(0x172)]=_0x539146[_0x834d18(0x238)]:(_0x3f0315[_0x834d18(0x172)]===!0x0||_0x539146[_0x834d18(0x238)]===!0x1)&&delete _0x3f0315[_0x834d18(0x172)],_0x3f0315;}[_0x3f8913(0x162)](_0x4486ad){const _0x1f8aa1=_0x3f8913,_0xbfb4f=_0x4486ad[0x0];if(this[_0x1f8aa1(0x1de)][_0x1f8aa1(0x1c4)]===!0x1&&_0xbfb4f[_0x1f8aa1(0x142)])throw new Error(_0x1f8aa1(0x27c));if(!_0xbfb4f[_0x1f8aa1(0x172)])typeof this[_0x1f8aa1(0x1de)]['clientMaxWindowBits']==_0x1f8aa1(0x24b)&&(_0xbfb4f[_0x1f8aa1(0x172)]=this[_0x1f8aa1(0x1de)][_0x1f8aa1(0x238)]);else{if(this[_0x1f8aa1(0x1de)][_0x1f8aa1(0x238)]===!0x1||typeof this[_0x1f8aa1(0x1de)][_0x1f8aa1(0x238)]==_0x1f8aa1(0x24b)&&_0xbfb4f['client_max_window_bits']>this[_0x1f8aa1(0x1de)][_0x1f8aa1(0x238)])throw new Error(_0x1f8aa1(0x235));}return _0xbfb4f;}[_0x3f8913(0x266)](_0x3755de){const _0x23f421=_0x3f8913;return _0x3755de[_0x23f421(0x13f)](_0x103f46=>{const _0x41d191=_0x23f421;Object[_0x41d191(0x1ff)](_0x103f46)['forEach'](_0x317d8b=>{const _0x451b46=_0x41d191;let _0x588a8e=_0x103f46[_0x317d8b];if(_0x588a8e[_0x451b46(0x10f)]>0x1)throw new Error(_0x451b46(0x16f)+_0x317d8b+'\x22\x20must\x20have\x20only\x20a\x20single\x20value');if(_0x588a8e=_0x588a8e[0x0],_0x317d8b===_0x451b46(0x172)){if(_0x588a8e!==!0x0){const _0x267bb4=+_0x588a8e;if(!Number[_0x451b46(0x260)](_0x267bb4)||_0x267bb4<0x8||_0x267bb4>0xf)throw new TypeError(_0x451b46(0x1c9)+_0x317d8b+_0x451b46(0x148)+_0x588a8e);_0x588a8e=_0x267bb4;}else{if(!this[_0x451b46(0x1f9)])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x317d8b+_0x451b46(0x148)+_0x588a8e);}}else{if(_0x317d8b===_0x451b46(0x19d)){const _0x2421d8=+_0x588a8e;if(!Number['isInteger'](_0x2421d8)||_0x2421d8<0x8||_0x2421d8>0xf)throw new TypeError(_0x451b46(0x1c9)+_0x317d8b+'\x22:\x20'+_0x588a8e);_0x588a8e=_0x2421d8;}else{if(_0x317d8b===_0x451b46(0x142)||_0x317d8b===_0x451b46(0x169)){if(_0x588a8e!==!0x0)throw new TypeError(_0x451b46(0x1c9)+_0x317d8b+_0x451b46(0x148)+_0x588a8e);}else throw new Error('Unknown\x20parameter\x20\x22'+_0x317d8b+'\x22');}}_0x103f46[_0x317d8b]=_0x588a8e;});}),_0x3755de;}['decompress'](_0x5e6691,_0x16150b,_0x322cd3){_0x344638['add'](_0x3ddbbb=>{const _0x32b097=_0x212f;this[_0x32b097(0x261)](_0x5e6691,_0x16150b,(_0x3f89c6,_0x29a07a)=>{_0x3ddbbb(),_0x322cd3(_0x3f89c6,_0x29a07a);});});}['compress'](_0x40d3b6,_0x374749,_0x5bd0cd){_0x344638['add'](_0x13d98f=>{this['_compress'](_0x40d3b6,_0x374749,(_0x22acb9,_0x164db9)=>{_0x13d98f(),_0x5bd0cd(_0x22acb9,_0x164db9);});});}[_0x3f8913(0x261)](_0x15400d,_0x1fccb1,_0x5eba89){const _0x272c58=_0x3f8913,_0x592daf=this['_isServer']?'client':_0x272c58(0x1e8);if(!this[_0x272c58(0x18b)]){const _0x2640ef=_0x592daf+_0x272c58(0x22f),_0x542337=typeof this[_0x272c58(0x1a3)][_0x2640ef]!=_0x272c58(0x24b)?_0x50ba07[_0x272c58(0x14c)]:this['params'][_0x2640ef];this[_0x272c58(0x18b)]=_0x50ba07[_0x272c58(0x1f2)]({...this[_0x272c58(0x1de)][_0x272c58(0x17d)],'windowBits':_0x542337}),this[_0x272c58(0x18b)][_0x30ff06]=this,this[_0x272c58(0x18b)][_0x5cd3bf]=0x0,this[_0x272c58(0x18b)][_0x6600fe]=[],this[_0x272c58(0x18b)]['on'](_0x272c58(0x21f),_0x4f9163),this['_inflate']['on']('data',_0x26ca40);}this[_0x272c58(0x18b)][_0x3fa390]=_0x5eba89,this['_inflate'][_0x272c58(0x1e9)](_0x15400d),_0x1fccb1&&this[_0x272c58(0x18b)][_0x272c58(0x1e9)](_0x23aef8),this['_inflate'][_0x272c58(0x134)](()=>{const _0x1902ac=_0x272c58,_0x3b85b0=this[_0x1902ac(0x18b)][_0x446275];if(_0x3b85b0){this[_0x1902ac(0x18b)]['close'](),this[_0x1902ac(0x18b)]=null,_0x5eba89(_0x3b85b0);return;}const _0x1d73d7=_0xae45cb[_0x1902ac(0x12b)](this[_0x1902ac(0x18b)][_0x6600fe],this['_inflate'][_0x5cd3bf]);this[_0x1902ac(0x18b)][_0x1902ac(0x219)][_0x1902ac(0x146)]?(this[_0x1902ac(0x18b)][_0x1902ac(0x174)](),this[_0x1902ac(0x18b)]=null):(this[_0x1902ac(0x18b)][_0x5cd3bf]=0x0,this['_inflate'][_0x6600fe]=[],_0x1fccb1&&this[_0x1902ac(0x1a3)][_0x592daf+_0x1902ac(0x233)]&&this[_0x1902ac(0x18b)][_0x1902ac(0x116)]()),_0x5eba89(null,_0x1d73d7);});}[_0x3f8913(0x24d)](_0xa8c132,_0x2ae102,_0x4fcab9){const _0x2f0c54=_0x3f8913,_0x3d06d8=this[_0x2f0c54(0x1f9)]?_0x2f0c54(0x1e8):_0x2f0c54(0x262);if(!this['_deflate']){const _0x35d137=_0x3d06d8+_0x2f0c54(0x22f),_0x1f2696=typeof this[_0x2f0c54(0x1a3)][_0x35d137]!=_0x2f0c54(0x24b)?_0x50ba07[_0x2f0c54(0x14c)]:this[_0x2f0c54(0x1a3)][_0x35d137];this[_0x2f0c54(0x29f)]=_0x50ba07[_0x2f0c54(0x211)]({...this[_0x2f0c54(0x1de)][_0x2f0c54(0x1b2)],'windowBits':_0x1f2696}),this['_deflate'][_0x5cd3bf]=0x0,this['_deflate'][_0x6600fe]=[],this['_deflate']['on'](_0x2f0c54(0x1ec),_0x23a7d7);}this['_deflate'][_0x3fa390]=_0x4fcab9,this[_0x2f0c54(0x29f)][_0x2f0c54(0x1e9)](_0xa8c132),this[_0x2f0c54(0x29f)][_0x2f0c54(0x134)](_0x50ba07[_0x2f0c54(0x1e7)],()=>{const _0x3700b0=_0x2f0c54;if(!this[_0x3700b0(0x29f)])return;let _0x5f5d54=_0xae45cb[_0x3700b0(0x12b)](this['_deflate'][_0x6600fe],this[_0x3700b0(0x29f)][_0x5cd3bf]);_0x2ae102&&(_0x5f5d54=new _0xf22d5d(_0x5f5d54[_0x3700b0(0x1ea)],_0x5f5d54[_0x3700b0(0x231)],_0x5f5d54[_0x3700b0(0x10f)]-0x4)),this[_0x3700b0(0x29f)][_0x3fa390]=null,this[_0x3700b0(0x29f)][_0x5cd3bf]=0x0,this['_deflate'][_0x6600fe]=[],_0x2ae102&&this[_0x3700b0(0x1a3)][_0x3d06d8+'_no_context_takeover']&&this['_deflate'][_0x3700b0(0x116)](),_0x4fcab9(null,_0x5f5d54);});}}ve=_0xb24fe3;function _0x23a7d7(_0xe68bd4){const _0x3b95e6=_0x3f8913;this[_0x6600fe]['push'](_0xe68bd4),this[_0x5cd3bf]+=_0xe68bd4[_0x3b95e6(0x10f)];}function _0x26ca40(_0xbe4759){const _0x5358eb=_0x3f8913;if(this[_0x5cd3bf]+=_0xbe4759[_0x5358eb(0x10f)],this[_0x30ff06][_0x5358eb(0x127)]<0x1||this[_0x5cd3bf]<=this[_0x30ff06][_0x5358eb(0x127)]){this[_0x6600fe][_0x5358eb(0x17e)](_0xbe4759);return;}this[_0x446275]=new RangeError(_0x5358eb(0x23e)),this[_0x446275][_0x5358eb(0x22e)]='WS_ERR_UNSUPPORTED_MESSAGE_LENGTH',this[_0x446275][_0x36ba1c]=0x3f1,this[_0x5358eb(0x224)](_0x5358eb(0x1ec),_0x26ca40),this[_0x5358eb(0x116)]();}function _0x4f9163(_0x36f04f){const _0x5d8bc2=_0x3f8913;if(this[_0x30ff06][_0x5d8bc2(0x18b)]=null,this[_0x446275]){this[_0x3fa390](this[_0x446275]);return;}_0x36f04f[_0x36ba1c]=0x3ef,this[_0x3fa390](_0x36f04f);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x2b7c49(0x29d)](Object['defineProperty']({'__proto__':null,'default':Ht},Symbol['toStringTag'],{'value':_0x2b7c49(0x2a2)})),Yt=ut(zt);var Qe;function ne(){const _0x12df98=_0x2b7c49;if(Qe)return re[_0x12df98(0x2a5)];Qe=0x1;const {isUtf8:_0x5e0915}=_0x38a4fe,{hasBlob:_0x7dbb0c}=V(),_0x541462=[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 _0x407ca9(_0x5cdb73){return _0x5cdb73>=0x3e8&&_0x5cdb73<=0x3f6&&_0x5cdb73!==0x3ec&&_0x5cdb73!==0x3ed&&_0x5cdb73!==0x3ee||_0x5cdb73>=0xbb8&&_0x5cdb73<=0x1387;}function _0xb6f4c7(_0x3298b9){const _0x12f54c=_0x3298b9['length'];let _0x154b98=0x0;for(;_0x154b98<_0x12f54c;)if((_0x3298b9[_0x154b98]&0x80)===0x0)_0x154b98++;else{if((_0x3298b9[_0x154b98]&0xe0)===0xc0){if(_0x154b98+0x1===_0x12f54c||(_0x3298b9[_0x154b98+0x1]&0xc0)!==0x80||(_0x3298b9[_0x154b98]&0xfe)===0xc0)return!0x1;_0x154b98+=0x2;}else{if((_0x3298b9[_0x154b98]&0xf0)===0xe0){if(_0x154b98+0x2>=_0x12f54c||(_0x3298b9[_0x154b98+0x1]&0xc0)!==0x80||(_0x3298b9[_0x154b98+0x2]&0xc0)!==0x80||_0x3298b9[_0x154b98]===0xe0&&(_0x3298b9[_0x154b98+0x1]&0xe0)===0x80||_0x3298b9[_0x154b98]===0xed&&(_0x3298b9[_0x154b98+0x1]&0xe0)===0xa0)return!0x1;_0x154b98+=0x3;}else{if((_0x3298b9[_0x154b98]&0xf8)===0xf0){if(_0x154b98+0x3>=_0x12f54c||(_0x3298b9[_0x154b98+0x1]&0xc0)!==0x80||(_0x3298b9[_0x154b98+0x2]&0xc0)!==0x80||(_0x3298b9[_0x154b98+0x3]&0xc0)!==0x80||_0x3298b9[_0x154b98]===0xf0&&(_0x3298b9[_0x154b98+0x1]&0xf0)===0x80||_0x3298b9[_0x154b98]===0xf4&&_0x3298b9[_0x154b98+0x1]>0x8f||_0x3298b9[_0x154b98]>0xf4)return!0x1;_0x154b98+=0x4;}else return!0x1;}}}return!0x0;}function _0x3a2c34(_0x303f56){const _0x447ab0=_0x12df98;return _0x7dbb0c&&typeof _0x303f56==_0x447ab0(0x19f)&&typeof _0x303f56['arrayBuffer']==_0x447ab0(0x157)&&typeof _0x303f56[_0x447ab0(0x18d)]==_0x447ab0(0x1c0)&&typeof _0x303f56['stream']=='function'&&(_0x303f56[Symbol['toStringTag']]==='Blob'||_0x303f56[Symbol[_0x447ab0(0x183)]]===_0x447ab0(0x173));}if(re[_0x12df98(0x2a5)]={'isBlob':_0x3a2c34,'isValidStatusCode':_0x407ca9,'isValidUTF8':_0xb6f4c7,'tokenChars':_0x541462},_0x5e0915)re['exports'][_0x12df98(0x145)]=function(_0x58dcf2){const _0xc91f21=_0x12df98;return _0x58dcf2[_0xc91f21(0x10f)]<0x18?_0xb6f4c7(_0x58dcf2):_0x5e0915(_0x58dcf2);};else{if(!process['env'][_0x12df98(0x15b)])try{const _0x17ba02=Yt;re['exports'][_0x12df98(0x145)]=function(_0x4462ec){const _0x4776f2=_0x12df98;return _0x4462ec[_0x4776f2(0x10f)]<0x20?_0xb6f4c7(_0x4462ec):_0x17ba02(_0x4462ec);};}catch{}}return re[_0x12df98(0x2a5)];}var Se,Je;function dt(){const _0x342ff4=_0x2b7c49;if(Je)return Se;Je=0x1;const {Writable:_0x18a061}=_0x3e85cd,_0x3f09c5=he(),{BINARY_TYPES:_0x436c23,EMPTY_BUFFER:_0x24bb80,kStatusCode:_0x575982,kWebSocket:_0x4eb8e1}=V(),{concat:_0x40b18c,toArrayBuffer:_0x42ba5c,unmask:_0x1eec5c}=ce(),{isValidStatusCode:_0x32e42d,isValidUTF8:_0x2d6c53}=ne(),_0x1e94e2=Buffer[Symbol[_0x342ff4(0x16b)]],_0x4c0123=0x0,_0x477ed5=0x1,_0x2861f6=0x2,_0x2ebf12=0x3,_0x2e09e4=0x4,_0x28233a=0x5,_0x2de27b=0x6;class _0x95e567 extends _0x18a061{constructor(_0x3d501a={}){const _0x248e27=_0x342ff4;super(),this[_0x248e27(0x18e)]=_0x3d501a[_0x248e27(0x1d3)]!==void 0x0?_0x3d501a[_0x248e27(0x1d3)]:!0x0,this[_0x248e27(0x130)]=_0x3d501a[_0x248e27(0x1a0)]||_0x436c23[0x0],this[_0x248e27(0x28f)]=_0x3d501a[_0x248e27(0x246)]||{},this[_0x248e27(0x1f9)]=!!_0x3d501a[_0x248e27(0x23c)],this[_0x248e27(0x127)]=_0x3d501a[_0x248e27(0x1d8)]|0x0,this['_skipUTF8Validation']=!!_0x3d501a['skipUTF8Validation'],this[_0x4eb8e1]=void 0x0,this[_0x248e27(0x284)]=0x0,this[_0x248e27(0x201)]=[],this[_0x248e27(0x16e)]=!0x1,this[_0x248e27(0x283)]=0x0,this[_0x248e27(0x198)]=void 0x0,this[_0x248e27(0x137)]=0x0,this[_0x248e27(0x24e)]=!0x1,this[_0x248e27(0x1da)]=!0x1,this['_opcode']=0x0,this['_totalPayloadLength']=0x0,this[_0x248e27(0x2a0)]=0x0,this['_fragments']=[],this[_0x248e27(0x291)]=!0x1,this[_0x248e27(0x24a)]=!0x1,this[_0x248e27(0x135)]=_0x4c0123;}[_0x342ff4(0x204)](_0x58d424,_0x79b136,_0x4bb9f6){const _0x225b1e=_0x342ff4;if(this[_0x225b1e(0x2a1)]===0x8&&this['_state']==_0x4c0123)return _0x4bb9f6();this[_0x225b1e(0x284)]+=_0x58d424[_0x225b1e(0x10f)],this['_buffers'][_0x225b1e(0x17e)](_0x58d424),this[_0x225b1e(0x111)](_0x4bb9f6);}[_0x342ff4(0x16a)](_0x18b2d8){const _0x115b53=_0x342ff4;if(this[_0x115b53(0x284)]-=_0x18b2d8,_0x18b2d8===this[_0x115b53(0x201)][0x0]['length'])return this[_0x115b53(0x201)][_0x115b53(0x1eb)]();if(_0x18b2d8<this[_0x115b53(0x201)][0x0][_0x115b53(0x10f)]){const _0xb7819b=this[_0x115b53(0x201)][0x0];return this[_0x115b53(0x201)][0x0]=new _0x1e94e2(_0xb7819b[_0x115b53(0x1ea)],_0xb7819b[_0x115b53(0x231)]+_0x18b2d8,_0xb7819b[_0x115b53(0x10f)]-_0x18b2d8),new _0x1e94e2(_0xb7819b[_0x115b53(0x1ea)],_0xb7819b[_0x115b53(0x231)],_0x18b2d8);}const _0x15abf3=Buffer[_0x115b53(0x1e1)](_0x18b2d8);do{const _0x132afd=this[_0x115b53(0x201)][0x0],_0x2ab855=_0x15abf3[_0x115b53(0x10f)]-_0x18b2d8;_0x18b2d8>=_0x132afd[_0x115b53(0x10f)]?_0x15abf3[_0x115b53(0x1f3)](this[_0x115b53(0x201)][_0x115b53(0x1eb)](),_0x2ab855):(_0x15abf3[_0x115b53(0x1f3)](new Uint8Array(_0x132afd[_0x115b53(0x1ea)],_0x132afd[_0x115b53(0x231)],_0x18b2d8),_0x2ab855),this[_0x115b53(0x201)][0x0]=new _0x1e94e2(_0x132afd[_0x115b53(0x1ea)],_0x132afd['byteOffset']+_0x18b2d8,_0x132afd[_0x115b53(0x10f)]-_0x18b2d8)),_0x18b2d8-=_0x132afd[_0x115b53(0x10f)];}while(_0x18b2d8>0x0);return _0x15abf3;}['startLoop'](_0x3658b9){const _0x4b0dff=_0x342ff4;this[_0x4b0dff(0x24a)]=!0x0;do switch(this[_0x4b0dff(0x135)]){case _0x4c0123:this['getInfo'](_0x3658b9);break;case _0x477ed5:this[_0x4b0dff(0x12a)](_0x3658b9);break;case _0x2861f6:this[_0x4b0dff(0x1cc)](_0x3658b9);break;case _0x2ebf12:this[_0x4b0dff(0x159)]();break;case _0x2e09e4:this[_0x4b0dff(0x15e)](_0x3658b9);break;case _0x28233a:case _0x2de27b:this[_0x4b0dff(0x24a)]=!0x1;return;}while(this[_0x4b0dff(0x24a)]);this[_0x4b0dff(0x291)]||_0x3658b9();}[_0x342ff4(0x144)](_0x425da0){const _0x45a87a=_0x342ff4;if(this[_0x45a87a(0x284)]<0x2){this[_0x45a87a(0x24a)]=!0x1;return;}const _0x840ee7=this[_0x45a87a(0x16a)](0x2);if((_0x840ee7[0x0]&0x30)!==0x0){const _0x22fc2a=this['createError'](RangeError,'RSV2\x20and\x20RSV3\x20must\x20be\x20clear',!0x0,0x3ea,_0x45a87a(0x1b5));_0x425da0(_0x22fc2a);return;}const _0xa981a2=(_0x840ee7[0x0]&0x40)===0x40;if(_0xa981a2&&!this[_0x45a87a(0x28f)][_0x3f09c5[_0x45a87a(0x160)]]){const _0x20f046=this[_0x45a87a(0x212)](RangeError,_0x45a87a(0x247),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x425da0(_0x20f046);return;}if(this[_0x45a87a(0x1da)]=(_0x840ee7[0x0]&0x80)===0x80,this['_opcode']=_0x840ee7[0x0]&0xf,this[_0x45a87a(0x283)]=_0x840ee7[0x1]&0x7f,this[_0x45a87a(0x2a1)]===0x0){if(_0xa981a2){const _0x499bc1=this[_0x45a87a(0x212)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x45a87a(0x290));_0x425da0(_0x499bc1);return;}if(!this[_0x45a87a(0x137)]){const _0x12fcb9=this[_0x45a87a(0x212)](RangeError,_0x45a87a(0x230),!0x0,0x3ea,_0x45a87a(0x226));_0x425da0(_0x12fcb9);return;}this[_0x45a87a(0x2a1)]=this['_fragmented'];}else{if(this[_0x45a87a(0x2a1)]===0x1||this[_0x45a87a(0x2a1)]===0x2){if(this[_0x45a87a(0x137)]){const _0xbba885=this[_0x45a87a(0x212)](RangeError,'invalid\x20opcode\x20'+this[_0x45a87a(0x2a1)],!0x0,0x3ea,_0x45a87a(0x226));_0x425da0(_0xbba885);return;}this[_0x45a87a(0x16e)]=_0xa981a2;}else{if(this[_0x45a87a(0x2a1)]>0x7&&this[_0x45a87a(0x2a1)]<0xb){if(!this[_0x45a87a(0x1da)]){const _0xf671e7=this[_0x45a87a(0x212)](RangeError,_0x45a87a(0x1b8),!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0x425da0(_0xf671e7);return;}if(_0xa981a2){const _0x481d95=this[_0x45a87a(0x212)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x45a87a(0x290));_0x425da0(_0x481d95);return;}if(this[_0x45a87a(0x283)]>0x7d||this['_opcode']===0x8&&this[_0x45a87a(0x283)]===0x1){const _0x3edf90=this['createError'](RangeError,_0x45a87a(0x11f)+this['_payloadLength'],!0x0,0x3ea,_0x45a87a(0x24f));_0x425da0(_0x3edf90);return;}}else{const _0x2f6904=this[_0x45a87a(0x212)](RangeError,'invalid\x20opcode\x20'+this[_0x45a87a(0x2a1)],!0x0,0x3ea,_0x45a87a(0x226));_0x425da0(_0x2f6904);return;}}}if(!this['_fin']&&!this[_0x45a87a(0x137)]&&(this[_0x45a87a(0x137)]=this[_0x45a87a(0x2a1)]),this[_0x45a87a(0x24e)]=(_0x840ee7[0x1]&0x80)===0x80,this[_0x45a87a(0x1f9)]){if(!this[_0x45a87a(0x24e)]){const _0x37bcce=this[_0x45a87a(0x212)](RangeError,_0x45a87a(0x1bb),!0x0,0x3ea,_0x45a87a(0x255));_0x425da0(_0x37bcce);return;}}else{if(this['_masked']){const _0x592a6e=this[_0x45a87a(0x212)](RangeError,_0x45a87a(0x17f),!0x0,0x3ea,_0x45a87a(0x110));_0x425da0(_0x592a6e);return;}}this['_payloadLength']===0x7e?this['_state']=_0x477ed5:this[_0x45a87a(0x283)]===0x7f?this['_state']=_0x2861f6:this[_0x45a87a(0x264)](_0x425da0);}[_0x342ff4(0x12a)](_0xbb8af1){const _0x3582d4=_0x342ff4;if(this['_bufferedBytes']<0x2){this[_0x3582d4(0x24a)]=!0x1;return;}this[_0x3582d4(0x283)]=this[_0x3582d4(0x16a)](0x2)[_0x3582d4(0x232)](0x0),this['haveLength'](_0xbb8af1);}[_0x342ff4(0x1cc)](_0x538acd){const _0x1a5375=_0x342ff4;if(this[_0x1a5375(0x284)]<0x8){this[_0x1a5375(0x24a)]=!0x1;return;}const _0x579fd8=this[_0x1a5375(0x16a)](0x8),_0x1ee0bb=_0x579fd8[_0x1a5375(0x251)](0x0);if(_0x1ee0bb>Math[_0x1a5375(0x10d)](0x2,0x15)-0x1){const _0x30e8b1=this[_0x1a5375(0x212)](RangeError,_0x1a5375(0x190),!0x1,0x3f1,_0x1a5375(0x213));_0x538acd(_0x30e8b1);return;}this[_0x1a5375(0x283)]=_0x1ee0bb*Math['pow'](0x2,0x20)+_0x579fd8[_0x1a5375(0x251)](0x4),this['haveLength'](_0x538acd);}['haveLength'](_0x4f5ea0){const _0x1d0a12=_0x342ff4;if(this['_payloadLength']&&this['_opcode']<0x8&&(this[_0x1d0a12(0x180)]+=this[_0x1d0a12(0x283)],this[_0x1d0a12(0x180)]>this['_maxPayload']&&this[_0x1d0a12(0x127)]>0x0)){const _0x4248f9=this[_0x1d0a12(0x212)](RangeError,_0x1d0a12(0x23e),!0x1,0x3f1,_0x1d0a12(0x136));_0x4f5ea0(_0x4248f9);return;}this[_0x1d0a12(0x24e)]?this[_0x1d0a12(0x135)]=_0x2ebf12:this['_state']=_0x2e09e4;}['getMask'](){const _0x272a3f=_0x342ff4;if(this[_0x272a3f(0x284)]<0x4){this[_0x272a3f(0x24a)]=!0x1;return;}this[_0x272a3f(0x198)]=this[_0x272a3f(0x16a)](0x4),this[_0x272a3f(0x135)]=_0x2e09e4;}[_0x342ff4(0x15e)](_0x41435a){const _0x493360=_0x342ff4;let _0x5501ac=_0x24bb80;if(this[_0x493360(0x283)]){if(this[_0x493360(0x284)]<this[_0x493360(0x283)]){this[_0x493360(0x24a)]=!0x1;return;}_0x5501ac=this['consume'](this[_0x493360(0x283)]),this['_masked']&&(this['_mask'][0x0]|this[_0x493360(0x198)][0x1]|this[_0x493360(0x198)][0x2]|this['_mask'][0x3])!==0x0&&_0x1eec5c(_0x5501ac,this[_0x493360(0x198)]);}if(this[_0x493360(0x2a1)]>0x7){this[_0x493360(0x220)](_0x5501ac,_0x41435a);return;}if(this[_0x493360(0x16e)]){this[_0x493360(0x135)]=_0x28233a,this[_0x493360(0x192)](_0x5501ac,_0x41435a);return;}_0x5501ac[_0x493360(0x10f)]&&(this['_messageLength']=this[_0x493360(0x180)],this['_fragments']['push'](_0x5501ac)),this[_0x493360(0x265)](_0x41435a);}[_0x342ff4(0x192)](_0x8b9f84,_0x26b7a2){const _0x5db97e=_0x342ff4;this[_0x5db97e(0x28f)][_0x3f09c5[_0x5db97e(0x160)]][_0x5db97e(0x192)](_0x8b9f84,this[_0x5db97e(0x1da)],(_0x570c29,_0x4102ab)=>{const _0x13d4d5=_0x5db97e;if(_0x570c29)return _0x26b7a2(_0x570c29);if(_0x4102ab[_0x13d4d5(0x10f)]){if(this[_0x13d4d5(0x2a0)]+=_0x4102ab[_0x13d4d5(0x10f)],this['_messageLength']>this[_0x13d4d5(0x127)]&&this[_0x13d4d5(0x127)]>0x0){const _0x586340=this['createError'](RangeError,_0x13d4d5(0x23e),!0x1,0x3f1,_0x13d4d5(0x136));_0x26b7a2(_0x586340);return;}this[_0x13d4d5(0x1a8)][_0x13d4d5(0x17e)](_0x4102ab);}this[_0x13d4d5(0x265)](_0x26b7a2),this[_0x13d4d5(0x135)]===_0x4c0123&&this[_0x13d4d5(0x111)](_0x26b7a2);});}[_0x342ff4(0x265)](_0x14765c){const _0x5b915f=_0x342ff4;if(!this[_0x5b915f(0x1da)]){this[_0x5b915f(0x135)]=_0x4c0123;return;}const _0x417704=this[_0x5b915f(0x2a0)],_0x4ea01f=this['_fragments'];if(this[_0x5b915f(0x180)]=0x0,this[_0x5b915f(0x2a0)]=0x0,this[_0x5b915f(0x137)]=0x0,this[_0x5b915f(0x1a8)]=[],this[_0x5b915f(0x2a1)]===0x2){let _0x16af2e;this[_0x5b915f(0x130)]===_0x5b915f(0x1cd)?_0x16af2e=_0x40b18c(_0x4ea01f,_0x417704):this[_0x5b915f(0x130)]==='arraybuffer'?_0x16af2e=_0x42ba5c(_0x40b18c(_0x4ea01f,_0x417704)):this[_0x5b915f(0x130)]===_0x5b915f(0x12e)?_0x16af2e=new Blob(_0x4ea01f):_0x16af2e=_0x4ea01f,this['_allowSynchronousEvents']?(this['emit'](_0x5b915f(0x25f),_0x16af2e,!0x0),this[_0x5b915f(0x135)]=_0x4c0123):(this[_0x5b915f(0x135)]=_0x2de27b,setImmediate(()=>{const _0x4a1a66=_0x5b915f;this[_0x4a1a66(0x186)]('message',_0x16af2e,!0x0),this[_0x4a1a66(0x135)]=_0x4c0123,this[_0x4a1a66(0x111)](_0x14765c);}));}else{const _0x3a8a38=_0x40b18c(_0x4ea01f,_0x417704);if(!this['_skipUTF8Validation']&&!_0x2d6c53(_0x3a8a38)){const _0xcdce7b=this[_0x5b915f(0x212)](Error,_0x5b915f(0x243),!0x0,0x3ef,_0x5b915f(0x2ab));_0x14765c(_0xcdce7b);return;}this[_0x5b915f(0x135)]===_0x28233a||this[_0x5b915f(0x18e)]?(this[_0x5b915f(0x186)](_0x5b915f(0x25f),_0x3a8a38,!0x1),this[_0x5b915f(0x135)]=_0x4c0123):(this[_0x5b915f(0x135)]=_0x2de27b,setImmediate(()=>{const _0x4fff09=_0x5b915f;this[_0x4fff09(0x186)](_0x4fff09(0x25f),_0x3a8a38,!0x1),this['_state']=_0x4c0123,this[_0x4fff09(0x111)](_0x14765c);}));}}[_0x342ff4(0x220)](_0x21a56d,_0x46833e){const _0x18f376=_0x342ff4;if(this['_opcode']===0x8){if(_0x21a56d[_0x18f376(0x10f)]===0x0)this[_0x18f376(0x24a)]=!0x1,this[_0x18f376(0x186)](_0x18f376(0x24c),0x3ed,_0x24bb80),this[_0x18f376(0x21b)]();else{const _0x51f94a=_0x21a56d[_0x18f376(0x232)](0x0);if(!_0x32e42d(_0x51f94a)){const _0x1b7681=this['createError'](RangeError,'invalid\x20status\x20code\x20'+_0x51f94a,!0x0,0x3ea,_0x18f376(0x1c2));_0x46833e(_0x1b7681);return;}const _0xfa0594=new _0x1e94e2(_0x21a56d[_0x18f376(0x1ea)],_0x21a56d[_0x18f376(0x231)]+0x2,_0x21a56d[_0x18f376(0x10f)]-0x2);if(!this[_0x18f376(0x14f)]&&!_0x2d6c53(_0xfa0594)){const _0x91218c=this[_0x18f376(0x212)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x18f376(0x2ab));_0x46833e(_0x91218c);return;}this[_0x18f376(0x24a)]=!0x1,this[_0x18f376(0x186)](_0x18f376(0x24c),_0x51f94a,_0xfa0594),this[_0x18f376(0x21b)]();}this[_0x18f376(0x135)]=_0x4c0123;return;}this['_allowSynchronousEvents']?(this[_0x18f376(0x186)](this['_opcode']===0x9?_0x18f376(0x1cb):_0x18f376(0x1a6),_0x21a56d),this[_0x18f376(0x135)]=_0x4c0123):(this[_0x18f376(0x135)]=_0x2de27b,setImmediate(()=>{const _0x45dbe9=_0x18f376;this[_0x45dbe9(0x186)](this['_opcode']===0x9?_0x45dbe9(0x1cb):_0x45dbe9(0x1a6),_0x21a56d),this[_0x45dbe9(0x135)]=_0x4c0123,this[_0x45dbe9(0x111)](_0x46833e);}));}[_0x342ff4(0x212)](_0x2b1e82,_0x1877c5,_0x28ca73,_0x2ce26c,_0x37dabf){const _0x58c4fe=_0x342ff4;this[_0x58c4fe(0x24a)]=!0x1,this[_0x58c4fe(0x291)]=!0x0;const _0x2b6a54=new _0x2b1e82(_0x28ca73?_0x58c4fe(0x12c)+_0x1877c5:_0x1877c5);return Error[_0x58c4fe(0x1c6)](_0x2b6a54,this[_0x58c4fe(0x212)]),_0x2b6a54[_0x58c4fe(0x22e)]=_0x37dabf,_0x2b6a54[_0x575982]=_0x2ce26c,_0x2b6a54;}}return Se=_0x95e567,Se;}var Ee,et;function _t(){const _0x1e19be=_0x2b7c49;if(et)return Ee;et=0x1;const {Duplex:_0xda0065}=_0x3e85cd,{randomFillSync:_0x546270}=_0x409377,_0xeb70bf=he(),{EMPTY_BUFFER:_0x4833dc,kWebSocket:_0x5a8eea,NOOP:_0x122081}=V(),{isBlob:_0x4c0473,isValidStatusCode:_0x23e3f5}=ne(),{mask:_0x4a053e,toBuffer:_0x319d45}=ce(),_0x304172=Symbol(_0x1e19be(0x194)),_0x3cb552=Buffer[_0x1e19be(0x26a)](0x4),_0xd57b9=0x8*0x400;let _0x67d26,_0x4f56bd=_0xd57b9;const _0x43bc60=0x0,_0x13a37b=0x1,_0x2c4a52=0x2;class _0x2de438{constructor(_0x50694b,_0x598ae5,_0x4632b8){const _0x143002=_0x1e19be;this['_extensions']=_0x598ae5||{},_0x4632b8&&(this[_0x143002(0x1ad)]=_0x4632b8,this['_maskBuffer']=Buffer[_0x143002(0x26a)](0x4)),this[_0x143002(0x1ba)]=_0x50694b,this[_0x143002(0x236)]=!0x0,this[_0x143002(0x24d)]=!0x1,this[_0x143002(0x284)]=0x0,this[_0x143002(0x1f1)]=[],this['_state']=_0x43bc60,this[_0x143002(0x254)]=_0x122081,this[_0x5a8eea]=void 0x0;}static[_0x1e19be(0x297)](_0x345b1d,_0x3f5c79){const _0x35d8eb=_0x1e19be;let _0x385b6a,_0x50eeea=!0x1,_0x38c6a9=0x2,_0x4bfec0=!0x1;_0x3f5c79['mask']&&(_0x385b6a=_0x3f5c79[_0x35d8eb(0x28e)]||_0x3cb552,_0x3f5c79[_0x35d8eb(0x1ce)]?_0x3f5c79[_0x35d8eb(0x1ce)](_0x385b6a):(_0x4f56bd===_0xd57b9&&(_0x67d26===void 0x0&&(_0x67d26=Buffer['alloc'](_0xd57b9)),_0x546270(_0x67d26,0x0,_0xd57b9),_0x4f56bd=0x0),_0x385b6a[0x0]=_0x67d26[_0x4f56bd++],_0x385b6a[0x1]=_0x67d26[_0x4f56bd++],_0x385b6a[0x2]=_0x67d26[_0x4f56bd++],_0x385b6a[0x3]=_0x67d26[_0x4f56bd++]),_0x4bfec0=(_0x385b6a[0x0]|_0x385b6a[0x1]|_0x385b6a[0x2]|_0x385b6a[0x3])===0x0,_0x38c6a9=0x6);let _0x4bd6d4;typeof _0x345b1d==_0x35d8eb(0x1c0)?(!_0x3f5c79[_0x35d8eb(0x207)]||_0x4bfec0)&&_0x3f5c79[_0x304172]!==void 0x0?_0x4bd6d4=_0x3f5c79[_0x304172]:(_0x345b1d=Buffer[_0x35d8eb(0x1b4)](_0x345b1d),_0x4bd6d4=_0x345b1d[_0x35d8eb(0x10f)]):(_0x4bd6d4=_0x345b1d[_0x35d8eb(0x10f)],_0x50eeea=_0x3f5c79[_0x35d8eb(0x207)]&&_0x3f5c79[_0x35d8eb(0x23d)]&&!_0x4bfec0);let _0x46137c=_0x4bd6d4;_0x4bd6d4>=0x10000?(_0x38c6a9+=0x8,_0x46137c=0x7f):_0x4bd6d4>0x7d&&(_0x38c6a9+=0x2,_0x46137c=0x7e);const _0x45c8dc=Buffer[_0x35d8eb(0x1e1)](_0x50eeea?_0x4bd6d4+_0x38c6a9:_0x38c6a9);return _0x45c8dc[0x0]=_0x3f5c79[_0x35d8eb(0x17a)]?_0x3f5c79['opcode']|0x80:_0x3f5c79[_0x35d8eb(0x225)],_0x3f5c79[_0x35d8eb(0x15a)]&&(_0x45c8dc[0x0]|=0x40),_0x45c8dc[0x1]=_0x46137c,_0x46137c===0x7e?_0x45c8dc[_0x35d8eb(0x240)](_0x4bd6d4,0x2):_0x46137c===0x7f&&(_0x45c8dc[0x2]=_0x45c8dc[0x3]=0x0,_0x45c8dc[_0x35d8eb(0x14b)](_0x4bd6d4,0x4,0x6)),_0x3f5c79[_0x35d8eb(0x207)]?(_0x45c8dc[0x1]|=0x80,_0x45c8dc[_0x38c6a9-0x4]=_0x385b6a[0x0],_0x45c8dc[_0x38c6a9-0x3]=_0x385b6a[0x1],_0x45c8dc[_0x38c6a9-0x2]=_0x385b6a[0x2],_0x45c8dc[_0x38c6a9-0x1]=_0x385b6a[0x3],_0x4bfec0?[_0x45c8dc,_0x345b1d]:_0x50eeea?(_0x4a053e(_0x345b1d,_0x385b6a,_0x45c8dc,_0x38c6a9,_0x4bd6d4),[_0x45c8dc]):(_0x4a053e(_0x345b1d,_0x385b6a,_0x345b1d,0x0,_0x4bd6d4),[_0x45c8dc,_0x345b1d])):[_0x45c8dc,_0x345b1d];}[_0x1e19be(0x174)](_0x10bc7e,_0x2e4b27,_0x58c9bd,_0x2fd9bc){const _0x18b1d1=_0x1e19be;let _0x199585;if(_0x10bc7e===void 0x0)_0x199585=_0x4833dc;else{if(typeof _0x10bc7e!=_0x18b1d1(0x24b)||!_0x23e3f5(_0x10bc7e))throw new TypeError(_0x18b1d1(0x115));if(_0x2e4b27===void 0x0||!_0x2e4b27[_0x18b1d1(0x10f)])_0x199585=Buffer[_0x18b1d1(0x1e1)](0x2),_0x199585[_0x18b1d1(0x240)](_0x10bc7e,0x0);else{const _0x6dcb9b=Buffer[_0x18b1d1(0x279)](_0x2e4b27);if(_0x6dcb9b>0x7b)throw new RangeError(_0x18b1d1(0x277));_0x199585=Buffer['allocUnsafe'](0x2+_0x6dcb9b),_0x199585['writeUInt16BE'](_0x10bc7e,0x0),typeof _0x2e4b27==_0x18b1d1(0x1c0)?_0x199585['write'](_0x2e4b27,0x2):_0x199585[_0x18b1d1(0x1f3)](_0x2e4b27,0x2);}}const _0x564e41={[_0x304172]:_0x199585[_0x18b1d1(0x10f)],'fin':!0x0,'generateMask':this[_0x18b1d1(0x1ad)],'mask':_0x58c9bd,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x18b1d1(0x135)]!==_0x43bc60?this[_0x18b1d1(0x1c7)]([this[_0x18b1d1(0x26b)],_0x199585,!0x1,_0x564e41,_0x2fd9bc]):this[_0x18b1d1(0x222)](_0x2de438['frame'](_0x199585,_0x564e41),_0x2fd9bc);}[_0x1e19be(0x1cb)](_0x1c2a6f,_0x49370e,_0x4885fc){const _0x35e31f=_0x1e19be;let _0x14307a,_0x4f0903;if(typeof _0x1c2a6f==_0x35e31f(0x1c0)?(_0x14307a=Buffer['byteLength'](_0x1c2a6f),_0x4f0903=!0x1):_0x4c0473(_0x1c2a6f)?(_0x14307a=_0x1c2a6f[_0x35e31f(0x171)],_0x4f0903=!0x1):(_0x1c2a6f=_0x319d45(_0x1c2a6f),_0x14307a=_0x1c2a6f[_0x35e31f(0x10f)],_0x4f0903=_0x319d45['readOnly']),_0x14307a>0x7d)throw new RangeError(_0x35e31f(0x2ac));const _0x4ead7e={[_0x304172]:_0x14307a,'fin':!0x0,'generateMask':this[_0x35e31f(0x1ad)],'mask':_0x49370e,'maskBuffer':this[_0x35e31f(0x239)],'opcode':0x9,'readOnly':_0x4f0903,'rsv1':!0x1};_0x4c0473(_0x1c2a6f)?this['_state']!==_0x43bc60?this['enqueue']([this[_0x35e31f(0x1ca)],_0x1c2a6f,!0x1,_0x4ead7e,_0x4885fc]):this[_0x35e31f(0x1ca)](_0x1c2a6f,!0x1,_0x4ead7e,_0x4885fc):this[_0x35e31f(0x135)]!==_0x43bc60?this[_0x35e31f(0x1c7)]([this[_0x35e31f(0x26b)],_0x1c2a6f,!0x1,_0x4ead7e,_0x4885fc]):this[_0x35e31f(0x222)](_0x2de438['frame'](_0x1c2a6f,_0x4ead7e),_0x4885fc);}[_0x1e19be(0x1a6)](_0x1c692c,_0x230feb,_0x29f765){const _0x6d4248=_0x1e19be;let _0x2936a5,_0x5c7b52;if(typeof _0x1c692c==_0x6d4248(0x1c0)?(_0x2936a5=Buffer[_0x6d4248(0x279)](_0x1c692c),_0x5c7b52=!0x1):_0x4c0473(_0x1c692c)?(_0x2936a5=_0x1c692c[_0x6d4248(0x171)],_0x5c7b52=!0x1):(_0x1c692c=_0x319d45(_0x1c692c),_0x2936a5=_0x1c692c[_0x6d4248(0x10f)],_0x5c7b52=_0x319d45[_0x6d4248(0x23d)]),_0x2936a5>0x7d)throw new RangeError(_0x6d4248(0x2ac));const _0x43497c={[_0x304172]:_0x2936a5,'fin':!0x0,'generateMask':this[_0x6d4248(0x1ad)],'mask':_0x230feb,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x5c7b52,'rsv1':!0x1};_0x4c0473(_0x1c692c)?this[_0x6d4248(0x135)]!==_0x43bc60?this[_0x6d4248(0x1c7)]([this['getBlobData'],_0x1c692c,!0x1,_0x43497c,_0x29f765]):this[_0x6d4248(0x1ca)](_0x1c692c,!0x1,_0x43497c,_0x29f765):this[_0x6d4248(0x135)]!==_0x43bc60?this[_0x6d4248(0x1c7)]([this['dispatch'],_0x1c692c,!0x1,_0x43497c,_0x29f765]):this[_0x6d4248(0x222)](_0x2de438[_0x6d4248(0x297)](_0x1c692c,_0x43497c),_0x29f765);}[_0x1e19be(0x1d2)](_0x5d3331,_0x3eb4c9,_0x5037d7){const _0x4fe71b=_0x1e19be,_0x4cfb28=this['_extensions'][_0xeb70bf[_0x4fe71b(0x160)]];let _0x108c3e=_0x3eb4c9[_0x4fe71b(0x117)]?0x2:0x1,_0x2c2df5=_0x3eb4c9[_0x4fe71b(0x285)],_0x3ae7e7,_0x46257a;typeof _0x5d3331==_0x4fe71b(0x1c0)?(_0x3ae7e7=Buffer[_0x4fe71b(0x279)](_0x5d3331),_0x46257a=!0x1):_0x4c0473(_0x5d3331)?(_0x3ae7e7=_0x5d3331[_0x4fe71b(0x171)],_0x46257a=!0x1):(_0x5d3331=_0x319d45(_0x5d3331),_0x3ae7e7=_0x5d3331[_0x4fe71b(0x10f)],_0x46257a=_0x319d45[_0x4fe71b(0x23d)]),this[_0x4fe71b(0x236)]?(this['_firstFragment']=!0x1,_0x2c2df5&&_0x4cfb28&&_0x4cfb28[_0x4fe71b(0x1a3)][_0x4cfb28[_0x4fe71b(0x1f9)]?_0x4fe71b(0x169):_0x4fe71b(0x142)]&&(_0x2c2df5=_0x3ae7e7>=_0x4cfb28['_threshold']),this[_0x4fe71b(0x24d)]=_0x2c2df5):(_0x2c2df5=!0x1,_0x108c3e=0x0),_0x3eb4c9[_0x4fe71b(0x17a)]&&(this[_0x4fe71b(0x236)]=!0x0);const _0x1f6553={[_0x304172]:_0x3ae7e7,'fin':_0x3eb4c9[_0x4fe71b(0x17a)],'generateMask':this[_0x4fe71b(0x1ad)],'mask':_0x3eb4c9['mask'],'maskBuffer':this[_0x4fe71b(0x239)],'opcode':_0x108c3e,'readOnly':_0x46257a,'rsv1':_0x2c2df5};_0x4c0473(_0x5d3331)?this[_0x4fe71b(0x135)]!==_0x43bc60?this[_0x4fe71b(0x1c7)]([this[_0x4fe71b(0x1ca)],_0x5d3331,this[_0x4fe71b(0x24d)],_0x1f6553,_0x5037d7]):this[_0x4fe71b(0x1ca)](_0x5d3331,this[_0x4fe71b(0x24d)],_0x1f6553,_0x5037d7):this['_state']!==_0x43bc60?this['enqueue']([this['dispatch'],_0x5d3331,this['_compress'],_0x1f6553,_0x5037d7]):this['dispatch'](_0x5d3331,this[_0x4fe71b(0x24d)],_0x1f6553,_0x5037d7);}[_0x1e19be(0x1ca)](_0xfb981,_0x58b29c,_0x809485,_0x2e2d8d){const _0x581058=_0x1e19be;this[_0x581058(0x284)]+=_0x809485[_0x304172],this['_state']=_0x2c4a52,_0xfb981[_0x581058(0x299)]()[_0x581058(0x1a1)](_0x6d3cae=>{const _0x4ff0e2=_0x581058;if(this[_0x4ff0e2(0x1ba)][_0x4ff0e2(0x276)]){const _0x51423d=new Error(_0x4ff0e2(0x131));process[_0x4ff0e2(0x248)](_0x983497,this,_0x51423d,_0x2e2d8d);return;}this['_bufferedBytes']-=_0x809485[_0x304172];const _0x3e7665=_0x319d45(_0x6d3cae);_0x58b29c?this[_0x4ff0e2(0x26b)](_0x3e7665,_0x58b29c,_0x809485,_0x2e2d8d):(this['_state']=_0x43bc60,this[_0x4ff0e2(0x222)](_0x2de438[_0x4ff0e2(0x297)](_0x3e7665,_0x809485),_0x2e2d8d),this['dequeue']());})[_0x581058(0x18f)](_0x34c692=>{const _0x23adf6=_0x581058;process[_0x23adf6(0x248)](_0xcbe983,this,_0x34c692,_0x2e2d8d);});}['dispatch'](_0x45e457,_0x31b222,_0x1163a6,_0x70d72b){const _0xb9a83c=_0x1e19be;if(!_0x31b222){this[_0xb9a83c(0x222)](_0x2de438['frame'](_0x45e457,_0x1163a6),_0x70d72b);return;}const _0x3bc31b=this[_0xb9a83c(0x28f)][_0xeb70bf[_0xb9a83c(0x160)]];this['_bufferedBytes']+=_0x1163a6[_0x304172],this[_0xb9a83c(0x135)]=_0x13a37b,_0x3bc31b['compress'](_0x45e457,_0x1163a6['fin'],(_0x2b7372,_0x4d0025)=>{const _0x1d57b8=_0xb9a83c;if(this['_socket']['destroyed']){const _0xf5c779=new Error(_0x1d57b8(0x245));_0x983497(this,_0xf5c779,_0x70d72b);return;}this[_0x1d57b8(0x284)]-=_0x1163a6[_0x304172],this['_state']=_0x43bc60,_0x1163a6['readOnly']=!0x1,this[_0x1d57b8(0x222)](_0x2de438[_0x1d57b8(0x297)](_0x4d0025,_0x1163a6),_0x70d72b),this['dequeue']();});}[_0x1e19be(0x181)](){const _0x4a9cd1=_0x1e19be;for(;this[_0x4a9cd1(0x135)]===_0x43bc60&&this['_queue'][_0x4a9cd1(0x10f)];){const _0x7147d9=this[_0x4a9cd1(0x1f1)][_0x4a9cd1(0x1eb)]();this['_bufferedBytes']-=_0x7147d9[0x3][_0x304172],Reflect[_0x4a9cd1(0x113)](_0x7147d9[0x0],this,_0x7147d9['slice'](0x1));}}['enqueue'](_0x53236c){const _0x210726=_0x1e19be;this['_bufferedBytes']+=_0x53236c[0x3][_0x304172],this['_queue'][_0x210726(0x17e)](_0x53236c);}[_0x1e19be(0x222)](_0xb6ba1b,_0x34a3bb){const _0x16642e=_0x1e19be;_0xb6ba1b['length']===0x2?(this[_0x16642e(0x1ba)][_0x16642e(0x281)](),this[_0x16642e(0x1ba)][_0x16642e(0x1e9)](_0xb6ba1b[0x0]),this['_socket'][_0x16642e(0x1e9)](_0xb6ba1b[0x1],_0x34a3bb),this['_socket'][_0x16642e(0x23f)]()):this[_0x16642e(0x1ba)][_0x16642e(0x1e9)](_0xb6ba1b[0x0],_0x34a3bb);}}Ee=_0x2de438;function _0x983497(_0x31fdf5,_0x42d274,_0x308570){const _0x162c92=_0x1e19be;typeof _0x308570==_0x162c92(0x157)&&_0x308570(_0x42d274);for(let _0x4c6f0f=0x0;_0x4c6f0f<_0x31fdf5[_0x162c92(0x1f1)][_0x162c92(0x10f)];_0x4c6f0f++){const _0x3abe76=_0x31fdf5[_0x162c92(0x1f1)][_0x4c6f0f],_0x939477=_0x3abe76[_0x3abe76['length']-0x1];typeof _0x939477=='function'&&_0x939477(_0x42d274);}}function _0xcbe983(_0x162b87,_0x3351ab,_0x55ba43){const _0xf66c51=_0x1e19be;_0x983497(_0x162b87,_0x3351ab,_0x55ba43),_0x162b87[_0xf66c51(0x254)](_0x3351ab);}return Ee;}var xe,tt;function Kt(){const _0x30b8b2=_0x2b7c49;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0xbde6ce,kListener:_0x4309d5}=V(),_0x26e5ef=Symbol(_0x30b8b2(0x118)),_0x55a16a=Symbol(_0x30b8b2(0x29e)),_0x5da3d7=Symbol(_0x30b8b2(0x176)),_0x5163c6=Symbol(_0x30b8b2(0x1d9)),_0x12a815=Symbol(_0x30b8b2(0x218)),_0x84a1e3=Symbol(_0x30b8b2(0x270)),_0x2dddc9=Symbol(_0x30b8b2(0x1b9)),_0x82a55=Symbol(_0x30b8b2(0x244));class _0x1d12aa{constructor(_0x43c29){this[_0x84a1e3]=null,this[_0x2dddc9]=_0x43c29;}get[_0x30b8b2(0x286)](){return this[_0x84a1e3];}get['type'](){return this[_0x2dddc9];}}Object[_0x30b8b2(0x1a5)](_0x1d12aa[_0x30b8b2(0x216)],_0x30b8b2(0x286),{'enumerable':!0x0}),Object[_0x30b8b2(0x1a5)](_0x1d12aa[_0x30b8b2(0x216)],_0x30b8b2(0x18d),{'enumerable':!0x0});class _0x5a4057 extends _0x1d12aa{constructor(_0x37813d,_0x42ae36={}){const _0x4af20e=_0x30b8b2;super(_0x37813d),this[_0x26e5ef]=_0x42ae36[_0x4af20e(0x22e)]===void 0x0?0x0:_0x42ae36[_0x4af20e(0x22e)],this[_0x12a815]=_0x42ae36[_0x4af20e(0x2a4)]===void 0x0?'':_0x42ae36[_0x4af20e(0x2a4)],this[_0x82a55]=_0x42ae36[_0x4af20e(0x295)]===void 0x0?!0x1:_0x42ae36[_0x4af20e(0x295)];}get[_0x30b8b2(0x22e)](){return this[_0x26e5ef];}get['reason'](){return this[_0x12a815];}get[_0x30b8b2(0x295)](){return this[_0x82a55];}}Object['defineProperty'](_0x5a4057['prototype'],_0x30b8b2(0x22e),{'enumerable':!0x0}),Object['defineProperty'](_0x5a4057[_0x30b8b2(0x216)],_0x30b8b2(0x2a4),{'enumerable':!0x0}),Object[_0x30b8b2(0x1a5)](_0x5a4057[_0x30b8b2(0x216)],'wasClean',{'enumerable':!0x0});class _0x47dcc1 extends _0x1d12aa{constructor(_0x55a77b,_0x1be1bd={}){const _0xb2695d=_0x30b8b2;super(_0x55a77b),this[_0x5da3d7]=_0x1be1bd['error']===void 0x0?null:_0x1be1bd['error'],this[_0x5163c6]=_0x1be1bd['message']===void 0x0?'':_0x1be1bd[_0xb2695d(0x25f)];}get[_0x30b8b2(0x21f)](){return this[_0x5da3d7];}get[_0x30b8b2(0x25f)](){return this[_0x5163c6];}}Object['defineProperty'](_0x47dcc1['prototype'],_0x30b8b2(0x21f),{'enumerable':!0x0}),Object['defineProperty'](_0x47dcc1[_0x30b8b2(0x216)],'message',{'enumerable':!0x0});class _0x18f433 extends _0x1d12aa{constructor(_0x5cbb63,_0x1b732d={}){const _0x2a9f5f=_0x30b8b2;super(_0x5cbb63),this[_0x55a16a]=_0x1b732d[_0x2a9f5f(0x1ec)]===void 0x0?null:_0x1b732d[_0x2a9f5f(0x1ec)];}get['data'](){return this[_0x55a16a];}}Object[_0x30b8b2(0x1a5)](_0x18f433[_0x30b8b2(0x216)],_0x30b8b2(0x1ec),{'enumerable':!0x0}),xe={'CloseEvent':_0x5a4057,'ErrorEvent':_0x47dcc1,'Event':_0x1d12aa,'EventTarget':{'addEventListener'(_0x96316e,_0x4c77c9,_0x28f6b3={}){const _0x459acf=_0x30b8b2;for(const _0x58f68a of this[_0x459acf(0x252)](_0x96316e))if(!_0x28f6b3[_0xbde6ce]&&_0x58f68a[_0x4309d5]===_0x4c77c9&&!_0x58f68a[_0xbde6ce])return;let _0x12e8f1;if(_0x96316e==='message')_0x12e8f1=function(_0xf04619,_0x2dbb22){const _0x1b0bb6=_0x459acf,_0x30a56f=new _0x18f433(_0x1b0bb6(0x25f),{'data':_0x2dbb22?_0xf04619:_0xf04619[_0x1b0bb6(0x12d)]()});_0x30a56f[_0x84a1e3]=this,_0x10fbdc(_0x4c77c9,this,_0x30a56f);};else{if(_0x96316e===_0x459acf(0x174))_0x12e8f1=function(_0x448538,_0x48a132){const _0x11bcce=_0x459acf,_0x3071f6=new _0x5a4057(_0x11bcce(0x174),{'code':_0x448538,'reason':_0x48a132[_0x11bcce(0x12d)](),'wasClean':this[_0x11bcce(0x182)]&&this[_0x11bcce(0x2bb)]});_0x3071f6[_0x84a1e3]=this,_0x10fbdc(_0x4c77c9,this,_0x3071f6);};else{if(_0x96316e===_0x459acf(0x21f))_0x12e8f1=function(_0x4a353a){const _0x336dfa=_0x459acf,_0x474fa9=new _0x47dcc1(_0x336dfa(0x21f),{'error':_0x4a353a,'message':_0x4a353a['message']});_0x474fa9[_0x84a1e3]=this,_0x10fbdc(_0x4c77c9,this,_0x474fa9);};else{if(_0x96316e===_0x459acf(0x11a))_0x12e8f1=function(){const _0x311a98=_0x459acf,_0x4207e1=new _0x1d12aa(_0x311a98(0x11a));_0x4207e1[_0x84a1e3]=this,_0x10fbdc(_0x4c77c9,this,_0x4207e1);};else return;}}}_0x12e8f1[_0xbde6ce]=!!_0x28f6b3[_0xbde6ce],_0x12e8f1[_0x4309d5]=_0x4c77c9,_0x28f6b3['once']?this[_0x459acf(0x2a9)](_0x96316e,_0x12e8f1):this['on'](_0x96316e,_0x12e8f1);},'removeEventListener'(_0x51113,_0x5f8b31){const _0x433722=_0x30b8b2;for(const _0x3cb461 of this[_0x433722(0x252)](_0x51113))if(_0x3cb461[_0x4309d5]===_0x5f8b31&&!_0x3cb461[_0xbde6ce]){this[_0x433722(0x224)](_0x51113,_0x3cb461);break;}}},'MessageEvent':_0x18f433};function _0x10fbdc(_0x43e58b,_0x1c336a,_0x44029b){const _0x522acf=_0x30b8b2;typeof _0x43e58b==_0x522acf(0x19f)&&_0x43e58b['handleEvent']?_0x43e58b[_0x522acf(0x25d)]['call'](_0x43e58b,_0x44029b):_0x43e58b[_0x522acf(0x2ba)](_0x1c336a,_0x44029b);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x423f42}=ne();function _0x5d6e87(_0xeb4bf9,_0x464cc8,_0x4e49ff){_0xeb4bf9[_0x464cc8]===void 0x0?_0xeb4bf9[_0x464cc8]=[_0x4e49ff]:_0xeb4bf9[_0x464cc8]['push'](_0x4e49ff);}function _0x58e303(_0x202d6f){const _0x5c4c4a=_0x212f,_0x323814=Object[_0x5c4c4a(0x2b1)](null);let _0x55b3ce=Object[_0x5c4c4a(0x2b1)](null),_0x4b1c21=!0x1,_0x46296f=!0x1,_0x4331b7=!0x1,_0x41594b,_0x4e12ae,_0xded4ee=-0x1,_0x749a4=-0x1,_0x5027e1=-0x1,_0x37ad72=0x0;for(;_0x37ad72<_0x202d6f[_0x5c4c4a(0x10f)];_0x37ad72++)if(_0x749a4=_0x202d6f[_0x5c4c4a(0x293)](_0x37ad72),_0x41594b===void 0x0){if(_0x5027e1===-0x1&&_0x423f42[_0x749a4]===0x1)_0xded4ee===-0x1&&(_0xded4ee=_0x37ad72);else{if(_0x37ad72!==0x0&&(_0x749a4===0x20||_0x749a4===0x9))_0x5027e1===-0x1&&_0xded4ee!==-0x1&&(_0x5027e1=_0x37ad72);else{if(_0x749a4===0x3b||_0x749a4===0x2c){if(_0xded4ee===-0x1)throw new SyntaxError(_0x5c4c4a(0x1bf)+_0x37ad72);_0x5027e1===-0x1&&(_0x5027e1=_0x37ad72);const _0x36861a=_0x202d6f[_0x5c4c4a(0x1f4)](_0xded4ee,_0x5027e1);_0x749a4===0x2c?(_0x5d6e87(_0x323814,_0x36861a,_0x55b3ce),_0x55b3ce=Object[_0x5c4c4a(0x2b1)](null)):_0x41594b=_0x36861a,_0xded4ee=_0x5027e1=-0x1;}else throw new SyntaxError(_0x5c4c4a(0x1bf)+_0x37ad72);}}}else{if(_0x4e12ae===void 0x0){if(_0x5027e1===-0x1&&_0x423f42[_0x749a4]===0x1)_0xded4ee===-0x1&&(_0xded4ee=_0x37ad72);else{if(_0x749a4===0x20||_0x749a4===0x9)_0x5027e1===-0x1&&_0xded4ee!==-0x1&&(_0x5027e1=_0x37ad72);else{if(_0x749a4===0x3b||_0x749a4===0x2c){if(_0xded4ee===-0x1)throw new SyntaxError(_0x5c4c4a(0x1bf)+_0x37ad72);_0x5027e1===-0x1&&(_0x5027e1=_0x37ad72),_0x5d6e87(_0x55b3ce,_0x202d6f[_0x5c4c4a(0x1f4)](_0xded4ee,_0x5027e1),!0x0),_0x749a4===0x2c&&(_0x5d6e87(_0x323814,_0x41594b,_0x55b3ce),_0x55b3ce=Object['create'](null),_0x41594b=void 0x0),_0xded4ee=_0x5027e1=-0x1;}else{if(_0x749a4===0x3d&&_0xded4ee!==-0x1&&_0x5027e1===-0x1)_0x4e12ae=_0x202d6f[_0x5c4c4a(0x1f4)](_0xded4ee,_0x37ad72),_0xded4ee=_0x5027e1=-0x1;else throw new SyntaxError(_0x5c4c4a(0x1bf)+_0x37ad72);}}}}else{if(_0x46296f){if(_0x423f42[_0x749a4]!==0x1)throw new SyntaxError(_0x5c4c4a(0x1bf)+_0x37ad72);_0xded4ee===-0x1?_0xded4ee=_0x37ad72:_0x4b1c21||(_0x4b1c21=!0x0),_0x46296f=!0x1;}else{if(_0x4331b7){if(_0x423f42[_0x749a4]===0x1)_0xded4ee===-0x1&&(_0xded4ee=_0x37ad72);else{if(_0x749a4===0x22&&_0xded4ee!==-0x1)_0x4331b7=!0x1,_0x5027e1=_0x37ad72;else{if(_0x749a4===0x5c)_0x46296f=!0x0;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x37ad72);}}}else{if(_0x749a4===0x22&&_0x202d6f['charCodeAt'](_0x37ad72-0x1)===0x3d)_0x4331b7=!0x0;else{if(_0x5027e1===-0x1&&_0x423f42[_0x749a4]===0x1)_0xded4ee===-0x1&&(_0xded4ee=_0x37ad72);else{if(_0xded4ee!==-0x1&&(_0x749a4===0x20||_0x749a4===0x9))_0x5027e1===-0x1&&(_0x5027e1=_0x37ad72);else{if(_0x749a4===0x3b||_0x749a4===0x2c){if(_0xded4ee===-0x1)throw new SyntaxError(_0x5c4c4a(0x1bf)+_0x37ad72);_0x5027e1===-0x1&&(_0x5027e1=_0x37ad72);let _0xa1d9b=_0x202d6f[_0x5c4c4a(0x1f4)](_0xded4ee,_0x5027e1);_0x4b1c21&&(_0xa1d9b=_0xa1d9b[_0x5c4c4a(0x1a2)](/\\/g,''),_0x4b1c21=!0x1),_0x5d6e87(_0x55b3ce,_0x4e12ae,_0xa1d9b),_0x749a4===0x2c&&(_0x5d6e87(_0x323814,_0x41594b,_0x55b3ce),_0x55b3ce=Object[_0x5c4c4a(0x2b1)](null),_0x41594b=void 0x0),_0x4e12ae=void 0x0,_0xded4ee=_0x5027e1=-0x1;}else throw new SyntaxError(_0x5c4c4a(0x1bf)+_0x37ad72);}}}}}}}if(_0xded4ee===-0x1||_0x4331b7||_0x749a4===0x20||_0x749a4===0x9)throw new SyntaxError(_0x5c4c4a(0x271));_0x5027e1===-0x1&&(_0x5027e1=_0x37ad72);const _0x2ba4fc=_0x202d6f['slice'](_0xded4ee,_0x5027e1);return _0x41594b===void 0x0?_0x5d6e87(_0x323814,_0x2ba4fc,_0x55b3ce):(_0x4e12ae===void 0x0?_0x5d6e87(_0x55b3ce,_0x2ba4fc,!0x0):_0x4b1c21?_0x5d6e87(_0x55b3ce,_0x4e12ae,_0x2ba4fc[_0x5c4c4a(0x1a2)](/\\/g,'')):_0x5d6e87(_0x55b3ce,_0x4e12ae,_0x2ba4fc),_0x5d6e87(_0x323814,_0x41594b,_0x55b3ce)),_0x323814;}function _0x56dbc5(_0x5152d1){const _0x3c9ec5=_0x212f;return Object[_0x3c9ec5(0x1ff)](_0x5152d1)[_0x3c9ec5(0x26d)](_0x55541d=>{const _0x3457c1=_0x3c9ec5;let _0x82f32b=_0x5152d1[_0x55541d];return Array['isArray'](_0x82f32b)||(_0x82f32b=[_0x82f32b]),_0x82f32b[_0x3457c1(0x26d)](_0xc56b11=>[_0x55541d]['concat'](Object['keys'](_0xc56b11)[_0x3457c1(0x26d)](_0xf6248a=>{const _0x43c418=_0x3457c1;let _0x47144a=_0xc56b11[_0xf6248a];return Array[_0x43c418(0x20c)](_0x47144a)||(_0x47144a=[_0x47144a]),_0x47144a[_0x43c418(0x26d)](_0x27bcc2=>_0x27bcc2===!0x0?_0xf6248a:_0xf6248a+'='+_0x27bcc2)[_0x43c418(0x200)](';\x20');}))[_0x3457c1(0x200)](';\x20'))[_0x3457c1(0x200)](',\x20');})[_0x3c9ec5(0x200)](',\x20');}return be={'format':_0x56dbc5,'parse':_0x58e303},be;}var we,st;function Ie(){const _0x497c4b=_0x2b7c49;if(st)return we;st=0x1;const _0xd7756=_0x2a026b,_0x11077e=_0x9edbd2,_0x1fdd0e=_0x193856,_0x284511=_0x580936,_0x139e66=_0x4fa7f7,{randomBytes:_0x276ca6,createHash:_0x86e1f4}=_0x409377,{Duplex:_0x276afe,Readable:_0x193d08}=_0x3e85cd,{URL:_0xeec9d6}=_0x247b7c,_0x1f26b2=he(),_0xd45ed1=dt(),_0x30e547=_t(),{isBlob:_0x124598}=ne(),{BINARY_TYPES:_0x879ad9,EMPTY_BUFFER:_0xbde8fe,GUID:_0x4afb2e,kForOnEventAttribute:_0x5e1c0b,kListener:_0x57cdad,kStatusCode:_0x2a91b9,kWebSocket:_0x54abd9,NOOP:_0x2f6281}=V(),{EventTarget:{addEventListener:_0x56c45a,removeEventListener:_0x53c3fc}}=Kt(),{format:_0x1d6ebd,parse:_0x3df44f}=pt(),{toBuffer:_0x44ab49}=ce(),_0x5142fd=0x1e*0x3e8,_0x33a633=Symbol(_0x497c4b(0x1e2)),_0x4612e2=[0x8,0xd],_0x24ae31=['CONNECTING','OPEN','CLOSING',_0x497c4b(0x167)],_0xc15633=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x4c02ca extends _0xd7756{constructor(_0x4f92d2,_0x340331,_0x15adbf){const _0x41a6ab=_0x497c4b;super(),this['_binaryType']=_0x879ad9[0x0],this[_0x41a6ab(0x154)]=0x3ee,this[_0x41a6ab(0x182)]=!0x1,this[_0x41a6ab(0x2bb)]=!0x1,this[_0x41a6ab(0x199)]=_0xbde8fe,this[_0x41a6ab(0x1af)]=null,this['_errorEmitted']=!0x1,this[_0x41a6ab(0x28f)]={},this[_0x41a6ab(0x1ed)]=!0x1,this['_protocol']='',this[_0x41a6ab(0x2b7)]=_0x4c02ca[_0x41a6ab(0x11c)],this['_receiver']=null,this['_sender']=null,this['_socket']=null,_0x4f92d2!==null?(this['_bufferedAmount']=0x0,this[_0x41a6ab(0x1f9)]=!0x1,this[_0x41a6ab(0x109)]=0x0,_0x340331===void 0x0?_0x340331=[]:Array[_0x41a6ab(0x20c)](_0x340331)||(typeof _0x340331==_0x41a6ab(0x19f)&&_0x340331!==null?(_0x15adbf=_0x340331,_0x340331=[]):_0x340331=[_0x340331]),_0x409ad7(this,_0x4f92d2,_0x340331,_0x15adbf)):(this[_0x41a6ab(0x2b0)]=_0x15adbf[_0x41a6ab(0x13b)],this['_isServer']=!0x0);}get['binaryType'](){const _0x239099=_0x497c4b;return this[_0x239099(0x130)];}set[_0x497c4b(0x1a0)](_0x5990f4){const _0x69328e=_0x497c4b;_0x879ad9[_0x69328e(0x20b)](_0x5990f4)&&(this[_0x69328e(0x130)]=_0x5990f4,this['_receiver']&&(this[_0x69328e(0x155)]['_binaryType']=_0x5990f4));}get[_0x497c4b(0x20a)](){const _0x294ad2=_0x497c4b;return this[_0x294ad2(0x1ba)]?this[_0x294ad2(0x1ba)][_0x294ad2(0x17b)][_0x294ad2(0x10f)]+this[_0x294ad2(0x17c)]['_bufferedBytes']:this[_0x294ad2(0x1c5)];}get[_0x497c4b(0x246)](){const _0x291873=_0x497c4b;return Object['keys'](this[_0x291873(0x28f)])[_0x291873(0x200)]();}get[_0x497c4b(0x119)](){const _0x503076=_0x497c4b;return this[_0x503076(0x1ed)];}get['onclose'](){return null;}get[_0x497c4b(0x254)](){return null;}get['onopen'](){return null;}get[_0x497c4b(0x29c)](){return null;}get[_0x497c4b(0x1ae)](){const _0x2f8ad1=_0x497c4b;return this[_0x2f8ad1(0x1aa)];}get[_0x497c4b(0x121)](){const _0x332fbc=_0x497c4b;return this[_0x332fbc(0x2b7)];}get[_0x497c4b(0x166)](){return this['_url'];}[_0x497c4b(0x278)](_0x497bfb,_0x456b35,_0x15df9c){const _0x29d227=_0x497c4b,_0x21458c=new _0xd45ed1({'allowSynchronousEvents':_0x15df9c[_0x29d227(0x1d3)],'binaryType':this[_0x29d227(0x1a0)],'extensions':this['_extensions'],'isServer':this[_0x29d227(0x1f9)],'maxPayload':_0x15df9c[_0x29d227(0x1d8)],'skipUTF8Validation':_0x15df9c[_0x29d227(0x189)]}),_0x14f9d6=new _0x30e547(_0x497bfb,this[_0x29d227(0x28f)],_0x15df9c[_0x29d227(0x1ce)]);this[_0x29d227(0x155)]=_0x21458c,this[_0x29d227(0x17c)]=_0x14f9d6,this['_socket']=_0x497bfb,_0x21458c[_0x54abd9]=this,_0x14f9d6[_0x54abd9]=this,_0x497bfb[_0x54abd9]=this,_0x21458c['on'](_0x29d227(0x24c),_0x3d9023),_0x21458c['on'](_0x29d227(0x208),_0x3be522),_0x21458c['on']('error',_0x3aeac5),_0x21458c['on']('message',_0x3ccebb),_0x21458c['on'](_0x29d227(0x1cb),_0x380561),_0x21458c['on'](_0x29d227(0x1a6),_0x4c4c88),_0x14f9d6[_0x29d227(0x254)]=_0x570b6d,_0x497bfb[_0x29d227(0x10c)]&&_0x497bfb[_0x29d227(0x10c)](0x0),_0x497bfb[_0x29d227(0x1be)]&&_0x497bfb['setNoDelay'](),_0x456b35[_0x29d227(0x10f)]>0x0&&_0x497bfb[_0x29d227(0x1c8)](_0x456b35),_0x497bfb['on'](_0x29d227(0x174),_0x436815),_0x497bfb['on'](_0x29d227(0x1ec),_0x3c7daf),_0x497bfb['on'](_0x29d227(0x21b),_0xbf1047),_0x497bfb['on'](_0x29d227(0x21f),_0x58ef29),this[_0x29d227(0x2b7)]=_0x4c02ca[_0x29d227(0x29a)],this[_0x29d227(0x186)](_0x29d227(0x11a));}[_0x497c4b(0x1ee)](){const _0x11000a=_0x497c4b;if(!this[_0x11000a(0x1ba)]){this['_readyState']=_0x4c02ca[_0x11000a(0x167)],this[_0x11000a(0x186)](_0x11000a(0x174),this[_0x11000a(0x154)],this[_0x11000a(0x199)]);return;}this[_0x11000a(0x28f)][_0x1f26b2[_0x11000a(0x160)]]&&this[_0x11000a(0x28f)][_0x1f26b2[_0x11000a(0x160)]][_0x11000a(0x125)](),this['_receiver'][_0x11000a(0x294)](),this['_readyState']=_0x4c02ca[_0x11000a(0x167)],this['emit']('close',this[_0x11000a(0x154)],this['_closeMessage']);}[_0x497c4b(0x174)](_0x12c5f5,_0x2dbf77){const _0x55e423=_0x497c4b;if(this['readyState']!==_0x4c02ca[_0x55e423(0x167)]){if(this[_0x55e423(0x121)]===_0x4c02ca['CONNECTING']){_0x34f86a(this,this[_0x55e423(0x161)],_0x55e423(0x128));return;}if(this[_0x55e423(0x121)]===_0x4c02ca[_0x55e423(0x149)]){this[_0x55e423(0x2bb)]&&(this[_0x55e423(0x182)]||this[_0x55e423(0x155)]['_writableState'][_0x55e423(0x20e)])&&this[_0x55e423(0x1ba)][_0x55e423(0x21b)]();return;}this['_readyState']=_0x4c02ca[_0x55e423(0x149)],this[_0x55e423(0x17c)]['close'](_0x12c5f5,_0x2dbf77,!this['_isServer'],_0x4612dc=>{const _0x44215a=_0x55e423;_0x4612dc||(this[_0x44215a(0x2bb)]=!0x0,(this[_0x44215a(0x182)]||this['_receiver'][_0x44215a(0x17b)][_0x44215a(0x20e)])&&this[_0x44215a(0x1ba)][_0x44215a(0x21b)]());}),_0xcdf7c9(this);}}[_0x497c4b(0x1d5)](){const _0x560aca=_0x497c4b;this['readyState']===_0x4c02ca[_0x560aca(0x11c)]||this[_0x560aca(0x121)]===_0x4c02ca[_0x560aca(0x167)]||(this[_0x560aca(0x1ed)]=!0x0,this['_socket'][_0x560aca(0x1d5)]());}[_0x497c4b(0x1cb)](_0x3e1fd3,_0x58f78f,_0x3c9fb5){const _0x167300=_0x497c4b;if(this[_0x167300(0x121)]===_0x4c02ca[_0x167300(0x11c)])throw new Error(_0x167300(0x27a));if(typeof _0x3e1fd3==_0x167300(0x157)?(_0x3c9fb5=_0x3e1fd3,_0x3e1fd3=_0x58f78f=void 0x0):typeof _0x58f78f==_0x167300(0x157)&&(_0x3c9fb5=_0x58f78f,_0x58f78f=void 0x0),typeof _0x3e1fd3==_0x167300(0x24b)&&(_0x3e1fd3=_0x3e1fd3[_0x167300(0x12d)]()),this[_0x167300(0x121)]!==_0x4c02ca[_0x167300(0x29a)]){_0x43722(this,_0x3e1fd3,_0x3c9fb5);return;}_0x58f78f===void 0x0&&(_0x58f78f=!this[_0x167300(0x1f9)]),this[_0x167300(0x17c)][_0x167300(0x1cb)](_0x3e1fd3||_0xbde8fe,_0x58f78f,_0x3c9fb5);}['pong'](_0x25010f,_0x5ce9be,_0x29f2f1){const _0x5d9aa6=_0x497c4b;if(this['readyState']===_0x4c02ca[_0x5d9aa6(0x11c)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x25010f=='function'?(_0x29f2f1=_0x25010f,_0x25010f=_0x5ce9be=void 0x0):typeof _0x5ce9be=='function'&&(_0x29f2f1=_0x5ce9be,_0x5ce9be=void 0x0),typeof _0x25010f==_0x5d9aa6(0x24b)&&(_0x25010f=_0x25010f['toString']()),this[_0x5d9aa6(0x121)]!==_0x4c02ca[_0x5d9aa6(0x29a)]){_0x43722(this,_0x25010f,_0x29f2f1);return;}_0x5ce9be===void 0x0&&(_0x5ce9be=!this['_isServer']),this['_sender'][_0x5d9aa6(0x1a6)](_0x25010f||_0xbde8fe,_0x5ce9be,_0x29f2f1);}[_0x497c4b(0x20f)](){const _0x2452fb=_0x497c4b;this['readyState']===_0x4c02ca[_0x2452fb(0x11c)]||this[_0x2452fb(0x121)]===_0x4c02ca['CLOSED']||(this['_paused']=!0x1,this[_0x2452fb(0x155)]['_writableState'][_0x2452fb(0x20d)]||this[_0x2452fb(0x1ba)]['resume']());}['send'](_0x4264ac,_0x399cf8,_0x3c1208){const _0x416da6=_0x497c4b;if(this[_0x416da6(0x121)]===_0x4c02ca['CONNECTING'])throw new Error(_0x416da6(0x27a));if(typeof _0x399cf8==_0x416da6(0x157)&&(_0x3c1208=_0x399cf8,_0x399cf8={}),typeof _0x4264ac==_0x416da6(0x24b)&&(_0x4264ac=_0x4264ac['toString']()),this[_0x416da6(0x121)]!==_0x4c02ca[_0x416da6(0x29a)]){_0x43722(this,_0x4264ac,_0x3c1208);return;}const _0x5b9ab8={'binary':typeof _0x4264ac!=_0x416da6(0x1c0),'mask':!this[_0x416da6(0x1f9)],'compress':!0x0,'fin':!0x0,..._0x399cf8};this[_0x416da6(0x28f)][_0x1f26b2['extensionName']]||(_0x5b9ab8[_0x416da6(0x285)]=!0x1),this[_0x416da6(0x17c)]['send'](_0x4264ac||_0xbde8fe,_0x5b9ab8,_0x3c1208);}[_0x497c4b(0x1b3)](){const _0x237e9b=_0x497c4b;if(this['readyState']!==_0x4c02ca[_0x237e9b(0x167)]){if(this[_0x237e9b(0x121)]===_0x4c02ca[_0x237e9b(0x11c)]){_0x34f86a(this,this[_0x237e9b(0x161)],_0x237e9b(0x128));return;}this[_0x237e9b(0x1ba)]&&(this['_readyState']=_0x4c02ca[_0x237e9b(0x149)],this[_0x237e9b(0x1ba)]['destroy']());}}}Object[_0x497c4b(0x1a5)](_0x4c02ca,_0x497c4b(0x11c),{'enumerable':!0x0,'value':_0x24ae31[_0x497c4b(0x18a)]('CONNECTING')}),Object[_0x497c4b(0x1a5)](_0x4c02ca[_0x497c4b(0x216)],_0x497c4b(0x11c),{'enumerable':!0x0,'value':_0x24ae31['indexOf']('CONNECTING')}),Object[_0x497c4b(0x1a5)](_0x4c02ca,_0x497c4b(0x29a),{'enumerable':!0x0,'value':_0x24ae31[_0x497c4b(0x18a)]('OPEN')}),Object[_0x497c4b(0x1a5)](_0x4c02ca['prototype'],_0x497c4b(0x29a),{'enumerable':!0x0,'value':_0x24ae31[_0x497c4b(0x18a)](_0x497c4b(0x29a))}),Object[_0x497c4b(0x1a5)](_0x4c02ca,_0x497c4b(0x149),{'enumerable':!0x0,'value':_0x24ae31[_0x497c4b(0x18a)](_0x497c4b(0x149))}),Object[_0x497c4b(0x1a5)](_0x4c02ca[_0x497c4b(0x216)],_0x497c4b(0x149),{'enumerable':!0x0,'value':_0x24ae31[_0x497c4b(0x18a)](_0x497c4b(0x149))}),Object[_0x497c4b(0x1a5)](_0x4c02ca,'CLOSED',{'enumerable':!0x0,'value':_0x24ae31[_0x497c4b(0x18a)](_0x497c4b(0x167))}),Object['defineProperty'](_0x4c02ca[_0x497c4b(0x216)],_0x497c4b(0x167),{'enumerable':!0x0,'value':_0x24ae31[_0x497c4b(0x18a)]('CLOSED')}),[_0x497c4b(0x1a0),_0x497c4b(0x20a),_0x497c4b(0x246),_0x497c4b(0x119),_0x497c4b(0x1ae),_0x497c4b(0x121),_0x497c4b(0x166)][_0x497c4b(0x13f)](_0x4c5bc2=>{const _0x497f9e=_0x497c4b;Object[_0x497f9e(0x1a5)](_0x4c02ca['prototype'],_0x4c5bc2,{'enumerable':!0x0});}),[_0x497c4b(0x11a),'error','close',_0x497c4b(0x25f)]['forEach'](_0x2c481d=>{const _0x40728d=_0x497c4b;Object[_0x40728d(0x1a5)](_0x4c02ca['prototype'],'on'+_0x2c481d,{'enumerable':!0x0,'get'(){const _0x490c79=_0x40728d;for(const _0x465bfa of this[_0x490c79(0x252)](_0x2c481d))if(_0x465bfa[_0x5e1c0b])return _0x465bfa[_0x57cdad];return null;},'set'(_0xa5c2d3){const _0x447db0=_0x40728d;for(const _0x389c56 of this[_0x447db0(0x252)](_0x2c481d))if(_0x389c56[_0x5e1c0b]){this['removeListener'](_0x2c481d,_0x389c56);break;}typeof _0xa5c2d3==_0x447db0(0x157)&&this[_0x447db0(0x152)](_0x2c481d,_0xa5c2d3,{[_0x5e1c0b]:!0x0});}});}),_0x4c02ca[_0x497c4b(0x216)][_0x497c4b(0x152)]=_0x56c45a,_0x4c02ca[_0x497c4b(0x216)][_0x497c4b(0x292)]=_0x53c3fc,we=_0x4c02ca;function _0x409ad7(_0x53d15e,_0x52e0f7,_0x19ec50,_0x53ee66){const _0x11f4e4=_0x497c4b,_0x24d27e={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x4612e2[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x53ee66,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x11f4e4(0x11d),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x53d15e['_autoPong']=_0x24d27e[_0x11f4e4(0x13b)],!_0x4612e2[_0x11f4e4(0x20b)](_0x24d27e[_0x11f4e4(0x1fb)]))throw new RangeError(_0x11f4e4(0x177)+_0x24d27e[_0x11f4e4(0x1fb)]+'\x20(supported\x20versions:\x20'+_0x4612e2[_0x11f4e4(0x200)](',\x20')+')');let _0x4b0f07;if(_0x52e0f7 instanceof _0xeec9d6)_0x4b0f07=_0x52e0f7;else try{_0x4b0f07=new _0xeec9d6(_0x52e0f7);}catch{throw new SyntaxError(_0x11f4e4(0x229)+_0x52e0f7);}_0x4b0f07[_0x11f4e4(0x1ae)]===_0x11f4e4(0x22b)?_0x4b0f07[_0x11f4e4(0x1ae)]=_0x11f4e4(0x15c):_0x4b0f07['protocol']===_0x11f4e4(0x11e)&&(_0x4b0f07[_0x11f4e4(0x1ae)]=_0x11f4e4(0x124)),_0x53d15e[_0x11f4e4(0x2b4)]=_0x4b0f07['href'];const _0x4bae04=_0x4b0f07[_0x11f4e4(0x1ae)]===_0x11f4e4(0x124),_0x4d0976=_0x4b0f07[_0x11f4e4(0x1ae)]===_0x11f4e4(0x14a);let _0x3528f2;if(_0x4b0f07['protocol']!==_0x11f4e4(0x15c)&&!_0x4bae04&&!_0x4d0976?_0x3528f2=_0x11f4e4(0x15d):_0x4d0976&&!_0x4b0f07[_0x11f4e4(0x168)]?_0x3528f2=_0x11f4e4(0x2a3):_0x4b0f07['hash']&&(_0x3528f2=_0x11f4e4(0x26e)),_0x3528f2){const _0x155463=new SyntaxError(_0x3528f2);if(_0x53d15e[_0x11f4e4(0x109)]===0x0)throw _0x155463;_0x24a9e6(_0x53d15e,_0x155463);return;}const _0x24a667=_0x4bae04?0x1bb:0x50,_0x8ada7e=_0x276ca6(0x10)[_0x11f4e4(0x12d)](_0x11f4e4(0x2b5)),_0x330712=_0x4bae04?_0x11077e[_0x11f4e4(0x2a8)]:_0x1fdd0e['request'],_0x5d4a00=new Set();let _0x4fefe0;if(_0x24d27e[_0x11f4e4(0x27d)]=_0x24d27e[_0x11f4e4(0x27d)]||(_0x4bae04?_0x41bfe3:_0x163b38),_0x24d27e['defaultPort']=_0x24d27e[_0x11f4e4(0x2af)]||_0x24a667,_0x24d27e[_0x11f4e4(0x258)]=_0x4b0f07[_0x11f4e4(0x258)]||_0x24a667,_0x24d27e[_0x11f4e4(0x12f)]=_0x4b0f07[_0x11f4e4(0x223)]['startsWith']('[')?_0x4b0f07[_0x11f4e4(0x223)][_0x11f4e4(0x1f4)](0x1,-0x1):_0x4b0f07[_0x11f4e4(0x223)],_0x24d27e['headers']={..._0x24d27e[_0x11f4e4(0x27b)],'Sec-WebSocket-Version':_0x24d27e[_0x11f4e4(0x1fb)],'Sec-WebSocket-Key':_0x8ada7e,'Connection':_0x11f4e4(0x156),'Upgrade':'websocket'},_0x24d27e[_0x11f4e4(0x2ad)]=_0x4b0f07[_0x11f4e4(0x168)]+_0x4b0f07['search'],_0x24d27e[_0x11f4e4(0x205)]=_0x24d27e['handshakeTimeout'],_0x24d27e[_0x11f4e4(0x1c1)]&&(_0x4fefe0=new _0x1f26b2(_0x24d27e['perMessageDeflate']!==!0x0?_0x24d27e[_0x11f4e4(0x1c1)]:{},!0x1,_0x24d27e[_0x11f4e4(0x1d8)]),_0x24d27e[_0x11f4e4(0x27b)]['Sec-WebSocket-Extensions']=_0x1d6ebd({[_0x1f26b2[_0x11f4e4(0x160)]]:_0x4fefe0['offer']()})),_0x19ec50[_0x11f4e4(0x10f)]){for(const _0xbf1c83 of _0x19ec50){if(typeof _0xbf1c83!='string'||!_0xc15633[_0x11f4e4(0x298)](_0xbf1c83)||_0x5d4a00[_0x11f4e4(0x1b7)](_0xbf1c83))throw new SyntaxError(_0x11f4e4(0x273));_0x5d4a00[_0x11f4e4(0x227)](_0xbf1c83);}_0x24d27e[_0x11f4e4(0x27b)][_0x11f4e4(0x296)]=_0x19ec50[_0x11f4e4(0x200)](',');}if(_0x24d27e[_0x11f4e4(0x287)]&&(_0x24d27e[_0x11f4e4(0x1fb)]<0xd?_0x24d27e[_0x11f4e4(0x27b)][_0x11f4e4(0x132)]=_0x24d27e['origin']:_0x24d27e['headers']['Origin']=_0x24d27e[_0x11f4e4(0x287)]),(_0x4b0f07[_0x11f4e4(0x280)]||_0x4b0f07[_0x11f4e4(0x1f6)])&&(_0x24d27e[_0x11f4e4(0x234)]=_0x4b0f07[_0x11f4e4(0x280)]+':'+_0x4b0f07['password']),_0x4d0976){const _0x4c039c=_0x24d27e[_0x11f4e4(0x2ad)][_0x11f4e4(0x1d1)](':');_0x24d27e['socketPath']=_0x4c039c[0x0],_0x24d27e[_0x11f4e4(0x2ad)]=_0x4c039c[0x1];}let _0x278105;if(_0x24d27e[_0x11f4e4(0x1d7)]){if(_0x53d15e[_0x11f4e4(0x109)]===0x0){_0x53d15e[_0x11f4e4(0x237)]=_0x4d0976,_0x53d15e[_0x11f4e4(0x15f)]=_0x4bae04,_0x53d15e[_0x11f4e4(0x289)]=_0x4d0976?_0x24d27e[_0x11f4e4(0x2ae)]:_0x4b0f07[_0x11f4e4(0x12f)];const _0x3ef2c0=_0x53ee66&&_0x53ee66[_0x11f4e4(0x27b)];if(_0x53ee66={..._0x53ee66,'headers':{}},_0x3ef2c0){for(const [_0x4bb4b3,_0x50ae3f]of Object[_0x11f4e4(0x163)](_0x3ef2c0))_0x53ee66['headers'][_0x4bb4b3['toLowerCase']()]=_0x50ae3f;}}else{if(_0x53d15e['listenerCount'](_0x11f4e4(0x209))===0x0){const _0x5a73da=_0x4d0976?_0x53d15e[_0x11f4e4(0x237)]?_0x24d27e[_0x11f4e4(0x2ae)]===_0x53d15e[_0x11f4e4(0x289)]:!0x1:_0x53d15e[_0x11f4e4(0x237)]?!0x1:_0x4b0f07['host']===_0x53d15e[_0x11f4e4(0x289)];(!_0x5a73da||_0x53d15e[_0x11f4e4(0x15f)]&&!_0x4bae04)&&(delete _0x24d27e['headers'][_0x11f4e4(0x1fc)],delete _0x24d27e['headers'][_0x11f4e4(0x158)],_0x5a73da||delete _0x24d27e['headers'][_0x11f4e4(0x12f)],_0x24d27e[_0x11f4e4(0x234)]=void 0x0);}}_0x24d27e[_0x11f4e4(0x234)]&&!_0x53ee66[_0x11f4e4(0x27b)][_0x11f4e4(0x1fc)]&&(_0x53ee66[_0x11f4e4(0x27b)][_0x11f4e4(0x1fc)]=_0x11f4e4(0x151)+Buffer['from'](_0x24d27e['auth'])[_0x11f4e4(0x12d)]('base64')),_0x278105=_0x53d15e['_req']=_0x330712(_0x24d27e),_0x53d15e[_0x11f4e4(0x109)]&&_0x53d15e[_0x11f4e4(0x186)](_0x11f4e4(0x209),_0x53d15e[_0x11f4e4(0x166)],_0x278105);}else _0x278105=_0x53d15e['_req']=_0x330712(_0x24d27e);_0x24d27e[_0x11f4e4(0x205)]&&_0x278105['on'](_0x11f4e4(0x205),()=>{const _0x203f55=_0x11f4e4;_0x34f86a(_0x53d15e,_0x278105,_0x203f55(0x27e));}),_0x278105['on'](_0x11f4e4(0x21f),_0x4e7323=>{const _0x409527=_0x11f4e4;_0x278105===null||_0x278105[_0x33a633]||(_0x278105=_0x53d15e[_0x409527(0x161)]=null,_0x24a9e6(_0x53d15e,_0x4e7323));}),_0x278105['on']('response',_0x2035b4=>{const _0x1d5877=_0x11f4e4,_0x405c2f=_0x2035b4['headers'][_0x1d5877(0x1e4)],_0x16205b=_0x2035b4[_0x1d5877(0x21a)];if(_0x405c2f&&_0x24d27e['followRedirects']&&_0x16205b>=0x12c&&_0x16205b<0x190){if(++_0x53d15e['_redirects']>_0x24d27e[_0x1d5877(0x21d)]){_0x34f86a(_0x53d15e,_0x278105,_0x1d5877(0x1e3));return;}_0x278105[_0x1d5877(0x191)]();let _0x39b015;try{_0x39b015=new _0xeec9d6(_0x405c2f,_0x52e0f7);}catch{const _0x10f48c=new SyntaxError(_0x1d5877(0x229)+_0x405c2f);_0x24a9e6(_0x53d15e,_0x10f48c);return;}_0x409ad7(_0x53d15e,_0x39b015,_0x19ec50,_0x53ee66);}else _0x53d15e[_0x1d5877(0x186)](_0x1d5877(0x1ab),_0x278105,_0x2035b4)||_0x34f86a(_0x53d15e,_0x278105,_0x1d5877(0x123)+_0x2035b4[_0x1d5877(0x21a)]);}),_0x278105['on'](_0x11f4e4(0x1db),(_0x57a495,_0x1666e3,_0x2c0ad1)=>{const _0x3aedbb=_0x11f4e4;if(_0x53d15e[_0x3aedbb(0x186)](_0x3aedbb(0x1db),_0x57a495),_0x53d15e['readyState']!==_0x4c02ca[_0x3aedbb(0x11c)])return;_0x278105=_0x53d15e[_0x3aedbb(0x161)]=null;const _0x338a79=_0x57a495['headers'][_0x3aedbb(0x1db)];if(_0x338a79===void 0x0||_0x338a79[_0x3aedbb(0x140)]()!==_0x3aedbb(0x195)){_0x34f86a(_0x53d15e,_0x1666e3,_0x3aedbb(0x259));return;}const _0x261eed=_0x86e1f4(_0x3aedbb(0x13d))[_0x3aedbb(0x257)](_0x8ada7e+_0x4afb2e)[_0x3aedbb(0x139)](_0x3aedbb(0x2b5));if(_0x57a495[_0x3aedbb(0x27b)]['sec-websocket-accept']!==_0x261eed){_0x34f86a(_0x53d15e,_0x1666e3,_0x3aedbb(0x21e));return;}const _0x4679d2=_0x57a495[_0x3aedbb(0x27b)][_0x3aedbb(0x228)];let _0x1ef75f;if(_0x4679d2!==void 0x0?_0x5d4a00['size']?_0x5d4a00[_0x3aedbb(0x1b7)](_0x4679d2)||(_0x1ef75f=_0x3aedbb(0x19e)):_0x1ef75f=_0x3aedbb(0x129):_0x5d4a00[_0x3aedbb(0x171)]&&(_0x1ef75f=_0x3aedbb(0x202)),_0x1ef75f){_0x34f86a(_0x53d15e,_0x1666e3,_0x1ef75f);return;}_0x4679d2&&(_0x53d15e[_0x3aedbb(0x1aa)]=_0x4679d2);const _0x572c9c=_0x57a495[_0x3aedbb(0x27b)]['sec-websocket-extensions'];if(_0x572c9c!==void 0x0){if(!_0x4fefe0){_0x34f86a(_0x53d15e,_0x1666e3,_0x3aedbb(0x165));return;}let _0x2eb77c;try{_0x2eb77c=_0x3df44f(_0x572c9c);}catch{_0x34f86a(_0x53d15e,_0x1666e3,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0x507468=Object[_0x3aedbb(0x1ff)](_0x2eb77c);if(_0x507468[_0x3aedbb(0x10f)]!==0x1||_0x507468[0x0]!==_0x1f26b2['extensionName']){_0x34f86a(_0x53d15e,_0x1666e3,_0x3aedbb(0x1d0));return;}try{_0x4fefe0[_0x3aedbb(0x14e)](_0x2eb77c[_0x1f26b2[_0x3aedbb(0x160)]]);}catch{_0x34f86a(_0x53d15e,_0x1666e3,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}_0x53d15e[_0x3aedbb(0x28f)][_0x1f26b2[_0x3aedbb(0x160)]]=_0x4fefe0;}_0x53d15e[_0x3aedbb(0x278)](_0x1666e3,_0x2c0ad1,{'allowSynchronousEvents':_0x24d27e[_0x3aedbb(0x1d3)],'generateMask':_0x24d27e[_0x3aedbb(0x1ce)],'maxPayload':_0x24d27e[_0x3aedbb(0x1d8)],'skipUTF8Validation':_0x24d27e[_0x3aedbb(0x189)]});}),_0x24d27e[_0x11f4e4(0x22c)]?_0x24d27e['finishRequest'](_0x278105,_0x53d15e):_0x278105[_0x11f4e4(0x21b)]();}function _0x24a9e6(_0x48840a,_0x1a89cc){const _0x34ce0f=_0x497c4b;_0x48840a[_0x34ce0f(0x2b7)]=_0x4c02ca[_0x34ce0f(0x149)],_0x48840a[_0x34ce0f(0x170)]=!0x0,_0x48840a['emit'](_0x34ce0f(0x21f),_0x1a89cc),_0x48840a[_0x34ce0f(0x1ee)]();}function _0x163b38(_0x5561b6){const _0x57096=_0x497c4b;return _0x5561b6[_0x57096(0x2ad)]=_0x5561b6[_0x57096(0x2ae)],_0x284511[_0x57096(0x1d4)](_0x5561b6);}function _0x41bfe3(_0x4c8d33){const _0x394471=_0x497c4b;return _0x4c8d33['path']=void 0x0,!_0x4c8d33[_0x394471(0x2b6)]&&_0x4c8d33[_0x394471(0x2b6)]!==''&&(_0x4c8d33[_0x394471(0x2b6)]=_0x284511[_0x394471(0x206)](_0x4c8d33['host'])?'':_0x4c8d33[_0x394471(0x12f)]),_0x139e66[_0x394471(0x1d4)](_0x4c8d33);}function _0x34f86a(_0x15c582,_0x5c142e,_0x4e9797){const _0x97172f=_0x497c4b;_0x15c582[_0x97172f(0x2b7)]=_0x4c02ca[_0x97172f(0x149)];const _0x46ec25=new Error(_0x4e9797);Error[_0x97172f(0x1c6)](_0x46ec25,_0x34f86a),_0x5c142e['setHeader']?(_0x5c142e[_0x33a633]=!0x0,_0x5c142e[_0x97172f(0x191)](),_0x5c142e[_0x97172f(0x268)]&&!_0x5c142e[_0x97172f(0x268)][_0x97172f(0x276)]&&_0x5c142e['socket'][_0x97172f(0x16c)](),process[_0x97172f(0x248)](_0x24a9e6,_0x15c582,_0x46ec25)):(_0x5c142e[_0x97172f(0x16c)](_0x46ec25),_0x5c142e[_0x97172f(0x2a9)](_0x97172f(0x21f),_0x15c582['emit'][_0x97172f(0x108)](_0x15c582,_0x97172f(0x21f))),_0x5c142e[_0x97172f(0x2a9)](_0x97172f(0x174),_0x15c582[_0x97172f(0x1ee)][_0x97172f(0x108)](_0x15c582)));}function _0x43722(_0x1e91b6,_0x1d32b2,_0x3b7e1){const _0x2d1b89=_0x497c4b;if(_0x1d32b2){const _0x470641=_0x124598(_0x1d32b2)?_0x1d32b2['size']:_0x44ab49(_0x1d32b2)['length'];_0x1e91b6['_socket']?_0x1e91b6['_sender'][_0x2d1b89(0x284)]+=_0x470641:_0x1e91b6[_0x2d1b89(0x1c5)]+=_0x470641;}if(_0x3b7e1){const _0x5dd08c=new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x20'+_0x1e91b6[_0x2d1b89(0x121)]+'\x20('+_0x24ae31[_0x1e91b6['readyState']]+')');process[_0x2d1b89(0x248)](_0x3b7e1,_0x5dd08c);}}function _0x3d9023(_0x4c69a9,_0x585965){const _0x56eeb4=_0x497c4b,_0x780c1e=this[_0x54abd9];_0x780c1e[_0x56eeb4(0x182)]=!0x0,_0x780c1e[_0x56eeb4(0x199)]=_0x585965,_0x780c1e[_0x56eeb4(0x154)]=_0x4c69a9,_0x780c1e[_0x56eeb4(0x1ba)][_0x54abd9]!==void 0x0&&(_0x780c1e[_0x56eeb4(0x1ba)][_0x56eeb4(0x224)]('data',_0x3c7daf),process['nextTick'](_0x308714,_0x780c1e[_0x56eeb4(0x1ba)]),_0x4c69a9===0x3ed?_0x780c1e[_0x56eeb4(0x174)]():_0x780c1e[_0x56eeb4(0x174)](_0x4c69a9,_0x585965));}function _0x3be522(){const _0x40001c=_0x497c4b,_0x5c61b7=this[_0x54abd9];_0x5c61b7[_0x40001c(0x119)]||_0x5c61b7[_0x40001c(0x1ba)]['resume']();}function _0x3aeac5(_0x20be9a){const _0x2da737=_0x497c4b,_0x259d5d=this[_0x54abd9];_0x259d5d[_0x2da737(0x1ba)][_0x54abd9]!==void 0x0&&(_0x259d5d[_0x2da737(0x1ba)][_0x2da737(0x224)](_0x2da737(0x1ec),_0x3c7daf),process[_0x2da737(0x248)](_0x308714,_0x259d5d[_0x2da737(0x1ba)]),_0x259d5d[_0x2da737(0x174)](_0x20be9a[_0x2a91b9])),_0x259d5d['_errorEmitted']||(_0x259d5d[_0x2da737(0x170)]=!0x0,_0x259d5d['emit'](_0x2da737(0x21f),_0x20be9a));}function _0x50cdfa(){const _0x513b6e=_0x497c4b;this[_0x54abd9][_0x513b6e(0x1ee)]();}function _0x3ccebb(_0x509169,_0x5bd257){const _0x520410=_0x497c4b;this[_0x54abd9][_0x520410(0x186)]('message',_0x509169,_0x5bd257);}function _0x380561(_0x51e926){const _0x6c4f5a=_0x497c4b,_0x2c811c=this[_0x54abd9];_0x2c811c['_autoPong']&&_0x2c811c[_0x6c4f5a(0x1a6)](_0x51e926,!this['_isServer'],_0x2f6281),_0x2c811c['emit'](_0x6c4f5a(0x1cb),_0x51e926);}function _0x4c4c88(_0x1da48b){const _0x1a9e44=_0x497c4b;this[_0x54abd9][_0x1a9e44(0x186)](_0x1a9e44(0x1a6),_0x1da48b);}function _0x308714(_0x3898c3){const _0x3ba67a=_0x497c4b;_0x3898c3[_0x3ba67a(0x20f)]();}function _0x570b6d(_0x364465){const _0x3c6bf4=_0x497c4b,_0x38d1c2=this[_0x54abd9];_0x38d1c2[_0x3c6bf4(0x121)]!==_0x4c02ca[_0x3c6bf4(0x167)]&&(_0x38d1c2[_0x3c6bf4(0x121)]===_0x4c02ca['OPEN']&&(_0x38d1c2[_0x3c6bf4(0x2b7)]=_0x4c02ca['CLOSING'],_0xcdf7c9(_0x38d1c2)),this[_0x3c6bf4(0x1ba)][_0x3c6bf4(0x21b)](),_0x38d1c2[_0x3c6bf4(0x170)]||(_0x38d1c2[_0x3c6bf4(0x170)]=!0x0,_0x38d1c2[_0x3c6bf4(0x186)](_0x3c6bf4(0x21f),_0x364465)));}function _0xcdf7c9(_0x1376cc){const _0x5be34f=_0x497c4b;_0x1376cc['_closeTimer']=setTimeout(_0x1376cc[_0x5be34f(0x1ba)][_0x5be34f(0x16c)]['bind'](_0x1376cc[_0x5be34f(0x1ba)]),_0x5142fd);}function _0x436815(){const _0x393a3e=_0x497c4b,_0x1eb1b4=this[_0x54abd9];this[_0x393a3e(0x224)](_0x393a3e(0x174),_0x436815),this[_0x393a3e(0x224)](_0x393a3e(0x1ec),_0x3c7daf),this[_0x393a3e(0x224)]('end',_0xbf1047),_0x1eb1b4[_0x393a3e(0x2b7)]=_0x4c02ca[_0x393a3e(0x149)];let _0x36ddf1;!this['_readableState'][_0x393a3e(0x146)]&&!_0x1eb1b4['_closeFrameReceived']&&!_0x1eb1b4['_receiver']['_writableState'][_0x393a3e(0x20e)]&&(_0x36ddf1=_0x1eb1b4['_socket']['read']())!==null&&_0x1eb1b4[_0x393a3e(0x155)][_0x393a3e(0x1e9)](_0x36ddf1),_0x1eb1b4[_0x393a3e(0x155)][_0x393a3e(0x21b)](),this[_0x54abd9]=void 0x0,clearTimeout(_0x1eb1b4[_0x393a3e(0x1af)]),_0x1eb1b4[_0x393a3e(0x155)][_0x393a3e(0x17b)][_0x393a3e(0x2a7)]||_0x1eb1b4[_0x393a3e(0x155)][_0x393a3e(0x17b)][_0x393a3e(0x20e)]?_0x1eb1b4['emitClose']():(_0x1eb1b4['_receiver']['on'](_0x393a3e(0x21f),_0x50cdfa),_0x1eb1b4[_0x393a3e(0x155)]['on'](_0x393a3e(0x10e),_0x50cdfa));}function _0x3c7daf(_0x401cb5){const _0x23f12e=_0x497c4b;this[_0x54abd9][_0x23f12e(0x155)][_0x23f12e(0x1e9)](_0x401cb5)||this[_0x23f12e(0x1d5)]();}function _0xbf1047(){const _0x5786b2=_0x497c4b,_0x5b2823=this[_0x54abd9];_0x5b2823[_0x5786b2(0x2b7)]=_0x4c02ca[_0x5786b2(0x149)],_0x5b2823['_receiver']['end'](),this[_0x5786b2(0x21b)]();}function _0x58ef29(){const _0x2800d9=_0x497c4b,_0x2ab55e=this[_0x54abd9];this[_0x2800d9(0x224)](_0x2800d9(0x21f),_0x58ef29),this['on'](_0x2800d9(0x21f),_0x2f6281),_0x2ab55e&&(_0x2ab55e[_0x2800d9(0x2b7)]=_0x4c02ca[_0x2800d9(0x149)],this[_0x2800d9(0x16c)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x241594}=_0x3e85cd;function _0x5d52aa(_0xd365ae){const _0x175160=_0x212f;_0xd365ae[_0x175160(0x186)](_0x175160(0x174));}function _0x4662d0(){const _0x485136=_0x212f;!this[_0x485136(0x276)]&&this['_writableState']['finished']&&this[_0x485136(0x16c)]();}function _0xb08518(_0x223a6b){const _0x1bc6e0=_0x212f;this[_0x1bc6e0(0x224)](_0x1bc6e0(0x21f),_0xb08518),this['destroy'](),this[_0x1bc6e0(0x1fd)](_0x1bc6e0(0x21f))===0x0&&this[_0x1bc6e0(0x186)]('error',_0x223a6b);}function _0x2f1da8(_0x3bfb9a,_0x2d5419){const _0x309b65=_0x212f;let _0x17d5fb=!0x0;const _0x7bf082=new _0x241594({..._0x2d5419,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x3bfb9a['on'](_0x309b65(0x25f),function(_0x3e1938,_0x4d0bdb){const _0x13c214=_0x309b65,_0x1a2656=!_0x4d0bdb&&_0x7bf082[_0x13c214(0x219)][_0x13c214(0x2b2)]?_0x3e1938['toString']():_0x3e1938;_0x7bf082['push'](_0x1a2656)||_0x3bfb9a['pause']();}),_0x3bfb9a[_0x309b65(0x2a9)](_0x309b65(0x21f),function(_0x214fdc){const _0x1e175d=_0x309b65;_0x7bf082[_0x1e175d(0x276)]||(_0x17d5fb=!0x1,_0x7bf082[_0x1e175d(0x16c)](_0x214fdc));}),_0x3bfb9a[_0x309b65(0x2a9)](_0x309b65(0x174),function(){const _0x28f41d=_0x309b65;_0x7bf082[_0x28f41d(0x276)]||_0x7bf082['push'](null);}),_0x7bf082['_destroy']=function(_0x50231e,_0x321295){const _0x1b8cbe=_0x309b65;if(_0x3bfb9a[_0x1b8cbe(0x121)]===_0x3bfb9a[_0x1b8cbe(0x167)]){_0x321295(_0x50231e),process[_0x1b8cbe(0x248)](_0x5d52aa,_0x7bf082);return;}let _0x46e638=!0x1;_0x3bfb9a[_0x1b8cbe(0x2a9)](_0x1b8cbe(0x21f),function(_0x3390e5){_0x46e638=!0x0,_0x321295(_0x3390e5);}),_0x3bfb9a[_0x1b8cbe(0x2a9)]('close',function(){const _0x3578ca=_0x1b8cbe;_0x46e638||_0x321295(_0x50231e),process[_0x3578ca(0x248)](_0x5d52aa,_0x7bf082);}),_0x17d5fb&&_0x3bfb9a[_0x1b8cbe(0x1b3)]();},_0x7bf082['_final']=function(_0x27701b){const _0x468d23=_0x309b65;if(_0x3bfb9a['readyState']===_0x3bfb9a[_0x468d23(0x11c)]){_0x3bfb9a['once']('open',function(){const _0x25ea7a=_0x468d23;_0x7bf082[_0x25ea7a(0x122)](_0x27701b);});return;}_0x3bfb9a[_0x468d23(0x1ba)]!==null&&(_0x3bfb9a[_0x468d23(0x1ba)][_0x468d23(0x17b)][_0x468d23(0x2a7)]?(_0x27701b(),_0x7bf082[_0x468d23(0x219)][_0x468d23(0x146)]&&_0x7bf082['destroy']()):(_0x3bfb9a[_0x468d23(0x1ba)][_0x468d23(0x2a9)]('finish',function(){_0x27701b();}),_0x3bfb9a['close']()));},_0x7bf082[_0x309b65(0x282)]=function(){const _0x4365af=_0x309b65;_0x3bfb9a[_0x4365af(0x119)]&&_0x3bfb9a['resume']();},_0x7bf082[_0x309b65(0x204)]=function(_0x57405b,_0x3f3080,_0x25dad2){const _0x3cdbaa=_0x309b65;if(_0x3bfb9a[_0x3cdbaa(0x121)]===_0x3bfb9a[_0x3cdbaa(0x11c)]){_0x3bfb9a[_0x3cdbaa(0x2a9)](_0x3cdbaa(0x11a),function(){const _0x2beb62=_0x3cdbaa;_0x7bf082[_0x2beb62(0x204)](_0x57405b,_0x3f3080,_0x25dad2);});return;}_0x3bfb9a[_0x3cdbaa(0x1d2)](_0x57405b,_0x25dad2);},_0x7bf082['on'](_0x309b65(0x21b),_0x4662d0),_0x7bf082['on']('error',_0xb08518),_0x7bf082;}return Oe=_0x2f1da8,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=jt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x24423c}=ne();function _0xe4cae(_0x384136){const _0x1633d2=_0x212f,_0x1560e0=new Set();let _0x308faa=-0x1,_0xe4b0ad=-0x1,_0x4d1669=0x0;for(_0x4d1669;_0x4d1669<_0x384136[_0x1633d2(0x10f)];_0x4d1669++){const _0x345c0a=_0x384136[_0x1633d2(0x293)](_0x4d1669);if(_0xe4b0ad===-0x1&&_0x24423c[_0x345c0a]===0x1)_0x308faa===-0x1&&(_0x308faa=_0x4d1669);else{if(_0x4d1669!==0x0&&(_0x345c0a===0x20||_0x345c0a===0x9))_0xe4b0ad===-0x1&&_0x308faa!==-0x1&&(_0xe4b0ad=_0x4d1669);else{if(_0x345c0a===0x2c){if(_0x308faa===-0x1)throw new SyntaxError(_0x1633d2(0x1bf)+_0x4d1669);_0xe4b0ad===-0x1&&(_0xe4b0ad=_0x4d1669);const _0xd91bee=_0x384136[_0x1633d2(0x1f4)](_0x308faa,_0xe4b0ad);if(_0x1560e0['has'](_0xd91bee))throw new SyntaxError(_0x1633d2(0x214)+_0xd91bee+_0x1633d2(0x22d));_0x1560e0[_0x1633d2(0x227)](_0xd91bee),_0x308faa=_0xe4b0ad=-0x1;}else throw new SyntaxError(_0x1633d2(0x1bf)+_0x4d1669);}}}if(_0x308faa===-0x1||_0xe4b0ad!==-0x1)throw new SyntaxError(_0x1633d2(0x271));const _0x1302ed=_0x384136[_0x1633d2(0x1f4)](_0x308faa,_0x4d1669);if(_0x1560e0['has'](_0x1302ed))throw new SyntaxError(_0x1633d2(0x214)+_0x1302ed+_0x1633d2(0x22d));return _0x1560e0[_0x1633d2(0x227)](_0x1302ed),_0x1560e0;}return Ce={'parse':_0xe4cae},Ce;}var Te,ot;function er(){const _0x2a9394=_0x2b7c49;if(ot)return Te;ot=0x1;const _0x32a8c6=_0x2a026b,_0x4686c9=_0x193856,{Duplex:_0x45c660}=_0x3e85cd,{createHash:_0x1b13a2}=_0x409377,_0x19ae92=pt(),_0x325947=he(),_0x575192=Jt(),_0x3a48a7=Ie(),{GUID:_0x50603f,kWebSocket:_0x15fbb9}=V(),_0x282042=/^[+/0-9A-Za-z]{22}==$/,_0x2d78b1=0x0,_0x2c1c0d=0x1,_0x3f963a=0x2;class _0xe6a34e extends _0x32a8c6{constructor(_0x4b4dd5,_0x130e3b){const _0x59f9fe=_0x212f;if(super(),_0x4b4dd5={'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':_0x3a48a7,..._0x4b4dd5},_0x4b4dd5[_0x59f9fe(0x258)]==null&&!_0x4b4dd5[_0x59f9fe(0x1e8)]&&!_0x4b4dd5[_0x59f9fe(0x179)]||_0x4b4dd5['port']!=null&&(_0x4b4dd5['server']||_0x4b4dd5[_0x59f9fe(0x179)])||_0x4b4dd5[_0x59f9fe(0x1e8)]&&_0x4b4dd5['noServer'])throw new TypeError('One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified');if(_0x4b4dd5[_0x59f9fe(0x258)]!=null?(this[_0x59f9fe(0x1f7)]=_0x4686c9[_0x59f9fe(0x1a7)]((_0x287b61,_0x237fa3)=>{const _0xcdd8eb=_0x59f9fe,_0x4e1924=_0x4686c9['STATUS_CODES'][0x1aa];_0x237fa3[_0xcdd8eb(0x28a)](0x1aa,{'Content-Length':_0x4e1924['length'],'Content-Type':_0xcdd8eb(0x242)}),_0x237fa3[_0xcdd8eb(0x21b)](_0x4e1924);}),this[_0x59f9fe(0x1f7)][_0x59f9fe(0x274)](_0x4b4dd5[_0x59f9fe(0x258)],_0x4b4dd5[_0x59f9fe(0x12f)],_0x4b4dd5[_0x59f9fe(0x267)],_0x130e3b)):_0x4b4dd5[_0x59f9fe(0x1e8)]&&(this[_0x59f9fe(0x1f7)]=_0x4b4dd5[_0x59f9fe(0x1e8)]),this[_0x59f9fe(0x1f7)]){const _0x29e1cc=this['emit'][_0x59f9fe(0x108)](this,_0x59f9fe(0x150));this[_0x59f9fe(0x1b0)]=_0x53721d(this[_0x59f9fe(0x1f7)],{'listening':this[_0x59f9fe(0x186)]['bind'](this,_0x59f9fe(0x217)),'error':this[_0x59f9fe(0x186)]['bind'](this,_0x59f9fe(0x21f)),'upgrade':(_0x46fc96,_0x258e18,_0x3a3901)=>{const _0x43fc0b=_0x59f9fe;this[_0x43fc0b(0x25c)](_0x46fc96,_0x258e18,_0x3a3901,_0x29e1cc);}});}_0x4b4dd5[_0x59f9fe(0x1c1)]===!0x0&&(_0x4b4dd5[_0x59f9fe(0x1c1)]={}),_0x4b4dd5[_0x59f9fe(0x23b)]&&(this['clients']=new Set(),this[_0x59f9fe(0x256)]=!0x1),this[_0x59f9fe(0x22a)]=_0x4b4dd5,this[_0x59f9fe(0x135)]=_0x2d78b1;}[_0x2a9394(0x275)](){const _0x1d6740=_0x2a9394;if(this[_0x1d6740(0x22a)][_0x1d6740(0x179)])throw new Error(_0x1d6740(0x2bc));return this[_0x1d6740(0x1f7)]?this[_0x1d6740(0x1f7)][_0x1d6740(0x275)]():null;}['close'](_0x57d28f){const _0x33e4b0=_0x2a9394;if(this[_0x33e4b0(0x135)]===_0x3f963a){_0x57d28f&&this[_0x33e4b0(0x2a9)](_0x33e4b0(0x174),()=>{_0x57d28f(new Error('The\x20server\x20is\x20not\x20running'));}),process[_0x33e4b0(0x248)](_0x32e4c3,this);return;}if(_0x57d28f&&this[_0x33e4b0(0x2a9)](_0x33e4b0(0x174),_0x57d28f),this[_0x33e4b0(0x135)]!==_0x2c1c0d){if(this[_0x33e4b0(0x135)]=_0x2c1c0d,this[_0x33e4b0(0x22a)][_0x33e4b0(0x179)]||this[_0x33e4b0(0x22a)][_0x33e4b0(0x1e8)])this['_server']&&(this['_removeListeners'](),this[_0x33e4b0(0x1b0)]=this['_server']=null),this[_0x33e4b0(0x29b)]?this[_0x33e4b0(0x29b)][_0x33e4b0(0x171)]?this['_shouldEmitClose']=!0x0:process['nextTick'](_0x32e4c3,this):process[_0x33e4b0(0x248)](_0x32e4c3,this);else{const _0x471de0=this[_0x33e4b0(0x1f7)];this['_removeListeners'](),this['_removeListeners']=this[_0x33e4b0(0x1f7)]=null,_0x471de0[_0x33e4b0(0x174)](()=>{_0x32e4c3(this);});}}}[_0x2a9394(0x241)](_0x18711d){const _0x1c0751=_0x2a9394;if(this[_0x1c0751(0x22a)]['path']){const _0x3fe533=_0x18711d['url']['indexOf']('?');if((_0x3fe533!==-0x1?_0x18711d[_0x1c0751(0x166)][_0x1c0751(0x1f4)](0x0,_0x3fe533):_0x18711d[_0x1c0751(0x166)])!==this[_0x1c0751(0x22a)][_0x1c0751(0x2ad)])return!0x1;}return!0x0;}[_0x2a9394(0x25c)](_0x5b69d2,_0x5c41d8,_0x32784c,_0x121a8f){const _0x54a83a=_0x2a9394;_0x5c41d8['on'](_0x54a83a(0x21f),_0x17008b);const _0x5779d1=_0x5b69d2[_0x54a83a(0x27b)]['sec-websocket-key'],_0x188cae=_0x5b69d2[_0x54a83a(0x27b)][_0x54a83a(0x1db)],_0x4ef142=+_0x5b69d2[_0x54a83a(0x27b)]['sec-websocket-version'];if(_0x5b69d2[_0x54a83a(0x203)]!==_0x54a83a(0x11d)){_0x2e9bab(this,_0x5b69d2,_0x5c41d8,0x195,'Invalid\x20HTTP\x20method');return;}if(_0x188cae===void 0x0||_0x188cae[_0x54a83a(0x140)]()!=='websocket'){_0x2e9bab(this,_0x5b69d2,_0x5c41d8,0x190,'Invalid\x20Upgrade\x20header');return;}if(_0x5779d1===void 0x0||!_0x282042[_0x54a83a(0x298)](_0x5779d1)){_0x2e9bab(this,_0x5b69d2,_0x5c41d8,0x190,_0x54a83a(0x147));return;}if(_0x4ef142!==0x8&&_0x4ef142!==0xd){_0x2e9bab(this,_0x5b69d2,_0x5c41d8,0x190,_0x54a83a(0x25a));return;}if(!this['shouldHandle'](_0x5b69d2)){_0x414102(_0x5c41d8,0x190);return;}const _0x5ed93a=_0x5b69d2[_0x54a83a(0x27b)]['sec-websocket-protocol'];let _0x2bf9e8=new Set();if(_0x5ed93a!==void 0x0)try{_0x2bf9e8=_0x575192['parse'](_0x5ed93a);}catch{_0x2e9bab(this,_0x5b69d2,_0x5c41d8,0x190,_0x54a83a(0x1ac));return;}const _0x4e0ab6=_0x5b69d2[_0x54a83a(0x27b)]['sec-websocket-extensions'],_0x42379e={};if(this[_0x54a83a(0x22a)]['perMessageDeflate']&&_0x4e0ab6!==void 0x0){const _0x242e34=new _0x325947(this[_0x54a83a(0x22a)][_0x54a83a(0x1c1)],!0x0,this[_0x54a83a(0x22a)][_0x54a83a(0x1d8)]);try{const _0x5ef70f=_0x19ae92[_0x54a83a(0x263)](_0x4e0ab6);_0x5ef70f[_0x325947[_0x54a83a(0x160)]]&&(_0x242e34[_0x54a83a(0x14e)](_0x5ef70f[_0x325947[_0x54a83a(0x160)]]),_0x42379e[_0x325947[_0x54a83a(0x160)]]=_0x242e34);}catch{_0x2e9bab(this,_0x5b69d2,_0x5c41d8,0x190,_0x54a83a(0x10a));return;}}if(this[_0x54a83a(0x22a)]['verifyClient']){const _0x408f66={'origin':_0x5b69d2[_0x54a83a(0x27b)][''+(_0x4ef142===0x8?_0x54a83a(0x27f):_0x54a83a(0x287))],'secure':!!(_0x5b69d2['socket'][_0x54a83a(0x272)]||_0x5b69d2['socket'][_0x54a83a(0x14d)]),'req':_0x5b69d2};if(this[_0x54a83a(0x22a)]['verifyClient'][_0x54a83a(0x10f)]===0x2){this[_0x54a83a(0x22a)][_0x54a83a(0x19b)](_0x408f66,(_0x2a57a1,_0x2d6018,_0xd2ccbc,_0x374fc2)=>{if(!_0x2a57a1)return _0x414102(_0x5c41d8,_0x2d6018||0x191,_0xd2ccbc,_0x374fc2);this['completeUpgrade'](_0x42379e,_0x5779d1,_0x2bf9e8,_0x5b69d2,_0x5c41d8,_0x32784c,_0x121a8f);});return;}if(!this[_0x54a83a(0x22a)][_0x54a83a(0x19b)](_0x408f66))return _0x414102(_0x5c41d8,0x191);}this[_0x54a83a(0x1b6)](_0x42379e,_0x5779d1,_0x2bf9e8,_0x5b69d2,_0x5c41d8,_0x32784c,_0x121a8f);}[_0x2a9394(0x1b6)](_0x50a080,_0x420fb6,_0x314fe8,_0x5306cb,_0x5e7a14,_0x43bb4f,_0x5e76b6){const _0xf64852=_0x2a9394;if(!_0x5e7a14['readable']||!_0x5e7a14[_0xf64852(0x1cf)])return _0x5e7a14[_0xf64852(0x16c)]();if(_0x5e7a14[_0x15fbb9])throw new Error(_0xf64852(0x141));if(this[_0xf64852(0x135)]>_0x2d78b1)return _0x414102(_0x5e7a14,0x1f7);const _0x139521=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0xf64852(0x1ef),_0xf64852(0x28d),'Sec-WebSocket-Accept:\x20'+_0x1b13a2(_0xf64852(0x13d))[_0xf64852(0x257)](_0x420fb6+_0x50603f)[_0xf64852(0x139)]('base64')],_0x353a3b=new this[(_0xf64852(0x22a))][(_0xf64852(0x1f0))](null,void 0x0,this[_0xf64852(0x22a)]);if(_0x314fe8[_0xf64852(0x171)]){const _0x5f3593=this[_0xf64852(0x22a)]['handleProtocols']?this[_0xf64852(0x22a)][_0xf64852(0x23a)](_0x314fe8,_0x5306cb):_0x314fe8[_0xf64852(0x10b)]()[_0xf64852(0x185)]()[_0xf64852(0x1f8)];_0x5f3593&&(_0x139521['push'](_0xf64852(0x196)+_0x5f3593),_0x353a3b['_protocol']=_0x5f3593);}if(_0x50a080[_0x325947[_0xf64852(0x160)]]){const _0x12767b=_0x50a080[_0x325947[_0xf64852(0x160)]][_0xf64852(0x1a3)],_0x1af876=_0x19ae92[_0xf64852(0x1a9)]({[_0x325947[_0xf64852(0x160)]]:[_0x12767b]});_0x139521['push'](_0xf64852(0x13c)+_0x1af876),_0x353a3b['_extensions']=_0x50a080;}this['emit']('headers',_0x139521,_0x5306cb),_0x5e7a14[_0xf64852(0x1e9)](_0x139521[_0xf64852(0x12b)]('\x0d\x0a')[_0xf64852(0x200)]('\x0d\x0a')),_0x5e7a14[_0xf64852(0x224)](_0xf64852(0x21f),_0x17008b),_0x353a3b[_0xf64852(0x278)](_0x5e7a14,_0x43bb4f,{'allowSynchronousEvents':this['options'][_0xf64852(0x1d3)],'maxPayload':this['options']['maxPayload'],'skipUTF8Validation':this[_0xf64852(0x22a)]['skipUTF8Validation']}),this['clients']&&(this['clients'][_0xf64852(0x227)](_0x353a3b),_0x353a3b['on']('close',()=>{const _0x40af64=_0xf64852;this['clients']['delete'](_0x353a3b),this['_shouldEmitClose']&&!this[_0x40af64(0x29b)][_0x40af64(0x171)]&&process[_0x40af64(0x248)](_0x32e4c3,this);})),_0x5e76b6(_0x353a3b,_0x5306cb);}}Te=_0xe6a34e;function _0x53721d(_0x212be4,_0x1e5edf){for(const _0x208418 of Object['keys'](_0x1e5edf))_0x212be4['on'](_0x208418,_0x1e5edf[_0x208418]);return function(){const _0x4c7db3=_0x212f;for(const _0x3285d6 of Object[_0x4c7db3(0x1ff)](_0x1e5edf))_0x212be4['removeListener'](_0x3285d6,_0x1e5edf[_0x3285d6]);};}function _0x32e4c3(_0x4f2ee8){const _0x157601=_0x2a9394;_0x4f2ee8[_0x157601(0x135)]=_0x3f963a,_0x4f2ee8[_0x157601(0x186)](_0x157601(0x174));}function _0x17008b(){const _0xfae7cf=_0x2a9394;this[_0xfae7cf(0x16c)]();}function _0x414102(_0x5a93a4,_0x254d87,_0x1fb23a,_0x4b383f){const _0x2709b7=_0x2a9394;_0x1fb23a=_0x1fb23a||_0x4686c9[_0x2709b7(0x114)][_0x254d87],_0x4b383f={'Connection':_0x2709b7(0x174),'Content-Type':_0x2709b7(0x1e6),'Content-Length':Buffer[_0x2709b7(0x279)](_0x1fb23a),..._0x4b383f},_0x5a93a4[_0x2709b7(0x2a9)](_0x2709b7(0x10e),_0x5a93a4[_0x2709b7(0x16c)]),_0x5a93a4[_0x2709b7(0x21b)]('HTTP/1.1\x20'+_0x254d87+'\x20'+_0x4686c9[_0x2709b7(0x114)][_0x254d87]+'\x0d\x0a'+Object[_0x2709b7(0x1ff)](_0x4b383f)[_0x2709b7(0x26d)](_0x4b04be=>_0x4b04be+':\x20'+_0x4b383f[_0x4b04be])['join']('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0x1fb23a);}function _0x2e9bab(_0x1ab9cb,_0x35d2d6,_0x5970ff,_0x1c4085,_0x5b8bf){const _0x1e9ef0=_0x2a9394;if(_0x1ab9cb['listenerCount']('wsClientError')){const _0x501c76=new Error(_0x5b8bf);Error[_0x1e9ef0(0x1c6)](_0x501c76,_0x2e9bab),_0x1ab9cb['emit']('wsClientError',_0x501c76,_0x5970ff,_0x35d2d6);}else _0x414102(_0x5970ff,_0x1c4085,_0x5b8bf);}return Te;}er();var tr=Object[_0x2b7c49(0x18c)],rr=(_0x5c0ffe,_0x2b10a3,_0x206448,_0x1fcf20)=>{const _0x5d730b=_0x2b7c49;for(var _0x4c97fc=_0x1fcf20>0x1?void 0x0:_0x1fcf20?tr(_0x2b10a3,_0x206448):_0x2b10a3,_0x44493f=_0x5c0ffe[_0x5d730b(0x10f)]-0x1,_0x2ce38a;_0x44493f>=0x0;_0x44493f--)(_0x2ce38a=_0x5c0ffe[_0x44493f])&&(_0x4c97fc=_0x2ce38a(_0x4c97fc)||_0x4c97fc);return _0x4c97fc;},sr=(_0x5c85f0,_0x3c9632)=>(_0x4d0fc1,_0x3355d5)=>_0x3c9632(_0x4d0fc1,_0x3355d5,_0x5c85f0);function _0x212f(_0x1fcd80,_0x336e6b){const _0x43cc90=_0x43cc();return _0x212f=function(_0x212f36,_0x4ffde2){_0x212f36=_0x212f36-0x108;let _0x268a6d=_0x43cc90[_0x212f36];return _0x268a6d;},_0x212f(_0x1fcd80,_0x336e6b);}let Ne=class extends _0x3ae861{constructor(_0x4122d6){const _0x481bd9=_0x2b7c49;super(),this[_0x481bd9(0x210)]=_0x4122d6;}[_0x2b7c49(0x1dc)](_0x4068c8){const _0x71bcbe=_0x2b7c49;var _0x539cc7;const _0x12730d=(_0x539cc7=this[_0x71bcbe(0x210)][_0x71bcbe(0x178)](Be))==null?void 0x0:_0x539cc7['customHeaders'];try{const _0x4e33e8=new Qt(_0x4068c8,{'headers':{..._0x12730d}}),_0x197acb=new _0x2822ea();return{'URL':_0x4068c8,'close':(_0x16c0c1,_0x3d847e)=>{const _0x152089=_0x71bcbe;_0x4e33e8[_0x152089(0x174)](_0x16c0c1,_0x3d847e),_0x197acb[_0x152089(0x1b1)]();},'send':_0x468bee=>{const _0x5398c5=_0x71bcbe;_0x4e33e8[_0x5398c5(0x1d2)](_0x468bee);},'open$':new _0x48eb5f(_0x59c370=>{const _0x269be6=_0x71bcbe,_0x1d7364=_0x318b4a=>_0x59c370[_0x269be6(0x185)](_0x318b4a);_0x4e33e8[_0x269be6(0x152)](_0x269be6(0x11a),_0x1d7364),_0x197acb['add'](_0x3b9b05(()=>_0x4e33e8[_0x269be6(0x292)](_0x269be6(0x11a),_0x1d7364)));})['pipe'](_0x460c01()),'close$':new _0x48eb5f(_0x171f47=>{const _0x5f2c4a=_0x71bcbe,_0x5c9606=_0x5a7fea=>_0x171f47[_0x5f2c4a(0x185)](_0x5a7fea);_0x4e33e8['addEventListener'](_0x5f2c4a(0x174),_0x5c9606),_0x197acb['add'](_0x3b9b05(()=>_0x4e33e8[_0x5f2c4a(0x292)](_0x5f2c4a(0x174),_0x5c9606)));})[_0x71bcbe(0x112)](_0x460c01()),'error$':new _0x48eb5f(_0x2dc84d=>{const _0x40d68f=_0x71bcbe,_0x129fb3=_0x28a62d=>_0x2dc84d['next'](_0x28a62d);_0x4e33e8[_0x40d68f(0x152)](_0x40d68f(0x21f),_0x129fb3),_0x197acb[_0x40d68f(0x227)](_0x3b9b05(()=>_0x4e33e8[_0x40d68f(0x292)]('error',_0x129fb3)));})[_0x71bcbe(0x112)](_0x460c01()),'message$':new _0x48eb5f(_0x55855c=>{const _0x1cb4d0=_0x71bcbe,_0x5a2fa4=_0x1b0f42=>_0x55855c[_0x1cb4d0(0x185)](_0x1b0f42);_0x4e33e8[_0x1cb4d0(0x152)](_0x1cb4d0(0x25f),_0x5a2fa4),_0x197acb[_0x1cb4d0(0x227)](_0x3b9b05(()=>_0x4e33e8[_0x1cb4d0(0x292)]('message',_0x5a2fa4)));})[_0x71bcbe(0x112)](_0x460c01())};}catch(_0x57f42d){return console[_0x71bcbe(0x21f)](_0x57f42d),null;}}};Ne=rr([sr(0x0,_0x14c117)],Ne);function _0x43cc(){const _0x3f462f=['encrypted','accept','_skipUTF8Validation','connection','Basic\x20','addEventListener','pending','_closeCode','_receiver','Upgrade','function','cookie','getMask','rsv1','WS_NO_UTF_8_VALIDATE','ws:','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','getData','_originalSecure','extensionName','_req','acceptAsClient','entries','permessage-deflate','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','url','CLOSED','pathname','server_no_context_takeover','consume','species','destroy','4924905QRnqkx','_compressed','Parameter\x20\x22','_errorEmitted','size','client_max_window_bits','File','close','kRun','kError','Unsupported\x20protocol\x20version:\x20','getConfig','noServer','fin','_writableState','_sender','zlibInflateOptions','push','MASK\x20must\x20be\x20clear','_totalPayloadLength','dequeue','_closeFrameReceived','toStringTag','fragments','next','emit','construct','onStarting','skipUTF8Validation','indexOf','_inflate','getOwnPropertyDescriptor','type','_allowSynchronousEvents','catch','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','abort','decompress','722866MJXpdU','kByteLength','websocket','Sec-WebSocket-Protocol:\x20','_injector','_mask','_closeMessage','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','verifyClient','10UChdoQ','server_max_window_bits','Server\x20sent\x20an\x20invalid\x20subprotocol','object','binaryType','then','replace','params','jobs','defineProperty','pong','createServer','_fragments','format','_protocol','unexpected-response','Invalid\x20Sec-WebSocket-Protocol\x20header','_generateMask','protocol','_closeTimer','_removeListeners','dispose','zlibDeflateOptions','terminate','from','WS_ERR_UNEXPECTED_RSV_2_3','completeUpgrade','has','FIN\x20must\x20be\x20set','kType','_socket','MASK\x20must\x20be\x20set','status-code','offer','setNoDelay','Unexpected\x20character\x20at\x20index\x20','string','perMessageDeflate','WS_ERR_INVALID_CLOSE_CODE','unmask','clientNoContextTakeover','_bufferedAmount','captureStackTrace','enqueue','unshift','Invalid\x20value\x20for\x20parameter\x20\x22','getBlobData','ping','getPayloadLength64','nodebuffer','generateMask','writable','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','split','send','allowSynchronousEvents','connect','pause','total-length','followRedirects','maxPayload','kMessage','_fin','upgrade','createSocket','threshold','_options','callback','default','allocUnsafe','kAborted','Maximum\x20redirects\x20exceeded','location','1591709RtCFWv','text/html','Z_SYNC_FLUSH','server','write','buffer','shift','data','_paused','emitClose','Upgrade:\x20websocket','WebSocket','_queue','createInflateRaw','set','slice','1644242vsvAOf','password','_server','value','_isServer','9418116zYvKyf','protocolVersion','authorization','listenerCount','concurrency','keys','join','_buffers','Server\x20sent\x20no\x20subprotocol','method','_write','timeout','isIP','mask','drain','redirect','bufferedAmount','includes','isArray','needDrain','errorEmitted','resume','_configService','createDeflateRaw','createError','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','The\x20\x22','_doCreateSocket','prototype','listening','kReason','_readableState','statusCode','end','9dgbOQO','maxRedirects','Invalid\x20Sec-WebSocket-Accept\x20header','error','controlMessage','hasOwnProperty','sendFrame','hostname','removeListener','opcode','WS_ERR_INVALID_OPCODE','add','sec-websocket-protocol','Invalid\x20URL:\x20','options','http:','finishRequest','\x22\x20subprotocol\x20is\x20duplicated','code','_max_window_bits','invalid\x20opcode\x200','byteOffset','readUInt16BE','_no_context_takeover','auth','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','_firstFragment','_originalIpc','clientMaxWindowBits','_maskBuffer','handleProtocols','clientTracking','isServer','readOnly','Max\x20payload\x20size\x20exceeded','uncork','writeUInt16BE','shouldHandle','text/plain','invalid\x20UTF-8\x20sequence','kWasClean','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','extensions','RSV1\x20must\x20be\x20clear','nextTick','acceptAsServer','_loop','number','conclude','_compress','_masked','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','pluginName','readUInt32BE','listeners','env','onerror','WS_ERR_EXPECTED_MASK','_shouldEmitClose','update','port','Invalid\x20Upgrade\x20header','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','find','handleUpgrade','handleEvent','collaboration-client-node.config','message','isInteger','_decompress','client','parse','haveLength','dataMessage','normalizeParams','backlog','socket','_registerDependencies','alloc','dispatch','setConfig','map','The\x20URL\x20contains\x20a\x20fragment\x20identifier','buffers','kTarget','Unexpected\x20end\x20of\x20input','authorized','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','listen','address','destroyed','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','setSocket','byteLength','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','headers','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','createConnection','Opening\x20handshake\x20has\x20timed\x20out','sec-websocket-origin','username','cork','_read','_payloadLength','_bufferedBytes','compress','target','origin','4536008IskWEZ','_originalHostOrSocketPath','writeHead','_httpService','WS_NO_BUFFER_UTIL','Connection:\x20Upgrade','maskBuffer','_extensions','WS_ERR_UNEXPECTED_RSV_1','_errored','removeEventListener','charCodeAt','removeAllListeners','wasClean','Sec-WebSocket-Protocol','frame','test','arrayBuffer','OPEN','clients','onmessage','freeze','kData','_deflate','_messageLength','_opcode','Module','The\x20URL\x27s\x20pathname\x20is\x20empty','reason','exports','serverNoContextTakeover','finished','request','once','8YkNElv','WS_ERR_INVALID_UTF8','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','path','socketPath','defaultPort','_autoPong','create','objectMode','serverMaxWindowBits','_url','base64','servername','_readyState','42698898gNtMBN','__esModule','call','_closeFrameSent','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','bind','_redirects','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','values','setTimeout','pow','finish','length','WS_ERR_UNEXPECTED_MASK','startLoop','pipe','apply','STATUS_CODES','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','reset','binary','kCode','isPaused','open','kIsForOnEventAttribute','CONNECTING','GET','https:','invalid\x20payload\x20length\x20','isBuffer','readyState','_final','Unexpected\x20server\x20response:\x20','wss:','cleanup','customHeaders','_maxPayload','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','getPayloadLength16','concat','Invalid\x20WebSocket\x20frame:\x20','toString','blob','host','_binaryType','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','Sec-WebSocket-Origin','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','flush','_state','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','_fragmented','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','digest','registerHTTPInterceptor','autoPong','Sec-WebSocket-Extensions:\x20','sha1','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','forEach','toLowerCase','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','client_no_context_takeover','isView','getInfo','isValidUTF8','endEmitted','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','\x22:\x20','CLOSING','ws+unix:','writeUIntBE','Z_DEFAULT_WINDOWBITS'];_0x43cc=function(){return _0x3f462f;};return _0x43cc();}var ir=Object['defineProperty'],nr=Object[_0x2b7c49(0x18c)],or=(_0x5a4b66,_0x4a097,_0x48d243)=>_0x4a097 in _0x5a4b66?ir(_0x5a4b66,_0x4a097,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x48d243}):_0x5a4b66[_0x4a097]=_0x48d243,ar=(_0x4eaba0,_0x214dc6,_0x49ea80,_0x3da015)=>{const _0x4fa7d8=_0x2b7c49;for(var _0xb26788=_0x3da015>0x1?void 0x0:_0x3da015?nr(_0x214dc6,_0x49ea80):_0x214dc6,_0x472bc2=_0x4eaba0[_0x4fa7d8(0x10f)]-0x1,_0x44c762;_0x472bc2>=0x0;_0x472bc2--)(_0x44c762=_0x4eaba0[_0x472bc2])&&(_0xb26788=_0x44c762(_0xb26788)||_0xb26788);return _0xb26788;},ke=(_0x277a4d,_0x2bebe4)=>(_0x5d551c,_0x3bc4e3)=>_0x2bebe4(_0x5d551c,_0x3bc4e3,_0x277a4d),lr=(_0x278a9c,_0x2bf880,_0x456d25)=>or(_0x278a9c,_0x2bf880+'',_0x456d25);let Pe=class extends _0x37c28f{constructor(_0x4057c7=Ft,_0x1fdcd0,_0x305038,_0x3d1fc2){const _0x44f7b9=_0x2b7c49;_0x4057c7[_0x44f7b9(0x126)]||_0x1fdcd0['warn']('[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.'),super(),this[_0x44f7b9(0x210)]=_0x305038,this[_0x44f7b9(0x197)]=_0x3d1fc2,this[_0x44f7b9(0x210)][_0x44f7b9(0x26c)](Be,_0x4057c7);}[_0x2b7c49(0x188)](){this['_registerDependencies']();}[_0x2b7c49(0x269)](){_0x5c4569(this['_injector'],[[_0xfe1714,{'useClass':Ne}]]);}};lr(Pe,_0x2b7c49(0x250),_0x2b7c49(0x138)),Pe=ar([_0x5b05cf(_0x336679),ke(0x1,_0x9ff22c),ke(0x2,_0x14c117),ke(0x3,_0x38379a(_0x2aa482))],Pe);var fr=Object['getOwnPropertyDescriptor'],cr=(_0x3dca0d,_0x22dfec,_0x46351b,_0x400265)=>{const _0x331b94=_0x2b7c49;for(var _0x1a1ffa=_0x400265>0x1?void 0x0:_0x400265?fr(_0x22dfec,_0x46351b):_0x22dfec,_0x56ef4c=_0x3dca0d[_0x331b94(0x10f)]-0x1,_0x344acd;_0x56ef4c>=0x0;_0x56ef4c--)(_0x344acd=_0x3dca0d[_0x56ef4c])&&(_0x1a1ffa=_0x344acd(_0x1a1ffa)||_0x1a1ffa);return _0x1a1ffa;},se=(_0x5e71e0,_0x2638e9)=>(_0x550ce9,_0x292b3b)=>_0x2638e9(_0x550ce9,_0x292b3b,_0x5e71e0);let at=class extends _0x47bd11{constructor(_0x5b7820,_0x156eec,_0x44decd,_0x19f956,_0x119ebc){const _0x2e323e=_0x2b7c49;super(_0x5b7820,_0x156eec,_0x44decd,_0x19f956,_0x119ebc);const _0x2f4053=this[_0x2e323e(0x210)][_0x2e323e(0x178)](Be);this[_0x2e323e(0x28b)][_0x2e323e(0x13a)]({'interceptor':(_0x523601,_0x525453)=>{const _0x597b45=_0x2e323e;var _0x523641;const _0x25e5ef=_0x523601[_0x597b45(0x27b)];return(_0x523641=_0x2f4053==null?void 0x0:_0x2f4053['customHeaders'])!=null&&_0x523641[_0x597b45(0x158)]&&_0x25e5ef[_0x597b45(0x1f3)]('Cookie',_0x2f4053[_0x597b45(0x126)][_0x597b45(0x158)]),_0x525453(_0x523601);}});}async[_0x2b7c49(0x1dc)](_0xc8504){const _0x4585d0=_0x2b7c49;return this[_0x4585d0(0x215)](_0xc8504);}};at=cr([se(0x0,_0x38379a(_0x2aa482)),se(0x1,_0x38379a(_0x59054c)),se(0x2,_0x14c117),se(0x3,_0x9ff22c),se(0x4,_0x5d2238)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
|