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

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/index.js CHANGED
@@ -1 +1 @@
1
- const _0x3391af=_0x4e74;(function(_0x4787c9,_0x302c97){const _0x2a9ac6=_0x4e74,_0x5caedf=_0x4787c9();while(!![]){try{const _0x3031f7=-parseInt(_0x2a9ac6(0x257))/0x1*(-parseInt(_0x2a9ac6(0x2b4))/0x2)+parseInt(_0x2a9ac6(0x20e))/0x3+parseInt(_0x2a9ac6(0x2c9))/0x4*(-parseInt(_0x2a9ac6(0x311))/0x5)+-parseInt(_0x2a9ac6(0x21b))/0x6*(parseInt(_0x2a9ac6(0x25b))/0x7)+parseInt(_0x2a9ac6(0x356))/0x8+parseInt(_0x2a9ac6(0x2de))/0x9*(-parseInt(_0x2a9ac6(0x306))/0xa)+parseInt(_0x2a9ac6(0x207))/0xb*(parseInt(_0x2a9ac6(0x276))/0xc);if(_0x3031f7===_0x302c97)break;else _0x5caedf['push'](_0x5caedf['shift']());}catch(_0x2a49f4){_0x5caedf['push'](_0x5caedf['shift']());}}}(_0x53a8,0x1e999));import{UniverCollaborationClientPlugin as _0x171cad,CollaborationSocketService as _0x189e7d}from'@univerjs-pro/collaboration-client';import{Disposable as _0x54ba1c,DisposableCollection as _0x4baf0f,toDisposable as _0x405074,IConfigService as _0x288de7,DependentOn as _0x39b958,ILogService as _0x49d411,Inject as _0x30ae41,Injector as _0x14f773,Plugin as _0x18f539,registerDependencies as _0x577150}from'@univerjs/core';import{ISocketService as _0x42dd0b,HTTPService as _0x36b833}from'@univerjs/network';import{Observable as _0x53a731,share as _0x1ba6e2}from'rxjs';import _0xdcca24 from'events';function _0x4e74(_0x48cf8a,_0x29e343){const _0x53a83c=_0x53a8();return _0x4e74=function(_0x4e744b,_0xa90639){_0x4e744b=_0x4e744b-0x1b9;let _0x3571fd=_0x53a83c[_0x4e744b];return _0x3571fd;},_0x4e74(_0x48cf8a,_0x29e343);}import _0x17d383 from'https';import _0x5c9c67 from'http';import _0x13a897 from'net';import _0xed7c32 from'tls';import _0x35daef from'crypto';import _0x53a436 from'stream';import _0x546cdd from'url';import _0x3e40ff from'zlib';import _0xc14092 from'buffer';import{ISnapshotServerService as _0x175a99}from'@univerjs-pro/collaboration';const Be='collaboration-client-node.config',Ft={'customHeaders':{}};function Wt(_0x4c7520){const _0xb1f7b3=_0x4e74;return _0x4c7520&&_0x4c7520[_0xb1f7b3(0x2e2)]&&Object[_0xb1f7b3(0x2a4)][_0xb1f7b3(0x2a1)][_0xb1f7b3(0x33a)](_0x4c7520,_0xb1f7b3(0x322))?_0x4c7520[_0xb1f7b3(0x322)]:_0x4c7520;}function ut(_0x2d17b8){const _0x4ecd03=_0x4e74;if(Object[_0x4ecd03(0x2a4)]['hasOwnProperty'][_0x4ecd03(0x33a)](_0x2d17b8,_0x4ecd03(0x2e2)))return _0x2d17b8;var _0x1c961b=_0x2d17b8['default'];if(typeof _0x1c961b==_0x4ecd03(0x20f)){var _0x4d359e=function _0x40a7cb(){const _0x187805=_0x4ecd03;var _0x403b8e=!0x1;try{_0x403b8e=this instanceof _0x40a7cb;}catch{}return _0x403b8e?Reflect[_0x187805(0x2ad)](_0x1c961b,arguments,this[_0x187805(0x325)]):_0x1c961b[_0x187805(0x323)](this,arguments);};_0x4d359e['prototype']=_0x1c961b[_0x4ecd03(0x2a4)];}else _0x4d359e={};return Object[_0x4ecd03(0x1c9)](_0x4d359e,_0x4ecd03(0x2e2),{'value':!0x0}),Object['keys'](_0x2d17b8)[_0x4ecd03(0x1c1)](function(_0x3db45f){const _0x2fd727=_0x4ecd03;var _0x5d9d7f=Object[_0x2fd727(0x2aa)](_0x2d17b8,_0x3db45f);Object['defineProperty'](_0x4d359e,_0x3db45f,_0x5d9d7f[_0x2fd727(0x29d)]?_0x5d9d7f:{'enumerable':!0x0,'get':function(){return _0x2d17b8[_0x3db45f];}});}),_0x4d359e;}var te={'exports':{}},ge,Ye;function V(){const _0x31f101=_0x4e74;if(Ye)return ge;Ye=0x1;const _0x2b4f4b=['nodebuffer',_0x31f101(0x327),_0x31f101(0x24b)],_0x58b78b=typeof Blob<'u';return _0x58b78b&&_0x2b4f4b['push'](_0x31f101(0x2ef)),ge={'BINARY_TYPES':_0x2b4f4b,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':'258EAFA5-E914-47DA-95CA-C5AB0DC85B11','hasBlob':_0x58b78b,'kForOnEventAttribute':Symbol(_0x31f101(0x35f)),'kListener':Symbol(_0x31f101(0x1be)),'kStatusCode':Symbol(_0x31f101(0x335)),'kWebSocket':Symbol(_0x31f101(0x243)),'NOOP':()=>{}},ge;}const jt={},Gt=Object[_0x3391af(0x24d)](Object[_0x3391af(0x1c9)]({'__proto__':null,'default':jt},Symbol[_0x3391af(0x25c)],{'value':'Module'})),Vt=ut(Gt);var Ke;function ce(){const _0x2822d0=_0x3391af;if(Ke)return te[_0x2822d0(0x224)];Ke=0x1;const {EMPTY_BUFFER:_0xce0623}=V(),_0x2320e6=Buffer[Symbol[_0x2822d0(0x204)]];function _0x25c29b(_0x2befbb,_0x24d7db){const _0x3a753c=_0x2822d0;if(_0x2befbb[_0x3a753c(0x2ba)]===0x0)return _0xce0623;if(_0x2befbb[_0x3a753c(0x2ba)]===0x1)return _0x2befbb[0x0];const _0x34ada7=Buffer['allocUnsafe'](_0x24d7db);let _0x362827=0x0;for(let _0x1d9242=0x0;_0x1d9242<_0x2befbb[_0x3a753c(0x2ba)];_0x1d9242++){const _0x595425=_0x2befbb[_0x1d9242];_0x34ada7[_0x3a753c(0x355)](_0x595425,_0x362827),_0x362827+=_0x595425[_0x3a753c(0x2ba)];}return _0x362827<_0x24d7db?new _0x2320e6(_0x34ada7['buffer'],_0x34ada7['byteOffset'],_0x362827):_0x34ada7;}function _0x4cebaf(_0xdc57a3,_0x1a4b27,_0x3b31c9,_0x9a02b5,_0x5ded32){for(let _0x24f784=0x0;_0x24f784<_0x5ded32;_0x24f784++)_0x3b31c9[_0x9a02b5+_0x24f784]=_0xdc57a3[_0x24f784]^_0x1a4b27[_0x24f784&0x3];}function _0x4e66e7(_0x4adfcb,_0x5ef47f){const _0x2c48e0=_0x2822d0;for(let _0xd9a165=0x0;_0xd9a165<_0x4adfcb[_0x2c48e0(0x2ba)];_0xd9a165++)_0x4adfcb[_0xd9a165]^=_0x5ef47f[_0xd9a165&0x3];}function _0x35c6ea(_0x4f0546){const _0x433209=_0x2822d0;return _0x4f0546['length']===_0x4f0546[_0x433209(0x262)]['byteLength']?_0x4f0546[_0x433209(0x262)]:_0x4f0546['buffer']['slice'](_0x4f0546['byteOffset'],_0x4f0546[_0x433209(0x34c)]+_0x4f0546['length']);}function _0x2d95d4(_0x162356){const _0x278dbc=_0x2822d0;if(_0x2d95d4[_0x278dbc(0x1e6)]=!0x0,Buffer['isBuffer'](_0x162356))return _0x162356;let _0x4f160e;return _0x162356 instanceof ArrayBuffer?_0x4f160e=new _0x2320e6(_0x162356):ArrayBuffer[_0x278dbc(0x20d)](_0x162356)?_0x4f160e=new _0x2320e6(_0x162356[_0x278dbc(0x262)],_0x162356['byteOffset'],_0x162356[_0x278dbc(0x1f9)]):(_0x4f160e=Buffer[_0x278dbc(0x2e3)](_0x162356),_0x2d95d4[_0x278dbc(0x1e6)]=!0x1),_0x4f160e;}if(te[_0x2822d0(0x224)]={'concat':_0x25c29b,'mask':_0x4cebaf,'toArrayBuffer':_0x35c6ea,'toBuffer':_0x2d95d4,'unmask':_0x4e66e7},!process['env'][_0x2822d0(0x35d)])try{const _0x1226ae=Vt;te['exports'][_0x2822d0(0x27f)]=function(_0x4ccc1c,_0x28198a,_0x8bff53,_0xd98c60,_0x1a5549){_0x1a5549<0x30?_0x4cebaf(_0x4ccc1c,_0x28198a,_0x8bff53,_0xd98c60,_0x1a5549):_0x1226ae['mask'](_0x4ccc1c,_0x28198a,_0x8bff53,_0xd98c60,_0x1a5549);},te['exports'][_0x2822d0(0x254)]=function(_0x226a01,_0x415b73){const _0x33311c=_0x2822d0;_0x226a01[_0x33311c(0x2ba)]<0x20?_0x4e66e7(_0x226a01,_0x415b73):_0x1226ae[_0x33311c(0x254)](_0x226a01,_0x415b73);};}catch{}return te[_0x2822d0(0x224)];}function _0x53a8(){const _0x2ec25e=['WS_NO_BUFFER_UTIL','close','kIsForOnEventAttribute','WS_ERR_INVALID_UTF8','abort','_readyState','finishRequest','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','objectMode','enqueue','kListener','timeout','_masked','forEach','alloc','client','\x20(supported\x20versions:\x20','noServer','endEmitted','port','_maxPayload','defineProperty','\x22\x20subprotocol\x20is\x20duplicated','_payloadLength','onmessage','_destroy','_errored','MASK\x20must\x20be\x20clear','reason','_decompress','text/html','_bufferedAmount','origin','allocUnsafe','username','13,\x208','_closeFrameSent','stream','accept','binaryType','isInteger','createInflateRaw','bind','Connection:\x20Upgrade','socket','zlibDeflateOptions','_state','normalizeParams','readable','_closeMessage','readOnly','Invalid\x20Sec-WebSocket-Protocol\x20header','error','servername','shift','size','slice','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','open','map','resume','sendFrame','_opcode','skipUTF8Validation','toString','protocolVersion','zlibInflateOptions','nextTick','removeEventListener','byteLength','pong','keys','reset','base64','writeUInt16BE','The\x20URL\x20contains\x20a\x20fragment\x20identifier','Z_SYNC_FLUSH','dequeue','end','STATUS_CODES','species','_fragmented','hostname','50402VZEFvr','_inflate','connect','drain','clientTracking','extensions','isView','446787xdzlYz','function','sec-websocket-key','_closeFrameReceived','The\x20\x22','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','headers','captureStackTrace','getInfo','_no_context_takeover','readyState','removeAllListeners','permessage-deflate','6IpKjCe','HTTP/1.1\x20','_options','createServer','kReason','MASK\x20must\x20be\x20set','flush','setSocket','_sender','exports','cork','isValidUTF8','onerror','controlMessage','_closeTimer','setNoDelay','Server\x20sent\x20an\x20invalid\x20subprotocol','_generateMask','kMessage','_closeCode','sec-websocket-extensions','errorEmitted','generateMask','push','server','_readableState','Invalid\x20HTTP\x20method','sha1','Invalid\x20value\x20for\x20parameter\x20\x22','_registerDependencies','listeners','customHeaders','setTimeout','replace','target','method','invalid\x20opcode\x200','_mask','_httpService','defaultPort','websocket','pipe','env','getData','value','server_max_window_bits','Sec-WebSocket-Extensions','emitClose','fragments','href','freeze','opcode','Z_DEFAULT_WINDOWBITS','type','then','pow','Invalid\x20URL:\x20','unmask','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','Maximum\x20redirects\x20exceeded','1121zYMKzE','Unexpected\x20end\x20of\x20input','decompress','arrayBuffer','1739647ckjyfH','toStringTag','pause','isPaused','createDeflateRaw','allowSynchronousEvents','onopen','buffer','CLOSED','client_max_window_bits','removeListener','authorization','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','statusCode','WS_ERR_INVALID_CLOSE_CODE','compress','Sec-WebSocket-Origin','destroy','acceptAsServer','_paused','perMessageDeflate','haveLength','clientMaxWindowBits','warn','startLoop','frame','terminate','492BgzihG','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','FIN\x20must\x20be\x20set','_removeListeners','kByteLength','ws+unix:','cleanup','_maskBuffer','find','mask','includes','writeUIntBE','invalid\x20opcode\x20','_receiver','join','sec-websocket-origin','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','Upgrade','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','_buffers','clientNoContextTakeover','jobs','isIP','catch','update','The\x20server\x20is\x20not\x20running','sec-websocket-protocol','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','_socket','\x22:\x20','kAborted','_configService','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','invalid\x20UTF-8\x20sequence','_doCreateSocket','getConfig','upgrade','consume','pending','get','The\x20URL\x27s\x20pathname\x20is\x20empty','serverMaxWindowBits','WS_ERR_UNEXPECTED_RSV_1','hasOwnProperty','concat','location','prototype','_bufferedBytes','create','extensionName','wasClean','Basic\x20','getOwnPropertyDescriptor','Cookie','_compressed','construct','_final','code','GET','host','writable','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','246blSTRY','_url','protocol','addEventListener','Invalid\x20Sec-WebSocket-Extensions\x20header','redirect','length','listening','_messageLength','maskBuffer','serverNoContextTakeover','conclude','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','verifyClient','isArray','_shouldEmitClose','finish','acceptAsClient','split','onStarting','values','4rresQs','getPayloadLength16','auth','_extensions','getMask','shouldHandle','destroyed','_loop','_autoPong','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','onclose','setHeader','indexOf','_firstFragment','parse','send','getBlobData','buffers','Sec-WebSocket-Accept:\x20','_write','add','9918fDoENr','_compress','handleEvent','test','__esModule','from','message','_threshold','invalid\x20payload\x20length\x20','server_no_context_takeover','_max_window_bits','pathname','path','WS_ERR_EXPECTED_FIN','WS_ERR_INVALID_OPCODE','_errorEmitted','finished','blob','_server','threshold','object','https:','_queue','data','_isServer','listenerCount','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','connection','\x22\x20must\x20have\x20only\x20a\x20single\x20value','kTarget','authorized','kDone','number','dispatch','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','_deflate','concurrency','_fragments','url','_fin','1130VAhniW','concurrencyLimit','clients','WS_ERR_EXPECTED_MASK','WebSocket','address','Unexpected\x20server\x20response:\x20','_originalIpc','kData','_originalSecure','Unexpected\x20character\x20at\x20index\x20','1078895sVUxye','readUInt16BE','options','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','_read','kType','_protocol','ws:','_originalHostOrSocketPath','params','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','Invalid\x20Upgrade\x20header','digest','CONNECTING','dataMessage','readUInt32BE','_totalPayloadLength','default','apply','Upgrade:\x20websocket','constructor','WS_ERR_UNEXPECTED_MASK','arraybuffer','request','text/plain','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','autoPong','_writableState','callback','_allowSynchronousEvents','charCodeAt','Max\x20payload\x20size\x20exceeded','offer','once','Blob','client_no_context_takeover','status-code','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','_redirects','fin','RSV1\x20must\x20be\x20clear','call','Module','toLowerCase','Origin','followRedirects','_injector','kWasClean','wsClientError','wss:','_req','write','OPEN','createError','completeUpgrade','string','search','ping','has','byteOffset','startsWith','_skipUTF8Validation','\x0d\x0a\x0d\x0a','binary','next','_binaryType','Server\x20sent\x20no\x20subprotocol','CLOSING','set','1915912uhdAYW','maxPayload','emit','handleProtocols','registerHTTPInterceptor','pluginName','socketPath'];_0x53a8=function(){return _0x2ec25e;};return _0x53a8();}var ye,Xe;function qt(){const _0x3af9bd=_0x3391af;if(Xe)return ye;Xe=0x1;const _0x321169=Symbol(_0x3af9bd(0x2fd)),_0x46832d=Symbol('kRun');class _0xb48bd3{constructor(_0x255ef1){const _0x3d12a3=_0x3af9bd;this[_0x321169]=()=>{const _0x45293a=_0x4e74;this[_0x45293a(0x29c)]--,this[_0x46832d]();},this[_0x3d12a3(0x302)]=_0x255ef1||0x1/0x0,this[_0x3d12a3(0x28b)]=[],this[_0x3d12a3(0x29c)]=0x0;}[_0x3af9bd(0x2dd)](_0x2bc6be){const _0x4fbf8d=_0x3af9bd;this[_0x4fbf8d(0x28b)][_0x4fbf8d(0x232)](_0x2bc6be),this[_0x46832d]();}[_0x46832d](){const _0x399b0a=_0x3af9bd;if(this[_0x399b0a(0x29c)]!==this[_0x399b0a(0x302)]&&this['jobs']['length']){const _0x2b0223=this[_0x399b0a(0x28b)][_0x399b0a(0x1ea)]();this[_0x399b0a(0x29c)]++,_0x2b0223(this[_0x321169]);}}}return ye=_0xb48bd3,ye;}var ve,Ze;function he(){const _0x28445c=_0x3391af;if(Ze)return ve;Ze=0x1;const _0xa068f2=_0x3e40ff,_0x5b68b3=ce(),_0x50d434=qt(),{kStatusCode:_0x217671}=V(),_0x5ba422=Buffer[Symbol[_0x28445c(0x204)]],_0x3aaa4a=Buffer[_0x28445c(0x2e3)]([0x0,0x0,0xff,0xff]),_0x58b0d7=Symbol('permessage-deflate'),_0x12bae5=Symbol('total-length'),_0x2eb221=Symbol(_0x28445c(0x32d)),_0x1ae944=Symbol(_0x28445c(0x2da)),_0xe3d70e=Symbol(_0x28445c(0x1e8));let _0x4ea1ec;class _0x203bd8{constructor(_0x288850,_0x5c3ed4,_0x40136c){const _0x2545bf=_0x28445c;if(this['_maxPayload']=_0x40136c|0x0,this[_0x2545bf(0x21d)]=_0x288850||{},this[_0x2545bf(0x2e5)]=this['_options'][_0x2545bf(0x2f1)]!==void 0x0?this[_0x2545bf(0x21d)]['threshold']:0x400,this[_0x2545bf(0x2f6)]=!!_0x5c3ed4,this[_0x2545bf(0x301)]=null,this[_0x2545bf(0x208)]=null,this['params']=null,!_0x4ea1ec){const _0x53408c=this[_0x2545bf(0x21d)][_0x2545bf(0x307)]!==void 0x0?this[_0x2545bf(0x21d)][_0x2545bf(0x307)]:0xa;_0x4ea1ec=new _0x50d434(_0x53408c);}}static get[_0x28445c(0x2a7)](){const _0x138ea5=_0x28445c;return _0x138ea5(0x21a);}['offer'](){const _0x4fb30d=_0x28445c,_0x391eb4={};return this[_0x4fb30d(0x21d)][_0x4fb30d(0x2be)]&&(_0x391eb4['server_no_context_takeover']=!0x0),this['_options']['clientNoContextTakeover']&&(_0x391eb4[_0x4fb30d(0x334)]=!0x0),this[_0x4fb30d(0x21d)][_0x4fb30d(0x29f)]&&(_0x391eb4[_0x4fb30d(0x248)]=this['_options'][_0x4fb30d(0x29f)]),this['_options']['clientMaxWindowBits']?_0x391eb4[_0x4fb30d(0x264)]=this[_0x4fb30d(0x21d)][_0x4fb30d(0x271)]:this[_0x4fb30d(0x21d)][_0x4fb30d(0x271)]==null&&(_0x391eb4['client_max_window_bits']=!0x0),_0x391eb4;}[_0x28445c(0x1da)](_0xaf3da8){const _0x4c622f=_0x28445c;return _0xaf3da8=this['normalizeParams'](_0xaf3da8),this['params']=this[_0x4c622f(0x2f6)]?this[_0x4c622f(0x26d)](_0xaf3da8):this[_0x4c622f(0x2c5)](_0xaf3da8),this[_0x4c622f(0x31a)];}[_0x28445c(0x27c)](){const _0x36d602=_0x28445c;if(this[_0x36d602(0x208)]&&(this['_inflate'][_0x36d602(0x35e)](),this[_0x36d602(0x208)]=null),this[_0x36d602(0x301)]){const _0x2ef63c=this['_deflate'][_0x2eb221];this[_0x36d602(0x301)]['close'](),this[_0x36d602(0x301)]=null,_0x2ef63c&&_0x2ef63c(new Error(_0x36d602(0x286)));}}[_0x28445c(0x26d)](_0x3c8bdb){const _0x204eda=_0x28445c,_0x29d71e=this['_options'],_0x314102=_0x3c8bdb[_0x204eda(0x27e)](_0xfbc864=>!(_0x29d71e[_0x204eda(0x2be)]===!0x1&&_0xfbc864[_0x204eda(0x2e7)]||_0xfbc864[_0x204eda(0x248)]&&(_0x29d71e[_0x204eda(0x29f)]===!0x1||typeof _0x29d71e[_0x204eda(0x29f)]=='number'&&_0x29d71e[_0x204eda(0x29f)]>_0xfbc864[_0x204eda(0x248)])||typeof _0x29d71e[_0x204eda(0x271)]==_0x204eda(0x2fe)&&!_0xfbc864[_0x204eda(0x264)]));if(!_0x314102)throw new Error('None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted');return _0x29d71e[_0x204eda(0x2be)]&&(_0x314102[_0x204eda(0x2e7)]=!0x0),_0x29d71e[_0x204eda(0x28a)]&&(_0x314102[_0x204eda(0x334)]=!0x0),typeof _0x29d71e['serverMaxWindowBits']==_0x204eda(0x2fe)&&(_0x314102['server_max_window_bits']=_0x29d71e[_0x204eda(0x29f)]),typeof _0x29d71e['clientMaxWindowBits']==_0x204eda(0x2fe)?_0x314102['client_max_window_bits']=_0x29d71e['clientMaxWindowBits']:(_0x314102[_0x204eda(0x264)]===!0x0||_0x29d71e[_0x204eda(0x271)]===!0x1)&&delete _0x314102['client_max_window_bits'],_0x314102;}['acceptAsClient'](_0x54eafc){const _0x57f63b=_0x28445c,_0x4b8332=_0x54eafc[0x0];if(this['_options'][_0x57f63b(0x28a)]===!0x1&&_0x4b8332[_0x57f63b(0x334)])throw new Error('Unexpected\x20parameter\x20\x22client_no_context_takeover\x22');if(!_0x4b8332['client_max_window_bits'])typeof this[_0x57f63b(0x21d)][_0x57f63b(0x271)]==_0x57f63b(0x2fe)&&(_0x4b8332[_0x57f63b(0x264)]=this[_0x57f63b(0x21d)][_0x57f63b(0x271)]);else{if(this['_options'][_0x57f63b(0x271)]===!0x1||typeof this[_0x57f63b(0x21d)]['clientMaxWindowBits']==_0x57f63b(0x2fe)&&_0x4b8332['client_max_window_bits']>this[_0x57f63b(0x21d)][_0x57f63b(0x271)])throw new Error(_0x57f63b(0x300));}return _0x4b8332;}[_0x28445c(0x1e3)](_0x3b55a4){const _0x32307d=_0x28445c;return _0x3b55a4[_0x32307d(0x1c1)](_0x527b51=>{const _0x4a358b=_0x32307d;Object[_0x4a358b(0x1fb)](_0x527b51)[_0x4a358b(0x1c1)](_0x1fa59a=>{const _0x4cc3f4=_0x4a358b;let _0x417370=_0x527b51[_0x1fa59a];if(_0x417370[_0x4cc3f4(0x2ba)]>0x1)throw new Error('Parameter\x20\x22'+_0x1fa59a+_0x4cc3f4(0x2fa));if(_0x417370=_0x417370[0x0],_0x1fa59a===_0x4cc3f4(0x264)){if(_0x417370!==!0x0){const _0x2b0c28=+_0x417370;if(!Number[_0x4cc3f4(0x1dc)](_0x2b0c28)||_0x2b0c28<0x8||_0x2b0c28>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x1fa59a+_0x4cc3f4(0x293)+_0x417370);_0x417370=_0x2b0c28;}else{if(!this[_0x4cc3f4(0x2f6)])throw new TypeError(_0x4cc3f4(0x237)+_0x1fa59a+_0x4cc3f4(0x293)+_0x417370);}}else{if(_0x1fa59a===_0x4cc3f4(0x248)){const _0x23057f=+_0x417370;if(!Number[_0x4cc3f4(0x1dc)](_0x23057f)||_0x23057f<0x8||_0x23057f>0xf)throw new TypeError(_0x4cc3f4(0x237)+_0x1fa59a+'\x22:\x20'+_0x417370);_0x417370=_0x23057f;}else{if(_0x1fa59a==='client_no_context_takeover'||_0x1fa59a===_0x4cc3f4(0x2e7)){if(_0x417370!==!0x0)throw new TypeError(_0x4cc3f4(0x237)+_0x1fa59a+_0x4cc3f4(0x293)+_0x417370);}else throw new Error('Unknown\x20parameter\x20\x22'+_0x1fa59a+'\x22');}}_0x527b51[_0x1fa59a]=_0x417370;});}),_0x3b55a4;}['decompress'](_0x7ff73d,_0x1e6379,_0x50b290){_0x4ea1ec['add'](_0xa927b6=>{const _0x3f248b=_0x4e74;this[_0x3f248b(0x1d1)](_0x7ff73d,_0x1e6379,(_0x2e65ed,_0x1236da)=>{_0xa927b6(),_0x50b290(_0x2e65ed,_0x1236da);});});}['compress'](_0x9d1ee9,_0x2d9899,_0xc366e9){const _0x13fe5a=_0x28445c;_0x4ea1ec[_0x13fe5a(0x2dd)](_0x31ebad=>{this['_compress'](_0x9d1ee9,_0x2d9899,(_0x4fa39b,_0x298a13)=>{_0x31ebad(),_0xc366e9(_0x4fa39b,_0x298a13);});});}[_0x28445c(0x1d1)](_0x4f83ea,_0x1b0c3b,_0x1f1a45){const _0x37e294=_0x28445c,_0x51a800=this[_0x37e294(0x2f6)]?_0x37e294(0x1c3):_0x37e294(0x233);if(!this[_0x37e294(0x208)]){const _0x532235=_0x51a800+_0x37e294(0x2e8),_0x47791a=typeof this[_0x37e294(0x31a)][_0x532235]!=_0x37e294(0x2fe)?_0xa068f2[_0x37e294(0x24f)]:this[_0x37e294(0x31a)][_0x532235];this['_inflate']=_0xa068f2[_0x37e294(0x1dd)]({...this['_options'][_0x37e294(0x1f6)],'windowBits':_0x47791a}),this[_0x37e294(0x208)][_0x58b0d7]=this,this[_0x37e294(0x208)][_0x12bae5]=0x0,this[_0x37e294(0x208)][_0x1ae944]=[],this[_0x37e294(0x208)]['on'](_0x37e294(0x1e8),_0x10d191),this['_inflate']['on'](_0x37e294(0x2f5),_0x26ac93);}this[_0x37e294(0x208)][_0x2eb221]=_0x1f1a45,this[_0x37e294(0x208)][_0x37e294(0x344)](_0x4f83ea),_0x1b0c3b&&this[_0x37e294(0x208)][_0x37e294(0x344)](_0x3aaa4a),this[_0x37e294(0x208)][_0x37e294(0x221)](()=>{const _0xd9496d=_0x37e294,_0x261118=this[_0xd9496d(0x208)][_0xe3d70e];if(_0x261118){this['_inflate'][_0xd9496d(0x35e)](),this[_0xd9496d(0x208)]=null,_0x1f1a45(_0x261118);return;}const _0x5e83e4=_0x5b68b3['concat'](this[_0xd9496d(0x208)][_0x1ae944],this[_0xd9496d(0x208)][_0x12bae5]);this[_0xd9496d(0x208)][_0xd9496d(0x234)]['endEmitted']?(this[_0xd9496d(0x208)]['close'](),this['_inflate']=null):(this[_0xd9496d(0x208)][_0x12bae5]=0x0,this[_0xd9496d(0x208)][_0x1ae944]=[],_0x1b0c3b&&this[_0xd9496d(0x31a)][_0x51a800+_0xd9496d(0x217)]&&this['_inflate'][_0xd9496d(0x1fc)]()),_0x1f1a45(null,_0x5e83e4);});}['_compress'](_0x27d689,_0x386beb,_0x13476a){const _0x4220f4=_0x28445c,_0x331f58=this[_0x4220f4(0x2f6)]?_0x4220f4(0x233):'client';if(!this[_0x4220f4(0x301)]){const _0xce4072=_0x331f58+_0x4220f4(0x2e8),_0x1940fb=typeof this[_0x4220f4(0x31a)][_0xce4072]!=_0x4220f4(0x2fe)?_0xa068f2[_0x4220f4(0x24f)]:this[_0x4220f4(0x31a)][_0xce4072];this['_deflate']=_0xa068f2[_0x4220f4(0x25f)]({...this[_0x4220f4(0x21d)][_0x4220f4(0x1e1)],'windowBits':_0x1940fb}),this['_deflate'][_0x12bae5]=0x0,this[_0x4220f4(0x301)][_0x1ae944]=[],this['_deflate']['on'](_0x4220f4(0x2f5),_0xf6656b);}this['_deflate'][_0x2eb221]=_0x13476a,this[_0x4220f4(0x301)][_0x4220f4(0x344)](_0x27d689),this[_0x4220f4(0x301)][_0x4220f4(0x221)](_0xa068f2[_0x4220f4(0x200)],()=>{const _0x2208ad=_0x4220f4;if(!this[_0x2208ad(0x301)])return;let _0x484245=_0x5b68b3[_0x2208ad(0x2a2)](this['_deflate'][_0x1ae944],this['_deflate'][_0x12bae5]);_0x386beb&&(_0x484245=new _0x5ba422(_0x484245[_0x2208ad(0x262)],_0x484245[_0x2208ad(0x34c)],_0x484245['length']-0x4)),this[_0x2208ad(0x301)][_0x2eb221]=null,this[_0x2208ad(0x301)][_0x12bae5]=0x0,this['_deflate'][_0x1ae944]=[],_0x386beb&&this[_0x2208ad(0x31a)][_0x331f58+_0x2208ad(0x217)]&&this[_0x2208ad(0x301)][_0x2208ad(0x1fc)](),_0x13476a(null,_0x484245);});}}ve=_0x203bd8;function _0xf6656b(_0x27e54e){const _0x1cae34=_0x28445c;this[_0x1ae944][_0x1cae34(0x232)](_0x27e54e),this[_0x12bae5]+=_0x27e54e[_0x1cae34(0x2ba)];}function _0x26ac93(_0x462b6d){const _0x184496=_0x28445c;if(this[_0x12bae5]+=_0x462b6d[_0x184496(0x2ba)],this[_0x58b0d7][_0x184496(0x1c8)]<0x1||this[_0x12bae5]<=this[_0x58b0d7][_0x184496(0x1c8)]){this[_0x1ae944]['push'](_0x462b6d);return;}this[_0xe3d70e]=new RangeError(_0x184496(0x330)),this[_0xe3d70e][_0x184496(0x2af)]=_0x184496(0x267),this[_0xe3d70e][_0x217671]=0x3f1,this['removeListener'](_0x184496(0x2f5),_0x26ac93),this[_0x184496(0x1fc)]();}function _0x10d191(_0x51faee){const _0x590263=_0x28445c;if(this[_0x58b0d7][_0x590263(0x208)]=null,this[_0xe3d70e]){this[_0x2eb221](this[_0xe3d70e]);return;}_0x51faee[_0x217671]=0x3ef,this[_0x2eb221](_0x51faee);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x3391af(0x24d)](Object['defineProperty']({'__proto__':null,'default':Ht},Symbol[_0x3391af(0x25c)],{'value':_0x3391af(0x33b)})),Yt=ut(zt);var Qe;function ne(){const _0x37e45b=_0x3391af;if(Qe)return re[_0x37e45b(0x224)];Qe=0x1;const {isUtf8:_0x2ac272}=_0xc14092,{hasBlob:_0x4c8b15}=V(),_0x54f32c=[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 _0x2ab9ab(_0x14123b){return _0x14123b>=0x3e8&&_0x14123b<=0x3f6&&_0x14123b!==0x3ec&&_0x14123b!==0x3ed&&_0x14123b!==0x3ee||_0x14123b>=0xbb8&&_0x14123b<=0x1387;}function _0x395665(_0x2ff1f1){const _0x83c0df=_0x37e45b,_0x15e0ac=_0x2ff1f1[_0x83c0df(0x2ba)];let _0x3db4ca=0x0;for(;_0x3db4ca<_0x15e0ac;)if((_0x2ff1f1[_0x3db4ca]&0x80)===0x0)_0x3db4ca++;else{if((_0x2ff1f1[_0x3db4ca]&0xe0)===0xc0){if(_0x3db4ca+0x1===_0x15e0ac||(_0x2ff1f1[_0x3db4ca+0x1]&0xc0)!==0x80||(_0x2ff1f1[_0x3db4ca]&0xfe)===0xc0)return!0x1;_0x3db4ca+=0x2;}else{if((_0x2ff1f1[_0x3db4ca]&0xf0)===0xe0){if(_0x3db4ca+0x2>=_0x15e0ac||(_0x2ff1f1[_0x3db4ca+0x1]&0xc0)!==0x80||(_0x2ff1f1[_0x3db4ca+0x2]&0xc0)!==0x80||_0x2ff1f1[_0x3db4ca]===0xe0&&(_0x2ff1f1[_0x3db4ca+0x1]&0xe0)===0x80||_0x2ff1f1[_0x3db4ca]===0xed&&(_0x2ff1f1[_0x3db4ca+0x1]&0xe0)===0xa0)return!0x1;_0x3db4ca+=0x3;}else{if((_0x2ff1f1[_0x3db4ca]&0xf8)===0xf0){if(_0x3db4ca+0x3>=_0x15e0ac||(_0x2ff1f1[_0x3db4ca+0x1]&0xc0)!==0x80||(_0x2ff1f1[_0x3db4ca+0x2]&0xc0)!==0x80||(_0x2ff1f1[_0x3db4ca+0x3]&0xc0)!==0x80||_0x2ff1f1[_0x3db4ca]===0xf0&&(_0x2ff1f1[_0x3db4ca+0x1]&0xf0)===0x80||_0x2ff1f1[_0x3db4ca]===0xf4&&_0x2ff1f1[_0x3db4ca+0x1]>0x8f||_0x2ff1f1[_0x3db4ca]>0xf4)return!0x1;_0x3db4ca+=0x4;}else return!0x1;}}}return!0x0;}function _0x4e1977(_0x3b4f86){const _0x418d67=_0x37e45b;return _0x4c8b15&&typeof _0x3b4f86==_0x418d67(0x2f2)&&typeof _0x3b4f86[_0x418d67(0x25a)]=='function'&&typeof _0x3b4f86['type']=='string'&&typeof _0x3b4f86[_0x418d67(0x1d9)]==_0x418d67(0x20f)&&(_0x3b4f86[Symbol[_0x418d67(0x25c)]]===_0x418d67(0x333)||_0x3b4f86[Symbol['toStringTag']]==='File');}if(re['exports']={'isBlob':_0x4e1977,'isValidStatusCode':_0x2ab9ab,'isValidUTF8':_0x395665,'tokenChars':_0x54f32c},_0x2ac272)re[_0x37e45b(0x224)][_0x37e45b(0x226)]=function(_0x471a5a){const _0x3117e6=_0x37e45b;return _0x471a5a[_0x3117e6(0x2ba)]<0x18?_0x395665(_0x471a5a):_0x2ac272(_0x471a5a);};else{if(!process[_0x37e45b(0x245)]['WS_NO_UTF_8_VALIDATE'])try{const _0x2349e3=Yt;re['exports'][_0x37e45b(0x226)]=function(_0x57f5f4){const _0x256b16=_0x37e45b;return _0x57f5f4[_0x256b16(0x2ba)]<0x20?_0x395665(_0x57f5f4):_0x2349e3(_0x57f5f4);};}catch{}}return re[_0x37e45b(0x224)];}var Se,Je;function dt(){const _0x505358=_0x3391af;if(Je)return Se;Je=0x1;const {Writable:_0x3bcbc1}=_0x53a436,_0x4a40ef=he(),{BINARY_TYPES:_0x568a77,EMPTY_BUFFER:_0x113aef,kStatusCode:_0x8e100,kWebSocket:_0x36d6aa}=V(),{concat:_0x4f9a48,toArrayBuffer:_0x15fd27,unmask:_0x54f8ba}=ce(),{isValidStatusCode:_0x2efe37,isValidUTF8:_0xac88f0}=ne(),_0x59b12a=Buffer[Symbol[_0x505358(0x204)]],_0xc16fe2=0x0,_0x1b220e=0x1,_0xee0db1=0x2,_0xf93930=0x3,_0x4c62c0=0x4,_0xd4a14d=0x5,_0x5033f0=0x6;class _0x284d21 extends _0x3bcbc1{constructor(_0x4fe2c8={}){const _0x402140=_0x505358;super(),this[_0x402140(0x32e)]=_0x4fe2c8['allowSynchronousEvents']!==void 0x0?_0x4fe2c8[_0x402140(0x260)]:!0x0,this[_0x402140(0x352)]=_0x4fe2c8[_0x402140(0x1db)]||_0x568a77[0x0],this[_0x402140(0x2cc)]=_0x4fe2c8[_0x402140(0x20c)]||{},this['_isServer']=!!_0x4fe2c8['isServer'],this[_0x402140(0x1c8)]=_0x4fe2c8['maxPayload']|0x0,this[_0x402140(0x34e)]=!!_0x4fe2c8['skipUTF8Validation'],this[_0x36d6aa]=void 0x0,this['_bufferedBytes']=0x0,this[_0x402140(0x289)]=[],this[_0x402140(0x2ac)]=!0x1,this['_payloadLength']=0x0,this[_0x402140(0x240)]=void 0x0,this[_0x402140(0x205)]=0x0,this[_0x402140(0x1c0)]=!0x1,this['_fin']=!0x1,this['_opcode']=0x0,this['_totalPayloadLength']=0x0,this[_0x402140(0x2bc)]=0x0,this['_fragments']=[],this[_0x402140(0x1ce)]=!0x1,this[_0x402140(0x2d0)]=!0x1,this[_0x402140(0x1e2)]=_0xc16fe2;}[_0x505358(0x2dc)](_0x556553,_0x4bbeee,_0x26bd71){const _0x408d5d=_0x505358;if(this['_opcode']===0x8&&this['_state']==_0xc16fe2)return _0x26bd71();this[_0x408d5d(0x2a5)]+=_0x556553[_0x408d5d(0x2ba)],this[_0x408d5d(0x289)]['push'](_0x556553),this[_0x408d5d(0x273)](_0x26bd71);}[_0x505358(0x29b)](_0x48b319){const _0x4ed71b=_0x505358;if(this['_bufferedBytes']-=_0x48b319,_0x48b319===this[_0x4ed71b(0x289)][0x0][_0x4ed71b(0x2ba)])return this[_0x4ed71b(0x289)][_0x4ed71b(0x1ea)]();if(_0x48b319<this[_0x4ed71b(0x289)][0x0][_0x4ed71b(0x2ba)]){const _0x1b63ca=this['_buffers'][0x0];return this[_0x4ed71b(0x289)][0x0]=new _0x59b12a(_0x1b63ca[_0x4ed71b(0x262)],_0x1b63ca[_0x4ed71b(0x34c)]+_0x48b319,_0x1b63ca['length']-_0x48b319),new _0x59b12a(_0x1b63ca[_0x4ed71b(0x262)],_0x1b63ca[_0x4ed71b(0x34c)],_0x48b319);}const _0x19b0ca=Buffer['allocUnsafe'](_0x48b319);do{const _0x4b2688=this[_0x4ed71b(0x289)][0x0],_0x4133b9=_0x19b0ca[_0x4ed71b(0x2ba)]-_0x48b319;_0x48b319>=_0x4b2688[_0x4ed71b(0x2ba)]?_0x19b0ca[_0x4ed71b(0x355)](this['_buffers'][_0x4ed71b(0x1ea)](),_0x4133b9):(_0x19b0ca['set'](new Uint8Array(_0x4b2688[_0x4ed71b(0x262)],_0x4b2688[_0x4ed71b(0x34c)],_0x48b319),_0x4133b9),this[_0x4ed71b(0x289)][0x0]=new _0x59b12a(_0x4b2688[_0x4ed71b(0x262)],_0x4b2688[_0x4ed71b(0x34c)]+_0x48b319,_0x4b2688[_0x4ed71b(0x2ba)]-_0x48b319)),_0x48b319-=_0x4b2688[_0x4ed71b(0x2ba)];}while(_0x48b319>0x0);return _0x19b0ca;}[_0x505358(0x273)](_0x2c0b9b){const _0x35dd67=_0x505358;this[_0x35dd67(0x2d0)]=!0x0;do switch(this['_state']){case _0xc16fe2:this['getInfo'](_0x2c0b9b);break;case _0x1b220e:this[_0x35dd67(0x2ca)](_0x2c0b9b);break;case _0xee0db1:this['getPayloadLength64'](_0x2c0b9b);break;case _0xf93930:this[_0x35dd67(0x2cd)]();break;case _0x4c62c0:this[_0x35dd67(0x246)](_0x2c0b9b);break;case _0xd4a14d:case _0x5033f0:this[_0x35dd67(0x2d0)]=!0x1;return;}while(this['_loop']);this[_0x35dd67(0x1ce)]||_0x2c0b9b();}[_0x505358(0x216)](_0x341c80){const _0x526ada=_0x505358;if(this['_bufferedBytes']<0x2){this['_loop']=!0x1;return;}const _0x4d7637=this[_0x526ada(0x29b)](0x2);if((_0x4d7637[0x0]&0x30)!==0x0){const _0x4639a4=this[_0x526ada(0x346)](RangeError,'RSV2\x20and\x20RSV3\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0x341c80(_0x4639a4);return;}const _0x3d1339=(_0x4d7637[0x0]&0x40)===0x40;if(_0x3d1339&&!this['_extensions'][_0x4a40ef['extensionName']]){const _0x370620=this[_0x526ada(0x346)](RangeError,_0x526ada(0x339),!0x0,0x3ea,_0x526ada(0x2a0));_0x341c80(_0x370620);return;}if(this[_0x526ada(0x305)]=(_0x4d7637[0x0]&0x80)===0x80,this[_0x526ada(0x1f2)]=_0x4d7637[0x0]&0xf,this[_0x526ada(0x1cb)]=_0x4d7637[0x1]&0x7f,this[_0x526ada(0x1f2)]===0x0){if(_0x3d1339){const _0x13695f=this[_0x526ada(0x346)](RangeError,_0x526ada(0x339),!0x0,0x3ea,_0x526ada(0x2a0));_0x341c80(_0x13695f);return;}if(!this['_fragmented']){const _0x50b03c=this[_0x526ada(0x346)](RangeError,_0x526ada(0x23f),!0x0,0x3ea,_0x526ada(0x2ec));_0x341c80(_0x50b03c);return;}this[_0x526ada(0x1f2)]=this['_fragmented'];}else{if(this[_0x526ada(0x1f2)]===0x1||this['_opcode']===0x2){if(this[_0x526ada(0x205)]){const _0x1b9f2a=this['createError'](RangeError,_0x526ada(0x282)+this[_0x526ada(0x1f2)],!0x0,0x3ea,_0x526ada(0x2ec));_0x341c80(_0x1b9f2a);return;}this[_0x526ada(0x2ac)]=_0x3d1339;}else{if(this[_0x526ada(0x1f2)]>0x7&&this[_0x526ada(0x1f2)]<0xb){if(!this[_0x526ada(0x305)]){const _0x127f28=this[_0x526ada(0x346)](RangeError,_0x526ada(0x278),!0x0,0x3ea,_0x526ada(0x2eb));_0x341c80(_0x127f28);return;}if(_0x3d1339){const _0x2d7280=this[_0x526ada(0x346)](RangeError,_0x526ada(0x339),!0x0,0x3ea,_0x526ada(0x2a0));_0x341c80(_0x2d7280);return;}if(this[_0x526ada(0x1cb)]>0x7d||this['_opcode']===0x8&&this[_0x526ada(0x1cb)]===0x1){const _0x59668e=this['createError'](RangeError,_0x526ada(0x2e6)+this['_payloadLength'],!0x0,0x3ea,'WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH');_0x341c80(_0x59668e);return;}}else{const _0x1a158c=this[_0x526ada(0x346)](RangeError,_0x526ada(0x282)+this[_0x526ada(0x1f2)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x341c80(_0x1a158c);return;}}}if(!this[_0x526ada(0x305)]&&!this['_fragmented']&&(this[_0x526ada(0x205)]=this['_opcode']),this['_masked']=(_0x4d7637[0x1]&0x80)===0x80,this[_0x526ada(0x2f6)]){if(!this[_0x526ada(0x1c0)]){const _0x3f7233=this[_0x526ada(0x346)](RangeError,_0x526ada(0x220),!0x0,0x3ea,_0x526ada(0x309));_0x341c80(_0x3f7233);return;}}else{if(this[_0x526ada(0x1c0)]){const _0x1b5d95=this[_0x526ada(0x346)](RangeError,_0x526ada(0x1cf),!0x0,0x3ea,_0x526ada(0x326));_0x341c80(_0x1b5d95);return;}}this[_0x526ada(0x1cb)]===0x7e?this['_state']=_0x1b220e:this['_payloadLength']===0x7f?this[_0x526ada(0x1e2)]=_0xee0db1:this['haveLength'](_0x341c80);}[_0x505358(0x2ca)](_0x54ba7f){const _0xc5545b=_0x505358;if(this['_bufferedBytes']<0x2){this[_0xc5545b(0x2d0)]=!0x1;return;}this['_payloadLength']=this[_0xc5545b(0x29b)](0x2)['readUInt16BE'](0x0),this['haveLength'](_0x54ba7f);}['getPayloadLength64'](_0x5cc158){const _0x30c9de=_0x505358;if(this[_0x30c9de(0x2a5)]<0x8){this['_loop']=!0x1;return;}const _0x24c093=this[_0x30c9de(0x29b)](0x8),_0x277600=_0x24c093[_0x30c9de(0x320)](0x0);if(_0x277600>Math['pow'](0x2,0x15)-0x1){const _0x2ba434=this[_0x30c9de(0x346)](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,_0x30c9de(0x255));_0x5cc158(_0x2ba434);return;}this['_payloadLength']=_0x277600*Math[_0x30c9de(0x252)](0x2,0x20)+_0x24c093[_0x30c9de(0x320)](0x4),this['haveLength'](_0x5cc158);}[_0x505358(0x270)](_0x17229c){const _0x2c5c0c=_0x505358;if(this[_0x2c5c0c(0x1cb)]&&this[_0x2c5c0c(0x1f2)]<0x8&&(this['_totalPayloadLength']+=this[_0x2c5c0c(0x1cb)],this[_0x2c5c0c(0x321)]>this[_0x2c5c0c(0x1c8)]&&this[_0x2c5c0c(0x1c8)]>0x0)){const _0x4a3580=this[_0x2c5c0c(0x346)](RangeError,_0x2c5c0c(0x330),!0x1,0x3f1,_0x2c5c0c(0x267));_0x17229c(_0x4a3580);return;}this[_0x2c5c0c(0x1c0)]?this['_state']=_0xf93930:this['_state']=_0x4c62c0;}[_0x505358(0x2cd)](){const _0x4dba67=_0x505358;if(this[_0x4dba67(0x2a5)]<0x4){this[_0x4dba67(0x2d0)]=!0x1;return;}this[_0x4dba67(0x240)]=this[_0x4dba67(0x29b)](0x4),this[_0x4dba67(0x1e2)]=_0x4c62c0;}['getData'](_0x503a57){const _0x3ba08e=_0x505358;let _0x211fba=_0x113aef;if(this[_0x3ba08e(0x1cb)]){if(this[_0x3ba08e(0x2a5)]<this['_payloadLength']){this['_loop']=!0x1;return;}_0x211fba=this[_0x3ba08e(0x29b)](this[_0x3ba08e(0x1cb)]),this[_0x3ba08e(0x1c0)]&&(this[_0x3ba08e(0x240)][0x0]|this[_0x3ba08e(0x240)][0x1]|this[_0x3ba08e(0x240)][0x2]|this['_mask'][0x3])!==0x0&&_0x54f8ba(_0x211fba,this[_0x3ba08e(0x240)]);}if(this[_0x3ba08e(0x1f2)]>0x7){this[_0x3ba08e(0x228)](_0x211fba,_0x503a57);return;}if(this[_0x3ba08e(0x2ac)]){this[_0x3ba08e(0x1e2)]=_0xd4a14d,this['decompress'](_0x211fba,_0x503a57);return;}_0x211fba[_0x3ba08e(0x2ba)]&&(this[_0x3ba08e(0x2bc)]=this[_0x3ba08e(0x321)],this[_0x3ba08e(0x303)]['push'](_0x211fba)),this[_0x3ba08e(0x31f)](_0x503a57);}[_0x505358(0x259)](_0x1c41ef,_0x2ad53b){const _0x28140b=_0x505358;this[_0x28140b(0x2cc)][_0x4a40ef[_0x28140b(0x2a7)]][_0x28140b(0x259)](_0x1c41ef,this[_0x28140b(0x305)],(_0x3edfbf,_0x549b33)=>{const _0x49bea9=_0x28140b;if(_0x3edfbf)return _0x2ad53b(_0x3edfbf);if(_0x549b33[_0x49bea9(0x2ba)]){if(this[_0x49bea9(0x2bc)]+=_0x549b33[_0x49bea9(0x2ba)],this[_0x49bea9(0x2bc)]>this[_0x49bea9(0x1c8)]&&this['_maxPayload']>0x0){const _0x3c4500=this['createError'](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x49bea9(0x267));_0x2ad53b(_0x3c4500);return;}this[_0x49bea9(0x303)][_0x49bea9(0x232)](_0x549b33);}this['dataMessage'](_0x2ad53b),this[_0x49bea9(0x1e2)]===_0xc16fe2&&this['startLoop'](_0x2ad53b);});}[_0x505358(0x31f)](_0x435a4e){const _0xc8cc40=_0x505358;if(!this[_0xc8cc40(0x305)]){this[_0xc8cc40(0x1e2)]=_0xc16fe2;return;}const _0x230bd2=this[_0xc8cc40(0x2bc)],_0x242b89=this[_0xc8cc40(0x303)];if(this[_0xc8cc40(0x321)]=0x0,this[_0xc8cc40(0x2bc)]=0x0,this[_0xc8cc40(0x205)]=0x0,this[_0xc8cc40(0x303)]=[],this[_0xc8cc40(0x1f2)]===0x2){let _0x1e6d85;this[_0xc8cc40(0x352)]==='nodebuffer'?_0x1e6d85=_0x4f9a48(_0x242b89,_0x230bd2):this[_0xc8cc40(0x352)]===_0xc8cc40(0x327)?_0x1e6d85=_0x15fd27(_0x4f9a48(_0x242b89,_0x230bd2)):this[_0xc8cc40(0x352)]===_0xc8cc40(0x2ef)?_0x1e6d85=new Blob(_0x242b89):_0x1e6d85=_0x242b89,this[_0xc8cc40(0x32e)]?(this[_0xc8cc40(0x358)]('message',_0x1e6d85,!0x0),this[_0xc8cc40(0x1e2)]=_0xc16fe2):(this[_0xc8cc40(0x1e2)]=_0x5033f0,setImmediate(()=>{const _0x47665c=_0xc8cc40;this[_0x47665c(0x358)](_0x47665c(0x2e4),_0x1e6d85,!0x0),this[_0x47665c(0x1e2)]=_0xc16fe2,this[_0x47665c(0x273)](_0x435a4e);}));}else{const _0x91be1e=_0x4f9a48(_0x242b89,_0x230bd2);if(!this[_0xc8cc40(0x34e)]&&!_0xac88f0(_0x91be1e)){const _0x2c2a54=this[_0xc8cc40(0x346)](Error,_0xc8cc40(0x297),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x435a4e(_0x2c2a54);return;}this[_0xc8cc40(0x1e2)]===_0xd4a14d||this['_allowSynchronousEvents']?(this[_0xc8cc40(0x358)]('message',_0x91be1e,!0x1),this[_0xc8cc40(0x1e2)]=_0xc16fe2):(this['_state']=_0x5033f0,setImmediate(()=>{const _0x3555a4=_0xc8cc40;this['emit'](_0x3555a4(0x2e4),_0x91be1e,!0x1),this['_state']=_0xc16fe2,this[_0x3555a4(0x273)](_0x435a4e);}));}}[_0x505358(0x228)](_0x69240b,_0x52f2e9){const _0x270a05=_0x505358;if(this[_0x270a05(0x1f2)]===0x8){if(_0x69240b[_0x270a05(0x2ba)]===0x0)this['_loop']=!0x1,this[_0x270a05(0x358)](_0x270a05(0x2bf),0x3ed,_0x113aef),this[_0x270a05(0x202)]();else{const _0x2ff714=_0x69240b[_0x270a05(0x312)](0x0);if(!_0x2efe37(_0x2ff714)){const _0x3b0629=this[_0x270a05(0x346)](RangeError,'invalid\x20status\x20code\x20'+_0x2ff714,!0x0,0x3ea,_0x270a05(0x269));_0x52f2e9(_0x3b0629);return;}const _0x541f4d=new _0x59b12a(_0x69240b['buffer'],_0x69240b['byteOffset']+0x2,_0x69240b[_0x270a05(0x2ba)]-0x2);if(!this[_0x270a05(0x34e)]&&!_0xac88f0(_0x541f4d)){const _0x294932=this[_0x270a05(0x346)](Error,_0x270a05(0x297),!0x0,0x3ef,_0x270a05(0x360));_0x52f2e9(_0x294932);return;}this[_0x270a05(0x2d0)]=!0x1,this[_0x270a05(0x358)](_0x270a05(0x2bf),_0x2ff714,_0x541f4d),this[_0x270a05(0x202)]();}this['_state']=_0xc16fe2;return;}this[_0x270a05(0x32e)]?(this[_0x270a05(0x358)](this[_0x270a05(0x1f2)]===0x9?_0x270a05(0x34a):'pong',_0x69240b),this[_0x270a05(0x1e2)]=_0xc16fe2):(this[_0x270a05(0x1e2)]=_0x5033f0,setImmediate(()=>{const _0x45cf4b=_0x270a05;this['emit'](this[_0x45cf4b(0x1f2)]===0x9?_0x45cf4b(0x34a):_0x45cf4b(0x1fa),_0x69240b),this['_state']=_0xc16fe2,this[_0x45cf4b(0x273)](_0x52f2e9);}));}[_0x505358(0x346)](_0x4f4942,_0x5b6a1b,_0x471267,_0x4e6720,_0x24edbe){const _0x11f404=_0x505358;this[_0x11f404(0x2d0)]=!0x1,this['_errored']=!0x0;const _0x134c8a=new _0x4f4942(_0x471267?'Invalid\x20WebSocket\x20frame:\x20'+_0x5b6a1b:_0x5b6a1b);return Error[_0x11f404(0x215)](_0x134c8a,this['createError']),_0x134c8a['code']=_0x24edbe,_0x134c8a[_0x8e100]=_0x4e6720,_0x134c8a;}}return Se=_0x284d21,Se;}var Ee,et;function _t(){const _0x308627=_0x3391af;if(et)return Ee;et=0x1;const {Duplex:_0x5bb891}=_0x53a436,{randomFillSync:_0x587560}=_0x35daef,_0x414663=he(),{EMPTY_BUFFER:_0x1539e6,kWebSocket:_0x552a15,NOOP:_0x1dec48}=V(),{isBlob:_0x3cb0c2,isValidStatusCode:_0x4e147c}=ne(),{mask:_0x2ff206,toBuffer:_0x12665b}=ce(),_0x34f039=Symbol(_0x308627(0x27a)),_0x317aa3=Buffer[_0x308627(0x1c2)](0x4),_0x568a9a=0x8*0x400;let _0x5e3cd5,_0x2d5ac9=_0x568a9a;const _0x1e5e20=0x0,_0xc77a8e=0x1,_0x511bfb=0x2;class _0x5b6fb8{constructor(_0x5341d6,_0xae21fe,_0x36b17e){const _0xd5eb16=_0x308627;this[_0xd5eb16(0x2cc)]=_0xae21fe||{},_0x36b17e&&(this[_0xd5eb16(0x22c)]=_0x36b17e,this[_0xd5eb16(0x27d)]=Buffer['alloc'](0x4)),this[_0xd5eb16(0x292)]=_0x5341d6,this[_0xd5eb16(0x2d6)]=!0x0,this[_0xd5eb16(0x2df)]=!0x1,this['_bufferedBytes']=0x0,this['_queue']=[],this[_0xd5eb16(0x1e2)]=_0x1e5e20,this[_0xd5eb16(0x227)]=_0x1dec48,this[_0x552a15]=void 0x0;}static[_0x308627(0x274)](_0xf50437,_0x2add0a){const _0x3a68b8=_0x308627;let _0x7d67ed,_0x1d6061=!0x1,_0x6b6e6=0x2,_0x3a2fad=!0x1;_0x2add0a[_0x3a68b8(0x27f)]&&(_0x7d67ed=_0x2add0a[_0x3a68b8(0x2bd)]||_0x317aa3,_0x2add0a['generateMask']?_0x2add0a[_0x3a68b8(0x231)](_0x7d67ed):(_0x2d5ac9===_0x568a9a&&(_0x5e3cd5===void 0x0&&(_0x5e3cd5=Buffer[_0x3a68b8(0x1c2)](_0x568a9a)),_0x587560(_0x5e3cd5,0x0,_0x568a9a),_0x2d5ac9=0x0),_0x7d67ed[0x0]=_0x5e3cd5[_0x2d5ac9++],_0x7d67ed[0x1]=_0x5e3cd5[_0x2d5ac9++],_0x7d67ed[0x2]=_0x5e3cd5[_0x2d5ac9++],_0x7d67ed[0x3]=_0x5e3cd5[_0x2d5ac9++]),_0x3a2fad=(_0x7d67ed[0x0]|_0x7d67ed[0x1]|_0x7d67ed[0x2]|_0x7d67ed[0x3])===0x0,_0x6b6e6=0x6);let _0x26bd08;typeof _0xf50437==_0x3a68b8(0x348)?(!_0x2add0a[_0x3a68b8(0x27f)]||_0x3a2fad)&&_0x2add0a[_0x34f039]!==void 0x0?_0x26bd08=_0x2add0a[_0x34f039]:(_0xf50437=Buffer[_0x3a68b8(0x2e3)](_0xf50437),_0x26bd08=_0xf50437[_0x3a68b8(0x2ba)]):(_0x26bd08=_0xf50437[_0x3a68b8(0x2ba)],_0x1d6061=_0x2add0a['mask']&&_0x2add0a[_0x3a68b8(0x1e6)]&&!_0x3a2fad);let _0x2f309d=_0x26bd08;_0x26bd08>=0x10000?(_0x6b6e6+=0x8,_0x2f309d=0x7f):_0x26bd08>0x7d&&(_0x6b6e6+=0x2,_0x2f309d=0x7e);const _0xe46b94=Buffer[_0x3a68b8(0x1d5)](_0x1d6061?_0x26bd08+_0x6b6e6:_0x6b6e6);return _0xe46b94[0x0]=_0x2add0a[_0x3a68b8(0x338)]?_0x2add0a[_0x3a68b8(0x24e)]|0x80:_0x2add0a[_0x3a68b8(0x24e)],_0x2add0a['rsv1']&&(_0xe46b94[0x0]|=0x40),_0xe46b94[0x1]=_0x2f309d,_0x2f309d===0x7e?_0xe46b94['writeUInt16BE'](_0x26bd08,0x2):_0x2f309d===0x7f&&(_0xe46b94[0x2]=_0xe46b94[0x3]=0x0,_0xe46b94[_0x3a68b8(0x281)](_0x26bd08,0x4,0x6)),_0x2add0a['mask']?(_0xe46b94[0x1]|=0x80,_0xe46b94[_0x6b6e6-0x4]=_0x7d67ed[0x0],_0xe46b94[_0x6b6e6-0x3]=_0x7d67ed[0x1],_0xe46b94[_0x6b6e6-0x2]=_0x7d67ed[0x2],_0xe46b94[_0x6b6e6-0x1]=_0x7d67ed[0x3],_0x3a2fad?[_0xe46b94,_0xf50437]:_0x1d6061?(_0x2ff206(_0xf50437,_0x7d67ed,_0xe46b94,_0x6b6e6,_0x26bd08),[_0xe46b94]):(_0x2ff206(_0xf50437,_0x7d67ed,_0xf50437,0x0,_0x26bd08),[_0xe46b94,_0xf50437])):[_0xe46b94,_0xf50437];}[_0x308627(0x35e)](_0x5e9efa,_0x5c36af,_0x2bc925,_0x6647d2){const _0x26df5d=_0x308627;let _0x5d6204;if(_0x5e9efa===void 0x0)_0x5d6204=_0x1539e6;else{if(typeof _0x5e9efa!=_0x26df5d(0x2fe)||!_0x4e147c(_0x5e9efa))throw new TypeError(_0x26df5d(0x314));if(_0x5c36af===void 0x0||!_0x5c36af['length'])_0x5d6204=Buffer[_0x26df5d(0x1d5)](0x2),_0x5d6204[_0x26df5d(0x1fe)](_0x5e9efa,0x0);else{const _0x591f7a=Buffer['byteLength'](_0x5c36af);if(_0x591f7a>0x7b)throw new RangeError(_0x26df5d(0x1ed));_0x5d6204=Buffer[_0x26df5d(0x1d5)](0x2+_0x591f7a),_0x5d6204[_0x26df5d(0x1fe)](_0x5e9efa,0x0),typeof _0x5c36af==_0x26df5d(0x348)?_0x5d6204[_0x26df5d(0x344)](_0x5c36af,0x2):_0x5d6204[_0x26df5d(0x355)](_0x5c36af,0x2);}}const _0x46fb5d={[_0x34f039]:_0x5d6204[_0x26df5d(0x2ba)],'fin':!0x0,'generateMask':this[_0x26df5d(0x22c)],'mask':_0x2bc925,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x26df5d(0x1e2)]!==_0x1e5e20?this[_0x26df5d(0x1bd)]([this[_0x26df5d(0x2ff)],_0x5d6204,!0x1,_0x46fb5d,_0x6647d2]):this['sendFrame'](_0x5b6fb8[_0x26df5d(0x274)](_0x5d6204,_0x46fb5d),_0x6647d2);}[_0x308627(0x34a)](_0x2ec21e,_0x45e28c,_0x5c7538){const _0x39154e=_0x308627;let _0x52e200,_0x43881d;if(typeof _0x2ec21e=='string'?(_0x52e200=Buffer[_0x39154e(0x1f9)](_0x2ec21e),_0x43881d=!0x1):_0x3cb0c2(_0x2ec21e)?(_0x52e200=_0x2ec21e[_0x39154e(0x1eb)],_0x43881d=!0x1):(_0x2ec21e=_0x12665b(_0x2ec21e),_0x52e200=_0x2ec21e[_0x39154e(0x2ba)],_0x43881d=_0x12665b['readOnly']),_0x52e200>0x7d)throw new RangeError(_0x39154e(0x213));const _0x106595={[_0x34f039]:_0x52e200,'fin':!0x0,'generateMask':this[_0x39154e(0x22c)],'mask':_0x45e28c,'maskBuffer':this['_maskBuffer'],'opcode':0x9,'readOnly':_0x43881d,'rsv1':!0x1};_0x3cb0c2(_0x2ec21e)?this['_state']!==_0x1e5e20?this[_0x39154e(0x1bd)]([this['getBlobData'],_0x2ec21e,!0x1,_0x106595,_0x5c7538]):this[_0x39154e(0x2d9)](_0x2ec21e,!0x1,_0x106595,_0x5c7538):this['_state']!==_0x1e5e20?this[_0x39154e(0x1bd)]([this[_0x39154e(0x2ff)],_0x2ec21e,!0x1,_0x106595,_0x5c7538]):this[_0x39154e(0x1f1)](_0x5b6fb8[_0x39154e(0x274)](_0x2ec21e,_0x106595),_0x5c7538);}[_0x308627(0x1fa)](_0x46b446,_0x3106ed,_0x25a8ab){const _0x10ea0e=_0x308627;let _0x44ccf4,_0xeea48a;if(typeof _0x46b446==_0x10ea0e(0x348)?(_0x44ccf4=Buffer['byteLength'](_0x46b446),_0xeea48a=!0x1):_0x3cb0c2(_0x46b446)?(_0x44ccf4=_0x46b446['size'],_0xeea48a=!0x1):(_0x46b446=_0x12665b(_0x46b446),_0x44ccf4=_0x46b446['length'],_0xeea48a=_0x12665b['readOnly']),_0x44ccf4>0x7d)throw new RangeError(_0x10ea0e(0x213));const _0x4507e7={[_0x34f039]:_0x44ccf4,'fin':!0x0,'generateMask':this[_0x10ea0e(0x22c)],'mask':_0x3106ed,'maskBuffer':this[_0x10ea0e(0x27d)],'opcode':0xa,'readOnly':_0xeea48a,'rsv1':!0x1};_0x3cb0c2(_0x46b446)?this[_0x10ea0e(0x1e2)]!==_0x1e5e20?this[_0x10ea0e(0x1bd)]([this[_0x10ea0e(0x2d9)],_0x46b446,!0x1,_0x4507e7,_0x25a8ab]):this[_0x10ea0e(0x2d9)](_0x46b446,!0x1,_0x4507e7,_0x25a8ab):this['_state']!==_0x1e5e20?this[_0x10ea0e(0x1bd)]([this[_0x10ea0e(0x2ff)],_0x46b446,!0x1,_0x4507e7,_0x25a8ab]):this[_0x10ea0e(0x1f1)](_0x5b6fb8['frame'](_0x46b446,_0x4507e7),_0x25a8ab);}[_0x308627(0x2d8)](_0x168794,_0x254f07,_0x39f797){const _0x1e22a1=_0x308627,_0x1e5b19=this['_extensions'][_0x414663[_0x1e22a1(0x2a7)]];let _0x481074=_0x254f07[_0x1e22a1(0x350)]?0x2:0x1,_0x1cc566=_0x254f07['compress'],_0x95d04c,_0x15bba4;typeof _0x168794==_0x1e22a1(0x348)?(_0x95d04c=Buffer[_0x1e22a1(0x1f9)](_0x168794),_0x15bba4=!0x1):_0x3cb0c2(_0x168794)?(_0x95d04c=_0x168794[_0x1e22a1(0x1eb)],_0x15bba4=!0x1):(_0x168794=_0x12665b(_0x168794),_0x95d04c=_0x168794[_0x1e22a1(0x2ba)],_0x15bba4=_0x12665b['readOnly']),this[_0x1e22a1(0x2d6)]?(this[_0x1e22a1(0x2d6)]=!0x1,_0x1cc566&&_0x1e5b19&&_0x1e5b19[_0x1e22a1(0x31a)][_0x1e5b19[_0x1e22a1(0x2f6)]?_0x1e22a1(0x2e7):_0x1e22a1(0x334)]&&(_0x1cc566=_0x95d04c>=_0x1e5b19['_threshold']),this['_compress']=_0x1cc566):(_0x1cc566=!0x1,_0x481074=0x0),_0x254f07['fin']&&(this['_firstFragment']=!0x0);const _0x25a639={[_0x34f039]:_0x95d04c,'fin':_0x254f07[_0x1e22a1(0x338)],'generateMask':this[_0x1e22a1(0x22c)],'mask':_0x254f07[_0x1e22a1(0x27f)],'maskBuffer':this[_0x1e22a1(0x27d)],'opcode':_0x481074,'readOnly':_0x15bba4,'rsv1':_0x1cc566};_0x3cb0c2(_0x168794)?this[_0x1e22a1(0x1e2)]!==_0x1e5e20?this[_0x1e22a1(0x1bd)]([this[_0x1e22a1(0x2d9)],_0x168794,this[_0x1e22a1(0x2df)],_0x25a639,_0x39f797]):this[_0x1e22a1(0x2d9)](_0x168794,this[_0x1e22a1(0x2df)],_0x25a639,_0x39f797):this['_state']!==_0x1e5e20?this[_0x1e22a1(0x1bd)]([this['dispatch'],_0x168794,this[_0x1e22a1(0x2df)],_0x25a639,_0x39f797]):this[_0x1e22a1(0x2ff)](_0x168794,this['_compress'],_0x25a639,_0x39f797);}[_0x308627(0x2d9)](_0x5414f9,_0x2afb12,_0x310365,_0x3b31da){const _0x2badc5=_0x308627;this[_0x2badc5(0x2a5)]+=_0x310365[_0x34f039],this['_state']=_0x511bfb,_0x5414f9[_0x2badc5(0x25a)]()[_0x2badc5(0x251)](_0x336ad1=>{const _0x36a712=_0x2badc5;if(this['_socket'][_0x36a712(0x2cf)]){const _0x58961b=new Error(_0x36a712(0x31b));process[_0x36a712(0x1f7)](_0x20981c,this,_0x58961b,_0x3b31da);return;}this[_0x36a712(0x2a5)]-=_0x310365[_0x34f039];const _0x1dfd05=_0x12665b(_0x336ad1);_0x2afb12?this['dispatch'](_0x1dfd05,_0x2afb12,_0x310365,_0x3b31da):(this[_0x36a712(0x1e2)]=_0x1e5e20,this['sendFrame'](_0x5b6fb8['frame'](_0x1dfd05,_0x310365),_0x3b31da),this[_0x36a712(0x201)]());})[_0x2badc5(0x28d)](_0x46249d=>{process['nextTick'](_0x3bf54a,this,_0x46249d,_0x3b31da);});}[_0x308627(0x2ff)](_0x279736,_0x43aa7f,_0x33d7a5,_0x1e7633){const _0x543002=_0x308627;if(!_0x43aa7f){this['sendFrame'](_0x5b6fb8[_0x543002(0x274)](_0x279736,_0x33d7a5),_0x1e7633);return;}const _0xddd608=this[_0x543002(0x2cc)][_0x414663[_0x543002(0x2a7)]];this['_bufferedBytes']+=_0x33d7a5[_0x34f039],this[_0x543002(0x1e2)]=_0xc77a8e,_0xddd608['compress'](_0x279736,_0x33d7a5[_0x543002(0x338)],(_0xe140d4,_0xdefe9b)=>{const _0xa455f6=_0x543002;if(this['_socket'][_0xa455f6(0x2cf)]){const _0x1d8476=new Error(_0xa455f6(0x288));_0x20981c(this,_0x1d8476,_0x1e7633);return;}this[_0xa455f6(0x2a5)]-=_0x33d7a5[_0x34f039],this['_state']=_0x1e5e20,_0x33d7a5[_0xa455f6(0x1e6)]=!0x1,this['sendFrame'](_0x5b6fb8['frame'](_0xdefe9b,_0x33d7a5),_0x1e7633),this[_0xa455f6(0x201)]();});}[_0x308627(0x201)](){const _0x1b12b2=_0x308627;for(;this[_0x1b12b2(0x1e2)]===_0x1e5e20&&this[_0x1b12b2(0x2f4)][_0x1b12b2(0x2ba)];){const _0x1653c1=this['_queue'][_0x1b12b2(0x1ea)]();this[_0x1b12b2(0x2a5)]-=_0x1653c1[0x3][_0x34f039],Reflect[_0x1b12b2(0x323)](_0x1653c1[0x0],this,_0x1653c1[_0x1b12b2(0x1ec)](0x1));}}[_0x308627(0x1bd)](_0x309a64){const _0x31757c=_0x308627;this[_0x31757c(0x2a5)]+=_0x309a64[0x3][_0x34f039],this[_0x31757c(0x2f4)][_0x31757c(0x232)](_0x309a64);}['sendFrame'](_0x1d3ad2,_0x624338){const _0x1b97ca=_0x308627;_0x1d3ad2[_0x1b97ca(0x2ba)]===0x2?(this[_0x1b97ca(0x292)][_0x1b97ca(0x225)](),this['_socket'][_0x1b97ca(0x344)](_0x1d3ad2[0x0]),this[_0x1b97ca(0x292)][_0x1b97ca(0x344)](_0x1d3ad2[0x1],_0x624338),this['_socket']['uncork']()):this[_0x1b97ca(0x292)]['write'](_0x1d3ad2[0x0],_0x624338);}}Ee=_0x5b6fb8;function _0x20981c(_0x4ebe8e,_0x5ba90b,_0x1ce1ea){const _0x5363a9=_0x308627;typeof _0x1ce1ea==_0x5363a9(0x20f)&&_0x1ce1ea(_0x5ba90b);for(let _0x113253=0x0;_0x113253<_0x4ebe8e[_0x5363a9(0x2f4)][_0x5363a9(0x2ba)];_0x113253++){const _0x3fe950=_0x4ebe8e[_0x5363a9(0x2f4)][_0x113253],_0x524f56=_0x3fe950[_0x3fe950[_0x5363a9(0x2ba)]-0x1];typeof _0x524f56==_0x5363a9(0x20f)&&_0x524f56(_0x5ba90b);}}function _0x3bf54a(_0x3bd680,_0x5a31fb,_0x1ac873){const _0x374a59=_0x308627;_0x20981c(_0x3bd680,_0x5a31fb,_0x1ac873),_0x3bd680[_0x374a59(0x227)](_0x5a31fb);}return Ee;}var xe,tt;function Kt(){const _0x620a54=_0x3391af;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x1f4647,kListener:_0x527bfa}=V(),_0x1254a1=Symbol('kCode'),_0x45a4d6=Symbol(_0x620a54(0x30e)),_0x3876c4=Symbol('kError'),_0x557bc1=Symbol(_0x620a54(0x22d)),_0x11225e=Symbol(_0x620a54(0x21f)),_0x56ed0d=Symbol(_0x620a54(0x2fb)),_0x118b16=Symbol(_0x620a54(0x316)),_0x31a39a=Symbol(_0x620a54(0x340));class _0x3f1979{constructor(_0x588b1f){this[_0x56ed0d]=null,this[_0x118b16]=_0x588b1f;}get[_0x620a54(0x23d)](){return this[_0x56ed0d];}get[_0x620a54(0x250)](){return this[_0x118b16];}}Object[_0x620a54(0x1c9)](_0x3f1979[_0x620a54(0x2a4)],_0x620a54(0x23d),{'enumerable':!0x0}),Object['defineProperty'](_0x3f1979['prototype'],'type',{'enumerable':!0x0});class _0x1f5d3c extends _0x3f1979{constructor(_0x546884,_0x465416={}){const _0x2fcb28=_0x620a54;super(_0x546884),this[_0x1254a1]=_0x465416[_0x2fcb28(0x2af)]===void 0x0?0x0:_0x465416['code'],this[_0x11225e]=_0x465416[_0x2fcb28(0x1d0)]===void 0x0?'':_0x465416[_0x2fcb28(0x1d0)],this[_0x31a39a]=_0x465416[_0x2fcb28(0x2a8)]===void 0x0?!0x1:_0x465416['wasClean'];}get['code'](){return this[_0x1254a1];}get[_0x620a54(0x1d0)](){return this[_0x11225e];}get[_0x620a54(0x2a8)](){return this[_0x31a39a];}}Object[_0x620a54(0x1c9)](_0x1f5d3c[_0x620a54(0x2a4)],_0x620a54(0x2af),{'enumerable':!0x0}),Object['defineProperty'](_0x1f5d3c[_0x620a54(0x2a4)],'reason',{'enumerable':!0x0}),Object[_0x620a54(0x1c9)](_0x1f5d3c[_0x620a54(0x2a4)],'wasClean',{'enumerable':!0x0});class _0x4abe1e extends _0x3f1979{constructor(_0x53e41e,_0x45b072={}){const _0x5d0577=_0x620a54;super(_0x53e41e),this[_0x3876c4]=_0x45b072[_0x5d0577(0x1e8)]===void 0x0?null:_0x45b072['error'],this[_0x557bc1]=_0x45b072['message']===void 0x0?'':_0x45b072[_0x5d0577(0x2e4)];}get[_0x620a54(0x1e8)](){return this[_0x3876c4];}get[_0x620a54(0x2e4)](){return this[_0x557bc1];}}Object[_0x620a54(0x1c9)](_0x4abe1e['prototype'],_0x620a54(0x1e8),{'enumerable':!0x0}),Object[_0x620a54(0x1c9)](_0x4abe1e['prototype'],_0x620a54(0x2e4),{'enumerable':!0x0});class _0x2f433c extends _0x3f1979{constructor(_0x2b88b1,_0x3ca642={}){const _0x520519=_0x620a54;super(_0x2b88b1),this[_0x45a4d6]=_0x3ca642['data']===void 0x0?null:_0x3ca642[_0x520519(0x2f5)];}get['data'](){return this[_0x45a4d6];}}Object[_0x620a54(0x1c9)](_0x2f433c[_0x620a54(0x2a4)],_0x620a54(0x2f5),{'enumerable':!0x0}),xe={'CloseEvent':_0x1f5d3c,'ErrorEvent':_0x4abe1e,'Event':_0x3f1979,'EventTarget':{'addEventListener'(_0xe3952e,_0x48097f,_0xb3d035={}){const _0x51d49a=_0x620a54;for(const _0x3e02b7 of this[_0x51d49a(0x239)](_0xe3952e))if(!_0xb3d035[_0x1f4647]&&_0x3e02b7[_0x527bfa]===_0x48097f&&!_0x3e02b7[_0x1f4647])return;let _0x4ba722;if(_0xe3952e===_0x51d49a(0x2e4))_0x4ba722=function(_0x21b379,_0x39129f){const _0x4e705d=new _0x2f433c('message',{'data':_0x39129f?_0x21b379:_0x21b379['toString']()});_0x4e705d[_0x56ed0d]=this,_0x11c751(_0x48097f,this,_0x4e705d);};else{if(_0xe3952e===_0x51d49a(0x35e))_0x4ba722=function(_0x3e5cf1,_0x49ba22){const _0x40077f=_0x51d49a,_0x581ef4=new _0x1f5d3c(_0x40077f(0x35e),{'code':_0x3e5cf1,'reason':_0x49ba22[_0x40077f(0x1f4)](),'wasClean':this[_0x40077f(0x211)]&&this[_0x40077f(0x1d8)]});_0x581ef4[_0x56ed0d]=this,_0x11c751(_0x48097f,this,_0x581ef4);};else{if(_0xe3952e===_0x51d49a(0x1e8))_0x4ba722=function(_0x2cffda){const _0xc56ba5=_0x51d49a,_0xe4d497=new _0x4abe1e(_0xc56ba5(0x1e8),{'error':_0x2cffda,'message':_0x2cffda[_0xc56ba5(0x2e4)]});_0xe4d497[_0x56ed0d]=this,_0x11c751(_0x48097f,this,_0xe4d497);};else{if(_0xe3952e===_0x51d49a(0x1ee))_0x4ba722=function(){const _0x5a1026=_0x51d49a,_0x118030=new _0x3f1979(_0x5a1026(0x1ee));_0x118030[_0x56ed0d]=this,_0x11c751(_0x48097f,this,_0x118030);};else return;}}}_0x4ba722[_0x1f4647]=!!_0xb3d035[_0x1f4647],_0x4ba722[_0x527bfa]=_0x48097f,_0xb3d035[_0x51d49a(0x332)]?this[_0x51d49a(0x332)](_0xe3952e,_0x4ba722):this['on'](_0xe3952e,_0x4ba722);},'removeEventListener'(_0x5eef64,_0x37e949){const _0x56cbcf=_0x620a54;for(const _0x2adcce of this['listeners'](_0x5eef64))if(_0x2adcce[_0x527bfa]===_0x37e949&&!_0x2adcce[_0x1f4647]){this[_0x56cbcf(0x265)](_0x5eef64,_0x2adcce);break;}}},'MessageEvent':_0x2f433c};function _0x11c751(_0x5e58ca,_0xb1623d,_0x2b8659){const _0x320098=_0x620a54;typeof _0x5e58ca==_0x320098(0x2f2)&&_0x5e58ca[_0x320098(0x2e0)]?_0x5e58ca[_0x320098(0x2e0)][_0x320098(0x33a)](_0x5e58ca,_0x2b8659):_0x5e58ca[_0x320098(0x33a)](_0xb1623d,_0x2b8659);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x3f9aff}=ne();function _0x50bdbe(_0x15a056,_0x556a9c,_0x28dce8){const _0x1626d6=_0x4e74;_0x15a056[_0x556a9c]===void 0x0?_0x15a056[_0x556a9c]=[_0x28dce8]:_0x15a056[_0x556a9c][_0x1626d6(0x232)](_0x28dce8);}function _0x616940(_0x2efd7e){const _0x65a674=_0x4e74,_0x5018ca=Object['create'](null);let _0x45c1a4=Object['create'](null),_0x11b989=!0x1,_0x46cb22=!0x1,_0x51093d=!0x1,_0x289503,_0x579248,_0x3c7b7e=-0x1,_0x356d80=-0x1,_0xac95d1=-0x1,_0x58ff84=0x0;for(;_0x58ff84<_0x2efd7e['length'];_0x58ff84++)if(_0x356d80=_0x2efd7e[_0x65a674(0x32f)](_0x58ff84),_0x289503===void 0x0){if(_0xac95d1===-0x1&&_0x3f9aff[_0x356d80]===0x1)_0x3c7b7e===-0x1&&(_0x3c7b7e=_0x58ff84);else{if(_0x58ff84!==0x0&&(_0x356d80===0x20||_0x356d80===0x9))_0xac95d1===-0x1&&_0x3c7b7e!==-0x1&&(_0xac95d1=_0x58ff84);else{if(_0x356d80===0x3b||_0x356d80===0x2c){if(_0x3c7b7e===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x58ff84);_0xac95d1===-0x1&&(_0xac95d1=_0x58ff84);const _0x579c8f=_0x2efd7e['slice'](_0x3c7b7e,_0xac95d1);_0x356d80===0x2c?(_0x50bdbe(_0x5018ca,_0x579c8f,_0x45c1a4),_0x45c1a4=Object[_0x65a674(0x2a6)](null)):_0x289503=_0x579c8f,_0x3c7b7e=_0xac95d1=-0x1;}else throw new SyntaxError(_0x65a674(0x310)+_0x58ff84);}}}else{if(_0x579248===void 0x0){if(_0xac95d1===-0x1&&_0x3f9aff[_0x356d80]===0x1)_0x3c7b7e===-0x1&&(_0x3c7b7e=_0x58ff84);else{if(_0x356d80===0x20||_0x356d80===0x9)_0xac95d1===-0x1&&_0x3c7b7e!==-0x1&&(_0xac95d1=_0x58ff84);else{if(_0x356d80===0x3b||_0x356d80===0x2c){if(_0x3c7b7e===-0x1)throw new SyntaxError(_0x65a674(0x310)+_0x58ff84);_0xac95d1===-0x1&&(_0xac95d1=_0x58ff84),_0x50bdbe(_0x45c1a4,_0x2efd7e[_0x65a674(0x1ec)](_0x3c7b7e,_0xac95d1),!0x0),_0x356d80===0x2c&&(_0x50bdbe(_0x5018ca,_0x289503,_0x45c1a4),_0x45c1a4=Object[_0x65a674(0x2a6)](null),_0x289503=void 0x0),_0x3c7b7e=_0xac95d1=-0x1;}else{if(_0x356d80===0x3d&&_0x3c7b7e!==-0x1&&_0xac95d1===-0x1)_0x579248=_0x2efd7e[_0x65a674(0x1ec)](_0x3c7b7e,_0x58ff84),_0x3c7b7e=_0xac95d1=-0x1;else throw new SyntaxError(_0x65a674(0x310)+_0x58ff84);}}}}else{if(_0x46cb22){if(_0x3f9aff[_0x356d80]!==0x1)throw new SyntaxError(_0x65a674(0x310)+_0x58ff84);_0x3c7b7e===-0x1?_0x3c7b7e=_0x58ff84:_0x11b989||(_0x11b989=!0x0),_0x46cb22=!0x1;}else{if(_0x51093d){if(_0x3f9aff[_0x356d80]===0x1)_0x3c7b7e===-0x1&&(_0x3c7b7e=_0x58ff84);else{if(_0x356d80===0x22&&_0x3c7b7e!==-0x1)_0x51093d=!0x1,_0xac95d1=_0x58ff84;else{if(_0x356d80===0x5c)_0x46cb22=!0x0;else throw new SyntaxError(_0x65a674(0x310)+_0x58ff84);}}}else{if(_0x356d80===0x22&&_0x2efd7e[_0x65a674(0x32f)](_0x58ff84-0x1)===0x3d)_0x51093d=!0x0;else{if(_0xac95d1===-0x1&&_0x3f9aff[_0x356d80]===0x1)_0x3c7b7e===-0x1&&(_0x3c7b7e=_0x58ff84);else{if(_0x3c7b7e!==-0x1&&(_0x356d80===0x20||_0x356d80===0x9))_0xac95d1===-0x1&&(_0xac95d1=_0x58ff84);else{if(_0x356d80===0x3b||_0x356d80===0x2c){if(_0x3c7b7e===-0x1)throw new SyntaxError(_0x65a674(0x310)+_0x58ff84);_0xac95d1===-0x1&&(_0xac95d1=_0x58ff84);let _0x304e60=_0x2efd7e['slice'](_0x3c7b7e,_0xac95d1);_0x11b989&&(_0x304e60=_0x304e60[_0x65a674(0x23c)](/\\/g,''),_0x11b989=!0x1),_0x50bdbe(_0x45c1a4,_0x579248,_0x304e60),_0x356d80===0x2c&&(_0x50bdbe(_0x5018ca,_0x289503,_0x45c1a4),_0x45c1a4=Object[_0x65a674(0x2a6)](null),_0x289503=void 0x0),_0x579248=void 0x0,_0x3c7b7e=_0xac95d1=-0x1;}else throw new SyntaxError(_0x65a674(0x310)+_0x58ff84);}}}}}}}if(_0x3c7b7e===-0x1||_0x51093d||_0x356d80===0x20||_0x356d80===0x9)throw new SyntaxError('Unexpected\x20end\x20of\x20input');_0xac95d1===-0x1&&(_0xac95d1=_0x58ff84);const _0x53204b=_0x2efd7e['slice'](_0x3c7b7e,_0xac95d1);return _0x289503===void 0x0?_0x50bdbe(_0x5018ca,_0x53204b,_0x45c1a4):(_0x579248===void 0x0?_0x50bdbe(_0x45c1a4,_0x53204b,!0x0):_0x11b989?_0x50bdbe(_0x45c1a4,_0x579248,_0x53204b[_0x65a674(0x23c)](/\\/g,'')):_0x50bdbe(_0x45c1a4,_0x579248,_0x53204b),_0x50bdbe(_0x5018ca,_0x289503,_0x45c1a4)),_0x5018ca;}function _0x1e6abc(_0x29e3a0){const _0x5d5d36=_0x4e74;return Object['keys'](_0x29e3a0)[_0x5d5d36(0x1ef)](_0x477626=>{const _0x1b9d2e=_0x5d5d36;let _0x451e6c=_0x29e3a0[_0x477626];return Array[_0x1b9d2e(0x2c2)](_0x451e6c)||(_0x451e6c=[_0x451e6c]),_0x451e6c[_0x1b9d2e(0x1ef)](_0x59a70b=>[_0x477626][_0x1b9d2e(0x2a2)](Object['keys'](_0x59a70b)[_0x1b9d2e(0x1ef)](_0x28aad0=>{const _0xe11008=_0x1b9d2e;let _0x23372d=_0x59a70b[_0x28aad0];return Array['isArray'](_0x23372d)||(_0x23372d=[_0x23372d]),_0x23372d[_0xe11008(0x1ef)](_0x283b81=>_0x283b81===!0x0?_0x28aad0:_0x28aad0+'='+_0x283b81)[_0xe11008(0x284)](';\x20');}))[_0x1b9d2e(0x284)](';\x20'))['join'](',\x20');})[_0x5d5d36(0x284)](',\x20');}return be={'format':_0x1e6abc,'parse':_0x616940},be;}var we,st;function Ie(){const _0x575253=_0x3391af;if(st)return we;st=0x1;const _0x5db8cb=_0xdcca24,_0x25ef2a=_0x17d383,_0x3d745=_0x5c9c67,_0x5859a8=_0x13a897,_0x100b76=_0xed7c32,{randomBytes:_0xd961fc,createHash:_0x3a6c27}=_0x35daef,{Duplex:_0x10e416,Readable:_0x22474a}=_0x53a436,{URL:_0x11fc67}=_0x546cdd,_0x17a6b0=he(),_0x35b0d4=dt(),_0x2d72ff=_t(),{isBlob:_0x47991b}=ne(),{BINARY_TYPES:_0x658ef,EMPTY_BUFFER:_0x3d9eac,GUID:_0x2ef24b,kForOnEventAttribute:_0x56ac6c,kListener:_0x67a0e7,kStatusCode:_0x1121df,kWebSocket:_0xaa09e2,NOOP:_0x1d0b98}=V(),{EventTarget:{addEventListener:_0x4fb006,removeEventListener:_0x9cd52a}}=Kt(),{format:_0x460aa6,parse:_0x24e523}=pt(),{toBuffer:_0x29f332}=ce(),_0x55f1a4=0x1e*0x3e8,_0x155ef0=Symbol(_0x575253(0x294)),_0x42bf2e=[0x8,0xd],_0x12a36d=['CONNECTING',_0x575253(0x345),_0x575253(0x354),_0x575253(0x263)],_0x5d586b=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x1ad91c extends _0x5db8cb{constructor(_0x16efb2,_0x3a62ed,_0x54478d){const _0x23ff48=_0x575253;super(),this['_binaryType']=_0x658ef[0x0],this[_0x23ff48(0x22e)]=0x3ee,this[_0x23ff48(0x211)]=!0x1,this[_0x23ff48(0x1d8)]=!0x1,this[_0x23ff48(0x1e5)]=_0x3d9eac,this[_0x23ff48(0x229)]=null,this[_0x23ff48(0x2ed)]=!0x1,this[_0x23ff48(0x2cc)]={},this['_paused']=!0x1,this[_0x23ff48(0x317)]='',this['_readyState']=_0x1ad91c[_0x23ff48(0x31e)],this[_0x23ff48(0x283)]=null,this[_0x23ff48(0x223)]=null,this['_socket']=null,_0x16efb2!==null?(this[_0x23ff48(0x1d3)]=0x0,this[_0x23ff48(0x2f6)]=!0x1,this[_0x23ff48(0x337)]=0x0,_0x3a62ed===void 0x0?_0x3a62ed=[]:Array[_0x23ff48(0x2c2)](_0x3a62ed)||(typeof _0x3a62ed==_0x23ff48(0x2f2)&&_0x3a62ed!==null?(_0x54478d=_0x3a62ed,_0x3a62ed=[]):_0x3a62ed=[_0x3a62ed]),_0x5fc729(this,_0x16efb2,_0x3a62ed,_0x54478d)):(this[_0x23ff48(0x2d1)]=_0x54478d[_0x23ff48(0x32b)],this[_0x23ff48(0x2f6)]=!0x0);}get[_0x575253(0x1db)](){return this['_binaryType'];}set[_0x575253(0x1db)](_0x4c0b41){const _0x454cc2=_0x575253;_0x658ef['includes'](_0x4c0b41)&&(this['_binaryType']=_0x4c0b41,this[_0x454cc2(0x283)]&&(this['_receiver']['_binaryType']=_0x4c0b41));}get['bufferedAmount'](){const _0x35fcdc=_0x575253;return this[_0x35fcdc(0x292)]?this[_0x35fcdc(0x292)]['_writableState'][_0x35fcdc(0x2ba)]+this['_sender'][_0x35fcdc(0x2a5)]:this[_0x35fcdc(0x1d3)];}get[_0x575253(0x20c)](){const _0x4fb98f=_0x575253;return Object[_0x4fb98f(0x1fb)](this[_0x4fb98f(0x2cc)])['join']();}get[_0x575253(0x25e)](){return this['_paused'];}get[_0x575253(0x2d3)](){return null;}get[_0x575253(0x227)](){return null;}get[_0x575253(0x261)](){return null;}get[_0x575253(0x1cc)](){return null;}get[_0x575253(0x2b6)](){const _0x546bdf=_0x575253;return this[_0x546bdf(0x317)];}get[_0x575253(0x218)](){const _0x19bd30=_0x575253;return this[_0x19bd30(0x1b9)];}get[_0x575253(0x304)](){const _0x427f6b=_0x575253;return this[_0x427f6b(0x2b5)];}[_0x575253(0x222)](_0x33f92c,_0x1c9892,_0x1ffb54){const _0x942466=_0x575253,_0x20a894=new _0x35b0d4({'allowSynchronousEvents':_0x1ffb54[_0x942466(0x260)],'binaryType':this[_0x942466(0x1db)],'extensions':this[_0x942466(0x2cc)],'isServer':this[_0x942466(0x2f6)],'maxPayload':_0x1ffb54[_0x942466(0x357)],'skipUTF8Validation':_0x1ffb54[_0x942466(0x1f3)]}),_0x3d64c6=new _0x2d72ff(_0x33f92c,this['_extensions'],_0x1ffb54[_0x942466(0x231)]);this[_0x942466(0x283)]=_0x20a894,this['_sender']=_0x3d64c6,this['_socket']=_0x33f92c,_0x20a894[_0xaa09e2]=this,_0x3d64c6[_0xaa09e2]=this,_0x33f92c[_0xaa09e2]=this,_0x20a894['on']('conclude',_0x108ab0),_0x20a894['on'](_0x942466(0x20a),_0x1839ff),_0x20a894['on'](_0x942466(0x1e8),_0x43721d),_0x20a894['on'](_0x942466(0x2e4),_0x31bade),_0x20a894['on'](_0x942466(0x34a),_0xbfd258),_0x20a894['on'](_0x942466(0x1fa),_0x1275c0),_0x3d64c6['onerror']=_0x33dc89,_0x33f92c[_0x942466(0x23b)]&&_0x33f92c[_0x942466(0x23b)](0x0),_0x33f92c['setNoDelay']&&_0x33f92c[_0x942466(0x22a)](),_0x1c9892['length']>0x0&&_0x33f92c['unshift'](_0x1c9892),_0x33f92c['on'](_0x942466(0x35e),_0x1b49c8),_0x33f92c['on'](_0x942466(0x2f5),_0x95fc84),_0x33f92c['on']('end',_0x31479c),_0x33f92c['on'](_0x942466(0x1e8),_0x499596),this[_0x942466(0x1b9)]=_0x1ad91c[_0x942466(0x345)],this['emit']('open');}['emitClose'](){const _0x2b54e4=_0x575253;if(!this[_0x2b54e4(0x292)]){this[_0x2b54e4(0x1b9)]=_0x1ad91c[_0x2b54e4(0x263)],this[_0x2b54e4(0x358)](_0x2b54e4(0x35e),this[_0x2b54e4(0x22e)],this['_closeMessage']);return;}this[_0x2b54e4(0x2cc)][_0x17a6b0[_0x2b54e4(0x2a7)]]&&this[_0x2b54e4(0x2cc)][_0x17a6b0[_0x2b54e4(0x2a7)]][_0x2b54e4(0x27c)](),this[_0x2b54e4(0x283)][_0x2b54e4(0x219)](),this[_0x2b54e4(0x1b9)]=_0x1ad91c[_0x2b54e4(0x263)],this[_0x2b54e4(0x358)]('close',this[_0x2b54e4(0x22e)],this[_0x2b54e4(0x1e5)]);}[_0x575253(0x35e)](_0x1b0ba5,_0x2bffe9){const _0x23ad99=_0x575253;if(this[_0x23ad99(0x218)]!==_0x1ad91c['CLOSED']){if(this['readyState']===_0x1ad91c['CONNECTING']){_0x90e0e4(this,this['_req'],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}if(this['readyState']===_0x1ad91c[_0x23ad99(0x354)]){this[_0x23ad99(0x1d8)]&&(this[_0x23ad99(0x211)]||this[_0x23ad99(0x283)][_0x23ad99(0x32c)][_0x23ad99(0x230)])&&this[_0x23ad99(0x292)][_0x23ad99(0x202)]();return;}this[_0x23ad99(0x1b9)]=_0x1ad91c['CLOSING'],this[_0x23ad99(0x223)][_0x23ad99(0x35e)](_0x1b0ba5,_0x2bffe9,!this['_isServer'],_0x15ac12=>{const _0x51bfef=_0x23ad99;_0x15ac12||(this[_0x51bfef(0x1d8)]=!0x0,(this[_0x51bfef(0x211)]||this[_0x51bfef(0x283)][_0x51bfef(0x32c)]['errorEmitted'])&&this[_0x51bfef(0x292)][_0x51bfef(0x202)]());}),_0x4228f1(this);}}['pause'](){const _0x2093f5=_0x575253;this[_0x2093f5(0x218)]===_0x1ad91c['CONNECTING']||this[_0x2093f5(0x218)]===_0x1ad91c[_0x2093f5(0x263)]||(this[_0x2093f5(0x26e)]=!0x0,this['_socket'][_0x2093f5(0x25d)]());}[_0x575253(0x34a)](_0x430deb,_0x41a541,_0x4b8c5b){const _0x55f1bc=_0x575253;if(this[_0x55f1bc(0x218)]===_0x1ad91c['CONNECTING'])throw new Error(_0x55f1bc(0x2b3));if(typeof _0x430deb==_0x55f1bc(0x20f)?(_0x4b8c5b=_0x430deb,_0x430deb=_0x41a541=void 0x0):typeof _0x41a541==_0x55f1bc(0x20f)&&(_0x4b8c5b=_0x41a541,_0x41a541=void 0x0),typeof _0x430deb=='number'&&(_0x430deb=_0x430deb['toString']()),this[_0x55f1bc(0x218)]!==_0x1ad91c[_0x55f1bc(0x345)]){_0x35b40f(this,_0x430deb,_0x4b8c5b);return;}_0x41a541===void 0x0&&(_0x41a541=!this[_0x55f1bc(0x2f6)]),this[_0x55f1bc(0x223)]['ping'](_0x430deb||_0x3d9eac,_0x41a541,_0x4b8c5b);}[_0x575253(0x1fa)](_0x2c913e,_0x3adb46,_0x44509f){const _0x543bf8=_0x575253;if(this[_0x543bf8(0x218)]===_0x1ad91c[_0x543bf8(0x31e)])throw new Error(_0x543bf8(0x2b3));if(typeof _0x2c913e==_0x543bf8(0x20f)?(_0x44509f=_0x2c913e,_0x2c913e=_0x3adb46=void 0x0):typeof _0x3adb46==_0x543bf8(0x20f)&&(_0x44509f=_0x3adb46,_0x3adb46=void 0x0),typeof _0x2c913e=='number'&&(_0x2c913e=_0x2c913e[_0x543bf8(0x1f4)]()),this['readyState']!==_0x1ad91c[_0x543bf8(0x345)]){_0x35b40f(this,_0x2c913e,_0x44509f);return;}_0x3adb46===void 0x0&&(_0x3adb46=!this['_isServer']),this['_sender'][_0x543bf8(0x1fa)](_0x2c913e||_0x3d9eac,_0x3adb46,_0x44509f);}[_0x575253(0x1f0)](){const _0xd6e06d=_0x575253;this['readyState']===_0x1ad91c[_0xd6e06d(0x31e)]||this[_0xd6e06d(0x218)]===_0x1ad91c[_0xd6e06d(0x263)]||(this[_0xd6e06d(0x26e)]=!0x1,this[_0xd6e06d(0x283)][_0xd6e06d(0x32c)]['needDrain']||this[_0xd6e06d(0x292)][_0xd6e06d(0x1f0)]());}[_0x575253(0x2d8)](_0x1e16dd,_0x2804db,_0x3dd05f){const _0x45235c=_0x575253;if(this[_0x45235c(0x218)]===_0x1ad91c[_0x45235c(0x31e)])throw new Error(_0x45235c(0x2b3));if(typeof _0x2804db==_0x45235c(0x20f)&&(_0x3dd05f=_0x2804db,_0x2804db={}),typeof _0x1e16dd==_0x45235c(0x2fe)&&(_0x1e16dd=_0x1e16dd[_0x45235c(0x1f4)]()),this['readyState']!==_0x1ad91c[_0x45235c(0x345)]){_0x35b40f(this,_0x1e16dd,_0x3dd05f);return;}const _0x5d75ef={'binary':typeof _0x1e16dd!=_0x45235c(0x348),'mask':!this[_0x45235c(0x2f6)],'compress':!0x0,'fin':!0x0,..._0x2804db};this[_0x45235c(0x2cc)][_0x17a6b0['extensionName']]||(_0x5d75ef[_0x45235c(0x26a)]=!0x1),this[_0x45235c(0x223)][_0x45235c(0x2d8)](_0x1e16dd||_0x3d9eac,_0x5d75ef,_0x3dd05f);}['terminate'](){const _0x273fc1=_0x575253;if(this[_0x273fc1(0x218)]!==_0x1ad91c[_0x273fc1(0x263)]){if(this[_0x273fc1(0x218)]===_0x1ad91c[_0x273fc1(0x31e)]){_0x90e0e4(this,this[_0x273fc1(0x343)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}this[_0x273fc1(0x292)]&&(this[_0x273fc1(0x1b9)]=_0x1ad91c['CLOSING'],this[_0x273fc1(0x292)][_0x273fc1(0x26c)]());}}}Object[_0x575253(0x1c9)](_0x1ad91c,_0x575253(0x31e),{'enumerable':!0x0,'value':_0x12a36d[_0x575253(0x2d5)]('CONNECTING')}),Object['defineProperty'](_0x1ad91c[_0x575253(0x2a4)],_0x575253(0x31e),{'enumerable':!0x0,'value':_0x12a36d[_0x575253(0x2d5)]('CONNECTING')}),Object[_0x575253(0x1c9)](_0x1ad91c,_0x575253(0x345),{'enumerable':!0x0,'value':_0x12a36d['indexOf']('OPEN')}),Object['defineProperty'](_0x1ad91c[_0x575253(0x2a4)],_0x575253(0x345),{'enumerable':!0x0,'value':_0x12a36d['indexOf'](_0x575253(0x345))}),Object[_0x575253(0x1c9)](_0x1ad91c,'CLOSING',{'enumerable':!0x0,'value':_0x12a36d[_0x575253(0x2d5)](_0x575253(0x354))}),Object['defineProperty'](_0x1ad91c[_0x575253(0x2a4)],_0x575253(0x354),{'enumerable':!0x0,'value':_0x12a36d[_0x575253(0x2d5)](_0x575253(0x354))}),Object[_0x575253(0x1c9)](_0x1ad91c,_0x575253(0x263),{'enumerable':!0x0,'value':_0x12a36d[_0x575253(0x2d5)](_0x575253(0x263))}),Object[_0x575253(0x1c9)](_0x1ad91c[_0x575253(0x2a4)],_0x575253(0x263),{'enumerable':!0x0,'value':_0x12a36d[_0x575253(0x2d5)](_0x575253(0x263))}),[_0x575253(0x1db),'bufferedAmount','extensions',_0x575253(0x25e),_0x575253(0x2b6),_0x575253(0x218),_0x575253(0x304)][_0x575253(0x1c1)](_0x4c3775=>{const _0x6af7d5=_0x575253;Object[_0x6af7d5(0x1c9)](_0x1ad91c[_0x6af7d5(0x2a4)],_0x4c3775,{'enumerable':!0x0});}),[_0x575253(0x1ee),_0x575253(0x1e8),'close',_0x575253(0x2e4)][_0x575253(0x1c1)](_0x133e44=>{const _0x11ad25=_0x575253;Object[_0x11ad25(0x1c9)](_0x1ad91c['prototype'],'on'+_0x133e44,{'enumerable':!0x0,'get'(){const _0x427cf0=_0x11ad25;for(const _0x2b5bbf of this[_0x427cf0(0x239)](_0x133e44))if(_0x2b5bbf[_0x56ac6c])return _0x2b5bbf[_0x67a0e7];return null;},'set'(_0x362dc1){const _0x13170c=_0x11ad25;for(const _0x550b12 of this[_0x13170c(0x239)](_0x133e44))if(_0x550b12[_0x56ac6c]){this[_0x13170c(0x265)](_0x133e44,_0x550b12);break;}typeof _0x362dc1==_0x13170c(0x20f)&&this[_0x13170c(0x2b7)](_0x133e44,_0x362dc1,{[_0x56ac6c]:!0x0});}});}),_0x1ad91c[_0x575253(0x2a4)][_0x575253(0x2b7)]=_0x4fb006,_0x1ad91c[_0x575253(0x2a4)][_0x575253(0x1f8)]=_0x9cd52a,we=_0x1ad91c;function _0x5fc729(_0x3d565a,_0x107882,_0x447445,_0x29ccfd){const _0xd29ed=_0x575253,_0x2195c6={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x42bf2e[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x29ccfd,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0xd29ed(0x2b0),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x3d565a[_0xd29ed(0x2d1)]=_0x2195c6[_0xd29ed(0x32b)],!_0x42bf2e[_0xd29ed(0x280)](_0x2195c6['protocolVersion']))throw new RangeError('Unsupported\x20protocol\x20version:\x20'+_0x2195c6[_0xd29ed(0x1f5)]+_0xd29ed(0x1c4)+_0x42bf2e[_0xd29ed(0x284)](',\x20')+')');let _0x450496;if(_0x107882 instanceof _0x11fc67)_0x450496=_0x107882;else try{_0x450496=new _0x11fc67(_0x107882);}catch{throw new SyntaxError(_0xd29ed(0x253)+_0x107882);}_0x450496[_0xd29ed(0x2b6)]==='http:'?_0x450496[_0xd29ed(0x2b6)]=_0xd29ed(0x318):_0x450496['protocol']===_0xd29ed(0x2f3)&&(_0x450496[_0xd29ed(0x2b6)]=_0xd29ed(0x342)),_0x3d565a['_url']=_0x450496[_0xd29ed(0x24c)];const _0x3e1822=_0x450496[_0xd29ed(0x2b6)]===_0xd29ed(0x342),_0xb9a79c=_0x450496[_0xd29ed(0x2b6)]===_0xd29ed(0x27b);let _0x2c7f7b;if(_0x450496['protocol']!=='ws:'&&!_0x3e1822&&!_0xb9a79c?_0x2c7f7b=_0xd29ed(0x277):_0xb9a79c&&!_0x450496[_0xd29ed(0x2e9)]?_0x2c7f7b=_0xd29ed(0x29e):_0x450496['hash']&&(_0x2c7f7b=_0xd29ed(0x1ff)),_0x2c7f7b){const _0x468da8=new SyntaxError(_0x2c7f7b);if(_0x3d565a[_0xd29ed(0x337)]===0x0)throw _0x468da8;_0x5428df(_0x3d565a,_0x468da8);return;}const _0x554219=_0x3e1822?0x1bb:0x50,_0x465196=_0xd961fc(0x10)[_0xd29ed(0x1f4)](_0xd29ed(0x1fd)),_0x283e95=_0x3e1822?_0x25ef2a[_0xd29ed(0x328)]:_0x3d745['request'],_0x9d0378=new Set();let _0x42ea23;if(_0x2195c6['createConnection']=_0x2195c6['createConnection']||(_0x3e1822?_0x2b242f:_0x58aa65),_0x2195c6['defaultPort']=_0x2195c6[_0xd29ed(0x242)]||_0x554219,_0x2195c6[_0xd29ed(0x1c7)]=_0x450496['port']||_0x554219,_0x2195c6[_0xd29ed(0x2b1)]=_0x450496[_0xd29ed(0x206)][_0xd29ed(0x34d)]('[')?_0x450496[_0xd29ed(0x206)]['slice'](0x1,-0x1):_0x450496[_0xd29ed(0x206)],_0x2195c6[_0xd29ed(0x214)]={..._0x2195c6[_0xd29ed(0x214)],'Sec-WebSocket-Version':_0x2195c6[_0xd29ed(0x1f5)],'Sec-WebSocket-Key':_0x465196,'Connection':_0xd29ed(0x287),'Upgrade':_0xd29ed(0x243)},_0x2195c6[_0xd29ed(0x2ea)]=_0x450496[_0xd29ed(0x2e9)]+_0x450496[_0xd29ed(0x349)],_0x2195c6[_0xd29ed(0x1bf)]=_0x2195c6['handshakeTimeout'],_0x2195c6[_0xd29ed(0x26f)]&&(_0x42ea23=new _0x17a6b0(_0x2195c6['perMessageDeflate']!==!0x0?_0x2195c6['perMessageDeflate']:{},!0x1,_0x2195c6[_0xd29ed(0x357)]),_0x2195c6[_0xd29ed(0x214)][_0xd29ed(0x249)]=_0x460aa6({[_0x17a6b0[_0xd29ed(0x2a7)]]:_0x42ea23[_0xd29ed(0x331)]()})),_0x447445[_0xd29ed(0x2ba)]){for(const _0xc3906a of _0x447445){if(typeof _0xc3906a!=_0xd29ed(0x348)||!_0x5d586b[_0xd29ed(0x2e1)](_0xc3906a)||_0x9d0378[_0xd29ed(0x34b)](_0xc3906a))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x9d0378[_0xd29ed(0x2dd)](_0xc3906a);}_0x2195c6[_0xd29ed(0x214)]['Sec-WebSocket-Protocol']=_0x447445['join'](',');}if(_0x2195c6['origin']&&(_0x2195c6['protocolVersion']<0xd?_0x2195c6[_0xd29ed(0x214)][_0xd29ed(0x26b)]=_0x2195c6['origin']:_0x2195c6[_0xd29ed(0x214)][_0xd29ed(0x33d)]=_0x2195c6[_0xd29ed(0x1d4)]),(_0x450496[_0xd29ed(0x1d6)]||_0x450496['password'])&&(_0x2195c6[_0xd29ed(0x2cb)]=_0x450496[_0xd29ed(0x1d6)]+':'+_0x450496['password']),_0xb9a79c){const _0x43baee=_0x2195c6[_0xd29ed(0x2ea)][_0xd29ed(0x2c6)](':');_0x2195c6[_0xd29ed(0x35c)]=_0x43baee[0x0],_0x2195c6[_0xd29ed(0x2ea)]=_0x43baee[0x1];}let _0x1e2224;if(_0x2195c6[_0xd29ed(0x33e)]){if(_0x3d565a['_redirects']===0x0){_0x3d565a[_0xd29ed(0x30d)]=_0xb9a79c,_0x3d565a[_0xd29ed(0x30f)]=_0x3e1822,_0x3d565a['_originalHostOrSocketPath']=_0xb9a79c?_0x2195c6['socketPath']:_0x450496[_0xd29ed(0x2b1)];const _0x8817b3=_0x29ccfd&&_0x29ccfd[_0xd29ed(0x214)];if(_0x29ccfd={..._0x29ccfd,'headers':{}},_0x8817b3){for(const [_0x4d82ff,_0x44ad36]of Object['entries'](_0x8817b3))_0x29ccfd[_0xd29ed(0x214)][_0x4d82ff[_0xd29ed(0x33c)]()]=_0x44ad36;}}else{if(_0x3d565a[_0xd29ed(0x2f7)](_0xd29ed(0x2b9))===0x0){const _0x5dc55e=_0xb9a79c?_0x3d565a[_0xd29ed(0x30d)]?_0x2195c6['socketPath']===_0x3d565a[_0xd29ed(0x319)]:!0x1:_0x3d565a[_0xd29ed(0x30d)]?!0x1:_0x450496['host']===_0x3d565a[_0xd29ed(0x319)];(!_0x5dc55e||_0x3d565a[_0xd29ed(0x30f)]&&!_0x3e1822)&&(delete _0x2195c6['headers'][_0xd29ed(0x266)],delete _0x2195c6[_0xd29ed(0x214)]['cookie'],_0x5dc55e||delete _0x2195c6['headers'][_0xd29ed(0x2b1)],_0x2195c6['auth']=void 0x0);}}_0x2195c6['auth']&&!_0x29ccfd[_0xd29ed(0x214)]['authorization']&&(_0x29ccfd[_0xd29ed(0x214)][_0xd29ed(0x266)]=_0xd29ed(0x2a9)+Buffer[_0xd29ed(0x2e3)](_0x2195c6[_0xd29ed(0x2cb)])[_0xd29ed(0x1f4)](_0xd29ed(0x1fd))),_0x1e2224=_0x3d565a[_0xd29ed(0x343)]=_0x283e95(_0x2195c6),_0x3d565a[_0xd29ed(0x337)]&&_0x3d565a[_0xd29ed(0x358)](_0xd29ed(0x2b9),_0x3d565a['url'],_0x1e2224);}else _0x1e2224=_0x3d565a[_0xd29ed(0x343)]=_0x283e95(_0x2195c6);_0x2195c6[_0xd29ed(0x1bf)]&&_0x1e2224['on']('timeout',()=>{_0x90e0e4(_0x3d565a,_0x1e2224,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x1e2224['on'](_0xd29ed(0x1e8),_0x4391f7=>{const _0x5d3a20=_0xd29ed;_0x1e2224===null||_0x1e2224[_0x155ef0]||(_0x1e2224=_0x3d565a[_0x5d3a20(0x343)]=null,_0x5428df(_0x3d565a,_0x4391f7));}),_0x1e2224['on']('response',_0x5bfc6c=>{const _0x4560a6=_0xd29ed,_0x318c84=_0x5bfc6c[_0x4560a6(0x214)][_0x4560a6(0x2a3)],_0x4e4fb1=_0x5bfc6c[_0x4560a6(0x268)];if(_0x318c84&&_0x2195c6[_0x4560a6(0x33e)]&&_0x4e4fb1>=0x12c&&_0x4e4fb1<0x190){if(++_0x3d565a[_0x4560a6(0x337)]>_0x2195c6['maxRedirects']){_0x90e0e4(_0x3d565a,_0x1e2224,_0x4560a6(0x256));return;}_0x1e2224[_0x4560a6(0x361)]();let _0xecdd68;try{_0xecdd68=new _0x11fc67(_0x318c84,_0x107882);}catch{const _0x531c44=new SyntaxError('Invalid\x20URL:\x20'+_0x318c84);_0x5428df(_0x3d565a,_0x531c44);return;}_0x5fc729(_0x3d565a,_0xecdd68,_0x447445,_0x29ccfd);}else _0x3d565a[_0x4560a6(0x358)]('unexpected-response',_0x1e2224,_0x5bfc6c)||_0x90e0e4(_0x3d565a,_0x1e2224,_0x4560a6(0x30c)+_0x5bfc6c[_0x4560a6(0x268)]);}),_0x1e2224['on'](_0xd29ed(0x29a),(_0x2eb204,_0x588463,_0x4e0b22)=>{const _0x566022=_0xd29ed;if(_0x3d565a[_0x566022(0x358)](_0x566022(0x29a),_0x2eb204),_0x3d565a['readyState']!==_0x1ad91c[_0x566022(0x31e)])return;_0x1e2224=_0x3d565a[_0x566022(0x343)]=null;const _0x45a5a2=_0x2eb204[_0x566022(0x214)][_0x566022(0x29a)];if(_0x45a5a2===void 0x0||_0x45a5a2[_0x566022(0x33c)]()!=='websocket'){_0x90e0e4(_0x3d565a,_0x588463,'Invalid\x20Upgrade\x20header');return;}const _0x250e45=_0x3a6c27(_0x566022(0x236))[_0x566022(0x28e)](_0x465196+_0x2ef24b)['digest'](_0x566022(0x1fd));if(_0x2eb204[_0x566022(0x214)]['sec-websocket-accept']!==_0x250e45){_0x90e0e4(_0x3d565a,_0x588463,'Invalid\x20Sec-WebSocket-Accept\x20header');return;}const _0x2ccf03=_0x2eb204[_0x566022(0x214)][_0x566022(0x290)];let _0x47e7d6;if(_0x2ccf03!==void 0x0?_0x9d0378[_0x566022(0x1eb)]?_0x9d0378[_0x566022(0x34b)](_0x2ccf03)||(_0x47e7d6=_0x566022(0x22b)):_0x47e7d6=_0x566022(0x2c0):_0x9d0378['size']&&(_0x47e7d6=_0x566022(0x353)),_0x47e7d6){_0x90e0e4(_0x3d565a,_0x588463,_0x47e7d6);return;}_0x2ccf03&&(_0x3d565a[_0x566022(0x317)]=_0x2ccf03);const _0x41c192=_0x2eb204[_0x566022(0x214)][_0x566022(0x22f)];if(_0x41c192!==void 0x0){if(!_0x42ea23){_0x90e0e4(_0x3d565a,_0x588463,_0x566022(0x296));return;}let _0x2072f1;try{_0x2072f1=_0x24e523(_0x41c192);}catch{_0x90e0e4(_0x3d565a,_0x588463,_0x566022(0x2b8));return;}const _0x31a727=Object[_0x566022(0x1fb)](_0x2072f1);if(_0x31a727[_0x566022(0x2ba)]!==0x1||_0x31a727[0x0]!==_0x17a6b0[_0x566022(0x2a7)]){_0x90e0e4(_0x3d565a,_0x588463,_0x566022(0x336));return;}try{_0x42ea23[_0x566022(0x1da)](_0x2072f1[_0x17a6b0[_0x566022(0x2a7)]]);}catch{_0x90e0e4(_0x3d565a,_0x588463,_0x566022(0x2b8));return;}_0x3d565a[_0x566022(0x2cc)][_0x17a6b0['extensionName']]=_0x42ea23;}_0x3d565a['setSocket'](_0x588463,_0x4e0b22,{'allowSynchronousEvents':_0x2195c6['allowSynchronousEvents'],'generateMask':_0x2195c6['generateMask'],'maxPayload':_0x2195c6['maxPayload'],'skipUTF8Validation':_0x2195c6['skipUTF8Validation']});}),_0x2195c6['finishRequest']?_0x2195c6[_0xd29ed(0x1ba)](_0x1e2224,_0x3d565a):_0x1e2224[_0xd29ed(0x202)]();}function _0x5428df(_0x210595,_0x221a42){const _0x6c7007=_0x575253;_0x210595[_0x6c7007(0x1b9)]=_0x1ad91c['CLOSING'],_0x210595[_0x6c7007(0x2ed)]=!0x0,_0x210595['emit'](_0x6c7007(0x1e8),_0x221a42),_0x210595[_0x6c7007(0x24a)]();}function _0x58aa65(_0xe1893d){const _0x55faec=_0x575253;return _0xe1893d[_0x55faec(0x2ea)]=_0xe1893d[_0x55faec(0x35c)],_0x5859a8[_0x55faec(0x209)](_0xe1893d);}function _0x2b242f(_0x526dd6){const _0x4d8694=_0x575253;return _0x526dd6['path']=void 0x0,!_0x526dd6[_0x4d8694(0x1e9)]&&_0x526dd6['servername']!==''&&(_0x526dd6[_0x4d8694(0x1e9)]=_0x5859a8[_0x4d8694(0x28c)](_0x526dd6['host'])?'':_0x526dd6[_0x4d8694(0x2b1)]),_0x100b76[_0x4d8694(0x209)](_0x526dd6);}function _0x90e0e4(_0x22e71c,_0x3cb803,_0x247eb2){const _0x22c535=_0x575253;_0x22e71c[_0x22c535(0x1b9)]=_0x1ad91c['CLOSING'];const _0x4cb4bc=new Error(_0x247eb2);Error['captureStackTrace'](_0x4cb4bc,_0x90e0e4),_0x3cb803[_0x22c535(0x2d4)]?(_0x3cb803[_0x155ef0]=!0x0,_0x3cb803[_0x22c535(0x361)](),_0x3cb803[_0x22c535(0x1e0)]&&!_0x3cb803[_0x22c535(0x1e0)][_0x22c535(0x2cf)]&&_0x3cb803[_0x22c535(0x1e0)][_0x22c535(0x26c)](),process['nextTick'](_0x5428df,_0x22e71c,_0x4cb4bc)):(_0x3cb803['destroy'](_0x4cb4bc),_0x3cb803[_0x22c535(0x332)](_0x22c535(0x1e8),_0x22e71c[_0x22c535(0x358)][_0x22c535(0x1de)](_0x22e71c,_0x22c535(0x1e8))),_0x3cb803[_0x22c535(0x332)](_0x22c535(0x35e),_0x22e71c[_0x22c535(0x24a)][_0x22c535(0x1de)](_0x22e71c)));}function _0x35b40f(_0x4d182b,_0x5385c8,_0x1c76d2){const _0xba1657=_0x575253;if(_0x5385c8){const _0xc2df82=_0x47991b(_0x5385c8)?_0x5385c8[_0xba1657(0x1eb)]:_0x29f332(_0x5385c8)['length'];_0x4d182b[_0xba1657(0x292)]?_0x4d182b['_sender'][_0xba1657(0x2a5)]+=_0xc2df82:_0x4d182b[_0xba1657(0x1d3)]+=_0xc2df82;}if(_0x1c76d2){const _0x510754=new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x20'+_0x4d182b[_0xba1657(0x218)]+'\x20('+_0x12a36d[_0x4d182b[_0xba1657(0x218)]]+')');process[_0xba1657(0x1f7)](_0x1c76d2,_0x510754);}}function _0x108ab0(_0xcdb7fa,_0x114490){const _0x3759de=_0x575253,_0x782dc9=this[_0xaa09e2];_0x782dc9['_closeFrameReceived']=!0x0,_0x782dc9['_closeMessage']=_0x114490,_0x782dc9[_0x3759de(0x22e)]=_0xcdb7fa,_0x782dc9[_0x3759de(0x292)][_0xaa09e2]!==void 0x0&&(_0x782dc9[_0x3759de(0x292)][_0x3759de(0x265)](_0x3759de(0x2f5),_0x95fc84),process[_0x3759de(0x1f7)](_0x4bce81,_0x782dc9[_0x3759de(0x292)]),_0xcdb7fa===0x3ed?_0x782dc9[_0x3759de(0x35e)]():_0x782dc9[_0x3759de(0x35e)](_0xcdb7fa,_0x114490));}function _0x1839ff(){const _0x17dca0=_0x575253,_0x16d0fd=this[_0xaa09e2];_0x16d0fd[_0x17dca0(0x25e)]||_0x16d0fd['_socket'][_0x17dca0(0x1f0)]();}function _0x43721d(_0x475a0d){const _0x477c32=_0x575253,_0x444d77=this[_0xaa09e2];_0x444d77['_socket'][_0xaa09e2]!==void 0x0&&(_0x444d77[_0x477c32(0x292)][_0x477c32(0x265)]('data',_0x95fc84),process[_0x477c32(0x1f7)](_0x4bce81,_0x444d77['_socket']),_0x444d77[_0x477c32(0x35e)](_0x475a0d[_0x1121df])),_0x444d77['_errorEmitted']||(_0x444d77[_0x477c32(0x2ed)]=!0x0,_0x444d77['emit'](_0x477c32(0x1e8),_0x475a0d));}function _0x2b4c16(){const _0xf2b607=_0x575253;this[_0xaa09e2][_0xf2b607(0x24a)]();}function _0x31bade(_0x40c366,_0x4bbeb4){const _0x44ce5f=_0x575253;this[_0xaa09e2]['emit'](_0x44ce5f(0x2e4),_0x40c366,_0x4bbeb4);}function _0xbfd258(_0x49a639){const _0x4417bc=_0x575253,_0x20fd32=this[_0xaa09e2];_0x20fd32[_0x4417bc(0x2d1)]&&_0x20fd32[_0x4417bc(0x1fa)](_0x49a639,!this[_0x4417bc(0x2f6)],_0x1d0b98),_0x20fd32[_0x4417bc(0x358)](_0x4417bc(0x34a),_0x49a639);}function _0x1275c0(_0x81dae9){const _0x46d85a=_0x575253;this[_0xaa09e2][_0x46d85a(0x358)](_0x46d85a(0x1fa),_0x81dae9);}function _0x4bce81(_0x484390){const _0x517843=_0x575253;_0x484390[_0x517843(0x1f0)]();}function _0x33dc89(_0x47aea8){const _0x22e2f5=_0x575253,_0x424235=this[_0xaa09e2];_0x424235[_0x22e2f5(0x218)]!==_0x1ad91c[_0x22e2f5(0x263)]&&(_0x424235['readyState']===_0x1ad91c['OPEN']&&(_0x424235[_0x22e2f5(0x1b9)]=_0x1ad91c[_0x22e2f5(0x354)],_0x4228f1(_0x424235)),this['_socket'][_0x22e2f5(0x202)](),_0x424235['_errorEmitted']||(_0x424235[_0x22e2f5(0x2ed)]=!0x0,_0x424235['emit'](_0x22e2f5(0x1e8),_0x47aea8)));}function _0x4228f1(_0x432939){const _0x49d5d8=_0x575253;_0x432939['_closeTimer']=setTimeout(_0x432939['_socket'][_0x49d5d8(0x26c)][_0x49d5d8(0x1de)](_0x432939['_socket']),_0x55f1a4);}function _0x1b49c8(){const _0x4fd5e0=_0x575253,_0x4add96=this[_0xaa09e2];this[_0x4fd5e0(0x265)](_0x4fd5e0(0x35e),_0x1b49c8),this[_0x4fd5e0(0x265)]('data',_0x95fc84),this[_0x4fd5e0(0x265)](_0x4fd5e0(0x202),_0x31479c),_0x4add96[_0x4fd5e0(0x1b9)]=_0x1ad91c[_0x4fd5e0(0x354)];let _0x1a47ea;!this['_readableState'][_0x4fd5e0(0x1c6)]&&!_0x4add96['_closeFrameReceived']&&!_0x4add96[_0x4fd5e0(0x283)][_0x4fd5e0(0x32c)][_0x4fd5e0(0x230)]&&(_0x1a47ea=_0x4add96[_0x4fd5e0(0x292)]['read']())!==null&&_0x4add96[_0x4fd5e0(0x283)][_0x4fd5e0(0x344)](_0x1a47ea),_0x4add96[_0x4fd5e0(0x283)][_0x4fd5e0(0x202)](),this[_0xaa09e2]=void 0x0,clearTimeout(_0x4add96[_0x4fd5e0(0x229)]),_0x4add96[_0x4fd5e0(0x283)][_0x4fd5e0(0x32c)]['finished']||_0x4add96[_0x4fd5e0(0x283)][_0x4fd5e0(0x32c)]['errorEmitted']?_0x4add96[_0x4fd5e0(0x24a)]():(_0x4add96[_0x4fd5e0(0x283)]['on'](_0x4fd5e0(0x1e8),_0x2b4c16),_0x4add96['_receiver']['on']('finish',_0x2b4c16));}function _0x95fc84(_0x5f21da){const _0x3bac4d=_0x575253;this[_0xaa09e2][_0x3bac4d(0x283)][_0x3bac4d(0x344)](_0x5f21da)||this[_0x3bac4d(0x25d)]();}function _0x31479c(){const _0x331c9f=_0x575253,_0x140ca9=this[_0xaa09e2];_0x140ca9[_0x331c9f(0x1b9)]=_0x1ad91c['CLOSING'],_0x140ca9['_receiver'][_0x331c9f(0x202)](),this[_0x331c9f(0x202)]();}function _0x499596(){const _0x23b6fb=_0x575253,_0x5cd676=this[_0xaa09e2];this[_0x23b6fb(0x265)](_0x23b6fb(0x1e8),_0x499596),this['on'](_0x23b6fb(0x1e8),_0x1d0b98),_0x5cd676&&(_0x5cd676[_0x23b6fb(0x1b9)]=_0x1ad91c['CLOSING'],this[_0x23b6fb(0x26c)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x2cec4f}=_0x53a436;function _0x21fb98(_0x33521e){_0x33521e['emit']('close');}function _0x281ce1(){const _0x333661=_0x4e74;!this['destroyed']&&this['_writableState'][_0x333661(0x2ee)]&&this['destroy']();}function _0x147e3d(_0x1c8623){const _0x3d41f5=_0x4e74;this[_0x3d41f5(0x265)](_0x3d41f5(0x1e8),_0x147e3d),this[_0x3d41f5(0x26c)](),this['listenerCount'](_0x3d41f5(0x1e8))===0x0&&this[_0x3d41f5(0x358)](_0x3d41f5(0x1e8),_0x1c8623);}function _0x313aac(_0x490a8b,_0x4dfd57){const _0x38886a=_0x4e74;let _0xa02dff=!0x0;const _0x41aed0=new _0x2cec4f({..._0x4dfd57,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x490a8b['on'](_0x38886a(0x2e4),function(_0x334211,_0x11445e){const _0x3bf0f2=_0x38886a,_0x1aa270=!_0x11445e&&_0x41aed0[_0x3bf0f2(0x234)][_0x3bf0f2(0x1bc)]?_0x334211['toString']():_0x334211;_0x41aed0[_0x3bf0f2(0x232)](_0x1aa270)||_0x490a8b[_0x3bf0f2(0x25d)]();}),_0x490a8b[_0x38886a(0x332)]('error',function(_0x4d0ee9){_0x41aed0['destroyed']||(_0xa02dff=!0x1,_0x41aed0['destroy'](_0x4d0ee9));}),_0x490a8b[_0x38886a(0x332)]('close',function(){const _0x98a33e=_0x38886a;_0x41aed0[_0x98a33e(0x2cf)]||_0x41aed0[_0x98a33e(0x232)](null);}),_0x41aed0[_0x38886a(0x1cd)]=function(_0xaf557e,_0x38f23e){const _0x2c852f=_0x38886a;if(_0x490a8b[_0x2c852f(0x218)]===_0x490a8b[_0x2c852f(0x263)]){_0x38f23e(_0xaf557e),process[_0x2c852f(0x1f7)](_0x21fb98,_0x41aed0);return;}let _0x133eba=!0x1;_0x490a8b[_0x2c852f(0x332)]('error',function(_0x25853b){_0x133eba=!0x0,_0x38f23e(_0x25853b);}),_0x490a8b[_0x2c852f(0x332)](_0x2c852f(0x35e),function(){const _0x1e3ab1=_0x2c852f;_0x133eba||_0x38f23e(_0xaf557e),process[_0x1e3ab1(0x1f7)](_0x21fb98,_0x41aed0);}),_0xa02dff&&_0x490a8b[_0x2c852f(0x275)]();},_0x41aed0[_0x38886a(0x2ae)]=function(_0xaff685){const _0x166303=_0x38886a;if(_0x490a8b['readyState']===_0x490a8b[_0x166303(0x31e)]){_0x490a8b[_0x166303(0x332)](_0x166303(0x1ee),function(){const _0x710adc=_0x166303;_0x41aed0[_0x710adc(0x2ae)](_0xaff685);});return;}_0x490a8b['_socket']!==null&&(_0x490a8b[_0x166303(0x292)][_0x166303(0x32c)][_0x166303(0x2ee)]?(_0xaff685(),_0x41aed0[_0x166303(0x234)][_0x166303(0x1c6)]&&_0x41aed0['destroy']()):(_0x490a8b[_0x166303(0x292)][_0x166303(0x332)](_0x166303(0x2c4),function(){_0xaff685();}),_0x490a8b[_0x166303(0x35e)]()));},_0x41aed0[_0x38886a(0x315)]=function(){const _0x115f05=_0x38886a;_0x490a8b[_0x115f05(0x25e)]&&_0x490a8b[_0x115f05(0x1f0)]();},_0x41aed0[_0x38886a(0x2dc)]=function(_0x2543e4,_0x15f5b2,_0x493eac){const _0x4bbe3f=_0x38886a;if(_0x490a8b[_0x4bbe3f(0x218)]===_0x490a8b[_0x4bbe3f(0x31e)]){_0x490a8b['once'](_0x4bbe3f(0x1ee),function(){const _0x53a33e=_0x4bbe3f;_0x41aed0[_0x53a33e(0x2dc)](_0x2543e4,_0x15f5b2,_0x493eac);});return;}_0x490a8b[_0x4bbe3f(0x2d8)](_0x2543e4,_0x493eac);},_0x41aed0['on'](_0x38886a(0x202),_0x281ce1),_0x41aed0['on'](_0x38886a(0x1e8),_0x147e3d),_0x41aed0;}return Oe=_0x313aac,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=Wt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x38f0cb}=ne();function _0x4d44a7(_0x3d9313){const _0x1f5b00=_0x4e74,_0x38091b=new Set();let _0x389044=-0x1,_0x42757e=-0x1,_0x2ded20=0x0;for(_0x2ded20;_0x2ded20<_0x3d9313['length'];_0x2ded20++){const _0x38073c=_0x3d9313[_0x1f5b00(0x32f)](_0x2ded20);if(_0x42757e===-0x1&&_0x38f0cb[_0x38073c]===0x1)_0x389044===-0x1&&(_0x389044=_0x2ded20);else{if(_0x2ded20!==0x0&&(_0x38073c===0x20||_0x38073c===0x9))_0x42757e===-0x1&&_0x389044!==-0x1&&(_0x42757e=_0x2ded20);else{if(_0x38073c===0x2c){if(_0x389044===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x2ded20);_0x42757e===-0x1&&(_0x42757e=_0x2ded20);const _0x112e26=_0x3d9313['slice'](_0x389044,_0x42757e);if(_0x38091b[_0x1f5b00(0x34b)](_0x112e26))throw new SyntaxError(_0x1f5b00(0x212)+_0x112e26+_0x1f5b00(0x1ca));_0x38091b[_0x1f5b00(0x2dd)](_0x112e26),_0x389044=_0x42757e=-0x1;}else throw new SyntaxError(_0x1f5b00(0x310)+_0x2ded20);}}}if(_0x389044===-0x1||_0x42757e!==-0x1)throw new SyntaxError(_0x1f5b00(0x258));const _0x14d6c1=_0x3d9313['slice'](_0x389044,_0x2ded20);if(_0x38091b['has'](_0x14d6c1))throw new SyntaxError(_0x1f5b00(0x212)+_0x14d6c1+_0x1f5b00(0x1ca));return _0x38091b['add'](_0x14d6c1),_0x38091b;}return Ce={'parse':_0x4d44a7},Ce;}var Te,ot;function er(){const _0x1c3315=_0x3391af;if(ot)return Te;ot=0x1;const _0x5771f0=_0xdcca24,_0x41ba05=_0x5c9c67,{Duplex:_0x3a4d34}=_0x53a436,{createHash:_0x3df4ec}=_0x35daef,_0x211222=pt(),_0x41374d=he(),_0x3b843e=Jt(),_0x16d232=Ie(),{GUID:_0xbe48cc,kWebSocket:_0x9769d0}=V(),_0x3b58b5=/^[+/0-9A-Za-z]{22}==$/,_0x1186e5=0x0,_0x5f326b=0x1,_0x21cfb0=0x2;class _0x2dd433 extends _0x5771f0{constructor(_0x26fe61,_0x295da8){const _0x7b5593=_0x4e74;if(super(),_0x26fe61={'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':_0x16d232,..._0x26fe61},_0x26fe61[_0x7b5593(0x1c7)]==null&&!_0x26fe61[_0x7b5593(0x233)]&&!_0x26fe61[_0x7b5593(0x1c5)]||_0x26fe61[_0x7b5593(0x1c7)]!=null&&(_0x26fe61[_0x7b5593(0x233)]||_0x26fe61['noServer'])||_0x26fe61[_0x7b5593(0x233)]&&_0x26fe61[_0x7b5593(0x1c5)])throw new TypeError(_0x7b5593(0x291));if(_0x26fe61[_0x7b5593(0x1c7)]!=null?(this[_0x7b5593(0x2f0)]=_0x41ba05[_0x7b5593(0x21e)]((_0x115b5f,_0x281c45)=>{const _0xd85974=_0x7b5593,_0x528e93=_0x41ba05['STATUS_CODES'][0x1aa];_0x281c45['writeHead'](0x1aa,{'Content-Length':_0x528e93[_0xd85974(0x2ba)],'Content-Type':_0xd85974(0x329)}),_0x281c45['end'](_0x528e93);}),this[_0x7b5593(0x2f0)]['listen'](_0x26fe61['port'],_0x26fe61[_0x7b5593(0x2b1)],_0x26fe61['backlog'],_0x295da8)):_0x26fe61['server']&&(this[_0x7b5593(0x2f0)]=_0x26fe61['server']),this[_0x7b5593(0x2f0)]){const _0x23bbc7=this[_0x7b5593(0x358)][_0x7b5593(0x1de)](this,_0x7b5593(0x2f9));this[_0x7b5593(0x279)]=_0x3de9dc(this[_0x7b5593(0x2f0)],{'listening':this[_0x7b5593(0x358)][_0x7b5593(0x1de)](this,_0x7b5593(0x2bb)),'error':this[_0x7b5593(0x358)][_0x7b5593(0x1de)](this,_0x7b5593(0x1e8)),'upgrade':(_0x45c4b7,_0x43455a,_0x43af76)=>{this['handleUpgrade'](_0x45c4b7,_0x43455a,_0x43af76,_0x23bbc7);}});}_0x26fe61[_0x7b5593(0x26f)]===!0x0&&(_0x26fe61[_0x7b5593(0x26f)]={}),_0x26fe61[_0x7b5593(0x20b)]&&(this[_0x7b5593(0x308)]=new Set(),this[_0x7b5593(0x2c3)]=!0x1),this['options']=_0x26fe61,this[_0x7b5593(0x1e2)]=_0x1186e5;}[_0x1c3315(0x30b)](){const _0xd5fd9f=_0x1c3315;if(this[_0xd5fd9f(0x313)][_0xd5fd9f(0x1c5)])throw new Error(_0xd5fd9f(0x2f8));return this[_0xd5fd9f(0x2f0)]?this[_0xd5fd9f(0x2f0)][_0xd5fd9f(0x30b)]():null;}[_0x1c3315(0x35e)](_0x18b3f0){const _0x160629=_0x1c3315;if(this[_0x160629(0x1e2)]===_0x21cfb0){_0x18b3f0&&this[_0x160629(0x332)](_0x160629(0x35e),()=>{const _0x2a376f=_0x160629;_0x18b3f0(new Error(_0x2a376f(0x28f)));}),process[_0x160629(0x1f7)](_0xa3fcd1,this);return;}if(_0x18b3f0&&this[_0x160629(0x332)](_0x160629(0x35e),_0x18b3f0),this[_0x160629(0x1e2)]!==_0x5f326b){if(this[_0x160629(0x1e2)]=_0x5f326b,this[_0x160629(0x313)][_0x160629(0x1c5)]||this[_0x160629(0x313)]['server'])this[_0x160629(0x2f0)]&&(this[_0x160629(0x279)](),this[_0x160629(0x279)]=this[_0x160629(0x2f0)]=null),this[_0x160629(0x308)]?this['clients'][_0x160629(0x1eb)]?this[_0x160629(0x2c3)]=!0x0:process['nextTick'](_0xa3fcd1,this):process[_0x160629(0x1f7)](_0xa3fcd1,this);else{const _0x42d307=this[_0x160629(0x2f0)];this['_removeListeners'](),this['_removeListeners']=this[_0x160629(0x2f0)]=null,_0x42d307[_0x160629(0x35e)](()=>{_0xa3fcd1(this);});}}}[_0x1c3315(0x2ce)](_0x2c5fe4){const _0x54867b=_0x1c3315;if(this[_0x54867b(0x313)][_0x54867b(0x2ea)]){const _0x174d77=_0x2c5fe4[_0x54867b(0x304)][_0x54867b(0x2d5)]('?');if((_0x174d77!==-0x1?_0x2c5fe4[_0x54867b(0x304)]['slice'](0x0,_0x174d77):_0x2c5fe4[_0x54867b(0x304)])!==this[_0x54867b(0x313)]['path'])return!0x1;}return!0x0;}['handleUpgrade'](_0x170316,_0x446c5e,_0x22779e,_0x281da7){const _0x518623=_0x1c3315;_0x446c5e['on']('error',_0x54d6d6);const _0x5d6f80=_0x170316[_0x518623(0x214)][_0x518623(0x210)],_0x80c0a5=_0x170316[_0x518623(0x214)]['upgrade'],_0x5bf934=+_0x170316['headers']['sec-websocket-version'];if(_0x170316[_0x518623(0x23e)]!==_0x518623(0x2b0)){_0x32f46f(this,_0x170316,_0x446c5e,0x195,_0x518623(0x235));return;}if(_0x80c0a5===void 0x0||_0x80c0a5['toLowerCase']()!==_0x518623(0x243)){_0x32f46f(this,_0x170316,_0x446c5e,0x190,_0x518623(0x31c));return;}if(_0x5d6f80===void 0x0||!_0x3b58b5[_0x518623(0x2e1)](_0x5d6f80)){_0x32f46f(this,_0x170316,_0x446c5e,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header');return;}if(_0x5bf934!==0xd&&_0x5bf934!==0x8){_0x32f46f(this,_0x170316,_0x446c5e,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header',{'Sec-WebSocket-Version':_0x518623(0x1d7)});return;}if(!this[_0x518623(0x2ce)](_0x170316)){_0x3a284e(_0x446c5e,0x190);return;}const _0x44072d=_0x170316['headers']['sec-websocket-protocol'];let _0x292b6d=new Set();if(_0x44072d!==void 0x0)try{_0x292b6d=_0x3b843e['parse'](_0x44072d);}catch{_0x32f46f(this,_0x170316,_0x446c5e,0x190,_0x518623(0x1e7));return;}const _0xae795e=_0x170316['headers'][_0x518623(0x22f)],_0x57b351={};if(this[_0x518623(0x313)][_0x518623(0x26f)]&&_0xae795e!==void 0x0){const _0x3acc21=new _0x41374d(this[_0x518623(0x313)][_0x518623(0x26f)],!0x0,this[_0x518623(0x313)][_0x518623(0x357)]);try{const _0x1d41bd=_0x211222[_0x518623(0x2d7)](_0xae795e);_0x1d41bd[_0x41374d[_0x518623(0x2a7)]]&&(_0x3acc21['accept'](_0x1d41bd[_0x41374d['extensionName']]),_0x57b351[_0x41374d[_0x518623(0x2a7)]]=_0x3acc21);}catch{_0x32f46f(this,_0x170316,_0x446c5e,0x190,'Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header');return;}}if(this[_0x518623(0x313)]['verifyClient']){const _0xd0acff={'origin':_0x170316['headers'][''+(_0x5bf934===0x8?_0x518623(0x285):_0x518623(0x1d4))],'secure':!!(_0x170316[_0x518623(0x1e0)][_0x518623(0x2fc)]||_0x170316[_0x518623(0x1e0)]['encrypted']),'req':_0x170316};if(this[_0x518623(0x313)][_0x518623(0x2c1)][_0x518623(0x2ba)]===0x2){this[_0x518623(0x313)][_0x518623(0x2c1)](_0xd0acff,(_0x5bd24b,_0x348d49,_0x5effe0,_0x10f133)=>{const _0x7c3504=_0x518623;if(!_0x5bd24b)return _0x3a284e(_0x446c5e,_0x348d49||0x191,_0x5effe0,_0x10f133);this[_0x7c3504(0x347)](_0x57b351,_0x5d6f80,_0x292b6d,_0x170316,_0x446c5e,_0x22779e,_0x281da7);});return;}if(!this['options'][_0x518623(0x2c1)](_0xd0acff))return _0x3a284e(_0x446c5e,0x191);}this[_0x518623(0x347)](_0x57b351,_0x5d6f80,_0x292b6d,_0x170316,_0x446c5e,_0x22779e,_0x281da7);}[_0x1c3315(0x347)](_0x31c92e,_0x39fa53,_0x4ea9d6,_0x4ae7da,_0x103910,_0x4ef558,_0x12044a){const _0x248feb=_0x1c3315;if(!_0x103910[_0x248feb(0x1e4)]||!_0x103910[_0x248feb(0x2b2)])return _0x103910[_0x248feb(0x26c)]();if(_0x103910[_0x9769d0])throw new Error(_0x248feb(0x32a));if(this[_0x248feb(0x1e2)]>_0x1186e5)return _0x3a284e(_0x103910,0x1f7);const _0x25ebd3=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0x248feb(0x324),_0x248feb(0x1df),_0x248feb(0x2db)+_0x3df4ec(_0x248feb(0x236))[_0x248feb(0x28e)](_0x39fa53+_0xbe48cc)[_0x248feb(0x31d)](_0x248feb(0x1fd))],_0x2168ef=new this[(_0x248feb(0x313))][(_0x248feb(0x30a))](null,void 0x0,this[_0x248feb(0x313)]);if(_0x4ea9d6['size']){const _0x36d53e=this[_0x248feb(0x313)][_0x248feb(0x359)]?this['options'][_0x248feb(0x359)](_0x4ea9d6,_0x4ae7da):_0x4ea9d6[_0x248feb(0x2c8)]()[_0x248feb(0x351)]()[_0x248feb(0x247)];_0x36d53e&&(_0x25ebd3[_0x248feb(0x232)]('Sec-WebSocket-Protocol:\x20'+_0x36d53e),_0x2168ef[_0x248feb(0x317)]=_0x36d53e);}if(_0x31c92e[_0x41374d[_0x248feb(0x2a7)]]){const _0x254fb0=_0x31c92e[_0x41374d[_0x248feb(0x2a7)]][_0x248feb(0x31a)],_0x4556ef=_0x211222['format']({[_0x41374d[_0x248feb(0x2a7)]]:[_0x254fb0]});_0x25ebd3[_0x248feb(0x232)]('Sec-WebSocket-Extensions:\x20'+_0x4556ef),_0x2168ef[_0x248feb(0x2cc)]=_0x31c92e;}this['emit']('headers',_0x25ebd3,_0x4ae7da),_0x103910['write'](_0x25ebd3['concat']('\x0d\x0a')[_0x248feb(0x284)]('\x0d\x0a')),_0x103910['removeListener'](_0x248feb(0x1e8),_0x54d6d6),_0x2168ef[_0x248feb(0x222)](_0x103910,_0x4ef558,{'allowSynchronousEvents':this[_0x248feb(0x313)][_0x248feb(0x260)],'maxPayload':this[_0x248feb(0x313)][_0x248feb(0x357)],'skipUTF8Validation':this['options'][_0x248feb(0x1f3)]}),this[_0x248feb(0x308)]&&(this[_0x248feb(0x308)][_0x248feb(0x2dd)](_0x2168ef),_0x2168ef['on'](_0x248feb(0x35e),()=>{const _0x2d1d6b=_0x248feb;this[_0x2d1d6b(0x308)]['delete'](_0x2168ef),this['_shouldEmitClose']&&!this[_0x2d1d6b(0x308)]['size']&&process[_0x2d1d6b(0x1f7)](_0xa3fcd1,this);})),_0x12044a(_0x2168ef,_0x4ae7da);}}Te=_0x2dd433;function _0x3de9dc(_0x39a78c,_0x10ef63){const _0x221261=_0x1c3315;for(const _0x37c8f5 of Object[_0x221261(0x1fb)](_0x10ef63))_0x39a78c['on'](_0x37c8f5,_0x10ef63[_0x37c8f5]);return function(){const _0x4e2258=_0x221261;for(const _0x21b7a7 of Object[_0x4e2258(0x1fb)](_0x10ef63))_0x39a78c[_0x4e2258(0x265)](_0x21b7a7,_0x10ef63[_0x21b7a7]);};}function _0xa3fcd1(_0xd5ef2d){const _0x1c2136=_0x1c3315;_0xd5ef2d[_0x1c2136(0x1e2)]=_0x21cfb0,_0xd5ef2d['emit'](_0x1c2136(0x35e));}function _0x54d6d6(){this['destroy']();}function _0x3a284e(_0x54d7dd,_0x5b4d91,_0x4585bb,_0x57046f){const _0x2a9ebb=_0x1c3315;_0x4585bb=_0x4585bb||_0x41ba05[_0x2a9ebb(0x203)][_0x5b4d91],_0x57046f={'Connection':_0x2a9ebb(0x35e),'Content-Type':_0x2a9ebb(0x1d2),'Content-Length':Buffer[_0x2a9ebb(0x1f9)](_0x4585bb),..._0x57046f},_0x54d7dd[_0x2a9ebb(0x332)](_0x2a9ebb(0x2c4),_0x54d7dd[_0x2a9ebb(0x26c)]),_0x54d7dd['end'](_0x2a9ebb(0x21c)+_0x5b4d91+'\x20'+_0x41ba05[_0x2a9ebb(0x203)][_0x5b4d91]+'\x0d\x0a'+Object[_0x2a9ebb(0x1fb)](_0x57046f)[_0x2a9ebb(0x1ef)](_0x19443f=>_0x19443f+':\x20'+_0x57046f[_0x19443f])[_0x2a9ebb(0x284)]('\x0d\x0a')+_0x2a9ebb(0x34f)+_0x4585bb);}function _0x32f46f(_0x385ccb,_0x5e8c4c,_0x21f06c,_0x5e6d25,_0x3b0ec7,_0x9fa0f0){const _0x2b8fcf=_0x1c3315;if(_0x385ccb['listenerCount'](_0x2b8fcf(0x341))){const _0x3056d7=new Error(_0x3b0ec7);Error[_0x2b8fcf(0x215)](_0x3056d7,_0x32f46f),_0x385ccb[_0x2b8fcf(0x358)](_0x2b8fcf(0x341),_0x3056d7,_0x21f06c,_0x5e8c4c);}else _0x3a284e(_0x21f06c,_0x5e6d25,_0x3b0ec7,_0x9fa0f0);}return Te;}er();var tr=Object[_0x3391af(0x2aa)],rr=(_0x2a2cf2,_0xb52aa1,_0x1f1d62,_0x31134d)=>{const _0x199416=_0x3391af;for(var _0xd5c20a=_0x31134d>0x1?void 0x0:_0x31134d?tr(_0xb52aa1,_0x1f1d62):_0xb52aa1,_0x2dd557=_0x2a2cf2[_0x199416(0x2ba)]-0x1,_0x907bce;_0x2dd557>=0x0;_0x2dd557--)(_0x907bce=_0x2a2cf2[_0x2dd557])&&(_0xd5c20a=_0x907bce(_0xd5c20a)||_0xd5c20a);return _0xd5c20a;},sr=(_0x3cf8fe,_0x4e238a)=>(_0x2e6780,_0x54499a)=>_0x4e238a(_0x2e6780,_0x54499a,_0x3cf8fe);let Ne=class extends _0x54ba1c{constructor(_0x30f3b5){const _0x136024=_0x3391af;super(),this[_0x136024(0x295)]=_0x30f3b5;}['createSocket'](_0x590d83){const _0x4f5512=_0x3391af;var _0x2fcb5f;const _0x42c6e5=(_0x2fcb5f=this['_configService'][_0x4f5512(0x299)](Be))==null?void 0x0:_0x2fcb5f[_0x4f5512(0x23a)];try{const _0x230aba=new Qt(_0x590d83,{'headers':{..._0x42c6e5}}),_0x420057=new _0x4baf0f();return{'URL':_0x590d83,'close':(_0x47ba86,_0x390242)=>{const _0xb0b83f=_0x4f5512;_0x230aba[_0xb0b83f(0x35e)](_0x47ba86,_0x390242),_0x420057['dispose']();},'send':_0x240907=>{const _0x139085=_0x4f5512;_0x230aba[_0x139085(0x2d8)](_0x240907);},'open$':new _0x53a731(_0x455df9=>{const _0x448cb9=_0x4f5512,_0x119c1d=_0x222284=>_0x455df9[_0x448cb9(0x351)](_0x222284);_0x230aba[_0x448cb9(0x2b7)](_0x448cb9(0x1ee),_0x119c1d),_0x420057[_0x448cb9(0x2dd)](_0x405074(()=>_0x230aba[_0x448cb9(0x1f8)](_0x448cb9(0x1ee),_0x119c1d)));})[_0x4f5512(0x244)](_0x1ba6e2()),'close$':new _0x53a731(_0x445d5a=>{const _0xdeb526=_0x4f5512,_0x10a507=_0x3a1de7=>_0x445d5a[_0xdeb526(0x351)](_0x3a1de7);_0x230aba['addEventListener'](_0xdeb526(0x35e),_0x10a507),_0x420057[_0xdeb526(0x2dd)](_0x405074(()=>_0x230aba['removeEventListener'](_0xdeb526(0x35e),_0x10a507)));})[_0x4f5512(0x244)](_0x1ba6e2()),'error$':new _0x53a731(_0x3974f8=>{const _0xe99f8b=_0x4f5512,_0x17896f=_0x5ba4dd=>_0x3974f8['next'](_0x5ba4dd);_0x230aba['addEventListener'](_0xe99f8b(0x1e8),_0x17896f),_0x420057[_0xe99f8b(0x2dd)](_0x405074(()=>_0x230aba[_0xe99f8b(0x1f8)](_0xe99f8b(0x1e8),_0x17896f)));})['pipe'](_0x1ba6e2()),'message$':new _0x53a731(_0x34cfbd=>{const _0x18d58f=_0x4f5512,_0x4804dc=_0x1a61a0=>_0x34cfbd['next'](_0x1a61a0);_0x230aba[_0x18d58f(0x2b7)](_0x18d58f(0x2e4),_0x4804dc),_0x420057[_0x18d58f(0x2dd)](_0x405074(()=>_0x230aba['removeEventListener']('message',_0x4804dc)));})['pipe'](_0x1ba6e2())};}catch(_0x5a41cd){return console[_0x4f5512(0x1e8)](_0x5a41cd),null;}}};Ne=rr([sr(0x0,_0x288de7)],Ne);var ir=Object[_0x3391af(0x1c9)],nr=Object[_0x3391af(0x2aa)],or=(_0x4c908a,_0x5671fe,_0x470c7a)=>_0x5671fe in _0x4c908a?ir(_0x4c908a,_0x5671fe,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x470c7a}):_0x4c908a[_0x5671fe]=_0x470c7a,ar=(_0x322334,_0x17b8d3,_0x1d2e20,_0x184c78)=>{const _0x968f79=_0x3391af;for(var _0x1d42b2=_0x184c78>0x1?void 0x0:_0x184c78?nr(_0x17b8d3,_0x1d2e20):_0x17b8d3,_0x3fae24=_0x322334[_0x968f79(0x2ba)]-0x1,_0x2d2832;_0x3fae24>=0x0;_0x3fae24--)(_0x2d2832=_0x322334[_0x3fae24])&&(_0x1d42b2=_0x2d2832(_0x1d42b2)||_0x1d42b2);return _0x1d42b2;},ke=(_0x47317c,_0x2853b5)=>(_0x5a6b8d,_0x516041)=>_0x2853b5(_0x5a6b8d,_0x516041,_0x47317c),lr=(_0x3adc0a,_0x1d3c0e,_0x3c3bea)=>or(_0x3adc0a,_0x1d3c0e+'',_0x3c3bea);let Pe=class extends _0x18f539{constructor(_0x2b3205=Ft,_0x418ab8,_0x247d84,_0x420c84){const _0x142f1c=_0x3391af;_0x2b3205[_0x142f1c(0x23a)]||_0x418ab8[_0x142f1c(0x272)](_0x142f1c(0x1bb)),super(),this['_configService']=_0x247d84,this[_0x142f1c(0x33f)]=_0x420c84,this[_0x142f1c(0x295)]['setConfig'](Be,_0x2b3205);}[_0x3391af(0x2c7)](){const _0x576660=_0x3391af;this[_0x576660(0x238)]();}['_registerDependencies'](){const _0x28bf98=_0x3391af;_0x577150(this[_0x28bf98(0x33f)],[[_0x42dd0b,{'useClass':Ne}]]);}};lr(Pe,_0x3391af(0x35b),_0x3391af(0x2d2)),Pe=ar([_0x39b958(_0x171cad),ke(0x1,_0x49d411),ke(0x2,_0x288de7),ke(0x3,_0x30ae41(_0x14f773))],Pe);var fr=Object[_0x3391af(0x2aa)],cr=(_0x4a6d9f,_0x2dcd5f,_0x469f39,_0x55a804)=>{const _0x767be5=_0x3391af;for(var _0x432f75=_0x55a804>0x1?void 0x0:_0x55a804?fr(_0x2dcd5f,_0x469f39):_0x2dcd5f,_0x2fedd7=_0x4a6d9f[_0x767be5(0x2ba)]-0x1,_0x393a74;_0x2fedd7>=0x0;_0x2fedd7--)(_0x393a74=_0x4a6d9f[_0x2fedd7])&&(_0x432f75=_0x393a74(_0x432f75)||_0x432f75);return _0x432f75;},se=(_0x4afde1,_0x319d89)=>(_0x9c6549,_0x43c277)=>_0x319d89(_0x9c6549,_0x43c277,_0x4afde1);let at=class extends _0x189e7d{constructor(_0x190e5a,_0x26e3b5,_0x45ea0b,_0x16a0a0,_0x92a5d8){const _0x499c36=_0x3391af;super(_0x190e5a,_0x26e3b5,_0x45ea0b,_0x16a0a0,_0x92a5d8);const _0x1e4af0=this['_configService'][_0x499c36(0x299)](Be);this[_0x499c36(0x241)][_0x499c36(0x35a)]({'interceptor':(_0xe95ec2,_0x2f5236)=>{const _0x6ab2b6=_0x499c36;var _0x20c076;const _0x354600=_0xe95ec2[_0x6ab2b6(0x214)];return(_0x20c076=_0x1e4af0==null?void 0x0:_0x1e4af0[_0x6ab2b6(0x23a)])!=null&&_0x20c076['cookie']&&_0x354600['set'](_0x6ab2b6(0x2ab),_0x1e4af0[_0x6ab2b6(0x23a)]['cookie']),_0x2f5236(_0xe95ec2);}});}async['createSocket'](_0x3d481a){const _0x2e8aa2=_0x3391af;return this[_0x2e8aa2(0x298)](_0x3d481a);}};at=cr([se(0x0,_0x30ae41(_0x14f773)),se(0x1,_0x30ae41(_0x36b833)),se(0x2,_0x288de7),se(0x3,_0x49d411),se(0x4,_0x175a99)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
1
+ const _0x575908=_0x395c;(function(_0x4c1369,_0x5e00bb){const _0x3446dd=_0x395c,_0x54ff3c=_0x4c1369();while(!![]){try{const _0x4022f5=parseInt(_0x3446dd(0x210))/0x1*(-parseInt(_0x3446dd(0x32e))/0x2)+-parseInt(_0x3446dd(0x242))/0x3+-parseInt(_0x3446dd(0x300))/0x4*(-parseInt(_0x3446dd(0x1e6))/0x5)+parseInt(_0x3446dd(0x1dc))/0x6+parseInt(_0x3446dd(0x2ab))/0x7+parseInt(_0x3446dd(0x270))/0x8*(parseInt(_0x3446dd(0x24d))/0x9)+-parseInt(_0x3446dd(0x304))/0xa;if(_0x4022f5===_0x5e00bb)break;else _0x54ff3c['push'](_0x54ff3c['shift']());}catch(_0x2b474f){_0x54ff3c['push'](_0x54ff3c['shift']());}}}(_0x248b,0x80ac8));import{UniverCollaborationClientPlugin as _0x310030,CollaborationSocketService as _0x177ea6}from'@univerjs-pro/collaboration-client';import{Disposable as _0xbeb31e,DisposableCollection as _0x4b2a05,toDisposable as _0xac0137,IConfigService as _0x2293be,DependentOn as _0x316a78,ILogService as _0x56e26b,Inject as _0x3358e0,Injector as _0x276bbd,Plugin as _0x14d27b,registerDependencies as _0x524fc6}from'@univerjs/core';import{ISocketService as _0x4246d5,HTTPService as _0x191880}from'@univerjs/network';import{Observable as _0x51d3e5,share as _0x1788ba}from'rxjs';import _0x19fb3e from'events';import _0x4d341d from'https';import _0x4cb172 from'http';import _0x469257 from'net';import _0x2f4299 from'tls';import _0x20476a from'crypto';import _0x2a4194 from'stream';import _0x5f5ac4 from'url';import _0x34d8c8 from'zlib';import _0x1b1837 from'buffer';import{ISnapshotServerService as _0x1f934a}from'@univerjs-pro/collaboration';function _0x395c(_0x56a733,_0x5672ba){const _0x248b1e=_0x248b();return _0x395c=function(_0x395cfa,_0x49f70a){_0x395cfa=_0x395cfa-0x1aa;let _0x12e1d0=_0x248b1e[_0x395cfa];return _0x12e1d0;},_0x395c(_0x56a733,_0x5672ba);}const Be=_0x575908(0x1bb),Ft={'customHeaders':{}};function Wt(_0x15ac59){const _0x54a234=_0x575908;return _0x15ac59&&_0x15ac59[_0x54a234(0x23c)]&&Object[_0x54a234(0x31a)][_0x54a234(0x2d5)]['call'](_0x15ac59,_0x54a234(0x27f))?_0x15ac59[_0x54a234(0x27f)]:_0x15ac59;}function ut(_0x4e8f79){const _0x38119f=_0x575908;if(Object[_0x38119f(0x31a)][_0x38119f(0x2d5)][_0x38119f(0x2f5)](_0x4e8f79,'__esModule'))return _0x4e8f79;var _0x48f4f0=_0x4e8f79[_0x38119f(0x27f)];if(typeof _0x48f4f0==_0x38119f(0x1e2)){var _0x1faab4=function _0x5d98ac(){const _0x40e6a7=_0x38119f;var _0x295070=!0x1;try{_0x295070=this instanceof _0x5d98ac;}catch{}return _0x295070?Reflect[_0x40e6a7(0x20f)](_0x48f4f0,arguments,this[_0x40e6a7(0x34c)]):_0x48f4f0[_0x40e6a7(0x2a0)](this,arguments);};_0x1faab4['prototype']=_0x48f4f0['prototype'];}else _0x1faab4={};return Object['defineProperty'](_0x1faab4,_0x38119f(0x23c),{'value':!0x0}),Object['keys'](_0x4e8f79)[_0x38119f(0x294)](function(_0x4fb123){const _0x20b653=_0x38119f;var _0x39ef12=Object['getOwnPropertyDescriptor'](_0x4e8f79,_0x4fb123);Object[_0x20b653(0x28e)](_0x1faab4,_0x4fb123,_0x39ef12[_0x20b653(0x326)]?_0x39ef12:{'enumerable':!0x0,'get':function(){return _0x4e8f79[_0x4fb123];}});}),_0x1faab4;}var te={'exports':{}},ge,Ye;function V(){const _0x2f191e=_0x575908;if(Ye)return ge;Ye=0x1;const _0x5e5f56=[_0x2f191e(0x236),'arraybuffer',_0x2f191e(0x30a)],_0x1a5e56=typeof Blob<'u';return _0x1a5e56&&_0x5e5f56['push']('blob'),ge={'BINARY_TYPES':_0x5e5f56,'EMPTY_BUFFER':Buffer[_0x2f191e(0x2f9)](0x0),'GUID':_0x2f191e(0x24f),'hasBlob':_0x1a5e56,'kForOnEventAttribute':Symbol(_0x2f191e(0x2c3)),'kListener':Symbol('kListener'),'kStatusCode':Symbol(_0x2f191e(0x27c)),'kWebSocket':Symbol(_0x2f191e(0x21d)),'NOOP':()=>{}},ge;}const jt={},Gt=Object[_0x575908(0x2b9)](Object[_0x575908(0x28e)]({'__proto__':null,'default':jt},Symbol[_0x575908(0x32d)],{'value':_0x575908(0x229)})),Vt=ut(Gt);var Ke;function ce(){const _0x10407b=_0x575908;if(Ke)return te[_0x10407b(0x2a2)];Ke=0x1;const {EMPTY_BUFFER:_0x55542d}=V(),_0x1e79b4=Buffer[Symbol['species']];function _0x2f6721(_0x572f7a,_0x16a0d1){const _0x4895db=_0x10407b;if(_0x572f7a[_0x4895db(0x2d2)]===0x0)return _0x55542d;if(_0x572f7a[_0x4895db(0x2d2)]===0x1)return _0x572f7a[0x0];const _0x3c884a=Buffer[_0x4895db(0x2e4)](_0x16a0d1);let _0x3a7a53=0x0;for(let _0x34915a=0x0;_0x34915a<_0x572f7a['length'];_0x34915a++){const _0x499e61=_0x572f7a[_0x34915a];_0x3c884a['set'](_0x499e61,_0x3a7a53),_0x3a7a53+=_0x499e61['length'];}return _0x3a7a53<_0x16a0d1?new _0x1e79b4(_0x3c884a['buffer'],_0x3c884a[_0x4895db(0x1b3)],_0x3a7a53):_0x3c884a;}function _0x29832a(_0x458c7d,_0xcab63a,_0x2779e5,_0x4d14f8,_0x48d44f){for(let _0x565ed5=0x0;_0x565ed5<_0x48d44f;_0x565ed5++)_0x2779e5[_0x4d14f8+_0x565ed5]=_0x458c7d[_0x565ed5]^_0xcab63a[_0x565ed5&0x3];}function _0x226532(_0xf37f8f,_0x4423fc){const _0x3d972f=_0x10407b;for(let _0x391ed5=0x0;_0x391ed5<_0xf37f8f[_0x3d972f(0x2d2)];_0x391ed5++)_0xf37f8f[_0x391ed5]^=_0x4423fc[_0x391ed5&0x3];}function _0xd48a23(_0x3a6660){const _0x4890a9=_0x10407b;return _0x3a6660[_0x4890a9(0x2d2)]===_0x3a6660[_0x4890a9(0x1fd)][_0x4890a9(0x221)]?_0x3a6660[_0x4890a9(0x1fd)]:_0x3a6660[_0x4890a9(0x1fd)][_0x4890a9(0x209)](_0x3a6660[_0x4890a9(0x1b3)],_0x3a6660[_0x4890a9(0x1b3)]+_0x3a6660[_0x4890a9(0x2d2)]);}function _0x3e32fe(_0x952381){const _0x29a1be=_0x10407b;if(_0x3e32fe[_0x29a1be(0x350)]=!0x0,Buffer['isBuffer'](_0x952381))return _0x952381;let _0x3232d7;return _0x952381 instanceof ArrayBuffer?_0x3232d7=new _0x1e79b4(_0x952381):ArrayBuffer[_0x29a1be(0x207)](_0x952381)?_0x3232d7=new _0x1e79b4(_0x952381['buffer'],_0x952381[_0x29a1be(0x1b3)],_0x952381[_0x29a1be(0x221)]):(_0x3232d7=Buffer[_0x29a1be(0x2fc)](_0x952381),_0x3e32fe[_0x29a1be(0x350)]=!0x1),_0x3232d7;}if(te['exports']={'concat':_0x2f6721,'mask':_0x29832a,'toArrayBuffer':_0xd48a23,'toBuffer':_0x3e32fe,'unmask':_0x226532},!process[_0x10407b(0x23a)][_0x10407b(0x2bb)])try{const _0xc04dc8=Vt;te['exports'][_0x10407b(0x2f2)]=function(_0x2bf960,_0x3ed8bd,_0x519850,_0x4a4459,_0x5e4197){const _0x30c71f=_0x10407b;_0x5e4197<0x30?_0x29832a(_0x2bf960,_0x3ed8bd,_0x519850,_0x4a4459,_0x5e4197):_0xc04dc8[_0x30c71f(0x2f2)](_0x2bf960,_0x3ed8bd,_0x519850,_0x4a4459,_0x5e4197);},te[_0x10407b(0x2a2)][_0x10407b(0x2ff)]=function(_0x510266,_0x2e63c9){const _0x2a1b70=_0x10407b;_0x510266[_0x2a1b70(0x2d2)]<0x20?_0x226532(_0x510266,_0x2e63c9):_0xc04dc8[_0x2a1b70(0x2ff)](_0x510266,_0x2e63c9);};}catch{}return te['exports'];}var ye,Xe;function _0x248b(){const _0x42aa71=['toStringTag','6046dQNEYd','buffers','completeUpgrade','STATUS_CODES','onopen','timeout','_httpService','verifyClient','type','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','has','auth','_socket','read','response','WS_ERR_UNEXPECTED_RSV_2_3','_errorEmitted','writeUIntBE','hostname','The\x20server\x20is\x20not\x20running','writeHead','indexOf','setNoDelay','nextTick','kError','concat','add','concurrencyLimit','createInflateRaw','destroy','constructor','serverMaxWindowBits','create','_threshold','readOnly','_messageLength','keys','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','https:','isValidUTF8','Unknown\x20parameter\x20\x22','size','zlibDeflateOptions','cork','emit','update','Connection:\x20Upgrade','byteOffset','protocolVersion','enqueue','shift','request','host','_bufferedBytes','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','collaboration-client-node.config','isPaused','_inflate','Sec-WebSocket-Protocol:\x20','_max_window_bits','createError','startLoop','_errored','startsWith','sha1','pong','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','Cookie','cleanup','text/html','decompress','_final','_receiver','Unexpected\x20server\x20response:\x20','value','GET','_allowSynchronousEvents','\x22\x20subprotocol\x20is\x20duplicated','readUInt16BE','Parameter\x20\x22','haveLength','kCode','extensionName','handleUpgrade','_payloadLength','OPEN','bind','4068822hnnhvt','_totalPayloadLength','createSocket','client_max_window_bits','authorization','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','function','getMask','CONNECTING','binary','5MpbwZi','customHeaders','Sec-WebSocket-Extensions','callback','isInteger','controlMessage','_decompress','_maskBuffer','address','createConnection','end','close','kAborted','_configService','Unexpected\x20character\x20at\x20index\x20','_queue','Invalid\x20Upgrade\x20header','finished','next','_compressed','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','removeEventListener','join','buffer','port','invalid\x20opcode\x200','Blob','getBlobData','ws:','normalizeParams','extensions','\x22:\x20','bufferedAmount','isView','The\x20URL\x20contains\x20a\x20fragment\x20identifier','slice','_options','arrayBuffer','error','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','_buffers','construct','139gTYLQX','_autoPong','servername','Z_SYNC_FLUSH','_mask','sec-websocket-protocol','target','Sec-WebSocket-Extensions:\x20','setSocket','captureStackTrace','WS_ERR_EXPECTED_MASK','map','digest','websocket','hash','params','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','byteLength','setTimeout','kDone','_removeListeners','_originalSecure','server','kWasClean','_server','Module','sec-websocket-origin','_loop','_state','\x20(supported\x20versions:\x20','endEmitted','emitClose','uncork','pipe','sec-websocket-extensions','writeUInt16BE','setConfig','_bufferedAmount','nodebuffer','HTTP/1.1\x20101\x20Switching\x20Protocols','offer','_protocol','env','_paused','__esModule','_redirects','password','RSV1\x20must\x20be\x20clear','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','ping','2790000urZxjY','errorEmitted','dispatch','number','object','clientTracking','protocol','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','catch','_writableState','Invalid\x20value\x20for\x20parameter\x20\x22','7557903RBHwCd','jobs','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','_deflate','handleEvent','compress','server_no_context_takeover','search','conclude','Basic\x20','_doCreateSocket','maxRedirects','serverNoContextTakeover','unshift','File','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','getPayloadLength64','allowSynchronousEvents','_masked','_injector','resume','toLowerCase','WS_NO_UTF_8_VALIDATE','cookie','threshold','pending','data','message','headers','split','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','getConfig','Invalid\x20WebSocket\x20frame:\x20','blob','origin','8nDoWOC','Z_DEFAULT_WINDOWBITS','string','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','invalid\x20UTF-8\x20sequence','perMessageDeflate','frame','WS_ERR_UNEXPECTED_RSV_1','CLOSING','dequeue','test','writable','status-code','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','invalid\x20opcode\x20','default','clientMaxWindowBits','push','_closeMessage','drain','finishRequest','WS_ERR_INVALID_OPCODE','pow','_readableState','location','WebSocket','WebSocket\x20is\x20not\x20open:\x20readyState\x20','client_no_context_takeover','addEventListener','_generateMask','defineProperty','_maxPayload','_fin','code','send','acceptAsServer','forEach','includes','Unexpected\x20end\x20of\x20input','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','open','Maximum\x20redirects\x20exceeded','_closeFrameReceived','Unsupported\x20protocol\x20version:\x20','write','FIN\x20must\x20be\x20set','accept','13,\x208','apply','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','exports','listeners','client','_closeFrameSent','listenerCount','upgrade','generateMask','abort','onerror','1572508CDyzKG','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','toString','invalid\x20payload\x20length\x20','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','zlibInflateOptions','socketPath','WS_ERR_INVALID_UTF8','_originalIpc','Invalid\x20Sec-WebSocket-Accept\x20header','rsv1','Invalid\x20Sec-WebSocket-Extensions\x20header','set','wsClientError','freeze','removeListener','WS_NO_BUFFER_UTIL','readable','wasClean','kData','href','_fragmented','maskBuffer','opcode','kIsForOnEventAttribute','_readyState','kByteLength','_write','consume','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','Upgrade:\x20websocket','_binaryType','Server\x20sent\x20no\x20subprotocol','kRun','getData','username','shouldHandle','MASK\x20must\x20be\x20set','statusCode','length','once','_skipUTF8Validation','hasOwnProperty','concurrency','setHeader','needDrain','connect','redirect','Invalid\x20Sec-WebSocket-Protocol\x20header','fin','_compress','binaryType','reset','readyState','getPayloadLength16','_url','options','allocUnsafe','_opcode','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','listen','_no_context_takeover','handleProtocols','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','connection','MASK\x20must\x20be\x20clear','pause','Max\x20payload\x20size\x20exceeded','acceptAsClient','noServer','url','mask','base64','finish','call','delete','_firstFragment','then','alloc','parse','sendFrame','from','kType','readUInt32BE','unmask','1756076FVDOjO','_originalHostOrSocketPath','format','pathname','3043220nDxcez','_shouldEmitClose','_closeTimer','autoPong','The\x20\x22','Opening\x20handshake\x20has\x20timed\x20out','fragments','kTarget','server_max_window_bits','path','_closeCode','_isServer','socket','ws+unix:','CLOSED','replace','reason','_req','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','maxPayload','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','terminate','prototype','flush','isArray','\x0d\x0a\x0d\x0a','_fragments','sec-websocket-version','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','clientNoContextTakeover','_sender','permessage-deflate','charCodeAt','_destroy','get','destroyed','clients','_extensions','HTTP/1.1\x20','dataMessage','skipUTF8Validation'];_0x248b=function(){return _0x42aa71;};return _0x248b();}function qt(){const _0x3274ef=_0x575908;if(Xe)return ye;Xe=0x1;const _0x33efec=Symbol(_0x3274ef(0x223)),_0x356f72=Symbol(_0x3274ef(0x2cc));class _0x44ef57{constructor(_0x1e2030){const _0x263da3=_0x3274ef;this[_0x33efec]=()=>{const _0x47ee49=_0x395c;this[_0x47ee49(0x266)]--,this[_0x356f72]();},this[_0x263da3(0x2d6)]=_0x1e2030||0x1/0x0,this[_0x263da3(0x24e)]=[],this[_0x263da3(0x266)]=0x0;}[_0x3274ef(0x348)](_0x528232){const _0x5cd629=_0x3274ef;this[_0x5cd629(0x24e)][_0x5cd629(0x281)](_0x528232),this[_0x356f72]();}[_0x356f72](){const _0x4f3438=_0x3274ef;if(this[_0x4f3438(0x266)]!==this['concurrency']&&this[_0x4f3438(0x24e)]['length']){const _0x43018d=this[_0x4f3438(0x24e)]['shift']();this[_0x4f3438(0x266)]++,_0x43018d(this[_0x33efec]);}}}return ye=_0x44ef57,ye;}var ve,Ze;function he(){const _0x1ee9f5=_0x575908;if(Ze)return ve;Ze=0x1;const _0xf32b6e=_0x34d8c8,_0x3e6f1c=ce(),_0xf4486d=qt(),{kStatusCode:_0x877069}=V(),_0x37bcba=Buffer[Symbol['species']],_0x5621c7=Buffer[_0x1ee9f5(0x2fc)]([0x0,0x0,0xff,0xff]),_0x4db576=Symbol(_0x1ee9f5(0x323)),_0x8fe46a=Symbol('total-length'),_0x164ccd=Symbol(_0x1ee9f5(0x1e9)),_0x551dc2=Symbol(_0x1ee9f5(0x32f)),_0xb59664=Symbol(_0x1ee9f5(0x20c));let _0x2608bb;class _0x4a8ca6{constructor(_0x3abd5f,_0x1e337c,_0x13af34){const _0x22ebf4=_0x1ee9f5;if(this[_0x22ebf4(0x28f)]=_0x13af34|0x0,this[_0x22ebf4(0x20a)]=_0x3abd5f||{},this['_threshold']=this['_options']['threshold']!==void 0x0?this[_0x22ebf4(0x20a)][_0x22ebf4(0x265)]:0x400,this[_0x22ebf4(0x30f)]=!!_0x1e337c,this['_deflate']=null,this[_0x22ebf4(0x1bd)]=null,this[_0x22ebf4(0x21f)]=null,!_0x2608bb){const _0x7ac217=this[_0x22ebf4(0x20a)][_0x22ebf4(0x349)]!==void 0x0?this[_0x22ebf4(0x20a)]['concurrencyLimit']:0xa;_0x2608bb=new _0xf4486d(_0x7ac217);}}static get[_0x1ee9f5(0x1d7)](){const _0x46a1d7=_0x1ee9f5;return _0x46a1d7(0x323);}[_0x1ee9f5(0x238)](){const _0x33d532=_0x1ee9f5,_0x162d38={};return this[_0x33d532(0x20a)]['serverNoContextTakeover']&&(_0x162d38['server_no_context_takeover']=!0x0),this[_0x33d532(0x20a)]['clientNoContextTakeover']&&(_0x162d38[_0x33d532(0x28b)]=!0x0),this[_0x33d532(0x20a)]['serverMaxWindowBits']&&(_0x162d38[_0x33d532(0x30c)]=this[_0x33d532(0x20a)][_0x33d532(0x34d)]),this[_0x33d532(0x20a)][_0x33d532(0x280)]?_0x162d38[_0x33d532(0x1df)]=this[_0x33d532(0x20a)][_0x33d532(0x280)]:this['_options'][_0x33d532(0x280)]==null&&(_0x162d38[_0x33d532(0x1df)]=!0x0),_0x162d38;}[_0x1ee9f5(0x29e)](_0x381702){const _0x2e3620=_0x1ee9f5;return _0x381702=this[_0x2e3620(0x203)](_0x381702),this[_0x2e3620(0x21f)]=this[_0x2e3620(0x30f)]?this[_0x2e3620(0x293)](_0x381702):this[_0x2e3620(0x2ef)](_0x381702),this[_0x2e3620(0x21f)];}[_0x1ee9f5(0x1c9)](){const _0x40faa4=_0x1ee9f5;if(this['_inflate']&&(this[_0x40faa4(0x1bd)][_0x40faa4(0x1f1)](),this['_inflate']=null),this[_0x40faa4(0x250)]){const _0x2478ce=this['_deflate'][_0x164ccd];this['_deflate'][_0x40faa4(0x1f1)](),this[_0x40faa4(0x250)]=null,_0x2478ce&&_0x2478ce(new Error(_0x40faa4(0x26b)));}}['acceptAsServer'](_0x5bf80c){const _0x4f116d=_0x1ee9f5,_0x3c2bf5=this[_0x4f116d(0x20a)],_0x47b835=_0x5bf80c['find'](_0x1421c8=>!(_0x3c2bf5['serverNoContextTakeover']===!0x1&&_0x1421c8[_0x4f116d(0x253)]||_0x1421c8[_0x4f116d(0x30c)]&&(_0x3c2bf5['serverMaxWindowBits']===!0x1||typeof _0x3c2bf5[_0x4f116d(0x34d)]==_0x4f116d(0x245)&&_0x3c2bf5[_0x4f116d(0x34d)]>_0x1421c8[_0x4f116d(0x30c)])||typeof _0x3c2bf5[_0x4f116d(0x280)]==_0x4f116d(0x245)&&!_0x1421c8[_0x4f116d(0x1df)]));if(!_0x47b835)throw new Error(_0x4f116d(0x297));return _0x3c2bf5[_0x4f116d(0x259)]&&(_0x47b835['server_no_context_takeover']=!0x0),_0x3c2bf5[_0x4f116d(0x321)]&&(_0x47b835[_0x4f116d(0x28b)]=!0x0),typeof _0x3c2bf5[_0x4f116d(0x34d)]==_0x4f116d(0x245)&&(_0x47b835[_0x4f116d(0x30c)]=_0x3c2bf5['serverMaxWindowBits']),typeof _0x3c2bf5['clientMaxWindowBits']=='number'?_0x47b835[_0x4f116d(0x1df)]=_0x3c2bf5[_0x4f116d(0x280)]:(_0x47b835[_0x4f116d(0x1df)]===!0x0||_0x3c2bf5[_0x4f116d(0x280)]===!0x1)&&delete _0x47b835[_0x4f116d(0x1df)],_0x47b835;}[_0x1ee9f5(0x2ef)](_0x2b2c94){const _0x26efb5=_0x1ee9f5,_0x2d7789=_0x2b2c94[0x0];if(this[_0x26efb5(0x20a)][_0x26efb5(0x321)]===!0x1&&_0x2d7789['client_no_context_takeover'])throw new Error(_0x26efb5(0x1c6));if(!_0x2d7789[_0x26efb5(0x1df)])typeof this[_0x26efb5(0x20a)][_0x26efb5(0x280)]==_0x26efb5(0x245)&&(_0x2d7789[_0x26efb5(0x1df)]=this[_0x26efb5(0x20a)]['clientMaxWindowBits']);else{if(this['_options']['clientMaxWindowBits']===!0x1||typeof this[_0x26efb5(0x20a)][_0x26efb5(0x280)]==_0x26efb5(0x245)&&_0x2d7789[_0x26efb5(0x1df)]>this[_0x26efb5(0x20a)][_0x26efb5(0x280)])throw new Error(_0x26efb5(0x2a1));}return _0x2d7789;}[_0x1ee9f5(0x203)](_0x434fba){const _0x211d82=_0x1ee9f5;return _0x434fba[_0x211d82(0x294)](_0x5cdc3b=>{const _0x21cac8=_0x211d82;Object[_0x21cac8(0x352)](_0x5cdc3b)[_0x21cac8(0x294)](_0x1c5080=>{const _0x46cbf1=_0x21cac8;let _0x538625=_0x5cdc3b[_0x1c5080];if(_0x538625[_0x46cbf1(0x2d2)]>0x1)throw new Error(_0x46cbf1(0x1d4)+_0x1c5080+'\x22\x20must\x20have\x20only\x20a\x20single\x20value');if(_0x538625=_0x538625[0x0],_0x1c5080===_0x46cbf1(0x1df)){if(_0x538625!==!0x0){const _0x397cb9=+_0x538625;if(!Number[_0x46cbf1(0x1ea)](_0x397cb9)||_0x397cb9<0x8||_0x397cb9>0xf)throw new TypeError(_0x46cbf1(0x24c)+_0x1c5080+_0x46cbf1(0x205)+_0x538625);_0x538625=_0x397cb9;}else{if(!this[_0x46cbf1(0x30f)])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x1c5080+_0x46cbf1(0x205)+_0x538625);}}else{if(_0x1c5080===_0x46cbf1(0x30c)){const _0x37556e=+_0x538625;if(!Number[_0x46cbf1(0x1ea)](_0x37556e)||_0x37556e<0x8||_0x37556e>0xf)throw new TypeError(_0x46cbf1(0x24c)+_0x1c5080+'\x22:\x20'+_0x538625);_0x538625=_0x37556e;}else{if(_0x1c5080===_0x46cbf1(0x28b)||_0x1c5080===_0x46cbf1(0x253)){if(_0x538625!==!0x0)throw new TypeError(_0x46cbf1(0x24c)+_0x1c5080+_0x46cbf1(0x205)+_0x538625);}else throw new Error(_0x46cbf1(0x1ac)+_0x1c5080+'\x22');}}_0x5cdc3b[_0x1c5080]=_0x538625;});}),_0x434fba;}[_0x1ee9f5(0x1cb)](_0x4b91d6,_0x456e14,_0x68fbed){_0x2608bb['add'](_0x1a3c5b=>{const _0x35933b=_0x395c;this[_0x35933b(0x1ec)](_0x4b91d6,_0x456e14,(_0x45168f,_0x4575da)=>{_0x1a3c5b(),_0x68fbed(_0x45168f,_0x4575da);});});}[_0x1ee9f5(0x252)](_0x2148b0,_0x2f835f,_0x123ea4){_0x2608bb['add'](_0x1e0422=>{const _0x560bb5=_0x395c;this[_0x560bb5(0x2dd)](_0x2148b0,_0x2f835f,(_0x5710f8,_0x2dbd79)=>{_0x1e0422(),_0x123ea4(_0x5710f8,_0x2dbd79);});});}[_0x1ee9f5(0x1ec)](_0x1fc4c5,_0x58e1de,_0x438b7d){const _0x446e5d=_0x1ee9f5,_0x20b4d1=this['_isServer']?_0x446e5d(0x2a4):_0x446e5d(0x226);if(!this[_0x446e5d(0x1bd)]){const _0x2c991e=_0x20b4d1+_0x446e5d(0x1bf),_0x1c44d7=typeof this['params'][_0x2c991e]!=_0x446e5d(0x245)?_0xf32b6e['Z_DEFAULT_WINDOWBITS']:this[_0x446e5d(0x21f)][_0x2c991e];this['_inflate']=_0xf32b6e[_0x446e5d(0x34a)]({...this[_0x446e5d(0x20a)][_0x446e5d(0x2b0)],'windowBits':_0x1c44d7}),this['_inflate'][_0x4db576]=this,this[_0x446e5d(0x1bd)][_0x8fe46a]=0x0,this[_0x446e5d(0x1bd)][_0x551dc2]=[],this[_0x446e5d(0x1bd)]['on'](_0x446e5d(0x20c),_0x4086e0),this['_inflate']['on'](_0x446e5d(0x267),_0x4a26bb);}this['_inflate'][_0x164ccd]=_0x438b7d,this[_0x446e5d(0x1bd)][_0x446e5d(0x29c)](_0x1fc4c5),_0x58e1de&&this[_0x446e5d(0x1bd)][_0x446e5d(0x29c)](_0x5621c7),this[_0x446e5d(0x1bd)]['flush'](()=>{const _0x261a46=_0x446e5d,_0x3e95d7=this['_inflate'][_0xb59664];if(_0x3e95d7){this['_inflate'][_0x261a46(0x1f1)](),this[_0x261a46(0x1bd)]=null,_0x438b7d(_0x3e95d7);return;}const _0x32da50=_0x3e6f1c['concat'](this['_inflate'][_0x551dc2],this['_inflate'][_0x8fe46a]);this[_0x261a46(0x1bd)]['_readableState'][_0x261a46(0x22e)]?(this[_0x261a46(0x1bd)][_0x261a46(0x1f1)](),this[_0x261a46(0x1bd)]=null):(this[_0x261a46(0x1bd)][_0x8fe46a]=0x0,this['_inflate'][_0x551dc2]=[],_0x58e1de&&this[_0x261a46(0x21f)][_0x20b4d1+'_no_context_takeover']&&this[_0x261a46(0x1bd)]['reset']()),_0x438b7d(null,_0x32da50);});}[_0x1ee9f5(0x2dd)](_0x50d532,_0x9b7368,_0x395349){const _0x262c43=_0x1ee9f5,_0x385b30=this[_0x262c43(0x30f)]?'server':_0x262c43(0x2a4);if(!this[_0x262c43(0x250)]){const _0x1dd8b3=_0x385b30+'_max_window_bits',_0xb91dd0=typeof this[_0x262c43(0x21f)][_0x1dd8b3]!=_0x262c43(0x245)?_0xf32b6e[_0x262c43(0x271)]:this[_0x262c43(0x21f)][_0x1dd8b3];this['_deflate']=_0xf32b6e['createDeflateRaw']({...this[_0x262c43(0x20a)][_0x262c43(0x1ae)],'windowBits':_0xb91dd0}),this[_0x262c43(0x250)][_0x8fe46a]=0x0,this[_0x262c43(0x250)][_0x551dc2]=[],this['_deflate']['on'](_0x262c43(0x267),_0x19eef2);}this[_0x262c43(0x250)][_0x164ccd]=_0x395349,this['_deflate'][_0x262c43(0x29c)](_0x50d532),this[_0x262c43(0x250)][_0x262c43(0x31b)](_0xf32b6e[_0x262c43(0x213)],()=>{const _0x1f67b5=_0x262c43;if(!this[_0x1f67b5(0x250)])return;let _0xa44222=_0x3e6f1c['concat'](this[_0x1f67b5(0x250)][_0x551dc2],this[_0x1f67b5(0x250)][_0x8fe46a]);_0x9b7368&&(_0xa44222=new _0x37bcba(_0xa44222[_0x1f67b5(0x1fd)],_0xa44222[_0x1f67b5(0x1b3)],_0xa44222[_0x1f67b5(0x2d2)]-0x4)),this[_0x1f67b5(0x250)][_0x164ccd]=null,this['_deflate'][_0x8fe46a]=0x0,this[_0x1f67b5(0x250)][_0x551dc2]=[],_0x9b7368&&this['params'][_0x385b30+_0x1f67b5(0x2e8)]&&this['_deflate'][_0x1f67b5(0x2df)](),_0x395349(null,_0xa44222);});}}ve=_0x4a8ca6;function _0x19eef2(_0x4144a7){const _0x546719=_0x1ee9f5;this[_0x551dc2][_0x546719(0x281)](_0x4144a7),this[_0x8fe46a]+=_0x4144a7[_0x546719(0x2d2)];}function _0x4a26bb(_0x12adb5){const _0x1a7363=_0x1ee9f5;if(this[_0x8fe46a]+=_0x12adb5[_0x1a7363(0x2d2)],this[_0x4db576]['_maxPayload']<0x1||this[_0x8fe46a]<=this[_0x4db576][_0x1a7363(0x28f)]){this[_0x551dc2]['push'](_0x12adb5);return;}this[_0xb59664]=new RangeError('Max\x20payload\x20size\x20exceeded'),this[_0xb59664][_0x1a7363(0x291)]=_0x1a7363(0x2ac),this[_0xb59664][_0x877069]=0x3f1,this[_0x1a7363(0x2ba)](_0x1a7363(0x267),_0x4a26bb),this[_0x1a7363(0x2df)]();}function _0x4086e0(_0xdff6b9){if(this[_0x4db576]['_inflate']=null,this[_0xb59664]){this[_0x164ccd](this[_0xb59664]);return;}_0xdff6b9[_0x877069]=0x3ef,this[_0x164ccd](_0xdff6b9);}return ve;}var re={'exports':{}};const Ht={},zt=Object['freeze'](Object[_0x575908(0x28e)]({'__proto__':null,'default':Ht},Symbol['toStringTag'],{'value':_0x575908(0x229)})),Yt=ut(zt);var Qe;function ne(){const _0x5175ea=_0x575908;if(Qe)return re['exports'];Qe=0x1;const {isUtf8:_0x1b98c5}=_0x1b1837,{hasBlob:_0x3194f}=V(),_0x13f74a=[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 _0x73d290(_0x4cd157){return _0x4cd157>=0x3e8&&_0x4cd157<=0x3f6&&_0x4cd157!==0x3ec&&_0x4cd157!==0x3ed&&_0x4cd157!==0x3ee||_0x4cd157>=0xbb8&&_0x4cd157<=0x1387;}function _0x192bf1(_0x2e515b){const _0x55aad7=_0x395c,_0x568954=_0x2e515b[_0x55aad7(0x2d2)];let _0x4a10d3=0x0;for(;_0x4a10d3<_0x568954;)if((_0x2e515b[_0x4a10d3]&0x80)===0x0)_0x4a10d3++;else{if((_0x2e515b[_0x4a10d3]&0xe0)===0xc0){if(_0x4a10d3+0x1===_0x568954||(_0x2e515b[_0x4a10d3+0x1]&0xc0)!==0x80||(_0x2e515b[_0x4a10d3]&0xfe)===0xc0)return!0x1;_0x4a10d3+=0x2;}else{if((_0x2e515b[_0x4a10d3]&0xf0)===0xe0){if(_0x4a10d3+0x2>=_0x568954||(_0x2e515b[_0x4a10d3+0x1]&0xc0)!==0x80||(_0x2e515b[_0x4a10d3+0x2]&0xc0)!==0x80||_0x2e515b[_0x4a10d3]===0xe0&&(_0x2e515b[_0x4a10d3+0x1]&0xe0)===0x80||_0x2e515b[_0x4a10d3]===0xed&&(_0x2e515b[_0x4a10d3+0x1]&0xe0)===0xa0)return!0x1;_0x4a10d3+=0x3;}else{if((_0x2e515b[_0x4a10d3]&0xf8)===0xf0){if(_0x4a10d3+0x3>=_0x568954||(_0x2e515b[_0x4a10d3+0x1]&0xc0)!==0x80||(_0x2e515b[_0x4a10d3+0x2]&0xc0)!==0x80||(_0x2e515b[_0x4a10d3+0x3]&0xc0)!==0x80||_0x2e515b[_0x4a10d3]===0xf0&&(_0x2e515b[_0x4a10d3+0x1]&0xf0)===0x80||_0x2e515b[_0x4a10d3]===0xf4&&_0x2e515b[_0x4a10d3+0x1]>0x8f||_0x2e515b[_0x4a10d3]>0xf4)return!0x1;_0x4a10d3+=0x4;}else return!0x1;}}}return!0x0;}function _0x504a73(_0x1d0c68){const _0x1f5802=_0x395c;return _0x3194f&&typeof _0x1d0c68==_0x1f5802(0x246)&&typeof _0x1d0c68[_0x1f5802(0x20b)]==_0x1f5802(0x1e2)&&typeof _0x1d0c68[_0x1f5802(0x336)]==_0x1f5802(0x272)&&typeof _0x1d0c68['stream']==_0x1f5802(0x1e2)&&(_0x1d0c68[Symbol['toStringTag']]===_0x1f5802(0x200)||_0x1d0c68[Symbol[_0x1f5802(0x32d)]]===_0x1f5802(0x25b));}if(re[_0x5175ea(0x2a2)]={'isBlob':_0x504a73,'isValidStatusCode':_0x73d290,'isValidUTF8':_0x192bf1,'tokenChars':_0x13f74a},_0x1b98c5)re[_0x5175ea(0x2a2)][_0x5175ea(0x1ab)]=function(_0x2bad3b){return _0x2bad3b['length']<0x18?_0x192bf1(_0x2bad3b):_0x1b98c5(_0x2bad3b);};else{if(!process[_0x5175ea(0x23a)][_0x5175ea(0x263)])try{const _0x2a2a82=Yt;re[_0x5175ea(0x2a2)]['isValidUTF8']=function(_0x46ff2a){const _0x1271f2=_0x5175ea;return _0x46ff2a[_0x1271f2(0x2d2)]<0x20?_0x192bf1(_0x46ff2a):_0x2a2a82(_0x46ff2a);};}catch{}}return re[_0x5175ea(0x2a2)];}var Se,Je;function dt(){const _0x30ee28=_0x575908;if(Je)return Se;Je=0x1;const {Writable:_0x37af67}=_0x2a4194,_0x4a9635=he(),{BINARY_TYPES:_0x7d0e74,EMPTY_BUFFER:_0x5a82ff,kStatusCode:_0x53da3e,kWebSocket:_0x46289c}=V(),{concat:_0xbd427c,toArrayBuffer:_0x261dd8,unmask:_0x416044}=ce(),{isValidStatusCode:_0x3c5d09,isValidUTF8:_0x537df7}=ne(),_0x544c89=Buffer[Symbol['species']],_0x3c98f8=0x0,_0x31f665=0x1,_0x9526c4=0x2,_0x226af0=0x3,_0x233a96=0x4,_0x449c88=0x5,_0xe5b057=0x6;class _0x3a580e extends _0x37af67{constructor(_0x28699d={}){const _0x3f5d11=_0x395c;super(),this['_allowSynchronousEvents']=_0x28699d['allowSynchronousEvents']!==void 0x0?_0x28699d[_0x3f5d11(0x25e)]:!0x0,this[_0x3f5d11(0x2ca)]=_0x28699d[_0x3f5d11(0x2de)]||_0x7d0e74[0x0],this['_extensions']=_0x28699d['extensions']||{},this[_0x3f5d11(0x30f)]=!!_0x28699d['isServer'],this[_0x3f5d11(0x28f)]=_0x28699d['maxPayload']|0x0,this['_skipUTF8Validation']=!!_0x28699d['skipUTF8Validation'],this[_0x46289c]=void 0x0,this['_bufferedBytes']=0x0,this[_0x3f5d11(0x20e)]=[],this[_0x3f5d11(0x1f9)]=!0x1,this[_0x3f5d11(0x1d9)]=0x0,this[_0x3f5d11(0x214)]=void 0x0,this[_0x3f5d11(0x2c0)]=0x0,this[_0x3f5d11(0x25f)]=!0x1,this['_fin']=!0x1,this[_0x3f5d11(0x2e5)]=0x0,this[_0x3f5d11(0x1dd)]=0x0,this[_0x3f5d11(0x351)]=0x0,this[_0x3f5d11(0x31e)]=[],this[_0x3f5d11(0x1c2)]=!0x1,this['_loop']=!0x1,this[_0x3f5d11(0x22c)]=_0x3c98f8;}[_0x30ee28(0x2c6)](_0x4f3edc,_0x4dcdd2,_0x3860fc){const _0x2fa21b=_0x30ee28;if(this[_0x2fa21b(0x2e5)]===0x8&&this['_state']==_0x3c98f8)return _0x3860fc();this[_0x2fa21b(0x1b9)]+=_0x4f3edc['length'],this[_0x2fa21b(0x20e)][_0x2fa21b(0x281)](_0x4f3edc),this[_0x2fa21b(0x1c1)](_0x3860fc);}[_0x30ee28(0x2c7)](_0x3064aa){const _0x5ac2ee=_0x30ee28;if(this['_bufferedBytes']-=_0x3064aa,_0x3064aa===this['_buffers'][0x0][_0x5ac2ee(0x2d2)])return this['_buffers'][_0x5ac2ee(0x1b6)]();if(_0x3064aa<this[_0x5ac2ee(0x20e)][0x0][_0x5ac2ee(0x2d2)]){const _0x43af91=this[_0x5ac2ee(0x20e)][0x0];return this['_buffers'][0x0]=new _0x544c89(_0x43af91[_0x5ac2ee(0x1fd)],_0x43af91[_0x5ac2ee(0x1b3)]+_0x3064aa,_0x43af91[_0x5ac2ee(0x2d2)]-_0x3064aa),new _0x544c89(_0x43af91[_0x5ac2ee(0x1fd)],_0x43af91[_0x5ac2ee(0x1b3)],_0x3064aa);}const _0x3d75c7=Buffer[_0x5ac2ee(0x2e4)](_0x3064aa);do{const _0x448f68=this[_0x5ac2ee(0x20e)][0x0],_0x351773=_0x3d75c7[_0x5ac2ee(0x2d2)]-_0x3064aa;_0x3064aa>=_0x448f68['length']?_0x3d75c7[_0x5ac2ee(0x2b7)](this['_buffers'][_0x5ac2ee(0x1b6)](),_0x351773):(_0x3d75c7['set'](new Uint8Array(_0x448f68[_0x5ac2ee(0x1fd)],_0x448f68['byteOffset'],_0x3064aa),_0x351773),this[_0x5ac2ee(0x20e)][0x0]=new _0x544c89(_0x448f68[_0x5ac2ee(0x1fd)],_0x448f68[_0x5ac2ee(0x1b3)]+_0x3064aa,_0x448f68[_0x5ac2ee(0x2d2)]-_0x3064aa)),_0x3064aa-=_0x448f68[_0x5ac2ee(0x2d2)];}while(_0x3064aa>0x0);return _0x3d75c7;}[_0x30ee28(0x1c1)](_0x2b728c){const _0x2ec94a=_0x30ee28;this[_0x2ec94a(0x22b)]=!0x0;do switch(this[_0x2ec94a(0x22c)]){case _0x3c98f8:this['getInfo'](_0x2b728c);break;case _0x31f665:this[_0x2ec94a(0x2e1)](_0x2b728c);break;case _0x9526c4:this['getPayloadLength64'](_0x2b728c);break;case _0x226af0:this[_0x2ec94a(0x1e3)]();break;case _0x233a96:this[_0x2ec94a(0x2cd)](_0x2b728c);break;case _0x449c88:case _0xe5b057:this[_0x2ec94a(0x22b)]=!0x1;return;}while(this[_0x2ec94a(0x22b)]);this[_0x2ec94a(0x1c2)]||_0x2b728c();}['getInfo'](_0x3315f3){const _0x52b07a=_0x30ee28;if(this['_bufferedBytes']<0x2){this[_0x52b07a(0x22b)]=!0x1;return;}const _0x148689=this[_0x52b07a(0x2c7)](0x2);if((_0x148689[0x0]&0x30)!==0x0){const _0x5bed17=this[_0x52b07a(0x1c0)](RangeError,_0x52b07a(0x316),!0x0,0x3ea,_0x52b07a(0x33d));_0x3315f3(_0x5bed17);return;}const _0x41fd62=(_0x148689[0x0]&0x40)===0x40;if(_0x41fd62&&!this[_0x52b07a(0x329)][_0x4a9635[_0x52b07a(0x1d7)]]){const _0x1d9519=this[_0x52b07a(0x1c0)](RangeError,_0x52b07a(0x23f),!0x0,0x3ea,_0x52b07a(0x277));_0x3315f3(_0x1d9519);return;}if(this[_0x52b07a(0x290)]=(_0x148689[0x0]&0x80)===0x80,this[_0x52b07a(0x2e5)]=_0x148689[0x0]&0xf,this[_0x52b07a(0x1d9)]=_0x148689[0x1]&0x7f,this['_opcode']===0x0){if(_0x41fd62){const _0x30dc30=this[_0x52b07a(0x1c0)](RangeError,_0x52b07a(0x23f),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x3315f3(_0x30dc30);return;}if(!this[_0x52b07a(0x2c0)]){const _0xb92225=this[_0x52b07a(0x1c0)](RangeError,_0x52b07a(0x1ff),!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x3315f3(_0xb92225);return;}this[_0x52b07a(0x2e5)]=this['_fragmented'];}else{if(this[_0x52b07a(0x2e5)]===0x1||this[_0x52b07a(0x2e5)]===0x2){if(this['_fragmented']){const _0x3cc6d0=this[_0x52b07a(0x1c0)](RangeError,_0x52b07a(0x27e)+this[_0x52b07a(0x2e5)],!0x0,0x3ea,_0x52b07a(0x285));_0x3315f3(_0x3cc6d0);return;}this[_0x52b07a(0x1f9)]=_0x41fd62;}else{if(this['_opcode']>0x7&&this[_0x52b07a(0x2e5)]<0xb){if(!this['_fin']){const _0x2f6ee0=this[_0x52b07a(0x1c0)](RangeError,_0x52b07a(0x29d),!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0x3315f3(_0x2f6ee0);return;}if(_0x41fd62){const _0x17f96f=this['createError'](RangeError,_0x52b07a(0x23f),!0x0,0x3ea,_0x52b07a(0x277));_0x3315f3(_0x17f96f);return;}if(this[_0x52b07a(0x1d9)]>0x7d||this[_0x52b07a(0x2e5)]===0x8&&this[_0x52b07a(0x1d9)]===0x1){const _0x1d8e09=this[_0x52b07a(0x1c0)](RangeError,_0x52b07a(0x2ae)+this[_0x52b07a(0x1d9)],!0x0,0x3ea,_0x52b07a(0x273));_0x3315f3(_0x1d8e09);return;}}else{const _0x27987b=this[_0x52b07a(0x1c0)](RangeError,'invalid\x20opcode\x20'+this['_opcode'],!0x0,0x3ea,_0x52b07a(0x285));_0x3315f3(_0x27987b);return;}}}if(!this['_fin']&&!this[_0x52b07a(0x2c0)]&&(this[_0x52b07a(0x2c0)]=this['_opcode']),this[_0x52b07a(0x25f)]=(_0x148689[0x1]&0x80)===0x80,this[_0x52b07a(0x30f)]){if(!this[_0x52b07a(0x25f)]){const _0x17d037=this[_0x52b07a(0x1c0)](RangeError,_0x52b07a(0x2d0),!0x0,0x3ea,_0x52b07a(0x21a));_0x3315f3(_0x17d037);return;}}else{if(this[_0x52b07a(0x25f)]){const _0x30a251=this[_0x52b07a(0x1c0)](RangeError,_0x52b07a(0x2ec),!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0x3315f3(_0x30a251);return;}}this[_0x52b07a(0x1d9)]===0x7e?this[_0x52b07a(0x22c)]=_0x31f665:this['_payloadLength']===0x7f?this[_0x52b07a(0x22c)]=_0x9526c4:this[_0x52b07a(0x1d5)](_0x3315f3);}['getPayloadLength16'](_0x2369c8){const _0xfbc92d=_0x30ee28;if(this[_0xfbc92d(0x1b9)]<0x2){this[_0xfbc92d(0x22b)]=!0x1;return;}this[_0xfbc92d(0x1d9)]=this[_0xfbc92d(0x2c7)](0x2)[_0xfbc92d(0x1d3)](0x0),this['haveLength'](_0x2369c8);}[_0x30ee28(0x25d)](_0x3063d2){const _0x367c13=_0x30ee28;if(this['_bufferedBytes']<0x8){this[_0x367c13(0x22b)]=!0x1;return;}const _0x320eb4=this[_0x367c13(0x2c7)](0x8),_0x7ad2e8=_0x320eb4['readUInt32BE'](0x0);if(_0x7ad2e8>Math['pow'](0x2,0x15)-0x1){const _0x276700=this[_0x367c13(0x1c0)](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH');_0x3063d2(_0x276700);return;}this[_0x367c13(0x1d9)]=_0x7ad2e8*Math[_0x367c13(0x286)](0x2,0x20)+_0x320eb4[_0x367c13(0x2fe)](0x4),this[_0x367c13(0x1d5)](_0x3063d2);}[_0x30ee28(0x1d5)](_0x3fbe8d){const _0x15333c=_0x30ee28;if(this[_0x15333c(0x1d9)]&&this[_0x15333c(0x2e5)]<0x8&&(this[_0x15333c(0x1dd)]+=this[_0x15333c(0x1d9)],this[_0x15333c(0x1dd)]>this[_0x15333c(0x28f)]&&this[_0x15333c(0x28f)]>0x0)){const _0x3d1106=this[_0x15333c(0x1c0)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x15333c(0x2ac));_0x3fbe8d(_0x3d1106);return;}this['_masked']?this['_state']=_0x226af0:this[_0x15333c(0x22c)]=_0x233a96;}[_0x30ee28(0x1e3)](){const _0x568d16=_0x30ee28;if(this['_bufferedBytes']<0x4){this['_loop']=!0x1;return;}this[_0x568d16(0x214)]=this[_0x568d16(0x2c7)](0x4),this[_0x568d16(0x22c)]=_0x233a96;}['getData'](_0x496ece){const _0x54dd94=_0x30ee28;let _0x2256f0=_0x5a82ff;if(this[_0x54dd94(0x1d9)]){if(this['_bufferedBytes']<this[_0x54dd94(0x1d9)]){this[_0x54dd94(0x22b)]=!0x1;return;}_0x2256f0=this[_0x54dd94(0x2c7)](this[_0x54dd94(0x1d9)]),this[_0x54dd94(0x25f)]&&(this[_0x54dd94(0x214)][0x0]|this[_0x54dd94(0x214)][0x1]|this[_0x54dd94(0x214)][0x2]|this[_0x54dd94(0x214)][0x3])!==0x0&&_0x416044(_0x2256f0,this['_mask']);}if(this[_0x54dd94(0x2e5)]>0x7){this[_0x54dd94(0x1eb)](_0x2256f0,_0x496ece);return;}if(this['_compressed']){this[_0x54dd94(0x22c)]=_0x449c88,this[_0x54dd94(0x1cb)](_0x2256f0,_0x496ece);return;}_0x2256f0[_0x54dd94(0x2d2)]&&(this[_0x54dd94(0x351)]=this[_0x54dd94(0x1dd)],this[_0x54dd94(0x31e)][_0x54dd94(0x281)](_0x2256f0)),this[_0x54dd94(0x32b)](_0x496ece);}['decompress'](_0x31e9a7,_0x48112b){const _0x421bc2=_0x30ee28;this[_0x421bc2(0x329)][_0x4a9635[_0x421bc2(0x1d7)]]['decompress'](_0x31e9a7,this['_fin'],(_0xe58a0d,_0x5050d7)=>{const _0x58a0fa=_0x421bc2;if(_0xe58a0d)return _0x48112b(_0xe58a0d);if(_0x5050d7[_0x58a0fa(0x2d2)]){if(this[_0x58a0fa(0x351)]+=_0x5050d7[_0x58a0fa(0x2d2)],this[_0x58a0fa(0x351)]>this[_0x58a0fa(0x28f)]&&this[_0x58a0fa(0x28f)]>0x0){const _0x569b44=this['createError'](RangeError,_0x58a0fa(0x2ee),!0x1,0x3f1,_0x58a0fa(0x2ac));_0x48112b(_0x569b44);return;}this[_0x58a0fa(0x31e)][_0x58a0fa(0x281)](_0x5050d7);}this[_0x58a0fa(0x32b)](_0x48112b),this[_0x58a0fa(0x22c)]===_0x3c98f8&&this[_0x58a0fa(0x1c1)](_0x48112b);});}['dataMessage'](_0x91f956){const _0x104321=_0x30ee28;if(!this[_0x104321(0x290)]){this[_0x104321(0x22c)]=_0x3c98f8;return;}const _0x313194=this[_0x104321(0x351)],_0x4a4cad=this[_0x104321(0x31e)];if(this[_0x104321(0x1dd)]=0x0,this[_0x104321(0x351)]=0x0,this[_0x104321(0x2c0)]=0x0,this['_fragments']=[],this[_0x104321(0x2e5)]===0x2){let _0x1dfd4b;this[_0x104321(0x2ca)]===_0x104321(0x236)?_0x1dfd4b=_0xbd427c(_0x4a4cad,_0x313194):this[_0x104321(0x2ca)]==='arraybuffer'?_0x1dfd4b=_0x261dd8(_0xbd427c(_0x4a4cad,_0x313194)):this[_0x104321(0x2ca)]===_0x104321(0x26e)?_0x1dfd4b=new Blob(_0x4a4cad):_0x1dfd4b=_0x4a4cad,this[_0x104321(0x1d1)]?(this[_0x104321(0x1b0)](_0x104321(0x268),_0x1dfd4b,!0x0),this[_0x104321(0x22c)]=_0x3c98f8):(this[_0x104321(0x22c)]=_0xe5b057,setImmediate(()=>{const _0xd2e820=_0x104321;this[_0xd2e820(0x1b0)](_0xd2e820(0x268),_0x1dfd4b,!0x0),this[_0xd2e820(0x22c)]=_0x3c98f8,this[_0xd2e820(0x1c1)](_0x91f956);}));}else{const _0x14cef6=_0xbd427c(_0x4a4cad,_0x313194);if(!this[_0x104321(0x2d4)]&&!_0x537df7(_0x14cef6)){const _0x50a9b8=this[_0x104321(0x1c0)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x104321(0x2b2));_0x91f956(_0x50a9b8);return;}this['_state']===_0x449c88||this[_0x104321(0x1d1)]?(this[_0x104321(0x1b0)](_0x104321(0x268),_0x14cef6,!0x1),this[_0x104321(0x22c)]=_0x3c98f8):(this[_0x104321(0x22c)]=_0xe5b057,setImmediate(()=>{const _0x3c8ae9=_0x104321;this[_0x3c8ae9(0x1b0)](_0x3c8ae9(0x268),_0x14cef6,!0x1),this[_0x3c8ae9(0x22c)]=_0x3c98f8,this[_0x3c8ae9(0x1c1)](_0x91f956);}));}}[_0x30ee28(0x1eb)](_0x243f0e,_0x5983b1){const _0x2cbf09=_0x30ee28;if(this[_0x2cbf09(0x2e5)]===0x8){if(_0x243f0e['length']===0x0)this['_loop']=!0x1,this[_0x2cbf09(0x1b0)]('conclude',0x3ed,_0x5a82ff),this[_0x2cbf09(0x1f0)]();else{const _0x54964e=_0x243f0e[_0x2cbf09(0x1d3)](0x0);if(!_0x3c5d09(_0x54964e)){const _0x5e4294=this[_0x2cbf09(0x1c0)](RangeError,'invalid\x20status\x20code\x20'+_0x54964e,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0x5983b1(_0x5e4294);return;}const _0x229a5a=new _0x544c89(_0x243f0e[_0x2cbf09(0x1fd)],_0x243f0e[_0x2cbf09(0x1b3)]+0x2,_0x243f0e[_0x2cbf09(0x2d2)]-0x2);if(!this[_0x2cbf09(0x2d4)]&&!_0x537df7(_0x229a5a)){const _0x45ace3=this[_0x2cbf09(0x1c0)](Error,_0x2cbf09(0x274),!0x0,0x3ef,_0x2cbf09(0x2b2));_0x5983b1(_0x45ace3);return;}this[_0x2cbf09(0x22b)]=!0x1,this[_0x2cbf09(0x1b0)]('conclude',_0x54964e,_0x229a5a),this[_0x2cbf09(0x1f0)]();}this['_state']=_0x3c98f8;return;}this['_allowSynchronousEvents']?(this['emit'](this['_opcode']===0x9?_0x2cbf09(0x241):_0x2cbf09(0x1c5),_0x243f0e),this['_state']=_0x3c98f8):(this['_state']=_0xe5b057,setImmediate(()=>{const _0x5e03e8=_0x2cbf09;this[_0x5e03e8(0x1b0)](this[_0x5e03e8(0x2e5)]===0x9?'ping':'pong',_0x243f0e),this[_0x5e03e8(0x22c)]=_0x3c98f8,this[_0x5e03e8(0x1c1)](_0x5983b1);}));}[_0x30ee28(0x1c0)](_0x583a42,_0xb7259d,_0x581ec6,_0x52bde2,_0x4d2c3e){const _0x22c4bb=_0x30ee28;this[_0x22c4bb(0x22b)]=!0x1,this[_0x22c4bb(0x1c2)]=!0x0;const _0x1269ce=new _0x583a42(_0x581ec6?_0x22c4bb(0x26d)+_0xb7259d:_0xb7259d);return Error['captureStackTrace'](_0x1269ce,this[_0x22c4bb(0x1c0)]),_0x1269ce[_0x22c4bb(0x291)]=_0x4d2c3e,_0x1269ce[_0x53da3e]=_0x52bde2,_0x1269ce;}}return Se=_0x3a580e,Se;}var Ee,et;function _t(){const _0x312fb4=_0x575908;if(et)return Ee;et=0x1;const {Duplex:_0x237d1a}=_0x2a4194,{randomFillSync:_0x1cfaac}=_0x20476a,_0x5342d8=he(),{EMPTY_BUFFER:_0x1d19d5,kWebSocket:_0x4a4a85,NOOP:_0x283460}=V(),{isBlob:_0x2c1fdc,isValidStatusCode:_0x169387}=ne(),{mask:_0x46d1b0,toBuffer:_0x212582}=ce(),_0x2032fa=Symbol(_0x312fb4(0x2c5)),_0x483ece=Buffer[_0x312fb4(0x2f9)](0x4),_0x1400e7=0x8*0x400;let _0x2974a7,_0x2d6fbf=_0x1400e7;const _0x53f3c1=0x0,_0x2e62f6=0x1,_0x2e416c=0x2;class _0x1e07da{constructor(_0x497864,_0x4c0ccc,_0x8cbee2){const _0x503a34=_0x312fb4;this['_extensions']=_0x4c0ccc||{},_0x8cbee2&&(this[_0x503a34(0x28d)]=_0x8cbee2,this['_maskBuffer']=Buffer[_0x503a34(0x2f9)](0x4)),this[_0x503a34(0x33a)]=_0x497864,this[_0x503a34(0x2f7)]=!0x0,this[_0x503a34(0x2dd)]=!0x1,this[_0x503a34(0x1b9)]=0x0,this[_0x503a34(0x1f5)]=[],this['_state']=_0x53f3c1,this[_0x503a34(0x2aa)]=_0x283460,this[_0x4a4a85]=void 0x0;}static[_0x312fb4(0x276)](_0x117466,_0x18ff67){const _0x4d2f52=_0x312fb4;let _0x47f0ce,_0xcbbc47=!0x1,_0x27732f=0x2,_0x29286c=!0x1;_0x18ff67[_0x4d2f52(0x2f2)]&&(_0x47f0ce=_0x18ff67[_0x4d2f52(0x2c1)]||_0x483ece,_0x18ff67['generateMask']?_0x18ff67[_0x4d2f52(0x2a8)](_0x47f0ce):(_0x2d6fbf===_0x1400e7&&(_0x2974a7===void 0x0&&(_0x2974a7=Buffer[_0x4d2f52(0x2f9)](_0x1400e7)),_0x1cfaac(_0x2974a7,0x0,_0x1400e7),_0x2d6fbf=0x0),_0x47f0ce[0x0]=_0x2974a7[_0x2d6fbf++],_0x47f0ce[0x1]=_0x2974a7[_0x2d6fbf++],_0x47f0ce[0x2]=_0x2974a7[_0x2d6fbf++],_0x47f0ce[0x3]=_0x2974a7[_0x2d6fbf++]),_0x29286c=(_0x47f0ce[0x0]|_0x47f0ce[0x1]|_0x47f0ce[0x2]|_0x47f0ce[0x3])===0x0,_0x27732f=0x6);let _0x174ef4;typeof _0x117466==_0x4d2f52(0x272)?(!_0x18ff67[_0x4d2f52(0x2f2)]||_0x29286c)&&_0x18ff67[_0x2032fa]!==void 0x0?_0x174ef4=_0x18ff67[_0x2032fa]:(_0x117466=Buffer['from'](_0x117466),_0x174ef4=_0x117466[_0x4d2f52(0x2d2)]):(_0x174ef4=_0x117466[_0x4d2f52(0x2d2)],_0xcbbc47=_0x18ff67[_0x4d2f52(0x2f2)]&&_0x18ff67[_0x4d2f52(0x350)]&&!_0x29286c);let _0x4eb612=_0x174ef4;_0x174ef4>=0x10000?(_0x27732f+=0x8,_0x4eb612=0x7f):_0x174ef4>0x7d&&(_0x27732f+=0x2,_0x4eb612=0x7e);const _0x57a12d=Buffer['allocUnsafe'](_0xcbbc47?_0x174ef4+_0x27732f:_0x27732f);return _0x57a12d[0x0]=_0x18ff67[_0x4d2f52(0x2dc)]?_0x18ff67[_0x4d2f52(0x2c2)]|0x80:_0x18ff67[_0x4d2f52(0x2c2)],_0x18ff67[_0x4d2f52(0x2b5)]&&(_0x57a12d[0x0]|=0x40),_0x57a12d[0x1]=_0x4eb612,_0x4eb612===0x7e?_0x57a12d[_0x4d2f52(0x233)](_0x174ef4,0x2):_0x4eb612===0x7f&&(_0x57a12d[0x2]=_0x57a12d[0x3]=0x0,_0x57a12d[_0x4d2f52(0x33f)](_0x174ef4,0x4,0x6)),_0x18ff67[_0x4d2f52(0x2f2)]?(_0x57a12d[0x1]|=0x80,_0x57a12d[_0x27732f-0x4]=_0x47f0ce[0x0],_0x57a12d[_0x27732f-0x3]=_0x47f0ce[0x1],_0x57a12d[_0x27732f-0x2]=_0x47f0ce[0x2],_0x57a12d[_0x27732f-0x1]=_0x47f0ce[0x3],_0x29286c?[_0x57a12d,_0x117466]:_0xcbbc47?(_0x46d1b0(_0x117466,_0x47f0ce,_0x57a12d,_0x27732f,_0x174ef4),[_0x57a12d]):(_0x46d1b0(_0x117466,_0x47f0ce,_0x117466,0x0,_0x174ef4),[_0x57a12d,_0x117466])):[_0x57a12d,_0x117466];}[_0x312fb4(0x1f1)](_0x1ee988,_0x4935c1,_0x10d08a,_0x77dff8){const _0x462839=_0x312fb4;let _0x593761;if(_0x1ee988===void 0x0)_0x593761=_0x1d19d5;else{if(typeof _0x1ee988!='number'||!_0x169387(_0x1ee988))throw new TypeError(_0x462839(0x240));if(_0x4935c1===void 0x0||!_0x4935c1['length'])_0x593761=Buffer[_0x462839(0x2e4)](0x2),_0x593761['writeUInt16BE'](_0x1ee988,0x0);else{const _0x3298b7=Buffer[_0x462839(0x221)](_0x4935c1);if(_0x3298b7>0x7b)throw new RangeError(_0x462839(0x25c));_0x593761=Buffer['allocUnsafe'](0x2+_0x3298b7),_0x593761['writeUInt16BE'](_0x1ee988,0x0),typeof _0x4935c1==_0x462839(0x272)?_0x593761['write'](_0x4935c1,0x2):_0x593761['set'](_0x4935c1,0x2);}}const _0x4ddc5f={[_0x2032fa]:_0x593761[_0x462839(0x2d2)],'fin':!0x0,'generateMask':this[_0x462839(0x28d)],'mask':_0x10d08a,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this['_state']!==_0x53f3c1?this[_0x462839(0x1b5)]([this['dispatch'],_0x593761,!0x1,_0x4ddc5f,_0x77dff8]):this[_0x462839(0x2fb)](_0x1e07da[_0x462839(0x276)](_0x593761,_0x4ddc5f),_0x77dff8);}[_0x312fb4(0x241)](_0x1785b6,_0x3292b5,_0x3442b3){const _0x4fe09c=_0x312fb4;let _0x229ecc,_0x3d16af;if(typeof _0x1785b6==_0x4fe09c(0x272)?(_0x229ecc=Buffer[_0x4fe09c(0x221)](_0x1785b6),_0x3d16af=!0x1):_0x2c1fdc(_0x1785b6)?(_0x229ecc=_0x1785b6[_0x4fe09c(0x1ad)],_0x3d16af=!0x1):(_0x1785b6=_0x212582(_0x1785b6),_0x229ecc=_0x1785b6[_0x4fe09c(0x2d2)],_0x3d16af=_0x212582[_0x4fe09c(0x350)]),_0x229ecc>0x7d)throw new RangeError(_0x4fe09c(0x1ba));const _0x257890={[_0x2032fa]:_0x229ecc,'fin':!0x0,'generateMask':this[_0x4fe09c(0x28d)],'mask':_0x3292b5,'maskBuffer':this[_0x4fe09c(0x1ed)],'opcode':0x9,'readOnly':_0x3d16af,'rsv1':!0x1};_0x2c1fdc(_0x1785b6)?this[_0x4fe09c(0x22c)]!==_0x53f3c1?this['enqueue']([this['getBlobData'],_0x1785b6,!0x1,_0x257890,_0x3442b3]):this['getBlobData'](_0x1785b6,!0x1,_0x257890,_0x3442b3):this[_0x4fe09c(0x22c)]!==_0x53f3c1?this[_0x4fe09c(0x1b5)]([this[_0x4fe09c(0x244)],_0x1785b6,!0x1,_0x257890,_0x3442b3]):this['sendFrame'](_0x1e07da[_0x4fe09c(0x276)](_0x1785b6,_0x257890),_0x3442b3);}[_0x312fb4(0x1c5)](_0x22af57,_0x294644,_0x2c37bd){const _0x6fd025=_0x312fb4;let _0x580dc9,_0x328c91;if(typeof _0x22af57==_0x6fd025(0x272)?(_0x580dc9=Buffer[_0x6fd025(0x221)](_0x22af57),_0x328c91=!0x1):_0x2c1fdc(_0x22af57)?(_0x580dc9=_0x22af57[_0x6fd025(0x1ad)],_0x328c91=!0x1):(_0x22af57=_0x212582(_0x22af57),_0x580dc9=_0x22af57[_0x6fd025(0x2d2)],_0x328c91=_0x212582[_0x6fd025(0x350)]),_0x580dc9>0x7d)throw new RangeError(_0x6fd025(0x1ba));const _0x1182dd={[_0x2032fa]:_0x580dc9,'fin':!0x0,'generateMask':this[_0x6fd025(0x28d)],'mask':_0x294644,'maskBuffer':this[_0x6fd025(0x1ed)],'opcode':0xa,'readOnly':_0x328c91,'rsv1':!0x1};_0x2c1fdc(_0x22af57)?this['_state']!==_0x53f3c1?this['enqueue']([this[_0x6fd025(0x201)],_0x22af57,!0x1,_0x1182dd,_0x2c37bd]):this[_0x6fd025(0x201)](_0x22af57,!0x1,_0x1182dd,_0x2c37bd):this[_0x6fd025(0x22c)]!==_0x53f3c1?this[_0x6fd025(0x1b5)]([this[_0x6fd025(0x244)],_0x22af57,!0x1,_0x1182dd,_0x2c37bd]):this[_0x6fd025(0x2fb)](_0x1e07da[_0x6fd025(0x276)](_0x22af57,_0x1182dd),_0x2c37bd);}['send'](_0x3b5ba8,_0x2a84ee,_0x247d7){const _0xb3b2cd=_0x312fb4,_0x5b8bfe=this[_0xb3b2cd(0x329)][_0x5342d8[_0xb3b2cd(0x1d7)]];let _0x5e97e4=_0x2a84ee[_0xb3b2cd(0x1e5)]?0x2:0x1,_0x622876=_0x2a84ee[_0xb3b2cd(0x252)],_0x349774,_0x44aba4;typeof _0x3b5ba8=='string'?(_0x349774=Buffer[_0xb3b2cd(0x221)](_0x3b5ba8),_0x44aba4=!0x1):_0x2c1fdc(_0x3b5ba8)?(_0x349774=_0x3b5ba8['size'],_0x44aba4=!0x1):(_0x3b5ba8=_0x212582(_0x3b5ba8),_0x349774=_0x3b5ba8[_0xb3b2cd(0x2d2)],_0x44aba4=_0x212582[_0xb3b2cd(0x350)]),this[_0xb3b2cd(0x2f7)]?(this[_0xb3b2cd(0x2f7)]=!0x1,_0x622876&&_0x5b8bfe&&_0x5b8bfe[_0xb3b2cd(0x21f)][_0x5b8bfe[_0xb3b2cd(0x30f)]?'server_no_context_takeover':'client_no_context_takeover']&&(_0x622876=_0x349774>=_0x5b8bfe[_0xb3b2cd(0x34f)]),this[_0xb3b2cd(0x2dd)]=_0x622876):(_0x622876=!0x1,_0x5e97e4=0x0),_0x2a84ee['fin']&&(this[_0xb3b2cd(0x2f7)]=!0x0);const _0x3074ae={[_0x2032fa]:_0x349774,'fin':_0x2a84ee[_0xb3b2cd(0x2dc)],'generateMask':this['_generateMask'],'mask':_0x2a84ee[_0xb3b2cd(0x2f2)],'maskBuffer':this[_0xb3b2cd(0x1ed)],'opcode':_0x5e97e4,'readOnly':_0x44aba4,'rsv1':_0x622876};_0x2c1fdc(_0x3b5ba8)?this['_state']!==_0x53f3c1?this[_0xb3b2cd(0x1b5)]([this[_0xb3b2cd(0x201)],_0x3b5ba8,this[_0xb3b2cd(0x2dd)],_0x3074ae,_0x247d7]):this[_0xb3b2cd(0x201)](_0x3b5ba8,this[_0xb3b2cd(0x2dd)],_0x3074ae,_0x247d7):this[_0xb3b2cd(0x22c)]!==_0x53f3c1?this[_0xb3b2cd(0x1b5)]([this[_0xb3b2cd(0x244)],_0x3b5ba8,this['_compress'],_0x3074ae,_0x247d7]):this[_0xb3b2cd(0x244)](_0x3b5ba8,this[_0xb3b2cd(0x2dd)],_0x3074ae,_0x247d7);}[_0x312fb4(0x201)](_0x34a8d3,_0x11b002,_0xd0df71,_0x57fd68){const _0x2853a3=_0x312fb4;this[_0x2853a3(0x1b9)]+=_0xd0df71[_0x2032fa],this[_0x2853a3(0x22c)]=_0x2e416c,_0x34a8d3[_0x2853a3(0x20b)]()[_0x2853a3(0x2f8)](_0x3b0846=>{const _0x30919d=_0x2853a3;if(this[_0x30919d(0x33a)][_0x30919d(0x327)]){const _0xbaa823=new Error(_0x30919d(0x27d));process['nextTick'](_0x3f0fd0,this,_0xbaa823,_0x57fd68);return;}this[_0x30919d(0x1b9)]-=_0xd0df71[_0x2032fa];const _0x233791=_0x212582(_0x3b0846);_0x11b002?this[_0x30919d(0x244)](_0x233791,_0x11b002,_0xd0df71,_0x57fd68):(this['_state']=_0x53f3c1,this['sendFrame'](_0x1e07da[_0x30919d(0x276)](_0x233791,_0xd0df71),_0x57fd68),this[_0x30919d(0x279)]());})[_0x2853a3(0x24a)](_0x2e2190=>{const _0x514266=_0x2853a3;process[_0x514266(0x345)](_0xa1ad3,this,_0x2e2190,_0x57fd68);});}['dispatch'](_0x3b5557,_0x37d1c1,_0x1079a3,_0x4bc1ca){const _0x2e17d1=_0x312fb4;if(!_0x37d1c1){this[_0x2e17d1(0x2fb)](_0x1e07da[_0x2e17d1(0x276)](_0x3b5557,_0x1079a3),_0x4bc1ca);return;}const _0x14e4b6=this[_0x2e17d1(0x329)][_0x5342d8[_0x2e17d1(0x1d7)]];this[_0x2e17d1(0x1b9)]+=_0x1079a3[_0x2032fa],this[_0x2e17d1(0x22c)]=_0x2e62f6,_0x14e4b6[_0x2e17d1(0x252)](_0x3b5557,_0x1079a3['fin'],(_0x190006,_0x311cca)=>{const _0x5d123f=_0x2e17d1;if(this[_0x5d123f(0x33a)][_0x5d123f(0x327)]){const _0x290d88=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x3f0fd0(this,_0x290d88,_0x4bc1ca);return;}this[_0x5d123f(0x1b9)]-=_0x1079a3[_0x2032fa],this[_0x5d123f(0x22c)]=_0x53f3c1,_0x1079a3[_0x5d123f(0x350)]=!0x1,this[_0x5d123f(0x2fb)](_0x1e07da[_0x5d123f(0x276)](_0x311cca,_0x1079a3),_0x4bc1ca),this[_0x5d123f(0x279)]();});}[_0x312fb4(0x279)](){const _0x3d50a3=_0x312fb4;for(;this[_0x3d50a3(0x22c)]===_0x53f3c1&&this['_queue'][_0x3d50a3(0x2d2)];){const _0x2f2c43=this[_0x3d50a3(0x1f5)]['shift']();this[_0x3d50a3(0x1b9)]-=_0x2f2c43[0x3][_0x2032fa],Reflect['apply'](_0x2f2c43[0x0],this,_0x2f2c43[_0x3d50a3(0x209)](0x1));}}['enqueue'](_0x882ce4){const _0x34c40d=_0x312fb4;this[_0x34c40d(0x1b9)]+=_0x882ce4[0x3][_0x2032fa],this['_queue']['push'](_0x882ce4);}['sendFrame'](_0x3ec40c,_0x52650b){const _0x131bd0=_0x312fb4;_0x3ec40c[_0x131bd0(0x2d2)]===0x2?(this[_0x131bd0(0x33a)][_0x131bd0(0x1af)](),this[_0x131bd0(0x33a)][_0x131bd0(0x29c)](_0x3ec40c[0x0]),this[_0x131bd0(0x33a)]['write'](_0x3ec40c[0x1],_0x52650b),this[_0x131bd0(0x33a)][_0x131bd0(0x230)]()):this['_socket'][_0x131bd0(0x29c)](_0x3ec40c[0x0],_0x52650b);}}Ee=_0x1e07da;function _0x3f0fd0(_0x3ca4e1,_0x13a99d,_0x29252f){const _0x4e6eb3=_0x312fb4;typeof _0x29252f==_0x4e6eb3(0x1e2)&&_0x29252f(_0x13a99d);for(let _0x135242=0x0;_0x135242<_0x3ca4e1['_queue']['length'];_0x135242++){const _0x3d6e06=_0x3ca4e1[_0x4e6eb3(0x1f5)][_0x135242],_0x308ae4=_0x3d6e06[_0x3d6e06[_0x4e6eb3(0x2d2)]-0x1];typeof _0x308ae4==_0x4e6eb3(0x1e2)&&_0x308ae4(_0x13a99d);}}function _0xa1ad3(_0x3ceb86,_0x3e65ed,_0x973e7a){_0x3f0fd0(_0x3ceb86,_0x3e65ed,_0x973e7a),_0x3ceb86['onerror'](_0x3e65ed);}return Ee;}var xe,tt;function Kt(){const _0x5b4717=_0x575908;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x4d0d8d,kListener:_0x3b8c9a}=V(),_0x15cf91=Symbol(_0x5b4717(0x1d6)),_0xbdc04d=Symbol(_0x5b4717(0x2be)),_0x528532=Symbol(_0x5b4717(0x346)),_0x448b3b=Symbol('kMessage'),_0x4f20df=Symbol('kReason'),_0xd7749e=Symbol(_0x5b4717(0x30b)),_0xb59c0a=Symbol(_0x5b4717(0x2fd)),_0x3c31b7=Symbol(_0x5b4717(0x227));class _0x3601ba{constructor(_0x28d41c){this[_0xd7749e]=null,this[_0xb59c0a]=_0x28d41c;}get[_0x5b4717(0x216)](){return this[_0xd7749e];}get[_0x5b4717(0x336)](){return this[_0xb59c0a];}}Object[_0x5b4717(0x28e)](_0x3601ba[_0x5b4717(0x31a)],_0x5b4717(0x216),{'enumerable':!0x0}),Object[_0x5b4717(0x28e)](_0x3601ba['prototype'],_0x5b4717(0x336),{'enumerable':!0x0});class _0x19ffe3 extends _0x3601ba{constructor(_0x2c1f5d,_0x181373={}){const _0x19add6=_0x5b4717;super(_0x2c1f5d),this[_0x15cf91]=_0x181373[_0x19add6(0x291)]===void 0x0?0x0:_0x181373[_0x19add6(0x291)],this[_0x4f20df]=_0x181373['reason']===void 0x0?'':_0x181373[_0x19add6(0x314)],this[_0x3c31b7]=_0x181373[_0x19add6(0x2bd)]===void 0x0?!0x1:_0x181373[_0x19add6(0x2bd)];}get[_0x5b4717(0x291)](){return this[_0x15cf91];}get[_0x5b4717(0x314)](){return this[_0x4f20df];}get['wasClean'](){return this[_0x3c31b7];}}Object[_0x5b4717(0x28e)](_0x19ffe3[_0x5b4717(0x31a)],_0x5b4717(0x291),{'enumerable':!0x0}),Object[_0x5b4717(0x28e)](_0x19ffe3[_0x5b4717(0x31a)],_0x5b4717(0x314),{'enumerable':!0x0}),Object['defineProperty'](_0x19ffe3[_0x5b4717(0x31a)],_0x5b4717(0x2bd),{'enumerable':!0x0});class _0x5f3adf extends _0x3601ba{constructor(_0x1b910d,_0x1f0917={}){const _0x56cce9=_0x5b4717;super(_0x1b910d),this[_0x528532]=_0x1f0917[_0x56cce9(0x20c)]===void 0x0?null:_0x1f0917['error'],this[_0x448b3b]=_0x1f0917[_0x56cce9(0x268)]===void 0x0?'':_0x1f0917[_0x56cce9(0x268)];}get[_0x5b4717(0x20c)](){return this[_0x528532];}get[_0x5b4717(0x268)](){return this[_0x448b3b];}}Object[_0x5b4717(0x28e)](_0x5f3adf[_0x5b4717(0x31a)],_0x5b4717(0x20c),{'enumerable':!0x0}),Object[_0x5b4717(0x28e)](_0x5f3adf[_0x5b4717(0x31a)],_0x5b4717(0x268),{'enumerable':!0x0});class _0x50d0cc extends _0x3601ba{constructor(_0x159112,_0x557eee={}){const _0xb1c77f=_0x5b4717;super(_0x159112),this[_0xbdc04d]=_0x557eee[_0xb1c77f(0x267)]===void 0x0?null:_0x557eee[_0xb1c77f(0x267)];}get[_0x5b4717(0x267)](){return this[_0xbdc04d];}}Object[_0x5b4717(0x28e)](_0x50d0cc[_0x5b4717(0x31a)],'data',{'enumerable':!0x0}),xe={'CloseEvent':_0x19ffe3,'ErrorEvent':_0x5f3adf,'Event':_0x3601ba,'EventTarget':{'addEventListener'(_0x18ba79,_0x18626e,_0x4eaba7={}){const _0x516da6=_0x5b4717;for(const _0x590614 of this[_0x516da6(0x2a3)](_0x18ba79))if(!_0x4eaba7[_0x4d0d8d]&&_0x590614[_0x3b8c9a]===_0x18626e&&!_0x590614[_0x4d0d8d])return;let _0x2b3667;if(_0x18ba79==='message')_0x2b3667=function(_0x28e838,_0xbb4717){const _0x37e901=_0x516da6,_0x9e1917=new _0x50d0cc(_0x37e901(0x268),{'data':_0xbb4717?_0x28e838:_0x28e838[_0x37e901(0x2ad)]()});_0x9e1917[_0xd7749e]=this,_0x6a8de7(_0x18626e,this,_0x9e1917);};else{if(_0x18ba79===_0x516da6(0x1f1))_0x2b3667=function(_0x364b05,_0x405cac){const _0x52a1e2=_0x516da6,_0x380c03=new _0x19ffe3(_0x52a1e2(0x1f1),{'code':_0x364b05,'reason':_0x405cac['toString'](),'wasClean':this[_0x52a1e2(0x29a)]&&this[_0x52a1e2(0x2a5)]});_0x380c03[_0xd7749e]=this,_0x6a8de7(_0x18626e,this,_0x380c03);};else{if(_0x18ba79===_0x516da6(0x20c))_0x2b3667=function(_0x583684){const _0xed58b0=_0x516da6,_0x55341d=new _0x5f3adf(_0xed58b0(0x20c),{'error':_0x583684,'message':_0x583684[_0xed58b0(0x268)]});_0x55341d[_0xd7749e]=this,_0x6a8de7(_0x18626e,this,_0x55341d);};else{if(_0x18ba79==='open')_0x2b3667=function(){const _0x481da3=new _0x3601ba('open');_0x481da3[_0xd7749e]=this,_0x6a8de7(_0x18626e,this,_0x481da3);};else return;}}}_0x2b3667[_0x4d0d8d]=!!_0x4eaba7[_0x4d0d8d],_0x2b3667[_0x3b8c9a]=_0x18626e,_0x4eaba7[_0x516da6(0x2d3)]?this[_0x516da6(0x2d3)](_0x18ba79,_0x2b3667):this['on'](_0x18ba79,_0x2b3667);},'removeEventListener'(_0xd73ac3,_0x10736a){const _0x43da0a=_0x5b4717;for(const _0x2856a6 of this[_0x43da0a(0x2a3)](_0xd73ac3))if(_0x2856a6[_0x3b8c9a]===_0x10736a&&!_0x2856a6[_0x4d0d8d]){this[_0x43da0a(0x2ba)](_0xd73ac3,_0x2856a6);break;}}},'MessageEvent':_0x50d0cc};function _0x6a8de7(_0x50f401,_0x40727d,_0x353de3){const _0x262ee7=_0x5b4717;typeof _0x50f401=='object'&&_0x50f401['handleEvent']?_0x50f401[_0x262ee7(0x251)][_0x262ee7(0x2f5)](_0x50f401,_0x353de3):_0x50f401['call'](_0x40727d,_0x353de3);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x56551d}=ne();function _0x4089ce(_0x5e92a1,_0x5611c8,_0x40071d){_0x5e92a1[_0x5611c8]===void 0x0?_0x5e92a1[_0x5611c8]=[_0x40071d]:_0x5e92a1[_0x5611c8]['push'](_0x40071d);}function _0x2aeb73(_0x416836){const _0x4034c4=_0x395c,_0x4310de=Object[_0x4034c4(0x34e)](null);let _0x170a6b=Object[_0x4034c4(0x34e)](null),_0x159f3f=!0x1,_0x7f1cd8=!0x1,_0x10ee6d=!0x1,_0x19833e,_0x3dac4f,_0x180cf6=-0x1,_0x798694=-0x1,_0x3a3e51=-0x1,_0x13c0a9=0x0;for(;_0x13c0a9<_0x416836[_0x4034c4(0x2d2)];_0x13c0a9++)if(_0x798694=_0x416836[_0x4034c4(0x324)](_0x13c0a9),_0x19833e===void 0x0){if(_0x3a3e51===-0x1&&_0x56551d[_0x798694]===0x1)_0x180cf6===-0x1&&(_0x180cf6=_0x13c0a9);else{if(_0x13c0a9!==0x0&&(_0x798694===0x20||_0x798694===0x9))_0x3a3e51===-0x1&&_0x180cf6!==-0x1&&(_0x3a3e51=_0x13c0a9);else{if(_0x798694===0x3b||_0x798694===0x2c){if(_0x180cf6===-0x1)throw new SyntaxError(_0x4034c4(0x1f4)+_0x13c0a9);_0x3a3e51===-0x1&&(_0x3a3e51=_0x13c0a9);const _0x15848d=_0x416836[_0x4034c4(0x209)](_0x180cf6,_0x3a3e51);_0x798694===0x2c?(_0x4089ce(_0x4310de,_0x15848d,_0x170a6b),_0x170a6b=Object[_0x4034c4(0x34e)](null)):_0x19833e=_0x15848d,_0x180cf6=_0x3a3e51=-0x1;}else throw new SyntaxError(_0x4034c4(0x1f4)+_0x13c0a9);}}}else{if(_0x3dac4f===void 0x0){if(_0x3a3e51===-0x1&&_0x56551d[_0x798694]===0x1)_0x180cf6===-0x1&&(_0x180cf6=_0x13c0a9);else{if(_0x798694===0x20||_0x798694===0x9)_0x3a3e51===-0x1&&_0x180cf6!==-0x1&&(_0x3a3e51=_0x13c0a9);else{if(_0x798694===0x3b||_0x798694===0x2c){if(_0x180cf6===-0x1)throw new SyntaxError(_0x4034c4(0x1f4)+_0x13c0a9);_0x3a3e51===-0x1&&(_0x3a3e51=_0x13c0a9),_0x4089ce(_0x170a6b,_0x416836[_0x4034c4(0x209)](_0x180cf6,_0x3a3e51),!0x0),_0x798694===0x2c&&(_0x4089ce(_0x4310de,_0x19833e,_0x170a6b),_0x170a6b=Object[_0x4034c4(0x34e)](null),_0x19833e=void 0x0),_0x180cf6=_0x3a3e51=-0x1;}else{if(_0x798694===0x3d&&_0x180cf6!==-0x1&&_0x3a3e51===-0x1)_0x3dac4f=_0x416836[_0x4034c4(0x209)](_0x180cf6,_0x13c0a9),_0x180cf6=_0x3a3e51=-0x1;else throw new SyntaxError(_0x4034c4(0x1f4)+_0x13c0a9);}}}}else{if(_0x7f1cd8){if(_0x56551d[_0x798694]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x13c0a9);_0x180cf6===-0x1?_0x180cf6=_0x13c0a9:_0x159f3f||(_0x159f3f=!0x0),_0x7f1cd8=!0x1;}else{if(_0x10ee6d){if(_0x56551d[_0x798694]===0x1)_0x180cf6===-0x1&&(_0x180cf6=_0x13c0a9);else{if(_0x798694===0x22&&_0x180cf6!==-0x1)_0x10ee6d=!0x1,_0x3a3e51=_0x13c0a9;else{if(_0x798694===0x5c)_0x7f1cd8=!0x0;else throw new SyntaxError(_0x4034c4(0x1f4)+_0x13c0a9);}}}else{if(_0x798694===0x22&&_0x416836[_0x4034c4(0x324)](_0x13c0a9-0x1)===0x3d)_0x10ee6d=!0x0;else{if(_0x3a3e51===-0x1&&_0x56551d[_0x798694]===0x1)_0x180cf6===-0x1&&(_0x180cf6=_0x13c0a9);else{if(_0x180cf6!==-0x1&&(_0x798694===0x20||_0x798694===0x9))_0x3a3e51===-0x1&&(_0x3a3e51=_0x13c0a9);else{if(_0x798694===0x3b||_0x798694===0x2c){if(_0x180cf6===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x13c0a9);_0x3a3e51===-0x1&&(_0x3a3e51=_0x13c0a9);let _0xbe722e=_0x416836[_0x4034c4(0x209)](_0x180cf6,_0x3a3e51);_0x159f3f&&(_0xbe722e=_0xbe722e[_0x4034c4(0x313)](/\\/g,''),_0x159f3f=!0x1),_0x4089ce(_0x170a6b,_0x3dac4f,_0xbe722e),_0x798694===0x2c&&(_0x4089ce(_0x4310de,_0x19833e,_0x170a6b),_0x170a6b=Object[_0x4034c4(0x34e)](null),_0x19833e=void 0x0),_0x3dac4f=void 0x0,_0x180cf6=_0x3a3e51=-0x1;}else throw new SyntaxError(_0x4034c4(0x1f4)+_0x13c0a9);}}}}}}}if(_0x180cf6===-0x1||_0x10ee6d||_0x798694===0x20||_0x798694===0x9)throw new SyntaxError('Unexpected\x20end\x20of\x20input');_0x3a3e51===-0x1&&(_0x3a3e51=_0x13c0a9);const _0x5782e0=_0x416836['slice'](_0x180cf6,_0x3a3e51);return _0x19833e===void 0x0?_0x4089ce(_0x4310de,_0x5782e0,_0x170a6b):(_0x3dac4f===void 0x0?_0x4089ce(_0x170a6b,_0x5782e0,!0x0):_0x159f3f?_0x4089ce(_0x170a6b,_0x3dac4f,_0x5782e0[_0x4034c4(0x313)](/\\/g,'')):_0x4089ce(_0x170a6b,_0x3dac4f,_0x5782e0),_0x4089ce(_0x4310de,_0x19833e,_0x170a6b)),_0x4310de;}function _0x4c7e67(_0x572a33){const _0x414796=_0x395c;return Object['keys'](_0x572a33)['map'](_0x2e2e64=>{const _0x2bf15e=_0x395c;let _0x16f6aa=_0x572a33[_0x2e2e64];return Array['isArray'](_0x16f6aa)||(_0x16f6aa=[_0x16f6aa]),_0x16f6aa[_0x2bf15e(0x21b)](_0x5dd89c=>[_0x2e2e64]['concat'](Object[_0x2bf15e(0x352)](_0x5dd89c)[_0x2bf15e(0x21b)](_0x377478=>{const _0x5d7106=_0x2bf15e;let _0x2dbe77=_0x5dd89c[_0x377478];return Array[_0x5d7106(0x31c)](_0x2dbe77)||(_0x2dbe77=[_0x2dbe77]),_0x2dbe77[_0x5d7106(0x21b)](_0x589c44=>_0x589c44===!0x0?_0x377478:_0x377478+'='+_0x589c44)[_0x5d7106(0x1fc)](';\x20');}))[_0x2bf15e(0x1fc)](';\x20'))[_0x2bf15e(0x1fc)](',\x20');})[_0x414796(0x1fc)](',\x20');}return be={'format':_0x4c7e67,'parse':_0x2aeb73},be;}var we,st;function Ie(){const _0x33cda5=_0x575908;if(st)return we;st=0x1;const _0x24bb6d=_0x19fb3e,_0x2c2ad8=_0x4d341d,_0x2a6638=_0x4cb172,_0x337230=_0x469257,_0x2eaf6c=_0x2f4299,{randomBytes:_0x9c8a98,createHash:_0x40daef}=_0x20476a,{Duplex:_0x283217,Readable:_0x36f40e}=_0x2a4194,{URL:_0x45d3c8}=_0x5f5ac4,_0x233e25=he(),_0x557518=dt(),_0x4b1884=_t(),{isBlob:_0x18ca81}=ne(),{BINARY_TYPES:_0x2f87fb,EMPTY_BUFFER:_0x55a618,GUID:_0x465165,kForOnEventAttribute:_0x4f92ce,kListener:_0x496531,kStatusCode:_0x17718e,kWebSocket:_0x3d26c9,NOOP:_0x11ce0e}=V(),{EventTarget:{addEventListener:_0x5447aa,removeEventListener:_0x2429b}}=Kt(),{format:_0x446e8b,parse:_0x5ed30e}=pt(),{toBuffer:_0x4cf8a5}=ce(),_0x2e7626=0x1e*0x3e8,_0x10d577=Symbol(_0x33cda5(0x1f2)),_0x58d09a=[0x8,0xd],_0x428a57=[_0x33cda5(0x1e4),'OPEN',_0x33cda5(0x278),_0x33cda5(0x312)],_0x4c4336=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0xed4840 extends _0x24bb6d{constructor(_0x5b9497,_0x41ee97,_0x21a5e9){const _0x674942=_0x33cda5;super(),this[_0x674942(0x2ca)]=_0x2f87fb[0x0],this[_0x674942(0x30e)]=0x3ee,this['_closeFrameReceived']=!0x1,this[_0x674942(0x2a5)]=!0x1,this[_0x674942(0x282)]=_0x55a618,this[_0x674942(0x306)]=null,this[_0x674942(0x33e)]=!0x1,this[_0x674942(0x329)]={},this[_0x674942(0x23b)]=!0x1,this[_0x674942(0x239)]='',this[_0x674942(0x2c4)]=_0xed4840[_0x674942(0x1e4)],this[_0x674942(0x1cd)]=null,this['_sender']=null,this['_socket']=null,_0x5b9497!==null?(this[_0x674942(0x235)]=0x0,this['_isServer']=!0x1,this[_0x674942(0x23d)]=0x0,_0x41ee97===void 0x0?_0x41ee97=[]:Array[_0x674942(0x31c)](_0x41ee97)||(typeof _0x41ee97==_0x674942(0x246)&&_0x41ee97!==null?(_0x21a5e9=_0x41ee97,_0x41ee97=[]):_0x41ee97=[_0x41ee97]),_0xea04fc(this,_0x5b9497,_0x41ee97,_0x21a5e9)):(this['_autoPong']=_0x21a5e9[_0x674942(0x307)],this['_isServer']=!0x0);}get['binaryType'](){const _0x117413=_0x33cda5;return this[_0x117413(0x2ca)];}set[_0x33cda5(0x2de)](_0x52e369){const _0x1924e4=_0x33cda5;_0x2f87fb[_0x1924e4(0x295)](_0x52e369)&&(this['_binaryType']=_0x52e369,this[_0x1924e4(0x1cd)]&&(this[_0x1924e4(0x1cd)][_0x1924e4(0x2ca)]=_0x52e369));}get['bufferedAmount'](){const _0x24ccc9=_0x33cda5;return this[_0x24ccc9(0x33a)]?this['_socket']['_writableState'][_0x24ccc9(0x2d2)]+this['_sender']['_bufferedBytes']:this[_0x24ccc9(0x235)];}get[_0x33cda5(0x204)](){const _0x4e3911=_0x33cda5;return Object[_0x4e3911(0x352)](this[_0x4e3911(0x329)])[_0x4e3911(0x1fc)]();}get[_0x33cda5(0x1bc)](){const _0x2bc49f=_0x33cda5;return this[_0x2bc49f(0x23b)];}get['onclose'](){return null;}get['onerror'](){return null;}get[_0x33cda5(0x332)](){return null;}get['onmessage'](){return null;}get[_0x33cda5(0x248)](){const _0x4c877a=_0x33cda5;return this[_0x4c877a(0x239)];}get[_0x33cda5(0x2e0)](){const _0x1a3018=_0x33cda5;return this[_0x1a3018(0x2c4)];}get['url'](){const _0x5382e7=_0x33cda5;return this[_0x5382e7(0x2e2)];}[_0x33cda5(0x218)](_0x52a046,_0x128378,_0x1352ed){const _0x1a5057=_0x33cda5,_0x48c256=new _0x557518({'allowSynchronousEvents':_0x1352ed[_0x1a5057(0x25e)],'binaryType':this[_0x1a5057(0x2de)],'extensions':this[_0x1a5057(0x329)],'isServer':this['_isServer'],'maxPayload':_0x1352ed[_0x1a5057(0x317)],'skipUTF8Validation':_0x1352ed[_0x1a5057(0x32c)]}),_0x2b199e=new _0x4b1884(_0x52a046,this[_0x1a5057(0x329)],_0x1352ed[_0x1a5057(0x2a8)]);this['_receiver']=_0x48c256,this[_0x1a5057(0x322)]=_0x2b199e,this[_0x1a5057(0x33a)]=_0x52a046,_0x48c256[_0x3d26c9]=this,_0x2b199e[_0x3d26c9]=this,_0x52a046[_0x3d26c9]=this,_0x48c256['on'](_0x1a5057(0x255),_0x2bdde6),_0x48c256['on'](_0x1a5057(0x283),_0x341c64),_0x48c256['on'](_0x1a5057(0x20c),_0x56c978),_0x48c256['on']('message',_0x3a32f7),_0x48c256['on'](_0x1a5057(0x241),_0x56130b),_0x48c256['on'](_0x1a5057(0x1c5),_0x9cda48),_0x2b199e[_0x1a5057(0x2aa)]=_0x8866e,_0x52a046[_0x1a5057(0x222)]&&_0x52a046['setTimeout'](0x0),_0x52a046[_0x1a5057(0x344)]&&_0x52a046[_0x1a5057(0x344)](),_0x128378[_0x1a5057(0x2d2)]>0x0&&_0x52a046[_0x1a5057(0x25a)](_0x128378),_0x52a046['on'](_0x1a5057(0x1f1),_0x438a01),_0x52a046['on'](_0x1a5057(0x267),_0x977f6d),_0x52a046['on'](_0x1a5057(0x1f0),_0x5d3a83),_0x52a046['on'](_0x1a5057(0x20c),_0x4c93d2),this[_0x1a5057(0x2c4)]=_0xed4840[_0x1a5057(0x1da)],this['emit'](_0x1a5057(0x298));}['emitClose'](){const _0x57054e=_0x33cda5;if(!this['_socket']){this[_0x57054e(0x2c4)]=_0xed4840['CLOSED'],this[_0x57054e(0x1b0)](_0x57054e(0x1f1),this[_0x57054e(0x30e)],this[_0x57054e(0x282)]);return;}this[_0x57054e(0x329)][_0x233e25[_0x57054e(0x1d7)]]&&this[_0x57054e(0x329)][_0x233e25[_0x57054e(0x1d7)]][_0x57054e(0x1c9)](),this[_0x57054e(0x1cd)]['removeAllListeners'](),this[_0x57054e(0x2c4)]=_0xed4840['CLOSED'],this['emit']('close',this[_0x57054e(0x30e)],this[_0x57054e(0x282)]);}[_0x33cda5(0x1f1)](_0x98699a,_0x2a21ab){const _0x5ab495=_0x33cda5;if(this[_0x5ab495(0x2e0)]!==_0xed4840['CLOSED']){if(this['readyState']===_0xed4840[_0x5ab495(0x1e4)]){_0x5778d2(this,this['_req'],_0x5ab495(0x220));return;}if(this[_0x5ab495(0x2e0)]===_0xed4840[_0x5ab495(0x278)]){this[_0x5ab495(0x2a5)]&&(this['_closeFrameReceived']||this[_0x5ab495(0x1cd)][_0x5ab495(0x24b)]['errorEmitted'])&&this[_0x5ab495(0x33a)][_0x5ab495(0x1f0)]();return;}this[_0x5ab495(0x2c4)]=_0xed4840[_0x5ab495(0x278)],this[_0x5ab495(0x322)][_0x5ab495(0x1f1)](_0x98699a,_0x2a21ab,!this[_0x5ab495(0x30f)],_0xf69311=>{const _0x518e7a=_0x5ab495;_0xf69311||(this[_0x518e7a(0x2a5)]=!0x0,(this[_0x518e7a(0x29a)]||this[_0x518e7a(0x1cd)][_0x518e7a(0x24b)][_0x518e7a(0x243)])&&this[_0x518e7a(0x33a)][_0x518e7a(0x1f0)]());}),_0x119526(this);}}[_0x33cda5(0x2ed)](){const _0x23181f=_0x33cda5;this[_0x23181f(0x2e0)]===_0xed4840['CONNECTING']||this[_0x23181f(0x2e0)]===_0xed4840[_0x23181f(0x312)]||(this[_0x23181f(0x23b)]=!0x0,this['_socket'][_0x23181f(0x2ed)]());}[_0x33cda5(0x241)](_0x27aca0,_0x62382,_0x212d99){const _0x124d13=_0x33cda5;if(this['readyState']===_0xed4840[_0x124d13(0x1e4)])throw new Error(_0x124d13(0x337));if(typeof _0x27aca0==_0x124d13(0x1e2)?(_0x212d99=_0x27aca0,_0x27aca0=_0x62382=void 0x0):typeof _0x62382==_0x124d13(0x1e2)&&(_0x212d99=_0x62382,_0x62382=void 0x0),typeof _0x27aca0==_0x124d13(0x245)&&(_0x27aca0=_0x27aca0[_0x124d13(0x2ad)]()),this[_0x124d13(0x2e0)]!==_0xed4840[_0x124d13(0x1da)]){_0x1083d3(this,_0x27aca0,_0x212d99);return;}_0x62382===void 0x0&&(_0x62382=!this[_0x124d13(0x30f)]),this[_0x124d13(0x322)][_0x124d13(0x241)](_0x27aca0||_0x55a618,_0x62382,_0x212d99);}[_0x33cda5(0x1c5)](_0x1412d7,_0x472f28,_0x1d8354){const _0x4928fb=_0x33cda5;if(this[_0x4928fb(0x2e0)]===_0xed4840['CONNECTING'])throw new Error(_0x4928fb(0x337));if(typeof _0x1412d7==_0x4928fb(0x1e2)?(_0x1d8354=_0x1412d7,_0x1412d7=_0x472f28=void 0x0):typeof _0x472f28=='function'&&(_0x1d8354=_0x472f28,_0x472f28=void 0x0),typeof _0x1412d7==_0x4928fb(0x245)&&(_0x1412d7=_0x1412d7[_0x4928fb(0x2ad)]()),this[_0x4928fb(0x2e0)]!==_0xed4840[_0x4928fb(0x1da)]){_0x1083d3(this,_0x1412d7,_0x1d8354);return;}_0x472f28===void 0x0&&(_0x472f28=!this[_0x4928fb(0x30f)]),this['_sender']['pong'](_0x1412d7||_0x55a618,_0x472f28,_0x1d8354);}[_0x33cda5(0x261)](){const _0x541fba=_0x33cda5;this[_0x541fba(0x2e0)]===_0xed4840['CONNECTING']||this[_0x541fba(0x2e0)]===_0xed4840['CLOSED']||(this[_0x541fba(0x23b)]=!0x1,this['_receiver'][_0x541fba(0x24b)][_0x541fba(0x2d8)]||this[_0x541fba(0x33a)][_0x541fba(0x261)]());}[_0x33cda5(0x292)](_0x3e09b4,_0x34a832,_0x3d7e8){const _0x26cda5=_0x33cda5;if(this[_0x26cda5(0x2e0)]===_0xed4840[_0x26cda5(0x1e4)])throw new Error(_0x26cda5(0x337));if(typeof _0x34a832==_0x26cda5(0x1e2)&&(_0x3d7e8=_0x34a832,_0x34a832={}),typeof _0x3e09b4=='number'&&(_0x3e09b4=_0x3e09b4[_0x26cda5(0x2ad)]()),this[_0x26cda5(0x2e0)]!==_0xed4840[_0x26cda5(0x1da)]){_0x1083d3(this,_0x3e09b4,_0x3d7e8);return;}const _0x579af9={'binary':typeof _0x3e09b4!=_0x26cda5(0x272),'mask':!this['_isServer'],'compress':!0x0,'fin':!0x0,..._0x34a832};this[_0x26cda5(0x329)][_0x233e25[_0x26cda5(0x1d7)]]||(_0x579af9[_0x26cda5(0x252)]=!0x1),this[_0x26cda5(0x322)]['send'](_0x3e09b4||_0x55a618,_0x579af9,_0x3d7e8);}[_0x33cda5(0x319)](){const _0xd37326=_0x33cda5;if(this['readyState']!==_0xed4840[_0xd37326(0x312)]){if(this[_0xd37326(0x2e0)]===_0xed4840['CONNECTING']){_0x5778d2(this,this['_req'],_0xd37326(0x220));return;}this[_0xd37326(0x33a)]&&(this[_0xd37326(0x2c4)]=_0xed4840[_0xd37326(0x278)],this[_0xd37326(0x33a)]['destroy']());}}}Object[_0x33cda5(0x28e)](_0xed4840,_0x33cda5(0x1e4),{'enumerable':!0x0,'value':_0x428a57['indexOf'](_0x33cda5(0x1e4))}),Object[_0x33cda5(0x28e)](_0xed4840['prototype'],_0x33cda5(0x1e4),{'enumerable':!0x0,'value':_0x428a57[_0x33cda5(0x343)](_0x33cda5(0x1e4))}),Object[_0x33cda5(0x28e)](_0xed4840,'OPEN',{'enumerable':!0x0,'value':_0x428a57[_0x33cda5(0x343)]('OPEN')}),Object[_0x33cda5(0x28e)](_0xed4840[_0x33cda5(0x31a)],_0x33cda5(0x1da),{'enumerable':!0x0,'value':_0x428a57[_0x33cda5(0x343)](_0x33cda5(0x1da))}),Object['defineProperty'](_0xed4840,'CLOSING',{'enumerable':!0x0,'value':_0x428a57[_0x33cda5(0x343)](_0x33cda5(0x278))}),Object[_0x33cda5(0x28e)](_0xed4840[_0x33cda5(0x31a)],'CLOSING',{'enumerable':!0x0,'value':_0x428a57[_0x33cda5(0x343)](_0x33cda5(0x278))}),Object[_0x33cda5(0x28e)](_0xed4840,_0x33cda5(0x312),{'enumerable':!0x0,'value':_0x428a57[_0x33cda5(0x343)](_0x33cda5(0x312))}),Object[_0x33cda5(0x28e)](_0xed4840[_0x33cda5(0x31a)],_0x33cda5(0x312),{'enumerable':!0x0,'value':_0x428a57[_0x33cda5(0x343)](_0x33cda5(0x312))}),[_0x33cda5(0x2de),_0x33cda5(0x206),_0x33cda5(0x204),_0x33cda5(0x1bc),_0x33cda5(0x248),_0x33cda5(0x2e0),_0x33cda5(0x2f1)]['forEach'](_0x17bca5=>{const _0x49c727=_0x33cda5;Object[_0x49c727(0x28e)](_0xed4840[_0x49c727(0x31a)],_0x17bca5,{'enumerable':!0x0});}),[_0x33cda5(0x298),_0x33cda5(0x20c),_0x33cda5(0x1f1),_0x33cda5(0x268)][_0x33cda5(0x294)](_0x4f4935=>{const _0x4d6666=_0x33cda5;Object['defineProperty'](_0xed4840[_0x4d6666(0x31a)],'on'+_0x4f4935,{'enumerable':!0x0,'get'(){for(const _0x5cf2ac of this['listeners'](_0x4f4935))if(_0x5cf2ac[_0x4f92ce])return _0x5cf2ac[_0x496531];return null;},'set'(_0x2c79e3){const _0x2dade1=_0x4d6666;for(const _0x4daf5d of this[_0x2dade1(0x2a3)](_0x4f4935))if(_0x4daf5d[_0x4f92ce]){this[_0x2dade1(0x2ba)](_0x4f4935,_0x4daf5d);break;}typeof _0x2c79e3==_0x2dade1(0x1e2)&&this[_0x2dade1(0x28c)](_0x4f4935,_0x2c79e3,{[_0x4f92ce]:!0x0});}});}),_0xed4840[_0x33cda5(0x31a)][_0x33cda5(0x28c)]=_0x5447aa,_0xed4840[_0x33cda5(0x31a)]['removeEventListener']=_0x2429b,we=_0xed4840;function _0xea04fc(_0x497723,_0x5242ec,_0x2da5df,_0x4110fd){const _0x65aa53=_0x33cda5,_0x6c6b9={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x58d09a[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x4110fd,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x497723[_0x65aa53(0x211)]=_0x6c6b9[_0x65aa53(0x307)],!_0x58d09a[_0x65aa53(0x295)](_0x6c6b9[_0x65aa53(0x1b4)]))throw new RangeError(_0x65aa53(0x29b)+_0x6c6b9[_0x65aa53(0x1b4)]+_0x65aa53(0x22d)+_0x58d09a[_0x65aa53(0x1fc)](',\x20')+')');let _0x2ac1b7;if(_0x5242ec instanceof _0x45d3c8)_0x2ac1b7=_0x5242ec;else try{_0x2ac1b7=new _0x45d3c8(_0x5242ec);}catch{throw new SyntaxError('Invalid\x20URL:\x20'+_0x5242ec);}_0x2ac1b7[_0x65aa53(0x248)]==='http:'?_0x2ac1b7[_0x65aa53(0x248)]='ws:':_0x2ac1b7['protocol']===_0x65aa53(0x1aa)&&(_0x2ac1b7[_0x65aa53(0x248)]='wss:'),_0x497723[_0x65aa53(0x2e2)]=_0x2ac1b7[_0x65aa53(0x2bf)];const _0x278bdc=_0x2ac1b7['protocol']==='wss:',_0x8fc304=_0x2ac1b7[_0x65aa53(0x248)]===_0x65aa53(0x311);let _0x4bc78;if(_0x2ac1b7[_0x65aa53(0x248)]!==_0x65aa53(0x202)&&!_0x278bdc&&!_0x8fc304?_0x4bc78=_0x65aa53(0x2c8):_0x8fc304&&!_0x2ac1b7[_0x65aa53(0x303)]?_0x4bc78='The\x20URL\x27s\x20pathname\x20is\x20empty':_0x2ac1b7[_0x65aa53(0x21e)]&&(_0x4bc78=_0x65aa53(0x208)),_0x4bc78){const _0x4ad090=new SyntaxError(_0x4bc78);if(_0x497723['_redirects']===0x0)throw _0x4ad090;_0x3d6951(_0x497723,_0x4ad090);return;}const _0x51232a=_0x278bdc?0x1bb:0x50,_0x383e8c=_0x9c8a98(0x10)['toString'](_0x65aa53(0x2f3)),_0x3bebec=_0x278bdc?_0x2c2ad8[_0x65aa53(0x1b7)]:_0x2a6638[_0x65aa53(0x1b7)],_0x4ebb08=new Set();let _0x2a2006;if(_0x6c6b9[_0x65aa53(0x1ef)]=_0x6c6b9[_0x65aa53(0x1ef)]||(_0x278bdc?_0x3c959a:_0x33d8a2),_0x6c6b9['defaultPort']=_0x6c6b9['defaultPort']||_0x51232a,_0x6c6b9[_0x65aa53(0x1fe)]=_0x2ac1b7['port']||_0x51232a,_0x6c6b9[_0x65aa53(0x1b8)]=_0x2ac1b7['hostname'][_0x65aa53(0x1c3)]('[')?_0x2ac1b7[_0x65aa53(0x340)][_0x65aa53(0x209)](0x1,-0x1):_0x2ac1b7[_0x65aa53(0x340)],_0x6c6b9['headers']={..._0x6c6b9[_0x65aa53(0x269)],'Sec-WebSocket-Version':_0x6c6b9[_0x65aa53(0x1b4)],'Sec-WebSocket-Key':_0x383e8c,'Connection':'Upgrade','Upgrade':'websocket'},_0x6c6b9['path']=_0x2ac1b7[_0x65aa53(0x303)]+_0x2ac1b7[_0x65aa53(0x254)],_0x6c6b9[_0x65aa53(0x333)]=_0x6c6b9['handshakeTimeout'],_0x6c6b9[_0x65aa53(0x275)]&&(_0x2a2006=new _0x233e25(_0x6c6b9[_0x65aa53(0x275)]!==!0x0?_0x6c6b9[_0x65aa53(0x275)]:{},!0x1,_0x6c6b9['maxPayload']),_0x6c6b9[_0x65aa53(0x269)][_0x65aa53(0x1e8)]=_0x446e8b({[_0x233e25[_0x65aa53(0x1d7)]]:_0x2a2006[_0x65aa53(0x238)]()})),_0x2da5df[_0x65aa53(0x2d2)]){for(const _0x141720 of _0x2da5df){if(typeof _0x141720!=_0x65aa53(0x272)||!_0x4c4336[_0x65aa53(0x27a)](_0x141720)||_0x4ebb08[_0x65aa53(0x338)](_0x141720))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x4ebb08[_0x65aa53(0x348)](_0x141720);}_0x6c6b9[_0x65aa53(0x269)]['Sec-WebSocket-Protocol']=_0x2da5df['join'](',');}if(_0x6c6b9[_0x65aa53(0x26f)]&&(_0x6c6b9[_0x65aa53(0x1b4)]<0xd?_0x6c6b9['headers']['Sec-WebSocket-Origin']=_0x6c6b9[_0x65aa53(0x26f)]:_0x6c6b9[_0x65aa53(0x269)]['Origin']=_0x6c6b9[_0x65aa53(0x26f)]),(_0x2ac1b7[_0x65aa53(0x2ce)]||_0x2ac1b7[_0x65aa53(0x23e)])&&(_0x6c6b9[_0x65aa53(0x339)]=_0x2ac1b7['username']+':'+_0x2ac1b7['password']),_0x8fc304){const _0x3a1f6b=_0x6c6b9['path'][_0x65aa53(0x26a)](':');_0x6c6b9[_0x65aa53(0x2b1)]=_0x3a1f6b[0x0],_0x6c6b9['path']=_0x3a1f6b[0x1];}let _0x5a182d;if(_0x6c6b9['followRedirects']){if(_0x497723[_0x65aa53(0x23d)]===0x0){_0x497723['_originalIpc']=_0x8fc304,_0x497723[_0x65aa53(0x225)]=_0x278bdc,_0x497723['_originalHostOrSocketPath']=_0x8fc304?_0x6c6b9['socketPath']:_0x2ac1b7['host'];const _0x33befa=_0x4110fd&&_0x4110fd[_0x65aa53(0x269)];if(_0x4110fd={..._0x4110fd,'headers':{}},_0x33befa){for(const [_0x5b5720,_0x31cfff]of Object['entries'](_0x33befa))_0x4110fd[_0x65aa53(0x269)][_0x5b5720[_0x65aa53(0x262)]()]=_0x31cfff;}}else{if(_0x497723[_0x65aa53(0x2a6)](_0x65aa53(0x2da))===0x0){const _0x43440f=_0x8fc304?_0x497723[_0x65aa53(0x2b3)]?_0x6c6b9[_0x65aa53(0x2b1)]===_0x497723[_0x65aa53(0x301)]:!0x1:_0x497723['_originalIpc']?!0x1:_0x2ac1b7['host']===_0x497723['_originalHostOrSocketPath'];(!_0x43440f||_0x497723['_originalSecure']&&!_0x278bdc)&&(delete _0x6c6b9['headers'][_0x65aa53(0x1e0)],delete _0x6c6b9['headers'][_0x65aa53(0x264)],_0x43440f||delete _0x6c6b9[_0x65aa53(0x269)][_0x65aa53(0x1b8)],_0x6c6b9['auth']=void 0x0);}}_0x6c6b9[_0x65aa53(0x339)]&&!_0x4110fd[_0x65aa53(0x269)][_0x65aa53(0x1e0)]&&(_0x4110fd['headers'][_0x65aa53(0x1e0)]=_0x65aa53(0x256)+Buffer[_0x65aa53(0x2fc)](_0x6c6b9['auth'])[_0x65aa53(0x2ad)]('base64')),_0x5a182d=_0x497723[_0x65aa53(0x315)]=_0x3bebec(_0x6c6b9),_0x497723[_0x65aa53(0x23d)]&&_0x497723[_0x65aa53(0x1b0)](_0x65aa53(0x2da),_0x497723['url'],_0x5a182d);}else _0x5a182d=_0x497723[_0x65aa53(0x315)]=_0x3bebec(_0x6c6b9);_0x6c6b9[_0x65aa53(0x333)]&&_0x5a182d['on'](_0x65aa53(0x333),()=>{const _0x50aa1f=_0x65aa53;_0x5778d2(_0x497723,_0x5a182d,_0x50aa1f(0x309));}),_0x5a182d['on'](_0x65aa53(0x20c),_0x1efa09=>{const _0x3d7bec=_0x65aa53;_0x5a182d===null||_0x5a182d[_0x10d577]||(_0x5a182d=_0x497723[_0x3d7bec(0x315)]=null,_0x3d6951(_0x497723,_0x1efa09));}),_0x5a182d['on'](_0x65aa53(0x33c),_0x329e9a=>{const _0x18cd7f=_0x65aa53,_0x1b3a37=_0x329e9a['headers'][_0x18cd7f(0x288)],_0x4bda0e=_0x329e9a['statusCode'];if(_0x1b3a37&&_0x6c6b9['followRedirects']&&_0x4bda0e>=0x12c&&_0x4bda0e<0x190){if(++_0x497723[_0x18cd7f(0x23d)]>_0x6c6b9[_0x18cd7f(0x258)]){_0x5778d2(_0x497723,_0x5a182d,_0x18cd7f(0x299));return;}_0x5a182d[_0x18cd7f(0x2a9)]();let _0x50bf82;try{_0x50bf82=new _0x45d3c8(_0x1b3a37,_0x5242ec);}catch{const _0x3da667=new SyntaxError('Invalid\x20URL:\x20'+_0x1b3a37);_0x3d6951(_0x497723,_0x3da667);return;}_0xea04fc(_0x497723,_0x50bf82,_0x2da5df,_0x4110fd);}else _0x497723['emit']('unexpected-response',_0x5a182d,_0x329e9a)||_0x5778d2(_0x497723,_0x5a182d,_0x18cd7f(0x1ce)+_0x329e9a[_0x18cd7f(0x2d1)]);}),_0x5a182d['on']('upgrade',(_0x46e7f7,_0x35f5d8,_0x2e303c)=>{const _0xbe8a9f=_0x65aa53;if(_0x497723['emit']('upgrade',_0x46e7f7),_0x497723[_0xbe8a9f(0x2e0)]!==_0xed4840['CONNECTING'])return;_0x5a182d=_0x497723[_0xbe8a9f(0x315)]=null;const _0x170868=_0x46e7f7[_0xbe8a9f(0x269)][_0xbe8a9f(0x2a7)];if(_0x170868===void 0x0||_0x170868[_0xbe8a9f(0x262)]()!==_0xbe8a9f(0x21d)){_0x5778d2(_0x497723,_0x35f5d8,'Invalid\x20Upgrade\x20header');return;}const _0x158433=_0x40daef('sha1')[_0xbe8a9f(0x1b1)](_0x383e8c+_0x465165)[_0xbe8a9f(0x21c)]('base64');if(_0x46e7f7[_0xbe8a9f(0x269)]['sec-websocket-accept']!==_0x158433){_0x5778d2(_0x497723,_0x35f5d8,_0xbe8a9f(0x2b4));return;}const _0x19f6e1=_0x46e7f7[_0xbe8a9f(0x269)][_0xbe8a9f(0x215)];let _0x1b78e5;if(_0x19f6e1!==void 0x0?_0x4ebb08[_0xbe8a9f(0x1ad)]?_0x4ebb08[_0xbe8a9f(0x338)](_0x19f6e1)||(_0x1b78e5='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0x1b78e5=_0xbe8a9f(0x353):_0x4ebb08[_0xbe8a9f(0x1ad)]&&(_0x1b78e5=_0xbe8a9f(0x2cb)),_0x1b78e5){_0x5778d2(_0x497723,_0x35f5d8,_0x1b78e5);return;}_0x19f6e1&&(_0x497723[_0xbe8a9f(0x239)]=_0x19f6e1);const _0x3b800a=_0x46e7f7[_0xbe8a9f(0x269)][_0xbe8a9f(0x232)];if(_0x3b800a!==void 0x0){if(!_0x2a2006){_0x5778d2(_0x497723,_0x35f5d8,_0xbe8a9f(0x1fa));return;}let _0x456626;try{_0x456626=_0x5ed30e(_0x3b800a);}catch{_0x5778d2(_0x497723,_0x35f5d8,_0xbe8a9f(0x2b6));return;}const _0x5aa604=Object[_0xbe8a9f(0x352)](_0x456626);if(_0x5aa604[_0xbe8a9f(0x2d2)]!==0x1||_0x5aa604[0x0]!==_0x233e25['extensionName']){_0x5778d2(_0x497723,_0x35f5d8,_0xbe8a9f(0x1c7));return;}try{_0x2a2006['accept'](_0x456626[_0x233e25[_0xbe8a9f(0x1d7)]]);}catch{_0x5778d2(_0x497723,_0x35f5d8,_0xbe8a9f(0x2b6));return;}_0x497723[_0xbe8a9f(0x329)][_0x233e25[_0xbe8a9f(0x1d7)]]=_0x2a2006;}_0x497723['setSocket'](_0x35f5d8,_0x2e303c,{'allowSynchronousEvents':_0x6c6b9[_0xbe8a9f(0x25e)],'generateMask':_0x6c6b9[_0xbe8a9f(0x2a8)],'maxPayload':_0x6c6b9['maxPayload'],'skipUTF8Validation':_0x6c6b9[_0xbe8a9f(0x32c)]});}),_0x6c6b9[_0x65aa53(0x284)]?_0x6c6b9['finishRequest'](_0x5a182d,_0x497723):_0x5a182d['end']();}function _0x3d6951(_0x574faf,_0x446c8a){const _0x4ef7ac=_0x33cda5;_0x574faf[_0x4ef7ac(0x2c4)]=_0xed4840[_0x4ef7ac(0x278)],_0x574faf[_0x4ef7ac(0x33e)]=!0x0,_0x574faf[_0x4ef7ac(0x1b0)](_0x4ef7ac(0x20c),_0x446c8a),_0x574faf[_0x4ef7ac(0x22f)]();}function _0x33d8a2(_0x58b4c5){const _0x3a613d=_0x33cda5;return _0x58b4c5['path']=_0x58b4c5[_0x3a613d(0x2b1)],_0x337230[_0x3a613d(0x2d9)](_0x58b4c5);}function _0x3c959a(_0x5748f7){const _0x4eb0e4=_0x33cda5;return _0x5748f7[_0x4eb0e4(0x30d)]=void 0x0,!_0x5748f7[_0x4eb0e4(0x212)]&&_0x5748f7['servername']!==''&&(_0x5748f7['servername']=_0x337230['isIP'](_0x5748f7['host'])?'':_0x5748f7[_0x4eb0e4(0x1b8)]),_0x2eaf6c[_0x4eb0e4(0x2d9)](_0x5748f7);}function _0x5778d2(_0x4d00e1,_0x6bbc17,_0x54ed19){const _0x1adbd0=_0x33cda5;_0x4d00e1[_0x1adbd0(0x2c4)]=_0xed4840[_0x1adbd0(0x278)];const _0x5cf2de=new Error(_0x54ed19);Error[_0x1adbd0(0x219)](_0x5cf2de,_0x5778d2),_0x6bbc17[_0x1adbd0(0x2d7)]?(_0x6bbc17[_0x10d577]=!0x0,_0x6bbc17[_0x1adbd0(0x2a9)](),_0x6bbc17[_0x1adbd0(0x310)]&&!_0x6bbc17[_0x1adbd0(0x310)][_0x1adbd0(0x327)]&&_0x6bbc17[_0x1adbd0(0x310)][_0x1adbd0(0x34b)](),process[_0x1adbd0(0x345)](_0x3d6951,_0x4d00e1,_0x5cf2de)):(_0x6bbc17['destroy'](_0x5cf2de),_0x6bbc17['once'](_0x1adbd0(0x20c),_0x4d00e1['emit'][_0x1adbd0(0x1db)](_0x4d00e1,_0x1adbd0(0x20c))),_0x6bbc17[_0x1adbd0(0x2d3)]('close',_0x4d00e1[_0x1adbd0(0x22f)][_0x1adbd0(0x1db)](_0x4d00e1)));}function _0x1083d3(_0x2685b4,_0x23818e,_0x5603d5){const _0x192dc6=_0x33cda5;if(_0x23818e){const _0x318165=_0x18ca81(_0x23818e)?_0x23818e[_0x192dc6(0x1ad)]:_0x4cf8a5(_0x23818e)[_0x192dc6(0x2d2)];_0x2685b4['_socket']?_0x2685b4['_sender'][_0x192dc6(0x1b9)]+=_0x318165:_0x2685b4['_bufferedAmount']+=_0x318165;}if(_0x5603d5){const _0x5c884d=new Error(_0x192dc6(0x28a)+_0x2685b4['readyState']+'\x20('+_0x428a57[_0x2685b4[_0x192dc6(0x2e0)]]+')');process[_0x192dc6(0x345)](_0x5603d5,_0x5c884d);}}function _0x2bdde6(_0x521393,_0x1f8264){const _0x15fae1=_0x33cda5,_0x32293d=this[_0x3d26c9];_0x32293d['_closeFrameReceived']=!0x0,_0x32293d[_0x15fae1(0x282)]=_0x1f8264,_0x32293d[_0x15fae1(0x30e)]=_0x521393,_0x32293d[_0x15fae1(0x33a)][_0x3d26c9]!==void 0x0&&(_0x32293d['_socket'][_0x15fae1(0x2ba)](_0x15fae1(0x267),_0x977f6d),process['nextTick'](_0x571c95,_0x32293d[_0x15fae1(0x33a)]),_0x521393===0x3ed?_0x32293d['close']():_0x32293d['close'](_0x521393,_0x1f8264));}function _0x341c64(){const _0x48e971=_0x33cda5,_0x2a3c79=this[_0x3d26c9];_0x2a3c79['isPaused']||_0x2a3c79[_0x48e971(0x33a)]['resume']();}function _0x56c978(_0xaacbd2){const _0x2b2118=_0x33cda5,_0xfa7e9=this[_0x3d26c9];_0xfa7e9['_socket'][_0x3d26c9]!==void 0x0&&(_0xfa7e9[_0x2b2118(0x33a)][_0x2b2118(0x2ba)](_0x2b2118(0x267),_0x977f6d),process[_0x2b2118(0x345)](_0x571c95,_0xfa7e9['_socket']),_0xfa7e9[_0x2b2118(0x1f1)](_0xaacbd2[_0x17718e])),_0xfa7e9[_0x2b2118(0x33e)]||(_0xfa7e9[_0x2b2118(0x33e)]=!0x0,_0xfa7e9['emit'](_0x2b2118(0x20c),_0xaacbd2));}function _0x423071(){const _0x47de77=_0x33cda5;this[_0x3d26c9][_0x47de77(0x22f)]();}function _0x3a32f7(_0xdcba82,_0x255f5c){const _0x2fcca6=_0x33cda5;this[_0x3d26c9][_0x2fcca6(0x1b0)]('message',_0xdcba82,_0x255f5c);}function _0x56130b(_0xa634b7){const _0x1d97bf=_0x33cda5,_0x123fb8=this[_0x3d26c9];_0x123fb8[_0x1d97bf(0x211)]&&_0x123fb8['pong'](_0xa634b7,!this[_0x1d97bf(0x30f)],_0x11ce0e),_0x123fb8[_0x1d97bf(0x1b0)](_0x1d97bf(0x241),_0xa634b7);}function _0x9cda48(_0x59341f){const _0x4fd08f=_0x33cda5;this[_0x3d26c9][_0x4fd08f(0x1b0)](_0x4fd08f(0x1c5),_0x59341f);}function _0x571c95(_0x373c7b){_0x373c7b['resume']();}function _0x8866e(_0x3ddfbf){const _0x2ab628=_0x33cda5,_0x46a054=this[_0x3d26c9];_0x46a054['readyState']!==_0xed4840['CLOSED']&&(_0x46a054[_0x2ab628(0x2e0)]===_0xed4840[_0x2ab628(0x1da)]&&(_0x46a054[_0x2ab628(0x2c4)]=_0xed4840[_0x2ab628(0x278)],_0x119526(_0x46a054)),this[_0x2ab628(0x33a)][_0x2ab628(0x1f0)](),_0x46a054['_errorEmitted']||(_0x46a054['_errorEmitted']=!0x0,_0x46a054[_0x2ab628(0x1b0)](_0x2ab628(0x20c),_0x3ddfbf)));}function _0x119526(_0x587221){const _0x318a6f=_0x33cda5;_0x587221[_0x318a6f(0x306)]=setTimeout(_0x587221[_0x318a6f(0x33a)]['destroy'][_0x318a6f(0x1db)](_0x587221['_socket']),_0x2e7626);}function _0x438a01(){const _0x113eeb=_0x33cda5,_0x18fac5=this[_0x3d26c9];this[_0x113eeb(0x2ba)](_0x113eeb(0x1f1),_0x438a01),this['removeListener'](_0x113eeb(0x267),_0x977f6d),this['removeListener'](_0x113eeb(0x1f0),_0x5d3a83),_0x18fac5['_readyState']=_0xed4840[_0x113eeb(0x278)];let _0x2461f7;!this[_0x113eeb(0x287)][_0x113eeb(0x22e)]&&!_0x18fac5[_0x113eeb(0x29a)]&&!_0x18fac5['_receiver'][_0x113eeb(0x24b)][_0x113eeb(0x243)]&&(_0x2461f7=_0x18fac5['_socket'][_0x113eeb(0x33b)]())!==null&&_0x18fac5[_0x113eeb(0x1cd)][_0x113eeb(0x29c)](_0x2461f7),_0x18fac5[_0x113eeb(0x1cd)][_0x113eeb(0x1f0)](),this[_0x3d26c9]=void 0x0,clearTimeout(_0x18fac5['_closeTimer']),_0x18fac5[_0x113eeb(0x1cd)][_0x113eeb(0x24b)][_0x113eeb(0x1f7)]||_0x18fac5[_0x113eeb(0x1cd)][_0x113eeb(0x24b)]['errorEmitted']?_0x18fac5[_0x113eeb(0x22f)]():(_0x18fac5[_0x113eeb(0x1cd)]['on'](_0x113eeb(0x20c),_0x423071),_0x18fac5[_0x113eeb(0x1cd)]['on'](_0x113eeb(0x2f4),_0x423071));}function _0x977f6d(_0x5afe92){const _0x144f78=_0x33cda5;this[_0x3d26c9][_0x144f78(0x1cd)][_0x144f78(0x29c)](_0x5afe92)||this[_0x144f78(0x2ed)]();}function _0x5d3a83(){const _0x4d36e9=_0x33cda5,_0x54f2c1=this[_0x3d26c9];_0x54f2c1['_readyState']=_0xed4840['CLOSING'],_0x54f2c1['_receiver'][_0x4d36e9(0x1f0)](),this['end']();}function _0x4c93d2(){const _0x55ef03=_0x33cda5,_0x1b35c6=this[_0x3d26c9];this[_0x55ef03(0x2ba)](_0x55ef03(0x20c),_0x4c93d2),this['on']('error',_0x11ce0e),_0x1b35c6&&(_0x1b35c6[_0x55ef03(0x2c4)]=_0xed4840[_0x55ef03(0x278)],this[_0x55ef03(0x34b)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x4ab09f}=_0x2a4194;function _0x4d0092(_0x3d73f2){const _0x1158b8=_0x395c;_0x3d73f2[_0x1158b8(0x1b0)]('close');}function _0x14fe98(){const _0x198260=_0x395c;!this[_0x198260(0x327)]&&this[_0x198260(0x24b)][_0x198260(0x1f7)]&&this['destroy']();}function _0x39cc50(_0x4039c2){const _0x27ffe0=_0x395c;this[_0x27ffe0(0x2ba)](_0x27ffe0(0x20c),_0x39cc50),this[_0x27ffe0(0x34b)](),this['listenerCount'](_0x27ffe0(0x20c))===0x0&&this['emit'](_0x27ffe0(0x20c),_0x4039c2);}function _0x5f249b(_0x32657f,_0x550c3c){const _0x53ee53=_0x395c;let _0x5880ef=!0x0;const _0x197680=new _0x4ab09f({..._0x550c3c,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x32657f['on'](_0x53ee53(0x268),function(_0x26fb0f,_0x7c7fa5){const _0x394d23=_0x53ee53,_0x2bb664=!_0x7c7fa5&&_0x197680[_0x394d23(0x287)]['objectMode']?_0x26fb0f[_0x394d23(0x2ad)]():_0x26fb0f;_0x197680['push'](_0x2bb664)||_0x32657f[_0x394d23(0x2ed)]();}),_0x32657f[_0x53ee53(0x2d3)](_0x53ee53(0x20c),function(_0x3a9487){const _0x12e64e=_0x53ee53;_0x197680[_0x12e64e(0x327)]||(_0x5880ef=!0x1,_0x197680[_0x12e64e(0x34b)](_0x3a9487));}),_0x32657f['once'](_0x53ee53(0x1f1),function(){const _0x1be461=_0x53ee53;_0x197680[_0x1be461(0x327)]||_0x197680[_0x1be461(0x281)](null);}),_0x197680[_0x53ee53(0x325)]=function(_0x14b485,_0x578350){const _0x53368e=_0x53ee53;if(_0x32657f[_0x53368e(0x2e0)]===_0x32657f['CLOSED']){_0x578350(_0x14b485),process[_0x53368e(0x345)](_0x4d0092,_0x197680);return;}let _0x1c85cb=!0x1;_0x32657f[_0x53368e(0x2d3)](_0x53368e(0x20c),function(_0x2c91cc){_0x1c85cb=!0x0,_0x578350(_0x2c91cc);}),_0x32657f[_0x53368e(0x2d3)](_0x53368e(0x1f1),function(){const _0x30ba78=_0x53368e;_0x1c85cb||_0x578350(_0x14b485),process[_0x30ba78(0x345)](_0x4d0092,_0x197680);}),_0x5880ef&&_0x32657f['terminate']();},_0x197680[_0x53ee53(0x1cc)]=function(_0x273de2){const _0x34b7da=_0x53ee53;if(_0x32657f[_0x34b7da(0x2e0)]===_0x32657f['CONNECTING']){_0x32657f[_0x34b7da(0x2d3)](_0x34b7da(0x298),function(){_0x197680['_final'](_0x273de2);});return;}_0x32657f[_0x34b7da(0x33a)]!==null&&(_0x32657f[_0x34b7da(0x33a)][_0x34b7da(0x24b)][_0x34b7da(0x1f7)]?(_0x273de2(),_0x197680[_0x34b7da(0x287)][_0x34b7da(0x22e)]&&_0x197680[_0x34b7da(0x34b)]()):(_0x32657f[_0x34b7da(0x33a)][_0x34b7da(0x2d3)](_0x34b7da(0x2f4),function(){_0x273de2();}),_0x32657f[_0x34b7da(0x1f1)]()));},_0x197680['_read']=function(){const _0x1acc62=_0x53ee53;_0x32657f[_0x1acc62(0x1bc)]&&_0x32657f[_0x1acc62(0x261)]();},_0x197680['_write']=function(_0x43e641,_0x2fafce,_0x244ee0){const _0x3b12a9=_0x53ee53;if(_0x32657f[_0x3b12a9(0x2e0)]===_0x32657f[_0x3b12a9(0x1e4)]){_0x32657f['once'](_0x3b12a9(0x298),function(){_0x197680['_write'](_0x43e641,_0x2fafce,_0x244ee0);});return;}_0x32657f[_0x3b12a9(0x292)](_0x43e641,_0x244ee0);},_0x197680['on']('end',_0x14fe98),_0x197680['on']('error',_0x39cc50),_0x197680;}return Oe=_0x5f249b,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=Wt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x39ac9a}=ne();function _0x3e4ff3(_0x558f67){const _0x3bbaa7=_0x395c,_0x5b52e0=new Set();let _0x522428=-0x1,_0x530be1=-0x1,_0x2036ca=0x0;for(_0x2036ca;_0x2036ca<_0x558f67['length'];_0x2036ca++){const _0x4083d8=_0x558f67[_0x3bbaa7(0x324)](_0x2036ca);if(_0x530be1===-0x1&&_0x39ac9a[_0x4083d8]===0x1)_0x522428===-0x1&&(_0x522428=_0x2036ca);else{if(_0x2036ca!==0x0&&(_0x4083d8===0x20||_0x4083d8===0x9))_0x530be1===-0x1&&_0x522428!==-0x1&&(_0x530be1=_0x2036ca);else{if(_0x4083d8===0x2c){if(_0x522428===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x2036ca);_0x530be1===-0x1&&(_0x530be1=_0x2036ca);const _0x3045d9=_0x558f67[_0x3bbaa7(0x209)](_0x522428,_0x530be1);if(_0x5b52e0['has'](_0x3045d9))throw new SyntaxError('The\x20\x22'+_0x3045d9+'\x22\x20subprotocol\x20is\x20duplicated');_0x5b52e0[_0x3bbaa7(0x348)](_0x3045d9),_0x522428=_0x530be1=-0x1;}else throw new SyntaxError(_0x3bbaa7(0x1f4)+_0x2036ca);}}}if(_0x522428===-0x1||_0x530be1!==-0x1)throw new SyntaxError(_0x3bbaa7(0x296));const _0x129848=_0x558f67['slice'](_0x522428,_0x2036ca);if(_0x5b52e0[_0x3bbaa7(0x338)](_0x129848))throw new SyntaxError(_0x3bbaa7(0x308)+_0x129848+_0x3bbaa7(0x1d2));return _0x5b52e0[_0x3bbaa7(0x348)](_0x129848),_0x5b52e0;}return Ce={'parse':_0x3e4ff3},Ce;}var Te,ot;function er(){const _0x4bd289=_0x575908;if(ot)return Te;ot=0x1;const _0x3312de=_0x19fb3e,_0x443564=_0x4cb172,{Duplex:_0x21becc}=_0x2a4194,{createHash:_0xe78dee}=_0x20476a,_0x35edc7=pt(),_0x312bce=he(),_0x32921e=Jt(),_0x34d9fd=Ie(),{GUID:_0x5aa400,kWebSocket:_0x10142b}=V(),_0x2bf780=/^[+/0-9A-Za-z]{22}==$/,_0x2b84ea=0x0,_0x21ca12=0x1,_0x24dc8d=0x2;class _0x56666b extends _0x3312de{constructor(_0xe0e258,_0x270551){const _0x589742=_0x395c;if(super(),_0xe0e258={'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':_0x34d9fd,..._0xe0e258},_0xe0e258[_0x589742(0x1fe)]==null&&!_0xe0e258[_0x589742(0x226)]&&!_0xe0e258[_0x589742(0x2f0)]||_0xe0e258[_0x589742(0x1fe)]!=null&&(_0xe0e258[_0x589742(0x226)]||_0xe0e258[_0x589742(0x2f0)])||_0xe0e258[_0x589742(0x226)]&&_0xe0e258[_0x589742(0x2f0)])throw new TypeError(_0x589742(0x2ea));if(_0xe0e258[_0x589742(0x1fe)]!=null?(this[_0x589742(0x228)]=_0x443564['createServer']((_0x145993,_0x12d2ec)=>{const _0x16317a=_0x589742,_0x4cbf79=_0x443564[_0x16317a(0x331)][0x1aa];_0x12d2ec[_0x16317a(0x342)](0x1aa,{'Content-Length':_0x4cbf79[_0x16317a(0x2d2)],'Content-Type':'text/plain'}),_0x12d2ec[_0x16317a(0x1f0)](_0x4cbf79);}),this['_server'][_0x589742(0x2e7)](_0xe0e258[_0x589742(0x1fe)],_0xe0e258[_0x589742(0x1b8)],_0xe0e258['backlog'],_0x270551)):_0xe0e258[_0x589742(0x226)]&&(this[_0x589742(0x228)]=_0xe0e258[_0x589742(0x226)]),this[_0x589742(0x228)]){const _0x495042=this[_0x589742(0x1b0)][_0x589742(0x1db)](this,_0x589742(0x2eb));this[_0x589742(0x224)]=_0x16e77a(this['_server'],{'listening':this[_0x589742(0x1b0)][_0x589742(0x1db)](this,'listening'),'error':this[_0x589742(0x1b0)][_0x589742(0x1db)](this,_0x589742(0x20c)),'upgrade':(_0x1cbb48,_0x30072d,_0x3f6803)=>{const _0x1fcbee=_0x589742;this[_0x1fcbee(0x1d8)](_0x1cbb48,_0x30072d,_0x3f6803,_0x495042);}});}_0xe0e258[_0x589742(0x275)]===!0x0&&(_0xe0e258[_0x589742(0x275)]={}),_0xe0e258[_0x589742(0x247)]&&(this[_0x589742(0x328)]=new Set(),this[_0x589742(0x305)]=!0x1),this[_0x589742(0x2e3)]=_0xe0e258,this[_0x589742(0x22c)]=_0x2b84ea;}[_0x4bd289(0x1ee)](){const _0x2a1bfd=_0x4bd289;if(this[_0x2a1bfd(0x2e3)]['noServer'])throw new Error(_0x2a1bfd(0x1e1));return this[_0x2a1bfd(0x228)]?this[_0x2a1bfd(0x228)][_0x2a1bfd(0x1ee)]():null;}['close'](_0x51ec62){const _0x384cc7=_0x4bd289;if(this[_0x384cc7(0x22c)]===_0x24dc8d){_0x51ec62&&this[_0x384cc7(0x2d3)](_0x384cc7(0x1f1),()=>{const _0x4010c6=_0x384cc7;_0x51ec62(new Error(_0x4010c6(0x341)));}),process[_0x384cc7(0x345)](_0x13927e,this);return;}if(_0x51ec62&&this[_0x384cc7(0x2d3)]('close',_0x51ec62),this[_0x384cc7(0x22c)]!==_0x21ca12){if(this[_0x384cc7(0x22c)]=_0x21ca12,this[_0x384cc7(0x2e3)][_0x384cc7(0x2f0)]||this['options'][_0x384cc7(0x226)])this[_0x384cc7(0x228)]&&(this[_0x384cc7(0x224)](),this['_removeListeners']=this[_0x384cc7(0x228)]=null),this['clients']?this[_0x384cc7(0x328)][_0x384cc7(0x1ad)]?this[_0x384cc7(0x305)]=!0x0:process[_0x384cc7(0x345)](_0x13927e,this):process['nextTick'](_0x13927e,this);else{const _0x85366b=this[_0x384cc7(0x228)];this[_0x384cc7(0x224)](),this[_0x384cc7(0x224)]=this[_0x384cc7(0x228)]=null,_0x85366b[_0x384cc7(0x1f1)](()=>{_0x13927e(this);});}}}[_0x4bd289(0x2cf)](_0x1362c1){const _0x3e1d30=_0x4bd289;if(this[_0x3e1d30(0x2e3)]['path']){const _0x51a9f1=_0x1362c1[_0x3e1d30(0x2f1)][_0x3e1d30(0x343)]('?');if((_0x51a9f1!==-0x1?_0x1362c1[_0x3e1d30(0x2f1)]['slice'](0x0,_0x51a9f1):_0x1362c1[_0x3e1d30(0x2f1)])!==this[_0x3e1d30(0x2e3)][_0x3e1d30(0x30d)])return!0x1;}return!0x0;}['handleUpgrade'](_0x3d9550,_0x529c9f,_0x3e5df3,_0x1e56a2){const _0x556ae2=_0x4bd289;_0x529c9f['on'](_0x556ae2(0x20c),_0x46de18);const _0x4d502a=_0x3d9550[_0x556ae2(0x269)]['sec-websocket-key'],_0x4dcff2=_0x3d9550[_0x556ae2(0x269)][_0x556ae2(0x2a7)],_0x568534=+_0x3d9550[_0x556ae2(0x269)][_0x556ae2(0x31f)];if(_0x3d9550['method']!==_0x556ae2(0x1d0)){_0x541b45(this,_0x3d9550,_0x529c9f,0x195,'Invalid\x20HTTP\x20method');return;}if(_0x4dcff2===void 0x0||_0x4dcff2[_0x556ae2(0x262)]()!==_0x556ae2(0x21d)){_0x541b45(this,_0x3d9550,_0x529c9f,0x190,_0x556ae2(0x1f6));return;}if(_0x4d502a===void 0x0||!_0x2bf780[_0x556ae2(0x27a)](_0x4d502a)){_0x541b45(this,_0x3d9550,_0x529c9f,0x190,_0x556ae2(0x20d));return;}if(_0x568534!==0xd&&_0x568534!==0x8){_0x541b45(this,_0x3d9550,_0x529c9f,0x190,_0x556ae2(0x318),{'Sec-WebSocket-Version':_0x556ae2(0x29f)});return;}if(!this[_0x556ae2(0x2cf)](_0x3d9550)){_0x3a4cfb(_0x529c9f,0x190);return;}const _0x53ac48=_0x3d9550[_0x556ae2(0x269)][_0x556ae2(0x215)];let _0x288f76=new Set();if(_0x53ac48!==void 0x0)try{_0x288f76=_0x32921e[_0x556ae2(0x2fa)](_0x53ac48);}catch{_0x541b45(this,_0x3d9550,_0x529c9f,0x190,_0x556ae2(0x2db));return;}const _0xaabfcb=_0x3d9550[_0x556ae2(0x269)][_0x556ae2(0x232)],_0x5bbec7={};if(this[_0x556ae2(0x2e3)][_0x556ae2(0x275)]&&_0xaabfcb!==void 0x0){const _0x45bbc4=new _0x312bce(this[_0x556ae2(0x2e3)][_0x556ae2(0x275)],!0x0,this[_0x556ae2(0x2e3)]['maxPayload']);try{const _0x1207e2=_0x35edc7[_0x556ae2(0x2fa)](_0xaabfcb);_0x1207e2[_0x312bce['extensionName']]&&(_0x45bbc4[_0x556ae2(0x29e)](_0x1207e2[_0x312bce[_0x556ae2(0x1d7)]]),_0x5bbec7[_0x312bce[_0x556ae2(0x1d7)]]=_0x45bbc4);}catch{_0x541b45(this,_0x3d9550,_0x529c9f,0x190,_0x556ae2(0x249));return;}}if(this[_0x556ae2(0x2e3)][_0x556ae2(0x335)]){const _0x318f67={'origin':_0x3d9550['headers'][''+(_0x568534===0x8?_0x556ae2(0x22a):_0x556ae2(0x26f))],'secure':!!(_0x3d9550[_0x556ae2(0x310)]['authorized']||_0x3d9550[_0x556ae2(0x310)]['encrypted']),'req':_0x3d9550};if(this[_0x556ae2(0x2e3)][_0x556ae2(0x335)][_0x556ae2(0x2d2)]===0x2){this[_0x556ae2(0x2e3)]['verifyClient'](_0x318f67,(_0x533795,_0x519837,_0x153ffc,_0x49e2b0)=>{const _0x4d7984=_0x556ae2;if(!_0x533795)return _0x3a4cfb(_0x529c9f,_0x519837||0x191,_0x153ffc,_0x49e2b0);this[_0x4d7984(0x330)](_0x5bbec7,_0x4d502a,_0x288f76,_0x3d9550,_0x529c9f,_0x3e5df3,_0x1e56a2);});return;}if(!this[_0x556ae2(0x2e3)][_0x556ae2(0x335)](_0x318f67))return _0x3a4cfb(_0x529c9f,0x191);}this[_0x556ae2(0x330)](_0x5bbec7,_0x4d502a,_0x288f76,_0x3d9550,_0x529c9f,_0x3e5df3,_0x1e56a2);}[_0x4bd289(0x330)](_0x59e26d,_0x1c4625,_0x167919,_0x54ca4f,_0x4d8c61,_0x2c19e0,_0x142a0e){const _0x138a41=_0x4bd289;if(!_0x4d8c61[_0x138a41(0x2bc)]||!_0x4d8c61[_0x138a41(0x27b)])return _0x4d8c61[_0x138a41(0x34b)]();if(_0x4d8c61[_0x10142b])throw new Error(_0x138a41(0x2af));if(this[_0x138a41(0x22c)]>_0x2b84ea)return _0x3a4cfb(_0x4d8c61,0x1f7);const _0x116faf=[_0x138a41(0x237),_0x138a41(0x2c9),_0x138a41(0x1b2),'Sec-WebSocket-Accept:\x20'+_0xe78dee(_0x138a41(0x1c4))[_0x138a41(0x1b1)](_0x1c4625+_0x5aa400)['digest'](_0x138a41(0x2f3))],_0x4748cf=new this[(_0x138a41(0x2e3))][(_0x138a41(0x289))](null,void 0x0,this[_0x138a41(0x2e3)]);if(_0x167919[_0x138a41(0x1ad)]){const _0x526f1f=this[_0x138a41(0x2e3)][_0x138a41(0x2e9)]?this['options'][_0x138a41(0x2e9)](_0x167919,_0x54ca4f):_0x167919['values']()[_0x138a41(0x1f8)]()[_0x138a41(0x1cf)];_0x526f1f&&(_0x116faf[_0x138a41(0x281)](_0x138a41(0x1be)+_0x526f1f),_0x4748cf[_0x138a41(0x239)]=_0x526f1f);}if(_0x59e26d[_0x312bce['extensionName']]){const _0x51b3be=_0x59e26d[_0x312bce['extensionName']][_0x138a41(0x21f)],_0x5e9523=_0x35edc7[_0x138a41(0x302)]({[_0x312bce[_0x138a41(0x1d7)]]:[_0x51b3be]});_0x116faf[_0x138a41(0x281)](_0x138a41(0x217)+_0x5e9523),_0x4748cf[_0x138a41(0x329)]=_0x59e26d;}this[_0x138a41(0x1b0)]('headers',_0x116faf,_0x54ca4f),_0x4d8c61[_0x138a41(0x29c)](_0x116faf[_0x138a41(0x347)]('\x0d\x0a')[_0x138a41(0x1fc)]('\x0d\x0a')),_0x4d8c61[_0x138a41(0x2ba)](_0x138a41(0x20c),_0x46de18),_0x4748cf['setSocket'](_0x4d8c61,_0x2c19e0,{'allowSynchronousEvents':this['options'][_0x138a41(0x25e)],'maxPayload':this['options'][_0x138a41(0x317)],'skipUTF8Validation':this[_0x138a41(0x2e3)][_0x138a41(0x32c)]}),this[_0x138a41(0x328)]&&(this[_0x138a41(0x328)]['add'](_0x4748cf),_0x4748cf['on'](_0x138a41(0x1f1),()=>{const _0x3fd6fd=_0x138a41;this['clients'][_0x3fd6fd(0x2f6)](_0x4748cf),this[_0x3fd6fd(0x305)]&&!this[_0x3fd6fd(0x328)][_0x3fd6fd(0x1ad)]&&process['nextTick'](_0x13927e,this);})),_0x142a0e(_0x4748cf,_0x54ca4f);}}Te=_0x56666b;function _0x16e77a(_0x5d8b87,_0x30a8fd){const _0x3dc1a2=_0x4bd289;for(const _0x4b7ef3 of Object[_0x3dc1a2(0x352)](_0x30a8fd))_0x5d8b87['on'](_0x4b7ef3,_0x30a8fd[_0x4b7ef3]);return function(){const _0x2bc929=_0x3dc1a2;for(const _0x3ce5f1 of Object[_0x2bc929(0x352)](_0x30a8fd))_0x5d8b87[_0x2bc929(0x2ba)](_0x3ce5f1,_0x30a8fd[_0x3ce5f1]);};}function _0x13927e(_0x38c336){const _0x39936c=_0x4bd289;_0x38c336[_0x39936c(0x22c)]=_0x24dc8d,_0x38c336['emit'](_0x39936c(0x1f1));}function _0x46de18(){const _0x21efc4=_0x4bd289;this[_0x21efc4(0x34b)]();}function _0x3a4cfb(_0x40982a,_0x1b04ec,_0x6e86,_0x4405e0){const _0x51fbd5=_0x4bd289;_0x6e86=_0x6e86||_0x443564[_0x51fbd5(0x331)][_0x1b04ec],_0x4405e0={'Connection':'close','Content-Type':_0x51fbd5(0x1ca),'Content-Length':Buffer[_0x51fbd5(0x221)](_0x6e86),..._0x4405e0},_0x40982a[_0x51fbd5(0x2d3)](_0x51fbd5(0x2f4),_0x40982a[_0x51fbd5(0x34b)]),_0x40982a[_0x51fbd5(0x1f0)](_0x51fbd5(0x32a)+_0x1b04ec+'\x20'+_0x443564['STATUS_CODES'][_0x1b04ec]+'\x0d\x0a'+Object[_0x51fbd5(0x352)](_0x4405e0)[_0x51fbd5(0x21b)](_0x45a56a=>_0x45a56a+':\x20'+_0x4405e0[_0x45a56a])['join']('\x0d\x0a')+_0x51fbd5(0x31d)+_0x6e86);}function _0x541b45(_0x3224e5,_0x43fdfc,_0x5acbcd,_0x2c29ca,_0x33d676,_0x5ab090){const _0x273486=_0x4bd289;if(_0x3224e5[_0x273486(0x2a6)]('wsClientError')){const _0x1ef044=new Error(_0x33d676);Error[_0x273486(0x219)](_0x1ef044,_0x541b45),_0x3224e5[_0x273486(0x1b0)](_0x273486(0x2b8),_0x1ef044,_0x5acbcd,_0x43fdfc);}else _0x3a4cfb(_0x5acbcd,_0x2c29ca,_0x33d676,_0x5ab090);}return Te;}er();var tr=Object['getOwnPropertyDescriptor'],rr=(_0x244971,_0x5972b6,_0x4bd373,_0x2d1c6f)=>{const _0x18ce78=_0x575908;for(var _0x41bf3d=_0x2d1c6f>0x1?void 0x0:_0x2d1c6f?tr(_0x5972b6,_0x4bd373):_0x5972b6,_0x1feee3=_0x244971[_0x18ce78(0x2d2)]-0x1,_0x3ab49b;_0x1feee3>=0x0;_0x1feee3--)(_0x3ab49b=_0x244971[_0x1feee3])&&(_0x41bf3d=_0x3ab49b(_0x41bf3d)||_0x41bf3d);return _0x41bf3d;},sr=(_0x41fbd8,_0x54a883)=>(_0x457505,_0x4d0aff)=>_0x54a883(_0x457505,_0x4d0aff,_0x41fbd8);let Ne=class extends _0xbeb31e{constructor(_0x354bed){const _0x15c607=_0x575908;super(),this[_0x15c607(0x1f3)]=_0x354bed;}[_0x575908(0x1de)](_0x410ed1){const _0x425a73=_0x575908;var _0x2c49c9;const _0x45f579=(_0x2c49c9=this['_configService'][_0x425a73(0x26c)](Be))==null?void 0x0:_0x2c49c9[_0x425a73(0x1e7)];try{const _0x4fae5f=new Qt(_0x410ed1,{'headers':{..._0x45f579}}),_0x308554=new _0x4b2a05();return{'URL':_0x410ed1,'close':(_0x31670c,_0x46b2af)=>{const _0x44d2f1=_0x425a73;_0x4fae5f[_0x44d2f1(0x1f1)](_0x31670c,_0x46b2af),_0x308554['dispose']();},'send':_0x3d85a9=>{const _0xb6feb8=_0x425a73;_0x4fae5f[_0xb6feb8(0x292)](_0x3d85a9);},'open$':new _0x51d3e5(_0x125914=>{const _0x3c8ca6=_0x425a73,_0x3c41ee=_0x37e20f=>_0x125914[_0x3c8ca6(0x1f8)](_0x37e20f);_0x4fae5f[_0x3c8ca6(0x28c)]('open',_0x3c41ee),_0x308554[_0x3c8ca6(0x348)](_0xac0137(()=>_0x4fae5f[_0x3c8ca6(0x1fb)](_0x3c8ca6(0x298),_0x3c41ee)));})[_0x425a73(0x231)](_0x1788ba()),'close$':new _0x51d3e5(_0x35a416=>{const _0xc59d1d=_0x425a73,_0x72fd82=_0x5ec3cf=>_0x35a416['next'](_0x5ec3cf);_0x4fae5f[_0xc59d1d(0x28c)]('close',_0x72fd82),_0x308554['add'](_0xac0137(()=>_0x4fae5f[_0xc59d1d(0x1fb)](_0xc59d1d(0x1f1),_0x72fd82)));})[_0x425a73(0x231)](_0x1788ba()),'error$':new _0x51d3e5(_0x3aa608=>{const _0xb4d89f=_0x425a73,_0xdcf08a=_0x5debaa=>_0x3aa608[_0xb4d89f(0x1f8)](_0x5debaa);_0x4fae5f[_0xb4d89f(0x28c)](_0xb4d89f(0x20c),_0xdcf08a),_0x308554['add'](_0xac0137(()=>_0x4fae5f[_0xb4d89f(0x1fb)](_0xb4d89f(0x20c),_0xdcf08a)));})[_0x425a73(0x231)](_0x1788ba()),'message$':new _0x51d3e5(_0x2be9aa=>{const _0x466b41=_0x425a73,_0x105b64=_0x163337=>_0x2be9aa[_0x466b41(0x1f8)](_0x163337);_0x4fae5f[_0x466b41(0x28c)](_0x466b41(0x268),_0x105b64),_0x308554[_0x466b41(0x348)](_0xac0137(()=>_0x4fae5f[_0x466b41(0x1fb)](_0x466b41(0x268),_0x105b64)));})[_0x425a73(0x231)](_0x1788ba())};}catch(_0x5d3473){return console[_0x425a73(0x20c)](_0x5d3473),null;}}};Ne=rr([sr(0x0,_0x2293be)],Ne);var ir=Object['defineProperty'],nr=Object['getOwnPropertyDescriptor'],or=(_0x18eae1,_0x13eb14,_0x1a3411)=>_0x13eb14 in _0x18eae1?ir(_0x18eae1,_0x13eb14,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1a3411}):_0x18eae1[_0x13eb14]=_0x1a3411,ar=(_0x6e5339,_0x594547,_0xc722ed,_0x26fef2)=>{const _0x43eeff=_0x575908;for(var _0x5412a5=_0x26fef2>0x1?void 0x0:_0x26fef2?nr(_0x594547,_0xc722ed):_0x594547,_0x4adeb9=_0x6e5339[_0x43eeff(0x2d2)]-0x1,_0x265118;_0x4adeb9>=0x0;_0x4adeb9--)(_0x265118=_0x6e5339[_0x4adeb9])&&(_0x5412a5=_0x265118(_0x5412a5)||_0x5412a5);return _0x5412a5;},ke=(_0x2cdd55,_0xf54e2e)=>(_0x410d36,_0x587679)=>_0xf54e2e(_0x410d36,_0x587679,_0x2cdd55),lr=(_0x2c93b2,_0x21f09e,_0x293e52)=>or(_0x2c93b2,_0x21f09e+'',_0x293e52);let Pe=class extends _0x14d27b{constructor(_0x38799e=Ft,_0x336be,_0x506ead,_0x51d009){const _0x4e943b=_0x575908;_0x38799e[_0x4e943b(0x1e7)]||_0x336be['warn'](_0x4e943b(0x2e6)),super(),this['_configService']=_0x506ead,this['_injector']=_0x51d009,this[_0x4e943b(0x1f3)][_0x4e943b(0x234)](Be,_0x38799e);}['onStarting'](){this['_registerDependencies']();}['_registerDependencies'](){const _0x37e134=_0x575908;_0x524fc6(this[_0x37e134(0x260)],[[_0x4246d5,{'useClass':Ne}]]);}};lr(Pe,'pluginName',_0x575908(0x320)),Pe=ar([_0x316a78(_0x310030),ke(0x1,_0x56e26b),ke(0x2,_0x2293be),ke(0x3,_0x3358e0(_0x276bbd))],Pe);var fr=Object['getOwnPropertyDescriptor'],cr=(_0x32b629,_0x39a533,_0x39bdd7,_0x5216ac)=>{const _0x1dea2d=_0x575908;for(var _0xa7d769=_0x5216ac>0x1?void 0x0:_0x5216ac?fr(_0x39a533,_0x39bdd7):_0x39a533,_0x5be3d5=_0x32b629[_0x1dea2d(0x2d2)]-0x1,_0x696bdf;_0x5be3d5>=0x0;_0x5be3d5--)(_0x696bdf=_0x32b629[_0x5be3d5])&&(_0xa7d769=_0x696bdf(_0xa7d769)||_0xa7d769);return _0xa7d769;},se=(_0xc8a358,_0x43598a)=>(_0x1a6e12,_0x3b6c9e)=>_0x43598a(_0x1a6e12,_0x3b6c9e,_0xc8a358);let at=class extends _0x177ea6{constructor(_0x5f3d85,_0x5eb8ff,_0x401b21,_0x549cc0,_0x35c5a0){const _0x4623b2=_0x575908;super(_0x5f3d85,_0x5eb8ff,_0x401b21,_0x549cc0,_0x35c5a0);const _0x1cb030=this[_0x4623b2(0x1f3)][_0x4623b2(0x26c)](Be);this[_0x4623b2(0x334)]['registerHTTPInterceptor']({'interceptor':(_0x3fcdba,_0x2e259f)=>{const _0x3459fb=_0x4623b2;var _0x4c6dae;const _0x35e63c=_0x3fcdba['headers'];return(_0x4c6dae=_0x1cb030==null?void 0x0:_0x1cb030[_0x3459fb(0x1e7)])!=null&&_0x4c6dae['cookie']&&_0x35e63c['set'](_0x3459fb(0x1c8),_0x1cb030['customHeaders'][_0x3459fb(0x264)]),_0x2e259f(_0x3fcdba);}});}async[_0x575908(0x1de)](_0x288958){const _0x3f2912=_0x575908;return this[_0x3f2912(0x257)](_0x288958);}};at=cr([se(0x0,_0x3358e0(_0x276bbd)),se(0x1,_0x3358e0(_0x191880)),se(0x2,_0x2293be),se(0x3,_0x56e26b),se(0x4,_0x1f934a)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};