@univerjs-pro/collaboration-client-node 0.6.9-nightly.202504041607 → 0.6.9-nightly.202504061606

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0x1ee84f=_0x8f2c;(function(_0x68d089,_0x16ff48){const _0x2dd057=_0x8f2c,_0x80c6e8=_0x68d089();while(!![]){try{const _0x44ee76=parseInt(_0x2dd057(0x389))/0x1+parseInt(_0x2dd057(0x2ef))/0x2+parseInt(_0x2dd057(0x1f3))/0x3+parseInt(_0x2dd057(0x2b0))/0x4+parseInt(_0x2dd057(0x28e))/0x5*(-parseInt(_0x2dd057(0x373))/0x6)+-parseInt(_0x2dd057(0x24b))/0x7*(parseInt(_0x2dd057(0x2c5))/0x8)+-parseInt(_0x2dd057(0x34c))/0x9*(parseInt(_0x2dd057(0x34a))/0xa);if(_0x44ee76===_0x16ff48)break;else _0x80c6e8['push'](_0x80c6e8['shift']());}catch(_0x491c4e){_0x80c6e8['push'](_0x80c6e8['shift']());}}}(_0x1584,0x93f43));import{UniverCollaborationClientPlugin as _0x2a465c,CollaborationSocketService as _0x74ca60}from'@univerjs-pro/collaboration-client';import{Disposable as _0x1d8789,DisposableCollection as _0x1e08fa,toDisposable as _0x2b1439,IConfigService as _0x4975c4,DependentOn as _0x3e9ee6,ILogService as _0x2a141b,Inject as _0x5eb814,Injector as _0x4964af,Plugin as _0xc95fdd,registerDependencies as _0x28aa56}from'@univerjs/core';import{ISocketService as _0x5e6b37,HTTPService as _0x458821}from'@univerjs/network';import{Observable as _0x3bc0c8,share as _0x120ad7}from'rxjs';import _0x585b11 from'events';import _0x2fd1b4 from'https';import _0x17586c from'http';import _0x424bbb from'net';import _0x2008ca from'tls';import _0x15ac28 from'crypto';import _0x1bb23d from'stream';import _0x376499 from'url';import _0x32b9ee from'zlib';import _0x3e4edc from'buffer';import{ISnapshotServerService as _0x28c148}from'@univerjs-pro/collaboration';const Be=_0x1ee84f(0x288),Ft={'customHeaders':{}};function jt(_0x47cd6d){const _0x138ae0=_0x1ee84f;return _0x47cd6d&&_0x47cd6d['__esModule']&&Object[_0x138ae0(0x346)][_0x138ae0(0x37e)][_0x138ae0(0x207)](_0x47cd6d,'default')?_0x47cd6d[_0x138ae0(0x243)]:_0x47cd6d;}function ut(_0x4f0f02){const _0x301cbb=_0x1ee84f;if(Object[_0x301cbb(0x346)][_0x301cbb(0x37e)][_0x301cbb(0x207)](_0x4f0f02,_0x301cbb(0x30c)))return _0x4f0f02;var _0x4306fa=_0x4f0f02[_0x301cbb(0x243)];if(typeof _0x4306fa==_0x301cbb(0x2b2)){var _0x36d4db=function _0x40c704(){const _0x5639ee=_0x301cbb;return this instanceof _0x40c704?Reflect[_0x5639ee(0x37f)](_0x4306fa,arguments,this[_0x5639ee(0x2ff)]):_0x4306fa['apply'](this,arguments);};_0x36d4db[_0x301cbb(0x346)]=_0x4306fa[_0x301cbb(0x346)];}else _0x36d4db={};return Object[_0x301cbb(0x304)](_0x36d4db,'__esModule',{'value':!0x0}),Object[_0x301cbb(0x36b)](_0x4f0f02)[_0x301cbb(0x2d2)](function(_0x464f26){const _0x21200e=_0x301cbb;var _0x252b20=Object[_0x21200e(0x280)](_0x4f0f02,_0x464f26);Object[_0x21200e(0x304)](_0x36d4db,_0x464f26,_0x252b20[_0x21200e(0x26c)]?_0x252b20:{'enumerable':!0x0,'get':function(){return _0x4f0f02[_0x464f26];}});}),_0x36d4db;}var te={'exports':{}},ge,Ye;function V(){const _0xa73160=_0x1ee84f;if(Ye)return ge;Ye=0x1;const _0x221ca9=[_0xa73160(0x34b),_0xa73160(0x212),_0xa73160(0x2ab)],_0x3c69cd=typeof Blob<'u';return _0x3c69cd&&_0x221ca9[_0xa73160(0x30a)](_0xa73160(0x2a7)),ge={'BINARY_TYPES':_0x221ca9,'EMPTY_BUFFER':Buffer[_0xa73160(0x265)](0x0),'GUID':_0xa73160(0x36d),'hasBlob':_0x3c69cd,'kForOnEventAttribute':Symbol(_0xa73160(0x261)),'kListener':Symbol(_0xa73160(0x2c6)),'kStatusCode':Symbol('status-code'),'kWebSocket':Symbol('websocket'),'NOOP':()=>{}},ge;}function _0x1584(){const _0x7b3e9f=['client','enqueue','sec-websocket-key','readable','_write','Sec-WebSocket-Accept:\x20','_no_context_takeover','_mask','isPaused','Connection:\x20Upgrade','hostname','close','defaultPort','handleUpgrade','unshift','_sender','parse','isView','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','onclose','readyState','dequeue','encrypted','pow','normalizeParams','readOnly','_messageLength','_maxPayload','_injector','prototype','_originalIpc','_fragmented','location','510xeTiQt','nodebuffer','54963gcgdGX','clientNoContextTakeover','fin','readUInt16BE','\x22\x20must\x20have\x20only\x20a\x20single\x20value','consume','zlibInflateOptions','_closeCode','digest','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','find','nextTick','Invalid\x20Sec-WebSocket-Accept\x20header','next','ping','setNoDelay','clients','extensionName','_final','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','username','HTTP/1.1\x20','_closeFrameSent','websocket','getBlobData','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','apply','message','finishRequest','Z_SYNC_FLUSH','WS_NO_BUFFER_UTIL','keys','MASK\x20must\x20be\x20clear','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','kType','_socket','clientTracking','Upgrade','concurrencyLimit','513834xMbhoo','has','Unknown\x20parameter\x20\x22','from','MASK\x20must\x20be\x20set','offer','WS_ERR_EXPECTED_FIN','_compressed','WS_ERR_INVALID_UTF8','\x22\x20subprotocol\x20is\x20duplicated','_closeTimer','hasOwnProperty','construct','haveLength','kCode','rsv1','headers','Max\x20payload\x20size\x20exceeded','write','server_no_context_takeover','invalid\x20UTF-8\x20sequence','Invalid\x20HTTP\x20method','196234VUUhKS','finished','createSocket','socketPath','noServer','OPEN','WebSocket\x20is\x20not\x20open:\x20readyState\x20','Invalid\x20Sec-WebSocket-Extensions\x20header','string','_max_window_bits','binary','serverMaxWindowBits','protocolVersion','errorEmitted','_configService','open','object','connect','listen','buffers','_skipUTF8Validation','_redirects','_paused','isArray','Sec-WebSocket-Origin','\x0d\x0a\x0d\x0a','_removeListeners','completeUpgrade','statusCode','2816823SwgLBZ','cleanup','listening','allocUnsafe','Maximum\x20redirects\x20exceeded','invalid\x20opcode\x20','_destroy','includes','_buffers','threshold','href','needDrain','_shouldEmitClose','controlMessage','Server\x20sent\x20no\x20subprotocol','wss:','allowSynchronousEvents','kTarget','pong','bind','call','RSV1\x20must\x20be\x20clear','_binaryType','_totalPayloadLength','_bufferedBytes','onmessage','drain','read','server','frame','removeAllListeners','arraybuffer','onopen','\x22:\x20','isInteger','params','writable','maxPayload','Sec-WebSocket-Protocol','removeEventListener','target','species','host','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','onerror','_closeMessage','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','_url','_fin','port','_firstFragment','response','request','callback','toStringTag','https:','total-length','WS_ERR_INVALID_OPCODE','authorization','destroy','pluginName','_state','customHeaders','The\x20server\x20is\x20not\x20running','_threshold','wasClean','Module','setTimeout','sha1','acceptAsClient','_queue','binaryType','_read','number','toString','abort','stream','serverNoContextTakeover','_deflate','path','default','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','base64','writeUIntBE','warn','finish','cork','14lvRceR','zlibDeflateOptions','conclude','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','_registerDependencies','end','authorized','toLowerCase','ws+unix:','CLOSED','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','_payloadLength','send','exports','_loop','set','origin','dataMessage','_masked','sec-websocket-extensions','_isServer','_httpService','kIsForOnEventAttribute','_compress','data','readUInt32BE','alloc','permessage-deflate','CLOSING','opcode','getPayloadLength64','backlog','WS_ERR_INVALID_CLOSE_CODE','get','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','_extensions','_autoPong','_maskBuffer','arrayBuffer','destroyed','_options','mask','onStarting','_fragments','decompress','dispose','flush','entries','createInflateRaw','createError','createConnection','_writableState','code','getOwnPropertyDescriptor','captureStackTrace','isIP','_inflate','File','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','buffer','concat','collaboration-client-node.config','_receiver','objectMode','perMessageDeflate','listenerCount','_generateMask','55bqkKhR','env','acceptAsServer','slice','handleProtocols','_opcode','emitClose','size','sec-websocket-protocol','shouldHandle','startsWith','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','sendFrame','dispatch','client_max_window_bits','type','Unexpected\x20character\x20at\x20index\x20','_originalHostOrSocketPath','pause','_req','text/plain','pending','WS_ERR_UNEXPECTED_RSV_1','extensions','The\x20URL\x20contains\x20a\x20fragment\x20identifier','blob','Server\x20sent\x20an\x20invalid\x20subprotocol','jobs','replace','fragments','getData','_errored','update','autoPong','2915916kQnADu','concurrency','function','kRun','kWasClean','startLoop','upgrade','maxRedirects','generateMask','getMask','servername','delete','Invalid\x20Upgrade\x20header','options','_readableState','reset','url','The\x20URL\x27s\x20pathname\x20is\x20empty','listeners','_readyState','CONNECTING','1782856MlnOEp','kListener','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','FIN\x20must\x20be\x20set','accept','createDeflateRaw','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','clientMaxWindowBits','STATUS_CODES','timeout','error','GET','shift','forEach','_errorEmitted','The\x20\x22','uncork','_protocol','ws:','WS_NO_UTF_8_VALIDATE','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','kReason','Unexpected\x20end\x20of\x20input','pathname','_server','cookie','WS_ERR_UNEXPECTED_RSV_2_3','reason','isServer','_closeFrameReceived','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','handleEvent','address','Invalid\x20URL:\x20','skipUTF8Validation','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','charCodeAt','unexpected-response','kMessage','server_max_window_bits','setSocket','882130KttmYI','_decompress','getConfig','getInfo','Invalid\x20WebSocket\x20frame:\x20','verifyClient','getPayloadLength16','_allowSynchronousEvents','bufferedAmount','redirect','protocol','resume','socket','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','Cookie','constructor','Invalid\x20value\x20for\x20parameter\x20\x22','freeze','_originalSecure','WS_ERR_EXPECTED_MASK','defineProperty','kData','Sec-WebSocket-Extensions:\x20','indexOf','map','create','push','emit','__esModule','add','terminate','kByteLength','createServer','compress','Blob','WebSocket','length','client_no_context_takeover','_bufferedAmount','byteOffset','kDone','handshakeTimeout','values','pipe','Upgrade:\x20websocket','join','addEventListener','endEmitted','once','isValidUTF8','Sec-WebSocket-Extensions','test','byteLength','wsClientError','removeListener','auth'];_0x1584=function(){return _0x7b3e9f;};return _0x1584();}const Wt={},Gt=Object[_0x1ee84f(0x301)](Object['defineProperty']({'__proto__':null,'default':Wt},Symbol[_0x1ee84f(0x229)],{'value':_0x1ee84f(0x235)})),Vt=ut(Gt);var Ke;function ce(){const _0x2ed059=_0x1ee84f;if(Ke)return te[_0x2ed059(0x258)];Ke=0x1;const {EMPTY_BUFFER:_0x52cb6b}=V(),_0x29993a=Buffer[Symbol[_0x2ed059(0x21c)]];function _0x105ea3(_0x568988,_0x1a40b1){const _0x177f5c=_0x2ed059;if(_0x568988[_0x177f5c(0x314)]===0x0)return _0x52cb6b;if(_0x568988[_0x177f5c(0x314)]===0x1)return _0x568988[0x0];const _0x7ad6d2=Buffer['allocUnsafe'](_0x1a40b1);let _0x4c8dfd=0x0;for(let _0x58e607=0x0;_0x58e607<_0x568988[_0x177f5c(0x314)];_0x58e607++){const _0x2612ac=_0x568988[_0x58e607];_0x7ad6d2[_0x177f5c(0x25a)](_0x2612ac,_0x4c8dfd),_0x4c8dfd+=_0x2612ac[_0x177f5c(0x314)];}return _0x4c8dfd<_0x1a40b1?new _0x29993a(_0x7ad6d2[_0x177f5c(0x286)],_0x7ad6d2[_0x177f5c(0x317)],_0x4c8dfd):_0x7ad6d2;}function _0x45a14a(_0x2c2c91,_0x332669,_0x10a8e5,_0xd43128,_0x5a8c76){for(let _0x13eb21=0x0;_0x13eb21<_0x5a8c76;_0x13eb21++)_0x10a8e5[_0xd43128+_0x13eb21]=_0x2c2c91[_0x13eb21]^_0x332669[_0x13eb21&0x3];}function _0x36eb5f(_0x5e6d04,_0x2f358e){const _0x4095d5=_0x2ed059;for(let _0xbe4a84=0x0;_0xbe4a84<_0x5e6d04[_0x4095d5(0x314)];_0xbe4a84++)_0x5e6d04[_0xbe4a84]^=_0x2f358e[_0xbe4a84&0x3];}function _0x745143(_0x48b3e5){const _0x4f8210=_0x2ed059;return _0x48b3e5[_0x4f8210(0x314)]===_0x48b3e5[_0x4f8210(0x286)]['byteLength']?_0x48b3e5[_0x4f8210(0x286)]:_0x48b3e5[_0x4f8210(0x286)][_0x4f8210(0x291)](_0x48b3e5[_0x4f8210(0x317)],_0x48b3e5['byteOffset']+_0x48b3e5[_0x4f8210(0x314)]);}function _0x38e9b2(_0x255edf){const _0xe689b7=_0x2ed059;if(_0x38e9b2[_0xe689b7(0x342)]=!0x0,Buffer['isBuffer'](_0x255edf))return _0x255edf;let _0x42e321;return _0x255edf instanceof ArrayBuffer?_0x42e321=new _0x29993a(_0x255edf):ArrayBuffer[_0xe689b7(0x339)](_0x255edf)?_0x42e321=new _0x29993a(_0x255edf[_0xe689b7(0x286)],_0x255edf[_0xe689b7(0x317)],_0x255edf[_0xe689b7(0x324)]):(_0x42e321=Buffer['from'](_0x255edf),_0x38e9b2[_0xe689b7(0x342)]=!0x1),_0x42e321;}if(te[_0x2ed059(0x258)]={'concat':_0x105ea3,'mask':_0x45a14a,'toArrayBuffer':_0x745143,'toBuffer':_0x38e9b2,'unmask':_0x36eb5f},!process[_0x2ed059(0x28f)][_0x2ed059(0x36a)])try{const _0x10375d=Vt;te[_0x2ed059(0x258)][_0x2ed059(0x274)]=function(_0x2e42b6,_0x483f51,_0x567d6e,_0x29318a,_0x5f2ce6){const _0x51b3e4=_0x2ed059;_0x5f2ce6<0x30?_0x45a14a(_0x2e42b6,_0x483f51,_0x567d6e,_0x29318a,_0x5f2ce6):_0x10375d[_0x51b3e4(0x274)](_0x2e42b6,_0x483f51,_0x567d6e,_0x29318a,_0x5f2ce6);},te[_0x2ed059(0x258)]['unmask']=function(_0x4f488c,_0x15876){const _0x3da0ea=_0x2ed059;_0x4f488c[_0x3da0ea(0x314)]<0x20?_0x36eb5f(_0x4f488c,_0x15876):_0x10375d['unmask'](_0x4f488c,_0x15876);};}catch{}return te[_0x2ed059(0x258)];}var ye,Xe;function qt(){const _0x1350ef=_0x1ee84f;if(Xe)return ye;Xe=0x1;const _0x145ffd=Symbol(_0x1350ef(0x318)),_0x44578f=Symbol(_0x1350ef(0x2b3));class _0x3912d9{constructor(_0x478f1f){const _0x57dad4=_0x1350ef;this[_0x145ffd]=()=>{const _0x46aa4e=_0x8f2c;this[_0x46aa4e(0x2a3)]--,this[_0x44578f]();},this[_0x57dad4(0x2b1)]=_0x478f1f||0x1/0x0,this['jobs']=[],this[_0x57dad4(0x2a3)]=0x0;}[_0x1350ef(0x30d)](_0x3f777f){const _0x47c7b4=_0x1350ef;this[_0x47c7b4(0x2a9)][_0x47c7b4(0x30a)](_0x3f777f),this[_0x44578f]();}[_0x44578f](){const _0x2468db=_0x1350ef;if(this[_0x2468db(0x2a3)]!==this[_0x2468db(0x2b1)]&&this['jobs'][_0x2468db(0x314)]){const _0x93402b=this[_0x2468db(0x2a9)][_0x2468db(0x2d1)]();this[_0x2468db(0x2a3)]++,_0x93402b(this[_0x145ffd]);}}}return ye=_0x3912d9,ye;}var ve,Ze;function he(){const _0x318cbd=_0x1ee84f;if(Ze)return ve;Ze=0x1;const _0xba6cc5=_0x32b9ee,_0x1bc3c6=ce(),_0xd798c7=qt(),{kStatusCode:_0x37c75d}=V(),_0x20c7bd=Buffer[Symbol[_0x318cbd(0x21c)]],_0x5ff13b=Buffer[_0x318cbd(0x376)]([0x0,0x0,0xff,0xff]),_0x503310=Symbol(_0x318cbd(0x266)),_0x23ed38=Symbol(_0x318cbd(0x22b)),_0x65a7d9=Symbol(_0x318cbd(0x228)),_0x4e94ff=Symbol(_0x318cbd(0x1e9)),_0x1cdb79=Symbol('error');let _0x5020f5;class _0x129803{constructor(_0x1b0dfc,_0x1f8376,_0x3840b1){const _0x1be198=_0x318cbd;if(this['_maxPayload']=_0x3840b1|0x0,this['_options']=_0x1b0dfc||{},this[_0x1be198(0x233)]=this[_0x1be198(0x273)][_0x1be198(0x1fc)]!==void 0x0?this[_0x1be198(0x273)]['threshold']:0x400,this[_0x1be198(0x25f)]=!!_0x1f8376,this[_0x1be198(0x241)]=null,this[_0x1be198(0x283)]=null,this[_0x1be198(0x216)]=null,!_0x5020f5){const _0x8c8aba=this['_options'][_0x1be198(0x372)]!==void 0x0?this[_0x1be198(0x273)][_0x1be198(0x372)]:0xa;_0x5020f5=new _0xd798c7(_0x8c8aba);}}static get[_0x318cbd(0x35d)](){return'permessage-deflate';}['offer'](){const _0x3881ed=_0x318cbd,_0x58310c={};return this['_options'][_0x3881ed(0x240)]&&(_0x58310c[_0x3881ed(0x386)]=!0x0),this['_options'][_0x3881ed(0x34d)]&&(_0x58310c['client_no_context_takeover']=!0x0),this['_options']['serverMaxWindowBits']&&(_0x58310c[_0x3881ed(0x2ed)]=this[_0x3881ed(0x273)][_0x3881ed(0x1e1)]),this[_0x3881ed(0x273)]['clientMaxWindowBits']?_0x58310c['client_max_window_bits']=this[_0x3881ed(0x273)][_0x3881ed(0x2cc)]:this[_0x3881ed(0x273)][_0x3881ed(0x2cc)]==null&&(_0x58310c['client_max_window_bits']=!0x0),_0x58310c;}[_0x318cbd(0x2c9)](_0x2ad629){const _0x424c14=_0x318cbd;return _0x2ad629=this[_0x424c14(0x341)](_0x2ad629),this[_0x424c14(0x216)]=this['_isServer']?this[_0x424c14(0x290)](_0x2ad629):this['acceptAsClient'](_0x2ad629),this[_0x424c14(0x216)];}[_0x318cbd(0x1f4)](){const _0x23ea64=_0x318cbd;if(this[_0x23ea64(0x283)]&&(this[_0x23ea64(0x283)]['close'](),this[_0x23ea64(0x283)]=null),this['_deflate']){const _0x3f2223=this['_deflate'][_0x65a7d9];this[_0x23ea64(0x241)]['close'](),this['_deflate']=null,_0x3f2223&&_0x3f2223(new Error(_0x23ea64(0x2fc)));}}[_0x318cbd(0x290)](_0x3e7103){const _0x3639bd=_0x318cbd,_0x89c54f=this[_0x3639bd(0x273)],_0x310352=_0x3e7103[_0x3639bd(0x356)](_0x2a8b8e=>!(_0x89c54f[_0x3639bd(0x240)]===!0x1&&_0x2a8b8e[_0x3639bd(0x386)]||_0x2a8b8e[_0x3639bd(0x2ed)]&&(_0x89c54f[_0x3639bd(0x1e1)]===!0x1||typeof _0x89c54f[_0x3639bd(0x1e1)]==_0x3639bd(0x23c)&&_0x89c54f[_0x3639bd(0x1e1)]>_0x2a8b8e[_0x3639bd(0x2ed)])||typeof _0x89c54f['clientMaxWindowBits']==_0x3639bd(0x23c)&&!_0x2a8b8e[_0x3639bd(0x29c)]));if(!_0x310352)throw new Error('None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted');return _0x89c54f['serverNoContextTakeover']&&(_0x310352[_0x3639bd(0x386)]=!0x0),_0x89c54f[_0x3639bd(0x34d)]&&(_0x310352[_0x3639bd(0x315)]=!0x0),typeof _0x89c54f[_0x3639bd(0x1e1)]==_0x3639bd(0x23c)&&(_0x310352[_0x3639bd(0x2ed)]=_0x89c54f[_0x3639bd(0x1e1)]),typeof _0x89c54f[_0x3639bd(0x2cc)]==_0x3639bd(0x23c)?_0x310352[_0x3639bd(0x29c)]=_0x89c54f[_0x3639bd(0x2cc)]:(_0x310352[_0x3639bd(0x29c)]===!0x0||_0x89c54f[_0x3639bd(0x2cc)]===!0x1)&&delete _0x310352['client_max_window_bits'],_0x310352;}[_0x318cbd(0x238)](_0x42d6a0){const _0x5a6e2f=_0x318cbd,_0x21fde1=_0x42d6a0[0x0];if(this[_0x5a6e2f(0x273)][_0x5a6e2f(0x34d)]===!0x1&&_0x21fde1['client_no_context_takeover'])throw new Error('Unexpected\x20parameter\x20\x22client_no_context_takeover\x22');if(!_0x21fde1[_0x5a6e2f(0x29c)])typeof this[_0x5a6e2f(0x273)][_0x5a6e2f(0x2cc)]=='number'&&(_0x21fde1['client_max_window_bits']=this[_0x5a6e2f(0x273)][_0x5a6e2f(0x2cc)]);else{if(this[_0x5a6e2f(0x273)][_0x5a6e2f(0x2cc)]===!0x1||typeof this[_0x5a6e2f(0x273)][_0x5a6e2f(0x2cc)]==_0x5a6e2f(0x23c)&&_0x21fde1[_0x5a6e2f(0x29c)]>this['_options'][_0x5a6e2f(0x2cc)])throw new Error('Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22');}return _0x21fde1;}['normalizeParams'](_0x29bb05){return _0x29bb05['forEach'](_0x3b1c31=>{const _0x3b1079=_0x8f2c;Object[_0x3b1079(0x36b)](_0x3b1c31)['forEach'](_0x5bc6b7=>{const _0x209d0a=_0x3b1079;let _0x530081=_0x3b1c31[_0x5bc6b7];if(_0x530081[_0x209d0a(0x314)]>0x1)throw new Error('Parameter\x20\x22'+_0x5bc6b7+_0x209d0a(0x350));if(_0x530081=_0x530081[0x0],_0x5bc6b7===_0x209d0a(0x29c)){if(_0x530081!==!0x0){const _0xd5a734=+_0x530081;if(!Number[_0x209d0a(0x215)](_0xd5a734)||_0xd5a734<0x8||_0xd5a734>0xf)throw new TypeError(_0x209d0a(0x300)+_0x5bc6b7+_0x209d0a(0x214)+_0x530081);_0x530081=_0xd5a734;}else{if(!this[_0x209d0a(0x25f)])throw new TypeError(_0x209d0a(0x300)+_0x5bc6b7+'\x22:\x20'+_0x530081);}}else{if(_0x5bc6b7===_0x209d0a(0x2ed)){const _0x185287=+_0x530081;if(!Number[_0x209d0a(0x215)](_0x185287)||_0x185287<0x8||_0x185287>0xf)throw new TypeError(_0x209d0a(0x300)+_0x5bc6b7+_0x209d0a(0x214)+_0x530081);_0x530081=_0x185287;}else{if(_0x5bc6b7===_0x209d0a(0x315)||_0x5bc6b7===_0x209d0a(0x386)){if(_0x530081!==!0x0)throw new TypeError(_0x209d0a(0x300)+_0x5bc6b7+_0x209d0a(0x214)+_0x530081);}else throw new Error(_0x209d0a(0x375)+_0x5bc6b7+'\x22');}}_0x3b1c31[_0x5bc6b7]=_0x530081;});}),_0x29bb05;}[_0x318cbd(0x277)](_0x41c5bb,_0x428e75,_0x1f920e){_0x5020f5['add'](_0x5f18ef=>{const _0x1e7691=_0x8f2c;this[_0x1e7691(0x2f0)](_0x41c5bb,_0x428e75,(_0x34fb2c,_0x6f359a)=>{_0x5f18ef(),_0x1f920e(_0x34fb2c,_0x6f359a);});});}['compress'](_0x45f451,_0x523beb,_0x41d41f){const _0x256c34=_0x318cbd;_0x5020f5[_0x256c34(0x30d)](_0x400f04=>{this['_compress'](_0x45f451,_0x523beb,(_0x6a9854,_0xfbe77c)=>{_0x400f04(),_0x41d41f(_0x6a9854,_0xfbe77c);});});}[_0x318cbd(0x2f0)](_0x21808b,_0x127d87,_0x40f55e){const _0x599d7c=_0x318cbd,_0xe97eb8=this[_0x599d7c(0x25f)]?_0x599d7c(0x328):_0x599d7c(0x20f);if(!this['_inflate']){const _0x27a326=_0xe97eb8+'_max_window_bits',_0x42da28=typeof this[_0x599d7c(0x216)][_0x27a326]!=_0x599d7c(0x23c)?_0xba6cc5['Z_DEFAULT_WINDOWBITS']:this[_0x599d7c(0x216)][_0x27a326];this['_inflate']=_0xba6cc5[_0x599d7c(0x27b)]({...this[_0x599d7c(0x273)][_0x599d7c(0x352)],'windowBits':_0x42da28}),this[_0x599d7c(0x283)][_0x503310]=this,this[_0x599d7c(0x283)][_0x23ed38]=0x0,this['_inflate'][_0x4e94ff]=[],this['_inflate']['on']('error',_0xc23f31),this['_inflate']['on'](_0x599d7c(0x263),_0x456dfd);}this[_0x599d7c(0x283)][_0x65a7d9]=_0x40f55e,this[_0x599d7c(0x283)][_0x599d7c(0x385)](_0x21808b),_0x127d87&&this[_0x599d7c(0x283)]['write'](_0x5ff13b),this['_inflate']['flush'](()=>{const _0x21681c=_0x599d7c,_0x3b0068=this[_0x21681c(0x283)][_0x1cdb79];if(_0x3b0068){this[_0x21681c(0x283)][_0x21681c(0x333)](),this[_0x21681c(0x283)]=null,_0x40f55e(_0x3b0068);return;}const _0xb2b7c1=_0x1bc3c6[_0x21681c(0x287)](this[_0x21681c(0x283)][_0x4e94ff],this[_0x21681c(0x283)][_0x23ed38]);this[_0x21681c(0x283)][_0x21681c(0x2be)][_0x21681c(0x31f)]?(this[_0x21681c(0x283)][_0x21681c(0x333)](),this[_0x21681c(0x283)]=null):(this[_0x21681c(0x283)][_0x23ed38]=0x0,this[_0x21681c(0x283)][_0x4e94ff]=[],_0x127d87&&this[_0x21681c(0x216)][_0xe97eb8+'_no_context_takeover']&&this[_0x21681c(0x283)][_0x21681c(0x2bf)]()),_0x40f55e(null,_0xb2b7c1);});}[_0x318cbd(0x262)](_0x3a8c8c,_0x593a2b,_0x79dd82){const _0x18602d=_0x318cbd,_0x2bb390=this[_0x18602d(0x25f)]?_0x18602d(0x20f):'client';if(!this['_deflate']){const _0x5c7fe5=_0x2bb390+_0x18602d(0x1df),_0x353048=typeof this[_0x18602d(0x216)][_0x5c7fe5]!=_0x18602d(0x23c)?_0xba6cc5['Z_DEFAULT_WINDOWBITS']:this['params'][_0x5c7fe5];this[_0x18602d(0x241)]=_0xba6cc5[_0x18602d(0x2ca)]({...this['_options'][_0x18602d(0x24c)],'windowBits':_0x353048}),this[_0x18602d(0x241)][_0x23ed38]=0x0,this[_0x18602d(0x241)][_0x4e94ff]=[],this['_deflate']['on'](_0x18602d(0x263),_0x5425e2);}this[_0x18602d(0x241)][_0x65a7d9]=_0x79dd82,this[_0x18602d(0x241)][_0x18602d(0x385)](_0x3a8c8c),this[_0x18602d(0x241)][_0x18602d(0x279)](_0xba6cc5[_0x18602d(0x369)],()=>{const _0xf32c6a=_0x18602d;if(!this[_0xf32c6a(0x241)])return;let _0x735994=_0x1bc3c6[_0xf32c6a(0x287)](this[_0xf32c6a(0x241)][_0x4e94ff],this['_deflate'][_0x23ed38]);_0x593a2b&&(_0x735994=new _0x20c7bd(_0x735994['buffer'],_0x735994['byteOffset'],_0x735994[_0xf32c6a(0x314)]-0x4)),this[_0xf32c6a(0x241)][_0x65a7d9]=null,this['_deflate'][_0x23ed38]=0x0,this['_deflate'][_0x4e94ff]=[],_0x593a2b&&this['params'][_0x2bb390+_0xf32c6a(0x32e)]&&this[_0xf32c6a(0x241)][_0xf32c6a(0x2bf)](),_0x79dd82(null,_0x735994);});}}ve=_0x129803;function _0x5425e2(_0x3ca54f){const _0x2f2756=_0x318cbd;this[_0x4e94ff][_0x2f2756(0x30a)](_0x3ca54f),this[_0x23ed38]+=_0x3ca54f['length'];}function _0x456dfd(_0x9b62a1){const _0x5d8796=_0x318cbd;if(this[_0x23ed38]+=_0x9b62a1[_0x5d8796(0x314)],this[_0x503310]['_maxPayload']<0x1||this[_0x23ed38]<=this[_0x503310]['_maxPayload']){this[_0x4e94ff][_0x5d8796(0x30a)](_0x9b62a1);return;}this[_0x1cdb79]=new RangeError(_0x5d8796(0x384)),this[_0x1cdb79][_0x5d8796(0x27f)]=_0x5d8796(0x285),this[_0x1cdb79][_0x37c75d]=0x3f1,this['removeListener'](_0x5d8796(0x263),_0x456dfd),this[_0x5d8796(0x2bf)]();}function _0xc23f31(_0x593b93){this[_0x503310]['_inflate']=null,_0x593b93[_0x37c75d]=0x3ef,this[_0x65a7d9](_0x593b93);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x1ee84f(0x301)](Object[_0x1ee84f(0x304)]({'__proto__':null,'default':Ht},Symbol[_0x1ee84f(0x229)],{'value':'Module'})),Yt=ut(zt);var Qe;function ne(){const _0x4b30a2=_0x1ee84f;if(Qe)return re[_0x4b30a2(0x258)];Qe=0x1;const {isUtf8:_0x59f734}=_0x3e4edc,{hasBlob:_0x109641}=V(),_0x435054=[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 _0x45c0d7(_0x4e8357){return _0x4e8357>=0x3e8&&_0x4e8357<=0x3f6&&_0x4e8357!==0x3ec&&_0x4e8357!==0x3ed&&_0x4e8357!==0x3ee||_0x4e8357>=0xbb8&&_0x4e8357<=0x1387;}function _0xa8aa38(_0x1eb8bd){const _0x37e9ce=_0x4b30a2,_0x519c16=_0x1eb8bd[_0x37e9ce(0x314)];let _0x25a02f=0x0;for(;_0x25a02f<_0x519c16;)if((_0x1eb8bd[_0x25a02f]&0x80)===0x0)_0x25a02f++;else{if((_0x1eb8bd[_0x25a02f]&0xe0)===0xc0){if(_0x25a02f+0x1===_0x519c16||(_0x1eb8bd[_0x25a02f+0x1]&0xc0)!==0x80||(_0x1eb8bd[_0x25a02f]&0xfe)===0xc0)return!0x1;_0x25a02f+=0x2;}else{if((_0x1eb8bd[_0x25a02f]&0xf0)===0xe0){if(_0x25a02f+0x2>=_0x519c16||(_0x1eb8bd[_0x25a02f+0x1]&0xc0)!==0x80||(_0x1eb8bd[_0x25a02f+0x2]&0xc0)!==0x80||_0x1eb8bd[_0x25a02f]===0xe0&&(_0x1eb8bd[_0x25a02f+0x1]&0xe0)===0x80||_0x1eb8bd[_0x25a02f]===0xed&&(_0x1eb8bd[_0x25a02f+0x1]&0xe0)===0xa0)return!0x1;_0x25a02f+=0x3;}else{if((_0x1eb8bd[_0x25a02f]&0xf8)===0xf0){if(_0x25a02f+0x3>=_0x519c16||(_0x1eb8bd[_0x25a02f+0x1]&0xc0)!==0x80||(_0x1eb8bd[_0x25a02f+0x2]&0xc0)!==0x80||(_0x1eb8bd[_0x25a02f+0x3]&0xc0)!==0x80||_0x1eb8bd[_0x25a02f]===0xf0&&(_0x1eb8bd[_0x25a02f+0x1]&0xf0)===0x80||_0x1eb8bd[_0x25a02f]===0xf4&&_0x1eb8bd[_0x25a02f+0x1]>0x8f||_0x1eb8bd[_0x25a02f]>0xf4)return!0x1;_0x25a02f+=0x4;}else return!0x1;}}}return!0x0;}function _0x169042(_0x1796d2){const _0x274711=_0x4b30a2;return _0x109641&&typeof _0x1796d2==_0x274711(0x1e6)&&typeof _0x1796d2[_0x274711(0x271)]==_0x274711(0x2b2)&&typeof _0x1796d2['type']==_0x274711(0x1de)&&typeof _0x1796d2[_0x274711(0x23f)]==_0x274711(0x2b2)&&(_0x1796d2[Symbol[_0x274711(0x229)]]===_0x274711(0x312)||_0x1796d2[Symbol[_0x274711(0x229)]]===_0x274711(0x284));}if(re['exports']={'isBlob':_0x169042,'isValidStatusCode':_0x45c0d7,'isValidUTF8':_0xa8aa38,'tokenChars':_0x435054},_0x59f734)re[_0x4b30a2(0x258)]['isValidUTF8']=function(_0x22d54e){const _0x4390d5=_0x4b30a2;return _0x22d54e[_0x4390d5(0x314)]<0x18?_0xa8aa38(_0x22d54e):_0x59f734(_0x22d54e);};else{if(!process[_0x4b30a2(0x28f)][_0x4b30a2(0x2d8)])try{const _0x421696=Yt;re[_0x4b30a2(0x258)][_0x4b30a2(0x321)]=function(_0x4b53a9){return _0x4b53a9['length']<0x20?_0xa8aa38(_0x4b53a9):_0x421696(_0x4b53a9);};}catch{}}return re[_0x4b30a2(0x258)];}var Se,Je;function dt(){const _0x4e3cea=_0x1ee84f;if(Je)return Se;Je=0x1;const {Writable:_0x73a876}=_0x1bb23d,_0x1f1e50=he(),{BINARY_TYPES:_0x37d51a,EMPTY_BUFFER:_0x452147,kStatusCode:_0x1eca97,kWebSocket:_0x103963}=V(),{concat:_0x1aaaef,toArrayBuffer:_0x44a20e,unmask:_0x502736}=ce(),{isValidStatusCode:_0x1ebd55,isValidUTF8:_0x535bfc}=ne(),_0xe97f9f=Buffer[Symbol[_0x4e3cea(0x21c)]],_0x58ca89=0x0,_0x4a1f64=0x1,_0xa0f994=0x2,_0x31b31d=0x3,_0x57ed49=0x4,_0x465c01=0x5,_0x289501=0x6;class _0x4357b1 extends _0x73a876{constructor(_0x56c5dc={}){const _0x425136=_0x4e3cea;super(),this['_allowSynchronousEvents']=_0x56c5dc[_0x425136(0x203)]!==void 0x0?_0x56c5dc[_0x425136(0x203)]:!0x0,this[_0x425136(0x209)]=_0x56c5dc[_0x425136(0x23a)]||_0x37d51a[0x0],this['_extensions']=_0x56c5dc['extensions']||{},this[_0x425136(0x25f)]=!!_0x56c5dc[_0x425136(0x2e2)],this[_0x425136(0x344)]=_0x56c5dc[_0x425136(0x218)]|0x0,this[_0x425136(0x1ea)]=!!_0x56c5dc[_0x425136(0x2e8)],this[_0x103963]=void 0x0,this[_0x425136(0x20b)]=0x0,this['_buffers']=[],this[_0x425136(0x37a)]=!0x1,this[_0x425136(0x256)]=0x0,this[_0x425136(0x32f)]=void 0x0,this[_0x425136(0x348)]=0x0,this[_0x425136(0x25d)]=!0x1,this[_0x425136(0x223)]=!0x1,this[_0x425136(0x293)]=0x0,this[_0x425136(0x20a)]=0x0,this[_0x425136(0x343)]=0x0,this[_0x425136(0x276)]=[],this['_errored']=!0x1,this[_0x425136(0x259)]=!0x1,this['_state']=_0x58ca89;}[_0x4e3cea(0x32c)](_0x4c796c,_0x34194c,_0x507de0){const _0x3ce963=_0x4e3cea;if(this[_0x3ce963(0x293)]===0x8&&this['_state']==_0x58ca89)return _0x507de0();this[_0x3ce963(0x20b)]+=_0x4c796c[_0x3ce963(0x314)],this['_buffers']['push'](_0x4c796c),this['startLoop'](_0x507de0);}[_0x4e3cea(0x351)](_0x4dd2e5){const _0x544557=_0x4e3cea;if(this[_0x544557(0x20b)]-=_0x4dd2e5,_0x4dd2e5===this[_0x544557(0x1fb)][0x0][_0x544557(0x314)])return this[_0x544557(0x1fb)][_0x544557(0x2d1)]();if(_0x4dd2e5<this[_0x544557(0x1fb)][0x0]['length']){const _0x2b8540=this[_0x544557(0x1fb)][0x0];return this['_buffers'][0x0]=new _0xe97f9f(_0x2b8540[_0x544557(0x286)],_0x2b8540[_0x544557(0x317)]+_0x4dd2e5,_0x2b8540[_0x544557(0x314)]-_0x4dd2e5),new _0xe97f9f(_0x2b8540[_0x544557(0x286)],_0x2b8540['byteOffset'],_0x4dd2e5);}const _0x13c7ee=Buffer[_0x544557(0x1f6)](_0x4dd2e5);do{const _0x291fd7=this['_buffers'][0x0],_0x3cb6e1=_0x13c7ee[_0x544557(0x314)]-_0x4dd2e5;_0x4dd2e5>=_0x291fd7['length']?_0x13c7ee[_0x544557(0x25a)](this[_0x544557(0x1fb)][_0x544557(0x2d1)](),_0x3cb6e1):(_0x13c7ee[_0x544557(0x25a)](new Uint8Array(_0x291fd7[_0x544557(0x286)],_0x291fd7[_0x544557(0x317)],_0x4dd2e5),_0x3cb6e1),this[_0x544557(0x1fb)][0x0]=new _0xe97f9f(_0x291fd7[_0x544557(0x286)],_0x291fd7[_0x544557(0x317)]+_0x4dd2e5,_0x291fd7[_0x544557(0x314)]-_0x4dd2e5)),_0x4dd2e5-=_0x291fd7[_0x544557(0x314)];}while(_0x4dd2e5>0x0);return _0x13c7ee;}['startLoop'](_0x1c72b8){const _0x3ab32e=_0x4e3cea;this[_0x3ab32e(0x259)]=!0x0;do switch(this[_0x3ab32e(0x230)]){case _0x58ca89:this[_0x3ab32e(0x2f2)](_0x1c72b8);break;case _0x4a1f64:this[_0x3ab32e(0x2f5)](_0x1c72b8);break;case _0xa0f994:this[_0x3ab32e(0x269)](_0x1c72b8);break;case _0x31b31d:this[_0x3ab32e(0x2b9)]();break;case _0x57ed49:this[_0x3ab32e(0x2ac)](_0x1c72b8);break;case _0x465c01:case _0x289501:this[_0x3ab32e(0x259)]=!0x1;return;}while(this[_0x3ab32e(0x259)]);this[_0x3ab32e(0x2ad)]||_0x1c72b8();}['getInfo'](_0x5af4be){const _0xc77b31=_0x4e3cea;if(this['_bufferedBytes']<0x2){this['_loop']=!0x1;return;}const _0x2f8f77=this[_0xc77b31(0x351)](0x2);if((_0x2f8f77[0x0]&0x30)!==0x0){const _0x58c515=this['createError'](RangeError,_0xc77b31(0x299),!0x0,0x3ea,_0xc77b31(0x2e0));_0x5af4be(_0x58c515);return;}const _0x4ccd5b=(_0x2f8f77[0x0]&0x40)===0x40;if(_0x4ccd5b&&!this[_0xc77b31(0x26e)][_0x1f1e50['extensionName']]){const _0x1d99f9=this[_0xc77b31(0x27c)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0xc77b31(0x2a4));_0x5af4be(_0x1d99f9);return;}if(this[_0xc77b31(0x223)]=(_0x2f8f77[0x0]&0x80)===0x80,this[_0xc77b31(0x293)]=_0x2f8f77[0x0]&0xf,this[_0xc77b31(0x256)]=_0x2f8f77[0x1]&0x7f,this[_0xc77b31(0x293)]===0x0){if(_0x4ccd5b){const _0x4cd785=this[_0xc77b31(0x27c)](RangeError,_0xc77b31(0x208),!0x0,0x3ea,_0xc77b31(0x2a4));_0x5af4be(_0x4cd785);return;}if(!this[_0xc77b31(0x348)]){const _0x5d745a=this[_0xc77b31(0x27c)](RangeError,'invalid\x20opcode\x200',!0x0,0x3ea,_0xc77b31(0x22c));_0x5af4be(_0x5d745a);return;}this[_0xc77b31(0x293)]=this[_0xc77b31(0x348)];}else{if(this[_0xc77b31(0x293)]===0x1||this[_0xc77b31(0x293)]===0x2){if(this[_0xc77b31(0x348)]){const _0x2a3e25=this['createError'](RangeError,'invalid\x20opcode\x20'+this['_opcode'],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x5af4be(_0x2a3e25);return;}this[_0xc77b31(0x37a)]=_0x4ccd5b;}else{if(this[_0xc77b31(0x293)]>0x7&&this[_0xc77b31(0x293)]<0xb){if(!this[_0xc77b31(0x223)]){const _0x52b1f1=this[_0xc77b31(0x27c)](RangeError,_0xc77b31(0x2c8),!0x0,0x3ea,_0xc77b31(0x379));_0x5af4be(_0x52b1f1);return;}if(_0x4ccd5b){const _0x4a2566=this['createError'](RangeError,_0xc77b31(0x208),!0x0,0x3ea,_0xc77b31(0x2a4));_0x5af4be(_0x4a2566);return;}if(this[_0xc77b31(0x256)]>0x7d||this[_0xc77b31(0x293)]===0x8&&this['_payloadLength']===0x1){const _0x40b57e=this['createError'](RangeError,'invalid\x20payload\x20length\x20'+this[_0xc77b31(0x256)],!0x0,0x3ea,_0xc77b31(0x2e9));_0x5af4be(_0x40b57e);return;}}else{const _0x5456c3=this[_0xc77b31(0x27c)](RangeError,_0xc77b31(0x1f8)+this['_opcode'],!0x0,0x3ea,_0xc77b31(0x22c));_0x5af4be(_0x5456c3);return;}}}if(!this[_0xc77b31(0x223)]&&!this[_0xc77b31(0x348)]&&(this[_0xc77b31(0x348)]=this[_0xc77b31(0x293)]),this[_0xc77b31(0x25d)]=(_0x2f8f77[0x1]&0x80)===0x80,this[_0xc77b31(0x25f)]){if(!this[_0xc77b31(0x25d)]){const _0x396241=this[_0xc77b31(0x27c)](RangeError,_0xc77b31(0x377),!0x0,0x3ea,_0xc77b31(0x303));_0x5af4be(_0x396241);return;}}else{if(this[_0xc77b31(0x25d)]){const _0x53378e=this['createError'](RangeError,_0xc77b31(0x36c),!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0x5af4be(_0x53378e);return;}}this[_0xc77b31(0x256)]===0x7e?this['_state']=_0x4a1f64:this[_0xc77b31(0x256)]===0x7f?this['_state']=_0xa0f994:this['haveLength'](_0x5af4be);}[_0x4e3cea(0x2f5)](_0x123b8f){const _0x5cb153=_0x4e3cea;if(this['_bufferedBytes']<0x2){this['_loop']=!0x1;return;}this[_0x5cb153(0x256)]=this[_0x5cb153(0x351)](0x2)[_0x5cb153(0x34f)](0x0),this[_0x5cb153(0x380)](_0x123b8f);}[_0x4e3cea(0x269)](_0x33a5fe){const _0x3ebe54=_0x4e3cea;if(this[_0x3ebe54(0x20b)]<0x8){this[_0x3ebe54(0x259)]=!0x1;return;}const _0x17456f=this[_0x3ebe54(0x351)](0x8),_0x1b934e=_0x17456f[_0x3ebe54(0x264)](0x0);if(_0x1b934e>Math[_0x3ebe54(0x340)](0x2,0x15)-0x1){const _0x5d5975=this[_0x3ebe54(0x27c)](RangeError,_0x3ebe54(0x21e),!0x1,0x3f1,_0x3ebe54(0x35f));_0x33a5fe(_0x5d5975);return;}this[_0x3ebe54(0x256)]=_0x1b934e*Math['pow'](0x2,0x20)+_0x17456f[_0x3ebe54(0x264)](0x4),this[_0x3ebe54(0x380)](_0x33a5fe);}[_0x4e3cea(0x380)](_0x185554){const _0xba07c0=_0x4e3cea;if(this['_payloadLength']&&this[_0xba07c0(0x293)]<0x8&&(this[_0xba07c0(0x20a)]+=this[_0xba07c0(0x256)],this[_0xba07c0(0x20a)]>this[_0xba07c0(0x344)]&&this['_maxPayload']>0x0)){const _0x167136=this['createError'](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0xba07c0(0x285));_0x185554(_0x167136);return;}this[_0xba07c0(0x25d)]?this['_state']=_0x31b31d:this[_0xba07c0(0x230)]=_0x57ed49;}['getMask'](){const _0x3ca7b4=_0x4e3cea;if(this[_0x3ca7b4(0x20b)]<0x4){this[_0x3ca7b4(0x259)]=!0x1;return;}this[_0x3ca7b4(0x32f)]=this[_0x3ca7b4(0x351)](0x4),this[_0x3ca7b4(0x230)]=_0x57ed49;}[_0x4e3cea(0x2ac)](_0x31a512){const _0x55b256=_0x4e3cea;let _0x33a78f=_0x452147;if(this[_0x55b256(0x256)]){if(this[_0x55b256(0x20b)]<this['_payloadLength']){this[_0x55b256(0x259)]=!0x1;return;}_0x33a78f=this[_0x55b256(0x351)](this['_payloadLength']),this[_0x55b256(0x25d)]&&(this[_0x55b256(0x32f)][0x0]|this[_0x55b256(0x32f)][0x1]|this[_0x55b256(0x32f)][0x2]|this['_mask'][0x3])!==0x0&&_0x502736(_0x33a78f,this[_0x55b256(0x32f)]);}if(this['_opcode']>0x7){this[_0x55b256(0x200)](_0x33a78f,_0x31a512);return;}if(this[_0x55b256(0x37a)]){this[_0x55b256(0x230)]=_0x465c01,this[_0x55b256(0x277)](_0x33a78f,_0x31a512);return;}_0x33a78f['length']&&(this[_0x55b256(0x343)]=this['_totalPayloadLength'],this[_0x55b256(0x276)][_0x55b256(0x30a)](_0x33a78f)),this[_0x55b256(0x25c)](_0x31a512);}[_0x4e3cea(0x277)](_0x3c5a3d,_0x2b70ab){const _0xa42bc=_0x4e3cea;this['_extensions'][_0x1f1e50['extensionName']]['decompress'](_0x3c5a3d,this[_0xa42bc(0x223)],(_0x4b1450,_0x17e18a)=>{const _0x7b7538=_0xa42bc;if(_0x4b1450)return _0x2b70ab(_0x4b1450);if(_0x17e18a['length']){if(this[_0x7b7538(0x343)]+=_0x17e18a['length'],this['_messageLength']>this['_maxPayload']&&this[_0x7b7538(0x344)]>0x0){const _0x155dee=this[_0x7b7538(0x27c)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x7b7538(0x285));_0x2b70ab(_0x155dee);return;}this[_0x7b7538(0x276)][_0x7b7538(0x30a)](_0x17e18a);}this['dataMessage'](_0x2b70ab),this[_0x7b7538(0x230)]===_0x58ca89&&this['startLoop'](_0x2b70ab);});}[_0x4e3cea(0x25c)](_0x1608e0){const _0x156b09=_0x4e3cea;if(!this['_fin']){this[_0x156b09(0x230)]=_0x58ca89;return;}const _0x52bbf9=this[_0x156b09(0x343)],_0x398bd1=this[_0x156b09(0x276)];if(this[_0x156b09(0x20a)]=0x0,this['_messageLength']=0x0,this[_0x156b09(0x348)]=0x0,this['_fragments']=[],this[_0x156b09(0x293)]===0x2){let _0x5919f3;this[_0x156b09(0x209)]==='nodebuffer'?_0x5919f3=_0x1aaaef(_0x398bd1,_0x52bbf9):this[_0x156b09(0x209)]===_0x156b09(0x212)?_0x5919f3=_0x44a20e(_0x1aaaef(_0x398bd1,_0x52bbf9)):this[_0x156b09(0x209)]===_0x156b09(0x2a7)?_0x5919f3=new Blob(_0x398bd1):_0x5919f3=_0x398bd1,this[_0x156b09(0x2f6)]?(this[_0x156b09(0x30b)](_0x156b09(0x367),_0x5919f3,!0x0),this[_0x156b09(0x230)]=_0x58ca89):(this[_0x156b09(0x230)]=_0x289501,setImmediate(()=>{const _0x167bce=_0x156b09;this['emit']('message',_0x5919f3,!0x0),this[_0x167bce(0x230)]=_0x58ca89,this[_0x167bce(0x2b5)](_0x1608e0);}));}else{const _0x58da58=_0x1aaaef(_0x398bd1,_0x52bbf9);if(!this['_skipUTF8Validation']&&!_0x535bfc(_0x58da58)){const _0x34221a=this['createError'](Error,_0x156b09(0x387),!0x0,0x3ef,_0x156b09(0x37b));_0x1608e0(_0x34221a);return;}this[_0x156b09(0x230)]===_0x465c01||this[_0x156b09(0x2f6)]?(this['emit']('message',_0x58da58,!0x1),this[_0x156b09(0x230)]=_0x58ca89):(this[_0x156b09(0x230)]=_0x289501,setImmediate(()=>{const _0x295a82=_0x156b09;this[_0x295a82(0x30b)](_0x295a82(0x367),_0x58da58,!0x1),this[_0x295a82(0x230)]=_0x58ca89,this[_0x295a82(0x2b5)](_0x1608e0);}));}}['controlMessage'](_0x27b3cc,_0xaa4b1b){const _0x6dac62=_0x4e3cea;if(this['_opcode']===0x8){if(_0x27b3cc[_0x6dac62(0x314)]===0x0)this['_loop']=!0x1,this['emit'](_0x6dac62(0x24d),0x3ed,_0x452147),this[_0x6dac62(0x250)]();else{const _0x54da69=_0x27b3cc[_0x6dac62(0x34f)](0x0);if(!_0x1ebd55(_0x54da69)){const _0x571137=this[_0x6dac62(0x27c)](RangeError,'invalid\x20status\x20code\x20'+_0x54da69,!0x0,0x3ea,_0x6dac62(0x26b));_0xaa4b1b(_0x571137);return;}const _0x4c77bf=new _0xe97f9f(_0x27b3cc[_0x6dac62(0x286)],_0x27b3cc[_0x6dac62(0x317)]+0x2,_0x27b3cc[_0x6dac62(0x314)]-0x2);if(!this[_0x6dac62(0x1ea)]&&!_0x535bfc(_0x4c77bf)){const _0x2a934e=this[_0x6dac62(0x27c)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x6dac62(0x37b));_0xaa4b1b(_0x2a934e);return;}this['_loop']=!0x1,this[_0x6dac62(0x30b)]('conclude',_0x54da69,_0x4c77bf),this[_0x6dac62(0x250)]();}this[_0x6dac62(0x230)]=_0x58ca89;return;}this['_allowSynchronousEvents']?(this[_0x6dac62(0x30b)](this['_opcode']===0x9?_0x6dac62(0x35a):'pong',_0x27b3cc),this['_state']=_0x58ca89):(this[_0x6dac62(0x230)]=_0x289501,setImmediate(()=>{const _0xb9a7f5=_0x6dac62;this[_0xb9a7f5(0x30b)](this[_0xb9a7f5(0x293)]===0x9?'ping':_0xb9a7f5(0x205),_0x27b3cc),this[_0xb9a7f5(0x230)]=_0x58ca89,this[_0xb9a7f5(0x2b5)](_0xaa4b1b);}));}[_0x4e3cea(0x27c)](_0x517c3e,_0xfac288,_0x2966ce,_0x3c866f,_0x29ade5){const _0xe20b0a=_0x4e3cea;this[_0xe20b0a(0x259)]=!0x1,this[_0xe20b0a(0x2ad)]=!0x0;const _0x4f8928=new _0x517c3e(_0x2966ce?_0xe20b0a(0x2f3)+_0xfac288:_0xfac288);return Error[_0xe20b0a(0x281)](_0x4f8928,this[_0xe20b0a(0x27c)]),_0x4f8928['code']=_0x29ade5,_0x4f8928[_0x1eca97]=_0x3c866f,_0x4f8928;}}return Se=_0x4357b1,Se;}var Ee,et;function _t(){const _0x329a5f=_0x1ee84f;if(et)return Ee;et=0x1;const {Duplex:_0x5c6c9e}=_0x1bb23d,{randomFillSync:_0xd2d6ea}=_0x15ac28,_0x35bcf2=he(),{EMPTY_BUFFER:_0x30a13b,kWebSocket:_0xc035ea,NOOP:_0x1304cf}=V(),{isBlob:_0x1bbf58,isValidStatusCode:_0x12d08b}=ne(),{mask:_0x4c5a12,toBuffer:_0x2b60ae}=ce(),_0x403892=Symbol(_0x329a5f(0x30f)),_0x58180d=Buffer['alloc'](0x4),_0x24ac97=0x8*0x400;let _0x229e40,_0x21c5b0=_0x24ac97;const _0x131e93=0x0,_0x34e288=0x1,_0x2f7e63=0x2;class _0x5ea0f7{constructor(_0x2b2d31,_0x1721d6,_0x47f8c5){const _0x40aa60=_0x329a5f;this[_0x40aa60(0x26e)]=_0x1721d6||{},_0x47f8c5&&(this[_0x40aa60(0x28d)]=_0x47f8c5,this['_maskBuffer']=Buffer[_0x40aa60(0x265)](0x4)),this[_0x40aa60(0x36f)]=_0x2b2d31,this['_firstFragment']=!0x0,this[_0x40aa60(0x262)]=!0x1,this[_0x40aa60(0x20b)]=0x0,this['_queue']=[],this[_0x40aa60(0x230)]=_0x131e93,this[_0x40aa60(0x21f)]=_0x1304cf,this[_0xc035ea]=void 0x0;}static['frame'](_0x496508,_0x5f0052){const _0xa1f27e=_0x329a5f;let _0x119e1a,_0x3b2a0f=!0x1,_0x1b928e=0x2,_0x1c3236=!0x1;_0x5f0052[_0xa1f27e(0x274)]&&(_0x119e1a=_0x5f0052['maskBuffer']||_0x58180d,_0x5f0052[_0xa1f27e(0x2b8)]?_0x5f0052[_0xa1f27e(0x2b8)](_0x119e1a):(_0x21c5b0===_0x24ac97&&(_0x229e40===void 0x0&&(_0x229e40=Buffer[_0xa1f27e(0x265)](_0x24ac97)),_0xd2d6ea(_0x229e40,0x0,_0x24ac97),_0x21c5b0=0x0),_0x119e1a[0x0]=_0x229e40[_0x21c5b0++],_0x119e1a[0x1]=_0x229e40[_0x21c5b0++],_0x119e1a[0x2]=_0x229e40[_0x21c5b0++],_0x119e1a[0x3]=_0x229e40[_0x21c5b0++]),_0x1c3236=(_0x119e1a[0x0]|_0x119e1a[0x1]|_0x119e1a[0x2]|_0x119e1a[0x3])===0x0,_0x1b928e=0x6);let _0x191889;typeof _0x496508==_0xa1f27e(0x1de)?(!_0x5f0052[_0xa1f27e(0x274)]||_0x1c3236)&&_0x5f0052[_0x403892]!==void 0x0?_0x191889=_0x5f0052[_0x403892]:(_0x496508=Buffer[_0xa1f27e(0x376)](_0x496508),_0x191889=_0x496508[_0xa1f27e(0x314)]):(_0x191889=_0x496508[_0xa1f27e(0x314)],_0x3b2a0f=_0x5f0052['mask']&&_0x5f0052[_0xa1f27e(0x342)]&&!_0x1c3236);let _0x45db7b=_0x191889;_0x191889>=0x10000?(_0x1b928e+=0x8,_0x45db7b=0x7f):_0x191889>0x7d&&(_0x1b928e+=0x2,_0x45db7b=0x7e);const _0x13703f=Buffer['allocUnsafe'](_0x3b2a0f?_0x191889+_0x1b928e:_0x1b928e);return _0x13703f[0x0]=_0x5f0052[_0xa1f27e(0x34e)]?_0x5f0052['opcode']|0x80:_0x5f0052[_0xa1f27e(0x268)],_0x5f0052[_0xa1f27e(0x382)]&&(_0x13703f[0x0]|=0x40),_0x13703f[0x1]=_0x45db7b,_0x45db7b===0x7e?_0x13703f['writeUInt16BE'](_0x191889,0x2):_0x45db7b===0x7f&&(_0x13703f[0x2]=_0x13703f[0x3]=0x0,_0x13703f[_0xa1f27e(0x247)](_0x191889,0x4,0x6)),_0x5f0052['mask']?(_0x13703f[0x1]|=0x80,_0x13703f[_0x1b928e-0x4]=_0x119e1a[0x0],_0x13703f[_0x1b928e-0x3]=_0x119e1a[0x1],_0x13703f[_0x1b928e-0x2]=_0x119e1a[0x2],_0x13703f[_0x1b928e-0x1]=_0x119e1a[0x3],_0x1c3236?[_0x13703f,_0x496508]:_0x3b2a0f?(_0x4c5a12(_0x496508,_0x119e1a,_0x13703f,_0x1b928e,_0x191889),[_0x13703f]):(_0x4c5a12(_0x496508,_0x119e1a,_0x496508,0x0,_0x191889),[_0x13703f,_0x496508])):[_0x13703f,_0x496508];}[_0x329a5f(0x333)](_0x475125,_0x45be9d,_0x1bbb12,_0x2f782f){const _0x2ff0df=_0x329a5f;let _0x856bd5;if(_0x475125===void 0x0)_0x856bd5=_0x30a13b;else{if(typeof _0x475125!=_0x2ff0df(0x23c)||!_0x12d08b(_0x475125))throw new TypeError('First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number');if(_0x45be9d===void 0x0||!_0x45be9d['length'])_0x856bd5=Buffer[_0x2ff0df(0x1f6)](0x2),_0x856bd5['writeUInt16BE'](_0x475125,0x0);else{const _0x6c70fa=Buffer[_0x2ff0df(0x324)](_0x45be9d);if(_0x6c70fa>0x7b)throw new RangeError(_0x2ff0df(0x33b));_0x856bd5=Buffer['allocUnsafe'](0x2+_0x6c70fa),_0x856bd5['writeUInt16BE'](_0x475125,0x0),typeof _0x45be9d=='string'?_0x856bd5['write'](_0x45be9d,0x2):_0x856bd5[_0x2ff0df(0x25a)](_0x45be9d,0x2);}}const _0x2ec47f={[_0x403892]:_0x856bd5[_0x2ff0df(0x314)],'fin':!0x0,'generateMask':this[_0x2ff0df(0x28d)],'mask':_0x1bbb12,'maskBuffer':this[_0x2ff0df(0x270)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this['_state']!==_0x131e93?this[_0x2ff0df(0x329)]([this['dispatch'],_0x856bd5,!0x1,_0x2ec47f,_0x2f782f]):this[_0x2ff0df(0x29a)](_0x5ea0f7['frame'](_0x856bd5,_0x2ec47f),_0x2f782f);}['ping'](_0x4a02ae,_0x35565f,_0xe2ac5d){const _0x347199=_0x329a5f;let _0x546659,_0x50978c;if(typeof _0x4a02ae==_0x347199(0x1de)?(_0x546659=Buffer[_0x347199(0x324)](_0x4a02ae),_0x50978c=!0x1):_0x1bbf58(_0x4a02ae)?(_0x546659=_0x4a02ae[_0x347199(0x295)],_0x50978c=!0x1):(_0x4a02ae=_0x2b60ae(_0x4a02ae),_0x546659=_0x4a02ae[_0x347199(0x314)],_0x50978c=_0x2b60ae[_0x347199(0x342)]),_0x546659>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x57d0c7={[_0x403892]:_0x546659,'fin':!0x0,'generateMask':this[_0x347199(0x28d)],'mask':_0x35565f,'maskBuffer':this[_0x347199(0x270)],'opcode':0x9,'readOnly':_0x50978c,'rsv1':!0x1};_0x1bbf58(_0x4a02ae)?this['_state']!==_0x131e93?this[_0x347199(0x329)]([this['getBlobData'],_0x4a02ae,!0x1,_0x57d0c7,_0xe2ac5d]):this[_0x347199(0x364)](_0x4a02ae,!0x1,_0x57d0c7,_0xe2ac5d):this[_0x347199(0x230)]!==_0x131e93?this[_0x347199(0x329)]([this[_0x347199(0x29b)],_0x4a02ae,!0x1,_0x57d0c7,_0xe2ac5d]):this[_0x347199(0x29a)](_0x5ea0f7[_0x347199(0x210)](_0x4a02ae,_0x57d0c7),_0xe2ac5d);}['pong'](_0x47e702,_0x2a3d8e,_0x5affa4){const _0x4966b5=_0x329a5f;let _0x40bfb1,_0x3a4f71;if(typeof _0x47e702=='string'?(_0x40bfb1=Buffer[_0x4966b5(0x324)](_0x47e702),_0x3a4f71=!0x1):_0x1bbf58(_0x47e702)?(_0x40bfb1=_0x47e702[_0x4966b5(0x295)],_0x3a4f71=!0x1):(_0x47e702=_0x2b60ae(_0x47e702),_0x40bfb1=_0x47e702['length'],_0x3a4f71=_0x2b60ae['readOnly']),_0x40bfb1>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x51cf24={[_0x403892]:_0x40bfb1,'fin':!0x0,'generateMask':this[_0x4966b5(0x28d)],'mask':_0x2a3d8e,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x3a4f71,'rsv1':!0x1};_0x1bbf58(_0x47e702)?this['_state']!==_0x131e93?this[_0x4966b5(0x329)]([this[_0x4966b5(0x364)],_0x47e702,!0x1,_0x51cf24,_0x5affa4]):this[_0x4966b5(0x364)](_0x47e702,!0x1,_0x51cf24,_0x5affa4):this[_0x4966b5(0x230)]!==_0x131e93?this[_0x4966b5(0x329)]([this[_0x4966b5(0x29b)],_0x47e702,!0x1,_0x51cf24,_0x5affa4]):this[_0x4966b5(0x29a)](_0x5ea0f7[_0x4966b5(0x210)](_0x47e702,_0x51cf24),_0x5affa4);}[_0x329a5f(0x257)](_0x589d09,_0x4530cc,_0x4b340a){const _0x4ce292=_0x329a5f,_0x3dd110=this['_extensions'][_0x35bcf2[_0x4ce292(0x35d)]];let _0x2363e7=_0x4530cc[_0x4ce292(0x1e0)]?0x2:0x1,_0x5e4681=_0x4530cc[_0x4ce292(0x311)],_0x2553ce,_0x327029;typeof _0x589d09==_0x4ce292(0x1de)?(_0x2553ce=Buffer[_0x4ce292(0x324)](_0x589d09),_0x327029=!0x1):_0x1bbf58(_0x589d09)?(_0x2553ce=_0x589d09[_0x4ce292(0x295)],_0x327029=!0x1):(_0x589d09=_0x2b60ae(_0x589d09),_0x2553ce=_0x589d09[_0x4ce292(0x314)],_0x327029=_0x2b60ae[_0x4ce292(0x342)]),this[_0x4ce292(0x225)]?(this['_firstFragment']=!0x1,_0x5e4681&&_0x3dd110&&_0x3dd110['params'][_0x3dd110[_0x4ce292(0x25f)]?'server_no_context_takeover':_0x4ce292(0x315)]&&(_0x5e4681=_0x2553ce>=_0x3dd110['_threshold']),this['_compress']=_0x5e4681):(_0x5e4681=!0x1,_0x2363e7=0x0),_0x4530cc['fin']&&(this[_0x4ce292(0x225)]=!0x0);const _0x7e8bc4={[_0x403892]:_0x2553ce,'fin':_0x4530cc['fin'],'generateMask':this[_0x4ce292(0x28d)],'mask':_0x4530cc[_0x4ce292(0x274)],'maskBuffer':this[_0x4ce292(0x270)],'opcode':_0x2363e7,'readOnly':_0x327029,'rsv1':_0x5e4681};_0x1bbf58(_0x589d09)?this[_0x4ce292(0x230)]!==_0x131e93?this[_0x4ce292(0x329)]([this[_0x4ce292(0x364)],_0x589d09,this['_compress'],_0x7e8bc4,_0x4b340a]):this[_0x4ce292(0x364)](_0x589d09,this['_compress'],_0x7e8bc4,_0x4b340a):this[_0x4ce292(0x230)]!==_0x131e93?this['enqueue']([this[_0x4ce292(0x29b)],_0x589d09,this['_compress'],_0x7e8bc4,_0x4b340a]):this[_0x4ce292(0x29b)](_0x589d09,this[_0x4ce292(0x262)],_0x7e8bc4,_0x4b340a);}[_0x329a5f(0x364)](_0x38c106,_0x4b2a11,_0x4afe2d,_0x5f75bb){const _0x1fcb91=_0x329a5f;this[_0x1fcb91(0x20b)]+=_0x4afe2d[_0x403892],this[_0x1fcb91(0x230)]=_0x2f7e63,_0x38c106['arrayBuffer']()['then'](_0x519067=>{const _0x56e1f5=_0x1fcb91;if(this[_0x56e1f5(0x36f)]['destroyed']){const _0x581d56=new Error('The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read');process[_0x56e1f5(0x357)](_0x2bfe7e,this,_0x581d56,_0x5f75bb);return;}this['_bufferedBytes']-=_0x4afe2d[_0x403892];const _0x16bb3a=_0x2b60ae(_0x519067);_0x4b2a11?this['dispatch'](_0x16bb3a,_0x4b2a11,_0x4afe2d,_0x5f75bb):(this[_0x56e1f5(0x230)]=_0x131e93,this[_0x56e1f5(0x29a)](_0x5ea0f7[_0x56e1f5(0x210)](_0x16bb3a,_0x4afe2d),_0x5f75bb),this[_0x56e1f5(0x33e)]());})['catch'](_0x2c1574=>{const _0x594fa5=_0x1fcb91;process[_0x594fa5(0x357)](_0x4f94ad,this,_0x2c1574,_0x5f75bb);});}['dispatch'](_0x376c3e,_0x2a7c3f,_0x462221,_0x31b98a){const _0x652a8=_0x329a5f;if(!_0x2a7c3f){this[_0x652a8(0x29a)](_0x5ea0f7[_0x652a8(0x210)](_0x376c3e,_0x462221),_0x31b98a);return;}const _0x26c9e5=this[_0x652a8(0x26e)][_0x35bcf2[_0x652a8(0x35d)]];this[_0x652a8(0x20b)]+=_0x462221[_0x403892],this[_0x652a8(0x230)]=_0x34e288,_0x26c9e5[_0x652a8(0x311)](_0x376c3e,_0x462221['fin'],(_0x343da9,_0x35a01c)=>{const _0x48a962=_0x652a8;if(this[_0x48a962(0x36f)]['destroyed']){const _0x2b64db=new Error(_0x48a962(0x245));_0x2bfe7e(this,_0x2b64db,_0x31b98a);return;}this['_bufferedBytes']-=_0x462221[_0x403892],this[_0x48a962(0x230)]=_0x131e93,_0x462221[_0x48a962(0x342)]=!0x1,this[_0x48a962(0x29a)](_0x5ea0f7['frame'](_0x35a01c,_0x462221),_0x31b98a),this[_0x48a962(0x33e)]();});}['dequeue'](){const _0x2153d5=_0x329a5f;for(;this[_0x2153d5(0x230)]===_0x131e93&&this[_0x2153d5(0x239)][_0x2153d5(0x314)];){const _0x314654=this[_0x2153d5(0x239)][_0x2153d5(0x2d1)]();this[_0x2153d5(0x20b)]-=_0x314654[0x3][_0x403892],Reflect[_0x2153d5(0x366)](_0x314654[0x0],this,_0x314654[_0x2153d5(0x291)](0x1));}}[_0x329a5f(0x329)](_0x3fc8b9){const _0x467ed2=_0x329a5f;this['_bufferedBytes']+=_0x3fc8b9[0x3][_0x403892],this[_0x467ed2(0x239)]['push'](_0x3fc8b9);}[_0x329a5f(0x29a)](_0x2e48d3,_0x8d5bef){const _0x48b03e=_0x329a5f;_0x2e48d3[_0x48b03e(0x314)]===0x2?(this[_0x48b03e(0x36f)][_0x48b03e(0x24a)](),this['_socket'][_0x48b03e(0x385)](_0x2e48d3[0x0]),this['_socket'][_0x48b03e(0x385)](_0x2e48d3[0x1],_0x8d5bef),this[_0x48b03e(0x36f)][_0x48b03e(0x2d5)]()):this[_0x48b03e(0x36f)][_0x48b03e(0x385)](_0x2e48d3[0x0],_0x8d5bef);}}Ee=_0x5ea0f7;function _0x2bfe7e(_0xf1809c,_0x292252,_0x311a73){const _0x3147cc=_0x329a5f;typeof _0x311a73==_0x3147cc(0x2b2)&&_0x311a73(_0x292252);for(let _0x2cb627=0x0;_0x2cb627<_0xf1809c['_queue']['length'];_0x2cb627++){const _0x1c460a=_0xf1809c[_0x3147cc(0x239)][_0x2cb627],_0x176744=_0x1c460a[_0x1c460a[_0x3147cc(0x314)]-0x1];typeof _0x176744==_0x3147cc(0x2b2)&&_0x176744(_0x292252);}}function _0x4f94ad(_0x5de713,_0x3bb6b9,_0x237b2a){_0x2bfe7e(_0x5de713,_0x3bb6b9,_0x237b2a),_0x5de713['onerror'](_0x3bb6b9);}return Ee;}var xe,tt;function Kt(){const _0x364434=_0x1ee84f;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x1f6d5f,kListener:_0x3972a9}=V(),_0x11eb7e=Symbol(_0x364434(0x381)),_0x143193=Symbol(_0x364434(0x305)),_0x4798e3=Symbol('kError'),_0x96d36c=Symbol(_0x364434(0x2ec)),_0x20bdb7=Symbol(_0x364434(0x2db)),_0x53eab1=Symbol(_0x364434(0x204)),_0x12ab9c=Symbol(_0x364434(0x36e)),_0x5070f1=Symbol(_0x364434(0x2b4));class _0x15c5c8{constructor(_0xcfac68){this[_0x53eab1]=null,this[_0x12ab9c]=_0xcfac68;}get[_0x364434(0x21b)](){return this[_0x53eab1];}get[_0x364434(0x29d)](){return this[_0x12ab9c];}}Object[_0x364434(0x304)](_0x15c5c8['prototype'],_0x364434(0x21b),{'enumerable':!0x0}),Object['defineProperty'](_0x15c5c8[_0x364434(0x346)],_0x364434(0x29d),{'enumerable':!0x0});class _0x7f5c3b extends _0x15c5c8{constructor(_0x54b6d0,_0x25e4c1={}){const _0xad4b36=_0x364434;super(_0x54b6d0),this[_0x11eb7e]=_0x25e4c1['code']===void 0x0?0x0:_0x25e4c1[_0xad4b36(0x27f)],this[_0x20bdb7]=_0x25e4c1[_0xad4b36(0x2e1)]===void 0x0?'':_0x25e4c1['reason'],this[_0x5070f1]=_0x25e4c1[_0xad4b36(0x234)]===void 0x0?!0x1:_0x25e4c1['wasClean'];}get[_0x364434(0x27f)](){return this[_0x11eb7e];}get[_0x364434(0x2e1)](){return this[_0x20bdb7];}get[_0x364434(0x234)](){return this[_0x5070f1];}}Object[_0x364434(0x304)](_0x7f5c3b[_0x364434(0x346)],'code',{'enumerable':!0x0}),Object[_0x364434(0x304)](_0x7f5c3b[_0x364434(0x346)],_0x364434(0x2e1),{'enumerable':!0x0}),Object[_0x364434(0x304)](_0x7f5c3b[_0x364434(0x346)],_0x364434(0x234),{'enumerable':!0x0});class _0x36e2ba extends _0x15c5c8{constructor(_0x52d801,_0x6550db={}){const _0x41ecf6=_0x364434;super(_0x52d801),this[_0x4798e3]=_0x6550db[_0x41ecf6(0x2cf)]===void 0x0?null:_0x6550db[_0x41ecf6(0x2cf)],this[_0x96d36c]=_0x6550db[_0x41ecf6(0x367)]===void 0x0?'':_0x6550db[_0x41ecf6(0x367)];}get['error'](){return this[_0x4798e3];}get[_0x364434(0x367)](){return this[_0x96d36c];}}Object['defineProperty'](_0x36e2ba[_0x364434(0x346)],_0x364434(0x2cf),{'enumerable':!0x0}),Object['defineProperty'](_0x36e2ba[_0x364434(0x346)],_0x364434(0x367),{'enumerable':!0x0});class _0x9ad745 extends _0x15c5c8{constructor(_0x5a71fa,_0x4c285c={}){super(_0x5a71fa),this[_0x143193]=_0x4c285c['data']===void 0x0?null:_0x4c285c['data'];}get[_0x364434(0x263)](){return this[_0x143193];}}Object[_0x364434(0x304)](_0x9ad745[_0x364434(0x346)],_0x364434(0x263),{'enumerable':!0x0}),xe={'CloseEvent':_0x7f5c3b,'ErrorEvent':_0x36e2ba,'Event':_0x15c5c8,'EventTarget':{'addEventListener'(_0x598e96,_0x1d213c,_0x360a52={}){const _0x1c6e90=_0x364434;for(const _0x28f173 of this['listeners'](_0x598e96))if(!_0x360a52[_0x1f6d5f]&&_0x28f173[_0x3972a9]===_0x1d213c&&!_0x28f173[_0x1f6d5f])return;let _0x2328d5;if(_0x598e96===_0x1c6e90(0x367))_0x2328d5=function(_0x459533,_0x3c8b17){const _0x1ef702=_0x1c6e90,_0x2192a8=new _0x9ad745('message',{'data':_0x3c8b17?_0x459533:_0x459533[_0x1ef702(0x23d)]()});_0x2192a8[_0x53eab1]=this,_0x422ad6(_0x1d213c,this,_0x2192a8);};else{if(_0x598e96===_0x1c6e90(0x333))_0x2328d5=function(_0x96ab87,_0x4d0d13){const _0x2cd043=_0x1c6e90,_0x14ff16=new _0x7f5c3b(_0x2cd043(0x333),{'code':_0x96ab87,'reason':_0x4d0d13[_0x2cd043(0x23d)](),'wasClean':this['_closeFrameReceived']&&this[_0x2cd043(0x362)]});_0x14ff16[_0x53eab1]=this,_0x422ad6(_0x1d213c,this,_0x14ff16);};else{if(_0x598e96==='error')_0x2328d5=function(_0xfcfe26){const _0x1c2cf8=_0x1c6e90,_0x229c0b=new _0x36e2ba('error',{'error':_0xfcfe26,'message':_0xfcfe26[_0x1c2cf8(0x367)]});_0x229c0b[_0x53eab1]=this,_0x422ad6(_0x1d213c,this,_0x229c0b);};else{if(_0x598e96===_0x1c6e90(0x1e5))_0x2328d5=function(){const _0x253f98=new _0x15c5c8('open');_0x253f98[_0x53eab1]=this,_0x422ad6(_0x1d213c,this,_0x253f98);};else return;}}}_0x2328d5[_0x1f6d5f]=!!_0x360a52[_0x1f6d5f],_0x2328d5[_0x3972a9]=_0x1d213c,_0x360a52[_0x1c6e90(0x320)]?this[_0x1c6e90(0x320)](_0x598e96,_0x2328d5):this['on'](_0x598e96,_0x2328d5);},'removeEventListener'(_0x5e9c7a,_0xed6f79){const _0x53393=_0x364434;for(const _0x531e49 of this[_0x53393(0x2c2)](_0x5e9c7a))if(_0x531e49[_0x3972a9]===_0xed6f79&&!_0x531e49[_0x1f6d5f]){this[_0x53393(0x326)](_0x5e9c7a,_0x531e49);break;}}},'MessageEvent':_0x9ad745};function _0x422ad6(_0x364ffe,_0x52344d,_0x1aaf9c){const _0x4742de=_0x364434;typeof _0x364ffe==_0x4742de(0x1e6)&&_0x364ffe[_0x4742de(0x2e5)]?_0x364ffe[_0x4742de(0x2e5)][_0x4742de(0x207)](_0x364ffe,_0x1aaf9c):_0x364ffe[_0x4742de(0x207)](_0x52344d,_0x1aaf9c);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x2e6bc9}=ne();function _0x17fd7a(_0x28520a,_0x678843,_0x4ad916){const _0x4a2ffa=_0x8f2c;_0x28520a[_0x678843]===void 0x0?_0x28520a[_0x678843]=[_0x4ad916]:_0x28520a[_0x678843][_0x4a2ffa(0x30a)](_0x4ad916);}function _0x5d76e2(_0x571db9){const _0x1f770c=_0x8f2c,_0x29c16=Object[_0x1f770c(0x309)](null);let _0x2217cf=Object[_0x1f770c(0x309)](null),_0x3ffd44=!0x1,_0x1d2711=!0x1,_0x4e5d2f=!0x1,_0x1d7544,_0x70017a,_0x17e9a9=-0x1,_0xb426ee=-0x1,_0x3792ed=-0x1,_0x1c1285=0x0;for(;_0x1c1285<_0x571db9[_0x1f770c(0x314)];_0x1c1285++)if(_0xb426ee=_0x571db9['charCodeAt'](_0x1c1285),_0x1d7544===void 0x0){if(_0x3792ed===-0x1&&_0x2e6bc9[_0xb426ee]===0x1)_0x17e9a9===-0x1&&(_0x17e9a9=_0x1c1285);else{if(_0x1c1285!==0x0&&(_0xb426ee===0x20||_0xb426ee===0x9))_0x3792ed===-0x1&&_0x17e9a9!==-0x1&&(_0x3792ed=_0x1c1285);else{if(_0xb426ee===0x3b||_0xb426ee===0x2c){if(_0x17e9a9===-0x1)throw new SyntaxError(_0x1f770c(0x29e)+_0x1c1285);_0x3792ed===-0x1&&(_0x3792ed=_0x1c1285);const _0x44e864=_0x571db9['slice'](_0x17e9a9,_0x3792ed);_0xb426ee===0x2c?(_0x17fd7a(_0x29c16,_0x44e864,_0x2217cf),_0x2217cf=Object['create'](null)):_0x1d7544=_0x44e864,_0x17e9a9=_0x3792ed=-0x1;}else throw new SyntaxError(_0x1f770c(0x29e)+_0x1c1285);}}}else{if(_0x70017a===void 0x0){if(_0x3792ed===-0x1&&_0x2e6bc9[_0xb426ee]===0x1)_0x17e9a9===-0x1&&(_0x17e9a9=_0x1c1285);else{if(_0xb426ee===0x20||_0xb426ee===0x9)_0x3792ed===-0x1&&_0x17e9a9!==-0x1&&(_0x3792ed=_0x1c1285);else{if(_0xb426ee===0x3b||_0xb426ee===0x2c){if(_0x17e9a9===-0x1)throw new SyntaxError(_0x1f770c(0x29e)+_0x1c1285);_0x3792ed===-0x1&&(_0x3792ed=_0x1c1285),_0x17fd7a(_0x2217cf,_0x571db9[_0x1f770c(0x291)](_0x17e9a9,_0x3792ed),!0x0),_0xb426ee===0x2c&&(_0x17fd7a(_0x29c16,_0x1d7544,_0x2217cf),_0x2217cf=Object['create'](null),_0x1d7544=void 0x0),_0x17e9a9=_0x3792ed=-0x1;}else{if(_0xb426ee===0x3d&&_0x17e9a9!==-0x1&&_0x3792ed===-0x1)_0x70017a=_0x571db9[_0x1f770c(0x291)](_0x17e9a9,_0x1c1285),_0x17e9a9=_0x3792ed=-0x1;else throw new SyntaxError(_0x1f770c(0x29e)+_0x1c1285);}}}}else{if(_0x1d2711){if(_0x2e6bc9[_0xb426ee]!==0x1)throw new SyntaxError(_0x1f770c(0x29e)+_0x1c1285);_0x17e9a9===-0x1?_0x17e9a9=_0x1c1285:_0x3ffd44||(_0x3ffd44=!0x0),_0x1d2711=!0x1;}else{if(_0x4e5d2f){if(_0x2e6bc9[_0xb426ee]===0x1)_0x17e9a9===-0x1&&(_0x17e9a9=_0x1c1285);else{if(_0xb426ee===0x22&&_0x17e9a9!==-0x1)_0x4e5d2f=!0x1,_0x3792ed=_0x1c1285;else{if(_0xb426ee===0x5c)_0x1d2711=!0x0;else throw new SyntaxError(_0x1f770c(0x29e)+_0x1c1285);}}}else{if(_0xb426ee===0x22&&_0x571db9[_0x1f770c(0x2ea)](_0x1c1285-0x1)===0x3d)_0x4e5d2f=!0x0;else{if(_0x3792ed===-0x1&&_0x2e6bc9[_0xb426ee]===0x1)_0x17e9a9===-0x1&&(_0x17e9a9=_0x1c1285);else{if(_0x17e9a9!==-0x1&&(_0xb426ee===0x20||_0xb426ee===0x9))_0x3792ed===-0x1&&(_0x3792ed=_0x1c1285);else{if(_0xb426ee===0x3b||_0xb426ee===0x2c){if(_0x17e9a9===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x1c1285);_0x3792ed===-0x1&&(_0x3792ed=_0x1c1285);let _0xf93ae5=_0x571db9[_0x1f770c(0x291)](_0x17e9a9,_0x3792ed);_0x3ffd44&&(_0xf93ae5=_0xf93ae5[_0x1f770c(0x2aa)](/\\/g,''),_0x3ffd44=!0x1),_0x17fd7a(_0x2217cf,_0x70017a,_0xf93ae5),_0xb426ee===0x2c&&(_0x17fd7a(_0x29c16,_0x1d7544,_0x2217cf),_0x2217cf=Object['create'](null),_0x1d7544=void 0x0),_0x70017a=void 0x0,_0x17e9a9=_0x3792ed=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x1c1285);}}}}}}}if(_0x17e9a9===-0x1||_0x4e5d2f||_0xb426ee===0x20||_0xb426ee===0x9)throw new SyntaxError(_0x1f770c(0x2dc));_0x3792ed===-0x1&&(_0x3792ed=_0x1c1285);const _0x22aa53=_0x571db9[_0x1f770c(0x291)](_0x17e9a9,_0x3792ed);return _0x1d7544===void 0x0?_0x17fd7a(_0x29c16,_0x22aa53,_0x2217cf):(_0x70017a===void 0x0?_0x17fd7a(_0x2217cf,_0x22aa53,!0x0):_0x3ffd44?_0x17fd7a(_0x2217cf,_0x70017a,_0x22aa53['replace'](/\\/g,'')):_0x17fd7a(_0x2217cf,_0x70017a,_0x22aa53),_0x17fd7a(_0x29c16,_0x1d7544,_0x2217cf)),_0x29c16;}function _0x168533(_0x17b35f){const _0x56c34d=_0x8f2c;return Object['keys'](_0x17b35f)[_0x56c34d(0x308)](_0x11862a=>{const _0x2f085b=_0x56c34d;let _0x5d259f=_0x17b35f[_0x11862a];return Array[_0x2f085b(0x1ed)](_0x5d259f)||(_0x5d259f=[_0x5d259f]),_0x5d259f[_0x2f085b(0x308)](_0x2834c4=>[_0x11862a][_0x2f085b(0x287)](Object['keys'](_0x2834c4)[_0x2f085b(0x308)](_0x4b9a71=>{const _0x2c4e15=_0x2f085b;let _0x360c81=_0x2834c4[_0x4b9a71];return Array[_0x2c4e15(0x1ed)](_0x360c81)||(_0x360c81=[_0x360c81]),_0x360c81[_0x2c4e15(0x308)](_0x4c5314=>_0x4c5314===!0x0?_0x4b9a71:_0x4b9a71+'='+_0x4c5314)[_0x2c4e15(0x31d)](';\x20');}))[_0x2f085b(0x31d)](';\x20'))[_0x2f085b(0x31d)](',\x20');})['join'](',\x20');}return be={'format':_0x168533,'parse':_0x5d76e2},be;}var we,st;function Ie(){const _0x100458=_0x1ee84f;if(st)return we;st=0x1;const _0x348063=_0x585b11,_0x533da0=_0x2fd1b4,_0xc750de=_0x17586c,_0x24c9e=_0x424bbb,_0x4c472f=_0x2008ca,{randomBytes:_0x929700,createHash:_0xf7facd}=_0x15ac28,{Duplex:_0x4526bb,Readable:_0x542fed}=_0x1bb23d,{URL:_0x3458fe}=_0x376499,_0x7e161b=he(),_0x5465ef=dt(),_0x3bb9f4=_t(),{isBlob:_0x229c26}=ne(),{BINARY_TYPES:_0x40a93f,EMPTY_BUFFER:_0x272474,GUID:_0x1aedbe,kForOnEventAttribute:_0x328cf3,kListener:_0x3dadad,kStatusCode:_0x678eb2,kWebSocket:_0x34b758,NOOP:_0x2560b7}=V(),{EventTarget:{addEventListener:_0x4d66f9,removeEventListener:_0x784311}}=Kt(),{format:_0x5c6b71,parse:_0x43ccf8}=pt(),{toBuffer:_0x5f4f41}=ce(),_0x4ad220=0x1e*0x3e8,_0x48f880=Symbol('kAborted'),_0x32101d=[0x8,0xd],_0x5da2c0=[_0x100458(0x2c4),_0x100458(0x38e),_0x100458(0x267),_0x100458(0x254)],_0x1f702a=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x310d57 extends _0x348063{constructor(_0x599122,_0x51a7a9,_0x177e56){const _0x1c19ae=_0x100458;super(),this[_0x1c19ae(0x209)]=_0x40a93f[0x0],this[_0x1c19ae(0x353)]=0x3ee,this[_0x1c19ae(0x2e3)]=!0x1,this[_0x1c19ae(0x362)]=!0x1,this[_0x1c19ae(0x220)]=_0x272474,this[_0x1c19ae(0x37d)]=null,this[_0x1c19ae(0x2d3)]=!0x1,this['_extensions']={},this['_paused']=!0x1,this[_0x1c19ae(0x2d6)]='',this['_readyState']=_0x310d57[_0x1c19ae(0x2c4)],this[_0x1c19ae(0x289)]=null,this[_0x1c19ae(0x337)]=null,this[_0x1c19ae(0x36f)]=null,_0x599122!==null?(this['_bufferedAmount']=0x0,this[_0x1c19ae(0x25f)]=!0x1,this['_redirects']=0x0,_0x51a7a9===void 0x0?_0x51a7a9=[]:Array[_0x1c19ae(0x1ed)](_0x51a7a9)||(typeof _0x51a7a9==_0x1c19ae(0x1e6)&&_0x51a7a9!==null?(_0x177e56=_0x51a7a9,_0x51a7a9=[]):_0x51a7a9=[_0x51a7a9]),_0x41eebc(this,_0x599122,_0x51a7a9,_0x177e56)):(this[_0x1c19ae(0x26f)]=_0x177e56[_0x1c19ae(0x2af)],this[_0x1c19ae(0x25f)]=!0x0);}get['binaryType'](){const _0x2b00d3=_0x100458;return this[_0x2b00d3(0x209)];}set['binaryType'](_0x17b556){const _0x5523d6=_0x100458;_0x40a93f[_0x5523d6(0x1fa)](_0x17b556)&&(this[_0x5523d6(0x209)]=_0x17b556,this[_0x5523d6(0x289)]&&(this[_0x5523d6(0x289)][_0x5523d6(0x209)]=_0x17b556));}get[_0x100458(0x2f7)](){const _0x456592=_0x100458;return this[_0x456592(0x36f)]?this[_0x456592(0x36f)][_0x456592(0x27e)][_0x456592(0x314)]+this[_0x456592(0x337)][_0x456592(0x20b)]:this['_bufferedAmount'];}get['extensions'](){const _0x48e1e6=_0x100458;return Object['keys'](this[_0x48e1e6(0x26e)])[_0x48e1e6(0x31d)]();}get[_0x100458(0x330)](){const _0x229479=_0x100458;return this[_0x229479(0x1ec)];}get[_0x100458(0x33c)](){return null;}get[_0x100458(0x21f)](){return null;}get[_0x100458(0x213)](){return null;}get[_0x100458(0x20c)](){return null;}get[_0x100458(0x2f9)](){const _0x5af2b9=_0x100458;return this[_0x5af2b9(0x2d6)];}get[_0x100458(0x33d)](){const _0x11d4ec=_0x100458;return this[_0x11d4ec(0x2c3)];}get[_0x100458(0x2c0)](){const _0x193939=_0x100458;return this[_0x193939(0x222)];}[_0x100458(0x2ee)](_0x5e37a4,_0x41fc5e,_0x36169e){const _0x140471=_0x100458,_0xacde4d=new _0x5465ef({'allowSynchronousEvents':_0x36169e['allowSynchronousEvents'],'binaryType':this[_0x140471(0x23a)],'extensions':this[_0x140471(0x26e)],'isServer':this[_0x140471(0x25f)],'maxPayload':_0x36169e[_0x140471(0x218)],'skipUTF8Validation':_0x36169e[_0x140471(0x2e8)]}),_0x25639c=new _0x3bb9f4(_0x5e37a4,this['_extensions'],_0x36169e[_0x140471(0x2b8)]);this[_0x140471(0x289)]=_0xacde4d,this['_sender']=_0x25639c,this['_socket']=_0x5e37a4,_0xacde4d[_0x34b758]=this,_0x25639c[_0x34b758]=this,_0x5e37a4[_0x34b758]=this,_0xacde4d['on'](_0x140471(0x24d),_0x4c9561),_0xacde4d['on'](_0x140471(0x20d),_0x48c185),_0xacde4d['on'](_0x140471(0x2cf),_0x1b88cc),_0xacde4d['on'](_0x140471(0x367),_0x98643f),_0xacde4d['on'](_0x140471(0x35a),_0x1aad2a),_0xacde4d['on'](_0x140471(0x205),_0x25200a),_0x25639c['onerror']=_0xca95ff,_0x5e37a4[_0x140471(0x236)]&&_0x5e37a4['setTimeout'](0x0),_0x5e37a4['setNoDelay']&&_0x5e37a4[_0x140471(0x35b)](),_0x41fc5e[_0x140471(0x314)]>0x0&&_0x5e37a4[_0x140471(0x336)](_0x41fc5e),_0x5e37a4['on'](_0x140471(0x333),_0x416152),_0x5e37a4['on'](_0x140471(0x263),_0x4b361e),_0x5e37a4['on'](_0x140471(0x250),_0x3ad27e),_0x5e37a4['on']('error',_0x2f3686),this[_0x140471(0x2c3)]=_0x310d57[_0x140471(0x38e)],this[_0x140471(0x30b)](_0x140471(0x1e5));}[_0x100458(0x294)](){const _0x51ff85=_0x100458;if(!this[_0x51ff85(0x36f)]){this[_0x51ff85(0x2c3)]=_0x310d57[_0x51ff85(0x254)],this[_0x51ff85(0x30b)](_0x51ff85(0x333),this[_0x51ff85(0x353)],this[_0x51ff85(0x220)]);return;}this[_0x51ff85(0x26e)][_0x7e161b[_0x51ff85(0x35d)]]&&this[_0x51ff85(0x26e)][_0x7e161b['extensionName']]['cleanup'](),this[_0x51ff85(0x289)][_0x51ff85(0x211)](),this[_0x51ff85(0x2c3)]=_0x310d57['CLOSED'],this['emit']('close',this['_closeCode'],this['_closeMessage']);}['close'](_0x164a41,_0x302d2e){const _0x4a7f49=_0x100458;if(this[_0x4a7f49(0x33d)]!==_0x310d57[_0x4a7f49(0x254)]){if(this[_0x4a7f49(0x33d)]===_0x310d57[_0x4a7f49(0x2c4)]){_0x5bc59(this,this[_0x4a7f49(0x2a1)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}if(this[_0x4a7f49(0x33d)]===_0x310d57[_0x4a7f49(0x267)]){this[_0x4a7f49(0x362)]&&(this['_closeFrameReceived']||this[_0x4a7f49(0x289)][_0x4a7f49(0x27e)][_0x4a7f49(0x1e3)])&&this['_socket'][_0x4a7f49(0x250)]();return;}this[_0x4a7f49(0x2c3)]=_0x310d57[_0x4a7f49(0x267)],this[_0x4a7f49(0x337)]['close'](_0x164a41,_0x302d2e,!this['_isServer'],_0x29cb17=>{const _0x1b3c72=_0x4a7f49;_0x29cb17||(this[_0x1b3c72(0x362)]=!0x0,(this[_0x1b3c72(0x2e3)]||this['_receiver'][_0x1b3c72(0x27e)][_0x1b3c72(0x1e3)])&&this[_0x1b3c72(0x36f)][_0x1b3c72(0x250)]());}),_0x2eeb1e(this);}}['pause'](){const _0x28ced0=_0x100458;this[_0x28ced0(0x33d)]===_0x310d57['CONNECTING']||this[_0x28ced0(0x33d)]===_0x310d57[_0x28ced0(0x254)]||(this['_paused']=!0x0,this[_0x28ced0(0x36f)][_0x28ced0(0x2a0)]());}[_0x100458(0x35a)](_0x35649b,_0x266bc9,_0x10c7ab){const _0x443c8d=_0x100458;if(this['readyState']===_0x310d57[_0x443c8d(0x2c4)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x35649b==_0x443c8d(0x2b2)?(_0x10c7ab=_0x35649b,_0x35649b=_0x266bc9=void 0x0):typeof _0x266bc9=='function'&&(_0x10c7ab=_0x266bc9,_0x266bc9=void 0x0),typeof _0x35649b==_0x443c8d(0x23c)&&(_0x35649b=_0x35649b[_0x443c8d(0x23d)]()),this[_0x443c8d(0x33d)]!==_0x310d57['OPEN']){_0x104cbe(this,_0x35649b,_0x10c7ab);return;}_0x266bc9===void 0x0&&(_0x266bc9=!this[_0x443c8d(0x25f)]),this[_0x443c8d(0x337)]['ping'](_0x35649b||_0x272474,_0x266bc9,_0x10c7ab);}[_0x100458(0x205)](_0x580d96,_0x13e591,_0x3f1701){const _0x693db=_0x100458;if(this[_0x693db(0x33d)]===_0x310d57[_0x693db(0x2c4)])throw new Error(_0x693db(0x2cb));if(typeof _0x580d96=='function'?(_0x3f1701=_0x580d96,_0x580d96=_0x13e591=void 0x0):typeof _0x13e591==_0x693db(0x2b2)&&(_0x3f1701=_0x13e591,_0x13e591=void 0x0),typeof _0x580d96==_0x693db(0x23c)&&(_0x580d96=_0x580d96[_0x693db(0x23d)]()),this[_0x693db(0x33d)]!==_0x310d57[_0x693db(0x38e)]){_0x104cbe(this,_0x580d96,_0x3f1701);return;}_0x13e591===void 0x0&&(_0x13e591=!this[_0x693db(0x25f)]),this[_0x693db(0x337)][_0x693db(0x205)](_0x580d96||_0x272474,_0x13e591,_0x3f1701);}[_0x100458(0x2fa)](){const _0x1f6f86=_0x100458;this[_0x1f6f86(0x33d)]===_0x310d57[_0x1f6f86(0x2c4)]||this[_0x1f6f86(0x33d)]===_0x310d57[_0x1f6f86(0x254)]||(this[_0x1f6f86(0x1ec)]=!0x1,this['_receiver']['_writableState'][_0x1f6f86(0x1fe)]||this['_socket']['resume']());}['send'](_0x334c22,_0x3241a7,_0x2747dc){const _0x59d8b6=_0x100458;if(this['readyState']===_0x310d57['CONNECTING'])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x3241a7==_0x59d8b6(0x2b2)&&(_0x2747dc=_0x3241a7,_0x3241a7={}),typeof _0x334c22=='number'&&(_0x334c22=_0x334c22['toString']()),this['readyState']!==_0x310d57[_0x59d8b6(0x38e)]){_0x104cbe(this,_0x334c22,_0x2747dc);return;}const _0x2aea4f={'binary':typeof _0x334c22!=_0x59d8b6(0x1de),'mask':!this[_0x59d8b6(0x25f)],'compress':!0x0,'fin':!0x0,..._0x3241a7};this['_extensions'][_0x7e161b[_0x59d8b6(0x35d)]]||(_0x2aea4f[_0x59d8b6(0x311)]=!0x1),this[_0x59d8b6(0x337)]['send'](_0x334c22||_0x272474,_0x2aea4f,_0x2747dc);}[_0x100458(0x30e)](){const _0x4cace5=_0x100458;if(this['readyState']!==_0x310d57[_0x4cace5(0x254)]){if(this[_0x4cace5(0x33d)]===_0x310d57[_0x4cace5(0x2c4)]){_0x5bc59(this,this[_0x4cace5(0x2a1)],_0x4cace5(0x33a));return;}this[_0x4cace5(0x36f)]&&(this['_readyState']=_0x310d57[_0x4cace5(0x267)],this[_0x4cace5(0x36f)][_0x4cace5(0x22e)]());}}}Object[_0x100458(0x304)](_0x310d57,'CONNECTING',{'enumerable':!0x0,'value':_0x5da2c0[_0x100458(0x307)](_0x100458(0x2c4))}),Object[_0x100458(0x304)](_0x310d57[_0x100458(0x346)],'CONNECTING',{'enumerable':!0x0,'value':_0x5da2c0[_0x100458(0x307)](_0x100458(0x2c4))}),Object[_0x100458(0x304)](_0x310d57,_0x100458(0x38e),{'enumerable':!0x0,'value':_0x5da2c0['indexOf']('OPEN')}),Object[_0x100458(0x304)](_0x310d57['prototype'],_0x100458(0x38e),{'enumerable':!0x0,'value':_0x5da2c0[_0x100458(0x307)](_0x100458(0x38e))}),Object[_0x100458(0x304)](_0x310d57,_0x100458(0x267),{'enumerable':!0x0,'value':_0x5da2c0['indexOf']('CLOSING')}),Object[_0x100458(0x304)](_0x310d57['prototype'],_0x100458(0x267),{'enumerable':!0x0,'value':_0x5da2c0[_0x100458(0x307)](_0x100458(0x267))}),Object['defineProperty'](_0x310d57,_0x100458(0x254),{'enumerable':!0x0,'value':_0x5da2c0[_0x100458(0x307)]('CLOSED')}),Object[_0x100458(0x304)](_0x310d57[_0x100458(0x346)],_0x100458(0x254),{'enumerable':!0x0,'value':_0x5da2c0[_0x100458(0x307)](_0x100458(0x254))}),[_0x100458(0x23a),_0x100458(0x2f7),_0x100458(0x2a5),_0x100458(0x330),_0x100458(0x2f9),_0x100458(0x33d),_0x100458(0x2c0)][_0x100458(0x2d2)](_0x548fb5=>{const _0x4624ae=_0x100458;Object[_0x4624ae(0x304)](_0x310d57[_0x4624ae(0x346)],_0x548fb5,{'enumerable':!0x0});}),[_0x100458(0x1e5),_0x100458(0x2cf),_0x100458(0x333),_0x100458(0x367)][_0x100458(0x2d2)](_0x280a83=>{const _0x5a286e=_0x100458;Object[_0x5a286e(0x304)](_0x310d57[_0x5a286e(0x346)],'on'+_0x280a83,{'enumerable':!0x0,'get'(){const _0x54e1e3=_0x5a286e;for(const _0x317280 of this[_0x54e1e3(0x2c2)](_0x280a83))if(_0x317280[_0x328cf3])return _0x317280[_0x3dadad];return null;},'set'(_0x1f12d1){const _0x10882c=_0x5a286e;for(const _0x199ab6 of this[_0x10882c(0x2c2)](_0x280a83))if(_0x199ab6[_0x328cf3]){this[_0x10882c(0x326)](_0x280a83,_0x199ab6);break;}typeof _0x1f12d1==_0x10882c(0x2b2)&&this[_0x10882c(0x31e)](_0x280a83,_0x1f12d1,{[_0x328cf3]:!0x0});}});}),_0x310d57[_0x100458(0x346)][_0x100458(0x31e)]=_0x4d66f9,_0x310d57[_0x100458(0x346)][_0x100458(0x21a)]=_0x784311,we=_0x310d57;function _0x41eebc(_0x3e932a,_0x2b0619,_0x2a812,_0x2d6bd6){const _0x560213=_0x100458,_0x26aa25={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x32101d[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x2d6bd6,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x3e932a[_0x560213(0x26f)]=_0x26aa25[_0x560213(0x2af)],!_0x32101d[_0x560213(0x1fa)](_0x26aa25[_0x560213(0x1e2)]))throw new RangeError('Unsupported\x20protocol\x20version:\x20'+_0x26aa25[_0x560213(0x1e2)]+'\x20(supported\x20versions:\x20'+_0x32101d[_0x560213(0x31d)](',\x20')+')');let _0x4a7c6d;if(_0x2b0619 instanceof _0x3458fe)_0x4a7c6d=_0x2b0619;else try{_0x4a7c6d=new _0x3458fe(_0x2b0619);}catch{throw new SyntaxError(_0x560213(0x2e7)+_0x2b0619);}_0x4a7c6d['protocol']==='http:'?_0x4a7c6d[_0x560213(0x2f9)]='ws:':_0x4a7c6d['protocol']===_0x560213(0x22a)&&(_0x4a7c6d['protocol']=_0x560213(0x202)),_0x3e932a[_0x560213(0x222)]=_0x4a7c6d[_0x560213(0x1fd)];const _0x387288=_0x4a7c6d[_0x560213(0x2f9)]===_0x560213(0x202),_0x3dc71f=_0x4a7c6d[_0x560213(0x2f9)]===_0x560213(0x253);let _0xe12392;if(_0x4a7c6d[_0x560213(0x2f9)]!==_0x560213(0x2d7)&&!_0x387288&&!_0x3dc71f?_0xe12392=_0x560213(0x24e):_0x3dc71f&&!_0x4a7c6d['pathname']?_0xe12392=_0x560213(0x2c1):_0x4a7c6d['hash']&&(_0xe12392=_0x560213(0x2a6)),_0xe12392){const _0x18b422=new SyntaxError(_0xe12392);if(_0x3e932a[_0x560213(0x1eb)]===0x0)throw _0x18b422;_0x6ef111(_0x3e932a,_0x18b422);return;}const _0x5dfa0f=_0x387288?0x1bb:0x50,_0x48318e=_0x929700(0x10)['toString'](_0x560213(0x246)),_0x2fc8aa=_0x387288?_0x533da0[_0x560213(0x227)]:_0xc750de[_0x560213(0x227)],_0x2eee97=new Set();let _0x4ef1c1;if(_0x26aa25[_0x560213(0x27d)]=_0x26aa25[_0x560213(0x27d)]||(_0x387288?_0x5afd3f:_0x4f16fe),_0x26aa25[_0x560213(0x334)]=_0x26aa25[_0x560213(0x334)]||_0x5dfa0f,_0x26aa25['port']=_0x4a7c6d[_0x560213(0x224)]||_0x5dfa0f,_0x26aa25[_0x560213(0x21d)]=_0x4a7c6d[_0x560213(0x332)][_0x560213(0x298)]('[')?_0x4a7c6d[_0x560213(0x332)]['slice'](0x1,-0x1):_0x4a7c6d[_0x560213(0x332)],_0x26aa25[_0x560213(0x383)]={..._0x26aa25[_0x560213(0x383)],'Sec-WebSocket-Version':_0x26aa25[_0x560213(0x1e2)],'Sec-WebSocket-Key':_0x48318e,'Connection':_0x560213(0x371),'Upgrade':_0x560213(0x363)},_0x26aa25[_0x560213(0x242)]=_0x4a7c6d[_0x560213(0x2dd)]+_0x4a7c6d['search'],_0x26aa25[_0x560213(0x2ce)]=_0x26aa25[_0x560213(0x319)],_0x26aa25[_0x560213(0x28b)]&&(_0x4ef1c1=new _0x7e161b(_0x26aa25['perMessageDeflate']!==!0x0?_0x26aa25[_0x560213(0x28b)]:{},!0x1,_0x26aa25[_0x560213(0x218)]),_0x26aa25[_0x560213(0x383)][_0x560213(0x322)]=_0x5c6b71({[_0x7e161b['extensionName']]:_0x4ef1c1[_0x560213(0x378)]()})),_0x2a812[_0x560213(0x314)]){for(const _0x4d9d05 of _0x2a812){if(typeof _0x4d9d05!=_0x560213(0x1de)||!_0x1f702a[_0x560213(0x323)](_0x4d9d05)||_0x2eee97[_0x560213(0x374)](_0x4d9d05))throw new SyntaxError(_0x560213(0x2e4));_0x2eee97[_0x560213(0x30d)](_0x4d9d05);}_0x26aa25[_0x560213(0x383)][_0x560213(0x219)]=_0x2a812[_0x560213(0x31d)](',');}if(_0x26aa25[_0x560213(0x25b)]&&(_0x26aa25[_0x560213(0x1e2)]<0xd?_0x26aa25[_0x560213(0x383)][_0x560213(0x1ee)]=_0x26aa25[_0x560213(0x25b)]:_0x26aa25['headers']['Origin']=_0x26aa25['origin']),(_0x4a7c6d[_0x560213(0x360)]||_0x4a7c6d['password'])&&(_0x26aa25[_0x560213(0x327)]=_0x4a7c6d[_0x560213(0x360)]+':'+_0x4a7c6d['password']),_0x3dc71f){const _0x367e4b=_0x26aa25['path']['split'](':');_0x26aa25[_0x560213(0x38c)]=_0x367e4b[0x0],_0x26aa25[_0x560213(0x242)]=_0x367e4b[0x1];}let _0x336d33;if(_0x26aa25['followRedirects']){if(_0x3e932a[_0x560213(0x1eb)]===0x0){_0x3e932a['_originalIpc']=_0x3dc71f,_0x3e932a[_0x560213(0x302)]=_0x387288,_0x3e932a[_0x560213(0x29f)]=_0x3dc71f?_0x26aa25['socketPath']:_0x4a7c6d[_0x560213(0x21d)];const _0xe4b9e5=_0x2d6bd6&&_0x2d6bd6['headers'];if(_0x2d6bd6={..._0x2d6bd6,'headers':{}},_0xe4b9e5){for(const [_0x2cbc89,_0x41f906]of Object[_0x560213(0x27a)](_0xe4b9e5))_0x2d6bd6['headers'][_0x2cbc89[_0x560213(0x252)]()]=_0x41f906;}}else{if(_0x3e932a[_0x560213(0x28c)](_0x560213(0x2f8))===0x0){const _0x3659ef=_0x3dc71f?_0x3e932a[_0x560213(0x347)]?_0x26aa25['socketPath']===_0x3e932a[_0x560213(0x29f)]:!0x1:_0x3e932a[_0x560213(0x347)]?!0x1:_0x4a7c6d[_0x560213(0x21d)]===_0x3e932a[_0x560213(0x29f)];(!_0x3659ef||_0x3e932a[_0x560213(0x302)]&&!_0x387288)&&(delete _0x26aa25['headers']['authorization'],delete _0x26aa25[_0x560213(0x383)][_0x560213(0x2df)],_0x3659ef||delete _0x26aa25[_0x560213(0x383)][_0x560213(0x21d)],_0x26aa25['auth']=void 0x0);}}_0x26aa25[_0x560213(0x327)]&&!_0x2d6bd6[_0x560213(0x383)][_0x560213(0x22d)]&&(_0x2d6bd6[_0x560213(0x383)]['authorization']='Basic\x20'+Buffer[_0x560213(0x376)](_0x26aa25[_0x560213(0x327)])[_0x560213(0x23d)]('base64')),_0x336d33=_0x3e932a[_0x560213(0x2a1)]=_0x2fc8aa(_0x26aa25),_0x3e932a[_0x560213(0x1eb)]&&_0x3e932a['emit']('redirect',_0x3e932a[_0x560213(0x2c0)],_0x336d33);}else _0x336d33=_0x3e932a[_0x560213(0x2a1)]=_0x2fc8aa(_0x26aa25);_0x26aa25['timeout']&&_0x336d33['on'](_0x560213(0x2ce),()=>{_0x5bc59(_0x3e932a,_0x336d33,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x336d33['on'](_0x560213(0x2cf),_0x338d2d=>{const _0xd8e639=_0x560213;_0x336d33===null||_0x336d33[_0x48f880]||(_0x336d33=_0x3e932a[_0xd8e639(0x2a1)]=null,_0x6ef111(_0x3e932a,_0x338d2d));}),_0x336d33['on'](_0x560213(0x226),_0x5d28ee=>{const _0x18148e=_0x560213,_0x182cc9=_0x5d28ee[_0x18148e(0x383)][_0x18148e(0x349)],_0x1a6ec8=_0x5d28ee[_0x18148e(0x1f2)];if(_0x182cc9&&_0x26aa25['followRedirects']&&_0x1a6ec8>=0x12c&&_0x1a6ec8<0x190){if(++_0x3e932a[_0x18148e(0x1eb)]>_0x26aa25[_0x18148e(0x2b7)]){_0x5bc59(_0x3e932a,_0x336d33,_0x18148e(0x1f7));return;}_0x336d33[_0x18148e(0x23e)]();let _0x5a7a36;try{_0x5a7a36=new _0x3458fe(_0x182cc9,_0x2b0619);}catch{const _0x274c63=new SyntaxError(_0x18148e(0x2e7)+_0x182cc9);_0x6ef111(_0x3e932a,_0x274c63);return;}_0x41eebc(_0x3e932a,_0x5a7a36,_0x2a812,_0x2d6bd6);}else _0x3e932a[_0x18148e(0x30b)](_0x18148e(0x2eb),_0x336d33,_0x5d28ee)||_0x5bc59(_0x3e932a,_0x336d33,'Unexpected\x20server\x20response:\x20'+_0x5d28ee[_0x18148e(0x1f2)]);}),_0x336d33['on'](_0x560213(0x2b6),(_0x225217,_0x5327a2,_0x115864)=>{const _0x1580b9=_0x560213;if(_0x3e932a[_0x1580b9(0x30b)]('upgrade',_0x225217),_0x3e932a[_0x1580b9(0x33d)]!==_0x310d57[_0x1580b9(0x2c4)])return;_0x336d33=_0x3e932a[_0x1580b9(0x2a1)]=null;const _0x501cf3=_0x225217['headers'][_0x1580b9(0x2b6)];if(_0x501cf3===void 0x0||_0x501cf3[_0x1580b9(0x252)]()!=='websocket'){_0x5bc59(_0x3e932a,_0x5327a2,_0x1580b9(0x2bc));return;}const _0xbaaec6=_0xf7facd(_0x1580b9(0x237))[_0x1580b9(0x2ae)](_0x48318e+_0x1aedbe)[_0x1580b9(0x354)](_0x1580b9(0x246));if(_0x225217[_0x1580b9(0x383)]['sec-websocket-accept']!==_0xbaaec6){_0x5bc59(_0x3e932a,_0x5327a2,_0x1580b9(0x358));return;}const _0x21a849=_0x225217[_0x1580b9(0x383)][_0x1580b9(0x296)];let _0x202b8c;if(_0x21a849!==void 0x0?_0x2eee97[_0x1580b9(0x295)]?_0x2eee97['has'](_0x21a849)||(_0x202b8c=_0x1580b9(0x2a8)):_0x202b8c=_0x1580b9(0x2fd):_0x2eee97['size']&&(_0x202b8c=_0x1580b9(0x201)),_0x202b8c){_0x5bc59(_0x3e932a,_0x5327a2,_0x202b8c);return;}_0x21a849&&(_0x3e932a[_0x1580b9(0x2d6)]=_0x21a849);const _0x2985e4=_0x225217[_0x1580b9(0x383)][_0x1580b9(0x25e)];if(_0x2985e4!==void 0x0){if(!_0x4ef1c1){_0x5bc59(_0x3e932a,_0x5327a2,_0x1580b9(0x255));return;}let _0x3f44e5;try{_0x3f44e5=_0x43ccf8(_0x2985e4);}catch{_0x5bc59(_0x3e932a,_0x5327a2,_0x1580b9(0x390));return;}const _0x21ae43=Object[_0x1580b9(0x36b)](_0x3f44e5);if(_0x21ae43[_0x1580b9(0x314)]!==0x1||_0x21ae43[0x0]!==_0x7e161b[_0x1580b9(0x35d)]){_0x5bc59(_0x3e932a,_0x5327a2,_0x1580b9(0x244));return;}try{_0x4ef1c1[_0x1580b9(0x2c9)](_0x3f44e5[_0x7e161b['extensionName']]);}catch{_0x5bc59(_0x3e932a,_0x5327a2,_0x1580b9(0x390));return;}_0x3e932a[_0x1580b9(0x26e)][_0x7e161b[_0x1580b9(0x35d)]]=_0x4ef1c1;}_0x3e932a[_0x1580b9(0x2ee)](_0x5327a2,_0x115864,{'allowSynchronousEvents':_0x26aa25[_0x1580b9(0x203)],'generateMask':_0x26aa25['generateMask'],'maxPayload':_0x26aa25[_0x1580b9(0x218)],'skipUTF8Validation':_0x26aa25[_0x1580b9(0x2e8)]});}),_0x26aa25[_0x560213(0x368)]?_0x26aa25[_0x560213(0x368)](_0x336d33,_0x3e932a):_0x336d33[_0x560213(0x250)]();}function _0x6ef111(_0x9eeb95,_0x19d40d){const _0x2fa17a=_0x100458;_0x9eeb95[_0x2fa17a(0x2c3)]=_0x310d57['CLOSING'],_0x9eeb95[_0x2fa17a(0x2d3)]=!0x0,_0x9eeb95[_0x2fa17a(0x30b)](_0x2fa17a(0x2cf),_0x19d40d),_0x9eeb95[_0x2fa17a(0x294)]();}function _0x4f16fe(_0x1936d9){const _0x31290=_0x100458;return _0x1936d9[_0x31290(0x242)]=_0x1936d9['socketPath'],_0x24c9e[_0x31290(0x1e7)](_0x1936d9);}function _0x5afd3f(_0x28837a){const _0x395702=_0x100458;return _0x28837a[_0x395702(0x242)]=void 0x0,!_0x28837a[_0x395702(0x2ba)]&&_0x28837a[_0x395702(0x2ba)]!==''&&(_0x28837a[_0x395702(0x2ba)]=_0x24c9e[_0x395702(0x282)](_0x28837a[_0x395702(0x21d)])?'':_0x28837a[_0x395702(0x21d)]),_0x4c472f['connect'](_0x28837a);}function _0x5bc59(_0x4dc94e,_0x3ec5fe,_0xd4b8a4){const _0xf73900=_0x100458;_0x4dc94e[_0xf73900(0x2c3)]=_0x310d57[_0xf73900(0x267)];const _0x2bce6f=new Error(_0xd4b8a4);Error[_0xf73900(0x281)](_0x2bce6f,_0x5bc59),_0x3ec5fe['setHeader']?(_0x3ec5fe[_0x48f880]=!0x0,_0x3ec5fe[_0xf73900(0x23e)](),_0x3ec5fe[_0xf73900(0x2fb)]&&!_0x3ec5fe[_0xf73900(0x2fb)]['destroyed']&&_0x3ec5fe[_0xf73900(0x2fb)][_0xf73900(0x22e)](),process['nextTick'](_0x6ef111,_0x4dc94e,_0x2bce6f)):(_0x3ec5fe[_0xf73900(0x22e)](_0x2bce6f),_0x3ec5fe['once'](_0xf73900(0x2cf),_0x4dc94e[_0xf73900(0x30b)][_0xf73900(0x206)](_0x4dc94e,_0xf73900(0x2cf))),_0x3ec5fe[_0xf73900(0x320)](_0xf73900(0x333),_0x4dc94e[_0xf73900(0x294)][_0xf73900(0x206)](_0x4dc94e)));}function _0x104cbe(_0x1cb59b,_0x2942cb,_0x11ab90){const _0x416774=_0x100458;if(_0x2942cb){const _0x1e5841=_0x229c26(_0x2942cb)?_0x2942cb['size']:_0x5f4f41(_0x2942cb)['length'];_0x1cb59b[_0x416774(0x36f)]?_0x1cb59b['_sender']['_bufferedBytes']+=_0x1e5841:_0x1cb59b[_0x416774(0x316)]+=_0x1e5841;}if(_0x11ab90){const _0x54ef08=new Error(_0x416774(0x38f)+_0x1cb59b[_0x416774(0x33d)]+'\x20('+_0x5da2c0[_0x1cb59b[_0x416774(0x33d)]]+')');process[_0x416774(0x357)](_0x11ab90,_0x54ef08);}}function _0x4c9561(_0x22fc36,_0x1e1575){const _0x1faed0=_0x100458,_0x5dac21=this[_0x34b758];_0x5dac21[_0x1faed0(0x2e3)]=!0x0,_0x5dac21[_0x1faed0(0x220)]=_0x1e1575,_0x5dac21['_closeCode']=_0x22fc36,_0x5dac21['_socket'][_0x34b758]!==void 0x0&&(_0x5dac21[_0x1faed0(0x36f)]['removeListener'](_0x1faed0(0x263),_0x4b361e),process['nextTick'](_0x207d7c,_0x5dac21[_0x1faed0(0x36f)]),_0x22fc36===0x3ed?_0x5dac21[_0x1faed0(0x333)]():_0x5dac21['close'](_0x22fc36,_0x1e1575));}function _0x48c185(){const _0x56a723=_0x100458,_0x261f3b=this[_0x34b758];_0x261f3b['isPaused']||_0x261f3b[_0x56a723(0x36f)]['resume']();}function _0x1b88cc(_0x108547){const _0x1b43c7=_0x100458,_0x27915f=this[_0x34b758];_0x27915f[_0x1b43c7(0x36f)][_0x34b758]!==void 0x0&&(_0x27915f['_socket']['removeListener'](_0x1b43c7(0x263),_0x4b361e),process[_0x1b43c7(0x357)](_0x207d7c,_0x27915f[_0x1b43c7(0x36f)]),_0x27915f[_0x1b43c7(0x333)](_0x108547[_0x678eb2])),_0x27915f[_0x1b43c7(0x2d3)]||(_0x27915f['_errorEmitted']=!0x0,_0x27915f[_0x1b43c7(0x30b)](_0x1b43c7(0x2cf),_0x108547));}function _0x580db5(){const _0x25b689=_0x100458;this[_0x34b758][_0x25b689(0x294)]();}function _0x98643f(_0x16fec1,_0x1824fb){const _0x2179a2=_0x100458;this[_0x34b758][_0x2179a2(0x30b)](_0x2179a2(0x367),_0x16fec1,_0x1824fb);}function _0x1aad2a(_0x42fc93){const _0x59d009=_0x100458,_0x1b47cc=this[_0x34b758];_0x1b47cc[_0x59d009(0x26f)]&&_0x1b47cc[_0x59d009(0x205)](_0x42fc93,!this[_0x59d009(0x25f)],_0x2560b7),_0x1b47cc['emit'](_0x59d009(0x35a),_0x42fc93);}function _0x25200a(_0x28cd56){const _0x224a96=_0x100458;this[_0x34b758]['emit'](_0x224a96(0x205),_0x28cd56);}function _0x207d7c(_0x516878){const _0x2ea329=_0x100458;_0x516878[_0x2ea329(0x2fa)]();}function _0xca95ff(_0x407b05){const _0x49a13d=_0x100458,_0x299e81=this[_0x34b758];_0x299e81[_0x49a13d(0x33d)]!==_0x310d57[_0x49a13d(0x254)]&&(_0x299e81[_0x49a13d(0x33d)]===_0x310d57[_0x49a13d(0x38e)]&&(_0x299e81['_readyState']=_0x310d57[_0x49a13d(0x267)],_0x2eeb1e(_0x299e81)),this[_0x49a13d(0x36f)]['end'](),_0x299e81[_0x49a13d(0x2d3)]||(_0x299e81['_errorEmitted']=!0x0,_0x299e81[_0x49a13d(0x30b)](_0x49a13d(0x2cf),_0x407b05)));}function _0x2eeb1e(_0x4d5dba){const _0x214a51=_0x100458;_0x4d5dba[_0x214a51(0x37d)]=setTimeout(_0x4d5dba['_socket'][_0x214a51(0x22e)][_0x214a51(0x206)](_0x4d5dba[_0x214a51(0x36f)]),_0x4ad220);}function _0x416152(){const _0x168764=_0x100458,_0x30a94c=this[_0x34b758];this[_0x168764(0x326)](_0x168764(0x333),_0x416152),this[_0x168764(0x326)]('data',_0x4b361e),this['removeListener'](_0x168764(0x250),_0x3ad27e),_0x30a94c[_0x168764(0x2c3)]=_0x310d57[_0x168764(0x267)];let _0x15283a;!this['_readableState'][_0x168764(0x31f)]&&!_0x30a94c[_0x168764(0x2e3)]&&!_0x30a94c[_0x168764(0x289)][_0x168764(0x27e)][_0x168764(0x1e3)]&&(_0x15283a=_0x30a94c[_0x168764(0x36f)][_0x168764(0x20e)]())!==null&&_0x30a94c['_receiver']['write'](_0x15283a),_0x30a94c[_0x168764(0x289)][_0x168764(0x250)](),this[_0x34b758]=void 0x0,clearTimeout(_0x30a94c[_0x168764(0x37d)]),_0x30a94c[_0x168764(0x289)][_0x168764(0x27e)]['finished']||_0x30a94c[_0x168764(0x289)][_0x168764(0x27e)][_0x168764(0x1e3)]?_0x30a94c[_0x168764(0x294)]():(_0x30a94c[_0x168764(0x289)]['on'](_0x168764(0x2cf),_0x580db5),_0x30a94c[_0x168764(0x289)]['on'](_0x168764(0x249),_0x580db5));}function _0x4b361e(_0x30f954){const _0x304a65=_0x100458;this[_0x34b758][_0x304a65(0x289)][_0x304a65(0x385)](_0x30f954)||this['pause']();}function _0x3ad27e(){const _0x32690c=_0x100458,_0x57e69b=this[_0x34b758];_0x57e69b['_readyState']=_0x310d57[_0x32690c(0x267)],_0x57e69b[_0x32690c(0x289)][_0x32690c(0x250)](),this[_0x32690c(0x250)]();}function _0x2f3686(){const _0x2bc68f=_0x100458,_0x21bd03=this[_0x34b758];this[_0x2bc68f(0x326)]('error',_0x2f3686),this['on'](_0x2bc68f(0x2cf),_0x2560b7),_0x21bd03&&(_0x21bd03[_0x2bc68f(0x2c3)]=_0x310d57['CLOSING'],this[_0x2bc68f(0x22e)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x3cf2d7}=_0x1bb23d;function _0x276627(_0x598701){const _0x391250=_0x8f2c;_0x598701[_0x391250(0x30b)](_0x391250(0x333));}function _0x15260d(){const _0x41c615=_0x8f2c;!this[_0x41c615(0x272)]&&this[_0x41c615(0x27e)][_0x41c615(0x38a)]&&this[_0x41c615(0x22e)]();}function _0x3ac568(_0x854948){const _0x4a0c9a=_0x8f2c;this[_0x4a0c9a(0x326)]('error',_0x3ac568),this[_0x4a0c9a(0x22e)](),this[_0x4a0c9a(0x28c)](_0x4a0c9a(0x2cf))===0x0&&this['emit'](_0x4a0c9a(0x2cf),_0x854948);}function _0x2b0841(_0x52a6df,_0x41efb2){const _0x1c115a=_0x8f2c;let _0x35caf5=!0x0;const _0x288abd=new _0x3cf2d7({..._0x41efb2,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x52a6df['on'](_0x1c115a(0x367),function(_0x421aa8,_0x52d937){const _0x43128b=_0x1c115a,_0x4f1ea1=!_0x52d937&&_0x288abd[_0x43128b(0x2be)][_0x43128b(0x28a)]?_0x421aa8['toString']():_0x421aa8;_0x288abd[_0x43128b(0x30a)](_0x4f1ea1)||_0x52a6df[_0x43128b(0x2a0)]();}),_0x52a6df[_0x1c115a(0x320)](_0x1c115a(0x2cf),function(_0x4e000d){const _0x32c02a=_0x1c115a;_0x288abd[_0x32c02a(0x272)]||(_0x35caf5=!0x1,_0x288abd[_0x32c02a(0x22e)](_0x4e000d));}),_0x52a6df['once']('close',function(){const _0x2b7358=_0x1c115a;_0x288abd[_0x2b7358(0x272)]||_0x288abd['push'](null);}),_0x288abd[_0x1c115a(0x1f9)]=function(_0x4513de,_0x2c047b){const _0x3f8996=_0x1c115a;if(_0x52a6df[_0x3f8996(0x33d)]===_0x52a6df[_0x3f8996(0x254)]){_0x2c047b(_0x4513de),process[_0x3f8996(0x357)](_0x276627,_0x288abd);return;}let _0x5b9904=!0x1;_0x52a6df['once'](_0x3f8996(0x2cf),function(_0x26be8a){_0x5b9904=!0x0,_0x2c047b(_0x26be8a);}),_0x52a6df['once'](_0x3f8996(0x333),function(){const _0x539693=_0x3f8996;_0x5b9904||_0x2c047b(_0x4513de),process[_0x539693(0x357)](_0x276627,_0x288abd);}),_0x35caf5&&_0x52a6df[_0x3f8996(0x30e)]();},_0x288abd[_0x1c115a(0x35e)]=function(_0x5e77c0){const _0x2e9456=_0x1c115a;if(_0x52a6df['readyState']===_0x52a6df[_0x2e9456(0x2c4)]){_0x52a6df[_0x2e9456(0x320)](_0x2e9456(0x1e5),function(){const _0x5e1892=_0x2e9456;_0x288abd[_0x5e1892(0x35e)](_0x5e77c0);});return;}_0x52a6df[_0x2e9456(0x36f)]!==null&&(_0x52a6df[_0x2e9456(0x36f)][_0x2e9456(0x27e)][_0x2e9456(0x38a)]?(_0x5e77c0(),_0x288abd[_0x2e9456(0x2be)][_0x2e9456(0x31f)]&&_0x288abd[_0x2e9456(0x22e)]()):(_0x52a6df[_0x2e9456(0x36f)][_0x2e9456(0x320)]('finish',function(){_0x5e77c0();}),_0x52a6df['close']()));},_0x288abd[_0x1c115a(0x23b)]=function(){const _0x5a2a81=_0x1c115a;_0x52a6df[_0x5a2a81(0x330)]&&_0x52a6df[_0x5a2a81(0x2fa)]();},_0x288abd['_write']=function(_0x3c502a,_0x18899c,_0x32e081){const _0x5c4a13=_0x1c115a;if(_0x52a6df[_0x5c4a13(0x33d)]===_0x52a6df[_0x5c4a13(0x2c4)]){_0x52a6df[_0x5c4a13(0x320)](_0x5c4a13(0x1e5),function(){const _0x49fb0f=_0x5c4a13;_0x288abd[_0x49fb0f(0x32c)](_0x3c502a,_0x18899c,_0x32e081);});return;}_0x52a6df[_0x5c4a13(0x257)](_0x3c502a,_0x32e081);},_0x288abd['on'](_0x1c115a(0x250),_0x15260d),_0x288abd['on'](_0x1c115a(0x2cf),_0x3ac568),_0x288abd;}return Oe=_0x2b0841,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=jt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x2b9f42}=ne();function _0x357578(_0x29d4c0){const _0x3b4cc6=_0x8f2c,_0x3f230a=new Set();let _0x1c2cf7=-0x1,_0xef4ec8=-0x1,_0x331f14=0x0;for(_0x331f14;_0x331f14<_0x29d4c0['length'];_0x331f14++){const _0x323b01=_0x29d4c0[_0x3b4cc6(0x2ea)](_0x331f14);if(_0xef4ec8===-0x1&&_0x2b9f42[_0x323b01]===0x1)_0x1c2cf7===-0x1&&(_0x1c2cf7=_0x331f14);else{if(_0x331f14!==0x0&&(_0x323b01===0x20||_0x323b01===0x9))_0xef4ec8===-0x1&&_0x1c2cf7!==-0x1&&(_0xef4ec8=_0x331f14);else{if(_0x323b01===0x2c){if(_0x1c2cf7===-0x1)throw new SyntaxError(_0x3b4cc6(0x29e)+_0x331f14);_0xef4ec8===-0x1&&(_0xef4ec8=_0x331f14);const _0x1250e2=_0x29d4c0[_0x3b4cc6(0x291)](_0x1c2cf7,_0xef4ec8);if(_0x3f230a['has'](_0x1250e2))throw new SyntaxError(_0x3b4cc6(0x2d4)+_0x1250e2+'\x22\x20subprotocol\x20is\x20duplicated');_0x3f230a[_0x3b4cc6(0x30d)](_0x1250e2),_0x1c2cf7=_0xef4ec8=-0x1;}else throw new SyntaxError(_0x3b4cc6(0x29e)+_0x331f14);}}}if(_0x1c2cf7===-0x1||_0xef4ec8!==-0x1)throw new SyntaxError('Unexpected\x20end\x20of\x20input');const _0x2739b4=_0x29d4c0[_0x3b4cc6(0x291)](_0x1c2cf7,_0x331f14);if(_0x3f230a['has'](_0x2739b4))throw new SyntaxError(_0x3b4cc6(0x2d4)+_0x2739b4+_0x3b4cc6(0x37c));return _0x3f230a['add'](_0x2739b4),_0x3f230a;}return Ce={'parse':_0x357578},Ce;}var Te,ot;function er(){const _0x261521=_0x1ee84f;if(ot)return Te;ot=0x1;const _0x1ffa38=_0x585b11,_0x1c03aa=_0x17586c,{Duplex:_0x4eac70}=_0x1bb23d,{createHash:_0x46d3fe}=_0x15ac28,_0x2faf4b=pt(),_0x2d323f=he(),_0x275985=Jt(),_0x27fa6b=Ie(),{GUID:_0x184d4c,kWebSocket:_0x5cc79f}=V(),_0x6fc365=/^[+/0-9A-Za-z]{22}==$/,_0x3b8e0e=0x0,_0x279ee5=0x1,_0x8515bf=0x2;class _0x59962a extends _0x1ffa38{constructor(_0x3b193f,_0xa6d217){const _0x52a875=_0x8f2c;if(super(),_0x3b193f={'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':_0x27fa6b,..._0x3b193f},_0x3b193f['port']==null&&!_0x3b193f[_0x52a875(0x20f)]&&!_0x3b193f[_0x52a875(0x38d)]||_0x3b193f[_0x52a875(0x224)]!=null&&(_0x3b193f[_0x52a875(0x20f)]||_0x3b193f['noServer'])||_0x3b193f['server']&&_0x3b193f[_0x52a875(0x38d)])throw new TypeError(_0x52a875(0x26d));if(_0x3b193f[_0x52a875(0x224)]!=null?(this[_0x52a875(0x2de)]=_0x1c03aa[_0x52a875(0x310)]((_0x56693e,_0x2b5d46)=>{const _0x3daadc=_0x52a875,_0x40b8ea=_0x1c03aa[_0x3daadc(0x2cd)][0x1aa];_0x2b5d46['writeHead'](0x1aa,{'Content-Length':_0x40b8ea[_0x3daadc(0x314)],'Content-Type':_0x3daadc(0x2a2)}),_0x2b5d46[_0x3daadc(0x250)](_0x40b8ea);}),this[_0x52a875(0x2de)][_0x52a875(0x1e8)](_0x3b193f['port'],_0x3b193f[_0x52a875(0x21d)],_0x3b193f[_0x52a875(0x26a)],_0xa6d217)):_0x3b193f['server']&&(this['_server']=_0x3b193f[_0x52a875(0x20f)]),this[_0x52a875(0x2de)]){const _0x2767ba=this[_0x52a875(0x30b)]['bind'](this,'connection');this[_0x52a875(0x1f0)]=_0x5e8f11(this[_0x52a875(0x2de)],{'listening':this[_0x52a875(0x30b)][_0x52a875(0x206)](this,_0x52a875(0x1f5)),'error':this[_0x52a875(0x30b)][_0x52a875(0x206)](this,_0x52a875(0x2cf)),'upgrade':(_0x459b39,_0x213709,_0x216f5e)=>{const _0xc433d3=_0x52a875;this[_0xc433d3(0x335)](_0x459b39,_0x213709,_0x216f5e,_0x2767ba);}});}_0x3b193f[_0x52a875(0x28b)]===!0x0&&(_0x3b193f['perMessageDeflate']={}),_0x3b193f[_0x52a875(0x370)]&&(this['clients']=new Set(),this['_shouldEmitClose']=!0x1),this[_0x52a875(0x2bd)]=_0x3b193f,this['_state']=_0x3b8e0e;}[_0x261521(0x2e6)](){const _0x24e52f=_0x261521;if(this[_0x24e52f(0x2bd)][_0x24e52f(0x38d)])throw new Error(_0x24e52f(0x221));return this[_0x24e52f(0x2de)]?this[_0x24e52f(0x2de)][_0x24e52f(0x2e6)]():null;}[_0x261521(0x333)](_0x12a1b1){const _0x3df578=_0x261521;if(this['_state']===_0x8515bf){_0x12a1b1&&this[_0x3df578(0x320)](_0x3df578(0x333),()=>{const _0x34cc59=_0x3df578;_0x12a1b1(new Error(_0x34cc59(0x232)));}),process['nextTick'](_0x4a15c8,this);return;}if(_0x12a1b1&&this[_0x3df578(0x320)](_0x3df578(0x333),_0x12a1b1),this[_0x3df578(0x230)]!==_0x279ee5){if(this[_0x3df578(0x230)]=_0x279ee5,this[_0x3df578(0x2bd)][_0x3df578(0x38d)]||this['options'][_0x3df578(0x20f)])this[_0x3df578(0x2de)]&&(this[_0x3df578(0x1f0)](),this[_0x3df578(0x1f0)]=this[_0x3df578(0x2de)]=null),this[_0x3df578(0x35c)]?this[_0x3df578(0x35c)][_0x3df578(0x295)]?this[_0x3df578(0x1ff)]=!0x0:process[_0x3df578(0x357)](_0x4a15c8,this):process[_0x3df578(0x357)](_0x4a15c8,this);else{const _0x29f6fc=this['_server'];this[_0x3df578(0x1f0)](),this[_0x3df578(0x1f0)]=this[_0x3df578(0x2de)]=null,_0x29f6fc[_0x3df578(0x333)](()=>{_0x4a15c8(this);});}}}[_0x261521(0x297)](_0x423de2){const _0x27061c=_0x261521;if(this['options'][_0x27061c(0x242)]){const _0x4eddad=_0x423de2['url'][_0x27061c(0x307)]('?');if((_0x4eddad!==-0x1?_0x423de2[_0x27061c(0x2c0)][_0x27061c(0x291)](0x0,_0x4eddad):_0x423de2[_0x27061c(0x2c0)])!==this[_0x27061c(0x2bd)][_0x27061c(0x242)])return!0x1;}return!0x0;}[_0x261521(0x335)](_0x42c935,_0x1c5604,_0x27013b,_0x460bdc){const _0x4fe356=_0x261521;_0x1c5604['on'](_0x4fe356(0x2cf),_0x12c876);const _0x5b17c4=_0x42c935['headers'][_0x4fe356(0x32a)],_0x242206=_0x42c935['headers'][_0x4fe356(0x2b6)],_0xbdff86=+_0x42c935[_0x4fe356(0x383)]['sec-websocket-version'];if(_0x42c935['method']!==_0x4fe356(0x2d0)){_0x4f2e3c(this,_0x42c935,_0x1c5604,0x195,_0x4fe356(0x388));return;}if(_0x242206===void 0x0||_0x242206[_0x4fe356(0x252)]()!==_0x4fe356(0x363)){_0x4f2e3c(this,_0x42c935,_0x1c5604,0x190,_0x4fe356(0x2bc));return;}if(_0x5b17c4===void 0x0||!_0x6fc365['test'](_0x5b17c4)){_0x4f2e3c(this,_0x42c935,_0x1c5604,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header');return;}if(_0xbdff86!==0x8&&_0xbdff86!==0xd){_0x4f2e3c(this,_0x42c935,_0x1c5604,0x190,_0x4fe356(0x2da));return;}if(!this[_0x4fe356(0x297)](_0x42c935)){_0x233227(_0x1c5604,0x190);return;}const _0x8df883=_0x42c935[_0x4fe356(0x383)][_0x4fe356(0x296)];let _0xdc8ea=new Set();if(_0x8df883!==void 0x0)try{_0xdc8ea=_0x275985['parse'](_0x8df883);}catch{_0x4f2e3c(this,_0x42c935,_0x1c5604,0x190,'Invalid\x20Sec-WebSocket-Protocol\x20header');return;}const _0x421e19=_0x42c935[_0x4fe356(0x383)][_0x4fe356(0x25e)],_0x5db295={};if(this[_0x4fe356(0x2bd)][_0x4fe356(0x28b)]&&_0x421e19!==void 0x0){const _0x4e2b3e=new _0x2d323f(this[_0x4fe356(0x2bd)][_0x4fe356(0x28b)],!0x0,this[_0x4fe356(0x2bd)][_0x4fe356(0x218)]);try{const _0x443eef=_0x2faf4b[_0x4fe356(0x338)](_0x421e19);_0x443eef[_0x2d323f[_0x4fe356(0x35d)]]&&(_0x4e2b3e[_0x4fe356(0x2c9)](_0x443eef[_0x2d323f[_0x4fe356(0x35d)]]),_0x5db295[_0x2d323f['extensionName']]=_0x4e2b3e);}catch{_0x4f2e3c(this,_0x42c935,_0x1c5604,0x190,_0x4fe356(0x365));return;}}if(this[_0x4fe356(0x2bd)]['verifyClient']){const _0x2a0a3a={'origin':_0x42c935[_0x4fe356(0x383)][''+(_0xbdff86===0x8?'sec-websocket-origin':_0x4fe356(0x25b))],'secure':!!(_0x42c935[_0x4fe356(0x2fb)][_0x4fe356(0x251)]||_0x42c935['socket'][_0x4fe356(0x33f)]),'req':_0x42c935};if(this[_0x4fe356(0x2bd)]['verifyClient'][_0x4fe356(0x314)]===0x2){this[_0x4fe356(0x2bd)]['verifyClient'](_0x2a0a3a,(_0x51fa1f,_0x534bcc,_0x30baba,_0x55aabb)=>{const _0x575a14=_0x4fe356;if(!_0x51fa1f)return _0x233227(_0x1c5604,_0x534bcc||0x191,_0x30baba,_0x55aabb);this[_0x575a14(0x1f1)](_0x5db295,_0x5b17c4,_0xdc8ea,_0x42c935,_0x1c5604,_0x27013b,_0x460bdc);});return;}if(!this[_0x4fe356(0x2bd)][_0x4fe356(0x2f4)](_0x2a0a3a))return _0x233227(_0x1c5604,0x191);}this[_0x4fe356(0x1f1)](_0x5db295,_0x5b17c4,_0xdc8ea,_0x42c935,_0x1c5604,_0x27013b,_0x460bdc);}[_0x261521(0x1f1)](_0x821d8c,_0x3bd0cf,_0x3ed8e4,_0x149528,_0x55af50,_0x494bea,_0x502b2a){const _0x59919b=_0x261521;if(!_0x55af50[_0x59919b(0x32b)]||!_0x55af50[_0x59919b(0x217)])return _0x55af50[_0x59919b(0x22e)]();if(_0x55af50[_0x5cc79f])throw new Error(_0x59919b(0x2c7));if(this[_0x59919b(0x230)]>_0x3b8e0e)return _0x233227(_0x55af50,0x1f7);const _0x39d262=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0x59919b(0x31c),_0x59919b(0x331),_0x59919b(0x32d)+_0x46d3fe(_0x59919b(0x237))['update'](_0x3bd0cf+_0x184d4c)['digest'](_0x59919b(0x246))],_0x20073f=new this[(_0x59919b(0x2bd))][(_0x59919b(0x313))](null,void 0x0,this[_0x59919b(0x2bd)]);if(_0x3ed8e4[_0x59919b(0x295)]){const _0x4cc036=this[_0x59919b(0x2bd)]['handleProtocols']?this[_0x59919b(0x2bd)][_0x59919b(0x292)](_0x3ed8e4,_0x149528):_0x3ed8e4[_0x59919b(0x31a)]()[_0x59919b(0x359)]()['value'];_0x4cc036&&(_0x39d262[_0x59919b(0x30a)]('Sec-WebSocket-Protocol:\x20'+_0x4cc036),_0x20073f[_0x59919b(0x2d6)]=_0x4cc036);}if(_0x821d8c[_0x2d323f[_0x59919b(0x35d)]]){const _0x304c98=_0x821d8c[_0x2d323f[_0x59919b(0x35d)]][_0x59919b(0x216)],_0x12033c=_0x2faf4b['format']({[_0x2d323f[_0x59919b(0x35d)]]:[_0x304c98]});_0x39d262[_0x59919b(0x30a)](_0x59919b(0x306)+_0x12033c),_0x20073f[_0x59919b(0x26e)]=_0x821d8c;}this['emit']('headers',_0x39d262,_0x149528),_0x55af50[_0x59919b(0x385)](_0x39d262[_0x59919b(0x287)]('\x0d\x0a')[_0x59919b(0x31d)]('\x0d\x0a')),_0x55af50[_0x59919b(0x326)](_0x59919b(0x2cf),_0x12c876),_0x20073f[_0x59919b(0x2ee)](_0x55af50,_0x494bea,{'allowSynchronousEvents':this[_0x59919b(0x2bd)][_0x59919b(0x203)],'maxPayload':this[_0x59919b(0x2bd)][_0x59919b(0x218)],'skipUTF8Validation':this['options'][_0x59919b(0x2e8)]}),this[_0x59919b(0x35c)]&&(this['clients'][_0x59919b(0x30d)](_0x20073f),_0x20073f['on']('close',()=>{const _0x52f9b2=_0x59919b;this[_0x52f9b2(0x35c)][_0x52f9b2(0x2bb)](_0x20073f),this[_0x52f9b2(0x1ff)]&&!this['clients']['size']&&process['nextTick'](_0x4a15c8,this);})),_0x502b2a(_0x20073f,_0x149528);}}Te=_0x59962a;function _0x5e8f11(_0x36b27e,_0x33c18b){const _0x288b9f=_0x261521;for(const _0x4e44b6 of Object[_0x288b9f(0x36b)](_0x33c18b))_0x36b27e['on'](_0x4e44b6,_0x33c18b[_0x4e44b6]);return function(){const _0x32231f=_0x288b9f;for(const _0x449510 of Object[_0x32231f(0x36b)](_0x33c18b))_0x36b27e[_0x32231f(0x326)](_0x449510,_0x33c18b[_0x449510]);};}function _0x4a15c8(_0x3d4194){const _0x117286=_0x261521;_0x3d4194[_0x117286(0x230)]=_0x8515bf,_0x3d4194[_0x117286(0x30b)](_0x117286(0x333));}function _0x12c876(){const _0x2a8622=_0x261521;this[_0x2a8622(0x22e)]();}function _0x233227(_0x351fa1,_0x21eaf6,_0x1e4c38,_0x429a3f){const _0x2f6014=_0x261521;_0x1e4c38=_0x1e4c38||_0x1c03aa[_0x2f6014(0x2cd)][_0x21eaf6],_0x429a3f={'Connection':'close','Content-Type':'text/html','Content-Length':Buffer['byteLength'](_0x1e4c38),..._0x429a3f},_0x351fa1[_0x2f6014(0x320)](_0x2f6014(0x249),_0x351fa1['destroy']),_0x351fa1['end'](_0x2f6014(0x361)+_0x21eaf6+'\x20'+_0x1c03aa['STATUS_CODES'][_0x21eaf6]+'\x0d\x0a'+Object[_0x2f6014(0x36b)](_0x429a3f)[_0x2f6014(0x308)](_0x12e764=>_0x12e764+':\x20'+_0x429a3f[_0x12e764])[_0x2f6014(0x31d)]('\x0d\x0a')+_0x2f6014(0x1ef)+_0x1e4c38);}function _0x4f2e3c(_0x3966b2,_0x1a9636,_0x23609d,_0x1aaf61,_0x2795f3){const _0x132144=_0x261521;if(_0x3966b2[_0x132144(0x28c)](_0x132144(0x325))){const _0x324353=new Error(_0x2795f3);Error[_0x132144(0x281)](_0x324353,_0x4f2e3c),_0x3966b2['emit']('wsClientError',_0x324353,_0x23609d,_0x1a9636);}else _0x233227(_0x23609d,_0x1aaf61,_0x2795f3);}return Te;}er();var tr=Object['getOwnPropertyDescriptor'],rr=(_0x559f0a,_0x1ff14f,_0x5434ff,_0x5ee2aa)=>{for(var _0x2eacc4=_0x5ee2aa>0x1?void 0x0:_0x5ee2aa?tr(_0x1ff14f,_0x5434ff):_0x1ff14f,_0x2a72d8=_0x559f0a['length']-0x1,_0x1852d2;_0x2a72d8>=0x0;_0x2a72d8--)(_0x1852d2=_0x559f0a[_0x2a72d8])&&(_0x2eacc4=_0x1852d2(_0x2eacc4)||_0x2eacc4);return _0x2eacc4;},sr=(_0x53111a,_0xfabd86)=>(_0x342c13,_0x220de3)=>_0xfabd86(_0x342c13,_0x220de3,_0x53111a);let Ne=class extends _0x1d8789{constructor(_0x35f09d){const _0x34dd83=_0x1ee84f;super(),this[_0x34dd83(0x1e4)]=_0x35f09d;}['createSocket'](_0x46f529){const _0xf56fe1=_0x1ee84f;var _0x2c4d06;const _0x3481d9=(_0x2c4d06=this[_0xf56fe1(0x1e4)]['getConfig'](Be))==null?void 0x0:_0x2c4d06[_0xf56fe1(0x231)];try{const _0x5e53cc=new Qt(_0x46f529,{'headers':{..._0x3481d9}}),_0x47bace=new _0x1e08fa();return{'URL':_0x46f529,'close':(_0x2b1fcb,_0x5ac1af)=>{const _0x46a57d=_0xf56fe1;_0x5e53cc['close'](_0x2b1fcb,_0x5ac1af),_0x47bace[_0x46a57d(0x278)]();},'send':_0x1ff11d=>{_0x5e53cc['send'](_0x1ff11d);},'open$':new _0x3bc0c8(_0x49e629=>{const _0x3ab9d8=_0xf56fe1,_0x187a44=_0x4f6e6d=>_0x49e629[_0x3ab9d8(0x359)](_0x4f6e6d);_0x5e53cc[_0x3ab9d8(0x31e)](_0x3ab9d8(0x1e5),_0x187a44),_0x47bace[_0x3ab9d8(0x30d)](_0x2b1439(()=>_0x5e53cc[_0x3ab9d8(0x21a)](_0x3ab9d8(0x1e5),_0x187a44)));})['pipe'](_0x120ad7()),'close$':new _0x3bc0c8(_0x140a1a=>{const _0x35b4a2=_0xf56fe1,_0x5237aa=_0x332eb8=>_0x140a1a[_0x35b4a2(0x359)](_0x332eb8);_0x5e53cc[_0x35b4a2(0x31e)](_0x35b4a2(0x333),_0x5237aa),_0x47bace['add'](_0x2b1439(()=>_0x5e53cc[_0x35b4a2(0x21a)]('close',_0x5237aa)));})[_0xf56fe1(0x31b)](_0x120ad7()),'error$':new _0x3bc0c8(_0x576ee6=>{const _0xe9b361=_0xf56fe1,_0x2e7782=_0x1fb6b3=>_0x576ee6['next'](_0x1fb6b3);_0x5e53cc[_0xe9b361(0x31e)](_0xe9b361(0x2cf),_0x2e7782),_0x47bace[_0xe9b361(0x30d)](_0x2b1439(()=>_0x5e53cc[_0xe9b361(0x21a)](_0xe9b361(0x2cf),_0x2e7782)));})[_0xf56fe1(0x31b)](_0x120ad7()),'message$':new _0x3bc0c8(_0x1cd27f=>{const _0x592d52=_0xf56fe1,_0x21d327=_0x388b78=>_0x1cd27f[_0x592d52(0x359)](_0x388b78);_0x5e53cc[_0x592d52(0x31e)]('message',_0x21d327),_0x47bace[_0x592d52(0x30d)](_0x2b1439(()=>_0x5e53cc[_0x592d52(0x21a)](_0x592d52(0x367),_0x21d327)));})['pipe'](_0x120ad7())};}catch(_0x2ef74c){return console['error'](_0x2ef74c),null;}}};function _0x8f2c(_0x31a74b,_0x274aa8){const _0x1584d1=_0x1584();return _0x8f2c=function(_0x8f2c30,_0x1d1e23){_0x8f2c30=_0x8f2c30-0x1de;let _0x40de37=_0x1584d1[_0x8f2c30];return _0x40de37;},_0x8f2c(_0x31a74b,_0x274aa8);}Ne=rr([sr(0x0,_0x4975c4)],Ne);var ir=Object['defineProperty'],nr=Object[_0x1ee84f(0x280)],or=(_0x11e0f7,_0x6778c4,_0x5ba87)=>_0x6778c4 in _0x11e0f7?ir(_0x11e0f7,_0x6778c4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5ba87}):_0x11e0f7[_0x6778c4]=_0x5ba87,ar=(_0x5883cc,_0x38c9c4,_0x53af07,_0x11bf96)=>{for(var _0x53e262=_0x11bf96>0x1?void 0x0:_0x11bf96?nr(_0x38c9c4,_0x53af07):_0x38c9c4,_0x565b07=_0x5883cc['length']-0x1,_0x28db4e;_0x565b07>=0x0;_0x565b07--)(_0x28db4e=_0x5883cc[_0x565b07])&&(_0x53e262=_0x28db4e(_0x53e262)||_0x53e262);return _0x53e262;},ke=(_0x4f8806,_0x165530)=>(_0x35808f,_0x3a87b6)=>_0x165530(_0x35808f,_0x3a87b6,_0x4f8806),lr=(_0x5d2f46,_0x4dd825,_0xa8238a)=>or(_0x5d2f46,_0x4dd825+'',_0xa8238a);let Pe=class extends _0xc95fdd{constructor(_0x1caff5=Ft,_0x3dff3d,_0x43f067,_0x39b2ba){const _0x3caf44=_0x1ee84f;_0x1caff5['customHeaders']||_0x3dff3d[_0x3caf44(0x248)](_0x3caf44(0x355)),super(),this[_0x3caf44(0x1e4)]=_0x43f067,this[_0x3caf44(0x345)]=_0x39b2ba,this[_0x3caf44(0x1e4)]['setConfig'](Be,_0x1caff5);}[_0x1ee84f(0x275)](){this['_registerDependencies']();}[_0x1ee84f(0x24f)](){const _0x576999=_0x1ee84f;_0x28aa56(this[_0x576999(0x345)],[[_0x5e6b37,{'useClass':Ne}]]);}};lr(Pe,_0x1ee84f(0x22f),_0x1ee84f(0x2d9)),Pe=ar([_0x3e9ee6(_0x2a465c),ke(0x1,_0x2a141b),ke(0x2,_0x4975c4),ke(0x3,_0x5eb814(_0x4964af))],Pe);var fr=Object[_0x1ee84f(0x280)],cr=(_0x56fe1b,_0x10429d,_0x55cbe4,_0x38ca26)=>{const _0x498770=_0x1ee84f;for(var _0x1a6356=_0x38ca26>0x1?void 0x0:_0x38ca26?fr(_0x10429d,_0x55cbe4):_0x10429d,_0x3da891=_0x56fe1b[_0x498770(0x314)]-0x1,_0x10e1a1;_0x3da891>=0x0;_0x3da891--)(_0x10e1a1=_0x56fe1b[_0x3da891])&&(_0x1a6356=_0x10e1a1(_0x1a6356)||_0x1a6356);return _0x1a6356;},se=(_0x3e2986,_0x3f78a0)=>(_0x1d5189,_0x1dbfb1)=>_0x3f78a0(_0x1d5189,_0x1dbfb1,_0x3e2986);let at=class extends _0x74ca60{constructor(_0x31175b,_0x28fd3b,_0x33f719,_0x24ee89,_0x50ddd0){const _0x295f47=_0x1ee84f;super(_0x31175b,_0x28fd3b,_0x33f719,_0x24ee89,_0x50ddd0);const _0x4506eb=this['_configService'][_0x295f47(0x2f1)](Be);this[_0x295f47(0x260)]['registerHTTPInterceptor']({'interceptor':(_0x1a45f0,_0xb539a6)=>{const _0x4f055e=_0x295f47;var _0xae233f;const _0x5f31b8=_0x1a45f0['headers'];return(_0xae233f=_0x4506eb==null?void 0x0:_0x4506eb[_0x4f055e(0x231)])!=null&&_0xae233f['cookie']&&_0x5f31b8['set'](_0x4f055e(0x2fe),_0x4506eb[_0x4f055e(0x231)][_0x4f055e(0x2df)]),_0xb539a6(_0x1a45f0);}});}async[_0x1ee84f(0x38b)](_0x2d7bb0){return this['_doCreateSocket'](_0x2d7bb0);}};at=cr([se(0x0,_0x5eb814(_0x4964af)),se(0x1,_0x5eb814(_0x458821)),se(0x2,_0x4975c4),se(0x3,_0x2a141b),se(0x4,_0x28c148)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
1
+ const _0x428a1f=_0x40b5;(function(_0x4e21b6,_0x3f52fd){const _0x221dc9=_0x40b5,_0x26ade5=_0x4e21b6();while(!![]){try{const _0x5a68e1=parseInt(_0x221dc9(0x2df))/0x1+-parseInt(_0x221dc9(0x24c))/0x2*(-parseInt(_0x221dc9(0x288))/0x3)+-parseInt(_0x221dc9(0x2d7))/0x4*(-parseInt(_0x221dc9(0x2a4))/0x5)+parseInt(_0x221dc9(0x265))/0x6+-parseInt(_0x221dc9(0x2cb))/0x7*(-parseInt(_0x221dc9(0x27f))/0x8)+-parseInt(_0x221dc9(0x23c))/0x9*(-parseInt(_0x221dc9(0x251))/0xa)+parseInt(_0x221dc9(0x21b))/0xb*(-parseInt(_0x221dc9(0x23b))/0xc);if(_0x5a68e1===_0x3f52fd)break;else _0x26ade5['push'](_0x26ade5['shift']());}catch(_0x5c6ed6){_0x26ade5['push'](_0x26ade5['shift']());}}}(_0xa425,0x39e44));import{UniverCollaborationClientPlugin as _0x12537f,CollaborationSocketService as _0x500bf6}from'@univerjs-pro/collaboration-client';import{Disposable as _0x4cdc4f,DisposableCollection as _0x507d60,toDisposable as _0x4bad05,IConfigService as _0xb019a5,DependentOn as _0x1d617c,ILogService as _0x210727,Inject as _0x274da2,Injector as _0x20237a,Plugin as _0x2a6234,registerDependencies as _0x53d611}from'@univerjs/core';import{ISocketService as _0x3f18d4,HTTPService as _0x5154ef}from'@univerjs/network';function _0x40b5(_0x5f061a,_0x1026f9){const _0xa42572=_0xa425();return _0x40b5=function(_0x40b5b7,_0x57ecc7){_0x40b5b7=_0x40b5b7-0x148;let _0x35324c=_0xa42572[_0x40b5b7];return _0x35324c;},_0x40b5(_0x5f061a,_0x1026f9);}import{Observable as _0x1aeb65,share as _0x300abd}from'rxjs';import _0x2a163f from'events';import _0xde7cdb from'https';import _0x43dc55 from'http';import _0x5942ba from'net';import _0x214617 from'tls';import _0x29696a from'crypto';import _0x2440cb from'stream';import _0x42c500 from'url';import _0x4f8f55 from'zlib';import _0x2b076d from'buffer';import{ISnapshotServerService as _0x1a3b7e}from'@univerjs-pro/collaboration';const Be=_0x428a1f(0x2aa),Ft={'customHeaders':{}};function jt(_0x1ec2bb){const _0x2d9d0e=_0x428a1f;return _0x1ec2bb&&_0x1ec2bb[_0x2d9d0e(0x2e9)]&&Object[_0x2d9d0e(0x2dd)][_0x2d9d0e(0x2da)][_0x2d9d0e(0x271)](_0x1ec2bb,_0x2d9d0e(0x1ad))?_0x1ec2bb[_0x2d9d0e(0x1ad)]:_0x1ec2bb;}function ut(_0x3baf5f){const _0x2570d2=_0x428a1f;if(Object[_0x2570d2(0x2dd)][_0x2570d2(0x2da)]['call'](_0x3baf5f,_0x2570d2(0x2e9)))return _0x3baf5f;var _0x42f850=_0x3baf5f['default'];if(typeof _0x42f850=='function'){var _0x1f0ac1=function _0x6e561d(){const _0x435dec=_0x2570d2;return this instanceof _0x6e561d?Reflect[_0x435dec(0x1b1)](_0x42f850,arguments,this[_0x435dec(0x1c2)]):_0x42f850[_0x435dec(0x16b)](this,arguments);};_0x1f0ac1[_0x2570d2(0x2dd)]=_0x42f850[_0x2570d2(0x2dd)];}else _0x1f0ac1={};return Object[_0x2570d2(0x279)](_0x1f0ac1,_0x2570d2(0x2e9),{'value':!0x0}),Object[_0x2570d2(0x2e4)](_0x3baf5f)[_0x2570d2(0x28d)](function(_0x16ffc7){const _0x167660=_0x2570d2;var _0x3ca457=Object['getOwnPropertyDescriptor'](_0x3baf5f,_0x16ffc7);Object[_0x167660(0x279)](_0x1f0ac1,_0x16ffc7,_0x3ca457[_0x167660(0x1d5)]?_0x3ca457:{'enumerable':!0x0,'get':function(){return _0x3baf5f[_0x16ffc7];}});}),_0x1f0ac1;}var te={'exports':{}},ge,Ye;function V(){const _0x502127=_0x428a1f;if(Ye)return ge;Ye=0x1;const _0x306c49=[_0x502127(0x236),'arraybuffer',_0x502127(0x287)],_0x38494f=typeof Blob<'u';return _0x38494f&&_0x306c49['push'](_0x502127(0x193)),ge={'BINARY_TYPES':_0x306c49,'EMPTY_BUFFER':Buffer[_0x502127(0x29f)](0x0),'GUID':_0x502127(0x2ec),'hasBlob':_0x38494f,'kForOnEventAttribute':Symbol(_0x502127(0x22b)),'kListener':Symbol(_0x502127(0x2ba)),'kStatusCode':Symbol(_0x502127(0x292)),'kWebSocket':Symbol(_0x502127(0x2bb)),'NOOP':()=>{}},ge;}const Wt={},Gt=Object[_0x428a1f(0x232)](Object[_0x428a1f(0x279)]({'__proto__':null,'default':Wt},Symbol[_0x428a1f(0x160)],{'value':'Module'})),Vt=ut(Gt);var Ke;function ce(){const _0x30da8e=_0x428a1f;if(Ke)return te[_0x30da8e(0x1fb)];Ke=0x1;const {EMPTY_BUFFER:_0x538929}=V(),_0x3411b7=Buffer[Symbol[_0x30da8e(0x26d)]];function _0x493157(_0x17ce1b,_0x5b0e42){const _0xa9a45c=_0x30da8e;if(_0x17ce1b[_0xa9a45c(0x208)]===0x0)return _0x538929;if(_0x17ce1b[_0xa9a45c(0x208)]===0x1)return _0x17ce1b[0x0];const _0xfc02db=Buffer[_0xa9a45c(0x1f3)](_0x5b0e42);let _0x54972c=0x0;for(let _0x39dd27=0x0;_0x39dd27<_0x17ce1b[_0xa9a45c(0x208)];_0x39dd27++){const _0x1b1400=_0x17ce1b[_0x39dd27];_0xfc02db[_0xa9a45c(0x1a4)](_0x1b1400,_0x54972c),_0x54972c+=_0x1b1400[_0xa9a45c(0x208)];}return _0x54972c<_0x5b0e42?new _0x3411b7(_0xfc02db['buffer'],_0xfc02db['byteOffset'],_0x54972c):_0xfc02db;}function _0x34c067(_0x5dcaee,_0x78451f,_0x4c1a18,_0xd3dc54,_0x15662d){for(let _0x3b0b13=0x0;_0x3b0b13<_0x15662d;_0x3b0b13++)_0x4c1a18[_0xd3dc54+_0x3b0b13]=_0x5dcaee[_0x3b0b13]^_0x78451f[_0x3b0b13&0x3];}function _0xbb549a(_0x4a2f97,_0x2f79f9){const _0x372364=_0x30da8e;for(let _0x51b149=0x0;_0x51b149<_0x4a2f97[_0x372364(0x208)];_0x51b149++)_0x4a2f97[_0x51b149]^=_0x2f79f9[_0x51b149&0x3];}function _0x107625(_0x555c61){const _0xa7f9e0=_0x30da8e;return _0x555c61[_0xa7f9e0(0x208)]===_0x555c61['buffer'][_0xa7f9e0(0x298)]?_0x555c61[_0xa7f9e0(0x1cc)]:_0x555c61[_0xa7f9e0(0x1cc)][_0xa7f9e0(0x22d)](_0x555c61[_0xa7f9e0(0x1f7)],_0x555c61[_0xa7f9e0(0x1f7)]+_0x555c61[_0xa7f9e0(0x208)]);}function _0x163b4f(_0x5cebac){const _0x2fd11f=_0x30da8e;if(_0x163b4f['readOnly']=!0x0,Buffer[_0x2fd11f(0x262)](_0x5cebac))return _0x5cebac;let _0x1ec4cf;return _0x5cebac instanceof ArrayBuffer?_0x1ec4cf=new _0x3411b7(_0x5cebac):ArrayBuffer[_0x2fd11f(0x1ce)](_0x5cebac)?_0x1ec4cf=new _0x3411b7(_0x5cebac[_0x2fd11f(0x1cc)],_0x5cebac[_0x2fd11f(0x1f7)],_0x5cebac[_0x2fd11f(0x298)]):(_0x1ec4cf=Buffer[_0x2fd11f(0x170)](_0x5cebac),_0x163b4f['readOnly']=!0x1),_0x1ec4cf;}if(te[_0x30da8e(0x1fb)]={'concat':_0x493157,'mask':_0x34c067,'toArrayBuffer':_0x107625,'toBuffer':_0x163b4f,'unmask':_0xbb549a},!process[_0x30da8e(0x2b9)][_0x30da8e(0x252)])try{const _0x5902d4=Vt;te[_0x30da8e(0x1fb)][_0x30da8e(0x189)]=function(_0x15dbfb,_0x1b14e4,_0x33bb37,_0xdfcfe8,_0x288af2){const _0x367673=_0x30da8e;_0x288af2<0x30?_0x34c067(_0x15dbfb,_0x1b14e4,_0x33bb37,_0xdfcfe8,_0x288af2):_0x5902d4[_0x367673(0x189)](_0x15dbfb,_0x1b14e4,_0x33bb37,_0xdfcfe8,_0x288af2);},te[_0x30da8e(0x1fb)]['unmask']=function(_0x32a312,_0xbda98f){const _0x1b268c=_0x30da8e;_0x32a312[_0x1b268c(0x208)]<0x20?_0xbb549a(_0x32a312,_0xbda98f):_0x5902d4[_0x1b268c(0x2be)](_0x32a312,_0xbda98f);};}catch{}return te[_0x30da8e(0x1fb)];}var ye,Xe;function qt(){const _0x4e8bb5=_0x428a1f;if(Xe)return ye;Xe=0x1;const _0x19cd0d=Symbol('kDone'),_0x35f22b=Symbol(_0x4e8bb5(0x264));class _0x50ed99{constructor(_0x5d5362){const _0x45a086=_0x4e8bb5;this[_0x19cd0d]=()=>{const _0x460a25=_0x40b5;this[_0x460a25(0x1b8)]--,this[_0x35f22b]();},this[_0x45a086(0x257)]=_0x5d5362||0x1/0x0,this[_0x45a086(0x224)]=[],this['pending']=0x0;}[_0x4e8bb5(0x2a1)](_0xceb2e8){const _0x345801=_0x4e8bb5;this[_0x345801(0x224)][_0x345801(0x197)](_0xceb2e8),this[_0x35f22b]();}[_0x35f22b](){const _0x4f28fd=_0x4e8bb5;if(this[_0x4f28fd(0x1b8)]!==this[_0x4f28fd(0x257)]&&this[_0x4f28fd(0x224)][_0x4f28fd(0x208)]){const _0x25d182=this[_0x4f28fd(0x224)][_0x4f28fd(0x1cb)]();this[_0x4f28fd(0x1b8)]++,_0x25d182(this[_0x19cd0d]);}}}return ye=_0x50ed99,ye;}var ve,Ze;function _0xa425(){const _0x1ff271=['_closeTimer','isInteger','createSocket','arrayBuffer','Invalid\x20Upgrade\x20header','delete','maskBuffer','The\x20URL\x27s\x20protocol\x20must\x20be\x20one\x20of\x20\x22ws:\x22,\x20\x22wss:\x22,\x20\x22http:\x22,\x20\x22https\x22,\x20or\x20\x22ws+unix:\x22','search','number','_fragmented','test','toStringTag','_masked','_shouldEmitClose','setConfig','Sec-WebSocket-Accept:\x20','Sec-WebSocket-Origin','password','_payloadLength','readUInt32BE','WS_ERR_EXPECTED_MASK','Invalid\x20Sec-WebSocket-Accept\x20header','apply','port','_destroy','Invalid\x20Sec-WebSocket-Protocol\x20header','Sec-WebSocket-Extensions:\x20','from','Server\x20sent\x20no\x20subprotocol','compress','emit','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','_removeListeners','The\x20URL\x27s\x20pathname\x20is\x20empty','CLOSING','onmessage','kReason','conclude','_sender','Invalid\x20Sec-WebSocket-Extensions\x20header','_extensions','_decompress','wsClientError','\x22:\x20','code','_originalSecure','_fin','Upgrade:\x20websocket','buffers','_isServer','startsWith','Invalid\x20URL:\x20','mask','format','_paused','decompress','nextTick','map','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','removeAllListeners','Parameter\x20\x22','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','blob','end','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','listenerCount','push','_firstFragment','_compress','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','_queue','Sec-WebSocket-Extensions','kAborted','params','headers','objectMode','cleanup','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','statusCode','set','next','acceptAsClient','pause','concurrencyLimit','kMessage','Sec-WebSocket-Protocol:\x20','parse','perMessageDeflate','default','getMask','_fragments','_no_context_takeover','construct','client_max_window_bits','bind','dequeue','isIP','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','_url','pending','_protocol','WS_ERR_UNEXPECTED_RSV_1','WS_NO_UTF_8_VALIDATE','acceptAsServer','extensions','getConfig','reset','http:','isArray','constructor','timeout','bufferedAmount','host','_inflate','dataMessage','_redirects','authorization','digest','shift','buffer','readOnly','isView','_skipUTF8Validation','unexpected-response','handleProtocols','WS_ERR_INVALID_OPCODE','customHeaders','https:','get','values','_maskBuffer','opcode','_deflate','readyState','finishRequest','Z_SYNC_FLUSH','Basic\x20','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','_threshold','STATUS_CODES','sec-websocket-accept','binaryType','pathname','Invalid\x20value\x20for\x20parameter\x20\x22','_max_window_bits','GET','server_max_window_bits','ws:','_buffers','Opening\x20handshake\x20has\x20timed\x20out','_loop','frame','object','wss:','data','onerror','handleUpgrade','\x22\x20must\x20have\x20only\x20a\x20single\x20value','allocUnsafe','sha1','setHeader','cookie','byteOffset','sec-websocket-version','target','_receiver','exports','hostname','accept','controlMessage','string','finish','_totalPayloadLength','_originalIpc','type','followRedirects','terminate','includes','_options','length','username','drain','_opcode','replace','function','createConnection','getPayloadLength64','sec-websocket-extensions','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','emitClose','finished','listening','_binaryType','_mask','_messageLength','MASK\x20must\x20be\x20set','message','indexOf','15170089AFhjlq','binary','clients','servername','method','RSV1\x20must\x20be\x20clear','autoPong','setTimeout','wasClean','jobs','ping','resume','getInfo','close','size','_req','kIsForOnEventAttribute','sendFrame','slice','serverNoContextTakeover','Invalid\x20WebSocket\x20frame:\x20','Maximum\x20redirects\x20exceeded','_readyState','freeze','_errored','The\x20URL\x20contains\x20a\x20fragment\x20identifier','protocolVersion','nodebuffer','errorEmitted','setNoDelay','send','text/html','12RBuJbe','18nUISFx','_httpService','catch','createInflateRaw','getOwnPropertyDescriptor','shouldHandle','HTTP/1.1\x20','_state','invalid\x20payload\x20length\x20','options','path','zlibDeflateOptions','threshold','sec-websocket-protocol','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','sec-websocket-key','44POFVWW','Module','_closeMessage','response','createServer','895130zeCwlO','WS_NO_BUFFER_UTIL','The\x20server\x20is\x20not\x20running','permessage-deflate','auth','zlibInflateOptions','concurrency','client','isPaused','_originalHostOrSocketPath','_doCreateSocket','Max\x20payload\x20size\x20exceeded','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','_closeFrameReceived','createError','enqueue','_bufferedAmount','isBuffer','Unsupported\x20protocol\x20version:\x20','kRun','1248882eTAvxa','FIN\x20must\x20be\x20set','destroy','socket','server','CLOSED','_allowSynchronousEvents','kCode','species','writeUIntBE','serverMaxWindowBits','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','call','normalizeParams','unshift','onclose','text/plain','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','invalid\x20status\x20code\x20','defaultPort','defineProperty','origin','fin','\x20(supported\x20versions:\x20','kType','concat','96WyAYqz','abort','pow','_readableState','haveLength','callback','HTTP/1.1\x20101\x20Switching\x20Protocols','kWasClean','fragments','60315ybQlVT','toString','WebSocket\x20is\x20not\x20open:\x20readyState\x20','listen','extensionName','forEach','connection','Sec-WebSocket-Protocol','clientMaxWindowBits','join','status-code','_errorEmitted','connect','hash','address','dispose','byteLength','_closeCode','_configService','find','getBlobData','backlog','listeners','alloc','verifyClient','add','base64','pong','235JxWMhU','_socket','authorized','clientTracking','isValidUTF8','getPayloadLength16','collaboration-client-node.config','Unexpected\x20character\x20at\x20index\x20','WS_ERR_INVALID_UTF8','_server','captureStackTrace','_final','_bufferedBytes','error','protocol','redirect','consume','_injector','noServer','invalid\x20opcode\x20','setSocket','env','kListener','websocket','The\x20\x22','write','unmask','kError','url','handleEvent','pipe','registerHTTPInterceptor','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','client_no_context_takeover','charCodeAt','_compressed','_autoPong','rsv1','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','234059jGnwvy','removeListener','update','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','Unexpected\x20end\x20of\x20input','_closeFrameSent','maxPayload','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','_maxPayload','endEmitted','Upgrade','Z_DEFAULT_WINDOWBITS','27348EmAGJS','request','startLoop','hasOwnProperty','_generateMask','writeUInt16BE','prototype','encrypted','64157nEaVQK','\x22\x20subprotocol\x20is\x20duplicated','generateMask','server_no_context_takeover','OPEN','keys','has','skipUTF8Validation','_read','once','__esModule','destroyed','pluginName','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','reason','needDrain','open','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','create','removeEventListener','_writableState','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','offer','completeUpgrade','sec-websocket-origin','getData','invalid\x20opcode\x200','addEventListener','clientNoContextTakeover','readUInt16BE','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','upgrade','WS_ERR_UNEXPECTED_MASK','CONNECTING','Origin','socketPath','stream','allowSynchronousEvents','_registerDependencies','toLowerCase','onopen','href','location','dispatch','Connection:\x20Upgrade','split','arraybuffer','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified'];_0xa425=function(){return _0x1ff271;};return _0xa425();}function he(){const _0x2f6b44=_0x428a1f;if(Ze)return ve;Ze=0x1;const _0x31afc3=_0x4f8f55,_0x2a6549=ce(),_0x57a187=qt(),{kStatusCode:_0x3fc943}=V(),_0x707385=Buffer[Symbol[_0x2f6b44(0x26d)]],_0x1d8197=Buffer[_0x2f6b44(0x170)]([0x0,0x0,0xff,0xff]),_0x552c47=Symbol(_0x2f6b44(0x254)),_0x5e96ee=Symbol('total-length'),_0x4ed2e6=Symbol(_0x2f6b44(0x284)),_0x4159ef=Symbol(_0x2f6b44(0x185)),_0xf1cb66=Symbol(_0x2f6b44(0x2b1));let _0x35536a;class _0x2caf93{constructor(_0x4ba937,_0x130d52,_0x474b76){const _0x4a5f65=_0x2f6b44;if(this[_0x4a5f65(0x2d3)]=_0x474b76|0x0,this[_0x4a5f65(0x207)]=_0x4ba937||{},this['_threshold']=this[_0x4a5f65(0x207)][_0x4a5f65(0x248)]!==void 0x0?this[_0x4a5f65(0x207)][_0x4a5f65(0x248)]:0x400,this[_0x4a5f65(0x186)]=!!_0x130d52,this['_deflate']=null,this[_0x4a5f65(0x1c6)]=null,this[_0x4a5f65(0x19e)]=null,!_0x35536a){const _0x1f158d=this[_0x4a5f65(0x207)][_0x4a5f65(0x1a8)]!==void 0x0?this[_0x4a5f65(0x207)][_0x4a5f65(0x1a8)]:0xa;_0x35536a=new _0x57a187(_0x1f158d);}}static get[_0x2f6b44(0x28c)](){const _0x3bf620=_0x2f6b44;return _0x3bf620(0x254);}[_0x2f6b44(0x2f5)](){const _0x42cc5d=_0x2f6b44,_0x2c56bb={};return this[_0x42cc5d(0x207)][_0x42cc5d(0x22e)]&&(_0x2c56bb[_0x42cc5d(0x2e2)]=!0x0),this['_options'][_0x42cc5d(0x2fb)]&&(_0x2c56bb[_0x42cc5d(0x2c5)]=!0x0),this[_0x42cc5d(0x207)][_0x42cc5d(0x26f)]&&(_0x2c56bb[_0x42cc5d(0x1e7)]=this['_options'][_0x42cc5d(0x26f)]),this['_options'][_0x42cc5d(0x290)]?_0x2c56bb[_0x42cc5d(0x1b2)]=this['_options'][_0x42cc5d(0x290)]:this[_0x42cc5d(0x207)]['clientMaxWindowBits']==null&&(_0x2c56bb[_0x42cc5d(0x1b2)]=!0x0),_0x2c56bb;}[_0x2f6b44(0x1fd)](_0xcb435a){const _0x1f180e=_0x2f6b44;return _0xcb435a=this['normalizeParams'](_0xcb435a),this[_0x1f180e(0x19e)]=this[_0x1f180e(0x186)]?this[_0x1f180e(0x1bc)](_0xcb435a):this[_0x1f180e(0x1a6)](_0xcb435a),this[_0x1f180e(0x19e)];}[_0x2f6b44(0x1a1)](){const _0x52f75f=_0x2f6b44;if(this[_0x52f75f(0x1c6)]&&(this[_0x52f75f(0x1c6)][_0x52f75f(0x228)](),this['_inflate']=null),this[_0x52f75f(0x1d9)]){const _0x11bf05=this[_0x52f75f(0x1d9)][_0x4ed2e6];this[_0x52f75f(0x1d9)]['close'](),this[_0x52f75f(0x1d9)]=null,_0x11bf05&&_0x11bf05(new Error(_0x52f75f(0x1b6)));}}[_0x2f6b44(0x1bc)](_0x5b01e1){const _0x1e2043=_0x2f6b44,_0x4c46f8=this['_options'],_0x2b5782=_0x5b01e1[_0x1e2043(0x29b)](_0x5a3dd1=>!(_0x4c46f8[_0x1e2043(0x22e)]===!0x1&&_0x5a3dd1[_0x1e2043(0x2e2)]||_0x5a3dd1[_0x1e2043(0x1e7)]&&(_0x4c46f8[_0x1e2043(0x26f)]===!0x1||typeof _0x4c46f8[_0x1e2043(0x26f)]==_0x1e2043(0x15d)&&_0x4c46f8[_0x1e2043(0x26f)]>_0x5a3dd1[_0x1e2043(0x1e7)])||typeof _0x4c46f8[_0x1e2043(0x290)]=='number'&&!_0x5a3dd1['client_max_window_bits']));if(!_0x2b5782)throw new Error(_0x1e2043(0x2c4));return _0x4c46f8[_0x1e2043(0x22e)]&&(_0x2b5782['server_no_context_takeover']=!0x0),_0x4c46f8['clientNoContextTakeover']&&(_0x2b5782['client_no_context_takeover']=!0x0),typeof _0x4c46f8[_0x1e2043(0x26f)]==_0x1e2043(0x15d)&&(_0x2b5782[_0x1e2043(0x1e7)]=_0x4c46f8[_0x1e2043(0x26f)]),typeof _0x4c46f8[_0x1e2043(0x290)]==_0x1e2043(0x15d)?_0x2b5782['client_max_window_bits']=_0x4c46f8[_0x1e2043(0x290)]:(_0x2b5782['client_max_window_bits']===!0x0||_0x4c46f8[_0x1e2043(0x290)]===!0x1)&&delete _0x2b5782['client_max_window_bits'],_0x2b5782;}['acceptAsClient'](_0x5e6672){const _0x16478e=_0x2f6b44,_0x70aa39=_0x5e6672[0x0];if(this[_0x16478e(0x207)][_0x16478e(0x2fb)]===!0x1&&_0x70aa39[_0x16478e(0x2c5)])throw new Error(_0x16478e(0x24a));if(!_0x70aa39[_0x16478e(0x1b2)])typeof this['_options'][_0x16478e(0x290)]=='number'&&(_0x70aa39[_0x16478e(0x1b2)]=this[_0x16478e(0x207)][_0x16478e(0x290)]);else{if(this[_0x16478e(0x207)]['clientMaxWindowBits']===!0x1||typeof this[_0x16478e(0x207)][_0x16478e(0x290)]==_0x16478e(0x15d)&&_0x70aa39[_0x16478e(0x1b2)]>this[_0x16478e(0x207)]['clientMaxWindowBits'])throw new Error(_0x16478e(0x2fd));}return _0x70aa39;}[_0x2f6b44(0x272)](_0x34993d){const _0x19f4db=_0x2f6b44;return _0x34993d[_0x19f4db(0x28d)](_0x3055eb=>{const _0x27515=_0x19f4db;Object[_0x27515(0x2e4)](_0x3055eb)[_0x27515(0x28d)](_0x3d73f4=>{const _0x3d1baa=_0x27515;let _0x1bce18=_0x3055eb[_0x3d73f4];if(_0x1bce18['length']>0x1)throw new Error(_0x3d1baa(0x191)+_0x3d73f4+_0x3d1baa(0x1f2));if(_0x1bce18=_0x1bce18[0x0],_0x3d73f4===_0x3d1baa(0x1b2)){if(_0x1bce18!==!0x0){const _0x14c486=+_0x1bce18;if(!Number[_0x3d1baa(0x155)](_0x14c486)||_0x14c486<0x8||_0x14c486>0xf)throw new TypeError(_0x3d1baa(0x1e4)+_0x3d73f4+_0x3d1baa(0x180)+_0x1bce18);_0x1bce18=_0x14c486;}else{if(!this[_0x3d1baa(0x186)])throw new TypeError(_0x3d1baa(0x1e4)+_0x3d73f4+_0x3d1baa(0x180)+_0x1bce18);}}else{if(_0x3d73f4==='server_max_window_bits'){const _0xa2ba1a=+_0x1bce18;if(!Number['isInteger'](_0xa2ba1a)||_0xa2ba1a<0x8||_0xa2ba1a>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x3d73f4+_0x3d1baa(0x180)+_0x1bce18);_0x1bce18=_0xa2ba1a;}else{if(_0x3d73f4===_0x3d1baa(0x2c5)||_0x3d73f4===_0x3d1baa(0x2e2)){if(_0x1bce18!==!0x0)throw new TypeError(_0x3d1baa(0x1e4)+_0x3d73f4+_0x3d1baa(0x180)+_0x1bce18);}else throw new Error('Unknown\x20parameter\x20\x22'+_0x3d73f4+'\x22');}}_0x3055eb[_0x3d73f4]=_0x1bce18;});}),_0x34993d;}['decompress'](_0x2f2036,_0x1f5e94,_0x21b86c){const _0x3149d3=_0x2f6b44;_0x35536a[_0x3149d3(0x2a1)](_0x1c1d78=>{const _0x14c478=_0x3149d3;this[_0x14c478(0x17e)](_0x2f2036,_0x1f5e94,(_0x4ffdb1,_0x4983a1)=>{_0x1c1d78(),_0x21b86c(_0x4ffdb1,_0x4983a1);});});}[_0x2f6b44(0x172)](_0x16084d,_0xf1cf38,_0x120176){const _0x52836c=_0x2f6b44;_0x35536a[_0x52836c(0x2a1)](_0x31a506=>{const _0x2e5776=_0x52836c;this[_0x2e5776(0x199)](_0x16084d,_0xf1cf38,(_0x120bb6,_0x5a55b1)=>{_0x31a506(),_0x120176(_0x120bb6,_0x5a55b1);});});}[_0x2f6b44(0x17e)](_0x50fe74,_0x3b89e2,_0x503b07){const _0x1a6693=_0x2f6b44,_0x4341c7=this[_0x1a6693(0x186)]?_0x1a6693(0x258):_0x1a6693(0x269);if(!this[_0x1a6693(0x1c6)]){const _0x5df6fa=_0x4341c7+'_max_window_bits',_0x3b82f4=typeof this[_0x1a6693(0x19e)][_0x5df6fa]!=_0x1a6693(0x15d)?_0x31afc3[_0x1a6693(0x2d6)]:this[_0x1a6693(0x19e)][_0x5df6fa];this[_0x1a6693(0x1c6)]=_0x31afc3[_0x1a6693(0x23f)]({...this['_options'][_0x1a6693(0x256)],'windowBits':_0x3b82f4}),this[_0x1a6693(0x1c6)][_0x552c47]=this,this[_0x1a6693(0x1c6)][_0x5e96ee]=0x0,this[_0x1a6693(0x1c6)][_0x4159ef]=[],this[_0x1a6693(0x1c6)]['on'](_0x1a6693(0x2b1),_0x25d1ea),this[_0x1a6693(0x1c6)]['on'](_0x1a6693(0x1ef),_0x32e106);}this[_0x1a6693(0x1c6)][_0x4ed2e6]=_0x503b07,this[_0x1a6693(0x1c6)][_0x1a6693(0x2bd)](_0x50fe74),_0x3b89e2&&this['_inflate'][_0x1a6693(0x2bd)](_0x1d8197),this['_inflate']['flush'](()=>{const _0x4564f5=_0x1a6693,_0x41aced=this[_0x4564f5(0x1c6)][_0xf1cb66];if(_0x41aced){this[_0x4564f5(0x1c6)][_0x4564f5(0x228)](),this[_0x4564f5(0x1c6)]=null,_0x503b07(_0x41aced);return;}const _0x3112e2=_0x2a6549[_0x4564f5(0x27e)](this[_0x4564f5(0x1c6)][_0x4159ef],this['_inflate'][_0x5e96ee]);this['_inflate'][_0x4564f5(0x282)][_0x4564f5(0x2d4)]?(this[_0x4564f5(0x1c6)][_0x4564f5(0x228)](),this[_0x4564f5(0x1c6)]=null):(this[_0x4564f5(0x1c6)][_0x5e96ee]=0x0,this[_0x4564f5(0x1c6)][_0x4159ef]=[],_0x3b89e2&&this[_0x4564f5(0x19e)][_0x4341c7+_0x4564f5(0x1b0)]&&this[_0x4564f5(0x1c6)]['reset']()),_0x503b07(null,_0x3112e2);});}[_0x2f6b44(0x199)](_0x126ceb,_0x11c04c,_0x524177){const _0x37ad98=_0x2f6b44,_0x83fecb=this['_isServer']?_0x37ad98(0x269):_0x37ad98(0x258);if(!this[_0x37ad98(0x1d9)]){const _0x1cf0d3=_0x83fecb+_0x37ad98(0x1e5),_0x13beae=typeof this[_0x37ad98(0x19e)][_0x1cf0d3]!='number'?_0x31afc3['Z_DEFAULT_WINDOWBITS']:this['params'][_0x1cf0d3];this[_0x37ad98(0x1d9)]=_0x31afc3['createDeflateRaw']({...this[_0x37ad98(0x207)][_0x37ad98(0x247)],'windowBits':_0x13beae}),this[_0x37ad98(0x1d9)][_0x5e96ee]=0x0,this[_0x37ad98(0x1d9)][_0x4159ef]=[],this['_deflate']['on']('data',_0x512cbc);}this[_0x37ad98(0x1d9)][_0x4ed2e6]=_0x524177,this[_0x37ad98(0x1d9)][_0x37ad98(0x2bd)](_0x126ceb),this[_0x37ad98(0x1d9)]['flush'](_0x31afc3[_0x37ad98(0x1dc)],()=>{const _0x49bbfe=_0x37ad98;if(!this[_0x49bbfe(0x1d9)])return;let _0x14e022=_0x2a6549[_0x49bbfe(0x27e)](this[_0x49bbfe(0x1d9)][_0x4159ef],this[_0x49bbfe(0x1d9)][_0x5e96ee]);_0x11c04c&&(_0x14e022=new _0x707385(_0x14e022[_0x49bbfe(0x1cc)],_0x14e022[_0x49bbfe(0x1f7)],_0x14e022[_0x49bbfe(0x208)]-0x4)),this[_0x49bbfe(0x1d9)][_0x4ed2e6]=null,this['_deflate'][_0x5e96ee]=0x0,this['_deflate'][_0x4159ef]=[],_0x11c04c&&this[_0x49bbfe(0x19e)][_0x83fecb+_0x49bbfe(0x1b0)]&&this[_0x49bbfe(0x1d9)][_0x49bbfe(0x1bf)](),_0x524177(null,_0x14e022);});}}ve=_0x2caf93;function _0x512cbc(_0x20e61a){const _0x4e9afb=_0x2f6b44;this[_0x4159ef][_0x4e9afb(0x197)](_0x20e61a),this[_0x5e96ee]+=_0x20e61a['length'];}function _0x32e106(_0x53a48c){const _0x53c4bf=_0x2f6b44;if(this[_0x5e96ee]+=_0x53a48c[_0x53c4bf(0x208)],this[_0x552c47][_0x53c4bf(0x2d3)]<0x1||this[_0x5e96ee]<=this[_0x552c47]['_maxPayload']){this[_0x4159ef]['push'](_0x53a48c);return;}this[_0xf1cb66]=new RangeError(_0x53c4bf(0x25c)),this[_0xf1cb66]['code']=_0x53c4bf(0x2ca),this[_0xf1cb66][_0x3fc943]=0x3f1,this[_0x53c4bf(0x2cc)]('data',_0x32e106),this[_0x53c4bf(0x1bf)]();}function _0x25d1ea(_0x5c44ce){const _0x30e7f4=_0x2f6b44;this[_0x552c47][_0x30e7f4(0x1c6)]=null,_0x5c44ce[_0x3fc943]=0x3ef,this[_0x4ed2e6](_0x5c44ce);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x428a1f(0x232)](Object[_0x428a1f(0x279)]({'__proto__':null,'default':Ht},Symbol['toStringTag'],{'value':_0x428a1f(0x24d)})),Yt=ut(zt);var Qe;function ne(){const _0x3b1a3b=_0x428a1f;if(Qe)return re[_0x3b1a3b(0x1fb)];Qe=0x1;const {isUtf8:_0x2df6cb}=_0x2b076d,{hasBlob:_0x1e1a21}=V(),_0x85e8c5=[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 _0x1c03e8(_0x396975){return _0x396975>=0x3e8&&_0x396975<=0x3f6&&_0x396975!==0x3ec&&_0x396975!==0x3ed&&_0x396975!==0x3ee||_0x396975>=0xbb8&&_0x396975<=0x1387;}function _0x17bc92(_0x39fa97){const _0x368956=_0x3b1a3b,_0x50020d=_0x39fa97[_0x368956(0x208)];let _0x535c6c=0x0;for(;_0x535c6c<_0x50020d;)if((_0x39fa97[_0x535c6c]&0x80)===0x0)_0x535c6c++;else{if((_0x39fa97[_0x535c6c]&0xe0)===0xc0){if(_0x535c6c+0x1===_0x50020d||(_0x39fa97[_0x535c6c+0x1]&0xc0)!==0x80||(_0x39fa97[_0x535c6c]&0xfe)===0xc0)return!0x1;_0x535c6c+=0x2;}else{if((_0x39fa97[_0x535c6c]&0xf0)===0xe0){if(_0x535c6c+0x2>=_0x50020d||(_0x39fa97[_0x535c6c+0x1]&0xc0)!==0x80||(_0x39fa97[_0x535c6c+0x2]&0xc0)!==0x80||_0x39fa97[_0x535c6c]===0xe0&&(_0x39fa97[_0x535c6c+0x1]&0xe0)===0x80||_0x39fa97[_0x535c6c]===0xed&&(_0x39fa97[_0x535c6c+0x1]&0xe0)===0xa0)return!0x1;_0x535c6c+=0x3;}else{if((_0x39fa97[_0x535c6c]&0xf8)===0xf0){if(_0x535c6c+0x3>=_0x50020d||(_0x39fa97[_0x535c6c+0x1]&0xc0)!==0x80||(_0x39fa97[_0x535c6c+0x2]&0xc0)!==0x80||(_0x39fa97[_0x535c6c+0x3]&0xc0)!==0x80||_0x39fa97[_0x535c6c]===0xf0&&(_0x39fa97[_0x535c6c+0x1]&0xf0)===0x80||_0x39fa97[_0x535c6c]===0xf4&&_0x39fa97[_0x535c6c+0x1]>0x8f||_0x39fa97[_0x535c6c]>0xf4)return!0x1;_0x535c6c+=0x4;}else return!0x1;}}}return!0x0;}function _0x5b6249(_0xc703d7){const _0x2eb6d5=_0x3b1a3b;return _0x1e1a21&&typeof _0xc703d7=='object'&&typeof _0xc703d7[_0x2eb6d5(0x157)]=='function'&&typeof _0xc703d7[_0x2eb6d5(0x203)]=='string'&&typeof _0xc703d7[_0x2eb6d5(0x148)]=='function'&&(_0xc703d7[Symbol['toStringTag']]==='Blob'||_0xc703d7[Symbol['toStringTag']]==='File');}if(re[_0x3b1a3b(0x1fb)]={'isBlob':_0x5b6249,'isValidStatusCode':_0x1c03e8,'isValidUTF8':_0x17bc92,'tokenChars':_0x85e8c5},_0x2df6cb)re['exports'][_0x3b1a3b(0x2a8)]=function(_0x4608ae){const _0x15fce2=_0x3b1a3b;return _0x4608ae[_0x15fce2(0x208)]<0x18?_0x17bc92(_0x4608ae):_0x2df6cb(_0x4608ae);};else{if(!process[_0x3b1a3b(0x2b9)][_0x3b1a3b(0x1bb)])try{const _0x273490=Yt;re[_0x3b1a3b(0x1fb)][_0x3b1a3b(0x2a8)]=function(_0x535046){return _0x535046['length']<0x20?_0x17bc92(_0x535046):_0x273490(_0x535046);};}catch{}}return re['exports'];}var Se,Je;function dt(){const _0x5aec0b=_0x428a1f;if(Je)return Se;Je=0x1;const {Writable:_0x2e8d8d}=_0x2440cb,_0x38a6ce=he(),{BINARY_TYPES:_0x3ade00,EMPTY_BUFFER:_0x27fa80,kStatusCode:_0x2aa97e,kWebSocket:_0xb312cd}=V(),{concat:_0x3cf5b7,toArrayBuffer:_0x4edf77,unmask:_0x2376ba}=ce(),{isValidStatusCode:_0x27bc14,isValidUTF8:_0x1bf91d}=ne(),_0x47a829=Buffer[Symbol[_0x5aec0b(0x26d)]],_0x4c5775=0x0,_0x585ecb=0x1,_0x25c98e=0x2,_0x4c5297=0x3,_0xb51c1d=0x4,_0x5b54e2=0x5,_0x30dbd8=0x6;class _0x2a7f1e extends _0x2e8d8d{constructor(_0x4b9886={}){const _0x22e4f8=_0x5aec0b;super(),this[_0x22e4f8(0x26b)]=_0x4b9886['allowSynchronousEvents']!==void 0x0?_0x4b9886[_0x22e4f8(0x149)]:!0x0,this['_binaryType']=_0x4b9886['binaryType']||_0x3ade00[0x0],this[_0x22e4f8(0x17d)]=_0x4b9886[_0x22e4f8(0x1bd)]||{},this[_0x22e4f8(0x186)]=!!_0x4b9886['isServer'],this[_0x22e4f8(0x2d3)]=_0x4b9886[_0x22e4f8(0x2d1)]|0x0,this[_0x22e4f8(0x1cf)]=!!_0x4b9886[_0x22e4f8(0x2e6)],this[_0xb312cd]=void 0x0,this[_0x22e4f8(0x2b0)]=0x0,this[_0x22e4f8(0x1e9)]=[],this[_0x22e4f8(0x2c7)]=!0x1,this[_0x22e4f8(0x167)]=0x0,this[_0x22e4f8(0x216)]=void 0x0,this[_0x22e4f8(0x15e)]=0x0,this[_0x22e4f8(0x161)]=!0x1,this[_0x22e4f8(0x183)]=!0x1,this[_0x22e4f8(0x20b)]=0x0,this['_totalPayloadLength']=0x0,this[_0x22e4f8(0x217)]=0x0,this[_0x22e4f8(0x1af)]=[],this['_errored']=!0x1,this[_0x22e4f8(0x1eb)]=!0x1,this[_0x22e4f8(0x243)]=_0x4c5775;}['_write'](_0x218b7f,_0x18213a,_0x56d4ab){const _0x57ef42=_0x5aec0b;if(this[_0x57ef42(0x20b)]===0x8&&this[_0x57ef42(0x243)]==_0x4c5775)return _0x56d4ab();this['_bufferedBytes']+=_0x218b7f[_0x57ef42(0x208)],this['_buffers'][_0x57ef42(0x197)](_0x218b7f),this[_0x57ef42(0x2d9)](_0x56d4ab);}[_0x5aec0b(0x2b4)](_0x51ce37){const _0x2e6b49=_0x5aec0b;if(this['_bufferedBytes']-=_0x51ce37,_0x51ce37===this['_buffers'][0x0][_0x2e6b49(0x208)])return this['_buffers'][_0x2e6b49(0x1cb)]();if(_0x51ce37<this[_0x2e6b49(0x1e9)][0x0][_0x2e6b49(0x208)]){const _0x4f32b2=this[_0x2e6b49(0x1e9)][0x0];return this[_0x2e6b49(0x1e9)][0x0]=new _0x47a829(_0x4f32b2[_0x2e6b49(0x1cc)],_0x4f32b2[_0x2e6b49(0x1f7)]+_0x51ce37,_0x4f32b2['length']-_0x51ce37),new _0x47a829(_0x4f32b2[_0x2e6b49(0x1cc)],_0x4f32b2[_0x2e6b49(0x1f7)],_0x51ce37);}const _0x4dd92b=Buffer[_0x2e6b49(0x1f3)](_0x51ce37);do{const _0x4b14ee=this[_0x2e6b49(0x1e9)][0x0],_0xc2fa0f=_0x4dd92b[_0x2e6b49(0x208)]-_0x51ce37;_0x51ce37>=_0x4b14ee[_0x2e6b49(0x208)]?_0x4dd92b[_0x2e6b49(0x1a4)](this['_buffers']['shift'](),_0xc2fa0f):(_0x4dd92b[_0x2e6b49(0x1a4)](new Uint8Array(_0x4b14ee[_0x2e6b49(0x1cc)],_0x4b14ee[_0x2e6b49(0x1f7)],_0x51ce37),_0xc2fa0f),this['_buffers'][0x0]=new _0x47a829(_0x4b14ee['buffer'],_0x4b14ee[_0x2e6b49(0x1f7)]+_0x51ce37,_0x4b14ee[_0x2e6b49(0x208)]-_0x51ce37)),_0x51ce37-=_0x4b14ee[_0x2e6b49(0x208)];}while(_0x51ce37>0x0);return _0x4dd92b;}[_0x5aec0b(0x2d9)](_0x45f57d){const _0x2aa5e8=_0x5aec0b;this['_loop']=!0x0;do switch(this[_0x2aa5e8(0x243)]){case _0x4c5775:this[_0x2aa5e8(0x227)](_0x45f57d);break;case _0x585ecb:this[_0x2aa5e8(0x2a9)](_0x45f57d);break;case _0x25c98e:this[_0x2aa5e8(0x20f)](_0x45f57d);break;case _0x4c5297:this['getMask']();break;case _0xb51c1d:this[_0x2aa5e8(0x2f8)](_0x45f57d);break;case _0x5b54e2:case _0x30dbd8:this['_loop']=!0x1;return;}while(this[_0x2aa5e8(0x1eb)]);this[_0x2aa5e8(0x233)]||_0x45f57d();}[_0x5aec0b(0x227)](_0x38bf25){const _0x9a2c17=_0x5aec0b;if(this[_0x9a2c17(0x2b0)]<0x2){this[_0x9a2c17(0x1eb)]=!0x1;return;}const _0x1f2ba6=this['consume'](0x2);if((_0x1f2ba6[0x0]&0x30)!==0x0){const _0x150fee=this[_0x9a2c17(0x25f)](RangeError,'RSV2\x20and\x20RSV3\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0x38bf25(_0x150fee);return;}const _0x3172bc=(_0x1f2ba6[0x0]&0x40)===0x40;if(_0x3172bc&&!this['_extensions'][_0x38a6ce[_0x9a2c17(0x28c)]]){const _0x20c56f=this['createError'](RangeError,_0x9a2c17(0x220),!0x0,0x3ea,_0x9a2c17(0x1ba));_0x38bf25(_0x20c56f);return;}if(this[_0x9a2c17(0x183)]=(_0x1f2ba6[0x0]&0x80)===0x80,this[_0x9a2c17(0x20b)]=_0x1f2ba6[0x0]&0xf,this['_payloadLength']=_0x1f2ba6[0x1]&0x7f,this[_0x9a2c17(0x20b)]===0x0){if(_0x3172bc){const _0x4b74a4=this['createError'](RangeError,_0x9a2c17(0x220),!0x0,0x3ea,_0x9a2c17(0x1ba));_0x38bf25(_0x4b74a4);return;}if(!this[_0x9a2c17(0x15e)]){const _0x28f60d=this[_0x9a2c17(0x25f)](RangeError,_0x9a2c17(0x2f9),!0x0,0x3ea,_0x9a2c17(0x1d2));_0x38bf25(_0x28f60d);return;}this[_0x9a2c17(0x20b)]=this['_fragmented'];}else{if(this['_opcode']===0x1||this['_opcode']===0x2){if(this[_0x9a2c17(0x15e)]){const _0x213d64=this[_0x9a2c17(0x25f)](RangeError,'invalid\x20opcode\x20'+this['_opcode'],!0x0,0x3ea,_0x9a2c17(0x1d2));_0x38bf25(_0x213d64);return;}this['_compressed']=_0x3172bc;}else{if(this[_0x9a2c17(0x20b)]>0x7&&this[_0x9a2c17(0x20b)]<0xb){if(!this[_0x9a2c17(0x183)]){const _0x470806=this['createError'](RangeError,_0x9a2c17(0x266),!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0x38bf25(_0x470806);return;}if(_0x3172bc){const _0x10954d=this['createError'](RangeError,_0x9a2c17(0x220),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x38bf25(_0x10954d);return;}if(this[_0x9a2c17(0x167)]>0x7d||this['_opcode']===0x8&&this[_0x9a2c17(0x167)]===0x1){const _0x1028be=this[_0x9a2c17(0x25f)](RangeError,_0x9a2c17(0x244)+this[_0x9a2c17(0x167)],!0x0,0x3ea,'WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH');_0x38bf25(_0x1028be);return;}}else{const _0x28669c=this['createError'](RangeError,_0x9a2c17(0x2b7)+this[_0x9a2c17(0x20b)],!0x0,0x3ea,_0x9a2c17(0x1d2));_0x38bf25(_0x28669c);return;}}}if(!this[_0x9a2c17(0x183)]&&!this[_0x9a2c17(0x15e)]&&(this[_0x9a2c17(0x15e)]=this['_opcode']),this[_0x9a2c17(0x161)]=(_0x1f2ba6[0x1]&0x80)===0x80,this['_isServer']){if(!this[_0x9a2c17(0x161)]){const _0x1d6904=this['createError'](RangeError,_0x9a2c17(0x218),!0x0,0x3ea,_0x9a2c17(0x169));_0x38bf25(_0x1d6904);return;}}else{if(this[_0x9a2c17(0x161)]){const _0x5d91ec=this[_0x9a2c17(0x25f)](RangeError,'MASK\x20must\x20be\x20clear',!0x0,0x3ea,_0x9a2c17(0x2ff));_0x38bf25(_0x5d91ec);return;}}this[_0x9a2c17(0x167)]===0x7e?this[_0x9a2c17(0x243)]=_0x585ecb:this[_0x9a2c17(0x167)]===0x7f?this[_0x9a2c17(0x243)]=_0x25c98e:this[_0x9a2c17(0x283)](_0x38bf25);}[_0x5aec0b(0x2a9)](_0x32494b){const _0x58b9b9=_0x5aec0b;if(this['_bufferedBytes']<0x2){this['_loop']=!0x1;return;}this[_0x58b9b9(0x167)]=this[_0x58b9b9(0x2b4)](0x2)[_0x58b9b9(0x2fc)](0x0),this[_0x58b9b9(0x283)](_0x32494b);}['getPayloadLength64'](_0x4e6001){const _0x4feff0=_0x5aec0b;if(this[_0x4feff0(0x2b0)]<0x8){this[_0x4feff0(0x1eb)]=!0x1;return;}const _0x297c12=this[_0x4feff0(0x2b4)](0x8),_0x22d8a4=_0x297c12[_0x4feff0(0x168)](0x0);if(_0x22d8a4>Math[_0x4feff0(0x281)](0x2,0x15)-0x1){const _0xf501cd=this[_0x4feff0(0x25f)](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,_0x4feff0(0x1a2));_0x4e6001(_0xf501cd);return;}this[_0x4feff0(0x167)]=_0x22d8a4*Math[_0x4feff0(0x281)](0x2,0x20)+_0x297c12[_0x4feff0(0x168)](0x4),this[_0x4feff0(0x283)](_0x4e6001);}[_0x5aec0b(0x283)](_0x152ea9){const _0x30b2a3=_0x5aec0b;if(this[_0x30b2a3(0x167)]&&this[_0x30b2a3(0x20b)]<0x8&&(this[_0x30b2a3(0x201)]+=this[_0x30b2a3(0x167)],this[_0x30b2a3(0x201)]>this['_maxPayload']&&this[_0x30b2a3(0x2d3)]>0x0)){const _0xc10141=this['createError'](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x152ea9(_0xc10141);return;}this[_0x30b2a3(0x161)]?this['_state']=_0x4c5297:this[_0x30b2a3(0x243)]=_0xb51c1d;}[_0x5aec0b(0x1ae)](){const _0x55de13=_0x5aec0b;if(this[_0x55de13(0x2b0)]<0x4){this[_0x55de13(0x1eb)]=!0x1;return;}this[_0x55de13(0x216)]=this['consume'](0x4),this[_0x55de13(0x243)]=_0xb51c1d;}[_0x5aec0b(0x2f8)](_0x4652da){const _0x35130e=_0x5aec0b;let _0x76f56c=_0x27fa80;if(this[_0x35130e(0x167)]){if(this[_0x35130e(0x2b0)]<this[_0x35130e(0x167)]){this[_0x35130e(0x1eb)]=!0x1;return;}_0x76f56c=this[_0x35130e(0x2b4)](this[_0x35130e(0x167)]),this[_0x35130e(0x161)]&&(this[_0x35130e(0x216)][0x0]|this['_mask'][0x1]|this[_0x35130e(0x216)][0x2]|this['_mask'][0x3])!==0x0&&_0x2376ba(_0x76f56c,this[_0x35130e(0x216)]);}if(this[_0x35130e(0x20b)]>0x7){this[_0x35130e(0x1fe)](_0x76f56c,_0x4652da);return;}if(this[_0x35130e(0x2c7)]){this[_0x35130e(0x243)]=_0x5b54e2,this[_0x35130e(0x18c)](_0x76f56c,_0x4652da);return;}_0x76f56c['length']&&(this['_messageLength']=this[_0x35130e(0x201)],this[_0x35130e(0x1af)]['push'](_0x76f56c)),this['dataMessage'](_0x4652da);}[_0x5aec0b(0x18c)](_0x3e988b,_0xc4ec18){const _0x4c02ab=_0x5aec0b;this['_extensions'][_0x38a6ce[_0x4c02ab(0x28c)]]['decompress'](_0x3e988b,this[_0x4c02ab(0x183)],(_0x1e9a05,_0x4ba112)=>{const _0x148326=_0x4c02ab;if(_0x1e9a05)return _0xc4ec18(_0x1e9a05);if(_0x4ba112[_0x148326(0x208)]){if(this[_0x148326(0x217)]+=_0x4ba112[_0x148326(0x208)],this[_0x148326(0x217)]>this['_maxPayload']&&this[_0x148326(0x2d3)]>0x0){const _0x52fe88=this[_0x148326(0x25f)](RangeError,_0x148326(0x25c),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0xc4ec18(_0x52fe88);return;}this[_0x148326(0x1af)]['push'](_0x4ba112);}this[_0x148326(0x1c7)](_0xc4ec18),this['_state']===_0x4c5775&&this[_0x148326(0x2d9)](_0xc4ec18);});}[_0x5aec0b(0x1c7)](_0x2fe41c){const _0x3a7ee9=_0x5aec0b;if(!this[_0x3a7ee9(0x183)]){this['_state']=_0x4c5775;return;}const _0x70c0f1=this[_0x3a7ee9(0x217)],_0x5dbda0=this[_0x3a7ee9(0x1af)];if(this[_0x3a7ee9(0x201)]=0x0,this[_0x3a7ee9(0x217)]=0x0,this['_fragmented']=0x0,this[_0x3a7ee9(0x1af)]=[],this[_0x3a7ee9(0x20b)]===0x2){let _0x2622ad;this[_0x3a7ee9(0x215)]==='nodebuffer'?_0x2622ad=_0x3cf5b7(_0x5dbda0,_0x70c0f1):this['_binaryType']===_0x3a7ee9(0x152)?_0x2622ad=_0x4edf77(_0x3cf5b7(_0x5dbda0,_0x70c0f1)):this[_0x3a7ee9(0x215)]===_0x3a7ee9(0x193)?_0x2622ad=new Blob(_0x5dbda0):_0x2622ad=_0x5dbda0,this[_0x3a7ee9(0x26b)]?(this['emit'](_0x3a7ee9(0x219),_0x2622ad,!0x0),this[_0x3a7ee9(0x243)]=_0x4c5775):(this[_0x3a7ee9(0x243)]=_0x30dbd8,setImmediate(()=>{const _0x1630b9=_0x3a7ee9;this[_0x1630b9(0x173)](_0x1630b9(0x219),_0x2622ad,!0x0),this[_0x1630b9(0x243)]=_0x4c5775,this[_0x1630b9(0x2d9)](_0x2fe41c);}));}else{const _0x4a6256=_0x3cf5b7(_0x5dbda0,_0x70c0f1);if(!this[_0x3a7ee9(0x1cf)]&&!_0x1bf91d(_0x4a6256)){const _0x37ae5b=this[_0x3a7ee9(0x25f)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x2fe41c(_0x37ae5b);return;}this[_0x3a7ee9(0x243)]===_0x5b54e2||this[_0x3a7ee9(0x26b)]?(this[_0x3a7ee9(0x173)](_0x3a7ee9(0x219),_0x4a6256,!0x1),this[_0x3a7ee9(0x243)]=_0x4c5775):(this[_0x3a7ee9(0x243)]=_0x30dbd8,setImmediate(()=>{const _0x46b8b1=_0x3a7ee9;this['emit'](_0x46b8b1(0x219),_0x4a6256,!0x1),this['_state']=_0x4c5775,this[_0x46b8b1(0x2d9)](_0x2fe41c);}));}}[_0x5aec0b(0x1fe)](_0xc0a0dc,_0x577917){const _0x1b29a1=_0x5aec0b;if(this[_0x1b29a1(0x20b)]===0x8){if(_0xc0a0dc[_0x1b29a1(0x208)]===0x0)this[_0x1b29a1(0x1eb)]=!0x1,this[_0x1b29a1(0x173)](_0x1b29a1(0x17a),0x3ed,_0x27fa80),this[_0x1b29a1(0x194)]();else{const _0x272627=_0xc0a0dc[_0x1b29a1(0x2fc)](0x0);if(!_0x27bc14(_0x272627)){const _0x3647c9=this[_0x1b29a1(0x25f)](RangeError,_0x1b29a1(0x277)+_0x272627,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0x577917(_0x3647c9);return;}const _0xbe8f03=new _0x47a829(_0xc0a0dc['buffer'],_0xc0a0dc[_0x1b29a1(0x1f7)]+0x2,_0xc0a0dc[_0x1b29a1(0x208)]-0x2);if(!this[_0x1b29a1(0x1cf)]&&!_0x1bf91d(_0xbe8f03)){const _0x4478f6=this[_0x1b29a1(0x25f)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x1b29a1(0x2ac));_0x577917(_0x4478f6);return;}this['_loop']=!0x1,this[_0x1b29a1(0x173)](_0x1b29a1(0x17a),_0x272627,_0xbe8f03),this[_0x1b29a1(0x194)]();}this[_0x1b29a1(0x243)]=_0x4c5775;return;}this['_allowSynchronousEvents']?(this[_0x1b29a1(0x173)](this[_0x1b29a1(0x20b)]===0x9?_0x1b29a1(0x225):'pong',_0xc0a0dc),this[_0x1b29a1(0x243)]=_0x4c5775):(this[_0x1b29a1(0x243)]=_0x30dbd8,setImmediate(()=>{const _0x260b6d=_0x1b29a1;this[_0x260b6d(0x173)](this[_0x260b6d(0x20b)]===0x9?_0x260b6d(0x225):'pong',_0xc0a0dc),this[_0x260b6d(0x243)]=_0x4c5775,this[_0x260b6d(0x2d9)](_0x577917);}));}[_0x5aec0b(0x25f)](_0x3deefb,_0x4d4244,_0x3b06ff,_0xfd8983,_0x48fbb5){const _0x5b2251=_0x5aec0b;this['_loop']=!0x1,this['_errored']=!0x0;const _0x135c05=new _0x3deefb(_0x3b06ff?_0x5b2251(0x22f)+_0x4d4244:_0x4d4244);return Error[_0x5b2251(0x2ae)](_0x135c05,this[_0x5b2251(0x25f)]),_0x135c05[_0x5b2251(0x181)]=_0x48fbb5,_0x135c05[_0x2aa97e]=_0xfd8983,_0x135c05;}}return Se=_0x2a7f1e,Se;}var Ee,et;function _t(){const _0x386a47=_0x428a1f;if(et)return Ee;et=0x1;const {Duplex:_0x3dd261}=_0x2440cb,{randomFillSync:_0x2238e2}=_0x29696a,_0x3c17e7=he(),{EMPTY_BUFFER:_0x4a8b60,kWebSocket:_0x216df8,NOOP:_0x5e5ea1}=V(),{isBlob:_0x59e5d6,isValidStatusCode:_0x263336}=ne(),{mask:_0x51d230,toBuffer:_0x1e6165}=ce(),_0x5c298b=Symbol('kByteLength'),_0x40e2c4=Buffer['alloc'](0x4),_0x211f1c=0x8*0x400;let _0x47db42,_0xb18533=_0x211f1c;const _0x46528b=0x0,_0x3e4544=0x1,_0xb47605=0x2;class _0x5e0526{constructor(_0x3487c2,_0x2b765f,_0x1d58fd){const _0x362127=_0x40b5;this[_0x362127(0x17d)]=_0x2b765f||{},_0x1d58fd&&(this[_0x362127(0x2db)]=_0x1d58fd,this[_0x362127(0x1d7)]=Buffer[_0x362127(0x29f)](0x4)),this[_0x362127(0x2a5)]=_0x3487c2,this['_firstFragment']=!0x0,this[_0x362127(0x199)]=!0x1,this[_0x362127(0x2b0)]=0x0,this[_0x362127(0x19b)]=[],this[_0x362127(0x243)]=_0x46528b,this[_0x362127(0x1f0)]=_0x5e5ea1,this[_0x216df8]=void 0x0;}static[_0x386a47(0x1ec)](_0x158a88,_0x62140f){const _0x4152ce=_0x386a47;let _0x3c9bf3,_0x21fc25=!0x1,_0x111c9f=0x2,_0x2cf609=!0x1;_0x62140f[_0x4152ce(0x189)]&&(_0x3c9bf3=_0x62140f[_0x4152ce(0x15a)]||_0x40e2c4,_0x62140f[_0x4152ce(0x2e1)]?_0x62140f[_0x4152ce(0x2e1)](_0x3c9bf3):(_0xb18533===_0x211f1c&&(_0x47db42===void 0x0&&(_0x47db42=Buffer[_0x4152ce(0x29f)](_0x211f1c)),_0x2238e2(_0x47db42,0x0,_0x211f1c),_0xb18533=0x0),_0x3c9bf3[0x0]=_0x47db42[_0xb18533++],_0x3c9bf3[0x1]=_0x47db42[_0xb18533++],_0x3c9bf3[0x2]=_0x47db42[_0xb18533++],_0x3c9bf3[0x3]=_0x47db42[_0xb18533++]),_0x2cf609=(_0x3c9bf3[0x0]|_0x3c9bf3[0x1]|_0x3c9bf3[0x2]|_0x3c9bf3[0x3])===0x0,_0x111c9f=0x6);let _0xfb636c;typeof _0x158a88==_0x4152ce(0x1ff)?(!_0x62140f[_0x4152ce(0x189)]||_0x2cf609)&&_0x62140f[_0x5c298b]!==void 0x0?_0xfb636c=_0x62140f[_0x5c298b]:(_0x158a88=Buffer[_0x4152ce(0x170)](_0x158a88),_0xfb636c=_0x158a88[_0x4152ce(0x208)]):(_0xfb636c=_0x158a88[_0x4152ce(0x208)],_0x21fc25=_0x62140f[_0x4152ce(0x189)]&&_0x62140f[_0x4152ce(0x1cd)]&&!_0x2cf609);let _0xd96f7b=_0xfb636c;_0xfb636c>=0x10000?(_0x111c9f+=0x8,_0xd96f7b=0x7f):_0xfb636c>0x7d&&(_0x111c9f+=0x2,_0xd96f7b=0x7e);const _0x41e0a6=Buffer[_0x4152ce(0x1f3)](_0x21fc25?_0xfb636c+_0x111c9f:_0x111c9f);return _0x41e0a6[0x0]=_0x62140f[_0x4152ce(0x27b)]?_0x62140f[_0x4152ce(0x1d8)]|0x80:_0x62140f[_0x4152ce(0x1d8)],_0x62140f[_0x4152ce(0x2c9)]&&(_0x41e0a6[0x0]|=0x40),_0x41e0a6[0x1]=_0xd96f7b,_0xd96f7b===0x7e?_0x41e0a6[_0x4152ce(0x2dc)](_0xfb636c,0x2):_0xd96f7b===0x7f&&(_0x41e0a6[0x2]=_0x41e0a6[0x3]=0x0,_0x41e0a6[_0x4152ce(0x26e)](_0xfb636c,0x4,0x6)),_0x62140f[_0x4152ce(0x189)]?(_0x41e0a6[0x1]|=0x80,_0x41e0a6[_0x111c9f-0x4]=_0x3c9bf3[0x0],_0x41e0a6[_0x111c9f-0x3]=_0x3c9bf3[0x1],_0x41e0a6[_0x111c9f-0x2]=_0x3c9bf3[0x2],_0x41e0a6[_0x111c9f-0x1]=_0x3c9bf3[0x3],_0x2cf609?[_0x41e0a6,_0x158a88]:_0x21fc25?(_0x51d230(_0x158a88,_0x3c9bf3,_0x41e0a6,_0x111c9f,_0xfb636c),[_0x41e0a6]):(_0x51d230(_0x158a88,_0x3c9bf3,_0x158a88,0x0,_0xfb636c),[_0x41e0a6,_0x158a88])):[_0x41e0a6,_0x158a88];}[_0x386a47(0x228)](_0x5621bf,_0x1ee799,_0x9aaa5d,_0xd8e0e2){const _0x3e6263=_0x386a47;let _0x4e3c02;if(_0x5621bf===void 0x0)_0x4e3c02=_0x4a8b60;else{if(typeof _0x5621bf!='number'||!_0x263336(_0x5621bf))throw new TypeError('First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number');if(_0x1ee799===void 0x0||!_0x1ee799[_0x3e6263(0x208)])_0x4e3c02=Buffer[_0x3e6263(0x1f3)](0x2),_0x4e3c02[_0x3e6263(0x2dc)](_0x5621bf,0x0);else{const _0x254eab=Buffer[_0x3e6263(0x298)](_0x1ee799);if(_0x254eab>0x7b)throw new RangeError(_0x3e6263(0x25d));_0x4e3c02=Buffer['allocUnsafe'](0x2+_0x254eab),_0x4e3c02[_0x3e6263(0x2dc)](_0x5621bf,0x0),typeof _0x1ee799==_0x3e6263(0x1ff)?_0x4e3c02[_0x3e6263(0x2bd)](_0x1ee799,0x2):_0x4e3c02[_0x3e6263(0x1a4)](_0x1ee799,0x2);}}const _0x2b8cba={[_0x5c298b]:_0x4e3c02[_0x3e6263(0x208)],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x9aaa5d,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this['_state']!==_0x46528b?this[_0x3e6263(0x260)]([this[_0x3e6263(0x14f)],_0x4e3c02,!0x1,_0x2b8cba,_0xd8e0e2]):this[_0x3e6263(0x22c)](_0x5e0526[_0x3e6263(0x1ec)](_0x4e3c02,_0x2b8cba),_0xd8e0e2);}['ping'](_0x2c584b,_0x534598,_0xc3f295){const _0x36000c=_0x386a47;let _0x2282ca,_0x29093f;if(typeof _0x2c584b==_0x36000c(0x1ff)?(_0x2282ca=Buffer['byteLength'](_0x2c584b),_0x29093f=!0x1):_0x59e5d6(_0x2c584b)?(_0x2282ca=_0x2c584b[_0x36000c(0x229)],_0x29093f=!0x1):(_0x2c584b=_0x1e6165(_0x2c584b),_0x2282ca=_0x2c584b[_0x36000c(0x208)],_0x29093f=_0x1e6165[_0x36000c(0x1cd)]),_0x2282ca>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x5759c8={[_0x5c298b]:_0x2282ca,'fin':!0x0,'generateMask':this[_0x36000c(0x2db)],'mask':_0x534598,'maskBuffer':this[_0x36000c(0x1d7)],'opcode':0x9,'readOnly':_0x29093f,'rsv1':!0x1};_0x59e5d6(_0x2c584b)?this[_0x36000c(0x243)]!==_0x46528b?this[_0x36000c(0x260)]([this[_0x36000c(0x29c)],_0x2c584b,!0x1,_0x5759c8,_0xc3f295]):this['getBlobData'](_0x2c584b,!0x1,_0x5759c8,_0xc3f295):this[_0x36000c(0x243)]!==_0x46528b?this[_0x36000c(0x260)]([this[_0x36000c(0x14f)],_0x2c584b,!0x1,_0x5759c8,_0xc3f295]):this[_0x36000c(0x22c)](_0x5e0526[_0x36000c(0x1ec)](_0x2c584b,_0x5759c8),_0xc3f295);}[_0x386a47(0x2a3)](_0x28542a,_0x52ea25,_0x6e149a){const _0x3853a2=_0x386a47;let _0x5d9ceb,_0xe7298a;if(typeof _0x28542a==_0x3853a2(0x1ff)?(_0x5d9ceb=Buffer[_0x3853a2(0x298)](_0x28542a),_0xe7298a=!0x1):_0x59e5d6(_0x28542a)?(_0x5d9ceb=_0x28542a[_0x3853a2(0x229)],_0xe7298a=!0x1):(_0x28542a=_0x1e6165(_0x28542a),_0x5d9ceb=_0x28542a['length'],_0xe7298a=_0x1e6165[_0x3853a2(0x1cd)]),_0x5d9ceb>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x23c8b9={[_0x5c298b]:_0x5d9ceb,'fin':!0x0,'generateMask':this[_0x3853a2(0x2db)],'mask':_0x52ea25,'maskBuffer':this[_0x3853a2(0x1d7)],'opcode':0xa,'readOnly':_0xe7298a,'rsv1':!0x1};_0x59e5d6(_0x28542a)?this[_0x3853a2(0x243)]!==_0x46528b?this[_0x3853a2(0x260)]([this[_0x3853a2(0x29c)],_0x28542a,!0x1,_0x23c8b9,_0x6e149a]):this[_0x3853a2(0x29c)](_0x28542a,!0x1,_0x23c8b9,_0x6e149a):this['_state']!==_0x46528b?this[_0x3853a2(0x260)]([this[_0x3853a2(0x14f)],_0x28542a,!0x1,_0x23c8b9,_0x6e149a]):this[_0x3853a2(0x22c)](_0x5e0526[_0x3853a2(0x1ec)](_0x28542a,_0x23c8b9),_0x6e149a);}['send'](_0x3c0d10,_0x4e4bd0,_0x19c75e){const _0x41c65f=_0x386a47,_0x13f626=this['_extensions'][_0x3c17e7[_0x41c65f(0x28c)]];let _0x1a95e8=_0x4e4bd0[_0x41c65f(0x21c)]?0x2:0x1,_0x19e756=_0x4e4bd0[_0x41c65f(0x172)],_0x4a8104,_0x57c502;typeof _0x3c0d10==_0x41c65f(0x1ff)?(_0x4a8104=Buffer['byteLength'](_0x3c0d10),_0x57c502=!0x1):_0x59e5d6(_0x3c0d10)?(_0x4a8104=_0x3c0d10[_0x41c65f(0x229)],_0x57c502=!0x1):(_0x3c0d10=_0x1e6165(_0x3c0d10),_0x4a8104=_0x3c0d10[_0x41c65f(0x208)],_0x57c502=_0x1e6165[_0x41c65f(0x1cd)]),this[_0x41c65f(0x198)]?(this[_0x41c65f(0x198)]=!0x1,_0x19e756&&_0x13f626&&_0x13f626[_0x41c65f(0x19e)][_0x13f626[_0x41c65f(0x186)]?_0x41c65f(0x2e2):'client_no_context_takeover']&&(_0x19e756=_0x4a8104>=_0x13f626[_0x41c65f(0x1df)]),this['_compress']=_0x19e756):(_0x19e756=!0x1,_0x1a95e8=0x0),_0x4e4bd0[_0x41c65f(0x27b)]&&(this['_firstFragment']=!0x0);const _0x3cf2fd={[_0x5c298b]:_0x4a8104,'fin':_0x4e4bd0[_0x41c65f(0x27b)],'generateMask':this[_0x41c65f(0x2db)],'mask':_0x4e4bd0[_0x41c65f(0x189)],'maskBuffer':this['_maskBuffer'],'opcode':_0x1a95e8,'readOnly':_0x57c502,'rsv1':_0x19e756};_0x59e5d6(_0x3c0d10)?this[_0x41c65f(0x243)]!==_0x46528b?this[_0x41c65f(0x260)]([this[_0x41c65f(0x29c)],_0x3c0d10,this['_compress'],_0x3cf2fd,_0x19c75e]):this[_0x41c65f(0x29c)](_0x3c0d10,this[_0x41c65f(0x199)],_0x3cf2fd,_0x19c75e):this[_0x41c65f(0x243)]!==_0x46528b?this[_0x41c65f(0x260)]([this['dispatch'],_0x3c0d10,this[_0x41c65f(0x199)],_0x3cf2fd,_0x19c75e]):this[_0x41c65f(0x14f)](_0x3c0d10,this[_0x41c65f(0x199)],_0x3cf2fd,_0x19c75e);}[_0x386a47(0x29c)](_0x1b2cec,_0x49aec5,_0x219a2e,_0x5d690d){const _0x3165c4=_0x386a47;this[_0x3165c4(0x2b0)]+=_0x219a2e[_0x5c298b],this['_state']=_0xb47605,_0x1b2cec[_0x3165c4(0x157)]()['then'](_0x2a0ad8=>{const _0x414cfa=_0x3165c4;if(this['_socket'][_0x414cfa(0x2ea)]){const _0x5eba75=new Error(_0x414cfa(0x2ce));process[_0x414cfa(0x18d)](_0x7c1a7b,this,_0x5eba75,_0x5d690d);return;}this[_0x414cfa(0x2b0)]-=_0x219a2e[_0x5c298b];const _0x283bfa=_0x1e6165(_0x2a0ad8);_0x49aec5?this[_0x414cfa(0x14f)](_0x283bfa,_0x49aec5,_0x219a2e,_0x5d690d):(this[_0x414cfa(0x243)]=_0x46528b,this[_0x414cfa(0x22c)](_0x5e0526[_0x414cfa(0x1ec)](_0x283bfa,_0x219a2e),_0x5d690d),this['dequeue']());})[_0x3165c4(0x23e)](_0x55b124=>{process['nextTick'](_0x1f6ca4,this,_0x55b124,_0x5d690d);});}[_0x386a47(0x14f)](_0x1ccd1f,_0x5d7bd8,_0x58abd0,_0x28c8e8){const _0x2553e0=_0x386a47;if(!_0x5d7bd8){this[_0x2553e0(0x22c)](_0x5e0526[_0x2553e0(0x1ec)](_0x1ccd1f,_0x58abd0),_0x28c8e8);return;}const _0x47f85e=this[_0x2553e0(0x17d)][_0x3c17e7['extensionName']];this['_bufferedBytes']+=_0x58abd0[_0x5c298b],this[_0x2553e0(0x243)]=_0x3e4544,_0x47f85e[_0x2553e0(0x172)](_0x1ccd1f,_0x58abd0[_0x2553e0(0x27b)],(_0x4d34b1,_0x1696d5)=>{const _0x208e7d=_0x2553e0;if(this[_0x208e7d(0x2a5)][_0x208e7d(0x2ea)]){const _0x4e531a=new Error(_0x208e7d(0x2d2));_0x7c1a7b(this,_0x4e531a,_0x28c8e8);return;}this['_bufferedBytes']-=_0x58abd0[_0x5c298b],this[_0x208e7d(0x243)]=_0x46528b,_0x58abd0['readOnly']=!0x1,this[_0x208e7d(0x22c)](_0x5e0526[_0x208e7d(0x1ec)](_0x1696d5,_0x58abd0),_0x28c8e8),this[_0x208e7d(0x1b4)]();});}[_0x386a47(0x1b4)](){const _0x2ed3fa=_0x386a47;for(;this[_0x2ed3fa(0x243)]===_0x46528b&&this['_queue']['length'];){const _0x5cec47=this['_queue'][_0x2ed3fa(0x1cb)]();this['_bufferedBytes']-=_0x5cec47[0x3][_0x5c298b],Reflect[_0x2ed3fa(0x16b)](_0x5cec47[0x0],this,_0x5cec47[_0x2ed3fa(0x22d)](0x1));}}[_0x386a47(0x260)](_0x474d92){const _0x16d713=_0x386a47;this[_0x16d713(0x2b0)]+=_0x474d92[0x3][_0x5c298b],this[_0x16d713(0x19b)]['push'](_0x474d92);}['sendFrame'](_0x525cec,_0x5f56a6){const _0x14e498=_0x386a47;_0x525cec[_0x14e498(0x208)]===0x2?(this['_socket']['cork'](),this['_socket'][_0x14e498(0x2bd)](_0x525cec[0x0]),this[_0x14e498(0x2a5)][_0x14e498(0x2bd)](_0x525cec[0x1],_0x5f56a6),this[_0x14e498(0x2a5)]['uncork']()):this[_0x14e498(0x2a5)]['write'](_0x525cec[0x0],_0x5f56a6);}}Ee=_0x5e0526;function _0x7c1a7b(_0x596e62,_0x4aa3a0,_0x46c945){const _0x579122=_0x386a47;typeof _0x46c945=='function'&&_0x46c945(_0x4aa3a0);for(let _0x1efe9e=0x0;_0x1efe9e<_0x596e62[_0x579122(0x19b)][_0x579122(0x208)];_0x1efe9e++){const _0x382591=_0x596e62['_queue'][_0x1efe9e],_0x3e4bc7=_0x382591[_0x382591[_0x579122(0x208)]-0x1];typeof _0x3e4bc7==_0x579122(0x20d)&&_0x3e4bc7(_0x4aa3a0);}}function _0x1f6ca4(_0xc5308,_0x483d78,_0x4b0965){const _0x56cdc0=_0x386a47;_0x7c1a7b(_0xc5308,_0x483d78,_0x4b0965),_0xc5308[_0x56cdc0(0x1f0)](_0x483d78);}return Ee;}var xe,tt;function Kt(){const _0x4e6ecf=_0x428a1f;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x16ab6f,kListener:_0x113d95}=V(),_0x4c66af=Symbol(_0x4e6ecf(0x26c)),_0x25a398=Symbol('kData'),_0x18fe04=Symbol(_0x4e6ecf(0x2bf)),_0x4d063f=Symbol(_0x4e6ecf(0x1a9)),_0x4c5729=Symbol(_0x4e6ecf(0x179)),_0x3344ee=Symbol('kTarget'),_0x282326=Symbol(_0x4e6ecf(0x27d)),_0x2e3f5f=Symbol(_0x4e6ecf(0x286));class _0x1c9fa3{constructor(_0x1c62a9){this[_0x3344ee]=null,this[_0x282326]=_0x1c62a9;}get[_0x4e6ecf(0x1f9)](){return this[_0x3344ee];}get[_0x4e6ecf(0x203)](){return this[_0x282326];}}Object['defineProperty'](_0x1c9fa3['prototype'],_0x4e6ecf(0x1f9),{'enumerable':!0x0}),Object['defineProperty'](_0x1c9fa3[_0x4e6ecf(0x2dd)],_0x4e6ecf(0x203),{'enumerable':!0x0});class _0x1eb161 extends _0x1c9fa3{constructor(_0x204827,_0xeeae55={}){const _0x4a75c7=_0x4e6ecf;super(_0x204827),this[_0x4c66af]=_0xeeae55[_0x4a75c7(0x181)]===void 0x0?0x0:_0xeeae55[_0x4a75c7(0x181)],this[_0x4c5729]=_0xeeae55[_0x4a75c7(0x2ed)]===void 0x0?'':_0xeeae55['reason'],this[_0x2e3f5f]=_0xeeae55['wasClean']===void 0x0?!0x1:_0xeeae55[_0x4a75c7(0x223)];}get[_0x4e6ecf(0x181)](){return this[_0x4c66af];}get[_0x4e6ecf(0x2ed)](){return this[_0x4c5729];}get[_0x4e6ecf(0x223)](){return this[_0x2e3f5f];}}Object[_0x4e6ecf(0x279)](_0x1eb161[_0x4e6ecf(0x2dd)],_0x4e6ecf(0x181),{'enumerable':!0x0}),Object[_0x4e6ecf(0x279)](_0x1eb161[_0x4e6ecf(0x2dd)],_0x4e6ecf(0x2ed),{'enumerable':!0x0}),Object['defineProperty'](_0x1eb161[_0x4e6ecf(0x2dd)],_0x4e6ecf(0x223),{'enumerable':!0x0});class _0x2b183f extends _0x1c9fa3{constructor(_0x56645d,_0x1d0fb1={}){const _0xe7a289=_0x4e6ecf;super(_0x56645d),this[_0x18fe04]=_0x1d0fb1['error']===void 0x0?null:_0x1d0fb1['error'],this[_0x4d063f]=_0x1d0fb1[_0xe7a289(0x219)]===void 0x0?'':_0x1d0fb1[_0xe7a289(0x219)];}get[_0x4e6ecf(0x2b1)](){return this[_0x18fe04];}get[_0x4e6ecf(0x219)](){return this[_0x4d063f];}}Object[_0x4e6ecf(0x279)](_0x2b183f[_0x4e6ecf(0x2dd)],_0x4e6ecf(0x2b1),{'enumerable':!0x0}),Object['defineProperty'](_0x2b183f[_0x4e6ecf(0x2dd)],_0x4e6ecf(0x219),{'enumerable':!0x0});class _0x2684fe extends _0x1c9fa3{constructor(_0x144710,_0x3886db={}){const _0x503c78=_0x4e6ecf;super(_0x144710),this[_0x25a398]=_0x3886db[_0x503c78(0x1ef)]===void 0x0?null:_0x3886db['data'];}get[_0x4e6ecf(0x1ef)](){return this[_0x25a398];}}Object[_0x4e6ecf(0x279)](_0x2684fe[_0x4e6ecf(0x2dd)],_0x4e6ecf(0x1ef),{'enumerable':!0x0}),xe={'CloseEvent':_0x1eb161,'ErrorEvent':_0x2b183f,'Event':_0x1c9fa3,'EventTarget':{'addEventListener'(_0x2e916c,_0x432028,_0x1ed6cc={}){const _0x775f9=_0x4e6ecf;for(const _0x2112b9 of this['listeners'](_0x2e916c))if(!_0x1ed6cc[_0x16ab6f]&&_0x2112b9[_0x113d95]===_0x432028&&!_0x2112b9[_0x16ab6f])return;let _0x5dbe44;if(_0x2e916c===_0x775f9(0x219))_0x5dbe44=function(_0x429261,_0x472dd8){const _0x39370b=_0x775f9,_0x9a2f92=new _0x2684fe(_0x39370b(0x219),{'data':_0x472dd8?_0x429261:_0x429261[_0x39370b(0x289)]()});_0x9a2f92[_0x3344ee]=this,_0x2f2e7a(_0x432028,this,_0x9a2f92);};else{if(_0x2e916c==='close')_0x5dbe44=function(_0x4264b8,_0xec0670){const _0x81a0ca=_0x775f9,_0x288ee7=new _0x1eb161('close',{'code':_0x4264b8,'reason':_0xec0670['toString'](),'wasClean':this[_0x81a0ca(0x25e)]&&this[_0x81a0ca(0x2d0)]});_0x288ee7[_0x3344ee]=this,_0x2f2e7a(_0x432028,this,_0x288ee7);};else{if(_0x2e916c===_0x775f9(0x2b1))_0x5dbe44=function(_0x47fe15){const _0x3d707e=_0x775f9,_0x1d4ca1=new _0x2b183f(_0x3d707e(0x2b1),{'error':_0x47fe15,'message':_0x47fe15[_0x3d707e(0x219)]});_0x1d4ca1[_0x3344ee]=this,_0x2f2e7a(_0x432028,this,_0x1d4ca1);};else{if(_0x2e916c===_0x775f9(0x2ef))_0x5dbe44=function(){const _0x1cc343=_0x775f9,_0x318606=new _0x1c9fa3(_0x1cc343(0x2ef));_0x318606[_0x3344ee]=this,_0x2f2e7a(_0x432028,this,_0x318606);};else return;}}}_0x5dbe44[_0x16ab6f]=!!_0x1ed6cc[_0x16ab6f],_0x5dbe44[_0x113d95]=_0x432028,_0x1ed6cc[_0x775f9(0x2e8)]?this[_0x775f9(0x2e8)](_0x2e916c,_0x5dbe44):this['on'](_0x2e916c,_0x5dbe44);},'removeEventListener'(_0x373e4b,_0x1d89a1){const _0x15f4d9=_0x4e6ecf;for(const _0x27b548 of this[_0x15f4d9(0x29e)](_0x373e4b))if(_0x27b548[_0x113d95]===_0x1d89a1&&!_0x27b548[_0x16ab6f]){this[_0x15f4d9(0x2cc)](_0x373e4b,_0x27b548);break;}}},'MessageEvent':_0x2684fe};function _0x2f2e7a(_0x559655,_0xc9ee7d,_0x41b071){const _0x393429=_0x4e6ecf;typeof _0x559655==_0x393429(0x1ed)&&_0x559655[_0x393429(0x2c1)]?_0x559655[_0x393429(0x2c1)][_0x393429(0x271)](_0x559655,_0x41b071):_0x559655[_0x393429(0x271)](_0xc9ee7d,_0x41b071);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x3867af}=ne();function _0x183627(_0x30d5ea,_0x3f2e97,_0x4eaaf5){const _0x168781=_0x40b5;_0x30d5ea[_0x3f2e97]===void 0x0?_0x30d5ea[_0x3f2e97]=[_0x4eaaf5]:_0x30d5ea[_0x3f2e97][_0x168781(0x197)](_0x4eaaf5);}function _0xeab80f(_0x30f841){const _0x2ab369=_0x40b5,_0x848d10=Object['create'](null);let _0x3c0ec7=Object[_0x2ab369(0x2f1)](null),_0x1fcd2b=!0x1,_0x29fd11=!0x1,_0x3a073e=!0x1,_0x1ddb20,_0x2974dc,_0x551458=-0x1,_0x141b17=-0x1,_0x2bab89=-0x1,_0x2784e8=0x0;for(;_0x2784e8<_0x30f841[_0x2ab369(0x208)];_0x2784e8++)if(_0x141b17=_0x30f841[_0x2ab369(0x2c6)](_0x2784e8),_0x1ddb20===void 0x0){if(_0x2bab89===-0x1&&_0x3867af[_0x141b17]===0x1)_0x551458===-0x1&&(_0x551458=_0x2784e8);else{if(_0x2784e8!==0x0&&(_0x141b17===0x20||_0x141b17===0x9))_0x2bab89===-0x1&&_0x551458!==-0x1&&(_0x2bab89=_0x2784e8);else{if(_0x141b17===0x3b||_0x141b17===0x2c){if(_0x551458===-0x1)throw new SyntaxError(_0x2ab369(0x2ab)+_0x2784e8);_0x2bab89===-0x1&&(_0x2bab89=_0x2784e8);const _0xdee887=_0x30f841['slice'](_0x551458,_0x2bab89);_0x141b17===0x2c?(_0x183627(_0x848d10,_0xdee887,_0x3c0ec7),_0x3c0ec7=Object[_0x2ab369(0x2f1)](null)):_0x1ddb20=_0xdee887,_0x551458=_0x2bab89=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x2784e8);}}}else{if(_0x2974dc===void 0x0){if(_0x2bab89===-0x1&&_0x3867af[_0x141b17]===0x1)_0x551458===-0x1&&(_0x551458=_0x2784e8);else{if(_0x141b17===0x20||_0x141b17===0x9)_0x2bab89===-0x1&&_0x551458!==-0x1&&(_0x2bab89=_0x2784e8);else{if(_0x141b17===0x3b||_0x141b17===0x2c){if(_0x551458===-0x1)throw new SyntaxError(_0x2ab369(0x2ab)+_0x2784e8);_0x2bab89===-0x1&&(_0x2bab89=_0x2784e8),_0x183627(_0x3c0ec7,_0x30f841[_0x2ab369(0x22d)](_0x551458,_0x2bab89),!0x0),_0x141b17===0x2c&&(_0x183627(_0x848d10,_0x1ddb20,_0x3c0ec7),_0x3c0ec7=Object['create'](null),_0x1ddb20=void 0x0),_0x551458=_0x2bab89=-0x1;}else{if(_0x141b17===0x3d&&_0x551458!==-0x1&&_0x2bab89===-0x1)_0x2974dc=_0x30f841[_0x2ab369(0x22d)](_0x551458,_0x2784e8),_0x551458=_0x2bab89=-0x1;else throw new SyntaxError(_0x2ab369(0x2ab)+_0x2784e8);}}}}else{if(_0x29fd11){if(_0x3867af[_0x141b17]!==0x1)throw new SyntaxError(_0x2ab369(0x2ab)+_0x2784e8);_0x551458===-0x1?_0x551458=_0x2784e8:_0x1fcd2b||(_0x1fcd2b=!0x0),_0x29fd11=!0x1;}else{if(_0x3a073e){if(_0x3867af[_0x141b17]===0x1)_0x551458===-0x1&&(_0x551458=_0x2784e8);else{if(_0x141b17===0x22&&_0x551458!==-0x1)_0x3a073e=!0x1,_0x2bab89=_0x2784e8;else{if(_0x141b17===0x5c)_0x29fd11=!0x0;else throw new SyntaxError(_0x2ab369(0x2ab)+_0x2784e8);}}}else{if(_0x141b17===0x22&&_0x30f841[_0x2ab369(0x2c6)](_0x2784e8-0x1)===0x3d)_0x3a073e=!0x0;else{if(_0x2bab89===-0x1&&_0x3867af[_0x141b17]===0x1)_0x551458===-0x1&&(_0x551458=_0x2784e8);else{if(_0x551458!==-0x1&&(_0x141b17===0x20||_0x141b17===0x9))_0x2bab89===-0x1&&(_0x2bab89=_0x2784e8);else{if(_0x141b17===0x3b||_0x141b17===0x2c){if(_0x551458===-0x1)throw new SyntaxError(_0x2ab369(0x2ab)+_0x2784e8);_0x2bab89===-0x1&&(_0x2bab89=_0x2784e8);let _0x141117=_0x30f841['slice'](_0x551458,_0x2bab89);_0x1fcd2b&&(_0x141117=_0x141117['replace'](/\\/g,''),_0x1fcd2b=!0x1),_0x183627(_0x3c0ec7,_0x2974dc,_0x141117),_0x141b17===0x2c&&(_0x183627(_0x848d10,_0x1ddb20,_0x3c0ec7),_0x3c0ec7=Object[_0x2ab369(0x2f1)](null),_0x1ddb20=void 0x0),_0x2974dc=void 0x0,_0x551458=_0x2bab89=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x2784e8);}}}}}}}if(_0x551458===-0x1||_0x3a073e||_0x141b17===0x20||_0x141b17===0x9)throw new SyntaxError('Unexpected\x20end\x20of\x20input');_0x2bab89===-0x1&&(_0x2bab89=_0x2784e8);const _0x2bc979=_0x30f841[_0x2ab369(0x22d)](_0x551458,_0x2bab89);return _0x1ddb20===void 0x0?_0x183627(_0x848d10,_0x2bc979,_0x3c0ec7):(_0x2974dc===void 0x0?_0x183627(_0x3c0ec7,_0x2bc979,!0x0):_0x1fcd2b?_0x183627(_0x3c0ec7,_0x2974dc,_0x2bc979[_0x2ab369(0x20c)](/\\/g,'')):_0x183627(_0x3c0ec7,_0x2974dc,_0x2bc979),_0x183627(_0x848d10,_0x1ddb20,_0x3c0ec7)),_0x848d10;}function _0x26b92e(_0x27e4e8){const _0x35d6b2=_0x40b5;return Object[_0x35d6b2(0x2e4)](_0x27e4e8)[_0x35d6b2(0x18e)](_0xc69e0b=>{const _0x428abc=_0x35d6b2;let _0x112168=_0x27e4e8[_0xc69e0b];return Array[_0x428abc(0x1c1)](_0x112168)||(_0x112168=[_0x112168]),_0x112168[_0x428abc(0x18e)](_0x42ea88=>[_0xc69e0b][_0x428abc(0x27e)](Object[_0x428abc(0x2e4)](_0x42ea88)[_0x428abc(0x18e)](_0x321410=>{const _0x1d40dd=_0x428abc;let _0x54859b=_0x42ea88[_0x321410];return Array[_0x1d40dd(0x1c1)](_0x54859b)||(_0x54859b=[_0x54859b]),_0x54859b[_0x1d40dd(0x18e)](_0x28b56a=>_0x28b56a===!0x0?_0x321410:_0x321410+'='+_0x28b56a)[_0x1d40dd(0x291)](';\x20');}))[_0x428abc(0x291)](';\x20'))[_0x428abc(0x291)](',\x20');})['join'](',\x20');}return be={'format':_0x26b92e,'parse':_0xeab80f},be;}var we,st;function Ie(){const _0x4a12bc=_0x428a1f;if(st)return we;st=0x1;const _0x23bf81=_0x2a163f,_0x305629=_0xde7cdb,_0x2ebeac=_0x43dc55,_0x425ba4=_0x5942ba,_0x437fa3=_0x214617,{randomBytes:_0x41f5e2,createHash:_0x276f42}=_0x29696a,{Duplex:_0x39435b,Readable:_0x575666}=_0x2440cb,{URL:_0x4759d6}=_0x42c500,_0x3e79ca=he(),_0x3cbd95=dt(),_0x2ec1d4=_t(),{isBlob:_0x1ba75c}=ne(),{BINARY_TYPES:_0x57fa00,EMPTY_BUFFER:_0x53d1dc,GUID:_0x309d2d,kForOnEventAttribute:_0x497379,kListener:_0x1ee76c,kStatusCode:_0x2b8ac0,kWebSocket:_0x3b31d6,NOOP:_0x5556c8}=V(),{EventTarget:{addEventListener:_0x3b894e,removeEventListener:_0x344568}}=Kt(),{format:_0x239004,parse:_0x25ab7b}=pt(),{toBuffer:_0x5b4aa1}=ce(),_0x2a0806=0x1e*0x3e8,_0x2d12b8=Symbol(_0x4a12bc(0x19d)),_0x3a8378=[0x8,0xd],_0x2f6d9a=[_0x4a12bc(0x300),_0x4a12bc(0x2e3),_0x4a12bc(0x177),_0x4a12bc(0x26a)],_0x23957a=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x38b267 extends _0x23bf81{constructor(_0x415677,_0x1fceed,_0x56f0db){const _0x379c25=_0x4a12bc;super(),this['_binaryType']=_0x57fa00[0x0],this[_0x379c25(0x299)]=0x3ee,this['_closeFrameReceived']=!0x1,this[_0x379c25(0x2d0)]=!0x1,this[_0x379c25(0x24e)]=_0x53d1dc,this[_0x379c25(0x154)]=null,this[_0x379c25(0x293)]=!0x1,this[_0x379c25(0x17d)]={},this['_paused']=!0x1,this[_0x379c25(0x1b9)]='',this[_0x379c25(0x231)]=_0x38b267[_0x379c25(0x300)],this[_0x379c25(0x1fa)]=null,this[_0x379c25(0x17b)]=null,this['_socket']=null,_0x415677!==null?(this[_0x379c25(0x261)]=0x0,this[_0x379c25(0x186)]=!0x1,this[_0x379c25(0x1c8)]=0x0,_0x1fceed===void 0x0?_0x1fceed=[]:Array[_0x379c25(0x1c1)](_0x1fceed)||(typeof _0x1fceed==_0x379c25(0x1ed)&&_0x1fceed!==null?(_0x56f0db=_0x1fceed,_0x1fceed=[]):_0x1fceed=[_0x1fceed]),_0x45a19c(this,_0x415677,_0x1fceed,_0x56f0db)):(this[_0x379c25(0x2c8)]=_0x56f0db['autoPong'],this[_0x379c25(0x186)]=!0x0);}get[_0x4a12bc(0x1e2)](){const _0x285be8=_0x4a12bc;return this[_0x285be8(0x215)];}set['binaryType'](_0x1c4c5b){const _0x501268=_0x4a12bc;_0x57fa00[_0x501268(0x206)](_0x1c4c5b)&&(this[_0x501268(0x215)]=_0x1c4c5b,this[_0x501268(0x1fa)]&&(this[_0x501268(0x1fa)][_0x501268(0x215)]=_0x1c4c5b));}get[_0x4a12bc(0x1c4)](){const _0x129a48=_0x4a12bc;return this[_0x129a48(0x2a5)]?this['_socket']['_writableState']['length']+this[_0x129a48(0x17b)]['_bufferedBytes']:this['_bufferedAmount'];}get[_0x4a12bc(0x1bd)](){const _0x476660=_0x4a12bc;return Object[_0x476660(0x2e4)](this[_0x476660(0x17d)])[_0x476660(0x291)]();}get['isPaused'](){const _0x2ac765=_0x4a12bc;return this[_0x2ac765(0x18b)];}get[_0x4a12bc(0x274)](){return null;}get[_0x4a12bc(0x1f0)](){return null;}get[_0x4a12bc(0x14c)](){return null;}get[_0x4a12bc(0x178)](){return null;}get[_0x4a12bc(0x2b2)](){const _0xe27d1c=_0x4a12bc;return this[_0xe27d1c(0x1b9)];}get['readyState'](){const _0x5bfe0c=_0x4a12bc;return this[_0x5bfe0c(0x231)];}get['url'](){const _0x19eaa4=_0x4a12bc;return this[_0x19eaa4(0x1b7)];}[_0x4a12bc(0x2b8)](_0xca9633,_0x32259d,_0x4dc9c3){const _0x4b9a1a=_0x4a12bc,_0x39b51d=new _0x3cbd95({'allowSynchronousEvents':_0x4dc9c3['allowSynchronousEvents'],'binaryType':this[_0x4b9a1a(0x1e2)],'extensions':this[_0x4b9a1a(0x17d)],'isServer':this[_0x4b9a1a(0x186)],'maxPayload':_0x4dc9c3[_0x4b9a1a(0x2d1)],'skipUTF8Validation':_0x4dc9c3[_0x4b9a1a(0x2e6)]}),_0x1cb992=new _0x2ec1d4(_0xca9633,this[_0x4b9a1a(0x17d)],_0x4dc9c3[_0x4b9a1a(0x2e1)]);this[_0x4b9a1a(0x1fa)]=_0x39b51d,this[_0x4b9a1a(0x17b)]=_0x1cb992,this[_0x4b9a1a(0x2a5)]=_0xca9633,_0x39b51d[_0x3b31d6]=this,_0x1cb992[_0x3b31d6]=this,_0xca9633[_0x3b31d6]=this,_0x39b51d['on'](_0x4b9a1a(0x17a),_0x16aac7),_0x39b51d['on'](_0x4b9a1a(0x20a),_0x435cc6),_0x39b51d['on'](_0x4b9a1a(0x2b1),_0x5e9209),_0x39b51d['on'](_0x4b9a1a(0x219),_0x14e2db),_0x39b51d['on']('ping',_0x53e519),_0x39b51d['on'](_0x4b9a1a(0x2a3),_0x546ad7),_0x1cb992['onerror']=_0x2edebb,_0xca9633[_0x4b9a1a(0x222)]&&_0xca9633[_0x4b9a1a(0x222)](0x0),_0xca9633[_0x4b9a1a(0x238)]&&_0xca9633['setNoDelay'](),_0x32259d[_0x4b9a1a(0x208)]>0x0&&_0xca9633[_0x4b9a1a(0x273)](_0x32259d),_0xca9633['on'](_0x4b9a1a(0x228),_0x344bd4),_0xca9633['on'](_0x4b9a1a(0x1ef),_0xbffcd6),_0xca9633['on']('end',_0x3acbf7),_0xca9633['on'](_0x4b9a1a(0x2b1),_0x112ccd),this[_0x4b9a1a(0x231)]=_0x38b267[_0x4b9a1a(0x2e3)],this[_0x4b9a1a(0x173)](_0x4b9a1a(0x2ef));}[_0x4a12bc(0x212)](){const _0x682017=_0x4a12bc;if(!this[_0x682017(0x2a5)]){this[_0x682017(0x231)]=_0x38b267[_0x682017(0x26a)],this[_0x682017(0x173)]('close',this[_0x682017(0x299)],this[_0x682017(0x24e)]);return;}this[_0x682017(0x17d)][_0x3e79ca['extensionName']]&&this[_0x682017(0x17d)][_0x3e79ca[_0x682017(0x28c)]][_0x682017(0x1a1)](),this[_0x682017(0x1fa)][_0x682017(0x190)](),this['_readyState']=_0x38b267[_0x682017(0x26a)],this[_0x682017(0x173)]('close',this['_closeCode'],this[_0x682017(0x24e)]);}[_0x4a12bc(0x228)](_0x34705b,_0x169a1a){const _0x482a0f=_0x4a12bc;if(this[_0x482a0f(0x1da)]!==_0x38b267[_0x482a0f(0x26a)]){if(this['readyState']===_0x38b267[_0x482a0f(0x300)]){_0x434388(this,this['_req'],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}if(this[_0x482a0f(0x1da)]===_0x38b267[_0x482a0f(0x177)]){this[_0x482a0f(0x2d0)]&&(this[_0x482a0f(0x25e)]||this[_0x482a0f(0x1fa)]['_writableState']['errorEmitted'])&&this[_0x482a0f(0x2a5)][_0x482a0f(0x194)]();return;}this[_0x482a0f(0x231)]=_0x38b267[_0x482a0f(0x177)],this[_0x482a0f(0x17b)][_0x482a0f(0x228)](_0x34705b,_0x169a1a,!this[_0x482a0f(0x186)],_0xf4764e=>{const _0x162450=_0x482a0f;_0xf4764e||(this[_0x162450(0x2d0)]=!0x0,(this['_closeFrameReceived']||this[_0x162450(0x1fa)][_0x162450(0x2f3)][_0x162450(0x237)])&&this[_0x162450(0x2a5)][_0x162450(0x194)]());}),_0x2e33f4(this);}}[_0x4a12bc(0x1a7)](){const _0x356fc0=_0x4a12bc;this[_0x356fc0(0x1da)]===_0x38b267[_0x356fc0(0x300)]||this[_0x356fc0(0x1da)]===_0x38b267[_0x356fc0(0x26a)]||(this[_0x356fc0(0x18b)]=!0x0,this[_0x356fc0(0x2a5)][_0x356fc0(0x1a7)]());}[_0x4a12bc(0x225)](_0x450ccf,_0x37ab76,_0x13a3a9){const _0x35b84e=_0x4a12bc;if(this[_0x35b84e(0x1da)]===_0x38b267[_0x35b84e(0x300)])throw new Error(_0x35b84e(0x174));if(typeof _0x450ccf==_0x35b84e(0x20d)?(_0x13a3a9=_0x450ccf,_0x450ccf=_0x37ab76=void 0x0):typeof _0x37ab76==_0x35b84e(0x20d)&&(_0x13a3a9=_0x37ab76,_0x37ab76=void 0x0),typeof _0x450ccf==_0x35b84e(0x15d)&&(_0x450ccf=_0x450ccf[_0x35b84e(0x289)]()),this['readyState']!==_0x38b267[_0x35b84e(0x2e3)]){_0x4f878b(this,_0x450ccf,_0x13a3a9);return;}_0x37ab76===void 0x0&&(_0x37ab76=!this[_0x35b84e(0x186)]),this[_0x35b84e(0x17b)][_0x35b84e(0x225)](_0x450ccf||_0x53d1dc,_0x37ab76,_0x13a3a9);}['pong'](_0x2a134b,_0x22c16e,_0x317c27){const _0xf015d2=_0x4a12bc;if(this[_0xf015d2(0x1da)]===_0x38b267[_0xf015d2(0x300)])throw new Error(_0xf015d2(0x174));if(typeof _0x2a134b==_0xf015d2(0x20d)?(_0x317c27=_0x2a134b,_0x2a134b=_0x22c16e=void 0x0):typeof _0x22c16e==_0xf015d2(0x20d)&&(_0x317c27=_0x22c16e,_0x22c16e=void 0x0),typeof _0x2a134b==_0xf015d2(0x15d)&&(_0x2a134b=_0x2a134b[_0xf015d2(0x289)]()),this[_0xf015d2(0x1da)]!==_0x38b267[_0xf015d2(0x2e3)]){_0x4f878b(this,_0x2a134b,_0x317c27);return;}_0x22c16e===void 0x0&&(_0x22c16e=!this[_0xf015d2(0x186)]),this[_0xf015d2(0x17b)]['pong'](_0x2a134b||_0x53d1dc,_0x22c16e,_0x317c27);}[_0x4a12bc(0x226)](){const _0x9c808a=_0x4a12bc;this[_0x9c808a(0x1da)]===_0x38b267['CONNECTING']||this[_0x9c808a(0x1da)]===_0x38b267[_0x9c808a(0x26a)]||(this[_0x9c808a(0x18b)]=!0x1,this[_0x9c808a(0x1fa)][_0x9c808a(0x2f3)][_0x9c808a(0x2ee)]||this[_0x9c808a(0x2a5)][_0x9c808a(0x226)]());}[_0x4a12bc(0x239)](_0x11fc83,_0x54ab5a,_0x4162d7){const _0x37c72e=_0x4a12bc;if(this[_0x37c72e(0x1da)]===_0x38b267['CONNECTING'])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x54ab5a==_0x37c72e(0x20d)&&(_0x4162d7=_0x54ab5a,_0x54ab5a={}),typeof _0x11fc83==_0x37c72e(0x15d)&&(_0x11fc83=_0x11fc83['toString']()),this[_0x37c72e(0x1da)]!==_0x38b267[_0x37c72e(0x2e3)]){_0x4f878b(this,_0x11fc83,_0x4162d7);return;}const _0x30b5bb={'binary':typeof _0x11fc83!=_0x37c72e(0x1ff),'mask':!this['_isServer'],'compress':!0x0,'fin':!0x0,..._0x54ab5a};this[_0x37c72e(0x17d)][_0x3e79ca[_0x37c72e(0x28c)]]||(_0x30b5bb[_0x37c72e(0x172)]=!0x1),this[_0x37c72e(0x17b)][_0x37c72e(0x239)](_0x11fc83||_0x53d1dc,_0x30b5bb,_0x4162d7);}[_0x4a12bc(0x205)](){const _0x4fc503=_0x4a12bc;if(this[_0x4fc503(0x1da)]!==_0x38b267[_0x4fc503(0x26a)]){if(this[_0x4fc503(0x1da)]===_0x38b267[_0x4fc503(0x300)]){_0x434388(this,this[_0x4fc503(0x22a)],_0x4fc503(0x2f4));return;}this[_0x4fc503(0x2a5)]&&(this[_0x4fc503(0x231)]=_0x38b267[_0x4fc503(0x177)],this[_0x4fc503(0x2a5)][_0x4fc503(0x267)]());}}}Object['defineProperty'](_0x38b267,_0x4a12bc(0x300),{'enumerable':!0x0,'value':_0x2f6d9a[_0x4a12bc(0x21a)](_0x4a12bc(0x300))}),Object['defineProperty'](_0x38b267['prototype'],_0x4a12bc(0x300),{'enumerable':!0x0,'value':_0x2f6d9a[_0x4a12bc(0x21a)](_0x4a12bc(0x300))}),Object[_0x4a12bc(0x279)](_0x38b267,_0x4a12bc(0x2e3),{'enumerable':!0x0,'value':_0x2f6d9a['indexOf']('OPEN')}),Object[_0x4a12bc(0x279)](_0x38b267[_0x4a12bc(0x2dd)],_0x4a12bc(0x2e3),{'enumerable':!0x0,'value':_0x2f6d9a[_0x4a12bc(0x21a)](_0x4a12bc(0x2e3))}),Object[_0x4a12bc(0x279)](_0x38b267,_0x4a12bc(0x177),{'enumerable':!0x0,'value':_0x2f6d9a[_0x4a12bc(0x21a)]('CLOSING')}),Object[_0x4a12bc(0x279)](_0x38b267['prototype'],'CLOSING',{'enumerable':!0x0,'value':_0x2f6d9a['indexOf'](_0x4a12bc(0x177))}),Object[_0x4a12bc(0x279)](_0x38b267,_0x4a12bc(0x26a),{'enumerable':!0x0,'value':_0x2f6d9a[_0x4a12bc(0x21a)]('CLOSED')}),Object['defineProperty'](_0x38b267[_0x4a12bc(0x2dd)],'CLOSED',{'enumerable':!0x0,'value':_0x2f6d9a['indexOf'](_0x4a12bc(0x26a))}),[_0x4a12bc(0x1e2),_0x4a12bc(0x1c4),'extensions',_0x4a12bc(0x259),_0x4a12bc(0x2b2),_0x4a12bc(0x1da),_0x4a12bc(0x2c0)]['forEach'](_0x17cd35=>{const _0x266e2e=_0x4a12bc;Object[_0x266e2e(0x279)](_0x38b267['prototype'],_0x17cd35,{'enumerable':!0x0});}),[_0x4a12bc(0x2ef),_0x4a12bc(0x2b1),_0x4a12bc(0x228),'message']['forEach'](_0x9357f6=>{const _0x15a660=_0x4a12bc;Object['defineProperty'](_0x38b267[_0x15a660(0x2dd)],'on'+_0x9357f6,{'enumerable':!0x0,'get'(){const _0x536b19=_0x15a660;for(const _0x434565 of this[_0x536b19(0x29e)](_0x9357f6))if(_0x434565[_0x497379])return _0x434565[_0x1ee76c];return null;},'set'(_0x4b4421){const _0x221c29=_0x15a660;for(const _0x831867 of this['listeners'](_0x9357f6))if(_0x831867[_0x497379]){this[_0x221c29(0x2cc)](_0x9357f6,_0x831867);break;}typeof _0x4b4421==_0x221c29(0x20d)&&this[_0x221c29(0x2fa)](_0x9357f6,_0x4b4421,{[_0x497379]:!0x0});}});}),_0x38b267[_0x4a12bc(0x2dd)][_0x4a12bc(0x2fa)]=_0x3b894e,_0x38b267[_0x4a12bc(0x2dd)][_0x4a12bc(0x2f2)]=_0x344568,we=_0x38b267;function _0x45a19c(_0x1aa492,_0x56a5fc,_0x912c09,_0x47d4c0){const _0x315e2f=_0x4a12bc,_0x578561={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x3a8378[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x47d4c0,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x315e2f(0x1e6),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x1aa492[_0x315e2f(0x2c8)]=_0x578561[_0x315e2f(0x221)],!_0x3a8378[_0x315e2f(0x206)](_0x578561[_0x315e2f(0x235)]))throw new RangeError(_0x315e2f(0x263)+_0x578561[_0x315e2f(0x235)]+_0x315e2f(0x27c)+_0x3a8378[_0x315e2f(0x291)](',\x20')+')');let _0x50c845;if(_0x56a5fc instanceof _0x4759d6)_0x50c845=_0x56a5fc;else try{_0x50c845=new _0x4759d6(_0x56a5fc);}catch{throw new SyntaxError(_0x315e2f(0x188)+_0x56a5fc);}_0x50c845['protocol']===_0x315e2f(0x1c0)?_0x50c845[_0x315e2f(0x2b2)]=_0x315e2f(0x1e8):_0x50c845['protocol']===_0x315e2f(0x1d4)&&(_0x50c845[_0x315e2f(0x2b2)]='wss:'),_0x1aa492[_0x315e2f(0x1b7)]=_0x50c845[_0x315e2f(0x14d)];const _0x1cce25=_0x50c845[_0x315e2f(0x2b2)]===_0x315e2f(0x1ee),_0x27c937=_0x50c845[_0x315e2f(0x2b2)]==='ws+unix:';let _0x179b45;if(_0x50c845['protocol']!==_0x315e2f(0x1e8)&&!_0x1cce25&&!_0x27c937?_0x179b45=_0x315e2f(0x15b):_0x27c937&&!_0x50c845[_0x315e2f(0x1e3)]?_0x179b45=_0x315e2f(0x176):_0x50c845[_0x315e2f(0x295)]&&(_0x179b45=_0x315e2f(0x234)),_0x179b45){const _0x113a14=new SyntaxError(_0x179b45);if(_0x1aa492[_0x315e2f(0x1c8)]===0x0)throw _0x113a14;_0x433bb7(_0x1aa492,_0x113a14);return;}const _0x272162=_0x1cce25?0x1bb:0x50,_0x3ce1aa=_0x41f5e2(0x10)[_0x315e2f(0x289)](_0x315e2f(0x2a2)),_0x49866a=_0x1cce25?_0x305629[_0x315e2f(0x2d8)]:_0x2ebeac[_0x315e2f(0x2d8)],_0x322bcb=new Set();let _0x4d6aa0;if(_0x578561['createConnection']=_0x578561[_0x315e2f(0x20e)]||(_0x1cce25?_0xca53d3:_0x65d8e2),_0x578561[_0x315e2f(0x278)]=_0x578561[_0x315e2f(0x278)]||_0x272162,_0x578561[_0x315e2f(0x16c)]=_0x50c845['port']||_0x272162,_0x578561[_0x315e2f(0x1c5)]=_0x50c845[_0x315e2f(0x1fc)][_0x315e2f(0x187)]('[')?_0x50c845[_0x315e2f(0x1fc)]['slice'](0x1,-0x1):_0x50c845[_0x315e2f(0x1fc)],_0x578561[_0x315e2f(0x19f)]={..._0x578561[_0x315e2f(0x19f)],'Sec-WebSocket-Version':_0x578561[_0x315e2f(0x235)],'Sec-WebSocket-Key':_0x3ce1aa,'Connection':_0x315e2f(0x2d5),'Upgrade':'websocket'},_0x578561['path']=_0x50c845['pathname']+_0x50c845[_0x315e2f(0x15c)],_0x578561['timeout']=_0x578561['handshakeTimeout'],_0x578561[_0x315e2f(0x1ac)]&&(_0x4d6aa0=new _0x3e79ca(_0x578561[_0x315e2f(0x1ac)]!==!0x0?_0x578561[_0x315e2f(0x1ac)]:{},!0x1,_0x578561[_0x315e2f(0x2d1)]),_0x578561[_0x315e2f(0x19f)][_0x315e2f(0x19c)]=_0x239004({[_0x3e79ca[_0x315e2f(0x28c)]]:_0x4d6aa0['offer']()})),_0x912c09['length']){for(const _0x2b4163 of _0x912c09){if(typeof _0x2b4163!=_0x315e2f(0x1ff)||!_0x23957a[_0x315e2f(0x15f)](_0x2b4163)||_0x322bcb[_0x315e2f(0x2e5)](_0x2b4163))throw new SyntaxError(_0x315e2f(0x153));_0x322bcb[_0x315e2f(0x2a1)](_0x2b4163);}_0x578561[_0x315e2f(0x19f)][_0x315e2f(0x28f)]=_0x912c09[_0x315e2f(0x291)](',');}if(_0x578561[_0x315e2f(0x27a)]&&(_0x578561[_0x315e2f(0x235)]<0xd?_0x578561[_0x315e2f(0x19f)][_0x315e2f(0x165)]=_0x578561[_0x315e2f(0x27a)]:_0x578561[_0x315e2f(0x19f)][_0x315e2f(0x301)]=_0x578561[_0x315e2f(0x27a)]),(_0x50c845[_0x315e2f(0x209)]||_0x50c845[_0x315e2f(0x166)])&&(_0x578561[_0x315e2f(0x255)]=_0x50c845[_0x315e2f(0x209)]+':'+_0x50c845[_0x315e2f(0x166)]),_0x27c937){const _0x403688=_0x578561[_0x315e2f(0x246)][_0x315e2f(0x151)](':');_0x578561[_0x315e2f(0x302)]=_0x403688[0x0],_0x578561[_0x315e2f(0x246)]=_0x403688[0x1];}let _0x1db059;if(_0x578561['followRedirects']){if(_0x1aa492[_0x315e2f(0x1c8)]===0x0){_0x1aa492['_originalIpc']=_0x27c937,_0x1aa492[_0x315e2f(0x182)]=_0x1cce25,_0x1aa492[_0x315e2f(0x25a)]=_0x27c937?_0x578561[_0x315e2f(0x302)]:_0x50c845[_0x315e2f(0x1c5)];const _0x1f7841=_0x47d4c0&&_0x47d4c0[_0x315e2f(0x19f)];if(_0x47d4c0={..._0x47d4c0,'headers':{}},_0x1f7841){for(const [_0x4ed95f,_0x236d19]of Object['entries'](_0x1f7841))_0x47d4c0['headers'][_0x4ed95f[_0x315e2f(0x14b)]()]=_0x236d19;}}else{if(_0x1aa492[_0x315e2f(0x196)](_0x315e2f(0x2b3))===0x0){const _0x5a90e8=_0x27c937?_0x1aa492[_0x315e2f(0x202)]?_0x578561[_0x315e2f(0x302)]===_0x1aa492['_originalHostOrSocketPath']:!0x1:_0x1aa492['_originalIpc']?!0x1:_0x50c845['host']===_0x1aa492[_0x315e2f(0x25a)];(!_0x5a90e8||_0x1aa492['_originalSecure']&&!_0x1cce25)&&(delete _0x578561[_0x315e2f(0x19f)]['authorization'],delete _0x578561[_0x315e2f(0x19f)][_0x315e2f(0x1f6)],_0x5a90e8||delete _0x578561[_0x315e2f(0x19f)][_0x315e2f(0x1c5)],_0x578561[_0x315e2f(0x255)]=void 0x0);}}_0x578561[_0x315e2f(0x255)]&&!_0x47d4c0[_0x315e2f(0x19f)][_0x315e2f(0x1c9)]&&(_0x47d4c0[_0x315e2f(0x19f)][_0x315e2f(0x1c9)]=_0x315e2f(0x1dd)+Buffer[_0x315e2f(0x170)](_0x578561[_0x315e2f(0x255)])[_0x315e2f(0x289)](_0x315e2f(0x2a2))),_0x1db059=_0x1aa492['_req']=_0x49866a(_0x578561),_0x1aa492['_redirects']&&_0x1aa492[_0x315e2f(0x173)](_0x315e2f(0x2b3),_0x1aa492[_0x315e2f(0x2c0)],_0x1db059);}else _0x1db059=_0x1aa492[_0x315e2f(0x22a)]=_0x49866a(_0x578561);_0x578561['timeout']&&_0x1db059['on'](_0x315e2f(0x1c3),()=>{const _0x20f89c=_0x315e2f;_0x434388(_0x1aa492,_0x1db059,_0x20f89c(0x1ea));}),_0x1db059['on'](_0x315e2f(0x2b1),_0x257668=>{_0x1db059===null||_0x1db059[_0x2d12b8]||(_0x1db059=_0x1aa492['_req']=null,_0x433bb7(_0x1aa492,_0x257668));}),_0x1db059['on'](_0x315e2f(0x24f),_0x205992=>{const _0x3df91d=_0x315e2f,_0x344f8d=_0x205992['headers'][_0x3df91d(0x14e)],_0x3deaac=_0x205992[_0x3df91d(0x1a3)];if(_0x344f8d&&_0x578561[_0x3df91d(0x204)]&&_0x3deaac>=0x12c&&_0x3deaac<0x190){if(++_0x1aa492[_0x3df91d(0x1c8)]>_0x578561['maxRedirects']){_0x434388(_0x1aa492,_0x1db059,_0x3df91d(0x230));return;}_0x1db059[_0x3df91d(0x280)]();let _0x28cf6c;try{_0x28cf6c=new _0x4759d6(_0x344f8d,_0x56a5fc);}catch{const _0xdde7b5=new SyntaxError(_0x3df91d(0x188)+_0x344f8d);_0x433bb7(_0x1aa492,_0xdde7b5);return;}_0x45a19c(_0x1aa492,_0x28cf6c,_0x912c09,_0x47d4c0);}else _0x1aa492[_0x3df91d(0x173)](_0x3df91d(0x1d0),_0x1db059,_0x205992)||_0x434388(_0x1aa492,_0x1db059,'Unexpected\x20server\x20response:\x20'+_0x205992[_0x3df91d(0x1a3)]);}),_0x1db059['on'](_0x315e2f(0x2fe),(_0x43d8d0,_0x56bf32,_0x215acf)=>{const _0x3a4852=_0x315e2f;if(_0x1aa492[_0x3a4852(0x173)](_0x3a4852(0x2fe),_0x43d8d0),_0x1aa492[_0x3a4852(0x1da)]!==_0x38b267[_0x3a4852(0x300)])return;_0x1db059=_0x1aa492[_0x3a4852(0x22a)]=null;const _0x4e9d4d=_0x43d8d0['headers'][_0x3a4852(0x2fe)];if(_0x4e9d4d===void 0x0||_0x4e9d4d[_0x3a4852(0x14b)]()!==_0x3a4852(0x2bb)){_0x434388(_0x1aa492,_0x56bf32,_0x3a4852(0x158));return;}const _0x2c71cf=_0x276f42(_0x3a4852(0x1f4))[_0x3a4852(0x2cd)](_0x3ce1aa+_0x309d2d)[_0x3a4852(0x1ca)]('base64');if(_0x43d8d0[_0x3a4852(0x19f)][_0x3a4852(0x1e1)]!==_0x2c71cf){_0x434388(_0x1aa492,_0x56bf32,_0x3a4852(0x16a));return;}const _0x18e665=_0x43d8d0[_0x3a4852(0x19f)][_0x3a4852(0x249)];let _0x3b12c6;if(_0x18e665!==void 0x0?_0x322bcb[_0x3a4852(0x229)]?_0x322bcb['has'](_0x18e665)||(_0x3b12c6='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0x3b12c6=_0x3a4852(0x18f):_0x322bcb[_0x3a4852(0x229)]&&(_0x3b12c6=_0x3a4852(0x171)),_0x3b12c6){_0x434388(_0x1aa492,_0x56bf32,_0x3b12c6);return;}_0x18e665&&(_0x1aa492[_0x3a4852(0x1b9)]=_0x18e665);const _0x4c86ec=_0x43d8d0['headers'][_0x3a4852(0x210)];if(_0x4c86ec!==void 0x0){if(!_0x4d6aa0){_0x434388(_0x1aa492,_0x56bf32,_0x3a4852(0x270));return;}let _0x10fd86;try{_0x10fd86=_0x25ab7b(_0x4c86ec);}catch{_0x434388(_0x1aa492,_0x56bf32,_0x3a4852(0x17c));return;}const _0x48f220=Object[_0x3a4852(0x2e4)](_0x10fd86);if(_0x48f220[_0x3a4852(0x208)]!==0x1||_0x48f220[0x0]!==_0x3e79ca['extensionName']){_0x434388(_0x1aa492,_0x56bf32,_0x3a4852(0x211));return;}try{_0x4d6aa0['accept'](_0x10fd86[_0x3e79ca[_0x3a4852(0x28c)]]);}catch{_0x434388(_0x1aa492,_0x56bf32,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}_0x1aa492[_0x3a4852(0x17d)][_0x3e79ca[_0x3a4852(0x28c)]]=_0x4d6aa0;}_0x1aa492['setSocket'](_0x56bf32,_0x215acf,{'allowSynchronousEvents':_0x578561[_0x3a4852(0x149)],'generateMask':_0x578561[_0x3a4852(0x2e1)],'maxPayload':_0x578561[_0x3a4852(0x2d1)],'skipUTF8Validation':_0x578561[_0x3a4852(0x2e6)]});}),_0x578561[_0x315e2f(0x1db)]?_0x578561[_0x315e2f(0x1db)](_0x1db059,_0x1aa492):_0x1db059[_0x315e2f(0x194)]();}function _0x433bb7(_0x18a475,_0x19290f){const _0x4df9da=_0x4a12bc;_0x18a475[_0x4df9da(0x231)]=_0x38b267[_0x4df9da(0x177)],_0x18a475[_0x4df9da(0x293)]=!0x0,_0x18a475[_0x4df9da(0x173)](_0x4df9da(0x2b1),_0x19290f),_0x18a475[_0x4df9da(0x212)]();}function _0x65d8e2(_0x1be77a){const _0x3ebb52=_0x4a12bc;return _0x1be77a[_0x3ebb52(0x246)]=_0x1be77a['socketPath'],_0x425ba4['connect'](_0x1be77a);}function _0xca53d3(_0x5ac54d){const _0x5a1cde=_0x4a12bc;return _0x5ac54d['path']=void 0x0,!_0x5ac54d['servername']&&_0x5ac54d[_0x5a1cde(0x21e)]!==''&&(_0x5ac54d[_0x5a1cde(0x21e)]=_0x425ba4[_0x5a1cde(0x1b5)](_0x5ac54d[_0x5a1cde(0x1c5)])?'':_0x5ac54d['host']),_0x437fa3[_0x5a1cde(0x294)](_0x5ac54d);}function _0x434388(_0x263c34,_0x4008bc,_0x4e31ba){const _0x51aa3e=_0x4a12bc;_0x263c34[_0x51aa3e(0x231)]=_0x38b267[_0x51aa3e(0x177)];const _0x4095d4=new Error(_0x4e31ba);Error['captureStackTrace'](_0x4095d4,_0x434388),_0x4008bc[_0x51aa3e(0x1f5)]?(_0x4008bc[_0x2d12b8]=!0x0,_0x4008bc[_0x51aa3e(0x280)](),_0x4008bc['socket']&&!_0x4008bc[_0x51aa3e(0x268)][_0x51aa3e(0x2ea)]&&_0x4008bc[_0x51aa3e(0x268)][_0x51aa3e(0x267)](),process[_0x51aa3e(0x18d)](_0x433bb7,_0x263c34,_0x4095d4)):(_0x4008bc[_0x51aa3e(0x267)](_0x4095d4),_0x4008bc[_0x51aa3e(0x2e8)](_0x51aa3e(0x2b1),_0x263c34['emit']['bind'](_0x263c34,'error')),_0x4008bc['once'](_0x51aa3e(0x228),_0x263c34[_0x51aa3e(0x212)][_0x51aa3e(0x1b3)](_0x263c34)));}function _0x4f878b(_0x3bc7c3,_0x1a3702,_0x55372b){const _0x402f97=_0x4a12bc;if(_0x1a3702){const _0x495513=_0x1ba75c(_0x1a3702)?_0x1a3702[_0x402f97(0x229)]:_0x5b4aa1(_0x1a3702)[_0x402f97(0x208)];_0x3bc7c3[_0x402f97(0x2a5)]?_0x3bc7c3[_0x402f97(0x17b)][_0x402f97(0x2b0)]+=_0x495513:_0x3bc7c3['_bufferedAmount']+=_0x495513;}if(_0x55372b){const _0x1fa78b=new Error(_0x402f97(0x28a)+_0x3bc7c3[_0x402f97(0x1da)]+'\x20('+_0x2f6d9a[_0x3bc7c3[_0x402f97(0x1da)]]+')');process[_0x402f97(0x18d)](_0x55372b,_0x1fa78b);}}function _0x16aac7(_0x44b464,_0x48c11a){const _0x1d020c=_0x4a12bc,_0x22af12=this[_0x3b31d6];_0x22af12[_0x1d020c(0x25e)]=!0x0,_0x22af12[_0x1d020c(0x24e)]=_0x48c11a,_0x22af12[_0x1d020c(0x299)]=_0x44b464,_0x22af12[_0x1d020c(0x2a5)][_0x3b31d6]!==void 0x0&&(_0x22af12[_0x1d020c(0x2a5)][_0x1d020c(0x2cc)](_0x1d020c(0x1ef),_0xbffcd6),process[_0x1d020c(0x18d)](_0x4b14da,_0x22af12[_0x1d020c(0x2a5)]),_0x44b464===0x3ed?_0x22af12[_0x1d020c(0x228)]():_0x22af12['close'](_0x44b464,_0x48c11a));}function _0x435cc6(){const _0x184a27=_0x4a12bc,_0x1e8058=this[_0x3b31d6];_0x1e8058['isPaused']||_0x1e8058[_0x184a27(0x2a5)][_0x184a27(0x226)]();}function _0x5e9209(_0x28ee9d){const _0x36d93f=_0x4a12bc,_0x246a46=this[_0x3b31d6];_0x246a46['_socket'][_0x3b31d6]!==void 0x0&&(_0x246a46[_0x36d93f(0x2a5)][_0x36d93f(0x2cc)]('data',_0xbffcd6),process[_0x36d93f(0x18d)](_0x4b14da,_0x246a46[_0x36d93f(0x2a5)]),_0x246a46[_0x36d93f(0x228)](_0x28ee9d[_0x2b8ac0])),_0x246a46['_errorEmitted']||(_0x246a46[_0x36d93f(0x293)]=!0x0,_0x246a46[_0x36d93f(0x173)]('error',_0x28ee9d));}function _0x2347c8(){const _0x2d34c8=_0x4a12bc;this[_0x3b31d6][_0x2d34c8(0x212)]();}function _0x14e2db(_0x1150c3,_0x272ccd){const _0x3297c9=_0x4a12bc;this[_0x3b31d6][_0x3297c9(0x173)](_0x3297c9(0x219),_0x1150c3,_0x272ccd);}function _0x53e519(_0x252e3d){const _0x211613=_0x4a12bc,_0x5027da=this[_0x3b31d6];_0x5027da[_0x211613(0x2c8)]&&_0x5027da[_0x211613(0x2a3)](_0x252e3d,!this[_0x211613(0x186)],_0x5556c8),_0x5027da[_0x211613(0x173)]('ping',_0x252e3d);}function _0x546ad7(_0x4ffb14){const _0x4416a6=_0x4a12bc;this[_0x3b31d6]['emit'](_0x4416a6(0x2a3),_0x4ffb14);}function _0x4b14da(_0x55a03e){_0x55a03e['resume']();}function _0x2edebb(_0x3cf196){const _0x2e975b=_0x4a12bc,_0x33a23d=this[_0x3b31d6];_0x33a23d[_0x2e975b(0x1da)]!==_0x38b267[_0x2e975b(0x26a)]&&(_0x33a23d['readyState']===_0x38b267[_0x2e975b(0x2e3)]&&(_0x33a23d[_0x2e975b(0x231)]=_0x38b267[_0x2e975b(0x177)],_0x2e33f4(_0x33a23d)),this['_socket'][_0x2e975b(0x194)](),_0x33a23d['_errorEmitted']||(_0x33a23d[_0x2e975b(0x293)]=!0x0,_0x33a23d[_0x2e975b(0x173)]('error',_0x3cf196)));}function _0x2e33f4(_0x33f2c5){const _0xd95208=_0x4a12bc;_0x33f2c5[_0xd95208(0x154)]=setTimeout(_0x33f2c5[_0xd95208(0x2a5)][_0xd95208(0x267)][_0xd95208(0x1b3)](_0x33f2c5['_socket']),_0x2a0806);}function _0x344bd4(){const _0x531d96=_0x4a12bc,_0x32009a=this[_0x3b31d6];this[_0x531d96(0x2cc)](_0x531d96(0x228),_0x344bd4),this['removeListener']('data',_0xbffcd6),this[_0x531d96(0x2cc)](_0x531d96(0x194),_0x3acbf7),_0x32009a[_0x531d96(0x231)]=_0x38b267[_0x531d96(0x177)];let _0x1302c7;!this[_0x531d96(0x282)]['endEmitted']&&!_0x32009a['_closeFrameReceived']&&!_0x32009a[_0x531d96(0x1fa)][_0x531d96(0x2f3)]['errorEmitted']&&(_0x1302c7=_0x32009a['_socket']['read']())!==null&&_0x32009a['_receiver'][_0x531d96(0x2bd)](_0x1302c7),_0x32009a['_receiver'][_0x531d96(0x194)](),this[_0x3b31d6]=void 0x0,clearTimeout(_0x32009a['_closeTimer']),_0x32009a[_0x531d96(0x1fa)]['_writableState'][_0x531d96(0x213)]||_0x32009a[_0x531d96(0x1fa)][_0x531d96(0x2f3)][_0x531d96(0x237)]?_0x32009a[_0x531d96(0x212)]():(_0x32009a['_receiver']['on'](_0x531d96(0x2b1),_0x2347c8),_0x32009a['_receiver']['on'](_0x531d96(0x200),_0x2347c8));}function _0xbffcd6(_0x5cfa27){const _0xd502c=_0x4a12bc;this[_0x3b31d6][_0xd502c(0x1fa)][_0xd502c(0x2bd)](_0x5cfa27)||this[_0xd502c(0x1a7)]();}function _0x3acbf7(){const _0x3ff5c8=_0x4a12bc,_0x93dbce=this[_0x3b31d6];_0x93dbce[_0x3ff5c8(0x231)]=_0x38b267['CLOSING'],_0x93dbce[_0x3ff5c8(0x1fa)][_0x3ff5c8(0x194)](),this[_0x3ff5c8(0x194)]();}function _0x112ccd(){const _0x2ea9a0=_0x4a12bc,_0x4ca048=this[_0x3b31d6];this[_0x2ea9a0(0x2cc)]('error',_0x112ccd),this['on'](_0x2ea9a0(0x2b1),_0x5556c8),_0x4ca048&&(_0x4ca048[_0x2ea9a0(0x231)]=_0x38b267[_0x2ea9a0(0x177)],this['destroy']());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x1fa1f4}=_0x2440cb;function _0x2f51ec(_0x45bdbc){const _0x3c2689=_0x40b5;_0x45bdbc['emit'](_0x3c2689(0x228));}function _0x9addc9(){const _0x2388dc=_0x40b5;!this[_0x2388dc(0x2ea)]&&this[_0x2388dc(0x2f3)][_0x2388dc(0x213)]&&this[_0x2388dc(0x267)]();}function _0x295050(_0x1d710e){const _0x5c7071=_0x40b5;this[_0x5c7071(0x2cc)](_0x5c7071(0x2b1),_0x295050),this[_0x5c7071(0x267)](),this[_0x5c7071(0x196)](_0x5c7071(0x2b1))===0x0&&this[_0x5c7071(0x173)]('error',_0x1d710e);}function _0xbdb1c(_0xec41fa,_0x9e20c6){const _0x21cda1=_0x40b5;let _0x19de26=!0x0;const _0x310af4=new _0x1fa1f4({..._0x9e20c6,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0xec41fa['on'](_0x21cda1(0x219),function(_0x278f68,_0x46af39){const _0x1d60e8=_0x21cda1,_0x2c1386=!_0x46af39&&_0x310af4['_readableState'][_0x1d60e8(0x1a0)]?_0x278f68[_0x1d60e8(0x289)]():_0x278f68;_0x310af4['push'](_0x2c1386)||_0xec41fa[_0x1d60e8(0x1a7)]();}),_0xec41fa['once']('error',function(_0x458c67){const _0x5ee1a4=_0x21cda1;_0x310af4[_0x5ee1a4(0x2ea)]||(_0x19de26=!0x1,_0x310af4['destroy'](_0x458c67));}),_0xec41fa[_0x21cda1(0x2e8)](_0x21cda1(0x228),function(){const _0x1c92c4=_0x21cda1;_0x310af4[_0x1c92c4(0x2ea)]||_0x310af4[_0x1c92c4(0x197)](null);}),_0x310af4[_0x21cda1(0x16d)]=function(_0x4f46c4,_0x1d1afb){const _0x16ecf7=_0x21cda1;if(_0xec41fa[_0x16ecf7(0x1da)]===_0xec41fa[_0x16ecf7(0x26a)]){_0x1d1afb(_0x4f46c4),process[_0x16ecf7(0x18d)](_0x2f51ec,_0x310af4);return;}let _0x17b156=!0x1;_0xec41fa[_0x16ecf7(0x2e8)](_0x16ecf7(0x2b1),function(_0xab30d2){_0x17b156=!0x0,_0x1d1afb(_0xab30d2);}),_0xec41fa['once'](_0x16ecf7(0x228),function(){_0x17b156||_0x1d1afb(_0x4f46c4),process['nextTick'](_0x2f51ec,_0x310af4);}),_0x19de26&&_0xec41fa[_0x16ecf7(0x205)]();},_0x310af4[_0x21cda1(0x2af)]=function(_0x4f9e63){const _0x30e26f=_0x21cda1;if(_0xec41fa[_0x30e26f(0x1da)]===_0xec41fa['CONNECTING']){_0xec41fa[_0x30e26f(0x2e8)]('open',function(){_0x310af4['_final'](_0x4f9e63);});return;}_0xec41fa[_0x30e26f(0x2a5)]!==null&&(_0xec41fa[_0x30e26f(0x2a5)][_0x30e26f(0x2f3)][_0x30e26f(0x213)]?(_0x4f9e63(),_0x310af4['_readableState']['endEmitted']&&_0x310af4['destroy']()):(_0xec41fa[_0x30e26f(0x2a5)]['once'](_0x30e26f(0x200),function(){_0x4f9e63();}),_0xec41fa[_0x30e26f(0x228)]()));},_0x310af4[_0x21cda1(0x2e7)]=function(){const _0x2272ff=_0x21cda1;_0xec41fa[_0x2272ff(0x259)]&&_0xec41fa['resume']();},_0x310af4['_write']=function(_0x2fff1c,_0xb75d40,_0x15bd59){const _0x443366=_0x21cda1;if(_0xec41fa[_0x443366(0x1da)]===_0xec41fa[_0x443366(0x300)]){_0xec41fa[_0x443366(0x2e8)](_0x443366(0x2ef),function(){_0x310af4['_write'](_0x2fff1c,_0xb75d40,_0x15bd59);});return;}_0xec41fa[_0x443366(0x239)](_0x2fff1c,_0x15bd59);},_0x310af4['on'](_0x21cda1(0x194),_0x9addc9),_0x310af4['on'](_0x21cda1(0x2b1),_0x295050),_0x310af4;}return Oe=_0xbdb1c,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=jt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x13b6f1}=ne();function _0x53b472(_0x5a25a0){const _0x37823b=_0x40b5,_0x30f336=new Set();let _0x4ae348=-0x1,_0x9d76ee=-0x1,_0x1c2447=0x0;for(_0x1c2447;_0x1c2447<_0x5a25a0[_0x37823b(0x208)];_0x1c2447++){const _0x18b601=_0x5a25a0['charCodeAt'](_0x1c2447);if(_0x9d76ee===-0x1&&_0x13b6f1[_0x18b601]===0x1)_0x4ae348===-0x1&&(_0x4ae348=_0x1c2447);else{if(_0x1c2447!==0x0&&(_0x18b601===0x20||_0x18b601===0x9))_0x9d76ee===-0x1&&_0x4ae348!==-0x1&&(_0x9d76ee=_0x1c2447);else{if(_0x18b601===0x2c){if(_0x4ae348===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x1c2447);_0x9d76ee===-0x1&&(_0x9d76ee=_0x1c2447);const _0x5e577c=_0x5a25a0['slice'](_0x4ae348,_0x9d76ee);if(_0x30f336['has'](_0x5e577c))throw new SyntaxError(_0x37823b(0x2bc)+_0x5e577c+'\x22\x20subprotocol\x20is\x20duplicated');_0x30f336['add'](_0x5e577c),_0x4ae348=_0x9d76ee=-0x1;}else throw new SyntaxError(_0x37823b(0x2ab)+_0x1c2447);}}}if(_0x4ae348===-0x1||_0x9d76ee!==-0x1)throw new SyntaxError(_0x37823b(0x2cf));const _0x231db5=_0x5a25a0[_0x37823b(0x22d)](_0x4ae348,_0x1c2447);if(_0x30f336[_0x37823b(0x2e5)](_0x231db5))throw new SyntaxError(_0x37823b(0x2bc)+_0x231db5+_0x37823b(0x2e0));return _0x30f336[_0x37823b(0x2a1)](_0x231db5),_0x30f336;}return Ce={'parse':_0x53b472},Ce;}var Te,ot;function er(){const _0xb891c4=_0x428a1f;if(ot)return Te;ot=0x1;const _0x5c532d=_0x2a163f,_0xcb7539=_0x43dc55,{Duplex:_0x50970e}=_0x2440cb,{createHash:_0x23147d}=_0x29696a,_0x5373fc=pt(),_0x40a259=he(),_0x4adbe8=Jt(),_0x560767=Ie(),{GUID:_0x352eb4,kWebSocket:_0x191950}=V(),_0x462c49=/^[+/0-9A-Za-z]{22}==$/,_0x451dd3=0x0,_0x2774b2=0x1,_0x49dcec=0x2;class _0x51e3c1 extends _0x5c532d{constructor(_0x278df6,_0x3fb5c4){const _0x1d2539=_0x40b5;if(super(),_0x278df6={'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':_0x560767,..._0x278df6},_0x278df6[_0x1d2539(0x16c)]==null&&!_0x278df6[_0x1d2539(0x269)]&&!_0x278df6[_0x1d2539(0x2b6)]||_0x278df6[_0x1d2539(0x16c)]!=null&&(_0x278df6['server']||_0x278df6['noServer'])||_0x278df6[_0x1d2539(0x269)]&&_0x278df6[_0x1d2539(0x2b6)])throw new TypeError(_0x1d2539(0x19a));if(_0x278df6[_0x1d2539(0x16c)]!=null?(this[_0x1d2539(0x2ad)]=_0xcb7539[_0x1d2539(0x250)]((_0x2b1e2a,_0x378ffb)=>{const _0x5eacd4=_0x1d2539,_0x57fb3c=_0xcb7539['STATUS_CODES'][0x1aa];_0x378ffb['writeHead'](0x1aa,{'Content-Length':_0x57fb3c[_0x5eacd4(0x208)],'Content-Type':_0x5eacd4(0x275)}),_0x378ffb[_0x5eacd4(0x194)](_0x57fb3c);}),this[_0x1d2539(0x2ad)][_0x1d2539(0x28b)](_0x278df6[_0x1d2539(0x16c)],_0x278df6['host'],_0x278df6[_0x1d2539(0x29d)],_0x3fb5c4)):_0x278df6['server']&&(this[_0x1d2539(0x2ad)]=_0x278df6[_0x1d2539(0x269)]),this[_0x1d2539(0x2ad)]){const _0x380422=this[_0x1d2539(0x173)][_0x1d2539(0x1b3)](this,_0x1d2539(0x28e));this['_removeListeners']=_0x6711c3(this[_0x1d2539(0x2ad)],{'listening':this['emit'][_0x1d2539(0x1b3)](this,_0x1d2539(0x214)),'error':this[_0x1d2539(0x173)]['bind'](this,_0x1d2539(0x2b1)),'upgrade':(_0x3237b2,_0x476730,_0x2e1177)=>{const _0x1bcdd5=_0x1d2539;this[_0x1bcdd5(0x1f1)](_0x3237b2,_0x476730,_0x2e1177,_0x380422);}});}_0x278df6[_0x1d2539(0x1ac)]===!0x0&&(_0x278df6[_0x1d2539(0x1ac)]={}),_0x278df6[_0x1d2539(0x2a7)]&&(this[_0x1d2539(0x21d)]=new Set(),this[_0x1d2539(0x162)]=!0x1),this['options']=_0x278df6,this[_0x1d2539(0x243)]=_0x451dd3;}[_0xb891c4(0x296)](){const _0x35a099=_0xb891c4;if(this[_0x35a099(0x245)]['noServer'])throw new Error(_0x35a099(0x276));return this[_0x35a099(0x2ad)]?this[_0x35a099(0x2ad)][_0x35a099(0x296)]():null;}[_0xb891c4(0x228)](_0x235b22){const _0x44c527=_0xb891c4;if(this[_0x44c527(0x243)]===_0x49dcec){_0x235b22&&this['once'](_0x44c527(0x228),()=>{const _0x1a3dd3=_0x44c527;_0x235b22(new Error(_0x1a3dd3(0x253)));}),process[_0x44c527(0x18d)](_0x37906d,this);return;}if(_0x235b22&&this[_0x44c527(0x2e8)](_0x44c527(0x228),_0x235b22),this[_0x44c527(0x243)]!==_0x2774b2){if(this['_state']=_0x2774b2,this[_0x44c527(0x245)]['noServer']||this['options'][_0x44c527(0x269)])this[_0x44c527(0x2ad)]&&(this[_0x44c527(0x175)](),this['_removeListeners']=this[_0x44c527(0x2ad)]=null),this[_0x44c527(0x21d)]?this[_0x44c527(0x21d)]['size']?this[_0x44c527(0x162)]=!0x0:process[_0x44c527(0x18d)](_0x37906d,this):process[_0x44c527(0x18d)](_0x37906d,this);else{const _0x1d22f4=this[_0x44c527(0x2ad)];this[_0x44c527(0x175)](),this[_0x44c527(0x175)]=this['_server']=null,_0x1d22f4['close'](()=>{_0x37906d(this);});}}}[_0xb891c4(0x241)](_0x56b4d6){const _0x4455dc=_0xb891c4;if(this[_0x4455dc(0x245)][_0x4455dc(0x246)]){const _0x505c71=_0x56b4d6[_0x4455dc(0x2c0)][_0x4455dc(0x21a)]('?');if((_0x505c71!==-0x1?_0x56b4d6[_0x4455dc(0x2c0)][_0x4455dc(0x22d)](0x0,_0x505c71):_0x56b4d6['url'])!==this[_0x4455dc(0x245)][_0x4455dc(0x246)])return!0x1;}return!0x0;}['handleUpgrade'](_0x1684d3,_0x21c1fd,_0x5aa439,_0x4d49b3){const _0xcb70c4=_0xb891c4;_0x21c1fd['on']('error',_0xa9663f);const _0x3643c0=_0x1684d3[_0xcb70c4(0x19f)][_0xcb70c4(0x24b)],_0x4c238f=_0x1684d3['headers'][_0xcb70c4(0x2fe)],_0x3a29a5=+_0x1684d3[_0xcb70c4(0x19f)][_0xcb70c4(0x1f8)];if(_0x1684d3[_0xcb70c4(0x21f)]!=='GET'){_0x15893c(this,_0x1684d3,_0x21c1fd,0x195,'Invalid\x20HTTP\x20method');return;}if(_0x4c238f===void 0x0||_0x4c238f[_0xcb70c4(0x14b)]()!==_0xcb70c4(0x2bb)){_0x15893c(this,_0x1684d3,_0x21c1fd,0x190,_0xcb70c4(0x158));return;}if(_0x3643c0===void 0x0||!_0x462c49[_0xcb70c4(0x15f)](_0x3643c0)){_0x15893c(this,_0x1684d3,_0x21c1fd,0x190,_0xcb70c4(0x1de));return;}if(_0x3a29a5!==0x8&&_0x3a29a5!==0xd){_0x15893c(this,_0x1684d3,_0x21c1fd,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header');return;}if(!this[_0xcb70c4(0x241)](_0x1684d3)){_0x215d2e(_0x21c1fd,0x190);return;}const _0x104a9d=_0x1684d3['headers']['sec-websocket-protocol'];let _0x1ba454=new Set();if(_0x104a9d!==void 0x0)try{_0x1ba454=_0x4adbe8[_0xcb70c4(0x1ab)](_0x104a9d);}catch{_0x15893c(this,_0x1684d3,_0x21c1fd,0x190,_0xcb70c4(0x16e));return;}const _0x1d3e0c=_0x1684d3[_0xcb70c4(0x19f)]['sec-websocket-extensions'],_0x2bb968={};if(this[_0xcb70c4(0x245)][_0xcb70c4(0x1ac)]&&_0x1d3e0c!==void 0x0){const _0x202097=new _0x40a259(this[_0xcb70c4(0x245)][_0xcb70c4(0x1ac)],!0x0,this[_0xcb70c4(0x245)][_0xcb70c4(0x2d1)]);try{const _0x23a35e=_0x5373fc['parse'](_0x1d3e0c);_0x23a35e[_0x40a259['extensionName']]&&(_0x202097[_0xcb70c4(0x1fd)](_0x23a35e[_0x40a259[_0xcb70c4(0x28c)]]),_0x2bb968[_0x40a259[_0xcb70c4(0x28c)]]=_0x202097);}catch{_0x15893c(this,_0x1684d3,_0x21c1fd,0x190,_0xcb70c4(0x192));return;}}if(this['options'][_0xcb70c4(0x2a0)]){const _0x5dbe28={'origin':_0x1684d3[_0xcb70c4(0x19f)][''+(_0x3a29a5===0x8?_0xcb70c4(0x2f7):'origin')],'secure':!!(_0x1684d3[_0xcb70c4(0x268)][_0xcb70c4(0x2a6)]||_0x1684d3[_0xcb70c4(0x268)][_0xcb70c4(0x2de)]),'req':_0x1684d3};if(this['options'][_0xcb70c4(0x2a0)][_0xcb70c4(0x208)]===0x2){this[_0xcb70c4(0x245)]['verifyClient'](_0x5dbe28,(_0x5f9ce6,_0x483c79,_0x4484c7,_0x284ca1)=>{const _0x5a72ba=_0xcb70c4;if(!_0x5f9ce6)return _0x215d2e(_0x21c1fd,_0x483c79||0x191,_0x4484c7,_0x284ca1);this[_0x5a72ba(0x2f6)](_0x2bb968,_0x3643c0,_0x1ba454,_0x1684d3,_0x21c1fd,_0x5aa439,_0x4d49b3);});return;}if(!this[_0xcb70c4(0x245)][_0xcb70c4(0x2a0)](_0x5dbe28))return _0x215d2e(_0x21c1fd,0x191);}this[_0xcb70c4(0x2f6)](_0x2bb968,_0x3643c0,_0x1ba454,_0x1684d3,_0x21c1fd,_0x5aa439,_0x4d49b3);}['completeUpgrade'](_0x441734,_0x58e07d,_0x45618a,_0x4739e1,_0x47b8d8,_0x4e53a2,_0x41a30d){const _0x2e78ae=_0xb891c4;if(!_0x47b8d8['readable']||!_0x47b8d8['writable'])return _0x47b8d8['destroy']();if(_0x47b8d8[_0x191950])throw new Error(_0x2e78ae(0x2f0));if(this[_0x2e78ae(0x243)]>_0x451dd3)return _0x215d2e(_0x47b8d8,0x1f7);const _0x1098d0=[_0x2e78ae(0x285),_0x2e78ae(0x184),_0x2e78ae(0x150),_0x2e78ae(0x164)+_0x23147d(_0x2e78ae(0x1f4))['update'](_0x58e07d+_0x352eb4)[_0x2e78ae(0x1ca)](_0x2e78ae(0x2a2))],_0x1819f4=new this[(_0x2e78ae(0x245))]['WebSocket'](null,void 0x0,this[_0x2e78ae(0x245)]);if(_0x45618a[_0x2e78ae(0x229)]){const _0x1450f8=this['options'][_0x2e78ae(0x1d1)]?this[_0x2e78ae(0x245)][_0x2e78ae(0x1d1)](_0x45618a,_0x4739e1):_0x45618a[_0x2e78ae(0x1d6)]()[_0x2e78ae(0x1a5)]()['value'];_0x1450f8&&(_0x1098d0[_0x2e78ae(0x197)](_0x2e78ae(0x1aa)+_0x1450f8),_0x1819f4[_0x2e78ae(0x1b9)]=_0x1450f8);}if(_0x441734[_0x40a259['extensionName']]){const _0x3b343a=_0x441734[_0x40a259[_0x2e78ae(0x28c)]][_0x2e78ae(0x19e)],_0x4b3231=_0x5373fc[_0x2e78ae(0x18a)]({[_0x40a259[_0x2e78ae(0x28c)]]:[_0x3b343a]});_0x1098d0[_0x2e78ae(0x197)](_0x2e78ae(0x16f)+_0x4b3231),_0x1819f4['_extensions']=_0x441734;}this[_0x2e78ae(0x173)](_0x2e78ae(0x19f),_0x1098d0,_0x4739e1),_0x47b8d8[_0x2e78ae(0x2bd)](_0x1098d0[_0x2e78ae(0x27e)]('\x0d\x0a')[_0x2e78ae(0x291)]('\x0d\x0a')),_0x47b8d8[_0x2e78ae(0x2cc)](_0x2e78ae(0x2b1),_0xa9663f),_0x1819f4[_0x2e78ae(0x2b8)](_0x47b8d8,_0x4e53a2,{'allowSynchronousEvents':this[_0x2e78ae(0x245)][_0x2e78ae(0x149)],'maxPayload':this['options'][_0x2e78ae(0x2d1)],'skipUTF8Validation':this[_0x2e78ae(0x245)][_0x2e78ae(0x2e6)]}),this[_0x2e78ae(0x21d)]&&(this[_0x2e78ae(0x21d)]['add'](_0x1819f4),_0x1819f4['on'](_0x2e78ae(0x228),()=>{const _0x7763d4=_0x2e78ae;this['clients'][_0x7763d4(0x159)](_0x1819f4),this['_shouldEmitClose']&&!this[_0x7763d4(0x21d)]['size']&&process['nextTick'](_0x37906d,this);})),_0x41a30d(_0x1819f4,_0x4739e1);}}Te=_0x51e3c1;function _0x6711c3(_0x4973b6,_0x22e123){for(const _0x52fa89 of Object['keys'](_0x22e123))_0x4973b6['on'](_0x52fa89,_0x22e123[_0x52fa89]);return function(){const _0x2448b7=_0x40b5;for(const _0x571fe3 of Object['keys'](_0x22e123))_0x4973b6[_0x2448b7(0x2cc)](_0x571fe3,_0x22e123[_0x571fe3]);};}function _0x37906d(_0x1b6197){const _0x48609b=_0xb891c4;_0x1b6197['_state']=_0x49dcec,_0x1b6197[_0x48609b(0x173)](_0x48609b(0x228));}function _0xa9663f(){this['destroy']();}function _0x215d2e(_0x4d8fa5,_0x5a8f2a,_0x2c2a45,_0x3d5d48){const _0x17f6ae=_0xb891c4;_0x2c2a45=_0x2c2a45||_0xcb7539[_0x17f6ae(0x1e0)][_0x5a8f2a],_0x3d5d48={'Connection':'close','Content-Type':_0x17f6ae(0x23a),'Content-Length':Buffer['byteLength'](_0x2c2a45),..._0x3d5d48},_0x4d8fa5[_0x17f6ae(0x2e8)](_0x17f6ae(0x200),_0x4d8fa5[_0x17f6ae(0x267)]),_0x4d8fa5[_0x17f6ae(0x194)](_0x17f6ae(0x242)+_0x5a8f2a+'\x20'+_0xcb7539[_0x17f6ae(0x1e0)][_0x5a8f2a]+'\x0d\x0a'+Object[_0x17f6ae(0x2e4)](_0x3d5d48)[_0x17f6ae(0x18e)](_0x3e508b=>_0x3e508b+':\x20'+_0x3d5d48[_0x3e508b])['join']('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0x2c2a45);}function _0x15893c(_0x359b1d,_0x5ede6c,_0x485337,_0x5201d1,_0x2b2332){const _0x268d46=_0xb891c4;if(_0x359b1d[_0x268d46(0x196)]('wsClientError')){const _0x2cfe1a=new Error(_0x2b2332);Error[_0x268d46(0x2ae)](_0x2cfe1a,_0x15893c),_0x359b1d['emit'](_0x268d46(0x17f),_0x2cfe1a,_0x485337,_0x5ede6c);}else _0x215d2e(_0x485337,_0x5201d1,_0x2b2332);}return Te;}er();var tr=Object[_0x428a1f(0x240)],rr=(_0x514d0d,_0x5cdef4,_0x5691f9,_0x5ddedd)=>{const _0x38865d=_0x428a1f;for(var _0x343e7e=_0x5ddedd>0x1?void 0x0:_0x5ddedd?tr(_0x5cdef4,_0x5691f9):_0x5cdef4,_0x299806=_0x514d0d[_0x38865d(0x208)]-0x1,_0x289d88;_0x299806>=0x0;_0x299806--)(_0x289d88=_0x514d0d[_0x299806])&&(_0x343e7e=_0x289d88(_0x343e7e)||_0x343e7e);return _0x343e7e;},sr=(_0x21ebec,_0x205348)=>(_0x2aaa65,_0x519dd2)=>_0x205348(_0x2aaa65,_0x519dd2,_0x21ebec);let Ne=class extends _0x4cdc4f{constructor(_0xa92443){const _0x483e2a=_0x428a1f;super(),this[_0x483e2a(0x29a)]=_0xa92443;}[_0x428a1f(0x156)](_0x4d439b){const _0x43064c=_0x428a1f;var _0x168c91;const _0x49bb39=(_0x168c91=this[_0x43064c(0x29a)][_0x43064c(0x1be)](Be))==null?void 0x0:_0x168c91[_0x43064c(0x1d3)];try{const _0x4d7f5b=new Qt(_0x4d439b,{'headers':{..._0x49bb39}}),_0x5171c2=new _0x507d60();return{'URL':_0x4d439b,'close':(_0x549520,_0x3f119b)=>{const _0xe16d18=_0x43064c;_0x4d7f5b[_0xe16d18(0x228)](_0x549520,_0x3f119b),_0x5171c2[_0xe16d18(0x297)]();},'send':_0x5cc227=>{const _0x2e405f=_0x43064c;_0x4d7f5b[_0x2e405f(0x239)](_0x5cc227);},'open$':new _0x1aeb65(_0x572d55=>{const _0x5c3b70=_0x43064c,_0x104fd9=_0x8097f6=>_0x572d55[_0x5c3b70(0x1a5)](_0x8097f6);_0x4d7f5b['addEventListener'](_0x5c3b70(0x2ef),_0x104fd9),_0x5171c2['add'](_0x4bad05(()=>_0x4d7f5b['removeEventListener'](_0x5c3b70(0x2ef),_0x104fd9)));})[_0x43064c(0x2c2)](_0x300abd()),'close$':new _0x1aeb65(_0x176ae6=>{const _0x16a2a0=_0x43064c,_0x3a22d2=_0x5aaeb4=>_0x176ae6[_0x16a2a0(0x1a5)](_0x5aaeb4);_0x4d7f5b[_0x16a2a0(0x2fa)](_0x16a2a0(0x228),_0x3a22d2),_0x5171c2[_0x16a2a0(0x2a1)](_0x4bad05(()=>_0x4d7f5b[_0x16a2a0(0x2f2)](_0x16a2a0(0x228),_0x3a22d2)));})[_0x43064c(0x2c2)](_0x300abd()),'error$':new _0x1aeb65(_0x5057b2=>{const _0x521a7b=_0x43064c,_0x544e21=_0x47efb1=>_0x5057b2['next'](_0x47efb1);_0x4d7f5b[_0x521a7b(0x2fa)]('error',_0x544e21),_0x5171c2[_0x521a7b(0x2a1)](_0x4bad05(()=>_0x4d7f5b[_0x521a7b(0x2f2)]('error',_0x544e21)));})['pipe'](_0x300abd()),'message$':new _0x1aeb65(_0x11b870=>{const _0x7a7da4=_0x43064c,_0x2ed92d=_0x42a78f=>_0x11b870[_0x7a7da4(0x1a5)](_0x42a78f);_0x4d7f5b[_0x7a7da4(0x2fa)]('message',_0x2ed92d),_0x5171c2[_0x7a7da4(0x2a1)](_0x4bad05(()=>_0x4d7f5b[_0x7a7da4(0x2f2)](_0x7a7da4(0x219),_0x2ed92d)));})[_0x43064c(0x2c2)](_0x300abd())};}catch(_0x415530){return console[_0x43064c(0x2b1)](_0x415530),null;}}};Ne=rr([sr(0x0,_0xb019a5)],Ne);var ir=Object[_0x428a1f(0x279)],nr=Object[_0x428a1f(0x240)],or=(_0x2fadf7,_0x562402,_0x229478)=>_0x562402 in _0x2fadf7?ir(_0x2fadf7,_0x562402,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x229478}):_0x2fadf7[_0x562402]=_0x229478,ar=(_0xd82acd,_0x4e3aab,_0x5c4b1b,_0x4a5135)=>{const _0x1b4fbc=_0x428a1f;for(var _0x4d3158=_0x4a5135>0x1?void 0x0:_0x4a5135?nr(_0x4e3aab,_0x5c4b1b):_0x4e3aab,_0x417a12=_0xd82acd[_0x1b4fbc(0x208)]-0x1,_0x1dfc68;_0x417a12>=0x0;_0x417a12--)(_0x1dfc68=_0xd82acd[_0x417a12])&&(_0x4d3158=_0x1dfc68(_0x4d3158)||_0x4d3158);return _0x4d3158;},ke=(_0x42f8a7,_0x568785)=>(_0x390b0b,_0x4fe732)=>_0x568785(_0x390b0b,_0x4fe732,_0x42f8a7),lr=(_0xf73c5c,_0x24a129,_0x21b6c4)=>or(_0xf73c5c,_0x24a129+'',_0x21b6c4);let Pe=class extends _0x2a6234{constructor(_0x4a3f38=Ft,_0x5043b3,_0x265208,_0x290417){const _0x33a151=_0x428a1f;_0x4a3f38[_0x33a151(0x1d3)]||_0x5043b3['warn']('[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.'),super(),this[_0x33a151(0x29a)]=_0x265208,this['_injector']=_0x290417,this[_0x33a151(0x29a)][_0x33a151(0x163)](Be,_0x4a3f38);}['onStarting'](){this['_registerDependencies']();}[_0x428a1f(0x14a)](){const _0x3dede7=_0x428a1f;_0x53d611(this[_0x3dede7(0x2b5)],[[_0x3f18d4,{'useClass':Ne}]]);}};lr(Pe,_0x428a1f(0x2eb),_0x428a1f(0x195)),Pe=ar([_0x1d617c(_0x12537f),ke(0x1,_0x210727),ke(0x2,_0xb019a5),ke(0x3,_0x274da2(_0x20237a))],Pe);var fr=Object['getOwnPropertyDescriptor'],cr=(_0x43bd17,_0x2c91bd,_0x5b4589,_0x439b58)=>{const _0x380a90=_0x428a1f;for(var _0x53c408=_0x439b58>0x1?void 0x0:_0x439b58?fr(_0x2c91bd,_0x5b4589):_0x2c91bd,_0x5439d7=_0x43bd17[_0x380a90(0x208)]-0x1,_0xb2d72f;_0x5439d7>=0x0;_0x5439d7--)(_0xb2d72f=_0x43bd17[_0x5439d7])&&(_0x53c408=_0xb2d72f(_0x53c408)||_0x53c408);return _0x53c408;},se=(_0x38fc07,_0x328940)=>(_0x5d871a,_0x147e83)=>_0x328940(_0x5d871a,_0x147e83,_0x38fc07);let at=class extends _0x500bf6{constructor(_0x129dc4,_0x4c7afe,_0x62a66b,_0x21fc60,_0x4523d7){const _0x14a079=_0x428a1f;super(_0x129dc4,_0x4c7afe,_0x62a66b,_0x21fc60,_0x4523d7);const _0x1de32a=this[_0x14a079(0x29a)][_0x14a079(0x1be)](Be);this[_0x14a079(0x23d)][_0x14a079(0x2c3)]({'interceptor':(_0x3f1949,_0x4f57ab)=>{const _0x20a9ff=_0x14a079;var _0x506b94;const _0x3fc206=_0x3f1949[_0x20a9ff(0x19f)];return(_0x506b94=_0x1de32a==null?void 0x0:_0x1de32a[_0x20a9ff(0x1d3)])!=null&&_0x506b94[_0x20a9ff(0x1f6)]&&_0x3fc206[_0x20a9ff(0x1a4)]('Cookie',_0x1de32a[_0x20a9ff(0x1d3)][_0x20a9ff(0x1f6)]),_0x4f57ab(_0x3f1949);}});}async['createSocket'](_0x57192d){const _0x254b2c=_0x428a1f;return this[_0x254b2c(0x25b)](_0x57192d);}};at=cr([se(0x0,_0x274da2(_0x20237a)),se(0x1,_0x274da2(_0x5154ef)),se(0x2,_0xb019a5),se(0x3,_0x210727),se(0x4,_0x1a3b7e)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};