@univerjs-pro/collaboration-client-node 0.12.4-insiders.20251213-692494c → 0.13.0-insiders.20251215-64041bb
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/index.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +7 -7
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x4638d0=_0x4f97;function _0x690f(){const _0x466b86=['message','listen','unmask','onmessage','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','sha1','66707894kIGsdl','_server','_removeListeners','nextTick','getMask','_deflate','defaultPort','setHeader','WS_ERR_INVALID_OPCODE','6614124yPhTaf','listening','_payloadLength','socketPath','_state','getOwnPropertyDescriptor','socket','byteLength','_injector','type','sec-websocket-key','getConfig','default','Maximum\x20redirects\x20exceeded','kWasClean','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','destroyed','apply','Sec-WebSocket-Extensions','_read','isServer','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','base64','server_max_window_bits','emit','forEach','zlibDeflateOptions','sec-websocket-version','sec-websocket-protocol','registerHTTPInterceptor','protocol','concurrencyLimit','resume','handleUpgrade','42tHNfGU','push','next','from','getInfo','verifyClient','function','send','Invalid\x20URL:\x20','url','13,\x208','toString','WS_ERR_UNEXPECTED_MASK','handleEvent','split','listenerCount','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','bufferedAmount','size','serverNoContextTakeover','Unexpected\x20character\x20at\x20index\x20','error','parse','STATUS_CODES','\x22\x20subprotocol\x20is\x20duplicated','1789071YsGMww','invalid\x20opcode\x200','pluginName','defineProperty','_socket','7FrVgZX','decompress','hasOwnProperty','3CQabbp','perMessageDeflate','authorization','isValidUTF8','isView','update','end','Upgrade','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','prototype','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','getData','Z_SYNC_FLUSH','http:','concat','finishRequest','request','objectMode','_generateMask','getBlobData','kListener','_fragmented','__esModule','map','OPEN','finish','MASK\x20must\x20be\x20clear','values','auth','nodebuffer','_req','path','_originalHostOrSocketPath','errorEmitted','_totalPayloadLength','Server\x20sent\x20an\x20invalid\x20subprotocol','cork','RSV1\x20must\x20be\x20clear','target','_firstFragment','_options','env','_maskBuffer','text/html','onStarting','CONNECTING','readUInt32BE','The\x20URL\x20contains\x20a\x20fragment\x20identifier','_fragments','jobs','_write','readable','_shouldEmitClose','origin','\x20(supported\x20versions:\x20','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','pause','pong','species','add','writeUInt16BE','WebSocket\x20is\x20not\x20open:\x20readyState\x20','encrypted','catch','FIN\x20must\x20be\x20set','1790OXiOsW','_skipUTF8Validation','shift','client_no_context_takeover','createSocket','_redirects','_closeFrameReceived','25506uakbcd','accept','_threshold','HTTP/1.1\x20','kTarget','host','handshakeTimeout','client','_no_context_takeover','_compress','_binaryType','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','_closeFrameSent','timeout','_url','_bufferedAmount','string','frame','emitClose','Unexpected\x20server\x20response:\x20','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','_mask','total-length','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','_inflate','connect','maxRedirects','isBuffer','allowSynchronousEvents','ping','warn','create','zlibInflateOptions','_originalSecure','readyState','Module','byteOffset','test','rsv1','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','allocUnsafe','_receiver','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','_compressed','includes','\x22\x20must\x20have\x20only\x20a\x20single\x20value','Unsupported\x20protocol\x20version:\x20','threshold','acceptAsClient','unshift','WS_ERR_UNEXPECTED_RSV_1','maskBuffer','join','Sec-WebSocket-Extensions:\x20','Opening\x20handshake\x20has\x20timed\x20out','number','Invalid\x20value\x20for\x20parameter\x20\x22','finished','_messageLength','client_max_window_bits','_writableState','isArray','setConfig','upgrade','readOnly','_allowSynchronousEvents','sec-websocket-origin','setNoDelay','exports','addEventListener','Server\x20sent\x20no\x20subprotocol','indexOf','collaboration-client-node.config','_readableState','value','clientNoContextTakeover','Blob','kMessage','_originalIpc','toLowerCase','invalid\x20opcode\x20','shouldHandle','_extensions','_httpService','WS_ERR_INVALID_UTF8','File','pipe','clientMaxWindowBits','code','WS_ERR_UNEXPECTED_RSV_2_3','wsClientError','_destroy','ws:','Sec-WebSocket-Protocol','password','write','freeze','wasClean','_paused','_configService','autoPong','haveLength','listeners','authorized','statusCode','_protocol','captureStackTrace','then','CLOSING','Parameter\x20\x22','get','dispatch','Invalid\x20HTTP\x20method','normalizeParams','charCodeAt','Invalid\x20Sec-WebSocket-Accept\x20header','offer','createError','startsWith','invalid\x20UTF-8\x20sequence','_isServer','headers','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','cleanup','stream','removeListener','_closeMessage','cookie','response','\x22:\x20','server_no_context_takeover','generateMask','onclose','isPaused','3288746YtletN','sec-websocket-accept','_autoPong','customHeaders','handleProtocols','_loop','set','_readyState','Connection:\x20Upgrade','onopen','conclude','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','onerror','_masked','ws+unix:','removeEventListener','writeHead','noServer','username','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','wss:','12JIvjuJ','connection','createDeflateRaw','_queue','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','port','delete','data','followRedirects','flush','replace','open','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','completeUpgrade','compress','getPayloadLength64','createConnection','opcode','_final','_doCreateSocket','_opcode','fin','pending','acceptAsServer','Unexpected\x20end\x20of\x20input','_errorEmitted','extensionName','method','length','endEmitted','kAborted','keys','Invalid\x20Upgrade\x20header','createInflateRaw','call','getPayloadLength16','clientTracking','binary','237695zUQKeB','_fin','_sender','_closeTimer','setTimeout','hash','HTTP/1.1\x20101\x20Switching\x20Protocols','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','setSocket','servername','_errored','enqueue','address','search','slice','consume','location','dequeue','serverMaxWindowBits','Invalid\x20Sec-WebSocket-Protocol\x20header','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','kByteLength','clients','close','digest','Invalid\x20Sec-WebSocket-Extensions\x20header','reset','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','extensions','hostname','abort','pathname','createServer','find','dataMessage','params','unexpected-response','isInteger','arrayBuffer','skipUTF8Validation','Z_DEFAULT_WINDOWBITS','toStringTag','has','destroy','arraybuffer','websocket','redirect','binaryType','buffer','invalid\x20payload\x20length\x20','WebSocket','startLoop','Max\x20payload\x20size\x20exceeded','CLOSED','GET','server','WS_ERR_EXPECTED_MASK','once','Origin','sendFrame','read','_closeCode','sec-websocket-extensions','maxPayload','options','kData','alloc','WS_ERR_INVALID_CLOSE_CODE','pow','mask','Invalid\x20WebSocket\x20frame:\x20','bind','_decompress','_bufferedBytes','_buffers','_maxPayload','terminate','permessage-deflate','object','callback','entries','1370912mSGaED','reason','href'];_0x690f=function(){return _0x466b86;};return _0x690f();}(function(_0x5c9d32,_0x384c9f){const _0x3b14d9=_0x4f97,_0x46f58a=_0x5c9d32();while(!![]){try{const _0x58fb70=-parseInt(_0x3b14d9(0x1ff))/0x1+parseInt(_0x3b14d9(0x126))/0x2*(-parseInt(_0x3b14d9(0x207))/0x3)+-parseInt(_0x3b14d9(0x1c4))/0x4+parseInt(_0x3b14d9(0x161))/0x5*(-parseInt(_0x3b14d9(0x1e6))/0x6)+-parseInt(_0x3b14d9(0x204))/0x7*(parseInt(_0x3b14d9(0x1b2))/0x8)+parseInt(_0x3b14d9(0x24f))/0x9*(parseInt(_0x3b14d9(0x248))/0xa)+parseInt(_0x3b14d9(0x1bb))/0xb*(parseInt(_0x3b14d9(0x13b))/0xc);if(_0x58fb70===_0x384c9f)break;else _0x46f58a['push'](_0x46f58a['shift']());}catch(_0x3adcec){_0x46f58a['push'](_0x46f58a['shift']());}}}(_0x690f,0xef630));import{UniverCollaborationClientPlugin as _0x3982c2,CollaborationSocketService as _0x44f365}from'@univerjs-pro/collaboration-client';import{Disposable as _0x3193e1,DisposableCollection as _0x3d640a,toDisposable as _0x736aee,IConfigService as _0x199cd5,DependentOn as _0x124a30,ILogService as _0x1a49a2,Inject as _0x1551a4,Injector as _0x100aae,Plugin as _0x5ebfa7,registerDependencies as _0x1b7600}from'@univerjs/core';import{ISocketService as _0x1f90cb,HTTPService as _0x4ddacd}from'@univerjs/network';import{Observable as _0xe4fae9,share as _0x2c2888}from'rxjs';import _0x11fb4c from'events';import _0x11e2bf from'https';import _0x15900a from'http';import _0x1d930d from'net';import _0x4d278b from'tls';import _0x5572b2 from'crypto';import _0x1595d9 from'stream';import _0x1e6f5d from'url';import _0x37a9d7 from'zlib';import _0x377d8d from'buffer';import{ISnapshotServerService as _0x1dad5e}from'@univerjs-pro/collaboration';const Be=_0x4638d0(0xe8),Ft={'customHeaders':{}};function Wt(_0x319f21){const _0x477163=_0x4638d0;return _0x319f21&&_0x319f21['__esModule']&&Object[_0x477163(0x210)][_0x477163(0x206)][_0x477163(0x15d)](_0x319f21,_0x477163(0x1d0))?_0x319f21[_0x477163(0x1d0)]:_0x319f21;}function ut(_0x22810a){const _0x597798=_0x4638d0;if(Object[_0x597798(0x210)][_0x597798(0x206)][_0x597798(0x15d)](_0x22810a,_0x597798(0x21d)))return _0x22810a;var _0x1bf78f=_0x22810a[_0x597798(0x1d0)];if(typeof _0x1bf78f==_0x597798(0x1ec)){var _0x3f7fc4=function _0x547995(){const _0x3dbb90=_0x597798;var _0x1b031b=!0x1;try{_0x1b031b=this instanceof _0x547995;}catch{}return _0x1b031b?Reflect['construct'](_0x1bf78f,arguments,this['constructor']):_0x1bf78f[_0x3dbb90(0x1d5)](this,arguments);};_0x3f7fc4[_0x597798(0x210)]=_0x1bf78f['prototype'];}else _0x3f7fc4={};return Object[_0x597798(0x202)](_0x3f7fc4,_0x597798(0x21d),{'value':!0x0}),Object[_0x597798(0x15a)](_0x22810a)[_0x597798(0x1dd)](function(_0x1ec967){const _0x3952a8=_0x597798;var _0x22f57a=Object[_0x3952a8(0x1c9)](_0x22810a,_0x1ec967);Object[_0x3952a8(0x202)](_0x3f7fc4,_0x1ec967,_0x22f57a[_0x3952a8(0x10e)]?_0x22f57a:{'enumerable':!0x0,'get':function(){return _0x22810a[_0x1ec967];}});}),_0x3f7fc4;}var te={'exports':{}},ge,Ye;function V(){const _0x450fcf=_0x4638d0;if(Ye)return ge;Ye=0x1;const _0x2a1268=['nodebuffer',_0x450fcf(0x18d),'fragments'],_0x4ddb44=typeof Blob<'u';return _0x4ddb44&&_0x2a1268[_0x450fcf(0x1e7)]('blob'),ge={'BINARY_TYPES':_0x2a1268,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':_0x450fcf(0x147),'hasBlob':_0x4ddb44,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol(_0x450fcf(0x21b)),'kStatusCode':Symbol('status-code'),'kWebSocket':Symbol(_0x450fcf(0x18e)),'NOOP':()=>{}},ge;}const jt={},Gt=Object[_0x4638d0(0x100)](Object['defineProperty']({'__proto__':null,'default':jt},Symbol[_0x4638d0(0x18a)],{'value':_0x4638d0(0x272)})),Vt=ut(Gt);var Ke;function ce(){const _0x4e3bb2=_0x4638d0;if(Ke)return te[_0x4e3bb2(0xe4)];Ke=0x1;const {EMPTY_BUFFER:_0x57bca0}=V(),_0x24e649=Buffer[Symbol['species']];function _0x4de43c(_0x1e1036,_0x739526){const _0x395e05=_0x4e3bb2;if(_0x1e1036[_0x395e05(0x157)]===0x0)return _0x57bca0;if(_0x1e1036[_0x395e05(0x157)]===0x1)return _0x1e1036[0x0];const _0x307c4a=Buffer[_0x395e05(0x277)](_0x739526);let _0x27c3fa=0x0;for(let _0x30982c=0x0;_0x30982c<_0x1e1036[_0x395e05(0x157)];_0x30982c++){const _0x4e18db=_0x1e1036[_0x30982c];_0x307c4a[_0x395e05(0x12c)](_0x4e18db,_0x27c3fa),_0x27c3fa+=_0x4e18db[_0x395e05(0x157)];}return _0x27c3fa<_0x739526?new _0x24e649(_0x307c4a[_0x395e05(0x191)],_0x307c4a[_0x395e05(0x273)],_0x27c3fa):_0x307c4a;}function _0x22f86b(_0x47f2fd,_0x1c8e75,_0xc31294,_0x2397e4,_0x4c2f92){for(let _0x34cf20=0x0;_0x34cf20<_0x4c2f92;_0x34cf20++)_0xc31294[_0x2397e4+_0x34cf20]=_0x47f2fd[_0x34cf20]^_0x1c8e75[_0x34cf20&0x3];}function _0x4abd53(_0x56ac9c,_0x27d973){const _0x230a51=_0x4e3bb2;for(let _0x50c8b6=0x0;_0x50c8b6<_0x56ac9c[_0x230a51(0x157)];_0x50c8b6++)_0x56ac9c[_0x50c8b6]^=_0x27d973[_0x50c8b6&0x3];}function _0x885c8a(_0x43f809){const _0xd7b771=_0x4e3bb2;return _0x43f809[_0xd7b771(0x157)]===_0x43f809[_0xd7b771(0x191)][_0xd7b771(0x1cb)]?_0x43f809[_0xd7b771(0x191)]:_0x43f809[_0xd7b771(0x191)][_0xd7b771(0x16f)](_0x43f809[_0xd7b771(0x273)],_0x43f809['byteOffset']+_0x43f809[_0xd7b771(0x157)]);}function _0x11dea4(_0x57623c){const _0x5880ee=_0x4e3bb2;if(_0x11dea4[_0x5880ee(0xe0)]=!0x0,Buffer[_0x5880ee(0x26a)](_0x57623c))return _0x57623c;let _0x590bad;return _0x57623c instanceof ArrayBuffer?_0x590bad=new _0x24e649(_0x57623c):ArrayBuffer[_0x5880ee(0x20b)](_0x57623c)?_0x590bad=new _0x24e649(_0x57623c[_0x5880ee(0x191)],_0x57623c['byteOffset'],_0x57623c['byteLength']):(_0x590bad=Buffer[_0x5880ee(0x1e9)](_0x57623c),_0x11dea4[_0x5880ee(0xe0)]=!0x1),_0x590bad;}if(te[_0x4e3bb2(0xe4)]={'concat':_0x4de43c,'mask':_0x22f86b,'toArrayBuffer':_0x885c8a,'toBuffer':_0x11dea4,'unmask':_0x4abd53},!process[_0x4e3bb2(0x230)]['WS_NO_BUFFER_UTIL'])try{const _0x301231=Vt;te[_0x4e3bb2(0xe4)][_0x4e3bb2(0x1a6)]=function(_0x2fe582,_0x28025d,_0x4f6cdc,_0x72470a,_0x52fb63){_0x52fb63<0x30?_0x22f86b(_0x2fe582,_0x28025d,_0x4f6cdc,_0x72470a,_0x52fb63):_0x301231['mask'](_0x2fe582,_0x28025d,_0x4f6cdc,_0x72470a,_0x52fb63);},te[_0x4e3bb2(0xe4)][_0x4e3bb2(0x1b7)]=function(_0x33d8ba,_0x2a232f){const _0x1f9686=_0x4e3bb2;_0x33d8ba['length']<0x20?_0x4abd53(_0x33d8ba,_0x2a232f):_0x301231[_0x1f9686(0x1b7)](_0x33d8ba,_0x2a232f);};}catch{}return te[_0x4e3bb2(0xe4)];}var ye,Xe;function qt(){const _0x261a2f=_0x4638d0;if(Xe)return ye;Xe=0x1;const _0x4fed10=Symbol('kDone'),_0x3872a2=Symbol('kRun');class _0x4ecf69{constructor(_0x65a4c4){const _0x4c9aec=_0x4f97;this[_0x4fed10]=()=>{const _0x5ed038=_0x4f97;this[_0x5ed038(0x151)]--,this[_0x3872a2]();},this['concurrency']=_0x65a4c4||0x1/0x0,this['jobs']=[],this[_0x4c9aec(0x151)]=0x0;}[_0x261a2f(0x242)](_0x10032b){const _0x1e7796=_0x261a2f;this['jobs'][_0x1e7796(0x1e7)](_0x10032b),this[_0x3872a2]();}[_0x3872a2](){const _0x56dc96=_0x261a2f;if(this[_0x56dc96(0x151)]!==this['concurrency']&&this[_0x56dc96(0x238)][_0x56dc96(0x157)]){const _0x2120b4=this[_0x56dc96(0x238)][_0x56dc96(0x24a)]();this[_0x56dc96(0x151)]++,_0x2120b4(this[_0x4fed10]);}}}return ye=_0x4ecf69,ye;}var ve,Ze;function he(){const _0xae3eba=_0x4638d0;if(Ze)return ve;Ze=0x1;const _0x121732=_0x37a9d7,_0x5efd58=ce(),_0x49d9e9=qt(),{kStatusCode:_0x477d86}=V(),_0x4a9a00=Buffer[Symbol[_0xae3eba(0x241)]],_0x52f8ae=Buffer[_0xae3eba(0x1e9)]([0x0,0x0,0xff,0xff]),_0x104a8d=Symbol('permessage-deflate'),_0xc024e7=Symbol(_0xae3eba(0x265)),_0xfce8e3=Symbol(_0xae3eba(0x1b0)),_0x393434=Symbol('buffers'),_0x58aff0=Symbol(_0xae3eba(0x1fb));let _0x5316c6;class _0x700bc3{constructor(_0x415628,_0x454212,_0x23efc5){const _0x1b1997=_0xae3eba;if(this[_0x1b1997(0x1ac)]=_0x23efc5|0x0,this['_options']=_0x415628||{},this[_0x1b1997(0x251)]=this['_options']['threshold']!==void 0x0?this[_0x1b1997(0x22f)][_0x1b1997(0x27e)]:0x400,this['_isServer']=!!_0x454212,this[_0x1b1997(0x1c0)]=null,this[_0x1b1997(0x267)]=null,this['params']=null,!_0x5316c6){const _0x29c11e=this[_0x1b1997(0x22f)][_0x1b1997(0x1e3)]!==void 0x0?this[_0x1b1997(0x22f)][_0x1b1997(0x1e3)]:0xa;_0x5316c6=new _0x49d9e9(_0x29c11e);}}static get[_0xae3eba(0x155)](){const _0x3d4757=_0xae3eba;return _0x3d4757(0x1ae);}[_0xae3eba(0x114)](){const _0x3bd262=_0xae3eba,_0x5e2da5={};return this['_options'][_0x3bd262(0x1f9)]&&(_0x5e2da5[_0x3bd262(0x122)]=!0x0),this[_0x3bd262(0x22f)][_0x3bd262(0xeb)]&&(_0x5e2da5[_0x3bd262(0x24b)]=!0x0),this[_0x3bd262(0x22f)][_0x3bd262(0x173)]&&(_0x5e2da5['server_max_window_bits']=this[_0x3bd262(0x22f)][_0x3bd262(0x173)]),this[_0x3bd262(0x22f)][_0x3bd262(0xf7)]?_0x5e2da5[_0x3bd262(0xdb)]=this[_0x3bd262(0x22f)][_0x3bd262(0xf7)]:this[_0x3bd262(0x22f)][_0x3bd262(0xf7)]==null&&(_0x5e2da5[_0x3bd262(0xdb)]=!0x0),_0x5e2da5;}[_0xae3eba(0x250)](_0xd12999){const _0x2bb0f1=_0xae3eba;return _0xd12999=this[_0x2bb0f1(0x111)](_0xd12999),this['params']=this[_0x2bb0f1(0x118)]?this[_0x2bb0f1(0x152)](_0xd12999):this[_0x2bb0f1(0x27f)](_0xd12999),this['params'];}[_0xae3eba(0x11b)](){const _0x141721=_0xae3eba;if(this[_0x141721(0x267)]&&(this[_0x141721(0x267)]['close'](),this[_0x141721(0x267)]=null),this[_0x141721(0x1c0)]){const _0x484843=this[_0x141721(0x1c0)][_0xfce8e3];this[_0x141721(0x1c0)][_0x141721(0x178)](),this[_0x141721(0x1c0)]=null,_0x484843&&_0x484843(new Error(_0x141721(0x23e)));}}['acceptAsServer'](_0x4a2aef){const _0x529c7e=_0xae3eba,_0x26c4ef=this['_options'],_0x55e228=_0x4a2aef[_0x529c7e(0x182)](_0x2d2847=>!(_0x26c4ef['serverNoContextTakeover']===!0x1&&_0x2d2847[_0x529c7e(0x122)]||_0x2d2847[_0x529c7e(0x1db)]&&(_0x26c4ef['serverMaxWindowBits']===!0x1||typeof _0x26c4ef[_0x529c7e(0x173)]==_0x529c7e(0xd7)&&_0x26c4ef[_0x529c7e(0x173)]>_0x2d2847[_0x529c7e(0x1db)])||typeof _0x26c4ef[_0x529c7e(0xf7)]==_0x529c7e(0xd7)&&!_0x2d2847[_0x529c7e(0xdb)]));if(!_0x55e228)throw new Error(_0x529c7e(0x1b9));return _0x26c4ef[_0x529c7e(0x1f9)]&&(_0x55e228[_0x529c7e(0x122)]=!0x0),_0x26c4ef['clientNoContextTakeover']&&(_0x55e228[_0x529c7e(0x24b)]=!0x0),typeof _0x26c4ef[_0x529c7e(0x173)]==_0x529c7e(0xd7)&&(_0x55e228[_0x529c7e(0x1db)]=_0x26c4ef[_0x529c7e(0x173)]),typeof _0x26c4ef[_0x529c7e(0xf7)]==_0x529c7e(0xd7)?_0x55e228[_0x529c7e(0xdb)]=_0x26c4ef[_0x529c7e(0xf7)]:(_0x55e228[_0x529c7e(0xdb)]===!0x0||_0x26c4ef['clientMaxWindowBits']===!0x1)&&delete _0x55e228[_0x529c7e(0xdb)],_0x55e228;}['acceptAsClient'](_0x22bd74){const _0x57b81e=_0xae3eba,_0x17621a=_0x22bd74[0x0];if(this[_0x57b81e(0x22f)][_0x57b81e(0xeb)]===!0x1&&_0x17621a[_0x57b81e(0x24b)])throw new Error(_0x57b81e(0x13f));if(!_0x17621a['client_max_window_bits'])typeof this[_0x57b81e(0x22f)][_0x57b81e(0xf7)]==_0x57b81e(0xd7)&&(_0x17621a[_0x57b81e(0xdb)]=this[_0x57b81e(0x22f)]['clientMaxWindowBits']);else{if(this['_options'][_0x57b81e(0xf7)]===!0x1||typeof this[_0x57b81e(0x22f)]['clientMaxWindowBits']==_0x57b81e(0xd7)&&_0x17621a['client_max_window_bits']>this[_0x57b81e(0x22f)][_0x57b81e(0xf7)])throw new Error(_0x57b81e(0x139));}return _0x17621a;}[_0xae3eba(0x111)](_0x2a6806){const _0x31c52d=_0xae3eba;return _0x2a6806[_0x31c52d(0x1dd)](_0x2b7182=>{const _0xdaebaf=_0x31c52d;Object[_0xdaebaf(0x15a)](_0x2b7182)[_0xdaebaf(0x1dd)](_0x4667a0=>{const _0x1d79b6=_0xdaebaf;let _0x56ab3f=_0x2b7182[_0x4667a0];if(_0x56ab3f[_0x1d79b6(0x157)]>0x1)throw new Error(_0x1d79b6(0x10d)+_0x4667a0+_0x1d79b6(0x27c));if(_0x56ab3f=_0x56ab3f[0x0],_0x4667a0===_0x1d79b6(0xdb)){if(_0x56ab3f!==!0x0){const _0x37b302=+_0x56ab3f;if(!Number[_0x1d79b6(0x186)](_0x37b302)||_0x37b302<0x8||_0x37b302>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x4667a0+_0x1d79b6(0x121)+_0x56ab3f);_0x56ab3f=_0x37b302;}else{if(!this[_0x1d79b6(0x118)])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x4667a0+'\x22:\x20'+_0x56ab3f);}}else{if(_0x4667a0===_0x1d79b6(0x1db)){const _0x3de7dd=+_0x56ab3f;if(!Number[_0x1d79b6(0x186)](_0x3de7dd)||_0x3de7dd<0x8||_0x3de7dd>0xf)throw new TypeError(_0x1d79b6(0xd8)+_0x4667a0+_0x1d79b6(0x121)+_0x56ab3f);_0x56ab3f=_0x3de7dd;}else{if(_0x4667a0===_0x1d79b6(0x24b)||_0x4667a0===_0x1d79b6(0x122)){if(_0x56ab3f!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x4667a0+_0x1d79b6(0x121)+_0x56ab3f);}else throw new Error('Unknown\x20parameter\x20\x22'+_0x4667a0+'\x22');}}_0x2b7182[_0x4667a0]=_0x56ab3f;});}),_0x2a6806;}[_0xae3eba(0x205)](_0x4f1bda,_0x230f1a,_0x41a759){_0x5316c6['add'](_0x20802d=>{const _0x263d82=_0x4f97;this[_0x263d82(0x1a9)](_0x4f1bda,_0x230f1a,(_0xe7918e,_0x35d6d1)=>{_0x20802d(),_0x41a759(_0xe7918e,_0x35d6d1);});});}['compress'](_0x4715f8,_0x55339b,_0x3cf1d0){const _0x3d988b=_0xae3eba;_0x5316c6[_0x3d988b(0x242)](_0x359169=>{const _0x1713e4=_0x3d988b;this[_0x1713e4(0x258)](_0x4715f8,_0x55339b,(_0x1e19b3,_0x4f3a11)=>{_0x359169(),_0x3cf1d0(_0x1e19b3,_0x4f3a11);});});}[_0xae3eba(0x1a9)](_0x2dd65d,_0x3ca0a2,_0x5dc8ca){const _0x43136c=_0xae3eba,_0x1f1e45=this[_0x43136c(0x118)]?_0x43136c(0x256):_0x43136c(0x198);if(!this[_0x43136c(0x267)]){const _0x4d1467=_0x1f1e45+'_max_window_bits',_0x441af0=typeof this[_0x43136c(0x184)][_0x4d1467]!=_0x43136c(0xd7)?_0x121732[_0x43136c(0x189)]:this[_0x43136c(0x184)][_0x4d1467];this[_0x43136c(0x267)]=_0x121732[_0x43136c(0x15c)]({...this[_0x43136c(0x22f)][_0x43136c(0x26f)],'windowBits':_0x441af0}),this[_0x43136c(0x267)][_0x104a8d]=this,this[_0x43136c(0x267)][_0xc024e7]=0x0,this[_0x43136c(0x267)][_0x393434]=[],this['_inflate']['on'](_0x43136c(0x1fb),_0x1c8e02),this['_inflate']['on'](_0x43136c(0x142),_0x1012f9);}this[_0x43136c(0x267)][_0xfce8e3]=_0x5dc8ca,this[_0x43136c(0x267)][_0x43136c(0xff)](_0x2dd65d),_0x3ca0a2&&this[_0x43136c(0x267)]['write'](_0x52f8ae),this[_0x43136c(0x267)][_0x43136c(0x144)](()=>{const _0x475d0b=_0x43136c,_0xe720e1=this[_0x475d0b(0x267)][_0x58aff0];if(_0xe720e1){this[_0x475d0b(0x267)][_0x475d0b(0x178)](),this[_0x475d0b(0x267)]=null,_0x5dc8ca(_0xe720e1);return;}const _0xfd1e=_0x5efd58[_0x475d0b(0x215)](this['_inflate'][_0x393434],this[_0x475d0b(0x267)][_0xc024e7]);this[_0x475d0b(0x267)][_0x475d0b(0xe9)][_0x475d0b(0x158)]?(this[_0x475d0b(0x267)]['close'](),this['_inflate']=null):(this[_0x475d0b(0x267)][_0xc024e7]=0x0,this['_inflate'][_0x393434]=[],_0x3ca0a2&&this[_0x475d0b(0x184)][_0x1f1e45+_0x475d0b(0x257)]&&this[_0x475d0b(0x267)]['reset']()),_0x5dc8ca(null,_0xfd1e);});}[_0xae3eba(0x258)](_0x2d0424,_0x8ed924,_0x41534b){const _0x440d31=_0xae3eba,_0x115ee9=this[_0x440d31(0x118)]?'server':_0x440d31(0x256);if(!this[_0x440d31(0x1c0)]){const _0x4be3fe=_0x115ee9+'_max_window_bits',_0x2f1d9e=typeof this[_0x440d31(0x184)][_0x4be3fe]!=_0x440d31(0xd7)?_0x121732['Z_DEFAULT_WINDOWBITS']:this['params'][_0x4be3fe];this['_deflate']=_0x121732[_0x440d31(0x13d)]({...this[_0x440d31(0x22f)][_0x440d31(0x1de)],'windowBits':_0x2f1d9e}),this[_0x440d31(0x1c0)][_0xc024e7]=0x0,this[_0x440d31(0x1c0)][_0x393434]=[],this[_0x440d31(0x1c0)]['on'](_0x440d31(0x142),_0x4e032);}this['_deflate'][_0xfce8e3]=_0x41534b,this[_0x440d31(0x1c0)]['write'](_0x2d0424),this[_0x440d31(0x1c0)][_0x440d31(0x144)](_0x121732[_0x440d31(0x213)],()=>{const _0xbbe4ac=_0x440d31;if(!this[_0xbbe4ac(0x1c0)])return;let _0x48e836=_0x5efd58['concat'](this[_0xbbe4ac(0x1c0)][_0x393434],this[_0xbbe4ac(0x1c0)][_0xc024e7]);_0x8ed924&&(_0x48e836=new _0x4a9a00(_0x48e836[_0xbbe4ac(0x191)],_0x48e836[_0xbbe4ac(0x273)],_0x48e836[_0xbbe4ac(0x157)]-0x4)),this[_0xbbe4ac(0x1c0)][_0xfce8e3]=null,this['_deflate'][_0xc024e7]=0x0,this[_0xbbe4ac(0x1c0)][_0x393434]=[],_0x8ed924&&this[_0xbbe4ac(0x184)][_0x115ee9+_0xbbe4ac(0x257)]&&this[_0xbbe4ac(0x1c0)][_0xbbe4ac(0x17b)](),_0x41534b(null,_0x48e836);});}}ve=_0x700bc3;function _0x4e032(_0x164e36){const _0x256099=_0xae3eba;this[_0x393434][_0x256099(0x1e7)](_0x164e36),this[_0xc024e7]+=_0x164e36[_0x256099(0x157)];}function _0x1012f9(_0x26ec6a){const _0x3cfd1f=_0xae3eba;if(this[_0xc024e7]+=_0x26ec6a['length'],this[_0x104a8d]['_maxPayload']<0x1||this[_0xc024e7]<=this[_0x104a8d][_0x3cfd1f(0x1ac)]){this[_0x393434][_0x3cfd1f(0x1e7)](_0x26ec6a);return;}this[_0x58aff0]=new RangeError(_0x3cfd1f(0x195)),this[_0x58aff0][_0x3cfd1f(0xf8)]=_0x3cfd1f(0x276),this[_0x58aff0][_0x477d86]=0x3f1,this[_0x3cfd1f(0x11d)](_0x3cfd1f(0x142),_0x1012f9),this[_0x3cfd1f(0x17b)]();}function _0x1c8e02(_0x1d960e){if(this[_0x104a8d]['_inflate']=null,this[_0x58aff0]){this[_0xfce8e3](this[_0x58aff0]);return;}_0x1d960e[_0x477d86]=0x3ef,this[_0xfce8e3](_0x1d960e);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x4638d0(0x100)](Object[_0x4638d0(0x202)]({'__proto__':null,'default':Ht},Symbol[_0x4638d0(0x18a)],{'value':_0x4638d0(0x272)})),Yt=ut(zt);function _0x4f97(_0x5009d3,_0x38fab5){_0x5009d3=_0x5009d3-0xd3;const _0x690f8=_0x690f();let _0x4f9760=_0x690f8[_0x5009d3];return _0x4f9760;}var Qe;function ne(){const _0x51d2af=_0x4638d0;if(Qe)return re[_0x51d2af(0xe4)];Qe=0x1;const {isUtf8:_0x4a2f2d}=_0x377d8d,{hasBlob:_0x56daa3}=V(),_0x138ab1=[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 _0x20eba3(_0x1214c2){return _0x1214c2>=0x3e8&&_0x1214c2<=0x3f6&&_0x1214c2!==0x3ec&&_0x1214c2!==0x3ed&&_0x1214c2!==0x3ee||_0x1214c2>=0xbb8&&_0x1214c2<=0x1387;}function _0x779cd7(_0x1c83d1){const _0x2aa8e8=_0x51d2af,_0x121095=_0x1c83d1[_0x2aa8e8(0x157)];let _0x433e91=0x0;for(;_0x433e91<_0x121095;)if((_0x1c83d1[_0x433e91]&0x80)===0x0)_0x433e91++;else{if((_0x1c83d1[_0x433e91]&0xe0)===0xc0){if(_0x433e91+0x1===_0x121095||(_0x1c83d1[_0x433e91+0x1]&0xc0)!==0x80||(_0x1c83d1[_0x433e91]&0xfe)===0xc0)return!0x1;_0x433e91+=0x2;}else{if((_0x1c83d1[_0x433e91]&0xf0)===0xe0){if(_0x433e91+0x2>=_0x121095||(_0x1c83d1[_0x433e91+0x1]&0xc0)!==0x80||(_0x1c83d1[_0x433e91+0x2]&0xc0)!==0x80||_0x1c83d1[_0x433e91]===0xe0&&(_0x1c83d1[_0x433e91+0x1]&0xe0)===0x80||_0x1c83d1[_0x433e91]===0xed&&(_0x1c83d1[_0x433e91+0x1]&0xe0)===0xa0)return!0x1;_0x433e91+=0x3;}else{if((_0x1c83d1[_0x433e91]&0xf8)===0xf0){if(_0x433e91+0x3>=_0x121095||(_0x1c83d1[_0x433e91+0x1]&0xc0)!==0x80||(_0x1c83d1[_0x433e91+0x2]&0xc0)!==0x80||(_0x1c83d1[_0x433e91+0x3]&0xc0)!==0x80||_0x1c83d1[_0x433e91]===0xf0&&(_0x1c83d1[_0x433e91+0x1]&0xf0)===0x80||_0x1c83d1[_0x433e91]===0xf4&&_0x1c83d1[_0x433e91+0x1]>0x8f||_0x1c83d1[_0x433e91]>0xf4)return!0x1;_0x433e91+=0x4;}else return!0x1;}}}return!0x0;}function _0x407b00(_0x466084){const _0x453559=_0x51d2af;return _0x56daa3&&typeof _0x466084==_0x453559(0x1af)&&typeof _0x466084[_0x453559(0x187)]=='function'&&typeof _0x466084['type']==_0x453559(0x25f)&&typeof _0x466084[_0x453559(0x11c)]==_0x453559(0x1ec)&&(_0x466084[Symbol[_0x453559(0x18a)]]===_0x453559(0xec)||_0x466084[Symbol[_0x453559(0x18a)]]===_0x453559(0xf5));}if(re[_0x51d2af(0xe4)]={'isBlob':_0x407b00,'isValidStatusCode':_0x20eba3,'isValidUTF8':_0x779cd7,'tokenChars':_0x138ab1},_0x4a2f2d)re[_0x51d2af(0xe4)][_0x51d2af(0x20a)]=function(_0x447fee){const _0x3ea628=_0x51d2af;return _0x447fee[_0x3ea628(0x157)]<0x18?_0x779cd7(_0x447fee):_0x4a2f2d(_0x447fee);};else{if(!process[_0x51d2af(0x230)]['WS_NO_UTF_8_VALIDATE'])try{const _0xaecb28=Yt;re['exports'][_0x51d2af(0x20a)]=function(_0xe6e117){const _0x4e4fda=_0x51d2af;return _0xe6e117[_0x4e4fda(0x157)]<0x20?_0x779cd7(_0xe6e117):_0xaecb28(_0xe6e117);};}catch{}}return re[_0x51d2af(0xe4)];}var Se,Je;function dt(){const _0x2f3235=_0x4638d0;if(Je)return Se;Je=0x1;const {Writable:_0x586325}=_0x1595d9,_0x39851a=he(),{BINARY_TYPES:_0x5359cb,EMPTY_BUFFER:_0xc8a61c,kStatusCode:_0xa545a8,kWebSocket:_0x9abfcf}=V(),{concat:_0xbe237d,toArrayBuffer:_0x2f431c,unmask:_0x2ce84d}=ce(),{isValidStatusCode:_0x34d2cf,isValidUTF8:_0xec82da}=ne(),_0x2028b8=Buffer[Symbol[_0x2f3235(0x241)]],_0x217efa=0x0,_0x16924f=0x1,_0x3e1f3f=0x2,_0x45cf32=0x3,_0x2f6761=0x4,_0x1cf3e9=0x5,_0x446615=0x6;class _0x581000 extends _0x586325{constructor(_0x5f5053={}){const _0x1e58f1=_0x2f3235;super(),this[_0x1e58f1(0xe1)]=_0x5f5053['allowSynchronousEvents']!==void 0x0?_0x5f5053[_0x1e58f1(0x26b)]:!0x0,this[_0x1e58f1(0x259)]=_0x5f5053['binaryType']||_0x5359cb[0x0],this[_0x1e58f1(0xf2)]=_0x5f5053['extensions']||{},this[_0x1e58f1(0x118)]=!!_0x5f5053[_0x1e58f1(0x1d8)],this['_maxPayload']=_0x5f5053['maxPayload']|0x0,this[_0x1e58f1(0x249)]=!!_0x5f5053[_0x1e58f1(0x188)],this[_0x9abfcf]=void 0x0,this['_bufferedBytes']=0x0,this['_buffers']=[],this[_0x1e58f1(0x27a)]=!0x1,this[_0x1e58f1(0x1c6)]=0x0,this[_0x1e58f1(0x264)]=void 0x0,this[_0x1e58f1(0x21c)]=0x0,this[_0x1e58f1(0x133)]=!0x1,this[_0x1e58f1(0x162)]=!0x1,this[_0x1e58f1(0x14f)]=0x0,this['_totalPayloadLength']=0x0,this['_messageLength']=0x0,this[_0x1e58f1(0x237)]=[],this[_0x1e58f1(0x16b)]=!0x1,this[_0x1e58f1(0x12b)]=!0x1,this[_0x1e58f1(0x1c8)]=_0x217efa;}[_0x2f3235(0x239)](_0x1cac07,_0x4a39fa,_0x412e63){const _0x1da8a6=_0x2f3235;if(this[_0x1da8a6(0x14f)]===0x8&&this[_0x1da8a6(0x1c8)]==_0x217efa)return _0x412e63();this['_bufferedBytes']+=_0x1cac07[_0x1da8a6(0x157)],this[_0x1da8a6(0x1ab)][_0x1da8a6(0x1e7)](_0x1cac07),this[_0x1da8a6(0x194)](_0x412e63);}[_0x2f3235(0x170)](_0x36c8b9){const _0x5745a6=_0x2f3235;if(this[_0x5745a6(0x1aa)]-=_0x36c8b9,_0x36c8b9===this['_buffers'][0x0][_0x5745a6(0x157)])return this[_0x5745a6(0x1ab)][_0x5745a6(0x24a)]();if(_0x36c8b9<this[_0x5745a6(0x1ab)][0x0][_0x5745a6(0x157)]){const _0x3bad87=this[_0x5745a6(0x1ab)][0x0];return this[_0x5745a6(0x1ab)][0x0]=new _0x2028b8(_0x3bad87[_0x5745a6(0x191)],_0x3bad87[_0x5745a6(0x273)]+_0x36c8b9,_0x3bad87[_0x5745a6(0x157)]-_0x36c8b9),new _0x2028b8(_0x3bad87[_0x5745a6(0x191)],_0x3bad87[_0x5745a6(0x273)],_0x36c8b9);}const _0x4b9edd=Buffer[_0x5745a6(0x277)](_0x36c8b9);do{const _0x4ae91f=this['_buffers'][0x0],_0x57eb42=_0x4b9edd['length']-_0x36c8b9;_0x36c8b9>=_0x4ae91f['length']?_0x4b9edd['set'](this[_0x5745a6(0x1ab)][_0x5745a6(0x24a)](),_0x57eb42):(_0x4b9edd[_0x5745a6(0x12c)](new Uint8Array(_0x4ae91f['buffer'],_0x4ae91f[_0x5745a6(0x273)],_0x36c8b9),_0x57eb42),this['_buffers'][0x0]=new _0x2028b8(_0x4ae91f[_0x5745a6(0x191)],_0x4ae91f[_0x5745a6(0x273)]+_0x36c8b9,_0x4ae91f['length']-_0x36c8b9)),_0x36c8b9-=_0x4ae91f[_0x5745a6(0x157)];}while(_0x36c8b9>0x0);return _0x4b9edd;}[_0x2f3235(0x194)](_0x32b84a){const _0x132a4c=_0x2f3235;this[_0x132a4c(0x12b)]=!0x0;do switch(this['_state']){case _0x217efa:this['getInfo'](_0x32b84a);break;case _0x16924f:this[_0x132a4c(0x15e)](_0x32b84a);break;case _0x3e1f3f:this['getPayloadLength64'](_0x32b84a);break;case _0x45cf32:this[_0x132a4c(0x1bf)]();break;case _0x2f6761:this[_0x132a4c(0x212)](_0x32b84a);break;case _0x1cf3e9:case _0x446615:this[_0x132a4c(0x12b)]=!0x1;return;}while(this[_0x132a4c(0x12b)]);this['_errored']||_0x32b84a();}[_0x2f3235(0x1ea)](_0x315bc7){const _0x534cd6=_0x2f3235;if(this[_0x534cd6(0x1aa)]<0x2){this[_0x534cd6(0x12b)]=!0x1;return;}const _0xc1c917=this[_0x534cd6(0x170)](0x2);if((_0xc1c917[0x0]&0x30)!==0x0){const _0x2e067a=this[_0x534cd6(0x115)](RangeError,_0x534cd6(0x1d3),!0x0,0x3ea,_0x534cd6(0xf9));_0x315bc7(_0x2e067a);return;}const _0x28f220=(_0xc1c917[0x0]&0x40)===0x40;if(_0x28f220&&!this[_0x534cd6(0xf2)][_0x39851a[_0x534cd6(0x155)]]){const _0x5acdaf=this[_0x534cd6(0x115)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x534cd6(0x281));_0x315bc7(_0x5acdaf);return;}if(this[_0x534cd6(0x162)]=(_0xc1c917[0x0]&0x80)===0x80,this[_0x534cd6(0x14f)]=_0xc1c917[0x0]&0xf,this[_0x534cd6(0x1c6)]=_0xc1c917[0x1]&0x7f,this['_opcode']===0x0){if(_0x28f220){const _0x11bee9=this['createError'](RangeError,_0x534cd6(0x22c),!0x0,0x3ea,_0x534cd6(0x281));_0x315bc7(_0x11bee9);return;}if(!this['_fragmented']){const _0xa80b0c=this[_0x534cd6(0x115)](RangeError,_0x534cd6(0x200),!0x0,0x3ea,_0x534cd6(0x1c3));_0x315bc7(_0xa80b0c);return;}this['_opcode']=this[_0x534cd6(0x21c)];}else{if(this[_0x534cd6(0x14f)]===0x1||this[_0x534cd6(0x14f)]===0x2){if(this[_0x534cd6(0x21c)]){const _0x136e91=this[_0x534cd6(0x115)](RangeError,_0x534cd6(0xf0)+this[_0x534cd6(0x14f)],!0x0,0x3ea,_0x534cd6(0x1c3));_0x315bc7(_0x136e91);return;}this[_0x534cd6(0x27a)]=_0x28f220;}else{if(this[_0x534cd6(0x14f)]>0x7&&this[_0x534cd6(0x14f)]<0xb){if(!this['_fin']){const _0x35b03f=this[_0x534cd6(0x115)](RangeError,_0x534cd6(0x247),!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0x315bc7(_0x35b03f);return;}if(_0x28f220){const _0x5ac8a7=this[_0x534cd6(0x115)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x315bc7(_0x5ac8a7);return;}if(this[_0x534cd6(0x1c6)]>0x7d||this[_0x534cd6(0x14f)]===0x8&&this[_0x534cd6(0x1c6)]===0x1){const _0x31b6b1=this[_0x534cd6(0x115)](RangeError,_0x534cd6(0x192)+this[_0x534cd6(0x1c6)],!0x0,0x3ea,'WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH');_0x315bc7(_0x31b6b1);return;}}else{const _0x4695b1=this[_0x534cd6(0x115)](RangeError,_0x534cd6(0xf0)+this[_0x534cd6(0x14f)],!0x0,0x3ea,_0x534cd6(0x1c3));_0x315bc7(_0x4695b1);return;}}}if(!this['_fin']&&!this['_fragmented']&&(this[_0x534cd6(0x21c)]=this[_0x534cd6(0x14f)]),this[_0x534cd6(0x133)]=(_0xc1c917[0x1]&0x80)===0x80,this[_0x534cd6(0x118)]){if(!this['_masked']){const _0x28ff07=this[_0x534cd6(0x115)](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,_0x534cd6(0x199));_0x315bc7(_0x28ff07);return;}}else{if(this[_0x534cd6(0x133)]){const _0x549477=this['createError'](RangeError,_0x534cd6(0x221),!0x0,0x3ea,_0x534cd6(0x1f2));_0x315bc7(_0x549477);return;}}this[_0x534cd6(0x1c6)]===0x7e?this[_0x534cd6(0x1c8)]=_0x16924f:this[_0x534cd6(0x1c6)]===0x7f?this['_state']=_0x3e1f3f:this[_0x534cd6(0x105)](_0x315bc7);}['getPayloadLength16'](_0x53d20e){const _0x100414=_0x2f3235;if(this['_bufferedBytes']<0x2){this['_loop']=!0x1;return;}this[_0x100414(0x1c6)]=this[_0x100414(0x170)](0x2)['readUInt16BE'](0x0),this[_0x100414(0x105)](_0x53d20e);}[_0x2f3235(0x14a)](_0x4f3970){const _0x263ed7=_0x2f3235;if(this[_0x263ed7(0x1aa)]<0x8){this[_0x263ed7(0x12b)]=!0x1;return;}const _0x396e19=this[_0x263ed7(0x170)](0x8),_0x127e76=_0x396e19[_0x263ed7(0x235)](0x0);if(_0x127e76>Math[_0x263ed7(0x1a5)](0x2,0x15)-0x1){const _0x2e120b=this[_0x263ed7(0x115)](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,_0x263ed7(0x279));_0x4f3970(_0x2e120b);return;}this[_0x263ed7(0x1c6)]=_0x127e76*Math[_0x263ed7(0x1a5)](0x2,0x20)+_0x396e19[_0x263ed7(0x235)](0x4),this[_0x263ed7(0x105)](_0x4f3970);}[_0x2f3235(0x105)](_0xa2957f){const _0x39c549=_0x2f3235;if(this[_0x39c549(0x1c6)]&&this[_0x39c549(0x14f)]<0x8&&(this[_0x39c549(0x229)]+=this[_0x39c549(0x1c6)],this[_0x39c549(0x229)]>this['_maxPayload']&&this[_0x39c549(0x1ac)]>0x0)){const _0x2a4917=this[_0x39c549(0x115)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0xa2957f(_0x2a4917);return;}this[_0x39c549(0x133)]?this['_state']=_0x45cf32:this[_0x39c549(0x1c8)]=_0x2f6761;}[_0x2f3235(0x1bf)](){const _0x27019e=_0x2f3235;if(this[_0x27019e(0x1aa)]<0x4){this[_0x27019e(0x12b)]=!0x1;return;}this[_0x27019e(0x264)]=this['consume'](0x4),this[_0x27019e(0x1c8)]=_0x2f6761;}[_0x2f3235(0x212)](_0x31d4db){const _0x195d2a=_0x2f3235;let _0x186a0d=_0xc8a61c;if(this['_payloadLength']){if(this[_0x195d2a(0x1aa)]<this['_payloadLength']){this[_0x195d2a(0x12b)]=!0x1;return;}_0x186a0d=this[_0x195d2a(0x170)](this['_payloadLength']),this[_0x195d2a(0x133)]&&(this[_0x195d2a(0x264)][0x0]|this[_0x195d2a(0x264)][0x1]|this[_0x195d2a(0x264)][0x2]|this[_0x195d2a(0x264)][0x3])!==0x0&&_0x2ce84d(_0x186a0d,this[_0x195d2a(0x264)]);}if(this[_0x195d2a(0x14f)]>0x7){this['controlMessage'](_0x186a0d,_0x31d4db);return;}if(this[_0x195d2a(0x27a)]){this[_0x195d2a(0x1c8)]=_0x1cf3e9,this[_0x195d2a(0x205)](_0x186a0d,_0x31d4db);return;}_0x186a0d[_0x195d2a(0x157)]&&(this[_0x195d2a(0xda)]=this[_0x195d2a(0x229)],this[_0x195d2a(0x237)][_0x195d2a(0x1e7)](_0x186a0d)),this[_0x195d2a(0x183)](_0x31d4db);}[_0x2f3235(0x205)](_0x478ea6,_0x1121f0){const _0x1a75d8=_0x2f3235;this[_0x1a75d8(0xf2)][_0x39851a[_0x1a75d8(0x155)]][_0x1a75d8(0x205)](_0x478ea6,this[_0x1a75d8(0x162)],(_0x555189,_0x1b44a6)=>{const _0x3216aa=_0x1a75d8;if(_0x555189)return _0x1121f0(_0x555189);if(_0x1b44a6[_0x3216aa(0x157)]){if(this[_0x3216aa(0xda)]+=_0x1b44a6[_0x3216aa(0x157)],this['_messageLength']>this['_maxPayload']&&this['_maxPayload']>0x0){const _0x344184=this[_0x3216aa(0x115)](RangeError,_0x3216aa(0x195),!0x1,0x3f1,_0x3216aa(0x276));_0x1121f0(_0x344184);return;}this[_0x3216aa(0x237)][_0x3216aa(0x1e7)](_0x1b44a6);}this[_0x3216aa(0x183)](_0x1121f0),this[_0x3216aa(0x1c8)]===_0x217efa&&this[_0x3216aa(0x194)](_0x1121f0);});}[_0x2f3235(0x183)](_0x5aa580){const _0x25625f=_0x2f3235;if(!this[_0x25625f(0x162)]){this[_0x25625f(0x1c8)]=_0x217efa;return;}const _0x2dc1f7=this['_messageLength'],_0x35bb68=this['_fragments'];if(this[_0x25625f(0x229)]=0x0,this[_0x25625f(0xda)]=0x0,this[_0x25625f(0x21c)]=0x0,this[_0x25625f(0x237)]=[],this['_opcode']===0x2){let _0x234ad4;this[_0x25625f(0x259)]===_0x25625f(0x224)?_0x234ad4=_0xbe237d(_0x35bb68,_0x2dc1f7):this['_binaryType']==='arraybuffer'?_0x234ad4=_0x2f431c(_0xbe237d(_0x35bb68,_0x2dc1f7)):this['_binaryType']==='blob'?_0x234ad4=new Blob(_0x35bb68):_0x234ad4=_0x35bb68,this[_0x25625f(0xe1)]?(this[_0x25625f(0x1dc)](_0x25625f(0x1b5),_0x234ad4,!0x0),this[_0x25625f(0x1c8)]=_0x217efa):(this[_0x25625f(0x1c8)]=_0x446615,setImmediate(()=>{const _0x12cd14=_0x25625f;this[_0x12cd14(0x1dc)](_0x12cd14(0x1b5),_0x234ad4,!0x0),this[_0x12cd14(0x1c8)]=_0x217efa,this[_0x12cd14(0x194)](_0x5aa580);}));}else{const _0xd81455=_0xbe237d(_0x35bb68,_0x2dc1f7);if(!this[_0x25625f(0x249)]&&!_0xec82da(_0xd81455)){const _0x44404e=this[_0x25625f(0x115)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x25625f(0xf4));_0x5aa580(_0x44404e);return;}this['_state']===_0x1cf3e9||this[_0x25625f(0xe1)]?(this[_0x25625f(0x1dc)](_0x25625f(0x1b5),_0xd81455,!0x1),this['_state']=_0x217efa):(this[_0x25625f(0x1c8)]=_0x446615,setImmediate(()=>{const _0x32bea9=_0x25625f;this['emit'](_0x32bea9(0x1b5),_0xd81455,!0x1),this['_state']=_0x217efa,this[_0x32bea9(0x194)](_0x5aa580);}));}}['controlMessage'](_0x2f7fb8,_0x1bdb25){const _0x13913b=_0x2f3235;if(this[_0x13913b(0x14f)]===0x8){if(_0x2f7fb8['length']===0x0)this[_0x13913b(0x12b)]=!0x1,this['emit'](_0x13913b(0x130),0x3ed,_0xc8a61c),this['end']();else{const _0x111335=_0x2f7fb8['readUInt16BE'](0x0);if(!_0x34d2cf(_0x111335)){const _0x27f27a=this[_0x13913b(0x115)](RangeError,'invalid\x20status\x20code\x20'+_0x111335,!0x0,0x3ea,_0x13913b(0x1a4));_0x1bdb25(_0x27f27a);return;}const _0x43f145=new _0x2028b8(_0x2f7fb8[_0x13913b(0x191)],_0x2f7fb8[_0x13913b(0x273)]+0x2,_0x2f7fb8[_0x13913b(0x157)]-0x2);if(!this[_0x13913b(0x249)]&&!_0xec82da(_0x43f145)){const _0x36b0f3=this[_0x13913b(0x115)](Error,_0x13913b(0x117),!0x0,0x3ef,_0x13913b(0xf4));_0x1bdb25(_0x36b0f3);return;}this[_0x13913b(0x12b)]=!0x1,this[_0x13913b(0x1dc)](_0x13913b(0x130),_0x111335,_0x43f145),this[_0x13913b(0x20d)]();}this[_0x13913b(0x1c8)]=_0x217efa;return;}this[_0x13913b(0xe1)]?(this[_0x13913b(0x1dc)](this['_opcode']===0x9?_0x13913b(0x26c):_0x13913b(0x240),_0x2f7fb8),this['_state']=_0x217efa):(this[_0x13913b(0x1c8)]=_0x446615,setImmediate(()=>{const _0x18c991=_0x13913b;this[_0x18c991(0x1dc)](this['_opcode']===0x9?_0x18c991(0x26c):_0x18c991(0x240),_0x2f7fb8),this[_0x18c991(0x1c8)]=_0x217efa,this[_0x18c991(0x194)](_0x1bdb25);}));}[_0x2f3235(0x115)](_0x395614,_0x3a24de,_0x262811,_0x7c530,_0x331932){const _0x4a0569=_0x2f3235;this['_loop']=!0x1,this['_errored']=!0x0;const _0x4d9c3d=new _0x395614(_0x262811?_0x4a0569(0x1a7)+_0x3a24de:_0x3a24de);return Error[_0x4a0569(0x10a)](_0x4d9c3d,this[_0x4a0569(0x115)]),_0x4d9c3d[_0x4a0569(0xf8)]=_0x331932,_0x4d9c3d[_0xa545a8]=_0x7c530,_0x4d9c3d;}}return Se=_0x581000,Se;}var Ee,et;function _t(){const _0xbf3826=_0x4638d0;if(et)return Ee;et=0x1;const {Duplex:_0x3106b5}=_0x1595d9,{randomFillSync:_0x463e39}=_0x5572b2,_0x4883d6=he(),{EMPTY_BUFFER:_0x27ff07,kWebSocket:_0x3e5822,NOOP:_0x19968e}=V(),{isBlob:_0x4a5277,isValidStatusCode:_0x42dc1b}=ne(),{mask:_0xc47e8d,toBuffer:_0x334af8}=ce(),_0xd4a250=Symbol(_0xbf3826(0x176)),_0x27a1f3=Buffer[_0xbf3826(0x1a3)](0x4),_0x36f2e6=0x8*0x400;let _0x5bdd97,_0x3c2d42=_0x36f2e6;const _0x51b168=0x0,_0xd103e6=0x1,_0x5984d5=0x2;class _0x2480e5{constructor(_0x4c36c6,_0x1fda4a,_0x26bef2){const _0x21383c=_0xbf3826;this[_0x21383c(0xf2)]=_0x1fda4a||{},_0x26bef2&&(this[_0x21383c(0x219)]=_0x26bef2,this['_maskBuffer']=Buffer[_0x21383c(0x1a3)](0x4)),this[_0x21383c(0x203)]=_0x4c36c6,this[_0x21383c(0x22e)]=!0x0,this[_0x21383c(0x258)]=!0x1,this[_0x21383c(0x1aa)]=0x0,this['_queue']=[],this[_0x21383c(0x1c8)]=_0x51b168,this[_0x21383c(0x132)]=_0x19968e,this[_0x3e5822]=void 0x0;}static['frame'](_0x2ff941,_0x1b4142){const _0x4d9d55=_0xbf3826;let _0x5aa321,_0x387f74=!0x1,_0x1efe4a=0x2,_0x270298=!0x1;_0x1b4142[_0x4d9d55(0x1a6)]&&(_0x5aa321=_0x1b4142[_0x4d9d55(0xd3)]||_0x27a1f3,_0x1b4142[_0x4d9d55(0x123)]?_0x1b4142[_0x4d9d55(0x123)](_0x5aa321):(_0x3c2d42===_0x36f2e6&&(_0x5bdd97===void 0x0&&(_0x5bdd97=Buffer[_0x4d9d55(0x1a3)](_0x36f2e6)),_0x463e39(_0x5bdd97,0x0,_0x36f2e6),_0x3c2d42=0x0),_0x5aa321[0x0]=_0x5bdd97[_0x3c2d42++],_0x5aa321[0x1]=_0x5bdd97[_0x3c2d42++],_0x5aa321[0x2]=_0x5bdd97[_0x3c2d42++],_0x5aa321[0x3]=_0x5bdd97[_0x3c2d42++]),_0x270298=(_0x5aa321[0x0]|_0x5aa321[0x1]|_0x5aa321[0x2]|_0x5aa321[0x3])===0x0,_0x1efe4a=0x6);let _0x493329;typeof _0x2ff941==_0x4d9d55(0x25f)?(!_0x1b4142[_0x4d9d55(0x1a6)]||_0x270298)&&_0x1b4142[_0xd4a250]!==void 0x0?_0x493329=_0x1b4142[_0xd4a250]:(_0x2ff941=Buffer[_0x4d9d55(0x1e9)](_0x2ff941),_0x493329=_0x2ff941[_0x4d9d55(0x157)]):(_0x493329=_0x2ff941[_0x4d9d55(0x157)],_0x387f74=_0x1b4142[_0x4d9d55(0x1a6)]&&_0x1b4142[_0x4d9d55(0xe0)]&&!_0x270298);let _0x5b568a=_0x493329;_0x493329>=0x10000?(_0x1efe4a+=0x8,_0x5b568a=0x7f):_0x493329>0x7d&&(_0x1efe4a+=0x2,_0x5b568a=0x7e);const _0x45ca6c=Buffer[_0x4d9d55(0x277)](_0x387f74?_0x493329+_0x1efe4a:_0x1efe4a);return _0x45ca6c[0x0]=_0x1b4142['fin']?_0x1b4142[_0x4d9d55(0x14c)]|0x80:_0x1b4142[_0x4d9d55(0x14c)],_0x1b4142[_0x4d9d55(0x275)]&&(_0x45ca6c[0x0]|=0x40),_0x45ca6c[0x1]=_0x5b568a,_0x5b568a===0x7e?_0x45ca6c[_0x4d9d55(0x243)](_0x493329,0x2):_0x5b568a===0x7f&&(_0x45ca6c[0x2]=_0x45ca6c[0x3]=0x0,_0x45ca6c['writeUIntBE'](_0x493329,0x4,0x6)),_0x1b4142[_0x4d9d55(0x1a6)]?(_0x45ca6c[0x1]|=0x80,_0x45ca6c[_0x1efe4a-0x4]=_0x5aa321[0x0],_0x45ca6c[_0x1efe4a-0x3]=_0x5aa321[0x1],_0x45ca6c[_0x1efe4a-0x2]=_0x5aa321[0x2],_0x45ca6c[_0x1efe4a-0x1]=_0x5aa321[0x3],_0x270298?[_0x45ca6c,_0x2ff941]:_0x387f74?(_0xc47e8d(_0x2ff941,_0x5aa321,_0x45ca6c,_0x1efe4a,_0x493329),[_0x45ca6c]):(_0xc47e8d(_0x2ff941,_0x5aa321,_0x2ff941,0x0,_0x493329),[_0x45ca6c,_0x2ff941])):[_0x45ca6c,_0x2ff941];}['close'](_0x3ded8c,_0x4a59eb,_0x12daf0,_0x8a61d0){const _0x52f5ac=_0xbf3826;let _0x287fd0;if(_0x3ded8c===void 0x0)_0x287fd0=_0x27ff07;else{if(typeof _0x3ded8c!='number'||!_0x42dc1b(_0x3ded8c))throw new TypeError('First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number');if(_0x4a59eb===void 0x0||!_0x4a59eb['length'])_0x287fd0=Buffer[_0x52f5ac(0x277)](0x2),_0x287fd0[_0x52f5ac(0x243)](_0x3ded8c,0x0);else{const _0x2d86d9=Buffer[_0x52f5ac(0x1cb)](_0x4a59eb);if(_0x2d86d9>0x7b)throw new RangeError(_0x52f5ac(0x211));_0x287fd0=Buffer['allocUnsafe'](0x2+_0x2d86d9),_0x287fd0[_0x52f5ac(0x243)](_0x3ded8c,0x0),typeof _0x4a59eb=='string'?_0x287fd0[_0x52f5ac(0xff)](_0x4a59eb,0x2):_0x287fd0[_0x52f5ac(0x12c)](_0x4a59eb,0x2);}}const _0x1df992={[_0xd4a250]:_0x287fd0[_0x52f5ac(0x157)],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x12daf0,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x52f5ac(0x1c8)]!==_0x51b168?this[_0x52f5ac(0x16c)]([this[_0x52f5ac(0x10f)],_0x287fd0,!0x1,_0x1df992,_0x8a61d0]):this[_0x52f5ac(0x19c)](_0x2480e5[_0x52f5ac(0x260)](_0x287fd0,_0x1df992),_0x8a61d0);}[_0xbf3826(0x26c)](_0x2b3eab,_0x878a97,_0x4b3df6){const _0x7c02ae=_0xbf3826;let _0x3dba13,_0x1cbcba;if(typeof _0x2b3eab=='string'?(_0x3dba13=Buffer[_0x7c02ae(0x1cb)](_0x2b3eab),_0x1cbcba=!0x1):_0x4a5277(_0x2b3eab)?(_0x3dba13=_0x2b3eab[_0x7c02ae(0x1f8)],_0x1cbcba=!0x1):(_0x2b3eab=_0x334af8(_0x2b3eab),_0x3dba13=_0x2b3eab[_0x7c02ae(0x157)],_0x1cbcba=_0x334af8[_0x7c02ae(0xe0)]),_0x3dba13>0x7d)throw new RangeError(_0x7c02ae(0x168));const _0x5d1f40={[_0xd4a250]:_0x3dba13,'fin':!0x0,'generateMask':this[_0x7c02ae(0x219)],'mask':_0x878a97,'maskBuffer':this['_maskBuffer'],'opcode':0x9,'readOnly':_0x1cbcba,'rsv1':!0x1};_0x4a5277(_0x2b3eab)?this[_0x7c02ae(0x1c8)]!==_0x51b168?this[_0x7c02ae(0x16c)]([this['getBlobData'],_0x2b3eab,!0x1,_0x5d1f40,_0x4b3df6]):this[_0x7c02ae(0x21a)](_0x2b3eab,!0x1,_0x5d1f40,_0x4b3df6):this[_0x7c02ae(0x1c8)]!==_0x51b168?this[_0x7c02ae(0x16c)]([this[_0x7c02ae(0x10f)],_0x2b3eab,!0x1,_0x5d1f40,_0x4b3df6]):this['sendFrame'](_0x2480e5['frame'](_0x2b3eab,_0x5d1f40),_0x4b3df6);}[_0xbf3826(0x240)](_0x4287f0,_0x3108b5,_0x533fc6){const _0x5601b0=_0xbf3826;let _0x42d077,_0x2f1d4e;if(typeof _0x4287f0==_0x5601b0(0x25f)?(_0x42d077=Buffer[_0x5601b0(0x1cb)](_0x4287f0),_0x2f1d4e=!0x1):_0x4a5277(_0x4287f0)?(_0x42d077=_0x4287f0[_0x5601b0(0x1f8)],_0x2f1d4e=!0x1):(_0x4287f0=_0x334af8(_0x4287f0),_0x42d077=_0x4287f0[_0x5601b0(0x157)],_0x2f1d4e=_0x334af8[_0x5601b0(0xe0)]),_0x42d077>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x853020={[_0xd4a250]:_0x42d077,'fin':!0x0,'generateMask':this[_0x5601b0(0x219)],'mask':_0x3108b5,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x2f1d4e,'rsv1':!0x1};_0x4a5277(_0x4287f0)?this[_0x5601b0(0x1c8)]!==_0x51b168?this['enqueue']([this[_0x5601b0(0x21a)],_0x4287f0,!0x1,_0x853020,_0x533fc6]):this[_0x5601b0(0x21a)](_0x4287f0,!0x1,_0x853020,_0x533fc6):this['_state']!==_0x51b168?this[_0x5601b0(0x16c)]([this[_0x5601b0(0x10f)],_0x4287f0,!0x1,_0x853020,_0x533fc6]):this[_0x5601b0(0x19c)](_0x2480e5[_0x5601b0(0x260)](_0x4287f0,_0x853020),_0x533fc6);}['send'](_0x54dd5e,_0x412092,_0x35c316){const _0x249767=_0xbf3826,_0x52733a=this[_0x249767(0xf2)][_0x4883d6[_0x249767(0x155)]];let _0x569ccb=_0x412092[_0x249767(0x160)]?0x2:0x1,_0x451da3=_0x412092[_0x249767(0x149)],_0x466008,_0x10715b;typeof _0x54dd5e==_0x249767(0x25f)?(_0x466008=Buffer[_0x249767(0x1cb)](_0x54dd5e),_0x10715b=!0x1):_0x4a5277(_0x54dd5e)?(_0x466008=_0x54dd5e[_0x249767(0x1f8)],_0x10715b=!0x1):(_0x54dd5e=_0x334af8(_0x54dd5e),_0x466008=_0x54dd5e[_0x249767(0x157)],_0x10715b=_0x334af8[_0x249767(0xe0)]),this[_0x249767(0x22e)]?(this['_firstFragment']=!0x1,_0x451da3&&_0x52733a&&_0x52733a[_0x249767(0x184)][_0x52733a['_isServer']?'server_no_context_takeover':'client_no_context_takeover']&&(_0x451da3=_0x466008>=_0x52733a['_threshold']),this[_0x249767(0x258)]=_0x451da3):(_0x451da3=!0x1,_0x569ccb=0x0),_0x412092[_0x249767(0x150)]&&(this[_0x249767(0x22e)]=!0x0);const _0x5dcda1={[_0xd4a250]:_0x466008,'fin':_0x412092[_0x249767(0x150)],'generateMask':this[_0x249767(0x219)],'mask':_0x412092[_0x249767(0x1a6)],'maskBuffer':this[_0x249767(0x231)],'opcode':_0x569ccb,'readOnly':_0x10715b,'rsv1':_0x451da3};_0x4a5277(_0x54dd5e)?this['_state']!==_0x51b168?this[_0x249767(0x16c)]([this[_0x249767(0x21a)],_0x54dd5e,this[_0x249767(0x258)],_0x5dcda1,_0x35c316]):this['getBlobData'](_0x54dd5e,this['_compress'],_0x5dcda1,_0x35c316):this[_0x249767(0x1c8)]!==_0x51b168?this[_0x249767(0x16c)]([this['dispatch'],_0x54dd5e,this[_0x249767(0x258)],_0x5dcda1,_0x35c316]):this[_0x249767(0x10f)](_0x54dd5e,this[_0x249767(0x258)],_0x5dcda1,_0x35c316);}['getBlobData'](_0xbb7790,_0x23a28c,_0xbafce1,_0xbb0379){const _0x7cda3d=_0xbf3826;this[_0x7cda3d(0x1aa)]+=_0xbafce1[_0xd4a250],this[_0x7cda3d(0x1c8)]=_0x5984d5,_0xbb7790[_0x7cda3d(0x187)]()[_0x7cda3d(0x10b)](_0x58683d=>{const _0x26e774=_0x7cda3d;if(this[_0x26e774(0x203)][_0x26e774(0x1d4)]){const _0x44ed6d=new Error(_0x26e774(0x131));process[_0x26e774(0x1be)](_0x5ae845,this,_0x44ed6d,_0xbb0379);return;}this['_bufferedBytes']-=_0xbafce1[_0xd4a250];const _0x25f94f=_0x334af8(_0x58683d);_0x23a28c?this[_0x26e774(0x10f)](_0x25f94f,_0x23a28c,_0xbafce1,_0xbb0379):(this[_0x26e774(0x1c8)]=_0x51b168,this[_0x26e774(0x19c)](_0x2480e5[_0x26e774(0x260)](_0x25f94f,_0xbafce1),_0xbb0379),this[_0x26e774(0x172)]());})[_0x7cda3d(0x246)](_0x43badb=>{const _0x3e3909=_0x7cda3d;process[_0x3e3909(0x1be)](_0x38884b,this,_0x43badb,_0xbb0379);});}[_0xbf3826(0x10f)](_0x1a3647,_0x4c3db1,_0x279438,_0x2a0766){const _0x4c4b76=_0xbf3826;if(!_0x4c3db1){this[_0x4c4b76(0x19c)](_0x2480e5[_0x4c4b76(0x260)](_0x1a3647,_0x279438),_0x2a0766);return;}const _0x2d366a=this[_0x4c4b76(0xf2)][_0x4883d6[_0x4c4b76(0x155)]];this[_0x4c4b76(0x1aa)]+=_0x279438[_0xd4a250],this['_state']=_0xd103e6,_0x2d366a['compress'](_0x1a3647,_0x279438['fin'],(_0x2173e9,_0x1aad52)=>{const _0x16706c=_0x4c4b76;if(this[_0x16706c(0x203)][_0x16706c(0x1d4)]){const _0x71bbad=new Error(_0x16706c(0x17c));_0x5ae845(this,_0x71bbad,_0x2a0766);return;}this[_0x16706c(0x1aa)]-=_0x279438[_0xd4a250],this[_0x16706c(0x1c8)]=_0x51b168,_0x279438['readOnly']=!0x1,this[_0x16706c(0x19c)](_0x2480e5[_0x16706c(0x260)](_0x1aad52,_0x279438),_0x2a0766),this[_0x16706c(0x172)]();});}[_0xbf3826(0x172)](){const _0xd9ffe7=_0xbf3826;for(;this[_0xd9ffe7(0x1c8)]===_0x51b168&&this[_0xd9ffe7(0x13e)][_0xd9ffe7(0x157)];){const _0x5269eb=this['_queue'][_0xd9ffe7(0x24a)]();this[_0xd9ffe7(0x1aa)]-=_0x5269eb[0x3][_0xd4a250],Reflect[_0xd9ffe7(0x1d5)](_0x5269eb[0x0],this,_0x5269eb[_0xd9ffe7(0x16f)](0x1));}}[_0xbf3826(0x16c)](_0x331439){const _0x58f3f1=_0xbf3826;this[_0x58f3f1(0x1aa)]+=_0x331439[0x3][_0xd4a250],this[_0x58f3f1(0x13e)][_0x58f3f1(0x1e7)](_0x331439);}[_0xbf3826(0x19c)](_0x3d6c55,_0x4e361e){const _0x1efae1=_0xbf3826;_0x3d6c55[_0x1efae1(0x157)]===0x2?(this[_0x1efae1(0x203)][_0x1efae1(0x22b)](),this['_socket'][_0x1efae1(0xff)](_0x3d6c55[0x0]),this[_0x1efae1(0x203)]['write'](_0x3d6c55[0x1],_0x4e361e),this[_0x1efae1(0x203)]['uncork']()):this[_0x1efae1(0x203)]['write'](_0x3d6c55[0x0],_0x4e361e);}}Ee=_0x2480e5;function _0x5ae845(_0x56b0af,_0x419227,_0x30eb19){const _0x59a90d=_0xbf3826;typeof _0x30eb19==_0x59a90d(0x1ec)&&_0x30eb19(_0x419227);for(let _0xd5549f=0x0;_0xd5549f<_0x56b0af['_queue'][_0x59a90d(0x157)];_0xd5549f++){const _0x37106b=_0x56b0af['_queue'][_0xd5549f],_0x49214f=_0x37106b[_0x37106b[_0x59a90d(0x157)]-0x1];typeof _0x49214f==_0x59a90d(0x1ec)&&_0x49214f(_0x419227);}}function _0x38884b(_0x1a44bb,_0x308d13,_0x2635ee){const _0x44b262=_0xbf3826;_0x5ae845(_0x1a44bb,_0x308d13,_0x2635ee),_0x1a44bb[_0x44b262(0x132)](_0x308d13);}return Ee;}var xe,tt;function Kt(){const _0x1abf76=_0x4638d0;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x492f5c,kListener:_0x42daee}=V(),_0x17d72b=Symbol('kCode'),_0x4a0f12=Symbol(_0x1abf76(0x1a2)),_0x4cefd9=Symbol('kError'),_0x5e9982=Symbol(_0x1abf76(0xed)),_0x1a5af3=Symbol('kReason'),_0x2ca629=Symbol(_0x1abf76(0x253)),_0x1f182a=Symbol('kType'),_0xf92cb3=Symbol(_0x1abf76(0x1d2));class _0x14452c{constructor(_0x94b79f){this[_0x2ca629]=null,this[_0x1f182a]=_0x94b79f;}get[_0x1abf76(0x22d)](){return this[_0x2ca629];}get[_0x1abf76(0x1cd)](){return this[_0x1f182a];}}Object[_0x1abf76(0x202)](_0x14452c['prototype'],_0x1abf76(0x22d),{'enumerable':!0x0}),Object['defineProperty'](_0x14452c[_0x1abf76(0x210)],_0x1abf76(0x1cd),{'enumerable':!0x0});class _0x8d4de4 extends _0x14452c{constructor(_0x5ef8ac,_0x319f22={}){const _0x4b554e=_0x1abf76;super(_0x5ef8ac),this[_0x17d72b]=_0x319f22[_0x4b554e(0xf8)]===void 0x0?0x0:_0x319f22[_0x4b554e(0xf8)],this[_0x1a5af3]=_0x319f22[_0x4b554e(0x1b3)]===void 0x0?'':_0x319f22[_0x4b554e(0x1b3)],this[_0xf92cb3]=_0x319f22[_0x4b554e(0x101)]===void 0x0?!0x1:_0x319f22[_0x4b554e(0x101)];}get[_0x1abf76(0xf8)](){return this[_0x17d72b];}get[_0x1abf76(0x1b3)](){return this[_0x1a5af3];}get[_0x1abf76(0x101)](){return this[_0xf92cb3];}}Object[_0x1abf76(0x202)](_0x8d4de4[_0x1abf76(0x210)],_0x1abf76(0xf8),{'enumerable':!0x0}),Object['defineProperty'](_0x8d4de4[_0x1abf76(0x210)],_0x1abf76(0x1b3),{'enumerable':!0x0}),Object['defineProperty'](_0x8d4de4[_0x1abf76(0x210)],'wasClean',{'enumerable':!0x0});class _0x1a2517 extends _0x14452c{constructor(_0xf554bb,_0x385b48={}){const _0x2a8f88=_0x1abf76;super(_0xf554bb),this[_0x4cefd9]=_0x385b48[_0x2a8f88(0x1fb)]===void 0x0?null:_0x385b48[_0x2a8f88(0x1fb)],this[_0x5e9982]=_0x385b48[_0x2a8f88(0x1b5)]===void 0x0?'':_0x385b48[_0x2a8f88(0x1b5)];}get['error'](){return this[_0x4cefd9];}get[_0x1abf76(0x1b5)](){return this[_0x5e9982];}}Object['defineProperty'](_0x1a2517[_0x1abf76(0x210)],'error',{'enumerable':!0x0}),Object[_0x1abf76(0x202)](_0x1a2517['prototype'],_0x1abf76(0x1b5),{'enumerable':!0x0});class _0x3fed1f extends _0x14452c{constructor(_0x5ea15e,_0x35e11f={}){const _0x50662f=_0x1abf76;super(_0x5ea15e),this[_0x4a0f12]=_0x35e11f[_0x50662f(0x142)]===void 0x0?null:_0x35e11f['data'];}get[_0x1abf76(0x142)](){return this[_0x4a0f12];}}Object[_0x1abf76(0x202)](_0x3fed1f[_0x1abf76(0x210)],'data',{'enumerable':!0x0}),xe={'CloseEvent':_0x8d4de4,'ErrorEvent':_0x1a2517,'Event':_0x14452c,'EventTarget':{'addEventListener'(_0x35ded8,_0xbf0861,_0x569496={}){const _0x342468=_0x1abf76;for(const _0x50e563 of this[_0x342468(0x106)](_0x35ded8))if(!_0x569496[_0x492f5c]&&_0x50e563[_0x42daee]===_0xbf0861&&!_0x50e563[_0x492f5c])return;let _0x14cd5e;if(_0x35ded8==='message')_0x14cd5e=function(_0x59928a,_0x3d72de){const _0x1d52ed=_0x342468,_0x354ec6=new _0x3fed1f(_0x1d52ed(0x1b5),{'data':_0x3d72de?_0x59928a:_0x59928a[_0x1d52ed(0x1f1)]()});_0x354ec6[_0x2ca629]=this,_0x4f19e1(_0xbf0861,this,_0x354ec6);};else{if(_0x35ded8===_0x342468(0x178))_0x14cd5e=function(_0x2f946c,_0x355185){const _0x197846=_0x342468,_0x163160=new _0x8d4de4(_0x197846(0x178),{'code':_0x2f946c,'reason':_0x355185['toString'](),'wasClean':this[_0x197846(0x24e)]&&this['_closeFrameSent']});_0x163160[_0x2ca629]=this,_0x4f19e1(_0xbf0861,this,_0x163160);};else{if(_0x35ded8==='error')_0x14cd5e=function(_0x41fb4d){const _0x46d3a1=_0x342468,_0x318bfc=new _0x1a2517('error',{'error':_0x41fb4d,'message':_0x41fb4d[_0x46d3a1(0x1b5)]});_0x318bfc[_0x2ca629]=this,_0x4f19e1(_0xbf0861,this,_0x318bfc);};else{if(_0x35ded8===_0x342468(0x146))_0x14cd5e=function(){const _0x45c402=_0x342468,_0x38e0fc=new _0x14452c(_0x45c402(0x146));_0x38e0fc[_0x2ca629]=this,_0x4f19e1(_0xbf0861,this,_0x38e0fc);};else return;}}}_0x14cd5e[_0x492f5c]=!!_0x569496[_0x492f5c],_0x14cd5e[_0x42daee]=_0xbf0861,_0x569496['once']?this[_0x342468(0x19a)](_0x35ded8,_0x14cd5e):this['on'](_0x35ded8,_0x14cd5e);},'removeEventListener'(_0x29b696,_0x4bb884){const _0x22c2d9=_0x1abf76;for(const _0x281c01 of this[_0x22c2d9(0x106)](_0x29b696))if(_0x281c01[_0x42daee]===_0x4bb884&&!_0x281c01[_0x492f5c]){this[_0x22c2d9(0x11d)](_0x29b696,_0x281c01);break;}}},'MessageEvent':_0x3fed1f};function _0x4f19e1(_0x34cbcc,_0x8fc951,_0xb81eac){const _0x26ae30=_0x1abf76;typeof _0x34cbcc==_0x26ae30(0x1af)&&_0x34cbcc[_0x26ae30(0x1f3)]?_0x34cbcc[_0x26ae30(0x1f3)]['call'](_0x34cbcc,_0xb81eac):_0x34cbcc[_0x26ae30(0x15d)](_0x8fc951,_0xb81eac);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x26e664}=ne();function _0x4941f7(_0x4e2eba,_0x36cf71,_0x49bc13){const _0x64dbcf=_0x4f97;_0x4e2eba[_0x36cf71]===void 0x0?_0x4e2eba[_0x36cf71]=[_0x49bc13]:_0x4e2eba[_0x36cf71][_0x64dbcf(0x1e7)](_0x49bc13);}function _0x1b05d9(_0x17abd0){const _0x5a6d72=_0x4f97,_0x3f2fc4=Object[_0x5a6d72(0x26e)](null);let _0x113a86=Object[_0x5a6d72(0x26e)](null),_0x82513c=!0x1,_0x4babc7=!0x1,_0x540a13=!0x1,_0x5cb12f,_0xef9bb8,_0x285709=-0x1,_0xb2c231=-0x1,_0x539625=-0x1,_0xad2d71=0x0;for(;_0xad2d71<_0x17abd0['length'];_0xad2d71++)if(_0xb2c231=_0x17abd0['charCodeAt'](_0xad2d71),_0x5cb12f===void 0x0){if(_0x539625===-0x1&&_0x26e664[_0xb2c231]===0x1)_0x285709===-0x1&&(_0x285709=_0xad2d71);else{if(_0xad2d71!==0x0&&(_0xb2c231===0x20||_0xb2c231===0x9))_0x539625===-0x1&&_0x285709!==-0x1&&(_0x539625=_0xad2d71);else{if(_0xb2c231===0x3b||_0xb2c231===0x2c){if(_0x285709===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0xad2d71);_0x539625===-0x1&&(_0x539625=_0xad2d71);const _0x2db2fe=_0x17abd0[_0x5a6d72(0x16f)](_0x285709,_0x539625);_0xb2c231===0x2c?(_0x4941f7(_0x3f2fc4,_0x2db2fe,_0x113a86),_0x113a86=Object[_0x5a6d72(0x26e)](null)):_0x5cb12f=_0x2db2fe,_0x285709=_0x539625=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0xad2d71);}}}else{if(_0xef9bb8===void 0x0){if(_0x539625===-0x1&&_0x26e664[_0xb2c231]===0x1)_0x285709===-0x1&&(_0x285709=_0xad2d71);else{if(_0xb2c231===0x20||_0xb2c231===0x9)_0x539625===-0x1&&_0x285709!==-0x1&&(_0x539625=_0xad2d71);else{if(_0xb2c231===0x3b||_0xb2c231===0x2c){if(_0x285709===-0x1)throw new SyntaxError(_0x5a6d72(0x1fa)+_0xad2d71);_0x539625===-0x1&&(_0x539625=_0xad2d71),_0x4941f7(_0x113a86,_0x17abd0[_0x5a6d72(0x16f)](_0x285709,_0x539625),!0x0),_0xb2c231===0x2c&&(_0x4941f7(_0x3f2fc4,_0x5cb12f,_0x113a86),_0x113a86=Object[_0x5a6d72(0x26e)](null),_0x5cb12f=void 0x0),_0x285709=_0x539625=-0x1;}else{if(_0xb2c231===0x3d&&_0x285709!==-0x1&&_0x539625===-0x1)_0xef9bb8=_0x17abd0[_0x5a6d72(0x16f)](_0x285709,_0xad2d71),_0x285709=_0x539625=-0x1;else throw new SyntaxError(_0x5a6d72(0x1fa)+_0xad2d71);}}}}else{if(_0x4babc7){if(_0x26e664[_0xb2c231]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0xad2d71);_0x285709===-0x1?_0x285709=_0xad2d71:_0x82513c||(_0x82513c=!0x0),_0x4babc7=!0x1;}else{if(_0x540a13){if(_0x26e664[_0xb2c231]===0x1)_0x285709===-0x1&&(_0x285709=_0xad2d71);else{if(_0xb2c231===0x22&&_0x285709!==-0x1)_0x540a13=!0x1,_0x539625=_0xad2d71;else{if(_0xb2c231===0x5c)_0x4babc7=!0x0;else throw new SyntaxError(_0x5a6d72(0x1fa)+_0xad2d71);}}}else{if(_0xb2c231===0x22&&_0x17abd0[_0x5a6d72(0x112)](_0xad2d71-0x1)===0x3d)_0x540a13=!0x0;else{if(_0x539625===-0x1&&_0x26e664[_0xb2c231]===0x1)_0x285709===-0x1&&(_0x285709=_0xad2d71);else{if(_0x285709!==-0x1&&(_0xb2c231===0x20||_0xb2c231===0x9))_0x539625===-0x1&&(_0x539625=_0xad2d71);else{if(_0xb2c231===0x3b||_0xb2c231===0x2c){if(_0x285709===-0x1)throw new SyntaxError(_0x5a6d72(0x1fa)+_0xad2d71);_0x539625===-0x1&&(_0x539625=_0xad2d71);let _0x52f056=_0x17abd0[_0x5a6d72(0x16f)](_0x285709,_0x539625);_0x82513c&&(_0x52f056=_0x52f056[_0x5a6d72(0x145)](/\\/g,''),_0x82513c=!0x1),_0x4941f7(_0x113a86,_0xef9bb8,_0x52f056),_0xb2c231===0x2c&&(_0x4941f7(_0x3f2fc4,_0x5cb12f,_0x113a86),_0x113a86=Object['create'](null),_0x5cb12f=void 0x0),_0xef9bb8=void 0x0,_0x285709=_0x539625=-0x1;}else throw new SyntaxError(_0x5a6d72(0x1fa)+_0xad2d71);}}}}}}}if(_0x285709===-0x1||_0x540a13||_0xb2c231===0x20||_0xb2c231===0x9)throw new SyntaxError(_0x5a6d72(0x153));_0x539625===-0x1&&(_0x539625=_0xad2d71);const _0x15377c=_0x17abd0[_0x5a6d72(0x16f)](_0x285709,_0x539625);return _0x5cb12f===void 0x0?_0x4941f7(_0x3f2fc4,_0x15377c,_0x113a86):(_0xef9bb8===void 0x0?_0x4941f7(_0x113a86,_0x15377c,!0x0):_0x82513c?_0x4941f7(_0x113a86,_0xef9bb8,_0x15377c['replace'](/\\/g,'')):_0x4941f7(_0x113a86,_0xef9bb8,_0x15377c),_0x4941f7(_0x3f2fc4,_0x5cb12f,_0x113a86)),_0x3f2fc4;}function _0x44718d(_0x53cfda){const _0x4a68a8=_0x4f97;return Object[_0x4a68a8(0x15a)](_0x53cfda)[_0x4a68a8(0x21e)](_0x436d8a=>{const _0x377334=_0x4a68a8;let _0x58d217=_0x53cfda[_0x436d8a];return Array[_0x377334(0xdd)](_0x58d217)||(_0x58d217=[_0x58d217]),_0x58d217[_0x377334(0x21e)](_0x49b73e=>[_0x436d8a][_0x377334(0x215)](Object['keys'](_0x49b73e)[_0x377334(0x21e)](_0x4a65a5=>{const _0x5aa812=_0x377334;let _0x3c4125=_0x49b73e[_0x4a65a5];return Array['isArray'](_0x3c4125)||(_0x3c4125=[_0x3c4125]),_0x3c4125[_0x5aa812(0x21e)](_0x30e219=>_0x30e219===!0x0?_0x4a65a5:_0x4a65a5+'='+_0x30e219)[_0x5aa812(0xd4)](';\x20');}))[_0x377334(0xd4)](';\x20'))[_0x377334(0xd4)](',\x20');})[_0x4a68a8(0xd4)](',\x20');}return be={'format':_0x44718d,'parse':_0x1b05d9},be;}var we,st;function Ie(){const _0x387005=_0x4638d0;if(st)return we;st=0x1;const _0x3dbb8=_0x11fb4c,_0x3a213a=_0x11e2bf,_0x2f0dfd=_0x15900a,_0xedbd=_0x1d930d,_0x30c066=_0x4d278b,{randomBytes:_0xcd1295,createHash:_0x346617}=_0x5572b2,{Duplex:_0xf21474,Readable:_0x4a2def}=_0x1595d9,{URL:_0x5775a2}=_0x1e6f5d,_0x1f1692=he(),_0x2195c6=dt(),_0x4bad27=_t(),{isBlob:_0x21a7ee}=ne(),{BINARY_TYPES:_0x3d5674,EMPTY_BUFFER:_0x41c9e1,GUID:_0x4a2a45,kForOnEventAttribute:_0x122c18,kListener:_0x279963,kStatusCode:_0x2047fc,kWebSocket:_0x2f2d3a,NOOP:_0x3460a6}=V(),{EventTarget:{addEventListener:_0x5b5506,removeEventListener:_0x44bbfe}}=Kt(),{format:_0x3668fe,parse:_0x598e46}=pt(),{toBuffer:_0x4ef00f}=ce(),_0xb3025b=0x1e*0x3e8,_0x4ecc06=Symbol(_0x387005(0x159)),_0x56ccee=[0x8,0xd],_0x13faf2=[_0x387005(0x234),'OPEN',_0x387005(0x10c),'CLOSED'],_0x5d10a1=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x47c1da extends _0x3dbb8{constructor(_0x2ee0b4,_0x18cfa2,_0x5cfadb){const _0x21363b=_0x387005;super(),this[_0x21363b(0x259)]=_0x3d5674[0x0],this[_0x21363b(0x19e)]=0x3ee,this[_0x21363b(0x24e)]=!0x1,this['_closeFrameSent']=!0x1,this[_0x21363b(0x11e)]=_0x41c9e1,this[_0x21363b(0x164)]=null,this[_0x21363b(0x154)]=!0x1,this['_extensions']={},this['_paused']=!0x1,this[_0x21363b(0x109)]='',this[_0x21363b(0x12d)]=_0x47c1da['CONNECTING'],this[_0x21363b(0x278)]=null,this[_0x21363b(0x163)]=null,this[_0x21363b(0x203)]=null,_0x2ee0b4!==null?(this[_0x21363b(0x25e)]=0x0,this[_0x21363b(0x118)]=!0x1,this[_0x21363b(0x24d)]=0x0,_0x18cfa2===void 0x0?_0x18cfa2=[]:Array[_0x21363b(0xdd)](_0x18cfa2)||(typeof _0x18cfa2==_0x21363b(0x1af)&&_0x18cfa2!==null?(_0x5cfadb=_0x18cfa2,_0x18cfa2=[]):_0x18cfa2=[_0x18cfa2]),_0x5f1cf3(this,_0x2ee0b4,_0x18cfa2,_0x5cfadb)):(this[_0x21363b(0x128)]=_0x5cfadb['autoPong'],this[_0x21363b(0x118)]=!0x0);}get['binaryType'](){const _0x6cfc34=_0x387005;return this[_0x6cfc34(0x259)];}set[_0x387005(0x190)](_0x40da2b){const _0x18788b=_0x387005;_0x3d5674[_0x18788b(0x27b)](_0x40da2b)&&(this[_0x18788b(0x259)]=_0x40da2b,this[_0x18788b(0x278)]&&(this[_0x18788b(0x278)][_0x18788b(0x259)]=_0x40da2b));}get[_0x387005(0x1f7)](){const _0x6517e0=_0x387005;return this[_0x6517e0(0x203)]?this[_0x6517e0(0x203)][_0x6517e0(0xdc)]['length']+this[_0x6517e0(0x163)]['_bufferedBytes']:this[_0x6517e0(0x25e)];}get[_0x387005(0x17d)](){const _0xaf304c=_0x387005;return Object['keys'](this['_extensions'])[_0xaf304c(0xd4)]();}get[_0x387005(0x125)](){const _0x8fae43=_0x387005;return this[_0x8fae43(0x102)];}get[_0x387005(0x124)](){return null;}get[_0x387005(0x132)](){return null;}get[_0x387005(0x12f)](){return null;}get[_0x387005(0x1b8)](){return null;}get[_0x387005(0x1e2)](){const _0x432044=_0x387005;return this[_0x432044(0x109)];}get[_0x387005(0x271)](){const _0x4c6385=_0x387005;return this[_0x4c6385(0x12d)];}get['url'](){const _0x25d6f3=_0x387005;return this[_0x25d6f3(0x25d)];}[_0x387005(0x169)](_0x595711,_0x87adbc,_0x20ff6a){const _0x571b68=_0x387005,_0x32a177=new _0x2195c6({'allowSynchronousEvents':_0x20ff6a[_0x571b68(0x26b)],'binaryType':this[_0x571b68(0x190)],'extensions':this[_0x571b68(0xf2)],'isServer':this['_isServer'],'maxPayload':_0x20ff6a[_0x571b68(0x1a0)],'skipUTF8Validation':_0x20ff6a[_0x571b68(0x188)]}),_0xc14f15=new _0x4bad27(_0x595711,this[_0x571b68(0xf2)],_0x20ff6a['generateMask']);this['_receiver']=_0x32a177,this[_0x571b68(0x163)]=_0xc14f15,this[_0x571b68(0x203)]=_0x595711,_0x32a177[_0x2f2d3a]=this,_0xc14f15[_0x2f2d3a]=this,_0x595711[_0x2f2d3a]=this,_0x32a177['on'](_0x571b68(0x130),_0x399114),_0x32a177['on']('drain',_0x1cd710),_0x32a177['on'](_0x571b68(0x1fb),_0x126d2a),_0x32a177['on'](_0x571b68(0x1b5),_0x375d42),_0x32a177['on']('ping',_0x31f91f),_0x32a177['on'](_0x571b68(0x240),_0x581120),_0xc14f15[_0x571b68(0x132)]=_0x247a4d,_0x595711['setTimeout']&&_0x595711[_0x571b68(0x165)](0x0),_0x595711[_0x571b68(0xe3)]&&_0x595711['setNoDelay'](),_0x87adbc['length']>0x0&&_0x595711[_0x571b68(0x280)](_0x87adbc),_0x595711['on']('close',_0x54f41f),_0x595711['on'](_0x571b68(0x142),_0x3dce4f),_0x595711['on'](_0x571b68(0x20d),_0x30b30b),_0x595711['on'](_0x571b68(0x1fb),_0xbfa5a7),this[_0x571b68(0x12d)]=_0x47c1da[_0x571b68(0x21f)],this[_0x571b68(0x1dc)]('open');}[_0x387005(0x261)](){const _0x2c97b5=_0x387005;if(!this[_0x2c97b5(0x203)]){this[_0x2c97b5(0x12d)]=_0x47c1da[_0x2c97b5(0x196)],this['emit'](_0x2c97b5(0x178),this[_0x2c97b5(0x19e)],this[_0x2c97b5(0x11e)]);return;}this['_extensions'][_0x1f1692[_0x2c97b5(0x155)]]&&this[_0x2c97b5(0xf2)][_0x1f1692[_0x2c97b5(0x155)]][_0x2c97b5(0x11b)](),this['_receiver']['removeAllListeners'](),this[_0x2c97b5(0x12d)]=_0x47c1da['CLOSED'],this[_0x2c97b5(0x1dc)](_0x2c97b5(0x178),this['_closeCode'],this['_closeMessage']);}['close'](_0x42de4f,_0x1d0ce7){const _0x385b0b=_0x387005;if(this[_0x385b0b(0x271)]!==_0x47c1da[_0x385b0b(0x196)]){if(this[_0x385b0b(0x271)]===_0x47c1da['CONNECTING']){_0x19c11d(this,this[_0x385b0b(0x225)],_0x385b0b(0x266));return;}if(this[_0x385b0b(0x271)]===_0x47c1da[_0x385b0b(0x10c)]){this[_0x385b0b(0x25b)]&&(this['_closeFrameReceived']||this[_0x385b0b(0x278)]['_writableState'][_0x385b0b(0x228)])&&this['_socket']['end']();return;}this['_readyState']=_0x47c1da[_0x385b0b(0x10c)],this[_0x385b0b(0x163)]['close'](_0x42de4f,_0x1d0ce7,!this[_0x385b0b(0x118)],_0x197a05=>{const _0x12c7d6=_0x385b0b;_0x197a05||(this[_0x12c7d6(0x25b)]=!0x0,(this[_0x12c7d6(0x24e)]||this[_0x12c7d6(0x278)][_0x12c7d6(0xdc)][_0x12c7d6(0x228)])&&this[_0x12c7d6(0x203)][_0x12c7d6(0x20d)]());}),_0x480bd4(this);}}[_0x387005(0x23f)](){const _0x15473c=_0x387005;this[_0x15473c(0x271)]===_0x47c1da[_0x15473c(0x234)]||this[_0x15473c(0x271)]===_0x47c1da[_0x15473c(0x196)]||(this[_0x15473c(0x102)]=!0x0,this[_0x15473c(0x203)][_0x15473c(0x23f)]());}[_0x387005(0x26c)](_0x44529b,_0x20104a,_0x389036){const _0x3eac4b=_0x387005;if(this[_0x3eac4b(0x271)]===_0x47c1da[_0x3eac4b(0x234)])throw new Error(_0x3eac4b(0x263));if(typeof _0x44529b=='function'?(_0x389036=_0x44529b,_0x44529b=_0x20104a=void 0x0):typeof _0x20104a==_0x3eac4b(0x1ec)&&(_0x389036=_0x20104a,_0x20104a=void 0x0),typeof _0x44529b==_0x3eac4b(0xd7)&&(_0x44529b=_0x44529b[_0x3eac4b(0x1f1)]()),this[_0x3eac4b(0x271)]!==_0x47c1da['OPEN']){_0x4191d9(this,_0x44529b,_0x389036);return;}_0x20104a===void 0x0&&(_0x20104a=!this[_0x3eac4b(0x118)]),this[_0x3eac4b(0x163)][_0x3eac4b(0x26c)](_0x44529b||_0x41c9e1,_0x20104a,_0x389036);}[_0x387005(0x240)](_0x3d7e41,_0x4299fb,_0x2e1146){const _0x467382=_0x387005;if(this[_0x467382(0x271)]===_0x47c1da['CONNECTING'])throw new Error(_0x467382(0x263));if(typeof _0x3d7e41=='function'?(_0x2e1146=_0x3d7e41,_0x3d7e41=_0x4299fb=void 0x0):typeof _0x4299fb==_0x467382(0x1ec)&&(_0x2e1146=_0x4299fb,_0x4299fb=void 0x0),typeof _0x3d7e41==_0x467382(0xd7)&&(_0x3d7e41=_0x3d7e41[_0x467382(0x1f1)]()),this[_0x467382(0x271)]!==_0x47c1da[_0x467382(0x21f)]){_0x4191d9(this,_0x3d7e41,_0x2e1146);return;}_0x4299fb===void 0x0&&(_0x4299fb=!this[_0x467382(0x118)]),this[_0x467382(0x163)]['pong'](_0x3d7e41||_0x41c9e1,_0x4299fb,_0x2e1146);}[_0x387005(0x1e4)](){const _0x1b96a5=_0x387005;this[_0x1b96a5(0x271)]===_0x47c1da[_0x1b96a5(0x234)]||this['readyState']===_0x47c1da['CLOSED']||(this[_0x1b96a5(0x102)]=!0x1,this[_0x1b96a5(0x278)][_0x1b96a5(0xdc)]['needDrain']||this['_socket']['resume']());}[_0x387005(0x1ed)](_0x1db116,_0x240d01,_0x4bee48){const _0x45aa32=_0x387005;if(this[_0x45aa32(0x271)]===_0x47c1da[_0x45aa32(0x234)])throw new Error(_0x45aa32(0x263));if(typeof _0x240d01==_0x45aa32(0x1ec)&&(_0x4bee48=_0x240d01,_0x240d01={}),typeof _0x1db116==_0x45aa32(0xd7)&&(_0x1db116=_0x1db116['toString']()),this[_0x45aa32(0x271)]!==_0x47c1da[_0x45aa32(0x21f)]){_0x4191d9(this,_0x1db116,_0x4bee48);return;}const _0x19baa7={'binary':typeof _0x1db116!=_0x45aa32(0x25f),'mask':!this[_0x45aa32(0x118)],'compress':!0x0,'fin':!0x0,..._0x240d01};this[_0x45aa32(0xf2)][_0x1f1692['extensionName']]||(_0x19baa7[_0x45aa32(0x149)]=!0x1),this[_0x45aa32(0x163)][_0x45aa32(0x1ed)](_0x1db116||_0x41c9e1,_0x19baa7,_0x4bee48);}[_0x387005(0x1ad)](){const _0x2711fe=_0x387005;if(this[_0x2711fe(0x271)]!==_0x47c1da[_0x2711fe(0x196)]){if(this[_0x2711fe(0x271)]===_0x47c1da[_0x2711fe(0x234)]){_0x19c11d(this,this['_req'],_0x2711fe(0x266));return;}this[_0x2711fe(0x203)]&&(this[_0x2711fe(0x12d)]=_0x47c1da[_0x2711fe(0x10c)],this[_0x2711fe(0x203)]['destroy']());}}}Object[_0x387005(0x202)](_0x47c1da,_0x387005(0x234),{'enumerable':!0x0,'value':_0x13faf2[_0x387005(0xe7)]('CONNECTING')}),Object[_0x387005(0x202)](_0x47c1da[_0x387005(0x210)],_0x387005(0x234),{'enumerable':!0x0,'value':_0x13faf2[_0x387005(0xe7)](_0x387005(0x234))}),Object[_0x387005(0x202)](_0x47c1da,_0x387005(0x21f),{'enumerable':!0x0,'value':_0x13faf2[_0x387005(0xe7)](_0x387005(0x21f))}),Object[_0x387005(0x202)](_0x47c1da[_0x387005(0x210)],_0x387005(0x21f),{'enumerable':!0x0,'value':_0x13faf2[_0x387005(0xe7)](_0x387005(0x21f))}),Object[_0x387005(0x202)](_0x47c1da,_0x387005(0x10c),{'enumerable':!0x0,'value':_0x13faf2[_0x387005(0xe7)](_0x387005(0x10c))}),Object[_0x387005(0x202)](_0x47c1da[_0x387005(0x210)],'CLOSING',{'enumerable':!0x0,'value':_0x13faf2[_0x387005(0xe7)](_0x387005(0x10c))}),Object[_0x387005(0x202)](_0x47c1da,_0x387005(0x196),{'enumerable':!0x0,'value':_0x13faf2[_0x387005(0xe7)](_0x387005(0x196))}),Object[_0x387005(0x202)](_0x47c1da[_0x387005(0x210)],_0x387005(0x196),{'enumerable':!0x0,'value':_0x13faf2[_0x387005(0xe7)](_0x387005(0x196))}),['binaryType',_0x387005(0x1f7),_0x387005(0x17d),'isPaused',_0x387005(0x1e2),_0x387005(0x271),_0x387005(0x1ef)][_0x387005(0x1dd)](_0x2d14c7=>{const _0x54e762=_0x387005;Object[_0x54e762(0x202)](_0x47c1da[_0x54e762(0x210)],_0x2d14c7,{'enumerable':!0x0});}),['open',_0x387005(0x1fb),_0x387005(0x178),_0x387005(0x1b5)]['forEach'](_0xb4b7ef=>{const _0xe1ba5a=_0x387005;Object[_0xe1ba5a(0x202)](_0x47c1da[_0xe1ba5a(0x210)],'on'+_0xb4b7ef,{'enumerable':!0x0,'get'(){for(const _0x3a1a44 of this['listeners'](_0xb4b7ef))if(_0x3a1a44[_0x122c18])return _0x3a1a44[_0x279963];return null;},'set'(_0x19ee14){const _0x32714a=_0xe1ba5a;for(const _0x3cef71 of this[_0x32714a(0x106)](_0xb4b7ef))if(_0x3cef71[_0x122c18]){this['removeListener'](_0xb4b7ef,_0x3cef71);break;}typeof _0x19ee14==_0x32714a(0x1ec)&&this[_0x32714a(0xe5)](_0xb4b7ef,_0x19ee14,{[_0x122c18]:!0x0});}});}),_0x47c1da[_0x387005(0x210)][_0x387005(0xe5)]=_0x5b5506,_0x47c1da['prototype'][_0x387005(0x135)]=_0x44bbfe,we=_0x47c1da;function _0x5f1cf3(_0x80e6cf,_0x59af5d,_0x88c9ef,_0x12bf2b){const _0x25bec3=_0x387005,_0x493449={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x56ccee[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x12bf2b,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x80e6cf[_0x25bec3(0x128)]=_0x493449[_0x25bec3(0x104)],!_0x56ccee[_0x25bec3(0x27b)](_0x493449['protocolVersion']))throw new RangeError(_0x25bec3(0x27d)+_0x493449['protocolVersion']+_0x25bec3(0x23d)+_0x56ccee['join'](',\x20')+')');let _0x4dea34;if(_0x59af5d instanceof _0x5775a2)_0x4dea34=_0x59af5d;else try{_0x4dea34=new _0x5775a2(_0x59af5d);}catch{throw new SyntaxError(_0x25bec3(0x1ee)+_0x59af5d);}_0x4dea34[_0x25bec3(0x1e2)]===_0x25bec3(0x214)?_0x4dea34[_0x25bec3(0x1e2)]='ws:':_0x4dea34[_0x25bec3(0x1e2)]==='https:'&&(_0x4dea34['protocol']='wss:'),_0x80e6cf[_0x25bec3(0x25d)]=_0x4dea34[_0x25bec3(0x1b4)];const _0x4b26f1=_0x4dea34['protocol']===_0x25bec3(0x13a),_0xb2625e=_0x4dea34['protocol']===_0x25bec3(0x134);let _0x1f1022;if(_0x4dea34[_0x25bec3(0x1e2)]!==_0x25bec3(0xfc)&&!_0x4b26f1&&!_0xb2625e?_0x1f1022=_0x25bec3(0x25a):_0xb2625e&&!_0x4dea34[_0x25bec3(0x180)]?_0x1f1022='The\x20URL\x27s\x20pathname\x20is\x20empty':_0x4dea34[_0x25bec3(0x166)]&&(_0x1f1022=_0x25bec3(0x236)),_0x1f1022){const _0x463323=new SyntaxError(_0x1f1022);if(_0x80e6cf[_0x25bec3(0x24d)]===0x0)throw _0x463323;_0x294188(_0x80e6cf,_0x463323);return;}const _0x476e10=_0x4b26f1?0x1bb:0x50,_0x4bca63=_0xcd1295(0x10)[_0x25bec3(0x1f1)](_0x25bec3(0x1da)),_0x18d5dd=_0x4b26f1?_0x3a213a[_0x25bec3(0x217)]:_0x2f0dfd[_0x25bec3(0x217)],_0x45b70c=new Set();let _0x50783c;if(_0x493449[_0x25bec3(0x14b)]=_0x493449[_0x25bec3(0x14b)]||(_0x4b26f1?_0x2d1cdd:_0x1a0ce6),_0x493449[_0x25bec3(0x1c1)]=_0x493449[_0x25bec3(0x1c1)]||_0x476e10,_0x493449[_0x25bec3(0x140)]=_0x4dea34[_0x25bec3(0x140)]||_0x476e10,_0x493449[_0x25bec3(0x254)]=_0x4dea34[_0x25bec3(0x17e)][_0x25bec3(0x116)]('[')?_0x4dea34[_0x25bec3(0x17e)][_0x25bec3(0x16f)](0x1,-0x1):_0x4dea34[_0x25bec3(0x17e)],_0x493449[_0x25bec3(0x119)]={..._0x493449['headers'],'Sec-WebSocket-Version':_0x493449['protocolVersion'],'Sec-WebSocket-Key':_0x4bca63,'Connection':_0x25bec3(0x20e),'Upgrade':_0x25bec3(0x18e)},_0x493449['path']=_0x4dea34[_0x25bec3(0x180)]+_0x4dea34[_0x25bec3(0x16e)],_0x493449[_0x25bec3(0x25c)]=_0x493449[_0x25bec3(0x255)],_0x493449[_0x25bec3(0x208)]&&(_0x50783c=new _0x1f1692(_0x493449[_0x25bec3(0x208)]!==!0x0?_0x493449['perMessageDeflate']:{},!0x1,_0x493449[_0x25bec3(0x1a0)]),_0x493449[_0x25bec3(0x119)][_0x25bec3(0x1d6)]=_0x3668fe({[_0x1f1692[_0x25bec3(0x155)]]:_0x50783c['offer']()})),_0x88c9ef[_0x25bec3(0x157)]){for(const _0x568135 of _0x88c9ef){if(typeof _0x568135!=_0x25bec3(0x25f)||!_0x5d10a1[_0x25bec3(0x274)](_0x568135)||_0x45b70c[_0x25bec3(0x18b)](_0x568135))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x45b70c[_0x25bec3(0x242)](_0x568135);}_0x493449[_0x25bec3(0x119)][_0x25bec3(0xfd)]=_0x88c9ef[_0x25bec3(0xd4)](',');}if(_0x493449['origin']&&(_0x493449['protocolVersion']<0xd?_0x493449[_0x25bec3(0x119)]['Sec-WebSocket-Origin']=_0x493449[_0x25bec3(0x23c)]:_0x493449[_0x25bec3(0x119)][_0x25bec3(0x19b)]=_0x493449[_0x25bec3(0x23c)]),(_0x4dea34[_0x25bec3(0x138)]||_0x4dea34['password'])&&(_0x493449[_0x25bec3(0x223)]=_0x4dea34['username']+':'+_0x4dea34[_0x25bec3(0xfe)]),_0xb2625e){const _0x204e6f=_0x493449[_0x25bec3(0x226)][_0x25bec3(0x1f4)](':');_0x493449[_0x25bec3(0x1c7)]=_0x204e6f[0x0],_0x493449[_0x25bec3(0x226)]=_0x204e6f[0x1];}let _0x3b9e99;if(_0x493449[_0x25bec3(0x143)]){if(_0x80e6cf[_0x25bec3(0x24d)]===0x0){_0x80e6cf[_0x25bec3(0xee)]=_0xb2625e,_0x80e6cf[_0x25bec3(0x270)]=_0x4b26f1,_0x80e6cf[_0x25bec3(0x227)]=_0xb2625e?_0x493449[_0x25bec3(0x1c7)]:_0x4dea34['host'];const _0x223996=_0x12bf2b&&_0x12bf2b[_0x25bec3(0x119)];if(_0x12bf2b={..._0x12bf2b,'headers':{}},_0x223996){for(const [_0x401b94,_0x9c7af6]of Object[_0x25bec3(0x1b1)](_0x223996))_0x12bf2b[_0x25bec3(0x119)][_0x401b94[_0x25bec3(0xef)]()]=_0x9c7af6;}}else{if(_0x80e6cf[_0x25bec3(0x1f5)](_0x25bec3(0x18f))===0x0){const _0x198ba2=_0xb2625e?_0x80e6cf[_0x25bec3(0xee)]?_0x493449[_0x25bec3(0x1c7)]===_0x80e6cf[_0x25bec3(0x227)]:!0x1:_0x80e6cf[_0x25bec3(0xee)]?!0x1:_0x4dea34[_0x25bec3(0x254)]===_0x80e6cf[_0x25bec3(0x227)];(!_0x198ba2||_0x80e6cf[_0x25bec3(0x270)]&&!_0x4b26f1)&&(delete _0x493449[_0x25bec3(0x119)][_0x25bec3(0x209)],delete _0x493449[_0x25bec3(0x119)]['cookie'],_0x198ba2||delete _0x493449[_0x25bec3(0x119)][_0x25bec3(0x254)],_0x493449[_0x25bec3(0x223)]=void 0x0);}}_0x493449[_0x25bec3(0x223)]&&!_0x12bf2b[_0x25bec3(0x119)]['authorization']&&(_0x12bf2b[_0x25bec3(0x119)]['authorization']='Basic\x20'+Buffer[_0x25bec3(0x1e9)](_0x493449[_0x25bec3(0x223)])[_0x25bec3(0x1f1)](_0x25bec3(0x1da))),_0x3b9e99=_0x80e6cf[_0x25bec3(0x225)]=_0x18d5dd(_0x493449),_0x80e6cf['_redirects']&&_0x80e6cf[_0x25bec3(0x1dc)]('redirect',_0x80e6cf['url'],_0x3b9e99);}else _0x3b9e99=_0x80e6cf['_req']=_0x18d5dd(_0x493449);_0x493449[_0x25bec3(0x25c)]&&_0x3b9e99['on'](_0x25bec3(0x25c),()=>{const _0x26b943=_0x25bec3;_0x19c11d(_0x80e6cf,_0x3b9e99,_0x26b943(0xd6));}),_0x3b9e99['on']('error',_0x24fade=>{_0x3b9e99===null||_0x3b9e99[_0x4ecc06]||(_0x3b9e99=_0x80e6cf['_req']=null,_0x294188(_0x80e6cf,_0x24fade));}),_0x3b9e99['on'](_0x25bec3(0x120),_0x3365dd=>{const _0x200f60=_0x25bec3,_0x4ac3b9=_0x3365dd[_0x200f60(0x119)][_0x200f60(0x171)],_0x5dbf8a=_0x3365dd[_0x200f60(0x108)];if(_0x4ac3b9&&_0x493449['followRedirects']&&_0x5dbf8a>=0x12c&&_0x5dbf8a<0x190){if(++_0x80e6cf[_0x200f60(0x24d)]>_0x493449[_0x200f60(0x269)]){_0x19c11d(_0x80e6cf,_0x3b9e99,_0x200f60(0x1d1));return;}_0x3b9e99[_0x200f60(0x17f)]();let _0x3631c8;try{_0x3631c8=new _0x5775a2(_0x4ac3b9,_0x59af5d);}catch{const _0x53366c=new SyntaxError(_0x200f60(0x1ee)+_0x4ac3b9);_0x294188(_0x80e6cf,_0x53366c);return;}_0x5f1cf3(_0x80e6cf,_0x3631c8,_0x88c9ef,_0x12bf2b);}else _0x80e6cf[_0x200f60(0x1dc)](_0x200f60(0x185),_0x3b9e99,_0x3365dd)||_0x19c11d(_0x80e6cf,_0x3b9e99,_0x200f60(0x262)+_0x3365dd['statusCode']);}),_0x3b9e99['on'](_0x25bec3(0xdf),(_0x46aff2,_0x5a3d9e,_0x3353cb)=>{const _0x396b4c=_0x25bec3;if(_0x80e6cf['emit'](_0x396b4c(0xdf),_0x46aff2),_0x80e6cf[_0x396b4c(0x271)]!==_0x47c1da['CONNECTING'])return;_0x3b9e99=_0x80e6cf[_0x396b4c(0x225)]=null;const _0x1824f1=_0x46aff2[_0x396b4c(0x119)][_0x396b4c(0xdf)];if(_0x1824f1===void 0x0||_0x1824f1['toLowerCase']()!==_0x396b4c(0x18e)){_0x19c11d(_0x80e6cf,_0x5a3d9e,_0x396b4c(0x15b));return;}const _0x3f32d8=_0x346617(_0x396b4c(0x1ba))[_0x396b4c(0x20c)](_0x4bca63+_0x4a2a45)[_0x396b4c(0x179)](_0x396b4c(0x1da));if(_0x46aff2[_0x396b4c(0x119)][_0x396b4c(0x127)]!==_0x3f32d8){_0x19c11d(_0x80e6cf,_0x5a3d9e,_0x396b4c(0x113));return;}const _0x594bfa=_0x46aff2[_0x396b4c(0x119)][_0x396b4c(0x1e0)];let _0x42371e;if(_0x594bfa!==void 0x0?_0x45b70c[_0x396b4c(0x1f8)]?_0x45b70c['has'](_0x594bfa)||(_0x42371e=_0x396b4c(0x22a)):_0x42371e=_0x396b4c(0x20f):_0x45b70c['size']&&(_0x42371e=_0x396b4c(0xe6)),_0x42371e){_0x19c11d(_0x80e6cf,_0x5a3d9e,_0x42371e);return;}_0x594bfa&&(_0x80e6cf[_0x396b4c(0x109)]=_0x594bfa);const _0x289155=_0x46aff2[_0x396b4c(0x119)][_0x396b4c(0x19f)];if(_0x289155!==void 0x0){if(!_0x50783c){_0x19c11d(_0x80e6cf,_0x5a3d9e,'Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested');return;}let _0x17005a;try{_0x17005a=_0x598e46(_0x289155);}catch{_0x19c11d(_0x80e6cf,_0x5a3d9e,_0x396b4c(0x17a));return;}const _0x5c14c5=Object['keys'](_0x17005a);if(_0x5c14c5[_0x396b4c(0x157)]!==0x1||_0x5c14c5[0x0]!==_0x1f1692[_0x396b4c(0x155)]){_0x19c11d(_0x80e6cf,_0x5a3d9e,_0x396b4c(0x11a));return;}try{_0x50783c[_0x396b4c(0x250)](_0x17005a[_0x1f1692[_0x396b4c(0x155)]]);}catch{_0x19c11d(_0x80e6cf,_0x5a3d9e,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}_0x80e6cf[_0x396b4c(0xf2)][_0x1f1692['extensionName']]=_0x50783c;}_0x80e6cf[_0x396b4c(0x169)](_0x5a3d9e,_0x3353cb,{'allowSynchronousEvents':_0x493449[_0x396b4c(0x26b)],'generateMask':_0x493449[_0x396b4c(0x123)],'maxPayload':_0x493449[_0x396b4c(0x1a0)],'skipUTF8Validation':_0x493449[_0x396b4c(0x188)]});}),_0x493449[_0x25bec3(0x216)]?_0x493449[_0x25bec3(0x216)](_0x3b9e99,_0x80e6cf):_0x3b9e99['end']();}function _0x294188(_0x472892,_0x53bbf8){const _0x78351=_0x387005;_0x472892[_0x78351(0x12d)]=_0x47c1da[_0x78351(0x10c)],_0x472892['_errorEmitted']=!0x0,_0x472892[_0x78351(0x1dc)](_0x78351(0x1fb),_0x53bbf8),_0x472892['emitClose']();}function _0x1a0ce6(_0x19ea5c){const _0x4786a1=_0x387005;return _0x19ea5c[_0x4786a1(0x226)]=_0x19ea5c[_0x4786a1(0x1c7)],_0xedbd[_0x4786a1(0x268)](_0x19ea5c);}function _0x2d1cdd(_0x225994){const _0x4e621c=_0x387005;return _0x225994[_0x4e621c(0x226)]=void 0x0,!_0x225994[_0x4e621c(0x16a)]&&_0x225994[_0x4e621c(0x16a)]!==''&&(_0x225994[_0x4e621c(0x16a)]=_0xedbd['isIP'](_0x225994[_0x4e621c(0x254)])?'':_0x225994['host']),_0x30c066[_0x4e621c(0x268)](_0x225994);}function _0x19c11d(_0x23609a,_0x897c8e,_0x5e60ae){const _0x27866f=_0x387005;_0x23609a[_0x27866f(0x12d)]=_0x47c1da['CLOSING'];const _0x945674=new Error(_0x5e60ae);Error[_0x27866f(0x10a)](_0x945674,_0x19c11d),_0x897c8e[_0x27866f(0x1c2)]?(_0x897c8e[_0x4ecc06]=!0x0,_0x897c8e[_0x27866f(0x17f)](),_0x897c8e['socket']&&!_0x897c8e[_0x27866f(0x1ca)][_0x27866f(0x1d4)]&&_0x897c8e['socket'][_0x27866f(0x18c)](),process[_0x27866f(0x1be)](_0x294188,_0x23609a,_0x945674)):(_0x897c8e[_0x27866f(0x18c)](_0x945674),_0x897c8e[_0x27866f(0x19a)]('error',_0x23609a[_0x27866f(0x1dc)]['bind'](_0x23609a,_0x27866f(0x1fb))),_0x897c8e[_0x27866f(0x19a)](_0x27866f(0x178),_0x23609a[_0x27866f(0x261)][_0x27866f(0x1a8)](_0x23609a)));}function _0x4191d9(_0x1b8104,_0x2c7963,_0x2311f0){const _0x2e1fb6=_0x387005;if(_0x2c7963){const _0x188a4c=_0x21a7ee(_0x2c7963)?_0x2c7963[_0x2e1fb6(0x1f8)]:_0x4ef00f(_0x2c7963)['length'];_0x1b8104[_0x2e1fb6(0x203)]?_0x1b8104[_0x2e1fb6(0x163)][_0x2e1fb6(0x1aa)]+=_0x188a4c:_0x1b8104[_0x2e1fb6(0x25e)]+=_0x188a4c;}if(_0x2311f0){const _0x2bce10=new Error(_0x2e1fb6(0x244)+_0x1b8104[_0x2e1fb6(0x271)]+'\x20('+_0x13faf2[_0x1b8104[_0x2e1fb6(0x271)]]+')');process['nextTick'](_0x2311f0,_0x2bce10);}}function _0x399114(_0x3ed8ff,_0x2b51a0){const _0x334050=_0x387005,_0x4395db=this[_0x2f2d3a];_0x4395db[_0x334050(0x24e)]=!0x0,_0x4395db[_0x334050(0x11e)]=_0x2b51a0,_0x4395db[_0x334050(0x19e)]=_0x3ed8ff,_0x4395db[_0x334050(0x203)][_0x2f2d3a]!==void 0x0&&(_0x4395db[_0x334050(0x203)]['removeListener'](_0x334050(0x142),_0x3dce4f),process['nextTick'](_0x26b290,_0x4395db[_0x334050(0x203)]),_0x3ed8ff===0x3ed?_0x4395db[_0x334050(0x178)]():_0x4395db['close'](_0x3ed8ff,_0x2b51a0));}function _0x1cd710(){const _0x150b88=_0x387005,_0x102e25=this[_0x2f2d3a];_0x102e25[_0x150b88(0x125)]||_0x102e25['_socket'][_0x150b88(0x1e4)]();}function _0x126d2a(_0x43d7cf){const _0x5c76b2=_0x387005,_0x264472=this[_0x2f2d3a];_0x264472['_socket'][_0x2f2d3a]!==void 0x0&&(_0x264472[_0x5c76b2(0x203)]['removeListener'](_0x5c76b2(0x142),_0x3dce4f),process[_0x5c76b2(0x1be)](_0x26b290,_0x264472[_0x5c76b2(0x203)]),_0x264472[_0x5c76b2(0x178)](_0x43d7cf[_0x2047fc])),_0x264472[_0x5c76b2(0x154)]||(_0x264472[_0x5c76b2(0x154)]=!0x0,_0x264472[_0x5c76b2(0x1dc)](_0x5c76b2(0x1fb),_0x43d7cf));}function _0x411394(){const _0x49221c=_0x387005;this[_0x2f2d3a][_0x49221c(0x261)]();}function _0x375d42(_0x1c1928,_0x17dfa7){const _0x189aca=_0x387005;this[_0x2f2d3a][_0x189aca(0x1dc)](_0x189aca(0x1b5),_0x1c1928,_0x17dfa7);}function _0x31f91f(_0x2f02de){const _0x25824e=_0x387005,_0x39c5b1=this[_0x2f2d3a];_0x39c5b1[_0x25824e(0x128)]&&_0x39c5b1[_0x25824e(0x240)](_0x2f02de,!this[_0x25824e(0x118)],_0x3460a6),_0x39c5b1['emit'](_0x25824e(0x26c),_0x2f02de);}function _0x581120(_0xab58dc){const _0x505b5a=_0x387005;this[_0x2f2d3a][_0x505b5a(0x1dc)](_0x505b5a(0x240),_0xab58dc);}function _0x26b290(_0x3ef1f0){_0x3ef1f0['resume']();}function _0x247a4d(_0x5a1e3c){const _0x224629=_0x387005,_0x3c7c01=this[_0x2f2d3a];_0x3c7c01['readyState']!==_0x47c1da[_0x224629(0x196)]&&(_0x3c7c01[_0x224629(0x271)]===_0x47c1da[_0x224629(0x21f)]&&(_0x3c7c01[_0x224629(0x12d)]=_0x47c1da[_0x224629(0x10c)],_0x480bd4(_0x3c7c01)),this[_0x224629(0x203)][_0x224629(0x20d)](),_0x3c7c01[_0x224629(0x154)]||(_0x3c7c01[_0x224629(0x154)]=!0x0,_0x3c7c01[_0x224629(0x1dc)](_0x224629(0x1fb),_0x5a1e3c)));}function _0x480bd4(_0x2bd890){const _0x5194c3=_0x387005;_0x2bd890[_0x5194c3(0x164)]=setTimeout(_0x2bd890[_0x5194c3(0x203)][_0x5194c3(0x18c)][_0x5194c3(0x1a8)](_0x2bd890[_0x5194c3(0x203)]),_0xb3025b);}function _0x54f41f(){const _0x38a0af=_0x387005,_0x2091e6=this[_0x2f2d3a];this[_0x38a0af(0x11d)](_0x38a0af(0x178),_0x54f41f),this[_0x38a0af(0x11d)](_0x38a0af(0x142),_0x3dce4f),this[_0x38a0af(0x11d)](_0x38a0af(0x20d),_0x30b30b),_0x2091e6[_0x38a0af(0x12d)]=_0x47c1da[_0x38a0af(0x10c)];let _0x596434;!this[_0x38a0af(0xe9)][_0x38a0af(0x158)]&&!_0x2091e6[_0x38a0af(0x24e)]&&!_0x2091e6[_0x38a0af(0x278)][_0x38a0af(0xdc)][_0x38a0af(0x228)]&&(_0x596434=_0x2091e6['_socket'][_0x38a0af(0x19d)]())!==null&&_0x2091e6[_0x38a0af(0x278)]['write'](_0x596434),_0x2091e6[_0x38a0af(0x278)][_0x38a0af(0x20d)](),this[_0x2f2d3a]=void 0x0,clearTimeout(_0x2091e6[_0x38a0af(0x164)]),_0x2091e6[_0x38a0af(0x278)][_0x38a0af(0xdc)][_0x38a0af(0xd9)]||_0x2091e6['_receiver']['_writableState'][_0x38a0af(0x228)]?_0x2091e6[_0x38a0af(0x261)]():(_0x2091e6[_0x38a0af(0x278)]['on'](_0x38a0af(0x1fb),_0x411394),_0x2091e6[_0x38a0af(0x278)]['on'](_0x38a0af(0x220),_0x411394));}function _0x3dce4f(_0x7ef094){const _0x11389f=_0x387005;this[_0x2f2d3a][_0x11389f(0x278)][_0x11389f(0xff)](_0x7ef094)||this['pause']();}function _0x30b30b(){const _0x22ab41=_0x387005,_0x5005b3=this[_0x2f2d3a];_0x5005b3[_0x22ab41(0x12d)]=_0x47c1da['CLOSING'],_0x5005b3[_0x22ab41(0x278)][_0x22ab41(0x20d)](),this[_0x22ab41(0x20d)]();}function _0xbfa5a7(){const _0x480c3c=_0x387005,_0x4ef4e2=this[_0x2f2d3a];this[_0x480c3c(0x11d)](_0x480c3c(0x1fb),_0xbfa5a7),this['on'](_0x480c3c(0x1fb),_0x3460a6),_0x4ef4e2&&(_0x4ef4e2[_0x480c3c(0x12d)]=_0x47c1da[_0x480c3c(0x10c)],this['destroy']());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x555476}=_0x1595d9;function _0x35f7fc(_0x2a3228){const _0x55d6d0=_0x4f97;_0x2a3228[_0x55d6d0(0x1dc)](_0x55d6d0(0x178));}function _0x13e1ca(){const _0x3a3120=_0x4f97;!this[_0x3a3120(0x1d4)]&&this[_0x3a3120(0xdc)][_0x3a3120(0xd9)]&&this[_0x3a3120(0x18c)]();}function _0x7d636c(_0x3887d7){const _0x5c90f3=_0x4f97;this[_0x5c90f3(0x11d)](_0x5c90f3(0x1fb),_0x7d636c),this[_0x5c90f3(0x18c)](),this[_0x5c90f3(0x1f5)](_0x5c90f3(0x1fb))===0x0&&this[_0x5c90f3(0x1dc)](_0x5c90f3(0x1fb),_0x3887d7);}function _0x58ac9c(_0x33a074,_0x19dd7d){const _0x513312=_0x4f97;let _0x539f23=!0x0;const _0x30e71b=new _0x555476({..._0x19dd7d,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x33a074['on'](_0x513312(0x1b5),function(_0x5b11a4,_0x5a37c0){const _0x252106=_0x513312,_0xb201ea=!_0x5a37c0&&_0x30e71b[_0x252106(0xe9)][_0x252106(0x218)]?_0x5b11a4[_0x252106(0x1f1)]():_0x5b11a4;_0x30e71b[_0x252106(0x1e7)](_0xb201ea)||_0x33a074['pause']();}),_0x33a074['once'](_0x513312(0x1fb),function(_0x49496e){const _0x4bcdcb=_0x513312;_0x30e71b[_0x4bcdcb(0x1d4)]||(_0x539f23=!0x1,_0x30e71b['destroy'](_0x49496e));}),_0x33a074['once']('close',function(){const _0x361ffe=_0x513312;_0x30e71b[_0x361ffe(0x1d4)]||_0x30e71b[_0x361ffe(0x1e7)](null);}),_0x30e71b[_0x513312(0xfb)]=function(_0x4a6924,_0x115ba4){const _0x2d9396=_0x513312;if(_0x33a074[_0x2d9396(0x271)]===_0x33a074[_0x2d9396(0x196)]){_0x115ba4(_0x4a6924),process[_0x2d9396(0x1be)](_0x35f7fc,_0x30e71b);return;}let _0x34e98e=!0x1;_0x33a074['once'](_0x2d9396(0x1fb),function(_0x5c5510){_0x34e98e=!0x0,_0x115ba4(_0x5c5510);}),_0x33a074[_0x2d9396(0x19a)](_0x2d9396(0x178),function(){const _0x5dc587=_0x2d9396;_0x34e98e||_0x115ba4(_0x4a6924),process[_0x5dc587(0x1be)](_0x35f7fc,_0x30e71b);}),_0x539f23&&_0x33a074[_0x2d9396(0x1ad)]();},_0x30e71b['_final']=function(_0x5cb6b3){const _0x95b443=_0x513312;if(_0x33a074[_0x95b443(0x271)]===_0x33a074['CONNECTING']){_0x33a074[_0x95b443(0x19a)](_0x95b443(0x146),function(){const _0x3c62b9=_0x95b443;_0x30e71b[_0x3c62b9(0x14d)](_0x5cb6b3);});return;}_0x33a074[_0x95b443(0x203)]!==null&&(_0x33a074['_socket'][_0x95b443(0xdc)]['finished']?(_0x5cb6b3(),_0x30e71b[_0x95b443(0xe9)][_0x95b443(0x158)]&&_0x30e71b['destroy']()):(_0x33a074[_0x95b443(0x203)][_0x95b443(0x19a)](_0x95b443(0x220),function(){_0x5cb6b3();}),_0x33a074[_0x95b443(0x178)]()));},_0x30e71b[_0x513312(0x1d7)]=function(){const _0x2f6488=_0x513312;_0x33a074['isPaused']&&_0x33a074[_0x2f6488(0x1e4)]();},_0x30e71b['_write']=function(_0x532396,_0x5832ea,_0x3ae036){const _0x24ab53=_0x513312;if(_0x33a074['readyState']===_0x33a074['CONNECTING']){_0x33a074['once'](_0x24ab53(0x146),function(){const _0x259d1c=_0x24ab53;_0x30e71b[_0x259d1c(0x239)](_0x532396,_0x5832ea,_0x3ae036);});return;}_0x33a074[_0x24ab53(0x1ed)](_0x532396,_0x3ae036);},_0x30e71b['on'](_0x513312(0x20d),_0x13e1ca),_0x30e71b['on'](_0x513312(0x1fb),_0x7d636c),_0x30e71b;}return Oe=_0x58ac9c,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=Wt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x32b06b}=ne();function _0x20bc9c(_0x56e683){const _0x213b24=_0x4f97,_0x30e77b=new Set();let _0x4581fc=-0x1,_0x216ece=-0x1,_0x4420af=0x0;for(_0x4420af;_0x4420af<_0x56e683['length'];_0x4420af++){const _0x2131f1=_0x56e683[_0x213b24(0x112)](_0x4420af);if(_0x216ece===-0x1&&_0x32b06b[_0x2131f1]===0x1)_0x4581fc===-0x1&&(_0x4581fc=_0x4420af);else{if(_0x4420af!==0x0&&(_0x2131f1===0x20||_0x2131f1===0x9))_0x216ece===-0x1&&_0x4581fc!==-0x1&&(_0x216ece=_0x4420af);else{if(_0x2131f1===0x2c){if(_0x4581fc===-0x1)throw new SyntaxError(_0x213b24(0x1fa)+_0x4420af);_0x216ece===-0x1&&(_0x216ece=_0x4420af);const _0xa16100=_0x56e683[_0x213b24(0x16f)](_0x4581fc,_0x216ece);if(_0x30e77b['has'](_0xa16100))throw new SyntaxError('The\x20\x22'+_0xa16100+_0x213b24(0x1fe));_0x30e77b['add'](_0xa16100),_0x4581fc=_0x216ece=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x4420af);}}}if(_0x4581fc===-0x1||_0x216ece!==-0x1)throw new SyntaxError(_0x213b24(0x153));const _0x434e3c=_0x56e683[_0x213b24(0x16f)](_0x4581fc,_0x4420af);if(_0x30e77b[_0x213b24(0x18b)](_0x434e3c))throw new SyntaxError('The\x20\x22'+_0x434e3c+_0x213b24(0x1fe));return _0x30e77b[_0x213b24(0x242)](_0x434e3c),_0x30e77b;}return Ce={'parse':_0x20bc9c},Ce;}var Te,ot;function er(){const _0x606b66=_0x4638d0;if(ot)return Te;ot=0x1;const _0x263087=_0x11fb4c,_0x52506f=_0x15900a,{Duplex:_0x4f95cf}=_0x1595d9,{createHash:_0x2ef9d2}=_0x5572b2,_0x3411e6=pt(),_0x67a232=he(),_0x166049=Jt(),_0x59e961=Ie(),{GUID:_0x1cfb8e,kWebSocket:_0x4fec85}=V(),_0x52d31b=/^[+/0-9A-Za-z]{22}==$/,_0x5040a7=0x0,_0x5d4d86=0x1,_0x445cb8=0x2;class _0x25319a extends _0x263087{constructor(_0x6014d0,_0x5ca55f){const _0x5bb47f=_0x4f97;if(super(),_0x6014d0={'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':_0x59e961,..._0x6014d0},_0x6014d0[_0x5bb47f(0x140)]==null&&!_0x6014d0[_0x5bb47f(0x198)]&&!_0x6014d0[_0x5bb47f(0x137)]||_0x6014d0[_0x5bb47f(0x140)]!=null&&(_0x6014d0['server']||_0x6014d0[_0x5bb47f(0x137)])||_0x6014d0[_0x5bb47f(0x198)]&&_0x6014d0['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(_0x6014d0[_0x5bb47f(0x140)]!=null?(this[_0x5bb47f(0x1bc)]=_0x52506f[_0x5bb47f(0x181)]((_0x1edaf1,_0x1c2bb0)=>{const _0x4ab11b=_0x5bb47f,_0x3d92f8=_0x52506f[_0x4ab11b(0x1fd)][0x1aa];_0x1c2bb0[_0x4ab11b(0x136)](0x1aa,{'Content-Length':_0x3d92f8['length'],'Content-Type':'text/plain'}),_0x1c2bb0['end'](_0x3d92f8);}),this[_0x5bb47f(0x1bc)][_0x5bb47f(0x1b6)](_0x6014d0[_0x5bb47f(0x140)],_0x6014d0[_0x5bb47f(0x254)],_0x6014d0['backlog'],_0x5ca55f)):_0x6014d0['server']&&(this[_0x5bb47f(0x1bc)]=_0x6014d0[_0x5bb47f(0x198)]),this['_server']){const _0x4762f7=this[_0x5bb47f(0x1dc)][_0x5bb47f(0x1a8)](this,_0x5bb47f(0x13c));this[_0x5bb47f(0x1bd)]=_0x9b995a(this[_0x5bb47f(0x1bc)],{'listening':this[_0x5bb47f(0x1dc)][_0x5bb47f(0x1a8)](this,_0x5bb47f(0x1c5)),'error':this['emit']['bind'](this,_0x5bb47f(0x1fb)),'upgrade':(_0x3f54b7,_0x26fcd4,_0x385803)=>{const _0x2c2ea9=_0x5bb47f;this[_0x2c2ea9(0x1e5)](_0x3f54b7,_0x26fcd4,_0x385803,_0x4762f7);}});}_0x6014d0[_0x5bb47f(0x208)]===!0x0&&(_0x6014d0[_0x5bb47f(0x208)]={}),_0x6014d0[_0x5bb47f(0x15f)]&&(this[_0x5bb47f(0x177)]=new Set(),this[_0x5bb47f(0x23b)]=!0x1),this[_0x5bb47f(0x1a1)]=_0x6014d0,this[_0x5bb47f(0x1c8)]=_0x5040a7;}[_0x606b66(0x16d)](){const _0x1b6a65=_0x606b66;if(this[_0x1b6a65(0x1a1)][_0x1b6a65(0x137)])throw new Error(_0x1b6a65(0x1d9));return this[_0x1b6a65(0x1bc)]?this['_server'][_0x1b6a65(0x16d)]():null;}[_0x606b66(0x178)](_0x2c2b77){const _0x2295a2=_0x606b66;if(this[_0x2295a2(0x1c8)]===_0x445cb8){_0x2c2b77&&this[_0x2295a2(0x19a)](_0x2295a2(0x178),()=>{_0x2c2b77(new Error('The\x20server\x20is\x20not\x20running'));}),process['nextTick'](_0x17cd2f,this);return;}if(_0x2c2b77&&this[_0x2295a2(0x19a)]('close',_0x2c2b77),this[_0x2295a2(0x1c8)]!==_0x5d4d86){if(this[_0x2295a2(0x1c8)]=_0x5d4d86,this['options']['noServer']||this[_0x2295a2(0x1a1)][_0x2295a2(0x198)])this['_server']&&(this[_0x2295a2(0x1bd)](),this[_0x2295a2(0x1bd)]=this['_server']=null),this[_0x2295a2(0x177)]?this[_0x2295a2(0x177)][_0x2295a2(0x1f8)]?this[_0x2295a2(0x23b)]=!0x0:process[_0x2295a2(0x1be)](_0x17cd2f,this):process['nextTick'](_0x17cd2f,this);else{const _0x4ab8b6=this[_0x2295a2(0x1bc)];this[_0x2295a2(0x1bd)](),this[_0x2295a2(0x1bd)]=this['_server']=null,_0x4ab8b6[_0x2295a2(0x178)](()=>{_0x17cd2f(this);});}}}[_0x606b66(0xf1)](_0x27cd7b){const _0xf81073=_0x606b66;if(this[_0xf81073(0x1a1)]['path']){const _0x5c7733=_0x27cd7b[_0xf81073(0x1ef)][_0xf81073(0xe7)]('?');if((_0x5c7733!==-0x1?_0x27cd7b[_0xf81073(0x1ef)][_0xf81073(0x16f)](0x0,_0x5c7733):_0x27cd7b[_0xf81073(0x1ef)])!==this['options'][_0xf81073(0x226)])return!0x1;}return!0x0;}[_0x606b66(0x1e5)](_0x4a8874,_0x9a12ce,_0x1fff13,_0x4717b3){const _0x4a3ee4=_0x606b66;_0x9a12ce['on']('error',_0x1bec68);const _0x4590b9=_0x4a8874['headers'][_0x4a3ee4(0x1ce)],_0x597da0=_0x4a8874[_0x4a3ee4(0x119)][_0x4a3ee4(0xdf)],_0x287537=+_0x4a8874[_0x4a3ee4(0x119)][_0x4a3ee4(0x1df)];if(_0x4a8874[_0x4a3ee4(0x156)]!==_0x4a3ee4(0x197)){_0x3601b9(this,_0x4a8874,_0x9a12ce,0x195,_0x4a3ee4(0x110));return;}if(_0x597da0===void 0x0||_0x597da0[_0x4a3ee4(0xef)]()!=='websocket'){_0x3601b9(this,_0x4a8874,_0x9a12ce,0x190,'Invalid\x20Upgrade\x20header');return;}if(_0x4590b9===void 0x0||!_0x52d31b['test'](_0x4590b9)){_0x3601b9(this,_0x4a8874,_0x9a12ce,0x190,_0x4a3ee4(0x175));return;}if(_0x287537!==0xd&&_0x287537!==0x8){_0x3601b9(this,_0x4a8874,_0x9a12ce,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header',{'Sec-WebSocket-Version':_0x4a3ee4(0x1f0)});return;}if(!this['shouldHandle'](_0x4a8874)){_0x55ebb3(_0x9a12ce,0x190);return;}const _0x8f6b23=_0x4a8874['headers']['sec-websocket-protocol'];let _0x29de0c=new Set();if(_0x8f6b23!==void 0x0)try{_0x29de0c=_0x166049['parse'](_0x8f6b23);}catch{_0x3601b9(this,_0x4a8874,_0x9a12ce,0x190,_0x4a3ee4(0x174));return;}const _0x300890=_0x4a8874[_0x4a3ee4(0x119)]['sec-websocket-extensions'],_0x2c2062={};if(this[_0x4a3ee4(0x1a1)][_0x4a3ee4(0x208)]&&_0x300890!==void 0x0){const _0x43e59d=new _0x67a232(this[_0x4a3ee4(0x1a1)]['perMessageDeflate'],!0x0,this[_0x4a3ee4(0x1a1)][_0x4a3ee4(0x1a0)]);try{const _0x296e1c=_0x3411e6[_0x4a3ee4(0x1fc)](_0x300890);_0x296e1c[_0x67a232[_0x4a3ee4(0x155)]]&&(_0x43e59d['accept'](_0x296e1c[_0x67a232['extensionName']]),_0x2c2062[_0x67a232['extensionName']]=_0x43e59d);}catch{_0x3601b9(this,_0x4a8874,_0x9a12ce,0x190,'Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header');return;}}if(this[_0x4a3ee4(0x1a1)][_0x4a3ee4(0x1eb)]){const _0x10ad29={'origin':_0x4a8874[_0x4a3ee4(0x119)][''+(_0x287537===0x8?_0x4a3ee4(0xe2):_0x4a3ee4(0x23c))],'secure':!!(_0x4a8874[_0x4a3ee4(0x1ca)][_0x4a3ee4(0x107)]||_0x4a8874[_0x4a3ee4(0x1ca)][_0x4a3ee4(0x245)]),'req':_0x4a8874};if(this[_0x4a3ee4(0x1a1)]['verifyClient']['length']===0x2){this['options'][_0x4a3ee4(0x1eb)](_0x10ad29,(_0x30f6e3,_0x4fc2ec,_0x1bc6b4,_0x14f929)=>{if(!_0x30f6e3)return _0x55ebb3(_0x9a12ce,_0x4fc2ec||0x191,_0x1bc6b4,_0x14f929);this['completeUpgrade'](_0x2c2062,_0x4590b9,_0x29de0c,_0x4a8874,_0x9a12ce,_0x1fff13,_0x4717b3);});return;}if(!this[_0x4a3ee4(0x1a1)][_0x4a3ee4(0x1eb)](_0x10ad29))return _0x55ebb3(_0x9a12ce,0x191);}this[_0x4a3ee4(0x148)](_0x2c2062,_0x4590b9,_0x29de0c,_0x4a8874,_0x9a12ce,_0x1fff13,_0x4717b3);}[_0x606b66(0x148)](_0x47aa7e,_0x4f9f6a,_0x31de92,_0xab106,_0x5bf394,_0x33a1d9,_0xb829ec){const _0x51f02f=_0x606b66;if(!_0x5bf394[_0x51f02f(0x23a)]||!_0x5bf394['writable'])return _0x5bf394[_0x51f02f(0x18c)]();if(_0x5bf394[_0x4fec85])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this[_0x51f02f(0x1c8)]>_0x5040a7)return _0x55ebb3(_0x5bf394,0x1f7);const _0x36de8e=[_0x51f02f(0x167),'Upgrade:\x20websocket',_0x51f02f(0x12e),'Sec-WebSocket-Accept:\x20'+_0x2ef9d2(_0x51f02f(0x1ba))[_0x51f02f(0x20c)](_0x4f9f6a+_0x1cfb8e)[_0x51f02f(0x179)](_0x51f02f(0x1da))],_0x29e934=new this[(_0x51f02f(0x1a1))][(_0x51f02f(0x193))](null,void 0x0,this[_0x51f02f(0x1a1)]);if(_0x31de92['size']){const _0x2c06d3=this[_0x51f02f(0x1a1)][_0x51f02f(0x12a)]?this[_0x51f02f(0x1a1)]['handleProtocols'](_0x31de92,_0xab106):_0x31de92[_0x51f02f(0x222)]()[_0x51f02f(0x1e8)]()[_0x51f02f(0xea)];_0x2c06d3&&(_0x36de8e[_0x51f02f(0x1e7)]('Sec-WebSocket-Protocol:\x20'+_0x2c06d3),_0x29e934[_0x51f02f(0x109)]=_0x2c06d3);}if(_0x47aa7e[_0x67a232['extensionName']]){const _0x313f4b=_0x47aa7e[_0x67a232[_0x51f02f(0x155)]][_0x51f02f(0x184)],_0x45857c=_0x3411e6['format']({[_0x67a232[_0x51f02f(0x155)]]:[_0x313f4b]});_0x36de8e[_0x51f02f(0x1e7)](_0x51f02f(0xd5)+_0x45857c),_0x29e934[_0x51f02f(0xf2)]=_0x47aa7e;}this['emit'](_0x51f02f(0x119),_0x36de8e,_0xab106),_0x5bf394['write'](_0x36de8e[_0x51f02f(0x215)]('\x0d\x0a')['join']('\x0d\x0a')),_0x5bf394[_0x51f02f(0x11d)](_0x51f02f(0x1fb),_0x1bec68),_0x29e934[_0x51f02f(0x169)](_0x5bf394,_0x33a1d9,{'allowSynchronousEvents':this['options']['allowSynchronousEvents'],'maxPayload':this[_0x51f02f(0x1a1)][_0x51f02f(0x1a0)],'skipUTF8Validation':this[_0x51f02f(0x1a1)]['skipUTF8Validation']}),this['clients']&&(this[_0x51f02f(0x177)]['add'](_0x29e934),_0x29e934['on'](_0x51f02f(0x178),()=>{const _0x4bde4c=_0x51f02f;this[_0x4bde4c(0x177)][_0x4bde4c(0x141)](_0x29e934),this[_0x4bde4c(0x23b)]&&!this[_0x4bde4c(0x177)][_0x4bde4c(0x1f8)]&&process[_0x4bde4c(0x1be)](_0x17cd2f,this);})),_0xb829ec(_0x29e934,_0xab106);}}Te=_0x25319a;function _0x9b995a(_0x59eba7,_0x8c2925){const _0x270839=_0x606b66;for(const _0x9b085 of Object[_0x270839(0x15a)](_0x8c2925))_0x59eba7['on'](_0x9b085,_0x8c2925[_0x9b085]);return function(){const _0x3bef40=_0x270839;for(const _0x13ee7d of Object['keys'](_0x8c2925))_0x59eba7[_0x3bef40(0x11d)](_0x13ee7d,_0x8c2925[_0x13ee7d]);};}function _0x17cd2f(_0xbd6148){const _0x24f97e=_0x606b66;_0xbd6148[_0x24f97e(0x1c8)]=_0x445cb8,_0xbd6148['emit'](_0x24f97e(0x178));}function _0x1bec68(){const _0x2be974=_0x606b66;this[_0x2be974(0x18c)]();}function _0x55ebb3(_0x2c3926,_0x4a5f55,_0x57ee1b,_0x24afaa){const _0x196f42=_0x606b66;_0x57ee1b=_0x57ee1b||_0x52506f[_0x196f42(0x1fd)][_0x4a5f55],_0x24afaa={'Connection':'close','Content-Type':_0x196f42(0x232),'Content-Length':Buffer[_0x196f42(0x1cb)](_0x57ee1b),..._0x24afaa},_0x2c3926['once']('finish',_0x2c3926[_0x196f42(0x18c)]),_0x2c3926['end'](_0x196f42(0x252)+_0x4a5f55+'\x20'+_0x52506f[_0x196f42(0x1fd)][_0x4a5f55]+'\x0d\x0a'+Object['keys'](_0x24afaa)['map'](_0x1fdd8f=>_0x1fdd8f+':\x20'+_0x24afaa[_0x1fdd8f])[_0x196f42(0xd4)]('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0x57ee1b);}function _0x3601b9(_0x482546,_0x1a54d3,_0x5aaefc,_0x5b256e,_0x264622,_0x5d78be){const _0x2dc1aa=_0x606b66;if(_0x482546[_0x2dc1aa(0x1f5)]('wsClientError')){const _0x57f816=new Error(_0x264622);Error[_0x2dc1aa(0x10a)](_0x57f816,_0x3601b9),_0x482546[_0x2dc1aa(0x1dc)](_0x2dc1aa(0xfa),_0x57f816,_0x5aaefc,_0x1a54d3);}else _0x55ebb3(_0x5aaefc,_0x5b256e,_0x264622,_0x5d78be);}return Te;}er();var tr=Object[_0x4638d0(0x1c9)],rr=(_0x43d4a6,_0x1d5dff,_0x5c3218,_0x13edb8)=>{const _0x52b59a=_0x4638d0;for(var _0x48b87d=_0x13edb8>0x1?void 0x0:_0x13edb8?tr(_0x1d5dff,_0x5c3218):_0x1d5dff,_0x5e8801=_0x43d4a6[_0x52b59a(0x157)]-0x1,_0x4abec5;_0x5e8801>=0x0;_0x5e8801--)(_0x4abec5=_0x43d4a6[_0x5e8801])&&(_0x48b87d=_0x4abec5(_0x48b87d)||_0x48b87d);return _0x48b87d;},sr=(_0x2edcbf,_0x56c5e3)=>(_0x7ef079,_0xd8d1cc)=>_0x56c5e3(_0x7ef079,_0xd8d1cc,_0x2edcbf);let Ne=class extends _0x3193e1{constructor(_0x27f8d7){super(),this['_configService']=_0x27f8d7;}[_0x4638d0(0x24c)](_0x5489b3){const _0x40b1a8=_0x4638d0;var _0x5a1fad;const _0x630ef7=(_0x5a1fad=this[_0x40b1a8(0x103)][_0x40b1a8(0x1cf)](Be))==null?void 0x0:_0x5a1fad['customHeaders'];try{const _0xe5814c=new Qt(_0x5489b3,{'headers':{..._0x630ef7}}),_0x2e3b7f=new _0x3d640a();return{'URL':_0x5489b3,'close':(_0x255da1,_0x5eb243)=>{const _0x2be19a=_0x40b1a8;_0xe5814c[_0x2be19a(0x178)](_0x255da1,_0x5eb243),_0x2e3b7f['dispose']();},'send':_0x354674=>{const _0x382fab=_0x40b1a8;_0xe5814c[_0x382fab(0x1ed)](_0x354674);},'open$':new _0xe4fae9(_0x259b09=>{const _0x4420c1=_0x40b1a8,_0x39b45e=_0x3245e3=>_0x259b09[_0x4420c1(0x1e8)](_0x3245e3);_0xe5814c[_0x4420c1(0xe5)](_0x4420c1(0x146),_0x39b45e),_0x2e3b7f[_0x4420c1(0x242)](_0x736aee(()=>_0xe5814c[_0x4420c1(0x135)](_0x4420c1(0x146),_0x39b45e)));})[_0x40b1a8(0xf6)](_0x2c2888()),'close$':new _0xe4fae9(_0x3bfee8=>{const _0x14d0fe=_0x40b1a8,_0xa92478=_0x3e6781=>_0x3bfee8[_0x14d0fe(0x1e8)](_0x3e6781);_0xe5814c[_0x14d0fe(0xe5)]('close',_0xa92478),_0x2e3b7f[_0x14d0fe(0x242)](_0x736aee(()=>_0xe5814c[_0x14d0fe(0x135)](_0x14d0fe(0x178),_0xa92478)));})[_0x40b1a8(0xf6)](_0x2c2888()),'error$':new _0xe4fae9(_0xa0617e=>{const _0x292319=_0x40b1a8,_0x533669=_0xd0f22a=>_0xa0617e[_0x292319(0x1e8)](_0xd0f22a);_0xe5814c[_0x292319(0xe5)](_0x292319(0x1fb),_0x533669),_0x2e3b7f[_0x292319(0x242)](_0x736aee(()=>_0xe5814c[_0x292319(0x135)](_0x292319(0x1fb),_0x533669)));})['pipe'](_0x2c2888()),'message$':new _0xe4fae9(_0x3d69a5=>{const _0x25a48f=_0x40b1a8,_0x49f991=_0x119df1=>_0x3d69a5[_0x25a48f(0x1e8)](_0x119df1);_0xe5814c[_0x25a48f(0xe5)](_0x25a48f(0x1b5),_0x49f991),_0x2e3b7f[_0x25a48f(0x242)](_0x736aee(()=>_0xe5814c[_0x25a48f(0x135)](_0x25a48f(0x1b5),_0x49f991)));})[_0x40b1a8(0xf6)](_0x2c2888())};}catch(_0x1fb260){return console[_0x40b1a8(0x1fb)](_0x1fb260),null;}}};Ne=rr([sr(0x0,_0x199cd5)],Ne);var ir=Object[_0x4638d0(0x202)],nr=Object[_0x4638d0(0x1c9)],or=(_0x3f8a27,_0x3977c2,_0x5524d4)=>_0x3977c2 in _0x3f8a27?ir(_0x3f8a27,_0x3977c2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5524d4}):_0x3f8a27[_0x3977c2]=_0x5524d4,ar=(_0x4db95e,_0x182d0b,_0x30268a,_0x374f3d)=>{const _0x46c80c=_0x4638d0;for(var _0x46631e=_0x374f3d>0x1?void 0x0:_0x374f3d?nr(_0x182d0b,_0x30268a):_0x182d0b,_0x1cdf90=_0x4db95e[_0x46c80c(0x157)]-0x1,_0x37ffe3;_0x1cdf90>=0x0;_0x1cdf90--)(_0x37ffe3=_0x4db95e[_0x1cdf90])&&(_0x46631e=_0x37ffe3(_0x46631e)||_0x46631e);return _0x46631e;},ke=(_0x219038,_0x2727e1)=>(_0x4db3b3,_0x7c7667)=>_0x2727e1(_0x4db3b3,_0x7c7667,_0x219038),lr=(_0x1a8455,_0x4543d0,_0x30ec2f)=>or(_0x1a8455,_0x4543d0+'',_0x30ec2f);let Pe=class extends _0x5ebfa7{constructor(_0x2d55b1=Ft,_0x5a01da,_0x457b92,_0x118b56){const _0x7e4ad=_0x4638d0;_0x2d55b1[_0x7e4ad(0x129)]||_0x5a01da[_0x7e4ad(0x26d)]('[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.'),super(),this['_configService']=_0x457b92,this[_0x7e4ad(0x1cc)]=_0x118b56,this[_0x7e4ad(0x103)][_0x7e4ad(0xde)](Be,_0x2d55b1);}[_0x4638d0(0x233)](){this['_registerDependencies']();}['_registerDependencies'](){const _0x2e2f50=_0x4638d0;_0x1b7600(this[_0x2e2f50(0x1cc)],[[_0x1f90cb,{'useClass':Ne}]]);}};lr(Pe,_0x4638d0(0x201),_0x4638d0(0x1f6)),Pe=ar([_0x124a30(_0x3982c2),ke(0x1,_0x1a49a2),ke(0x2,_0x199cd5),ke(0x3,_0x1551a4(_0x100aae))],Pe);var fr=Object[_0x4638d0(0x1c9)],cr=(_0x277c7c,_0x4017fc,_0x5b79be,_0x2e1145)=>{for(var _0x3216b7=_0x2e1145>0x1?void 0x0:_0x2e1145?fr(_0x4017fc,_0x5b79be):_0x4017fc,_0x3725c8=_0x277c7c['length']-0x1,_0x3ccaf4;_0x3725c8>=0x0;_0x3725c8--)(_0x3ccaf4=_0x277c7c[_0x3725c8])&&(_0x3216b7=_0x3ccaf4(_0x3216b7)||_0x3216b7);return _0x3216b7;},se=(_0xbcec92,_0x20d733)=>(_0xe6b6ec,_0xc3fd24)=>_0x20d733(_0xe6b6ec,_0xc3fd24,_0xbcec92);let at=class extends _0x44f365{constructor(_0x30ebbf,_0x4f94ed,_0x594605,_0x6f2158,_0xdef1a3){const _0x2d50e1=_0x4638d0;super(_0x30ebbf,_0x4f94ed,_0x594605,_0x6f2158,_0xdef1a3);const _0x1f7fbb=this[_0x2d50e1(0x103)][_0x2d50e1(0x1cf)](Be);this[_0x2d50e1(0xf3)][_0x2d50e1(0x1e1)]({'interceptor':(_0x286ba4,_0x50c1ab)=>{const _0x5ac6ff=_0x2d50e1;var _0x1075bc;const _0x19d40b=_0x286ba4['headers'];return(_0x1075bc=_0x1f7fbb==null?void 0x0:_0x1f7fbb['customHeaders'])!=null&&_0x1075bc[_0x5ac6ff(0x11f)]&&_0x19d40b[_0x5ac6ff(0x12c)]('Cookie',_0x1f7fbb[_0x5ac6ff(0x129)][_0x5ac6ff(0x11f)]),_0x50c1ab(_0x286ba4);}});}async[_0x4638d0(0x24c)](_0x131a89){const _0x237d61=_0x4638d0;return this[_0x237d61(0x14e)](_0x131a89);}};at=cr([se(0x0,_0x1551a4(_0x100aae)),se(0x1,_0x1551a4(_0x4ddacd)),se(0x2,_0x199cd5),se(0x3,_0x1a49a2),se(0x4,_0x1dad5e)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
|
|
1
|
+
const _0x52913d=_0x49ee;(function(_0x33862c,_0x2a26fb){const _0x199fc4=_0x49ee,_0x2fce24=_0x33862c();while(!![]){try{const _0x4b904f=-parseInt(_0x199fc4(0x176))/0x1*(-parseInt(_0x199fc4(0x161))/0x2)+parseInt(_0x199fc4(0x1bb))/0x3+parseInt(_0x199fc4(0x221))/0x4+parseInt(_0x199fc4(0x2d0))/0x5*(parseInt(_0x199fc4(0x290))/0x6)+parseInt(_0x199fc4(0x2c2))/0x7+-parseInt(_0x199fc4(0x203))/0x8*(-parseInt(_0x199fc4(0x298))/0x9)+-parseInt(_0x199fc4(0x1bc))/0xa;if(_0x4b904f===_0x2a26fb)break;else _0x2fce24['push'](_0x2fce24['shift']());}catch(_0x7ddddd){_0x2fce24['push'](_0x2fce24['shift']());}}}(_0x5c46,0xcac7b));import{UniverCollaborationClientPlugin as _0x3ded99,CollaborationSocketService as _0x1f3945}from'@univerjs-pro/collaboration-client';import{Disposable as _0x27429c,DisposableCollection as _0xa239aa,toDisposable as _0x4cc490,IConfigService as _0x5304af,DependentOn as _0x2434af,ILogService as _0x81bc5a,Inject as _0x5e4e9c,Injector as _0x1bb984,Plugin as _0x51e44b,registerDependencies as _0xaf8f19}from'@univerjs/core';import{ISocketService as _0xbe44da,HTTPService as _0x5d0807}from'@univerjs/network';import{Observable as _0x4aeb22,share as _0x1e2c40}from'rxjs';import _0x428a51 from'events';import _0x377efe from'https';import _0x3eb3d0 from'http';import _0x110ac8 from'net';import _0x26f228 from'tls';import _0x355f4b from'crypto';import _0x20bb13 from'stream';import _0x13fdf1 from'url';import _0x174873 from'zlib';import _0x399842 from'buffer';import{ISnapshotServerService as _0x407c88}from'@univerjs-pro/collaboration';const Be=_0x52913d(0x171),Ft={'customHeaders':{}};function Wt(_0x58e6a8){const _0x32decb=_0x52913d;return _0x58e6a8&&_0x58e6a8[_0x32decb(0x1ac)]&&Object['prototype'][_0x32decb(0x1f5)][_0x32decb(0x2ad)](_0x58e6a8,'default')?_0x58e6a8['default']:_0x58e6a8;}function ut(_0x360941){const _0x333add=_0x52913d;if(Object['prototype'][_0x333add(0x1f5)]['call'](_0x360941,_0x333add(0x1ac)))return _0x360941;var _0x358352=_0x360941[_0x333add(0x151)];if(typeof _0x358352==_0x333add(0x2b3)){var _0x5eb851=function _0x3db3ba(){const _0x25a099=_0x333add;var _0x51782a=!0x1;try{_0x51782a=this instanceof _0x3db3ba;}catch{}return _0x51782a?Reflect[_0x25a099(0x1df)](_0x358352,arguments,this[_0x25a099(0x278)]):_0x358352[_0x25a099(0x169)](this,arguments);};_0x5eb851[_0x333add(0x27d)]=_0x358352['prototype'];}else _0x5eb851={};return Object['defineProperty'](_0x5eb851,_0x333add(0x1ac),{'value':!0x0}),Object[_0x333add(0x164)](_0x360941)[_0x333add(0x145)](function(_0x2b38b5){const _0x2c1d4f=_0x333add;var _0x15c32e=Object[_0x2c1d4f(0x185)](_0x360941,_0x2b38b5);Object[_0x2c1d4f(0x23b)](_0x5eb851,_0x2b38b5,_0x15c32e['get']?_0x15c32e:{'enumerable':!0x0,'get':function(){return _0x360941[_0x2b38b5];}});}),_0x5eb851;}var te={'exports':{}},ge,Ye;function V(){const _0x4049de=_0x52913d;if(Ye)return ge;Ye=0x1;const _0x109685=[_0x4049de(0x277),_0x4049de(0x1f7),'fragments'],_0x51355f=typeof Blob<'u';return _0x51355f&&_0x109685[_0x4049de(0x15e)](_0x4049de(0x1b9)),ge={'BINARY_TYPES':_0x109685,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':_0x4049de(0x16a),'hasBlob':_0x51355f,'kForOnEventAttribute':Symbol(_0x4049de(0x19c)),'kListener':Symbol(_0x4049de(0x1c0)),'kStatusCode':Symbol(_0x4049de(0x1c1)),'kWebSocket':Symbol('websocket'),'NOOP':()=>{}},ge;}const jt={},Gt=Object[_0x52913d(0x1a5)](Object['defineProperty']({'__proto__':null,'default':jt},Symbol[_0x52913d(0x251)],{'value':'Module'})),Vt=ut(Gt);var Ke;function ce(){const _0xe71050=_0x52913d;if(Ke)return te[_0xe71050(0x21f)];Ke=0x1;const {EMPTY_BUFFER:_0x1b3e3d}=V(),_0x17542a=Buffer[Symbol[_0xe71050(0x229)]];function _0x31c15b(_0x3afc8c,_0x39cb03){const _0x154825=_0xe71050;if(_0x3afc8c[_0x154825(0x16d)]===0x0)return _0x1b3e3d;if(_0x3afc8c[_0x154825(0x16d)]===0x1)return _0x3afc8c[0x0];const _0x8347a7=Buffer[_0x154825(0x1c7)](_0x39cb03);let _0x43703f=0x0;for(let _0x27953c=0x0;_0x27953c<_0x3afc8c['length'];_0x27953c++){const _0x1d1d8b=_0x3afc8c[_0x27953c];_0x8347a7[_0x154825(0x13f)](_0x1d1d8b,_0x43703f),_0x43703f+=_0x1d1d8b['length'];}return _0x43703f<_0x39cb03?new _0x17542a(_0x8347a7[_0x154825(0x28a)],_0x8347a7[_0x154825(0x1ca)],_0x43703f):_0x8347a7;}function _0x3923fc(_0x385eb3,_0x3a2549,_0x3151be,_0x241b75,_0x359b60){for(let _0x7ffe41=0x0;_0x7ffe41<_0x359b60;_0x7ffe41++)_0x3151be[_0x241b75+_0x7ffe41]=_0x385eb3[_0x7ffe41]^_0x3a2549[_0x7ffe41&0x3];}function _0xded1b6(_0x13c632,_0x3c1996){const _0x48f0cc=_0xe71050;for(let _0x3061e3=0x0;_0x3061e3<_0x13c632[_0x48f0cc(0x16d)];_0x3061e3++)_0x13c632[_0x3061e3]^=_0x3c1996[_0x3061e3&0x3];}function _0x15af86(_0x2bd03e){const _0x1cd992=_0xe71050;return _0x2bd03e[_0x1cd992(0x16d)]===_0x2bd03e['buffer'][_0x1cd992(0x1cf)]?_0x2bd03e[_0x1cd992(0x28a)]:_0x2bd03e[_0x1cd992(0x28a)][_0x1cd992(0x152)](_0x2bd03e[_0x1cd992(0x1ca)],_0x2bd03e['byteOffset']+_0x2bd03e['length']);}function _0x4a4d72(_0x3172fb){const _0x5a5b4f=_0xe71050;if(_0x4a4d72['readOnly']=!0x0,Buffer['isBuffer'](_0x3172fb))return _0x3172fb;let _0x1e9e78;return _0x3172fb instanceof ArrayBuffer?_0x1e9e78=new _0x17542a(_0x3172fb):ArrayBuffer[_0x5a5b4f(0x226)](_0x3172fb)?_0x1e9e78=new _0x17542a(_0x3172fb[_0x5a5b4f(0x28a)],_0x3172fb[_0x5a5b4f(0x1ca)],_0x3172fb[_0x5a5b4f(0x1cf)]):(_0x1e9e78=Buffer[_0x5a5b4f(0x1c5)](_0x3172fb),_0x4a4d72[_0x5a5b4f(0x28b)]=!0x1),_0x1e9e78;}if(te[_0xe71050(0x21f)]={'concat':_0x31c15b,'mask':_0x3923fc,'toArrayBuffer':_0x15af86,'toBuffer':_0x4a4d72,'unmask':_0xded1b6},!process[_0xe71050(0x220)]['WS_NO_BUFFER_UTIL'])try{const _0x5cabd9=Vt;te[_0xe71050(0x21f)][_0xe71050(0x26b)]=function(_0xe8dc08,_0x49bd5a,_0x4247b5,_0x2bdf76,_0x3c45eb){_0x3c45eb<0x30?_0x3923fc(_0xe8dc08,_0x49bd5a,_0x4247b5,_0x2bdf76,_0x3c45eb):_0x5cabd9['mask'](_0xe8dc08,_0x49bd5a,_0x4247b5,_0x2bdf76,_0x3c45eb);},te[_0xe71050(0x21f)][_0xe71050(0x179)]=function(_0x5858b9,_0x4b6185){const _0x2d0302=_0xe71050;_0x5858b9[_0x2d0302(0x16d)]<0x20?_0xded1b6(_0x5858b9,_0x4b6185):_0x5cabd9['unmask'](_0x5858b9,_0x4b6185);};}catch{}return te[_0xe71050(0x21f)];}var ye,Xe;function qt(){const _0x354831=_0x52913d;if(Xe)return ye;Xe=0x1;const _0x548c67=Symbol('kDone'),_0x5a49de=Symbol(_0x354831(0x1e6));class _0x332f9d{constructor(_0x133ead){const _0xf77295=_0x354831;this[_0x548c67]=()=>{const _0x37d5ae=_0x49ee;this[_0x37d5ae(0x2da)]--,this[_0x5a49de]();},this['concurrency']=_0x133ead||0x1/0x0,this[_0xf77295(0x1d4)]=[],this[_0xf77295(0x2da)]=0x0;}['add'](_0x450c6e){const _0x524dcb=_0x354831;this[_0x524dcb(0x1d4)][_0x524dcb(0x15e)](_0x450c6e),this[_0x5a49de]();}[_0x5a49de](){const _0x22fbac=_0x354831;if(this[_0x22fbac(0x2da)]!==this[_0x22fbac(0x182)]&&this[_0x22fbac(0x1d4)][_0x22fbac(0x16d)]){const _0x1fe689=this['jobs'][_0x22fbac(0x144)]();this['pending']++,_0x1fe689(this[_0x548c67]);}}}return ye=_0x332f9d,ye;}var ve,Ze;function _0x49ee(_0x4682f0,_0x25bce5){_0x4682f0=_0x4682f0-0x139;const _0x5c4692=_0x5c46();let _0x49ee16=_0x5c4692[_0x4682f0];return _0x49ee16;}function he(){const _0x578e3f=_0x52913d;if(Ze)return ve;Ze=0x1;const _0xb63216=_0x174873,_0x48ecfe=ce(),_0x334ade=qt(),{kStatusCode:_0x56ecda}=V(),_0x5002a2=Buffer[Symbol[_0x578e3f(0x229)]],_0x53eba8=Buffer[_0x578e3f(0x1c5)]([0x0,0x0,0xff,0xff]),_0x5469a4=Symbol(_0x578e3f(0x1b4)),_0x233d08=Symbol(_0x578e3f(0x19d)),_0xb44259=Symbol(_0x578e3f(0x215)),_0x17108c=Symbol('buffers'),_0x5c02de=Symbol(_0x578e3f(0x1ea));let _0x29cddd;class _0x18ccdf{constructor(_0xe361d1,_0x5b7dd9,_0xc17e95){const _0x5bd42f=_0x578e3f;if(this[_0x5bd42f(0x244)]=_0xc17e95|0x0,this[_0x5bd42f(0x14e)]=_0xe361d1||{},this[_0x5bd42f(0x1cb)]=this['_options']['threshold']!==void 0x0?this['_options'][_0x5bd42f(0x1d3)]:0x400,this[_0x5bd42f(0x1f6)]=!!_0x5b7dd9,this[_0x5bd42f(0x201)]=null,this[_0x5bd42f(0x247)]=null,this[_0x5bd42f(0x25a)]=null,!_0x29cddd){const _0xbb8db3=this[_0x5bd42f(0x14e)]['concurrencyLimit']!==void 0x0?this[_0x5bd42f(0x14e)][_0x5bd42f(0x217)]:0xa;_0x29cddd=new _0x334ade(_0xbb8db3);}}static get[_0x578e3f(0x17a)](){const _0x5cb31a=_0x578e3f;return _0x5cb31a(0x1b4);}['offer'](){const _0x505e88=_0x578e3f,_0x466d8a={};return this[_0x505e88(0x14e)][_0x505e88(0x29b)]&&(_0x466d8a['server_no_context_takeover']=!0x0),this[_0x505e88(0x14e)][_0x505e88(0x18c)]&&(_0x466d8a[_0x505e88(0x2be)]=!0x0),this[_0x505e88(0x14e)]['serverMaxWindowBits']&&(_0x466d8a[_0x505e88(0x274)]=this[_0x505e88(0x14e)][_0x505e88(0x2c4)]),this['_options'][_0x505e88(0x242)]?_0x466d8a['client_max_window_bits']=this['_options']['clientMaxWindowBits']:this[_0x505e88(0x14e)][_0x505e88(0x242)]==null&&(_0x466d8a[_0x505e88(0x1a0)]=!0x0),_0x466d8a;}[_0x578e3f(0x18b)](_0x3bc789){const _0x2146d1=_0x578e3f;return _0x3bc789=this['normalizeParams'](_0x3bc789),this['params']=this[_0x2146d1(0x1f6)]?this[_0x2146d1(0x20d)](_0x3bc789):this['acceptAsClient'](_0x3bc789),this[_0x2146d1(0x25a)];}['cleanup'](){const _0x13daa0=_0x578e3f;if(this[_0x13daa0(0x247)]&&(this[_0x13daa0(0x247)][_0x13daa0(0x20f)](),this['_inflate']=null),this[_0x13daa0(0x201)]){const _0x8754b1=this[_0x13daa0(0x201)][_0xb44259];this[_0x13daa0(0x201)][_0x13daa0(0x20f)](),this[_0x13daa0(0x201)]=null,_0x8754b1&&_0x8754b1(new Error(_0x13daa0(0x240)));}}['acceptAsServer'](_0x3b3182){const _0x16d490=_0x578e3f,_0x1d8fa0=this[_0x16d490(0x14e)],_0x467e47=_0x3b3182[_0x16d490(0x17b)](_0xe25c03=>!(_0x1d8fa0['serverNoContextTakeover']===!0x1&&_0xe25c03[_0x16d490(0x18d)]||_0xe25c03['server_max_window_bits']&&(_0x1d8fa0[_0x16d490(0x2c4)]===!0x1||typeof _0x1d8fa0[_0x16d490(0x2c4)]==_0x16d490(0x236)&&_0x1d8fa0[_0x16d490(0x2c4)]>_0xe25c03[_0x16d490(0x274)])||typeof _0x1d8fa0[_0x16d490(0x242)]==_0x16d490(0x236)&&!_0xe25c03['client_max_window_bits']));if(!_0x467e47)throw new Error(_0x16d490(0x222));return _0x1d8fa0[_0x16d490(0x29b)]&&(_0x467e47[_0x16d490(0x18d)]=!0x0),_0x1d8fa0['clientNoContextTakeover']&&(_0x467e47[_0x16d490(0x2be)]=!0x0),typeof _0x1d8fa0[_0x16d490(0x2c4)]==_0x16d490(0x236)&&(_0x467e47[_0x16d490(0x274)]=_0x1d8fa0[_0x16d490(0x2c4)]),typeof _0x1d8fa0[_0x16d490(0x242)]==_0x16d490(0x236)?_0x467e47[_0x16d490(0x1a0)]=_0x1d8fa0[_0x16d490(0x242)]:(_0x467e47['client_max_window_bits']===!0x0||_0x1d8fa0['clientMaxWindowBits']===!0x1)&&delete _0x467e47['client_max_window_bits'],_0x467e47;}[_0x578e3f(0x1f3)](_0x4ade26){const _0x5e43d0=_0x578e3f,_0x4c0406=_0x4ade26[0x0];if(this[_0x5e43d0(0x14e)][_0x5e43d0(0x18c)]===!0x1&&_0x4c0406[_0x5e43d0(0x2be)])throw new Error(_0x5e43d0(0x248));if(!_0x4c0406[_0x5e43d0(0x1a0)])typeof this[_0x5e43d0(0x14e)]['clientMaxWindowBits']==_0x5e43d0(0x236)&&(_0x4c0406[_0x5e43d0(0x1a0)]=this[_0x5e43d0(0x14e)][_0x5e43d0(0x242)]);else{if(this[_0x5e43d0(0x14e)]['clientMaxWindowBits']===!0x1||typeof this[_0x5e43d0(0x14e)]['clientMaxWindowBits']==_0x5e43d0(0x236)&&_0x4c0406[_0x5e43d0(0x1a0)]>this[_0x5e43d0(0x14e)][_0x5e43d0(0x242)])throw new Error('Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22');}return _0x4c0406;}[_0x578e3f(0x271)](_0x426812){return _0x426812['forEach'](_0x47bd06=>{const _0x15c26d=_0x49ee;Object[_0x15c26d(0x164)](_0x47bd06)[_0x15c26d(0x145)](_0x27b02f=>{const _0x37a0fa=_0x15c26d;let _0x304f93=_0x47bd06[_0x27b02f];if(_0x304f93[_0x37a0fa(0x16d)]>0x1)throw new Error(_0x37a0fa(0x1fc)+_0x27b02f+_0x37a0fa(0x177));if(_0x304f93=_0x304f93[0x0],_0x27b02f===_0x37a0fa(0x1a0)){if(_0x304f93!==!0x0){const _0x5ae27e=+_0x304f93;if(!Number[_0x37a0fa(0x2ae)](_0x5ae27e)||_0x5ae27e<0x8||_0x5ae27e>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x27b02f+_0x37a0fa(0x2c3)+_0x304f93);_0x304f93=_0x5ae27e;}else{if(!this['_isServer'])throw new TypeError(_0x37a0fa(0x194)+_0x27b02f+'\x22:\x20'+_0x304f93);}}else{if(_0x27b02f===_0x37a0fa(0x274)){const _0x119d90=+_0x304f93;if(!Number[_0x37a0fa(0x2ae)](_0x119d90)||_0x119d90<0x8||_0x119d90>0xf)throw new TypeError(_0x37a0fa(0x194)+_0x27b02f+_0x37a0fa(0x2c3)+_0x304f93);_0x304f93=_0x119d90;}else{if(_0x27b02f===_0x37a0fa(0x2be)||_0x27b02f===_0x37a0fa(0x18d)){if(_0x304f93!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x27b02f+_0x37a0fa(0x2c3)+_0x304f93);}else throw new Error(_0x37a0fa(0x1fd)+_0x27b02f+'\x22');}}_0x47bd06[_0x27b02f]=_0x304f93;});}),_0x426812;}['decompress'](_0x3171d6,_0x2f0f00,_0xefc830){const _0x19c072=_0x578e3f;_0x29cddd[_0x19c072(0x202)](_0x5560c0=>{const _0x59fe7d=_0x19c072;this[_0x59fe7d(0x2bb)](_0x3171d6,_0x2f0f00,(_0x475e6e,_0x318fd)=>{_0x5560c0(),_0xefc830(_0x475e6e,_0x318fd);});});}[_0x578e3f(0x23d)](_0x2f5a18,_0x47b472,_0x390536){_0x29cddd['add'](_0x5b92d9=>{const _0xf77d7f=_0x49ee;this[_0xf77d7f(0x13c)](_0x2f5a18,_0x47b472,(_0x17a227,_0xbfba1b)=>{_0x5b92d9(),_0x390536(_0x17a227,_0xbfba1b);});});}[_0x578e3f(0x2bb)](_0x438117,_0x5b06f1,_0x35884c){const _0x1535cf=_0x578e3f,_0x5bda00=this[_0x1535cf(0x1f6)]?_0x1535cf(0x19b):_0x1535cf(0x2c5);if(!this[_0x1535cf(0x247)]){const _0x54f855=_0x5bda00+'_max_window_bits',_0x17247e=typeof this['params'][_0x54f855]!=_0x1535cf(0x236)?_0xb63216[_0x1535cf(0x2b2)]:this[_0x1535cf(0x25a)][_0x54f855];this[_0x1535cf(0x247)]=_0xb63216[_0x1535cf(0x1af)]({...this['_options']['zlibInflateOptions'],'windowBits':_0x17247e}),this[_0x1535cf(0x247)][_0x5469a4]=this,this[_0x1535cf(0x247)][_0x233d08]=0x0,this[_0x1535cf(0x247)][_0x17108c]=[],this[_0x1535cf(0x247)]['on']('error',_0x212b8a),this[_0x1535cf(0x247)]['on']('data',_0x4ad2c1);}this[_0x1535cf(0x247)][_0xb44259]=_0x35884c,this[_0x1535cf(0x247)][_0x1535cf(0x23c)](_0x438117),_0x5b06f1&&this['_inflate'][_0x1535cf(0x23c)](_0x53eba8),this[_0x1535cf(0x247)][_0x1535cf(0x216)](()=>{const _0x5e0f11=_0x1535cf,_0x1ebab8=this[_0x5e0f11(0x247)][_0x5c02de];if(_0x1ebab8){this[_0x5e0f11(0x247)]['close'](),this['_inflate']=null,_0x35884c(_0x1ebab8);return;}const _0x2464bd=_0x48ecfe[_0x5e0f11(0x2e2)](this[_0x5e0f11(0x247)][_0x17108c],this[_0x5e0f11(0x247)][_0x233d08]);this[_0x5e0f11(0x247)][_0x5e0f11(0x25e)][_0x5e0f11(0x1f1)]?(this[_0x5e0f11(0x247)][_0x5e0f11(0x20f)](),this[_0x5e0f11(0x247)]=null):(this[_0x5e0f11(0x247)][_0x233d08]=0x0,this[_0x5e0f11(0x247)][_0x17108c]=[],_0x5b06f1&&this[_0x5e0f11(0x25a)][_0x5bda00+_0x5e0f11(0x2cd)]&&this['_inflate'][_0x5e0f11(0x15f)]()),_0x35884c(null,_0x2464bd);});}[_0x578e3f(0x13c)](_0x271333,_0x1a2098,_0x1f2321){const _0x2ced5a=_0x578e3f,_0x21665d=this[_0x2ced5a(0x1f6)]?'server':_0x2ced5a(0x19b);if(!this[_0x2ced5a(0x201)]){const _0x433174=_0x21665d+_0x2ced5a(0x262),_0x44c596=typeof this[_0x2ced5a(0x25a)][_0x433174]!='number'?_0xb63216[_0x2ced5a(0x2b2)]:this[_0x2ced5a(0x25a)][_0x433174];this[_0x2ced5a(0x201)]=_0xb63216[_0x2ced5a(0x20a)]({...this['_options']['zlibDeflateOptions'],'windowBits':_0x44c596}),this['_deflate'][_0x233d08]=0x0,this['_deflate'][_0x17108c]=[],this[_0x2ced5a(0x201)]['on'](_0x2ced5a(0x14b),_0x508bff);}this[_0x2ced5a(0x201)][_0xb44259]=_0x1f2321,this[_0x2ced5a(0x201)][_0x2ced5a(0x23c)](_0x271333),this[_0x2ced5a(0x201)][_0x2ced5a(0x216)](_0xb63216['Z_SYNC_FLUSH'],()=>{const _0x53a28b=_0x2ced5a;if(!this[_0x53a28b(0x201)])return;let _0x76589a=_0x48ecfe[_0x53a28b(0x2e2)](this[_0x53a28b(0x201)][_0x17108c],this['_deflate'][_0x233d08]);_0x1a2098&&(_0x76589a=new _0x5002a2(_0x76589a[_0x53a28b(0x28a)],_0x76589a[_0x53a28b(0x1ca)],_0x76589a['length']-0x4)),this['_deflate'][_0xb44259]=null,this[_0x53a28b(0x201)][_0x233d08]=0x0,this[_0x53a28b(0x201)][_0x17108c]=[],_0x1a2098&&this[_0x53a28b(0x25a)][_0x21665d+_0x53a28b(0x2cd)]&&this[_0x53a28b(0x201)][_0x53a28b(0x15f)](),_0x1f2321(null,_0x76589a);});}}ve=_0x18ccdf;function _0x508bff(_0xcaf704){this[_0x17108c]['push'](_0xcaf704),this[_0x233d08]+=_0xcaf704['length'];}function _0x4ad2c1(_0x9d0292){const _0x4c6a7a=_0x578e3f;if(this[_0x233d08]+=_0x9d0292[_0x4c6a7a(0x16d)],this[_0x5469a4]['_maxPayload']<0x1||this[_0x233d08]<=this[_0x5469a4]['_maxPayload']){this[_0x17108c][_0x4c6a7a(0x15e)](_0x9d0292);return;}this[_0x5c02de]=new RangeError(_0x4c6a7a(0x23e)),this[_0x5c02de][_0x4c6a7a(0x2d5)]=_0x4c6a7a(0x266),this[_0x5c02de][_0x56ecda]=0x3f1,this['removeListener'](_0x4c6a7a(0x14b),_0x4ad2c1),this[_0x4c6a7a(0x15f)]();}function _0x212b8a(_0x146263){const _0x28c8f6=_0x578e3f;if(this[_0x5469a4][_0x28c8f6(0x247)]=null,this[_0x5c02de]){this[_0xb44259](this[_0x5c02de]);return;}_0x146263[_0x56ecda]=0x3ef,this[_0xb44259](_0x146263);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x52913d(0x1a5)](Object[_0x52913d(0x23b)]({'__proto__':null,'default':Ht},Symbol[_0x52913d(0x251)],{'value':_0x52913d(0x24d)})),Yt=ut(zt);var Qe;function ne(){const _0x556321=_0x52913d;if(Qe)return re[_0x556321(0x21f)];Qe=0x1;const {isUtf8:_0x1c08ab}=_0x399842,{hasBlob:_0x2c109c}=V(),_0x287c4c=[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 _0x584f57(_0x7dd449){return _0x7dd449>=0x3e8&&_0x7dd449<=0x3f6&&_0x7dd449!==0x3ec&&_0x7dd449!==0x3ed&&_0x7dd449!==0x3ee||_0x7dd449>=0xbb8&&_0x7dd449<=0x1387;}function _0x174e77(_0x4a7c66){const _0x338e28=_0x556321,_0xd01191=_0x4a7c66[_0x338e28(0x16d)];let _0x30e413=0x0;for(;_0x30e413<_0xd01191;)if((_0x4a7c66[_0x30e413]&0x80)===0x0)_0x30e413++;else{if((_0x4a7c66[_0x30e413]&0xe0)===0xc0){if(_0x30e413+0x1===_0xd01191||(_0x4a7c66[_0x30e413+0x1]&0xc0)!==0x80||(_0x4a7c66[_0x30e413]&0xfe)===0xc0)return!0x1;_0x30e413+=0x2;}else{if((_0x4a7c66[_0x30e413]&0xf0)===0xe0){if(_0x30e413+0x2>=_0xd01191||(_0x4a7c66[_0x30e413+0x1]&0xc0)!==0x80||(_0x4a7c66[_0x30e413+0x2]&0xc0)!==0x80||_0x4a7c66[_0x30e413]===0xe0&&(_0x4a7c66[_0x30e413+0x1]&0xe0)===0x80||_0x4a7c66[_0x30e413]===0xed&&(_0x4a7c66[_0x30e413+0x1]&0xe0)===0xa0)return!0x1;_0x30e413+=0x3;}else{if((_0x4a7c66[_0x30e413]&0xf8)===0xf0){if(_0x30e413+0x3>=_0xd01191||(_0x4a7c66[_0x30e413+0x1]&0xc0)!==0x80||(_0x4a7c66[_0x30e413+0x2]&0xc0)!==0x80||(_0x4a7c66[_0x30e413+0x3]&0xc0)!==0x80||_0x4a7c66[_0x30e413]===0xf0&&(_0x4a7c66[_0x30e413+0x1]&0xf0)===0x80||_0x4a7c66[_0x30e413]===0xf4&&_0x4a7c66[_0x30e413+0x1]>0x8f||_0x4a7c66[_0x30e413]>0xf4)return!0x1;_0x30e413+=0x4;}else return!0x1;}}}return!0x0;}function _0x932217(_0x2bfe2d){const _0x4b8c3c=_0x556321;return _0x2c109c&&typeof _0x2bfe2d==_0x4b8c3c(0x1f8)&&typeof _0x2bfe2d[_0x4b8c3c(0x239)]==_0x4b8c3c(0x2b3)&&typeof _0x2bfe2d[_0x4b8c3c(0x2a7)]=='string'&&typeof _0x2bfe2d[_0x4b8c3c(0x188)]==_0x4b8c3c(0x2b3)&&(_0x2bfe2d[Symbol['toStringTag']]===_0x4b8c3c(0x1a6)||_0x2bfe2d[Symbol[_0x4b8c3c(0x251)]]===_0x4b8c3c(0x190));}if(re[_0x556321(0x21f)]={'isBlob':_0x932217,'isValidStatusCode':_0x584f57,'isValidUTF8':_0x174e77,'tokenChars':_0x287c4c},_0x1c08ab)re[_0x556321(0x21f)][_0x556321(0x208)]=function(_0x51a110){const _0x52b9b8=_0x556321;return _0x51a110[_0x52b9b8(0x16d)]<0x18?_0x174e77(_0x51a110):_0x1c08ab(_0x51a110);};else{if(!process['env'][_0x556321(0x218)])try{const _0x3daaad=Yt;re[_0x556321(0x21f)][_0x556321(0x208)]=function(_0x9d1786){const _0x484f4b=_0x556321;return _0x9d1786[_0x484f4b(0x16d)]<0x20?_0x174e77(_0x9d1786):_0x3daaad(_0x9d1786);};}catch{}}return re[_0x556321(0x21f)];}var Se,Je;function dt(){const _0x16132c=_0x52913d;if(Je)return Se;Je=0x1;const {Writable:_0x402661}=_0x20bb13,_0x510656=he(),{BINARY_TYPES:_0x239572,EMPTY_BUFFER:_0x2d8c33,kStatusCode:_0x248ffd,kWebSocket:_0x26ff5a}=V(),{concat:_0x5df46a,toArrayBuffer:_0x4c5aa0,unmask:_0x548f7d}=ce(),{isValidStatusCode:_0x40bb85,isValidUTF8:_0x3f6ae3}=ne(),_0x583da6=Buffer[Symbol['species']],_0x230f91=0x0,_0x56d031=0x1,_0x5482da=0x2,_0xdcd700=0x3,_0x5ebb72=0x4,_0x9ad61e=0x5,_0x581aa4=0x6;class _0x3bab91 extends _0x402661{constructor(_0x54ddc8={}){const _0xae793d=_0x49ee;super(),this[_0xae793d(0x299)]=_0x54ddc8[_0xae793d(0x22c)]!==void 0x0?_0x54ddc8[_0xae793d(0x22c)]:!0x0,this[_0xae793d(0x1e5)]=_0x54ddc8[_0xae793d(0x1db)]||_0x239572[0x0],this[_0xae793d(0x2a5)]=_0x54ddc8[_0xae793d(0x1bf)]||{},this[_0xae793d(0x1f6)]=!!_0x54ddc8[_0xae793d(0x1b5)],this[_0xae793d(0x244)]=_0x54ddc8[_0xae793d(0x1c4)]|0x0,this['_skipUTF8Validation']=!!_0x54ddc8[_0xae793d(0x25c)],this[_0x26ff5a]=void 0x0,this[_0xae793d(0x1ff)]=0x0,this[_0xae793d(0x22a)]=[],this['_compressed']=!0x1,this[_0xae793d(0x1dc)]=0x0,this['_mask']=void 0x0,this['_fragmented']=0x0,this[_0xae793d(0x1f4)]=!0x1,this[_0xae793d(0x170)]=!0x1,this[_0xae793d(0x1fa)]=0x0,this[_0xae793d(0x1a1)]=0x0,this[_0xae793d(0x1a2)]=0x0,this[_0xae793d(0x2de)]=[],this[_0xae793d(0x2c7)]=!0x1,this[_0xae793d(0x2d7)]=!0x1,this[_0xae793d(0x159)]=_0x230f91;}[_0x16132c(0x189)](_0x8aff66,_0x363b6b,_0x2784f4){const _0x2bda48=_0x16132c;if(this[_0x2bda48(0x1fa)]===0x8&&this[_0x2bda48(0x159)]==_0x230f91)return _0x2784f4();this[_0x2bda48(0x1ff)]+=_0x8aff66['length'],this['_buffers']['push'](_0x8aff66),this[_0x2bda48(0x292)](_0x2784f4);}[_0x16132c(0x2d4)](_0x5b617d){const _0x3e5ba3=_0x16132c;if(this[_0x3e5ba3(0x1ff)]-=_0x5b617d,_0x5b617d===this[_0x3e5ba3(0x22a)][0x0][_0x3e5ba3(0x16d)])return this[_0x3e5ba3(0x22a)][_0x3e5ba3(0x144)]();if(_0x5b617d<this[_0x3e5ba3(0x22a)][0x0]['length']){const _0x7df8ce=this[_0x3e5ba3(0x22a)][0x0];return this[_0x3e5ba3(0x22a)][0x0]=new _0x583da6(_0x7df8ce[_0x3e5ba3(0x28a)],_0x7df8ce[_0x3e5ba3(0x1ca)]+_0x5b617d,_0x7df8ce[_0x3e5ba3(0x16d)]-_0x5b617d),new _0x583da6(_0x7df8ce[_0x3e5ba3(0x28a)],_0x7df8ce[_0x3e5ba3(0x1ca)],_0x5b617d);}const _0x2c6d1b=Buffer['allocUnsafe'](_0x5b617d);do{const _0x1685e6=this[_0x3e5ba3(0x22a)][0x0],_0x336e43=_0x2c6d1b[_0x3e5ba3(0x16d)]-_0x5b617d;_0x5b617d>=_0x1685e6[_0x3e5ba3(0x16d)]?_0x2c6d1b[_0x3e5ba3(0x13f)](this[_0x3e5ba3(0x22a)][_0x3e5ba3(0x144)](),_0x336e43):(_0x2c6d1b['set'](new Uint8Array(_0x1685e6['buffer'],_0x1685e6[_0x3e5ba3(0x1ca)],_0x5b617d),_0x336e43),this[_0x3e5ba3(0x22a)][0x0]=new _0x583da6(_0x1685e6[_0x3e5ba3(0x28a)],_0x1685e6[_0x3e5ba3(0x1ca)]+_0x5b617d,_0x1685e6[_0x3e5ba3(0x16d)]-_0x5b617d)),_0x5b617d-=_0x1685e6['length'];}while(_0x5b617d>0x0);return _0x2c6d1b;}['startLoop'](_0x54494a){const _0x972e2f=_0x16132c;this['_loop']=!0x0;do switch(this[_0x972e2f(0x159)]){case _0x230f91:this['getInfo'](_0x54494a);break;case _0x56d031:this[_0x972e2f(0x1b6)](_0x54494a);break;case _0x5482da:this[_0x972e2f(0x1f2)](_0x54494a);break;case _0xdcd700:this['getMask']();break;case _0x5ebb72:this[_0x972e2f(0x1cd)](_0x54494a);break;case _0x9ad61e:case _0x581aa4:this[_0x972e2f(0x2d7)]=!0x1;return;}while(this['_loop']);this[_0x972e2f(0x2c7)]||_0x54494a();}[_0x16132c(0x146)](_0xbc3a2){const _0x543ef7=_0x16132c;if(this[_0x543ef7(0x1ff)]<0x2){this[_0x543ef7(0x2d7)]=!0x1;return;}const _0x2319f7=this['consume'](0x2);if((_0x2319f7[0x0]&0x30)!==0x0){const _0x17b912=this[_0x543ef7(0x2d2)](RangeError,_0x543ef7(0x22d),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0xbc3a2(_0x17b912);return;}const _0x10270c=(_0x2319f7[0x0]&0x40)===0x40;if(_0x10270c&&!this[_0x543ef7(0x2a5)][_0x510656['extensionName']]){const _0x46b678=this[_0x543ef7(0x2d2)](RangeError,_0x543ef7(0x18f),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0xbc3a2(_0x46b678);return;}if(this[_0x543ef7(0x170)]=(_0x2319f7[0x0]&0x80)===0x80,this['_opcode']=_0x2319f7[0x0]&0xf,this[_0x543ef7(0x1dc)]=_0x2319f7[0x1]&0x7f,this['_opcode']===0x0){if(_0x10270c){const _0x229667=this[_0x543ef7(0x2d2)](RangeError,_0x543ef7(0x18f),!0x0,0x3ea,_0x543ef7(0x291));_0xbc3a2(_0x229667);return;}if(!this[_0x543ef7(0x2dd)]){const _0x105f3a=this[_0x543ef7(0x2d2)](RangeError,'invalid\x20opcode\x200',!0x0,0x3ea,_0x543ef7(0x24a));_0xbc3a2(_0x105f3a);return;}this[_0x543ef7(0x1fa)]=this[_0x543ef7(0x2dd)];}else{if(this[_0x543ef7(0x1fa)]===0x1||this[_0x543ef7(0x1fa)]===0x2){if(this[_0x543ef7(0x2dd)]){const _0x5da6cf=this[_0x543ef7(0x2d2)](RangeError,_0x543ef7(0x289)+this[_0x543ef7(0x1fa)],!0x0,0x3ea,_0x543ef7(0x24a));_0xbc3a2(_0x5da6cf);return;}this[_0x543ef7(0x29c)]=_0x10270c;}else{if(this['_opcode']>0x7&&this[_0x543ef7(0x1fa)]<0xb){if(!this['_fin']){const _0x428d05=this[_0x543ef7(0x2d2)](RangeError,'FIN\x20must\x20be\x20set',!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0xbc3a2(_0x428d05);return;}if(_0x10270c){const _0xb25d24=this[_0x543ef7(0x2d2)](RangeError,_0x543ef7(0x18f),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0xbc3a2(_0xb25d24);return;}if(this[_0x543ef7(0x1dc)]>0x7d||this[_0x543ef7(0x1fa)]===0x8&&this[_0x543ef7(0x1dc)]===0x1){const _0x271e69=this[_0x543ef7(0x2d2)](RangeError,_0x543ef7(0x172)+this['_payloadLength'],!0x0,0x3ea,_0x543ef7(0x1ee));_0xbc3a2(_0x271e69);return;}}else{const _0x316344=this[_0x543ef7(0x2d2)](RangeError,_0x543ef7(0x289)+this[_0x543ef7(0x1fa)],!0x0,0x3ea,_0x543ef7(0x24a));_0xbc3a2(_0x316344);return;}}}if(!this[_0x543ef7(0x170)]&&!this[_0x543ef7(0x2dd)]&&(this[_0x543ef7(0x2dd)]=this['_opcode']),this[_0x543ef7(0x1f4)]=(_0x2319f7[0x1]&0x80)===0x80,this[_0x543ef7(0x1f6)]){if(!this[_0x543ef7(0x1f4)]){const _0x7f3e3=this[_0x543ef7(0x2d2)](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,'WS_ERR_EXPECTED_MASK');_0xbc3a2(_0x7f3e3);return;}}else{if(this[_0x543ef7(0x1f4)]){const _0x3db4a4=this[_0x543ef7(0x2d2)](RangeError,'MASK\x20must\x20be\x20clear',!0x0,0x3ea,_0x543ef7(0x23f));_0xbc3a2(_0x3db4a4);return;}}this[_0x543ef7(0x1dc)]===0x7e?this[_0x543ef7(0x159)]=_0x56d031:this[_0x543ef7(0x1dc)]===0x7f?this[_0x543ef7(0x159)]=_0x5482da:this['haveLength'](_0xbc3a2);}[_0x16132c(0x1b6)](_0x491676){const _0x329e8f=_0x16132c;if(this[_0x329e8f(0x1ff)]<0x2){this[_0x329e8f(0x2d7)]=!0x1;return;}this[_0x329e8f(0x1dc)]=this[_0x329e8f(0x2d4)](0x2)[_0x329e8f(0x23a)](0x0),this[_0x329e8f(0x25f)](_0x491676);}[_0x16132c(0x1f2)](_0x29b538){const _0x10acf7=_0x16132c;if(this[_0x10acf7(0x1ff)]<0x8){this[_0x10acf7(0x2d7)]=!0x1;return;}const _0x43ed47=this[_0x10acf7(0x2d4)](0x8),_0x1a574a=_0x43ed47['readUInt32BE'](0x0);if(_0x1a574a>Math[_0x10acf7(0x18a)](0x2,0x15)-0x1){const _0x2c4176=this[_0x10acf7(0x2d2)](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,_0x10acf7(0x2b0));_0x29b538(_0x2c4176);return;}this[_0x10acf7(0x1dc)]=_0x1a574a*Math[_0x10acf7(0x18a)](0x2,0x20)+_0x43ed47[_0x10acf7(0x178)](0x4),this[_0x10acf7(0x25f)](_0x29b538);}['haveLength'](_0x29a3e3){const _0x47185a=_0x16132c;if(this[_0x47185a(0x1dc)]&&this[_0x47185a(0x1fa)]<0x8&&(this['_totalPayloadLength']+=this['_payloadLength'],this[_0x47185a(0x1a1)]>this['_maxPayload']&&this[_0x47185a(0x244)]>0x0)){const _0x3396bd=this[_0x47185a(0x2d2)](RangeError,_0x47185a(0x23e),!0x1,0x3f1,_0x47185a(0x266));_0x29a3e3(_0x3396bd);return;}this[_0x47185a(0x1f4)]?this[_0x47185a(0x159)]=_0xdcd700:this[_0x47185a(0x159)]=_0x5ebb72;}[_0x16132c(0x230)](){const _0x847c7e=_0x16132c;if(this['_bufferedBytes']<0x4){this['_loop']=!0x1;return;}this[_0x847c7e(0x1fb)]=this['consume'](0x4),this[_0x847c7e(0x159)]=_0x5ebb72;}[_0x16132c(0x1cd)](_0x5ef15b){const _0x2dcb72=_0x16132c;let _0x557d9f=_0x2d8c33;if(this['_payloadLength']){if(this[_0x2dcb72(0x1ff)]<this['_payloadLength']){this[_0x2dcb72(0x2d7)]=!0x1;return;}_0x557d9f=this['consume'](this[_0x2dcb72(0x1dc)]),this[_0x2dcb72(0x1f4)]&&(this[_0x2dcb72(0x1fb)][0x0]|this['_mask'][0x1]|this['_mask'][0x2]|this[_0x2dcb72(0x1fb)][0x3])!==0x0&&_0x548f7d(_0x557d9f,this[_0x2dcb72(0x1fb)]);}if(this[_0x2dcb72(0x1fa)]>0x7){this['controlMessage'](_0x557d9f,_0x5ef15b);return;}if(this[_0x2dcb72(0x29c)]){this['_state']=_0x9ad61e,this[_0x2dcb72(0x280)](_0x557d9f,_0x5ef15b);return;}_0x557d9f[_0x2dcb72(0x16d)]&&(this[_0x2dcb72(0x1a2)]=this['_totalPayloadLength'],this[_0x2dcb72(0x2de)]['push'](_0x557d9f)),this[_0x2dcb72(0x157)](_0x5ef15b);}[_0x16132c(0x280)](_0x42e64e,_0x6700e8){const _0x5e3e66=_0x16132c;this[_0x5e3e66(0x2a5)][_0x510656[_0x5e3e66(0x17a)]][_0x5e3e66(0x280)](_0x42e64e,this[_0x5e3e66(0x170)],(_0x21bba7,_0x5db34f)=>{const _0x4cb312=_0x5e3e66;if(_0x21bba7)return _0x6700e8(_0x21bba7);if(_0x5db34f[_0x4cb312(0x16d)]){if(this[_0x4cb312(0x1a2)]+=_0x5db34f['length'],this[_0x4cb312(0x1a2)]>this[_0x4cb312(0x244)]&&this[_0x4cb312(0x244)]>0x0){const _0x2b4939=this['createError'](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x4cb312(0x266));_0x6700e8(_0x2b4939);return;}this[_0x4cb312(0x2de)][_0x4cb312(0x15e)](_0x5db34f);}this['dataMessage'](_0x6700e8),this['_state']===_0x230f91&&this['startLoop'](_0x6700e8);});}[_0x16132c(0x157)](_0x244525){const _0x36d13e=_0x16132c;if(!this[_0x36d13e(0x170)]){this[_0x36d13e(0x159)]=_0x230f91;return;}const _0x219bc9=this['_messageLength'],_0xead7d1=this['_fragments'];if(this[_0x36d13e(0x1a1)]=0x0,this[_0x36d13e(0x1a2)]=0x0,this['_fragmented']=0x0,this['_fragments']=[],this[_0x36d13e(0x1fa)]===0x2){let _0x14c0da;this['_binaryType']===_0x36d13e(0x277)?_0x14c0da=_0x5df46a(_0xead7d1,_0x219bc9):this['_binaryType']===_0x36d13e(0x1f7)?_0x14c0da=_0x4c5aa0(_0x5df46a(_0xead7d1,_0x219bc9)):this[_0x36d13e(0x1e5)]==='blob'?_0x14c0da=new Blob(_0xead7d1):_0x14c0da=_0xead7d1,this[_0x36d13e(0x299)]?(this[_0x36d13e(0x1e1)]('message',_0x14c0da,!0x0),this[_0x36d13e(0x159)]=_0x230f91):(this['_state']=_0x581aa4,setImmediate(()=>{const _0x21a35e=_0x36d13e;this[_0x21a35e(0x1e1)]('message',_0x14c0da,!0x0),this[_0x21a35e(0x159)]=_0x230f91,this[_0x21a35e(0x292)](_0x244525);}));}else{const _0x528cbf=_0x5df46a(_0xead7d1,_0x219bc9);if(!this[_0x36d13e(0x2db)]&&!_0x3f6ae3(_0x528cbf)){const _0x541691=this[_0x36d13e(0x2d2)](Error,_0x36d13e(0x227),!0x0,0x3ef,_0x36d13e(0x249));_0x244525(_0x541691);return;}this['_state']===_0x9ad61e||this[_0x36d13e(0x299)]?(this['emit'](_0x36d13e(0x1d0),_0x528cbf,!0x1),this[_0x36d13e(0x159)]=_0x230f91):(this[_0x36d13e(0x159)]=_0x581aa4,setImmediate(()=>{const _0x2f90c7=_0x36d13e;this[_0x2f90c7(0x1e1)](_0x2f90c7(0x1d0),_0x528cbf,!0x1),this['_state']=_0x230f91,this[_0x2f90c7(0x292)](_0x244525);}));}}[_0x16132c(0x237)](_0x3efe78,_0x36f388){const _0x2bd32d=_0x16132c;if(this[_0x2bd32d(0x1fa)]===0x8){if(_0x3efe78[_0x2bd32d(0x16d)]===0x0)this[_0x2bd32d(0x2d7)]=!0x1,this[_0x2bd32d(0x1e1)](_0x2bd32d(0x2a0),0x3ed,_0x2d8c33),this['end']();else{const _0x1f511b=_0x3efe78['readUInt16BE'](0x0);if(!_0x40bb85(_0x1f511b)){const _0x38139d=this[_0x2bd32d(0x2d2)](RangeError,'invalid\x20status\x20code\x20'+_0x1f511b,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0x36f388(_0x38139d);return;}const _0x40ca39=new _0x583da6(_0x3efe78[_0x2bd32d(0x28a)],_0x3efe78[_0x2bd32d(0x1ca)]+0x2,_0x3efe78[_0x2bd32d(0x16d)]-0x2);if(!this[_0x2bd32d(0x2db)]&&!_0x3f6ae3(_0x40ca39)){const _0x45ffc8=this['createError'](Error,_0x2bd32d(0x227),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x36f388(_0x45ffc8);return;}this[_0x2bd32d(0x2d7)]=!0x1,this[_0x2bd32d(0x1e1)](_0x2bd32d(0x2a0),_0x1f511b,_0x40ca39),this[_0x2bd32d(0x204)]();}this['_state']=_0x230f91;return;}this['_allowSynchronousEvents']?(this[_0x2bd32d(0x1e1)](this[_0x2bd32d(0x1fa)]===0x9?'ping':'pong',_0x3efe78),this[_0x2bd32d(0x159)]=_0x230f91):(this[_0x2bd32d(0x159)]=_0x581aa4,setImmediate(()=>{const _0x285c18=_0x2bd32d;this[_0x285c18(0x1e1)](this[_0x285c18(0x1fa)]===0x9?_0x285c18(0x2c0):_0x285c18(0x29f),_0x3efe78),this[_0x285c18(0x159)]=_0x230f91,this[_0x285c18(0x292)](_0x36f388);}));}[_0x16132c(0x2d2)](_0x311aa6,_0x34b96e,_0x5245b6,_0x28470b,_0x570a1d){const _0x50458d=_0x16132c;this['_loop']=!0x1,this[_0x50458d(0x2c7)]=!0x0;const _0x2cc84e=new _0x311aa6(_0x5245b6?_0x50458d(0x153)+_0x34b96e:_0x34b96e);return Error[_0x50458d(0x1ec)](_0x2cc84e,this['createError']),_0x2cc84e[_0x50458d(0x2d5)]=_0x570a1d,_0x2cc84e[_0x248ffd]=_0x28470b,_0x2cc84e;}}return Se=_0x3bab91,Se;}var Ee,et;function _t(){const _0x3ac94a=_0x52913d;if(et)return Ee;et=0x1;const {Duplex:_0x5a8edf}=_0x20bb13,{randomFillSync:_0x493873}=_0x355f4b,_0x2205ca=he(),{EMPTY_BUFFER:_0xc27012,kWebSocket:_0x332e68,NOOP:_0x8276f7}=V(),{isBlob:_0x4e3e2a,isValidStatusCode:_0x5cea05}=ne(),{mask:_0x3c825f,toBuffer:_0x5af0e0}=ce(),_0x57e1fa=Symbol(_0x3ac94a(0x1a9)),_0x514322=Buffer[_0x3ac94a(0x149)](0x4),_0x712dea=0x8*0x400;let _0x4eece8,_0x300a45=_0x712dea;const _0x15f9f5=0x0,_0xf324d2=0x1,_0x3918d1=0x2;class _0x245e2c{constructor(_0x2fa999,_0x507f91,_0x26292a){const _0x48a278=_0x3ac94a;this[_0x48a278(0x2a5)]=_0x507f91||{},_0x26292a&&(this[_0x48a278(0x286)]=_0x26292a,this[_0x48a278(0x213)]=Buffer[_0x48a278(0x149)](0x4)),this[_0x48a278(0x232)]=_0x2fa999,this[_0x48a278(0x26f)]=!0x0,this[_0x48a278(0x13c)]=!0x1,this[_0x48a278(0x1ff)]=0x0,this[_0x48a278(0x26a)]=[],this['_state']=_0x15f9f5,this[_0x48a278(0x2d8)]=_0x8276f7,this[_0x332e68]=void 0x0;}static[_0x3ac94a(0x2d3)](_0x32a013,_0x4cb803){const _0x415483=_0x3ac94a;let _0x21eeb5,_0x1f533a=!0x1,_0x47acf7=0x2,_0x243168=!0x1;_0x4cb803[_0x415483(0x26b)]&&(_0x21eeb5=_0x4cb803[_0x415483(0x1d1)]||_0x514322,_0x4cb803[_0x415483(0x148)]?_0x4cb803[_0x415483(0x148)](_0x21eeb5):(_0x300a45===_0x712dea&&(_0x4eece8===void 0x0&&(_0x4eece8=Buffer['alloc'](_0x712dea)),_0x493873(_0x4eece8,0x0,_0x712dea),_0x300a45=0x0),_0x21eeb5[0x0]=_0x4eece8[_0x300a45++],_0x21eeb5[0x1]=_0x4eece8[_0x300a45++],_0x21eeb5[0x2]=_0x4eece8[_0x300a45++],_0x21eeb5[0x3]=_0x4eece8[_0x300a45++]),_0x243168=(_0x21eeb5[0x0]|_0x21eeb5[0x1]|_0x21eeb5[0x2]|_0x21eeb5[0x3])===0x0,_0x47acf7=0x6);let _0x270728;typeof _0x32a013==_0x415483(0x21e)?(!_0x4cb803[_0x415483(0x26b)]||_0x243168)&&_0x4cb803[_0x57e1fa]!==void 0x0?_0x270728=_0x4cb803[_0x57e1fa]:(_0x32a013=Buffer[_0x415483(0x1c5)](_0x32a013),_0x270728=_0x32a013[_0x415483(0x16d)]):(_0x270728=_0x32a013[_0x415483(0x16d)],_0x1f533a=_0x4cb803[_0x415483(0x26b)]&&_0x4cb803['readOnly']&&!_0x243168);let _0x20054b=_0x270728;_0x270728>=0x10000?(_0x47acf7+=0x8,_0x20054b=0x7f):_0x270728>0x7d&&(_0x47acf7+=0x2,_0x20054b=0x7e);const _0x1deaa5=Buffer[_0x415483(0x1c7)](_0x1f533a?_0x270728+_0x47acf7:_0x47acf7);return _0x1deaa5[0x0]=_0x4cb803[_0x415483(0x1e2)]?_0x4cb803[_0x415483(0x162)]|0x80:_0x4cb803[_0x415483(0x162)],_0x4cb803[_0x415483(0x297)]&&(_0x1deaa5[0x0]|=0x40),_0x1deaa5[0x1]=_0x20054b,_0x20054b===0x7e?_0x1deaa5[_0x415483(0x24e)](_0x270728,0x2):_0x20054b===0x7f&&(_0x1deaa5[0x2]=_0x1deaa5[0x3]=0x0,_0x1deaa5['writeUIntBE'](_0x270728,0x4,0x6)),_0x4cb803['mask']?(_0x1deaa5[0x1]|=0x80,_0x1deaa5[_0x47acf7-0x4]=_0x21eeb5[0x0],_0x1deaa5[_0x47acf7-0x3]=_0x21eeb5[0x1],_0x1deaa5[_0x47acf7-0x2]=_0x21eeb5[0x2],_0x1deaa5[_0x47acf7-0x1]=_0x21eeb5[0x3],_0x243168?[_0x1deaa5,_0x32a013]:_0x1f533a?(_0x3c825f(_0x32a013,_0x21eeb5,_0x1deaa5,_0x47acf7,_0x270728),[_0x1deaa5]):(_0x3c825f(_0x32a013,_0x21eeb5,_0x32a013,0x0,_0x270728),[_0x1deaa5,_0x32a013])):[_0x1deaa5,_0x32a013];}[_0x3ac94a(0x20f)](_0x19f6df,_0x37e699,_0x447b0d,_0x58db03){const _0x3f0f84=_0x3ac94a;let _0x498887;if(_0x19f6df===void 0x0)_0x498887=_0xc27012;else{if(typeof _0x19f6df!='number'||!_0x5cea05(_0x19f6df))throw new TypeError(_0x3f0f84(0x15c));if(_0x37e699===void 0x0||!_0x37e699[_0x3f0f84(0x16d)])_0x498887=Buffer[_0x3f0f84(0x1c7)](0x2),_0x498887[_0x3f0f84(0x24e)](_0x19f6df,0x0);else{const _0x1b3c60=Buffer['byteLength'](_0x37e699);if(_0x1b3c60>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x498887=Buffer['allocUnsafe'](0x2+_0x1b3c60),_0x498887[_0x3f0f84(0x24e)](_0x19f6df,0x0),typeof _0x37e699==_0x3f0f84(0x21e)?_0x498887[_0x3f0f84(0x23c)](_0x37e699,0x2):_0x498887[_0x3f0f84(0x13f)](_0x37e699,0x2);}}const _0x1830e4={[_0x57e1fa]:_0x498887['length'],'fin':!0x0,'generateMask':this[_0x3f0f84(0x286)],'mask':_0x447b0d,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x3f0f84(0x159)]!==_0x15f9f5?this[_0x3f0f84(0x156)]([this['dispatch'],_0x498887,!0x1,_0x1830e4,_0x58db03]):this[_0x3f0f84(0x2c9)](_0x245e2c['frame'](_0x498887,_0x1830e4),_0x58db03);}[_0x3ac94a(0x2c0)](_0x9afa47,_0x224714,_0x534edb){const _0x5e5125=_0x3ac94a;let _0x4a2252,_0x27c249;if(typeof _0x9afa47==_0x5e5125(0x21e)?(_0x4a2252=Buffer[_0x5e5125(0x1cf)](_0x9afa47),_0x27c249=!0x1):_0x4e3e2a(_0x9afa47)?(_0x4a2252=_0x9afa47[_0x5e5125(0x1e3)],_0x27c249=!0x1):(_0x9afa47=_0x5af0e0(_0x9afa47),_0x4a2252=_0x9afa47[_0x5e5125(0x16d)],_0x27c249=_0x5af0e0[_0x5e5125(0x28b)]),_0x4a2252>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x2ad42d={[_0x57e1fa]:_0x4a2252,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x224714,'maskBuffer':this['_maskBuffer'],'opcode':0x9,'readOnly':_0x27c249,'rsv1':!0x1};_0x4e3e2a(_0x9afa47)?this[_0x5e5125(0x159)]!==_0x15f9f5?this['enqueue']([this[_0x5e5125(0x2d6)],_0x9afa47,!0x1,_0x2ad42d,_0x534edb]):this[_0x5e5125(0x2d6)](_0x9afa47,!0x1,_0x2ad42d,_0x534edb):this[_0x5e5125(0x159)]!==_0x15f9f5?this['enqueue']([this[_0x5e5125(0x17d)],_0x9afa47,!0x1,_0x2ad42d,_0x534edb]):this['sendFrame'](_0x245e2c[_0x5e5125(0x2d3)](_0x9afa47,_0x2ad42d),_0x534edb);}[_0x3ac94a(0x29f)](_0x2ec0b2,_0x347957,_0x5b1b3e){const _0x484577=_0x3ac94a;let _0x3943be,_0x22d86a;if(typeof _0x2ec0b2==_0x484577(0x21e)?(_0x3943be=Buffer[_0x484577(0x1cf)](_0x2ec0b2),_0x22d86a=!0x1):_0x4e3e2a(_0x2ec0b2)?(_0x3943be=_0x2ec0b2['size'],_0x22d86a=!0x1):(_0x2ec0b2=_0x5af0e0(_0x2ec0b2),_0x3943be=_0x2ec0b2[_0x484577(0x16d)],_0x22d86a=_0x5af0e0['readOnly']),_0x3943be>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x3ee239={[_0x57e1fa]:_0x3943be,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x347957,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x22d86a,'rsv1':!0x1};_0x4e3e2a(_0x2ec0b2)?this['_state']!==_0x15f9f5?this['enqueue']([this[_0x484577(0x2d6)],_0x2ec0b2,!0x1,_0x3ee239,_0x5b1b3e]):this[_0x484577(0x2d6)](_0x2ec0b2,!0x1,_0x3ee239,_0x5b1b3e):this[_0x484577(0x159)]!==_0x15f9f5?this[_0x484577(0x156)]([this['dispatch'],_0x2ec0b2,!0x1,_0x3ee239,_0x5b1b3e]):this[_0x484577(0x2c9)](_0x245e2c[_0x484577(0x2d3)](_0x2ec0b2,_0x3ee239),_0x5b1b3e);}[_0x3ac94a(0x14d)](_0x2b8727,_0x343a6d,_0x456013){const _0x4aca17=_0x3ac94a,_0x2afe9e=this[_0x4aca17(0x2a5)][_0x2205ca[_0x4aca17(0x17a)]];let _0x26397f=_0x343a6d[_0x4aca17(0x1b3)]?0x2:0x1,_0x261588=_0x343a6d['compress'],_0x50ca05,_0x4541f9;typeof _0x2b8727==_0x4aca17(0x21e)?(_0x50ca05=Buffer['byteLength'](_0x2b8727),_0x4541f9=!0x1):_0x4e3e2a(_0x2b8727)?(_0x50ca05=_0x2b8727['size'],_0x4541f9=!0x1):(_0x2b8727=_0x5af0e0(_0x2b8727),_0x50ca05=_0x2b8727['length'],_0x4541f9=_0x5af0e0[_0x4aca17(0x28b)]),this[_0x4aca17(0x26f)]?(this[_0x4aca17(0x26f)]=!0x1,_0x261588&&_0x2afe9e&&_0x2afe9e['params'][_0x2afe9e[_0x4aca17(0x1f6)]?_0x4aca17(0x18d):_0x4aca17(0x2be)]&&(_0x261588=_0x50ca05>=_0x2afe9e[_0x4aca17(0x1cb)]),this[_0x4aca17(0x13c)]=_0x261588):(_0x261588=!0x1,_0x26397f=0x0),_0x343a6d[_0x4aca17(0x1e2)]&&(this[_0x4aca17(0x26f)]=!0x0);const _0x252030={[_0x57e1fa]:_0x50ca05,'fin':_0x343a6d[_0x4aca17(0x1e2)],'generateMask':this[_0x4aca17(0x286)],'mask':_0x343a6d[_0x4aca17(0x26b)],'maskBuffer':this['_maskBuffer'],'opcode':_0x26397f,'readOnly':_0x4541f9,'rsv1':_0x261588};_0x4e3e2a(_0x2b8727)?this[_0x4aca17(0x159)]!==_0x15f9f5?this[_0x4aca17(0x156)]([this['getBlobData'],_0x2b8727,this[_0x4aca17(0x13c)],_0x252030,_0x456013]):this[_0x4aca17(0x2d6)](_0x2b8727,this[_0x4aca17(0x13c)],_0x252030,_0x456013):this[_0x4aca17(0x159)]!==_0x15f9f5?this['enqueue']([this[_0x4aca17(0x17d)],_0x2b8727,this[_0x4aca17(0x13c)],_0x252030,_0x456013]):this['dispatch'](_0x2b8727,this['_compress'],_0x252030,_0x456013);}[_0x3ac94a(0x2d6)](_0x33248a,_0xad22c4,_0x176cdf,_0x1c7643){const _0x1be470=_0x3ac94a;this[_0x1be470(0x1ff)]+=_0x176cdf[_0x57e1fa],this['_state']=_0x3918d1,_0x33248a[_0x1be470(0x239)]()[_0x1be470(0x29d)](_0x4dcafa=>{const _0x2a2175=_0x1be470;if(this[_0x2a2175(0x232)][_0x2a2175(0x192)]){const _0x1146be=new Error(_0x2a2175(0x228));process[_0x2a2175(0x181)](_0x3ac708,this,_0x1146be,_0x1c7643);return;}this[_0x2a2175(0x1ff)]-=_0x176cdf[_0x57e1fa];const _0x12864e=_0x5af0e0(_0x4dcafa);_0xad22c4?this['dispatch'](_0x12864e,_0xad22c4,_0x176cdf,_0x1c7643):(this['_state']=_0x15f9f5,this[_0x2a2175(0x2c9)](_0x245e2c[_0x2a2175(0x2d3)](_0x12864e,_0x176cdf),_0x1c7643),this[_0x2a2175(0x1b8)]());})[_0x1be470(0x141)](_0x3a3523=>{const _0x45f912=_0x1be470;process[_0x45f912(0x181)](_0x2446ad,this,_0x3a3523,_0x1c7643);});}['dispatch'](_0x5edd9c,_0x43fc72,_0x196bce,_0x5216a6){const _0x15ed78=_0x3ac94a;if(!_0x43fc72){this['sendFrame'](_0x245e2c[_0x15ed78(0x2d3)](_0x5edd9c,_0x196bce),_0x5216a6);return;}const _0x5eb7a6=this[_0x15ed78(0x2a5)][_0x2205ca[_0x15ed78(0x17a)]];this[_0x15ed78(0x1ff)]+=_0x196bce[_0x57e1fa],this['_state']=_0xf324d2,_0x5eb7a6[_0x15ed78(0x23d)](_0x5edd9c,_0x196bce['fin'],(_0x3e7907,_0x5d9fbf)=>{const _0x25e5ac=_0x15ed78;if(this[_0x25e5ac(0x232)][_0x25e5ac(0x192)]){const _0x3d44de=new Error(_0x25e5ac(0x1b0));_0x3ac708(this,_0x3d44de,_0x5216a6);return;}this['_bufferedBytes']-=_0x196bce[_0x57e1fa],this[_0x25e5ac(0x159)]=_0x15f9f5,_0x196bce[_0x25e5ac(0x28b)]=!0x1,this['sendFrame'](_0x245e2c['frame'](_0x5d9fbf,_0x196bce),_0x5216a6),this[_0x25e5ac(0x1b8)]();});}[_0x3ac94a(0x1b8)](){const _0x2ca363=_0x3ac94a;for(;this[_0x2ca363(0x159)]===_0x15f9f5&&this[_0x2ca363(0x26a)]['length'];){const _0x3a7f4f=this[_0x2ca363(0x26a)][_0x2ca363(0x144)]();this['_bufferedBytes']-=_0x3a7f4f[0x3][_0x57e1fa],Reflect[_0x2ca363(0x169)](_0x3a7f4f[0x0],this,_0x3a7f4f[_0x2ca363(0x152)](0x1));}}[_0x3ac94a(0x156)](_0x2fe541){const _0x1a32f8=_0x3ac94a;this[_0x1a32f8(0x1ff)]+=_0x2fe541[0x3][_0x57e1fa],this[_0x1a32f8(0x26a)][_0x1a32f8(0x15e)](_0x2fe541);}[_0x3ac94a(0x2c9)](_0x5196f7,_0x28bfc4){const _0x1d1c1f=_0x3ac94a;_0x5196f7[_0x1d1c1f(0x16d)]===0x2?(this['_socket'][_0x1d1c1f(0x1de)](),this[_0x1d1c1f(0x232)]['write'](_0x5196f7[0x0]),this['_socket'][_0x1d1c1f(0x23c)](_0x5196f7[0x1],_0x28bfc4),this['_socket']['uncork']()):this['_socket'][_0x1d1c1f(0x23c)](_0x5196f7[0x0],_0x28bfc4);}}Ee=_0x245e2c;function _0x3ac708(_0x466040,_0x38cf12,_0x5d7476){const _0x173b0a=_0x3ac94a;typeof _0x5d7476=='function'&&_0x5d7476(_0x38cf12);for(let _0x25793e=0x0;_0x25793e<_0x466040['_queue'][_0x173b0a(0x16d)];_0x25793e++){const _0xe27609=_0x466040[_0x173b0a(0x26a)][_0x25793e],_0x16b0af=_0xe27609[_0xe27609[_0x173b0a(0x16d)]-0x1];typeof _0x16b0af=='function'&&_0x16b0af(_0x38cf12);}}function _0x2446ad(_0x3d8758,_0x4c4194,_0x5a6def){_0x3ac708(_0x3d8758,_0x4c4194,_0x5a6def),_0x3d8758['onerror'](_0x4c4194);}return Ee;}var xe,tt;function Kt(){const _0x1888f6=_0x52913d;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x5e7d5c,kListener:_0x34adc8}=V(),_0x1a8528=Symbol('kCode'),_0x303b40=Symbol(_0x1888f6(0x2bc)),_0x476487=Symbol(_0x1888f6(0x1e9)),_0x8f44c6=Symbol(_0x1888f6(0x24f)),_0x364576=Symbol('kReason'),_0x5c8dbc=Symbol(_0x1888f6(0x223)),_0x88d8e6=Symbol(_0x1888f6(0x21d)),_0x51b4d5=Symbol(_0x1888f6(0x155));class _0x291a64{constructor(_0x1ac8ea){this[_0x5c8dbc]=null,this[_0x88d8e6]=_0x1ac8ea;}get[_0x1888f6(0x147)](){return this[_0x5c8dbc];}get['type'](){return this[_0x88d8e6];}}Object[_0x1888f6(0x23b)](_0x291a64[_0x1888f6(0x27d)],_0x1888f6(0x147),{'enumerable':!0x0}),Object['defineProperty'](_0x291a64[_0x1888f6(0x27d)],_0x1888f6(0x2a7),{'enumerable':!0x0});class _0x266193 extends _0x291a64{constructor(_0x134eb7,_0x46f59c={}){const _0x4f279=_0x1888f6;super(_0x134eb7),this[_0x1a8528]=_0x46f59c[_0x4f279(0x2d5)]===void 0x0?0x0:_0x46f59c[_0x4f279(0x2d5)],this[_0x364576]=_0x46f59c[_0x4f279(0x160)]===void 0x0?'':_0x46f59c[_0x4f279(0x160)],this[_0x51b4d5]=_0x46f59c[_0x4f279(0x1d6)]===void 0x0?!0x1:_0x46f59c[_0x4f279(0x1d6)];}get['code'](){return this[_0x1a8528];}get['reason'](){return this[_0x364576];}get['wasClean'](){return this[_0x51b4d5];}}Object[_0x1888f6(0x23b)](_0x266193[_0x1888f6(0x27d)],_0x1888f6(0x2d5),{'enumerable':!0x0}),Object[_0x1888f6(0x23b)](_0x266193['prototype'],_0x1888f6(0x160),{'enumerable':!0x0}),Object[_0x1888f6(0x23b)](_0x266193['prototype'],'wasClean',{'enumerable':!0x0});class _0x3b50ae extends _0x291a64{constructor(_0x12155c,_0x456e00={}){const _0x373156=_0x1888f6;super(_0x12155c),this[_0x476487]=_0x456e00['error']===void 0x0?null:_0x456e00['error'],this[_0x8f44c6]=_0x456e00['message']===void 0x0?'':_0x456e00[_0x373156(0x1d0)];}get[_0x1888f6(0x1ea)](){return this[_0x476487];}get[_0x1888f6(0x1d0)](){return this[_0x8f44c6];}}Object[_0x1888f6(0x23b)](_0x3b50ae[_0x1888f6(0x27d)],_0x1888f6(0x1ea),{'enumerable':!0x0}),Object[_0x1888f6(0x23b)](_0x3b50ae['prototype'],_0x1888f6(0x1d0),{'enumerable':!0x0});class _0x3858bc extends _0x291a64{constructor(_0x3fafa4,_0x10cd36={}){const _0x10da96=_0x1888f6;super(_0x3fafa4),this[_0x303b40]=_0x10cd36[_0x10da96(0x14b)]===void 0x0?null:_0x10cd36[_0x10da96(0x14b)];}get[_0x1888f6(0x14b)](){return this[_0x303b40];}}Object[_0x1888f6(0x23b)](_0x3858bc[_0x1888f6(0x27d)],_0x1888f6(0x14b),{'enumerable':!0x0}),xe={'CloseEvent':_0x266193,'ErrorEvent':_0x3b50ae,'Event':_0x291a64,'EventTarget':{'addEventListener'(_0x1bb408,_0x4bb4ff,_0x96429={}){const _0x55ddf1=_0x1888f6;for(const _0x489287 of this['listeners'](_0x1bb408))if(!_0x96429[_0x5e7d5c]&&_0x489287[_0x34adc8]===_0x4bb4ff&&!_0x489287[_0x5e7d5c])return;let _0x213c93;if(_0x1bb408===_0x55ddf1(0x1d0))_0x213c93=function(_0x248530,_0x2c051a){const _0x8a810d=_0x55ddf1,_0x1914bb=new _0x3858bc(_0x8a810d(0x1d0),{'data':_0x2c051a?_0x248530:_0x248530[_0x8a810d(0x270)]()});_0x1914bb[_0x5c8dbc]=this,_0x38aed1(_0x4bb4ff,this,_0x1914bb);};else{if(_0x1bb408==='close')_0x213c93=function(_0x55bf28,_0x44e2b5){const _0x239979=_0x55ddf1,_0x8f2d0c=new _0x266193(_0x239979(0x20f),{'code':_0x55bf28,'reason':_0x44e2b5[_0x239979(0x270)](),'wasClean':this[_0x239979(0x234)]&&this['_closeFrameSent']});_0x8f2d0c[_0x5c8dbc]=this,_0x38aed1(_0x4bb4ff,this,_0x8f2d0c);};else{if(_0x1bb408==='error')_0x213c93=function(_0x37395f){const _0x2b1481=_0x55ddf1,_0x5618bc=new _0x3b50ae(_0x2b1481(0x1ea),{'error':_0x37395f,'message':_0x37395f['message']});_0x5618bc[_0x5c8dbc]=this,_0x38aed1(_0x4bb4ff,this,_0x5618bc);};else{if(_0x1bb408===_0x55ddf1(0x267))_0x213c93=function(){const _0x46de0c=_0x55ddf1,_0x57e362=new _0x291a64(_0x46de0c(0x267));_0x57e362[_0x5c8dbc]=this,_0x38aed1(_0x4bb4ff,this,_0x57e362);};else return;}}}_0x213c93[_0x5e7d5c]=!!_0x96429[_0x5e7d5c],_0x213c93[_0x34adc8]=_0x4bb4ff,_0x96429[_0x55ddf1(0x1e7)]?this[_0x55ddf1(0x1e7)](_0x1bb408,_0x213c93):this['on'](_0x1bb408,_0x213c93);},'removeEventListener'(_0x24e5ce,_0x1e8a24){const _0x159c7b=_0x1888f6;for(const _0x4f69c6 of this[_0x159c7b(0x19e)](_0x24e5ce))if(_0x4f69c6[_0x34adc8]===_0x1e8a24&&!_0x4f69c6[_0x5e7d5c]){this[_0x159c7b(0x1e0)](_0x24e5ce,_0x4f69c6);break;}}},'MessageEvent':_0x3858bc};function _0x38aed1(_0x5f2f86,_0x2d6a82,_0x47f6ab){const _0x7b7a21=_0x1888f6;typeof _0x5f2f86==_0x7b7a21(0x1f8)&&_0x5f2f86[_0x7b7a21(0x2a1)]?_0x5f2f86[_0x7b7a21(0x2a1)]['call'](_0x5f2f86,_0x47f6ab):_0x5f2f86[_0x7b7a21(0x2ad)](_0x2d6a82,_0x47f6ab);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x285fc5}=ne();function _0x15126f(_0x131590,_0x2c7ec0,_0x28b185){_0x131590[_0x2c7ec0]===void 0x0?_0x131590[_0x2c7ec0]=[_0x28b185]:_0x131590[_0x2c7ec0]['push'](_0x28b185);}function _0x3c19c2(_0x21db30){const _0x334aab=_0x49ee,_0x1e0325=Object[_0x334aab(0x225)](null);let _0x1eeb28=Object[_0x334aab(0x225)](null),_0x90702c=!0x1,_0xfc4e8f=!0x1,_0x2adcb4=!0x1,_0xa756fe,_0x1a4b4c,_0x25f6cc=-0x1,_0x16a061=-0x1,_0x4ec70f=-0x1,_0x2876ec=0x0;for(;_0x2876ec<_0x21db30['length'];_0x2876ec++)if(_0x16a061=_0x21db30[_0x334aab(0x261)](_0x2876ec),_0xa756fe===void 0x0){if(_0x4ec70f===-0x1&&_0x285fc5[_0x16a061]===0x1)_0x25f6cc===-0x1&&(_0x25f6cc=_0x2876ec);else{if(_0x2876ec!==0x0&&(_0x16a061===0x20||_0x16a061===0x9))_0x4ec70f===-0x1&&_0x25f6cc!==-0x1&&(_0x4ec70f=_0x2876ec);else{if(_0x16a061===0x3b||_0x16a061===0x2c){if(_0x25f6cc===-0x1)throw new SyntaxError(_0x334aab(0x143)+_0x2876ec);_0x4ec70f===-0x1&&(_0x4ec70f=_0x2876ec);const _0x1fea49=_0x21db30[_0x334aab(0x152)](_0x25f6cc,_0x4ec70f);_0x16a061===0x2c?(_0x15126f(_0x1e0325,_0x1fea49,_0x1eeb28),_0x1eeb28=Object[_0x334aab(0x225)](null)):_0xa756fe=_0x1fea49,_0x25f6cc=_0x4ec70f=-0x1;}else throw new SyntaxError(_0x334aab(0x143)+_0x2876ec);}}}else{if(_0x1a4b4c===void 0x0){if(_0x4ec70f===-0x1&&_0x285fc5[_0x16a061]===0x1)_0x25f6cc===-0x1&&(_0x25f6cc=_0x2876ec);else{if(_0x16a061===0x20||_0x16a061===0x9)_0x4ec70f===-0x1&&_0x25f6cc!==-0x1&&(_0x4ec70f=_0x2876ec);else{if(_0x16a061===0x3b||_0x16a061===0x2c){if(_0x25f6cc===-0x1)throw new SyntaxError(_0x334aab(0x143)+_0x2876ec);_0x4ec70f===-0x1&&(_0x4ec70f=_0x2876ec),_0x15126f(_0x1eeb28,_0x21db30['slice'](_0x25f6cc,_0x4ec70f),!0x0),_0x16a061===0x2c&&(_0x15126f(_0x1e0325,_0xa756fe,_0x1eeb28),_0x1eeb28=Object[_0x334aab(0x225)](null),_0xa756fe=void 0x0),_0x25f6cc=_0x4ec70f=-0x1;}else{if(_0x16a061===0x3d&&_0x25f6cc!==-0x1&&_0x4ec70f===-0x1)_0x1a4b4c=_0x21db30['slice'](_0x25f6cc,_0x2876ec),_0x25f6cc=_0x4ec70f=-0x1;else throw new SyntaxError(_0x334aab(0x143)+_0x2876ec);}}}}else{if(_0xfc4e8f){if(_0x285fc5[_0x16a061]!==0x1)throw new SyntaxError(_0x334aab(0x143)+_0x2876ec);_0x25f6cc===-0x1?_0x25f6cc=_0x2876ec:_0x90702c||(_0x90702c=!0x0),_0xfc4e8f=!0x1;}else{if(_0x2adcb4){if(_0x285fc5[_0x16a061]===0x1)_0x25f6cc===-0x1&&(_0x25f6cc=_0x2876ec);else{if(_0x16a061===0x22&&_0x25f6cc!==-0x1)_0x2adcb4=!0x1,_0x4ec70f=_0x2876ec;else{if(_0x16a061===0x5c)_0xfc4e8f=!0x0;else throw new SyntaxError(_0x334aab(0x143)+_0x2876ec);}}}else{if(_0x16a061===0x22&&_0x21db30[_0x334aab(0x261)](_0x2876ec-0x1)===0x3d)_0x2adcb4=!0x0;else{if(_0x4ec70f===-0x1&&_0x285fc5[_0x16a061]===0x1)_0x25f6cc===-0x1&&(_0x25f6cc=_0x2876ec);else{if(_0x25f6cc!==-0x1&&(_0x16a061===0x20||_0x16a061===0x9))_0x4ec70f===-0x1&&(_0x4ec70f=_0x2876ec);else{if(_0x16a061===0x3b||_0x16a061===0x2c){if(_0x25f6cc===-0x1)throw new SyntaxError(_0x334aab(0x143)+_0x2876ec);_0x4ec70f===-0x1&&(_0x4ec70f=_0x2876ec);let _0x113968=_0x21db30[_0x334aab(0x152)](_0x25f6cc,_0x4ec70f);_0x90702c&&(_0x113968=_0x113968[_0x334aab(0x193)](/\\/g,''),_0x90702c=!0x1),_0x15126f(_0x1eeb28,_0x1a4b4c,_0x113968),_0x16a061===0x2c&&(_0x15126f(_0x1e0325,_0xa756fe,_0x1eeb28),_0x1eeb28=Object['create'](null),_0xa756fe=void 0x0),_0x1a4b4c=void 0x0,_0x25f6cc=_0x4ec70f=-0x1;}else throw new SyntaxError(_0x334aab(0x143)+_0x2876ec);}}}}}}}if(_0x25f6cc===-0x1||_0x2adcb4||_0x16a061===0x20||_0x16a061===0x9)throw new SyntaxError(_0x334aab(0x2bf));_0x4ec70f===-0x1&&(_0x4ec70f=_0x2876ec);const _0x184caa=_0x21db30['slice'](_0x25f6cc,_0x4ec70f);return _0xa756fe===void 0x0?_0x15126f(_0x1e0325,_0x184caa,_0x1eeb28):(_0x1a4b4c===void 0x0?_0x15126f(_0x1eeb28,_0x184caa,!0x0):_0x90702c?_0x15126f(_0x1eeb28,_0x1a4b4c,_0x184caa['replace'](/\\/g,'')):_0x15126f(_0x1eeb28,_0x1a4b4c,_0x184caa),_0x15126f(_0x1e0325,_0xa756fe,_0x1eeb28)),_0x1e0325;}function _0x37565a(_0x2bf2b9){const _0x5cfbec=_0x49ee;return Object[_0x5cfbec(0x164)](_0x2bf2b9)[_0x5cfbec(0x2aa)](_0x5c469a=>{const _0x216616=_0x5cfbec;let _0x346bb7=_0x2bf2b9[_0x5c469a];return Array[_0x216616(0x15d)](_0x346bb7)||(_0x346bb7=[_0x346bb7]),_0x346bb7['map'](_0x599c96=>[_0x5c469a][_0x216616(0x2e2)](Object[_0x216616(0x164)](_0x599c96)[_0x216616(0x2aa)](_0x2e59a6=>{const _0x716a54=_0x216616;let _0x5b3cd5=_0x599c96[_0x2e59a6];return Array[_0x716a54(0x15d)](_0x5b3cd5)||(_0x5b3cd5=[_0x5b3cd5]),_0x5b3cd5[_0x716a54(0x2aa)](_0x5de1c2=>_0x5de1c2===!0x0?_0x2e59a6:_0x2e59a6+'='+_0x5de1c2)[_0x716a54(0x139)](';\x20');}))[_0x216616(0x139)](';\x20'))[_0x216616(0x139)](',\x20');})['join'](',\x20');}return be={'format':_0x37565a,'parse':_0x3c19c2},be;}var we,st;function _0x5c46(){const _0x3c2672=['RSV2\x20and\x20RSV3\x20must\x20be\x20clear','_destroy','createSocket','getMask','_originalHostOrSocketPath','_socket','setSocket','_closeFrameReceived','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','number','controlMessage','CONNECTING','arrayBuffer','readUInt16BE','defineProperty','write','compress','Max\x20payload\x20size\x20exceeded','WS_ERR_UNEXPECTED_MASK','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','isPaused','clientMaxWindowBits','statusCode','_maxPayload','startsWith','finished','_inflate','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','WS_ERR_INVALID_UTF8','WS_ERR_INVALID_OPCODE','_url','Server\x20sent\x20no\x20subprotocol','Module','writeUInt16BE','kMessage','cleanup','toStringTag','redirect','pluginName','upgrade','next','readable','onStarting','ws+unix:','autoPong','params','toLowerCase','skipUTF8Validation','password','_readableState','haveLength','perMessageDeflate','charCodeAt','_max_window_bits','defaultPort','Sec-WebSocket-Extensions','_errorEmitted','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','open','customHeaders','_closeCode','_queue','mask','bind','hostname','Origin','_firstFragment','toString','normalizeParams','Server\x20sent\x20an\x20invalid\x20subprotocol','_shouldEmitClose','server_max_window_bits','Invalid\x20URL:\x20','handshakeTimeout','nodebuffer','constructor','\x22\x20subprotocol\x20is\x20duplicated','Cookie','split','pipe','prototype','finish','encrypted','decompress','errorEmitted','listening','verifyClient','authorization','websocket','_generateMask','onclose','socket','invalid\x20opcode\x20','buffer','readOnly','_originalSecure','sec-websocket-protocol','servername','_paused','1804746oZPRJQ','WS_ERR_UNEXPECTED_RSV_1','startLoop','protocol','_closeMessage','Invalid\x20Upgrade\x20header','sha1','rsv1','8939169YgVejt','_allowSynchronousEvents','options','serverNoContextTakeover','_compressed','then','13,\x208','pong','conclude','handleEvent','WebSocket\x20is\x20not\x20open:\x20readyState\x20','OPEN','pathname','_extensions','Connection:\x20Upgrade','type','STATUS_CODES','The\x20\x22','map','_protocol','CLOSED','call','isInteger','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','Z_DEFAULT_WINDOWBITS','function','HTTP/1.1\x20101\x20Switching\x20Protocols','has','Invalid\x20Sec-WebSocket-Extensions\x20header','_writableState','ws:','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','_closeFrameSent','_decompress','kData','host','client_no_context_takeover','Unexpected\x20end\x20of\x20input','ping','listen','7668150hutivd','\x22:\x20','serverMaxWindowBits','server','unexpected-response','_errored','clientTracking','sendFrame','address','value','sec-websocket-accept','_no_context_takeover','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','setTimeout','5vBlEyT','_redirects','createError','frame','consume','code','getBlobData','_loop','onerror','setHeader','pending','_skipUTF8Validation','search','_fragmented','_fragments','_bufferedAmount','href','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','concat','join','_injector','pause','_compress','parse','finishRequest','set','hash','catch','https:','Unexpected\x20character\x20at\x20index\x20','shift','forEach','getInfo','target','generateMask','alloc','The\x20URL\x27s\x20pathname\x20is\x20empty','data','registerHTTPInterceptor','send','_options','warn','protocolVersion','default','slice','Invalid\x20WebSocket\x20frame:\x20','sec-websocket-version','kWasClean','enqueue','dataMessage','\x0d\x0a\x0d\x0a','_state','Sec-WebSocket-Protocol:\x20','headers','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','isArray','push','reset','reason','382MEkuzq','opcode','_registerDependencies','keys','CLOSING','format','onopen','values','apply','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','wss:','indexOf','length','handleProtocols','origin','_fin','collaboration-client-node.config','invalid\x20payload\x20length\x20','Sec-WebSocket-Protocol','drain','removeAllListeners','6719KNIYoR','\x22\x20must\x20have\x20only\x20a\x20single\x20value','readUInt32BE','unmask','extensionName','find','auth','dispatch','The\x20URL\x20contains\x20a\x20fragment\x20identifier','sec-websocket-key','text/html','nextTick','concurrency','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','The\x20server\x20is\x20not\x20running','getOwnPropertyDescriptor','cookie','objectMode','stream','_write','pow','accept','clientNoContextTakeover','server_no_context_takeover','isIP','RSV1\x20must\x20be\x20clear','File','_autoPong','destroyed','replace','Invalid\x20value\x20for\x20parameter\x20\x22','socketPath','Opening\x20handshake\x20has\x20timed\x20out','Sec-WebSocket-Accept:\x20','followRedirects','_removeListeners','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','client','kIsForOnEventAttribute','total-length','listeners','WebSocket','client_max_window_bits','_totalPayloadLength','_messageLength','request','_readyState','freeze','Blob','response','clients','kByteLength','needDrain','authorized','__esModule','sec-websocket-extensions','Basic\x20','createInflateRaw','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','url','shouldHandle','binary','permessage-deflate','isServer','getPayloadLength16','_req','dequeue','blob','location','91113bxLzCO','36332860vSxmqt','_closeTimer','_server','extensions','kListener','status-code','update','path','maxPayload','from','base64','allocUnsafe','destroy','createConnection','byteOffset','_threshold','_receiver','getData','abort','byteLength','message','maskBuffer','handleUpgrade','threshold','jobs','GET','wasClean','includes','bufferedAmount','test','emitClose','binaryType','_payloadLength','digest','cork','construct','removeListener','emit','fin','size','_configService','_binaryType','kRun','once','getConfig','kError','error','Upgrade','captureStackTrace','dispose','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','completeUpgrade','noServer','endEmitted','getPayloadLength64','acceptAsClient','_masked','hasOwnProperty','_isServer','arraybuffer','object','Sec-WebSocket-Extensions:\x20','_opcode','_mask','Parameter\x20\x22','Unknown\x20parameter\x20\x22','backlog','_bufferedBytes','_final','_deflate','add','8LcYmav','end','Invalid\x20HTTP\x20method','setNoDelay','maxRedirects','isValidUTF8','_httpService','createDeflateRaw','listenerCount','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','acceptAsServer','addEventListener','close','readyState','http:','connect','_maskBuffer','resume','callback','flush','concurrencyLimit','WS_NO_UTF_8_VALIDATE','removeEventListener','_originalIpc','port','timeout','kType','string','exports','env','3042764OfxqnJ','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','kTarget','_sender','create','isView','invalid\x20UTF-8\x20sequence','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','species','_buffers','createServer','allowSynchronousEvents'];_0x5c46=function(){return _0x3c2672;};return _0x5c46();}function Ie(){const _0x3f1a38=_0x52913d;if(st)return we;st=0x1;const _0x23edd5=_0x428a51,_0x165169=_0x377efe,_0xe08c74=_0x3eb3d0,_0x30abad=_0x110ac8,_0x18b284=_0x26f228,{randomBytes:_0x298efa,createHash:_0x3f8598}=_0x355f4b,{Duplex:_0x27bf9d,Readable:_0x2daf32}=_0x20bb13,{URL:_0x207493}=_0x13fdf1,_0x1710d7=he(),_0xc1328b=dt(),_0x456b7e=_t(),{isBlob:_0x54a037}=ne(),{BINARY_TYPES:_0x3b81bd,EMPTY_BUFFER:_0x5e548f,GUID:_0x530a28,kForOnEventAttribute:_0x973eb0,kListener:_0x2f4725,kStatusCode:_0x223c44,kWebSocket:_0x914b94,NOOP:_0x12199f}=V(),{EventTarget:{addEventListener:_0x5e5ce4,removeEventListener:_0x14f8d1}}=Kt(),{format:_0x3e366a,parse:_0xa311db}=pt(),{toBuffer:_0xf407e5}=ce(),_0x2ebd9=0x1e*0x3e8,_0x171dad=Symbol('kAborted'),_0x26d1c6=[0x8,0xd],_0x20bf35=[_0x3f1a38(0x238),_0x3f1a38(0x2a3),_0x3f1a38(0x165),_0x3f1a38(0x2ac)],_0x19b024=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x7a03a2 extends _0x23edd5{constructor(_0x359f69,_0x28b820,_0xe99d34){const _0x3e0948=_0x3f1a38;super(),this['_binaryType']=_0x3b81bd[0x0],this[_0x3e0948(0x269)]=0x3ee,this[_0x3e0948(0x234)]=!0x1,this['_closeFrameSent']=!0x1,this[_0x3e0948(0x294)]=_0x5e548f,this[_0x3e0948(0x1bd)]=null,this[_0x3e0948(0x265)]=!0x1,this[_0x3e0948(0x2a5)]={},this[_0x3e0948(0x28f)]=!0x1,this['_protocol']='',this[_0x3e0948(0x1a4)]=_0x7a03a2[_0x3e0948(0x238)],this['_receiver']=null,this[_0x3e0948(0x224)]=null,this[_0x3e0948(0x232)]=null,_0x359f69!==null?(this[_0x3e0948(0x2df)]=0x0,this['_isServer']=!0x1,this[_0x3e0948(0x2d1)]=0x0,_0x28b820===void 0x0?_0x28b820=[]:Array[_0x3e0948(0x15d)](_0x28b820)||(typeof _0x28b820==_0x3e0948(0x1f8)&&_0x28b820!==null?(_0xe99d34=_0x28b820,_0x28b820=[]):_0x28b820=[_0x28b820]),_0x5dab06(this,_0x359f69,_0x28b820,_0xe99d34)):(this['_autoPong']=_0xe99d34[_0x3e0948(0x259)],this[_0x3e0948(0x1f6)]=!0x0);}get[_0x3f1a38(0x1db)](){const _0x60b94=_0x3f1a38;return this[_0x60b94(0x1e5)];}set[_0x3f1a38(0x1db)](_0x23d536){const _0xce0474=_0x3f1a38;_0x3b81bd[_0xce0474(0x1d7)](_0x23d536)&&(this[_0xce0474(0x1e5)]=_0x23d536,this[_0xce0474(0x1cc)]&&(this[_0xce0474(0x1cc)][_0xce0474(0x1e5)]=_0x23d536));}get[_0x3f1a38(0x1d8)](){const _0x51dbc5=_0x3f1a38;return this[_0x51dbc5(0x232)]?this[_0x51dbc5(0x232)][_0x51dbc5(0x2b7)][_0x51dbc5(0x16d)]+this['_sender'][_0x51dbc5(0x1ff)]:this['_bufferedAmount'];}get[_0x3f1a38(0x1bf)](){const _0xd6e4dc=_0x3f1a38;return Object['keys'](this[_0xd6e4dc(0x2a5)])['join']();}get[_0x3f1a38(0x241)](){const _0x5e5ec6=_0x3f1a38;return this[_0x5e5ec6(0x28f)];}get[_0x3f1a38(0x287)](){return null;}get[_0x3f1a38(0x2d8)](){return null;}get[_0x3f1a38(0x167)](){return null;}get['onmessage'](){return null;}get[_0x3f1a38(0x293)](){const _0x1540b7=_0x3f1a38;return this[_0x1540b7(0x2ab)];}get[_0x3f1a38(0x210)](){const _0x3bdf5c=_0x3f1a38;return this[_0x3bdf5c(0x1a4)];}get[_0x3f1a38(0x1b1)](){const _0x5dc950=_0x3f1a38;return this[_0x5dc950(0x24b)];}[_0x3f1a38(0x233)](_0x4bf7ad,_0x10c098,_0x10734e){const _0x32bfbe=_0x3f1a38,_0x2c5a83=new _0xc1328b({'allowSynchronousEvents':_0x10734e['allowSynchronousEvents'],'binaryType':this[_0x32bfbe(0x1db)],'extensions':this[_0x32bfbe(0x2a5)],'isServer':this[_0x32bfbe(0x1f6)],'maxPayload':_0x10734e[_0x32bfbe(0x1c4)],'skipUTF8Validation':_0x10734e[_0x32bfbe(0x25c)]}),_0x5e8d34=new _0x456b7e(_0x4bf7ad,this[_0x32bfbe(0x2a5)],_0x10734e[_0x32bfbe(0x148)]);this[_0x32bfbe(0x1cc)]=_0x2c5a83,this[_0x32bfbe(0x224)]=_0x5e8d34,this[_0x32bfbe(0x232)]=_0x4bf7ad,_0x2c5a83[_0x914b94]=this,_0x5e8d34[_0x914b94]=this,_0x4bf7ad[_0x914b94]=this,_0x2c5a83['on'](_0x32bfbe(0x2a0),_0x73d753),_0x2c5a83['on'](_0x32bfbe(0x174),_0x5bf990),_0x2c5a83['on'](_0x32bfbe(0x1ea),_0x2f2138),_0x2c5a83['on'](_0x32bfbe(0x1d0),_0x1a3fb5),_0x2c5a83['on'](_0x32bfbe(0x2c0),_0x1a5f4b),_0x2c5a83['on'](_0x32bfbe(0x29f),_0xdda882),_0x5e8d34['onerror']=_0x4bed18,_0x4bf7ad[_0x32bfbe(0x2cf)]&&_0x4bf7ad[_0x32bfbe(0x2cf)](0x0),_0x4bf7ad[_0x32bfbe(0x206)]&&_0x4bf7ad[_0x32bfbe(0x206)](),_0x10c098[_0x32bfbe(0x16d)]>0x0&&_0x4bf7ad['unshift'](_0x10c098),_0x4bf7ad['on'](_0x32bfbe(0x20f),_0x23528e),_0x4bf7ad['on'](_0x32bfbe(0x14b),_0x3b03e5),_0x4bf7ad['on'](_0x32bfbe(0x204),_0x1b88ba),_0x4bf7ad['on'](_0x32bfbe(0x1ea),_0x419bc9),this[_0x32bfbe(0x1a4)]=_0x7a03a2['OPEN'],this[_0x32bfbe(0x1e1)]('open');}[_0x3f1a38(0x1da)](){const _0x4f9dd9=_0x3f1a38;if(!this[_0x4f9dd9(0x232)]){this[_0x4f9dd9(0x1a4)]=_0x7a03a2[_0x4f9dd9(0x2ac)],this['emit']('close',this[_0x4f9dd9(0x269)],this[_0x4f9dd9(0x294)]);return;}this[_0x4f9dd9(0x2a5)][_0x1710d7['extensionName']]&&this['_extensions'][_0x1710d7[_0x4f9dd9(0x17a)]][_0x4f9dd9(0x250)](),this[_0x4f9dd9(0x1cc)][_0x4f9dd9(0x175)](),this[_0x4f9dd9(0x1a4)]=_0x7a03a2[_0x4f9dd9(0x2ac)],this[_0x4f9dd9(0x1e1)]('close',this[_0x4f9dd9(0x269)],this['_closeMessage']);}['close'](_0x17c341,_0x5a39bb){const _0x490061=_0x3f1a38;if(this[_0x490061(0x210)]!==_0x7a03a2[_0x490061(0x2ac)]){if(this[_0x490061(0x210)]===_0x7a03a2[_0x490061(0x238)]){_0x1cc35e(this,this[_0x490061(0x1b7)],_0x490061(0x235));return;}if(this[_0x490061(0x210)]===_0x7a03a2['CLOSING']){this[_0x490061(0x2ba)]&&(this[_0x490061(0x234)]||this[_0x490061(0x1cc)][_0x490061(0x2b7)]['errorEmitted'])&&this[_0x490061(0x232)][_0x490061(0x204)]();return;}this[_0x490061(0x1a4)]=_0x7a03a2['CLOSING'],this[_0x490061(0x224)][_0x490061(0x20f)](_0x17c341,_0x5a39bb,!this[_0x490061(0x1f6)],_0x1453c7=>{const _0x5b1406=_0x490061;_0x1453c7||(this[_0x5b1406(0x2ba)]=!0x0,(this[_0x5b1406(0x234)]||this[_0x5b1406(0x1cc)]['_writableState'][_0x5b1406(0x281)])&&this[_0x5b1406(0x232)]['end']());}),_0x36ab80(this);}}[_0x3f1a38(0x13b)](){const _0x49c5fb=_0x3f1a38;this[_0x49c5fb(0x210)]===_0x7a03a2[_0x49c5fb(0x238)]||this[_0x49c5fb(0x210)]===_0x7a03a2[_0x49c5fb(0x2ac)]||(this[_0x49c5fb(0x28f)]=!0x0,this[_0x49c5fb(0x232)][_0x49c5fb(0x13b)]());}[_0x3f1a38(0x2c0)](_0xede328,_0x38f2c6,_0x107214){const _0x30474f=_0x3f1a38;if(this[_0x30474f(0x210)]===_0x7a03a2['CONNECTING'])throw new Error(_0x30474f(0x2b1));if(typeof _0xede328==_0x30474f(0x2b3)?(_0x107214=_0xede328,_0xede328=_0x38f2c6=void 0x0):typeof _0x38f2c6=='function'&&(_0x107214=_0x38f2c6,_0x38f2c6=void 0x0),typeof _0xede328==_0x30474f(0x236)&&(_0xede328=_0xede328['toString']()),this['readyState']!==_0x7a03a2['OPEN']){_0x3c9b9a(this,_0xede328,_0x107214);return;}_0x38f2c6===void 0x0&&(_0x38f2c6=!this['_isServer']),this[_0x30474f(0x224)][_0x30474f(0x2c0)](_0xede328||_0x5e548f,_0x38f2c6,_0x107214);}['pong'](_0x44fc34,_0x3aac3f,_0x202f3d){const _0x221f2e=_0x3f1a38;if(this[_0x221f2e(0x210)]===_0x7a03a2[_0x221f2e(0x238)])throw new Error(_0x221f2e(0x2b1));if(typeof _0x44fc34==_0x221f2e(0x2b3)?(_0x202f3d=_0x44fc34,_0x44fc34=_0x3aac3f=void 0x0):typeof _0x3aac3f=='function'&&(_0x202f3d=_0x3aac3f,_0x3aac3f=void 0x0),typeof _0x44fc34==_0x221f2e(0x236)&&(_0x44fc34=_0x44fc34[_0x221f2e(0x270)]()),this['readyState']!==_0x7a03a2[_0x221f2e(0x2a3)]){_0x3c9b9a(this,_0x44fc34,_0x202f3d);return;}_0x3aac3f===void 0x0&&(_0x3aac3f=!this[_0x221f2e(0x1f6)]),this['_sender'][_0x221f2e(0x29f)](_0x44fc34||_0x5e548f,_0x3aac3f,_0x202f3d);}['resume'](){const _0x5a27af=_0x3f1a38;this['readyState']===_0x7a03a2[_0x5a27af(0x238)]||this[_0x5a27af(0x210)]===_0x7a03a2[_0x5a27af(0x2ac)]||(this[_0x5a27af(0x28f)]=!0x1,this[_0x5a27af(0x1cc)][_0x5a27af(0x2b7)][_0x5a27af(0x1aa)]||this[_0x5a27af(0x232)][_0x5a27af(0x214)]());}[_0x3f1a38(0x14d)](_0x4b84b9,_0x518385,_0x37cd81){const _0x461e6a=_0x3f1a38;if(this[_0x461e6a(0x210)]===_0x7a03a2[_0x461e6a(0x238)])throw new Error(_0x461e6a(0x2b1));if(typeof _0x518385==_0x461e6a(0x2b3)&&(_0x37cd81=_0x518385,_0x518385={}),typeof _0x4b84b9==_0x461e6a(0x236)&&(_0x4b84b9=_0x4b84b9[_0x461e6a(0x270)]()),this[_0x461e6a(0x210)]!==_0x7a03a2['OPEN']){_0x3c9b9a(this,_0x4b84b9,_0x37cd81);return;}const _0x5d3fd9={'binary':typeof _0x4b84b9!=_0x461e6a(0x21e),'mask':!this['_isServer'],'compress':!0x0,'fin':!0x0,..._0x518385};this[_0x461e6a(0x2a5)][_0x1710d7[_0x461e6a(0x17a)]]||(_0x5d3fd9[_0x461e6a(0x23d)]=!0x1),this[_0x461e6a(0x224)][_0x461e6a(0x14d)](_0x4b84b9||_0x5e548f,_0x5d3fd9,_0x37cd81);}['terminate'](){const _0x3c90ea=_0x3f1a38;if(this['readyState']!==_0x7a03a2['CLOSED']){if(this['readyState']===_0x7a03a2[_0x3c90ea(0x238)]){_0x1cc35e(this,this['_req'],_0x3c90ea(0x235));return;}this[_0x3c90ea(0x232)]&&(this['_readyState']=_0x7a03a2[_0x3c90ea(0x165)],this[_0x3c90ea(0x232)][_0x3c90ea(0x1c8)]());}}}Object[_0x3f1a38(0x23b)](_0x7a03a2,_0x3f1a38(0x238),{'enumerable':!0x0,'value':_0x20bf35[_0x3f1a38(0x16c)](_0x3f1a38(0x238))}),Object[_0x3f1a38(0x23b)](_0x7a03a2[_0x3f1a38(0x27d)],_0x3f1a38(0x238),{'enumerable':!0x0,'value':_0x20bf35['indexOf'](_0x3f1a38(0x238))}),Object[_0x3f1a38(0x23b)](_0x7a03a2,_0x3f1a38(0x2a3),{'enumerable':!0x0,'value':_0x20bf35[_0x3f1a38(0x16c)](_0x3f1a38(0x2a3))}),Object['defineProperty'](_0x7a03a2[_0x3f1a38(0x27d)],_0x3f1a38(0x2a3),{'enumerable':!0x0,'value':_0x20bf35[_0x3f1a38(0x16c)](_0x3f1a38(0x2a3))}),Object[_0x3f1a38(0x23b)](_0x7a03a2,'CLOSING',{'enumerable':!0x0,'value':_0x20bf35[_0x3f1a38(0x16c)]('CLOSING')}),Object[_0x3f1a38(0x23b)](_0x7a03a2['prototype'],_0x3f1a38(0x165),{'enumerable':!0x0,'value':_0x20bf35[_0x3f1a38(0x16c)](_0x3f1a38(0x165))}),Object[_0x3f1a38(0x23b)](_0x7a03a2,_0x3f1a38(0x2ac),{'enumerable':!0x0,'value':_0x20bf35[_0x3f1a38(0x16c)]('CLOSED')}),Object[_0x3f1a38(0x23b)](_0x7a03a2[_0x3f1a38(0x27d)],_0x3f1a38(0x2ac),{'enumerable':!0x0,'value':_0x20bf35[_0x3f1a38(0x16c)]('CLOSED')}),[_0x3f1a38(0x1db),_0x3f1a38(0x1d8),'extensions',_0x3f1a38(0x241),_0x3f1a38(0x293),'readyState',_0x3f1a38(0x1b1)][_0x3f1a38(0x145)](_0x225424=>{const _0x5d11a7=_0x3f1a38;Object['defineProperty'](_0x7a03a2[_0x5d11a7(0x27d)],_0x225424,{'enumerable':!0x0});}),['open',_0x3f1a38(0x1ea),_0x3f1a38(0x20f),'message'][_0x3f1a38(0x145)](_0x2ef920=>{const _0x2bdfa0=_0x3f1a38;Object[_0x2bdfa0(0x23b)](_0x7a03a2[_0x2bdfa0(0x27d)],'on'+_0x2ef920,{'enumerable':!0x0,'get'(){for(const _0x1cc8c6 of this['listeners'](_0x2ef920))if(_0x1cc8c6[_0x973eb0])return _0x1cc8c6[_0x2f4725];return null;},'set'(_0x10a111){const _0x308b76=_0x2bdfa0;for(const _0xdf0fe1 of this[_0x308b76(0x19e)](_0x2ef920))if(_0xdf0fe1[_0x973eb0]){this[_0x308b76(0x1e0)](_0x2ef920,_0xdf0fe1);break;}typeof _0x10a111==_0x308b76(0x2b3)&&this['addEventListener'](_0x2ef920,_0x10a111,{[_0x973eb0]:!0x0});}});}),_0x7a03a2['prototype'][_0x3f1a38(0x20e)]=_0x5e5ce4,_0x7a03a2[_0x3f1a38(0x27d)]['removeEventListener']=_0x14f8d1,we=_0x7a03a2;function _0x5dab06(_0x283959,_0x2cd6fb,_0x592b69,_0x1dcfd5){const _0x83e017=_0x3f1a38,_0x297258={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x26d1c6[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x1dcfd5,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x83e017(0x1d5),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x283959[_0x83e017(0x191)]=_0x297258[_0x83e017(0x259)],!_0x26d1c6[_0x83e017(0x1d7)](_0x297258[_0x83e017(0x150)]))throw new RangeError('Unsupported\x20protocol\x20version:\x20'+_0x297258[_0x83e017(0x150)]+'\x20(supported\x20versions:\x20'+_0x26d1c6[_0x83e017(0x139)](',\x20')+')');let _0x3cc669;if(_0x2cd6fb instanceof _0x207493)_0x3cc669=_0x2cd6fb;else try{_0x3cc669=new _0x207493(_0x2cd6fb);}catch{throw new SyntaxError(_0x83e017(0x275)+_0x2cd6fb);}_0x3cc669['protocol']===_0x83e017(0x211)?_0x3cc669[_0x83e017(0x293)]=_0x83e017(0x2b8):_0x3cc669[_0x83e017(0x293)]===_0x83e017(0x142)&&(_0x3cc669['protocol']=_0x83e017(0x16b)),_0x283959[_0x83e017(0x24b)]=_0x3cc669[_0x83e017(0x2e0)];const _0x508545=_0x3cc669['protocol']===_0x83e017(0x16b),_0x3e4fb1=_0x3cc669[_0x83e017(0x293)]===_0x83e017(0x258);let _0x461ae6;if(_0x3cc669['protocol']!==_0x83e017(0x2b8)&&!_0x508545&&!_0x3e4fb1?_0x461ae6='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':_0x3e4fb1&&!_0x3cc669[_0x83e017(0x2a4)]?_0x461ae6=_0x83e017(0x14a):_0x3cc669[_0x83e017(0x140)]&&(_0x461ae6=_0x83e017(0x17e)),_0x461ae6){const _0x45fee1=new SyntaxError(_0x461ae6);if(_0x283959[_0x83e017(0x2d1)]===0x0)throw _0x45fee1;_0x42c001(_0x283959,_0x45fee1);return;}const _0x40f092=_0x508545?0x1bb:0x50,_0x1ac2d0=_0x298efa(0x10)['toString'](_0x83e017(0x1c6)),_0x535738=_0x508545?_0x165169['request']:_0xe08c74[_0x83e017(0x1a3)],_0x5840c9=new Set();let _0x1b50bc;if(_0x297258['createConnection']=_0x297258[_0x83e017(0x1c9)]||(_0x508545?_0x24a0cd:_0x55fd3f),_0x297258[_0x83e017(0x263)]=_0x297258['defaultPort']||_0x40f092,_0x297258[_0x83e017(0x21b)]=_0x3cc669['port']||_0x40f092,_0x297258[_0x83e017(0x2bd)]=_0x3cc669['hostname'][_0x83e017(0x245)]('[')?_0x3cc669[_0x83e017(0x26d)][_0x83e017(0x152)](0x1,-0x1):_0x3cc669['hostname'],_0x297258['headers']={..._0x297258[_0x83e017(0x15b)],'Sec-WebSocket-Version':_0x297258[_0x83e017(0x150)],'Sec-WebSocket-Key':_0x1ac2d0,'Connection':_0x83e017(0x1eb),'Upgrade':'websocket'},_0x297258['path']=_0x3cc669[_0x83e017(0x2a4)]+_0x3cc669[_0x83e017(0x2dc)],_0x297258['timeout']=_0x297258[_0x83e017(0x276)],_0x297258[_0x83e017(0x260)]&&(_0x1b50bc=new _0x1710d7(_0x297258[_0x83e017(0x260)]!==!0x0?_0x297258[_0x83e017(0x260)]:{},!0x1,_0x297258[_0x83e017(0x1c4)]),_0x297258['headers'][_0x83e017(0x264)]=_0x3e366a({[_0x1710d7[_0x83e017(0x17a)]]:_0x1b50bc['offer']()})),_0x592b69[_0x83e017(0x16d)]){for(const _0x32c87e of _0x592b69){if(typeof _0x32c87e!=_0x83e017(0x21e)||!_0x19b024[_0x83e017(0x1d9)](_0x32c87e)||_0x5840c9[_0x83e017(0x2b5)](_0x32c87e))throw new SyntaxError(_0x83e017(0x2e1));_0x5840c9[_0x83e017(0x202)](_0x32c87e);}_0x297258[_0x83e017(0x15b)][_0x83e017(0x173)]=_0x592b69['join'](',');}if(_0x297258['origin']&&(_0x297258['protocolVersion']<0xd?_0x297258[_0x83e017(0x15b)]['Sec-WebSocket-Origin']=_0x297258[_0x83e017(0x16f)]:_0x297258[_0x83e017(0x15b)][_0x83e017(0x26e)]=_0x297258['origin']),(_0x3cc669['username']||_0x3cc669[_0x83e017(0x25d)])&&(_0x297258['auth']=_0x3cc669['username']+':'+_0x3cc669[_0x83e017(0x25d)]),_0x3e4fb1){const _0x354abe=_0x297258['path'][_0x83e017(0x27b)](':');_0x297258[_0x83e017(0x195)]=_0x354abe[0x0],_0x297258[_0x83e017(0x1c3)]=_0x354abe[0x1];}let _0x64e05a;if(_0x297258[_0x83e017(0x198)]){if(_0x283959['_redirects']===0x0){_0x283959[_0x83e017(0x21a)]=_0x3e4fb1,_0x283959[_0x83e017(0x28c)]=_0x508545,_0x283959['_originalHostOrSocketPath']=_0x3e4fb1?_0x297258[_0x83e017(0x195)]:_0x3cc669['host'];const _0x28415d=_0x1dcfd5&&_0x1dcfd5[_0x83e017(0x15b)];if(_0x1dcfd5={..._0x1dcfd5,'headers':{}},_0x28415d){for(const [_0x5bdfb3,_0x274001]of Object['entries'](_0x28415d))_0x1dcfd5[_0x83e017(0x15b)][_0x5bdfb3[_0x83e017(0x25b)]()]=_0x274001;}}else{if(_0x283959[_0x83e017(0x20b)]('redirect')===0x0){const _0x485a50=_0x3e4fb1?_0x283959[_0x83e017(0x21a)]?_0x297258[_0x83e017(0x195)]===_0x283959[_0x83e017(0x231)]:!0x1:_0x283959['_originalIpc']?!0x1:_0x3cc669[_0x83e017(0x2bd)]===_0x283959[_0x83e017(0x231)];(!_0x485a50||_0x283959[_0x83e017(0x28c)]&&!_0x508545)&&(delete _0x297258[_0x83e017(0x15b)]['authorization'],delete _0x297258[_0x83e017(0x15b)][_0x83e017(0x186)],_0x485a50||delete _0x297258[_0x83e017(0x15b)]['host'],_0x297258[_0x83e017(0x17c)]=void 0x0);}}_0x297258[_0x83e017(0x17c)]&&!_0x1dcfd5[_0x83e017(0x15b)][_0x83e017(0x284)]&&(_0x1dcfd5['headers'][_0x83e017(0x284)]=_0x83e017(0x1ae)+Buffer['from'](_0x297258['auth'])[_0x83e017(0x270)]('base64')),_0x64e05a=_0x283959[_0x83e017(0x1b7)]=_0x535738(_0x297258),_0x283959[_0x83e017(0x2d1)]&&_0x283959[_0x83e017(0x1e1)](_0x83e017(0x252),_0x283959[_0x83e017(0x1b1)],_0x64e05a);}else _0x64e05a=_0x283959[_0x83e017(0x1b7)]=_0x535738(_0x297258);_0x297258[_0x83e017(0x21c)]&&_0x64e05a['on']('timeout',()=>{const _0x4bccdd=_0x83e017;_0x1cc35e(_0x283959,_0x64e05a,_0x4bccdd(0x196));}),_0x64e05a['on'](_0x83e017(0x1ea),_0x1c8d9c=>{_0x64e05a===null||_0x64e05a[_0x171dad]||(_0x64e05a=_0x283959['_req']=null,_0x42c001(_0x283959,_0x1c8d9c));}),_0x64e05a['on'](_0x83e017(0x1a7),_0x5341b7=>{const _0x396216=_0x83e017,_0x841f82=_0x5341b7['headers'][_0x396216(0x1ba)],_0x137d90=_0x5341b7[_0x396216(0x243)];if(_0x841f82&&_0x297258[_0x396216(0x198)]&&_0x137d90>=0x12c&&_0x137d90<0x190){if(++_0x283959[_0x396216(0x2d1)]>_0x297258[_0x396216(0x207)]){_0x1cc35e(_0x283959,_0x64e05a,'Maximum\x20redirects\x20exceeded');return;}_0x64e05a[_0x396216(0x1ce)]();let _0x3cbea3;try{_0x3cbea3=new _0x207493(_0x841f82,_0x2cd6fb);}catch{const _0x5a3b18=new SyntaxError('Invalid\x20URL:\x20'+_0x841f82);_0x42c001(_0x283959,_0x5a3b18);return;}_0x5dab06(_0x283959,_0x3cbea3,_0x592b69,_0x1dcfd5);}else _0x283959[_0x396216(0x1e1)](_0x396216(0x2c6),_0x64e05a,_0x5341b7)||_0x1cc35e(_0x283959,_0x64e05a,'Unexpected\x20server\x20response:\x20'+_0x5341b7[_0x396216(0x243)]);}),_0x64e05a['on'](_0x83e017(0x254),(_0x61eae8,_0x5befb4,_0x3c0659)=>{const _0x1049b1=_0x83e017;if(_0x283959[_0x1049b1(0x1e1)](_0x1049b1(0x254),_0x61eae8),_0x283959['readyState']!==_0x7a03a2[_0x1049b1(0x238)])return;_0x64e05a=_0x283959[_0x1049b1(0x1b7)]=null;const _0x29597c=_0x61eae8[_0x1049b1(0x15b)]['upgrade'];if(_0x29597c===void 0x0||_0x29597c[_0x1049b1(0x25b)]()!=='websocket'){_0x1cc35e(_0x283959,_0x5befb4,_0x1049b1(0x295));return;}const _0x4d1a7d=_0x3f8598(_0x1049b1(0x296))[_0x1049b1(0x1c2)](_0x1ac2d0+_0x530a28)[_0x1049b1(0x1dd)](_0x1049b1(0x1c6));if(_0x61eae8['headers'][_0x1049b1(0x2cc)]!==_0x4d1a7d){_0x1cc35e(_0x283959,_0x5befb4,'Invalid\x20Sec-WebSocket-Accept\x20header');return;}const _0x3797f2=_0x61eae8[_0x1049b1(0x15b)][_0x1049b1(0x28d)];let _0x2d3046;if(_0x3797f2!==void 0x0?_0x5840c9[_0x1049b1(0x1e3)]?_0x5840c9[_0x1049b1(0x2b5)](_0x3797f2)||(_0x2d3046=_0x1049b1(0x272)):_0x2d3046=_0x1049b1(0x20c):_0x5840c9[_0x1049b1(0x1e3)]&&(_0x2d3046=_0x1049b1(0x24c)),_0x2d3046){_0x1cc35e(_0x283959,_0x5befb4,_0x2d3046);return;}_0x3797f2&&(_0x283959[_0x1049b1(0x2ab)]=_0x3797f2);const _0x272b2a=_0x61eae8[_0x1049b1(0x15b)][_0x1049b1(0x1ad)];if(_0x272b2a!==void 0x0){if(!_0x1b50bc){_0x1cc35e(_0x283959,_0x5befb4,'Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested');return;}let _0x1e040a;try{_0x1e040a=_0xa311db(_0x272b2a);}catch{_0x1cc35e(_0x283959,_0x5befb4,_0x1049b1(0x2b6));return;}const _0xfdd20c=Object[_0x1049b1(0x164)](_0x1e040a);if(_0xfdd20c[_0x1049b1(0x16d)]!==0x1||_0xfdd20c[0x0]!==_0x1710d7['extensionName']){_0x1cc35e(_0x283959,_0x5befb4,'Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested');return;}try{_0x1b50bc[_0x1049b1(0x18b)](_0x1e040a[_0x1710d7[_0x1049b1(0x17a)]]);}catch{_0x1cc35e(_0x283959,_0x5befb4,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}_0x283959[_0x1049b1(0x2a5)][_0x1710d7[_0x1049b1(0x17a)]]=_0x1b50bc;}_0x283959[_0x1049b1(0x233)](_0x5befb4,_0x3c0659,{'allowSynchronousEvents':_0x297258[_0x1049b1(0x22c)],'generateMask':_0x297258[_0x1049b1(0x148)],'maxPayload':_0x297258['maxPayload'],'skipUTF8Validation':_0x297258[_0x1049b1(0x25c)]});}),_0x297258[_0x83e017(0x13e)]?_0x297258[_0x83e017(0x13e)](_0x64e05a,_0x283959):_0x64e05a[_0x83e017(0x204)]();}function _0x42c001(_0xee0b35,_0x561f92){const _0x11ed9d=_0x3f1a38;_0xee0b35['_readyState']=_0x7a03a2[_0x11ed9d(0x165)],_0xee0b35[_0x11ed9d(0x265)]=!0x0,_0xee0b35['emit'](_0x11ed9d(0x1ea),_0x561f92),_0xee0b35[_0x11ed9d(0x1da)]();}function _0x55fd3f(_0x392381){const _0x449bb2=_0x3f1a38;return _0x392381[_0x449bb2(0x1c3)]=_0x392381[_0x449bb2(0x195)],_0x30abad[_0x449bb2(0x212)](_0x392381);}function _0x24a0cd(_0x27f380){const _0x1e1ec6=_0x3f1a38;return _0x27f380['path']=void 0x0,!_0x27f380['servername']&&_0x27f380[_0x1e1ec6(0x28e)]!==''&&(_0x27f380[_0x1e1ec6(0x28e)]=_0x30abad[_0x1e1ec6(0x18e)](_0x27f380['host'])?'':_0x27f380['host']),_0x18b284['connect'](_0x27f380);}function _0x1cc35e(_0x16c72e,_0x1d2e59,_0x27e83d){const _0x3a7f11=_0x3f1a38;_0x16c72e[_0x3a7f11(0x1a4)]=_0x7a03a2[_0x3a7f11(0x165)];const _0x2c4c23=new Error(_0x27e83d);Error['captureStackTrace'](_0x2c4c23,_0x1cc35e),_0x1d2e59[_0x3a7f11(0x2d9)]?(_0x1d2e59[_0x171dad]=!0x0,_0x1d2e59[_0x3a7f11(0x1ce)](),_0x1d2e59[_0x3a7f11(0x288)]&&!_0x1d2e59['socket'][_0x3a7f11(0x192)]&&_0x1d2e59['socket'][_0x3a7f11(0x1c8)](),process['nextTick'](_0x42c001,_0x16c72e,_0x2c4c23)):(_0x1d2e59[_0x3a7f11(0x1c8)](_0x2c4c23),_0x1d2e59[_0x3a7f11(0x1e7)](_0x3a7f11(0x1ea),_0x16c72e[_0x3a7f11(0x1e1)]['bind'](_0x16c72e,'error')),_0x1d2e59[_0x3a7f11(0x1e7)]('close',_0x16c72e[_0x3a7f11(0x1da)][_0x3a7f11(0x26c)](_0x16c72e)));}function _0x3c9b9a(_0x56f47a,_0x50d897,_0x36c8e9){const _0x507f28=_0x3f1a38;if(_0x50d897){const _0x342e2b=_0x54a037(_0x50d897)?_0x50d897[_0x507f28(0x1e3)]:_0xf407e5(_0x50d897)['length'];_0x56f47a[_0x507f28(0x232)]?_0x56f47a[_0x507f28(0x224)][_0x507f28(0x1ff)]+=_0x342e2b:_0x56f47a[_0x507f28(0x2df)]+=_0x342e2b;}if(_0x36c8e9){const _0x2b3bef=new Error(_0x507f28(0x2a2)+_0x56f47a[_0x507f28(0x210)]+'\x20('+_0x20bf35[_0x56f47a[_0x507f28(0x210)]]+')');process[_0x507f28(0x181)](_0x36c8e9,_0x2b3bef);}}function _0x73d753(_0x3c2704,_0xc5782){const _0x216562=_0x3f1a38,_0x4c9297=this[_0x914b94];_0x4c9297[_0x216562(0x234)]=!0x0,_0x4c9297[_0x216562(0x294)]=_0xc5782,_0x4c9297[_0x216562(0x269)]=_0x3c2704,_0x4c9297['_socket'][_0x914b94]!==void 0x0&&(_0x4c9297[_0x216562(0x232)][_0x216562(0x1e0)](_0x216562(0x14b),_0x3b03e5),process['nextTick'](_0x550226,_0x4c9297[_0x216562(0x232)]),_0x3c2704===0x3ed?_0x4c9297[_0x216562(0x20f)]():_0x4c9297['close'](_0x3c2704,_0xc5782));}function _0x5bf990(){const _0x561b83=_0x3f1a38,_0x3c1f2c=this[_0x914b94];_0x3c1f2c[_0x561b83(0x241)]||_0x3c1f2c[_0x561b83(0x232)]['resume']();}function _0x2f2138(_0xf0a05e){const _0x37fa99=_0x3f1a38,_0x163929=this[_0x914b94];_0x163929[_0x37fa99(0x232)][_0x914b94]!==void 0x0&&(_0x163929['_socket']['removeListener']('data',_0x3b03e5),process[_0x37fa99(0x181)](_0x550226,_0x163929[_0x37fa99(0x232)]),_0x163929[_0x37fa99(0x20f)](_0xf0a05e[_0x223c44])),_0x163929[_0x37fa99(0x265)]||(_0x163929[_0x37fa99(0x265)]=!0x0,_0x163929[_0x37fa99(0x1e1)](_0x37fa99(0x1ea),_0xf0a05e));}function _0x3e5535(){this[_0x914b94]['emitClose']();}function _0x1a3fb5(_0x478093,_0x1fa0bc){const _0x2b812b=_0x3f1a38;this[_0x914b94]['emit'](_0x2b812b(0x1d0),_0x478093,_0x1fa0bc);}function _0x1a5f4b(_0x290454){const _0xd1ee9e=_0x3f1a38,_0x2b3957=this[_0x914b94];_0x2b3957[_0xd1ee9e(0x191)]&&_0x2b3957[_0xd1ee9e(0x29f)](_0x290454,!this[_0xd1ee9e(0x1f6)],_0x12199f),_0x2b3957['emit'](_0xd1ee9e(0x2c0),_0x290454);}function _0xdda882(_0x2db74c){const _0x289c86=_0x3f1a38;this[_0x914b94][_0x289c86(0x1e1)](_0x289c86(0x29f),_0x2db74c);}function _0x550226(_0x30c58f){const _0x271f9e=_0x3f1a38;_0x30c58f[_0x271f9e(0x214)]();}function _0x4bed18(_0x564f4a){const _0x4fcd61=_0x3f1a38,_0x15ad8a=this[_0x914b94];_0x15ad8a[_0x4fcd61(0x210)]!==_0x7a03a2[_0x4fcd61(0x2ac)]&&(_0x15ad8a[_0x4fcd61(0x210)]===_0x7a03a2['OPEN']&&(_0x15ad8a[_0x4fcd61(0x1a4)]=_0x7a03a2[_0x4fcd61(0x165)],_0x36ab80(_0x15ad8a)),this[_0x4fcd61(0x232)][_0x4fcd61(0x204)](),_0x15ad8a['_errorEmitted']||(_0x15ad8a[_0x4fcd61(0x265)]=!0x0,_0x15ad8a[_0x4fcd61(0x1e1)](_0x4fcd61(0x1ea),_0x564f4a)));}function _0x36ab80(_0xc37b79){const _0xdd158e=_0x3f1a38;_0xc37b79['_closeTimer']=setTimeout(_0xc37b79[_0xdd158e(0x232)][_0xdd158e(0x1c8)]['bind'](_0xc37b79[_0xdd158e(0x232)]),_0x2ebd9);}function _0x23528e(){const _0x49cf85=_0x3f1a38,_0x13f34d=this[_0x914b94];this[_0x49cf85(0x1e0)](_0x49cf85(0x20f),_0x23528e),this[_0x49cf85(0x1e0)](_0x49cf85(0x14b),_0x3b03e5),this[_0x49cf85(0x1e0)]('end',_0x1b88ba),_0x13f34d[_0x49cf85(0x1a4)]=_0x7a03a2[_0x49cf85(0x165)];let _0x19b9f3;!this[_0x49cf85(0x25e)][_0x49cf85(0x1f1)]&&!_0x13f34d[_0x49cf85(0x234)]&&!_0x13f34d['_receiver'][_0x49cf85(0x2b7)]['errorEmitted']&&(_0x19b9f3=_0x13f34d[_0x49cf85(0x232)]['read']())!==null&&_0x13f34d[_0x49cf85(0x1cc)][_0x49cf85(0x23c)](_0x19b9f3),_0x13f34d[_0x49cf85(0x1cc)][_0x49cf85(0x204)](),this[_0x914b94]=void 0x0,clearTimeout(_0x13f34d['_closeTimer']),_0x13f34d['_receiver']['_writableState'][_0x49cf85(0x246)]||_0x13f34d[_0x49cf85(0x1cc)]['_writableState'][_0x49cf85(0x281)]?_0x13f34d[_0x49cf85(0x1da)]():(_0x13f34d[_0x49cf85(0x1cc)]['on'](_0x49cf85(0x1ea),_0x3e5535),_0x13f34d[_0x49cf85(0x1cc)]['on'](_0x49cf85(0x27e),_0x3e5535));}function _0x3b03e5(_0x28e492){const _0x5e71d6=_0x3f1a38;this[_0x914b94][_0x5e71d6(0x1cc)]['write'](_0x28e492)||this[_0x5e71d6(0x13b)]();}function _0x1b88ba(){const _0x4d40cf=_0x3f1a38,_0xc6fca0=this[_0x914b94];_0xc6fca0[_0x4d40cf(0x1a4)]=_0x7a03a2['CLOSING'],_0xc6fca0[_0x4d40cf(0x1cc)][_0x4d40cf(0x204)](),this[_0x4d40cf(0x204)]();}function _0x419bc9(){const _0x32d582=_0x3f1a38,_0x379a27=this[_0x914b94];this[_0x32d582(0x1e0)]('error',_0x419bc9),this['on'](_0x32d582(0x1ea),_0x12199f),_0x379a27&&(_0x379a27['_readyState']=_0x7a03a2[_0x32d582(0x165)],this[_0x32d582(0x1c8)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x288e1d}=_0x20bb13;function _0x338fe9(_0x2ccabd){const _0x39da84=_0x49ee;_0x2ccabd[_0x39da84(0x1e1)](_0x39da84(0x20f));}function _0x256ee6(){const _0x1308a2=_0x49ee;!this[_0x1308a2(0x192)]&&this['_writableState'][_0x1308a2(0x246)]&&this[_0x1308a2(0x1c8)]();}function _0x5be648(_0x5c6456){const _0x518aae=_0x49ee;this[_0x518aae(0x1e0)](_0x518aae(0x1ea),_0x5be648),this[_0x518aae(0x1c8)](),this[_0x518aae(0x20b)](_0x518aae(0x1ea))===0x0&&this[_0x518aae(0x1e1)]('error',_0x5c6456);}function _0x2d60ac(_0x3435e1,_0x2ecfdf){const _0x5cb8df=_0x49ee;let _0x448b04=!0x0;const _0x177c6d=new _0x288e1d({..._0x2ecfdf,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x3435e1['on'](_0x5cb8df(0x1d0),function(_0x4b3fbb,_0x19743e){const _0x32f914=_0x5cb8df,_0x3e6446=!_0x19743e&&_0x177c6d[_0x32f914(0x25e)][_0x32f914(0x187)]?_0x4b3fbb[_0x32f914(0x270)]():_0x4b3fbb;_0x177c6d[_0x32f914(0x15e)](_0x3e6446)||_0x3435e1[_0x32f914(0x13b)]();}),_0x3435e1[_0x5cb8df(0x1e7)]('error',function(_0x2a65e1){const _0x41b631=_0x5cb8df;_0x177c6d[_0x41b631(0x192)]||(_0x448b04=!0x1,_0x177c6d[_0x41b631(0x1c8)](_0x2a65e1));}),_0x3435e1['once']('close',function(){const _0x2882a1=_0x5cb8df;_0x177c6d[_0x2882a1(0x192)]||_0x177c6d[_0x2882a1(0x15e)](null);}),_0x177c6d[_0x5cb8df(0x22e)]=function(_0x30e3de,_0x3d2b8e){const _0x162b89=_0x5cb8df;if(_0x3435e1[_0x162b89(0x210)]===_0x3435e1[_0x162b89(0x2ac)]){_0x3d2b8e(_0x30e3de),process[_0x162b89(0x181)](_0x338fe9,_0x177c6d);return;}let _0x1a31de=!0x1;_0x3435e1['once'](_0x162b89(0x1ea),function(_0x33e454){_0x1a31de=!0x0,_0x3d2b8e(_0x33e454);}),_0x3435e1[_0x162b89(0x1e7)](_0x162b89(0x20f),function(){_0x1a31de||_0x3d2b8e(_0x30e3de),process['nextTick'](_0x338fe9,_0x177c6d);}),_0x448b04&&_0x3435e1['terminate']();},_0x177c6d[_0x5cb8df(0x200)]=function(_0x26fcfb){const _0x5cf2e7=_0x5cb8df;if(_0x3435e1[_0x5cf2e7(0x210)]===_0x3435e1[_0x5cf2e7(0x238)]){_0x3435e1[_0x5cf2e7(0x1e7)](_0x5cf2e7(0x267),function(){const _0x4153c8=_0x5cf2e7;_0x177c6d[_0x4153c8(0x200)](_0x26fcfb);});return;}_0x3435e1[_0x5cf2e7(0x232)]!==null&&(_0x3435e1[_0x5cf2e7(0x232)][_0x5cf2e7(0x2b7)]['finished']?(_0x26fcfb(),_0x177c6d[_0x5cf2e7(0x25e)]['endEmitted']&&_0x177c6d[_0x5cf2e7(0x1c8)]()):(_0x3435e1[_0x5cf2e7(0x232)][_0x5cf2e7(0x1e7)](_0x5cf2e7(0x27e),function(){_0x26fcfb();}),_0x3435e1['close']()));},_0x177c6d['_read']=function(){const _0x3ba175=_0x5cb8df;_0x3435e1[_0x3ba175(0x241)]&&_0x3435e1[_0x3ba175(0x214)]();},_0x177c6d[_0x5cb8df(0x189)]=function(_0x7c643a,_0x2abdff,_0x54b4b0){const _0x552aaa=_0x5cb8df;if(_0x3435e1['readyState']===_0x3435e1[_0x552aaa(0x238)]){_0x3435e1[_0x552aaa(0x1e7)](_0x552aaa(0x267),function(){_0x177c6d['_write'](_0x7c643a,_0x2abdff,_0x54b4b0);});return;}_0x3435e1[_0x552aaa(0x14d)](_0x7c643a,_0x54b4b0);},_0x177c6d['on'](_0x5cb8df(0x204),_0x256ee6),_0x177c6d['on'](_0x5cb8df(0x1ea),_0x5be648),_0x177c6d;}return Oe=_0x2d60ac,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=Wt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x2ceaf4}=ne();function _0x214783(_0x56a6f8){const _0x1a5ed6=_0x49ee,_0x300053=new Set();let _0x3aac4f=-0x1,_0x5eaf5b=-0x1,_0x3b7caa=0x0;for(_0x3b7caa;_0x3b7caa<_0x56a6f8[_0x1a5ed6(0x16d)];_0x3b7caa++){const _0x2ab71f=_0x56a6f8[_0x1a5ed6(0x261)](_0x3b7caa);if(_0x5eaf5b===-0x1&&_0x2ceaf4[_0x2ab71f]===0x1)_0x3aac4f===-0x1&&(_0x3aac4f=_0x3b7caa);else{if(_0x3b7caa!==0x0&&(_0x2ab71f===0x20||_0x2ab71f===0x9))_0x5eaf5b===-0x1&&_0x3aac4f!==-0x1&&(_0x5eaf5b=_0x3b7caa);else{if(_0x2ab71f===0x2c){if(_0x3aac4f===-0x1)throw new SyntaxError(_0x1a5ed6(0x143)+_0x3b7caa);_0x5eaf5b===-0x1&&(_0x5eaf5b=_0x3b7caa);const _0x5cdb4c=_0x56a6f8[_0x1a5ed6(0x152)](_0x3aac4f,_0x5eaf5b);if(_0x300053['has'](_0x5cdb4c))throw new SyntaxError('The\x20\x22'+_0x5cdb4c+_0x1a5ed6(0x279));_0x300053[_0x1a5ed6(0x202)](_0x5cdb4c),_0x3aac4f=_0x5eaf5b=-0x1;}else throw new SyntaxError(_0x1a5ed6(0x143)+_0x3b7caa);}}}if(_0x3aac4f===-0x1||_0x5eaf5b!==-0x1)throw new SyntaxError(_0x1a5ed6(0x2bf));const _0x49b65d=_0x56a6f8['slice'](_0x3aac4f,_0x3b7caa);if(_0x300053[_0x1a5ed6(0x2b5)](_0x49b65d))throw new SyntaxError(_0x1a5ed6(0x2a9)+_0x49b65d+_0x1a5ed6(0x279));return _0x300053[_0x1a5ed6(0x202)](_0x49b65d),_0x300053;}return Ce={'parse':_0x214783},Ce;}var Te,ot;function er(){const _0x156627=_0x52913d;if(ot)return Te;ot=0x1;const _0x5989df=_0x428a51,_0x7f017b=_0x3eb3d0,{Duplex:_0x4a9631}=_0x20bb13,{createHash:_0x424970}=_0x355f4b,_0x3a46c3=pt(),_0x212389=he(),_0x52d14f=Jt(),_0x14caf3=Ie(),{GUID:_0x5e00cf,kWebSocket:_0x38add0}=V(),_0x34b706=/^[+/0-9A-Za-z]{22}==$/,_0x5e96fb=0x0,_0x203e18=0x1,_0x4a6894=0x2;class _0x331f4a extends _0x5989df{constructor(_0x4f8ce0,_0x466777){const _0x303428=_0x49ee;if(super(),_0x4f8ce0={'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':_0x14caf3,..._0x4f8ce0},_0x4f8ce0[_0x303428(0x21b)]==null&&!_0x4f8ce0[_0x303428(0x2c5)]&&!_0x4f8ce0[_0x303428(0x1f0)]||_0x4f8ce0[_0x303428(0x21b)]!=null&&(_0x4f8ce0[_0x303428(0x2c5)]||_0x4f8ce0[_0x303428(0x1f0)])||_0x4f8ce0[_0x303428(0x2c5)]&&_0x4f8ce0[_0x303428(0x1f0)])throw new TypeError(_0x303428(0x2b9));if(_0x4f8ce0[_0x303428(0x21b)]!=null?(this['_server']=_0x7f017b[_0x303428(0x22b)]((_0x10a57f,_0x4ad831)=>{const _0x1dcff0=_0x303428,_0x1b819e=_0x7f017b[_0x1dcff0(0x2a8)][0x1aa];_0x4ad831['writeHead'](0x1aa,{'Content-Length':_0x1b819e['length'],'Content-Type':'text/plain'}),_0x4ad831['end'](_0x1b819e);}),this['_server'][_0x303428(0x2c1)](_0x4f8ce0[_0x303428(0x21b)],_0x4f8ce0[_0x303428(0x2bd)],_0x4f8ce0[_0x303428(0x1fe)],_0x466777)):_0x4f8ce0[_0x303428(0x2c5)]&&(this[_0x303428(0x1be)]=_0x4f8ce0[_0x303428(0x2c5)]),this[_0x303428(0x1be)]){const _0x538473=this[_0x303428(0x1e1)][_0x303428(0x26c)](this,'connection');this[_0x303428(0x199)]=_0x2b70d7(this[_0x303428(0x1be)],{'listening':this[_0x303428(0x1e1)][_0x303428(0x26c)](this,_0x303428(0x282)),'error':this['emit'][_0x303428(0x26c)](this,_0x303428(0x1ea)),'upgrade':(_0x32f675,_0x1f596c,_0x2beb99)=>{const _0x1e5f7b=_0x303428;this[_0x1e5f7b(0x1d2)](_0x32f675,_0x1f596c,_0x2beb99,_0x538473);}});}_0x4f8ce0[_0x303428(0x260)]===!0x0&&(_0x4f8ce0['perMessageDeflate']={}),_0x4f8ce0[_0x303428(0x2c8)]&&(this[_0x303428(0x1a8)]=new Set(),this[_0x303428(0x273)]=!0x1),this[_0x303428(0x29a)]=_0x4f8ce0,this[_0x303428(0x159)]=_0x5e96fb;}[_0x156627(0x2ca)](){const _0x5b9bf0=_0x156627;if(this[_0x5b9bf0(0x29a)][_0x5b9bf0(0x1f0)])throw new Error('The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode');return this[_0x5b9bf0(0x1be)]?this[_0x5b9bf0(0x1be)][_0x5b9bf0(0x2ca)]():null;}[_0x156627(0x20f)](_0x10ae3a){const _0x186b91=_0x156627;if(this['_state']===_0x4a6894){_0x10ae3a&&this[_0x186b91(0x1e7)](_0x186b91(0x20f),()=>{const _0x17ba96=_0x186b91;_0x10ae3a(new Error(_0x17ba96(0x184)));}),process['nextTick'](_0x34861b,this);return;}if(_0x10ae3a&&this[_0x186b91(0x1e7)](_0x186b91(0x20f),_0x10ae3a),this['_state']!==_0x203e18){if(this[_0x186b91(0x159)]=_0x203e18,this[_0x186b91(0x29a)]['noServer']||this[_0x186b91(0x29a)][_0x186b91(0x2c5)])this[_0x186b91(0x1be)]&&(this[_0x186b91(0x199)](),this[_0x186b91(0x199)]=this['_server']=null),this[_0x186b91(0x1a8)]?this[_0x186b91(0x1a8)][_0x186b91(0x1e3)]?this[_0x186b91(0x273)]=!0x0:process['nextTick'](_0x34861b,this):process[_0x186b91(0x181)](_0x34861b,this);else{const _0x36584d=this[_0x186b91(0x1be)];this['_removeListeners'](),this[_0x186b91(0x199)]=this['_server']=null,_0x36584d['close'](()=>{_0x34861b(this);});}}}['shouldHandle'](_0x57fffd){const _0x4eabdc=_0x156627;if(this[_0x4eabdc(0x29a)][_0x4eabdc(0x1c3)]){const _0x527e57=_0x57fffd[_0x4eabdc(0x1b1)]['indexOf']('?');if((_0x527e57!==-0x1?_0x57fffd[_0x4eabdc(0x1b1)]['slice'](0x0,_0x527e57):_0x57fffd[_0x4eabdc(0x1b1)])!==this[_0x4eabdc(0x29a)][_0x4eabdc(0x1c3)])return!0x1;}return!0x0;}['handleUpgrade'](_0x3992fc,_0x1b4c3d,_0x15e07a,_0x209ff6){const _0x2b6bcf=_0x156627;_0x1b4c3d['on'](_0x2b6bcf(0x1ea),_0x11f369);const _0x4f6edc=_0x3992fc['headers'][_0x2b6bcf(0x17f)],_0x214bcf=_0x3992fc[_0x2b6bcf(0x15b)][_0x2b6bcf(0x254)],_0x161777=+_0x3992fc[_0x2b6bcf(0x15b)][_0x2b6bcf(0x154)];if(_0x3992fc['method']!==_0x2b6bcf(0x1d5)){_0x147a61(this,_0x3992fc,_0x1b4c3d,0x195,_0x2b6bcf(0x205));return;}if(_0x214bcf===void 0x0||_0x214bcf['toLowerCase']()!==_0x2b6bcf(0x285)){_0x147a61(this,_0x3992fc,_0x1b4c3d,0x190,_0x2b6bcf(0x295));return;}if(_0x4f6edc===void 0x0||!_0x34b706[_0x2b6bcf(0x1d9)](_0x4f6edc)){_0x147a61(this,_0x3992fc,_0x1b4c3d,0x190,_0x2b6bcf(0x2ce));return;}if(_0x161777!==0xd&&_0x161777!==0x8){_0x147a61(this,_0x3992fc,_0x1b4c3d,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header',{'Sec-WebSocket-Version':_0x2b6bcf(0x29e)});return;}if(!this[_0x2b6bcf(0x1b2)](_0x3992fc)){_0x26e322(_0x1b4c3d,0x190);return;}const _0x1f29f5=_0x3992fc[_0x2b6bcf(0x15b)][_0x2b6bcf(0x28d)];let _0x25aaf4=new Set();if(_0x1f29f5!==void 0x0)try{_0x25aaf4=_0x52d14f[_0x2b6bcf(0x13d)](_0x1f29f5);}catch{_0x147a61(this,_0x3992fc,_0x1b4c3d,0x190,'Invalid\x20Sec-WebSocket-Protocol\x20header');return;}const _0x21c0e5=_0x3992fc['headers'][_0x2b6bcf(0x1ad)],_0x4889af={};if(this[_0x2b6bcf(0x29a)]['perMessageDeflate']&&_0x21c0e5!==void 0x0){const _0x13447d=new _0x212389(this['options'][_0x2b6bcf(0x260)],!0x0,this[_0x2b6bcf(0x29a)][_0x2b6bcf(0x1c4)]);try{const _0x5d3430=_0x3a46c3[_0x2b6bcf(0x13d)](_0x21c0e5);_0x5d3430[_0x212389[_0x2b6bcf(0x17a)]]&&(_0x13447d[_0x2b6bcf(0x18b)](_0x5d3430[_0x212389[_0x2b6bcf(0x17a)]]),_0x4889af[_0x212389[_0x2b6bcf(0x17a)]]=_0x13447d);}catch{_0x147a61(this,_0x3992fc,_0x1b4c3d,0x190,_0x2b6bcf(0x183));return;}}if(this['options'][_0x2b6bcf(0x283)]){const _0x144814={'origin':_0x3992fc[_0x2b6bcf(0x15b)][''+(_0x161777===0x8?'sec-websocket-origin':'origin')],'secure':!!(_0x3992fc[_0x2b6bcf(0x288)][_0x2b6bcf(0x1ab)]||_0x3992fc['socket'][_0x2b6bcf(0x27f)]),'req':_0x3992fc};if(this[_0x2b6bcf(0x29a)]['verifyClient']['length']===0x2){this['options'][_0x2b6bcf(0x283)](_0x144814,(_0x10f057,_0x21cd64,_0x135f3d,_0x2a874e)=>{const _0x261d61=_0x2b6bcf;if(!_0x10f057)return _0x26e322(_0x1b4c3d,_0x21cd64||0x191,_0x135f3d,_0x2a874e);this[_0x261d61(0x1ef)](_0x4889af,_0x4f6edc,_0x25aaf4,_0x3992fc,_0x1b4c3d,_0x15e07a,_0x209ff6);});return;}if(!this[_0x2b6bcf(0x29a)]['verifyClient'](_0x144814))return _0x26e322(_0x1b4c3d,0x191);}this['completeUpgrade'](_0x4889af,_0x4f6edc,_0x25aaf4,_0x3992fc,_0x1b4c3d,_0x15e07a,_0x209ff6);}[_0x156627(0x1ef)](_0x59919e,_0x38ac41,_0x349110,_0x32d3d2,_0x218d69,_0xd20b3e,_0x2b6306){const _0x3a1c0e=_0x156627;if(!_0x218d69[_0x3a1c0e(0x256)]||!_0x218d69['writable'])return _0x218d69['destroy']();if(_0x218d69[_0x38add0])throw new Error(_0x3a1c0e(0x2af));if(this[_0x3a1c0e(0x159)]>_0x5e96fb)return _0x26e322(_0x218d69,0x1f7);const _0x46021d=[_0x3a1c0e(0x2b4),'Upgrade:\x20websocket',_0x3a1c0e(0x2a6),_0x3a1c0e(0x197)+_0x424970('sha1')[_0x3a1c0e(0x1c2)](_0x38ac41+_0x5e00cf)[_0x3a1c0e(0x1dd)](_0x3a1c0e(0x1c6))],_0x2fa1b1=new this[(_0x3a1c0e(0x29a))][(_0x3a1c0e(0x19f))](null,void 0x0,this[_0x3a1c0e(0x29a)]);if(_0x349110['size']){const _0x5dff33=this[_0x3a1c0e(0x29a)]['handleProtocols']?this[_0x3a1c0e(0x29a)][_0x3a1c0e(0x16e)](_0x349110,_0x32d3d2):_0x349110[_0x3a1c0e(0x168)]()[_0x3a1c0e(0x255)]()[_0x3a1c0e(0x2cb)];_0x5dff33&&(_0x46021d['push'](_0x3a1c0e(0x15a)+_0x5dff33),_0x2fa1b1[_0x3a1c0e(0x2ab)]=_0x5dff33);}if(_0x59919e[_0x212389['extensionName']]){const _0x1fb1ed=_0x59919e[_0x212389[_0x3a1c0e(0x17a)]][_0x3a1c0e(0x25a)],_0x359db7=_0x3a46c3[_0x3a1c0e(0x166)]({[_0x212389[_0x3a1c0e(0x17a)]]:[_0x1fb1ed]});_0x46021d['push'](_0x3a1c0e(0x1f9)+_0x359db7),_0x2fa1b1[_0x3a1c0e(0x2a5)]=_0x59919e;}this[_0x3a1c0e(0x1e1)](_0x3a1c0e(0x15b),_0x46021d,_0x32d3d2),_0x218d69['write'](_0x46021d['concat']('\x0d\x0a')[_0x3a1c0e(0x139)]('\x0d\x0a')),_0x218d69[_0x3a1c0e(0x1e0)](_0x3a1c0e(0x1ea),_0x11f369),_0x2fa1b1[_0x3a1c0e(0x233)](_0x218d69,_0xd20b3e,{'allowSynchronousEvents':this[_0x3a1c0e(0x29a)]['allowSynchronousEvents'],'maxPayload':this[_0x3a1c0e(0x29a)][_0x3a1c0e(0x1c4)],'skipUTF8Validation':this[_0x3a1c0e(0x29a)][_0x3a1c0e(0x25c)]}),this['clients']&&(this[_0x3a1c0e(0x1a8)][_0x3a1c0e(0x202)](_0x2fa1b1),_0x2fa1b1['on'](_0x3a1c0e(0x20f),()=>{const _0x1ed129=_0x3a1c0e;this[_0x1ed129(0x1a8)]['delete'](_0x2fa1b1),this[_0x1ed129(0x273)]&&!this[_0x1ed129(0x1a8)][_0x1ed129(0x1e3)]&&process[_0x1ed129(0x181)](_0x34861b,this);})),_0x2b6306(_0x2fa1b1,_0x32d3d2);}}Te=_0x331f4a;function _0x2b70d7(_0x2a8e28,_0x18dcb8){const _0x29db55=_0x156627;for(const _0x283fd1 of Object[_0x29db55(0x164)](_0x18dcb8))_0x2a8e28['on'](_0x283fd1,_0x18dcb8[_0x283fd1]);return function(){const _0x4eadd1=_0x29db55;for(const _0x326a75 of Object['keys'](_0x18dcb8))_0x2a8e28[_0x4eadd1(0x1e0)](_0x326a75,_0x18dcb8[_0x326a75]);};}function _0x34861b(_0x130bed){const _0x3b0708=_0x156627;_0x130bed[_0x3b0708(0x159)]=_0x4a6894,_0x130bed[_0x3b0708(0x1e1)]('close');}function _0x11f369(){const _0x5c3440=_0x156627;this[_0x5c3440(0x1c8)]();}function _0x26e322(_0x26edb8,_0x42cc24,_0x2386f1,_0x2ec824){const _0x135599=_0x156627;_0x2386f1=_0x2386f1||_0x7f017b[_0x135599(0x2a8)][_0x42cc24],_0x2ec824={'Connection':_0x135599(0x20f),'Content-Type':_0x135599(0x180),'Content-Length':Buffer[_0x135599(0x1cf)](_0x2386f1),..._0x2ec824},_0x26edb8[_0x135599(0x1e7)]('finish',_0x26edb8['destroy']),_0x26edb8['end']('HTTP/1.1\x20'+_0x42cc24+'\x20'+_0x7f017b['STATUS_CODES'][_0x42cc24]+'\x0d\x0a'+Object[_0x135599(0x164)](_0x2ec824)['map'](_0x425174=>_0x425174+':\x20'+_0x2ec824[_0x425174])[_0x135599(0x139)]('\x0d\x0a')+_0x135599(0x158)+_0x2386f1);}function _0x147a61(_0x490ab8,_0x54ac50,_0x31000e,_0x221a9b,_0x5a74c7,_0x2df8e8){const _0x4f5af6=_0x156627;if(_0x490ab8[_0x4f5af6(0x20b)]('wsClientError')){const _0xf0e47=new Error(_0x5a74c7);Error[_0x4f5af6(0x1ec)](_0xf0e47,_0x147a61),_0x490ab8[_0x4f5af6(0x1e1)]('wsClientError',_0xf0e47,_0x31000e,_0x54ac50);}else _0x26e322(_0x31000e,_0x221a9b,_0x5a74c7,_0x2df8e8);}return Te;}er();var tr=Object[_0x52913d(0x185)],rr=(_0x5251f0,_0x5a0473,_0x41057f,_0x27b9fb)=>{const _0x979a5f=_0x52913d;for(var _0xd52f30=_0x27b9fb>0x1?void 0x0:_0x27b9fb?tr(_0x5a0473,_0x41057f):_0x5a0473,_0x856b3b=_0x5251f0[_0x979a5f(0x16d)]-0x1,_0x442eab;_0x856b3b>=0x0;_0x856b3b--)(_0x442eab=_0x5251f0[_0x856b3b])&&(_0xd52f30=_0x442eab(_0xd52f30)||_0xd52f30);return _0xd52f30;},sr=(_0x26660a,_0x57a780)=>(_0x4f91ad,_0x2a6da6)=>_0x57a780(_0x4f91ad,_0x2a6da6,_0x26660a);let Ne=class extends _0x27429c{constructor(_0x90a12c){const _0x4345d9=_0x52913d;super(),this[_0x4345d9(0x1e4)]=_0x90a12c;}[_0x52913d(0x22f)](_0x54919a){const _0x2290d9=_0x52913d;var _0x1a4e06;const _0x39db3a=(_0x1a4e06=this[_0x2290d9(0x1e4)][_0x2290d9(0x1e8)](Be))==null?void 0x0:_0x1a4e06[_0x2290d9(0x268)];try{const _0x47312f=new Qt(_0x54919a,{'headers':{..._0x39db3a}}),_0x36f3c0=new _0xa239aa();return{'URL':_0x54919a,'close':(_0x16581a,_0x20a1cb)=>{const _0x44fbcd=_0x2290d9;_0x47312f[_0x44fbcd(0x20f)](_0x16581a,_0x20a1cb),_0x36f3c0[_0x44fbcd(0x1ed)]();},'send':_0x1925a5=>{_0x47312f['send'](_0x1925a5);},'open$':new _0x4aeb22(_0x480843=>{const _0x2433ee=_0x2290d9,_0x58d964=_0x379a8e=>_0x480843['next'](_0x379a8e);_0x47312f[_0x2433ee(0x20e)](_0x2433ee(0x267),_0x58d964),_0x36f3c0[_0x2433ee(0x202)](_0x4cc490(()=>_0x47312f['removeEventListener'](_0x2433ee(0x267),_0x58d964)));})[_0x2290d9(0x27c)](_0x1e2c40()),'close$':new _0x4aeb22(_0x3c8d31=>{const _0x8411a8=_0x2290d9,_0x48adad=_0x49f48e=>_0x3c8d31[_0x8411a8(0x255)](_0x49f48e);_0x47312f['addEventListener'](_0x8411a8(0x20f),_0x48adad),_0x36f3c0[_0x8411a8(0x202)](_0x4cc490(()=>_0x47312f[_0x8411a8(0x219)]('close',_0x48adad)));})[_0x2290d9(0x27c)](_0x1e2c40()),'error$':new _0x4aeb22(_0x8e31f1=>{const _0x25b3c9=_0x2290d9,_0xbab89e=_0x7c48b5=>_0x8e31f1[_0x25b3c9(0x255)](_0x7c48b5);_0x47312f[_0x25b3c9(0x20e)](_0x25b3c9(0x1ea),_0xbab89e),_0x36f3c0[_0x25b3c9(0x202)](_0x4cc490(()=>_0x47312f['removeEventListener'](_0x25b3c9(0x1ea),_0xbab89e)));})['pipe'](_0x1e2c40()),'message$':new _0x4aeb22(_0x26c0f4=>{const _0x1c2c6c=_0x2290d9,_0x543809=_0x333aa8=>_0x26c0f4[_0x1c2c6c(0x255)](_0x333aa8);_0x47312f[_0x1c2c6c(0x20e)](_0x1c2c6c(0x1d0),_0x543809),_0x36f3c0['add'](_0x4cc490(()=>_0x47312f[_0x1c2c6c(0x219)](_0x1c2c6c(0x1d0),_0x543809)));})[_0x2290d9(0x27c)](_0x1e2c40())};}catch(_0x1ced0d){return console[_0x2290d9(0x1ea)](_0x1ced0d),null;}}};Ne=rr([sr(0x0,_0x5304af)],Ne);var ir=Object[_0x52913d(0x23b)],nr=Object['getOwnPropertyDescriptor'],or=(_0xaa820,_0x1f20bc,_0x4bd847)=>_0x1f20bc in _0xaa820?ir(_0xaa820,_0x1f20bc,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4bd847}):_0xaa820[_0x1f20bc]=_0x4bd847,ar=(_0x4806bb,_0x1dba32,_0x2e0410,_0x1279c9)=>{const _0x1cbedd=_0x52913d;for(var _0x3d0bb1=_0x1279c9>0x1?void 0x0:_0x1279c9?nr(_0x1dba32,_0x2e0410):_0x1dba32,_0x3e492a=_0x4806bb[_0x1cbedd(0x16d)]-0x1,_0x5858b4;_0x3e492a>=0x0;_0x3e492a--)(_0x5858b4=_0x4806bb[_0x3e492a])&&(_0x3d0bb1=_0x5858b4(_0x3d0bb1)||_0x3d0bb1);return _0x3d0bb1;},ke=(_0x374f62,_0x27a970)=>(_0x4b773c,_0x425165)=>_0x27a970(_0x4b773c,_0x425165,_0x374f62),lr=(_0x13bbd3,_0x53866,_0x2e0ae2)=>or(_0x13bbd3,_0x53866+'',_0x2e0ae2);let Pe=class extends _0x51e44b{constructor(_0x1bd1fb=Ft,_0x4489a7,_0x27d780,_0xf73132){const _0x5379fe=_0x52913d;_0x1bd1fb[_0x5379fe(0x268)]||_0x4489a7[_0x5379fe(0x14f)](_0x5379fe(0x19a)),super(),this['_configService']=_0x27d780,this[_0x5379fe(0x13a)]=_0xf73132,this[_0x5379fe(0x1e4)]['setConfig'](Be,_0x1bd1fb);}[_0x52913d(0x257)](){this['_registerDependencies']();}[_0x52913d(0x163)](){const _0x41f2bd=_0x52913d;_0xaf8f19(this[_0x41f2bd(0x13a)],[[_0xbe44da,{'useClass':Ne}]]);}};lr(Pe,_0x52913d(0x253),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),Pe=ar([_0x2434af(_0x3ded99),ke(0x1,_0x81bc5a),ke(0x2,_0x5304af),ke(0x3,_0x5e4e9c(_0x1bb984))],Pe);var fr=Object[_0x52913d(0x185)],cr=(_0x9714dd,_0x2c811b,_0x33e90a,_0x15ad67)=>{const _0x5b2568=_0x52913d;for(var _0x489713=_0x15ad67>0x1?void 0x0:_0x15ad67?fr(_0x2c811b,_0x33e90a):_0x2c811b,_0x29786b=_0x9714dd[_0x5b2568(0x16d)]-0x1,_0x5c6dd8;_0x29786b>=0x0;_0x29786b--)(_0x5c6dd8=_0x9714dd[_0x29786b])&&(_0x489713=_0x5c6dd8(_0x489713)||_0x489713);return _0x489713;},se=(_0x20d3cb,_0x4bbe11)=>(_0x4ffca9,_0x2f0da5)=>_0x4bbe11(_0x4ffca9,_0x2f0da5,_0x20d3cb);let at=class extends _0x1f3945{constructor(_0x5bede7,_0x46cb17,_0x580434,_0x58a747,_0x14c2f7){const _0x4ee4e6=_0x52913d;super(_0x5bede7,_0x46cb17,_0x580434,_0x58a747,_0x14c2f7);const _0x132903=this['_configService'][_0x4ee4e6(0x1e8)](Be);this[_0x4ee4e6(0x209)][_0x4ee4e6(0x14c)]({'interceptor':(_0x546b5e,_0xfd20a3)=>{const _0x1638cc=_0x4ee4e6;var _0x17fd26;const _0x57a67f=_0x546b5e[_0x1638cc(0x15b)];return(_0x17fd26=_0x132903==null?void 0x0:_0x132903[_0x1638cc(0x268)])!=null&&_0x17fd26['cookie']&&_0x57a67f[_0x1638cc(0x13f)](_0x1638cc(0x27a),_0x132903[_0x1638cc(0x268)][_0x1638cc(0x186)]),_0xfd20a3(_0x546b5e);}});}async[_0x52913d(0x22f)](_0x595703){return this['_doCreateSocket'](_0x595703);}};at=cr([se(0x0,_0x5e4e9c(_0x1bb984)),se(0x1,_0x5e4e9c(_0x5d0807)),se(0x2,_0x5304af),se(0x3,_0x81bc5a),se(0x4,_0x407c88)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
|