@univerjs-pro/collaboration-client-node 0.8.1-nightly.202506181607 → 0.8.1-nightly.202506191607

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 _0x4dcda1=_0x338f;(function(_0x37eef5,_0x3f2279){const _0x37c144=_0x338f,_0x57376c=_0x37eef5();while(!![]){try{const _0xa88a42=parseInt(_0x37c144(0x250))/0x1*(parseInt(_0x37c144(0xeb))/0x2)+parseInt(_0x37c144(0x281))/0x3+parseInt(_0x37c144(0x1d7))/0x4*(parseInt(_0x37c144(0x160))/0x5)+-parseInt(_0x37c144(0x2ae))/0x6+-parseInt(_0x37c144(0x2a3))/0x7+parseInt(_0x37c144(0x23d))/0x8+-parseInt(_0x37c144(0x12d))/0x9;if(_0xa88a42===_0x3f2279)break;else _0x57376c['push'](_0x57376c['shift']());}catch(_0x29d91f){_0x57376c['push'](_0x57376c['shift']());}}}(_0x6d52,0xd9225));Object[_0x4dcda1(0xfc)](exports,Symbol[_0x4dcda1(0x267)],{'value':_0x4dcda1(0xf2)});const st=require('@univerjs-pro/collaboration-client'),A=require(_0x4dcda1(0x166)),it=require(_0x4dcda1(0x24e)),V=require(_0x4dcda1(0x2aa)),nt=require(_0x4dcda1(0x254)),vt=require(_0x4dcda1(0x1b0)),ot=require('http'),St=require(_0x4dcda1(0xf0)),Et=require(_0x4dcda1(0x278)),Le=require(_0x4dcda1(0x18b)),oe=require(_0x4dcda1(0x214)),xt=require('url'),bt=require(_0x4dcda1(0x191)),wt=require(_0x4dcda1(0x27a)),Ot=require(_0x4dcda1(0x222)),fe=_0x4dcda1(0x140),Ct={'customHeaders':{}};function Tt(_0x579a1e){const _0x3b4756=_0x4dcda1;return _0x579a1e&&_0x579a1e[_0x3b4756(0x25d)]&&Object[_0x3b4756(0x1b8)][_0x3b4756(0x184)][_0x3b4756(0x116)](_0x579a1e,_0x3b4756(0x240))?_0x579a1e[_0x3b4756(0x240)]:_0x579a1e;}function at(_0x59fb80){const _0x5e3b09=_0x4dcda1;if(Object['prototype']['hasOwnProperty'][_0x5e3b09(0x116)](_0x59fb80,_0x5e3b09(0x25d)))return _0x59fb80;var _0x1a2731=_0x59fb80[_0x5e3b09(0x240)];if(typeof _0x1a2731=='function'){var _0x9d4192=function _0x5070ae(){const _0x24b56c=_0x5e3b09;return this instanceof _0x5070ae?Reflect['construct'](_0x1a2731,arguments,this['constructor']):_0x1a2731[_0x24b56c(0x1e3)](this,arguments);};_0x9d4192['prototype']=_0x1a2731[_0x5e3b09(0x1b8)];}else _0x9d4192={};return Object[_0x5e3b09(0xfc)](_0x9d4192,'__esModule',{'value':!0x0}),Object[_0x5e3b09(0x251)](_0x59fb80)[_0x5e3b09(0x292)](function(_0x2c6ae5){const _0xd1b13c=_0x5e3b09;var _0x33537d=Object[_0xd1b13c(0x29e)](_0x59fb80,_0x2c6ae5);Object[_0xd1b13c(0xfc)](_0x9d4192,_0x2c6ae5,_0x33537d[_0xd1b13c(0x1fc)]?_0x33537d:{'enumerable':!0x0,'get':function(){return _0x59fb80[_0x2c6ae5];}});}),_0x9d4192;}var se={'exports':{}},ge,Ge;function H(){const _0x12edd5=_0x4dcda1;if(Ge)return ge;Ge=0x1;const _0xf9bf1=[_0x12edd5(0x233),_0x12edd5(0x201),'fragments'],_0x54f512=typeof Blob<'u';return _0x54f512&&_0xf9bf1[_0x12edd5(0x1a1)](_0x12edd5(0x194)),ge={'BINARY_TYPES':_0xf9bf1,'EMPTY_BUFFER':Buffer[_0x12edd5(0x230)](0x0),'GUID':_0x12edd5(0x10c),'hasBlob':_0x54f512,'kForOnEventAttribute':Symbol(_0x12edd5(0x124)),'kListener':Symbol(_0x12edd5(0x10d)),'kStatusCode':Symbol(_0x12edd5(0x252)),'kWebSocket':Symbol(_0x12edd5(0xf6)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x4dcda1(0x18a)](Object[_0x4dcda1(0xfc)]({'__proto__':null,'default':Nt},Symbol[_0x4dcda1(0x267)],{'value':_0x4dcda1(0xf2)})),Lt=at(kt);function _0x6d52(){const _0x22965b=['4932908sVGnKu','_allowSynchronousEvents','_queue','exports','onStarting','OPEN','end','registerDependencies','message','rsv1','wasClean','update','apply','pipe','setHeader','WS_ERR_UNEXPECTED_MASK','_max_window_bits','UniverCollaborationClientPlugin','zlibInflateOptions','location','ISnapshotServerService','_destroy','HTTP/1.1\x20101\x20Switching\x20Protocols','MASK\x20must\x20be\x20set','set','Unexpected\x20character\x20at\x20index\x20','\x22\x20subprotocol\x20is\x20duplicated','env','_registerDependencies','headers','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','socketPath','_errored','CollaborationSocketService','parse','getConfig','search','get','method','port','listenerCount','drain','arraybuffer','_receiver','permessage-deflate','_errorEmitted','values','_fin','createInflateRaw','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','delete','createConnection','reason','zlibDeflateOptions','serverMaxWindowBits','open','_sender','_originalIpc','ILogService','allowSynchronousEvents','_paused','stream','defaultPort','Origin','invalid\x20UTF-8\x20sequence','setTimeout','_readyState','WS_ERR_EXPECTED_FIN','clientMaxWindowBits','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','invalid\x20opcode\x200','WS_ERR_UNEXPECTED_RSV_1','_state','compress','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','@univerjs-pro/collaboration','concurrencyLimit','createServer','species','client_max_window_bits','readUInt32BE','_closeFrameReceived','_masked','\x0d\x0a\x0d\x0a','finish','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','maxRedirects','finished','DisposableCollection','alloc','IConfigService','clientTracking','nodebuffer','isInteger','shift','_inflate','_buffers','Sec-WebSocket-Extensions','url','createDeflateRaw','onmessage','kRun','418704PMJxss','WebSocket\x20is\x20not\x20open:\x20readyState\x20','unshift','default','client','toLowerCase','create','sec-websocket-extensions','join','_httpService','Z_DEFAULT_WINDOWBITS','listeners','NodeCollaborationSocketService','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','kType','unexpected-response','sec-websocket-protocol','@univerjs/network','createError','83OtDtBU','keys','status-code','perMessageDeflate','events','_firstFragment','setSocket','function','isServer','_fragmented','host','jobs','serverNoContextTakeover','__esModule','\x22:\x20','upgrade','_url','invalid\x20opcode\x20','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','handshakeTimeout','_redirects','cork','path','toStringTag','ws+unix:','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','FIN\x20must\x20be\x20set','Plugin','finishRequest','map','autoPong','username','_originalSecure','_writableState','code','onerror','invalid\x20payload\x20length\x20','_generateMask','_deflate','writeUInt16BE','tls','Z_SYNC_FLUSH','buffer','kReason','getBlobData','startLoop','extensions','noServer','readUInt16BE','5238528BEgCCV','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','digest','emitClose','_removeListeners','_socket','string','normalizeParams','total-length','getMask','timeout','completeUpgrade','server_no_context_takeover','emit','authorization','CLOSED','_skipUTF8Validation','forEach','onclose','WS_NO_UTF_8_VALIDATE','conclude','Unknown\x20parameter\x20\x22','verifyClient','kError','_fragments','\x22\x20must\x20have\x20only\x20a\x20single\x20value','acceptAsClient','CLOSING','_shouldEmitClose','getOwnPropertyDescriptor','http:','data','_closeCode','charCodeAt','2914919nZEtKv','size','https:','Basic\x20','_extensions','_protocol','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','rxjs','setConfig','_loop','_configService','6737664rBDqaa','WS_ERR_INVALID_UTF8','destroyed','decompress','14774QvYymg','flush','WS_ERR_EXPECTED_MASK','writable','hostname','net','followRedirects','Module','endEmitted','pause','objectMode','websocket','_opcode','threshold','protocol','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','_threshold','defineProperty','share','warn','text/plain','mask','options','kTarget','handleEvent','fin','consume','_write','close','errorEmitted','wss:','send','abort','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','kListener','_compress','byteLength','UniverCollaborationClientNodePlugin','indexOf','_decompress','Sec-WebSocket-Accept:\x20','opcode','customHeaders','call','Sec-WebSocket-Extensions:\x20','WS_NO_BUFFER_UTIL','controlMessage','addEventListener','clientNoContextTakeover','Injector','enqueue','_doCreateSocket','_closeFrameSent','server','Observable','Invalid\x20Upgrade\x20header','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','kIsForOnEventAttribute','removeEventListener','read','auth','socket','ws:','Invalid\x20Sec-WebSocket-Extensions\x20header','href','pong','10945080iescLG','sendFrame','isArray','value','dispatch','format','find','nextTick','binaryType','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','slice','bind','_no_context_takeover','type','_options','once','target','onopen','from','collaboration-client-node.config','_bufferedBytes','isIP','toDisposable','captureStackTrace','_messageLength','generateMask','Max\x20payload\x20size\x20exceeded','kDone','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','Opening\x20handshake\x20has\x20timed\x20out','_server','dataMessage','length','skipUTF8Validation','frame','startsWith','text/html','_closeTimer','getPayloadLength16','replace','RSV1\x20must\x20be\x20clear','The\x20URL\x20contains\x20a\x20fragment\x20identifier','origin','connect','params','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','Cookie','connection','reset','unmask','number','5uqBKPX','encrypted','_payloadLength','maxPayload','pow','The\x20URL\x27s\x20pathname\x20is\x20empty','@univerjs/core','_injector','kWasClean','extensionName','Invalid\x20URL:\x20','getData','invalid\x20status\x20code\x20','password','_originalHostOrSocketPath','Invalid\x20value\x20for\x20parameter\x20\x22','callback','getInfo','add','destroy','registerHTTPInterceptor','STATUS_CODES','handleProtocols','removeListener','Sec-WebSocket-Origin','concat','write','_totalPayloadLength','sha1','WS_ERR_INVALID_OPCODE','GET','_closeMessage','MASK\x20must\x20be\x20clear','has','setNoDelay','server_max_window_bits','hasOwnProperty','Invalid\x20WebSocket\x20frame:\x20','isPaused','CONNECTING','_final','base64','freeze','crypto','The\x20\x22','_read','readable','clients','_bufferedAmount','zlib','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','blob','wsClientError','ISocketService','acceptAsServer','_isServer','_mask','File','resume','Blob','Inject','_compressed','_maskBuffer','redirect','push','toString','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','cleanup','hash','binary','listen','byteOffset','_readableState','protocolVersion','pending','request','object','address','isValidUTF8','https','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','ping','readyState','_binaryType','then','_autoPong','servername','prototype','includes','error','Invalid\x20HTTP\x20method','concurrency','backlog','listening','kByteLength','haveLength','Parameter\x20\x22','split','allocUnsafe','arrayBuffer','_maxPayload','offer','bufferedAmount','sec-websocket-version','dequeue','COLLABORATION_CLIENT_NODE_CONFIG_KEY','_req','statusCode','readOnly','client_no_context_takeover','entries','shouldHandle','accept','next','writeUIntBE','getPayloadLength64','writeHead','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)'];_0x6d52=function(){return _0x22965b;};return _0x6d52();}var Ve;function ce(){const _0x1ca609=_0x4dcda1;if(Ve)return se[_0x1ca609(0x1da)];Ve=0x1;const {EMPTY_BUFFER:_0x1920c6}=H(),_0x4be361=Buffer[Symbol[_0x1ca609(0x225)]];function _0x4b80d2(_0x3996f5,_0x5155fe){const _0x40aeea=_0x1ca609;if(_0x3996f5['length']===0x0)return _0x1920c6;if(_0x3996f5[_0x40aeea(0x14d)]===0x1)return _0x3996f5[0x0];const _0x2dc801=Buffer[_0x40aeea(0x1c3)](_0x5155fe);let _0xd91189=0x0;for(let _0x474c54=0x0;_0x474c54<_0x3996f5[_0x40aeea(0x14d)];_0x474c54++){const _0x1326df=_0x3996f5[_0x474c54];_0x2dc801[_0x40aeea(0x1ef)](_0x1326df,_0xd91189),_0xd91189+=_0x1326df[_0x40aeea(0x14d)];}return _0xd91189<_0x5155fe?new _0x4be361(_0x2dc801[_0x40aeea(0x27a)],_0x2dc801[_0x40aeea(0x1a8)],_0xd91189):_0x2dc801;}function _0x1f7212(_0x4440d4,_0x2261fd,_0x1b3b36,_0xa3fa7b,_0x5287c6){for(let _0x306a8d=0x0;_0x306a8d<_0x5287c6;_0x306a8d++)_0x1b3b36[_0xa3fa7b+_0x306a8d]=_0x4440d4[_0x306a8d]^_0x2261fd[_0x306a8d&0x3];}function _0x438f8b(_0x2d4637,_0x49bcb2){const _0x3db44c=_0x1ca609;for(let _0x4a7012=0x0;_0x4a7012<_0x2d4637[_0x3db44c(0x14d)];_0x4a7012++)_0x2d4637[_0x4a7012]^=_0x49bcb2[_0x4a7012&0x3];}function _0x43ff41(_0x323aa2){const _0x49acc4=_0x1ca609;return _0x323aa2[_0x49acc4(0x14d)]===_0x323aa2[_0x49acc4(0x27a)][_0x49acc4(0x10f)]?_0x323aa2[_0x49acc4(0x27a)]:_0x323aa2['buffer'][_0x49acc4(0x137)](_0x323aa2[_0x49acc4(0x1a8)],_0x323aa2[_0x49acc4(0x1a8)]+_0x323aa2[_0x49acc4(0x14d)]);}function _0x2bf2e0(_0x2f8866){const _0x59d380=_0x1ca609;if(_0x2bf2e0[_0x59d380(0x1cd)]=!0x0,Buffer['isBuffer'](_0x2f8866))return _0x2f8866;let _0x527048;return _0x2f8866 instanceof ArrayBuffer?_0x527048=new _0x4be361(_0x2f8866):ArrayBuffer['isView'](_0x2f8866)?_0x527048=new _0x4be361(_0x2f8866[_0x59d380(0x27a)],_0x2f8866[_0x59d380(0x1a8)],_0x2f8866['byteLength']):(_0x527048=Buffer[_0x59d380(0x13f)](_0x2f8866),_0x2bf2e0[_0x59d380(0x1cd)]=!0x1),_0x527048;}if(se[_0x1ca609(0x1da)]={'concat':_0x4b80d2,'mask':_0x1f7212,'toArrayBuffer':_0x43ff41,'toBuffer':_0x2bf2e0,'unmask':_0x438f8b},!process['env'][_0x1ca609(0x118)])try{const _0x208817=Lt;se[_0x1ca609(0x1da)][_0x1ca609(0x100)]=function(_0x44bf49,_0x624651,_0x280d13,_0x3b6230,_0x1e85d2){const _0x52478b=_0x1ca609;_0x1e85d2<0x30?_0x1f7212(_0x44bf49,_0x624651,_0x280d13,_0x3b6230,_0x1e85d2):_0x208817[_0x52478b(0x100)](_0x44bf49,_0x624651,_0x280d13,_0x3b6230,_0x1e85d2);},se['exports'][_0x1ca609(0x15e)]=function(_0x3b01,_0x2ad7de){const _0x9e615e=_0x1ca609;_0x3b01['length']<0x20?_0x438f8b(_0x3b01,_0x2ad7de):_0x208817[_0x9e615e(0x15e)](_0x3b01,_0x2ad7de);};}catch{}return se[_0x1ca609(0x1da)];}var ye,He;function Pt(){const _0x2568ab=_0x4dcda1;if(He)return ye;He=0x1;const _0x30131b=Symbol(_0x2568ab(0x148)),_0x12b352=Symbol(_0x2568ab(0x23c));class _0x365ae5{constructor(_0x838e89){const _0x567958=_0x2568ab;this[_0x30131b]=()=>{const _0x3ed16d=_0x338f;this[_0x3ed16d(0x1ab)]--,this[_0x12b352]();},this[_0x567958(0x1bc)]=_0x838e89||0x1/0x0,this['jobs']=[],this[_0x567958(0x1ab)]=0x0;}[_0x2568ab(0x172)](_0x427bad){const _0x2802e4=_0x2568ab;this[_0x2802e4(0x25b)]['push'](_0x427bad),this[_0x12b352]();}[_0x12b352](){const _0x11e994=_0x2568ab;if(this[_0x11e994(0x1ab)]!==this[_0x11e994(0x1bc)]&&this[_0x11e994(0x25b)][_0x11e994(0x14d)]){const _0x51b32a=this[_0x11e994(0x25b)][_0x11e994(0x235)]();this[_0x11e994(0x1ab)]++,_0x51b32a(this[_0x30131b]);}}}return ye=_0x365ae5,ye;}var ve,ze;function he(){const _0x5d5d47=_0x4dcda1;if(ze)return ve;ze=0x1;const _0x54fd30=bt,_0x532ae3=ce(),_0x46c65d=Pt(),{kStatusCode:_0x140d0e}=H(),_0x1edd6e=Buffer[Symbol['species']],_0x529c3a=Buffer[_0x5d5d47(0x13f)]([0x0,0x0,0xff,0xff]),_0x362543=Symbol(_0x5d5d47(0x203)),_0x1ba987=Symbol(_0x5d5d47(0x289)),_0x1efaaf=Symbol(_0x5d5d47(0x170)),_0x4c10ca=Symbol('buffers'),_0x559e2b=Symbol(_0x5d5d47(0x1ba));let _0x2e8a4e;class _0x4923e4{constructor(_0x1c502d,_0xf1eb0f,_0x3fab18){const _0x4c554e=_0x5d5d47;if(this[_0x4c554e(0x1c5)]=_0x3fab18|0x0,this[_0x4c554e(0x13b)]=_0x1c502d||{},this[_0x4c554e(0xfb)]=this[_0x4c554e(0x13b)][_0x4c554e(0xf8)]!==void 0x0?this[_0x4c554e(0x13b)][_0x4c554e(0xf8)]:0x400,this[_0x4c554e(0x198)]=!!_0xf1eb0f,this[_0x4c554e(0x276)]=null,this['_inflate']=null,this[_0x4c554e(0x159)]=null,!_0x2e8a4e){const _0x530535=this[_0x4c554e(0x13b)][_0x4c554e(0x223)]!==void 0x0?this['_options']['concurrencyLimit']:0xa;_0x2e8a4e=new _0x46c65d(_0x530535);}}static get[_0x5d5d47(0x169)](){const _0x22b02b=_0x5d5d47;return _0x22b02b(0x203);}[_0x5d5d47(0x1c6)](){const _0x3121fe=_0x5d5d47,_0x2baf7f={};return this[_0x3121fe(0x13b)]['serverNoContextTakeover']&&(_0x2baf7f[_0x3121fe(0x28d)]=!0x0),this[_0x3121fe(0x13b)][_0x3121fe(0x11b)]&&(_0x2baf7f[_0x3121fe(0x1ce)]=!0x0),this['_options']['serverMaxWindowBits']&&(_0x2baf7f[_0x3121fe(0x183)]=this[_0x3121fe(0x13b)][_0x3121fe(0x20d)]),this[_0x3121fe(0x13b)]['clientMaxWindowBits']?_0x2baf7f['client_max_window_bits']=this[_0x3121fe(0x13b)][_0x3121fe(0x21b)]:this['_options'][_0x3121fe(0x21b)]==null&&(_0x2baf7f[_0x3121fe(0x226)]=!0x0),_0x2baf7f;}[_0x5d5d47(0x1d1)](_0x21af34){const _0x55fc10=_0x5d5d47;return _0x21af34=this[_0x55fc10(0x288)](_0x21af34),this[_0x55fc10(0x159)]=this[_0x55fc10(0x198)]?this['acceptAsServer'](_0x21af34):this[_0x55fc10(0x29b)](_0x21af34),this['params'];}[_0x5d5d47(0x1a4)](){const _0x3d0e46=_0x5d5d47;if(this[_0x3d0e46(0x236)]&&(this['_inflate'][_0x3d0e46(0x107)](),this['_inflate']=null),this[_0x3d0e46(0x276)]){const _0x50f7b7=this[_0x3d0e46(0x276)][_0x1efaaf];this['_deflate'][_0x3d0e46(0x107)](),this[_0x3d0e46(0x276)]=null,_0x50f7b7&&_0x50f7b7(new Error(_0x3d0e46(0x22c)));}}[_0x5d5d47(0x197)](_0x4dbe43){const _0x13b45a=_0x5d5d47,_0x465c7b=this[_0x13b45a(0x13b)],_0x1d391a=_0x4dbe43[_0x13b45a(0x133)](_0x5a686b=>!(_0x465c7b[_0x13b45a(0x25c)]===!0x1&&_0x5a686b[_0x13b45a(0x28d)]||_0x5a686b['server_max_window_bits']&&(_0x465c7b[_0x13b45a(0x20d)]===!0x1||typeof _0x465c7b['serverMaxWindowBits']==_0x13b45a(0x15f)&&_0x465c7b[_0x13b45a(0x20d)]>_0x5a686b[_0x13b45a(0x183)])||typeof _0x465c7b[_0x13b45a(0x21b)]==_0x13b45a(0x15f)&&!_0x5a686b['client_max_window_bits']));if(!_0x1d391a)throw new Error(_0x13b45a(0x2a9));return _0x465c7b[_0x13b45a(0x25c)]&&(_0x1d391a[_0x13b45a(0x28d)]=!0x0),_0x465c7b['clientNoContextTakeover']&&(_0x1d391a[_0x13b45a(0x1ce)]=!0x0),typeof _0x465c7b[_0x13b45a(0x20d)]==_0x13b45a(0x15f)&&(_0x1d391a['server_max_window_bits']=_0x465c7b['serverMaxWindowBits']),typeof _0x465c7b[_0x13b45a(0x21b)]=='number'?_0x1d391a[_0x13b45a(0x226)]=_0x465c7b[_0x13b45a(0x21b)]:(_0x1d391a[_0x13b45a(0x226)]===!0x0||_0x465c7b['clientMaxWindowBits']===!0x1)&&delete _0x1d391a['client_max_window_bits'],_0x1d391a;}['acceptAsClient'](_0x2245ce){const _0x2678e2=_0x5d5d47,_0x548e7e=_0x2245ce[0x0];if(this[_0x2678e2(0x13b)][_0x2678e2(0x11b)]===!0x1&&_0x548e7e['client_no_context_takeover'])throw new Error(_0x2678e2(0x136));if(!_0x548e7e[_0x2678e2(0x226)])typeof this[_0x2678e2(0x13b)][_0x2678e2(0x21b)]==_0x2678e2(0x15f)&&(_0x548e7e['client_max_window_bits']=this[_0x2678e2(0x13b)][_0x2678e2(0x21b)]);else{if(this['_options'][_0x2678e2(0x21b)]===!0x1||typeof this[_0x2678e2(0x13b)]['clientMaxWindowBits']=='number'&&_0x548e7e[_0x2678e2(0x226)]>this[_0x2678e2(0x13b)][_0x2678e2(0x21b)])throw new Error('Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22');}return _0x548e7e;}[_0x5d5d47(0x288)](_0x3fb185){return _0x3fb185['forEach'](_0x10f6c2=>{const _0x20b6b8=_0x338f;Object[_0x20b6b8(0x251)](_0x10f6c2)[_0x20b6b8(0x292)](_0xa8a5ef=>{const _0x184c64=_0x20b6b8;let _0x5755bd=_0x10f6c2[_0xa8a5ef];if(_0x5755bd[_0x184c64(0x14d)]>0x1)throw new Error(_0x184c64(0x1c1)+_0xa8a5ef+_0x184c64(0x29a));if(_0x5755bd=_0x5755bd[0x0],_0xa8a5ef===_0x184c64(0x226)){if(_0x5755bd!==!0x0){const _0x1a8d0b=+_0x5755bd;if(!Number[_0x184c64(0x234)](_0x1a8d0b)||_0x1a8d0b<0x8||_0x1a8d0b>0xf)throw new TypeError(_0x184c64(0x16f)+_0xa8a5ef+_0x184c64(0x25e)+_0x5755bd);_0x5755bd=_0x1a8d0b;}else{if(!this[_0x184c64(0x198)])throw new TypeError(_0x184c64(0x16f)+_0xa8a5ef+_0x184c64(0x25e)+_0x5755bd);}}else{if(_0xa8a5ef===_0x184c64(0x183)){const _0x19dd16=+_0x5755bd;if(!Number[_0x184c64(0x234)](_0x19dd16)||_0x19dd16<0x8||_0x19dd16>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0xa8a5ef+'\x22:\x20'+_0x5755bd);_0x5755bd=_0x19dd16;}else{if(_0xa8a5ef===_0x184c64(0x1ce)||_0xa8a5ef===_0x184c64(0x28d)){if(_0x5755bd!==!0x0)throw new TypeError(_0x184c64(0x16f)+_0xa8a5ef+_0x184c64(0x25e)+_0x5755bd);}else throw new Error(_0x184c64(0x296)+_0xa8a5ef+'\x22');}}_0x10f6c2[_0xa8a5ef]=_0x5755bd;});}),_0x3fb185;}[_0x5d5d47(0x2b1)](_0xdb9977,_0x248042,_0x335bbd){_0x2e8a4e['add'](_0xa2938=>{const _0x241608=_0x338f;this[_0x241608(0x112)](_0xdb9977,_0x248042,(_0xed3df0,_0x33a51b)=>{_0xa2938(),_0x335bbd(_0xed3df0,_0x33a51b);});});}['compress'](_0x485799,_0x295bdf,_0xd3a82c){const _0x3c8417=_0x5d5d47;_0x2e8a4e[_0x3c8417(0x172)](_0x1dc742=>{const _0x298aca=_0x3c8417;this[_0x298aca(0x10e)](_0x485799,_0x295bdf,(_0x51b691,_0x4b8cfc)=>{_0x1dc742(),_0xd3a82c(_0x51b691,_0x4b8cfc);});});}[_0x5d5d47(0x112)](_0x1afcea,_0x4a9a0b,_0x59ee82){const _0x2ff326=_0x5d5d47,_0x8f953d=this['_isServer']?'client':_0x2ff326(0x120);if(!this[_0x2ff326(0x236)]){const _0x5e6332=_0x8f953d+'_max_window_bits',_0x438470=typeof this[_0x2ff326(0x159)][_0x5e6332]!=_0x2ff326(0x15f)?_0x54fd30['Z_DEFAULT_WINDOWBITS']:this[_0x2ff326(0x159)][_0x5e6332];this['_inflate']=_0x54fd30[_0x2ff326(0x207)]({...this[_0x2ff326(0x13b)][_0x2ff326(0x1e9)],'windowBits':_0x438470}),this[_0x2ff326(0x236)][_0x362543]=this,this[_0x2ff326(0x236)][_0x1ba987]=0x0,this[_0x2ff326(0x236)][_0x4c10ca]=[],this[_0x2ff326(0x236)]['on'](_0x2ff326(0x1ba),_0x24b7c3),this[_0x2ff326(0x236)]['on'](_0x2ff326(0x2a0),_0x3cf25f);}this['_inflate'][_0x1efaaf]=_0x59ee82,this[_0x2ff326(0x236)][_0x2ff326(0x17a)](_0x1afcea),_0x4a9a0b&&this[_0x2ff326(0x236)]['write'](_0x529c3a),this[_0x2ff326(0x236)][_0x2ff326(0xec)](()=>{const _0x586a4c=_0x2ff326,_0x5009a7=this[_0x586a4c(0x236)][_0x559e2b];if(_0x5009a7){this[_0x586a4c(0x236)]['close'](),this[_0x586a4c(0x236)]=null,_0x59ee82(_0x5009a7);return;}const _0x571f9=_0x532ae3[_0x586a4c(0x179)](this['_inflate'][_0x4c10ca],this[_0x586a4c(0x236)][_0x1ba987]);this[_0x586a4c(0x236)][_0x586a4c(0x1a9)]['endEmitted']?(this[_0x586a4c(0x236)][_0x586a4c(0x107)](),this['_inflate']=null):(this[_0x586a4c(0x236)][_0x1ba987]=0x0,this[_0x586a4c(0x236)][_0x4c10ca]=[],_0x4a9a0b&&this['params'][_0x8f953d+_0x586a4c(0x139)]&&this['_inflate'][_0x586a4c(0x15d)]()),_0x59ee82(null,_0x571f9);});}[_0x5d5d47(0x10e)](_0x3f92bd,_0x1d5e50,_0x448f21){const _0x3be4d8=_0x5d5d47,_0x15d005=this['_isServer']?'server':_0x3be4d8(0x241);if(!this['_deflate']){const _0x2920f4=_0x15d005+_0x3be4d8(0x1e7),_0x20e526=typeof this[_0x3be4d8(0x159)][_0x2920f4]!=_0x3be4d8(0x15f)?_0x54fd30[_0x3be4d8(0x247)]:this[_0x3be4d8(0x159)][_0x2920f4];this['_deflate']=_0x54fd30[_0x3be4d8(0x23a)]({...this[_0x3be4d8(0x13b)][_0x3be4d8(0x20c)],'windowBits':_0x20e526}),this[_0x3be4d8(0x276)][_0x1ba987]=0x0,this[_0x3be4d8(0x276)][_0x4c10ca]=[],this[_0x3be4d8(0x276)]['on'](_0x3be4d8(0x2a0),_0x505ed9);}this['_deflate'][_0x1efaaf]=_0x448f21,this[_0x3be4d8(0x276)][_0x3be4d8(0x17a)](_0x3f92bd),this[_0x3be4d8(0x276)][_0x3be4d8(0xec)](_0x54fd30[_0x3be4d8(0x279)],()=>{const _0x316014=_0x3be4d8;if(!this[_0x316014(0x276)])return;let _0x13b852=_0x532ae3['concat'](this['_deflate'][_0x4c10ca],this['_deflate'][_0x1ba987]);_0x1d5e50&&(_0x13b852=new _0x1edd6e(_0x13b852[_0x316014(0x27a)],_0x13b852[_0x316014(0x1a8)],_0x13b852[_0x316014(0x14d)]-0x4)),this[_0x316014(0x276)][_0x1efaaf]=null,this['_deflate'][_0x1ba987]=0x0,this[_0x316014(0x276)][_0x4c10ca]=[],_0x1d5e50&&this['params'][_0x15d005+'_no_context_takeover']&&this[_0x316014(0x276)][_0x316014(0x15d)](),_0x448f21(null,_0x13b852);});}}ve=_0x4923e4;function _0x505ed9(_0x19c919){this[_0x4c10ca]['push'](_0x19c919),this[_0x1ba987]+=_0x19c919['length'];}function _0x3cf25f(_0x380cdb){const _0x43438c=_0x5d5d47;if(this[_0x1ba987]+=_0x380cdb[_0x43438c(0x14d)],this[_0x362543][_0x43438c(0x1c5)]<0x1||this[_0x1ba987]<=this[_0x362543][_0x43438c(0x1c5)]){this[_0x4c10ca]['push'](_0x380cdb);return;}this[_0x559e2b]=new RangeError(_0x43438c(0x147)),this[_0x559e2b][_0x43438c(0x272)]=_0x43438c(0x1b1),this[_0x559e2b][_0x140d0e]=0x3f1,this['removeListener'](_0x43438c(0x2a0),_0x3cf25f),this[_0x43438c(0x15d)]();}function _0x24b7c3(_0x52fe83){const _0xc8928=_0x5d5d47;if(this[_0x362543][_0xc8928(0x236)]=null,this[_0x559e2b]){this[_0x1efaaf](this[_0x559e2b]);return;}_0x52fe83[_0x140d0e]=0x3ef,this[_0x1efaaf](_0x52fe83);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object['freeze'](Object[_0x4dcda1(0xfc)]({'__proto__':null,'default':Dt},Symbol[_0x4dcda1(0x267)],{'value':'Module'})),Bt=at(Rt);var Ye;function ae(){const _0x3c69da=_0x4dcda1;if(Ye)return ie['exports'];Ye=0x1;const {isUtf8:_0xb3773e}=wt,{hasBlob:_0x320192}=H(),_0x4545db=[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 _0x1bfb98(_0x4e5f4c){return _0x4e5f4c>=0x3e8&&_0x4e5f4c<=0x3f6&&_0x4e5f4c!==0x3ec&&_0x4e5f4c!==0x3ed&&_0x4e5f4c!==0x3ee||_0x4e5f4c>=0xbb8&&_0x4e5f4c<=0x1387;}function _0x5f4c92(_0x587707){const _0x5d9b3e=_0x338f,_0x13094d=_0x587707[_0x5d9b3e(0x14d)];let _0x476c38=0x0;for(;_0x476c38<_0x13094d;)if((_0x587707[_0x476c38]&0x80)===0x0)_0x476c38++;else{if((_0x587707[_0x476c38]&0xe0)===0xc0){if(_0x476c38+0x1===_0x13094d||(_0x587707[_0x476c38+0x1]&0xc0)!==0x80||(_0x587707[_0x476c38]&0xfe)===0xc0)return!0x1;_0x476c38+=0x2;}else{if((_0x587707[_0x476c38]&0xf0)===0xe0){if(_0x476c38+0x2>=_0x13094d||(_0x587707[_0x476c38+0x1]&0xc0)!==0x80||(_0x587707[_0x476c38+0x2]&0xc0)!==0x80||_0x587707[_0x476c38]===0xe0&&(_0x587707[_0x476c38+0x1]&0xe0)===0x80||_0x587707[_0x476c38]===0xed&&(_0x587707[_0x476c38+0x1]&0xe0)===0xa0)return!0x1;_0x476c38+=0x3;}else{if((_0x587707[_0x476c38]&0xf8)===0xf0){if(_0x476c38+0x3>=_0x13094d||(_0x587707[_0x476c38+0x1]&0xc0)!==0x80||(_0x587707[_0x476c38+0x2]&0xc0)!==0x80||(_0x587707[_0x476c38+0x3]&0xc0)!==0x80||_0x587707[_0x476c38]===0xf0&&(_0x587707[_0x476c38+0x1]&0xf0)===0x80||_0x587707[_0x476c38]===0xf4&&_0x587707[_0x476c38+0x1]>0x8f||_0x587707[_0x476c38]>0xf4)return!0x1;_0x476c38+=0x4;}else return!0x1;}}}return!0x0;}function _0xab24fa(_0xffa295){const _0x3e8129=_0x338f;return _0x320192&&typeof _0xffa295=='object'&&typeof _0xffa295[_0x3e8129(0x1c4)]=='function'&&typeof _0xffa295[_0x3e8129(0x13a)]==_0x3e8129(0x287)&&typeof _0xffa295[_0x3e8129(0x214)]==_0x3e8129(0x257)&&(_0xffa295[Symbol[_0x3e8129(0x267)]]===_0x3e8129(0x19c)||_0xffa295[Symbol[_0x3e8129(0x267)]]===_0x3e8129(0x19a));}if(ie[_0x3c69da(0x1da)]={'isBlob':_0xab24fa,'isValidStatusCode':_0x1bfb98,'isValidUTF8':_0x5f4c92,'tokenChars':_0x4545db},_0xb3773e)ie[_0x3c69da(0x1da)]['isValidUTF8']=function(_0x108977){const _0x498966=_0x3c69da;return _0x108977[_0x498966(0x14d)]<0x18?_0x5f4c92(_0x108977):_0xb3773e(_0x108977);};else{if(!process[_0x3c69da(0x1f2)][_0x3c69da(0x294)])try{const _0x54b0cd=Bt;ie['exports'][_0x3c69da(0x1af)]=function(_0x5882bf){const _0x1d84cb=_0x3c69da;return _0x5882bf[_0x1d84cb(0x14d)]<0x20?_0x5f4c92(_0x5882bf):_0x54b0cd(_0x5882bf);};}catch{}}return ie[_0x3c69da(0x1da)];}var Se,Ke;function lt(){const _0x306fad=_0x4dcda1;if(Ke)return Se;Ke=0x1;const {Writable:_0x15e624}=oe,_0x43f760=he(),{BINARY_TYPES:_0x2d811a,EMPTY_BUFFER:_0x2b263c,kStatusCode:_0x4f3a77,kWebSocket:_0x76e7b5}=H(),{concat:_0x2e84cf,toArrayBuffer:_0x108465,unmask:_0xc94415}=ce(),{isValidStatusCode:_0x42016e,isValidUTF8:_0x121028}=ae(),_0x534887=Buffer[Symbol[_0x306fad(0x225)]],_0x242f49=0x0,_0x4bae8f=0x1,_0x456351=0x2,_0x308db8=0x3,_0x24ae30=0x4,_0x15d04e=0x5,_0x1d7780=0x6;class _0x2d3c15 extends _0x15e624{constructor(_0x2b8343={}){const _0x363302=_0x306fad;super(),this[_0x363302(0x1d8)]=_0x2b8343[_0x363302(0x212)]!==void 0x0?_0x2b8343['allowSynchronousEvents']:!0x0,this[_0x363302(0x1b4)]=_0x2b8343[_0x363302(0x135)]||_0x2d811a[0x0],this['_extensions']=_0x2b8343[_0x363302(0x27e)]||{},this[_0x363302(0x198)]=!!_0x2b8343[_0x363302(0x258)],this[_0x363302(0x1c5)]=_0x2b8343['maxPayload']|0x0,this[_0x363302(0x291)]=!!_0x2b8343['skipUTF8Validation'],this[_0x76e7b5]=void 0x0,this['_bufferedBytes']=0x0,this['_buffers']=[],this[_0x363302(0x19e)]=!0x1,this['_payloadLength']=0x0,this[_0x363302(0x199)]=void 0x0,this['_fragmented']=0x0,this[_0x363302(0x229)]=!0x1,this[_0x363302(0x206)]=!0x1,this[_0x363302(0xf7)]=0x0,this[_0x363302(0x17b)]=0x0,this[_0x363302(0x145)]=0x0,this[_0x363302(0x299)]=[],this[_0x363302(0x1f7)]=!0x1,this['_loop']=!0x1,this[_0x363302(0x21f)]=_0x242f49;}['_write'](_0x370537,_0x5f2ae1,_0x163a8e){const _0x5e657b=_0x306fad;if(this[_0x5e657b(0xf7)]===0x8&&this[_0x5e657b(0x21f)]==_0x242f49)return _0x163a8e();this[_0x5e657b(0x141)]+=_0x370537[_0x5e657b(0x14d)],this[_0x5e657b(0x237)][_0x5e657b(0x1a1)](_0x370537),this[_0x5e657b(0x27d)](_0x163a8e);}[_0x306fad(0x105)](_0x2ad0ae){const _0x1d8025=_0x306fad;if(this[_0x1d8025(0x141)]-=_0x2ad0ae,_0x2ad0ae===this[_0x1d8025(0x237)][0x0][_0x1d8025(0x14d)])return this[_0x1d8025(0x237)][_0x1d8025(0x235)]();if(_0x2ad0ae<this[_0x1d8025(0x237)][0x0]['length']){const _0x3abe9f=this['_buffers'][0x0];return this[_0x1d8025(0x237)][0x0]=new _0x534887(_0x3abe9f[_0x1d8025(0x27a)],_0x3abe9f[_0x1d8025(0x1a8)]+_0x2ad0ae,_0x3abe9f[_0x1d8025(0x14d)]-_0x2ad0ae),new _0x534887(_0x3abe9f['buffer'],_0x3abe9f['byteOffset'],_0x2ad0ae);}const _0x24d9f8=Buffer[_0x1d8025(0x1c3)](_0x2ad0ae);do{const _0x36b5b1=this['_buffers'][0x0],_0x1d5a5b=_0x24d9f8[_0x1d8025(0x14d)]-_0x2ad0ae;_0x2ad0ae>=_0x36b5b1[_0x1d8025(0x14d)]?_0x24d9f8['set'](this['_buffers'][_0x1d8025(0x235)](),_0x1d5a5b):(_0x24d9f8[_0x1d8025(0x1ef)](new Uint8Array(_0x36b5b1[_0x1d8025(0x27a)],_0x36b5b1[_0x1d8025(0x1a8)],_0x2ad0ae),_0x1d5a5b),this['_buffers'][0x0]=new _0x534887(_0x36b5b1['buffer'],_0x36b5b1[_0x1d8025(0x1a8)]+_0x2ad0ae,_0x36b5b1[_0x1d8025(0x14d)]-_0x2ad0ae)),_0x2ad0ae-=_0x36b5b1['length'];}while(_0x2ad0ae>0x0);return _0x24d9f8;}['startLoop'](_0x2c3d3e){const _0x2fee29=_0x306fad;this[_0x2fee29(0x2ac)]=!0x0;do switch(this[_0x2fee29(0x21f)]){case _0x242f49:this[_0x2fee29(0x171)](_0x2c3d3e);break;case _0x4bae8f:this[_0x2fee29(0x153)](_0x2c3d3e);break;case _0x456351:this[_0x2fee29(0x1d4)](_0x2c3d3e);break;case _0x308db8:this[_0x2fee29(0x28a)]();break;case _0x24ae30:this[_0x2fee29(0x16b)](_0x2c3d3e);break;case _0x15d04e:case _0x1d7780:this[_0x2fee29(0x2ac)]=!0x1;return;}while(this[_0x2fee29(0x2ac)]);this['_errored']||_0x2c3d3e();}[_0x306fad(0x171)](_0x28725d){const _0x1578a7=_0x306fad;if(this['_bufferedBytes']<0x2){this[_0x1578a7(0x2ac)]=!0x1;return;}const _0x12f386=this['consume'](0x2);if((_0x12f386[0x0]&0x30)!==0x0){const _0x49e5b6=this[_0x1578a7(0x24f)](RangeError,_0x1578a7(0x1f5),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0x28725d(_0x49e5b6);return;}const _0x48decf=(_0x12f386[0x0]&0x40)===0x40;if(_0x48decf&&!this['_extensions'][_0x43f760['extensionName']]){const _0x16018c=this[_0x1578a7(0x24f)](RangeError,_0x1578a7(0x155),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x28725d(_0x16018c);return;}if(this[_0x1578a7(0x206)]=(_0x12f386[0x0]&0x80)===0x80,this[_0x1578a7(0xf7)]=_0x12f386[0x0]&0xf,this[_0x1578a7(0x162)]=_0x12f386[0x1]&0x7f,this['_opcode']===0x0){if(_0x48decf){const _0x4dfb35=this[_0x1578a7(0x24f)](RangeError,_0x1578a7(0x155),!0x0,0x3ea,_0x1578a7(0x21e));_0x28725d(_0x4dfb35);return;}if(!this[_0x1578a7(0x259)]){const _0x31f25e=this['createError'](RangeError,_0x1578a7(0x21d),!0x0,0x3ea,_0x1578a7(0x17d));_0x28725d(_0x31f25e);return;}this[_0x1578a7(0xf7)]=this['_fragmented'];}else{if(this['_opcode']===0x1||this['_opcode']===0x2){if(this[_0x1578a7(0x259)]){const _0x58f2b3=this['createError'](RangeError,'invalid\x20opcode\x20'+this['_opcode'],!0x0,0x3ea,_0x1578a7(0x17d));_0x28725d(_0x58f2b3);return;}this[_0x1578a7(0x19e)]=_0x48decf;}else{if(this[_0x1578a7(0xf7)]>0x7&&this[_0x1578a7(0xf7)]<0xb){if(!this[_0x1578a7(0x206)]){const _0x3e727=this[_0x1578a7(0x24f)](RangeError,_0x1578a7(0x26a),!0x0,0x3ea,_0x1578a7(0x21a));_0x28725d(_0x3e727);return;}if(_0x48decf){const _0x5e80b1=this[_0x1578a7(0x24f)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x28725d(_0x5e80b1);return;}if(this[_0x1578a7(0x162)]>0x7d||this['_opcode']===0x8&&this[_0x1578a7(0x162)]===0x1){const _0xed5a25=this[_0x1578a7(0x24f)](RangeError,_0x1578a7(0x274)+this[_0x1578a7(0x162)],!0x0,0x3ea,_0x1578a7(0x208));_0x28725d(_0xed5a25);return;}}else{const _0x580103=this[_0x1578a7(0x24f)](RangeError,_0x1578a7(0x261)+this['_opcode'],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x28725d(_0x580103);return;}}}if(!this[_0x1578a7(0x206)]&&!this[_0x1578a7(0x259)]&&(this[_0x1578a7(0x259)]=this[_0x1578a7(0xf7)]),this['_masked']=(_0x12f386[0x1]&0x80)===0x80,this[_0x1578a7(0x198)]){if(!this[_0x1578a7(0x229)]){const _0x40a138=this[_0x1578a7(0x24f)](RangeError,_0x1578a7(0x1ee),!0x0,0x3ea,_0x1578a7(0xed));_0x28725d(_0x40a138);return;}}else{if(this[_0x1578a7(0x229)]){const _0x2bd793=this[_0x1578a7(0x24f)](RangeError,_0x1578a7(0x180),!0x0,0x3ea,_0x1578a7(0x1e6));_0x28725d(_0x2bd793);return;}}this[_0x1578a7(0x162)]===0x7e?this[_0x1578a7(0x21f)]=_0x4bae8f:this[_0x1578a7(0x162)]===0x7f?this['_state']=_0x456351:this['haveLength'](_0x28725d);}[_0x306fad(0x153)](_0x904635){const _0x2645a9=_0x306fad;if(this[_0x2645a9(0x141)]<0x2){this[_0x2645a9(0x2ac)]=!0x1;return;}this['_payloadLength']=this[_0x2645a9(0x105)](0x2)[_0x2645a9(0x280)](0x0),this[_0x2645a9(0x1c0)](_0x904635);}[_0x306fad(0x1d4)](_0x3f2b52){const _0x4b8543=_0x306fad;if(this['_bufferedBytes']<0x8){this[_0x4b8543(0x2ac)]=!0x1;return;}const _0x4ecbc9=this[_0x4b8543(0x105)](0x8),_0x56e5d1=_0x4ecbc9[_0x4b8543(0x227)](0x0);if(_0x56e5d1>Math[_0x4b8543(0x164)](0x2,0x15)-0x1){const _0x57575b=this[_0x4b8543(0x24f)](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH');_0x3f2b52(_0x57575b);return;}this[_0x4b8543(0x162)]=_0x56e5d1*Math[_0x4b8543(0x164)](0x2,0x20)+_0x4ecbc9[_0x4b8543(0x227)](0x4),this[_0x4b8543(0x1c0)](_0x3f2b52);}[_0x306fad(0x1c0)](_0x43560b){const _0x4ccbb8=_0x306fad;if(this[_0x4ccbb8(0x162)]&&this[_0x4ccbb8(0xf7)]<0x8&&(this[_0x4ccbb8(0x17b)]+=this[_0x4ccbb8(0x162)],this[_0x4ccbb8(0x17b)]>this[_0x4ccbb8(0x1c5)]&&this['_maxPayload']>0x0)){const _0x43deec=this[_0x4ccbb8(0x24f)](RangeError,_0x4ccbb8(0x147),!0x1,0x3f1,_0x4ccbb8(0x1b1));_0x43560b(_0x43deec);return;}this['_masked']?this[_0x4ccbb8(0x21f)]=_0x308db8:this[_0x4ccbb8(0x21f)]=_0x24ae30;}[_0x306fad(0x28a)](){const _0xd90014=_0x306fad;if(this[_0xd90014(0x141)]<0x4){this[_0xd90014(0x2ac)]=!0x1;return;}this[_0xd90014(0x199)]=this[_0xd90014(0x105)](0x4),this[_0xd90014(0x21f)]=_0x24ae30;}['getData'](_0x470ad2){const _0x11b3eb=_0x306fad;let _0x252c13=_0x2b263c;if(this[_0x11b3eb(0x162)]){if(this[_0x11b3eb(0x141)]<this['_payloadLength']){this['_loop']=!0x1;return;}_0x252c13=this[_0x11b3eb(0x105)](this[_0x11b3eb(0x162)]),this[_0x11b3eb(0x229)]&&(this['_mask'][0x0]|this[_0x11b3eb(0x199)][0x1]|this[_0x11b3eb(0x199)][0x2]|this['_mask'][0x3])!==0x0&&_0xc94415(_0x252c13,this[_0x11b3eb(0x199)]);}if(this[_0x11b3eb(0xf7)]>0x7){this['controlMessage'](_0x252c13,_0x470ad2);return;}if(this[_0x11b3eb(0x19e)]){this[_0x11b3eb(0x21f)]=_0x15d04e,this[_0x11b3eb(0x2b1)](_0x252c13,_0x470ad2);return;}_0x252c13[_0x11b3eb(0x14d)]&&(this[_0x11b3eb(0x145)]=this[_0x11b3eb(0x17b)],this['_fragments'][_0x11b3eb(0x1a1)](_0x252c13)),this[_0x11b3eb(0x14c)](_0x470ad2);}[_0x306fad(0x2b1)](_0x59a01c,_0x231e68){const _0x18af1d=_0x306fad;this[_0x18af1d(0x2a7)][_0x43f760[_0x18af1d(0x169)]][_0x18af1d(0x2b1)](_0x59a01c,this[_0x18af1d(0x206)],(_0x3ad8f3,_0x424373)=>{const _0x5ed744=_0x18af1d;if(_0x3ad8f3)return _0x231e68(_0x3ad8f3);if(_0x424373[_0x5ed744(0x14d)]){if(this[_0x5ed744(0x145)]+=_0x424373[_0x5ed744(0x14d)],this[_0x5ed744(0x145)]>this[_0x5ed744(0x1c5)]&&this['_maxPayload']>0x0){const _0x22bf70=this[_0x5ed744(0x24f)](RangeError,_0x5ed744(0x147),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x231e68(_0x22bf70);return;}this[_0x5ed744(0x299)][_0x5ed744(0x1a1)](_0x424373);}this[_0x5ed744(0x14c)](_0x231e68),this['_state']===_0x242f49&&this[_0x5ed744(0x27d)](_0x231e68);});}[_0x306fad(0x14c)](_0x17df76){const _0xe0d406=_0x306fad;if(!this['_fin']){this['_state']=_0x242f49;return;}const _0x1289ec=this[_0xe0d406(0x145)],_0x33f9c6=this[_0xe0d406(0x299)];if(this[_0xe0d406(0x17b)]=0x0,this['_messageLength']=0x0,this['_fragmented']=0x0,this['_fragments']=[],this[_0xe0d406(0xf7)]===0x2){let _0x3f0920;this[_0xe0d406(0x1b4)]===_0xe0d406(0x233)?_0x3f0920=_0x2e84cf(_0x33f9c6,_0x1289ec):this[_0xe0d406(0x1b4)]===_0xe0d406(0x201)?_0x3f0920=_0x108465(_0x2e84cf(_0x33f9c6,_0x1289ec)):this['_binaryType']==='blob'?_0x3f0920=new Blob(_0x33f9c6):_0x3f0920=_0x33f9c6,this[_0xe0d406(0x1d8)]?(this[_0xe0d406(0x28e)]('message',_0x3f0920,!0x0),this[_0xe0d406(0x21f)]=_0x242f49):(this[_0xe0d406(0x21f)]=_0x1d7780,setImmediate(()=>{const _0x1017af=_0xe0d406;this[_0x1017af(0x28e)](_0x1017af(0x1df),_0x3f0920,!0x0),this['_state']=_0x242f49,this['startLoop'](_0x17df76);}));}else{const _0x1a8cf5=_0x2e84cf(_0x33f9c6,_0x1289ec);if(!this[_0xe0d406(0x291)]&&!_0x121028(_0x1a8cf5)){const _0x4f2579=this[_0xe0d406(0x24f)](Error,_0xe0d406(0x217),!0x0,0x3ef,_0xe0d406(0x2af));_0x17df76(_0x4f2579);return;}this['_state']===_0x15d04e||this[_0xe0d406(0x1d8)]?(this[_0xe0d406(0x28e)](_0xe0d406(0x1df),_0x1a8cf5,!0x1),this[_0xe0d406(0x21f)]=_0x242f49):(this[_0xe0d406(0x21f)]=_0x1d7780,setImmediate(()=>{const _0x3e6f68=_0xe0d406;this[_0x3e6f68(0x28e)](_0x3e6f68(0x1df),_0x1a8cf5,!0x1),this['_state']=_0x242f49,this[_0x3e6f68(0x27d)](_0x17df76);}));}}[_0x306fad(0x119)](_0x5cfd66,_0x579f5e){const _0x4ba725=_0x306fad;if(this[_0x4ba725(0xf7)]===0x8){if(_0x5cfd66[_0x4ba725(0x14d)]===0x0)this[_0x4ba725(0x2ac)]=!0x1,this[_0x4ba725(0x28e)]('conclude',0x3ed,_0x2b263c),this[_0x4ba725(0x1dd)]();else{const _0x34a5ca=_0x5cfd66[_0x4ba725(0x280)](0x0);if(!_0x42016e(_0x34a5ca)){const _0x3e3145=this[_0x4ba725(0x24f)](RangeError,_0x4ba725(0x16c)+_0x34a5ca,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0x579f5e(_0x3e3145);return;}const _0x5bd6e5=new _0x534887(_0x5cfd66[_0x4ba725(0x27a)],_0x5cfd66[_0x4ba725(0x1a8)]+0x2,_0x5cfd66['length']-0x2);if(!this[_0x4ba725(0x291)]&&!_0x121028(_0x5bd6e5)){const _0x3951ae=this['createError'](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x579f5e(_0x3951ae);return;}this['_loop']=!0x1,this[_0x4ba725(0x28e)](_0x4ba725(0x295),_0x34a5ca,_0x5bd6e5),this['end']();}this[_0x4ba725(0x21f)]=_0x242f49;return;}this[_0x4ba725(0x1d8)]?(this[_0x4ba725(0x28e)](this[_0x4ba725(0xf7)]===0x9?_0x4ba725(0x1b2):_0x4ba725(0x12c),_0x5cfd66),this[_0x4ba725(0x21f)]=_0x242f49):(this[_0x4ba725(0x21f)]=_0x1d7780,setImmediate(()=>{const _0x5aeeec=_0x4ba725;this[_0x5aeeec(0x28e)](this['_opcode']===0x9?'ping':_0x5aeeec(0x12c),_0x5cfd66),this['_state']=_0x242f49,this['startLoop'](_0x579f5e);}));}[_0x306fad(0x24f)](_0x25dfb0,_0x39d2f6,_0x4a7202,_0x249e58,_0x1e5178){const _0x559316=_0x306fad;this['_loop']=!0x1,this[_0x559316(0x1f7)]=!0x0;const _0x1ceff0=new _0x25dfb0(_0x4a7202?_0x559316(0x185)+_0x39d2f6:_0x39d2f6);return Error[_0x559316(0x144)](_0x1ceff0,this[_0x559316(0x24f)]),_0x1ceff0[_0x559316(0x272)]=_0x1e5178,_0x1ceff0[_0x4f3a77]=_0x249e58,_0x1ceff0;}}return Se=_0x2d3c15,Se;}var Ee,Xe;function ft(){const _0x572f3c=_0x4dcda1;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x199b5b}=oe,{randomFillSync:_0x262d18}=Le,_0x2a1bbc=he(),{EMPTY_BUFFER:_0x1282e0,kWebSocket:_0x5bdeea,NOOP:_0x1e614a}=H(),{isBlob:_0x25c7a0,isValidStatusCode:_0x1c459c}=ae(),{mask:_0x3b1815,toBuffer:_0x28bd3a}=ce(),_0x1a0731=Symbol(_0x572f3c(0x1bf)),_0x47eee9=Buffer[_0x572f3c(0x230)](0x4),_0x225cb6=0x8*0x400;let _0x2b085d,_0x4df289=_0x225cb6;const _0x4d6b4e=0x0,_0x448f29=0x1,_0x4b5508=0x2;class _0x3de38e{constructor(_0x1bedb3,_0x52f7a6,_0x3abdde){const _0x586e47=_0x572f3c;this[_0x586e47(0x2a7)]=_0x52f7a6||{},_0x3abdde&&(this[_0x586e47(0x275)]=_0x3abdde,this[_0x586e47(0x19f)]=Buffer[_0x586e47(0x230)](0x4)),this[_0x586e47(0x286)]=_0x1bedb3,this[_0x586e47(0x255)]=!0x0,this[_0x586e47(0x10e)]=!0x1,this[_0x586e47(0x141)]=0x0,this[_0x586e47(0x1d9)]=[],this[_0x586e47(0x21f)]=_0x4d6b4e,this[_0x586e47(0x273)]=_0x1e614a,this[_0x5bdeea]=void 0x0;}static[_0x572f3c(0x14f)](_0x319101,_0x1068a8){const _0x416d2=_0x572f3c;let _0x3e8dcb,_0x2b1aaa=!0x1,_0x217951=0x2,_0x57c18e=!0x1;_0x1068a8[_0x416d2(0x100)]&&(_0x3e8dcb=_0x1068a8['maskBuffer']||_0x47eee9,_0x1068a8[_0x416d2(0x146)]?_0x1068a8[_0x416d2(0x146)](_0x3e8dcb):(_0x4df289===_0x225cb6&&(_0x2b085d===void 0x0&&(_0x2b085d=Buffer[_0x416d2(0x230)](_0x225cb6)),_0x262d18(_0x2b085d,0x0,_0x225cb6),_0x4df289=0x0),_0x3e8dcb[0x0]=_0x2b085d[_0x4df289++],_0x3e8dcb[0x1]=_0x2b085d[_0x4df289++],_0x3e8dcb[0x2]=_0x2b085d[_0x4df289++],_0x3e8dcb[0x3]=_0x2b085d[_0x4df289++]),_0x57c18e=(_0x3e8dcb[0x0]|_0x3e8dcb[0x1]|_0x3e8dcb[0x2]|_0x3e8dcb[0x3])===0x0,_0x217951=0x6);let _0x55b06e;typeof _0x319101==_0x416d2(0x287)?(!_0x1068a8['mask']||_0x57c18e)&&_0x1068a8[_0x1a0731]!==void 0x0?_0x55b06e=_0x1068a8[_0x1a0731]:(_0x319101=Buffer[_0x416d2(0x13f)](_0x319101),_0x55b06e=_0x319101[_0x416d2(0x14d)]):(_0x55b06e=_0x319101[_0x416d2(0x14d)],_0x2b1aaa=_0x1068a8['mask']&&_0x1068a8[_0x416d2(0x1cd)]&&!_0x57c18e);let _0x5c6636=_0x55b06e;_0x55b06e>=0x10000?(_0x217951+=0x8,_0x5c6636=0x7f):_0x55b06e>0x7d&&(_0x217951+=0x2,_0x5c6636=0x7e);const _0x1ee450=Buffer[_0x416d2(0x1c3)](_0x2b1aaa?_0x55b06e+_0x217951:_0x217951);return _0x1ee450[0x0]=_0x1068a8[_0x416d2(0x104)]?_0x1068a8[_0x416d2(0x114)]|0x80:_0x1068a8[_0x416d2(0x114)],_0x1068a8[_0x416d2(0x1e0)]&&(_0x1ee450[0x0]|=0x40),_0x1ee450[0x1]=_0x5c6636,_0x5c6636===0x7e?_0x1ee450['writeUInt16BE'](_0x55b06e,0x2):_0x5c6636===0x7f&&(_0x1ee450[0x2]=_0x1ee450[0x3]=0x0,_0x1ee450[_0x416d2(0x1d3)](_0x55b06e,0x4,0x6)),_0x1068a8[_0x416d2(0x100)]?(_0x1ee450[0x1]|=0x80,_0x1ee450[_0x217951-0x4]=_0x3e8dcb[0x0],_0x1ee450[_0x217951-0x3]=_0x3e8dcb[0x1],_0x1ee450[_0x217951-0x2]=_0x3e8dcb[0x2],_0x1ee450[_0x217951-0x1]=_0x3e8dcb[0x3],_0x57c18e?[_0x1ee450,_0x319101]:_0x2b1aaa?(_0x3b1815(_0x319101,_0x3e8dcb,_0x1ee450,_0x217951,_0x55b06e),[_0x1ee450]):(_0x3b1815(_0x319101,_0x3e8dcb,_0x319101,0x0,_0x55b06e),[_0x1ee450,_0x319101])):[_0x1ee450,_0x319101];}[_0x572f3c(0x107)](_0x3d20b4,_0x29c6dc,_0x2af0d9,_0x33e3e9){const _0x4decdb=_0x572f3c;let _0x387c0;if(_0x3d20b4===void 0x0)_0x387c0=_0x1282e0;else{if(typeof _0x3d20b4!='number'||!_0x1c459c(_0x3d20b4))throw new TypeError(_0x4decdb(0x193));if(_0x29c6dc===void 0x0||!_0x29c6dc[_0x4decdb(0x14d)])_0x387c0=Buffer[_0x4decdb(0x1c3)](0x2),_0x387c0[_0x4decdb(0x277)](_0x3d20b4,0x0);else{const _0x443c86=Buffer[_0x4decdb(0x10f)](_0x29c6dc);if(_0x443c86>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x387c0=Buffer[_0x4decdb(0x1c3)](0x2+_0x443c86),_0x387c0[_0x4decdb(0x277)](_0x3d20b4,0x0),typeof _0x29c6dc=='string'?_0x387c0[_0x4decdb(0x17a)](_0x29c6dc,0x2):_0x387c0['set'](_0x29c6dc,0x2);}}const _0x34952e={[_0x1a0731]:_0x387c0[_0x4decdb(0x14d)],'fin':!0x0,'generateMask':this[_0x4decdb(0x275)],'mask':_0x2af0d9,'maskBuffer':this[_0x4decdb(0x19f)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x4decdb(0x21f)]!==_0x4d6b4e?this[_0x4decdb(0x11d)]([this[_0x4decdb(0x131)],_0x387c0,!0x1,_0x34952e,_0x33e3e9]):this['sendFrame'](_0x3de38e[_0x4decdb(0x14f)](_0x387c0,_0x34952e),_0x33e3e9);}[_0x572f3c(0x1b2)](_0x518e2e,_0x3d34b5,_0x1d34ef){const _0x1e5eb0=_0x572f3c;let _0x4870d2,_0x5654f8;if(typeof _0x518e2e==_0x1e5eb0(0x287)?(_0x4870d2=Buffer[_0x1e5eb0(0x10f)](_0x518e2e),_0x5654f8=!0x1):_0x25c7a0(_0x518e2e)?(_0x4870d2=_0x518e2e[_0x1e5eb0(0x2a4)],_0x5654f8=!0x1):(_0x518e2e=_0x28bd3a(_0x518e2e),_0x4870d2=_0x518e2e['length'],_0x5654f8=_0x28bd3a[_0x1e5eb0(0x1cd)]),_0x4870d2>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x50250e={[_0x1a0731]:_0x4870d2,'fin':!0x0,'generateMask':this[_0x1e5eb0(0x275)],'mask':_0x3d34b5,'maskBuffer':this['_maskBuffer'],'opcode':0x9,'readOnly':_0x5654f8,'rsv1':!0x1};_0x25c7a0(_0x518e2e)?this[_0x1e5eb0(0x21f)]!==_0x4d6b4e?this['enqueue']([this[_0x1e5eb0(0x27c)],_0x518e2e,!0x1,_0x50250e,_0x1d34ef]):this[_0x1e5eb0(0x27c)](_0x518e2e,!0x1,_0x50250e,_0x1d34ef):this[_0x1e5eb0(0x21f)]!==_0x4d6b4e?this[_0x1e5eb0(0x11d)]([this[_0x1e5eb0(0x131)],_0x518e2e,!0x1,_0x50250e,_0x1d34ef]):this[_0x1e5eb0(0x12e)](_0x3de38e[_0x1e5eb0(0x14f)](_0x518e2e,_0x50250e),_0x1d34ef);}[_0x572f3c(0x12c)](_0x492b17,_0x21dd42,_0x2d8346){const _0x1149bc=_0x572f3c;let _0x3e83e3,_0x575a8f;if(typeof _0x492b17==_0x1149bc(0x287)?(_0x3e83e3=Buffer['byteLength'](_0x492b17),_0x575a8f=!0x1):_0x25c7a0(_0x492b17)?(_0x3e83e3=_0x492b17['size'],_0x575a8f=!0x1):(_0x492b17=_0x28bd3a(_0x492b17),_0x3e83e3=_0x492b17['length'],_0x575a8f=_0x28bd3a['readOnly']),_0x3e83e3>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x288f0d={[_0x1a0731]:_0x3e83e3,'fin':!0x0,'generateMask':this[_0x1149bc(0x275)],'mask':_0x21dd42,'maskBuffer':this[_0x1149bc(0x19f)],'opcode':0xa,'readOnly':_0x575a8f,'rsv1':!0x1};_0x25c7a0(_0x492b17)?this[_0x1149bc(0x21f)]!==_0x4d6b4e?this['enqueue']([this[_0x1149bc(0x27c)],_0x492b17,!0x1,_0x288f0d,_0x2d8346]):this[_0x1149bc(0x27c)](_0x492b17,!0x1,_0x288f0d,_0x2d8346):this[_0x1149bc(0x21f)]!==_0x4d6b4e?this[_0x1149bc(0x11d)]([this['dispatch'],_0x492b17,!0x1,_0x288f0d,_0x2d8346]):this[_0x1149bc(0x12e)](_0x3de38e[_0x1149bc(0x14f)](_0x492b17,_0x288f0d),_0x2d8346);}['send'](_0x611ab2,_0x104bf5,_0xfb5129){const _0x551b1e=_0x572f3c,_0x38c69a=this[_0x551b1e(0x2a7)][_0x2a1bbc[_0x551b1e(0x169)]];let _0x2962f2=_0x104bf5[_0x551b1e(0x1a6)]?0x2:0x1,_0x38578d=_0x104bf5[_0x551b1e(0x220)],_0x4437dc,_0xcba083;typeof _0x611ab2==_0x551b1e(0x287)?(_0x4437dc=Buffer[_0x551b1e(0x10f)](_0x611ab2),_0xcba083=!0x1):_0x25c7a0(_0x611ab2)?(_0x4437dc=_0x611ab2[_0x551b1e(0x2a4)],_0xcba083=!0x1):(_0x611ab2=_0x28bd3a(_0x611ab2),_0x4437dc=_0x611ab2[_0x551b1e(0x14d)],_0xcba083=_0x28bd3a['readOnly']),this[_0x551b1e(0x255)]?(this[_0x551b1e(0x255)]=!0x1,_0x38578d&&_0x38c69a&&_0x38c69a[_0x551b1e(0x159)][_0x38c69a['_isServer']?'server_no_context_takeover':_0x551b1e(0x1ce)]&&(_0x38578d=_0x4437dc>=_0x38c69a[_0x551b1e(0xfb)]),this[_0x551b1e(0x10e)]=_0x38578d):(_0x38578d=!0x1,_0x2962f2=0x0),_0x104bf5[_0x551b1e(0x104)]&&(this['_firstFragment']=!0x0);const _0x268b5a={[_0x1a0731]:_0x4437dc,'fin':_0x104bf5['fin'],'generateMask':this[_0x551b1e(0x275)],'mask':_0x104bf5['mask'],'maskBuffer':this[_0x551b1e(0x19f)],'opcode':_0x2962f2,'readOnly':_0xcba083,'rsv1':_0x38578d};_0x25c7a0(_0x611ab2)?this[_0x551b1e(0x21f)]!==_0x4d6b4e?this['enqueue']([this[_0x551b1e(0x27c)],_0x611ab2,this[_0x551b1e(0x10e)],_0x268b5a,_0xfb5129]):this[_0x551b1e(0x27c)](_0x611ab2,this['_compress'],_0x268b5a,_0xfb5129):this['_state']!==_0x4d6b4e?this['enqueue']([this['dispatch'],_0x611ab2,this[_0x551b1e(0x10e)],_0x268b5a,_0xfb5129]):this['dispatch'](_0x611ab2,this['_compress'],_0x268b5a,_0xfb5129);}[_0x572f3c(0x27c)](_0x5c1238,_0x518844,_0x185b07,_0x559ca3){const _0xb54c24=_0x572f3c;this[_0xb54c24(0x141)]+=_0x185b07[_0x1a0731],this[_0xb54c24(0x21f)]=_0x4b5508,_0x5c1238['arrayBuffer']()[_0xb54c24(0x1b5)](_0x1d65b0=>{const _0x526765=_0xb54c24;if(this[_0x526765(0x286)][_0x526765(0x2b0)]){const _0x539779=new Error(_0x526765(0x1a3));process['nextTick'](_0x129bbc,this,_0x539779,_0x559ca3);return;}this['_bufferedBytes']-=_0x185b07[_0x1a0731];const _0x55d23e=_0x28bd3a(_0x1d65b0);_0x518844?this['dispatch'](_0x55d23e,_0x518844,_0x185b07,_0x559ca3):(this[_0x526765(0x21f)]=_0x4d6b4e,this[_0x526765(0x12e)](_0x3de38e['frame'](_0x55d23e,_0x185b07),_0x559ca3),this[_0x526765(0x1c9)]());})['catch'](_0x3a7397=>{const _0x64cecc=_0xb54c24;process[_0x64cecc(0x134)](_0x5640a9,this,_0x3a7397,_0x559ca3);});}[_0x572f3c(0x131)](_0x56ff34,_0x4daaf0,_0x319f1e,_0x2786f0){const _0x3a7a88=_0x572f3c;if(!_0x4daaf0){this['sendFrame'](_0x3de38e['frame'](_0x56ff34,_0x319f1e),_0x2786f0);return;}const _0x111ae8=this[_0x3a7a88(0x2a7)][_0x2a1bbc[_0x3a7a88(0x169)]];this[_0x3a7a88(0x141)]+=_0x319f1e[_0x1a0731],this[_0x3a7a88(0x21f)]=_0x448f29,_0x111ae8[_0x3a7a88(0x220)](_0x56ff34,_0x319f1e[_0x3a7a88(0x104)],(_0x110099,_0x29e321)=>{const _0x56ba1b=_0x3a7a88;if(this[_0x56ba1b(0x286)]['destroyed']){const _0x3948c3=new Error(_0x56ba1b(0x221));_0x129bbc(this,_0x3948c3,_0x2786f0);return;}this[_0x56ba1b(0x141)]-=_0x319f1e[_0x1a0731],this[_0x56ba1b(0x21f)]=_0x4d6b4e,_0x319f1e[_0x56ba1b(0x1cd)]=!0x1,this[_0x56ba1b(0x12e)](_0x3de38e['frame'](_0x29e321,_0x319f1e),_0x2786f0),this[_0x56ba1b(0x1c9)]();});}[_0x572f3c(0x1c9)](){const _0x233332=_0x572f3c;for(;this[_0x233332(0x21f)]===_0x4d6b4e&&this['_queue'][_0x233332(0x14d)];){const _0x48b5ce=this[_0x233332(0x1d9)][_0x233332(0x235)]();this[_0x233332(0x141)]-=_0x48b5ce[0x3][_0x1a0731],Reflect[_0x233332(0x1e3)](_0x48b5ce[0x0],this,_0x48b5ce[_0x233332(0x137)](0x1));}}[_0x572f3c(0x11d)](_0x5cc3c8){const _0x2cbfbe=_0x572f3c;this[_0x2cbfbe(0x141)]+=_0x5cc3c8[0x3][_0x1a0731],this['_queue'][_0x2cbfbe(0x1a1)](_0x5cc3c8);}[_0x572f3c(0x12e)](_0xc40c8b,_0x56b273){const _0x38e945=_0x572f3c;_0xc40c8b[_0x38e945(0x14d)]===0x2?(this[_0x38e945(0x286)][_0x38e945(0x265)](),this[_0x38e945(0x286)][_0x38e945(0x17a)](_0xc40c8b[0x0]),this[_0x38e945(0x286)][_0x38e945(0x17a)](_0xc40c8b[0x1],_0x56b273),this[_0x38e945(0x286)]['uncork']()):this[_0x38e945(0x286)][_0x38e945(0x17a)](_0xc40c8b[0x0],_0x56b273);}}Ee=_0x3de38e;function _0x129bbc(_0x4c7ec4,_0x3d3c5d,_0x376638){const _0x2b276f=_0x572f3c;typeof _0x376638==_0x2b276f(0x257)&&_0x376638(_0x3d3c5d);for(let _0x236786=0x0;_0x236786<_0x4c7ec4['_queue']['length'];_0x236786++){const _0x483ffe=_0x4c7ec4[_0x2b276f(0x1d9)][_0x236786],_0x33fd27=_0x483ffe[_0x483ffe['length']-0x1];typeof _0x33fd27=='function'&&_0x33fd27(_0x3d3c5d);}}function _0x5640a9(_0x5782e5,_0x25fb16,_0xbd18c7){_0x129bbc(_0x5782e5,_0x25fb16,_0xbd18c7),_0x5782e5['onerror'](_0x25fb16);}return Ee;}var xe,Ze;function It(){const _0x514a1f=_0x4dcda1;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x5bd8dc,kListener:_0x553c7b}=H(),_0x35c8f6=Symbol('kCode'),_0x21e905=Symbol('kData'),_0x125b41=Symbol(_0x514a1f(0x298)),_0x29ed74=Symbol('kMessage'),_0xbcad58=Symbol(_0x514a1f(0x27b)),_0x45c5ed=Symbol(_0x514a1f(0x102)),_0x271835=Symbol(_0x514a1f(0x24b)),_0x1f8039=Symbol(_0x514a1f(0x168));class _0x114e40{constructor(_0xb6e3bb){this[_0x45c5ed]=null,this[_0x271835]=_0xb6e3bb;}get[_0x514a1f(0x13d)](){return this[_0x45c5ed];}get[_0x514a1f(0x13a)](){return this[_0x271835];}}Object[_0x514a1f(0xfc)](_0x114e40[_0x514a1f(0x1b8)],_0x514a1f(0x13d),{'enumerable':!0x0}),Object['defineProperty'](_0x114e40[_0x514a1f(0x1b8)],'type',{'enumerable':!0x0});class _0x52fd53 extends _0x114e40{constructor(_0x27ad20,_0x165f6e={}){const _0x5ef046=_0x514a1f;super(_0x27ad20),this[_0x35c8f6]=_0x165f6e[_0x5ef046(0x272)]===void 0x0?0x0:_0x165f6e[_0x5ef046(0x272)],this[_0xbcad58]=_0x165f6e[_0x5ef046(0x20b)]===void 0x0?'':_0x165f6e['reason'],this[_0x1f8039]=_0x165f6e[_0x5ef046(0x1e1)]===void 0x0?!0x1:_0x165f6e['wasClean'];}get[_0x514a1f(0x272)](){return this[_0x35c8f6];}get['reason'](){return this[_0xbcad58];}get['wasClean'](){return this[_0x1f8039];}}Object[_0x514a1f(0xfc)](_0x52fd53[_0x514a1f(0x1b8)],_0x514a1f(0x272),{'enumerable':!0x0}),Object[_0x514a1f(0xfc)](_0x52fd53[_0x514a1f(0x1b8)],_0x514a1f(0x20b),{'enumerable':!0x0}),Object[_0x514a1f(0xfc)](_0x52fd53[_0x514a1f(0x1b8)],'wasClean',{'enumerable':!0x0});class _0x1a9581 extends _0x114e40{constructor(_0xd01171,_0x29d5d8={}){const _0x577b90=_0x514a1f;super(_0xd01171),this[_0x125b41]=_0x29d5d8[_0x577b90(0x1ba)]===void 0x0?null:_0x29d5d8[_0x577b90(0x1ba)],this[_0x29ed74]=_0x29d5d8['message']===void 0x0?'':_0x29d5d8[_0x577b90(0x1df)];}get[_0x514a1f(0x1ba)](){return this[_0x125b41];}get[_0x514a1f(0x1df)](){return this[_0x29ed74];}}Object[_0x514a1f(0xfc)](_0x1a9581[_0x514a1f(0x1b8)],'error',{'enumerable':!0x0}),Object[_0x514a1f(0xfc)](_0x1a9581['prototype'],_0x514a1f(0x1df),{'enumerable':!0x0});class _0x5bcc19 extends _0x114e40{constructor(_0x56d731,_0x12930d={}){const _0x368ccd=_0x514a1f;super(_0x56d731),this[_0x21e905]=_0x12930d[_0x368ccd(0x2a0)]===void 0x0?null:_0x12930d[_0x368ccd(0x2a0)];}get[_0x514a1f(0x2a0)](){return this[_0x21e905];}}Object[_0x514a1f(0xfc)](_0x5bcc19[_0x514a1f(0x1b8)],_0x514a1f(0x2a0),{'enumerable':!0x0}),xe={'CloseEvent':_0x52fd53,'ErrorEvent':_0x1a9581,'Event':_0x114e40,'EventTarget':{'addEventListener'(_0x4d4043,_0x4f964b,_0x2f374c={}){const _0x238d48=_0x514a1f;for(const _0x255540 of this[_0x238d48(0x248)](_0x4d4043))if(!_0x2f374c[_0x5bd8dc]&&_0x255540[_0x553c7b]===_0x4f964b&&!_0x255540[_0x5bd8dc])return;let _0x2cbc65;if(_0x4d4043===_0x238d48(0x1df))_0x2cbc65=function(_0x23b5fd,_0x4349bf){const _0x8491b7=_0x238d48,_0x16d099=new _0x5bcc19('message',{'data':_0x4349bf?_0x23b5fd:_0x23b5fd[_0x8491b7(0x1a2)]()});_0x16d099[_0x45c5ed]=this,_0x2dac44(_0x4f964b,this,_0x16d099);};else{if(_0x4d4043===_0x238d48(0x107))_0x2cbc65=function(_0x8faf3,_0x401ed1){const _0x4c8a1=_0x238d48,_0x11f9f7=new _0x52fd53(_0x4c8a1(0x107),{'code':_0x8faf3,'reason':_0x401ed1[_0x4c8a1(0x1a2)](),'wasClean':this[_0x4c8a1(0x228)]&&this[_0x4c8a1(0x11f)]});_0x11f9f7[_0x45c5ed]=this,_0x2dac44(_0x4f964b,this,_0x11f9f7);};else{if(_0x4d4043==='error')_0x2cbc65=function(_0x22bbe5){const _0x231f6e=_0x238d48,_0x46af30=new _0x1a9581(_0x231f6e(0x1ba),{'error':_0x22bbe5,'message':_0x22bbe5['message']});_0x46af30[_0x45c5ed]=this,_0x2dac44(_0x4f964b,this,_0x46af30);};else{if(_0x4d4043===_0x238d48(0x20e))_0x2cbc65=function(){const _0x567b83=new _0x114e40('open');_0x567b83[_0x45c5ed]=this,_0x2dac44(_0x4f964b,this,_0x567b83);};else return;}}}_0x2cbc65[_0x5bd8dc]=!!_0x2f374c[_0x5bd8dc],_0x2cbc65[_0x553c7b]=_0x4f964b,_0x2f374c['once']?this[_0x238d48(0x13c)](_0x4d4043,_0x2cbc65):this['on'](_0x4d4043,_0x2cbc65);},'removeEventListener'(_0x1832f3,_0x22adc6){for(const _0x2222d6 of this['listeners'](_0x1832f3))if(_0x2222d6[_0x553c7b]===_0x22adc6&&!_0x2222d6[_0x5bd8dc]){this['removeListener'](_0x1832f3,_0x2222d6);break;}}},'MessageEvent':_0x5bcc19};function _0x2dac44(_0x54578f,_0x3a83b6,_0x14378c){const _0x3a036a=_0x514a1f;typeof _0x54578f==_0x3a036a(0x1ad)&&_0x54578f[_0x3a036a(0x103)]?_0x54578f[_0x3a036a(0x103)][_0x3a036a(0x116)](_0x54578f,_0x14378c):_0x54578f[_0x3a036a(0x116)](_0x3a83b6,_0x14378c);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x3a5355}=ae();function _0x6201a5(_0x226382,_0x163fd3,_0x2b635e){const _0x136101=_0x338f;_0x226382[_0x163fd3]===void 0x0?_0x226382[_0x163fd3]=[_0x2b635e]:_0x226382[_0x163fd3][_0x136101(0x1a1)](_0x2b635e);}function _0x27194c(_0x18fb19){const _0x228934=_0x338f,_0x5d04a2=Object[_0x228934(0x243)](null);let _0x5c651f=Object[_0x228934(0x243)](null),_0x3a13a0=!0x1,_0x5923ef=!0x1,_0x17d0c4=!0x1,_0x252994,_0x1adb40,_0x23f9c6=-0x1,_0x481c03=-0x1,_0x56081c=-0x1,_0x54dd1b=0x0;for(;_0x54dd1b<_0x18fb19['length'];_0x54dd1b++)if(_0x481c03=_0x18fb19[_0x228934(0x2a2)](_0x54dd1b),_0x252994===void 0x0){if(_0x56081c===-0x1&&_0x3a5355[_0x481c03]===0x1)_0x23f9c6===-0x1&&(_0x23f9c6=_0x54dd1b);else{if(_0x54dd1b!==0x0&&(_0x481c03===0x20||_0x481c03===0x9))_0x56081c===-0x1&&_0x23f9c6!==-0x1&&(_0x56081c=_0x54dd1b);else{if(_0x481c03===0x3b||_0x481c03===0x2c){if(_0x23f9c6===-0x1)throw new SyntaxError(_0x228934(0x1f0)+_0x54dd1b);_0x56081c===-0x1&&(_0x56081c=_0x54dd1b);const _0x35bdfe=_0x18fb19[_0x228934(0x137)](_0x23f9c6,_0x56081c);_0x481c03===0x2c?(_0x6201a5(_0x5d04a2,_0x35bdfe,_0x5c651f),_0x5c651f=Object['create'](null)):_0x252994=_0x35bdfe,_0x23f9c6=_0x56081c=-0x1;}else throw new SyntaxError(_0x228934(0x1f0)+_0x54dd1b);}}}else{if(_0x1adb40===void 0x0){if(_0x56081c===-0x1&&_0x3a5355[_0x481c03]===0x1)_0x23f9c6===-0x1&&(_0x23f9c6=_0x54dd1b);else{if(_0x481c03===0x20||_0x481c03===0x9)_0x56081c===-0x1&&_0x23f9c6!==-0x1&&(_0x56081c=_0x54dd1b);else{if(_0x481c03===0x3b||_0x481c03===0x2c){if(_0x23f9c6===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x54dd1b);_0x56081c===-0x1&&(_0x56081c=_0x54dd1b),_0x6201a5(_0x5c651f,_0x18fb19[_0x228934(0x137)](_0x23f9c6,_0x56081c),!0x0),_0x481c03===0x2c&&(_0x6201a5(_0x5d04a2,_0x252994,_0x5c651f),_0x5c651f=Object[_0x228934(0x243)](null),_0x252994=void 0x0),_0x23f9c6=_0x56081c=-0x1;}else{if(_0x481c03===0x3d&&_0x23f9c6!==-0x1&&_0x56081c===-0x1)_0x1adb40=_0x18fb19[_0x228934(0x137)](_0x23f9c6,_0x54dd1b),_0x23f9c6=_0x56081c=-0x1;else throw new SyntaxError(_0x228934(0x1f0)+_0x54dd1b);}}}}else{if(_0x5923ef){if(_0x3a5355[_0x481c03]!==0x1)throw new SyntaxError(_0x228934(0x1f0)+_0x54dd1b);_0x23f9c6===-0x1?_0x23f9c6=_0x54dd1b:_0x3a13a0||(_0x3a13a0=!0x0),_0x5923ef=!0x1;}else{if(_0x17d0c4){if(_0x3a5355[_0x481c03]===0x1)_0x23f9c6===-0x1&&(_0x23f9c6=_0x54dd1b);else{if(_0x481c03===0x22&&_0x23f9c6!==-0x1)_0x17d0c4=!0x1,_0x56081c=_0x54dd1b;else{if(_0x481c03===0x5c)_0x5923ef=!0x0;else throw new SyntaxError(_0x228934(0x1f0)+_0x54dd1b);}}}else{if(_0x481c03===0x22&&_0x18fb19['charCodeAt'](_0x54dd1b-0x1)===0x3d)_0x17d0c4=!0x0;else{if(_0x56081c===-0x1&&_0x3a5355[_0x481c03]===0x1)_0x23f9c6===-0x1&&(_0x23f9c6=_0x54dd1b);else{if(_0x23f9c6!==-0x1&&(_0x481c03===0x20||_0x481c03===0x9))_0x56081c===-0x1&&(_0x56081c=_0x54dd1b);else{if(_0x481c03===0x3b||_0x481c03===0x2c){if(_0x23f9c6===-0x1)throw new SyntaxError(_0x228934(0x1f0)+_0x54dd1b);_0x56081c===-0x1&&(_0x56081c=_0x54dd1b);let _0x58b910=_0x18fb19[_0x228934(0x137)](_0x23f9c6,_0x56081c);_0x3a13a0&&(_0x58b910=_0x58b910[_0x228934(0x154)](/\\/g,''),_0x3a13a0=!0x1),_0x6201a5(_0x5c651f,_0x1adb40,_0x58b910),_0x481c03===0x2c&&(_0x6201a5(_0x5d04a2,_0x252994,_0x5c651f),_0x5c651f=Object[_0x228934(0x243)](null),_0x252994=void 0x0),_0x1adb40=void 0x0,_0x23f9c6=_0x56081c=-0x1;}else throw new SyntaxError(_0x228934(0x1f0)+_0x54dd1b);}}}}}}}if(_0x23f9c6===-0x1||_0x17d0c4||_0x481c03===0x20||_0x481c03===0x9)throw new SyntaxError('Unexpected\x20end\x20of\x20input');_0x56081c===-0x1&&(_0x56081c=_0x54dd1b);const _0x5904b8=_0x18fb19[_0x228934(0x137)](_0x23f9c6,_0x56081c);return _0x252994===void 0x0?_0x6201a5(_0x5d04a2,_0x5904b8,_0x5c651f):(_0x1adb40===void 0x0?_0x6201a5(_0x5c651f,_0x5904b8,!0x0):_0x3a13a0?_0x6201a5(_0x5c651f,_0x1adb40,_0x5904b8[_0x228934(0x154)](/\\/g,'')):_0x6201a5(_0x5c651f,_0x1adb40,_0x5904b8),_0x6201a5(_0x5d04a2,_0x252994,_0x5c651f)),_0x5d04a2;}function _0x3de580(_0x4eb3d3){const _0x4b3f8d=_0x338f;return Object['keys'](_0x4eb3d3)[_0x4b3f8d(0x26d)](_0x40a00f=>{const _0x2f4c9e=_0x4b3f8d;let _0x3863ac=_0x4eb3d3[_0x40a00f];return Array[_0x2f4c9e(0x12f)](_0x3863ac)||(_0x3863ac=[_0x3863ac]),_0x3863ac['map'](_0x2c6de0=>[_0x40a00f][_0x2f4c9e(0x179)](Object[_0x2f4c9e(0x251)](_0x2c6de0)['map'](_0x491de8=>{const _0x15d976=_0x2f4c9e;let _0xc6ff06=_0x2c6de0[_0x491de8];return Array[_0x15d976(0x12f)](_0xc6ff06)||(_0xc6ff06=[_0xc6ff06]),_0xc6ff06[_0x15d976(0x26d)](_0x253726=>_0x253726===!0x0?_0x491de8:_0x491de8+'='+_0x253726)[_0x15d976(0x245)](';\x20');}))[_0x2f4c9e(0x245)](';\x20'))[_0x2f4c9e(0x245)](',\x20');})[_0x4b3f8d(0x245)](',\x20');}return be={'format':_0x3de580,'parse':_0x27194c},be;}var we,Je;function Pe(){const _0x3cbfcd=_0x4dcda1;if(Je)return we;Je=0x1;const _0x85fbf5=nt,_0x56ca78=vt,_0x7c4f0b=ot,_0x329cbf=St,_0x2efa4f=Et,{randomBytes:_0x5daf11,createHash:_0x1edbfb}=Le,{Duplex:_0x4ba371,Readable:_0x13a91f}=oe,{URL:_0x11cf58}=xt,_0x11c23a=he(),_0x2cddbc=lt(),_0x529774=ft(),{isBlob:_0xd8bbdb}=ae(),{BINARY_TYPES:_0x6075e5,EMPTY_BUFFER:_0x14ea2b,GUID:_0xa0335e,kForOnEventAttribute:_0x49e526,kListener:_0x691e63,kStatusCode:_0x1f6499,kWebSocket:_0x7622cf,NOOP:_0x3dee41}=H(),{EventTarget:{addEventListener:_0x21a467,removeEventListener:_0x5e53c7}}=It(),{format:_0x4bfc4d,parse:_0x371583}=ct(),{toBuffer:_0x593e2c}=ce(),_0x2d563c=0x1e*0x3e8,_0x561046=Symbol('kAborted'),_0x553c09=[0x8,0xd],_0x2379f3=[_0x3cbfcd(0x187),_0x3cbfcd(0x1dc),_0x3cbfcd(0x29c),'CLOSED'],_0x1c53ca=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0xf90ff8 extends _0x85fbf5{constructor(_0x5be82e,_0x3c8720,_0x574a2a){const _0x451721=_0x3cbfcd;super(),this[_0x451721(0x1b4)]=_0x6075e5[0x0],this[_0x451721(0x2a1)]=0x3ee,this[_0x451721(0x228)]=!0x1,this[_0x451721(0x11f)]=!0x1,this[_0x451721(0x17f)]=_0x14ea2b,this['_closeTimer']=null,this['_errorEmitted']=!0x1,this[_0x451721(0x2a7)]={},this[_0x451721(0x213)]=!0x1,this[_0x451721(0x2a8)]='',this[_0x451721(0x219)]=_0xf90ff8['CONNECTING'],this[_0x451721(0x202)]=null,this[_0x451721(0x20f)]=null,this[_0x451721(0x286)]=null,_0x5be82e!==null?(this[_0x451721(0x190)]=0x0,this[_0x451721(0x198)]=!0x1,this[_0x451721(0x264)]=0x0,_0x3c8720===void 0x0?_0x3c8720=[]:Array['isArray'](_0x3c8720)||(typeof _0x3c8720=='object'&&_0x3c8720!==null?(_0x574a2a=_0x3c8720,_0x3c8720=[]):_0x3c8720=[_0x3c8720]),_0x24b62a(this,_0x5be82e,_0x3c8720,_0x574a2a)):(this[_0x451721(0x1b6)]=_0x574a2a['autoPong'],this['_isServer']=!0x0);}get[_0x3cbfcd(0x135)](){return this['_binaryType'];}set[_0x3cbfcd(0x135)](_0x5b4bf3){const _0x5517c9=_0x3cbfcd;_0x6075e5[_0x5517c9(0x1b9)](_0x5b4bf3)&&(this['_binaryType']=_0x5b4bf3,this['_receiver']&&(this['_receiver'][_0x5517c9(0x1b4)]=_0x5b4bf3));}get[_0x3cbfcd(0x1c7)](){const _0x2d1acb=_0x3cbfcd;return this[_0x2d1acb(0x286)]?this[_0x2d1acb(0x286)][_0x2d1acb(0x271)]['length']+this['_sender']['_bufferedBytes']:this[_0x2d1acb(0x190)];}get['extensions'](){const _0x546ac4=_0x3cbfcd;return Object['keys'](this[_0x546ac4(0x2a7)])[_0x546ac4(0x245)]();}get['isPaused'](){const _0x41dc7a=_0x3cbfcd;return this[_0x41dc7a(0x213)];}get[_0x3cbfcd(0x293)](){return null;}get['onerror'](){return null;}get[_0x3cbfcd(0x13e)](){return null;}get[_0x3cbfcd(0x23b)](){return null;}get['protocol'](){const _0x1128c2=_0x3cbfcd;return this[_0x1128c2(0x2a8)];}get['readyState'](){const _0x3e77b1=_0x3cbfcd;return this[_0x3e77b1(0x219)];}get[_0x3cbfcd(0x239)](){const _0x26f373=_0x3cbfcd;return this[_0x26f373(0x260)];}['setSocket'](_0x459fe2,_0x17076a,_0x8b4122){const _0x4e5ebd=_0x3cbfcd,_0x33a730=new _0x2cddbc({'allowSynchronousEvents':_0x8b4122[_0x4e5ebd(0x212)],'binaryType':this[_0x4e5ebd(0x135)],'extensions':this[_0x4e5ebd(0x2a7)],'isServer':this['_isServer'],'maxPayload':_0x8b4122[_0x4e5ebd(0x163)],'skipUTF8Validation':_0x8b4122['skipUTF8Validation']}),_0x1280d7=new _0x529774(_0x459fe2,this[_0x4e5ebd(0x2a7)],_0x8b4122[_0x4e5ebd(0x146)]);this['_receiver']=_0x33a730,this[_0x4e5ebd(0x20f)]=_0x1280d7,this[_0x4e5ebd(0x286)]=_0x459fe2,_0x33a730[_0x7622cf]=this,_0x1280d7[_0x7622cf]=this,_0x459fe2[_0x7622cf]=this,_0x33a730['on']('conclude',_0x400e5a),_0x33a730['on'](_0x4e5ebd(0x200),_0x1f8113),_0x33a730['on'](_0x4e5ebd(0x1ba),_0x32ba8e),_0x33a730['on']('message',_0x32f463),_0x33a730['on'](_0x4e5ebd(0x1b2),_0x267da3),_0x33a730['on'](_0x4e5ebd(0x12c),_0x59e7b2),_0x1280d7[_0x4e5ebd(0x273)]=_0x4cff81,_0x459fe2[_0x4e5ebd(0x218)]&&_0x459fe2[_0x4e5ebd(0x218)](0x0),_0x459fe2['setNoDelay']&&_0x459fe2[_0x4e5ebd(0x182)](),_0x17076a[_0x4e5ebd(0x14d)]>0x0&&_0x459fe2[_0x4e5ebd(0x23f)](_0x17076a),_0x459fe2['on'](_0x4e5ebd(0x107),_0x1a34cd),_0x459fe2['on'](_0x4e5ebd(0x2a0),_0x473713),_0x459fe2['on'](_0x4e5ebd(0x1dd),_0x2dd12a),_0x459fe2['on']('error',_0xc67a19),this['_readyState']=_0xf90ff8[_0x4e5ebd(0x1dc)],this['emit'](_0x4e5ebd(0x20e));}[_0x3cbfcd(0x284)](){const _0x215860=_0x3cbfcd;if(!this[_0x215860(0x286)]){this['_readyState']=_0xf90ff8[_0x215860(0x290)],this[_0x215860(0x28e)](_0x215860(0x107),this[_0x215860(0x2a1)],this[_0x215860(0x17f)]);return;}this[_0x215860(0x2a7)][_0x11c23a[_0x215860(0x169)]]&&this[_0x215860(0x2a7)][_0x11c23a[_0x215860(0x169)]][_0x215860(0x1a4)](),this[_0x215860(0x202)]['removeAllListeners'](),this[_0x215860(0x219)]=_0xf90ff8[_0x215860(0x290)],this[_0x215860(0x28e)](_0x215860(0x107),this[_0x215860(0x2a1)],this[_0x215860(0x17f)]);}['close'](_0x32b4a7,_0x18b7b9){const _0x361e23=_0x3cbfcd;if(this['readyState']!==_0xf90ff8[_0x361e23(0x290)]){if(this[_0x361e23(0x1b3)]===_0xf90ff8[_0x361e23(0x187)]){_0x3c6ec8(this,this[_0x361e23(0x1cb)],_0x361e23(0x123));return;}if(this[_0x361e23(0x1b3)]===_0xf90ff8[_0x361e23(0x29c)]){this[_0x361e23(0x11f)]&&(this[_0x361e23(0x228)]||this[_0x361e23(0x202)][_0x361e23(0x271)][_0x361e23(0x108)])&&this['_socket']['end']();return;}this[_0x361e23(0x219)]=_0xf90ff8[_0x361e23(0x29c)],this[_0x361e23(0x20f)][_0x361e23(0x107)](_0x32b4a7,_0x18b7b9,!this['_isServer'],_0xcc538f=>{const _0x3138a4=_0x361e23;_0xcc538f||(this['_closeFrameSent']=!0x0,(this['_closeFrameReceived']||this[_0x3138a4(0x202)][_0x3138a4(0x271)][_0x3138a4(0x108)])&&this[_0x3138a4(0x286)][_0x3138a4(0x1dd)]());}),_0x470333(this);}}[_0x3cbfcd(0xf4)](){const _0x34f317=_0x3cbfcd;this[_0x34f317(0x1b3)]===_0xf90ff8[_0x34f317(0x187)]||this[_0x34f317(0x1b3)]===_0xf90ff8[_0x34f317(0x290)]||(this[_0x34f317(0x213)]=!0x0,this['_socket'][_0x34f317(0xf4)]());}[_0x3cbfcd(0x1b2)](_0x3e0817,_0x31e765,_0x11c5a9){const _0x380eeb=_0x3cbfcd;if(this[_0x380eeb(0x1b3)]===_0xf90ff8[_0x380eeb(0x187)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x3e0817=='function'?(_0x11c5a9=_0x3e0817,_0x3e0817=_0x31e765=void 0x0):typeof _0x31e765=='function'&&(_0x11c5a9=_0x31e765,_0x31e765=void 0x0),typeof _0x3e0817=='number'&&(_0x3e0817=_0x3e0817[_0x380eeb(0x1a2)]()),this[_0x380eeb(0x1b3)]!==_0xf90ff8[_0x380eeb(0x1dc)]){_0x6e0c7d(this,_0x3e0817,_0x11c5a9);return;}_0x31e765===void 0x0&&(_0x31e765=!this[_0x380eeb(0x198)]),this[_0x380eeb(0x20f)][_0x380eeb(0x1b2)](_0x3e0817||_0x14ea2b,_0x31e765,_0x11c5a9);}[_0x3cbfcd(0x12c)](_0x599100,_0x5d25c1,_0x25c405){const _0x5159ca=_0x3cbfcd;if(this['readyState']===_0xf90ff8[_0x5159ca(0x187)])throw new Error(_0x5159ca(0x1d6));if(typeof _0x599100==_0x5159ca(0x257)?(_0x25c405=_0x599100,_0x599100=_0x5d25c1=void 0x0):typeof _0x5d25c1==_0x5159ca(0x257)&&(_0x25c405=_0x5d25c1,_0x5d25c1=void 0x0),typeof _0x599100==_0x5159ca(0x15f)&&(_0x599100=_0x599100[_0x5159ca(0x1a2)]()),this['readyState']!==_0xf90ff8[_0x5159ca(0x1dc)]){_0x6e0c7d(this,_0x599100,_0x25c405);return;}_0x5d25c1===void 0x0&&(_0x5d25c1=!this[_0x5159ca(0x198)]),this[_0x5159ca(0x20f)][_0x5159ca(0x12c)](_0x599100||_0x14ea2b,_0x5d25c1,_0x25c405);}[_0x3cbfcd(0x19b)](){const _0x2f89da=_0x3cbfcd;this[_0x2f89da(0x1b3)]===_0xf90ff8[_0x2f89da(0x187)]||this[_0x2f89da(0x1b3)]===_0xf90ff8[_0x2f89da(0x290)]||(this[_0x2f89da(0x213)]=!0x1,this[_0x2f89da(0x202)]['_writableState']['needDrain']||this[_0x2f89da(0x286)]['resume']());}['send'](_0x5eac64,_0x36a704,_0x2476bf){const _0x56a657=_0x3cbfcd;if(this[_0x56a657(0x1b3)]===_0xf90ff8[_0x56a657(0x187)])throw new Error(_0x56a657(0x1d6));if(typeof _0x36a704==_0x56a657(0x257)&&(_0x2476bf=_0x36a704,_0x36a704={}),typeof _0x5eac64==_0x56a657(0x15f)&&(_0x5eac64=_0x5eac64[_0x56a657(0x1a2)]()),this[_0x56a657(0x1b3)]!==_0xf90ff8[_0x56a657(0x1dc)]){_0x6e0c7d(this,_0x5eac64,_0x2476bf);return;}const _0x42734c={'binary':typeof _0x5eac64!='string','mask':!this[_0x56a657(0x198)],'compress':!0x0,'fin':!0x0,..._0x36a704};this[_0x56a657(0x2a7)][_0x11c23a['extensionName']]||(_0x42734c[_0x56a657(0x220)]=!0x1),this['_sender']['send'](_0x5eac64||_0x14ea2b,_0x42734c,_0x2476bf);}['terminate'](){const _0x7bb187=_0x3cbfcd;if(this[_0x7bb187(0x1b3)]!==_0xf90ff8['CLOSED']){if(this[_0x7bb187(0x1b3)]===_0xf90ff8['CONNECTING']){_0x3c6ec8(this,this['_req'],_0x7bb187(0x123));return;}this[_0x7bb187(0x286)]&&(this[_0x7bb187(0x219)]=_0xf90ff8['CLOSING'],this['_socket'][_0x7bb187(0x173)]());}}}Object[_0x3cbfcd(0xfc)](_0xf90ff8,_0x3cbfcd(0x187),{'enumerable':!0x0,'value':_0x2379f3['indexOf']('CONNECTING')}),Object[_0x3cbfcd(0xfc)](_0xf90ff8['prototype'],_0x3cbfcd(0x187),{'enumerable':!0x0,'value':_0x2379f3[_0x3cbfcd(0x111)](_0x3cbfcd(0x187))}),Object[_0x3cbfcd(0xfc)](_0xf90ff8,_0x3cbfcd(0x1dc),{'enumerable':!0x0,'value':_0x2379f3['indexOf']('OPEN')}),Object[_0x3cbfcd(0xfc)](_0xf90ff8[_0x3cbfcd(0x1b8)],_0x3cbfcd(0x1dc),{'enumerable':!0x0,'value':_0x2379f3['indexOf'](_0x3cbfcd(0x1dc))}),Object[_0x3cbfcd(0xfc)](_0xf90ff8,_0x3cbfcd(0x29c),{'enumerable':!0x0,'value':_0x2379f3['indexOf'](_0x3cbfcd(0x29c))}),Object[_0x3cbfcd(0xfc)](_0xf90ff8[_0x3cbfcd(0x1b8)],_0x3cbfcd(0x29c),{'enumerable':!0x0,'value':_0x2379f3['indexOf'](_0x3cbfcd(0x29c))}),Object['defineProperty'](_0xf90ff8,_0x3cbfcd(0x290),{'enumerable':!0x0,'value':_0x2379f3[_0x3cbfcd(0x111)](_0x3cbfcd(0x290))}),Object['defineProperty'](_0xf90ff8[_0x3cbfcd(0x1b8)],'CLOSED',{'enumerable':!0x0,'value':_0x2379f3[_0x3cbfcd(0x111)](_0x3cbfcd(0x290))}),[_0x3cbfcd(0x135),'bufferedAmount',_0x3cbfcd(0x27e),_0x3cbfcd(0x186),_0x3cbfcd(0xf9),_0x3cbfcd(0x1b3),_0x3cbfcd(0x239)][_0x3cbfcd(0x292)](_0x2694dc=>{const _0x58a7ea=_0x3cbfcd;Object[_0x58a7ea(0xfc)](_0xf90ff8[_0x58a7ea(0x1b8)],_0x2694dc,{'enumerable':!0x0});}),[_0x3cbfcd(0x20e),_0x3cbfcd(0x1ba),_0x3cbfcd(0x107),'message']['forEach'](_0x59b6d4=>{const _0x20edbd=_0x3cbfcd;Object[_0x20edbd(0xfc)](_0xf90ff8['prototype'],'on'+_0x59b6d4,{'enumerable':!0x0,'get'(){const _0x3ec532=_0x20edbd;for(const _0x3e7bd7 of this[_0x3ec532(0x248)](_0x59b6d4))if(_0x3e7bd7[_0x49e526])return _0x3e7bd7[_0x691e63];return null;},'set'(_0x4aa19a){const _0x2dee1c=_0x20edbd;for(const _0x56b05a of this[_0x2dee1c(0x248)](_0x59b6d4))if(_0x56b05a[_0x49e526]){this['removeListener'](_0x59b6d4,_0x56b05a);break;}typeof _0x4aa19a==_0x2dee1c(0x257)&&this[_0x2dee1c(0x11a)](_0x59b6d4,_0x4aa19a,{[_0x49e526]:!0x0});}});}),_0xf90ff8['prototype']['addEventListener']=_0x21a467,_0xf90ff8['prototype'][_0x3cbfcd(0x125)]=_0x5e53c7,we=_0xf90ff8;function _0x24b62a(_0x3338b3,_0x596349,_0x9f4667,_0x24e304){const _0x4b4d32=_0x3cbfcd,_0x2851ff={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x553c09[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x24e304,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x4b4d32(0x17e),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x3338b3[_0x4b4d32(0x1b6)]=_0x2851ff[_0x4b4d32(0x26e)],!_0x553c09[_0x4b4d32(0x1b9)](_0x2851ff[_0x4b4d32(0x1aa)]))throw new RangeError('Unsupported\x20protocol\x20version:\x20'+_0x2851ff['protocolVersion']+'\x20(supported\x20versions:\x20'+_0x553c09['join'](',\x20')+')');let _0x43aa68;if(_0x596349 instanceof _0x11cf58)_0x43aa68=_0x596349;else try{_0x43aa68=new _0x11cf58(_0x596349);}catch{throw new SyntaxError(_0x4b4d32(0x16a)+_0x596349);}_0x43aa68[_0x4b4d32(0xf9)]===_0x4b4d32(0x29f)?_0x43aa68[_0x4b4d32(0xf9)]=_0x4b4d32(0x129):_0x43aa68[_0x4b4d32(0xf9)]===_0x4b4d32(0x2a5)&&(_0x43aa68[_0x4b4d32(0xf9)]='wss:'),_0x3338b3[_0x4b4d32(0x260)]=_0x43aa68[_0x4b4d32(0x12b)];const _0x4aaf3c=_0x43aa68[_0x4b4d32(0xf9)]===_0x4b4d32(0x109),_0x2751b7=_0x43aa68[_0x4b4d32(0xf9)]===_0x4b4d32(0x268);let _0x5b7c76;if(_0x43aa68[_0x4b4d32(0xf9)]!==_0x4b4d32(0x129)&&!_0x4aaf3c&&!_0x2751b7?_0x5b7c76=_0x4b4d32(0xfa):_0x2751b7&&!_0x43aa68['pathname']?_0x5b7c76=_0x4b4d32(0x165):_0x43aa68[_0x4b4d32(0x1a5)]&&(_0x5b7c76=_0x4b4d32(0x156)),_0x5b7c76){const _0x3e564e=new SyntaxError(_0x5b7c76);if(_0x3338b3[_0x4b4d32(0x264)]===0x0)throw _0x3e564e;_0x3e1905(_0x3338b3,_0x3e564e);return;}const _0x50f4e5=_0x4aaf3c?0x1bb:0x50,_0x5e04cf=_0x5daf11(0x10)[_0x4b4d32(0x1a2)](_0x4b4d32(0x189)),_0x2adb29=_0x4aaf3c?_0x56ca78[_0x4b4d32(0x1ac)]:_0x7c4f0b[_0x4b4d32(0x1ac)],_0xac144a=new Set();let _0x21f1e7;if(_0x2851ff[_0x4b4d32(0x20a)]=_0x2851ff[_0x4b4d32(0x20a)]||(_0x4aaf3c?_0x59d145:_0x5e469b),_0x2851ff[_0x4b4d32(0x215)]=_0x2851ff[_0x4b4d32(0x215)]||_0x50f4e5,_0x2851ff[_0x4b4d32(0x1fe)]=_0x43aa68[_0x4b4d32(0x1fe)]||_0x50f4e5,_0x2851ff[_0x4b4d32(0x25a)]=_0x43aa68[_0x4b4d32(0xef)][_0x4b4d32(0x150)]('[')?_0x43aa68[_0x4b4d32(0xef)]['slice'](0x1,-0x1):_0x43aa68[_0x4b4d32(0xef)],_0x2851ff[_0x4b4d32(0x1f4)]={..._0x2851ff[_0x4b4d32(0x1f4)],'Sec-WebSocket-Version':_0x2851ff[_0x4b4d32(0x1aa)],'Sec-WebSocket-Key':_0x5e04cf,'Connection':'Upgrade','Upgrade':_0x4b4d32(0xf6)},_0x2851ff[_0x4b4d32(0x266)]=_0x43aa68['pathname']+_0x43aa68[_0x4b4d32(0x1fb)],_0x2851ff[_0x4b4d32(0x28b)]=_0x2851ff[_0x4b4d32(0x263)],_0x2851ff['perMessageDeflate']&&(_0x21f1e7=new _0x11c23a(_0x2851ff[_0x4b4d32(0x253)]!==!0x0?_0x2851ff['perMessageDeflate']:{},!0x1,_0x2851ff['maxPayload']),_0x2851ff[_0x4b4d32(0x1f4)][_0x4b4d32(0x238)]=_0x4bfc4d({[_0x11c23a[_0x4b4d32(0x169)]]:_0x21f1e7[_0x4b4d32(0x1c6)]()})),_0x9f4667['length']){for(const _0x7995fe of _0x9f4667){if(typeof _0x7995fe!=_0x4b4d32(0x287)||!_0x1c53ca['test'](_0x7995fe)||_0xac144a[_0x4b4d32(0x181)](_0x7995fe))throw new SyntaxError(_0x4b4d32(0x192));_0xac144a[_0x4b4d32(0x172)](_0x7995fe);}_0x2851ff['headers']['Sec-WebSocket-Protocol']=_0x9f4667[_0x4b4d32(0x245)](',');}if(_0x2851ff[_0x4b4d32(0x157)]&&(_0x2851ff[_0x4b4d32(0x1aa)]<0xd?_0x2851ff['headers'][_0x4b4d32(0x178)]=_0x2851ff[_0x4b4d32(0x157)]:_0x2851ff[_0x4b4d32(0x1f4)][_0x4b4d32(0x216)]=_0x2851ff[_0x4b4d32(0x157)]),(_0x43aa68['username']||_0x43aa68[_0x4b4d32(0x16d)])&&(_0x2851ff[_0x4b4d32(0x127)]=_0x43aa68[_0x4b4d32(0x26f)]+':'+_0x43aa68[_0x4b4d32(0x16d)]),_0x2751b7){const _0x276b1a=_0x2851ff['path'][_0x4b4d32(0x1c2)](':');_0x2851ff[_0x4b4d32(0x1f6)]=_0x276b1a[0x0],_0x2851ff[_0x4b4d32(0x266)]=_0x276b1a[0x1];}let _0x2b7cbf;if(_0x2851ff['followRedirects']){if(_0x3338b3['_redirects']===0x0){_0x3338b3[_0x4b4d32(0x210)]=_0x2751b7,_0x3338b3[_0x4b4d32(0x270)]=_0x4aaf3c,_0x3338b3[_0x4b4d32(0x16e)]=_0x2751b7?_0x2851ff[_0x4b4d32(0x1f6)]:_0x43aa68[_0x4b4d32(0x25a)];const _0x58ebb4=_0x24e304&&_0x24e304['headers'];if(_0x24e304={..._0x24e304,'headers':{}},_0x58ebb4){for(const [_0xceb8e6,_0x52b6cc]of Object[_0x4b4d32(0x1cf)](_0x58ebb4))_0x24e304[_0x4b4d32(0x1f4)][_0xceb8e6['toLowerCase']()]=_0x52b6cc;}}else{if(_0x3338b3[_0x4b4d32(0x1ff)]('redirect')===0x0){const _0x54db3d=_0x2751b7?_0x3338b3[_0x4b4d32(0x210)]?_0x2851ff[_0x4b4d32(0x1f6)]===_0x3338b3['_originalHostOrSocketPath']:!0x1:_0x3338b3[_0x4b4d32(0x210)]?!0x1:_0x43aa68[_0x4b4d32(0x25a)]===_0x3338b3[_0x4b4d32(0x16e)];(!_0x54db3d||_0x3338b3[_0x4b4d32(0x270)]&&!_0x4aaf3c)&&(delete _0x2851ff[_0x4b4d32(0x1f4)][_0x4b4d32(0x28f)],delete _0x2851ff[_0x4b4d32(0x1f4)]['cookie'],_0x54db3d||delete _0x2851ff[_0x4b4d32(0x1f4)][_0x4b4d32(0x25a)],_0x2851ff[_0x4b4d32(0x127)]=void 0x0);}}_0x2851ff[_0x4b4d32(0x127)]&&!_0x24e304[_0x4b4d32(0x1f4)][_0x4b4d32(0x28f)]&&(_0x24e304[_0x4b4d32(0x1f4)][_0x4b4d32(0x28f)]=_0x4b4d32(0x2a6)+Buffer[_0x4b4d32(0x13f)](_0x2851ff[_0x4b4d32(0x127)])[_0x4b4d32(0x1a2)](_0x4b4d32(0x189))),_0x2b7cbf=_0x3338b3[_0x4b4d32(0x1cb)]=_0x2adb29(_0x2851ff),_0x3338b3[_0x4b4d32(0x264)]&&_0x3338b3[_0x4b4d32(0x28e)](_0x4b4d32(0x1a0),_0x3338b3['url'],_0x2b7cbf);}else _0x2b7cbf=_0x3338b3[_0x4b4d32(0x1cb)]=_0x2adb29(_0x2851ff);_0x2851ff[_0x4b4d32(0x28b)]&&_0x2b7cbf['on'](_0x4b4d32(0x28b),()=>{const _0x561af5=_0x4b4d32;_0x3c6ec8(_0x3338b3,_0x2b7cbf,_0x561af5(0x14a));}),_0x2b7cbf['on']('error',_0x20afdb=>{const _0x3c8e55=_0x4b4d32;_0x2b7cbf===null||_0x2b7cbf[_0x561046]||(_0x2b7cbf=_0x3338b3[_0x3c8e55(0x1cb)]=null,_0x3e1905(_0x3338b3,_0x20afdb));}),_0x2b7cbf['on']('response',_0x380e08=>{const _0x72874d=_0x4b4d32,_0x1be7f0=_0x380e08['headers'][_0x72874d(0x1ea)],_0x48086f=_0x380e08[_0x72874d(0x1cc)];if(_0x1be7f0&&_0x2851ff[_0x72874d(0xf1)]&&_0x48086f>=0x12c&&_0x48086f<0x190){if(++_0x3338b3[_0x72874d(0x264)]>_0x2851ff[_0x72874d(0x22d)]){_0x3c6ec8(_0x3338b3,_0x2b7cbf,'Maximum\x20redirects\x20exceeded');return;}_0x2b7cbf[_0x72874d(0x10b)]();let _0x39c078;try{_0x39c078=new _0x11cf58(_0x1be7f0,_0x596349);}catch{const _0x14d18a=new SyntaxError('Invalid\x20URL:\x20'+_0x1be7f0);_0x3e1905(_0x3338b3,_0x14d18a);return;}_0x24b62a(_0x3338b3,_0x39c078,_0x9f4667,_0x24e304);}else _0x3338b3[_0x72874d(0x28e)](_0x72874d(0x24c),_0x2b7cbf,_0x380e08)||_0x3c6ec8(_0x3338b3,_0x2b7cbf,'Unexpected\x20server\x20response:\x20'+_0x380e08['statusCode']);}),_0x2b7cbf['on']('upgrade',(_0x5ec94b,_0x5602f9,_0x510ea9)=>{const _0x803c57=_0x4b4d32;if(_0x3338b3['emit']('upgrade',_0x5ec94b),_0x3338b3[_0x803c57(0x1b3)]!==_0xf90ff8[_0x803c57(0x187)])return;_0x2b7cbf=_0x3338b3[_0x803c57(0x1cb)]=null;const _0x5837c5=_0x5ec94b[_0x803c57(0x1f4)][_0x803c57(0x25f)];if(_0x5837c5===void 0x0||_0x5837c5[_0x803c57(0x242)]()!==_0x803c57(0xf6)){_0x3c6ec8(_0x3338b3,_0x5602f9,_0x803c57(0x122));return;}const _0x4d5ae0=_0x1edbfb(_0x803c57(0x17c))[_0x803c57(0x1e2)](_0x5e04cf+_0xa0335e)[_0x803c57(0x283)](_0x803c57(0x189));if(_0x5ec94b[_0x803c57(0x1f4)]['sec-websocket-accept']!==_0x4d5ae0){_0x3c6ec8(_0x3338b3,_0x5602f9,'Invalid\x20Sec-WebSocket-Accept\x20header');return;}const _0x2d7d2a=_0x5ec94b['headers'][_0x803c57(0x24d)];let _0x3e4774;if(_0x2d7d2a!==void 0x0?_0xac144a[_0x803c57(0x2a4)]?_0xac144a['has'](_0x2d7d2a)||(_0x3e4774='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0x3e4774=_0x803c57(0x282):_0xac144a[_0x803c57(0x2a4)]&&(_0x3e4774='Server\x20sent\x20no\x20subprotocol'),_0x3e4774){_0x3c6ec8(_0x3338b3,_0x5602f9,_0x3e4774);return;}_0x2d7d2a&&(_0x3338b3[_0x803c57(0x2a8)]=_0x2d7d2a);const _0x111050=_0x5ec94b[_0x803c57(0x1f4)][_0x803c57(0x244)];if(_0x111050!==void 0x0){if(!_0x21f1e7){_0x3c6ec8(_0x3338b3,_0x5602f9,_0x803c57(0x21c));return;}let _0x5237a3;try{_0x5237a3=_0x371583(_0x111050);}catch{_0x3c6ec8(_0x3338b3,_0x5602f9,_0x803c57(0x12a));return;}const _0xe80fbc=Object[_0x803c57(0x251)](_0x5237a3);if(_0xe80fbc[_0x803c57(0x14d)]!==0x1||_0xe80fbc[0x0]!==_0x11c23a[_0x803c57(0x169)]){_0x3c6ec8(_0x3338b3,_0x5602f9,'Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested');return;}try{_0x21f1e7[_0x803c57(0x1d1)](_0x5237a3[_0x11c23a[_0x803c57(0x169)]]);}catch{_0x3c6ec8(_0x3338b3,_0x5602f9,_0x803c57(0x12a));return;}_0x3338b3[_0x803c57(0x2a7)][_0x11c23a[_0x803c57(0x169)]]=_0x21f1e7;}_0x3338b3[_0x803c57(0x256)](_0x5602f9,_0x510ea9,{'allowSynchronousEvents':_0x2851ff[_0x803c57(0x212)],'generateMask':_0x2851ff['generateMask'],'maxPayload':_0x2851ff[_0x803c57(0x163)],'skipUTF8Validation':_0x2851ff[_0x803c57(0x14e)]});}),_0x2851ff['finishRequest']?_0x2851ff[_0x4b4d32(0x26c)](_0x2b7cbf,_0x3338b3):_0x2b7cbf['end']();}function _0x3e1905(_0x5b9013,_0x2a23f2){const _0x4397b4=_0x3cbfcd;_0x5b9013[_0x4397b4(0x219)]=_0xf90ff8[_0x4397b4(0x29c)],_0x5b9013['_errorEmitted']=!0x0,_0x5b9013[_0x4397b4(0x28e)](_0x4397b4(0x1ba),_0x2a23f2),_0x5b9013[_0x4397b4(0x284)]();}function _0x5e469b(_0x5551fb){const _0x551415=_0x3cbfcd;return _0x5551fb[_0x551415(0x266)]=_0x5551fb[_0x551415(0x1f6)],_0x329cbf[_0x551415(0x158)](_0x5551fb);}function _0x59d145(_0x1a21a4){const _0x5885e6=_0x3cbfcd;return _0x1a21a4[_0x5885e6(0x266)]=void 0x0,!_0x1a21a4['servername']&&_0x1a21a4[_0x5885e6(0x1b7)]!==''&&(_0x1a21a4[_0x5885e6(0x1b7)]=_0x329cbf[_0x5885e6(0x142)](_0x1a21a4[_0x5885e6(0x25a)])?'':_0x1a21a4['host']),_0x2efa4f[_0x5885e6(0x158)](_0x1a21a4);}function _0x3c6ec8(_0x5409de,_0x21b7d8,_0x281c0f){const _0x50c2fb=_0x3cbfcd;_0x5409de[_0x50c2fb(0x219)]=_0xf90ff8[_0x50c2fb(0x29c)];const _0x1b3e61=new Error(_0x281c0f);Error[_0x50c2fb(0x144)](_0x1b3e61,_0x3c6ec8),_0x21b7d8[_0x50c2fb(0x1e5)]?(_0x21b7d8[_0x561046]=!0x0,_0x21b7d8[_0x50c2fb(0x10b)](),_0x21b7d8[_0x50c2fb(0x128)]&&!_0x21b7d8['socket']['destroyed']&&_0x21b7d8[_0x50c2fb(0x128)]['destroy'](),process[_0x50c2fb(0x134)](_0x3e1905,_0x5409de,_0x1b3e61)):(_0x21b7d8[_0x50c2fb(0x173)](_0x1b3e61),_0x21b7d8[_0x50c2fb(0x13c)](_0x50c2fb(0x1ba),_0x5409de[_0x50c2fb(0x28e)][_0x50c2fb(0x138)](_0x5409de,'error')),_0x21b7d8[_0x50c2fb(0x13c)](_0x50c2fb(0x107),_0x5409de[_0x50c2fb(0x284)][_0x50c2fb(0x138)](_0x5409de)));}function _0x6e0c7d(_0x1c6dde,_0x4c568a,_0x5ac6d7){const _0x5c7af0=_0x3cbfcd;if(_0x4c568a){const _0x1a11a8=_0xd8bbdb(_0x4c568a)?_0x4c568a[_0x5c7af0(0x2a4)]:_0x593e2c(_0x4c568a)[_0x5c7af0(0x14d)];_0x1c6dde[_0x5c7af0(0x286)]?_0x1c6dde[_0x5c7af0(0x20f)]['_bufferedBytes']+=_0x1a11a8:_0x1c6dde[_0x5c7af0(0x190)]+=_0x1a11a8;}if(_0x5ac6d7){const _0x4e0ef9=new Error(_0x5c7af0(0x23e)+_0x1c6dde['readyState']+'\x20('+_0x2379f3[_0x1c6dde['readyState']]+')');process[_0x5c7af0(0x134)](_0x5ac6d7,_0x4e0ef9);}}function _0x400e5a(_0x8a0f82,_0x459445){const _0x58d9f3=_0x3cbfcd,_0x52a2bf=this[_0x7622cf];_0x52a2bf[_0x58d9f3(0x228)]=!0x0,_0x52a2bf[_0x58d9f3(0x17f)]=_0x459445,_0x52a2bf[_0x58d9f3(0x2a1)]=_0x8a0f82,_0x52a2bf[_0x58d9f3(0x286)][_0x7622cf]!==void 0x0&&(_0x52a2bf[_0x58d9f3(0x286)]['removeListener']('data',_0x473713),process['nextTick'](_0x593df0,_0x52a2bf['_socket']),_0x8a0f82===0x3ed?_0x52a2bf['close']():_0x52a2bf[_0x58d9f3(0x107)](_0x8a0f82,_0x459445));}function _0x1f8113(){const _0x2a378b=_0x3cbfcd,_0x1196ee=this[_0x7622cf];_0x1196ee[_0x2a378b(0x186)]||_0x1196ee[_0x2a378b(0x286)][_0x2a378b(0x19b)]();}function _0x32ba8e(_0x525a46){const _0x7d6349=_0x3cbfcd,_0xdd66e4=this[_0x7622cf];_0xdd66e4['_socket'][_0x7622cf]!==void 0x0&&(_0xdd66e4[_0x7d6349(0x286)][_0x7d6349(0x177)](_0x7d6349(0x2a0),_0x473713),process[_0x7d6349(0x134)](_0x593df0,_0xdd66e4[_0x7d6349(0x286)]),_0xdd66e4[_0x7d6349(0x107)](_0x525a46[_0x1f6499])),_0xdd66e4[_0x7d6349(0x204)]||(_0xdd66e4['_errorEmitted']=!0x0,_0xdd66e4[_0x7d6349(0x28e)]('error',_0x525a46));}function _0x1d6f98(){const _0x3fc278=_0x3cbfcd;this[_0x7622cf][_0x3fc278(0x284)]();}function _0x32f463(_0xeff590,_0x2c2dcf){const _0x2cf5a=_0x3cbfcd;this[_0x7622cf][_0x2cf5a(0x28e)](_0x2cf5a(0x1df),_0xeff590,_0x2c2dcf);}function _0x267da3(_0x3c99bd){const _0x889528=_0x3cbfcd,_0x2edba1=this[_0x7622cf];_0x2edba1[_0x889528(0x1b6)]&&_0x2edba1[_0x889528(0x12c)](_0x3c99bd,!this[_0x889528(0x198)],_0x3dee41),_0x2edba1['emit']('ping',_0x3c99bd);}function _0x59e7b2(_0x4e7685){const _0x589abf=_0x3cbfcd;this[_0x7622cf]['emit'](_0x589abf(0x12c),_0x4e7685);}function _0x593df0(_0x13e44e){const _0x1880a7=_0x3cbfcd;_0x13e44e[_0x1880a7(0x19b)]();}function _0x4cff81(_0x3a4c23){const _0x34d1b5=_0x3cbfcd,_0x5d1fc7=this[_0x7622cf];_0x5d1fc7[_0x34d1b5(0x1b3)]!==_0xf90ff8[_0x34d1b5(0x290)]&&(_0x5d1fc7[_0x34d1b5(0x1b3)]===_0xf90ff8[_0x34d1b5(0x1dc)]&&(_0x5d1fc7[_0x34d1b5(0x219)]=_0xf90ff8['CLOSING'],_0x470333(_0x5d1fc7)),this[_0x34d1b5(0x286)][_0x34d1b5(0x1dd)](),_0x5d1fc7[_0x34d1b5(0x204)]||(_0x5d1fc7['_errorEmitted']=!0x0,_0x5d1fc7[_0x34d1b5(0x28e)](_0x34d1b5(0x1ba),_0x3a4c23)));}function _0x470333(_0x5ae029){const _0x22fe12=_0x3cbfcd;_0x5ae029[_0x22fe12(0x152)]=setTimeout(_0x5ae029[_0x22fe12(0x286)]['destroy']['bind'](_0x5ae029[_0x22fe12(0x286)]),_0x2d563c);}function _0x1a34cd(){const _0x21a057=_0x3cbfcd,_0x5982cf=this[_0x7622cf];this[_0x21a057(0x177)](_0x21a057(0x107),_0x1a34cd),this[_0x21a057(0x177)](_0x21a057(0x2a0),_0x473713),this[_0x21a057(0x177)](_0x21a057(0x1dd),_0x2dd12a),_0x5982cf[_0x21a057(0x219)]=_0xf90ff8['CLOSING'];let _0x4417e8;!this[_0x21a057(0x1a9)][_0x21a057(0xf3)]&&!_0x5982cf[_0x21a057(0x228)]&&!_0x5982cf[_0x21a057(0x202)]['_writableState']['errorEmitted']&&(_0x4417e8=_0x5982cf[_0x21a057(0x286)][_0x21a057(0x126)]())!==null&&_0x5982cf[_0x21a057(0x202)][_0x21a057(0x17a)](_0x4417e8),_0x5982cf[_0x21a057(0x202)][_0x21a057(0x1dd)](),this[_0x7622cf]=void 0x0,clearTimeout(_0x5982cf[_0x21a057(0x152)]),_0x5982cf[_0x21a057(0x202)][_0x21a057(0x271)][_0x21a057(0x22e)]||_0x5982cf['_receiver']['_writableState'][_0x21a057(0x108)]?_0x5982cf[_0x21a057(0x284)]():(_0x5982cf[_0x21a057(0x202)]['on'](_0x21a057(0x1ba),_0x1d6f98),_0x5982cf[_0x21a057(0x202)]['on']('finish',_0x1d6f98));}function _0x473713(_0x26d755){const _0x5d4783=_0x3cbfcd;this[_0x7622cf]['_receiver'][_0x5d4783(0x17a)](_0x26d755)||this[_0x5d4783(0xf4)]();}function _0x2dd12a(){const _0x22e420=_0x3cbfcd,_0x278128=this[_0x7622cf];_0x278128[_0x22e420(0x219)]=_0xf90ff8[_0x22e420(0x29c)],_0x278128[_0x22e420(0x202)]['end'](),this[_0x22e420(0x1dd)]();}function _0xc67a19(){const _0x36f4e7=_0x3cbfcd,_0x22d06d=this[_0x7622cf];this[_0x36f4e7(0x177)](_0x36f4e7(0x1ba),_0xc67a19),this['on']('error',_0x3dee41),_0x22d06d&&(_0x22d06d[_0x36f4e7(0x219)]=_0xf90ff8['CLOSING'],this[_0x36f4e7(0x173)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0xc6dae0}=oe;function _0x3c3783(_0x1bcaba){const _0x476db0=_0x338f;_0x1bcaba[_0x476db0(0x28e)](_0x476db0(0x107));}function _0x3df8fe(){const _0x298312=_0x338f;!this[_0x298312(0x2b0)]&&this[_0x298312(0x271)]['finished']&&this[_0x298312(0x173)]();}function _0x2091d0(_0x165d2c){const _0x42aa73=_0x338f;this['removeListener'](_0x42aa73(0x1ba),_0x2091d0),this[_0x42aa73(0x173)](),this['listenerCount']('error')===0x0&&this[_0x42aa73(0x28e)]('error',_0x165d2c);}function _0xe7ad3f(_0x5ba2b0,_0x203e8b){const _0x476258=_0x338f;let _0x2d0082=!0x0;const _0xabfdf5=new _0xc6dae0({..._0x203e8b,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x5ba2b0['on'](_0x476258(0x1df),function(_0x269153,_0xdedb39){const _0x27586e=_0x476258,_0x37f05a=!_0xdedb39&&_0xabfdf5['_readableState'][_0x27586e(0xf5)]?_0x269153[_0x27586e(0x1a2)]():_0x269153;_0xabfdf5[_0x27586e(0x1a1)](_0x37f05a)||_0x5ba2b0[_0x27586e(0xf4)]();}),_0x5ba2b0[_0x476258(0x13c)]('error',function(_0x4880a6){const _0x7757e8=_0x476258;_0xabfdf5['destroyed']||(_0x2d0082=!0x1,_0xabfdf5[_0x7757e8(0x173)](_0x4880a6));}),_0x5ba2b0[_0x476258(0x13c)](_0x476258(0x107),function(){const _0x2cb34c=_0x476258;_0xabfdf5['destroyed']||_0xabfdf5[_0x2cb34c(0x1a1)](null);}),_0xabfdf5[_0x476258(0x1ec)]=function(_0x32ea1d,_0x1a113d){const _0x53f3dc=_0x476258;if(_0x5ba2b0[_0x53f3dc(0x1b3)]===_0x5ba2b0[_0x53f3dc(0x290)]){_0x1a113d(_0x32ea1d),process[_0x53f3dc(0x134)](_0x3c3783,_0xabfdf5);return;}let _0x124ce0=!0x1;_0x5ba2b0[_0x53f3dc(0x13c)](_0x53f3dc(0x1ba),function(_0x4b676c){_0x124ce0=!0x0,_0x1a113d(_0x4b676c);}),_0x5ba2b0[_0x53f3dc(0x13c)](_0x53f3dc(0x107),function(){const _0x4e136a=_0x53f3dc;_0x124ce0||_0x1a113d(_0x32ea1d),process[_0x4e136a(0x134)](_0x3c3783,_0xabfdf5);}),_0x2d0082&&_0x5ba2b0['terminate']();},_0xabfdf5['_final']=function(_0x278621){const _0x476a3f=_0x476258;if(_0x5ba2b0[_0x476a3f(0x1b3)]===_0x5ba2b0[_0x476a3f(0x187)]){_0x5ba2b0['once']('open',function(){const _0x508770=_0x476a3f;_0xabfdf5[_0x508770(0x188)](_0x278621);});return;}_0x5ba2b0['_socket']!==null&&(_0x5ba2b0[_0x476a3f(0x286)]['_writableState']['finished']?(_0x278621(),_0xabfdf5[_0x476a3f(0x1a9)][_0x476a3f(0xf3)]&&_0xabfdf5[_0x476a3f(0x173)]()):(_0x5ba2b0[_0x476a3f(0x286)][_0x476a3f(0x13c)](_0x476a3f(0x22b),function(){_0x278621();}),_0x5ba2b0[_0x476a3f(0x107)]()));},_0xabfdf5[_0x476258(0x18d)]=function(){const _0x46428e=_0x476258;_0x5ba2b0[_0x46428e(0x186)]&&_0x5ba2b0[_0x46428e(0x19b)]();},_0xabfdf5[_0x476258(0x106)]=function(_0x29c1e3,_0x504edd,_0x366528){const _0x1d504f=_0x476258;if(_0x5ba2b0[_0x1d504f(0x1b3)]===_0x5ba2b0[_0x1d504f(0x187)]){_0x5ba2b0['once'](_0x1d504f(0x20e),function(){const _0x143eb1=_0x1d504f;_0xabfdf5[_0x143eb1(0x106)](_0x29c1e3,_0x504edd,_0x366528);});return;}_0x5ba2b0['send'](_0x29c1e3,_0x366528);},_0xabfdf5['on'](_0x476258(0x1dd),_0x3df8fe),_0xabfdf5['on'](_0x476258(0x1ba),_0x2091d0),_0xabfdf5;}return Oe=_0xe7ad3f,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x4bcd61}=ae();function _0x612be1(_0x338df4){const _0x43a2d5=_0x338f,_0x7f571f=new Set();let _0x12a7ea=-0x1,_0x2bf2d4=-0x1,_0x3acbeb=0x0;for(_0x3acbeb;_0x3acbeb<_0x338df4['length'];_0x3acbeb++){const _0x453959=_0x338df4[_0x43a2d5(0x2a2)](_0x3acbeb);if(_0x2bf2d4===-0x1&&_0x4bcd61[_0x453959]===0x1)_0x12a7ea===-0x1&&(_0x12a7ea=_0x3acbeb);else{if(_0x3acbeb!==0x0&&(_0x453959===0x20||_0x453959===0x9))_0x2bf2d4===-0x1&&_0x12a7ea!==-0x1&&(_0x2bf2d4=_0x3acbeb);else{if(_0x453959===0x2c){if(_0x12a7ea===-0x1)throw new SyntaxError(_0x43a2d5(0x1f0)+_0x3acbeb);_0x2bf2d4===-0x1&&(_0x2bf2d4=_0x3acbeb);const _0x1bf8cc=_0x338df4['slice'](_0x12a7ea,_0x2bf2d4);if(_0x7f571f[_0x43a2d5(0x181)](_0x1bf8cc))throw new SyntaxError(_0x43a2d5(0x18c)+_0x1bf8cc+'\x22\x20subprotocol\x20is\x20duplicated');_0x7f571f[_0x43a2d5(0x172)](_0x1bf8cc),_0x12a7ea=_0x2bf2d4=-0x1;}else throw new SyntaxError(_0x43a2d5(0x1f0)+_0x3acbeb);}}}if(_0x12a7ea===-0x1||_0x2bf2d4!==-0x1)throw new SyntaxError('Unexpected\x20end\x20of\x20input');const _0x586eae=_0x338df4['slice'](_0x12a7ea,_0x3acbeb);if(_0x7f571f[_0x43a2d5(0x181)](_0x586eae))throw new SyntaxError(_0x43a2d5(0x18c)+_0x586eae+_0x43a2d5(0x1f1));return _0x7f571f[_0x43a2d5(0x172)](_0x586eae),_0x7f571f;}return Ce={'parse':_0x612be1},Ce;}var Te,rt;function _0x338f(_0x172929,_0xde722c){const _0x6d5261=_0x6d52();return _0x338f=function(_0x338f4a,_0x1f9f6f){_0x338f4a=_0x338f4a-0xeb;let _0x56e6c6=_0x6d5261[_0x338f4a];return _0x56e6c6;},_0x338f(_0x172929,_0xde722c);}function Ft(){const _0x452195=_0x4dcda1;if(rt)return Te;rt=0x1;const _0x2bf282=nt,_0x350562=ot,{Duplex:_0x3f5bdd}=oe,{createHash:_0x49e485}=Le,_0x24f849=ct(),_0x1b8388=he(),_0x39551f=At(),_0x394776=Pe(),{GUID:_0x33e229,kWebSocket:_0x3e1ebe}=H(),_0x279aad=/^[+/0-9A-Za-z]{22}==$/,_0x573a99=0x0,_0xd1d9cb=0x1,_0x2048f7=0x2;class _0x1aad9b extends _0x2bf282{constructor(_0x8f362b,_0x47d9b9){const _0x5f05a5=_0x338f;if(super(),_0x8f362b={'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':_0x394776,..._0x8f362b},_0x8f362b[_0x5f05a5(0x1fe)]==null&&!_0x8f362b[_0x5f05a5(0x120)]&&!_0x8f362b[_0x5f05a5(0x27f)]||_0x8f362b[_0x5f05a5(0x1fe)]!=null&&(_0x8f362b[_0x5f05a5(0x120)]||_0x8f362b[_0x5f05a5(0x27f)])||_0x8f362b[_0x5f05a5(0x120)]&&_0x8f362b['noServer'])throw new TypeError(_0x5f05a5(0x15a));if(_0x8f362b['port']!=null?(this[_0x5f05a5(0x14b)]=_0x350562[_0x5f05a5(0x224)]((_0x2445e3,_0x3af5a4)=>{const _0x5dd252=_0x5f05a5,_0x47e59b=_0x350562[_0x5dd252(0x175)][0x1aa];_0x3af5a4[_0x5dd252(0x1d5)](0x1aa,{'Content-Length':_0x47e59b[_0x5dd252(0x14d)],'Content-Type':_0x5dd252(0xff)}),_0x3af5a4[_0x5dd252(0x1dd)](_0x47e59b);}),this[_0x5f05a5(0x14b)][_0x5f05a5(0x1a7)](_0x8f362b[_0x5f05a5(0x1fe)],_0x8f362b[_0x5f05a5(0x25a)],_0x8f362b[_0x5f05a5(0x1bd)],_0x47d9b9)):_0x8f362b[_0x5f05a5(0x120)]&&(this[_0x5f05a5(0x14b)]=_0x8f362b[_0x5f05a5(0x120)]),this[_0x5f05a5(0x14b)]){const _0x2645c6=this[_0x5f05a5(0x28e)][_0x5f05a5(0x138)](this,_0x5f05a5(0x15c));this[_0x5f05a5(0x285)]=_0x5180d2(this[_0x5f05a5(0x14b)],{'listening':this[_0x5f05a5(0x28e)][_0x5f05a5(0x138)](this,_0x5f05a5(0x1be)),'error':this[_0x5f05a5(0x28e)][_0x5f05a5(0x138)](this,_0x5f05a5(0x1ba)),'upgrade':(_0x38fa6b,_0x282a61,_0x2c800e)=>{this['handleUpgrade'](_0x38fa6b,_0x282a61,_0x2c800e,_0x2645c6);}});}_0x8f362b[_0x5f05a5(0x253)]===!0x0&&(_0x8f362b[_0x5f05a5(0x253)]={}),_0x8f362b[_0x5f05a5(0x232)]&&(this[_0x5f05a5(0x18f)]=new Set(),this['_shouldEmitClose']=!0x1),this[_0x5f05a5(0x101)]=_0x8f362b,this['_state']=_0x573a99;}[_0x452195(0x1ae)](){const _0x510bd9=_0x452195;if(this['options'][_0x510bd9(0x27f)])throw new Error(_0x510bd9(0x149));return this[_0x510bd9(0x14b)]?this[_0x510bd9(0x14b)][_0x510bd9(0x1ae)]():null;}['close'](_0x5c786b){const _0x30e882=_0x452195;if(this[_0x30e882(0x21f)]===_0x2048f7){_0x5c786b&&this[_0x30e882(0x13c)](_0x30e882(0x107),()=>{_0x5c786b(new Error('The\x20server\x20is\x20not\x20running'));}),process[_0x30e882(0x134)](_0xcdebf6,this);return;}if(_0x5c786b&&this[_0x30e882(0x13c)](_0x30e882(0x107),_0x5c786b),this[_0x30e882(0x21f)]!==_0xd1d9cb){if(this[_0x30e882(0x21f)]=_0xd1d9cb,this['options']['noServer']||this[_0x30e882(0x101)][_0x30e882(0x120)])this[_0x30e882(0x14b)]&&(this[_0x30e882(0x285)](),this[_0x30e882(0x285)]=this[_0x30e882(0x14b)]=null),this[_0x30e882(0x18f)]?this[_0x30e882(0x18f)]['size']?this[_0x30e882(0x29d)]=!0x0:process[_0x30e882(0x134)](_0xcdebf6,this):process[_0x30e882(0x134)](_0xcdebf6,this);else{const _0x1dcc51=this[_0x30e882(0x14b)];this[_0x30e882(0x285)](),this[_0x30e882(0x285)]=this[_0x30e882(0x14b)]=null,_0x1dcc51['close'](()=>{_0xcdebf6(this);});}}}[_0x452195(0x1d0)](_0x4e2143){const _0x532ecc=_0x452195;if(this[_0x532ecc(0x101)][_0x532ecc(0x266)]){const _0x211325=_0x4e2143['url'][_0x532ecc(0x111)]('?');if((_0x211325!==-0x1?_0x4e2143[_0x532ecc(0x239)][_0x532ecc(0x137)](0x0,_0x211325):_0x4e2143[_0x532ecc(0x239)])!==this[_0x532ecc(0x101)][_0x532ecc(0x266)])return!0x1;}return!0x0;}['handleUpgrade'](_0x645002,_0x58c657,_0x144174,_0x5db1d1){const _0x2aa961=_0x452195;_0x58c657['on'](_0x2aa961(0x1ba),_0x36b710);const _0x50dab7=_0x645002['headers']['sec-websocket-key'],_0x47950f=_0x645002[_0x2aa961(0x1f4)][_0x2aa961(0x25f)],_0x4c174d=+_0x645002['headers'][_0x2aa961(0x1c8)];if(_0x645002[_0x2aa961(0x1fd)]!=='GET'){_0x1d8be3(this,_0x645002,_0x58c657,0x195,_0x2aa961(0x1bb));return;}if(_0x47950f===void 0x0||_0x47950f[_0x2aa961(0x242)]()!==_0x2aa961(0xf6)){_0x1d8be3(this,_0x645002,_0x58c657,0x190,_0x2aa961(0x122));return;}if(_0x50dab7===void 0x0||!_0x279aad['test'](_0x50dab7)){_0x1d8be3(this,_0x645002,_0x58c657,0x190,_0x2aa961(0x24a));return;}if(_0x4c174d!==0x8&&_0x4c174d!==0xd){_0x1d8be3(this,_0x645002,_0x58c657,0x190,_0x2aa961(0x262));return;}if(!this[_0x2aa961(0x1d0)](_0x645002)){_0x1a5104(_0x58c657,0x190);return;}const _0x295f29=_0x645002[_0x2aa961(0x1f4)][_0x2aa961(0x24d)];let _0x20affb=new Set();if(_0x295f29!==void 0x0)try{_0x20affb=_0x39551f['parse'](_0x295f29);}catch{_0x1d8be3(this,_0x645002,_0x58c657,0x190,'Invalid\x20Sec-WebSocket-Protocol\x20header');return;}const _0x53f60a=_0x645002[_0x2aa961(0x1f4)][_0x2aa961(0x244)],_0xb6373b={};if(this[_0x2aa961(0x101)][_0x2aa961(0x253)]&&_0x53f60a!==void 0x0){const _0x191c4e=new _0x1b8388(this['options'][_0x2aa961(0x253)],!0x0,this[_0x2aa961(0x101)][_0x2aa961(0x163)]);try{const _0x4bcd53=_0x24f849[_0x2aa961(0x1f9)](_0x53f60a);_0x4bcd53[_0x1b8388['extensionName']]&&(_0x191c4e[_0x2aa961(0x1d1)](_0x4bcd53[_0x1b8388['extensionName']]),_0xb6373b[_0x1b8388[_0x2aa961(0x169)]]=_0x191c4e);}catch{_0x1d8be3(this,_0x645002,_0x58c657,0x190,'Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header');return;}}if(this[_0x2aa961(0x101)][_0x2aa961(0x297)]){const _0x2340f7={'origin':_0x645002[_0x2aa961(0x1f4)][''+(_0x4c174d===0x8?'sec-websocket-origin':_0x2aa961(0x157))],'secure':!!(_0x645002[_0x2aa961(0x128)]['authorized']||_0x645002[_0x2aa961(0x128)][_0x2aa961(0x161)]),'req':_0x645002};if(this[_0x2aa961(0x101)][_0x2aa961(0x297)]['length']===0x2){this[_0x2aa961(0x101)][_0x2aa961(0x297)](_0x2340f7,(_0x24d14f,_0x545a5c,_0x3ec60b,_0x36398c)=>{const _0x3b4140=_0x2aa961;if(!_0x24d14f)return _0x1a5104(_0x58c657,_0x545a5c||0x191,_0x3ec60b,_0x36398c);this[_0x3b4140(0x28c)](_0xb6373b,_0x50dab7,_0x20affb,_0x645002,_0x58c657,_0x144174,_0x5db1d1);});return;}if(!this[_0x2aa961(0x101)]['verifyClient'](_0x2340f7))return _0x1a5104(_0x58c657,0x191);}this[_0x2aa961(0x28c)](_0xb6373b,_0x50dab7,_0x20affb,_0x645002,_0x58c657,_0x144174,_0x5db1d1);}[_0x452195(0x28c)](_0x2d387e,_0x2572aa,_0x5b2d64,_0x24fdad,_0x52fcd2,_0x566e09,_0x1d24df){const _0x95eba2=_0x452195;if(!_0x52fcd2[_0x95eba2(0x18e)]||!_0x52fcd2[_0x95eba2(0xee)])return _0x52fcd2[_0x95eba2(0x173)]();if(_0x52fcd2[_0x3e1ebe])throw new Error(_0x95eba2(0x269));if(this['_state']>_0x573a99)return _0x1a5104(_0x52fcd2,0x1f7);const _0x2642e3=[_0x95eba2(0x1ed),'Upgrade:\x20websocket','Connection:\x20Upgrade',_0x95eba2(0x113)+_0x49e485(_0x95eba2(0x17c))['update'](_0x2572aa+_0x33e229)[_0x95eba2(0x283)](_0x95eba2(0x189))],_0x19782b=new this[(_0x95eba2(0x101))]['WebSocket'](null,void 0x0,this['options']);if(_0x5b2d64[_0x95eba2(0x2a4)]){const _0x10f9b6=this[_0x95eba2(0x101)]['handleProtocols']?this[_0x95eba2(0x101)][_0x95eba2(0x176)](_0x5b2d64,_0x24fdad):_0x5b2d64[_0x95eba2(0x205)]()[_0x95eba2(0x1d2)]()[_0x95eba2(0x130)];_0x10f9b6&&(_0x2642e3[_0x95eba2(0x1a1)]('Sec-WebSocket-Protocol:\x20'+_0x10f9b6),_0x19782b[_0x95eba2(0x2a8)]=_0x10f9b6);}if(_0x2d387e[_0x1b8388['extensionName']]){const _0xd15dbb=_0x2d387e[_0x1b8388[_0x95eba2(0x169)]][_0x95eba2(0x159)],_0x170a43=_0x24f849[_0x95eba2(0x132)]({[_0x1b8388[_0x95eba2(0x169)]]:[_0xd15dbb]});_0x2642e3[_0x95eba2(0x1a1)](_0x95eba2(0x117)+_0x170a43),_0x19782b[_0x95eba2(0x2a7)]=_0x2d387e;}this['emit']('headers',_0x2642e3,_0x24fdad),_0x52fcd2[_0x95eba2(0x17a)](_0x2642e3[_0x95eba2(0x179)]('\x0d\x0a')[_0x95eba2(0x245)]('\x0d\x0a')),_0x52fcd2[_0x95eba2(0x177)](_0x95eba2(0x1ba),_0x36b710),_0x19782b[_0x95eba2(0x256)](_0x52fcd2,_0x566e09,{'allowSynchronousEvents':this['options'][_0x95eba2(0x212)],'maxPayload':this[_0x95eba2(0x101)][_0x95eba2(0x163)],'skipUTF8Validation':this[_0x95eba2(0x101)][_0x95eba2(0x14e)]}),this['clients']&&(this[_0x95eba2(0x18f)][_0x95eba2(0x172)](_0x19782b),_0x19782b['on'](_0x95eba2(0x107),()=>{const _0x42dd5d=_0x95eba2;this[_0x42dd5d(0x18f)][_0x42dd5d(0x209)](_0x19782b),this[_0x42dd5d(0x29d)]&&!this[_0x42dd5d(0x18f)][_0x42dd5d(0x2a4)]&&process[_0x42dd5d(0x134)](_0xcdebf6,this);})),_0x1d24df(_0x19782b,_0x24fdad);}}Te=_0x1aad9b;function _0x5180d2(_0x3f3197,_0x42ab94){const _0x1a4893=_0x452195;for(const _0x417f4b of Object[_0x1a4893(0x251)](_0x42ab94))_0x3f3197['on'](_0x417f4b,_0x42ab94[_0x417f4b]);return function(){const _0xf92320=_0x1a4893;for(const _0x1559a7 of Object[_0xf92320(0x251)](_0x42ab94))_0x3f3197[_0xf92320(0x177)](_0x1559a7,_0x42ab94[_0x1559a7]);};}function _0xcdebf6(_0x24972a){const _0x57693a=_0x452195;_0x24972a[_0x57693a(0x21f)]=_0x2048f7,_0x24972a['emit'](_0x57693a(0x107));}function _0x36b710(){const _0x1dae3b=_0x452195;this[_0x1dae3b(0x173)]();}function _0x1a5104(_0x3d8e8c,_0x57a0c6,_0x283183,_0x508248){const _0x2d7d25=_0x452195;_0x283183=_0x283183||_0x350562['STATUS_CODES'][_0x57a0c6],_0x508248={'Connection':'close','Content-Type':_0x2d7d25(0x151),'Content-Length':Buffer[_0x2d7d25(0x10f)](_0x283183),..._0x508248},_0x3d8e8c[_0x2d7d25(0x13c)]('finish',_0x3d8e8c[_0x2d7d25(0x173)]),_0x3d8e8c[_0x2d7d25(0x1dd)]('HTTP/1.1\x20'+_0x57a0c6+'\x20'+_0x350562['STATUS_CODES'][_0x57a0c6]+'\x0d\x0a'+Object[_0x2d7d25(0x251)](_0x508248)['map'](_0x2bfe17=>_0x2bfe17+':\x20'+_0x508248[_0x2bfe17])[_0x2d7d25(0x245)]('\x0d\x0a')+_0x2d7d25(0x22a)+_0x283183);}function _0x1d8be3(_0x4056ef,_0x10b52e,_0x4daa91,_0x149262,_0x17fba0){const _0x201a0c=_0x452195;if(_0x4056ef[_0x201a0c(0x1ff)](_0x201a0c(0x195))){const _0x2732c2=new Error(_0x17fba0);Error[_0x201a0c(0x144)](_0x2732c2,_0x1d8be3),_0x4056ef['emit'](_0x201a0c(0x195),_0x2732c2,_0x4daa91,_0x10b52e);}else _0x1a5104(_0x4daa91,_0x149262,_0x17fba0);}return Te;}Ft();var jt=Object[_0x4dcda1(0x29e)],Wt=(_0x3dcf76,_0x2c3b8d,_0x2cf3a0,_0x2cbbe5)=>{for(var _0x4c5c16=_0x2cbbe5>0x1?void 0x0:_0x2cbbe5?jt(_0x2c3b8d,_0x2cf3a0):_0x2c3b8d,_0x3ec848=_0x3dcf76['length']-0x1,_0x4c552e;_0x3ec848>=0x0;_0x3ec848--)(_0x4c552e=_0x3dcf76[_0x3ec848])&&(_0x4c5c16=_0x4c552e(_0x4c5c16)||_0x4c5c16);return _0x4c5c16;},qt=(_0xd70e9e,_0x87c5f0)=>(_0x44b3c6,_0x1ba0a0)=>_0x87c5f0(_0x44b3c6,_0x1ba0a0,_0xd70e9e);let ke=class extends A['Disposable']{constructor(_0x3ba458){const _0x291a4c=_0x4dcda1;super(),this[_0x291a4c(0x2ad)]=_0x3ba458;}['createSocket'](_0x122149){const _0x2e77b7=_0x4dcda1;var _0x3d60fc;const _0x5b5f56=(_0x3d60fc=this[_0x2e77b7(0x2ad)]['getConfig'](fe))==null?void 0x0:_0x3d60fc[_0x2e77b7(0x115)];try{const _0x456a44=new $t(_0x122149,{'headers':{..._0x5b5f56}}),_0x1704bf=new A[(_0x2e77b7(0x22f))]();return{'URL':_0x122149,'close':(_0x38e9e9,_0x5c56c7)=>{const _0x382621=_0x2e77b7;_0x456a44[_0x382621(0x107)](_0x38e9e9,_0x5c56c7),_0x1704bf['dispose']();},'send':_0x5246b7=>{const _0x4804dc=_0x2e77b7;_0x456a44[_0x4804dc(0x10a)](_0x5246b7);},'open$':new V[(_0x2e77b7(0x121))](_0x18af61=>{const _0x41492f=_0x2e77b7,_0x59906e=_0x3f3c73=>_0x18af61[_0x41492f(0x1d2)](_0x3f3c73);_0x456a44[_0x41492f(0x11a)]('open',_0x59906e),_0x1704bf[_0x41492f(0x172)](A[_0x41492f(0x143)](()=>_0x456a44[_0x41492f(0x125)](_0x41492f(0x20e),_0x59906e)));})['pipe'](V[_0x2e77b7(0xfd)]()),'close$':new V[(_0x2e77b7(0x121))](_0x4753c0=>{const _0x15a0ca=_0x2e77b7,_0x56c889=_0x5df86a=>_0x4753c0[_0x15a0ca(0x1d2)](_0x5df86a);_0x456a44[_0x15a0ca(0x11a)]('close',_0x56c889),_0x1704bf[_0x15a0ca(0x172)](A[_0x15a0ca(0x143)](()=>_0x456a44['removeEventListener']('close',_0x56c889)));})[_0x2e77b7(0x1e4)](V[_0x2e77b7(0xfd)]()),'error$':new V['Observable'](_0x1fcd8d=>{const _0x1f523e=_0x2e77b7,_0x8157aa=_0x2b738d=>_0x1fcd8d[_0x1f523e(0x1d2)](_0x2b738d);_0x456a44[_0x1f523e(0x11a)](_0x1f523e(0x1ba),_0x8157aa),_0x1704bf['add'](A['toDisposable'](()=>_0x456a44['removeEventListener']('error',_0x8157aa)));})[_0x2e77b7(0x1e4)](V['share']()),'message$':new V['Observable'](_0x56d4ca=>{const _0x44976d=_0x2e77b7,_0x15b127=_0x1f88ad=>_0x56d4ca['next'](_0x1f88ad);_0x456a44[_0x44976d(0x11a)](_0x44976d(0x1df),_0x15b127),_0x1704bf[_0x44976d(0x172)](A['toDisposable'](()=>_0x456a44[_0x44976d(0x125)](_0x44976d(0x1df),_0x15b127)));})[_0x2e77b7(0x1e4)](V[_0x2e77b7(0xfd)]())};}catch(_0xe95460){return console['error'](_0xe95460),null;}}};ke=Wt([qt(0x0,A[_0x4dcda1(0x231)])],ke);var Gt=Object[_0x4dcda1(0xfc)],Vt=Object[_0x4dcda1(0x29e)],Ht=(_0x3b671a,_0x28bda9,_0x56a77b)=>_0x28bda9 in _0x3b671a?Gt(_0x3b671a,_0x28bda9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x56a77b}):_0x3b671a[_0x28bda9]=_0x56a77b,zt=(_0x11d5f6,_0x13c94b,_0x76f7a7,_0xa91ad1)=>{for(var _0x121ec8=_0xa91ad1>0x1?void 0x0:_0xa91ad1?Vt(_0x13c94b,_0x76f7a7):_0x13c94b,_0x591a0c=_0x11d5f6['length']-0x1,_0x416540;_0x591a0c>=0x0;_0x591a0c--)(_0x416540=_0x11d5f6[_0x591a0c])&&(_0x121ec8=_0x416540(_0x121ec8)||_0x121ec8);return _0x121ec8;},Ne=(_0x1f033d,_0x58b52b)=>(_0x3a785c,_0x426cea)=>_0x58b52b(_0x3a785c,_0x426cea,_0x1f033d),Yt=(_0x576f7a,_0x569a6b,_0x256d64)=>Ht(_0x576f7a,_0x569a6b+'',_0x256d64);exports['UniverCollaborationClientNodePlugin']=class extends A[_0x4dcda1(0x26b)]{constructor(_0x331b4d=Ct,_0x51ddd8,_0x3ddf47,_0x464822){const _0x33070d=_0x4dcda1;_0x331b4d['customHeaders']||_0x51ddd8[_0x33070d(0xfe)]('[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.'),super(),this[_0x33070d(0x2ad)]=_0x3ddf47,this[_0x33070d(0x167)]=_0x464822,this[_0x33070d(0x2ad)][_0x33070d(0x2ab)](fe,_0x331b4d);}[_0x4dcda1(0x1db)](){const _0x1f2d70=_0x4dcda1;this[_0x1f2d70(0x1f3)]();}[_0x4dcda1(0x1f3)](){const _0x4cc164=_0x4dcda1;A[_0x4cc164(0x1de)](this[_0x4cc164(0x167)],[[it[_0x4cc164(0x196)],{'useClass':ke}]]);}},Yt(exports['UniverCollaborationClientNodePlugin'],'pluginName','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),exports[_0x4dcda1(0x110)]=zt([A['DependentOn'](st[_0x4dcda1(0x1e8)]),Ne(0x1,A[_0x4dcda1(0x211)]),Ne(0x2,A['IConfigService']),Ne(0x3,A['Inject'](A[_0x4dcda1(0x11c)]))],exports['UniverCollaborationClientNodePlugin']);var Kt=Object['getOwnPropertyDescriptor'],Xt=(_0x1218a4,_0x35ed54,_0x233390,_0x213b7e)=>{const _0x4fe021=_0x4dcda1;for(var _0x4cd69a=_0x213b7e>0x1?void 0x0:_0x213b7e?Kt(_0x35ed54,_0x233390):_0x35ed54,_0x9681b7=_0x1218a4[_0x4fe021(0x14d)]-0x1,_0x25d275;_0x9681b7>=0x0;_0x9681b7--)(_0x25d275=_0x1218a4[_0x9681b7])&&(_0x4cd69a=_0x25d275(_0x4cd69a)||_0x4cd69a);return _0x4cd69a;},ne=(_0x5baa89,_0x5cfed0)=>(_0x332c5a,_0x2948d0)=>_0x5cfed0(_0x332c5a,_0x2948d0,_0x5baa89);exports[_0x4dcda1(0x249)]=class extends st[_0x4dcda1(0x1f8)]{constructor(_0x3d9e68,_0x3d5f30,_0x24bfdd,_0x4b83fa,_0x3a7e51){const _0x24a4ea=_0x4dcda1;super(_0x3d9e68,_0x3d5f30,_0x24bfdd,_0x4b83fa,_0x3a7e51);const _0x24193e=this[_0x24a4ea(0x2ad)][_0x24a4ea(0x1fa)](fe);this[_0x24a4ea(0x246)][_0x24a4ea(0x174)]({'interceptor':(_0x1a5b03,_0x1842d4)=>{const _0x2253ef=_0x24a4ea;var _0x2f8f3d;const _0x3d72d5=_0x1a5b03[_0x2253ef(0x1f4)];return(_0x2f8f3d=_0x24193e==null?void 0x0:_0x24193e['customHeaders'])!=null&&_0x2f8f3d['cookie']&&_0x3d72d5[_0x2253ef(0x1ef)](_0x2253ef(0x15b),_0x24193e['customHeaders']['cookie']),_0x1842d4(_0x1a5b03);}});}async['createSocket'](_0x590d81){const _0x44a2ff=_0x4dcda1;return this[_0x44a2ff(0x11e)](_0x590d81);}},exports[_0x4dcda1(0x249)]=Xt([ne(0x0,A[_0x4dcda1(0x19d)](A[_0x4dcda1(0x11c)])),ne(0x1,A['Inject'](it['HTTPService'])),ne(0x2,A[_0x4dcda1(0x231)]),ne(0x3,A[_0x4dcda1(0x211)]),ne(0x4,Ot[_0x4dcda1(0x1eb)])],exports['NodeCollaborationSocketService']),exports[_0x4dcda1(0x1ca)]=fe;
1
+ 'use strict';const _0xc05e9f=_0x30ad;(function(_0x3b595d,_0x315db6){const _0x2471bd=_0x30ad,_0x397607=_0x3b595d();while(!![]){try{const _0x2ae02e=parseInt(_0x2471bd(0xc8))/0x1+-parseInt(_0x2471bd(0x116))/0x2*(parseInt(_0x2471bd(0x146))/0x3)+-parseInt(_0x2471bd(0x91))/0x4+-parseInt(_0x2471bd(0x1b6))/0x5+parseInt(_0x2471bd(0x185))/0x6+-parseInt(_0x2471bd(0x140))/0x7+parseInt(_0x2471bd(0x155))/0x8;if(_0x2ae02e===_0x315db6)break;else _0x397607['push'](_0x397607['shift']());}catch(_0x590765){_0x397607['push'](_0x397607['shift']());}}}(_0x3d7f,0x92458));Object[_0xc05e9f(0xb0)](exports,Symbol['toStringTag'],{'value':'Module'});const st=require(_0xc05e9f(0xdd)),A=require(_0xc05e9f(0x120)),it=require(_0xc05e9f(0x1d1)),V=require(_0xc05e9f(0x18f)),nt=require('events'),vt=require('https'),ot=require(_0xc05e9f(0x19c)),St=require(_0xc05e9f(0x7c)),Et=require('tls'),Le=require('crypto'),oe=require('stream'),xt=require('url'),bt=require(_0xc05e9f(0x1a1)),wt=require(_0xc05e9f(0xbe)),Ot=require(_0xc05e9f(0x97)),fe=_0xc05e9f(0x1f1),Ct={'customHeaders':{}};function Tt(_0x4d21a7){const _0x5afea7=_0xc05e9f;return _0x4d21a7&&_0x4d21a7['__esModule']&&Object['prototype']['hasOwnProperty']['call'](_0x4d21a7,_0x5afea7(0x1c4))?_0x4d21a7['default']:_0x4d21a7;}function at(_0x4a3055){const _0x25b0fe=_0xc05e9f;if(Object[_0x25b0fe(0x149)]['hasOwnProperty'][_0x25b0fe(0x1a6)](_0x4a3055,'__esModule'))return _0x4a3055;var _0x7ed984=_0x4a3055[_0x25b0fe(0x1c4)];if(typeof _0x7ed984=='function'){var _0x8cc50a=function _0x2ab7a4(){const _0x3f9759=_0x25b0fe;return this instanceof _0x2ab7a4?Reflect[_0x3f9759(0x15d)](_0x7ed984,arguments,this[_0x3f9759(0x13a)]):_0x7ed984['apply'](this,arguments);};_0x8cc50a['prototype']=_0x7ed984[_0x25b0fe(0x149)];}else _0x8cc50a={};return Object['defineProperty'](_0x8cc50a,'__esModule',{'value':!0x0}),Object['keys'](_0x4a3055)['forEach'](function(_0x1ad793){const _0x4771dd=_0x25b0fe;var _0x55dfcf=Object[_0x4771dd(0x121)](_0x4a3055,_0x1ad793);Object['defineProperty'](_0x8cc50a,_0x1ad793,_0x55dfcf[_0x4771dd(0x1a4)]?_0x55dfcf:{'enumerable':!0x0,'get':function(){return _0x4a3055[_0x1ad793];}});}),_0x8cc50a;}var se={'exports':{}},ge,Ge;function _0x30ad(_0x4a4345,_0x48d8dd){const _0x3d7f8c=_0x3d7f();return _0x30ad=function(_0x30ad93,_0x3f08e4){_0x30ad93=_0x30ad93-0x75;let _0x4d09d1=_0x3d7f8c[_0x30ad93];return _0x4d09d1;},_0x30ad(_0x4a4345,_0x48d8dd);}function H(){const _0x2d2841=_0xc05e9f;if(Ge)return ge;Ge=0x1;const _0x2e72d8=[_0x2d2841(0x10c),'arraybuffer',_0x2d2841(0x12f)],_0x5022fc=typeof Blob<'u';return _0x5022fc&&_0x2e72d8[_0x2d2841(0x19b)]('blob'),ge={'BINARY_TYPES':_0x2e72d8,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':_0x2d2841(0xc6),'hasBlob':_0x5022fc,'kForOnEventAttribute':Symbol(_0x2d2841(0x130)),'kListener':Symbol(_0x2d2841(0x13e)),'kStatusCode':Symbol(_0x2d2841(0x1de)),'kWebSocket':Symbol('websocket'),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0xc05e9f(0x233)](Object[_0xc05e9f(0xb0)]({'__proto__':null,'default':Nt},Symbol[_0xc05e9f(0x16e)],{'value':_0xc05e9f(0x156)})),Lt=at(kt);var Ve;function ce(){const _0x5e18ed=_0xc05e9f;if(Ve)return se[_0x5e18ed(0xd2)];Ve=0x1;const {EMPTY_BUFFER:_0x2d6706}=H(),_0x1e7185=Buffer[Symbol[_0x5e18ed(0x18b)]];function _0x12deeb(_0x5b2997,_0x21cdd6){const _0x41a0f7=_0x5e18ed;if(_0x5b2997[_0x41a0f7(0x165)]===0x0)return _0x2d6706;if(_0x5b2997[_0x41a0f7(0x165)]===0x1)return _0x5b2997[0x0];const _0x236843=Buffer['allocUnsafe'](_0x21cdd6);let _0x334c9d=0x0;for(let _0x326f36=0x0;_0x326f36<_0x5b2997['length'];_0x326f36++){const _0x353adb=_0x5b2997[_0x326f36];_0x236843['set'](_0x353adb,_0x334c9d),_0x334c9d+=_0x353adb[_0x41a0f7(0x165)];}return _0x334c9d<_0x21cdd6?new _0x1e7185(_0x236843['buffer'],_0x236843[_0x41a0f7(0xd4)],_0x334c9d):_0x236843;}function _0x45a72f(_0x101b5b,_0x34c0c6,_0x5bd4d4,_0xb92069,_0x20450f){for(let _0x22b5fb=0x0;_0x22b5fb<_0x20450f;_0x22b5fb++)_0x5bd4d4[_0xb92069+_0x22b5fb]=_0x101b5b[_0x22b5fb]^_0x34c0c6[_0x22b5fb&0x3];}function _0x89525d(_0x1729d4,_0x4de1f6){const _0x548486=_0x5e18ed;for(let _0x57cce4=0x0;_0x57cce4<_0x1729d4[_0x548486(0x165)];_0x57cce4++)_0x1729d4[_0x57cce4]^=_0x4de1f6[_0x57cce4&0x3];}function _0x192420(_0x50c2cc){const _0x5adee2=_0x5e18ed;return _0x50c2cc['length']===_0x50c2cc[_0x5adee2(0xbe)][_0x5adee2(0xd3)]?_0x50c2cc[_0x5adee2(0xbe)]:_0x50c2cc[_0x5adee2(0xbe)][_0x5adee2(0x138)](_0x50c2cc[_0x5adee2(0xd4)],_0x50c2cc[_0x5adee2(0xd4)]+_0x50c2cc['length']);}function _0xb0f431(_0xe947de){const _0x2cad76=_0x5e18ed;if(_0xb0f431[_0x2cad76(0x148)]=!0x0,Buffer[_0x2cad76(0x199)](_0xe947de))return _0xe947de;let _0x2f8a74;return _0xe947de instanceof ArrayBuffer?_0x2f8a74=new _0x1e7185(_0xe947de):ArrayBuffer['isView'](_0xe947de)?_0x2f8a74=new _0x1e7185(_0xe947de[_0x2cad76(0xbe)],_0xe947de['byteOffset'],_0xe947de[_0x2cad76(0xd3)]):(_0x2f8a74=Buffer[_0x2cad76(0xe5)](_0xe947de),_0xb0f431[_0x2cad76(0x148)]=!0x1),_0x2f8a74;}if(se[_0x5e18ed(0xd2)]={'concat':_0x12deeb,'mask':_0x45a72f,'toArrayBuffer':_0x192420,'toBuffer':_0xb0f431,'unmask':_0x89525d},!process[_0x5e18ed(0xb5)][_0x5e18ed(0x210)])try{const _0x1f55b5=Lt;se[_0x5e18ed(0xd2)][_0x5e18ed(0xf3)]=function(_0x11092e,_0x4106a7,_0x473f64,_0x3d517a,_0x44e381){const _0x1f74e6=_0x5e18ed;_0x44e381<0x30?_0x45a72f(_0x11092e,_0x4106a7,_0x473f64,_0x3d517a,_0x44e381):_0x1f55b5[_0x1f74e6(0xf3)](_0x11092e,_0x4106a7,_0x473f64,_0x3d517a,_0x44e381);},se[_0x5e18ed(0xd2)][_0x5e18ed(0x96)]=function(_0x562398,_0x6a354f){const _0x24f580=_0x5e18ed;_0x562398[_0x24f580(0x165)]<0x20?_0x89525d(_0x562398,_0x6a354f):_0x1f55b5[_0x24f580(0x96)](_0x562398,_0x6a354f);};}catch{}return se[_0x5e18ed(0xd2)];}var ye,He;function Pt(){const _0x66ac29=_0xc05e9f;if(He)return ye;He=0x1;const _0x5166e4=Symbol(_0x66ac29(0xbd)),_0x8a0c2f=Symbol(_0x66ac29(0xcf));class _0x4b4f27{constructor(_0x370979){const _0x5c0aee=_0x66ac29;this[_0x5166e4]=()=>{const _0x135383=_0x30ad;this[_0x135383(0xcb)]--,this[_0x8a0c2f]();},this[_0x5c0aee(0x1aa)]=_0x370979||0x1/0x0,this[_0x5c0aee(0x1be)]=[],this[_0x5c0aee(0xcb)]=0x0;}[_0x66ac29(0x1e7)](_0x11a6d1){const _0x2eedef=_0x66ac29;this[_0x2eedef(0x1be)][_0x2eedef(0x19b)](_0x11a6d1),this[_0x8a0c2f]();}[_0x8a0c2f](){const _0x417fd8=_0x66ac29;if(this[_0x417fd8(0xcb)]!==this[_0x417fd8(0x1aa)]&&this[_0x417fd8(0x1be)][_0x417fd8(0x165)]){const _0x909c3a=this['jobs'][_0x417fd8(0xe1)]();this[_0x417fd8(0xcb)]++,_0x909c3a(this[_0x5166e4]);}}}return ye=_0x4b4f27,ye;}var ve,ze;function he(){const _0x3bf5d7=_0xc05e9f;if(ze)return ve;ze=0x1;const _0x35de5b=bt,_0x3ea422=ce(),_0x3de014=Pt(),{kStatusCode:_0x5bfb8c}=H(),_0x139e6f=Buffer[Symbol[_0x3bf5d7(0x18b)]],_0x3bb380=Buffer[_0x3bf5d7(0xe5)]([0x0,0x0,0xff,0xff]),_0x4423c3=Symbol(_0x3bf5d7(0x8d)),_0x56b658=Symbol(_0x3bf5d7(0xbc)),_0x2081de=Symbol(_0x3bf5d7(0x1f7)),_0x4a495c=Symbol(_0x3bf5d7(0x1d5)),_0x290d70=Symbol('error');let _0x3dbea7;class _0x57ce70{constructor(_0x59c878,_0x43be71,_0x2e24c0){const _0x34e605=_0x3bf5d7;if(this['_maxPayload']=_0x2e24c0|0x0,this[_0x34e605(0x163)]=_0x59c878||{},this[_0x34e605(0x11d)]=this[_0x34e605(0x163)][_0x34e605(0x1a2)]!==void 0x0?this['_options'][_0x34e605(0x1a2)]:0x400,this[_0x34e605(0x1e1)]=!!_0x43be71,this[_0x34e605(0x118)]=null,this['_inflate']=null,this['params']=null,!_0x3dbea7){const _0x5bc44f=this[_0x34e605(0x163)]['concurrencyLimit']!==void 0x0?this[_0x34e605(0x163)][_0x34e605(0x17f)]:0xa;_0x3dbea7=new _0x3de014(_0x5bc44f);}}static get[_0x3bf5d7(0x18d)](){const _0x583137=_0x3bf5d7;return _0x583137(0x8d);}[_0x3bf5d7(0xdf)](){const _0x2c2fea=_0x3bf5d7,_0x43e3b4={};return this[_0x2c2fea(0x163)][_0x2c2fea(0xb7)]&&(_0x43e3b4[_0x2c2fea(0x11a)]=!0x0),this[_0x2c2fea(0x163)]['clientNoContextTakeover']&&(_0x43e3b4[_0x2c2fea(0x1ee)]=!0x0),this[_0x2c2fea(0x163)][_0x2c2fea(0x124)]&&(_0x43e3b4[_0x2c2fea(0x159)]=this[_0x2c2fea(0x163)]['serverMaxWindowBits']),this['_options']['clientMaxWindowBits']?_0x43e3b4['client_max_window_bits']=this[_0x2c2fea(0x163)][_0x2c2fea(0x16b)]:this[_0x2c2fea(0x163)][_0x2c2fea(0x16b)]==null&&(_0x43e3b4['client_max_window_bits']=!0x0),_0x43e3b4;}[_0x3bf5d7(0x193)](_0x112347){const _0x51ecfd=_0x3bf5d7;return _0x112347=this['normalizeParams'](_0x112347),this[_0x51ecfd(0x147)]=this[_0x51ecfd(0x1e1)]?this['acceptAsServer'](_0x112347):this[_0x51ecfd(0x1ad)](_0x112347),this[_0x51ecfd(0x147)];}['cleanup'](){const _0x43dc71=_0x3bf5d7;if(this[_0x43dc71(0x189)]&&(this[_0x43dc71(0x189)][_0x43dc71(0x19f)](),this[_0x43dc71(0x189)]=null),this[_0x43dc71(0x118)]){const _0x156d0a=this['_deflate'][_0x2081de];this[_0x43dc71(0x118)][_0x43dc71(0x19f)](),this[_0x43dc71(0x118)]=null,_0x156d0a&&_0x156d0a(new Error(_0x43dc71(0xfe)));}}['acceptAsServer'](_0x40deb0){const _0x1baf58=_0x3bf5d7,_0xa0d6ee=this[_0x1baf58(0x163)],_0x34f35a=_0x40deb0['find'](_0x2d23f1=>!(_0xa0d6ee['serverNoContextTakeover']===!0x1&&_0x2d23f1['server_no_context_takeover']||_0x2d23f1[_0x1baf58(0x159)]&&(_0xa0d6ee[_0x1baf58(0x124)]===!0x1||typeof _0xa0d6ee[_0x1baf58(0x124)]==_0x1baf58(0x21d)&&_0xa0d6ee['serverMaxWindowBits']>_0x2d23f1[_0x1baf58(0x159)])||typeof _0xa0d6ee[_0x1baf58(0x16b)]==_0x1baf58(0x21d)&&!_0x2d23f1[_0x1baf58(0x207)]));if(!_0x34f35a)throw new Error(_0x1baf58(0x230));return _0xa0d6ee['serverNoContextTakeover']&&(_0x34f35a['server_no_context_takeover']=!0x0),_0xa0d6ee[_0x1baf58(0x76)]&&(_0x34f35a[_0x1baf58(0x1ee)]=!0x0),typeof _0xa0d6ee['serverMaxWindowBits']==_0x1baf58(0x21d)&&(_0x34f35a[_0x1baf58(0x159)]=_0xa0d6ee['serverMaxWindowBits']),typeof _0xa0d6ee[_0x1baf58(0x16b)]==_0x1baf58(0x21d)?_0x34f35a[_0x1baf58(0x207)]=_0xa0d6ee[_0x1baf58(0x16b)]:(_0x34f35a[_0x1baf58(0x207)]===!0x0||_0xa0d6ee['clientMaxWindowBits']===!0x1)&&delete _0x34f35a[_0x1baf58(0x207)],_0x34f35a;}[_0x3bf5d7(0x1ad)](_0x5bdb6c){const _0x3cf29e=_0x3bf5d7,_0x73f76f=_0x5bdb6c[0x0];if(this[_0x3cf29e(0x163)][_0x3cf29e(0x76)]===!0x1&&_0x73f76f['client_no_context_takeover'])throw new Error(_0x3cf29e(0x171));if(!_0x73f76f['client_max_window_bits'])typeof this[_0x3cf29e(0x163)][_0x3cf29e(0x16b)]==_0x3cf29e(0x21d)&&(_0x73f76f[_0x3cf29e(0x207)]=this[_0x3cf29e(0x163)][_0x3cf29e(0x16b)]);else{if(this[_0x3cf29e(0x163)][_0x3cf29e(0x16b)]===!0x1||typeof this[_0x3cf29e(0x163)][_0x3cf29e(0x16b)]==_0x3cf29e(0x21d)&&_0x73f76f[_0x3cf29e(0x207)]>this[_0x3cf29e(0x163)][_0x3cf29e(0x16b)])throw new Error(_0x3cf29e(0x11b));}return _0x73f76f;}[_0x3bf5d7(0x20e)](_0x1900fc){const _0xf1cd6a=_0x3bf5d7;return _0x1900fc[_0xf1cd6a(0xb1)](_0x1ee0bb=>{const _0xffa051=_0xf1cd6a;Object[_0xffa051(0x127)](_0x1ee0bb)[_0xffa051(0xb1)](_0x582ce9=>{const _0x5a63b2=_0xffa051;let _0x2c32d9=_0x1ee0bb[_0x582ce9];if(_0x2c32d9[_0x5a63b2(0x165)]>0x1)throw new Error('Parameter\x20\x22'+_0x582ce9+'\x22\x20must\x20have\x20only\x20a\x20single\x20value');if(_0x2c32d9=_0x2c32d9[0x0],_0x582ce9==='client_max_window_bits'){if(_0x2c32d9!==!0x0){const _0x6d1dd4=+_0x2c32d9;if(!Number[_0x5a63b2(0x1b9)](_0x6d1dd4)||_0x6d1dd4<0x8||_0x6d1dd4>0xf)throw new TypeError(_0x5a63b2(0x190)+_0x582ce9+_0x5a63b2(0x1d0)+_0x2c32d9);_0x2c32d9=_0x6d1dd4;}else{if(!this['_isServer'])throw new TypeError(_0x5a63b2(0x190)+_0x582ce9+_0x5a63b2(0x1d0)+_0x2c32d9);}}else{if(_0x582ce9===_0x5a63b2(0x159)){const _0x806750=+_0x2c32d9;if(!Number[_0x5a63b2(0x1b9)](_0x806750)||_0x806750<0x8||_0x806750>0xf)throw new TypeError(_0x5a63b2(0x190)+_0x582ce9+_0x5a63b2(0x1d0)+_0x2c32d9);_0x2c32d9=_0x806750;}else{if(_0x582ce9===_0x5a63b2(0x1ee)||_0x582ce9===_0x5a63b2(0x11a)){if(_0x2c32d9!==!0x0)throw new TypeError(_0x5a63b2(0x190)+_0x582ce9+'\x22:\x20'+_0x2c32d9);}else throw new Error(_0x5a63b2(0x19d)+_0x582ce9+'\x22');}}_0x1ee0bb[_0x582ce9]=_0x2c32d9;});}),_0x1900fc;}[_0x3bf5d7(0x98)](_0x463e9d,_0x18d8ff,_0x3e4b5d){const _0x5cc5be=_0x3bf5d7;_0x3dbea7[_0x5cc5be(0x1e7)](_0x507d91=>{this['_decompress'](_0x463e9d,_0x18d8ff,(_0x285bb6,_0x415ba0)=>{_0x507d91(),_0x3e4b5d(_0x285bb6,_0x415ba0);});});}['compress'](_0x5b80ed,_0x23b4bf,_0x2912d1){const _0x3dfde0=_0x3bf5d7;_0x3dbea7[_0x3dfde0(0x1e7)](_0x338216=>{const _0x18a821=_0x3dfde0;this[_0x18a821(0x217)](_0x5b80ed,_0x23b4bf,(_0x5dd256,_0x51e83a)=>{_0x338216(),_0x2912d1(_0x5dd256,_0x51e83a);});});}['_decompress'](_0x55f295,_0x17c931,_0x373a6c){const _0x1ea237=_0x3bf5d7,_0x95626a=this['_isServer']?_0x1ea237(0x1fb):_0x1ea237(0x224);if(!this[_0x1ea237(0x189)]){const _0x48ff47=_0x95626a+_0x1ea237(0x14e),_0x7aed7d=typeof this[_0x1ea237(0x147)][_0x48ff47]!='number'?_0x35de5b[_0x1ea237(0x222)]:this['params'][_0x48ff47];this[_0x1ea237(0x189)]=_0x35de5b['createInflateRaw']({...this['_options'][_0x1ea237(0xcc)],'windowBits':_0x7aed7d}),this['_inflate'][_0x4423c3]=this,this[_0x1ea237(0x189)][_0x56b658]=0x0,this[_0x1ea237(0x189)][_0x4a495c]=[],this['_inflate']['on'](_0x1ea237(0xa7),_0x488e76),this[_0x1ea237(0x189)]['on']('data',_0x17e8c1);}this['_inflate'][_0x2081de]=_0x373a6c,this[_0x1ea237(0x189)][_0x1ea237(0x1e4)](_0x55f295),_0x17c931&&this[_0x1ea237(0x189)][_0x1ea237(0x1e4)](_0x3bb380),this[_0x1ea237(0x189)]['flush'](()=>{const _0x4dcc9e=_0x1ea237,_0x220ec6=this[_0x4dcc9e(0x189)][_0x290d70];if(_0x220ec6){this['_inflate'][_0x4dcc9e(0x19f)](),this[_0x4dcc9e(0x189)]=null,_0x373a6c(_0x220ec6);return;}const _0xbe8e7e=_0x3ea422[_0x4dcc9e(0x1da)](this[_0x4dcc9e(0x189)][_0x4a495c],this[_0x4dcc9e(0x189)][_0x56b658]);this[_0x4dcc9e(0x189)][_0x4dcc9e(0x1cf)][_0x4dcc9e(0x20a)]?(this['_inflate']['close'](),this[_0x4dcc9e(0x189)]=null):(this[_0x4dcc9e(0x189)][_0x56b658]=0x0,this[_0x4dcc9e(0x189)][_0x4a495c]=[],_0x17c931&&this[_0x4dcc9e(0x147)][_0x95626a+_0x4dcc9e(0x1f9)]&&this[_0x4dcc9e(0x189)]['reset']()),_0x373a6c(null,_0xbe8e7e);});}[_0x3bf5d7(0x217)](_0xac97a9,_0x124f32,_0x14aabd){const _0x1ef8fe=_0x3bf5d7,_0x5ccb68=this['_isServer']?_0x1ef8fe(0x224):_0x1ef8fe(0x1fb);if(!this[_0x1ef8fe(0x118)]){const _0x599d6d=_0x5ccb68+'_max_window_bits',_0x2dd4c2=typeof this[_0x1ef8fe(0x147)][_0x599d6d]!='number'?_0x35de5b[_0x1ef8fe(0x222)]:this['params'][_0x599d6d];this[_0x1ef8fe(0x118)]=_0x35de5b[_0x1ef8fe(0x9e)]({...this[_0x1ef8fe(0x163)]['zlibDeflateOptions'],'windowBits':_0x2dd4c2}),this[_0x1ef8fe(0x118)][_0x56b658]=0x0,this[_0x1ef8fe(0x118)][_0x4a495c]=[],this[_0x1ef8fe(0x118)]['on'](_0x1ef8fe(0x1e6),_0x327d94);}this[_0x1ef8fe(0x118)][_0x2081de]=_0x14aabd,this['_deflate']['write'](_0xac97a9),this['_deflate']['flush'](_0x35de5b[_0x1ef8fe(0x1e2)],()=>{const _0x934785=_0x1ef8fe;if(!this[_0x934785(0x118)])return;let _0x564574=_0x3ea422[_0x934785(0x1da)](this[_0x934785(0x118)][_0x4a495c],this[_0x934785(0x118)][_0x56b658]);_0x124f32&&(_0x564574=new _0x139e6f(_0x564574[_0x934785(0xbe)],_0x564574[_0x934785(0xd4)],_0x564574[_0x934785(0x165)]-0x4)),this['_deflate'][_0x2081de]=null,this[_0x934785(0x118)][_0x56b658]=0x0,this[_0x934785(0x118)][_0x4a495c]=[],_0x124f32&&this[_0x934785(0x147)][_0x5ccb68+_0x934785(0x1f9)]&&this['_deflate'][_0x934785(0x103)](),_0x14aabd(null,_0x564574);});}}ve=_0x57ce70;function _0x327d94(_0xfcb448){const _0x3e3763=_0x3bf5d7;this[_0x4a495c][_0x3e3763(0x19b)](_0xfcb448),this[_0x56b658]+=_0xfcb448[_0x3e3763(0x165)];}function _0x17e8c1(_0x5956e0){const _0x324838=_0x3bf5d7;if(this[_0x56b658]+=_0x5956e0[_0x324838(0x165)],this[_0x4423c3][_0x324838(0x108)]<0x1||this[_0x56b658]<=this[_0x4423c3]['_maxPayload']){this[_0x4a495c]['push'](_0x5956e0);return;}this[_0x290d70]=new RangeError('Max\x20payload\x20size\x20exceeded'),this[_0x290d70]['code']=_0x324838(0x1c7),this[_0x290d70][_0x5bfb8c]=0x3f1,this[_0x324838(0x226)](_0x324838(0x1e6),_0x17e8c1),this[_0x324838(0x103)]();}function _0x488e76(_0x23b3c0){const _0x2ff37e=_0x3bf5d7;if(this[_0x4423c3][_0x2ff37e(0x189)]=null,this[_0x290d70]){this[_0x2081de](this[_0x290d70]);return;}_0x23b3c0[_0x5bfb8c]=0x3ef,this[_0x2081de](_0x23b3c0);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0xc05e9f(0x233)](Object[_0xc05e9f(0xb0)]({'__proto__':null,'default':Dt},Symbol['toStringTag'],{'value':_0xc05e9f(0x156)})),Bt=at(Rt);var Ye;function ae(){const _0x16729b=_0xc05e9f;if(Ye)return ie['exports'];Ye=0x1;const {isUtf8:_0x3d2265}=wt,{hasBlob:_0x545f4e}=H(),_0x73cc86=[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 _0x20cabe(_0x15b710){return _0x15b710>=0x3e8&&_0x15b710<=0x3f6&&_0x15b710!==0x3ec&&_0x15b710!==0x3ed&&_0x15b710!==0x3ee||_0x15b710>=0xbb8&&_0x15b710<=0x1387;}function _0x1ce0e0(_0x242a26){const _0x6b027c=_0x30ad,_0x231283=_0x242a26[_0x6b027c(0x165)];let _0xf5a4e6=0x0;for(;_0xf5a4e6<_0x231283;)if((_0x242a26[_0xf5a4e6]&0x80)===0x0)_0xf5a4e6++;else{if((_0x242a26[_0xf5a4e6]&0xe0)===0xc0){if(_0xf5a4e6+0x1===_0x231283||(_0x242a26[_0xf5a4e6+0x1]&0xc0)!==0x80||(_0x242a26[_0xf5a4e6]&0xfe)===0xc0)return!0x1;_0xf5a4e6+=0x2;}else{if((_0x242a26[_0xf5a4e6]&0xf0)===0xe0){if(_0xf5a4e6+0x2>=_0x231283||(_0x242a26[_0xf5a4e6+0x1]&0xc0)!==0x80||(_0x242a26[_0xf5a4e6+0x2]&0xc0)!==0x80||_0x242a26[_0xf5a4e6]===0xe0&&(_0x242a26[_0xf5a4e6+0x1]&0xe0)===0x80||_0x242a26[_0xf5a4e6]===0xed&&(_0x242a26[_0xf5a4e6+0x1]&0xe0)===0xa0)return!0x1;_0xf5a4e6+=0x3;}else{if((_0x242a26[_0xf5a4e6]&0xf8)===0xf0){if(_0xf5a4e6+0x3>=_0x231283||(_0x242a26[_0xf5a4e6+0x1]&0xc0)!==0x80||(_0x242a26[_0xf5a4e6+0x2]&0xc0)!==0x80||(_0x242a26[_0xf5a4e6+0x3]&0xc0)!==0x80||_0x242a26[_0xf5a4e6]===0xf0&&(_0x242a26[_0xf5a4e6+0x1]&0xf0)===0x80||_0x242a26[_0xf5a4e6]===0xf4&&_0x242a26[_0xf5a4e6+0x1]>0x8f||_0x242a26[_0xf5a4e6]>0xf4)return!0x1;_0xf5a4e6+=0x4;}else return!0x1;}}}return!0x0;}function _0x467a18(_0x147522){const _0x576a47=_0x30ad;return _0x545f4e&&typeof _0x147522==_0x576a47(0xfd)&&typeof _0x147522[_0x576a47(0x216)]==_0x576a47(0x145)&&typeof _0x147522[_0x576a47(0x200)]==_0x576a47(0xc7)&&typeof _0x147522[_0x576a47(0x228)]==_0x576a47(0x145)&&(_0x147522[Symbol[_0x576a47(0x16e)]]===_0x576a47(0x137)||_0x147522[Symbol[_0x576a47(0x16e)]]===_0x576a47(0x1cb));}if(ie[_0x16729b(0xd2)]={'isBlob':_0x467a18,'isValidStatusCode':_0x20cabe,'isValidUTF8':_0x1ce0e0,'tokenChars':_0x73cc86},_0x3d2265)ie[_0x16729b(0xd2)][_0x16729b(0x104)]=function(_0x5715ba){const _0x516102=_0x16729b;return _0x5715ba[_0x516102(0x165)]<0x18?_0x1ce0e0(_0x5715ba):_0x3d2265(_0x5715ba);};else{if(!process[_0x16729b(0xb5)][_0x16729b(0x1b1)])try{const _0x493c4c=Bt;ie['exports'][_0x16729b(0x104)]=function(_0x519a05){const _0x245848=_0x16729b;return _0x519a05[_0x245848(0x165)]<0x20?_0x1ce0e0(_0x519a05):_0x493c4c(_0x519a05);};}catch{}}return ie['exports'];}var Se,Ke;function lt(){const _0x423efa=_0xc05e9f;if(Ke)return Se;Ke=0x1;const {Writable:_0x3f527d}=oe,_0x1b032c=he(),{BINARY_TYPES:_0x59dd35,EMPTY_BUFFER:_0x281423,kStatusCode:_0x59a927,kWebSocket:_0x15e0c1}=H(),{concat:_0xa35159,toArrayBuffer:_0x5a156f,unmask:_0x3fa866}=ce(),{isValidStatusCode:_0xb9a204,isValidUTF8:_0x2ed3f7}=ae(),_0x89beec=Buffer[Symbol[_0x423efa(0x18b)]],_0xc8d67e=0x0,_0x341cf3=0x1,_0x57e9aa=0x2,_0x135c66=0x3,_0x205ba4=0x4,_0x1a5b29=0x5,_0x5b7f66=0x6;class _0x4059f6 extends _0x3f527d{constructor(_0x258320={}){const _0x4d7ca2=_0x423efa;super(),this[_0x4d7ca2(0xe9)]=_0x258320[_0x4d7ca2(0x9a)]!==void 0x0?_0x258320[_0x4d7ca2(0x9a)]:!0x0,this[_0x4d7ca2(0x22b)]=_0x258320['binaryType']||_0x59dd35[0x0],this[_0x4d7ca2(0x1ef)]=_0x258320[_0x4d7ca2(0xb6)]||{},this[_0x4d7ca2(0x1e1)]=!!_0x258320[_0x4d7ca2(0x12c)],this[_0x4d7ca2(0x108)]=_0x258320['maxPayload']|0x0,this[_0x4d7ca2(0x1ca)]=!!_0x258320[_0x4d7ca2(0xe6)],this[_0x15e0c1]=void 0x0,this['_bufferedBytes']=0x0,this[_0x4d7ca2(0x10f)]=[],this[_0x4d7ca2(0x194)]=!0x1,this['_payloadLength']=0x0,this[_0x4d7ca2(0x81)]=void 0x0,this[_0x4d7ca2(0x182)]=0x0,this[_0x4d7ca2(0x17b)]=!0x1,this[_0x4d7ca2(0x22c)]=!0x1,this[_0x4d7ca2(0x164)]=0x0,this['_totalPayloadLength']=0x0,this[_0x4d7ca2(0xc5)]=0x0,this['_fragments']=[],this[_0x4d7ca2(0x20c)]=!0x1,this[_0x4d7ca2(0xfa)]=!0x1,this['_state']=_0xc8d67e;}[_0x423efa(0xc2)](_0x36f842,_0x43154a,_0x7b2e51){const _0x279be3=_0x423efa;if(this[_0x279be3(0x164)]===0x8&&this[_0x279be3(0xc4)]==_0xc8d67e)return _0x7b2e51();this[_0x279be3(0xc1)]+=_0x36f842[_0x279be3(0x165)],this[_0x279be3(0x10f)]['push'](_0x36f842),this[_0x279be3(0x1c1)](_0x7b2e51);}['consume'](_0x4235cf){const _0x4ef79e=_0x423efa;if(this[_0x4ef79e(0xc1)]-=_0x4235cf,_0x4235cf===this[_0x4ef79e(0x10f)][0x0][_0x4ef79e(0x165)])return this[_0x4ef79e(0x10f)]['shift']();if(_0x4235cf<this[_0x4ef79e(0x10f)][0x0]['length']){const _0x489cc0=this[_0x4ef79e(0x10f)][0x0];return this['_buffers'][0x0]=new _0x89beec(_0x489cc0[_0x4ef79e(0xbe)],_0x489cc0[_0x4ef79e(0xd4)]+_0x4235cf,_0x489cc0[_0x4ef79e(0x165)]-_0x4235cf),new _0x89beec(_0x489cc0[_0x4ef79e(0xbe)],_0x489cc0[_0x4ef79e(0xd4)],_0x4235cf);}const _0xb387f7=Buffer[_0x4ef79e(0x13c)](_0x4235cf);do{const _0x1792d7=this[_0x4ef79e(0x10f)][0x0],_0x80ee11=_0xb387f7[_0x4ef79e(0x165)]-_0x4235cf;_0x4235cf>=_0x1792d7['length']?_0xb387f7[_0x4ef79e(0x22d)](this[_0x4ef79e(0x10f)][_0x4ef79e(0xe1)](),_0x80ee11):(_0xb387f7[_0x4ef79e(0x22d)](new Uint8Array(_0x1792d7[_0x4ef79e(0xbe)],_0x1792d7[_0x4ef79e(0xd4)],_0x4235cf),_0x80ee11),this[_0x4ef79e(0x10f)][0x0]=new _0x89beec(_0x1792d7[_0x4ef79e(0xbe)],_0x1792d7['byteOffset']+_0x4235cf,_0x1792d7[_0x4ef79e(0x165)]-_0x4235cf)),_0x4235cf-=_0x1792d7['length'];}while(_0x4235cf>0x0);return _0xb387f7;}[_0x423efa(0x1c1)](_0x22fb25){const _0xab8d42=_0x423efa;this[_0xab8d42(0xfa)]=!0x0;do switch(this[_0xab8d42(0xc4)]){case _0xc8d67e:this[_0xab8d42(0x9c)](_0x22fb25);break;case _0x341cf3:this[_0xab8d42(0x1b4)](_0x22fb25);break;case _0x57e9aa:this['getPayloadLength64'](_0x22fb25);break;case _0x135c66:this[_0xab8d42(0x17e)]();break;case _0x205ba4:this[_0xab8d42(0xe2)](_0x22fb25);break;case _0x1a5b29:case _0x5b7f66:this[_0xab8d42(0xfa)]=!0x1;return;}while(this[_0xab8d42(0xfa)]);this[_0xab8d42(0x20c)]||_0x22fb25();}['getInfo'](_0x2694fb){const _0x2f6147=_0x423efa;if(this[_0x2f6147(0xc1)]<0x2){this[_0x2f6147(0xfa)]=!0x1;return;}const _0x4a3ebe=this['consume'](0x2);if((_0x4a3ebe[0x0]&0x30)!==0x0){const _0x245ef8=this[_0x2f6147(0x1c8)](RangeError,_0x2f6147(0xed),!0x0,0x3ea,_0x2f6147(0x14f));_0x2694fb(_0x245ef8);return;}const _0x10fb07=(_0x4a3ebe[0x0]&0x40)===0x40;if(_0x10fb07&&!this['_extensions'][_0x1b032c[_0x2f6147(0x18d)]]){const _0xe9a1a0=this[_0x2f6147(0x1c8)](RangeError,_0x2f6147(0x1ed),!0x0,0x3ea,_0x2f6147(0x177));_0x2694fb(_0xe9a1a0);return;}if(this[_0x2f6147(0x22c)]=(_0x4a3ebe[0x0]&0x80)===0x80,this['_opcode']=_0x4a3ebe[0x0]&0xf,this[_0x2f6147(0x188)]=_0x4a3ebe[0x1]&0x7f,this['_opcode']===0x0){if(_0x10fb07){const _0x380357=this[_0x2f6147(0x1c8)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x2694fb(_0x380357);return;}if(!this['_fragmented']){const _0x197350=this['createError'](RangeError,_0x2f6147(0x142),!0x0,0x3ea,_0x2f6147(0x203));_0x2694fb(_0x197350);return;}this[_0x2f6147(0x164)]=this[_0x2f6147(0x182)];}else{if(this['_opcode']===0x1||this[_0x2f6147(0x164)]===0x2){if(this[_0x2f6147(0x182)]){const _0x1a8bd0=this[_0x2f6147(0x1c8)](RangeError,_0x2f6147(0x10d)+this[_0x2f6147(0x164)],!0x0,0x3ea,_0x2f6147(0x203));_0x2694fb(_0x1a8bd0);return;}this[_0x2f6147(0x194)]=_0x10fb07;}else{if(this[_0x2f6147(0x164)]>0x7&&this['_opcode']<0xb){if(!this[_0x2f6147(0x22c)]){const _0x475a75=this[_0x2f6147(0x1c8)](RangeError,'FIN\x20must\x20be\x20set',!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0x2694fb(_0x475a75);return;}if(_0x10fb07){const _0x32d1da=this['createError'](RangeError,_0x2f6147(0x1ed),!0x0,0x3ea,_0x2f6147(0x177));_0x2694fb(_0x32d1da);return;}if(this[_0x2f6147(0x188)]>0x7d||this[_0x2f6147(0x164)]===0x8&&this[_0x2f6147(0x188)]===0x1){const _0x45007a=this['createError'](RangeError,'invalid\x20payload\x20length\x20'+this[_0x2f6147(0x188)],!0x0,0x3ea,_0x2f6147(0x105));_0x2694fb(_0x45007a);return;}}else{const _0xc2ef2c=this['createError'](RangeError,_0x2f6147(0x10d)+this[_0x2f6147(0x164)],!0x0,0x3ea,_0x2f6147(0x203));_0x2694fb(_0xc2ef2c);return;}}}if(!this[_0x2f6147(0x22c)]&&!this[_0x2f6147(0x182)]&&(this[_0x2f6147(0x182)]=this['_opcode']),this[_0x2f6147(0x17b)]=(_0x4a3ebe[0x1]&0x80)===0x80,this[_0x2f6147(0x1e1)]){if(!this[_0x2f6147(0x17b)]){const _0x2915a4=this[_0x2f6147(0x1c8)](RangeError,_0x2f6147(0xf0),!0x0,0x3ea,_0x2f6147(0x1ea));_0x2694fb(_0x2915a4);return;}}else{if(this[_0x2f6147(0x17b)]){const _0x2ca6d8=this[_0x2f6147(0x1c8)](RangeError,_0x2f6147(0x214),!0x0,0x3ea,_0x2f6147(0xea));_0x2694fb(_0x2ca6d8);return;}}this['_payloadLength']===0x7e?this[_0x2f6147(0xc4)]=_0x341cf3:this['_payloadLength']===0x7f?this['_state']=_0x57e9aa:this[_0x2f6147(0x1cc)](_0x2694fb);}[_0x423efa(0x1b4)](_0x18736a){const _0x54a479=_0x423efa;if(this[_0x54a479(0xc1)]<0x2){this[_0x54a479(0xfa)]=!0x1;return;}this[_0x54a479(0x188)]=this[_0x54a479(0x7f)](0x2)[_0x54a479(0x15a)](0x0),this[_0x54a479(0x1cc)](_0x18736a);}[_0x423efa(0xe7)](_0x36e4d1){const _0x524732=_0x423efa;if(this[_0x524732(0xc1)]<0x8){this[_0x524732(0xfa)]=!0x1;return;}const _0x56f41c=this[_0x524732(0x7f)](0x8),_0x18e435=_0x56f41c[_0x524732(0x8e)](0x0);if(_0x18e435>Math[_0x524732(0x1f2)](0x2,0x15)-0x1){const _0x5bb0fa=this[_0x524732(0x1c8)](RangeError,_0x524732(0x13b),!0x1,0x3f1,_0x524732(0x11f));_0x36e4d1(_0x5bb0fa);return;}this['_payloadLength']=_0x18e435*Math['pow'](0x2,0x20)+_0x56f41c[_0x524732(0x8e)](0x4),this[_0x524732(0x1cc)](_0x36e4d1);}[_0x423efa(0x1cc)](_0x5038d9){const _0x11dfe6=_0x423efa;if(this[_0x11dfe6(0x188)]&&this['_opcode']<0x8&&(this[_0x11dfe6(0x1b8)]+=this['_payloadLength'],this['_totalPayloadLength']>this[_0x11dfe6(0x108)]&&this['_maxPayload']>0x0)){const _0x2c470d=this[_0x11dfe6(0x1c8)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x5038d9(_0x2c470d);return;}this[_0x11dfe6(0x17b)]?this['_state']=_0x135c66:this['_state']=_0x205ba4;}['getMask'](){const _0x3ca3c5=_0x423efa;if(this[_0x3ca3c5(0xc1)]<0x4){this[_0x3ca3c5(0xfa)]=!0x1;return;}this['_mask']=this[_0x3ca3c5(0x7f)](0x4),this[_0x3ca3c5(0xc4)]=_0x205ba4;}[_0x423efa(0xe2)](_0x37cf33){const _0xa2427=_0x423efa;let _0x4d4a88=_0x281423;if(this['_payloadLength']){if(this[_0xa2427(0xc1)]<this[_0xa2427(0x188)]){this[_0xa2427(0xfa)]=!0x1;return;}_0x4d4a88=this[_0xa2427(0x7f)](this[_0xa2427(0x188)]),this[_0xa2427(0x17b)]&&(this['_mask'][0x0]|this[_0xa2427(0x81)][0x1]|this[_0xa2427(0x81)][0x2]|this[_0xa2427(0x81)][0x3])!==0x0&&_0x3fa866(_0x4d4a88,this[_0xa2427(0x81)]);}if(this['_opcode']>0x7){this[_0xa2427(0xf8)](_0x4d4a88,_0x37cf33);return;}if(this[_0xa2427(0x194)]){this[_0xa2427(0xc4)]=_0x1a5b29,this['decompress'](_0x4d4a88,_0x37cf33);return;}_0x4d4a88['length']&&(this[_0xa2427(0xc5)]=this[_0xa2427(0x1b8)],this[_0xa2427(0x150)][_0xa2427(0x19b)](_0x4d4a88)),this[_0xa2427(0x1ac)](_0x37cf33);}[_0x423efa(0x98)](_0x11612a,_0x501878){const _0x588e29=_0x423efa;this['_extensions'][_0x1b032c[_0x588e29(0x18d)]]['decompress'](_0x11612a,this[_0x588e29(0x22c)],(_0x33609a,_0x111a05)=>{const _0x288a87=_0x588e29;if(_0x33609a)return _0x501878(_0x33609a);if(_0x111a05[_0x288a87(0x165)]){if(this[_0x288a87(0xc5)]+=_0x111a05[_0x288a87(0x165)],this[_0x288a87(0xc5)]>this[_0x288a87(0x108)]&&this[_0x288a87(0x108)]>0x0){const _0x13d380=this['createError'](RangeError,_0x288a87(0xce),!0x1,0x3f1,_0x288a87(0x1c7));_0x501878(_0x13d380);return;}this[_0x288a87(0x150)][_0x288a87(0x19b)](_0x111a05);}this[_0x288a87(0x1ac)](_0x501878),this['_state']===_0xc8d67e&&this[_0x288a87(0x1c1)](_0x501878);});}[_0x423efa(0x1ac)](_0xe9465f){const _0x5661e3=_0x423efa;if(!this['_fin']){this[_0x5661e3(0xc4)]=_0xc8d67e;return;}const _0x496a08=this['_messageLength'],_0x5c2523=this[_0x5661e3(0x150)];if(this['_totalPayloadLength']=0x0,this[_0x5661e3(0xc5)]=0x0,this['_fragmented']=0x0,this[_0x5661e3(0x150)]=[],this['_opcode']===0x2){let _0x459af3;this[_0x5661e3(0x22b)]==='nodebuffer'?_0x459af3=_0xa35159(_0x5c2523,_0x496a08):this[_0x5661e3(0x22b)]===_0x5661e3(0x160)?_0x459af3=_0x5a156f(_0xa35159(_0x5c2523,_0x496a08)):this[_0x5661e3(0x22b)]===_0x5661e3(0x229)?_0x459af3=new Blob(_0x5c2523):_0x459af3=_0x5c2523,this[_0x5661e3(0xe9)]?(this[_0x5661e3(0x10a)](_0x5661e3(0x19e),_0x459af3,!0x0),this[_0x5661e3(0xc4)]=_0xc8d67e):(this['_state']=_0x5b7f66,setImmediate(()=>{const _0x272256=_0x5661e3;this[_0x272256(0x10a)](_0x272256(0x19e),_0x459af3,!0x0),this['_state']=_0xc8d67e,this[_0x272256(0x1c1)](_0xe9465f);}));}else{const _0x1f1800=_0xa35159(_0x5c2523,_0x496a08);if(!this[_0x5661e3(0x1ca)]&&!_0x2ed3f7(_0x1f1800)){const _0x41c2a8=this['createError'](Error,_0x5661e3(0xe3),!0x0,0x3ef,_0x5661e3(0x1f8));_0xe9465f(_0x41c2a8);return;}this[_0x5661e3(0xc4)]===_0x1a5b29||this['_allowSynchronousEvents']?(this[_0x5661e3(0x10a)](_0x5661e3(0x19e),_0x1f1800,!0x1),this[_0x5661e3(0xc4)]=_0xc8d67e):(this[_0x5661e3(0xc4)]=_0x5b7f66,setImmediate(()=>{const _0x2c3c60=_0x5661e3;this['emit'](_0x2c3c60(0x19e),_0x1f1800,!0x1),this[_0x2c3c60(0xc4)]=_0xc8d67e,this['startLoop'](_0xe9465f);}));}}[_0x423efa(0xf8)](_0x554e7d,_0x4b904c){const _0x39e7b5=_0x423efa;if(this[_0x39e7b5(0x164)]===0x8){if(_0x554e7d[_0x39e7b5(0x165)]===0x0)this['_loop']=!0x1,this[_0x39e7b5(0x10a)](_0x39e7b5(0x17c),0x3ed,_0x281423),this['end']();else{const _0xd3a58f=_0x554e7d['readUInt16BE'](0x0);if(!_0xb9a204(_0xd3a58f)){const _0x2749e7=this['createError'](RangeError,_0x39e7b5(0x196)+_0xd3a58f,!0x0,0x3ea,_0x39e7b5(0x1e8));_0x4b904c(_0x2749e7);return;}const _0x31e132=new _0x89beec(_0x554e7d[_0x39e7b5(0xbe)],_0x554e7d['byteOffset']+0x2,_0x554e7d['length']-0x2);if(!this['_skipUTF8Validation']&&!_0x2ed3f7(_0x31e132)){const _0x16e32d=this[_0x39e7b5(0x1c8)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x39e7b5(0x1f8));_0x4b904c(_0x16e32d);return;}this[_0x39e7b5(0xfa)]=!0x1,this[_0x39e7b5(0x10a)](_0x39e7b5(0x17c),_0xd3a58f,_0x31e132),this['end']();}this[_0x39e7b5(0xc4)]=_0xc8d67e;return;}this[_0x39e7b5(0xe9)]?(this['emit'](this[_0x39e7b5(0x164)]===0x9?_0x39e7b5(0x92):'pong',_0x554e7d),this['_state']=_0xc8d67e):(this[_0x39e7b5(0xc4)]=_0x5b7f66,setImmediate(()=>{const _0x2177fc=_0x39e7b5;this[_0x2177fc(0x10a)](this[_0x2177fc(0x164)]===0x9?'ping':'pong',_0x554e7d),this[_0x2177fc(0xc4)]=_0xc8d67e,this['startLoop'](_0x4b904c);}));}[_0x423efa(0x1c8)](_0x5d4184,_0x5613a7,_0x14af10,_0x5178ce,_0x1018f5){const _0x101630=_0x423efa;this['_loop']=!0x1,this[_0x101630(0x20c)]=!0x0;const _0x579736=new _0x5d4184(_0x14af10?'Invalid\x20WebSocket\x20frame:\x20'+_0x5613a7:_0x5613a7);return Error[_0x101630(0xd0)](_0x579736,this[_0x101630(0x1c8)]),_0x579736[_0x101630(0x94)]=_0x1018f5,_0x579736[_0x59a927]=_0x5178ce,_0x579736;}}return Se=_0x4059f6,Se;}var Ee,Xe;function ft(){const _0x5d7b10=_0xc05e9f;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x5f3f52}=oe,{randomFillSync:_0x5dfcb8}=Le,_0x1a3659=he(),{EMPTY_BUFFER:_0x3cca49,kWebSocket:_0x33be59,NOOP:_0x2ed656}=H(),{isBlob:_0x1c7b5b,isValidStatusCode:_0x2e243a}=ae(),{mask:_0x18408c,toBuffer:_0x190409}=ce(),_0x37676e=Symbol(_0x5d7b10(0x22e)),_0x70cb07=Buffer[_0x5d7b10(0x16c)](0x4),_0x571cf6=0x8*0x400;let _0x158b9e,_0x594dfe=_0x571cf6;const _0x31463b=0x0,_0x15434a=0x1,_0x5b9494=0x2;class _0x3611ec{constructor(_0x58400b,_0x5b0b2a,_0x29e54b){const _0x38014a=_0x5d7b10;this[_0x38014a(0x1ef)]=_0x5b0b2a||{},_0x29e54b&&(this[_0x38014a(0x238)]=_0x29e54b,this['_maskBuffer']=Buffer[_0x38014a(0x16c)](0x4)),this[_0x38014a(0xfc)]=_0x58400b,this[_0x38014a(0xae)]=!0x0,this['_compress']=!0x1,this[_0x38014a(0xc1)]=0x0,this[_0x38014a(0x8c)]=[],this[_0x38014a(0xc4)]=_0x31463b,this[_0x38014a(0x122)]=_0x2ed656,this[_0x33be59]=void 0x0;}static[_0x5d7b10(0x132)](_0x52be7f,_0x43cb41){const _0x43f7ca=_0x5d7b10;let _0x2a3db9,_0x212cd8=!0x1,_0x24d095=0x2,_0x3d7200=!0x1;_0x43cb41[_0x43f7ca(0xf3)]&&(_0x2a3db9=_0x43cb41[_0x43f7ca(0xa1)]||_0x70cb07,_0x43cb41[_0x43f7ca(0x192)]?_0x43cb41['generateMask'](_0x2a3db9):(_0x594dfe===_0x571cf6&&(_0x158b9e===void 0x0&&(_0x158b9e=Buffer['alloc'](_0x571cf6)),_0x5dfcb8(_0x158b9e,0x0,_0x571cf6),_0x594dfe=0x0),_0x2a3db9[0x0]=_0x158b9e[_0x594dfe++],_0x2a3db9[0x1]=_0x158b9e[_0x594dfe++],_0x2a3db9[0x2]=_0x158b9e[_0x594dfe++],_0x2a3db9[0x3]=_0x158b9e[_0x594dfe++]),_0x3d7200=(_0x2a3db9[0x0]|_0x2a3db9[0x1]|_0x2a3db9[0x2]|_0x2a3db9[0x3])===0x0,_0x24d095=0x6);let _0x1ff026;typeof _0x52be7f==_0x43f7ca(0xc7)?(!_0x43cb41[_0x43f7ca(0xf3)]||_0x3d7200)&&_0x43cb41[_0x37676e]!==void 0x0?_0x1ff026=_0x43cb41[_0x37676e]:(_0x52be7f=Buffer['from'](_0x52be7f),_0x1ff026=_0x52be7f['length']):(_0x1ff026=_0x52be7f[_0x43f7ca(0x165)],_0x212cd8=_0x43cb41[_0x43f7ca(0xf3)]&&_0x43cb41['readOnly']&&!_0x3d7200);let _0x5925e2=_0x1ff026;_0x1ff026>=0x10000?(_0x24d095+=0x8,_0x5925e2=0x7f):_0x1ff026>0x7d&&(_0x24d095+=0x2,_0x5925e2=0x7e);const _0x282afd=Buffer['allocUnsafe'](_0x212cd8?_0x1ff026+_0x24d095:_0x24d095);return _0x282afd[0x0]=_0x43cb41['fin']?_0x43cb41[_0x43f7ca(0x1d8)]|0x80:_0x43cb41[_0x43f7ca(0x1d8)],_0x43cb41[_0x43f7ca(0xd6)]&&(_0x282afd[0x0]|=0x40),_0x282afd[0x1]=_0x5925e2,_0x5925e2===0x7e?_0x282afd[_0x43f7ca(0x236)](_0x1ff026,0x2):_0x5925e2===0x7f&&(_0x282afd[0x2]=_0x282afd[0x3]=0x0,_0x282afd['writeUIntBE'](_0x1ff026,0x4,0x6)),_0x43cb41[_0x43f7ca(0xf3)]?(_0x282afd[0x1]|=0x80,_0x282afd[_0x24d095-0x4]=_0x2a3db9[0x0],_0x282afd[_0x24d095-0x3]=_0x2a3db9[0x1],_0x282afd[_0x24d095-0x2]=_0x2a3db9[0x2],_0x282afd[_0x24d095-0x1]=_0x2a3db9[0x3],_0x3d7200?[_0x282afd,_0x52be7f]:_0x212cd8?(_0x18408c(_0x52be7f,_0x2a3db9,_0x282afd,_0x24d095,_0x1ff026),[_0x282afd]):(_0x18408c(_0x52be7f,_0x2a3db9,_0x52be7f,0x0,_0x1ff026),[_0x282afd,_0x52be7f])):[_0x282afd,_0x52be7f];}[_0x5d7b10(0x19f)](_0x5ba737,_0x44a287,_0x46ea30,_0xeb45a3){const _0x2a67a3=_0x5d7b10;let _0x5ed8cf;if(_0x5ba737===void 0x0)_0x5ed8cf=_0x3cca49;else{if(typeof _0x5ba737!='number'||!_0x2e243a(_0x5ba737))throw new TypeError('First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number');if(_0x44a287===void 0x0||!_0x44a287['length'])_0x5ed8cf=Buffer[_0x2a67a3(0x13c)](0x2),_0x5ed8cf[_0x2a67a3(0x236)](_0x5ba737,0x0);else{const _0x11cff0=Buffer[_0x2a67a3(0xd3)](_0x44a287);if(_0x11cff0>0x7b)throw new RangeError(_0x2a67a3(0x99));_0x5ed8cf=Buffer[_0x2a67a3(0x13c)](0x2+_0x11cff0),_0x5ed8cf['writeUInt16BE'](_0x5ba737,0x0),typeof _0x44a287==_0x2a67a3(0xc7)?_0x5ed8cf[_0x2a67a3(0x1e4)](_0x44a287,0x2):_0x5ed8cf[_0x2a67a3(0x22d)](_0x44a287,0x2);}}const _0xdb3cd7={[_0x37676e]:_0x5ed8cf[_0x2a67a3(0x165)],'fin':!0x0,'generateMask':this[_0x2a67a3(0x238)],'mask':_0x46ea30,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x2a67a3(0xc4)]!==_0x31463b?this[_0x2a67a3(0xf2)]([this['dispatch'],_0x5ed8cf,!0x1,_0xdb3cd7,_0xeb45a3]):this[_0x2a67a3(0xf4)](_0x3611ec[_0x2a67a3(0x132)](_0x5ed8cf,_0xdb3cd7),_0xeb45a3);}[_0x5d7b10(0x92)](_0xf9ae36,_0x349bbe,_0x5526a4){const _0x315102=_0x5d7b10;let _0x5896a4,_0x1e70ab;if(typeof _0xf9ae36=='string'?(_0x5896a4=Buffer['byteLength'](_0xf9ae36),_0x1e70ab=!0x1):_0x1c7b5b(_0xf9ae36)?(_0x5896a4=_0xf9ae36['size'],_0x1e70ab=!0x1):(_0xf9ae36=_0x190409(_0xf9ae36),_0x5896a4=_0xf9ae36['length'],_0x1e70ab=_0x190409[_0x315102(0x148)]),_0x5896a4>0x7d)throw new RangeError(_0x315102(0x143));const _0x57512b={[_0x37676e]:_0x5896a4,'fin':!0x0,'generateMask':this[_0x315102(0x238)],'mask':_0x349bbe,'maskBuffer':this[_0x315102(0x225)],'opcode':0x9,'readOnly':_0x1e70ab,'rsv1':!0x1};_0x1c7b5b(_0xf9ae36)?this[_0x315102(0xc4)]!==_0x31463b?this['enqueue']([this[_0x315102(0xd5)],_0xf9ae36,!0x1,_0x57512b,_0x5526a4]):this['getBlobData'](_0xf9ae36,!0x1,_0x57512b,_0x5526a4):this[_0x315102(0xc4)]!==_0x31463b?this[_0x315102(0xf2)]([this['dispatch'],_0xf9ae36,!0x1,_0x57512b,_0x5526a4]):this[_0x315102(0xf4)](_0x3611ec[_0x315102(0x132)](_0xf9ae36,_0x57512b),_0x5526a4);}[_0x5d7b10(0x1cd)](_0x6fff4d,_0x9592b4,_0xa8b64f){const _0x272dd2=_0x5d7b10;let _0x50dc8b,_0x155cff;if(typeof _0x6fff4d==_0x272dd2(0xc7)?(_0x50dc8b=Buffer[_0x272dd2(0xd3)](_0x6fff4d),_0x155cff=!0x1):_0x1c7b5b(_0x6fff4d)?(_0x50dc8b=_0x6fff4d[_0x272dd2(0x77)],_0x155cff=!0x1):(_0x6fff4d=_0x190409(_0x6fff4d),_0x50dc8b=_0x6fff4d[_0x272dd2(0x165)],_0x155cff=_0x190409['readOnly']),_0x50dc8b>0x7d)throw new RangeError(_0x272dd2(0x143));const _0x5c6c92={[_0x37676e]:_0x50dc8b,'fin':!0x0,'generateMask':this[_0x272dd2(0x238)],'mask':_0x9592b4,'maskBuffer':this[_0x272dd2(0x225)],'opcode':0xa,'readOnly':_0x155cff,'rsv1':!0x1};_0x1c7b5b(_0x6fff4d)?this[_0x272dd2(0xc4)]!==_0x31463b?this[_0x272dd2(0xf2)]([this[_0x272dd2(0xd5)],_0x6fff4d,!0x1,_0x5c6c92,_0xa8b64f]):this[_0x272dd2(0xd5)](_0x6fff4d,!0x1,_0x5c6c92,_0xa8b64f):this[_0x272dd2(0xc4)]!==_0x31463b?this['enqueue']([this[_0x272dd2(0x95)],_0x6fff4d,!0x1,_0x5c6c92,_0xa8b64f]):this[_0x272dd2(0xf4)](_0x3611ec[_0x272dd2(0x132)](_0x6fff4d,_0x5c6c92),_0xa8b64f);}[_0x5d7b10(0x134)](_0x5d1664,_0x3143a6,_0x3ecbcb){const _0x566f4b=_0x5d7b10,_0x2b04fa=this['_extensions'][_0x1a3659[_0x566f4b(0x18d)]];let _0x32edae=_0x3143a6[_0x566f4b(0x187)]?0x2:0x1,_0x35dacc=_0x3143a6[_0x566f4b(0x15c)],_0x17cd08,_0x49934e;typeof _0x5d1664=='string'?(_0x17cd08=Buffer[_0x566f4b(0xd3)](_0x5d1664),_0x49934e=!0x1):_0x1c7b5b(_0x5d1664)?(_0x17cd08=_0x5d1664[_0x566f4b(0x77)],_0x49934e=!0x1):(_0x5d1664=_0x190409(_0x5d1664),_0x17cd08=_0x5d1664[_0x566f4b(0x165)],_0x49934e=_0x190409[_0x566f4b(0x148)]),this[_0x566f4b(0xae)]?(this[_0x566f4b(0xae)]=!0x1,_0x35dacc&&_0x2b04fa&&_0x2b04fa[_0x566f4b(0x147)][_0x2b04fa[_0x566f4b(0x1e1)]?'server_no_context_takeover':_0x566f4b(0x1ee)]&&(_0x35dacc=_0x17cd08>=_0x2b04fa[_0x566f4b(0x11d)]),this[_0x566f4b(0x217)]=_0x35dacc):(_0x35dacc=!0x1,_0x32edae=0x0),_0x3143a6[_0x566f4b(0x22f)]&&(this[_0x566f4b(0xae)]=!0x0);const _0x54f43b={[_0x37676e]:_0x17cd08,'fin':_0x3143a6[_0x566f4b(0x22f)],'generateMask':this[_0x566f4b(0x238)],'mask':_0x3143a6[_0x566f4b(0xf3)],'maskBuffer':this[_0x566f4b(0x225)],'opcode':_0x32edae,'readOnly':_0x49934e,'rsv1':_0x35dacc};_0x1c7b5b(_0x5d1664)?this[_0x566f4b(0xc4)]!==_0x31463b?this[_0x566f4b(0xf2)]([this[_0x566f4b(0xd5)],_0x5d1664,this[_0x566f4b(0x217)],_0x54f43b,_0x3ecbcb]):this[_0x566f4b(0xd5)](_0x5d1664,this[_0x566f4b(0x217)],_0x54f43b,_0x3ecbcb):this[_0x566f4b(0xc4)]!==_0x31463b?this[_0x566f4b(0xf2)]([this[_0x566f4b(0x95)],_0x5d1664,this[_0x566f4b(0x217)],_0x54f43b,_0x3ecbcb]):this['dispatch'](_0x5d1664,this['_compress'],_0x54f43b,_0x3ecbcb);}[_0x5d7b10(0xd5)](_0x13dd17,_0x3c5d40,_0x48082f,_0x48ece7){const _0x3246a0=_0x5d7b10;this['_bufferedBytes']+=_0x48082f[_0x37676e],this[_0x3246a0(0xc4)]=_0x5b9494,_0x13dd17[_0x3246a0(0x216)]()[_0x3246a0(0x201)](_0x3a5f08=>{const _0x3ca014=_0x3246a0;if(this[_0x3ca014(0xfc)][_0x3ca014(0x208)]){const _0x5a0890=new Error(_0x3ca014(0xfb));process[_0x3ca014(0x16d)](_0x26f6a4,this,_0x5a0890,_0x48ece7);return;}this[_0x3ca014(0xc1)]-=_0x48082f[_0x37676e];const _0x536737=_0x190409(_0x3a5f08);_0x3c5d40?this[_0x3ca014(0x95)](_0x536737,_0x3c5d40,_0x48082f,_0x48ece7):(this[_0x3ca014(0xc4)]=_0x31463b,this['sendFrame'](_0x3611ec[_0x3ca014(0x132)](_0x536737,_0x48082f),_0x48ece7),this['dequeue']());})[_0x3246a0(0x198)](_0x38fdae=>{process['nextTick'](_0x128bcc,this,_0x38fdae,_0x48ece7);});}[_0x5d7b10(0x95)](_0x3b2437,_0x13bb30,_0x938337,_0x4590ac){const _0x25639b=_0x5d7b10;if(!_0x13bb30){this[_0x25639b(0xf4)](_0x3611ec[_0x25639b(0x132)](_0x3b2437,_0x938337),_0x4590ac);return;}const _0x4daba8=this[_0x25639b(0x1ef)][_0x1a3659[_0x25639b(0x18d)]];this['_bufferedBytes']+=_0x938337[_0x37676e],this[_0x25639b(0xc4)]=_0x15434a,_0x4daba8[_0x25639b(0x15c)](_0x3b2437,_0x938337['fin'],(_0x2c7edb,_0x15651f)=>{const _0x1209cc=_0x25639b;if(this[_0x1209cc(0xfc)][_0x1209cc(0x208)]){const _0xfcb70a=new Error(_0x1209cc(0x14a));_0x26f6a4(this,_0xfcb70a,_0x4590ac);return;}this[_0x1209cc(0xc1)]-=_0x938337[_0x37676e],this[_0x1209cc(0xc4)]=_0x31463b,_0x938337[_0x1209cc(0x148)]=!0x1,this['sendFrame'](_0x3611ec[_0x1209cc(0x132)](_0x15651f,_0x938337),_0x4590ac),this['dequeue']();});}[_0x5d7b10(0xee)](){const _0x3151d8=_0x5d7b10;for(;this['_state']===_0x31463b&&this[_0x3151d8(0x8c)][_0x3151d8(0x165)];){const _0x3d10d1=this['_queue'][_0x3151d8(0xe1)]();this[_0x3151d8(0xc1)]-=_0x3d10d1[0x3][_0x37676e],Reflect['apply'](_0x3d10d1[0x0],this,_0x3d10d1[_0x3151d8(0x138)](0x1));}}['enqueue'](_0x305812){const _0x3b1bef=_0x5d7b10;this['_bufferedBytes']+=_0x305812[0x3][_0x37676e],this[_0x3b1bef(0x8c)]['push'](_0x305812);}[_0x5d7b10(0xf4)](_0x414ecf,_0x11ff5f){const _0x305ae8=_0x5d7b10;_0x414ecf[_0x305ae8(0x165)]===0x2?(this[_0x305ae8(0xfc)][_0x305ae8(0xff)](),this[_0x305ae8(0xfc)][_0x305ae8(0x1e4)](_0x414ecf[0x0]),this[_0x305ae8(0xfc)][_0x305ae8(0x1e4)](_0x414ecf[0x1],_0x11ff5f),this[_0x305ae8(0xfc)]['uncork']()):this[_0x305ae8(0xfc)]['write'](_0x414ecf[0x0],_0x11ff5f);}}Ee=_0x3611ec;function _0x26f6a4(_0xfe223c,_0x1a2208,_0x4b81c1){const _0x1da4b7=_0x5d7b10;typeof _0x4b81c1==_0x1da4b7(0x145)&&_0x4b81c1(_0x1a2208);for(let _0x5946bd=0x0;_0x5946bd<_0xfe223c[_0x1da4b7(0x8c)][_0x1da4b7(0x165)];_0x5946bd++){const _0x1e2ab2=_0xfe223c[_0x1da4b7(0x8c)][_0x5946bd],_0x3fbc74=_0x1e2ab2[_0x1e2ab2[_0x1da4b7(0x165)]-0x1];typeof _0x3fbc74==_0x1da4b7(0x145)&&_0x3fbc74(_0x1a2208);}}function _0x128bcc(_0x4fd807,_0x409ed9,_0x5e0245){_0x26f6a4(_0x4fd807,_0x409ed9,_0x5e0245),_0x4fd807['onerror'](_0x409ed9);}return Ee;}var xe,Ze;function It(){const _0x4386f3=_0xc05e9f;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x4d7fe2,kListener:_0x55980e}=H(),_0x2fc2be=Symbol(_0x4386f3(0x168)),_0x4ff23c=Symbol(_0x4386f3(0x170)),_0x13ddde=Symbol(_0x4386f3(0xb2)),_0x3aaec1=Symbol(_0x4386f3(0x173)),_0x1d66f3=Symbol('kReason'),_0x512015=Symbol(_0x4386f3(0x221)),_0x2ea133=Symbol(_0x4386f3(0xbb)),_0x485256=Symbol('kWasClean');class _0x4b8aa7{constructor(_0x4a06f5){this[_0x512015]=null,this[_0x2ea133]=_0x4a06f5;}get[_0x4386f3(0x21e)](){return this[_0x512015];}get[_0x4386f3(0x200)](){return this[_0x2ea133];}}Object[_0x4386f3(0xb0)](_0x4b8aa7['prototype'],_0x4386f3(0x21e),{'enumerable':!0x0}),Object[_0x4386f3(0xb0)](_0x4b8aa7['prototype'],_0x4386f3(0x200),{'enumerable':!0x0});class _0x5b27ef extends _0x4b8aa7{constructor(_0x2650e6,_0x5ab8eb={}){const _0x48d3b9=_0x4386f3;super(_0x2650e6),this[_0x2fc2be]=_0x5ab8eb[_0x48d3b9(0x94)]===void 0x0?0x0:_0x5ab8eb[_0x48d3b9(0x94)],this[_0x1d66f3]=_0x5ab8eb[_0x48d3b9(0x1e5)]===void 0x0?'':_0x5ab8eb[_0x48d3b9(0x1e5)],this[_0x485256]=_0x5ab8eb[_0x48d3b9(0x161)]===void 0x0?!0x1:_0x5ab8eb['wasClean'];}get[_0x4386f3(0x94)](){return this[_0x2fc2be];}get[_0x4386f3(0x1e5)](){return this[_0x1d66f3];}get['wasClean'](){return this[_0x485256];}}Object[_0x4386f3(0xb0)](_0x5b27ef[_0x4386f3(0x149)],_0x4386f3(0x94),{'enumerable':!0x0}),Object[_0x4386f3(0xb0)](_0x5b27ef['prototype'],'reason',{'enumerable':!0x0}),Object[_0x4386f3(0xb0)](_0x5b27ef['prototype'],'wasClean',{'enumerable':!0x0});class _0x5d3cd5 extends _0x4b8aa7{constructor(_0x13f1a0,_0x44ad72={}){const _0x4a9dbd=_0x4386f3;super(_0x13f1a0),this[_0x13ddde]=_0x44ad72[_0x4a9dbd(0xa7)]===void 0x0?null:_0x44ad72[_0x4a9dbd(0xa7)],this[_0x3aaec1]=_0x44ad72[_0x4a9dbd(0x19e)]===void 0x0?'':_0x44ad72['message'];}get['error'](){return this[_0x13ddde];}get[_0x4386f3(0x19e)](){return this[_0x3aaec1];}}Object['defineProperty'](_0x5d3cd5[_0x4386f3(0x149)],'error',{'enumerable':!0x0}),Object[_0x4386f3(0xb0)](_0x5d3cd5[_0x4386f3(0x149)],'message',{'enumerable':!0x0});class _0x262a66 extends _0x4b8aa7{constructor(_0x2ec8cc,_0x125bd1={}){const _0x10b4f4=_0x4386f3;super(_0x2ec8cc),this[_0x4ff23c]=_0x125bd1['data']===void 0x0?null:_0x125bd1[_0x10b4f4(0x1e6)];}get['data'](){return this[_0x4ff23c];}}Object[_0x4386f3(0xb0)](_0x262a66[_0x4386f3(0x149)],_0x4386f3(0x1e6),{'enumerable':!0x0}),xe={'CloseEvent':_0x5b27ef,'ErrorEvent':_0x5d3cd5,'Event':_0x4b8aa7,'EventTarget':{'addEventListener'(_0xaae2ab,_0x35a289,_0x303ea6={}){const _0x47017b=_0x4386f3;for(const _0x41fe58 of this['listeners'](_0xaae2ab))if(!_0x303ea6[_0x4d7fe2]&&_0x41fe58[_0x55980e]===_0x35a289&&!_0x41fe58[_0x4d7fe2])return;let _0x947874;if(_0xaae2ab===_0x47017b(0x19e))_0x947874=function(_0x473eb0,_0x28d925){const _0x9fb9f7=_0x47017b,_0x45669d=new _0x262a66(_0x9fb9f7(0x19e),{'data':_0x28d925?_0x473eb0:_0x473eb0[_0x9fb9f7(0x1ab)]()});_0x45669d[_0x512015]=this,_0x379ea0(_0x35a289,this,_0x45669d);};else{if(_0xaae2ab===_0x47017b(0x19f))_0x947874=function(_0x5d8510,_0x10d279){const _0x358dc4=_0x47017b,_0x3a4ef4=new _0x5b27ef(_0x358dc4(0x19f),{'code':_0x5d8510,'reason':_0x10d279[_0x358dc4(0x1ab)](),'wasClean':this['_closeFrameReceived']&&this[_0x358dc4(0x80)]});_0x3a4ef4[_0x512015]=this,_0x379ea0(_0x35a289,this,_0x3a4ef4);};else{if(_0xaae2ab==='error')_0x947874=function(_0x75cf08){const _0x189480=_0x47017b,_0x1ce539=new _0x5d3cd5(_0x189480(0xa7),{'error':_0x75cf08,'message':_0x75cf08[_0x189480(0x19e)]});_0x1ce539[_0x512015]=this,_0x379ea0(_0x35a289,this,_0x1ce539);};else{if(_0xaae2ab===_0x47017b(0x1ba))_0x947874=function(){const _0x548222=_0x47017b,_0x78befe=new _0x4b8aa7(_0x548222(0x1ba));_0x78befe[_0x512015]=this,_0x379ea0(_0x35a289,this,_0x78befe);};else return;}}}_0x947874[_0x4d7fe2]=!!_0x303ea6[_0x4d7fe2],_0x947874[_0x55980e]=_0x35a289,_0x303ea6[_0x47017b(0x14b)]?this[_0x47017b(0x14b)](_0xaae2ab,_0x947874):this['on'](_0xaae2ab,_0x947874);},'removeEventListener'(_0x497678,_0x43e93e){const _0x47045a=_0x4386f3;for(const _0x45db47 of this[_0x47045a(0xd9)](_0x497678))if(_0x45db47[_0x55980e]===_0x43e93e&&!_0x45db47[_0x4d7fe2]){this[_0x47045a(0x226)](_0x497678,_0x45db47);break;}}},'MessageEvent':_0x262a66};function _0x379ea0(_0x5d3a5e,_0x5c5b7b,_0x42afe4){const _0x253c01=_0x4386f3;typeof _0x5d3a5e==_0x253c01(0xfd)&&_0x5d3a5e['handleEvent']?_0x5d3a5e[_0x253c01(0xca)][_0x253c01(0x1a6)](_0x5d3a5e,_0x42afe4):_0x5d3a5e[_0x253c01(0x1a6)](_0x5c5b7b,_0x42afe4);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x57106d}=ae();function _0x31d00f(_0xecc7e7,_0x3a6d8a,_0x49414e){const _0x455a0f=_0x30ad;_0xecc7e7[_0x3a6d8a]===void 0x0?_0xecc7e7[_0x3a6d8a]=[_0x49414e]:_0xecc7e7[_0x3a6d8a][_0x455a0f(0x19b)](_0x49414e);}function _0x59dca2(_0x33f247){const _0x32e157=_0x30ad,_0x567b73=Object[_0x32e157(0xe8)](null);let _0x3d1167=Object[_0x32e157(0xe8)](null),_0x276c83=!0x1,_0x4aad4f=!0x1,_0xd5ded1=!0x1,_0x4e0707,_0x488d26,_0x22df8c=-0x1,_0x577e51=-0x1,_0x382824=-0x1,_0x4a1ab7=0x0;for(;_0x4a1ab7<_0x33f247[_0x32e157(0x165)];_0x4a1ab7++)if(_0x577e51=_0x33f247[_0x32e157(0x1a9)](_0x4a1ab7),_0x4e0707===void 0x0){if(_0x382824===-0x1&&_0x57106d[_0x577e51]===0x1)_0x22df8c===-0x1&&(_0x22df8c=_0x4a1ab7);else{if(_0x4a1ab7!==0x0&&(_0x577e51===0x20||_0x577e51===0x9))_0x382824===-0x1&&_0x22df8c!==-0x1&&(_0x382824=_0x4a1ab7);else{if(_0x577e51===0x3b||_0x577e51===0x2c){if(_0x22df8c===-0x1)throw new SyntaxError(_0x32e157(0x1c5)+_0x4a1ab7);_0x382824===-0x1&&(_0x382824=_0x4a1ab7);const _0x29d81e=_0x33f247[_0x32e157(0x138)](_0x22df8c,_0x382824);_0x577e51===0x2c?(_0x31d00f(_0x567b73,_0x29d81e,_0x3d1167),_0x3d1167=Object[_0x32e157(0xe8)](null)):_0x4e0707=_0x29d81e,_0x22df8c=_0x382824=-0x1;}else throw new SyntaxError(_0x32e157(0x1c5)+_0x4a1ab7);}}}else{if(_0x488d26===void 0x0){if(_0x382824===-0x1&&_0x57106d[_0x577e51]===0x1)_0x22df8c===-0x1&&(_0x22df8c=_0x4a1ab7);else{if(_0x577e51===0x20||_0x577e51===0x9)_0x382824===-0x1&&_0x22df8c!==-0x1&&(_0x382824=_0x4a1ab7);else{if(_0x577e51===0x3b||_0x577e51===0x2c){if(_0x22df8c===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x4a1ab7);_0x382824===-0x1&&(_0x382824=_0x4a1ab7),_0x31d00f(_0x3d1167,_0x33f247[_0x32e157(0x138)](_0x22df8c,_0x382824),!0x0),_0x577e51===0x2c&&(_0x31d00f(_0x567b73,_0x4e0707,_0x3d1167),_0x3d1167=Object[_0x32e157(0xe8)](null),_0x4e0707=void 0x0),_0x22df8c=_0x382824=-0x1;}else{if(_0x577e51===0x3d&&_0x22df8c!==-0x1&&_0x382824===-0x1)_0x488d26=_0x33f247['slice'](_0x22df8c,_0x4a1ab7),_0x22df8c=_0x382824=-0x1;else throw new SyntaxError(_0x32e157(0x1c5)+_0x4a1ab7);}}}}else{if(_0x4aad4f){if(_0x57106d[_0x577e51]!==0x1)throw new SyntaxError(_0x32e157(0x1c5)+_0x4a1ab7);_0x22df8c===-0x1?_0x22df8c=_0x4a1ab7:_0x276c83||(_0x276c83=!0x0),_0x4aad4f=!0x1;}else{if(_0xd5ded1){if(_0x57106d[_0x577e51]===0x1)_0x22df8c===-0x1&&(_0x22df8c=_0x4a1ab7);else{if(_0x577e51===0x22&&_0x22df8c!==-0x1)_0xd5ded1=!0x1,_0x382824=_0x4a1ab7;else{if(_0x577e51===0x5c)_0x4aad4f=!0x0;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x4a1ab7);}}}else{if(_0x577e51===0x22&&_0x33f247[_0x32e157(0x1a9)](_0x4a1ab7-0x1)===0x3d)_0xd5ded1=!0x0;else{if(_0x382824===-0x1&&_0x57106d[_0x577e51]===0x1)_0x22df8c===-0x1&&(_0x22df8c=_0x4a1ab7);else{if(_0x22df8c!==-0x1&&(_0x577e51===0x20||_0x577e51===0x9))_0x382824===-0x1&&(_0x382824=_0x4a1ab7);else{if(_0x577e51===0x3b||_0x577e51===0x2c){if(_0x22df8c===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x4a1ab7);_0x382824===-0x1&&(_0x382824=_0x4a1ab7);let _0x5af98d=_0x33f247['slice'](_0x22df8c,_0x382824);_0x276c83&&(_0x5af98d=_0x5af98d[_0x32e157(0x1a3)](/\\/g,''),_0x276c83=!0x1),_0x31d00f(_0x3d1167,_0x488d26,_0x5af98d),_0x577e51===0x2c&&(_0x31d00f(_0x567b73,_0x4e0707,_0x3d1167),_0x3d1167=Object[_0x32e157(0xe8)](null),_0x4e0707=void 0x0),_0x488d26=void 0x0,_0x22df8c=_0x382824=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x4a1ab7);}}}}}}}if(_0x22df8c===-0x1||_0xd5ded1||_0x577e51===0x20||_0x577e51===0x9)throw new SyntaxError(_0x32e157(0x1fd));_0x382824===-0x1&&(_0x382824=_0x4a1ab7);const _0x4e57b2=_0x33f247['slice'](_0x22df8c,_0x382824);return _0x4e0707===void 0x0?_0x31d00f(_0x567b73,_0x4e57b2,_0x3d1167):(_0x488d26===void 0x0?_0x31d00f(_0x3d1167,_0x4e57b2,!0x0):_0x276c83?_0x31d00f(_0x3d1167,_0x488d26,_0x4e57b2[_0x32e157(0x1a3)](/\\/g,'')):_0x31d00f(_0x3d1167,_0x488d26,_0x4e57b2),_0x31d00f(_0x567b73,_0x4e0707,_0x3d1167)),_0x567b73;}function _0x29e89d(_0x169594){const _0x3768a3=_0x30ad;return Object[_0x3768a3(0x127)](_0x169594)[_0x3768a3(0x1ae)](_0x9f900a=>{const _0x484f37=_0x3768a3;let _0x1048a0=_0x169594[_0x9f900a];return Array[_0x484f37(0x20b)](_0x1048a0)||(_0x1048a0=[_0x1048a0]),_0x1048a0[_0x484f37(0x1ae)](_0x48b06d=>[_0x9f900a]['concat'](Object[_0x484f37(0x127)](_0x48b06d)[_0x484f37(0x1ae)](_0x11053c=>{const _0x1a34cf=_0x484f37;let _0x1d8ea3=_0x48b06d[_0x11053c];return Array[_0x1a34cf(0x20b)](_0x1d8ea3)||(_0x1d8ea3=[_0x1d8ea3]),_0x1d8ea3['map'](_0xc29446=>_0xc29446===!0x0?_0x11053c:_0x11053c+'='+_0xc29446)[_0x1a34cf(0x82)](';\x20');}))['join'](';\x20'))[_0x484f37(0x82)](',\x20');})[_0x3768a3(0x82)](',\x20');}return be={'format':_0x29e89d,'parse':_0x59dca2},be;}var we,Je;function Pe(){const _0x1e95c2=_0xc05e9f;if(Je)return we;Je=0x1;const _0x10677d=nt,_0x446230=vt,_0x2e95b1=ot,_0x5b6f22=St,_0xc4236a=Et,{randomBytes:_0x3755c4,createHash:_0x297613}=Le,{Duplex:_0x4ce743,Readable:_0x4ea359}=oe,{URL:_0x2ee6f6}=xt,_0x1454be=he(),_0xa65b5b=lt(),_0x154009=ft(),{isBlob:_0x2b05f8}=ae(),{BINARY_TYPES:_0x8a369d,EMPTY_BUFFER:_0x322281,GUID:_0x1f0592,kForOnEventAttribute:_0x33f42c,kListener:_0x256a87,kStatusCode:_0x467544,kWebSocket:_0x38d67c,NOOP:_0x28fa97}=H(),{EventTarget:{addEventListener:_0x473c26,removeEventListener:_0x2690bc}}=It(),{format:_0x3e3b24,parse:_0x4c5328}=ct(),{toBuffer:_0x157c9d}=ce(),_0x2423c1=0x1e*0x3e8,_0x39932b=Symbol(_0x1e95c2(0x1bc)),_0xdb6683=[0x8,0xd],_0xb7cb3c=['CONNECTING',_0x1e95c2(0x1c9),_0x1e95c2(0x1dc),'CLOSED'],_0x4706fb=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x38b509 extends _0x10677d{constructor(_0x458ba3,_0x4239cf,_0xf11df0){const _0x494955=_0x1e95c2;super(),this[_0x494955(0x22b)]=_0x8a369d[0x0],this[_0x494955(0x75)]=0x3ee,this['_closeFrameReceived']=!0x1,this[_0x494955(0x80)]=!0x1,this[_0x494955(0xd7)]=_0x322281,this[_0x494955(0xac)]=null,this['_errorEmitted']=!0x1,this[_0x494955(0x1ef)]={},this[_0x494955(0x1f5)]=!0x1,this[_0x494955(0x1b5)]='',this[_0x494955(0x10e)]=_0x38b509[_0x494955(0x205)],this[_0x494955(0x107)]=null,this[_0x494955(0x191)]=null,this[_0x494955(0xfc)]=null,_0x458ba3!==null?(this[_0x494955(0x1d4)]=0x0,this[_0x494955(0x1e1)]=!0x1,this[_0x494955(0x7b)]=0x0,_0x4239cf===void 0x0?_0x4239cf=[]:Array['isArray'](_0x4239cf)||(typeof _0x4239cf==_0x494955(0xfd)&&_0x4239cf!==null?(_0xf11df0=_0x4239cf,_0x4239cf=[]):_0x4239cf=[_0x4239cf]),_0x38123a(this,_0x458ba3,_0x4239cf,_0xf11df0)):(this['_autoPong']=_0xf11df0[_0x494955(0x1fa)],this['_isServer']=!0x0);}get['binaryType'](){const _0x8b9530=_0x1e95c2;return this[_0x8b9530(0x22b)];}set[_0x1e95c2(0x9b)](_0x42cef0){const _0xbb1b86=_0x1e95c2;_0x8a369d[_0xbb1b86(0x23c)](_0x42cef0)&&(this[_0xbb1b86(0x22b)]=_0x42cef0,this[_0xbb1b86(0x107)]&&(this[_0xbb1b86(0x107)][_0xbb1b86(0x22b)]=_0x42cef0));}get[_0x1e95c2(0xdb)](){const _0x48b0ca=_0x1e95c2;return this['_socket']?this['_socket'][_0x48b0ca(0x125)][_0x48b0ca(0x165)]+this[_0x48b0ca(0x191)][_0x48b0ca(0xc1)]:this[_0x48b0ca(0x1d4)];}get['extensions'](){const _0x360f15=_0x1e95c2;return Object[_0x360f15(0x127)](this[_0x360f15(0x1ef)])[_0x360f15(0x82)]();}get[_0x1e95c2(0x89)](){const _0x22326c=_0x1e95c2;return this[_0x22326c(0x1f5)];}get[_0x1e95c2(0xdc)](){return null;}get[_0x1e95c2(0x122)](){return null;}get[_0x1e95c2(0xa6)](){return null;}get['onmessage'](){return null;}get[_0x1e95c2(0xec)](){const _0x418b89=_0x1e95c2;return this[_0x418b89(0x1b5)];}get[_0x1e95c2(0x78)](){const _0x5c1fb1=_0x1e95c2;return this[_0x5c1fb1(0x10e)];}get[_0x1e95c2(0x1df)](){const _0x53128c=_0x1e95c2;return this[_0x53128c(0x174)];}[_0x1e95c2(0x234)](_0x3af293,_0x23aa68,_0x3c26c1){const _0x2026e2=_0x1e95c2,_0x6fde24=new _0xa65b5b({'allowSynchronousEvents':_0x3c26c1[_0x2026e2(0x9a)],'binaryType':this[_0x2026e2(0x9b)],'extensions':this['_extensions'],'isServer':this['_isServer'],'maxPayload':_0x3c26c1[_0x2026e2(0x179)],'skipUTF8Validation':_0x3c26c1[_0x2026e2(0xe6)]}),_0x581165=new _0x154009(_0x3af293,this[_0x2026e2(0x1ef)],_0x3c26c1['generateMask']);this[_0x2026e2(0x107)]=_0x6fde24,this[_0x2026e2(0x191)]=_0x581165,this[_0x2026e2(0xfc)]=_0x3af293,_0x6fde24[_0x38d67c]=this,_0x581165[_0x38d67c]=this,_0x3af293[_0x38d67c]=this,_0x6fde24['on'](_0x2026e2(0x17c),_0x42c0bb),_0x6fde24['on'](_0x2026e2(0x152),_0x3f853d),_0x6fde24['on'](_0x2026e2(0xa7),_0x38ce33),_0x6fde24['on']('message',_0x5a1a42),_0x6fde24['on'](_0x2026e2(0x92),_0x3c6620),_0x6fde24['on']('pong',_0x588fb2),_0x581165['onerror']=_0x12ab27,_0x3af293[_0x2026e2(0x11e)]&&_0x3af293['setTimeout'](0x0),_0x3af293[_0x2026e2(0x1ec)]&&_0x3af293['setNoDelay'](),_0x23aa68['length']>0x0&&_0x3af293['unshift'](_0x23aa68),_0x3af293['on'](_0x2026e2(0x19f),_0x5947e5),_0x3af293['on'](_0x2026e2(0x1e6),_0x3bad47),_0x3af293['on']('end',_0x1a66c0),_0x3af293['on'](_0x2026e2(0xa7),_0x449fb1),this[_0x2026e2(0x10e)]=_0x38b509[_0x2026e2(0x1c9)],this['emit'](_0x2026e2(0x1ba));}[_0x1e95c2(0x178)](){const _0x34f8c1=_0x1e95c2;if(!this[_0x34f8c1(0xfc)]){this[_0x34f8c1(0x10e)]=_0x38b509[_0x34f8c1(0xaa)],this['emit'](_0x34f8c1(0x19f),this[_0x34f8c1(0x75)],this[_0x34f8c1(0xd7)]);return;}this['_extensions'][_0x1454be[_0x34f8c1(0x18d)]]&&this[_0x34f8c1(0x1ef)][_0x1454be[_0x34f8c1(0x18d)]][_0x34f8c1(0x101)](),this['_receiver'][_0x34f8c1(0x8b)](),this[_0x34f8c1(0x10e)]=_0x38b509[_0x34f8c1(0xaa)],this[_0x34f8c1(0x10a)](_0x34f8c1(0x19f),this[_0x34f8c1(0x75)],this['_closeMessage']);}[_0x1e95c2(0x19f)](_0x4fedcb,_0x4dd97b){const _0x1f5cd8=_0x1e95c2;if(this['readyState']!==_0x38b509['CLOSED']){if(this['readyState']===_0x38b509[_0x1f5cd8(0x205)]){_0x1b6a6f(this,this[_0x1f5cd8(0x169)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}if(this[_0x1f5cd8(0x78)]===_0x38b509['CLOSING']){this[_0x1f5cd8(0x80)]&&(this['_closeFrameReceived']||this[_0x1f5cd8(0x107)][_0x1f5cd8(0x125)][_0x1f5cd8(0x197)])&&this[_0x1f5cd8(0xfc)][_0x1f5cd8(0x1b3)]();return;}this[_0x1f5cd8(0x10e)]=_0x38b509[_0x1f5cd8(0x1dc)],this[_0x1f5cd8(0x191)][_0x1f5cd8(0x19f)](_0x4fedcb,_0x4dd97b,!this[_0x1f5cd8(0x1e1)],_0xedf60e=>{const _0x3c7014=_0x1f5cd8;_0xedf60e||(this[_0x3c7014(0x80)]=!0x0,(this['_closeFrameReceived']||this['_receiver'][_0x3c7014(0x125)][_0x3c7014(0x197)])&&this[_0x3c7014(0xfc)][_0x3c7014(0x1b3)]());}),_0x328b74(this);}}[_0x1e95c2(0x157)](){const _0x46a31a=_0x1e95c2;this['readyState']===_0x38b509['CONNECTING']||this['readyState']===_0x38b509[_0x46a31a(0xaa)]||(this[_0x46a31a(0x1f5)]=!0x0,this[_0x46a31a(0xfc)][_0x46a31a(0x157)]());}[_0x1e95c2(0x92)](_0x22e5d1,_0x2fb367,_0x5516b6){const _0x3365ec=_0x1e95c2;if(this[_0x3365ec(0x78)]===_0x38b509[_0x3365ec(0x205)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x22e5d1==_0x3365ec(0x145)?(_0x5516b6=_0x22e5d1,_0x22e5d1=_0x2fb367=void 0x0):typeof _0x2fb367==_0x3365ec(0x145)&&(_0x5516b6=_0x2fb367,_0x2fb367=void 0x0),typeof _0x22e5d1=='number'&&(_0x22e5d1=_0x22e5d1['toString']()),this[_0x3365ec(0x78)]!==_0x38b509[_0x3365ec(0x1c9)]){_0x42ef15(this,_0x22e5d1,_0x5516b6);return;}_0x2fb367===void 0x0&&(_0x2fb367=!this[_0x3365ec(0x1e1)]),this[_0x3365ec(0x191)][_0x3365ec(0x92)](_0x22e5d1||_0x322281,_0x2fb367,_0x5516b6);}[_0x1e95c2(0x1cd)](_0x48aa76,_0x254ad2,_0x598240){const _0x557e76=_0x1e95c2;if(this[_0x557e76(0x78)]===_0x38b509[_0x557e76(0x205)])throw new Error(_0x557e76(0x158));if(typeof _0x48aa76==_0x557e76(0x145)?(_0x598240=_0x48aa76,_0x48aa76=_0x254ad2=void 0x0):typeof _0x254ad2==_0x557e76(0x145)&&(_0x598240=_0x254ad2,_0x254ad2=void 0x0),typeof _0x48aa76==_0x557e76(0x21d)&&(_0x48aa76=_0x48aa76['toString']()),this[_0x557e76(0x78)]!==_0x38b509[_0x557e76(0x1c9)]){_0x42ef15(this,_0x48aa76,_0x598240);return;}_0x254ad2===void 0x0&&(_0x254ad2=!this['_isServer']),this[_0x557e76(0x191)][_0x557e76(0x1cd)](_0x48aa76||_0x322281,_0x254ad2,_0x598240);}['resume'](){const _0xcea39b=_0x1e95c2;this[_0xcea39b(0x78)]===_0x38b509['CONNECTING']||this[_0xcea39b(0x78)]===_0x38b509[_0xcea39b(0xaa)]||(this[_0xcea39b(0x1f5)]=!0x1,this[_0xcea39b(0x107)]['_writableState'][_0xcea39b(0x206)]||this[_0xcea39b(0xfc)][_0xcea39b(0x1d3)]());}[_0x1e95c2(0x134)](_0x5c448f,_0x2c0d40,_0x4e6769){const _0x377fc7=_0x1e95c2;if(this[_0x377fc7(0x78)]===_0x38b509[_0x377fc7(0x205)])throw new Error(_0x377fc7(0x158));if(typeof _0x2c0d40==_0x377fc7(0x145)&&(_0x4e6769=_0x2c0d40,_0x2c0d40={}),typeof _0x5c448f=='number'&&(_0x5c448f=_0x5c448f['toString']()),this[_0x377fc7(0x78)]!==_0x38b509[_0x377fc7(0x1c9)]){_0x42ef15(this,_0x5c448f,_0x4e6769);return;}const _0x274a53={'binary':typeof _0x5c448f!='string','mask':!this[_0x377fc7(0x1e1)],'compress':!0x0,'fin':!0x0,..._0x2c0d40};this[_0x377fc7(0x1ef)][_0x1454be[_0x377fc7(0x18d)]]||(_0x274a53[_0x377fc7(0x15c)]=!0x1),this['_sender'][_0x377fc7(0x134)](_0x5c448f||_0x322281,_0x274a53,_0x4e6769);}[_0x1e95c2(0xa5)](){const _0x5388e1=_0x1e95c2;if(this[_0x5388e1(0x78)]!==_0x38b509[_0x5388e1(0xaa)]){if(this[_0x5388e1(0x78)]===_0x38b509[_0x5388e1(0x205)]){_0x1b6a6f(this,this['_req'],_0x5388e1(0x135));return;}this[_0x5388e1(0xfc)]&&(this[_0x5388e1(0x10e)]=_0x38b509['CLOSING'],this[_0x5388e1(0xfc)][_0x5388e1(0x1db)]());}}}Object[_0x1e95c2(0xb0)](_0x38b509,_0x1e95c2(0x205),{'enumerable':!0x0,'value':_0xb7cb3c[_0x1e95c2(0x1f6)]('CONNECTING')}),Object[_0x1e95c2(0xb0)](_0x38b509[_0x1e95c2(0x149)],_0x1e95c2(0x205),{'enumerable':!0x0,'value':_0xb7cb3c[_0x1e95c2(0x1f6)](_0x1e95c2(0x205))}),Object[_0x1e95c2(0xb0)](_0x38b509,_0x1e95c2(0x1c9),{'enumerable':!0x0,'value':_0xb7cb3c[_0x1e95c2(0x1f6)]('OPEN')}),Object['defineProperty'](_0x38b509[_0x1e95c2(0x149)],_0x1e95c2(0x1c9),{'enumerable':!0x0,'value':_0xb7cb3c['indexOf'](_0x1e95c2(0x1c9))}),Object[_0x1e95c2(0xb0)](_0x38b509,_0x1e95c2(0x1dc),{'enumerable':!0x0,'value':_0xb7cb3c[_0x1e95c2(0x1f6)](_0x1e95c2(0x1dc))}),Object[_0x1e95c2(0xb0)](_0x38b509[_0x1e95c2(0x149)],_0x1e95c2(0x1dc),{'enumerable':!0x0,'value':_0xb7cb3c[_0x1e95c2(0x1f6)](_0x1e95c2(0x1dc))}),Object['defineProperty'](_0x38b509,'CLOSED',{'enumerable':!0x0,'value':_0xb7cb3c[_0x1e95c2(0x1f6)](_0x1e95c2(0xaa))}),Object[_0x1e95c2(0xb0)](_0x38b509[_0x1e95c2(0x149)],_0x1e95c2(0xaa),{'enumerable':!0x0,'value':_0xb7cb3c[_0x1e95c2(0x1f6)](_0x1e95c2(0xaa))}),[_0x1e95c2(0x9b),_0x1e95c2(0xdb),'extensions',_0x1e95c2(0x89),'protocol',_0x1e95c2(0x78),_0x1e95c2(0x1df)][_0x1e95c2(0xb1)](_0x39b7d7=>{const _0x3b07f6=_0x1e95c2;Object[_0x3b07f6(0xb0)](_0x38b509['prototype'],_0x39b7d7,{'enumerable':!0x0});}),[_0x1e95c2(0x1ba),_0x1e95c2(0xa7),_0x1e95c2(0x19f),_0x1e95c2(0x19e)][_0x1e95c2(0xb1)](_0xe176e9=>{const _0x2d7a26=_0x1e95c2;Object[_0x2d7a26(0xb0)](_0x38b509['prototype'],'on'+_0xe176e9,{'enumerable':!0x0,'get'(){const _0x3ce815=_0x2d7a26;for(const _0x2839d1 of this[_0x3ce815(0xd9)](_0xe176e9))if(_0x2839d1[_0x33f42c])return _0x2839d1[_0x256a87];return null;},'set'(_0x36b2aa){const _0x18d612=_0x2d7a26;for(const _0x5aa835 of this[_0x18d612(0xd9)](_0xe176e9))if(_0x5aa835[_0x33f42c]){this['removeListener'](_0xe176e9,_0x5aa835);break;}typeof _0x36b2aa==_0x18d612(0x145)&&this['addEventListener'](_0xe176e9,_0x36b2aa,{[_0x33f42c]:!0x0});}});}),_0x38b509[_0x1e95c2(0x149)]['addEventListener']=_0x473c26,_0x38b509[_0x1e95c2(0x149)][_0x1e95c2(0x1ce)]=_0x2690bc,we=_0x38b509;function _0x38123a(_0x4a8c93,_0x46afe9,_0x3e9b66,_0x4c0b52){const _0x2d72c1=_0x1e95c2,_0x70267a={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0xdb6683[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x4c0b52,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x2d72c1(0x86),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x4a8c93[_0x2d72c1(0xd1)]=_0x70267a[_0x2d72c1(0x1fa)],!_0xdb6683[_0x2d72c1(0x23c)](_0x70267a[_0x2d72c1(0x184)]))throw new RangeError(_0x2d72c1(0x126)+_0x70267a[_0x2d72c1(0x184)]+'\x20(supported\x20versions:\x20'+_0xdb6683[_0x2d72c1(0x82)](',\x20')+')');let _0x2623f7;if(_0x46afe9 instanceof _0x2ee6f6)_0x2623f7=_0x46afe9;else try{_0x2623f7=new _0x2ee6f6(_0x46afe9);}catch{throw new SyntaxError('Invalid\x20URL:\x20'+_0x46afe9);}_0x2623f7[_0x2d72c1(0xec)]===_0x2d72c1(0x213)?_0x2623f7[_0x2d72c1(0xec)]=_0x2d72c1(0xe0):_0x2623f7[_0x2d72c1(0xec)]===_0x2d72c1(0xa4)&&(_0x2623f7['protocol']=_0x2d72c1(0x90)),_0x4a8c93['_url']=_0x2623f7[_0x2d72c1(0x1bb)];const _0x3671cb=_0x2623f7[_0x2d72c1(0xec)]===_0x2d72c1(0x90),_0x29ab32=_0x2623f7['protocol']==='ws+unix:';let _0x47dc12;if(_0x2623f7[_0x2d72c1(0xec)]!==_0x2d72c1(0xe0)&&!_0x3671cb&&!_0x29ab32?_0x47dc12=_0x2d72c1(0x1c3):_0x29ab32&&!_0x2623f7[_0x2d72c1(0x1a8)]?_0x47dc12=_0x2d72c1(0x112):_0x2623f7[_0x2d72c1(0xef)]&&(_0x47dc12=_0x2d72c1(0x21c)),_0x47dc12){const _0x34798d=new SyntaxError(_0x47dc12);if(_0x4a8c93['_redirects']===0x0)throw _0x34798d;_0xdb1c6d(_0x4a8c93,_0x34798d);return;}const _0x1afbdf=_0x3671cb?0x1bb:0x50,_0x1f8c31=_0x3755c4(0x10)['toString'](_0x2d72c1(0xda)),_0x4144e4=_0x3671cb?_0x446230[_0x2d72c1(0x237)]:_0x2e95b1[_0x2d72c1(0x237)],_0x5ac566=new Set();let _0x1a6b10;if(_0x70267a[_0x2d72c1(0x1b0)]=_0x70267a[_0x2d72c1(0x1b0)]||(_0x3671cb?_0x1ef2b7:_0x1a7f45),_0x70267a[_0x2d72c1(0x17d)]=_0x70267a[_0x2d72c1(0x17d)]||_0x1afbdf,_0x70267a[_0x2d72c1(0x167)]=_0x2623f7[_0x2d72c1(0x167)]||_0x1afbdf,_0x70267a[_0x2d72c1(0x18a)]=_0x2623f7['hostname']['startsWith']('[')?_0x2623f7['hostname']['slice'](0x1,-0x1):_0x2623f7[_0x2d72c1(0x1d6)],_0x70267a[_0x2d72c1(0x9d)]={..._0x70267a['headers'],'Sec-WebSocket-Version':_0x70267a[_0x2d72c1(0x184)],'Sec-WebSocket-Key':_0x1f8c31,'Connection':_0x2d72c1(0x129),'Upgrade':'websocket'},_0x70267a[_0x2d72c1(0x7e)]=_0x2623f7['pathname']+_0x2623f7['search'],_0x70267a['timeout']=_0x70267a[_0x2d72c1(0x85)],_0x70267a[_0x2d72c1(0x1bd)]&&(_0x1a6b10=new _0x1454be(_0x70267a['perMessageDeflate']!==!0x0?_0x70267a[_0x2d72c1(0x1bd)]:{},!0x1,_0x70267a['maxPayload']),_0x70267a[_0x2d72c1(0x9d)]['Sec-WebSocket-Extensions']=_0x3e3b24({[_0x1454be[_0x2d72c1(0x18d)]]:_0x1a6b10[_0x2d72c1(0xdf)]()})),_0x3e9b66[_0x2d72c1(0x165)]){for(const _0xbfa64b of _0x3e9b66){if(typeof _0xbfa64b!=_0x2d72c1(0xc7)||!_0x4706fb[_0x2d72c1(0x215)](_0xbfa64b)||_0x5ac566[_0x2d72c1(0xf1)](_0xbfa64b))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x5ac566[_0x2d72c1(0x1e7)](_0xbfa64b);}_0x70267a[_0x2d72c1(0x9d)][_0x2d72c1(0x19a)]=_0x3e9b66[_0x2d72c1(0x82)](',');}if(_0x70267a[_0x2d72c1(0x1e0)]&&(_0x70267a[_0x2d72c1(0x184)]<0xd?_0x70267a[_0x2d72c1(0x9d)]['Sec-WebSocket-Origin']=_0x70267a[_0x2d72c1(0x1e0)]:_0x70267a[_0x2d72c1(0x9d)]['Origin']=_0x70267a[_0x2d72c1(0x1e0)]),(_0x2623f7[_0x2d72c1(0x151)]||_0x2623f7['password'])&&(_0x70267a[_0x2d72c1(0x1a0)]=_0x2623f7[_0x2d72c1(0x151)]+':'+_0x2623f7['password']),_0x29ab32){const _0xf73b27=_0x70267a[_0x2d72c1(0x7e)][_0x2d72c1(0x109)](':');_0x70267a[_0x2d72c1(0x9f)]=_0xf73b27[0x0],_0x70267a[_0x2d72c1(0x7e)]=_0xf73b27[0x1];}let _0x9e29af;if(_0x70267a[_0x2d72c1(0x1e9)]){if(_0x4a8c93[_0x2d72c1(0x7b)]===0x0){_0x4a8c93['_originalIpc']=_0x29ab32,_0x4a8c93[_0x2d72c1(0x1c0)]=_0x3671cb,_0x4a8c93[_0x2d72c1(0xf6)]=_0x29ab32?_0x70267a[_0x2d72c1(0x9f)]:_0x2623f7[_0x2d72c1(0x18a)];const _0xd5cdda=_0x4c0b52&&_0x4c0b52[_0x2d72c1(0x9d)];if(_0x4c0b52={..._0x4c0b52,'headers':{}},_0xd5cdda){for(const [_0x41c612,_0x3c5510]of Object[_0x2d72c1(0x223)](_0xd5cdda))_0x4c0b52[_0x2d72c1(0x9d)][_0x41c612[_0x2d72c1(0x1eb)]()]=_0x3c5510;}}else{if(_0x4a8c93[_0x2d72c1(0x1e3)]('redirect')===0x0){const _0x2bb23d=_0x29ab32?_0x4a8c93['_originalIpc']?_0x70267a[_0x2d72c1(0x9f)]===_0x4a8c93[_0x2d72c1(0xf6)]:!0x1:_0x4a8c93['_originalIpc']?!0x1:_0x2623f7[_0x2d72c1(0x18a)]===_0x4a8c93['_originalHostOrSocketPath'];(!_0x2bb23d||_0x4a8c93[_0x2d72c1(0x1c0)]&&!_0x3671cb)&&(delete _0x70267a[_0x2d72c1(0x9d)]['authorization'],delete _0x70267a['headers'][_0x2d72c1(0x181)],_0x2bb23d||delete _0x70267a['headers'][_0x2d72c1(0x18a)],_0x70267a['auth']=void 0x0);}}_0x70267a[_0x2d72c1(0x1a0)]&&!_0x4c0b52[_0x2d72c1(0x9d)][_0x2d72c1(0x21f)]&&(_0x4c0b52[_0x2d72c1(0x9d)][_0x2d72c1(0x21f)]=_0x2d72c1(0x1ff)+Buffer[_0x2d72c1(0xe5)](_0x70267a[_0x2d72c1(0x1a0)])['toString']('base64')),_0x9e29af=_0x4a8c93['_req']=_0x4144e4(_0x70267a),_0x4a8c93['_redirects']&&_0x4a8c93[_0x2d72c1(0x10a)](_0x2d72c1(0xab),_0x4a8c93[_0x2d72c1(0x1df)],_0x9e29af);}else _0x9e29af=_0x4a8c93[_0x2d72c1(0x169)]=_0x4144e4(_0x70267a);_0x70267a[_0x2d72c1(0x10b)]&&_0x9e29af['on']('timeout',()=>{const _0x2c8c08=_0x2d72c1;_0x1b6a6f(_0x4a8c93,_0x9e29af,_0x2c8c08(0xa3));}),_0x9e29af['on']('error',_0x4f195d=>{const _0x32e80a=_0x2d72c1;_0x9e29af===null||_0x9e29af[_0x39932b]||(_0x9e29af=_0x4a8c93[_0x32e80a(0x169)]=null,_0xdb1c6d(_0x4a8c93,_0x4f195d));}),_0x9e29af['on']('response',_0x2776c4=>{const _0x23d3ce=_0x2d72c1,_0xb98299=_0x2776c4[_0x23d3ce(0x9d)][_0x23d3ce(0x131)],_0x4f78c3=_0x2776c4[_0x23d3ce(0xad)];if(_0xb98299&&_0x70267a[_0x23d3ce(0x1e9)]&&_0x4f78c3>=0x12c&&_0x4f78c3<0x190){if(++_0x4a8c93[_0x23d3ce(0x7b)]>_0x70267a[_0x23d3ce(0x204)]){_0x1b6a6f(_0x4a8c93,_0x9e29af,_0x23d3ce(0x180));return;}_0x9e29af[_0x23d3ce(0x100)]();let _0x4b051c;try{_0x4b051c=new _0x2ee6f6(_0xb98299,_0x46afe9);}catch{const _0x377159=new SyntaxError('Invalid\x20URL:\x20'+_0xb98299);_0xdb1c6d(_0x4a8c93,_0x377159);return;}_0x38123a(_0x4a8c93,_0x4b051c,_0x3e9b66,_0x4c0b52);}else _0x4a8c93[_0x23d3ce(0x10a)]('unexpected-response',_0x9e29af,_0x2776c4)||_0x1b6a6f(_0x4a8c93,_0x9e29af,_0x23d3ce(0x11c)+_0x2776c4[_0x23d3ce(0xad)]);}),_0x9e29af['on'](_0x2d72c1(0x117),(_0x2b64f8,_0x52aafe,_0x5992ce)=>{const _0x42aac1=_0x2d72c1;if(_0x4a8c93[_0x42aac1(0x10a)]('upgrade',_0x2b64f8),_0x4a8c93[_0x42aac1(0x78)]!==_0x38b509[_0x42aac1(0x205)])return;_0x9e29af=_0x4a8c93[_0x42aac1(0x169)]=null;const _0x37c34f=_0x2b64f8[_0x42aac1(0x9d)]['upgrade'];if(_0x37c34f===void 0x0||_0x37c34f[_0x42aac1(0x1eb)]()!==_0x42aac1(0x22a)){_0x1b6a6f(_0x4a8c93,_0x52aafe,_0x42aac1(0x136));return;}const _0xfa0a02=_0x297613(_0x42aac1(0x18e))[_0x42aac1(0x8a)](_0x1f8c31+_0x1f0592)[_0x42aac1(0x211)](_0x42aac1(0xda));if(_0x2b64f8[_0x42aac1(0x9d)]['sec-websocket-accept']!==_0xfa0a02){_0x1b6a6f(_0x4a8c93,_0x52aafe,_0x42aac1(0xf5));return;}const _0x15edfd=_0x2b64f8[_0x42aac1(0x9d)][_0x42aac1(0x7d)];let _0x27faaa;if(_0x15edfd!==void 0x0?_0x5ac566[_0x42aac1(0x77)]?_0x5ac566[_0x42aac1(0xf1)](_0x15edfd)||(_0x27faaa=_0x42aac1(0x83)):_0x27faaa=_0x42aac1(0x220):_0x5ac566['size']&&(_0x27faaa=_0x42aac1(0xb3)),_0x27faaa){_0x1b6a6f(_0x4a8c93,_0x52aafe,_0x27faaa);return;}_0x15edfd&&(_0x4a8c93[_0x42aac1(0x1b5)]=_0x15edfd);const _0x429bb3=_0x2b64f8[_0x42aac1(0x9d)][_0x42aac1(0x1dd)];if(_0x429bb3!==void 0x0){if(!_0x1a6b10){_0x1b6a6f(_0x4a8c93,_0x52aafe,_0x42aac1(0x235));return;}let _0x3dbb66;try{_0x3dbb66=_0x4c5328(_0x429bb3);}catch{_0x1b6a6f(_0x4a8c93,_0x52aafe,_0x42aac1(0x106));return;}const _0x5665ba=Object[_0x42aac1(0x127)](_0x3dbb66);if(_0x5665ba[_0x42aac1(0x165)]!==0x1||_0x5665ba[0x0]!==_0x1454be['extensionName']){_0x1b6a6f(_0x4a8c93,_0x52aafe,'Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested');return;}try{_0x1a6b10[_0x42aac1(0x193)](_0x3dbb66[_0x1454be[_0x42aac1(0x18d)]]);}catch{_0x1b6a6f(_0x4a8c93,_0x52aafe,_0x42aac1(0x106));return;}_0x4a8c93[_0x42aac1(0x1ef)][_0x1454be[_0x42aac1(0x18d)]]=_0x1a6b10;}_0x4a8c93[_0x42aac1(0x234)](_0x52aafe,_0x5992ce,{'allowSynchronousEvents':_0x70267a[_0x42aac1(0x9a)],'generateMask':_0x70267a['generateMask'],'maxPayload':_0x70267a[_0x42aac1(0x179)],'skipUTF8Validation':_0x70267a[_0x42aac1(0xe6)]});}),_0x70267a['finishRequest']?_0x70267a[_0x2d72c1(0xc9)](_0x9e29af,_0x4a8c93):_0x9e29af['end']();}function _0xdb1c6d(_0xb8dce4,_0x1630ae){const _0x5440da=_0x1e95c2;_0xb8dce4[_0x5440da(0x10e)]=_0x38b509['CLOSING'],_0xb8dce4[_0x5440da(0x128)]=!0x0,_0xb8dce4['emit'](_0x5440da(0xa7),_0x1630ae),_0xb8dce4[_0x5440da(0x178)]();}function _0x1a7f45(_0x6aa6b9){const _0x456365=_0x1e95c2;return _0x6aa6b9[_0x456365(0x7e)]=_0x6aa6b9[_0x456365(0x9f)],_0x5b6f22[_0x456365(0xa0)](_0x6aa6b9);}function _0x1ef2b7(_0x212718){const _0x35f2f7=_0x1e95c2;return _0x212718['path']=void 0x0,!_0x212718['servername']&&_0x212718[_0x35f2f7(0xa9)]!==''&&(_0x212718[_0x35f2f7(0xa9)]=_0x5b6f22[_0x35f2f7(0x14c)](_0x212718['host'])?'':_0x212718[_0x35f2f7(0x18a)]),_0xc4236a[_0x35f2f7(0xa0)](_0x212718);}function _0x1b6a6f(_0x46f721,_0x19217f,_0x38e4ba){const _0x206f3f=_0x1e95c2;_0x46f721[_0x206f3f(0x10e)]=_0x38b509[_0x206f3f(0x1dc)];const _0x437415=new Error(_0x38e4ba);Error[_0x206f3f(0xd0)](_0x437415,_0x1b6a6f),_0x19217f['setHeader']?(_0x19217f[_0x39932b]=!0x0,_0x19217f[_0x206f3f(0x100)](),_0x19217f[_0x206f3f(0x195)]&&!_0x19217f[_0x206f3f(0x195)][_0x206f3f(0x208)]&&_0x19217f[_0x206f3f(0x195)][_0x206f3f(0x1db)](),process[_0x206f3f(0x16d)](_0xdb1c6d,_0x46f721,_0x437415)):(_0x19217f[_0x206f3f(0x1db)](_0x437415),_0x19217f[_0x206f3f(0x14b)](_0x206f3f(0xa7),_0x46f721[_0x206f3f(0x10a)][_0x206f3f(0x1fc)](_0x46f721,_0x206f3f(0xa7))),_0x19217f[_0x206f3f(0x14b)]('close',_0x46f721[_0x206f3f(0x178)][_0x206f3f(0x1fc)](_0x46f721)));}function _0x42ef15(_0x4de21d,_0x112e91,_0x34406a){const _0x33a633=_0x1e95c2;if(_0x112e91){const _0x3a22ac=_0x2b05f8(_0x112e91)?_0x112e91[_0x33a633(0x77)]:_0x157c9d(_0x112e91)[_0x33a633(0x165)];_0x4de21d[_0x33a633(0xfc)]?_0x4de21d[_0x33a633(0x191)][_0x33a633(0xc1)]+=_0x3a22ac:_0x4de21d[_0x33a633(0x1d4)]+=_0x3a22ac;}if(_0x34406a){const _0xdbb191=new Error(_0x33a633(0x1fe)+_0x4de21d[_0x33a633(0x78)]+'\x20('+_0xb7cb3c[_0x4de21d[_0x33a633(0x78)]]+')');process[_0x33a633(0x16d)](_0x34406a,_0xdbb191);}}function _0x42c0bb(_0x120187,_0x2f22df){const _0x403380=_0x1e95c2,_0xc27519=this[_0x38d67c];_0xc27519['_closeFrameReceived']=!0x0,_0xc27519[_0x403380(0xd7)]=_0x2f22df,_0xc27519[_0x403380(0x75)]=_0x120187,_0xc27519[_0x403380(0xfc)][_0x38d67c]!==void 0x0&&(_0xc27519[_0x403380(0xfc)][_0x403380(0x226)]('data',_0x3bad47),process[_0x403380(0x16d)](_0x1cedf1,_0xc27519[_0x403380(0xfc)]),_0x120187===0x3ed?_0xc27519['close']():_0xc27519['close'](_0x120187,_0x2f22df));}function _0x3f853d(){const _0x515c61=this[_0x38d67c];_0x515c61['isPaused']||_0x515c61['_socket']['resume']();}function _0x38ce33(_0x21e5db){const _0x48d596=_0x1e95c2,_0x43a683=this[_0x38d67c];_0x43a683['_socket'][_0x38d67c]!==void 0x0&&(_0x43a683[_0x48d596(0xfc)][_0x48d596(0x226)](_0x48d596(0x1e6),_0x3bad47),process['nextTick'](_0x1cedf1,_0x43a683[_0x48d596(0xfc)]),_0x43a683[_0x48d596(0x19f)](_0x21e5db[_0x467544])),_0x43a683['_errorEmitted']||(_0x43a683[_0x48d596(0x128)]=!0x0,_0x43a683['emit'](_0x48d596(0xa7),_0x21e5db));}function _0x533508(){const _0xa98db3=_0x1e95c2;this[_0x38d67c][_0xa98db3(0x178)]();}function _0x5a1a42(_0x163d5a,_0x21d221){const _0x75c67=_0x1e95c2;this[_0x38d67c][_0x75c67(0x10a)](_0x75c67(0x19e),_0x163d5a,_0x21d221);}function _0x3c6620(_0x2e7bd0){const _0x1ade9c=_0x1e95c2,_0x470659=this[_0x38d67c];_0x470659['_autoPong']&&_0x470659[_0x1ade9c(0x1cd)](_0x2e7bd0,!this[_0x1ade9c(0x1e1)],_0x28fa97),_0x470659[_0x1ade9c(0x10a)]('ping',_0x2e7bd0);}function _0x588fb2(_0x13c60a){const _0x335071=_0x1e95c2;this[_0x38d67c][_0x335071(0x10a)](_0x335071(0x1cd),_0x13c60a);}function _0x1cedf1(_0x353df9){const _0x84238b=_0x1e95c2;_0x353df9[_0x84238b(0x1d3)]();}function _0x12ab27(_0x117736){const _0x161847=_0x1e95c2,_0x15968c=this[_0x38d67c];_0x15968c[_0x161847(0x78)]!==_0x38b509[_0x161847(0xaa)]&&(_0x15968c[_0x161847(0x78)]===_0x38b509['OPEN']&&(_0x15968c[_0x161847(0x10e)]=_0x38b509[_0x161847(0x1dc)],_0x328b74(_0x15968c)),this[_0x161847(0xfc)]['end'](),_0x15968c['_errorEmitted']||(_0x15968c[_0x161847(0x128)]=!0x0,_0x15968c[_0x161847(0x10a)](_0x161847(0xa7),_0x117736)));}function _0x328b74(_0x195618){const _0xd31b6b=_0x1e95c2;_0x195618[_0xd31b6b(0xac)]=setTimeout(_0x195618[_0xd31b6b(0xfc)]['destroy'][_0xd31b6b(0x1fc)](_0x195618[_0xd31b6b(0xfc)]),_0x2423c1);}function _0x5947e5(){const _0x5ae846=_0x1e95c2,_0x1b5f0d=this[_0x38d67c];this[_0x5ae846(0x226)](_0x5ae846(0x19f),_0x5947e5),this['removeListener']('data',_0x3bad47),this['removeListener']('end',_0x1a66c0),_0x1b5f0d['_readyState']=_0x38b509[_0x5ae846(0x1dc)];let _0xce8673;!this['_readableState'][_0x5ae846(0x20a)]&&!_0x1b5f0d[_0x5ae846(0x119)]&&!_0x1b5f0d[_0x5ae846(0x107)]['_writableState'][_0x5ae846(0x197)]&&(_0xce8673=_0x1b5f0d[_0x5ae846(0xfc)][_0x5ae846(0x183)]())!==null&&_0x1b5f0d['_receiver'][_0x5ae846(0x1e4)](_0xce8673),_0x1b5f0d['_receiver'][_0x5ae846(0x1b3)](),this[_0x38d67c]=void 0x0,clearTimeout(_0x1b5f0d[_0x5ae846(0xac)]),_0x1b5f0d['_receiver']['_writableState']['finished']||_0x1b5f0d[_0x5ae846(0x107)][_0x5ae846(0x125)][_0x5ae846(0x197)]?_0x1b5f0d['emitClose']():(_0x1b5f0d[_0x5ae846(0x107)]['on'](_0x5ae846(0xa7),_0x533508),_0x1b5f0d[_0x5ae846(0x107)]['on'](_0x5ae846(0x87),_0x533508));}function _0x3bad47(_0x2ed7ed){const _0x38be92=_0x1e95c2;this[_0x38d67c][_0x38be92(0x107)]['write'](_0x2ed7ed)||this[_0x38be92(0x157)]();}function _0x1a66c0(){const _0x4f8e69=_0x1e95c2,_0x56591d=this[_0x38d67c];_0x56591d[_0x4f8e69(0x10e)]=_0x38b509[_0x4f8e69(0x1dc)],_0x56591d[_0x4f8e69(0x107)][_0x4f8e69(0x1b3)](),this[_0x4f8e69(0x1b3)]();}function _0x449fb1(){const _0x5b9217=_0x1e95c2,_0x1ca319=this[_0x38d67c];this['removeListener']('error',_0x449fb1),this['on']('error',_0x28fa97),_0x1ca319&&(_0x1ca319[_0x5b9217(0x10e)]=_0x38b509['CLOSING'],this[_0x5b9217(0x1db)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x59c6d6}=oe;function _0x13bd77(_0x44c707){const _0x10305b=_0x30ad;_0x44c707['emit'](_0x10305b(0x19f));}function _0x2c5862(){const _0x8e642e=_0x30ad;!this[_0x8e642e(0x208)]&&this[_0x8e642e(0x125)][_0x8e642e(0x175)]&&this[_0x8e642e(0x1db)]();}function _0x218a8b(_0x4916eb){const _0x3fbc3c=_0x30ad;this[_0x3fbc3c(0x226)]('error',_0x218a8b),this['destroy'](),this['listenerCount'](_0x3fbc3c(0xa7))===0x0&&this[_0x3fbc3c(0x10a)](_0x3fbc3c(0xa7),_0x4916eb);}function _0x15b059(_0x4fe552,_0xe35eec){const _0x1d4a9b=_0x30ad;let _0x1f801e=!0x0;const _0x3c5fec=new _0x59c6d6({..._0xe35eec,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x4fe552['on'](_0x1d4a9b(0x19e),function(_0x36ac13,_0x42be83){const _0x4846a7=_0x1d4a9b,_0x4ba3e6=!_0x42be83&&_0x3c5fec[_0x4846a7(0x1cf)][_0x4846a7(0x113)]?_0x36ac13[_0x4846a7(0x1ab)]():_0x36ac13;_0x3c5fec[_0x4846a7(0x19b)](_0x4ba3e6)||_0x4fe552[_0x4846a7(0x157)]();}),_0x4fe552[_0x1d4a9b(0x14b)](_0x1d4a9b(0xa7),function(_0x361f38){_0x3c5fec['destroyed']||(_0x1f801e=!0x1,_0x3c5fec['destroy'](_0x361f38));}),_0x4fe552[_0x1d4a9b(0x14b)](_0x1d4a9b(0x19f),function(){const _0x53bcf9=_0x1d4a9b;_0x3c5fec[_0x53bcf9(0x208)]||_0x3c5fec[_0x53bcf9(0x19b)](null);}),_0x3c5fec[_0x1d4a9b(0x115)]=function(_0x49d694,_0x1cc24d){const _0x59f72d=_0x1d4a9b;if(_0x4fe552['readyState']===_0x4fe552['CLOSED']){_0x1cc24d(_0x49d694),process[_0x59f72d(0x16d)](_0x13bd77,_0x3c5fec);return;}let _0x44ae22=!0x1;_0x4fe552[_0x59f72d(0x14b)]('error',function(_0x4ed0ee){_0x44ae22=!0x0,_0x1cc24d(_0x4ed0ee);}),_0x4fe552['once'](_0x59f72d(0x19f),function(){const _0x532e8a=_0x59f72d;_0x44ae22||_0x1cc24d(_0x49d694),process[_0x532e8a(0x16d)](_0x13bd77,_0x3c5fec);}),_0x1f801e&&_0x4fe552[_0x59f72d(0xa5)]();},_0x3c5fec[_0x1d4a9b(0x1b2)]=function(_0x2c9cef){const _0x162125=_0x1d4a9b;if(_0x4fe552[_0x162125(0x78)]===_0x4fe552[_0x162125(0x205)]){_0x4fe552[_0x162125(0x14b)](_0x162125(0x1ba),function(){const _0x1882f6=_0x162125;_0x3c5fec[_0x1882f6(0x1b2)](_0x2c9cef);});return;}_0x4fe552['_socket']!==null&&(_0x4fe552[_0x162125(0xfc)][_0x162125(0x125)][_0x162125(0x175)]?(_0x2c9cef(),_0x3c5fec[_0x162125(0x1cf)][_0x162125(0x20a)]&&_0x3c5fec['destroy']()):(_0x4fe552[_0x162125(0xfc)][_0x162125(0x14b)]('finish',function(){_0x2c9cef();}),_0x4fe552[_0x162125(0x19f)]()));},_0x3c5fec[_0x1d4a9b(0x88)]=function(){const _0x22d50b=_0x1d4a9b;_0x4fe552[_0x22d50b(0x89)]&&_0x4fe552[_0x22d50b(0x1d3)]();},_0x3c5fec['_write']=function(_0x35fbd5,_0x38847,_0x265ce3){const _0x4f2911=_0x1d4a9b;if(_0x4fe552[_0x4f2911(0x78)]===_0x4fe552[_0x4f2911(0x205)]){_0x4fe552['once'](_0x4f2911(0x1ba),function(){const _0x32a66b=_0x4f2911;_0x3c5fec[_0x32a66b(0xc2)](_0x35fbd5,_0x38847,_0x265ce3);});return;}_0x4fe552[_0x4f2911(0x134)](_0x35fbd5,_0x265ce3);},_0x3c5fec['on'](_0x1d4a9b(0x1b3),_0x2c5862),_0x3c5fec['on'](_0x1d4a9b(0xa7),_0x218a8b),_0x3c5fec;}return Oe=_0x15b059,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x595845}=ae();function _0x48bd61(_0x1c0284){const _0x163921=_0x30ad,_0x48bb72=new Set();let _0x1b7f1a=-0x1,_0x5d546d=-0x1,_0x3b7214=0x0;for(_0x3b7214;_0x3b7214<_0x1c0284[_0x163921(0x165)];_0x3b7214++){const _0x4e856b=_0x1c0284[_0x163921(0x1a9)](_0x3b7214);if(_0x5d546d===-0x1&&_0x595845[_0x4e856b]===0x1)_0x1b7f1a===-0x1&&(_0x1b7f1a=_0x3b7214);else{if(_0x3b7214!==0x0&&(_0x4e856b===0x20||_0x4e856b===0x9))_0x5d546d===-0x1&&_0x1b7f1a!==-0x1&&(_0x5d546d=_0x3b7214);else{if(_0x4e856b===0x2c){if(_0x1b7f1a===-0x1)throw new SyntaxError(_0x163921(0x1c5)+_0x3b7214);_0x5d546d===-0x1&&(_0x5d546d=_0x3b7214);const _0x128322=_0x1c0284[_0x163921(0x138)](_0x1b7f1a,_0x5d546d);if(_0x48bb72['has'](_0x128322))throw new SyntaxError('The\x20\x22'+_0x128322+_0x163921(0x1d2));_0x48bb72[_0x163921(0x1e7)](_0x128322),_0x1b7f1a=_0x5d546d=-0x1;}else throw new SyntaxError(_0x163921(0x1c5)+_0x3b7214);}}}if(_0x1b7f1a===-0x1||_0x5d546d!==-0x1)throw new SyntaxError('Unexpected\x20end\x20of\x20input');const _0x187546=_0x1c0284[_0x163921(0x138)](_0x1b7f1a,_0x3b7214);if(_0x48bb72[_0x163921(0xf1)](_0x187546))throw new SyntaxError(_0x163921(0xb9)+_0x187546+'\x22\x20subprotocol\x20is\x20duplicated');return _0x48bb72[_0x163921(0x1e7)](_0x187546),_0x48bb72;}return Ce={'parse':_0x48bd61},Ce;}var Te,rt;function Ft(){const _0x233c48=_0xc05e9f;if(rt)return Te;rt=0x1;const _0x3d3f27=nt,_0x47e1be=ot,{Duplex:_0x4cb1eb}=oe,{createHash:_0x410336}=Le,_0xfc9a76=ct(),_0x3a142b=he(),_0x35b8ae=At(),_0x1184af=Pe(),{GUID:_0x161592,kWebSocket:_0x4e5fe6}=H(),_0x106ff1=/^[+/0-9A-Za-z]{22}==$/,_0x98058a=0x0,_0x535eaa=0x1,_0x5d542b=0x2;class _0x39539b extends _0x3d3f27{constructor(_0x2da320,_0xb2381e){const _0x58e4c9=_0x30ad;if(super(),_0x2da320={'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':_0x1184af,..._0x2da320},_0x2da320[_0x58e4c9(0x167)]==null&&!_0x2da320[_0x58e4c9(0x224)]&&!_0x2da320[_0x58e4c9(0x1c2)]||_0x2da320[_0x58e4c9(0x167)]!=null&&(_0x2da320[_0x58e4c9(0x224)]||_0x2da320['noServer'])||_0x2da320[_0x58e4c9(0x224)]&&_0x2da320[_0x58e4c9(0x1c2)])throw new TypeError('One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified');if(_0x2da320[_0x58e4c9(0x167)]!=null?(this[_0x58e4c9(0x1d7)]=_0x47e1be['createServer']((_0x1cd173,_0x470590)=>{const _0x14f4dc=_0x58e4c9,_0x290c97=_0x47e1be[_0x14f4dc(0x172)][0x1aa];_0x470590[_0x14f4dc(0x231)](0x1aa,{'Content-Length':_0x290c97[_0x14f4dc(0x165)],'Content-Type':_0x14f4dc(0xeb)}),_0x470590['end'](_0x290c97);}),this[_0x58e4c9(0x1d7)][_0x58e4c9(0x219)](_0x2da320['port'],_0x2da320[_0x58e4c9(0x18a)],_0x2da320[_0x58e4c9(0x1f4)],_0xb2381e)):_0x2da320[_0x58e4c9(0x224)]&&(this[_0x58e4c9(0x1d7)]=_0x2da320['server']),this[_0x58e4c9(0x1d7)]){const _0x440d0b=this['emit'][_0x58e4c9(0x1fc)](this,'connection');this[_0x58e4c9(0x139)]=_0x1f467c(this[_0x58e4c9(0x1d7)],{'listening':this['emit'][_0x58e4c9(0x1fc)](this,_0x58e4c9(0x1c6)),'error':this[_0x58e4c9(0x10a)][_0x58e4c9(0x1fc)](this,_0x58e4c9(0xa7)),'upgrade':(_0x445a12,_0x24a0f5,_0x2e3c71)=>{const _0x202e4b=_0x58e4c9;this[_0x202e4b(0xcd)](_0x445a12,_0x24a0f5,_0x2e3c71,_0x440d0b);}});}_0x2da320[_0x58e4c9(0x1bd)]===!0x0&&(_0x2da320['perMessageDeflate']={}),_0x2da320[_0x58e4c9(0xe4)]&&(this['clients']=new Set(),this[_0x58e4c9(0x162)]=!0x1),this['options']=_0x2da320,this['_state']=_0x98058a;}[_0x233c48(0xb8)](){const _0x37fc05=_0x233c48;if(this[_0x37fc05(0x102)][_0x37fc05(0x1c2)])throw new Error(_0x37fc05(0x21a));return this[_0x37fc05(0x1d7)]?this[_0x37fc05(0x1d7)][_0x37fc05(0xb8)]():null;}[_0x233c48(0x19f)](_0x15ae98){const _0x5c7a87=_0x233c48;if(this[_0x5c7a87(0xc4)]===_0x5d542b){_0x15ae98&&this[_0x5c7a87(0x14b)](_0x5c7a87(0x19f),()=>{_0x15ae98(new Error('The\x20server\x20is\x20not\x20running'));}),process['nextTick'](_0x3abae9,this);return;}if(_0x15ae98&&this[_0x5c7a87(0x14b)](_0x5c7a87(0x19f),_0x15ae98),this['_state']!==_0x535eaa){if(this[_0x5c7a87(0xc4)]=_0x535eaa,this[_0x5c7a87(0x102)]['noServer']||this[_0x5c7a87(0x102)]['server'])this[_0x5c7a87(0x1d7)]&&(this['_removeListeners'](),this[_0x5c7a87(0x139)]=this[_0x5c7a87(0x1d7)]=null),this['clients']?this[_0x5c7a87(0xf9)][_0x5c7a87(0x77)]?this[_0x5c7a87(0x162)]=!0x0:process[_0x5c7a87(0x16d)](_0x3abae9,this):process[_0x5c7a87(0x16d)](_0x3abae9,this);else{const _0x3a3851=this[_0x5c7a87(0x1d7)];this['_removeListeners'](),this[_0x5c7a87(0x139)]=this['_server']=null,_0x3a3851[_0x5c7a87(0x19f)](()=>{_0x3abae9(this);});}}}['shouldHandle'](_0x2d584c){const _0x5683f4=_0x233c48;if(this['options'][_0x5683f4(0x7e)]){const _0x4fc0d8=_0x2d584c[_0x5683f4(0x1df)][_0x5683f4(0x1f6)]('?');if((_0x4fc0d8!==-0x1?_0x2d584c['url'][_0x5683f4(0x138)](0x0,_0x4fc0d8):_0x2d584c['url'])!==this[_0x5683f4(0x102)][_0x5683f4(0x7e)])return!0x1;}return!0x0;}['handleUpgrade'](_0x18c055,_0x540d93,_0x19e911,_0x3b3953){const _0x2f1d79=_0x233c48;_0x540d93['on'](_0x2f1d79(0xa7),_0xd3e134);const _0x2f26ba=_0x18c055[_0x2f1d79(0x9d)][_0x2f1d79(0x1b7)],_0x500d49=_0x18c055[_0x2f1d79(0x9d)]['upgrade'],_0x3e17e8=+_0x18c055[_0x2f1d79(0x9d)][_0x2f1d79(0x232)];if(_0x18c055[_0x2f1d79(0x111)]!==_0x2f1d79(0x86)){_0x4f8026(this,_0x18c055,_0x540d93,0x195,_0x2f1d79(0x110));return;}if(_0x500d49===void 0x0||_0x500d49[_0x2f1d79(0x1eb)]()!=='websocket'){_0x4f8026(this,_0x18c055,_0x540d93,0x190,'Invalid\x20Upgrade\x20header');return;}if(_0x2f26ba===void 0x0||!_0x106ff1[_0x2f1d79(0x215)](_0x2f26ba)){_0x4f8026(this,_0x18c055,_0x540d93,0x190,_0x2f1d79(0xc3));return;}if(_0x3e17e8!==0x8&&_0x3e17e8!==0xd){_0x4f8026(this,_0x18c055,_0x540d93,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header');return;}if(!this[_0x2f1d79(0x21b)](_0x18c055)){_0x219b47(_0x540d93,0x190);return;}const _0xb4e77b=_0x18c055['headers'][_0x2f1d79(0x7d)];let _0x5d5d9a=new Set();if(_0xb4e77b!==void 0x0)try{_0x5d5d9a=_0x35b8ae['parse'](_0xb4e77b);}catch{_0x4f8026(this,_0x18c055,_0x540d93,0x190,_0x2f1d79(0x93));return;}const _0x3cf0e5=_0x18c055[_0x2f1d79(0x9d)][_0x2f1d79(0x1dd)],_0x16f897={};if(this[_0x2f1d79(0x102)]['perMessageDeflate']&&_0x3cf0e5!==void 0x0){const _0x2790ad=new _0x3a142b(this[_0x2f1d79(0x102)]['perMessageDeflate'],!0x0,this[_0x2f1d79(0x102)][_0x2f1d79(0x179)]);try{const _0x593db8=_0xfc9a76[_0x2f1d79(0x1bf)](_0x3cf0e5);_0x593db8[_0x3a142b[_0x2f1d79(0x18d)]]&&(_0x2790ad[_0x2f1d79(0x193)](_0x593db8[_0x3a142b[_0x2f1d79(0x18d)]]),_0x16f897[_0x3a142b[_0x2f1d79(0x18d)]]=_0x2790ad);}catch{_0x4f8026(this,_0x18c055,_0x540d93,0x190,'Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header');return;}}if(this[_0x2f1d79(0x102)][_0x2f1d79(0xde)]){const _0x499e0c={'origin':_0x18c055[_0x2f1d79(0x9d)][''+(_0x3e17e8===0x8?_0x2f1d79(0x16a):'origin')],'secure':!!(_0x18c055[_0x2f1d79(0x195)][_0x2f1d79(0x1f3)]||_0x18c055[_0x2f1d79(0x195)][_0x2f1d79(0x212)]),'req':_0x18c055};if(this[_0x2f1d79(0x102)][_0x2f1d79(0xde)][_0x2f1d79(0x165)]===0x2){this[_0x2f1d79(0x102)]['verifyClient'](_0x499e0c,(_0x25988e,_0x50f290,_0x42b10e,_0x419ec2)=>{if(!_0x25988e)return _0x219b47(_0x540d93,_0x50f290||0x191,_0x42b10e,_0x419ec2);this['completeUpgrade'](_0x16f897,_0x2f26ba,_0x5d5d9a,_0x18c055,_0x540d93,_0x19e911,_0x3b3953);});return;}if(!this['options']['verifyClient'](_0x499e0c))return _0x219b47(_0x540d93,0x191);}this[_0x2f1d79(0xf7)](_0x16f897,_0x2f26ba,_0x5d5d9a,_0x18c055,_0x540d93,_0x19e911,_0x3b3953);}['completeUpgrade'](_0x4e5088,_0x419dc5,_0x56cef9,_0x52ec0d,_0x3935b2,_0x53f69a,_0x2fbc93){const _0x19ae76=_0x233c48;if(!_0x3935b2[_0x19ae76(0x176)]||!_0x3935b2[_0x19ae76(0x12b)])return _0x3935b2['destroy']();if(_0x3935b2[_0x4e5fe6])throw new Error(_0x19ae76(0x1a5));if(this[_0x19ae76(0xc4)]>_0x98058a)return _0x219b47(_0x3935b2,0x1f7);const _0x174350=[_0x19ae76(0x1f0),'Upgrade:\x20websocket',_0x19ae76(0x20d),_0x19ae76(0x114)+_0x410336(_0x19ae76(0x18e))[_0x19ae76(0x8a)](_0x419dc5+_0x161592)['digest'](_0x19ae76(0xda))],_0x1a3c71=new this['options'][(_0x19ae76(0xa8))](null,void 0x0,this['options']);if(_0x56cef9['size']){const _0xcf7a59=this[_0x19ae76(0x102)][_0x19ae76(0x12e)]?this['options']['handleProtocols'](_0x56cef9,_0x52ec0d):_0x56cef9['values']()['next']()[_0x19ae76(0x1af)];_0xcf7a59&&(_0x174350['push']('Sec-WebSocket-Protocol:\x20'+_0xcf7a59),_0x1a3c71[_0x19ae76(0x1b5)]=_0xcf7a59);}if(_0x4e5088[_0x3a142b['extensionName']]){const _0x2bd7ea=_0x4e5088[_0x3a142b['extensionName']][_0x19ae76(0x147)],_0x194e59=_0xfc9a76['format']({[_0x3a142b[_0x19ae76(0x18d)]]:[_0x2bd7ea]});_0x174350[_0x19ae76(0x19b)](_0x19ae76(0x15b)+_0x194e59),_0x1a3c71[_0x19ae76(0x1ef)]=_0x4e5088;}this[_0x19ae76(0x10a)](_0x19ae76(0x9d),_0x174350,_0x52ec0d),_0x3935b2[_0x19ae76(0x1e4)](_0x174350['concat']('\x0d\x0a')['join']('\x0d\x0a')),_0x3935b2[_0x19ae76(0x226)](_0x19ae76(0xa7),_0xd3e134),_0x1a3c71[_0x19ae76(0x234)](_0x3935b2,_0x53f69a,{'allowSynchronousEvents':this[_0x19ae76(0x102)][_0x19ae76(0x9a)],'maxPayload':this[_0x19ae76(0x102)][_0x19ae76(0x179)],'skipUTF8Validation':this[_0x19ae76(0x102)][_0x19ae76(0xe6)]}),this['clients']&&(this['clients']['add'](_0x1a3c71),_0x1a3c71['on'](_0x19ae76(0x19f),()=>{const _0x498700=_0x19ae76;this[_0x498700(0xf9)][_0x498700(0xd8)](_0x1a3c71),this[_0x498700(0x162)]&&!this[_0x498700(0xf9)][_0x498700(0x77)]&&process['nextTick'](_0x3abae9,this);})),_0x2fbc93(_0x1a3c71,_0x52ec0d);}}Te=_0x39539b;function _0x1f467c(_0x2272e1,_0x2ac9ed){const _0x39f8d1=_0x233c48;for(const _0x19a676 of Object[_0x39f8d1(0x127)](_0x2ac9ed))_0x2272e1['on'](_0x19a676,_0x2ac9ed[_0x19a676]);return function(){const _0x5148bf=_0x39f8d1;for(const _0x3be0a8 of Object['keys'](_0x2ac9ed))_0x2272e1[_0x5148bf(0x226)](_0x3be0a8,_0x2ac9ed[_0x3be0a8]);};}function _0x3abae9(_0x2f5199){const _0x55db48=_0x233c48;_0x2f5199[_0x55db48(0xc4)]=_0x5d542b,_0x2f5199[_0x55db48(0x10a)]('close');}function _0xd3e134(){this['destroy']();}function _0x219b47(_0x37759f,_0x445673,_0x11ab5d,_0x43ff94){const _0x592a15=_0x233c48;_0x11ab5d=_0x11ab5d||_0x47e1be[_0x592a15(0x172)][_0x445673],_0x43ff94={'Connection':_0x592a15(0x19f),'Content-Type':_0x592a15(0x141),'Content-Length':Buffer[_0x592a15(0xd3)](_0x11ab5d),..._0x43ff94},_0x37759f[_0x592a15(0x14b)](_0x592a15(0x87),_0x37759f[_0x592a15(0x1db)]),_0x37759f[_0x592a15(0x1b3)](_0x592a15(0xaf)+_0x445673+'\x20'+_0x47e1be[_0x592a15(0x172)][_0x445673]+'\x0d\x0a'+Object[_0x592a15(0x127)](_0x43ff94)[_0x592a15(0x1ae)](_0x20eee4=>_0x20eee4+':\x20'+_0x43ff94[_0x20eee4])['join']('\x0d\x0a')+_0x592a15(0x23b)+_0x11ab5d);}function _0x4f8026(_0x195c46,_0x221c75,_0x21546b,_0x4bfe8f,_0x5c152b){const _0x1b1765=_0x233c48;if(_0x195c46['listenerCount']('wsClientError')){const _0x421d42=new Error(_0x5c152b);Error[_0x1b1765(0xd0)](_0x421d42,_0x4f8026),_0x195c46[_0x1b1765(0x10a)](_0x1b1765(0x18c),_0x421d42,_0x21546b,_0x221c75);}else _0x219b47(_0x21546b,_0x4bfe8f,_0x5c152b);}return Te;}Ft();var jt=Object['getOwnPropertyDescriptor'],Wt=(_0x2bcb1c,_0x2b8f1a,_0x12d2a9,_0x2f1c1f)=>{const _0x50a8f6=_0xc05e9f;for(var _0x656728=_0x2f1c1f>0x1?void 0x0:_0x2f1c1f?jt(_0x2b8f1a,_0x12d2a9):_0x2b8f1a,_0xcaf485=_0x2bcb1c[_0x50a8f6(0x165)]-0x1,_0x150b95;_0xcaf485>=0x0;_0xcaf485--)(_0x150b95=_0x2bcb1c[_0xcaf485])&&(_0x656728=_0x150b95(_0x656728)||_0x656728);return _0x656728;},qt=(_0x5d669a,_0x6c1b79)=>(_0x2b0dbe,_0x3c2b31)=>_0x6c1b79(_0x2b0dbe,_0x3c2b31,_0x5d669a);let ke=class extends A[_0xc05e9f(0x15f)]{constructor(_0xbc8cc7){const _0x40e032=_0xc05e9f;super(),this[_0x40e032(0x218)]=_0xbc8cc7;}[_0xc05e9f(0x144)](_0x5cf5d0){const _0x2433d6=_0xc05e9f;var _0x266e01;const _0x1bcfd2=(_0x266e01=this[_0x2433d6(0x218)][_0x2433d6(0x209)](fe))==null?void 0x0:_0x266e01['customHeaders'];try{const _0x2ed0c8=new $t(_0x5cf5d0,{'headers':{..._0x1bcfd2}}),_0x117b6a=new A[(_0x2433d6(0xbf))]();return{'URL':_0x5cf5d0,'close':(_0x54f189,_0x26d486)=>{_0x2ed0c8['close'](_0x54f189,_0x26d486),_0x117b6a['dispose']();},'send':_0x2e19e5=>{const _0x4871ee=_0x2433d6;_0x2ed0c8[_0x4871ee(0x134)](_0x2e19e5);},'open$':new V[(_0x2433d6(0x14d))](_0xca1f1f=>{const _0x57f9ee=_0x2433d6,_0x4bbe35=_0x36f6a0=>_0xca1f1f[_0x57f9ee(0x17a)](_0x36f6a0);_0x2ed0c8['addEventListener'](_0x57f9ee(0x1ba),_0x4bbe35),_0x117b6a['add'](A[_0x57f9ee(0x84)](()=>_0x2ed0c8[_0x57f9ee(0x1ce)](_0x57f9ee(0x1ba),_0x4bbe35)));})[_0x2433d6(0x23a)](V[_0x2433d6(0x154)]()),'close$':new V['Observable'](_0x3e4193=>{const _0x45b945=_0x2433d6,_0x4381a5=_0x3bb5f8=>_0x3e4193[_0x45b945(0x17a)](_0x3bb5f8);_0x2ed0c8['addEventListener']('close',_0x4381a5),_0x117b6a[_0x45b945(0x1e7)](A[_0x45b945(0x84)](()=>_0x2ed0c8[_0x45b945(0x1ce)](_0x45b945(0x19f),_0x4381a5)));})[_0x2433d6(0x23a)](V[_0x2433d6(0x154)]()),'error$':new V[(_0x2433d6(0x14d))](_0x4fe9f0=>{const _0x42181a=_0x2433d6,_0x4dd879=_0x4e28e6=>_0x4fe9f0['next'](_0x4e28e6);_0x2ed0c8['addEventListener'](_0x42181a(0xa7),_0x4dd879),_0x117b6a['add'](A[_0x42181a(0x84)](()=>_0x2ed0c8['removeEventListener'](_0x42181a(0xa7),_0x4dd879)));})[_0x2433d6(0x23a)](V['share']()),'message$':new V[(_0x2433d6(0x14d))](_0x1bbd00=>{const _0x38a507=_0x2433d6,_0x1dcf95=_0x53d40f=>_0x1bbd00[_0x38a507(0x17a)](_0x53d40f);_0x2ed0c8[_0x38a507(0x8f)](_0x38a507(0x19e),_0x1dcf95),_0x117b6a[_0x38a507(0x1e7)](A[_0x38a507(0x84)](()=>_0x2ed0c8[_0x38a507(0x1ce)](_0x38a507(0x19e),_0x1dcf95)));})['pipe'](V[_0x2433d6(0x154)]())};}catch(_0x42710c){return console[_0x2433d6(0xa7)](_0x42710c),null;}}};ke=Wt([qt(0x0,A[_0xc05e9f(0xa2)])],ke);var Gt=Object['defineProperty'],Vt=Object['getOwnPropertyDescriptor'],Ht=(_0x3cf8bc,_0x5dff01,_0x4dfc9f)=>_0x5dff01 in _0x3cf8bc?Gt(_0x3cf8bc,_0x5dff01,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4dfc9f}):_0x3cf8bc[_0x5dff01]=_0x4dfc9f,zt=(_0x55e17f,_0x552523,_0xc4bca2,_0x341741)=>{const _0x5bc530=_0xc05e9f;for(var _0x4724aa=_0x341741>0x1?void 0x0:_0x341741?Vt(_0x552523,_0xc4bca2):_0x552523,_0x3208f0=_0x55e17f[_0x5bc530(0x165)]-0x1,_0x8fef4a;_0x3208f0>=0x0;_0x3208f0--)(_0x8fef4a=_0x55e17f[_0x3208f0])&&(_0x4724aa=_0x8fef4a(_0x4724aa)||_0x4724aa);return _0x4724aa;},Ne=(_0x1906cb,_0x46bba1)=>(_0x11be6e,_0x43bef6)=>_0x46bba1(_0x11be6e,_0x43bef6,_0x1906cb),Yt=(_0x13d664,_0x3579a1,_0x2913d4)=>Ht(_0x13d664,_0x3579a1+'',_0x2913d4);exports[_0xc05e9f(0x186)]=class extends A['Plugin']{constructor(_0x9b1c19=Ct,_0x1492a0,_0xb4e3de,_0x5f1e96){const _0x2c6418=_0xc05e9f;_0x9b1c19[_0x2c6418(0x202)]||_0x1492a0['warn'](_0x2c6418(0x20f)),super(),this['_configService']=_0xb4e3de,this['_injector']=_0x5f1e96,this[_0x2c6418(0x218)]['setConfig'](fe,_0x9b1c19);}[_0xc05e9f(0x12d)](){const _0x2f6f2a=_0xc05e9f;this[_0x2f6f2a(0x166)]();}[_0xc05e9f(0x166)](){const _0x9942da=_0xc05e9f;A[_0x9942da(0x1a7)](this[_0x9942da(0x13f)],[[it['ISocketService'],{'useClass':ke}]]);}},Yt(exports[_0xc05e9f(0x186)],_0xc05e9f(0x123),_0xc05e9f(0x239)),exports[_0xc05e9f(0x186)]=zt([A['DependentOn'](st[_0xc05e9f(0x7a)]),Ne(0x1,A[_0xc05e9f(0x133)]),Ne(0x2,A[_0xc05e9f(0xa2)]),Ne(0x3,A[_0xc05e9f(0x13d)](A[_0xc05e9f(0xb4)]))],exports[_0xc05e9f(0x186)]);var Kt=Object[_0xc05e9f(0x121)],Xt=(_0x247f59,_0x118ce2,_0x47b9cc,_0x6614db)=>{const _0x189e15=_0xc05e9f;for(var _0xaeff7b=_0x6614db>0x1?void 0x0:_0x6614db?Kt(_0x118ce2,_0x47b9cc):_0x118ce2,_0x34edb7=_0x247f59[_0x189e15(0x165)]-0x1,_0x5d98ae;_0x34edb7>=0x0;_0x34edb7--)(_0x5d98ae=_0x247f59[_0x34edb7])&&(_0xaeff7b=_0x5d98ae(_0xaeff7b)||_0xaeff7b);return _0xaeff7b;},ne=(_0x5d6677,_0x3814dc)=>(_0x5e7937,_0x43707a)=>_0x3814dc(_0x5e7937,_0x43707a,_0x5d6677);exports['NodeCollaborationSocketService']=class extends st[_0xc05e9f(0x1d9)]{constructor(_0x10f1b4,_0x5ee025,_0x9539ac,_0x45752b,_0xfedb89){const _0x1df521=_0xc05e9f;super(_0x10f1b4,_0x5ee025,_0x9539ac,_0x45752b,_0xfedb89);const _0x5e566b=this[_0x1df521(0x218)][_0x1df521(0x209)](fe);this[_0x1df521(0x16f)][_0x1df521(0x227)]({'interceptor':(_0x5bfd38,_0x264944)=>{const _0x55b04a=_0x1df521;var _0x4a97e6;const _0x2bc2c1=_0x5bfd38['headers'];return(_0x4a97e6=_0x5e566b==null?void 0x0:_0x5e566b[_0x55b04a(0x202)])!=null&&_0x4a97e6[_0x55b04a(0x181)]&&_0x2bc2c1[_0x55b04a(0x22d)](_0x55b04a(0x153),_0x5e566b[_0x55b04a(0x202)][_0x55b04a(0x181)]),_0x264944(_0x5bfd38);}});}async[_0xc05e9f(0x144)](_0x496458){const _0x4732de=_0xc05e9f;return this[_0x4732de(0x79)](_0x496458);}},exports[_0xc05e9f(0xc0)]=Xt([ne(0x0,A[_0xc05e9f(0x13d)](A[_0xc05e9f(0xb4)])),ne(0x1,A[_0xc05e9f(0x13d)](it[_0xc05e9f(0x12a)])),ne(0x2,A['IConfigService']),ne(0x3,A[_0xc05e9f(0x133)]),ne(0x4,Ot[_0xc05e9f(0x15e)])],exports[_0xc05e9f(0xc0)]),exports[_0xc05e9f(0xba)]=fe;function _0x3d7f(){const _0x540b68=['The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','createSocket','function','174idVREu','params','readOnly','prototype','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','once','isIP','Observable','_max_window_bits','WS_ERR_UNEXPECTED_RSV_2_3','_fragments','username','drain','Cookie','share','22539296GhqdoZ','Module','pause','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','server_max_window_bits','readUInt16BE','Sec-WebSocket-Extensions:\x20','compress','construct','ISnapshotServerService','Disposable','arraybuffer','wasClean','_shouldEmitClose','_options','_opcode','length','_registerDependencies','port','kCode','_req','sec-websocket-origin','clientMaxWindowBits','alloc','nextTick','toStringTag','_httpService','kData','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','STATUS_CODES','kMessage','_url','finished','readable','WS_ERR_UNEXPECTED_RSV_1','emitClose','maxPayload','next','_masked','conclude','defaultPort','getMask','concurrencyLimit','Maximum\x20redirects\x20exceeded','cookie','_fragmented','read','protocolVersion','18714sPWaHj','UniverCollaborationClientNodePlugin','binary','_payloadLength','_inflate','host','species','wsClientError','extensionName','sha1','rxjs','Invalid\x20value\x20for\x20parameter\x20\x22','_sender','generateMask','accept','_compressed','socket','invalid\x20status\x20code\x20','errorEmitted','catch','isBuffer','Sec-WebSocket-Protocol','push','http','Unknown\x20parameter\x20\x22','message','close','auth','zlib','threshold','replace','get','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','call','registerDependencies','pathname','charCodeAt','concurrency','toString','dataMessage','acceptAsClient','map','value','createConnection','WS_NO_UTF_8_VALIDATE','_final','end','getPayloadLength16','_protocol','4997075Rokqui','sec-websocket-key','_totalPayloadLength','isInteger','open','href','kAborted','perMessageDeflate','jobs','parse','_originalSecure','startLoop','noServer','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','default','Unexpected\x20character\x20at\x20index\x20','listening','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','createError','OPEN','_skipUTF8Validation','File','haveLength','pong','removeEventListener','_readableState','\x22:\x20','@univerjs/network','\x22\x20subprotocol\x20is\x20duplicated','resume','_bufferedAmount','buffers','hostname','_server','opcode','CollaborationSocketService','concat','destroy','CLOSING','sec-websocket-extensions','status-code','url','origin','_isServer','Z_SYNC_FLUSH','listenerCount','write','reason','data','add','WS_ERR_INVALID_CLOSE_CODE','followRedirects','WS_ERR_EXPECTED_MASK','toLowerCase','setNoDelay','RSV1\x20must\x20be\x20clear','client_no_context_takeover','_extensions','HTTP/1.1\x20101\x20Switching\x20Protocols','collaboration-client-node.config','pow','authorized','backlog','_paused','indexOf','callback','WS_ERR_INVALID_UTF8','_no_context_takeover','autoPong','client','bind','Unexpected\x20end\x20of\x20input','WebSocket\x20is\x20not\x20open:\x20readyState\x20','Basic\x20','type','then','customHeaders','WS_ERR_INVALID_OPCODE','maxRedirects','CONNECTING','needDrain','client_max_window_bits','destroyed','getConfig','endEmitted','isArray','_errored','Connection:\x20Upgrade','normalizeParams','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','WS_NO_BUFFER_UTIL','digest','encrypted','http:','MASK\x20must\x20be\x20clear','test','arrayBuffer','_compress','_configService','listen','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','shouldHandle','The\x20URL\x20contains\x20a\x20fragment\x20identifier','number','target','authorization','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','kTarget','Z_DEFAULT_WINDOWBITS','entries','server','_maskBuffer','removeListener','registerHTTPInterceptor','stream','blob','websocket','_binaryType','_fin','set','kByteLength','fin','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','writeHead','sec-websocket-version','freeze','setSocket','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','writeUInt16BE','request','_generateMask','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','pipe','\x0d\x0a\x0d\x0a','includes','_closeCode','clientNoContextTakeover','size','readyState','_doCreateSocket','UniverCollaborationClientPlugin','_redirects','net','sec-websocket-protocol','path','consume','_closeFrameSent','_mask','join','Server\x20sent\x20an\x20invalid\x20subprotocol','toDisposable','handshakeTimeout','GET','finish','_read','isPaused','update','removeAllListeners','_queue','permessage-deflate','readUInt32BE','addEventListener','wss:','2894856YzzsfU','ping','Invalid\x20Sec-WebSocket-Protocol\x20header','code','dispatch','unmask','@univerjs-pro/collaboration','decompress','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','allowSynchronousEvents','binaryType','getInfo','headers','createDeflateRaw','socketPath','connect','maskBuffer','IConfigService','Opening\x20handshake\x20has\x20timed\x20out','https:','terminate','onopen','error','WebSocket','servername','CLOSED','redirect','_closeTimer','statusCode','_firstFragment','HTTP/1.1\x20','defineProperty','forEach','kError','Server\x20sent\x20no\x20subprotocol','Injector','env','extensions','serverNoContextTakeover','address','The\x20\x22','COLLABORATION_CLIENT_NODE_CONFIG_KEY','kType','total-length','kDone','buffer','DisposableCollection','NodeCollaborationSocketService','_bufferedBytes','_write','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','_state','_messageLength','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','string','132671dlDiTQ','finishRequest','handleEvent','pending','zlibInflateOptions','handleUpgrade','Max\x20payload\x20size\x20exceeded','kRun','captureStackTrace','_autoPong','exports','byteLength','byteOffset','getBlobData','rsv1','_closeMessage','delete','listeners','base64','bufferedAmount','onclose','@univerjs-pro/collaboration-client','verifyClient','offer','ws:','shift','getData','invalid\x20UTF-8\x20sequence','clientTracking','from','skipUTF8Validation','getPayloadLength64','create','_allowSynchronousEvents','WS_ERR_UNEXPECTED_MASK','text/plain','protocol','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','dequeue','hash','MASK\x20must\x20be\x20set','has','enqueue','mask','sendFrame','Invalid\x20Sec-WebSocket-Accept\x20header','_originalHostOrSocketPath','completeUpgrade','controlMessage','clients','_loop','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','_socket','object','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','cork','abort','cleanup','options','reset','isValidUTF8','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','Invalid\x20Sec-WebSocket-Extensions\x20header','_receiver','_maxPayload','split','emit','timeout','nodebuffer','invalid\x20opcode\x20','_readyState','_buffers','Invalid\x20HTTP\x20method','method','The\x20URL\x27s\x20pathname\x20is\x20empty','objectMode','Sec-WebSocket-Accept:\x20','_destroy','9484EAwVOp','upgrade','_deflate','_closeFrameReceived','server_no_context_takeover','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','Unexpected\x20server\x20response:\x20','_threshold','setTimeout','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','@univerjs/core','getOwnPropertyDescriptor','onerror','pluginName','serverMaxWindowBits','_writableState','Unsupported\x20protocol\x20version:\x20','keys','_errorEmitted','Upgrade','HTTPService','writable','isServer','onStarting','handleProtocols','fragments','kIsForOnEventAttribute','location','frame','ILogService','send','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','Invalid\x20Upgrade\x20header','Blob','slice','_removeListeners','constructor','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','allocUnsafe','Inject','kListener','_injector','2491363NGfshq','text/html','invalid\x20opcode\x200'];_0x3d7f=function(){return _0x540b68;};return _0x3d7f();}