@univerjs-pro/collaboration-client-node 0.6.0 → 0.6.1-nightly.202502211606

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/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0x3f909a=_0x1655;(function(_0x1cfcac,_0x4e8e75){const _0x3f5d13=_0x1655,_0x5bfda2=_0x1cfcac();while(!![]){try{const _0xc83f5b=-parseInt(_0x3f5d13(0x229))/0x1*(parseInt(_0x3f5d13(0x271))/0x2)+parseInt(_0x3f5d13(0x264))/0x3*(parseInt(_0x3f5d13(0x28d))/0x4)+-parseInt(_0x3f5d13(0x288))/0x5+parseInt(_0x3f5d13(0x201))/0x6+parseInt(_0x3f5d13(0x2e1))/0x7*(-parseInt(_0x3f5d13(0x2f3))/0x8)+-parseInt(_0x3f5d13(0x310))/0x9*(parseInt(_0x3f5d13(0x34f))/0xa)+parseInt(_0x3f5d13(0x1c0))/0xb;if(_0xc83f5b===_0x4e8e75)break;else _0x5bfda2['push'](_0x5bfda2['shift']());}catch(_0x186f5d){_0x5bfda2['push'](_0x5bfda2['shift']());}}}(_0x1e48,0x3c41f));import{UniverCollaborationClientPlugin as _0x3e4dd7,CollaborationSocketService as _0xc51859}from'@univerjs-pro/collaboration-client';import{Disposable as _0x354f7a,DisposableCollection as _0x488822,toDisposable as _0x2c32e1,IConfigService as _0x17af11,DependentOn as _0x497d08,ILogService as _0x1294a3,Inject as _0x1a0366,Injector as _0xccbc39,Plugin as _0x480ba7,registerDependencies as _0x5b09ee}from'@univerjs/core';import{ISocketService as _0xf89efd,HTTPService as _0x1e5b7f}from'@univerjs/network';import{Observable as _0x22c294,share as _0x494fa2}from'rxjs';import _0x3247ef from'stream';import _0xca3674 from'zlib';import _0x2ae449 from'buffer';import _0xf5bc26 from'crypto';import _0xc71a75 from'events';import _0x293ee from'https';import _0x26c58a from'http';import _0x1464b8 from'net';function _0x1e48(){const _0x26b590=['text/html','_removeListeners','sec-websocket-accept','Sec-WebSocket-Origin','client_no_context_takeover','offer','collaboration-client-node.config','_decompress','sec-websocket-key','error','WS_NO_UTF_8_VALIDATE','Cookie','GET','Invalid\x20value\x20for\x20parameter\x20\x22','clientMaxWindowBits','9564709IGAYoW','autoPong','Invalid\x20Sec-WebSocket-Protocol\x20header','_threshold','_binaryType','params','invalid\x20payload\x20length\x20','data','sec-websocket-origin','CLOSING','client_max_window_bits','pending','kDone','HTTP/1.1\x20','warn','bind','apply','getPayloadLength16','Sec-WebSocket-Accept:\x20','invalid\x20status\x20code\x20','Module','encrypted','_totalPayloadLength','acceptAsServer','pong','length','protocolVersion','next','prototype','wsClientError','default','_write','_originalHostOrSocketPath','arrayBuffer','dispatch','_firstFragment','Server\x20sent\x20no\x20subprotocol','slice','removeEventListener','wss:','destroyed','kError','setTimeout','_payloadLength','url','server_max_window_bits','kByteLength','defineProperty','_readyState','allocUnsafe','create','_bufferedAmount','find','zlibInflateOptions','_redirects','constructor','_state','createConnection','freeze','charCodeAt','_extensions','request','Server\x20sent\x20an\x20invalid\x20subprotocol','isInteger','onerror','204234uBjhil','resume','The\x20\x22','_no_context_takeover','string','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','_autoPong','Sec-WebSocket-Extensions','username','headers','_originalIpc','call','setConfig','startsWith','dequeue','controlMessage','env','\x22\x20must\x20have\x20only\x20a\x20single\x20value','buffers','CLOSED','writable','readable','Invalid\x20URL:\x20','_skipUTF8Validation','Max\x20payload\x20size\x20exceeded','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','_sender','WS_ERR_EXPECTED_MASK','endEmitted','push','readOnly','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','Z_SYNC_FLUSH','\x22\x20subprotocol\x20is\x20duplicated','noServer','Invalid\x20Sec-WebSocket-Extensions\x20header','verifyClient','isView','Blob','2342UcFfNz','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','connect','isBuffer','options','Invalid\x20Upgrade\x20header','location','Upgrade:\x20websocket','Unsupported\x20protocol\x20version:\x20','CONNECTING','getOwnPropertyDescriptor','perMessageDeflate','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','listen','_buffers','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','_masked','The\x20URL\x20contains\x20a\x20fragment\x20identifier','accept','update','fin','_destroy','byteOffset','\x22:\x20','_url','bufferedAmount','_injector','_closeCode','finish','socket','then','alloc','_closeMessage','Basic\x20','addEventListener','open','emit','acceptAsClient','unexpected-response','buffer','concurrency','readyState','Unexpected\x20end\x20of\x20input','_max_window_bits','toString','serverMaxWindowBits','getPayloadLength64','binary','mask','path','cleanup','cookie','host','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','listeners','destroy','maxRedirects','captureStackTrace','_configService','1026915eMFmBV','unmask','readUInt32BE','serverNoContextTakeover','species','errorEmitted','_receiver','Invalid\x20HTTP\x20method','isPaused','clients','createError','_options','pathname','154dISsBf','consume','abort','_generateMask','objectMode','protocol','read','conclude','timeout','redirect','invalid\x20UTF-8\x20sequence','upgrade','The\x20URL\x27s\x20pathname\x20is\x20empty','normalizeParams','entries','opcode','target','generateMask','clientNoContextTakeover','completeUpgrade','message','_server','pause','2201080lwlDPc','reason','byteLength','indexOf','defaultPort','4XpmEKh','_deflate','compress','toLowerCase','get','haveLength','WS_ERR_UNEXPECTED_RSV_2_3','wasClean','_httpService','total-length','has','_messageLength','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','isArray','_inflate','authorized','_mask','_closeFrameReceived','Maximum\x20redirects\x20exceeded','threshold','toStringTag','Invalid\x20Sec-WebSocket-Accept\x20header','_bufferedBytes','statusCode','sendFrame','handleEvent','close','WS_ERR_INVALID_CLOSE_CODE','maxPayload','function','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','createInflateRaw','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','_compress','WS_ERR_INVALID_UTF8','_paused','origin','_closeTimer','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','_socket','servername','size','keys','getConfig','_compressed','http:','forEach','once','setSocket','shouldHandle','_loop','WS_ERR_EXPECTED_FIN','binaryType','_originalSecure','response','_maxPayload','from','code','kCode','_fragments','kMessage','ping','terminate','uncork','WS_ERR_UNEXPECTED_RSV_1','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','add','followRedirects','_protocol','readUInt16BE','finished','websocket','write','onStarting','writeHead','_shouldEmitClose','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','writeUInt16BE','split','drain','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','object','auth','1352379WFKJIM','Unexpected\x20character\x20at\x20index\x20','test','server','_fin','_errorEmitted','values','frame','digest','nodebuffer','Opening\x20handshake\x20has\x20timed\x20out','kWasClean','number','_read','decompress','createSocket','type','delete','8TWUwCm','_final','_errored','OPEN','kAborted','listenerCount','customHeaders','kData','includes','backlog','_readableState','map','arraybuffer','getBlobData','File','removeListener','Invalid\x20WebSocket\x20frame:\x20','blob','port','parse','join','set','sec-websocket-extensions','_allowSynchronousEvents','_opcode','extensionName','permessage-deflate','method','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','81ltFXGs','RSV1\x20must\x20be\x20clear','onclose','replace','handleUpgrade','exports','__esModule','shift','startLoop','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','getMask','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','The\x20server\x20is\x20not\x20running','concat','Sec-WebSocket-Extensions:\x20','enqueue','ws:','Connection:\x20Upgrade','allowSynchronousEvents','base64','\x20(supported\x20versions:\x20','setNoDelay','kReason','jobs','flush','authorization','WS_ERR_INVALID_OPCODE','\x0d\x0a\x0d\x0a','skipUTF8Validation','server_no_context_takeover','kTarget','_fragmented','dataMessage','isValidUTF8','nextTick','emitClose','extensions','_req','value','_maskBuffer','send','isIP','reset','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','format','_queue','Sec-WebSocket-Protocol:\x20','address','setHeader','_closeFrameSent','kIsForOnEventAttribute','getData','socketPath','catch','STATUS_CODES','getInfo','pipe','cork','password','The\x20URL\x27s\x20protocol\x20must\x20be\x20one\x20of\x20\x22ws:\x22,\x20\x22wss:\x22,\x20\x22http:\x22,\x20\x22https\x22,\x20or\x20\x22ws+unix:\x22','search','_writableState','_isServer','205890rzfTxm','kType','Z_DEFAULT_WINDOWBITS','finishRequest','MASK\x20must\x20be\x20set','invalid\x20opcode\x200','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','handshakeTimeout','end'];_0x1e48=function(){return _0x26b590;};return _0x1e48();}import _0x300afd from'tls';import _0x12dd80 from'url';import{ISnapshotServerService as _0x36ff27}from'@univerjs-pro/collaboration';const Be=_0x3f909a(0x35e),Ft={'customHeaders':{}};function Wt(_0x43c8fe){const _0x207d21=_0x3f909a;return _0x43c8fe&&_0x43c8fe[_0x207d21(0x316)]&&Object[_0x207d21(0x1dc)]['hasOwnProperty']['call'](_0x43c8fe,'default')?_0x43c8fe['default']:_0x43c8fe;}function ht(_0x157810){const _0x4f1693=_0x3f909a;if(_0x157810[_0x4f1693(0x316)])return _0x157810;var _0x25b3c9=_0x157810[_0x4f1693(0x1de)];if(typeof _0x25b3c9=='function'){var _0x330388=function _0xc3bb6f(){const _0x542d36=_0x4f1693;return this instanceof _0xc3bb6f?Reflect['construct'](_0x25b3c9,arguments,this[_0x542d36(0x1f7)]):_0x25b3c9[_0x542d36(0x1d0)](this,arguments);};_0x330388[_0x4f1693(0x1dc)]=_0x25b3c9[_0x4f1693(0x1dc)];}else _0x330388={};return Object[_0x4f1693(0x1ef)](_0x330388,_0x4f1693(0x316),{'value':!0x0}),Object['keys'](_0x157810)['forEach'](function(_0x5f58c6){const _0x2421f9=_0x4f1693;var _0x41e5b7=Object[_0x2421f9(0x233)](_0x157810,_0x5f58c6);Object[_0x2421f9(0x1ef)](_0x330388,_0x5f58c6,_0x41e5b7[_0x2421f9(0x291)]?_0x41e5b7:{'enumerable':!0x0,'get':function(){return _0x157810[_0x5f58c6];}});}),_0x330388;}var ge,ze;function jt(){if(ze)return ge;ze=0x1;const {Duplex:_0x5c886a}=_0x3247ef;function _0x20a719(_0x2ffe16){const _0x379d2e=_0x1655;_0x2ffe16[_0x379d2e(0x24d)](_0x379d2e(0x2a7));}function _0x247905(){const _0x53cdc7=_0x1655;!this[_0x53cdc7(0x1e8)]&&this[_0x53cdc7(0x34d)]['finished']&&this[_0x53cdc7(0x260)]();}function _0x4bde1a(_0x3130f5){const _0x565692=_0x1655;this[_0x565692(0x302)](_0x565692(0x361),_0x4bde1a),this[_0x565692(0x260)](),this['listenerCount'](_0x565692(0x361))===0x0&&this[_0x565692(0x24d)](_0x565692(0x361),_0x3130f5);}function _0xdf031(_0x10d701,_0x73773a){const _0x152785=_0x1655;let _0x237b14=!0x0;const _0xaf2208=new _0x5c886a({..._0x73773a,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x10d701['on'](_0x152785(0x285),function(_0x18d2b9,_0x555686){const _0xf9506d=_0x152785,_0x2df3e3=!_0x555686&&_0xaf2208[_0xf9506d(0x2fd)][_0xf9506d(0x275)]?_0x18d2b9[_0xf9506d(0x255)]():_0x18d2b9;_0xaf2208[_0xf9506d(0x21f)](_0x2df3e3)||_0x10d701['pause']();}),_0x10d701[_0x152785(0x2bc)](_0x152785(0x361),function(_0x4a65f4){const _0x21f881=_0x152785;_0xaf2208[_0x21f881(0x1e8)]||(_0x237b14=!0x1,_0xaf2208['destroy'](_0x4a65f4));}),_0x10d701[_0x152785(0x2bc)]('close',function(){const _0x1cc951=_0x152785;_0xaf2208[_0x1cc951(0x1e8)]||_0xaf2208[_0x1cc951(0x21f)](null);}),_0xaf2208[_0x152785(0x23e)]=function(_0x329649,_0x355b79){const _0x249620=_0x152785;if(_0x10d701['readyState']===_0x10d701['CLOSED']){_0x355b79(_0x329649),process[_0x249620(0x332)](_0x20a719,_0xaf2208);return;}let _0x1e6aad=!0x1;_0x10d701['once'](_0x249620(0x361),function(_0x4b0766){_0x1e6aad=!0x0,_0x355b79(_0x4b0766);}),_0x10d701['once'](_0x249620(0x2a7),function(){const _0x456aa8=_0x249620;_0x1e6aad||_0x355b79(_0x329649),process[_0x456aa8(0x332)](_0x20a719,_0xaf2208);}),_0x237b14&&_0x10d701[_0x249620(0x2cb)]();},_0xaf2208['_final']=function(_0x999bc2){const _0x157367=_0x152785;if(_0x10d701['readyState']===_0x10d701[_0x157367(0x232)]){_0x10d701[_0x157367(0x2bc)]('open',function(){const _0x4c1421=_0x157367;_0xaf2208[_0x4c1421(0x2f4)](_0x999bc2);});return;}_0x10d701[_0x157367(0x2b4)]!==null&&(_0x10d701[_0x157367(0x2b4)]['_writableState'][_0x157367(0x2d4)]?(_0x999bc2(),_0xaf2208[_0x157367(0x2fd)][_0x157367(0x21e)]&&_0xaf2208[_0x157367(0x260)]()):(_0x10d701[_0x157367(0x2b4)][_0x157367(0x2bc)](_0x157367(0x245),function(){_0x999bc2();}),_0x10d701['close']()));},_0xaf2208[_0x152785(0x2ee)]=function(){const _0x40479e=_0x152785;_0x10d701[_0x40479e(0x26c)]&&_0x10d701['resume']();},_0xaf2208[_0x152785(0x1df)]=function(_0x8f12fd,_0x3fe58b,_0x40133b){const _0x1e65e6=_0x152785;if(_0x10d701[_0x1e65e6(0x252)]===_0x10d701[_0x1e65e6(0x232)]){_0x10d701[_0x1e65e6(0x2bc)]('open',function(){const _0x4d7d24=_0x1e65e6;_0xaf2208[_0x4d7d24(0x1df)](_0x8f12fd,_0x3fe58b,_0x40133b);});return;}_0x10d701[_0x1e65e6(0x338)](_0x8f12fd,_0x40133b);},_0xaf2208['on']('end',_0x247905),_0xaf2208['on'](_0x152785(0x361),_0x4bde1a),_0xaf2208;}return ge=_0xdf031,ge;}jt();var te={'exports':{}},ye,Ye;function V(){const _0x17e01f=_0x3f909a;if(Ye)return ye;Ye=0x1;const _0x4a63eb=['nodebuffer',_0x17e01f(0x2ff),'fragments'],_0x24e6a7=typeof Blob<'u';return _0x24e6a7&&_0x4a63eb[_0x17e01f(0x21f)](_0x17e01f(0x304)),ye={'BINARY_TYPES':_0x4a63eb,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':_0x17e01f(0x2cf),'hasBlob':_0x24e6a7,'kForOnEventAttribute':Symbol(_0x17e01f(0x342)),'kListener':Symbol('kListener'),'kStatusCode':Symbol('status-code'),'kWebSocket':Symbol(_0x17e01f(0x2d5)),'NOOP':()=>{}},ye;}const Gt={},Vt=Object[_0x3f909a(0x1fa)](Object[_0x3f909a(0x1ef)]({'__proto__':null,'default':Gt},Symbol[_0x3f909a(0x2a1)],{'value':_0x3f909a(0x1d4)})),qt=ht(Vt);var Ke;function ce(){const _0x1e45d8=_0x3f909a;if(Ke)return te[_0x1e45d8(0x315)];Ke=0x1;const {EMPTY_BUFFER:_0xe94d52}=V(),_0x221266=Buffer[Symbol[_0x1e45d8(0x268)]];function _0x6258e2(_0x1d0c83,_0x346e36){const _0x33eee3=_0x1e45d8;if(_0x1d0c83[_0x33eee3(0x1d9)]===0x0)return _0xe94d52;if(_0x1d0c83[_0x33eee3(0x1d9)]===0x1)return _0x1d0c83[0x0];const _0x2ff70=Buffer[_0x33eee3(0x1f1)](_0x346e36);let _0x16947d=0x0;for(let _0x49b92c=0x0;_0x49b92c<_0x1d0c83[_0x33eee3(0x1d9)];_0x49b92c++){const _0x3833f0=_0x1d0c83[_0x49b92c];_0x2ff70['set'](_0x3833f0,_0x16947d),_0x16947d+=_0x3833f0[_0x33eee3(0x1d9)];}return _0x16947d<_0x346e36?new _0x221266(_0x2ff70[_0x33eee3(0x250)],_0x2ff70[_0x33eee3(0x23f)],_0x16947d):_0x2ff70;}function _0x2c0108(_0x581f86,_0xb22649,_0x146eb9,_0x4537aa,_0x15ac5d){for(let _0x1a31f9=0x0;_0x1a31f9<_0x15ac5d;_0x1a31f9++)_0x146eb9[_0x4537aa+_0x1a31f9]=_0x581f86[_0x1a31f9]^_0xb22649[_0x1a31f9&0x3];}function _0x3db793(_0x436738,_0xecd824){for(let _0x4015b7=0x0;_0x4015b7<_0x436738['length'];_0x4015b7++)_0x436738[_0x4015b7]^=_0xecd824[_0x4015b7&0x3];}function _0xa495b7(_0x20cd30){const _0x153d42=_0x1e45d8;return _0x20cd30['length']===_0x20cd30[_0x153d42(0x250)]['byteLength']?_0x20cd30['buffer']:_0x20cd30[_0x153d42(0x250)]['slice'](_0x20cd30[_0x153d42(0x23f)],_0x20cd30[_0x153d42(0x23f)]+_0x20cd30[_0x153d42(0x1d9)]);}function _0x1616a3(_0x42f16a){const _0x53b721=_0x1e45d8;if(_0x1616a3[_0x53b721(0x220)]=!0x0,Buffer[_0x53b721(0x22c)](_0x42f16a))return _0x42f16a;let _0x475ce8;return _0x42f16a instanceof ArrayBuffer?_0x475ce8=new _0x221266(_0x42f16a):ArrayBuffer[_0x53b721(0x227)](_0x42f16a)?_0x475ce8=new _0x221266(_0x42f16a[_0x53b721(0x250)],_0x42f16a[_0x53b721(0x23f)],_0x42f16a[_0x53b721(0x28a)]):(_0x475ce8=Buffer[_0x53b721(0x2c5)](_0x42f16a),_0x1616a3[_0x53b721(0x220)]=!0x1),_0x475ce8;}if(te['exports']={'concat':_0x6258e2,'mask':_0x2c0108,'toArrayBuffer':_0xa495b7,'toBuffer':_0x1616a3,'unmask':_0x3db793},!process[_0x1e45d8(0x211)]['WS_NO_BUFFER_UTIL'])try{const _0x4fb29f=qt;te[_0x1e45d8(0x315)]['mask']=function(_0xab627,_0x435f0d,_0x32944e,_0x3cbcad,_0x5516bb){_0x5516bb<0x30?_0x2c0108(_0xab627,_0x435f0d,_0x32944e,_0x3cbcad,_0x5516bb):_0x4fb29f['mask'](_0xab627,_0x435f0d,_0x32944e,_0x3cbcad,_0x5516bb);},te[_0x1e45d8(0x315)][_0x1e45d8(0x265)]=function(_0x56594c,_0x27387e){const _0x2787f5=_0x1e45d8;_0x56594c['length']<0x20?_0x3db793(_0x56594c,_0x27387e):_0x4fb29f[_0x2787f5(0x265)](_0x56594c,_0x27387e);};}catch{}return te[_0x1e45d8(0x315)];}var ve,Xe;function Ht(){const _0x4f9844=_0x3f909a;if(Xe)return ve;Xe=0x1;const _0x1857f9=Symbol(_0x4f9844(0x1cc)),_0x51363a=Symbol('kRun');class _0x21491d{constructor(_0x3b3d6c){const _0x343d72=_0x4f9844;this[_0x1857f9]=()=>{this['pending']--,this[_0x51363a]();},this[_0x343d72(0x251)]=_0x3b3d6c||0x1/0x0,this['jobs']=[],this[_0x343d72(0x1cb)]=0x0;}[_0x4f9844(0x2d0)](_0x4a9bcc){const _0x2793a0=_0x4f9844;this['jobs'][_0x2793a0(0x21f)](_0x4a9bcc),this[_0x51363a]();}[_0x51363a](){const _0x5495d4=_0x4f9844;if(this['pending']!==this[_0x5495d4(0x251)]&&this[_0x5495d4(0x327)][_0x5495d4(0x1d9)]){const _0xe05332=this['jobs'][_0x5495d4(0x317)]();this[_0x5495d4(0x1cb)]++,_0xe05332(this[_0x1857f9]);}}}return ve=_0x21491d,ve;}var Se,Ze;function he(){const _0x527203=_0x3f909a;if(Ze)return Se;Ze=0x1;const _0x3b9b2a=_0xca3674,_0x17f7b4=ce(),_0x1ec599=Ht(),{kStatusCode:_0x2591ba}=V(),_0x4531df=Buffer[Symbol[_0x527203(0x268)]],_0x5b8faf=Buffer[_0x527203(0x2c5)]([0x0,0x0,0xff,0xff]),_0x421b7d=Symbol(_0x527203(0x30d)),_0xca71ee=Symbol(_0x527203(0x296)),_0x2ccfe1=Symbol('callback'),_0x514c53=Symbol(_0x527203(0x213)),_0x5f119d=Symbol('error');let _0x4cc373;class _0xd09a71{constructor(_0x5384b2,_0x3de3ff,_0x386012){const _0x1647a2=_0x527203;if(this[_0x1647a2(0x2c4)]=_0x386012|0x0,this['_options']=_0x5384b2||{},this[_0x1647a2(0x1c3)]=this['_options']['threshold']!==void 0x0?this['_options'][_0x1647a2(0x2a0)]:0x400,this['_isServer']=!!_0x3de3ff,this[_0x1647a2(0x28e)]=null,this[_0x1647a2(0x29b)]=null,this[_0x1647a2(0x1c5)]=null,!_0x4cc373){const _0x17540f=this[_0x1647a2(0x26f)]['concurrencyLimit']!==void 0x0?this[_0x1647a2(0x26f)]['concurrencyLimit']:0xa;_0x4cc373=new _0x1ec599(_0x17540f);}}static get[_0x527203(0x30c)](){return'permessage-deflate';}[_0x527203(0x35d)](){const _0x33c16f=_0x527203,_0x28925b={};return this[_0x33c16f(0x26f)]['serverNoContextTakeover']&&(_0x28925b[_0x33c16f(0x32d)]=!0x0),this['_options'][_0x33c16f(0x283)]&&(_0x28925b[_0x33c16f(0x35c)]=!0x0),this[_0x33c16f(0x26f)]['serverMaxWindowBits']&&(_0x28925b[_0x33c16f(0x1ed)]=this['_options']['serverMaxWindowBits']),this[_0x33c16f(0x26f)][_0x33c16f(0x1bf)]?_0x28925b['client_max_window_bits']=this[_0x33c16f(0x26f)][_0x33c16f(0x1bf)]:this[_0x33c16f(0x26f)][_0x33c16f(0x1bf)]==null&&(_0x28925b[_0x33c16f(0x1ca)]=!0x0),_0x28925b;}['accept'](_0x17dc8d){const _0x32ab63=_0x527203;return _0x17dc8d=this[_0x32ab63(0x27e)](_0x17dc8d),this[_0x32ab63(0x1c5)]=this[_0x32ab63(0x34e)]?this[_0x32ab63(0x1d7)](_0x17dc8d):this[_0x32ab63(0x24e)](_0x17dc8d),this[_0x32ab63(0x1c5)];}[_0x527203(0x25b)](){const _0x62bcf5=_0x527203;if(this['_inflate']&&(this[_0x62bcf5(0x29b)]['close'](),this[_0x62bcf5(0x29b)]=null),this[_0x62bcf5(0x28e)]){const _0x5f56c7=this[_0x62bcf5(0x28e)][_0x2ccfe1];this[_0x62bcf5(0x28e)][_0x62bcf5(0x2a7)](),this[_0x62bcf5(0x28e)]=null,_0x5f56c7&&_0x5f56c7(new Error(_0x62bcf5(0x238)));}}['acceptAsServer'](_0x616469){const _0xb2cf57=_0x527203,_0x68f2f6=this['_options'],_0x4d61aa=_0x616469[_0xb2cf57(0x1f4)](_0x595353=>!(_0x68f2f6['serverNoContextTakeover']===!0x1&&_0x595353[_0xb2cf57(0x32d)]||_0x595353['server_max_window_bits']&&(_0x68f2f6[_0xb2cf57(0x256)]===!0x1||typeof _0x68f2f6[_0xb2cf57(0x256)]==_0xb2cf57(0x2ed)&&_0x68f2f6[_0xb2cf57(0x256)]>_0x595353[_0xb2cf57(0x1ed)])||typeof _0x68f2f6['clientMaxWindowBits']==_0xb2cf57(0x2ed)&&!_0x595353[_0xb2cf57(0x1ca)]));if(!_0x4d61aa)throw new Error('None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted');return _0x68f2f6[_0xb2cf57(0x267)]&&(_0x4d61aa[_0xb2cf57(0x32d)]=!0x0),_0x68f2f6['clientNoContextTakeover']&&(_0x4d61aa[_0xb2cf57(0x35c)]=!0x0),typeof _0x68f2f6[_0xb2cf57(0x256)]==_0xb2cf57(0x2ed)&&(_0x4d61aa[_0xb2cf57(0x1ed)]=_0x68f2f6[_0xb2cf57(0x256)]),typeof _0x68f2f6['clientMaxWindowBits']==_0xb2cf57(0x2ed)?_0x4d61aa[_0xb2cf57(0x1ca)]=_0x68f2f6[_0xb2cf57(0x1bf)]:(_0x4d61aa[_0xb2cf57(0x1ca)]===!0x0||_0x68f2f6[_0xb2cf57(0x1bf)]===!0x1)&&delete _0x4d61aa[_0xb2cf57(0x1ca)],_0x4d61aa;}['acceptAsClient'](_0x48ab9d){const _0x3a37fa=_0x527203,_0x385058=_0x48ab9d[0x0];if(this[_0x3a37fa(0x26f)][_0x3a37fa(0x283)]===!0x1&&_0x385058['client_no_context_takeover'])throw new Error(_0x3a37fa(0x33b));if(!_0x385058[_0x3a37fa(0x1ca)])typeof this[_0x3a37fa(0x26f)][_0x3a37fa(0x1bf)]==_0x3a37fa(0x2ed)&&(_0x385058[_0x3a37fa(0x1ca)]=this[_0x3a37fa(0x26f)][_0x3a37fa(0x1bf)]);else{if(this['_options']['clientMaxWindowBits']===!0x1||typeof this[_0x3a37fa(0x26f)][_0x3a37fa(0x1bf)]=='number'&&_0x385058[_0x3a37fa(0x1ca)]>this[_0x3a37fa(0x26f)][_0x3a37fa(0x1bf)])throw new Error(_0x3a37fa(0x319));}return _0x385058;}[_0x527203(0x27e)](_0x25fa69){const _0x376927=_0x527203;return _0x25fa69[_0x376927(0x2bb)](_0x5e7a73=>{const _0x509b07=_0x376927;Object[_0x509b07(0x2b7)](_0x5e7a73)[_0x509b07(0x2bb)](_0x4ded42=>{const _0x588746=_0x509b07;let _0x15742b=_0x5e7a73[_0x4ded42];if(_0x15742b[_0x588746(0x1d9)]>0x1)throw new Error('Parameter\x20\x22'+_0x4ded42+_0x588746(0x212));if(_0x15742b=_0x15742b[0x0],_0x4ded42===_0x588746(0x1ca)){if(_0x15742b!==!0x0){const _0x150573=+_0x15742b;if(!Number[_0x588746(0x1ff)](_0x150573)||_0x150573<0x8||_0x150573>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x4ded42+_0x588746(0x240)+_0x15742b);_0x15742b=_0x150573;}else{if(!this[_0x588746(0x34e)])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x4ded42+_0x588746(0x240)+_0x15742b);}}else{if(_0x4ded42==='server_max_window_bits'){const _0x1ea409=+_0x15742b;if(!Number[_0x588746(0x1ff)](_0x1ea409)||_0x1ea409<0x8||_0x1ea409>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x4ded42+'\x22:\x20'+_0x15742b);_0x15742b=_0x1ea409;}else{if(_0x4ded42===_0x588746(0x35c)||_0x4ded42===_0x588746(0x32d)){if(_0x15742b!==!0x0)throw new TypeError(_0x588746(0x1be)+_0x4ded42+_0x588746(0x240)+_0x15742b);}else throw new Error('Unknown\x20parameter\x20\x22'+_0x4ded42+'\x22');}}_0x5e7a73[_0x4ded42]=_0x15742b;});}),_0x25fa69;}[_0x527203(0x2ef)](_0x4bf4bc,_0x9a0a1f,_0x5ac7eb){_0x4cc373['add'](_0x1552cd=>{const _0x3ba1d9=_0x1655;this[_0x3ba1d9(0x35f)](_0x4bf4bc,_0x9a0a1f,(_0x2bd394,_0x37e7e6)=>{_0x1552cd(),_0x5ac7eb(_0x2bd394,_0x37e7e6);});});}[_0x527203(0x28f)](_0x44cb3b,_0x4431ad,_0x10164b){const _0x29e5a1=_0x527203;_0x4cc373[_0x29e5a1(0x2d0)](_0x43f062=>{const _0x49e291=_0x29e5a1;this[_0x49e291(0x2ae)](_0x44cb3b,_0x4431ad,(_0x1726cd,_0x2ebe5f)=>{_0x43f062(),_0x10164b(_0x1726cd,_0x2ebe5f);});});}[_0x527203(0x35f)](_0x268d05,_0x2fdad9,_0x4499af){const _0x233a10=_0x527203,_0x3651c0=this[_0x233a10(0x34e)]?'client':_0x233a10(0x2e4);if(!this[_0x233a10(0x29b)]){const _0x236987=_0x3651c0+_0x233a10(0x254),_0x3bdcfd=typeof this['params'][_0x236987]!='number'?_0x3b9b2a['Z_DEFAULT_WINDOWBITS']:this[_0x233a10(0x1c5)][_0x236987];this['_inflate']=_0x3b9b2a[_0x233a10(0x2ac)]({...this[_0x233a10(0x26f)][_0x233a10(0x1f5)],'windowBits':_0x3bdcfd}),this[_0x233a10(0x29b)][_0x421b7d]=this,this[_0x233a10(0x29b)][_0xca71ee]=0x0,this[_0x233a10(0x29b)][_0x514c53]=[],this[_0x233a10(0x29b)]['on'](_0x233a10(0x361),_0x1925b2),this['_inflate']['on'](_0x233a10(0x1c7),_0x5a5152);}this['_inflate'][_0x2ccfe1]=_0x4499af,this[_0x233a10(0x29b)]['write'](_0x268d05),_0x2fdad9&&this[_0x233a10(0x29b)][_0x233a10(0x2d6)](_0x5b8faf),this[_0x233a10(0x29b)][_0x233a10(0x328)](()=>{const _0x5163cb=_0x233a10,_0x40e12e=this['_inflate'][_0x5f119d];if(_0x40e12e){this[_0x5163cb(0x29b)]['close'](),this[_0x5163cb(0x29b)]=null,_0x4499af(_0x40e12e);return;}const _0x17e114=_0x17f7b4[_0x5163cb(0x31d)](this[_0x5163cb(0x29b)][_0x514c53],this[_0x5163cb(0x29b)][_0xca71ee]);this[_0x5163cb(0x29b)][_0x5163cb(0x2fd)][_0x5163cb(0x21e)]?(this[_0x5163cb(0x29b)][_0x5163cb(0x2a7)](),this[_0x5163cb(0x29b)]=null):(this[_0x5163cb(0x29b)][_0xca71ee]=0x0,this[_0x5163cb(0x29b)][_0x514c53]=[],_0x2fdad9&&this['params'][_0x3651c0+_0x5163cb(0x204)]&&this[_0x5163cb(0x29b)][_0x5163cb(0x33a)]()),_0x4499af(null,_0x17e114);});}[_0x527203(0x2ae)](_0x358d24,_0x4324b4,_0x3506a6){const _0x539a04=_0x527203,_0x591395=this[_0x539a04(0x34e)]?_0x539a04(0x2e4):'client';if(!this[_0x539a04(0x28e)]){const _0x198201=_0x591395+'_max_window_bits',_0x4687ee=typeof this[_0x539a04(0x1c5)][_0x198201]!=_0x539a04(0x2ed)?_0x3b9b2a[_0x539a04(0x351)]:this['params'][_0x198201];this['_deflate']=_0x3b9b2a['createDeflateRaw']({...this['_options']['zlibDeflateOptions'],'windowBits':_0x4687ee}),this[_0x539a04(0x28e)][_0xca71ee]=0x0,this[_0x539a04(0x28e)][_0x514c53]=[],this['_deflate']['on']('data',_0x482cfa);}this[_0x539a04(0x28e)][_0x2ccfe1]=_0x3506a6,this['_deflate'][_0x539a04(0x2d6)](_0x358d24),this[_0x539a04(0x28e)][_0x539a04(0x328)](_0x3b9b2a[_0x539a04(0x222)],()=>{const _0xe7c922=_0x539a04;if(!this[_0xe7c922(0x28e)])return;let _0x429859=_0x17f7b4[_0xe7c922(0x31d)](this[_0xe7c922(0x28e)][_0x514c53],this['_deflate'][_0xca71ee]);_0x4324b4&&(_0x429859=new _0x4531df(_0x429859[_0xe7c922(0x250)],_0x429859[_0xe7c922(0x23f)],_0x429859['length']-0x4)),this[_0xe7c922(0x28e)][_0x2ccfe1]=null,this[_0xe7c922(0x28e)][_0xca71ee]=0x0,this[_0xe7c922(0x28e)][_0x514c53]=[],_0x4324b4&&this[_0xe7c922(0x1c5)][_0x591395+'_no_context_takeover']&&this['_deflate']['reset'](),_0x3506a6(null,_0x429859);});}}Se=_0xd09a71;function _0x482cfa(_0x41c0c1){const _0x29bcd8=_0x527203;this[_0x514c53][_0x29bcd8(0x21f)](_0x41c0c1),this[_0xca71ee]+=_0x41c0c1[_0x29bcd8(0x1d9)];}function _0x5a5152(_0xc998bc){const _0x38b614=_0x527203;if(this[_0xca71ee]+=_0xc998bc[_0x38b614(0x1d9)],this[_0x421b7d][_0x38b614(0x2c4)]<0x1||this[_0xca71ee]<=this[_0x421b7d][_0x38b614(0x2c4)]){this[_0x514c53][_0x38b614(0x21f)](_0xc998bc);return;}this[_0x5f119d]=new RangeError(_0x38b614(0x219)),this[_0x5f119d]['code']=_0x38b614(0x355),this[_0x5f119d][_0x2591ba]=0x3f1,this[_0x38b614(0x302)](_0x38b614(0x1c7),_0x5a5152),this[_0x38b614(0x33a)]();}function _0x1925b2(_0x1daa62){const _0x58799a=_0x527203;this[_0x421b7d][_0x58799a(0x29b)]=null,_0x1daa62[_0x2591ba]=0x3ef,this[_0x2ccfe1](_0x1daa62);}return Se;}var re={'exports':{}};function _0x1655(_0x4f5e83,_0x2d49ab){const _0x1e48ec=_0x1e48();return _0x1655=function(_0x165528,_0xe482da){_0x165528=_0x165528-0x1bb;let _0x5dc86a=_0x1e48ec[_0x165528];return _0x5dc86a;},_0x1655(_0x4f5e83,_0x2d49ab);}const zt={},Yt=Object[_0x3f909a(0x1fa)](Object['defineProperty']({'__proto__':null,'default':zt},Symbol['toStringTag'],{'value':_0x3f909a(0x1d4)})),Kt=ht(Yt);var Qe;function ne(){const _0xafe391=_0x3f909a;if(Qe)return re['exports'];Qe=0x1;const {isUtf8:_0x367f23}=_0x2ae449,{hasBlob:_0x29f9ea}=V(),_0xe36c91=[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 _0x32c703(_0x450878){return _0x450878>=0x3e8&&_0x450878<=0x3f6&&_0x450878!==0x3ec&&_0x450878!==0x3ed&&_0x450878!==0x3ee||_0x450878>=0xbb8&&_0x450878<=0x1387;}function _0x207a1b(_0x5c82e2){const _0x207e62=_0x1655,_0x702c9f=_0x5c82e2[_0x207e62(0x1d9)];let _0x196d90=0x0;for(;_0x196d90<_0x702c9f;)if(!(_0x5c82e2[_0x196d90]&0x80))_0x196d90++;else{if((_0x5c82e2[_0x196d90]&0xe0)===0xc0){if(_0x196d90+0x1===_0x702c9f||(_0x5c82e2[_0x196d90+0x1]&0xc0)!==0x80||(_0x5c82e2[_0x196d90]&0xfe)===0xc0)return!0x1;_0x196d90+=0x2;}else{if((_0x5c82e2[_0x196d90]&0xf0)===0xe0){if(_0x196d90+0x2>=_0x702c9f||(_0x5c82e2[_0x196d90+0x1]&0xc0)!==0x80||(_0x5c82e2[_0x196d90+0x2]&0xc0)!==0x80||_0x5c82e2[_0x196d90]===0xe0&&(_0x5c82e2[_0x196d90+0x1]&0xe0)===0x80||_0x5c82e2[_0x196d90]===0xed&&(_0x5c82e2[_0x196d90+0x1]&0xe0)===0xa0)return!0x1;_0x196d90+=0x3;}else{if((_0x5c82e2[_0x196d90]&0xf8)===0xf0){if(_0x196d90+0x3>=_0x702c9f||(_0x5c82e2[_0x196d90+0x1]&0xc0)!==0x80||(_0x5c82e2[_0x196d90+0x2]&0xc0)!==0x80||(_0x5c82e2[_0x196d90+0x3]&0xc0)!==0x80||_0x5c82e2[_0x196d90]===0xf0&&(_0x5c82e2[_0x196d90+0x1]&0xf0)===0x80||_0x5c82e2[_0x196d90]===0xf4&&_0x5c82e2[_0x196d90+0x1]>0x8f||_0x5c82e2[_0x196d90]>0xf4)return!0x1;_0x196d90+=0x4;}else return!0x1;}}}return!0x0;}function _0x2be9ba(_0x1f3f92){const _0x466098=_0x1655;return _0x29f9ea&&typeof _0x1f3f92==_0x466098(0x2df)&&typeof _0x1f3f92[_0x466098(0x1e1)]==_0x466098(0x2aa)&&typeof _0x1f3f92[_0x466098(0x2f1)]==_0x466098(0x205)&&typeof _0x1f3f92['stream']=='function'&&(_0x1f3f92[Symbol[_0x466098(0x2a1)]]===_0x466098(0x228)||_0x1f3f92[Symbol[_0x466098(0x2a1)]]===_0x466098(0x301));}if(re[_0xafe391(0x315)]={'isBlob':_0x2be9ba,'isValidStatusCode':_0x32c703,'isValidUTF8':_0x207a1b,'tokenChars':_0xe36c91},_0x367f23)re[_0xafe391(0x315)]['isValidUTF8']=function(_0x32fef6){return _0x32fef6['length']<0x18?_0x207a1b(_0x32fef6):_0x367f23(_0x32fef6);};else{if(!process['env'][_0xafe391(0x1bb)])try{const _0x3b21ba=Kt;re[_0xafe391(0x315)][_0xafe391(0x331)]=function(_0x42b010){const _0x3451ba=_0xafe391;return _0x42b010[_0x3451ba(0x1d9)]<0x20?_0x207a1b(_0x42b010):_0x3b21ba(_0x42b010);};}catch{}}return re[_0xafe391(0x315)];}var Ee,Je;function ut(){const _0x21aa62=_0x3f909a;if(Je)return Ee;Je=0x1;const {Writable:_0x5aadde}=_0x3247ef,_0x45609b=he(),{BINARY_TYPES:_0x10f9dd,EMPTY_BUFFER:_0x5202d9,kStatusCode:_0x3fa3d8,kWebSocket:_0x17b498}=V(),{concat:_0x66eb6d,toArrayBuffer:_0x599ec9,unmask:_0x119ea2}=ce(),{isValidStatusCode:_0x5dcf63,isValidUTF8:_0x2d0829}=ne(),_0x37b383=Buffer[Symbol[_0x21aa62(0x268)]],_0x2e4d8f=0x0,_0x4e6972=0x1,_0x543f9e=0x2,_0xd96b8e=0x3,_0xee78c3=0x4,_0x53e668=0x5,_0xf5f311=0x6;class _0x4021d0 extends _0x5aadde{constructor(_0x28a4f5={}){const _0x290b25=_0x21aa62;super(),this[_0x290b25(0x30a)]=_0x28a4f5[_0x290b25(0x322)]!==void 0x0?_0x28a4f5[_0x290b25(0x322)]:!0x0,this['_binaryType']=_0x28a4f5[_0x290b25(0x2c1)]||_0x10f9dd[0x0],this[_0x290b25(0x1fc)]=_0x28a4f5[_0x290b25(0x334)]||{},this['_isServer']=!!_0x28a4f5['isServer'],this['_maxPayload']=_0x28a4f5['maxPayload']|0x0,this[_0x290b25(0x218)]=!!_0x28a4f5[_0x290b25(0x32c)],this[_0x17b498]=void 0x0,this[_0x290b25(0x2a3)]=0x0,this[_0x290b25(0x237)]=[],this['_compressed']=!0x1,this[_0x290b25(0x1eb)]=0x0,this[_0x290b25(0x29d)]=void 0x0,this[_0x290b25(0x32f)]=0x0,this[_0x290b25(0x239)]=!0x1,this[_0x290b25(0x2e5)]=!0x1,this[_0x290b25(0x30b)]=0x0,this[_0x290b25(0x1d6)]=0x0,this['_messageLength']=0x0,this[_0x290b25(0x2c8)]=[],this[_0x290b25(0x2f5)]=!0x1,this[_0x290b25(0x2bf)]=!0x1,this['_state']=_0x2e4d8f;}['_write'](_0x368087,_0x4cf5d5,_0x3a2114){const _0x36776b=_0x21aa62;if(this[_0x36776b(0x30b)]===0x8&&this['_state']==_0x2e4d8f)return _0x3a2114();this['_bufferedBytes']+=_0x368087[_0x36776b(0x1d9)],this[_0x36776b(0x237)][_0x36776b(0x21f)](_0x368087),this[_0x36776b(0x318)](_0x3a2114);}[_0x21aa62(0x272)](_0xc7c243){const _0x457da0=_0x21aa62;if(this[_0x457da0(0x2a3)]-=_0xc7c243,_0xc7c243===this[_0x457da0(0x237)][0x0][_0x457da0(0x1d9)])return this[_0x457da0(0x237)][_0x457da0(0x317)]();if(_0xc7c243<this[_0x457da0(0x237)][0x0][_0x457da0(0x1d9)]){const _0x348d51=this[_0x457da0(0x237)][0x0];return this[_0x457da0(0x237)][0x0]=new _0x37b383(_0x348d51['buffer'],_0x348d51['byteOffset']+_0xc7c243,_0x348d51[_0x457da0(0x1d9)]-_0xc7c243),new _0x37b383(_0x348d51['buffer'],_0x348d51['byteOffset'],_0xc7c243);}const _0x17c7c2=Buffer[_0x457da0(0x1f1)](_0xc7c243);do{const _0x51fa1f=this[_0x457da0(0x237)][0x0],_0x53d2e9=_0x17c7c2['length']-_0xc7c243;_0xc7c243>=_0x51fa1f[_0x457da0(0x1d9)]?_0x17c7c2[_0x457da0(0x308)](this[_0x457da0(0x237)][_0x457da0(0x317)](),_0x53d2e9):(_0x17c7c2['set'](new Uint8Array(_0x51fa1f[_0x457da0(0x250)],_0x51fa1f[_0x457da0(0x23f)],_0xc7c243),_0x53d2e9),this[_0x457da0(0x237)][0x0]=new _0x37b383(_0x51fa1f['buffer'],_0x51fa1f['byteOffset']+_0xc7c243,_0x51fa1f[_0x457da0(0x1d9)]-_0xc7c243)),_0xc7c243-=_0x51fa1f['length'];}while(_0xc7c243>0x0);return _0x17c7c2;}[_0x21aa62(0x318)](_0x4bb347){const _0x66588c=_0x21aa62;this['_loop']=!0x0;do switch(this[_0x66588c(0x1f8)]){case _0x2e4d8f:this[_0x66588c(0x347)](_0x4bb347);break;case _0x4e6972:this[_0x66588c(0x1d1)](_0x4bb347);break;case _0x543f9e:this[_0x66588c(0x257)](_0x4bb347);break;case _0xd96b8e:this[_0x66588c(0x31a)]();break;case _0xee78c3:this['getData'](_0x4bb347);break;case _0x53e668:case _0xf5f311:this['_loop']=!0x1;return;}while(this['_loop']);this[_0x66588c(0x2f5)]||_0x4bb347();}[_0x21aa62(0x347)](_0x4e88ad){const _0x128bce=_0x21aa62;if(this[_0x128bce(0x2a3)]<0x2){this['_loop']=!0x1;return;}const _0x4344ff=this[_0x128bce(0x272)](0x2);if(_0x4344ff[0x0]&0x30){const _0x16b176=this[_0x128bce(0x26e)](RangeError,'RSV2\x20and\x20RSV3\x20must\x20be\x20clear',!0x0,0x3ea,_0x128bce(0x293));_0x4e88ad(_0x16b176);return;}const _0x989cae=(_0x4344ff[0x0]&0x40)===0x40;if(_0x989cae&&!this['_extensions'][_0x45609b[_0x128bce(0x30c)]]){const _0xc38dd6=this[_0x128bce(0x26e)](RangeError,_0x128bce(0x311),!0x0,0x3ea,_0x128bce(0x2cd));_0x4e88ad(_0xc38dd6);return;}if(this[_0x128bce(0x2e5)]=(_0x4344ff[0x0]&0x80)===0x80,this[_0x128bce(0x30b)]=_0x4344ff[0x0]&0xf,this[_0x128bce(0x1eb)]=_0x4344ff[0x1]&0x7f,this[_0x128bce(0x30b)]===0x0){if(_0x989cae){const _0x1c1764=this[_0x128bce(0x26e)](RangeError,_0x128bce(0x311),!0x0,0x3ea,_0x128bce(0x2cd));_0x4e88ad(_0x1c1764);return;}if(!this['_fragmented']){const _0x23f7ed=this[_0x128bce(0x26e)](RangeError,_0x128bce(0x354),!0x0,0x3ea,_0x128bce(0x32a));_0x4e88ad(_0x23f7ed);return;}this[_0x128bce(0x30b)]=this[_0x128bce(0x32f)];}else{if(this[_0x128bce(0x30b)]===0x1||this['_opcode']===0x2){if(this[_0x128bce(0x32f)]){const _0x282c37=this[_0x128bce(0x26e)](RangeError,'invalid\x20opcode\x20'+this[_0x128bce(0x30b)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x4e88ad(_0x282c37);return;}this[_0x128bce(0x2b9)]=_0x989cae;}else{if(this[_0x128bce(0x30b)]>0x7&&this[_0x128bce(0x30b)]<0xb){if(!this[_0x128bce(0x2e5)]){const _0x1fbf8d=this['createError'](RangeError,'FIN\x20must\x20be\x20set',!0x0,0x3ea,_0x128bce(0x2c0));_0x4e88ad(_0x1fbf8d);return;}if(_0x989cae){const _0x48cb27=this[_0x128bce(0x26e)](RangeError,_0x128bce(0x311),!0x0,0x3ea,_0x128bce(0x2cd));_0x4e88ad(_0x48cb27);return;}if(this['_payloadLength']>0x7d||this[_0x128bce(0x30b)]===0x8&&this[_0x128bce(0x1eb)]===0x1){const _0x250db5=this[_0x128bce(0x26e)](RangeError,_0x128bce(0x1c6)+this[_0x128bce(0x1eb)],!0x0,0x3ea,_0x128bce(0x206));_0x4e88ad(_0x250db5);return;}}else{const _0x3f1c4d=this['createError'](RangeError,'invalid\x20opcode\x20'+this['_opcode'],!0x0,0x3ea,_0x128bce(0x32a));_0x4e88ad(_0x3f1c4d);return;}}}if(!this[_0x128bce(0x2e5)]&&!this[_0x128bce(0x32f)]&&(this[_0x128bce(0x32f)]=this[_0x128bce(0x30b)]),this[_0x128bce(0x239)]=(_0x4344ff[0x1]&0x80)===0x80,this[_0x128bce(0x34e)]){if(!this[_0x128bce(0x239)]){const _0x18a366=this['createError'](RangeError,_0x128bce(0x353),!0x0,0x3ea,_0x128bce(0x21d));_0x4e88ad(_0x18a366);return;}}else{if(this[_0x128bce(0x239)]){const _0x4f750d=this[_0x128bce(0x26e)](RangeError,'MASK\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0x4e88ad(_0x4f750d);return;}}this[_0x128bce(0x1eb)]===0x7e?this[_0x128bce(0x1f8)]=_0x4e6972:this[_0x128bce(0x1eb)]===0x7f?this[_0x128bce(0x1f8)]=_0x543f9e:this[_0x128bce(0x292)](_0x4e88ad);}['getPayloadLength16'](_0x49b1f8){const _0x4bd673=_0x21aa62;if(this['_bufferedBytes']<0x2){this[_0x4bd673(0x2bf)]=!0x1;return;}this[_0x4bd673(0x1eb)]=this[_0x4bd673(0x272)](0x2)[_0x4bd673(0x2d3)](0x0),this[_0x4bd673(0x292)](_0x49b1f8);}[_0x21aa62(0x257)](_0x10f44f){const _0x581385=_0x21aa62;if(this['_bufferedBytes']<0x8){this[_0x581385(0x2bf)]=!0x1;return;}const _0x296a0c=this['consume'](0x8),_0xc03724=_0x296a0c[_0x581385(0x266)](0x0);if(_0xc03724>Math['pow'](0x2,0x15)-0x1){const _0x3dda27=this[_0x581385(0x26e)](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,_0x581385(0x2da));_0x10f44f(_0x3dda27);return;}this[_0x581385(0x1eb)]=_0xc03724*Math['pow'](0x2,0x20)+_0x296a0c['readUInt32BE'](0x4),this['haveLength'](_0x10f44f);}[_0x21aa62(0x292)](_0x5332aa){const _0x437519=_0x21aa62;if(this['_payloadLength']&&this[_0x437519(0x30b)]<0x8&&(this[_0x437519(0x1d6)]+=this[_0x437519(0x1eb)],this['_totalPayloadLength']>this[_0x437519(0x2c4)]&&this[_0x437519(0x2c4)]>0x0)){const _0x254e6f=this[_0x437519(0x26e)](RangeError,_0x437519(0x219),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x5332aa(_0x254e6f);return;}this[_0x437519(0x239)]?this[_0x437519(0x1f8)]=_0xd96b8e:this['_state']=_0xee78c3;}['getMask'](){const _0xd0d8df=_0x21aa62;if(this[_0xd0d8df(0x2a3)]<0x4){this['_loop']=!0x1;return;}this[_0xd0d8df(0x29d)]=this['consume'](0x4),this[_0xd0d8df(0x1f8)]=_0xee78c3;}[_0x21aa62(0x343)](_0x39ab35){const _0x1be629=_0x21aa62;let _0x267599=_0x5202d9;if(this[_0x1be629(0x1eb)]){if(this[_0x1be629(0x2a3)]<this[_0x1be629(0x1eb)]){this[_0x1be629(0x2bf)]=!0x1;return;}_0x267599=this[_0x1be629(0x272)](this['_payloadLength']),this[_0x1be629(0x239)]&&this[_0x1be629(0x29d)][0x0]|this[_0x1be629(0x29d)][0x1]|this[_0x1be629(0x29d)][0x2]|this['_mask'][0x3]&&_0x119ea2(_0x267599,this[_0x1be629(0x29d)]);}if(this[_0x1be629(0x30b)]>0x7){this[_0x1be629(0x210)](_0x267599,_0x39ab35);return;}if(this['_compressed']){this['_state']=_0x53e668,this['decompress'](_0x267599,_0x39ab35);return;}_0x267599[_0x1be629(0x1d9)]&&(this[_0x1be629(0x298)]=this[_0x1be629(0x1d6)],this[_0x1be629(0x2c8)][_0x1be629(0x21f)](_0x267599)),this['dataMessage'](_0x39ab35);}[_0x21aa62(0x2ef)](_0x24a672,_0x2e110b){const _0x2e1e53=_0x21aa62;this[_0x2e1e53(0x1fc)][_0x45609b['extensionName']][_0x2e1e53(0x2ef)](_0x24a672,this[_0x2e1e53(0x2e5)],(_0x5cfae5,_0xae8f84)=>{const _0x2795e8=_0x2e1e53;if(_0x5cfae5)return _0x2e110b(_0x5cfae5);if(_0xae8f84[_0x2795e8(0x1d9)]){if(this[_0x2795e8(0x298)]+=_0xae8f84[_0x2795e8(0x1d9)],this[_0x2795e8(0x298)]>this[_0x2795e8(0x2c4)]&&this[_0x2795e8(0x2c4)]>0x0){const _0x20d34c=this[_0x2795e8(0x26e)](RangeError,_0x2795e8(0x219),!0x1,0x3f1,_0x2795e8(0x355));_0x2e110b(_0x20d34c);return;}this[_0x2795e8(0x2c8)][_0x2795e8(0x21f)](_0xae8f84);}this[_0x2795e8(0x330)](_0x2e110b),this['_state']===_0x2e4d8f&&this[_0x2795e8(0x318)](_0x2e110b);});}[_0x21aa62(0x330)](_0x425fe5){const _0x2804be=_0x21aa62;if(!this['_fin']){this[_0x2804be(0x1f8)]=_0x2e4d8f;return;}const _0x11c2a3=this['_messageLength'],_0x383aa6=this[_0x2804be(0x2c8)];if(this[_0x2804be(0x1d6)]=0x0,this[_0x2804be(0x298)]=0x0,this[_0x2804be(0x32f)]=0x0,this[_0x2804be(0x2c8)]=[],this['_opcode']===0x2){let _0x2d5c79;this[_0x2804be(0x1c4)]===_0x2804be(0x2ea)?_0x2d5c79=_0x66eb6d(_0x383aa6,_0x11c2a3):this[_0x2804be(0x1c4)]===_0x2804be(0x2ff)?_0x2d5c79=_0x599ec9(_0x66eb6d(_0x383aa6,_0x11c2a3)):this[_0x2804be(0x1c4)]===_0x2804be(0x304)?_0x2d5c79=new Blob(_0x383aa6):_0x2d5c79=_0x383aa6,this[_0x2804be(0x30a)]?(this[_0x2804be(0x24d)]('message',_0x2d5c79,!0x0),this[_0x2804be(0x1f8)]=_0x2e4d8f):(this[_0x2804be(0x1f8)]=_0xf5f311,setImmediate(()=>{const _0x4b40df=_0x2804be;this['emit'](_0x4b40df(0x285),_0x2d5c79,!0x0),this[_0x4b40df(0x1f8)]=_0x2e4d8f,this[_0x4b40df(0x318)](_0x425fe5);}));}else{const _0x21efa7=_0x66eb6d(_0x383aa6,_0x11c2a3);if(!this[_0x2804be(0x218)]&&!_0x2d0829(_0x21efa7)){const _0xdcdec0=this[_0x2804be(0x26e)](Error,_0x2804be(0x27b),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x425fe5(_0xdcdec0);return;}this[_0x2804be(0x1f8)]===_0x53e668||this[_0x2804be(0x30a)]?(this[_0x2804be(0x24d)]('message',_0x21efa7,!0x1),this[_0x2804be(0x1f8)]=_0x2e4d8f):(this[_0x2804be(0x1f8)]=_0xf5f311,setImmediate(()=>{const _0x22be5f=_0x2804be;this[_0x22be5f(0x24d)]('message',_0x21efa7,!0x1),this[_0x22be5f(0x1f8)]=_0x2e4d8f,this[_0x22be5f(0x318)](_0x425fe5);}));}}[_0x21aa62(0x210)](_0x3f048c,_0x3c4adc){const _0x92bb7c=_0x21aa62;if(this[_0x92bb7c(0x30b)]===0x8){if(_0x3f048c['length']===0x0)this[_0x92bb7c(0x2bf)]=!0x1,this[_0x92bb7c(0x24d)](_0x92bb7c(0x278),0x3ed,_0x5202d9),this['end']();else{const _0x22cbc3=_0x3f048c[_0x92bb7c(0x2d3)](0x0);if(!_0x5dcf63(_0x22cbc3)){const _0x50e422=this[_0x92bb7c(0x26e)](RangeError,_0x92bb7c(0x1d3)+_0x22cbc3,!0x0,0x3ea,_0x92bb7c(0x2a8));_0x3c4adc(_0x50e422);return;}const _0x7c14f9=new _0x37b383(_0x3f048c[_0x92bb7c(0x250)],_0x3f048c[_0x92bb7c(0x23f)]+0x2,_0x3f048c[_0x92bb7c(0x1d9)]-0x2);if(!this[_0x92bb7c(0x218)]&&!_0x2d0829(_0x7c14f9)){const _0x43ddbe=this['createError'](Error,_0x92bb7c(0x27b),!0x0,0x3ef,_0x92bb7c(0x2af));_0x3c4adc(_0x43ddbe);return;}this['_loop']=!0x1,this[_0x92bb7c(0x24d)](_0x92bb7c(0x278),_0x22cbc3,_0x7c14f9),this[_0x92bb7c(0x357)]();}this['_state']=_0x2e4d8f;return;}this[_0x92bb7c(0x30a)]?(this['emit'](this[_0x92bb7c(0x30b)]===0x9?_0x92bb7c(0x2ca):_0x92bb7c(0x1d8),_0x3f048c),this['_state']=_0x2e4d8f):(this['_state']=_0xf5f311,setImmediate(()=>{const _0xbef1b5=_0x92bb7c;this[_0xbef1b5(0x24d)](this[_0xbef1b5(0x30b)]===0x9?_0xbef1b5(0x2ca):'pong',_0x3f048c),this[_0xbef1b5(0x1f8)]=_0x2e4d8f,this[_0xbef1b5(0x318)](_0x3c4adc);}));}[_0x21aa62(0x26e)](_0x23c1b0,_0x41fd58,_0x4997b8,_0x36cb8c,_0xeed4c7){const _0x5312a7=_0x21aa62;this[_0x5312a7(0x2bf)]=!0x1,this[_0x5312a7(0x2f5)]=!0x0;const _0x421f1e=new _0x23c1b0(_0x4997b8?_0x5312a7(0x303)+_0x41fd58:_0x41fd58);return Error['captureStackTrace'](_0x421f1e,this['createError']),_0x421f1e[_0x5312a7(0x2c6)]=_0xeed4c7,_0x421f1e[_0x3fa3d8]=_0x36cb8c,_0x421f1e;}}return Ee=_0x4021d0,Ee;}ut();var xe,et;function dt(){const _0x10b880=_0x3f909a;if(et)return xe;et=0x1;const {Duplex:_0x53b28a}=_0x3247ef,{randomFillSync:_0x711338}=_0xf5bc26,_0x44fac8=he(),{EMPTY_BUFFER:_0x3d0138,kWebSocket:_0x1b6801,NOOP:_0x2028cb}=V(),{isBlob:_0x263afb,isValidStatusCode:_0x2ad17f}=ne(),{mask:_0x3918f1,toBuffer:_0x4de7fa}=ce(),_0x5c7d73=Symbol(_0x10b880(0x1ee)),_0x102a62=Buffer['alloc'](0x4),_0x1bb0e8=0x8*0x400;let _0x11027b,_0x2b4bc5=_0x1bb0e8;const _0x2551a7=0x0,_0x18fc36=0x1,_0x5d0a11=0x2;class _0x530a16{constructor(_0x3054a2,_0x257afe,_0x23d70b){const _0x9052d4=_0x10b880;this[_0x9052d4(0x1fc)]=_0x257afe||{},_0x23d70b&&(this['_generateMask']=_0x23d70b,this[_0x9052d4(0x337)]=Buffer[_0x9052d4(0x248)](0x4)),this['_socket']=_0x3054a2,this[_0x9052d4(0x1e3)]=!0x0,this['_compress']=!0x1,this[_0x9052d4(0x2a3)]=0x0,this['_queue']=[],this[_0x9052d4(0x1f8)]=_0x2551a7,this[_0x9052d4(0x200)]=_0x2028cb,this[_0x1b6801]=void 0x0;}static[_0x10b880(0x2e8)](_0x5131d2,_0x5f50a0){const _0x1001d1=_0x10b880;let _0x70e11c,_0xa53033=!0x1,_0x5e7421=0x2,_0x5e126c=!0x1;_0x5f50a0[_0x1001d1(0x259)]&&(_0x70e11c=_0x5f50a0['maskBuffer']||_0x102a62,_0x5f50a0[_0x1001d1(0x282)]?_0x5f50a0[_0x1001d1(0x282)](_0x70e11c):(_0x2b4bc5===_0x1bb0e8&&(_0x11027b===void 0x0&&(_0x11027b=Buffer[_0x1001d1(0x248)](_0x1bb0e8)),_0x711338(_0x11027b,0x0,_0x1bb0e8),_0x2b4bc5=0x0),_0x70e11c[0x0]=_0x11027b[_0x2b4bc5++],_0x70e11c[0x1]=_0x11027b[_0x2b4bc5++],_0x70e11c[0x2]=_0x11027b[_0x2b4bc5++],_0x70e11c[0x3]=_0x11027b[_0x2b4bc5++]),_0x5e126c=(_0x70e11c[0x0]|_0x70e11c[0x1]|_0x70e11c[0x2]|_0x70e11c[0x3])===0x0,_0x5e7421=0x6);let _0x15d32b;typeof _0x5131d2=='string'?(!_0x5f50a0[_0x1001d1(0x259)]||_0x5e126c)&&_0x5f50a0[_0x5c7d73]!==void 0x0?_0x15d32b=_0x5f50a0[_0x5c7d73]:(_0x5131d2=Buffer[_0x1001d1(0x2c5)](_0x5131d2),_0x15d32b=_0x5131d2[_0x1001d1(0x1d9)]):(_0x15d32b=_0x5131d2[_0x1001d1(0x1d9)],_0xa53033=_0x5f50a0[_0x1001d1(0x259)]&&_0x5f50a0['readOnly']&&!_0x5e126c);let _0x376c23=_0x15d32b;_0x15d32b>=0x10000?(_0x5e7421+=0x8,_0x376c23=0x7f):_0x15d32b>0x7d&&(_0x5e7421+=0x2,_0x376c23=0x7e);const _0x56e753=Buffer[_0x1001d1(0x1f1)](_0xa53033?_0x15d32b+_0x5e7421:_0x5e7421);return _0x56e753[0x0]=_0x5f50a0[_0x1001d1(0x23d)]?_0x5f50a0[_0x1001d1(0x280)]|0x80:_0x5f50a0[_0x1001d1(0x280)],_0x5f50a0['rsv1']&&(_0x56e753[0x0]|=0x40),_0x56e753[0x1]=_0x376c23,_0x376c23===0x7e?_0x56e753['writeUInt16BE'](_0x15d32b,0x2):_0x376c23===0x7f&&(_0x56e753[0x2]=_0x56e753[0x3]=0x0,_0x56e753['writeUIntBE'](_0x15d32b,0x4,0x6)),_0x5f50a0['mask']?(_0x56e753[0x1]|=0x80,_0x56e753[_0x5e7421-0x4]=_0x70e11c[0x0],_0x56e753[_0x5e7421-0x3]=_0x70e11c[0x1],_0x56e753[_0x5e7421-0x2]=_0x70e11c[0x2],_0x56e753[_0x5e7421-0x1]=_0x70e11c[0x3],_0x5e126c?[_0x56e753,_0x5131d2]:_0xa53033?(_0x3918f1(_0x5131d2,_0x70e11c,_0x56e753,_0x5e7421,_0x15d32b),[_0x56e753]):(_0x3918f1(_0x5131d2,_0x70e11c,_0x5131d2,0x0,_0x15d32b),[_0x56e753,_0x5131d2])):[_0x56e753,_0x5131d2];}['close'](_0x1ff6c3,_0x44eea2,_0x1bb9bc,_0x1e1676){const _0x4cc701=_0x10b880;let _0x3deab7;if(_0x1ff6c3===void 0x0)_0x3deab7=_0x3d0138;else{if(typeof _0x1ff6c3!=_0x4cc701(0x2ed)||!_0x2ad17f(_0x1ff6c3))throw new TypeError(_0x4cc701(0x2ab));if(_0x44eea2===void 0x0||!_0x44eea2['length'])_0x3deab7=Buffer['allocUnsafe'](0x2),_0x3deab7[_0x4cc701(0x2db)](_0x1ff6c3,0x0);else{const _0x1eb75e=Buffer[_0x4cc701(0x28a)](_0x44eea2);if(_0x1eb75e>0x7b)throw new RangeError(_0x4cc701(0x31b));_0x3deab7=Buffer[_0x4cc701(0x1f1)](0x2+_0x1eb75e),_0x3deab7[_0x4cc701(0x2db)](_0x1ff6c3,0x0),typeof _0x44eea2==_0x4cc701(0x205)?_0x3deab7[_0x4cc701(0x2d6)](_0x44eea2,0x2):_0x3deab7[_0x4cc701(0x308)](_0x44eea2,0x2);}}const _0x56f6e5={[_0x5c7d73]:_0x3deab7['length'],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x1bb9bc,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x4cc701(0x1f8)]!==_0x2551a7?this[_0x4cc701(0x31f)]([this[_0x4cc701(0x1e2)],_0x3deab7,!0x1,_0x56f6e5,_0x1e1676]):this[_0x4cc701(0x2a5)](_0x530a16[_0x4cc701(0x2e8)](_0x3deab7,_0x56f6e5),_0x1e1676);}[_0x10b880(0x2ca)](_0x2fbcdb,_0x30f611,_0x1be25f){const _0x3b0be5=_0x10b880;let _0x2c2b05,_0x4491e6;if(typeof _0x2fbcdb=='string'?(_0x2c2b05=Buffer[_0x3b0be5(0x28a)](_0x2fbcdb),_0x4491e6=!0x1):_0x263afb(_0x2fbcdb)?(_0x2c2b05=_0x2fbcdb[_0x3b0be5(0x2b6)],_0x4491e6=!0x1):(_0x2fbcdb=_0x4de7fa(_0x2fbcdb),_0x2c2b05=_0x2fbcdb[_0x3b0be5(0x1d9)],_0x4491e6=_0x4de7fa[_0x3b0be5(0x220)]),_0x2c2b05>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0xf432f1={[_0x5c7d73]:_0x2c2b05,'fin':!0x0,'generateMask':this[_0x3b0be5(0x274)],'mask':_0x30f611,'maskBuffer':this[_0x3b0be5(0x337)],'opcode':0x9,'readOnly':_0x4491e6,'rsv1':!0x1};_0x263afb(_0x2fbcdb)?this[_0x3b0be5(0x1f8)]!==_0x2551a7?this[_0x3b0be5(0x31f)]([this[_0x3b0be5(0x300)],_0x2fbcdb,!0x1,_0xf432f1,_0x1be25f]):this['getBlobData'](_0x2fbcdb,!0x1,_0xf432f1,_0x1be25f):this[_0x3b0be5(0x1f8)]!==_0x2551a7?this[_0x3b0be5(0x31f)]([this[_0x3b0be5(0x1e2)],_0x2fbcdb,!0x1,_0xf432f1,_0x1be25f]):this['sendFrame'](_0x530a16[_0x3b0be5(0x2e8)](_0x2fbcdb,_0xf432f1),_0x1be25f);}['pong'](_0x2e0c08,_0x2516ac,_0x12556e){const _0x4a668a=_0x10b880;let _0x2d1de6,_0x1e7ebc;if(typeof _0x2e0c08==_0x4a668a(0x205)?(_0x2d1de6=Buffer['byteLength'](_0x2e0c08),_0x1e7ebc=!0x1):_0x263afb(_0x2e0c08)?(_0x2d1de6=_0x2e0c08[_0x4a668a(0x2b6)],_0x1e7ebc=!0x1):(_0x2e0c08=_0x4de7fa(_0x2e0c08),_0x2d1de6=_0x2e0c08[_0x4a668a(0x1d9)],_0x1e7ebc=_0x4de7fa['readOnly']),_0x2d1de6>0x7d)throw new RangeError(_0x4a668a(0x2ad));const _0x509c82={[_0x5c7d73]:_0x2d1de6,'fin':!0x0,'generateMask':this[_0x4a668a(0x274)],'mask':_0x2516ac,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x1e7ebc,'rsv1':!0x1};_0x263afb(_0x2e0c08)?this[_0x4a668a(0x1f8)]!==_0x2551a7?this[_0x4a668a(0x31f)]([this[_0x4a668a(0x300)],_0x2e0c08,!0x1,_0x509c82,_0x12556e]):this[_0x4a668a(0x300)](_0x2e0c08,!0x1,_0x509c82,_0x12556e):this[_0x4a668a(0x1f8)]!==_0x2551a7?this[_0x4a668a(0x31f)]([this[_0x4a668a(0x1e2)],_0x2e0c08,!0x1,_0x509c82,_0x12556e]):this[_0x4a668a(0x2a5)](_0x530a16['frame'](_0x2e0c08,_0x509c82),_0x12556e);}[_0x10b880(0x338)](_0x799655,_0x4dd0b4,_0x122441){const _0x32fc3a=_0x10b880,_0x4da2c7=this['_extensions'][_0x44fac8[_0x32fc3a(0x30c)]];let _0x38f1aa=_0x4dd0b4[_0x32fc3a(0x258)]?0x2:0x1,_0x2a07a0=_0x4dd0b4[_0x32fc3a(0x28f)],_0x39e7e6,_0x2c4411;typeof _0x799655==_0x32fc3a(0x205)?(_0x39e7e6=Buffer[_0x32fc3a(0x28a)](_0x799655),_0x2c4411=!0x1):_0x263afb(_0x799655)?(_0x39e7e6=_0x799655['size'],_0x2c4411=!0x1):(_0x799655=_0x4de7fa(_0x799655),_0x39e7e6=_0x799655[_0x32fc3a(0x1d9)],_0x2c4411=_0x4de7fa[_0x32fc3a(0x220)]),this[_0x32fc3a(0x1e3)]?(this['_firstFragment']=!0x1,_0x2a07a0&&_0x4da2c7&&_0x4da2c7[_0x32fc3a(0x1c5)][_0x4da2c7[_0x32fc3a(0x34e)]?'server_no_context_takeover':'client_no_context_takeover']&&(_0x2a07a0=_0x39e7e6>=_0x4da2c7[_0x32fc3a(0x1c3)]),this['_compress']=_0x2a07a0):(_0x2a07a0=!0x1,_0x38f1aa=0x0),_0x4dd0b4['fin']&&(this[_0x32fc3a(0x1e3)]=!0x0);const _0x3e1c86={[_0x5c7d73]:_0x39e7e6,'fin':_0x4dd0b4[_0x32fc3a(0x23d)],'generateMask':this[_0x32fc3a(0x274)],'mask':_0x4dd0b4['mask'],'maskBuffer':this[_0x32fc3a(0x337)],'opcode':_0x38f1aa,'readOnly':_0x2c4411,'rsv1':_0x2a07a0};_0x263afb(_0x799655)?this['_state']!==_0x2551a7?this[_0x32fc3a(0x31f)]([this[_0x32fc3a(0x300)],_0x799655,this[_0x32fc3a(0x2ae)],_0x3e1c86,_0x122441]):this['getBlobData'](_0x799655,this[_0x32fc3a(0x2ae)],_0x3e1c86,_0x122441):this[_0x32fc3a(0x1f8)]!==_0x2551a7?this[_0x32fc3a(0x31f)]([this['dispatch'],_0x799655,this['_compress'],_0x3e1c86,_0x122441]):this[_0x32fc3a(0x1e2)](_0x799655,this[_0x32fc3a(0x2ae)],_0x3e1c86,_0x122441);}[_0x10b880(0x300)](_0x20160d,_0x3cc565,_0x244888,_0xe01875){const _0x36962f=_0x10b880;this['_bufferedBytes']+=_0x244888[_0x5c7d73],this[_0x36962f(0x1f8)]=_0x5d0a11,_0x20160d[_0x36962f(0x1e1)]()[_0x36962f(0x247)](_0x4e4ee7=>{const _0x321b20=_0x36962f;if(this[_0x321b20(0x2b4)]['destroyed']){const _0x1dc0d8=new Error(_0x321b20(0x221));process[_0x321b20(0x332)](_0x4a2531,this,_0x1dc0d8,_0xe01875);return;}this[_0x321b20(0x2a3)]-=_0x244888[_0x5c7d73];const _0x6a6e0f=_0x4de7fa(_0x4e4ee7);_0x3cc565?this['dispatch'](_0x6a6e0f,_0x3cc565,_0x244888,_0xe01875):(this[_0x321b20(0x1f8)]=_0x2551a7,this[_0x321b20(0x2a5)](_0x530a16['frame'](_0x6a6e0f,_0x244888),_0xe01875),this['dequeue']());})[_0x36962f(0x345)](_0x585518=>{const _0x5dec5d=_0x36962f;process[_0x5dec5d(0x332)](_0x33e7e5,this,_0x585518,_0xe01875);});}['dispatch'](_0x58a969,_0x285d9d,_0x57cba2,_0x40e526){const _0x18e5cf=_0x10b880;if(!_0x285d9d){this['sendFrame'](_0x530a16[_0x18e5cf(0x2e8)](_0x58a969,_0x57cba2),_0x40e526);return;}const _0x3f22c9=this['_extensions'][_0x44fac8[_0x18e5cf(0x30c)]];this[_0x18e5cf(0x2a3)]+=_0x57cba2[_0x5c7d73],this[_0x18e5cf(0x1f8)]=_0x18fc36,_0x3f22c9[_0x18e5cf(0x28f)](_0x58a969,_0x57cba2[_0x18e5cf(0x23d)],(_0x5d53c8,_0xa1c60d)=>{const _0xa3e26c=_0x18e5cf;if(this[_0xa3e26c(0x2b4)][_0xa3e26c(0x1e8)]){const _0x43e646=new Error(_0xa3e26c(0x30f));_0x4a2531(this,_0x43e646,_0x40e526);return;}this[_0xa3e26c(0x2a3)]-=_0x57cba2[_0x5c7d73],this['_state']=_0x2551a7,_0x57cba2[_0xa3e26c(0x220)]=!0x1,this[_0xa3e26c(0x2a5)](_0x530a16[_0xa3e26c(0x2e8)](_0xa1c60d,_0x57cba2),_0x40e526),this[_0xa3e26c(0x20f)]();});}['dequeue'](){const _0x550b93=_0x10b880;for(;this[_0x550b93(0x1f8)]===_0x2551a7&&this[_0x550b93(0x33d)][_0x550b93(0x1d9)];){const _0x335f31=this[_0x550b93(0x33d)][_0x550b93(0x317)]();this[_0x550b93(0x2a3)]-=_0x335f31[0x3][_0x5c7d73],Reflect[_0x550b93(0x1d0)](_0x335f31[0x0],this,_0x335f31['slice'](0x1));}}[_0x10b880(0x31f)](_0x5d6800){const _0x471fa5=_0x10b880;this[_0x471fa5(0x2a3)]+=_0x5d6800[0x3][_0x5c7d73],this[_0x471fa5(0x33d)]['push'](_0x5d6800);}[_0x10b880(0x2a5)](_0x4b539f,_0x2e4891){const _0x366cb7=_0x10b880;_0x4b539f[_0x366cb7(0x1d9)]===0x2?(this[_0x366cb7(0x2b4)][_0x366cb7(0x349)](),this['_socket'][_0x366cb7(0x2d6)](_0x4b539f[0x0]),this[_0x366cb7(0x2b4)][_0x366cb7(0x2d6)](_0x4b539f[0x1],_0x2e4891),this[_0x366cb7(0x2b4)][_0x366cb7(0x2cc)]()):this['_socket'][_0x366cb7(0x2d6)](_0x4b539f[0x0],_0x2e4891);}}xe=_0x530a16;function _0x4a2531(_0x44de1d,_0x5236f3,_0x9b1f92){const _0x309458=_0x10b880;typeof _0x9b1f92==_0x309458(0x2aa)&&_0x9b1f92(_0x5236f3);for(let _0x350dbd=0x0;_0x350dbd<_0x44de1d['_queue'][_0x309458(0x1d9)];_0x350dbd++){const _0x444775=_0x44de1d['_queue'][_0x350dbd],_0x378322=_0x444775[_0x444775[_0x309458(0x1d9)]-0x1];typeof _0x378322==_0x309458(0x2aa)&&_0x378322(_0x5236f3);}}function _0x33e7e5(_0x46bd75,_0x5176ac,_0x242ca2){_0x4a2531(_0x46bd75,_0x5176ac,_0x242ca2),_0x46bd75['onerror'](_0x5176ac);}return xe;}dt();var be,tt;function Xt(){const _0x55b115=_0x3f909a;if(tt)return be;tt=0x1;const {kForOnEventAttribute:_0x11eadd,kListener:_0x32d1d7}=V(),_0x47de4d=Symbol(_0x55b115(0x2c7)),_0x5233a6=Symbol(_0x55b115(0x2fa)),_0x258d0a=Symbol(_0x55b115(0x1e9)),_0x3a0d38=Symbol(_0x55b115(0x2c9)),_0x548708=Symbol(_0x55b115(0x326)),_0x5065e1=Symbol(_0x55b115(0x32e)),_0x861a13=Symbol(_0x55b115(0x350)),_0x542b56=Symbol(_0x55b115(0x2ec));class _0x36430c{constructor(_0x594891){this[_0x5065e1]=null,this[_0x861a13]=_0x594891;}get[_0x55b115(0x281)](){return this[_0x5065e1];}get[_0x55b115(0x2f1)](){return this[_0x861a13];}}Object['defineProperty'](_0x36430c['prototype'],_0x55b115(0x281),{'enumerable':!0x0}),Object[_0x55b115(0x1ef)](_0x36430c['prototype'],_0x55b115(0x2f1),{'enumerable':!0x0});class _0x219a0e extends _0x36430c{constructor(_0x220b6e,_0x5622d0={}){const _0x556d68=_0x55b115;super(_0x220b6e),this[_0x47de4d]=_0x5622d0[_0x556d68(0x2c6)]===void 0x0?0x0:_0x5622d0[_0x556d68(0x2c6)],this[_0x548708]=_0x5622d0[_0x556d68(0x289)]===void 0x0?'':_0x5622d0[_0x556d68(0x289)],this[_0x542b56]=_0x5622d0[_0x556d68(0x294)]===void 0x0?!0x1:_0x5622d0[_0x556d68(0x294)];}get[_0x55b115(0x2c6)](){return this[_0x47de4d];}get[_0x55b115(0x289)](){return this[_0x548708];}get[_0x55b115(0x294)](){return this[_0x542b56];}}Object[_0x55b115(0x1ef)](_0x219a0e[_0x55b115(0x1dc)],'code',{'enumerable':!0x0}),Object[_0x55b115(0x1ef)](_0x219a0e[_0x55b115(0x1dc)],_0x55b115(0x289),{'enumerable':!0x0}),Object[_0x55b115(0x1ef)](_0x219a0e[_0x55b115(0x1dc)],_0x55b115(0x294),{'enumerable':!0x0});class _0x22d5ba extends _0x36430c{constructor(_0x149cda,_0x1dcac4={}){const _0x20ba54=_0x55b115;super(_0x149cda),this[_0x258d0a]=_0x1dcac4['error']===void 0x0?null:_0x1dcac4[_0x20ba54(0x361)],this[_0x3a0d38]=_0x1dcac4['message']===void 0x0?'':_0x1dcac4['message'];}get[_0x55b115(0x361)](){return this[_0x258d0a];}get[_0x55b115(0x285)](){return this[_0x3a0d38];}}Object[_0x55b115(0x1ef)](_0x22d5ba[_0x55b115(0x1dc)],_0x55b115(0x361),{'enumerable':!0x0}),Object[_0x55b115(0x1ef)](_0x22d5ba[_0x55b115(0x1dc)],_0x55b115(0x285),{'enumerable':!0x0});class _0x524956 extends _0x36430c{constructor(_0x1cf6a7,_0xd6569c={}){const _0x347787=_0x55b115;super(_0x1cf6a7),this[_0x5233a6]=_0xd6569c['data']===void 0x0?null:_0xd6569c[_0x347787(0x1c7)];}get['data'](){return this[_0x5233a6];}}Object['defineProperty'](_0x524956[_0x55b115(0x1dc)],'data',{'enumerable':!0x0}),be={'CloseEvent':_0x219a0e,'ErrorEvent':_0x22d5ba,'Event':_0x36430c,'EventTarget':{'addEventListener'(_0x56eefe,_0x26f430,_0x35ce2b={}){const _0x31920b=_0x55b115;for(const _0x40a22d of this[_0x31920b(0x25f)](_0x56eefe))if(!_0x35ce2b[_0x11eadd]&&_0x40a22d[_0x32d1d7]===_0x26f430&&!_0x40a22d[_0x11eadd])return;let _0x1a2c94;if(_0x56eefe===_0x31920b(0x285))_0x1a2c94=function(_0x176cb7,_0x44445b){const _0x139600=_0x31920b,_0x2ab685=new _0x524956(_0x139600(0x285),{'data':_0x44445b?_0x176cb7:_0x176cb7[_0x139600(0x255)]()});_0x2ab685[_0x5065e1]=this,_0x206901(_0x26f430,this,_0x2ab685);};else{if(_0x56eefe==='close')_0x1a2c94=function(_0x4fe5a6,_0xf4be7a){const _0x3d9f81=_0x31920b,_0x33b209=new _0x219a0e('close',{'code':_0x4fe5a6,'reason':_0xf4be7a['toString'](),'wasClean':this[_0x3d9f81(0x29e)]&&this[_0x3d9f81(0x341)]});_0x33b209[_0x5065e1]=this,_0x206901(_0x26f430,this,_0x33b209);};else{if(_0x56eefe===_0x31920b(0x361))_0x1a2c94=function(_0x36cb65){const _0x45ea11=_0x31920b,_0x50abd1=new _0x22d5ba(_0x45ea11(0x361),{'error':_0x36cb65,'message':_0x36cb65[_0x45ea11(0x285)]});_0x50abd1[_0x5065e1]=this,_0x206901(_0x26f430,this,_0x50abd1);};else{if(_0x56eefe===_0x31920b(0x24c))_0x1a2c94=function(){const _0x4746e0=_0x31920b,_0x5bb201=new _0x36430c(_0x4746e0(0x24c));_0x5bb201[_0x5065e1]=this,_0x206901(_0x26f430,this,_0x5bb201);};else return;}}}_0x1a2c94[_0x11eadd]=!!_0x35ce2b[_0x11eadd],_0x1a2c94[_0x32d1d7]=_0x26f430,_0x35ce2b[_0x31920b(0x2bc)]?this[_0x31920b(0x2bc)](_0x56eefe,_0x1a2c94):this['on'](_0x56eefe,_0x1a2c94);},'removeEventListener'(_0xe7cf8f,_0x59b7ce){const _0x171a6e=_0x55b115;for(const _0x363f9c of this[_0x171a6e(0x25f)](_0xe7cf8f))if(_0x363f9c[_0x32d1d7]===_0x59b7ce&&!_0x363f9c[_0x11eadd]){this['removeListener'](_0xe7cf8f,_0x363f9c);break;}}},'MessageEvent':_0x524956};function _0x206901(_0x4c96e0,_0x2ee003,_0x2a6925){const _0x47ea23=_0x55b115;typeof _0x4c96e0==_0x47ea23(0x2df)&&_0x4c96e0[_0x47ea23(0x2a6)]?_0x4c96e0[_0x47ea23(0x2a6)]['call'](_0x4c96e0,_0x2a6925):_0x4c96e0[_0x47ea23(0x20c)](_0x2ee003,_0x2a6925);}return be;}var we,rt;function _t(){if(rt)return we;rt=0x1;const {tokenChars:_0x34264d}=ne();function _0x4b307a(_0x254294,_0x37a682,_0x3fccc6){_0x254294[_0x37a682]===void 0x0?_0x254294[_0x37a682]=[_0x3fccc6]:_0x254294[_0x37a682]['push'](_0x3fccc6);}function _0x20d035(_0x125781){const _0x1cfdd8=_0x1655,_0x4079de=Object['create'](null);let _0x146b3a=Object[_0x1cfdd8(0x1f2)](null),_0x58adbe=!0x1,_0x4cf29e=!0x1,_0x2102a8=!0x1,_0x31787e,_0x494c71,_0x596c77=-0x1,_0x320001=-0x1,_0x748dc5=-0x1,_0x131105=0x0;for(;_0x131105<_0x125781[_0x1cfdd8(0x1d9)];_0x131105++)if(_0x320001=_0x125781[_0x1cfdd8(0x1fb)](_0x131105),_0x31787e===void 0x0){if(_0x748dc5===-0x1&&_0x34264d[_0x320001]===0x1)_0x596c77===-0x1&&(_0x596c77=_0x131105);else{if(_0x131105!==0x0&&(_0x320001===0x20||_0x320001===0x9))_0x748dc5===-0x1&&_0x596c77!==-0x1&&(_0x748dc5=_0x131105);else{if(_0x320001===0x3b||_0x320001===0x2c){if(_0x596c77===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x131105);_0x748dc5===-0x1&&(_0x748dc5=_0x131105);const _0x36ebc5=_0x125781[_0x1cfdd8(0x1e5)](_0x596c77,_0x748dc5);_0x320001===0x2c?(_0x4b307a(_0x4079de,_0x36ebc5,_0x146b3a),_0x146b3a=Object[_0x1cfdd8(0x1f2)](null)):_0x31787e=_0x36ebc5,_0x596c77=_0x748dc5=-0x1;}else throw new SyntaxError(_0x1cfdd8(0x2e2)+_0x131105);}}}else{if(_0x494c71===void 0x0){if(_0x748dc5===-0x1&&_0x34264d[_0x320001]===0x1)_0x596c77===-0x1&&(_0x596c77=_0x131105);else{if(_0x320001===0x20||_0x320001===0x9)_0x748dc5===-0x1&&_0x596c77!==-0x1&&(_0x748dc5=_0x131105);else{if(_0x320001===0x3b||_0x320001===0x2c){if(_0x596c77===-0x1)throw new SyntaxError(_0x1cfdd8(0x2e2)+_0x131105);_0x748dc5===-0x1&&(_0x748dc5=_0x131105),_0x4b307a(_0x146b3a,_0x125781[_0x1cfdd8(0x1e5)](_0x596c77,_0x748dc5),!0x0),_0x320001===0x2c&&(_0x4b307a(_0x4079de,_0x31787e,_0x146b3a),_0x146b3a=Object['create'](null),_0x31787e=void 0x0),_0x596c77=_0x748dc5=-0x1;}else{if(_0x320001===0x3d&&_0x596c77!==-0x1&&_0x748dc5===-0x1)_0x494c71=_0x125781[_0x1cfdd8(0x1e5)](_0x596c77,_0x131105),_0x596c77=_0x748dc5=-0x1;else throw new SyntaxError(_0x1cfdd8(0x2e2)+_0x131105);}}}}else{if(_0x4cf29e){if(_0x34264d[_0x320001]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x131105);_0x596c77===-0x1?_0x596c77=_0x131105:_0x58adbe||(_0x58adbe=!0x0),_0x4cf29e=!0x1;}else{if(_0x2102a8){if(_0x34264d[_0x320001]===0x1)_0x596c77===-0x1&&(_0x596c77=_0x131105);else{if(_0x320001===0x22&&_0x596c77!==-0x1)_0x2102a8=!0x1,_0x748dc5=_0x131105;else{if(_0x320001===0x5c)_0x4cf29e=!0x0;else throw new SyntaxError(_0x1cfdd8(0x2e2)+_0x131105);}}}else{if(_0x320001===0x22&&_0x125781[_0x1cfdd8(0x1fb)](_0x131105-0x1)===0x3d)_0x2102a8=!0x0;else{if(_0x748dc5===-0x1&&_0x34264d[_0x320001]===0x1)_0x596c77===-0x1&&(_0x596c77=_0x131105);else{if(_0x596c77!==-0x1&&(_0x320001===0x20||_0x320001===0x9))_0x748dc5===-0x1&&(_0x748dc5=_0x131105);else{if(_0x320001===0x3b||_0x320001===0x2c){if(_0x596c77===-0x1)throw new SyntaxError(_0x1cfdd8(0x2e2)+_0x131105);_0x748dc5===-0x1&&(_0x748dc5=_0x131105);let _0x391521=_0x125781[_0x1cfdd8(0x1e5)](_0x596c77,_0x748dc5);_0x58adbe&&(_0x391521=_0x391521[_0x1cfdd8(0x313)](/\\/g,''),_0x58adbe=!0x1),_0x4b307a(_0x146b3a,_0x494c71,_0x391521),_0x320001===0x2c&&(_0x4b307a(_0x4079de,_0x31787e,_0x146b3a),_0x146b3a=Object[_0x1cfdd8(0x1f2)](null),_0x31787e=void 0x0),_0x494c71=void 0x0,_0x596c77=_0x748dc5=-0x1;}else throw new SyntaxError(_0x1cfdd8(0x2e2)+_0x131105);}}}}}}}if(_0x596c77===-0x1||_0x2102a8||_0x320001===0x20||_0x320001===0x9)throw new SyntaxError(_0x1cfdd8(0x253));_0x748dc5===-0x1&&(_0x748dc5=_0x131105);const _0x5bec73=_0x125781[_0x1cfdd8(0x1e5)](_0x596c77,_0x748dc5);return _0x31787e===void 0x0?_0x4b307a(_0x4079de,_0x5bec73,_0x146b3a):(_0x494c71===void 0x0?_0x4b307a(_0x146b3a,_0x5bec73,!0x0):_0x58adbe?_0x4b307a(_0x146b3a,_0x494c71,_0x5bec73['replace'](/\\/g,'')):_0x4b307a(_0x146b3a,_0x494c71,_0x5bec73),_0x4b307a(_0x4079de,_0x31787e,_0x146b3a)),_0x4079de;}function _0x3a5c63(_0x1889cb){const _0x639327=_0x1655;return Object['keys'](_0x1889cb)[_0x639327(0x2fe)](_0x6aacd2=>{const _0x5b343b=_0x639327;let _0x4d0080=_0x1889cb[_0x6aacd2];return Array[_0x5b343b(0x29a)](_0x4d0080)||(_0x4d0080=[_0x4d0080]),_0x4d0080[_0x5b343b(0x2fe)](_0x29b71d=>[_0x6aacd2][_0x5b343b(0x31d)](Object[_0x5b343b(0x2b7)](_0x29b71d)['map'](_0x52bd37=>{const _0x5a3612=_0x5b343b;let _0x2943c0=_0x29b71d[_0x52bd37];return Array[_0x5a3612(0x29a)](_0x2943c0)||(_0x2943c0=[_0x2943c0]),_0x2943c0['map'](_0x3e030d=>_0x3e030d===!0x0?_0x52bd37:_0x52bd37+'='+_0x3e030d)['join'](';\x20');}))[_0x5b343b(0x307)](';\x20'))['join'](',\x20');})['join'](',\x20');}return we={'format':_0x3a5c63,'parse':_0x20d035},we;}var Oe,st;function pt(){const _0x3bdc3b=_0x3f909a;if(st)return Oe;st=0x1;const _0x3f7f35=_0xc71a75,_0x3f03e6=_0x293ee,_0x473381=_0x26c58a,_0x18d506=_0x1464b8,_0x5484a1=_0x300afd,{randomBytes:_0x2f1cee,createHash:_0x2a7496}=_0xf5bc26,{Duplex:_0x4ae4a9,Readable:_0x12290d}=_0x3247ef,{URL:_0x327761}=_0x12dd80,_0x46b5fd=he(),_0x11214a=ut(),_0x28e2c6=dt(),{isBlob:_0x1b08cd}=ne(),{BINARY_TYPES:_0x3f52b2,EMPTY_BUFFER:_0x1a51b5,GUID:_0x52d421,kForOnEventAttribute:_0x2369d3,kListener:_0x4d0947,kStatusCode:_0x56e8b3,kWebSocket:_0x448dcf,NOOP:_0x1c093f}=V(),{EventTarget:{addEventListener:_0x13f30c,removeEventListener:_0x2934cb}}=Xt(),{format:_0x45b51c,parse:_0x1a2dd0}=_t(),{toBuffer:_0x389ee1}=ce(),_0x346b1d=0x1e*0x3e8,_0x5cc2a8=Symbol(_0x3bdc3b(0x2f7)),_0x42059b=[0x8,0xd],_0x3b4fb7=[_0x3bdc3b(0x232),_0x3bdc3b(0x2f6),_0x3bdc3b(0x1c9),_0x3bdc3b(0x214)],_0x2e2e36=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x25397d extends _0x3f7f35{constructor(_0x132724,_0x1780fb,_0x55b5a5){const _0x25294f=_0x3bdc3b;super(),this[_0x25294f(0x1c4)]=_0x3f52b2[0x0],this[_0x25294f(0x244)]=0x3ee,this[_0x25294f(0x29e)]=!0x1,this[_0x25294f(0x341)]=!0x1,this[_0x25294f(0x249)]=_0x1a51b5,this[_0x25294f(0x2b2)]=null,this[_0x25294f(0x2e6)]=!0x1,this[_0x25294f(0x1fc)]={},this[_0x25294f(0x2b0)]=!0x1,this[_0x25294f(0x2d2)]='',this[_0x25294f(0x1f0)]=_0x25397d[_0x25294f(0x232)],this[_0x25294f(0x26a)]=null,this[_0x25294f(0x21c)]=null,this[_0x25294f(0x2b4)]=null,_0x132724!==null?(this[_0x25294f(0x1f3)]=0x0,this[_0x25294f(0x34e)]=!0x1,this['_redirects']=0x0,_0x1780fb===void 0x0?_0x1780fb=[]:Array['isArray'](_0x1780fb)||(typeof _0x1780fb==_0x25294f(0x2df)&&_0x1780fb!==null?(_0x55b5a5=_0x1780fb,_0x1780fb=[]):_0x1780fb=[_0x1780fb]),_0x3708c5(this,_0x132724,_0x1780fb,_0x55b5a5)):(this[_0x25294f(0x207)]=_0x55b5a5[_0x25294f(0x1c1)],this['_isServer']=!0x0);}get['binaryType'](){const _0x3efd2f=_0x3bdc3b;return this[_0x3efd2f(0x1c4)];}set[_0x3bdc3b(0x2c1)](_0x2a2264){const _0x4e2ac3=_0x3bdc3b;_0x3f52b2['includes'](_0x2a2264)&&(this[_0x4e2ac3(0x1c4)]=_0x2a2264,this[_0x4e2ac3(0x26a)]&&(this[_0x4e2ac3(0x26a)][_0x4e2ac3(0x1c4)]=_0x2a2264));}get[_0x3bdc3b(0x242)](){const _0x500758=_0x3bdc3b;return this[_0x500758(0x2b4)]?this['_socket'][_0x500758(0x34d)]['length']+this[_0x500758(0x21c)][_0x500758(0x2a3)]:this[_0x500758(0x1f3)];}get[_0x3bdc3b(0x334)](){const _0x1331dd=_0x3bdc3b;return Object[_0x1331dd(0x2b7)](this[_0x1331dd(0x1fc)])['join']();}get['isPaused'](){return this['_paused'];}get[_0x3bdc3b(0x312)](){return null;}get[_0x3bdc3b(0x200)](){return null;}get['onopen'](){return null;}get['onmessage'](){return null;}get['protocol'](){const _0x273ba5=_0x3bdc3b;return this[_0x273ba5(0x2d2)];}get[_0x3bdc3b(0x252)](){return this['_readyState'];}get['url'](){const _0x3ef36a=_0x3bdc3b;return this[_0x3ef36a(0x241)];}['setSocket'](_0x3f4a34,_0x1564fd,_0x27dd99){const _0x38e7e7=_0x3bdc3b,_0x531502=new _0x11214a({'allowSynchronousEvents':_0x27dd99[_0x38e7e7(0x322)],'binaryType':this[_0x38e7e7(0x2c1)],'extensions':this['_extensions'],'isServer':this['_isServer'],'maxPayload':_0x27dd99['maxPayload'],'skipUTF8Validation':_0x27dd99[_0x38e7e7(0x32c)]}),_0x4ed16=new _0x28e2c6(_0x3f4a34,this[_0x38e7e7(0x1fc)],_0x27dd99['generateMask']);this[_0x38e7e7(0x26a)]=_0x531502,this['_sender']=_0x4ed16,this[_0x38e7e7(0x2b4)]=_0x3f4a34,_0x531502[_0x448dcf]=this,_0x4ed16[_0x448dcf]=this,_0x3f4a34[_0x448dcf]=this,_0x531502['on']('conclude',_0x103ed3),_0x531502['on'](_0x38e7e7(0x2dd),_0x4d9fa8),_0x531502['on'](_0x38e7e7(0x361),_0x55bfdf),_0x531502['on'](_0x38e7e7(0x285),_0x8b5ef4),_0x531502['on']('ping',_0x4ebc09),_0x531502['on'](_0x38e7e7(0x1d8),_0x257764),_0x4ed16[_0x38e7e7(0x200)]=_0x53e1de,_0x3f4a34['setTimeout']&&_0x3f4a34[_0x38e7e7(0x1ea)](0x0),_0x3f4a34[_0x38e7e7(0x325)]&&_0x3f4a34[_0x38e7e7(0x325)](),_0x1564fd[_0x38e7e7(0x1d9)]>0x0&&_0x3f4a34['unshift'](_0x1564fd),_0x3f4a34['on']('close',_0xc607d3),_0x3f4a34['on'](_0x38e7e7(0x1c7),_0x573769),_0x3f4a34['on'](_0x38e7e7(0x357),_0x1ca3a3),_0x3f4a34['on']('error',_0x2e4eb2),this[_0x38e7e7(0x1f0)]=_0x25397d[_0x38e7e7(0x2f6)],this[_0x38e7e7(0x24d)](_0x38e7e7(0x24c));}[_0x3bdc3b(0x333)](){const _0x40bd80=_0x3bdc3b;if(!this[_0x40bd80(0x2b4)]){this['_readyState']=_0x25397d[_0x40bd80(0x214)],this[_0x40bd80(0x24d)]('close',this[_0x40bd80(0x244)],this['_closeMessage']);return;}this['_extensions'][_0x46b5fd[_0x40bd80(0x30c)]]&&this[_0x40bd80(0x1fc)][_0x46b5fd[_0x40bd80(0x30c)]][_0x40bd80(0x25b)](),this[_0x40bd80(0x26a)]['removeAllListeners'](),this[_0x40bd80(0x1f0)]=_0x25397d[_0x40bd80(0x214)],this[_0x40bd80(0x24d)](_0x40bd80(0x2a7),this['_closeCode'],this['_closeMessage']);}[_0x3bdc3b(0x2a7)](_0x9acca9,_0x58c773){const _0x1d8959=_0x3bdc3b;if(this[_0x1d8959(0x252)]!==_0x25397d[_0x1d8959(0x214)]){if(this[_0x1d8959(0x252)]===_0x25397d[_0x1d8959(0x232)]){_0x4d812c(this,this[_0x1d8959(0x335)],_0x1d8959(0x21a));return;}if(this[_0x1d8959(0x252)]===_0x25397d['CLOSING']){this[_0x1d8959(0x341)]&&(this['_closeFrameReceived']||this[_0x1d8959(0x26a)][_0x1d8959(0x34d)][_0x1d8959(0x269)])&&this['_socket'][_0x1d8959(0x357)]();return;}this[_0x1d8959(0x1f0)]=_0x25397d[_0x1d8959(0x1c9)],this[_0x1d8959(0x21c)][_0x1d8959(0x2a7)](_0x9acca9,_0x58c773,!this[_0x1d8959(0x34e)],_0x3f8254=>{const _0x2de3c2=_0x1d8959;_0x3f8254||(this[_0x2de3c2(0x341)]=!0x0,(this['_closeFrameReceived']||this[_0x2de3c2(0x26a)][_0x2de3c2(0x34d)]['errorEmitted'])&&this[_0x2de3c2(0x2b4)][_0x2de3c2(0x357)]());}),_0x385708(this);}}[_0x3bdc3b(0x287)](){const _0x501195=_0x3bdc3b;this[_0x501195(0x252)]===_0x25397d['CONNECTING']||this['readyState']===_0x25397d[_0x501195(0x214)]||(this[_0x501195(0x2b0)]=!0x0,this[_0x501195(0x2b4)][_0x501195(0x287)]());}['ping'](_0x20d64f,_0x4353b3,_0x4f199e){const _0x500e26=_0x3bdc3b;if(this[_0x500e26(0x252)]===_0x25397d['CONNECTING'])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x20d64f==_0x500e26(0x2aa)?(_0x4f199e=_0x20d64f,_0x20d64f=_0x4353b3=void 0x0):typeof _0x4353b3==_0x500e26(0x2aa)&&(_0x4f199e=_0x4353b3,_0x4353b3=void 0x0),typeof _0x20d64f==_0x500e26(0x2ed)&&(_0x20d64f=_0x20d64f[_0x500e26(0x255)]()),this[_0x500e26(0x252)]!==_0x25397d['OPEN']){_0x4dddeb(this,_0x20d64f,_0x4f199e);return;}_0x4353b3===void 0x0&&(_0x4353b3=!this['_isServer']),this['_sender'][_0x500e26(0x2ca)](_0x20d64f||_0x1a51b5,_0x4353b3,_0x4f199e);}['pong'](_0x366efe,_0x11dd54,_0x4fd8bb){const _0x17ddf4=_0x3bdc3b;if(this[_0x17ddf4(0x252)]===_0x25397d[_0x17ddf4(0x232)])throw new Error(_0x17ddf4(0x2de));if(typeof _0x366efe==_0x17ddf4(0x2aa)?(_0x4fd8bb=_0x366efe,_0x366efe=_0x11dd54=void 0x0):typeof _0x11dd54=='function'&&(_0x4fd8bb=_0x11dd54,_0x11dd54=void 0x0),typeof _0x366efe=='number'&&(_0x366efe=_0x366efe[_0x17ddf4(0x255)]()),this['readyState']!==_0x25397d[_0x17ddf4(0x2f6)]){_0x4dddeb(this,_0x366efe,_0x4fd8bb);return;}_0x11dd54===void 0x0&&(_0x11dd54=!this[_0x17ddf4(0x34e)]),this[_0x17ddf4(0x21c)]['pong'](_0x366efe||_0x1a51b5,_0x11dd54,_0x4fd8bb);}[_0x3bdc3b(0x202)](){const _0x851ca=_0x3bdc3b;this['readyState']===_0x25397d[_0x851ca(0x232)]||this[_0x851ca(0x252)]===_0x25397d[_0x851ca(0x214)]||(this[_0x851ca(0x2b0)]=!0x1,this[_0x851ca(0x26a)][_0x851ca(0x34d)]['needDrain']||this[_0x851ca(0x2b4)]['resume']());}['send'](_0x1288c7,_0xb072c5,_0x291aa2){const _0x175148=_0x3bdc3b;if(this[_0x175148(0x252)]===_0x25397d['CONNECTING'])throw new Error(_0x175148(0x2de));if(typeof _0xb072c5==_0x175148(0x2aa)&&(_0x291aa2=_0xb072c5,_0xb072c5={}),typeof _0x1288c7==_0x175148(0x2ed)&&(_0x1288c7=_0x1288c7[_0x175148(0x255)]()),this[_0x175148(0x252)]!==_0x25397d['OPEN']){_0x4dddeb(this,_0x1288c7,_0x291aa2);return;}const _0x1d9fef={'binary':typeof _0x1288c7!='string','mask':!this[_0x175148(0x34e)],'compress':!0x0,'fin':!0x0,..._0xb072c5};this[_0x175148(0x1fc)][_0x46b5fd[_0x175148(0x30c)]]||(_0x1d9fef[_0x175148(0x28f)]=!0x1),this[_0x175148(0x21c)][_0x175148(0x338)](_0x1288c7||_0x1a51b5,_0x1d9fef,_0x291aa2);}[_0x3bdc3b(0x2cb)](){const _0x5b3889=_0x3bdc3b;if(this[_0x5b3889(0x252)]!==_0x25397d[_0x5b3889(0x214)]){if(this[_0x5b3889(0x252)]===_0x25397d[_0x5b3889(0x232)]){_0x4d812c(this,this[_0x5b3889(0x335)],_0x5b3889(0x21a));return;}this[_0x5b3889(0x2b4)]&&(this[_0x5b3889(0x1f0)]=_0x25397d[_0x5b3889(0x1c9)],this['_socket'][_0x5b3889(0x260)]());}}}Object[_0x3bdc3b(0x1ef)](_0x25397d,_0x3bdc3b(0x232),{'enumerable':!0x0,'value':_0x3b4fb7[_0x3bdc3b(0x28b)](_0x3bdc3b(0x232))}),Object['defineProperty'](_0x25397d[_0x3bdc3b(0x1dc)],_0x3bdc3b(0x232),{'enumerable':!0x0,'value':_0x3b4fb7['indexOf'](_0x3bdc3b(0x232))}),Object['defineProperty'](_0x25397d,_0x3bdc3b(0x2f6),{'enumerable':!0x0,'value':_0x3b4fb7['indexOf'](_0x3bdc3b(0x2f6))}),Object['defineProperty'](_0x25397d[_0x3bdc3b(0x1dc)],'OPEN',{'enumerable':!0x0,'value':_0x3b4fb7[_0x3bdc3b(0x28b)](_0x3bdc3b(0x2f6))}),Object[_0x3bdc3b(0x1ef)](_0x25397d,_0x3bdc3b(0x1c9),{'enumerable':!0x0,'value':_0x3b4fb7[_0x3bdc3b(0x28b)]('CLOSING')}),Object[_0x3bdc3b(0x1ef)](_0x25397d[_0x3bdc3b(0x1dc)],_0x3bdc3b(0x1c9),{'enumerable':!0x0,'value':_0x3b4fb7[_0x3bdc3b(0x28b)](_0x3bdc3b(0x1c9))}),Object[_0x3bdc3b(0x1ef)](_0x25397d,_0x3bdc3b(0x214),{'enumerable':!0x0,'value':_0x3b4fb7['indexOf'](_0x3bdc3b(0x214))}),Object[_0x3bdc3b(0x1ef)](_0x25397d['prototype'],_0x3bdc3b(0x214),{'enumerable':!0x0,'value':_0x3b4fb7[_0x3bdc3b(0x28b)](_0x3bdc3b(0x214))}),[_0x3bdc3b(0x2c1),_0x3bdc3b(0x242),_0x3bdc3b(0x334),_0x3bdc3b(0x26c),_0x3bdc3b(0x276),_0x3bdc3b(0x252),'url'][_0x3bdc3b(0x2bb)](_0x4c49c3=>{const _0x417080=_0x3bdc3b;Object['defineProperty'](_0x25397d[_0x417080(0x1dc)],_0x4c49c3,{'enumerable':!0x0});}),[_0x3bdc3b(0x24c),'error','close',_0x3bdc3b(0x285)]['forEach'](_0x5e55c9=>{const _0x4ca5f5=_0x3bdc3b;Object[_0x4ca5f5(0x1ef)](_0x25397d['prototype'],'on'+_0x5e55c9,{'enumerable':!0x0,'get'(){for(const _0x2dbae9 of this['listeners'](_0x5e55c9))if(_0x2dbae9[_0x2369d3])return _0x2dbae9[_0x4d0947];return null;},'set'(_0x4db29c){const _0x1ade13=_0x4ca5f5;for(const _0x2092cd of this[_0x1ade13(0x25f)](_0x5e55c9))if(_0x2092cd[_0x2369d3]){this['removeListener'](_0x5e55c9,_0x2092cd);break;}typeof _0x4db29c==_0x1ade13(0x2aa)&&this[_0x1ade13(0x24b)](_0x5e55c9,_0x4db29c,{[_0x2369d3]:!0x0});}});}),_0x25397d['prototype'][_0x3bdc3b(0x24b)]=_0x13f30c,_0x25397d[_0x3bdc3b(0x1dc)][_0x3bdc3b(0x1e6)]=_0x2934cb,Oe=_0x25397d;function _0x3708c5(_0x4d6fb7,_0x51427f,_0x2e11ba,_0x5bbc50){const _0x16a397=_0x3bdc3b,_0x33b43e={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x42059b[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x5bbc50,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x4d6fb7[_0x16a397(0x207)]=_0x33b43e[_0x16a397(0x1c1)],!_0x42059b[_0x16a397(0x2fb)](_0x33b43e['protocolVersion']))throw new RangeError(_0x16a397(0x231)+_0x33b43e[_0x16a397(0x1da)]+_0x16a397(0x324)+_0x42059b[_0x16a397(0x307)](',\x20')+')');let _0xadfc51;if(_0x51427f instanceof _0x327761)_0xadfc51=_0x51427f;else try{_0xadfc51=new _0x327761(_0x51427f);}catch{throw new SyntaxError(_0x16a397(0x217)+_0x51427f);}_0xadfc51[_0x16a397(0x276)]===_0x16a397(0x2ba)?_0xadfc51[_0x16a397(0x276)]='ws:':_0xadfc51['protocol']==='https:'&&(_0xadfc51['protocol']=_0x16a397(0x1e7)),_0x4d6fb7['_url']=_0xadfc51['href'];const _0x37b992=_0xadfc51['protocol']===_0x16a397(0x1e7),_0x4a773d=_0xadfc51[_0x16a397(0x276)]==='ws+unix:';let _0x5f366f;if(_0xadfc51['protocol']!==_0x16a397(0x320)&&!_0x37b992&&!_0x4a773d?_0x5f366f=_0x16a397(0x34b):_0x4a773d&&!_0xadfc51[_0x16a397(0x270)]?_0x5f366f=_0x16a397(0x27d):_0xadfc51['hash']&&(_0x5f366f=_0x16a397(0x23a)),_0x5f366f){const _0x463754=new SyntaxError(_0x5f366f);if(_0x4d6fb7['_redirects']===0x0)throw _0x463754;_0xea57eb(_0x4d6fb7,_0x463754);return;}const _0x197b01=_0x37b992?0x1bb:0x50,_0x5f3aff=_0x2f1cee(0x10)['toString']('base64'),_0x532163=_0x37b992?_0x3f03e6[_0x16a397(0x1fd)]:_0x473381['request'],_0x374a01=new Set();let _0x1b3a67;if(_0x33b43e['createConnection']=_0x33b43e[_0x16a397(0x1f9)]||(_0x37b992?_0x56fd66:_0x4f021d),_0x33b43e[_0x16a397(0x28c)]=_0x33b43e[_0x16a397(0x28c)]||_0x197b01,_0x33b43e[_0x16a397(0x305)]=_0xadfc51[_0x16a397(0x305)]||_0x197b01,_0x33b43e[_0x16a397(0x25d)]=_0xadfc51['hostname'][_0x16a397(0x20e)]('[')?_0xadfc51['hostname'][_0x16a397(0x1e5)](0x1,-0x1):_0xadfc51['hostname'],_0x33b43e[_0x16a397(0x20a)]={..._0x33b43e[_0x16a397(0x20a)],'Sec-WebSocket-Version':_0x33b43e[_0x16a397(0x1da)],'Sec-WebSocket-Key':_0x5f3aff,'Connection':'Upgrade','Upgrade':_0x16a397(0x2d5)},_0x33b43e[_0x16a397(0x25a)]=_0xadfc51[_0x16a397(0x270)]+_0xadfc51[_0x16a397(0x34c)],_0x33b43e[_0x16a397(0x279)]=_0x33b43e[_0x16a397(0x356)],_0x33b43e[_0x16a397(0x234)]&&(_0x1b3a67=new _0x46b5fd(_0x33b43e[_0x16a397(0x234)]!==!0x0?_0x33b43e[_0x16a397(0x234)]:{},!0x1,_0x33b43e['maxPayload']),_0x33b43e[_0x16a397(0x20a)][_0x16a397(0x208)]=_0x45b51c({[_0x46b5fd[_0x16a397(0x30c)]]:_0x1b3a67[_0x16a397(0x35d)]()})),_0x2e11ba[_0x16a397(0x1d9)]){for(const _0x458660 of _0x2e11ba){if(typeof _0x458660!=_0x16a397(0x205)||!_0x2e2e36['test'](_0x458660)||_0x374a01[_0x16a397(0x297)](_0x458660))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x374a01[_0x16a397(0x2d0)](_0x458660);}_0x33b43e[_0x16a397(0x20a)]['Sec-WebSocket-Protocol']=_0x2e11ba[_0x16a397(0x307)](',');}if(_0x33b43e['origin']&&(_0x33b43e[_0x16a397(0x1da)]<0xd?_0x33b43e[_0x16a397(0x20a)][_0x16a397(0x35b)]=_0x33b43e[_0x16a397(0x2b1)]:_0x33b43e[_0x16a397(0x20a)]['Origin']=_0x33b43e[_0x16a397(0x2b1)]),(_0xadfc51[_0x16a397(0x209)]||_0xadfc51['password'])&&(_0x33b43e[_0x16a397(0x2e0)]=_0xadfc51[_0x16a397(0x209)]+':'+_0xadfc51[_0x16a397(0x34a)]),_0x4a773d){const _0x23f83c=_0x33b43e['path'][_0x16a397(0x2dc)](':');_0x33b43e['socketPath']=_0x23f83c[0x0],_0x33b43e['path']=_0x23f83c[0x1];}let _0x50c7c0;if(_0x33b43e['followRedirects']){if(_0x4d6fb7[_0x16a397(0x1f6)]===0x0){_0x4d6fb7['_originalIpc']=_0x4a773d,_0x4d6fb7[_0x16a397(0x2c2)]=_0x37b992,_0x4d6fb7['_originalHostOrSocketPath']=_0x4a773d?_0x33b43e[_0x16a397(0x344)]:_0xadfc51[_0x16a397(0x25d)];const _0x7a3ccb=_0x5bbc50&&_0x5bbc50[_0x16a397(0x20a)];if(_0x5bbc50={..._0x5bbc50,'headers':{}},_0x7a3ccb){for(const [_0x39e384,_0x4f94c2]of Object[_0x16a397(0x27f)](_0x7a3ccb))_0x5bbc50[_0x16a397(0x20a)][_0x39e384[_0x16a397(0x290)]()]=_0x4f94c2;}}else{if(_0x4d6fb7[_0x16a397(0x2f8)](_0x16a397(0x27a))===0x0){const _0x2e9b7c=_0x4a773d?_0x4d6fb7[_0x16a397(0x20b)]?_0x33b43e['socketPath']===_0x4d6fb7[_0x16a397(0x1e0)]:!0x1:_0x4d6fb7[_0x16a397(0x20b)]?!0x1:_0xadfc51[_0x16a397(0x25d)]===_0x4d6fb7[_0x16a397(0x1e0)];(!_0x2e9b7c||_0x4d6fb7[_0x16a397(0x2c2)]&&!_0x37b992)&&(delete _0x33b43e[_0x16a397(0x20a)]['authorization'],delete _0x33b43e[_0x16a397(0x20a)][_0x16a397(0x25c)],_0x2e9b7c||delete _0x33b43e[_0x16a397(0x20a)][_0x16a397(0x25d)],_0x33b43e[_0x16a397(0x2e0)]=void 0x0);}}_0x33b43e[_0x16a397(0x2e0)]&&!_0x5bbc50['headers'][_0x16a397(0x329)]&&(_0x5bbc50[_0x16a397(0x20a)][_0x16a397(0x329)]=_0x16a397(0x24a)+Buffer[_0x16a397(0x2c5)](_0x33b43e['auth'])[_0x16a397(0x255)](_0x16a397(0x323))),_0x50c7c0=_0x4d6fb7[_0x16a397(0x335)]=_0x532163(_0x33b43e),_0x4d6fb7[_0x16a397(0x1f6)]&&_0x4d6fb7['emit'](_0x16a397(0x27a),_0x4d6fb7[_0x16a397(0x1ec)],_0x50c7c0);}else _0x50c7c0=_0x4d6fb7[_0x16a397(0x335)]=_0x532163(_0x33b43e);_0x33b43e[_0x16a397(0x279)]&&_0x50c7c0['on'](_0x16a397(0x279),()=>{const _0x3ada1a=_0x16a397;_0x4d812c(_0x4d6fb7,_0x50c7c0,_0x3ada1a(0x2eb));}),_0x50c7c0['on'](_0x16a397(0x361),_0x1aa127=>{const _0x4654b7=_0x16a397;_0x50c7c0===null||_0x50c7c0[_0x5cc2a8]||(_0x50c7c0=_0x4d6fb7[_0x4654b7(0x335)]=null,_0xea57eb(_0x4d6fb7,_0x1aa127));}),_0x50c7c0['on'](_0x16a397(0x2c3),_0x296586=>{const _0x59e77a=_0x16a397,_0x4a72c5=_0x296586['headers'][_0x59e77a(0x22f)],_0x4bbf2e=_0x296586['statusCode'];if(_0x4a72c5&&_0x33b43e[_0x59e77a(0x2d1)]&&_0x4bbf2e>=0x12c&&_0x4bbf2e<0x190){if(++_0x4d6fb7[_0x59e77a(0x1f6)]>_0x33b43e[_0x59e77a(0x261)]){_0x4d812c(_0x4d6fb7,_0x50c7c0,_0x59e77a(0x29f));return;}_0x50c7c0['abort']();let _0xd93143;try{_0xd93143=new _0x327761(_0x4a72c5,_0x51427f);}catch{const _0x3371ac=new SyntaxError('Invalid\x20URL:\x20'+_0x4a72c5);_0xea57eb(_0x4d6fb7,_0x3371ac);return;}_0x3708c5(_0x4d6fb7,_0xd93143,_0x2e11ba,_0x5bbc50);}else _0x4d6fb7[_0x59e77a(0x24d)](_0x59e77a(0x24f),_0x50c7c0,_0x296586)||_0x4d812c(_0x4d6fb7,_0x50c7c0,'Unexpected\x20server\x20response:\x20'+_0x296586[_0x59e77a(0x2a4)]);}),_0x50c7c0['on'](_0x16a397(0x27c),(_0x13e0d1,_0x137ac1,_0x426f1f)=>{const _0x401a12=_0x16a397;if(_0x4d6fb7[_0x401a12(0x24d)](_0x401a12(0x27c),_0x13e0d1),_0x4d6fb7[_0x401a12(0x252)]!==_0x25397d['CONNECTING'])return;_0x50c7c0=_0x4d6fb7['_req']=null;const _0x5a25be=_0x13e0d1['headers'][_0x401a12(0x27c)];if(_0x5a25be===void 0x0||_0x5a25be[_0x401a12(0x290)]()!=='websocket'){_0x4d812c(_0x4d6fb7,_0x137ac1,_0x401a12(0x22e));return;}const _0x2f7ead=_0x2a7496('sha1')['update'](_0x5f3aff+_0x52d421)['digest']('base64');if(_0x13e0d1[_0x401a12(0x20a)][_0x401a12(0x35a)]!==_0x2f7ead){_0x4d812c(_0x4d6fb7,_0x137ac1,_0x401a12(0x2a2));return;}const _0x538f7e=_0x13e0d1[_0x401a12(0x20a)]['sec-websocket-protocol'];let _0x568cf0;if(_0x538f7e!==void 0x0?_0x374a01[_0x401a12(0x2b6)]?_0x374a01[_0x401a12(0x297)](_0x538f7e)||(_0x568cf0=_0x401a12(0x1fe)):_0x568cf0='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0x374a01[_0x401a12(0x2b6)]&&(_0x568cf0=_0x401a12(0x1e4)),_0x568cf0){_0x4d812c(_0x4d6fb7,_0x137ac1,_0x568cf0);return;}_0x538f7e&&(_0x4d6fb7[_0x401a12(0x2d2)]=_0x538f7e);const _0x520d34=_0x13e0d1[_0x401a12(0x20a)][_0x401a12(0x309)];if(_0x520d34!==void 0x0){if(!_0x1b3a67){_0x4d812c(_0x4d6fb7,_0x137ac1,'Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested');return;}let _0x2b1c9e;try{_0x2b1c9e=_0x1a2dd0(_0x520d34);}catch{_0x4d812c(_0x4d6fb7,_0x137ac1,_0x401a12(0x225));return;}const _0x5681e2=Object[_0x401a12(0x2b7)](_0x2b1c9e);if(_0x5681e2[_0x401a12(0x1d9)]!==0x1||_0x5681e2[0x0]!==_0x46b5fd[_0x401a12(0x30c)]){_0x4d812c(_0x4d6fb7,_0x137ac1,_0x401a12(0x299));return;}try{_0x1b3a67[_0x401a12(0x23b)](_0x2b1c9e[_0x46b5fd[_0x401a12(0x30c)]]);}catch{_0x4d812c(_0x4d6fb7,_0x137ac1,_0x401a12(0x225));return;}_0x4d6fb7['_extensions'][_0x46b5fd['extensionName']]=_0x1b3a67;}_0x4d6fb7[_0x401a12(0x2bd)](_0x137ac1,_0x426f1f,{'allowSynchronousEvents':_0x33b43e['allowSynchronousEvents'],'generateMask':_0x33b43e[_0x401a12(0x282)],'maxPayload':_0x33b43e['maxPayload'],'skipUTF8Validation':_0x33b43e[_0x401a12(0x32c)]});}),_0x33b43e[_0x16a397(0x352)]?_0x33b43e[_0x16a397(0x352)](_0x50c7c0,_0x4d6fb7):_0x50c7c0[_0x16a397(0x357)]();}function _0xea57eb(_0x5361fe,_0x520fd7){const _0x220ac1=_0x3bdc3b;_0x5361fe[_0x220ac1(0x1f0)]=_0x25397d['CLOSING'],_0x5361fe['_errorEmitted']=!0x0,_0x5361fe[_0x220ac1(0x24d)]('error',_0x520fd7),_0x5361fe[_0x220ac1(0x333)]();}function _0x4f021d(_0x1482c7){const _0x5579d8=_0x3bdc3b;return _0x1482c7[_0x5579d8(0x25a)]=_0x1482c7[_0x5579d8(0x344)],_0x18d506['connect'](_0x1482c7);}function _0x56fd66(_0xe60232){const _0x36df47=_0x3bdc3b;return _0xe60232[_0x36df47(0x25a)]=void 0x0,!_0xe60232[_0x36df47(0x2b5)]&&_0xe60232[_0x36df47(0x2b5)]!==''&&(_0xe60232[_0x36df47(0x2b5)]=_0x18d506[_0x36df47(0x339)](_0xe60232[_0x36df47(0x25d)])?'':_0xe60232[_0x36df47(0x25d)]),_0x5484a1[_0x36df47(0x22b)](_0xe60232);}function _0x4d812c(_0x5b500e,_0x3d5219,_0x49f9aa){const _0x3a6ad9=_0x3bdc3b;_0x5b500e[_0x3a6ad9(0x1f0)]=_0x25397d[_0x3a6ad9(0x1c9)];const _0x2736db=new Error(_0x49f9aa);Error[_0x3a6ad9(0x262)](_0x2736db,_0x4d812c),_0x3d5219[_0x3a6ad9(0x340)]?(_0x3d5219[_0x5cc2a8]=!0x0,_0x3d5219[_0x3a6ad9(0x273)](),_0x3d5219['socket']&&!_0x3d5219[_0x3a6ad9(0x246)][_0x3a6ad9(0x1e8)]&&_0x3d5219['socket']['destroy'](),process[_0x3a6ad9(0x332)](_0xea57eb,_0x5b500e,_0x2736db)):(_0x3d5219[_0x3a6ad9(0x260)](_0x2736db),_0x3d5219[_0x3a6ad9(0x2bc)](_0x3a6ad9(0x361),_0x5b500e[_0x3a6ad9(0x24d)][_0x3a6ad9(0x1cf)](_0x5b500e,_0x3a6ad9(0x361))),_0x3d5219[_0x3a6ad9(0x2bc)](_0x3a6ad9(0x2a7),_0x5b500e[_0x3a6ad9(0x333)][_0x3a6ad9(0x1cf)](_0x5b500e)));}function _0x4dddeb(_0x2cbb94,_0x1e9dd6,_0x2eac06){const _0x429219=_0x3bdc3b;if(_0x1e9dd6){const _0x2b3062=_0x1b08cd(_0x1e9dd6)?_0x1e9dd6['size']:_0x389ee1(_0x1e9dd6)[_0x429219(0x1d9)];_0x2cbb94[_0x429219(0x2b4)]?_0x2cbb94[_0x429219(0x21c)][_0x429219(0x2a3)]+=_0x2b3062:_0x2cbb94[_0x429219(0x1f3)]+=_0x2b3062;}if(_0x2eac06){const _0x1eae2d=new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x20'+_0x2cbb94[_0x429219(0x252)]+'\x20('+_0x3b4fb7[_0x2cbb94[_0x429219(0x252)]]+')');process['nextTick'](_0x2eac06,_0x1eae2d);}}function _0x103ed3(_0x1e803d,_0x359066){const _0x1a97cb=_0x3bdc3b,_0x214d55=this[_0x448dcf];_0x214d55['_closeFrameReceived']=!0x0,_0x214d55[_0x1a97cb(0x249)]=_0x359066,_0x214d55[_0x1a97cb(0x244)]=_0x1e803d,_0x214d55[_0x1a97cb(0x2b4)][_0x448dcf]!==void 0x0&&(_0x214d55[_0x1a97cb(0x2b4)]['removeListener'](_0x1a97cb(0x1c7),_0x573769),process[_0x1a97cb(0x332)](_0x64e26d,_0x214d55[_0x1a97cb(0x2b4)]),_0x1e803d===0x3ed?_0x214d55['close']():_0x214d55[_0x1a97cb(0x2a7)](_0x1e803d,_0x359066));}function _0x4d9fa8(){const _0x545534=_0x3bdc3b,_0x12c706=this[_0x448dcf];_0x12c706[_0x545534(0x26c)]||_0x12c706[_0x545534(0x2b4)][_0x545534(0x202)]();}function _0x55bfdf(_0xbed6fe){const _0x3b2c8c=_0x3bdc3b,_0x5d31d5=this[_0x448dcf];_0x5d31d5['_socket'][_0x448dcf]!==void 0x0&&(_0x5d31d5[_0x3b2c8c(0x2b4)][_0x3b2c8c(0x302)](_0x3b2c8c(0x1c7),_0x573769),process['nextTick'](_0x64e26d,_0x5d31d5[_0x3b2c8c(0x2b4)]),_0x5d31d5[_0x3b2c8c(0x2a7)](_0xbed6fe[_0x56e8b3])),_0x5d31d5['_errorEmitted']||(_0x5d31d5['_errorEmitted']=!0x0,_0x5d31d5[_0x3b2c8c(0x24d)](_0x3b2c8c(0x361),_0xbed6fe));}function _0x24e258(){const _0x2f17e5=_0x3bdc3b;this[_0x448dcf][_0x2f17e5(0x333)]();}function _0x8b5ef4(_0x412aa3,_0x76257d){const _0x4305ef=_0x3bdc3b;this[_0x448dcf][_0x4305ef(0x24d)](_0x4305ef(0x285),_0x412aa3,_0x76257d);}function _0x4ebc09(_0x268810){const _0x40a368=_0x3bdc3b,_0x1cbabd=this[_0x448dcf];_0x1cbabd[_0x40a368(0x207)]&&_0x1cbabd[_0x40a368(0x1d8)](_0x268810,!this['_isServer'],_0x1c093f),_0x1cbabd[_0x40a368(0x24d)](_0x40a368(0x2ca),_0x268810);}function _0x257764(_0x4f57c6){const _0x510592=_0x3bdc3b;this[_0x448dcf][_0x510592(0x24d)](_0x510592(0x1d8),_0x4f57c6);}function _0x64e26d(_0x1a9386){const _0x2b868d=_0x3bdc3b;_0x1a9386[_0x2b868d(0x202)]();}function _0x53e1de(_0x345bc5){const _0x4685f0=_0x3bdc3b,_0x5f1256=this[_0x448dcf];_0x5f1256[_0x4685f0(0x252)]!==_0x25397d[_0x4685f0(0x214)]&&(_0x5f1256[_0x4685f0(0x252)]===_0x25397d[_0x4685f0(0x2f6)]&&(_0x5f1256['_readyState']=_0x25397d[_0x4685f0(0x1c9)],_0x385708(_0x5f1256)),this[_0x4685f0(0x2b4)][_0x4685f0(0x357)](),_0x5f1256[_0x4685f0(0x2e6)]||(_0x5f1256['_errorEmitted']=!0x0,_0x5f1256[_0x4685f0(0x24d)]('error',_0x345bc5)));}function _0x385708(_0x2bd9a5){const _0x234d3e=_0x3bdc3b;_0x2bd9a5[_0x234d3e(0x2b2)]=setTimeout(_0x2bd9a5[_0x234d3e(0x2b4)][_0x234d3e(0x260)]['bind'](_0x2bd9a5[_0x234d3e(0x2b4)]),_0x346b1d);}function _0xc607d3(){const _0x1cdf58=_0x3bdc3b,_0x41754c=this[_0x448dcf];this['removeListener'](_0x1cdf58(0x2a7),_0xc607d3),this[_0x1cdf58(0x302)](_0x1cdf58(0x1c7),_0x573769),this['removeListener']('end',_0x1ca3a3),_0x41754c[_0x1cdf58(0x1f0)]=_0x25397d[_0x1cdf58(0x1c9)];let _0x278bff;!this['_readableState'][_0x1cdf58(0x21e)]&&!_0x41754c[_0x1cdf58(0x29e)]&&!_0x41754c[_0x1cdf58(0x26a)][_0x1cdf58(0x34d)][_0x1cdf58(0x269)]&&(_0x278bff=_0x41754c['_socket'][_0x1cdf58(0x277)]())!==null&&_0x41754c[_0x1cdf58(0x26a)]['write'](_0x278bff),_0x41754c[_0x1cdf58(0x26a)][_0x1cdf58(0x357)](),this[_0x448dcf]=void 0x0,clearTimeout(_0x41754c['_closeTimer']),_0x41754c['_receiver'][_0x1cdf58(0x34d)]['finished']||_0x41754c[_0x1cdf58(0x26a)][_0x1cdf58(0x34d)][_0x1cdf58(0x269)]?_0x41754c[_0x1cdf58(0x333)]():(_0x41754c[_0x1cdf58(0x26a)]['on']('error',_0x24e258),_0x41754c[_0x1cdf58(0x26a)]['on'](_0x1cdf58(0x245),_0x24e258));}function _0x573769(_0x36aa31){const _0x58d23e=_0x3bdc3b;this[_0x448dcf][_0x58d23e(0x26a)][_0x58d23e(0x2d6)](_0x36aa31)||this['pause']();}function _0x1ca3a3(){const _0x3e9514=_0x3bdc3b,_0x2c9729=this[_0x448dcf];_0x2c9729[_0x3e9514(0x1f0)]=_0x25397d['CLOSING'],_0x2c9729[_0x3e9514(0x26a)]['end'](),this[_0x3e9514(0x357)]();}function _0x2e4eb2(){const _0xf78102=_0x3bdc3b,_0x1d7a58=this[_0x448dcf];this[_0xf78102(0x302)]('error',_0x2e4eb2),this['on'](_0xf78102(0x361),_0x1c093f),_0x1d7a58&&(_0x1d7a58['_readyState']=_0x25397d[_0xf78102(0x1c9)],this['destroy']());}return Oe;}var Zt=pt();const Qt=Wt(Zt);var Ce,it;function Jt(){if(it)return Ce;it=0x1;const {tokenChars:_0x48c87b}=ne();function _0x35075e(_0x5b6861){const _0x2b0548=_0x1655,_0x242423=new Set();let _0x639338=-0x1,_0x56a989=-0x1,_0x1903c6=0x0;for(_0x1903c6;_0x1903c6<_0x5b6861[_0x2b0548(0x1d9)];_0x1903c6++){const _0x2b912c=_0x5b6861['charCodeAt'](_0x1903c6);if(_0x56a989===-0x1&&_0x48c87b[_0x2b912c]===0x1)_0x639338===-0x1&&(_0x639338=_0x1903c6);else{if(_0x1903c6!==0x0&&(_0x2b912c===0x20||_0x2b912c===0x9))_0x56a989===-0x1&&_0x639338!==-0x1&&(_0x56a989=_0x1903c6);else{if(_0x2b912c===0x2c){if(_0x639338===-0x1)throw new SyntaxError(_0x2b0548(0x2e2)+_0x1903c6);_0x56a989===-0x1&&(_0x56a989=_0x1903c6);const _0x140f7d=_0x5b6861['slice'](_0x639338,_0x56a989);if(_0x242423[_0x2b0548(0x297)](_0x140f7d))throw new SyntaxError(_0x2b0548(0x203)+_0x140f7d+_0x2b0548(0x223));_0x242423[_0x2b0548(0x2d0)](_0x140f7d),_0x639338=_0x56a989=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x1903c6);}}}if(_0x639338===-0x1||_0x56a989!==-0x1)throw new SyntaxError(_0x2b0548(0x253));const _0x4f6e63=_0x5b6861[_0x2b0548(0x1e5)](_0x639338,_0x1903c6);if(_0x242423[_0x2b0548(0x297)](_0x4f6e63))throw new SyntaxError('The\x20\x22'+_0x4f6e63+_0x2b0548(0x223));return _0x242423[_0x2b0548(0x2d0)](_0x4f6e63),_0x242423;}return Ce={'parse':_0x35075e},Ce;}var Te,nt;function er(){const _0x5af173=_0x3f909a;if(nt)return Te;nt=0x1;const _0xc0307d=_0xc71a75,_0x6b7367=_0x26c58a,{Duplex:_0x51cca1}=_0x3247ef,{createHash:_0x3de26e}=_0xf5bc26,_0x4cb34f=_t(),_0x514f8c=he(),_0x2d9aeb=Jt(),_0x435c2e=pt(),{GUID:_0x43ef9f,kWebSocket:_0x568c09}=V(),_0x12aa3c=/^[+/0-9A-Za-z]{22}==$/,_0x4e0a80=0x0,_0x3523ea=0x1,_0x275ed1=0x2;class _0x319cd5 extends _0xc0307d{constructor(_0xc961a2,_0xce2ece){const _0x2980c8=_0x1655;if(super(),_0xc961a2={'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':_0x435c2e,..._0xc961a2},_0xc961a2[_0x2980c8(0x305)]==null&&!_0xc961a2[_0x2980c8(0x2e4)]&&!_0xc961a2['noServer']||_0xc961a2[_0x2980c8(0x305)]!=null&&(_0xc961a2['server']||_0xc961a2['noServer'])||_0xc961a2[_0x2980c8(0x2e4)]&&_0xc961a2[_0x2980c8(0x224)])throw new TypeError(_0x2980c8(0x2ce));if(_0xc961a2[_0x2980c8(0x305)]!=null?(this[_0x2980c8(0x286)]=_0x6b7367['createServer']((_0x5c126e,_0xd1c724)=>{const _0x4f7836=_0x2980c8,_0x22e445=_0x6b7367[_0x4f7836(0x346)][0x1aa];_0xd1c724[_0x4f7836(0x2d8)](0x1aa,{'Content-Length':_0x22e445[_0x4f7836(0x1d9)],'Content-Type':'text/plain'}),_0xd1c724[_0x4f7836(0x357)](_0x22e445);}),this[_0x2980c8(0x286)][_0x2980c8(0x236)](_0xc961a2[_0x2980c8(0x305)],_0xc961a2[_0x2980c8(0x25d)],_0xc961a2[_0x2980c8(0x2fc)],_0xce2ece)):_0xc961a2[_0x2980c8(0x2e4)]&&(this[_0x2980c8(0x286)]=_0xc961a2[_0x2980c8(0x2e4)]),this[_0x2980c8(0x286)]){const _0x35d34a=this[_0x2980c8(0x24d)][_0x2980c8(0x1cf)](this,'connection');this[_0x2980c8(0x359)]=_0x6ea84d(this['_server'],{'listening':this['emit'][_0x2980c8(0x1cf)](this,'listening'),'error':this['emit'][_0x2980c8(0x1cf)](this,_0x2980c8(0x361)),'upgrade':(_0x2ea650,_0x4a34f7,_0x59c199)=>{const _0x55707d=_0x2980c8;this[_0x55707d(0x314)](_0x2ea650,_0x4a34f7,_0x59c199,_0x35d34a);}});}_0xc961a2['perMessageDeflate']===!0x0&&(_0xc961a2['perMessageDeflate']={}),_0xc961a2['clientTracking']&&(this[_0x2980c8(0x26d)]=new Set(),this[_0x2980c8(0x2d9)]=!0x1),this['options']=_0xc961a2,this[_0x2980c8(0x1f8)]=_0x4e0a80;}[_0x5af173(0x33f)](){const _0x17924e=_0x5af173;if(this[_0x17924e(0x22d)][_0x17924e(0x224)])throw new Error(_0x17924e(0x235));return this[_0x17924e(0x286)]?this[_0x17924e(0x286)][_0x17924e(0x33f)]():null;}[_0x5af173(0x2a7)](_0x471251){const _0x4d7f12=_0x5af173;if(this['_state']===_0x275ed1){_0x471251&&this[_0x4d7f12(0x2bc)](_0x4d7f12(0x2a7),()=>{const _0x26aa00=_0x4d7f12;_0x471251(new Error(_0x26aa00(0x31c)));}),process['nextTick'](_0x167614,this);return;}if(_0x471251&&this[_0x4d7f12(0x2bc)](_0x4d7f12(0x2a7),_0x471251),this[_0x4d7f12(0x1f8)]!==_0x3523ea){if(this[_0x4d7f12(0x1f8)]=_0x3523ea,this['options'][_0x4d7f12(0x224)]||this[_0x4d7f12(0x22d)][_0x4d7f12(0x2e4)])this[_0x4d7f12(0x286)]&&(this[_0x4d7f12(0x359)](),this['_removeListeners']=this[_0x4d7f12(0x286)]=null),this[_0x4d7f12(0x26d)]?this['clients']['size']?this[_0x4d7f12(0x2d9)]=!0x0:process[_0x4d7f12(0x332)](_0x167614,this):process[_0x4d7f12(0x332)](_0x167614,this);else{const _0x5b0dc6=this['_server'];this[_0x4d7f12(0x359)](),this[_0x4d7f12(0x359)]=this['_server']=null,_0x5b0dc6[_0x4d7f12(0x2a7)](()=>{_0x167614(this);});}}}[_0x5af173(0x2be)](_0x56dc28){const _0x24b7b6=_0x5af173;if(this['options'][_0x24b7b6(0x25a)]){const _0x1a1a2c=_0x56dc28[_0x24b7b6(0x1ec)]['indexOf']('?');if((_0x1a1a2c!==-0x1?_0x56dc28['url'][_0x24b7b6(0x1e5)](0x0,_0x1a1a2c):_0x56dc28['url'])!==this[_0x24b7b6(0x22d)][_0x24b7b6(0x25a)])return!0x1;}return!0x0;}['handleUpgrade'](_0x2948fc,_0x4ebb96,_0x54eda8,_0x4f1c42){const _0x17ab0a=_0x5af173;_0x4ebb96['on'](_0x17ab0a(0x361),_0x42ed14);const _0x40ad73=_0x2948fc[_0x17ab0a(0x20a)][_0x17ab0a(0x360)],_0x1a10f8=_0x2948fc['headers'][_0x17ab0a(0x27c)],_0x118798=+_0x2948fc[_0x17ab0a(0x20a)]['sec-websocket-version'];if(_0x2948fc[_0x17ab0a(0x30e)]!==_0x17ab0a(0x1bd)){_0x34b7e9(this,_0x2948fc,_0x4ebb96,0x195,_0x17ab0a(0x26b));return;}if(_0x1a10f8===void 0x0||_0x1a10f8[_0x17ab0a(0x290)]()!==_0x17ab0a(0x2d5)){_0x34b7e9(this,_0x2948fc,_0x4ebb96,0x190,_0x17ab0a(0x22e));return;}if(_0x40ad73===void 0x0||!_0x12aa3c[_0x17ab0a(0x2e3)](_0x40ad73)){_0x34b7e9(this,_0x2948fc,_0x4ebb96,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header');return;}if(_0x118798!==0x8&&_0x118798!==0xd){_0x34b7e9(this,_0x2948fc,_0x4ebb96,0x190,_0x17ab0a(0x22a));return;}if(!this['shouldHandle'](_0x2948fc)){_0x55c162(_0x4ebb96,0x190);return;}const _0x5527ba=_0x2948fc['headers']['sec-websocket-protocol'];let _0x31964f=new Set();if(_0x5527ba!==void 0x0)try{_0x31964f=_0x2d9aeb[_0x17ab0a(0x306)](_0x5527ba);}catch{_0x34b7e9(this,_0x2948fc,_0x4ebb96,0x190,_0x17ab0a(0x1c2));return;}const _0x7309=_0x2948fc[_0x17ab0a(0x20a)][_0x17ab0a(0x309)],_0x477e1f={};if(this[_0x17ab0a(0x22d)][_0x17ab0a(0x234)]&&_0x7309!==void 0x0){const _0x308fc0=new _0x514f8c(this[_0x17ab0a(0x22d)][_0x17ab0a(0x234)],!0x0,this[_0x17ab0a(0x22d)][_0x17ab0a(0x2a9)]);try{const _0x475272=_0x4cb34f[_0x17ab0a(0x306)](_0x7309);_0x475272[_0x514f8c[_0x17ab0a(0x30c)]]&&(_0x308fc0[_0x17ab0a(0x23b)](_0x475272[_0x514f8c['extensionName']]),_0x477e1f[_0x514f8c[_0x17ab0a(0x30c)]]=_0x308fc0);}catch{_0x34b7e9(this,_0x2948fc,_0x4ebb96,0x190,_0x17ab0a(0x25e));return;}}if(this['options']['verifyClient']){const _0x3b98fd={'origin':_0x2948fc['headers'][''+(_0x118798===0x8?_0x17ab0a(0x1c8):_0x17ab0a(0x2b1))],'secure':!!(_0x2948fc[_0x17ab0a(0x246)][_0x17ab0a(0x29c)]||_0x2948fc[_0x17ab0a(0x246)][_0x17ab0a(0x1d5)]),'req':_0x2948fc};if(this[_0x17ab0a(0x22d)][_0x17ab0a(0x226)][_0x17ab0a(0x1d9)]===0x2){this[_0x17ab0a(0x22d)][_0x17ab0a(0x226)](_0x3b98fd,(_0xddc37a,_0x1e293b,_0x2a4883,_0x17eed4)=>{if(!_0xddc37a)return _0x55c162(_0x4ebb96,_0x1e293b||0x191,_0x2a4883,_0x17eed4);this['completeUpgrade'](_0x477e1f,_0x40ad73,_0x31964f,_0x2948fc,_0x4ebb96,_0x54eda8,_0x4f1c42);});return;}if(!this['options'][_0x17ab0a(0x226)](_0x3b98fd))return _0x55c162(_0x4ebb96,0x191);}this[_0x17ab0a(0x284)](_0x477e1f,_0x40ad73,_0x31964f,_0x2948fc,_0x4ebb96,_0x54eda8,_0x4f1c42);}['completeUpgrade'](_0x5055f3,_0x11e84e,_0x865b9c,_0x165972,_0x3909d7,_0x1c2887,_0x56fcee){const _0x216c08=_0x5af173;if(!_0x3909d7[_0x216c08(0x216)]||!_0x3909d7[_0x216c08(0x215)])return _0x3909d7[_0x216c08(0x260)]();if(_0x3909d7[_0x568c09])throw new Error(_0x216c08(0x2b3));if(this[_0x216c08(0x1f8)]>_0x4e0a80)return _0x55c162(_0x3909d7,0x1f7);const _0x55a0c9=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0x216c08(0x230),_0x216c08(0x321),_0x216c08(0x1d2)+_0x3de26e('sha1')[_0x216c08(0x23c)](_0x11e84e+_0x43ef9f)[_0x216c08(0x2e9)](_0x216c08(0x323))],_0x22d7b3=new this[(_0x216c08(0x22d))]['WebSocket'](null,void 0x0,this[_0x216c08(0x22d)]);if(_0x865b9c['size']){const _0x3c34e1=this[_0x216c08(0x22d)]['handleProtocols']?this['options']['handleProtocols'](_0x865b9c,_0x165972):_0x865b9c[_0x216c08(0x2e7)]()['next']()[_0x216c08(0x336)];_0x3c34e1&&(_0x55a0c9['push'](_0x216c08(0x33e)+_0x3c34e1),_0x22d7b3['_protocol']=_0x3c34e1);}if(_0x5055f3[_0x514f8c['extensionName']]){const _0xa31e97=_0x5055f3[_0x514f8c[_0x216c08(0x30c)]][_0x216c08(0x1c5)],_0xaf4ba0=_0x4cb34f[_0x216c08(0x33c)]({[_0x514f8c[_0x216c08(0x30c)]]:[_0xa31e97]});_0x55a0c9['push'](_0x216c08(0x31e)+_0xaf4ba0),_0x22d7b3[_0x216c08(0x1fc)]=_0x5055f3;}this['emit'](_0x216c08(0x20a),_0x55a0c9,_0x165972),_0x3909d7[_0x216c08(0x2d6)](_0x55a0c9[_0x216c08(0x31d)]('\x0d\x0a')[_0x216c08(0x307)]('\x0d\x0a')),_0x3909d7[_0x216c08(0x302)](_0x216c08(0x361),_0x42ed14),_0x22d7b3[_0x216c08(0x2bd)](_0x3909d7,_0x1c2887,{'allowSynchronousEvents':this[_0x216c08(0x22d)]['allowSynchronousEvents'],'maxPayload':this[_0x216c08(0x22d)][_0x216c08(0x2a9)],'skipUTF8Validation':this['options'][_0x216c08(0x32c)]}),this[_0x216c08(0x26d)]&&(this[_0x216c08(0x26d)]['add'](_0x22d7b3),_0x22d7b3['on'](_0x216c08(0x2a7),()=>{const _0x5665c9=_0x216c08;this[_0x5665c9(0x26d)][_0x5665c9(0x2f2)](_0x22d7b3),this[_0x5665c9(0x2d9)]&&!this[_0x5665c9(0x26d)][_0x5665c9(0x2b6)]&&process[_0x5665c9(0x332)](_0x167614,this);})),_0x56fcee(_0x22d7b3,_0x165972);}}Te=_0x319cd5;function _0x6ea84d(_0x3f59a3,_0x22145b){const _0x530d8c=_0x5af173;for(const _0x21c9bb of Object[_0x530d8c(0x2b7)](_0x22145b))_0x3f59a3['on'](_0x21c9bb,_0x22145b[_0x21c9bb]);return function(){const _0x1d5632=_0x530d8c;for(const _0x2c78d8 of Object[_0x1d5632(0x2b7)](_0x22145b))_0x3f59a3['removeListener'](_0x2c78d8,_0x22145b[_0x2c78d8]);};}function _0x167614(_0x55f2d9){const _0x323132=_0x5af173;_0x55f2d9[_0x323132(0x1f8)]=_0x275ed1,_0x55f2d9['emit'](_0x323132(0x2a7));}function _0x42ed14(){this['destroy']();}function _0x55c162(_0x2b6627,_0x1bd63d,_0x982d6,_0x1200a4){const _0x2df2d1=_0x5af173;_0x982d6=_0x982d6||_0x6b7367[_0x2df2d1(0x346)][_0x1bd63d],_0x1200a4={'Connection':_0x2df2d1(0x2a7),'Content-Type':_0x2df2d1(0x358),'Content-Length':Buffer[_0x2df2d1(0x28a)](_0x982d6),..._0x1200a4},_0x2b6627[_0x2df2d1(0x2bc)]('finish',_0x2b6627['destroy']),_0x2b6627[_0x2df2d1(0x357)](_0x2df2d1(0x1cd)+_0x1bd63d+'\x20'+_0x6b7367['STATUS_CODES'][_0x1bd63d]+'\x0d\x0a'+Object[_0x2df2d1(0x2b7)](_0x1200a4)[_0x2df2d1(0x2fe)](_0x4f97b2=>_0x4f97b2+':\x20'+_0x1200a4[_0x4f97b2])['join']('\x0d\x0a')+_0x2df2d1(0x32b)+_0x982d6);}function _0x34b7e9(_0x44fd52,_0x247857,_0x1a5eff,_0x517a84,_0x36185e){const _0x2e0494=_0x5af173;if(_0x44fd52[_0x2e0494(0x2f8)](_0x2e0494(0x1dd))){const _0x2874c0=new Error(_0x36185e);Error[_0x2e0494(0x262)](_0x2874c0,_0x34b7e9),_0x44fd52[_0x2e0494(0x24d)](_0x2e0494(0x1dd),_0x2874c0,_0x1a5eff,_0x247857);}else _0x55c162(_0x1a5eff,_0x517a84,_0x36185e);}return Te;}er();var tr=Object[_0x3f909a(0x233)],rr=(_0x484b6d,_0xac94da,_0x1615d6,_0x244bdc)=>{const _0x137231=_0x3f909a;for(var _0x49abb=_0x244bdc>0x1?void 0x0:_0x244bdc?tr(_0xac94da,_0x1615d6):_0xac94da,_0xde5c96=_0x484b6d[_0x137231(0x1d9)]-0x1,_0xe593c0;_0xde5c96>=0x0;_0xde5c96--)(_0xe593c0=_0x484b6d[_0xde5c96])&&(_0x49abb=_0xe593c0(_0x49abb)||_0x49abb);return _0x49abb;},sr=(_0x347a0d,_0x58bf0a)=>(_0x24c137,_0x22aab2)=>_0x58bf0a(_0x24c137,_0x22aab2,_0x347a0d);let Ne=class extends _0x354f7a{constructor(_0x4286a9){super(),this['_configService']=_0x4286a9;}[_0x3f909a(0x2f0)](_0x225db9){const _0x561cd9=_0x3f909a;var _0x2de7b9;const _0x38bef2=(_0x2de7b9=this[_0x561cd9(0x263)][_0x561cd9(0x2b8)](Be))==null?void 0x0:_0x2de7b9[_0x561cd9(0x2f9)];try{const _0x1686f9=new Qt(_0x225db9,{'headers':{..._0x38bef2}}),_0x10d4e0=new _0x488822();return{'URL':_0x225db9,'close':(_0x5205f1,_0x484879)=>{const _0x146aaa=_0x561cd9;_0x1686f9[_0x146aaa(0x2a7)](_0x5205f1,_0x484879),_0x10d4e0['dispose']();},'send':_0x235811=>{const _0x5d8fa8=_0x561cd9;_0x1686f9[_0x5d8fa8(0x338)](_0x235811);},'open$':new _0x22c294(_0x511bb5=>{const _0x1fb19c=_0x561cd9,_0x307c67=_0x5d9780=>_0x511bb5[_0x1fb19c(0x1db)](_0x5d9780);_0x1686f9[_0x1fb19c(0x24b)]('open',_0x307c67),_0x10d4e0['add'](_0x2c32e1(()=>_0x1686f9[_0x1fb19c(0x1e6)](_0x1fb19c(0x24c),_0x307c67)));})[_0x561cd9(0x348)](_0x494fa2()),'close$':new _0x22c294(_0x23a73a=>{const _0x22d98d=_0x561cd9,_0x1fa97e=_0x5307e0=>_0x23a73a[_0x22d98d(0x1db)](_0x5307e0);_0x1686f9[_0x22d98d(0x24b)](_0x22d98d(0x2a7),_0x1fa97e),_0x10d4e0[_0x22d98d(0x2d0)](_0x2c32e1(()=>_0x1686f9[_0x22d98d(0x1e6)]('close',_0x1fa97e)));})['pipe'](_0x494fa2()),'error$':new _0x22c294(_0x2e2bf2=>{const _0xfdb3eb=_0x561cd9,_0x298395=_0x2bfd43=>_0x2e2bf2[_0xfdb3eb(0x1db)](_0x2bfd43);_0x1686f9['addEventListener']('error',_0x298395),_0x10d4e0['add'](_0x2c32e1(()=>_0x1686f9[_0xfdb3eb(0x1e6)](_0xfdb3eb(0x361),_0x298395)));})[_0x561cd9(0x348)](_0x494fa2()),'message$':new _0x22c294(_0x1bc02b=>{const _0x37f63c=_0x561cd9,_0x5971d3=_0x2593e0=>_0x1bc02b[_0x37f63c(0x1db)](_0x2593e0);_0x1686f9[_0x37f63c(0x24b)]('message',_0x5971d3),_0x10d4e0[_0x37f63c(0x2d0)](_0x2c32e1(()=>_0x1686f9[_0x37f63c(0x1e6)](_0x37f63c(0x285),_0x5971d3)));})[_0x561cd9(0x348)](_0x494fa2())};}catch(_0x3c1414){return console[_0x561cd9(0x361)](_0x3c1414),null;}}};Ne=rr([sr(0x0,_0x17af11)],Ne);var ir=Object[_0x3f909a(0x1ef)],nr=Object['getOwnPropertyDescriptor'],or=(_0x137bc0,_0x35e145,_0x38b0d5)=>_0x35e145 in _0x137bc0?ir(_0x137bc0,_0x35e145,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x38b0d5}):_0x137bc0[_0x35e145]=_0x38b0d5,ar=(_0x35b596,_0xf9ae68,_0x53fede,_0x388cf3)=>{const _0x3ed415=_0x3f909a;for(var _0x448234=_0x388cf3>0x1?void 0x0:_0x388cf3?nr(_0xf9ae68,_0x53fede):_0xf9ae68,_0x2fb1d9=_0x35b596[_0x3ed415(0x1d9)]-0x1,_0x49e2b0;_0x2fb1d9>=0x0;_0x2fb1d9--)(_0x49e2b0=_0x35b596[_0x2fb1d9])&&(_0x448234=_0x49e2b0(_0x448234)||_0x448234);return _0x448234;},ke=(_0x557cac,_0x347f9b)=>(_0x74a9c6,_0x5ff417)=>_0x347f9b(_0x74a9c6,_0x5ff417,_0x557cac),lr=(_0x2c3dcd,_0x54f22d,_0x4de49c)=>or(_0x2c3dcd,_0x54f22d+'',_0x4de49c);let Pe=class extends _0x480ba7{constructor(_0x356fc3=Ft,_0x4037c8,_0x1f285c,_0x4dc1ac){const _0x37c87f=_0x3f909a;_0x356fc3['customHeaders']||_0x4037c8[_0x37c87f(0x1ce)](_0x37c87f(0x21b)),super(),this[_0x37c87f(0x263)]=_0x1f285c,this[_0x37c87f(0x243)]=_0x4dc1ac,this['_configService'][_0x37c87f(0x20d)](Be,_0x356fc3);}[_0x3f909a(0x2d7)](){this['_registerDependencies']();}['_registerDependencies'](){const _0x3fb391=_0x3f909a;_0x5b09ee(this[_0x3fb391(0x243)],[[_0xf89efd,{'useClass':Ne}]]);}};lr(Pe,'pluginName','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),Pe=ar([_0x497d08(_0x3e4dd7),ke(0x1,_0x1294a3),ke(0x2,_0x17af11),ke(0x3,_0x1a0366(_0xccbc39))],Pe);var fr=Object[_0x3f909a(0x233)],cr=(_0x3b3b84,_0x1b3f64,_0x4ad643,_0x3db895)=>{const _0x4184f4=_0x3f909a;for(var _0x4b8c69=_0x3db895>0x1?void 0x0:_0x3db895?fr(_0x1b3f64,_0x4ad643):_0x1b3f64,_0x232f1e=_0x3b3b84[_0x4184f4(0x1d9)]-0x1,_0x1e251d;_0x232f1e>=0x0;_0x232f1e--)(_0x1e251d=_0x3b3b84[_0x232f1e])&&(_0x4b8c69=_0x1e251d(_0x4b8c69)||_0x4b8c69);return _0x4b8c69;},se=(_0x4b73b4,_0x3db9f7)=>(_0x4bf755,_0x16986f)=>_0x3db9f7(_0x4bf755,_0x16986f,_0x4b73b4);let ot=class extends _0xc51859{constructor(_0x2e5815,_0x2092bf,_0x2cdcf4,_0x244ff4,_0xdbd7e1){const _0x249b80=_0x3f909a;super(_0x2e5815,_0x2092bf,_0x2cdcf4,_0x244ff4,_0xdbd7e1);const _0xbb860e=this['_configService']['getConfig'](Be);this[_0x249b80(0x295)]['registerHTTPInterceptor']({'interceptor':(_0x2de4e3,_0x30cad4)=>{const _0xa83304=_0x249b80;var _0x200850;const _0x370246=_0x2de4e3[_0xa83304(0x20a)];return(_0x200850=_0xbb860e==null?void 0x0:_0xbb860e['customHeaders'])!=null&&_0x200850[_0xa83304(0x25c)]&&_0x370246['set'](_0xa83304(0x1bc),_0xbb860e[_0xa83304(0x2f9)][_0xa83304(0x25c)]),_0x30cad4(_0x2de4e3);}});}async['createSocket'](_0x118522){return this['_doCreateSocket'](_0x118522);}};ot=cr([se(0x0,_0x1a0366(_0xccbc39)),se(0x1,_0x1a0366(_0x1e5b7f)),se(0x2,_0x17af11),se(0x3,_0x1294a3),se(0x4,_0x36ff27)],ot);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,ot as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
1
+ const _0x7c1347=_0x192b;(function(_0x3c6004,_0x18b4f9){const _0x1f011b=_0x192b,_0x460333=_0x3c6004();while(!![]){try{const _0x144988=-parseInt(_0x1f011b(0x36d))/0x1*(-parseInt(_0x1f011b(0x336))/0x2)+parseInt(_0x1f011b(0x26d))/0x3+-parseInt(_0x1f011b(0x22e))/0x4*(-parseInt(_0x1f011b(0x26b))/0x5)+parseInt(_0x1f011b(0x208))/0x6*(parseInt(_0x1f011b(0x303))/0x7)+parseInt(_0x1f011b(0x37a))/0x8+-parseInt(_0x1f011b(0x39a))/0x9*(parseInt(_0x1f011b(0x30e))/0xa)+-parseInt(_0x1f011b(0x33f))/0xb*(-parseInt(_0x1f011b(0x305))/0xc);if(_0x144988===_0x18b4f9)break;else _0x460333['push'](_0x460333['shift']());}catch(_0x5bc22c){_0x460333['push'](_0x460333['shift']());}}}(_0x58f2,0x759cb));import{UniverCollaborationClientPlugin as _0x3355b9,CollaborationSocketService as _0x4f921d}from'@univerjs-pro/collaboration-client';import{Disposable as _0x91b0c7,DisposableCollection as _0x18c0a8,toDisposable as _0x549a24,IConfigService as _0x2e603a,DependentOn as _0x3f78d2,ILogService as _0x58ddf2,Inject as _0x4ec04c,Injector as _0x18dcb2,Plugin as _0x327b19,registerDependencies as _0x16b30f}from'@univerjs/core';import{ISocketService as _0x5921f7,HTTPService as _0x4ade45}from'@univerjs/network';import{Observable as _0x332ef7,share as _0x42f32d}from'rxjs';import _0x28ed20 from'stream';import _0x4c29a8 from'zlib';import _0x308431 from'buffer';import _0x2db855 from'crypto';import _0xd52aea from'events';import _0x543578 from'https';import _0x23330f from'http';import _0x4d0ec0 from'net';import _0xc3539f from'tls';import _0x1b87b4 from'url';import{ISnapshotServerService as _0xee2a10}from'@univerjs-pro/collaboration';const Be='collaboration-client-node.config',Ft={'customHeaders':{}};function Wt(_0x3eb053){const _0x1e4a19=_0x192b;return _0x3eb053&&_0x3eb053[_0x1e4a19(0x380)]&&Object[_0x1e4a19(0x2d8)]['hasOwnProperty'][_0x1e4a19(0x2c4)](_0x3eb053,_0x1e4a19(0x320))?_0x3eb053[_0x1e4a19(0x320)]:_0x3eb053;}function ht(_0x48b330){const _0x3f2ad0=_0x192b;if(_0x48b330['__esModule'])return _0x48b330;var _0x43e519=_0x48b330[_0x3f2ad0(0x320)];if(typeof _0x43e519==_0x3f2ad0(0x33e)){var _0x55dadd=function _0xe4175e(){const _0x16a91b=_0x3f2ad0;return this instanceof _0xe4175e?Reflect[_0x16a91b(0x2e0)](_0x43e519,arguments,this[_0x16a91b(0x2c7)]):_0x43e519[_0x16a91b(0x2da)](this,arguments);};_0x55dadd[_0x3f2ad0(0x2d8)]=_0x43e519['prototype'];}else _0x55dadd={};return Object[_0x3f2ad0(0x293)](_0x55dadd,_0x3f2ad0(0x380),{'value':!0x0}),Object[_0x3f2ad0(0x2e2)](_0x48b330)[_0x3f2ad0(0x276)](function(_0x399a6d){const _0x1bbddc=_0x3f2ad0;var _0x53f95e=Object['getOwnPropertyDescriptor'](_0x48b330,_0x399a6d);Object['defineProperty'](_0x55dadd,_0x399a6d,_0x53f95e[_0x1bbddc(0x23c)]?_0x53f95e:{'enumerable':!0x0,'get':function(){return _0x48b330[_0x399a6d];}});}),_0x55dadd;}var ge,ze;function jt(){if(ze)return ge;ze=0x1;const {Duplex:_0x5b0b39}=_0x28ed20;function _0x256e59(_0x653ddb){const _0x2c5095=_0x192b;_0x653ddb[_0x2c5095(0x2be)]('close');}function _0x3be085(){const _0x565172=_0x192b;!this['destroyed']&&this[_0x565172(0x270)][_0x565172(0x268)]&&this[_0x565172(0x39c)]();}function _0x136a4f(_0x4dc2ab){const _0x109f1e=_0x192b;this[_0x109f1e(0x238)](_0x109f1e(0x1ee),_0x136a4f),this['destroy'](),this[_0x109f1e(0x32b)](_0x109f1e(0x1ee))===0x0&&this[_0x109f1e(0x2be)](_0x109f1e(0x1ee),_0x4dc2ab);}function _0x427d83(_0x2abd77,_0x46e0d0){const _0x4706f5=_0x192b;let _0x235319=!0x0;const _0xefeece=new _0x5b0b39({..._0x46e0d0,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x2abd77['on']('message',function(_0x429b0c,_0x11b179){const _0xa7b22d=_0x192b,_0x14c051=!_0x11b179&&_0xefeece[_0xa7b22d(0x348)][_0xa7b22d(0x318)]?_0x429b0c['toString']():_0x429b0c;_0xefeece['push'](_0x14c051)||_0x2abd77['pause']();}),_0x2abd77[_0x4706f5(0x2f3)](_0x4706f5(0x1ee),function(_0xa8b45){const _0x26a36b=_0x4706f5;_0xefeece[_0x26a36b(0x23b)]||(_0x235319=!0x1,_0xefeece[_0x26a36b(0x39c)](_0xa8b45));}),_0x2abd77['once'](_0x4706f5(0x2ac),function(){const _0x1f47cf=_0x4706f5;_0xefeece['destroyed']||_0xefeece[_0x1f47cf(0x1f2)](null);}),_0xefeece[_0x4706f5(0x2c5)]=function(_0x19bb9d,_0x42b5b4){const _0x2922e0=_0x4706f5;if(_0x2abd77[_0x2922e0(0x2f9)]===_0x2abd77[_0x2922e0(0x1f6)]){_0x42b5b4(_0x19bb9d),process[_0x2922e0(0x1fc)](_0x256e59,_0xefeece);return;}let _0x49d0f1=!0x1;_0x2abd77[_0x2922e0(0x2f3)]('error',function(_0x1118bc){_0x49d0f1=!0x0,_0x42b5b4(_0x1118bc);}),_0x2abd77[_0x2922e0(0x2f3)](_0x2922e0(0x2ac),function(){const _0x4f1b91=_0x2922e0;_0x49d0f1||_0x42b5b4(_0x19bb9d),process[_0x4f1b91(0x1fc)](_0x256e59,_0xefeece);}),_0x235319&&_0x2abd77[_0x2922e0(0x306)]();},_0xefeece[_0x4706f5(0x339)]=function(_0x1ffb45){const _0x5d24e2=_0x4706f5;if(_0x2abd77[_0x5d24e2(0x2f9)]===_0x2abd77['CONNECTING']){_0x2abd77[_0x5d24e2(0x2f3)]('open',function(){const _0x163f96=_0x5d24e2;_0xefeece[_0x163f96(0x339)](_0x1ffb45);});return;}_0x2abd77[_0x5d24e2(0x360)]!==null&&(_0x2abd77[_0x5d24e2(0x360)][_0x5d24e2(0x270)][_0x5d24e2(0x268)]?(_0x1ffb45(),_0xefeece[_0x5d24e2(0x348)][_0x5d24e2(0x22a)]&&_0xefeece['destroy']()):(_0x2abd77[_0x5d24e2(0x360)][_0x5d24e2(0x2f3)](_0x5d24e2(0x27f),function(){_0x1ffb45();}),_0x2abd77['close']()));},_0xefeece[_0x4706f5(0x272)]=function(){const _0x508ebc=_0x4706f5;_0x2abd77['isPaused']&&_0x2abd77[_0x508ebc(0x21a)]();},_0xefeece[_0x4706f5(0x287)]=function(_0x468589,_0x31affe,_0x33300d){const _0x1cb560=_0x4706f5;if(_0x2abd77['readyState']===_0x2abd77[_0x1cb560(0x32d)]){_0x2abd77[_0x1cb560(0x2f3)](_0x1cb560(0x23d),function(){const _0x106047=_0x1cb560;_0xefeece[_0x106047(0x287)](_0x468589,_0x31affe,_0x33300d);});return;}_0x2abd77[_0x1cb560(0x37e)](_0x468589,_0x33300d);},_0xefeece['on']('end',_0x3be085),_0xefeece['on'](_0x4706f5(0x1ee),_0x136a4f),_0xefeece;}return ge=_0x427d83,ge;}jt();var te={'exports':{}},ye,Ye;function V(){const _0x2a151c=_0x192b;if(Ye)return ye;Ye=0x1;const _0x1e5276=[_0x2a151c(0x24d),_0x2a151c(0x20f),'fragments'],_0x29f9bb=typeof Blob<'u';return _0x29f9bb&&_0x1e5276['push'](_0x2a151c(0x397)),ye={'BINARY_TYPES':_0x1e5276,'EMPTY_BUFFER':Buffer[_0x2a151c(0x340)](0x0),'GUID':_0x2a151c(0x381),'hasBlob':_0x29f9bb,'kForOnEventAttribute':Symbol(_0x2a151c(0x1ed)),'kListener':Symbol(_0x2a151c(0x362)),'kStatusCode':Symbol('status-code'),'kWebSocket':Symbol(_0x2a151c(0x29f)),'NOOP':()=>{}},ye;}const Gt={},Vt=Object['freeze'](Object[_0x7c1347(0x293)]({'__proto__':null,'default':Gt},Symbol[_0x7c1347(0x349)],{'value':_0x7c1347(0x34c)})),qt=ht(Vt);var Ke;function ce(){const _0x59ff35=_0x7c1347;if(Ke)return te[_0x59ff35(0x2f5)];Ke=0x1;const {EMPTY_BUFFER:_0x312e16}=V(),_0x2e200d=Buffer[Symbol[_0x59ff35(0x2f2)]];function _0x5db68a(_0xc6ece1,_0x45915c){const _0x5309b1=_0x59ff35;if(_0xc6ece1['length']===0x0)return _0x312e16;if(_0xc6ece1[_0x5309b1(0x2ab)]===0x1)return _0xc6ece1[0x0];const _0x1fd0d4=Buffer[_0x5309b1(0x21d)](_0x45915c);let _0x5a87c8=0x0;for(let _0x4db609=0x0;_0x4db609<_0xc6ece1[_0x5309b1(0x2ab)];_0x4db609++){const _0x53b4b8=_0xc6ece1[_0x4db609];_0x1fd0d4[_0x5309b1(0x255)](_0x53b4b8,_0x5a87c8),_0x5a87c8+=_0x53b4b8[_0x5309b1(0x2ab)];}return _0x5a87c8<_0x45915c?new _0x2e200d(_0x1fd0d4[_0x5309b1(0x2b9)],_0x1fd0d4[_0x5309b1(0x205)],_0x5a87c8):_0x1fd0d4;}function _0x28f864(_0x464650,_0x3acd4,_0x16af16,_0x5b877e,_0x23a2ef){for(let _0x310134=0x0;_0x310134<_0x23a2ef;_0x310134++)_0x16af16[_0x5b877e+_0x310134]=_0x464650[_0x310134]^_0x3acd4[_0x310134&0x3];}function _0x545b95(_0xa3fc67,_0x547b34){for(let _0x3918f3=0x0;_0x3918f3<_0xa3fc67['length'];_0x3918f3++)_0xa3fc67[_0x3918f3]^=_0x547b34[_0x3918f3&0x3];}function _0x34989d(_0x208ab2){const _0x556cf1=_0x59ff35;return _0x208ab2[_0x556cf1(0x2ab)]===_0x208ab2[_0x556cf1(0x2b9)][_0x556cf1(0x2d0)]?_0x208ab2[_0x556cf1(0x2b9)]:_0x208ab2['buffer'][_0x556cf1(0x389)](_0x208ab2[_0x556cf1(0x205)],_0x208ab2[_0x556cf1(0x205)]+_0x208ab2['length']);}function _0x16a4bb(_0x5e3599){const _0x13b5cd=_0x59ff35;if(_0x16a4bb[_0x13b5cd(0x1f9)]=!0x0,Buffer[_0x13b5cd(0x282)](_0x5e3599))return _0x5e3599;let _0x527439;return _0x5e3599 instanceof ArrayBuffer?_0x527439=new _0x2e200d(_0x5e3599):ArrayBuffer[_0x13b5cd(0x2a2)](_0x5e3599)?_0x527439=new _0x2e200d(_0x5e3599[_0x13b5cd(0x2b9)],_0x5e3599['byteOffset'],_0x5e3599[_0x13b5cd(0x2d0)]):(_0x527439=Buffer[_0x13b5cd(0x28a)](_0x5e3599),_0x16a4bb[_0x13b5cd(0x1f9)]=!0x1),_0x527439;}if(te[_0x59ff35(0x2f5)]={'concat':_0x5db68a,'mask':_0x28f864,'toArrayBuffer':_0x34989d,'toBuffer':_0x16a4bb,'unmask':_0x545b95},!process[_0x59ff35(0x321)][_0x59ff35(0x34f)])try{const _0x1fa435=qt;te[_0x59ff35(0x2f5)][_0x59ff35(0x291)]=function(_0x1e5264,_0x510340,_0x34f856,_0x107ce3,_0x1cfe67){const _0x39d209=_0x59ff35;_0x1cfe67<0x30?_0x28f864(_0x1e5264,_0x510340,_0x34f856,_0x107ce3,_0x1cfe67):_0x1fa435[_0x39d209(0x291)](_0x1e5264,_0x510340,_0x34f856,_0x107ce3,_0x1cfe67);},te[_0x59ff35(0x2f5)][_0x59ff35(0x34b)]=function(_0x1f6222,_0x2c7df2){_0x1f6222['length']<0x20?_0x545b95(_0x1f6222,_0x2c7df2):_0x1fa435['unmask'](_0x1f6222,_0x2c7df2);};}catch{}return te[_0x59ff35(0x2f5)];}var ve,Xe;function Ht(){const _0x564f89=_0x7c1347;if(Xe)return ve;Xe=0x1;const _0x86403f=Symbol(_0x564f89(0x327)),_0x5f0ea1=Symbol(_0x564f89(0x369));class _0x5a99aa{constructor(_0x2c3581){const _0xc8047c=_0x564f89;this[_0x86403f]=()=>{const _0x572ff5=_0x192b;this[_0x572ff5(0x357)]--,this[_0x5f0ea1]();},this[_0xc8047c(0x20b)]=_0x2c3581||0x1/0x0,this['jobs']=[],this['pending']=0x0;}[_0x564f89(0x39e)](_0x2fced5){const _0x20a745=_0x564f89;this[_0x20a745(0x393)][_0x20a745(0x1f2)](_0x2fced5),this[_0x5f0ea1]();}[_0x5f0ea1](){const _0x105109=_0x564f89;if(this['pending']!==this[_0x105109(0x20b)]&&this[_0x105109(0x393)]['length']){const _0x41b563=this[_0x105109(0x393)][_0x105109(0x31f)]();this[_0x105109(0x357)]++,_0x41b563(this[_0x86403f]);}}}return ve=_0x5a99aa,ve;}var Se,Ze;function he(){const _0x4f6483=_0x7c1347;if(Ze)return Se;Ze=0x1;const _0x29292a=_0x4c29a8,_0x518ab7=ce(),_0x1281d1=Ht(),{kStatusCode:_0x1e4663}=V(),_0xab5aab=Buffer[Symbol[_0x4f6483(0x2f2)]],_0x29aee3=Buffer[_0x4f6483(0x28a)]([0x0,0x0,0xff,0xff]),_0x1938e2=Symbol(_0x4f6483(0x2fd)),_0x3bcfcf=Symbol(_0x4f6483(0x222)),_0x13e8b7=Symbol(_0x4f6483(0x2fc)),_0x2e36e1=Symbol(_0x4f6483(0x28e)),_0xefd9c6=Symbol(_0x4f6483(0x1ee));let _0x5d542d;class _0x946318{constructor(_0x37c6de,_0x162d1,_0x31ae3f){const _0x4c8bd8=_0x4f6483;if(this[_0x4c8bd8(0x2d7)]=_0x31ae3f|0x0,this[_0x4c8bd8(0x33a)]=_0x37c6de||{},this[_0x4c8bd8(0x2bc)]=this['_options'][_0x4c8bd8(0x2aa)]!==void 0x0?this[_0x4c8bd8(0x33a)][_0x4c8bd8(0x2aa)]:0x400,this['_isServer']=!!_0x162d1,this[_0x4c8bd8(0x289)]=null,this[_0x4c8bd8(0x37b)]=null,this['params']=null,!_0x5d542d){const _0x250f8b=this[_0x4c8bd8(0x33a)][_0x4c8bd8(0x242)]!==void 0x0?this[_0x4c8bd8(0x33a)]['concurrencyLimit']:0xa;_0x5d542d=new _0x1281d1(_0x250f8b);}}static get[_0x4f6483(0x330)](){const _0x51f884=_0x4f6483;return _0x51f884(0x2fd);}[_0x4f6483(0x20a)](){const _0x47075f=_0x4f6483,_0x5cd706={};return this[_0x47075f(0x33a)][_0x47075f(0x213)]&&(_0x5cd706[_0x47075f(0x27b)]=!0x0),this[_0x47075f(0x33a)]['clientNoContextTakeover']&&(_0x5cd706[_0x47075f(0x38c)]=!0x0),this[_0x47075f(0x33a)]['serverMaxWindowBits']&&(_0x5cd706[_0x47075f(0x234)]=this['_options'][_0x47075f(0x2a6)]),this[_0x47075f(0x33a)]['clientMaxWindowBits']?_0x5cd706[_0x47075f(0x36a)]=this[_0x47075f(0x33a)][_0x47075f(0x260)]:this[_0x47075f(0x33a)][_0x47075f(0x260)]==null&&(_0x5cd706[_0x47075f(0x36a)]=!0x0),_0x5cd706;}['accept'](_0x5d1c5a){const _0x99c35d=_0x4f6483;return _0x5d1c5a=this['normalizeParams'](_0x5d1c5a),this['params']=this[_0x99c35d(0x296)]?this[_0x99c35d(0x364)](_0x5d1c5a):this[_0x99c35d(0x29c)](_0x5d1c5a),this['params'];}[_0x4f6483(0x1ef)](){const _0x37aa52=_0x4f6483;if(this[_0x37aa52(0x37b)]&&(this[_0x37aa52(0x37b)]['close'](),this[_0x37aa52(0x37b)]=null),this[_0x37aa52(0x289)]){const _0x3885d3=this[_0x37aa52(0x289)][_0x13e8b7];this['_deflate'][_0x37aa52(0x2ac)](),this[_0x37aa52(0x289)]=null,_0x3885d3&&_0x3885d3(new Error(_0x37aa52(0x37f)));}}[_0x4f6483(0x364)](_0x3687f6){const _0x5b108a=_0x4f6483,_0x1c6633=this[_0x5b108a(0x33a)],_0x545648=_0x3687f6[_0x5b108a(0x24c)](_0x15350e=>!(_0x1c6633['serverNoContextTakeover']===!0x1&&_0x15350e[_0x5b108a(0x27b)]||_0x15350e[_0x5b108a(0x234)]&&(_0x1c6633['serverMaxWindowBits']===!0x1||typeof _0x1c6633[_0x5b108a(0x2a6)]==_0x5b108a(0x376)&&_0x1c6633[_0x5b108a(0x2a6)]>_0x15350e['server_max_window_bits'])||typeof _0x1c6633[_0x5b108a(0x260)]=='number'&&!_0x15350e[_0x5b108a(0x36a)]));if(!_0x545648)throw new Error('None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted');return _0x1c6633[_0x5b108a(0x213)]&&(_0x545648['server_no_context_takeover']=!0x0),_0x1c6633['clientNoContextTakeover']&&(_0x545648[_0x5b108a(0x38c)]=!0x0),typeof _0x1c6633[_0x5b108a(0x2a6)]==_0x5b108a(0x376)&&(_0x545648[_0x5b108a(0x234)]=_0x1c6633[_0x5b108a(0x2a6)]),typeof _0x1c6633[_0x5b108a(0x260)]==_0x5b108a(0x376)?_0x545648[_0x5b108a(0x36a)]=_0x1c6633[_0x5b108a(0x260)]:(_0x545648[_0x5b108a(0x36a)]===!0x0||_0x1c6633[_0x5b108a(0x260)]===!0x1)&&delete _0x545648[_0x5b108a(0x36a)],_0x545648;}[_0x4f6483(0x29c)](_0x3dc1e4){const _0x1e8457=_0x4f6483,_0x548c60=_0x3dc1e4[0x0];if(this[_0x1e8457(0x33a)][_0x1e8457(0x2ad)]===!0x1&&_0x548c60[_0x1e8457(0x38c)])throw new Error(_0x1e8457(0x32f));if(!_0x548c60[_0x1e8457(0x36a)])typeof this['_options'][_0x1e8457(0x260)]=='number'&&(_0x548c60[_0x1e8457(0x36a)]=this[_0x1e8457(0x33a)][_0x1e8457(0x260)]);else{if(this[_0x1e8457(0x33a)][_0x1e8457(0x260)]===!0x1||typeof this[_0x1e8457(0x33a)]['clientMaxWindowBits']==_0x1e8457(0x376)&&_0x548c60[_0x1e8457(0x36a)]>this['_options']['clientMaxWindowBits'])throw new Error(_0x1e8457(0x243));}return _0x548c60;}['normalizeParams'](_0x55ab9c){const _0x4fbf88=_0x4f6483;return _0x55ab9c[_0x4fbf88(0x276)](_0x2a078b=>{const _0x37834c=_0x4fbf88;Object[_0x37834c(0x2e2)](_0x2a078b)[_0x37834c(0x276)](_0x5a0923=>{const _0x1b6f0a=_0x37834c;let _0x21ba0a=_0x2a078b[_0x5a0923];if(_0x21ba0a[_0x1b6f0a(0x2ab)]>0x1)throw new Error('Parameter\x20\x22'+_0x5a0923+_0x1b6f0a(0x311));if(_0x21ba0a=_0x21ba0a[0x0],_0x5a0923===_0x1b6f0a(0x36a)){if(_0x21ba0a!==!0x0){const _0x580d5=+_0x21ba0a;if(!Number[_0x1b6f0a(0x2db)](_0x580d5)||_0x580d5<0x8||_0x580d5>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x5a0923+_0x1b6f0a(0x391)+_0x21ba0a);_0x21ba0a=_0x580d5;}else{if(!this[_0x1b6f0a(0x296)])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x5a0923+_0x1b6f0a(0x391)+_0x21ba0a);}}else{if(_0x5a0923===_0x1b6f0a(0x234)){const _0x4ac6b9=+_0x21ba0a;if(!Number[_0x1b6f0a(0x2db)](_0x4ac6b9)||_0x4ac6b9<0x8||_0x4ac6b9>0xf)throw new TypeError(_0x1b6f0a(0x396)+_0x5a0923+_0x1b6f0a(0x391)+_0x21ba0a);_0x21ba0a=_0x4ac6b9;}else{if(_0x5a0923==='client_no_context_takeover'||_0x5a0923==='server_no_context_takeover'){if(_0x21ba0a!==!0x0)throw new TypeError(_0x1b6f0a(0x396)+_0x5a0923+_0x1b6f0a(0x391)+_0x21ba0a);}else throw new Error(_0x1b6f0a(0x317)+_0x5a0923+'\x22');}}_0x2a078b[_0x5a0923]=_0x21ba0a;});}),_0x55ab9c;}[_0x4f6483(0x21e)](_0x3cdd73,_0x5e7e4f,_0x42af5d){const _0x28d513=_0x4f6483;_0x5d542d[_0x28d513(0x39e)](_0x55c3df=>{const _0x35285a=_0x28d513;this[_0x35285a(0x22b)](_0x3cdd73,_0x5e7e4f,(_0x5dbf3f,_0xe9b894)=>{_0x55c3df(),_0x42af5d(_0x5dbf3f,_0xe9b894);});});}[_0x4f6483(0x23f)](_0xcc8c1c,_0x105b03,_0x3b3477){const _0x49feaa=_0x4f6483;_0x5d542d[_0x49feaa(0x39e)](_0x109510=>{const _0x59d598=_0x49feaa;this[_0x59d598(0x28b)](_0xcc8c1c,_0x105b03,(_0x5d1b17,_0x221e82)=>{_0x109510(),_0x3b3477(_0x5d1b17,_0x221e82);});});}[_0x4f6483(0x22b)](_0x33cef4,_0x4e7f6b,_0x34f428){const _0x28c368=_0x4f6483,_0x42f482=this[_0x28c368(0x296)]?'client':_0x28c368(0x346);if(!this['_inflate']){const _0x180ed9=_0x42f482+_0x28c368(0x232),_0x4116ee=typeof this[_0x28c368(0x267)][_0x180ed9]!=_0x28c368(0x376)?_0x29292a[_0x28c368(0x38d)]:this['params'][_0x180ed9];this[_0x28c368(0x37b)]=_0x29292a['createInflateRaw']({...this[_0x28c368(0x33a)][_0x28c368(0x395)],'windowBits':_0x4116ee}),this[_0x28c368(0x37b)][_0x1938e2]=this,this[_0x28c368(0x37b)][_0x3bcfcf]=0x0,this[_0x28c368(0x37b)][_0x2e36e1]=[],this[_0x28c368(0x37b)]['on'](_0x28c368(0x1ee),_0x14e445),this[_0x28c368(0x37b)]['on'](_0x28c368(0x233),_0x2d8660);}this[_0x28c368(0x37b)][_0x13e8b7]=_0x34f428,this[_0x28c368(0x37b)][_0x28c368(0x307)](_0x33cef4),_0x4e7f6b&&this[_0x28c368(0x37b)]['write'](_0x29aee3),this[_0x28c368(0x37b)][_0x28c368(0x2de)](()=>{const _0x3c20f4=_0x28c368,_0x386ae8=this[_0x3c20f4(0x37b)][_0xefd9c6];if(_0x386ae8){this['_inflate'][_0x3c20f4(0x2ac)](),this[_0x3c20f4(0x37b)]=null,_0x34f428(_0x386ae8);return;}const _0x1f6a8f=_0x518ab7[_0x3c20f4(0x378)](this[_0x3c20f4(0x37b)][_0x2e36e1],this[_0x3c20f4(0x37b)][_0x3bcfcf]);this[_0x3c20f4(0x37b)][_0x3c20f4(0x348)][_0x3c20f4(0x22a)]?(this[_0x3c20f4(0x37b)][_0x3c20f4(0x2ac)](),this[_0x3c20f4(0x37b)]=null):(this[_0x3c20f4(0x37b)][_0x3bcfcf]=0x0,this[_0x3c20f4(0x37b)][_0x2e36e1]=[],_0x4e7f6b&&this[_0x3c20f4(0x267)][_0x42f482+_0x3c20f4(0x251)]&&this['_inflate'][_0x3c20f4(0x228)]()),_0x34f428(null,_0x1f6a8f);});}[_0x4f6483(0x28b)](_0x24976f,_0x6111b4,_0x39bd4e){const _0xcd7ff6=_0x4f6483,_0x1710b4=this[_0xcd7ff6(0x296)]?'server':_0xcd7ff6(0x2dd);if(!this['_deflate']){const _0x42b6fe=_0x1710b4+_0xcd7ff6(0x232),_0x5227f6=typeof this['params'][_0x42b6fe]!=_0xcd7ff6(0x376)?_0x29292a[_0xcd7ff6(0x38d)]:this['params'][_0x42b6fe];this['_deflate']=_0x29292a[_0xcd7ff6(0x24a)]({...this[_0xcd7ff6(0x33a)][_0xcd7ff6(0x382)],'windowBits':_0x5227f6}),this[_0xcd7ff6(0x289)][_0x3bcfcf]=0x0,this[_0xcd7ff6(0x289)][_0x2e36e1]=[],this[_0xcd7ff6(0x289)]['on'](_0xcd7ff6(0x233),_0x42b035);}this['_deflate'][_0x13e8b7]=_0x39bd4e,this['_deflate'][_0xcd7ff6(0x307)](_0x24976f),this['_deflate'][_0xcd7ff6(0x2de)](_0x29292a['Z_SYNC_FLUSH'],()=>{const _0x2e8ae7=_0xcd7ff6;if(!this[_0x2e8ae7(0x289)])return;let _0x349ce4=_0x518ab7[_0x2e8ae7(0x378)](this[_0x2e8ae7(0x289)][_0x2e36e1],this['_deflate'][_0x3bcfcf]);_0x6111b4&&(_0x349ce4=new _0xab5aab(_0x349ce4[_0x2e8ae7(0x2b9)],_0x349ce4[_0x2e8ae7(0x205)],_0x349ce4[_0x2e8ae7(0x2ab)]-0x4)),this[_0x2e8ae7(0x289)][_0x13e8b7]=null,this[_0x2e8ae7(0x289)][_0x3bcfcf]=0x0,this['_deflate'][_0x2e36e1]=[],_0x6111b4&&this[_0x2e8ae7(0x267)][_0x1710b4+_0x2e8ae7(0x251)]&&this[_0x2e8ae7(0x289)][_0x2e8ae7(0x228)](),_0x39bd4e(null,_0x349ce4);});}}Se=_0x946318;function _0x42b035(_0x5a8516){const _0x530706=_0x4f6483;this[_0x2e36e1][_0x530706(0x1f2)](_0x5a8516),this[_0x3bcfcf]+=_0x5a8516['length'];}function _0x2d8660(_0xf57f76){const _0x5eaf60=_0x4f6483;if(this[_0x3bcfcf]+=_0xf57f76['length'],this[_0x1938e2][_0x5eaf60(0x2d7)]<0x1||this[_0x3bcfcf]<=this[_0x1938e2]['_maxPayload']){this[_0x2e36e1][_0x5eaf60(0x1f2)](_0xf57f76);return;}this[_0xefd9c6]=new RangeError('Max\x20payload\x20size\x20exceeded'),this[_0xefd9c6][_0x5eaf60(0x30c)]=_0x5eaf60(0x38b),this[_0xefd9c6][_0x1e4663]=0x3f1,this[_0x5eaf60(0x238)](_0x5eaf60(0x233),_0x2d8660),this[_0x5eaf60(0x228)]();}function _0x14e445(_0x4d180f){const _0x3511e6=_0x4f6483;this[_0x1938e2][_0x3511e6(0x37b)]=null,_0x4d180f[_0x1e4663]=0x3ef,this[_0x13e8b7](_0x4d180f);}return Se;}var re={'exports':{}};function _0x58f2(){const _0x2ef59a=['getPayloadLength16','options','binary','kByteLength','_allowSynchronousEvents','slice','_extensions','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','client_no_context_takeover','Z_DEFAULT_WINDOWBITS','_queue','_closeCode','ping','\x22:\x20','hash','jobs','kType','zlibInflateOptions','Invalid\x20value\x20for\x20parameter\x20\x22','blob','arrayBuffer','_loop','9351tmlMEn','_injector','destroy','Maximum\x20redirects\x20exceeded','add','Invalid\x20WebSocket\x20frame:\x20','kIsForOnEventAttribute','error','cleanup','next','_binaryType','push','_registerDependencies','setConfig','_closeTimer','CLOSED','digest','readUInt16BE','readOnly','getMask','address','nextTick','binaryType','Basic\x20','_state','type','\x22\x20subprotocol\x20is\x20duplicated','search','_originalIpc','unshift','byteOffset','_firstFragment','path','269454MejWWi','startLoop','offer','concurrency','kTarget','sec-websocket-accept','authorization','arraybuffer','noServer','cookie','setNoDelay','serverNoContextTakeover','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','_messageLength','shouldHandle','getInfo','protocolVersion','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','resume','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','Unsupported\x20protocol\x20version:\x20','allocUnsafe','decompress','FIN\x20must\x20be\x20set','pause','writeUIntBE','total-length','onStarting','_server','http:','dispatch','kWasClean','reset','WS_NO_UTF_8_VALIDATE','endEmitted','_decompress','headers','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','252292jBmeuN','size','connect','end','_max_window_bits','data','server_max_window_bits','charCodeAt','fin','origin','removeListener','_protocol','isArray','destroyed','get','open','base64','compress','listeners','Sec-WebSocket-Origin','concurrencyLimit','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','replace','HTTP/1.1\x20101\x20Switching\x20Protocols','Invalid\x20Sec-WebSocket-Protocol\x20header','MASK\x20must\x20be\x20set','toString','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','createDeflateRaw','Sec-WebSocket-Protocol:\x20','find','nodebuffer','string','File','getPayloadLength64','_no_context_takeover','WS_ERR_EXPECTED_FIN','Origin','allowSynchronousEvents','set','sec-websocket-protocol','_generateMask','captureStackTrace','MASK\x20must\x20be\x20clear','sec-websocket-origin','_errored','method','https:','username','Unexpected\x20end\x20of\x20input','clientMaxWindowBits','hostname','authorized','Invalid\x20URL:\x20','target','WS_ERR_INVALID_UTF8','_closeMessage','params','finished','WS_ERR_INVALID_OPCODE','Sec-WebSocket-Accept:\x20','10HIBxZI','_compressed','312102qUxgjK','format','isValidUTF8','_writableState','Invalid\x20Upgrade\x20header','_read','registerHTTPInterceptor','WS_ERR_EXPECTED_MASK','_fin','forEach','_mask','haveLength','controlMessage','accept','server_no_context_takeover','getOwnPropertyDescriptor','Invalid\x20Sec-WebSocket-Extensions\x20header','_configService','finish','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','location','isBuffer','kMessage','kData','sha1','dataMessage','_write','STATUS_CODES','_deflate','from','_compress','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','_httpService','buffers','_paused','_redirects','mask','password','defineProperty','autoPong','readable','_isServer','writeUInt16BE','_bufferedBytes','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','handleProtocols','_url','acceptAsClient','writable','_sender','websocket','Unexpected\x20character\x20at\x20index\x20','followRedirects','isView','customHeaders','freeze','_originalSecure','serverMaxWindowBits','socket','warn','\x0d\x0a\x0d\x0a','threshold','length','close','clientNoContextTakeover','setHeader','abort','values','kError','socketPath','pipe','redirect','invalid\x20opcode\x20','RSV1\x20must\x20be\x20clear','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','invalid\x20UTF-8\x20sequence','buffer','object','bufferedAmount','_threshold','backlog','emit','isPaused','pathname','OPEN','frame','_errorEmitted','call','_destroy','setSocket','constructor','_closeFrameReceived','conclude','onerror','Sec-WebSocket-Protocol','_totalPayloadLength','timeout','perMessageDeflate','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','byteLength','getData','sendFrame','getConfig','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','_autoPong','HTTP/1.1\x20','_maxPayload','prototype','defaultPort','apply','isInteger','Max\x20payload\x20size\x20exceeded','client','flush','uncork','construct','has','keys','rsv1','reason','WebSocket\x20is\x20not\x20open:\x20readyState\x20','Sec-WebSocket-Extensions:\x20','map','ws:','message','Blob','text/plain','addEventListener','pong','emitClose','finishRequest','Opening\x20handshake\x20has\x20timed\x20out','servername','species','once','consume','exports','pluginName','drain','wasClean','readyState','_readyState','enqueue','callback','permessage-deflate','port','catch','href','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','writeHead','35lnYoIx','wss:','360tZUjTG','terminate','write','Upgrade','test','handshakeTimeout','protocol','code','indexOf','8710rpOfyj','completeUpgrade','getBlobData','\x22\x20must\x20have\x20only\x20a\x20single\x20value','Cookie','_req','update','_removeListeners','setTimeout','Unknown\x20parameter\x20\x22','objectMode','WS_ERR_UNEXPECTED_MASK','toLowerCase','request','sec-websocket-key','stream','clientTracking','shift','default','env','isServer','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','removeEventListener','skipUTF8Validation','unexpected-response','kDone','url','The\x20\x22','bind','listenerCount','_skipUTF8Validation','CONNECTING','generateMask','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','extensionName','kAborted','verifyClient','split','readUInt32BE','auth','4222YZzoou','delete','invalid\x20status\x20code\x20','_final','_options','handleUpgrade','_maskBuffer','_payloadLength','function','46134rIwRyn','alloc','maxRedirects','isIP','includes','clients','handleEvent','server','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','_readableState','toStringTag','createError','unmask','Module','Sec-WebSocket-Extensions','_doCreateSocket','WS_NO_BUFFER_UTIL','GET','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','createSocket','_buffers','WebSocket','maxPayload','_fragments','pending','_closeFrameSent','_opcode','host','join','_receiver','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','removeAllListeners','_bufferedAmount','_socket','createConnection','kListener','upgrade','acceptAsServer','_shouldEmitClose','createServer','errorEmitted','_fragmented','kRun','client_max_window_bits','invalid\x20payload\x20length\x20','needDrain','178JDqUtR','CLOSING','_originalHostOrSocketPath','startsWith','create','WS_ERR_UNEXPECTED_RSV_1','_masked','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','listening','number','wsClientError','concat','onmessage','3443240AJJFJX','_inflate','invalid\x20opcode\x200','parse','send','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','__esModule','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','zlibDeflateOptions','extensions'];_0x58f2=function(){return _0x2ef59a;};return _0x58f2();}const zt={},Yt=Object[_0x7c1347(0x2a4)](Object[_0x7c1347(0x293)]({'__proto__':null,'default':zt},Symbol['toStringTag'],{'value':_0x7c1347(0x34c)})),Kt=ht(Yt);var Qe;function ne(){const _0x7910b2=_0x7c1347;if(Qe)return re[_0x7910b2(0x2f5)];Qe=0x1;const {isUtf8:_0x412e16}=_0x308431,{hasBlob:_0x3aef17}=V(),_0x547aba=[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 _0x57b1ee(_0x467367){return _0x467367>=0x3e8&&_0x467367<=0x3f6&&_0x467367!==0x3ec&&_0x467367!==0x3ed&&_0x467367!==0x3ee||_0x467367>=0xbb8&&_0x467367<=0x1387;}function _0x34d361(_0x1810b4){const _0x3c2182=_0x1810b4['length'];let _0xd4a8a9=0x0;for(;_0xd4a8a9<_0x3c2182;)if(!(_0x1810b4[_0xd4a8a9]&0x80))_0xd4a8a9++;else{if((_0x1810b4[_0xd4a8a9]&0xe0)===0xc0){if(_0xd4a8a9+0x1===_0x3c2182||(_0x1810b4[_0xd4a8a9+0x1]&0xc0)!==0x80||(_0x1810b4[_0xd4a8a9]&0xfe)===0xc0)return!0x1;_0xd4a8a9+=0x2;}else{if((_0x1810b4[_0xd4a8a9]&0xf0)===0xe0){if(_0xd4a8a9+0x2>=_0x3c2182||(_0x1810b4[_0xd4a8a9+0x1]&0xc0)!==0x80||(_0x1810b4[_0xd4a8a9+0x2]&0xc0)!==0x80||_0x1810b4[_0xd4a8a9]===0xe0&&(_0x1810b4[_0xd4a8a9+0x1]&0xe0)===0x80||_0x1810b4[_0xd4a8a9]===0xed&&(_0x1810b4[_0xd4a8a9+0x1]&0xe0)===0xa0)return!0x1;_0xd4a8a9+=0x3;}else{if((_0x1810b4[_0xd4a8a9]&0xf8)===0xf0){if(_0xd4a8a9+0x3>=_0x3c2182||(_0x1810b4[_0xd4a8a9+0x1]&0xc0)!==0x80||(_0x1810b4[_0xd4a8a9+0x2]&0xc0)!==0x80||(_0x1810b4[_0xd4a8a9+0x3]&0xc0)!==0x80||_0x1810b4[_0xd4a8a9]===0xf0&&(_0x1810b4[_0xd4a8a9+0x1]&0xf0)===0x80||_0x1810b4[_0xd4a8a9]===0xf4&&_0x1810b4[_0xd4a8a9+0x1]>0x8f||_0x1810b4[_0xd4a8a9]>0xf4)return!0x1;_0xd4a8a9+=0x4;}else return!0x1;}}}return!0x0;}function _0xe89645(_0xc627ff){const _0x2d7de0=_0x7910b2;return _0x3aef17&&typeof _0xc627ff==_0x2d7de0(0x2ba)&&typeof _0xc627ff[_0x2d7de0(0x398)]==_0x2d7de0(0x33e)&&typeof _0xc627ff[_0x2d7de0(0x200)]=='string'&&typeof _0xc627ff[_0x2d7de0(0x31d)]=='function'&&(_0xc627ff[Symbol[_0x2d7de0(0x349)]]===_0x2d7de0(0x2ea)||_0xc627ff[Symbol[_0x2d7de0(0x349)]]===_0x2d7de0(0x24f));}if(re[_0x7910b2(0x2f5)]={'isBlob':_0xe89645,'isValidStatusCode':_0x57b1ee,'isValidUTF8':_0x34d361,'tokenChars':_0x547aba},_0x412e16)re[_0x7910b2(0x2f5)]['isValidUTF8']=function(_0x48c63b){const _0x378508=_0x7910b2;return _0x48c63b[_0x378508(0x2ab)]<0x18?_0x34d361(_0x48c63b):_0x412e16(_0x48c63b);};else{if(!process['env'][_0x7910b2(0x229)])try{const _0xd97d27=Kt;re[_0x7910b2(0x2f5)][_0x7910b2(0x26f)]=function(_0x2ee554){const _0x243cf0=_0x7910b2;return _0x2ee554[_0x243cf0(0x2ab)]<0x20?_0x34d361(_0x2ee554):_0xd97d27(_0x2ee554);};}catch{}}return re[_0x7910b2(0x2f5)];}var Ee,Je;function ut(){const _0x8d46f6=_0x7c1347;if(Je)return Ee;Je=0x1;const {Writable:_0x12cc1f}=_0x28ed20,_0x4df4d0=he(),{BINARY_TYPES:_0x169a9f,EMPTY_BUFFER:_0x43ac0d,kStatusCode:_0x30da37,kWebSocket:_0xc9232d}=V(),{concat:_0x39ff06,toArrayBuffer:_0x2cc088,unmask:_0x12acaa}=ce(),{isValidStatusCode:_0x3f5906,isValidUTF8:_0x1edec1}=ne(),_0x55cb07=Buffer[Symbol[_0x8d46f6(0x2f2)]],_0x1c2e6a=0x0,_0x3eacd4=0x1,_0x4dda28=0x2,_0x2e527f=0x3,_0x4d31b4=0x4,_0x46c6e7=0x5,_0xd542d0=0x6;class _0x2ee772 extends _0x12cc1f{constructor(_0x273857={}){const _0x4c5382=_0x8d46f6;super(),this['_allowSynchronousEvents']=_0x273857[_0x4c5382(0x254)]!==void 0x0?_0x273857['allowSynchronousEvents']:!0x0,this['_binaryType']=_0x273857[_0x4c5382(0x1fd)]||_0x169a9f[0x0],this['_extensions']=_0x273857[_0x4c5382(0x383)]||{},this[_0x4c5382(0x296)]=!!_0x273857[_0x4c5382(0x322)],this[_0x4c5382(0x2d7)]=_0x273857['maxPayload']|0x0,this[_0x4c5382(0x32c)]=!!_0x273857[_0x4c5382(0x325)],this[_0xc9232d]=void 0x0,this[_0x4c5382(0x298)]=0x0,this[_0x4c5382(0x353)]=[],this[_0x4c5382(0x26c)]=!0x1,this[_0x4c5382(0x33d)]=0x0,this[_0x4c5382(0x277)]=void 0x0,this[_0x4c5382(0x368)]=0x0,this[_0x4c5382(0x373)]=!0x1,this['_fin']=!0x1,this[_0x4c5382(0x359)]=0x0,this[_0x4c5382(0x2cc)]=0x0,this[_0x4c5382(0x215)]=0x0,this[_0x4c5382(0x356)]=[],this[_0x4c5382(0x25b)]=!0x1,this[_0x4c5382(0x399)]=!0x1,this[_0x4c5382(0x1ff)]=_0x1c2e6a;}[_0x8d46f6(0x287)](_0x355e7e,_0x510058,_0x80a826){const _0x425cf1=_0x8d46f6;if(this[_0x425cf1(0x359)]===0x8&&this[_0x425cf1(0x1ff)]==_0x1c2e6a)return _0x80a826();this[_0x425cf1(0x298)]+=_0x355e7e['length'],this[_0x425cf1(0x353)][_0x425cf1(0x1f2)](_0x355e7e),this['startLoop'](_0x80a826);}['consume'](_0x36d992){const _0xebcc5c=_0x8d46f6;if(this['_bufferedBytes']-=_0x36d992,_0x36d992===this['_buffers'][0x0][_0xebcc5c(0x2ab)])return this[_0xebcc5c(0x353)][_0xebcc5c(0x31f)]();if(_0x36d992<this[_0xebcc5c(0x353)][0x0]['length']){const _0x146781=this[_0xebcc5c(0x353)][0x0];return this[_0xebcc5c(0x353)][0x0]=new _0x55cb07(_0x146781[_0xebcc5c(0x2b9)],_0x146781[_0xebcc5c(0x205)]+_0x36d992,_0x146781[_0xebcc5c(0x2ab)]-_0x36d992),new _0x55cb07(_0x146781[_0xebcc5c(0x2b9)],_0x146781[_0xebcc5c(0x205)],_0x36d992);}const _0x27cbbc=Buffer[_0xebcc5c(0x21d)](_0x36d992);do{const _0xb9fdaf=this[_0xebcc5c(0x353)][0x0],_0x32c427=_0x27cbbc[_0xebcc5c(0x2ab)]-_0x36d992;_0x36d992>=_0xb9fdaf[_0xebcc5c(0x2ab)]?_0x27cbbc['set'](this[_0xebcc5c(0x353)][_0xebcc5c(0x31f)](),_0x32c427):(_0x27cbbc[_0xebcc5c(0x255)](new Uint8Array(_0xb9fdaf[_0xebcc5c(0x2b9)],_0xb9fdaf[_0xebcc5c(0x205)],_0x36d992),_0x32c427),this[_0xebcc5c(0x353)][0x0]=new _0x55cb07(_0xb9fdaf[_0xebcc5c(0x2b9)],_0xb9fdaf[_0xebcc5c(0x205)]+_0x36d992,_0xb9fdaf[_0xebcc5c(0x2ab)]-_0x36d992)),_0x36d992-=_0xb9fdaf[_0xebcc5c(0x2ab)];}while(_0x36d992>0x0);return _0x27cbbc;}['startLoop'](_0x40164d){const _0x3f5fe4=_0x8d46f6;this[_0x3f5fe4(0x399)]=!0x0;do switch(this[_0x3f5fe4(0x1ff)]){case _0x1c2e6a:this['getInfo'](_0x40164d);break;case _0x3eacd4:this[_0x3f5fe4(0x384)](_0x40164d);break;case _0x4dda28:this[_0x3f5fe4(0x250)](_0x40164d);break;case _0x2e527f:this[_0x3f5fe4(0x1fa)]();break;case _0x4d31b4:this['getData'](_0x40164d);break;case _0x46c6e7:case _0xd542d0:this[_0x3f5fe4(0x399)]=!0x1;return;}while(this[_0x3f5fe4(0x399)]);this['_errored']||_0x40164d();}[_0x8d46f6(0x217)](_0x78304f){const _0x2957d5=_0x8d46f6;if(this[_0x2957d5(0x298)]<0x2){this[_0x2957d5(0x399)]=!0x1;return;}const _0x3941d5=this['consume'](0x2);if(_0x3941d5[0x0]&0x30){const _0x9b62a1=this[_0x2957d5(0x34a)](RangeError,_0x2957d5(0x2b7),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0x78304f(_0x9b62a1);return;}const _0x348eff=(_0x3941d5[0x0]&0x40)===0x40;if(_0x348eff&&!this[_0x2957d5(0x38a)][_0x4df4d0['extensionName']]){const _0x5481c0=this[_0x2957d5(0x34a)](RangeError,_0x2957d5(0x2b6),!0x0,0x3ea,_0x2957d5(0x372));_0x78304f(_0x5481c0);return;}if(this[_0x2957d5(0x275)]=(_0x3941d5[0x0]&0x80)===0x80,this[_0x2957d5(0x359)]=_0x3941d5[0x0]&0xf,this[_0x2957d5(0x33d)]=_0x3941d5[0x1]&0x7f,this[_0x2957d5(0x359)]===0x0){if(_0x348eff){const _0x4e1fc9=this[_0x2957d5(0x34a)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x2957d5(0x372));_0x78304f(_0x4e1fc9);return;}if(!this[_0x2957d5(0x368)]){const _0x1b34d6=this[_0x2957d5(0x34a)](RangeError,_0x2957d5(0x37c),!0x0,0x3ea,_0x2957d5(0x269));_0x78304f(_0x1b34d6);return;}this[_0x2957d5(0x359)]=this[_0x2957d5(0x368)];}else{if(this[_0x2957d5(0x359)]===0x1||this[_0x2957d5(0x359)]===0x2){if(this[_0x2957d5(0x368)]){const _0x12f9c0=this['createError'](RangeError,'invalid\x20opcode\x20'+this[_0x2957d5(0x359)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x78304f(_0x12f9c0);return;}this[_0x2957d5(0x26c)]=_0x348eff;}else{if(this['_opcode']>0x7&&this[_0x2957d5(0x359)]<0xb){if(!this[_0x2957d5(0x275)]){const _0x3a21f0=this[_0x2957d5(0x34a)](RangeError,_0x2957d5(0x21f),!0x0,0x3ea,_0x2957d5(0x252));_0x78304f(_0x3a21f0);return;}if(_0x348eff){const _0x3b00a3=this[_0x2957d5(0x34a)](RangeError,_0x2957d5(0x2b6),!0x0,0x3ea,_0x2957d5(0x372));_0x78304f(_0x3b00a3);return;}if(this[_0x2957d5(0x33d)]>0x7d||this[_0x2957d5(0x359)]===0x8&&this[_0x2957d5(0x33d)]===0x1){const _0x336765=this[_0x2957d5(0x34a)](RangeError,_0x2957d5(0x36b)+this['_payloadLength'],!0x0,0x3ea,_0x2957d5(0x299));_0x78304f(_0x336765);return;}}else{const _0x25af6e=this[_0x2957d5(0x34a)](RangeError,_0x2957d5(0x2b5)+this['_opcode'],!0x0,0x3ea,_0x2957d5(0x269));_0x78304f(_0x25af6e);return;}}}if(!this[_0x2957d5(0x275)]&&!this[_0x2957d5(0x368)]&&(this[_0x2957d5(0x368)]=this['_opcode']),this[_0x2957d5(0x373)]=(_0x3941d5[0x1]&0x80)===0x80,this[_0x2957d5(0x296)]){if(!this['_masked']){const _0x14dd70=this[_0x2957d5(0x34a)](RangeError,_0x2957d5(0x247),!0x0,0x3ea,_0x2957d5(0x274));_0x78304f(_0x14dd70);return;}}else{if(this[_0x2957d5(0x373)]){const _0x50e39a=this['createError'](RangeError,_0x2957d5(0x259),!0x0,0x3ea,_0x2957d5(0x319));_0x78304f(_0x50e39a);return;}}this['_payloadLength']===0x7e?this['_state']=_0x3eacd4:this['_payloadLength']===0x7f?this[_0x2957d5(0x1ff)]=_0x4dda28:this[_0x2957d5(0x278)](_0x78304f);}[_0x8d46f6(0x384)](_0x2c6960){const _0x421edc=_0x8d46f6;if(this[_0x421edc(0x298)]<0x2){this[_0x421edc(0x399)]=!0x1;return;}this[_0x421edc(0x33d)]=this['consume'](0x2)[_0x421edc(0x1f8)](0x0),this['haveLength'](_0x2c6960);}[_0x8d46f6(0x250)](_0x7a2795){const _0x3b2e7e=_0x8d46f6;if(this[_0x3b2e7e(0x298)]<0x8){this[_0x3b2e7e(0x399)]=!0x1;return;}const _0x33bb6e=this[_0x3b2e7e(0x2f4)](0x8),_0x2959a8=_0x33bb6e[_0x3b2e7e(0x334)](0x0);if(_0x2959a8>Math['pow'](0x2,0x15)-0x1){const _0x287861=this[_0x3b2e7e(0x34a)](RangeError,_0x3b2e7e(0x214),!0x1,0x3f1,_0x3b2e7e(0x28c));_0x7a2795(_0x287861);return;}this[_0x3b2e7e(0x33d)]=_0x2959a8*Math['pow'](0x2,0x20)+_0x33bb6e[_0x3b2e7e(0x334)](0x4),this[_0x3b2e7e(0x278)](_0x7a2795);}[_0x8d46f6(0x278)](_0x17940c){const _0x4f3c3e=_0x8d46f6;if(this[_0x4f3c3e(0x33d)]&&this[_0x4f3c3e(0x359)]<0x8&&(this[_0x4f3c3e(0x2cc)]+=this[_0x4f3c3e(0x33d)],this[_0x4f3c3e(0x2cc)]>this[_0x4f3c3e(0x2d7)]&&this['_maxPayload']>0x0)){const _0x6dbe5b=this['createError'](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x4f3c3e(0x38b));_0x17940c(_0x6dbe5b);return;}this[_0x4f3c3e(0x373)]?this[_0x4f3c3e(0x1ff)]=_0x2e527f:this[_0x4f3c3e(0x1ff)]=_0x4d31b4;}[_0x8d46f6(0x1fa)](){const _0x523e5d=_0x8d46f6;if(this['_bufferedBytes']<0x4){this['_loop']=!0x1;return;}this['_mask']=this[_0x523e5d(0x2f4)](0x4),this[_0x523e5d(0x1ff)]=_0x4d31b4;}[_0x8d46f6(0x2d1)](_0x45159f){const _0x330b53=_0x8d46f6;let _0x4bf17b=_0x43ac0d;if(this[_0x330b53(0x33d)]){if(this[_0x330b53(0x298)]<this[_0x330b53(0x33d)]){this[_0x330b53(0x399)]=!0x1;return;}_0x4bf17b=this[_0x330b53(0x2f4)](this[_0x330b53(0x33d)]),this[_0x330b53(0x373)]&&this[_0x330b53(0x277)][0x0]|this[_0x330b53(0x277)][0x1]|this['_mask'][0x2]|this[_0x330b53(0x277)][0x3]&&_0x12acaa(_0x4bf17b,this[_0x330b53(0x277)]);}if(this['_opcode']>0x7){this[_0x330b53(0x279)](_0x4bf17b,_0x45159f);return;}if(this['_compressed']){this['_state']=_0x46c6e7,this[_0x330b53(0x21e)](_0x4bf17b,_0x45159f);return;}_0x4bf17b[_0x330b53(0x2ab)]&&(this[_0x330b53(0x215)]=this[_0x330b53(0x2cc)],this['_fragments'][_0x330b53(0x1f2)](_0x4bf17b)),this[_0x330b53(0x286)](_0x45159f);}[_0x8d46f6(0x21e)](_0x5bf0b0,_0x110317){const _0x4f791b=_0x8d46f6;this[_0x4f791b(0x38a)][_0x4df4d0[_0x4f791b(0x330)]][_0x4f791b(0x21e)](_0x5bf0b0,this[_0x4f791b(0x275)],(_0x465bb2,_0x27ed1e)=>{const _0x20821e=_0x4f791b;if(_0x465bb2)return _0x110317(_0x465bb2);if(_0x27ed1e[_0x20821e(0x2ab)]){if(this[_0x20821e(0x215)]+=_0x27ed1e['length'],this[_0x20821e(0x215)]>this[_0x20821e(0x2d7)]&&this['_maxPayload']>0x0){const _0x3852b8=this['createError'](RangeError,_0x20821e(0x2dc),!0x1,0x3f1,_0x20821e(0x38b));_0x110317(_0x3852b8);return;}this[_0x20821e(0x356)][_0x20821e(0x1f2)](_0x27ed1e);}this[_0x20821e(0x286)](_0x110317),this[_0x20821e(0x1ff)]===_0x1c2e6a&&this[_0x20821e(0x209)](_0x110317);});}[_0x8d46f6(0x286)](_0xaa9ca5){const _0x5e4c3b=_0x8d46f6;if(!this[_0x5e4c3b(0x275)]){this[_0x5e4c3b(0x1ff)]=_0x1c2e6a;return;}const _0x372614=this['_messageLength'],_0x3cd1e6=this[_0x5e4c3b(0x356)];if(this[_0x5e4c3b(0x2cc)]=0x0,this[_0x5e4c3b(0x215)]=0x0,this[_0x5e4c3b(0x368)]=0x0,this[_0x5e4c3b(0x356)]=[],this[_0x5e4c3b(0x359)]===0x2){let _0xc573f2;this[_0x5e4c3b(0x1f1)]===_0x5e4c3b(0x24d)?_0xc573f2=_0x39ff06(_0x3cd1e6,_0x372614):this[_0x5e4c3b(0x1f1)]==='arraybuffer'?_0xc573f2=_0x2cc088(_0x39ff06(_0x3cd1e6,_0x372614)):this['_binaryType']==='blob'?_0xc573f2=new Blob(_0x3cd1e6):_0xc573f2=_0x3cd1e6,this[_0x5e4c3b(0x388)]?(this[_0x5e4c3b(0x2be)](_0x5e4c3b(0x2e9),_0xc573f2,!0x0),this[_0x5e4c3b(0x1ff)]=_0x1c2e6a):(this[_0x5e4c3b(0x1ff)]=_0xd542d0,setImmediate(()=>{const _0x55d78e=_0x5e4c3b;this['emit'](_0x55d78e(0x2e9),_0xc573f2,!0x0),this[_0x55d78e(0x1ff)]=_0x1c2e6a,this['startLoop'](_0xaa9ca5);}));}else{const _0x393041=_0x39ff06(_0x3cd1e6,_0x372614);if(!this[_0x5e4c3b(0x32c)]&&!_0x1edec1(_0x393041)){const _0x6c10c5=this[_0x5e4c3b(0x34a)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x5e4c3b(0x265));_0xaa9ca5(_0x6c10c5);return;}this[_0x5e4c3b(0x1ff)]===_0x46c6e7||this[_0x5e4c3b(0x388)]?(this['emit']('message',_0x393041,!0x1),this['_state']=_0x1c2e6a):(this[_0x5e4c3b(0x1ff)]=_0xd542d0,setImmediate(()=>{const _0x385c40=_0x5e4c3b;this['emit'](_0x385c40(0x2e9),_0x393041,!0x1),this[_0x385c40(0x1ff)]=_0x1c2e6a,this[_0x385c40(0x209)](_0xaa9ca5);}));}}['controlMessage'](_0x3fe334,_0x16134e){const _0x79e272=_0x8d46f6;if(this[_0x79e272(0x359)]===0x8){if(_0x3fe334[_0x79e272(0x2ab)]===0x0)this[_0x79e272(0x399)]=!0x1,this[_0x79e272(0x2be)](_0x79e272(0x2c9),0x3ed,_0x43ac0d),this['end']();else{const _0x5e0e37=_0x3fe334[_0x79e272(0x1f8)](0x0);if(!_0x3f5906(_0x5e0e37)){const _0x5a6dfc=this[_0x79e272(0x34a)](RangeError,_0x79e272(0x338)+_0x5e0e37,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0x16134e(_0x5a6dfc);return;}const _0x2f5645=new _0x55cb07(_0x3fe334[_0x79e272(0x2b9)],_0x3fe334[_0x79e272(0x205)]+0x2,_0x3fe334[_0x79e272(0x2ab)]-0x2);if(!this[_0x79e272(0x32c)]&&!_0x1edec1(_0x2f5645)){const _0x101a1a=this['createError'](Error,_0x79e272(0x2b8),!0x0,0x3ef,_0x79e272(0x265));_0x16134e(_0x101a1a);return;}this[_0x79e272(0x399)]=!0x1,this[_0x79e272(0x2be)](_0x79e272(0x2c9),_0x5e0e37,_0x2f5645),this['end']();}this[_0x79e272(0x1ff)]=_0x1c2e6a;return;}this[_0x79e272(0x388)]?(this[_0x79e272(0x2be)](this['_opcode']===0x9?_0x79e272(0x390):_0x79e272(0x2ed),_0x3fe334),this[_0x79e272(0x1ff)]=_0x1c2e6a):(this[_0x79e272(0x1ff)]=_0xd542d0,setImmediate(()=>{const _0x38efea=_0x79e272;this[_0x38efea(0x2be)](this[_0x38efea(0x359)]===0x9?_0x38efea(0x390):'pong',_0x3fe334),this['_state']=_0x1c2e6a,this[_0x38efea(0x209)](_0x16134e);}));}['createError'](_0x479df8,_0x49f203,_0x2f8ded,_0x494785,_0x2d7783){const _0x3d9a4c=_0x8d46f6;this[_0x3d9a4c(0x399)]=!0x1,this['_errored']=!0x0;const _0x588f4f=new _0x479df8(_0x2f8ded?_0x3d9a4c(0x39f)+_0x49f203:_0x49f203);return Error[_0x3d9a4c(0x258)](_0x588f4f,this[_0x3d9a4c(0x34a)]),_0x588f4f['code']=_0x2d7783,_0x588f4f[_0x30da37]=_0x494785,_0x588f4f;}}return Ee=_0x2ee772,Ee;}ut();var xe,et;function dt(){const _0x59549e=_0x7c1347;if(et)return xe;et=0x1;const {Duplex:_0x1a0b17}=_0x28ed20,{randomFillSync:_0x4862cc}=_0x2db855,_0x11abab=he(),{EMPTY_BUFFER:_0x20b08e,kWebSocket:_0x21f9bb,NOOP:_0x5d4a32}=V(),{isBlob:_0xe30d8c,isValidStatusCode:_0x3fe969}=ne(),{mask:_0x105fcd,toBuffer:_0x23b700}=ce(),_0xcbe227=Symbol(_0x59549e(0x387)),_0x1e2c97=Buffer[_0x59549e(0x340)](0x4),_0x38b0b9=0x8*0x400;let _0xf2fa23,_0xdb5f16=_0x38b0b9;const _0x555a16=0x0,_0x1b232b=0x1,_0x6ebb47=0x2;class _0x631691{constructor(_0xd2f734,_0x15e52c,_0x28d2f6){const _0x2857c2=_0x59549e;this[_0x2857c2(0x38a)]=_0x15e52c||{},_0x28d2f6&&(this[_0x2857c2(0x257)]=_0x28d2f6,this[_0x2857c2(0x33c)]=Buffer['alloc'](0x4)),this[_0x2857c2(0x360)]=_0xd2f734,this[_0x2857c2(0x206)]=!0x0,this['_compress']=!0x1,this['_bufferedBytes']=0x0,this[_0x2857c2(0x38e)]=[],this['_state']=_0x555a16,this['onerror']=_0x5d4a32,this[_0x21f9bb]=void 0x0;}static[_0x59549e(0x2c2)](_0x975f57,_0x59877c){const _0x3b3afe=_0x59549e;let _0x545e46,_0x4c92c1=!0x1,_0x22454c=0x2,_0x2edde3=!0x1;_0x59877c[_0x3b3afe(0x291)]&&(_0x545e46=_0x59877c['maskBuffer']||_0x1e2c97,_0x59877c[_0x3b3afe(0x32e)]?_0x59877c['generateMask'](_0x545e46):(_0xdb5f16===_0x38b0b9&&(_0xf2fa23===void 0x0&&(_0xf2fa23=Buffer[_0x3b3afe(0x340)](_0x38b0b9)),_0x4862cc(_0xf2fa23,0x0,_0x38b0b9),_0xdb5f16=0x0),_0x545e46[0x0]=_0xf2fa23[_0xdb5f16++],_0x545e46[0x1]=_0xf2fa23[_0xdb5f16++],_0x545e46[0x2]=_0xf2fa23[_0xdb5f16++],_0x545e46[0x3]=_0xf2fa23[_0xdb5f16++]),_0x2edde3=(_0x545e46[0x0]|_0x545e46[0x1]|_0x545e46[0x2]|_0x545e46[0x3])===0x0,_0x22454c=0x6);let _0x561641;typeof _0x975f57==_0x3b3afe(0x24e)?(!_0x59877c['mask']||_0x2edde3)&&_0x59877c[_0xcbe227]!==void 0x0?_0x561641=_0x59877c[_0xcbe227]:(_0x975f57=Buffer[_0x3b3afe(0x28a)](_0x975f57),_0x561641=_0x975f57[_0x3b3afe(0x2ab)]):(_0x561641=_0x975f57[_0x3b3afe(0x2ab)],_0x4c92c1=_0x59877c[_0x3b3afe(0x291)]&&_0x59877c['readOnly']&&!_0x2edde3);let _0x2ff488=_0x561641;_0x561641>=0x10000?(_0x22454c+=0x8,_0x2ff488=0x7f):_0x561641>0x7d&&(_0x22454c+=0x2,_0x2ff488=0x7e);const _0x102e31=Buffer[_0x3b3afe(0x21d)](_0x4c92c1?_0x561641+_0x22454c:_0x22454c);return _0x102e31[0x0]=_0x59877c[_0x3b3afe(0x236)]?_0x59877c['opcode']|0x80:_0x59877c['opcode'],_0x59877c[_0x3b3afe(0x2e3)]&&(_0x102e31[0x0]|=0x40),_0x102e31[0x1]=_0x2ff488,_0x2ff488===0x7e?_0x102e31[_0x3b3afe(0x297)](_0x561641,0x2):_0x2ff488===0x7f&&(_0x102e31[0x2]=_0x102e31[0x3]=0x0,_0x102e31[_0x3b3afe(0x221)](_0x561641,0x4,0x6)),_0x59877c[_0x3b3afe(0x291)]?(_0x102e31[0x1]|=0x80,_0x102e31[_0x22454c-0x4]=_0x545e46[0x0],_0x102e31[_0x22454c-0x3]=_0x545e46[0x1],_0x102e31[_0x22454c-0x2]=_0x545e46[0x2],_0x102e31[_0x22454c-0x1]=_0x545e46[0x3],_0x2edde3?[_0x102e31,_0x975f57]:_0x4c92c1?(_0x105fcd(_0x975f57,_0x545e46,_0x102e31,_0x22454c,_0x561641),[_0x102e31]):(_0x105fcd(_0x975f57,_0x545e46,_0x975f57,0x0,_0x561641),[_0x102e31,_0x975f57])):[_0x102e31,_0x975f57];}['close'](_0x5b74f0,_0x5a2ded,_0x430cec,_0x1a3976){const _0x2a4cdf=_0x59549e;let _0x2bb550;if(_0x5b74f0===void 0x0)_0x2bb550=_0x20b08e;else{if(typeof _0x5b74f0!=_0x2a4cdf(0x376)||!_0x3fe969(_0x5b74f0))throw new TypeError('First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number');if(_0x5a2ded===void 0x0||!_0x5a2ded[_0x2a4cdf(0x2ab)])_0x2bb550=Buffer['allocUnsafe'](0x2),_0x2bb550[_0x2a4cdf(0x297)](_0x5b74f0,0x0);else{const _0x29c42a=Buffer['byteLength'](_0x5a2ded);if(_0x29c42a>0x7b)throw new RangeError(_0x2a4cdf(0x351));_0x2bb550=Buffer[_0x2a4cdf(0x21d)](0x2+_0x29c42a),_0x2bb550[_0x2a4cdf(0x297)](_0x5b74f0,0x0),typeof _0x5a2ded=='string'?_0x2bb550[_0x2a4cdf(0x307)](_0x5a2ded,0x2):_0x2bb550[_0x2a4cdf(0x255)](_0x5a2ded,0x2);}}const _0x1e2800={[_0xcbe227]:_0x2bb550[_0x2a4cdf(0x2ab)],'fin':!0x0,'generateMask':this[_0x2a4cdf(0x257)],'mask':_0x430cec,'maskBuffer':this[_0x2a4cdf(0x33c)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x2a4cdf(0x1ff)]!==_0x555a16?this[_0x2a4cdf(0x2fb)]([this[_0x2a4cdf(0x226)],_0x2bb550,!0x1,_0x1e2800,_0x1a3976]):this['sendFrame'](_0x631691[_0x2a4cdf(0x2c2)](_0x2bb550,_0x1e2800),_0x1a3976);}[_0x59549e(0x390)](_0x6fc0aa,_0x1cd47b,_0x1ab0e1){const _0x41546d=_0x59549e;let _0x5b2539,_0x8d8b27;if(typeof _0x6fc0aa=='string'?(_0x5b2539=Buffer[_0x41546d(0x2d0)](_0x6fc0aa),_0x8d8b27=!0x1):_0xe30d8c(_0x6fc0aa)?(_0x5b2539=_0x6fc0aa[_0x41546d(0x22f)],_0x8d8b27=!0x1):(_0x6fc0aa=_0x23b700(_0x6fc0aa),_0x5b2539=_0x6fc0aa[_0x41546d(0x2ab)],_0x8d8b27=_0x23b700['readOnly']),_0x5b2539>0x7d)throw new RangeError(_0x41546d(0x374));const _0x582946={[_0xcbe227]:_0x5b2539,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x1cd47b,'maskBuffer':this[_0x41546d(0x33c)],'opcode':0x9,'readOnly':_0x8d8b27,'rsv1':!0x1};_0xe30d8c(_0x6fc0aa)?this[_0x41546d(0x1ff)]!==_0x555a16?this[_0x41546d(0x2fb)]([this[_0x41546d(0x310)],_0x6fc0aa,!0x1,_0x582946,_0x1ab0e1]):this[_0x41546d(0x310)](_0x6fc0aa,!0x1,_0x582946,_0x1ab0e1):this[_0x41546d(0x1ff)]!==_0x555a16?this[_0x41546d(0x2fb)]([this['dispatch'],_0x6fc0aa,!0x1,_0x582946,_0x1ab0e1]):this[_0x41546d(0x2d2)](_0x631691['frame'](_0x6fc0aa,_0x582946),_0x1ab0e1);}['pong'](_0x3ab046,_0x28b9bd,_0x177fc3){const _0x53bb12=_0x59549e;let _0x598f9c,_0x2eac5d;if(typeof _0x3ab046==_0x53bb12(0x24e)?(_0x598f9c=Buffer[_0x53bb12(0x2d0)](_0x3ab046),_0x2eac5d=!0x1):_0xe30d8c(_0x3ab046)?(_0x598f9c=_0x3ab046[_0x53bb12(0x22f)],_0x2eac5d=!0x1):(_0x3ab046=_0x23b700(_0x3ab046),_0x598f9c=_0x3ab046[_0x53bb12(0x2ab)],_0x2eac5d=_0x23b700['readOnly']),_0x598f9c>0x7d)throw new RangeError(_0x53bb12(0x374));const _0x1771ae={[_0xcbe227]:_0x598f9c,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x28b9bd,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x2eac5d,'rsv1':!0x1};_0xe30d8c(_0x3ab046)?this[_0x53bb12(0x1ff)]!==_0x555a16?this[_0x53bb12(0x2fb)]([this['getBlobData'],_0x3ab046,!0x1,_0x1771ae,_0x177fc3]):this['getBlobData'](_0x3ab046,!0x1,_0x1771ae,_0x177fc3):this[_0x53bb12(0x1ff)]!==_0x555a16?this[_0x53bb12(0x2fb)]([this['dispatch'],_0x3ab046,!0x1,_0x1771ae,_0x177fc3]):this[_0x53bb12(0x2d2)](_0x631691[_0x53bb12(0x2c2)](_0x3ab046,_0x1771ae),_0x177fc3);}['send'](_0x137de6,_0x100a45,_0x4e9078){const _0x2e1794=_0x59549e,_0x3132b4=this[_0x2e1794(0x38a)][_0x11abab[_0x2e1794(0x330)]];let _0x38ab72=_0x100a45[_0x2e1794(0x386)]?0x2:0x1,_0x11c45c=_0x100a45[_0x2e1794(0x23f)],_0x416463,_0x1968af;typeof _0x137de6=='string'?(_0x416463=Buffer[_0x2e1794(0x2d0)](_0x137de6),_0x1968af=!0x1):_0xe30d8c(_0x137de6)?(_0x416463=_0x137de6[_0x2e1794(0x22f)],_0x1968af=!0x1):(_0x137de6=_0x23b700(_0x137de6),_0x416463=_0x137de6[_0x2e1794(0x2ab)],_0x1968af=_0x23b700[_0x2e1794(0x1f9)]),this[_0x2e1794(0x206)]?(this['_firstFragment']=!0x1,_0x11c45c&&_0x3132b4&&_0x3132b4['params'][_0x3132b4[_0x2e1794(0x296)]?'server_no_context_takeover':_0x2e1794(0x38c)]&&(_0x11c45c=_0x416463>=_0x3132b4[_0x2e1794(0x2bc)]),this[_0x2e1794(0x28b)]=_0x11c45c):(_0x11c45c=!0x1,_0x38ab72=0x0),_0x100a45[_0x2e1794(0x236)]&&(this[_0x2e1794(0x206)]=!0x0);const _0x56ff76={[_0xcbe227]:_0x416463,'fin':_0x100a45[_0x2e1794(0x236)],'generateMask':this[_0x2e1794(0x257)],'mask':_0x100a45['mask'],'maskBuffer':this[_0x2e1794(0x33c)],'opcode':_0x38ab72,'readOnly':_0x1968af,'rsv1':_0x11c45c};_0xe30d8c(_0x137de6)?this[_0x2e1794(0x1ff)]!==_0x555a16?this['enqueue']([this[_0x2e1794(0x310)],_0x137de6,this[_0x2e1794(0x28b)],_0x56ff76,_0x4e9078]):this[_0x2e1794(0x310)](_0x137de6,this[_0x2e1794(0x28b)],_0x56ff76,_0x4e9078):this[_0x2e1794(0x1ff)]!==_0x555a16?this['enqueue']([this[_0x2e1794(0x226)],_0x137de6,this[_0x2e1794(0x28b)],_0x56ff76,_0x4e9078]):this['dispatch'](_0x137de6,this['_compress'],_0x56ff76,_0x4e9078);}['getBlobData'](_0x38136e,_0x15a1b8,_0x3f3fe4,_0x4910fc){const _0x5c0b63=_0x59549e;this['_bufferedBytes']+=_0x3f3fe4[_0xcbe227],this['_state']=_0x6ebb47,_0x38136e['arrayBuffer']()['then'](_0x1111dc=>{const _0x30467f=_0x192b;if(this['_socket'][_0x30467f(0x23b)]){const _0x254538=new Error('The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read');process[_0x30467f(0x1fc)](_0x47c64b,this,_0x254538,_0x4910fc);return;}this[_0x30467f(0x298)]-=_0x3f3fe4[_0xcbe227];const _0x2fb0e6=_0x23b700(_0x1111dc);_0x15a1b8?this['dispatch'](_0x2fb0e6,_0x15a1b8,_0x3f3fe4,_0x4910fc):(this[_0x30467f(0x1ff)]=_0x555a16,this[_0x30467f(0x2d2)](_0x631691[_0x30467f(0x2c2)](_0x2fb0e6,_0x3f3fe4),_0x4910fc),this['dequeue']());})[_0x5c0b63(0x2ff)](_0x2de174=>{const _0x175507=_0x5c0b63;process[_0x175507(0x1fc)](_0x3ce5fa,this,_0x2de174,_0x4910fc);});}[_0x59549e(0x226)](_0x5d7978,_0x2810aa,_0x41fabe,_0x21a064){const _0x37ed4a=_0x59549e;if(!_0x2810aa){this[_0x37ed4a(0x2d2)](_0x631691['frame'](_0x5d7978,_0x41fabe),_0x21a064);return;}const _0x44d7c8=this[_0x37ed4a(0x38a)][_0x11abab[_0x37ed4a(0x330)]];this[_0x37ed4a(0x298)]+=_0x41fabe[_0xcbe227],this[_0x37ed4a(0x1ff)]=_0x1b232b,_0x44d7c8[_0x37ed4a(0x23f)](_0x5d7978,_0x41fabe[_0x37ed4a(0x236)],(_0x39d9b9,_0x4d8d4d)=>{const _0x24f7be=_0x37ed4a;if(this[_0x24f7be(0x360)][_0x24f7be(0x23b)]){const _0x23899c=new Error(_0x24f7be(0x301));_0x47c64b(this,_0x23899c,_0x21a064);return;}this['_bufferedBytes']-=_0x41fabe[_0xcbe227],this[_0x24f7be(0x1ff)]=_0x555a16,_0x41fabe['readOnly']=!0x1,this[_0x24f7be(0x2d2)](_0x631691[_0x24f7be(0x2c2)](_0x4d8d4d,_0x41fabe),_0x21a064),this['dequeue']();});}['dequeue'](){const _0x23f0c4=_0x59549e;for(;this[_0x23f0c4(0x1ff)]===_0x555a16&&this['_queue'][_0x23f0c4(0x2ab)];){const _0x17a3f7=this[_0x23f0c4(0x38e)]['shift']();this[_0x23f0c4(0x298)]-=_0x17a3f7[0x3][_0xcbe227],Reflect[_0x23f0c4(0x2da)](_0x17a3f7[0x0],this,_0x17a3f7[_0x23f0c4(0x389)](0x1));}}['enqueue'](_0x565dc0){const _0x3cd31e=_0x59549e;this[_0x3cd31e(0x298)]+=_0x565dc0[0x3][_0xcbe227],this[_0x3cd31e(0x38e)][_0x3cd31e(0x1f2)](_0x565dc0);}['sendFrame'](_0x533d58,_0x3901a4){const _0x33a460=_0x59549e;_0x533d58[_0x33a460(0x2ab)]===0x2?(this['_socket']['cork'](),this['_socket'][_0x33a460(0x307)](_0x533d58[0x0]),this['_socket']['write'](_0x533d58[0x1],_0x3901a4),this[_0x33a460(0x360)][_0x33a460(0x2df)]()):this[_0x33a460(0x360)][_0x33a460(0x307)](_0x533d58[0x0],_0x3901a4);}}xe=_0x631691;function _0x47c64b(_0x4e9c01,_0x43a83c,_0x2171d5){const _0x2123c9=_0x59549e;typeof _0x2171d5=='function'&&_0x2171d5(_0x43a83c);for(let _0x2ebad1=0x0;_0x2ebad1<_0x4e9c01[_0x2123c9(0x38e)][_0x2123c9(0x2ab)];_0x2ebad1++){const _0x5a8a38=_0x4e9c01['_queue'][_0x2ebad1],_0x1e30b0=_0x5a8a38[_0x5a8a38[_0x2123c9(0x2ab)]-0x1];typeof _0x1e30b0==_0x2123c9(0x33e)&&_0x1e30b0(_0x43a83c);}}function _0x3ce5fa(_0x12e3a8,_0x58122f,_0x12cd46){const _0x27335d=_0x59549e;_0x47c64b(_0x12e3a8,_0x58122f,_0x12cd46),_0x12e3a8[_0x27335d(0x2ca)](_0x58122f);}return xe;}dt();var be,tt;function Xt(){const _0x2323db=_0x7c1347;if(tt)return be;tt=0x1;const {kForOnEventAttribute:_0x9dfda1,kListener:_0x80cc69}=V(),_0x1c4164=Symbol('kCode'),_0x27a06c=Symbol(_0x2323db(0x284)),_0x16e477=Symbol(_0x2323db(0x2b1)),_0x1676c5=Symbol(_0x2323db(0x283)),_0x44f5cf=Symbol('kReason'),_0x7ef2fc=Symbol(_0x2323db(0x20c)),_0x1f2ab4=Symbol(_0x2323db(0x394)),_0x515a68=Symbol(_0x2323db(0x227));class _0x146064{constructor(_0x50300e){this[_0x7ef2fc]=null,this[_0x1f2ab4]=_0x50300e;}get[_0x2323db(0x264)](){return this[_0x7ef2fc];}get[_0x2323db(0x200)](){return this[_0x1f2ab4];}}Object[_0x2323db(0x293)](_0x146064[_0x2323db(0x2d8)],_0x2323db(0x264),{'enumerable':!0x0}),Object[_0x2323db(0x293)](_0x146064['prototype'],_0x2323db(0x200),{'enumerable':!0x0});class _0x55faf0 extends _0x146064{constructor(_0x988104,_0x381dab={}){const _0x41db37=_0x2323db;super(_0x988104),this[_0x1c4164]=_0x381dab[_0x41db37(0x30c)]===void 0x0?0x0:_0x381dab[_0x41db37(0x30c)],this[_0x44f5cf]=_0x381dab['reason']===void 0x0?'':_0x381dab['reason'],this[_0x515a68]=_0x381dab[_0x41db37(0x2f8)]===void 0x0?!0x1:_0x381dab[_0x41db37(0x2f8)];}get[_0x2323db(0x30c)](){return this[_0x1c4164];}get['reason'](){return this[_0x44f5cf];}get['wasClean'](){return this[_0x515a68];}}Object['defineProperty'](_0x55faf0[_0x2323db(0x2d8)],_0x2323db(0x30c),{'enumerable':!0x0}),Object['defineProperty'](_0x55faf0[_0x2323db(0x2d8)],_0x2323db(0x2e4),{'enumerable':!0x0}),Object['defineProperty'](_0x55faf0[_0x2323db(0x2d8)],_0x2323db(0x2f8),{'enumerable':!0x0});class _0x8c79c8 extends _0x146064{constructor(_0x4431b5,_0x3234e2={}){const _0x428097=_0x2323db;super(_0x4431b5),this[_0x16e477]=_0x3234e2[_0x428097(0x1ee)]===void 0x0?null:_0x3234e2[_0x428097(0x1ee)],this[_0x1676c5]=_0x3234e2[_0x428097(0x2e9)]===void 0x0?'':_0x3234e2[_0x428097(0x2e9)];}get[_0x2323db(0x1ee)](){return this[_0x16e477];}get[_0x2323db(0x2e9)](){return this[_0x1676c5];}}Object[_0x2323db(0x293)](_0x8c79c8[_0x2323db(0x2d8)],'error',{'enumerable':!0x0}),Object[_0x2323db(0x293)](_0x8c79c8['prototype'],_0x2323db(0x2e9),{'enumerable':!0x0});class _0x54fd17 extends _0x146064{constructor(_0x1ee030,_0x4a708a={}){const _0x55940a=_0x2323db;super(_0x1ee030),this[_0x27a06c]=_0x4a708a['data']===void 0x0?null:_0x4a708a[_0x55940a(0x233)];}get[_0x2323db(0x233)](){return this[_0x27a06c];}}Object[_0x2323db(0x293)](_0x54fd17[_0x2323db(0x2d8)],_0x2323db(0x233),{'enumerable':!0x0}),be={'CloseEvent':_0x55faf0,'ErrorEvent':_0x8c79c8,'Event':_0x146064,'EventTarget':{'addEventListener'(_0x55b46d,_0x4213f4,_0x11f647={}){const _0x2df6c0=_0x2323db;for(const _0x5e0188 of this['listeners'](_0x55b46d))if(!_0x11f647[_0x9dfda1]&&_0x5e0188[_0x80cc69]===_0x4213f4&&!_0x5e0188[_0x9dfda1])return;let _0x21c144;if(_0x55b46d==='message')_0x21c144=function(_0x3309b6,_0x1883e6){const _0x256b5b=new _0x54fd17('message',{'data':_0x1883e6?_0x3309b6:_0x3309b6['toString']()});_0x256b5b[_0x7ef2fc]=this,_0x2b88b7(_0x4213f4,this,_0x256b5b);};else{if(_0x55b46d===_0x2df6c0(0x2ac))_0x21c144=function(_0x85a768,_0x10e92f){const _0xc75e02=_0x2df6c0,_0x4e9b2f=new _0x55faf0(_0xc75e02(0x2ac),{'code':_0x85a768,'reason':_0x10e92f[_0xc75e02(0x248)](),'wasClean':this[_0xc75e02(0x2c8)]&&this['_closeFrameSent']});_0x4e9b2f[_0x7ef2fc]=this,_0x2b88b7(_0x4213f4,this,_0x4e9b2f);};else{if(_0x55b46d===_0x2df6c0(0x1ee))_0x21c144=function(_0x4b841e){const _0x1c1243=_0x2df6c0,_0x1830a7=new _0x8c79c8(_0x1c1243(0x1ee),{'error':_0x4b841e,'message':_0x4b841e['message']});_0x1830a7[_0x7ef2fc]=this,_0x2b88b7(_0x4213f4,this,_0x1830a7);};else{if(_0x55b46d==='open')_0x21c144=function(){const _0x234f7b=_0x2df6c0,_0x5f5382=new _0x146064(_0x234f7b(0x23d));_0x5f5382[_0x7ef2fc]=this,_0x2b88b7(_0x4213f4,this,_0x5f5382);};else return;}}}_0x21c144[_0x9dfda1]=!!_0x11f647[_0x9dfda1],_0x21c144[_0x80cc69]=_0x4213f4,_0x11f647[_0x2df6c0(0x2f3)]?this[_0x2df6c0(0x2f3)](_0x55b46d,_0x21c144):this['on'](_0x55b46d,_0x21c144);},'removeEventListener'(_0x18c97f,_0xfd03fa){const _0x8d19b4=_0x2323db;for(const _0xaddfcf of this['listeners'](_0x18c97f))if(_0xaddfcf[_0x80cc69]===_0xfd03fa&&!_0xaddfcf[_0x9dfda1]){this[_0x8d19b4(0x238)](_0x18c97f,_0xaddfcf);break;}}},'MessageEvent':_0x54fd17};function _0x2b88b7(_0x313cbf,_0x3c76cd,_0x3cf8a9){const _0x2ca2dd=_0x2323db;typeof _0x313cbf=='object'&&_0x313cbf[_0x2ca2dd(0x345)]?_0x313cbf[_0x2ca2dd(0x345)]['call'](_0x313cbf,_0x3cf8a9):_0x313cbf[_0x2ca2dd(0x2c4)](_0x3c76cd,_0x3cf8a9);}return be;}var we,rt;function _t(){if(rt)return we;rt=0x1;const {tokenChars:_0x1d7496}=ne();function _0x29975c(_0x5ce879,_0x6147de,_0x3689c6){_0x5ce879[_0x6147de]===void 0x0?_0x5ce879[_0x6147de]=[_0x3689c6]:_0x5ce879[_0x6147de]['push'](_0x3689c6);}function _0x25760c(_0x47dedd){const _0x5eafc2=_0x192b,_0x340149=Object['create'](null);let _0x13609b=Object[_0x5eafc2(0x371)](null),_0x204f96=!0x1,_0x494fd9=!0x1,_0x36a029=!0x1,_0x1a9f9d,_0x46edf6,_0x21f6ee=-0x1,_0x357a2f=-0x1,_0x318345=-0x1,_0x4d2943=0x0;for(;_0x4d2943<_0x47dedd['length'];_0x4d2943++)if(_0x357a2f=_0x47dedd[_0x5eafc2(0x235)](_0x4d2943),_0x1a9f9d===void 0x0){if(_0x318345===-0x1&&_0x1d7496[_0x357a2f]===0x1)_0x21f6ee===-0x1&&(_0x21f6ee=_0x4d2943);else{if(_0x4d2943!==0x0&&(_0x357a2f===0x20||_0x357a2f===0x9))_0x318345===-0x1&&_0x21f6ee!==-0x1&&(_0x318345=_0x4d2943);else{if(_0x357a2f===0x3b||_0x357a2f===0x2c){if(_0x21f6ee===-0x1)throw new SyntaxError(_0x5eafc2(0x2a0)+_0x4d2943);_0x318345===-0x1&&(_0x318345=_0x4d2943);const _0x31999e=_0x47dedd['slice'](_0x21f6ee,_0x318345);_0x357a2f===0x2c?(_0x29975c(_0x340149,_0x31999e,_0x13609b),_0x13609b=Object[_0x5eafc2(0x371)](null)):_0x1a9f9d=_0x31999e,_0x21f6ee=_0x318345=-0x1;}else throw new SyntaxError(_0x5eafc2(0x2a0)+_0x4d2943);}}}else{if(_0x46edf6===void 0x0){if(_0x318345===-0x1&&_0x1d7496[_0x357a2f]===0x1)_0x21f6ee===-0x1&&(_0x21f6ee=_0x4d2943);else{if(_0x357a2f===0x20||_0x357a2f===0x9)_0x318345===-0x1&&_0x21f6ee!==-0x1&&(_0x318345=_0x4d2943);else{if(_0x357a2f===0x3b||_0x357a2f===0x2c){if(_0x21f6ee===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x4d2943);_0x318345===-0x1&&(_0x318345=_0x4d2943),_0x29975c(_0x13609b,_0x47dedd[_0x5eafc2(0x389)](_0x21f6ee,_0x318345),!0x0),_0x357a2f===0x2c&&(_0x29975c(_0x340149,_0x1a9f9d,_0x13609b),_0x13609b=Object[_0x5eafc2(0x371)](null),_0x1a9f9d=void 0x0),_0x21f6ee=_0x318345=-0x1;}else{if(_0x357a2f===0x3d&&_0x21f6ee!==-0x1&&_0x318345===-0x1)_0x46edf6=_0x47dedd[_0x5eafc2(0x389)](_0x21f6ee,_0x4d2943),_0x21f6ee=_0x318345=-0x1;else throw new SyntaxError(_0x5eafc2(0x2a0)+_0x4d2943);}}}}else{if(_0x494fd9){if(_0x1d7496[_0x357a2f]!==0x1)throw new SyntaxError(_0x5eafc2(0x2a0)+_0x4d2943);_0x21f6ee===-0x1?_0x21f6ee=_0x4d2943:_0x204f96||(_0x204f96=!0x0),_0x494fd9=!0x1;}else{if(_0x36a029){if(_0x1d7496[_0x357a2f]===0x1)_0x21f6ee===-0x1&&(_0x21f6ee=_0x4d2943);else{if(_0x357a2f===0x22&&_0x21f6ee!==-0x1)_0x36a029=!0x1,_0x318345=_0x4d2943;else{if(_0x357a2f===0x5c)_0x494fd9=!0x0;else throw new SyntaxError(_0x5eafc2(0x2a0)+_0x4d2943);}}}else{if(_0x357a2f===0x22&&_0x47dedd[_0x5eafc2(0x235)](_0x4d2943-0x1)===0x3d)_0x36a029=!0x0;else{if(_0x318345===-0x1&&_0x1d7496[_0x357a2f]===0x1)_0x21f6ee===-0x1&&(_0x21f6ee=_0x4d2943);else{if(_0x21f6ee!==-0x1&&(_0x357a2f===0x20||_0x357a2f===0x9))_0x318345===-0x1&&(_0x318345=_0x4d2943);else{if(_0x357a2f===0x3b||_0x357a2f===0x2c){if(_0x21f6ee===-0x1)throw new SyntaxError(_0x5eafc2(0x2a0)+_0x4d2943);_0x318345===-0x1&&(_0x318345=_0x4d2943);let _0xd6b3b3=_0x47dedd[_0x5eafc2(0x389)](_0x21f6ee,_0x318345);_0x204f96&&(_0xd6b3b3=_0xd6b3b3[_0x5eafc2(0x244)](/\\/g,''),_0x204f96=!0x1),_0x29975c(_0x13609b,_0x46edf6,_0xd6b3b3),_0x357a2f===0x2c&&(_0x29975c(_0x340149,_0x1a9f9d,_0x13609b),_0x13609b=Object[_0x5eafc2(0x371)](null),_0x1a9f9d=void 0x0),_0x46edf6=void 0x0,_0x21f6ee=_0x318345=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x4d2943);}}}}}}}if(_0x21f6ee===-0x1||_0x36a029||_0x357a2f===0x20||_0x357a2f===0x9)throw new SyntaxError('Unexpected\x20end\x20of\x20input');_0x318345===-0x1&&(_0x318345=_0x4d2943);const _0x52d5b4=_0x47dedd[_0x5eafc2(0x389)](_0x21f6ee,_0x318345);return _0x1a9f9d===void 0x0?_0x29975c(_0x340149,_0x52d5b4,_0x13609b):(_0x46edf6===void 0x0?_0x29975c(_0x13609b,_0x52d5b4,!0x0):_0x204f96?_0x29975c(_0x13609b,_0x46edf6,_0x52d5b4[_0x5eafc2(0x244)](/\\/g,'')):_0x29975c(_0x13609b,_0x46edf6,_0x52d5b4),_0x29975c(_0x340149,_0x1a9f9d,_0x13609b)),_0x340149;}function _0x545c7e(_0x6f269a){const _0x4a094c=_0x192b;return Object[_0x4a094c(0x2e2)](_0x6f269a)[_0x4a094c(0x2e7)](_0x4506bd=>{const _0x13e32f=_0x4a094c;let _0x524251=_0x6f269a[_0x4506bd];return Array[_0x13e32f(0x23a)](_0x524251)||(_0x524251=[_0x524251]),_0x524251['map'](_0x5ef453=>[_0x4506bd][_0x13e32f(0x378)](Object[_0x13e32f(0x2e2)](_0x5ef453)['map'](_0x355ea8=>{let _0x41ed9a=_0x5ef453[_0x355ea8];return Array['isArray'](_0x41ed9a)||(_0x41ed9a=[_0x41ed9a]),_0x41ed9a['map'](_0x54d26d=>_0x54d26d===!0x0?_0x355ea8:_0x355ea8+'='+_0x54d26d)['join'](';\x20');}))[_0x13e32f(0x35b)](';\x20'))['join'](',\x20');})[_0x4a094c(0x35b)](',\x20');}return we={'format':_0x545c7e,'parse':_0x25760c},we;}var Oe,st;function pt(){const _0x1b0495=_0x7c1347;if(st)return Oe;st=0x1;const _0x17a24c=_0xd52aea,_0x12da93=_0x543578,_0x33514f=_0x23330f,_0x4d544a=_0x4d0ec0,_0x3b976c=_0xc3539f,{randomBytes:_0x1f803b,createHash:_0x8a040f}=_0x2db855,{Duplex:_0x1ef168,Readable:_0x555b5c}=_0x28ed20,{URL:_0x222551}=_0x1b87b4,_0x500514=he(),_0x364695=ut(),_0x5945e1=dt(),{isBlob:_0x3e4519}=ne(),{BINARY_TYPES:_0x35f57f,EMPTY_BUFFER:_0x5608f4,GUID:_0x4229bd,kForOnEventAttribute:_0x139103,kListener:_0x5d30e4,kStatusCode:_0x476527,kWebSocket:_0xc9b094,NOOP:_0x3caef9}=V(),{EventTarget:{addEventListener:_0x1ad510,removeEventListener:_0x489b44}}=Xt(),{format:_0x173b6f,parse:_0x1d3449}=_t(),{toBuffer:_0x3db36a}=ce(),_0x57ca10=0x1e*0x3e8,_0x417034=Symbol(_0x1b0495(0x331)),_0x3891bd=[0x8,0xd],_0x5e7451=['CONNECTING',_0x1b0495(0x2c1),_0x1b0495(0x36e),_0x1b0495(0x1f6)],_0x29a306=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x16c134 extends _0x17a24c{constructor(_0x3190a1,_0x54362f,_0x399642){const _0x45ae6a=_0x1b0495;super(),this[_0x45ae6a(0x1f1)]=_0x35f57f[0x0],this[_0x45ae6a(0x38f)]=0x3ee,this['_closeFrameReceived']=!0x1,this['_closeFrameSent']=!0x1,this[_0x45ae6a(0x266)]=_0x5608f4,this[_0x45ae6a(0x1f5)]=null,this[_0x45ae6a(0x2c3)]=!0x1,this[_0x45ae6a(0x38a)]={},this[_0x45ae6a(0x28f)]=!0x1,this['_protocol']='',this[_0x45ae6a(0x2fa)]=_0x16c134[_0x45ae6a(0x32d)],this[_0x45ae6a(0x35c)]=null,this[_0x45ae6a(0x29e)]=null,this[_0x45ae6a(0x360)]=null,_0x3190a1!==null?(this[_0x45ae6a(0x35f)]=0x0,this[_0x45ae6a(0x296)]=!0x1,this[_0x45ae6a(0x290)]=0x0,_0x54362f===void 0x0?_0x54362f=[]:Array[_0x45ae6a(0x23a)](_0x54362f)||(typeof _0x54362f=='object'&&_0x54362f!==null?(_0x399642=_0x54362f,_0x54362f=[]):_0x54362f=[_0x54362f]),_0xa0ec21(this,_0x3190a1,_0x54362f,_0x399642)):(this[_0x45ae6a(0x2d5)]=_0x399642[_0x45ae6a(0x294)],this[_0x45ae6a(0x296)]=!0x0);}get[_0x1b0495(0x1fd)](){const _0x1d5410=_0x1b0495;return this[_0x1d5410(0x1f1)];}set[_0x1b0495(0x1fd)](_0x53cfc7){const _0x80ebc4=_0x1b0495;_0x35f57f[_0x80ebc4(0x343)](_0x53cfc7)&&(this['_binaryType']=_0x53cfc7,this['_receiver']&&(this['_receiver'][_0x80ebc4(0x1f1)]=_0x53cfc7));}get[_0x1b0495(0x2bb)](){const _0xa5d9d3=_0x1b0495;return this[_0xa5d9d3(0x360)]?this['_socket'][_0xa5d9d3(0x270)][_0xa5d9d3(0x2ab)]+this[_0xa5d9d3(0x29e)][_0xa5d9d3(0x298)]:this[_0xa5d9d3(0x35f)];}get[_0x1b0495(0x383)](){const _0x8bc3bb=_0x1b0495;return Object[_0x8bc3bb(0x2e2)](this[_0x8bc3bb(0x38a)])[_0x8bc3bb(0x35b)]();}get[_0x1b0495(0x2bf)](){return this['_paused'];}get['onclose'](){return null;}get[_0x1b0495(0x2ca)](){return null;}get['onopen'](){return null;}get[_0x1b0495(0x379)](){return null;}get['protocol'](){const _0x4dc777=_0x1b0495;return this[_0x4dc777(0x239)];}get[_0x1b0495(0x2f9)](){const _0x2011cb=_0x1b0495;return this[_0x2011cb(0x2fa)];}get[_0x1b0495(0x328)](){return this['_url'];}[_0x1b0495(0x2c6)](_0x5a073c,_0x3f60bc,_0x57248d){const _0x38f74c=_0x1b0495,_0x57d623=new _0x364695({'allowSynchronousEvents':_0x57248d[_0x38f74c(0x254)],'binaryType':this[_0x38f74c(0x1fd)],'extensions':this[_0x38f74c(0x38a)],'isServer':this[_0x38f74c(0x296)],'maxPayload':_0x57248d[_0x38f74c(0x355)],'skipUTF8Validation':_0x57248d[_0x38f74c(0x325)]}),_0x45b109=new _0x5945e1(_0x5a073c,this[_0x38f74c(0x38a)],_0x57248d[_0x38f74c(0x32e)]);this[_0x38f74c(0x35c)]=_0x57d623,this[_0x38f74c(0x29e)]=_0x45b109,this[_0x38f74c(0x360)]=_0x5a073c,_0x57d623[_0xc9b094]=this,_0x45b109[_0xc9b094]=this,_0x5a073c[_0xc9b094]=this,_0x57d623['on'](_0x38f74c(0x2c9),_0x50a786),_0x57d623['on'](_0x38f74c(0x2f7),_0x39ddce),_0x57d623['on'](_0x38f74c(0x1ee),_0x228116),_0x57d623['on']('message',_0x8a8d63),_0x57d623['on'](_0x38f74c(0x390),_0x161f58),_0x57d623['on']('pong',_0x1bc25a),_0x45b109['onerror']=_0x24f188,_0x5a073c[_0x38f74c(0x316)]&&_0x5a073c[_0x38f74c(0x316)](0x0),_0x5a073c[_0x38f74c(0x212)]&&_0x5a073c[_0x38f74c(0x212)](),_0x3f60bc[_0x38f74c(0x2ab)]>0x0&&_0x5a073c[_0x38f74c(0x204)](_0x3f60bc),_0x5a073c['on'](_0x38f74c(0x2ac),_0x1f80cd),_0x5a073c['on']('data',_0x3ccaeb),_0x5a073c['on']('end',_0x5e2ba7),_0x5a073c['on'](_0x38f74c(0x1ee),_0x1d5e75),this['_readyState']=_0x16c134[_0x38f74c(0x2c1)],this[_0x38f74c(0x2be)](_0x38f74c(0x23d));}[_0x1b0495(0x2ee)](){const _0x3e34cf=_0x1b0495;if(!this[_0x3e34cf(0x360)]){this[_0x3e34cf(0x2fa)]=_0x16c134[_0x3e34cf(0x1f6)],this[_0x3e34cf(0x2be)](_0x3e34cf(0x2ac),this[_0x3e34cf(0x38f)],this[_0x3e34cf(0x266)]);return;}this[_0x3e34cf(0x38a)][_0x500514[_0x3e34cf(0x330)]]&&this['_extensions'][_0x500514[_0x3e34cf(0x330)]][_0x3e34cf(0x1ef)](),this['_receiver'][_0x3e34cf(0x35e)](),this[_0x3e34cf(0x2fa)]=_0x16c134['CLOSED'],this['emit'](_0x3e34cf(0x2ac),this['_closeCode'],this[_0x3e34cf(0x266)]);}['close'](_0xfd5791,_0x1f8f3d){const _0x41db93=_0x1b0495;if(this[_0x41db93(0x2f9)]!==_0x16c134[_0x41db93(0x1f6)]){if(this['readyState']===_0x16c134[_0x41db93(0x32d)]){_0x2f0c4c(this,this[_0x41db93(0x313)],_0x41db93(0x22d));return;}if(this[_0x41db93(0x2f9)]===_0x16c134[_0x41db93(0x36e)]){this[_0x41db93(0x358)]&&(this[_0x41db93(0x2c8)]||this[_0x41db93(0x35c)][_0x41db93(0x270)][_0x41db93(0x367)])&&this[_0x41db93(0x360)][_0x41db93(0x231)]();return;}this['_readyState']=_0x16c134['CLOSING'],this['_sender'][_0x41db93(0x2ac)](_0xfd5791,_0x1f8f3d,!this[_0x41db93(0x296)],_0x33a544=>{const _0x509081=_0x41db93;_0x33a544||(this[_0x509081(0x358)]=!0x0,(this['_closeFrameReceived']||this[_0x509081(0x35c)]['_writableState'][_0x509081(0x367)])&&this[_0x509081(0x360)][_0x509081(0x231)]());}),_0xad3085(this);}}['pause'](){const _0x32df4f=_0x1b0495;this[_0x32df4f(0x2f9)]===_0x16c134[_0x32df4f(0x32d)]||this['readyState']===_0x16c134[_0x32df4f(0x1f6)]||(this[_0x32df4f(0x28f)]=!0x0,this[_0x32df4f(0x360)][_0x32df4f(0x220)]());}[_0x1b0495(0x390)](_0x2f9a9a,_0x358dc8,_0x87567c){const _0xfa8fd3=_0x1b0495;if(this['readyState']===_0x16c134['CONNECTING'])throw new Error(_0xfa8fd3(0x249));if(typeof _0x2f9a9a=='function'?(_0x87567c=_0x2f9a9a,_0x2f9a9a=_0x358dc8=void 0x0):typeof _0x358dc8==_0xfa8fd3(0x33e)&&(_0x87567c=_0x358dc8,_0x358dc8=void 0x0),typeof _0x2f9a9a==_0xfa8fd3(0x376)&&(_0x2f9a9a=_0x2f9a9a[_0xfa8fd3(0x248)]()),this[_0xfa8fd3(0x2f9)]!==_0x16c134['OPEN']){_0xd032e3(this,_0x2f9a9a,_0x87567c);return;}_0x358dc8===void 0x0&&(_0x358dc8=!this[_0xfa8fd3(0x296)]),this[_0xfa8fd3(0x29e)][_0xfa8fd3(0x390)](_0x2f9a9a||_0x5608f4,_0x358dc8,_0x87567c);}[_0x1b0495(0x2ed)](_0x27b87e,_0x59edd3,_0x1f0020){const _0x550041=_0x1b0495;if(this[_0x550041(0x2f9)]===_0x16c134[_0x550041(0x32d)])throw new Error(_0x550041(0x249));if(typeof _0x27b87e==_0x550041(0x33e)?(_0x1f0020=_0x27b87e,_0x27b87e=_0x59edd3=void 0x0):typeof _0x59edd3==_0x550041(0x33e)&&(_0x1f0020=_0x59edd3,_0x59edd3=void 0x0),typeof _0x27b87e==_0x550041(0x376)&&(_0x27b87e=_0x27b87e[_0x550041(0x248)]()),this[_0x550041(0x2f9)]!==_0x16c134['OPEN']){_0xd032e3(this,_0x27b87e,_0x1f0020);return;}_0x59edd3===void 0x0&&(_0x59edd3=!this['_isServer']),this[_0x550041(0x29e)][_0x550041(0x2ed)](_0x27b87e||_0x5608f4,_0x59edd3,_0x1f0020);}['resume'](){const _0x460fa6=_0x1b0495;this[_0x460fa6(0x2f9)]===_0x16c134[_0x460fa6(0x32d)]||this[_0x460fa6(0x2f9)]===_0x16c134[_0x460fa6(0x1f6)]||(this[_0x460fa6(0x28f)]=!0x1,this[_0x460fa6(0x35c)]['_writableState'][_0x460fa6(0x36c)]||this['_socket']['resume']());}[_0x1b0495(0x37e)](_0x4efed0,_0xffbd15,_0x433d32){const _0x1c59f0=_0x1b0495;if(this[_0x1c59f0(0x2f9)]===_0x16c134[_0x1c59f0(0x32d)])throw new Error(_0x1c59f0(0x249));if(typeof _0xffbd15==_0x1c59f0(0x33e)&&(_0x433d32=_0xffbd15,_0xffbd15={}),typeof _0x4efed0=='number'&&(_0x4efed0=_0x4efed0[_0x1c59f0(0x248)]()),this[_0x1c59f0(0x2f9)]!==_0x16c134[_0x1c59f0(0x2c1)]){_0xd032e3(this,_0x4efed0,_0x433d32);return;}const _0x2608ab={'binary':typeof _0x4efed0!=_0x1c59f0(0x24e),'mask':!this[_0x1c59f0(0x296)],'compress':!0x0,'fin':!0x0,..._0xffbd15};this['_extensions'][_0x500514[_0x1c59f0(0x330)]]||(_0x2608ab[_0x1c59f0(0x23f)]=!0x1),this[_0x1c59f0(0x29e)][_0x1c59f0(0x37e)](_0x4efed0||_0x5608f4,_0x2608ab,_0x433d32);}[_0x1b0495(0x306)](){const _0x3b08e1=_0x1b0495;if(this[_0x3b08e1(0x2f9)]!==_0x16c134[_0x3b08e1(0x1f6)]){if(this[_0x3b08e1(0x2f9)]===_0x16c134[_0x3b08e1(0x32d)]){_0x2f0c4c(this,this[_0x3b08e1(0x313)],_0x3b08e1(0x22d));return;}this[_0x3b08e1(0x360)]&&(this[_0x3b08e1(0x2fa)]=_0x16c134[_0x3b08e1(0x36e)],this[_0x3b08e1(0x360)][_0x3b08e1(0x39c)]());}}}Object[_0x1b0495(0x293)](_0x16c134,_0x1b0495(0x32d),{'enumerable':!0x0,'value':_0x5e7451[_0x1b0495(0x30d)]('CONNECTING')}),Object[_0x1b0495(0x293)](_0x16c134[_0x1b0495(0x2d8)],'CONNECTING',{'enumerable':!0x0,'value':_0x5e7451[_0x1b0495(0x30d)]('CONNECTING')}),Object[_0x1b0495(0x293)](_0x16c134,'OPEN',{'enumerable':!0x0,'value':_0x5e7451['indexOf'](_0x1b0495(0x2c1))}),Object[_0x1b0495(0x293)](_0x16c134[_0x1b0495(0x2d8)],_0x1b0495(0x2c1),{'enumerable':!0x0,'value':_0x5e7451['indexOf']('OPEN')}),Object[_0x1b0495(0x293)](_0x16c134,_0x1b0495(0x36e),{'enumerable':!0x0,'value':_0x5e7451[_0x1b0495(0x30d)](_0x1b0495(0x36e))}),Object[_0x1b0495(0x293)](_0x16c134[_0x1b0495(0x2d8)],_0x1b0495(0x36e),{'enumerable':!0x0,'value':_0x5e7451[_0x1b0495(0x30d)]('CLOSING')}),Object[_0x1b0495(0x293)](_0x16c134,_0x1b0495(0x1f6),{'enumerable':!0x0,'value':_0x5e7451[_0x1b0495(0x30d)](_0x1b0495(0x1f6))}),Object[_0x1b0495(0x293)](_0x16c134['prototype'],'CLOSED',{'enumerable':!0x0,'value':_0x5e7451[_0x1b0495(0x30d)](_0x1b0495(0x1f6))}),[_0x1b0495(0x1fd),'bufferedAmount','extensions',_0x1b0495(0x2bf),_0x1b0495(0x30b),'readyState',_0x1b0495(0x328)][_0x1b0495(0x276)](_0x6ed227=>{const _0x4be89a=_0x1b0495;Object[_0x4be89a(0x293)](_0x16c134[_0x4be89a(0x2d8)],_0x6ed227,{'enumerable':!0x0});}),['open',_0x1b0495(0x1ee),'close','message'][_0x1b0495(0x276)](_0x3b53e6=>{const _0x1087b7=_0x1b0495;Object['defineProperty'](_0x16c134[_0x1087b7(0x2d8)],'on'+_0x3b53e6,{'enumerable':!0x0,'get'(){for(const _0x21f564 of this['listeners'](_0x3b53e6))if(_0x21f564[_0x139103])return _0x21f564[_0x5d30e4];return null;},'set'(_0x5bd988){const _0x3741ee=_0x1087b7;for(const _0x57af14 of this[_0x3741ee(0x240)](_0x3b53e6))if(_0x57af14[_0x139103]){this[_0x3741ee(0x238)](_0x3b53e6,_0x57af14);break;}typeof _0x5bd988==_0x3741ee(0x33e)&&this[_0x3741ee(0x2ec)](_0x3b53e6,_0x5bd988,{[_0x139103]:!0x0});}});}),_0x16c134[_0x1b0495(0x2d8)][_0x1b0495(0x2ec)]=_0x1ad510,_0x16c134['prototype']['removeEventListener']=_0x489b44,Oe=_0x16c134;function _0xa0ec21(_0x4cd15a,_0x449ee4,_0x2a11e4,_0x5e0dcc){const _0x102da0=_0x1b0495,_0x4a411b={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x3891bd[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x5e0dcc,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x102da0(0x350),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x4cd15a[_0x102da0(0x2d5)]=_0x4a411b[_0x102da0(0x294)],!_0x3891bd[_0x102da0(0x343)](_0x4a411b[_0x102da0(0x218)]))throw new RangeError(_0x102da0(0x21c)+_0x4a411b[_0x102da0(0x218)]+'\x20(supported\x20versions:\x20'+_0x3891bd[_0x102da0(0x35b)](',\x20')+')');let _0x573a77;if(_0x449ee4 instanceof _0x222551)_0x573a77=_0x449ee4;else try{_0x573a77=new _0x222551(_0x449ee4);}catch{throw new SyntaxError(_0x102da0(0x263)+_0x449ee4);}_0x573a77[_0x102da0(0x30b)]===_0x102da0(0x225)?_0x573a77['protocol']=_0x102da0(0x2e8):_0x573a77[_0x102da0(0x30b)]===_0x102da0(0x25d)&&(_0x573a77['protocol']=_0x102da0(0x304)),_0x4cd15a[_0x102da0(0x29b)]=_0x573a77[_0x102da0(0x300)];const _0x56a096=_0x573a77[_0x102da0(0x30b)]===_0x102da0(0x304),_0x197d51=_0x573a77['protocol']==='ws+unix:';let _0x9afb74;if(_0x573a77[_0x102da0(0x30b)]!==_0x102da0(0x2e8)&&!_0x56a096&&!_0x197d51?_0x9afb74=_0x102da0(0x219):_0x197d51&&!_0x573a77[_0x102da0(0x2c0)]?_0x9afb74='The\x20URL\x27s\x20pathname\x20is\x20empty':_0x573a77[_0x102da0(0x392)]&&(_0x9afb74='The\x20URL\x20contains\x20a\x20fragment\x20identifier'),_0x9afb74){const _0x336df3=new SyntaxError(_0x9afb74);if(_0x4cd15a[_0x102da0(0x290)]===0x0)throw _0x336df3;_0x31439a(_0x4cd15a,_0x336df3);return;}const _0xd97c06=_0x56a096?0x1bb:0x50,_0x2299be=_0x1f803b(0x10)['toString']('base64'),_0x2bb7d2=_0x56a096?_0x12da93[_0x102da0(0x31b)]:_0x33514f[_0x102da0(0x31b)],_0x5bd851=new Set();let _0x22820e;if(_0x4a411b['createConnection']=_0x4a411b[_0x102da0(0x361)]||(_0x56a096?_0x762c0e:_0x5160a6),_0x4a411b[_0x102da0(0x2d9)]=_0x4a411b['defaultPort']||_0xd97c06,_0x4a411b['port']=_0x573a77[_0x102da0(0x2fe)]||_0xd97c06,_0x4a411b[_0x102da0(0x35a)]=_0x573a77['hostname'][_0x102da0(0x370)]('[')?_0x573a77['hostname']['slice'](0x1,-0x1):_0x573a77[_0x102da0(0x261)],_0x4a411b[_0x102da0(0x22c)]={..._0x4a411b[_0x102da0(0x22c)],'Sec-WebSocket-Version':_0x4a411b[_0x102da0(0x218)],'Sec-WebSocket-Key':_0x2299be,'Connection':_0x102da0(0x308),'Upgrade':_0x102da0(0x29f)},_0x4a411b[_0x102da0(0x207)]=_0x573a77['pathname']+_0x573a77[_0x102da0(0x202)],_0x4a411b[_0x102da0(0x2cd)]=_0x4a411b[_0x102da0(0x30a)],_0x4a411b[_0x102da0(0x2ce)]&&(_0x22820e=new _0x500514(_0x4a411b[_0x102da0(0x2ce)]!==!0x0?_0x4a411b[_0x102da0(0x2ce)]:{},!0x1,_0x4a411b[_0x102da0(0x355)]),_0x4a411b[_0x102da0(0x22c)][_0x102da0(0x34d)]=_0x173b6f({[_0x500514[_0x102da0(0x330)]]:_0x22820e[_0x102da0(0x20a)]()})),_0x2a11e4[_0x102da0(0x2ab)]){for(const _0x4f6553 of _0x2a11e4){if(typeof _0x4f6553!=_0x102da0(0x24e)||!_0x29a306[_0x102da0(0x309)](_0x4f6553)||_0x5bd851[_0x102da0(0x2e1)](_0x4f6553))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x5bd851[_0x102da0(0x39e)](_0x4f6553);}_0x4a411b[_0x102da0(0x22c)][_0x102da0(0x2cb)]=_0x2a11e4['join'](',');}if(_0x4a411b[_0x102da0(0x237)]&&(_0x4a411b['protocolVersion']<0xd?_0x4a411b[_0x102da0(0x22c)][_0x102da0(0x241)]=_0x4a411b[_0x102da0(0x237)]:_0x4a411b[_0x102da0(0x22c)][_0x102da0(0x253)]=_0x4a411b[_0x102da0(0x237)]),(_0x573a77[_0x102da0(0x25e)]||_0x573a77[_0x102da0(0x292)])&&(_0x4a411b[_0x102da0(0x335)]=_0x573a77['username']+':'+_0x573a77['password']),_0x197d51){const _0x5eaed8=_0x4a411b[_0x102da0(0x207)][_0x102da0(0x333)](':');_0x4a411b[_0x102da0(0x2b2)]=_0x5eaed8[0x0],_0x4a411b[_0x102da0(0x207)]=_0x5eaed8[0x1];}let _0x3ee90b;if(_0x4a411b[_0x102da0(0x2a1)]){if(_0x4cd15a['_redirects']===0x0){_0x4cd15a[_0x102da0(0x203)]=_0x197d51,_0x4cd15a[_0x102da0(0x2a5)]=_0x56a096,_0x4cd15a[_0x102da0(0x36f)]=_0x197d51?_0x4a411b[_0x102da0(0x2b2)]:_0x573a77['host'];const _0x5850a1=_0x5e0dcc&&_0x5e0dcc[_0x102da0(0x22c)];if(_0x5e0dcc={..._0x5e0dcc,'headers':{}},_0x5850a1){for(const [_0x5b7e9b,_0x24ddc9]of Object['entries'](_0x5850a1))_0x5e0dcc['headers'][_0x5b7e9b[_0x102da0(0x31a)]()]=_0x24ddc9;}}else{if(_0x4cd15a[_0x102da0(0x32b)](_0x102da0(0x2b4))===0x0){const _0x3d380a=_0x197d51?_0x4cd15a['_originalIpc']?_0x4a411b[_0x102da0(0x2b2)]===_0x4cd15a[_0x102da0(0x36f)]:!0x1:_0x4cd15a[_0x102da0(0x203)]?!0x1:_0x573a77[_0x102da0(0x35a)]===_0x4cd15a['_originalHostOrSocketPath'];(!_0x3d380a||_0x4cd15a[_0x102da0(0x2a5)]&&!_0x56a096)&&(delete _0x4a411b[_0x102da0(0x22c)][_0x102da0(0x20e)],delete _0x4a411b['headers']['cookie'],_0x3d380a||delete _0x4a411b[_0x102da0(0x22c)][_0x102da0(0x35a)],_0x4a411b[_0x102da0(0x335)]=void 0x0);}}_0x4a411b[_0x102da0(0x335)]&&!_0x5e0dcc[_0x102da0(0x22c)][_0x102da0(0x20e)]&&(_0x5e0dcc[_0x102da0(0x22c)][_0x102da0(0x20e)]=_0x102da0(0x1fe)+Buffer[_0x102da0(0x28a)](_0x4a411b['auth'])[_0x102da0(0x248)]('base64')),_0x3ee90b=_0x4cd15a[_0x102da0(0x313)]=_0x2bb7d2(_0x4a411b),_0x4cd15a[_0x102da0(0x290)]&&_0x4cd15a[_0x102da0(0x2be)]('redirect',_0x4cd15a['url'],_0x3ee90b);}else _0x3ee90b=_0x4cd15a['_req']=_0x2bb7d2(_0x4a411b);_0x4a411b[_0x102da0(0x2cd)]&&_0x3ee90b['on']('timeout',()=>{const _0x252d0e=_0x102da0;_0x2f0c4c(_0x4cd15a,_0x3ee90b,_0x252d0e(0x2f0));}),_0x3ee90b['on'](_0x102da0(0x1ee),_0x378976=>{_0x3ee90b===null||_0x3ee90b[_0x417034]||(_0x3ee90b=_0x4cd15a['_req']=null,_0x31439a(_0x4cd15a,_0x378976));}),_0x3ee90b['on']('response',_0x4c2ddd=>{const _0x3bdef9=_0x102da0,_0x2054d9=_0x4c2ddd[_0x3bdef9(0x22c)][_0x3bdef9(0x281)],_0x4e2121=_0x4c2ddd['statusCode'];if(_0x2054d9&&_0x4a411b[_0x3bdef9(0x2a1)]&&_0x4e2121>=0x12c&&_0x4e2121<0x190){if(++_0x4cd15a['_redirects']>_0x4a411b[_0x3bdef9(0x341)]){_0x2f0c4c(_0x4cd15a,_0x3ee90b,_0x3bdef9(0x39d));return;}_0x3ee90b['abort']();let _0x10767d;try{_0x10767d=new _0x222551(_0x2054d9,_0x449ee4);}catch{const _0x2b8a3a=new SyntaxError(_0x3bdef9(0x263)+_0x2054d9);_0x31439a(_0x4cd15a,_0x2b8a3a);return;}_0xa0ec21(_0x4cd15a,_0x10767d,_0x2a11e4,_0x5e0dcc);}else _0x4cd15a['emit'](_0x3bdef9(0x326),_0x3ee90b,_0x4c2ddd)||_0x2f0c4c(_0x4cd15a,_0x3ee90b,'Unexpected\x20server\x20response:\x20'+_0x4c2ddd['statusCode']);}),_0x3ee90b['on'](_0x102da0(0x363),(_0x298026,_0x154466,_0xe97687)=>{const _0x1fa0a4=_0x102da0;if(_0x4cd15a[_0x1fa0a4(0x2be)](_0x1fa0a4(0x363),_0x298026),_0x4cd15a['readyState']!==_0x16c134[_0x1fa0a4(0x32d)])return;_0x3ee90b=_0x4cd15a['_req']=null;const _0x129e61=_0x298026[_0x1fa0a4(0x22c)][_0x1fa0a4(0x363)];if(_0x129e61===void 0x0||_0x129e61[_0x1fa0a4(0x31a)]()!=='websocket'){_0x2f0c4c(_0x4cd15a,_0x154466,_0x1fa0a4(0x271));return;}const _0x31f9d5=_0x8a040f('sha1')[_0x1fa0a4(0x314)](_0x2299be+_0x4229bd)['digest'](_0x1fa0a4(0x23e));if(_0x298026[_0x1fa0a4(0x22c)][_0x1fa0a4(0x20d)]!==_0x31f9d5){_0x2f0c4c(_0x4cd15a,_0x154466,'Invalid\x20Sec-WebSocket-Accept\x20header');return;}const _0x348743=_0x298026[_0x1fa0a4(0x22c)][_0x1fa0a4(0x256)];let _0x18e46c;if(_0x348743!==void 0x0?_0x5bd851['size']?_0x5bd851[_0x1fa0a4(0x2e1)](_0x348743)||(_0x18e46c='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0x18e46c='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0x5bd851[_0x1fa0a4(0x22f)]&&(_0x18e46c='Server\x20sent\x20no\x20subprotocol'),_0x18e46c){_0x2f0c4c(_0x4cd15a,_0x154466,_0x18e46c);return;}_0x348743&&(_0x4cd15a[_0x1fa0a4(0x239)]=_0x348743);const _0x35d823=_0x298026['headers']['sec-websocket-extensions'];if(_0x35d823!==void 0x0){if(!_0x22820e){_0x2f0c4c(_0x4cd15a,_0x154466,_0x1fa0a4(0x2d4));return;}let _0xda3692;try{_0xda3692=_0x1d3449(_0x35d823);}catch{_0x2f0c4c(_0x4cd15a,_0x154466,_0x1fa0a4(0x27d));return;}const _0x3502cb=Object[_0x1fa0a4(0x2e2)](_0xda3692);if(_0x3502cb[_0x1fa0a4(0x2ab)]!==0x1||_0x3502cb[0x0]!==_0x500514[_0x1fa0a4(0x330)]){_0x2f0c4c(_0x4cd15a,_0x154466,_0x1fa0a4(0x280));return;}try{_0x22820e['accept'](_0xda3692[_0x500514['extensionName']]);}catch{_0x2f0c4c(_0x4cd15a,_0x154466,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}_0x4cd15a['_extensions'][_0x500514['extensionName']]=_0x22820e;}_0x4cd15a['setSocket'](_0x154466,_0xe97687,{'allowSynchronousEvents':_0x4a411b[_0x1fa0a4(0x254)],'generateMask':_0x4a411b[_0x1fa0a4(0x32e)],'maxPayload':_0x4a411b['maxPayload'],'skipUTF8Validation':_0x4a411b[_0x1fa0a4(0x325)]});}),_0x4a411b['finishRequest']?_0x4a411b[_0x102da0(0x2ef)](_0x3ee90b,_0x4cd15a):_0x3ee90b[_0x102da0(0x231)]();}function _0x31439a(_0x1686e0,_0x163d66){const _0x1fae0e=_0x1b0495;_0x1686e0[_0x1fae0e(0x2fa)]=_0x16c134[_0x1fae0e(0x36e)],_0x1686e0['_errorEmitted']=!0x0,_0x1686e0['emit']('error',_0x163d66),_0x1686e0[_0x1fae0e(0x2ee)]();}function _0x5160a6(_0x8b39d6){const _0xa72a4e=_0x1b0495;return _0x8b39d6[_0xa72a4e(0x207)]=_0x8b39d6['socketPath'],_0x4d544a[_0xa72a4e(0x230)](_0x8b39d6);}function _0x762c0e(_0x2dfbc9){const _0x367c0e=_0x1b0495;return _0x2dfbc9['path']=void 0x0,!_0x2dfbc9[_0x367c0e(0x2f1)]&&_0x2dfbc9['servername']!==''&&(_0x2dfbc9[_0x367c0e(0x2f1)]=_0x4d544a[_0x367c0e(0x342)](_0x2dfbc9[_0x367c0e(0x35a)])?'':_0x2dfbc9[_0x367c0e(0x35a)]),_0x3b976c[_0x367c0e(0x230)](_0x2dfbc9);}function _0x2f0c4c(_0x24727c,_0x5326ba,_0x3dff35){const _0x2115bb=_0x1b0495;_0x24727c['_readyState']=_0x16c134[_0x2115bb(0x36e)];const _0x92b9d2=new Error(_0x3dff35);Error[_0x2115bb(0x258)](_0x92b9d2,_0x2f0c4c),_0x5326ba[_0x2115bb(0x2ae)]?(_0x5326ba[_0x417034]=!0x0,_0x5326ba[_0x2115bb(0x2af)](),_0x5326ba[_0x2115bb(0x2a7)]&&!_0x5326ba[_0x2115bb(0x2a7)][_0x2115bb(0x23b)]&&_0x5326ba[_0x2115bb(0x2a7)]['destroy'](),process['nextTick'](_0x31439a,_0x24727c,_0x92b9d2)):(_0x5326ba[_0x2115bb(0x39c)](_0x92b9d2),_0x5326ba[_0x2115bb(0x2f3)]('error',_0x24727c['emit'][_0x2115bb(0x32a)](_0x24727c,_0x2115bb(0x1ee))),_0x5326ba[_0x2115bb(0x2f3)](_0x2115bb(0x2ac),_0x24727c['emitClose']['bind'](_0x24727c)));}function _0xd032e3(_0x546dca,_0x4161c8,_0x5991ce){const _0x54aeba=_0x1b0495;if(_0x4161c8){const _0x4a5ae9=_0x3e4519(_0x4161c8)?_0x4161c8[_0x54aeba(0x22f)]:_0x3db36a(_0x4161c8)[_0x54aeba(0x2ab)];_0x546dca[_0x54aeba(0x360)]?_0x546dca[_0x54aeba(0x29e)]['_bufferedBytes']+=_0x4a5ae9:_0x546dca[_0x54aeba(0x35f)]+=_0x4a5ae9;}if(_0x5991ce){const _0xffc380=new Error(_0x54aeba(0x2e5)+_0x546dca[_0x54aeba(0x2f9)]+'\x20('+_0x5e7451[_0x546dca['readyState']]+')');process[_0x54aeba(0x1fc)](_0x5991ce,_0xffc380);}}function _0x50a786(_0x2cabe7,_0x1ca35f){const _0x22cf9a=_0x1b0495,_0x3bfa02=this[_0xc9b094];_0x3bfa02[_0x22cf9a(0x2c8)]=!0x0,_0x3bfa02[_0x22cf9a(0x266)]=_0x1ca35f,_0x3bfa02[_0x22cf9a(0x38f)]=_0x2cabe7,_0x3bfa02['_socket'][_0xc9b094]!==void 0x0&&(_0x3bfa02[_0x22cf9a(0x360)][_0x22cf9a(0x238)](_0x22cf9a(0x233),_0x3ccaeb),process[_0x22cf9a(0x1fc)](_0x59e3e7,_0x3bfa02[_0x22cf9a(0x360)]),_0x2cabe7===0x3ed?_0x3bfa02[_0x22cf9a(0x2ac)]():_0x3bfa02[_0x22cf9a(0x2ac)](_0x2cabe7,_0x1ca35f));}function _0x39ddce(){const _0x387459=_0x1b0495,_0x41b7f7=this[_0xc9b094];_0x41b7f7[_0x387459(0x2bf)]||_0x41b7f7[_0x387459(0x360)][_0x387459(0x21a)]();}function _0x228116(_0x3bdca1){const _0x502821=_0x1b0495,_0x33abd0=this[_0xc9b094];_0x33abd0[_0x502821(0x360)][_0xc9b094]!==void 0x0&&(_0x33abd0[_0x502821(0x360)]['removeListener'](_0x502821(0x233),_0x3ccaeb),process[_0x502821(0x1fc)](_0x59e3e7,_0x33abd0['_socket']),_0x33abd0[_0x502821(0x2ac)](_0x3bdca1[_0x476527])),_0x33abd0[_0x502821(0x2c3)]||(_0x33abd0[_0x502821(0x2c3)]=!0x0,_0x33abd0['emit'](_0x502821(0x1ee),_0x3bdca1));}function _0x149c7b(){this[_0xc9b094]['emitClose']();}function _0x8a8d63(_0xff13ea,_0x1d88cb){this[_0xc9b094]['emit']('message',_0xff13ea,_0x1d88cb);}function _0x161f58(_0x442333){const _0xbccd85=_0x1b0495,_0x1cf7e8=this[_0xc9b094];_0x1cf7e8['_autoPong']&&_0x1cf7e8[_0xbccd85(0x2ed)](_0x442333,!this[_0xbccd85(0x296)],_0x3caef9),_0x1cf7e8[_0xbccd85(0x2be)](_0xbccd85(0x390),_0x442333);}function _0x1bc25a(_0x1bb2f3){const _0x15954c=_0x1b0495;this[_0xc9b094][_0x15954c(0x2be)](_0x15954c(0x2ed),_0x1bb2f3);}function _0x59e3e7(_0x1d361d){_0x1d361d['resume']();}function _0x24f188(_0x3e01b4){const _0x9226e1=_0x1b0495,_0x532173=this[_0xc9b094];_0x532173[_0x9226e1(0x2f9)]!==_0x16c134['CLOSED']&&(_0x532173[_0x9226e1(0x2f9)]===_0x16c134[_0x9226e1(0x2c1)]&&(_0x532173[_0x9226e1(0x2fa)]=_0x16c134[_0x9226e1(0x36e)],_0xad3085(_0x532173)),this['_socket'][_0x9226e1(0x231)](),_0x532173[_0x9226e1(0x2c3)]||(_0x532173[_0x9226e1(0x2c3)]=!0x0,_0x532173[_0x9226e1(0x2be)](_0x9226e1(0x1ee),_0x3e01b4)));}function _0xad3085(_0x376562){const _0x2cb3fa=_0x1b0495;_0x376562[_0x2cb3fa(0x1f5)]=setTimeout(_0x376562[_0x2cb3fa(0x360)]['destroy'][_0x2cb3fa(0x32a)](_0x376562[_0x2cb3fa(0x360)]),_0x57ca10);}function _0x1f80cd(){const _0x53e740=_0x1b0495,_0x3f412c=this[_0xc9b094];this[_0x53e740(0x238)](_0x53e740(0x2ac),_0x1f80cd),this['removeListener'](_0x53e740(0x233),_0x3ccaeb),this[_0x53e740(0x238)](_0x53e740(0x231),_0x5e2ba7),_0x3f412c[_0x53e740(0x2fa)]=_0x16c134[_0x53e740(0x36e)];let _0x179ff8;!this[_0x53e740(0x348)]['endEmitted']&&!_0x3f412c[_0x53e740(0x2c8)]&&!_0x3f412c['_receiver'][_0x53e740(0x270)][_0x53e740(0x367)]&&(_0x179ff8=_0x3f412c[_0x53e740(0x360)]['read']())!==null&&_0x3f412c[_0x53e740(0x35c)][_0x53e740(0x307)](_0x179ff8),_0x3f412c[_0x53e740(0x35c)]['end'](),this[_0xc9b094]=void 0x0,clearTimeout(_0x3f412c[_0x53e740(0x1f5)]),_0x3f412c['_receiver'][_0x53e740(0x270)][_0x53e740(0x268)]||_0x3f412c[_0x53e740(0x35c)]['_writableState'][_0x53e740(0x367)]?_0x3f412c[_0x53e740(0x2ee)]():(_0x3f412c[_0x53e740(0x35c)]['on'](_0x53e740(0x1ee),_0x149c7b),_0x3f412c[_0x53e740(0x35c)]['on']('finish',_0x149c7b));}function _0x3ccaeb(_0x474d05){const _0xc7ea2d=_0x1b0495;this[_0xc9b094]['_receiver'][_0xc7ea2d(0x307)](_0x474d05)||this['pause']();}function _0x5e2ba7(){const _0x25390b=_0x1b0495,_0x465380=this[_0xc9b094];_0x465380[_0x25390b(0x2fa)]=_0x16c134[_0x25390b(0x36e)],_0x465380[_0x25390b(0x35c)]['end'](),this[_0x25390b(0x231)]();}function _0x1d5e75(){const _0x19bb63=_0x1b0495,_0x4aaa6b=this[_0xc9b094];this['removeListener'](_0x19bb63(0x1ee),_0x1d5e75),this['on'](_0x19bb63(0x1ee),_0x3caef9),_0x4aaa6b&&(_0x4aaa6b[_0x19bb63(0x2fa)]=_0x16c134[_0x19bb63(0x36e)],this['destroy']());}return Oe;}var Zt=pt();const Qt=Wt(Zt);var Ce,it;function Jt(){if(it)return Ce;it=0x1;const {tokenChars:_0x1e1865}=ne();function _0x1250f4(_0xef7833){const _0x56f8f2=_0x192b,_0x40af60=new Set();let _0x1cece2=-0x1,_0x5ae077=-0x1,_0xa2d6ad=0x0;for(_0xa2d6ad;_0xa2d6ad<_0xef7833['length'];_0xa2d6ad++){const _0x37fb25=_0xef7833[_0x56f8f2(0x235)](_0xa2d6ad);if(_0x5ae077===-0x1&&_0x1e1865[_0x37fb25]===0x1)_0x1cece2===-0x1&&(_0x1cece2=_0xa2d6ad);else{if(_0xa2d6ad!==0x0&&(_0x37fb25===0x20||_0x37fb25===0x9))_0x5ae077===-0x1&&_0x1cece2!==-0x1&&(_0x5ae077=_0xa2d6ad);else{if(_0x37fb25===0x2c){if(_0x1cece2===-0x1)throw new SyntaxError(_0x56f8f2(0x2a0)+_0xa2d6ad);_0x5ae077===-0x1&&(_0x5ae077=_0xa2d6ad);const _0x434a04=_0xef7833['slice'](_0x1cece2,_0x5ae077);if(_0x40af60[_0x56f8f2(0x2e1)](_0x434a04))throw new SyntaxError(_0x56f8f2(0x329)+_0x434a04+'\x22\x20subprotocol\x20is\x20duplicated');_0x40af60[_0x56f8f2(0x39e)](_0x434a04),_0x1cece2=_0x5ae077=-0x1;}else throw new SyntaxError(_0x56f8f2(0x2a0)+_0xa2d6ad);}}}if(_0x1cece2===-0x1||_0x5ae077!==-0x1)throw new SyntaxError(_0x56f8f2(0x25f));const _0x1551aa=_0xef7833[_0x56f8f2(0x389)](_0x1cece2,_0xa2d6ad);if(_0x40af60[_0x56f8f2(0x2e1)](_0x1551aa))throw new SyntaxError(_0x56f8f2(0x329)+_0x1551aa+_0x56f8f2(0x201));return _0x40af60[_0x56f8f2(0x39e)](_0x1551aa),_0x40af60;}return Ce={'parse':_0x1250f4},Ce;}var Te,nt;function er(){const _0x5638f5=_0x7c1347;if(nt)return Te;nt=0x1;const _0x535ad9=_0xd52aea,_0x515ac2=_0x23330f,{Duplex:_0x7a405f}=_0x28ed20,{createHash:_0x73a67f}=_0x2db855,_0x370e18=_t(),_0x1a48a6=he(),_0x549fd7=Jt(),_0x34312a=pt(),{GUID:_0x191a9b,kWebSocket:_0x571df2}=V(),_0x432120=/^[+/0-9A-Za-z]{22}==$/,_0x2bc125=0x0,_0x4de493=0x1,_0x1d2d56=0x2;class _0x5738bf extends _0x535ad9{constructor(_0x86f3f,_0x16deac){const _0x54deca=_0x192b;if(super(),_0x86f3f={'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':_0x34312a,..._0x86f3f},_0x86f3f[_0x54deca(0x2fe)]==null&&!_0x86f3f[_0x54deca(0x346)]&&!_0x86f3f[_0x54deca(0x210)]||_0x86f3f[_0x54deca(0x2fe)]!=null&&(_0x86f3f[_0x54deca(0x346)]||_0x86f3f[_0x54deca(0x210)])||_0x86f3f[_0x54deca(0x346)]&&_0x86f3f[_0x54deca(0x210)])throw new TypeError('One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified');if(_0x86f3f['port']!=null?(this[_0x54deca(0x224)]=_0x515ac2[_0x54deca(0x366)]((_0x3eac57,_0x4a06da)=>{const _0x4ba75f=_0x54deca,_0x5e1971=_0x515ac2['STATUS_CODES'][0x1aa];_0x4a06da[_0x4ba75f(0x302)](0x1aa,{'Content-Length':_0x5e1971[_0x4ba75f(0x2ab)],'Content-Type':_0x4ba75f(0x2eb)}),_0x4a06da['end'](_0x5e1971);}),this[_0x54deca(0x224)]['listen'](_0x86f3f[_0x54deca(0x2fe)],_0x86f3f[_0x54deca(0x35a)],_0x86f3f[_0x54deca(0x2bd)],_0x16deac)):_0x86f3f[_0x54deca(0x346)]&&(this[_0x54deca(0x224)]=_0x86f3f[_0x54deca(0x346)]),this[_0x54deca(0x224)]){const _0x27fa12=this[_0x54deca(0x2be)]['bind'](this,'connection');this[_0x54deca(0x315)]=_0x23317d(this[_0x54deca(0x224)],{'listening':this[_0x54deca(0x2be)][_0x54deca(0x32a)](this,_0x54deca(0x375)),'error':this[_0x54deca(0x2be)][_0x54deca(0x32a)](this,'error'),'upgrade':(_0x4501d5,_0x2d0e6a,_0x4a81d8)=>{const _0x4b1d90=_0x54deca;this[_0x4b1d90(0x33b)](_0x4501d5,_0x2d0e6a,_0x4a81d8,_0x27fa12);}});}_0x86f3f['perMessageDeflate']===!0x0&&(_0x86f3f['perMessageDeflate']={}),_0x86f3f[_0x54deca(0x31e)]&&(this[_0x54deca(0x344)]=new Set(),this[_0x54deca(0x365)]=!0x1),this[_0x54deca(0x385)]=_0x86f3f,this[_0x54deca(0x1ff)]=_0x2bc125;}[_0x5638f5(0x1fb)](){const _0x1a2ba7=_0x5638f5;if(this[_0x1a2ba7(0x385)]['noServer'])throw new Error(_0x1a2ba7(0x35d));return this['_server']?this['_server'][_0x1a2ba7(0x1fb)]():null;}[_0x5638f5(0x2ac)](_0x336fa4){const _0x216ec6=_0x5638f5;if(this['_state']===_0x1d2d56){_0x336fa4&&this[_0x216ec6(0x2f3)]('close',()=>{_0x336fa4(new Error('The\x20server\x20is\x20not\x20running'));}),process[_0x216ec6(0x1fc)](_0x469d20,this);return;}if(_0x336fa4&&this[_0x216ec6(0x2f3)]('close',_0x336fa4),this[_0x216ec6(0x1ff)]!==_0x4de493){if(this['_state']=_0x4de493,this['options'][_0x216ec6(0x210)]||this[_0x216ec6(0x385)]['server'])this[_0x216ec6(0x224)]&&(this['_removeListeners'](),this[_0x216ec6(0x315)]=this[_0x216ec6(0x224)]=null),this[_0x216ec6(0x344)]?this[_0x216ec6(0x344)][_0x216ec6(0x22f)]?this['_shouldEmitClose']=!0x0:process['nextTick'](_0x469d20,this):process[_0x216ec6(0x1fc)](_0x469d20,this);else{const _0x3fe755=this[_0x216ec6(0x224)];this[_0x216ec6(0x315)](),this[_0x216ec6(0x315)]=this[_0x216ec6(0x224)]=null,_0x3fe755[_0x216ec6(0x2ac)](()=>{_0x469d20(this);});}}}[_0x5638f5(0x216)](_0x1de4eb){const _0x57f0e2=_0x5638f5;if(this[_0x57f0e2(0x385)][_0x57f0e2(0x207)]){const _0x316827=_0x1de4eb[_0x57f0e2(0x328)][_0x57f0e2(0x30d)]('?');if((_0x316827!==-0x1?_0x1de4eb[_0x57f0e2(0x328)][_0x57f0e2(0x389)](0x0,_0x316827):_0x1de4eb[_0x57f0e2(0x328)])!==this['options']['path'])return!0x1;}return!0x0;}[_0x5638f5(0x33b)](_0x5aaa7,_0x3a879a,_0x25afd0,_0x2fa922){const _0x51258f=_0x5638f5;_0x3a879a['on'](_0x51258f(0x1ee),_0x45c6b4);const _0x56f986=_0x5aaa7[_0x51258f(0x22c)][_0x51258f(0x31c)],_0x20b317=_0x5aaa7[_0x51258f(0x22c)]['upgrade'],_0x57fab0=+_0x5aaa7['headers']['sec-websocket-version'];if(_0x5aaa7[_0x51258f(0x25c)]!==_0x51258f(0x350)){_0x8736c3(this,_0x5aaa7,_0x3a879a,0x195,'Invalid\x20HTTP\x20method');return;}if(_0x20b317===void 0x0||_0x20b317[_0x51258f(0x31a)]()!==_0x51258f(0x29f)){_0x8736c3(this,_0x5aaa7,_0x3a879a,0x190,'Invalid\x20Upgrade\x20header');return;}if(_0x56f986===void 0x0||!_0x432120[_0x51258f(0x309)](_0x56f986)){_0x8736c3(this,_0x5aaa7,_0x3a879a,0x190,_0x51258f(0x2cf));return;}if(_0x57fab0!==0x8&&_0x57fab0!==0xd){_0x8736c3(this,_0x5aaa7,_0x3a879a,0x190,_0x51258f(0x347));return;}if(!this[_0x51258f(0x216)](_0x5aaa7)){_0x57f05b(_0x3a879a,0x190);return;}const _0x158c06=_0x5aaa7['headers'][_0x51258f(0x256)];let _0x37672a=new Set();if(_0x158c06!==void 0x0)try{_0x37672a=_0x549fd7[_0x51258f(0x37d)](_0x158c06);}catch{_0x8736c3(this,_0x5aaa7,_0x3a879a,0x190,_0x51258f(0x246));return;}const _0xf7bb65=_0x5aaa7[_0x51258f(0x22c)]['sec-websocket-extensions'],_0x1a85f2={};if(this[_0x51258f(0x385)][_0x51258f(0x2ce)]&&_0xf7bb65!==void 0x0){const _0x1cba43=new _0x1a48a6(this[_0x51258f(0x385)]['perMessageDeflate'],!0x0,this[_0x51258f(0x385)][_0x51258f(0x355)]);try{const _0x13f2ea=_0x370e18[_0x51258f(0x37d)](_0xf7bb65);_0x13f2ea[_0x1a48a6[_0x51258f(0x330)]]&&(_0x1cba43[_0x51258f(0x27a)](_0x13f2ea[_0x1a48a6[_0x51258f(0x330)]]),_0x1a85f2[_0x1a48a6[_0x51258f(0x330)]]=_0x1cba43);}catch{_0x8736c3(this,_0x5aaa7,_0x3a879a,0x190,'Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header');return;}}if(this[_0x51258f(0x385)]['verifyClient']){const _0x11b24e={'origin':_0x5aaa7['headers'][''+(_0x57fab0===0x8?_0x51258f(0x25a):_0x51258f(0x237))],'secure':!!(_0x5aaa7['socket'][_0x51258f(0x262)]||_0x5aaa7[_0x51258f(0x2a7)]['encrypted']),'req':_0x5aaa7};if(this[_0x51258f(0x385)][_0x51258f(0x332)]['length']===0x2){this[_0x51258f(0x385)][_0x51258f(0x332)](_0x11b24e,(_0x31c6f3,_0x41461a,_0x3686ce,_0x3a03f4)=>{const _0x3db820=_0x51258f;if(!_0x31c6f3)return _0x57f05b(_0x3a879a,_0x41461a||0x191,_0x3686ce,_0x3a03f4);this[_0x3db820(0x30f)](_0x1a85f2,_0x56f986,_0x37672a,_0x5aaa7,_0x3a879a,_0x25afd0,_0x2fa922);});return;}if(!this['options'][_0x51258f(0x332)](_0x11b24e))return _0x57f05b(_0x3a879a,0x191);}this[_0x51258f(0x30f)](_0x1a85f2,_0x56f986,_0x37672a,_0x5aaa7,_0x3a879a,_0x25afd0,_0x2fa922);}[_0x5638f5(0x30f)](_0x3910e7,_0x7b5361,_0x3ed6dc,_0xeff266,_0x4286c9,_0x34c57c,_0x2fb1fd){const _0x50b2f3=_0x5638f5;if(!_0x4286c9[_0x50b2f3(0x295)]||!_0x4286c9[_0x50b2f3(0x29d)])return _0x4286c9[_0x50b2f3(0x39c)]();if(_0x4286c9[_0x571df2])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this[_0x50b2f3(0x1ff)]>_0x2bc125)return _0x57f05b(_0x4286c9,0x1f7);const _0x359e40=[_0x50b2f3(0x245),'Upgrade:\x20websocket','Connection:\x20Upgrade',_0x50b2f3(0x26a)+_0x73a67f(_0x50b2f3(0x285))['update'](_0x7b5361+_0x191a9b)[_0x50b2f3(0x1f7)](_0x50b2f3(0x23e))],_0x2d3394=new this['options'][(_0x50b2f3(0x354))](null,void 0x0,this[_0x50b2f3(0x385)]);if(_0x3ed6dc[_0x50b2f3(0x22f)]){const _0x5c3550=this[_0x50b2f3(0x385)][_0x50b2f3(0x29a)]?this[_0x50b2f3(0x385)][_0x50b2f3(0x29a)](_0x3ed6dc,_0xeff266):_0x3ed6dc[_0x50b2f3(0x2b0)]()[_0x50b2f3(0x1f0)]()['value'];_0x5c3550&&(_0x359e40['push'](_0x50b2f3(0x24b)+_0x5c3550),_0x2d3394[_0x50b2f3(0x239)]=_0x5c3550);}if(_0x3910e7[_0x1a48a6[_0x50b2f3(0x330)]]){const _0x1f1ad4=_0x3910e7[_0x1a48a6[_0x50b2f3(0x330)]][_0x50b2f3(0x267)],_0x3ef87a=_0x370e18[_0x50b2f3(0x26e)]({[_0x1a48a6[_0x50b2f3(0x330)]]:[_0x1f1ad4]});_0x359e40[_0x50b2f3(0x1f2)](_0x50b2f3(0x2e6)+_0x3ef87a),_0x2d3394[_0x50b2f3(0x38a)]=_0x3910e7;}this[_0x50b2f3(0x2be)](_0x50b2f3(0x22c),_0x359e40,_0xeff266),_0x4286c9[_0x50b2f3(0x307)](_0x359e40[_0x50b2f3(0x378)]('\x0d\x0a')['join']('\x0d\x0a')),_0x4286c9[_0x50b2f3(0x238)]('error',_0x45c6b4),_0x2d3394[_0x50b2f3(0x2c6)](_0x4286c9,_0x34c57c,{'allowSynchronousEvents':this[_0x50b2f3(0x385)][_0x50b2f3(0x254)],'maxPayload':this[_0x50b2f3(0x385)][_0x50b2f3(0x355)],'skipUTF8Validation':this[_0x50b2f3(0x385)]['skipUTF8Validation']}),this[_0x50b2f3(0x344)]&&(this[_0x50b2f3(0x344)][_0x50b2f3(0x39e)](_0x2d3394),_0x2d3394['on'](_0x50b2f3(0x2ac),()=>{const _0x31f622=_0x50b2f3;this[_0x31f622(0x344)][_0x31f622(0x337)](_0x2d3394),this[_0x31f622(0x365)]&&!this['clients']['size']&&process[_0x31f622(0x1fc)](_0x469d20,this);})),_0x2fb1fd(_0x2d3394,_0xeff266);}}Te=_0x5738bf;function _0x23317d(_0x13a5df,_0x1a92a7){const _0x1e7c02=_0x5638f5;for(const _0x24f98d of Object[_0x1e7c02(0x2e2)](_0x1a92a7))_0x13a5df['on'](_0x24f98d,_0x1a92a7[_0x24f98d]);return function(){const _0x519f2e=_0x1e7c02;for(const _0x5511b0 of Object[_0x519f2e(0x2e2)](_0x1a92a7))_0x13a5df[_0x519f2e(0x238)](_0x5511b0,_0x1a92a7[_0x5511b0]);};}function _0x469d20(_0x15d293){const _0x53506b=_0x5638f5;_0x15d293[_0x53506b(0x1ff)]=_0x1d2d56,_0x15d293[_0x53506b(0x2be)](_0x53506b(0x2ac));}function _0x45c6b4(){const _0x1ddaf0=_0x5638f5;this[_0x1ddaf0(0x39c)]();}function _0x57f05b(_0x2dfa0e,_0x46e387,_0x2c89cd,_0x3dfdeb){const _0x2b3172=_0x5638f5;_0x2c89cd=_0x2c89cd||_0x515ac2[_0x2b3172(0x288)][_0x46e387],_0x3dfdeb={'Connection':_0x2b3172(0x2ac),'Content-Type':'text/html','Content-Length':Buffer[_0x2b3172(0x2d0)](_0x2c89cd),..._0x3dfdeb},_0x2dfa0e[_0x2b3172(0x2f3)](_0x2b3172(0x27f),_0x2dfa0e[_0x2b3172(0x39c)]),_0x2dfa0e[_0x2b3172(0x231)](_0x2b3172(0x2d6)+_0x46e387+'\x20'+_0x515ac2['STATUS_CODES'][_0x46e387]+'\x0d\x0a'+Object['keys'](_0x3dfdeb)[_0x2b3172(0x2e7)](_0x1cc4ab=>_0x1cc4ab+':\x20'+_0x3dfdeb[_0x1cc4ab])[_0x2b3172(0x35b)]('\x0d\x0a')+_0x2b3172(0x2a9)+_0x2c89cd);}function _0x8736c3(_0x3c79c1,_0x4efe51,_0x4c62bf,_0x2de88c,_0x58dc74){const _0x253ccd=_0x5638f5;if(_0x3c79c1['listenerCount'](_0x253ccd(0x377))){const _0x2afb97=new Error(_0x58dc74);Error[_0x253ccd(0x258)](_0x2afb97,_0x8736c3),_0x3c79c1['emit'](_0x253ccd(0x377),_0x2afb97,_0x4c62bf,_0x4efe51);}else _0x57f05b(_0x4c62bf,_0x2de88c,_0x58dc74);}return Te;}er();var tr=Object[_0x7c1347(0x27c)],rr=(_0x1b9f2c,_0x470807,_0x1b8f55,_0x27a3f7)=>{for(var _0x991d6b=_0x27a3f7>0x1?void 0x0:_0x27a3f7?tr(_0x470807,_0x1b8f55):_0x470807,_0x13fb9e=_0x1b9f2c['length']-0x1,_0x5185a5;_0x13fb9e>=0x0;_0x13fb9e--)(_0x5185a5=_0x1b9f2c[_0x13fb9e])&&(_0x991d6b=_0x5185a5(_0x991d6b)||_0x991d6b);return _0x991d6b;},sr=(_0x36767f,_0x713b0a)=>(_0x51acf3,_0x18a37f)=>_0x713b0a(_0x51acf3,_0x18a37f,_0x36767f);let Ne=class extends _0x91b0c7{constructor(_0x16a19f){const _0x37c158=_0x7c1347;super(),this[_0x37c158(0x27e)]=_0x16a19f;}[_0x7c1347(0x352)](_0x29b262){const _0x46668a=_0x7c1347;var _0x3b67c7;const _0x3843f7=(_0x3b67c7=this[_0x46668a(0x27e)][_0x46668a(0x2d3)](Be))==null?void 0x0:_0x3b67c7[_0x46668a(0x2a3)];try{const _0x3d05b6=new Qt(_0x29b262,{'headers':{..._0x3843f7}}),_0x557cf3=new _0x18c0a8();return{'URL':_0x29b262,'close':(_0x1bc100,_0x1c9193)=>{const _0x3b7f50=_0x46668a;_0x3d05b6[_0x3b7f50(0x2ac)](_0x1bc100,_0x1c9193),_0x557cf3['dispose']();},'send':_0x300a5d=>{_0x3d05b6['send'](_0x300a5d);},'open$':new _0x332ef7(_0xd09a4f=>{const _0x32978e=_0x46668a,_0x193f47=_0x1793d9=>_0xd09a4f[_0x32978e(0x1f0)](_0x1793d9);_0x3d05b6[_0x32978e(0x2ec)](_0x32978e(0x23d),_0x193f47),_0x557cf3[_0x32978e(0x39e)](_0x549a24(()=>_0x3d05b6['removeEventListener'](_0x32978e(0x23d),_0x193f47)));})[_0x46668a(0x2b3)](_0x42f32d()),'close$':new _0x332ef7(_0x17ee51=>{const _0x5d4915=_0x46668a,_0x4bf88d=_0x5d0935=>_0x17ee51[_0x5d4915(0x1f0)](_0x5d0935);_0x3d05b6[_0x5d4915(0x2ec)](_0x5d4915(0x2ac),_0x4bf88d),_0x557cf3[_0x5d4915(0x39e)](_0x549a24(()=>_0x3d05b6[_0x5d4915(0x324)](_0x5d4915(0x2ac),_0x4bf88d)));})[_0x46668a(0x2b3)](_0x42f32d()),'error$':new _0x332ef7(_0x5a990a=>{const _0x885912=_0x46668a,_0x4e2241=_0x58ed72=>_0x5a990a['next'](_0x58ed72);_0x3d05b6[_0x885912(0x2ec)]('error',_0x4e2241),_0x557cf3[_0x885912(0x39e)](_0x549a24(()=>_0x3d05b6[_0x885912(0x324)](_0x885912(0x1ee),_0x4e2241)));})['pipe'](_0x42f32d()),'message$':new _0x332ef7(_0x330789=>{const _0x73d9ab=_0x46668a,_0x46e53f=_0x253db7=>_0x330789[_0x73d9ab(0x1f0)](_0x253db7);_0x3d05b6[_0x73d9ab(0x2ec)]('message',_0x46e53f),_0x557cf3[_0x73d9ab(0x39e)](_0x549a24(()=>_0x3d05b6[_0x73d9ab(0x324)](_0x73d9ab(0x2e9),_0x46e53f)));})[_0x46668a(0x2b3)](_0x42f32d())};}catch(_0x4d55d7){return console['error'](_0x4d55d7),null;}}};Ne=rr([sr(0x0,_0x2e603a)],Ne);var ir=Object[_0x7c1347(0x293)],nr=Object[_0x7c1347(0x27c)],or=(_0x26be1f,_0x3c5a8f,_0x3f13b9)=>_0x3c5a8f in _0x26be1f?ir(_0x26be1f,_0x3c5a8f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3f13b9}):_0x26be1f[_0x3c5a8f]=_0x3f13b9,ar=(_0x4ccec3,_0x495886,_0xbb7ef6,_0x11769d)=>{const _0x3b87d6=_0x7c1347;for(var _0x47e08d=_0x11769d>0x1?void 0x0:_0x11769d?nr(_0x495886,_0xbb7ef6):_0x495886,_0x49fa78=_0x4ccec3[_0x3b87d6(0x2ab)]-0x1,_0x91daa6;_0x49fa78>=0x0;_0x49fa78--)(_0x91daa6=_0x4ccec3[_0x49fa78])&&(_0x47e08d=_0x91daa6(_0x47e08d)||_0x47e08d);return _0x47e08d;},ke=(_0x2b7ecf,_0x15eda0)=>(_0x8286fb,_0x69312a)=>_0x15eda0(_0x8286fb,_0x69312a,_0x2b7ecf),lr=(_0x509453,_0x4e6518,_0x3ea1da)=>or(_0x509453,_0x4e6518+'',_0x3ea1da);let Pe=class extends _0x327b19{constructor(_0x3aa601=Ft,_0x398a28,_0x472268,_0x41fda9){const _0x523dba=_0x7c1347;_0x3aa601[_0x523dba(0x2a3)]||_0x398a28[_0x523dba(0x2a8)](_0x523dba(0x21b)),super(),this['_configService']=_0x472268,this[_0x523dba(0x39b)]=_0x41fda9,this[_0x523dba(0x27e)][_0x523dba(0x1f4)](Be,_0x3aa601);}[_0x7c1347(0x223)](){const _0x1139a2=_0x7c1347;this[_0x1139a2(0x1f3)]();}[_0x7c1347(0x1f3)](){const _0x296413=_0x7c1347;_0x16b30f(this[_0x296413(0x39b)],[[_0x5921f7,{'useClass':Ne}]]);}};function _0x192b(_0x1a183b,_0x223b3f){const _0x58f26a=_0x58f2();return _0x192b=function(_0x192b96,_0x5b4ff8){_0x192b96=_0x192b96-0x1ed;let _0x1ee850=_0x58f26a[_0x192b96];return _0x1ee850;},_0x192b(_0x1a183b,_0x223b3f);}lr(Pe,_0x7c1347(0x2f6),_0x7c1347(0x323)),Pe=ar([_0x3f78d2(_0x3355b9),ke(0x1,_0x58ddf2),ke(0x2,_0x2e603a),ke(0x3,_0x4ec04c(_0x18dcb2))],Pe);var fr=Object[_0x7c1347(0x27c)],cr=(_0x6fab18,_0x4e6612,_0x1df67e,_0x1b06df)=>{const _0x39c03c=_0x7c1347;for(var _0x4f3d05=_0x1b06df>0x1?void 0x0:_0x1b06df?fr(_0x4e6612,_0x1df67e):_0x4e6612,_0x2efba5=_0x6fab18[_0x39c03c(0x2ab)]-0x1,_0xa311ce;_0x2efba5>=0x0;_0x2efba5--)(_0xa311ce=_0x6fab18[_0x2efba5])&&(_0x4f3d05=_0xa311ce(_0x4f3d05)||_0x4f3d05);return _0x4f3d05;},se=(_0x5d6def,_0x561eaa)=>(_0x4f2912,_0x22359b)=>_0x561eaa(_0x4f2912,_0x22359b,_0x5d6def);let ot=class extends _0x4f921d{constructor(_0x59834f,_0x1c73b7,_0xfea20b,_0x44290a,_0x37573c){const _0x4257a2=_0x7c1347;super(_0x59834f,_0x1c73b7,_0xfea20b,_0x44290a,_0x37573c);const _0x4f88f1=this[_0x4257a2(0x27e)][_0x4257a2(0x2d3)](Be);this[_0x4257a2(0x28d)][_0x4257a2(0x273)]({'interceptor':(_0x14b3e9,_0x43674e)=>{const _0x516f61=_0x4257a2;var _0x3641fb;const _0x5e1f7e=_0x14b3e9[_0x516f61(0x22c)];return(_0x3641fb=_0x4f88f1==null?void 0x0:_0x4f88f1['customHeaders'])!=null&&_0x3641fb[_0x516f61(0x211)]&&_0x5e1f7e[_0x516f61(0x255)](_0x516f61(0x312),_0x4f88f1[_0x516f61(0x2a3)][_0x516f61(0x211)]),_0x43674e(_0x14b3e9);}});}async[_0x7c1347(0x352)](_0x21c8c4){const _0x302adf=_0x7c1347;return this[_0x302adf(0x34e)](_0x21c8c4);}};ot=cr([se(0x0,_0x4ec04c(_0x18dcb2)),se(0x1,_0x4ec04c(_0x4ade45)),se(0x2,_0x2e603a),se(0x3,_0x58ddf2),se(0x4,_0xee2a10)],ot);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,ot as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};