@univerjs-pro/collaboration-client-node 0.7.0-nightly.202505101606 → 0.7.0-nightly.202505111606
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 _0x208faf=_0x1a18;(function(_0x45d268,_0x24d438){const _0x30b45=_0x1a18,_0x3bcb5f=_0x45d268();while(!![]){try{const _0x4f04f5=-parseInt(_0x30b45(0x1b5))/0x1*(-parseInt(_0x30b45(0x18d))/0x2)+parseInt(_0x30b45(0x24d))/0x3+parseInt(_0x30b45(0xf3))/0x4*(-parseInt(_0x30b45(0x1db))/0x5)+parseInt(_0x30b45(0xe6))/0x6+-parseInt(_0x30b45(0x212))/0x7+parseInt(_0x30b45(0xf8))/0x8*(-parseInt(_0x30b45(0x1ee))/0x9)+parseInt(_0x30b45(0xf9))/0xa*(parseInt(_0x30b45(0x1f8))/0xb);if(_0x4f04f5===_0x24d438)break;else _0x3bcb5f['push'](_0x3bcb5f['shift']());}catch(_0x1cb738){_0x3bcb5f['push'](_0x3bcb5f['shift']());}}}(_0x4a5d,0x641c8));function _0x1a18(_0x20b71b,_0x25c1b7){const _0x4a5dfb=_0x4a5d();return _0x1a18=function(_0x1a18bf,_0x24fe0f){_0x1a18bf=_0x1a18bf-0xd1;let _0x57da5f=_0x4a5dfb[_0x1a18bf];return _0x57da5f;},_0x1a18(_0x20b71b,_0x25c1b7);}Object['defineProperty'](exports,Symbol['toStringTag'],{'value':_0x208faf(0x17e)});const st=require(_0x208faf(0x17f)),A=require(_0x208faf(0x10f)),it=require(_0x208faf(0x118)),V=require('rxjs'),nt=require(_0x208faf(0xd2)),vt=require(_0x208faf(0x293)),ot=require(_0x208faf(0x1d9)),St=require(_0x208faf(0x17c)),Et=require(_0x208faf(0x1f6)),Le=require(_0x208faf(0x106)),oe=require(_0x208faf(0xf2)),xt=require('url'),bt=require(_0x208faf(0x202)),wt=require(_0x208faf(0x1ce)),Ot=require(_0x208faf(0x267)),fe=_0x208faf(0x120),Ct={'customHeaders':{}};function Tt(_0x8b1f5f){const _0x2645fa=_0x208faf;return _0x8b1f5f&&_0x8b1f5f['__esModule']&&Object['prototype'][_0x2645fa(0x14b)][_0x2645fa(0x119)](_0x8b1f5f,_0x2645fa(0x186))?_0x8b1f5f[_0x2645fa(0x186)]:_0x8b1f5f;}function at(_0x41bbae){const _0x3ce985=_0x208faf;if(Object[_0x3ce985(0x230)][_0x3ce985(0x14b)][_0x3ce985(0x119)](_0x41bbae,_0x3ce985(0x27a)))return _0x41bbae;var _0x5317b2=_0x41bbae[_0x3ce985(0x186)];if(typeof _0x5317b2==_0x3ce985(0x1f4)){var _0x148f96=function _0x5e53aa(){const _0x25258d=_0x3ce985;return this instanceof _0x5e53aa?Reflect[_0x25258d(0xfb)](_0x5317b2,arguments,this[_0x25258d(0x1bb)]):_0x5317b2[_0x25258d(0x124)](this,arguments);};_0x148f96[_0x3ce985(0x230)]=_0x5317b2[_0x3ce985(0x230)];}else _0x148f96={};return Object[_0x3ce985(0x1be)](_0x148f96,_0x3ce985(0x27a),{'value':!0x0}),Object[_0x3ce985(0x13f)](_0x41bbae)[_0x3ce985(0x214)](function(_0x8b5a2c){const _0x2a3691=_0x3ce985;var _0x482c7e=Object[_0x2a3691(0x15c)](_0x41bbae,_0x8b5a2c);Object[_0x2a3691(0x1be)](_0x148f96,_0x8b5a2c,_0x482c7e[_0x2a3691(0x16b)]?_0x482c7e:{'enumerable':!0x0,'get':function(){return _0x41bbae[_0x8b5a2c];}});}),_0x148f96;}var se={'exports':{}},ge,Ge;function H(){const _0x4815d2=_0x208faf;if(Ge)return ge;Ge=0x1;const _0xfb070f=['nodebuffer','arraybuffer',_0x4815d2(0x263)],_0x5159e4=typeof Blob<'u';return _0x5159e4&&_0xfb070f[_0x4815d2(0x20f)](_0x4815d2(0x1bf)),ge={'BINARY_TYPES':_0xfb070f,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':'258EAFA5-E914-47DA-95CA-C5AB0DC85B11','hasBlob':_0x5159e4,'kForOnEventAttribute':Symbol(_0x4815d2(0x173)),'kListener':Symbol(_0x4815d2(0x25c)),'kStatusCode':Symbol('status-code'),'kWebSocket':Symbol(_0x4815d2(0xfc)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x208faf(0x122)](Object[_0x208faf(0x1be)]({'__proto__':null,'default':Nt},Symbol[_0x208faf(0x29f)],{'value':_0x208faf(0x17e)})),Lt=at(kt);var Ve;function ce(){const _0x17d4b1=_0x208faf;if(Ve)return se['exports'];Ve=0x1;const {EMPTY_BUFFER:_0xff3435}=H(),_0x36bfde=Buffer[Symbol[_0x17d4b1(0x152)]];function _0x5a3f35(_0x45eeba,_0x2b4092){const _0xc5b914=_0x17d4b1;if(_0x45eeba['length']===0x0)return _0xff3435;if(_0x45eeba['length']===0x1)return _0x45eeba[0x0];const _0x6205fc=Buffer['allocUnsafe'](_0x2b4092);let _0x40f42f=0x0;for(let _0x2c1239=0x0;_0x2c1239<_0x45eeba['length'];_0x2c1239++){const _0x51f7df=_0x45eeba[_0x2c1239];_0x6205fc[_0xc5b914(0x141)](_0x51f7df,_0x40f42f),_0x40f42f+=_0x51f7df[_0xc5b914(0x24e)];}return _0x40f42f<_0x2b4092?new _0x36bfde(_0x6205fc['buffer'],_0x6205fc['byteOffset'],_0x40f42f):_0x6205fc;}function _0xf81b3(_0x45e8dc,_0x26f10f,_0xb1712a,_0xdb64d7,_0x1932b9){for(let _0x59b096=0x0;_0x59b096<_0x1932b9;_0x59b096++)_0xb1712a[_0xdb64d7+_0x59b096]=_0x45e8dc[_0x59b096]^_0x26f10f[_0x59b096&0x3];}function _0x3b85d5(_0x3aa848,_0x4ea329){const _0x23bf8a=_0x17d4b1;for(let _0x10d314=0x0;_0x10d314<_0x3aa848[_0x23bf8a(0x24e)];_0x10d314++)_0x3aa848[_0x10d314]^=_0x4ea329[_0x10d314&0x3];}function _0x2ca4bd(_0x3f3279){const _0x10e71c=_0x17d4b1;return _0x3f3279['length']===_0x3f3279[_0x10e71c(0x1ce)][_0x10e71c(0x285)]?_0x3f3279[_0x10e71c(0x1ce)]:_0x3f3279[_0x10e71c(0x1ce)][_0x10e71c(0xdf)](_0x3f3279['byteOffset'],_0x3f3279[_0x10e71c(0x104)]+_0x3f3279[_0x10e71c(0x24e)]);}function _0x463c13(_0x88f57f){const _0xe3acb5=_0x17d4b1;if(_0x463c13[_0xe3acb5(0x1a8)]=!0x0,Buffer[_0xe3acb5(0x168)](_0x88f57f))return _0x88f57f;let _0x4bb572;return _0x88f57f instanceof ArrayBuffer?_0x4bb572=new _0x36bfde(_0x88f57f):ArrayBuffer[_0xe3acb5(0x18a)](_0x88f57f)?_0x4bb572=new _0x36bfde(_0x88f57f[_0xe3acb5(0x1ce)],_0x88f57f[_0xe3acb5(0x104)],_0x88f57f['byteLength']):(_0x4bb572=Buffer['from'](_0x88f57f),_0x463c13[_0xe3acb5(0x1a8)]=!0x1),_0x4bb572;}if(se[_0x17d4b1(0x224)]={'concat':_0x5a3f35,'mask':_0xf81b3,'toArrayBuffer':_0x2ca4bd,'toBuffer':_0x463c13,'unmask':_0x3b85d5},!process[_0x17d4b1(0x1d7)][_0x17d4b1(0x1e5)])try{const _0x2ba281=Lt;se['exports'][_0x17d4b1(0xdd)]=function(_0x5ea4eb,_0x627d15,_0x2aee2a,_0x1eb5bb,_0x31cf10){const _0x2b33cb=_0x17d4b1;_0x31cf10<0x30?_0xf81b3(_0x5ea4eb,_0x627d15,_0x2aee2a,_0x1eb5bb,_0x31cf10):_0x2ba281[_0x2b33cb(0xdd)](_0x5ea4eb,_0x627d15,_0x2aee2a,_0x1eb5bb,_0x31cf10);},se['exports'][_0x17d4b1(0x115)]=function(_0x35dee8,_0x2fa7fd){const _0x142d29=_0x17d4b1;_0x35dee8['length']<0x20?_0x3b85d5(_0x35dee8,_0x2fa7fd):_0x2ba281[_0x142d29(0x115)](_0x35dee8,_0x2fa7fd);};}catch{}return se['exports'];}var ye,He;function _0x4a5d(){const _0x2430d9=['The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','Invalid\x20URL:\x20','target','callback','_removeListeners','_payloadLength','Invalid\x20Sec-WebSocket-Accept\x20header','skipUTF8Validation','number','_server','invalid\x20UTF-8\x20sequence','finishRequest','_registerDependencies','Invalid\x20Sec-WebSocket-Extensions\x20header','_originalIpc','_loop','createDeflateRaw','_threshold','extensions','clientNoContextTakeover','add','allocUnsafe','errorEmitted','readOnly','client','startsWith','total-length','isIP','update','Disposable','setConfig','Z_DEFAULT_WINDOWBITS','_socket','createInflateRaw','_deflate','message','1cziUrm','Server\x20sent\x20an\x20invalid\x20subprotocol','_messageLength','registerHTTPInterceptor','UniverCollaborationClientNodePlugin','sec-websocket-extensions','constructor','onStarting','getConfig','defineProperty','blob','WS_ERR_UNEXPECTED_MASK','_originalSecure','protocolVersion','shift','_generateMask','zlibDeflateOptions','noServer','Sec-WebSocket-Protocol:\x20','dequeue','_max_window_bits','ws:','socket','entries','_state','buffer','Connection:\x20Upgrade','Invalid\x20WebSocket\x20frame:\x20','socketPath','search','WebSocket','error','_extensions','COLLABORATION_CLIENT_NODE_CONFIG_KEY','env','_originalHostOrSocketPath','http','reason','5rshxgx','permessage-deflate','\x20(supported\x20versions:\x20','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','haveLength','format','HTTPService','text/html','isValidUTF8','warn','WS_NO_BUFFER_UTIL','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','_redirects','rsv1','sec-websocket-accept','WS_ERR_EXPECTED_MASK','base64','listenerCount','resume','54kRoPpO','verifyClient','acceptAsClient','isInteger','Server\x20sent\x20no\x20subprotocol','handleEvent','function','opcode','tls','map','704TFEqbG','allowSynchronousEvents','Sec-WebSocket-Origin','_binaryType','abort','client_no_context_takeover','Origin','server','_sender','getPayloadLength16','zlib','open','getData','addEventListener','sendFrame','completeUpgrade','removeEventListener','ILogService','compress','_compressed','emit','href','IConfigService','push','charCodeAt','dataMessage','1038387erGktO','_maxPayload','forEach','registerDependencies','pong','request','removeListener','authorization','_options','createServer','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','consume','join','createError','Injector','DependentOn','Max\x20payload\x20size\x20exceeded','offer','exports','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','_configService','extensionName','ws+unix:','replace','_fragmented','Sec-WebSocket-Accept:\x20','_bufferedBytes','\x22\x20must\x20have\x20only\x20a\x20single\x20value','isArray','_closeMessage','prototype','writeUIntBE','password','concat','port','_shouldEmitClose','_opcode','Unexpected\x20character\x20at\x20index\x20','RSV1\x20must\x20be\x20clear','_bufferedAmount','finished','File','indexOf','reset','_masked','writeUInt16BE','WS_ERR_INVALID_OPCODE','headers','arrayBuffer','_isServer','_closeFrameSent','Invalid\x20Sec-WebSocket-Protocol\x20header','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','bufferedAmount','flush','_paused','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','has','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','996669ewDTFw','length','size','end','Unexpected\x20end\x20of\x20input','wsClientError','isServer','conclude','toLowerCase','Maximum\x20redirects\x20exceeded','unshift','string','once','pause','createConnection','kListener','_decompress','cork','data','setTimeout','getMask','host','fragments','Opening\x20handshake\x20has\x20timed\x20out','_allowSynchronousEvents','digest','@univerjs-pro/collaboration','generateMask','_errorEmitted','normalizeParams','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','ping','server_no_context_takeover','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','Unexpected\x20server\x20response:\x20','Z_SYNC_FLUSH','parse','bind','_firstFragment','readUInt32BE','accept','startLoop','CONNECTING','customHeaders','setNoDelay','__esModule','Invalid\x20value\x20for\x20parameter\x20\x22','path','fin','Plugin','clients','\x0d\x0a\x0d\x0a','readUInt16BE','_errored','acceptAsServer','CLOSED','byteLength','binaryType','onerror','_writableState','listeners','auth','connection','pipe','wasClean','_closeFrameReceived','getBlobData','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','The\x20URL\x20contains\x20a\x20fragment\x20identifier','type','https','wss:','jobs','authorized','CLOSING','readyState','includes','Invalid\x20HTTP\x20method','maxPayload','UniverCollaborationClientPlugin','_httpService','text/plain','toStringTag','threshold','FIN\x20must\x20be\x20set','events','clientTracking','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','then','followRedirects','client_max_window_bits','enqueue','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','arraybuffer','_url','delete','mask','write','slice','maskBuffer','timeout','pathname','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','getPayloadLength64','writable','1128408mXwAIK','terminate','Invalid\x20Upgrade\x20header','from','WS_ERR_UNEXPECTED_RSV_1','redirect','The\x20\x22','finish','clientMaxWindowBits','kCode','handleUpgrade','kError','stream','2481436hULiOK','_req','_closeTimer','sec-websocket-protocol','STATUS_CODES','828216crBEoO','121790gkQXGI','emitClose','construct','websocket','_read','defaultPort','code','_closeCode','dispatch','create','concurrency','byteOffset','hostname','crypto','Unsupported\x20protocol\x20version:\x20','address','_no_context_takeover','destroy','pow','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','_autoPong','send','@univerjs/core','_write','_readableState','_receiver','WS_ERR_UNEXPECTED_RSV_2_3','alloc','unmask','The\x20server\x20is\x20not\x20running','toString','@univerjs/network','call','_compress','_doCreateSocket','nodebuffer','captureStackTrace','kReason','Upgrade:\x20websocket','collaboration-client-node.config','NodeCollaborationSocketService','freeze','_protocol','apply','kByteLength','perMessageDeflate','next','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','isPaused','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','_destroy','close','kWasClean','DisposableCollection','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','toDisposable','kData','_readyState','OPEN','backlog','endEmitted','values','unexpected-response','kType','statusCode','Basic\x20','frame','value','catch','keys','pending','set','_buffers','concurrencyLimit','WS_ERR_INVALID_UTF8','uncork','cookie','params','Observable','readable','_skipUTF8Validation','hasOwnProperty','setSocket','\x22:\x20','_mask','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','_injector','The\x20URL\x27s\x20pathname\x20is\x20empty','species','_fragments','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','removeAllListeners','split','http:','origin','onopen','object','nextTick','getOwnPropertyDescriptor','servername','buffers','handleProtocols','connect','HTTP/1.1\x20','test','url','dispose','_inflate','WS_ERR_EXPECTED_FIN','destroyed','isBuffer','listen','share','get','GET','_fin','WS_ERR_INVALID_CLOSE_CODE','invalid\x20payload\x20length\x20','binary','invalid\x20opcode\x20','cleanup','kIsForOnEventAttribute','protocol','listening','createSocket','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','MASK\x20must\x20be\x20clear','zlibInflateOptions','WS_NO_UTF_8_VALIDATE','options','net','upgrade','Module','@univerjs-pro/collaboration-client','shouldHandle','_queue','read','find','server_max_window_bits','serverNoContextTakeover','default','decompress','Inject','autoPong','isView','serverMaxWindowBits','_maskBuffer','1000342gsKiIF','_totalPayloadLength','https:','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'];_0x4a5d=function(){return _0x2430d9;};return _0x4a5d();}function Pt(){const _0x29e278=_0x208faf;if(He)return ye;He=0x1;const _0x30fec7=Symbol('kDone'),_0x37789b=Symbol('kRun');class _0x2e0b28{constructor(_0x1cf8bc){const _0xd5f515=_0x1a18;this[_0x30fec7]=()=>{const _0x222fad=_0x1a18;this[_0x222fad(0x140)]--,this[_0x37789b]();},this['concurrency']=_0x1cf8bc||0x1/0x0,this['jobs']=[],this[_0xd5f515(0x140)]=0x0;}[_0x29e278(0x1a5)](_0x240e5d){const _0x2d4e23=_0x29e278;this[_0x2d4e23(0x295)][_0x2d4e23(0x20f)](_0x240e5d),this[_0x37789b]();}[_0x37789b](){const _0x426780=_0x29e278;if(this[_0x426780(0x140)]!==this[_0x426780(0x103)]&&this['jobs'][_0x426780(0x24e)]){const _0x3f75a5=this[_0x426780(0x295)][_0x426780(0x1c3)]();this[_0x426780(0x140)]++,_0x3f75a5(this[_0x30fec7]);}}}return ye=_0x2e0b28,ye;}var ve,ze;function he(){const _0x58a630=_0x208faf;if(ze)return ve;ze=0x1;const _0x5ceff5=bt,_0x5f116f=ce(),_0x5e896f=Pt(),{kStatusCode:_0x4f1463}=H(),_0x27546b=Buffer[Symbol[_0x58a630(0x152)]],_0x28a25e=Buffer[_0x58a630(0xe9)]([0x0,0x0,0xff,0xff]),_0x2caccb=Symbol(_0x58a630(0x1dc)),_0x4e9cfa=Symbol(_0x58a630(0x1ab)),_0x10212f=Symbol(_0x58a630(0x194)),_0x15b4d0=Symbol(_0x58a630(0x15e)),_0x333edf=Symbol(_0x58a630(0x1d4));let _0x107eda;class _0x39ff1b{constructor(_0x2c0f77,_0x337f1a,_0x337b06){const _0x543bf3=_0x58a630;if(this['_maxPayload']=_0x337b06|0x0,this[_0x543bf3(0x21a)]=_0x2c0f77||{},this[_0x543bf3(0x1a2)]=this['_options'][_0x543bf3(0x2a0)]!==void 0x0?this[_0x543bf3(0x21a)]['threshold']:0x400,this['_isServer']=!!_0x337f1a,this[_0x543bf3(0x1b3)]=null,this[_0x543bf3(0x165)]=null,this[_0x543bf3(0x147)]=null,!_0x107eda){const _0x1db56a=this[_0x543bf3(0x21a)][_0x543bf3(0x143)]!==void 0x0?this[_0x543bf3(0x21a)]['concurrencyLimit']:0xa;_0x107eda=new _0x5e896f(_0x1db56a);}}static get[_0x58a630(0x227)](){const _0x417650=_0x58a630;return _0x417650(0x1dc);}[_0x58a630(0x223)](){const _0x5a5ffa=_0x58a630,_0xd8027d={};return this['_options'][_0x5a5ffa(0x185)]&&(_0xd8027d[_0x5a5ffa(0x26d)]=!0x0),this[_0x5a5ffa(0x21a)][_0x5a5ffa(0x1a4)]&&(_0xd8027d[_0x5a5ffa(0x1fd)]=!0x0),this[_0x5a5ffa(0x21a)]['serverMaxWindowBits']&&(_0xd8027d[_0x5a5ffa(0x184)]=this['_options']['serverMaxWindowBits']),this[_0x5a5ffa(0x21a)][_0x5a5ffa(0xee)]?_0xd8027d['client_max_window_bits']=this[_0x5a5ffa(0x21a)][_0x5a5ffa(0xee)]:this[_0x5a5ffa(0x21a)][_0x5a5ffa(0xee)]==null&&(_0xd8027d[_0x5a5ffa(0xd7)]=!0x0),_0xd8027d;}[_0x58a630(0x275)](_0x3a18b7){const _0x59c84a=_0x58a630;return _0x3a18b7=this[_0x59c84a(0x26a)](_0x3a18b7),this['params']=this[_0x59c84a(0x243)]?this[_0x59c84a(0x283)](_0x3a18b7):this[_0x59c84a(0x1f0)](_0x3a18b7),this[_0x59c84a(0x147)];}['cleanup'](){const _0x10ebf5=_0x58a630;if(this[_0x10ebf5(0x165)]&&(this[_0x10ebf5(0x165)]['close'](),this['_inflate']=null),this[_0x10ebf5(0x1b3)]){const _0x376922=this[_0x10ebf5(0x1b3)][_0x10212f];this[_0x10ebf5(0x1b3)][_0x10ebf5(0x12d)](),this[_0x10ebf5(0x1b3)]=null,_0x376922&&_0x376922(new Error(_0x10ebf5(0x190)));}}[_0x58a630(0x283)](_0x5e2332){const _0x3091bf=_0x58a630,_0x53eaf4=this[_0x3091bf(0x21a)],_0x41529b=_0x5e2332[_0x3091bf(0x183)](_0x23b44e=>!(_0x53eaf4[_0x3091bf(0x185)]===!0x1&&_0x23b44e[_0x3091bf(0x26d)]||_0x23b44e['server_max_window_bits']&&(_0x53eaf4[_0x3091bf(0x18b)]===!0x1||typeof _0x53eaf4['serverMaxWindowBits']==_0x3091bf(0x199)&&_0x53eaf4[_0x3091bf(0x18b)]>_0x23b44e['server_max_window_bits'])||typeof _0x53eaf4['clientMaxWindowBits']==_0x3091bf(0x199)&&!_0x23b44e[_0x3091bf(0xd7)]));if(!_0x41529b)throw new Error('None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted');return _0x53eaf4[_0x3091bf(0x185)]&&(_0x41529b[_0x3091bf(0x26d)]=!0x0),_0x53eaf4[_0x3091bf(0x1a4)]&&(_0x41529b['client_no_context_takeover']=!0x0),typeof _0x53eaf4['serverMaxWindowBits']=='number'&&(_0x41529b[_0x3091bf(0x184)]=_0x53eaf4['serverMaxWindowBits']),typeof _0x53eaf4['clientMaxWindowBits']==_0x3091bf(0x199)?_0x41529b[_0x3091bf(0xd7)]=_0x53eaf4[_0x3091bf(0xee)]:(_0x41529b[_0x3091bf(0xd7)]===!0x0||_0x53eaf4[_0x3091bf(0xee)]===!0x1)&&delete _0x41529b[_0x3091bf(0xd7)],_0x41529b;}[_0x58a630(0x1f0)](_0x26a2c7){const _0x34289=_0x58a630,_0x5ef46e=_0x26a2c7[0x0];if(this['_options'][_0x34289(0x1a4)]===!0x1&&_0x5ef46e['client_no_context_takeover'])throw new Error(_0x34289(0x1e6));if(!_0x5ef46e[_0x34289(0xd7)])typeof this['_options'][_0x34289(0xee)]==_0x34289(0x199)&&(_0x5ef46e['client_max_window_bits']=this[_0x34289(0x21a)][_0x34289(0xee)]);else{if(this['_options'][_0x34289(0xee)]===!0x1||typeof this[_0x34289(0x21a)][_0x34289(0xee)]==_0x34289(0x199)&&_0x5ef46e[_0x34289(0xd7)]>this['_options'][_0x34289(0xee)])throw new Error('Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22');}return _0x5ef46e;}[_0x58a630(0x26a)](_0x500583){return _0x500583['forEach'](_0x1f3ed4=>{const _0x20a751=_0x1a18;Object[_0x20a751(0x13f)](_0x1f3ed4)[_0x20a751(0x214)](_0x35ddda=>{const _0x5b746e=_0x20a751;let _0x10aaa8=_0x1f3ed4[_0x35ddda];if(_0x10aaa8[_0x5b746e(0x24e)]>0x1)throw new Error('Parameter\x20\x22'+_0x35ddda+_0x5b746e(0x22d));if(_0x10aaa8=_0x10aaa8[0x0],_0x35ddda==='client_max_window_bits'){if(_0x10aaa8!==!0x0){const _0x3124af=+_0x10aaa8;if(!Number[_0x5b746e(0x1f1)](_0x3124af)||_0x3124af<0x8||_0x3124af>0xf)throw new TypeError(_0x5b746e(0x27b)+_0x35ddda+'\x22:\x20'+_0x10aaa8);_0x10aaa8=_0x3124af;}else{if(!this[_0x5b746e(0x243)])throw new TypeError(_0x5b746e(0x27b)+_0x35ddda+'\x22:\x20'+_0x10aaa8);}}else{if(_0x35ddda===_0x5b746e(0x184)){const _0x12f262=+_0x10aaa8;if(!Number['isInteger'](_0x12f262)||_0x12f262<0x8||_0x12f262>0xf)throw new TypeError(_0x5b746e(0x27b)+_0x35ddda+_0x5b746e(0x14d)+_0x10aaa8);_0x10aaa8=_0x12f262;}else{if(_0x35ddda==='client_no_context_takeover'||_0x35ddda===_0x5b746e(0x26d)){if(_0x10aaa8!==!0x0)throw new TypeError(_0x5b746e(0x27b)+_0x35ddda+'\x22:\x20'+_0x10aaa8);}else throw new Error('Unknown\x20parameter\x20\x22'+_0x35ddda+'\x22');}}_0x1f3ed4[_0x35ddda]=_0x10aaa8;});}),_0x500583;}['decompress'](_0x48934f,_0x3386be,_0xd5be04){_0x107eda['add'](_0x60c4d7=>{const _0x17ca28=_0x1a18;this[_0x17ca28(0x25d)](_0x48934f,_0x3386be,(_0x3850c5,_0x62974d)=>{_0x60c4d7(),_0xd5be04(_0x3850c5,_0x62974d);});});}['compress'](_0x133fa8,_0x31fdf3,_0x37c047){const _0x2df867=_0x58a630;_0x107eda[_0x2df867(0x1a5)](_0x28f80e=>{const _0x399000=_0x2df867;this[_0x399000(0x11a)](_0x133fa8,_0x31fdf3,(_0x12dfa9,_0x3143e1)=>{_0x28f80e(),_0x37c047(_0x12dfa9,_0x3143e1);});});}[_0x58a630(0x25d)](_0x36105a,_0xe65233,_0x184d1a){const _0x5eaf99=_0x58a630,_0x4f6c1a=this[_0x5eaf99(0x243)]?_0x5eaf99(0x1a9):_0x5eaf99(0x1ff);if(!this['_inflate']){const _0x558f1b=_0x4f6c1a+'_max_window_bits',_0x4f740a=typeof this[_0x5eaf99(0x147)][_0x558f1b]!='number'?_0x5ceff5[_0x5eaf99(0x1b0)]:this[_0x5eaf99(0x147)][_0x558f1b];this[_0x5eaf99(0x165)]=_0x5ceff5[_0x5eaf99(0x1b2)]({...this[_0x5eaf99(0x21a)][_0x5eaf99(0x179)],'windowBits':_0x4f740a}),this[_0x5eaf99(0x165)][_0x2caccb]=this,this['_inflate'][_0x4e9cfa]=0x0,this[_0x5eaf99(0x165)][_0x15b4d0]=[],this[_0x5eaf99(0x165)]['on'](_0x5eaf99(0x1d4),_0x1fd64a),this[_0x5eaf99(0x165)]['on'](_0x5eaf99(0x25f),_0x54a981);}this['_inflate'][_0x10212f]=_0x184d1a,this['_inflate'][_0x5eaf99(0xde)](_0x36105a),_0xe65233&&this[_0x5eaf99(0x165)][_0x5eaf99(0xde)](_0x28a25e),this[_0x5eaf99(0x165)]['flush'](()=>{const _0x547c8e=_0x5eaf99,_0x9fe28c=this[_0x547c8e(0x165)][_0x333edf];if(_0x9fe28c){this['_inflate'][_0x547c8e(0x12d)](),this['_inflate']=null,_0x184d1a(_0x9fe28c);return;}const _0x1974d8=_0x5f116f[_0x547c8e(0x233)](this['_inflate'][_0x15b4d0],this[_0x547c8e(0x165)][_0x4e9cfa]);this[_0x547c8e(0x165)]['_readableState'][_0x547c8e(0x136)]?(this['_inflate'][_0x547c8e(0x12d)](),this['_inflate']=null):(this[_0x547c8e(0x165)][_0x4e9cfa]=0x0,this[_0x547c8e(0x165)][_0x15b4d0]=[],_0xe65233&&this[_0x547c8e(0x147)][_0x4f6c1a+_0x547c8e(0x109)]&&this[_0x547c8e(0x165)][_0x547c8e(0x23d)]()),_0x184d1a(null,_0x1974d8);});}['_compress'](_0x3dd12d,_0x366e45,_0x59ea7b){const _0x11df43=_0x58a630,_0x95724=this[_0x11df43(0x243)]?_0x11df43(0x1ff):_0x11df43(0x1a9);if(!this[_0x11df43(0x1b3)]){const _0x1dae16=_0x95724+_0x11df43(0x1c9),_0x35bccf=typeof this[_0x11df43(0x147)][_0x1dae16]!=_0x11df43(0x199)?_0x5ceff5[_0x11df43(0x1b0)]:this[_0x11df43(0x147)][_0x1dae16];this[_0x11df43(0x1b3)]=_0x5ceff5[_0x11df43(0x1a1)]({...this[_0x11df43(0x21a)][_0x11df43(0x1c5)],'windowBits':_0x35bccf}),this[_0x11df43(0x1b3)][_0x4e9cfa]=0x0,this['_deflate'][_0x15b4d0]=[],this['_deflate']['on'](_0x11df43(0x25f),_0x4047ea);}this[_0x11df43(0x1b3)][_0x10212f]=_0x59ea7b,this[_0x11df43(0x1b3)][_0x11df43(0xde)](_0x3dd12d),this[_0x11df43(0x1b3)][_0x11df43(0x248)](_0x5ceff5[_0x11df43(0x270)],()=>{const _0x481609=_0x11df43;if(!this[_0x481609(0x1b3)])return;let _0x2e489b=_0x5f116f[_0x481609(0x233)](this[_0x481609(0x1b3)][_0x15b4d0],this['_deflate'][_0x4e9cfa]);_0x366e45&&(_0x2e489b=new _0x27546b(_0x2e489b['buffer'],_0x2e489b['byteOffset'],_0x2e489b[_0x481609(0x24e)]-0x4)),this[_0x481609(0x1b3)][_0x10212f]=null,this['_deflate'][_0x4e9cfa]=0x0,this['_deflate'][_0x15b4d0]=[],_0x366e45&&this[_0x481609(0x147)][_0x95724+_0x481609(0x109)]&&this[_0x481609(0x1b3)]['reset'](),_0x59ea7b(null,_0x2e489b);});}}ve=_0x39ff1b;function _0x4047ea(_0x4285c8){const _0x7dac68=_0x58a630;this[_0x15b4d0][_0x7dac68(0x20f)](_0x4285c8),this[_0x4e9cfa]+=_0x4285c8[_0x7dac68(0x24e)];}function _0x54a981(_0x1cea35){const _0x2867f5=_0x58a630;if(this[_0x4e9cfa]+=_0x1cea35['length'],this[_0x2caccb][_0x2867f5(0x213)]<0x1||this[_0x4e9cfa]<=this[_0x2caccb][_0x2867f5(0x213)]){this[_0x15b4d0]['push'](_0x1cea35);return;}this[_0x333edf]=new RangeError(_0x2867f5(0x222)),this[_0x333edf][_0x2867f5(0xff)]=_0x2867f5(0x26e),this[_0x333edf][_0x4f1463]=0x3f1,this[_0x2867f5(0x218)](_0x2867f5(0x25f),_0x54a981),this[_0x2867f5(0x23d)]();}function _0x1fd64a(_0x1f8595){this[_0x2caccb]['_inflate']=null,_0x1f8595[_0x4f1463]=0x3ef,this[_0x10212f](_0x1f8595);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x208faf(0x122)](Object[_0x208faf(0x1be)]({'__proto__':null,'default':Dt},Symbol[_0x208faf(0x29f)],{'value':'Module'})),Bt=at(Rt);var Ye;function ae(){const _0x6a289a=_0x208faf;if(Ye)return ie[_0x6a289a(0x224)];Ye=0x1;const {isUtf8:_0x5c1a6d}=wt,{hasBlob:_0x5ddf59}=H(),_0x32b0ee=[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 _0x1ad34a(_0x5cf08e){return _0x5cf08e>=0x3e8&&_0x5cf08e<=0x3f6&&_0x5cf08e!==0x3ec&&_0x5cf08e!==0x3ed&&_0x5cf08e!==0x3ee||_0x5cf08e>=0xbb8&&_0x5cf08e<=0x1387;}function _0x3b360a(_0x5c05a1){const _0x561978=_0x6a289a,_0x476eee=_0x5c05a1[_0x561978(0x24e)];let _0x138ad1=0x0;for(;_0x138ad1<_0x476eee;)if((_0x5c05a1[_0x138ad1]&0x80)===0x0)_0x138ad1++;else{if((_0x5c05a1[_0x138ad1]&0xe0)===0xc0){if(_0x138ad1+0x1===_0x476eee||(_0x5c05a1[_0x138ad1+0x1]&0xc0)!==0x80||(_0x5c05a1[_0x138ad1]&0xfe)===0xc0)return!0x1;_0x138ad1+=0x2;}else{if((_0x5c05a1[_0x138ad1]&0xf0)===0xe0){if(_0x138ad1+0x2>=_0x476eee||(_0x5c05a1[_0x138ad1+0x1]&0xc0)!==0x80||(_0x5c05a1[_0x138ad1+0x2]&0xc0)!==0x80||_0x5c05a1[_0x138ad1]===0xe0&&(_0x5c05a1[_0x138ad1+0x1]&0xe0)===0x80||_0x5c05a1[_0x138ad1]===0xed&&(_0x5c05a1[_0x138ad1+0x1]&0xe0)===0xa0)return!0x1;_0x138ad1+=0x3;}else{if((_0x5c05a1[_0x138ad1]&0xf8)===0xf0){if(_0x138ad1+0x3>=_0x476eee||(_0x5c05a1[_0x138ad1+0x1]&0xc0)!==0x80||(_0x5c05a1[_0x138ad1+0x2]&0xc0)!==0x80||(_0x5c05a1[_0x138ad1+0x3]&0xc0)!==0x80||_0x5c05a1[_0x138ad1]===0xf0&&(_0x5c05a1[_0x138ad1+0x1]&0xf0)===0x80||_0x5c05a1[_0x138ad1]===0xf4&&_0x5c05a1[_0x138ad1+0x1]>0x8f||_0x5c05a1[_0x138ad1]>0xf4)return!0x1;_0x138ad1+=0x4;}else return!0x1;}}}return!0x0;}function _0x2beeeb(_0x58a2dc){const _0x25bb1a=_0x6a289a;return _0x5ddf59&&typeof _0x58a2dc=='object'&&typeof _0x58a2dc[_0x25bb1a(0x242)]==_0x25bb1a(0x1f4)&&typeof _0x58a2dc[_0x25bb1a(0x292)]==_0x25bb1a(0x258)&&typeof _0x58a2dc[_0x25bb1a(0xf2)]==_0x25bb1a(0x1f4)&&(_0x58a2dc[Symbol[_0x25bb1a(0x29f)]]==='Blob'||_0x58a2dc[Symbol['toStringTag']]===_0x25bb1a(0x23b));}if(ie[_0x6a289a(0x224)]={'isBlob':_0x2beeeb,'isValidStatusCode':_0x1ad34a,'isValidUTF8':_0x3b360a,'tokenChars':_0x32b0ee},_0x5c1a6d)ie[_0x6a289a(0x224)][_0x6a289a(0x1e3)]=function(_0x296e81){const _0x589b83=_0x6a289a;return _0x296e81[_0x589b83(0x24e)]<0x18?_0x3b360a(_0x296e81):_0x5c1a6d(_0x296e81);};else{if(!process[_0x6a289a(0x1d7)][_0x6a289a(0x17a)])try{const _0x196165=Bt;ie['exports']['isValidUTF8']=function(_0x323c6e){const _0x3ba675=_0x6a289a;return _0x323c6e[_0x3ba675(0x24e)]<0x20?_0x3b360a(_0x323c6e):_0x196165(_0x323c6e);};}catch{}}return ie[_0x6a289a(0x224)];}var Se,Ke;function lt(){const _0x186848=_0x208faf;if(Ke)return Se;Ke=0x1;const {Writable:_0x3e1987}=oe,_0x589abc=he(),{BINARY_TYPES:_0x49eca4,EMPTY_BUFFER:_0x4f7d3e,kStatusCode:_0x45ca71,kWebSocket:_0x47d4aa}=H(),{concat:_0x33dc9b,toArrayBuffer:_0x30acdb,unmask:_0x6cc14d}=ce(),{isValidStatusCode:_0x55efe8,isValidUTF8:_0x85caff}=ae(),_0x1c3087=Buffer[Symbol[_0x186848(0x152)]],_0x2e532a=0x0,_0x2c619b=0x1,_0x2171bb=0x2,_0x4ed9e8=0x3,_0x1fc948=0x4,_0x29255f=0x5,_0x366ff4=0x6;class _0x4c67d4 extends _0x3e1987{constructor(_0x5463b9={}){const _0x15bf1c=_0x186848;super(),this[_0x15bf1c(0x265)]=_0x5463b9['allowSynchronousEvents']!==void 0x0?_0x5463b9['allowSynchronousEvents']:!0x0,this[_0x15bf1c(0x1fb)]=_0x5463b9['binaryType']||_0x49eca4[0x0],this['_extensions']=_0x5463b9[_0x15bf1c(0x1a3)]||{},this['_isServer']=!!_0x5463b9[_0x15bf1c(0x253)],this[_0x15bf1c(0x213)]=_0x5463b9[_0x15bf1c(0x29b)]|0x0,this['_skipUTF8Validation']=!!_0x5463b9[_0x15bf1c(0x198)],this[_0x47d4aa]=void 0x0,this[_0x15bf1c(0x22c)]=0x0,this[_0x15bf1c(0x142)]=[],this[_0x15bf1c(0x20b)]=!0x1,this[_0x15bf1c(0x196)]=0x0,this[_0x15bf1c(0x14e)]=void 0x0,this[_0x15bf1c(0x22a)]=0x0,this[_0x15bf1c(0x23e)]=!0x1,this[_0x15bf1c(0x16d)]=!0x1,this[_0x15bf1c(0x236)]=0x0,this[_0x15bf1c(0x18e)]=0x0,this[_0x15bf1c(0x1b7)]=0x0,this[_0x15bf1c(0x153)]=[],this[_0x15bf1c(0x282)]=!0x1,this[_0x15bf1c(0x1a0)]=!0x1,this[_0x15bf1c(0x1cd)]=_0x2e532a;}['_write'](_0x43090f,_0x287254,_0x6417d){const _0x478c57=_0x186848;if(this[_0x478c57(0x236)]===0x8&&this[_0x478c57(0x1cd)]==_0x2e532a)return _0x6417d();this[_0x478c57(0x22c)]+=_0x43090f[_0x478c57(0x24e)],this['_buffers'][_0x478c57(0x20f)](_0x43090f),this[_0x478c57(0x276)](_0x6417d);}[_0x186848(0x21d)](_0x3a1bac){const _0x3fa2cb=_0x186848;if(this[_0x3fa2cb(0x22c)]-=_0x3a1bac,_0x3a1bac===this[_0x3fa2cb(0x142)][0x0][_0x3fa2cb(0x24e)])return this[_0x3fa2cb(0x142)]['shift']();if(_0x3a1bac<this['_buffers'][0x0][_0x3fa2cb(0x24e)]){const _0x2c525e=this[_0x3fa2cb(0x142)][0x0];return this['_buffers'][0x0]=new _0x1c3087(_0x2c525e['buffer'],_0x2c525e[_0x3fa2cb(0x104)]+_0x3a1bac,_0x2c525e['length']-_0x3a1bac),new _0x1c3087(_0x2c525e[_0x3fa2cb(0x1ce)],_0x2c525e['byteOffset'],_0x3a1bac);}const _0x43afb4=Buffer[_0x3fa2cb(0x1a6)](_0x3a1bac);do{const _0x513cfe=this[_0x3fa2cb(0x142)][0x0],_0x447ae1=_0x43afb4[_0x3fa2cb(0x24e)]-_0x3a1bac;_0x3a1bac>=_0x513cfe[_0x3fa2cb(0x24e)]?_0x43afb4[_0x3fa2cb(0x141)](this[_0x3fa2cb(0x142)][_0x3fa2cb(0x1c3)](),_0x447ae1):(_0x43afb4['set'](new Uint8Array(_0x513cfe['buffer'],_0x513cfe[_0x3fa2cb(0x104)],_0x3a1bac),_0x447ae1),this['_buffers'][0x0]=new _0x1c3087(_0x513cfe[_0x3fa2cb(0x1ce)],_0x513cfe['byteOffset']+_0x3a1bac,_0x513cfe[_0x3fa2cb(0x24e)]-_0x3a1bac)),_0x3a1bac-=_0x513cfe[_0x3fa2cb(0x24e)];}while(_0x3a1bac>0x0);return _0x43afb4;}[_0x186848(0x276)](_0xbbd80d){const _0x58536e=_0x186848;this[_0x58536e(0x1a0)]=!0x0;do switch(this[_0x58536e(0x1cd)]){case _0x2e532a:this['getInfo'](_0xbbd80d);break;case _0x2c619b:this['getPayloadLength16'](_0xbbd80d);break;case _0x2171bb:this[_0x58536e(0xe4)](_0xbbd80d);break;case _0x4ed9e8:this[_0x58536e(0x261)]();break;case _0x1fc948:this['getData'](_0xbbd80d);break;case _0x29255f:case _0x366ff4:this[_0x58536e(0x1a0)]=!0x1;return;}while(this[_0x58536e(0x1a0)]);this[_0x58536e(0x282)]||_0xbbd80d();}['getInfo'](_0x1d9892){const _0x14ede6=_0x186848;if(this[_0x14ede6(0x22c)]<0x2){this[_0x14ede6(0x1a0)]=!0x1;return;}const _0x418611=this[_0x14ede6(0x21d)](0x2);if((_0x418611[0x0]&0x30)!==0x0){const _0x2c2106=this[_0x14ede6(0x21f)](RangeError,'RSV2\x20and\x20RSV3\x20must\x20be\x20clear',!0x0,0x3ea,_0x14ede6(0x113));_0x1d9892(_0x2c2106);return;}const _0x1e1a5f=(_0x418611[0x0]&0x40)===0x40;if(_0x1e1a5f&&!this[_0x14ede6(0x1d5)][_0x589abc[_0x14ede6(0x227)]]){const _0x4e2a3a=this[_0x14ede6(0x21f)](RangeError,_0x14ede6(0x238),!0x0,0x3ea,_0x14ede6(0xea));_0x1d9892(_0x4e2a3a);return;}if(this['_fin']=(_0x418611[0x0]&0x80)===0x80,this['_opcode']=_0x418611[0x0]&0xf,this[_0x14ede6(0x196)]=_0x418611[0x1]&0x7f,this[_0x14ede6(0x236)]===0x0){if(_0x1e1a5f){const _0x2958cb=this['createError'](RangeError,_0x14ede6(0x238),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x1d9892(_0x2958cb);return;}if(!this[_0x14ede6(0x22a)]){const _0x3cf0bd=this['createError'](RangeError,'invalid\x20opcode\x200',!0x0,0x3ea,_0x14ede6(0x240));_0x1d9892(_0x3cf0bd);return;}this['_opcode']=this['_fragmented'];}else{if(this[_0x14ede6(0x236)]===0x1||this[_0x14ede6(0x236)]===0x2){if(this[_0x14ede6(0x22a)]){const _0x147b51=this[_0x14ede6(0x21f)](RangeError,_0x14ede6(0x171)+this[_0x14ede6(0x236)],!0x0,0x3ea,_0x14ede6(0x240));_0x1d9892(_0x147b51);return;}this['_compressed']=_0x1e1a5f;}else{if(this[_0x14ede6(0x236)]>0x7&&this[_0x14ede6(0x236)]<0xb){if(!this[_0x14ede6(0x16d)]){const _0x3f3d55=this[_0x14ede6(0x21f)](RangeError,_0x14ede6(0xd1),!0x0,0x3ea,_0x14ede6(0x166));_0x1d9892(_0x3f3d55);return;}if(_0x1e1a5f){const _0x34f281=this['createError'](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x1d9892(_0x34f281);return;}if(this[_0x14ede6(0x196)]>0x7d||this[_0x14ede6(0x236)]===0x8&&this[_0x14ede6(0x196)]===0x1){const _0x54a733=this['createError'](RangeError,_0x14ede6(0x16f)+this['_payloadLength'],!0x0,0x3ea,_0x14ede6(0x177));_0x1d9892(_0x54a733);return;}}else{const _0x491925=this[_0x14ede6(0x21f)](RangeError,'invalid\x20opcode\x20'+this[_0x14ede6(0x236)],!0x0,0x3ea,_0x14ede6(0x240));_0x1d9892(_0x491925);return;}}}if(!this[_0x14ede6(0x16d)]&&!this[_0x14ede6(0x22a)]&&(this[_0x14ede6(0x22a)]=this[_0x14ede6(0x236)]),this[_0x14ede6(0x23e)]=(_0x418611[0x1]&0x80)===0x80,this['_isServer']){if(!this[_0x14ede6(0x23e)]){const _0x7291d=this['createError'](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,_0x14ede6(0x1ea));_0x1d9892(_0x7291d);return;}}else{if(this[_0x14ede6(0x23e)]){const _0x377723=this[_0x14ede6(0x21f)](RangeError,_0x14ede6(0x178),!0x0,0x3ea,_0x14ede6(0x1c0));_0x1d9892(_0x377723);return;}}this[_0x14ede6(0x196)]===0x7e?this['_state']=_0x2c619b:this[_0x14ede6(0x196)]===0x7f?this['_state']=_0x2171bb:this['haveLength'](_0x1d9892);}[_0x186848(0x201)](_0x8c87cc){const _0x356783=_0x186848;if(this['_bufferedBytes']<0x2){this[_0x356783(0x1a0)]=!0x1;return;}this[_0x356783(0x196)]=this[_0x356783(0x21d)](0x2)['readUInt16BE'](0x0),this[_0x356783(0x1df)](_0x8c87cc);}[_0x186848(0xe4)](_0x5338cc){const _0x283f21=_0x186848;if(this[_0x283f21(0x22c)]<0x8){this[_0x283f21(0x1a0)]=!0x1;return;}const _0x2beed3=this[_0x283f21(0x21d)](0x8),_0x233d0e=_0x2beed3[_0x283f21(0x274)](0x0);if(_0x233d0e>Math['pow'](0x2,0x15)-0x1){const _0x5adfd1=this[_0x283f21(0x21f)](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,_0x283f21(0x246));_0x5338cc(_0x5adfd1);return;}this[_0x283f21(0x196)]=_0x233d0e*Math[_0x283f21(0x10b)](0x2,0x20)+_0x2beed3[_0x283f21(0x274)](0x4),this[_0x283f21(0x1df)](_0x5338cc);}[_0x186848(0x1df)](_0x1c2fb8){const _0x4caaa5=_0x186848;if(this[_0x4caaa5(0x196)]&&this['_opcode']<0x8&&(this[_0x4caaa5(0x18e)]+=this['_payloadLength'],this[_0x4caaa5(0x18e)]>this[_0x4caaa5(0x213)]&&this[_0x4caaa5(0x213)]>0x0)){const _0x5187a8=this[_0x4caaa5(0x21f)](RangeError,_0x4caaa5(0x222),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x1c2fb8(_0x5187a8);return;}this[_0x4caaa5(0x23e)]?this[_0x4caaa5(0x1cd)]=_0x4ed9e8:this['_state']=_0x1fc948;}[_0x186848(0x261)](){const _0x2808ef=_0x186848;if(this[_0x2808ef(0x22c)]<0x4){this[_0x2808ef(0x1a0)]=!0x1;return;}this[_0x2808ef(0x14e)]=this['consume'](0x4),this['_state']=_0x1fc948;}[_0x186848(0x204)](_0x2c93e5){const _0x2f26d8=_0x186848;let _0x12526a=_0x4f7d3e;if(this[_0x2f26d8(0x196)]){if(this['_bufferedBytes']<this['_payloadLength']){this[_0x2f26d8(0x1a0)]=!0x1;return;}_0x12526a=this[_0x2f26d8(0x21d)](this['_payloadLength']),this[_0x2f26d8(0x23e)]&&(this[_0x2f26d8(0x14e)][0x0]|this[_0x2f26d8(0x14e)][0x1]|this[_0x2f26d8(0x14e)][0x2]|this[_0x2f26d8(0x14e)][0x3])!==0x0&&_0x6cc14d(_0x12526a,this[_0x2f26d8(0x14e)]);}if(this[_0x2f26d8(0x236)]>0x7){this['controlMessage'](_0x12526a,_0x2c93e5);return;}if(this[_0x2f26d8(0x20b)]){this['_state']=_0x29255f,this[_0x2f26d8(0x187)](_0x12526a,_0x2c93e5);return;}_0x12526a['length']&&(this[_0x2f26d8(0x1b7)]=this['_totalPayloadLength'],this[_0x2f26d8(0x153)][_0x2f26d8(0x20f)](_0x12526a)),this['dataMessage'](_0x2c93e5);}[_0x186848(0x187)](_0x43a64f,_0x344f24){const _0x5eee16=_0x186848;this[_0x5eee16(0x1d5)][_0x589abc[_0x5eee16(0x227)]][_0x5eee16(0x187)](_0x43a64f,this['_fin'],(_0x5e6c38,_0x46862e)=>{const _0x4bde5d=_0x5eee16;if(_0x5e6c38)return _0x344f24(_0x5e6c38);if(_0x46862e['length']){if(this[_0x4bde5d(0x1b7)]+=_0x46862e['length'],this[_0x4bde5d(0x1b7)]>this['_maxPayload']&&this[_0x4bde5d(0x213)]>0x0){const _0x52fcbd=this['createError'](RangeError,_0x4bde5d(0x222),!0x1,0x3f1,_0x4bde5d(0x26e));_0x344f24(_0x52fcbd);return;}this[_0x4bde5d(0x153)][_0x4bde5d(0x20f)](_0x46862e);}this[_0x4bde5d(0x211)](_0x344f24),this[_0x4bde5d(0x1cd)]===_0x2e532a&&this[_0x4bde5d(0x276)](_0x344f24);});}[_0x186848(0x211)](_0x446d43){const _0x15aa73=_0x186848;if(!this['_fin']){this[_0x15aa73(0x1cd)]=_0x2e532a;return;}const _0x6aca3a=this[_0x15aa73(0x1b7)],_0x35ec9c=this['_fragments'];if(this[_0x15aa73(0x18e)]=0x0,this[_0x15aa73(0x1b7)]=0x0,this[_0x15aa73(0x22a)]=0x0,this['_fragments']=[],this[_0x15aa73(0x236)]===0x2){let _0x5b0fca;this[_0x15aa73(0x1fb)]===_0x15aa73(0x11c)?_0x5b0fca=_0x33dc9b(_0x35ec9c,_0x6aca3a):this[_0x15aa73(0x1fb)]===_0x15aa73(0xda)?_0x5b0fca=_0x30acdb(_0x33dc9b(_0x35ec9c,_0x6aca3a)):this[_0x15aa73(0x1fb)]==='blob'?_0x5b0fca=new Blob(_0x35ec9c):_0x5b0fca=_0x35ec9c,this[_0x15aa73(0x265)]?(this['emit'](_0x15aa73(0x1b4),_0x5b0fca,!0x0),this[_0x15aa73(0x1cd)]=_0x2e532a):(this['_state']=_0x366ff4,setImmediate(()=>{const _0x350738=_0x15aa73;this['emit'](_0x350738(0x1b4),_0x5b0fca,!0x0),this[_0x350738(0x1cd)]=_0x2e532a,this['startLoop'](_0x446d43);}));}else{const _0x202c50=_0x33dc9b(_0x35ec9c,_0x6aca3a);if(!this[_0x15aa73(0x14a)]&&!_0x85caff(_0x202c50)){const _0x1db84c=this['createError'](Error,_0x15aa73(0x19b),!0x0,0x3ef,_0x15aa73(0x144));_0x446d43(_0x1db84c);return;}this['_state']===_0x29255f||this[_0x15aa73(0x265)]?(this[_0x15aa73(0x20c)](_0x15aa73(0x1b4),_0x202c50,!0x1),this[_0x15aa73(0x1cd)]=_0x2e532a):(this['_state']=_0x366ff4,setImmediate(()=>{const _0x5c812d=_0x15aa73;this[_0x5c812d(0x20c)]('message',_0x202c50,!0x1),this[_0x5c812d(0x1cd)]=_0x2e532a,this['startLoop'](_0x446d43);}));}}['controlMessage'](_0xfc6a66,_0xf51693){const _0x324d8e=_0x186848;if(this[_0x324d8e(0x236)]===0x8){if(_0xfc6a66[_0x324d8e(0x24e)]===0x0)this['_loop']=!0x1,this['emit'](_0x324d8e(0x254),0x3ed,_0x4f7d3e),this['end']();else{const _0xad8d7f=_0xfc6a66[_0x324d8e(0x281)](0x0);if(!_0x55efe8(_0xad8d7f)){const _0x19c0bd=this['createError'](RangeError,'invalid\x20status\x20code\x20'+_0xad8d7f,!0x0,0x3ea,_0x324d8e(0x16e));_0xf51693(_0x19c0bd);return;}const _0x5ee06f=new _0x1c3087(_0xfc6a66[_0x324d8e(0x1ce)],_0xfc6a66[_0x324d8e(0x104)]+0x2,_0xfc6a66[_0x324d8e(0x24e)]-0x2);if(!this[_0x324d8e(0x14a)]&&!_0x85caff(_0x5ee06f)){const _0x1ca076=this[_0x324d8e(0x21f)](Error,_0x324d8e(0x19b),!0x0,0x3ef,_0x324d8e(0x144));_0xf51693(_0x1ca076);return;}this['_loop']=!0x1,this[_0x324d8e(0x20c)](_0x324d8e(0x254),_0xad8d7f,_0x5ee06f),this['end']();}this[_0x324d8e(0x1cd)]=_0x2e532a;return;}this[_0x324d8e(0x265)]?(this['emit'](this['_opcode']===0x9?_0x324d8e(0x26c):'pong',_0xfc6a66),this[_0x324d8e(0x1cd)]=_0x2e532a):(this[_0x324d8e(0x1cd)]=_0x366ff4,setImmediate(()=>{const _0x5433ab=_0x324d8e;this[_0x5433ab(0x20c)](this['_opcode']===0x9?_0x5433ab(0x26c):_0x5433ab(0x216),_0xfc6a66),this[_0x5433ab(0x1cd)]=_0x2e532a,this[_0x5433ab(0x276)](_0xf51693);}));}['createError'](_0x3be191,_0x308a1f,_0x48e8c0,_0x4b225f,_0xc78759){const _0x4d5fee=_0x186848;this[_0x4d5fee(0x1a0)]=!0x1,this[_0x4d5fee(0x282)]=!0x0;const _0x48ad4b=new _0x3be191(_0x48e8c0?_0x4d5fee(0x1d0)+_0x308a1f:_0x308a1f);return Error[_0x4d5fee(0x11d)](_0x48ad4b,this[_0x4d5fee(0x21f)]),_0x48ad4b[_0x4d5fee(0xff)]=_0xc78759,_0x48ad4b[_0x45ca71]=_0x4b225f,_0x48ad4b;}}return Se=_0x4c67d4,Se;}var Ee,Xe;function ft(){const _0x1b289e=_0x208faf;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x5e6268}=oe,{randomFillSync:_0x5f3672}=Le,_0x232fab=he(),{EMPTY_BUFFER:_0x118c03,kWebSocket:_0x4616c7,NOOP:_0x1906ad}=H(),{isBlob:_0x26427d,isValidStatusCode:_0x4dde8a}=ae(),{mask:_0x2de32a,toBuffer:_0x5e0dce}=ce(),_0x188f58=Symbol(_0x1b289e(0x125)),_0x6df441=Buffer[_0x1b289e(0x114)](0x4),_0x3ae427=0x8*0x400;let _0x136585,_0x5cb627=_0x3ae427;const _0x142cf1=0x0,_0x58ad1e=0x1,_0x17b018=0x2;class _0x3f7207{constructor(_0x3fd910,_0x141421,_0x512d37){const _0x56e9e1=_0x1b289e;this['_extensions']=_0x141421||{},_0x512d37&&(this[_0x56e9e1(0x1c4)]=_0x512d37,this['_maskBuffer']=Buffer[_0x56e9e1(0x114)](0x4)),this[_0x56e9e1(0x1b1)]=_0x3fd910,this[_0x56e9e1(0x273)]=!0x0,this[_0x56e9e1(0x11a)]=!0x1,this[_0x56e9e1(0x22c)]=0x0,this[_0x56e9e1(0x181)]=[],this[_0x56e9e1(0x1cd)]=_0x142cf1,this[_0x56e9e1(0x287)]=_0x1906ad,this[_0x4616c7]=void 0x0;}static[_0x1b289e(0x13c)](_0x1e252a,_0x6c236f){const _0x605c7d=_0x1b289e;let _0x507845,_0x4e915a=!0x1,_0x32f043=0x2,_0x49b177=!0x1;_0x6c236f['mask']&&(_0x507845=_0x6c236f[_0x605c7d(0xe0)]||_0x6df441,_0x6c236f[_0x605c7d(0x268)]?_0x6c236f[_0x605c7d(0x268)](_0x507845):(_0x5cb627===_0x3ae427&&(_0x136585===void 0x0&&(_0x136585=Buffer[_0x605c7d(0x114)](_0x3ae427)),_0x5f3672(_0x136585,0x0,_0x3ae427),_0x5cb627=0x0),_0x507845[0x0]=_0x136585[_0x5cb627++],_0x507845[0x1]=_0x136585[_0x5cb627++],_0x507845[0x2]=_0x136585[_0x5cb627++],_0x507845[0x3]=_0x136585[_0x5cb627++]),_0x49b177=(_0x507845[0x0]|_0x507845[0x1]|_0x507845[0x2]|_0x507845[0x3])===0x0,_0x32f043=0x6);let _0x31cdae;typeof _0x1e252a==_0x605c7d(0x258)?(!_0x6c236f[_0x605c7d(0xdd)]||_0x49b177)&&_0x6c236f[_0x188f58]!==void 0x0?_0x31cdae=_0x6c236f[_0x188f58]:(_0x1e252a=Buffer[_0x605c7d(0xe9)](_0x1e252a),_0x31cdae=_0x1e252a[_0x605c7d(0x24e)]):(_0x31cdae=_0x1e252a[_0x605c7d(0x24e)],_0x4e915a=_0x6c236f[_0x605c7d(0xdd)]&&_0x6c236f[_0x605c7d(0x1a8)]&&!_0x49b177);let _0x135994=_0x31cdae;_0x31cdae>=0x10000?(_0x32f043+=0x8,_0x135994=0x7f):_0x31cdae>0x7d&&(_0x32f043+=0x2,_0x135994=0x7e);const _0x3076b3=Buffer[_0x605c7d(0x1a6)](_0x4e915a?_0x31cdae+_0x32f043:_0x32f043);return _0x3076b3[0x0]=_0x6c236f[_0x605c7d(0x27d)]?_0x6c236f[_0x605c7d(0x1f5)]|0x80:_0x6c236f[_0x605c7d(0x1f5)],_0x6c236f[_0x605c7d(0x1e8)]&&(_0x3076b3[0x0]|=0x40),_0x3076b3[0x1]=_0x135994,_0x135994===0x7e?_0x3076b3[_0x605c7d(0x23f)](_0x31cdae,0x2):_0x135994===0x7f&&(_0x3076b3[0x2]=_0x3076b3[0x3]=0x0,_0x3076b3[_0x605c7d(0x231)](_0x31cdae,0x4,0x6)),_0x6c236f['mask']?(_0x3076b3[0x1]|=0x80,_0x3076b3[_0x32f043-0x4]=_0x507845[0x0],_0x3076b3[_0x32f043-0x3]=_0x507845[0x1],_0x3076b3[_0x32f043-0x2]=_0x507845[0x2],_0x3076b3[_0x32f043-0x1]=_0x507845[0x3],_0x49b177?[_0x3076b3,_0x1e252a]:_0x4e915a?(_0x2de32a(_0x1e252a,_0x507845,_0x3076b3,_0x32f043,_0x31cdae),[_0x3076b3]):(_0x2de32a(_0x1e252a,_0x507845,_0x1e252a,0x0,_0x31cdae),[_0x3076b3,_0x1e252a])):[_0x3076b3,_0x1e252a];}[_0x1b289e(0x12d)](_0x428d6a,_0x4e4779,_0x39db2a,_0x1fc5a7){const _0x59f935=_0x1b289e;let _0x5eacdb;if(_0x428d6a===void 0x0)_0x5eacdb=_0x118c03;else{if(typeof _0x428d6a!=_0x59f935(0x199)||!_0x4dde8a(_0x428d6a))throw new TypeError(_0x59f935(0x12b));if(_0x4e4779===void 0x0||!_0x4e4779[_0x59f935(0x24e)])_0x5eacdb=Buffer[_0x59f935(0x1a6)](0x2),_0x5eacdb['writeUInt16BE'](_0x428d6a,0x0);else{const _0x753040=Buffer[_0x59f935(0x285)](_0x4e4779);if(_0x753040>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x5eacdb=Buffer[_0x59f935(0x1a6)](0x2+_0x753040),_0x5eacdb[_0x59f935(0x23f)](_0x428d6a,0x0),typeof _0x4e4779==_0x59f935(0x258)?_0x5eacdb[_0x59f935(0xde)](_0x4e4779,0x2):_0x5eacdb[_0x59f935(0x141)](_0x4e4779,0x2);}}const _0x552022={[_0x188f58]:_0x5eacdb[_0x59f935(0x24e)],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x39db2a,'maskBuffer':this[_0x59f935(0x18c)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this['_state']!==_0x142cf1?this[_0x59f935(0xd8)]([this[_0x59f935(0x101)],_0x5eacdb,!0x1,_0x552022,_0x1fc5a7]):this[_0x59f935(0x206)](_0x3f7207['frame'](_0x5eacdb,_0x552022),_0x1fc5a7);}[_0x1b289e(0x26c)](_0x27003e,_0x231e42,_0x230a10){const _0x1bfa35=_0x1b289e;let _0x94b7f9,_0x549888;if(typeof _0x27003e==_0x1bfa35(0x258)?(_0x94b7f9=Buffer[_0x1bfa35(0x285)](_0x27003e),_0x549888=!0x1):_0x26427d(_0x27003e)?(_0x94b7f9=_0x27003e[_0x1bfa35(0x24f)],_0x549888=!0x1):(_0x27003e=_0x5e0dce(_0x27003e),_0x94b7f9=_0x27003e[_0x1bfa35(0x24e)],_0x549888=_0x5e0dce['readOnly']),_0x94b7f9>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x27b253={[_0x188f58]:_0x94b7f9,'fin':!0x0,'generateMask':this[_0x1bfa35(0x1c4)],'mask':_0x231e42,'maskBuffer':this[_0x1bfa35(0x18c)],'opcode':0x9,'readOnly':_0x549888,'rsv1':!0x1};_0x26427d(_0x27003e)?this[_0x1bfa35(0x1cd)]!==_0x142cf1?this[_0x1bfa35(0xd8)]([this[_0x1bfa35(0x28f)],_0x27003e,!0x1,_0x27b253,_0x230a10]):this[_0x1bfa35(0x28f)](_0x27003e,!0x1,_0x27b253,_0x230a10):this[_0x1bfa35(0x1cd)]!==_0x142cf1?this[_0x1bfa35(0xd8)]([this['dispatch'],_0x27003e,!0x1,_0x27b253,_0x230a10]):this[_0x1bfa35(0x206)](_0x3f7207[_0x1bfa35(0x13c)](_0x27003e,_0x27b253),_0x230a10);}[_0x1b289e(0x216)](_0x4266e4,_0x3ff333,_0x50e657){const _0x4e808d=_0x1b289e;let _0x451ac1,_0x818ced;if(typeof _0x4266e4==_0x4e808d(0x258)?(_0x451ac1=Buffer['byteLength'](_0x4266e4),_0x818ced=!0x1):_0x26427d(_0x4266e4)?(_0x451ac1=_0x4266e4[_0x4e808d(0x24f)],_0x818ced=!0x1):(_0x4266e4=_0x5e0dce(_0x4266e4),_0x451ac1=_0x4266e4[_0x4e808d(0x24e)],_0x818ced=_0x5e0dce[_0x4e808d(0x1a8)]),_0x451ac1>0x7d)throw new RangeError(_0x4e808d(0x225));const _0x15c15f={[_0x188f58]:_0x451ac1,'fin':!0x0,'generateMask':this[_0x4e808d(0x1c4)],'mask':_0x3ff333,'maskBuffer':this[_0x4e808d(0x18c)],'opcode':0xa,'readOnly':_0x818ced,'rsv1':!0x1};_0x26427d(_0x4266e4)?this['_state']!==_0x142cf1?this[_0x4e808d(0xd8)]([this[_0x4e808d(0x28f)],_0x4266e4,!0x1,_0x15c15f,_0x50e657]):this['getBlobData'](_0x4266e4,!0x1,_0x15c15f,_0x50e657):this[_0x4e808d(0x1cd)]!==_0x142cf1?this[_0x4e808d(0xd8)]([this[_0x4e808d(0x101)],_0x4266e4,!0x1,_0x15c15f,_0x50e657]):this[_0x4e808d(0x206)](_0x3f7207[_0x4e808d(0x13c)](_0x4266e4,_0x15c15f),_0x50e657);}[_0x1b289e(0x10e)](_0x2bf22e,_0x473042,_0xfc8660){const _0x3b7419=_0x1b289e,_0x5d7e67=this[_0x3b7419(0x1d5)][_0x232fab[_0x3b7419(0x227)]];let _0x42f3b3=_0x473042[_0x3b7419(0x170)]?0x2:0x1,_0xf2b20c=_0x473042['compress'],_0xd55ad6,_0x323777;typeof _0x2bf22e==_0x3b7419(0x258)?(_0xd55ad6=Buffer[_0x3b7419(0x285)](_0x2bf22e),_0x323777=!0x1):_0x26427d(_0x2bf22e)?(_0xd55ad6=_0x2bf22e[_0x3b7419(0x24f)],_0x323777=!0x1):(_0x2bf22e=_0x5e0dce(_0x2bf22e),_0xd55ad6=_0x2bf22e['length'],_0x323777=_0x5e0dce[_0x3b7419(0x1a8)]),this[_0x3b7419(0x273)]?(this[_0x3b7419(0x273)]=!0x1,_0xf2b20c&&_0x5d7e67&&_0x5d7e67[_0x3b7419(0x147)][_0x5d7e67[_0x3b7419(0x243)]?_0x3b7419(0x26d):_0x3b7419(0x1fd)]&&(_0xf2b20c=_0xd55ad6>=_0x5d7e67[_0x3b7419(0x1a2)]),this[_0x3b7419(0x11a)]=_0xf2b20c):(_0xf2b20c=!0x1,_0x42f3b3=0x0),_0x473042[_0x3b7419(0x27d)]&&(this[_0x3b7419(0x273)]=!0x0);const _0x542ae1={[_0x188f58]:_0xd55ad6,'fin':_0x473042[_0x3b7419(0x27d)],'generateMask':this[_0x3b7419(0x1c4)],'mask':_0x473042[_0x3b7419(0xdd)],'maskBuffer':this[_0x3b7419(0x18c)],'opcode':_0x42f3b3,'readOnly':_0x323777,'rsv1':_0xf2b20c};_0x26427d(_0x2bf22e)?this[_0x3b7419(0x1cd)]!==_0x142cf1?this[_0x3b7419(0xd8)]([this[_0x3b7419(0x28f)],_0x2bf22e,this[_0x3b7419(0x11a)],_0x542ae1,_0xfc8660]):this[_0x3b7419(0x28f)](_0x2bf22e,this[_0x3b7419(0x11a)],_0x542ae1,_0xfc8660):this[_0x3b7419(0x1cd)]!==_0x142cf1?this['enqueue']([this[_0x3b7419(0x101)],_0x2bf22e,this[_0x3b7419(0x11a)],_0x542ae1,_0xfc8660]):this[_0x3b7419(0x101)](_0x2bf22e,this['_compress'],_0x542ae1,_0xfc8660);}[_0x1b289e(0x28f)](_0x46a1c4,_0x344ff3,_0x22bb3,_0x30d135){const _0x32a63e=_0x1b289e;this[_0x32a63e(0x22c)]+=_0x22bb3[_0x188f58],this[_0x32a63e(0x1cd)]=_0x17b018,_0x46a1c4[_0x32a63e(0x242)]()[_0x32a63e(0xd5)](_0x29fc42=>{const _0x4c4110=_0x32a63e;if(this[_0x4c4110(0x1b1)][_0x4c4110(0x167)]){const _0x3c3ac3=new Error(_0x4c4110(0x1de));process[_0x4c4110(0x15b)](_0x255ba2,this,_0x3c3ac3,_0x30d135);return;}this['_bufferedBytes']-=_0x22bb3[_0x188f58];const _0x44f66a=_0x5e0dce(_0x29fc42);_0x344ff3?this[_0x4c4110(0x101)](_0x44f66a,_0x344ff3,_0x22bb3,_0x30d135):(this['_state']=_0x142cf1,this[_0x4c4110(0x206)](_0x3f7207[_0x4c4110(0x13c)](_0x44f66a,_0x22bb3),_0x30d135),this[_0x4c4110(0x1c8)]());})[_0x32a63e(0x13e)](_0x5ca985=>{const _0x4c7b37=_0x32a63e;process[_0x4c7b37(0x15b)](_0x174da5,this,_0x5ca985,_0x30d135);});}[_0x1b289e(0x101)](_0x435b51,_0x9a46b2,_0x1d1847,_0x572b94){const _0x18e472=_0x1b289e;if(!_0x9a46b2){this[_0x18e472(0x206)](_0x3f7207[_0x18e472(0x13c)](_0x435b51,_0x1d1847),_0x572b94);return;}const _0x22a60b=this[_0x18e472(0x1d5)][_0x232fab['extensionName']];this[_0x18e472(0x22c)]+=_0x1d1847[_0x188f58],this[_0x18e472(0x1cd)]=_0x58ad1e,_0x22a60b[_0x18e472(0x20a)](_0x435b51,_0x1d1847['fin'],(_0x164c76,_0xe28a2f)=>{const _0x383a42=_0x18e472;if(this[_0x383a42(0x1b1)][_0x383a42(0x167)]){const _0x2d230c=new Error(_0x383a42(0x191));_0x255ba2(this,_0x2d230c,_0x572b94);return;}this[_0x383a42(0x22c)]-=_0x1d1847[_0x188f58],this[_0x383a42(0x1cd)]=_0x142cf1,_0x1d1847[_0x383a42(0x1a8)]=!0x1,this['sendFrame'](_0x3f7207['frame'](_0xe28a2f,_0x1d1847),_0x572b94),this[_0x383a42(0x1c8)]();});}['dequeue'](){const _0x1b2bb9=_0x1b289e;for(;this[_0x1b2bb9(0x1cd)]===_0x142cf1&&this[_0x1b2bb9(0x181)]['length'];){const _0x3a13b8=this[_0x1b2bb9(0x181)][_0x1b2bb9(0x1c3)]();this[_0x1b2bb9(0x22c)]-=_0x3a13b8[0x3][_0x188f58],Reflect[_0x1b2bb9(0x124)](_0x3a13b8[0x0],this,_0x3a13b8[_0x1b2bb9(0xdf)](0x1));}}[_0x1b289e(0xd8)](_0x409600){const _0x377b4a=_0x1b289e;this[_0x377b4a(0x22c)]+=_0x409600[0x3][_0x188f58],this[_0x377b4a(0x181)][_0x377b4a(0x20f)](_0x409600);}[_0x1b289e(0x206)](_0x45a39b,_0x574f1e){const _0x3d0b70=_0x1b289e;_0x45a39b['length']===0x2?(this[_0x3d0b70(0x1b1)][_0x3d0b70(0x25e)](),this['_socket'][_0x3d0b70(0xde)](_0x45a39b[0x0]),this[_0x3d0b70(0x1b1)][_0x3d0b70(0xde)](_0x45a39b[0x1],_0x574f1e),this[_0x3d0b70(0x1b1)][_0x3d0b70(0x145)]()):this['_socket'][_0x3d0b70(0xde)](_0x45a39b[0x0],_0x574f1e);}}Ee=_0x3f7207;function _0x255ba2(_0x46b90e,_0xc9035,_0xb85f6a){const _0x46f4b4=_0x1b289e;typeof _0xb85f6a==_0x46f4b4(0x1f4)&&_0xb85f6a(_0xc9035);for(let _0x4ef623=0x0;_0x4ef623<_0x46b90e[_0x46f4b4(0x181)][_0x46f4b4(0x24e)];_0x4ef623++){const _0x3da682=_0x46b90e[_0x46f4b4(0x181)][_0x4ef623],_0x12bd14=_0x3da682[_0x3da682['length']-0x1];typeof _0x12bd14==_0x46f4b4(0x1f4)&&_0x12bd14(_0xc9035);}}function _0x174da5(_0x12c865,_0x3219c3,_0x4467e9){const _0x5e0d9e=_0x1b289e;_0x255ba2(_0x12c865,_0x3219c3,_0x4467e9),_0x12c865[_0x5e0d9e(0x287)](_0x3219c3);}return Ee;}var xe,Ze;function It(){const _0x2c8aae=_0x208faf;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x2bb407,kListener:_0x10c2c2}=H(),_0x12d141=Symbol(_0x2c8aae(0xef)),_0x24302c=Symbol(_0x2c8aae(0x132)),_0x3615f8=Symbol(_0x2c8aae(0xf1)),_0xef29f=Symbol('kMessage'),_0x553d08=Symbol(_0x2c8aae(0x11e)),_0x46d7f7=Symbol('kTarget'),_0x160cc3=Symbol(_0x2c8aae(0x139)),_0x2b2dcc=Symbol(_0x2c8aae(0x12e));class _0x2d8b2c{constructor(_0x51e20d){this[_0x46d7f7]=null,this[_0x160cc3]=_0x51e20d;}get[_0x2c8aae(0x193)](){return this[_0x46d7f7];}get[_0x2c8aae(0x292)](){return this[_0x160cc3];}}Object['defineProperty'](_0x2d8b2c[_0x2c8aae(0x230)],_0x2c8aae(0x193),{'enumerable':!0x0}),Object[_0x2c8aae(0x1be)](_0x2d8b2c['prototype'],_0x2c8aae(0x292),{'enumerable':!0x0});class _0x508d8b extends _0x2d8b2c{constructor(_0x2bfc70,_0x6ce17d={}){const _0x1ba759=_0x2c8aae;super(_0x2bfc70),this[_0x12d141]=_0x6ce17d[_0x1ba759(0xff)]===void 0x0?0x0:_0x6ce17d[_0x1ba759(0xff)],this[_0x553d08]=_0x6ce17d[_0x1ba759(0x1da)]===void 0x0?'':_0x6ce17d[_0x1ba759(0x1da)],this[_0x2b2dcc]=_0x6ce17d[_0x1ba759(0x28d)]===void 0x0?!0x1:_0x6ce17d[_0x1ba759(0x28d)];}get[_0x2c8aae(0xff)](){return this[_0x12d141];}get[_0x2c8aae(0x1da)](){return this[_0x553d08];}get[_0x2c8aae(0x28d)](){return this[_0x2b2dcc];}}Object['defineProperty'](_0x508d8b['prototype'],'code',{'enumerable':!0x0}),Object['defineProperty'](_0x508d8b['prototype'],_0x2c8aae(0x1da),{'enumerable':!0x0}),Object[_0x2c8aae(0x1be)](_0x508d8b[_0x2c8aae(0x230)],_0x2c8aae(0x28d),{'enumerable':!0x0});class _0x3d7046 extends _0x2d8b2c{constructor(_0xb62fa9,_0x3fb23c={}){const _0x480586=_0x2c8aae;super(_0xb62fa9),this[_0x3615f8]=_0x3fb23c[_0x480586(0x1d4)]===void 0x0?null:_0x3fb23c[_0x480586(0x1d4)],this[_0xef29f]=_0x3fb23c[_0x480586(0x1b4)]===void 0x0?'':_0x3fb23c[_0x480586(0x1b4)];}get[_0x2c8aae(0x1d4)](){return this[_0x3615f8];}get['message'](){return this[_0xef29f];}}Object[_0x2c8aae(0x1be)](_0x3d7046[_0x2c8aae(0x230)],_0x2c8aae(0x1d4),{'enumerable':!0x0}),Object['defineProperty'](_0x3d7046[_0x2c8aae(0x230)],_0x2c8aae(0x1b4),{'enumerable':!0x0});class _0x4c45f1 extends _0x2d8b2c{constructor(_0x5c5c1a,_0x2678ff={}){const _0x2dd0aa=_0x2c8aae;super(_0x5c5c1a),this[_0x24302c]=_0x2678ff[_0x2dd0aa(0x25f)]===void 0x0?null:_0x2678ff[_0x2dd0aa(0x25f)];}get['data'](){return this[_0x24302c];}}Object['defineProperty'](_0x4c45f1[_0x2c8aae(0x230)],_0x2c8aae(0x25f),{'enumerable':!0x0}),xe={'CloseEvent':_0x508d8b,'ErrorEvent':_0x3d7046,'Event':_0x2d8b2c,'EventTarget':{'addEventListener'(_0x4fba99,_0x34034c,_0x30f6b1={}){const _0x3d09c6=_0x2c8aae;for(const _0x399128 of this[_0x3d09c6(0x289)](_0x4fba99))if(!_0x30f6b1[_0x2bb407]&&_0x399128[_0x10c2c2]===_0x34034c&&!_0x399128[_0x2bb407])return;let _0x5ad097;if(_0x4fba99===_0x3d09c6(0x1b4))_0x5ad097=function(_0x2fb978,_0x1add1f){const _0x23f3e8=_0x3d09c6,_0x1743f9=new _0x4c45f1(_0x23f3e8(0x1b4),{'data':_0x1add1f?_0x2fb978:_0x2fb978[_0x23f3e8(0x117)]()});_0x1743f9[_0x46d7f7]=this,_0x2c31a3(_0x34034c,this,_0x1743f9);};else{if(_0x4fba99===_0x3d09c6(0x12d))_0x5ad097=function(_0x244cf6,_0x47eb5e){const _0x5f370d=_0x3d09c6,_0x93c83d=new _0x508d8b(_0x5f370d(0x12d),{'code':_0x244cf6,'reason':_0x47eb5e[_0x5f370d(0x117)](),'wasClean':this[_0x5f370d(0x28e)]&&this[_0x5f370d(0x244)]});_0x93c83d[_0x46d7f7]=this,_0x2c31a3(_0x34034c,this,_0x93c83d);};else{if(_0x4fba99===_0x3d09c6(0x1d4))_0x5ad097=function(_0x21cd4b){const _0x3b3f83=_0x3d09c6,_0x15476b=new _0x3d7046('error',{'error':_0x21cd4b,'message':_0x21cd4b[_0x3b3f83(0x1b4)]});_0x15476b[_0x46d7f7]=this,_0x2c31a3(_0x34034c,this,_0x15476b);};else{if(_0x4fba99===_0x3d09c6(0x203))_0x5ad097=function(){const _0x5f49d4=_0x3d09c6,_0x1a01db=new _0x2d8b2c(_0x5f49d4(0x203));_0x1a01db[_0x46d7f7]=this,_0x2c31a3(_0x34034c,this,_0x1a01db);};else return;}}}_0x5ad097[_0x2bb407]=!!_0x30f6b1[_0x2bb407],_0x5ad097[_0x10c2c2]=_0x34034c,_0x30f6b1[_0x3d09c6(0x259)]?this['once'](_0x4fba99,_0x5ad097):this['on'](_0x4fba99,_0x5ad097);},'removeEventListener'(_0x5ce8c0,_0x127c61){const _0x1b01e0=_0x2c8aae;for(const _0x3ccbe1 of this[_0x1b01e0(0x289)](_0x5ce8c0))if(_0x3ccbe1[_0x10c2c2]===_0x127c61&&!_0x3ccbe1[_0x2bb407]){this[_0x1b01e0(0x218)](_0x5ce8c0,_0x3ccbe1);break;}}},'MessageEvent':_0x4c45f1};function _0x2c31a3(_0x1e24d2,_0x1f9060,_0x2de8b0){const _0x5b011e=_0x2c8aae;typeof _0x1e24d2==_0x5b011e(0x15a)&&_0x1e24d2['handleEvent']?_0x1e24d2[_0x5b011e(0x1f3)][_0x5b011e(0x119)](_0x1e24d2,_0x2de8b0):_0x1e24d2['call'](_0x1f9060,_0x2de8b0);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x111a46}=ae();function _0x687ee0(_0x7bb7a2,_0x4be2ec,_0x268503){const _0x481f0a=_0x1a18;_0x7bb7a2[_0x4be2ec]===void 0x0?_0x7bb7a2[_0x4be2ec]=[_0x268503]:_0x7bb7a2[_0x4be2ec][_0x481f0a(0x20f)](_0x268503);}function _0x303fd3(_0x2440de){const _0x302132=_0x1a18,_0x34535c=Object[_0x302132(0x102)](null);let _0x56b3b0=Object[_0x302132(0x102)](null),_0x5273c0=!0x1,_0x15f6dc=!0x1,_0x149826=!0x1,_0x22871a,_0x32eede,_0x505640=-0x1,_0x208ac0=-0x1,_0x1342e8=-0x1,_0x3a6f12=0x0;for(;_0x3a6f12<_0x2440de[_0x302132(0x24e)];_0x3a6f12++)if(_0x208ac0=_0x2440de['charCodeAt'](_0x3a6f12),_0x22871a===void 0x0){if(_0x1342e8===-0x1&&_0x111a46[_0x208ac0]===0x1)_0x505640===-0x1&&(_0x505640=_0x3a6f12);else{if(_0x3a6f12!==0x0&&(_0x208ac0===0x20||_0x208ac0===0x9))_0x1342e8===-0x1&&_0x505640!==-0x1&&(_0x1342e8=_0x3a6f12);else{if(_0x208ac0===0x3b||_0x208ac0===0x2c){if(_0x505640===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x3a6f12);_0x1342e8===-0x1&&(_0x1342e8=_0x3a6f12);const _0x2598e8=_0x2440de[_0x302132(0xdf)](_0x505640,_0x1342e8);_0x208ac0===0x2c?(_0x687ee0(_0x34535c,_0x2598e8,_0x56b3b0),_0x56b3b0=Object[_0x302132(0x102)](null)):_0x22871a=_0x2598e8,_0x505640=_0x1342e8=-0x1;}else throw new SyntaxError(_0x302132(0x237)+_0x3a6f12);}}}else{if(_0x32eede===void 0x0){if(_0x1342e8===-0x1&&_0x111a46[_0x208ac0]===0x1)_0x505640===-0x1&&(_0x505640=_0x3a6f12);else{if(_0x208ac0===0x20||_0x208ac0===0x9)_0x1342e8===-0x1&&_0x505640!==-0x1&&(_0x1342e8=_0x3a6f12);else{if(_0x208ac0===0x3b||_0x208ac0===0x2c){if(_0x505640===-0x1)throw new SyntaxError(_0x302132(0x237)+_0x3a6f12);_0x1342e8===-0x1&&(_0x1342e8=_0x3a6f12),_0x687ee0(_0x56b3b0,_0x2440de[_0x302132(0xdf)](_0x505640,_0x1342e8),!0x0),_0x208ac0===0x2c&&(_0x687ee0(_0x34535c,_0x22871a,_0x56b3b0),_0x56b3b0=Object['create'](null),_0x22871a=void 0x0),_0x505640=_0x1342e8=-0x1;}else{if(_0x208ac0===0x3d&&_0x505640!==-0x1&&_0x1342e8===-0x1)_0x32eede=_0x2440de[_0x302132(0xdf)](_0x505640,_0x3a6f12),_0x505640=_0x1342e8=-0x1;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x3a6f12);}}}}else{if(_0x15f6dc){if(_0x111a46[_0x208ac0]!==0x1)throw new SyntaxError(_0x302132(0x237)+_0x3a6f12);_0x505640===-0x1?_0x505640=_0x3a6f12:_0x5273c0||(_0x5273c0=!0x0),_0x15f6dc=!0x1;}else{if(_0x149826){if(_0x111a46[_0x208ac0]===0x1)_0x505640===-0x1&&(_0x505640=_0x3a6f12);else{if(_0x208ac0===0x22&&_0x505640!==-0x1)_0x149826=!0x1,_0x1342e8=_0x3a6f12;else{if(_0x208ac0===0x5c)_0x15f6dc=!0x0;else throw new SyntaxError(_0x302132(0x237)+_0x3a6f12);}}}else{if(_0x208ac0===0x22&&_0x2440de[_0x302132(0x210)](_0x3a6f12-0x1)===0x3d)_0x149826=!0x0;else{if(_0x1342e8===-0x1&&_0x111a46[_0x208ac0]===0x1)_0x505640===-0x1&&(_0x505640=_0x3a6f12);else{if(_0x505640!==-0x1&&(_0x208ac0===0x20||_0x208ac0===0x9))_0x1342e8===-0x1&&(_0x1342e8=_0x3a6f12);else{if(_0x208ac0===0x3b||_0x208ac0===0x2c){if(_0x505640===-0x1)throw new SyntaxError(_0x302132(0x237)+_0x3a6f12);_0x1342e8===-0x1&&(_0x1342e8=_0x3a6f12);let _0x2ea1ba=_0x2440de['slice'](_0x505640,_0x1342e8);_0x5273c0&&(_0x2ea1ba=_0x2ea1ba[_0x302132(0x229)](/\\/g,''),_0x5273c0=!0x1),_0x687ee0(_0x56b3b0,_0x32eede,_0x2ea1ba),_0x208ac0===0x2c&&(_0x687ee0(_0x34535c,_0x22871a,_0x56b3b0),_0x56b3b0=Object['create'](null),_0x22871a=void 0x0),_0x32eede=void 0x0,_0x505640=_0x1342e8=-0x1;}else throw new SyntaxError(_0x302132(0x237)+_0x3a6f12);}}}}}}}if(_0x505640===-0x1||_0x149826||_0x208ac0===0x20||_0x208ac0===0x9)throw new SyntaxError(_0x302132(0x251));_0x1342e8===-0x1&&(_0x1342e8=_0x3a6f12);const _0x808fa1=_0x2440de['slice'](_0x505640,_0x1342e8);return _0x22871a===void 0x0?_0x687ee0(_0x34535c,_0x808fa1,_0x56b3b0):(_0x32eede===void 0x0?_0x687ee0(_0x56b3b0,_0x808fa1,!0x0):_0x5273c0?_0x687ee0(_0x56b3b0,_0x32eede,_0x808fa1[_0x302132(0x229)](/\\/g,'')):_0x687ee0(_0x56b3b0,_0x32eede,_0x808fa1),_0x687ee0(_0x34535c,_0x22871a,_0x56b3b0)),_0x34535c;}function _0x15a166(_0x5b26b6){const _0x11d1f6=_0x1a18;return Object[_0x11d1f6(0x13f)](_0x5b26b6)[_0x11d1f6(0x1f7)](_0x227efa=>{const _0x46ebc0=_0x11d1f6;let _0x5501cd=_0x5b26b6[_0x227efa];return Array[_0x46ebc0(0x22e)](_0x5501cd)||(_0x5501cd=[_0x5501cd]),_0x5501cd[_0x46ebc0(0x1f7)](_0x5573f2=>[_0x227efa][_0x46ebc0(0x233)](Object[_0x46ebc0(0x13f)](_0x5573f2)[_0x46ebc0(0x1f7)](_0x33fa55=>{const _0x156849=_0x46ebc0;let _0x7da9e3=_0x5573f2[_0x33fa55];return Array[_0x156849(0x22e)](_0x7da9e3)||(_0x7da9e3=[_0x7da9e3]),_0x7da9e3[_0x156849(0x1f7)](_0x3a74a5=>_0x3a74a5===!0x0?_0x33fa55:_0x33fa55+'='+_0x3a74a5)[_0x156849(0x21e)](';\x20');}))[_0x46ebc0(0x21e)](';\x20'))[_0x46ebc0(0x21e)](',\x20');})[_0x11d1f6(0x21e)](',\x20');}return be={'format':_0x15a166,'parse':_0x303fd3},be;}var we,Je;function Pe(){const _0x2f829f=_0x208faf;if(Je)return we;Je=0x1;const _0x5b1f87=nt,_0x268d37=vt,_0xa8470=ot,_0x480fe8=St,_0x3785d9=Et,{randomBytes:_0x54e352,createHash:_0x3ddf0b}=Le,{Duplex:_0x2e1783,Readable:_0x1c2a3d}=oe,{URL:_0x393583}=xt,_0x18cb26=he(),_0x534cc2=lt(),_0x2b3268=ft(),{isBlob:_0x4985c9}=ae(),{BINARY_TYPES:_0x394b76,EMPTY_BUFFER:_0x2188ea,GUID:_0x24a2c1,kForOnEventAttribute:_0x203352,kListener:_0x1be38b,kStatusCode:_0x2b067e,kWebSocket:_0x5528b5,NOOP:_0x2f0288}=H(),{EventTarget:{addEventListener:_0x4d479e,removeEventListener:_0xd07e4c}}=It(),{format:_0x949c59,parse:_0x3fed92}=ct(),{toBuffer:_0x1d9a8f}=ce(),_0xf82d37=0x1e*0x3e8,_0x1dd5a1=Symbol('kAborted'),_0x1f5515=[0x8,0xd],_0x4fc8b0=[_0x2f829f(0x277),_0x2f829f(0x134),_0x2f829f(0x297),_0x2f829f(0x284)],_0x17add3=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x286542 extends _0x5b1f87{constructor(_0x3e253f,_0x2bdd9d,_0xad716f){const _0x78f5a4=_0x2f829f;super(),this[_0x78f5a4(0x1fb)]=_0x394b76[0x0],this[_0x78f5a4(0x100)]=0x3ee,this[_0x78f5a4(0x28e)]=!0x1,this['_closeFrameSent']=!0x1,this['_closeMessage']=_0x2188ea,this['_closeTimer']=null,this['_errorEmitted']=!0x1,this['_extensions']={},this[_0x78f5a4(0x249)]=!0x1,this[_0x78f5a4(0x123)]='',this[_0x78f5a4(0x133)]=_0x286542['CONNECTING'],this[_0x78f5a4(0x112)]=null,this[_0x78f5a4(0x200)]=null,this['_socket']=null,_0x3e253f!==null?(this['_bufferedAmount']=0x0,this[_0x78f5a4(0x243)]=!0x1,this['_redirects']=0x0,_0x2bdd9d===void 0x0?_0x2bdd9d=[]:Array[_0x78f5a4(0x22e)](_0x2bdd9d)||(typeof _0x2bdd9d=='object'&&_0x2bdd9d!==null?(_0xad716f=_0x2bdd9d,_0x2bdd9d=[]):_0x2bdd9d=[_0x2bdd9d]),_0x1dc727(this,_0x3e253f,_0x2bdd9d,_0xad716f)):(this[_0x78f5a4(0x10d)]=_0xad716f[_0x78f5a4(0x189)],this['_isServer']=!0x0);}get[_0x2f829f(0x286)](){const _0x4e904b=_0x2f829f;return this[_0x4e904b(0x1fb)];}set[_0x2f829f(0x286)](_0x2853dc){const _0x50e627=_0x2f829f;_0x394b76[_0x50e627(0x299)](_0x2853dc)&&(this[_0x50e627(0x1fb)]=_0x2853dc,this[_0x50e627(0x112)]&&(this[_0x50e627(0x112)][_0x50e627(0x1fb)]=_0x2853dc));}get[_0x2f829f(0x247)](){const _0x534ba6=_0x2f829f;return this[_0x534ba6(0x1b1)]?this['_socket'][_0x534ba6(0x288)]['length']+this[_0x534ba6(0x200)]['_bufferedBytes']:this['_bufferedAmount'];}get['extensions'](){const _0x2e89b1=_0x2f829f;return Object[_0x2e89b1(0x13f)](this[_0x2e89b1(0x1d5)])[_0x2e89b1(0x21e)]();}get[_0x2f829f(0x12a)](){const _0x52b6e4=_0x2f829f;return this[_0x52b6e4(0x249)];}get['onclose'](){return null;}get[_0x2f829f(0x287)](){return null;}get[_0x2f829f(0x159)](){return null;}get['onmessage'](){return null;}get[_0x2f829f(0x174)](){const _0x20c010=_0x2f829f;return this[_0x20c010(0x123)];}get[_0x2f829f(0x298)](){const _0x5d9051=_0x2f829f;return this[_0x5d9051(0x133)];}get['url'](){const _0x3348a2=_0x2f829f;return this[_0x3348a2(0xdb)];}[_0x2f829f(0x14c)](_0x1a90e0,_0x5f061b,_0xd1b4e1){const _0x481299=_0x2f829f,_0x408d3a=new _0x534cc2({'allowSynchronousEvents':_0xd1b4e1[_0x481299(0x1f9)],'binaryType':this[_0x481299(0x286)],'extensions':this[_0x481299(0x1d5)],'isServer':this[_0x481299(0x243)],'maxPayload':_0xd1b4e1[_0x481299(0x29b)],'skipUTF8Validation':_0xd1b4e1['skipUTF8Validation']}),_0x23e532=new _0x2b3268(_0x1a90e0,this[_0x481299(0x1d5)],_0xd1b4e1[_0x481299(0x268)]);this[_0x481299(0x112)]=_0x408d3a,this['_sender']=_0x23e532,this[_0x481299(0x1b1)]=_0x1a90e0,_0x408d3a[_0x5528b5]=this,_0x23e532[_0x5528b5]=this,_0x1a90e0[_0x5528b5]=this,_0x408d3a['on']('conclude',_0x9afc4),_0x408d3a['on']('drain',_0x47e9a9),_0x408d3a['on'](_0x481299(0x1d4),_0x53abd1),_0x408d3a['on']('message',_0x435233),_0x408d3a['on'](_0x481299(0x26c),_0x44ab3f),_0x408d3a['on']('pong',_0x2a7391),_0x23e532[_0x481299(0x287)]=_0x6377c,_0x1a90e0[_0x481299(0x260)]&&_0x1a90e0[_0x481299(0x260)](0x0),_0x1a90e0['setNoDelay']&&_0x1a90e0[_0x481299(0x279)](),_0x5f061b[_0x481299(0x24e)]>0x0&&_0x1a90e0[_0x481299(0x257)](_0x5f061b),_0x1a90e0['on'](_0x481299(0x12d),_0x32ef91),_0x1a90e0['on'](_0x481299(0x25f),_0x5b78a6),_0x1a90e0['on'](_0x481299(0x250),_0x59ede8),_0x1a90e0['on'](_0x481299(0x1d4),_0x4fcb0f),this['_readyState']=_0x286542['OPEN'],this[_0x481299(0x20c)](_0x481299(0x203));}['emitClose'](){const _0x3f85dd=_0x2f829f;if(!this['_socket']){this[_0x3f85dd(0x133)]=_0x286542['CLOSED'],this[_0x3f85dd(0x20c)](_0x3f85dd(0x12d),this['_closeCode'],this[_0x3f85dd(0x22f)]);return;}this[_0x3f85dd(0x1d5)][_0x18cb26['extensionName']]&&this[_0x3f85dd(0x1d5)][_0x18cb26[_0x3f85dd(0x227)]][_0x3f85dd(0x172)](),this[_0x3f85dd(0x112)][_0x3f85dd(0x155)](),this['_readyState']=_0x286542[_0x3f85dd(0x284)],this[_0x3f85dd(0x20c)](_0x3f85dd(0x12d),this[_0x3f85dd(0x100)],this[_0x3f85dd(0x22f)]);}[_0x2f829f(0x12d)](_0xa71d95,_0x2af446){const _0xf8a072=_0x2f829f;if(this[_0xf8a072(0x298)]!==_0x286542[_0xf8a072(0x284)]){if(this[_0xf8a072(0x298)]===_0x286542['CONNECTING']){_0x5bb13b(this,this[_0xf8a072(0xf4)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}if(this[_0xf8a072(0x298)]===_0x286542[_0xf8a072(0x297)]){this['_closeFrameSent']&&(this['_closeFrameReceived']||this[_0xf8a072(0x112)][_0xf8a072(0x288)]['errorEmitted'])&&this[_0xf8a072(0x1b1)][_0xf8a072(0x250)]();return;}this[_0xf8a072(0x133)]=_0x286542[_0xf8a072(0x297)],this['_sender'][_0xf8a072(0x12d)](_0xa71d95,_0x2af446,!this[_0xf8a072(0x243)],_0x31068e=>{const _0x107310=_0xf8a072;_0x31068e||(this[_0x107310(0x244)]=!0x0,(this['_closeFrameReceived']||this['_receiver'][_0x107310(0x288)][_0x107310(0x1a7)])&&this[_0x107310(0x1b1)][_0x107310(0x250)]());}),_0x454c12(this);}}[_0x2f829f(0x25a)](){const _0x4be29e=_0x2f829f;this[_0x4be29e(0x298)]===_0x286542[_0x4be29e(0x277)]||this[_0x4be29e(0x298)]===_0x286542['CLOSED']||(this['_paused']=!0x0,this[_0x4be29e(0x1b1)][_0x4be29e(0x25a)]());}[_0x2f829f(0x26c)](_0x508add,_0xb871ec,_0x3ef863){const _0x158418=_0x2f829f;if(this[_0x158418(0x298)]===_0x286542[_0x158418(0x277)])throw new Error(_0x158418(0x26b));if(typeof _0x508add==_0x158418(0x1f4)?(_0x3ef863=_0x508add,_0x508add=_0xb871ec=void 0x0):typeof _0xb871ec==_0x158418(0x1f4)&&(_0x3ef863=_0xb871ec,_0xb871ec=void 0x0),typeof _0x508add==_0x158418(0x199)&&(_0x508add=_0x508add['toString']()),this[_0x158418(0x298)]!==_0x286542[_0x158418(0x134)]){_0x304ab3(this,_0x508add,_0x3ef863);return;}_0xb871ec===void 0x0&&(_0xb871ec=!this[_0x158418(0x243)]),this['_sender'][_0x158418(0x26c)](_0x508add||_0x2188ea,_0xb871ec,_0x3ef863);}[_0x2f829f(0x216)](_0xe5b024,_0x22a4c8,_0xb9f476){const _0x5c844d=_0x2f829f;if(this[_0x5c844d(0x298)]===_0x286542['CONNECTING'])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0xe5b024==_0x5c844d(0x1f4)?(_0xb9f476=_0xe5b024,_0xe5b024=_0x22a4c8=void 0x0):typeof _0x22a4c8==_0x5c844d(0x1f4)&&(_0xb9f476=_0x22a4c8,_0x22a4c8=void 0x0),typeof _0xe5b024==_0x5c844d(0x199)&&(_0xe5b024=_0xe5b024[_0x5c844d(0x117)]()),this['readyState']!==_0x286542[_0x5c844d(0x134)]){_0x304ab3(this,_0xe5b024,_0xb9f476);return;}_0x22a4c8===void 0x0&&(_0x22a4c8=!this[_0x5c844d(0x243)]),this[_0x5c844d(0x200)]['pong'](_0xe5b024||_0x2188ea,_0x22a4c8,_0xb9f476);}[_0x2f829f(0x1ed)](){const _0x36a536=_0x2f829f;this[_0x36a536(0x298)]===_0x286542[_0x36a536(0x277)]||this['readyState']===_0x286542[_0x36a536(0x284)]||(this[_0x36a536(0x249)]=!0x1,this[_0x36a536(0x112)][_0x36a536(0x288)]['needDrain']||this[_0x36a536(0x1b1)][_0x36a536(0x1ed)]());}[_0x2f829f(0x10e)](_0x41df5f,_0x4eb4f1,_0x4d70ec){const _0x12d068=_0x2f829f;if(this[_0x12d068(0x298)]===_0x286542[_0x12d068(0x277)])throw new Error(_0x12d068(0x26b));if(typeof _0x4eb4f1=='function'&&(_0x4d70ec=_0x4eb4f1,_0x4eb4f1={}),typeof _0x41df5f==_0x12d068(0x199)&&(_0x41df5f=_0x41df5f[_0x12d068(0x117)]()),this[_0x12d068(0x298)]!==_0x286542[_0x12d068(0x134)]){_0x304ab3(this,_0x41df5f,_0x4d70ec);return;}const _0x1c4920={'binary':typeof _0x41df5f!=_0x12d068(0x258),'mask':!this[_0x12d068(0x243)],'compress':!0x0,'fin':!0x0,..._0x4eb4f1};this[_0x12d068(0x1d5)][_0x18cb26[_0x12d068(0x227)]]||(_0x1c4920[_0x12d068(0x20a)]=!0x1),this[_0x12d068(0x200)][_0x12d068(0x10e)](_0x41df5f||_0x2188ea,_0x1c4920,_0x4d70ec);}['terminate'](){const _0x2f7a6c=_0x2f829f;if(this[_0x2f7a6c(0x298)]!==_0x286542['CLOSED']){if(this[_0x2f7a6c(0x298)]===_0x286542['CONNECTING']){_0x5bb13b(this,this[_0x2f7a6c(0xf4)],_0x2f7a6c(0x24a));return;}this[_0x2f7a6c(0x1b1)]&&(this['_readyState']=_0x286542[_0x2f7a6c(0x297)],this[_0x2f7a6c(0x1b1)][_0x2f7a6c(0x10a)]());}}}Object[_0x2f829f(0x1be)](_0x286542,_0x2f829f(0x277),{'enumerable':!0x0,'value':_0x4fc8b0[_0x2f829f(0x23c)]('CONNECTING')}),Object[_0x2f829f(0x1be)](_0x286542['prototype'],_0x2f829f(0x277),{'enumerable':!0x0,'value':_0x4fc8b0[_0x2f829f(0x23c)](_0x2f829f(0x277))}),Object['defineProperty'](_0x286542,_0x2f829f(0x134),{'enumerable':!0x0,'value':_0x4fc8b0['indexOf'](_0x2f829f(0x134))}),Object[_0x2f829f(0x1be)](_0x286542[_0x2f829f(0x230)],_0x2f829f(0x134),{'enumerable':!0x0,'value':_0x4fc8b0[_0x2f829f(0x23c)](_0x2f829f(0x134))}),Object['defineProperty'](_0x286542,_0x2f829f(0x297),{'enumerable':!0x0,'value':_0x4fc8b0[_0x2f829f(0x23c)]('CLOSING')}),Object['defineProperty'](_0x286542['prototype'],_0x2f829f(0x297),{'enumerable':!0x0,'value':_0x4fc8b0[_0x2f829f(0x23c)](_0x2f829f(0x297))}),Object[_0x2f829f(0x1be)](_0x286542,_0x2f829f(0x284),{'enumerable':!0x0,'value':_0x4fc8b0[_0x2f829f(0x23c)](_0x2f829f(0x284))}),Object[_0x2f829f(0x1be)](_0x286542['prototype'],'CLOSED',{'enumerable':!0x0,'value':_0x4fc8b0[_0x2f829f(0x23c)](_0x2f829f(0x284))}),[_0x2f829f(0x286),_0x2f829f(0x247),_0x2f829f(0x1a3),_0x2f829f(0x12a),_0x2f829f(0x174),_0x2f829f(0x298),'url'][_0x2f829f(0x214)](_0x231c1e=>{Object['defineProperty'](_0x286542['prototype'],_0x231c1e,{'enumerable':!0x0});}),[_0x2f829f(0x203),_0x2f829f(0x1d4),_0x2f829f(0x12d),'message'][_0x2f829f(0x214)](_0x47e620=>{const _0x20ed28=_0x2f829f;Object[_0x20ed28(0x1be)](_0x286542[_0x20ed28(0x230)],'on'+_0x47e620,{'enumerable':!0x0,'get'(){const _0xc583ff=_0x20ed28;for(const _0x52c75b of this[_0xc583ff(0x289)](_0x47e620))if(_0x52c75b[_0x203352])return _0x52c75b[_0x1be38b];return null;},'set'(_0x210e03){const _0x98ce76=_0x20ed28;for(const _0x27c78a of this[_0x98ce76(0x289)](_0x47e620))if(_0x27c78a[_0x203352]){this[_0x98ce76(0x218)](_0x47e620,_0x27c78a);break;}typeof _0x210e03==_0x98ce76(0x1f4)&&this[_0x98ce76(0x205)](_0x47e620,_0x210e03,{[_0x203352]:!0x0});}});}),_0x286542[_0x2f829f(0x230)]['addEventListener']=_0x4d479e,_0x286542[_0x2f829f(0x230)]['removeEventListener']=_0xd07e4c,we=_0x286542;function _0x1dc727(_0x2d10ff,_0x157273,_0x491df7,_0x2ef2b2){const _0x5a272f=_0x2f829f,_0x38e336={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x1f5515[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x2ef2b2,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x5a272f(0x16c),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x2d10ff[_0x5a272f(0x10d)]=_0x38e336[_0x5a272f(0x189)],!_0x1f5515[_0x5a272f(0x299)](_0x38e336[_0x5a272f(0x1c2)]))throw new RangeError(_0x5a272f(0x107)+_0x38e336[_0x5a272f(0x1c2)]+_0x5a272f(0x1dd)+_0x1f5515[_0x5a272f(0x21e)](',\x20')+')');let _0x5ed1fc;if(_0x157273 instanceof _0x393583)_0x5ed1fc=_0x157273;else try{_0x5ed1fc=new _0x393583(_0x157273);}catch{throw new SyntaxError('Invalid\x20URL:\x20'+_0x157273);}_0x5ed1fc[_0x5a272f(0x174)]===_0x5a272f(0x157)?_0x5ed1fc['protocol']=_0x5a272f(0x1ca):_0x5ed1fc[_0x5a272f(0x174)]===_0x5a272f(0x18f)&&(_0x5ed1fc[_0x5a272f(0x174)]=_0x5a272f(0x294)),_0x2d10ff[_0x5a272f(0xdb)]=_0x5ed1fc[_0x5a272f(0x20d)];const _0x41b397=_0x5ed1fc[_0x5a272f(0x174)]===_0x5a272f(0x294),_0x5c6ae3=_0x5ed1fc[_0x5a272f(0x174)]===_0x5a272f(0x228);let _0x29e531;if(_0x5ed1fc[_0x5a272f(0x174)]!==_0x5a272f(0x1ca)&&!_0x41b397&&!_0x5c6ae3?_0x29e531=_0x5a272f(0xd4):_0x5c6ae3&&!_0x5ed1fc[_0x5a272f(0xe2)]?_0x29e531=_0x5a272f(0x151):_0x5ed1fc['hash']&&(_0x29e531=_0x5a272f(0x291)),_0x29e531){const _0x29688b=new SyntaxError(_0x29e531);if(_0x2d10ff[_0x5a272f(0x1e7)]===0x0)throw _0x29688b;_0x4b54a3(_0x2d10ff,_0x29688b);return;}const _0x5144a8=_0x41b397?0x1bb:0x50,_0x47fb92=_0x54e352(0x10)[_0x5a272f(0x117)](_0x5a272f(0x1eb)),_0x2501cc=_0x41b397?_0x268d37[_0x5a272f(0x217)]:_0xa8470[_0x5a272f(0x217)],_0x2cc319=new Set();let _0x479dd7;if(_0x38e336[_0x5a272f(0x25b)]=_0x38e336[_0x5a272f(0x25b)]||(_0x41b397?_0x4edcdd:_0x25f314),_0x38e336[_0x5a272f(0xfe)]=_0x38e336[_0x5a272f(0xfe)]||_0x5144a8,_0x38e336[_0x5a272f(0x234)]=_0x5ed1fc['port']||_0x5144a8,_0x38e336['host']=_0x5ed1fc[_0x5a272f(0x105)][_0x5a272f(0x1aa)]('[')?_0x5ed1fc['hostname'][_0x5a272f(0xdf)](0x1,-0x1):_0x5ed1fc['hostname'],_0x38e336[_0x5a272f(0x241)]={..._0x38e336[_0x5a272f(0x241)],'Sec-WebSocket-Version':_0x38e336[_0x5a272f(0x1c2)],'Sec-WebSocket-Key':_0x47fb92,'Connection':'Upgrade','Upgrade':'websocket'},_0x38e336[_0x5a272f(0x27c)]=_0x5ed1fc[_0x5a272f(0xe2)]+_0x5ed1fc[_0x5a272f(0x1d2)],_0x38e336[_0x5a272f(0xe1)]=_0x38e336['handshakeTimeout'],_0x38e336[_0x5a272f(0x126)]&&(_0x479dd7=new _0x18cb26(_0x38e336[_0x5a272f(0x126)]!==!0x0?_0x38e336['perMessageDeflate']:{},!0x1,_0x38e336[_0x5a272f(0x29b)]),_0x38e336[_0x5a272f(0x241)]['Sec-WebSocket-Extensions']=_0x949c59({[_0x18cb26[_0x5a272f(0x227)]]:_0x479dd7[_0x5a272f(0x223)]()})),_0x491df7['length']){for(const _0x2b16c7 of _0x491df7){if(typeof _0x2b16c7!='string'||!_0x17add3['test'](_0x2b16c7)||_0x2cc319['has'](_0x2b16c7))throw new SyntaxError(_0x5a272f(0x290));_0x2cc319[_0x5a272f(0x1a5)](_0x2b16c7);}_0x38e336[_0x5a272f(0x241)]['Sec-WebSocket-Protocol']=_0x491df7[_0x5a272f(0x21e)](',');}if(_0x38e336['origin']&&(_0x38e336[_0x5a272f(0x1c2)]<0xd?_0x38e336['headers'][_0x5a272f(0x1fa)]=_0x38e336['origin']:_0x38e336['headers'][_0x5a272f(0x1fe)]=_0x38e336[_0x5a272f(0x158)]),(_0x5ed1fc['username']||_0x5ed1fc[_0x5a272f(0x232)])&&(_0x38e336[_0x5a272f(0x28a)]=_0x5ed1fc['username']+':'+_0x5ed1fc[_0x5a272f(0x232)]),_0x5c6ae3){const _0xeb8268=_0x38e336[_0x5a272f(0x27c)][_0x5a272f(0x156)](':');_0x38e336[_0x5a272f(0x1d1)]=_0xeb8268[0x0],_0x38e336[_0x5a272f(0x27c)]=_0xeb8268[0x1];}let _0x4b7627;if(_0x38e336[_0x5a272f(0xd6)]){if(_0x2d10ff[_0x5a272f(0x1e7)]===0x0){_0x2d10ff[_0x5a272f(0x19f)]=_0x5c6ae3,_0x2d10ff[_0x5a272f(0x1c1)]=_0x41b397,_0x2d10ff['_originalHostOrSocketPath']=_0x5c6ae3?_0x38e336[_0x5a272f(0x1d1)]:_0x5ed1fc['host'];const _0x20f1f1=_0x2ef2b2&&_0x2ef2b2[_0x5a272f(0x241)];if(_0x2ef2b2={..._0x2ef2b2,'headers':{}},_0x20f1f1){for(const [_0x2e7efc,_0x38899c]of Object[_0x5a272f(0x1cc)](_0x20f1f1))_0x2ef2b2[_0x5a272f(0x241)][_0x2e7efc['toLowerCase']()]=_0x38899c;}}else{if(_0x2d10ff[_0x5a272f(0x1ec)](_0x5a272f(0xeb))===0x0){const _0x41ef53=_0x5c6ae3?_0x2d10ff[_0x5a272f(0x19f)]?_0x38e336[_0x5a272f(0x1d1)]===_0x2d10ff[_0x5a272f(0x1d8)]:!0x1:_0x2d10ff['_originalIpc']?!0x1:_0x5ed1fc[_0x5a272f(0x262)]===_0x2d10ff[_0x5a272f(0x1d8)];(!_0x41ef53||_0x2d10ff[_0x5a272f(0x1c1)]&&!_0x41b397)&&(delete _0x38e336['headers'][_0x5a272f(0x219)],delete _0x38e336['headers'][_0x5a272f(0x146)],_0x41ef53||delete _0x38e336[_0x5a272f(0x241)][_0x5a272f(0x262)],_0x38e336['auth']=void 0x0);}}_0x38e336[_0x5a272f(0x28a)]&&!_0x2ef2b2[_0x5a272f(0x241)][_0x5a272f(0x219)]&&(_0x2ef2b2['headers'][_0x5a272f(0x219)]=_0x5a272f(0x13b)+Buffer[_0x5a272f(0xe9)](_0x38e336[_0x5a272f(0x28a)])[_0x5a272f(0x117)](_0x5a272f(0x1eb))),_0x4b7627=_0x2d10ff[_0x5a272f(0xf4)]=_0x2501cc(_0x38e336),_0x2d10ff['_redirects']&&_0x2d10ff[_0x5a272f(0x20c)]('redirect',_0x2d10ff[_0x5a272f(0x163)],_0x4b7627);}else _0x4b7627=_0x2d10ff[_0x5a272f(0xf4)]=_0x2501cc(_0x38e336);_0x38e336[_0x5a272f(0xe1)]&&_0x4b7627['on'](_0x5a272f(0xe1),()=>{const _0x30ed51=_0x5a272f;_0x5bb13b(_0x2d10ff,_0x4b7627,_0x30ed51(0x264));}),_0x4b7627['on'](_0x5a272f(0x1d4),_0x132e18=>{const _0x31cd74=_0x5a272f;_0x4b7627===null||_0x4b7627[_0x1dd5a1]||(_0x4b7627=_0x2d10ff[_0x31cd74(0xf4)]=null,_0x4b54a3(_0x2d10ff,_0x132e18));}),_0x4b7627['on']('response',_0x3ce4fb=>{const _0x299c07=_0x5a272f,_0x1cd1cd=_0x3ce4fb[_0x299c07(0x241)]['location'],_0x212f03=_0x3ce4fb[_0x299c07(0x13a)];if(_0x1cd1cd&&_0x38e336['followRedirects']&&_0x212f03>=0x12c&&_0x212f03<0x190){if(++_0x2d10ff['_redirects']>_0x38e336['maxRedirects']){_0x5bb13b(_0x2d10ff,_0x4b7627,_0x299c07(0x256));return;}_0x4b7627[_0x299c07(0x1fc)]();let _0x5e4db4;try{_0x5e4db4=new _0x393583(_0x1cd1cd,_0x157273);}catch{const _0x4129d8=new SyntaxError(_0x299c07(0x192)+_0x1cd1cd);_0x4b54a3(_0x2d10ff,_0x4129d8);return;}_0x1dc727(_0x2d10ff,_0x5e4db4,_0x491df7,_0x2ef2b2);}else _0x2d10ff[_0x299c07(0x20c)](_0x299c07(0x138),_0x4b7627,_0x3ce4fb)||_0x5bb13b(_0x2d10ff,_0x4b7627,_0x299c07(0x26f)+_0x3ce4fb[_0x299c07(0x13a)]);}),_0x4b7627['on'](_0x5a272f(0x17d),(_0x1e0bb9,_0x582e99,_0x13cda4)=>{const _0x3d1833=_0x5a272f;if(_0x2d10ff[_0x3d1833(0x20c)](_0x3d1833(0x17d),_0x1e0bb9),_0x2d10ff['readyState']!==_0x286542[_0x3d1833(0x277)])return;_0x4b7627=_0x2d10ff[_0x3d1833(0xf4)]=null;const _0x4e11f3=_0x1e0bb9[_0x3d1833(0x241)]['upgrade'];if(_0x4e11f3===void 0x0||_0x4e11f3[_0x3d1833(0x255)]()!==_0x3d1833(0xfc)){_0x5bb13b(_0x2d10ff,_0x582e99,'Invalid\x20Upgrade\x20header');return;}const _0x111c5a=_0x3ddf0b('sha1')[_0x3d1833(0x1ad)](_0x47fb92+_0x24a2c1)[_0x3d1833(0x266)](_0x3d1833(0x1eb));if(_0x1e0bb9['headers'][_0x3d1833(0x1e9)]!==_0x111c5a){_0x5bb13b(_0x2d10ff,_0x582e99,_0x3d1833(0x197));return;}const _0x1c9264=_0x1e0bb9[_0x3d1833(0x241)][_0x3d1833(0xf6)];let _0x390d51;if(_0x1c9264!==void 0x0?_0x2cc319['size']?_0x2cc319[_0x3d1833(0x24b)](_0x1c9264)||(_0x390d51=_0x3d1833(0x1b6)):_0x390d51=_0x3d1833(0x10c):_0x2cc319[_0x3d1833(0x24f)]&&(_0x390d51=_0x3d1833(0x1f2)),_0x390d51){_0x5bb13b(_0x2d10ff,_0x582e99,_0x390d51);return;}_0x1c9264&&(_0x2d10ff[_0x3d1833(0x123)]=_0x1c9264);const _0x4bd5d6=_0x1e0bb9['headers']['sec-websocket-extensions'];if(_0x4bd5d6!==void 0x0){if(!_0x479dd7){_0x5bb13b(_0x2d10ff,_0x582e99,_0x3d1833(0x14f));return;}let _0x509f1c;try{_0x509f1c=_0x3fed92(_0x4bd5d6);}catch{_0x5bb13b(_0x2d10ff,_0x582e99,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0x2cafac=Object['keys'](_0x509f1c);if(_0x2cafac[_0x3d1833(0x24e)]!==0x1||_0x2cafac[0x0]!==_0x18cb26[_0x3d1833(0x227)]){_0x5bb13b(_0x2d10ff,_0x582e99,_0x3d1833(0x21c));return;}try{_0x479dd7[_0x3d1833(0x275)](_0x509f1c[_0x18cb26[_0x3d1833(0x227)]]);}catch{_0x5bb13b(_0x2d10ff,_0x582e99,_0x3d1833(0x19e));return;}_0x2d10ff[_0x3d1833(0x1d5)][_0x18cb26[_0x3d1833(0x227)]]=_0x479dd7;}_0x2d10ff[_0x3d1833(0x14c)](_0x582e99,_0x13cda4,{'allowSynchronousEvents':_0x38e336['allowSynchronousEvents'],'generateMask':_0x38e336[_0x3d1833(0x268)],'maxPayload':_0x38e336[_0x3d1833(0x29b)],'skipUTF8Validation':_0x38e336[_0x3d1833(0x198)]});}),_0x38e336[_0x5a272f(0x19c)]?_0x38e336[_0x5a272f(0x19c)](_0x4b7627,_0x2d10ff):_0x4b7627[_0x5a272f(0x250)]();}function _0x4b54a3(_0x4f7fe2,_0x49ceb6){const _0x4964a6=_0x2f829f;_0x4f7fe2[_0x4964a6(0x133)]=_0x286542['CLOSING'],_0x4f7fe2[_0x4964a6(0x269)]=!0x0,_0x4f7fe2[_0x4964a6(0x20c)](_0x4964a6(0x1d4),_0x49ceb6),_0x4f7fe2['emitClose']();}function _0x25f314(_0x2431cb){const _0x4db2be=_0x2f829f;return _0x2431cb[_0x4db2be(0x27c)]=_0x2431cb[_0x4db2be(0x1d1)],_0x480fe8[_0x4db2be(0x160)](_0x2431cb);}function _0x4edcdd(_0x37355c){const _0x88110b=_0x2f829f;return _0x37355c['path']=void 0x0,!_0x37355c[_0x88110b(0x15d)]&&_0x37355c[_0x88110b(0x15d)]!==''&&(_0x37355c[_0x88110b(0x15d)]=_0x480fe8[_0x88110b(0x1ac)](_0x37355c['host'])?'':_0x37355c['host']),_0x3785d9[_0x88110b(0x160)](_0x37355c);}function _0x5bb13b(_0x3f113d,_0xe2996e,_0x4319e4){const _0x288d29=_0x2f829f;_0x3f113d[_0x288d29(0x133)]=_0x286542[_0x288d29(0x297)];const _0x2fadae=new Error(_0x4319e4);Error[_0x288d29(0x11d)](_0x2fadae,_0x5bb13b),_0xe2996e['setHeader']?(_0xe2996e[_0x1dd5a1]=!0x0,_0xe2996e[_0x288d29(0x1fc)](),_0xe2996e[_0x288d29(0x1cb)]&&!_0xe2996e['socket'][_0x288d29(0x167)]&&_0xe2996e[_0x288d29(0x1cb)]['destroy'](),process[_0x288d29(0x15b)](_0x4b54a3,_0x3f113d,_0x2fadae)):(_0xe2996e['destroy'](_0x2fadae),_0xe2996e['once']('error',_0x3f113d[_0x288d29(0x20c)][_0x288d29(0x272)](_0x3f113d,_0x288d29(0x1d4))),_0xe2996e[_0x288d29(0x259)](_0x288d29(0x12d),_0x3f113d[_0x288d29(0xfa)][_0x288d29(0x272)](_0x3f113d)));}function _0x304ab3(_0x2b3baf,_0x3cd524,_0x4eb3a8){const _0xb9809e=_0x2f829f;if(_0x3cd524){const _0x2dc0e6=_0x4985c9(_0x3cd524)?_0x3cd524[_0xb9809e(0x24f)]:_0x1d9a8f(_0x3cd524)[_0xb9809e(0x24e)];_0x2b3baf['_socket']?_0x2b3baf[_0xb9809e(0x200)]['_bufferedBytes']+=_0x2dc0e6:_0x2b3baf[_0xb9809e(0x239)]+=_0x2dc0e6;}if(_0x4eb3a8){const _0x9708b6=new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x20'+_0x2b3baf[_0xb9809e(0x298)]+'\x20('+_0x4fc8b0[_0x2b3baf['readyState']]+')');process[_0xb9809e(0x15b)](_0x4eb3a8,_0x9708b6);}}function _0x9afc4(_0x535c34,_0x18b832){const _0x5e6f07=_0x2f829f,_0x786638=this[_0x5528b5];_0x786638[_0x5e6f07(0x28e)]=!0x0,_0x786638[_0x5e6f07(0x22f)]=_0x18b832,_0x786638[_0x5e6f07(0x100)]=_0x535c34,_0x786638[_0x5e6f07(0x1b1)][_0x5528b5]!==void 0x0&&(_0x786638['_socket']['removeListener'](_0x5e6f07(0x25f),_0x5b78a6),process[_0x5e6f07(0x15b)](_0x23ac66,_0x786638[_0x5e6f07(0x1b1)]),_0x535c34===0x3ed?_0x786638[_0x5e6f07(0x12d)]():_0x786638[_0x5e6f07(0x12d)](_0x535c34,_0x18b832));}function _0x47e9a9(){const _0x36e355=_0x2f829f,_0x29218a=this[_0x5528b5];_0x29218a[_0x36e355(0x12a)]||_0x29218a[_0x36e355(0x1b1)]['resume']();}function _0x53abd1(_0x1b2bbb){const _0x154c36=_0x2f829f,_0x1c8038=this[_0x5528b5];_0x1c8038['_socket'][_0x5528b5]!==void 0x0&&(_0x1c8038['_socket'][_0x154c36(0x218)](_0x154c36(0x25f),_0x5b78a6),process[_0x154c36(0x15b)](_0x23ac66,_0x1c8038[_0x154c36(0x1b1)]),_0x1c8038['close'](_0x1b2bbb[_0x2b067e])),_0x1c8038['_errorEmitted']||(_0x1c8038[_0x154c36(0x269)]=!0x0,_0x1c8038[_0x154c36(0x20c)](_0x154c36(0x1d4),_0x1b2bbb));}function _0x34e6b3(){const _0x795ad9=_0x2f829f;this[_0x5528b5][_0x795ad9(0xfa)]();}function _0x435233(_0x37ab03,_0x277d70){const _0x4585e9=_0x2f829f;this[_0x5528b5][_0x4585e9(0x20c)](_0x4585e9(0x1b4),_0x37ab03,_0x277d70);}function _0x44ab3f(_0x3f28d1){const _0x1901d7=_0x2f829f,_0x3ba651=this[_0x5528b5];_0x3ba651[_0x1901d7(0x10d)]&&_0x3ba651[_0x1901d7(0x216)](_0x3f28d1,!this['_isServer'],_0x2f0288),_0x3ba651[_0x1901d7(0x20c)]('ping',_0x3f28d1);}function _0x2a7391(_0x5ef25c){this[_0x5528b5]['emit']('pong',_0x5ef25c);}function _0x23ac66(_0x496f90){const _0x34624d=_0x2f829f;_0x496f90[_0x34624d(0x1ed)]();}function _0x6377c(_0x848993){const _0x51eb5e=_0x2f829f,_0x44b4b1=this[_0x5528b5];_0x44b4b1['readyState']!==_0x286542['CLOSED']&&(_0x44b4b1[_0x51eb5e(0x298)]===_0x286542[_0x51eb5e(0x134)]&&(_0x44b4b1[_0x51eb5e(0x133)]=_0x286542[_0x51eb5e(0x297)],_0x454c12(_0x44b4b1)),this[_0x51eb5e(0x1b1)][_0x51eb5e(0x250)](),_0x44b4b1[_0x51eb5e(0x269)]||(_0x44b4b1[_0x51eb5e(0x269)]=!0x0,_0x44b4b1[_0x51eb5e(0x20c)](_0x51eb5e(0x1d4),_0x848993)));}function _0x454c12(_0xab6644){const _0x816b57=_0x2f829f;_0xab6644[_0x816b57(0xf5)]=setTimeout(_0xab6644[_0x816b57(0x1b1)][_0x816b57(0x10a)][_0x816b57(0x272)](_0xab6644[_0x816b57(0x1b1)]),_0xf82d37);}function _0x32ef91(){const _0x14a83b=_0x2f829f,_0x976a40=this[_0x5528b5];this['removeListener'](_0x14a83b(0x12d),_0x32ef91),this[_0x14a83b(0x218)](_0x14a83b(0x25f),_0x5b78a6),this[_0x14a83b(0x218)]('end',_0x59ede8),_0x976a40[_0x14a83b(0x133)]=_0x286542[_0x14a83b(0x297)];let _0x4e79de;!this['_readableState'][_0x14a83b(0x136)]&&!_0x976a40[_0x14a83b(0x28e)]&&!_0x976a40['_receiver'][_0x14a83b(0x288)][_0x14a83b(0x1a7)]&&(_0x4e79de=_0x976a40[_0x14a83b(0x1b1)][_0x14a83b(0x182)]())!==null&&_0x976a40[_0x14a83b(0x112)]['write'](_0x4e79de),_0x976a40[_0x14a83b(0x112)][_0x14a83b(0x250)](),this[_0x5528b5]=void 0x0,clearTimeout(_0x976a40[_0x14a83b(0xf5)]),_0x976a40[_0x14a83b(0x112)][_0x14a83b(0x288)][_0x14a83b(0x23a)]||_0x976a40[_0x14a83b(0x112)][_0x14a83b(0x288)][_0x14a83b(0x1a7)]?_0x976a40['emitClose']():(_0x976a40['_receiver']['on'](_0x14a83b(0x1d4),_0x34e6b3),_0x976a40['_receiver']['on'](_0x14a83b(0xed),_0x34e6b3));}function _0x5b78a6(_0x4c5146){const _0xbc5b3e=_0x2f829f;this[_0x5528b5][_0xbc5b3e(0x112)][_0xbc5b3e(0xde)](_0x4c5146)||this[_0xbc5b3e(0x25a)]();}function _0x59ede8(){const _0x56cdfa=_0x2f829f,_0x232188=this[_0x5528b5];_0x232188[_0x56cdfa(0x133)]=_0x286542[_0x56cdfa(0x297)],_0x232188[_0x56cdfa(0x112)][_0x56cdfa(0x250)](),this[_0x56cdfa(0x250)]();}function _0x4fcb0f(){const _0xd682a0=_0x2f829f,_0x5ce3e3=this[_0x5528b5];this[_0xd682a0(0x218)](_0xd682a0(0x1d4),_0x4fcb0f),this['on'](_0xd682a0(0x1d4),_0x2f0288),_0x5ce3e3&&(_0x5ce3e3[_0xd682a0(0x133)]=_0x286542[_0xd682a0(0x297)],this['destroy']());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x38507f}=oe;function _0x47c904(_0x155bd1){const _0x828fda=_0x1a18;_0x155bd1[_0x828fda(0x20c)](_0x828fda(0x12d));}function _0x31073f(){const _0x36c1c7=_0x1a18;!this[_0x36c1c7(0x167)]&&this['_writableState']['finished']&&this['destroy']();}function _0x5aa5c0(_0x2a3f91){const _0x1a7ec3=_0x1a18;this[_0x1a7ec3(0x218)](_0x1a7ec3(0x1d4),_0x5aa5c0),this[_0x1a7ec3(0x10a)](),this[_0x1a7ec3(0x1ec)](_0x1a7ec3(0x1d4))===0x0&&this[_0x1a7ec3(0x20c)](_0x1a7ec3(0x1d4),_0x2a3f91);}function _0x5a5f46(_0x5ef973,_0x52c768){const _0x91a615=_0x1a18;let _0x37ffd3=!0x0;const _0x5c79ee=new _0x38507f({..._0x52c768,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x5ef973['on']('message',function(_0x4c1d7a,_0x208ed5){const _0xd979a2=_0x1a18,_0x35d4aa=!_0x208ed5&&_0x5c79ee[_0xd979a2(0x111)]['objectMode']?_0x4c1d7a[_0xd979a2(0x117)]():_0x4c1d7a;_0x5c79ee[_0xd979a2(0x20f)](_0x35d4aa)||_0x5ef973[_0xd979a2(0x25a)]();}),_0x5ef973['once']('error',function(_0x14e19c){const _0x19e6ad=_0x1a18;_0x5c79ee[_0x19e6ad(0x167)]||(_0x37ffd3=!0x1,_0x5c79ee[_0x19e6ad(0x10a)](_0x14e19c));}),_0x5ef973[_0x91a615(0x259)](_0x91a615(0x12d),function(){const _0x1c6623=_0x91a615;_0x5c79ee[_0x1c6623(0x167)]||_0x5c79ee[_0x1c6623(0x20f)](null);}),_0x5c79ee[_0x91a615(0x12c)]=function(_0x178bfc,_0x325734){const _0x1411ec=_0x91a615;if(_0x5ef973[_0x1411ec(0x298)]===_0x5ef973[_0x1411ec(0x284)]){_0x325734(_0x178bfc),process[_0x1411ec(0x15b)](_0x47c904,_0x5c79ee);return;}let _0x452054=!0x1;_0x5ef973['once'](_0x1411ec(0x1d4),function(_0x42ec8d){_0x452054=!0x0,_0x325734(_0x42ec8d);}),_0x5ef973['once'](_0x1411ec(0x12d),function(){const _0x2edee0=_0x1411ec;_0x452054||_0x325734(_0x178bfc),process[_0x2edee0(0x15b)](_0x47c904,_0x5c79ee);}),_0x37ffd3&&_0x5ef973[_0x1411ec(0xe7)]();},_0x5c79ee['_final']=function(_0x4a0ae1){const _0x367741=_0x91a615;if(_0x5ef973[_0x367741(0x298)]===_0x5ef973[_0x367741(0x277)]){_0x5ef973[_0x367741(0x259)]('open',function(){_0x5c79ee['_final'](_0x4a0ae1);});return;}_0x5ef973[_0x367741(0x1b1)]!==null&&(_0x5ef973[_0x367741(0x1b1)][_0x367741(0x288)][_0x367741(0x23a)]?(_0x4a0ae1(),_0x5c79ee[_0x367741(0x111)]['endEmitted']&&_0x5c79ee['destroy']()):(_0x5ef973[_0x367741(0x1b1)][_0x367741(0x259)](_0x367741(0xed),function(){_0x4a0ae1();}),_0x5ef973[_0x367741(0x12d)]()));},_0x5c79ee[_0x91a615(0xfd)]=function(){const _0x5937bd=_0x91a615;_0x5ef973[_0x5937bd(0x12a)]&&_0x5ef973[_0x5937bd(0x1ed)]();},_0x5c79ee[_0x91a615(0x110)]=function(_0xd1b119,_0x493e27,_0x2160ab){const _0x12055c=_0x91a615;if(_0x5ef973[_0x12055c(0x298)]===_0x5ef973['CONNECTING']){_0x5ef973[_0x12055c(0x259)](_0x12055c(0x203),function(){const _0x52e8f0=_0x12055c;_0x5c79ee[_0x52e8f0(0x110)](_0xd1b119,_0x493e27,_0x2160ab);});return;}_0x5ef973[_0x12055c(0x10e)](_0xd1b119,_0x2160ab);},_0x5c79ee['on'](_0x91a615(0x250),_0x31073f),_0x5c79ee['on'](_0x91a615(0x1d4),_0x5aa5c0),_0x5c79ee;}return Oe=_0x5a5f46,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x4811d2}=ae();function _0x1223f1(_0xf0beed){const _0x47a0f6=_0x1a18,_0x1037e4=new Set();let _0x4bda45=-0x1,_0x86fbd=-0x1,_0x1a9d8d=0x0;for(_0x1a9d8d;_0x1a9d8d<_0xf0beed[_0x47a0f6(0x24e)];_0x1a9d8d++){const _0x551fd2=_0xf0beed[_0x47a0f6(0x210)](_0x1a9d8d);if(_0x86fbd===-0x1&&_0x4811d2[_0x551fd2]===0x1)_0x4bda45===-0x1&&(_0x4bda45=_0x1a9d8d);else{if(_0x1a9d8d!==0x0&&(_0x551fd2===0x20||_0x551fd2===0x9))_0x86fbd===-0x1&&_0x4bda45!==-0x1&&(_0x86fbd=_0x1a9d8d);else{if(_0x551fd2===0x2c){if(_0x4bda45===-0x1)throw new SyntaxError(_0x47a0f6(0x237)+_0x1a9d8d);_0x86fbd===-0x1&&(_0x86fbd=_0x1a9d8d);const _0x5cf508=_0xf0beed['slice'](_0x4bda45,_0x86fbd);if(_0x1037e4['has'](_0x5cf508))throw new SyntaxError(_0x47a0f6(0xec)+_0x5cf508+'\x22\x20subprotocol\x20is\x20duplicated');_0x1037e4[_0x47a0f6(0x1a5)](_0x5cf508),_0x4bda45=_0x86fbd=-0x1;}else throw new SyntaxError(_0x47a0f6(0x237)+_0x1a9d8d);}}}if(_0x4bda45===-0x1||_0x86fbd!==-0x1)throw new SyntaxError(_0x47a0f6(0x251));const _0x342f65=_0xf0beed[_0x47a0f6(0xdf)](_0x4bda45,_0x1a9d8d);if(_0x1037e4[_0x47a0f6(0x24b)](_0x342f65))throw new SyntaxError(_0x47a0f6(0xec)+_0x342f65+'\x22\x20subprotocol\x20is\x20duplicated');return _0x1037e4['add'](_0x342f65),_0x1037e4;}return Ce={'parse':_0x1223f1},Ce;}var Te,rt;function Ft(){const _0xc8326c=_0x208faf;if(rt)return Te;rt=0x1;const _0x25f917=nt,_0x25f6a2=ot,{Duplex:_0x5dbea0}=oe,{createHash:_0x4a8396}=Le,_0xdd5abb=ct(),_0x59494f=he(),_0x32dad8=At(),_0x1eefb0=Pe(),{GUID:_0x3b342f,kWebSocket:_0x467ffe}=H(),_0x571266=/^[+/0-9A-Za-z]{22}==$/,_0x24fb05=0x0,_0xc3f2ee=0x1,_0x3e4a26=0x2;class _0x5179cd extends _0x25f917{constructor(_0x4a606e,_0x45565a){const _0x300bc3=_0x1a18;if(super(),_0x4a606e={'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':_0x1eefb0,..._0x4a606e},_0x4a606e['port']==null&&!_0x4a606e[_0x300bc3(0x1ff)]&&!_0x4a606e[_0x300bc3(0x1c6)]||_0x4a606e[_0x300bc3(0x234)]!=null&&(_0x4a606e[_0x300bc3(0x1ff)]||_0x4a606e[_0x300bc3(0x1c6)])||_0x4a606e[_0x300bc3(0x1ff)]&&_0x4a606e[_0x300bc3(0x1c6)])throw new TypeError(_0x300bc3(0x130));if(_0x4a606e[_0x300bc3(0x234)]!=null?(this[_0x300bc3(0x19a)]=_0x25f6a2[_0x300bc3(0x21b)]((_0x5acfa9,_0xc21e9e)=>{const _0x4d5f49=_0x300bc3,_0x24daa1=_0x25f6a2[_0x4d5f49(0xf7)][0x1aa];_0xc21e9e['writeHead'](0x1aa,{'Content-Length':_0x24daa1[_0x4d5f49(0x24e)],'Content-Type':_0x4d5f49(0x29e)}),_0xc21e9e[_0x4d5f49(0x250)](_0x24daa1);}),this[_0x300bc3(0x19a)][_0x300bc3(0x169)](_0x4a606e[_0x300bc3(0x234)],_0x4a606e[_0x300bc3(0x262)],_0x4a606e[_0x300bc3(0x135)],_0x45565a)):_0x4a606e[_0x300bc3(0x1ff)]&&(this[_0x300bc3(0x19a)]=_0x4a606e[_0x300bc3(0x1ff)]),this['_server']){const _0x403b67=this['emit'][_0x300bc3(0x272)](this,_0x300bc3(0x28b));this[_0x300bc3(0x195)]=_0x35f068(this[_0x300bc3(0x19a)],{'listening':this[_0x300bc3(0x20c)]['bind'](this,_0x300bc3(0x175)),'error':this[_0x300bc3(0x20c)][_0x300bc3(0x272)](this,_0x300bc3(0x1d4)),'upgrade':(_0x43337b,_0x5680f2,_0x1c4db4)=>{const _0x58fd1c=_0x300bc3;this[_0x58fd1c(0xf0)](_0x43337b,_0x5680f2,_0x1c4db4,_0x403b67);}});}_0x4a606e[_0x300bc3(0x126)]===!0x0&&(_0x4a606e[_0x300bc3(0x126)]={}),_0x4a606e[_0x300bc3(0xd3)]&&(this['clients']=new Set(),this['_shouldEmitClose']=!0x1),this[_0x300bc3(0x17b)]=_0x4a606e,this[_0x300bc3(0x1cd)]=_0x24fb05;}[_0xc8326c(0x108)](){const _0x465b25=_0xc8326c;if(this[_0x465b25(0x17b)]['noServer'])throw new Error(_0x465b25(0x128));return this[_0x465b25(0x19a)]?this['_server']['address']():null;}[_0xc8326c(0x12d)](_0x3f6e78){const _0x68c5c3=_0xc8326c;if(this[_0x68c5c3(0x1cd)]===_0x3e4a26){_0x3f6e78&&this[_0x68c5c3(0x259)]('close',()=>{const _0x5b6263=_0x68c5c3;_0x3f6e78(new Error(_0x5b6263(0x116)));}),process['nextTick'](_0x192298,this);return;}if(_0x3f6e78&&this['once'](_0x68c5c3(0x12d),_0x3f6e78),this[_0x68c5c3(0x1cd)]!==_0xc3f2ee){if(this[_0x68c5c3(0x1cd)]=_0xc3f2ee,this[_0x68c5c3(0x17b)][_0x68c5c3(0x1c6)]||this['options']['server'])this[_0x68c5c3(0x19a)]&&(this[_0x68c5c3(0x195)](),this[_0x68c5c3(0x195)]=this['_server']=null),this[_0x68c5c3(0x27f)]?this['clients'][_0x68c5c3(0x24f)]?this[_0x68c5c3(0x235)]=!0x0:process[_0x68c5c3(0x15b)](_0x192298,this):process[_0x68c5c3(0x15b)](_0x192298,this);else{const _0x2d3ccc=this[_0x68c5c3(0x19a)];this[_0x68c5c3(0x195)](),this[_0x68c5c3(0x195)]=this[_0x68c5c3(0x19a)]=null,_0x2d3ccc['close'](()=>{_0x192298(this);});}}}[_0xc8326c(0x180)](_0x3ebe81){const _0x923236=_0xc8326c;if(this[_0x923236(0x17b)][_0x923236(0x27c)]){const _0x59d03e=_0x3ebe81['url'][_0x923236(0x23c)]('?');if((_0x59d03e!==-0x1?_0x3ebe81[_0x923236(0x163)][_0x923236(0xdf)](0x0,_0x59d03e):_0x3ebe81[_0x923236(0x163)])!==this[_0x923236(0x17b)][_0x923236(0x27c)])return!0x1;}return!0x0;}['handleUpgrade'](_0xc6a57,_0x3e18c8,_0x3463,_0x22d6f8){const _0x384094=_0xc8326c;_0x3e18c8['on'](_0x384094(0x1d4),_0x2fac7a);const _0x5a4e90=_0xc6a57[_0x384094(0x241)]['sec-websocket-key'],_0x1a3d1d=_0xc6a57[_0x384094(0x241)]['upgrade'],_0x23256d=+_0xc6a57[_0x384094(0x241)]['sec-websocket-version'];if(_0xc6a57['method']!==_0x384094(0x16c)){_0x3bedc5(this,_0xc6a57,_0x3e18c8,0x195,_0x384094(0x29a));return;}if(_0x1a3d1d===void 0x0||_0x1a3d1d[_0x384094(0x255)]()!==_0x384094(0xfc)){_0x3bedc5(this,_0xc6a57,_0x3e18c8,0x190,_0x384094(0xe8));return;}if(_0x5a4e90===void 0x0||!_0x571266[_0x384094(0x162)](_0x5a4e90)){_0x3bedc5(this,_0xc6a57,_0x3e18c8,0x190,_0x384094(0x154));return;}if(_0x23256d!==0x8&&_0x23256d!==0xd){_0x3bedc5(this,_0xc6a57,_0x3e18c8,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header');return;}if(!this['shouldHandle'](_0xc6a57)){_0x222cec(_0x3e18c8,0x190);return;}const _0x1d429d=_0xc6a57[_0x384094(0x241)][_0x384094(0xf6)];let _0x410d72=new Set();if(_0x1d429d!==void 0x0)try{_0x410d72=_0x32dad8[_0x384094(0x271)](_0x1d429d);}catch{_0x3bedc5(this,_0xc6a57,_0x3e18c8,0x190,_0x384094(0x245));return;}const _0x1baf66=_0xc6a57[_0x384094(0x241)][_0x384094(0x1ba)],_0x2fca73={};if(this[_0x384094(0x17b)][_0x384094(0x126)]&&_0x1baf66!==void 0x0){const _0x303bc6=new _0x59494f(this[_0x384094(0x17b)][_0x384094(0x126)],!0x0,this['options'][_0x384094(0x29b)]);try{const _0x246c41=_0xdd5abb[_0x384094(0x271)](_0x1baf66);_0x246c41[_0x59494f[_0x384094(0x227)]]&&(_0x303bc6['accept'](_0x246c41[_0x59494f[_0x384094(0x227)]]),_0x2fca73[_0x59494f[_0x384094(0x227)]]=_0x303bc6);}catch{_0x3bedc5(this,_0xc6a57,_0x3e18c8,0x190,_0x384094(0x24c));return;}}if(this[_0x384094(0x17b)]['verifyClient']){const _0xe6f3fc={'origin':_0xc6a57['headers'][''+(_0x23256d===0x8?'sec-websocket-origin':_0x384094(0x158))],'secure':!!(_0xc6a57['socket'][_0x384094(0x296)]||_0xc6a57[_0x384094(0x1cb)]['encrypted']),'req':_0xc6a57};if(this[_0x384094(0x17b)][_0x384094(0x1ef)]['length']===0x2){this[_0x384094(0x17b)]['verifyClient'](_0xe6f3fc,(_0x185dfb,_0x158f1f,_0x48fafb,_0x40f76f)=>{const _0x91832b=_0x384094;if(!_0x185dfb)return _0x222cec(_0x3e18c8,_0x158f1f||0x191,_0x48fafb,_0x40f76f);this[_0x91832b(0x207)](_0x2fca73,_0x5a4e90,_0x410d72,_0xc6a57,_0x3e18c8,_0x3463,_0x22d6f8);});return;}if(!this['options'][_0x384094(0x1ef)](_0xe6f3fc))return _0x222cec(_0x3e18c8,0x191);}this[_0x384094(0x207)](_0x2fca73,_0x5a4e90,_0x410d72,_0xc6a57,_0x3e18c8,_0x3463,_0x22d6f8);}[_0xc8326c(0x207)](_0x58f29a,_0x367643,_0x430157,_0x19c013,_0x323686,_0x442f46,_0x3b416d){const _0x5e7a8d=_0xc8326c;if(!_0x323686[_0x5e7a8d(0x149)]||!_0x323686[_0x5e7a8d(0xe5)])return _0x323686[_0x5e7a8d(0x10a)]();if(_0x323686[_0x467ffe])throw new Error(_0x5e7a8d(0xe3));if(this[_0x5e7a8d(0x1cd)]>_0x24fb05)return _0x222cec(_0x323686,0x1f7);const _0x185b92=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0x5e7a8d(0x11f),_0x5e7a8d(0x1cf),_0x5e7a8d(0x22b)+_0x4a8396('sha1')['update'](_0x367643+_0x3b342f)[_0x5e7a8d(0x266)](_0x5e7a8d(0x1eb))],_0x2f3769=new this[(_0x5e7a8d(0x17b))][(_0x5e7a8d(0x1d3))](null,void 0x0,this[_0x5e7a8d(0x17b)]);if(_0x430157[_0x5e7a8d(0x24f)]){const _0x577009=this[_0x5e7a8d(0x17b)][_0x5e7a8d(0x15f)]?this['options']['handleProtocols'](_0x430157,_0x19c013):_0x430157[_0x5e7a8d(0x137)]()[_0x5e7a8d(0x127)]()[_0x5e7a8d(0x13d)];_0x577009&&(_0x185b92[_0x5e7a8d(0x20f)](_0x5e7a8d(0x1c7)+_0x577009),_0x2f3769[_0x5e7a8d(0x123)]=_0x577009);}if(_0x58f29a[_0x59494f[_0x5e7a8d(0x227)]]){const _0x569b96=_0x58f29a[_0x59494f[_0x5e7a8d(0x227)]][_0x5e7a8d(0x147)],_0x3c1d5a=_0xdd5abb[_0x5e7a8d(0x1e0)]({[_0x59494f['extensionName']]:[_0x569b96]});_0x185b92[_0x5e7a8d(0x20f)]('Sec-WebSocket-Extensions:\x20'+_0x3c1d5a),_0x2f3769[_0x5e7a8d(0x1d5)]=_0x58f29a;}this[_0x5e7a8d(0x20c)](_0x5e7a8d(0x241),_0x185b92,_0x19c013),_0x323686[_0x5e7a8d(0xde)](_0x185b92[_0x5e7a8d(0x233)]('\x0d\x0a')[_0x5e7a8d(0x21e)]('\x0d\x0a')),_0x323686['removeListener'](_0x5e7a8d(0x1d4),_0x2fac7a),_0x2f3769[_0x5e7a8d(0x14c)](_0x323686,_0x442f46,{'allowSynchronousEvents':this[_0x5e7a8d(0x17b)][_0x5e7a8d(0x1f9)],'maxPayload':this['options'][_0x5e7a8d(0x29b)],'skipUTF8Validation':this[_0x5e7a8d(0x17b)][_0x5e7a8d(0x198)]}),this[_0x5e7a8d(0x27f)]&&(this[_0x5e7a8d(0x27f)][_0x5e7a8d(0x1a5)](_0x2f3769),_0x2f3769['on'](_0x5e7a8d(0x12d),()=>{const _0x1ff8bb=_0x5e7a8d;this[_0x1ff8bb(0x27f)][_0x1ff8bb(0xdc)](_0x2f3769),this[_0x1ff8bb(0x235)]&&!this[_0x1ff8bb(0x27f)][_0x1ff8bb(0x24f)]&&process[_0x1ff8bb(0x15b)](_0x192298,this);})),_0x3b416d(_0x2f3769,_0x19c013);}}Te=_0x5179cd;function _0x35f068(_0x1c0550,_0x123d76){const _0x5f0317=_0xc8326c;for(const _0xb9794a of Object[_0x5f0317(0x13f)](_0x123d76))_0x1c0550['on'](_0xb9794a,_0x123d76[_0xb9794a]);return function(){const _0x5d6c2e=_0x5f0317;for(const _0x1ce17f of Object[_0x5d6c2e(0x13f)](_0x123d76))_0x1c0550['removeListener'](_0x1ce17f,_0x123d76[_0x1ce17f]);};}function _0x192298(_0x201227){const _0x4c0322=_0xc8326c;_0x201227[_0x4c0322(0x1cd)]=_0x3e4a26,_0x201227[_0x4c0322(0x20c)](_0x4c0322(0x12d));}function _0x2fac7a(){const _0x54babf=_0xc8326c;this[_0x54babf(0x10a)]();}function _0x222cec(_0x125204,_0x2652a6,_0x506eed,_0x44b322){const _0xa9c303=_0xc8326c;_0x506eed=_0x506eed||_0x25f6a2[_0xa9c303(0xf7)][_0x2652a6],_0x44b322={'Connection':'close','Content-Type':_0xa9c303(0x1e2),'Content-Length':Buffer[_0xa9c303(0x285)](_0x506eed),..._0x44b322},_0x125204[_0xa9c303(0x259)](_0xa9c303(0xed),_0x125204['destroy']),_0x125204[_0xa9c303(0x250)](_0xa9c303(0x161)+_0x2652a6+'\x20'+_0x25f6a2[_0xa9c303(0xf7)][_0x2652a6]+'\x0d\x0a'+Object[_0xa9c303(0x13f)](_0x44b322)['map'](_0xf917da=>_0xf917da+':\x20'+_0x44b322[_0xf917da])[_0xa9c303(0x21e)]('\x0d\x0a')+_0xa9c303(0x280)+_0x506eed);}function _0x3bedc5(_0x7bf0ae,_0xcb8c54,_0x404d20,_0x27c3ce,_0x13df8d){const _0x24db53=_0xc8326c;if(_0x7bf0ae[_0x24db53(0x1ec)]('wsClientError')){const _0x772a25=new Error(_0x13df8d);Error['captureStackTrace'](_0x772a25,_0x3bedc5),_0x7bf0ae['emit'](_0x24db53(0x252),_0x772a25,_0x404d20,_0xcb8c54);}else _0x222cec(_0x404d20,_0x27c3ce,_0x13df8d);}return Te;}Ft();var jt=Object['getOwnPropertyDescriptor'],Wt=(_0x143b5a,_0x1c49a1,_0x2e4bbc,_0x4c1c31)=>{for(var _0xbc204c=_0x4c1c31>0x1?void 0x0:_0x4c1c31?jt(_0x1c49a1,_0x2e4bbc):_0x1c49a1,_0x374b6c=_0x143b5a['length']-0x1,_0x3f59a9;_0x374b6c>=0x0;_0x374b6c--)(_0x3f59a9=_0x143b5a[_0x374b6c])&&(_0xbc204c=_0x3f59a9(_0xbc204c)||_0xbc204c);return _0xbc204c;},qt=(_0x392f33,_0x226826)=>(_0x399e06,_0x4dfe99)=>_0x226826(_0x399e06,_0x4dfe99,_0x392f33);let ke=class extends A[_0x208faf(0x1ae)]{constructor(_0x35d9ac){super(),this['_configService']=_0x35d9ac;}[_0x208faf(0x176)](_0x4e57af){const _0x505ff4=_0x208faf;var _0x189140;const _0x44f2ec=(_0x189140=this[_0x505ff4(0x226)][_0x505ff4(0x1bd)](fe))==null?void 0x0:_0x189140[_0x505ff4(0x278)];try{const _0x55e0c4=new $t(_0x4e57af,{'headers':{..._0x44f2ec}}),_0x36cbd6=new A[(_0x505ff4(0x12f))]();return{'URL':_0x4e57af,'close':(_0x2daedc,_0x36ce71)=>{const _0x4c02fa=_0x505ff4;_0x55e0c4[_0x4c02fa(0x12d)](_0x2daedc,_0x36ce71),_0x36cbd6[_0x4c02fa(0x164)]();},'send':_0x536f49=>{_0x55e0c4['send'](_0x536f49);},'open$':new V[(_0x505ff4(0x148))](_0x142be1=>{const _0x17e38e=_0x505ff4,_0x414f6e=_0x41afaa=>_0x142be1[_0x17e38e(0x127)](_0x41afaa);_0x55e0c4['addEventListener'](_0x17e38e(0x203),_0x414f6e),_0x36cbd6[_0x17e38e(0x1a5)](A['toDisposable'](()=>_0x55e0c4[_0x17e38e(0x208)](_0x17e38e(0x203),_0x414f6e)));})[_0x505ff4(0x28c)](V[_0x505ff4(0x16a)]()),'close$':new V['Observable'](_0x35a362=>{const _0x34b578=_0x505ff4,_0x27b3db=_0xeef553=>_0x35a362[_0x34b578(0x127)](_0xeef553);_0x55e0c4['addEventListener'](_0x34b578(0x12d),_0x27b3db),_0x36cbd6['add'](A[_0x34b578(0x131)](()=>_0x55e0c4[_0x34b578(0x208)](_0x34b578(0x12d),_0x27b3db)));})[_0x505ff4(0x28c)](V[_0x505ff4(0x16a)]()),'error$':new V[(_0x505ff4(0x148))](_0x241f4e=>{const _0x4bf8be=_0x505ff4,_0x178589=_0x3e8c61=>_0x241f4e[_0x4bf8be(0x127)](_0x3e8c61);_0x55e0c4[_0x4bf8be(0x205)](_0x4bf8be(0x1d4),_0x178589),_0x36cbd6[_0x4bf8be(0x1a5)](A[_0x4bf8be(0x131)](()=>_0x55e0c4[_0x4bf8be(0x208)](_0x4bf8be(0x1d4),_0x178589)));})['pipe'](V[_0x505ff4(0x16a)]()),'message$':new V['Observable'](_0xeb55d0=>{const _0x1983fa=_0x505ff4,_0x30e973=_0x26dc00=>_0xeb55d0[_0x1983fa(0x127)](_0x26dc00);_0x55e0c4[_0x1983fa(0x205)]('message',_0x30e973),_0x36cbd6['add'](A[_0x1983fa(0x131)](()=>_0x55e0c4[_0x1983fa(0x208)](_0x1983fa(0x1b4),_0x30e973)));})[_0x505ff4(0x28c)](V[_0x505ff4(0x16a)]())};}catch(_0x534486){return console[_0x505ff4(0x1d4)](_0x534486),null;}}};ke=Wt([qt(0x0,A[_0x208faf(0x20e)])],ke);var Gt=Object[_0x208faf(0x1be)],Vt=Object['getOwnPropertyDescriptor'],Ht=(_0x2d16a6,_0x390666,_0x53fe1f)=>_0x390666 in _0x2d16a6?Gt(_0x2d16a6,_0x390666,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x53fe1f}):_0x2d16a6[_0x390666]=_0x53fe1f,zt=(_0x257bc7,_0x482096,_0x5b77e7,_0x4faf4c)=>{for(var _0x4622af=_0x4faf4c>0x1?void 0x0:_0x4faf4c?Vt(_0x482096,_0x5b77e7):_0x482096,_0x9c1c00=_0x257bc7['length']-0x1,_0x47d4b8;_0x9c1c00>=0x0;_0x9c1c00--)(_0x47d4b8=_0x257bc7[_0x9c1c00])&&(_0x4622af=_0x47d4b8(_0x4622af)||_0x4622af);return _0x4622af;},Ne=(_0x43b0ba,_0x3f2dbd)=>(_0x3c9aaa,_0x2d3eda)=>_0x3f2dbd(_0x3c9aaa,_0x2d3eda,_0x43b0ba),Yt=(_0x2d4d86,_0x4bd015,_0x27a578)=>Ht(_0x2d4d86,_0x4bd015+'',_0x27a578);exports['UniverCollaborationClientNodePlugin']=class extends A[_0x208faf(0x27e)]{constructor(_0x4e9f8c=Ct,_0x8fcf41,_0x323875,_0x41afc0){const _0x5bf6bb=_0x208faf;_0x4e9f8c[_0x5bf6bb(0x278)]||_0x8fcf41[_0x5bf6bb(0x1e4)](_0x5bf6bb(0x129)),super(),this[_0x5bf6bb(0x226)]=_0x323875,this[_0x5bf6bb(0x150)]=_0x41afc0,this[_0x5bf6bb(0x226)][_0x5bf6bb(0x1af)](fe,_0x4e9f8c);}[_0x208faf(0x1bc)](){const _0x4bd658=_0x208faf;this[_0x4bd658(0x19d)]();}[_0x208faf(0x19d)](){const _0x54cf41=_0x208faf;A[_0x54cf41(0x215)](this['_injector'],[[it['ISocketService'],{'useClass':ke}]]);}},Yt(exports['UniverCollaborationClientNodePlugin'],'pluginName',_0x208faf(0xd9)),exports[_0x208faf(0x1b9)]=zt([A[_0x208faf(0x221)](st[_0x208faf(0x29c)]),Ne(0x1,A[_0x208faf(0x209)]),Ne(0x2,A['IConfigService']),Ne(0x3,A[_0x208faf(0x188)](A[_0x208faf(0x220)]))],exports['UniverCollaborationClientNodePlugin']);var Kt=Object['getOwnPropertyDescriptor'],Xt=(_0x5442d7,_0x261eaa,_0x354e93,_0x4d3e9f)=>{const _0x4eae14=_0x208faf;for(var _0x126d1=_0x4d3e9f>0x1?void 0x0:_0x4d3e9f?Kt(_0x261eaa,_0x354e93):_0x261eaa,_0x2620e8=_0x5442d7[_0x4eae14(0x24e)]-0x1,_0x2c7ba2;_0x2620e8>=0x0;_0x2620e8--)(_0x2c7ba2=_0x5442d7[_0x2620e8])&&(_0x126d1=_0x2c7ba2(_0x126d1)||_0x126d1);return _0x126d1;},ne=(_0x20e901,_0x161b39)=>(_0x1ad75b,_0x41c4e3)=>_0x161b39(_0x1ad75b,_0x41c4e3,_0x20e901);exports[_0x208faf(0x121)]=class extends st['CollaborationSocketService']{constructor(_0x291610,_0x32009e,_0x31b07d,_0x1b61b2,_0x22a43f){const _0x1928fb=_0x208faf;super(_0x291610,_0x32009e,_0x31b07d,_0x1b61b2,_0x22a43f);const _0x56b6d1=this[_0x1928fb(0x226)][_0x1928fb(0x1bd)](fe);this[_0x1928fb(0x29d)][_0x1928fb(0x1b8)]({'interceptor':(_0x4df018,_0x46af73)=>{const _0x28acef=_0x1928fb;var _0x24f51a;const _0x29aa15=_0x4df018['headers'];return(_0x24f51a=_0x56b6d1==null?void 0x0:_0x56b6d1[_0x28acef(0x278)])!=null&&_0x24f51a[_0x28acef(0x146)]&&_0x29aa15[_0x28acef(0x141)]('Cookie',_0x56b6d1[_0x28acef(0x278)][_0x28acef(0x146)]),_0x46af73(_0x4df018);}});}async[_0x208faf(0x176)](_0x4c6a1f){const _0x147c61=_0x208faf;return this[_0x147c61(0x11b)](_0x4c6a1f);}},exports[_0x208faf(0x121)]=Xt([ne(0x0,A[_0x208faf(0x188)](A['Injector'])),ne(0x1,A['Inject'](it[_0x208faf(0x1e1)])),ne(0x2,A['IConfigService']),ne(0x3,A[_0x208faf(0x209)]),ne(0x4,Ot['ISnapshotServerService'])],exports[_0x208faf(0x121)]),exports[_0x208faf(0x1d6)]=fe;
|
|
1
|
+
'use strict';const _0x256248=_0x2b82;(function(_0x3d1d7f,_0x37bb76){const _0x35b94c=_0x2b82,_0x303d75=_0x3d1d7f();while(!![]){try{const _0x33352e=-parseInt(_0x35b94c(0x1d6))/0x1+parseInt(_0x35b94c(0x2e9))/0x2+parseInt(_0x35b94c(0x299))/0x3+-parseInt(_0x35b94c(0x255))/0x4*(-parseInt(_0x35b94c(0x2f8))/0x5)+parseInt(_0x35b94c(0x2e5))/0x6+-parseInt(_0x35b94c(0x1eb))/0x7+parseInt(_0x35b94c(0x162))/0x8;if(_0x33352e===_0x37bb76)break;else _0x303d75['push'](_0x303d75['shift']());}catch(_0x6c9dcd){_0x303d75['push'](_0x303d75['shift']());}}}(_0x3181,0x26870));Object['defineProperty'](exports,Symbol[_0x256248(0x137)],{'value':_0x256248(0x151)});const st=require('@univerjs-pro/collaboration-client'),A=require(_0x256248(0x1c2)),it=require(_0x256248(0x26e)),V=require(_0x256248(0x25a)),nt=require(_0x256248(0x1d1)),vt=require(_0x256248(0x19f)),ot=require(_0x256248(0x1d8)),St=require(_0x256248(0x146)),Et=require(_0x256248(0x168)),Le=require('crypto'),oe=require(_0x256248(0x1f9)),xt=require('url'),bt=require(_0x256248(0x285)),wt=require(_0x256248(0x167)),Ot=require('@univerjs-pro/collaboration'),fe=_0x256248(0x2c4),Ct={'customHeaders':{}};function Tt(_0x250db8){const _0x3aa14a=_0x256248;return _0x250db8&&_0x250db8['__esModule']&&Object['prototype'][_0x3aa14a(0x1ee)][_0x3aa14a(0x229)](_0x250db8,_0x3aa14a(0x303))?_0x250db8[_0x3aa14a(0x303)]:_0x250db8;}function at(_0x57a344){const _0x3ab7ac=_0x256248;if(Object['prototype'][_0x3ab7ac(0x1ee)][_0x3ab7ac(0x229)](_0x57a344,_0x3ab7ac(0x2fc)))return _0x57a344;var _0x2f4bb5=_0x57a344['default'];if(typeof _0x2f4bb5==_0x3ab7ac(0x240)){var _0x436c9d=function _0x3ce7a1(){const _0x3f59c4=_0x3ab7ac;return this instanceof _0x3ce7a1?Reflect[_0x3f59c4(0x21d)](_0x2f4bb5,arguments,this[_0x3f59c4(0x2e4)]):_0x2f4bb5['apply'](this,arguments);};_0x436c9d[_0x3ab7ac(0x2c9)]=_0x2f4bb5[_0x3ab7ac(0x2c9)];}else _0x436c9d={};return Object[_0x3ab7ac(0x269)](_0x436c9d,'__esModule',{'value':!0x0}),Object[_0x3ab7ac(0x268)](_0x57a344)[_0x3ab7ac(0x2d6)](function(_0x54f527){const _0x26c28a=_0x3ab7ac;var _0x1d08c9=Object[_0x26c28a(0x2c0)](_0x57a344,_0x54f527);Object[_0x26c28a(0x269)](_0x436c9d,_0x54f527,_0x1d08c9['get']?_0x1d08c9:{'enumerable':!0x0,'get':function(){return _0x57a344[_0x54f527];}});}),_0x436c9d;}var se={'exports':{}},ge,Ge;function H(){const _0xacecbe=_0x256248;if(Ge)return ge;Ge=0x1;const _0x399574=[_0xacecbe(0x157),_0xacecbe(0x2d3),_0xacecbe(0x26d)],_0x1c870f=typeof Blob<'u';return _0x1c870f&&_0x399574[_0xacecbe(0x23b)](_0xacecbe(0x25d)),ge={'BINARY_TYPES':_0x399574,'EMPTY_BUFFER':Buffer[_0xacecbe(0x27a)](0x0),'GUID':_0xacecbe(0x19b),'hasBlob':_0x1c870f,'kForOnEventAttribute':Symbol(_0xacecbe(0x21c)),'kListener':Symbol(_0xacecbe(0x180)),'kStatusCode':Symbol(_0xacecbe(0x2b2)),'kWebSocket':Symbol(_0xacecbe(0x235)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x256248(0x189)](Object[_0x256248(0x269)]({'__proto__':null,'default':Nt},Symbol[_0x256248(0x137)],{'value':_0x256248(0x151)})),Lt=at(kt);var Ve;function _0x3181(){const _0x334815=['_fragments','apply','IConfigService','jobs','delete','writeUInt16BE','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','kTarget','set','1987846OMhROF','env','update','hasOwnProperty','threshold','Blob','serverMaxWindowBits','Inject','pow','startsWith','Cookie','_removeListeners','clients','MASK\x20must\x20be\x20set','stream','pluginName','WS_ERR_UNEXPECTED_RSV_1','conclude','captureStackTrace','concurrency','isPaused','createInflateRaw','handleProtocols','CONNECTING','_inflate','sha1','startLoop','href','CollaborationSocketService','options','createServer','OPEN','isBuffer','needDrain','setHeader','MASK\x20must\x20be\x20clear','method','_autoPong','NodeCollaborationSocketService','destroyed','_maskBuffer','total-length','Max\x20payload\x20size\x20exceeded','Unsupported\x20protocol\x20version:\x20','next','byteLength','size','WebSocket','GET','kIsForOnEventAttribute','construct','length','destroy','Unexpected\x20end\x20of\x20input','_doCreateSocket','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','pong','_req','readUInt16BE','request','sec-websocket-protocol','allowSynchronousEvents','call','username','terminate','hostname','once','_read','createError','toDisposable','path','HTTP/1.1\x20','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','skipUTF8Validation','websocket','charCodeAt','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','server_no_context_takeover','compress','Invalid\x20URL:\x20','push','autoPong','replace','Z_SYNC_FLUSH','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','function','_injector','UniverCollaborationClientNodePlugin','uncork','_skipUTF8Validation','onmessage','_deflate','Sec-WebSocket-Extensions','Basic\x20','indexOf','ws:','_totalPayloadLength','Parameter\x20\x22','warn','byteOffset','unmask','listening','target','Plugin','finish','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','2396rOaLUp','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','client_no_context_takeover','handleEvent','_maxPayload','rxjs','DependentOn','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','blob','values','auth','decompress','isArray','dequeue','removeAllListeners','url','listenerCount','add','text/plain','keys','defineProperty','pathname','getConfig','dataMessage','fragments','@univerjs/network','invalid\x20opcode\x20','onStarting','wss:','text/html','emit','exports','Injector','kRun','client_max_window_bits','redirect','STATUS_CODES','alloc','Unexpected\x20server\x20response:\x20','servername','registerDependencies','sec-websocket-version','entries','readyState','string','writable','_readyState','kError','zlib','_closeTimer','params','read','Invalid\x20Upgrade\x20header','generateMask','flush','isInteger','acceptAsServer','catch','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','_fragmented','_bufferedBytes','kCode','_extensions','invalid\x20UTF-8\x20sequence','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','join','onerror','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','499374TDSqQT','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','shouldHandle','_no_context_takeover','ILogService','HTTP/1.1\x20101\x20Switching\x20Protocols','kAborted','noServer','listeners','createSocket','WS_ERR_EXPECTED_MASK','createConnection','location','serverNoContextTakeover','_compressed','send','finished','has','_loop','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','zlibInflateOptions','connect','cork','CLOSED','_closeCode','status-code','maxPayload','_closeMessage','readUInt32BE','haveLength','emitClose','test','Maximum\x20redirects\x20exceeded','headers','_shouldEmitClose','slice','number','Invalid\x20value\x20for\x20parameter\x20\x22','_max_window_bits','getOwnPropertyDescriptor','_paused','sendFrame','sec-websocket-accept','collaboration-client-node.config','password','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','_sender','\x0d\x0a\x0d\x0a','prototype','host','registerHTTPInterceptor','ping','_buffers','Invalid\x20Sec-WebSocket-Protocol\x20header','Sec-WebSocket-Accept:\x20','pipe','_protocol','_options','arraybuffer','writeHead','Opening\x20handshake\x20has\x20timed\x20out','forEach','unexpected-response','invalid\x20payload\x20length\x20','address','_compress','socketPath','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','drain','map','CLOSING','sec-websocket-key','toLowerCase','https:','\x22\x20must\x20have\x20only\x20a\x20single\x20value','constructor','730884EoYDgA','kReason','search','protocolVersion','35286VsUEYH','ISocketService','sec-websocket-extensions','_originalIpc','WS_ERR_INVALID_OPCODE','socket','perMessageDeflate','code','kDone','\x22:\x20','_closeFrameReceived','_httpService','Unexpected\x20character\x20at\x20index\x20','acceptAsClient','_messageLength','2415owBdct','Sec-WebSocket-Protocol','authorization','type','__esModule','pause','origin','wasClean','DisposableCollection','onopen','\x22\x20subprotocol\x20is\x20duplicated','default','mask','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','resume','_firstFragment','object','COLLABORATION_CLIENT_NODE_CONFIG_KEY','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','endEmitted','opcode','rsv1','removeListener','getBlobData','normalizeParams','kByteLength','toStringTag','message','The\x20\x22','Invalid\x20WebSocket\x20frame:\x20','File','readOnly','Upgrade','_generateMask','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','from','\x20(supported\x20versions:\x20','addEventListener','end','cleanup','pending','net','split','_url','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','_opcode','isValidUTF8','_isServer','ws+unix:','WS_ERR_INVALID_UTF8','Z_DEFAULT_WINDOWBITS','_destroy','Module','_threshold','sec-websocket-origin','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','removeEventListener','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','nodebuffer','abort','setSocket','setNoDelay','writeUIntBE','close','timeout','client','Invalid\x20Sec-WebSocket-Accept\x20header','write','offer','980040KddhSh','base64','customHeaders','reason','consume','buffer','tls','statusCode','create','Sec-WebSocket-Origin','_queue','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','binaryType','The\x20URL\x27s\x20pathname\x20is\x20empty','_errorEmitted','accept','port','bind','RSV1\x20must\x20be\x20clear','_writableState','value','_bufferedAmount','getInfo','FIN\x20must\x20be\x20set','_state','extensions','_masked','getPayloadLength16','verifyClient','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','kListener','_readableState','error','kWasClean','shift','kData','_fin','open','parse','freeze','_final','Disposable','_allowSynchronousEvents','_configService','Invalid\x20HTTP\x20method','Invalid\x20Sec-WebSocket-Extensions\x20header','arrayBuffer','getPayloadLength64','bufferedAmount','invalid\x20opcode\x200','protocol','Origin','connection','reset','_socket','_binaryType','server','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','followRedirects','getMask','errorEmitted','https','onclose','UniverCollaborationClientPlugin','wsClientError','allocUnsafe','nextTick','species','data','defaultPort','objectMode','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','Sec-WebSocket-Extensions:\x20','WebSocket\x20is\x20not\x20open:\x20readyState\x20','_originalHostOrSocketPath','Server\x20sent\x20an\x20invalid\x20subprotocol','handleUpgrade','_closeFrameSent','dispose','includes','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','buffers','_server','WS_ERR_UNEXPECTED_RSV_2_3','_originalSecure','Upgrade:\x20websocket','_write','Sec-WebSocket-Protocol:\x20','WS_ERR_EXPECTED_FIN','HTTPService','frame','createDeflateRaw','isView','_redirects','fin','cookie','@univerjs/core','setTimeout','completeUpgrade','hash','_payloadLength','_decompress','_errored','concurrencyLimit','kType','controlMessage','toString','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','_registerDependencies','server_max_window_bits','clientMaxWindowBits','events','_receiver','ISnapshotServerService','clientNoContextTakeover','extensionName','275951fCBGrG','digest','http','Observable','format','concat','enqueue','dispatch','upgrade','_mask','share','Server\x20sent\x20no\x20subprotocol'];_0x3181=function(){return _0x334815;};return _0x3181();}function ce(){const _0x1c567c=_0x256248;if(Ve)return se[_0x1c567c(0x274)];Ve=0x1;const {EMPTY_BUFFER:_0xe4fc7a}=H(),_0x2a8ed1=Buffer[Symbol[_0x1c567c(0x1a5)]];function _0x5c925d(_0x315bd4,_0x18a0a7){const _0x25c8ba=_0x1c567c;if(_0x315bd4[_0x25c8ba(0x21e)]===0x0)return _0xe4fc7a;if(_0x315bd4[_0x25c8ba(0x21e)]===0x1)return _0x315bd4[0x0];const _0x263be3=Buffer['allocUnsafe'](_0x18a0a7);let _0x394788=0x0;for(let _0x1bc1e3=0x0;_0x1bc1e3<_0x315bd4[_0x25c8ba(0x21e)];_0x1bc1e3++){const _0x3b9672=_0x315bd4[_0x1bc1e3];_0x263be3[_0x25c8ba(0x1ea)](_0x3b9672,_0x394788),_0x394788+=_0x3b9672[_0x25c8ba(0x21e)];}return _0x394788<_0x18a0a7?new _0x2a8ed1(_0x263be3['buffer'],_0x263be3['byteOffset'],_0x394788):_0x263be3;}function _0x310268(_0x1adfc3,_0x2061fe,_0x112976,_0x955312,_0x1c0f87){for(let _0xb38d55=0x0;_0xb38d55<_0x1c0f87;_0xb38d55++)_0x112976[_0x955312+_0xb38d55]=_0x1adfc3[_0xb38d55]^_0x2061fe[_0xb38d55&0x3];}function _0x45a528(_0x250281,_0x3e0f24){const _0x31e1d0=_0x1c567c;for(let _0x5f6935=0x0;_0x5f6935<_0x250281[_0x31e1d0(0x21e)];_0x5f6935++)_0x250281[_0x5f6935]^=_0x3e0f24[_0x5f6935&0x3];}function _0x170ec7(_0x4386c7){const _0x3893d2=_0x1c567c;return _0x4386c7['length']===_0x4386c7[_0x3893d2(0x167)][_0x3893d2(0x218)]?_0x4386c7[_0x3893d2(0x167)]:_0x4386c7[_0x3893d2(0x167)][_0x3893d2(0x2bc)](_0x4386c7[_0x3893d2(0x24e)],_0x4386c7[_0x3893d2(0x24e)]+_0x4386c7[_0x3893d2(0x21e)]);}function _0x138d06(_0x210cf3){const _0x5c39b1=_0x1c567c;if(_0x138d06[_0x5c39b1(0x13c)]=!0x0,Buffer[_0x5c39b1(0x20b)](_0x210cf3))return _0x210cf3;let _0x31a8c7;return _0x210cf3 instanceof ArrayBuffer?_0x31a8c7=new _0x2a8ed1(_0x210cf3):ArrayBuffer[_0x5c39b1(0x1be)](_0x210cf3)?_0x31a8c7=new _0x2a8ed1(_0x210cf3['buffer'],_0x210cf3[_0x5c39b1(0x24e)],_0x210cf3['byteLength']):(_0x31a8c7=Buffer[_0x5c39b1(0x140)](_0x210cf3),_0x138d06[_0x5c39b1(0x13c)]=!0x1),_0x31a8c7;}if(se['exports']={'concat':_0x5c925d,'mask':_0x310268,'toArrayBuffer':_0x170ec7,'toBuffer':_0x138d06,'unmask':_0x45a528},!process[_0x1c567c(0x1ec)]['WS_NO_BUFFER_UTIL'])try{const _0x824ee6=Lt;se[_0x1c567c(0x274)][_0x1c567c(0x129)]=function(_0x4f25d4,_0x251471,_0x1e6920,_0x4209e3,_0xd44eec){const _0x566b3e=_0x1c567c;_0xd44eec<0x30?_0x310268(_0x4f25d4,_0x251471,_0x1e6920,_0x4209e3,_0xd44eec):_0x824ee6[_0x566b3e(0x129)](_0x4f25d4,_0x251471,_0x1e6920,_0x4209e3,_0xd44eec);},se[_0x1c567c(0x274)]['unmask']=function(_0x41c7d2,_0xa87aca){const _0x13ecf1=_0x1c567c;_0x41c7d2[_0x13ecf1(0x21e)]<0x20?_0x45a528(_0x41c7d2,_0xa87aca):_0x824ee6[_0x13ecf1(0x24f)](_0x41c7d2,_0xa87aca);};}catch{}return se[_0x1c567c(0x274)];}var ye,He;function Pt(){const _0x5bb7c4=_0x256248;if(He)return ye;He=0x1;const _0x2d7a23=Symbol(_0x5bb7c4(0x2f1)),_0x576aa2=Symbol(_0x5bb7c4(0x276));class _0x26cd29{constructor(_0x479de6){const _0x3382ff=_0x5bb7c4;this[_0x2d7a23]=()=>{const _0x5462cc=_0x2b82;this[_0x5462cc(0x145)]--,this[_0x576aa2]();},this[_0x3382ff(0x1fe)]=_0x479de6||0x1/0x0,this[_0x3382ff(0x1e5)]=[],this[_0x3382ff(0x145)]=0x0;}[_0x5bb7c4(0x266)](_0x2d99dd){this['jobs']['push'](_0x2d99dd),this[_0x576aa2]();}[_0x576aa2](){const _0xf673a4=_0x5bb7c4;if(this[_0xf673a4(0x145)]!==this[_0xf673a4(0x1fe)]&&this[_0xf673a4(0x1e5)][_0xf673a4(0x21e)]){const _0x195233=this[_0xf673a4(0x1e5)][_0xf673a4(0x184)]();this[_0xf673a4(0x145)]++,_0x195233(this[_0x2d7a23]);}}}return ye=_0x26cd29,ye;}var ve,ze;function he(){const _0x50ebd6=_0x256248;if(ze)return ve;ze=0x1;const _0x274861=bt,_0x4af953=ce(),_0x53d03b=Pt(),{kStatusCode:_0x5804ac}=H(),_0x78bca4=Buffer[Symbol[_0x50ebd6(0x1a5)]],_0x614e3f=Buffer['from']([0x0,0x0,0xff,0xff]),_0x7fcda=Symbol('permessage-deflate'),_0x72a99e=Symbol(_0x50ebd6(0x214)),_0x560572=Symbol('callback'),_0x55f9fa=Symbol(_0x50ebd6(0x1b3)),_0x3111d7=Symbol(_0x50ebd6(0x182));let _0x219b85;class _0x107538{constructor(_0x1c4fc4,_0x3835de,_0x24532a){const _0x3513f8=_0x50ebd6;if(this[_0x3513f8(0x259)]=_0x24532a|0x0,this[_0x3513f8(0x2d2)]=_0x1c4fc4||{},this['_threshold']=this[_0x3513f8(0x2d2)][_0x3513f8(0x1ef)]!==void 0x0?this['_options'][_0x3513f8(0x1ef)]:0x400,this[_0x3513f8(0x14c)]=!!_0x3835de,this[_0x3513f8(0x246)]=null,this[_0x3513f8(0x203)]=null,this[_0x3513f8(0x287)]=null,!_0x219b85){const _0x1c45a1=this['_options'][_0x3513f8(0x1c9)]!==void 0x0?this[_0x3513f8(0x2d2)][_0x3513f8(0x1c9)]:0xa;_0x219b85=new _0x53d03b(_0x1c45a1);}}static get['extensionName'](){return'permessage-deflate';}[_0x50ebd6(0x161)](){const _0x15104e=_0x50ebd6,_0x5825af={};return this[_0x15104e(0x2d2)][_0x15104e(0x2a6)]&&(_0x5825af[_0x15104e(0x238)]=!0x0),this[_0x15104e(0x2d2)]['clientNoContextTakeover']&&(_0x5825af[_0x15104e(0x257)]=!0x0),this[_0x15104e(0x2d2)][_0x15104e(0x1f1)]&&(_0x5825af[_0x15104e(0x1cf)]=this['_options'][_0x15104e(0x1f1)]),this[_0x15104e(0x2d2)][_0x15104e(0x1d0)]?_0x5825af[_0x15104e(0x277)]=this[_0x15104e(0x2d2)]['clientMaxWindowBits']:this[_0x15104e(0x2d2)][_0x15104e(0x1d0)]==null&&(_0x5825af[_0x15104e(0x277)]=!0x0),_0x5825af;}[_0x50ebd6(0x171)](_0x384848){const _0x10f57a=_0x50ebd6;return _0x384848=this['normalizeParams'](_0x384848),this[_0x10f57a(0x287)]=this[_0x10f57a(0x14c)]?this['acceptAsServer'](_0x384848):this['acceptAsClient'](_0x384848),this['params'];}[_0x50ebd6(0x144)](){const _0xf76886=_0x50ebd6;if(this[_0xf76886(0x203)]&&(this[_0xf76886(0x203)][_0xf76886(0x15c)](),this[_0xf76886(0x203)]=null),this[_0xf76886(0x246)]){const _0x215959=this['_deflate'][_0x560572];this[_0xf76886(0x246)][_0xf76886(0x15c)](),this[_0xf76886(0x246)]=null,_0x215959&&_0x215959(new Error(_0xf76886(0x233)));}}[_0x50ebd6(0x28d)](_0x15e7b6){const _0x120cfa=_0x50ebd6,_0xa06d3c=this[_0x120cfa(0x2d2)],_0x456764=_0x15e7b6['find'](_0x5edad0=>!(_0xa06d3c[_0x120cfa(0x2a6)]===!0x1&&_0x5edad0['server_no_context_takeover']||_0x5edad0[_0x120cfa(0x1cf)]&&(_0xa06d3c[_0x120cfa(0x1f1)]===!0x1||typeof _0xa06d3c[_0x120cfa(0x1f1)]==_0x120cfa(0x2bd)&&_0xa06d3c[_0x120cfa(0x1f1)]>_0x5edad0['server_max_window_bits'])||typeof _0xa06d3c['clientMaxWindowBits']==_0x120cfa(0x2bd)&&!_0x5edad0[_0x120cfa(0x277)]));if(!_0x456764)throw new Error(_0x120cfa(0x149));return _0xa06d3c[_0x120cfa(0x2a6)]&&(_0x456764[_0x120cfa(0x238)]=!0x0),_0xa06d3c[_0x120cfa(0x1d4)]&&(_0x456764['client_no_context_takeover']=!0x0),typeof _0xa06d3c[_0x120cfa(0x1f1)]=='number'&&(_0x456764[_0x120cfa(0x1cf)]=_0xa06d3c[_0x120cfa(0x1f1)]),typeof _0xa06d3c[_0x120cfa(0x1d0)]==_0x120cfa(0x2bd)?_0x456764[_0x120cfa(0x277)]=_0xa06d3c[_0x120cfa(0x1d0)]:(_0x456764['client_max_window_bits']===!0x0||_0xa06d3c[_0x120cfa(0x1d0)]===!0x1)&&delete _0x456764['client_max_window_bits'],_0x456764;}[_0x50ebd6(0x2f6)](_0x3aca61){const _0x28c82c=_0x50ebd6,_0x1766e1=_0x3aca61[0x0];if(this[_0x28c82c(0x2d2)][_0x28c82c(0x1d4)]===!0x1&&_0x1766e1[_0x28c82c(0x257)])throw new Error('Unexpected\x20parameter\x20\x22client_no_context_takeover\x22');if(!_0x1766e1[_0x28c82c(0x277)])typeof this[_0x28c82c(0x2d2)][_0x28c82c(0x1d0)]==_0x28c82c(0x2bd)&&(_0x1766e1[_0x28c82c(0x277)]=this[_0x28c82c(0x2d2)][_0x28c82c(0x1d0)]);else{if(this[_0x28c82c(0x2d2)][_0x28c82c(0x1d0)]===!0x1||typeof this[_0x28c82c(0x2d2)][_0x28c82c(0x1d0)]==_0x28c82c(0x2bd)&&_0x1766e1[_0x28c82c(0x277)]>this[_0x28c82c(0x2d2)][_0x28c82c(0x1d0)])throw new Error(_0x28c82c(0x295));}return _0x1766e1;}[_0x50ebd6(0x135)](_0x30581a){const _0x1959d1=_0x50ebd6;return _0x30581a[_0x1959d1(0x2d6)](_0x1cf191=>{const _0x2befcc=_0x1959d1;Object['keys'](_0x1cf191)[_0x2befcc(0x2d6)](_0x48efd5=>{const _0x1ea61a=_0x2befcc;let _0x113ad7=_0x1cf191[_0x48efd5];if(_0x113ad7[_0x1ea61a(0x21e)]>0x1)throw new Error(_0x1ea61a(0x24c)+_0x48efd5+_0x1ea61a(0x2e3));if(_0x113ad7=_0x113ad7[0x0],_0x48efd5===_0x1ea61a(0x277)){if(_0x113ad7!==!0x0){const _0x3f57af=+_0x113ad7;if(!Number['isInteger'](_0x3f57af)||_0x3f57af<0x8||_0x3f57af>0xf)throw new TypeError(_0x1ea61a(0x2be)+_0x48efd5+'\x22:\x20'+_0x113ad7);_0x113ad7=_0x3f57af;}else{if(!this[_0x1ea61a(0x14c)])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x48efd5+_0x1ea61a(0x2f2)+_0x113ad7);}}else{if(_0x48efd5===_0x1ea61a(0x1cf)){const _0x13e28c=+_0x113ad7;if(!Number[_0x1ea61a(0x28c)](_0x13e28c)||_0x13e28c<0x8||_0x13e28c>0xf)throw new TypeError(_0x1ea61a(0x2be)+_0x48efd5+_0x1ea61a(0x2f2)+_0x113ad7);_0x113ad7=_0x13e28c;}else{if(_0x48efd5==='client_no_context_takeover'||_0x48efd5===_0x1ea61a(0x238)){if(_0x113ad7!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x48efd5+_0x1ea61a(0x2f2)+_0x113ad7);}else throw new Error('Unknown\x20parameter\x20\x22'+_0x48efd5+'\x22');}}_0x1cf191[_0x48efd5]=_0x113ad7;});}),_0x30581a;}[_0x50ebd6(0x260)](_0x265a8a,_0x47cea1,_0x335fec){const _0x58651f=_0x50ebd6;_0x219b85[_0x58651f(0x266)](_0x558487=>{const _0x17ba58=_0x58651f;this[_0x17ba58(0x1c7)](_0x265a8a,_0x47cea1,(_0x16db76,_0x17130a)=>{_0x558487(),_0x335fec(_0x16db76,_0x17130a);});});}[_0x50ebd6(0x239)](_0x2bb08b,_0x330e0f,_0x2492a3){const _0x2acbb0=_0x50ebd6;_0x219b85[_0x2acbb0(0x266)](_0x43a6af=>{this['_compress'](_0x2bb08b,_0x330e0f,(_0x215421,_0x4cb4ff)=>{_0x43a6af(),_0x2492a3(_0x215421,_0x4cb4ff);});});}[_0x50ebd6(0x1c7)](_0x21acfc,_0x1044eb,_0x1238ee){const _0x10283f=_0x50ebd6,_0x54fd05=this[_0x10283f(0x14c)]?_0x10283f(0x15e):'server';if(!this[_0x10283f(0x203)]){const _0x4d33e9=_0x54fd05+_0x10283f(0x2bf),_0x2a3041=typeof this[_0x10283f(0x287)][_0x4d33e9]!=_0x10283f(0x2bd)?_0x274861[_0x10283f(0x14f)]:this[_0x10283f(0x287)][_0x4d33e9];this[_0x10283f(0x203)]=_0x274861[_0x10283f(0x200)]({...this[_0x10283f(0x2d2)][_0x10283f(0x2ad)],'windowBits':_0x2a3041}),this[_0x10283f(0x203)][_0x7fcda]=this,this[_0x10283f(0x203)][_0x72a99e]=0x0,this[_0x10283f(0x203)][_0x55f9fa]=[],this[_0x10283f(0x203)]['on'](_0x10283f(0x182),_0x282b65),this[_0x10283f(0x203)]['on'](_0x10283f(0x1a6),_0x4e4888);}this['_inflate'][_0x560572]=_0x1238ee,this[_0x10283f(0x203)][_0x10283f(0x160)](_0x21acfc),_0x1044eb&&this[_0x10283f(0x203)][_0x10283f(0x160)](_0x614e3f),this[_0x10283f(0x203)]['flush'](()=>{const _0x58fdac=_0x10283f,_0x460f35=this[_0x58fdac(0x203)][_0x3111d7];if(_0x460f35){this['_inflate'][_0x58fdac(0x15c)](),this[_0x58fdac(0x203)]=null,_0x1238ee(_0x460f35);return;}const _0x3454b3=_0x4af953[_0x58fdac(0x1db)](this[_0x58fdac(0x203)][_0x55f9fa],this[_0x58fdac(0x203)][_0x72a99e]);this[_0x58fdac(0x203)][_0x58fdac(0x181)]['endEmitted']?(this[_0x58fdac(0x203)][_0x58fdac(0x15c)](),this['_inflate']=null):(this[_0x58fdac(0x203)][_0x72a99e]=0x0,this['_inflate'][_0x55f9fa]=[],_0x1044eb&&this[_0x58fdac(0x287)][_0x54fd05+_0x58fdac(0x29c)]&&this[_0x58fdac(0x203)][_0x58fdac(0x197)]()),_0x1238ee(null,_0x3454b3);});}[_0x50ebd6(0x2da)](_0x37135b,_0x5d6ab6,_0xdbc6d9){const _0x186cf5=_0x50ebd6,_0x35c396=this['_isServer']?'server':_0x186cf5(0x15e);if(!this[_0x186cf5(0x246)]){const _0x29d48f=_0x35c396+_0x186cf5(0x2bf),_0x387ac1=typeof this['params'][_0x29d48f]!=_0x186cf5(0x2bd)?_0x274861['Z_DEFAULT_WINDOWBITS']:this[_0x186cf5(0x287)][_0x29d48f];this[_0x186cf5(0x246)]=_0x274861[_0x186cf5(0x1bd)]({...this[_0x186cf5(0x2d2)]['zlibDeflateOptions'],'windowBits':_0x387ac1}),this[_0x186cf5(0x246)][_0x72a99e]=0x0,this['_deflate'][_0x55f9fa]=[],this['_deflate']['on']('data',_0x1e78c8);}this[_0x186cf5(0x246)][_0x560572]=_0xdbc6d9,this[_0x186cf5(0x246)][_0x186cf5(0x160)](_0x37135b),this[_0x186cf5(0x246)][_0x186cf5(0x28b)](_0x274861[_0x186cf5(0x23e)],()=>{const _0x20bdf6=_0x186cf5;if(!this['_deflate'])return;let _0x2154d4=_0x4af953[_0x20bdf6(0x1db)](this[_0x20bdf6(0x246)][_0x55f9fa],this[_0x20bdf6(0x246)][_0x72a99e]);_0x5d6ab6&&(_0x2154d4=new _0x78bca4(_0x2154d4['buffer'],_0x2154d4[_0x20bdf6(0x24e)],_0x2154d4['length']-0x4)),this[_0x20bdf6(0x246)][_0x560572]=null,this['_deflate'][_0x72a99e]=0x0,this['_deflate'][_0x55f9fa]=[],_0x5d6ab6&&this[_0x20bdf6(0x287)][_0x35c396+'_no_context_takeover']&&this[_0x20bdf6(0x246)][_0x20bdf6(0x197)](),_0xdbc6d9(null,_0x2154d4);});}}ve=_0x107538;function _0x1e78c8(_0x1edb49){const _0x5aa67a=_0x50ebd6;this[_0x55f9fa][_0x5aa67a(0x23b)](_0x1edb49),this[_0x72a99e]+=_0x1edb49[_0x5aa67a(0x21e)];}function _0x4e4888(_0x37adea){const _0x3898ad=_0x50ebd6;if(this[_0x72a99e]+=_0x37adea[_0x3898ad(0x21e)],this[_0x7fcda][_0x3898ad(0x259)]<0x1||this[_0x72a99e]<=this[_0x7fcda][_0x3898ad(0x259)]){this[_0x55f9fa][_0x3898ad(0x23b)](_0x37adea);return;}this[_0x3111d7]=new RangeError('Max\x20payload\x20size\x20exceeded'),this[_0x3111d7][_0x3898ad(0x2f0)]='WS_ERR_UNSUPPORTED_MESSAGE_LENGTH',this[_0x3111d7][_0x5804ac]=0x3f1,this[_0x3898ad(0x133)](_0x3898ad(0x1a6),_0x4e4888),this['reset']();}function _0x282b65(_0x18e726){const _0x3281c5=_0x50ebd6;this[_0x7fcda][_0x3281c5(0x203)]=null,_0x18e726[_0x5804ac]=0x3ef,this[_0x560572](_0x18e726);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x256248(0x189)](Object[_0x256248(0x269)]({'__proto__':null,'default':Dt},Symbol[_0x256248(0x137)],{'value':_0x256248(0x151)})),Bt=at(Rt);var Ye;function ae(){const _0x452414=_0x256248;if(Ye)return ie[_0x452414(0x274)];Ye=0x1;const {isUtf8:_0x410401}=wt,{hasBlob:_0x4238e3}=H(),_0x4e703d=[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 _0x2d7cf0(_0x896545){return _0x896545>=0x3e8&&_0x896545<=0x3f6&&_0x896545!==0x3ec&&_0x896545!==0x3ed&&_0x896545!==0x3ee||_0x896545>=0xbb8&&_0x896545<=0x1387;}function _0x24e3b9(_0x19468c){const _0x25c1ea=_0x19468c['length'];let _0x482ec0=0x0;for(;_0x482ec0<_0x25c1ea;)if((_0x19468c[_0x482ec0]&0x80)===0x0)_0x482ec0++;else{if((_0x19468c[_0x482ec0]&0xe0)===0xc0){if(_0x482ec0+0x1===_0x25c1ea||(_0x19468c[_0x482ec0+0x1]&0xc0)!==0x80||(_0x19468c[_0x482ec0]&0xfe)===0xc0)return!0x1;_0x482ec0+=0x2;}else{if((_0x19468c[_0x482ec0]&0xf0)===0xe0){if(_0x482ec0+0x2>=_0x25c1ea||(_0x19468c[_0x482ec0+0x1]&0xc0)!==0x80||(_0x19468c[_0x482ec0+0x2]&0xc0)!==0x80||_0x19468c[_0x482ec0]===0xe0&&(_0x19468c[_0x482ec0+0x1]&0xe0)===0x80||_0x19468c[_0x482ec0]===0xed&&(_0x19468c[_0x482ec0+0x1]&0xe0)===0xa0)return!0x1;_0x482ec0+=0x3;}else{if((_0x19468c[_0x482ec0]&0xf8)===0xf0){if(_0x482ec0+0x3>=_0x25c1ea||(_0x19468c[_0x482ec0+0x1]&0xc0)!==0x80||(_0x19468c[_0x482ec0+0x2]&0xc0)!==0x80||(_0x19468c[_0x482ec0+0x3]&0xc0)!==0x80||_0x19468c[_0x482ec0]===0xf0&&(_0x19468c[_0x482ec0+0x1]&0xf0)===0x80||_0x19468c[_0x482ec0]===0xf4&&_0x19468c[_0x482ec0+0x1]>0x8f||_0x19468c[_0x482ec0]>0xf4)return!0x1;_0x482ec0+=0x4;}else return!0x1;}}}return!0x0;}function _0x23ee0e(_0x12e3ad){const _0x4200f2=_0x452414;return _0x4238e3&&typeof _0x12e3ad==_0x4200f2(0x12d)&&typeof _0x12e3ad[_0x4200f2(0x190)]==_0x4200f2(0x240)&&typeof _0x12e3ad['type']==_0x4200f2(0x281)&&typeof _0x12e3ad[_0x4200f2(0x1f9)]==_0x4200f2(0x240)&&(_0x12e3ad[Symbol[_0x4200f2(0x137)]]===_0x4200f2(0x1f0)||_0x12e3ad[Symbol[_0x4200f2(0x137)]]===_0x4200f2(0x13b));}if(ie['exports']={'isBlob':_0x23ee0e,'isValidStatusCode':_0x2d7cf0,'isValidUTF8':_0x24e3b9,'tokenChars':_0x4e703d},_0x410401)ie['exports'][_0x452414(0x14b)]=function(_0x2b65d){const _0x1d0bd6=_0x452414;return _0x2b65d[_0x1d0bd6(0x21e)]<0x18?_0x24e3b9(_0x2b65d):_0x410401(_0x2b65d);};else{if(!process[_0x452414(0x1ec)]['WS_NO_UTF_8_VALIDATE'])try{const _0x33693a=Bt;ie['exports'][_0x452414(0x14b)]=function(_0x5b24ec){const _0x4bfab7=_0x452414;return _0x5b24ec[_0x4bfab7(0x21e)]<0x20?_0x24e3b9(_0x5b24ec):_0x33693a(_0x5b24ec);};}catch{}}return ie[_0x452414(0x274)];}var Se,Ke;function lt(){const _0x467093=_0x256248;if(Ke)return Se;Ke=0x1;const {Writable:_0x31b4a8}=oe,_0x35f7b4=he(),{BINARY_TYPES:_0x322fe9,EMPTY_BUFFER:_0x127ec1,kStatusCode:_0x375aa9,kWebSocket:_0x3ac6ea}=H(),{concat:_0x3bb535,toArrayBuffer:_0x4fa2d6,unmask:_0xcb3723}=ce(),{isValidStatusCode:_0x74f74a,isValidUTF8:_0x235d7a}=ae(),_0x35ec24=Buffer[Symbol[_0x467093(0x1a5)]],_0x3e2e0e=0x0,_0x2b1f7c=0x1,_0x3401a5=0x2,_0x5d9e15=0x3,_0x2fac7a=0x4,_0x5149c9=0x5,_0x22e3c8=0x6;class _0x13820b extends _0x31b4a8{constructor(_0x45a571={}){const _0x5839fb=_0x467093;super(),this[_0x5839fb(0x18c)]=_0x45a571[_0x5839fb(0x228)]!==void 0x0?_0x45a571[_0x5839fb(0x228)]:!0x0,this[_0x5839fb(0x199)]=_0x45a571[_0x5839fb(0x16e)]||_0x322fe9[0x0],this[_0x5839fb(0x293)]=_0x45a571[_0x5839fb(0x17b)]||{},this[_0x5839fb(0x14c)]=!!_0x45a571['isServer'],this[_0x5839fb(0x259)]=_0x45a571['maxPayload']|0x0,this[_0x5839fb(0x244)]=!!_0x45a571['skipUTF8Validation'],this[_0x3ac6ea]=void 0x0,this[_0x5839fb(0x291)]=0x0,this[_0x5839fb(0x2cd)]=[],this[_0x5839fb(0x2a7)]=!0x1,this[_0x5839fb(0x1c6)]=0x0,this[_0x5839fb(0x1df)]=void 0x0,this[_0x5839fb(0x290)]=0x0,this[_0x5839fb(0x17c)]=!0x1,this[_0x5839fb(0x186)]=!0x1,this[_0x5839fb(0x14a)]=0x0,this[_0x5839fb(0x24b)]=0x0,this['_messageLength']=0x0,this['_fragments']=[],this[_0x5839fb(0x1c8)]=!0x1,this[_0x5839fb(0x2ab)]=!0x1,this[_0x5839fb(0x17a)]=_0x3e2e0e;}[_0x467093(0x1b8)](_0x11fb43,_0x3d0a88,_0x4d54da){const _0x2e154c=_0x467093;if(this[_0x2e154c(0x14a)]===0x8&&this['_state']==_0x3e2e0e)return _0x4d54da();this[_0x2e154c(0x291)]+=_0x11fb43[_0x2e154c(0x21e)],this[_0x2e154c(0x2cd)]['push'](_0x11fb43),this[_0x2e154c(0x205)](_0x4d54da);}[_0x467093(0x166)](_0x18ee04){const _0x523f13=_0x467093;if(this[_0x523f13(0x291)]-=_0x18ee04,_0x18ee04===this[_0x523f13(0x2cd)][0x0]['length'])return this[_0x523f13(0x2cd)][_0x523f13(0x184)]();if(_0x18ee04<this['_buffers'][0x0][_0x523f13(0x21e)]){const _0x45c0f8=this[_0x523f13(0x2cd)][0x0];return this[_0x523f13(0x2cd)][0x0]=new _0x35ec24(_0x45c0f8[_0x523f13(0x167)],_0x45c0f8['byteOffset']+_0x18ee04,_0x45c0f8[_0x523f13(0x21e)]-_0x18ee04),new _0x35ec24(_0x45c0f8[_0x523f13(0x167)],_0x45c0f8[_0x523f13(0x24e)],_0x18ee04);}const _0x4c2cba=Buffer[_0x523f13(0x1a3)](_0x18ee04);do{const _0x3908f1=this[_0x523f13(0x2cd)][0x0],_0x17ca89=_0x4c2cba[_0x523f13(0x21e)]-_0x18ee04;_0x18ee04>=_0x3908f1[_0x523f13(0x21e)]?_0x4c2cba[_0x523f13(0x1ea)](this[_0x523f13(0x2cd)][_0x523f13(0x184)](),_0x17ca89):(_0x4c2cba['set'](new Uint8Array(_0x3908f1[_0x523f13(0x167)],_0x3908f1['byteOffset'],_0x18ee04),_0x17ca89),this['_buffers'][0x0]=new _0x35ec24(_0x3908f1[_0x523f13(0x167)],_0x3908f1[_0x523f13(0x24e)]+_0x18ee04,_0x3908f1[_0x523f13(0x21e)]-_0x18ee04)),_0x18ee04-=_0x3908f1[_0x523f13(0x21e)];}while(_0x18ee04>0x0);return _0x4c2cba;}[_0x467093(0x205)](_0x118d28){const _0xead6b1=_0x467093;this[_0xead6b1(0x2ab)]=!0x0;do switch(this[_0xead6b1(0x17a)]){case _0x3e2e0e:this[_0xead6b1(0x178)](_0x118d28);break;case _0x2b1f7c:this[_0xead6b1(0x17d)](_0x118d28);break;case _0x3401a5:this[_0xead6b1(0x191)](_0x118d28);break;case _0x5d9e15:this['getMask']();break;case _0x2fac7a:this['getData'](_0x118d28);break;case _0x5149c9:case _0x22e3c8:this['_loop']=!0x1;return;}while(this[_0xead6b1(0x2ab)]);this[_0xead6b1(0x1c8)]||_0x118d28();}[_0x467093(0x178)](_0x331e10){const _0x192825=_0x467093;if(this[_0x192825(0x291)]<0x2){this[_0x192825(0x2ab)]=!0x1;return;}const _0x4c43a8=this[_0x192825(0x166)](0x2);if((_0x4c43a8[0x0]&0x30)!==0x0){const _0xe72117=this[_0x192825(0x22f)](RangeError,_0x192825(0x237),!0x0,0x3ea,_0x192825(0x1b5));_0x331e10(_0xe72117);return;}const _0x282c50=(_0x4c43a8[0x0]&0x40)===0x40;if(_0x282c50&&!this[_0x192825(0x293)][_0x35f7b4[_0x192825(0x1d5)]]){const _0xff56aa=this[_0x192825(0x22f)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x192825(0x1fb));_0x331e10(_0xff56aa);return;}if(this[_0x192825(0x186)]=(_0x4c43a8[0x0]&0x80)===0x80,this['_opcode']=_0x4c43a8[0x0]&0xf,this[_0x192825(0x1c6)]=_0x4c43a8[0x1]&0x7f,this[_0x192825(0x14a)]===0x0){if(_0x282c50){const _0x3d31f7=this['createError'](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x192825(0x1fb));_0x331e10(_0x3d31f7);return;}if(!this['_fragmented']){const _0x1ed748=this['createError'](RangeError,_0x192825(0x193),!0x0,0x3ea,_0x192825(0x2ed));_0x331e10(_0x1ed748);return;}this['_opcode']=this[_0x192825(0x290)];}else{if(this[_0x192825(0x14a)]===0x1||this[_0x192825(0x14a)]===0x2){if(this['_fragmented']){const _0x1a1b41=this[_0x192825(0x22f)](RangeError,'invalid\x20opcode\x20'+this['_opcode'],!0x0,0x3ea,_0x192825(0x2ed));_0x331e10(_0x1a1b41);return;}this['_compressed']=_0x282c50;}else{if(this['_opcode']>0x7&&this['_opcode']<0xb){if(!this[_0x192825(0x186)]){const _0x30599d=this[_0x192825(0x22f)](RangeError,_0x192825(0x179),!0x0,0x3ea,_0x192825(0x1ba));_0x331e10(_0x30599d);return;}if(_0x282c50){const _0x5b97dd=this['createError'](RangeError,_0x192825(0x174),!0x0,0x3ea,_0x192825(0x1fb));_0x331e10(_0x5b97dd);return;}if(this[_0x192825(0x1c6)]>0x7d||this['_opcode']===0x8&&this['_payloadLength']===0x1){const _0x579380=this['createError'](RangeError,_0x192825(0x2d8)+this[_0x192825(0x1c6)],!0x0,0x3ea,_0x192825(0x254));_0x331e10(_0x579380);return;}}else{const _0xf9254f=this[_0x192825(0x22f)](RangeError,_0x192825(0x26f)+this[_0x192825(0x14a)],!0x0,0x3ea,_0x192825(0x2ed));_0x331e10(_0xf9254f);return;}}}if(!this[_0x192825(0x186)]&&!this[_0x192825(0x290)]&&(this[_0x192825(0x290)]=this[_0x192825(0x14a)]),this['_masked']=(_0x4c43a8[0x1]&0x80)===0x80,this[_0x192825(0x14c)]){if(!this[_0x192825(0x17c)]){const _0x1cb54a=this[_0x192825(0x22f)](RangeError,_0x192825(0x1f8),!0x0,0x3ea,_0x192825(0x2a3));_0x331e10(_0x1cb54a);return;}}else{if(this['_masked']){const _0x3c75eb=this[_0x192825(0x22f)](RangeError,_0x192825(0x20e),!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0x331e10(_0x3c75eb);return;}}this['_payloadLength']===0x7e?this[_0x192825(0x17a)]=_0x2b1f7c:this[_0x192825(0x1c6)]===0x7f?this[_0x192825(0x17a)]=_0x3401a5:this[_0x192825(0x2b6)](_0x331e10);}[_0x467093(0x17d)](_0x4b3bc2){const _0x49a99f=_0x467093;if(this[_0x49a99f(0x291)]<0x2){this[_0x49a99f(0x2ab)]=!0x1;return;}this['_payloadLength']=this['consume'](0x2)[_0x49a99f(0x225)](0x0),this[_0x49a99f(0x2b6)](_0x4b3bc2);}[_0x467093(0x191)](_0xfc9fee){const _0xe1ffc5=_0x467093;if(this[_0xe1ffc5(0x291)]<0x8){this[_0xe1ffc5(0x2ab)]=!0x1;return;}const _0x4abfe4=this[_0xe1ffc5(0x166)](0x8),_0x118ca2=_0x4abfe4[_0xe1ffc5(0x2b5)](0x0);if(_0x118ca2>Math[_0xe1ffc5(0x1f3)](0x2,0x15)-0x1){const _0x3a1d59=this['createError'](RangeError,_0xe1ffc5(0x13f),!0x1,0x3f1,_0xe1ffc5(0x222));_0xfc9fee(_0x3a1d59);return;}this[_0xe1ffc5(0x1c6)]=_0x118ca2*Math[_0xe1ffc5(0x1f3)](0x2,0x20)+_0x4abfe4[_0xe1ffc5(0x2b5)](0x4),this[_0xe1ffc5(0x2b6)](_0xfc9fee);}['haveLength'](_0x5cb65a){const _0x2e99c4=_0x467093;if(this['_payloadLength']&&this[_0x2e99c4(0x14a)]<0x8&&(this[_0x2e99c4(0x24b)]+=this['_payloadLength'],this['_totalPayloadLength']>this[_0x2e99c4(0x259)]&&this['_maxPayload']>0x0)){const _0x3a084a=this[_0x2e99c4(0x22f)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x2e99c4(0x29a));_0x5cb65a(_0x3a084a);return;}this['_masked']?this[_0x2e99c4(0x17a)]=_0x5d9e15:this[_0x2e99c4(0x17a)]=_0x2fac7a;}[_0x467093(0x19d)](){const _0x3c581e=_0x467093;if(this[_0x3c581e(0x291)]<0x4){this[_0x3c581e(0x2ab)]=!0x1;return;}this[_0x3c581e(0x1df)]=this[_0x3c581e(0x166)](0x4),this[_0x3c581e(0x17a)]=_0x2fac7a;}['getData'](_0x1a3edd){const _0x535236=_0x467093;let _0x312740=_0x127ec1;if(this[_0x535236(0x1c6)]){if(this[_0x535236(0x291)]<this['_payloadLength']){this[_0x535236(0x2ab)]=!0x1;return;}_0x312740=this['consume'](this[_0x535236(0x1c6)]),this[_0x535236(0x17c)]&&(this[_0x535236(0x1df)][0x0]|this[_0x535236(0x1df)][0x1]|this['_mask'][0x2]|this[_0x535236(0x1df)][0x3])!==0x0&&_0xcb3723(_0x312740,this[_0x535236(0x1df)]);}if(this[_0x535236(0x14a)]>0x7){this[_0x535236(0x1cb)](_0x312740,_0x1a3edd);return;}if(this['_compressed']){this[_0x535236(0x17a)]=_0x5149c9,this[_0x535236(0x260)](_0x312740,_0x1a3edd);return;}_0x312740[_0x535236(0x21e)]&&(this[_0x535236(0x2f7)]=this[_0x535236(0x24b)],this[_0x535236(0x1e2)][_0x535236(0x23b)](_0x312740)),this[_0x535236(0x26c)](_0x1a3edd);}[_0x467093(0x260)](_0x5232ba,_0x5cebaf){const _0x91e9ea=_0x467093;this['_extensions'][_0x35f7b4[_0x91e9ea(0x1d5)]]['decompress'](_0x5232ba,this[_0x91e9ea(0x186)],(_0x547a60,_0x45300f)=>{const _0x3d78c9=_0x91e9ea;if(_0x547a60)return _0x5cebaf(_0x547a60);if(_0x45300f[_0x3d78c9(0x21e)]){if(this[_0x3d78c9(0x2f7)]+=_0x45300f[_0x3d78c9(0x21e)],this[_0x3d78c9(0x2f7)]>this['_maxPayload']&&this['_maxPayload']>0x0){const _0x26542e=this[_0x3d78c9(0x22f)](RangeError,_0x3d78c9(0x215),!0x1,0x3f1,_0x3d78c9(0x29a));_0x5cebaf(_0x26542e);return;}this[_0x3d78c9(0x1e2)][_0x3d78c9(0x23b)](_0x45300f);}this[_0x3d78c9(0x26c)](_0x5cebaf),this[_0x3d78c9(0x17a)]===_0x3e2e0e&&this[_0x3d78c9(0x205)](_0x5cebaf);});}[_0x467093(0x26c)](_0x450243){const _0x519b6b=_0x467093;if(!this[_0x519b6b(0x186)]){this[_0x519b6b(0x17a)]=_0x3e2e0e;return;}const _0x2253aa=this[_0x519b6b(0x2f7)],_0x575ec2=this['_fragments'];if(this['_totalPayloadLength']=0x0,this['_messageLength']=0x0,this[_0x519b6b(0x290)]=0x0,this[_0x519b6b(0x1e2)]=[],this[_0x519b6b(0x14a)]===0x2){let _0x302d63;this[_0x519b6b(0x199)]===_0x519b6b(0x157)?_0x302d63=_0x3bb535(_0x575ec2,_0x2253aa):this[_0x519b6b(0x199)]==='arraybuffer'?_0x302d63=_0x4fa2d6(_0x3bb535(_0x575ec2,_0x2253aa)):this[_0x519b6b(0x199)]===_0x519b6b(0x25d)?_0x302d63=new Blob(_0x575ec2):_0x302d63=_0x575ec2,this[_0x519b6b(0x18c)]?(this[_0x519b6b(0x273)](_0x519b6b(0x138),_0x302d63,!0x0),this['_state']=_0x3e2e0e):(this[_0x519b6b(0x17a)]=_0x22e3c8,setImmediate(()=>{const _0x23e228=_0x519b6b;this[_0x23e228(0x273)](_0x23e228(0x138),_0x302d63,!0x0),this['_state']=_0x3e2e0e,this[_0x23e228(0x205)](_0x450243);}));}else{const _0x1ce70e=_0x3bb535(_0x575ec2,_0x2253aa);if(!this[_0x519b6b(0x244)]&&!_0x235d7a(_0x1ce70e)){const _0x4a69a9=this['createError'](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x519b6b(0x14e));_0x450243(_0x4a69a9);return;}this['_state']===_0x5149c9||this[_0x519b6b(0x18c)]?(this[_0x519b6b(0x273)](_0x519b6b(0x138),_0x1ce70e,!0x1),this[_0x519b6b(0x17a)]=_0x3e2e0e):(this[_0x519b6b(0x17a)]=_0x22e3c8,setImmediate(()=>{const _0x4250ea=_0x519b6b;this['emit'](_0x4250ea(0x138),_0x1ce70e,!0x1),this['_state']=_0x3e2e0e,this[_0x4250ea(0x205)](_0x450243);}));}}[_0x467093(0x1cb)](_0x1fc2b2,_0x545914){const _0x161e82=_0x467093;if(this[_0x161e82(0x14a)]===0x8){if(_0x1fc2b2[_0x161e82(0x21e)]===0x0)this[_0x161e82(0x2ab)]=!0x1,this[_0x161e82(0x273)](_0x161e82(0x1fc),0x3ed,_0x127ec1),this['end']();else{const _0x32fb3f=_0x1fc2b2[_0x161e82(0x225)](0x0);if(!_0x74f74a(_0x32fb3f)){const _0x42931d=this[_0x161e82(0x22f)](RangeError,'invalid\x20status\x20code\x20'+_0x32fb3f,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0x545914(_0x42931d);return;}const _0x501050=new _0x35ec24(_0x1fc2b2[_0x161e82(0x167)],_0x1fc2b2[_0x161e82(0x24e)]+0x2,_0x1fc2b2[_0x161e82(0x21e)]-0x2);if(!this[_0x161e82(0x244)]&&!_0x235d7a(_0x501050)){const _0x716532=this[_0x161e82(0x22f)](Error,_0x161e82(0x294),!0x0,0x3ef,_0x161e82(0x14e));_0x545914(_0x716532);return;}this['_loop']=!0x1,this[_0x161e82(0x273)](_0x161e82(0x1fc),_0x32fb3f,_0x501050),this[_0x161e82(0x143)]();}this[_0x161e82(0x17a)]=_0x3e2e0e;return;}this[_0x161e82(0x18c)]?(this[_0x161e82(0x273)](this[_0x161e82(0x14a)]===0x9?_0x161e82(0x2cc):'pong',_0x1fc2b2),this[_0x161e82(0x17a)]=_0x3e2e0e):(this[_0x161e82(0x17a)]=_0x22e3c8,setImmediate(()=>{const _0x475d9c=_0x161e82;this[_0x475d9c(0x273)](this[_0x475d9c(0x14a)]===0x9?_0x475d9c(0x2cc):_0x475d9c(0x223),_0x1fc2b2),this[_0x475d9c(0x17a)]=_0x3e2e0e,this[_0x475d9c(0x205)](_0x545914);}));}['createError'](_0x4bd19e,_0x5d291e,_0x19d87e,_0x45b389,_0x1acabe){const _0xcca9cd=_0x467093;this[_0xcca9cd(0x2ab)]=!0x1,this[_0xcca9cd(0x1c8)]=!0x0;const _0x57742b=new _0x4bd19e(_0x19d87e?_0xcca9cd(0x13a)+_0x5d291e:_0x5d291e);return Error['captureStackTrace'](_0x57742b,this[_0xcca9cd(0x22f)]),_0x57742b[_0xcca9cd(0x2f0)]=_0x1acabe,_0x57742b[_0x375aa9]=_0x45b389,_0x57742b;}}return Se=_0x13820b,Se;}var Ee,Xe;function ft(){const _0x14f199=_0x256248;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x341a91}=oe,{randomFillSync:_0x3407b4}=Le,_0x465999=he(),{EMPTY_BUFFER:_0x2f7240,kWebSocket:_0x30d4cb,NOOP:_0xd044e4}=H(),{isBlob:_0xdacc5,isValidStatusCode:_0x55bb78}=ae(),{mask:_0x1f8419,toBuffer:_0x19bd9b}=ce(),_0x4f9c76=Symbol(_0x14f199(0x136)),_0x7c3c68=Buffer[_0x14f199(0x27a)](0x4),_0x45ef95=0x8*0x400;let _0xb7f647,_0xa93fb1=_0x45ef95;const _0x1f0b7f=0x0,_0x318135=0x1,_0xc6d0e8=0x2;class _0x48ff2f{constructor(_0x52019a,_0x388b27,_0x394427){const _0x32388e=_0x14f199;this[_0x32388e(0x293)]=_0x388b27||{},_0x394427&&(this[_0x32388e(0x13e)]=_0x394427,this['_maskBuffer']=Buffer[_0x32388e(0x27a)](0x4)),this[_0x32388e(0x198)]=_0x52019a,this['_firstFragment']=!0x0,this[_0x32388e(0x2da)]=!0x1,this[_0x32388e(0x291)]=0x0,this[_0x32388e(0x16c)]=[],this['_state']=_0x1f0b7f,this[_0x32388e(0x297)]=_0xd044e4,this[_0x30d4cb]=void 0x0;}static['frame'](_0x3e0274,_0x3ceba7){const _0x303312=_0x14f199;let _0x175953,_0x371013=!0x1,_0x2729ea=0x2,_0xdbe63f=!0x1;_0x3ceba7['mask']&&(_0x175953=_0x3ceba7['maskBuffer']||_0x7c3c68,_0x3ceba7['generateMask']?_0x3ceba7[_0x303312(0x28a)](_0x175953):(_0xa93fb1===_0x45ef95&&(_0xb7f647===void 0x0&&(_0xb7f647=Buffer[_0x303312(0x27a)](_0x45ef95)),_0x3407b4(_0xb7f647,0x0,_0x45ef95),_0xa93fb1=0x0),_0x175953[0x0]=_0xb7f647[_0xa93fb1++],_0x175953[0x1]=_0xb7f647[_0xa93fb1++],_0x175953[0x2]=_0xb7f647[_0xa93fb1++],_0x175953[0x3]=_0xb7f647[_0xa93fb1++]),_0xdbe63f=(_0x175953[0x0]|_0x175953[0x1]|_0x175953[0x2]|_0x175953[0x3])===0x0,_0x2729ea=0x6);let _0x26b2bc;typeof _0x3e0274==_0x303312(0x281)?(!_0x3ceba7[_0x303312(0x129)]||_0xdbe63f)&&_0x3ceba7[_0x4f9c76]!==void 0x0?_0x26b2bc=_0x3ceba7[_0x4f9c76]:(_0x3e0274=Buffer[_0x303312(0x140)](_0x3e0274),_0x26b2bc=_0x3e0274['length']):(_0x26b2bc=_0x3e0274[_0x303312(0x21e)],_0x371013=_0x3ceba7[_0x303312(0x129)]&&_0x3ceba7[_0x303312(0x13c)]&&!_0xdbe63f);let _0x90cd7c=_0x26b2bc;_0x26b2bc>=0x10000?(_0x2729ea+=0x8,_0x90cd7c=0x7f):_0x26b2bc>0x7d&&(_0x2729ea+=0x2,_0x90cd7c=0x7e);const _0xdef187=Buffer[_0x303312(0x1a3)](_0x371013?_0x26b2bc+_0x2729ea:_0x2729ea);return _0xdef187[0x0]=_0x3ceba7[_0x303312(0x1c0)]?_0x3ceba7[_0x303312(0x131)]|0x80:_0x3ceba7[_0x303312(0x131)],_0x3ceba7[_0x303312(0x132)]&&(_0xdef187[0x0]|=0x40),_0xdef187[0x1]=_0x90cd7c,_0x90cd7c===0x7e?_0xdef187[_0x303312(0x1e7)](_0x26b2bc,0x2):_0x90cd7c===0x7f&&(_0xdef187[0x2]=_0xdef187[0x3]=0x0,_0xdef187[_0x303312(0x15b)](_0x26b2bc,0x4,0x6)),_0x3ceba7[_0x303312(0x129)]?(_0xdef187[0x1]|=0x80,_0xdef187[_0x2729ea-0x4]=_0x175953[0x0],_0xdef187[_0x2729ea-0x3]=_0x175953[0x1],_0xdef187[_0x2729ea-0x2]=_0x175953[0x2],_0xdef187[_0x2729ea-0x1]=_0x175953[0x3],_0xdbe63f?[_0xdef187,_0x3e0274]:_0x371013?(_0x1f8419(_0x3e0274,_0x175953,_0xdef187,_0x2729ea,_0x26b2bc),[_0xdef187]):(_0x1f8419(_0x3e0274,_0x175953,_0x3e0274,0x0,_0x26b2bc),[_0xdef187,_0x3e0274])):[_0xdef187,_0x3e0274];}['close'](_0x56fbd0,_0x4f1978,_0x56c5cb,_0x10535e){const _0xa7a4cc=_0x14f199;let _0x327ad6;if(_0x56fbd0===void 0x0)_0x327ad6=_0x2f7240;else{if(typeof _0x56fbd0!=_0xa7a4cc(0x2bd)||!_0x55bb78(_0x56fbd0))throw new TypeError(_0xa7a4cc(0x1cd));if(_0x4f1978===void 0x0||!_0x4f1978[_0xa7a4cc(0x21e)])_0x327ad6=Buffer[_0xa7a4cc(0x1a3)](0x2),_0x327ad6['writeUInt16BE'](_0x56fbd0,0x0);else{const _0x2f8d60=Buffer[_0xa7a4cc(0x218)](_0x4f1978);if(_0x2f8d60>0x7b)throw new RangeError(_0xa7a4cc(0x298));_0x327ad6=Buffer['allocUnsafe'](0x2+_0x2f8d60),_0x327ad6[_0xa7a4cc(0x1e7)](_0x56fbd0,0x0),typeof _0x4f1978==_0xa7a4cc(0x281)?_0x327ad6[_0xa7a4cc(0x160)](_0x4f1978,0x2):_0x327ad6[_0xa7a4cc(0x1ea)](_0x4f1978,0x2);}}const _0x913e35={[_0x4f9c76]:_0x327ad6['length'],'fin':!0x0,'generateMask':this[_0xa7a4cc(0x13e)],'mask':_0x56c5cb,'maskBuffer':this[_0xa7a4cc(0x213)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0xa7a4cc(0x17a)]!==_0x1f0b7f?this[_0xa7a4cc(0x1dc)]([this[_0xa7a4cc(0x1dd)],_0x327ad6,!0x1,_0x913e35,_0x10535e]):this[_0xa7a4cc(0x2c2)](_0x48ff2f[_0xa7a4cc(0x1bc)](_0x327ad6,_0x913e35),_0x10535e);}[_0x14f199(0x2cc)](_0x25118f,_0x3ee5ef,_0x32a8c9){const _0x213e2a=_0x14f199;let _0x34d17e,_0x2cac87;if(typeof _0x25118f==_0x213e2a(0x281)?(_0x34d17e=Buffer[_0x213e2a(0x218)](_0x25118f),_0x2cac87=!0x1):_0xdacc5(_0x25118f)?(_0x34d17e=_0x25118f[_0x213e2a(0x219)],_0x2cac87=!0x1):(_0x25118f=_0x19bd9b(_0x25118f),_0x34d17e=_0x25118f['length'],_0x2cac87=_0x19bd9b['readOnly']),_0x34d17e>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x372f7a={[_0x4f9c76]:_0x34d17e,'fin':!0x0,'generateMask':this[_0x213e2a(0x13e)],'mask':_0x3ee5ef,'maskBuffer':this[_0x213e2a(0x213)],'opcode':0x9,'readOnly':_0x2cac87,'rsv1':!0x1};_0xdacc5(_0x25118f)?this[_0x213e2a(0x17a)]!==_0x1f0b7f?this[_0x213e2a(0x1dc)]([this['getBlobData'],_0x25118f,!0x1,_0x372f7a,_0x32a8c9]):this[_0x213e2a(0x134)](_0x25118f,!0x1,_0x372f7a,_0x32a8c9):this[_0x213e2a(0x17a)]!==_0x1f0b7f?this[_0x213e2a(0x1dc)]([this[_0x213e2a(0x1dd)],_0x25118f,!0x1,_0x372f7a,_0x32a8c9]):this[_0x213e2a(0x2c2)](_0x48ff2f[_0x213e2a(0x1bc)](_0x25118f,_0x372f7a),_0x32a8c9);}[_0x14f199(0x223)](_0x4738a5,_0x5f4b52,_0x5f236a){const _0x2b5025=_0x14f199;let _0x18f8f9,_0x80d6a9;if(typeof _0x4738a5==_0x2b5025(0x281)?(_0x18f8f9=Buffer[_0x2b5025(0x218)](_0x4738a5),_0x80d6a9=!0x1):_0xdacc5(_0x4738a5)?(_0x18f8f9=_0x4738a5[_0x2b5025(0x219)],_0x80d6a9=!0x1):(_0x4738a5=_0x19bd9b(_0x4738a5),_0x18f8f9=_0x4738a5[_0x2b5025(0x21e)],_0x80d6a9=_0x19bd9b[_0x2b5025(0x13c)]),_0x18f8f9>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x2a9819={[_0x4f9c76]:_0x18f8f9,'fin':!0x0,'generateMask':this[_0x2b5025(0x13e)],'mask':_0x5f4b52,'maskBuffer':this[_0x2b5025(0x213)],'opcode':0xa,'readOnly':_0x80d6a9,'rsv1':!0x1};_0xdacc5(_0x4738a5)?this[_0x2b5025(0x17a)]!==_0x1f0b7f?this[_0x2b5025(0x1dc)]([this[_0x2b5025(0x134)],_0x4738a5,!0x1,_0x2a9819,_0x5f236a]):this[_0x2b5025(0x134)](_0x4738a5,!0x1,_0x2a9819,_0x5f236a):this['_state']!==_0x1f0b7f?this['enqueue']([this['dispatch'],_0x4738a5,!0x1,_0x2a9819,_0x5f236a]):this[_0x2b5025(0x2c2)](_0x48ff2f[_0x2b5025(0x1bc)](_0x4738a5,_0x2a9819),_0x5f236a);}['send'](_0x4d5c26,_0x344ea0,_0x1f41bd){const _0x56216b=_0x14f199,_0x17f0cd=this['_extensions'][_0x465999[_0x56216b(0x1d5)]];let _0x50838b=_0x344ea0['binary']?0x2:0x1,_0x2cb22a=_0x344ea0['compress'],_0x5a6097,_0xfe192d;typeof _0x4d5c26==_0x56216b(0x281)?(_0x5a6097=Buffer[_0x56216b(0x218)](_0x4d5c26),_0xfe192d=!0x1):_0xdacc5(_0x4d5c26)?(_0x5a6097=_0x4d5c26[_0x56216b(0x219)],_0xfe192d=!0x1):(_0x4d5c26=_0x19bd9b(_0x4d5c26),_0x5a6097=_0x4d5c26[_0x56216b(0x21e)],_0xfe192d=_0x19bd9b['readOnly']),this[_0x56216b(0x12c)]?(this[_0x56216b(0x12c)]=!0x1,_0x2cb22a&&_0x17f0cd&&_0x17f0cd['params'][_0x17f0cd[_0x56216b(0x14c)]?_0x56216b(0x238):'client_no_context_takeover']&&(_0x2cb22a=_0x5a6097>=_0x17f0cd[_0x56216b(0x152)]),this[_0x56216b(0x2da)]=_0x2cb22a):(_0x2cb22a=!0x1,_0x50838b=0x0),_0x344ea0[_0x56216b(0x1c0)]&&(this[_0x56216b(0x12c)]=!0x0);const _0x14d199={[_0x4f9c76]:_0x5a6097,'fin':_0x344ea0[_0x56216b(0x1c0)],'generateMask':this[_0x56216b(0x13e)],'mask':_0x344ea0[_0x56216b(0x129)],'maskBuffer':this[_0x56216b(0x213)],'opcode':_0x50838b,'readOnly':_0xfe192d,'rsv1':_0x2cb22a};_0xdacc5(_0x4d5c26)?this['_state']!==_0x1f0b7f?this['enqueue']([this[_0x56216b(0x134)],_0x4d5c26,this['_compress'],_0x14d199,_0x1f41bd]):this[_0x56216b(0x134)](_0x4d5c26,this[_0x56216b(0x2da)],_0x14d199,_0x1f41bd):this[_0x56216b(0x17a)]!==_0x1f0b7f?this[_0x56216b(0x1dc)]([this[_0x56216b(0x1dd)],_0x4d5c26,this[_0x56216b(0x2da)],_0x14d199,_0x1f41bd]):this['dispatch'](_0x4d5c26,this[_0x56216b(0x2da)],_0x14d199,_0x1f41bd);}['getBlobData'](_0xc428ee,_0x1e4b9c,_0x56865f,_0x4f92b4){const _0x1c7095=_0x14f199;this[_0x1c7095(0x291)]+=_0x56865f[_0x4f9c76],this[_0x1c7095(0x17a)]=_0xc6d0e8,_0xc428ee[_0x1c7095(0x190)]()['then'](_0x43d1b8=>{const _0x2325d=_0x1c7095;if(this[_0x2325d(0x198)][_0x2325d(0x212)]){const _0x396362=new Error(_0x2325d(0x17f));process[_0x2325d(0x1a4)](_0x4c70e9,this,_0x396362,_0x4f92b4);return;}this[_0x2325d(0x291)]-=_0x56865f[_0x4f9c76];const _0x39e17c=_0x19bd9b(_0x43d1b8);_0x1e4b9c?this[_0x2325d(0x1dd)](_0x39e17c,_0x1e4b9c,_0x56865f,_0x4f92b4):(this[_0x2325d(0x17a)]=_0x1f0b7f,this[_0x2325d(0x2c2)](_0x48ff2f['frame'](_0x39e17c,_0x56865f),_0x4f92b4),this['dequeue']());})[_0x1c7095(0x28e)](_0x6f4653=>{const _0x4a7dec=_0x1c7095;process[_0x4a7dec(0x1a4)](_0x4c26d4,this,_0x6f4653,_0x4f92b4);});}[_0x14f199(0x1dd)](_0x5944ee,_0x4129fe,_0x2f7a44,_0x332439){const _0x2eb58c=_0x14f199;if(!_0x4129fe){this[_0x2eb58c(0x2c2)](_0x48ff2f['frame'](_0x5944ee,_0x2f7a44),_0x332439);return;}const _0x4ee670=this[_0x2eb58c(0x293)][_0x465999[_0x2eb58c(0x1d5)]];this[_0x2eb58c(0x291)]+=_0x2f7a44[_0x4f9c76],this[_0x2eb58c(0x17a)]=_0x318135,_0x4ee670[_0x2eb58c(0x239)](_0x5944ee,_0x2f7a44[_0x2eb58c(0x1c0)],(_0x2bd696,_0x18cc33)=>{const _0x552ce3=_0x2eb58c;if(this[_0x552ce3(0x198)][_0x552ce3(0x212)]){const _0x3cfc5a=new Error(_0x552ce3(0x12f));_0x4c70e9(this,_0x3cfc5a,_0x332439);return;}this[_0x552ce3(0x291)]-=_0x2f7a44[_0x4f9c76],this[_0x552ce3(0x17a)]=_0x1f0b7f,_0x2f7a44[_0x552ce3(0x13c)]=!0x1,this[_0x552ce3(0x2c2)](_0x48ff2f[_0x552ce3(0x1bc)](_0x18cc33,_0x2f7a44),_0x332439),this[_0x552ce3(0x262)]();});}[_0x14f199(0x262)](){const _0x39ec33=_0x14f199;for(;this[_0x39ec33(0x17a)]===_0x1f0b7f&&this[_0x39ec33(0x16c)][_0x39ec33(0x21e)];){const _0x492d38=this[_0x39ec33(0x16c)][_0x39ec33(0x184)]();this['_bufferedBytes']-=_0x492d38[0x3][_0x4f9c76],Reflect[_0x39ec33(0x1e3)](_0x492d38[0x0],this,_0x492d38['slice'](0x1));}}[_0x14f199(0x1dc)](_0xfa20fc){const _0xce56bc=_0x14f199;this[_0xce56bc(0x291)]+=_0xfa20fc[0x3][_0x4f9c76],this[_0xce56bc(0x16c)][_0xce56bc(0x23b)](_0xfa20fc);}['sendFrame'](_0x43448e,_0x5b4d57){const _0x2b15de=_0x14f199;_0x43448e[_0x2b15de(0x21e)]===0x2?(this[_0x2b15de(0x198)][_0x2b15de(0x2af)](),this[_0x2b15de(0x198)][_0x2b15de(0x160)](_0x43448e[0x0]),this[_0x2b15de(0x198)]['write'](_0x43448e[0x1],_0x5b4d57),this[_0x2b15de(0x198)][_0x2b15de(0x243)]()):this['_socket']['write'](_0x43448e[0x0],_0x5b4d57);}}Ee=_0x48ff2f;function _0x4c70e9(_0x23ea1c,_0x6f57d6,_0x2557a4){const _0x455cac=_0x14f199;typeof _0x2557a4=='function'&&_0x2557a4(_0x6f57d6);for(let _0x3348d0=0x0;_0x3348d0<_0x23ea1c[_0x455cac(0x16c)][_0x455cac(0x21e)];_0x3348d0++){const _0xce074f=_0x23ea1c['_queue'][_0x3348d0],_0x233dbd=_0xce074f[_0xce074f[_0x455cac(0x21e)]-0x1];typeof _0x233dbd==_0x455cac(0x240)&&_0x233dbd(_0x6f57d6);}}function _0x4c26d4(_0x133579,_0x4663da,_0x23897b){_0x4c70e9(_0x133579,_0x4663da,_0x23897b),_0x133579['onerror'](_0x4663da);}return Ee;}var xe,Ze;function It(){const _0x1d43eb=_0x256248;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x465b31,kListener:_0x1203f9}=H(),_0x4d3662=Symbol(_0x1d43eb(0x292)),_0x4e7adb=Symbol(_0x1d43eb(0x185)),_0x306efb=Symbol(_0x1d43eb(0x284)),_0x57a69a=Symbol('kMessage'),_0x55c6db=Symbol(_0x1d43eb(0x2e6)),_0xe7f4e4=Symbol(_0x1d43eb(0x1e9)),_0x46e1f6=Symbol(_0x1d43eb(0x1ca)),_0xcc3cd7=Symbol(_0x1d43eb(0x183));class _0x325d75{constructor(_0xd1067f){this[_0xe7f4e4]=null,this[_0x46e1f6]=_0xd1067f;}get['target'](){return this[_0xe7f4e4];}get[_0x1d43eb(0x2fb)](){return this[_0x46e1f6];}}Object[_0x1d43eb(0x269)](_0x325d75['prototype'],_0x1d43eb(0x251),{'enumerable':!0x0}),Object[_0x1d43eb(0x269)](_0x325d75['prototype'],_0x1d43eb(0x2fb),{'enumerable':!0x0});class _0x1272a0 extends _0x325d75{constructor(_0x632b44,_0x23fc75={}){const _0x9049f9=_0x1d43eb;super(_0x632b44),this[_0x4d3662]=_0x23fc75[_0x9049f9(0x2f0)]===void 0x0?0x0:_0x23fc75[_0x9049f9(0x2f0)],this[_0x55c6db]=_0x23fc75[_0x9049f9(0x165)]===void 0x0?'':_0x23fc75['reason'],this[_0xcc3cd7]=_0x23fc75[_0x9049f9(0x2ff)]===void 0x0?!0x1:_0x23fc75[_0x9049f9(0x2ff)];}get[_0x1d43eb(0x2f0)](){return this[_0x4d3662];}get[_0x1d43eb(0x165)](){return this[_0x55c6db];}get[_0x1d43eb(0x2ff)](){return this[_0xcc3cd7];}}Object[_0x1d43eb(0x269)](_0x1272a0[_0x1d43eb(0x2c9)],'code',{'enumerable':!0x0}),Object['defineProperty'](_0x1272a0[_0x1d43eb(0x2c9)],'reason',{'enumerable':!0x0}),Object[_0x1d43eb(0x269)](_0x1272a0[_0x1d43eb(0x2c9)],_0x1d43eb(0x2ff),{'enumerable':!0x0});class _0x3cae25 extends _0x325d75{constructor(_0x1ec025,_0x40067f={}){const _0x79c867=_0x1d43eb;super(_0x1ec025),this[_0x306efb]=_0x40067f[_0x79c867(0x182)]===void 0x0?null:_0x40067f[_0x79c867(0x182)],this[_0x57a69a]=_0x40067f[_0x79c867(0x138)]===void 0x0?'':_0x40067f[_0x79c867(0x138)];}get[_0x1d43eb(0x182)](){return this[_0x306efb];}get[_0x1d43eb(0x138)](){return this[_0x57a69a];}}Object[_0x1d43eb(0x269)](_0x3cae25[_0x1d43eb(0x2c9)],_0x1d43eb(0x182),{'enumerable':!0x0}),Object[_0x1d43eb(0x269)](_0x3cae25[_0x1d43eb(0x2c9)],_0x1d43eb(0x138),{'enumerable':!0x0});class _0x32425e extends _0x325d75{constructor(_0x24fd83,_0x415477={}){const _0x2b49ae=_0x1d43eb;super(_0x24fd83),this[_0x4e7adb]=_0x415477[_0x2b49ae(0x1a6)]===void 0x0?null:_0x415477[_0x2b49ae(0x1a6)];}get['data'](){return this[_0x4e7adb];}}Object[_0x1d43eb(0x269)](_0x32425e[_0x1d43eb(0x2c9)],_0x1d43eb(0x1a6),{'enumerable':!0x0}),xe={'CloseEvent':_0x1272a0,'ErrorEvent':_0x3cae25,'Event':_0x325d75,'EventTarget':{'addEventListener'(_0x2384f9,_0x1673f9,_0x2e6d13={}){const _0x55808f=_0x1d43eb;for(const _0x4030ce of this[_0x55808f(0x2a1)](_0x2384f9))if(!_0x2e6d13[_0x465b31]&&_0x4030ce[_0x1203f9]===_0x1673f9&&!_0x4030ce[_0x465b31])return;let _0xd0f125;if(_0x2384f9===_0x55808f(0x138))_0xd0f125=function(_0x52b0c5,_0x1d7f03){const _0x4235ea=_0x55808f,_0x3ea03d=new _0x32425e(_0x4235ea(0x138),{'data':_0x1d7f03?_0x52b0c5:_0x52b0c5[_0x4235ea(0x1cc)]()});_0x3ea03d[_0xe7f4e4]=this,_0x20802a(_0x1673f9,this,_0x3ea03d);};else{if(_0x2384f9==='close')_0xd0f125=function(_0x38ab2b,_0x13b81a){const _0x1717f6=_0x55808f,_0x5f2dba=new _0x1272a0(_0x1717f6(0x15c),{'code':_0x38ab2b,'reason':_0x13b81a['toString'](),'wasClean':this[_0x1717f6(0x2f3)]&&this[_0x1717f6(0x1af)]});_0x5f2dba[_0xe7f4e4]=this,_0x20802a(_0x1673f9,this,_0x5f2dba);};else{if(_0x2384f9===_0x55808f(0x182))_0xd0f125=function(_0x29592a){const _0x122c3b=_0x55808f,_0x253ba6=new _0x3cae25(_0x122c3b(0x182),{'error':_0x29592a,'message':_0x29592a[_0x122c3b(0x138)]});_0x253ba6[_0xe7f4e4]=this,_0x20802a(_0x1673f9,this,_0x253ba6);};else{if(_0x2384f9===_0x55808f(0x187))_0xd0f125=function(){const _0x4aef19=new _0x325d75('open');_0x4aef19[_0xe7f4e4]=this,_0x20802a(_0x1673f9,this,_0x4aef19);};else return;}}}_0xd0f125[_0x465b31]=!!_0x2e6d13[_0x465b31],_0xd0f125[_0x1203f9]=_0x1673f9,_0x2e6d13[_0x55808f(0x22d)]?this[_0x55808f(0x22d)](_0x2384f9,_0xd0f125):this['on'](_0x2384f9,_0xd0f125);},'removeEventListener'(_0x37e189,_0x4eee18){const _0x2623c8=_0x1d43eb;for(const _0x3d3986 of this[_0x2623c8(0x2a1)](_0x37e189))if(_0x3d3986[_0x1203f9]===_0x4eee18&&!_0x3d3986[_0x465b31]){this[_0x2623c8(0x133)](_0x37e189,_0x3d3986);break;}}},'MessageEvent':_0x32425e};function _0x20802a(_0x20b09e,_0x5dccbc,_0x2a7a51){const _0x463429=_0x1d43eb;typeof _0x20b09e=='object'&&_0x20b09e[_0x463429(0x258)]?_0x20b09e['handleEvent'][_0x463429(0x229)](_0x20b09e,_0x2a7a51):_0x20b09e[_0x463429(0x229)](_0x5dccbc,_0x2a7a51);}return xe;}function _0x2b82(_0x41fe5a,_0x36b48b){const _0x31815f=_0x3181();return _0x2b82=function(_0x2b826f,_0x589410){_0x2b826f=_0x2b826f-0x129;let _0x12fe21=_0x31815f[_0x2b826f];return _0x12fe21;},_0x2b82(_0x41fe5a,_0x36b48b);}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x383560}=ae();function _0x3323f3(_0x14d9dc,_0x1d6253,_0x2a4967){const _0x5ba110=_0x2b82;_0x14d9dc[_0x1d6253]===void 0x0?_0x14d9dc[_0x1d6253]=[_0x2a4967]:_0x14d9dc[_0x1d6253][_0x5ba110(0x23b)](_0x2a4967);}function _0x1f6830(_0x1ece29){const _0x1d3f63=_0x2b82,_0x502e3d=Object[_0x1d3f63(0x16a)](null);let _0x172e6f=Object['create'](null),_0x30674d=!0x1,_0x5f2312=!0x1,_0x88945f=!0x1,_0x35a2b7,_0x35b289,_0x191271=-0x1,_0xe3947=-0x1,_0x58aa24=-0x1,_0x3ff9d4=0x0;for(;_0x3ff9d4<_0x1ece29[_0x1d3f63(0x21e)];_0x3ff9d4++)if(_0xe3947=_0x1ece29[_0x1d3f63(0x236)](_0x3ff9d4),_0x35a2b7===void 0x0){if(_0x58aa24===-0x1&&_0x383560[_0xe3947]===0x1)_0x191271===-0x1&&(_0x191271=_0x3ff9d4);else{if(_0x3ff9d4!==0x0&&(_0xe3947===0x20||_0xe3947===0x9))_0x58aa24===-0x1&&_0x191271!==-0x1&&(_0x58aa24=_0x3ff9d4);else{if(_0xe3947===0x3b||_0xe3947===0x2c){if(_0x191271===-0x1)throw new SyntaxError(_0x1d3f63(0x2f5)+_0x3ff9d4);_0x58aa24===-0x1&&(_0x58aa24=_0x3ff9d4);const _0x4cac57=_0x1ece29[_0x1d3f63(0x2bc)](_0x191271,_0x58aa24);_0xe3947===0x2c?(_0x3323f3(_0x502e3d,_0x4cac57,_0x172e6f),_0x172e6f=Object[_0x1d3f63(0x16a)](null)):_0x35a2b7=_0x4cac57,_0x191271=_0x58aa24=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x3ff9d4);}}}else{if(_0x35b289===void 0x0){if(_0x58aa24===-0x1&&_0x383560[_0xe3947]===0x1)_0x191271===-0x1&&(_0x191271=_0x3ff9d4);else{if(_0xe3947===0x20||_0xe3947===0x9)_0x58aa24===-0x1&&_0x191271!==-0x1&&(_0x58aa24=_0x3ff9d4);else{if(_0xe3947===0x3b||_0xe3947===0x2c){if(_0x191271===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x3ff9d4);_0x58aa24===-0x1&&(_0x58aa24=_0x3ff9d4),_0x3323f3(_0x172e6f,_0x1ece29[_0x1d3f63(0x2bc)](_0x191271,_0x58aa24),!0x0),_0xe3947===0x2c&&(_0x3323f3(_0x502e3d,_0x35a2b7,_0x172e6f),_0x172e6f=Object[_0x1d3f63(0x16a)](null),_0x35a2b7=void 0x0),_0x191271=_0x58aa24=-0x1;}else{if(_0xe3947===0x3d&&_0x191271!==-0x1&&_0x58aa24===-0x1)_0x35b289=_0x1ece29['slice'](_0x191271,_0x3ff9d4),_0x191271=_0x58aa24=-0x1;else throw new SyntaxError(_0x1d3f63(0x2f5)+_0x3ff9d4);}}}}else{if(_0x5f2312){if(_0x383560[_0xe3947]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x3ff9d4);_0x191271===-0x1?_0x191271=_0x3ff9d4:_0x30674d||(_0x30674d=!0x0),_0x5f2312=!0x1;}else{if(_0x88945f){if(_0x383560[_0xe3947]===0x1)_0x191271===-0x1&&(_0x191271=_0x3ff9d4);else{if(_0xe3947===0x22&&_0x191271!==-0x1)_0x88945f=!0x1,_0x58aa24=_0x3ff9d4;else{if(_0xe3947===0x5c)_0x5f2312=!0x0;else throw new SyntaxError(_0x1d3f63(0x2f5)+_0x3ff9d4);}}}else{if(_0xe3947===0x22&&_0x1ece29[_0x1d3f63(0x236)](_0x3ff9d4-0x1)===0x3d)_0x88945f=!0x0;else{if(_0x58aa24===-0x1&&_0x383560[_0xe3947]===0x1)_0x191271===-0x1&&(_0x191271=_0x3ff9d4);else{if(_0x191271!==-0x1&&(_0xe3947===0x20||_0xe3947===0x9))_0x58aa24===-0x1&&(_0x58aa24=_0x3ff9d4);else{if(_0xe3947===0x3b||_0xe3947===0x2c){if(_0x191271===-0x1)throw new SyntaxError(_0x1d3f63(0x2f5)+_0x3ff9d4);_0x58aa24===-0x1&&(_0x58aa24=_0x3ff9d4);let _0x5a2b4a=_0x1ece29[_0x1d3f63(0x2bc)](_0x191271,_0x58aa24);_0x30674d&&(_0x5a2b4a=_0x5a2b4a[_0x1d3f63(0x23d)](/\\/g,''),_0x30674d=!0x1),_0x3323f3(_0x172e6f,_0x35b289,_0x5a2b4a),_0xe3947===0x2c&&(_0x3323f3(_0x502e3d,_0x35a2b7,_0x172e6f),_0x172e6f=Object[_0x1d3f63(0x16a)](null),_0x35a2b7=void 0x0),_0x35b289=void 0x0,_0x191271=_0x58aa24=-0x1;}else throw new SyntaxError(_0x1d3f63(0x2f5)+_0x3ff9d4);}}}}}}}if(_0x191271===-0x1||_0x88945f||_0xe3947===0x20||_0xe3947===0x9)throw new SyntaxError(_0x1d3f63(0x220));_0x58aa24===-0x1&&(_0x58aa24=_0x3ff9d4);const _0x455f7d=_0x1ece29[_0x1d3f63(0x2bc)](_0x191271,_0x58aa24);return _0x35a2b7===void 0x0?_0x3323f3(_0x502e3d,_0x455f7d,_0x172e6f):(_0x35b289===void 0x0?_0x3323f3(_0x172e6f,_0x455f7d,!0x0):_0x30674d?_0x3323f3(_0x172e6f,_0x35b289,_0x455f7d[_0x1d3f63(0x23d)](/\\/g,'')):_0x3323f3(_0x172e6f,_0x35b289,_0x455f7d),_0x3323f3(_0x502e3d,_0x35a2b7,_0x172e6f)),_0x502e3d;}function _0xc71b68(_0x34a63b){const _0xbe287c=_0x2b82;return Object['keys'](_0x34a63b)[_0xbe287c(0x2de)](_0x48098b=>{const _0xc4ce25=_0xbe287c;let _0x513bbf=_0x34a63b[_0x48098b];return Array[_0xc4ce25(0x261)](_0x513bbf)||(_0x513bbf=[_0x513bbf]),_0x513bbf[_0xc4ce25(0x2de)](_0x51ed91=>[_0x48098b][_0xc4ce25(0x1db)](Object[_0xc4ce25(0x268)](_0x51ed91)[_0xc4ce25(0x2de)](_0x49c34d=>{const _0x21880c=_0xc4ce25;let _0x144d82=_0x51ed91[_0x49c34d];return Array[_0x21880c(0x261)](_0x144d82)||(_0x144d82=[_0x144d82]),_0x144d82[_0x21880c(0x2de)](_0x499e2d=>_0x499e2d===!0x0?_0x49c34d:_0x49c34d+'='+_0x499e2d)[_0x21880c(0x296)](';\x20');}))['join'](';\x20'))[_0xc4ce25(0x296)](',\x20');})['join'](',\x20');}return be={'format':_0xc71b68,'parse':_0x1f6830},be;}var we,Je;function Pe(){const _0x4baa9b=_0x256248;if(Je)return we;Je=0x1;const _0x573f09=nt,_0x1ce674=vt,_0x5d1d20=ot,_0x5df1d9=St,_0xf6b5ea=Et,{randomBytes:_0x2524b1,createHash:_0x368772}=Le,{Duplex:_0x11478e,Readable:_0x2cc158}=oe,{URL:_0x1fbb0a}=xt,_0x166efe=he(),_0x578296=lt(),_0x13d108=ft(),{isBlob:_0x4efec7}=ae(),{BINARY_TYPES:_0x3d5df8,EMPTY_BUFFER:_0x43f1af,GUID:_0x51802a,kForOnEventAttribute:_0x7764cb,kListener:_0x35648a,kStatusCode:_0x122acc,kWebSocket:_0x13d4a7,NOOP:_0x6b8db0}=H(),{EventTarget:{addEventListener:_0x4383a2,removeEventListener:_0x33eb18}}=It(),{format:_0x423da1,parse:_0x40ce19}=ct(),{toBuffer:_0x21a040}=ce(),_0x265d82=0x1e*0x3e8,_0x15e9c8=Symbol(_0x4baa9b(0x29f)),_0x11f4b2=[0x8,0xd],_0x1ac9da=[_0x4baa9b(0x202),_0x4baa9b(0x20a),_0x4baa9b(0x2df),_0x4baa9b(0x2b0)],_0x43e26b=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x5f4353 extends _0x573f09{constructor(_0x3a5315,_0x43f3ed,_0x4e25d2){const _0x3ecc92=_0x4baa9b;super(),this['_binaryType']=_0x3d5df8[0x0],this[_0x3ecc92(0x2b1)]=0x3ee,this[_0x3ecc92(0x2f3)]=!0x1,this[_0x3ecc92(0x1af)]=!0x1,this[_0x3ecc92(0x2b4)]=_0x43f1af,this[_0x3ecc92(0x286)]=null,this[_0x3ecc92(0x170)]=!0x1,this['_extensions']={},this['_paused']=!0x1,this[_0x3ecc92(0x2d1)]='',this[_0x3ecc92(0x283)]=_0x5f4353[_0x3ecc92(0x202)],this[_0x3ecc92(0x1d2)]=null,this['_sender']=null,this[_0x3ecc92(0x198)]=null,_0x3a5315!==null?(this['_bufferedAmount']=0x0,this[_0x3ecc92(0x14c)]=!0x1,this[_0x3ecc92(0x1bf)]=0x0,_0x43f3ed===void 0x0?_0x43f3ed=[]:Array['isArray'](_0x43f3ed)||(typeof _0x43f3ed==_0x3ecc92(0x12d)&&_0x43f3ed!==null?(_0x4e25d2=_0x43f3ed,_0x43f3ed=[]):_0x43f3ed=[_0x43f3ed]),_0x3cdaa7(this,_0x3a5315,_0x43f3ed,_0x4e25d2)):(this[_0x3ecc92(0x210)]=_0x4e25d2['autoPong'],this[_0x3ecc92(0x14c)]=!0x0);}get['binaryType'](){return this['_binaryType'];}set[_0x4baa9b(0x16e)](_0x13cf9c){const _0x45b158=_0x4baa9b;_0x3d5df8[_0x45b158(0x1b1)](_0x13cf9c)&&(this[_0x45b158(0x199)]=_0x13cf9c,this['_receiver']&&(this[_0x45b158(0x1d2)][_0x45b158(0x199)]=_0x13cf9c));}get[_0x4baa9b(0x192)](){const _0x23f3ed=_0x4baa9b;return this[_0x23f3ed(0x198)]?this[_0x23f3ed(0x198)][_0x23f3ed(0x175)][_0x23f3ed(0x21e)]+this[_0x23f3ed(0x2c7)][_0x23f3ed(0x291)]:this[_0x23f3ed(0x177)];}get[_0x4baa9b(0x17b)](){const _0x32909c=_0x4baa9b;return Object[_0x32909c(0x268)](this[_0x32909c(0x293)])[_0x32909c(0x296)]();}get['isPaused'](){const _0x4861a0=_0x4baa9b;return this[_0x4861a0(0x2c1)];}get[_0x4baa9b(0x1a0)](){return null;}get[_0x4baa9b(0x297)](){return null;}get[_0x4baa9b(0x301)](){return null;}get[_0x4baa9b(0x245)](){return null;}get[_0x4baa9b(0x194)](){const _0x22a6b7=_0x4baa9b;return this[_0x22a6b7(0x2d1)];}get[_0x4baa9b(0x280)](){const _0x131027=_0x4baa9b;return this[_0x131027(0x283)];}get[_0x4baa9b(0x264)](){const _0x4bb415=_0x4baa9b;return this[_0x4bb415(0x148)];}[_0x4baa9b(0x159)](_0x300b40,_0x7096d2,_0x1d6906){const _0x329bc6=_0x4baa9b,_0x9b534a=new _0x578296({'allowSynchronousEvents':_0x1d6906['allowSynchronousEvents'],'binaryType':this[_0x329bc6(0x16e)],'extensions':this[_0x329bc6(0x293)],'isServer':this[_0x329bc6(0x14c)],'maxPayload':_0x1d6906['maxPayload'],'skipUTF8Validation':_0x1d6906[_0x329bc6(0x234)]}),_0xb32125=new _0x13d108(_0x300b40,this[_0x329bc6(0x293)],_0x1d6906[_0x329bc6(0x28a)]);this[_0x329bc6(0x1d2)]=_0x9b534a,this[_0x329bc6(0x2c7)]=_0xb32125,this[_0x329bc6(0x198)]=_0x300b40,_0x9b534a[_0x13d4a7]=this,_0xb32125[_0x13d4a7]=this,_0x300b40[_0x13d4a7]=this,_0x9b534a['on'](_0x329bc6(0x1fc),_0x51686f),_0x9b534a['on'](_0x329bc6(0x2dd),_0x5c3ae7),_0x9b534a['on']('error',_0x52f6ce),_0x9b534a['on'](_0x329bc6(0x138),_0x518c8a),_0x9b534a['on'](_0x329bc6(0x2cc),_0x4cd146),_0x9b534a['on'](_0x329bc6(0x223),_0x209a44),_0xb32125[_0x329bc6(0x297)]=_0x248dbe,_0x300b40['setTimeout']&&_0x300b40[_0x329bc6(0x1c3)](0x0),_0x300b40[_0x329bc6(0x15a)]&&_0x300b40[_0x329bc6(0x15a)](),_0x7096d2[_0x329bc6(0x21e)]>0x0&&_0x300b40['unshift'](_0x7096d2),_0x300b40['on'](_0x329bc6(0x15c),_0x580c45),_0x300b40['on'](_0x329bc6(0x1a6),_0x4f1bcb),_0x300b40['on'](_0x329bc6(0x143),_0x8f84fa),_0x300b40['on']('error',_0x7be166),this[_0x329bc6(0x283)]=_0x5f4353[_0x329bc6(0x20a)],this[_0x329bc6(0x273)](_0x329bc6(0x187));}[_0x4baa9b(0x2b7)](){const _0x180f7b=_0x4baa9b;if(!this[_0x180f7b(0x198)]){this['_readyState']=_0x5f4353[_0x180f7b(0x2b0)],this[_0x180f7b(0x273)](_0x180f7b(0x15c),this['_closeCode'],this[_0x180f7b(0x2b4)]);return;}this[_0x180f7b(0x293)][_0x166efe['extensionName']]&&this['_extensions'][_0x166efe[_0x180f7b(0x1d5)]][_0x180f7b(0x144)](),this['_receiver'][_0x180f7b(0x263)](),this[_0x180f7b(0x283)]=_0x5f4353[_0x180f7b(0x2b0)],this[_0x180f7b(0x273)]('close',this[_0x180f7b(0x2b1)],this[_0x180f7b(0x2b4)]);}['close'](_0x6ce3cc,_0x686037){const _0x31fd6b=_0x4baa9b;if(this['readyState']!==_0x5f4353['CLOSED']){if(this[_0x31fd6b(0x280)]===_0x5f4353['CONNECTING']){_0x41ffc4(this,this[_0x31fd6b(0x224)],_0x31fd6b(0x2c6));return;}if(this[_0x31fd6b(0x280)]===_0x5f4353[_0x31fd6b(0x2df)]){this[_0x31fd6b(0x1af)]&&(this[_0x31fd6b(0x2f3)]||this[_0x31fd6b(0x1d2)][_0x31fd6b(0x175)][_0x31fd6b(0x19e)])&&this['_socket']['end']();return;}this[_0x31fd6b(0x283)]=_0x5f4353[_0x31fd6b(0x2df)],this[_0x31fd6b(0x2c7)][_0x31fd6b(0x15c)](_0x6ce3cc,_0x686037,!this['_isServer'],_0x43ea8f=>{const _0x26c66c=_0x31fd6b;_0x43ea8f||(this[_0x26c66c(0x1af)]=!0x0,(this[_0x26c66c(0x2f3)]||this[_0x26c66c(0x1d2)][_0x26c66c(0x175)][_0x26c66c(0x19e)])&&this[_0x26c66c(0x198)][_0x26c66c(0x143)]());}),_0x252060(this);}}[_0x4baa9b(0x2fd)](){const _0x20341e=_0x4baa9b;this['readyState']===_0x5f4353[_0x20341e(0x202)]||this[_0x20341e(0x280)]===_0x5f4353[_0x20341e(0x2b0)]||(this[_0x20341e(0x2c1)]=!0x0,this[_0x20341e(0x198)][_0x20341e(0x2fd)]());}[_0x4baa9b(0x2cc)](_0x15909a,_0x21751e,_0x2efd32){const _0x5d2f8c=_0x4baa9b;if(this[_0x5d2f8c(0x280)]===_0x5f4353['CONNECTING'])throw new Error(_0x5d2f8c(0x256));if(typeof _0x15909a=='function'?(_0x2efd32=_0x15909a,_0x15909a=_0x21751e=void 0x0):typeof _0x21751e==_0x5d2f8c(0x240)&&(_0x2efd32=_0x21751e,_0x21751e=void 0x0),typeof _0x15909a==_0x5d2f8c(0x2bd)&&(_0x15909a=_0x15909a[_0x5d2f8c(0x1cc)]()),this[_0x5d2f8c(0x280)]!==_0x5f4353[_0x5d2f8c(0x20a)]){_0x2ea3c3(this,_0x15909a,_0x2efd32);return;}_0x21751e===void 0x0&&(_0x21751e=!this['_isServer']),this['_sender']['ping'](_0x15909a||_0x43f1af,_0x21751e,_0x2efd32);}[_0x4baa9b(0x223)](_0x3f9b0a,_0x552dcc,_0x1e5f72){const _0xfc02e7=_0x4baa9b;if(this['readyState']===_0x5f4353['CONNECTING'])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x3f9b0a==_0xfc02e7(0x240)?(_0x1e5f72=_0x3f9b0a,_0x3f9b0a=_0x552dcc=void 0x0):typeof _0x552dcc=='function'&&(_0x1e5f72=_0x552dcc,_0x552dcc=void 0x0),typeof _0x3f9b0a==_0xfc02e7(0x2bd)&&(_0x3f9b0a=_0x3f9b0a['toString']()),this[_0xfc02e7(0x280)]!==_0x5f4353[_0xfc02e7(0x20a)]){_0x2ea3c3(this,_0x3f9b0a,_0x1e5f72);return;}_0x552dcc===void 0x0&&(_0x552dcc=!this['_isServer']),this['_sender']['pong'](_0x3f9b0a||_0x43f1af,_0x552dcc,_0x1e5f72);}['resume'](){const _0x4f7abf=_0x4baa9b;this['readyState']===_0x5f4353['CONNECTING']||this['readyState']===_0x5f4353[_0x4f7abf(0x2b0)]||(this[_0x4f7abf(0x2c1)]=!0x1,this[_0x4f7abf(0x1d2)]['_writableState'][_0x4f7abf(0x20c)]||this[_0x4f7abf(0x198)][_0x4f7abf(0x12b)]());}[_0x4baa9b(0x2a8)](_0x14db88,_0x45b3dd,_0x5e6757){const _0xb37d2c=_0x4baa9b;if(this[_0xb37d2c(0x280)]===_0x5f4353[_0xb37d2c(0x202)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x45b3dd=='function'&&(_0x5e6757=_0x45b3dd,_0x45b3dd={}),typeof _0x14db88==_0xb37d2c(0x2bd)&&(_0x14db88=_0x14db88['toString']()),this[_0xb37d2c(0x280)]!==_0x5f4353[_0xb37d2c(0x20a)]){_0x2ea3c3(this,_0x14db88,_0x5e6757);return;}const _0x17e0e9={'binary':typeof _0x14db88!='string','mask':!this['_isServer'],'compress':!0x0,'fin':!0x0,..._0x45b3dd};this['_extensions'][_0x166efe[_0xb37d2c(0x1d5)]]||(_0x17e0e9[_0xb37d2c(0x239)]=!0x1),this[_0xb37d2c(0x2c7)][_0xb37d2c(0x2a8)](_0x14db88||_0x43f1af,_0x17e0e9,_0x5e6757);}[_0x4baa9b(0x22b)](){const _0x130d76=_0x4baa9b;if(this[_0x130d76(0x280)]!==_0x5f4353[_0x130d76(0x2b0)]){if(this[_0x130d76(0x280)]===_0x5f4353[_0x130d76(0x202)]){_0x41ffc4(this,this[_0x130d76(0x224)],_0x130d76(0x2c6));return;}this[_0x130d76(0x198)]&&(this[_0x130d76(0x283)]=_0x5f4353[_0x130d76(0x2df)],this[_0x130d76(0x198)]['destroy']());}}}Object[_0x4baa9b(0x269)](_0x5f4353,_0x4baa9b(0x202),{'enumerable':!0x0,'value':_0x1ac9da[_0x4baa9b(0x249)](_0x4baa9b(0x202))}),Object[_0x4baa9b(0x269)](_0x5f4353[_0x4baa9b(0x2c9)],_0x4baa9b(0x202),{'enumerable':!0x0,'value':_0x1ac9da[_0x4baa9b(0x249)](_0x4baa9b(0x202))}),Object[_0x4baa9b(0x269)](_0x5f4353,_0x4baa9b(0x20a),{'enumerable':!0x0,'value':_0x1ac9da['indexOf'](_0x4baa9b(0x20a))}),Object['defineProperty'](_0x5f4353[_0x4baa9b(0x2c9)],_0x4baa9b(0x20a),{'enumerable':!0x0,'value':_0x1ac9da[_0x4baa9b(0x249)](_0x4baa9b(0x20a))}),Object[_0x4baa9b(0x269)](_0x5f4353,_0x4baa9b(0x2df),{'enumerable':!0x0,'value':_0x1ac9da['indexOf'](_0x4baa9b(0x2df))}),Object['defineProperty'](_0x5f4353['prototype'],_0x4baa9b(0x2df),{'enumerable':!0x0,'value':_0x1ac9da[_0x4baa9b(0x249)](_0x4baa9b(0x2df))}),Object['defineProperty'](_0x5f4353,'CLOSED',{'enumerable':!0x0,'value':_0x1ac9da[_0x4baa9b(0x249)]('CLOSED')}),Object[_0x4baa9b(0x269)](_0x5f4353[_0x4baa9b(0x2c9)],_0x4baa9b(0x2b0),{'enumerable':!0x0,'value':_0x1ac9da[_0x4baa9b(0x249)](_0x4baa9b(0x2b0))}),['binaryType',_0x4baa9b(0x192),_0x4baa9b(0x17b),_0x4baa9b(0x1ff),'protocol',_0x4baa9b(0x280),_0x4baa9b(0x264)][_0x4baa9b(0x2d6)](_0x12253e=>{const _0x51588e=_0x4baa9b;Object[_0x51588e(0x269)](_0x5f4353['prototype'],_0x12253e,{'enumerable':!0x0});}),[_0x4baa9b(0x187),'error',_0x4baa9b(0x15c),_0x4baa9b(0x138)]['forEach'](_0x4e1a8d=>{const _0x3dea72=_0x4baa9b;Object[_0x3dea72(0x269)](_0x5f4353['prototype'],'on'+_0x4e1a8d,{'enumerable':!0x0,'get'(){const _0x15f277=_0x3dea72;for(const _0x580010 of this[_0x15f277(0x2a1)](_0x4e1a8d))if(_0x580010[_0x7764cb])return _0x580010[_0x35648a];return null;},'set'(_0x58ff7e){const _0x336c9c=_0x3dea72;for(const _0x148a3d of this[_0x336c9c(0x2a1)](_0x4e1a8d))if(_0x148a3d[_0x7764cb]){this['removeListener'](_0x4e1a8d,_0x148a3d);break;}typeof _0x58ff7e==_0x336c9c(0x240)&&this[_0x336c9c(0x142)](_0x4e1a8d,_0x58ff7e,{[_0x7764cb]:!0x0});}});}),_0x5f4353['prototype'][_0x4baa9b(0x142)]=_0x4383a2,_0x5f4353[_0x4baa9b(0x2c9)][_0x4baa9b(0x155)]=_0x33eb18,we=_0x5f4353;function _0x3cdaa7(_0x12f92b,_0x3a5d70,_0x51e978,_0x5714b8){const _0x2b4014=_0x4baa9b,_0x4b22f0={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x11f4b2[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x5714b8,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x2b4014(0x21b),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x12f92b[_0x2b4014(0x210)]=_0x4b22f0[_0x2b4014(0x23c)],!_0x11f4b2[_0x2b4014(0x1b1)](_0x4b22f0['protocolVersion']))throw new RangeError(_0x2b4014(0x216)+_0x4b22f0[_0x2b4014(0x2e8)]+_0x2b4014(0x141)+_0x11f4b2[_0x2b4014(0x296)](',\x20')+')');let _0x5ca204;if(_0x3a5d70 instanceof _0x1fbb0a)_0x5ca204=_0x3a5d70;else try{_0x5ca204=new _0x1fbb0a(_0x3a5d70);}catch{throw new SyntaxError(_0x2b4014(0x23a)+_0x3a5d70);}_0x5ca204[_0x2b4014(0x194)]==='http:'?_0x5ca204[_0x2b4014(0x194)]=_0x2b4014(0x24a):_0x5ca204['protocol']===_0x2b4014(0x2e2)&&(_0x5ca204['protocol']=_0x2b4014(0x271)),_0x12f92b[_0x2b4014(0x148)]=_0x5ca204[_0x2b4014(0x206)];const _0x2fe896=_0x5ca204[_0x2b4014(0x194)]==='wss:',_0x507dfc=_0x5ca204[_0x2b4014(0x194)]===_0x2b4014(0x14d);let _0x12b755;if(_0x5ca204[_0x2b4014(0x194)]!==_0x2b4014(0x24a)&&!_0x2fe896&&!_0x507dfc?_0x12b755=_0x2b4014(0x154):_0x507dfc&&!_0x5ca204[_0x2b4014(0x26a)]?_0x12b755=_0x2b4014(0x16f):_0x5ca204[_0x2b4014(0x1c5)]&&(_0x12b755='The\x20URL\x20contains\x20a\x20fragment\x20identifier'),_0x12b755){const _0x515291=new SyntaxError(_0x12b755);if(_0x12f92b['_redirects']===0x0)throw _0x515291;_0x4dfe80(_0x12f92b,_0x515291);return;}const _0x5dc825=_0x2fe896?0x1bb:0x50,_0x4d5043=_0x2524b1(0x10)['toString'](_0x2b4014(0x163)),_0x3bc761=_0x2fe896?_0x1ce674['request']:_0x5d1d20[_0x2b4014(0x226)],_0x4feacc=new Set();let _0xc894d2;if(_0x4b22f0['createConnection']=_0x4b22f0[_0x2b4014(0x2a4)]||(_0x2fe896?_0x181d6d:_0x30112e),_0x4b22f0[_0x2b4014(0x1a7)]=_0x4b22f0[_0x2b4014(0x1a7)]||_0x5dc825,_0x4b22f0['port']=_0x5ca204[_0x2b4014(0x172)]||_0x5dc825,_0x4b22f0[_0x2b4014(0x2ca)]=_0x5ca204['hostname'][_0x2b4014(0x1f4)]('[')?_0x5ca204[_0x2b4014(0x22c)]['slice'](0x1,-0x1):_0x5ca204[_0x2b4014(0x22c)],_0x4b22f0['headers']={..._0x4b22f0[_0x2b4014(0x2ba)],'Sec-WebSocket-Version':_0x4b22f0[_0x2b4014(0x2e8)],'Sec-WebSocket-Key':_0x4d5043,'Connection':_0x2b4014(0x13d),'Upgrade':_0x2b4014(0x235)},_0x4b22f0[_0x2b4014(0x231)]=_0x5ca204[_0x2b4014(0x26a)]+_0x5ca204[_0x2b4014(0x2e7)],_0x4b22f0[_0x2b4014(0x15d)]=_0x4b22f0['handshakeTimeout'],_0x4b22f0[_0x2b4014(0x2ef)]&&(_0xc894d2=new _0x166efe(_0x4b22f0[_0x2b4014(0x2ef)]!==!0x0?_0x4b22f0[_0x2b4014(0x2ef)]:{},!0x1,_0x4b22f0['maxPayload']),_0x4b22f0['headers'][_0x2b4014(0x247)]=_0x423da1({[_0x166efe[_0x2b4014(0x1d5)]]:_0xc894d2[_0x2b4014(0x161)]()})),_0x51e978[_0x2b4014(0x21e)]){for(const _0x5373eb of _0x51e978){if(typeof _0x5373eb!=_0x2b4014(0x281)||!_0x43e26b[_0x2b4014(0x2b8)](_0x5373eb)||_0x4feacc['has'](_0x5373eb))throw new SyntaxError(_0x2b4014(0x12a));_0x4feacc[_0x2b4014(0x266)](_0x5373eb);}_0x4b22f0[_0x2b4014(0x2ba)][_0x2b4014(0x2f9)]=_0x51e978[_0x2b4014(0x296)](',');}if(_0x4b22f0[_0x2b4014(0x2fe)]&&(_0x4b22f0[_0x2b4014(0x2e8)]<0xd?_0x4b22f0[_0x2b4014(0x2ba)][_0x2b4014(0x16b)]=_0x4b22f0[_0x2b4014(0x2fe)]:_0x4b22f0[_0x2b4014(0x2ba)][_0x2b4014(0x195)]=_0x4b22f0[_0x2b4014(0x2fe)]),(_0x5ca204[_0x2b4014(0x22a)]||_0x5ca204[_0x2b4014(0x2c5)])&&(_0x4b22f0[_0x2b4014(0x25f)]=_0x5ca204[_0x2b4014(0x22a)]+':'+_0x5ca204[_0x2b4014(0x2c5)]),_0x507dfc){const _0x21d97b=_0x4b22f0[_0x2b4014(0x231)][_0x2b4014(0x147)](':');_0x4b22f0[_0x2b4014(0x2db)]=_0x21d97b[0x0],_0x4b22f0[_0x2b4014(0x231)]=_0x21d97b[0x1];}let _0x574d7f;if(_0x4b22f0[_0x2b4014(0x19c)]){if(_0x12f92b[_0x2b4014(0x1bf)]===0x0){_0x12f92b[_0x2b4014(0x2ec)]=_0x507dfc,_0x12f92b[_0x2b4014(0x1b6)]=_0x2fe896,_0x12f92b[_0x2b4014(0x1ac)]=_0x507dfc?_0x4b22f0[_0x2b4014(0x2db)]:_0x5ca204[_0x2b4014(0x2ca)];const _0x5e8370=_0x5714b8&&_0x5714b8[_0x2b4014(0x2ba)];if(_0x5714b8={..._0x5714b8,'headers':{}},_0x5e8370){for(const [_0x3cc616,_0x3543bb]of Object[_0x2b4014(0x27f)](_0x5e8370))_0x5714b8[_0x2b4014(0x2ba)][_0x3cc616[_0x2b4014(0x2e1)]()]=_0x3543bb;}}else{if(_0x12f92b[_0x2b4014(0x265)]('redirect')===0x0){const _0x118124=_0x507dfc?_0x12f92b['_originalIpc']?_0x4b22f0[_0x2b4014(0x2db)]===_0x12f92b[_0x2b4014(0x1ac)]:!0x1:_0x12f92b[_0x2b4014(0x2ec)]?!0x1:_0x5ca204[_0x2b4014(0x2ca)]===_0x12f92b[_0x2b4014(0x1ac)];(!_0x118124||_0x12f92b[_0x2b4014(0x1b6)]&&!_0x2fe896)&&(delete _0x4b22f0[_0x2b4014(0x2ba)][_0x2b4014(0x2fa)],delete _0x4b22f0[_0x2b4014(0x2ba)][_0x2b4014(0x1c1)],_0x118124||delete _0x4b22f0[_0x2b4014(0x2ba)][_0x2b4014(0x2ca)],_0x4b22f0[_0x2b4014(0x25f)]=void 0x0);}}_0x4b22f0[_0x2b4014(0x25f)]&&!_0x5714b8['headers'][_0x2b4014(0x2fa)]&&(_0x5714b8['headers'][_0x2b4014(0x2fa)]=_0x2b4014(0x248)+Buffer[_0x2b4014(0x140)](_0x4b22f0[_0x2b4014(0x25f)])[_0x2b4014(0x1cc)]('base64')),_0x574d7f=_0x12f92b['_req']=_0x3bc761(_0x4b22f0),_0x12f92b[_0x2b4014(0x1bf)]&&_0x12f92b[_0x2b4014(0x273)](_0x2b4014(0x278),_0x12f92b['url'],_0x574d7f);}else _0x574d7f=_0x12f92b[_0x2b4014(0x224)]=_0x3bc761(_0x4b22f0);_0x4b22f0[_0x2b4014(0x15d)]&&_0x574d7f['on']('timeout',()=>{const _0x38122e=_0x2b4014;_0x41ffc4(_0x12f92b,_0x574d7f,_0x38122e(0x2d5));}),_0x574d7f['on'](_0x2b4014(0x182),_0x2b6590=>{const _0x19268d=_0x2b4014;_0x574d7f===null||_0x574d7f[_0x15e9c8]||(_0x574d7f=_0x12f92b[_0x19268d(0x224)]=null,_0x4dfe80(_0x12f92b,_0x2b6590));}),_0x574d7f['on']('response',_0x2e4e3e=>{const _0x5ad4be=_0x2b4014,_0x4f72db=_0x2e4e3e['headers'][_0x5ad4be(0x2a5)],_0x32b6bd=_0x2e4e3e['statusCode'];if(_0x4f72db&&_0x4b22f0[_0x5ad4be(0x19c)]&&_0x32b6bd>=0x12c&&_0x32b6bd<0x190){if(++_0x12f92b[_0x5ad4be(0x1bf)]>_0x4b22f0['maxRedirects']){_0x41ffc4(_0x12f92b,_0x574d7f,_0x5ad4be(0x2b9));return;}_0x574d7f[_0x5ad4be(0x158)]();let _0x4c26a3;try{_0x4c26a3=new _0x1fbb0a(_0x4f72db,_0x3a5d70);}catch{const _0x23a831=new SyntaxError(_0x5ad4be(0x23a)+_0x4f72db);_0x4dfe80(_0x12f92b,_0x23a831);return;}_0x3cdaa7(_0x12f92b,_0x4c26a3,_0x51e978,_0x5714b8);}else _0x12f92b[_0x5ad4be(0x273)](_0x5ad4be(0x2d7),_0x574d7f,_0x2e4e3e)||_0x41ffc4(_0x12f92b,_0x574d7f,_0x5ad4be(0x27b)+_0x2e4e3e[_0x5ad4be(0x169)]);}),_0x574d7f['on']('upgrade',(_0x3c8a67,_0x504c6c,_0x56b615)=>{const _0x417428=_0x2b4014;if(_0x12f92b['emit'](_0x417428(0x1de),_0x3c8a67),_0x12f92b[_0x417428(0x280)]!==_0x5f4353[_0x417428(0x202)])return;_0x574d7f=_0x12f92b['_req']=null;const _0x8b498b=_0x3c8a67['headers']['upgrade'];if(_0x8b498b===void 0x0||_0x8b498b[_0x417428(0x2e1)]()!=='websocket'){_0x41ffc4(_0x12f92b,_0x504c6c,'Invalid\x20Upgrade\x20header');return;}const _0x386700=_0x368772(_0x417428(0x204))[_0x417428(0x1ed)](_0x4d5043+_0x51802a)[_0x417428(0x1d7)]('base64');if(_0x3c8a67[_0x417428(0x2ba)][_0x417428(0x2c3)]!==_0x386700){_0x41ffc4(_0x12f92b,_0x504c6c,_0x417428(0x15f));return;}const _0x1d6dea=_0x3c8a67[_0x417428(0x2ba)][_0x417428(0x227)];let _0x45ff26;if(_0x1d6dea!==void 0x0?_0x4feacc['size']?_0x4feacc['has'](_0x1d6dea)||(_0x45ff26=_0x417428(0x1ad)):_0x45ff26=_0x417428(0x156):_0x4feacc[_0x417428(0x219)]&&(_0x45ff26=_0x417428(0x1e1)),_0x45ff26){_0x41ffc4(_0x12f92b,_0x504c6c,_0x45ff26);return;}_0x1d6dea&&(_0x12f92b['_protocol']=_0x1d6dea);const _0x25f299=_0x3c8a67[_0x417428(0x2ba)][_0x417428(0x2eb)];if(_0x25f299!==void 0x0){if(!_0xc894d2){_0x41ffc4(_0x12f92b,_0x504c6c,_0x417428(0x1a9));return;}let _0x35f935;try{_0x35f935=_0x40ce19(_0x25f299);}catch{_0x41ffc4(_0x12f92b,_0x504c6c,_0x417428(0x18f));return;}const _0x5721a2=Object[_0x417428(0x268)](_0x35f935);if(_0x5721a2[_0x417428(0x21e)]!==0x1||_0x5721a2[0x0]!==_0x166efe['extensionName']){_0x41ffc4(_0x12f92b,_0x504c6c,_0x417428(0x23f));return;}try{_0xc894d2[_0x417428(0x171)](_0x35f935[_0x166efe[_0x417428(0x1d5)]]);}catch{_0x41ffc4(_0x12f92b,_0x504c6c,_0x417428(0x18f));return;}_0x12f92b[_0x417428(0x293)][_0x166efe['extensionName']]=_0xc894d2;}_0x12f92b[_0x417428(0x159)](_0x504c6c,_0x56b615,{'allowSynchronousEvents':_0x4b22f0[_0x417428(0x228)],'generateMask':_0x4b22f0['generateMask'],'maxPayload':_0x4b22f0[_0x417428(0x2b3)],'skipUTF8Validation':_0x4b22f0[_0x417428(0x234)]});}),_0x4b22f0['finishRequest']?_0x4b22f0['finishRequest'](_0x574d7f,_0x12f92b):_0x574d7f[_0x2b4014(0x143)]();}function _0x4dfe80(_0x22648d,_0x1bf68f){const _0x320a89=_0x4baa9b;_0x22648d[_0x320a89(0x283)]=_0x5f4353[_0x320a89(0x2df)],_0x22648d['_errorEmitted']=!0x0,_0x22648d['emit'](_0x320a89(0x182),_0x1bf68f),_0x22648d[_0x320a89(0x2b7)]();}function _0x30112e(_0x3cd6de){const _0x2294bd=_0x4baa9b;return _0x3cd6de[_0x2294bd(0x231)]=_0x3cd6de['socketPath'],_0x5df1d9['connect'](_0x3cd6de);}function _0x181d6d(_0x49b528){const _0x25f160=_0x4baa9b;return _0x49b528[_0x25f160(0x231)]=void 0x0,!_0x49b528['servername']&&_0x49b528[_0x25f160(0x27c)]!==''&&(_0x49b528[_0x25f160(0x27c)]=_0x5df1d9['isIP'](_0x49b528[_0x25f160(0x2ca)])?'':_0x49b528[_0x25f160(0x2ca)]),_0xf6b5ea[_0x25f160(0x2ae)](_0x49b528);}function _0x41ffc4(_0x5a9cf7,_0x49a0ac,_0x462b02){const _0x4485e4=_0x4baa9b;_0x5a9cf7[_0x4485e4(0x283)]=_0x5f4353[_0x4485e4(0x2df)];const _0x1d7161=new Error(_0x462b02);Error[_0x4485e4(0x1fd)](_0x1d7161,_0x41ffc4),_0x49a0ac[_0x4485e4(0x20d)]?(_0x49a0ac[_0x15e9c8]=!0x0,_0x49a0ac[_0x4485e4(0x158)](),_0x49a0ac[_0x4485e4(0x2ee)]&&!_0x49a0ac[_0x4485e4(0x2ee)]['destroyed']&&_0x49a0ac[_0x4485e4(0x2ee)][_0x4485e4(0x21f)](),process[_0x4485e4(0x1a4)](_0x4dfe80,_0x5a9cf7,_0x1d7161)):(_0x49a0ac[_0x4485e4(0x21f)](_0x1d7161),_0x49a0ac[_0x4485e4(0x22d)](_0x4485e4(0x182),_0x5a9cf7[_0x4485e4(0x273)][_0x4485e4(0x173)](_0x5a9cf7,_0x4485e4(0x182))),_0x49a0ac[_0x4485e4(0x22d)]('close',_0x5a9cf7[_0x4485e4(0x2b7)][_0x4485e4(0x173)](_0x5a9cf7)));}function _0x2ea3c3(_0x47815e,_0xcad019,_0x30c2b9){const _0xaa6b7b=_0x4baa9b;if(_0xcad019){const _0x11ab3c=_0x4efec7(_0xcad019)?_0xcad019[_0xaa6b7b(0x219)]:_0x21a040(_0xcad019)[_0xaa6b7b(0x21e)];_0x47815e[_0xaa6b7b(0x198)]?_0x47815e[_0xaa6b7b(0x2c7)][_0xaa6b7b(0x291)]+=_0x11ab3c:_0x47815e[_0xaa6b7b(0x177)]+=_0x11ab3c;}if(_0x30c2b9){const _0x3798b5=new Error(_0xaa6b7b(0x1ab)+_0x47815e[_0xaa6b7b(0x280)]+'\x20('+_0x1ac9da[_0x47815e[_0xaa6b7b(0x280)]]+')');process[_0xaa6b7b(0x1a4)](_0x30c2b9,_0x3798b5);}}function _0x51686f(_0x4e9fca,_0x5f18ce){const _0x5e0cfb=_0x4baa9b,_0x3269b1=this[_0x13d4a7];_0x3269b1[_0x5e0cfb(0x2f3)]=!0x0,_0x3269b1[_0x5e0cfb(0x2b4)]=_0x5f18ce,_0x3269b1[_0x5e0cfb(0x2b1)]=_0x4e9fca,_0x3269b1[_0x5e0cfb(0x198)][_0x13d4a7]!==void 0x0&&(_0x3269b1[_0x5e0cfb(0x198)][_0x5e0cfb(0x133)](_0x5e0cfb(0x1a6),_0x4f1bcb),process[_0x5e0cfb(0x1a4)](_0x1c2675,_0x3269b1[_0x5e0cfb(0x198)]),_0x4e9fca===0x3ed?_0x3269b1[_0x5e0cfb(0x15c)]():_0x3269b1[_0x5e0cfb(0x15c)](_0x4e9fca,_0x5f18ce));}function _0x5c3ae7(){const _0x634f75=_0x4baa9b,_0x4de58b=this[_0x13d4a7];_0x4de58b[_0x634f75(0x1ff)]||_0x4de58b[_0x634f75(0x198)][_0x634f75(0x12b)]();}function _0x52f6ce(_0x360ace){const _0x1cad16=_0x4baa9b,_0x276699=this[_0x13d4a7];_0x276699[_0x1cad16(0x198)][_0x13d4a7]!==void 0x0&&(_0x276699[_0x1cad16(0x198)][_0x1cad16(0x133)](_0x1cad16(0x1a6),_0x4f1bcb),process['nextTick'](_0x1c2675,_0x276699['_socket']),_0x276699[_0x1cad16(0x15c)](_0x360ace[_0x122acc])),_0x276699[_0x1cad16(0x170)]||(_0x276699[_0x1cad16(0x170)]=!0x0,_0x276699[_0x1cad16(0x273)]('error',_0x360ace));}function _0x1fe7eb(){const _0x43a7da=_0x4baa9b;this[_0x13d4a7][_0x43a7da(0x2b7)]();}function _0x518c8a(_0x4a73ce,_0x3318fc){const _0x132f1f=_0x4baa9b;this[_0x13d4a7][_0x132f1f(0x273)](_0x132f1f(0x138),_0x4a73ce,_0x3318fc);}function _0x4cd146(_0x4ca0d4){const _0x1a089d=_0x4baa9b,_0x15ed80=this[_0x13d4a7];_0x15ed80['_autoPong']&&_0x15ed80['pong'](_0x4ca0d4,!this[_0x1a089d(0x14c)],_0x6b8db0),_0x15ed80[_0x1a089d(0x273)](_0x1a089d(0x2cc),_0x4ca0d4);}function _0x209a44(_0xbef25){const _0x33b414=_0x4baa9b;this[_0x13d4a7][_0x33b414(0x273)](_0x33b414(0x223),_0xbef25);}function _0x1c2675(_0x5471f6){const _0x3911ac=_0x4baa9b;_0x5471f6[_0x3911ac(0x12b)]();}function _0x248dbe(_0x86c4da){const _0xf29973=_0x4baa9b,_0x1d03b9=this[_0x13d4a7];_0x1d03b9[_0xf29973(0x280)]!==_0x5f4353[_0xf29973(0x2b0)]&&(_0x1d03b9[_0xf29973(0x280)]===_0x5f4353[_0xf29973(0x20a)]&&(_0x1d03b9[_0xf29973(0x283)]=_0x5f4353[_0xf29973(0x2df)],_0x252060(_0x1d03b9)),this['_socket'][_0xf29973(0x143)](),_0x1d03b9[_0xf29973(0x170)]||(_0x1d03b9['_errorEmitted']=!0x0,_0x1d03b9['emit'](_0xf29973(0x182),_0x86c4da)));}function _0x252060(_0x58f903){const _0x484d93=_0x4baa9b;_0x58f903[_0x484d93(0x286)]=setTimeout(_0x58f903['_socket'][_0x484d93(0x21f)]['bind'](_0x58f903[_0x484d93(0x198)]),_0x265d82);}function _0x580c45(){const _0x5c7192=_0x4baa9b,_0x2297d4=this[_0x13d4a7];this[_0x5c7192(0x133)](_0x5c7192(0x15c),_0x580c45),this['removeListener']('data',_0x4f1bcb),this[_0x5c7192(0x133)](_0x5c7192(0x143),_0x8f84fa),_0x2297d4['_readyState']=_0x5f4353['CLOSING'];let _0x2eb3b8;!this[_0x5c7192(0x181)][_0x5c7192(0x130)]&&!_0x2297d4[_0x5c7192(0x2f3)]&&!_0x2297d4[_0x5c7192(0x1d2)][_0x5c7192(0x175)][_0x5c7192(0x19e)]&&(_0x2eb3b8=_0x2297d4[_0x5c7192(0x198)][_0x5c7192(0x288)]())!==null&&_0x2297d4[_0x5c7192(0x1d2)][_0x5c7192(0x160)](_0x2eb3b8),_0x2297d4[_0x5c7192(0x1d2)][_0x5c7192(0x143)](),this[_0x13d4a7]=void 0x0,clearTimeout(_0x2297d4[_0x5c7192(0x286)]),_0x2297d4['_receiver'][_0x5c7192(0x175)][_0x5c7192(0x2a9)]||_0x2297d4['_receiver'][_0x5c7192(0x175)][_0x5c7192(0x19e)]?_0x2297d4['emitClose']():(_0x2297d4[_0x5c7192(0x1d2)]['on'](_0x5c7192(0x182),_0x1fe7eb),_0x2297d4[_0x5c7192(0x1d2)]['on'](_0x5c7192(0x253),_0x1fe7eb));}function _0x4f1bcb(_0x47bebd){const _0x34dc4b=_0x4baa9b;this[_0x13d4a7][_0x34dc4b(0x1d2)][_0x34dc4b(0x160)](_0x47bebd)||this['pause']();}function _0x8f84fa(){const _0x2191b1=_0x4baa9b,_0x507850=this[_0x13d4a7];_0x507850[_0x2191b1(0x283)]=_0x5f4353[_0x2191b1(0x2df)],_0x507850['_receiver'][_0x2191b1(0x143)](),this[_0x2191b1(0x143)]();}function _0x7be166(){const _0x332014=_0x4baa9b,_0x4915bd=this[_0x13d4a7];this[_0x332014(0x133)](_0x332014(0x182),_0x7be166),this['on'](_0x332014(0x182),_0x6b8db0),_0x4915bd&&(_0x4915bd[_0x332014(0x283)]=_0x5f4353[_0x332014(0x2df)],this[_0x332014(0x21f)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x1d72f6}=oe;function _0x9f50c9(_0x11df23){const _0x2c1406=_0x2b82;_0x11df23[_0x2c1406(0x273)]('close');}function _0x229c98(){const _0x36f483=_0x2b82;!this[_0x36f483(0x212)]&&this[_0x36f483(0x175)]['finished']&&this[_0x36f483(0x21f)]();}function _0x2fa937(_0x1ba810){const _0x35a775=_0x2b82;this[_0x35a775(0x133)](_0x35a775(0x182),_0x2fa937),this[_0x35a775(0x21f)](),this[_0x35a775(0x265)](_0x35a775(0x182))===0x0&&this['emit']('error',_0x1ba810);}function _0x4ef043(_0x3f7ebc,_0x486180){const _0x48a5ca=_0x2b82;let _0x2b553e=!0x0;const _0x2cdd36=new _0x1d72f6({..._0x486180,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x3f7ebc['on']('message',function(_0x3b4cbf,_0x10d00b){const _0x1bfc51=_0x2b82,_0x41f727=!_0x10d00b&&_0x2cdd36[_0x1bfc51(0x181)][_0x1bfc51(0x1a8)]?_0x3b4cbf[_0x1bfc51(0x1cc)]():_0x3b4cbf;_0x2cdd36[_0x1bfc51(0x23b)](_0x41f727)||_0x3f7ebc['pause']();}),_0x3f7ebc['once'](_0x48a5ca(0x182),function(_0x409272){_0x2cdd36['destroyed']||(_0x2b553e=!0x1,_0x2cdd36['destroy'](_0x409272));}),_0x3f7ebc[_0x48a5ca(0x22d)](_0x48a5ca(0x15c),function(){const _0x2a4f8e=_0x48a5ca;_0x2cdd36['destroyed']||_0x2cdd36[_0x2a4f8e(0x23b)](null);}),_0x2cdd36[_0x48a5ca(0x150)]=function(_0x4479e9,_0x536703){const _0x5e74f0=_0x48a5ca;if(_0x3f7ebc['readyState']===_0x3f7ebc['CLOSED']){_0x536703(_0x4479e9),process['nextTick'](_0x9f50c9,_0x2cdd36);return;}let _0x3ad42c=!0x1;_0x3f7ebc[_0x5e74f0(0x22d)](_0x5e74f0(0x182),function(_0x165cd5){_0x3ad42c=!0x0,_0x536703(_0x165cd5);}),_0x3f7ebc[_0x5e74f0(0x22d)](_0x5e74f0(0x15c),function(){const _0xb3dada=_0x5e74f0;_0x3ad42c||_0x536703(_0x4479e9),process[_0xb3dada(0x1a4)](_0x9f50c9,_0x2cdd36);}),_0x2b553e&&_0x3f7ebc['terminate']();},_0x2cdd36[_0x48a5ca(0x18a)]=function(_0x3ac609){const _0x7df0ee=_0x48a5ca;if(_0x3f7ebc[_0x7df0ee(0x280)]===_0x3f7ebc[_0x7df0ee(0x202)]){_0x3f7ebc['once']('open',function(){const _0x5ca558=_0x7df0ee;_0x2cdd36[_0x5ca558(0x18a)](_0x3ac609);});return;}_0x3f7ebc[_0x7df0ee(0x198)]!==null&&(_0x3f7ebc[_0x7df0ee(0x198)]['_writableState'][_0x7df0ee(0x2a9)]?(_0x3ac609(),_0x2cdd36[_0x7df0ee(0x181)]['endEmitted']&&_0x2cdd36[_0x7df0ee(0x21f)]()):(_0x3f7ebc['_socket']['once'](_0x7df0ee(0x253),function(){_0x3ac609();}),_0x3f7ebc[_0x7df0ee(0x15c)]()));},_0x2cdd36[_0x48a5ca(0x22e)]=function(){const _0x167ddb=_0x48a5ca;_0x3f7ebc[_0x167ddb(0x1ff)]&&_0x3f7ebc['resume']();},_0x2cdd36[_0x48a5ca(0x1b8)]=function(_0x566036,_0xea9ba4,_0x38f398){const _0x3041d7=_0x48a5ca;if(_0x3f7ebc[_0x3041d7(0x280)]===_0x3f7ebc['CONNECTING']){_0x3f7ebc[_0x3041d7(0x22d)](_0x3041d7(0x187),function(){const _0x11f9bc=_0x3041d7;_0x2cdd36[_0x11f9bc(0x1b8)](_0x566036,_0xea9ba4,_0x38f398);});return;}_0x3f7ebc['send'](_0x566036,_0x38f398);},_0x2cdd36['on'](_0x48a5ca(0x143),_0x229c98),_0x2cdd36['on'](_0x48a5ca(0x182),_0x2fa937),_0x2cdd36;}return Oe=_0x4ef043,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0xaf82fc}=ae();function _0x3c8993(_0x69eb0f){const _0x36f521=_0x2b82,_0x4e3084=new Set();let _0x394778=-0x1,_0x1962fd=-0x1,_0x44ce7a=0x0;for(_0x44ce7a;_0x44ce7a<_0x69eb0f[_0x36f521(0x21e)];_0x44ce7a++){const _0x18df72=_0x69eb0f[_0x36f521(0x236)](_0x44ce7a);if(_0x1962fd===-0x1&&_0xaf82fc[_0x18df72]===0x1)_0x394778===-0x1&&(_0x394778=_0x44ce7a);else{if(_0x44ce7a!==0x0&&(_0x18df72===0x20||_0x18df72===0x9))_0x1962fd===-0x1&&_0x394778!==-0x1&&(_0x1962fd=_0x44ce7a);else{if(_0x18df72===0x2c){if(_0x394778===-0x1)throw new SyntaxError(_0x36f521(0x2f5)+_0x44ce7a);_0x1962fd===-0x1&&(_0x1962fd=_0x44ce7a);const _0x15c967=_0x69eb0f['slice'](_0x394778,_0x1962fd);if(_0x4e3084[_0x36f521(0x2aa)](_0x15c967))throw new SyntaxError(_0x36f521(0x139)+_0x15c967+_0x36f521(0x302));_0x4e3084[_0x36f521(0x266)](_0x15c967),_0x394778=_0x1962fd=-0x1;}else throw new SyntaxError(_0x36f521(0x2f5)+_0x44ce7a);}}}if(_0x394778===-0x1||_0x1962fd!==-0x1)throw new SyntaxError(_0x36f521(0x220));const _0x2cf28b=_0x69eb0f[_0x36f521(0x2bc)](_0x394778,_0x44ce7a);if(_0x4e3084[_0x36f521(0x2aa)](_0x2cf28b))throw new SyntaxError(_0x36f521(0x139)+_0x2cf28b+_0x36f521(0x302));return _0x4e3084[_0x36f521(0x266)](_0x2cf28b),_0x4e3084;}return Ce={'parse':_0x3c8993},Ce;}var Te,rt;function Ft(){const _0x522ae0=_0x256248;if(rt)return Te;rt=0x1;const _0x29d232=nt,_0x2c3414=ot,{Duplex:_0x383786}=oe,{createHash:_0x7cb61}=Le,_0x4cc0a4=ct(),_0xb0a92f=he(),_0x303cea=At(),_0x2b0094=Pe(),{GUID:_0x3dd828,kWebSocket:_0x4dc47f}=H(),_0x4df7ce=/^[+/0-9A-Za-z]{22}==$/,_0x48f53c=0x0,_0x332242=0x1,_0x2f5848=0x2;class _0x1c6cd1 extends _0x29d232{constructor(_0x3903d3,_0x3f9c68){const _0x164350=_0x2b82;if(super(),_0x3903d3={'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':_0x2b0094,..._0x3903d3},_0x3903d3[_0x164350(0x172)]==null&&!_0x3903d3['server']&&!_0x3903d3[_0x164350(0x2a0)]||_0x3903d3[_0x164350(0x172)]!=null&&(_0x3903d3['server']||_0x3903d3[_0x164350(0x2a0)])||_0x3903d3['server']&&_0x3903d3[_0x164350(0x2a0)])throw new TypeError(_0x164350(0x28f));if(_0x3903d3[_0x164350(0x172)]!=null?(this[_0x164350(0x1b4)]=_0x2c3414[_0x164350(0x209)]((_0x5a6043,_0x297b07)=>{const _0x2510ed=_0x164350,_0x5a0a70=_0x2c3414['STATUS_CODES'][0x1aa];_0x297b07[_0x2510ed(0x2d4)](0x1aa,{'Content-Length':_0x5a0a70[_0x2510ed(0x21e)],'Content-Type':_0x2510ed(0x267)}),_0x297b07[_0x2510ed(0x143)](_0x5a0a70);}),this[_0x164350(0x1b4)]['listen'](_0x3903d3[_0x164350(0x172)],_0x3903d3[_0x164350(0x2ca)],_0x3903d3['backlog'],_0x3f9c68)):_0x3903d3[_0x164350(0x19a)]&&(this['_server']=_0x3903d3[_0x164350(0x19a)]),this[_0x164350(0x1b4)]){const _0x436711=this[_0x164350(0x273)][_0x164350(0x173)](this,_0x164350(0x196));this['_removeListeners']=_0x11f245(this[_0x164350(0x1b4)],{'listening':this[_0x164350(0x273)][_0x164350(0x173)](this,_0x164350(0x250)),'error':this['emit'][_0x164350(0x173)](this,_0x164350(0x182)),'upgrade':(_0x51f2c5,_0xfc5d08,_0x421ce4)=>{const _0x5ce96f=_0x164350;this[_0x5ce96f(0x1ae)](_0x51f2c5,_0xfc5d08,_0x421ce4,_0x436711);}});}_0x3903d3[_0x164350(0x2ef)]===!0x0&&(_0x3903d3['perMessageDeflate']={}),_0x3903d3['clientTracking']&&(this[_0x164350(0x1f7)]=new Set(),this[_0x164350(0x2bb)]=!0x1),this[_0x164350(0x208)]=_0x3903d3,this[_0x164350(0x17a)]=_0x48f53c;}['address'](){const _0x1f99f9=_0x2b82;if(this[_0x1f99f9(0x208)][_0x1f99f9(0x2a0)])throw new Error(_0x1f99f9(0x1e8));return this[_0x1f99f9(0x1b4)]?this['_server'][_0x1f99f9(0x2d9)]():null;}[_0x522ae0(0x15c)](_0x2d10c0){const _0x3c117d=_0x522ae0;if(this[_0x3c117d(0x17a)]===_0x2f5848){_0x2d10c0&&this[_0x3c117d(0x22d)](_0x3c117d(0x15c),()=>{_0x2d10c0(new Error('The\x20server\x20is\x20not\x20running'));}),process[_0x3c117d(0x1a4)](_0x33a3e0,this);return;}if(_0x2d10c0&&this[_0x3c117d(0x22d)]('close',_0x2d10c0),this['_state']!==_0x332242){if(this['_state']=_0x332242,this[_0x3c117d(0x208)][_0x3c117d(0x2a0)]||this[_0x3c117d(0x208)]['server'])this[_0x3c117d(0x1b4)]&&(this[_0x3c117d(0x1f6)](),this[_0x3c117d(0x1f6)]=this[_0x3c117d(0x1b4)]=null),this[_0x3c117d(0x1f7)]?this[_0x3c117d(0x1f7)][_0x3c117d(0x219)]?this[_0x3c117d(0x2bb)]=!0x0:process[_0x3c117d(0x1a4)](_0x33a3e0,this):process[_0x3c117d(0x1a4)](_0x33a3e0,this);else{const _0x525cd5=this[_0x3c117d(0x1b4)];this[_0x3c117d(0x1f6)](),this[_0x3c117d(0x1f6)]=this[_0x3c117d(0x1b4)]=null,_0x525cd5[_0x3c117d(0x15c)](()=>{_0x33a3e0(this);});}}}[_0x522ae0(0x29b)](_0x2f10a0){const _0x503f99=_0x522ae0;if(this['options'][_0x503f99(0x231)]){const _0x103810=_0x2f10a0[_0x503f99(0x264)][_0x503f99(0x249)]('?');if((_0x103810!==-0x1?_0x2f10a0[_0x503f99(0x264)][_0x503f99(0x2bc)](0x0,_0x103810):_0x2f10a0[_0x503f99(0x264)])!==this[_0x503f99(0x208)][_0x503f99(0x231)])return!0x1;}return!0x0;}[_0x522ae0(0x1ae)](_0x2dffec,_0x1c0c0a,_0x4eabe5,_0x40b5b8){const _0x77caa5=_0x522ae0;_0x1c0c0a['on']('error',_0x1674cd);const _0x3f1b1a=_0x2dffec['headers'][_0x77caa5(0x2e0)],_0xe1c868=_0x2dffec[_0x77caa5(0x2ba)][_0x77caa5(0x1de)],_0x505533=+_0x2dffec[_0x77caa5(0x2ba)][_0x77caa5(0x27e)];if(_0x2dffec[_0x77caa5(0x20f)]!==_0x77caa5(0x21b)){_0x3d9675(this,_0x2dffec,_0x1c0c0a,0x195,_0x77caa5(0x18e));return;}if(_0xe1c868===void 0x0||_0xe1c868[_0x77caa5(0x2e1)]()!==_0x77caa5(0x235)){_0x3d9675(this,_0x2dffec,_0x1c0c0a,0x190,_0x77caa5(0x289));return;}if(_0x3f1b1a===void 0x0||!_0x4df7ce[_0x77caa5(0x2b8)](_0x3f1b1a)){_0x3d9675(this,_0x2dffec,_0x1c0c0a,0x190,_0x77caa5(0x16d));return;}if(_0x505533!==0x8&&_0x505533!==0xd){_0x3d9675(this,_0x2dffec,_0x1c0c0a,0x190,_0x77caa5(0x1b2));return;}if(!this[_0x77caa5(0x29b)](_0x2dffec)){_0x56c61e(_0x1c0c0a,0x190);return;}const _0x4e29e8=_0x2dffec[_0x77caa5(0x2ba)][_0x77caa5(0x227)];let _0x5aa698=new Set();if(_0x4e29e8!==void 0x0)try{_0x5aa698=_0x303cea[_0x77caa5(0x188)](_0x4e29e8);}catch{_0x3d9675(this,_0x2dffec,_0x1c0c0a,0x190,_0x77caa5(0x2ce));return;}const _0x1de6f5=_0x2dffec[_0x77caa5(0x2ba)][_0x77caa5(0x2eb)],_0x4567cf={};if(this['options'][_0x77caa5(0x2ef)]&&_0x1de6f5!==void 0x0){const _0x4f9a42=new _0xb0a92f(this[_0x77caa5(0x208)][_0x77caa5(0x2ef)],!0x0,this[_0x77caa5(0x208)]['maxPayload']);try{const _0x2f92fe=_0x4cc0a4['parse'](_0x1de6f5);_0x2f92fe[_0xb0a92f[_0x77caa5(0x1d5)]]&&(_0x4f9a42[_0x77caa5(0x171)](_0x2f92fe[_0xb0a92f[_0x77caa5(0x1d5)]]),_0x4567cf[_0xb0a92f[_0x77caa5(0x1d5)]]=_0x4f9a42);}catch{_0x3d9675(this,_0x2dffec,_0x1c0c0a,0x190,'Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header');return;}}if(this[_0x77caa5(0x208)][_0x77caa5(0x17e)]){const _0x38bb5b={'origin':_0x2dffec[_0x77caa5(0x2ba)][''+(_0x505533===0x8?_0x77caa5(0x153):_0x77caa5(0x2fe))],'secure':!!(_0x2dffec[_0x77caa5(0x2ee)]['authorized']||_0x2dffec[_0x77caa5(0x2ee)]['encrypted']),'req':_0x2dffec};if(this[_0x77caa5(0x208)][_0x77caa5(0x17e)][_0x77caa5(0x21e)]===0x2){this[_0x77caa5(0x208)][_0x77caa5(0x17e)](_0x38bb5b,(_0x1b8b3e,_0x225848,_0x3472b0,_0x512710)=>{const _0x34d238=_0x77caa5;if(!_0x1b8b3e)return _0x56c61e(_0x1c0c0a,_0x225848||0x191,_0x3472b0,_0x512710);this[_0x34d238(0x1c4)](_0x4567cf,_0x3f1b1a,_0x5aa698,_0x2dffec,_0x1c0c0a,_0x4eabe5,_0x40b5b8);});return;}if(!this[_0x77caa5(0x208)]['verifyClient'](_0x38bb5b))return _0x56c61e(_0x1c0c0a,0x191);}this[_0x77caa5(0x1c4)](_0x4567cf,_0x3f1b1a,_0x5aa698,_0x2dffec,_0x1c0c0a,_0x4eabe5,_0x40b5b8);}[_0x522ae0(0x1c4)](_0x12d152,_0x33b322,_0x24c9b4,_0x2d972f,_0x20e8fc,_0x5d00cd,_0x5f015d){const _0x194ef9=_0x522ae0;if(!_0x20e8fc['readable']||!_0x20e8fc[_0x194ef9(0x282)])return _0x20e8fc[_0x194ef9(0x21f)]();if(_0x20e8fc[_0x4dc47f])throw new Error(_0x194ef9(0x2dc));if(this['_state']>_0x48f53c)return _0x56c61e(_0x20e8fc,0x1f7);const _0xf91313=[_0x194ef9(0x29e),_0x194ef9(0x1b7),'Connection:\x20Upgrade',_0x194ef9(0x2cf)+_0x7cb61(_0x194ef9(0x204))[_0x194ef9(0x1ed)](_0x33b322+_0x3dd828)[_0x194ef9(0x1d7)](_0x194ef9(0x163))],_0x2e4c82=new this['options'][(_0x194ef9(0x21a))](null,void 0x0,this[_0x194ef9(0x208)]);if(_0x24c9b4[_0x194ef9(0x219)]){const _0x2278fb=this[_0x194ef9(0x208)][_0x194ef9(0x201)]?this['options'][_0x194ef9(0x201)](_0x24c9b4,_0x2d972f):_0x24c9b4[_0x194ef9(0x25e)]()[_0x194ef9(0x217)]()[_0x194ef9(0x176)];_0x2278fb&&(_0xf91313['push'](_0x194ef9(0x1b9)+_0x2278fb),_0x2e4c82[_0x194ef9(0x2d1)]=_0x2278fb);}if(_0x12d152[_0xb0a92f[_0x194ef9(0x1d5)]]){const _0x4d6a07=_0x12d152[_0xb0a92f[_0x194ef9(0x1d5)]][_0x194ef9(0x287)],_0x10bf0d=_0x4cc0a4[_0x194ef9(0x1da)]({[_0xb0a92f[_0x194ef9(0x1d5)]]:[_0x4d6a07]});_0xf91313['push'](_0x194ef9(0x1aa)+_0x10bf0d),_0x2e4c82['_extensions']=_0x12d152;}this[_0x194ef9(0x273)](_0x194ef9(0x2ba),_0xf91313,_0x2d972f),_0x20e8fc[_0x194ef9(0x160)](_0xf91313[_0x194ef9(0x1db)]('\x0d\x0a')['join']('\x0d\x0a')),_0x20e8fc[_0x194ef9(0x133)](_0x194ef9(0x182),_0x1674cd),_0x2e4c82['setSocket'](_0x20e8fc,_0x5d00cd,{'allowSynchronousEvents':this[_0x194ef9(0x208)][_0x194ef9(0x228)],'maxPayload':this[_0x194ef9(0x208)]['maxPayload'],'skipUTF8Validation':this['options']['skipUTF8Validation']}),this[_0x194ef9(0x1f7)]&&(this[_0x194ef9(0x1f7)][_0x194ef9(0x266)](_0x2e4c82),_0x2e4c82['on'](_0x194ef9(0x15c),()=>{const _0x4a086a=_0x194ef9;this[_0x4a086a(0x1f7)][_0x4a086a(0x1e6)](_0x2e4c82),this['_shouldEmitClose']&&!this[_0x4a086a(0x1f7)][_0x4a086a(0x219)]&&process[_0x4a086a(0x1a4)](_0x33a3e0,this);})),_0x5f015d(_0x2e4c82,_0x2d972f);}}Te=_0x1c6cd1;function _0x11f245(_0x380917,_0xf6758){const _0x17d4d6=_0x522ae0;for(const _0x5f07f9 of Object[_0x17d4d6(0x268)](_0xf6758))_0x380917['on'](_0x5f07f9,_0xf6758[_0x5f07f9]);return function(){const _0x304459=_0x17d4d6;for(const _0x4c7855 of Object[_0x304459(0x268)](_0xf6758))_0x380917[_0x304459(0x133)](_0x4c7855,_0xf6758[_0x4c7855]);};}function _0x33a3e0(_0x155c9c){const _0x543468=_0x522ae0;_0x155c9c['_state']=_0x2f5848,_0x155c9c[_0x543468(0x273)]('close');}function _0x1674cd(){this['destroy']();}function _0x56c61e(_0x43b8ee,_0x2d33cb,_0x2ac8f6,_0x27a1ad){const _0x36f26c=_0x522ae0;_0x2ac8f6=_0x2ac8f6||_0x2c3414['STATUS_CODES'][_0x2d33cb],_0x27a1ad={'Connection':'close','Content-Type':_0x36f26c(0x272),'Content-Length':Buffer['byteLength'](_0x2ac8f6),..._0x27a1ad},_0x43b8ee[_0x36f26c(0x22d)](_0x36f26c(0x253),_0x43b8ee['destroy']),_0x43b8ee[_0x36f26c(0x143)](_0x36f26c(0x232)+_0x2d33cb+'\x20'+_0x2c3414[_0x36f26c(0x279)][_0x2d33cb]+'\x0d\x0a'+Object['keys'](_0x27a1ad)[_0x36f26c(0x2de)](_0x418958=>_0x418958+':\x20'+_0x27a1ad[_0x418958])[_0x36f26c(0x296)]('\x0d\x0a')+_0x36f26c(0x2c8)+_0x2ac8f6);}function _0x3d9675(_0x50abe6,_0x20c7f5,_0x1e3f43,_0x1934e7,_0x19c756){const _0xb2954e=_0x522ae0;if(_0x50abe6[_0xb2954e(0x265)](_0xb2954e(0x1a2))){const _0x5c3ca8=new Error(_0x19c756);Error[_0xb2954e(0x1fd)](_0x5c3ca8,_0x3d9675),_0x50abe6[_0xb2954e(0x273)]('wsClientError',_0x5c3ca8,_0x1e3f43,_0x20c7f5);}else _0x56c61e(_0x1e3f43,_0x1934e7,_0x19c756);}return Te;}Ft();var jt=Object['getOwnPropertyDescriptor'],Wt=(_0xad6723,_0x22983a,_0x14043e,_0x3eca09)=>{for(var _0x49e258=_0x3eca09>0x1?void 0x0:_0x3eca09?jt(_0x22983a,_0x14043e):_0x22983a,_0xb9e377=_0xad6723['length']-0x1,_0xb56b72;_0xb9e377>=0x0;_0xb9e377--)(_0xb56b72=_0xad6723[_0xb9e377])&&(_0x49e258=_0xb56b72(_0x49e258)||_0x49e258);return _0x49e258;},qt=(_0x5eb392,_0x165505)=>(_0x2d6765,_0x2dd698)=>_0x165505(_0x2d6765,_0x2dd698,_0x5eb392);let ke=class extends A[_0x256248(0x18b)]{constructor(_0x440365){super(),this['_configService']=_0x440365;}['createSocket'](_0x466879){const _0x1521b5=_0x256248;var _0x614013;const _0x33f4c9=(_0x614013=this['_configService'][_0x1521b5(0x26b)](fe))==null?void 0x0:_0x614013['customHeaders'];try{const _0x1ab7a7=new $t(_0x466879,{'headers':{..._0x33f4c9}}),_0x223f4c=new A[(_0x1521b5(0x300))]();return{'URL':_0x466879,'close':(_0x2e5241,_0x3788a9)=>{const _0x43034c=_0x1521b5;_0x1ab7a7['close'](_0x2e5241,_0x3788a9),_0x223f4c[_0x43034c(0x1b0)]();},'send':_0x3c6443=>{const _0x2abc18=_0x1521b5;_0x1ab7a7[_0x2abc18(0x2a8)](_0x3c6443);},'open$':new V[(_0x1521b5(0x1d9))](_0x34ae85=>{const _0x373d20=_0x1521b5,_0x4f5626=_0x5636db=>_0x34ae85[_0x373d20(0x217)](_0x5636db);_0x1ab7a7[_0x373d20(0x142)](_0x373d20(0x187),_0x4f5626),_0x223f4c[_0x373d20(0x266)](A[_0x373d20(0x230)](()=>_0x1ab7a7[_0x373d20(0x155)]('open',_0x4f5626)));})[_0x1521b5(0x2d0)](V[_0x1521b5(0x1e0)]()),'close$':new V['Observable'](_0x3a0a1f=>{const _0x36cc96=_0x1521b5,_0x3ad672=_0x4fb20c=>_0x3a0a1f[_0x36cc96(0x217)](_0x4fb20c);_0x1ab7a7['addEventListener']('close',_0x3ad672),_0x223f4c[_0x36cc96(0x266)](A['toDisposable'](()=>_0x1ab7a7['removeEventListener'](_0x36cc96(0x15c),_0x3ad672)));})[_0x1521b5(0x2d0)](V['share']()),'error$':new V[(_0x1521b5(0x1d9))](_0x47932f=>{const _0x1c493f=_0x1521b5,_0x504369=_0x338c57=>_0x47932f[_0x1c493f(0x217)](_0x338c57);_0x1ab7a7[_0x1c493f(0x142)](_0x1c493f(0x182),_0x504369),_0x223f4c[_0x1c493f(0x266)](A[_0x1c493f(0x230)](()=>_0x1ab7a7[_0x1c493f(0x155)](_0x1c493f(0x182),_0x504369)));})[_0x1521b5(0x2d0)](V[_0x1521b5(0x1e0)]()),'message$':new V[(_0x1521b5(0x1d9))](_0x53e713=>{const _0xd700d8=_0x1521b5,_0x43ec93=_0x51140b=>_0x53e713['next'](_0x51140b);_0x1ab7a7[_0xd700d8(0x142)](_0xd700d8(0x138),_0x43ec93),_0x223f4c['add'](A[_0xd700d8(0x230)](()=>_0x1ab7a7['removeEventListener'](_0xd700d8(0x138),_0x43ec93)));})['pipe'](V[_0x1521b5(0x1e0)]())};}catch(_0x16901d){return console[_0x1521b5(0x182)](_0x16901d),null;}}};ke=Wt([qt(0x0,A['IConfigService'])],ke);var Gt=Object[_0x256248(0x269)],Vt=Object['getOwnPropertyDescriptor'],Ht=(_0x2e65c3,_0xf8e49f,_0xe14bf3)=>_0xf8e49f in _0x2e65c3?Gt(_0x2e65c3,_0xf8e49f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xe14bf3}):_0x2e65c3[_0xf8e49f]=_0xe14bf3,zt=(_0x1460c8,_0x1f2143,_0x3553b4,_0x5c3c21)=>{const _0x1b8707=_0x256248;for(var _0x2b0536=_0x5c3c21>0x1?void 0x0:_0x5c3c21?Vt(_0x1f2143,_0x3553b4):_0x1f2143,_0x166660=_0x1460c8[_0x1b8707(0x21e)]-0x1,_0x423ec5;_0x166660>=0x0;_0x166660--)(_0x423ec5=_0x1460c8[_0x166660])&&(_0x2b0536=_0x423ec5(_0x2b0536)||_0x2b0536);return _0x2b0536;},Ne=(_0x1d8df7,_0x1c0a86)=>(_0x7f3c9f,_0x320706)=>_0x1c0a86(_0x7f3c9f,_0x320706,_0x1d8df7),Yt=(_0x145937,_0x5df19f,_0x3adf84)=>Ht(_0x145937,_0x5df19f+'',_0x3adf84);exports[_0x256248(0x242)]=class extends A[_0x256248(0x252)]{constructor(_0x5c0052=Ct,_0x5c5525,_0x1fe5c9,_0x412aa4){const _0xade654=_0x256248;_0x5c0052[_0xade654(0x164)]||_0x5c5525[_0xade654(0x24d)](_0xade654(0x25c)),super(),this[_0xade654(0x18d)]=_0x1fe5c9,this[_0xade654(0x241)]=_0x412aa4,this[_0xade654(0x18d)]['setConfig'](fe,_0x5c0052);}[_0x256248(0x270)](){const _0x3384f6=_0x256248;this[_0x3384f6(0x1ce)]();}['_registerDependencies'](){const _0x239d85=_0x256248;A[_0x239d85(0x27d)](this[_0x239d85(0x241)],[[it[_0x239d85(0x2ea)],{'useClass':ke}]]);}},Yt(exports[_0x256248(0x242)],_0x256248(0x1fa),_0x256248(0x2ac)),exports['UniverCollaborationClientNodePlugin']=zt([A[_0x256248(0x25b)](st[_0x256248(0x1a1)]),Ne(0x1,A[_0x256248(0x29d)]),Ne(0x2,A[_0x256248(0x1e4)]),Ne(0x3,A['Inject'](A[_0x256248(0x275)]))],exports[_0x256248(0x242)]);var Kt=Object[_0x256248(0x2c0)],Xt=(_0x5d1b04,_0x5da140,_0x367636,_0x1cd59c)=>{for(var _0x5cad5=_0x1cd59c>0x1?void 0x0:_0x1cd59c?Kt(_0x5da140,_0x367636):_0x5da140,_0x19f280=_0x5d1b04['length']-0x1,_0x295075;_0x19f280>=0x0;_0x19f280--)(_0x295075=_0x5d1b04[_0x19f280])&&(_0x5cad5=_0x295075(_0x5cad5)||_0x5cad5);return _0x5cad5;},ne=(_0x3ed45a,_0x104412)=>(_0x3fc304,_0x5ade44)=>_0x104412(_0x3fc304,_0x5ade44,_0x3ed45a);exports['NodeCollaborationSocketService']=class extends st[_0x256248(0x207)]{constructor(_0x59e291,_0x14279a,_0xa4945,_0x25219c,_0x15669c){const _0x413d67=_0x256248;super(_0x59e291,_0x14279a,_0xa4945,_0x25219c,_0x15669c);const _0x18b703=this[_0x413d67(0x18d)]['getConfig'](fe);this[_0x413d67(0x2f4)][_0x413d67(0x2cb)]({'interceptor':(_0x4bdb54,_0x11b611)=>{const _0x271f5b=_0x413d67;var _0x2caf3a;const _0x44978f=_0x4bdb54[_0x271f5b(0x2ba)];return(_0x2caf3a=_0x18b703==null?void 0x0:_0x18b703[_0x271f5b(0x164)])!=null&&_0x2caf3a[_0x271f5b(0x1c1)]&&_0x44978f[_0x271f5b(0x1ea)](_0x271f5b(0x1f5),_0x18b703['customHeaders'][_0x271f5b(0x1c1)]),_0x11b611(_0x4bdb54);}});}async[_0x256248(0x2a2)](_0x240f0e){const _0x11d1c2=_0x256248;return this[_0x11d1c2(0x221)](_0x240f0e);}},exports[_0x256248(0x211)]=Xt([ne(0x0,A[_0x256248(0x1f2)](A['Injector'])),ne(0x1,A[_0x256248(0x1f2)](it[_0x256248(0x1bb)])),ne(0x2,A[_0x256248(0x1e4)]),ne(0x3,A[_0x256248(0x29d)]),ne(0x4,Ot[_0x256248(0x1d3)])],exports['NodeCollaborationSocketService']),exports[_0x256248(0x12e)]=fe;
|