@univerjs-pro/collaboration-client-node 0.10.10-nightly.202510170942 → 0.10.10-nightly.202510180256
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/index.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +7 -7
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0x538862=_0x9083;(function(_0x1f8b7f,_0x97b77a){const _0xd27554=_0x9083,_0x24ee59=_0x1f8b7f();while(!![]){try{const _0x827376=parseInt(_0xd27554(0x253))/0x1*(parseInt(_0xd27554(0x2ae))/0x2)+-parseInt(_0xd27554(0x172))/0x3+parseInt(_0xd27554(0x21e))/0x4*(parseInt(_0xd27554(0x1f3))/0x5)+-parseInt(_0xd27554(0x1ce))/0x6+-parseInt(_0xd27554(0x28c))/0x7*(parseInt(_0xd27554(0x1e0))/0x8)+parseInt(_0xd27554(0x2c9))/0x9*(parseInt(_0xd27554(0x276))/0xa)+-parseInt(_0xd27554(0x22c))/0xb*(parseInt(_0xd27554(0x1d1))/0xc);if(_0x827376===_0x97b77a)break;else _0x24ee59['push'](_0x24ee59['shift']());}catch(_0x419937){_0x24ee59['push'](_0x24ee59['shift']());}}}(_0x907d,0x53d15));Object['defineProperty'](exports,Symbol[_0x538862(0x143)],{'value':'Module'});const st=require('@univerjs-pro/collaboration-client'),A=require('@univerjs/core'),it=require('@univerjs/network'),V=require('rxjs'),nt=require('events'),vt=require('https'),ot=require('http'),St=require('net'),Et=require('tls'),Le=require('crypto'),oe=require('stream'),xt=require('url'),bt=require('zlib'),wt=require('buffer'),Ot=require('@univerjs-pro/collaboration'),fe='collaboration-client-node.config',Ct={'customHeaders':{}};function Tt(_0x5d088f){const _0x21fe07=_0x538862;return _0x5d088f&&_0x5d088f[_0x21fe07(0x26a)]&&Object[_0x21fe07(0x13a)]['hasOwnProperty'][_0x21fe07(0x19e)](_0x5d088f,_0x21fe07(0x112))?_0x5d088f[_0x21fe07(0x112)]:_0x5d088f;}function at(_0x499afc){const _0x3447b7=_0x538862;if(Object[_0x3447b7(0x13a)][_0x3447b7(0x1a5)][_0x3447b7(0x19e)](_0x499afc,_0x3447b7(0x26a)))return _0x499afc;var _0x5981c6=_0x499afc['default'];if(typeof _0x5981c6==_0x3447b7(0x16c)){var _0x212513=function _0x23c0ec(){const _0x1edb7a=_0x3447b7;var _0x19bd52=!0x1;try{_0x19bd52=this instanceof _0x23c0ec;}catch{}return _0x19bd52?Reflect[_0x1edb7a(0x2b3)](_0x5981c6,arguments,this[_0x1edb7a(0x16d)]):_0x5981c6[_0x1edb7a(0x14f)](this,arguments);};_0x212513['prototype']=_0x5981c6['prototype'];}else _0x212513={};return Object['defineProperty'](_0x212513,'__esModule',{'value':!0x0}),Object[_0x3447b7(0x1b4)](_0x499afc)[_0x3447b7(0x162)](function(_0xfa3b65){const _0x2f4bf7=_0x3447b7;var _0x316890=Object[_0x2f4bf7(0x202)](_0x499afc,_0xfa3b65);Object['defineProperty'](_0x212513,_0xfa3b65,_0x316890[_0x2f4bf7(0x12e)]?_0x316890:{'enumerable':!0x0,'get':function(){return _0x499afc[_0xfa3b65];}});}),_0x212513;}var se={'exports':{}},ge,Ge;function H(){const _0x4a4ff3=_0x538862;if(Ge)return ge;Ge=0x1;const _0x5e25da=[_0x4a4ff3(0x251),_0x4a4ff3(0x140),'fragments'],_0x13ed9b=typeof Blob<'u';return _0x13ed9b&&_0x5e25da[_0x4a4ff3(0x111)](_0x4a4ff3(0x255)),ge={'BINARY_TYPES':_0x5e25da,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':_0x4a4ff3(0x25d),'hasBlob':_0x13ed9b,'kForOnEventAttribute':Symbol(_0x4a4ff3(0x11e)),'kListener':Symbol(_0x4a4ff3(0x1f4)),'kStatusCode':Symbol(_0x4a4ff3(0x1c0)),'kWebSocket':Symbol(_0x4a4ff3(0x283)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x538862(0x221)](Object['defineProperty']({'__proto__':null,'default':Nt},Symbol['toStringTag'],{'value':'Module'})),Lt=at(kt);function _0x907d(){const _0x5dc4eb=['captureStackTrace','\x20(supported\x20versions:\x20','startsWith','replace','status-code','flush','protocol','serverNoContextTakeover','DisposableCollection','_shouldEmitClose','hash','objectMode','pong','listenerCount','Unexpected\x20character\x20at\x20index\x20','maxPayload','WS_ERR_INVALID_UTF8','pluginName','661800JiuyJw','reason','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','36pxTRrD','upgrade','Sec-WebSocket-Extensions:\x20','Z_DEFAULT_WINDOWBITS','unmask','finish','_configService','target','getConfig','then','Injector','binaryType','emitClose','host','warn','552648jHgyuu','extensions','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','enqueue','https:','object','zlibDeflateOptions','_readableState','_decompress','authorized','_bufferedAmount','_fin','username','invalid\x20opcode\x200','password','invalid\x20opcode\x20','removeAllListeners','The\x20URL\x20contains\x20a\x20fragment\x20identifier','server','50lzkdmJ','kListener','MASK\x20must\x20be\x20set','species','GET','Max\x20payload\x20size\x20exceeded','readable','getBlobData','Maximum\x20redirects\x20exceeded','sec-websocket-protocol','isIP','kByteLength','add','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','WS_NO_BUFFER_UTIL','getOwnPropertyDescriptor','charCodeAt','ISocketService','type','setTimeout','href','compress','CollaborationSocketService','map','WS_ERR_UNEXPECTED_MASK','_removeListeners','WS_ERR_INVALID_OPCODE','entries','RSV1\x20must\x20be\x20clear','cookie','readyState','completeUpgrade','consume','allocUnsafe','search','pending','Invalid\x20URL:\x20','NodeCollaborationSocketService','IConfigService','connection','_closeFrameReceived','readUInt16BE','value','26636mbIdTq','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','delete','freeze','auth','pow','createInflateRaw','Z_SYNC_FLUSH','_closeFrameSent','_url','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','errorEmitted','_closeMessage','includes','1304930SGIwja','cork','createConnection','cleanup','onmessage','Invalid\x20Sec-WebSocket-Protocol\x20header','extensionName','setHeader','Sec-WebSocket-Accept:\x20','Inject','normalizeParams','alloc','_redirects','_closeTimer','servername','createServer','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','setNoDelay','string','address','CONNECTING','perMessageDeflate','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','client_no_context_takeover','handleEvent','acceptAsServer','_fragmented','addEventListener','startLoop','listen','jobs','sec-websocket-version','read','13,\x208','origin','nodebuffer','_destroy','3KNbWJZ','onclose','blob','decompress','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','sendFrame','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','HTTPService','WS_ERR_UNEXPECTED_RSV_2_3','Invalid\x20WebSocket\x20frame:\x20','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','close','isServer','resume','next','open','invalid\x20status\x20code\x20','onopen','The\x20\x22','byteLength','UniverCollaborationClientNodePlugin','Invalid\x20Sec-WebSocket-Accept\x20header','_errorEmitted','__esModule','_buffers','Cookie','connect','WS_ERR_UNEXPECTED_RSV_1','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','ping','nextTick','pause','data','autoPong','conclude','40bIEoON','mask','authorization','clients','_originalSecure','sec-websocket-accept','wss:','_closeCode','haveLength','split','clientNoContextTakeover','maskBuffer','finishRequest','websocket','isValidUTF8','stream','pipe','removeListener','isPaused','socketPath','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','protocolVersion','21njhRVq','Unsupported\x20protocol\x20version:\x20','Parameter\x20\x22','join','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','_inflate','Observable','WS_NO_UTF_8_VALIDATE','_maskBuffer','removeEventListener','_skipUTF8Validation','concat','_generateMask','share','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','opcode','headers','reset','listening','once','HTTP/1.1\x20','terminate','writeUInt16BE','unshift','_threshold','path','_req','Invalid\x20Sec-WebSocket-Extensions\x20header','COLLABORATION_CLIENT_NODE_CONFIG_KEY','kReason','Sec-WebSocket-Protocol:\x20','update','setSocket','bufferedAmount','359420FsfEjF','code','fin','rsv1','kError','construct','Connection:\x20Upgrade','bind','method','values','format','client_max_window_bits','_maxPayload','readUInt32BE','sha1','_state','customHeaders','Upgrade:\x20websocket','Basic\x20','has','shift','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','_extensions','toString','Disposable','request','buffers','1116603KoqgkW','WebSocket\x20is\x20not\x20open:\x20readyState\x20','CLOSED','\x22\x20must\x20have\x20only\x20a\x20single\x20value','statusCode','verifyClient','Invalid\x20Upgrade\x20header','_options','onStarting','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','_masked','emit','send','write','_mask','push','default','_opcode','text/html','permessage-deflate','set','Sec-WebSocket-Extensions','readOnly','sec-websocket-extensions','dequeue','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','createDeflateRaw','generateMask','kIsForOnEventAttribute','defaultPort','isInteger','CLOSING','buffer','digest','MASK\x20must\x20be\x20clear','isArray','params','_allowSynchronousEvents','WS_ERR_INVALID_CLOSE_CODE','listeners','_fragments','port','toLowerCase','shouldHandle','get','getPayloadLength16','server_max_window_bits','_readyState','exports','wsClientError','Plugin','WS_ERR_EXPECTED_MASK','_injector','_originalHostOrSocketPath','_socket','timeout','prototype','message','destroyed','base64','binary','_paused','arraybuffer','handleProtocols','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','toStringTag','endEmitted','maxRedirects','OPEN','_final','client','find','isBuffer','createError','_receiver','registerHTTPInterceptor','test','apply','clientMaxWindowBits','sec-websocket-origin','size','getMask','server_no_context_takeover','_writableState','_protocol','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','dispatch','getInfo','_messageLength','\x22:\x20','handshakeTimeout','_binaryType','_isServer','env','\x22\x20subprotocol\x20is\x20duplicated','_sender','forEach','wasClean','registerDependencies','defineProperty','error','kData','_bufferedBytes','FIN\x20must\x20be\x20set','kWasClean','HTTP/1.1\x20101\x20Switching\x20Protocols','function','constructor','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','parse','ws:','controlMessage','255714OMncmZ','_server','options','handleUpgrade','noServer','allowSynchronousEvents','concurrency','_no_context_takeover','Server\x20sent\x20an\x20invalid\x20subprotocol','Invalid\x20HTTP\x20method','_totalPayloadLength','frame','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','kCode','threshold','STATUS_CODES','redirect','http:','url','writable','length','abort','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','_max_window_bits','_httpService','Invalid\x20value\x20for\x20parameter\x20\x22','concurrencyLimit','_deflate','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','number','from','dataMessage','hostname','total-length','_errored','_compress','slice','serverMaxWindowBits','acceptAsClient','create','onerror','_loop','_queue','File','call','accept','destroy','toDisposable','kDone','pathname','_write','hasOwnProperty','end','arrayBuffer','getData','ILogService','Unexpected\x20end\x20of\x20input','indexOf','socket','getPayloadLength64','_originalIpc','_firstFragment','encrypted','createSocket','Server\x20sent\x20no\x20subprotocol','invalid\x20UTF-8\x20sequence','keys','Origin','skipUTF8Validation','finished','Blob','byteOffset','_registerDependencies','_payloadLength'];_0x907d=function(){return _0x5dc4eb;};return _0x907d();}var Ve;function ce(){const _0x38285c=_0x538862;if(Ve)return se['exports'];Ve=0x1;const {EMPTY_BUFFER:_0x5cdb50}=H(),_0x2cc10d=Buffer[Symbol[_0x38285c(0x1f6)]];function _0x1621c4(_0x11bf46,_0x448731){const _0x4938ba=_0x38285c;if(_0x11bf46['length']===0x0)return _0x5cdb50;if(_0x11bf46[_0x4938ba(0x186)]===0x1)return _0x11bf46[0x0];const _0x2a6b69=Buffer[_0x4938ba(0x214)](_0x448731);let _0x5cfa2f=0x0;for(let _0x1d75d8=0x0;_0x1d75d8<_0x11bf46[_0x4938ba(0x186)];_0x1d75d8++){const _0x185a71=_0x11bf46[_0x1d75d8];_0x2a6b69['set'](_0x185a71,_0x5cfa2f),_0x5cfa2f+=_0x185a71[_0x4938ba(0x186)];}return _0x5cfa2f<_0x448731?new _0x2cc10d(_0x2a6b69[_0x4938ba(0x122)],_0x2a6b69[_0x4938ba(0x1b9)],_0x5cfa2f):_0x2a6b69;}function _0x53673f(_0x2cfee9,_0x15cc60,_0x12d078,_0x4faa2e,_0x16af10){for(let _0x41b027=0x0;_0x41b027<_0x16af10;_0x41b027++)_0x12d078[_0x4faa2e+_0x41b027]=_0x2cfee9[_0x41b027]^_0x15cc60[_0x41b027&0x3];}function _0x4281a2(_0x168a47,_0xcd4d79){const _0xe7bf38=_0x38285c;for(let _0x593e93=0x0;_0x593e93<_0x168a47[_0xe7bf38(0x186)];_0x593e93++)_0x168a47[_0x593e93]^=_0xcd4d79[_0x593e93&0x3];}function _0x591aeb(_0x115c2b){const _0x1f17df=_0x38285c;return _0x115c2b[_0x1f17df(0x186)]===_0x115c2b[_0x1f17df(0x122)][_0x1f17df(0x266)]?_0x115c2b[_0x1f17df(0x122)]:_0x115c2b[_0x1f17df(0x122)][_0x1f17df(0x196)](_0x115c2b[_0x1f17df(0x1b9)],_0x115c2b[_0x1f17df(0x1b9)]+_0x115c2b[_0x1f17df(0x186)]);}function _0x1c13ae(_0x1e9fe1){const _0x1acf4f=_0x38285c;if(_0x1c13ae['readOnly']=!0x0,Buffer[_0x1acf4f(0x14a)](_0x1e9fe1))return _0x1e9fe1;let _0x4de709;return _0x1e9fe1 instanceof ArrayBuffer?_0x4de709=new _0x2cc10d(_0x1e9fe1):ArrayBuffer['isView'](_0x1e9fe1)?_0x4de709=new _0x2cc10d(_0x1e9fe1['buffer'],_0x1e9fe1[_0x1acf4f(0x1b9)],_0x1e9fe1[_0x1acf4f(0x266)]):(_0x4de709=Buffer[_0x1acf4f(0x190)](_0x1e9fe1),_0x1c13ae[_0x1acf4f(0x118)]=!0x1),_0x4de709;}if(se[_0x38285c(0x132)]={'concat':_0x1621c4,'mask':_0x53673f,'toArrayBuffer':_0x591aeb,'toBuffer':_0x1c13ae,'unmask':_0x4281a2},!process[_0x38285c(0x15f)][_0x38285c(0x201)])try{const _0x284054=Lt;se[_0x38285c(0x132)][_0x38285c(0x277)]=function(_0x290ea1,_0x503f39,_0x1885ad,_0x4674f5,_0x4275df){const _0x417a87=_0x38285c;_0x4275df<0x30?_0x53673f(_0x290ea1,_0x503f39,_0x1885ad,_0x4674f5,_0x4275df):_0x284054[_0x417a87(0x277)](_0x290ea1,_0x503f39,_0x1885ad,_0x4674f5,_0x4275df);},se['exports']['unmask']=function(_0x50fbe2,_0x14706b){const _0x229b51=_0x38285c;_0x50fbe2[_0x229b51(0x186)]<0x20?_0x4281a2(_0x50fbe2,_0x14706b):_0x284054[_0x229b51(0x1d5)](_0x50fbe2,_0x14706b);};}catch{}return se[_0x38285c(0x132)];}var ye,He;function Pt(){const _0x4900f1=_0x538862;if(He)return ye;He=0x1;const _0x4a0347=Symbol(_0x4900f1(0x1a2)),_0x49d2e9=Symbol('kRun');class _0x344d67{constructor(_0xedc671){const _0x5d71bd=_0x4900f1;this[_0x4a0347]=()=>{const _0x19d688=_0x9083;this[_0x19d688(0x216)]--,this[_0x49d2e9]();},this[_0x5d71bd(0x178)]=_0xedc671||0x1/0x0,this['jobs']=[],this[_0x5d71bd(0x216)]=0x0;}['add'](_0x252b04){const _0x57820a=_0x4900f1;this['jobs'][_0x57820a(0x111)](_0x252b04),this[_0x49d2e9]();}[_0x49d2e9](){const _0x8bfedd=_0x4900f1;if(this[_0x8bfedd(0x216)]!==this[_0x8bfedd(0x178)]&&this[_0x8bfedd(0x24c)][_0x8bfedd(0x186)]){const _0x68d81b=this[_0x8bfedd(0x24c)][_0x8bfedd(0x2c2)]();this[_0x8bfedd(0x216)]++,_0x68d81b(this[_0x4a0347]);}}}return ye=_0x344d67,ye;}var ve,ze;function he(){const _0xe32ae=_0x538862;if(ze)return ve;ze=0x1;const _0xb8076d=bt,_0x3453b7=ce(),_0x583492=Pt(),{kStatusCode:_0x407a32}=H(),_0x305437=Buffer[Symbol['species']],_0x2db90e=Buffer['from']([0x0,0x0,0xff,0xff]),_0x1c49fd=Symbol('permessage-deflate'),_0x4a000d=Symbol(_0xe32ae(0x193)),_0x97dec9=Symbol('callback'),_0x333bfa=Symbol(_0xe32ae(0x2c8)),_0x2920d6=Symbol('error');let _0x5a42af;class _0x54c5a8{constructor(_0x2260e8,_0xb42324,_0x1579b7){const _0x483993=_0xe32ae;if(this[_0x483993(0x2ba)]=_0x1579b7|0x0,this[_0x483993(0x2d0)]=_0x2260e8||{},this['_threshold']=this['_options']['threshold']!==void 0x0?this['_options'][_0x483993(0x180)]:0x400,this[_0x483993(0x15e)]=!!_0xb42324,this['_deflate']=null,this['_inflate']=null,this[_0x483993(0x126)]=null,!_0x5a42af){const _0x4547c5=this[_0x483993(0x2d0)][_0x483993(0x18c)]!==void 0x0?this[_0x483993(0x2d0)][_0x483993(0x18c)]:0xa;_0x5a42af=new _0x583492(_0x4547c5);}}static get['extensionName'](){const _0x42320b=_0xe32ae;return _0x42320b(0x115);}['offer'](){const _0xee2bf5=_0xe32ae,_0x505c49={};return this[_0xee2bf5(0x2d0)][_0xee2bf5(0x1c3)]&&(_0x505c49[_0xee2bf5(0x154)]=!0x0),this['_options'][_0xee2bf5(0x280)]&&(_0x505c49[_0xee2bf5(0x245)]=!0x0),this[_0xee2bf5(0x2d0)]['serverMaxWindowBits']&&(_0x505c49[_0xee2bf5(0x130)]=this['_options'][_0xee2bf5(0x197)]),this[_0xee2bf5(0x2d0)][_0xee2bf5(0x150)]?_0x505c49[_0xee2bf5(0x2b9)]=this[_0xee2bf5(0x2d0)][_0xee2bf5(0x150)]:this[_0xee2bf5(0x2d0)]['clientMaxWindowBits']==null&&(_0x505c49[_0xee2bf5(0x2b9)]=!0x0),_0x505c49;}['accept'](_0x44f207){const _0x5b8620=_0xe32ae;return _0x44f207=this[_0x5b8620(0x236)](_0x44f207),this[_0x5b8620(0x126)]=this['_isServer']?this[_0x5b8620(0x247)](_0x44f207):this[_0x5b8620(0x198)](_0x44f207),this['params'];}['cleanup'](){const _0x400909=_0xe32ae;if(this[_0x400909(0x291)]&&(this[_0x400909(0x291)][_0x400909(0x25e)](),this[_0x400909(0x291)]=null),this[_0x400909(0x18d)]){const _0x3042e9=this['_deflate'][_0x97dec9];this[_0x400909(0x18d)][_0x400909(0x25e)](),this[_0x400909(0x18d)]=null,_0x3042e9&&_0x3042e9(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}[_0xe32ae(0x247)](_0x174d0c){const _0x30274d=_0xe32ae,_0x2d9f08=this[_0x30274d(0x2d0)],_0x80f43e=_0x174d0c[_0x30274d(0x149)](_0xb61c44=>!(_0x2d9f08[_0x30274d(0x1c3)]===!0x1&&_0xb61c44['server_no_context_takeover']||_0xb61c44[_0x30274d(0x130)]&&(_0x2d9f08[_0x30274d(0x197)]===!0x1||typeof _0x2d9f08[_0x30274d(0x197)]==_0x30274d(0x18f)&&_0x2d9f08[_0x30274d(0x197)]>_0xb61c44[_0x30274d(0x130)])||typeof _0x2d9f08[_0x30274d(0x150)]==_0x30274d(0x18f)&&!_0xb61c44[_0x30274d(0x2b9)]));if(!_0x80f43e)throw new Error(_0x30274d(0x200));return _0x2d9f08[_0x30274d(0x1c3)]&&(_0x80f43e['server_no_context_takeover']=!0x0),_0x2d9f08[_0x30274d(0x280)]&&(_0x80f43e[_0x30274d(0x245)]=!0x0),typeof _0x2d9f08[_0x30274d(0x197)]==_0x30274d(0x18f)&&(_0x80f43e[_0x30274d(0x130)]=_0x2d9f08[_0x30274d(0x197)]),typeof _0x2d9f08[_0x30274d(0x150)]==_0x30274d(0x18f)?_0x80f43e['client_max_window_bits']=_0x2d9f08['clientMaxWindowBits']:(_0x80f43e['client_max_window_bits']===!0x0||_0x2d9f08[_0x30274d(0x150)]===!0x1)&&delete _0x80f43e['client_max_window_bits'],_0x80f43e;}[_0xe32ae(0x198)](_0x1b883d){const _0x5be0da=_0xe32ae,_0x13c027=_0x1b883d[0x0];if(this['_options'][_0x5be0da(0x280)]===!0x1&&_0x13c027['client_no_context_takeover'])throw new Error(_0x5be0da(0x228));if(!_0x13c027['client_max_window_bits'])typeof this[_0x5be0da(0x2d0)][_0x5be0da(0x150)]==_0x5be0da(0x18f)&&(_0x13c027[_0x5be0da(0x2b9)]=this['_options'][_0x5be0da(0x150)]);else{if(this[_0x5be0da(0x2d0)]['clientMaxWindowBits']===!0x1||typeof this[_0x5be0da(0x2d0)]['clientMaxWindowBits']==_0x5be0da(0x18f)&&_0x13c027['client_max_window_bits']>this[_0x5be0da(0x2d0)]['clientMaxWindowBits'])throw new Error(_0x5be0da(0x1d0));}return _0x13c027;}[_0xe32ae(0x236)](_0x1f2a07){const _0x5a4e96=_0xe32ae;return _0x1f2a07[_0x5a4e96(0x162)](_0x2097a3=>{const _0x172790=_0x5a4e96;Object['keys'](_0x2097a3)[_0x172790(0x162)](_0x1a4d0e=>{const _0x1eac17=_0x172790;let _0x7165b5=_0x2097a3[_0x1a4d0e];if(_0x7165b5[_0x1eac17(0x186)]>0x1)throw new Error(_0x1eac17(0x28e)+_0x1a4d0e+_0x1eac17(0x2cc));if(_0x7165b5=_0x7165b5[0x0],_0x1a4d0e===_0x1eac17(0x2b9)){if(_0x7165b5!==!0x0){const _0x1fec8d=+_0x7165b5;if(!Number[_0x1eac17(0x120)](_0x1fec8d)||_0x1fec8d<0x8||_0x1fec8d>0xf)throw new TypeError(_0x1eac17(0x18b)+_0x1a4d0e+_0x1eac17(0x15b)+_0x7165b5);_0x7165b5=_0x1fec8d;}else{if(!this['_isServer'])throw new TypeError(_0x1eac17(0x18b)+_0x1a4d0e+_0x1eac17(0x15b)+_0x7165b5);}}else{if(_0x1a4d0e==='server_max_window_bits'){const _0x4d4324=+_0x7165b5;if(!Number[_0x1eac17(0x120)](_0x4d4324)||_0x4d4324<0x8||_0x4d4324>0xf)throw new TypeError(_0x1eac17(0x18b)+_0x1a4d0e+_0x1eac17(0x15b)+_0x7165b5);_0x7165b5=_0x4d4324;}else{if(_0x1a4d0e==='client_no_context_takeover'||_0x1a4d0e===_0x1eac17(0x154)){if(_0x7165b5!==!0x0)throw new TypeError(_0x1eac17(0x18b)+_0x1a4d0e+_0x1eac17(0x15b)+_0x7165b5);}else throw new Error('Unknown\x20parameter\x20\x22'+_0x1a4d0e+'\x22');}}_0x2097a3[_0x1a4d0e]=_0x7165b5;});}),_0x1f2a07;}[_0xe32ae(0x256)](_0x7656a5,_0x15bf33,_0x35bab9){const _0xe016bf=_0xe32ae;_0x5a42af[_0xe016bf(0x1ff)](_0x3b9120=>{const _0x529dad=_0xe016bf;this[_0x529dad(0x1e8)](_0x7656a5,_0x15bf33,(_0xa93c63,_0x327933)=>{_0x3b9120(),_0x35bab9(_0xa93c63,_0x327933);});});}[_0xe32ae(0x208)](_0x2c5f97,_0x342a7a,_0x19a700){const _0x18ac8d=_0xe32ae;_0x5a42af[_0x18ac8d(0x1ff)](_0x5ecfb1=>{this['_compress'](_0x2c5f97,_0x342a7a,(_0x1f5b79,_0x3998ce)=>{_0x5ecfb1(),_0x19a700(_0x1f5b79,_0x3998ce);});});}[_0xe32ae(0x1e8)](_0x11675c,_0x40665d,_0x154ea6){const _0x5967ba=_0xe32ae,_0x484b57=this[_0x5967ba(0x15e)]?'client':_0x5967ba(0x1f2);if(!this['_inflate']){const _0x2a03a8=_0x484b57+_0x5967ba(0x189),_0x3acf49=typeof this[_0x5967ba(0x126)][_0x2a03a8]!=_0x5967ba(0x18f)?_0xb8076d[_0x5967ba(0x1d4)]:this[_0x5967ba(0x126)][_0x2a03a8];this[_0x5967ba(0x291)]=_0xb8076d[_0x5967ba(0x224)]({...this[_0x5967ba(0x2d0)]['zlibInflateOptions'],'windowBits':_0x3acf49}),this[_0x5967ba(0x291)][_0x1c49fd]=this,this[_0x5967ba(0x291)][_0x4a000d]=0x0,this[_0x5967ba(0x291)][_0x333bfa]=[],this['_inflate']['on']('error',_0x11e672),this[_0x5967ba(0x291)]['on'](_0x5967ba(0x273),_0x286538);}this['_inflate'][_0x97dec9]=_0x154ea6,this[_0x5967ba(0x291)][_0x5967ba(0x2d6)](_0x11675c),_0x40665d&&this[_0x5967ba(0x291)][_0x5967ba(0x2d6)](_0x2db90e),this[_0x5967ba(0x291)][_0x5967ba(0x1c1)](()=>{const _0x1d7ebb=_0x5967ba,_0x68d695=this[_0x1d7ebb(0x291)][_0x2920d6];if(_0x68d695){this[_0x1d7ebb(0x291)][_0x1d7ebb(0x25e)](),this[_0x1d7ebb(0x291)]=null,_0x154ea6(_0x68d695);return;}const _0x51f747=_0x3453b7[_0x1d7ebb(0x297)](this[_0x1d7ebb(0x291)][_0x333bfa],this[_0x1d7ebb(0x291)][_0x4a000d]);this[_0x1d7ebb(0x291)][_0x1d7ebb(0x1e7)]['endEmitted']?(this[_0x1d7ebb(0x291)][_0x1d7ebb(0x25e)](),this['_inflate']=null):(this[_0x1d7ebb(0x291)][_0x4a000d]=0x0,this['_inflate'][_0x333bfa]=[],_0x40665d&&this[_0x1d7ebb(0x126)][_0x484b57+_0x1d7ebb(0x179)]&&this['_inflate']['reset']()),_0x154ea6(null,_0x51f747);});}[_0xe32ae(0x195)](_0x18cadf,_0x287b0e,_0x2d5e0d){const _0x56e15c=_0xe32ae,_0x25d060=this[_0x56e15c(0x15e)]?_0x56e15c(0x1f2):_0x56e15c(0x148);if(!this[_0x56e15c(0x18d)]){const _0x1e57ce=_0x25d060+_0x56e15c(0x189),_0x5b8e04=typeof this['params'][_0x1e57ce]!='number'?_0xb8076d[_0x56e15c(0x1d4)]:this[_0x56e15c(0x126)][_0x1e57ce];this[_0x56e15c(0x18d)]=_0xb8076d[_0x56e15c(0x11c)]({...this[_0x56e15c(0x2d0)][_0x56e15c(0x1e6)],'windowBits':_0x5b8e04}),this['_deflate'][_0x4a000d]=0x0,this[_0x56e15c(0x18d)][_0x333bfa]=[],this[_0x56e15c(0x18d)]['on'](_0x56e15c(0x273),_0x3b77be);}this['_deflate'][_0x97dec9]=_0x2d5e0d,this[_0x56e15c(0x18d)][_0x56e15c(0x2d6)](_0x18cadf),this[_0x56e15c(0x18d)][_0x56e15c(0x1c1)](_0xb8076d[_0x56e15c(0x225)],()=>{const _0x56661b=_0x56e15c;if(!this['_deflate'])return;let _0x3ab41f=_0x3453b7[_0x56661b(0x297)](this['_deflate'][_0x333bfa],this[_0x56661b(0x18d)][_0x4a000d]);_0x287b0e&&(_0x3ab41f=new _0x305437(_0x3ab41f[_0x56661b(0x122)],_0x3ab41f[_0x56661b(0x1b9)],_0x3ab41f[_0x56661b(0x186)]-0x4)),this[_0x56661b(0x18d)][_0x97dec9]=null,this[_0x56661b(0x18d)][_0x4a000d]=0x0,this[_0x56661b(0x18d)][_0x333bfa]=[],_0x287b0e&&this[_0x56661b(0x126)][_0x25d060+_0x56661b(0x179)]&&this[_0x56661b(0x18d)]['reset'](),_0x2d5e0d(null,_0x3ab41f);});}}ve=_0x54c5a8;function _0x3b77be(_0x18eb75){const _0x248274=_0xe32ae;this[_0x333bfa]['push'](_0x18eb75),this[_0x4a000d]+=_0x18eb75[_0x248274(0x186)];}function _0x286538(_0x3c300e){const _0x16b2f2=_0xe32ae;if(this[_0x4a000d]+=_0x3c300e[_0x16b2f2(0x186)],this[_0x1c49fd][_0x16b2f2(0x2ba)]<0x1||this[_0x4a000d]<=this[_0x1c49fd]['_maxPayload']){this[_0x333bfa]['push'](_0x3c300e);return;}this[_0x2920d6]=new RangeError(_0x16b2f2(0x1f8)),this[_0x2920d6]['code']=_0x16b2f2(0x16e),this[_0x2920d6][_0x407a32]=0x3f1,this[_0x16b2f2(0x287)](_0x16b2f2(0x273),_0x286538),this[_0x16b2f2(0x29d)]();}function _0x11e672(_0x236f09){const _0xfb5139=_0xe32ae;if(this[_0x1c49fd][_0xfb5139(0x291)]=null,this[_0x2920d6]){this[_0x97dec9](this[_0x2920d6]);return;}_0x236f09[_0x407a32]=0x3ef,this[_0x97dec9](_0x236f09);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x538862(0x221)](Object[_0x538862(0x165)]({'__proto__':null,'default':Dt},Symbol[_0x538862(0x143)],{'value':'Module'})),Bt=at(Rt);var Ye;function ae(){const _0x398c70=_0x538862;if(Ye)return ie[_0x398c70(0x132)];Ye=0x1;const {isUtf8:_0x38072a}=wt,{hasBlob:_0x210277}=H(),_0x1e6b96=[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 _0x3c0560(_0x3f8cb4){return _0x3f8cb4>=0x3e8&&_0x3f8cb4<=0x3f6&&_0x3f8cb4!==0x3ec&&_0x3f8cb4!==0x3ed&&_0x3f8cb4!==0x3ee||_0x3f8cb4>=0xbb8&&_0x3f8cb4<=0x1387;}function _0xc37161(_0x5abc92){const _0x2da89a=_0x398c70,_0x1e303d=_0x5abc92[_0x2da89a(0x186)];let _0x48f76b=0x0;for(;_0x48f76b<_0x1e303d;)if((_0x5abc92[_0x48f76b]&0x80)===0x0)_0x48f76b++;else{if((_0x5abc92[_0x48f76b]&0xe0)===0xc0){if(_0x48f76b+0x1===_0x1e303d||(_0x5abc92[_0x48f76b+0x1]&0xc0)!==0x80||(_0x5abc92[_0x48f76b]&0xfe)===0xc0)return!0x1;_0x48f76b+=0x2;}else{if((_0x5abc92[_0x48f76b]&0xf0)===0xe0){if(_0x48f76b+0x2>=_0x1e303d||(_0x5abc92[_0x48f76b+0x1]&0xc0)!==0x80||(_0x5abc92[_0x48f76b+0x2]&0xc0)!==0x80||_0x5abc92[_0x48f76b]===0xe0&&(_0x5abc92[_0x48f76b+0x1]&0xe0)===0x80||_0x5abc92[_0x48f76b]===0xed&&(_0x5abc92[_0x48f76b+0x1]&0xe0)===0xa0)return!0x1;_0x48f76b+=0x3;}else{if((_0x5abc92[_0x48f76b]&0xf8)===0xf0){if(_0x48f76b+0x3>=_0x1e303d||(_0x5abc92[_0x48f76b+0x1]&0xc0)!==0x80||(_0x5abc92[_0x48f76b+0x2]&0xc0)!==0x80||(_0x5abc92[_0x48f76b+0x3]&0xc0)!==0x80||_0x5abc92[_0x48f76b]===0xf0&&(_0x5abc92[_0x48f76b+0x1]&0xf0)===0x80||_0x5abc92[_0x48f76b]===0xf4&&_0x5abc92[_0x48f76b+0x1]>0x8f||_0x5abc92[_0x48f76b]>0xf4)return!0x1;_0x48f76b+=0x4;}else return!0x1;}}}return!0x0;}function _0x29c754(_0x40d362){const _0x5b98d0=_0x398c70;return _0x210277&&typeof _0x40d362==_0x5b98d0(0x1e5)&&typeof _0x40d362[_0x5b98d0(0x1a7)]==_0x5b98d0(0x16c)&&typeof _0x40d362[_0x5b98d0(0x205)]==_0x5b98d0(0x23f)&&typeof _0x40d362[_0x5b98d0(0x285)]==_0x5b98d0(0x16c)&&(_0x40d362[Symbol[_0x5b98d0(0x143)]]===_0x5b98d0(0x1b8)||_0x40d362[Symbol[_0x5b98d0(0x143)]]===_0x5b98d0(0x19d));}if(ie[_0x398c70(0x132)]={'isBlob':_0x29c754,'isValidStatusCode':_0x3c0560,'isValidUTF8':_0xc37161,'tokenChars':_0x1e6b96},_0x38072a)ie[_0x398c70(0x132)][_0x398c70(0x284)]=function(_0x5b2959){return _0x5b2959['length']<0x18?_0xc37161(_0x5b2959):_0x38072a(_0x5b2959);};else{if(!process[_0x398c70(0x15f)][_0x398c70(0x293)])try{const _0x4aec67=Bt;ie[_0x398c70(0x132)][_0x398c70(0x284)]=function(_0x202e3c){const _0x2c5a58=_0x398c70;return _0x202e3c[_0x2c5a58(0x186)]<0x20?_0xc37161(_0x202e3c):_0x4aec67(_0x202e3c);};}catch{}}return ie[_0x398c70(0x132)];}var Se,Ke;function lt(){const _0x32a9e0=_0x538862;if(Ke)return Se;Ke=0x1;const {Writable:_0x4a1d47}=oe,_0x5269d3=he(),{BINARY_TYPES:_0x42089e,EMPTY_BUFFER:_0x5c607d,kStatusCode:_0x2a03ac,kWebSocket:_0x26f44b}=H(),{concat:_0x21122e,toArrayBuffer:_0x36897d,unmask:_0x1f9bab}=ce(),{isValidStatusCode:_0x418ff0,isValidUTF8:_0x35fd08}=ae(),_0x514500=Buffer[Symbol[_0x32a9e0(0x1f6)]],_0x4897b4=0x0,_0x3e6919=0x1,_0x3c8fa7=0x2,_0x155311=0x3,_0x5f502d=0x4,_0x409b7c=0x5,_0x506b02=0x6;class _0x4e3bb7 extends _0x4a1d47{constructor(_0x34ac20={}){const _0x44559b=_0x32a9e0;super(),this[_0x44559b(0x127)]=_0x34ac20[_0x44559b(0x177)]!==void 0x0?_0x34ac20[_0x44559b(0x177)]:!0x0,this['_binaryType']=_0x34ac20[_0x44559b(0x1dc)]||_0x42089e[0x0],this[_0x44559b(0x2c4)]=_0x34ac20[_0x44559b(0x1e1)]||{},this['_isServer']=!!_0x34ac20[_0x44559b(0x25f)],this[_0x44559b(0x2ba)]=_0x34ac20[_0x44559b(0x1cb)]|0x0,this[_0x44559b(0x296)]=!!_0x34ac20['skipUTF8Validation'],this[_0x26f44b]=void 0x0,this[_0x44559b(0x168)]=0x0,this['_buffers']=[],this['_compressed']=!0x1,this[_0x44559b(0x1bb)]=0x0,this[_0x44559b(0x2d7)]=void 0x0,this[_0x44559b(0x248)]=0x0,this[_0x44559b(0x2d3)]=!0x1,this['_fin']=!0x1,this[_0x44559b(0x113)]=0x0,this['_totalPayloadLength']=0x0,this['_messageLength']=0x0,this[_0x44559b(0x12a)]=[],this[_0x44559b(0x194)]=!0x1,this[_0x44559b(0x19b)]=!0x1,this[_0x44559b(0x2bd)]=_0x4897b4;}[_0x32a9e0(0x1a4)](_0x143a00,_0xb3be35,_0x59ffd7){const _0x529fae=_0x32a9e0;if(this[_0x529fae(0x113)]===0x8&&this[_0x529fae(0x2bd)]==_0x4897b4)return _0x59ffd7();this[_0x529fae(0x168)]+=_0x143a00[_0x529fae(0x186)],this[_0x529fae(0x26b)][_0x529fae(0x111)](_0x143a00),this[_0x529fae(0x24a)](_0x59ffd7);}[_0x32a9e0(0x213)](_0x36d93d){const _0x2daaf4=_0x32a9e0;if(this[_0x2daaf4(0x168)]-=_0x36d93d,_0x36d93d===this[_0x2daaf4(0x26b)][0x0][_0x2daaf4(0x186)])return this[_0x2daaf4(0x26b)][_0x2daaf4(0x2c2)]();if(_0x36d93d<this[_0x2daaf4(0x26b)][0x0][_0x2daaf4(0x186)]){const _0x4a506a=this[_0x2daaf4(0x26b)][0x0];return this[_0x2daaf4(0x26b)][0x0]=new _0x514500(_0x4a506a['buffer'],_0x4a506a[_0x2daaf4(0x1b9)]+_0x36d93d,_0x4a506a[_0x2daaf4(0x186)]-_0x36d93d),new _0x514500(_0x4a506a[_0x2daaf4(0x122)],_0x4a506a[_0x2daaf4(0x1b9)],_0x36d93d);}const _0x39b323=Buffer[_0x2daaf4(0x214)](_0x36d93d);do{const _0x1b75d2=this['_buffers'][0x0],_0x5640f0=_0x39b323[_0x2daaf4(0x186)]-_0x36d93d;_0x36d93d>=_0x1b75d2[_0x2daaf4(0x186)]?_0x39b323[_0x2daaf4(0x116)](this['_buffers'][_0x2daaf4(0x2c2)](),_0x5640f0):(_0x39b323[_0x2daaf4(0x116)](new Uint8Array(_0x1b75d2[_0x2daaf4(0x122)],_0x1b75d2[_0x2daaf4(0x1b9)],_0x36d93d),_0x5640f0),this[_0x2daaf4(0x26b)][0x0]=new _0x514500(_0x1b75d2[_0x2daaf4(0x122)],_0x1b75d2[_0x2daaf4(0x1b9)]+_0x36d93d,_0x1b75d2[_0x2daaf4(0x186)]-_0x36d93d)),_0x36d93d-=_0x1b75d2[_0x2daaf4(0x186)];}while(_0x36d93d>0x0);return _0x39b323;}[_0x32a9e0(0x24a)](_0x446f24){const _0x18ab75=_0x32a9e0;this['_loop']=!0x0;do switch(this[_0x18ab75(0x2bd)]){case _0x4897b4:this[_0x18ab75(0x159)](_0x446f24);break;case _0x3e6919:this[_0x18ab75(0x12f)](_0x446f24);break;case _0x3c8fa7:this[_0x18ab75(0x1ad)](_0x446f24);break;case _0x155311:this[_0x18ab75(0x153)]();break;case _0x5f502d:this[_0x18ab75(0x1a8)](_0x446f24);break;case _0x409b7c:case _0x506b02:this[_0x18ab75(0x19b)]=!0x1;return;}while(this[_0x18ab75(0x19b)]);this[_0x18ab75(0x194)]||_0x446f24();}['getInfo'](_0x5f2fed){const _0x198683=_0x32a9e0;if(this['_bufferedBytes']<0x2){this['_loop']=!0x1;return;}const _0x4099d1=this[_0x198683(0x213)](0x2);if((_0x4099d1[0x0]&0x30)!==0x0){const _0xfaf511=this[_0x198683(0x14b)](RangeError,_0x198683(0x243),!0x0,0x3ea,_0x198683(0x25b));_0x5f2fed(_0xfaf511);return;}const _0x230e43=(_0x4099d1[0x0]&0x40)===0x40;if(_0x230e43&&!this[_0x198683(0x2c4)][_0x5269d3[_0x198683(0x232)]]){const _0x23cd7a=this[_0x198683(0x14b)](RangeError,_0x198683(0x20f),!0x0,0x3ea,_0x198683(0x26e));_0x5f2fed(_0x23cd7a);return;}if(this[_0x198683(0x1eb)]=(_0x4099d1[0x0]&0x80)===0x80,this['_opcode']=_0x4099d1[0x0]&0xf,this[_0x198683(0x1bb)]=_0x4099d1[0x1]&0x7f,this[_0x198683(0x113)]===0x0){if(_0x230e43){const _0x2d4606=this['createError'](RangeError,_0x198683(0x20f),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x5f2fed(_0x2d4606);return;}if(!this[_0x198683(0x248)]){const _0x2215dd=this[_0x198683(0x14b)](RangeError,_0x198683(0x1ed),!0x0,0x3ea,_0x198683(0x20d));_0x5f2fed(_0x2215dd);return;}this['_opcode']=this[_0x198683(0x248)];}else{if(this[_0x198683(0x113)]===0x1||this[_0x198683(0x113)]===0x2){if(this['_fragmented']){const _0x4747f6=this[_0x198683(0x14b)](RangeError,_0x198683(0x1ef)+this[_0x198683(0x113)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x5f2fed(_0x4747f6);return;}this['_compressed']=_0x230e43;}else{if(this[_0x198683(0x113)]>0x7&&this[_0x198683(0x113)]<0xb){if(!this[_0x198683(0x1eb)]){const _0x55c2b9=this[_0x198683(0x14b)](RangeError,_0x198683(0x169),!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0x5f2fed(_0x55c2b9);return;}if(_0x230e43){const _0x4ccb33=this[_0x198683(0x14b)](RangeError,_0x198683(0x20f),!0x0,0x3ea,_0x198683(0x26e));_0x5f2fed(_0x4ccb33);return;}if(this[_0x198683(0x1bb)]>0x7d||this[_0x198683(0x113)]===0x8&&this[_0x198683(0x1bb)]===0x1){const _0x183e28=this['createError'](RangeError,'invalid\x20payload\x20length\x20'+this[_0x198683(0x1bb)],!0x0,0x3ea,_0x198683(0x244));_0x5f2fed(_0x183e28);return;}}else{const _0x3efb73=this[_0x198683(0x14b)](RangeError,'invalid\x20opcode\x20'+this[_0x198683(0x113)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x5f2fed(_0x3efb73);return;}}}if(!this[_0x198683(0x1eb)]&&!this[_0x198683(0x248)]&&(this[_0x198683(0x248)]=this['_opcode']),this['_masked']=(_0x4099d1[0x1]&0x80)===0x80,this[_0x198683(0x15e)]){if(!this['_masked']){const _0x2fd700=this[_0x198683(0x14b)](RangeError,_0x198683(0x1f5),!0x0,0x3ea,_0x198683(0x135));_0x5f2fed(_0x2fd700);return;}}else{if(this[_0x198683(0x2d3)]){const _0x19e459=this[_0x198683(0x14b)](RangeError,_0x198683(0x124),!0x0,0x3ea,_0x198683(0x20b));_0x5f2fed(_0x19e459);return;}}this['_payloadLength']===0x7e?this['_state']=_0x3e6919:this[_0x198683(0x1bb)]===0x7f?this[_0x198683(0x2bd)]=_0x3c8fa7:this['haveLength'](_0x5f2fed);}[_0x32a9e0(0x12f)](_0x1d6857){const _0x545b1e=_0x32a9e0;if(this[_0x545b1e(0x168)]<0x2){this[_0x545b1e(0x19b)]=!0x1;return;}this[_0x545b1e(0x1bb)]=this[_0x545b1e(0x213)](0x2)[_0x545b1e(0x21c)](0x0),this['haveLength'](_0x1d6857);}[_0x32a9e0(0x1ad)](_0x32066d){const _0x50eac3=_0x32a9e0;if(this[_0x50eac3(0x168)]<0x8){this[_0x50eac3(0x19b)]=!0x1;return;}const _0x4f89b4=this['consume'](0x8),_0x561d73=_0x4f89b4[_0x50eac3(0x2bb)](0x0);if(_0x561d73>Math[_0x50eac3(0x223)](0x2,0x15)-0x1){const _0x9c2fa=this[_0x50eac3(0x14b)](RangeError,_0x50eac3(0x23d),!0x1,0x3f1,_0x50eac3(0x28a));_0x32066d(_0x9c2fa);return;}this[_0x50eac3(0x1bb)]=_0x561d73*Math['pow'](0x2,0x20)+_0x4f89b4[_0x50eac3(0x2bb)](0x4),this[_0x50eac3(0x27e)](_0x32066d);}['haveLength'](_0x54b8a5){const _0x81dd6d=_0x32a9e0;if(this['_payloadLength']&&this[_0x81dd6d(0x113)]<0x8&&(this[_0x81dd6d(0x17c)]+=this[_0x81dd6d(0x1bb)],this[_0x81dd6d(0x17c)]>this[_0x81dd6d(0x2ba)]&&this[_0x81dd6d(0x2ba)]>0x0)){const _0x3e3627=this[_0x81dd6d(0x14b)](RangeError,_0x81dd6d(0x1f8),!0x1,0x3f1,_0x81dd6d(0x16e));_0x54b8a5(_0x3e3627);return;}this[_0x81dd6d(0x2d3)]?this[_0x81dd6d(0x2bd)]=_0x155311:this[_0x81dd6d(0x2bd)]=_0x5f502d;}[_0x32a9e0(0x153)](){const _0x39490a=_0x32a9e0;if(this[_0x39490a(0x168)]<0x4){this[_0x39490a(0x19b)]=!0x1;return;}this[_0x39490a(0x2d7)]=this[_0x39490a(0x213)](0x4),this[_0x39490a(0x2bd)]=_0x5f502d;}[_0x32a9e0(0x1a8)](_0x263b8b){const _0x384fd5=_0x32a9e0;let _0x38f47d=_0x5c607d;if(this['_payloadLength']){if(this[_0x384fd5(0x168)]<this[_0x384fd5(0x1bb)]){this[_0x384fd5(0x19b)]=!0x1;return;}_0x38f47d=this[_0x384fd5(0x213)](this[_0x384fd5(0x1bb)]),this[_0x384fd5(0x2d3)]&&(this[_0x384fd5(0x2d7)][0x0]|this['_mask'][0x1]|this[_0x384fd5(0x2d7)][0x2]|this[_0x384fd5(0x2d7)][0x3])!==0x0&&_0x1f9bab(_0x38f47d,this['_mask']);}if(this['_opcode']>0x7){this[_0x384fd5(0x171)](_0x38f47d,_0x263b8b);return;}if(this['_compressed']){this[_0x384fd5(0x2bd)]=_0x409b7c,this[_0x384fd5(0x256)](_0x38f47d,_0x263b8b);return;}_0x38f47d[_0x384fd5(0x186)]&&(this[_0x384fd5(0x15a)]=this[_0x384fd5(0x17c)],this['_fragments'][_0x384fd5(0x111)](_0x38f47d)),this[_0x384fd5(0x191)](_0x263b8b);}['decompress'](_0x1ac7dc,_0x5a8617){const _0x46905e=_0x32a9e0;this[_0x46905e(0x2c4)][_0x5269d3[_0x46905e(0x232)]][_0x46905e(0x256)](_0x1ac7dc,this[_0x46905e(0x1eb)],(_0x2473e3,_0x4f13ae)=>{const _0x55e10b=_0x46905e;if(_0x2473e3)return _0x5a8617(_0x2473e3);if(_0x4f13ae['length']){if(this['_messageLength']+=_0x4f13ae[_0x55e10b(0x186)],this[_0x55e10b(0x15a)]>this['_maxPayload']&&this[_0x55e10b(0x2ba)]>0x0){const _0x215ace=this[_0x55e10b(0x14b)](RangeError,_0x55e10b(0x1f8),!0x1,0x3f1,_0x55e10b(0x16e));_0x5a8617(_0x215ace);return;}this[_0x55e10b(0x12a)][_0x55e10b(0x111)](_0x4f13ae);}this['dataMessage'](_0x5a8617),this['_state']===_0x4897b4&&this['startLoop'](_0x5a8617);});}[_0x32a9e0(0x191)](_0x15b990){const _0x27ab73=_0x32a9e0;if(!this[_0x27ab73(0x1eb)]){this[_0x27ab73(0x2bd)]=_0x4897b4;return;}const _0x3480bc=this[_0x27ab73(0x15a)],_0x2aa38d=this[_0x27ab73(0x12a)];if(this[_0x27ab73(0x17c)]=0x0,this[_0x27ab73(0x15a)]=0x0,this['_fragmented']=0x0,this[_0x27ab73(0x12a)]=[],this[_0x27ab73(0x113)]===0x2){let _0xe63957;this[_0x27ab73(0x15d)]==='nodebuffer'?_0xe63957=_0x21122e(_0x2aa38d,_0x3480bc):this[_0x27ab73(0x15d)]===_0x27ab73(0x140)?_0xe63957=_0x36897d(_0x21122e(_0x2aa38d,_0x3480bc)):this[_0x27ab73(0x15d)]===_0x27ab73(0x255)?_0xe63957=new Blob(_0x2aa38d):_0xe63957=_0x2aa38d,this[_0x27ab73(0x127)]?(this[_0x27ab73(0x2d4)](_0x27ab73(0x13b),_0xe63957,!0x0),this[_0x27ab73(0x2bd)]=_0x4897b4):(this[_0x27ab73(0x2bd)]=_0x506b02,setImmediate(()=>{const _0x5b2f0f=_0x27ab73;this[_0x5b2f0f(0x2d4)](_0x5b2f0f(0x13b),_0xe63957,!0x0),this[_0x5b2f0f(0x2bd)]=_0x4897b4,this[_0x5b2f0f(0x24a)](_0x15b990);}));}else{const _0x15aacf=_0x21122e(_0x2aa38d,_0x3480bc);if(!this[_0x27ab73(0x296)]&&!_0x35fd08(_0x15aacf)){const _0x47812d=this[_0x27ab73(0x14b)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x15b990(_0x47812d);return;}this[_0x27ab73(0x2bd)]===_0x409b7c||this['_allowSynchronousEvents']?(this[_0x27ab73(0x2d4)]('message',_0x15aacf,!0x1),this[_0x27ab73(0x2bd)]=_0x4897b4):(this[_0x27ab73(0x2bd)]=_0x506b02,setImmediate(()=>{const _0xe11378=_0x27ab73;this[_0xe11378(0x2d4)](_0xe11378(0x13b),_0x15aacf,!0x1),this[_0xe11378(0x2bd)]=_0x4897b4,this[_0xe11378(0x24a)](_0x15b990);}));}}[_0x32a9e0(0x171)](_0x10b5c3,_0x5af80c){const _0x3f15c7=_0x32a9e0;if(this[_0x3f15c7(0x113)]===0x8){if(_0x10b5c3[_0x3f15c7(0x186)]===0x0)this[_0x3f15c7(0x19b)]=!0x1,this[_0x3f15c7(0x2d4)](_0x3f15c7(0x275),0x3ed,_0x5c607d),this['end']();else{const _0x5e7d2a=_0x10b5c3[_0x3f15c7(0x21c)](0x0);if(!_0x418ff0(_0x5e7d2a)){const _0x30633e=this[_0x3f15c7(0x14b)](RangeError,_0x3f15c7(0x263)+_0x5e7d2a,!0x0,0x3ea,_0x3f15c7(0x128));_0x5af80c(_0x30633e);return;}const _0x96cb84=new _0x514500(_0x10b5c3[_0x3f15c7(0x122)],_0x10b5c3[_0x3f15c7(0x1b9)]+0x2,_0x10b5c3[_0x3f15c7(0x186)]-0x2);if(!this['_skipUTF8Validation']&&!_0x35fd08(_0x96cb84)){const _0x3cf222=this[_0x3f15c7(0x14b)](Error,_0x3f15c7(0x1b3),!0x0,0x3ef,_0x3f15c7(0x1cc));_0x5af80c(_0x3cf222);return;}this[_0x3f15c7(0x19b)]=!0x1,this[_0x3f15c7(0x2d4)](_0x3f15c7(0x275),_0x5e7d2a,_0x96cb84),this[_0x3f15c7(0x1a6)]();}this[_0x3f15c7(0x2bd)]=_0x4897b4;return;}this[_0x3f15c7(0x127)]?(this[_0x3f15c7(0x2d4)](this[_0x3f15c7(0x113)]===0x9?'ping':'pong',_0x10b5c3),this[_0x3f15c7(0x2bd)]=_0x4897b4):(this['_state']=_0x506b02,setImmediate(()=>{const _0x47f5b7=_0x3f15c7;this[_0x47f5b7(0x2d4)](this[_0x47f5b7(0x113)]===0x9?'ping':'pong',_0x10b5c3),this[_0x47f5b7(0x2bd)]=_0x4897b4,this['startLoop'](_0x5af80c);}));}[_0x32a9e0(0x14b)](_0x4a706a,_0x5dd20d,_0x1cbfe0,_0x2846da,_0x41c748){const _0x1cb683=_0x32a9e0;this[_0x1cb683(0x19b)]=!0x1,this[_0x1cb683(0x194)]=!0x0;const _0x479572=new _0x4a706a(_0x1cbfe0?_0x1cb683(0x25c)+_0x5dd20d:_0x5dd20d);return Error['captureStackTrace'](_0x479572,this[_0x1cb683(0x14b)]),_0x479572[_0x1cb683(0x2af)]=_0x41c748,_0x479572[_0x2a03ac]=_0x2846da,_0x479572;}}return Se=_0x4e3bb7,Se;}var Ee,Xe;function ft(){const _0x481cc4=_0x538862;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x31610d}=oe,{randomFillSync:_0x30791f}=Le,_0x1d5562=he(),{EMPTY_BUFFER:_0x487017,kWebSocket:_0x33055e,NOOP:_0x586be0}=H(),{isBlob:_0x981aa5,isValidStatusCode:_0x130ef5}=ae(),{mask:_0x5975fb,toBuffer:_0x939055}=ce(),_0x4d421a=Symbol(_0x481cc4(0x1fe)),_0x33170e=Buffer[_0x481cc4(0x237)](0x4),_0x69b71f=0x8*0x400;let _0x484c03,_0x34366d=_0x69b71f;const _0x5996bd=0x0,_0x1b3519=0x1,_0x1db7f0=0x2;class _0x1ffda3{constructor(_0x27e27d,_0x49864c,_0x19eb70){const _0x20911f=_0x481cc4;this[_0x20911f(0x2c4)]=_0x49864c||{},_0x19eb70&&(this[_0x20911f(0x298)]=_0x19eb70,this[_0x20911f(0x294)]=Buffer[_0x20911f(0x237)](0x4)),this[_0x20911f(0x138)]=_0x27e27d,this[_0x20911f(0x1af)]=!0x0,this[_0x20911f(0x195)]=!0x1,this[_0x20911f(0x168)]=0x0,this[_0x20911f(0x19c)]=[],this[_0x20911f(0x2bd)]=_0x5996bd,this['onerror']=_0x586be0,this[_0x33055e]=void 0x0;}static['frame'](_0x4ceb11,_0x4e5c55){const _0x5d292c=_0x481cc4;let _0xf3e7a5,_0x2c39cd=!0x1,_0x4f6c95=0x2,_0x448bb0=!0x1;_0x4e5c55[_0x5d292c(0x277)]&&(_0xf3e7a5=_0x4e5c55[_0x5d292c(0x281)]||_0x33170e,_0x4e5c55[_0x5d292c(0x11d)]?_0x4e5c55[_0x5d292c(0x11d)](_0xf3e7a5):(_0x34366d===_0x69b71f&&(_0x484c03===void 0x0&&(_0x484c03=Buffer[_0x5d292c(0x237)](_0x69b71f)),_0x30791f(_0x484c03,0x0,_0x69b71f),_0x34366d=0x0),_0xf3e7a5[0x0]=_0x484c03[_0x34366d++],_0xf3e7a5[0x1]=_0x484c03[_0x34366d++],_0xf3e7a5[0x2]=_0x484c03[_0x34366d++],_0xf3e7a5[0x3]=_0x484c03[_0x34366d++]),_0x448bb0=(_0xf3e7a5[0x0]|_0xf3e7a5[0x1]|_0xf3e7a5[0x2]|_0xf3e7a5[0x3])===0x0,_0x4f6c95=0x6);let _0x2dd2a2;typeof _0x4ceb11==_0x5d292c(0x23f)?(!_0x4e5c55[_0x5d292c(0x277)]||_0x448bb0)&&_0x4e5c55[_0x4d421a]!==void 0x0?_0x2dd2a2=_0x4e5c55[_0x4d421a]:(_0x4ceb11=Buffer[_0x5d292c(0x190)](_0x4ceb11),_0x2dd2a2=_0x4ceb11['length']):(_0x2dd2a2=_0x4ceb11[_0x5d292c(0x186)],_0x2c39cd=_0x4e5c55[_0x5d292c(0x277)]&&_0x4e5c55[_0x5d292c(0x118)]&&!_0x448bb0);let _0x4ff479=_0x2dd2a2;_0x2dd2a2>=0x10000?(_0x4f6c95+=0x8,_0x4ff479=0x7f):_0x2dd2a2>0x7d&&(_0x4f6c95+=0x2,_0x4ff479=0x7e);const _0x2556db=Buffer[_0x5d292c(0x214)](_0x2c39cd?_0x2dd2a2+_0x4f6c95:_0x4f6c95);return _0x2556db[0x0]=_0x4e5c55[_0x5d292c(0x2b0)]?_0x4e5c55[_0x5d292c(0x29b)]|0x80:_0x4e5c55[_0x5d292c(0x29b)],_0x4e5c55[_0x5d292c(0x2b1)]&&(_0x2556db[0x0]|=0x40),_0x2556db[0x1]=_0x4ff479,_0x4ff479===0x7e?_0x2556db[_0x5d292c(0x2a2)](_0x2dd2a2,0x2):_0x4ff479===0x7f&&(_0x2556db[0x2]=_0x2556db[0x3]=0x0,_0x2556db['writeUIntBE'](_0x2dd2a2,0x4,0x6)),_0x4e5c55['mask']?(_0x2556db[0x1]|=0x80,_0x2556db[_0x4f6c95-0x4]=_0xf3e7a5[0x0],_0x2556db[_0x4f6c95-0x3]=_0xf3e7a5[0x1],_0x2556db[_0x4f6c95-0x2]=_0xf3e7a5[0x2],_0x2556db[_0x4f6c95-0x1]=_0xf3e7a5[0x3],_0x448bb0?[_0x2556db,_0x4ceb11]:_0x2c39cd?(_0x5975fb(_0x4ceb11,_0xf3e7a5,_0x2556db,_0x4f6c95,_0x2dd2a2),[_0x2556db]):(_0x5975fb(_0x4ceb11,_0xf3e7a5,_0x4ceb11,0x0,_0x2dd2a2),[_0x2556db,_0x4ceb11])):[_0x2556db,_0x4ceb11];}[_0x481cc4(0x25e)](_0x5eff83,_0x2bc527,_0x356eb2,_0xaaa44){const _0x25e2a3=_0x481cc4;let _0x3eb672;if(_0x5eff83===void 0x0)_0x3eb672=_0x487017;else{if(typeof _0x5eff83!=_0x25e2a3(0x18f)||!_0x130ef5(_0x5eff83))throw new TypeError('First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number');if(_0x2bc527===void 0x0||!_0x2bc527['length'])_0x3eb672=Buffer['allocUnsafe'](0x2),_0x3eb672[_0x25e2a3(0x2a2)](_0x5eff83,0x0);else{const _0x15575e=Buffer['byteLength'](_0x2bc527);if(_0x15575e>0x7b)throw new RangeError(_0x25e2a3(0x17e));_0x3eb672=Buffer['allocUnsafe'](0x2+_0x15575e),_0x3eb672[_0x25e2a3(0x2a2)](_0x5eff83,0x0),typeof _0x2bc527==_0x25e2a3(0x23f)?_0x3eb672['write'](_0x2bc527,0x2):_0x3eb672[_0x25e2a3(0x116)](_0x2bc527,0x2);}}const _0x42f9f7={[_0x4d421a]:_0x3eb672[_0x25e2a3(0x186)],'fin':!0x0,'generateMask':this[_0x25e2a3(0x298)],'mask':_0x356eb2,'maskBuffer':this[_0x25e2a3(0x294)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x25e2a3(0x2bd)]!==_0x5996bd?this[_0x25e2a3(0x1e3)]([this[_0x25e2a3(0x158)],_0x3eb672,!0x1,_0x42f9f7,_0xaaa44]):this[_0x25e2a3(0x258)](_0x1ffda3['frame'](_0x3eb672,_0x42f9f7),_0xaaa44);}[_0x481cc4(0x270)](_0x4fd745,_0x4ba29d,_0x4d706d){const _0x4d53c8=_0x481cc4;let _0x4363dc,_0x1badd4;if(typeof _0x4fd745=='string'?(_0x4363dc=Buffer[_0x4d53c8(0x266)](_0x4fd745),_0x1badd4=!0x1):_0x981aa5(_0x4fd745)?(_0x4363dc=_0x4fd745[_0x4d53c8(0x152)],_0x1badd4=!0x1):(_0x4fd745=_0x939055(_0x4fd745),_0x4363dc=_0x4fd745[_0x4d53c8(0x186)],_0x1badd4=_0x939055[_0x4d53c8(0x118)]),_0x4363dc>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x361145={[_0x4d421a]:_0x4363dc,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x4ba29d,'maskBuffer':this[_0x4d53c8(0x294)],'opcode':0x9,'readOnly':_0x1badd4,'rsv1':!0x1};_0x981aa5(_0x4fd745)?this[_0x4d53c8(0x2bd)]!==_0x5996bd?this[_0x4d53c8(0x1e3)]([this[_0x4d53c8(0x1fa)],_0x4fd745,!0x1,_0x361145,_0x4d706d]):this[_0x4d53c8(0x1fa)](_0x4fd745,!0x1,_0x361145,_0x4d706d):this[_0x4d53c8(0x2bd)]!==_0x5996bd?this[_0x4d53c8(0x1e3)]([this['dispatch'],_0x4fd745,!0x1,_0x361145,_0x4d706d]):this[_0x4d53c8(0x258)](_0x1ffda3[_0x4d53c8(0x17d)](_0x4fd745,_0x361145),_0x4d706d);}[_0x481cc4(0x1c8)](_0x16d676,_0x143d85,_0x833bd3){const _0x534c4f=_0x481cc4;let _0x3c2619,_0x398961;if(typeof _0x16d676=='string'?(_0x3c2619=Buffer['byteLength'](_0x16d676),_0x398961=!0x1):_0x981aa5(_0x16d676)?(_0x3c2619=_0x16d676[_0x534c4f(0x152)],_0x398961=!0x1):(_0x16d676=_0x939055(_0x16d676),_0x3c2619=_0x16d676[_0x534c4f(0x186)],_0x398961=_0x939055['readOnly']),_0x3c2619>0x7d)throw new RangeError(_0x534c4f(0x18e));const _0x4a5bbe={[_0x4d421a]:_0x3c2619,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x143d85,'maskBuffer':this[_0x534c4f(0x294)],'opcode':0xa,'readOnly':_0x398961,'rsv1':!0x1};_0x981aa5(_0x16d676)?this[_0x534c4f(0x2bd)]!==_0x5996bd?this[_0x534c4f(0x1e3)]([this[_0x534c4f(0x1fa)],_0x16d676,!0x1,_0x4a5bbe,_0x833bd3]):this[_0x534c4f(0x1fa)](_0x16d676,!0x1,_0x4a5bbe,_0x833bd3):this[_0x534c4f(0x2bd)]!==_0x5996bd?this[_0x534c4f(0x1e3)]([this[_0x534c4f(0x158)],_0x16d676,!0x1,_0x4a5bbe,_0x833bd3]):this['sendFrame'](_0x1ffda3['frame'](_0x16d676,_0x4a5bbe),_0x833bd3);}[_0x481cc4(0x2d5)](_0x89f300,_0x559fdc,_0x387731){const _0x213904=_0x481cc4,_0x27fed8=this[_0x213904(0x2c4)][_0x1d5562['extensionName']];let _0x577afd=_0x559fdc[_0x213904(0x13e)]?0x2:0x1,_0xa735dd=_0x559fdc[_0x213904(0x208)],_0x523752,_0x33fae9;typeof _0x89f300==_0x213904(0x23f)?(_0x523752=Buffer[_0x213904(0x266)](_0x89f300),_0x33fae9=!0x1):_0x981aa5(_0x89f300)?(_0x523752=_0x89f300[_0x213904(0x152)],_0x33fae9=!0x1):(_0x89f300=_0x939055(_0x89f300),_0x523752=_0x89f300['length'],_0x33fae9=_0x939055[_0x213904(0x118)]),this[_0x213904(0x1af)]?(this[_0x213904(0x1af)]=!0x1,_0xa735dd&&_0x27fed8&&_0x27fed8[_0x213904(0x126)][_0x27fed8[_0x213904(0x15e)]?_0x213904(0x154):_0x213904(0x245)]&&(_0xa735dd=_0x523752>=_0x27fed8[_0x213904(0x2a4)]),this[_0x213904(0x195)]=_0xa735dd):(_0xa735dd=!0x1,_0x577afd=0x0),_0x559fdc[_0x213904(0x2b0)]&&(this[_0x213904(0x1af)]=!0x0);const _0x199d1b={[_0x4d421a]:_0x523752,'fin':_0x559fdc[_0x213904(0x2b0)],'generateMask':this[_0x213904(0x298)],'mask':_0x559fdc[_0x213904(0x277)],'maskBuffer':this['_maskBuffer'],'opcode':_0x577afd,'readOnly':_0x33fae9,'rsv1':_0xa735dd};_0x981aa5(_0x89f300)?this[_0x213904(0x2bd)]!==_0x5996bd?this['enqueue']([this[_0x213904(0x1fa)],_0x89f300,this[_0x213904(0x195)],_0x199d1b,_0x387731]):this[_0x213904(0x1fa)](_0x89f300,this[_0x213904(0x195)],_0x199d1b,_0x387731):this['_state']!==_0x5996bd?this['enqueue']([this['dispatch'],_0x89f300,this[_0x213904(0x195)],_0x199d1b,_0x387731]):this['dispatch'](_0x89f300,this[_0x213904(0x195)],_0x199d1b,_0x387731);}[_0x481cc4(0x1fa)](_0x43c6fe,_0x577e10,_0x410130,_0x21b9b5){const _0x546582=_0x481cc4;this[_0x546582(0x168)]+=_0x410130[_0x4d421a],this[_0x546582(0x2bd)]=_0x1db7f0,_0x43c6fe[_0x546582(0x1a7)]()[_0x546582(0x1da)](_0x26a3f0=>{const _0xea2c56=_0x546582;if(this['_socket']['destroyed']){const _0x3c543f=new Error(_0xea2c56(0x259));process[_0xea2c56(0x271)](_0x1da516,this,_0x3c543f,_0x21b9b5);return;}this['_bufferedBytes']-=_0x410130[_0x4d421a];const _0x26c4d7=_0x939055(_0x26a3f0);_0x577e10?this[_0xea2c56(0x158)](_0x26c4d7,_0x577e10,_0x410130,_0x21b9b5):(this[_0xea2c56(0x2bd)]=_0x5996bd,this[_0xea2c56(0x258)](_0x1ffda3[_0xea2c56(0x17d)](_0x26c4d7,_0x410130),_0x21b9b5),this[_0xea2c56(0x11a)]());})['catch'](_0x5b330d=>{const _0x99030c=_0x546582;process[_0x99030c(0x271)](_0x46fd19,this,_0x5b330d,_0x21b9b5);});}[_0x481cc4(0x158)](_0x52e531,_0x14650a,_0x42d31c,_0x24ac02){const _0x2745da=_0x481cc4;if(!_0x14650a){this['sendFrame'](_0x1ffda3[_0x2745da(0x17d)](_0x52e531,_0x42d31c),_0x24ac02);return;}const _0x54bead=this['_extensions'][_0x1d5562[_0x2745da(0x232)]];this[_0x2745da(0x168)]+=_0x42d31c[_0x4d421a],this[_0x2745da(0x2bd)]=_0x1b3519,_0x54bead[_0x2745da(0x208)](_0x52e531,_0x42d31c[_0x2745da(0x2b0)],(_0x1b2856,_0x49438d)=>{const _0x2c163b=_0x2745da;if(this[_0x2c163b(0x138)][_0x2c163b(0x13c)]){const _0x42ab7b=new Error(_0x2c163b(0x23c));_0x1da516(this,_0x42ab7b,_0x24ac02);return;}this[_0x2c163b(0x168)]-=_0x42d31c[_0x4d421a],this[_0x2c163b(0x2bd)]=_0x5996bd,_0x42d31c[_0x2c163b(0x118)]=!0x1,this['sendFrame'](_0x1ffda3[_0x2c163b(0x17d)](_0x49438d,_0x42d31c),_0x24ac02),this[_0x2c163b(0x11a)]();});}[_0x481cc4(0x11a)](){const _0x3e0093=_0x481cc4;for(;this[_0x3e0093(0x2bd)]===_0x5996bd&&this['_queue']['length'];){const _0x8ba589=this[_0x3e0093(0x19c)]['shift']();this[_0x3e0093(0x168)]-=_0x8ba589[0x3][_0x4d421a],Reflect[_0x3e0093(0x14f)](_0x8ba589[0x0],this,_0x8ba589[_0x3e0093(0x196)](0x1));}}[_0x481cc4(0x1e3)](_0x4171b){const _0x5c29ad=_0x481cc4;this[_0x5c29ad(0x168)]+=_0x4171b[0x3][_0x4d421a],this[_0x5c29ad(0x19c)][_0x5c29ad(0x111)](_0x4171b);}[_0x481cc4(0x258)](_0x4eb117,_0x77d033){const _0x444ddf=_0x481cc4;_0x4eb117['length']===0x2?(this[_0x444ddf(0x138)][_0x444ddf(0x22d)](),this[_0x444ddf(0x138)][_0x444ddf(0x2d6)](_0x4eb117[0x0]),this[_0x444ddf(0x138)][_0x444ddf(0x2d6)](_0x4eb117[0x1],_0x77d033),this[_0x444ddf(0x138)]['uncork']()):this[_0x444ddf(0x138)][_0x444ddf(0x2d6)](_0x4eb117[0x0],_0x77d033);}}Ee=_0x1ffda3;function _0x1da516(_0x237964,_0x4f3a7c,_0x149e3a){const _0x580835=_0x481cc4;typeof _0x149e3a=='function'&&_0x149e3a(_0x4f3a7c);for(let _0x31f241=0x0;_0x31f241<_0x237964[_0x580835(0x19c)][_0x580835(0x186)];_0x31f241++){const _0x57cbf5=_0x237964[_0x580835(0x19c)][_0x31f241],_0xf8128b=_0x57cbf5[_0x57cbf5[_0x580835(0x186)]-0x1];typeof _0xf8128b==_0x580835(0x16c)&&_0xf8128b(_0x4f3a7c);}}function _0x46fd19(_0x3572e5,_0x2506a9,_0x1224b5){const _0x402c52=_0x481cc4;_0x1da516(_0x3572e5,_0x2506a9,_0x1224b5),_0x3572e5[_0x402c52(0x19a)](_0x2506a9);}return Ee;}var xe,Ze;function It(){const _0x5170d6=_0x538862;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x320625,kListener:_0x28bd3f}=H(),_0x3dc5d2=Symbol(_0x5170d6(0x17f)),_0x29567f=Symbol(_0x5170d6(0x167)),_0x4f4a21=Symbol(_0x5170d6(0x2b2)),_0x57af77=Symbol('kMessage'),_0x1d4274=Symbol(_0x5170d6(0x2a9)),_0x532407=Symbol('kTarget'),_0x55b483=Symbol('kType'),_0x27feae=Symbol(_0x5170d6(0x16a));class _0x107451{constructor(_0x2d6bbf){this[_0x532407]=null,this[_0x55b483]=_0x2d6bbf;}get[_0x5170d6(0x1d8)](){return this[_0x532407];}get['type'](){return this[_0x55b483];}}Object[_0x5170d6(0x165)](_0x107451[_0x5170d6(0x13a)],'target',{'enumerable':!0x0}),Object[_0x5170d6(0x165)](_0x107451[_0x5170d6(0x13a)],_0x5170d6(0x205),{'enumerable':!0x0});class _0x432b20 extends _0x107451{constructor(_0x739310,_0x49a5fa={}){const _0x4c94c4=_0x5170d6;super(_0x739310),this[_0x3dc5d2]=_0x49a5fa[_0x4c94c4(0x2af)]===void 0x0?0x0:_0x49a5fa['code'],this[_0x1d4274]=_0x49a5fa['reason']===void 0x0?'':_0x49a5fa['reason'],this[_0x27feae]=_0x49a5fa[_0x4c94c4(0x163)]===void 0x0?!0x1:_0x49a5fa[_0x4c94c4(0x163)];}get[_0x5170d6(0x2af)](){return this[_0x3dc5d2];}get[_0x5170d6(0x1cf)](){return this[_0x1d4274];}get[_0x5170d6(0x163)](){return this[_0x27feae];}}Object[_0x5170d6(0x165)](_0x432b20[_0x5170d6(0x13a)],_0x5170d6(0x2af),{'enumerable':!0x0}),Object[_0x5170d6(0x165)](_0x432b20[_0x5170d6(0x13a)],'reason',{'enumerable':!0x0}),Object['defineProperty'](_0x432b20[_0x5170d6(0x13a)],_0x5170d6(0x163),{'enumerable':!0x0});class _0x2a37e4 extends _0x107451{constructor(_0x23073b,_0x2d34af={}){const _0x54be55=_0x5170d6;super(_0x23073b),this[_0x4f4a21]=_0x2d34af['error']===void 0x0?null:_0x2d34af[_0x54be55(0x166)],this[_0x57af77]=_0x2d34af['message']===void 0x0?'':_0x2d34af['message'];}get['error'](){return this[_0x4f4a21];}get[_0x5170d6(0x13b)](){return this[_0x57af77];}}Object[_0x5170d6(0x165)](_0x2a37e4[_0x5170d6(0x13a)],'error',{'enumerable':!0x0}),Object['defineProperty'](_0x2a37e4[_0x5170d6(0x13a)],_0x5170d6(0x13b),{'enumerable':!0x0});class _0x2301c6 extends _0x107451{constructor(_0xa269e9,_0x420ebf={}){super(_0xa269e9),this[_0x29567f]=_0x420ebf['data']===void 0x0?null:_0x420ebf['data'];}get[_0x5170d6(0x273)](){return this[_0x29567f];}}Object[_0x5170d6(0x165)](_0x2301c6[_0x5170d6(0x13a)],'data',{'enumerable':!0x0}),xe={'CloseEvent':_0x432b20,'ErrorEvent':_0x2a37e4,'Event':_0x107451,'EventTarget':{'addEventListener'(_0x29f1e0,_0x3b53b0,_0x473650={}){const _0x4df24f=_0x5170d6;for(const _0xf71b64 of this[_0x4df24f(0x129)](_0x29f1e0))if(!_0x473650[_0x320625]&&_0xf71b64[_0x28bd3f]===_0x3b53b0&&!_0xf71b64[_0x320625])return;let _0x4ef4b7;if(_0x29f1e0===_0x4df24f(0x13b))_0x4ef4b7=function(_0x1c9229,_0x1292d8){const _0x17ffec=_0x4df24f,_0x237a1a=new _0x2301c6(_0x17ffec(0x13b),{'data':_0x1292d8?_0x1c9229:_0x1c9229[_0x17ffec(0x2c5)]()});_0x237a1a[_0x532407]=this,_0x3e84fd(_0x3b53b0,this,_0x237a1a);};else{if(_0x29f1e0===_0x4df24f(0x25e))_0x4ef4b7=function(_0xf5c75a,_0x29a31c){const _0x143541=_0x4df24f,_0x370b10=new _0x432b20(_0x143541(0x25e),{'code':_0xf5c75a,'reason':_0x29a31c['toString'](),'wasClean':this[_0x143541(0x21b)]&&this[_0x143541(0x226)]});_0x370b10[_0x532407]=this,_0x3e84fd(_0x3b53b0,this,_0x370b10);};else{if(_0x29f1e0===_0x4df24f(0x166))_0x4ef4b7=function(_0x3f26da){const _0xcb0e76=_0x4df24f,_0x2f5d63=new _0x2a37e4(_0xcb0e76(0x166),{'error':_0x3f26da,'message':_0x3f26da[_0xcb0e76(0x13b)]});_0x2f5d63[_0x532407]=this,_0x3e84fd(_0x3b53b0,this,_0x2f5d63);};else{if(_0x29f1e0===_0x4df24f(0x262))_0x4ef4b7=function(){const _0x3a35c4=_0x4df24f,_0x42810b=new _0x107451(_0x3a35c4(0x262));_0x42810b[_0x532407]=this,_0x3e84fd(_0x3b53b0,this,_0x42810b);};else return;}}}_0x4ef4b7[_0x320625]=!!_0x473650[_0x320625],_0x4ef4b7[_0x28bd3f]=_0x3b53b0,_0x473650['once']?this[_0x4df24f(0x29f)](_0x29f1e0,_0x4ef4b7):this['on'](_0x29f1e0,_0x4ef4b7);},'removeEventListener'(_0x1c205f,_0x495854){const _0x3a95ce=_0x5170d6;for(const _0x3a9877 of this[_0x3a95ce(0x129)](_0x1c205f))if(_0x3a9877[_0x28bd3f]===_0x495854&&!_0x3a9877[_0x320625]){this[_0x3a95ce(0x287)](_0x1c205f,_0x3a9877);break;}}},'MessageEvent':_0x2301c6};function _0x3e84fd(_0x408a9b,_0x533eb1,_0x5044eb){const _0x52950f=_0x5170d6;typeof _0x408a9b==_0x52950f(0x1e5)&&_0x408a9b[_0x52950f(0x246)]?_0x408a9b['handleEvent'][_0x52950f(0x19e)](_0x408a9b,_0x5044eb):_0x408a9b[_0x52950f(0x19e)](_0x533eb1,_0x5044eb);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x561d2a}=ae();function _0x455442(_0x228375,_0xe31e4,_0x3036d8){const _0x1f594b=_0x9083;_0x228375[_0xe31e4]===void 0x0?_0x228375[_0xe31e4]=[_0x3036d8]:_0x228375[_0xe31e4][_0x1f594b(0x111)](_0x3036d8);}function _0x529904(_0x31bfcd){const _0x3accf5=_0x9083,_0x2a6d8b=Object[_0x3accf5(0x199)](null);let _0x1b42da=Object[_0x3accf5(0x199)](null),_0x506d9f=!0x1,_0x5e0902=!0x1,_0x5da47e=!0x1,_0x4d9291,_0x824dbe,_0xc38e48=-0x1,_0x43956c=-0x1,_0x4366ea=-0x1,_0x3a7daf=0x0;for(;_0x3a7daf<_0x31bfcd[_0x3accf5(0x186)];_0x3a7daf++)if(_0x43956c=_0x31bfcd[_0x3accf5(0x203)](_0x3a7daf),_0x4d9291===void 0x0){if(_0x4366ea===-0x1&&_0x561d2a[_0x43956c]===0x1)_0xc38e48===-0x1&&(_0xc38e48=_0x3a7daf);else{if(_0x3a7daf!==0x0&&(_0x43956c===0x20||_0x43956c===0x9))_0x4366ea===-0x1&&_0xc38e48!==-0x1&&(_0x4366ea=_0x3a7daf);else{if(_0x43956c===0x3b||_0x43956c===0x2c){if(_0xc38e48===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x3a7daf);_0x4366ea===-0x1&&(_0x4366ea=_0x3a7daf);const _0x49fa57=_0x31bfcd[_0x3accf5(0x196)](_0xc38e48,_0x4366ea);_0x43956c===0x2c?(_0x455442(_0x2a6d8b,_0x49fa57,_0x1b42da),_0x1b42da=Object['create'](null)):_0x4d9291=_0x49fa57,_0xc38e48=_0x4366ea=-0x1;}else throw new SyntaxError(_0x3accf5(0x1ca)+_0x3a7daf);}}}else{if(_0x824dbe===void 0x0){if(_0x4366ea===-0x1&&_0x561d2a[_0x43956c]===0x1)_0xc38e48===-0x1&&(_0xc38e48=_0x3a7daf);else{if(_0x43956c===0x20||_0x43956c===0x9)_0x4366ea===-0x1&&_0xc38e48!==-0x1&&(_0x4366ea=_0x3a7daf);else{if(_0x43956c===0x3b||_0x43956c===0x2c){if(_0xc38e48===-0x1)throw new SyntaxError(_0x3accf5(0x1ca)+_0x3a7daf);_0x4366ea===-0x1&&(_0x4366ea=_0x3a7daf),_0x455442(_0x1b42da,_0x31bfcd['slice'](_0xc38e48,_0x4366ea),!0x0),_0x43956c===0x2c&&(_0x455442(_0x2a6d8b,_0x4d9291,_0x1b42da),_0x1b42da=Object[_0x3accf5(0x199)](null),_0x4d9291=void 0x0),_0xc38e48=_0x4366ea=-0x1;}else{if(_0x43956c===0x3d&&_0xc38e48!==-0x1&&_0x4366ea===-0x1)_0x824dbe=_0x31bfcd[_0x3accf5(0x196)](_0xc38e48,_0x3a7daf),_0xc38e48=_0x4366ea=-0x1;else throw new SyntaxError(_0x3accf5(0x1ca)+_0x3a7daf);}}}}else{if(_0x5e0902){if(_0x561d2a[_0x43956c]!==0x1)throw new SyntaxError(_0x3accf5(0x1ca)+_0x3a7daf);_0xc38e48===-0x1?_0xc38e48=_0x3a7daf:_0x506d9f||(_0x506d9f=!0x0),_0x5e0902=!0x1;}else{if(_0x5da47e){if(_0x561d2a[_0x43956c]===0x1)_0xc38e48===-0x1&&(_0xc38e48=_0x3a7daf);else{if(_0x43956c===0x22&&_0xc38e48!==-0x1)_0x5da47e=!0x1,_0x4366ea=_0x3a7daf;else{if(_0x43956c===0x5c)_0x5e0902=!0x0;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x3a7daf);}}}else{if(_0x43956c===0x22&&_0x31bfcd[_0x3accf5(0x203)](_0x3a7daf-0x1)===0x3d)_0x5da47e=!0x0;else{if(_0x4366ea===-0x1&&_0x561d2a[_0x43956c]===0x1)_0xc38e48===-0x1&&(_0xc38e48=_0x3a7daf);else{if(_0xc38e48!==-0x1&&(_0x43956c===0x20||_0x43956c===0x9))_0x4366ea===-0x1&&(_0x4366ea=_0x3a7daf);else{if(_0x43956c===0x3b||_0x43956c===0x2c){if(_0xc38e48===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x3a7daf);_0x4366ea===-0x1&&(_0x4366ea=_0x3a7daf);let _0x53318f=_0x31bfcd['slice'](_0xc38e48,_0x4366ea);_0x506d9f&&(_0x53318f=_0x53318f[_0x3accf5(0x1bf)](/\\/g,''),_0x506d9f=!0x1),_0x455442(_0x1b42da,_0x824dbe,_0x53318f),_0x43956c===0x2c&&(_0x455442(_0x2a6d8b,_0x4d9291,_0x1b42da),_0x1b42da=Object[_0x3accf5(0x199)](null),_0x4d9291=void 0x0),_0x824dbe=void 0x0,_0xc38e48=_0x4366ea=-0x1;}else throw new SyntaxError(_0x3accf5(0x1ca)+_0x3a7daf);}}}}}}}if(_0xc38e48===-0x1||_0x5da47e||_0x43956c===0x20||_0x43956c===0x9)throw new SyntaxError(_0x3accf5(0x1aa));_0x4366ea===-0x1&&(_0x4366ea=_0x3a7daf);const _0x234a57=_0x31bfcd[_0x3accf5(0x196)](_0xc38e48,_0x4366ea);return _0x4d9291===void 0x0?_0x455442(_0x2a6d8b,_0x234a57,_0x1b42da):(_0x824dbe===void 0x0?_0x455442(_0x1b42da,_0x234a57,!0x0):_0x506d9f?_0x455442(_0x1b42da,_0x824dbe,_0x234a57[_0x3accf5(0x1bf)](/\\/g,'')):_0x455442(_0x1b42da,_0x824dbe,_0x234a57),_0x455442(_0x2a6d8b,_0x4d9291,_0x1b42da)),_0x2a6d8b;}function _0xac348e(_0x502b93){const _0x340e86=_0x9083;return Object[_0x340e86(0x1b4)](_0x502b93)[_0x340e86(0x20a)](_0x3a5d44=>{const _0x5c745c=_0x340e86;let _0x2f9849=_0x502b93[_0x3a5d44];return Array['isArray'](_0x2f9849)||(_0x2f9849=[_0x2f9849]),_0x2f9849[_0x5c745c(0x20a)](_0x1cdbc4=>[_0x3a5d44][_0x5c745c(0x297)](Object[_0x5c745c(0x1b4)](_0x1cdbc4)[_0x5c745c(0x20a)](_0x1a339b=>{const _0x3e3f7d=_0x5c745c;let _0x1f35e5=_0x1cdbc4[_0x1a339b];return Array[_0x3e3f7d(0x125)](_0x1f35e5)||(_0x1f35e5=[_0x1f35e5]),_0x1f35e5[_0x3e3f7d(0x20a)](_0x138fdb=>_0x138fdb===!0x0?_0x1a339b:_0x1a339b+'='+_0x138fdb)[_0x3e3f7d(0x28f)](';\x20');}))[_0x5c745c(0x28f)](';\x20'))[_0x5c745c(0x28f)](',\x20');})[_0x340e86(0x28f)](',\x20');}return be={'format':_0xac348e,'parse':_0x529904},be;}var we,Je;function Pe(){const _0x257b7d=_0x538862;if(Je)return we;Je=0x1;const _0x49f347=nt,_0x59465a=vt,_0x34798b=ot,_0x43c3c9=St,_0x3b8126=Et,{randomBytes:_0x3e7956,createHash:_0x4b3564}=Le,{Duplex:_0x39bed2,Readable:_0xedc34d}=oe,{URL:_0x4260de}=xt,_0x162d62=he(),_0x2f8a2b=lt(),_0x39b29d=ft(),{isBlob:_0x2b3cc1}=ae(),{BINARY_TYPES:_0x403746,EMPTY_BUFFER:_0x40853f,GUID:_0xfabb07,kForOnEventAttribute:_0x3eb530,kListener:_0x184306,kStatusCode:_0x1d2462,kWebSocket:_0x37bb0f,NOOP:_0x17d996}=H(),{EventTarget:{addEventListener:_0x4451e5,removeEventListener:_0x5920a9}}=It(),{format:_0x1c4f26,parse:_0x488cb6}=ct(),{toBuffer:_0x12402c}=ce(),_0x34e688=0x1e*0x3e8,_0x41781f=Symbol('kAborted'),_0xe9c0e3=[0x8,0xd],_0x4462f7=[_0x257b7d(0x241),_0x257b7d(0x146),_0x257b7d(0x121),'CLOSED'],_0x174fde=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x220167 extends _0x49f347{constructor(_0x4f115c,_0x83f988,_0x4e31bb){const _0x50879f=_0x257b7d;super(),this['_binaryType']=_0x403746[0x0],this[_0x50879f(0x27d)]=0x3ee,this['_closeFrameReceived']=!0x1,this[_0x50879f(0x226)]=!0x1,this['_closeMessage']=_0x40853f,this[_0x50879f(0x239)]=null,this[_0x50879f(0x269)]=!0x1,this[_0x50879f(0x2c4)]={},this[_0x50879f(0x13f)]=!0x1,this[_0x50879f(0x156)]='',this[_0x50879f(0x131)]=_0x220167[_0x50879f(0x241)],this[_0x50879f(0x14c)]=null,this[_0x50879f(0x161)]=null,this[_0x50879f(0x138)]=null,_0x4f115c!==null?(this[_0x50879f(0x1ea)]=0x0,this[_0x50879f(0x15e)]=!0x1,this[_0x50879f(0x238)]=0x0,_0x83f988===void 0x0?_0x83f988=[]:Array[_0x50879f(0x125)](_0x83f988)||(typeof _0x83f988==_0x50879f(0x1e5)&&_0x83f988!==null?(_0x4e31bb=_0x83f988,_0x83f988=[]):_0x83f988=[_0x83f988]),_0x12f251(this,_0x4f115c,_0x83f988,_0x4e31bb)):(this['_autoPong']=_0x4e31bb['autoPong'],this['_isServer']=!0x0);}get['binaryType'](){const _0x459bf7=_0x257b7d;return this[_0x459bf7(0x15d)];}set[_0x257b7d(0x1dc)](_0x2d8ccc){const _0x3735c1=_0x257b7d;_0x403746['includes'](_0x2d8ccc)&&(this[_0x3735c1(0x15d)]=_0x2d8ccc,this[_0x3735c1(0x14c)]&&(this[_0x3735c1(0x14c)][_0x3735c1(0x15d)]=_0x2d8ccc));}get[_0x257b7d(0x2ad)](){const _0x4e8e81=_0x257b7d;return this[_0x4e8e81(0x138)]?this[_0x4e8e81(0x138)][_0x4e8e81(0x155)][_0x4e8e81(0x186)]+this[_0x4e8e81(0x161)][_0x4e8e81(0x168)]:this[_0x4e8e81(0x1ea)];}get[_0x257b7d(0x1e1)](){const _0x5e96d2=_0x257b7d;return Object['keys'](this[_0x5e96d2(0x2c4)])[_0x5e96d2(0x28f)]();}get[_0x257b7d(0x288)](){const _0x3a5abf=_0x257b7d;return this[_0x3a5abf(0x13f)];}get[_0x257b7d(0x254)](){return null;}get[_0x257b7d(0x19a)](){return null;}get[_0x257b7d(0x264)](){return null;}get[_0x257b7d(0x230)](){return null;}get[_0x257b7d(0x1c2)](){return this['_protocol'];}get[_0x257b7d(0x211)](){const _0x264787=_0x257b7d;return this[_0x264787(0x131)];}get[_0x257b7d(0x184)](){const _0xc7f4e4=_0x257b7d;return this[_0xc7f4e4(0x227)];}['setSocket'](_0x220772,_0x3dd1eb,_0x2e5492){const _0x5dbb83=_0x257b7d,_0x40b6a7=new _0x2f8a2b({'allowSynchronousEvents':_0x2e5492['allowSynchronousEvents'],'binaryType':this[_0x5dbb83(0x1dc)],'extensions':this[_0x5dbb83(0x2c4)],'isServer':this[_0x5dbb83(0x15e)],'maxPayload':_0x2e5492[_0x5dbb83(0x1cb)],'skipUTF8Validation':_0x2e5492[_0x5dbb83(0x1b6)]}),_0x1f29cd=new _0x39b29d(_0x220772,this[_0x5dbb83(0x2c4)],_0x2e5492[_0x5dbb83(0x11d)]);this[_0x5dbb83(0x14c)]=_0x40b6a7,this[_0x5dbb83(0x161)]=_0x1f29cd,this['_socket']=_0x220772,_0x40b6a7[_0x37bb0f]=this,_0x1f29cd[_0x37bb0f]=this,_0x220772[_0x37bb0f]=this,_0x40b6a7['on'](_0x5dbb83(0x275),_0x10cb17),_0x40b6a7['on']('drain',_0x502156),_0x40b6a7['on']('error',_0x1cad01),_0x40b6a7['on'](_0x5dbb83(0x13b),_0x522b0d),_0x40b6a7['on'](_0x5dbb83(0x270),_0x3c5210),_0x40b6a7['on'](_0x5dbb83(0x1c8),_0x5ac4cb),_0x1f29cd[_0x5dbb83(0x19a)]=_0xfc844a,_0x220772['setTimeout']&&_0x220772[_0x5dbb83(0x206)](0x0),_0x220772['setNoDelay']&&_0x220772[_0x5dbb83(0x23e)](),_0x3dd1eb[_0x5dbb83(0x186)]>0x0&&_0x220772[_0x5dbb83(0x2a3)](_0x3dd1eb),_0x220772['on'](_0x5dbb83(0x25e),_0x57ee02),_0x220772['on'](_0x5dbb83(0x273),_0x7cb2c7),_0x220772['on'](_0x5dbb83(0x1a6),_0x36bb0b),_0x220772['on'](_0x5dbb83(0x166),_0x115c18),this[_0x5dbb83(0x131)]=_0x220167[_0x5dbb83(0x146)],this[_0x5dbb83(0x2d4)](_0x5dbb83(0x262));}[_0x257b7d(0x1dd)](){const _0x22238f=_0x257b7d;if(!this[_0x22238f(0x138)]){this[_0x22238f(0x131)]=_0x220167[_0x22238f(0x2cb)],this['emit'](_0x22238f(0x25e),this[_0x22238f(0x27d)],this['_closeMessage']);return;}this['_extensions'][_0x162d62[_0x22238f(0x232)]]&&this[_0x22238f(0x2c4)][_0x162d62['extensionName']][_0x22238f(0x22f)](),this[_0x22238f(0x14c)][_0x22238f(0x1f0)](),this[_0x22238f(0x131)]=_0x220167[_0x22238f(0x2cb)],this[_0x22238f(0x2d4)]('close',this[_0x22238f(0x27d)],this[_0x22238f(0x22a)]);}[_0x257b7d(0x25e)](_0x42021b,_0x5b8c5a){const _0x8fb3e5=_0x257b7d;if(this['readyState']!==_0x220167['CLOSED']){if(this[_0x8fb3e5(0x211)]===_0x220167[_0x8fb3e5(0x241)]){_0x41de47(this,this[_0x8fb3e5(0x2a6)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}if(this[_0x8fb3e5(0x211)]===_0x220167['CLOSING']){this[_0x8fb3e5(0x226)]&&(this[_0x8fb3e5(0x21b)]||this[_0x8fb3e5(0x14c)]['_writableState'][_0x8fb3e5(0x229)])&&this[_0x8fb3e5(0x138)][_0x8fb3e5(0x1a6)]();return;}this[_0x8fb3e5(0x131)]=_0x220167[_0x8fb3e5(0x121)],this[_0x8fb3e5(0x161)]['close'](_0x42021b,_0x5b8c5a,!this[_0x8fb3e5(0x15e)],_0x13d4a5=>{const _0x12bd84=_0x8fb3e5;_0x13d4a5||(this[_0x12bd84(0x226)]=!0x0,(this['_closeFrameReceived']||this['_receiver']['_writableState'][_0x12bd84(0x229)])&&this[_0x12bd84(0x138)]['end']());}),_0x3528f6(this);}}['pause'](){const _0x3c920c=_0x257b7d;this[_0x3c920c(0x211)]===_0x220167[_0x3c920c(0x241)]||this[_0x3c920c(0x211)]===_0x220167[_0x3c920c(0x2cb)]||(this[_0x3c920c(0x13f)]=!0x0,this['_socket'][_0x3c920c(0x272)]());}['ping'](_0x9d63b7,_0x3260bc,_0x2212fb){const _0x39b269=_0x257b7d;if(this[_0x39b269(0x211)]===_0x220167['CONNECTING'])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x9d63b7==_0x39b269(0x16c)?(_0x2212fb=_0x9d63b7,_0x9d63b7=_0x3260bc=void 0x0):typeof _0x3260bc==_0x39b269(0x16c)&&(_0x2212fb=_0x3260bc,_0x3260bc=void 0x0),typeof _0x9d63b7==_0x39b269(0x18f)&&(_0x9d63b7=_0x9d63b7['toString']()),this['readyState']!==_0x220167[_0x39b269(0x146)]){_0x27fdef(this,_0x9d63b7,_0x2212fb);return;}_0x3260bc===void 0x0&&(_0x3260bc=!this[_0x39b269(0x15e)]),this['_sender'][_0x39b269(0x270)](_0x9d63b7||_0x40853f,_0x3260bc,_0x2212fb);}[_0x257b7d(0x1c8)](_0x502619,_0x152685,_0x3df5b6){const _0x26d03d=_0x257b7d;if(this[_0x26d03d(0x211)]===_0x220167[_0x26d03d(0x241)])throw new Error(_0x26d03d(0x1e2));if(typeof _0x502619==_0x26d03d(0x16c)?(_0x3df5b6=_0x502619,_0x502619=_0x152685=void 0x0):typeof _0x152685=='function'&&(_0x3df5b6=_0x152685,_0x152685=void 0x0),typeof _0x502619==_0x26d03d(0x18f)&&(_0x502619=_0x502619[_0x26d03d(0x2c5)]()),this[_0x26d03d(0x211)]!==_0x220167['OPEN']){_0x27fdef(this,_0x502619,_0x3df5b6);return;}_0x152685===void 0x0&&(_0x152685=!this[_0x26d03d(0x15e)]),this[_0x26d03d(0x161)][_0x26d03d(0x1c8)](_0x502619||_0x40853f,_0x152685,_0x3df5b6);}[_0x257b7d(0x260)](){const _0x10618d=_0x257b7d;this['readyState']===_0x220167[_0x10618d(0x241)]||this[_0x10618d(0x211)]===_0x220167['CLOSED']||(this['_paused']=!0x1,this[_0x10618d(0x14c)][_0x10618d(0x155)]['needDrain']||this[_0x10618d(0x138)][_0x10618d(0x260)]());}[_0x257b7d(0x2d5)](_0x33fe79,_0xdcd231,_0x37b880){const _0x2e5d92=_0x257b7d;if(this['readyState']===_0x220167[_0x2e5d92(0x241)])throw new Error(_0x2e5d92(0x1e2));if(typeof _0xdcd231==_0x2e5d92(0x16c)&&(_0x37b880=_0xdcd231,_0xdcd231={}),typeof _0x33fe79==_0x2e5d92(0x18f)&&(_0x33fe79=_0x33fe79[_0x2e5d92(0x2c5)]()),this[_0x2e5d92(0x211)]!==_0x220167[_0x2e5d92(0x146)]){_0x27fdef(this,_0x33fe79,_0x37b880);return;}const _0x4ba4e0={'binary':typeof _0x33fe79!=_0x2e5d92(0x23f),'mask':!this['_isServer'],'compress':!0x0,'fin':!0x0,..._0xdcd231};this[_0x2e5d92(0x2c4)][_0x162d62[_0x2e5d92(0x232)]]||(_0x4ba4e0[_0x2e5d92(0x208)]=!0x1),this[_0x2e5d92(0x161)]['send'](_0x33fe79||_0x40853f,_0x4ba4e0,_0x37b880);}[_0x257b7d(0x2a1)](){const _0x562d6c=_0x257b7d;if(this[_0x562d6c(0x211)]!==_0x220167[_0x562d6c(0x2cb)]){if(this['readyState']===_0x220167['CONNECTING']){_0x41de47(this,this[_0x562d6c(0x2a6)],_0x562d6c(0x188));return;}this[_0x562d6c(0x138)]&&(this[_0x562d6c(0x131)]=_0x220167[_0x562d6c(0x121)],this[_0x562d6c(0x138)][_0x562d6c(0x1a0)]());}}}Object[_0x257b7d(0x165)](_0x220167,_0x257b7d(0x241),{'enumerable':!0x0,'value':_0x4462f7[_0x257b7d(0x1ab)](_0x257b7d(0x241))}),Object[_0x257b7d(0x165)](_0x220167[_0x257b7d(0x13a)],'CONNECTING',{'enumerable':!0x0,'value':_0x4462f7[_0x257b7d(0x1ab)](_0x257b7d(0x241))}),Object[_0x257b7d(0x165)](_0x220167,_0x257b7d(0x146),{'enumerable':!0x0,'value':_0x4462f7['indexOf']('OPEN')}),Object['defineProperty'](_0x220167[_0x257b7d(0x13a)],_0x257b7d(0x146),{'enumerable':!0x0,'value':_0x4462f7[_0x257b7d(0x1ab)]('OPEN')}),Object['defineProperty'](_0x220167,_0x257b7d(0x121),{'enumerable':!0x0,'value':_0x4462f7['indexOf']('CLOSING')}),Object[_0x257b7d(0x165)](_0x220167[_0x257b7d(0x13a)],_0x257b7d(0x121),{'enumerable':!0x0,'value':_0x4462f7[_0x257b7d(0x1ab)]('CLOSING')}),Object[_0x257b7d(0x165)](_0x220167,_0x257b7d(0x2cb),{'enumerable':!0x0,'value':_0x4462f7[_0x257b7d(0x1ab)](_0x257b7d(0x2cb))}),Object[_0x257b7d(0x165)](_0x220167[_0x257b7d(0x13a)],_0x257b7d(0x2cb),{'enumerable':!0x0,'value':_0x4462f7['indexOf'](_0x257b7d(0x2cb))}),['binaryType',_0x257b7d(0x2ad),_0x257b7d(0x1e1),_0x257b7d(0x288),_0x257b7d(0x1c2),'readyState',_0x257b7d(0x184)][_0x257b7d(0x162)](_0x53448e=>{const _0x1cdcc4=_0x257b7d;Object[_0x1cdcc4(0x165)](_0x220167[_0x1cdcc4(0x13a)],_0x53448e,{'enumerable':!0x0});}),[_0x257b7d(0x262),_0x257b7d(0x166),_0x257b7d(0x25e),_0x257b7d(0x13b)][_0x257b7d(0x162)](_0x2d4c23=>{const _0x1df704=_0x257b7d;Object[_0x1df704(0x165)](_0x220167[_0x1df704(0x13a)],'on'+_0x2d4c23,{'enumerable':!0x0,'get'(){const _0xe76223=_0x1df704;for(const _0x5b6678 of this[_0xe76223(0x129)](_0x2d4c23))if(_0x5b6678[_0x3eb530])return _0x5b6678[_0x184306];return null;},'set'(_0x5bda18){const _0x1778ae=_0x1df704;for(const _0x1834c1 of this[_0x1778ae(0x129)](_0x2d4c23))if(_0x1834c1[_0x3eb530]){this[_0x1778ae(0x287)](_0x2d4c23,_0x1834c1);break;}typeof _0x5bda18=='function'&&this[_0x1778ae(0x249)](_0x2d4c23,_0x5bda18,{[_0x3eb530]:!0x0});}});}),_0x220167[_0x257b7d(0x13a)][_0x257b7d(0x249)]=_0x4451e5,_0x220167[_0x257b7d(0x13a)][_0x257b7d(0x295)]=_0x5920a9,we=_0x220167;function _0x12f251(_0x37610f,_0x19b14a,_0x3845a8,_0x58c1dc){const _0x4839f5=_0x257b7d,_0x28ce31={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0xe9c0e3[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x58c1dc,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x4839f5(0x1f7),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x37610f['_autoPong']=_0x28ce31[_0x4839f5(0x274)],!_0xe9c0e3[_0x4839f5(0x22b)](_0x28ce31['protocolVersion']))throw new RangeError(_0x4839f5(0x28d)+_0x28ce31[_0x4839f5(0x28b)]+_0x4839f5(0x1bd)+_0xe9c0e3[_0x4839f5(0x28f)](',\x20')+')');let _0x21303e;if(_0x19b14a instanceof _0x4260de)_0x21303e=_0x19b14a;else try{_0x21303e=new _0x4260de(_0x19b14a);}catch{throw new SyntaxError('Invalid\x20URL:\x20'+_0x19b14a);}_0x21303e[_0x4839f5(0x1c2)]===_0x4839f5(0x183)?_0x21303e[_0x4839f5(0x1c2)]=_0x4839f5(0x170):_0x21303e[_0x4839f5(0x1c2)]===_0x4839f5(0x1e4)&&(_0x21303e[_0x4839f5(0x1c2)]=_0x4839f5(0x27c)),_0x37610f[_0x4839f5(0x227)]=_0x21303e[_0x4839f5(0x207)];const _0x51524b=_0x21303e['protocol']===_0x4839f5(0x27c),_0xa206b5=_0x21303e[_0x4839f5(0x1c2)]==='ws+unix:';let _0x56e26a;if(_0x21303e[_0x4839f5(0x1c2)]!==_0x4839f5(0x170)&&!_0x51524b&&!_0xa206b5?_0x56e26a=_0x4839f5(0x257):_0xa206b5&&!_0x21303e['pathname']?_0x56e26a='The\x20URL\x27s\x20pathname\x20is\x20empty':_0x21303e[_0x4839f5(0x1c6)]&&(_0x56e26a=_0x4839f5(0x1f1)),_0x56e26a){const _0x4cff49=new SyntaxError(_0x56e26a);if(_0x37610f[_0x4839f5(0x238)]===0x0)throw _0x4cff49;_0x3a35f5(_0x37610f,_0x4cff49);return;}const _0x3a9efd=_0x51524b?0x1bb:0x50,_0x1c5d63=_0x3e7956(0x10)['toString'](_0x4839f5(0x13d)),_0x3a0de9=_0x51524b?_0x59465a[_0x4839f5(0x2c7)]:_0x34798b[_0x4839f5(0x2c7)],_0x24285e=new Set();let _0x4b0691;if(_0x28ce31['createConnection']=_0x28ce31[_0x4839f5(0x22e)]||(_0x51524b?_0x12aaa0:_0x46c161),_0x28ce31[_0x4839f5(0x11f)]=_0x28ce31[_0x4839f5(0x11f)]||_0x3a9efd,_0x28ce31['port']=_0x21303e[_0x4839f5(0x12b)]||_0x3a9efd,_0x28ce31[_0x4839f5(0x1de)]=_0x21303e[_0x4839f5(0x192)][_0x4839f5(0x1be)]('[')?_0x21303e[_0x4839f5(0x192)][_0x4839f5(0x196)](0x1,-0x1):_0x21303e['hostname'],_0x28ce31[_0x4839f5(0x29c)]={..._0x28ce31[_0x4839f5(0x29c)],'Sec-WebSocket-Version':_0x28ce31[_0x4839f5(0x28b)],'Sec-WebSocket-Key':_0x1c5d63,'Connection':'Upgrade','Upgrade':'websocket'},_0x28ce31[_0x4839f5(0x2a5)]=_0x21303e[_0x4839f5(0x1a3)]+_0x21303e[_0x4839f5(0x215)],_0x28ce31[_0x4839f5(0x139)]=_0x28ce31[_0x4839f5(0x15c)],_0x28ce31[_0x4839f5(0x242)]&&(_0x4b0691=new _0x162d62(_0x28ce31[_0x4839f5(0x242)]!==!0x0?_0x28ce31[_0x4839f5(0x242)]:{},!0x1,_0x28ce31[_0x4839f5(0x1cb)]),_0x28ce31[_0x4839f5(0x29c)][_0x4839f5(0x117)]=_0x1c4f26({[_0x162d62[_0x4839f5(0x232)]]:_0x4b0691['offer']()})),_0x3845a8['length']){for(const _0x124a71 of _0x3845a8){if(typeof _0x124a71!='string'||!_0x174fde['test'](_0x124a71)||_0x24285e[_0x4839f5(0x2c1)](_0x124a71))throw new SyntaxError(_0x4839f5(0x142));_0x24285e[_0x4839f5(0x1ff)](_0x124a71);}_0x28ce31[_0x4839f5(0x29c)]['Sec-WebSocket-Protocol']=_0x3845a8[_0x4839f5(0x28f)](',');}if(_0x28ce31[_0x4839f5(0x250)]&&(_0x28ce31[_0x4839f5(0x28b)]<0xd?_0x28ce31[_0x4839f5(0x29c)]['Sec-WebSocket-Origin']=_0x28ce31[_0x4839f5(0x250)]:_0x28ce31['headers'][_0x4839f5(0x1b5)]=_0x28ce31['origin']),(_0x21303e[_0x4839f5(0x1ec)]||_0x21303e[_0x4839f5(0x1ee)])&&(_0x28ce31[_0x4839f5(0x222)]=_0x21303e[_0x4839f5(0x1ec)]+':'+_0x21303e[_0x4839f5(0x1ee)]),_0xa206b5){const _0x2a581e=_0x28ce31['path'][_0x4839f5(0x27f)](':');_0x28ce31['socketPath']=_0x2a581e[0x0],_0x28ce31[_0x4839f5(0x2a5)]=_0x2a581e[0x1];}let _0x42a945;if(_0x28ce31['followRedirects']){if(_0x37610f[_0x4839f5(0x238)]===0x0){_0x37610f['_originalIpc']=_0xa206b5,_0x37610f['_originalSecure']=_0x51524b,_0x37610f['_originalHostOrSocketPath']=_0xa206b5?_0x28ce31[_0x4839f5(0x289)]:_0x21303e[_0x4839f5(0x1de)];const _0x2a704f=_0x58c1dc&&_0x58c1dc[_0x4839f5(0x29c)];if(_0x58c1dc={..._0x58c1dc,'headers':{}},_0x2a704f){for(const [_0x210c14,_0x4fb148]of Object[_0x4839f5(0x20e)](_0x2a704f))_0x58c1dc[_0x4839f5(0x29c)][_0x210c14[_0x4839f5(0x12c)]()]=_0x4fb148;}}else{if(_0x37610f[_0x4839f5(0x1c9)](_0x4839f5(0x182))===0x0){const _0x915593=_0xa206b5?_0x37610f[_0x4839f5(0x1ae)]?_0x28ce31[_0x4839f5(0x289)]===_0x37610f[_0x4839f5(0x137)]:!0x1:_0x37610f[_0x4839f5(0x1ae)]?!0x1:_0x21303e['host']===_0x37610f[_0x4839f5(0x137)];(!_0x915593||_0x37610f[_0x4839f5(0x27a)]&&!_0x51524b)&&(delete _0x28ce31[_0x4839f5(0x29c)][_0x4839f5(0x278)],delete _0x28ce31[_0x4839f5(0x29c)][_0x4839f5(0x210)],_0x915593||delete _0x28ce31[_0x4839f5(0x29c)][_0x4839f5(0x1de)],_0x28ce31[_0x4839f5(0x222)]=void 0x0);}}_0x28ce31[_0x4839f5(0x222)]&&!_0x58c1dc['headers'][_0x4839f5(0x278)]&&(_0x58c1dc[_0x4839f5(0x29c)][_0x4839f5(0x278)]=_0x4839f5(0x2c0)+Buffer[_0x4839f5(0x190)](_0x28ce31[_0x4839f5(0x222)])[_0x4839f5(0x2c5)](_0x4839f5(0x13d))),_0x42a945=_0x37610f['_req']=_0x3a0de9(_0x28ce31),_0x37610f[_0x4839f5(0x238)]&&_0x37610f['emit']('redirect',_0x37610f[_0x4839f5(0x184)],_0x42a945);}else _0x42a945=_0x37610f[_0x4839f5(0x2a6)]=_0x3a0de9(_0x28ce31);_0x28ce31[_0x4839f5(0x139)]&&_0x42a945['on']('timeout',()=>{_0x41de47(_0x37610f,_0x42a945,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x42a945['on'](_0x4839f5(0x166),_0x360e78=>{const _0x390891=_0x4839f5;_0x42a945===null||_0x42a945[_0x41781f]||(_0x42a945=_0x37610f[_0x390891(0x2a6)]=null,_0x3a35f5(_0x37610f,_0x360e78));}),_0x42a945['on']('response',_0x235bb3=>{const _0xd4cff6=_0x4839f5,_0x2f9b73=_0x235bb3['headers']['location'],_0x25714a=_0x235bb3[_0xd4cff6(0x2cd)];if(_0x2f9b73&&_0x28ce31['followRedirects']&&_0x25714a>=0x12c&&_0x25714a<0x190){if(++_0x37610f[_0xd4cff6(0x238)]>_0x28ce31[_0xd4cff6(0x145)]){_0x41de47(_0x37610f,_0x42a945,_0xd4cff6(0x1fb));return;}_0x42a945[_0xd4cff6(0x187)]();let _0x215043;try{_0x215043=new _0x4260de(_0x2f9b73,_0x19b14a);}catch{const _0x7e82bb=new SyntaxError(_0xd4cff6(0x217)+_0x2f9b73);_0x3a35f5(_0x37610f,_0x7e82bb);return;}_0x12f251(_0x37610f,_0x215043,_0x3845a8,_0x58c1dc);}else _0x37610f[_0xd4cff6(0x2d4)]('unexpected-response',_0x42a945,_0x235bb3)||_0x41de47(_0x37610f,_0x42a945,'Unexpected\x20server\x20response:\x20'+_0x235bb3['statusCode']);}),_0x42a945['on'](_0x4839f5(0x1d2),(_0x5620aa,_0x45977d,_0x44f09d)=>{const _0x4c422=_0x4839f5;if(_0x37610f[_0x4c422(0x2d4)]('upgrade',_0x5620aa),_0x37610f[_0x4c422(0x211)]!==_0x220167[_0x4c422(0x241)])return;_0x42a945=_0x37610f[_0x4c422(0x2a6)]=null;const _0xc85ed2=_0x5620aa['headers'][_0x4c422(0x1d2)];if(_0xc85ed2===void 0x0||_0xc85ed2[_0x4c422(0x12c)]()!==_0x4c422(0x283)){_0x41de47(_0x37610f,_0x45977d,_0x4c422(0x2cf));return;}const _0x5c6cbd=_0x4b3564(_0x4c422(0x2bc))[_0x4c422(0x2ab)](_0x1c5d63+_0xfabb07)['digest'](_0x4c422(0x13d));if(_0x5620aa[_0x4c422(0x29c)][_0x4c422(0x27b)]!==_0x5c6cbd){_0x41de47(_0x37610f,_0x45977d,_0x4c422(0x268));return;}const _0x4a7398=_0x5620aa[_0x4c422(0x29c)][_0x4c422(0x1fc)];let _0x178986;if(_0x4a7398!==void 0x0?_0x24285e['size']?_0x24285e[_0x4c422(0x2c1)](_0x4a7398)||(_0x178986=_0x4c422(0x17a)):_0x178986=_0x4c422(0x2d2):_0x24285e['size']&&(_0x178986=_0x4c422(0x1b2)),_0x178986){_0x41de47(_0x37610f,_0x45977d,_0x178986);return;}_0x4a7398&&(_0x37610f['_protocol']=_0x4a7398);const _0x222a04=_0x5620aa['headers'][_0x4c422(0x119)];if(_0x222a04!==void 0x0){if(!_0x4b0691){_0x41de47(_0x37610f,_0x45977d,_0x4c422(0x29a));return;}let _0x386e7c;try{_0x386e7c=_0x488cb6(_0x222a04);}catch{_0x41de47(_0x37610f,_0x45977d,_0x4c422(0x2a7));return;}const _0x49f56b=Object[_0x4c422(0x1b4)](_0x386e7c);if(_0x49f56b[_0x4c422(0x186)]!==0x1||_0x49f56b[0x0]!==_0x162d62['extensionName']){_0x41de47(_0x37610f,_0x45977d,_0x4c422(0x11b));return;}try{_0x4b0691[_0x4c422(0x19f)](_0x386e7c[_0x162d62[_0x4c422(0x232)]]);}catch{_0x41de47(_0x37610f,_0x45977d,_0x4c422(0x2a7));return;}_0x37610f[_0x4c422(0x2c4)][_0x162d62[_0x4c422(0x232)]]=_0x4b0691;}_0x37610f[_0x4c422(0x2ac)](_0x45977d,_0x44f09d,{'allowSynchronousEvents':_0x28ce31[_0x4c422(0x177)],'generateMask':_0x28ce31[_0x4c422(0x11d)],'maxPayload':_0x28ce31[_0x4c422(0x1cb)],'skipUTF8Validation':_0x28ce31[_0x4c422(0x1b6)]});}),_0x28ce31[_0x4839f5(0x282)]?_0x28ce31['finishRequest'](_0x42a945,_0x37610f):_0x42a945[_0x4839f5(0x1a6)]();}function _0x3a35f5(_0x576811,_0x3a650a){const _0x32be52=_0x257b7d;_0x576811[_0x32be52(0x131)]=_0x220167[_0x32be52(0x121)],_0x576811[_0x32be52(0x269)]=!0x0,_0x576811[_0x32be52(0x2d4)](_0x32be52(0x166),_0x3a650a),_0x576811[_0x32be52(0x1dd)]();}function _0x46c161(_0x2ea6c6){const _0xb6b97e=_0x257b7d;return _0x2ea6c6[_0xb6b97e(0x2a5)]=_0x2ea6c6[_0xb6b97e(0x289)],_0x43c3c9[_0xb6b97e(0x26d)](_0x2ea6c6);}function _0x12aaa0(_0x292a27){const _0x3ad1bf=_0x257b7d;return _0x292a27[_0x3ad1bf(0x2a5)]=void 0x0,!_0x292a27[_0x3ad1bf(0x23a)]&&_0x292a27[_0x3ad1bf(0x23a)]!==''&&(_0x292a27[_0x3ad1bf(0x23a)]=_0x43c3c9[_0x3ad1bf(0x1fd)](_0x292a27[_0x3ad1bf(0x1de)])?'':_0x292a27[_0x3ad1bf(0x1de)]),_0x3b8126[_0x3ad1bf(0x26d)](_0x292a27);}function _0x41de47(_0x2baf9f,_0x5aa103,_0xf2eaf5){const _0x53a672=_0x257b7d;_0x2baf9f[_0x53a672(0x131)]=_0x220167[_0x53a672(0x121)];const _0x4638e5=new Error(_0xf2eaf5);Error[_0x53a672(0x1bc)](_0x4638e5,_0x41de47),_0x5aa103[_0x53a672(0x233)]?(_0x5aa103[_0x41781f]=!0x0,_0x5aa103[_0x53a672(0x187)](),_0x5aa103[_0x53a672(0x1ac)]&&!_0x5aa103[_0x53a672(0x1ac)]['destroyed']&&_0x5aa103['socket'][_0x53a672(0x1a0)](),process['nextTick'](_0x3a35f5,_0x2baf9f,_0x4638e5)):(_0x5aa103[_0x53a672(0x1a0)](_0x4638e5),_0x5aa103['once'](_0x53a672(0x166),_0x2baf9f[_0x53a672(0x2d4)][_0x53a672(0x2b5)](_0x2baf9f,'error')),_0x5aa103[_0x53a672(0x29f)]('close',_0x2baf9f[_0x53a672(0x1dd)][_0x53a672(0x2b5)](_0x2baf9f)));}function _0x27fdef(_0x27024b,_0x3ba601,_0x1a9c4c){const _0x56d2cc=_0x257b7d;if(_0x3ba601){const _0x53ef5f=_0x2b3cc1(_0x3ba601)?_0x3ba601['size']:_0x12402c(_0x3ba601)['length'];_0x27024b[_0x56d2cc(0x138)]?_0x27024b[_0x56d2cc(0x161)][_0x56d2cc(0x168)]+=_0x53ef5f:_0x27024b[_0x56d2cc(0x1ea)]+=_0x53ef5f;}if(_0x1a9c4c){const _0x456601=new Error(_0x56d2cc(0x2ca)+_0x27024b[_0x56d2cc(0x211)]+'\x20('+_0x4462f7[_0x27024b[_0x56d2cc(0x211)]]+')');process[_0x56d2cc(0x271)](_0x1a9c4c,_0x456601);}}function _0x10cb17(_0x15e156,_0x531070){const _0x4ef579=_0x257b7d,_0x33e899=this[_0x37bb0f];_0x33e899[_0x4ef579(0x21b)]=!0x0,_0x33e899['_closeMessage']=_0x531070,_0x33e899['_closeCode']=_0x15e156,_0x33e899[_0x4ef579(0x138)][_0x37bb0f]!==void 0x0&&(_0x33e899[_0x4ef579(0x138)][_0x4ef579(0x287)]('data',_0x7cb2c7),process[_0x4ef579(0x271)](_0x4cfc8e,_0x33e899[_0x4ef579(0x138)]),_0x15e156===0x3ed?_0x33e899['close']():_0x33e899[_0x4ef579(0x25e)](_0x15e156,_0x531070));}function _0x502156(){const _0x2a3b3d=_0x257b7d,_0x11ca7b=this[_0x37bb0f];_0x11ca7b[_0x2a3b3d(0x288)]||_0x11ca7b[_0x2a3b3d(0x138)][_0x2a3b3d(0x260)]();}function _0x1cad01(_0x28d2c4){const _0x5528d4=_0x257b7d,_0x15ef05=this[_0x37bb0f];_0x15ef05[_0x5528d4(0x138)][_0x37bb0f]!==void 0x0&&(_0x15ef05[_0x5528d4(0x138)][_0x5528d4(0x287)](_0x5528d4(0x273),_0x7cb2c7),process[_0x5528d4(0x271)](_0x4cfc8e,_0x15ef05[_0x5528d4(0x138)]),_0x15ef05['close'](_0x28d2c4[_0x1d2462])),_0x15ef05['_errorEmitted']||(_0x15ef05['_errorEmitted']=!0x0,_0x15ef05[_0x5528d4(0x2d4)](_0x5528d4(0x166),_0x28d2c4));}function _0x72b63e(){this[_0x37bb0f]['emitClose']();}function _0x522b0d(_0x3c4fd1,_0x5744f5){const _0x324a52=_0x257b7d;this[_0x37bb0f][_0x324a52(0x2d4)](_0x324a52(0x13b),_0x3c4fd1,_0x5744f5);}function _0x3c5210(_0x390505){const _0x376d28=_0x257b7d,_0x326314=this[_0x37bb0f];_0x326314['_autoPong']&&_0x326314[_0x376d28(0x1c8)](_0x390505,!this[_0x376d28(0x15e)],_0x17d996),_0x326314[_0x376d28(0x2d4)](_0x376d28(0x270),_0x390505);}function _0x5ac4cb(_0x4fe2d){const _0x3c735e=_0x257b7d;this[_0x37bb0f][_0x3c735e(0x2d4)](_0x3c735e(0x1c8),_0x4fe2d);}function _0x4cfc8e(_0x3cd94d){const _0x234c74=_0x257b7d;_0x3cd94d[_0x234c74(0x260)]();}function _0xfc844a(_0x1954ec){const _0x301712=_0x257b7d,_0xe7eee5=this[_0x37bb0f];_0xe7eee5[_0x301712(0x211)]!==_0x220167[_0x301712(0x2cb)]&&(_0xe7eee5[_0x301712(0x211)]===_0x220167[_0x301712(0x146)]&&(_0xe7eee5['_readyState']=_0x220167[_0x301712(0x121)],_0x3528f6(_0xe7eee5)),this[_0x301712(0x138)][_0x301712(0x1a6)](),_0xe7eee5['_errorEmitted']||(_0xe7eee5[_0x301712(0x269)]=!0x0,_0xe7eee5[_0x301712(0x2d4)](_0x301712(0x166),_0x1954ec)));}function _0x3528f6(_0x18c4a6){const _0x33ca3e=_0x257b7d;_0x18c4a6[_0x33ca3e(0x239)]=setTimeout(_0x18c4a6[_0x33ca3e(0x138)][_0x33ca3e(0x1a0)]['bind'](_0x18c4a6[_0x33ca3e(0x138)]),_0x34e688);}function _0x57ee02(){const _0x1503d2=_0x257b7d,_0x39eefa=this[_0x37bb0f];this[_0x1503d2(0x287)]('close',_0x57ee02),this['removeListener'](_0x1503d2(0x273),_0x7cb2c7),this['removeListener'](_0x1503d2(0x1a6),_0x36bb0b),_0x39eefa[_0x1503d2(0x131)]=_0x220167[_0x1503d2(0x121)];let _0x2bee1c;!this['_readableState'][_0x1503d2(0x144)]&&!_0x39eefa[_0x1503d2(0x21b)]&&!_0x39eefa[_0x1503d2(0x14c)][_0x1503d2(0x155)]['errorEmitted']&&(_0x2bee1c=_0x39eefa[_0x1503d2(0x138)][_0x1503d2(0x24e)]())!==null&&_0x39eefa[_0x1503d2(0x14c)][_0x1503d2(0x2d6)](_0x2bee1c),_0x39eefa[_0x1503d2(0x14c)][_0x1503d2(0x1a6)](),this[_0x37bb0f]=void 0x0,clearTimeout(_0x39eefa[_0x1503d2(0x239)]),_0x39eefa[_0x1503d2(0x14c)][_0x1503d2(0x155)]['finished']||_0x39eefa[_0x1503d2(0x14c)][_0x1503d2(0x155)][_0x1503d2(0x229)]?_0x39eefa[_0x1503d2(0x1dd)]():(_0x39eefa[_0x1503d2(0x14c)]['on'](_0x1503d2(0x166),_0x72b63e),_0x39eefa[_0x1503d2(0x14c)]['on'](_0x1503d2(0x1d6),_0x72b63e));}function _0x7cb2c7(_0x95bc49){const _0x380c1d=_0x257b7d;this[_0x37bb0f][_0x380c1d(0x14c)][_0x380c1d(0x2d6)](_0x95bc49)||this[_0x380c1d(0x272)]();}function _0x36bb0b(){const _0x5695cd=_0x257b7d,_0xf00cdd=this[_0x37bb0f];_0xf00cdd[_0x5695cd(0x131)]=_0x220167['CLOSING'],_0xf00cdd[_0x5695cd(0x14c)][_0x5695cd(0x1a6)](),this[_0x5695cd(0x1a6)]();}function _0x115c18(){const _0x4f220b=_0x257b7d,_0x465935=this[_0x37bb0f];this[_0x4f220b(0x287)](_0x4f220b(0x166),_0x115c18),this['on'](_0x4f220b(0x166),_0x17d996),_0x465935&&(_0x465935[_0x4f220b(0x131)]=_0x220167[_0x4f220b(0x121)],this['destroy']());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0xa47288}=oe;function _0x186e49(_0x2cbf81){const _0x232762=_0x9083;_0x2cbf81[_0x232762(0x2d4)](_0x232762(0x25e));}function _0x1698b2(){const _0x3d6336=_0x9083;!this[_0x3d6336(0x13c)]&&this['_writableState'][_0x3d6336(0x1b7)]&&this[_0x3d6336(0x1a0)]();}function _0x57c18a(_0x341cf1){const _0x2a5ff5=_0x9083;this[_0x2a5ff5(0x287)](_0x2a5ff5(0x166),_0x57c18a),this['destroy'](),this[_0x2a5ff5(0x1c9)](_0x2a5ff5(0x166))===0x0&&this[_0x2a5ff5(0x2d4)]('error',_0x341cf1);}function _0x1e2eb3(_0x48111f,_0x55318c){const _0x9badc2=_0x9083;let _0x51a60f=!0x0;const _0x2c57a4=new _0xa47288({..._0x55318c,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x48111f['on']('message',function(_0x2f4902,_0x2e3b9e){const _0x1d46c6=_0x9083,_0x57a427=!_0x2e3b9e&&_0x2c57a4[_0x1d46c6(0x1e7)][_0x1d46c6(0x1c7)]?_0x2f4902[_0x1d46c6(0x2c5)]():_0x2f4902;_0x2c57a4[_0x1d46c6(0x111)](_0x57a427)||_0x48111f['pause']();}),_0x48111f['once'](_0x9badc2(0x166),function(_0x2bfdee){const _0x14b39a=_0x9badc2;_0x2c57a4[_0x14b39a(0x13c)]||(_0x51a60f=!0x1,_0x2c57a4['destroy'](_0x2bfdee));}),_0x48111f[_0x9badc2(0x29f)](_0x9badc2(0x25e),function(){const _0x559f20=_0x9badc2;_0x2c57a4['destroyed']||_0x2c57a4[_0x559f20(0x111)](null);}),_0x2c57a4[_0x9badc2(0x252)]=function(_0x36ec81,_0x5ca9c7){const _0x2f4a3a=_0x9badc2;if(_0x48111f[_0x2f4a3a(0x211)]===_0x48111f['CLOSED']){_0x5ca9c7(_0x36ec81),process[_0x2f4a3a(0x271)](_0x186e49,_0x2c57a4);return;}let _0x260f69=!0x1;_0x48111f[_0x2f4a3a(0x29f)](_0x2f4a3a(0x166),function(_0x19165e){_0x260f69=!0x0,_0x5ca9c7(_0x19165e);}),_0x48111f[_0x2f4a3a(0x29f)](_0x2f4a3a(0x25e),function(){const _0x5c8e4d=_0x2f4a3a;_0x260f69||_0x5ca9c7(_0x36ec81),process[_0x5c8e4d(0x271)](_0x186e49,_0x2c57a4);}),_0x51a60f&&_0x48111f[_0x2f4a3a(0x2a1)]();},_0x2c57a4[_0x9badc2(0x147)]=function(_0x426cb3){const _0xac091e=_0x9badc2;if(_0x48111f[_0xac091e(0x211)]===_0x48111f[_0xac091e(0x241)]){_0x48111f['once'](_0xac091e(0x262),function(){_0x2c57a4['_final'](_0x426cb3);});return;}_0x48111f[_0xac091e(0x138)]!==null&&(_0x48111f[_0xac091e(0x138)]['_writableState']['finished']?(_0x426cb3(),_0x2c57a4[_0xac091e(0x1e7)]['endEmitted']&&_0x2c57a4[_0xac091e(0x1a0)]()):(_0x48111f[_0xac091e(0x138)][_0xac091e(0x29f)]('finish',function(){_0x426cb3();}),_0x48111f['close']()));},_0x2c57a4['_read']=function(){const _0x3d8e30=_0x9badc2;_0x48111f[_0x3d8e30(0x288)]&&_0x48111f[_0x3d8e30(0x260)]();},_0x2c57a4[_0x9badc2(0x1a4)]=function(_0x4263fd,_0x2a35dc,_0x5354e4){const _0x1aa33b=_0x9badc2;if(_0x48111f['readyState']===_0x48111f[_0x1aa33b(0x241)]){_0x48111f[_0x1aa33b(0x29f)]('open',function(){const _0x2e0e5f=_0x1aa33b;_0x2c57a4[_0x2e0e5f(0x1a4)](_0x4263fd,_0x2a35dc,_0x5354e4);});return;}_0x48111f[_0x1aa33b(0x2d5)](_0x4263fd,_0x5354e4);},_0x2c57a4['on'](_0x9badc2(0x1a6),_0x1698b2),_0x2c57a4['on'](_0x9badc2(0x166),_0x57c18a),_0x2c57a4;}return Oe=_0x1e2eb3,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x137c8c}=ae();function _0x2b2d61(_0x16479f){const _0x300e3f=_0x9083,_0x3bf98d=new Set();let _0x569efb=-0x1,_0x61705a=-0x1,_0xe87a85=0x0;for(_0xe87a85;_0xe87a85<_0x16479f[_0x300e3f(0x186)];_0xe87a85++){const _0x58efd5=_0x16479f[_0x300e3f(0x203)](_0xe87a85);if(_0x61705a===-0x1&&_0x137c8c[_0x58efd5]===0x1)_0x569efb===-0x1&&(_0x569efb=_0xe87a85);else{if(_0xe87a85!==0x0&&(_0x58efd5===0x20||_0x58efd5===0x9))_0x61705a===-0x1&&_0x569efb!==-0x1&&(_0x61705a=_0xe87a85);else{if(_0x58efd5===0x2c){if(_0x569efb===-0x1)throw new SyntaxError(_0x300e3f(0x1ca)+_0xe87a85);_0x61705a===-0x1&&(_0x61705a=_0xe87a85);const _0x2f4f79=_0x16479f[_0x300e3f(0x196)](_0x569efb,_0x61705a);if(_0x3bf98d[_0x300e3f(0x2c1)](_0x2f4f79))throw new SyntaxError(_0x300e3f(0x265)+_0x2f4f79+_0x300e3f(0x160));_0x3bf98d[_0x300e3f(0x1ff)](_0x2f4f79),_0x569efb=_0x61705a=-0x1;}else throw new SyntaxError(_0x300e3f(0x1ca)+_0xe87a85);}}}if(_0x569efb===-0x1||_0x61705a!==-0x1)throw new SyntaxError(_0x300e3f(0x1aa));const _0x25114e=_0x16479f[_0x300e3f(0x196)](_0x569efb,_0xe87a85);if(_0x3bf98d['has'](_0x25114e))throw new SyntaxError(_0x300e3f(0x265)+_0x25114e+'\x22\x20subprotocol\x20is\x20duplicated');return _0x3bf98d[_0x300e3f(0x1ff)](_0x25114e),_0x3bf98d;}return Ce={'parse':_0x2b2d61},Ce;}var Te,rt;function Ft(){const _0x4f78ba=_0x538862;if(rt)return Te;rt=0x1;const _0x30c99d=nt,_0x2d3bba=ot,{Duplex:_0xbaecc0}=oe,{createHash:_0x3597c5}=Le,_0x41993a=ct(),_0x130a88=he(),_0x68d1b0=At(),_0x5eee33=Pe(),{GUID:_0x177bce,kWebSocket:_0x154ed2}=H(),_0x389b26=/^[+/0-9A-Za-z]{22}==$/,_0x11e8d1=0x0,_0x26a17c=0x1,_0x495de1=0x2;class _0x52e192 extends _0x30c99d{constructor(_0xd9929d,_0x1803c0){const _0x197a80=_0x9083;if(super(),_0xd9929d={'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':_0x5eee33,..._0xd9929d},_0xd9929d['port']==null&&!_0xd9929d['server']&&!_0xd9929d[_0x197a80(0x176)]||_0xd9929d[_0x197a80(0x12b)]!=null&&(_0xd9929d['server']||_0xd9929d['noServer'])||_0xd9929d[_0x197a80(0x1f2)]&&_0xd9929d[_0x197a80(0x176)])throw new TypeError(_0x197a80(0x157));if(_0xd9929d[_0x197a80(0x12b)]!=null?(this['_server']=_0x2d3bba[_0x197a80(0x23b)]((_0x13e64e,_0x1bebfc)=>{const _0x50558f=_0x197a80,_0x4324a8=_0x2d3bba[_0x50558f(0x181)][0x1aa];_0x1bebfc['writeHead'](0x1aa,{'Content-Length':_0x4324a8[_0x50558f(0x186)],'Content-Type':'text/plain'}),_0x1bebfc['end'](_0x4324a8);}),this[_0x197a80(0x173)][_0x197a80(0x24b)](_0xd9929d[_0x197a80(0x12b)],_0xd9929d[_0x197a80(0x1de)],_0xd9929d['backlog'],_0x1803c0)):_0xd9929d[_0x197a80(0x1f2)]&&(this['_server']=_0xd9929d[_0x197a80(0x1f2)]),this[_0x197a80(0x173)]){const _0x2e646c=this[_0x197a80(0x2d4)][_0x197a80(0x2b5)](this,_0x197a80(0x21a));this[_0x197a80(0x20c)]=_0x34bc8a(this[_0x197a80(0x173)],{'listening':this[_0x197a80(0x2d4)][_0x197a80(0x2b5)](this,_0x197a80(0x29e)),'error':this[_0x197a80(0x2d4)][_0x197a80(0x2b5)](this,'error'),'upgrade':(_0x2e7ac0,_0x49d212,_0x18fa66)=>{const _0x5e842f=_0x197a80;this[_0x5e842f(0x175)](_0x2e7ac0,_0x49d212,_0x18fa66,_0x2e646c);}});}_0xd9929d[_0x197a80(0x242)]===!0x0&&(_0xd9929d[_0x197a80(0x242)]={}),_0xd9929d['clientTracking']&&(this[_0x197a80(0x279)]=new Set(),this[_0x197a80(0x1c5)]=!0x1),this[_0x197a80(0x174)]=_0xd9929d,this[_0x197a80(0x2bd)]=_0x11e8d1;}[_0x4f78ba(0x240)](){const _0x3fa0f1=_0x4f78ba;if(this['options']['noServer'])throw new Error(_0x3fa0f1(0x21f));return this['_server']?this['_server'][_0x3fa0f1(0x240)]():null;}['close'](_0x31222f){const _0x567eb8=_0x4f78ba;if(this[_0x567eb8(0x2bd)]===_0x495de1){_0x31222f&&this[_0x567eb8(0x29f)]('close',()=>{_0x31222f(new Error('The\x20server\x20is\x20not\x20running'));}),process[_0x567eb8(0x271)](_0x367e59,this);return;}if(_0x31222f&&this[_0x567eb8(0x29f)]('close',_0x31222f),this[_0x567eb8(0x2bd)]!==_0x26a17c){if(this[_0x567eb8(0x2bd)]=_0x26a17c,this['options'][_0x567eb8(0x176)]||this[_0x567eb8(0x174)][_0x567eb8(0x1f2)])this[_0x567eb8(0x173)]&&(this[_0x567eb8(0x20c)](),this[_0x567eb8(0x20c)]=this[_0x567eb8(0x173)]=null),this[_0x567eb8(0x279)]?this[_0x567eb8(0x279)][_0x567eb8(0x152)]?this['_shouldEmitClose']=!0x0:process[_0x567eb8(0x271)](_0x367e59,this):process[_0x567eb8(0x271)](_0x367e59,this);else{const _0x120cd0=this[_0x567eb8(0x173)];this[_0x567eb8(0x20c)](),this[_0x567eb8(0x20c)]=this[_0x567eb8(0x173)]=null,_0x120cd0[_0x567eb8(0x25e)](()=>{_0x367e59(this);});}}}[_0x4f78ba(0x12d)](_0x174cd0){const _0x519cd4=_0x4f78ba;if(this[_0x519cd4(0x174)][_0x519cd4(0x2a5)]){const _0x14db05=_0x174cd0['url'][_0x519cd4(0x1ab)]('?');if((_0x14db05!==-0x1?_0x174cd0['url'][_0x519cd4(0x196)](0x0,_0x14db05):_0x174cd0[_0x519cd4(0x184)])!==this[_0x519cd4(0x174)][_0x519cd4(0x2a5)])return!0x1;}return!0x0;}[_0x4f78ba(0x175)](_0x2c1a7c,_0x4cfaa5,_0x24b3bf,_0x385b10){const _0x10d9f1=_0x4f78ba;_0x4cfaa5['on'](_0x10d9f1(0x166),_0x124566);const _0x7e56b4=_0x2c1a7c[_0x10d9f1(0x29c)]['sec-websocket-key'],_0x302a38=_0x2c1a7c[_0x10d9f1(0x29c)]['upgrade'],_0x524678=+_0x2c1a7c[_0x10d9f1(0x29c)][_0x10d9f1(0x24d)];if(_0x2c1a7c[_0x10d9f1(0x2b6)]!==_0x10d9f1(0x1f7)){_0x598b01(this,_0x2c1a7c,_0x4cfaa5,0x195,_0x10d9f1(0x17b));return;}if(_0x302a38===void 0x0||_0x302a38[_0x10d9f1(0x12c)]()!==_0x10d9f1(0x283)){_0x598b01(this,_0x2c1a7c,_0x4cfaa5,0x190,_0x10d9f1(0x2cf));return;}if(_0x7e56b4===void 0x0||!_0x389b26[_0x10d9f1(0x14e)](_0x7e56b4)){_0x598b01(this,_0x2c1a7c,_0x4cfaa5,0x190,_0x10d9f1(0x2c3));return;}if(_0x524678!==0xd&&_0x524678!==0x8){_0x598b01(this,_0x2c1a7c,_0x4cfaa5,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header',{'Sec-WebSocket-Version':_0x10d9f1(0x24f)});return;}if(!this[_0x10d9f1(0x12d)](_0x2c1a7c)){_0x1420c8(_0x4cfaa5,0x190);return;}const _0x4d4c19=_0x2c1a7c['headers'][_0x10d9f1(0x1fc)];let _0x29a27e=new Set();if(_0x4d4c19!==void 0x0)try{_0x29a27e=_0x68d1b0['parse'](_0x4d4c19);}catch{_0x598b01(this,_0x2c1a7c,_0x4cfaa5,0x190,_0x10d9f1(0x231));return;}const _0x4c907d=_0x2c1a7c[_0x10d9f1(0x29c)][_0x10d9f1(0x119)],_0x44aab1={};if(this[_0x10d9f1(0x174)][_0x10d9f1(0x242)]&&_0x4c907d!==void 0x0){const _0x4da3aa=new _0x130a88(this[_0x10d9f1(0x174)]['perMessageDeflate'],!0x0,this[_0x10d9f1(0x174)][_0x10d9f1(0x1cb)]);try{const _0x46f972=_0x41993a[_0x10d9f1(0x16f)](_0x4c907d);_0x46f972[_0x130a88['extensionName']]&&(_0x4da3aa[_0x10d9f1(0x19f)](_0x46f972[_0x130a88[_0x10d9f1(0x232)]]),_0x44aab1[_0x130a88[_0x10d9f1(0x232)]]=_0x4da3aa);}catch{_0x598b01(this,_0x2c1a7c,_0x4cfaa5,0x190,_0x10d9f1(0x290));return;}}if(this['options']['verifyClient']){const _0x2eeadd={'origin':_0x2c1a7c[_0x10d9f1(0x29c)][''+(_0x524678===0x8?_0x10d9f1(0x151):_0x10d9f1(0x250))],'secure':!!(_0x2c1a7c[_0x10d9f1(0x1ac)][_0x10d9f1(0x1e9)]||_0x2c1a7c[_0x10d9f1(0x1ac)][_0x10d9f1(0x1b0)]),'req':_0x2c1a7c};if(this[_0x10d9f1(0x174)]['verifyClient'][_0x10d9f1(0x186)]===0x2){this[_0x10d9f1(0x174)][_0x10d9f1(0x2ce)](_0x2eeadd,(_0x4cae7c,_0x196739,_0xe8fe82,_0x51c5f5)=>{const _0x5bda5a=_0x10d9f1;if(!_0x4cae7c)return _0x1420c8(_0x4cfaa5,_0x196739||0x191,_0xe8fe82,_0x51c5f5);this[_0x5bda5a(0x212)](_0x44aab1,_0x7e56b4,_0x29a27e,_0x2c1a7c,_0x4cfaa5,_0x24b3bf,_0x385b10);});return;}if(!this[_0x10d9f1(0x174)][_0x10d9f1(0x2ce)](_0x2eeadd))return _0x1420c8(_0x4cfaa5,0x191);}this[_0x10d9f1(0x212)](_0x44aab1,_0x7e56b4,_0x29a27e,_0x2c1a7c,_0x4cfaa5,_0x24b3bf,_0x385b10);}[_0x4f78ba(0x212)](_0x48e33d,_0x1246e4,_0x59cf4f,_0x5e7e52,_0x37a244,_0x3d82ca,_0x5e3053){const _0x31ceab=_0x4f78ba;if(!_0x37a244[_0x31ceab(0x1f9)]||!_0x37a244[_0x31ceab(0x185)])return _0x37a244[_0x31ceab(0x1a0)]();if(_0x37a244[_0x154ed2])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this['_state']>_0x11e8d1)return _0x1420c8(_0x37a244,0x1f7);const _0x445351=[_0x31ceab(0x16b),_0x31ceab(0x2bf),_0x31ceab(0x2b4),_0x31ceab(0x234)+_0x3597c5('sha1')[_0x31ceab(0x2ab)](_0x1246e4+_0x177bce)[_0x31ceab(0x123)](_0x31ceab(0x13d))],_0x501fed=new this[(_0x31ceab(0x174))]['WebSocket'](null,void 0x0,this[_0x31ceab(0x174)]);if(_0x59cf4f[_0x31ceab(0x152)]){const _0x361172=this[_0x31ceab(0x174)][_0x31ceab(0x141)]?this[_0x31ceab(0x174)][_0x31ceab(0x141)](_0x59cf4f,_0x5e7e52):_0x59cf4f[_0x31ceab(0x2b7)]()[_0x31ceab(0x261)]()[_0x31ceab(0x21d)];_0x361172&&(_0x445351[_0x31ceab(0x111)](_0x31ceab(0x2aa)+_0x361172),_0x501fed[_0x31ceab(0x156)]=_0x361172);}if(_0x48e33d[_0x130a88[_0x31ceab(0x232)]]){const _0x1996f2=_0x48e33d[_0x130a88['extensionName']]['params'],_0x439a73=_0x41993a[_0x31ceab(0x2b8)]({[_0x130a88[_0x31ceab(0x232)]]:[_0x1996f2]});_0x445351[_0x31ceab(0x111)](_0x31ceab(0x1d3)+_0x439a73),_0x501fed[_0x31ceab(0x2c4)]=_0x48e33d;}this[_0x31ceab(0x2d4)](_0x31ceab(0x29c),_0x445351,_0x5e7e52),_0x37a244['write'](_0x445351[_0x31ceab(0x297)]('\x0d\x0a')[_0x31ceab(0x28f)]('\x0d\x0a')),_0x37a244[_0x31ceab(0x287)](_0x31ceab(0x166),_0x124566),_0x501fed[_0x31ceab(0x2ac)](_0x37a244,_0x3d82ca,{'allowSynchronousEvents':this[_0x31ceab(0x174)][_0x31ceab(0x177)],'maxPayload':this[_0x31ceab(0x174)]['maxPayload'],'skipUTF8Validation':this[_0x31ceab(0x174)]['skipUTF8Validation']}),this[_0x31ceab(0x279)]&&(this['clients'][_0x31ceab(0x1ff)](_0x501fed),_0x501fed['on'](_0x31ceab(0x25e),()=>{const _0x55928a=_0x31ceab;this['clients'][_0x55928a(0x220)](_0x501fed),this[_0x55928a(0x1c5)]&&!this[_0x55928a(0x279)][_0x55928a(0x152)]&&process[_0x55928a(0x271)](_0x367e59,this);})),_0x5e3053(_0x501fed,_0x5e7e52);}}Te=_0x52e192;function _0x34bc8a(_0x52aa38,_0x1bafe8){const _0x4749c8=_0x4f78ba;for(const _0x516a99 of Object[_0x4749c8(0x1b4)](_0x1bafe8))_0x52aa38['on'](_0x516a99,_0x1bafe8[_0x516a99]);return function(){const _0xca63e8=_0x4749c8;for(const _0x59cdcf of Object[_0xca63e8(0x1b4)](_0x1bafe8))_0x52aa38[_0xca63e8(0x287)](_0x59cdcf,_0x1bafe8[_0x59cdcf]);};}function _0x367e59(_0x36acfc){const _0x86b492=_0x4f78ba;_0x36acfc[_0x86b492(0x2bd)]=_0x495de1,_0x36acfc[_0x86b492(0x2d4)](_0x86b492(0x25e));}function _0x124566(){const _0x3eb10d=_0x4f78ba;this[_0x3eb10d(0x1a0)]();}function _0x1420c8(_0x4e93d3,_0x27f004,_0x59f337,_0x1fd989){const _0x4758a2=_0x4f78ba;_0x59f337=_0x59f337||_0x2d3bba[_0x4758a2(0x181)][_0x27f004],_0x1fd989={'Connection':_0x4758a2(0x25e),'Content-Type':_0x4758a2(0x114),'Content-Length':Buffer[_0x4758a2(0x266)](_0x59f337),..._0x1fd989},_0x4e93d3[_0x4758a2(0x29f)](_0x4758a2(0x1d6),_0x4e93d3[_0x4758a2(0x1a0)]),_0x4e93d3[_0x4758a2(0x1a6)](_0x4758a2(0x2a0)+_0x27f004+'\x20'+_0x2d3bba[_0x4758a2(0x181)][_0x27f004]+'\x0d\x0a'+Object['keys'](_0x1fd989)[_0x4758a2(0x20a)](_0x8723a7=>_0x8723a7+':\x20'+_0x1fd989[_0x8723a7])[_0x4758a2(0x28f)]('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0x59f337);}function _0x598b01(_0x4b3eca,_0x57521b,_0x46b05a,_0x5160fe,_0x399e91,_0x2066fb){const _0x4035f1=_0x4f78ba;if(_0x4b3eca[_0x4035f1(0x1c9)](_0x4035f1(0x133))){const _0x276164=new Error(_0x399e91);Error[_0x4035f1(0x1bc)](_0x276164,_0x598b01),_0x4b3eca[_0x4035f1(0x2d4)](_0x4035f1(0x133),_0x276164,_0x46b05a,_0x57521b);}else _0x1420c8(_0x46b05a,_0x5160fe,_0x399e91,_0x2066fb);}return Te;}Ft();var jt=Object[_0x538862(0x202)],Wt=(_0x4afc29,_0x33b92e,_0x57f427,_0x598a7a)=>{const _0x7b4489=_0x538862;for(var _0x21ae80=_0x598a7a>0x1?void 0x0:_0x598a7a?jt(_0x33b92e,_0x57f427):_0x33b92e,_0x59c865=_0x4afc29[_0x7b4489(0x186)]-0x1,_0x3deed9;_0x59c865>=0x0;_0x59c865--)(_0x3deed9=_0x4afc29[_0x59c865])&&(_0x21ae80=_0x3deed9(_0x21ae80)||_0x21ae80);return _0x21ae80;},qt=(_0x113e3c,_0x1f710f)=>(_0x5bb8c1,_0x146e97)=>_0x1f710f(_0x5bb8c1,_0x146e97,_0x113e3c);let ke=class extends A[_0x538862(0x2c6)]{constructor(_0x219542){const _0x461ebf=_0x538862;super(),this[_0x461ebf(0x1d7)]=_0x219542;}[_0x538862(0x1b1)](_0x598dd8){const _0x4573f1=_0x538862;var _0x58a276;const _0x2f8558=(_0x58a276=this[_0x4573f1(0x1d7)]['getConfig'](fe))==null?void 0x0:_0x58a276[_0x4573f1(0x2be)];try{const _0x403cc1=new $t(_0x598dd8,{'headers':{..._0x2f8558}}),_0xad1a03=new A[(_0x4573f1(0x1c4))]();return{'URL':_0x598dd8,'close':(_0x5950ad,_0x354818)=>{_0x403cc1['close'](_0x5950ad,_0x354818),_0xad1a03['dispose']();},'send':_0x48f428=>{const _0x73e7b4=_0x4573f1;_0x403cc1[_0x73e7b4(0x2d5)](_0x48f428);},'open$':new V[(_0x4573f1(0x292))](_0x483b80=>{const _0x3002e9=_0x4573f1,_0x356466=_0x9664f3=>_0x483b80[_0x3002e9(0x261)](_0x9664f3);_0x403cc1[_0x3002e9(0x249)](_0x3002e9(0x262),_0x356466),_0xad1a03[_0x3002e9(0x1ff)](A['toDisposable'](()=>_0x403cc1[_0x3002e9(0x295)](_0x3002e9(0x262),_0x356466)));})[_0x4573f1(0x286)](V[_0x4573f1(0x299)]()),'close$':new V[(_0x4573f1(0x292))](_0x16a8dc=>{const _0x58d74f=_0x4573f1,_0x32a7bc=_0x188047=>_0x16a8dc[_0x58d74f(0x261)](_0x188047);_0x403cc1[_0x58d74f(0x249)](_0x58d74f(0x25e),_0x32a7bc),_0xad1a03[_0x58d74f(0x1ff)](A[_0x58d74f(0x1a1)](()=>_0x403cc1[_0x58d74f(0x295)](_0x58d74f(0x25e),_0x32a7bc)));})[_0x4573f1(0x286)](V['share']()),'error$':new V[(_0x4573f1(0x292))](_0xdf25cd=>{const _0x426870=_0x4573f1,_0x133f1f=_0x2849ca=>_0xdf25cd[_0x426870(0x261)](_0x2849ca);_0x403cc1[_0x426870(0x249)](_0x426870(0x166),_0x133f1f),_0xad1a03['add'](A[_0x426870(0x1a1)](()=>_0x403cc1[_0x426870(0x295)]('error',_0x133f1f)));})[_0x4573f1(0x286)](V[_0x4573f1(0x299)]()),'message$':new V['Observable'](_0x49d01f=>{const _0x4228d4=_0x4573f1,_0x226995=_0x3c3ce9=>_0x49d01f[_0x4228d4(0x261)](_0x3c3ce9);_0x403cc1['addEventListener'](_0x4228d4(0x13b),_0x226995),_0xad1a03[_0x4228d4(0x1ff)](A['toDisposable'](()=>_0x403cc1[_0x4228d4(0x295)]('message',_0x226995)));})[_0x4573f1(0x286)](V[_0x4573f1(0x299)]())};}catch(_0x42f378){return console[_0x4573f1(0x166)](_0x42f378),null;}}};ke=Wt([qt(0x0,A[_0x538862(0x219)])],ke);function _0x9083(_0x34d263,_0x42350c){const _0x907d1b=_0x907d();return _0x9083=function(_0x9083ca,_0x2a907a){_0x9083ca=_0x9083ca-0x111;let _0x1c8e1b=_0x907d1b[_0x9083ca];return _0x1c8e1b;},_0x9083(_0x34d263,_0x42350c);}var Gt=Object[_0x538862(0x165)],Vt=Object['getOwnPropertyDescriptor'],Ht=(_0x4147a1,_0x310781,_0x11b12d)=>_0x310781 in _0x4147a1?Gt(_0x4147a1,_0x310781,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x11b12d}):_0x4147a1[_0x310781]=_0x11b12d,zt=(_0x4eee0a,_0x28dab4,_0x40b3ab,_0x5f54eb)=>{const _0xbf60c=_0x538862;for(var _0x19354d=_0x5f54eb>0x1?void 0x0:_0x5f54eb?Vt(_0x28dab4,_0x40b3ab):_0x28dab4,_0x16fd1f=_0x4eee0a[_0xbf60c(0x186)]-0x1,_0x14e6dc;_0x16fd1f>=0x0;_0x16fd1f--)(_0x14e6dc=_0x4eee0a[_0x16fd1f])&&(_0x19354d=_0x14e6dc(_0x19354d)||_0x19354d);return _0x19354d;},Ne=(_0x3816b8,_0x37e2e2)=>(_0x24e05e,_0x383522)=>_0x37e2e2(_0x24e05e,_0x383522,_0x3816b8),Yt=(_0x106625,_0x5c87bc,_0x3090aa)=>Ht(_0x106625,_0x5c87bc+'',_0x3090aa);exports['UniverCollaborationClientNodePlugin']=class extends A[_0x538862(0x134)]{constructor(_0x3ada61=Ct,_0x29b464,_0x2961ea,_0x373d65){const _0x3eebfe=_0x538862;_0x3ada61[_0x3eebfe(0x2be)]||_0x29b464[_0x3eebfe(0x1df)](_0x3eebfe(0x26f)),super(),this[_0x3eebfe(0x1d7)]=_0x2961ea,this[_0x3eebfe(0x136)]=_0x373d65,this[_0x3eebfe(0x1d7)]['setConfig'](fe,_0x3ada61);}[_0x538862(0x2d1)](){const _0x3198c8=_0x538862;this[_0x3198c8(0x1ba)]();}[_0x538862(0x1ba)](){const _0x436648=_0x538862;A[_0x436648(0x164)](this[_0x436648(0x136)],[[it[_0x436648(0x204)],{'useClass':ke}]]);}},Yt(exports[_0x538862(0x267)],_0x538862(0x1cd),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),exports[_0x538862(0x267)]=zt([A['DependentOn'](st['UniverCollaborationClientPlugin']),Ne(0x1,A[_0x538862(0x1a9)]),Ne(0x2,A[_0x538862(0x219)]),Ne(0x3,A[_0x538862(0x235)](A['Injector']))],exports[_0x538862(0x267)]);var Kt=Object[_0x538862(0x202)],Xt=(_0x647d47,_0x41b17f,_0x12c991,_0x3866b7)=>{const _0xf8faa7=_0x538862;for(var _0x4dc323=_0x3866b7>0x1?void 0x0:_0x3866b7?Kt(_0x41b17f,_0x12c991):_0x41b17f,_0x1c8839=_0x647d47[_0xf8faa7(0x186)]-0x1,_0x532456;_0x1c8839>=0x0;_0x1c8839--)(_0x532456=_0x647d47[_0x1c8839])&&(_0x4dc323=_0x532456(_0x4dc323)||_0x4dc323);return _0x4dc323;},ne=(_0x2a539b,_0x3bcdc3)=>(_0x2fcaae,_0x1284df)=>_0x3bcdc3(_0x2fcaae,_0x1284df,_0x2a539b);exports[_0x538862(0x218)]=class extends st[_0x538862(0x209)]{constructor(_0x2c5659,_0x506937,_0x45166d,_0x22c0bb,_0x14e455){const _0x3d2d99=_0x538862;super(_0x2c5659,_0x506937,_0x45166d,_0x22c0bb,_0x14e455);const _0xa2ba66=this[_0x3d2d99(0x1d7)][_0x3d2d99(0x1d9)](fe);this[_0x3d2d99(0x18a)][_0x3d2d99(0x14d)]({'interceptor':(_0x4f2261,_0x35be7e)=>{const _0x1db908=_0x3d2d99;var _0x194b9c;const _0x4253f9=_0x4f2261[_0x1db908(0x29c)];return(_0x194b9c=_0xa2ba66==null?void 0x0:_0xa2ba66[_0x1db908(0x2be)])!=null&&_0x194b9c[_0x1db908(0x210)]&&_0x4253f9['set'](_0x1db908(0x26c),_0xa2ba66['customHeaders'][_0x1db908(0x210)]),_0x35be7e(_0x4f2261);}});}async[_0x538862(0x1b1)](_0x4e7e38){return this['_doCreateSocket'](_0x4e7e38);}},exports[_0x538862(0x218)]=Xt([ne(0x0,A[_0x538862(0x235)](A[_0x538862(0x1db)])),ne(0x1,A[_0x538862(0x235)](it[_0x538862(0x25a)])),ne(0x2,A[_0x538862(0x219)]),ne(0x3,A[_0x538862(0x1a9)]),ne(0x4,Ot['ISnapshotServerService'])],exports[_0x538862(0x218)]),exports[_0x538862(0x2a8)]=fe;
|
|
1
|
+
'use strict';const _0x56ab5b=_0x9265;(function(_0x1c552f,_0xae387c){const _0x29302b=_0x9265,_0x306e5e=_0x1c552f();while(!![]){try{const _0x2e513a=parseInt(_0x29302b(0x2b5))/0x1*(-parseInt(_0x29302b(0x24e))/0x2)+-parseInt(_0x29302b(0x1fc))/0x3+parseInt(_0x29302b(0x199))/0x4*(-parseInt(_0x29302b(0x20f))/0x5)+parseInt(_0x29302b(0x2c7))/0x6+-parseInt(_0x29302b(0x26b))/0x7*(parseInt(_0x29302b(0x1ea))/0x8)+-parseInt(_0x29302b(0x285))/0x9*(-parseInt(_0x29302b(0x252))/0xa)+parseInt(_0x29302b(0x1d9))/0xb;if(_0x2e513a===_0xae387c)break;else _0x306e5e['push'](_0x306e5e['shift']());}catch(_0x357524){_0x306e5e['push'](_0x306e5e['shift']());}}}(_0x5637,0x9361e));Object[_0x56ab5b(0x209)](exports,Symbol['toStringTag'],{'value':_0x56ab5b(0x20b)});const st=require('@univerjs-pro/collaboration-client'),A=require('@univerjs/core'),it=require('@univerjs/network'),V=require('rxjs'),nt=require('events'),vt=require('https'),ot=require('http'),St=require('net'),Et=require('tls'),Le=require('crypto'),oe=require('stream'),xt=require('url'),bt=require('zlib'),wt=require('buffer'),Ot=require('@univerjs-pro/collaboration'),fe=_0x56ab5b(0x1cc),Ct={'customHeaders':{}};function Tt(_0x42ff84){const _0x40b8dc=_0x56ab5b;return _0x42ff84&&_0x42ff84[_0x40b8dc(0x16f)]&&Object[_0x40b8dc(0x167)][_0x40b8dc(0x131)][_0x40b8dc(0x2e8)](_0x42ff84,'default')?_0x42ff84[_0x40b8dc(0x12e)]:_0x42ff84;}function at(_0x3c5c97){const _0x35be44=_0x56ab5b;if(Object['prototype'][_0x35be44(0x131)][_0x35be44(0x2e8)](_0x3c5c97,_0x35be44(0x16f)))return _0x3c5c97;var _0x50548d=_0x3c5c97[_0x35be44(0x12e)];if(typeof _0x50548d=='function'){var _0x4e7426=function _0x54cd05(){const _0x196f43=_0x35be44;var _0x31a355=!0x1;try{_0x31a355=this instanceof _0x54cd05;}catch{}return _0x31a355?Reflect[_0x196f43(0x244)](_0x50548d,arguments,this['constructor']):_0x50548d[_0x196f43(0x258)](this,arguments);};_0x4e7426[_0x35be44(0x167)]=_0x50548d[_0x35be44(0x167)];}else _0x4e7426={};return Object[_0x35be44(0x209)](_0x4e7426,_0x35be44(0x16f),{'value':!0x0}),Object[_0x35be44(0x164)](_0x3c5c97)[_0x35be44(0x2ad)](function(_0x76d224){const _0x179f75=_0x35be44;var _0x1cea52=Object[_0x179f75(0x1af)](_0x3c5c97,_0x76d224);Object[_0x179f75(0x209)](_0x4e7426,_0x76d224,_0x1cea52[_0x179f75(0x1ff)]?_0x1cea52:{'enumerable':!0x0,'get':function(){return _0x3c5c97[_0x76d224];}});}),_0x4e7426;}var se={'exports':{}},ge,Ge;function H(){const _0x49b3e2=_0x56ab5b;if(Ge)return ge;Ge=0x1;const _0x4209ff=['nodebuffer',_0x49b3e2(0x168),'fragments'],_0x5cdae3=typeof Blob<'u';return _0x5cdae3&&_0x4209ff[_0x49b3e2(0x2e1)](_0x49b3e2(0x240)),ge={'BINARY_TYPES':_0x4209ff,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':_0x49b3e2(0x233),'hasBlob':_0x5cdae3,'kForOnEventAttribute':Symbol(_0x49b3e2(0x26a)),'kListener':Symbol(_0x49b3e2(0x161)),'kStatusCode':Symbol(_0x49b3e2(0x17f)),'kWebSocket':Symbol(_0x49b3e2(0x2e4)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x56ab5b(0x2c9)](Object[_0x56ab5b(0x209)]({'__proto__':null,'default':Nt},Symbol[_0x56ab5b(0x1b8)],{'value':_0x56ab5b(0x20b)})),Lt=at(kt);var Ve;function ce(){const _0x18c1fc=_0x56ab5b;if(Ve)return se['exports'];Ve=0x1;const {EMPTY_BUFFER:_0x4343bb}=H(),_0x574a1f=Buffer[Symbol[_0x18c1fc(0x268)]];function _0x56b3e6(_0x535dd2,_0x3751ee){const _0x4cd118=_0x18c1fc;if(_0x535dd2[_0x4cd118(0x12b)]===0x0)return _0x4343bb;if(_0x535dd2[_0x4cd118(0x12b)]===0x1)return _0x535dd2[0x0];const _0x191853=Buffer['allocUnsafe'](_0x3751ee);let _0x579184=0x0;for(let _0x5c87fc=0x0;_0x5c87fc<_0x535dd2[_0x4cd118(0x12b)];_0x5c87fc++){const _0x5cbb97=_0x535dd2[_0x5c87fc];_0x191853[_0x4cd118(0x1bf)](_0x5cbb97,_0x579184),_0x579184+=_0x5cbb97[_0x4cd118(0x12b)];}return _0x579184<_0x3751ee?new _0x574a1f(_0x191853[_0x4cd118(0x166)],_0x191853[_0x4cd118(0x1b1)],_0x579184):_0x191853;}function _0x29f89d(_0x223c13,_0x24bee6,_0xc0fd96,_0x37d308,_0x5bf8d6){for(let _0x2d6c97=0x0;_0x2d6c97<_0x5bf8d6;_0x2d6c97++)_0xc0fd96[_0x37d308+_0x2d6c97]=_0x223c13[_0x2d6c97]^_0x24bee6[_0x2d6c97&0x3];}function _0x47c8b9(_0x12882f,_0x2e3165){const _0x38d664=_0x18c1fc;for(let _0xb2a1cc=0x0;_0xb2a1cc<_0x12882f[_0x38d664(0x12b)];_0xb2a1cc++)_0x12882f[_0xb2a1cc]^=_0x2e3165[_0xb2a1cc&0x3];}function _0xf6f68c(_0x58e2c1){const _0x59a5b2=_0x18c1fc;return _0x58e2c1['length']===_0x58e2c1[_0x59a5b2(0x166)][_0x59a5b2(0x2d6)]?_0x58e2c1[_0x59a5b2(0x166)]:_0x58e2c1['buffer'][_0x59a5b2(0x215)](_0x58e2c1[_0x59a5b2(0x1b1)],_0x58e2c1[_0x59a5b2(0x1b1)]+_0x58e2c1[_0x59a5b2(0x12b)]);}function _0x1c2877(_0x1ef7e1){const _0x1d2543=_0x18c1fc;if(_0x1c2877[_0x1d2543(0x191)]=!0x0,Buffer[_0x1d2543(0x250)](_0x1ef7e1))return _0x1ef7e1;let _0x3e5f84;return _0x1ef7e1 instanceof ArrayBuffer?_0x3e5f84=new _0x574a1f(_0x1ef7e1):ArrayBuffer[_0x1d2543(0x25b)](_0x1ef7e1)?_0x3e5f84=new _0x574a1f(_0x1ef7e1['buffer'],_0x1ef7e1['byteOffset'],_0x1ef7e1[_0x1d2543(0x2d6)]):(_0x3e5f84=Buffer['from'](_0x1ef7e1),_0x1c2877['readOnly']=!0x1),_0x3e5f84;}if(se['exports']={'concat':_0x56b3e6,'mask':_0x29f89d,'toArrayBuffer':_0xf6f68c,'toBuffer':_0x1c2877,'unmask':_0x47c8b9},!process[_0x18c1fc(0x28f)]['WS_NO_BUFFER_UTIL'])try{const _0x48d407=Lt;se[_0x18c1fc(0x257)]['mask']=function(_0x52d39c,_0x621dd,_0x3af838,_0x307a04,_0x14750e){const _0x12051c=_0x18c1fc;_0x14750e<0x30?_0x29f89d(_0x52d39c,_0x621dd,_0x3af838,_0x307a04,_0x14750e):_0x48d407[_0x12051c(0x1fb)](_0x52d39c,_0x621dd,_0x3af838,_0x307a04,_0x14750e);},se['exports']['unmask']=function(_0x325065,_0x2f9164){const _0x442b8c=_0x18c1fc;_0x325065[_0x442b8c(0x12b)]<0x20?_0x47c8b9(_0x325065,_0x2f9164):_0x48d407[_0x442b8c(0x25c)](_0x325065,_0x2f9164);};}catch{}return se['exports'];}var ye,He;function Pt(){const _0x2b7698=_0x56ab5b;if(He)return ye;He=0x1;const _0xc96d16=Symbol(_0x2b7698(0x253)),_0x64d702=Symbol(_0x2b7698(0x23c));class _0x184855{constructor(_0x3e20f0){const _0x10ab55=_0x2b7698;this[_0xc96d16]=()=>{const _0x58ade8=_0x9265;this[_0x58ade8(0x2b4)]--,this[_0x64d702]();},this['concurrency']=_0x3e20f0||0x1/0x0,this['jobs']=[],this[_0x10ab55(0x2b4)]=0x0;}['add'](_0x1c5035){const _0x3576db=_0x2b7698;this[_0x3576db(0x21a)]['push'](_0x1c5035),this[_0x64d702]();}[_0x64d702](){const _0x2967e0=_0x2b7698;if(this[_0x2967e0(0x2b4)]!==this[_0x2967e0(0x2f1)]&&this[_0x2967e0(0x21a)][_0x2967e0(0x12b)]){const _0x3fd293=this['jobs'][_0x2967e0(0x277)]();this[_0x2967e0(0x2b4)]++,_0x3fd293(this[_0xc96d16]);}}}return ye=_0x184855,ye;}function _0x5637(){const _0x14f95d=['https:','hostname','collaboration-client-node.config','fin','socketPath','read','setConfig','onclose','writeUInt16BE','object','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','toLowerCase','kType','text/html','from','29115174MlXpio','_fin','followRedirects','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','writeHead','flush','pipe','charCodeAt','dispose','reset','dataMessage','WS_ERR_INVALID_UTF8','replace','_readyState','join','removeEventListener','haveLength','1020384DmcSln','Invalid\x20HTTP\x20method','listenerCount','WebSocket\x20is\x20not\x20open:\x20readyState\x20','callback','kReason','CollaborationSocketService','Sec-WebSocket-Extensions:\x20','toDisposable','kAborted','_injector','Unexpected\x20end\x20of\x20input','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','UniverCollaborationClientNodePlugin','base64','authorization','WS_ERR_UNEXPECTED_RSV_1','mask','3156138FFAekk','allowSynchronousEvents','Injector','get','listen','setNoDelay','Sec-WebSocket-Origin','getData','destroy','http:','stream','_opcode','nextTick','defineProperty','digest','Module','clients','Parameter\x20\x22','target','10tHrUWi','_httpService','_url','_inflate','end','_readableState','slice','removeAllListeners','parse','verifyClient','_state','jobs','redirect','toString','clientMaxWindowBits','captureStackTrace','_closeMessage','removeListener','Sec-WebSocket-Extensions','Plugin','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','STATUS_CODES','Sec-WebSocket-Protocol','COLLABORATION_CLIENT_NODE_CONFIG_KEY','pause','The\x20URL\x20contains\x20a\x20fragment\x20identifier','_shouldEmitClose','_registerDependencies','writeUIntBE','Opening\x20handshake\x20has\x20timed\x20out','_totalPayloadLength','emit','WebSocket','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','includes','warn','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','sec-websocket-origin','_server','Invalid\x20WebSocket\x20frame:\x20','address','Sec-WebSocket-Protocol:\x20','listening','invalid\x20opcode\x200','The\x20\x22','kRun','_deflate','isInteger','function','blob','once','options','_binaryType','construct','getMask','unshift','generateMask','_writableState','write','headers','_buffers','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','setTimeout','2010eRkZQN','enqueue','isBuffer','values','5238620lxNLUl','kDone','client_max_window_bits','Maximum\x20redirects\x20exceeded','origin','exports','apply','getConfig','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','isView','unmask','params','decompress','_masked','server_max_window_bits','pow','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','handshakeTimeout','close','href','_req','shouldHandle','species','getInfo','kIsForOnEventAttribute','56yBfOJq','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','onStarting','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','onmessage','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','wsClientError','setSocket','_decompress','_read','protocolVersion','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','shift','\x22:\x20','Inject','_max_window_bits','Z_SYNC_FLUSH','binaryType','dispatch','sec-websocket-protocol','message','_closeTimer','delete','startLoop','FIN\x20must\x20be\x20set','bind','18JzupIp','drain','abort','emitClose','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','type','_payloadLength','createConnection','Invalid\x20value\x20for\x20parameter\x20\x22','isServer','env','open','_skipUTF8Validation','number','Invalid\x20Sec-WebSocket-Accept\x20header','_firstFragment','_compress','Origin','Upgrade:\x20websocket','finished','_paused','_fragments','normalizeParams','_originalSecure','_closeFrameSent','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','_destroy','_bufferedBytes','_sender','endEmitted','client','conclude','maxRedirects','clientNoContextTakeover','has','IConfigService','noServer','cork','onerror','OPEN','forEach','Observable','_generateMask','path','Server\x20sent\x20an\x20invalid\x20subprotocol','sendFrame','Unsupported\x20protocol\x20version:\x20','pending','839XrRdgB','consume','alloc','_originalIpc','servername','createInflateRaw','unexpected-response','kError','WS_NO_UTF_8_VALIDATE','permessage-deflate','_messageLength','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','readable','Connection:\x20Upgrade','sec-websocket-key','_maskBuffer','handleEvent','finish','3509178FeIrNY','_extensions','freeze','invalid\x20status\x20code\x20','handleUpgrade','sec-websocket-accept','WS_ERR_EXPECTED_FIN','_configService','data','Unexpected\x20character\x20at\x20index\x20','sha1','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','serverMaxWindowBits','maxPayload','extensionName','byteLength','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','createSocket','_originalHostOrSocketPath','add','zlibDeflateOptions','_options','readyState','_receiver','_errorEmitted','upgrade','push','Invalid\x20Sec-WebSocket-Extensions\x20header','_socket','websocket','_fragmented','_closeFrameReceived','completeUpgrade','call','arrayBuffer','map','controlMessage','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','split','_closeCode','addEventListener','Cookie','concurrency','accept','connect','Z_DEFAULT_WINDOWBITS','createError','_threshold','length','request','acceptAsServer','default','readUInt16BE','WS_ERR_UNEXPECTED_RSV_2_3','hasOwnProperty','RSV1\x20must\x20be\x20clear','GET','auth','buffers','pong','port','allocUnsafe','authorized','objectMode','cookie','ws+unix:','_isServer','getBlobData','reason','test','readUInt32BE','_errored','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','finishRequest','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','destroyed','client_no_context_takeover','statusCode','dequeue','host','threshold','concurrencyLimit','customHeaders','perMessageDeflate','resume','_redirects','isArray','_allowSynchronousEvents','Disposable','server_no_context_takeover','isValidUTF8','server','nodebuffer','setHeader','kByteLength','error','listeners','bufferedAmount','backlog','text/plain','username','next','kListener','encrypted','kWasClean','keys','location','buffer','prototype','arraybuffer','DependentOn','ws:','createServer','\x20(supported\x20versions:\x20','wasClean','\x22\x20subprotocol\x20is\x20duplicated','__esModule','sec-websocket-extensions','MASK\x20must\x20be\x20set','CONNECTING','NodeCollaborationSocketService','opcode','\x0d\x0a\x0d\x0a','handleProtocols','isPaused','total-length','zlibInflateOptions','create','serverNoContextTakeover','format','_autoPong','errorEmitted','status-code','compress','ping','timeout','Max\x20payload\x20size\x20exceeded','WS_ERR_EXPECTED_MASK','The\x20URL\x27s\x20pathname\x20is\x20empty','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','getPayloadLength16','extensions','CLOSING','_no_context_takeover','value','code','wss:','kTarget','connection','update','readOnly','socket','skipUTF8Validation','ILogService','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','string','ISocketService','find','1520236sKrZEr','Unexpected\x20server\x20response:\x20','acceptAsClient','concat','indexOf','_final','Invalid\x20Upgrade\x20header','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','13,\x208','pluginName','Invalid\x20Sec-WebSocket-Protocol\x20header','Invalid\x20URL:\x20','size','protocol','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','getPayloadLength64','_mask','_protocol','CLOSED','maskBuffer','frame','_maxPayload','getOwnPropertyDescriptor','invalid\x20UTF-8\x20sequence','byteOffset','clientTracking','offer','password','_queue','terminate','startsWith','toStringTag','_compressed','pathname','_removeListeners','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','WS_ERR_INVALID_OPCODE','writable','set','url','share','registerDependencies','cleanup','send','_loop','method','autoPong','_write','\x22\x20must\x20have\x20only\x20a\x20single\x20value'];_0x5637=function(){return _0x14f95d;};return _0x5637();}var ve,ze;function he(){const _0x683d71=_0x56ab5b;if(ze)return ve;ze=0x1;const _0x2b79f5=bt,_0x2860b8=ce(),_0x4e6c98=Pt(),{kStatusCode:_0x52ad40}=H(),_0x34372c=Buffer[Symbol[_0x683d71(0x268)]],_0x571c01=Buffer['from']([0x0,0x0,0xff,0xff]),_0x417215=Symbol(_0x683d71(0x2be)),_0x3bea6f=Symbol(_0x683d71(0x178)),_0x11297c=Symbol(_0x683d71(0x1ee)),_0x3b25eb=Symbol(_0x683d71(0x135)),_0x2a370c=Symbol(_0x683d71(0x15a));let _0x1ccc6a;class _0x4c626c{constructor(_0x4eb424,_0x2a8d76,_0x2a4856){const _0x2fd447=_0x683d71;if(this[_0x2fd447(0x1ae)]=_0x2a4856|0x0,this[_0x2fd447(0x2dc)]=_0x4eb424||{},this[_0x2fd447(0x12a)]=this['_options'][_0x2fd447(0x14b)]!==void 0x0?this[_0x2fd447(0x2dc)]['threshold']:0x400,this[_0x2fd447(0x13d)]=!!_0x2a8d76,this[_0x2fd447(0x23d)]=null,this[_0x2fd447(0x212)]=null,this[_0x2fd447(0x25d)]=null,!_0x1ccc6a){const _0x27067e=this[_0x2fd447(0x2dc)][_0x2fd447(0x14c)]!==void 0x0?this['_options']['concurrencyLimit']:0xa;_0x1ccc6a=new _0x4e6c98(_0x27067e);}}static get[_0x683d71(0x2d5)](){const _0x2d236c=_0x683d71;return _0x2d236c(0x2be);}[_0x683d71(0x1b3)](){const _0xc48c25=_0x683d71,_0x447a23={};return this[_0xc48c25(0x2dc)][_0xc48c25(0x17b)]&&(_0x447a23[_0xc48c25(0x154)]=!0x0),this[_0xc48c25(0x2dc)]['clientNoContextTakeover']&&(_0x447a23[_0xc48c25(0x147)]=!0x0),this[_0xc48c25(0x2dc)][_0xc48c25(0x2d3)]&&(_0x447a23[_0xc48c25(0x260)]=this[_0xc48c25(0x2dc)][_0xc48c25(0x2d3)]),this[_0xc48c25(0x2dc)][_0xc48c25(0x21d)]?_0x447a23['client_max_window_bits']=this[_0xc48c25(0x2dc)][_0xc48c25(0x21d)]:this['_options'][_0xc48c25(0x21d)]==null&&(_0x447a23[_0xc48c25(0x254)]=!0x0),_0x447a23;}['accept'](_0x13d4f9){const _0x519176=_0x683d71;return _0x13d4f9=this[_0x519176(0x29b)](_0x13d4f9),this[_0x519176(0x25d)]=this[_0x519176(0x13d)]?this['acceptAsServer'](_0x13d4f9):this[_0x519176(0x19b)](_0x13d4f9),this[_0x519176(0x25d)];}['cleanup'](){const _0x4e6d04=_0x683d71;if(this[_0x4e6d04(0x212)]&&(this[_0x4e6d04(0x212)][_0x4e6d04(0x264)](),this['_inflate']=null),this[_0x4e6d04(0x23d)]){const _0x469fc1=this[_0x4e6d04(0x23d)][_0x11297c];this[_0x4e6d04(0x23d)][_0x4e6d04(0x264)](),this['_deflate']=null,_0x469fc1&&_0x469fc1(new Error(_0x4e6d04(0x289)));}}[_0x683d71(0x12d)](_0x1f7b99){const _0x2a313e=_0x683d71,_0x31275f=this['_options'],_0x461272=_0x1f7b99[_0x2a313e(0x198)](_0x13718d=>!(_0x31275f[_0x2a313e(0x17b)]===!0x1&&_0x13718d['server_no_context_takeover']||_0x13718d[_0x2a313e(0x260)]&&(_0x31275f[_0x2a313e(0x2d3)]===!0x1||typeof _0x31275f[_0x2a313e(0x2d3)]==_0x2a313e(0x292)&&_0x31275f[_0x2a313e(0x2d3)]>_0x13718d[_0x2a313e(0x260)])||typeof _0x31275f['clientMaxWindowBits']=='number'&&!_0x13718d['client_max_window_bits']));if(!_0x461272)throw new Error(_0x2a313e(0x186));return _0x31275f[_0x2a313e(0x17b)]&&(_0x461272[_0x2a313e(0x154)]=!0x0),_0x31275f[_0x2a313e(0x2a6)]&&(_0x461272[_0x2a313e(0x147)]=!0x0),typeof _0x31275f[_0x2a313e(0x2d3)]==_0x2a313e(0x292)&&(_0x461272['server_max_window_bits']=_0x31275f[_0x2a313e(0x2d3)]),typeof _0x31275f[_0x2a313e(0x21d)]=='number'?_0x461272['client_max_window_bits']=_0x31275f[_0x2a313e(0x21d)]:(_0x461272['client_max_window_bits']===!0x0||_0x31275f[_0x2a313e(0x21d)]===!0x1)&&delete _0x461272[_0x2a313e(0x254)],_0x461272;}['acceptAsClient'](_0x14cf69){const _0x7554e3=_0x683d71,_0x2dcc36=_0x14cf69[0x0];if(this[_0x7554e3(0x2dc)][_0x7554e3(0x2a6)]===!0x1&&_0x2dcc36['client_no_context_takeover'])throw new Error(_0x7554e3(0x1f6));if(!_0x2dcc36[_0x7554e3(0x254)])typeof this[_0x7554e3(0x2dc)][_0x7554e3(0x21d)]==_0x7554e3(0x292)&&(_0x2dcc36['client_max_window_bits']=this[_0x7554e3(0x2dc)][_0x7554e3(0x21d)]);else{if(this[_0x7554e3(0x2dc)][_0x7554e3(0x21d)]===!0x1||typeof this[_0x7554e3(0x2dc)][_0x7554e3(0x21d)]=='number'&&_0x2dcc36[_0x7554e3(0x254)]>this[_0x7554e3(0x2dc)][_0x7554e3(0x21d)])throw new Error(_0x7554e3(0x2c0));}return _0x2dcc36;}[_0x683d71(0x29b)](_0x54f03e){const _0x5446b3=_0x683d71;return _0x54f03e[_0x5446b3(0x2ad)](_0x4ba232=>{const _0xd340fd=_0x5446b3;Object[_0xd340fd(0x164)](_0x4ba232)['forEach'](_0xbdb3ee=>{const _0x3c39a2=_0xd340fd;let _0x5db221=_0x4ba232[_0xbdb3ee];if(_0x5db221['length']>0x1)throw new Error(_0x3c39a2(0x20d)+_0xbdb3ee+_0x3c39a2(0x1c9));if(_0x5db221=_0x5db221[0x0],_0xbdb3ee===_0x3c39a2(0x254)){if(_0x5db221!==!0x0){const _0x3d43d4=+_0x5db221;if(!Number[_0x3c39a2(0x23e)](_0x3d43d4)||_0x3d43d4<0x8||_0x3d43d4>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0xbdb3ee+_0x3c39a2(0x278)+_0x5db221);_0x5db221=_0x3d43d4;}else{if(!this['_isServer'])throw new TypeError(_0x3c39a2(0x28d)+_0xbdb3ee+_0x3c39a2(0x278)+_0x5db221);}}else{if(_0xbdb3ee==='server_max_window_bits'){const _0x43bb3a=+_0x5db221;if(!Number[_0x3c39a2(0x23e)](_0x43bb3a)||_0x43bb3a<0x8||_0x43bb3a>0xf)throw new TypeError(_0x3c39a2(0x28d)+_0xbdb3ee+'\x22:\x20'+_0x5db221);_0x5db221=_0x43bb3a;}else{if(_0xbdb3ee===_0x3c39a2(0x147)||_0xbdb3ee===_0x3c39a2(0x154)){if(_0x5db221!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0xbdb3ee+_0x3c39a2(0x278)+_0x5db221);}else throw new Error('Unknown\x20parameter\x20\x22'+_0xbdb3ee+'\x22');}}_0x4ba232[_0xbdb3ee]=_0x5db221;});}),_0x54f03e;}[_0x683d71(0x25e)](_0xfa03d3,_0xee541f,_0x4e8484){const _0x4009cb=_0x683d71;_0x1ccc6a[_0x4009cb(0x2da)](_0x59da97=>{this['_decompress'](_0xfa03d3,_0xee541f,(_0x463860,_0x2ecac5)=>{_0x59da97(),_0x4e8484(_0x463860,_0x2ecac5);});});}[_0x683d71(0x180)](_0x284a92,_0x49c587,_0x570087){const _0x4c876b=_0x683d71;_0x1ccc6a[_0x4c876b(0x2da)](_0x40f126=>{const _0x193e97=_0x4c876b;this[_0x193e97(0x295)](_0x284a92,_0x49c587,(_0x233177,_0x55c7a6)=>{_0x40f126(),_0x570087(_0x233177,_0x55c7a6);});});}[_0x683d71(0x273)](_0x1d5cea,_0x4ef169,_0x4c78ff){const _0x2d0d4b=_0x683d71,_0x463984=this[_0x2d0d4b(0x13d)]?_0x2d0d4b(0x2a3):_0x2d0d4b(0x156);if(!this[_0x2d0d4b(0x212)]){const _0x51b734=_0x463984+_0x2d0d4b(0x27a),_0x5deab8=typeof this[_0x2d0d4b(0x25d)][_0x51b734]!='number'?_0x2b79f5[_0x2d0d4b(0x128)]:this[_0x2d0d4b(0x25d)][_0x51b734];this[_0x2d0d4b(0x212)]=_0x2b79f5[_0x2d0d4b(0x2ba)]({...this['_options'][_0x2d0d4b(0x179)],'windowBits':_0x5deab8}),this[_0x2d0d4b(0x212)][_0x417215]=this,this[_0x2d0d4b(0x212)][_0x3bea6f]=0x0,this[_0x2d0d4b(0x212)][_0x3b25eb]=[],this['_inflate']['on'](_0x2d0d4b(0x15a),_0x130775),this[_0x2d0d4b(0x212)]['on'](_0x2d0d4b(0x2cf),_0x236aee);}this[_0x2d0d4b(0x212)][_0x11297c]=_0x4c78ff,this['_inflate'][_0x2d0d4b(0x249)](_0x1d5cea),_0x4ef169&&this[_0x2d0d4b(0x212)][_0x2d0d4b(0x249)](_0x571c01),this[_0x2d0d4b(0x212)][_0x2d0d4b(0x1de)](()=>{const _0x1b53ae=_0x2d0d4b,_0x22a2fb=this[_0x1b53ae(0x212)][_0x2a370c];if(_0x22a2fb){this[_0x1b53ae(0x212)]['close'](),this[_0x1b53ae(0x212)]=null,_0x4c78ff(_0x22a2fb);return;}const _0x1b07b9=_0x2860b8['concat'](this[_0x1b53ae(0x212)][_0x3b25eb],this[_0x1b53ae(0x212)][_0x3bea6f]);this[_0x1b53ae(0x212)][_0x1b53ae(0x214)][_0x1b53ae(0x2a2)]?(this[_0x1b53ae(0x212)]['close'](),this[_0x1b53ae(0x212)]=null):(this['_inflate'][_0x3bea6f]=0x0,this['_inflate'][_0x3b25eb]=[],_0x4ef169&&this[_0x1b53ae(0x25d)][_0x463984+_0x1b53ae(0x18a)]&&this[_0x1b53ae(0x212)]['reset']()),_0x4c78ff(null,_0x1b07b9);});}[_0x683d71(0x295)](_0x994612,_0xfac796,_0x36c8e8){const _0x2776a8=_0x683d71,_0xf9144c=this[_0x2776a8(0x13d)]?_0x2776a8(0x156):_0x2776a8(0x2a3);if(!this[_0x2776a8(0x23d)]){const _0x167046=_0xf9144c+_0x2776a8(0x27a),_0x36d5c0=typeof this[_0x2776a8(0x25d)][_0x167046]!=_0x2776a8(0x292)?_0x2b79f5[_0x2776a8(0x128)]:this['params'][_0x167046];this[_0x2776a8(0x23d)]=_0x2b79f5['createDeflateRaw']({...this[_0x2776a8(0x2dc)][_0x2776a8(0x2db)],'windowBits':_0x36d5c0}),this[_0x2776a8(0x23d)][_0x3bea6f]=0x0,this[_0x2776a8(0x23d)][_0x3b25eb]=[],this[_0x2776a8(0x23d)]['on']('data',_0x1d5cb4);}this['_deflate'][_0x11297c]=_0x36c8e8,this[_0x2776a8(0x23d)][_0x2776a8(0x249)](_0x994612),this[_0x2776a8(0x23d)][_0x2776a8(0x1de)](_0x2b79f5[_0x2776a8(0x27b)],()=>{const _0x5f7926=_0x2776a8;if(!this[_0x5f7926(0x23d)])return;let _0x35c551=_0x2860b8['concat'](this[_0x5f7926(0x23d)][_0x3b25eb],this['_deflate'][_0x3bea6f]);_0xfac796&&(_0x35c551=new _0x34372c(_0x35c551['buffer'],_0x35c551[_0x5f7926(0x1b1)],_0x35c551[_0x5f7926(0x12b)]-0x4)),this[_0x5f7926(0x23d)][_0x11297c]=null,this[_0x5f7926(0x23d)][_0x3bea6f]=0x0,this[_0x5f7926(0x23d)][_0x3b25eb]=[],_0xfac796&&this['params'][_0xf9144c+_0x5f7926(0x18a)]&&this[_0x5f7926(0x23d)][_0x5f7926(0x1e2)](),_0x36c8e8(null,_0x35c551);});}}ve=_0x4c626c;function _0x1d5cb4(_0x53df9a){const _0x5f4df3=_0x683d71;this[_0x3b25eb][_0x5f4df3(0x2e1)](_0x53df9a),this[_0x3bea6f]+=_0x53df9a[_0x5f4df3(0x12b)];}function _0x236aee(_0x1266b7){const _0x1e472e=_0x683d71;if(this[_0x3bea6f]+=_0x1266b7[_0x1e472e(0x12b)],this[_0x417215][_0x1e472e(0x1ae)]<0x1||this[_0x3bea6f]<=this[_0x417215]['_maxPayload']){this[_0x3b25eb][_0x1e472e(0x2e1)](_0x1266b7);return;}this[_0x2a370c]=new RangeError(_0x1e472e(0x183)),this[_0x2a370c][_0x1e472e(0x18c)]=_0x1e472e(0x145),this[_0x2a370c][_0x52ad40]=0x3f1,this[_0x1e472e(0x220)](_0x1e472e(0x2cf),_0x236aee),this[_0x1e472e(0x1e2)]();}function _0x130775(_0x146851){const _0x2768d5=_0x683d71;if(this[_0x417215][_0x2768d5(0x212)]=null,this[_0x2a370c]){this[_0x11297c](this[_0x2a370c]);return;}_0x146851[_0x52ad40]=0x3ef,this[_0x11297c](_0x146851);}return ve;}var ie={'exports':{}};function _0x9265(_0x41a19a,_0x1edcd2){const _0x563734=_0x5637();return _0x9265=function(_0x926500,_0xabeca9){_0x926500=_0x926500-0x128;let _0x136872=_0x563734[_0x926500];return _0x136872;},_0x9265(_0x41a19a,_0x1edcd2);}const Dt={},Rt=Object['freeze'](Object[_0x56ab5b(0x209)]({'__proto__':null,'default':Dt},Symbol[_0x56ab5b(0x1b8)],{'value':_0x56ab5b(0x20b)})),Bt=at(Rt);var Ye;function ae(){const _0x11cafe=_0x56ab5b;if(Ye)return ie[_0x11cafe(0x257)];Ye=0x1;const {isUtf8:_0x1f2023}=wt,{hasBlob:_0x2abb71}=H(),_0x5e5ac=[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 _0x3f9c48(_0x3dc6c7){return _0x3dc6c7>=0x3e8&&_0x3dc6c7<=0x3f6&&_0x3dc6c7!==0x3ec&&_0x3dc6c7!==0x3ed&&_0x3dc6c7!==0x3ee||_0x3dc6c7>=0xbb8&&_0x3dc6c7<=0x1387;}function _0x1cec25(_0x1fedd2){const _0x3588f7=_0x11cafe,_0x4ad27f=_0x1fedd2[_0x3588f7(0x12b)];let _0x21a4aa=0x0;for(;_0x21a4aa<_0x4ad27f;)if((_0x1fedd2[_0x21a4aa]&0x80)===0x0)_0x21a4aa++;else{if((_0x1fedd2[_0x21a4aa]&0xe0)===0xc0){if(_0x21a4aa+0x1===_0x4ad27f||(_0x1fedd2[_0x21a4aa+0x1]&0xc0)!==0x80||(_0x1fedd2[_0x21a4aa]&0xfe)===0xc0)return!0x1;_0x21a4aa+=0x2;}else{if((_0x1fedd2[_0x21a4aa]&0xf0)===0xe0){if(_0x21a4aa+0x2>=_0x4ad27f||(_0x1fedd2[_0x21a4aa+0x1]&0xc0)!==0x80||(_0x1fedd2[_0x21a4aa+0x2]&0xc0)!==0x80||_0x1fedd2[_0x21a4aa]===0xe0&&(_0x1fedd2[_0x21a4aa+0x1]&0xe0)===0x80||_0x1fedd2[_0x21a4aa]===0xed&&(_0x1fedd2[_0x21a4aa+0x1]&0xe0)===0xa0)return!0x1;_0x21a4aa+=0x3;}else{if((_0x1fedd2[_0x21a4aa]&0xf8)===0xf0){if(_0x21a4aa+0x3>=_0x4ad27f||(_0x1fedd2[_0x21a4aa+0x1]&0xc0)!==0x80||(_0x1fedd2[_0x21a4aa+0x2]&0xc0)!==0x80||(_0x1fedd2[_0x21a4aa+0x3]&0xc0)!==0x80||_0x1fedd2[_0x21a4aa]===0xf0&&(_0x1fedd2[_0x21a4aa+0x1]&0xf0)===0x80||_0x1fedd2[_0x21a4aa]===0xf4&&_0x1fedd2[_0x21a4aa+0x1]>0x8f||_0x1fedd2[_0x21a4aa]>0xf4)return!0x1;_0x21a4aa+=0x4;}else return!0x1;}}}return!0x0;}function _0xe8c096(_0x547a37){const _0x1a3d82=_0x11cafe;return _0x2abb71&&typeof _0x547a37==_0x1a3d82(0x1d3)&&typeof _0x547a37['arrayBuffer']==_0x1a3d82(0x23f)&&typeof _0x547a37[_0x1a3d82(0x28a)]==_0x1a3d82(0x196)&&typeof _0x547a37[_0x1a3d82(0x206)]==_0x1a3d82(0x23f)&&(_0x547a37[Symbol[_0x1a3d82(0x1b8)]]==='Blob'||_0x547a37[Symbol[_0x1a3d82(0x1b8)]]==='File');}if(ie['exports']={'isBlob':_0xe8c096,'isValidStatusCode':_0x3f9c48,'isValidUTF8':_0x1cec25,'tokenChars':_0x5e5ac},_0x1f2023)ie[_0x11cafe(0x257)][_0x11cafe(0x155)]=function(_0x1a8f62){return _0x1a8f62['length']<0x18?_0x1cec25(_0x1a8f62):_0x1f2023(_0x1a8f62);};else{if(!process[_0x11cafe(0x28f)][_0x11cafe(0x2bd)])try{const _0x54275a=Bt;ie[_0x11cafe(0x257)][_0x11cafe(0x155)]=function(_0x28a651){const _0x210ec4=_0x11cafe;return _0x28a651[_0x210ec4(0x12b)]<0x20?_0x1cec25(_0x28a651):_0x54275a(_0x28a651);};}catch{}}return ie['exports'];}var Se,Ke;function lt(){const _0x55416a=_0x56ab5b;if(Ke)return Se;Ke=0x1;const {Writable:_0x1c08c9}=oe,_0x1ccdf8=he(),{BINARY_TYPES:_0x43c238,EMPTY_BUFFER:_0xb68dd5,kStatusCode:_0x490de7,kWebSocket:_0x1c5dae}=H(),{concat:_0x87651,toArrayBuffer:_0x5accff,unmask:_0x28e211}=ce(),{isValidStatusCode:_0x28cb82,isValidUTF8:_0xa769db}=ae(),_0x5980e8=Buffer[Symbol[_0x55416a(0x268)]],_0x5d69f6=0x0,_0x50592c=0x1,_0x33b096=0x2,_0x46ce76=0x3,_0x39a725=0x4,_0x2ab5aa=0x5,_0x22278f=0x6;class _0x40e33b extends _0x1c08c9{constructor(_0x42a5e6={}){const _0x48d611=_0x55416a;super(),this[_0x48d611(0x152)]=_0x42a5e6[_0x48d611(0x1fd)]!==void 0x0?_0x42a5e6[_0x48d611(0x1fd)]:!0x0,this[_0x48d611(0x243)]=_0x42a5e6[_0x48d611(0x27c)]||_0x43c238[0x0],this[_0x48d611(0x2c8)]=_0x42a5e6[_0x48d611(0x188)]||{},this['_isServer']=!!_0x42a5e6[_0x48d611(0x28e)],this[_0x48d611(0x1ae)]=_0x42a5e6[_0x48d611(0x2d4)]|0x0,this['_skipUTF8Validation']=!!_0x42a5e6['skipUTF8Validation'],this[_0x1c5dae]=void 0x0,this[_0x48d611(0x2a0)]=0x0,this[_0x48d611(0x24b)]=[],this['_compressed']=!0x1,this['_payloadLength']=0x0,this[_0x48d611(0x1a9)]=void 0x0,this[_0x48d611(0x2e5)]=0x0,this['_masked']=!0x1,this[_0x48d611(0x1da)]=!0x1,this[_0x48d611(0x207)]=0x0,this['_totalPayloadLength']=0x0,this[_0x48d611(0x2bf)]=0x0,this[_0x48d611(0x29a)]=[],this['_errored']=!0x1,this[_0x48d611(0x1c5)]=!0x1,this[_0x48d611(0x219)]=_0x5d69f6;}[_0x55416a(0x1c8)](_0x118e3a,_0x156e9a,_0xebc92d){const _0x28e33e=_0x55416a;if(this[_0x28e33e(0x207)]===0x8&&this['_state']==_0x5d69f6)return _0xebc92d();this[_0x28e33e(0x2a0)]+=_0x118e3a['length'],this['_buffers']['push'](_0x118e3a),this[_0x28e33e(0x282)](_0xebc92d);}[_0x55416a(0x2b6)](_0x54f1f8){const _0x389a75=_0x55416a;if(this[_0x389a75(0x2a0)]-=_0x54f1f8,_0x54f1f8===this[_0x389a75(0x24b)][0x0][_0x389a75(0x12b)])return this['_buffers'][_0x389a75(0x277)]();if(_0x54f1f8<this[_0x389a75(0x24b)][0x0][_0x389a75(0x12b)]){const _0x4a6e79=this[_0x389a75(0x24b)][0x0];return this[_0x389a75(0x24b)][0x0]=new _0x5980e8(_0x4a6e79[_0x389a75(0x166)],_0x4a6e79[_0x389a75(0x1b1)]+_0x54f1f8,_0x4a6e79[_0x389a75(0x12b)]-_0x54f1f8),new _0x5980e8(_0x4a6e79[_0x389a75(0x166)],_0x4a6e79[_0x389a75(0x1b1)],_0x54f1f8);}const _0x59c091=Buffer['allocUnsafe'](_0x54f1f8);do{const _0x2bb3f7=this[_0x389a75(0x24b)][0x0],_0x309ec0=_0x59c091[_0x389a75(0x12b)]-_0x54f1f8;_0x54f1f8>=_0x2bb3f7[_0x389a75(0x12b)]?_0x59c091[_0x389a75(0x1bf)](this['_buffers'][_0x389a75(0x277)](),_0x309ec0):(_0x59c091[_0x389a75(0x1bf)](new Uint8Array(_0x2bb3f7['buffer'],_0x2bb3f7[_0x389a75(0x1b1)],_0x54f1f8),_0x309ec0),this[_0x389a75(0x24b)][0x0]=new _0x5980e8(_0x2bb3f7[_0x389a75(0x166)],_0x2bb3f7[_0x389a75(0x1b1)]+_0x54f1f8,_0x2bb3f7[_0x389a75(0x12b)]-_0x54f1f8)),_0x54f1f8-=_0x2bb3f7[_0x389a75(0x12b)];}while(_0x54f1f8>0x0);return _0x59c091;}[_0x55416a(0x282)](_0x11e237){const _0x229e93=_0x55416a;this[_0x229e93(0x1c5)]=!0x0;do switch(this[_0x229e93(0x219)]){case _0x5d69f6:this[_0x229e93(0x269)](_0x11e237);break;case _0x50592c:this[_0x229e93(0x187)](_0x11e237);break;case _0x33b096:this[_0x229e93(0x1a8)](_0x11e237);break;case _0x46ce76:this[_0x229e93(0x245)]();break;case _0x39a725:this[_0x229e93(0x203)](_0x11e237);break;case _0x2ab5aa:case _0x22278f:this[_0x229e93(0x1c5)]=!0x1;return;}while(this[_0x229e93(0x1c5)]);this['_errored']||_0x11e237();}[_0x55416a(0x269)](_0xa0e5bf){const _0x2358a3=_0x55416a;if(this[_0x2358a3(0x2a0)]<0x2){this[_0x2358a3(0x1c5)]=!0x1;return;}const _0x4c5ab3=this[_0x2358a3(0x2b6)](0x2);if((_0x4c5ab3[0x0]&0x30)!==0x0){const _0x25ba97=this['createError'](RangeError,'RSV2\x20and\x20RSV3\x20must\x20be\x20clear',!0x0,0x3ea,_0x2358a3(0x130));_0xa0e5bf(_0x25ba97);return;}const _0xbf9184=(_0x4c5ab3[0x0]&0x40)===0x40;if(_0xbf9184&&!this[_0x2358a3(0x2c8)][_0x1ccdf8[_0x2358a3(0x2d5)]]){const _0x37f8d4=this[_0x2358a3(0x129)](RangeError,_0x2358a3(0x132),!0x0,0x3ea,_0x2358a3(0x1fa));_0xa0e5bf(_0x37f8d4);return;}if(this[_0x2358a3(0x1da)]=(_0x4c5ab3[0x0]&0x80)===0x80,this[_0x2358a3(0x207)]=_0x4c5ab3[0x0]&0xf,this['_payloadLength']=_0x4c5ab3[0x1]&0x7f,this[_0x2358a3(0x207)]===0x0){if(_0xbf9184){const _0x455166=this[_0x2358a3(0x129)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x2358a3(0x1fa));_0xa0e5bf(_0x455166);return;}if(!this[_0x2358a3(0x2e5)]){const _0x452e37=this[_0x2358a3(0x129)](RangeError,_0x2358a3(0x23a),!0x0,0x3ea,_0x2358a3(0x1bd));_0xa0e5bf(_0x452e37);return;}this[_0x2358a3(0x207)]=this['_fragmented'];}else{if(this[_0x2358a3(0x207)]===0x1||this[_0x2358a3(0x207)]===0x2){if(this[_0x2358a3(0x2e5)]){const _0x477720=this[_0x2358a3(0x129)](RangeError,'invalid\x20opcode\x20'+this[_0x2358a3(0x207)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0xa0e5bf(_0x477720);return;}this[_0x2358a3(0x1b9)]=_0xbf9184;}else{if(this['_opcode']>0x7&&this[_0x2358a3(0x207)]<0xb){if(!this[_0x2358a3(0x1da)]){const _0x436a8f=this['createError'](RangeError,_0x2358a3(0x283),!0x0,0x3ea,_0x2358a3(0x2cd));_0xa0e5bf(_0x436a8f);return;}if(_0xbf9184){const _0x329cd9=this[_0x2358a3(0x129)](RangeError,_0x2358a3(0x132),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0xa0e5bf(_0x329cd9);return;}if(this[_0x2358a3(0x28b)]>0x7d||this['_opcode']===0x8&&this['_payloadLength']===0x1){const _0x275367=this['createError'](RangeError,'invalid\x20payload\x20length\x20'+this['_payloadLength'],!0x0,0x3ea,_0x2358a3(0x29e));_0xa0e5bf(_0x275367);return;}}else{const _0x25a90d=this[_0x2358a3(0x129)](RangeError,'invalid\x20opcode\x20'+this['_opcode'],!0x0,0x3ea,_0x2358a3(0x1bd));_0xa0e5bf(_0x25a90d);return;}}}if(!this[_0x2358a3(0x1da)]&&!this['_fragmented']&&(this[_0x2358a3(0x2e5)]=this[_0x2358a3(0x207)]),this['_masked']=(_0x4c5ab3[0x1]&0x80)===0x80,this[_0x2358a3(0x13d)]){if(!this['_masked']){const _0x13990b=this['createError'](RangeError,_0x2358a3(0x171),!0x0,0x3ea,_0x2358a3(0x184));_0xa0e5bf(_0x13990b);return;}}else{if(this[_0x2358a3(0x25f)]){const _0x5466c0=this[_0x2358a3(0x129)](RangeError,'MASK\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0xa0e5bf(_0x5466c0);return;}}this[_0x2358a3(0x28b)]===0x7e?this[_0x2358a3(0x219)]=_0x50592c:this[_0x2358a3(0x28b)]===0x7f?this[_0x2358a3(0x219)]=_0x33b096:this[_0x2358a3(0x1e9)](_0xa0e5bf);}[_0x55416a(0x187)](_0xb7f179){const _0x3293b6=_0x55416a;if(this[_0x3293b6(0x2a0)]<0x2){this['_loop']=!0x1;return;}this[_0x3293b6(0x28b)]=this[_0x3293b6(0x2b6)](0x2)[_0x3293b6(0x12f)](0x0),this[_0x3293b6(0x1e9)](_0xb7f179);}[_0x55416a(0x1a8)](_0x3fdb40){const _0x42b529=_0x55416a;if(this[_0x42b529(0x2a0)]<0x8){this[_0x42b529(0x1c5)]=!0x1;return;}const _0xf3b748=this['consume'](0x8),_0x4e112d=_0xf3b748[_0x42b529(0x141)](0x0);if(_0x4e112d>Math['pow'](0x2,0x15)-0x1){const _0x4dc53a=this[_0x42b529(0x129)](RangeError,_0x42b529(0x1dc),!0x1,0x3f1,_0x42b529(0x262));_0x3fdb40(_0x4dc53a);return;}this['_payloadLength']=_0x4e112d*Math[_0x42b529(0x261)](0x2,0x20)+_0xf3b748[_0x42b529(0x141)](0x4),this[_0x42b529(0x1e9)](_0x3fdb40);}[_0x55416a(0x1e9)](_0x184382){const _0x376b7e=_0x55416a;if(this[_0x376b7e(0x28b)]&&this[_0x376b7e(0x207)]<0x8&&(this[_0x376b7e(0x22d)]+=this[_0x376b7e(0x28b)],this[_0x376b7e(0x22d)]>this[_0x376b7e(0x1ae)]&&this[_0x376b7e(0x1ae)]>0x0)){const _0x35ae85=this[_0x376b7e(0x129)](RangeError,_0x376b7e(0x183),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x184382(_0x35ae85);return;}this[_0x376b7e(0x25f)]?this[_0x376b7e(0x219)]=_0x46ce76:this[_0x376b7e(0x219)]=_0x39a725;}[_0x55416a(0x245)](){const _0x61bd6d=_0x55416a;if(this[_0x61bd6d(0x2a0)]<0x4){this['_loop']=!0x1;return;}this[_0x61bd6d(0x1a9)]=this['consume'](0x4),this[_0x61bd6d(0x219)]=_0x39a725;}['getData'](_0x285b24){const _0x5c0021=_0x55416a;let _0x5441d5=_0xb68dd5;if(this[_0x5c0021(0x28b)]){if(this[_0x5c0021(0x2a0)]<this['_payloadLength']){this[_0x5c0021(0x1c5)]=!0x1;return;}_0x5441d5=this[_0x5c0021(0x2b6)](this[_0x5c0021(0x28b)]),this[_0x5c0021(0x25f)]&&(this['_mask'][0x0]|this[_0x5c0021(0x1a9)][0x1]|this[_0x5c0021(0x1a9)][0x2]|this['_mask'][0x3])!==0x0&&_0x28e211(_0x5441d5,this[_0x5c0021(0x1a9)]);}if(this[_0x5c0021(0x207)]>0x7){this[_0x5c0021(0x2eb)](_0x5441d5,_0x285b24);return;}if(this[_0x5c0021(0x1b9)]){this[_0x5c0021(0x219)]=_0x2ab5aa,this[_0x5c0021(0x25e)](_0x5441d5,_0x285b24);return;}_0x5441d5[_0x5c0021(0x12b)]&&(this[_0x5c0021(0x2bf)]=this[_0x5c0021(0x22d)],this['_fragments'][_0x5c0021(0x2e1)](_0x5441d5)),this[_0x5c0021(0x1e3)](_0x285b24);}[_0x55416a(0x25e)](_0x3555ec,_0x759a0c){const _0x543c35=_0x55416a;this['_extensions'][_0x1ccdf8[_0x543c35(0x2d5)]][_0x543c35(0x25e)](_0x3555ec,this['_fin'],(_0x415dde,_0x32a912)=>{const _0x1b5edc=_0x543c35;if(_0x415dde)return _0x759a0c(_0x415dde);if(_0x32a912[_0x1b5edc(0x12b)]){if(this[_0x1b5edc(0x2bf)]+=_0x32a912['length'],this[_0x1b5edc(0x2bf)]>this[_0x1b5edc(0x1ae)]&&this[_0x1b5edc(0x1ae)]>0x0){const _0x22d66b=this['createError'](RangeError,_0x1b5edc(0x183),!0x1,0x3f1,_0x1b5edc(0x145));_0x759a0c(_0x22d66b);return;}this[_0x1b5edc(0x29a)]['push'](_0x32a912);}this['dataMessage'](_0x759a0c),this['_state']===_0x5d69f6&&this[_0x1b5edc(0x282)](_0x759a0c);});}[_0x55416a(0x1e3)](_0x25954a){const _0x457f73=_0x55416a;if(!this['_fin']){this[_0x457f73(0x219)]=_0x5d69f6;return;}const _0x5dc9d8=this[_0x457f73(0x2bf)],_0x4f8fab=this['_fragments'];if(this[_0x457f73(0x22d)]=0x0,this['_messageLength']=0x0,this[_0x457f73(0x2e5)]=0x0,this['_fragments']=[],this['_opcode']===0x2){let _0x557a86;this['_binaryType']===_0x457f73(0x157)?_0x557a86=_0x87651(_0x4f8fab,_0x5dc9d8):this[_0x457f73(0x243)]==='arraybuffer'?_0x557a86=_0x5accff(_0x87651(_0x4f8fab,_0x5dc9d8)):this[_0x457f73(0x243)]===_0x457f73(0x240)?_0x557a86=new Blob(_0x4f8fab):_0x557a86=_0x4f8fab,this['_allowSynchronousEvents']?(this[_0x457f73(0x22e)](_0x457f73(0x27f),_0x557a86,!0x0),this[_0x457f73(0x219)]=_0x5d69f6):(this['_state']=_0x22278f,setImmediate(()=>{const _0x5a7f26=_0x457f73;this[_0x5a7f26(0x22e)](_0x5a7f26(0x27f),_0x557a86,!0x0),this[_0x5a7f26(0x219)]=_0x5d69f6,this[_0x5a7f26(0x282)](_0x25954a);}));}else{const _0x2f93b3=_0x87651(_0x4f8fab,_0x5dc9d8);if(!this[_0x457f73(0x291)]&&!_0xa769db(_0x2f93b3)){const _0x50729b=this[_0x457f73(0x129)](Error,_0x457f73(0x1b0),!0x0,0x3ef,_0x457f73(0x1e4));_0x25954a(_0x50729b);return;}this['_state']===_0x2ab5aa||this[_0x457f73(0x152)]?(this[_0x457f73(0x22e)](_0x457f73(0x27f),_0x2f93b3,!0x1),this[_0x457f73(0x219)]=_0x5d69f6):(this[_0x457f73(0x219)]=_0x22278f,setImmediate(()=>{const _0x4fea34=_0x457f73;this[_0x4fea34(0x22e)](_0x4fea34(0x27f),_0x2f93b3,!0x1),this[_0x4fea34(0x219)]=_0x5d69f6,this[_0x4fea34(0x282)](_0x25954a);}));}}['controlMessage'](_0x43be17,_0xb0b7a0){const _0x11bdca=_0x55416a;if(this[_0x11bdca(0x207)]===0x8){if(_0x43be17[_0x11bdca(0x12b)]===0x0)this[_0x11bdca(0x1c5)]=!0x1,this[_0x11bdca(0x22e)](_0x11bdca(0x2a4),0x3ed,_0xb68dd5),this['end']();else{const _0x3f18e7=_0x43be17[_0x11bdca(0x12f)](0x0);if(!_0x28cb82(_0x3f18e7)){const _0x3589d5=this[_0x11bdca(0x129)](RangeError,_0x11bdca(0x2ca)+_0x3f18e7,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0xb0b7a0(_0x3589d5);return;}const _0xc94421=new _0x5980e8(_0x43be17[_0x11bdca(0x166)],_0x43be17[_0x11bdca(0x1b1)]+0x2,_0x43be17['length']-0x2);if(!this[_0x11bdca(0x291)]&&!_0xa769db(_0xc94421)){const _0x2c5153=this['createError'](Error,_0x11bdca(0x1b0),!0x0,0x3ef,_0x11bdca(0x1e4));_0xb0b7a0(_0x2c5153);return;}this[_0x11bdca(0x1c5)]=!0x1,this[_0x11bdca(0x22e)](_0x11bdca(0x2a4),_0x3f18e7,_0xc94421),this[_0x11bdca(0x213)]();}this[_0x11bdca(0x219)]=_0x5d69f6;return;}this[_0x11bdca(0x152)]?(this[_0x11bdca(0x22e)](this[_0x11bdca(0x207)]===0x9?_0x11bdca(0x181):_0x11bdca(0x136),_0x43be17),this[_0x11bdca(0x219)]=_0x5d69f6):(this[_0x11bdca(0x219)]=_0x22278f,setImmediate(()=>{const _0x2742a5=_0x11bdca;this[_0x2742a5(0x22e)](this[_0x2742a5(0x207)]===0x9?_0x2742a5(0x181):_0x2742a5(0x136),_0x43be17),this['_state']=_0x5d69f6,this[_0x2742a5(0x282)](_0xb0b7a0);}));}[_0x55416a(0x129)](_0xb5bba9,_0x5683c3,_0x5c7f8a,_0x593999,_0x36ecd9){const _0x3915e4=_0x55416a;this[_0x3915e4(0x1c5)]=!0x1,this[_0x3915e4(0x142)]=!0x0;const _0x625471=new _0xb5bba9(_0x5c7f8a?_0x3915e4(0x236)+_0x5683c3:_0x5683c3);return Error[_0x3915e4(0x21e)](_0x625471,this['createError']),_0x625471[_0x3915e4(0x18c)]=_0x36ecd9,_0x625471[_0x490de7]=_0x593999,_0x625471;}}return Se=_0x40e33b,Se;}var Ee,Xe;function ft(){const _0x4edaac=_0x56ab5b;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x21cae1}=oe,{randomFillSync:_0x290bea}=Le,_0x15f02f=he(),{EMPTY_BUFFER:_0x4d7a79,kWebSocket:_0x233b85,NOOP:_0x3093d8}=H(),{isBlob:_0x18238f,isValidStatusCode:_0x34a4f7}=ae(),{mask:_0x27d75c,toBuffer:_0x2815e0}=ce(),_0x572726=Symbol(_0x4edaac(0x159)),_0x3c3278=Buffer[_0x4edaac(0x2b7)](0x4),_0x2fb60f=0x8*0x400;let _0x4c98fc,_0xf89c8b=_0x2fb60f;const _0xc4f1fc=0x0,_0x1fb6f9=0x1,_0x4d1991=0x2;class _0x433cac{constructor(_0x4f673c,_0x354d36,_0x4583fb){const _0x1910c3=_0x4edaac;this[_0x1910c3(0x2c8)]=_0x354d36||{},_0x4583fb&&(this[_0x1910c3(0x2af)]=_0x4583fb,this[_0x1910c3(0x2c4)]=Buffer[_0x1910c3(0x2b7)](0x4)),this['_socket']=_0x4f673c,this[_0x1910c3(0x294)]=!0x0,this[_0x1910c3(0x295)]=!0x1,this[_0x1910c3(0x2a0)]=0x0,this[_0x1910c3(0x1b5)]=[],this[_0x1910c3(0x219)]=_0xc4f1fc,this['onerror']=_0x3093d8,this[_0x233b85]=void 0x0;}static['frame'](_0x216264,_0x5200df){const _0x2fe90e=_0x4edaac;let _0x4397aa,_0x503c09=!0x1,_0x5d4beb=0x2,_0x42e13a=!0x1;_0x5200df[_0x2fe90e(0x1fb)]&&(_0x4397aa=_0x5200df[_0x2fe90e(0x1ac)]||_0x3c3278,_0x5200df['generateMask']?_0x5200df['generateMask'](_0x4397aa):(_0xf89c8b===_0x2fb60f&&(_0x4c98fc===void 0x0&&(_0x4c98fc=Buffer['alloc'](_0x2fb60f)),_0x290bea(_0x4c98fc,0x0,_0x2fb60f),_0xf89c8b=0x0),_0x4397aa[0x0]=_0x4c98fc[_0xf89c8b++],_0x4397aa[0x1]=_0x4c98fc[_0xf89c8b++],_0x4397aa[0x2]=_0x4c98fc[_0xf89c8b++],_0x4397aa[0x3]=_0x4c98fc[_0xf89c8b++]),_0x42e13a=(_0x4397aa[0x0]|_0x4397aa[0x1]|_0x4397aa[0x2]|_0x4397aa[0x3])===0x0,_0x5d4beb=0x6);let _0x1f1fbe;typeof _0x216264==_0x2fe90e(0x196)?(!_0x5200df[_0x2fe90e(0x1fb)]||_0x42e13a)&&_0x5200df[_0x572726]!==void 0x0?_0x1f1fbe=_0x5200df[_0x572726]:(_0x216264=Buffer[_0x2fe90e(0x1d8)](_0x216264),_0x1f1fbe=_0x216264[_0x2fe90e(0x12b)]):(_0x1f1fbe=_0x216264[_0x2fe90e(0x12b)],_0x503c09=_0x5200df['mask']&&_0x5200df[_0x2fe90e(0x191)]&&!_0x42e13a);let _0x137635=_0x1f1fbe;_0x1f1fbe>=0x10000?(_0x5d4beb+=0x8,_0x137635=0x7f):_0x1f1fbe>0x7d&&(_0x5d4beb+=0x2,_0x137635=0x7e);const _0x2801af=Buffer[_0x2fe90e(0x138)](_0x503c09?_0x1f1fbe+_0x5d4beb:_0x5d4beb);return _0x2801af[0x0]=_0x5200df[_0x2fe90e(0x1cd)]?_0x5200df['opcode']|0x80:_0x5200df[_0x2fe90e(0x174)],_0x5200df['rsv1']&&(_0x2801af[0x0]|=0x40),_0x2801af[0x1]=_0x137635,_0x137635===0x7e?_0x2801af[_0x2fe90e(0x1d2)](_0x1f1fbe,0x2):_0x137635===0x7f&&(_0x2801af[0x2]=_0x2801af[0x3]=0x0,_0x2801af[_0x2fe90e(0x22b)](_0x1f1fbe,0x4,0x6)),_0x5200df[_0x2fe90e(0x1fb)]?(_0x2801af[0x1]|=0x80,_0x2801af[_0x5d4beb-0x4]=_0x4397aa[0x0],_0x2801af[_0x5d4beb-0x3]=_0x4397aa[0x1],_0x2801af[_0x5d4beb-0x2]=_0x4397aa[0x2],_0x2801af[_0x5d4beb-0x1]=_0x4397aa[0x3],_0x42e13a?[_0x2801af,_0x216264]:_0x503c09?(_0x27d75c(_0x216264,_0x4397aa,_0x2801af,_0x5d4beb,_0x1f1fbe),[_0x2801af]):(_0x27d75c(_0x216264,_0x4397aa,_0x216264,0x0,_0x1f1fbe),[_0x2801af,_0x216264])):[_0x2801af,_0x216264];}[_0x4edaac(0x264)](_0x797c79,_0x3cff80,_0x4b97f8,_0x27298b){const _0x4f941c=_0x4edaac;let _0x6669c0;if(_0x797c79===void 0x0)_0x6669c0=_0x4d7a79;else{if(typeof _0x797c79!=_0x4f941c(0x292)||!_0x34a4f7(_0x797c79))throw new TypeError(_0x4f941c(0x276));if(_0x3cff80===void 0x0||!_0x3cff80[_0x4f941c(0x12b)])_0x6669c0=Buffer[_0x4f941c(0x138)](0x2),_0x6669c0[_0x4f941c(0x1d2)](_0x797c79,0x0);else{const _0x43488b=Buffer[_0x4f941c(0x2d6)](_0x3cff80);if(_0x43488b>0x7b)throw new RangeError(_0x4f941c(0x195));_0x6669c0=Buffer[_0x4f941c(0x138)](0x2+_0x43488b),_0x6669c0[_0x4f941c(0x1d2)](_0x797c79,0x0),typeof _0x3cff80==_0x4f941c(0x196)?_0x6669c0[_0x4f941c(0x249)](_0x3cff80,0x2):_0x6669c0['set'](_0x3cff80,0x2);}}const _0x2dc50c={[_0x572726]:_0x6669c0[_0x4f941c(0x12b)],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x4b97f8,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x4f941c(0x219)]!==_0xc4f1fc?this['enqueue']([this[_0x4f941c(0x27d)],_0x6669c0,!0x1,_0x2dc50c,_0x27298b]):this['sendFrame'](_0x433cac[_0x4f941c(0x1ad)](_0x6669c0,_0x2dc50c),_0x27298b);}[_0x4edaac(0x181)](_0x4a164a,_0x1d17dd,_0x2beb07){const _0x3a83f1=_0x4edaac;let _0x3d0849,_0x543b49;if(typeof _0x4a164a==_0x3a83f1(0x196)?(_0x3d0849=Buffer[_0x3a83f1(0x2d6)](_0x4a164a),_0x543b49=!0x1):_0x18238f(_0x4a164a)?(_0x3d0849=_0x4a164a[_0x3a83f1(0x1a5)],_0x543b49=!0x1):(_0x4a164a=_0x2815e0(_0x4a164a),_0x3d0849=_0x4a164a[_0x3a83f1(0x12b)],_0x543b49=_0x2815e0[_0x3a83f1(0x191)]),_0x3d0849>0x7d)throw new RangeError(_0x3a83f1(0x25a));const _0x55f895={[_0x572726]:_0x3d0849,'fin':!0x0,'generateMask':this[_0x3a83f1(0x2af)],'mask':_0x1d17dd,'maskBuffer':this[_0x3a83f1(0x2c4)],'opcode':0x9,'readOnly':_0x543b49,'rsv1':!0x1};_0x18238f(_0x4a164a)?this['_state']!==_0xc4f1fc?this['enqueue']([this['getBlobData'],_0x4a164a,!0x1,_0x55f895,_0x2beb07]):this['getBlobData'](_0x4a164a,!0x1,_0x55f895,_0x2beb07):this[_0x3a83f1(0x219)]!==_0xc4f1fc?this[_0x3a83f1(0x24f)]([this[_0x3a83f1(0x27d)],_0x4a164a,!0x1,_0x55f895,_0x2beb07]):this[_0x3a83f1(0x2b2)](_0x433cac['frame'](_0x4a164a,_0x55f895),_0x2beb07);}[_0x4edaac(0x136)](_0x1612cc,_0x6cc8a3,_0xc031e7){const _0x3b0e7f=_0x4edaac;let _0x158176,_0x104f5e;if(typeof _0x1612cc==_0x3b0e7f(0x196)?(_0x158176=Buffer['byteLength'](_0x1612cc),_0x104f5e=!0x1):_0x18238f(_0x1612cc)?(_0x158176=_0x1612cc[_0x3b0e7f(0x1a5)],_0x104f5e=!0x1):(_0x1612cc=_0x2815e0(_0x1612cc),_0x158176=_0x1612cc[_0x3b0e7f(0x12b)],_0x104f5e=_0x2815e0[_0x3b0e7f(0x191)]),_0x158176>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x44a25a={[_0x572726]:_0x158176,'fin':!0x0,'generateMask':this[_0x3b0e7f(0x2af)],'mask':_0x6cc8a3,'maskBuffer':this[_0x3b0e7f(0x2c4)],'opcode':0xa,'readOnly':_0x104f5e,'rsv1':!0x1};_0x18238f(_0x1612cc)?this[_0x3b0e7f(0x219)]!==_0xc4f1fc?this['enqueue']([this[_0x3b0e7f(0x13e)],_0x1612cc,!0x1,_0x44a25a,_0xc031e7]):this[_0x3b0e7f(0x13e)](_0x1612cc,!0x1,_0x44a25a,_0xc031e7):this[_0x3b0e7f(0x219)]!==_0xc4f1fc?this['enqueue']([this['dispatch'],_0x1612cc,!0x1,_0x44a25a,_0xc031e7]):this['sendFrame'](_0x433cac[_0x3b0e7f(0x1ad)](_0x1612cc,_0x44a25a),_0xc031e7);}[_0x4edaac(0x1c4)](_0x5d8d73,_0x221b77,_0x1ae1bb){const _0xf39041=_0x4edaac,_0x1a5a06=this['_extensions'][_0x15f02f[_0xf39041(0x2d5)]];let _0xf9635a=_0x221b77['binary']?0x2:0x1,_0x3eb41a=_0x221b77[_0xf39041(0x180)],_0x52cd37,_0x4f393c;typeof _0x5d8d73==_0xf39041(0x196)?(_0x52cd37=Buffer[_0xf39041(0x2d6)](_0x5d8d73),_0x4f393c=!0x1):_0x18238f(_0x5d8d73)?(_0x52cd37=_0x5d8d73[_0xf39041(0x1a5)],_0x4f393c=!0x1):(_0x5d8d73=_0x2815e0(_0x5d8d73),_0x52cd37=_0x5d8d73[_0xf39041(0x12b)],_0x4f393c=_0x2815e0['readOnly']),this[_0xf39041(0x294)]?(this[_0xf39041(0x294)]=!0x1,_0x3eb41a&&_0x1a5a06&&_0x1a5a06['params'][_0x1a5a06[_0xf39041(0x13d)]?_0xf39041(0x154):_0xf39041(0x147)]&&(_0x3eb41a=_0x52cd37>=_0x1a5a06['_threshold']),this[_0xf39041(0x295)]=_0x3eb41a):(_0x3eb41a=!0x1,_0xf9635a=0x0),_0x221b77[_0xf39041(0x1cd)]&&(this[_0xf39041(0x294)]=!0x0);const _0x361745={[_0x572726]:_0x52cd37,'fin':_0x221b77['fin'],'generateMask':this[_0xf39041(0x2af)],'mask':_0x221b77[_0xf39041(0x1fb)],'maskBuffer':this[_0xf39041(0x2c4)],'opcode':_0xf9635a,'readOnly':_0x4f393c,'rsv1':_0x3eb41a};_0x18238f(_0x5d8d73)?this['_state']!==_0xc4f1fc?this[_0xf39041(0x24f)]([this[_0xf39041(0x13e)],_0x5d8d73,this[_0xf39041(0x295)],_0x361745,_0x1ae1bb]):this[_0xf39041(0x13e)](_0x5d8d73,this[_0xf39041(0x295)],_0x361745,_0x1ae1bb):this['_state']!==_0xc4f1fc?this[_0xf39041(0x24f)]([this[_0xf39041(0x27d)],_0x5d8d73,this['_compress'],_0x361745,_0x1ae1bb]):this[_0xf39041(0x27d)](_0x5d8d73,this[_0xf39041(0x295)],_0x361745,_0x1ae1bb);}[_0x4edaac(0x13e)](_0x1a87dc,_0x2149fa,_0xd8cbba,_0x5170d9){const _0x23c5a6=_0x4edaac;this[_0x23c5a6(0x2a0)]+=_0xd8cbba[_0x572726],this[_0x23c5a6(0x219)]=_0x4d1991,_0x1a87dc[_0x23c5a6(0x2e9)]()['then'](_0xd2140=>{const _0xd3c5d2=_0x23c5a6;if(this[_0xd3c5d2(0x2e3)]['destroyed']){const _0x55ce8a=new Error(_0xd3c5d2(0x230));process['nextTick'](_0x3a1b9c,this,_0x55ce8a,_0x5170d9);return;}this[_0xd3c5d2(0x2a0)]-=_0xd8cbba[_0x572726];const _0x3c49d4=_0x2815e0(_0xd2140);_0x2149fa?this[_0xd3c5d2(0x27d)](_0x3c49d4,_0x2149fa,_0xd8cbba,_0x5170d9):(this[_0xd3c5d2(0x219)]=_0xc4f1fc,this[_0xd3c5d2(0x2b2)](_0x433cac[_0xd3c5d2(0x1ad)](_0x3c49d4,_0xd8cbba),_0x5170d9),this[_0xd3c5d2(0x149)]());})['catch'](_0x29f83b=>{process['nextTick'](_0x3ed472,this,_0x29f83b,_0x5170d9);});}[_0x4edaac(0x27d)](_0x445785,_0x9f3913,_0x28afd9,_0x59e761){const _0x1420bf=_0x4edaac;if(!_0x9f3913){this['sendFrame'](_0x433cac['frame'](_0x445785,_0x28afd9),_0x59e761);return;}const _0x49f179=this[_0x1420bf(0x2c8)][_0x15f02f[_0x1420bf(0x2d5)]];this[_0x1420bf(0x2a0)]+=_0x28afd9[_0x572726],this[_0x1420bf(0x219)]=_0x1fb6f9,_0x49f179[_0x1420bf(0x180)](_0x445785,_0x28afd9[_0x1420bf(0x1cd)],(_0xda3cae,_0x19acaf)=>{const _0x281812=_0x1420bf;if(this['_socket']['destroyed']){const _0x156d4a=new Error(_0x281812(0x1a0));_0x3a1b9c(this,_0x156d4a,_0x59e761);return;}this[_0x281812(0x2a0)]-=_0x28afd9[_0x572726],this['_state']=_0xc4f1fc,_0x28afd9[_0x281812(0x191)]=!0x1,this[_0x281812(0x2b2)](_0x433cac['frame'](_0x19acaf,_0x28afd9),_0x59e761),this[_0x281812(0x149)]();});}[_0x4edaac(0x149)](){const _0x41c0d8=_0x4edaac;for(;this['_state']===_0xc4f1fc&&this[_0x41c0d8(0x1b5)]['length'];){const _0x8b10b3=this[_0x41c0d8(0x1b5)]['shift']();this[_0x41c0d8(0x2a0)]-=_0x8b10b3[0x3][_0x572726],Reflect[_0x41c0d8(0x258)](_0x8b10b3[0x0],this,_0x8b10b3[_0x41c0d8(0x215)](0x1));}}[_0x4edaac(0x24f)](_0x3af7e3){const _0xe7c0a9=_0x4edaac;this[_0xe7c0a9(0x2a0)]+=_0x3af7e3[0x3][_0x572726],this[_0xe7c0a9(0x1b5)]['push'](_0x3af7e3);}[_0x4edaac(0x2b2)](_0x35fb4b,_0x5c5ce1){const _0x860a8d=_0x4edaac;_0x35fb4b[_0x860a8d(0x12b)]===0x2?(this['_socket'][_0x860a8d(0x2aa)](),this[_0x860a8d(0x2e3)][_0x860a8d(0x249)](_0x35fb4b[0x0]),this[_0x860a8d(0x2e3)][_0x860a8d(0x249)](_0x35fb4b[0x1],_0x5c5ce1),this['_socket']['uncork']()):this[_0x860a8d(0x2e3)][_0x860a8d(0x249)](_0x35fb4b[0x0],_0x5c5ce1);}}Ee=_0x433cac;function _0x3a1b9c(_0x3b55d5,_0x181463,_0x2745a0){const _0x311695=_0x4edaac;typeof _0x2745a0==_0x311695(0x23f)&&_0x2745a0(_0x181463);for(let _0x34fcd2=0x0;_0x34fcd2<_0x3b55d5[_0x311695(0x1b5)][_0x311695(0x12b)];_0x34fcd2++){const _0xb26221=_0x3b55d5[_0x311695(0x1b5)][_0x34fcd2],_0x3e90e4=_0xb26221[_0xb26221[_0x311695(0x12b)]-0x1];typeof _0x3e90e4==_0x311695(0x23f)&&_0x3e90e4(_0x181463);}}function _0x3ed472(_0x5a7d45,_0xd2236b,_0x494ddf){const _0x451bba=_0x4edaac;_0x3a1b9c(_0x5a7d45,_0xd2236b,_0x494ddf),_0x5a7d45[_0x451bba(0x2ab)](_0xd2236b);}return Ee;}var xe,Ze;function It(){const _0x22b93b=_0x56ab5b;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x5ce3dc,kListener:_0x594957}=H(),_0x5c5602=Symbol('kCode'),_0x5beef9=Symbol('kData'),_0x5135d4=Symbol(_0x22b93b(0x2bc)),_0x57ccb4=Symbol('kMessage'),_0x5daaca=Symbol(_0x22b93b(0x1ef)),_0x5af05b=Symbol(_0x22b93b(0x18e)),_0x406e32=Symbol(_0x22b93b(0x1d6)),_0x7b0251=Symbol(_0x22b93b(0x163));class _0x17afe4{constructor(_0x93b221){this[_0x5af05b]=null,this[_0x406e32]=_0x93b221;}get[_0x22b93b(0x20e)](){return this[_0x5af05b];}get[_0x22b93b(0x28a)](){return this[_0x406e32];}}Object[_0x22b93b(0x209)](_0x17afe4['prototype'],_0x22b93b(0x20e),{'enumerable':!0x0}),Object[_0x22b93b(0x209)](_0x17afe4[_0x22b93b(0x167)],_0x22b93b(0x28a),{'enumerable':!0x0});class _0x4b3ed4 extends _0x17afe4{constructor(_0x195db9,_0x2e5a87={}){const _0x4cbed8=_0x22b93b;super(_0x195db9),this[_0x5c5602]=_0x2e5a87[_0x4cbed8(0x18c)]===void 0x0?0x0:_0x2e5a87['code'],this[_0x5daaca]=_0x2e5a87[_0x4cbed8(0x13f)]===void 0x0?'':_0x2e5a87[_0x4cbed8(0x13f)],this[_0x7b0251]=_0x2e5a87['wasClean']===void 0x0?!0x1:_0x2e5a87[_0x4cbed8(0x16d)];}get[_0x22b93b(0x18c)](){return this[_0x5c5602];}get[_0x22b93b(0x13f)](){return this[_0x5daaca];}get[_0x22b93b(0x16d)](){return this[_0x7b0251];}}Object[_0x22b93b(0x209)](_0x4b3ed4['prototype'],'code',{'enumerable':!0x0}),Object[_0x22b93b(0x209)](_0x4b3ed4['prototype'],'reason',{'enumerable':!0x0}),Object[_0x22b93b(0x209)](_0x4b3ed4[_0x22b93b(0x167)],_0x22b93b(0x16d),{'enumerable':!0x0});class _0x2a346d extends _0x17afe4{constructor(_0x2c8dd5,_0x3638c9={}){const _0x49a62c=_0x22b93b;super(_0x2c8dd5),this[_0x5135d4]=_0x3638c9['error']===void 0x0?null:_0x3638c9[_0x49a62c(0x15a)],this[_0x57ccb4]=_0x3638c9[_0x49a62c(0x27f)]===void 0x0?'':_0x3638c9[_0x49a62c(0x27f)];}get['error'](){return this[_0x5135d4];}get[_0x22b93b(0x27f)](){return this[_0x57ccb4];}}Object[_0x22b93b(0x209)](_0x2a346d[_0x22b93b(0x167)],_0x22b93b(0x15a),{'enumerable':!0x0}),Object[_0x22b93b(0x209)](_0x2a346d[_0x22b93b(0x167)],_0x22b93b(0x27f),{'enumerable':!0x0});class _0x43c108 extends _0x17afe4{constructor(_0x1679a4,_0x58abdb={}){const _0x465b91=_0x22b93b;super(_0x1679a4),this[_0x5beef9]=_0x58abdb[_0x465b91(0x2cf)]===void 0x0?null:_0x58abdb[_0x465b91(0x2cf)];}get[_0x22b93b(0x2cf)](){return this[_0x5beef9];}}Object[_0x22b93b(0x209)](_0x43c108[_0x22b93b(0x167)],'data',{'enumerable':!0x0}),xe={'CloseEvent':_0x4b3ed4,'ErrorEvent':_0x2a346d,'Event':_0x17afe4,'EventTarget':{'addEventListener'(_0x9aa233,_0x18adb4,_0xf3b195={}){const _0x4ea4be=_0x22b93b;for(const _0x4b34c7 of this[_0x4ea4be(0x15b)](_0x9aa233))if(!_0xf3b195[_0x5ce3dc]&&_0x4b34c7[_0x594957]===_0x18adb4&&!_0x4b34c7[_0x5ce3dc])return;let _0x351223;if(_0x9aa233===_0x4ea4be(0x27f))_0x351223=function(_0x3eb127,_0xa90ff5){const _0x4c68ca=_0x4ea4be,_0x1c5354=new _0x43c108(_0x4c68ca(0x27f),{'data':_0xa90ff5?_0x3eb127:_0x3eb127[_0x4c68ca(0x21c)]()});_0x1c5354[_0x5af05b]=this,_0x3cec5a(_0x18adb4,this,_0x1c5354);};else{if(_0x9aa233===_0x4ea4be(0x264))_0x351223=function(_0x593c05,_0x50a90b){const _0x2893fa=_0x4ea4be,_0x5afdd8=new _0x4b3ed4(_0x2893fa(0x264),{'code':_0x593c05,'reason':_0x50a90b['toString'](),'wasClean':this[_0x2893fa(0x2e6)]&&this[_0x2893fa(0x29d)]});_0x5afdd8[_0x5af05b]=this,_0x3cec5a(_0x18adb4,this,_0x5afdd8);};else{if(_0x9aa233==='error')_0x351223=function(_0x9e4056){const _0x3fe8e8=_0x4ea4be,_0x56956b=new _0x2a346d(_0x3fe8e8(0x15a),{'error':_0x9e4056,'message':_0x9e4056[_0x3fe8e8(0x27f)]});_0x56956b[_0x5af05b]=this,_0x3cec5a(_0x18adb4,this,_0x56956b);};else{if(_0x9aa233===_0x4ea4be(0x290))_0x351223=function(){const _0x4625f0=_0x4ea4be,_0x521d4f=new _0x17afe4(_0x4625f0(0x290));_0x521d4f[_0x5af05b]=this,_0x3cec5a(_0x18adb4,this,_0x521d4f);};else return;}}}_0x351223[_0x5ce3dc]=!!_0xf3b195[_0x5ce3dc],_0x351223[_0x594957]=_0x18adb4,_0xf3b195[_0x4ea4be(0x241)]?this[_0x4ea4be(0x241)](_0x9aa233,_0x351223):this['on'](_0x9aa233,_0x351223);},'removeEventListener'(_0x5210fc,_0x428c51){const _0x41bee4=_0x22b93b;for(const _0x3449ed of this[_0x41bee4(0x15b)](_0x5210fc))if(_0x3449ed[_0x594957]===_0x428c51&&!_0x3449ed[_0x5ce3dc]){this[_0x41bee4(0x220)](_0x5210fc,_0x3449ed);break;}}},'MessageEvent':_0x43c108};function _0x3cec5a(_0x365968,_0x5dcc20,_0x278d16){const _0x276125=_0x22b93b;typeof _0x365968==_0x276125(0x1d3)&&_0x365968[_0x276125(0x2c5)]?_0x365968[_0x276125(0x2c5)][_0x276125(0x2e8)](_0x365968,_0x278d16):_0x365968[_0x276125(0x2e8)](_0x5dcc20,_0x278d16);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x93a31f}=ae();function _0x35cd9f(_0x27f426,_0x3b6044,_0x5d399b){_0x27f426[_0x3b6044]===void 0x0?_0x27f426[_0x3b6044]=[_0x5d399b]:_0x27f426[_0x3b6044]['push'](_0x5d399b);}function _0x7a6b2e(_0x5a0b3c){const _0x3e378d=_0x9265,_0xb61d5c=Object['create'](null);let _0xab42a5=Object[_0x3e378d(0x17a)](null),_0x2be7dc=!0x1,_0x4cd7f4=!0x1,_0x119d61=!0x1,_0x60a9a8,_0x75b8ef,_0x30efd4=-0x1,_0x510a29=-0x1,_0x4e4fac=-0x1,_0x1f0def=0x0;for(;_0x1f0def<_0x5a0b3c[_0x3e378d(0x12b)];_0x1f0def++)if(_0x510a29=_0x5a0b3c[_0x3e378d(0x1e0)](_0x1f0def),_0x60a9a8===void 0x0){if(_0x4e4fac===-0x1&&_0x93a31f[_0x510a29]===0x1)_0x30efd4===-0x1&&(_0x30efd4=_0x1f0def);else{if(_0x1f0def!==0x0&&(_0x510a29===0x20||_0x510a29===0x9))_0x4e4fac===-0x1&&_0x30efd4!==-0x1&&(_0x4e4fac=_0x1f0def);else{if(_0x510a29===0x3b||_0x510a29===0x2c){if(_0x30efd4===-0x1)throw new SyntaxError(_0x3e378d(0x2d0)+_0x1f0def);_0x4e4fac===-0x1&&(_0x4e4fac=_0x1f0def);const _0x4f5bca=_0x5a0b3c[_0x3e378d(0x215)](_0x30efd4,_0x4e4fac);_0x510a29===0x2c?(_0x35cd9f(_0xb61d5c,_0x4f5bca,_0xab42a5),_0xab42a5=Object[_0x3e378d(0x17a)](null)):_0x60a9a8=_0x4f5bca,_0x30efd4=_0x4e4fac=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x1f0def);}}}else{if(_0x75b8ef===void 0x0){if(_0x4e4fac===-0x1&&_0x93a31f[_0x510a29]===0x1)_0x30efd4===-0x1&&(_0x30efd4=_0x1f0def);else{if(_0x510a29===0x20||_0x510a29===0x9)_0x4e4fac===-0x1&&_0x30efd4!==-0x1&&(_0x4e4fac=_0x1f0def);else{if(_0x510a29===0x3b||_0x510a29===0x2c){if(_0x30efd4===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x1f0def);_0x4e4fac===-0x1&&(_0x4e4fac=_0x1f0def),_0x35cd9f(_0xab42a5,_0x5a0b3c[_0x3e378d(0x215)](_0x30efd4,_0x4e4fac),!0x0),_0x510a29===0x2c&&(_0x35cd9f(_0xb61d5c,_0x60a9a8,_0xab42a5),_0xab42a5=Object[_0x3e378d(0x17a)](null),_0x60a9a8=void 0x0),_0x30efd4=_0x4e4fac=-0x1;}else{if(_0x510a29===0x3d&&_0x30efd4!==-0x1&&_0x4e4fac===-0x1)_0x75b8ef=_0x5a0b3c[_0x3e378d(0x215)](_0x30efd4,_0x1f0def),_0x30efd4=_0x4e4fac=-0x1;else throw new SyntaxError(_0x3e378d(0x2d0)+_0x1f0def);}}}}else{if(_0x4cd7f4){if(_0x93a31f[_0x510a29]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x1f0def);_0x30efd4===-0x1?_0x30efd4=_0x1f0def:_0x2be7dc||(_0x2be7dc=!0x0),_0x4cd7f4=!0x1;}else{if(_0x119d61){if(_0x93a31f[_0x510a29]===0x1)_0x30efd4===-0x1&&(_0x30efd4=_0x1f0def);else{if(_0x510a29===0x22&&_0x30efd4!==-0x1)_0x119d61=!0x1,_0x4e4fac=_0x1f0def;else{if(_0x510a29===0x5c)_0x4cd7f4=!0x0;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x1f0def);}}}else{if(_0x510a29===0x22&&_0x5a0b3c[_0x3e378d(0x1e0)](_0x1f0def-0x1)===0x3d)_0x119d61=!0x0;else{if(_0x4e4fac===-0x1&&_0x93a31f[_0x510a29]===0x1)_0x30efd4===-0x1&&(_0x30efd4=_0x1f0def);else{if(_0x30efd4!==-0x1&&(_0x510a29===0x20||_0x510a29===0x9))_0x4e4fac===-0x1&&(_0x4e4fac=_0x1f0def);else{if(_0x510a29===0x3b||_0x510a29===0x2c){if(_0x30efd4===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x1f0def);_0x4e4fac===-0x1&&(_0x4e4fac=_0x1f0def);let _0x2f3b7d=_0x5a0b3c[_0x3e378d(0x215)](_0x30efd4,_0x4e4fac);_0x2be7dc&&(_0x2f3b7d=_0x2f3b7d[_0x3e378d(0x1e5)](/\\/g,''),_0x2be7dc=!0x1),_0x35cd9f(_0xab42a5,_0x75b8ef,_0x2f3b7d),_0x510a29===0x2c&&(_0x35cd9f(_0xb61d5c,_0x60a9a8,_0xab42a5),_0xab42a5=Object[_0x3e378d(0x17a)](null),_0x60a9a8=void 0x0),_0x75b8ef=void 0x0,_0x30efd4=_0x4e4fac=-0x1;}else throw new SyntaxError(_0x3e378d(0x2d0)+_0x1f0def);}}}}}}}if(_0x30efd4===-0x1||_0x119d61||_0x510a29===0x20||_0x510a29===0x9)throw new SyntaxError(_0x3e378d(0x1f5));_0x4e4fac===-0x1&&(_0x4e4fac=_0x1f0def);const _0x47706a=_0x5a0b3c[_0x3e378d(0x215)](_0x30efd4,_0x4e4fac);return _0x60a9a8===void 0x0?_0x35cd9f(_0xb61d5c,_0x47706a,_0xab42a5):(_0x75b8ef===void 0x0?_0x35cd9f(_0xab42a5,_0x47706a,!0x0):_0x2be7dc?_0x35cd9f(_0xab42a5,_0x75b8ef,_0x47706a[_0x3e378d(0x1e5)](/\\/g,'')):_0x35cd9f(_0xab42a5,_0x75b8ef,_0x47706a),_0x35cd9f(_0xb61d5c,_0x60a9a8,_0xab42a5)),_0xb61d5c;}function _0xd028be(_0xec7678){const _0x20176c=_0x9265;return Object['keys'](_0xec7678)['map'](_0x4c1edc=>{const _0x4dc5b5=_0x9265;let _0x227377=_0xec7678[_0x4c1edc];return Array[_0x4dc5b5(0x151)](_0x227377)||(_0x227377=[_0x227377]),_0x227377[_0x4dc5b5(0x2ea)](_0x5648ea=>[_0x4c1edc][_0x4dc5b5(0x19c)](Object['keys'](_0x5648ea)['map'](_0x496f0a=>{const _0x2bea13=_0x4dc5b5;let _0x5862db=_0x5648ea[_0x496f0a];return Array[_0x2bea13(0x151)](_0x5862db)||(_0x5862db=[_0x5862db]),_0x5862db[_0x2bea13(0x2ea)](_0x4d3dfd=>_0x4d3dfd===!0x0?_0x496f0a:_0x496f0a+'='+_0x4d3dfd)[_0x2bea13(0x1e7)](';\x20');}))['join'](';\x20'))['join'](',\x20');})[_0x20176c(0x1e7)](',\x20');}return be={'format':_0xd028be,'parse':_0x7a6b2e},be;}var we,Je;function Pe(){const _0x2d92b8=_0x56ab5b;if(Je)return we;Je=0x1;const _0x497dce=nt,_0x28d99b=vt,_0x2a02d1=ot,_0x1c6b3d=St,_0x4aa39e=Et,{randomBytes:_0x34896e,createHash:_0xa813c0}=Le,{Duplex:_0x1d4374,Readable:_0x3378cf}=oe,{URL:_0x5d53ed}=xt,_0x5d2738=he(),_0x40d47c=lt(),_0x10362b=ft(),{isBlob:_0x5a5e2d}=ae(),{BINARY_TYPES:_0x35edca,EMPTY_BUFFER:_0x220053,GUID:_0x1dc0d5,kForOnEventAttribute:_0x34134f,kListener:_0x313414,kStatusCode:_0x408974,kWebSocket:_0x33db4f,NOOP:_0x3ad0dc}=H(),{EventTarget:{addEventListener:_0xc36bbf,removeEventListener:_0xe8c38f}}=It(),{format:_0x2dd43e,parse:_0x38baaa}=ct(),{toBuffer:_0x3f1719}=ce(),_0x29cd63=0x1e*0x3e8,_0x3060d2=Symbol(_0x2d92b8(0x1f3)),_0x326244=[0x8,0xd],_0x511a0a=[_0x2d92b8(0x172),_0x2d92b8(0x2ac),_0x2d92b8(0x189),'CLOSED'],_0x1bfebf=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x300422 extends _0x497dce{constructor(_0x6d071b,_0x4cf7df,_0x397246){const _0x2be0f3=_0x2d92b8;super(),this[_0x2be0f3(0x243)]=_0x35edca[0x0],this[_0x2be0f3(0x2ee)]=0x3ee,this[_0x2be0f3(0x2e6)]=!0x1,this[_0x2be0f3(0x29d)]=!0x1,this[_0x2be0f3(0x21f)]=_0x220053,this[_0x2be0f3(0x280)]=null,this[_0x2be0f3(0x2df)]=!0x1,this[_0x2be0f3(0x2c8)]={},this['_paused']=!0x1,this['_protocol']='',this[_0x2be0f3(0x1e6)]=_0x300422[_0x2be0f3(0x172)],this[_0x2be0f3(0x2de)]=null,this[_0x2be0f3(0x2a1)]=null,this[_0x2be0f3(0x2e3)]=null,_0x6d071b!==null?(this['_bufferedAmount']=0x0,this[_0x2be0f3(0x13d)]=!0x1,this[_0x2be0f3(0x150)]=0x0,_0x4cf7df===void 0x0?_0x4cf7df=[]:Array[_0x2be0f3(0x151)](_0x4cf7df)||(typeof _0x4cf7df==_0x2be0f3(0x1d3)&&_0x4cf7df!==null?(_0x397246=_0x4cf7df,_0x4cf7df=[]):_0x4cf7df=[_0x4cf7df]),_0x30580f(this,_0x6d071b,_0x4cf7df,_0x397246)):(this['_autoPong']=_0x397246[_0x2be0f3(0x1c7)],this[_0x2be0f3(0x13d)]=!0x0);}get['binaryType'](){const _0x3c221a=_0x2d92b8;return this[_0x3c221a(0x243)];}set[_0x2d92b8(0x27c)](_0xb2f3e5){const _0x189c74=_0x2d92b8;_0x35edca[_0x189c74(0x231)](_0xb2f3e5)&&(this[_0x189c74(0x243)]=_0xb2f3e5,this[_0x189c74(0x2de)]&&(this[_0x189c74(0x2de)]['_binaryType']=_0xb2f3e5));}get[_0x2d92b8(0x15c)](){const _0x406954=_0x2d92b8;return this[_0x406954(0x2e3)]?this[_0x406954(0x2e3)][_0x406954(0x248)][_0x406954(0x12b)]+this['_sender'][_0x406954(0x2a0)]:this['_bufferedAmount'];}get[_0x2d92b8(0x188)](){const _0x1fa0a6=_0x2d92b8;return Object[_0x1fa0a6(0x164)](this[_0x1fa0a6(0x2c8)])[_0x1fa0a6(0x1e7)]();}get[_0x2d92b8(0x177)](){return this['_paused'];}get[_0x2d92b8(0x1d1)](){return null;}get[_0x2d92b8(0x2ab)](){return null;}get['onopen'](){return null;}get[_0x2d92b8(0x26f)](){return null;}get[_0x2d92b8(0x1a6)](){const _0x7dc761=_0x2d92b8;return this[_0x7dc761(0x1aa)];}get['readyState'](){return this['_readyState'];}get[_0x2d92b8(0x1c0)](){const _0x1ab64f=_0x2d92b8;return this[_0x1ab64f(0x211)];}[_0x2d92b8(0x272)](_0x36c93e,_0x3be184,_0x8d7e0){const _0x1ad25d=_0x2d92b8,_0x4a6980=new _0x40d47c({'allowSynchronousEvents':_0x8d7e0[_0x1ad25d(0x1fd)],'binaryType':this[_0x1ad25d(0x27c)],'extensions':this[_0x1ad25d(0x2c8)],'isServer':this[_0x1ad25d(0x13d)],'maxPayload':_0x8d7e0['maxPayload'],'skipUTF8Validation':_0x8d7e0[_0x1ad25d(0x193)]}),_0x29ca7c=new _0x10362b(_0x36c93e,this['_extensions'],_0x8d7e0[_0x1ad25d(0x247)]);this[_0x1ad25d(0x2de)]=_0x4a6980,this[_0x1ad25d(0x2a1)]=_0x29ca7c,this[_0x1ad25d(0x2e3)]=_0x36c93e,_0x4a6980[_0x33db4f]=this,_0x29ca7c[_0x33db4f]=this,_0x36c93e[_0x33db4f]=this,_0x4a6980['on'](_0x1ad25d(0x2a4),_0x5d4f79),_0x4a6980['on'](_0x1ad25d(0x286),_0x5f0260),_0x4a6980['on'](_0x1ad25d(0x15a),_0x5ede1a),_0x4a6980['on'](_0x1ad25d(0x27f),_0x57e6e0),_0x4a6980['on'](_0x1ad25d(0x181),_0x3b38e7),_0x4a6980['on']('pong',_0x3e9897),_0x29ca7c[_0x1ad25d(0x2ab)]=_0x4ac20e,_0x36c93e[_0x1ad25d(0x24d)]&&_0x36c93e[_0x1ad25d(0x24d)](0x0),_0x36c93e['setNoDelay']&&_0x36c93e[_0x1ad25d(0x201)](),_0x3be184[_0x1ad25d(0x12b)]>0x0&&_0x36c93e[_0x1ad25d(0x246)](_0x3be184),_0x36c93e['on']('close',_0x394120),_0x36c93e['on']('data',_0x394f51),_0x36c93e['on'](_0x1ad25d(0x213),_0x5f4293),_0x36c93e['on'](_0x1ad25d(0x15a),_0x22510a),this['_readyState']=_0x300422[_0x1ad25d(0x2ac)],this['emit'](_0x1ad25d(0x290));}['emitClose'](){const _0x3613e4=_0x2d92b8;if(!this[_0x3613e4(0x2e3)]){this[_0x3613e4(0x1e6)]=_0x300422[_0x3613e4(0x1ab)],this[_0x3613e4(0x22e)](_0x3613e4(0x264),this['_closeCode'],this[_0x3613e4(0x21f)]);return;}this[_0x3613e4(0x2c8)][_0x5d2738[_0x3613e4(0x2d5)]]&&this[_0x3613e4(0x2c8)][_0x5d2738[_0x3613e4(0x2d5)]][_0x3613e4(0x1c3)](),this['_receiver'][_0x3613e4(0x216)](),this['_readyState']=_0x300422[_0x3613e4(0x1ab)],this[_0x3613e4(0x22e)](_0x3613e4(0x264),this[_0x3613e4(0x2ee)],this[_0x3613e4(0x21f)]);}['close'](_0x1a4423,_0x130efb){const _0x554827=_0x2d92b8;if(this[_0x554827(0x2dd)]!==_0x300422[_0x554827(0x1ab)]){if(this[_0x554827(0x2dd)]===_0x300422[_0x554827(0x172)]){_0x5145ae(this,this['_req'],_0x554827(0x223));return;}if(this['readyState']===_0x300422[_0x554827(0x189)]){this[_0x554827(0x29d)]&&(this[_0x554827(0x2e6)]||this['_receiver'][_0x554827(0x248)][_0x554827(0x17e)])&&this[_0x554827(0x2e3)][_0x554827(0x213)]();return;}this['_readyState']=_0x300422[_0x554827(0x189)],this['_sender'][_0x554827(0x264)](_0x1a4423,_0x130efb,!this[_0x554827(0x13d)],_0x206768=>{const _0x3b2c83=_0x554827;_0x206768||(this[_0x3b2c83(0x29d)]=!0x0,(this[_0x3b2c83(0x2e6)]||this[_0x3b2c83(0x2de)][_0x3b2c83(0x248)][_0x3b2c83(0x17e)])&&this['_socket']['end']());}),_0x21f8dc(this);}}[_0x2d92b8(0x227)](){const _0x47469a=_0x2d92b8;this['readyState']===_0x300422[_0x47469a(0x172)]||this[_0x47469a(0x2dd)]===_0x300422[_0x47469a(0x1ab)]||(this[_0x47469a(0x299)]=!0x0,this['_socket'][_0x47469a(0x227)]());}['ping'](_0x271b82,_0x5575a6,_0xb49c06){const _0x444993=_0x2d92b8;if(this[_0x444993(0x2dd)]===_0x300422['CONNECTING'])throw new Error(_0x444993(0x24c));if(typeof _0x271b82=='function'?(_0xb49c06=_0x271b82,_0x271b82=_0x5575a6=void 0x0):typeof _0x5575a6==_0x444993(0x23f)&&(_0xb49c06=_0x5575a6,_0x5575a6=void 0x0),typeof _0x271b82=='number'&&(_0x271b82=_0x271b82[_0x444993(0x21c)]()),this['readyState']!==_0x300422['OPEN']){_0x3bed0f(this,_0x271b82,_0xb49c06);return;}_0x5575a6===void 0x0&&(_0x5575a6=!this['_isServer']),this['_sender'][_0x444993(0x181)](_0x271b82||_0x220053,_0x5575a6,_0xb49c06);}[_0x2d92b8(0x136)](_0x40af3c,_0x16c930,_0x2bf636){const _0x48f106=_0x2d92b8;if(this[_0x48f106(0x2dd)]===_0x300422['CONNECTING'])throw new Error(_0x48f106(0x24c));if(typeof _0x40af3c==_0x48f106(0x23f)?(_0x2bf636=_0x40af3c,_0x40af3c=_0x16c930=void 0x0):typeof _0x16c930=='function'&&(_0x2bf636=_0x16c930,_0x16c930=void 0x0),typeof _0x40af3c==_0x48f106(0x292)&&(_0x40af3c=_0x40af3c[_0x48f106(0x21c)]()),this[_0x48f106(0x2dd)]!==_0x300422[_0x48f106(0x2ac)]){_0x3bed0f(this,_0x40af3c,_0x2bf636);return;}_0x16c930===void 0x0&&(_0x16c930=!this[_0x48f106(0x13d)]),this[_0x48f106(0x2a1)][_0x48f106(0x136)](_0x40af3c||_0x220053,_0x16c930,_0x2bf636);}[_0x2d92b8(0x14f)](){const _0x531430=_0x2d92b8;this[_0x531430(0x2dd)]===_0x300422[_0x531430(0x172)]||this['readyState']===_0x300422['CLOSED']||(this[_0x531430(0x299)]=!0x1,this[_0x531430(0x2de)][_0x531430(0x248)]['needDrain']||this[_0x531430(0x2e3)]['resume']());}[_0x2d92b8(0x1c4)](_0x49e6fb,_0x4c19a9,_0x575e99){const _0x2a0753=_0x2d92b8;if(this[_0x2a0753(0x2dd)]===_0x300422[_0x2a0753(0x172)])throw new Error(_0x2a0753(0x24c));if(typeof _0x4c19a9==_0x2a0753(0x23f)&&(_0x575e99=_0x4c19a9,_0x4c19a9={}),typeof _0x49e6fb==_0x2a0753(0x292)&&(_0x49e6fb=_0x49e6fb[_0x2a0753(0x21c)]()),this[_0x2a0753(0x2dd)]!==_0x300422[_0x2a0753(0x2ac)]){_0x3bed0f(this,_0x49e6fb,_0x575e99);return;}const _0x5d6b2a={'binary':typeof _0x49e6fb!=_0x2a0753(0x196),'mask':!this[_0x2a0753(0x13d)],'compress':!0x0,'fin':!0x0,..._0x4c19a9};this[_0x2a0753(0x2c8)][_0x5d2738['extensionName']]||(_0x5d6b2a[_0x2a0753(0x180)]=!0x1),this['_sender'][_0x2a0753(0x1c4)](_0x49e6fb||_0x220053,_0x5d6b2a,_0x575e99);}[_0x2d92b8(0x1b6)](){const _0x4539ee=_0x2d92b8;if(this[_0x4539ee(0x2dd)]!==_0x300422['CLOSED']){if(this[_0x4539ee(0x2dd)]===_0x300422[_0x4539ee(0x172)]){_0x5145ae(this,this[_0x4539ee(0x266)],_0x4539ee(0x223));return;}this[_0x4539ee(0x2e3)]&&(this[_0x4539ee(0x1e6)]=_0x300422[_0x4539ee(0x189)],this[_0x4539ee(0x2e3)][_0x4539ee(0x204)]());}}}Object[_0x2d92b8(0x209)](_0x300422,'CONNECTING',{'enumerable':!0x0,'value':_0x511a0a[_0x2d92b8(0x19d)](_0x2d92b8(0x172))}),Object['defineProperty'](_0x300422[_0x2d92b8(0x167)],_0x2d92b8(0x172),{'enumerable':!0x0,'value':_0x511a0a['indexOf'](_0x2d92b8(0x172))}),Object[_0x2d92b8(0x209)](_0x300422,_0x2d92b8(0x2ac),{'enumerable':!0x0,'value':_0x511a0a[_0x2d92b8(0x19d)](_0x2d92b8(0x2ac))}),Object[_0x2d92b8(0x209)](_0x300422[_0x2d92b8(0x167)],_0x2d92b8(0x2ac),{'enumerable':!0x0,'value':_0x511a0a['indexOf'](_0x2d92b8(0x2ac))}),Object[_0x2d92b8(0x209)](_0x300422,_0x2d92b8(0x189),{'enumerable':!0x0,'value':_0x511a0a[_0x2d92b8(0x19d)]('CLOSING')}),Object[_0x2d92b8(0x209)](_0x300422[_0x2d92b8(0x167)],_0x2d92b8(0x189),{'enumerable':!0x0,'value':_0x511a0a[_0x2d92b8(0x19d)](_0x2d92b8(0x189))}),Object[_0x2d92b8(0x209)](_0x300422,_0x2d92b8(0x1ab),{'enumerable':!0x0,'value':_0x511a0a[_0x2d92b8(0x19d)]('CLOSED')}),Object['defineProperty'](_0x300422[_0x2d92b8(0x167)],'CLOSED',{'enumerable':!0x0,'value':_0x511a0a[_0x2d92b8(0x19d)](_0x2d92b8(0x1ab))}),[_0x2d92b8(0x27c),_0x2d92b8(0x15c),_0x2d92b8(0x188),'isPaused',_0x2d92b8(0x1a6),_0x2d92b8(0x2dd),'url']['forEach'](_0x4f6469=>{const _0x4c067e=_0x2d92b8;Object[_0x4c067e(0x209)](_0x300422[_0x4c067e(0x167)],_0x4f6469,{'enumerable':!0x0});}),[_0x2d92b8(0x290),_0x2d92b8(0x15a),'close','message'][_0x2d92b8(0x2ad)](_0x1a9881=>{const _0x3190f6=_0x2d92b8;Object['defineProperty'](_0x300422[_0x3190f6(0x167)],'on'+_0x1a9881,{'enumerable':!0x0,'get'(){const _0x5b765a=_0x3190f6;for(const _0x188cb1 of this[_0x5b765a(0x15b)](_0x1a9881))if(_0x188cb1[_0x34134f])return _0x188cb1[_0x313414];return null;},'set'(_0x5d5210){const _0x4ad7b9=_0x3190f6;for(const _0x3cef9b of this[_0x4ad7b9(0x15b)](_0x1a9881))if(_0x3cef9b[_0x34134f]){this[_0x4ad7b9(0x220)](_0x1a9881,_0x3cef9b);break;}typeof _0x5d5210==_0x4ad7b9(0x23f)&&this[_0x4ad7b9(0x2ef)](_0x1a9881,_0x5d5210,{[_0x34134f]:!0x0});}});}),_0x300422[_0x2d92b8(0x167)][_0x2d92b8(0x2ef)]=_0xc36bbf,_0x300422[_0x2d92b8(0x167)][_0x2d92b8(0x1e8)]=_0xe8c38f,we=_0x300422;function _0x30580f(_0xf81fa9,_0x3c80b3,_0xc2c68b,_0xabc9d8){const _0x77430c=_0x2d92b8,_0xfc9f6={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x326244[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0xabc9d8,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x77430c(0x133),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0xf81fa9['_autoPong']=_0xfc9f6[_0x77430c(0x1c7)],!_0x326244[_0x77430c(0x231)](_0xfc9f6['protocolVersion']))throw new RangeError(_0x77430c(0x2b3)+_0xfc9f6[_0x77430c(0x275)]+_0x77430c(0x16c)+_0x326244[_0x77430c(0x1e7)](',\x20')+')');let _0x5dd1f0;if(_0x3c80b3 instanceof _0x5d53ed)_0x5dd1f0=_0x3c80b3;else try{_0x5dd1f0=new _0x5d53ed(_0x3c80b3);}catch{throw new SyntaxError(_0x77430c(0x1a4)+_0x3c80b3);}_0x5dd1f0[_0x77430c(0x1a6)]===_0x77430c(0x205)?_0x5dd1f0[_0x77430c(0x1a6)]=_0x77430c(0x16a):_0x5dd1f0[_0x77430c(0x1a6)]===_0x77430c(0x1ca)&&(_0x5dd1f0[_0x77430c(0x1a6)]='wss:'),_0xf81fa9[_0x77430c(0x211)]=_0x5dd1f0[_0x77430c(0x265)];const _0x454ca4=_0x5dd1f0[_0x77430c(0x1a6)]===_0x77430c(0x18d),_0x45d5dc=_0x5dd1f0['protocol']===_0x77430c(0x13c);let _0x455e4b;if(_0x5dd1f0[_0x77430c(0x1a6)]!=='ws:'&&!_0x454ca4&&!_0x45d5dc?_0x455e4b=_0x77430c(0x26e):_0x45d5dc&&!_0x5dd1f0[_0x77430c(0x1ba)]?_0x455e4b=_0x77430c(0x185):_0x5dd1f0['hash']&&(_0x455e4b=_0x77430c(0x228)),_0x455e4b){const _0x365b4c=new SyntaxError(_0x455e4b);if(_0xf81fa9[_0x77430c(0x150)]===0x0)throw _0x365b4c;_0x5164c2(_0xf81fa9,_0x365b4c);return;}const _0x2238a7=_0x454ca4?0x1bb:0x50,_0x501abc=_0x34896e(0x10)[_0x77430c(0x21c)](_0x77430c(0x1f8)),_0x280806=_0x454ca4?_0x28d99b[_0x77430c(0x12c)]:_0x2a02d1['request'],_0x3e42fa=new Set();let _0x3ed8d3;if(_0xfc9f6[_0x77430c(0x28c)]=_0xfc9f6['createConnection']||(_0x454ca4?_0x4dda2e:_0x57c076),_0xfc9f6['defaultPort']=_0xfc9f6['defaultPort']||_0x2238a7,_0xfc9f6[_0x77430c(0x137)]=_0x5dd1f0[_0x77430c(0x137)]||_0x2238a7,_0xfc9f6['host']=_0x5dd1f0[_0x77430c(0x1cb)][_0x77430c(0x1b7)]('[')?_0x5dd1f0[_0x77430c(0x1cb)]['slice'](0x1,-0x1):_0x5dd1f0[_0x77430c(0x1cb)],_0xfc9f6['headers']={..._0xfc9f6[_0x77430c(0x24a)],'Sec-WebSocket-Version':_0xfc9f6[_0x77430c(0x275)],'Sec-WebSocket-Key':_0x501abc,'Connection':'Upgrade','Upgrade':_0x77430c(0x2e4)},_0xfc9f6[_0x77430c(0x2b0)]=_0x5dd1f0['pathname']+_0x5dd1f0['search'],_0xfc9f6[_0x77430c(0x182)]=_0xfc9f6[_0x77430c(0x263)],_0xfc9f6[_0x77430c(0x14e)]&&(_0x3ed8d3=new _0x5d2738(_0xfc9f6['perMessageDeflate']!==!0x0?_0xfc9f6[_0x77430c(0x14e)]:{},!0x1,_0xfc9f6[_0x77430c(0x2d4)]),_0xfc9f6[_0x77430c(0x24a)][_0x77430c(0x221)]=_0x2dd43e({[_0x5d2738[_0x77430c(0x2d5)]]:_0x3ed8d3['offer']()})),_0xc2c68b[_0x77430c(0x12b)]){for(const _0x4b1772 of _0xc2c68b){if(typeof _0x4b1772!=_0x77430c(0x196)||!_0x1bfebf['test'](_0x4b1772)||_0x3e42fa['has'](_0x4b1772))throw new SyntaxError(_0x77430c(0x26c));_0x3e42fa[_0x77430c(0x2da)](_0x4b1772);}_0xfc9f6[_0x77430c(0x24a)][_0x77430c(0x225)]=_0xc2c68b['join'](',');}if(_0xfc9f6['origin']&&(_0xfc9f6[_0x77430c(0x275)]<0xd?_0xfc9f6[_0x77430c(0x24a)][_0x77430c(0x202)]=_0xfc9f6[_0x77430c(0x256)]:_0xfc9f6['headers'][_0x77430c(0x296)]=_0xfc9f6['origin']),(_0x5dd1f0[_0x77430c(0x15f)]||_0x5dd1f0[_0x77430c(0x1b4)])&&(_0xfc9f6['auth']=_0x5dd1f0['username']+':'+_0x5dd1f0[_0x77430c(0x1b4)]),_0x45d5dc){const _0x1bce04=_0xfc9f6['path'][_0x77430c(0x2ed)](':');_0xfc9f6['socketPath']=_0x1bce04[0x0],_0xfc9f6['path']=_0x1bce04[0x1];}let _0x52244d;if(_0xfc9f6['followRedirects']){if(_0xf81fa9[_0x77430c(0x150)]===0x0){_0xf81fa9['_originalIpc']=_0x45d5dc,_0xf81fa9[_0x77430c(0x29c)]=_0x454ca4,_0xf81fa9[_0x77430c(0x2d9)]=_0x45d5dc?_0xfc9f6[_0x77430c(0x1ce)]:_0x5dd1f0[_0x77430c(0x14a)];const _0x53ee9d=_0xabc9d8&&_0xabc9d8[_0x77430c(0x24a)];if(_0xabc9d8={..._0xabc9d8,'headers':{}},_0x53ee9d){for(const [_0x4a6d08,_0x5914de]of Object['entries'](_0x53ee9d))_0xabc9d8[_0x77430c(0x24a)][_0x4a6d08[_0x77430c(0x1d5)]()]=_0x5914de;}}else{if(_0xf81fa9['listenerCount']('redirect')===0x0){const _0x3ad59e=_0x45d5dc?_0xf81fa9[_0x77430c(0x2b8)]?_0xfc9f6[_0x77430c(0x1ce)]===_0xf81fa9[_0x77430c(0x2d9)]:!0x1:_0xf81fa9['_originalIpc']?!0x1:_0x5dd1f0[_0x77430c(0x14a)]===_0xf81fa9[_0x77430c(0x2d9)];(!_0x3ad59e||_0xf81fa9[_0x77430c(0x29c)]&&!_0x454ca4)&&(delete _0xfc9f6[_0x77430c(0x24a)][_0x77430c(0x1f9)],delete _0xfc9f6[_0x77430c(0x24a)][_0x77430c(0x13b)],_0x3ad59e||delete _0xfc9f6[_0x77430c(0x24a)][_0x77430c(0x14a)],_0xfc9f6['auth']=void 0x0);}}_0xfc9f6[_0x77430c(0x134)]&&!_0xabc9d8['headers'][_0x77430c(0x1f9)]&&(_0xabc9d8[_0x77430c(0x24a)][_0x77430c(0x1f9)]='Basic\x20'+Buffer[_0x77430c(0x1d8)](_0xfc9f6[_0x77430c(0x134)])[_0x77430c(0x21c)](_0x77430c(0x1f8))),_0x52244d=_0xf81fa9[_0x77430c(0x266)]=_0x280806(_0xfc9f6),_0xf81fa9[_0x77430c(0x150)]&&_0xf81fa9[_0x77430c(0x22e)](_0x77430c(0x21b),_0xf81fa9[_0x77430c(0x1c0)],_0x52244d);}else _0x52244d=_0xf81fa9['_req']=_0x280806(_0xfc9f6);_0xfc9f6[_0x77430c(0x182)]&&_0x52244d['on'](_0x77430c(0x182),()=>{const _0x40c581=_0x77430c;_0x5145ae(_0xf81fa9,_0x52244d,_0x40c581(0x22c));}),_0x52244d['on'](_0x77430c(0x15a),_0x5e6ecf=>{const _0x24a917=_0x77430c;_0x52244d===null||_0x52244d[_0x3060d2]||(_0x52244d=_0xf81fa9[_0x24a917(0x266)]=null,_0x5164c2(_0xf81fa9,_0x5e6ecf));}),_0x52244d['on']('response',_0x3ce31b=>{const _0x1fa003=_0x77430c,_0x55cecd=_0x3ce31b[_0x1fa003(0x24a)][_0x1fa003(0x165)],_0x58f665=_0x3ce31b['statusCode'];if(_0x55cecd&&_0xfc9f6[_0x1fa003(0x1db)]&&_0x58f665>=0x12c&&_0x58f665<0x190){if(++_0xf81fa9[_0x1fa003(0x150)]>_0xfc9f6[_0x1fa003(0x2a5)]){_0x5145ae(_0xf81fa9,_0x52244d,_0x1fa003(0x255));return;}_0x52244d[_0x1fa003(0x287)]();let _0x20e043;try{_0x20e043=new _0x5d53ed(_0x55cecd,_0x3c80b3);}catch{const _0x4366aa=new SyntaxError(_0x1fa003(0x1a4)+_0x55cecd);_0x5164c2(_0xf81fa9,_0x4366aa);return;}_0x30580f(_0xf81fa9,_0x20e043,_0xc2c68b,_0xabc9d8);}else _0xf81fa9[_0x1fa003(0x22e)](_0x1fa003(0x2bb),_0x52244d,_0x3ce31b)||_0x5145ae(_0xf81fa9,_0x52244d,_0x1fa003(0x19a)+_0x3ce31b[_0x1fa003(0x148)]);}),_0x52244d['on'](_0x77430c(0x2e0),(_0x35d09d,_0xf9d09d,_0x3f9ce2)=>{const _0x1f2dc2=_0x77430c;if(_0xf81fa9[_0x1f2dc2(0x22e)]('upgrade',_0x35d09d),_0xf81fa9[_0x1f2dc2(0x2dd)]!==_0x300422[_0x1f2dc2(0x172)])return;_0x52244d=_0xf81fa9[_0x1f2dc2(0x266)]=null;const _0x31b4b6=_0x35d09d[_0x1f2dc2(0x24a)][_0x1f2dc2(0x2e0)];if(_0x31b4b6===void 0x0||_0x31b4b6[_0x1f2dc2(0x1d5)]()!=='websocket'){_0x5145ae(_0xf81fa9,_0xf9d09d,_0x1f2dc2(0x19f));return;}const _0x520f5d=_0xa813c0(_0x1f2dc2(0x2d1))[_0x1f2dc2(0x190)](_0x501abc+_0x1dc0d5)[_0x1f2dc2(0x20a)](_0x1f2dc2(0x1f8));if(_0x35d09d[_0x1f2dc2(0x24a)][_0x1f2dc2(0x2cc)]!==_0x520f5d){_0x5145ae(_0xf81fa9,_0xf9d09d,_0x1f2dc2(0x293));return;}const _0x3458e7=_0x35d09d[_0x1f2dc2(0x24a)][_0x1f2dc2(0x27e)];let _0x434a83;if(_0x3458e7!==void 0x0?_0x3e42fa[_0x1f2dc2(0x1a5)]?_0x3e42fa[_0x1f2dc2(0x2a7)](_0x3458e7)||(_0x434a83=_0x1f2dc2(0x2b1)):_0x434a83=_0x1f2dc2(0x2d7):_0x3e42fa[_0x1f2dc2(0x1a5)]&&(_0x434a83='Server\x20sent\x20no\x20subprotocol'),_0x434a83){_0x5145ae(_0xf81fa9,_0xf9d09d,_0x434a83);return;}_0x3458e7&&(_0xf81fa9[_0x1f2dc2(0x1aa)]=_0x3458e7);const _0x113585=_0x35d09d[_0x1f2dc2(0x24a)][_0x1f2dc2(0x170)];if(_0x113585!==void 0x0){if(!_0x3ed8d3){_0x5145ae(_0xf81fa9,_0xf9d09d,_0x1f2dc2(0x1a7));return;}let _0x5b3eb5;try{_0x5b3eb5=_0x38baaa(_0x113585);}catch{_0x5145ae(_0xf81fa9,_0xf9d09d,_0x1f2dc2(0x2e2));return;}const _0x1d2a77=Object['keys'](_0x5b3eb5);if(_0x1d2a77[_0x1f2dc2(0x12b)]!==0x1||_0x1d2a77[0x0]!==_0x5d2738[_0x1f2dc2(0x2d5)]){_0x5145ae(_0xf81fa9,_0xf9d09d,'Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested');return;}try{_0x3ed8d3['accept'](_0x5b3eb5[_0x5d2738['extensionName']]);}catch{_0x5145ae(_0xf81fa9,_0xf9d09d,_0x1f2dc2(0x2e2));return;}_0xf81fa9[_0x1f2dc2(0x2c8)][_0x5d2738[_0x1f2dc2(0x2d5)]]=_0x3ed8d3;}_0xf81fa9[_0x1f2dc2(0x272)](_0xf9d09d,_0x3f9ce2,{'allowSynchronousEvents':_0xfc9f6[_0x1f2dc2(0x1fd)],'generateMask':_0xfc9f6['generateMask'],'maxPayload':_0xfc9f6[_0x1f2dc2(0x2d4)],'skipUTF8Validation':_0xfc9f6['skipUTF8Validation']});}),_0xfc9f6['finishRequest']?_0xfc9f6[_0x77430c(0x144)](_0x52244d,_0xf81fa9):_0x52244d[_0x77430c(0x213)]();}function _0x5164c2(_0x1ef961,_0x16b64e){const _0x4fe05e=_0x2d92b8;_0x1ef961[_0x4fe05e(0x1e6)]=_0x300422['CLOSING'],_0x1ef961['_errorEmitted']=!0x0,_0x1ef961[_0x4fe05e(0x22e)](_0x4fe05e(0x15a),_0x16b64e),_0x1ef961[_0x4fe05e(0x288)]();}function _0x57c076(_0x41efed){const _0x121450=_0x2d92b8;return _0x41efed[_0x121450(0x2b0)]=_0x41efed[_0x121450(0x1ce)],_0x1c6b3d['connect'](_0x41efed);}function _0x4dda2e(_0xdae427){const _0x3d653d=_0x2d92b8;return _0xdae427[_0x3d653d(0x2b0)]=void 0x0,!_0xdae427[_0x3d653d(0x2b9)]&&_0xdae427[_0x3d653d(0x2b9)]!==''&&(_0xdae427[_0x3d653d(0x2b9)]=_0x1c6b3d['isIP'](_0xdae427[_0x3d653d(0x14a)])?'':_0xdae427['host']),_0x4aa39e[_0x3d653d(0x2f3)](_0xdae427);}function _0x5145ae(_0x50deca,_0x47b9f0,_0x3376e3){const _0x5d6f68=_0x2d92b8;_0x50deca[_0x5d6f68(0x1e6)]=_0x300422[_0x5d6f68(0x189)];const _0x1a129f=new Error(_0x3376e3);Error[_0x5d6f68(0x21e)](_0x1a129f,_0x5145ae),_0x47b9f0[_0x5d6f68(0x158)]?(_0x47b9f0[_0x3060d2]=!0x0,_0x47b9f0['abort'](),_0x47b9f0['socket']&&!_0x47b9f0[_0x5d6f68(0x192)]['destroyed']&&_0x47b9f0[_0x5d6f68(0x192)][_0x5d6f68(0x204)](),process[_0x5d6f68(0x208)](_0x5164c2,_0x50deca,_0x1a129f)):(_0x47b9f0[_0x5d6f68(0x204)](_0x1a129f),_0x47b9f0['once'](_0x5d6f68(0x15a),_0x50deca['emit'][_0x5d6f68(0x284)](_0x50deca,_0x5d6f68(0x15a))),_0x47b9f0[_0x5d6f68(0x241)](_0x5d6f68(0x264),_0x50deca['emitClose'][_0x5d6f68(0x284)](_0x50deca)));}function _0x3bed0f(_0x38fea0,_0x313fc7,_0x3a0ad0){const _0x187ed0=_0x2d92b8;if(_0x313fc7){const _0x26c559=_0x5a5e2d(_0x313fc7)?_0x313fc7['size']:_0x3f1719(_0x313fc7)[_0x187ed0(0x12b)];_0x38fea0[_0x187ed0(0x2e3)]?_0x38fea0[_0x187ed0(0x2a1)][_0x187ed0(0x2a0)]+=_0x26c559:_0x38fea0['_bufferedAmount']+=_0x26c559;}if(_0x3a0ad0){const _0x342cf3=new Error(_0x187ed0(0x1ed)+_0x38fea0[_0x187ed0(0x2dd)]+'\x20('+_0x511a0a[_0x38fea0['readyState']]+')');process[_0x187ed0(0x208)](_0x3a0ad0,_0x342cf3);}}function _0x5d4f79(_0x31d5f2,_0x55b091){const _0x3766f0=_0x2d92b8,_0x2fe5b7=this[_0x33db4f];_0x2fe5b7[_0x3766f0(0x2e6)]=!0x0,_0x2fe5b7[_0x3766f0(0x21f)]=_0x55b091,_0x2fe5b7[_0x3766f0(0x2ee)]=_0x31d5f2,_0x2fe5b7[_0x3766f0(0x2e3)][_0x33db4f]!==void 0x0&&(_0x2fe5b7['_socket'][_0x3766f0(0x220)](_0x3766f0(0x2cf),_0x394f51),process['nextTick'](_0x404f0c,_0x2fe5b7[_0x3766f0(0x2e3)]),_0x31d5f2===0x3ed?_0x2fe5b7['close']():_0x2fe5b7[_0x3766f0(0x264)](_0x31d5f2,_0x55b091));}function _0x5f0260(){const _0x1f883d=_0x2d92b8,_0x438515=this[_0x33db4f];_0x438515[_0x1f883d(0x177)]||_0x438515[_0x1f883d(0x2e3)][_0x1f883d(0x14f)]();}function _0x5ede1a(_0x2c5aac){const _0x139e19=_0x2d92b8,_0x446436=this[_0x33db4f];_0x446436[_0x139e19(0x2e3)][_0x33db4f]!==void 0x0&&(_0x446436[_0x139e19(0x2e3)][_0x139e19(0x220)]('data',_0x394f51),process[_0x139e19(0x208)](_0x404f0c,_0x446436[_0x139e19(0x2e3)]),_0x446436[_0x139e19(0x264)](_0x2c5aac[_0x408974])),_0x446436[_0x139e19(0x2df)]||(_0x446436[_0x139e19(0x2df)]=!0x0,_0x446436[_0x139e19(0x22e)](_0x139e19(0x15a),_0x2c5aac));}function _0x29de7b(){this[_0x33db4f]['emitClose']();}function _0x57e6e0(_0x1f5ff2,_0x2ff288){const _0x51c5e3=_0x2d92b8;this[_0x33db4f][_0x51c5e3(0x22e)]('message',_0x1f5ff2,_0x2ff288);}function _0x3b38e7(_0x14d5e3){const _0x191b83=_0x2d92b8,_0x10d188=this[_0x33db4f];_0x10d188[_0x191b83(0x17d)]&&_0x10d188['pong'](_0x14d5e3,!this[_0x191b83(0x13d)],_0x3ad0dc),_0x10d188['emit'](_0x191b83(0x181),_0x14d5e3);}function _0x3e9897(_0x599ead){const _0x4844a7=_0x2d92b8;this[_0x33db4f][_0x4844a7(0x22e)](_0x4844a7(0x136),_0x599ead);}function _0x404f0c(_0x5126f0){const _0x3626dc=_0x2d92b8;_0x5126f0[_0x3626dc(0x14f)]();}function _0x4ac20e(_0x4e95b0){const _0x5d1ad2=_0x2d92b8,_0x37131a=this[_0x33db4f];_0x37131a[_0x5d1ad2(0x2dd)]!==_0x300422[_0x5d1ad2(0x1ab)]&&(_0x37131a[_0x5d1ad2(0x2dd)]===_0x300422[_0x5d1ad2(0x2ac)]&&(_0x37131a['_readyState']=_0x300422[_0x5d1ad2(0x189)],_0x21f8dc(_0x37131a)),this['_socket'][_0x5d1ad2(0x213)](),_0x37131a[_0x5d1ad2(0x2df)]||(_0x37131a[_0x5d1ad2(0x2df)]=!0x0,_0x37131a[_0x5d1ad2(0x22e)]('error',_0x4e95b0)));}function _0x21f8dc(_0x45c8b3){const _0x51158e=_0x2d92b8;_0x45c8b3[_0x51158e(0x280)]=setTimeout(_0x45c8b3['_socket']['destroy'][_0x51158e(0x284)](_0x45c8b3['_socket']),_0x29cd63);}function _0x394120(){const _0x33a55f=_0x2d92b8,_0x447885=this[_0x33db4f];this[_0x33a55f(0x220)](_0x33a55f(0x264),_0x394120),this[_0x33a55f(0x220)](_0x33a55f(0x2cf),_0x394f51),this[_0x33a55f(0x220)](_0x33a55f(0x213),_0x5f4293),_0x447885[_0x33a55f(0x1e6)]=_0x300422[_0x33a55f(0x189)];let _0x3aec12;!this[_0x33a55f(0x214)][_0x33a55f(0x2a2)]&&!_0x447885['_closeFrameReceived']&&!_0x447885[_0x33a55f(0x2de)]['_writableState'][_0x33a55f(0x17e)]&&(_0x3aec12=_0x447885[_0x33a55f(0x2e3)][_0x33a55f(0x1cf)]())!==null&&_0x447885[_0x33a55f(0x2de)][_0x33a55f(0x249)](_0x3aec12),_0x447885['_receiver'][_0x33a55f(0x213)](),this[_0x33db4f]=void 0x0,clearTimeout(_0x447885[_0x33a55f(0x280)]),_0x447885['_receiver']['_writableState'][_0x33a55f(0x298)]||_0x447885[_0x33a55f(0x2de)]['_writableState']['errorEmitted']?_0x447885[_0x33a55f(0x288)]():(_0x447885[_0x33a55f(0x2de)]['on']('error',_0x29de7b),_0x447885[_0x33a55f(0x2de)]['on'](_0x33a55f(0x2c6),_0x29de7b));}function _0x394f51(_0x1dbd74){this[_0x33db4f]['_receiver']['write'](_0x1dbd74)||this['pause']();}function _0x5f4293(){const _0xe66ed4=_0x2d92b8,_0x2b1b6d=this[_0x33db4f];_0x2b1b6d[_0xe66ed4(0x1e6)]=_0x300422[_0xe66ed4(0x189)],_0x2b1b6d[_0xe66ed4(0x2de)][_0xe66ed4(0x213)](),this[_0xe66ed4(0x213)]();}function _0x22510a(){const _0x5ecbbe=_0x2d92b8,_0x1383cd=this[_0x33db4f];this['removeListener']('error',_0x22510a),this['on'](_0x5ecbbe(0x15a),_0x3ad0dc),_0x1383cd&&(_0x1383cd['_readyState']=_0x300422['CLOSING'],this['destroy']());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x4b0aaa}=oe;function _0x1cc31b(_0x53847a){const _0x2253fa=_0x9265;_0x53847a[_0x2253fa(0x22e)](_0x2253fa(0x264));}function _0x37c397(){const _0x140973=_0x9265;!this[_0x140973(0x146)]&&this['_writableState']['finished']&&this['destroy']();}function _0x253055(_0x2ac526){const _0x25b9ef=_0x9265;this[_0x25b9ef(0x220)]('error',_0x253055),this['destroy'](),this[_0x25b9ef(0x1ec)](_0x25b9ef(0x15a))===0x0&&this[_0x25b9ef(0x22e)](_0x25b9ef(0x15a),_0x2ac526);}function _0x7c4982(_0x18518c,_0x5c791a){const _0x3763c1=_0x9265;let _0x55203b=!0x0;const _0xb59c00=new _0x4b0aaa({..._0x5c791a,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x18518c['on'](_0x3763c1(0x27f),function(_0x18a258,_0x2122e1){const _0x2e7972=_0x3763c1,_0x4c52da=!_0x2122e1&&_0xb59c00[_0x2e7972(0x214)][_0x2e7972(0x13a)]?_0x18a258[_0x2e7972(0x21c)]():_0x18a258;_0xb59c00[_0x2e7972(0x2e1)](_0x4c52da)||_0x18518c[_0x2e7972(0x227)]();}),_0x18518c['once']('error',function(_0x11e2c5){const _0x392f60=_0x3763c1;_0xb59c00['destroyed']||(_0x55203b=!0x1,_0xb59c00[_0x392f60(0x204)](_0x11e2c5));}),_0x18518c[_0x3763c1(0x241)]('close',function(){const _0x3104a2=_0x3763c1;_0xb59c00['destroyed']||_0xb59c00[_0x3104a2(0x2e1)](null);}),_0xb59c00[_0x3763c1(0x29f)]=function(_0x3d2acf,_0x32b790){const _0x2f75c2=_0x3763c1;if(_0x18518c[_0x2f75c2(0x2dd)]===_0x18518c[_0x2f75c2(0x1ab)]){_0x32b790(_0x3d2acf),process['nextTick'](_0x1cc31b,_0xb59c00);return;}let _0x6d7a27=!0x1;_0x18518c[_0x2f75c2(0x241)](_0x2f75c2(0x15a),function(_0xee9df2){_0x6d7a27=!0x0,_0x32b790(_0xee9df2);}),_0x18518c['once'](_0x2f75c2(0x264),function(){_0x6d7a27||_0x32b790(_0x3d2acf),process['nextTick'](_0x1cc31b,_0xb59c00);}),_0x55203b&&_0x18518c[_0x2f75c2(0x1b6)]();},_0xb59c00[_0x3763c1(0x19e)]=function(_0x4c369f){const _0x32864c=_0x3763c1;if(_0x18518c[_0x32864c(0x2dd)]===_0x18518c[_0x32864c(0x172)]){_0x18518c['once'](_0x32864c(0x290),function(){const _0x586cbc=_0x32864c;_0xb59c00[_0x586cbc(0x19e)](_0x4c369f);});return;}_0x18518c[_0x32864c(0x2e3)]!==null&&(_0x18518c[_0x32864c(0x2e3)][_0x32864c(0x248)][_0x32864c(0x298)]?(_0x4c369f(),_0xb59c00[_0x32864c(0x214)][_0x32864c(0x2a2)]&&_0xb59c00[_0x32864c(0x204)]()):(_0x18518c['_socket'][_0x32864c(0x241)](_0x32864c(0x2c6),function(){_0x4c369f();}),_0x18518c['close']()));},_0xb59c00[_0x3763c1(0x274)]=function(){const _0x30619a=_0x3763c1;_0x18518c['isPaused']&&_0x18518c[_0x30619a(0x14f)]();},_0xb59c00['_write']=function(_0x385acb,_0x21667a,_0x3e37d9){const _0x232cdb=_0x3763c1;if(_0x18518c['readyState']===_0x18518c['CONNECTING']){_0x18518c[_0x232cdb(0x241)](_0x232cdb(0x290),function(){const _0x457757=_0x232cdb;_0xb59c00[_0x457757(0x1c8)](_0x385acb,_0x21667a,_0x3e37d9);});return;}_0x18518c['send'](_0x385acb,_0x3e37d9);},_0xb59c00['on'](_0x3763c1(0x213),_0x37c397),_0xb59c00['on'](_0x3763c1(0x15a),_0x253055),_0xb59c00;}return Oe=_0x7c4982,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x2f592b}=ae();function _0x11de20(_0x59be75){const _0x55703a=_0x9265,_0x56d941=new Set();let _0x3ad4b9=-0x1,_0x3e3572=-0x1,_0x1ad5ba=0x0;for(_0x1ad5ba;_0x1ad5ba<_0x59be75['length'];_0x1ad5ba++){const _0x3033da=_0x59be75[_0x55703a(0x1e0)](_0x1ad5ba);if(_0x3e3572===-0x1&&_0x2f592b[_0x3033da]===0x1)_0x3ad4b9===-0x1&&(_0x3ad4b9=_0x1ad5ba);else{if(_0x1ad5ba!==0x0&&(_0x3033da===0x20||_0x3033da===0x9))_0x3e3572===-0x1&&_0x3ad4b9!==-0x1&&(_0x3e3572=_0x1ad5ba);else{if(_0x3033da===0x2c){if(_0x3ad4b9===-0x1)throw new SyntaxError(_0x55703a(0x2d0)+_0x1ad5ba);_0x3e3572===-0x1&&(_0x3e3572=_0x1ad5ba);const _0x269a4e=_0x59be75[_0x55703a(0x215)](_0x3ad4b9,_0x3e3572);if(_0x56d941[_0x55703a(0x2a7)](_0x269a4e))throw new SyntaxError(_0x55703a(0x23b)+_0x269a4e+_0x55703a(0x16e));_0x56d941[_0x55703a(0x2da)](_0x269a4e),_0x3ad4b9=_0x3e3572=-0x1;}else throw new SyntaxError(_0x55703a(0x2d0)+_0x1ad5ba);}}}if(_0x3ad4b9===-0x1||_0x3e3572!==-0x1)throw new SyntaxError(_0x55703a(0x1f5));const _0x37ac4b=_0x59be75[_0x55703a(0x215)](_0x3ad4b9,_0x1ad5ba);if(_0x56d941['has'](_0x37ac4b))throw new SyntaxError(_0x55703a(0x23b)+_0x37ac4b+'\x22\x20subprotocol\x20is\x20duplicated');return _0x56d941[_0x55703a(0x2da)](_0x37ac4b),_0x56d941;}return Ce={'parse':_0x11de20},Ce;}var Te,rt;function Ft(){const _0x201707=_0x56ab5b;if(rt)return Te;rt=0x1;const _0x32671d=nt,_0x1cc82c=ot,{Duplex:_0x3acc43}=oe,{createHash:_0x4f2ce6}=Le,_0x1cb3e6=ct(),_0x30b189=he(),_0x1e67c2=At(),_0x28f4c1=Pe(),{GUID:_0x4f90c3,kWebSocket:_0x23e4fc}=H(),_0x4cd10c=/^[+/0-9A-Za-z]{22}==$/,_0x318eb2=0x0,_0x362121=0x1,_0x22b783=0x2;class _0x20b3fa extends _0x32671d{constructor(_0x3c724a,_0x286099){const _0xf53037=_0x9265;if(super(),_0x3c724a={'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':_0x28f4c1,..._0x3c724a},_0x3c724a[_0xf53037(0x137)]==null&&!_0x3c724a[_0xf53037(0x156)]&&!_0x3c724a[_0xf53037(0x2a9)]||_0x3c724a[_0xf53037(0x137)]!=null&&(_0x3c724a['server']||_0x3c724a[_0xf53037(0x2a9)])||_0x3c724a[_0xf53037(0x156)]&&_0x3c724a[_0xf53037(0x2a9)])throw new TypeError(_0xf53037(0x270));if(_0x3c724a[_0xf53037(0x137)]!=null?(this[_0xf53037(0x235)]=_0x1cc82c[_0xf53037(0x16b)]((_0x573916,_0x3143ff)=>{const _0x20de3f=_0xf53037,_0x1210a0=_0x1cc82c[_0x20de3f(0x224)][0x1aa];_0x3143ff[_0x20de3f(0x1dd)](0x1aa,{'Content-Length':_0x1210a0[_0x20de3f(0x12b)],'Content-Type':_0x20de3f(0x15e)}),_0x3143ff[_0x20de3f(0x213)](_0x1210a0);}),this['_server'][_0xf53037(0x200)](_0x3c724a['port'],_0x3c724a[_0xf53037(0x14a)],_0x3c724a[_0xf53037(0x15d)],_0x286099)):_0x3c724a['server']&&(this[_0xf53037(0x235)]=_0x3c724a[_0xf53037(0x156)]),this[_0xf53037(0x235)]){const _0x40bc9a=this[_0xf53037(0x22e)][_0xf53037(0x284)](this,_0xf53037(0x18f));this[_0xf53037(0x1bb)]=_0x404572(this[_0xf53037(0x235)],{'listening':this[_0xf53037(0x22e)]['bind'](this,_0xf53037(0x239)),'error':this[_0xf53037(0x22e)][_0xf53037(0x284)](this,_0xf53037(0x15a)),'upgrade':(_0x4b0625,_0x277547,_0x4c9fa0)=>{const _0x42c079=_0xf53037;this[_0x42c079(0x2cb)](_0x4b0625,_0x277547,_0x4c9fa0,_0x40bc9a);}});}_0x3c724a['perMessageDeflate']===!0x0&&(_0x3c724a['perMessageDeflate']={}),_0x3c724a[_0xf53037(0x1b2)]&&(this[_0xf53037(0x20c)]=new Set(),this['_shouldEmitClose']=!0x1),this[_0xf53037(0x242)]=_0x3c724a,this[_0xf53037(0x219)]=_0x318eb2;}[_0x201707(0x237)](){const _0x50af07=_0x201707;if(this[_0x50af07(0x242)][_0x50af07(0x2a9)])throw new Error(_0x50af07(0x1d4));return this[_0x50af07(0x235)]?this[_0x50af07(0x235)][_0x50af07(0x237)]():null;}[_0x201707(0x264)](_0x1dbdf){const _0x2c0150=_0x201707;if(this[_0x2c0150(0x219)]===_0x22b783){_0x1dbdf&&this[_0x2c0150(0x241)](_0x2c0150(0x264),()=>{_0x1dbdf(new Error('The\x20server\x20is\x20not\x20running'));}),process['nextTick'](_0x4a96ef,this);return;}if(_0x1dbdf&&this['once']('close',_0x1dbdf),this[_0x2c0150(0x219)]!==_0x362121){if(this[_0x2c0150(0x219)]=_0x362121,this[_0x2c0150(0x242)]['noServer']||this[_0x2c0150(0x242)][_0x2c0150(0x156)])this[_0x2c0150(0x235)]&&(this['_removeListeners'](),this['_removeListeners']=this[_0x2c0150(0x235)]=null),this[_0x2c0150(0x20c)]?this[_0x2c0150(0x20c)][_0x2c0150(0x1a5)]?this[_0x2c0150(0x229)]=!0x0:process[_0x2c0150(0x208)](_0x4a96ef,this):process['nextTick'](_0x4a96ef,this);else{const _0x5497cf=this[_0x2c0150(0x235)];this[_0x2c0150(0x1bb)](),this[_0x2c0150(0x1bb)]=this['_server']=null,_0x5497cf['close'](()=>{_0x4a96ef(this);});}}}['shouldHandle'](_0x15e8d1){const _0x5c55fd=_0x201707;if(this[_0x5c55fd(0x242)][_0x5c55fd(0x2b0)]){const _0x3e03b9=_0x15e8d1['url']['indexOf']('?');if((_0x3e03b9!==-0x1?_0x15e8d1['url']['slice'](0x0,_0x3e03b9):_0x15e8d1['url'])!==this[_0x5c55fd(0x242)][_0x5c55fd(0x2b0)])return!0x1;}return!0x0;}['handleUpgrade'](_0x4539d3,_0x440d01,_0x1159b6,_0x2f3cf1){const _0x1257c7=_0x201707;_0x440d01['on'](_0x1257c7(0x15a),_0x5ea778);const _0x254d38=_0x4539d3[_0x1257c7(0x24a)][_0x1257c7(0x2c3)],_0x2256bc=_0x4539d3[_0x1257c7(0x24a)][_0x1257c7(0x2e0)],_0x315378=+_0x4539d3[_0x1257c7(0x24a)]['sec-websocket-version'];if(_0x4539d3[_0x1257c7(0x1c6)]!=='GET'){_0x4488ab(this,_0x4539d3,_0x440d01,0x195,_0x1257c7(0x1eb));return;}if(_0x2256bc===void 0x0||_0x2256bc[_0x1257c7(0x1d5)]()!=='websocket'){_0x4488ab(this,_0x4539d3,_0x440d01,0x190,_0x1257c7(0x19f));return;}if(_0x254d38===void 0x0||!_0x4cd10c[_0x1257c7(0x140)](_0x254d38)){_0x4488ab(this,_0x4539d3,_0x440d01,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header');return;}if(_0x315378!==0xd&&_0x315378!==0x8){_0x4488ab(this,_0x4539d3,_0x440d01,0x190,_0x1257c7(0x2d2),{'Sec-WebSocket-Version':_0x1257c7(0x1a1)});return;}if(!this[_0x1257c7(0x267)](_0x4539d3)){_0x17050a(_0x440d01,0x190);return;}const _0x80f638=_0x4539d3['headers']['sec-websocket-protocol'];let _0x50a31b=new Set();if(_0x80f638!==void 0x0)try{_0x50a31b=_0x1e67c2[_0x1257c7(0x217)](_0x80f638);}catch{_0x4488ab(this,_0x4539d3,_0x440d01,0x190,_0x1257c7(0x1a3));return;}const _0xd586b7=_0x4539d3['headers'][_0x1257c7(0x170)],_0x277714={};if(this['options']['perMessageDeflate']&&_0xd586b7!==void 0x0){const _0x57ece1=new _0x30b189(this[_0x1257c7(0x242)][_0x1257c7(0x14e)],!0x0,this[_0x1257c7(0x242)][_0x1257c7(0x2d4)]);try{const _0x30ba47=_0x1cb3e6[_0x1257c7(0x217)](_0xd586b7);_0x30ba47[_0x30b189[_0x1257c7(0x2d5)]]&&(_0x57ece1[_0x1257c7(0x2f2)](_0x30ba47[_0x30b189[_0x1257c7(0x2d5)]]),_0x277714[_0x30b189[_0x1257c7(0x2d5)]]=_0x57ece1);}catch{_0x4488ab(this,_0x4539d3,_0x440d01,0x190,_0x1257c7(0x1bc));return;}}if(this[_0x1257c7(0x242)][_0x1257c7(0x218)]){const _0x1fc5f8={'origin':_0x4539d3[_0x1257c7(0x24a)][''+(_0x315378===0x8?_0x1257c7(0x234):_0x1257c7(0x256))],'secure':!!(_0x4539d3[_0x1257c7(0x192)][_0x1257c7(0x139)]||_0x4539d3[_0x1257c7(0x192)][_0x1257c7(0x162)]),'req':_0x4539d3};if(this[_0x1257c7(0x242)]['verifyClient'][_0x1257c7(0x12b)]===0x2){this[_0x1257c7(0x242)][_0x1257c7(0x218)](_0x1fc5f8,(_0x433b9e,_0x555ab5,_0x2056fb,_0x254ef5)=>{const _0x2361f5=_0x1257c7;if(!_0x433b9e)return _0x17050a(_0x440d01,_0x555ab5||0x191,_0x2056fb,_0x254ef5);this[_0x2361f5(0x2e7)](_0x277714,_0x254d38,_0x50a31b,_0x4539d3,_0x440d01,_0x1159b6,_0x2f3cf1);});return;}if(!this[_0x1257c7(0x242)][_0x1257c7(0x218)](_0x1fc5f8))return _0x17050a(_0x440d01,0x191);}this[_0x1257c7(0x2e7)](_0x277714,_0x254d38,_0x50a31b,_0x4539d3,_0x440d01,_0x1159b6,_0x2f3cf1);}[_0x201707(0x2e7)](_0x4e0a94,_0x5315ff,_0x36cd7a,_0x3b29ea,_0x214f8f,_0x2f90f8,_0x1d58d1){const _0x3cc0a4=_0x201707;if(!_0x214f8f[_0x3cc0a4(0x2c1)]||!_0x214f8f[_0x3cc0a4(0x1be)])return _0x214f8f['destroy']();if(_0x214f8f[_0x23e4fc])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this[_0x3cc0a4(0x219)]>_0x318eb2)return _0x17050a(_0x214f8f,0x1f7);const _0x58f012=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0x3cc0a4(0x297),_0x3cc0a4(0x2c2),'Sec-WebSocket-Accept:\x20'+_0x4f2ce6(_0x3cc0a4(0x2d1))['update'](_0x5315ff+_0x4f90c3)[_0x3cc0a4(0x20a)]('base64')],_0x277ff7=new this[(_0x3cc0a4(0x242))][(_0x3cc0a4(0x22f))](null,void 0x0,this[_0x3cc0a4(0x242)]);if(_0x36cd7a['size']){const _0x4f1240=this[_0x3cc0a4(0x242)][_0x3cc0a4(0x176)]?this['options'][_0x3cc0a4(0x176)](_0x36cd7a,_0x3b29ea):_0x36cd7a[_0x3cc0a4(0x251)]()[_0x3cc0a4(0x160)]()[_0x3cc0a4(0x18b)];_0x4f1240&&(_0x58f012[_0x3cc0a4(0x2e1)](_0x3cc0a4(0x238)+_0x4f1240),_0x277ff7[_0x3cc0a4(0x1aa)]=_0x4f1240);}if(_0x4e0a94[_0x30b189[_0x3cc0a4(0x2d5)]]){const _0x53f8fb=_0x4e0a94[_0x30b189[_0x3cc0a4(0x2d5)]][_0x3cc0a4(0x25d)],_0x5e591c=_0x1cb3e6[_0x3cc0a4(0x17c)]({[_0x30b189[_0x3cc0a4(0x2d5)]]:[_0x53f8fb]});_0x58f012[_0x3cc0a4(0x2e1)](_0x3cc0a4(0x1f1)+_0x5e591c),_0x277ff7[_0x3cc0a4(0x2c8)]=_0x4e0a94;}this[_0x3cc0a4(0x22e)](_0x3cc0a4(0x24a),_0x58f012,_0x3b29ea),_0x214f8f[_0x3cc0a4(0x249)](_0x58f012[_0x3cc0a4(0x19c)]('\x0d\x0a')[_0x3cc0a4(0x1e7)]('\x0d\x0a')),_0x214f8f[_0x3cc0a4(0x220)](_0x3cc0a4(0x15a),_0x5ea778),_0x277ff7['setSocket'](_0x214f8f,_0x2f90f8,{'allowSynchronousEvents':this[_0x3cc0a4(0x242)]['allowSynchronousEvents'],'maxPayload':this[_0x3cc0a4(0x242)][_0x3cc0a4(0x2d4)],'skipUTF8Validation':this['options'][_0x3cc0a4(0x193)]}),this[_0x3cc0a4(0x20c)]&&(this['clients'][_0x3cc0a4(0x2da)](_0x277ff7),_0x277ff7['on']('close',()=>{const _0x4628d7=_0x3cc0a4;this[_0x4628d7(0x20c)][_0x4628d7(0x281)](_0x277ff7),this[_0x4628d7(0x229)]&&!this[_0x4628d7(0x20c)]['size']&&process[_0x4628d7(0x208)](_0x4a96ef,this);})),_0x1d58d1(_0x277ff7,_0x3b29ea);}}Te=_0x20b3fa;function _0x404572(_0x3a42ff,_0x739ff1){for(const _0x33ee71 of Object['keys'](_0x739ff1))_0x3a42ff['on'](_0x33ee71,_0x739ff1[_0x33ee71]);return function(){const _0x24c659=_0x9265;for(const _0x3be120 of Object[_0x24c659(0x164)](_0x739ff1))_0x3a42ff[_0x24c659(0x220)](_0x3be120,_0x739ff1[_0x3be120]);};}function _0x4a96ef(_0x5c78b6){const _0x19ec3b=_0x201707;_0x5c78b6[_0x19ec3b(0x219)]=_0x22b783,_0x5c78b6[_0x19ec3b(0x22e)]('close');}function _0x5ea778(){const _0x424171=_0x201707;this[_0x424171(0x204)]();}function _0x17050a(_0x55e530,_0x55a4a9,_0x497dfd,_0x393cd6){const _0x5e9c6f=_0x201707;_0x497dfd=_0x497dfd||_0x1cc82c['STATUS_CODES'][_0x55a4a9],_0x393cd6={'Connection':_0x5e9c6f(0x264),'Content-Type':_0x5e9c6f(0x1d7),'Content-Length':Buffer[_0x5e9c6f(0x2d6)](_0x497dfd),..._0x393cd6},_0x55e530[_0x5e9c6f(0x241)]('finish',_0x55e530[_0x5e9c6f(0x204)]),_0x55e530[_0x5e9c6f(0x213)]('HTTP/1.1\x20'+_0x55a4a9+'\x20'+_0x1cc82c[_0x5e9c6f(0x224)][_0x55a4a9]+'\x0d\x0a'+Object[_0x5e9c6f(0x164)](_0x393cd6)[_0x5e9c6f(0x2ea)](_0x3a6d1b=>_0x3a6d1b+':\x20'+_0x393cd6[_0x3a6d1b])[_0x5e9c6f(0x1e7)]('\x0d\x0a')+_0x5e9c6f(0x175)+_0x497dfd);}function _0x4488ab(_0x456ffc,_0x229092,_0xf7cd36,_0x119a64,_0x78f771,_0x4447a1){const _0x4f8be9=_0x201707;if(_0x456ffc[_0x4f8be9(0x1ec)](_0x4f8be9(0x271))){const _0x566ab1=new Error(_0x78f771);Error[_0x4f8be9(0x21e)](_0x566ab1,_0x4488ab),_0x456ffc[_0x4f8be9(0x22e)](_0x4f8be9(0x271),_0x566ab1,_0xf7cd36,_0x229092);}else _0x17050a(_0xf7cd36,_0x119a64,_0x78f771,_0x4447a1);}return Te;}Ft();var jt=Object[_0x56ab5b(0x1af)],Wt=(_0x5a1a0c,_0x3b0213,_0xc58ec,_0x36fa95)=>{const _0x1fab4f=_0x56ab5b;for(var _0x2bf4bf=_0x36fa95>0x1?void 0x0:_0x36fa95?jt(_0x3b0213,_0xc58ec):_0x3b0213,_0x4e1182=_0x5a1a0c[_0x1fab4f(0x12b)]-0x1,_0x12e442;_0x4e1182>=0x0;_0x4e1182--)(_0x12e442=_0x5a1a0c[_0x4e1182])&&(_0x2bf4bf=_0x12e442(_0x2bf4bf)||_0x2bf4bf);return _0x2bf4bf;},qt=(_0x47dffe,_0x401b84)=>(_0x422416,_0x1ac0df)=>_0x401b84(_0x422416,_0x1ac0df,_0x47dffe);let ke=class extends A[_0x56ab5b(0x153)]{constructor(_0x24b197){super(),this['_configService']=_0x24b197;}[_0x56ab5b(0x2d8)](_0x1d62be){const _0x27044d=_0x56ab5b;var _0x4323e5;const _0x115ae3=(_0x4323e5=this['_configService'][_0x27044d(0x259)](fe))==null?void 0x0:_0x4323e5[_0x27044d(0x14d)];try{const _0x36239e=new $t(_0x1d62be,{'headers':{..._0x115ae3}}),_0x28af13=new A['DisposableCollection']();return{'URL':_0x1d62be,'close':(_0x8edc48,_0x169b22)=>{const _0x141945=_0x27044d;_0x36239e[_0x141945(0x264)](_0x8edc48,_0x169b22),_0x28af13[_0x141945(0x1e1)]();},'send':_0x3f84b2=>{const _0x48d3a4=_0x27044d;_0x36239e[_0x48d3a4(0x1c4)](_0x3f84b2);},'open$':new V[(_0x27044d(0x2ae))](_0x4381fa=>{const _0x19c4da=_0x27044d,_0x335c04=_0x4265f7=>_0x4381fa[_0x19c4da(0x160)](_0x4265f7);_0x36239e[_0x19c4da(0x2ef)](_0x19c4da(0x290),_0x335c04),_0x28af13[_0x19c4da(0x2da)](A[_0x19c4da(0x1f2)](()=>_0x36239e[_0x19c4da(0x1e8)](_0x19c4da(0x290),_0x335c04)));})[_0x27044d(0x1df)](V[_0x27044d(0x1c1)]()),'close$':new V[(_0x27044d(0x2ae))](_0xf52104=>{const _0x45373a=_0x27044d,_0x37b2c2=_0xb6327a=>_0xf52104[_0x45373a(0x160)](_0xb6327a);_0x36239e[_0x45373a(0x2ef)]('close',_0x37b2c2),_0x28af13[_0x45373a(0x2da)](A[_0x45373a(0x1f2)](()=>_0x36239e[_0x45373a(0x1e8)](_0x45373a(0x264),_0x37b2c2)));})['pipe'](V['share']()),'error$':new V[(_0x27044d(0x2ae))](_0x56708f=>{const _0x55ebd7=_0x27044d,_0x39cb2e=_0x19cf03=>_0x56708f['next'](_0x19cf03);_0x36239e[_0x55ebd7(0x2ef)]('error',_0x39cb2e),_0x28af13['add'](A[_0x55ebd7(0x1f2)](()=>_0x36239e[_0x55ebd7(0x1e8)](_0x55ebd7(0x15a),_0x39cb2e)));})[_0x27044d(0x1df)](V[_0x27044d(0x1c1)]()),'message$':new V[(_0x27044d(0x2ae))](_0x579d4f=>{const _0x90a08b=_0x27044d,_0x424b78=_0x2b9a2d=>_0x579d4f[_0x90a08b(0x160)](_0x2b9a2d);_0x36239e['addEventListener']('message',_0x424b78),_0x28af13[_0x90a08b(0x2da)](A[_0x90a08b(0x1f2)](()=>_0x36239e[_0x90a08b(0x1e8)](_0x90a08b(0x27f),_0x424b78)));})[_0x27044d(0x1df)](V[_0x27044d(0x1c1)]())};}catch(_0x2a648a){return console[_0x27044d(0x15a)](_0x2a648a),null;}}};ke=Wt([qt(0x0,A['IConfigService'])],ke);var Gt=Object[_0x56ab5b(0x209)],Vt=Object['getOwnPropertyDescriptor'],Ht=(_0x5b2f86,_0xd1839c,_0x5df3d7)=>_0xd1839c in _0x5b2f86?Gt(_0x5b2f86,_0xd1839c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5df3d7}):_0x5b2f86[_0xd1839c]=_0x5df3d7,zt=(_0x417b1f,_0x5cc45a,_0x41b46f,_0x3bcfc)=>{const _0x3e2875=_0x56ab5b;for(var _0x2553f2=_0x3bcfc>0x1?void 0x0:_0x3bcfc?Vt(_0x5cc45a,_0x41b46f):_0x5cc45a,_0x59190a=_0x417b1f[_0x3e2875(0x12b)]-0x1,_0x32aa84;_0x59190a>=0x0;_0x59190a--)(_0x32aa84=_0x417b1f[_0x59190a])&&(_0x2553f2=_0x32aa84(_0x2553f2)||_0x2553f2);return _0x2553f2;},Ne=(_0xae28bf,_0x347d20)=>(_0x2407c1,_0x1cf5fc)=>_0x347d20(_0x2407c1,_0x1cf5fc,_0xae28bf),Yt=(_0x38ae1d,_0x1ac5a0,_0x8cb566)=>Ht(_0x38ae1d,_0x1ac5a0+'',_0x8cb566);exports[_0x56ab5b(0x1f7)]=class extends A[_0x56ab5b(0x222)]{constructor(_0x410a50=Ct,_0x46db7e,_0x257510,_0x4727ef){const _0x1bcad6=_0x56ab5b;_0x410a50[_0x1bcad6(0x14d)]||_0x46db7e[_0x1bcad6(0x232)](_0x1bcad6(0x2ec)),super(),this[_0x1bcad6(0x2ce)]=_0x257510,this[_0x1bcad6(0x1f4)]=_0x4727ef,this[_0x1bcad6(0x2ce)][_0x1bcad6(0x1d0)](fe,_0x410a50);}[_0x56ab5b(0x26d)](){const _0x47134d=_0x56ab5b;this[_0x47134d(0x22a)]();}[_0x56ab5b(0x22a)](){const _0xdc5954=_0x56ab5b;A[_0xdc5954(0x1c2)](this[_0xdc5954(0x1f4)],[[it[_0xdc5954(0x197)],{'useClass':ke}]]);}},Yt(exports['UniverCollaborationClientNodePlugin'],_0x56ab5b(0x1a2),_0x56ab5b(0x143)),exports[_0x56ab5b(0x1f7)]=zt([A[_0x56ab5b(0x169)](st['UniverCollaborationClientPlugin']),Ne(0x1,A[_0x56ab5b(0x194)]),Ne(0x2,A[_0x56ab5b(0x2a8)]),Ne(0x3,A['Inject'](A[_0x56ab5b(0x1fe)]))],exports[_0x56ab5b(0x1f7)]);var Kt=Object[_0x56ab5b(0x1af)],Xt=(_0x46d317,_0xf6797d,_0x2764a0,_0x2e0f39)=>{const _0x317ba1=_0x56ab5b;for(var _0x5156ce=_0x2e0f39>0x1?void 0x0:_0x2e0f39?Kt(_0xf6797d,_0x2764a0):_0xf6797d,_0x2503cb=_0x46d317[_0x317ba1(0x12b)]-0x1,_0x2cca7a;_0x2503cb>=0x0;_0x2503cb--)(_0x2cca7a=_0x46d317[_0x2503cb])&&(_0x5156ce=_0x2cca7a(_0x5156ce)||_0x5156ce);return _0x5156ce;},ne=(_0x3bd626,_0x493e6d)=>(_0x3f396c,_0x46f817)=>_0x493e6d(_0x3f396c,_0x46f817,_0x3bd626);exports[_0x56ab5b(0x173)]=class extends st[_0x56ab5b(0x1f0)]{constructor(_0x29298e,_0x27eb87,_0x3d11c3,_0x526722,_0x55f2f0){const _0x277a6e=_0x56ab5b;super(_0x29298e,_0x27eb87,_0x3d11c3,_0x526722,_0x55f2f0);const _0x51dac0=this[_0x277a6e(0x2ce)][_0x277a6e(0x259)](fe);this[_0x277a6e(0x210)]['registerHTTPInterceptor']({'interceptor':(_0x544d04,_0xf40a65)=>{const _0x4a47dc=_0x277a6e;var _0x3f602c;const _0x47e4ce=_0x544d04[_0x4a47dc(0x24a)];return(_0x3f602c=_0x51dac0==null?void 0x0:_0x51dac0[_0x4a47dc(0x14d)])!=null&&_0x3f602c['cookie']&&_0x47e4ce['set'](_0x4a47dc(0x2f0),_0x51dac0[_0x4a47dc(0x14d)][_0x4a47dc(0x13b)]),_0xf40a65(_0x544d04);}});}async['createSocket'](_0x28e6d4){return this['_doCreateSocket'](_0x28e6d4);}},exports['NodeCollaborationSocketService']=Xt([ne(0x0,A[_0x56ab5b(0x279)](A[_0x56ab5b(0x1fe)])),ne(0x1,A[_0x56ab5b(0x279)](it['HTTPService'])),ne(0x2,A[_0x56ab5b(0x2a8)]),ne(0x3,A[_0x56ab5b(0x194)]),ne(0x4,Ot['ISnapshotServerService'])],exports['NodeCollaborationSocketService']),exports[_0x56ab5b(0x226)]=fe;
|