@univerjs-pro/collaboration-client-node 0.10.10-nightly.202510180327 → 0.10.11-nightly.202510220308

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 CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x572ec8=_0x480a;(function(_0x831e8f,_0x1f9ab9){const _0x4f4b74=_0x480a,_0x2f6992=_0x831e8f();while(!![]){try{const _0x3ec209=-parseInt(_0x4f4b74(0x320))/0x1*(-parseInt(_0x4f4b74(0x217))/0x2)+-parseInt(_0x4f4b74(0x23c))/0x3*(-parseInt(_0x4f4b74(0x1fe))/0x4)+-parseInt(_0x4f4b74(0x2b0))/0x5*(-parseInt(_0x4f4b74(0x22a))/0x6)+-parseInt(_0x4f4b74(0x30d))/0x7+parseInt(_0x4f4b74(0x2a6))/0x8*(-parseInt(_0x4f4b74(0x2ed))/0x9)+-parseInt(_0x4f4b74(0x2bc))/0xa+parseInt(_0x4f4b74(0x1fb))/0xb;if(_0x3ec209===_0x1f9ab9)break;else _0x2f6992['push'](_0x2f6992['shift']());}catch(_0x24a9ae){_0x2f6992['push'](_0x2f6992['shift']());}}}(_0x4d13,0xed536));Object[_0x572ec8(0x2b8)](exports,Symbol['toStringTag'],{'value':'Module'});const st=require('@univerjs-pro/collaboration-client'),A=require('@univerjs/core'),it=require('@univerjs/network'),V=require('rxjs'),nt=require('events'),vt=require('https'),ot=require('http'),St=require('net'),Et=require('tls'),Le=require('crypto'),oe=require('stream'),xt=require('url'),bt=require('zlib'),wt=require('buffer'),Ot=require('@univerjs-pro/collaboration'),fe=_0x572ec8(0x356),Ct={'customHeaders':{}};function _0x480a(_0x5dbdad,_0x36b7e8){const _0x4d13b2=_0x4d13();return _0x480a=function(_0x480a5b,_0x52e94f){_0x480a5b=_0x480a5b-0x1bd;let _0x5af960=_0x4d13b2[_0x480a5b];return _0x5af960;},_0x480a(_0x5dbdad,_0x36b7e8);}function Tt(_0x360396){const _0x268932=_0x572ec8;return _0x360396&&_0x360396[_0x268932(0x250)]&&Object[_0x268932(0x364)][_0x268932(0x372)][_0x268932(0x37b)](_0x360396,'default')?_0x360396[_0x268932(0x2ac)]:_0x360396;}function at(_0x1ff59e){const _0x11970f=_0x572ec8;if(Object['prototype'][_0x11970f(0x372)][_0x11970f(0x37b)](_0x1ff59e,_0x11970f(0x250)))return _0x1ff59e;var _0x5939cd=_0x1ff59e[_0x11970f(0x2ac)];if(typeof _0x5939cd==_0x11970f(0x29b)){var _0x474493=function _0x2485db(){const _0x39fbb=_0x11970f;var _0x2013ae=!0x1;try{_0x2013ae=this instanceof _0x2485db;}catch{}return _0x2013ae?Reflect[_0x39fbb(0x27b)](_0x5939cd,arguments,this[_0x39fbb(0x20a)]):_0x5939cd['apply'](this,arguments);};_0x474493[_0x11970f(0x364)]=_0x5939cd[_0x11970f(0x364)];}else _0x474493={};return Object[_0x11970f(0x2b8)](_0x474493,'__esModule',{'value':!0x0}),Object[_0x11970f(0x37d)](_0x1ff59e)[_0x11970f(0x344)](function(_0x31cc11){const _0x441f86=_0x11970f;var _0x5949e1=Object['getOwnPropertyDescriptor'](_0x1ff59e,_0x31cc11);Object[_0x441f86(0x2b8)](_0x474493,_0x31cc11,_0x5949e1['get']?_0x5949e1:{'enumerable':!0x0,'get':function(){return _0x1ff59e[_0x31cc11];}});}),_0x474493;}function _0x4d13(){const _0x2ad4aa=['Sec-WebSocket-Accept:\x20','_compress','isIP','generateMask','kTarget','CLOSING','serverMaxWindowBits','resume','_final','send','connect','noServer','dataMessage','prototype','conclude','isPaused','RSV1\x20must\x20be\x20clear','listenerCount','_fin','setSocket','freeze','_payloadLength','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','_max_window_bits','from','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','catch','hasOwnProperty','statusCode','createError','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','hash','pluginName','protocol','Sec-WebSocket-Extensions:\x20','replace','call','endEmitted','keys','_writableState','zlibInflateOptions','charCodeAt','handshakeTimeout','bufferedAmount','kByteLength','skipUTF8Validation','_isServer','test','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','setHeader','alloc','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','rsv1','maskBuffer','sec-websocket-accept','invalid\x20payload\x20length\x20','byteLength','customHeaders','controlMessage','_socket','kMessage','_maxPayload','createConnection','shift','path','emit','sec-websocket-key','authorization','startLoop','onerror','Invalid\x20HTTP\x20method','wasClean','_closeMessage','kError','Plugin','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','_closeFrameSent','onmessage','reason','destroy','Cookie','zlibDeflateOptions','STATUS_CODES','acceptAsClient','MASK\x20must\x20be\x20set','code','pending','_bufferedBytes','Basic\x20','readable','slice','fin','The\x20server\x20is\x20not\x20running','once','next','isView','_closeFrameReceived','text/plain','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','nextTick','apply','Observable','perMessageDeflate','_removeListeners','_injector','timeout','Z_SYNC_FLUSH','7690166xPaqMa','enqueue','MASK\x20must\x20be\x20clear','158764zmdewm','response','Max\x20payload\x20size\x20exceeded','onopen','_mask','warn','dequeue','backlog','delete','concurrency','Invalid\x20value\x20for\x20parameter\x20\x22','haveLength','constructor','mask','options','share','exports','_masked','offer','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','wsClientError','DependentOn','number','errorEmitted','Opening\x20handshake\x20has\x20timed\x20out','1243262OJyids','_shouldEmitClose','objectMode','_fragmented','push','pathname','kAborted','isArray','pow','clientTracking','listen','clientMaxWindowBits','dispatch','url','_url','pause','length','unshift','writable','5129778QHFiFI','isInteger','WS_ERR_EXPECTED_FIN','_protocol','_skipUTF8Validation','_buffers','binary','_allowSynchronousEvents','join','terminate','CLOSED','Invalid\x20Sec-WebSocket-Extensions\x20header','toStringTag','ping','concurrencyLimit','split','_closeTimer','_req','123lAitAy','isBuffer','followRedirects','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','\x0d\x0a\x0d\x0a','headers','UniverCollaborationClientNodePlugin','data','arraybuffer','target','_configService','invalid\x20status\x20code\x20','13,\x208','_readyState','connection','allocUnsafe','open','concat','createSocket','_errored','__esModule','invalid\x20opcode\x200','_messageLength','_sender','text/html','_redirects','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','_readableState','_autoPong','readOnly','href','Unexpected\x20server\x20response:\x20','host','update','_paused','_errorEmitted','getMask','_extensions','uncork','writeHead','shouldHandle','add','reset','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','drain','pong','destroyed','error','OPEN','_binaryType','protocolVersion','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','setNoDelay','buffer','Invalid\x20Upgrade\x20header','password','getBlobData','_opcode','sha1','getConfig','http:','_state','ISocketService','construct','allowSynchronousEvents','accept','Sec-WebSocket-Protocol:\x20','socketPath','_maskBuffer','\x22:\x20','_registerDependencies','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','values','format','kListener','client_no_context_takeover','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','end','finished','toLowerCase','auth','create','server','socket','_doCreateSocket','params','sec-websocket-extensions','Unexpected\x20character\x20at\x20index\x20','Invalid\x20URL:\x20','_fragments','Origin','unmask','compress','server_max_window_bits','_options','function','unexpected-response','maxRedirects','Invalid\x20Sec-WebSocket-Protocol\x20header','Sec-WebSocket-Origin','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','extensions','_bufferedAmount','WS_ERR_UNEXPECTED_RSV_2_3','byteOffset','servername','120HgchCs','stream','ISnapshotServerService','client','_decompress','WebSocket\x20is\x20not\x20open:\x20readyState\x20','default','address','jobs','\x22\x20subprotocol\x20is\x20duplicated','5izheRX','total-length','Inject','cookie','WebSocket','object','IConfigService','WS_ERR_UNEXPECTED_RSV_1','defineProperty','string','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','15015330zAyoVe','\x22\x20must\x20have\x20only\x20a\x20single\x20value','Unknown\x20parameter\x20\x22','decompress','close','clients','WS_ERR_INVALID_CLOSE_CODE','WS_ERR_INVALID_UTF8','Parameter\x20\x22','_threshold','value','writeUIntBE','port','kType','sendFrame','CONNECTING','authorized','has','listeners','readyState','flush','serverNoContextTakeover','_destroy','write','maxPayload','UniverCollaborationClientPlugin','isValidUTF8','message','binaryType','hostname','setConfig','ws+unix:','_deflate','finish','removeEventListener','invalid\x20UTF-8\x20sequence','websocket','permessage-deflate','WS_ERR_UNEXPECTED_MASK','autoPong','_httpService','kRun','createServer','toString','setTimeout','addEventListener','dispose','server_no_context_takeover','opcode','460863kYqCkq','_receiver','size','kData','readUInt16BE','_inflate','toDisposable','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','callback','_write','verifyClient','Module','defaultPort','status-code','blob','Sec-WebSocket-Extensions','Sec-WebSocket-Protocol','kIsForOnEventAttribute','_originalIpc','_loop','species','DisposableCollection','origin','NodeCollaborationSocketService','nodebuffer','indexOf','kCode','normalizeParams','_firstFragment','_server','abort','wss:','8280566tlOkiU','invalid\x20opcode\x20','base64','Upgrade:\x20websocket','CollaborationSocketService','https:','Z_DEFAULT_WINDOWBITS','parse','bind','pipe','_compressed','_read','finishRequest','username','Server\x20sent\x20no\x20subprotocol','handleUpgrade','_originalHostOrSocketPath','threshold','_closeCode','2fGLiKn','extensionName','_no_context_takeover','File','frame','_totalPayloadLength','Unexpected\x20end\x20of\x20input','request','startsWith','map','emitClose','digest','Upgrade','Maximum\x20redirects\x20exceeded','readUInt32BE','buffers','fragments','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','redirect','WS_ERR_INVALID_OPCODE','ws:','acceptAsServer','location','clientNoContextTakeover','type','_queue','completeUpgrade','removeListener','removeAllListeners','encrypted','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','sec-websocket-protocol','set','upgrade','Disposable','forEach','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','client_max_window_bits','search','consume','cork','isServer','Unsupported\x20protocol\x20version:\x20','getData','arrayBuffer','captureStackTrace','The\x20\x22','env','getPayloadLength16','read','cleanup','getOwnPropertyDescriptor','_generateMask','collaboration-client-node.config'];_0x4d13=function(){return _0x2ad4aa;};return _0x4d13();}var se={'exports':{}},ge,Ge;function H(){const _0x3dc240=_0x572ec8;if(Ge)return ge;Ge=0x1;const _0x4ed909=[_0x3dc240(0x305),_0x3dc240(0x244),_0x3dc240(0x330)],_0x5abfd2=typeof Blob<'u';return _0x5abfd2&&_0x4ed909[_0x3dc240(0x21b)](_0x3dc240(0x2fb)),ge={'BINARY_TYPES':_0x4ed909,'EMPTY_BUFFER':Buffer[_0x3dc240(0x1c2)](0x0),'GUID':_0x3dc240(0x36d),'hasBlob':_0x5abfd2,'kForOnEventAttribute':Symbol(_0x3dc240(0x2fe)),'kListener':Symbol(_0x3dc240(0x286)),'kStatusCode':Symbol(_0x3dc240(0x2fa)),'kWebSocket':Symbol(_0x3dc240(0x2e0)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x572ec8(0x36b)](Object[_0x572ec8(0x2b8)]({'__proto__':null,'default':Nt},Symbol[_0x572ec8(0x236)],{'value':_0x572ec8(0x2f8)})),Lt=at(kt);var Ve;function ce(){const _0x38777f=_0x572ec8;if(Ve)return se[_0x38777f(0x20e)];Ve=0x1;const {EMPTY_BUFFER:_0x21002a}=H(),_0x35ec7e=Buffer[Symbol[_0x38777f(0x301)]];function _0x11f5c0(_0x22513e,_0x39d073){const _0x11bd8b=_0x38777f;if(_0x22513e[_0x11bd8b(0x227)]===0x0)return _0x21002a;if(_0x22513e['length']===0x1)return _0x22513e[0x0];const _0x4759f5=Buffer[_0x11bd8b(0x24b)](_0x39d073);let _0x105f35=0x0;for(let _0x26b6ea=0x0;_0x26b6ea<_0x22513e['length'];_0x26b6ea++){const _0x3673d2=_0x22513e[_0x26b6ea];_0x4759f5['set'](_0x3673d2,_0x105f35),_0x105f35+=_0x3673d2['length'];}return _0x105f35<_0x39d073?new _0x35ec7e(_0x4759f5['buffer'],_0x4759f5[_0x11bd8b(0x2a4)],_0x105f35):_0x4759f5;}function _0x286b15(_0x4b6e83,_0x580456,_0x474fd2,_0x306572,_0x491762){for(let _0x5833d1=0x0;_0x5833d1<_0x491762;_0x5833d1++)_0x474fd2[_0x306572+_0x5833d1]=_0x4b6e83[_0x5833d1]^_0x580456[_0x5833d1&0x3];}function _0x4cbafb(_0xbe9dcf,_0x2bcca1){for(let _0x1fd807=0x0;_0x1fd807<_0xbe9dcf['length'];_0x1fd807++)_0xbe9dcf[_0x1fd807]^=_0x2bcca1[_0x1fd807&0x3];}function _0xe29726(_0x405313){const _0x5a891d=_0x38777f;return _0x405313['length']===_0x405313[_0x5a891d(0x271)][_0x5a891d(0x1c8)]?_0x405313[_0x5a891d(0x271)]:_0x405313[_0x5a891d(0x271)][_0x5a891d(0x1ea)](_0x405313['byteOffset'],_0x405313[_0x5a891d(0x2a4)]+_0x405313[_0x5a891d(0x227)]);}function _0x38d9a9(_0x58d1d2){const _0x485ecd=_0x38777f;if(_0x38d9a9[_0x485ecd(0x259)]=!0x0,Buffer[_0x485ecd(0x23d)](_0x58d1d2))return _0x58d1d2;let _0x3e7c61;return _0x58d1d2 instanceof ArrayBuffer?_0x3e7c61=new _0x35ec7e(_0x58d1d2):ArrayBuffer[_0x485ecd(0x1ef)](_0x58d1d2)?_0x3e7c61=new _0x35ec7e(_0x58d1d2[_0x485ecd(0x271)],_0x58d1d2['byteOffset'],_0x58d1d2['byteLength']):(_0x3e7c61=Buffer[_0x485ecd(0x36f)](_0x58d1d2),_0x38d9a9[_0x485ecd(0x259)]=!0x1),_0x3e7c61;}if(se[_0x38777f(0x20e)]={'concat':_0x11f5c0,'mask':_0x286b15,'toArrayBuffer':_0xe29726,'toBuffer':_0x38d9a9,'unmask':_0x4cbafb},!process[_0x38777f(0x350)]['WS_NO_BUFFER_UTIL'])try{const _0x3169ee=Lt;se[_0x38777f(0x20e)][_0x38777f(0x20b)]=function(_0x49b702,_0x972c5a,_0x553cbb,_0x619f7f,_0x5cf9db){const _0x258b53=_0x38777f;_0x5cf9db<0x30?_0x286b15(_0x49b702,_0x972c5a,_0x553cbb,_0x619f7f,_0x5cf9db):_0x3169ee[_0x258b53(0x20b)](_0x49b702,_0x972c5a,_0x553cbb,_0x619f7f,_0x5cf9db);},se['exports'][_0x38777f(0x297)]=function(_0x5cdf8a,_0x59c1e4){_0x5cdf8a['length']<0x20?_0x4cbafb(_0x5cdf8a,_0x59c1e4):_0x3169ee['unmask'](_0x5cdf8a,_0x59c1e4);};}catch{}return se['exports'];}var ye,He;function Pt(){const _0x4501eb=_0x572ec8;if(He)return ye;He=0x1;const _0x49463d=Symbol('kDone'),_0x1a314c=Symbol(_0x4501eb(0x2e5));class _0x1540d1{constructor(_0x22ea88){const _0x31850f=_0x4501eb;this[_0x49463d]=()=>{const _0x165fdb=_0x480a;this[_0x165fdb(0x1e6)]--,this[_0x1a314c]();},this['concurrency']=_0x22ea88||0x1/0x0,this[_0x31850f(0x2ae)]=[],this[_0x31850f(0x1e6)]=0x0;}['add'](_0x47544c){const _0x5a5606=_0x4501eb;this[_0x5a5606(0x2ae)]['push'](_0x47544c),this[_0x1a314c]();}[_0x1a314c](){const _0x2e2132=_0x4501eb;if(this[_0x2e2132(0x1e6)]!==this[_0x2e2132(0x207)]&&this['jobs']['length']){const _0xcdfe96=this[_0x2e2132(0x2ae)][_0x2e2132(0x1cf)]();this['pending']++,_0xcdfe96(this[_0x49463d]);}}}return ye=_0x1540d1,ye;}var ve,ze;function he(){const _0x59ba22=_0x572ec8;if(ze)return ve;ze=0x1;const _0x4c3775=bt,_0xdf35e5=ce(),_0x4f42c9=Pt(),{kStatusCode:_0x214d78}=H(),_0x28ee5f=Buffer[Symbol[_0x59ba22(0x301)]],_0x324b7a=Buffer[_0x59ba22(0x36f)]([0x0,0x0,0xff,0xff]),_0x4aa58b=Symbol('permessage-deflate'),_0x3623f2=Symbol(_0x59ba22(0x2b1)),_0x16ddee=Symbol(_0x59ba22(0x2f5)),_0x5a4c02=Symbol(_0x59ba22(0x32f)),_0x52f614=Symbol(_0x59ba22(0x26b));let _0x53b772;class _0x1613a1{constructor(_0x479edd,_0x2bd166,_0x5ab1bb){const _0x272e99=_0x59ba22;if(this[_0x272e99(0x1cd)]=_0x5ab1bb|0x0,this[_0x272e99(0x29a)]=_0x479edd||{},this[_0x272e99(0x2c5)]=this[_0x272e99(0x29a)][_0x272e99(0x31e)]!==void 0x0?this[_0x272e99(0x29a)][_0x272e99(0x31e)]:0x400,this[_0x272e99(0x1be)]=!!_0x2bd166,this[_0x272e99(0x2dc)]=null,this[_0x272e99(0x2f2)]=null,this[_0x272e99(0x291)]=null,!_0x53b772){const _0x2103ea=this[_0x272e99(0x29a)][_0x272e99(0x238)]!==void 0x0?this[_0x272e99(0x29a)][_0x272e99(0x238)]:0xa;_0x53b772=new _0x4f42c9(_0x2103ea);}}static get['extensionName'](){const _0x543698=_0x59ba22;return _0x543698(0x2e1);}[_0x59ba22(0x210)](){const _0xb93e8d=_0x59ba22,_0x4a2364={};return this[_0xb93e8d(0x29a)]['serverNoContextTakeover']&&(_0x4a2364[_0xb93e8d(0x2eb)]=!0x0),this[_0xb93e8d(0x29a)]['clientNoContextTakeover']&&(_0x4a2364['client_no_context_takeover']=!0x0),this[_0xb93e8d(0x29a)][_0xb93e8d(0x35d)]&&(_0x4a2364[_0xb93e8d(0x299)]=this[_0xb93e8d(0x29a)]['serverMaxWindowBits']),this[_0xb93e8d(0x29a)][_0xb93e8d(0x222)]?_0x4a2364[_0xb93e8d(0x346)]=this['_options'][_0xb93e8d(0x222)]:this[_0xb93e8d(0x29a)][_0xb93e8d(0x222)]==null&&(_0x4a2364[_0xb93e8d(0x346)]=!0x0),_0x4a2364;}[_0x59ba22(0x27d)](_0x16e527){const _0x5e0e21=_0x59ba22;return _0x16e527=this[_0x5e0e21(0x308)](_0x16e527),this['params']=this['_isServer']?this['acceptAsServer'](_0x16e527):this[_0x5e0e21(0x1e3)](_0x16e527),this[_0x5e0e21(0x291)];}[_0x59ba22(0x353)](){const _0xe60698=_0x59ba22;if(this['_inflate']&&(this['_inflate'][_0xe60698(0x2c0)](),this['_inflate']=null),this[_0xe60698(0x2dc)]){const _0x5411e1=this['_deflate'][_0x16ddee];this[_0xe60698(0x2dc)][_0xe60698(0x2c0)](),this['_deflate']=null,_0x5411e1&&_0x5411e1(new Error(_0xe60698(0x1c3)));}}[_0x59ba22(0x335)](_0x5c4d4e){const _0x27333c=_0x59ba22,_0x3e2ea8=this[_0x27333c(0x29a)],_0x41021e=_0x5c4d4e['find'](_0xa6998b=>!(_0x3e2ea8[_0x27333c(0x2d1)]===!0x1&&_0xa6998b['server_no_context_takeover']||_0xa6998b[_0x27333c(0x299)]&&(_0x3e2ea8[_0x27333c(0x35d)]===!0x1||typeof _0x3e2ea8['serverMaxWindowBits']==_0x27333c(0x214)&&_0x3e2ea8[_0x27333c(0x35d)]>_0xa6998b[_0x27333c(0x299)])||typeof _0x3e2ea8['clientMaxWindowBits']=='number'&&!_0xa6998b[_0x27333c(0x346)]));if(!_0x41021e)throw new Error(_0x27333c(0x256));return _0x3e2ea8[_0x27333c(0x2d1)]&&(_0x41021e['server_no_context_takeover']=!0x0),_0x3e2ea8[_0x27333c(0x337)]&&(_0x41021e['client_no_context_takeover']=!0x0),typeof _0x3e2ea8['serverMaxWindowBits']==_0x27333c(0x214)&&(_0x41021e[_0x27333c(0x299)]=_0x3e2ea8[_0x27333c(0x35d)]),typeof _0x3e2ea8[_0x27333c(0x222)]==_0x27333c(0x214)?_0x41021e['client_max_window_bits']=_0x3e2ea8['clientMaxWindowBits']:(_0x41021e['client_max_window_bits']===!0x0||_0x3e2ea8[_0x27333c(0x222)]===!0x1)&&delete _0x41021e['client_max_window_bits'],_0x41021e;}[_0x59ba22(0x1e3)](_0x556719){const _0x50d2a9=_0x59ba22,_0x2b807e=_0x556719[0x0];if(this[_0x50d2a9(0x29a)][_0x50d2a9(0x337)]===!0x1&&_0x2b807e['client_no_context_takeover'])throw new Error('Unexpected\x20parameter\x20\x22client_no_context_takeover\x22');if(!_0x2b807e[_0x50d2a9(0x346)])typeof this[_0x50d2a9(0x29a)][_0x50d2a9(0x222)]==_0x50d2a9(0x214)&&(_0x2b807e[_0x50d2a9(0x346)]=this[_0x50d2a9(0x29a)][_0x50d2a9(0x222)]);else{if(this[_0x50d2a9(0x29a)][_0x50d2a9(0x222)]===!0x1||typeof this[_0x50d2a9(0x29a)][_0x50d2a9(0x222)]==_0x50d2a9(0x214)&&_0x2b807e[_0x50d2a9(0x346)]>this[_0x50d2a9(0x29a)][_0x50d2a9(0x222)])throw new Error(_0x50d2a9(0x288));}return _0x2b807e;}[_0x59ba22(0x308)](_0x4816eb){return _0x4816eb['forEach'](_0x48878f=>{const _0x439e5b=_0x480a;Object[_0x439e5b(0x37d)](_0x48878f)[_0x439e5b(0x344)](_0x593312=>{const _0x4a40d2=_0x439e5b;let _0x331cfd=_0x48878f[_0x593312];if(_0x331cfd['length']>0x1)throw new Error(_0x4a40d2(0x2c4)+_0x593312+_0x4a40d2(0x2bd));if(_0x331cfd=_0x331cfd[0x0],_0x593312===_0x4a40d2(0x346)){if(_0x331cfd!==!0x0){const _0x39a12d=+_0x331cfd;if(!Number[_0x4a40d2(0x22b)](_0x39a12d)||_0x39a12d<0x8||_0x39a12d>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x593312+'\x22:\x20'+_0x331cfd);_0x331cfd=_0x39a12d;}else{if(!this[_0x4a40d2(0x1be)])throw new TypeError(_0x4a40d2(0x208)+_0x593312+_0x4a40d2(0x281)+_0x331cfd);}}else{if(_0x593312===_0x4a40d2(0x299)){const _0x3647d6=+_0x331cfd;if(!Number[_0x4a40d2(0x22b)](_0x3647d6)||_0x3647d6<0x8||_0x3647d6>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x593312+_0x4a40d2(0x281)+_0x331cfd);_0x331cfd=_0x3647d6;}else{if(_0x593312===_0x4a40d2(0x287)||_0x593312===_0x4a40d2(0x2eb)){if(_0x331cfd!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x593312+'\x22:\x20'+_0x331cfd);}else throw new Error(_0x4a40d2(0x2be)+_0x593312+'\x22');}}_0x48878f[_0x593312]=_0x331cfd;});}),_0x4816eb;}[_0x59ba22(0x2bf)](_0x4f4240,_0x20c1b3,_0x551a07){const _0xe3ac08=_0x59ba22;_0x53b772[_0xe3ac08(0x265)](_0x280b88=>{const _0x2d1463=_0xe3ac08;this[_0x2d1463(0x2aa)](_0x4f4240,_0x20c1b3,(_0x22941c,_0x2c72e2)=>{_0x280b88(),_0x551a07(_0x22941c,_0x2c72e2);});});}[_0x59ba22(0x298)](_0x4d42b0,_0x42ebea,_0x124883){const _0x5c4b00=_0x59ba22;_0x53b772[_0x5c4b00(0x265)](_0x39a34e=>{const _0x15813e=_0x5c4b00;this[_0x15813e(0x358)](_0x4d42b0,_0x42ebea,(_0x17ac0b,_0x3cef2c)=>{_0x39a34e(),_0x124883(_0x17ac0b,_0x3cef2c);});});}['_decompress'](_0x40c887,_0x33382f,_0x1bd062){const _0x8b3c42=_0x59ba22,_0x53b45c=this['_isServer']?_0x8b3c42(0x2a9):_0x8b3c42(0x28e);if(!this[_0x8b3c42(0x2f2)]){const _0x38baf8=_0x53b45c+'_max_window_bits',_0x470b78=typeof this[_0x8b3c42(0x291)][_0x38baf8]!='number'?_0x4c3775['Z_DEFAULT_WINDOWBITS']:this[_0x8b3c42(0x291)][_0x38baf8];this[_0x8b3c42(0x2f2)]=_0x4c3775['createInflateRaw']({...this[_0x8b3c42(0x29a)][_0x8b3c42(0x37f)],'windowBits':_0x470b78}),this[_0x8b3c42(0x2f2)][_0x4aa58b]=this,this[_0x8b3c42(0x2f2)][_0x3623f2]=0x0,this[_0x8b3c42(0x2f2)][_0x5a4c02]=[],this['_inflate']['on'](_0x8b3c42(0x26b),_0x516a36),this['_inflate']['on'](_0x8b3c42(0x243),_0x20f58d);}this['_inflate'][_0x16ddee]=_0x1bd062,this[_0x8b3c42(0x2f2)][_0x8b3c42(0x2d3)](_0x40c887),_0x33382f&&this[_0x8b3c42(0x2f2)][_0x8b3c42(0x2d3)](_0x324b7a),this[_0x8b3c42(0x2f2)][_0x8b3c42(0x2d0)](()=>{const _0x1bf780=_0x8b3c42,_0x5a7d6c=this[_0x1bf780(0x2f2)][_0x52f614];if(_0x5a7d6c){this[_0x1bf780(0x2f2)]['close'](),this[_0x1bf780(0x2f2)]=null,_0x1bd062(_0x5a7d6c);return;}const _0x379a43=_0xdf35e5[_0x1bf780(0x24d)](this[_0x1bf780(0x2f2)][_0x5a4c02],this[_0x1bf780(0x2f2)][_0x3623f2]);this['_inflate'][_0x1bf780(0x257)]['endEmitted']?(this[_0x1bf780(0x2f2)][_0x1bf780(0x2c0)](),this[_0x1bf780(0x2f2)]=null):(this['_inflate'][_0x3623f2]=0x0,this[_0x1bf780(0x2f2)][_0x5a4c02]=[],_0x33382f&&this[_0x1bf780(0x291)][_0x53b45c+_0x1bf780(0x322)]&&this['_inflate'][_0x1bf780(0x266)]()),_0x1bd062(null,_0x379a43);});}[_0x59ba22(0x358)](_0x546a18,_0x4ff7c7,_0x2d909e){const _0x3a9105=_0x59ba22,_0x376001=this[_0x3a9105(0x1be)]?_0x3a9105(0x28e):_0x3a9105(0x2a9);if(!this[_0x3a9105(0x2dc)]){const _0x17cf4f=_0x376001+_0x3a9105(0x36e),_0x5cf769=typeof this[_0x3a9105(0x291)][_0x17cf4f]!=_0x3a9105(0x214)?_0x4c3775[_0x3a9105(0x313)]:this[_0x3a9105(0x291)][_0x17cf4f];this['_deflate']=_0x4c3775['createDeflateRaw']({...this[_0x3a9105(0x29a)][_0x3a9105(0x1e1)],'windowBits':_0x5cf769}),this[_0x3a9105(0x2dc)][_0x3623f2]=0x0,this[_0x3a9105(0x2dc)][_0x5a4c02]=[],this[_0x3a9105(0x2dc)]['on'](_0x3a9105(0x243),_0x1a2684);}this['_deflate'][_0x16ddee]=_0x2d909e,this[_0x3a9105(0x2dc)]['write'](_0x546a18),this[_0x3a9105(0x2dc)][_0x3a9105(0x2d0)](_0x4c3775[_0x3a9105(0x1fa)],()=>{const _0x582c6d=_0x3a9105;if(!this[_0x582c6d(0x2dc)])return;let _0x18e95e=_0xdf35e5[_0x582c6d(0x24d)](this[_0x582c6d(0x2dc)][_0x5a4c02],this['_deflate'][_0x3623f2]);_0x4ff7c7&&(_0x18e95e=new _0x28ee5f(_0x18e95e[_0x582c6d(0x271)],_0x18e95e[_0x582c6d(0x2a4)],_0x18e95e[_0x582c6d(0x227)]-0x4)),this[_0x582c6d(0x2dc)][_0x16ddee]=null,this[_0x582c6d(0x2dc)][_0x3623f2]=0x0,this[_0x582c6d(0x2dc)][_0x5a4c02]=[],_0x4ff7c7&&this['params'][_0x376001+_0x582c6d(0x322)]&&this['_deflate'][_0x582c6d(0x266)](),_0x2d909e(null,_0x18e95e);});}}ve=_0x1613a1;function _0x1a2684(_0x184db2){const _0x2d4553=_0x59ba22;this[_0x5a4c02][_0x2d4553(0x21b)](_0x184db2),this[_0x3623f2]+=_0x184db2['length'];}function _0x20f58d(_0xa5a158){const _0x2cda25=_0x59ba22;if(this[_0x3623f2]+=_0xa5a158[_0x2cda25(0x227)],this[_0x4aa58b][_0x2cda25(0x1cd)]<0x1||this[_0x3623f2]<=this[_0x4aa58b][_0x2cda25(0x1cd)]){this[_0x5a4c02][_0x2cda25(0x21b)](_0xa5a158);return;}this[_0x52f614]=new RangeError(_0x2cda25(0x200)),this[_0x52f614]['code']='WS_ERR_UNSUPPORTED_MESSAGE_LENGTH',this[_0x52f614][_0x214d78]=0x3f1,this[_0x2cda25(0x33b)]('data',_0x20f58d),this[_0x2cda25(0x266)]();}function _0x516a36(_0x4efaa8){const _0x5daa87=_0x59ba22;if(this[_0x4aa58b][_0x5daa87(0x2f2)]=null,this[_0x52f614]){this[_0x16ddee](this[_0x52f614]);return;}_0x4efaa8[_0x214d78]=0x3ef,this[_0x16ddee](_0x4efaa8);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x572ec8(0x36b)](Object[_0x572ec8(0x2b8)]({'__proto__':null,'default':Dt},Symbol[_0x572ec8(0x236)],{'value':_0x572ec8(0x2f8)})),Bt=at(Rt);var Ye;function ae(){const _0x1d5921=_0x572ec8;if(Ye)return ie['exports'];Ye=0x1;const {isUtf8:_0x5a709f}=wt,{hasBlob:_0x5e052f}=H(),_0x1f7d50=[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 _0x48ed7b(_0x59a77c){return _0x59a77c>=0x3e8&&_0x59a77c<=0x3f6&&_0x59a77c!==0x3ec&&_0x59a77c!==0x3ed&&_0x59a77c!==0x3ee||_0x59a77c>=0xbb8&&_0x59a77c<=0x1387;}function _0x38d56d(_0x268ecd){const _0x423b03=_0x480a,_0x56d19b=_0x268ecd[_0x423b03(0x227)];let _0x282a39=0x0;for(;_0x282a39<_0x56d19b;)if((_0x268ecd[_0x282a39]&0x80)===0x0)_0x282a39++;else{if((_0x268ecd[_0x282a39]&0xe0)===0xc0){if(_0x282a39+0x1===_0x56d19b||(_0x268ecd[_0x282a39+0x1]&0xc0)!==0x80||(_0x268ecd[_0x282a39]&0xfe)===0xc0)return!0x1;_0x282a39+=0x2;}else{if((_0x268ecd[_0x282a39]&0xf0)===0xe0){if(_0x282a39+0x2>=_0x56d19b||(_0x268ecd[_0x282a39+0x1]&0xc0)!==0x80||(_0x268ecd[_0x282a39+0x2]&0xc0)!==0x80||_0x268ecd[_0x282a39]===0xe0&&(_0x268ecd[_0x282a39+0x1]&0xe0)===0x80||_0x268ecd[_0x282a39]===0xed&&(_0x268ecd[_0x282a39+0x1]&0xe0)===0xa0)return!0x1;_0x282a39+=0x3;}else{if((_0x268ecd[_0x282a39]&0xf8)===0xf0){if(_0x282a39+0x3>=_0x56d19b||(_0x268ecd[_0x282a39+0x1]&0xc0)!==0x80||(_0x268ecd[_0x282a39+0x2]&0xc0)!==0x80||(_0x268ecd[_0x282a39+0x3]&0xc0)!==0x80||_0x268ecd[_0x282a39]===0xf0&&(_0x268ecd[_0x282a39+0x1]&0xf0)===0x80||_0x268ecd[_0x282a39]===0xf4&&_0x268ecd[_0x282a39+0x1]>0x8f||_0x268ecd[_0x282a39]>0xf4)return!0x1;_0x282a39+=0x4;}else return!0x1;}}}return!0x0;}function _0x15e069(_0x180b0c){const _0x27c924=_0x480a;return _0x5e052f&&typeof _0x180b0c==_0x27c924(0x2b5)&&typeof _0x180b0c[_0x27c924(0x34d)]=='function'&&typeof _0x180b0c[_0x27c924(0x338)]==_0x27c924(0x2b9)&&typeof _0x180b0c[_0x27c924(0x2a7)]=='function'&&(_0x180b0c[Symbol['toStringTag']]==='Blob'||_0x180b0c[Symbol[_0x27c924(0x236)]]===_0x27c924(0x323));}if(ie[_0x1d5921(0x20e)]={'isBlob':_0x15e069,'isValidStatusCode':_0x48ed7b,'isValidUTF8':_0x38d56d,'tokenChars':_0x1f7d50},_0x5a709f)ie['exports'][_0x1d5921(0x2d6)]=function(_0x231548){const _0x4ed77a=_0x1d5921;return _0x231548[_0x4ed77a(0x227)]<0x18?_0x38d56d(_0x231548):_0x5a709f(_0x231548);};else{if(!process[_0x1d5921(0x350)]['WS_NO_UTF_8_VALIDATE'])try{const _0x127fee=Bt;ie[_0x1d5921(0x20e)][_0x1d5921(0x2d6)]=function(_0x214c85){return _0x214c85['length']<0x20?_0x38d56d(_0x214c85):_0x127fee(_0x214c85);};}catch{}}return ie[_0x1d5921(0x20e)];}var Se,Ke;function lt(){const _0x5b4340=_0x572ec8;if(Ke)return Se;Ke=0x1;const {Writable:_0x50243d}=oe,_0x5ed004=he(),{BINARY_TYPES:_0x530cc1,EMPTY_BUFFER:_0x2d935e,kStatusCode:_0x517b7d,kWebSocket:_0x3a62db}=H(),{concat:_0x4994ab,toArrayBuffer:_0x24fcea,unmask:_0x443c62}=ce(),{isValidStatusCode:_0x83087d,isValidUTF8:_0x11e759}=ae(),_0x57bab5=Buffer[Symbol[_0x5b4340(0x301)]],_0x34cf3d=0x0,_0x3a5665=0x1,_0x281d62=0x2,_0x53c81b=0x3,_0x396409=0x4,_0x7fd520=0x5,_0x41bf27=0x6;class _0x47d56a extends _0x50243d{constructor(_0x1b4056={}){const _0x200327=_0x5b4340;super(),this[_0x200327(0x231)]=_0x1b4056[_0x200327(0x27c)]!==void 0x0?_0x1b4056['allowSynchronousEvents']:!0x0,this[_0x200327(0x26d)]=_0x1b4056[_0x200327(0x2d8)]||_0x530cc1[0x0],this[_0x200327(0x261)]=_0x1b4056[_0x200327(0x2a1)]||{},this[_0x200327(0x1be)]=!!_0x1b4056[_0x200327(0x34a)],this[_0x200327(0x1cd)]=_0x1b4056['maxPayload']|0x0,this[_0x200327(0x22e)]=!!_0x1b4056[_0x200327(0x1bd)],this[_0x3a62db]=void 0x0,this[_0x200327(0x1e7)]=0x0,this['_buffers']=[],this['_compressed']=!0x1,this[_0x200327(0x36c)]=0x0,this[_0x200327(0x202)]=void 0x0,this[_0x200327(0x21a)]=0x0,this[_0x200327(0x20f)]=!0x1,this[_0x200327(0x369)]=!0x1,this[_0x200327(0x275)]=0x0,this[_0x200327(0x325)]=0x0,this[_0x200327(0x252)]=0x0,this['_fragments']=[],this['_errored']=!0x1,this['_loop']=!0x1,this['_state']=_0x34cf3d;}[_0x5b4340(0x2f6)](_0x177690,_0x4047f0,_0x175ec1){const _0x159e6f=_0x5b4340;if(this[_0x159e6f(0x275)]===0x8&&this[_0x159e6f(0x279)]==_0x34cf3d)return _0x175ec1();this[_0x159e6f(0x1e7)]+=_0x177690['length'],this[_0x159e6f(0x22f)][_0x159e6f(0x21b)](_0x177690),this['startLoop'](_0x175ec1);}['consume'](_0x46204a){const _0x320494=_0x5b4340;if(this[_0x320494(0x1e7)]-=_0x46204a,_0x46204a===this[_0x320494(0x22f)][0x0][_0x320494(0x227)])return this[_0x320494(0x22f)][_0x320494(0x1cf)]();if(_0x46204a<this[_0x320494(0x22f)][0x0][_0x320494(0x227)]){const _0x43fc63=this[_0x320494(0x22f)][0x0];return this[_0x320494(0x22f)][0x0]=new _0x57bab5(_0x43fc63[_0x320494(0x271)],_0x43fc63[_0x320494(0x2a4)]+_0x46204a,_0x43fc63[_0x320494(0x227)]-_0x46204a),new _0x57bab5(_0x43fc63[_0x320494(0x271)],_0x43fc63[_0x320494(0x2a4)],_0x46204a);}const _0x38be88=Buffer[_0x320494(0x24b)](_0x46204a);do{const _0x13183b=this['_buffers'][0x0],_0x93b060=_0x38be88[_0x320494(0x227)]-_0x46204a;_0x46204a>=_0x13183b[_0x320494(0x227)]?_0x38be88['set'](this[_0x320494(0x22f)]['shift'](),_0x93b060):(_0x38be88[_0x320494(0x341)](new Uint8Array(_0x13183b[_0x320494(0x271)],_0x13183b[_0x320494(0x2a4)],_0x46204a),_0x93b060),this['_buffers'][0x0]=new _0x57bab5(_0x13183b[_0x320494(0x271)],_0x13183b[_0x320494(0x2a4)]+_0x46204a,_0x13183b[_0x320494(0x227)]-_0x46204a)),_0x46204a-=_0x13183b[_0x320494(0x227)];}while(_0x46204a>0x0);return _0x38be88;}[_0x5b4340(0x1d4)](_0xcc31de){const _0x2acf15=_0x5b4340;this[_0x2acf15(0x300)]=!0x0;do switch(this[_0x2acf15(0x279)]){case _0x34cf3d:this['getInfo'](_0xcc31de);break;case _0x3a5665:this[_0x2acf15(0x351)](_0xcc31de);break;case _0x281d62:this['getPayloadLength64'](_0xcc31de);break;case _0x53c81b:this[_0x2acf15(0x260)]();break;case _0x396409:this[_0x2acf15(0x34c)](_0xcc31de);break;case _0x7fd520:case _0x41bf27:this['_loop']=!0x1;return;}while(this[_0x2acf15(0x300)]);this[_0x2acf15(0x24f)]||_0xcc31de();}['getInfo'](_0x970e7d){const _0x225775=_0x5b4340;if(this[_0x225775(0x1e7)]<0x2){this['_loop']=!0x1;return;}const _0x564a65=this[_0x225775(0x348)](0x2);if((_0x564a65[0x0]&0x30)!==0x0){const _0x597451=this[_0x225775(0x374)](RangeError,_0x225775(0x33e),!0x0,0x3ea,_0x225775(0x2a3));_0x970e7d(_0x597451);return;}const _0x4fe1b0=(_0x564a65[0x0]&0x40)===0x40;if(_0x4fe1b0&&!this['_extensions'][_0x5ed004[_0x225775(0x321)]]){const _0x5f55ba=this['createError'](RangeError,_0x225775(0x367),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x970e7d(_0x5f55ba);return;}if(this[_0x225775(0x369)]=(_0x564a65[0x0]&0x80)===0x80,this[_0x225775(0x275)]=_0x564a65[0x0]&0xf,this[_0x225775(0x36c)]=_0x564a65[0x1]&0x7f,this[_0x225775(0x275)]===0x0){if(_0x4fe1b0){const _0x1457ee=this[_0x225775(0x374)](RangeError,_0x225775(0x367),!0x0,0x3ea,_0x225775(0x2b7));_0x970e7d(_0x1457ee);return;}if(!this[_0x225775(0x21a)]){const _0xd80461=this[_0x225775(0x374)](RangeError,_0x225775(0x251),!0x0,0x3ea,_0x225775(0x333));_0x970e7d(_0xd80461);return;}this[_0x225775(0x275)]=this[_0x225775(0x21a)];}else{if(this[_0x225775(0x275)]===0x1||this[_0x225775(0x275)]===0x2){if(this[_0x225775(0x21a)]){const _0x30a3c6=this['createError'](RangeError,_0x225775(0x30e)+this[_0x225775(0x275)],!0x0,0x3ea,_0x225775(0x333));_0x970e7d(_0x30a3c6);return;}this['_compressed']=_0x4fe1b0;}else{if(this['_opcode']>0x7&&this[_0x225775(0x275)]<0xb){if(!this[_0x225775(0x369)]){const _0xa37894=this[_0x225775(0x374)](RangeError,'FIN\x20must\x20be\x20set',!0x0,0x3ea,_0x225775(0x22c));_0x970e7d(_0xa37894);return;}if(_0x4fe1b0){const _0x1e69c7=this[_0x225775(0x374)](RangeError,_0x225775(0x367),!0x0,0x3ea,_0x225775(0x2b7));_0x970e7d(_0x1e69c7);return;}if(this[_0x225775(0x36c)]>0x7d||this[_0x225775(0x275)]===0x8&&this[_0x225775(0x36c)]===0x1){const _0x3ba475=this[_0x225775(0x374)](RangeError,_0x225775(0x1c7)+this[_0x225775(0x36c)],!0x0,0x3ea,_0x225775(0x345));_0x970e7d(_0x3ba475);return;}}else{const _0x3cc7f4=this['createError'](RangeError,_0x225775(0x30e)+this[_0x225775(0x275)],!0x0,0x3ea,_0x225775(0x333));_0x970e7d(_0x3cc7f4);return;}}}if(!this[_0x225775(0x369)]&&!this[_0x225775(0x21a)]&&(this[_0x225775(0x21a)]=this[_0x225775(0x275)]),this[_0x225775(0x20f)]=(_0x564a65[0x1]&0x80)===0x80,this[_0x225775(0x1be)]){if(!this['_masked']){const _0x4cbfbf=this['createError'](RangeError,_0x225775(0x1e4),!0x0,0x3ea,'WS_ERR_EXPECTED_MASK');_0x970e7d(_0x4cbfbf);return;}}else{if(this[_0x225775(0x20f)]){const _0x109ec4=this[_0x225775(0x374)](RangeError,_0x225775(0x1fd),!0x0,0x3ea,_0x225775(0x2e2));_0x970e7d(_0x109ec4);return;}}this[_0x225775(0x36c)]===0x7e?this['_state']=_0x3a5665:this[_0x225775(0x36c)]===0x7f?this[_0x225775(0x279)]=_0x281d62:this[_0x225775(0x209)](_0x970e7d);}['getPayloadLength16'](_0x3e2796){const _0x10988c=_0x5b4340;if(this[_0x10988c(0x1e7)]<0x2){this[_0x10988c(0x300)]=!0x1;return;}this[_0x10988c(0x36c)]=this[_0x10988c(0x348)](0x2)[_0x10988c(0x2f1)](0x0),this[_0x10988c(0x209)](_0x3e2796);}['getPayloadLength64'](_0x5cba20){const _0x3f890b=_0x5b4340;if(this[_0x3f890b(0x1e7)]<0x8){this[_0x3f890b(0x300)]=!0x1;return;}const _0x247d16=this[_0x3f890b(0x348)](0x8),_0xcf78ef=_0x247d16[_0x3f890b(0x32e)](0x0);if(_0xcf78ef>Math[_0x3f890b(0x21f)](0x2,0x15)-0x1){const _0x5f4b02=this['createError'](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,_0x3f890b(0x2bb));_0x5cba20(_0x5f4b02);return;}this['_payloadLength']=_0xcf78ef*Math[_0x3f890b(0x21f)](0x2,0x20)+_0x247d16[_0x3f890b(0x32e)](0x4),this['haveLength'](_0x5cba20);}[_0x5b4340(0x209)](_0x2df9e5){const _0x553578=_0x5b4340;if(this[_0x553578(0x36c)]&&this['_opcode']<0x8&&(this[_0x553578(0x325)]+=this[_0x553578(0x36c)],this['_totalPayloadLength']>this['_maxPayload']&&this[_0x553578(0x1cd)]>0x0)){const _0x1d7bf5=this[_0x553578(0x374)](RangeError,_0x553578(0x200),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x2df9e5(_0x1d7bf5);return;}this[_0x553578(0x20f)]?this[_0x553578(0x279)]=_0x53c81b:this['_state']=_0x396409;}['getMask'](){const _0x588695=_0x5b4340;if(this['_bufferedBytes']<0x4){this[_0x588695(0x300)]=!0x1;return;}this[_0x588695(0x202)]=this['consume'](0x4),this[_0x588695(0x279)]=_0x396409;}[_0x5b4340(0x34c)](_0x41efd3){const _0xb5aff4=_0x5b4340;let _0x20a75b=_0x2d935e;if(this[_0xb5aff4(0x36c)]){if(this[_0xb5aff4(0x1e7)]<this[_0xb5aff4(0x36c)]){this[_0xb5aff4(0x300)]=!0x1;return;}_0x20a75b=this[_0xb5aff4(0x348)](this[_0xb5aff4(0x36c)]),this[_0xb5aff4(0x20f)]&&(this[_0xb5aff4(0x202)][0x0]|this[_0xb5aff4(0x202)][0x1]|this[_0xb5aff4(0x202)][0x2]|this[_0xb5aff4(0x202)][0x3])!==0x0&&_0x443c62(_0x20a75b,this['_mask']);}if(this[_0xb5aff4(0x275)]>0x7){this['controlMessage'](_0x20a75b,_0x41efd3);return;}if(this[_0xb5aff4(0x317)]){this['_state']=_0x7fd520,this[_0xb5aff4(0x2bf)](_0x20a75b,_0x41efd3);return;}_0x20a75b[_0xb5aff4(0x227)]&&(this['_messageLength']=this[_0xb5aff4(0x325)],this[_0xb5aff4(0x295)][_0xb5aff4(0x21b)](_0x20a75b)),this[_0xb5aff4(0x363)](_0x41efd3);}[_0x5b4340(0x2bf)](_0x258001,_0x44550d){const _0x1a5e3b=_0x5b4340;this[_0x1a5e3b(0x261)][_0x5ed004[_0x1a5e3b(0x321)]][_0x1a5e3b(0x2bf)](_0x258001,this[_0x1a5e3b(0x369)],(_0x1df02c,_0x3336da)=>{const _0x572d74=_0x1a5e3b;if(_0x1df02c)return _0x44550d(_0x1df02c);if(_0x3336da[_0x572d74(0x227)]){if(this[_0x572d74(0x252)]+=_0x3336da[_0x572d74(0x227)],this['_messageLength']>this[_0x572d74(0x1cd)]&&this[_0x572d74(0x1cd)]>0x0){const _0x391d45=this[_0x572d74(0x374)](RangeError,_0x572d74(0x200),!0x1,0x3f1,_0x572d74(0x370));_0x44550d(_0x391d45);return;}this['_fragments'][_0x572d74(0x21b)](_0x3336da);}this[_0x572d74(0x363)](_0x44550d),this[_0x572d74(0x279)]===_0x34cf3d&&this['startLoop'](_0x44550d);});}[_0x5b4340(0x363)](_0x416a7b){const _0x263c93=_0x5b4340;if(!this[_0x263c93(0x369)]){this[_0x263c93(0x279)]=_0x34cf3d;return;}const _0xcac53d=this[_0x263c93(0x252)],_0x24e81d=this[_0x263c93(0x295)];if(this[_0x263c93(0x325)]=0x0,this[_0x263c93(0x252)]=0x0,this[_0x263c93(0x21a)]=0x0,this[_0x263c93(0x295)]=[],this[_0x263c93(0x275)]===0x2){let _0x1e7ca1;this[_0x263c93(0x26d)]===_0x263c93(0x305)?_0x1e7ca1=_0x4994ab(_0x24e81d,_0xcac53d):this[_0x263c93(0x26d)]===_0x263c93(0x244)?_0x1e7ca1=_0x24fcea(_0x4994ab(_0x24e81d,_0xcac53d)):this['_binaryType']==='blob'?_0x1e7ca1=new Blob(_0x24e81d):_0x1e7ca1=_0x24e81d,this[_0x263c93(0x231)]?(this[_0x263c93(0x1d1)](_0x263c93(0x2d7),_0x1e7ca1,!0x0),this['_state']=_0x34cf3d):(this[_0x263c93(0x279)]=_0x41bf27,setImmediate(()=>{const _0x462a50=_0x263c93;this[_0x462a50(0x1d1)]('message',_0x1e7ca1,!0x0),this['_state']=_0x34cf3d,this[_0x462a50(0x1d4)](_0x416a7b);}));}else{const _0x16cb4f=_0x4994ab(_0x24e81d,_0xcac53d);if(!this[_0x263c93(0x22e)]&&!_0x11e759(_0x16cb4f)){const _0x1fefac=this[_0x263c93(0x374)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x263c93(0x2c3));_0x416a7b(_0x1fefac);return;}this[_0x263c93(0x279)]===_0x7fd520||this[_0x263c93(0x231)]?(this[_0x263c93(0x1d1)](_0x263c93(0x2d7),_0x16cb4f,!0x1),this['_state']=_0x34cf3d):(this[_0x263c93(0x279)]=_0x41bf27,setImmediate(()=>{const _0xa5997a=_0x263c93;this[_0xa5997a(0x1d1)](_0xa5997a(0x2d7),_0x16cb4f,!0x1),this[_0xa5997a(0x279)]=_0x34cf3d,this[_0xa5997a(0x1d4)](_0x416a7b);}));}}[_0x5b4340(0x1ca)](_0x4950a4,_0x458ab6){const _0x16eee2=_0x5b4340;if(this[_0x16eee2(0x275)]===0x8){if(_0x4950a4[_0x16eee2(0x227)]===0x0)this[_0x16eee2(0x300)]=!0x1,this['emit'](_0x16eee2(0x365),0x3ed,_0x2d935e),this[_0x16eee2(0x289)]();else{const _0x15dcf9=_0x4950a4[_0x16eee2(0x2f1)](0x0);if(!_0x83087d(_0x15dcf9)){const _0x2cb606=this[_0x16eee2(0x374)](RangeError,_0x16eee2(0x247)+_0x15dcf9,!0x0,0x3ea,_0x16eee2(0x2c2));_0x458ab6(_0x2cb606);return;}const _0x3e57fd=new _0x57bab5(_0x4950a4[_0x16eee2(0x271)],_0x4950a4[_0x16eee2(0x2a4)]+0x2,_0x4950a4[_0x16eee2(0x227)]-0x2);if(!this[_0x16eee2(0x22e)]&&!_0x11e759(_0x3e57fd)){const _0xd2aaf9=this[_0x16eee2(0x374)](Error,_0x16eee2(0x2df),!0x0,0x3ef,_0x16eee2(0x2c3));_0x458ab6(_0xd2aaf9);return;}this[_0x16eee2(0x300)]=!0x1,this[_0x16eee2(0x1d1)](_0x16eee2(0x365),_0x15dcf9,_0x3e57fd),this['end']();}this['_state']=_0x34cf3d;return;}this['_allowSynchronousEvents']?(this[_0x16eee2(0x1d1)](this[_0x16eee2(0x275)]===0x9?_0x16eee2(0x237):'pong',_0x4950a4),this[_0x16eee2(0x279)]=_0x34cf3d):(this[_0x16eee2(0x279)]=_0x41bf27,setImmediate(()=>{const _0x32b98b=_0x16eee2;this[_0x32b98b(0x1d1)](this[_0x32b98b(0x275)]===0x9?_0x32b98b(0x237):_0x32b98b(0x269),_0x4950a4),this[_0x32b98b(0x279)]=_0x34cf3d,this[_0x32b98b(0x1d4)](_0x458ab6);}));}[_0x5b4340(0x374)](_0x8b147c,_0xe77b14,_0x791ab5,_0xdbef69,_0x126d34){const _0x279aff=_0x5b4340;this[_0x279aff(0x300)]=!0x1,this[_0x279aff(0x24f)]=!0x0;const _0x3b6705=new _0x8b147c(_0x791ab5?'Invalid\x20WebSocket\x20frame:\x20'+_0xe77b14:_0xe77b14);return Error[_0x279aff(0x34e)](_0x3b6705,this[_0x279aff(0x374)]),_0x3b6705[_0x279aff(0x1e5)]=_0x126d34,_0x3b6705[_0x517b7d]=_0xdbef69,_0x3b6705;}}return Se=_0x47d56a,Se;}var Ee,Xe;function ft(){const _0x29bd3e=_0x572ec8;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x390cd2}=oe,{randomFillSync:_0x5e1ac4}=Le,_0x261bd4=he(),{EMPTY_BUFFER:_0x514707,kWebSocket:_0x32e481,NOOP:_0x3b97a1}=H(),{isBlob:_0x232752,isValidStatusCode:_0x923a8d}=ae(),{mask:_0x84f742,toBuffer:_0x45c834}=ce(),_0x485a09=Symbol(_0x29bd3e(0x383)),_0x169353=Buffer[_0x29bd3e(0x1c2)](0x4),_0x150bd4=0x8*0x400;let _0x29952c,_0xbd6eab=_0x150bd4;const _0x456c51=0x0,_0x3081c4=0x1,_0x398bd8=0x2;class _0x184478{constructor(_0x2fe24b,_0x2d4953,_0x3cfbd9){const _0x2f70ad=_0x29bd3e;this['_extensions']=_0x2d4953||{},_0x3cfbd9&&(this[_0x2f70ad(0x355)]=_0x3cfbd9,this['_maskBuffer']=Buffer[_0x2f70ad(0x1c2)](0x4)),this[_0x2f70ad(0x1cb)]=_0x2fe24b,this[_0x2f70ad(0x309)]=!0x0,this[_0x2f70ad(0x358)]=!0x1,this[_0x2f70ad(0x1e7)]=0x0,this[_0x2f70ad(0x339)]=[],this[_0x2f70ad(0x279)]=_0x456c51,this[_0x2f70ad(0x1d5)]=_0x3b97a1,this[_0x32e481]=void 0x0;}static[_0x29bd3e(0x324)](_0x3c69ca,_0x1eb3d7){const _0x711a1d=_0x29bd3e;let _0x5a548e,_0x270af9=!0x1,_0x212c39=0x2,_0x9f1630=!0x1;_0x1eb3d7[_0x711a1d(0x20b)]&&(_0x5a548e=_0x1eb3d7[_0x711a1d(0x1c5)]||_0x169353,_0x1eb3d7[_0x711a1d(0x35a)]?_0x1eb3d7[_0x711a1d(0x35a)](_0x5a548e):(_0xbd6eab===_0x150bd4&&(_0x29952c===void 0x0&&(_0x29952c=Buffer[_0x711a1d(0x1c2)](_0x150bd4)),_0x5e1ac4(_0x29952c,0x0,_0x150bd4),_0xbd6eab=0x0),_0x5a548e[0x0]=_0x29952c[_0xbd6eab++],_0x5a548e[0x1]=_0x29952c[_0xbd6eab++],_0x5a548e[0x2]=_0x29952c[_0xbd6eab++],_0x5a548e[0x3]=_0x29952c[_0xbd6eab++]),_0x9f1630=(_0x5a548e[0x0]|_0x5a548e[0x1]|_0x5a548e[0x2]|_0x5a548e[0x3])===0x0,_0x212c39=0x6);let _0x494b28;typeof _0x3c69ca==_0x711a1d(0x2b9)?(!_0x1eb3d7[_0x711a1d(0x20b)]||_0x9f1630)&&_0x1eb3d7[_0x485a09]!==void 0x0?_0x494b28=_0x1eb3d7[_0x485a09]:(_0x3c69ca=Buffer['from'](_0x3c69ca),_0x494b28=_0x3c69ca[_0x711a1d(0x227)]):(_0x494b28=_0x3c69ca['length'],_0x270af9=_0x1eb3d7[_0x711a1d(0x20b)]&&_0x1eb3d7[_0x711a1d(0x259)]&&!_0x9f1630);let _0x5e0036=_0x494b28;_0x494b28>=0x10000?(_0x212c39+=0x8,_0x5e0036=0x7f):_0x494b28>0x7d&&(_0x212c39+=0x2,_0x5e0036=0x7e);const _0x55a266=Buffer[_0x711a1d(0x24b)](_0x270af9?_0x494b28+_0x212c39:_0x212c39);return _0x55a266[0x0]=_0x1eb3d7[_0x711a1d(0x1eb)]?_0x1eb3d7[_0x711a1d(0x2ec)]|0x80:_0x1eb3d7['opcode'],_0x1eb3d7[_0x711a1d(0x1c4)]&&(_0x55a266[0x0]|=0x40),_0x55a266[0x1]=_0x5e0036,_0x5e0036===0x7e?_0x55a266['writeUInt16BE'](_0x494b28,0x2):_0x5e0036===0x7f&&(_0x55a266[0x2]=_0x55a266[0x3]=0x0,_0x55a266[_0x711a1d(0x2c7)](_0x494b28,0x4,0x6)),_0x1eb3d7[_0x711a1d(0x20b)]?(_0x55a266[0x1]|=0x80,_0x55a266[_0x212c39-0x4]=_0x5a548e[0x0],_0x55a266[_0x212c39-0x3]=_0x5a548e[0x1],_0x55a266[_0x212c39-0x2]=_0x5a548e[0x2],_0x55a266[_0x212c39-0x1]=_0x5a548e[0x3],_0x9f1630?[_0x55a266,_0x3c69ca]:_0x270af9?(_0x84f742(_0x3c69ca,_0x5a548e,_0x55a266,_0x212c39,_0x494b28),[_0x55a266]):(_0x84f742(_0x3c69ca,_0x5a548e,_0x3c69ca,0x0,_0x494b28),[_0x55a266,_0x3c69ca])):[_0x55a266,_0x3c69ca];}[_0x29bd3e(0x2c0)](_0x1be5ac,_0x31207d,_0x3da86f,_0xd7dc86){const _0x14f9d6=_0x29bd3e;let _0x4f2571;if(_0x1be5ac===void 0x0)_0x4f2571=_0x514707;else{if(typeof _0x1be5ac!=_0x14f9d6(0x214)||!_0x923a8d(_0x1be5ac))throw new TypeError('First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number');if(_0x31207d===void 0x0||!_0x31207d[_0x14f9d6(0x227)])_0x4f2571=Buffer[_0x14f9d6(0x24b)](0x2),_0x4f2571['writeUInt16BE'](_0x1be5ac,0x0);else{const _0x13eb38=Buffer[_0x14f9d6(0x1c8)](_0x31207d);if(_0x13eb38>0x7b)throw new RangeError(_0x14f9d6(0x331));_0x4f2571=Buffer[_0x14f9d6(0x24b)](0x2+_0x13eb38),_0x4f2571['writeUInt16BE'](_0x1be5ac,0x0),typeof _0x31207d==_0x14f9d6(0x2b9)?_0x4f2571[_0x14f9d6(0x2d3)](_0x31207d,0x2):_0x4f2571[_0x14f9d6(0x341)](_0x31207d,0x2);}}const _0x552ce8={[_0x485a09]:_0x4f2571[_0x14f9d6(0x227)],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x3da86f,'maskBuffer':this[_0x14f9d6(0x280)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this['_state']!==_0x456c51?this['enqueue']([this[_0x14f9d6(0x223)],_0x4f2571,!0x1,_0x552ce8,_0xd7dc86]):this[_0x14f9d6(0x2ca)](_0x184478[_0x14f9d6(0x324)](_0x4f2571,_0x552ce8),_0xd7dc86);}[_0x29bd3e(0x237)](_0x584798,_0x5b4a54,_0x167717){const _0x32ebcc=_0x29bd3e;let _0x574f62,_0x17f2e9;if(typeof _0x584798==_0x32ebcc(0x2b9)?(_0x574f62=Buffer[_0x32ebcc(0x1c8)](_0x584798),_0x17f2e9=!0x1):_0x232752(_0x584798)?(_0x574f62=_0x584798['size'],_0x17f2e9=!0x1):(_0x584798=_0x45c834(_0x584798),_0x574f62=_0x584798['length'],_0x17f2e9=_0x45c834[_0x32ebcc(0x259)]),_0x574f62>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x1cbd65={[_0x485a09]:_0x574f62,'fin':!0x0,'generateMask':this[_0x32ebcc(0x355)],'mask':_0x5b4a54,'maskBuffer':this['_maskBuffer'],'opcode':0x9,'readOnly':_0x17f2e9,'rsv1':!0x1};_0x232752(_0x584798)?this[_0x32ebcc(0x279)]!==_0x456c51?this[_0x32ebcc(0x1fc)]([this[_0x32ebcc(0x274)],_0x584798,!0x1,_0x1cbd65,_0x167717]):this[_0x32ebcc(0x274)](_0x584798,!0x1,_0x1cbd65,_0x167717):this['_state']!==_0x456c51?this[_0x32ebcc(0x1fc)]([this[_0x32ebcc(0x223)],_0x584798,!0x1,_0x1cbd65,_0x167717]):this[_0x32ebcc(0x2ca)](_0x184478[_0x32ebcc(0x324)](_0x584798,_0x1cbd65),_0x167717);}[_0x29bd3e(0x269)](_0x239460,_0x155ab9,_0xa3ec14){const _0x10bfad=_0x29bd3e;let _0x55cd18,_0xffa234;if(typeof _0x239460=='string'?(_0x55cd18=Buffer[_0x10bfad(0x1c8)](_0x239460),_0xffa234=!0x1):_0x232752(_0x239460)?(_0x55cd18=_0x239460['size'],_0xffa234=!0x1):(_0x239460=_0x45c834(_0x239460),_0x55cd18=_0x239460[_0x10bfad(0x227)],_0xffa234=_0x45c834[_0x10bfad(0x259)]),_0x55cd18>0x7d)throw new RangeError(_0x10bfad(0x1db));const _0x3fbfb9={[_0x485a09]:_0x55cd18,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x155ab9,'maskBuffer':this[_0x10bfad(0x280)],'opcode':0xa,'readOnly':_0xffa234,'rsv1':!0x1};_0x232752(_0x239460)?this['_state']!==_0x456c51?this[_0x10bfad(0x1fc)]([this[_0x10bfad(0x274)],_0x239460,!0x1,_0x3fbfb9,_0xa3ec14]):this[_0x10bfad(0x274)](_0x239460,!0x1,_0x3fbfb9,_0xa3ec14):this[_0x10bfad(0x279)]!==_0x456c51?this['enqueue']([this[_0x10bfad(0x223)],_0x239460,!0x1,_0x3fbfb9,_0xa3ec14]):this['sendFrame'](_0x184478[_0x10bfad(0x324)](_0x239460,_0x3fbfb9),_0xa3ec14);}[_0x29bd3e(0x360)](_0x4d5ac1,_0x2419c7,_0x1a8c70){const _0x13c01a=_0x29bd3e,_0x2d7f06=this['_extensions'][_0x261bd4['extensionName']];let _0x3c0654=_0x2419c7[_0x13c01a(0x230)]?0x2:0x1,_0x1b8c6c=_0x2419c7['compress'],_0x2a09f4,_0x117b0c;typeof _0x4d5ac1==_0x13c01a(0x2b9)?(_0x2a09f4=Buffer[_0x13c01a(0x1c8)](_0x4d5ac1),_0x117b0c=!0x1):_0x232752(_0x4d5ac1)?(_0x2a09f4=_0x4d5ac1[_0x13c01a(0x2ef)],_0x117b0c=!0x1):(_0x4d5ac1=_0x45c834(_0x4d5ac1),_0x2a09f4=_0x4d5ac1[_0x13c01a(0x227)],_0x117b0c=_0x45c834['readOnly']),this[_0x13c01a(0x309)]?(this[_0x13c01a(0x309)]=!0x1,_0x1b8c6c&&_0x2d7f06&&_0x2d7f06[_0x13c01a(0x291)][_0x2d7f06['_isServer']?_0x13c01a(0x2eb):_0x13c01a(0x287)]&&(_0x1b8c6c=_0x2a09f4>=_0x2d7f06[_0x13c01a(0x2c5)]),this[_0x13c01a(0x358)]=_0x1b8c6c):(_0x1b8c6c=!0x1,_0x3c0654=0x0),_0x2419c7['fin']&&(this['_firstFragment']=!0x0);const _0xc40c1d={[_0x485a09]:_0x2a09f4,'fin':_0x2419c7[_0x13c01a(0x1eb)],'generateMask':this['_generateMask'],'mask':_0x2419c7[_0x13c01a(0x20b)],'maskBuffer':this[_0x13c01a(0x280)],'opcode':_0x3c0654,'readOnly':_0x117b0c,'rsv1':_0x1b8c6c};_0x232752(_0x4d5ac1)?this[_0x13c01a(0x279)]!==_0x456c51?this[_0x13c01a(0x1fc)]([this['getBlobData'],_0x4d5ac1,this[_0x13c01a(0x358)],_0xc40c1d,_0x1a8c70]):this[_0x13c01a(0x274)](_0x4d5ac1,this[_0x13c01a(0x358)],_0xc40c1d,_0x1a8c70):this['_state']!==_0x456c51?this[_0x13c01a(0x1fc)]([this['dispatch'],_0x4d5ac1,this[_0x13c01a(0x358)],_0xc40c1d,_0x1a8c70]):this['dispatch'](_0x4d5ac1,this['_compress'],_0xc40c1d,_0x1a8c70);}[_0x29bd3e(0x274)](_0x2c069f,_0x7ac952,_0xd35aed,_0x32b665){const _0x35b926=_0x29bd3e;this[_0x35b926(0x1e7)]+=_0xd35aed[_0x485a09],this[_0x35b926(0x279)]=_0x398bd8,_0x2c069f[_0x35b926(0x34d)]()['then'](_0x25ff90=>{const _0x33cf94=_0x35b926;if(this[_0x33cf94(0x1cb)][_0x33cf94(0x26a)]){const _0xc622f0=new Error('The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read');process['nextTick'](_0xef62d,this,_0xc622f0,_0x32b665);return;}this[_0x33cf94(0x1e7)]-=_0xd35aed[_0x485a09];const _0x302a6d=_0x45c834(_0x25ff90);_0x7ac952?this[_0x33cf94(0x223)](_0x302a6d,_0x7ac952,_0xd35aed,_0x32b665):(this[_0x33cf94(0x279)]=_0x456c51,this[_0x33cf94(0x2ca)](_0x184478[_0x33cf94(0x324)](_0x302a6d,_0xd35aed),_0x32b665),this[_0x33cf94(0x204)]());})[_0x35b926(0x371)](_0x4756cc=>{process['nextTick'](_0x2c791a,this,_0x4756cc,_0x32b665);});}[_0x29bd3e(0x223)](_0xb27bb9,_0x2dee93,_0x249ae2,_0x797ffc){const _0x2030fc=_0x29bd3e;if(!_0x2dee93){this[_0x2030fc(0x2ca)](_0x184478[_0x2030fc(0x324)](_0xb27bb9,_0x249ae2),_0x797ffc);return;}const _0x804ff7=this[_0x2030fc(0x261)][_0x261bd4[_0x2030fc(0x321)]];this[_0x2030fc(0x1e7)]+=_0x249ae2[_0x485a09],this[_0x2030fc(0x279)]=_0x3081c4,_0x804ff7['compress'](_0xb27bb9,_0x249ae2[_0x2030fc(0x1eb)],(_0x4a598b,_0x1ef993)=>{const _0xb7c462=_0x2030fc;if(this['_socket'][_0xb7c462(0x26a)]){const _0x459e70=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0xef62d(this,_0x459e70,_0x797ffc);return;}this[_0xb7c462(0x1e7)]-=_0x249ae2[_0x485a09],this[_0xb7c462(0x279)]=_0x456c51,_0x249ae2[_0xb7c462(0x259)]=!0x1,this[_0xb7c462(0x2ca)](_0x184478['frame'](_0x1ef993,_0x249ae2),_0x797ffc),this[_0xb7c462(0x204)]();});}[_0x29bd3e(0x204)](){const _0x250960=_0x29bd3e;for(;this[_0x250960(0x279)]===_0x456c51&&this[_0x250960(0x339)][_0x250960(0x227)];){const _0x594a34=this['_queue'][_0x250960(0x1cf)]();this[_0x250960(0x1e7)]-=_0x594a34[0x3][_0x485a09],Reflect[_0x250960(0x1f4)](_0x594a34[0x0],this,_0x594a34[_0x250960(0x1ea)](0x1));}}['enqueue'](_0x1cf75e){const _0xb9531d=_0x29bd3e;this[_0xb9531d(0x1e7)]+=_0x1cf75e[0x3][_0x485a09],this[_0xb9531d(0x339)]['push'](_0x1cf75e);}[_0x29bd3e(0x2ca)](_0x3eff39,_0xce7c91){const _0x4ef2d0=_0x29bd3e;_0x3eff39['length']===0x2?(this['_socket'][_0x4ef2d0(0x349)](),this[_0x4ef2d0(0x1cb)][_0x4ef2d0(0x2d3)](_0x3eff39[0x0]),this[_0x4ef2d0(0x1cb)][_0x4ef2d0(0x2d3)](_0x3eff39[0x1],_0xce7c91),this[_0x4ef2d0(0x1cb)][_0x4ef2d0(0x262)]()):this['_socket']['write'](_0x3eff39[0x0],_0xce7c91);}}Ee=_0x184478;function _0xef62d(_0x36f335,_0x442b8c,_0x57774c){const _0x255736=_0x29bd3e;typeof _0x57774c==_0x255736(0x29b)&&_0x57774c(_0x442b8c);for(let _0x4c9fd0=0x0;_0x4c9fd0<_0x36f335[_0x255736(0x339)][_0x255736(0x227)];_0x4c9fd0++){const _0x507967=_0x36f335[_0x255736(0x339)][_0x4c9fd0],_0x51f035=_0x507967[_0x507967['length']-0x1];typeof _0x51f035==_0x255736(0x29b)&&_0x51f035(_0x442b8c);}}function _0x2c791a(_0x5dfe35,_0x1c88b6,_0x2b948d){const _0x341dcd=_0x29bd3e;_0xef62d(_0x5dfe35,_0x1c88b6,_0x2b948d),_0x5dfe35[_0x341dcd(0x1d5)](_0x1c88b6);}return Ee;}var xe,Ze;function It(){const _0x1be97b=_0x572ec8;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x39ac23,kListener:_0x2b2ad7}=H(),_0x4de6d3=Symbol(_0x1be97b(0x307)),_0xde823a=Symbol(_0x1be97b(0x2f0)),_0x18d655=Symbol(_0x1be97b(0x1d9)),_0x5bc6c1=Symbol(_0x1be97b(0x1cc)),_0xd01f53=Symbol('kReason'),_0x35654e=Symbol(_0x1be97b(0x35b)),_0x5cf9ba=Symbol(_0x1be97b(0x2c9)),_0x2b523b=Symbol('kWasClean');class _0x37d3a6{constructor(_0x2544aa){this[_0x35654e]=null,this[_0x5cf9ba]=_0x2544aa;}get['target'](){return this[_0x35654e];}get['type'](){return this[_0x5cf9ba];}}Object['defineProperty'](_0x37d3a6[_0x1be97b(0x364)],_0x1be97b(0x245),{'enumerable':!0x0}),Object[_0x1be97b(0x2b8)](_0x37d3a6[_0x1be97b(0x364)],_0x1be97b(0x338),{'enumerable':!0x0});class _0x1daf98 extends _0x37d3a6{constructor(_0x2e4cce,_0x319f31={}){const _0x452eb0=_0x1be97b;super(_0x2e4cce),this[_0x4de6d3]=_0x319f31[_0x452eb0(0x1e5)]===void 0x0?0x0:_0x319f31[_0x452eb0(0x1e5)],this[_0xd01f53]=_0x319f31[_0x452eb0(0x1de)]===void 0x0?'':_0x319f31[_0x452eb0(0x1de)],this[_0x2b523b]=_0x319f31[_0x452eb0(0x1d7)]===void 0x0?!0x1:_0x319f31['wasClean'];}get[_0x1be97b(0x1e5)](){return this[_0x4de6d3];}get[_0x1be97b(0x1de)](){return this[_0xd01f53];}get[_0x1be97b(0x1d7)](){return this[_0x2b523b];}}Object[_0x1be97b(0x2b8)](_0x1daf98['prototype'],_0x1be97b(0x1e5),{'enumerable':!0x0}),Object[_0x1be97b(0x2b8)](_0x1daf98[_0x1be97b(0x364)],_0x1be97b(0x1de),{'enumerable':!0x0}),Object['defineProperty'](_0x1daf98[_0x1be97b(0x364)],_0x1be97b(0x1d7),{'enumerable':!0x0});class _0x5b97a1 extends _0x37d3a6{constructor(_0x25a66c,_0x79ffb4={}){const _0x5a0c2e=_0x1be97b;super(_0x25a66c),this[_0x18d655]=_0x79ffb4[_0x5a0c2e(0x26b)]===void 0x0?null:_0x79ffb4[_0x5a0c2e(0x26b)],this[_0x5bc6c1]=_0x79ffb4[_0x5a0c2e(0x2d7)]===void 0x0?'':_0x79ffb4[_0x5a0c2e(0x2d7)];}get[_0x1be97b(0x26b)](){return this[_0x18d655];}get[_0x1be97b(0x2d7)](){return this[_0x5bc6c1];}}Object[_0x1be97b(0x2b8)](_0x5b97a1[_0x1be97b(0x364)],_0x1be97b(0x26b),{'enumerable':!0x0}),Object['defineProperty'](_0x5b97a1['prototype'],_0x1be97b(0x2d7),{'enumerable':!0x0});class _0x5d36f9 extends _0x37d3a6{constructor(_0x5a4574,_0x215cb2={}){const _0x8689c1=_0x1be97b;super(_0x5a4574),this[_0xde823a]=_0x215cb2[_0x8689c1(0x243)]===void 0x0?null:_0x215cb2[_0x8689c1(0x243)];}get[_0x1be97b(0x243)](){return this[_0xde823a];}}Object[_0x1be97b(0x2b8)](_0x5d36f9[_0x1be97b(0x364)],'data',{'enumerable':!0x0}),xe={'CloseEvent':_0x1daf98,'ErrorEvent':_0x5b97a1,'Event':_0x37d3a6,'EventTarget':{'addEventListener'(_0x7bf83d,_0x23024f,_0x56e24e={}){const _0x27ad5d=_0x1be97b;for(const _0xd238b6 of this[_0x27ad5d(0x2ce)](_0x7bf83d))if(!_0x56e24e[_0x39ac23]&&_0xd238b6[_0x2b2ad7]===_0x23024f&&!_0xd238b6[_0x39ac23])return;let _0xcaee19;if(_0x7bf83d===_0x27ad5d(0x2d7))_0xcaee19=function(_0x1aae7c,_0x14065f){const _0x4082b3=_0x27ad5d,_0x48c44f=new _0x5d36f9('message',{'data':_0x14065f?_0x1aae7c:_0x1aae7c[_0x4082b3(0x2e7)]()});_0x48c44f[_0x35654e]=this,_0x4b0ffa(_0x23024f,this,_0x48c44f);};else{if(_0x7bf83d==='close')_0xcaee19=function(_0x3b00df,_0x273b97){const _0xdd7d1b=_0x27ad5d,_0x552a1a=new _0x1daf98(_0xdd7d1b(0x2c0),{'code':_0x3b00df,'reason':_0x273b97[_0xdd7d1b(0x2e7)](),'wasClean':this[_0xdd7d1b(0x1f0)]&&this['_closeFrameSent']});_0x552a1a[_0x35654e]=this,_0x4b0ffa(_0x23024f,this,_0x552a1a);};else{if(_0x7bf83d===_0x27ad5d(0x26b))_0xcaee19=function(_0x2e0106){const _0x263ab4=_0x27ad5d,_0x1117a2=new _0x5b97a1('error',{'error':_0x2e0106,'message':_0x2e0106[_0x263ab4(0x2d7)]});_0x1117a2[_0x35654e]=this,_0x4b0ffa(_0x23024f,this,_0x1117a2);};else{if(_0x7bf83d===_0x27ad5d(0x24c))_0xcaee19=function(){const _0x3d5bbc=_0x27ad5d,_0x109a48=new _0x37d3a6(_0x3d5bbc(0x24c));_0x109a48[_0x35654e]=this,_0x4b0ffa(_0x23024f,this,_0x109a48);};else return;}}}_0xcaee19[_0x39ac23]=!!_0x56e24e[_0x39ac23],_0xcaee19[_0x2b2ad7]=_0x23024f,_0x56e24e[_0x27ad5d(0x1ed)]?this[_0x27ad5d(0x1ed)](_0x7bf83d,_0xcaee19):this['on'](_0x7bf83d,_0xcaee19);},'removeEventListener'(_0x46cb45,_0x20c9da){const _0x2c5d97=_0x1be97b;for(const _0x50e7e7 of this['listeners'](_0x46cb45))if(_0x50e7e7[_0x2b2ad7]===_0x20c9da&&!_0x50e7e7[_0x39ac23]){this[_0x2c5d97(0x33b)](_0x46cb45,_0x50e7e7);break;}}},'MessageEvent':_0x5d36f9};function _0x4b0ffa(_0x28f9a7,_0x4f4bb3,_0x129b04){const _0x52a358=_0x1be97b;typeof _0x28f9a7=='object'&&_0x28f9a7['handleEvent']?_0x28f9a7['handleEvent'][_0x52a358(0x37b)](_0x28f9a7,_0x129b04):_0x28f9a7[_0x52a358(0x37b)](_0x4f4bb3,_0x129b04);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x2542dd}=ae();function _0x160337(_0x178149,_0x4d7c4b,_0x256e64){_0x178149[_0x4d7c4b]===void 0x0?_0x178149[_0x4d7c4b]=[_0x256e64]:_0x178149[_0x4d7c4b]['push'](_0x256e64);}function _0x11c8a2(_0x522b4d){const _0xbe9750=_0x480a,_0x263f70=Object[_0xbe9750(0x28d)](null);let _0x259aa6=Object['create'](null),_0x43973b=!0x1,_0x1a4994=!0x1,_0x43a768=!0x1,_0x44deab,_0x9fabf5,_0x159487=-0x1,_0xe4e430=-0x1,_0x3da597=-0x1,_0x58dcee=0x0;for(;_0x58dcee<_0x522b4d[_0xbe9750(0x227)];_0x58dcee++)if(_0xe4e430=_0x522b4d[_0xbe9750(0x380)](_0x58dcee),_0x44deab===void 0x0){if(_0x3da597===-0x1&&_0x2542dd[_0xe4e430]===0x1)_0x159487===-0x1&&(_0x159487=_0x58dcee);else{if(_0x58dcee!==0x0&&(_0xe4e430===0x20||_0xe4e430===0x9))_0x3da597===-0x1&&_0x159487!==-0x1&&(_0x3da597=_0x58dcee);else{if(_0xe4e430===0x3b||_0xe4e430===0x2c){if(_0x159487===-0x1)throw new SyntaxError(_0xbe9750(0x293)+_0x58dcee);_0x3da597===-0x1&&(_0x3da597=_0x58dcee);const _0xde5cb1=_0x522b4d['slice'](_0x159487,_0x3da597);_0xe4e430===0x2c?(_0x160337(_0x263f70,_0xde5cb1,_0x259aa6),_0x259aa6=Object[_0xbe9750(0x28d)](null)):_0x44deab=_0xde5cb1,_0x159487=_0x3da597=-0x1;}else throw new SyntaxError(_0xbe9750(0x293)+_0x58dcee);}}}else{if(_0x9fabf5===void 0x0){if(_0x3da597===-0x1&&_0x2542dd[_0xe4e430]===0x1)_0x159487===-0x1&&(_0x159487=_0x58dcee);else{if(_0xe4e430===0x20||_0xe4e430===0x9)_0x3da597===-0x1&&_0x159487!==-0x1&&(_0x3da597=_0x58dcee);else{if(_0xe4e430===0x3b||_0xe4e430===0x2c){if(_0x159487===-0x1)throw new SyntaxError(_0xbe9750(0x293)+_0x58dcee);_0x3da597===-0x1&&(_0x3da597=_0x58dcee),_0x160337(_0x259aa6,_0x522b4d[_0xbe9750(0x1ea)](_0x159487,_0x3da597),!0x0),_0xe4e430===0x2c&&(_0x160337(_0x263f70,_0x44deab,_0x259aa6),_0x259aa6=Object['create'](null),_0x44deab=void 0x0),_0x159487=_0x3da597=-0x1;}else{if(_0xe4e430===0x3d&&_0x159487!==-0x1&&_0x3da597===-0x1)_0x9fabf5=_0x522b4d[_0xbe9750(0x1ea)](_0x159487,_0x58dcee),_0x159487=_0x3da597=-0x1;else throw new SyntaxError(_0xbe9750(0x293)+_0x58dcee);}}}}else{if(_0x1a4994){if(_0x2542dd[_0xe4e430]!==0x1)throw new SyntaxError(_0xbe9750(0x293)+_0x58dcee);_0x159487===-0x1?_0x159487=_0x58dcee:_0x43973b||(_0x43973b=!0x0),_0x1a4994=!0x1;}else{if(_0x43a768){if(_0x2542dd[_0xe4e430]===0x1)_0x159487===-0x1&&(_0x159487=_0x58dcee);else{if(_0xe4e430===0x22&&_0x159487!==-0x1)_0x43a768=!0x1,_0x3da597=_0x58dcee;else{if(_0xe4e430===0x5c)_0x1a4994=!0x0;else throw new SyntaxError(_0xbe9750(0x293)+_0x58dcee);}}}else{if(_0xe4e430===0x22&&_0x522b4d['charCodeAt'](_0x58dcee-0x1)===0x3d)_0x43a768=!0x0;else{if(_0x3da597===-0x1&&_0x2542dd[_0xe4e430]===0x1)_0x159487===-0x1&&(_0x159487=_0x58dcee);else{if(_0x159487!==-0x1&&(_0xe4e430===0x20||_0xe4e430===0x9))_0x3da597===-0x1&&(_0x3da597=_0x58dcee);else{if(_0xe4e430===0x3b||_0xe4e430===0x2c){if(_0x159487===-0x1)throw new SyntaxError(_0xbe9750(0x293)+_0x58dcee);_0x3da597===-0x1&&(_0x3da597=_0x58dcee);let _0x4e95c5=_0x522b4d[_0xbe9750(0x1ea)](_0x159487,_0x3da597);_0x43973b&&(_0x4e95c5=_0x4e95c5[_0xbe9750(0x37a)](/\\/g,''),_0x43973b=!0x1),_0x160337(_0x259aa6,_0x9fabf5,_0x4e95c5),_0xe4e430===0x2c&&(_0x160337(_0x263f70,_0x44deab,_0x259aa6),_0x259aa6=Object[_0xbe9750(0x28d)](null),_0x44deab=void 0x0),_0x9fabf5=void 0x0,_0x159487=_0x3da597=-0x1;}else throw new SyntaxError(_0xbe9750(0x293)+_0x58dcee);}}}}}}}if(_0x159487===-0x1||_0x43a768||_0xe4e430===0x20||_0xe4e430===0x9)throw new SyntaxError(_0xbe9750(0x326));_0x3da597===-0x1&&(_0x3da597=_0x58dcee);const _0x195795=_0x522b4d[_0xbe9750(0x1ea)](_0x159487,_0x3da597);return _0x44deab===void 0x0?_0x160337(_0x263f70,_0x195795,_0x259aa6):(_0x9fabf5===void 0x0?_0x160337(_0x259aa6,_0x195795,!0x0):_0x43973b?_0x160337(_0x259aa6,_0x9fabf5,_0x195795[_0xbe9750(0x37a)](/\\/g,'')):_0x160337(_0x259aa6,_0x9fabf5,_0x195795),_0x160337(_0x263f70,_0x44deab,_0x259aa6)),_0x263f70;}function _0x326aa7(_0xd0a7e1){const _0x3f59d0=_0x480a;return Object[_0x3f59d0(0x37d)](_0xd0a7e1)['map'](_0x16f95f=>{const _0x41cf3b=_0x3f59d0;let _0x1683ff=_0xd0a7e1[_0x16f95f];return Array['isArray'](_0x1683ff)||(_0x1683ff=[_0x1683ff]),_0x1683ff[_0x41cf3b(0x329)](_0x4292b9=>[_0x16f95f]['concat'](Object[_0x41cf3b(0x37d)](_0x4292b9)[_0x41cf3b(0x329)](_0x5e348e=>{const _0x5843f9=_0x41cf3b;let _0x57ad6d=_0x4292b9[_0x5e348e];return Array[_0x5843f9(0x21e)](_0x57ad6d)||(_0x57ad6d=[_0x57ad6d]),_0x57ad6d['map'](_0x3cbf2c=>_0x3cbf2c===!0x0?_0x5e348e:_0x5e348e+'='+_0x3cbf2c)[_0x5843f9(0x232)](';\x20');}))[_0x41cf3b(0x232)](';\x20'))[_0x41cf3b(0x232)](',\x20');})[_0x3f59d0(0x232)](',\x20');}return be={'format':_0x326aa7,'parse':_0x11c8a2},be;}var we,Je;function Pe(){const _0x4e98b7=_0x572ec8;if(Je)return we;Je=0x1;const _0x474702=nt,_0x342b22=vt,_0x35cb16=ot,_0xd86e9f=St,_0x1b5448=Et,{randomBytes:_0x1798a1,createHash:_0x16b41f}=Le,{Duplex:_0x193560,Readable:_0x50d1d5}=oe,{URL:_0x3c3daa}=xt,_0x2ff4e4=he(),_0x3f1c4b=lt(),_0xfec125=ft(),{isBlob:_0x182bdc}=ae(),{BINARY_TYPES:_0x554242,EMPTY_BUFFER:_0x4d6e0b,GUID:_0x26da35,kForOnEventAttribute:_0x54a3dc,kListener:_0x22c576,kStatusCode:_0x97a0f0,kWebSocket:_0x81675b,NOOP:_0x474548}=H(),{EventTarget:{addEventListener:_0x9af6c8,removeEventListener:_0x8f8b73}}=It(),{format:_0x103b15,parse:_0x48d5d6}=ct(),{toBuffer:_0x168dd9}=ce(),_0x3b7df3=0x1e*0x3e8,_0x40b71e=Symbol(_0x4e98b7(0x21d)),_0x361c88=[0x8,0xd],_0x27d2b6=[_0x4e98b7(0x2cb),_0x4e98b7(0x26c),_0x4e98b7(0x35c),_0x4e98b7(0x234)],_0x1cf105=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x41c1c6 extends _0x474702{constructor(_0x473874,_0x5679b5,_0xb4efa3){const _0x3d6473=_0x4e98b7;super(),this['_binaryType']=_0x554242[0x0],this[_0x3d6473(0x31f)]=0x3ee,this[_0x3d6473(0x1f0)]=!0x1,this['_closeFrameSent']=!0x1,this[_0x3d6473(0x1d8)]=_0x4d6e0b,this[_0x3d6473(0x23a)]=null,this[_0x3d6473(0x25f)]=!0x1,this[_0x3d6473(0x261)]={},this[_0x3d6473(0x25e)]=!0x1,this['_protocol']='',this[_0x3d6473(0x249)]=_0x41c1c6['CONNECTING'],this[_0x3d6473(0x2ee)]=null,this[_0x3d6473(0x253)]=null,this[_0x3d6473(0x1cb)]=null,_0x473874!==null?(this['_bufferedAmount']=0x0,this['_isServer']=!0x1,this[_0x3d6473(0x255)]=0x0,_0x5679b5===void 0x0?_0x5679b5=[]:Array[_0x3d6473(0x21e)](_0x5679b5)||(typeof _0x5679b5=='object'&&_0x5679b5!==null?(_0xb4efa3=_0x5679b5,_0x5679b5=[]):_0x5679b5=[_0x5679b5]),_0x4e2730(this,_0x473874,_0x5679b5,_0xb4efa3)):(this[_0x3d6473(0x258)]=_0xb4efa3['autoPong'],this[_0x3d6473(0x1be)]=!0x0);}get[_0x4e98b7(0x2d8)](){const _0x55c356=_0x4e98b7;return this[_0x55c356(0x26d)];}set[_0x4e98b7(0x2d8)](_0x3740d6){const _0xbcbdac=_0x4e98b7;_0x554242['includes'](_0x3740d6)&&(this[_0xbcbdac(0x26d)]=_0x3740d6,this['_receiver']&&(this[_0xbcbdac(0x2ee)][_0xbcbdac(0x26d)]=_0x3740d6));}get[_0x4e98b7(0x382)](){const _0x48a2e3=_0x4e98b7;return this['_socket']?this[_0x48a2e3(0x1cb)][_0x48a2e3(0x37e)][_0x48a2e3(0x227)]+this[_0x48a2e3(0x253)][_0x48a2e3(0x1e7)]:this[_0x48a2e3(0x2a2)];}get[_0x4e98b7(0x2a1)](){const _0x2daa39=_0x4e98b7;return Object[_0x2daa39(0x37d)](this[_0x2daa39(0x261)])[_0x2daa39(0x232)]();}get[_0x4e98b7(0x366)](){return this['_paused'];}get['onclose'](){return null;}get[_0x4e98b7(0x1d5)](){return null;}get[_0x4e98b7(0x201)](){return null;}get[_0x4e98b7(0x1dd)](){return null;}get[_0x4e98b7(0x378)](){const _0x295290=_0x4e98b7;return this[_0x295290(0x22d)];}get[_0x4e98b7(0x2cf)](){const _0x2c9da4=_0x4e98b7;return this[_0x2c9da4(0x249)];}get['url'](){const _0x5b339e=_0x4e98b7;return this[_0x5b339e(0x225)];}[_0x4e98b7(0x36a)](_0x1e1ef8,_0x3fe1d5,_0x52978f){const _0x481cef=_0x4e98b7,_0x3bea2b=new _0x3f1c4b({'allowSynchronousEvents':_0x52978f[_0x481cef(0x27c)],'binaryType':this[_0x481cef(0x2d8)],'extensions':this[_0x481cef(0x261)],'isServer':this[_0x481cef(0x1be)],'maxPayload':_0x52978f[_0x481cef(0x2d4)],'skipUTF8Validation':_0x52978f[_0x481cef(0x1bd)]}),_0x3dbae3=new _0xfec125(_0x1e1ef8,this[_0x481cef(0x261)],_0x52978f[_0x481cef(0x35a)]);this[_0x481cef(0x2ee)]=_0x3bea2b,this[_0x481cef(0x253)]=_0x3dbae3,this['_socket']=_0x1e1ef8,_0x3bea2b[_0x81675b]=this,_0x3dbae3[_0x81675b]=this,_0x1e1ef8[_0x81675b]=this,_0x3bea2b['on'](_0x481cef(0x365),_0x445378),_0x3bea2b['on'](_0x481cef(0x268),_0x57aa59),_0x3bea2b['on']('error',_0x39a8f4),_0x3bea2b['on'](_0x481cef(0x2d7),_0x563354),_0x3bea2b['on'](_0x481cef(0x237),_0x1723bd),_0x3bea2b['on'](_0x481cef(0x269),_0x553347),_0x3dbae3[_0x481cef(0x1d5)]=_0x8619bc,_0x1e1ef8['setTimeout']&&_0x1e1ef8[_0x481cef(0x2e8)](0x0),_0x1e1ef8[_0x481cef(0x270)]&&_0x1e1ef8[_0x481cef(0x270)](),_0x3fe1d5[_0x481cef(0x227)]>0x0&&_0x1e1ef8[_0x481cef(0x228)](_0x3fe1d5),_0x1e1ef8['on'](_0x481cef(0x2c0),_0x214f07),_0x1e1ef8['on'](_0x481cef(0x243),_0x469410),_0x1e1ef8['on'](_0x481cef(0x289),_0x1cf8ea),_0x1e1ef8['on'](_0x481cef(0x26b),_0x20dc91),this[_0x481cef(0x249)]=_0x41c1c6[_0x481cef(0x26c)],this[_0x481cef(0x1d1)](_0x481cef(0x24c));}['emitClose'](){const _0x21ecf8=_0x4e98b7;if(!this[_0x21ecf8(0x1cb)]){this[_0x21ecf8(0x249)]=_0x41c1c6[_0x21ecf8(0x234)],this[_0x21ecf8(0x1d1)]('close',this[_0x21ecf8(0x31f)],this[_0x21ecf8(0x1d8)]);return;}this[_0x21ecf8(0x261)][_0x2ff4e4[_0x21ecf8(0x321)]]&&this['_extensions'][_0x2ff4e4[_0x21ecf8(0x321)]][_0x21ecf8(0x353)](),this[_0x21ecf8(0x2ee)][_0x21ecf8(0x33c)](),this['_readyState']=_0x41c1c6[_0x21ecf8(0x234)],this[_0x21ecf8(0x1d1)](_0x21ecf8(0x2c0),this[_0x21ecf8(0x31f)],this['_closeMessage']);}[_0x4e98b7(0x2c0)](_0x55b360,_0x57d29b){const _0x213890=_0x4e98b7;if(this[_0x213890(0x2cf)]!==_0x41c1c6[_0x213890(0x234)]){if(this[_0x213890(0x2cf)]===_0x41c1c6[_0x213890(0x2cb)]){_0x51a323(this,this[_0x213890(0x23b)],_0x213890(0x23f));return;}if(this[_0x213890(0x2cf)]===_0x41c1c6[_0x213890(0x35c)]){this[_0x213890(0x1dc)]&&(this[_0x213890(0x1f0)]||this[_0x213890(0x2ee)][_0x213890(0x37e)][_0x213890(0x215)])&&this[_0x213890(0x1cb)]['end']();return;}this[_0x213890(0x249)]=_0x41c1c6[_0x213890(0x35c)],this['_sender'][_0x213890(0x2c0)](_0x55b360,_0x57d29b,!this[_0x213890(0x1be)],_0x257dd9=>{const _0x4e0792=_0x213890;_0x257dd9||(this[_0x4e0792(0x1dc)]=!0x0,(this[_0x4e0792(0x1f0)]||this[_0x4e0792(0x2ee)]['_writableState']['errorEmitted'])&&this[_0x4e0792(0x1cb)][_0x4e0792(0x289)]());}),_0x367374(this);}}['pause'](){const _0x53beac=_0x4e98b7;this[_0x53beac(0x2cf)]===_0x41c1c6['CONNECTING']||this['readyState']===_0x41c1c6['CLOSED']||(this[_0x53beac(0x25e)]=!0x0,this[_0x53beac(0x1cb)][_0x53beac(0x226)]());}[_0x4e98b7(0x237)](_0x376286,_0x59b965,_0x5e09aa){const _0x4a486e=_0x4e98b7;if(this[_0x4a486e(0x2cf)]===_0x41c1c6['CONNECTING'])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x376286=='function'?(_0x5e09aa=_0x376286,_0x376286=_0x59b965=void 0x0):typeof _0x59b965==_0x4a486e(0x29b)&&(_0x5e09aa=_0x59b965,_0x59b965=void 0x0),typeof _0x376286==_0x4a486e(0x214)&&(_0x376286=_0x376286[_0x4a486e(0x2e7)]()),this[_0x4a486e(0x2cf)]!==_0x41c1c6[_0x4a486e(0x26c)]){_0x427956(this,_0x376286,_0x5e09aa);return;}_0x59b965===void 0x0&&(_0x59b965=!this[_0x4a486e(0x1be)]),this['_sender'][_0x4a486e(0x237)](_0x376286||_0x4d6e0b,_0x59b965,_0x5e09aa);}['pong'](_0xb20e0e,_0x32a3ef,_0x5a3b8f){const _0x447472=_0x4e98b7;if(this[_0x447472(0x2cf)]===_0x41c1c6['CONNECTING'])throw new Error(_0x447472(0x1c0));if(typeof _0xb20e0e==_0x447472(0x29b)?(_0x5a3b8f=_0xb20e0e,_0xb20e0e=_0x32a3ef=void 0x0):typeof _0x32a3ef==_0x447472(0x29b)&&(_0x5a3b8f=_0x32a3ef,_0x32a3ef=void 0x0),typeof _0xb20e0e==_0x447472(0x214)&&(_0xb20e0e=_0xb20e0e['toString']()),this['readyState']!==_0x41c1c6[_0x447472(0x26c)]){_0x427956(this,_0xb20e0e,_0x5a3b8f);return;}_0x32a3ef===void 0x0&&(_0x32a3ef=!this[_0x447472(0x1be)]),this[_0x447472(0x253)]['pong'](_0xb20e0e||_0x4d6e0b,_0x32a3ef,_0x5a3b8f);}[_0x4e98b7(0x35e)](){const _0x122c56=_0x4e98b7;this[_0x122c56(0x2cf)]===_0x41c1c6[_0x122c56(0x2cb)]||this['readyState']===_0x41c1c6[_0x122c56(0x234)]||(this[_0x122c56(0x25e)]=!0x1,this[_0x122c56(0x2ee)][_0x122c56(0x37e)]['needDrain']||this[_0x122c56(0x1cb)][_0x122c56(0x35e)]());}['send'](_0x38a06f,_0x264ddd,_0x366165){const _0x1a7a97=_0x4e98b7;if(this['readyState']===_0x41c1c6['CONNECTING'])throw new Error(_0x1a7a97(0x1c0));if(typeof _0x264ddd==_0x1a7a97(0x29b)&&(_0x366165=_0x264ddd,_0x264ddd={}),typeof _0x38a06f=='number'&&(_0x38a06f=_0x38a06f[_0x1a7a97(0x2e7)]()),this[_0x1a7a97(0x2cf)]!==_0x41c1c6[_0x1a7a97(0x26c)]){_0x427956(this,_0x38a06f,_0x366165);return;}const _0x36a915={'binary':typeof _0x38a06f!=_0x1a7a97(0x2b9),'mask':!this[_0x1a7a97(0x1be)],'compress':!0x0,'fin':!0x0,..._0x264ddd};this[_0x1a7a97(0x261)][_0x2ff4e4[_0x1a7a97(0x321)]]||(_0x36a915['compress']=!0x1),this[_0x1a7a97(0x253)][_0x1a7a97(0x360)](_0x38a06f||_0x4d6e0b,_0x36a915,_0x366165);}['terminate'](){const _0x5cb17d=_0x4e98b7;if(this['readyState']!==_0x41c1c6[_0x5cb17d(0x234)]){if(this[_0x5cb17d(0x2cf)]===_0x41c1c6[_0x5cb17d(0x2cb)]){_0x51a323(this,this[_0x5cb17d(0x23b)],_0x5cb17d(0x23f));return;}this[_0x5cb17d(0x1cb)]&&(this[_0x5cb17d(0x249)]=_0x41c1c6[_0x5cb17d(0x35c)],this['_socket'][_0x5cb17d(0x1df)]());}}}Object[_0x4e98b7(0x2b8)](_0x41c1c6,'CONNECTING',{'enumerable':!0x0,'value':_0x27d2b6[_0x4e98b7(0x306)](_0x4e98b7(0x2cb))}),Object['defineProperty'](_0x41c1c6[_0x4e98b7(0x364)],_0x4e98b7(0x2cb),{'enumerable':!0x0,'value':_0x27d2b6[_0x4e98b7(0x306)](_0x4e98b7(0x2cb))}),Object['defineProperty'](_0x41c1c6,_0x4e98b7(0x26c),{'enumerable':!0x0,'value':_0x27d2b6[_0x4e98b7(0x306)]('OPEN')}),Object[_0x4e98b7(0x2b8)](_0x41c1c6[_0x4e98b7(0x364)],'OPEN',{'enumerable':!0x0,'value':_0x27d2b6[_0x4e98b7(0x306)](_0x4e98b7(0x26c))}),Object[_0x4e98b7(0x2b8)](_0x41c1c6,_0x4e98b7(0x35c),{'enumerable':!0x0,'value':_0x27d2b6[_0x4e98b7(0x306)](_0x4e98b7(0x35c))}),Object['defineProperty'](_0x41c1c6[_0x4e98b7(0x364)],_0x4e98b7(0x35c),{'enumerable':!0x0,'value':_0x27d2b6[_0x4e98b7(0x306)]('CLOSING')}),Object[_0x4e98b7(0x2b8)](_0x41c1c6,_0x4e98b7(0x234),{'enumerable':!0x0,'value':_0x27d2b6[_0x4e98b7(0x306)](_0x4e98b7(0x234))}),Object[_0x4e98b7(0x2b8)](_0x41c1c6[_0x4e98b7(0x364)],_0x4e98b7(0x234),{'enumerable':!0x0,'value':_0x27d2b6[_0x4e98b7(0x306)](_0x4e98b7(0x234))}),[_0x4e98b7(0x2d8),_0x4e98b7(0x382),'extensions','isPaused',_0x4e98b7(0x378),_0x4e98b7(0x2cf),_0x4e98b7(0x224)]['forEach'](_0x4d3db4=>{const _0x11f4e0=_0x4e98b7;Object[_0x11f4e0(0x2b8)](_0x41c1c6[_0x11f4e0(0x364)],_0x4d3db4,{'enumerable':!0x0});}),[_0x4e98b7(0x24c),_0x4e98b7(0x26b),'close',_0x4e98b7(0x2d7)]['forEach'](_0xd2533d=>{const _0x1718e4=_0x4e98b7;Object[_0x1718e4(0x2b8)](_0x41c1c6['prototype'],'on'+_0xd2533d,{'enumerable':!0x0,'get'(){const _0x48f2ee=_0x1718e4;for(const _0x3cbe8e of this[_0x48f2ee(0x2ce)](_0xd2533d))if(_0x3cbe8e[_0x54a3dc])return _0x3cbe8e[_0x22c576];return null;},'set'(_0x556879){const _0x535b82=_0x1718e4;for(const _0x5e070a of this['listeners'](_0xd2533d))if(_0x5e070a[_0x54a3dc]){this[_0x535b82(0x33b)](_0xd2533d,_0x5e070a);break;}typeof _0x556879==_0x535b82(0x29b)&&this['addEventListener'](_0xd2533d,_0x556879,{[_0x54a3dc]:!0x0});}});}),_0x41c1c6[_0x4e98b7(0x364)][_0x4e98b7(0x2e9)]=_0x9af6c8,_0x41c1c6[_0x4e98b7(0x364)][_0x4e98b7(0x2de)]=_0x8f8b73,we=_0x41c1c6;function _0x4e2730(_0x3d98bf,_0xb5b07d,_0x29613b,_0x34252f){const _0x470f69=_0x4e98b7,_0x5a19b5={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x361c88[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x34252f,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x3d98bf['_autoPong']=_0x5a19b5[_0x470f69(0x2e3)],!_0x361c88['includes'](_0x5a19b5[_0x470f69(0x26e)]))throw new RangeError(_0x470f69(0x34b)+_0x5a19b5[_0x470f69(0x26e)]+'\x20(supported\x20versions:\x20'+_0x361c88[_0x470f69(0x232)](',\x20')+')');let _0x51e850;if(_0xb5b07d instanceof _0x3c3daa)_0x51e850=_0xb5b07d;else try{_0x51e850=new _0x3c3daa(_0xb5b07d);}catch{throw new SyntaxError('Invalid\x20URL:\x20'+_0xb5b07d);}_0x51e850['protocol']===_0x470f69(0x278)?_0x51e850['protocol']='ws:':_0x51e850[_0x470f69(0x378)]===_0x470f69(0x312)&&(_0x51e850['protocol']=_0x470f69(0x30c)),_0x3d98bf[_0x470f69(0x225)]=_0x51e850[_0x470f69(0x25a)];const _0x1d3f5d=_0x51e850[_0x470f69(0x378)]===_0x470f69(0x30c),_0x4c77fe=_0x51e850['protocol']===_0x470f69(0x2db);let _0x51cfe9;if(_0x51e850[_0x470f69(0x378)]!==_0x470f69(0x334)&&!_0x1d3f5d&&!_0x4c77fe?_0x51cfe9=_0x470f69(0x1f2):_0x4c77fe&&!_0x51e850[_0x470f69(0x21c)]?_0x51cfe9='The\x20URL\x27s\x20pathname\x20is\x20empty':_0x51e850[_0x470f69(0x376)]&&(_0x51cfe9='The\x20URL\x20contains\x20a\x20fragment\x20identifier'),_0x51cfe9){const _0xbcf6e8=new SyntaxError(_0x51cfe9);if(_0x3d98bf['_redirects']===0x0)throw _0xbcf6e8;_0x3cf149(_0x3d98bf,_0xbcf6e8);return;}const _0x89a993=_0x1d3f5d?0x1bb:0x50,_0x34301a=_0x1798a1(0x10)[_0x470f69(0x2e7)](_0x470f69(0x30f)),_0x177415=_0x1d3f5d?_0x342b22['request']:_0x35cb16[_0x470f69(0x327)],_0x21e157=new Set();let _0x2e4a23;if(_0x5a19b5[_0x470f69(0x1ce)]=_0x5a19b5[_0x470f69(0x1ce)]||(_0x1d3f5d?_0x10981b:_0xeb6f07),_0x5a19b5[_0x470f69(0x2f9)]=_0x5a19b5['defaultPort']||_0x89a993,_0x5a19b5[_0x470f69(0x2c8)]=_0x51e850[_0x470f69(0x2c8)]||_0x89a993,_0x5a19b5[_0x470f69(0x25c)]=_0x51e850['hostname'][_0x470f69(0x328)]('[')?_0x51e850[_0x470f69(0x2d9)][_0x470f69(0x1ea)](0x1,-0x1):_0x51e850[_0x470f69(0x2d9)],_0x5a19b5[_0x470f69(0x241)]={..._0x5a19b5[_0x470f69(0x241)],'Sec-WebSocket-Version':_0x5a19b5[_0x470f69(0x26e)],'Sec-WebSocket-Key':_0x34301a,'Connection':_0x470f69(0x32c),'Upgrade':_0x470f69(0x2e0)},_0x5a19b5[_0x470f69(0x1d0)]=_0x51e850[_0x470f69(0x21c)]+_0x51e850[_0x470f69(0x347)],_0x5a19b5['timeout']=_0x5a19b5[_0x470f69(0x381)],_0x5a19b5[_0x470f69(0x1f6)]&&(_0x2e4a23=new _0x2ff4e4(_0x5a19b5[_0x470f69(0x1f6)]!==!0x0?_0x5a19b5['perMessageDeflate']:{},!0x1,_0x5a19b5[_0x470f69(0x2d4)]),_0x5a19b5[_0x470f69(0x241)][_0x470f69(0x2fc)]=_0x103b15({[_0x2ff4e4[_0x470f69(0x321)]]:_0x2e4a23[_0x470f69(0x210)]()})),_0x29613b[_0x470f69(0x227)]){for(const _0x864f84 of _0x29613b){if(typeof _0x864f84!=_0x470f69(0x2b9)||!_0x1cf105['test'](_0x864f84)||_0x21e157['has'](_0x864f84))throw new SyntaxError(_0x470f69(0x26f));_0x21e157[_0x470f69(0x265)](_0x864f84);}_0x5a19b5[_0x470f69(0x241)][_0x470f69(0x2fd)]=_0x29613b[_0x470f69(0x232)](',');}if(_0x5a19b5[_0x470f69(0x303)]&&(_0x5a19b5['protocolVersion']<0xd?_0x5a19b5['headers'][_0x470f69(0x29f)]=_0x5a19b5[_0x470f69(0x303)]:_0x5a19b5[_0x470f69(0x241)][_0x470f69(0x296)]=_0x5a19b5['origin']),(_0x51e850[_0x470f69(0x31a)]||_0x51e850[_0x470f69(0x273)])&&(_0x5a19b5[_0x470f69(0x28c)]=_0x51e850[_0x470f69(0x31a)]+':'+_0x51e850[_0x470f69(0x273)]),_0x4c77fe){const _0x271993=_0x5a19b5[_0x470f69(0x1d0)][_0x470f69(0x239)](':');_0x5a19b5[_0x470f69(0x27f)]=_0x271993[0x0],_0x5a19b5[_0x470f69(0x1d0)]=_0x271993[0x1];}let _0x518e29;if(_0x5a19b5[_0x470f69(0x23e)]){if(_0x3d98bf[_0x470f69(0x255)]===0x0){_0x3d98bf[_0x470f69(0x2ff)]=_0x4c77fe,_0x3d98bf['_originalSecure']=_0x1d3f5d,_0x3d98bf[_0x470f69(0x31d)]=_0x4c77fe?_0x5a19b5['socketPath']:_0x51e850[_0x470f69(0x25c)];const _0x2fd74e=_0x34252f&&_0x34252f['headers'];if(_0x34252f={..._0x34252f,'headers':{}},_0x2fd74e){for(const [_0x513f78,_0x35592c]of Object['entries'](_0x2fd74e))_0x34252f[_0x470f69(0x241)][_0x513f78[_0x470f69(0x28b)]()]=_0x35592c;}}else{if(_0x3d98bf[_0x470f69(0x368)]('redirect')===0x0){const _0x46d0f8=_0x4c77fe?_0x3d98bf['_originalIpc']?_0x5a19b5[_0x470f69(0x27f)]===_0x3d98bf[_0x470f69(0x31d)]:!0x1:_0x3d98bf['_originalIpc']?!0x1:_0x51e850['host']===_0x3d98bf[_0x470f69(0x31d)];(!_0x46d0f8||_0x3d98bf['_originalSecure']&&!_0x1d3f5d)&&(delete _0x5a19b5['headers'][_0x470f69(0x1d3)],delete _0x5a19b5[_0x470f69(0x241)][_0x470f69(0x2b3)],_0x46d0f8||delete _0x5a19b5[_0x470f69(0x241)][_0x470f69(0x25c)],_0x5a19b5[_0x470f69(0x28c)]=void 0x0);}}_0x5a19b5[_0x470f69(0x28c)]&&!_0x34252f[_0x470f69(0x241)][_0x470f69(0x1d3)]&&(_0x34252f[_0x470f69(0x241)][_0x470f69(0x1d3)]=_0x470f69(0x1e8)+Buffer[_0x470f69(0x36f)](_0x5a19b5['auth'])[_0x470f69(0x2e7)](_0x470f69(0x30f))),_0x518e29=_0x3d98bf[_0x470f69(0x23b)]=_0x177415(_0x5a19b5),_0x3d98bf[_0x470f69(0x255)]&&_0x3d98bf['emit'](_0x470f69(0x332),_0x3d98bf['url'],_0x518e29);}else _0x518e29=_0x3d98bf['_req']=_0x177415(_0x5a19b5);_0x5a19b5[_0x470f69(0x1f9)]&&_0x518e29['on']('timeout',()=>{const _0x2788a6=_0x470f69;_0x51a323(_0x3d98bf,_0x518e29,_0x2788a6(0x216));}),_0x518e29['on'](_0x470f69(0x26b),_0x5a4cc4=>{const _0x265948=_0x470f69;_0x518e29===null||_0x518e29[_0x40b71e]||(_0x518e29=_0x3d98bf[_0x265948(0x23b)]=null,_0x3cf149(_0x3d98bf,_0x5a4cc4));}),_0x518e29['on'](_0x470f69(0x1ff),_0x15dfe6=>{const _0x2127c2=_0x470f69,_0x2e3c21=_0x15dfe6[_0x2127c2(0x241)][_0x2127c2(0x336)],_0x20a5ad=_0x15dfe6[_0x2127c2(0x373)];if(_0x2e3c21&&_0x5a19b5[_0x2127c2(0x23e)]&&_0x20a5ad>=0x12c&&_0x20a5ad<0x190){if(++_0x3d98bf[_0x2127c2(0x255)]>_0x5a19b5[_0x2127c2(0x29d)]){_0x51a323(_0x3d98bf,_0x518e29,_0x2127c2(0x32d));return;}_0x518e29['abort']();let _0xf6fddb;try{_0xf6fddb=new _0x3c3daa(_0x2e3c21,_0xb5b07d);}catch{const _0x371682=new SyntaxError(_0x2127c2(0x294)+_0x2e3c21);_0x3cf149(_0x3d98bf,_0x371682);return;}_0x4e2730(_0x3d98bf,_0xf6fddb,_0x29613b,_0x34252f);}else _0x3d98bf[_0x2127c2(0x1d1)](_0x2127c2(0x29c),_0x518e29,_0x15dfe6)||_0x51a323(_0x3d98bf,_0x518e29,_0x2127c2(0x25b)+_0x15dfe6[_0x2127c2(0x373)]);}),_0x518e29['on'](_0x470f69(0x342),(_0x4ee113,_0x58e697,_0x259c65)=>{const _0x4fea7f=_0x470f69;if(_0x3d98bf[_0x4fea7f(0x1d1)](_0x4fea7f(0x342),_0x4ee113),_0x3d98bf[_0x4fea7f(0x2cf)]!==_0x41c1c6[_0x4fea7f(0x2cb)])return;_0x518e29=_0x3d98bf[_0x4fea7f(0x23b)]=null;const _0x50b3d3=_0x4ee113['headers']['upgrade'];if(_0x50b3d3===void 0x0||_0x50b3d3[_0x4fea7f(0x28b)]()!=='websocket'){_0x51a323(_0x3d98bf,_0x58e697,_0x4fea7f(0x272));return;}const _0xf8a7c3=_0x16b41f(_0x4fea7f(0x276))['update'](_0x34301a+_0x26da35)[_0x4fea7f(0x32b)](_0x4fea7f(0x30f));if(_0x4ee113[_0x4fea7f(0x241)][_0x4fea7f(0x1c6)]!==_0xf8a7c3){_0x51a323(_0x3d98bf,_0x58e697,'Invalid\x20Sec-WebSocket-Accept\x20header');return;}const _0x7667f8=_0x4ee113[_0x4fea7f(0x241)]['sec-websocket-protocol'];let _0x18ea50;if(_0x7667f8!==void 0x0?_0x21e157[_0x4fea7f(0x2ef)]?_0x21e157[_0x4fea7f(0x2cd)](_0x7667f8)||(_0x18ea50='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0x18ea50=_0x4fea7f(0x2ba):_0x21e157[_0x4fea7f(0x2ef)]&&(_0x18ea50=_0x4fea7f(0x31b)),_0x18ea50){_0x51a323(_0x3d98bf,_0x58e697,_0x18ea50);return;}_0x7667f8&&(_0x3d98bf['_protocol']=_0x7667f8);const _0x524d12=_0x4ee113[_0x4fea7f(0x241)]['sec-websocket-extensions'];if(_0x524d12!==void 0x0){if(!_0x2e4a23){_0x51a323(_0x3d98bf,_0x58e697,_0x4fea7f(0x211));return;}let _0x4a09c3;try{_0x4a09c3=_0x48d5d6(_0x524d12);}catch{_0x51a323(_0x3d98bf,_0x58e697,_0x4fea7f(0x235));return;}const _0x519a68=Object[_0x4fea7f(0x37d)](_0x4a09c3);if(_0x519a68[_0x4fea7f(0x227)]!==0x1||_0x519a68[0x0]!==_0x2ff4e4[_0x4fea7f(0x321)]){_0x51a323(_0x3d98bf,_0x58e697,'Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested');return;}try{_0x2e4a23['accept'](_0x4a09c3[_0x2ff4e4[_0x4fea7f(0x321)]]);}catch{_0x51a323(_0x3d98bf,_0x58e697,_0x4fea7f(0x235));return;}_0x3d98bf[_0x4fea7f(0x261)][_0x2ff4e4[_0x4fea7f(0x321)]]=_0x2e4a23;}_0x3d98bf[_0x4fea7f(0x36a)](_0x58e697,_0x259c65,{'allowSynchronousEvents':_0x5a19b5['allowSynchronousEvents'],'generateMask':_0x5a19b5[_0x4fea7f(0x35a)],'maxPayload':_0x5a19b5['maxPayload'],'skipUTF8Validation':_0x5a19b5['skipUTF8Validation']});}),_0x5a19b5[_0x470f69(0x319)]?_0x5a19b5[_0x470f69(0x319)](_0x518e29,_0x3d98bf):_0x518e29[_0x470f69(0x289)]();}function _0x3cf149(_0x2de353,_0x34152e){const _0x5d23d7=_0x4e98b7;_0x2de353[_0x5d23d7(0x249)]=_0x41c1c6['CLOSING'],_0x2de353[_0x5d23d7(0x25f)]=!0x0,_0x2de353[_0x5d23d7(0x1d1)](_0x5d23d7(0x26b),_0x34152e),_0x2de353[_0x5d23d7(0x32a)]();}function _0xeb6f07(_0x4e64c9){const _0xbdf717=_0x4e98b7;return _0x4e64c9[_0xbdf717(0x1d0)]=_0x4e64c9[_0xbdf717(0x27f)],_0xd86e9f['connect'](_0x4e64c9);}function _0x10981b(_0x2b9e72){const _0x73cbcf=_0x4e98b7;return _0x2b9e72[_0x73cbcf(0x1d0)]=void 0x0,!_0x2b9e72[_0x73cbcf(0x2a5)]&&_0x2b9e72[_0x73cbcf(0x2a5)]!==''&&(_0x2b9e72[_0x73cbcf(0x2a5)]=_0xd86e9f[_0x73cbcf(0x359)](_0x2b9e72[_0x73cbcf(0x25c)])?'':_0x2b9e72[_0x73cbcf(0x25c)]),_0x1b5448[_0x73cbcf(0x361)](_0x2b9e72);}function _0x51a323(_0x37ac8f,_0x477677,_0x3d91a7){const _0x2a8144=_0x4e98b7;_0x37ac8f[_0x2a8144(0x249)]=_0x41c1c6['CLOSING'];const _0x1079f3=new Error(_0x3d91a7);Error[_0x2a8144(0x34e)](_0x1079f3,_0x51a323),_0x477677[_0x2a8144(0x1c1)]?(_0x477677[_0x40b71e]=!0x0,_0x477677[_0x2a8144(0x30b)](),_0x477677[_0x2a8144(0x28f)]&&!_0x477677[_0x2a8144(0x28f)]['destroyed']&&_0x477677[_0x2a8144(0x28f)][_0x2a8144(0x1df)](),process['nextTick'](_0x3cf149,_0x37ac8f,_0x1079f3)):(_0x477677[_0x2a8144(0x1df)](_0x1079f3),_0x477677[_0x2a8144(0x1ed)](_0x2a8144(0x26b),_0x37ac8f[_0x2a8144(0x1d1)]['bind'](_0x37ac8f,_0x2a8144(0x26b))),_0x477677[_0x2a8144(0x1ed)](_0x2a8144(0x2c0),_0x37ac8f[_0x2a8144(0x32a)][_0x2a8144(0x315)](_0x37ac8f)));}function _0x427956(_0x303fa4,_0x5e8b1e,_0xd470ae){const _0x10c18f=_0x4e98b7;if(_0x5e8b1e){const _0x42be95=_0x182bdc(_0x5e8b1e)?_0x5e8b1e[_0x10c18f(0x2ef)]:_0x168dd9(_0x5e8b1e)[_0x10c18f(0x227)];_0x303fa4[_0x10c18f(0x1cb)]?_0x303fa4[_0x10c18f(0x253)][_0x10c18f(0x1e7)]+=_0x42be95:_0x303fa4[_0x10c18f(0x2a2)]+=_0x42be95;}if(_0xd470ae){const _0x92f554=new Error(_0x10c18f(0x2ab)+_0x303fa4[_0x10c18f(0x2cf)]+'\x20('+_0x27d2b6[_0x303fa4[_0x10c18f(0x2cf)]]+')');process['nextTick'](_0xd470ae,_0x92f554);}}function _0x445378(_0x3a6917,_0x712729){const _0x197ef2=_0x4e98b7,_0x582ed2=this[_0x81675b];_0x582ed2[_0x197ef2(0x1f0)]=!0x0,_0x582ed2[_0x197ef2(0x1d8)]=_0x712729,_0x582ed2[_0x197ef2(0x31f)]=_0x3a6917,_0x582ed2['_socket'][_0x81675b]!==void 0x0&&(_0x582ed2['_socket'][_0x197ef2(0x33b)](_0x197ef2(0x243),_0x469410),process[_0x197ef2(0x1f3)](_0x236591,_0x582ed2[_0x197ef2(0x1cb)]),_0x3a6917===0x3ed?_0x582ed2[_0x197ef2(0x2c0)]():_0x582ed2[_0x197ef2(0x2c0)](_0x3a6917,_0x712729));}function _0x57aa59(){const _0x56fd4b=this[_0x81675b];_0x56fd4b['isPaused']||_0x56fd4b['_socket']['resume']();}function _0x39a8f4(_0x4ad6b2){const _0x480d5b=_0x4e98b7,_0x199fdc=this[_0x81675b];_0x199fdc[_0x480d5b(0x1cb)][_0x81675b]!==void 0x0&&(_0x199fdc['_socket'][_0x480d5b(0x33b)]('data',_0x469410),process[_0x480d5b(0x1f3)](_0x236591,_0x199fdc['_socket']),_0x199fdc[_0x480d5b(0x2c0)](_0x4ad6b2[_0x97a0f0])),_0x199fdc[_0x480d5b(0x25f)]||(_0x199fdc['_errorEmitted']=!0x0,_0x199fdc[_0x480d5b(0x1d1)]('error',_0x4ad6b2));}function _0x45d2a3(){this[_0x81675b]['emitClose']();}function _0x563354(_0x50d2c9,_0xc17470){const _0x2fcc62=_0x4e98b7;this[_0x81675b][_0x2fcc62(0x1d1)](_0x2fcc62(0x2d7),_0x50d2c9,_0xc17470);}function _0x1723bd(_0x4adb6d){const _0x2d1e22=_0x4e98b7,_0x5bbda0=this[_0x81675b];_0x5bbda0['_autoPong']&&_0x5bbda0[_0x2d1e22(0x269)](_0x4adb6d,!this[_0x2d1e22(0x1be)],_0x474548),_0x5bbda0['emit']('ping',_0x4adb6d);}function _0x553347(_0x7de12e){const _0x1c159d=_0x4e98b7;this[_0x81675b]['emit'](_0x1c159d(0x269),_0x7de12e);}function _0x236591(_0x5e6d83){const _0x19ca80=_0x4e98b7;_0x5e6d83[_0x19ca80(0x35e)]();}function _0x8619bc(_0x528dd0){const _0x35ecf9=_0x4e98b7,_0x324a38=this[_0x81675b];_0x324a38[_0x35ecf9(0x2cf)]!==_0x41c1c6[_0x35ecf9(0x234)]&&(_0x324a38[_0x35ecf9(0x2cf)]===_0x41c1c6[_0x35ecf9(0x26c)]&&(_0x324a38[_0x35ecf9(0x249)]=_0x41c1c6['CLOSING'],_0x367374(_0x324a38)),this[_0x35ecf9(0x1cb)][_0x35ecf9(0x289)](),_0x324a38['_errorEmitted']||(_0x324a38[_0x35ecf9(0x25f)]=!0x0,_0x324a38[_0x35ecf9(0x1d1)](_0x35ecf9(0x26b),_0x528dd0)));}function _0x367374(_0x3bb9fd){const _0x65438b=_0x4e98b7;_0x3bb9fd[_0x65438b(0x23a)]=setTimeout(_0x3bb9fd['_socket'][_0x65438b(0x1df)][_0x65438b(0x315)](_0x3bb9fd[_0x65438b(0x1cb)]),_0x3b7df3);}function _0x214f07(){const _0x1579cc=_0x4e98b7,_0x2978d0=this[_0x81675b];this['removeListener'](_0x1579cc(0x2c0),_0x214f07),this[_0x1579cc(0x33b)]('data',_0x469410),this[_0x1579cc(0x33b)]('end',_0x1cf8ea),_0x2978d0[_0x1579cc(0x249)]=_0x41c1c6[_0x1579cc(0x35c)];let _0x34477a;!this[_0x1579cc(0x257)][_0x1579cc(0x37c)]&&!_0x2978d0[_0x1579cc(0x1f0)]&&!_0x2978d0[_0x1579cc(0x2ee)]['_writableState']['errorEmitted']&&(_0x34477a=_0x2978d0[_0x1579cc(0x1cb)][_0x1579cc(0x352)]())!==null&&_0x2978d0[_0x1579cc(0x2ee)][_0x1579cc(0x2d3)](_0x34477a),_0x2978d0['_receiver'][_0x1579cc(0x289)](),this[_0x81675b]=void 0x0,clearTimeout(_0x2978d0['_closeTimer']),_0x2978d0[_0x1579cc(0x2ee)][_0x1579cc(0x37e)]['finished']||_0x2978d0['_receiver'][_0x1579cc(0x37e)][_0x1579cc(0x215)]?_0x2978d0['emitClose']():(_0x2978d0[_0x1579cc(0x2ee)]['on'](_0x1579cc(0x26b),_0x45d2a3),_0x2978d0[_0x1579cc(0x2ee)]['on'](_0x1579cc(0x2dd),_0x45d2a3));}function _0x469410(_0x3e1dab){const _0x2cfd75=_0x4e98b7;this[_0x81675b]['_receiver'][_0x2cfd75(0x2d3)](_0x3e1dab)||this[_0x2cfd75(0x226)]();}function _0x1cf8ea(){const _0x279e43=_0x4e98b7,_0xe7cc29=this[_0x81675b];_0xe7cc29[_0x279e43(0x249)]=_0x41c1c6[_0x279e43(0x35c)],_0xe7cc29['_receiver'][_0x279e43(0x289)](),this['end']();}function _0x20dc91(){const _0x11d81=_0x4e98b7,_0x56cd82=this[_0x81675b];this[_0x11d81(0x33b)](_0x11d81(0x26b),_0x20dc91),this['on'](_0x11d81(0x26b),_0x474548),_0x56cd82&&(_0x56cd82[_0x11d81(0x249)]=_0x41c1c6['CLOSING'],this['destroy']());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x1266bd}=oe;function _0x4fbaff(_0x52bb49){const _0x27c4f6=_0x480a;_0x52bb49[_0x27c4f6(0x1d1)](_0x27c4f6(0x2c0));}function _0x479d5f(){const _0x376f1d=_0x480a;!this[_0x376f1d(0x26a)]&&this[_0x376f1d(0x37e)][_0x376f1d(0x28a)]&&this['destroy']();}function _0x26893d(_0x4da139){const _0x4083a7=_0x480a;this[_0x4083a7(0x33b)](_0x4083a7(0x26b),_0x26893d),this[_0x4083a7(0x1df)](),this[_0x4083a7(0x368)]('error')===0x0&&this[_0x4083a7(0x1d1)](_0x4083a7(0x26b),_0x4da139);}function _0x3b0bfd(_0x34fa2b,_0x23643f){const _0x807f93=_0x480a;let _0x133e11=!0x0;const _0x1ab2f8=new _0x1266bd({..._0x23643f,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x34fa2b['on'](_0x807f93(0x2d7),function(_0x3ea42f,_0x230877){const _0x32cabe=_0x807f93,_0x5726b7=!_0x230877&&_0x1ab2f8[_0x32cabe(0x257)][_0x32cabe(0x219)]?_0x3ea42f[_0x32cabe(0x2e7)]():_0x3ea42f;_0x1ab2f8[_0x32cabe(0x21b)](_0x5726b7)||_0x34fa2b[_0x32cabe(0x226)]();}),_0x34fa2b[_0x807f93(0x1ed)](_0x807f93(0x26b),function(_0x178852){const _0x1f5706=_0x807f93;_0x1ab2f8['destroyed']||(_0x133e11=!0x1,_0x1ab2f8[_0x1f5706(0x1df)](_0x178852));}),_0x34fa2b['once'](_0x807f93(0x2c0),function(){const _0x3409ee=_0x807f93;_0x1ab2f8[_0x3409ee(0x26a)]||_0x1ab2f8[_0x3409ee(0x21b)](null);}),_0x1ab2f8[_0x807f93(0x2d2)]=function(_0x1bcf1a,_0x4e8875){const _0x17b24c=_0x807f93;if(_0x34fa2b[_0x17b24c(0x2cf)]===_0x34fa2b[_0x17b24c(0x234)]){_0x4e8875(_0x1bcf1a),process['nextTick'](_0x4fbaff,_0x1ab2f8);return;}let _0x1b20e0=!0x1;_0x34fa2b[_0x17b24c(0x1ed)](_0x17b24c(0x26b),function(_0x4564d7){_0x1b20e0=!0x0,_0x4e8875(_0x4564d7);}),_0x34fa2b[_0x17b24c(0x1ed)](_0x17b24c(0x2c0),function(){const _0x211afa=_0x17b24c;_0x1b20e0||_0x4e8875(_0x1bcf1a),process[_0x211afa(0x1f3)](_0x4fbaff,_0x1ab2f8);}),_0x133e11&&_0x34fa2b[_0x17b24c(0x233)]();},_0x1ab2f8[_0x807f93(0x35f)]=function(_0x36ab93){const _0x4aeeba=_0x807f93;if(_0x34fa2b[_0x4aeeba(0x2cf)]===_0x34fa2b['CONNECTING']){_0x34fa2b['once'](_0x4aeeba(0x24c),function(){const _0x16cd6d=_0x4aeeba;_0x1ab2f8[_0x16cd6d(0x35f)](_0x36ab93);});return;}_0x34fa2b['_socket']!==null&&(_0x34fa2b[_0x4aeeba(0x1cb)][_0x4aeeba(0x37e)]['finished']?(_0x36ab93(),_0x1ab2f8['_readableState'][_0x4aeeba(0x37c)]&&_0x1ab2f8[_0x4aeeba(0x1df)]()):(_0x34fa2b['_socket'][_0x4aeeba(0x1ed)](_0x4aeeba(0x2dd),function(){_0x36ab93();}),_0x34fa2b[_0x4aeeba(0x2c0)]()));},_0x1ab2f8[_0x807f93(0x318)]=function(){const _0x4d191b=_0x807f93;_0x34fa2b['isPaused']&&_0x34fa2b[_0x4d191b(0x35e)]();},_0x1ab2f8['_write']=function(_0x11c663,_0x3b8c09,_0x123418){const _0x277827=_0x807f93;if(_0x34fa2b[_0x277827(0x2cf)]===_0x34fa2b[_0x277827(0x2cb)]){_0x34fa2b[_0x277827(0x1ed)]('open',function(){const _0x11927f=_0x277827;_0x1ab2f8[_0x11927f(0x2f6)](_0x11c663,_0x3b8c09,_0x123418);});return;}_0x34fa2b[_0x277827(0x360)](_0x11c663,_0x123418);},_0x1ab2f8['on'](_0x807f93(0x289),_0x479d5f),_0x1ab2f8['on'](_0x807f93(0x26b),_0x26893d),_0x1ab2f8;}return Oe=_0x3b0bfd,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x5e1864}=ae();function _0x452d69(_0x46e39b){const _0x48618b=_0x480a,_0x5eabfa=new Set();let _0x1fc0ca=-0x1,_0x740876=-0x1,_0x40022c=0x0;for(_0x40022c;_0x40022c<_0x46e39b[_0x48618b(0x227)];_0x40022c++){const _0x3e42f5=_0x46e39b[_0x48618b(0x380)](_0x40022c);if(_0x740876===-0x1&&_0x5e1864[_0x3e42f5]===0x1)_0x1fc0ca===-0x1&&(_0x1fc0ca=_0x40022c);else{if(_0x40022c!==0x0&&(_0x3e42f5===0x20||_0x3e42f5===0x9))_0x740876===-0x1&&_0x1fc0ca!==-0x1&&(_0x740876=_0x40022c);else{if(_0x3e42f5===0x2c){if(_0x1fc0ca===-0x1)throw new SyntaxError(_0x48618b(0x293)+_0x40022c);_0x740876===-0x1&&(_0x740876=_0x40022c);const _0x52afe3=_0x46e39b[_0x48618b(0x1ea)](_0x1fc0ca,_0x740876);if(_0x5eabfa[_0x48618b(0x2cd)](_0x52afe3))throw new SyntaxError('The\x20\x22'+_0x52afe3+_0x48618b(0x2af));_0x5eabfa[_0x48618b(0x265)](_0x52afe3),_0x1fc0ca=_0x740876=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x40022c);}}}if(_0x1fc0ca===-0x1||_0x740876!==-0x1)throw new SyntaxError(_0x48618b(0x326));const _0x1302c4=_0x46e39b[_0x48618b(0x1ea)](_0x1fc0ca,_0x40022c);if(_0x5eabfa[_0x48618b(0x2cd)](_0x1302c4))throw new SyntaxError(_0x48618b(0x34f)+_0x1302c4+_0x48618b(0x2af));return _0x5eabfa[_0x48618b(0x265)](_0x1302c4),_0x5eabfa;}return Ce={'parse':_0x452d69},Ce;}var Te,rt;function Ft(){const _0x3fd269=_0x572ec8;if(rt)return Te;rt=0x1;const _0x4bb1b9=nt,_0x15053d=ot,{Duplex:_0x3ed31c}=oe,{createHash:_0x482113}=Le,_0x6799a7=ct(),_0x5da046=he(),_0xc09a1d=At(),_0x1b9015=Pe(),{GUID:_0x1a17b,kWebSocket:_0x4b0865}=H(),_0x17d1eb=/^[+/0-9A-Za-z]{22}==$/,_0x3e2717=0x0,_0x18d48=0x1,_0x5c2014=0x2;class _0xdb7109 extends _0x4bb1b9{constructor(_0x9dda24,_0x4f1770){const _0x1b1fee=_0x480a;if(super(),_0x9dda24={'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':_0x1b9015,..._0x9dda24},_0x9dda24[_0x1b1fee(0x2c8)]==null&&!_0x9dda24['server']&&!_0x9dda24[_0x1b1fee(0x362)]||_0x9dda24[_0x1b1fee(0x2c8)]!=null&&(_0x9dda24[_0x1b1fee(0x28e)]||_0x9dda24[_0x1b1fee(0x362)])||_0x9dda24[_0x1b1fee(0x28e)]&&_0x9dda24[_0x1b1fee(0x362)])throw new TypeError(_0x1b1fee(0x283));if(_0x9dda24['port']!=null?(this[_0x1b1fee(0x30a)]=_0x15053d[_0x1b1fee(0x2e6)]((_0x1e88f4,_0x1d0f19)=>{const _0x1c3adc=_0x1b1fee,_0x455001=_0x15053d[_0x1c3adc(0x1e2)][0x1aa];_0x1d0f19[_0x1c3adc(0x263)](0x1aa,{'Content-Length':_0x455001[_0x1c3adc(0x227)],'Content-Type':_0x1c3adc(0x1f1)}),_0x1d0f19[_0x1c3adc(0x289)](_0x455001);}),this['_server'][_0x1b1fee(0x221)](_0x9dda24[_0x1b1fee(0x2c8)],_0x9dda24[_0x1b1fee(0x25c)],_0x9dda24[_0x1b1fee(0x205)],_0x4f1770)):_0x9dda24[_0x1b1fee(0x28e)]&&(this[_0x1b1fee(0x30a)]=_0x9dda24[_0x1b1fee(0x28e)]),this[_0x1b1fee(0x30a)]){const _0x4820f2=this[_0x1b1fee(0x1d1)]['bind'](this,_0x1b1fee(0x24a));this[_0x1b1fee(0x1f7)]=_0x164a52(this[_0x1b1fee(0x30a)],{'listening':this['emit']['bind'](this,'listening'),'error':this['emit'][_0x1b1fee(0x315)](this,'error'),'upgrade':(_0x1f14f3,_0x37a2dc,_0x227da3)=>{const _0x42bc21=_0x1b1fee;this[_0x42bc21(0x31c)](_0x1f14f3,_0x37a2dc,_0x227da3,_0x4820f2);}});}_0x9dda24[_0x1b1fee(0x1f6)]===!0x0&&(_0x9dda24[_0x1b1fee(0x1f6)]={}),_0x9dda24[_0x1b1fee(0x220)]&&(this['clients']=new Set(),this[_0x1b1fee(0x218)]=!0x1),this[_0x1b1fee(0x20c)]=_0x9dda24,this[_0x1b1fee(0x279)]=_0x3e2717;}[_0x3fd269(0x2ad)](){const _0x54a6a2=_0x3fd269;if(this[_0x54a6a2(0x20c)][_0x54a6a2(0x362)])throw new Error(_0x54a6a2(0x2a0));return this['_server']?this['_server']['address']():null;}[_0x3fd269(0x2c0)](_0x1cc293){const _0x2fcd35=_0x3fd269;if(this[_0x2fcd35(0x279)]===_0x5c2014){_0x1cc293&&this['once'](_0x2fcd35(0x2c0),()=>{const _0x929898=_0x2fcd35;_0x1cc293(new Error(_0x929898(0x1ec)));}),process[_0x2fcd35(0x1f3)](_0x54f656,this);return;}if(_0x1cc293&&this['once']('close',_0x1cc293),this['_state']!==_0x18d48){if(this[_0x2fcd35(0x279)]=_0x18d48,this['options'][_0x2fcd35(0x362)]||this['options'][_0x2fcd35(0x28e)])this[_0x2fcd35(0x30a)]&&(this['_removeListeners'](),this[_0x2fcd35(0x1f7)]=this[_0x2fcd35(0x30a)]=null),this[_0x2fcd35(0x2c1)]?this[_0x2fcd35(0x2c1)][_0x2fcd35(0x2ef)]?this[_0x2fcd35(0x218)]=!0x0:process['nextTick'](_0x54f656,this):process[_0x2fcd35(0x1f3)](_0x54f656,this);else{const _0xedcd5a=this[_0x2fcd35(0x30a)];this[_0x2fcd35(0x1f7)](),this['_removeListeners']=this[_0x2fcd35(0x30a)]=null,_0xedcd5a['close'](()=>{_0x54f656(this);});}}}[_0x3fd269(0x264)](_0x5eb534){const _0x402b46=_0x3fd269;if(this[_0x402b46(0x20c)][_0x402b46(0x1d0)]){const _0x472837=_0x5eb534[_0x402b46(0x224)]['indexOf']('?');if((_0x472837!==-0x1?_0x5eb534[_0x402b46(0x224)][_0x402b46(0x1ea)](0x0,_0x472837):_0x5eb534[_0x402b46(0x224)])!==this['options'][_0x402b46(0x1d0)])return!0x1;}return!0x0;}['handleUpgrade'](_0x324e52,_0x57039f,_0x1a3aab,_0x50c128){const _0x3b07f5=_0x3fd269;_0x57039f['on'](_0x3b07f5(0x26b),_0xcc0bc8);const _0x3429de=_0x324e52[_0x3b07f5(0x241)][_0x3b07f5(0x1d2)],_0x363f8c=_0x324e52[_0x3b07f5(0x241)]['upgrade'],_0x1b5719=+_0x324e52['headers']['sec-websocket-version'];if(_0x324e52['method']!=='GET'){_0xdeb806(this,_0x324e52,_0x57039f,0x195,_0x3b07f5(0x1d6));return;}if(_0x363f8c===void 0x0||_0x363f8c[_0x3b07f5(0x28b)]()!==_0x3b07f5(0x2e0)){_0xdeb806(this,_0x324e52,_0x57039f,0x190,_0x3b07f5(0x272));return;}if(_0x3429de===void 0x0||!_0x17d1eb[_0x3b07f5(0x1bf)](_0x3429de)){_0xdeb806(this,_0x324e52,_0x57039f,0x190,_0x3b07f5(0x375));return;}if(_0x1b5719!==0xd&&_0x1b5719!==0x8){_0xdeb806(this,_0x324e52,_0x57039f,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header',{'Sec-WebSocket-Version':_0x3b07f5(0x248)});return;}if(!this[_0x3b07f5(0x264)](_0x324e52)){_0x54c445(_0x57039f,0x190);return;}const _0x558566=_0x324e52['headers'][_0x3b07f5(0x340)];let _0x5b9665=new Set();if(_0x558566!==void 0x0)try{_0x5b9665=_0xc09a1d[_0x3b07f5(0x314)](_0x558566);}catch{_0xdeb806(this,_0x324e52,_0x57039f,0x190,_0x3b07f5(0x29e));return;}const _0x1bbeb7=_0x324e52[_0x3b07f5(0x241)][_0x3b07f5(0x292)],_0x2f85af={};if(this['options'][_0x3b07f5(0x1f6)]&&_0x1bbeb7!==void 0x0){const _0x2c8132=new _0x5da046(this[_0x3b07f5(0x20c)][_0x3b07f5(0x1f6)],!0x0,this[_0x3b07f5(0x20c)][_0x3b07f5(0x2d4)]);try{const _0x12bede=_0x6799a7[_0x3b07f5(0x314)](_0x1bbeb7);_0x12bede[_0x5da046[_0x3b07f5(0x321)]]&&(_0x2c8132[_0x3b07f5(0x27d)](_0x12bede[_0x5da046[_0x3b07f5(0x321)]]),_0x2f85af[_0x5da046[_0x3b07f5(0x321)]]=_0x2c8132);}catch{_0xdeb806(this,_0x324e52,_0x57039f,0x190,_0x3b07f5(0x33f));return;}}if(this[_0x3b07f5(0x20c)][_0x3b07f5(0x2f7)]){const _0x186ebc={'origin':_0x324e52[_0x3b07f5(0x241)][''+(_0x1b5719===0x8?'sec-websocket-origin':_0x3b07f5(0x303))],'secure':!!(_0x324e52['socket'][_0x3b07f5(0x2cc)]||_0x324e52['socket'][_0x3b07f5(0x33d)]),'req':_0x324e52};if(this[_0x3b07f5(0x20c)][_0x3b07f5(0x2f7)]['length']===0x2){this['options'][_0x3b07f5(0x2f7)](_0x186ebc,(_0x36e372,_0x344895,_0x58269d,_0x2eac50)=>{if(!_0x36e372)return _0x54c445(_0x57039f,_0x344895||0x191,_0x58269d,_0x2eac50);this['completeUpgrade'](_0x2f85af,_0x3429de,_0x5b9665,_0x324e52,_0x57039f,_0x1a3aab,_0x50c128);});return;}if(!this[_0x3b07f5(0x20c)][_0x3b07f5(0x2f7)](_0x186ebc))return _0x54c445(_0x57039f,0x191);}this[_0x3b07f5(0x33a)](_0x2f85af,_0x3429de,_0x5b9665,_0x324e52,_0x57039f,_0x1a3aab,_0x50c128);}[_0x3fd269(0x33a)](_0x1354ce,_0x1d1586,_0x59ed19,_0x5bfa20,_0x1c4cb9,_0x4b74e1,_0x4db5d2){const _0x3cdd63=_0x3fd269;if(!_0x1c4cb9[_0x3cdd63(0x1e9)]||!_0x1c4cb9[_0x3cdd63(0x229)])return _0x1c4cb9[_0x3cdd63(0x1df)]();if(_0x1c4cb9[_0x4b0865])throw new Error(_0x3cdd63(0x267));if(this['_state']>_0x3e2717)return _0x54c445(_0x1c4cb9,0x1f7);const _0x1cb582=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0x3cdd63(0x310),'Connection:\x20Upgrade',_0x3cdd63(0x357)+_0x482113(_0x3cdd63(0x276))[_0x3cdd63(0x25d)](_0x1d1586+_0x1a17b)[_0x3cdd63(0x32b)](_0x3cdd63(0x30f))],_0x449654=new this[(_0x3cdd63(0x20c))][(_0x3cdd63(0x2b4))](null,void 0x0,this[_0x3cdd63(0x20c)]);if(_0x59ed19[_0x3cdd63(0x2ef)]){const _0x5c82d4=this[_0x3cdd63(0x20c)]['handleProtocols']?this[_0x3cdd63(0x20c)]['handleProtocols'](_0x59ed19,_0x5bfa20):_0x59ed19[_0x3cdd63(0x284)]()[_0x3cdd63(0x1ee)]()[_0x3cdd63(0x2c6)];_0x5c82d4&&(_0x1cb582['push'](_0x3cdd63(0x27e)+_0x5c82d4),_0x449654[_0x3cdd63(0x22d)]=_0x5c82d4);}if(_0x1354ce[_0x5da046[_0x3cdd63(0x321)]]){const _0x1142c4=_0x1354ce[_0x5da046['extensionName']][_0x3cdd63(0x291)],_0x543684=_0x6799a7[_0x3cdd63(0x285)]({[_0x5da046['extensionName']]:[_0x1142c4]});_0x1cb582[_0x3cdd63(0x21b)](_0x3cdd63(0x379)+_0x543684),_0x449654[_0x3cdd63(0x261)]=_0x1354ce;}this[_0x3cdd63(0x1d1)](_0x3cdd63(0x241),_0x1cb582,_0x5bfa20),_0x1c4cb9[_0x3cdd63(0x2d3)](_0x1cb582['concat']('\x0d\x0a')[_0x3cdd63(0x232)]('\x0d\x0a')),_0x1c4cb9['removeListener']('error',_0xcc0bc8),_0x449654['setSocket'](_0x1c4cb9,_0x4b74e1,{'allowSynchronousEvents':this[_0x3cdd63(0x20c)]['allowSynchronousEvents'],'maxPayload':this[_0x3cdd63(0x20c)]['maxPayload'],'skipUTF8Validation':this[_0x3cdd63(0x20c)][_0x3cdd63(0x1bd)]}),this[_0x3cdd63(0x2c1)]&&(this[_0x3cdd63(0x2c1)][_0x3cdd63(0x265)](_0x449654),_0x449654['on']('close',()=>{const _0x3b0f10=_0x3cdd63;this[_0x3b0f10(0x2c1)][_0x3b0f10(0x206)](_0x449654),this[_0x3b0f10(0x218)]&&!this[_0x3b0f10(0x2c1)][_0x3b0f10(0x2ef)]&&process[_0x3b0f10(0x1f3)](_0x54f656,this);})),_0x4db5d2(_0x449654,_0x5bfa20);}}Te=_0xdb7109;function _0x164a52(_0x4dd6e6,_0x2c096e){const _0x5dd615=_0x3fd269;for(const _0x39ea4 of Object[_0x5dd615(0x37d)](_0x2c096e))_0x4dd6e6['on'](_0x39ea4,_0x2c096e[_0x39ea4]);return function(){const _0x51a32e=_0x5dd615;for(const _0x5f2aee of Object[_0x51a32e(0x37d)](_0x2c096e))_0x4dd6e6[_0x51a32e(0x33b)](_0x5f2aee,_0x2c096e[_0x5f2aee]);};}function _0x54f656(_0x39d685){const _0x5691c2=_0x3fd269;_0x39d685['_state']=_0x5c2014,_0x39d685[_0x5691c2(0x1d1)](_0x5691c2(0x2c0));}function _0xcc0bc8(){const _0x7cd400=_0x3fd269;this[_0x7cd400(0x1df)]();}function _0x54c445(_0x33393b,_0x48f9ea,_0x498d96,_0x25dc3a){const _0x29b652=_0x3fd269;_0x498d96=_0x498d96||_0x15053d[_0x29b652(0x1e2)][_0x48f9ea],_0x25dc3a={'Connection':_0x29b652(0x2c0),'Content-Type':_0x29b652(0x254),'Content-Length':Buffer[_0x29b652(0x1c8)](_0x498d96),..._0x25dc3a},_0x33393b['once'](_0x29b652(0x2dd),_0x33393b[_0x29b652(0x1df)]),_0x33393b[_0x29b652(0x289)]('HTTP/1.1\x20'+_0x48f9ea+'\x20'+_0x15053d[_0x29b652(0x1e2)][_0x48f9ea]+'\x0d\x0a'+Object[_0x29b652(0x37d)](_0x25dc3a)['map'](_0x599c20=>_0x599c20+':\x20'+_0x25dc3a[_0x599c20])[_0x29b652(0x232)]('\x0d\x0a')+_0x29b652(0x240)+_0x498d96);}function _0xdeb806(_0x4715d6,_0x1c6cf3,_0x506b6d,_0x230e05,_0x477071,_0xda693){const _0x1ddb64=_0x3fd269;if(_0x4715d6['listenerCount'](_0x1ddb64(0x212))){const _0x4311f1=new Error(_0x477071);Error[_0x1ddb64(0x34e)](_0x4311f1,_0xdeb806),_0x4715d6[_0x1ddb64(0x1d1)]('wsClientError',_0x4311f1,_0x506b6d,_0x1c6cf3);}else _0x54c445(_0x506b6d,_0x230e05,_0x477071,_0xda693);}return Te;}Ft();var jt=Object[_0x572ec8(0x354)],Wt=(_0x3d1913,_0x50770d,_0x5235da,_0xa88f09)=>{const _0x110fbe=_0x572ec8;for(var _0xeccdd9=_0xa88f09>0x1?void 0x0:_0xa88f09?jt(_0x50770d,_0x5235da):_0x50770d,_0xcbf208=_0x3d1913[_0x110fbe(0x227)]-0x1,_0x9912d;_0xcbf208>=0x0;_0xcbf208--)(_0x9912d=_0x3d1913[_0xcbf208])&&(_0xeccdd9=_0x9912d(_0xeccdd9)||_0xeccdd9);return _0xeccdd9;},qt=(_0x5e173f,_0x10d39e)=>(_0x45a26a,_0x2137d6)=>_0x10d39e(_0x45a26a,_0x2137d6,_0x5e173f);let ke=class extends A[_0x572ec8(0x343)]{constructor(_0x2da6b3){const _0x4b44d7=_0x572ec8;super(),this[_0x4b44d7(0x246)]=_0x2da6b3;}[_0x572ec8(0x24e)](_0x43bb3b){const _0x305e2a=_0x572ec8;var _0x2c82c2;const _0x5c3764=(_0x2c82c2=this['_configService'][_0x305e2a(0x277)](fe))==null?void 0x0:_0x2c82c2[_0x305e2a(0x1c9)];try{const _0x284e93=new $t(_0x43bb3b,{'headers':{..._0x5c3764}}),_0x4c9368=new A[(_0x305e2a(0x302))]();return{'URL':_0x43bb3b,'close':(_0x37d075,_0x274fbc)=>{const _0x596d72=_0x305e2a;_0x284e93[_0x596d72(0x2c0)](_0x37d075,_0x274fbc),_0x4c9368[_0x596d72(0x2ea)]();},'send':_0x3af9e7=>{const _0x1bfbb9=_0x305e2a;_0x284e93[_0x1bfbb9(0x360)](_0x3af9e7);},'open$':new V['Observable'](_0x3b94df=>{const _0x4f378e=_0x305e2a,_0xa0e9ee=_0x2cc578=>_0x3b94df[_0x4f378e(0x1ee)](_0x2cc578);_0x284e93[_0x4f378e(0x2e9)](_0x4f378e(0x24c),_0xa0e9ee),_0x4c9368['add'](A['toDisposable'](()=>_0x284e93[_0x4f378e(0x2de)]('open',_0xa0e9ee)));})[_0x305e2a(0x316)](V['share']()),'close$':new V[(_0x305e2a(0x1f5))](_0x2c1fa9=>{const _0x20366a=_0x305e2a,_0x53dfed=_0xf916f6=>_0x2c1fa9['next'](_0xf916f6);_0x284e93['addEventListener']('close',_0x53dfed),_0x4c9368['add'](A[_0x20366a(0x2f3)](()=>_0x284e93[_0x20366a(0x2de)]('close',_0x53dfed)));})[_0x305e2a(0x316)](V['share']()),'error$':new V['Observable'](_0x1f7434=>{const _0x54c021=_0x305e2a,_0x5c9208=_0x550d68=>_0x1f7434['next'](_0x550d68);_0x284e93[_0x54c021(0x2e9)](_0x54c021(0x26b),_0x5c9208),_0x4c9368[_0x54c021(0x265)](A['toDisposable'](()=>_0x284e93[_0x54c021(0x2de)]('error',_0x5c9208)));})[_0x305e2a(0x316)](V[_0x305e2a(0x20d)]()),'message$':new V['Observable'](_0x2519c4=>{const _0x539e99=_0x305e2a,_0x1adc8f=_0x40cb76=>_0x2519c4['next'](_0x40cb76);_0x284e93[_0x539e99(0x2e9)]('message',_0x1adc8f),_0x4c9368[_0x539e99(0x265)](A[_0x539e99(0x2f3)](()=>_0x284e93[_0x539e99(0x2de)](_0x539e99(0x2d7),_0x1adc8f)));})[_0x305e2a(0x316)](V[_0x305e2a(0x20d)]())};}catch(_0x293677){return console[_0x305e2a(0x26b)](_0x293677),null;}}};ke=Wt([qt(0x0,A[_0x572ec8(0x2b6)])],ke);var Gt=Object[_0x572ec8(0x2b8)],Vt=Object[_0x572ec8(0x354)],Ht=(_0x3a4ae0,_0x4c5d58,_0x42ede4)=>_0x4c5d58 in _0x3a4ae0?Gt(_0x3a4ae0,_0x4c5d58,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x42ede4}):_0x3a4ae0[_0x4c5d58]=_0x42ede4,zt=(_0x127636,_0x57d413,_0x28fddd,_0x30aa06)=>{const _0x5cf56f=_0x572ec8;for(var _0x1f759c=_0x30aa06>0x1?void 0x0:_0x30aa06?Vt(_0x57d413,_0x28fddd):_0x57d413,_0x4a761e=_0x127636[_0x5cf56f(0x227)]-0x1,_0x4c19be;_0x4a761e>=0x0;_0x4a761e--)(_0x4c19be=_0x127636[_0x4a761e])&&(_0x1f759c=_0x4c19be(_0x1f759c)||_0x1f759c);return _0x1f759c;},Ne=(_0x1b54c3,_0x706fa2)=>(_0xf6642b,_0x2a6ec5)=>_0x706fa2(_0xf6642b,_0x2a6ec5,_0x1b54c3),Yt=(_0x3f0d67,_0x2c1bbd,_0xfd876b)=>Ht(_0x3f0d67,_0x2c1bbd+'',_0xfd876b);exports[_0x572ec8(0x242)]=class extends A[_0x572ec8(0x1da)]{constructor(_0x3f6f4b=Ct,_0x2176b3,_0x5b030d,_0x30e462){const _0x4d635b=_0x572ec8;_0x3f6f4b[_0x4d635b(0x1c9)]||_0x2176b3[_0x4d635b(0x203)](_0x4d635b(0x2f4)),super(),this[_0x4d635b(0x246)]=_0x5b030d,this[_0x4d635b(0x1f8)]=_0x30e462,this[_0x4d635b(0x246)][_0x4d635b(0x2da)](fe,_0x3f6f4b);}['onStarting'](){const _0x31b692=_0x572ec8;this[_0x31b692(0x282)]();}[_0x572ec8(0x282)](){const _0x1875d0=_0x572ec8;A['registerDependencies'](this['_injector'],[[it[_0x1875d0(0x27a)],{'useClass':ke}]]);}},Yt(exports[_0x572ec8(0x242)],_0x572ec8(0x377),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),exports['UniverCollaborationClientNodePlugin']=zt([A[_0x572ec8(0x213)](st[_0x572ec8(0x2d5)]),Ne(0x1,A['ILogService']),Ne(0x2,A[_0x572ec8(0x2b6)]),Ne(0x3,A[_0x572ec8(0x2b2)](A['Injector']))],exports[_0x572ec8(0x242)]);var Kt=Object[_0x572ec8(0x354)],Xt=(_0x271c75,_0x277109,_0x837ccc,_0x462c20)=>{const _0x5b7ead=_0x572ec8;for(var _0x33e402=_0x462c20>0x1?void 0x0:_0x462c20?Kt(_0x277109,_0x837ccc):_0x277109,_0x8cc2f0=_0x271c75[_0x5b7ead(0x227)]-0x1,_0x29fea5;_0x8cc2f0>=0x0;_0x8cc2f0--)(_0x29fea5=_0x271c75[_0x8cc2f0])&&(_0x33e402=_0x29fea5(_0x33e402)||_0x33e402);return _0x33e402;},ne=(_0x5c3ae7,_0x53e7af)=>(_0x251e7e,_0x1e571e)=>_0x53e7af(_0x251e7e,_0x1e571e,_0x5c3ae7);exports[_0x572ec8(0x304)]=class extends st[_0x572ec8(0x311)]{constructor(_0x174ad7,_0x238266,_0xbe0fb,_0x56efb8,_0x18c7be){const _0x31a7db=_0x572ec8;super(_0x174ad7,_0x238266,_0xbe0fb,_0x56efb8,_0x18c7be);const _0x22a038=this[_0x31a7db(0x246)][_0x31a7db(0x277)](fe);this[_0x31a7db(0x2e4)]['registerHTTPInterceptor']({'interceptor':(_0x231570,_0x4ced95)=>{const _0x3ec835=_0x31a7db;var _0x2a0fec;const _0x51308f=_0x231570[_0x3ec835(0x241)];return(_0x2a0fec=_0x22a038==null?void 0x0:_0x22a038[_0x3ec835(0x1c9)])!=null&&_0x2a0fec['cookie']&&_0x51308f[_0x3ec835(0x341)](_0x3ec835(0x1e0),_0x22a038['customHeaders']['cookie']),_0x4ced95(_0x231570);}});}async[_0x572ec8(0x24e)](_0x14af4b){const _0x50f82f=_0x572ec8;return this[_0x50f82f(0x290)](_0x14af4b);}},exports[_0x572ec8(0x304)]=Xt([ne(0x0,A[_0x572ec8(0x2b2)](A['Injector'])),ne(0x1,A[_0x572ec8(0x2b2)](it['HTTPService'])),ne(0x2,A['IConfigService']),ne(0x3,A['ILogService']),ne(0x4,Ot[_0x572ec8(0x2a8)])],exports['NodeCollaborationSocketService']),exports['COLLABORATION_CLIENT_NODE_CONFIG_KEY']=fe;
1
+ 'use strict';const _0x4c4d18=_0x11b5;(function(_0x3ce92a,_0x2413e4){const _0x38f747=_0x11b5,_0xe94f22=_0x3ce92a();while(!![]){try{const _0x1a353d=-parseInt(_0x38f747(0x259))/0x1*(-parseInt(_0x38f747(0x2bc))/0x2)+parseInt(_0x38f747(0x224))/0x3*(-parseInt(_0x38f747(0x27a))/0x4)+parseInt(_0x38f747(0x1ff))/0x5*(-parseInt(_0x38f747(0x2b8))/0x6)+-parseInt(_0x38f747(0x1f8))/0x7*(-parseInt(_0x38f747(0x21a))/0x8)+-parseInt(_0x38f747(0x1d8))/0x9*(-parseInt(_0x38f747(0x2e1))/0xa)+-parseInt(_0x38f747(0x2b0))/0xb+parseInt(_0x38f747(0x278))/0xc*(parseInt(_0x38f747(0x154))/0xd);if(_0x1a353d===_0x2413e4)break;else _0xe94f22['push'](_0xe94f22['shift']());}catch(_0x2d3cb6){_0xe94f22['push'](_0xe94f22['shift']());}}}(_0xf76a,0xd8f59));function _0xf76a(){const _0x5db7fc=['WS_ERR_EXPECTED_FIN','nodebuffer','\x0d\x0a\x0d\x0a','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','binary','The\x20server\x20is\x20not\x20running','registerHTTPInterceptor','timeout','toLowerCase','isValidUTF8','CONNECTING','_no_context_takeover','isBuffer','_masked','ILogService','_compress','_fragmented','Connection:\x20Upgrade','controlMessage','_queue','8KLilGS','kError','_closeCode','_errorEmitted','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','createConnection','callback','serverMaxWindowBits','listenerCount','WS_ERR_INVALID_OPCODE','19746WhaNxM','update','RSV1\x20must\x20be\x20clear','haveLength','_httpService','uncork','Upgrade:\x20websocket','kRun','options','_server','Inject','UniverCollaborationClientPlugin','Sec-WebSocket-Accept:\x20','forEach','from','server_max_window_bits','map','resume','host','includes','object','set','string','wasClean','error','dataMessage','STATUS_CODES','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','function','readUInt16BE','getInfo','serverNoContextTakeover','generateMask','_autoPong','_max_window_bits','authorization','clientMaxWindowBits','needDrain','terminate','pong','size','GET','_decompress','open','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','Cookie','WS_ERR_INVALID_UTF8','_writableState','writeUIntBE','invalid\x20UTF-8\x20sequence','_bufferedBytes','code','_socket','68384WHXqAU','handshakeTimeout','pipe','Upgrade','sec-websocket-origin','_readableState','noServer','binaryType','verifyClient','server','followRedirects','consume','password','isPaused','socket','alloc','type','Invalid\x20Sec-WebSocket-Extensions\x20header','threshold','cookie','_loop','unshift','jobs','readOnly','_errored','parse','writable','File','_messageLength','decompress','_binaryType','12jfoWZb','clients','848RBbydy','add','setTimeout','_redirects','call','skipUTF8Validation','onerror','_allowSynchronousEvents','\x22\x20must\x20have\x20only\x20a\x20single\x20value','getPayloadLength16','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','writeUInt16BE','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','_receiver','Module','_opcode','kWasClean','accept','Observable','_originalHostOrSocketPath','Max\x20payload\x20size\x20exceeded','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','WS_NO_UTF_8_VALIDATE','byteLength','\x22:\x20','sha1','DisposableCollection','_buffers','_isServer','backlog','next','nextTick','_sender','_url','unmask','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','_generateMask','WS_ERR_UNEXPECTED_MASK','redirect','sec-websocket-extensions','WS_ERR_UNEXPECTED_RSV_1','_threshold','sendFrame','getConfig','WS_ERR_UNEXPECTED_RSV_2_3','arraybuffer','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','handleProtocols','invalid\x20opcode\x20','Opening\x20handshake\x20has\x20timed\x20out','_totalPayloadLength','_skipUTF8Validation','connection','handleEvent','10044958gYhRgS','_readyState','defaultPort','Unexpected\x20server\x20response:\x20','warn','onStarting','server_no_context_takeover','onclose','52914WQUFak','Invalid\x20value\x20for\x20parameter\x20\x22','toDisposable','request','4fTOyKW','default','kType','_fragments','normalizeParams','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','clientNoContextTakeover','catch','handleUpgrade','acceptAsClient','text/plain','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','apply','createSocket','setSocket','_paused','finishRequest','entries','params','pathname','concurrencyLimit','_protocol','hash','flush','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','create','Invalid\x20Sec-WebSocket-Protocol\x20header','_mask','_final','url','status-code','removeAllListeners','href','exports','values','Parameter\x20\x22','76480yRSRKs','WebSocket\x20is\x20not\x20open:\x20readyState\x20','customHeaders','fin','total-length','authorized','acceptAsServer','_registerDependencies','path','upgrade','connect','Injector','offer','_closeFrameReceived','UniverCollaborationClientNodePlugin','share','abort','OPEN','reset','_firstFragment','defineProperty','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','push','end','_extensions','createDeflateRaw','pause','CLOSING','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','protocolVersion','objectMode','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','once','slice','_originalSecure','maxPayload','emitClose','getData','dispatch','_injector','close','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','56261959uUUYuS','digest','freeze','Basic\x20','bind','extensions','listen','opcode','kReason','permessage-deflate','DependentOn','getOwnPropertyDescriptor','hasOwnProperty','toStringTag','WS_ERR_INVALID_CLOSE_CODE','invalid\x20payload\x20length\x20','keys','target','maxRedirects','unexpected-response','client_max_window_bits','_closeMessage','IConfigService','Unexpected\x20character\x20at\x20index\x20','_read','sec-websocket-protocol','charCodeAt','writeHead','mask','number','listening','ping','_req','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','Invalid\x20HTTP\x20method','client','clientTracking','ws:','extensionName','env','listeners','_deflate','_configService','_payloadLength','CLOSED','concurrency','_closeFrameSent','Unexpected\x20end\x20of\x20input','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','arrayBuffer','send','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','Sec-WebSocket-Protocol','readUInt32BE','_bufferedAmount','setHeader','_doCreateSocket','Unknown\x20parameter\x20\x22','Sec-WebSocket-Extensions:\x20','rsv1','Invalid\x20URL:\x20','enqueue','removeEventListener','shift','_options','getMask','port','location','Blob','The\x20URL\x20contains\x20a\x20fragment\x20identifier','dequeue','readable','origin','isArray','\x22\x20subprotocol\x20is\x20duplicated','username','base64','createError','auth','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','drain','Unsupported\x20protocol\x20version:\x20','statusCode','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','buffer','toString','write','emit','hostname','socketPath','CollaborationSocketService','message','_maxPayload','_compressed','websocket','frame','replace','byteOffset','errorEmitted','species','maskBuffer','isInteger','FIN\x20must\x20be\x20set','join','invalid\x20opcode\x200','completeUpgrade','\x20(supported\x20versions:\x20','concat','startLoop','_removeListeners','protocol','isIP','Sec-WebSocket-Origin','address','_destroy','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','sec-websocket-accept','pow','servername','__esModule','pending','finish','createServer','Plugin','_shouldEmitClose','client_no_context_takeover','_state','addEventListener','endEmitted','isServer','_closeTimer','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','189YwEnwq','getPayloadLength64','_write','setNoDelay','headers','reason','_maskBuffer','perMessageDeflate','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','onopen','read','prototype','removeListener','indexOf','_fin','cork','setConfig','Z_DEFAULT_WINDOWBITS','readyState','cleanup','destroy','shouldHandle','data','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','startsWith','construct','conclude','destroyed','wsClientError','NodeCollaborationSocketService','_originalIpc','getBlobData','1548127qSJtLs','encrypted','allocUnsafe','compress','MASK\x20must\x20be\x20clear','finished','length','935DggQYJ','allowSynchronousEvents','The\x20\x22','_inflate','Invalid\x20Upgrade\x20header','captureStackTrace','13,\x208'];_0xf76a=function(){return _0x5db7fc;};return _0xf76a();}Object['defineProperty'](exports,Symbol[_0x4c4d18(0x161)],{'value':_0x4c4d18(0x288)});const st=require('@univerjs-pro/collaboration-client'),A=require('@univerjs/core'),it=require('@univerjs/network'),V=require('rxjs'),nt=require('events'),vt=require('https'),ot=require('http'),St=require('net'),Et=require('tls'),Le=require('crypto'),oe=require('stream'),xt=require('url'),bt=require('zlib'),wt=require('buffer'),Ot=require('@univerjs-pro/collaboration'),fe='collaboration-client-node.config',Ct={'customHeaders':{}};function Tt(_0x5bb2b6){const _0x51ed74=_0x4c4d18;return _0x5bb2b6&&_0x5bb2b6[_0x51ed74(0x1cb)]&&Object[_0x51ed74(0x1e3)]['hasOwnProperty'][_0x51ed74(0x27e)](_0x5bb2b6,_0x51ed74(0x2bd))?_0x5bb2b6[_0x51ed74(0x2bd)]:_0x5bb2b6;}function at(_0x1314be){const _0x51f006=_0x4c4d18;if(Object['prototype'][_0x51f006(0x160)][_0x51f006(0x27e)](_0x1314be,_0x51f006(0x1cb)))return _0x1314be;var _0x48104=_0x1314be[_0x51f006(0x2bd)];if(typeof _0x48104==_0x51f006(0x240)){var _0x69955c=function _0x301f20(){const _0x139821=_0x51f006;var _0x1689d1=!0x1;try{_0x1689d1=this instanceof _0x301f20;}catch{}return _0x1689d1?Reflect[_0x139821(0x1f1)](_0x48104,arguments,this['constructor']):_0x48104['apply'](this,arguments);};_0x69955c['prototype']=_0x48104['prototype'];}else _0x69955c={};return Object[_0x51f006(0x2f5)](_0x69955c,_0x51f006(0x1cb),{'value':!0x0}),Object[_0x51f006(0x164)](_0x1314be)[_0x51f006(0x231)](function(_0x24feae){const _0x19e6bb=_0x51f006;var _0x38fa58=Object[_0x19e6bb(0x15f)](_0x1314be,_0x24feae);Object[_0x19e6bb(0x2f5)](_0x69955c,_0x24feae,_0x38fa58['get']?_0x38fa58:{'enumerable':!0x0,'get':function(){return _0x1314be[_0x24feae];}});}),_0x69955c;}var se={'exports':{}},ge,Ge;function H(){const _0x41ef22=_0x4c4d18;if(Ge)return ge;Ge=0x1;const _0x5e37f1=[_0x41ef22(0x207),_0x41ef22(0x2a7),'fragments'],_0x205c63=typeof Blob<'u';return _0x205c63&&_0x5e37f1[_0x41ef22(0x2f7)]('blob'),ge={'BINARY_TYPES':_0x5e37f1,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':_0x41ef22(0x21e),'hasBlob':_0x205c63,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol('kListener'),'kStatusCode':Symbol(_0x41ef22(0x2db)),'kWebSocket':Symbol(_0x41ef22(0x1b2)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x4c4d18(0x156)](Object[_0x4c4d18(0x2f5)]({'__proto__':null,'default':Nt},Symbol['toStringTag'],{'value':'Module'})),Lt=at(kt);var Ve;function ce(){const _0x104ae3=_0x4c4d18;if(Ve)return se['exports'];Ve=0x1;const {EMPTY_BUFFER:_0x52a097}=H(),_0x3ff572=Buffer[Symbol[_0x104ae3(0x1b7)]];function _0x261b62(_0x4070c9,_0x53ac3a){const _0x5c0a0f=_0x104ae3;if(_0x4070c9['length']===0x0)return _0x52a097;if(_0x4070c9[_0x5c0a0f(0x1fe)]===0x1)return _0x4070c9[0x0];const _0xcee568=Buffer[_0x5c0a0f(0x1fa)](_0x53ac3a);let _0x2fbfb2=0x0;for(let _0x4c52b4=0x0;_0x4c52b4<_0x4070c9[_0x5c0a0f(0x1fe)];_0x4c52b4++){const _0x6ce4=_0x4070c9[_0x4c52b4];_0xcee568[_0x5c0a0f(0x239)](_0x6ce4,_0x2fbfb2),_0x2fbfb2+=_0x6ce4['length'];}return _0x2fbfb2<_0x53ac3a?new _0x3ff572(_0xcee568['buffer'],_0xcee568[_0x5c0a0f(0x1b5)],_0x2fbfb2):_0xcee568;}function _0xb1089d(_0x26865b,_0x1ef78b,_0x53c167,_0x293487,_0x1c9fd0){for(let _0x13b6ba=0x0;_0x13b6ba<_0x1c9fd0;_0x13b6ba++)_0x53c167[_0x293487+_0x13b6ba]=_0x26865b[_0x13b6ba]^_0x1ef78b[_0x13b6ba&0x3];}function _0x19b50f(_0x2b8d85,_0x2bcadd){const _0x23d04f=_0x104ae3;for(let _0x54c3aa=0x0;_0x54c3aa<_0x2b8d85[_0x23d04f(0x1fe)];_0x54c3aa++)_0x2b8d85[_0x54c3aa]^=_0x2bcadd[_0x54c3aa&0x3];}function _0x360ed3(_0xa27000){const _0x370f05=_0x104ae3;return _0xa27000['length']===_0xa27000[_0x370f05(0x1a8)][_0x370f05(0x291)]?_0xa27000[_0x370f05(0x1a8)]:_0xa27000[_0x370f05(0x1a8)][_0x370f05(0x14b)](_0xa27000[_0x370f05(0x1b5)],_0xa27000[_0x370f05(0x1b5)]+_0xa27000[_0x370f05(0x1fe)]);}function _0x41b239(_0x3ee304){const _0x521b66=_0x104ae3;if(_0x41b239['readOnly']=!0x0,Buffer[_0x521b66(0x212)](_0x3ee304))return _0x3ee304;let _0x3dedd0;return _0x3ee304 instanceof ArrayBuffer?_0x3dedd0=new _0x3ff572(_0x3ee304):ArrayBuffer['isView'](_0x3ee304)?_0x3dedd0=new _0x3ff572(_0x3ee304[_0x521b66(0x1a8)],_0x3ee304['byteOffset'],_0x3ee304['byteLength']):(_0x3dedd0=Buffer[_0x521b66(0x232)](_0x3ee304),_0x41b239[_0x521b66(0x270)]=!0x1),_0x3dedd0;}if(se[_0x104ae3(0x2de)]={'concat':_0x261b62,'mask':_0xb1089d,'toArrayBuffer':_0x360ed3,'toBuffer':_0x41b239,'unmask':_0x19b50f},!process['env']['WS_NO_BUFFER_UTIL'])try{const _0x1ea88e=Lt;se['exports']['mask']=function(_0x26dc73,_0x571ad0,_0x38a4f6,_0x1d36e2,_0x57d162){_0x57d162<0x30?_0xb1089d(_0x26dc73,_0x571ad0,_0x38a4f6,_0x1d36e2,_0x57d162):_0x1ea88e['mask'](_0x26dc73,_0x571ad0,_0x38a4f6,_0x1d36e2,_0x57d162);},se['exports'][_0x104ae3(0x29c)]=function(_0x33afd6,_0x5c03c3){const _0x16ee9c=_0x104ae3;_0x33afd6[_0x16ee9c(0x1fe)]<0x20?_0x19b50f(_0x33afd6,_0x5c03c3):_0x1ea88e['unmask'](_0x33afd6,_0x5c03c3);};}catch{}return se['exports'];}var ye,He;function Pt(){const _0x1cbce8=_0x4c4d18;if(He)return ye;He=0x1;const _0x2f3fad=Symbol('kDone'),_0x329168=Symbol(_0x1cbce8(0x22b));class _0x2922b5{constructor(_0x3afb44){const _0x109b54=_0x1cbce8;this[_0x2f3fad]=()=>{const _0x4a41b6=_0x11b5;this[_0x4a41b6(0x1cc)]--,this[_0x329168]();},this['concurrency']=_0x3afb44||0x1/0x0,this[_0x109b54(0x26f)]=[],this[_0x109b54(0x1cc)]=0x0;}['add'](_0x1d3a0a){const _0x245562=_0x1cbce8;this[_0x245562(0x26f)][_0x245562(0x2f7)](_0x1d3a0a),this[_0x329168]();}[_0x329168](){const _0x3d9ab6=_0x1cbce8;if(this[_0x3d9ab6(0x1cc)]!==this[_0x3d9ab6(0x181)]&&this[_0x3d9ab6(0x26f)][_0x3d9ab6(0x1fe)]){const _0x3bb176=this['jobs'][_0x3d9ab6(0x193)]();this[_0x3d9ab6(0x1cc)]++,_0x3bb176(this[_0x2f3fad]);}}}return ye=_0x2922b5,ye;}var ve,ze;function he(){const _0x3c3524=_0x4c4d18;if(ze)return ve;ze=0x1;const _0x67f713=bt,_0x2a4190=ce(),_0x5a4ee3=Pt(),{kStatusCode:_0xc7c40a}=H(),_0x51e5df=Buffer[Symbol[_0x3c3524(0x1b7)]],_0x5e6781=Buffer[_0x3c3524(0x232)]([0x0,0x0,0xff,0xff]),_0x14ed6e=Symbol(_0x3c3524(0x15d)),_0x4927ae=Symbol(_0x3c3524(0x2e5)),_0x150e40=Symbol(_0x3c3524(0x220)),_0x50b535=Symbol('buffers'),_0xa74d42=Symbol(_0x3c3524(0x23c));let _0x2506c6;class _0x144979{constructor(_0x1b17a1,_0x5bc770,_0x1e0e53){const _0x5abb1a=_0x3c3524;if(this['_maxPayload']=_0x1e0e53|0x0,this[_0x5abb1a(0x194)]=_0x1b17a1||{},this['_threshold']=this[_0x5abb1a(0x194)][_0x5abb1a(0x26b)]!==void 0x0?this[_0x5abb1a(0x194)]['threshold']:0x400,this[_0x5abb1a(0x296)]=!!_0x5bc770,this[_0x5abb1a(0x17d)]=null,this['_inflate']=null,this[_0x5abb1a(0x2ce)]=null,!_0x2506c6){const _0x2b9fab=this[_0x5abb1a(0x194)][_0x5abb1a(0x2d0)]!==void 0x0?this[_0x5abb1a(0x194)][_0x5abb1a(0x2d0)]:0xa;_0x2506c6=new _0x5a4ee3(_0x2b9fab);}}static get[_0x3c3524(0x17a)](){return'permessage-deflate';}[_0x3c3524(0x2ed)](){const _0x7cbc17=_0x3c3524,_0x5865d3={};return this[_0x7cbc17(0x194)][_0x7cbc17(0x243)]&&(_0x5865d3[_0x7cbc17(0x2b6)]=!0x0),this[_0x7cbc17(0x194)][_0x7cbc17(0x2c2)]&&(_0x5865d3[_0x7cbc17(0x1d1)]=!0x0),this[_0x7cbc17(0x194)]['serverMaxWindowBits']&&(_0x5865d3[_0x7cbc17(0x233)]=this[_0x7cbc17(0x194)][_0x7cbc17(0x221)]),this[_0x7cbc17(0x194)]['clientMaxWindowBits']?_0x5865d3['client_max_window_bits']=this[_0x7cbc17(0x194)][_0x7cbc17(0x248)]:this[_0x7cbc17(0x194)][_0x7cbc17(0x248)]==null&&(_0x5865d3[_0x7cbc17(0x168)]=!0x0),_0x5865d3;}[_0x3c3524(0x28b)](_0x3b39d7){const _0x4a2266=_0x3c3524;return _0x3b39d7=this['normalizeParams'](_0x3b39d7),this[_0x4a2266(0x2ce)]=this[_0x4a2266(0x296)]?this[_0x4a2266(0x2e7)](_0x3b39d7):this[_0x4a2266(0x2c5)](_0x3b39d7),this[_0x4a2266(0x2ce)];}[_0x3c3524(0x1eb)](){const _0x5693c7=_0x3c3524;if(this[_0x5693c7(0x202)]&&(this[_0x5693c7(0x202)][_0x5693c7(0x152)](),this[_0x5693c7(0x202)]=null),this[_0x5693c7(0x17d)]){const _0x4f38ec=this['_deflate'][_0x150e40];this[_0x5693c7(0x17d)][_0x5693c7(0x152)](),this['_deflate']=null,_0x4f38ec&&_0x4f38ec(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}[_0x3c3524(0x2e7)](_0x5236d3){const _0x2a43d7=_0x3c3524,_0x69eb49=this[_0x2a43d7(0x194)],_0x49a3a6=_0x5236d3['find'](_0x4f96a3=>!(_0x69eb49[_0x2a43d7(0x243)]===!0x1&&_0x4f96a3[_0x2a43d7(0x2b6)]||_0x4f96a3[_0x2a43d7(0x233)]&&(_0x69eb49['serverMaxWindowBits']===!0x1||typeof _0x69eb49[_0x2a43d7(0x221)]==_0x2a43d7(0x171)&&_0x69eb49[_0x2a43d7(0x221)]>_0x4f96a3[_0x2a43d7(0x233)])||typeof _0x69eb49['clientMaxWindowBits']==_0x2a43d7(0x171)&&!_0x4f96a3[_0x2a43d7(0x168)]));if(!_0x49a3a6)throw new Error(_0x2a43d7(0x286));return _0x69eb49['serverNoContextTakeover']&&(_0x49a3a6['server_no_context_takeover']=!0x0),_0x69eb49[_0x2a43d7(0x2c2)]&&(_0x49a3a6['client_no_context_takeover']=!0x0),typeof _0x69eb49[_0x2a43d7(0x221)]==_0x2a43d7(0x171)&&(_0x49a3a6['server_max_window_bits']=_0x69eb49['serverMaxWindowBits']),typeof _0x69eb49['clientMaxWindowBits']==_0x2a43d7(0x171)?_0x49a3a6['client_max_window_bits']=_0x69eb49['clientMaxWindowBits']:(_0x49a3a6[_0x2a43d7(0x168)]===!0x0||_0x69eb49[_0x2a43d7(0x248)]===!0x1)&&delete _0x49a3a6[_0x2a43d7(0x168)],_0x49a3a6;}[_0x3c3524(0x2c5)](_0x1fddb0){const _0x2a0244=_0x3c3524,_0x243310=_0x1fddb0[0x0];if(this[_0x2a0244(0x194)]['clientNoContextTakeover']===!0x1&&_0x243310[_0x2a0244(0x1d1)])throw new Error(_0x2a0244(0x284));if(!_0x243310['client_max_window_bits'])typeof this[_0x2a0244(0x194)][_0x2a0244(0x248)]==_0x2a0244(0x171)&&(_0x243310[_0x2a0244(0x168)]=this[_0x2a0244(0x194)]['clientMaxWindowBits']);else{if(this[_0x2a0244(0x194)][_0x2a0244(0x248)]===!0x1||typeof this[_0x2a0244(0x194)][_0x2a0244(0x248)]==_0x2a0244(0x171)&&_0x243310[_0x2a0244(0x168)]>this[_0x2a0244(0x194)][_0x2a0244(0x248)])throw new Error(_0x2a0244(0x1a3));}return _0x243310;}[_0x3c3524(0x2c0)](_0x8cef08){const _0x4840aa=_0x3c3524;return _0x8cef08[_0x4840aa(0x231)](_0x307bdb=>{const _0x442264=_0x4840aa;Object['keys'](_0x307bdb)[_0x442264(0x231)](_0x30df7f=>{const _0x382e84=_0x442264;let _0x839587=_0x307bdb[_0x30df7f];if(_0x839587[_0x382e84(0x1fe)]>0x1)throw new Error(_0x382e84(0x2e0)+_0x30df7f+_0x382e84(0x282));if(_0x839587=_0x839587[0x0],_0x30df7f===_0x382e84(0x168)){if(_0x839587!==!0x0){const _0x30d7e3=+_0x839587;if(!Number[_0x382e84(0x1b9)](_0x30d7e3)||_0x30d7e3<0x8||_0x30d7e3>0xf)throw new TypeError(_0x382e84(0x2b9)+_0x30df7f+_0x382e84(0x292)+_0x839587);_0x839587=_0x30d7e3;}else{if(!this[_0x382e84(0x296)])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x30df7f+'\x22:\x20'+_0x839587);}}else{if(_0x30df7f===_0x382e84(0x233)){const _0x4526da=+_0x839587;if(!Number[_0x382e84(0x1b9)](_0x4526da)||_0x4526da<0x8||_0x4526da>0xf)throw new TypeError(_0x382e84(0x2b9)+_0x30df7f+_0x382e84(0x292)+_0x839587);_0x839587=_0x4526da;}else{if(_0x30df7f==='client_no_context_takeover'||_0x30df7f===_0x382e84(0x2b6)){if(_0x839587!==!0x0)throw new TypeError(_0x382e84(0x2b9)+_0x30df7f+_0x382e84(0x292)+_0x839587);}else throw new Error(_0x382e84(0x18d)+_0x30df7f+'\x22');}}_0x307bdb[_0x30df7f]=_0x839587;});}),_0x8cef08;}[_0x3c3524(0x276)](_0x4ff66d,_0x47d995,_0x2f345){const _0x34ce81=_0x3c3524;_0x2506c6[_0x34ce81(0x27b)](_0x498675=>{const _0x2a93e0=_0x34ce81;this[_0x2a93e0(0x24e)](_0x4ff66d,_0x47d995,(_0x42b0ca,_0xc1dd5f)=>{_0x498675(),_0x2f345(_0x42b0ca,_0xc1dd5f);});});}[_0x3c3524(0x1fb)](_0x1dc70d,_0xb8df5c,_0x587b26){const _0x4f3e59=_0x3c3524;_0x2506c6[_0x4f3e59(0x27b)](_0x226769=>{const _0x3857ee=_0x4f3e59;this[_0x3857ee(0x215)](_0x1dc70d,_0xb8df5c,(_0x579024,_0x5a6481)=>{_0x226769(),_0x587b26(_0x579024,_0x5a6481);});});}[_0x3c3524(0x24e)](_0x4762d6,_0x5d3723,_0x3247af){const _0x1b223a=_0x3c3524,_0x353ec4=this[_0x1b223a(0x296)]?_0x1b223a(0x177):'server';if(!this[_0x1b223a(0x202)]){const _0x37f0eb=_0x353ec4+_0x1b223a(0x246),_0x3242fa=typeof this[_0x1b223a(0x2ce)][_0x37f0eb]!=_0x1b223a(0x171)?_0x67f713[_0x1b223a(0x1e9)]:this['params'][_0x37f0eb];this[_0x1b223a(0x202)]=_0x67f713['createInflateRaw']({...this['_options']['zlibInflateOptions'],'windowBits':_0x3242fa}),this[_0x1b223a(0x202)][_0x14ed6e]=this,this['_inflate'][_0x4927ae]=0x0,this[_0x1b223a(0x202)][_0x50b535]=[],this['_inflate']['on'](_0x1b223a(0x23c),_0x23a26b),this[_0x1b223a(0x202)]['on'](_0x1b223a(0x1ee),_0x1f3ae3);}this[_0x1b223a(0x202)][_0x150e40]=_0x3247af,this[_0x1b223a(0x202)][_0x1b223a(0x1aa)](_0x4762d6),_0x5d3723&&this[_0x1b223a(0x202)][_0x1b223a(0x1aa)](_0x5e6781),this['_inflate'][_0x1b223a(0x2d3)](()=>{const _0x1424b2=_0x1b223a,_0x582f20=this[_0x1424b2(0x202)][_0xa74d42];if(_0x582f20){this['_inflate'][_0x1424b2(0x152)](),this[_0x1424b2(0x202)]=null,_0x3247af(_0x582f20);return;}const _0x3b055a=_0x2a4190[_0x1424b2(0x1bf)](this[_0x1424b2(0x202)][_0x50b535],this[_0x1424b2(0x202)][_0x4927ae]);this[_0x1424b2(0x202)]['_readableState'][_0x1424b2(0x1d4)]?(this[_0x1424b2(0x202)][_0x1424b2(0x152)](),this[_0x1424b2(0x202)]=null):(this['_inflate'][_0x4927ae]=0x0,this[_0x1424b2(0x202)][_0x50b535]=[],_0x5d3723&&this[_0x1424b2(0x2ce)][_0x353ec4+_0x1424b2(0x211)]&&this[_0x1424b2(0x202)][_0x1424b2(0x2f3)]()),_0x3247af(null,_0x3b055a);});}[_0x3c3524(0x215)](_0x55400f,_0x48ebb5,_0x46a5ba){const _0x86aa7f=_0x3c3524,_0x1b27fd=this[_0x86aa7f(0x296)]?_0x86aa7f(0x262):_0x86aa7f(0x177);if(!this[_0x86aa7f(0x17d)]){const _0x4b797f=_0x1b27fd+_0x86aa7f(0x246),_0x1f818b=typeof this['params'][_0x4b797f]!='number'?_0x67f713[_0x86aa7f(0x1e9)]:this['params'][_0x4b797f];this[_0x86aa7f(0x17d)]=_0x67f713[_0x86aa7f(0x2fa)]({...this['_options']['zlibDeflateOptions'],'windowBits':_0x1f818b}),this[_0x86aa7f(0x17d)][_0x4927ae]=0x0,this[_0x86aa7f(0x17d)][_0x50b535]=[],this[_0x86aa7f(0x17d)]['on']('data',_0x213248);}this['_deflate'][_0x150e40]=_0x46a5ba,this['_deflate'][_0x86aa7f(0x1aa)](_0x55400f),this['_deflate'][_0x86aa7f(0x2d3)](_0x67f713['Z_SYNC_FLUSH'],()=>{const _0x36de9a=_0x86aa7f;if(!this[_0x36de9a(0x17d)])return;let _0x37245c=_0x2a4190['concat'](this[_0x36de9a(0x17d)][_0x50b535],this[_0x36de9a(0x17d)][_0x4927ae]);_0x48ebb5&&(_0x37245c=new _0x51e5df(_0x37245c[_0x36de9a(0x1a8)],_0x37245c[_0x36de9a(0x1b5)],_0x37245c[_0x36de9a(0x1fe)]-0x4)),this[_0x36de9a(0x17d)][_0x150e40]=null,this[_0x36de9a(0x17d)][_0x4927ae]=0x0,this['_deflate'][_0x50b535]=[],_0x48ebb5&&this[_0x36de9a(0x2ce)][_0x1b27fd+'_no_context_takeover']&&this[_0x36de9a(0x17d)][_0x36de9a(0x2f3)](),_0x46a5ba(null,_0x37245c);});}}ve=_0x144979;function _0x213248(_0x33d6dc){const _0x1a7cc5=_0x3c3524;this[_0x50b535]['push'](_0x33d6dc),this[_0x4927ae]+=_0x33d6dc[_0x1a7cc5(0x1fe)];}function _0x1f3ae3(_0x991da5){const _0x3d8343=_0x3c3524;if(this[_0x4927ae]+=_0x991da5[_0x3d8343(0x1fe)],this[_0x14ed6e][_0x3d8343(0x1b0)]<0x1||this[_0x4927ae]<=this[_0x14ed6e]['_maxPayload']){this[_0x50b535][_0x3d8343(0x2f7)](_0x991da5);return;}this[_0xa74d42]=new RangeError(_0x3d8343(0x28e)),this[_0xa74d42][_0x3d8343(0x257)]=_0x3d8343(0x1a7),this[_0xa74d42][_0xc7c40a]=0x3f1,this[_0x3d8343(0x1e4)](_0x3d8343(0x1ee),_0x1f3ae3),this[_0x3d8343(0x2f3)]();}function _0x23a26b(_0x4e8273){const _0x2c5b62=_0x3c3524;if(this[_0x14ed6e][_0x2c5b62(0x202)]=null,this[_0xa74d42]){this[_0x150e40](this[_0xa74d42]);return;}_0x4e8273[_0xc7c40a]=0x3ef,this[_0x150e40](_0x4e8273);}return ve;}var ie={'exports':{}};function _0x11b5(_0x61fdb8,_0x263c50){const _0xf76aef=_0xf76a();return _0x11b5=function(_0x11b5a7,_0x25f508){_0x11b5a7=_0x11b5a7-0x148;let _0x1c2915=_0xf76aef[_0x11b5a7];return _0x1c2915;},_0x11b5(_0x61fdb8,_0x263c50);}const Dt={},Rt=Object[_0x4c4d18(0x156)](Object[_0x4c4d18(0x2f5)]({'__proto__':null,'default':Dt},Symbol[_0x4c4d18(0x161)],{'value':_0x4c4d18(0x288)})),Bt=at(Rt);var Ye;function ae(){const _0x5d5b7d=_0x4c4d18;if(Ye)return ie[_0x5d5b7d(0x2de)];Ye=0x1;const {isUtf8:_0x41343a}=wt,{hasBlob:_0x37aba9}=H(),_0x40f922=[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 _0x3b17dc(_0x13b844){return _0x13b844>=0x3e8&&_0x13b844<=0x3f6&&_0x13b844!==0x3ec&&_0x13b844!==0x3ed&&_0x13b844!==0x3ee||_0x13b844>=0xbb8&&_0x13b844<=0x1387;}function _0x2791ba(_0x4e4087){const _0x38f72b=_0x4e4087['length'];let _0x224d94=0x0;for(;_0x224d94<_0x38f72b;)if((_0x4e4087[_0x224d94]&0x80)===0x0)_0x224d94++;else{if((_0x4e4087[_0x224d94]&0xe0)===0xc0){if(_0x224d94+0x1===_0x38f72b||(_0x4e4087[_0x224d94+0x1]&0xc0)!==0x80||(_0x4e4087[_0x224d94]&0xfe)===0xc0)return!0x1;_0x224d94+=0x2;}else{if((_0x4e4087[_0x224d94]&0xf0)===0xe0){if(_0x224d94+0x2>=_0x38f72b||(_0x4e4087[_0x224d94+0x1]&0xc0)!==0x80||(_0x4e4087[_0x224d94+0x2]&0xc0)!==0x80||_0x4e4087[_0x224d94]===0xe0&&(_0x4e4087[_0x224d94+0x1]&0xe0)===0x80||_0x4e4087[_0x224d94]===0xed&&(_0x4e4087[_0x224d94+0x1]&0xe0)===0xa0)return!0x1;_0x224d94+=0x3;}else{if((_0x4e4087[_0x224d94]&0xf8)===0xf0){if(_0x224d94+0x3>=_0x38f72b||(_0x4e4087[_0x224d94+0x1]&0xc0)!==0x80||(_0x4e4087[_0x224d94+0x2]&0xc0)!==0x80||(_0x4e4087[_0x224d94+0x3]&0xc0)!==0x80||_0x4e4087[_0x224d94]===0xf0&&(_0x4e4087[_0x224d94+0x1]&0xf0)===0x80||_0x4e4087[_0x224d94]===0xf4&&_0x4e4087[_0x224d94+0x1]>0x8f||_0x4e4087[_0x224d94]>0xf4)return!0x1;_0x224d94+=0x4;}else return!0x1;}}}return!0x0;}function _0x53b8e3(_0x267f11){const _0x5b735a=_0x5d5b7d;return _0x37aba9&&typeof _0x267f11==_0x5b735a(0x238)&&typeof _0x267f11[_0x5b735a(0x185)]=='function'&&typeof _0x267f11['type']==_0x5b735a(0x23a)&&typeof _0x267f11['stream']==_0x5b735a(0x240)&&(_0x267f11[Symbol['toStringTag']]===_0x5b735a(0x198)||_0x267f11[Symbol[_0x5b735a(0x161)]]===_0x5b735a(0x274));}if(ie['exports']={'isBlob':_0x53b8e3,'isValidStatusCode':_0x3b17dc,'isValidUTF8':_0x2791ba,'tokenChars':_0x40f922},_0x41343a)ie[_0x5d5b7d(0x2de)][_0x5d5b7d(0x20f)]=function(_0x227082){const _0x211fea=_0x5d5b7d;return _0x227082[_0x211fea(0x1fe)]<0x18?_0x2791ba(_0x227082):_0x41343a(_0x227082);};else{if(!process[_0x5d5b7d(0x17b)][_0x5d5b7d(0x290)])try{const _0xbbb560=Bt;ie[_0x5d5b7d(0x2de)][_0x5d5b7d(0x20f)]=function(_0x1412c7){return _0x1412c7['length']<0x20?_0x2791ba(_0x1412c7):_0xbbb560(_0x1412c7);};}catch{}}return ie[_0x5d5b7d(0x2de)];}var Se,Ke;function lt(){const _0x33b5fa=_0x4c4d18;if(Ke)return Se;Ke=0x1;const {Writable:_0x2ad0b7}=oe,_0x47f97c=he(),{BINARY_TYPES:_0x3232a1,EMPTY_BUFFER:_0x5127f7,kStatusCode:_0x2af186,kWebSocket:_0x1d4fcd}=H(),{concat:_0x2748d2,toArrayBuffer:_0x41818b,unmask:_0x28246d}=ce(),{isValidStatusCode:_0xea7444,isValidUTF8:_0x579556}=ae(),_0xad9d43=Buffer[Symbol[_0x33b5fa(0x1b7)]],_0x494a97=0x0,_0x151811=0x1,_0x537964=0x2,_0x35231c=0x3,_0x150123=0x4,_0x1792f8=0x5,_0x44fc4c=0x6;class _0x4f9b01 extends _0x2ad0b7{constructor(_0x3b1157={}){const _0x98479a=_0x33b5fa;super(),this[_0x98479a(0x281)]=_0x3b1157[_0x98479a(0x200)]!==void 0x0?_0x3b1157[_0x98479a(0x200)]:!0x0,this[_0x98479a(0x277)]=_0x3b1157[_0x98479a(0x260)]||_0x3232a1[0x0],this[_0x98479a(0x2f9)]=_0x3b1157[_0x98479a(0x159)]||{},this['_isServer']=!!_0x3b1157[_0x98479a(0x1d5)],this[_0x98479a(0x1b0)]=_0x3b1157[_0x98479a(0x14d)]|0x0,this[_0x98479a(0x2ad)]=!!_0x3b1157[_0x98479a(0x27f)],this[_0x1d4fcd]=void 0x0,this[_0x98479a(0x256)]=0x0,this['_buffers']=[],this[_0x98479a(0x1b1)]=!0x1,this[_0x98479a(0x17f)]=0x0,this[_0x98479a(0x2d8)]=void 0x0,this[_0x98479a(0x216)]=0x0,this[_0x98479a(0x213)]=!0x1,this[_0x98479a(0x1e6)]=!0x1,this[_0x98479a(0x289)]=0x0,this[_0x98479a(0x2ac)]=0x0,this[_0x98479a(0x275)]=0x0,this[_0x98479a(0x2bf)]=[],this[_0x98479a(0x271)]=!0x1,this[_0x98479a(0x26d)]=!0x1,this[_0x98479a(0x1d2)]=_0x494a97;}[_0x33b5fa(0x1da)](_0x2f1b75,_0x1aa340,_0x429403){const _0x99be94=_0x33b5fa;if(this[_0x99be94(0x289)]===0x8&&this[_0x99be94(0x1d2)]==_0x494a97)return _0x429403();this[_0x99be94(0x256)]+=_0x2f1b75[_0x99be94(0x1fe)],this[_0x99be94(0x295)][_0x99be94(0x2f7)](_0x2f1b75),this[_0x99be94(0x1c0)](_0x429403);}[_0x33b5fa(0x264)](_0x5a16e5){const _0x250b12=_0x33b5fa;if(this[_0x250b12(0x256)]-=_0x5a16e5,_0x5a16e5===this[_0x250b12(0x295)][0x0]['length'])return this['_buffers']['shift']();if(_0x5a16e5<this['_buffers'][0x0][_0x250b12(0x1fe)]){const _0x5c2fd8=this[_0x250b12(0x295)][0x0];return this['_buffers'][0x0]=new _0xad9d43(_0x5c2fd8['buffer'],_0x5c2fd8[_0x250b12(0x1b5)]+_0x5a16e5,_0x5c2fd8['length']-_0x5a16e5),new _0xad9d43(_0x5c2fd8[_0x250b12(0x1a8)],_0x5c2fd8[_0x250b12(0x1b5)],_0x5a16e5);}const _0x777850=Buffer[_0x250b12(0x1fa)](_0x5a16e5);do{const _0x1f02d0=this[_0x250b12(0x295)][0x0],_0x246e96=_0x777850[_0x250b12(0x1fe)]-_0x5a16e5;_0x5a16e5>=_0x1f02d0['length']?_0x777850['set'](this[_0x250b12(0x295)][_0x250b12(0x193)](),_0x246e96):(_0x777850[_0x250b12(0x239)](new Uint8Array(_0x1f02d0['buffer'],_0x1f02d0['byteOffset'],_0x5a16e5),_0x246e96),this[_0x250b12(0x295)][0x0]=new _0xad9d43(_0x1f02d0[_0x250b12(0x1a8)],_0x1f02d0['byteOffset']+_0x5a16e5,_0x1f02d0['length']-_0x5a16e5)),_0x5a16e5-=_0x1f02d0[_0x250b12(0x1fe)];}while(_0x5a16e5>0x0);return _0x777850;}[_0x33b5fa(0x1c0)](_0x345fe3){const _0x261adc=_0x33b5fa;this[_0x261adc(0x26d)]=!0x0;do switch(this['_state']){case _0x494a97:this[_0x261adc(0x242)](_0x345fe3);break;case _0x151811:this[_0x261adc(0x283)](_0x345fe3);break;case _0x537964:this[_0x261adc(0x1d9)](_0x345fe3);break;case _0x35231c:this['getMask']();break;case _0x150123:this[_0x261adc(0x14f)](_0x345fe3);break;case _0x1792f8:case _0x44fc4c:this[_0x261adc(0x26d)]=!0x1;return;}while(this[_0x261adc(0x26d)]);this[_0x261adc(0x271)]||_0x345fe3();}[_0x33b5fa(0x242)](_0x26da7c){const _0x18f6d0=_0x33b5fa;if(this[_0x18f6d0(0x256)]<0x2){this[_0x18f6d0(0x26d)]=!0x1;return;}const _0x2225ef=this[_0x18f6d0(0x264)](0x2);if((_0x2225ef[0x0]&0x30)!==0x0){const _0x32494e=this[_0x18f6d0(0x1a1)](RangeError,_0x18f6d0(0x209),!0x0,0x3ea,_0x18f6d0(0x2a6));_0x26da7c(_0x32494e);return;}const _0x2701e4=(_0x2225ef[0x0]&0x40)===0x40;if(_0x2701e4&&!this[_0x18f6d0(0x2f9)][_0x47f97c[_0x18f6d0(0x17a)]]){const _0x4d8c30=this[_0x18f6d0(0x1a1)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x26da7c(_0x4d8c30);return;}if(this[_0x18f6d0(0x1e6)]=(_0x2225ef[0x0]&0x80)===0x80,this[_0x18f6d0(0x289)]=_0x2225ef[0x0]&0xf,this[_0x18f6d0(0x17f)]=_0x2225ef[0x1]&0x7f,this['_opcode']===0x0){if(_0x2701e4){const _0x489a07=this[_0x18f6d0(0x1a1)](RangeError,_0x18f6d0(0x226),!0x0,0x3ea,_0x18f6d0(0x2a2));_0x26da7c(_0x489a07);return;}if(!this[_0x18f6d0(0x216)]){const _0x58284d=this[_0x18f6d0(0x1a1)](RangeError,_0x18f6d0(0x1bc),!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x26da7c(_0x58284d);return;}this[_0x18f6d0(0x289)]=this[_0x18f6d0(0x216)];}else{if(this['_opcode']===0x1||this[_0x18f6d0(0x289)]===0x2){if(this[_0x18f6d0(0x216)]){const _0x529666=this[_0x18f6d0(0x1a1)](RangeError,_0x18f6d0(0x2aa)+this[_0x18f6d0(0x289)],!0x0,0x3ea,_0x18f6d0(0x223));_0x26da7c(_0x529666);return;}this[_0x18f6d0(0x1b1)]=_0x2701e4;}else{if(this[_0x18f6d0(0x289)]>0x7&&this['_opcode']<0xb){if(!this[_0x18f6d0(0x1e6)]){const _0x37f634=this[_0x18f6d0(0x1a1)](RangeError,_0x18f6d0(0x1ba),!0x0,0x3ea,_0x18f6d0(0x206));_0x26da7c(_0x37f634);return;}if(_0x2701e4){const _0x3ae2b1=this[_0x18f6d0(0x1a1)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x18f6d0(0x2a2));_0x26da7c(_0x3ae2b1);return;}if(this[_0x18f6d0(0x17f)]>0x7d||this['_opcode']===0x8&&this[_0x18f6d0(0x17f)]===0x1){const _0x15c64a=this[_0x18f6d0(0x1a1)](RangeError,_0x18f6d0(0x163)+this[_0x18f6d0(0x17f)],!0x0,0x3ea,_0x18f6d0(0x1e0));_0x26da7c(_0x15c64a);return;}}else{const _0x5ba980=this[_0x18f6d0(0x1a1)](RangeError,'invalid\x20opcode\x20'+this[_0x18f6d0(0x289)],!0x0,0x3ea,_0x18f6d0(0x223));_0x26da7c(_0x5ba980);return;}}}if(!this[_0x18f6d0(0x1e6)]&&!this['_fragmented']&&(this['_fragmented']=this[_0x18f6d0(0x289)]),this['_masked']=(_0x2225ef[0x1]&0x80)===0x80,this['_isServer']){if(!this[_0x18f6d0(0x213)]){const _0x278b3a=this[_0x18f6d0(0x1a1)](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,'WS_ERR_EXPECTED_MASK');_0x26da7c(_0x278b3a);return;}}else{if(this[_0x18f6d0(0x213)]){const _0x3554ed=this[_0x18f6d0(0x1a1)](RangeError,_0x18f6d0(0x1fc),!0x0,0x3ea,_0x18f6d0(0x29f));_0x26da7c(_0x3554ed);return;}}this['_payloadLength']===0x7e?this['_state']=_0x151811:this['_payloadLength']===0x7f?this[_0x18f6d0(0x1d2)]=_0x537964:this['haveLength'](_0x26da7c);}[_0x33b5fa(0x283)](_0x514029){const _0xa1bd82=_0x33b5fa;if(this[_0xa1bd82(0x256)]<0x2){this['_loop']=!0x1;return;}this['_payloadLength']=this[_0xa1bd82(0x264)](0x2)[_0xa1bd82(0x241)](0x0),this[_0xa1bd82(0x227)](_0x514029);}[_0x33b5fa(0x1d9)](_0x236ca9){const _0x3cd17e=_0x33b5fa;if(this[_0x3cd17e(0x256)]<0x8){this[_0x3cd17e(0x26d)]=!0x1;return;}const _0x5dc13b=this[_0x3cd17e(0x264)](0x8),_0x20aef3=_0x5dc13b['readUInt32BE'](0x0);if(_0x20aef3>Math[_0x3cd17e(0x1c9)](0x2,0x15)-0x1){const _0x19b871=this['createError'](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,_0x3cd17e(0x23f));_0x236ca9(_0x19b871);return;}this['_payloadLength']=_0x20aef3*Math[_0x3cd17e(0x1c9)](0x2,0x20)+_0x5dc13b[_0x3cd17e(0x189)](0x4),this[_0x3cd17e(0x227)](_0x236ca9);}['haveLength'](_0x8a1dca){const _0x2d7775=_0x33b5fa;if(this[_0x2d7775(0x17f)]&&this[_0x2d7775(0x289)]<0x8&&(this[_0x2d7775(0x2ac)]+=this[_0x2d7775(0x17f)],this[_0x2d7775(0x2ac)]>this['_maxPayload']&&this[_0x2d7775(0x1b0)]>0x0)){const _0x56d8a1=this[_0x2d7775(0x1a1)](RangeError,_0x2d7775(0x28e),!0x1,0x3f1,_0x2d7775(0x1a7));_0x8a1dca(_0x56d8a1);return;}this['_masked']?this[_0x2d7775(0x1d2)]=_0x35231c:this[_0x2d7775(0x1d2)]=_0x150123;}[_0x33b5fa(0x195)](){const _0x2e9d7c=_0x33b5fa;if(this[_0x2e9d7c(0x256)]<0x4){this[_0x2e9d7c(0x26d)]=!0x1;return;}this[_0x2e9d7c(0x2d8)]=this[_0x2e9d7c(0x264)](0x4),this[_0x2e9d7c(0x1d2)]=_0x150123;}['getData'](_0x6f4c5){const _0x4685ea=_0x33b5fa;let _0x9188a4=_0x5127f7;if(this[_0x4685ea(0x17f)]){if(this[_0x4685ea(0x256)]<this[_0x4685ea(0x17f)]){this[_0x4685ea(0x26d)]=!0x1;return;}_0x9188a4=this[_0x4685ea(0x264)](this['_payloadLength']),this['_masked']&&(this['_mask'][0x0]|this[_0x4685ea(0x2d8)][0x1]|this['_mask'][0x2]|this['_mask'][0x3])!==0x0&&_0x28246d(_0x9188a4,this[_0x4685ea(0x2d8)]);}if(this[_0x4685ea(0x289)]>0x7){this[_0x4685ea(0x218)](_0x9188a4,_0x6f4c5);return;}if(this[_0x4685ea(0x1b1)]){this[_0x4685ea(0x1d2)]=_0x1792f8,this['decompress'](_0x9188a4,_0x6f4c5);return;}_0x9188a4[_0x4685ea(0x1fe)]&&(this['_messageLength']=this[_0x4685ea(0x2ac)],this[_0x4685ea(0x2bf)][_0x4685ea(0x2f7)](_0x9188a4)),this[_0x4685ea(0x23d)](_0x6f4c5);}['decompress'](_0x2a5430,_0x2e8fb6){const _0x5e4407=_0x33b5fa;this['_extensions'][_0x47f97c[_0x5e4407(0x17a)]][_0x5e4407(0x276)](_0x2a5430,this[_0x5e4407(0x1e6)],(_0x4dfbe5,_0x19715a)=>{const _0x2201a1=_0x5e4407;if(_0x4dfbe5)return _0x2e8fb6(_0x4dfbe5);if(_0x19715a[_0x2201a1(0x1fe)]){if(this['_messageLength']+=_0x19715a[_0x2201a1(0x1fe)],this[_0x2201a1(0x275)]>this['_maxPayload']&&this[_0x2201a1(0x1b0)]>0x0){const _0x37c14d=this[_0x2201a1(0x1a1)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x2201a1(0x1a7));_0x2e8fb6(_0x37c14d);return;}this[_0x2201a1(0x2bf)]['push'](_0x19715a);}this[_0x2201a1(0x23d)](_0x2e8fb6),this[_0x2201a1(0x1d2)]===_0x494a97&&this[_0x2201a1(0x1c0)](_0x2e8fb6);});}['dataMessage'](_0x3ef6e3){const _0x28f716=_0x33b5fa;if(!this[_0x28f716(0x1e6)]){this[_0x28f716(0x1d2)]=_0x494a97;return;}const _0xece132=this['_messageLength'],_0x5b781c=this[_0x28f716(0x2bf)];if(this['_totalPayloadLength']=0x0,this[_0x28f716(0x275)]=0x0,this['_fragmented']=0x0,this[_0x28f716(0x2bf)]=[],this['_opcode']===0x2){let _0x318561;this['_binaryType']===_0x28f716(0x207)?_0x318561=_0x2748d2(_0x5b781c,_0xece132):this[_0x28f716(0x277)]===_0x28f716(0x2a7)?_0x318561=_0x41818b(_0x2748d2(_0x5b781c,_0xece132)):this[_0x28f716(0x277)]==='blob'?_0x318561=new Blob(_0x5b781c):_0x318561=_0x5b781c,this[_0x28f716(0x281)]?(this[_0x28f716(0x1ab)](_0x28f716(0x1af),_0x318561,!0x0),this[_0x28f716(0x1d2)]=_0x494a97):(this['_state']=_0x44fc4c,setImmediate(()=>{const _0x339e06=_0x28f716;this['emit'](_0x339e06(0x1af),_0x318561,!0x0),this[_0x339e06(0x1d2)]=_0x494a97,this[_0x339e06(0x1c0)](_0x3ef6e3);}));}else{const _0x38019b=_0x2748d2(_0x5b781c,_0xece132);if(!this['_skipUTF8Validation']&&!_0x579556(_0x38019b)){const _0x16844f=this[_0x28f716(0x1a1)](Error,_0x28f716(0x255),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x3ef6e3(_0x16844f);return;}this[_0x28f716(0x1d2)]===_0x1792f8||this[_0x28f716(0x281)]?(this[_0x28f716(0x1ab)](_0x28f716(0x1af),_0x38019b,!0x1),this[_0x28f716(0x1d2)]=_0x494a97):(this[_0x28f716(0x1d2)]=_0x44fc4c,setImmediate(()=>{const _0x14fad4=_0x28f716;this[_0x14fad4(0x1ab)]('message',_0x38019b,!0x1),this[_0x14fad4(0x1d2)]=_0x494a97,this[_0x14fad4(0x1c0)](_0x3ef6e3);}));}}[_0x33b5fa(0x218)](_0x48bd5a,_0x4f68e3){const _0x454ada=_0x33b5fa;if(this[_0x454ada(0x289)]===0x8){if(_0x48bd5a[_0x454ada(0x1fe)]===0x0)this[_0x454ada(0x26d)]=!0x1,this[_0x454ada(0x1ab)]('conclude',0x3ed,_0x5127f7),this['end']();else{const _0xd7a349=_0x48bd5a['readUInt16BE'](0x0);if(!_0xea7444(_0xd7a349)){const _0x36d7d8=this[_0x454ada(0x1a1)](RangeError,'invalid\x20status\x20code\x20'+_0xd7a349,!0x0,0x3ea,_0x454ada(0x162));_0x4f68e3(_0x36d7d8);return;}const _0x410acd=new _0xad9d43(_0x48bd5a[_0x454ada(0x1a8)],_0x48bd5a[_0x454ada(0x1b5)]+0x2,_0x48bd5a[_0x454ada(0x1fe)]-0x2);if(!this[_0x454ada(0x2ad)]&&!_0x579556(_0x410acd)){const _0x45175c=this[_0x454ada(0x1a1)](Error,_0x454ada(0x255),!0x0,0x3ef,_0x454ada(0x252));_0x4f68e3(_0x45175c);return;}this[_0x454ada(0x26d)]=!0x1,this['emit'](_0x454ada(0x1f2),_0xd7a349,_0x410acd),this[_0x454ada(0x2f8)]();}this['_state']=_0x494a97;return;}this[_0x454ada(0x281)]?(this[_0x454ada(0x1ab)](this[_0x454ada(0x289)]===0x9?_0x454ada(0x173):_0x454ada(0x24b),_0x48bd5a),this[_0x454ada(0x1d2)]=_0x494a97):(this['_state']=_0x44fc4c,setImmediate(()=>{const _0x330968=_0x454ada;this[_0x330968(0x1ab)](this['_opcode']===0x9?'ping':_0x330968(0x24b),_0x48bd5a),this[_0x330968(0x1d2)]=_0x494a97,this['startLoop'](_0x4f68e3);}));}[_0x33b5fa(0x1a1)](_0x50e550,_0x11446b,_0x228130,_0x59a7bb,_0x4fea40){const _0x22c245=_0x33b5fa;this[_0x22c245(0x26d)]=!0x1,this[_0x22c245(0x271)]=!0x0;const _0x58edc8=new _0x50e550(_0x228130?'Invalid\x20WebSocket\x20frame:\x20'+_0x11446b:_0x11446b);return Error[_0x22c245(0x204)](_0x58edc8,this[_0x22c245(0x1a1)]),_0x58edc8[_0x22c245(0x257)]=_0x4fea40,_0x58edc8[_0x2af186]=_0x59a7bb,_0x58edc8;}}return Se=_0x4f9b01,Se;}var Ee,Xe;function ft(){const _0x5df611=_0x4c4d18;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x31a12c}=oe,{randomFillSync:_0x4fcffb}=Le,_0x30ea2a=he(),{EMPTY_BUFFER:_0x98f72c,kWebSocket:_0x179d5d,NOOP:_0x5f58ee}=H(),{isBlob:_0x16c5d6,isValidStatusCode:_0x11c2be}=ae(),{mask:_0x2a4472,toBuffer:_0x2886ed}=ce(),_0x1351ad=Symbol('kByteLength'),_0x155d58=Buffer['alloc'](0x4),_0x5cadde=0x8*0x400;let _0x22353c,_0x52099e=_0x5cadde;const _0x1f6ce3=0x0,_0x3d9940=0x1,_0x10667d=0x2;class _0x56cb21{constructor(_0x7a3996,_0x1797b6,_0x80d767){const _0xa8a0d4=_0x11b5;this[_0xa8a0d4(0x2f9)]=_0x1797b6||{},_0x80d767&&(this[_0xa8a0d4(0x29e)]=_0x80d767,this[_0xa8a0d4(0x1de)]=Buffer['alloc'](0x4)),this[_0xa8a0d4(0x258)]=_0x7a3996,this[_0xa8a0d4(0x2f4)]=!0x0,this[_0xa8a0d4(0x215)]=!0x1,this[_0xa8a0d4(0x256)]=0x0,this['_queue']=[],this[_0xa8a0d4(0x1d2)]=_0x1f6ce3,this[_0xa8a0d4(0x280)]=_0x5f58ee,this[_0x179d5d]=void 0x0;}static['frame'](_0x1d43cd,_0x5538b4){const _0x6a56d7=_0x11b5;let _0xc0425,_0x4ef801=!0x1,_0x1e8699=0x2,_0x56108b=!0x1;_0x5538b4[_0x6a56d7(0x170)]&&(_0xc0425=_0x5538b4[_0x6a56d7(0x1b8)]||_0x155d58,_0x5538b4['generateMask']?_0x5538b4[_0x6a56d7(0x244)](_0xc0425):(_0x52099e===_0x5cadde&&(_0x22353c===void 0x0&&(_0x22353c=Buffer[_0x6a56d7(0x268)](_0x5cadde)),_0x4fcffb(_0x22353c,0x0,_0x5cadde),_0x52099e=0x0),_0xc0425[0x0]=_0x22353c[_0x52099e++],_0xc0425[0x1]=_0x22353c[_0x52099e++],_0xc0425[0x2]=_0x22353c[_0x52099e++],_0xc0425[0x3]=_0x22353c[_0x52099e++]),_0x56108b=(_0xc0425[0x0]|_0xc0425[0x1]|_0xc0425[0x2]|_0xc0425[0x3])===0x0,_0x1e8699=0x6);let _0x57df94;typeof _0x1d43cd==_0x6a56d7(0x23a)?(!_0x5538b4[_0x6a56d7(0x170)]||_0x56108b)&&_0x5538b4[_0x1351ad]!==void 0x0?_0x57df94=_0x5538b4[_0x1351ad]:(_0x1d43cd=Buffer[_0x6a56d7(0x232)](_0x1d43cd),_0x57df94=_0x1d43cd[_0x6a56d7(0x1fe)]):(_0x57df94=_0x1d43cd['length'],_0x4ef801=_0x5538b4[_0x6a56d7(0x170)]&&_0x5538b4[_0x6a56d7(0x270)]&&!_0x56108b);let _0x4a648a=_0x57df94;_0x57df94>=0x10000?(_0x1e8699+=0x8,_0x4a648a=0x7f):_0x57df94>0x7d&&(_0x1e8699+=0x2,_0x4a648a=0x7e);const _0x3b6655=Buffer['allocUnsafe'](_0x4ef801?_0x57df94+_0x1e8699:_0x1e8699);return _0x3b6655[0x0]=_0x5538b4[_0x6a56d7(0x2e4)]?_0x5538b4['opcode']|0x80:_0x5538b4[_0x6a56d7(0x15b)],_0x5538b4[_0x6a56d7(0x18f)]&&(_0x3b6655[0x0]|=0x40),_0x3b6655[0x1]=_0x4a648a,_0x4a648a===0x7e?_0x3b6655['writeUInt16BE'](_0x57df94,0x2):_0x4a648a===0x7f&&(_0x3b6655[0x2]=_0x3b6655[0x3]=0x0,_0x3b6655[_0x6a56d7(0x254)](_0x57df94,0x4,0x6)),_0x5538b4['mask']?(_0x3b6655[0x1]|=0x80,_0x3b6655[_0x1e8699-0x4]=_0xc0425[0x0],_0x3b6655[_0x1e8699-0x3]=_0xc0425[0x1],_0x3b6655[_0x1e8699-0x2]=_0xc0425[0x2],_0x3b6655[_0x1e8699-0x1]=_0xc0425[0x3],_0x56108b?[_0x3b6655,_0x1d43cd]:_0x4ef801?(_0x2a4472(_0x1d43cd,_0xc0425,_0x3b6655,_0x1e8699,_0x57df94),[_0x3b6655]):(_0x2a4472(_0x1d43cd,_0xc0425,_0x1d43cd,0x0,_0x57df94),[_0x3b6655,_0x1d43cd])):[_0x3b6655,_0x1d43cd];}[_0x5df611(0x152)](_0x45c6f1,_0x2c5d0e,_0x59e371,_0x1af5a6){const _0x59aa1d=_0x5df611;let _0x282a0c;if(_0x45c6f1===void 0x0)_0x282a0c=_0x98f72c;else{if(typeof _0x45c6f1!=_0x59aa1d(0x171)||!_0x11c2be(_0x45c6f1))throw new TypeError('First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number');if(_0x2c5d0e===void 0x0||!_0x2c5d0e['length'])_0x282a0c=Buffer[_0x59aa1d(0x1fa)](0x2),_0x282a0c[_0x59aa1d(0x285)](_0x45c6f1,0x0);else{const _0x4b6465=Buffer['byteLength'](_0x2c5d0e);if(_0x4b6465>0x7b)throw new RangeError(_0x59aa1d(0x2a8));_0x282a0c=Buffer[_0x59aa1d(0x1fa)](0x2+_0x4b6465),_0x282a0c[_0x59aa1d(0x285)](_0x45c6f1,0x0),typeof _0x2c5d0e=='string'?_0x282a0c['write'](_0x2c5d0e,0x2):_0x282a0c['set'](_0x2c5d0e,0x2);}}const _0x5715c8={[_0x1351ad]:_0x282a0c[_0x59aa1d(0x1fe)],'fin':!0x0,'generateMask':this[_0x59aa1d(0x29e)],'mask':_0x59e371,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x59aa1d(0x1d2)]!==_0x1f6ce3?this[_0x59aa1d(0x191)]([this[_0x59aa1d(0x150)],_0x282a0c,!0x1,_0x5715c8,_0x1af5a6]):this['sendFrame'](_0x56cb21[_0x59aa1d(0x1b3)](_0x282a0c,_0x5715c8),_0x1af5a6);}['ping'](_0x45d2b4,_0x50683d,_0x5c1155){const _0x2ccbc1=_0x5df611;let _0x4ff085,_0xc0eed4;if(typeof _0x45d2b4==_0x2ccbc1(0x23a)?(_0x4ff085=Buffer[_0x2ccbc1(0x291)](_0x45d2b4),_0xc0eed4=!0x1):_0x16c5d6(_0x45d2b4)?(_0x4ff085=_0x45d2b4[_0x2ccbc1(0x24c)],_0xc0eed4=!0x1):(_0x45d2b4=_0x2886ed(_0x45d2b4),_0x4ff085=_0x45d2b4[_0x2ccbc1(0x1fe)],_0xc0eed4=_0x2886ed['readOnly']),_0x4ff085>0x7d)throw new RangeError(_0x2ccbc1(0x2c1));const _0x4d4660={[_0x1351ad]:_0x4ff085,'fin':!0x0,'generateMask':this[_0x2ccbc1(0x29e)],'mask':_0x50683d,'maskBuffer':this[_0x2ccbc1(0x1de)],'opcode':0x9,'readOnly':_0xc0eed4,'rsv1':!0x1};_0x16c5d6(_0x45d2b4)?this[_0x2ccbc1(0x1d2)]!==_0x1f6ce3?this[_0x2ccbc1(0x191)]([this[_0x2ccbc1(0x1f7)],_0x45d2b4,!0x1,_0x4d4660,_0x5c1155]):this[_0x2ccbc1(0x1f7)](_0x45d2b4,!0x1,_0x4d4660,_0x5c1155):this[_0x2ccbc1(0x1d2)]!==_0x1f6ce3?this[_0x2ccbc1(0x191)]([this['dispatch'],_0x45d2b4,!0x1,_0x4d4660,_0x5c1155]):this[_0x2ccbc1(0x2a4)](_0x56cb21[_0x2ccbc1(0x1b3)](_0x45d2b4,_0x4d4660),_0x5c1155);}[_0x5df611(0x24b)](_0x2331da,_0x29bf2c,_0x28e2a7){const _0x511b6f=_0x5df611;let _0x5f0e69,_0x7a8336;if(typeof _0x2331da==_0x511b6f(0x23a)?(_0x5f0e69=Buffer[_0x511b6f(0x291)](_0x2331da),_0x7a8336=!0x1):_0x16c5d6(_0x2331da)?(_0x5f0e69=_0x2331da['size'],_0x7a8336=!0x1):(_0x2331da=_0x2886ed(_0x2331da),_0x5f0e69=_0x2331da[_0x511b6f(0x1fe)],_0x7a8336=_0x2886ed[_0x511b6f(0x270)]),_0x5f0e69>0x7d)throw new RangeError(_0x511b6f(0x2c1));const _0x2e796c={[_0x1351ad]:_0x5f0e69,'fin':!0x0,'generateMask':this[_0x511b6f(0x29e)],'mask':_0x29bf2c,'maskBuffer':this[_0x511b6f(0x1de)],'opcode':0xa,'readOnly':_0x7a8336,'rsv1':!0x1};_0x16c5d6(_0x2331da)?this[_0x511b6f(0x1d2)]!==_0x1f6ce3?this[_0x511b6f(0x191)]([this[_0x511b6f(0x1f7)],_0x2331da,!0x1,_0x2e796c,_0x28e2a7]):this[_0x511b6f(0x1f7)](_0x2331da,!0x1,_0x2e796c,_0x28e2a7):this[_0x511b6f(0x1d2)]!==_0x1f6ce3?this[_0x511b6f(0x191)]([this[_0x511b6f(0x150)],_0x2331da,!0x1,_0x2e796c,_0x28e2a7]):this[_0x511b6f(0x2a4)](_0x56cb21[_0x511b6f(0x1b3)](_0x2331da,_0x2e796c),_0x28e2a7);}['send'](_0x1f091b,_0x1611a1,_0x4f64a1){const _0x10ff55=_0x5df611,_0x35f6f4=this[_0x10ff55(0x2f9)][_0x30ea2a[_0x10ff55(0x17a)]];let _0x43a276=_0x1611a1[_0x10ff55(0x20a)]?0x2:0x1,_0x2a60bb=_0x1611a1[_0x10ff55(0x1fb)],_0x130726,_0xb0dcc6;typeof _0x1f091b==_0x10ff55(0x23a)?(_0x130726=Buffer[_0x10ff55(0x291)](_0x1f091b),_0xb0dcc6=!0x1):_0x16c5d6(_0x1f091b)?(_0x130726=_0x1f091b['size'],_0xb0dcc6=!0x1):(_0x1f091b=_0x2886ed(_0x1f091b),_0x130726=_0x1f091b[_0x10ff55(0x1fe)],_0xb0dcc6=_0x2886ed['readOnly']),this['_firstFragment']?(this[_0x10ff55(0x2f4)]=!0x1,_0x2a60bb&&_0x35f6f4&&_0x35f6f4[_0x10ff55(0x2ce)][_0x35f6f4[_0x10ff55(0x296)]?_0x10ff55(0x2b6):_0x10ff55(0x1d1)]&&(_0x2a60bb=_0x130726>=_0x35f6f4[_0x10ff55(0x2a3)]),this[_0x10ff55(0x215)]=_0x2a60bb):(_0x2a60bb=!0x1,_0x43a276=0x0),_0x1611a1[_0x10ff55(0x2e4)]&&(this[_0x10ff55(0x2f4)]=!0x0);const _0x1e235a={[_0x1351ad]:_0x130726,'fin':_0x1611a1[_0x10ff55(0x2e4)],'generateMask':this[_0x10ff55(0x29e)],'mask':_0x1611a1['mask'],'maskBuffer':this[_0x10ff55(0x1de)],'opcode':_0x43a276,'readOnly':_0xb0dcc6,'rsv1':_0x2a60bb};_0x16c5d6(_0x1f091b)?this['_state']!==_0x1f6ce3?this['enqueue']([this[_0x10ff55(0x1f7)],_0x1f091b,this[_0x10ff55(0x215)],_0x1e235a,_0x4f64a1]):this[_0x10ff55(0x1f7)](_0x1f091b,this[_0x10ff55(0x215)],_0x1e235a,_0x4f64a1):this[_0x10ff55(0x1d2)]!==_0x1f6ce3?this[_0x10ff55(0x191)]([this[_0x10ff55(0x150)],_0x1f091b,this[_0x10ff55(0x215)],_0x1e235a,_0x4f64a1]):this[_0x10ff55(0x150)](_0x1f091b,this['_compress'],_0x1e235a,_0x4f64a1);}['getBlobData'](_0x2086d9,_0x115acf,_0x123648,_0x484b10){const _0x2a2f2b=_0x5df611;this[_0x2a2f2b(0x256)]+=_0x123648[_0x1351ad],this[_0x2a2f2b(0x1d2)]=_0x10667d,_0x2086d9['arrayBuffer']()['then'](_0x3f454b=>{const _0x89b591=_0x2a2f2b;if(this[_0x89b591(0x258)][_0x89b591(0x1f3)]){const _0x521a0e=new Error(_0x89b591(0x2d4));process[_0x89b591(0x299)](_0x446ccd,this,_0x521a0e,_0x484b10);return;}this['_bufferedBytes']-=_0x123648[_0x1351ad];const _0x14e0b6=_0x2886ed(_0x3f454b);_0x115acf?this[_0x89b591(0x150)](_0x14e0b6,_0x115acf,_0x123648,_0x484b10):(this[_0x89b591(0x1d2)]=_0x1f6ce3,this[_0x89b591(0x2a4)](_0x56cb21['frame'](_0x14e0b6,_0x123648),_0x484b10),this[_0x89b591(0x19a)]());})[_0x2a2f2b(0x2c3)](_0x2f2601=>{const _0x57e033=_0x2a2f2b;process[_0x57e033(0x299)](_0x55db6f,this,_0x2f2601,_0x484b10);});}[_0x5df611(0x150)](_0x3702db,_0x29c423,_0x3bb2f3,_0x2e1e85){const _0x40bf81=_0x5df611;if(!_0x29c423){this[_0x40bf81(0x2a4)](_0x56cb21[_0x40bf81(0x1b3)](_0x3702db,_0x3bb2f3),_0x2e1e85);return;}const _0x4d0555=this[_0x40bf81(0x2f9)][_0x30ea2a[_0x40bf81(0x17a)]];this[_0x40bf81(0x256)]+=_0x3bb2f3[_0x1351ad],this[_0x40bf81(0x1d2)]=_0x3d9940,_0x4d0555[_0x40bf81(0x1fb)](_0x3702db,_0x3bb2f3['fin'],(_0x138ad2,_0x5c6cb2)=>{const _0xa38e3f=_0x40bf81;if(this[_0xa38e3f(0x258)]['destroyed']){const _0x47f924=new Error(_0xa38e3f(0x2f6));_0x446ccd(this,_0x47f924,_0x2e1e85);return;}this[_0xa38e3f(0x256)]-=_0x3bb2f3[_0x1351ad],this[_0xa38e3f(0x1d2)]=_0x1f6ce3,_0x3bb2f3[_0xa38e3f(0x270)]=!0x1,this[_0xa38e3f(0x2a4)](_0x56cb21[_0xa38e3f(0x1b3)](_0x5c6cb2,_0x3bb2f3),_0x2e1e85),this[_0xa38e3f(0x19a)]();});}[_0x5df611(0x19a)](){const _0x2a4765=_0x5df611;for(;this[_0x2a4765(0x1d2)]===_0x1f6ce3&&this[_0x2a4765(0x219)][_0x2a4765(0x1fe)];){const _0x246a20=this[_0x2a4765(0x219)][_0x2a4765(0x193)]();this[_0x2a4765(0x256)]-=_0x246a20[0x3][_0x1351ad],Reflect[_0x2a4765(0x2c8)](_0x246a20[0x0],this,_0x246a20['slice'](0x1));}}[_0x5df611(0x191)](_0x5d7bd8){const _0x102032=_0x5df611;this[_0x102032(0x256)]+=_0x5d7bd8[0x3][_0x1351ad],this['_queue'][_0x102032(0x2f7)](_0x5d7bd8);}[_0x5df611(0x2a4)](_0x499f68,_0x22bb75){const _0x3a16ec=_0x5df611;_0x499f68[_0x3a16ec(0x1fe)]===0x2?(this[_0x3a16ec(0x258)][_0x3a16ec(0x1e7)](),this[_0x3a16ec(0x258)][_0x3a16ec(0x1aa)](_0x499f68[0x0]),this['_socket']['write'](_0x499f68[0x1],_0x22bb75),this['_socket'][_0x3a16ec(0x229)]()):this['_socket']['write'](_0x499f68[0x0],_0x22bb75);}}Ee=_0x56cb21;function _0x446ccd(_0x11322b,_0x31f005,_0x19258a){const _0x5bd801=_0x5df611;typeof _0x19258a==_0x5bd801(0x240)&&_0x19258a(_0x31f005);for(let _0x56bf12=0x0;_0x56bf12<_0x11322b[_0x5bd801(0x219)][_0x5bd801(0x1fe)];_0x56bf12++){const _0x46faa8=_0x11322b[_0x5bd801(0x219)][_0x56bf12],_0x16fc99=_0x46faa8[_0x46faa8[_0x5bd801(0x1fe)]-0x1];typeof _0x16fc99==_0x5bd801(0x240)&&_0x16fc99(_0x31f005);}}function _0x55db6f(_0x523870,_0x8dabd4,_0x6d5504){const _0x52e240=_0x5df611;_0x446ccd(_0x523870,_0x8dabd4,_0x6d5504),_0x523870[_0x52e240(0x280)](_0x8dabd4);}return Ee;}var xe,Ze;function It(){const _0x18c1f1=_0x4c4d18;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x1bac9a,kListener:_0x17f9d9}=H(),_0x4d450e=Symbol('kCode'),_0x1177c8=Symbol('kData'),_0x2426ac=Symbol(_0x18c1f1(0x21b)),_0x543d79=Symbol('kMessage'),_0x22ed7b=Symbol(_0x18c1f1(0x15c)),_0x365fe5=Symbol('kTarget'),_0x2654d4=Symbol(_0x18c1f1(0x2be)),_0x46a75e=Symbol(_0x18c1f1(0x28a));class _0x3e1d3a{constructor(_0x1f2559){this[_0x365fe5]=null,this[_0x2654d4]=_0x1f2559;}get[_0x18c1f1(0x165)](){return this[_0x365fe5];}get[_0x18c1f1(0x269)](){return this[_0x2654d4];}}Object[_0x18c1f1(0x2f5)](_0x3e1d3a[_0x18c1f1(0x1e3)],_0x18c1f1(0x165),{'enumerable':!0x0}),Object['defineProperty'](_0x3e1d3a[_0x18c1f1(0x1e3)],_0x18c1f1(0x269),{'enumerable':!0x0});class _0x217186 extends _0x3e1d3a{constructor(_0x466a81,_0x16e258={}){const _0x299df1=_0x18c1f1;super(_0x466a81),this[_0x4d450e]=_0x16e258[_0x299df1(0x257)]===void 0x0?0x0:_0x16e258['code'],this[_0x22ed7b]=_0x16e258[_0x299df1(0x1dd)]===void 0x0?'':_0x16e258[_0x299df1(0x1dd)],this[_0x46a75e]=_0x16e258['wasClean']===void 0x0?!0x1:_0x16e258[_0x299df1(0x23b)];}get[_0x18c1f1(0x257)](){return this[_0x4d450e];}get[_0x18c1f1(0x1dd)](){return this[_0x22ed7b];}get[_0x18c1f1(0x23b)](){return this[_0x46a75e];}}Object['defineProperty'](_0x217186[_0x18c1f1(0x1e3)],'code',{'enumerable':!0x0}),Object[_0x18c1f1(0x2f5)](_0x217186[_0x18c1f1(0x1e3)],_0x18c1f1(0x1dd),{'enumerable':!0x0}),Object['defineProperty'](_0x217186[_0x18c1f1(0x1e3)],'wasClean',{'enumerable':!0x0});class _0x12da4b extends _0x3e1d3a{constructor(_0x554b1b,_0x3c8ae9={}){const _0x5847bb=_0x18c1f1;super(_0x554b1b),this[_0x2426ac]=_0x3c8ae9['error']===void 0x0?null:_0x3c8ae9[_0x5847bb(0x23c)],this[_0x543d79]=_0x3c8ae9[_0x5847bb(0x1af)]===void 0x0?'':_0x3c8ae9[_0x5847bb(0x1af)];}get['error'](){return this[_0x2426ac];}get[_0x18c1f1(0x1af)](){return this[_0x543d79];}}Object['defineProperty'](_0x12da4b['prototype'],_0x18c1f1(0x23c),{'enumerable':!0x0}),Object[_0x18c1f1(0x2f5)](_0x12da4b[_0x18c1f1(0x1e3)],_0x18c1f1(0x1af),{'enumerable':!0x0});class _0x12cfe5 extends _0x3e1d3a{constructor(_0x2652a5,_0x4943e7={}){const _0x2c9a3b=_0x18c1f1;super(_0x2652a5),this[_0x1177c8]=_0x4943e7['data']===void 0x0?null:_0x4943e7[_0x2c9a3b(0x1ee)];}get[_0x18c1f1(0x1ee)](){return this[_0x1177c8];}}Object[_0x18c1f1(0x2f5)](_0x12cfe5[_0x18c1f1(0x1e3)],'data',{'enumerable':!0x0}),xe={'CloseEvent':_0x217186,'ErrorEvent':_0x12da4b,'Event':_0x3e1d3a,'EventTarget':{'addEventListener'(_0x4fa1b2,_0x100009,_0x4806e7={}){const _0x1372e2=_0x18c1f1;for(const _0x906a5f of this[_0x1372e2(0x17c)](_0x4fa1b2))if(!_0x4806e7[_0x1bac9a]&&_0x906a5f[_0x17f9d9]===_0x100009&&!_0x906a5f[_0x1bac9a])return;let _0x684261;if(_0x4fa1b2===_0x1372e2(0x1af))_0x684261=function(_0x148d81,_0x13e394){const _0x1a0269=_0x1372e2,_0x148350=new _0x12cfe5(_0x1a0269(0x1af),{'data':_0x13e394?_0x148d81:_0x148d81[_0x1a0269(0x1a9)]()});_0x148350[_0x365fe5]=this,_0x1deb50(_0x100009,this,_0x148350);};else{if(_0x4fa1b2===_0x1372e2(0x152))_0x684261=function(_0x3444cd,_0x49a3d8){const _0x2d1d3e=_0x1372e2,_0x5bfd7b=new _0x217186(_0x2d1d3e(0x152),{'code':_0x3444cd,'reason':_0x49a3d8[_0x2d1d3e(0x1a9)](),'wasClean':this['_closeFrameReceived']&&this[_0x2d1d3e(0x182)]});_0x5bfd7b[_0x365fe5]=this,_0x1deb50(_0x100009,this,_0x5bfd7b);};else{if(_0x4fa1b2==='error')_0x684261=function(_0x47cf06){const _0x274997=_0x1372e2,_0x29e350=new _0x12da4b('error',{'error':_0x47cf06,'message':_0x47cf06[_0x274997(0x1af)]});_0x29e350[_0x365fe5]=this,_0x1deb50(_0x100009,this,_0x29e350);};else{if(_0x4fa1b2===_0x1372e2(0x24f))_0x684261=function(){const _0x2cde9f=_0x1372e2,_0x15410f=new _0x3e1d3a(_0x2cde9f(0x24f));_0x15410f[_0x365fe5]=this,_0x1deb50(_0x100009,this,_0x15410f);};else return;}}}_0x684261[_0x1bac9a]=!!_0x4806e7[_0x1bac9a],_0x684261[_0x17f9d9]=_0x100009,_0x4806e7['once']?this['once'](_0x4fa1b2,_0x684261):this['on'](_0x4fa1b2,_0x684261);},'removeEventListener'(_0x5386fd,_0x3aeeef){const _0x4aa13e=_0x18c1f1;for(const _0x1a7be6 of this[_0x4aa13e(0x17c)](_0x5386fd))if(_0x1a7be6[_0x17f9d9]===_0x3aeeef&&!_0x1a7be6[_0x1bac9a]){this['removeListener'](_0x5386fd,_0x1a7be6);break;}}},'MessageEvent':_0x12cfe5};function _0x1deb50(_0x5dc821,_0x3d6709,_0x1bdb94){const _0x4e7759=_0x18c1f1;typeof _0x5dc821==_0x4e7759(0x238)&&_0x5dc821[_0x4e7759(0x2af)]?_0x5dc821[_0x4e7759(0x2af)]['call'](_0x5dc821,_0x1bdb94):_0x5dc821[_0x4e7759(0x27e)](_0x3d6709,_0x1bdb94);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x30f55b}=ae();function _0x5bb688(_0x12b591,_0x374960,_0x4e9db7){const _0x2b1d12=_0x11b5;_0x12b591[_0x374960]===void 0x0?_0x12b591[_0x374960]=[_0x4e9db7]:_0x12b591[_0x374960][_0x2b1d12(0x2f7)](_0x4e9db7);}function _0x2204a0(_0x4e4d22){const _0x4413f6=_0x11b5,_0x302bc2=Object[_0x4413f6(0x2d6)](null);let _0x441e5a=Object[_0x4413f6(0x2d6)](null),_0x13b7be=!0x1,_0x56510a=!0x1,_0x2c890d=!0x1,_0x2b4bcd,_0x557828,_0x185ce4=-0x1,_0x54a4c2=-0x1,_0x1932ec=-0x1,_0xc687e7=0x0;for(;_0xc687e7<_0x4e4d22[_0x4413f6(0x1fe)];_0xc687e7++)if(_0x54a4c2=_0x4e4d22[_0x4413f6(0x16e)](_0xc687e7),_0x2b4bcd===void 0x0){if(_0x1932ec===-0x1&&_0x30f55b[_0x54a4c2]===0x1)_0x185ce4===-0x1&&(_0x185ce4=_0xc687e7);else{if(_0xc687e7!==0x0&&(_0x54a4c2===0x20||_0x54a4c2===0x9))_0x1932ec===-0x1&&_0x185ce4!==-0x1&&(_0x1932ec=_0xc687e7);else{if(_0x54a4c2===0x3b||_0x54a4c2===0x2c){if(_0x185ce4===-0x1)throw new SyntaxError(_0x4413f6(0x16b)+_0xc687e7);_0x1932ec===-0x1&&(_0x1932ec=_0xc687e7);const _0x6de90=_0x4e4d22[_0x4413f6(0x14b)](_0x185ce4,_0x1932ec);_0x54a4c2===0x2c?(_0x5bb688(_0x302bc2,_0x6de90,_0x441e5a),_0x441e5a=Object['create'](null)):_0x2b4bcd=_0x6de90,_0x185ce4=_0x1932ec=-0x1;}else throw new SyntaxError(_0x4413f6(0x16b)+_0xc687e7);}}}else{if(_0x557828===void 0x0){if(_0x1932ec===-0x1&&_0x30f55b[_0x54a4c2]===0x1)_0x185ce4===-0x1&&(_0x185ce4=_0xc687e7);else{if(_0x54a4c2===0x20||_0x54a4c2===0x9)_0x1932ec===-0x1&&_0x185ce4!==-0x1&&(_0x1932ec=_0xc687e7);else{if(_0x54a4c2===0x3b||_0x54a4c2===0x2c){if(_0x185ce4===-0x1)throw new SyntaxError(_0x4413f6(0x16b)+_0xc687e7);_0x1932ec===-0x1&&(_0x1932ec=_0xc687e7),_0x5bb688(_0x441e5a,_0x4e4d22[_0x4413f6(0x14b)](_0x185ce4,_0x1932ec),!0x0),_0x54a4c2===0x2c&&(_0x5bb688(_0x302bc2,_0x2b4bcd,_0x441e5a),_0x441e5a=Object['create'](null),_0x2b4bcd=void 0x0),_0x185ce4=_0x1932ec=-0x1;}else{if(_0x54a4c2===0x3d&&_0x185ce4!==-0x1&&_0x1932ec===-0x1)_0x557828=_0x4e4d22[_0x4413f6(0x14b)](_0x185ce4,_0xc687e7),_0x185ce4=_0x1932ec=-0x1;else throw new SyntaxError(_0x4413f6(0x16b)+_0xc687e7);}}}}else{if(_0x56510a){if(_0x30f55b[_0x54a4c2]!==0x1)throw new SyntaxError(_0x4413f6(0x16b)+_0xc687e7);_0x185ce4===-0x1?_0x185ce4=_0xc687e7:_0x13b7be||(_0x13b7be=!0x0),_0x56510a=!0x1;}else{if(_0x2c890d){if(_0x30f55b[_0x54a4c2]===0x1)_0x185ce4===-0x1&&(_0x185ce4=_0xc687e7);else{if(_0x54a4c2===0x22&&_0x185ce4!==-0x1)_0x2c890d=!0x1,_0x1932ec=_0xc687e7;else{if(_0x54a4c2===0x5c)_0x56510a=!0x0;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0xc687e7);}}}else{if(_0x54a4c2===0x22&&_0x4e4d22['charCodeAt'](_0xc687e7-0x1)===0x3d)_0x2c890d=!0x0;else{if(_0x1932ec===-0x1&&_0x30f55b[_0x54a4c2]===0x1)_0x185ce4===-0x1&&(_0x185ce4=_0xc687e7);else{if(_0x185ce4!==-0x1&&(_0x54a4c2===0x20||_0x54a4c2===0x9))_0x1932ec===-0x1&&(_0x1932ec=_0xc687e7);else{if(_0x54a4c2===0x3b||_0x54a4c2===0x2c){if(_0x185ce4===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0xc687e7);_0x1932ec===-0x1&&(_0x1932ec=_0xc687e7);let _0x437679=_0x4e4d22[_0x4413f6(0x14b)](_0x185ce4,_0x1932ec);_0x13b7be&&(_0x437679=_0x437679[_0x4413f6(0x1b4)](/\\/g,''),_0x13b7be=!0x1),_0x5bb688(_0x441e5a,_0x557828,_0x437679),_0x54a4c2===0x2c&&(_0x5bb688(_0x302bc2,_0x2b4bcd,_0x441e5a),_0x441e5a=Object[_0x4413f6(0x2d6)](null),_0x2b4bcd=void 0x0),_0x557828=void 0x0,_0x185ce4=_0x1932ec=-0x1;}else throw new SyntaxError(_0x4413f6(0x16b)+_0xc687e7);}}}}}}}if(_0x185ce4===-0x1||_0x2c890d||_0x54a4c2===0x20||_0x54a4c2===0x9)throw new SyntaxError(_0x4413f6(0x183));_0x1932ec===-0x1&&(_0x1932ec=_0xc687e7);const _0x4150f8=_0x4e4d22[_0x4413f6(0x14b)](_0x185ce4,_0x1932ec);return _0x2b4bcd===void 0x0?_0x5bb688(_0x302bc2,_0x4150f8,_0x441e5a):(_0x557828===void 0x0?_0x5bb688(_0x441e5a,_0x4150f8,!0x0):_0x13b7be?_0x5bb688(_0x441e5a,_0x557828,_0x4150f8['replace'](/\\/g,'')):_0x5bb688(_0x441e5a,_0x557828,_0x4150f8),_0x5bb688(_0x302bc2,_0x2b4bcd,_0x441e5a)),_0x302bc2;}function _0xf4cd4b(_0xfb799e){const _0x1cd8ab=_0x11b5;return Object[_0x1cd8ab(0x164)](_0xfb799e)[_0x1cd8ab(0x234)](_0x1f3a56=>{const _0x52de7f=_0x1cd8ab;let _0x556f27=_0xfb799e[_0x1f3a56];return Array[_0x52de7f(0x19d)](_0x556f27)||(_0x556f27=[_0x556f27]),_0x556f27[_0x52de7f(0x234)](_0xc2912f=>[_0x1f3a56][_0x52de7f(0x1bf)](Object[_0x52de7f(0x164)](_0xc2912f)[_0x52de7f(0x234)](_0x2a3f6d=>{const _0x57c45a=_0x52de7f;let _0x45b66f=_0xc2912f[_0x2a3f6d];return Array[_0x57c45a(0x19d)](_0x45b66f)||(_0x45b66f=[_0x45b66f]),_0x45b66f[_0x57c45a(0x234)](_0x335327=>_0x335327===!0x0?_0x2a3f6d:_0x2a3f6d+'='+_0x335327)[_0x57c45a(0x1bb)](';\x20');}))[_0x52de7f(0x1bb)](';\x20'))[_0x52de7f(0x1bb)](',\x20');})['join'](',\x20');}return be={'format':_0xf4cd4b,'parse':_0x2204a0},be;}var we,Je;function Pe(){const _0x4c17de=_0x4c4d18;if(Je)return we;Je=0x1;const _0x3585a0=nt,_0x1c1f90=vt,_0x2efa56=ot,_0x83d492=St,_0x437d65=Et,{randomBytes:_0x38de93,createHash:_0x595781}=Le,{Duplex:_0x59f1fe,Readable:_0xca6435}=oe,{URL:_0x566caf}=xt,_0x269ae8=he(),_0x1c03f8=lt(),_0x49ec25=ft(),{isBlob:_0x29087b}=ae(),{BINARY_TYPES:_0x4848fc,EMPTY_BUFFER:_0x57eb1e,GUID:_0x45725b,kForOnEventAttribute:_0x34e193,kListener:_0x605c3b,kStatusCode:_0x33dcde,kWebSocket:_0x58a1f2,NOOP:_0x17c55c}=H(),{EventTarget:{addEventListener:_0x41516a,removeEventListener:_0x13b474}}=It(),{format:_0x85e25e,parse:_0x454fae}=ct(),{toBuffer:_0x1fabc8}=ce(),_0xc82f2f=0x1e*0x3e8,_0x46448c=Symbol('kAborted'),_0x49c159=[0x8,0xd],_0x45d8ff=[_0x4c17de(0x210),_0x4c17de(0x2f2),_0x4c17de(0x2fc),_0x4c17de(0x180)],_0x4eeb4b=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x3584cd extends _0x3585a0{constructor(_0xd05a5a,_0x2965d9,_0x53537e){const _0x836a3=_0x4c17de;super(),this[_0x836a3(0x277)]=_0x4848fc[0x0],this[_0x836a3(0x21c)]=0x3ee,this[_0x836a3(0x2ee)]=!0x1,this[_0x836a3(0x182)]=!0x1,this['_closeMessage']=_0x57eb1e,this[_0x836a3(0x1d6)]=null,this['_errorEmitted']=!0x1,this[_0x836a3(0x2f9)]={},this[_0x836a3(0x2cb)]=!0x1,this[_0x836a3(0x2d1)]='',this[_0x836a3(0x2b1)]=_0x3584cd[_0x836a3(0x210)],this['_receiver']=null,this[_0x836a3(0x29a)]=null,this[_0x836a3(0x258)]=null,_0xd05a5a!==null?(this[_0x836a3(0x18a)]=0x0,this[_0x836a3(0x296)]=!0x1,this['_redirects']=0x0,_0x2965d9===void 0x0?_0x2965d9=[]:Array[_0x836a3(0x19d)](_0x2965d9)||(typeof _0x2965d9==_0x836a3(0x238)&&_0x2965d9!==null?(_0x53537e=_0x2965d9,_0x2965d9=[]):_0x2965d9=[_0x2965d9]),_0x3a09dc(this,_0xd05a5a,_0x2965d9,_0x53537e)):(this[_0x836a3(0x245)]=_0x53537e['autoPong'],this['_isServer']=!0x0);}get[_0x4c17de(0x260)](){const _0xa460b3=_0x4c17de;return this[_0xa460b3(0x277)];}set['binaryType'](_0x32972c){const _0xabe170=_0x4c17de;_0x4848fc[_0xabe170(0x237)](_0x32972c)&&(this[_0xabe170(0x277)]=_0x32972c,this['_receiver']&&(this['_receiver'][_0xabe170(0x277)]=_0x32972c));}get['bufferedAmount'](){const _0xd6a175=_0x4c17de;return this[_0xd6a175(0x258)]?this['_socket'][_0xd6a175(0x253)][_0xd6a175(0x1fe)]+this[_0xd6a175(0x29a)][_0xd6a175(0x256)]:this[_0xd6a175(0x18a)];}get['extensions'](){const _0x28ec07=_0x4c17de;return Object[_0x28ec07(0x164)](this['_extensions'])[_0x28ec07(0x1bb)]();}get[_0x4c17de(0x266)](){return this['_paused'];}get[_0x4c17de(0x2b7)](){return null;}get[_0x4c17de(0x280)](){return null;}get[_0x4c17de(0x1e1)](){return null;}get['onmessage'](){return null;}get['protocol'](){const _0x16107f=_0x4c17de;return this[_0x16107f(0x2d1)];}get['readyState'](){const _0x375f79=_0x4c17de;return this[_0x375f79(0x2b1)];}get[_0x4c17de(0x2da)](){return this['_url'];}[_0x4c17de(0x2ca)](_0x5688d2,_0x9b2e5c,_0x348ef0){const _0x7b8429=_0x4c17de,_0x41847a=new _0x1c03f8({'allowSynchronousEvents':_0x348ef0['allowSynchronousEvents'],'binaryType':this[_0x7b8429(0x260)],'extensions':this['_extensions'],'isServer':this[_0x7b8429(0x296)],'maxPayload':_0x348ef0[_0x7b8429(0x14d)],'skipUTF8Validation':_0x348ef0[_0x7b8429(0x27f)]}),_0xdf2527=new _0x49ec25(_0x5688d2,this['_extensions'],_0x348ef0[_0x7b8429(0x244)]);this[_0x7b8429(0x287)]=_0x41847a,this[_0x7b8429(0x29a)]=_0xdf2527,this[_0x7b8429(0x258)]=_0x5688d2,_0x41847a[_0x58a1f2]=this,_0xdf2527[_0x58a1f2]=this,_0x5688d2[_0x58a1f2]=this,_0x41847a['on']('conclude',_0x7cf73f),_0x41847a['on'](_0x7b8429(0x1a4),_0x491c62),_0x41847a['on']('error',_0x4bbe06),_0x41847a['on'](_0x7b8429(0x1af),_0x1e7747),_0x41847a['on'](_0x7b8429(0x173),_0x475ac4),_0x41847a['on'](_0x7b8429(0x24b),_0x206e47),_0xdf2527[_0x7b8429(0x280)]=_0x400e62,_0x5688d2['setTimeout']&&_0x5688d2[_0x7b8429(0x27c)](0x0),_0x5688d2[_0x7b8429(0x1db)]&&_0x5688d2['setNoDelay'](),_0x9b2e5c[_0x7b8429(0x1fe)]>0x0&&_0x5688d2[_0x7b8429(0x26e)](_0x9b2e5c),_0x5688d2['on'](_0x7b8429(0x152),_0x2328d7),_0x5688d2['on']('data',_0x165ca6),_0x5688d2['on'](_0x7b8429(0x2f8),_0x451493),_0x5688d2['on']('error',_0x11029f),this[_0x7b8429(0x2b1)]=_0x3584cd['OPEN'],this[_0x7b8429(0x1ab)](_0x7b8429(0x24f));}[_0x4c17de(0x14e)](){const _0x30bb0f=_0x4c17de;if(!this[_0x30bb0f(0x258)]){this[_0x30bb0f(0x2b1)]=_0x3584cd['CLOSED'],this[_0x30bb0f(0x1ab)](_0x30bb0f(0x152),this['_closeCode'],this[_0x30bb0f(0x169)]);return;}this[_0x30bb0f(0x2f9)][_0x269ae8[_0x30bb0f(0x17a)]]&&this[_0x30bb0f(0x2f9)][_0x269ae8['extensionName']][_0x30bb0f(0x1eb)](),this['_receiver'][_0x30bb0f(0x2dc)](),this[_0x30bb0f(0x2b1)]=_0x3584cd[_0x30bb0f(0x180)],this['emit'](_0x30bb0f(0x152),this[_0x30bb0f(0x21c)],this[_0x30bb0f(0x169)]);}[_0x4c17de(0x152)](_0x155daf,_0x5bfaed){const _0x57fa00=_0x4c17de;if(this[_0x57fa00(0x1ea)]!==_0x3584cd[_0x57fa00(0x180)]){if(this[_0x57fa00(0x1ea)]===_0x3584cd[_0x57fa00(0x210)]){_0x16f97e(this,this['_req'],_0x57fa00(0x149));return;}if(this[_0x57fa00(0x1ea)]===_0x3584cd[_0x57fa00(0x2fc)]){this['_closeFrameSent']&&(this[_0x57fa00(0x2ee)]||this[_0x57fa00(0x287)]['_writableState'][_0x57fa00(0x1b6)])&&this[_0x57fa00(0x258)][_0x57fa00(0x2f8)]();return;}this['_readyState']=_0x3584cd[_0x57fa00(0x2fc)],this['_sender'][_0x57fa00(0x152)](_0x155daf,_0x5bfaed,!this[_0x57fa00(0x296)],_0x575bfb=>{const _0x364ea8=_0x57fa00;_0x575bfb||(this[_0x364ea8(0x182)]=!0x0,(this[_0x364ea8(0x2ee)]||this[_0x364ea8(0x287)][_0x364ea8(0x253)][_0x364ea8(0x1b6)])&&this[_0x364ea8(0x258)]['end']());}),_0x22d5bc(this);}}[_0x4c17de(0x2fb)](){const _0x39d438=_0x4c17de;this['readyState']===_0x3584cd['CONNECTING']||this['readyState']===_0x3584cd[_0x39d438(0x180)]||(this[_0x39d438(0x2cb)]=!0x0,this[_0x39d438(0x258)]['pause']());}[_0x4c17de(0x173)](_0x1eaa13,_0x5530b3,_0x3137ce){const _0x2b5979=_0x4c17de;if(this[_0x2b5979(0x1ea)]===_0x3584cd[_0x2b5979(0x210)])throw new Error(_0x2b5979(0x1c7));if(typeof _0x1eaa13=='function'?(_0x3137ce=_0x1eaa13,_0x1eaa13=_0x5530b3=void 0x0):typeof _0x5530b3==_0x2b5979(0x240)&&(_0x3137ce=_0x5530b3,_0x5530b3=void 0x0),typeof _0x1eaa13==_0x2b5979(0x171)&&(_0x1eaa13=_0x1eaa13[_0x2b5979(0x1a9)]()),this['readyState']!==_0x3584cd[_0x2b5979(0x2f2)]){_0x5ccf67(this,_0x1eaa13,_0x3137ce);return;}_0x5530b3===void 0x0&&(_0x5530b3=!this[_0x2b5979(0x296)]),this[_0x2b5979(0x29a)]['ping'](_0x1eaa13||_0x57eb1e,_0x5530b3,_0x3137ce);}[_0x4c17de(0x24b)](_0x112fab,_0x309a3b,_0x239567){const _0x67c28b=_0x4c17de;if(this[_0x67c28b(0x1ea)]===_0x3584cd[_0x67c28b(0x210)])throw new Error(_0x67c28b(0x1c7));if(typeof _0x112fab==_0x67c28b(0x240)?(_0x239567=_0x112fab,_0x112fab=_0x309a3b=void 0x0):typeof _0x309a3b=='function'&&(_0x239567=_0x309a3b,_0x309a3b=void 0x0),typeof _0x112fab==_0x67c28b(0x171)&&(_0x112fab=_0x112fab[_0x67c28b(0x1a9)]()),this[_0x67c28b(0x1ea)]!==_0x3584cd[_0x67c28b(0x2f2)]){_0x5ccf67(this,_0x112fab,_0x239567);return;}_0x309a3b===void 0x0&&(_0x309a3b=!this[_0x67c28b(0x296)]),this[_0x67c28b(0x29a)][_0x67c28b(0x24b)](_0x112fab||_0x57eb1e,_0x309a3b,_0x239567);}[_0x4c17de(0x235)](){const _0x2d41a8=_0x4c17de;this[_0x2d41a8(0x1ea)]===_0x3584cd['CONNECTING']||this[_0x2d41a8(0x1ea)]===_0x3584cd[_0x2d41a8(0x180)]||(this[_0x2d41a8(0x2cb)]=!0x1,this[_0x2d41a8(0x287)][_0x2d41a8(0x253)][_0x2d41a8(0x249)]||this['_socket'][_0x2d41a8(0x235)]());}[_0x4c17de(0x186)](_0x305fa2,_0x33c3e3,_0x17e3ac){const _0x510226=_0x4c17de;if(this[_0x510226(0x1ea)]===_0x3584cd[_0x510226(0x210)])throw new Error(_0x510226(0x1c7));if(typeof _0x33c3e3==_0x510226(0x240)&&(_0x17e3ac=_0x33c3e3,_0x33c3e3={}),typeof _0x305fa2==_0x510226(0x171)&&(_0x305fa2=_0x305fa2[_0x510226(0x1a9)]()),this[_0x510226(0x1ea)]!==_0x3584cd[_0x510226(0x2f2)]){_0x5ccf67(this,_0x305fa2,_0x17e3ac);return;}const _0x5e1a50={'binary':typeof _0x305fa2!=_0x510226(0x23a),'mask':!this[_0x510226(0x296)],'compress':!0x0,'fin':!0x0,..._0x33c3e3};this[_0x510226(0x2f9)][_0x269ae8[_0x510226(0x17a)]]||(_0x5e1a50[_0x510226(0x1fb)]=!0x1),this[_0x510226(0x29a)]['send'](_0x305fa2||_0x57eb1e,_0x5e1a50,_0x17e3ac);}[_0x4c17de(0x24a)](){const _0x54e4a0=_0x4c17de;if(this[_0x54e4a0(0x1ea)]!==_0x3584cd[_0x54e4a0(0x180)]){if(this[_0x54e4a0(0x1ea)]===_0x3584cd[_0x54e4a0(0x210)]){_0x16f97e(this,this[_0x54e4a0(0x174)],_0x54e4a0(0x149));return;}this[_0x54e4a0(0x258)]&&(this[_0x54e4a0(0x2b1)]=_0x3584cd[_0x54e4a0(0x2fc)],this[_0x54e4a0(0x258)][_0x54e4a0(0x1ec)]());}}}Object[_0x4c17de(0x2f5)](_0x3584cd,_0x4c17de(0x210),{'enumerable':!0x0,'value':_0x45d8ff[_0x4c17de(0x1e5)](_0x4c17de(0x210))}),Object[_0x4c17de(0x2f5)](_0x3584cd[_0x4c17de(0x1e3)],_0x4c17de(0x210),{'enumerable':!0x0,'value':_0x45d8ff[_0x4c17de(0x1e5)](_0x4c17de(0x210))}),Object[_0x4c17de(0x2f5)](_0x3584cd,_0x4c17de(0x2f2),{'enumerable':!0x0,'value':_0x45d8ff[_0x4c17de(0x1e5)]('OPEN')}),Object[_0x4c17de(0x2f5)](_0x3584cd[_0x4c17de(0x1e3)],_0x4c17de(0x2f2),{'enumerable':!0x0,'value':_0x45d8ff[_0x4c17de(0x1e5)](_0x4c17de(0x2f2))}),Object[_0x4c17de(0x2f5)](_0x3584cd,'CLOSING',{'enumerable':!0x0,'value':_0x45d8ff[_0x4c17de(0x1e5)]('CLOSING')}),Object['defineProperty'](_0x3584cd[_0x4c17de(0x1e3)],_0x4c17de(0x2fc),{'enumerable':!0x0,'value':_0x45d8ff[_0x4c17de(0x1e5)](_0x4c17de(0x2fc))}),Object[_0x4c17de(0x2f5)](_0x3584cd,'CLOSED',{'enumerable':!0x0,'value':_0x45d8ff['indexOf'](_0x4c17de(0x180))}),Object[_0x4c17de(0x2f5)](_0x3584cd[_0x4c17de(0x1e3)],_0x4c17de(0x180),{'enumerable':!0x0,'value':_0x45d8ff[_0x4c17de(0x1e5)](_0x4c17de(0x180))}),['binaryType','bufferedAmount','extensions','isPaused',_0x4c17de(0x1c2),_0x4c17de(0x1ea),_0x4c17de(0x2da)][_0x4c17de(0x231)](_0x28e48a=>{const _0x113161=_0x4c17de;Object[_0x113161(0x2f5)](_0x3584cd[_0x113161(0x1e3)],_0x28e48a,{'enumerable':!0x0});}),['open',_0x4c17de(0x23c),'close',_0x4c17de(0x1af)]['forEach'](_0x57ccdd=>{const _0x22c4f8=_0x4c17de;Object[_0x22c4f8(0x2f5)](_0x3584cd[_0x22c4f8(0x1e3)],'on'+_0x57ccdd,{'enumerable':!0x0,'get'(){const _0x42d1ee=_0x22c4f8;for(const _0x204fc4 of this[_0x42d1ee(0x17c)](_0x57ccdd))if(_0x204fc4[_0x34e193])return _0x204fc4[_0x605c3b];return null;},'set'(_0x5e058e){const _0x97c006=_0x22c4f8;for(const _0x4a0a9d of this[_0x97c006(0x17c)](_0x57ccdd))if(_0x4a0a9d[_0x34e193]){this[_0x97c006(0x1e4)](_0x57ccdd,_0x4a0a9d);break;}typeof _0x5e058e==_0x97c006(0x240)&&this[_0x97c006(0x1d3)](_0x57ccdd,_0x5e058e,{[_0x34e193]:!0x0});}});}),_0x3584cd['prototype'][_0x4c17de(0x1d3)]=_0x41516a,_0x3584cd['prototype']['removeEventListener']=_0x13b474,we=_0x3584cd;function _0x3a09dc(_0x3b2731,_0x1f885d,_0x38635f,_0x3f3a70){const _0x55357b=_0x4c17de,_0x2f2ef2={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x49c159[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x3f3a70,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x3b2731[_0x55357b(0x245)]=_0x2f2ef2['autoPong'],!_0x49c159[_0x55357b(0x237)](_0x2f2ef2[_0x55357b(0x2fe)]))throw new RangeError(_0x55357b(0x1a5)+_0x2f2ef2['protocolVersion']+_0x55357b(0x1be)+_0x49c159[_0x55357b(0x1bb)](',\x20')+')');let _0x164c8c;if(_0x1f885d instanceof _0x566caf)_0x164c8c=_0x1f885d;else try{_0x164c8c=new _0x566caf(_0x1f885d);}catch{throw new SyntaxError(_0x55357b(0x190)+_0x1f885d);}_0x164c8c['protocol']==='http:'?_0x164c8c[_0x55357b(0x1c2)]='ws:':_0x164c8c['protocol']==='https:'&&(_0x164c8c[_0x55357b(0x1c2)]='wss:'),_0x3b2731[_0x55357b(0x29b)]=_0x164c8c[_0x55357b(0x2dd)];const _0x2df3cd=_0x164c8c[_0x55357b(0x1c2)]==='wss:',_0x379a84=_0x164c8c['protocol']==='ws+unix:';let _0x4c6758;if(_0x164c8c[_0x55357b(0x1c2)]!==_0x55357b(0x179)&&!_0x2df3cd&&!_0x379a84?_0x4c6758=_0x55357b(0x2fd):_0x379a84&&!_0x164c8c['pathname']?_0x4c6758='The\x20URL\x27s\x20pathname\x20is\x20empty':_0x164c8c[_0x55357b(0x2d2)]&&(_0x4c6758=_0x55357b(0x199)),_0x4c6758){const _0x501b00=new SyntaxError(_0x4c6758);if(_0x3b2731['_redirects']===0x0)throw _0x501b00;_0x69db7c(_0x3b2731,_0x501b00);return;}const _0x458bb3=_0x2df3cd?0x1bb:0x50,_0x2713d6=_0x38de93(0x10)['toString'](_0x55357b(0x1a0)),_0x32ee13=_0x2df3cd?_0x1c1f90[_0x55357b(0x2bb)]:_0x2efa56[_0x55357b(0x2bb)],_0x352181=new Set();let _0x5bb243;if(_0x2f2ef2[_0x55357b(0x21f)]=_0x2f2ef2[_0x55357b(0x21f)]||(_0x2df3cd?_0xd5984b:_0x34d9b4),_0x2f2ef2[_0x55357b(0x2b2)]=_0x2f2ef2[_0x55357b(0x2b2)]||_0x458bb3,_0x2f2ef2[_0x55357b(0x196)]=_0x164c8c[_0x55357b(0x196)]||_0x458bb3,_0x2f2ef2[_0x55357b(0x236)]=_0x164c8c[_0x55357b(0x1ac)][_0x55357b(0x1f0)]('[')?_0x164c8c[_0x55357b(0x1ac)][_0x55357b(0x14b)](0x1,-0x1):_0x164c8c['hostname'],_0x2f2ef2[_0x55357b(0x1dc)]={..._0x2f2ef2[_0x55357b(0x1dc)],'Sec-WebSocket-Version':_0x2f2ef2['protocolVersion'],'Sec-WebSocket-Key':_0x2713d6,'Connection':_0x55357b(0x25c),'Upgrade':'websocket'},_0x2f2ef2[_0x55357b(0x2e9)]=_0x164c8c[_0x55357b(0x2cf)]+_0x164c8c['search'],_0x2f2ef2[_0x55357b(0x20d)]=_0x2f2ef2[_0x55357b(0x25a)],_0x2f2ef2[_0x55357b(0x1df)]&&(_0x5bb243=new _0x269ae8(_0x2f2ef2['perMessageDeflate']!==!0x0?_0x2f2ef2[_0x55357b(0x1df)]:{},!0x1,_0x2f2ef2[_0x55357b(0x14d)]),_0x2f2ef2['headers']['Sec-WebSocket-Extensions']=_0x85e25e({[_0x269ae8[_0x55357b(0x17a)]]:_0x5bb243['offer']()})),_0x38635f[_0x55357b(0x1fe)]){for(const _0x2df136 of _0x38635f){if(typeof _0x2df136!='string'||!_0x4eeb4b['test'](_0x2df136)||_0x352181['has'](_0x2df136))throw new SyntaxError(_0x55357b(0x2c7));_0x352181[_0x55357b(0x27b)](_0x2df136);}_0x2f2ef2[_0x55357b(0x1dc)][_0x55357b(0x188)]=_0x38635f[_0x55357b(0x1bb)](',');}if(_0x2f2ef2[_0x55357b(0x19c)]&&(_0x2f2ef2[_0x55357b(0x2fe)]<0xd?_0x2f2ef2['headers'][_0x55357b(0x1c4)]=_0x2f2ef2[_0x55357b(0x19c)]:_0x2f2ef2[_0x55357b(0x1dc)]['Origin']=_0x2f2ef2[_0x55357b(0x19c)]),(_0x164c8c[_0x55357b(0x19f)]||_0x164c8c[_0x55357b(0x265)])&&(_0x2f2ef2['auth']=_0x164c8c[_0x55357b(0x19f)]+':'+_0x164c8c[_0x55357b(0x265)]),_0x379a84){const _0x4b883f=_0x2f2ef2[_0x55357b(0x2e9)]['split'](':');_0x2f2ef2[_0x55357b(0x1ad)]=_0x4b883f[0x0],_0x2f2ef2[_0x55357b(0x2e9)]=_0x4b883f[0x1];}let _0x12ec70;if(_0x2f2ef2['followRedirects']){if(_0x3b2731[_0x55357b(0x27d)]===0x0){_0x3b2731['_originalIpc']=_0x379a84,_0x3b2731[_0x55357b(0x14c)]=_0x2df3cd,_0x3b2731[_0x55357b(0x28d)]=_0x379a84?_0x2f2ef2[_0x55357b(0x1ad)]:_0x164c8c['host'];const _0x5b3b40=_0x3f3a70&&_0x3f3a70[_0x55357b(0x1dc)];if(_0x3f3a70={..._0x3f3a70,'headers':{}},_0x5b3b40){for(const [_0xca9418,_0x78e8df]of Object[_0x55357b(0x2cd)](_0x5b3b40))_0x3f3a70['headers'][_0xca9418[_0x55357b(0x20e)]()]=_0x78e8df;}}else{if(_0x3b2731[_0x55357b(0x222)]('redirect')===0x0){const _0x1da290=_0x379a84?_0x3b2731[_0x55357b(0x1f6)]?_0x2f2ef2['socketPath']===_0x3b2731[_0x55357b(0x28d)]:!0x1:_0x3b2731[_0x55357b(0x1f6)]?!0x1:_0x164c8c['host']===_0x3b2731[_0x55357b(0x28d)];(!_0x1da290||_0x3b2731[_0x55357b(0x14c)]&&!_0x2df3cd)&&(delete _0x2f2ef2[_0x55357b(0x1dc)][_0x55357b(0x247)],delete _0x2f2ef2['headers'][_0x55357b(0x26c)],_0x1da290||delete _0x2f2ef2[_0x55357b(0x1dc)]['host'],_0x2f2ef2[_0x55357b(0x1a2)]=void 0x0);}}_0x2f2ef2[_0x55357b(0x1a2)]&&!_0x3f3a70[_0x55357b(0x1dc)][_0x55357b(0x247)]&&(_0x3f3a70[_0x55357b(0x1dc)][_0x55357b(0x247)]=_0x55357b(0x157)+Buffer['from'](_0x2f2ef2['auth'])[_0x55357b(0x1a9)](_0x55357b(0x1a0))),_0x12ec70=_0x3b2731[_0x55357b(0x174)]=_0x32ee13(_0x2f2ef2),_0x3b2731['_redirects']&&_0x3b2731['emit'](_0x55357b(0x2a0),_0x3b2731[_0x55357b(0x2da)],_0x12ec70);}else _0x12ec70=_0x3b2731[_0x55357b(0x174)]=_0x32ee13(_0x2f2ef2);_0x2f2ef2['timeout']&&_0x12ec70['on'](_0x55357b(0x20d),()=>{const _0x4d32d6=_0x55357b;_0x16f97e(_0x3b2731,_0x12ec70,_0x4d32d6(0x2ab));}),_0x12ec70['on'](_0x55357b(0x23c),_0x159bf4=>{const _0x3d7969=_0x55357b;_0x12ec70===null||_0x12ec70[_0x46448c]||(_0x12ec70=_0x3b2731[_0x3d7969(0x174)]=null,_0x69db7c(_0x3b2731,_0x159bf4));}),_0x12ec70['on']('response',_0x25bfbb=>{const _0x5d067a=_0x55357b,_0x457ecc=_0x25bfbb['headers'][_0x5d067a(0x197)],_0x3c9b3e=_0x25bfbb['statusCode'];if(_0x457ecc&&_0x2f2ef2[_0x5d067a(0x263)]&&_0x3c9b3e>=0x12c&&_0x3c9b3e<0x190){if(++_0x3b2731[_0x5d067a(0x27d)]>_0x2f2ef2[_0x5d067a(0x166)]){_0x16f97e(_0x3b2731,_0x12ec70,'Maximum\x20redirects\x20exceeded');return;}_0x12ec70[_0x5d067a(0x2f1)]();let _0x1c9ef0;try{_0x1c9ef0=new _0x566caf(_0x457ecc,_0x1f885d);}catch{const _0x480603=new SyntaxError(_0x5d067a(0x190)+_0x457ecc);_0x69db7c(_0x3b2731,_0x480603);return;}_0x3a09dc(_0x3b2731,_0x1c9ef0,_0x38635f,_0x3f3a70);}else _0x3b2731[_0x5d067a(0x1ab)](_0x5d067a(0x167),_0x12ec70,_0x25bfbb)||_0x16f97e(_0x3b2731,_0x12ec70,_0x5d067a(0x2b3)+_0x25bfbb[_0x5d067a(0x1a6)]);}),_0x12ec70['on'](_0x55357b(0x2ea),(_0x382a63,_0x5c6be2,_0x185be7)=>{const _0x1e5a91=_0x55357b;if(_0x3b2731[_0x1e5a91(0x1ab)](_0x1e5a91(0x2ea),_0x382a63),_0x3b2731['readyState']!==_0x3584cd[_0x1e5a91(0x210)])return;_0x12ec70=_0x3b2731[_0x1e5a91(0x174)]=null;const _0x41582e=_0x382a63[_0x1e5a91(0x1dc)][_0x1e5a91(0x2ea)];if(_0x41582e===void 0x0||_0x41582e[_0x1e5a91(0x20e)]()!==_0x1e5a91(0x1b2)){_0x16f97e(_0x3b2731,_0x5c6be2,_0x1e5a91(0x203));return;}const _0x3fc214=_0x595781('sha1')[_0x1e5a91(0x225)](_0x2713d6+_0x45725b)['digest']('base64');if(_0x382a63[_0x1e5a91(0x1dc)][_0x1e5a91(0x1c8)]!==_0x3fc214){_0x16f97e(_0x3b2731,_0x5c6be2,'Invalid\x20Sec-WebSocket-Accept\x20header');return;}const _0x4299fb=_0x382a63[_0x1e5a91(0x1dc)][_0x1e5a91(0x16d)];let _0x183034;if(_0x4299fb!==void 0x0?_0x352181[_0x1e5a91(0x24c)]?_0x352181['has'](_0x4299fb)||(_0x183034='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0x183034=_0x1e5a91(0x250):_0x352181[_0x1e5a91(0x24c)]&&(_0x183034='Server\x20sent\x20no\x20subprotocol'),_0x183034){_0x16f97e(_0x3b2731,_0x5c6be2,_0x183034);return;}_0x4299fb&&(_0x3b2731['_protocol']=_0x4299fb);const _0x463abc=_0x382a63['headers'][_0x1e5a91(0x2a1)];if(_0x463abc!==void 0x0){if(!_0x5bb243){_0x16f97e(_0x3b2731,_0x5c6be2,_0x1e5a91(0x184));return;}let _0x50a909;try{_0x50a909=_0x454fae(_0x463abc);}catch{_0x16f97e(_0x3b2731,_0x5c6be2,_0x1e5a91(0x26a));return;}const _0x418ca9=Object[_0x1e5a91(0x164)](_0x50a909);if(_0x418ca9[_0x1e5a91(0x1fe)]!==0x1||_0x418ca9[0x0]!==_0x269ae8['extensionName']){_0x16f97e(_0x3b2731,_0x5c6be2,_0x1e5a91(0x29d));return;}try{_0x5bb243[_0x1e5a91(0x28b)](_0x50a909[_0x269ae8[_0x1e5a91(0x17a)]]);}catch{_0x16f97e(_0x3b2731,_0x5c6be2,_0x1e5a91(0x26a));return;}_0x3b2731[_0x1e5a91(0x2f9)][_0x269ae8[_0x1e5a91(0x17a)]]=_0x5bb243;}_0x3b2731[_0x1e5a91(0x2ca)](_0x5c6be2,_0x185be7,{'allowSynchronousEvents':_0x2f2ef2[_0x1e5a91(0x200)],'generateMask':_0x2f2ef2[_0x1e5a91(0x244)],'maxPayload':_0x2f2ef2[_0x1e5a91(0x14d)],'skipUTF8Validation':_0x2f2ef2[_0x1e5a91(0x27f)]});}),_0x2f2ef2[_0x55357b(0x2cc)]?_0x2f2ef2[_0x55357b(0x2cc)](_0x12ec70,_0x3b2731):_0x12ec70[_0x55357b(0x2f8)]();}function _0x69db7c(_0x150d29,_0x458403){const _0x2017eb=_0x4c17de;_0x150d29['_readyState']=_0x3584cd[_0x2017eb(0x2fc)],_0x150d29[_0x2017eb(0x21d)]=!0x0,_0x150d29[_0x2017eb(0x1ab)]('error',_0x458403),_0x150d29[_0x2017eb(0x14e)]();}function _0x34d9b4(_0xd086d3){const _0x24cd16=_0x4c17de;return _0xd086d3['path']=_0xd086d3['socketPath'],_0x83d492[_0x24cd16(0x2eb)](_0xd086d3);}function _0xd5984b(_0x25b51d){const _0x48b9fb=_0x4c17de;return _0x25b51d[_0x48b9fb(0x2e9)]=void 0x0,!_0x25b51d[_0x48b9fb(0x1ca)]&&_0x25b51d['servername']!==''&&(_0x25b51d[_0x48b9fb(0x1ca)]=_0x83d492[_0x48b9fb(0x1c3)](_0x25b51d[_0x48b9fb(0x236)])?'':_0x25b51d[_0x48b9fb(0x236)]),_0x437d65[_0x48b9fb(0x2eb)](_0x25b51d);}function _0x16f97e(_0x1f7b33,_0x5b426f,_0x5e69a1){const _0x26f7da=_0x4c17de;_0x1f7b33[_0x26f7da(0x2b1)]=_0x3584cd[_0x26f7da(0x2fc)];const _0x41f25d=new Error(_0x5e69a1);Error[_0x26f7da(0x204)](_0x41f25d,_0x16f97e),_0x5b426f[_0x26f7da(0x18b)]?(_0x5b426f[_0x46448c]=!0x0,_0x5b426f[_0x26f7da(0x2f1)](),_0x5b426f[_0x26f7da(0x267)]&&!_0x5b426f[_0x26f7da(0x267)][_0x26f7da(0x1f3)]&&_0x5b426f[_0x26f7da(0x267)][_0x26f7da(0x1ec)](),process[_0x26f7da(0x299)](_0x69db7c,_0x1f7b33,_0x41f25d)):(_0x5b426f[_0x26f7da(0x1ec)](_0x41f25d),_0x5b426f[_0x26f7da(0x14a)](_0x26f7da(0x23c),_0x1f7b33[_0x26f7da(0x1ab)]['bind'](_0x1f7b33,_0x26f7da(0x23c))),_0x5b426f['once']('close',_0x1f7b33[_0x26f7da(0x14e)]['bind'](_0x1f7b33)));}function _0x5ccf67(_0x117c48,_0x83f6d4,_0x8f1a96){const _0x281356=_0x4c17de;if(_0x83f6d4){const _0x1579b4=_0x29087b(_0x83f6d4)?_0x83f6d4[_0x281356(0x24c)]:_0x1fabc8(_0x83f6d4)['length'];_0x117c48[_0x281356(0x258)]?_0x117c48[_0x281356(0x29a)][_0x281356(0x256)]+=_0x1579b4:_0x117c48['_bufferedAmount']+=_0x1579b4;}if(_0x8f1a96){const _0x41a43f=new Error(_0x281356(0x2e2)+_0x117c48[_0x281356(0x1ea)]+'\x20('+_0x45d8ff[_0x117c48[_0x281356(0x1ea)]]+')');process[_0x281356(0x299)](_0x8f1a96,_0x41a43f);}}function _0x7cf73f(_0x290631,_0x16f254){const _0x3aa739=_0x4c17de,_0x563fd7=this[_0x58a1f2];_0x563fd7[_0x3aa739(0x2ee)]=!0x0,_0x563fd7[_0x3aa739(0x169)]=_0x16f254,_0x563fd7[_0x3aa739(0x21c)]=_0x290631,_0x563fd7[_0x3aa739(0x258)][_0x58a1f2]!==void 0x0&&(_0x563fd7[_0x3aa739(0x258)][_0x3aa739(0x1e4)](_0x3aa739(0x1ee),_0x165ca6),process['nextTick'](_0x5cb97e,_0x563fd7[_0x3aa739(0x258)]),_0x290631===0x3ed?_0x563fd7[_0x3aa739(0x152)]():_0x563fd7['close'](_0x290631,_0x16f254));}function _0x491c62(){const _0x41a4d8=_0x4c17de,_0x2abdff=this[_0x58a1f2];_0x2abdff[_0x41a4d8(0x266)]||_0x2abdff[_0x41a4d8(0x258)]['resume']();}function _0x4bbe06(_0x30403e){const _0x60b486=_0x4c17de,_0xf6e3d9=this[_0x58a1f2];_0xf6e3d9[_0x60b486(0x258)][_0x58a1f2]!==void 0x0&&(_0xf6e3d9[_0x60b486(0x258)]['removeListener'](_0x60b486(0x1ee),_0x165ca6),process[_0x60b486(0x299)](_0x5cb97e,_0xf6e3d9['_socket']),_0xf6e3d9[_0x60b486(0x152)](_0x30403e[_0x33dcde])),_0xf6e3d9['_errorEmitted']||(_0xf6e3d9[_0x60b486(0x21d)]=!0x0,_0xf6e3d9[_0x60b486(0x1ab)](_0x60b486(0x23c),_0x30403e));}function _0x484cb1(){const _0x49c91e=_0x4c17de;this[_0x58a1f2][_0x49c91e(0x14e)]();}function _0x1e7747(_0x5107e4,_0x19c04b){const _0x249acf=_0x4c17de;this[_0x58a1f2][_0x249acf(0x1ab)]('message',_0x5107e4,_0x19c04b);}function _0x475ac4(_0x211c47){const _0x3c3ca4=_0x4c17de,_0x389d0a=this[_0x58a1f2];_0x389d0a[_0x3c3ca4(0x245)]&&_0x389d0a[_0x3c3ca4(0x24b)](_0x211c47,!this[_0x3c3ca4(0x296)],_0x17c55c),_0x389d0a[_0x3c3ca4(0x1ab)](_0x3c3ca4(0x173),_0x211c47);}function _0x206e47(_0x712bf3){const _0x5e89b9=_0x4c17de;this[_0x58a1f2]['emit'](_0x5e89b9(0x24b),_0x712bf3);}function _0x5cb97e(_0x4b9338){const _0x55f601=_0x4c17de;_0x4b9338[_0x55f601(0x235)]();}function _0x400e62(_0x45e3aa){const _0x495e32=_0x4c17de,_0x307f7c=this[_0x58a1f2];_0x307f7c['readyState']!==_0x3584cd[_0x495e32(0x180)]&&(_0x307f7c[_0x495e32(0x1ea)]===_0x3584cd[_0x495e32(0x2f2)]&&(_0x307f7c['_readyState']=_0x3584cd['CLOSING'],_0x22d5bc(_0x307f7c)),this[_0x495e32(0x258)]['end'](),_0x307f7c['_errorEmitted']||(_0x307f7c[_0x495e32(0x21d)]=!0x0,_0x307f7c[_0x495e32(0x1ab)](_0x495e32(0x23c),_0x45e3aa)));}function _0x22d5bc(_0x11da3c){const _0x266798=_0x4c17de;_0x11da3c['_closeTimer']=setTimeout(_0x11da3c[_0x266798(0x258)][_0x266798(0x1ec)][_0x266798(0x158)](_0x11da3c['_socket']),_0xc82f2f);}function _0x2328d7(){const _0x261cde=_0x4c17de,_0x4c06a2=this[_0x58a1f2];this[_0x261cde(0x1e4)]('close',_0x2328d7),this[_0x261cde(0x1e4)](_0x261cde(0x1ee),_0x165ca6),this[_0x261cde(0x1e4)](_0x261cde(0x2f8),_0x451493),_0x4c06a2[_0x261cde(0x2b1)]=_0x3584cd[_0x261cde(0x2fc)];let _0x3ee830;!this['_readableState'][_0x261cde(0x1d4)]&&!_0x4c06a2[_0x261cde(0x2ee)]&&!_0x4c06a2[_0x261cde(0x287)][_0x261cde(0x253)][_0x261cde(0x1b6)]&&(_0x3ee830=_0x4c06a2['_socket'][_0x261cde(0x1e2)]())!==null&&_0x4c06a2['_receiver'][_0x261cde(0x1aa)](_0x3ee830),_0x4c06a2['_receiver'][_0x261cde(0x2f8)](),this[_0x58a1f2]=void 0x0,clearTimeout(_0x4c06a2[_0x261cde(0x1d6)]),_0x4c06a2[_0x261cde(0x287)][_0x261cde(0x253)]['finished']||_0x4c06a2[_0x261cde(0x287)][_0x261cde(0x253)]['errorEmitted']?_0x4c06a2[_0x261cde(0x14e)]():(_0x4c06a2[_0x261cde(0x287)]['on'](_0x261cde(0x23c),_0x484cb1),_0x4c06a2['_receiver']['on'](_0x261cde(0x1cd),_0x484cb1));}function _0x165ca6(_0x5f2c56){const _0x3b327c=_0x4c17de;this[_0x58a1f2][_0x3b327c(0x287)][_0x3b327c(0x1aa)](_0x5f2c56)||this[_0x3b327c(0x2fb)]();}function _0x451493(){const _0x45b468=_0x4c17de,_0x562428=this[_0x58a1f2];_0x562428[_0x45b468(0x2b1)]=_0x3584cd[_0x45b468(0x2fc)],_0x562428[_0x45b468(0x287)][_0x45b468(0x2f8)](),this['end']();}function _0x11029f(){const _0x198bc7=_0x4c17de,_0x39192d=this[_0x58a1f2];this[_0x198bc7(0x1e4)](_0x198bc7(0x23c),_0x11029f),this['on'](_0x198bc7(0x23c),_0x17c55c),_0x39192d&&(_0x39192d[_0x198bc7(0x2b1)]=_0x3584cd['CLOSING'],this[_0x198bc7(0x1ec)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x52491c}=oe;function _0x35bdc7(_0x24a63b){const _0x554b52=_0x11b5;_0x24a63b[_0x554b52(0x1ab)]('close');}function _0x5d7193(){const _0x3ab620=_0x11b5;!this[_0x3ab620(0x1f3)]&&this[_0x3ab620(0x253)][_0x3ab620(0x1fd)]&&this[_0x3ab620(0x1ec)]();}function _0x2f71f1(_0x506d48){const _0x2a9601=_0x11b5;this['removeListener']('error',_0x2f71f1),this[_0x2a9601(0x1ec)](),this[_0x2a9601(0x222)]('error')===0x0&&this['emit']('error',_0x506d48);}function _0x556c98(_0x2f7fc7,_0x2e827b){const _0x327792=_0x11b5;let _0x2d06e1=!0x0;const _0x279fac=new _0x52491c({..._0x2e827b,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x2f7fc7['on'](_0x327792(0x1af),function(_0x5bedc1,_0x728b2a){const _0x455904=_0x327792,_0x5eb0c2=!_0x728b2a&&_0x279fac[_0x455904(0x25e)][_0x455904(0x148)]?_0x5bedc1[_0x455904(0x1a9)]():_0x5bedc1;_0x279fac['push'](_0x5eb0c2)||_0x2f7fc7[_0x455904(0x2fb)]();}),_0x2f7fc7[_0x327792(0x14a)](_0x327792(0x23c),function(_0x51c280){const _0x5ade27=_0x327792;_0x279fac[_0x5ade27(0x1f3)]||(_0x2d06e1=!0x1,_0x279fac[_0x5ade27(0x1ec)](_0x51c280));}),_0x2f7fc7[_0x327792(0x14a)]('close',function(){const _0x4c912f=_0x327792;_0x279fac[_0x4c912f(0x1f3)]||_0x279fac[_0x4c912f(0x2f7)](null);}),_0x279fac[_0x327792(0x1c6)]=function(_0x49c81d,_0x5a4760){const _0x33b234=_0x327792;if(_0x2f7fc7[_0x33b234(0x1ea)]===_0x2f7fc7[_0x33b234(0x180)]){_0x5a4760(_0x49c81d),process[_0x33b234(0x299)](_0x35bdc7,_0x279fac);return;}let _0xae7ab5=!0x1;_0x2f7fc7['once'](_0x33b234(0x23c),function(_0x2e32b2){_0xae7ab5=!0x0,_0x5a4760(_0x2e32b2);}),_0x2f7fc7['once'](_0x33b234(0x152),function(){const _0x2794d6=_0x33b234;_0xae7ab5||_0x5a4760(_0x49c81d),process[_0x2794d6(0x299)](_0x35bdc7,_0x279fac);}),_0x2d06e1&&_0x2f7fc7[_0x33b234(0x24a)]();},_0x279fac[_0x327792(0x2d9)]=function(_0x15f7ec){const _0x5a038c=_0x327792;if(_0x2f7fc7['readyState']===_0x2f7fc7[_0x5a038c(0x210)]){_0x2f7fc7[_0x5a038c(0x14a)](_0x5a038c(0x24f),function(){const _0x2b2632=_0x5a038c;_0x279fac[_0x2b2632(0x2d9)](_0x15f7ec);});return;}_0x2f7fc7[_0x5a038c(0x258)]!==null&&(_0x2f7fc7[_0x5a038c(0x258)][_0x5a038c(0x253)][_0x5a038c(0x1fd)]?(_0x15f7ec(),_0x279fac[_0x5a038c(0x25e)][_0x5a038c(0x1d4)]&&_0x279fac['destroy']()):(_0x2f7fc7['_socket'][_0x5a038c(0x14a)](_0x5a038c(0x1cd),function(){_0x15f7ec();}),_0x2f7fc7[_0x5a038c(0x152)]()));},_0x279fac[_0x327792(0x16c)]=function(){const _0x383750=_0x327792;_0x2f7fc7[_0x383750(0x266)]&&_0x2f7fc7['resume']();},_0x279fac[_0x327792(0x1da)]=function(_0x4edf0b,_0x47e7de,_0x30f46d){const _0x46bf6d=_0x327792;if(_0x2f7fc7[_0x46bf6d(0x1ea)]===_0x2f7fc7[_0x46bf6d(0x210)]){_0x2f7fc7[_0x46bf6d(0x14a)]('open',function(){const _0x24f353=_0x46bf6d;_0x279fac[_0x24f353(0x1da)](_0x4edf0b,_0x47e7de,_0x30f46d);});return;}_0x2f7fc7[_0x46bf6d(0x186)](_0x4edf0b,_0x30f46d);},_0x279fac['on'](_0x327792(0x2f8),_0x5d7193),_0x279fac['on'](_0x327792(0x23c),_0x2f71f1),_0x279fac;}return Oe=_0x556c98,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x49927f}=ae();function _0x5a098b(_0x35f9c3){const _0x1422ec=_0x11b5,_0x5c7a2f=new Set();let _0x40eda6=-0x1,_0x1d0c56=-0x1,_0x1c378c=0x0;for(_0x1c378c;_0x1c378c<_0x35f9c3[_0x1422ec(0x1fe)];_0x1c378c++){const _0x236fdc=_0x35f9c3['charCodeAt'](_0x1c378c);if(_0x1d0c56===-0x1&&_0x49927f[_0x236fdc]===0x1)_0x40eda6===-0x1&&(_0x40eda6=_0x1c378c);else{if(_0x1c378c!==0x0&&(_0x236fdc===0x20||_0x236fdc===0x9))_0x1d0c56===-0x1&&_0x40eda6!==-0x1&&(_0x1d0c56=_0x1c378c);else{if(_0x236fdc===0x2c){if(_0x40eda6===-0x1)throw new SyntaxError(_0x1422ec(0x16b)+_0x1c378c);_0x1d0c56===-0x1&&(_0x1d0c56=_0x1c378c);const _0x1011c3=_0x35f9c3[_0x1422ec(0x14b)](_0x40eda6,_0x1d0c56);if(_0x5c7a2f['has'](_0x1011c3))throw new SyntaxError(_0x1422ec(0x201)+_0x1011c3+_0x1422ec(0x19e));_0x5c7a2f[_0x1422ec(0x27b)](_0x1011c3),_0x40eda6=_0x1d0c56=-0x1;}else throw new SyntaxError(_0x1422ec(0x16b)+_0x1c378c);}}}if(_0x40eda6===-0x1||_0x1d0c56!==-0x1)throw new SyntaxError(_0x1422ec(0x183));const _0x31bb28=_0x35f9c3[_0x1422ec(0x14b)](_0x40eda6,_0x1c378c);if(_0x5c7a2f['has'](_0x31bb28))throw new SyntaxError('The\x20\x22'+_0x31bb28+_0x1422ec(0x19e));return _0x5c7a2f[_0x1422ec(0x27b)](_0x31bb28),_0x5c7a2f;}return Ce={'parse':_0x5a098b},Ce;}var Te,rt;function Ft(){const _0x4f7a93=_0x4c4d18;if(rt)return Te;rt=0x1;const _0xf40ec5=nt,_0x591929=ot,{Duplex:_0x4663e6}=oe,{createHash:_0x471a60}=Le,_0x37888a=ct(),_0x455a18=he(),_0xa7af2=At(),_0x4f4c3f=Pe(),{GUID:_0x236d71,kWebSocket:_0x194ec9}=H(),_0x127cf5=/^[+/0-9A-Za-z]{22}==$/,_0x210a06=0x0,_0x402535=0x1,_0x292426=0x2;class _0x1e795e extends _0xf40ec5{constructor(_0x2a7dac,_0x2f87b5){const _0x38d408=_0x11b5;if(super(),_0x2a7dac={'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':_0x4f4c3f,..._0x2a7dac},_0x2a7dac[_0x38d408(0x196)]==null&&!_0x2a7dac[_0x38d408(0x262)]&&!_0x2a7dac[_0x38d408(0x25f)]||_0x2a7dac[_0x38d408(0x196)]!=null&&(_0x2a7dac['server']||_0x2a7dac['noServer'])||_0x2a7dac['server']&&_0x2a7dac['noServer'])throw new TypeError('One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified');if(_0x2a7dac[_0x38d408(0x196)]!=null?(this[_0x38d408(0x22d)]=_0x591929[_0x38d408(0x1ce)]((_0xe0161d,_0x26364f)=>{const _0x3c933=_0x38d408,_0x444a33=_0x591929[_0x3c933(0x23e)][0x1aa];_0x26364f[_0x3c933(0x16f)](0x1aa,{'Content-Length':_0x444a33[_0x3c933(0x1fe)],'Content-Type':_0x3c933(0x2c6)}),_0x26364f[_0x3c933(0x2f8)](_0x444a33);}),this[_0x38d408(0x22d)][_0x38d408(0x15a)](_0x2a7dac[_0x38d408(0x196)],_0x2a7dac[_0x38d408(0x236)],_0x2a7dac[_0x38d408(0x297)],_0x2f87b5)):_0x2a7dac['server']&&(this['_server']=_0x2a7dac[_0x38d408(0x262)]),this['_server']){const _0x426780=this['emit'][_0x38d408(0x158)](this,_0x38d408(0x2ae));this['_removeListeners']=_0x2151b6(this['_server'],{'listening':this[_0x38d408(0x1ab)][_0x38d408(0x158)](this,_0x38d408(0x172)),'error':this[_0x38d408(0x1ab)][_0x38d408(0x158)](this,'error'),'upgrade':(_0x3368f0,_0x5450bd,_0x1e7b5d)=>{const _0x50f3ac=_0x38d408;this[_0x50f3ac(0x2c4)](_0x3368f0,_0x5450bd,_0x1e7b5d,_0x426780);}});}_0x2a7dac[_0x38d408(0x1df)]===!0x0&&(_0x2a7dac[_0x38d408(0x1df)]={}),_0x2a7dac[_0x38d408(0x178)]&&(this[_0x38d408(0x279)]=new Set(),this[_0x38d408(0x1d0)]=!0x1),this[_0x38d408(0x22c)]=_0x2a7dac,this[_0x38d408(0x1d2)]=_0x210a06;}[_0x4f7a93(0x1c5)](){const _0x25a608=_0x4f7a93;if(this[_0x25a608(0x22c)][_0x25a608(0x25f)])throw new Error(_0x25a608(0x1d7));return this[_0x25a608(0x22d)]?this['_server'][_0x25a608(0x1c5)]():null;}[_0x4f7a93(0x152)](_0x428b20){const _0x3702ac=_0x4f7a93;if(this[_0x3702ac(0x1d2)]===_0x292426){_0x428b20&&this[_0x3702ac(0x14a)](_0x3702ac(0x152),()=>{const _0x4daf0e=_0x3702ac;_0x428b20(new Error(_0x4daf0e(0x20b)));}),process[_0x3702ac(0x299)](_0x1622a5,this);return;}if(_0x428b20&&this['once'](_0x3702ac(0x152),_0x428b20),this[_0x3702ac(0x1d2)]!==_0x402535){if(this[_0x3702ac(0x1d2)]=_0x402535,this[_0x3702ac(0x22c)][_0x3702ac(0x25f)]||this[_0x3702ac(0x22c)][_0x3702ac(0x262)])this[_0x3702ac(0x22d)]&&(this[_0x3702ac(0x1c1)](),this[_0x3702ac(0x1c1)]=this[_0x3702ac(0x22d)]=null),this[_0x3702ac(0x279)]?this['clients'][_0x3702ac(0x24c)]?this['_shouldEmitClose']=!0x0:process['nextTick'](_0x1622a5,this):process['nextTick'](_0x1622a5,this);else{const _0x21df1a=this['_server'];this[_0x3702ac(0x1c1)](),this['_removeListeners']=this[_0x3702ac(0x22d)]=null,_0x21df1a[_0x3702ac(0x152)](()=>{_0x1622a5(this);});}}}[_0x4f7a93(0x1ed)](_0x48fbae){const _0xfb96cf=_0x4f7a93;if(this['options'][_0xfb96cf(0x2e9)]){const _0x32d144=_0x48fbae[_0xfb96cf(0x2da)][_0xfb96cf(0x1e5)]('?');if((_0x32d144!==-0x1?_0x48fbae[_0xfb96cf(0x2da)][_0xfb96cf(0x14b)](0x0,_0x32d144):_0x48fbae[_0xfb96cf(0x2da)])!==this[_0xfb96cf(0x22c)][_0xfb96cf(0x2e9)])return!0x1;}return!0x0;}['handleUpgrade'](_0x1be7c9,_0x22def6,_0x598e07,_0x4f4b5){const _0x4624a8=_0x4f7a93;_0x22def6['on'](_0x4624a8(0x23c),_0x17f61c);const _0x52ba4a=_0x1be7c9['headers']['sec-websocket-key'],_0x3035d7=_0x1be7c9[_0x4624a8(0x1dc)][_0x4624a8(0x2ea)],_0x5cb5a0=+_0x1be7c9['headers']['sec-websocket-version'];if(_0x1be7c9['method']!==_0x4624a8(0x24d)){_0x5e9ed7(this,_0x1be7c9,_0x22def6,0x195,_0x4624a8(0x176));return;}if(_0x3035d7===void 0x0||_0x3035d7[_0x4624a8(0x20e)]()!==_0x4624a8(0x1b2)){_0x5e9ed7(this,_0x1be7c9,_0x22def6,0x190,_0x4624a8(0x203));return;}if(_0x52ba4a===void 0x0||!_0x127cf5['test'](_0x52ba4a)){_0x5e9ed7(this,_0x1be7c9,_0x22def6,0x190,_0x4624a8(0x2d5));return;}if(_0x5cb5a0!==0xd&&_0x5cb5a0!==0x8){_0x5e9ed7(this,_0x1be7c9,_0x22def6,0x190,_0x4624a8(0x153),{'Sec-WebSocket-Version':_0x4624a8(0x205)});return;}if(!this[_0x4624a8(0x1ed)](_0x1be7c9)){_0x358c44(_0x22def6,0x190);return;}const _0x22d55b=_0x1be7c9[_0x4624a8(0x1dc)][_0x4624a8(0x16d)];let _0x253a54=new Set();if(_0x22d55b!==void 0x0)try{_0x253a54=_0xa7af2[_0x4624a8(0x272)](_0x22d55b);}catch{_0x5e9ed7(this,_0x1be7c9,_0x22def6,0x190,_0x4624a8(0x2d7));return;}const _0x58f662=_0x1be7c9['headers'][_0x4624a8(0x2a1)],_0x36e911={};if(this[_0x4624a8(0x22c)]['perMessageDeflate']&&_0x58f662!==void 0x0){const _0xc602d8=new _0x455a18(this[_0x4624a8(0x22c)]['perMessageDeflate'],!0x0,this[_0x4624a8(0x22c)][_0x4624a8(0x14d)]);try{const _0x34ef59=_0x37888a['parse'](_0x58f662);_0x34ef59[_0x455a18['extensionName']]&&(_0xc602d8[_0x4624a8(0x28b)](_0x34ef59[_0x455a18[_0x4624a8(0x17a)]]),_0x36e911[_0x455a18[_0x4624a8(0x17a)]]=_0xc602d8);}catch{_0x5e9ed7(this,_0x1be7c9,_0x22def6,0x190,_0x4624a8(0x187));return;}}if(this[_0x4624a8(0x22c)][_0x4624a8(0x261)]){const _0x4b9630={'origin':_0x1be7c9[_0x4624a8(0x1dc)][''+(_0x5cb5a0===0x8?_0x4624a8(0x25d):_0x4624a8(0x19c))],'secure':!!(_0x1be7c9['socket'][_0x4624a8(0x2e6)]||_0x1be7c9[_0x4624a8(0x267)][_0x4624a8(0x1f9)]),'req':_0x1be7c9};if(this[_0x4624a8(0x22c)][_0x4624a8(0x261)][_0x4624a8(0x1fe)]===0x2){this['options'][_0x4624a8(0x261)](_0x4b9630,(_0x315d0d,_0x35cae3,_0x527a86,_0x56a36e)=>{if(!_0x315d0d)return _0x358c44(_0x22def6,_0x35cae3||0x191,_0x527a86,_0x56a36e);this['completeUpgrade'](_0x36e911,_0x52ba4a,_0x253a54,_0x1be7c9,_0x22def6,_0x598e07,_0x4f4b5);});return;}if(!this[_0x4624a8(0x22c)][_0x4624a8(0x261)](_0x4b9630))return _0x358c44(_0x22def6,0x191);}this[_0x4624a8(0x1bd)](_0x36e911,_0x52ba4a,_0x253a54,_0x1be7c9,_0x22def6,_0x598e07,_0x4f4b5);}[_0x4f7a93(0x1bd)](_0x3c5b82,_0x440052,_0x5d1a6b,_0x5aab08,_0x4edbb7,_0x1e247e,_0x1c47b8){const _0x8c51ba=_0x4f7a93;if(!_0x4edbb7[_0x8c51ba(0x19b)]||!_0x4edbb7[_0x8c51ba(0x273)])return _0x4edbb7[_0x8c51ba(0x1ec)]();if(_0x4edbb7[_0x194ec9])throw new Error(_0x8c51ba(0x28f));if(this['_state']>_0x210a06)return _0x358c44(_0x4edbb7,0x1f7);const _0x35d030=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0x8c51ba(0x22a),_0x8c51ba(0x217),_0x8c51ba(0x230)+_0x471a60(_0x8c51ba(0x293))[_0x8c51ba(0x225)](_0x440052+_0x236d71)[_0x8c51ba(0x155)](_0x8c51ba(0x1a0))],_0x2a7bf8=new this[(_0x8c51ba(0x22c))]['WebSocket'](null,void 0x0,this['options']);if(_0x5d1a6b[_0x8c51ba(0x24c)]){const _0x1a97e1=this[_0x8c51ba(0x22c)][_0x8c51ba(0x2a9)]?this[_0x8c51ba(0x22c)]['handleProtocols'](_0x5d1a6b,_0x5aab08):_0x5d1a6b[_0x8c51ba(0x2df)]()['next']()['value'];_0x1a97e1&&(_0x35d030[_0x8c51ba(0x2f7)]('Sec-WebSocket-Protocol:\x20'+_0x1a97e1),_0x2a7bf8['_protocol']=_0x1a97e1);}if(_0x3c5b82[_0x455a18[_0x8c51ba(0x17a)]]){const _0x1be0ef=_0x3c5b82[_0x455a18[_0x8c51ba(0x17a)]][_0x8c51ba(0x2ce)],_0x354716=_0x37888a['format']({[_0x455a18[_0x8c51ba(0x17a)]]:[_0x1be0ef]});_0x35d030[_0x8c51ba(0x2f7)](_0x8c51ba(0x18e)+_0x354716),_0x2a7bf8['_extensions']=_0x3c5b82;}this[_0x8c51ba(0x1ab)](_0x8c51ba(0x1dc),_0x35d030,_0x5aab08),_0x4edbb7['write'](_0x35d030[_0x8c51ba(0x1bf)]('\x0d\x0a')[_0x8c51ba(0x1bb)]('\x0d\x0a')),_0x4edbb7[_0x8c51ba(0x1e4)]('error',_0x17f61c),_0x2a7bf8[_0x8c51ba(0x2ca)](_0x4edbb7,_0x1e247e,{'allowSynchronousEvents':this[_0x8c51ba(0x22c)]['allowSynchronousEvents'],'maxPayload':this[_0x8c51ba(0x22c)][_0x8c51ba(0x14d)],'skipUTF8Validation':this[_0x8c51ba(0x22c)]['skipUTF8Validation']}),this['clients']&&(this[_0x8c51ba(0x279)][_0x8c51ba(0x27b)](_0x2a7bf8),_0x2a7bf8['on']('close',()=>{const _0x17ebee=_0x8c51ba;this['clients']['delete'](_0x2a7bf8),this[_0x17ebee(0x1d0)]&&!this[_0x17ebee(0x279)][_0x17ebee(0x24c)]&&process[_0x17ebee(0x299)](_0x1622a5,this);})),_0x1c47b8(_0x2a7bf8,_0x5aab08);}}Te=_0x1e795e;function _0x2151b6(_0x184924,_0x1bb0d9){const _0x1beb92=_0x4f7a93;for(const _0x1ed7a0 of Object[_0x1beb92(0x164)](_0x1bb0d9))_0x184924['on'](_0x1ed7a0,_0x1bb0d9[_0x1ed7a0]);return function(){for(const _0x2855d7 of Object['keys'](_0x1bb0d9))_0x184924['removeListener'](_0x2855d7,_0x1bb0d9[_0x2855d7]);};}function _0x1622a5(_0x3f8bd7){const _0x15c757=_0x4f7a93;_0x3f8bd7[_0x15c757(0x1d2)]=_0x292426,_0x3f8bd7[_0x15c757(0x1ab)](_0x15c757(0x152));}function _0x17f61c(){const _0x14dde5=_0x4f7a93;this[_0x14dde5(0x1ec)]();}function _0x358c44(_0x937708,_0x460dca,_0x1532cf,_0x2a54c1){const _0x5ddbd8=_0x4f7a93;_0x1532cf=_0x1532cf||_0x591929[_0x5ddbd8(0x23e)][_0x460dca],_0x2a54c1={'Connection':'close','Content-Type':'text/html','Content-Length':Buffer[_0x5ddbd8(0x291)](_0x1532cf),..._0x2a54c1},_0x937708['once'](_0x5ddbd8(0x1cd),_0x937708[_0x5ddbd8(0x1ec)]),_0x937708['end']('HTTP/1.1\x20'+_0x460dca+'\x20'+_0x591929[_0x5ddbd8(0x23e)][_0x460dca]+'\x0d\x0a'+Object[_0x5ddbd8(0x164)](_0x2a54c1)[_0x5ddbd8(0x234)](_0x9ad45e=>_0x9ad45e+':\x20'+_0x2a54c1[_0x9ad45e])[_0x5ddbd8(0x1bb)]('\x0d\x0a')+_0x5ddbd8(0x208)+_0x1532cf);}function _0x5e9ed7(_0x7865a5,_0x1ea53b,_0x272be1,_0x4fc045,_0x56bd1c,_0x4bd722){const _0x3662fe=_0x4f7a93;if(_0x7865a5[_0x3662fe(0x222)]('wsClientError')){const _0xe7b4f0=new Error(_0x56bd1c);Error['captureStackTrace'](_0xe7b4f0,_0x5e9ed7),_0x7865a5[_0x3662fe(0x1ab)](_0x3662fe(0x1f4),_0xe7b4f0,_0x272be1,_0x1ea53b);}else _0x358c44(_0x272be1,_0x4fc045,_0x56bd1c,_0x4bd722);}return Te;}Ft();var jt=Object['getOwnPropertyDescriptor'],Wt=(_0xa17021,_0x338e01,_0x2c80e4,_0x75b7fe)=>{const _0x47b7af=_0x4c4d18;for(var _0x7b9128=_0x75b7fe>0x1?void 0x0:_0x75b7fe?jt(_0x338e01,_0x2c80e4):_0x338e01,_0x2b265d=_0xa17021[_0x47b7af(0x1fe)]-0x1,_0x368c0a;_0x2b265d>=0x0;_0x2b265d--)(_0x368c0a=_0xa17021[_0x2b265d])&&(_0x7b9128=_0x368c0a(_0x7b9128)||_0x7b9128);return _0x7b9128;},qt=(_0x390f40,_0x4673fe)=>(_0x486e43,_0x5d62a3)=>_0x4673fe(_0x486e43,_0x5d62a3,_0x390f40);let ke=class extends A['Disposable']{constructor(_0x19a8cb){const _0x213ac5=_0x4c4d18;super(),this[_0x213ac5(0x17e)]=_0x19a8cb;}[_0x4c4d18(0x2c9)](_0x9d7a62){const _0x40e0b3=_0x4c4d18;var _0x4c3524;const _0x4047b6=(_0x4c3524=this[_0x40e0b3(0x17e)][_0x40e0b3(0x2a5)](fe))==null?void 0x0:_0x4c3524[_0x40e0b3(0x2e3)];try{const _0x3a712e=new $t(_0x9d7a62,{'headers':{..._0x4047b6}}),_0x3b4ca3=new A[(_0x40e0b3(0x294))]();return{'URL':_0x9d7a62,'close':(_0x2f59be,_0x35fd78)=>{const _0x4b1fe3=_0x40e0b3;_0x3a712e[_0x4b1fe3(0x152)](_0x2f59be,_0x35fd78),_0x3b4ca3['dispose']();},'send':_0x44c37d=>{_0x3a712e['send'](_0x44c37d);},'open$':new V[(_0x40e0b3(0x28c))](_0x2edb71=>{const _0x443173=_0x40e0b3,_0x392311=_0x4debb7=>_0x2edb71[_0x443173(0x298)](_0x4debb7);_0x3a712e[_0x443173(0x1d3)]('open',_0x392311),_0x3b4ca3[_0x443173(0x27b)](A[_0x443173(0x2ba)](()=>_0x3a712e[_0x443173(0x192)](_0x443173(0x24f),_0x392311)));})['pipe'](V['share']()),'close$':new V[(_0x40e0b3(0x28c))](_0x28e729=>{const _0x2fedea=_0x40e0b3,_0x5de582=_0x3cec96=>_0x28e729[_0x2fedea(0x298)](_0x3cec96);_0x3a712e[_0x2fedea(0x1d3)](_0x2fedea(0x152),_0x5de582),_0x3b4ca3['add'](A['toDisposable'](()=>_0x3a712e[_0x2fedea(0x192)]('close',_0x5de582)));})['pipe'](V[_0x40e0b3(0x2f0)]()),'error$':new V[(_0x40e0b3(0x28c))](_0x43d37b=>{const _0x4f793c=_0x40e0b3,_0x5905f5=_0x3537f2=>_0x43d37b['next'](_0x3537f2);_0x3a712e['addEventListener'](_0x4f793c(0x23c),_0x5905f5),_0x3b4ca3[_0x4f793c(0x27b)](A['toDisposable'](()=>_0x3a712e[_0x4f793c(0x192)](_0x4f793c(0x23c),_0x5905f5)));})[_0x40e0b3(0x25b)](V[_0x40e0b3(0x2f0)]()),'message$':new V['Observable'](_0x4e97e4=>{const _0x2feea6=_0x40e0b3,_0x37f3e4=_0x3c78f7=>_0x4e97e4[_0x2feea6(0x298)](_0x3c78f7);_0x3a712e[_0x2feea6(0x1d3)](_0x2feea6(0x1af),_0x37f3e4),_0x3b4ca3['add'](A['toDisposable'](()=>_0x3a712e[_0x2feea6(0x192)](_0x2feea6(0x1af),_0x37f3e4)));})[_0x40e0b3(0x25b)](V['share']())};}catch(_0x3e4fd8){return console[_0x40e0b3(0x23c)](_0x3e4fd8),null;}}};ke=Wt([qt(0x0,A[_0x4c4d18(0x16a)])],ke);var Gt=Object['defineProperty'],Vt=Object['getOwnPropertyDescriptor'],Ht=(_0x3b28e1,_0xfff8a7,_0x5e233e)=>_0xfff8a7 in _0x3b28e1?Gt(_0x3b28e1,_0xfff8a7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5e233e}):_0x3b28e1[_0xfff8a7]=_0x5e233e,zt=(_0x4cdb7a,_0x1532cd,_0x9de585,_0x9c568b)=>{for(var _0x16ec0f=_0x9c568b>0x1?void 0x0:_0x9c568b?Vt(_0x1532cd,_0x9de585):_0x1532cd,_0x5acd14=_0x4cdb7a['length']-0x1,_0x36cb3d;_0x5acd14>=0x0;_0x5acd14--)(_0x36cb3d=_0x4cdb7a[_0x5acd14])&&(_0x16ec0f=_0x36cb3d(_0x16ec0f)||_0x16ec0f);return _0x16ec0f;},Ne=(_0x4130ec,_0x4b5789)=>(_0x585e6d,_0x402844)=>_0x4b5789(_0x585e6d,_0x402844,_0x4130ec),Yt=(_0x49f134,_0x4715b5,_0x3b75c9)=>Ht(_0x49f134,_0x4715b5+'',_0x3b75c9);exports[_0x4c4d18(0x2ef)]=class extends A[_0x4c4d18(0x1cf)]{constructor(_0x3d4d9c=Ct,_0xb4fdf6,_0x303c80,_0x3d5fbe){const _0x395e4f=_0x4c4d18;_0x3d4d9c[_0x395e4f(0x2e3)]||_0xb4fdf6[_0x395e4f(0x2b4)](_0x395e4f(0x175)),super(),this[_0x395e4f(0x17e)]=_0x303c80,this[_0x395e4f(0x151)]=_0x3d5fbe,this[_0x395e4f(0x17e)][_0x395e4f(0x1e8)](fe,_0x3d4d9c);}[_0x4c4d18(0x2b5)](){const _0x48bdfd=_0x4c4d18;this[_0x48bdfd(0x2e8)]();}[_0x4c4d18(0x2e8)](){const _0x14f493=_0x4c4d18;A['registerDependencies'](this[_0x14f493(0x151)],[[it['ISocketService'],{'useClass':ke}]]);}},Yt(exports['UniverCollaborationClientNodePlugin'],'pluginName',_0x4c4d18(0x1ef)),exports[_0x4c4d18(0x2ef)]=zt([A[_0x4c4d18(0x15e)](st[_0x4c4d18(0x22f)]),Ne(0x1,A[_0x4c4d18(0x214)]),Ne(0x2,A['IConfigService']),Ne(0x3,A['Inject'](A[_0x4c4d18(0x2ec)]))],exports[_0x4c4d18(0x2ef)]);var Kt=Object[_0x4c4d18(0x15f)],Xt=(_0x1360db,_0x3bf5c3,_0x3cc9d2,_0x4c07e3)=>{for(var _0x221611=_0x4c07e3>0x1?void 0x0:_0x4c07e3?Kt(_0x3bf5c3,_0x3cc9d2):_0x3bf5c3,_0x5015cc=_0x1360db['length']-0x1,_0x3b3fb2;_0x5015cc>=0x0;_0x5015cc--)(_0x3b3fb2=_0x1360db[_0x5015cc])&&(_0x221611=_0x3b3fb2(_0x221611)||_0x221611);return _0x221611;},ne=(_0x2933fd,_0x26b6ef)=>(_0x5b85f2,_0x2eccc9)=>_0x26b6ef(_0x5b85f2,_0x2eccc9,_0x2933fd);exports[_0x4c4d18(0x1f5)]=class extends st[_0x4c4d18(0x1ae)]{constructor(_0x48f055,_0xa4b648,_0xd1726d,_0x5102c1,_0x22f32c){const _0x3e09b8=_0x4c4d18;super(_0x48f055,_0xa4b648,_0xd1726d,_0x5102c1,_0x22f32c);const _0xfceeba=this[_0x3e09b8(0x17e)]['getConfig'](fe);this[_0x3e09b8(0x228)][_0x3e09b8(0x20c)]({'interceptor':(_0x1fde22,_0x137ce7)=>{const _0x1bfe71=_0x3e09b8;var _0x599e27;const _0x3c0b41=_0x1fde22[_0x1bfe71(0x1dc)];return(_0x599e27=_0xfceeba==null?void 0x0:_0xfceeba[_0x1bfe71(0x2e3)])!=null&&_0x599e27[_0x1bfe71(0x26c)]&&_0x3c0b41[_0x1bfe71(0x239)](_0x1bfe71(0x251),_0xfceeba['customHeaders'][_0x1bfe71(0x26c)]),_0x137ce7(_0x1fde22);}});}async[_0x4c4d18(0x2c9)](_0x2c058b){const _0x5e3761=_0x4c4d18;return this[_0x5e3761(0x18c)](_0x2c058b);}},exports[_0x4c4d18(0x1f5)]=Xt([ne(0x0,A[_0x4c4d18(0x22e)](A[_0x4c4d18(0x2ec)])),ne(0x1,A['Inject'](it['HTTPService'])),ne(0x2,A[_0x4c4d18(0x16a)]),ne(0x3,A['ILogService']),ne(0x4,Ot['ISnapshotServerService'])],exports[_0x4c4d18(0x1f5)]),exports['COLLABORATION_CLIENT_NODE_CONFIG_KEY']=fe;