@univerjs-pro/collaboration-client-node 0.6.10-nightly.202504271606 → 0.6.10-nightly.202504281607

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 _0xc4267b=_0x42e2;(function(_0x39b11b,_0x5a3cf5){const _0x2698ea=_0x42e2,_0x337143=_0x39b11b();while(!![]){try{const _0x56c9cb=-parseInt(_0x2698ea(0x166))/0x1+-parseInt(_0x2698ea(0x302))/0x2*(-parseInt(_0x2698ea(0x1eb))/0x3)+parseInt(_0x2698ea(0x181))/0x4+parseInt(_0x2698ea(0x16c))/0x5+-parseInt(_0x2698ea(0x23c))/0x6*(parseInt(_0x2698ea(0x248))/0x7)+-parseInt(_0x2698ea(0x27a))/0x8*(-parseInt(_0x2698ea(0x1fa))/0x9)+-parseInt(_0x2698ea(0x236))/0xa*(-parseInt(_0x2698ea(0x21a))/0xb);if(_0x56c9cb===_0x5a3cf5)break;else _0x337143['push'](_0x337143['shift']());}catch(_0x18a26f){_0x337143['push'](_0x337143['shift']());}}}(_0x35d4,0x7a90c));import{UniverCollaborationClientPlugin as _0x5bf9df,CollaborationSocketService as _0x1732df}from'@univerjs-pro/collaboration-client';import{Disposable as _0x4d4dc,DisposableCollection as _0x5cfc04,toDisposable as _0x5a1a12,IConfigService as _0x57bb5f,DependentOn as _0x25ffca,ILogService as _0x37933a,Inject as _0x5d6a3a,Injector as _0x4cb68d,Plugin as _0x485cd3,registerDependencies as _0x5cd8e2}from'@univerjs/core';import{ISocketService as _0x4ecddb,HTTPService as _0x32765b}from'@univerjs/network';import{Observable as _0x6566c5,share as _0xc1b973}from'rxjs';import _0x5efd75 from'events';import _0x302ef0 from'https';function _0x35d4(){const _0x120213=['nodebuffer','invalid\x20opcode\x200','text/plain','_opcode','port','https:','_paused','Unknown\x20parameter\x20\x22','Invalid\x20Upgrade\x20header','createInflateRaw','drain','listenerCount','1940607DnngxP','delete','FIN\x20must\x20be\x20set','cork','protocol','Invalid\x20Sec-WebSocket-Extensions\x20header','compress','send','\x22:\x20','Sec-WebSocket-Protocol','Upgrade:\x20websocket','encrypted','reset','indexOf','_bufferedAmount','length','_bufferedBytes','HTTP/1.1\x20101\x20Switching\x20Protocols','sec-websocket-version','address','serverMaxWindowBits','method','test','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','_errored','request','readOnly','connect','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','createConnection','generateMask','clients','462URhWBb','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','values','conclude','GET','normalizeParams','_protocol','host','pong','_closeMessage','_closeCode','decompress','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','_registerDependencies','kData','_originalHostOrSocketPath','function','data','_totalPayloadLength','wasClean','startsWith','opcode','_write','password','WS_ERR_INVALID_UTF8','__esModule','Sec-WebSocket-Accept:\x20','Z_DEFAULT_WINDOWBITS','114490DGCmVa','object','end','origin','_payloadLength','once','2565672vCWlHh','WS_ERR_UNEXPECTED_RSV_1','statusCode','clientNoContextTakeover','noServer','rsv1','server','zlibInflateOptions','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','connection','_final','allocUnsafe','14IWCIje','_compressed','options','maskBuffer','getOwnPropertyDescriptor','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','digest','Cookie','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','followRedirects','_decompress','Invalid\x20value\x20for\x20parameter\x20\x22','createError','completeUpgrade','location','Max\x20payload\x20size\x20exceeded','keys','search','join','nextTick','_threshold','invalid\x20UTF-8\x20sequence','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','servername','needDrain','exports','_loop','unshift','kIsForOnEventAttribute','set','client_no_context_takeover','from','string','abort','isPaused','_skipUTF8Validation','writeHead','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','_configService','pending','onmessage','message','errorEmitted','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','setSocket','unmask','offer','CLOSED','_messageLength','8EXYqKE','server_max_window_bits','code','_deflate','concurrencyLimit','_readyState','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','destroy','_server','pause','getBlobData','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','finished','error','_fin','Origin','isIP','CLOSING','resume','apply','byteLength','clientMaxWindowBits','read','_originalSecure','customHeaders','sec-websocket-protocol','_originalIpc','href','_removeListeners','sendFrame','protocolVersion','onclose','onerror','invalid\x20payload\x20length\x20','invalid\x20opcode\x20','buffer','isValidUTF8','create','Unexpected\x20end\x20of\x20input','bind','_maxPayload','CONNECTING','kListener','\x22\x20subprotocol\x20is\x20duplicated','number','write','getData','arrayBuffer','http:','createServer','Blob','threshold','stream','status-code','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','isInteger','kAborted','_closeFrameSent','shouldHandle','haveLength','env','maxPayload','_autoPong','The\x20URL\x27s\x20pathname\x20is\x20empty','enqueue','writeUInt16BE','wsClientError','isServer','_readableState','mask','acceptAsClient','authorization','OPEN','onopen','_binaryType','uncork','warn','defaultPort','Sec-WebSocket-Extensions:\x20','cookie','default','_socket','readUInt32BE','_allowSynchronousEvents','_max_window_bits','STATUS_CODES','hash','getPayloadLength64','_closeTimer','url','socket','update','serverNoContextTakeover','ws:','readUInt16BE','onStarting','callback','species','target','_req','captureStackTrace','_destroy','then','concurrency','dispatch','kReason','call','dequeue','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','_no_context_takeover','_compress','client_max_window_bits','_doCreateSocket','size','destroyed','websocket','The\x20server\x20is\x20not\x20running','_httpService','entries','toLowerCase','has','acceptAsServer','_isServer','slice','isArray','\x22\x20must\x20have\x20only\x20a\x20single\x20value','authorized','verifyClient','Invalid\x20Sec-WebSocket-Protocol\x20header','sec-websocket-origin','terminate','Server\x20sent\x20an\x20invalid\x20subprotocol','path','_shouldEmitClose','removeAllListeners','2xRMDlN','_receiver','alloc','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','pluginName','WebSocket\x20is\x20not\x20open:\x20readyState\x20','autoPong','wss:','client','pathname','setHeader','Sec-WebSocket-Origin','_options','dataMessage','socketPath','_inflate','permessage-deflate','accept','catch','_redirects','_writableState','583724wbJJwu','_closeFrameReceived','_buffers','Module','emitClose','createSocket','885315QRmMDE','isView','HTTP/1.1\x20','perMessageDeflate','removeListener','_fragments','Parameter\x20\x22','handleProtocols','removeEventListener','push','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','auth','Sec-WebSocket-Protocol:\x20','setTimeout','writeUIntBE','objectMode','kDone','setNoDelay','hostname','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','sha1','899220tCCzHq','timeout','_masked','bufferedAmount','Z_SYNC_FLUSH','concat','_firstFragment','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','_maskBuffer','fragments','replace','The\x20URL\x20contains\x20a\x20fragment\x20identifier','toString','startLoop','cleanup','_url','_extensions','endEmitted','_queue','byteOffset','includes','readable','allowSynchronousEvents','_injector','constructor','WS_ERR_EXPECTED_MASK','handleUpgrade','RSV1\x20must\x20be\x20clear','controlMessage','blob','construct','pipe','open','addEventListener','find','jobs','Maximum\x20redirects\x20exceeded','next','setConfig','WS_ERR_INVALID_OPCODE','frame','getMask','extensionName','dispose','kByteLength','readyState','Unexpected\x20character\x20at\x20index\x20','params','listen','format','_mask','getConfig','hasOwnProperty','WS_NO_BUFFER_UTIL','kMessage','Connection:\x20Upgrade','forEach','map','WS_ERR_UNEXPECTED_MASK','MASK\x20must\x20be\x20clear','charCodeAt','kRun','headers','defineProperty','_sender','add','_state','ping','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','close','prototype','sec-websocket-key','text/html','\x20(supported\x20versions:\x20','invalid\x20status\x20code\x20','Server\x20sent\x20no\x20subprotocol','base64','WS_ERR_EXPECTED_FIN','listeners','reason','arraybuffer','Invalid\x20URL:\x20','binaryType','finish','upgrade','emit','writable','sec-websocket-accept','flush','consume','value','pow','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','server_no_context_takeover','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','fin','_fragmented','type','skipUTF8Validation','Basic\x20','toStringTag','finishRequest','_generateMask','shift','2527881rUzgpp','freeze','_errorEmitted'];_0x35d4=function(){return _0x120213;};return _0x35d4();}import _0x120c00 from'http';import _0x2a6982 from'net';import _0x3fbfc6 from'tls';import _0x5454a from'crypto';import _0x333975 from'stream';import _0x591f21 from'url';import _0x53f25a from'zlib';import _0x138038 from'buffer';import{ISnapshotServerService as _0x23ad22}from'@univerjs-pro/collaboration';const Be='collaboration-client-node.config',Ft={'customHeaders':{}};function jt(_0x1ff67f){const _0x311ec4=_0x42e2;return _0x1ff67f&&_0x1ff67f[_0x311ec4(0x233)]&&Object[_0x311ec4(0x1c7)][_0x311ec4(0x1b5)][_0x311ec4(0x2e5)](_0x1ff67f,_0x311ec4(0x2cb))?_0x1ff67f[_0x311ec4(0x2cb)]:_0x1ff67f;}function ut(_0x427804){const _0x54fc1a=_0x42e2;if(Object['prototype']['hasOwnProperty'][_0x54fc1a(0x2e5)](_0x427804,_0x54fc1a(0x233)))return _0x427804;var _0x104181=_0x427804[_0x54fc1a(0x2cb)];if(typeof _0x104181==_0x54fc1a(0x22a)){var _0x210f3e=function _0x21fcb7(){const _0x1e5eb6=_0x54fc1a;return this instanceof _0x21fcb7?Reflect[_0x1e5eb6(0x19f)](_0x104181,arguments,this[_0x1e5eb6(0x199)]):_0x104181['apply'](this,arguments);};_0x210f3e[_0x54fc1a(0x1c7)]=_0x104181[_0x54fc1a(0x1c7)];}else _0x210f3e={};return Object['defineProperty'](_0x210f3e,_0x54fc1a(0x233),{'value':!0x0}),Object[_0x54fc1a(0x258)](_0x427804)[_0x54fc1a(0x1b9)](function(_0x2eb9d0){const _0x4a3cdd=_0x54fc1a;var _0x5dc633=Object[_0x4a3cdd(0x24c)](_0x427804,_0x2eb9d0);Object[_0x4a3cdd(0x1c0)](_0x210f3e,_0x2eb9d0,_0x5dc633['get']?_0x5dc633:{'enumerable':!0x0,'get':function(){return _0x427804[_0x2eb9d0];}});}),_0x210f3e;}var te={'exports':{}},ge,Ye;function V(){const _0x225c34=_0x42e2;if(Ye)return ge;Ye=0x1;const _0x1f2d1c=[_0x225c34(0x1ee),_0x225c34(0x1d1),_0x225c34(0x18a)],_0x2a39d3=typeof Blob<'u';return _0x2a39d3&&_0x1f2d1c[_0x225c34(0x175)](_0x225c34(0x19e)),ge={'BINARY_TYPES':_0x1f2d1c,'EMPTY_BUFFER':Buffer[_0x225c34(0x304)](0x0),'GUID':_0x225c34(0x25f),'hasBlob':_0x2a39d3,'kForOnEventAttribute':Symbol(_0x225c34(0x265)),'kListener':Symbol(_0x225c34(0x2a4)),'kStatusCode':Symbol(_0x225c34(0x2af)),'kWebSocket':Symbol(_0x225c34(0x2ee)),'NOOP':()=>{}},ge;}const Wt={},Gt=Object[_0xc4267b(0x1ec)](Object[_0xc4267b(0x1c0)]({'__proto__':null,'default':Wt},Symbol['toStringTag'],{'value':_0xc4267b(0x169)})),Vt=ut(Gt);var Ke;function ce(){const _0x187702=_0xc4267b;if(Ke)return te['exports'];Ke=0x1;const {EMPTY_BUFFER:_0xf0a35a}=V(),_0x423f7d=Buffer[Symbol[_0x187702(0x2dc)]];function _0x288cfc(_0x866cbb,_0x1316f8){const _0x3f43e8=_0x187702;if(_0x866cbb[_0x3f43e8(0x209)]===0x0)return _0xf0a35a;if(_0x866cbb['length']===0x1)return _0x866cbb[0x0];const _0x3df470=Buffer[_0x3f43e8(0x247)](_0x1316f8);let _0x37a940=0x0;for(let _0x306403=0x0;_0x306403<_0x866cbb['length'];_0x306403++){const _0xd13f12=_0x866cbb[_0x306403];_0x3df470['set'](_0xd13f12,_0x37a940),_0x37a940+=_0xd13f12[_0x3f43e8(0x209)];}return _0x37a940<_0x1316f8?new _0x423f7d(_0x3df470[_0x3f43e8(0x29d)],_0x3df470[_0x3f43e8(0x194)],_0x37a940):_0x3df470;}function _0x52d564(_0x30835d,_0x3fbebb,_0x5dfe09,_0x1ec42f,_0xb85aa6){for(let _0xaee222=0x0;_0xaee222<_0xb85aa6;_0xaee222++)_0x5dfe09[_0x1ec42f+_0xaee222]=_0x30835d[_0xaee222]^_0x3fbebb[_0xaee222&0x3];}function _0x803b24(_0xa28e71,_0x2f69d0){const _0x4739cb=_0x187702;for(let _0x5b5ae9=0x0;_0x5b5ae9<_0xa28e71[_0x4739cb(0x209)];_0x5b5ae9++)_0xa28e71[_0x5b5ae9]^=_0x2f69d0[_0x5b5ae9&0x3];}function _0x5e1a4c(_0xa0c943){const _0x3db11b=_0x187702;return _0xa0c943[_0x3db11b(0x209)]===_0xa0c943['buffer'][_0x3db11b(0x28e)]?_0xa0c943[_0x3db11b(0x29d)]:_0xa0c943[_0x3db11b(0x29d)][_0x3db11b(0x2f6)](_0xa0c943[_0x3db11b(0x194)],_0xa0c943[_0x3db11b(0x194)]+_0xa0c943[_0x3db11b(0x209)]);}function _0x5780a7(_0x5ca59a){const _0x23665d=_0x187702;if(_0x5780a7['readOnly']=!0x0,Buffer['isBuffer'](_0x5ca59a))return _0x5ca59a;let _0x3388b3;return _0x5ca59a instanceof ArrayBuffer?_0x3388b3=new _0x423f7d(_0x5ca59a):ArrayBuffer[_0x23665d(0x16d)](_0x5ca59a)?_0x3388b3=new _0x423f7d(_0x5ca59a[_0x23665d(0x29d)],_0x5ca59a[_0x23665d(0x194)],_0x5ca59a[_0x23665d(0x28e)]):(_0x3388b3=Buffer[_0x23665d(0x268)](_0x5ca59a),_0x5780a7['readOnly']=!0x1),_0x3388b3;}if(te['exports']={'concat':_0x288cfc,'mask':_0x52d564,'toArrayBuffer':_0x5e1a4c,'toBuffer':_0x5780a7,'unmask':_0x803b24},!process[_0x187702(0x2b7)][_0x187702(0x1b6)])try{const _0x3c8a20=Vt;te[_0x187702(0x262)][_0x187702(0x2c0)]=function(_0x256664,_0x36e662,_0x3e9494,_0x13f5ac,_0x1063a8){_0x1063a8<0x30?_0x52d564(_0x256664,_0x36e662,_0x3e9494,_0x13f5ac,_0x1063a8):_0x3c8a20['mask'](_0x256664,_0x36e662,_0x3e9494,_0x13f5ac,_0x1063a8);},te[_0x187702(0x262)]['unmask']=function(_0x548172,_0x1166ca){const _0x29525b=_0x187702;_0x548172['length']<0x20?_0x803b24(_0x548172,_0x1166ca):_0x3c8a20[_0x29525b(0x276)](_0x548172,_0x1166ca);};}catch{}return te['exports'];}var ye,Xe;function qt(){const _0x3997ca=_0xc4267b;if(Xe)return ye;Xe=0x1;const _0x53ccde=Symbol(_0x3997ca(0x17c)),_0x3d75ca=Symbol(_0x3997ca(0x1be));class _0x113d24{constructor(_0x182069){const _0x56606f=_0x3997ca;this[_0x53ccde]=()=>{this['pending']--,this[_0x3d75ca]();},this['concurrency']=_0x182069||0x1/0x0,this[_0x56606f(0x1a4)]=[],this['pending']=0x0;}[_0x3997ca(0x1c2)](_0x31117c){const _0x5e2209=_0x3997ca;this[_0x5e2209(0x1a4)]['push'](_0x31117c),this[_0x3d75ca]();}[_0x3d75ca](){const _0x1a32a4=_0x3997ca;if(this[_0x1a32a4(0x270)]!==this[_0x1a32a4(0x2e2)]&&this[_0x1a32a4(0x1a4)][_0x1a32a4(0x209)]){const _0x171649=this[_0x1a32a4(0x1a4)][_0x1a32a4(0x1ea)]();this[_0x1a32a4(0x270)]++,_0x171649(this[_0x53ccde]);}}}return ye=_0x113d24,ye;}var ve,Ze;function he(){const _0x557c16=_0xc4267b;if(Ze)return ve;Ze=0x1;const _0x138b8c=_0x53f25a,_0x3eb740=ce(),_0x13c1d3=qt(),{kStatusCode:_0x4de4d8}=V(),_0x31a4d7=Buffer[Symbol[_0x557c16(0x2dc)]],_0x195cdd=Buffer[_0x557c16(0x268)]([0x0,0x0,0xff,0xff]),_0x54cdb9=Symbol(_0x557c16(0x312)),_0x11fc30=Symbol('total-length'),_0x52ceee=Symbol(_0x557c16(0x2db)),_0x273b07=Symbol('buffers'),_0x474f3c=Symbol(_0x557c16(0x287));let _0x18f9bf;class _0x3bb9b5{constructor(_0x4f795e,_0x544856,_0x21db76){const _0xefecc1=_0x557c16;if(this[_0xefecc1(0x2a2)]=_0x21db76|0x0,this['_options']=_0x4f795e||{},this[_0xefecc1(0x25c)]=this[_0xefecc1(0x30e)]['threshold']!==void 0x0?this[_0xefecc1(0x30e)][_0xefecc1(0x2ad)]:0x400,this['_isServer']=!!_0x544856,this[_0xefecc1(0x27d)]=null,this[_0xefecc1(0x311)]=null,this['params']=null,!_0x18f9bf){const _0x18090f=this[_0xefecc1(0x30e)][_0xefecc1(0x27e)]!==void 0x0?this[_0xefecc1(0x30e)][_0xefecc1(0x27e)]:0xa;_0x18f9bf=new _0x13c1d3(_0x18090f);}}static get[_0x557c16(0x1ab)](){const _0xe167b3=_0x557c16;return _0xe167b3(0x312);}[_0x557c16(0x277)](){const _0x138344=_0x557c16,_0x5f0eb4={};return this['_options'][_0x138344(0x2d7)]&&(_0x5f0eb4['server_no_context_takeover']=!0x0),this['_options'][_0x138344(0x23f)]&&(_0x5f0eb4[_0x138344(0x267)]=!0x0),this[_0x138344(0x30e)][_0x138344(0x20e)]&&(_0x5f0eb4[_0x138344(0x27b)]=this[_0x138344(0x30e)]['serverMaxWindowBits']),this[_0x138344(0x30e)]['clientMaxWindowBits']?_0x5f0eb4[_0x138344(0x2ea)]=this['_options']['clientMaxWindowBits']:this[_0x138344(0x30e)][_0x138344(0x28f)]==null&&(_0x5f0eb4[_0x138344(0x2ea)]=!0x0),_0x5f0eb4;}[_0x557c16(0x162)](_0x1153ee){const _0xc45dcd=_0x557c16;return _0x1153ee=this['normalizeParams'](_0x1153ee),this[_0xc45dcd(0x1b0)]=this['_isServer']?this[_0xc45dcd(0x2f4)](_0x1153ee):this['acceptAsClient'](_0x1153ee),this[_0xc45dcd(0x1b0)];}[_0x557c16(0x18f)](){const _0x55b601=_0x557c16;if(this[_0x55b601(0x311)]&&(this['_inflate'][_0x55b601(0x1c6)](),this[_0x55b601(0x311)]=null),this[_0x55b601(0x27d)]){const _0x1a1b13=this[_0x55b601(0x27d)][_0x52ceee];this[_0x55b601(0x27d)]['close'](),this[_0x55b601(0x27d)]=null,_0x1a1b13&&_0x1a1b13(new Error(_0x55b601(0x211)));}}[_0x557c16(0x2f4)](_0x135fc6){const _0x42d3f5=_0x557c16,_0x1b4de5=this[_0x42d3f5(0x30e)],_0x2b1149=_0x135fc6[_0x42d3f5(0x1a3)](_0x98d182=>!(_0x1b4de5[_0x42d3f5(0x2d7)]===!0x1&&_0x98d182[_0x42d3f5(0x1df)]||_0x98d182[_0x42d3f5(0x27b)]&&(_0x1b4de5[_0x42d3f5(0x20e)]===!0x1||typeof _0x1b4de5['serverMaxWindowBits']=='number'&&_0x1b4de5[_0x42d3f5(0x20e)]>_0x98d182[_0x42d3f5(0x27b)])||typeof _0x1b4de5['clientMaxWindowBits']=='number'&&!_0x98d182[_0x42d3f5(0x2ea)]));if(!_0x2b1149)throw new Error(_0x42d3f5(0x2b1));return _0x1b4de5[_0x42d3f5(0x2d7)]&&(_0x2b1149['server_no_context_takeover']=!0x0),_0x1b4de5['clientNoContextTakeover']&&(_0x2b1149['client_no_context_takeover']=!0x0),typeof _0x1b4de5[_0x42d3f5(0x20e)]==_0x42d3f5(0x2a6)&&(_0x2b1149[_0x42d3f5(0x27b)]=_0x1b4de5[_0x42d3f5(0x20e)]),typeof _0x1b4de5[_0x42d3f5(0x28f)]==_0x42d3f5(0x2a6)?_0x2b1149['client_max_window_bits']=_0x1b4de5[_0x42d3f5(0x28f)]:(_0x2b1149[_0x42d3f5(0x2ea)]===!0x0||_0x1b4de5[_0x42d3f5(0x28f)]===!0x1)&&delete _0x2b1149[_0x42d3f5(0x2ea)],_0x2b1149;}[_0x557c16(0x2c1)](_0x16b9ec){const _0x30fdfa=_0x557c16,_0x515428=_0x16b9ec[0x0];if(this[_0x30fdfa(0x30e)][_0x30fdfa(0x23f)]===!0x1&&_0x515428[_0x30fdfa(0x267)])throw new Error(_0x30fdfa(0x305));if(!_0x515428['client_max_window_bits'])typeof this[_0x30fdfa(0x30e)][_0x30fdfa(0x28f)]==_0x30fdfa(0x2a6)&&(_0x515428[_0x30fdfa(0x2ea)]=this['_options']['clientMaxWindowBits']);else{if(this[_0x30fdfa(0x30e)][_0x30fdfa(0x28f)]===!0x1||typeof this['_options'][_0x30fdfa(0x28f)]==_0x30fdfa(0x2a6)&&_0x515428[_0x30fdfa(0x2ea)]>this[_0x30fdfa(0x30e)][_0x30fdfa(0x28f)])throw new Error(_0x30fdfa(0x274));}return _0x515428;}[_0x557c16(0x21f)](_0x35b271){const _0x92942e=_0x557c16;return _0x35b271[_0x92942e(0x1b9)](_0x1542f5=>{const _0x3e9850=_0x92942e;Object[_0x3e9850(0x258)](_0x1542f5)['forEach'](_0x587a28=>{const _0x4c0d53=_0x3e9850;let _0xc2da38=_0x1542f5[_0x587a28];if(_0xc2da38[_0x4c0d53(0x209)]>0x1)throw new Error(_0x4c0d53(0x172)+_0x587a28+_0x4c0d53(0x2f8));if(_0xc2da38=_0xc2da38[0x0],_0x587a28===_0x4c0d53(0x2ea)){if(_0xc2da38!==!0x0){const _0x2e0ca5=+_0xc2da38;if(!Number[_0x4c0d53(0x2b2)](_0x2e0ca5)||_0x2e0ca5<0x8||_0x2e0ca5>0xf)throw new TypeError(_0x4c0d53(0x253)+_0x587a28+_0x4c0d53(0x202)+_0xc2da38);_0xc2da38=_0x2e0ca5;}else{if(!this['_isServer'])throw new TypeError(_0x4c0d53(0x253)+_0x587a28+_0x4c0d53(0x202)+_0xc2da38);}}else{if(_0x587a28===_0x4c0d53(0x27b)){const _0x20bcea=+_0xc2da38;if(!Number['isInteger'](_0x20bcea)||_0x20bcea<0x8||_0x20bcea>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x587a28+_0x4c0d53(0x202)+_0xc2da38);_0xc2da38=_0x20bcea;}else{if(_0x587a28===_0x4c0d53(0x267)||_0x587a28===_0x4c0d53(0x1df)){if(_0xc2da38!==!0x0)throw new TypeError(_0x4c0d53(0x253)+_0x587a28+_0x4c0d53(0x202)+_0xc2da38);}else throw new Error(_0x4c0d53(0x1f5)+_0x587a28+'\x22');}}_0x1542f5[_0x587a28]=_0xc2da38;});}),_0x35b271;}[_0x557c16(0x225)](_0x250391,_0x1b7ec9,_0x184c19){const _0x3478a6=_0x557c16;_0x18f9bf[_0x3478a6(0x1c2)](_0x597312=>{const _0xd57753=_0x3478a6;this[_0xd57753(0x252)](_0x250391,_0x1b7ec9,(_0x187db5,_0x279223)=>{_0x597312(),_0x184c19(_0x187db5,_0x279223);});});}['compress'](_0x2d2722,_0x30a774,_0x14875c){const _0x1a4f5c=_0x557c16;_0x18f9bf[_0x1a4f5c(0x1c2)](_0x1a9863=>{const _0x3322c1=_0x1a4f5c;this[_0x3322c1(0x2e9)](_0x2d2722,_0x30a774,(_0x4e6f25,_0x315dd1)=>{_0x1a9863(),_0x14875c(_0x4e6f25,_0x315dd1);});});}[_0x557c16(0x252)](_0x25beb5,_0x10a954,_0x237e33){const _0x2da051=_0x557c16,_0x4049a4=this['_isServer']?_0x2da051(0x30a):'server';if(!this[_0x2da051(0x311)]){const _0x47a621=_0x4049a4+'_max_window_bits',_0x4ae6fa=typeof this[_0x2da051(0x1b0)][_0x47a621]!=_0x2da051(0x2a6)?_0x138b8c[_0x2da051(0x235)]:this[_0x2da051(0x1b0)][_0x47a621];this[_0x2da051(0x311)]=_0x138b8c[_0x2da051(0x1f7)]({...this[_0x2da051(0x30e)][_0x2da051(0x243)],'windowBits':_0x4ae6fa}),this[_0x2da051(0x311)][_0x54cdb9]=this,this[_0x2da051(0x311)][_0x11fc30]=0x0,this[_0x2da051(0x311)][_0x273b07]=[],this[_0x2da051(0x311)]['on']('error',_0x382049),this[_0x2da051(0x311)]['on'](_0x2da051(0x22b),_0xe16f57);}this[_0x2da051(0x311)][_0x52ceee]=_0x237e33,this[_0x2da051(0x311)][_0x2da051(0x2a7)](_0x25beb5),_0x10a954&&this['_inflate'][_0x2da051(0x2a7)](_0x195cdd),this[_0x2da051(0x311)][_0x2da051(0x1d9)](()=>{const _0xba6748=_0x2da051,_0x23a63c=this[_0xba6748(0x311)][_0x474f3c];if(_0x23a63c){this['_inflate'][_0xba6748(0x1c6)](),this[_0xba6748(0x311)]=null,_0x237e33(_0x23a63c);return;}const _0x44b2e6=_0x3eb740[_0xba6748(0x186)](this[_0xba6748(0x311)][_0x273b07],this[_0xba6748(0x311)][_0x11fc30]);this[_0xba6748(0x311)]['_readableState'][_0xba6748(0x192)]?(this['_inflate']['close'](),this[_0xba6748(0x311)]=null):(this[_0xba6748(0x311)][_0x11fc30]=0x0,this[_0xba6748(0x311)][_0x273b07]=[],_0x10a954&&this[_0xba6748(0x1b0)][_0x4049a4+_0xba6748(0x2e8)]&&this['_inflate']['reset']()),_0x237e33(null,_0x44b2e6);});}[_0x557c16(0x2e9)](_0xbf0f5a,_0x2431c9,_0x1933a3){const _0x434ab5=_0x557c16,_0x57fa46=this['_isServer']?_0x434ab5(0x242):_0x434ab5(0x30a);if(!this[_0x434ab5(0x27d)]){const _0xfb54d7=_0x57fa46+_0x434ab5(0x2cf),_0x5743eb=typeof this['params'][_0xfb54d7]!='number'?_0x138b8c[_0x434ab5(0x235)]:this['params'][_0xfb54d7];this[_0x434ab5(0x27d)]=_0x138b8c['createDeflateRaw']({...this[_0x434ab5(0x30e)]['zlibDeflateOptions'],'windowBits':_0x5743eb}),this[_0x434ab5(0x27d)][_0x11fc30]=0x0,this['_deflate'][_0x273b07]=[],this[_0x434ab5(0x27d)]['on'](_0x434ab5(0x22b),_0x421129);}this['_deflate'][_0x52ceee]=_0x1933a3,this[_0x434ab5(0x27d)][_0x434ab5(0x2a7)](_0xbf0f5a),this['_deflate'][_0x434ab5(0x1d9)](_0x138b8c[_0x434ab5(0x185)],()=>{const _0x1d1117=_0x434ab5;if(!this[_0x1d1117(0x27d)])return;let _0x2ca02e=_0x3eb740[_0x1d1117(0x186)](this['_deflate'][_0x273b07],this[_0x1d1117(0x27d)][_0x11fc30]);_0x2431c9&&(_0x2ca02e=new _0x31a4d7(_0x2ca02e[_0x1d1117(0x29d)],_0x2ca02e[_0x1d1117(0x194)],_0x2ca02e[_0x1d1117(0x209)]-0x4)),this[_0x1d1117(0x27d)][_0x52ceee]=null,this[_0x1d1117(0x27d)][_0x11fc30]=0x0,this[_0x1d1117(0x27d)][_0x273b07]=[],_0x2431c9&&this[_0x1d1117(0x1b0)][_0x57fa46+_0x1d1117(0x2e8)]&&this[_0x1d1117(0x27d)][_0x1d1117(0x206)](),_0x1933a3(null,_0x2ca02e);});}}ve=_0x3bb9b5;function _0x421129(_0xed8720){const _0x160789=_0x557c16;this[_0x273b07][_0x160789(0x175)](_0xed8720),this[_0x11fc30]+=_0xed8720['length'];}function _0xe16f57(_0x92f6ac){const _0x856fe5=_0x557c16;if(this[_0x11fc30]+=_0x92f6ac[_0x856fe5(0x209)],this[_0x54cdb9][_0x856fe5(0x2a2)]<0x1||this[_0x11fc30]<=this[_0x54cdb9]['_maxPayload']){this[_0x273b07]['push'](_0x92f6ac);return;}this[_0x474f3c]=new RangeError(_0x856fe5(0x257)),this[_0x474f3c]['code']=_0x856fe5(0x17f),this[_0x474f3c][_0x4de4d8]=0x3f1,this[_0x856fe5(0x170)](_0x856fe5(0x22b),_0xe16f57),this[_0x856fe5(0x206)]();}function _0x382049(_0x152ea9){this[_0x54cdb9]['_inflate']=null,_0x152ea9[_0x4de4d8]=0x3ef,this[_0x52ceee](_0x152ea9);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0xc4267b(0x1ec)](Object[_0xc4267b(0x1c0)]({'__proto__':null,'default':Ht},Symbol[_0xc4267b(0x1e7)],{'value':_0xc4267b(0x169)})),Yt=ut(zt);var Qe;function ne(){const _0x3ff2bf=_0xc4267b;if(Qe)return re[_0x3ff2bf(0x262)];Qe=0x1;const {isUtf8:_0x49873f}=_0x138038,{hasBlob:_0x500a65}=V(),_0xa01f0a=[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 _0x363764(_0x27e140){return _0x27e140>=0x3e8&&_0x27e140<=0x3f6&&_0x27e140!==0x3ec&&_0x27e140!==0x3ed&&_0x27e140!==0x3ee||_0x27e140>=0xbb8&&_0x27e140<=0x1387;}function _0x39fac7(_0x917880){const _0x2fa202=_0x3ff2bf,_0x4b50e7=_0x917880[_0x2fa202(0x209)];let _0x20d57d=0x0;for(;_0x20d57d<_0x4b50e7;)if((_0x917880[_0x20d57d]&0x80)===0x0)_0x20d57d++;else{if((_0x917880[_0x20d57d]&0xe0)===0xc0){if(_0x20d57d+0x1===_0x4b50e7||(_0x917880[_0x20d57d+0x1]&0xc0)!==0x80||(_0x917880[_0x20d57d]&0xfe)===0xc0)return!0x1;_0x20d57d+=0x2;}else{if((_0x917880[_0x20d57d]&0xf0)===0xe0){if(_0x20d57d+0x2>=_0x4b50e7||(_0x917880[_0x20d57d+0x1]&0xc0)!==0x80||(_0x917880[_0x20d57d+0x2]&0xc0)!==0x80||_0x917880[_0x20d57d]===0xe0&&(_0x917880[_0x20d57d+0x1]&0xe0)===0x80||_0x917880[_0x20d57d]===0xed&&(_0x917880[_0x20d57d+0x1]&0xe0)===0xa0)return!0x1;_0x20d57d+=0x3;}else{if((_0x917880[_0x20d57d]&0xf8)===0xf0){if(_0x20d57d+0x3>=_0x4b50e7||(_0x917880[_0x20d57d+0x1]&0xc0)!==0x80||(_0x917880[_0x20d57d+0x2]&0xc0)!==0x80||(_0x917880[_0x20d57d+0x3]&0xc0)!==0x80||_0x917880[_0x20d57d]===0xf0&&(_0x917880[_0x20d57d+0x1]&0xf0)===0x80||_0x917880[_0x20d57d]===0xf4&&_0x917880[_0x20d57d+0x1]>0x8f||_0x917880[_0x20d57d]>0xf4)return!0x1;_0x20d57d+=0x4;}else return!0x1;}}}return!0x0;}function _0x5adf1b(_0x2acb04){const _0x3c109b=_0x3ff2bf;return _0x500a65&&typeof _0x2acb04==_0x3c109b(0x237)&&typeof _0x2acb04[_0x3c109b(0x2a9)]==_0x3c109b(0x22a)&&typeof _0x2acb04[_0x3c109b(0x1e4)]==_0x3c109b(0x269)&&typeof _0x2acb04[_0x3c109b(0x2ae)]==_0x3c109b(0x22a)&&(_0x2acb04[Symbol['toStringTag']]===_0x3c109b(0x2ac)||_0x2acb04[Symbol[_0x3c109b(0x1e7)]]==='File');}if(re[_0x3ff2bf(0x262)]={'isBlob':_0x5adf1b,'isValidStatusCode':_0x363764,'isValidUTF8':_0x39fac7,'tokenChars':_0xa01f0a},_0x49873f)re[_0x3ff2bf(0x262)][_0x3ff2bf(0x29e)]=function(_0x3cd450){const _0x2b125e=_0x3ff2bf;return _0x3cd450[_0x2b125e(0x209)]<0x18?_0x39fac7(_0x3cd450):_0x49873f(_0x3cd450);};else{if(!process[_0x3ff2bf(0x2b7)]['WS_NO_UTF_8_VALIDATE'])try{const _0xc6ca90=Yt;re[_0x3ff2bf(0x262)][_0x3ff2bf(0x29e)]=function(_0x5c33ff){const _0x31da7a=_0x3ff2bf;return _0x5c33ff[_0x31da7a(0x209)]<0x20?_0x39fac7(_0x5c33ff):_0xc6ca90(_0x5c33ff);};}catch{}}return re[_0x3ff2bf(0x262)];}var Se,Je;function dt(){const _0x5780ca=_0xc4267b;if(Je)return Se;Je=0x1;const {Writable:_0x34d970}=_0x333975,_0x447c6b=he(),{BINARY_TYPES:_0x438cc8,EMPTY_BUFFER:_0x1f2f1f,kStatusCode:_0x3c7301,kWebSocket:_0x488f05}=V(),{concat:_0x16b212,toArrayBuffer:_0x2d6277,unmask:_0x1d059c}=ce(),{isValidStatusCode:_0x3cb270,isValidUTF8:_0x548468}=ne(),_0x4771ef=Buffer[Symbol['species']],_0xac160=0x0,_0x4d759a=0x1,_0x355204=0x2,_0x157e5d=0x3,_0x39dcaa=0x4,_0x1cfd5d=0x5,_0x317252=0x6;class _0x1938bc extends _0x34d970{constructor(_0x5ef053={}){const _0x3fc8f8=_0x42e2;super(),this[_0x3fc8f8(0x2ce)]=_0x5ef053[_0x3fc8f8(0x197)]!==void 0x0?_0x5ef053['allowSynchronousEvents']:!0x0,this[_0x3fc8f8(0x2c5)]=_0x5ef053[_0x3fc8f8(0x1d3)]||_0x438cc8[0x0],this[_0x3fc8f8(0x191)]=_0x5ef053['extensions']||{},this[_0x3fc8f8(0x2f5)]=!!_0x5ef053[_0x3fc8f8(0x2be)],this[_0x3fc8f8(0x2a2)]=_0x5ef053[_0x3fc8f8(0x2b8)]|0x0,this[_0x3fc8f8(0x26c)]=!!_0x5ef053[_0x3fc8f8(0x1e5)],this[_0x488f05]=void 0x0,this['_bufferedBytes']=0x0,this[_0x3fc8f8(0x168)]=[],this[_0x3fc8f8(0x249)]=!0x1,this[_0x3fc8f8(0x23a)]=0x0,this['_mask']=void 0x0,this['_fragmented']=0x0,this['_masked']=!0x1,this['_fin']=!0x1,this[_0x3fc8f8(0x1f1)]=0x0,this['_totalPayloadLength']=0x0,this[_0x3fc8f8(0x279)]=0x0,this['_fragments']=[],this[_0x3fc8f8(0x212)]=!0x1,this[_0x3fc8f8(0x263)]=!0x1,this[_0x3fc8f8(0x1c3)]=_0xac160;}[_0x5780ca(0x230)](_0x1aa9b0,_0x16c999,_0x4da893){const _0x2c849f=_0x5780ca;if(this[_0x2c849f(0x1f1)]===0x8&&this[_0x2c849f(0x1c3)]==_0xac160)return _0x4da893();this['_bufferedBytes']+=_0x1aa9b0[_0x2c849f(0x209)],this[_0x2c849f(0x168)][_0x2c849f(0x175)](_0x1aa9b0),this[_0x2c849f(0x18e)](_0x4da893);}[_0x5780ca(0x1da)](_0x3f0424){const _0x5204ca=_0x5780ca;if(this[_0x5204ca(0x20a)]-=_0x3f0424,_0x3f0424===this['_buffers'][0x0][_0x5204ca(0x209)])return this[_0x5204ca(0x168)][_0x5204ca(0x1ea)]();if(_0x3f0424<this['_buffers'][0x0][_0x5204ca(0x209)]){const _0x49ab00=this['_buffers'][0x0];return this[_0x5204ca(0x168)][0x0]=new _0x4771ef(_0x49ab00['buffer'],_0x49ab00[_0x5204ca(0x194)]+_0x3f0424,_0x49ab00[_0x5204ca(0x209)]-_0x3f0424),new _0x4771ef(_0x49ab00[_0x5204ca(0x29d)],_0x49ab00[_0x5204ca(0x194)],_0x3f0424);}const _0x2d6b4e=Buffer['allocUnsafe'](_0x3f0424);do{const _0x2098af=this[_0x5204ca(0x168)][0x0],_0x328e96=_0x2d6b4e[_0x5204ca(0x209)]-_0x3f0424;_0x3f0424>=_0x2098af[_0x5204ca(0x209)]?_0x2d6b4e['set'](this[_0x5204ca(0x168)][_0x5204ca(0x1ea)](),_0x328e96):(_0x2d6b4e['set'](new Uint8Array(_0x2098af['buffer'],_0x2098af[_0x5204ca(0x194)],_0x3f0424),_0x328e96),this[_0x5204ca(0x168)][0x0]=new _0x4771ef(_0x2098af[_0x5204ca(0x29d)],_0x2098af[_0x5204ca(0x194)]+_0x3f0424,_0x2098af[_0x5204ca(0x209)]-_0x3f0424)),_0x3f0424-=_0x2098af[_0x5204ca(0x209)];}while(_0x3f0424>0x0);return _0x2d6b4e;}[_0x5780ca(0x18e)](_0x152f1f){const _0x53e496=_0x5780ca;this[_0x53e496(0x263)]=!0x0;do switch(this[_0x53e496(0x1c3)]){case _0xac160:this['getInfo'](_0x152f1f);break;case _0x4d759a:this['getPayloadLength16'](_0x152f1f);break;case _0x355204:this['getPayloadLength64'](_0x152f1f);break;case _0x157e5d:this[_0x53e496(0x1aa)]();break;case _0x39dcaa:this[_0x53e496(0x2a8)](_0x152f1f);break;case _0x1cfd5d:case _0x317252:this[_0x53e496(0x263)]=!0x1;return;}while(this['_loop']);this[_0x53e496(0x212)]||_0x152f1f();}['getInfo'](_0x4b2334){const _0x1d1915=_0x5780ca;if(this['_bufferedBytes']<0x2){this['_loop']=!0x1;return;}const _0x31e01d=this['consume'](0x2);if((_0x31e01d[0x0]&0x30)!==0x0){const _0x501f24=this[_0x1d1915(0x254)](RangeError,_0x1d1915(0x285),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0x4b2334(_0x501f24);return;}const _0x379225=(_0x31e01d[0x0]&0x40)===0x40;if(_0x379225&&!this[_0x1d1915(0x191)][_0x447c6b[_0x1d1915(0x1ab)]]){const _0x2a0275=this[_0x1d1915(0x254)](RangeError,_0x1d1915(0x19c),!0x0,0x3ea,_0x1d1915(0x23d));_0x4b2334(_0x2a0275);return;}if(this[_0x1d1915(0x288)]=(_0x31e01d[0x0]&0x80)===0x80,this[_0x1d1915(0x1f1)]=_0x31e01d[0x0]&0xf,this[_0x1d1915(0x23a)]=_0x31e01d[0x1]&0x7f,this[_0x1d1915(0x1f1)]===0x0){if(_0x379225){const _0x7edcd4=this[_0x1d1915(0x254)](RangeError,_0x1d1915(0x19c),!0x0,0x3ea,_0x1d1915(0x23d));_0x4b2334(_0x7edcd4);return;}if(!this[_0x1d1915(0x1e3)]){const _0x213d07=this[_0x1d1915(0x254)](RangeError,_0x1d1915(0x1ef),!0x0,0x3ea,_0x1d1915(0x1a8));_0x4b2334(_0x213d07);return;}this['_opcode']=this[_0x1d1915(0x1e3)];}else{if(this[_0x1d1915(0x1f1)]===0x1||this[_0x1d1915(0x1f1)]===0x2){if(this[_0x1d1915(0x1e3)]){const _0x1b3683=this[_0x1d1915(0x254)](RangeError,_0x1d1915(0x29c)+this[_0x1d1915(0x1f1)],!0x0,0x3ea,_0x1d1915(0x1a8));_0x4b2334(_0x1b3683);return;}this[_0x1d1915(0x249)]=_0x379225;}else{if(this[_0x1d1915(0x1f1)]>0x7&&this['_opcode']<0xb){if(!this[_0x1d1915(0x288)]){const _0x2d1d99=this[_0x1d1915(0x254)](RangeError,_0x1d1915(0x1fc),!0x0,0x3ea,_0x1d1915(0x1ce));_0x4b2334(_0x2d1d99);return;}if(_0x379225){const _0x514572=this[_0x1d1915(0x254)](RangeError,_0x1d1915(0x19c),!0x0,0x3ea,_0x1d1915(0x23d));_0x4b2334(_0x514572);return;}if(this[_0x1d1915(0x23a)]>0x7d||this[_0x1d1915(0x1f1)]===0x8&&this[_0x1d1915(0x23a)]===0x1){const _0xc15972=this[_0x1d1915(0x254)](RangeError,_0x1d1915(0x29b)+this[_0x1d1915(0x23a)],!0x0,0x3ea,'WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH');_0x4b2334(_0xc15972);return;}}else{const _0x76e498=this[_0x1d1915(0x254)](RangeError,_0x1d1915(0x29c)+this[_0x1d1915(0x1f1)],!0x0,0x3ea,_0x1d1915(0x1a8));_0x4b2334(_0x76e498);return;}}}if(!this[_0x1d1915(0x288)]&&!this[_0x1d1915(0x1e3)]&&(this[_0x1d1915(0x1e3)]=this['_opcode']),this[_0x1d1915(0x183)]=(_0x31e01d[0x1]&0x80)===0x80,this['_isServer']){if(!this[_0x1d1915(0x183)]){const _0x3c2211=this[_0x1d1915(0x254)](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,_0x1d1915(0x19a));_0x4b2334(_0x3c2211);return;}}else{if(this[_0x1d1915(0x183)]){const _0x5ea1ec=this[_0x1d1915(0x254)](RangeError,_0x1d1915(0x1bc),!0x0,0x3ea,_0x1d1915(0x1bb));_0x4b2334(_0x5ea1ec);return;}}this[_0x1d1915(0x23a)]===0x7e?this['_state']=_0x4d759a:this['_payloadLength']===0x7f?this[_0x1d1915(0x1c3)]=_0x355204:this[_0x1d1915(0x2b6)](_0x4b2334);}['getPayloadLength16'](_0x493d81){const _0x7f6829=_0x5780ca;if(this['_bufferedBytes']<0x2){this[_0x7f6829(0x263)]=!0x1;return;}this['_payloadLength']=this[_0x7f6829(0x1da)](0x2)['readUInt16BE'](0x0),this['haveLength'](_0x493d81);}[_0x5780ca(0x2d2)](_0x3c7eff){const _0x488d8e=_0x5780ca;if(this['_bufferedBytes']<0x8){this[_0x488d8e(0x263)]=!0x1;return;}const _0xc3cf1a=this[_0x488d8e(0x1da)](0x8),_0x3c749c=_0xc3cf1a[_0x488d8e(0x2cd)](0x0);if(_0x3c749c>Math[_0x488d8e(0x1dc)](0x2,0x15)-0x1){const _0x29b55d=this[_0x488d8e(0x254)](RangeError,_0x488d8e(0x1de),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH');_0x3c7eff(_0x29b55d);return;}this[_0x488d8e(0x23a)]=_0x3c749c*Math[_0x488d8e(0x1dc)](0x2,0x20)+_0xc3cf1a[_0x488d8e(0x2cd)](0x4),this[_0x488d8e(0x2b6)](_0x3c7eff);}[_0x5780ca(0x2b6)](_0x53a0d8){const _0x5cd0ec=_0x5780ca;if(this[_0x5cd0ec(0x23a)]&&this[_0x5cd0ec(0x1f1)]<0x8&&(this[_0x5cd0ec(0x22c)]+=this[_0x5cd0ec(0x23a)],this[_0x5cd0ec(0x22c)]>this[_0x5cd0ec(0x2a2)]&&this[_0x5cd0ec(0x2a2)]>0x0)){const _0x5452aa=this[_0x5cd0ec(0x254)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x5cd0ec(0x17f));_0x53a0d8(_0x5452aa);return;}this['_masked']?this['_state']=_0x157e5d:this[_0x5cd0ec(0x1c3)]=_0x39dcaa;}['getMask'](){const _0x1f708b=_0x5780ca;if(this[_0x1f708b(0x20a)]<0x4){this[_0x1f708b(0x263)]=!0x1;return;}this['_mask']=this[_0x1f708b(0x1da)](0x4),this[_0x1f708b(0x1c3)]=_0x39dcaa;}[_0x5780ca(0x2a8)](_0x3c5452){const _0x562d9b=_0x5780ca;let _0x153a35=_0x1f2f1f;if(this[_0x562d9b(0x23a)]){if(this[_0x562d9b(0x20a)]<this['_payloadLength']){this[_0x562d9b(0x263)]=!0x1;return;}_0x153a35=this[_0x562d9b(0x1da)](this['_payloadLength']),this[_0x562d9b(0x183)]&&(this[_0x562d9b(0x1b3)][0x0]|this['_mask'][0x1]|this[_0x562d9b(0x1b3)][0x2]|this[_0x562d9b(0x1b3)][0x3])!==0x0&&_0x1d059c(_0x153a35,this['_mask']);}if(this[_0x562d9b(0x1f1)]>0x7){this[_0x562d9b(0x19d)](_0x153a35,_0x3c5452);return;}if(this['_compressed']){this[_0x562d9b(0x1c3)]=_0x1cfd5d,this[_0x562d9b(0x225)](_0x153a35,_0x3c5452);return;}_0x153a35['length']&&(this[_0x562d9b(0x279)]=this[_0x562d9b(0x22c)],this[_0x562d9b(0x171)][_0x562d9b(0x175)](_0x153a35)),this[_0x562d9b(0x30f)](_0x3c5452);}[_0x5780ca(0x225)](_0x483974,_0x4c6e1c){const _0x48bb47=_0x5780ca;this[_0x48bb47(0x191)][_0x447c6b[_0x48bb47(0x1ab)]][_0x48bb47(0x225)](_0x483974,this[_0x48bb47(0x288)],(_0x53efcb,_0x146e44)=>{const _0x3ead7f=_0x48bb47;if(_0x53efcb)return _0x4c6e1c(_0x53efcb);if(_0x146e44[_0x3ead7f(0x209)]){if(this[_0x3ead7f(0x279)]+=_0x146e44[_0x3ead7f(0x209)],this[_0x3ead7f(0x279)]>this[_0x3ead7f(0x2a2)]&&this['_maxPayload']>0x0){const _0x49335b=this[_0x3ead7f(0x254)](RangeError,_0x3ead7f(0x257),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x4c6e1c(_0x49335b);return;}this[_0x3ead7f(0x171)][_0x3ead7f(0x175)](_0x146e44);}this[_0x3ead7f(0x30f)](_0x4c6e1c),this[_0x3ead7f(0x1c3)]===_0xac160&&this[_0x3ead7f(0x18e)](_0x4c6e1c);});}[_0x5780ca(0x30f)](_0x7ab60a){const _0x53a94d=_0x5780ca;if(!this['_fin']){this[_0x53a94d(0x1c3)]=_0xac160;return;}const _0x48481c=this[_0x53a94d(0x279)],_0x416b2c=this[_0x53a94d(0x171)];if(this[_0x53a94d(0x22c)]=0x0,this[_0x53a94d(0x279)]=0x0,this[_0x53a94d(0x1e3)]=0x0,this[_0x53a94d(0x171)]=[],this[_0x53a94d(0x1f1)]===0x2){let _0x4197a8;this[_0x53a94d(0x2c5)]===_0x53a94d(0x1ee)?_0x4197a8=_0x16b212(_0x416b2c,_0x48481c):this[_0x53a94d(0x2c5)]===_0x53a94d(0x1d1)?_0x4197a8=_0x2d6277(_0x16b212(_0x416b2c,_0x48481c)):this[_0x53a94d(0x2c5)]===_0x53a94d(0x19e)?_0x4197a8=new Blob(_0x416b2c):_0x4197a8=_0x416b2c,this[_0x53a94d(0x2ce)]?(this['emit'](_0x53a94d(0x272),_0x4197a8,!0x0),this[_0x53a94d(0x1c3)]=_0xac160):(this[_0x53a94d(0x1c3)]=_0x317252,setImmediate(()=>{const _0x148388=_0x53a94d;this['emit'](_0x148388(0x272),_0x4197a8,!0x0),this[_0x148388(0x1c3)]=_0xac160,this[_0x148388(0x18e)](_0x7ab60a);}));}else{const _0x1aabf9=_0x16b212(_0x416b2c,_0x48481c);if(!this[_0x53a94d(0x26c)]&&!_0x548468(_0x1aabf9)){const _0x3d06eb=this[_0x53a94d(0x254)](Error,_0x53a94d(0x25d),!0x0,0x3ef,_0x53a94d(0x232));_0x7ab60a(_0x3d06eb);return;}this[_0x53a94d(0x1c3)]===_0x1cfd5d||this['_allowSynchronousEvents']?(this[_0x53a94d(0x1d6)](_0x53a94d(0x272),_0x1aabf9,!0x1),this[_0x53a94d(0x1c3)]=_0xac160):(this[_0x53a94d(0x1c3)]=_0x317252,setImmediate(()=>{const _0x2785ce=_0x53a94d;this['emit'](_0x2785ce(0x272),_0x1aabf9,!0x1),this[_0x2785ce(0x1c3)]=_0xac160,this[_0x2785ce(0x18e)](_0x7ab60a);}));}}[_0x5780ca(0x19d)](_0x4b17d5,_0x48115d){const _0x175c67=_0x5780ca;if(this['_opcode']===0x8){if(_0x4b17d5[_0x175c67(0x209)]===0x0)this[_0x175c67(0x263)]=!0x1,this[_0x175c67(0x1d6)](_0x175c67(0x21d),0x3ed,_0x1f2f1f),this['end']();else{const _0x1c7222=_0x4b17d5[_0x175c67(0x2d9)](0x0);if(!_0x3cb270(_0x1c7222)){const _0x2fb22b=this['createError'](RangeError,_0x175c67(0x1cb)+_0x1c7222,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0x48115d(_0x2fb22b);return;}const _0x2c351f=new _0x4771ef(_0x4b17d5['buffer'],_0x4b17d5[_0x175c67(0x194)]+0x2,_0x4b17d5[_0x175c67(0x209)]-0x2);if(!this[_0x175c67(0x26c)]&&!_0x548468(_0x2c351f)){const _0x2e3ac0=this[_0x175c67(0x254)](Error,_0x175c67(0x25d),!0x0,0x3ef,_0x175c67(0x232));_0x48115d(_0x2e3ac0);return;}this['_loop']=!0x1,this['emit'](_0x175c67(0x21d),_0x1c7222,_0x2c351f),this['end']();}this[_0x175c67(0x1c3)]=_0xac160;return;}this[_0x175c67(0x2ce)]?(this[_0x175c67(0x1d6)](this['_opcode']===0x9?'ping':'pong',_0x4b17d5),this[_0x175c67(0x1c3)]=_0xac160):(this[_0x175c67(0x1c3)]=_0x317252,setImmediate(()=>{const _0x1f4062=_0x175c67;this[_0x1f4062(0x1d6)](this[_0x1f4062(0x1f1)]===0x9?_0x1f4062(0x1c4):'pong',_0x4b17d5),this[_0x1f4062(0x1c3)]=_0xac160,this[_0x1f4062(0x18e)](_0x48115d);}));}[_0x5780ca(0x254)](_0x173da7,_0x53305d,_0x23cb2a,_0x454233,_0x107f3e){const _0x20cee1=_0x5780ca;this[_0x20cee1(0x263)]=!0x1,this[_0x20cee1(0x212)]=!0x0;const _0x5050bf=new _0x173da7(_0x23cb2a?'Invalid\x20WebSocket\x20frame:\x20'+_0x53305d:_0x53305d);return Error[_0x20cee1(0x2df)](_0x5050bf,this[_0x20cee1(0x254)]),_0x5050bf[_0x20cee1(0x27c)]=_0x107f3e,_0x5050bf[_0x3c7301]=_0x454233,_0x5050bf;}}return Se=_0x1938bc,Se;}var Ee,et;function _t(){const _0x2cc362=_0xc4267b;if(et)return Ee;et=0x1;const {Duplex:_0x1b587f}=_0x333975,{randomFillSync:_0x380c07}=_0x5454a,_0x28de63=he(),{EMPTY_BUFFER:_0x4d4798,kWebSocket:_0x597a70,NOOP:_0x223992}=V(),{isBlob:_0x1574c2,isValidStatusCode:_0x3fcec0}=ne(),{mask:_0x21ca5b,toBuffer:_0x4d0695}=ce(),_0x269f66=Symbol(_0x2cc362(0x1ad)),_0x3afe86=Buffer['alloc'](0x4),_0x32c95f=0x8*0x400;let _0x6d52ef,_0x1f292d=_0x32c95f;const _0x482a1f=0x0,_0x51315e=0x1,_0x107640=0x2;class _0x3f4d00{constructor(_0x5c64cf,_0xe1c82c,_0x5cb0b6){const _0x28afcf=_0x2cc362;this[_0x28afcf(0x191)]=_0xe1c82c||{},_0x5cb0b6&&(this[_0x28afcf(0x1e9)]=_0x5cb0b6,this[_0x28afcf(0x189)]=Buffer['alloc'](0x4)),this[_0x28afcf(0x2cc)]=_0x5c64cf,this['_firstFragment']=!0x0,this[_0x28afcf(0x2e9)]=!0x1,this[_0x28afcf(0x20a)]=0x0,this['_queue']=[],this[_0x28afcf(0x1c3)]=_0x482a1f,this[_0x28afcf(0x29a)]=_0x223992,this[_0x597a70]=void 0x0;}static['frame'](_0x3e6f9e,_0xbdfeb7){const _0x23e439=_0x2cc362;let _0x3a04de,_0x368aff=!0x1,_0x375bdc=0x2,_0x4fe5af=!0x1;_0xbdfeb7[_0x23e439(0x2c0)]&&(_0x3a04de=_0xbdfeb7[_0x23e439(0x24b)]||_0x3afe86,_0xbdfeb7[_0x23e439(0x218)]?_0xbdfeb7[_0x23e439(0x218)](_0x3a04de):(_0x1f292d===_0x32c95f&&(_0x6d52ef===void 0x0&&(_0x6d52ef=Buffer[_0x23e439(0x304)](_0x32c95f)),_0x380c07(_0x6d52ef,0x0,_0x32c95f),_0x1f292d=0x0),_0x3a04de[0x0]=_0x6d52ef[_0x1f292d++],_0x3a04de[0x1]=_0x6d52ef[_0x1f292d++],_0x3a04de[0x2]=_0x6d52ef[_0x1f292d++],_0x3a04de[0x3]=_0x6d52ef[_0x1f292d++]),_0x4fe5af=(_0x3a04de[0x0]|_0x3a04de[0x1]|_0x3a04de[0x2]|_0x3a04de[0x3])===0x0,_0x375bdc=0x6);let _0x51154d;typeof _0x3e6f9e=='string'?(!_0xbdfeb7[_0x23e439(0x2c0)]||_0x4fe5af)&&_0xbdfeb7[_0x269f66]!==void 0x0?_0x51154d=_0xbdfeb7[_0x269f66]:(_0x3e6f9e=Buffer['from'](_0x3e6f9e),_0x51154d=_0x3e6f9e[_0x23e439(0x209)]):(_0x51154d=_0x3e6f9e[_0x23e439(0x209)],_0x368aff=_0xbdfeb7['mask']&&_0xbdfeb7[_0x23e439(0x214)]&&!_0x4fe5af);let _0x356195=_0x51154d;_0x51154d>=0x10000?(_0x375bdc+=0x8,_0x356195=0x7f):_0x51154d>0x7d&&(_0x375bdc+=0x2,_0x356195=0x7e);const _0x41cc97=Buffer[_0x23e439(0x247)](_0x368aff?_0x51154d+_0x375bdc:_0x375bdc);return _0x41cc97[0x0]=_0xbdfeb7[_0x23e439(0x1e2)]?_0xbdfeb7[_0x23e439(0x22f)]|0x80:_0xbdfeb7[_0x23e439(0x22f)],_0xbdfeb7[_0x23e439(0x241)]&&(_0x41cc97[0x0]|=0x40),_0x41cc97[0x1]=_0x356195,_0x356195===0x7e?_0x41cc97[_0x23e439(0x2bc)](_0x51154d,0x2):_0x356195===0x7f&&(_0x41cc97[0x2]=_0x41cc97[0x3]=0x0,_0x41cc97[_0x23e439(0x17a)](_0x51154d,0x4,0x6)),_0xbdfeb7[_0x23e439(0x2c0)]?(_0x41cc97[0x1]|=0x80,_0x41cc97[_0x375bdc-0x4]=_0x3a04de[0x0],_0x41cc97[_0x375bdc-0x3]=_0x3a04de[0x1],_0x41cc97[_0x375bdc-0x2]=_0x3a04de[0x2],_0x41cc97[_0x375bdc-0x1]=_0x3a04de[0x3],_0x4fe5af?[_0x41cc97,_0x3e6f9e]:_0x368aff?(_0x21ca5b(_0x3e6f9e,_0x3a04de,_0x41cc97,_0x375bdc,_0x51154d),[_0x41cc97]):(_0x21ca5b(_0x3e6f9e,_0x3a04de,_0x3e6f9e,0x0,_0x51154d),[_0x41cc97,_0x3e6f9e])):[_0x41cc97,_0x3e6f9e];}[_0x2cc362(0x1c6)](_0xa56f49,_0x2385a0,_0x8a334c,_0x3d9dfa){const _0x2fced1=_0x2cc362;let _0x4b0d13;if(_0xa56f49===void 0x0)_0x4b0d13=_0x4d4798;else{if(typeof _0xa56f49!=_0x2fced1(0x2a6)||!_0x3fcec0(_0xa56f49))throw new TypeError(_0x2fced1(0x188));if(_0x2385a0===void 0x0||!_0x2385a0[_0x2fced1(0x209)])_0x4b0d13=Buffer[_0x2fced1(0x247)](0x2),_0x4b0d13[_0x2fced1(0x2bc)](_0xa56f49,0x0);else{const _0x2cc0cd=Buffer[_0x2fced1(0x28e)](_0x2385a0);if(_0x2cc0cd>0x7b)throw new RangeError(_0x2fced1(0x24d));_0x4b0d13=Buffer[_0x2fced1(0x247)](0x2+_0x2cc0cd),_0x4b0d13[_0x2fced1(0x2bc)](_0xa56f49,0x0),typeof _0x2385a0=='string'?_0x4b0d13[_0x2fced1(0x2a7)](_0x2385a0,0x2):_0x4b0d13[_0x2fced1(0x266)](_0x2385a0,0x2);}}const _0x210246={[_0x269f66]:_0x4b0d13[_0x2fced1(0x209)],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x8a334c,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this['_state']!==_0x482a1f?this[_0x2fced1(0x2bb)]([this[_0x2fced1(0x2e3)],_0x4b0d13,!0x1,_0x210246,_0x3d9dfa]):this[_0x2fced1(0x297)](_0x3f4d00[_0x2fced1(0x1a9)](_0x4b0d13,_0x210246),_0x3d9dfa);}['ping'](_0xd7f61,_0x2b2296,_0x1e42b1){const _0x815a86=_0x2cc362;let _0x66e4e4,_0x136ce8;if(typeof _0xd7f61==_0x815a86(0x269)?(_0x66e4e4=Buffer['byteLength'](_0xd7f61),_0x136ce8=!0x1):_0x1574c2(_0xd7f61)?(_0x66e4e4=_0xd7f61[_0x815a86(0x2ec)],_0x136ce8=!0x1):(_0xd7f61=_0x4d0695(_0xd7f61),_0x66e4e4=_0xd7f61[_0x815a86(0x209)],_0x136ce8=_0x4d0695['readOnly']),_0x66e4e4>0x7d)throw new RangeError(_0x815a86(0x226));const _0x42ed81={[_0x269f66]:_0x66e4e4,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x2b2296,'maskBuffer':this[_0x815a86(0x189)],'opcode':0x9,'readOnly':_0x136ce8,'rsv1':!0x1};_0x1574c2(_0xd7f61)?this[_0x815a86(0x1c3)]!==_0x482a1f?this[_0x815a86(0x2bb)]([this[_0x815a86(0x284)],_0xd7f61,!0x1,_0x42ed81,_0x1e42b1]):this[_0x815a86(0x284)](_0xd7f61,!0x1,_0x42ed81,_0x1e42b1):this[_0x815a86(0x1c3)]!==_0x482a1f?this['enqueue']([this['dispatch'],_0xd7f61,!0x1,_0x42ed81,_0x1e42b1]):this[_0x815a86(0x297)](_0x3f4d00[_0x815a86(0x1a9)](_0xd7f61,_0x42ed81),_0x1e42b1);}[_0x2cc362(0x222)](_0x1822c6,_0x406438,_0x3bbdf6){const _0x541e71=_0x2cc362;let _0x39fb82,_0x11558d;if(typeof _0x1822c6==_0x541e71(0x269)?(_0x39fb82=Buffer[_0x541e71(0x28e)](_0x1822c6),_0x11558d=!0x1):_0x1574c2(_0x1822c6)?(_0x39fb82=_0x1822c6[_0x541e71(0x2ec)],_0x11558d=!0x1):(_0x1822c6=_0x4d0695(_0x1822c6),_0x39fb82=_0x1822c6['length'],_0x11558d=_0x4d0695[_0x541e71(0x214)]),_0x39fb82>0x7d)throw new RangeError(_0x541e71(0x226));const _0x175141={[_0x269f66]:_0x39fb82,'fin':!0x0,'generateMask':this[_0x541e71(0x1e9)],'mask':_0x406438,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x11558d,'rsv1':!0x1};_0x1574c2(_0x1822c6)?this[_0x541e71(0x1c3)]!==_0x482a1f?this[_0x541e71(0x2bb)]([this[_0x541e71(0x284)],_0x1822c6,!0x1,_0x175141,_0x3bbdf6]):this[_0x541e71(0x284)](_0x1822c6,!0x1,_0x175141,_0x3bbdf6):this[_0x541e71(0x1c3)]!==_0x482a1f?this[_0x541e71(0x2bb)]([this[_0x541e71(0x2e3)],_0x1822c6,!0x1,_0x175141,_0x3bbdf6]):this[_0x541e71(0x297)](_0x3f4d00['frame'](_0x1822c6,_0x175141),_0x3bbdf6);}['send'](_0x2c2efc,_0x36b28c,_0x4f79fd){const _0x57103e=_0x2cc362,_0x18aea3=this['_extensions'][_0x28de63[_0x57103e(0x1ab)]];let _0x2158a9=_0x36b28c['binary']?0x2:0x1,_0x5ed62e=_0x36b28c[_0x57103e(0x200)],_0x49c1b6,_0x51b5a3;typeof _0x2c2efc==_0x57103e(0x269)?(_0x49c1b6=Buffer[_0x57103e(0x28e)](_0x2c2efc),_0x51b5a3=!0x1):_0x1574c2(_0x2c2efc)?(_0x49c1b6=_0x2c2efc[_0x57103e(0x2ec)],_0x51b5a3=!0x1):(_0x2c2efc=_0x4d0695(_0x2c2efc),_0x49c1b6=_0x2c2efc[_0x57103e(0x209)],_0x51b5a3=_0x4d0695['readOnly']),this[_0x57103e(0x187)]?(this[_0x57103e(0x187)]=!0x1,_0x5ed62e&&_0x18aea3&&_0x18aea3[_0x57103e(0x1b0)][_0x18aea3[_0x57103e(0x2f5)]?_0x57103e(0x1df):_0x57103e(0x267)]&&(_0x5ed62e=_0x49c1b6>=_0x18aea3[_0x57103e(0x25c)]),this['_compress']=_0x5ed62e):(_0x5ed62e=!0x1,_0x2158a9=0x0),_0x36b28c[_0x57103e(0x1e2)]&&(this[_0x57103e(0x187)]=!0x0);const _0x1b2151={[_0x269f66]:_0x49c1b6,'fin':_0x36b28c['fin'],'generateMask':this[_0x57103e(0x1e9)],'mask':_0x36b28c[_0x57103e(0x2c0)],'maskBuffer':this[_0x57103e(0x189)],'opcode':_0x2158a9,'readOnly':_0x51b5a3,'rsv1':_0x5ed62e};_0x1574c2(_0x2c2efc)?this[_0x57103e(0x1c3)]!==_0x482a1f?this[_0x57103e(0x2bb)]([this[_0x57103e(0x284)],_0x2c2efc,this['_compress'],_0x1b2151,_0x4f79fd]):this[_0x57103e(0x284)](_0x2c2efc,this['_compress'],_0x1b2151,_0x4f79fd):this[_0x57103e(0x1c3)]!==_0x482a1f?this[_0x57103e(0x2bb)]([this[_0x57103e(0x2e3)],_0x2c2efc,this[_0x57103e(0x2e9)],_0x1b2151,_0x4f79fd]):this[_0x57103e(0x2e3)](_0x2c2efc,this[_0x57103e(0x2e9)],_0x1b2151,_0x4f79fd);}[_0x2cc362(0x284)](_0x5ade25,_0x57be36,_0x5d19e8,_0x228db6){const _0x4cbd48=_0x2cc362;this[_0x4cbd48(0x20a)]+=_0x5d19e8[_0x269f66],this[_0x4cbd48(0x1c3)]=_0x107640,_0x5ade25[_0x4cbd48(0x2a9)]()[_0x4cbd48(0x2e1)](_0x4969d1=>{const _0x205201=_0x4cbd48;if(this[_0x205201(0x2cc)][_0x205201(0x2ed)]){const _0x3609e3=new Error('The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read');process[_0x205201(0x25b)](_0x187b6b,this,_0x3609e3,_0x228db6);return;}this['_bufferedBytes']-=_0x5d19e8[_0x269f66];const _0x453a58=_0x4d0695(_0x4969d1);_0x57be36?this[_0x205201(0x2e3)](_0x453a58,_0x57be36,_0x5d19e8,_0x228db6):(this['_state']=_0x482a1f,this[_0x205201(0x297)](_0x3f4d00[_0x205201(0x1a9)](_0x453a58,_0x5d19e8),_0x228db6),this[_0x205201(0x2e6)]());})[_0x4cbd48(0x163)](_0x2f5b22=>{const _0x4ea7be=_0x4cbd48;process[_0x4ea7be(0x25b)](_0x1ea3db,this,_0x2f5b22,_0x228db6);});}[_0x2cc362(0x2e3)](_0x17f285,_0x58cafc,_0x59d3d0,_0x82070c){const _0x5c16b5=_0x2cc362;if(!_0x58cafc){this['sendFrame'](_0x3f4d00[_0x5c16b5(0x1a9)](_0x17f285,_0x59d3d0),_0x82070c);return;}const _0x3eeb8c=this[_0x5c16b5(0x191)][_0x28de63['extensionName']];this[_0x5c16b5(0x20a)]+=_0x59d3d0[_0x269f66],this[_0x5c16b5(0x1c3)]=_0x51315e,_0x3eeb8c[_0x5c16b5(0x200)](_0x17f285,_0x59d3d0[_0x5c16b5(0x1e2)],(_0x3832d3,_0x568147)=>{const _0x43ef0a=_0x5c16b5;if(this[_0x43ef0a(0x2cc)][_0x43ef0a(0x2ed)]){const _0x3de513=new Error(_0x43ef0a(0x280));_0x187b6b(this,_0x3de513,_0x82070c);return;}this[_0x43ef0a(0x20a)]-=_0x59d3d0[_0x269f66],this[_0x43ef0a(0x1c3)]=_0x482a1f,_0x59d3d0[_0x43ef0a(0x214)]=!0x1,this[_0x43ef0a(0x297)](_0x3f4d00[_0x43ef0a(0x1a9)](_0x568147,_0x59d3d0),_0x82070c),this['dequeue']();});}[_0x2cc362(0x2e6)](){const _0x318399=_0x2cc362;for(;this[_0x318399(0x1c3)]===_0x482a1f&&this[_0x318399(0x193)][_0x318399(0x209)];){const _0x385cff=this[_0x318399(0x193)][_0x318399(0x1ea)]();this[_0x318399(0x20a)]-=_0x385cff[0x3][_0x269f66],Reflect[_0x318399(0x28d)](_0x385cff[0x0],this,_0x385cff[_0x318399(0x2f6)](0x1));}}[_0x2cc362(0x2bb)](_0x287f8d){const _0x5e25d3=_0x2cc362;this[_0x5e25d3(0x20a)]+=_0x287f8d[0x3][_0x269f66],this['_queue']['push'](_0x287f8d);}[_0x2cc362(0x297)](_0x2edd2f,_0x47e13f){const _0x306e9f=_0x2cc362;_0x2edd2f[_0x306e9f(0x209)]===0x2?(this[_0x306e9f(0x2cc)][_0x306e9f(0x1fd)](),this['_socket']['write'](_0x2edd2f[0x0]),this[_0x306e9f(0x2cc)][_0x306e9f(0x2a7)](_0x2edd2f[0x1],_0x47e13f),this['_socket'][_0x306e9f(0x2c6)]()):this[_0x306e9f(0x2cc)][_0x306e9f(0x2a7)](_0x2edd2f[0x0],_0x47e13f);}}Ee=_0x3f4d00;function _0x187b6b(_0x4fc3e3,_0x26e3a5,_0x2d0f8b){const _0x1db7c4=_0x2cc362;typeof _0x2d0f8b==_0x1db7c4(0x22a)&&_0x2d0f8b(_0x26e3a5);for(let _0x11babc=0x0;_0x11babc<_0x4fc3e3[_0x1db7c4(0x193)]['length'];_0x11babc++){const _0x4ef21e=_0x4fc3e3['_queue'][_0x11babc],_0x450e1a=_0x4ef21e[_0x4ef21e['length']-0x1];typeof _0x450e1a=='function'&&_0x450e1a(_0x26e3a5);}}function _0x1ea3db(_0x6a186b,_0x5d3217,_0x462482){const _0x3aa20b=_0x2cc362;_0x187b6b(_0x6a186b,_0x5d3217,_0x462482),_0x6a186b[_0x3aa20b(0x29a)](_0x5d3217);}return Ee;}var xe,tt;function Kt(){const _0x14c1d1=_0xc4267b;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x210006,kListener:_0x3b68e8}=V(),_0x2eb92a=Symbol('kCode'),_0x402061=Symbol(_0x14c1d1(0x228)),_0x37f508=Symbol('kError'),_0x41f777=Symbol(_0x14c1d1(0x1b7)),_0x3fa4fb=Symbol(_0x14c1d1(0x2e4)),_0x1aa372=Symbol('kTarget'),_0x5cd441=Symbol('kType'),_0x489dba=Symbol('kWasClean');class _0x4cc550{constructor(_0x3a877a){this[_0x1aa372]=null,this[_0x5cd441]=_0x3a877a;}get[_0x14c1d1(0x2dd)](){return this[_0x1aa372];}get[_0x14c1d1(0x1e4)](){return this[_0x5cd441];}}Object[_0x14c1d1(0x1c0)](_0x4cc550[_0x14c1d1(0x1c7)],_0x14c1d1(0x2dd),{'enumerable':!0x0}),Object[_0x14c1d1(0x1c0)](_0x4cc550[_0x14c1d1(0x1c7)],'type',{'enumerable':!0x0});class _0x698483 extends _0x4cc550{constructor(_0x585507,_0x3e9cfa={}){const _0x2a2eb4=_0x14c1d1;super(_0x585507),this[_0x2eb92a]=_0x3e9cfa[_0x2a2eb4(0x27c)]===void 0x0?0x0:_0x3e9cfa['code'],this[_0x3fa4fb]=_0x3e9cfa[_0x2a2eb4(0x1d0)]===void 0x0?'':_0x3e9cfa[_0x2a2eb4(0x1d0)],this[_0x489dba]=_0x3e9cfa[_0x2a2eb4(0x22d)]===void 0x0?!0x1:_0x3e9cfa[_0x2a2eb4(0x22d)];}get[_0x14c1d1(0x27c)](){return this[_0x2eb92a];}get[_0x14c1d1(0x1d0)](){return this[_0x3fa4fb];}get[_0x14c1d1(0x22d)](){return this[_0x489dba];}}Object[_0x14c1d1(0x1c0)](_0x698483[_0x14c1d1(0x1c7)],_0x14c1d1(0x27c),{'enumerable':!0x0}),Object[_0x14c1d1(0x1c0)](_0x698483[_0x14c1d1(0x1c7)],_0x14c1d1(0x1d0),{'enumerable':!0x0}),Object[_0x14c1d1(0x1c0)](_0x698483[_0x14c1d1(0x1c7)],_0x14c1d1(0x22d),{'enumerable':!0x0});class _0x5c621a extends _0x4cc550{constructor(_0x304df4,_0x233c21={}){const _0x2c39db=_0x14c1d1;super(_0x304df4),this[_0x37f508]=_0x233c21[_0x2c39db(0x287)]===void 0x0?null:_0x233c21[_0x2c39db(0x287)],this[_0x41f777]=_0x233c21[_0x2c39db(0x272)]===void 0x0?'':_0x233c21[_0x2c39db(0x272)];}get['error'](){return this[_0x37f508];}get[_0x14c1d1(0x272)](){return this[_0x41f777];}}Object['defineProperty'](_0x5c621a[_0x14c1d1(0x1c7)],'error',{'enumerable':!0x0}),Object[_0x14c1d1(0x1c0)](_0x5c621a[_0x14c1d1(0x1c7)],'message',{'enumerable':!0x0});class _0x66f7f9 extends _0x4cc550{constructor(_0x52e28d,_0x1175ed={}){const _0x290995=_0x14c1d1;super(_0x52e28d),this[_0x402061]=_0x1175ed['data']===void 0x0?null:_0x1175ed[_0x290995(0x22b)];}get[_0x14c1d1(0x22b)](){return this[_0x402061];}}Object[_0x14c1d1(0x1c0)](_0x66f7f9['prototype'],'data',{'enumerable':!0x0}),xe={'CloseEvent':_0x698483,'ErrorEvent':_0x5c621a,'Event':_0x4cc550,'EventTarget':{'addEventListener'(_0x4b11cf,_0x4ea18b,_0x412d01={}){const _0x1d9f5f=_0x14c1d1;for(const _0x5aadb0 of this[_0x1d9f5f(0x1cf)](_0x4b11cf))if(!_0x412d01[_0x210006]&&_0x5aadb0[_0x3b68e8]===_0x4ea18b&&!_0x5aadb0[_0x210006])return;let _0x14ea12;if(_0x4b11cf===_0x1d9f5f(0x272))_0x14ea12=function(_0x20f0eb,_0x5648d6){const _0x5ce466=new _0x66f7f9('message',{'data':_0x5648d6?_0x20f0eb:_0x20f0eb['toString']()});_0x5ce466[_0x1aa372]=this,_0x48d989(_0x4ea18b,this,_0x5ce466);};else{if(_0x4b11cf===_0x1d9f5f(0x1c6))_0x14ea12=function(_0x20cab9,_0x31e30c){const _0x1e342a=_0x1d9f5f,_0x166302=new _0x698483(_0x1e342a(0x1c6),{'code':_0x20cab9,'reason':_0x31e30c[_0x1e342a(0x18d)](),'wasClean':this[_0x1e342a(0x167)]&&this[_0x1e342a(0x2b4)]});_0x166302[_0x1aa372]=this,_0x48d989(_0x4ea18b,this,_0x166302);};else{if(_0x4b11cf===_0x1d9f5f(0x287))_0x14ea12=function(_0x3eef4d){const _0x289512=_0x1d9f5f,_0x1fcbc8=new _0x5c621a('error',{'error':_0x3eef4d,'message':_0x3eef4d[_0x289512(0x272)]});_0x1fcbc8[_0x1aa372]=this,_0x48d989(_0x4ea18b,this,_0x1fcbc8);};else{if(_0x4b11cf===_0x1d9f5f(0x1a1))_0x14ea12=function(){const _0x3e8182=_0x1d9f5f,_0x5c5e1f=new _0x4cc550(_0x3e8182(0x1a1));_0x5c5e1f[_0x1aa372]=this,_0x48d989(_0x4ea18b,this,_0x5c5e1f);};else return;}}}_0x14ea12[_0x210006]=!!_0x412d01[_0x210006],_0x14ea12[_0x3b68e8]=_0x4ea18b,_0x412d01[_0x1d9f5f(0x23b)]?this[_0x1d9f5f(0x23b)](_0x4b11cf,_0x14ea12):this['on'](_0x4b11cf,_0x14ea12);},'removeEventListener'(_0x236467,_0x431d63){const _0x32a2fb=_0x14c1d1;for(const _0x2e72de of this['listeners'](_0x236467))if(_0x2e72de[_0x3b68e8]===_0x431d63&&!_0x2e72de[_0x210006]){this[_0x32a2fb(0x170)](_0x236467,_0x2e72de);break;}}},'MessageEvent':_0x66f7f9};function _0x48d989(_0x2f1b36,_0x323789,_0xe80830){const _0x55a8fe=_0x14c1d1;typeof _0x2f1b36==_0x55a8fe(0x237)&&_0x2f1b36['handleEvent']?_0x2f1b36['handleEvent'][_0x55a8fe(0x2e5)](_0x2f1b36,_0xe80830):_0x2f1b36[_0x55a8fe(0x2e5)](_0x323789,_0xe80830);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x142996}=ne();function _0x33bd06(_0x49c0fd,_0x5b04fa,_0x47db3a){const _0x1326fb=_0x42e2;_0x49c0fd[_0x5b04fa]===void 0x0?_0x49c0fd[_0x5b04fa]=[_0x47db3a]:_0x49c0fd[_0x5b04fa][_0x1326fb(0x175)](_0x47db3a);}function _0x549fcf(_0x46d1c4){const _0x5cca04=_0x42e2,_0x1a9097=Object[_0x5cca04(0x29f)](null);let _0x4b03e5=Object[_0x5cca04(0x29f)](null),_0x60fa2e=!0x1,_0x428d58=!0x1,_0x3f9b78=!0x1,_0x25a489,_0x5e3752,_0x51be95=-0x1,_0x48aaf1=-0x1,_0x27aeff=-0x1,_0x76b3d2=0x0;for(;_0x76b3d2<_0x46d1c4[_0x5cca04(0x209)];_0x76b3d2++)if(_0x48aaf1=_0x46d1c4[_0x5cca04(0x1bd)](_0x76b3d2),_0x25a489===void 0x0){if(_0x27aeff===-0x1&&_0x142996[_0x48aaf1]===0x1)_0x51be95===-0x1&&(_0x51be95=_0x76b3d2);else{if(_0x76b3d2!==0x0&&(_0x48aaf1===0x20||_0x48aaf1===0x9))_0x27aeff===-0x1&&_0x51be95!==-0x1&&(_0x27aeff=_0x76b3d2);else{if(_0x48aaf1===0x3b||_0x48aaf1===0x2c){if(_0x51be95===-0x1)throw new SyntaxError(_0x5cca04(0x1af)+_0x76b3d2);_0x27aeff===-0x1&&(_0x27aeff=_0x76b3d2);const _0x2f1275=_0x46d1c4['slice'](_0x51be95,_0x27aeff);_0x48aaf1===0x2c?(_0x33bd06(_0x1a9097,_0x2f1275,_0x4b03e5),_0x4b03e5=Object[_0x5cca04(0x29f)](null)):_0x25a489=_0x2f1275,_0x51be95=_0x27aeff=-0x1;}else throw new SyntaxError(_0x5cca04(0x1af)+_0x76b3d2);}}}else{if(_0x5e3752===void 0x0){if(_0x27aeff===-0x1&&_0x142996[_0x48aaf1]===0x1)_0x51be95===-0x1&&(_0x51be95=_0x76b3d2);else{if(_0x48aaf1===0x20||_0x48aaf1===0x9)_0x27aeff===-0x1&&_0x51be95!==-0x1&&(_0x27aeff=_0x76b3d2);else{if(_0x48aaf1===0x3b||_0x48aaf1===0x2c){if(_0x51be95===-0x1)throw new SyntaxError(_0x5cca04(0x1af)+_0x76b3d2);_0x27aeff===-0x1&&(_0x27aeff=_0x76b3d2),_0x33bd06(_0x4b03e5,_0x46d1c4[_0x5cca04(0x2f6)](_0x51be95,_0x27aeff),!0x0),_0x48aaf1===0x2c&&(_0x33bd06(_0x1a9097,_0x25a489,_0x4b03e5),_0x4b03e5=Object[_0x5cca04(0x29f)](null),_0x25a489=void 0x0),_0x51be95=_0x27aeff=-0x1;}else{if(_0x48aaf1===0x3d&&_0x51be95!==-0x1&&_0x27aeff===-0x1)_0x5e3752=_0x46d1c4[_0x5cca04(0x2f6)](_0x51be95,_0x76b3d2),_0x51be95=_0x27aeff=-0x1;else throw new SyntaxError(_0x5cca04(0x1af)+_0x76b3d2);}}}}else{if(_0x428d58){if(_0x142996[_0x48aaf1]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x76b3d2);_0x51be95===-0x1?_0x51be95=_0x76b3d2:_0x60fa2e||(_0x60fa2e=!0x0),_0x428d58=!0x1;}else{if(_0x3f9b78){if(_0x142996[_0x48aaf1]===0x1)_0x51be95===-0x1&&(_0x51be95=_0x76b3d2);else{if(_0x48aaf1===0x22&&_0x51be95!==-0x1)_0x3f9b78=!0x1,_0x27aeff=_0x76b3d2;else{if(_0x48aaf1===0x5c)_0x428d58=!0x0;else throw new SyntaxError(_0x5cca04(0x1af)+_0x76b3d2);}}}else{if(_0x48aaf1===0x22&&_0x46d1c4[_0x5cca04(0x1bd)](_0x76b3d2-0x1)===0x3d)_0x3f9b78=!0x0;else{if(_0x27aeff===-0x1&&_0x142996[_0x48aaf1]===0x1)_0x51be95===-0x1&&(_0x51be95=_0x76b3d2);else{if(_0x51be95!==-0x1&&(_0x48aaf1===0x20||_0x48aaf1===0x9))_0x27aeff===-0x1&&(_0x27aeff=_0x76b3d2);else{if(_0x48aaf1===0x3b||_0x48aaf1===0x2c){if(_0x51be95===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x76b3d2);_0x27aeff===-0x1&&(_0x27aeff=_0x76b3d2);let _0x5c5b85=_0x46d1c4[_0x5cca04(0x2f6)](_0x51be95,_0x27aeff);_0x60fa2e&&(_0x5c5b85=_0x5c5b85[_0x5cca04(0x18b)](/\\/g,''),_0x60fa2e=!0x1),_0x33bd06(_0x4b03e5,_0x5e3752,_0x5c5b85),_0x48aaf1===0x2c&&(_0x33bd06(_0x1a9097,_0x25a489,_0x4b03e5),_0x4b03e5=Object[_0x5cca04(0x29f)](null),_0x25a489=void 0x0),_0x5e3752=void 0x0,_0x51be95=_0x27aeff=-0x1;}else throw new SyntaxError(_0x5cca04(0x1af)+_0x76b3d2);}}}}}}}if(_0x51be95===-0x1||_0x3f9b78||_0x48aaf1===0x20||_0x48aaf1===0x9)throw new SyntaxError(_0x5cca04(0x2a0));_0x27aeff===-0x1&&(_0x27aeff=_0x76b3d2);const _0x363b20=_0x46d1c4[_0x5cca04(0x2f6)](_0x51be95,_0x27aeff);return _0x25a489===void 0x0?_0x33bd06(_0x1a9097,_0x363b20,_0x4b03e5):(_0x5e3752===void 0x0?_0x33bd06(_0x4b03e5,_0x363b20,!0x0):_0x60fa2e?_0x33bd06(_0x4b03e5,_0x5e3752,_0x363b20['replace'](/\\/g,'')):_0x33bd06(_0x4b03e5,_0x5e3752,_0x363b20),_0x33bd06(_0x1a9097,_0x25a489,_0x4b03e5)),_0x1a9097;}function _0x244920(_0x24fca3){const _0x4e5ec0=_0x42e2;return Object[_0x4e5ec0(0x258)](_0x24fca3)[_0x4e5ec0(0x1ba)](_0x457c12=>{const _0x8c467b=_0x4e5ec0;let _0x282c3d=_0x24fca3[_0x457c12];return Array['isArray'](_0x282c3d)||(_0x282c3d=[_0x282c3d]),_0x282c3d[_0x8c467b(0x1ba)](_0x2ff462=>[_0x457c12][_0x8c467b(0x186)](Object[_0x8c467b(0x258)](_0x2ff462)[_0x8c467b(0x1ba)](_0x84d750=>{const _0x2cf84e=_0x8c467b;let _0x37c29c=_0x2ff462[_0x84d750];return Array[_0x2cf84e(0x2f7)](_0x37c29c)||(_0x37c29c=[_0x37c29c]),_0x37c29c[_0x2cf84e(0x1ba)](_0x4e13fb=>_0x4e13fb===!0x0?_0x84d750:_0x84d750+'='+_0x4e13fb)['join'](';\x20');}))[_0x8c467b(0x25a)](';\x20'))['join'](',\x20');})['join'](',\x20');}return be={'format':_0x244920,'parse':_0x549fcf},be;}var we,st;function Ie(){const _0x58b6d5=_0xc4267b;if(st)return we;st=0x1;const _0x2b406e=_0x5efd75,_0x1d4b42=_0x302ef0,_0x2028e7=_0x120c00,_0xe56496=_0x2a6982,_0x470dad=_0x3fbfc6,{randomBytes:_0x5d38b0,createHash:_0x1aed5f}=_0x5454a,{Duplex:_0x310dc6,Readable:_0x394faf}=_0x333975,{URL:_0x590e56}=_0x591f21,_0x3bc537=he(),_0x187470=dt(),_0x5e7d77=_t(),{isBlob:_0xba9917}=ne(),{BINARY_TYPES:_0x56e212,EMPTY_BUFFER:_0x3c405c,GUID:_0x57a933,kForOnEventAttribute:_0x2517d6,kListener:_0x362a69,kStatusCode:_0x4f0da9,kWebSocket:_0x589908,NOOP:_0x48c73d}=V(),{EventTarget:{addEventListener:_0x2ea1a1,removeEventListener:_0xcbf842}}=Kt(),{format:_0x4db8d6,parse:_0x2c0785}=pt(),{toBuffer:_0x474e76}=ce(),_0x3499b4=0x1e*0x3e8,_0x751fd0=Symbol(_0x58b6d5(0x2b3)),_0x5a61fb=[0x8,0xd],_0x9ec5ef=[_0x58b6d5(0x2a3),_0x58b6d5(0x2c3),_0x58b6d5(0x28b),'CLOSED'],_0x462105=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x36c0dd extends _0x2b406e{constructor(_0x4855eb,_0x4bf6db,_0x5b660d){const _0x52983b=_0x58b6d5;super(),this[_0x52983b(0x2c5)]=_0x56e212[0x0],this[_0x52983b(0x224)]=0x3ee,this[_0x52983b(0x167)]=!0x1,this[_0x52983b(0x2b4)]=!0x1,this[_0x52983b(0x223)]=_0x3c405c,this[_0x52983b(0x2d3)]=null,this[_0x52983b(0x1ed)]=!0x1,this[_0x52983b(0x191)]={},this[_0x52983b(0x1f4)]=!0x1,this[_0x52983b(0x220)]='',this[_0x52983b(0x27f)]=_0x36c0dd[_0x52983b(0x2a3)],this[_0x52983b(0x303)]=null,this['_sender']=null,this['_socket']=null,_0x4855eb!==null?(this[_0x52983b(0x208)]=0x0,this[_0x52983b(0x2f5)]=!0x1,this[_0x52983b(0x164)]=0x0,_0x4bf6db===void 0x0?_0x4bf6db=[]:Array['isArray'](_0x4bf6db)||(typeof _0x4bf6db==_0x52983b(0x237)&&_0x4bf6db!==null?(_0x5b660d=_0x4bf6db,_0x4bf6db=[]):_0x4bf6db=[_0x4bf6db]),_0x2b1b36(this,_0x4855eb,_0x4bf6db,_0x5b660d)):(this[_0x52983b(0x2b9)]=_0x5b660d['autoPong'],this['_isServer']=!0x0);}get[_0x58b6d5(0x1d3)](){const _0x44d50c=_0x58b6d5;return this[_0x44d50c(0x2c5)];}set[_0x58b6d5(0x1d3)](_0x1d5dc6){const _0x2c9caa=_0x58b6d5;_0x56e212[_0x2c9caa(0x195)](_0x1d5dc6)&&(this[_0x2c9caa(0x2c5)]=_0x1d5dc6,this[_0x2c9caa(0x303)]&&(this[_0x2c9caa(0x303)]['_binaryType']=_0x1d5dc6));}get[_0x58b6d5(0x184)](){const _0x42d29c=_0x58b6d5;return this[_0x42d29c(0x2cc)]?this[_0x42d29c(0x2cc)]['_writableState'][_0x42d29c(0x209)]+this[_0x42d29c(0x1c1)][_0x42d29c(0x20a)]:this['_bufferedAmount'];}get['extensions'](){const _0x28f622=_0x58b6d5;return Object[_0x28f622(0x258)](this['_extensions'])['join']();}get[_0x58b6d5(0x26b)](){const _0x59be80=_0x58b6d5;return this[_0x59be80(0x1f4)];}get[_0x58b6d5(0x299)](){return null;}get[_0x58b6d5(0x29a)](){return null;}get[_0x58b6d5(0x2c4)](){return null;}get[_0x58b6d5(0x271)](){return null;}get[_0x58b6d5(0x1fe)](){return this['_protocol'];}get[_0x58b6d5(0x1ae)](){const _0x58e7d7=_0x58b6d5;return this[_0x58e7d7(0x27f)];}get[_0x58b6d5(0x2d4)](){return this['_url'];}['setSocket'](_0x729c14,_0x1d2cfe,_0x24d6f5){const _0x5ec492=_0x58b6d5,_0x2a1e2c=new _0x187470({'allowSynchronousEvents':_0x24d6f5[_0x5ec492(0x197)],'binaryType':this[_0x5ec492(0x1d3)],'extensions':this['_extensions'],'isServer':this['_isServer'],'maxPayload':_0x24d6f5[_0x5ec492(0x2b8)],'skipUTF8Validation':_0x24d6f5[_0x5ec492(0x1e5)]}),_0x2406d8=new _0x5e7d77(_0x729c14,this[_0x5ec492(0x191)],_0x24d6f5[_0x5ec492(0x218)]);this['_receiver']=_0x2a1e2c,this[_0x5ec492(0x1c1)]=_0x2406d8,this[_0x5ec492(0x2cc)]=_0x729c14,_0x2a1e2c[_0x589908]=this,_0x2406d8[_0x589908]=this,_0x729c14[_0x589908]=this,_0x2a1e2c['on'](_0x5ec492(0x21d),_0x59fc6e),_0x2a1e2c['on'](_0x5ec492(0x1f8),_0x158849),_0x2a1e2c['on'](_0x5ec492(0x287),_0x449abe),_0x2a1e2c['on']('message',_0x4df9d0),_0x2a1e2c['on'](_0x5ec492(0x1c4),_0x54282d),_0x2a1e2c['on'](_0x5ec492(0x222),_0x2c4ef5),_0x2406d8[_0x5ec492(0x29a)]=_0x135ecc,_0x729c14[_0x5ec492(0x179)]&&_0x729c14[_0x5ec492(0x179)](0x0),_0x729c14[_0x5ec492(0x17d)]&&_0x729c14[_0x5ec492(0x17d)](),_0x1d2cfe['length']>0x0&&_0x729c14[_0x5ec492(0x264)](_0x1d2cfe),_0x729c14['on']('close',_0xd02aa4),_0x729c14['on'](_0x5ec492(0x22b),_0x213464),_0x729c14['on'](_0x5ec492(0x238),_0x1956d3),_0x729c14['on']('error',_0x1fea92),this[_0x5ec492(0x27f)]=_0x36c0dd[_0x5ec492(0x2c3)],this['emit']('open');}[_0x58b6d5(0x16a)](){const _0x430063=_0x58b6d5;if(!this[_0x430063(0x2cc)]){this['_readyState']=_0x36c0dd[_0x430063(0x278)],this[_0x430063(0x1d6)](_0x430063(0x1c6),this[_0x430063(0x224)],this[_0x430063(0x223)]);return;}this[_0x430063(0x191)][_0x3bc537['extensionName']]&&this['_extensions'][_0x3bc537[_0x430063(0x1ab)]]['cleanup'](),this['_receiver'][_0x430063(0x301)](),this[_0x430063(0x27f)]=_0x36c0dd[_0x430063(0x278)],this[_0x430063(0x1d6)](_0x430063(0x1c6),this[_0x430063(0x224)],this[_0x430063(0x223)]);}[_0x58b6d5(0x1c6)](_0x53f06c,_0x15cb98){const _0x390d10=_0x58b6d5;if(this[_0x390d10(0x1ae)]!==_0x36c0dd[_0x390d10(0x278)]){if(this[_0x390d10(0x1ae)]===_0x36c0dd[_0x390d10(0x2a3)]){_0x108dc7(this,this[_0x390d10(0x2de)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}if(this[_0x390d10(0x1ae)]===_0x36c0dd[_0x390d10(0x28b)]){this['_closeFrameSent']&&(this[_0x390d10(0x167)]||this[_0x390d10(0x303)][_0x390d10(0x165)][_0x390d10(0x273)])&&this[_0x390d10(0x2cc)][_0x390d10(0x238)]();return;}this[_0x390d10(0x27f)]=_0x36c0dd[_0x390d10(0x28b)],this[_0x390d10(0x1c1)]['close'](_0x53f06c,_0x15cb98,!this['_isServer'],_0x467ad3=>{const _0x43015c=_0x390d10;_0x467ad3||(this[_0x43015c(0x2b4)]=!0x0,(this[_0x43015c(0x167)]||this[_0x43015c(0x303)][_0x43015c(0x165)][_0x43015c(0x273)])&&this[_0x43015c(0x2cc)][_0x43015c(0x238)]());}),_0x1bc7c7(this);}}[_0x58b6d5(0x283)](){const _0x8ceb2=_0x58b6d5;this[_0x8ceb2(0x1ae)]===_0x36c0dd[_0x8ceb2(0x2a3)]||this['readyState']===_0x36c0dd[_0x8ceb2(0x278)]||(this[_0x8ceb2(0x1f4)]=!0x0,this[_0x8ceb2(0x2cc)][_0x8ceb2(0x283)]());}[_0x58b6d5(0x1c4)](_0x200ef0,_0x45d141,_0x229689){const _0x171836=_0x58b6d5;if(this['readyState']===_0x36c0dd['CONNECTING'])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x200ef0==_0x171836(0x22a)?(_0x229689=_0x200ef0,_0x200ef0=_0x45d141=void 0x0):typeof _0x45d141==_0x171836(0x22a)&&(_0x229689=_0x45d141,_0x45d141=void 0x0),typeof _0x200ef0==_0x171836(0x2a6)&&(_0x200ef0=_0x200ef0[_0x171836(0x18d)]()),this[_0x171836(0x1ae)]!==_0x36c0dd['OPEN']){_0x23caa2(this,_0x200ef0,_0x229689);return;}_0x45d141===void 0x0&&(_0x45d141=!this['_isServer']),this[_0x171836(0x1c1)][_0x171836(0x1c4)](_0x200ef0||_0x3c405c,_0x45d141,_0x229689);}[_0x58b6d5(0x222)](_0x166e58,_0x5acaa1,_0x1bdbfa){const _0x38ac43=_0x58b6d5;if(this[_0x38ac43(0x1ae)]===_0x36c0dd['CONNECTING'])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x166e58==_0x38ac43(0x22a)?(_0x1bdbfa=_0x166e58,_0x166e58=_0x5acaa1=void 0x0):typeof _0x5acaa1=='function'&&(_0x1bdbfa=_0x5acaa1,_0x5acaa1=void 0x0),typeof _0x166e58==_0x38ac43(0x2a6)&&(_0x166e58=_0x166e58['toString']()),this['readyState']!==_0x36c0dd['OPEN']){_0x23caa2(this,_0x166e58,_0x1bdbfa);return;}_0x5acaa1===void 0x0&&(_0x5acaa1=!this[_0x38ac43(0x2f5)]),this[_0x38ac43(0x1c1)][_0x38ac43(0x222)](_0x166e58||_0x3c405c,_0x5acaa1,_0x1bdbfa);}[_0x58b6d5(0x28c)](){const _0x11677f=_0x58b6d5;this['readyState']===_0x36c0dd[_0x11677f(0x2a3)]||this[_0x11677f(0x1ae)]===_0x36c0dd['CLOSED']||(this[_0x11677f(0x1f4)]=!0x1,this[_0x11677f(0x303)][_0x11677f(0x165)][_0x11677f(0x261)]||this[_0x11677f(0x2cc)]['resume']());}[_0x58b6d5(0x201)](_0x63ff89,_0x9dd727,_0x3bbc61){const _0x2aa3fa=_0x58b6d5;if(this['readyState']===_0x36c0dd[_0x2aa3fa(0x2a3)])throw new Error(_0x2aa3fa(0x1dd));if(typeof _0x9dd727=='function'&&(_0x3bbc61=_0x9dd727,_0x9dd727={}),typeof _0x63ff89==_0x2aa3fa(0x2a6)&&(_0x63ff89=_0x63ff89[_0x2aa3fa(0x18d)]()),this['readyState']!==_0x36c0dd[_0x2aa3fa(0x2c3)]){_0x23caa2(this,_0x63ff89,_0x3bbc61);return;}const _0x303cda={'binary':typeof _0x63ff89!=_0x2aa3fa(0x269),'mask':!this['_isServer'],'compress':!0x0,'fin':!0x0,..._0x9dd727};this[_0x2aa3fa(0x191)][_0x3bc537[_0x2aa3fa(0x1ab)]]||(_0x303cda[_0x2aa3fa(0x200)]=!0x1),this[_0x2aa3fa(0x1c1)][_0x2aa3fa(0x201)](_0x63ff89||_0x3c405c,_0x303cda,_0x3bbc61);}[_0x58b6d5(0x2fd)](){const _0x534a25=_0x58b6d5;if(this[_0x534a25(0x1ae)]!==_0x36c0dd['CLOSED']){if(this[_0x534a25(0x1ae)]===_0x36c0dd[_0x534a25(0x2a3)]){_0x108dc7(this,this[_0x534a25(0x2de)],_0x534a25(0x25e));return;}this[_0x534a25(0x2cc)]&&(this[_0x534a25(0x27f)]=_0x36c0dd[_0x534a25(0x28b)],this[_0x534a25(0x2cc)]['destroy']());}}}Object[_0x58b6d5(0x1c0)](_0x36c0dd,_0x58b6d5(0x2a3),{'enumerable':!0x0,'value':_0x9ec5ef[_0x58b6d5(0x207)]('CONNECTING')}),Object['defineProperty'](_0x36c0dd[_0x58b6d5(0x1c7)],_0x58b6d5(0x2a3),{'enumerable':!0x0,'value':_0x9ec5ef[_0x58b6d5(0x207)](_0x58b6d5(0x2a3))}),Object[_0x58b6d5(0x1c0)](_0x36c0dd,_0x58b6d5(0x2c3),{'enumerable':!0x0,'value':_0x9ec5ef[_0x58b6d5(0x207)](_0x58b6d5(0x2c3))}),Object[_0x58b6d5(0x1c0)](_0x36c0dd['prototype'],'OPEN',{'enumerable':!0x0,'value':_0x9ec5ef[_0x58b6d5(0x207)](_0x58b6d5(0x2c3))}),Object[_0x58b6d5(0x1c0)](_0x36c0dd,_0x58b6d5(0x28b),{'enumerable':!0x0,'value':_0x9ec5ef['indexOf'](_0x58b6d5(0x28b))}),Object[_0x58b6d5(0x1c0)](_0x36c0dd[_0x58b6d5(0x1c7)],_0x58b6d5(0x28b),{'enumerable':!0x0,'value':_0x9ec5ef['indexOf'](_0x58b6d5(0x28b))}),Object[_0x58b6d5(0x1c0)](_0x36c0dd,_0x58b6d5(0x278),{'enumerable':!0x0,'value':_0x9ec5ef[_0x58b6d5(0x207)](_0x58b6d5(0x278))}),Object[_0x58b6d5(0x1c0)](_0x36c0dd[_0x58b6d5(0x1c7)],_0x58b6d5(0x278),{'enumerable':!0x0,'value':_0x9ec5ef[_0x58b6d5(0x207)]('CLOSED')}),[_0x58b6d5(0x1d3),'bufferedAmount','extensions','isPaused','protocol','readyState',_0x58b6d5(0x2d4)]['forEach'](_0x14a7ac=>{const _0x1ede74=_0x58b6d5;Object[_0x1ede74(0x1c0)](_0x36c0dd['prototype'],_0x14a7ac,{'enumerable':!0x0});}),[_0x58b6d5(0x1a1),_0x58b6d5(0x287),_0x58b6d5(0x1c6),_0x58b6d5(0x272)][_0x58b6d5(0x1b9)](_0x558173=>{const _0x5bfe82=_0x58b6d5;Object['defineProperty'](_0x36c0dd[_0x5bfe82(0x1c7)],'on'+_0x558173,{'enumerable':!0x0,'get'(){const _0x4d79e8=_0x5bfe82;for(const _0x344cd6 of this[_0x4d79e8(0x1cf)](_0x558173))if(_0x344cd6[_0x2517d6])return _0x344cd6[_0x362a69];return null;},'set'(_0x5300bf){const _0x28427b=_0x5bfe82;for(const _0x430c49 of this[_0x28427b(0x1cf)](_0x558173))if(_0x430c49[_0x2517d6]){this[_0x28427b(0x170)](_0x558173,_0x430c49);break;}typeof _0x5300bf==_0x28427b(0x22a)&&this[_0x28427b(0x1a2)](_0x558173,_0x5300bf,{[_0x2517d6]:!0x0});}});}),_0x36c0dd[_0x58b6d5(0x1c7)][_0x58b6d5(0x1a2)]=_0x2ea1a1,_0x36c0dd[_0x58b6d5(0x1c7)][_0x58b6d5(0x174)]=_0xcbf842,we=_0x36c0dd;function _0x2b1b36(_0x266fbf,_0x32c111,_0x4efd2a,_0x93ba2d){const _0x12ab29=_0x58b6d5,_0x45b1e9={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x5a61fb[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x93ba2d,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x12ab29(0x21e),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x266fbf[_0x12ab29(0x2b9)]=_0x45b1e9[_0x12ab29(0x308)],!_0x5a61fb[_0x12ab29(0x195)](_0x45b1e9[_0x12ab29(0x298)]))throw new RangeError('Unsupported\x20protocol\x20version:\x20'+_0x45b1e9[_0x12ab29(0x298)]+_0x12ab29(0x1ca)+_0x5a61fb['join'](',\x20')+')');let _0x18142d;if(_0x32c111 instanceof _0x590e56)_0x18142d=_0x32c111;else try{_0x18142d=new _0x590e56(_0x32c111);}catch{throw new SyntaxError(_0x12ab29(0x1d2)+_0x32c111);}_0x18142d[_0x12ab29(0x1fe)]===_0x12ab29(0x2aa)?_0x18142d[_0x12ab29(0x1fe)]='ws:':_0x18142d[_0x12ab29(0x1fe)]===_0x12ab29(0x1f3)&&(_0x18142d[_0x12ab29(0x1fe)]=_0x12ab29(0x309)),_0x266fbf[_0x12ab29(0x190)]=_0x18142d[_0x12ab29(0x295)];const _0xf14c50=_0x18142d[_0x12ab29(0x1fe)]==='wss:',_0x2bb3a7=_0x18142d['protocol']==='ws+unix:';let _0x2f892c;if(_0x18142d[_0x12ab29(0x1fe)]!==_0x12ab29(0x2d8)&&!_0xf14c50&&!_0x2bb3a7?_0x2f892c=_0x12ab29(0x1e0):_0x2bb3a7&&!_0x18142d[_0x12ab29(0x30b)]?_0x2f892c=_0x12ab29(0x2ba):_0x18142d[_0x12ab29(0x2d1)]&&(_0x2f892c=_0x12ab29(0x18c)),_0x2f892c){const _0x1c996a=new SyntaxError(_0x2f892c);if(_0x266fbf[_0x12ab29(0x164)]===0x0)throw _0x1c996a;_0x3ece96(_0x266fbf,_0x1c996a);return;}const _0x25c4ae=_0xf14c50?0x1bb:0x50,_0x1fcb74=_0x5d38b0(0x10)[_0x12ab29(0x18d)](_0x12ab29(0x1cd)),_0x400a3b=_0xf14c50?_0x1d4b42[_0x12ab29(0x213)]:_0x2028e7[_0x12ab29(0x213)],_0x30b8b8=new Set();let _0x48c89f;if(_0x45b1e9[_0x12ab29(0x217)]=_0x45b1e9[_0x12ab29(0x217)]||(_0xf14c50?_0x39e593:_0x4651e1),_0x45b1e9[_0x12ab29(0x2c8)]=_0x45b1e9[_0x12ab29(0x2c8)]||_0x25c4ae,_0x45b1e9[_0x12ab29(0x1f2)]=_0x18142d[_0x12ab29(0x1f2)]||_0x25c4ae,_0x45b1e9['host']=_0x18142d[_0x12ab29(0x17e)][_0x12ab29(0x22e)]('[')?_0x18142d[_0x12ab29(0x17e)][_0x12ab29(0x2f6)](0x1,-0x1):_0x18142d['hostname'],_0x45b1e9[_0x12ab29(0x1bf)]={..._0x45b1e9[_0x12ab29(0x1bf)],'Sec-WebSocket-Version':_0x45b1e9['protocolVersion'],'Sec-WebSocket-Key':_0x1fcb74,'Connection':_0x12ab29(0x1e1),'Upgrade':_0x12ab29(0x2ee)},_0x45b1e9[_0x12ab29(0x2ff)]=_0x18142d[_0x12ab29(0x30b)]+_0x18142d[_0x12ab29(0x259)],_0x45b1e9[_0x12ab29(0x182)]=_0x45b1e9['handshakeTimeout'],_0x45b1e9['perMessageDeflate']&&(_0x48c89f=new _0x3bc537(_0x45b1e9[_0x12ab29(0x16f)]!==!0x0?_0x45b1e9[_0x12ab29(0x16f)]:{},!0x1,_0x45b1e9[_0x12ab29(0x2b8)]),_0x45b1e9[_0x12ab29(0x1bf)]['Sec-WebSocket-Extensions']=_0x4db8d6({[_0x3bc537[_0x12ab29(0x1ab)]]:_0x48c89f[_0x12ab29(0x277)]()})),_0x4efd2a[_0x12ab29(0x209)]){for(const _0x329b2f of _0x4efd2a){if(typeof _0x329b2f!=_0x12ab29(0x269)||!_0x462105[_0x12ab29(0x210)](_0x329b2f)||_0x30b8b8[_0x12ab29(0x2f3)](_0x329b2f))throw new SyntaxError(_0x12ab29(0x216));_0x30b8b8[_0x12ab29(0x1c2)](_0x329b2f);}_0x45b1e9[_0x12ab29(0x1bf)][_0x12ab29(0x203)]=_0x4efd2a['join'](',');}if(_0x45b1e9['origin']&&(_0x45b1e9[_0x12ab29(0x298)]<0xd?_0x45b1e9[_0x12ab29(0x1bf)][_0x12ab29(0x30d)]=_0x45b1e9[_0x12ab29(0x239)]:_0x45b1e9[_0x12ab29(0x1bf)][_0x12ab29(0x289)]=_0x45b1e9[_0x12ab29(0x239)]),(_0x18142d['username']||_0x18142d[_0x12ab29(0x231)])&&(_0x45b1e9[_0x12ab29(0x177)]=_0x18142d['username']+':'+_0x18142d[_0x12ab29(0x231)]),_0x2bb3a7){const _0x18cb0f=_0x45b1e9[_0x12ab29(0x2ff)]['split'](':');_0x45b1e9[_0x12ab29(0x310)]=_0x18cb0f[0x0],_0x45b1e9[_0x12ab29(0x2ff)]=_0x18cb0f[0x1];}let _0x4e815b;if(_0x45b1e9[_0x12ab29(0x251)]){if(_0x266fbf['_redirects']===0x0){_0x266fbf['_originalIpc']=_0x2bb3a7,_0x266fbf[_0x12ab29(0x291)]=_0xf14c50,_0x266fbf[_0x12ab29(0x229)]=_0x2bb3a7?_0x45b1e9[_0x12ab29(0x310)]:_0x18142d[_0x12ab29(0x221)];const _0x5218f4=_0x93ba2d&&_0x93ba2d[_0x12ab29(0x1bf)];if(_0x93ba2d={..._0x93ba2d,'headers':{}},_0x5218f4){for(const [_0x31deb7,_0x54eb04]of Object[_0x12ab29(0x2f1)](_0x5218f4))_0x93ba2d['headers'][_0x31deb7['toLowerCase']()]=_0x54eb04;}}else{if(_0x266fbf['listenerCount']('redirect')===0x0){const _0x4fe47d=_0x2bb3a7?_0x266fbf[_0x12ab29(0x294)]?_0x45b1e9[_0x12ab29(0x310)]===_0x266fbf[_0x12ab29(0x229)]:!0x1:_0x266fbf['_originalIpc']?!0x1:_0x18142d['host']===_0x266fbf['_originalHostOrSocketPath'];(!_0x4fe47d||_0x266fbf['_originalSecure']&&!_0xf14c50)&&(delete _0x45b1e9[_0x12ab29(0x1bf)][_0x12ab29(0x2c2)],delete _0x45b1e9[_0x12ab29(0x1bf)][_0x12ab29(0x2ca)],_0x4fe47d||delete _0x45b1e9['headers'][_0x12ab29(0x221)],_0x45b1e9[_0x12ab29(0x177)]=void 0x0);}}_0x45b1e9['auth']&&!_0x93ba2d['headers']['authorization']&&(_0x93ba2d[_0x12ab29(0x1bf)]['authorization']=_0x12ab29(0x1e6)+Buffer[_0x12ab29(0x268)](_0x45b1e9[_0x12ab29(0x177)])['toString']('base64')),_0x4e815b=_0x266fbf[_0x12ab29(0x2de)]=_0x400a3b(_0x45b1e9),_0x266fbf['_redirects']&&_0x266fbf[_0x12ab29(0x1d6)]('redirect',_0x266fbf[_0x12ab29(0x2d4)],_0x4e815b);}else _0x4e815b=_0x266fbf[_0x12ab29(0x2de)]=_0x400a3b(_0x45b1e9);_0x45b1e9['timeout']&&_0x4e815b['on'](_0x12ab29(0x182),()=>{_0x108dc7(_0x266fbf,_0x4e815b,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x4e815b['on'](_0x12ab29(0x287),_0x53265b=>{const _0xea958a=_0x12ab29;_0x4e815b===null||_0x4e815b[_0x751fd0]||(_0x4e815b=_0x266fbf[_0xea958a(0x2de)]=null,_0x3ece96(_0x266fbf,_0x53265b));}),_0x4e815b['on']('response',_0x1bd764=>{const _0x2de3d6=_0x12ab29,_0x523b01=_0x1bd764['headers'][_0x2de3d6(0x256)],_0x1d7e2c=_0x1bd764[_0x2de3d6(0x23e)];if(_0x523b01&&_0x45b1e9[_0x2de3d6(0x251)]&&_0x1d7e2c>=0x12c&&_0x1d7e2c<0x190){if(++_0x266fbf[_0x2de3d6(0x164)]>_0x45b1e9['maxRedirects']){_0x108dc7(_0x266fbf,_0x4e815b,_0x2de3d6(0x1a5));return;}_0x4e815b[_0x2de3d6(0x26a)]();let _0x1ada84;try{_0x1ada84=new _0x590e56(_0x523b01,_0x32c111);}catch{const _0x326d59=new SyntaxError(_0x2de3d6(0x1d2)+_0x523b01);_0x3ece96(_0x266fbf,_0x326d59);return;}_0x2b1b36(_0x266fbf,_0x1ada84,_0x4efd2a,_0x93ba2d);}else _0x266fbf[_0x2de3d6(0x1d6)]('unexpected-response',_0x4e815b,_0x1bd764)||_0x108dc7(_0x266fbf,_0x4e815b,'Unexpected\x20server\x20response:\x20'+_0x1bd764['statusCode']);}),_0x4e815b['on'](_0x12ab29(0x1d5),(_0x5e1e3d,_0x315e17,_0x60c936)=>{const _0x37d79e=_0x12ab29;if(_0x266fbf[_0x37d79e(0x1d6)](_0x37d79e(0x1d5),_0x5e1e3d),_0x266fbf['readyState']!==_0x36c0dd[_0x37d79e(0x2a3)])return;_0x4e815b=_0x266fbf[_0x37d79e(0x2de)]=null;const _0x399226=_0x5e1e3d[_0x37d79e(0x1bf)]['upgrade'];if(_0x399226===void 0x0||_0x399226[_0x37d79e(0x2f2)]()!=='websocket'){_0x108dc7(_0x266fbf,_0x315e17,'Invalid\x20Upgrade\x20header');return;}const _0x2774c1=_0x1aed5f(_0x37d79e(0x180))[_0x37d79e(0x2d6)](_0x1fcb74+_0x57a933)['digest'](_0x37d79e(0x1cd));if(_0x5e1e3d[_0x37d79e(0x1bf)][_0x37d79e(0x1d8)]!==_0x2774c1){_0x108dc7(_0x266fbf,_0x315e17,'Invalid\x20Sec-WebSocket-Accept\x20header');return;}const _0xd905bf=_0x5e1e3d[_0x37d79e(0x1bf)][_0x37d79e(0x293)];let _0x3e57c4;if(_0xd905bf!==void 0x0?_0x30b8b8[_0x37d79e(0x2ec)]?_0x30b8b8[_0x37d79e(0x2f3)](_0xd905bf)||(_0x3e57c4=_0x37d79e(0x2fe)):_0x3e57c4=_0x37d79e(0x21b):_0x30b8b8['size']&&(_0x3e57c4=_0x37d79e(0x1cc)),_0x3e57c4){_0x108dc7(_0x266fbf,_0x315e17,_0x3e57c4);return;}_0xd905bf&&(_0x266fbf[_0x37d79e(0x220)]=_0xd905bf);const _0x486921=_0x5e1e3d[_0x37d79e(0x1bf)]['sec-websocket-extensions'];if(_0x486921!==void 0x0){if(!_0x48c89f){_0x108dc7(_0x266fbf,_0x315e17,_0x37d79e(0x244));return;}let _0x1c620f;try{_0x1c620f=_0x2c0785(_0x486921);}catch{_0x108dc7(_0x266fbf,_0x315e17,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0x281b6d=Object['keys'](_0x1c620f);if(_0x281b6d[_0x37d79e(0x209)]!==0x1||_0x281b6d[0x0]!==_0x3bc537[_0x37d79e(0x1ab)]){_0x108dc7(_0x266fbf,_0x315e17,'Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested');return;}try{_0x48c89f['accept'](_0x1c620f[_0x3bc537[_0x37d79e(0x1ab)]]);}catch{_0x108dc7(_0x266fbf,_0x315e17,_0x37d79e(0x1ff));return;}_0x266fbf[_0x37d79e(0x191)][_0x3bc537[_0x37d79e(0x1ab)]]=_0x48c89f;}_0x266fbf[_0x37d79e(0x275)](_0x315e17,_0x60c936,{'allowSynchronousEvents':_0x45b1e9[_0x37d79e(0x197)],'generateMask':_0x45b1e9[_0x37d79e(0x218)],'maxPayload':_0x45b1e9[_0x37d79e(0x2b8)],'skipUTF8Validation':_0x45b1e9[_0x37d79e(0x1e5)]});}),_0x45b1e9[_0x12ab29(0x1e8)]?_0x45b1e9[_0x12ab29(0x1e8)](_0x4e815b,_0x266fbf):_0x4e815b[_0x12ab29(0x238)]();}function _0x3ece96(_0x293246,_0x552036){const _0x4fac05=_0x58b6d5;_0x293246[_0x4fac05(0x27f)]=_0x36c0dd['CLOSING'],_0x293246[_0x4fac05(0x1ed)]=!0x0,_0x293246[_0x4fac05(0x1d6)](_0x4fac05(0x287),_0x552036),_0x293246[_0x4fac05(0x16a)]();}function _0x4651e1(_0x1478dc){const _0x58dee0=_0x58b6d5;return _0x1478dc[_0x58dee0(0x2ff)]=_0x1478dc[_0x58dee0(0x310)],_0xe56496['connect'](_0x1478dc);}function _0x39e593(_0x50fd72){const _0x38ec0f=_0x58b6d5;return _0x50fd72[_0x38ec0f(0x2ff)]=void 0x0,!_0x50fd72[_0x38ec0f(0x260)]&&_0x50fd72[_0x38ec0f(0x260)]!==''&&(_0x50fd72['servername']=_0xe56496[_0x38ec0f(0x28a)](_0x50fd72[_0x38ec0f(0x221)])?'':_0x50fd72[_0x38ec0f(0x221)]),_0x470dad[_0x38ec0f(0x215)](_0x50fd72);}function _0x108dc7(_0xb59bdf,_0x1a566a,_0x3dee9a){const _0x2f9791=_0x58b6d5;_0xb59bdf[_0x2f9791(0x27f)]=_0x36c0dd[_0x2f9791(0x28b)];const _0x3fe8de=new Error(_0x3dee9a);Error[_0x2f9791(0x2df)](_0x3fe8de,_0x108dc7),_0x1a566a[_0x2f9791(0x30c)]?(_0x1a566a[_0x751fd0]=!0x0,_0x1a566a[_0x2f9791(0x26a)](),_0x1a566a['socket']&&!_0x1a566a['socket'][_0x2f9791(0x2ed)]&&_0x1a566a[_0x2f9791(0x2d5)][_0x2f9791(0x281)](),process[_0x2f9791(0x25b)](_0x3ece96,_0xb59bdf,_0x3fe8de)):(_0x1a566a['destroy'](_0x3fe8de),_0x1a566a['once']('error',_0xb59bdf['emit'][_0x2f9791(0x2a1)](_0xb59bdf,_0x2f9791(0x287))),_0x1a566a[_0x2f9791(0x23b)]('close',_0xb59bdf[_0x2f9791(0x16a)][_0x2f9791(0x2a1)](_0xb59bdf)));}function _0x23caa2(_0x279466,_0x45750f,_0x20c905){const _0xe43779=_0x58b6d5;if(_0x45750f){const _0x29c721=_0xba9917(_0x45750f)?_0x45750f[_0xe43779(0x2ec)]:_0x474e76(_0x45750f)[_0xe43779(0x209)];_0x279466[_0xe43779(0x2cc)]?_0x279466[_0xe43779(0x1c1)][_0xe43779(0x20a)]+=_0x29c721:_0x279466[_0xe43779(0x208)]+=_0x29c721;}if(_0x20c905){const _0xd004eb=new Error(_0xe43779(0x307)+_0x279466[_0xe43779(0x1ae)]+'\x20('+_0x9ec5ef[_0x279466[_0xe43779(0x1ae)]]+')');process[_0xe43779(0x25b)](_0x20c905,_0xd004eb);}}function _0x59fc6e(_0x28ab27,_0x443c34){const _0x311b39=_0x58b6d5,_0x5059ff=this[_0x589908];_0x5059ff['_closeFrameReceived']=!0x0,_0x5059ff[_0x311b39(0x223)]=_0x443c34,_0x5059ff['_closeCode']=_0x28ab27,_0x5059ff[_0x311b39(0x2cc)][_0x589908]!==void 0x0&&(_0x5059ff[_0x311b39(0x2cc)][_0x311b39(0x170)](_0x311b39(0x22b),_0x213464),process[_0x311b39(0x25b)](_0x1d4503,_0x5059ff['_socket']),_0x28ab27===0x3ed?_0x5059ff['close']():_0x5059ff['close'](_0x28ab27,_0x443c34));}function _0x158849(){const _0x2a8594=_0x58b6d5,_0x4560af=this[_0x589908];_0x4560af[_0x2a8594(0x26b)]||_0x4560af['_socket'][_0x2a8594(0x28c)]();}function _0x449abe(_0xc8b376){const _0x5c992e=_0x58b6d5,_0x5187f7=this[_0x589908];_0x5187f7[_0x5c992e(0x2cc)][_0x589908]!==void 0x0&&(_0x5187f7[_0x5c992e(0x2cc)][_0x5c992e(0x170)](_0x5c992e(0x22b),_0x213464),process[_0x5c992e(0x25b)](_0x1d4503,_0x5187f7['_socket']),_0x5187f7['close'](_0xc8b376[_0x4f0da9])),_0x5187f7[_0x5c992e(0x1ed)]||(_0x5187f7['_errorEmitted']=!0x0,_0x5187f7[_0x5c992e(0x1d6)](_0x5c992e(0x287),_0xc8b376));}function _0x27fc25(){const _0x587719=_0x58b6d5;this[_0x589908][_0x587719(0x16a)]();}function _0x4df9d0(_0x59afcc,_0x444643){const _0x1871a1=_0x58b6d5;this[_0x589908][_0x1871a1(0x1d6)](_0x1871a1(0x272),_0x59afcc,_0x444643);}function _0x54282d(_0x1459cb){const _0x1495d0=_0x58b6d5,_0x9f94df=this[_0x589908];_0x9f94df['_autoPong']&&_0x9f94df[_0x1495d0(0x222)](_0x1459cb,!this[_0x1495d0(0x2f5)],_0x48c73d),_0x9f94df['emit'](_0x1495d0(0x1c4),_0x1459cb);}function _0x2c4ef5(_0x777933){const _0x1ad8b2=_0x58b6d5;this[_0x589908][_0x1ad8b2(0x1d6)](_0x1ad8b2(0x222),_0x777933);}function _0x1d4503(_0x19c0f8){const _0x530760=_0x58b6d5;_0x19c0f8[_0x530760(0x28c)]();}function _0x135ecc(_0x2b7a9b){const _0x2566e3=_0x58b6d5,_0x18cd1c=this[_0x589908];_0x18cd1c[_0x2566e3(0x1ae)]!==_0x36c0dd[_0x2566e3(0x278)]&&(_0x18cd1c[_0x2566e3(0x1ae)]===_0x36c0dd[_0x2566e3(0x2c3)]&&(_0x18cd1c[_0x2566e3(0x27f)]=_0x36c0dd[_0x2566e3(0x28b)],_0x1bc7c7(_0x18cd1c)),this[_0x2566e3(0x2cc)][_0x2566e3(0x238)](),_0x18cd1c['_errorEmitted']||(_0x18cd1c[_0x2566e3(0x1ed)]=!0x0,_0x18cd1c[_0x2566e3(0x1d6)](_0x2566e3(0x287),_0x2b7a9b)));}function _0x1bc7c7(_0x184f26){const _0x13237d=_0x58b6d5;_0x184f26[_0x13237d(0x2d3)]=setTimeout(_0x184f26[_0x13237d(0x2cc)][_0x13237d(0x281)][_0x13237d(0x2a1)](_0x184f26['_socket']),_0x3499b4);}function _0xd02aa4(){const _0x41c985=_0x58b6d5,_0x43bbb3=this[_0x589908];this[_0x41c985(0x170)]('close',_0xd02aa4),this[_0x41c985(0x170)]('data',_0x213464),this['removeListener'](_0x41c985(0x238),_0x1956d3),_0x43bbb3[_0x41c985(0x27f)]=_0x36c0dd[_0x41c985(0x28b)];let _0x643a6e;!this[_0x41c985(0x2bf)][_0x41c985(0x192)]&&!_0x43bbb3[_0x41c985(0x167)]&&!_0x43bbb3[_0x41c985(0x303)][_0x41c985(0x165)][_0x41c985(0x273)]&&(_0x643a6e=_0x43bbb3['_socket'][_0x41c985(0x290)]())!==null&&_0x43bbb3[_0x41c985(0x303)][_0x41c985(0x2a7)](_0x643a6e),_0x43bbb3[_0x41c985(0x303)][_0x41c985(0x238)](),this[_0x589908]=void 0x0,clearTimeout(_0x43bbb3['_closeTimer']),_0x43bbb3[_0x41c985(0x303)][_0x41c985(0x165)][_0x41c985(0x286)]||_0x43bbb3['_receiver'][_0x41c985(0x165)][_0x41c985(0x273)]?_0x43bbb3[_0x41c985(0x16a)]():(_0x43bbb3['_receiver']['on'](_0x41c985(0x287),_0x27fc25),_0x43bbb3[_0x41c985(0x303)]['on']('finish',_0x27fc25));}function _0x213464(_0x1840fa){const _0x55dbba=_0x58b6d5;this[_0x589908]['_receiver'][_0x55dbba(0x2a7)](_0x1840fa)||this['pause']();}function _0x1956d3(){const _0x1fce90=_0x58b6d5,_0x2c7b09=this[_0x589908];_0x2c7b09[_0x1fce90(0x27f)]=_0x36c0dd[_0x1fce90(0x28b)],_0x2c7b09[_0x1fce90(0x303)][_0x1fce90(0x238)](),this[_0x1fce90(0x238)]();}function _0x1fea92(){const _0x2b775e=_0x58b6d5,_0x5efed9=this[_0x589908];this['removeListener'](_0x2b775e(0x287),_0x1fea92),this['on'](_0x2b775e(0x287),_0x48c73d),_0x5efed9&&(_0x5efed9[_0x2b775e(0x27f)]=_0x36c0dd[_0x2b775e(0x28b)],this[_0x2b775e(0x281)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x549b32}=_0x333975;function _0x3da38a(_0x3b5436){const _0x1f351d=_0x42e2;_0x3b5436[_0x1f351d(0x1d6)](_0x1f351d(0x1c6));}function _0x31719b(){const _0x2ad41e=_0x42e2;!this['destroyed']&&this['_writableState'][_0x2ad41e(0x286)]&&this[_0x2ad41e(0x281)]();}function _0x1115e2(_0xa6880f){const _0x2c1519=_0x42e2;this[_0x2c1519(0x170)](_0x2c1519(0x287),_0x1115e2),this[_0x2c1519(0x281)](),this[_0x2c1519(0x1f9)]('error')===0x0&&this[_0x2c1519(0x1d6)](_0x2c1519(0x287),_0xa6880f);}function _0x1245e9(_0x3f2783,_0x472eff){const _0x248cf4=_0x42e2;let _0x28d30f=!0x0;const _0x3921fd=new _0x549b32({..._0x472eff,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x3f2783['on'](_0x248cf4(0x272),function(_0x5ba913,_0xc2a009){const _0x270316=_0x248cf4,_0x5e8330=!_0xc2a009&&_0x3921fd['_readableState'][_0x270316(0x17b)]?_0x5ba913[_0x270316(0x18d)]():_0x5ba913;_0x3921fd[_0x270316(0x175)](_0x5e8330)||_0x3f2783[_0x270316(0x283)]();}),_0x3f2783[_0x248cf4(0x23b)]('error',function(_0xad9261){const _0x34b4b1=_0x248cf4;_0x3921fd['destroyed']||(_0x28d30f=!0x1,_0x3921fd[_0x34b4b1(0x281)](_0xad9261));}),_0x3f2783[_0x248cf4(0x23b)](_0x248cf4(0x1c6),function(){const _0x48a1be=_0x248cf4;_0x3921fd[_0x48a1be(0x2ed)]||_0x3921fd[_0x48a1be(0x175)](null);}),_0x3921fd[_0x248cf4(0x2e0)]=function(_0x559b17,_0x4ccda4){const _0x2d8f13=_0x248cf4;if(_0x3f2783['readyState']===_0x3f2783[_0x2d8f13(0x278)]){_0x4ccda4(_0x559b17),process[_0x2d8f13(0x25b)](_0x3da38a,_0x3921fd);return;}let _0x21cc65=!0x1;_0x3f2783[_0x2d8f13(0x23b)](_0x2d8f13(0x287),function(_0x4f6dfc){_0x21cc65=!0x0,_0x4ccda4(_0x4f6dfc);}),_0x3f2783[_0x2d8f13(0x23b)](_0x2d8f13(0x1c6),function(){const _0x1e5fa3=_0x2d8f13;_0x21cc65||_0x4ccda4(_0x559b17),process[_0x1e5fa3(0x25b)](_0x3da38a,_0x3921fd);}),_0x28d30f&&_0x3f2783[_0x2d8f13(0x2fd)]();},_0x3921fd[_0x248cf4(0x246)]=function(_0x5b3cf4){const _0x199f73=_0x248cf4;if(_0x3f2783[_0x199f73(0x1ae)]===_0x3f2783[_0x199f73(0x2a3)]){_0x3f2783['once'](_0x199f73(0x1a1),function(){const _0xebcd56=_0x199f73;_0x3921fd[_0xebcd56(0x246)](_0x5b3cf4);});return;}_0x3f2783['_socket']!==null&&(_0x3f2783[_0x199f73(0x2cc)][_0x199f73(0x165)]['finished']?(_0x5b3cf4(),_0x3921fd[_0x199f73(0x2bf)][_0x199f73(0x192)]&&_0x3921fd[_0x199f73(0x281)]()):(_0x3f2783[_0x199f73(0x2cc)][_0x199f73(0x23b)](_0x199f73(0x1d4),function(){_0x5b3cf4();}),_0x3f2783[_0x199f73(0x1c6)]()));},_0x3921fd['_read']=function(){const _0x13e20f=_0x248cf4;_0x3f2783[_0x13e20f(0x26b)]&&_0x3f2783[_0x13e20f(0x28c)]();},_0x3921fd[_0x248cf4(0x230)]=function(_0x4768f6,_0x4a1148,_0x4e5d5c){const _0x44303e=_0x248cf4;if(_0x3f2783[_0x44303e(0x1ae)]===_0x3f2783[_0x44303e(0x2a3)]){_0x3f2783['once'](_0x44303e(0x1a1),function(){const _0x3aa291=_0x44303e;_0x3921fd[_0x3aa291(0x230)](_0x4768f6,_0x4a1148,_0x4e5d5c);});return;}_0x3f2783['send'](_0x4768f6,_0x4e5d5c);},_0x3921fd['on'](_0x248cf4(0x238),_0x31719b),_0x3921fd['on'](_0x248cf4(0x287),_0x1115e2),_0x3921fd;}return Oe=_0x1245e9,Oe;}Xt(),dt(),_t();var Zt=Ie();function _0x42e2(_0xb02dc4,_0x110ec7){const _0x35d45c=_0x35d4();return _0x42e2=function(_0x42e23c,_0x401bca){_0x42e23c=_0x42e23c-0x162;let _0x26901e=_0x35d45c[_0x42e23c];return _0x26901e;},_0x42e2(_0xb02dc4,_0x110ec7);}const Qt=jt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x554812}=ne();function _0x24338c(_0x200a61){const _0x17e6d1=_0x42e2,_0x286ab3=new Set();let _0x43d794=-0x1,_0x42992b=-0x1,_0x2c6ea6=0x0;for(_0x2c6ea6;_0x2c6ea6<_0x200a61['length'];_0x2c6ea6++){const _0x2fdc12=_0x200a61[_0x17e6d1(0x1bd)](_0x2c6ea6);if(_0x42992b===-0x1&&_0x554812[_0x2fdc12]===0x1)_0x43d794===-0x1&&(_0x43d794=_0x2c6ea6);else{if(_0x2c6ea6!==0x0&&(_0x2fdc12===0x20||_0x2fdc12===0x9))_0x42992b===-0x1&&_0x43d794!==-0x1&&(_0x42992b=_0x2c6ea6);else{if(_0x2fdc12===0x2c){if(_0x43d794===-0x1)throw new SyntaxError(_0x17e6d1(0x1af)+_0x2c6ea6);_0x42992b===-0x1&&(_0x42992b=_0x2c6ea6);const _0x4d01a9=_0x200a61[_0x17e6d1(0x2f6)](_0x43d794,_0x42992b);if(_0x286ab3[_0x17e6d1(0x2f3)](_0x4d01a9))throw new SyntaxError('The\x20\x22'+_0x4d01a9+_0x17e6d1(0x2a5));_0x286ab3[_0x17e6d1(0x1c2)](_0x4d01a9),_0x43d794=_0x42992b=-0x1;}else throw new SyntaxError(_0x17e6d1(0x1af)+_0x2c6ea6);}}}if(_0x43d794===-0x1||_0x42992b!==-0x1)throw new SyntaxError(_0x17e6d1(0x2a0));const _0x3328e4=_0x200a61[_0x17e6d1(0x2f6)](_0x43d794,_0x2c6ea6);if(_0x286ab3['has'](_0x3328e4))throw new SyntaxError('The\x20\x22'+_0x3328e4+_0x17e6d1(0x2a5));return _0x286ab3[_0x17e6d1(0x1c2)](_0x3328e4),_0x286ab3;}return Ce={'parse':_0x24338c},Ce;}var Te,ot;function er(){const _0x3e76c2=_0xc4267b;if(ot)return Te;ot=0x1;const _0xf44d46=_0x5efd75,_0x5880a1=_0x120c00,{Duplex:_0x12073c}=_0x333975,{createHash:_0x487ea3}=_0x5454a,_0x46d8ec=pt(),_0x3783fe=he(),_0x1e584b=Jt(),_0x5db5ed=Ie(),{GUID:_0x21f86e,kWebSocket:_0x37c7be}=V(),_0x3b20ca=/^[+/0-9A-Za-z]{22}==$/,_0x17eb15=0x0,_0x294004=0x1,_0x42bb27=0x2;class _0x14b8a0 extends _0xf44d46{constructor(_0x40397a,_0x2d9394){const _0x557973=_0x42e2;if(super(),_0x40397a={'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':_0x5db5ed,..._0x40397a},_0x40397a['port']==null&&!_0x40397a['server']&&!_0x40397a[_0x557973(0x240)]||_0x40397a[_0x557973(0x1f2)]!=null&&(_0x40397a['server']||_0x40397a[_0x557973(0x240)])||_0x40397a[_0x557973(0x242)]&&_0x40397a['noServer'])throw new TypeError(_0x557973(0x2e7));if(_0x40397a[_0x557973(0x1f2)]!=null?(this[_0x557973(0x282)]=_0x5880a1[_0x557973(0x2ab)]((_0x31e738,_0x324d52)=>{const _0x2a5053=_0x557973,_0x5083fe=_0x5880a1[_0x2a5053(0x2d0)][0x1aa];_0x324d52[_0x2a5053(0x26d)](0x1aa,{'Content-Length':_0x5083fe[_0x2a5053(0x209)],'Content-Type':_0x2a5053(0x1f0)}),_0x324d52['end'](_0x5083fe);}),this[_0x557973(0x282)][_0x557973(0x1b1)](_0x40397a[_0x557973(0x1f2)],_0x40397a[_0x557973(0x221)],_0x40397a['backlog'],_0x2d9394)):_0x40397a[_0x557973(0x242)]&&(this[_0x557973(0x282)]=_0x40397a['server']),this[_0x557973(0x282)]){const _0x52f194=this[_0x557973(0x1d6)][_0x557973(0x2a1)](this,_0x557973(0x245));this[_0x557973(0x296)]=_0x4f144e(this[_0x557973(0x282)],{'listening':this[_0x557973(0x1d6)]['bind'](this,'listening'),'error':this['emit']['bind'](this,_0x557973(0x287)),'upgrade':(_0x2d8597,_0x1cef91,_0x278686)=>{this['handleUpgrade'](_0x2d8597,_0x1cef91,_0x278686,_0x52f194);}});}_0x40397a[_0x557973(0x16f)]===!0x0&&(_0x40397a[_0x557973(0x16f)]={}),_0x40397a['clientTracking']&&(this[_0x557973(0x219)]=new Set(),this['_shouldEmitClose']=!0x1),this[_0x557973(0x24a)]=_0x40397a,this['_state']=_0x17eb15;}[_0x3e76c2(0x20d)](){const _0x3d0955=_0x3e76c2;if(this[_0x3d0955(0x24a)][_0x3d0955(0x240)])throw new Error(_0x3d0955(0x250));return this[_0x3d0955(0x282)]?this[_0x3d0955(0x282)][_0x3d0955(0x20d)]():null;}[_0x3e76c2(0x1c6)](_0x18dce5){const _0x2957be=_0x3e76c2;if(this[_0x2957be(0x1c3)]===_0x42bb27){_0x18dce5&&this[_0x2957be(0x23b)](_0x2957be(0x1c6),()=>{const _0x251c79=_0x2957be;_0x18dce5(new Error(_0x251c79(0x2ef)));}),process['nextTick'](_0x1688a3,this);return;}if(_0x18dce5&&this[_0x2957be(0x23b)](_0x2957be(0x1c6),_0x18dce5),this[_0x2957be(0x1c3)]!==_0x294004){if(this[_0x2957be(0x1c3)]=_0x294004,this[_0x2957be(0x24a)]['noServer']||this[_0x2957be(0x24a)][_0x2957be(0x242)])this[_0x2957be(0x282)]&&(this[_0x2957be(0x296)](),this[_0x2957be(0x296)]=this[_0x2957be(0x282)]=null),this[_0x2957be(0x219)]?this[_0x2957be(0x219)][_0x2957be(0x2ec)]?this[_0x2957be(0x300)]=!0x0:process[_0x2957be(0x25b)](_0x1688a3,this):process['nextTick'](_0x1688a3,this);else{const _0x50b384=this[_0x2957be(0x282)];this['_removeListeners'](),this[_0x2957be(0x296)]=this[_0x2957be(0x282)]=null,_0x50b384['close'](()=>{_0x1688a3(this);});}}}[_0x3e76c2(0x2b5)](_0x54b14d){const _0x430baf=_0x3e76c2;if(this['options'][_0x430baf(0x2ff)]){const _0x5503d8=_0x54b14d[_0x430baf(0x2d4)][_0x430baf(0x207)]('?');if((_0x5503d8!==-0x1?_0x54b14d['url'][_0x430baf(0x2f6)](0x0,_0x5503d8):_0x54b14d['url'])!==this[_0x430baf(0x24a)][_0x430baf(0x2ff)])return!0x1;}return!0x0;}[_0x3e76c2(0x19b)](_0x162b47,_0x5870cc,_0x37cef4,_0x2c6d10){const _0x5333c4=_0x3e76c2;_0x5870cc['on'](_0x5333c4(0x287),_0x591358);const _0x4bb35f=_0x162b47['headers'][_0x5333c4(0x1c8)],_0x5f6ec6=_0x162b47[_0x5333c4(0x1bf)][_0x5333c4(0x1d5)],_0x2cadb2=+_0x162b47[_0x5333c4(0x1bf)][_0x5333c4(0x20c)];if(_0x162b47[_0x5333c4(0x20f)]!==_0x5333c4(0x21e)){_0x3ef9db(this,_0x162b47,_0x5870cc,0x195,'Invalid\x20HTTP\x20method');return;}if(_0x5f6ec6===void 0x0||_0x5f6ec6[_0x5333c4(0x2f2)]()!=='websocket'){_0x3ef9db(this,_0x162b47,_0x5870cc,0x190,_0x5333c4(0x1f6));return;}if(_0x4bb35f===void 0x0||!_0x3b20ca[_0x5333c4(0x210)](_0x4bb35f)){_0x3ef9db(this,_0x162b47,_0x5870cc,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header');return;}if(_0x2cadb2!==0x8&&_0x2cadb2!==0xd){_0x3ef9db(this,_0x162b47,_0x5870cc,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header');return;}if(!this['shouldHandle'](_0x162b47)){_0x49b0a4(_0x5870cc,0x190);return;}const _0x5c8b93=_0x162b47[_0x5333c4(0x1bf)][_0x5333c4(0x293)];let _0x2815d6=new Set();if(_0x5c8b93!==void 0x0)try{_0x2815d6=_0x1e584b['parse'](_0x5c8b93);}catch{_0x3ef9db(this,_0x162b47,_0x5870cc,0x190,_0x5333c4(0x2fb));return;}const _0x317fe3=_0x162b47[_0x5333c4(0x1bf)]['sec-websocket-extensions'],_0x11ef92={};if(this[_0x5333c4(0x24a)][_0x5333c4(0x16f)]&&_0x317fe3!==void 0x0){const _0xe3090d=new _0x3783fe(this[_0x5333c4(0x24a)][_0x5333c4(0x16f)],!0x0,this[_0x5333c4(0x24a)]['maxPayload']);try{const _0x106869=_0x46d8ec['parse'](_0x317fe3);_0x106869[_0x3783fe['extensionName']]&&(_0xe3090d[_0x5333c4(0x162)](_0x106869[_0x3783fe[_0x5333c4(0x1ab)]]),_0x11ef92[_0x3783fe[_0x5333c4(0x1ab)]]=_0xe3090d);}catch{_0x3ef9db(this,_0x162b47,_0x5870cc,0x190,_0x5333c4(0x2b0));return;}}if(this[_0x5333c4(0x24a)][_0x5333c4(0x2fa)]){const _0x5117bd={'origin':_0x162b47[_0x5333c4(0x1bf)][''+(_0x2cadb2===0x8?_0x5333c4(0x2fc):_0x5333c4(0x239))],'secure':!!(_0x162b47['socket'][_0x5333c4(0x2f9)]||_0x162b47[_0x5333c4(0x2d5)][_0x5333c4(0x205)]),'req':_0x162b47};if(this['options'][_0x5333c4(0x2fa)][_0x5333c4(0x209)]===0x2){this['options']['verifyClient'](_0x5117bd,(_0x2a8977,_0x205b0d,_0x128425,_0x358cb6)=>{const _0x1eb1f4=_0x5333c4;if(!_0x2a8977)return _0x49b0a4(_0x5870cc,_0x205b0d||0x191,_0x128425,_0x358cb6);this[_0x1eb1f4(0x255)](_0x11ef92,_0x4bb35f,_0x2815d6,_0x162b47,_0x5870cc,_0x37cef4,_0x2c6d10);});return;}if(!this[_0x5333c4(0x24a)]['verifyClient'](_0x5117bd))return _0x49b0a4(_0x5870cc,0x191);}this[_0x5333c4(0x255)](_0x11ef92,_0x4bb35f,_0x2815d6,_0x162b47,_0x5870cc,_0x37cef4,_0x2c6d10);}[_0x3e76c2(0x255)](_0x6e2b7b,_0x2e6556,_0x1e16b1,_0x32e94f,_0x289c7d,_0x43afad,_0x23dfbf){const _0x3f284f=_0x3e76c2;if(!_0x289c7d[_0x3f284f(0x196)]||!_0x289c7d[_0x3f284f(0x1d7)])return _0x289c7d[_0x3f284f(0x281)]();if(_0x289c7d[_0x37c7be])throw new Error(_0x3f284f(0x1c5));if(this[_0x3f284f(0x1c3)]>_0x17eb15)return _0x49b0a4(_0x289c7d,0x1f7);const _0x284b40=[_0x3f284f(0x20b),_0x3f284f(0x204),_0x3f284f(0x1b8),_0x3f284f(0x234)+_0x487ea3(_0x3f284f(0x180))['update'](_0x2e6556+_0x21f86e)[_0x3f284f(0x24e)](_0x3f284f(0x1cd))],_0x5c6460=new this[(_0x3f284f(0x24a))]['WebSocket'](null,void 0x0,this[_0x3f284f(0x24a)]);if(_0x1e16b1[_0x3f284f(0x2ec)]){const _0x4328f9=this[_0x3f284f(0x24a)][_0x3f284f(0x173)]?this['options'][_0x3f284f(0x173)](_0x1e16b1,_0x32e94f):_0x1e16b1[_0x3f284f(0x21c)]()[_0x3f284f(0x1a6)]()[_0x3f284f(0x1db)];_0x4328f9&&(_0x284b40[_0x3f284f(0x175)](_0x3f284f(0x178)+_0x4328f9),_0x5c6460[_0x3f284f(0x220)]=_0x4328f9);}if(_0x6e2b7b[_0x3783fe[_0x3f284f(0x1ab)]]){const _0x4a6e51=_0x6e2b7b[_0x3783fe[_0x3f284f(0x1ab)]][_0x3f284f(0x1b0)],_0x19d0b1=_0x46d8ec[_0x3f284f(0x1b2)]({[_0x3783fe['extensionName']]:[_0x4a6e51]});_0x284b40[_0x3f284f(0x175)](_0x3f284f(0x2c9)+_0x19d0b1),_0x5c6460[_0x3f284f(0x191)]=_0x6e2b7b;}this['emit'](_0x3f284f(0x1bf),_0x284b40,_0x32e94f),_0x289c7d['write'](_0x284b40[_0x3f284f(0x186)]('\x0d\x0a')['join']('\x0d\x0a')),_0x289c7d[_0x3f284f(0x170)](_0x3f284f(0x287),_0x591358),_0x5c6460[_0x3f284f(0x275)](_0x289c7d,_0x43afad,{'allowSynchronousEvents':this[_0x3f284f(0x24a)]['allowSynchronousEvents'],'maxPayload':this[_0x3f284f(0x24a)][_0x3f284f(0x2b8)],'skipUTF8Validation':this[_0x3f284f(0x24a)]['skipUTF8Validation']}),this[_0x3f284f(0x219)]&&(this[_0x3f284f(0x219)][_0x3f284f(0x1c2)](_0x5c6460),_0x5c6460['on'](_0x3f284f(0x1c6),()=>{const _0x1b75bc=_0x3f284f;this[_0x1b75bc(0x219)][_0x1b75bc(0x1fb)](_0x5c6460),this[_0x1b75bc(0x300)]&&!this[_0x1b75bc(0x219)][_0x1b75bc(0x2ec)]&&process['nextTick'](_0x1688a3,this);})),_0x23dfbf(_0x5c6460,_0x32e94f);}}Te=_0x14b8a0;function _0x4f144e(_0x4f1182,_0x16c9e4){for(const _0x278d38 of Object['keys'](_0x16c9e4))_0x4f1182['on'](_0x278d38,_0x16c9e4[_0x278d38]);return function(){const _0x5b5faa=_0x42e2;for(const _0x2b7e14 of Object[_0x5b5faa(0x258)](_0x16c9e4))_0x4f1182[_0x5b5faa(0x170)](_0x2b7e14,_0x16c9e4[_0x2b7e14]);};}function _0x1688a3(_0xfd31e2){const _0x487377=_0x3e76c2;_0xfd31e2[_0x487377(0x1c3)]=_0x42bb27,_0xfd31e2['emit']('close');}function _0x591358(){const _0x53ed50=_0x3e76c2;this[_0x53ed50(0x281)]();}function _0x49b0a4(_0x148d63,_0x5a8827,_0x2a6e80,_0x3ae4e1){const _0x27917e=_0x3e76c2;_0x2a6e80=_0x2a6e80||_0x5880a1[_0x27917e(0x2d0)][_0x5a8827],_0x3ae4e1={'Connection':_0x27917e(0x1c6),'Content-Type':_0x27917e(0x1c9),'Content-Length':Buffer[_0x27917e(0x28e)](_0x2a6e80),..._0x3ae4e1},_0x148d63['once'](_0x27917e(0x1d4),_0x148d63[_0x27917e(0x281)]),_0x148d63[_0x27917e(0x238)](_0x27917e(0x16e)+_0x5a8827+'\x20'+_0x5880a1[_0x27917e(0x2d0)][_0x5a8827]+'\x0d\x0a'+Object['keys'](_0x3ae4e1)[_0x27917e(0x1ba)](_0x2865e7=>_0x2865e7+':\x20'+_0x3ae4e1[_0x2865e7])[_0x27917e(0x25a)]('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0x2a6e80);}function _0x3ef9db(_0x3a1321,_0x2d6351,_0xa67008,_0x15df0a,_0x37cd6f){const _0x3ffdaf=_0x3e76c2;if(_0x3a1321[_0x3ffdaf(0x1f9)](_0x3ffdaf(0x2bd))){const _0x39e170=new Error(_0x37cd6f);Error[_0x3ffdaf(0x2df)](_0x39e170,_0x3ef9db),_0x3a1321[_0x3ffdaf(0x1d6)](_0x3ffdaf(0x2bd),_0x39e170,_0xa67008,_0x2d6351);}else _0x49b0a4(_0xa67008,_0x15df0a,_0x37cd6f);}return Te;}er();var tr=Object[_0xc4267b(0x24c)],rr=(_0x5022f2,_0x4ad2c7,_0x3fbf6e,_0x32be12)=>{const _0x4bb0e1=_0xc4267b;for(var _0x4f9db5=_0x32be12>0x1?void 0x0:_0x32be12?tr(_0x4ad2c7,_0x3fbf6e):_0x4ad2c7,_0x19a011=_0x5022f2[_0x4bb0e1(0x209)]-0x1,_0x29b90d;_0x19a011>=0x0;_0x19a011--)(_0x29b90d=_0x5022f2[_0x19a011])&&(_0x4f9db5=_0x29b90d(_0x4f9db5)||_0x4f9db5);return _0x4f9db5;},sr=(_0x36d14f,_0xc1168c)=>(_0x116e63,_0x44fe2e)=>_0xc1168c(_0x116e63,_0x44fe2e,_0x36d14f);let Ne=class extends _0x4d4dc{constructor(_0x5286af){super(),this['_configService']=_0x5286af;}[_0xc4267b(0x16b)](_0x309561){const _0x4824a2=_0xc4267b;var _0x2a4f71;const _0x98fe18=(_0x2a4f71=this[_0x4824a2(0x26f)][_0x4824a2(0x1b4)](Be))==null?void 0x0:_0x2a4f71['customHeaders'];try{const _0x4c749d=new Qt(_0x309561,{'headers':{..._0x98fe18}}),_0x2d2947=new _0x5cfc04();return{'URL':_0x309561,'close':(_0x562fc6,_0x581310)=>{const _0x21b4cb=_0x4824a2;_0x4c749d['close'](_0x562fc6,_0x581310),_0x2d2947[_0x21b4cb(0x1ac)]();},'send':_0x111461=>{const _0x5c8a28=_0x4824a2;_0x4c749d[_0x5c8a28(0x201)](_0x111461);},'open$':new _0x6566c5(_0xc278fa=>{const _0x3e4b69=_0x4824a2,_0xe5f10c=_0x3e9526=>_0xc278fa['next'](_0x3e9526);_0x4c749d[_0x3e4b69(0x1a2)](_0x3e4b69(0x1a1),_0xe5f10c),_0x2d2947[_0x3e4b69(0x1c2)](_0x5a1a12(()=>_0x4c749d[_0x3e4b69(0x174)](_0x3e4b69(0x1a1),_0xe5f10c)));})['pipe'](_0xc1b973()),'close$':new _0x6566c5(_0x59228a=>{const _0x39dabd=_0x4824a2,_0x4482f2=_0x11a9ce=>_0x59228a[_0x39dabd(0x1a6)](_0x11a9ce);_0x4c749d['addEventListener'](_0x39dabd(0x1c6),_0x4482f2),_0x2d2947[_0x39dabd(0x1c2)](_0x5a1a12(()=>_0x4c749d[_0x39dabd(0x174)](_0x39dabd(0x1c6),_0x4482f2)));})[_0x4824a2(0x1a0)](_0xc1b973()),'error$':new _0x6566c5(_0x3efc87=>{const _0x29f249=_0x4824a2,_0x107cd9=_0xad81b6=>_0x3efc87[_0x29f249(0x1a6)](_0xad81b6);_0x4c749d[_0x29f249(0x1a2)](_0x29f249(0x287),_0x107cd9),_0x2d2947[_0x29f249(0x1c2)](_0x5a1a12(()=>_0x4c749d[_0x29f249(0x174)](_0x29f249(0x287),_0x107cd9)));})['pipe'](_0xc1b973()),'message$':new _0x6566c5(_0x20e5c5=>{const _0x3a2da4=_0x4824a2,_0x5421a2=_0x27d862=>_0x20e5c5['next'](_0x27d862);_0x4c749d['addEventListener'](_0x3a2da4(0x272),_0x5421a2),_0x2d2947[_0x3a2da4(0x1c2)](_0x5a1a12(()=>_0x4c749d[_0x3a2da4(0x174)](_0x3a2da4(0x272),_0x5421a2)));})[_0x4824a2(0x1a0)](_0xc1b973())};}catch(_0x50df93){return console[_0x4824a2(0x287)](_0x50df93),null;}}};Ne=rr([sr(0x0,_0x57bb5f)],Ne);var ir=Object[_0xc4267b(0x1c0)],nr=Object[_0xc4267b(0x24c)],or=(_0x81ab05,_0x5992b2,_0x5f11c0)=>_0x5992b2 in _0x81ab05?ir(_0x81ab05,_0x5992b2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5f11c0}):_0x81ab05[_0x5992b2]=_0x5f11c0,ar=(_0x120884,_0x270cef,_0x265cbc,_0x22f0fa)=>{const _0x5b0244=_0xc4267b;for(var _0x201c63=_0x22f0fa>0x1?void 0x0:_0x22f0fa?nr(_0x270cef,_0x265cbc):_0x270cef,_0x215b0=_0x120884[_0x5b0244(0x209)]-0x1,_0x751091;_0x215b0>=0x0;_0x215b0--)(_0x751091=_0x120884[_0x215b0])&&(_0x201c63=_0x751091(_0x201c63)||_0x201c63);return _0x201c63;},ke=(_0x3ea174,_0x38b295)=>(_0x2d018e,_0x12f2fb)=>_0x38b295(_0x2d018e,_0x12f2fb,_0x3ea174),lr=(_0x4f9320,_0x25ef22,_0x65947)=>or(_0x4f9320,_0x25ef22+'',_0x65947);let Pe=class extends _0x485cd3{constructor(_0x1491f9=Ft,_0x1fb90e,_0x46a8d3,_0x14d95e){const _0x245ea6=_0xc4267b;_0x1491f9['customHeaders']||_0x1fb90e[_0x245ea6(0x2c7)](_0x245ea6(0x26e)),super(),this[_0x245ea6(0x26f)]=_0x46a8d3,this[_0x245ea6(0x198)]=_0x14d95e,this[_0x245ea6(0x26f)][_0x245ea6(0x1a7)](Be,_0x1491f9);}[_0xc4267b(0x2da)](){this['_registerDependencies']();}[_0xc4267b(0x227)](){const _0x474d05=_0xc4267b;_0x5cd8e2(this[_0x474d05(0x198)],[[_0x4ecddb,{'useClass':Ne}]]);}};lr(Pe,_0xc4267b(0x306),_0xc4267b(0x176)),Pe=ar([_0x25ffca(_0x5bf9df),ke(0x1,_0x37933a),ke(0x2,_0x57bb5f),ke(0x3,_0x5d6a3a(_0x4cb68d))],Pe);var fr=Object[_0xc4267b(0x24c)],cr=(_0x2acea9,_0x4cc55e,_0x2cb033,_0x7f4c6e)=>{const _0x38e7ac=_0xc4267b;for(var _0x5b9bd7=_0x7f4c6e>0x1?void 0x0:_0x7f4c6e?fr(_0x4cc55e,_0x2cb033):_0x4cc55e,_0x1b513=_0x2acea9[_0x38e7ac(0x209)]-0x1,_0x3ba17b;_0x1b513>=0x0;_0x1b513--)(_0x3ba17b=_0x2acea9[_0x1b513])&&(_0x5b9bd7=_0x3ba17b(_0x5b9bd7)||_0x5b9bd7);return _0x5b9bd7;},se=(_0x158cdc,_0x4c787e)=>(_0x127eb0,_0x4d2ab6)=>_0x4c787e(_0x127eb0,_0x4d2ab6,_0x158cdc);let at=class extends _0x1732df{constructor(_0x3f8d14,_0x5e9d1d,_0x13b508,_0x18b98f,_0x257cb0){const _0x220b37=_0xc4267b;super(_0x3f8d14,_0x5e9d1d,_0x13b508,_0x18b98f,_0x257cb0);const _0x42d746=this[_0x220b37(0x26f)][_0x220b37(0x1b4)](Be);this[_0x220b37(0x2f0)]['registerHTTPInterceptor']({'interceptor':(_0x266a25,_0x596a88)=>{const _0xd903b3=_0x220b37;var _0x484bcf;const _0x313854=_0x266a25['headers'];return(_0x484bcf=_0x42d746==null?void 0x0:_0x42d746[_0xd903b3(0x292)])!=null&&_0x484bcf[_0xd903b3(0x2ca)]&&_0x313854['set'](_0xd903b3(0x24f),_0x42d746['customHeaders'][_0xd903b3(0x2ca)]),_0x596a88(_0x266a25);}});}async[_0xc4267b(0x16b)](_0x33dfe6){const _0x5992cf=_0xc4267b;return this[_0x5992cf(0x2eb)](_0x33dfe6);}};at=cr([se(0x0,_0x5d6a3a(_0x4cb68d)),se(0x1,_0x5d6a3a(_0x32765b)),se(0x2,_0x57bb5f),se(0x3,_0x37933a),se(0x4,_0x23ad22)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
1
+ const _0x1a08ca=_0x4e9f;(function(_0x5ee5c9,_0x26e468){const _0x342e71=_0x4e9f,_0x1b5823=_0x5ee5c9();while(!![]){try{const _0x4bfa32=-parseInt(_0x342e71(0x1c8))/0x1*(-parseInt(_0x342e71(0x285))/0x2)+parseInt(_0x342e71(0x20e))/0x3*(parseInt(_0x342e71(0x21b))/0x4)+-parseInt(_0x342e71(0x232))/0x5+-parseInt(_0x342e71(0xff))/0x6+-parseInt(_0x342e71(0x1d9))/0x7*(-parseInt(_0x342e71(0x1a7))/0x8)+-parseInt(_0x342e71(0xe2))/0x9*(-parseInt(_0x342e71(0x1b0))/0xa)+parseInt(_0x342e71(0x180))/0xb*(-parseInt(_0x342e71(0x17b))/0xc);if(_0x4bfa32===_0x26e468)break;else _0x1b5823['push'](_0x1b5823['shift']());}catch(_0x526434){_0x1b5823['push'](_0x1b5823['shift']());}}}(_0x548d,0x31927));import{UniverCollaborationClientPlugin as _0x56d3f0,CollaborationSocketService as _0x5eb0c6}from'@univerjs-pro/collaboration-client';import{Disposable as _0x494d4c,DisposableCollection as _0x2673d6,toDisposable as _0x495474,IConfigService as _0x3b1cc1,DependentOn as _0x349b60,ILogService as _0xc4bc3e,Inject as _0x3f54f5,Injector as _0x5e1d8b,Plugin as _0x41c854,registerDependencies as _0x5d680b}from'@univerjs/core';import{ISocketService as _0x16115e,HTTPService as _0x5370b0}from'@univerjs/network';import{Observable as _0xdb758a,share as _0x567656}from'rxjs';import _0x558fde from'events';import _0x441cf9 from'https';import _0x31c564 from'http';import _0x2014b0 from'net';import _0x4b8b09 from'tls';import _0x41718c from'crypto';import _0x5be804 from'stream';import _0x1478b6 from'url';import _0x247100 from'zlib';import _0x5cde11 from'buffer';import{ISnapshotServerService as _0x9e47c}from'@univerjs-pro/collaboration';const Be=_0x1a08ca(0x105),Ft={'customHeaders':{}};function jt(_0x2ee5b1){const _0x361761=_0x1a08ca;return _0x2ee5b1&&_0x2ee5b1[_0x361761(0x183)]&&Object[_0x361761(0x109)][_0x361761(0x21e)][_0x361761(0x1fb)](_0x2ee5b1,_0x361761(0x21d))?_0x2ee5b1['default']:_0x2ee5b1;}function ut(_0x27f978){const _0x39bcf7=_0x1a08ca;if(Object[_0x39bcf7(0x109)]['hasOwnProperty'][_0x39bcf7(0x1fb)](_0x27f978,_0x39bcf7(0x183)))return _0x27f978;var _0x572031=_0x27f978['default'];if(typeof _0x572031==_0x39bcf7(0x1dd)){var _0x317e84=function _0x219ce7(){const _0x1edd0e=_0x39bcf7;return this instanceof _0x219ce7?Reflect[_0x1edd0e(0xcf)](_0x572031,arguments,this[_0x1edd0e(0x1df)]):_0x572031[_0x1edd0e(0x155)](this,arguments);};_0x317e84[_0x39bcf7(0x109)]=_0x572031[_0x39bcf7(0x109)];}else _0x317e84={};return Object[_0x39bcf7(0x23d)](_0x317e84,_0x39bcf7(0x183),{'value':!0x0}),Object[_0x39bcf7(0x15d)](_0x27f978)['forEach'](function(_0xe9d3dc){const _0x186316=_0x39bcf7;var _0x185e6e=Object[_0x186316(0x165)](_0x27f978,_0xe9d3dc);Object[_0x186316(0x23d)](_0x317e84,_0xe9d3dc,_0x185e6e['get']?_0x185e6e:{'enumerable':!0x0,'get':function(){return _0x27f978[_0xe9d3dc];}});}),_0x317e84;}var te={'exports':{}},ge,Ye;function V(){const _0xcc6fd=_0x1a08ca;if(Ye)return ge;Ye=0x1;const _0x218ee9=['nodebuffer',_0xcc6fd(0x120),_0xcc6fd(0x1be)],_0x5188f9=typeof Blob<'u';return _0x5188f9&&_0x218ee9['push'](_0xcc6fd(0x25d)),ge={'BINARY_TYPES':_0x218ee9,'EMPTY_BUFFER':Buffer[_0xcc6fd(0xd7)](0x0),'GUID':_0xcc6fd(0x143),'hasBlob':_0x5188f9,'kForOnEventAttribute':Symbol(_0xcc6fd(0x207)),'kListener':Symbol('kListener'),'kStatusCode':Symbol(_0xcc6fd(0x10b)),'kWebSocket':Symbol(_0xcc6fd(0x257)),'NOOP':()=>{}},ge;}const Wt={},Gt=Object[_0x1a08ca(0x141)](Object[_0x1a08ca(0x23d)]({'__proto__':null,'default':Wt},Symbol['toStringTag'],{'value':_0x1a08ca(0x1d4)})),Vt=ut(Gt);var Ke;function ce(){const _0x5443c4=_0x1a08ca;if(Ke)return te[_0x5443c4(0x245)];Ke=0x1;const {EMPTY_BUFFER:_0x52c4a3}=V(),_0x353b0e=Buffer[Symbol[_0x5443c4(0x119)]];function _0x4c5330(_0x49fc7f,_0x457efd){const _0x5eebfb=_0x5443c4;if(_0x49fc7f['length']===0x0)return _0x52c4a3;if(_0x49fc7f[_0x5eebfb(0x189)]===0x1)return _0x49fc7f[0x0];const _0x81ddea=Buffer['allocUnsafe'](_0x457efd);let _0x2fac7a=0x0;for(let _0x10f6d8=0x0;_0x10f6d8<_0x49fc7f[_0x5eebfb(0x189)];_0x10f6d8++){const _0x447486=_0x49fc7f[_0x10f6d8];_0x81ddea[_0x5eebfb(0x1e9)](_0x447486,_0x2fac7a),_0x2fac7a+=_0x447486['length'];}return _0x2fac7a<_0x457efd?new _0x353b0e(_0x81ddea['buffer'],_0x81ddea[_0x5eebfb(0x168)],_0x2fac7a):_0x81ddea;}function _0x42171f(_0xe41acb,_0x13c18d,_0x515fd8,_0x3d0e28,_0x403566){for(let _0x25848a=0x0;_0x25848a<_0x403566;_0x25848a++)_0x515fd8[_0x3d0e28+_0x25848a]=_0xe41acb[_0x25848a]^_0x13c18d[_0x25848a&0x3];}function _0xcb5cf(_0x53babc,_0x322565){const _0x2bffd8=_0x5443c4;for(let _0x80de4f=0x0;_0x80de4f<_0x53babc[_0x2bffd8(0x189)];_0x80de4f++)_0x53babc[_0x80de4f]^=_0x322565[_0x80de4f&0x3];}function _0x823a55(_0x2ce5e2){const _0x37268a=_0x5443c4;return _0x2ce5e2['length']===_0x2ce5e2[_0x37268a(0x197)][_0x37268a(0x190)]?_0x2ce5e2[_0x37268a(0x197)]:_0x2ce5e2[_0x37268a(0x197)]['slice'](_0x2ce5e2[_0x37268a(0x168)],_0x2ce5e2[_0x37268a(0x168)]+_0x2ce5e2[_0x37268a(0x189)]);}function _0xe3a52d(_0x13faa7){const _0x23b55c=_0x5443c4;if(_0xe3a52d[_0x23b55c(0x13f)]=!0x0,Buffer[_0x23b55c(0x1d5)](_0x13faa7))return _0x13faa7;let _0x46d1e3;return _0x13faa7 instanceof ArrayBuffer?_0x46d1e3=new _0x353b0e(_0x13faa7):ArrayBuffer['isView'](_0x13faa7)?_0x46d1e3=new _0x353b0e(_0x13faa7[_0x23b55c(0x197)],_0x13faa7[_0x23b55c(0x168)],_0x13faa7[_0x23b55c(0x190)]):(_0x46d1e3=Buffer[_0x23b55c(0x1f5)](_0x13faa7),_0xe3a52d[_0x23b55c(0x13f)]=!0x1),_0x46d1e3;}if(te[_0x5443c4(0x245)]={'concat':_0x4c5330,'mask':_0x42171f,'toArrayBuffer':_0x823a55,'toBuffer':_0xe3a52d,'unmask':_0xcb5cf},!process['env']['WS_NO_BUFFER_UTIL'])try{const _0x4a9578=Vt;te['exports'][_0x5443c4(0x13d)]=function(_0x117132,_0x22fc10,_0x1aed4e,_0x4f5360,_0x4eeea4){const _0x2d4d08=_0x5443c4;_0x4eeea4<0x30?_0x42171f(_0x117132,_0x22fc10,_0x1aed4e,_0x4f5360,_0x4eeea4):_0x4a9578[_0x2d4d08(0x13d)](_0x117132,_0x22fc10,_0x1aed4e,_0x4f5360,_0x4eeea4);},te[_0x5443c4(0x245)][_0x5443c4(0x222)]=function(_0xcb286e,_0x3846e4){const _0x1fd726=_0x5443c4;_0xcb286e['length']<0x20?_0xcb5cf(_0xcb286e,_0x3846e4):_0x4a9578[_0x1fd726(0x222)](_0xcb286e,_0x3846e4);};}catch{}return te['exports'];}var ye,Xe;function _0x548d(){const _0x27f733=['sec-websocket-version','decompress','WS_ERR_EXPECTED_MASK','search','fragments','Invalid\x20value\x20for\x20parameter\x20\x22','listen','dataMessage','jobs','clientTracking','data','_opcode','destroyed','writeUIntBE','2uBRBHY','_state','_mask','socket','compress','_paused','_compressed','_skipUTF8Validation','getPayloadLength16','MASK\x20must\x20be\x20set','needDrain','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','Module','isBuffer','connect','ws+unix:','hash','14PHRkAV','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','wasClean','_options','function','string','constructor','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','open','_redirects','clientNoContextTakeover','invalid\x20payload\x20length\x20','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','_doCreateSocket','callback','slice','set','createConnection','_fin','Cookie','noServer','generateMask','WS_ERR_INVALID_OPCODE','setTimeout','RSV1\x20must\x20be\x20clear','customHeaders','Sec-WebSocket-Extensions:\x20','server','from','map','finishRequest','location','kType','Invalid\x20Sec-WebSocket-Protocol\x20header','call','Sec-WebSocket-Protocol:\x20','isValidUTF8','kWasClean','forEach','MASK\x20must\x20be\x20clear','includes','parse','permessage-deflate','invalid\x20status\x20code\x20','GET','_protocol','kIsForOnEventAttribute','_queue','setNoDelay','clients','stream','server_no_context_takeover','isArray','3UYGWGA','_fragments','cleanup','statusCode','_closeTimer','_registerDependencies','uncork','removeListener','port','Max\x20payload\x20size\x20exceeded','arrayBuffer','accept','_loop','380784sFENWa','has','default','hasOwnProperty','_buffers','base64','Invalid\x20URL:\x20','unmask','update','Opening\x20handshake\x20has\x20timed\x20out','pow','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','kError','zlibInflateOptions','\x22:\x20','size','pending','The\x20\x22','params','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','_no_context_takeover','destroy','headers','1002595gWdDWp','join','consume','upgrade','HTTP/1.1\x20101\x20Switching\x20Protocols','\x20(supported\x20versions:\x20','abort','pathname','normalizeParams','_readableState','_threshold','defineProperty','value','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','_binaryType','pluginName','_errorEmitted','url','sec-websocket-key','exports','onopen','Server\x20sent\x20no\x20subprotocol','getPayloadLength64','finish','values','invalid\x20UTF-8\x20sequence','buffers','_messageLength','_masked','isServer','_firstFragment','_closeCode','handleUpgrade','WS_ERR_EXPECTED_FIN','maxPayload','replace','concurrencyLimit','websocket','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','code','readyState','WS_NO_UTF_8_VALIDATE','_configService','blob','_errored','_originalHostOrSocketPath','pause','Invalid\x20HTTP\x20method','wss:','kData','username','sec-websocket-origin','read','sha1','_removeListeners','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','STATUS_CODES','binary','options','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','getInfo','delete','end','servername','CONNECTING','startLoop','verifyClient','_req','Z_DEFAULT_WINDOWBITS','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','endEmitted','cork','close','Parameter\x20\x22','listenerCount','isPaused','sec-websocket-accept','Sec-WebSocket-Origin','extensions','onclose','target','maxRedirects','method','359966odjdiX','_max_window_bits','unshift','construct','bufferedAmount','onmessage','serverMaxWindowBits','push','_final','serverNoContextTakeover','_allowSynchronousEvents','alloc','File','authorization','protocolVersion','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','once','dispose','sec-websocket-extensions','fin','threshold','object','9xuAMAh','OPEN','then','_writableState','client_max_window_bits','WS_ERR_UNEXPECTED_RSV_2_3','request','encrypted','ws:','error','_socket','Sec-WebSocket-Protocol','path','server_max_window_bits','onerror','connection','indexOf','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','_autoPong','finished','href','_bufferedBytes','pong','allowSynchronousEvents','concurrency','kDone','acceptAsServer','createServer','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','2038968ofzewW','digest','text/html','createDeflateRaw','defaultPort','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','collaboration-client-node.config','_server','CLOSING','completeUpgrade','prototype','_payloadLength','status-code','extensionName','perMessageDeflate','_generateMask','Invalid\x20Sec-WebSocket-Accept\x20header','protocol','add','createSocket','_originalSecure','Invalid\x20Upgrade\x20header','_compress','isInteger','origin','entries','species','response','ping','_extensions','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','removeEventListener','send','arraybuffer','listeners','_maxPayload','env','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','_read','writeUInt16BE','\x22\x20subprotocol\x20is\x20duplicated','objectMode','terminate','_receiver','charCodeAt','getBlobData','_readyState','Unsupported\x20protocol\x20version:\x20','allocUnsafe','Unexpected\x20character\x20at\x20index\x20','client','autoPong','removeAllListeners','write','dequeue','create','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','_url','pipe','getConfig','Upgrade','invalid\x20opcode\x20','mask','_closeFrameSent','readOnly','WS_ERR_UNEXPECTED_MASK','freeze','readUInt16BE','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','cookie','registerHTTPInterceptor','_sender','_maskBuffer','\x22\x20must\x20have\x20only\x20a\x20single\x20value','_httpService','_totalPayloadLength','auth','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','_injector','handleProtocols','Unexpected\x20end\x20of\x20input','toStringTag','toString','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','writable','opcode','apply','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','conclude','createInflateRaw','total-length','errorEmitted','shift','https:','keys','message','timeout','WS_ERR_INVALID_CLOSE_CODE','Server\x20sent\x20an\x20invalid\x20subprotocol','frame','hostname','kMessage','getOwnPropertyDescriptor','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','byteOffset','skipUTF8Validation','nextTick','kByteLength','next','binaryType','getMask','reset','socketPath','acceptAsClient','dispatch','Origin','type','addEventListener','emit','invalid\x20opcode\x200','emitClose','_destroy','controlMessage','13908dVmWIH','Basic\x20','wsClientError','_deflate','_inflate','2420jQbvJy','WS_ERR_UNEXPECTED_RSV_1','setSocket','__esModule','Sec-WebSocket-Extensions','http:','Unknown\x20parameter\x20\x22','reason','client_no_context_takeover','length','flush','_bufferedAmount','enqueue','resume','_fragmented','toLowerCase','byteLength','CLOSED','password','host','HTTP/1.1\x20','_isServer','sendFrame','buffer','bind','Invalid\x20Sec-WebSocket-Extensions\x20header','backlog','WS_ERR_INVALID_UTF8','kReason','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','_closeMessage','onStarting','createError','kTarget','haveLength','handleEvent','warn','_shouldEmitClose','writeHead','1072696HOtiEu','captureStackTrace','kRun','handshakeTimeout','Blob','Unexpected\x20server\x20response:\x20','setHeader','The\x20URL\x20contains\x20a\x20fragment\x20identifier','The\x20server\x20is\x20not\x20running','2750380uRPLBg','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','readable','getData','number','readUInt32BE','clientMaxWindowBits','\x0d\x0a\x0d\x0a','concat','_closeFrameReceived'];_0x548d=function(){return _0x27f733;};return _0x548d();}function qt(){const _0x241a70=_0x1a08ca;if(Xe)return ye;Xe=0x1;const _0x4c19b7=Symbol(_0x241a70(0xfb)),_0x2aa02e=Symbol(_0x241a70(0x1a9));class _0x2bd09d{constructor(_0x2e7f36){const _0x3c05fc=_0x241a70;this[_0x4c19b7]=()=>{this['pending']--,this[_0x2aa02e]();},this[_0x3c05fc(0xfa)]=_0x2e7f36||0x1/0x0,this['jobs']=[],this['pending']=0x0;}[_0x241a70(0x111)](_0x3e6b73){const _0x119d52=_0x241a70;this[_0x119d52(0x1c2)][_0x119d52(0xd3)](_0x3e6b73),this[_0x2aa02e]();}[_0x2aa02e](){const _0x15719f=_0x241a70;if(this[_0x15719f(0x22b)]!==this[_0x15719f(0xfa)]&&this['jobs'][_0x15719f(0x189)]){const _0x3b62cb=this['jobs']['shift']();this[_0x15719f(0x22b)]++,_0x3b62cb(this[_0x4c19b7]);}}}return ye=_0x2bd09d,ye;}var ve,Ze;function he(){const _0x1eadf0=_0x1a08ca;if(Ze)return ve;Ze=0x1;const _0x4ed6c8=_0x247100,_0x45fd40=ce(),_0x2716e9=qt(),{kStatusCode:_0x33ef4d}=V(),_0x105176=Buffer[Symbol[_0x1eadf0(0x119)]],_0x233140=Buffer[_0x1eadf0(0x1f5)]([0x0,0x0,0xff,0xff]),_0x4e9902=Symbol(_0x1eadf0(0x203)),_0x27c4d8=Symbol(_0x1eadf0(0x159)),_0x545cba=Symbol(_0x1eadf0(0x1e7)),_0x391387=Symbol(_0x1eadf0(0x24c)),_0x3d213a=Symbol(_0x1eadf0(0xeb));let _0x2c69d4;class _0x4b7d1b{constructor(_0x27b17c,_0x35e351,_0x565af3){const _0x5e2454=_0x1eadf0;if(this[_0x5e2454(0x122)]=_0x565af3|0x0,this['_options']=_0x27b17c||{},this['_threshold']=this[_0x5e2454(0x1dc)]['threshold']!==void 0x0?this['_options'][_0x5e2454(0xe0)]:0x400,this[_0x5e2454(0x195)]=!!_0x35e351,this['_deflate']=null,this[_0x5e2454(0x17f)]=null,this[_0x5e2454(0x22d)]=null,!_0x2c69d4){const _0x4e864c=this[_0x5e2454(0x1dc)]['concurrencyLimit']!==void 0x0?this[_0x5e2454(0x1dc)][_0x5e2454(0x256)]:0xa;_0x2c69d4=new _0x2716e9(_0x4e864c);}}static get[_0x1eadf0(0x10c)](){const _0x11d066=_0x1eadf0;return _0x11d066(0x203);}['offer'](){const _0x536439=_0x1eadf0,_0x1dcca5={};return this[_0x536439(0x1dc)][_0x536439(0xd5)]&&(_0x1dcca5['server_no_context_takeover']=!0x0),this[_0x536439(0x1dc)][_0x536439(0x1e3)]&&(_0x1dcca5[_0x536439(0x188)]=!0x0),this[_0x536439(0x1dc)][_0x536439(0xd2)]&&(_0x1dcca5['server_max_window_bits']=this['_options'][_0x536439(0xd2)]),this[_0x536439(0x1dc)][_0x536439(0x1b6)]?_0x1dcca5['client_max_window_bits']=this['_options']['clientMaxWindowBits']:this[_0x536439(0x1dc)][_0x536439(0x1b6)]==null&&(_0x1dcca5[_0x536439(0xe6)]=!0x0),_0x1dcca5;}[_0x1eadf0(0x219)](_0x59c7b9){const _0x2cb23b=_0x1eadf0;return _0x59c7b9=this['normalizeParams'](_0x59c7b9),this[_0x2cb23b(0x22d)]=this['_isServer']?this[_0x2cb23b(0xfc)](_0x59c7b9):this[_0x2cb23b(0x171)](_0x59c7b9),this[_0x2cb23b(0x22d)];}[_0x1eadf0(0x210)](){const _0x4ab0c2=_0x1eadf0;if(this[_0x4ab0c2(0x17f)]&&(this[_0x4ab0c2(0x17f)]['close'](),this[_0x4ab0c2(0x17f)]=null),this[_0x4ab0c2(0x17e)]){const _0x5b41b1=this[_0x4ab0c2(0x17e)][_0x545cba];this[_0x4ab0c2(0x17e)][_0x4ab0c2(0x27a)](),this[_0x4ab0c2(0x17e)]=null,_0x5b41b1&&_0x5b41b1(new Error(_0x4ab0c2(0x269)));}}[_0x1eadf0(0xfc)](_0x37f8a4){const _0xb3a635=_0x1eadf0,_0xe29caa=this[_0xb3a635(0x1dc)],_0x4ee6d2=_0x37f8a4['find'](_0xe94f1e=>!(_0xe29caa['serverNoContextTakeover']===!0x1&&_0xe94f1e[_0xb3a635(0x20c)]||_0xe94f1e[_0xb3a635(0xef)]&&(_0xe29caa['serverMaxWindowBits']===!0x1||typeof _0xe29caa['serverMaxWindowBits']==_0xb3a635(0x1b4)&&_0xe29caa[_0xb3a635(0xd2)]>_0xe94f1e[_0xb3a635(0xef)])||typeof _0xe29caa[_0xb3a635(0x1b6)]==_0xb3a635(0x1b4)&&!_0xe94f1e[_0xb3a635(0xe6)]));if(!_0x4ee6d2)throw new Error(_0xb3a635(0x1da));return _0xe29caa[_0xb3a635(0xd5)]&&(_0x4ee6d2[_0xb3a635(0x20c)]=!0x0),_0xe29caa['clientNoContextTakeover']&&(_0x4ee6d2[_0xb3a635(0x188)]=!0x0),typeof _0xe29caa[_0xb3a635(0xd2)]==_0xb3a635(0x1b4)&&(_0x4ee6d2['server_max_window_bits']=_0xe29caa[_0xb3a635(0xd2)]),typeof _0xe29caa[_0xb3a635(0x1b6)]==_0xb3a635(0x1b4)?_0x4ee6d2[_0xb3a635(0xe6)]=_0xe29caa['clientMaxWindowBits']:(_0x4ee6d2[_0xb3a635(0xe6)]===!0x0||_0xe29caa[_0xb3a635(0x1b6)]===!0x1)&&delete _0x4ee6d2[_0xb3a635(0xe6)],_0x4ee6d2;}[_0x1eadf0(0x171)](_0x42dd93){const _0x26346c=_0x1eadf0,_0x11134f=_0x42dd93[0x0];if(this['_options'][_0x26346c(0x1e3)]===!0x1&&_0x11134f[_0x26346c(0x188)])throw new Error(_0x26346c(0x104));if(!_0x11134f['client_max_window_bits'])typeof this[_0x26346c(0x1dc)]['clientMaxWindowBits']==_0x26346c(0x1b4)&&(_0x11134f[_0x26346c(0xe6)]=this['_options']['clientMaxWindowBits']);else{if(this['_options'][_0x26346c(0x1b6)]===!0x1||typeof this[_0x26346c(0x1dc)]['clientMaxWindowBits']=='number'&&_0x11134f[_0x26346c(0xe6)]>this[_0x26346c(0x1dc)][_0x26346c(0x1b6)])throw new Error(_0x26346c(0x277));}return _0x11134f;}[_0x1eadf0(0x23a)](_0x2d18b2){const _0x319c33=_0x1eadf0;return _0x2d18b2[_0x319c33(0x1ff)](_0x4bfa31=>{const _0x243750=_0x319c33;Object[_0x243750(0x15d)](_0x4bfa31)[_0x243750(0x1ff)](_0x4c9a76=>{const _0x1106bd=_0x243750;let _0x21bd99=_0x4bfa31[_0x4c9a76];if(_0x21bd99[_0x1106bd(0x189)]>0x1)throw new Error(_0x1106bd(0x27b)+_0x4c9a76+_0x1106bd(0x148));if(_0x21bd99=_0x21bd99[0x0],_0x4c9a76==='client_max_window_bits'){if(_0x21bd99!==!0x0){const _0x2879c2=+_0x21bd99;if(!Number[_0x1106bd(0x116)](_0x2879c2)||_0x2879c2<0x8||_0x2879c2>0xf)throw new TypeError(_0x1106bd(0x1bf)+_0x4c9a76+_0x1106bd(0x229)+_0x21bd99);_0x21bd99=_0x2879c2;}else{if(!this['_isServer'])throw new TypeError(_0x1106bd(0x1bf)+_0x4c9a76+'\x22:\x20'+_0x21bd99);}}else{if(_0x4c9a76==='server_max_window_bits'){const _0x64f208=+_0x21bd99;if(!Number['isInteger'](_0x64f208)||_0x64f208<0x8||_0x64f208>0xf)throw new TypeError(_0x1106bd(0x1bf)+_0x4c9a76+_0x1106bd(0x229)+_0x21bd99);_0x21bd99=_0x64f208;}else{if(_0x4c9a76===_0x1106bd(0x188)||_0x4c9a76===_0x1106bd(0x20c)){if(_0x21bd99!==!0x0)throw new TypeError(_0x1106bd(0x1bf)+_0x4c9a76+'\x22:\x20'+_0x21bd99);}else throw new Error(_0x1106bd(0x186)+_0x4c9a76+'\x22');}}_0x4bfa31[_0x4c9a76]=_0x21bd99;});}),_0x2d18b2;}['decompress'](_0x2e4874,_0x5d2223,_0x133174){const _0x41f9b7=_0x1eadf0;_0x2c69d4[_0x41f9b7(0x111)](_0x4d6225=>{this['_decompress'](_0x2e4874,_0x5d2223,(_0x47d42d,_0x14e27a)=>{_0x4d6225(),_0x133174(_0x47d42d,_0x14e27a);});});}[_0x1eadf0(0x1cc)](_0xb48ac6,_0xee61aa,_0x1f4759){_0x2c69d4['add'](_0x1e2415=>{const _0xe365a0=_0x4e9f;this[_0xe365a0(0x115)](_0xb48ac6,_0xee61aa,(_0x200fe3,_0x348b8f)=>{_0x1e2415(),_0x1f4759(_0x200fe3,_0x348b8f);});});}['_decompress'](_0x55a42b,_0x273656,_0x32a0e2){const _0x2d458e=_0x1eadf0,_0x44ee48=this['_isServer']?'client':'server';if(!this['_inflate']){const _0x520b70=_0x44ee48+_0x2d458e(0xcd),_0x3b21a9=typeof this[_0x2d458e(0x22d)][_0x520b70]!=_0x2d458e(0x1b4)?_0x4ed6c8[_0x2d458e(0x276)]:this[_0x2d458e(0x22d)][_0x520b70];this[_0x2d458e(0x17f)]=_0x4ed6c8[_0x2d458e(0x158)]({...this[_0x2d458e(0x1dc)][_0x2d458e(0x228)],'windowBits':_0x3b21a9}),this[_0x2d458e(0x17f)][_0x4e9902]=this,this[_0x2d458e(0x17f)][_0x27c4d8]=0x0,this[_0x2d458e(0x17f)][_0x391387]=[],this['_inflate']['on'](_0x2d458e(0xeb),_0x56b1d1),this[_0x2d458e(0x17f)]['on'](_0x2d458e(0x1c4),_0x3de546);}this['_inflate'][_0x545cba]=_0x32a0e2,this[_0x2d458e(0x17f)]['write'](_0x55a42b),_0x273656&&this[_0x2d458e(0x17f)]['write'](_0x233140),this[_0x2d458e(0x17f)]['flush'](()=>{const _0x193aba=_0x2d458e,_0x5d1db2=this[_0x193aba(0x17f)][_0x3d213a];if(_0x5d1db2){this[_0x193aba(0x17f)]['close'](),this[_0x193aba(0x17f)]=null,_0x32a0e2(_0x5d1db2);return;}const _0x26af6b=_0x45fd40[_0x193aba(0x1b8)](this[_0x193aba(0x17f)][_0x391387],this[_0x193aba(0x17f)][_0x27c4d8]);this['_inflate'][_0x193aba(0x23b)][_0x193aba(0x278)]?(this['_inflate']['close'](),this['_inflate']=null):(this['_inflate'][_0x27c4d8]=0x0,this[_0x193aba(0x17f)][_0x391387]=[],_0x273656&&this[_0x193aba(0x22d)][_0x44ee48+_0x193aba(0x22f)]&&this[_0x193aba(0x17f)][_0x193aba(0x16f)]()),_0x32a0e2(null,_0x26af6b);});}[_0x1eadf0(0x115)](_0x1d4ba8,_0x2e0b95,_0x2ea850){const _0x58981c=_0x1eadf0,_0x4a555a=this[_0x58981c(0x195)]?_0x58981c(0x1f4):_0x58981c(0x131);if(!this[_0x58981c(0x17e)]){const _0x5988f6=_0x4a555a+'_max_window_bits',_0x13d15e=typeof this[_0x58981c(0x22d)][_0x5988f6]!=_0x58981c(0x1b4)?_0x4ed6c8[_0x58981c(0x276)]:this[_0x58981c(0x22d)][_0x5988f6];this[_0x58981c(0x17e)]=_0x4ed6c8[_0x58981c(0x102)]({...this[_0x58981c(0x1dc)]['zlibDeflateOptions'],'windowBits':_0x13d15e}),this[_0x58981c(0x17e)][_0x27c4d8]=0x0,this[_0x58981c(0x17e)][_0x391387]=[],this['_deflate']['on'](_0x58981c(0x1c4),_0x4ac46b);}this['_deflate'][_0x545cba]=_0x2ea850,this[_0x58981c(0x17e)][_0x58981c(0x134)](_0x1d4ba8),this[_0x58981c(0x17e)][_0x58981c(0x18a)](_0x4ed6c8['Z_SYNC_FLUSH'],()=>{const _0x5e1a5d=_0x58981c;if(!this[_0x5e1a5d(0x17e)])return;let _0x19cc03=_0x45fd40[_0x5e1a5d(0x1b8)](this[_0x5e1a5d(0x17e)][_0x391387],this['_deflate'][_0x27c4d8]);_0x2e0b95&&(_0x19cc03=new _0x105176(_0x19cc03[_0x5e1a5d(0x197)],_0x19cc03[_0x5e1a5d(0x168)],_0x19cc03[_0x5e1a5d(0x189)]-0x4)),this[_0x5e1a5d(0x17e)][_0x545cba]=null,this[_0x5e1a5d(0x17e)][_0x27c4d8]=0x0,this[_0x5e1a5d(0x17e)][_0x391387]=[],_0x2e0b95&&this[_0x5e1a5d(0x22d)][_0x4a555a+_0x5e1a5d(0x22f)]&&this[_0x5e1a5d(0x17e)][_0x5e1a5d(0x16f)](),_0x2ea850(null,_0x19cc03);});}}ve=_0x4b7d1b;function _0x4ac46b(_0x22e80c){const _0x56234f=_0x1eadf0;this[_0x391387][_0x56234f(0xd3)](_0x22e80c),this[_0x27c4d8]+=_0x22e80c[_0x56234f(0x189)];}function _0x3de546(_0x66811c){const _0x53b13c=_0x1eadf0;if(this[_0x27c4d8]+=_0x66811c[_0x53b13c(0x189)],this[_0x4e9902]['_maxPayload']<0x1||this[_0x27c4d8]<=this[_0x4e9902][_0x53b13c(0x122)]){this[_0x391387][_0x53b13c(0xd3)](_0x66811c);return;}this[_0x3d213a]=new RangeError('Max\x20payload\x20size\x20exceeded'),this[_0x3d213a]['code']=_0x53b13c(0x152),this[_0x3d213a][_0x33ef4d]=0x3f1,this[_0x53b13c(0x215)]('data',_0x3de546),this[_0x53b13c(0x16f)]();}function _0x56b1d1(_0x4a5737){const _0x474965=_0x1eadf0;this[_0x4e9902][_0x474965(0x17f)]=null,_0x4a5737[_0x33ef4d]=0x3ef,this[_0x545cba](_0x4a5737);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x1a08ca(0x141)](Object[_0x1a08ca(0x23d)]({'__proto__':null,'default':Ht},Symbol[_0x1a08ca(0x150)],{'value':'Module'})),Yt=ut(zt);var Qe;function ne(){const _0x1eba45=_0x1a08ca;if(Qe)return re['exports'];Qe=0x1;const {isUtf8:_0x166562}=_0x5cde11,{hasBlob:_0x2ac985}=V(),_0x330660=[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 _0x2219be(_0x2a77a5){return _0x2a77a5>=0x3e8&&_0x2a77a5<=0x3f6&&_0x2a77a5!==0x3ec&&_0x2a77a5!==0x3ed&&_0x2a77a5!==0x3ee||_0x2a77a5>=0xbb8&&_0x2a77a5<=0x1387;}function _0x1168fb(_0x15d98a){const _0x4ec6a5=_0x4e9f,_0x493551=_0x15d98a[_0x4ec6a5(0x189)];let _0x16bd52=0x0;for(;_0x16bd52<_0x493551;)if((_0x15d98a[_0x16bd52]&0x80)===0x0)_0x16bd52++;else{if((_0x15d98a[_0x16bd52]&0xe0)===0xc0){if(_0x16bd52+0x1===_0x493551||(_0x15d98a[_0x16bd52+0x1]&0xc0)!==0x80||(_0x15d98a[_0x16bd52]&0xfe)===0xc0)return!0x1;_0x16bd52+=0x2;}else{if((_0x15d98a[_0x16bd52]&0xf0)===0xe0){if(_0x16bd52+0x2>=_0x493551||(_0x15d98a[_0x16bd52+0x1]&0xc0)!==0x80||(_0x15d98a[_0x16bd52+0x2]&0xc0)!==0x80||_0x15d98a[_0x16bd52]===0xe0&&(_0x15d98a[_0x16bd52+0x1]&0xe0)===0x80||_0x15d98a[_0x16bd52]===0xed&&(_0x15d98a[_0x16bd52+0x1]&0xe0)===0xa0)return!0x1;_0x16bd52+=0x3;}else{if((_0x15d98a[_0x16bd52]&0xf8)===0xf0){if(_0x16bd52+0x3>=_0x493551||(_0x15d98a[_0x16bd52+0x1]&0xc0)!==0x80||(_0x15d98a[_0x16bd52+0x2]&0xc0)!==0x80||(_0x15d98a[_0x16bd52+0x3]&0xc0)!==0x80||_0x15d98a[_0x16bd52]===0xf0&&(_0x15d98a[_0x16bd52+0x1]&0xf0)===0x80||_0x15d98a[_0x16bd52]===0xf4&&_0x15d98a[_0x16bd52+0x1]>0x8f||_0x15d98a[_0x16bd52]>0xf4)return!0x1;_0x16bd52+=0x4;}else return!0x1;}}}return!0x0;}function _0x1fbe29(_0x228e30){const _0x102778=_0x4e9f;return _0x2ac985&&typeof _0x228e30=='object'&&typeof _0x228e30[_0x102778(0x218)]==_0x102778(0x1dd)&&typeof _0x228e30['type']==_0x102778(0x1de)&&typeof _0x228e30[_0x102778(0x20b)]==_0x102778(0x1dd)&&(_0x228e30[Symbol['toStringTag']]===_0x102778(0x1ab)||_0x228e30[Symbol[_0x102778(0x150)]]===_0x102778(0xd8));}if(re[_0x1eba45(0x245)]={'isBlob':_0x1fbe29,'isValidStatusCode':_0x2219be,'isValidUTF8':_0x1168fb,'tokenChars':_0x330660},_0x166562)re[_0x1eba45(0x245)][_0x1eba45(0x1fd)]=function(_0x3a24b5){const _0x17f92b=_0x1eba45;return _0x3a24b5[_0x17f92b(0x189)]<0x18?_0x1168fb(_0x3a24b5):_0x166562(_0x3a24b5);};else{if(!process[_0x1eba45(0x123)][_0x1eba45(0x25b)])try{const _0x537c41=Yt;re[_0x1eba45(0x245)][_0x1eba45(0x1fd)]=function(_0x39ca19){const _0x1b6df8=_0x1eba45;return _0x39ca19[_0x1b6df8(0x189)]<0x20?_0x1168fb(_0x39ca19):_0x537c41(_0x39ca19);};}catch{}}return re[_0x1eba45(0x245)];}var Se,Je;function dt(){const _0x457312=_0x1a08ca;if(Je)return Se;Je=0x1;const {Writable:_0xd1481c}=_0x5be804,_0x57b9d5=he(),{BINARY_TYPES:_0x3ff6e0,EMPTY_BUFFER:_0x1ff5cc,kStatusCode:_0x4f6a59,kWebSocket:_0x47b447}=V(),{concat:_0x26babc,toArrayBuffer:_0x86640f,unmask:_0x48f056}=ce(),{isValidStatusCode:_0x50879f,isValidUTF8:_0x33de2e}=ne(),_0x211a18=Buffer[Symbol[_0x457312(0x119)]],_0x5a3e59=0x0,_0x59a1ad=0x1,_0x33c553=0x2,_0x1e96dd=0x3,_0x1a9be0=0x4,_0x5b977c=0x5,_0x2a8978=0x6;class _0x15f41d extends _0xd1481c{constructor(_0x335d8a={}){const _0x3cea30=_0x457312;super(),this[_0x3cea30(0xd6)]=_0x335d8a['allowSynchronousEvents']!==void 0x0?_0x335d8a[_0x3cea30(0xf9)]:!0x0,this[_0x3cea30(0x240)]=_0x335d8a[_0x3cea30(0x16d)]||_0x3ff6e0[0x0],this[_0x3cea30(0x11c)]=_0x335d8a[_0x3cea30(0x280)]||{},this[_0x3cea30(0x195)]=!!_0x335d8a[_0x3cea30(0x24f)],this['_maxPayload']=_0x335d8a[_0x3cea30(0x254)]|0x0,this['_skipUTF8Validation']=!!_0x335d8a[_0x3cea30(0x169)],this[_0x47b447]=void 0x0,this[_0x3cea30(0xf7)]=0x0,this[_0x3cea30(0x21f)]=[],this['_compressed']=!0x1,this['_payloadLength']=0x0,this[_0x3cea30(0x1ca)]=void 0x0,this[_0x3cea30(0x18e)]=0x0,this[_0x3cea30(0x24e)]=!0x1,this[_0x3cea30(0x1eb)]=!0x1,this[_0x3cea30(0x1c5)]=0x0,this['_totalPayloadLength']=0x0,this['_messageLength']=0x0,this['_fragments']=[],this['_errored']=!0x1,this[_0x3cea30(0x21a)]=!0x1,this[_0x3cea30(0x1c9)]=_0x5a3e59;}['_write'](_0x33da7d,_0x39d018,_0x17287d){const _0x452b03=_0x457312;if(this['_opcode']===0x8&&this[_0x452b03(0x1c9)]==_0x5a3e59)return _0x17287d();this[_0x452b03(0xf7)]+=_0x33da7d[_0x452b03(0x189)],this['_buffers'][_0x452b03(0xd3)](_0x33da7d),this[_0x452b03(0x273)](_0x17287d);}['consume'](_0x15336b){const _0x1bfe11=_0x457312;if(this[_0x1bfe11(0xf7)]-=_0x15336b,_0x15336b===this['_buffers'][0x0]['length'])return this['_buffers'][_0x1bfe11(0x15b)]();if(_0x15336b<this['_buffers'][0x0][_0x1bfe11(0x189)]){const _0x16abab=this[_0x1bfe11(0x21f)][0x0];return this['_buffers'][0x0]=new _0x211a18(_0x16abab[_0x1bfe11(0x197)],_0x16abab[_0x1bfe11(0x168)]+_0x15336b,_0x16abab[_0x1bfe11(0x189)]-_0x15336b),new _0x211a18(_0x16abab['buffer'],_0x16abab['byteOffset'],_0x15336b);}const _0x1a02ef=Buffer[_0x1bfe11(0x12f)](_0x15336b);do{const _0xb3393f=this['_buffers'][0x0],_0x45f779=_0x1a02ef[_0x1bfe11(0x189)]-_0x15336b;_0x15336b>=_0xb3393f[_0x1bfe11(0x189)]?_0x1a02ef['set'](this[_0x1bfe11(0x21f)]['shift'](),_0x45f779):(_0x1a02ef[_0x1bfe11(0x1e9)](new Uint8Array(_0xb3393f[_0x1bfe11(0x197)],_0xb3393f[_0x1bfe11(0x168)],_0x15336b),_0x45f779),this['_buffers'][0x0]=new _0x211a18(_0xb3393f[_0x1bfe11(0x197)],_0xb3393f[_0x1bfe11(0x168)]+_0x15336b,_0xb3393f[_0x1bfe11(0x189)]-_0x15336b)),_0x15336b-=_0xb3393f[_0x1bfe11(0x189)];}while(_0x15336b>0x0);return _0x1a02ef;}['startLoop'](_0x57ec21){const _0x1c66ff=_0x457312;this['_loop']=!0x0;do switch(this[_0x1c66ff(0x1c9)]){case _0x5a3e59:this[_0x1c66ff(0x26e)](_0x57ec21);break;case _0x59a1ad:this[_0x1c66ff(0x1d0)](_0x57ec21);break;case _0x33c553:this[_0x1c66ff(0x248)](_0x57ec21);break;case _0x1e96dd:this[_0x1c66ff(0x16e)]();break;case _0x1a9be0:this[_0x1c66ff(0x1b3)](_0x57ec21);break;case _0x5b977c:case _0x2a8978:this[_0x1c66ff(0x21a)]=!0x1;return;}while(this['_loop']);this[_0x1c66ff(0x25e)]||_0x57ec21();}[_0x457312(0x26e)](_0x4a8fb8){const _0x2aa788=_0x457312;if(this[_0x2aa788(0xf7)]<0x2){this['_loop']=!0x1;return;}const _0x500aab=this['consume'](0x2);if((_0x500aab[0x0]&0x30)!==0x0){const _0xf647f9=this[_0x2aa788(0x1a0)](RangeError,_0x2aa788(0x22e),!0x0,0x3ea,_0x2aa788(0xe7));_0x4a8fb8(_0xf647f9);return;}const _0x4bd935=(_0x500aab[0x0]&0x40)===0x40;if(_0x4bd935&&!this['_extensions'][_0x57b9d5['extensionName']]){const _0x5857b1=this[_0x2aa788(0x1a0)](RangeError,_0x2aa788(0x1f1),!0x0,0x3ea,_0x2aa788(0x181));_0x4a8fb8(_0x5857b1);return;}if(this[_0x2aa788(0x1eb)]=(_0x500aab[0x0]&0x80)===0x80,this[_0x2aa788(0x1c5)]=_0x500aab[0x0]&0xf,this[_0x2aa788(0x10a)]=_0x500aab[0x1]&0x7f,this[_0x2aa788(0x1c5)]===0x0){if(_0x4bd935){const _0x18d401=this[_0x2aa788(0x1a0)](RangeError,_0x2aa788(0x1f1),!0x0,0x3ea,_0x2aa788(0x181));_0x4a8fb8(_0x18d401);return;}if(!this[_0x2aa788(0x18e)]){const _0x209fb9=this[_0x2aa788(0x1a0)](RangeError,_0x2aa788(0x177),!0x0,0x3ea,_0x2aa788(0x1ef));_0x4a8fb8(_0x209fb9);return;}this[_0x2aa788(0x1c5)]=this[_0x2aa788(0x18e)];}else{if(this[_0x2aa788(0x1c5)]===0x1||this[_0x2aa788(0x1c5)]===0x2){if(this[_0x2aa788(0x18e)]){const _0x3c0084=this[_0x2aa788(0x1a0)](RangeError,'invalid\x20opcode\x20'+this[_0x2aa788(0x1c5)],!0x0,0x3ea,_0x2aa788(0x1ef));_0x4a8fb8(_0x3c0084);return;}this[_0x2aa788(0x1ce)]=_0x4bd935;}else{if(this[_0x2aa788(0x1c5)]>0x7&&this[_0x2aa788(0x1c5)]<0xb){if(!this['_fin']){const _0x211afe=this[_0x2aa788(0x1a0)](RangeError,'FIN\x20must\x20be\x20set',!0x0,0x3ea,_0x2aa788(0x253));_0x4a8fb8(_0x211afe);return;}if(_0x4bd935){const _0x1ad40a=this[_0x2aa788(0x1a0)](RangeError,_0x2aa788(0x1f1),!0x0,0x3ea,_0x2aa788(0x181));_0x4a8fb8(_0x1ad40a);return;}if(this[_0x2aa788(0x10a)]>0x7d||this[_0x2aa788(0x1c5)]===0x8&&this[_0x2aa788(0x10a)]===0x1){const _0x2d8935=this[_0x2aa788(0x1a0)](RangeError,_0x2aa788(0x1e4)+this[_0x2aa788(0x10a)],!0x0,0x3ea,_0x2aa788(0x1e0));_0x4a8fb8(_0x2d8935);return;}}else{const _0x4c1c20=this['createError'](RangeError,_0x2aa788(0x13c)+this[_0x2aa788(0x1c5)],!0x0,0x3ea,_0x2aa788(0x1ef));_0x4a8fb8(_0x4c1c20);return;}}}if(!this[_0x2aa788(0x1eb)]&&!this[_0x2aa788(0x18e)]&&(this[_0x2aa788(0x18e)]=this[_0x2aa788(0x1c5)]),this[_0x2aa788(0x24e)]=(_0x500aab[0x1]&0x80)===0x80,this[_0x2aa788(0x195)]){if(!this[_0x2aa788(0x24e)]){const _0x3ca32b=this[_0x2aa788(0x1a0)](RangeError,_0x2aa788(0x1d1),!0x0,0x3ea,_0x2aa788(0x1bc));_0x4a8fb8(_0x3ca32b);return;}}else{if(this[_0x2aa788(0x24e)]){const _0x235cc9=this[_0x2aa788(0x1a0)](RangeError,_0x2aa788(0x200),!0x0,0x3ea,_0x2aa788(0x140));_0x4a8fb8(_0x235cc9);return;}}this[_0x2aa788(0x10a)]===0x7e?this[_0x2aa788(0x1c9)]=_0x59a1ad:this['_payloadLength']===0x7f?this[_0x2aa788(0x1c9)]=_0x33c553:this['haveLength'](_0x4a8fb8);}[_0x457312(0x1d0)](_0x532af2){const _0x4bfa08=_0x457312;if(this[_0x4bfa08(0xf7)]<0x2){this[_0x4bfa08(0x21a)]=!0x1;return;}this['_payloadLength']=this[_0x4bfa08(0x234)](0x2)[_0x4bfa08(0x142)](0x0),this[_0x4bfa08(0x1a2)](_0x532af2);}[_0x457312(0x248)](_0x149084){const _0x442aea=_0x457312;if(this[_0x442aea(0xf7)]<0x8){this[_0x442aea(0x21a)]=!0x1;return;}const _0x390af5=this['consume'](0x8),_0x56c4ca=_0x390af5['readUInt32BE'](0x0);if(_0x56c4ca>Math['pow'](0x2,0x15)-0x1){const _0x36d1ca=this[_0x442aea(0x1a0)](RangeError,_0x442aea(0x226),!0x1,0x3f1,_0x442aea(0x11d));_0x149084(_0x36d1ca);return;}this[_0x442aea(0x10a)]=_0x56c4ca*Math[_0x442aea(0x225)](0x2,0x20)+_0x390af5[_0x442aea(0x1b5)](0x4),this[_0x442aea(0x1a2)](_0x149084);}[_0x457312(0x1a2)](_0x5ab364){const _0x4a8bb0=_0x457312;if(this[_0x4a8bb0(0x10a)]&&this[_0x4a8bb0(0x1c5)]<0x8&&(this[_0x4a8bb0(0x14a)]+=this[_0x4a8bb0(0x10a)],this[_0x4a8bb0(0x14a)]>this[_0x4a8bb0(0x122)]&&this[_0x4a8bb0(0x122)]>0x0)){const _0xcf74d9=this[_0x4a8bb0(0x1a0)](RangeError,_0x4a8bb0(0x217),!0x1,0x3f1,_0x4a8bb0(0x152));_0x5ab364(_0xcf74d9);return;}this[_0x4a8bb0(0x24e)]?this[_0x4a8bb0(0x1c9)]=_0x1e96dd:this[_0x4a8bb0(0x1c9)]=_0x1a9be0;}[_0x457312(0x16e)](){const _0x15eec8=_0x457312;if(this['_bufferedBytes']<0x4){this[_0x15eec8(0x21a)]=!0x1;return;}this[_0x15eec8(0x1ca)]=this['consume'](0x4),this['_state']=_0x1a9be0;}[_0x457312(0x1b3)](_0x5c3e88){const _0x2e348e=_0x457312;let _0x3fb6f3=_0x1ff5cc;if(this[_0x2e348e(0x10a)]){if(this[_0x2e348e(0xf7)]<this['_payloadLength']){this[_0x2e348e(0x21a)]=!0x1;return;}_0x3fb6f3=this[_0x2e348e(0x234)](this[_0x2e348e(0x10a)]),this[_0x2e348e(0x24e)]&&(this[_0x2e348e(0x1ca)][0x0]|this[_0x2e348e(0x1ca)][0x1]|this['_mask'][0x2]|this[_0x2e348e(0x1ca)][0x3])!==0x0&&_0x48f056(_0x3fb6f3,this[_0x2e348e(0x1ca)]);}if(this[_0x2e348e(0x1c5)]>0x7){this[_0x2e348e(0x17a)](_0x3fb6f3,_0x5c3e88);return;}if(this[_0x2e348e(0x1ce)]){this[_0x2e348e(0x1c9)]=_0x5b977c,this[_0x2e348e(0x1bb)](_0x3fb6f3,_0x5c3e88);return;}_0x3fb6f3[_0x2e348e(0x189)]&&(this[_0x2e348e(0x24d)]=this[_0x2e348e(0x14a)],this[_0x2e348e(0x20f)][_0x2e348e(0xd3)](_0x3fb6f3)),this[_0x2e348e(0x1c1)](_0x5c3e88);}['decompress'](_0x33a4a0,_0x186641){const _0x189ed2=_0x457312;this[_0x189ed2(0x11c)][_0x57b9d5[_0x189ed2(0x10c)]]['decompress'](_0x33a4a0,this[_0x189ed2(0x1eb)],(_0xb8d6bb,_0x2db763)=>{const _0x2432aa=_0x189ed2;if(_0xb8d6bb)return _0x186641(_0xb8d6bb);if(_0x2db763[_0x2432aa(0x189)]){if(this[_0x2432aa(0x24d)]+=_0x2db763[_0x2432aa(0x189)],this[_0x2432aa(0x24d)]>this['_maxPayload']&&this['_maxPayload']>0x0){const _0x4ce84a=this[_0x2432aa(0x1a0)](RangeError,_0x2432aa(0x217),!0x1,0x3f1,_0x2432aa(0x152));_0x186641(_0x4ce84a);return;}this[_0x2432aa(0x20f)][_0x2432aa(0xd3)](_0x2db763);}this[_0x2432aa(0x1c1)](_0x186641),this['_state']===_0x5a3e59&&this[_0x2432aa(0x273)](_0x186641);});}['dataMessage'](_0x2075f7){const _0x8b8fed=_0x457312;if(!this[_0x8b8fed(0x1eb)]){this[_0x8b8fed(0x1c9)]=_0x5a3e59;return;}const _0x53abd2=this[_0x8b8fed(0x24d)],_0x779331=this[_0x8b8fed(0x20f)];if(this[_0x8b8fed(0x14a)]=0x0,this[_0x8b8fed(0x24d)]=0x0,this['_fragmented']=0x0,this[_0x8b8fed(0x20f)]=[],this[_0x8b8fed(0x1c5)]===0x2){let _0x533d90;this[_0x8b8fed(0x240)]==='nodebuffer'?_0x533d90=_0x26babc(_0x779331,_0x53abd2):this[_0x8b8fed(0x240)]===_0x8b8fed(0x120)?_0x533d90=_0x86640f(_0x26babc(_0x779331,_0x53abd2)):this[_0x8b8fed(0x240)]===_0x8b8fed(0x25d)?_0x533d90=new Blob(_0x779331):_0x533d90=_0x779331,this[_0x8b8fed(0xd6)]?(this['emit']('message',_0x533d90,!0x0),this[_0x8b8fed(0x1c9)]=_0x5a3e59):(this[_0x8b8fed(0x1c9)]=_0x2a8978,setImmediate(()=>{const _0x3f3c70=_0x8b8fed;this[_0x3f3c70(0x176)]('message',_0x533d90,!0x0),this[_0x3f3c70(0x1c9)]=_0x5a3e59,this[_0x3f3c70(0x273)](_0x2075f7);}));}else{const _0x2f08fb=_0x26babc(_0x779331,_0x53abd2);if(!this['_skipUTF8Validation']&&!_0x33de2e(_0x2f08fb)){const _0x547b75=this[_0x8b8fed(0x1a0)](Error,_0x8b8fed(0x24b),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x2075f7(_0x547b75);return;}this[_0x8b8fed(0x1c9)]===_0x5b977c||this[_0x8b8fed(0xd6)]?(this[_0x8b8fed(0x176)](_0x8b8fed(0x15e),_0x2f08fb,!0x1),this[_0x8b8fed(0x1c9)]=_0x5a3e59):(this['_state']=_0x2a8978,setImmediate(()=>{const _0x594fcd=_0x8b8fed;this['emit']('message',_0x2f08fb,!0x1),this[_0x594fcd(0x1c9)]=_0x5a3e59,this[_0x594fcd(0x273)](_0x2075f7);}));}}[_0x457312(0x17a)](_0x268005,_0x2e06c6){const _0xd88e39=_0x457312;if(this[_0xd88e39(0x1c5)]===0x8){if(_0x268005[_0xd88e39(0x189)]===0x0)this['_loop']=!0x1,this['emit'](_0xd88e39(0x157),0x3ed,_0x1ff5cc),this[_0xd88e39(0x270)]();else{const _0x3741fd=_0x268005[_0xd88e39(0x142)](0x0);if(!_0x50879f(_0x3741fd)){const _0x5b092a=this[_0xd88e39(0x1a0)](RangeError,_0xd88e39(0x204)+_0x3741fd,!0x0,0x3ea,_0xd88e39(0x160));_0x2e06c6(_0x5b092a);return;}const _0x9c1642=new _0x211a18(_0x268005['buffer'],_0x268005[_0xd88e39(0x168)]+0x2,_0x268005[_0xd88e39(0x189)]-0x2);if(!this[_0xd88e39(0x1cf)]&&!_0x33de2e(_0x9c1642)){const _0x596c58=this[_0xd88e39(0x1a0)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0xd88e39(0x19b));_0x2e06c6(_0x596c58);return;}this[_0xd88e39(0x21a)]=!0x1,this[_0xd88e39(0x176)]('conclude',_0x3741fd,_0x9c1642),this['end']();}this['_state']=_0x5a3e59;return;}this[_0xd88e39(0xd6)]?(this[_0xd88e39(0x176)](this['_opcode']===0x9?_0xd88e39(0x11b):'pong',_0x268005),this[_0xd88e39(0x1c9)]=_0x5a3e59):(this['_state']=_0x2a8978,setImmediate(()=>{const _0x3c2c03=_0xd88e39;this[_0x3c2c03(0x176)](this[_0x3c2c03(0x1c5)]===0x9?_0x3c2c03(0x11b):_0x3c2c03(0xf8),_0x268005),this[_0x3c2c03(0x1c9)]=_0x5a3e59,this[_0x3c2c03(0x273)](_0x2e06c6);}));}[_0x457312(0x1a0)](_0x5d6ec7,_0x111d45,_0x49cf56,_0x41fb44,_0x1fcae2){const _0x1499c7=_0x457312;this[_0x1499c7(0x21a)]=!0x1,this[_0x1499c7(0x25e)]=!0x0;const _0x5eee78=new _0x5d6ec7(_0x49cf56?'Invalid\x20WebSocket\x20frame:\x20'+_0x111d45:_0x111d45);return Error[_0x1499c7(0x1a8)](_0x5eee78,this['createError']),_0x5eee78[_0x1499c7(0x259)]=_0x1fcae2,_0x5eee78[_0x4f6a59]=_0x41fb44,_0x5eee78;}}return Se=_0x15f41d,Se;}var Ee,et;function _t(){const _0x53d2c8=_0x1a08ca;if(et)return Ee;et=0x1;const {Duplex:_0x522bc2}=_0x5be804,{randomFillSync:_0x4bc603}=_0x41718c,_0x18e63c=he(),{EMPTY_BUFFER:_0x13d365,kWebSocket:_0x1844d1,NOOP:_0x3a9b5b}=V(),{isBlob:_0x4c28d0,isValidStatusCode:_0x2002cc}=ne(),{mask:_0x123820,toBuffer:_0x19cff8}=ce(),_0xb2008c=Symbol(_0x53d2c8(0x16b)),_0x1c57ed=Buffer[_0x53d2c8(0xd7)](0x4),_0x459001=0x8*0x400;let _0x814f2f,_0x4bb736=_0x459001;const _0x2762f2=0x0,_0x244025=0x1,_0x24dc06=0x2;class _0x27340c{constructor(_0x31df5b,_0x585a8a,_0x2cbd3c){const _0x42b67b=_0x53d2c8;this[_0x42b67b(0x11c)]=_0x585a8a||{},_0x2cbd3c&&(this[_0x42b67b(0x10e)]=_0x2cbd3c,this['_maskBuffer']=Buffer['alloc'](0x4)),this[_0x42b67b(0xec)]=_0x31df5b,this[_0x42b67b(0x250)]=!0x0,this[_0x42b67b(0x115)]=!0x1,this[_0x42b67b(0xf7)]=0x0,this[_0x42b67b(0x208)]=[],this['_state']=_0x2762f2,this['onerror']=_0x3a9b5b,this[_0x1844d1]=void 0x0;}static[_0x53d2c8(0x162)](_0x5bfc02,_0xd7c946){const _0x1916ef=_0x53d2c8;let _0x4ba096,_0x227c83=!0x1,_0xfedd94=0x2,_0x51b42e=!0x1;_0xd7c946[_0x1916ef(0x13d)]&&(_0x4ba096=_0xd7c946['maskBuffer']||_0x1c57ed,_0xd7c946['generateMask']?_0xd7c946['generateMask'](_0x4ba096):(_0x4bb736===_0x459001&&(_0x814f2f===void 0x0&&(_0x814f2f=Buffer[_0x1916ef(0xd7)](_0x459001)),_0x4bc603(_0x814f2f,0x0,_0x459001),_0x4bb736=0x0),_0x4ba096[0x0]=_0x814f2f[_0x4bb736++],_0x4ba096[0x1]=_0x814f2f[_0x4bb736++],_0x4ba096[0x2]=_0x814f2f[_0x4bb736++],_0x4ba096[0x3]=_0x814f2f[_0x4bb736++]),_0x51b42e=(_0x4ba096[0x0]|_0x4ba096[0x1]|_0x4ba096[0x2]|_0x4ba096[0x3])===0x0,_0xfedd94=0x6);let _0x2a8c78;typeof _0x5bfc02==_0x1916ef(0x1de)?(!_0xd7c946[_0x1916ef(0x13d)]||_0x51b42e)&&_0xd7c946[_0xb2008c]!==void 0x0?_0x2a8c78=_0xd7c946[_0xb2008c]:(_0x5bfc02=Buffer['from'](_0x5bfc02),_0x2a8c78=_0x5bfc02[_0x1916ef(0x189)]):(_0x2a8c78=_0x5bfc02[_0x1916ef(0x189)],_0x227c83=_0xd7c946[_0x1916ef(0x13d)]&&_0xd7c946[_0x1916ef(0x13f)]&&!_0x51b42e);let _0x44db18=_0x2a8c78;_0x2a8c78>=0x10000?(_0xfedd94+=0x8,_0x44db18=0x7f):_0x2a8c78>0x7d&&(_0xfedd94+=0x2,_0x44db18=0x7e);const _0x1f186b=Buffer[_0x1916ef(0x12f)](_0x227c83?_0x2a8c78+_0xfedd94:_0xfedd94);return _0x1f186b[0x0]=_0xd7c946[_0x1916ef(0xdf)]?_0xd7c946['opcode']|0x80:_0xd7c946[_0x1916ef(0x154)],_0xd7c946['rsv1']&&(_0x1f186b[0x0]|=0x40),_0x1f186b[0x1]=_0x44db18,_0x44db18===0x7e?_0x1f186b[_0x1916ef(0x126)](_0x2a8c78,0x2):_0x44db18===0x7f&&(_0x1f186b[0x2]=_0x1f186b[0x3]=0x0,_0x1f186b[_0x1916ef(0x1c7)](_0x2a8c78,0x4,0x6)),_0xd7c946[_0x1916ef(0x13d)]?(_0x1f186b[0x1]|=0x80,_0x1f186b[_0xfedd94-0x4]=_0x4ba096[0x0],_0x1f186b[_0xfedd94-0x3]=_0x4ba096[0x1],_0x1f186b[_0xfedd94-0x2]=_0x4ba096[0x2],_0x1f186b[_0xfedd94-0x1]=_0x4ba096[0x3],_0x51b42e?[_0x1f186b,_0x5bfc02]:_0x227c83?(_0x123820(_0x5bfc02,_0x4ba096,_0x1f186b,_0xfedd94,_0x2a8c78),[_0x1f186b]):(_0x123820(_0x5bfc02,_0x4ba096,_0x5bfc02,0x0,_0x2a8c78),[_0x1f186b,_0x5bfc02])):[_0x1f186b,_0x5bfc02];}[_0x53d2c8(0x27a)](_0x1cc2d4,_0x510e53,_0x1f7348,_0x8a365a){const _0x1213d5=_0x53d2c8;let _0x300ee6;if(_0x1cc2d4===void 0x0)_0x300ee6=_0x13d365;else{if(typeof _0x1cc2d4!='number'||!_0x2002cc(_0x1cc2d4))throw new TypeError(_0x1213d5(0xfe));if(_0x510e53===void 0x0||!_0x510e53['length'])_0x300ee6=Buffer[_0x1213d5(0x12f)](0x2),_0x300ee6['writeUInt16BE'](_0x1cc2d4,0x0);else{const _0xf5554a=Buffer[_0x1213d5(0x190)](_0x510e53);if(_0xf5554a>0x7b)throw new RangeError(_0x1213d5(0x124));_0x300ee6=Buffer[_0x1213d5(0x12f)](0x2+_0xf5554a),_0x300ee6[_0x1213d5(0x126)](_0x1cc2d4,0x0),typeof _0x510e53==_0x1213d5(0x1de)?_0x300ee6[_0x1213d5(0x134)](_0x510e53,0x2):_0x300ee6[_0x1213d5(0x1e9)](_0x510e53,0x2);}}const _0xe4f3f8={[_0xb2008c]:_0x300ee6[_0x1213d5(0x189)],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x1f7348,'maskBuffer':this[_0x1213d5(0x147)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this['_state']!==_0x2762f2?this[_0x1213d5(0x18c)]([this[_0x1213d5(0x172)],_0x300ee6,!0x1,_0xe4f3f8,_0x8a365a]):this[_0x1213d5(0x196)](_0x27340c['frame'](_0x300ee6,_0xe4f3f8),_0x8a365a);}['ping'](_0x2d728c,_0x117902,_0x2cec68){const _0x199fc7=_0x53d2c8;let _0x5e46be,_0xa24278;if(typeof _0x2d728c=='string'?(_0x5e46be=Buffer[_0x199fc7(0x190)](_0x2d728c),_0xa24278=!0x1):_0x4c28d0(_0x2d728c)?(_0x5e46be=_0x2d728c['size'],_0xa24278=!0x1):(_0x2d728c=_0x19cff8(_0x2d728c),_0x5e46be=_0x2d728c[_0x199fc7(0x189)],_0xa24278=_0x19cff8[_0x199fc7(0x13f)]),_0x5e46be>0x7d)throw new RangeError(_0x199fc7(0x137));const _0x467d17={[_0xb2008c]:_0x5e46be,'fin':!0x0,'generateMask':this[_0x199fc7(0x10e)],'mask':_0x117902,'maskBuffer':this[_0x199fc7(0x147)],'opcode':0x9,'readOnly':_0xa24278,'rsv1':!0x1};_0x4c28d0(_0x2d728c)?this[_0x199fc7(0x1c9)]!==_0x2762f2?this[_0x199fc7(0x18c)]([this[_0x199fc7(0x12c)],_0x2d728c,!0x1,_0x467d17,_0x2cec68]):this[_0x199fc7(0x12c)](_0x2d728c,!0x1,_0x467d17,_0x2cec68):this[_0x199fc7(0x1c9)]!==_0x2762f2?this[_0x199fc7(0x18c)]([this[_0x199fc7(0x172)],_0x2d728c,!0x1,_0x467d17,_0x2cec68]):this[_0x199fc7(0x196)](_0x27340c[_0x199fc7(0x162)](_0x2d728c,_0x467d17),_0x2cec68);}['pong'](_0x22d497,_0x448f4e,_0x7bef9c){const _0x3186d9=_0x53d2c8;let _0xdae8db,_0x321f81;if(typeof _0x22d497==_0x3186d9(0x1de)?(_0xdae8db=Buffer[_0x3186d9(0x190)](_0x22d497),_0x321f81=!0x1):_0x4c28d0(_0x22d497)?(_0xdae8db=_0x22d497[_0x3186d9(0x22a)],_0x321f81=!0x1):(_0x22d497=_0x19cff8(_0x22d497),_0xdae8db=_0x22d497[_0x3186d9(0x189)],_0x321f81=_0x19cff8[_0x3186d9(0x13f)]),_0xdae8db>0x7d)throw new RangeError(_0x3186d9(0x137));const _0x2d0388={[_0xb2008c]:_0xdae8db,'fin':!0x0,'generateMask':this[_0x3186d9(0x10e)],'mask':_0x448f4e,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x321f81,'rsv1':!0x1};_0x4c28d0(_0x22d497)?this[_0x3186d9(0x1c9)]!==_0x2762f2?this['enqueue']([this[_0x3186d9(0x12c)],_0x22d497,!0x1,_0x2d0388,_0x7bef9c]):this[_0x3186d9(0x12c)](_0x22d497,!0x1,_0x2d0388,_0x7bef9c):this[_0x3186d9(0x1c9)]!==_0x2762f2?this[_0x3186d9(0x18c)]([this['dispatch'],_0x22d497,!0x1,_0x2d0388,_0x7bef9c]):this[_0x3186d9(0x196)](_0x27340c[_0x3186d9(0x162)](_0x22d497,_0x2d0388),_0x7bef9c);}[_0x53d2c8(0x11f)](_0xfb0a,_0x3be8f6,_0x362966){const _0x1a1816=_0x53d2c8,_0x2ab695=this['_extensions'][_0x18e63c[_0x1a1816(0x10c)]];let _0x567c4c=_0x3be8f6[_0x1a1816(0x26b)]?0x2:0x1,_0x39e34e=_0x3be8f6['compress'],_0x4d1338,_0x4b621d;typeof _0xfb0a=='string'?(_0x4d1338=Buffer[_0x1a1816(0x190)](_0xfb0a),_0x4b621d=!0x1):_0x4c28d0(_0xfb0a)?(_0x4d1338=_0xfb0a[_0x1a1816(0x22a)],_0x4b621d=!0x1):(_0xfb0a=_0x19cff8(_0xfb0a),_0x4d1338=_0xfb0a[_0x1a1816(0x189)],_0x4b621d=_0x19cff8[_0x1a1816(0x13f)]),this[_0x1a1816(0x250)]?(this[_0x1a1816(0x250)]=!0x1,_0x39e34e&&_0x2ab695&&_0x2ab695['params'][_0x2ab695[_0x1a1816(0x195)]?_0x1a1816(0x20c):_0x1a1816(0x188)]&&(_0x39e34e=_0x4d1338>=_0x2ab695[_0x1a1816(0x23c)]),this[_0x1a1816(0x115)]=_0x39e34e):(_0x39e34e=!0x1,_0x567c4c=0x0),_0x3be8f6[_0x1a1816(0xdf)]&&(this[_0x1a1816(0x250)]=!0x0);const _0x48e687={[_0xb2008c]:_0x4d1338,'fin':_0x3be8f6[_0x1a1816(0xdf)],'generateMask':this[_0x1a1816(0x10e)],'mask':_0x3be8f6[_0x1a1816(0x13d)],'maskBuffer':this['_maskBuffer'],'opcode':_0x567c4c,'readOnly':_0x4b621d,'rsv1':_0x39e34e};_0x4c28d0(_0xfb0a)?this[_0x1a1816(0x1c9)]!==_0x2762f2?this[_0x1a1816(0x18c)]([this[_0x1a1816(0x12c)],_0xfb0a,this[_0x1a1816(0x115)],_0x48e687,_0x362966]):this['getBlobData'](_0xfb0a,this['_compress'],_0x48e687,_0x362966):this[_0x1a1816(0x1c9)]!==_0x2762f2?this[_0x1a1816(0x18c)]([this[_0x1a1816(0x172)],_0xfb0a,this[_0x1a1816(0x115)],_0x48e687,_0x362966]):this[_0x1a1816(0x172)](_0xfb0a,this[_0x1a1816(0x115)],_0x48e687,_0x362966);}[_0x53d2c8(0x12c)](_0x40db6e,_0x4e3733,_0x399f56,_0x25046e){const _0x230846=_0x53d2c8;this['_bufferedBytes']+=_0x399f56[_0xb2008c],this[_0x230846(0x1c9)]=_0x24dc06,_0x40db6e[_0x230846(0x218)]()[_0x230846(0xe4)](_0x43a824=>{const _0x17a6f6=_0x230846;if(this[_0x17a6f6(0xec)][_0x17a6f6(0x1c6)]){const _0x5a3146=new Error(_0x17a6f6(0x23f));process['nextTick'](_0xf4b5ce,this,_0x5a3146,_0x25046e);return;}this[_0x17a6f6(0xf7)]-=_0x399f56[_0xb2008c];const _0x8df49=_0x19cff8(_0x43a824);_0x4e3733?this['dispatch'](_0x8df49,_0x4e3733,_0x399f56,_0x25046e):(this['_state']=_0x2762f2,this[_0x17a6f6(0x196)](_0x27340c['frame'](_0x8df49,_0x399f56),_0x25046e),this['dequeue']());})['catch'](_0x39922a=>{const _0x79ab41=_0x230846;process[_0x79ab41(0x16a)](_0xa4a3f0,this,_0x39922a,_0x25046e);});}['dispatch'](_0x26af5a,_0x2a377f,_0x422e09,_0x60ba9f){const _0x5557c0=_0x53d2c8;if(!_0x2a377f){this['sendFrame'](_0x27340c[_0x5557c0(0x162)](_0x26af5a,_0x422e09),_0x60ba9f);return;}const _0x50325b=this[_0x5557c0(0x11c)][_0x18e63c[_0x5557c0(0x10c)]];this[_0x5557c0(0xf7)]+=_0x422e09[_0xb2008c],this[_0x5557c0(0x1c9)]=_0x244025,_0x50325b[_0x5557c0(0x1cc)](_0x26af5a,_0x422e09['fin'],(_0x3d147f,_0x891db4)=>{const _0x44575b=_0x5557c0;if(this[_0x44575b(0xec)][_0x44575b(0x1c6)]){const _0x3f77a9=new Error(_0x44575b(0x167));_0xf4b5ce(this,_0x3f77a9,_0x60ba9f);return;}this[_0x44575b(0xf7)]-=_0x422e09[_0xb2008c],this[_0x44575b(0x1c9)]=_0x2762f2,_0x422e09[_0x44575b(0x13f)]=!0x1,this[_0x44575b(0x196)](_0x27340c['frame'](_0x891db4,_0x422e09),_0x60ba9f),this[_0x44575b(0x135)]();});}[_0x53d2c8(0x135)](){const _0x5354f9=_0x53d2c8;for(;this['_state']===_0x2762f2&&this[_0x5354f9(0x208)][_0x5354f9(0x189)];){const _0x2c3e6d=this[_0x5354f9(0x208)]['shift']();this['_bufferedBytes']-=_0x2c3e6d[0x3][_0xb2008c],Reflect[_0x5354f9(0x155)](_0x2c3e6d[0x0],this,_0x2c3e6d[_0x5354f9(0x1e8)](0x1));}}[_0x53d2c8(0x18c)](_0x4963db){const _0x233e43=_0x53d2c8;this[_0x233e43(0xf7)]+=_0x4963db[0x3][_0xb2008c],this[_0x233e43(0x208)][_0x233e43(0xd3)](_0x4963db);}[_0x53d2c8(0x196)](_0x2d2bb6,_0x4e25b1){const _0x20ed8a=_0x53d2c8;_0x2d2bb6['length']===0x2?(this['_socket'][_0x20ed8a(0x279)](),this[_0x20ed8a(0xec)][_0x20ed8a(0x134)](_0x2d2bb6[0x0]),this[_0x20ed8a(0xec)]['write'](_0x2d2bb6[0x1],_0x4e25b1),this[_0x20ed8a(0xec)][_0x20ed8a(0x214)]()):this[_0x20ed8a(0xec)][_0x20ed8a(0x134)](_0x2d2bb6[0x0],_0x4e25b1);}}Ee=_0x27340c;function _0xf4b5ce(_0x536ab6,_0x1ba239,_0x57fec6){const _0x15e54f=_0x53d2c8;typeof _0x57fec6==_0x15e54f(0x1dd)&&_0x57fec6(_0x1ba239);for(let _0x373837=0x0;_0x373837<_0x536ab6[_0x15e54f(0x208)][_0x15e54f(0x189)];_0x373837++){const _0x540dde=_0x536ab6['_queue'][_0x373837],_0xc6376a=_0x540dde[_0x540dde['length']-0x1];typeof _0xc6376a==_0x15e54f(0x1dd)&&_0xc6376a(_0x1ba239);}}function _0xa4a3f0(_0x4f1504,_0x84177e,_0x2f64fa){const _0x3a4206=_0x53d2c8;_0xf4b5ce(_0x4f1504,_0x84177e,_0x2f64fa),_0x4f1504[_0x3a4206(0xf0)](_0x84177e);}return Ee;}var xe,tt;function Kt(){const _0x439511=_0x1a08ca;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x493027,kListener:_0x2e88f9}=V(),_0x5e8f3a=Symbol('kCode'),_0x1803de=Symbol(_0x439511(0x263)),_0x12797b=Symbol(_0x439511(0x227)),_0x57a7d9=Symbol(_0x439511(0x164)),_0x5b0ee4=Symbol(_0x439511(0x19c)),_0x322c06=Symbol(_0x439511(0x1a1)),_0x1833ea=Symbol(_0x439511(0x1f9)),_0x3787db=Symbol(_0x439511(0x1fe));class _0x453136{constructor(_0x145cf0){this[_0x322c06]=null,this[_0x1833ea]=_0x145cf0;}get[_0x439511(0x282)](){return this[_0x322c06];}get[_0x439511(0x174)](){return this[_0x1833ea];}}Object[_0x439511(0x23d)](_0x453136['prototype'],_0x439511(0x282),{'enumerable':!0x0}),Object[_0x439511(0x23d)](_0x453136['prototype'],_0x439511(0x174),{'enumerable':!0x0});class _0x59d993 extends _0x453136{constructor(_0x5e9040,_0x377ccc={}){const _0x279eb5=_0x439511;super(_0x5e9040),this[_0x5e8f3a]=_0x377ccc[_0x279eb5(0x259)]===void 0x0?0x0:_0x377ccc[_0x279eb5(0x259)],this[_0x5b0ee4]=_0x377ccc['reason']===void 0x0?'':_0x377ccc['reason'],this[_0x3787db]=_0x377ccc[_0x279eb5(0x1db)]===void 0x0?!0x1:_0x377ccc[_0x279eb5(0x1db)];}get[_0x439511(0x259)](){return this[_0x5e8f3a];}get[_0x439511(0x187)](){return this[_0x5b0ee4];}get[_0x439511(0x1db)](){return this[_0x3787db];}}Object[_0x439511(0x23d)](_0x59d993[_0x439511(0x109)],_0x439511(0x259),{'enumerable':!0x0}),Object[_0x439511(0x23d)](_0x59d993[_0x439511(0x109)],'reason',{'enumerable':!0x0}),Object[_0x439511(0x23d)](_0x59d993['prototype'],_0x439511(0x1db),{'enumerable':!0x0});class _0x71d191 extends _0x453136{constructor(_0x52052f,_0x19341a={}){const _0x214d7e=_0x439511;super(_0x52052f),this[_0x12797b]=_0x19341a[_0x214d7e(0xeb)]===void 0x0?null:_0x19341a[_0x214d7e(0xeb)],this[_0x57a7d9]=_0x19341a[_0x214d7e(0x15e)]===void 0x0?'':_0x19341a[_0x214d7e(0x15e)];}get[_0x439511(0xeb)](){return this[_0x12797b];}get['message'](){return this[_0x57a7d9];}}Object[_0x439511(0x23d)](_0x71d191[_0x439511(0x109)],_0x439511(0xeb),{'enumerable':!0x0}),Object[_0x439511(0x23d)](_0x71d191[_0x439511(0x109)],'message',{'enumerable':!0x0});class _0x5302f5 extends _0x453136{constructor(_0x355926,_0x33902c={}){const _0x284add=_0x439511;super(_0x355926),this[_0x1803de]=_0x33902c['data']===void 0x0?null:_0x33902c[_0x284add(0x1c4)];}get[_0x439511(0x1c4)](){return this[_0x1803de];}}Object['defineProperty'](_0x5302f5[_0x439511(0x109)],'data',{'enumerable':!0x0}),xe={'CloseEvent':_0x59d993,'ErrorEvent':_0x71d191,'Event':_0x453136,'EventTarget':{'addEventListener'(_0x42726e,_0x517de,_0x20c941={}){const _0x467055=_0x439511;for(const _0x353d24 of this[_0x467055(0x121)](_0x42726e))if(!_0x20c941[_0x493027]&&_0x353d24[_0x2e88f9]===_0x517de&&!_0x353d24[_0x493027])return;let _0x493ae2;if(_0x42726e===_0x467055(0x15e))_0x493ae2=function(_0x41d5bf,_0x50d128){const _0x33ab98=_0x467055,_0x445ab1=new _0x5302f5('message',{'data':_0x50d128?_0x41d5bf:_0x41d5bf[_0x33ab98(0x151)]()});_0x445ab1[_0x322c06]=this,_0x2e232a(_0x517de,this,_0x445ab1);};else{if(_0x42726e==='close')_0x493ae2=function(_0xf77c7a,_0x24e42a){const _0xbd72f0=_0x467055,_0x4d6829=new _0x59d993('close',{'code':_0xf77c7a,'reason':_0x24e42a[_0xbd72f0(0x151)](),'wasClean':this[_0xbd72f0(0x1b9)]&&this[_0xbd72f0(0x13e)]});_0x4d6829[_0x322c06]=this,_0x2e232a(_0x517de,this,_0x4d6829);};else{if(_0x42726e===_0x467055(0xeb))_0x493ae2=function(_0x537a63){const _0x5b6a5d=_0x467055,_0x314b0a=new _0x71d191(_0x5b6a5d(0xeb),{'error':_0x537a63,'message':_0x537a63['message']});_0x314b0a[_0x322c06]=this,_0x2e232a(_0x517de,this,_0x314b0a);};else{if(_0x42726e===_0x467055(0x1e1))_0x493ae2=function(){const _0x27add3=_0x467055,_0x255039=new _0x453136(_0x27add3(0x1e1));_0x255039[_0x322c06]=this,_0x2e232a(_0x517de,this,_0x255039);};else return;}}}_0x493ae2[_0x493027]=!!_0x20c941[_0x493027],_0x493ae2[_0x2e88f9]=_0x517de,_0x20c941[_0x467055(0xdc)]?this[_0x467055(0xdc)](_0x42726e,_0x493ae2):this['on'](_0x42726e,_0x493ae2);},'removeEventListener'(_0x2cc5c7,_0x56033d){const _0x5c43ea=_0x439511;for(const _0x4a8eb2 of this['listeners'](_0x2cc5c7))if(_0x4a8eb2[_0x2e88f9]===_0x56033d&&!_0x4a8eb2[_0x493027]){this[_0x5c43ea(0x215)](_0x2cc5c7,_0x4a8eb2);break;}}},'MessageEvent':_0x5302f5};function _0x2e232a(_0x35940e,_0x515b84,_0x1a0d5b){const _0x19f27d=_0x439511;typeof _0x35940e==_0x19f27d(0xe1)&&_0x35940e['handleEvent']?_0x35940e[_0x19f27d(0x1a3)][_0x19f27d(0x1fb)](_0x35940e,_0x1a0d5b):_0x35940e['call'](_0x515b84,_0x1a0d5b);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x2aaf89}=ne();function _0x6e9219(_0xc21888,_0x324719,_0x23eaac){_0xc21888[_0x324719]===void 0x0?_0xc21888[_0x324719]=[_0x23eaac]:_0xc21888[_0x324719]['push'](_0x23eaac);}function _0x2220a8(_0x2fd6aa){const _0x8ca063=_0x4e9f,_0x13ca0d=Object[_0x8ca063(0x136)](null);let _0x20fef2=Object['create'](null),_0x1197c1=!0x1,_0xe6789c=!0x1,_0x2cd79c=!0x1,_0x348e24,_0x35b523,_0x1b7775=-0x1,_0x51c6e0=-0x1,_0x39507f=-0x1,_0x3a06b9=0x0;for(;_0x3a06b9<_0x2fd6aa[_0x8ca063(0x189)];_0x3a06b9++)if(_0x51c6e0=_0x2fd6aa[_0x8ca063(0x12b)](_0x3a06b9),_0x348e24===void 0x0){if(_0x39507f===-0x1&&_0x2aaf89[_0x51c6e0]===0x1)_0x1b7775===-0x1&&(_0x1b7775=_0x3a06b9);else{if(_0x3a06b9!==0x0&&(_0x51c6e0===0x20||_0x51c6e0===0x9))_0x39507f===-0x1&&_0x1b7775!==-0x1&&(_0x39507f=_0x3a06b9);else{if(_0x51c6e0===0x3b||_0x51c6e0===0x2c){if(_0x1b7775===-0x1)throw new SyntaxError(_0x8ca063(0x130)+_0x3a06b9);_0x39507f===-0x1&&(_0x39507f=_0x3a06b9);const _0x1a89d0=_0x2fd6aa[_0x8ca063(0x1e8)](_0x1b7775,_0x39507f);_0x51c6e0===0x2c?(_0x6e9219(_0x13ca0d,_0x1a89d0,_0x20fef2),_0x20fef2=Object['create'](null)):_0x348e24=_0x1a89d0,_0x1b7775=_0x39507f=-0x1;}else throw new SyntaxError(_0x8ca063(0x130)+_0x3a06b9);}}}else{if(_0x35b523===void 0x0){if(_0x39507f===-0x1&&_0x2aaf89[_0x51c6e0]===0x1)_0x1b7775===-0x1&&(_0x1b7775=_0x3a06b9);else{if(_0x51c6e0===0x20||_0x51c6e0===0x9)_0x39507f===-0x1&&_0x1b7775!==-0x1&&(_0x39507f=_0x3a06b9);else{if(_0x51c6e0===0x3b||_0x51c6e0===0x2c){if(_0x1b7775===-0x1)throw new SyntaxError(_0x8ca063(0x130)+_0x3a06b9);_0x39507f===-0x1&&(_0x39507f=_0x3a06b9),_0x6e9219(_0x20fef2,_0x2fd6aa['slice'](_0x1b7775,_0x39507f),!0x0),_0x51c6e0===0x2c&&(_0x6e9219(_0x13ca0d,_0x348e24,_0x20fef2),_0x20fef2=Object['create'](null),_0x348e24=void 0x0),_0x1b7775=_0x39507f=-0x1;}else{if(_0x51c6e0===0x3d&&_0x1b7775!==-0x1&&_0x39507f===-0x1)_0x35b523=_0x2fd6aa[_0x8ca063(0x1e8)](_0x1b7775,_0x3a06b9),_0x1b7775=_0x39507f=-0x1;else throw new SyntaxError(_0x8ca063(0x130)+_0x3a06b9);}}}}else{if(_0xe6789c){if(_0x2aaf89[_0x51c6e0]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x3a06b9);_0x1b7775===-0x1?_0x1b7775=_0x3a06b9:_0x1197c1||(_0x1197c1=!0x0),_0xe6789c=!0x1;}else{if(_0x2cd79c){if(_0x2aaf89[_0x51c6e0]===0x1)_0x1b7775===-0x1&&(_0x1b7775=_0x3a06b9);else{if(_0x51c6e0===0x22&&_0x1b7775!==-0x1)_0x2cd79c=!0x1,_0x39507f=_0x3a06b9;else{if(_0x51c6e0===0x5c)_0xe6789c=!0x0;else throw new SyntaxError(_0x8ca063(0x130)+_0x3a06b9);}}}else{if(_0x51c6e0===0x22&&_0x2fd6aa[_0x8ca063(0x12b)](_0x3a06b9-0x1)===0x3d)_0x2cd79c=!0x0;else{if(_0x39507f===-0x1&&_0x2aaf89[_0x51c6e0]===0x1)_0x1b7775===-0x1&&(_0x1b7775=_0x3a06b9);else{if(_0x1b7775!==-0x1&&(_0x51c6e0===0x20||_0x51c6e0===0x9))_0x39507f===-0x1&&(_0x39507f=_0x3a06b9);else{if(_0x51c6e0===0x3b||_0x51c6e0===0x2c){if(_0x1b7775===-0x1)throw new SyntaxError(_0x8ca063(0x130)+_0x3a06b9);_0x39507f===-0x1&&(_0x39507f=_0x3a06b9);let _0x2b9d4a=_0x2fd6aa[_0x8ca063(0x1e8)](_0x1b7775,_0x39507f);_0x1197c1&&(_0x2b9d4a=_0x2b9d4a[_0x8ca063(0x255)](/\\/g,''),_0x1197c1=!0x1),_0x6e9219(_0x20fef2,_0x35b523,_0x2b9d4a),_0x51c6e0===0x2c&&(_0x6e9219(_0x13ca0d,_0x348e24,_0x20fef2),_0x20fef2=Object[_0x8ca063(0x136)](null),_0x348e24=void 0x0),_0x35b523=void 0x0,_0x1b7775=_0x39507f=-0x1;}else throw new SyntaxError(_0x8ca063(0x130)+_0x3a06b9);}}}}}}}if(_0x1b7775===-0x1||_0x2cd79c||_0x51c6e0===0x20||_0x51c6e0===0x9)throw new SyntaxError(_0x8ca063(0x14f));_0x39507f===-0x1&&(_0x39507f=_0x3a06b9);const _0xda07d0=_0x2fd6aa[_0x8ca063(0x1e8)](_0x1b7775,_0x39507f);return _0x348e24===void 0x0?_0x6e9219(_0x13ca0d,_0xda07d0,_0x20fef2):(_0x35b523===void 0x0?_0x6e9219(_0x20fef2,_0xda07d0,!0x0):_0x1197c1?_0x6e9219(_0x20fef2,_0x35b523,_0xda07d0[_0x8ca063(0x255)](/\\/g,'')):_0x6e9219(_0x20fef2,_0x35b523,_0xda07d0),_0x6e9219(_0x13ca0d,_0x348e24,_0x20fef2)),_0x13ca0d;}function _0x271e63(_0x13d972){const _0x5cc961=_0x4e9f;return Object['keys'](_0x13d972)[_0x5cc961(0x1f6)](_0x1852bf=>{const _0x50d5ec=_0x5cc961;let _0x1d6cd8=_0x13d972[_0x1852bf];return Array[_0x50d5ec(0x20d)](_0x1d6cd8)||(_0x1d6cd8=[_0x1d6cd8]),_0x1d6cd8[_0x50d5ec(0x1f6)](_0x22d535=>[_0x1852bf][_0x50d5ec(0x1b8)](Object[_0x50d5ec(0x15d)](_0x22d535)[_0x50d5ec(0x1f6)](_0x2ca563=>{const _0x13af3e=_0x50d5ec;let _0x128ee3=_0x22d535[_0x2ca563];return Array['isArray'](_0x128ee3)||(_0x128ee3=[_0x128ee3]),_0x128ee3[_0x13af3e(0x1f6)](_0x2e9320=>_0x2e9320===!0x0?_0x2ca563:_0x2ca563+'='+_0x2e9320)[_0x13af3e(0x233)](';\x20');}))['join'](';\x20'))[_0x50d5ec(0x233)](',\x20');})['join'](',\x20');}return be={'format':_0x271e63,'parse':_0x2220a8},be;}var we,st;function Ie(){const _0x13b24e=_0x1a08ca;if(st)return we;st=0x1;const _0x3f6955=_0x558fde,_0x47cbbb=_0x441cf9,_0x292d59=_0x31c564,_0x6999b7=_0x2014b0,_0x14e0c1=_0x4b8b09,{randomBytes:_0x48d154,createHash:_0x4ea0fe}=_0x41718c,{Duplex:_0x49cc87,Readable:_0x3240c2}=_0x5be804,{URL:_0x342393}=_0x1478b6,_0x43f53d=he(),_0x43ab97=dt(),_0x747e87=_t(),{isBlob:_0x1bf0be}=ne(),{BINARY_TYPES:_0x342a6c,EMPTY_BUFFER:_0x3c7c21,GUID:_0xb07a7a,kForOnEventAttribute:_0x25fb32,kListener:_0x2703b9,kStatusCode:_0x331627,kWebSocket:_0x7c96f3,NOOP:_0x25d534}=V(),{EventTarget:{addEventListener:_0x345f94,removeEventListener:_0x48296f}}=Kt(),{format:_0x489b45,parse:_0x5e41bd}=pt(),{toBuffer:_0xfa6750}=ce(),_0xc835c=0x1e*0x3e8,_0x4dc52f=Symbol('kAborted'),_0x821191=[0x8,0xd],_0x14a100=['CONNECTING',_0x13b24e(0xe3),'CLOSING','CLOSED'],_0x47adc6=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x588f3d extends _0x3f6955{constructor(_0x361838,_0x321259,_0x5131e2){const _0x2ced6d=_0x13b24e;super(),this['_binaryType']=_0x342a6c[0x0],this[_0x2ced6d(0x251)]=0x3ee,this[_0x2ced6d(0x1b9)]=!0x1,this[_0x2ced6d(0x13e)]=!0x1,this[_0x2ced6d(0x19e)]=_0x3c7c21,this[_0x2ced6d(0x212)]=null,this[_0x2ced6d(0x242)]=!0x1,this[_0x2ced6d(0x11c)]={},this['_paused']=!0x1,this[_0x2ced6d(0x206)]='',this[_0x2ced6d(0x12d)]=_0x588f3d[_0x2ced6d(0x272)],this[_0x2ced6d(0x12a)]=null,this[_0x2ced6d(0x146)]=null,this['_socket']=null,_0x361838!==null?(this['_bufferedAmount']=0x0,this['_isServer']=!0x1,this[_0x2ced6d(0x1e2)]=0x0,_0x321259===void 0x0?_0x321259=[]:Array[_0x2ced6d(0x20d)](_0x321259)||(typeof _0x321259==_0x2ced6d(0xe1)&&_0x321259!==null?(_0x5131e2=_0x321259,_0x321259=[]):_0x321259=[_0x321259]),_0x3e5625(this,_0x361838,_0x321259,_0x5131e2)):(this[_0x2ced6d(0xf4)]=_0x5131e2['autoPong'],this[_0x2ced6d(0x195)]=!0x0);}get[_0x13b24e(0x16d)](){const _0x1d5ea5=_0x13b24e;return this[_0x1d5ea5(0x240)];}set[_0x13b24e(0x16d)](_0x5e4b48){const _0xaf1b24=_0x13b24e;_0x342a6c[_0xaf1b24(0x201)](_0x5e4b48)&&(this['_binaryType']=_0x5e4b48,this[_0xaf1b24(0x12a)]&&(this['_receiver'][_0xaf1b24(0x240)]=_0x5e4b48));}get[_0x13b24e(0xd0)](){const _0x426fb6=_0x13b24e;return this[_0x426fb6(0xec)]?this[_0x426fb6(0xec)][_0x426fb6(0xe5)][_0x426fb6(0x189)]+this['_sender'][_0x426fb6(0xf7)]:this['_bufferedAmount'];}get[_0x13b24e(0x280)](){const _0x2b069b=_0x13b24e;return Object[_0x2b069b(0x15d)](this[_0x2b069b(0x11c)])[_0x2b069b(0x233)]();}get[_0x13b24e(0x27d)](){const _0x9b57e0=_0x13b24e;return this[_0x9b57e0(0x1cd)];}get[_0x13b24e(0x281)](){return null;}get[_0x13b24e(0xf0)](){return null;}get[_0x13b24e(0x246)](){return null;}get[_0x13b24e(0xd1)](){return null;}get['protocol'](){const _0xadc72a=_0x13b24e;return this[_0xadc72a(0x206)];}get[_0x13b24e(0x25a)](){return this['_readyState'];}get[_0x13b24e(0x243)](){const _0x3967dd=_0x13b24e;return this[_0x3967dd(0x138)];}[_0x13b24e(0x182)](_0x24bafa,_0x49760,_0x2bdc27){const _0x59f110=_0x13b24e,_0x423d85=new _0x43ab97({'allowSynchronousEvents':_0x2bdc27[_0x59f110(0xf9)],'binaryType':this[_0x59f110(0x16d)],'extensions':this[_0x59f110(0x11c)],'isServer':this[_0x59f110(0x195)],'maxPayload':_0x2bdc27[_0x59f110(0x254)],'skipUTF8Validation':_0x2bdc27['skipUTF8Validation']}),_0x5d1d9f=new _0x747e87(_0x24bafa,this[_0x59f110(0x11c)],_0x2bdc27[_0x59f110(0x1ee)]);this[_0x59f110(0x12a)]=_0x423d85,this[_0x59f110(0x146)]=_0x5d1d9f,this[_0x59f110(0xec)]=_0x24bafa,_0x423d85[_0x7c96f3]=this,_0x5d1d9f[_0x7c96f3]=this,_0x24bafa[_0x7c96f3]=this,_0x423d85['on'](_0x59f110(0x157),_0x5b502e),_0x423d85['on']('drain',_0x2f7eff),_0x423d85['on'](_0x59f110(0xeb),_0x2748c9),_0x423d85['on'](_0x59f110(0x15e),_0x17a20c),_0x423d85['on'](_0x59f110(0x11b),_0xbb8ef),_0x423d85['on'](_0x59f110(0xf8),_0x301723),_0x5d1d9f['onerror']=_0x1050cb,_0x24bafa[_0x59f110(0x1f0)]&&_0x24bafa[_0x59f110(0x1f0)](0x0),_0x24bafa[_0x59f110(0x209)]&&_0x24bafa[_0x59f110(0x209)](),_0x49760[_0x59f110(0x189)]>0x0&&_0x24bafa[_0x59f110(0xce)](_0x49760),_0x24bafa['on'](_0x59f110(0x27a),_0x20d03f),_0x24bafa['on'](_0x59f110(0x1c4),_0x31e304),_0x24bafa['on']('end',_0xb17aa1),_0x24bafa['on'](_0x59f110(0xeb),_0x20bf5c),this[_0x59f110(0x12d)]=_0x588f3d['OPEN'],this['emit'](_0x59f110(0x1e1));}[_0x13b24e(0x178)](){const _0x2f4786=_0x13b24e;if(!this['_socket']){this[_0x2f4786(0x12d)]=_0x588f3d['CLOSED'],this[_0x2f4786(0x176)](_0x2f4786(0x27a),this[_0x2f4786(0x251)],this[_0x2f4786(0x19e)]);return;}this['_extensions'][_0x43f53d[_0x2f4786(0x10c)]]&&this[_0x2f4786(0x11c)][_0x43f53d[_0x2f4786(0x10c)]][_0x2f4786(0x210)](),this['_receiver'][_0x2f4786(0x133)](),this['_readyState']=_0x588f3d[_0x2f4786(0x191)],this[_0x2f4786(0x176)](_0x2f4786(0x27a),this[_0x2f4786(0x251)],this[_0x2f4786(0x19e)]);}['close'](_0x1b211e,_0x4f2582){const _0x1a0515=_0x13b24e;if(this['readyState']!==_0x588f3d['CLOSED']){if(this[_0x1a0515(0x25a)]===_0x588f3d[_0x1a0515(0x272)]){_0x1c0786(this,this[_0x1a0515(0x275)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}if(this['readyState']===_0x588f3d[_0x1a0515(0x107)]){this[_0x1a0515(0x13e)]&&(this[_0x1a0515(0x1b9)]||this[_0x1a0515(0x12a)]['_writableState']['errorEmitted'])&&this[_0x1a0515(0xec)][_0x1a0515(0x270)]();return;}this['_readyState']=_0x588f3d[_0x1a0515(0x107)],this[_0x1a0515(0x146)]['close'](_0x1b211e,_0x4f2582,!this[_0x1a0515(0x195)],_0x3fac6f=>{const _0x205155=_0x1a0515;_0x3fac6f||(this['_closeFrameSent']=!0x0,(this[_0x205155(0x1b9)]||this[_0x205155(0x12a)]['_writableState'][_0x205155(0x15a)])&&this[_0x205155(0xec)]['end']());}),_0x53b39c(this);}}[_0x13b24e(0x260)](){const _0x246f92=_0x13b24e;this[_0x246f92(0x25a)]===_0x588f3d[_0x246f92(0x272)]||this[_0x246f92(0x25a)]===_0x588f3d['CLOSED']||(this[_0x246f92(0x1cd)]=!0x0,this[_0x246f92(0xec)]['pause']());}['ping'](_0x77f6a1,_0x183de8,_0x108c82){const _0x42e789=_0x13b24e;if(this[_0x42e789(0x25a)]===_0x588f3d[_0x42e789(0x272)])throw new Error(_0x42e789(0xf3));if(typeof _0x77f6a1==_0x42e789(0x1dd)?(_0x108c82=_0x77f6a1,_0x77f6a1=_0x183de8=void 0x0):typeof _0x183de8==_0x42e789(0x1dd)&&(_0x108c82=_0x183de8,_0x183de8=void 0x0),typeof _0x77f6a1==_0x42e789(0x1b4)&&(_0x77f6a1=_0x77f6a1[_0x42e789(0x151)]()),this[_0x42e789(0x25a)]!==_0x588f3d[_0x42e789(0xe3)]){_0x4cda5a(this,_0x77f6a1,_0x108c82);return;}_0x183de8===void 0x0&&(_0x183de8=!this[_0x42e789(0x195)]),this[_0x42e789(0x146)][_0x42e789(0x11b)](_0x77f6a1||_0x3c7c21,_0x183de8,_0x108c82);}['pong'](_0x4d8a99,_0x5aaac8,_0x1c322a){const _0x4aeabd=_0x13b24e;if(this[_0x4aeabd(0x25a)]===_0x588f3d[_0x4aeabd(0x272)])throw new Error(_0x4aeabd(0xf3));if(typeof _0x4d8a99==_0x4aeabd(0x1dd)?(_0x1c322a=_0x4d8a99,_0x4d8a99=_0x5aaac8=void 0x0):typeof _0x5aaac8==_0x4aeabd(0x1dd)&&(_0x1c322a=_0x5aaac8,_0x5aaac8=void 0x0),typeof _0x4d8a99=='number'&&(_0x4d8a99=_0x4d8a99[_0x4aeabd(0x151)]()),this['readyState']!==_0x588f3d[_0x4aeabd(0xe3)]){_0x4cda5a(this,_0x4d8a99,_0x1c322a);return;}_0x5aaac8===void 0x0&&(_0x5aaac8=!this[_0x4aeabd(0x195)]),this['_sender'][_0x4aeabd(0xf8)](_0x4d8a99||_0x3c7c21,_0x5aaac8,_0x1c322a);}['resume'](){const _0x4ba7bb=_0x13b24e;this['readyState']===_0x588f3d[_0x4ba7bb(0x272)]||this[_0x4ba7bb(0x25a)]===_0x588f3d[_0x4ba7bb(0x191)]||(this[_0x4ba7bb(0x1cd)]=!0x1,this['_receiver'][_0x4ba7bb(0xe5)][_0x4ba7bb(0x1d2)]||this[_0x4ba7bb(0xec)][_0x4ba7bb(0x18d)]());}['send'](_0x303a85,_0x184d5b,_0x259e40){const _0x13741e=_0x13b24e;if(this[_0x13741e(0x25a)]===_0x588f3d[_0x13741e(0x272)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x184d5b==_0x13741e(0x1dd)&&(_0x259e40=_0x184d5b,_0x184d5b={}),typeof _0x303a85=='number'&&(_0x303a85=_0x303a85[_0x13741e(0x151)]()),this[_0x13741e(0x25a)]!==_0x588f3d[_0x13741e(0xe3)]){_0x4cda5a(this,_0x303a85,_0x259e40);return;}const _0x1d7760={'binary':typeof _0x303a85!=_0x13741e(0x1de),'mask':!this[_0x13741e(0x195)],'compress':!0x0,'fin':!0x0,..._0x184d5b};this[_0x13741e(0x11c)][_0x43f53d[_0x13741e(0x10c)]]||(_0x1d7760['compress']=!0x1),this[_0x13741e(0x146)][_0x13741e(0x11f)](_0x303a85||_0x3c7c21,_0x1d7760,_0x259e40);}[_0x13b24e(0x129)](){const _0x5517b9=_0x13b24e;if(this[_0x5517b9(0x25a)]!==_0x588f3d['CLOSED']){if(this[_0x5517b9(0x25a)]===_0x588f3d[_0x5517b9(0x272)]){_0x1c0786(this,this['_req'],_0x5517b9(0x1e5));return;}this[_0x5517b9(0xec)]&&(this[_0x5517b9(0x12d)]=_0x588f3d[_0x5517b9(0x107)],this['_socket'][_0x5517b9(0x230)]());}}}Object[_0x13b24e(0x23d)](_0x588f3d,_0x13b24e(0x272),{'enumerable':!0x0,'value':_0x14a100[_0x13b24e(0xf2)]('CONNECTING')}),Object[_0x13b24e(0x23d)](_0x588f3d[_0x13b24e(0x109)],_0x13b24e(0x272),{'enumerable':!0x0,'value':_0x14a100[_0x13b24e(0xf2)]('CONNECTING')}),Object[_0x13b24e(0x23d)](_0x588f3d,_0x13b24e(0xe3),{'enumerable':!0x0,'value':_0x14a100[_0x13b24e(0xf2)](_0x13b24e(0xe3))}),Object[_0x13b24e(0x23d)](_0x588f3d[_0x13b24e(0x109)],_0x13b24e(0xe3),{'enumerable':!0x0,'value':_0x14a100[_0x13b24e(0xf2)](_0x13b24e(0xe3))}),Object[_0x13b24e(0x23d)](_0x588f3d,_0x13b24e(0x107),{'enumerable':!0x0,'value':_0x14a100[_0x13b24e(0xf2)](_0x13b24e(0x107))}),Object['defineProperty'](_0x588f3d[_0x13b24e(0x109)],'CLOSING',{'enumerable':!0x0,'value':_0x14a100[_0x13b24e(0xf2)](_0x13b24e(0x107))}),Object['defineProperty'](_0x588f3d,_0x13b24e(0x191),{'enumerable':!0x0,'value':_0x14a100[_0x13b24e(0xf2)](_0x13b24e(0x191))}),Object[_0x13b24e(0x23d)](_0x588f3d[_0x13b24e(0x109)],'CLOSED',{'enumerable':!0x0,'value':_0x14a100[_0x13b24e(0xf2)](_0x13b24e(0x191))}),['binaryType',_0x13b24e(0xd0),_0x13b24e(0x280),_0x13b24e(0x27d),_0x13b24e(0x110),_0x13b24e(0x25a),_0x13b24e(0x243)][_0x13b24e(0x1ff)](_0x410e62=>{const _0x421b05=_0x13b24e;Object['defineProperty'](_0x588f3d[_0x421b05(0x109)],_0x410e62,{'enumerable':!0x0});}),[_0x13b24e(0x1e1),_0x13b24e(0xeb),_0x13b24e(0x27a),'message'][_0x13b24e(0x1ff)](_0x27ff20=>{const _0xf37ab5=_0x13b24e;Object[_0xf37ab5(0x23d)](_0x588f3d['prototype'],'on'+_0x27ff20,{'enumerable':!0x0,'get'(){const _0x781380=_0xf37ab5;for(const _0x22366d of this[_0x781380(0x121)](_0x27ff20))if(_0x22366d[_0x25fb32])return _0x22366d[_0x2703b9];return null;},'set'(_0x2949d7){const _0x5b70d4=_0xf37ab5;for(const _0x2afb89 of this[_0x5b70d4(0x121)](_0x27ff20))if(_0x2afb89[_0x25fb32]){this[_0x5b70d4(0x215)](_0x27ff20,_0x2afb89);break;}typeof _0x2949d7=='function'&&this['addEventListener'](_0x27ff20,_0x2949d7,{[_0x25fb32]:!0x0});}});}),_0x588f3d['prototype'][_0x13b24e(0x175)]=_0x345f94,_0x588f3d['prototype']['removeEventListener']=_0x48296f,we=_0x588f3d;function _0x3e5625(_0x744915,_0x2b9d39,_0x114f98,_0x440d4e){const _0x107527=_0x13b24e,_0x4aec0b={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x821191[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x440d4e,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x107527(0x205),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x744915[_0x107527(0xf4)]=_0x4aec0b[_0x107527(0x132)],!_0x821191[_0x107527(0x201)](_0x4aec0b[_0x107527(0xda)]))throw new RangeError(_0x107527(0x12e)+_0x4aec0b[_0x107527(0xda)]+_0x107527(0x237)+_0x821191[_0x107527(0x233)](',\x20')+')');let _0x2a6816;if(_0x2b9d39 instanceof _0x342393)_0x2a6816=_0x2b9d39;else try{_0x2a6816=new _0x342393(_0x2b9d39);}catch{throw new SyntaxError(_0x107527(0x221)+_0x2b9d39);}_0x2a6816[_0x107527(0x110)]===_0x107527(0x185)?_0x2a6816['protocol']=_0x107527(0xea):_0x2a6816[_0x107527(0x110)]===_0x107527(0x15c)&&(_0x2a6816[_0x107527(0x110)]='wss:'),_0x744915['_url']=_0x2a6816[_0x107527(0xf6)];const _0xd291f6=_0x2a6816[_0x107527(0x110)]===_0x107527(0x262),_0x21f5cc=_0x2a6816[_0x107527(0x110)]===_0x107527(0x1d7);let _0x2130df;if(_0x2a6816[_0x107527(0x110)]!=='ws:'&&!_0xd291f6&&!_0x21f5cc?_0x2130df=_0x107527(0x1b1):_0x21f5cc&&!_0x2a6816[_0x107527(0x239)]?_0x2130df='The\x20URL\x27s\x20pathname\x20is\x20empty':_0x2a6816[_0x107527(0x1d8)]&&(_0x2130df=_0x107527(0x1ae)),_0x2130df){const _0xcb76e0=new SyntaxError(_0x2130df);if(_0x744915[_0x107527(0x1e2)]===0x0)throw _0xcb76e0;_0xbf0d3f(_0x744915,_0xcb76e0);return;}const _0x14856e=_0xd291f6?0x1bb:0x50,_0x14f853=_0x48d154(0x10)['toString'](_0x107527(0x220)),_0x4692ba=_0xd291f6?_0x47cbbb[_0x107527(0xe8)]:_0x292d59[_0x107527(0xe8)],_0x423a1c=new Set();let _0x57e5f1;if(_0x4aec0b[_0x107527(0x1ea)]=_0x4aec0b[_0x107527(0x1ea)]||(_0xd291f6?_0x4a8e8f:_0x5b631c),_0x4aec0b[_0x107527(0x103)]=_0x4aec0b[_0x107527(0x103)]||_0x14856e,_0x4aec0b[_0x107527(0x216)]=_0x2a6816[_0x107527(0x216)]||_0x14856e,_0x4aec0b[_0x107527(0x193)]=_0x2a6816[_0x107527(0x163)]['startsWith']('[')?_0x2a6816[_0x107527(0x163)]['slice'](0x1,-0x1):_0x2a6816[_0x107527(0x163)],_0x4aec0b[_0x107527(0x231)]={..._0x4aec0b[_0x107527(0x231)],'Sec-WebSocket-Version':_0x4aec0b[_0x107527(0xda)],'Sec-WebSocket-Key':_0x14f853,'Connection':_0x107527(0x13b),'Upgrade':_0x107527(0x257)},_0x4aec0b[_0x107527(0xee)]=_0x2a6816[_0x107527(0x239)]+_0x2a6816[_0x107527(0x1bd)],_0x4aec0b[_0x107527(0x15f)]=_0x4aec0b[_0x107527(0x1aa)],_0x4aec0b['perMessageDeflate']&&(_0x57e5f1=new _0x43f53d(_0x4aec0b[_0x107527(0x10d)]!==!0x0?_0x4aec0b['perMessageDeflate']:{},!0x1,_0x4aec0b[_0x107527(0x254)]),_0x4aec0b[_0x107527(0x231)][_0x107527(0x184)]=_0x489b45({[_0x43f53d[_0x107527(0x10c)]]:_0x57e5f1['offer']()})),_0x114f98['length']){for(const _0x1648a1 of _0x114f98){if(typeof _0x1648a1!=_0x107527(0x1de)||!_0x47adc6['test'](_0x1648a1)||_0x423a1c[_0x107527(0x21c)](_0x1648a1))throw new SyntaxError(_0x107527(0x156));_0x423a1c[_0x107527(0x111)](_0x1648a1);}_0x4aec0b[_0x107527(0x231)][_0x107527(0xed)]=_0x114f98[_0x107527(0x233)](',');}if(_0x4aec0b[_0x107527(0x117)]&&(_0x4aec0b[_0x107527(0xda)]<0xd?_0x4aec0b[_0x107527(0x231)][_0x107527(0x27f)]=_0x4aec0b[_0x107527(0x117)]:_0x4aec0b[_0x107527(0x231)][_0x107527(0x173)]=_0x4aec0b[_0x107527(0x117)]),(_0x2a6816[_0x107527(0x264)]||_0x2a6816[_0x107527(0x192)])&&(_0x4aec0b[_0x107527(0x14b)]=_0x2a6816[_0x107527(0x264)]+':'+_0x2a6816['password']),_0x21f5cc){const _0x1686b2=_0x4aec0b['path']['split'](':');_0x4aec0b[_0x107527(0x170)]=_0x1686b2[0x0],_0x4aec0b[_0x107527(0xee)]=_0x1686b2[0x1];}let _0x238b15;if(_0x4aec0b['followRedirects']){if(_0x744915[_0x107527(0x1e2)]===0x0){_0x744915['_originalIpc']=_0x21f5cc,_0x744915[_0x107527(0x113)]=_0xd291f6,_0x744915[_0x107527(0x25f)]=_0x21f5cc?_0x4aec0b[_0x107527(0x170)]:_0x2a6816[_0x107527(0x193)];const _0x91576b=_0x440d4e&&_0x440d4e[_0x107527(0x231)];if(_0x440d4e={..._0x440d4e,'headers':{}},_0x91576b){for(const [_0x1c4330,_0x4daf76]of Object[_0x107527(0x118)](_0x91576b))_0x440d4e['headers'][_0x1c4330[_0x107527(0x18f)]()]=_0x4daf76;}}else{if(_0x744915[_0x107527(0x27c)]('redirect')===0x0){const _0x4e5661=_0x21f5cc?_0x744915['_originalIpc']?_0x4aec0b['socketPath']===_0x744915[_0x107527(0x25f)]:!0x1:_0x744915['_originalIpc']?!0x1:_0x2a6816['host']===_0x744915[_0x107527(0x25f)];(!_0x4e5661||_0x744915[_0x107527(0x113)]&&!_0xd291f6)&&(delete _0x4aec0b[_0x107527(0x231)][_0x107527(0xd9)],delete _0x4aec0b[_0x107527(0x231)][_0x107527(0x144)],_0x4e5661||delete _0x4aec0b[_0x107527(0x231)][_0x107527(0x193)],_0x4aec0b[_0x107527(0x14b)]=void 0x0);}}_0x4aec0b[_0x107527(0x14b)]&&!_0x440d4e[_0x107527(0x231)][_0x107527(0xd9)]&&(_0x440d4e[_0x107527(0x231)][_0x107527(0xd9)]=_0x107527(0x17c)+Buffer['from'](_0x4aec0b[_0x107527(0x14b)])['toString'](_0x107527(0x220))),_0x238b15=_0x744915['_req']=_0x4692ba(_0x4aec0b),_0x744915[_0x107527(0x1e2)]&&_0x744915['emit']('redirect',_0x744915[_0x107527(0x243)],_0x238b15);}else _0x238b15=_0x744915[_0x107527(0x275)]=_0x4692ba(_0x4aec0b);_0x4aec0b['timeout']&&_0x238b15['on'](_0x107527(0x15f),()=>{const _0x1eb658=_0x107527;_0x1c0786(_0x744915,_0x238b15,_0x1eb658(0x224));}),_0x238b15['on'](_0x107527(0xeb),_0x10e348=>{_0x238b15===null||_0x238b15[_0x4dc52f]||(_0x238b15=_0x744915['_req']=null,_0xbf0d3f(_0x744915,_0x10e348));}),_0x238b15['on'](_0x107527(0x11a),_0x2ac4f4=>{const _0x526244=_0x107527,_0x235776=_0x2ac4f4[_0x526244(0x231)][_0x526244(0x1f8)],_0x2fdfe7=_0x2ac4f4[_0x526244(0x211)];if(_0x235776&&_0x4aec0b['followRedirects']&&_0x2fdfe7>=0x12c&&_0x2fdfe7<0x190){if(++_0x744915[_0x526244(0x1e2)]>_0x4aec0b[_0x526244(0x283)]){_0x1c0786(_0x744915,_0x238b15,'Maximum\x20redirects\x20exceeded');return;}_0x238b15[_0x526244(0x238)]();let _0x203ae7;try{_0x203ae7=new _0x342393(_0x235776,_0x2b9d39);}catch{const _0x5bb641=new SyntaxError(_0x526244(0x221)+_0x235776);_0xbf0d3f(_0x744915,_0x5bb641);return;}_0x3e5625(_0x744915,_0x203ae7,_0x114f98,_0x440d4e);}else _0x744915[_0x526244(0x176)]('unexpected-response',_0x238b15,_0x2ac4f4)||_0x1c0786(_0x744915,_0x238b15,_0x526244(0x1ac)+_0x2ac4f4[_0x526244(0x211)]);}),_0x238b15['on']('upgrade',(_0x2ba16b,_0x2f712a,_0x30b853)=>{const _0x14a498=_0x107527;if(_0x744915['emit'](_0x14a498(0x235),_0x2ba16b),_0x744915[_0x14a498(0x25a)]!==_0x588f3d['CONNECTING'])return;_0x238b15=_0x744915[_0x14a498(0x275)]=null;const _0x102f29=_0x2ba16b['headers'][_0x14a498(0x235)];if(_0x102f29===void 0x0||_0x102f29[_0x14a498(0x18f)]()!==_0x14a498(0x257)){_0x1c0786(_0x744915,_0x2f712a,_0x14a498(0x114));return;}const _0x36af7f=_0x4ea0fe(_0x14a498(0x267))[_0x14a498(0x223)](_0x14f853+_0xb07a7a)[_0x14a498(0x100)]('base64');if(_0x2ba16b[_0x14a498(0x231)][_0x14a498(0x27e)]!==_0x36af7f){_0x1c0786(_0x744915,_0x2f712a,_0x14a498(0x10f));return;}const _0x311499=_0x2ba16b[_0x14a498(0x231)]['sec-websocket-protocol'];let _0x52de56;if(_0x311499!==void 0x0?_0x423a1c[_0x14a498(0x22a)]?_0x423a1c[_0x14a498(0x21c)](_0x311499)||(_0x52de56=_0x14a498(0x161)):_0x52de56='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0x423a1c['size']&&(_0x52de56=_0x14a498(0x247)),_0x52de56){_0x1c0786(_0x744915,_0x2f712a,_0x52de56);return;}_0x311499&&(_0x744915[_0x14a498(0x206)]=_0x311499);const _0x575dfc=_0x2ba16b[_0x14a498(0x231)][_0x14a498(0xde)];if(_0x575dfc!==void 0x0){if(!_0x57e5f1){_0x1c0786(_0x744915,_0x2f712a,_0x14a498(0x14c));return;}let _0xa8be79;try{_0xa8be79=_0x5e41bd(_0x575dfc);}catch{_0x1c0786(_0x744915,_0x2f712a,_0x14a498(0x199));return;}const _0x536330=Object[_0x14a498(0x15d)](_0xa8be79);if(_0x536330[_0x14a498(0x189)]!==0x1||_0x536330[0x0]!==_0x43f53d['extensionName']){_0x1c0786(_0x744915,_0x2f712a,_0x14a498(0x258));return;}try{_0x57e5f1[_0x14a498(0x219)](_0xa8be79[_0x43f53d[_0x14a498(0x10c)]]);}catch{_0x1c0786(_0x744915,_0x2f712a,_0x14a498(0x199));return;}_0x744915[_0x14a498(0x11c)][_0x43f53d[_0x14a498(0x10c)]]=_0x57e5f1;}_0x744915[_0x14a498(0x182)](_0x2f712a,_0x30b853,{'allowSynchronousEvents':_0x4aec0b[_0x14a498(0xf9)],'generateMask':_0x4aec0b[_0x14a498(0x1ee)],'maxPayload':_0x4aec0b['maxPayload'],'skipUTF8Validation':_0x4aec0b[_0x14a498(0x169)]});}),_0x4aec0b[_0x107527(0x1f7)]?_0x4aec0b[_0x107527(0x1f7)](_0x238b15,_0x744915):_0x238b15[_0x107527(0x270)]();}function _0xbf0d3f(_0xbc8ab6,_0x4e3ea6){const _0x1cf5f9=_0x13b24e;_0xbc8ab6[_0x1cf5f9(0x12d)]=_0x588f3d['CLOSING'],_0xbc8ab6[_0x1cf5f9(0x242)]=!0x0,_0xbc8ab6[_0x1cf5f9(0x176)](_0x1cf5f9(0xeb),_0x4e3ea6),_0xbc8ab6[_0x1cf5f9(0x178)]();}function _0x5b631c(_0x54db10){const _0x42cf49=_0x13b24e;return _0x54db10['path']=_0x54db10[_0x42cf49(0x170)],_0x6999b7[_0x42cf49(0x1d6)](_0x54db10);}function _0x4a8e8f(_0x1235f6){const _0x31c069=_0x13b24e;return _0x1235f6[_0x31c069(0xee)]=void 0x0,!_0x1235f6[_0x31c069(0x271)]&&_0x1235f6[_0x31c069(0x271)]!==''&&(_0x1235f6[_0x31c069(0x271)]=_0x6999b7['isIP'](_0x1235f6[_0x31c069(0x193)])?'':_0x1235f6[_0x31c069(0x193)]),_0x14e0c1[_0x31c069(0x1d6)](_0x1235f6);}function _0x1c0786(_0x4abe09,_0x404cfc,_0x38fcfb){const _0x387680=_0x13b24e;_0x4abe09[_0x387680(0x12d)]=_0x588f3d['CLOSING'];const _0x2ec55a=new Error(_0x38fcfb);Error[_0x387680(0x1a8)](_0x2ec55a,_0x1c0786),_0x404cfc[_0x387680(0x1ad)]?(_0x404cfc[_0x4dc52f]=!0x0,_0x404cfc[_0x387680(0x238)](),_0x404cfc[_0x387680(0x1cb)]&&!_0x404cfc[_0x387680(0x1cb)][_0x387680(0x1c6)]&&_0x404cfc[_0x387680(0x1cb)][_0x387680(0x230)](),process[_0x387680(0x16a)](_0xbf0d3f,_0x4abe09,_0x2ec55a)):(_0x404cfc[_0x387680(0x230)](_0x2ec55a),_0x404cfc['once'](_0x387680(0xeb),_0x4abe09[_0x387680(0x176)]['bind'](_0x4abe09,_0x387680(0xeb))),_0x404cfc[_0x387680(0xdc)](_0x387680(0x27a),_0x4abe09[_0x387680(0x178)][_0x387680(0x198)](_0x4abe09)));}function _0x4cda5a(_0x484f55,_0xe71bde,_0x3975b2){const _0x4c954b=_0x13b24e;if(_0xe71bde){const _0x1e222b=_0x1bf0be(_0xe71bde)?_0xe71bde['size']:_0xfa6750(_0xe71bde)[_0x4c954b(0x189)];_0x484f55['_socket']?_0x484f55['_sender'][_0x4c954b(0xf7)]+=_0x1e222b:_0x484f55[_0x4c954b(0x18b)]+=_0x1e222b;}if(_0x3975b2){const _0x44c9e1=new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x20'+_0x484f55[_0x4c954b(0x25a)]+'\x20('+_0x14a100[_0x484f55[_0x4c954b(0x25a)]]+')');process[_0x4c954b(0x16a)](_0x3975b2,_0x44c9e1);}}function _0x5b502e(_0x59d7b0,_0x27326c){const _0x1ed6d8=_0x13b24e,_0x3bef97=this[_0x7c96f3];_0x3bef97[_0x1ed6d8(0x1b9)]=!0x0,_0x3bef97[_0x1ed6d8(0x19e)]=_0x27326c,_0x3bef97['_closeCode']=_0x59d7b0,_0x3bef97[_0x1ed6d8(0xec)][_0x7c96f3]!==void 0x0&&(_0x3bef97['_socket'][_0x1ed6d8(0x215)]('data',_0x31e304),process[_0x1ed6d8(0x16a)](_0x5a7730,_0x3bef97[_0x1ed6d8(0xec)]),_0x59d7b0===0x3ed?_0x3bef97['close']():_0x3bef97[_0x1ed6d8(0x27a)](_0x59d7b0,_0x27326c));}function _0x2f7eff(){const _0x96e956=_0x13b24e,_0x2a97b5=this[_0x7c96f3];_0x2a97b5[_0x96e956(0x27d)]||_0x2a97b5[_0x96e956(0xec)][_0x96e956(0x18d)]();}function _0x2748c9(_0x5a8063){const _0x2d8852=_0x13b24e,_0x310f4b=this[_0x7c96f3];_0x310f4b[_0x2d8852(0xec)][_0x7c96f3]!==void 0x0&&(_0x310f4b[_0x2d8852(0xec)][_0x2d8852(0x215)]('data',_0x31e304),process[_0x2d8852(0x16a)](_0x5a7730,_0x310f4b[_0x2d8852(0xec)]),_0x310f4b['close'](_0x5a8063[_0x331627])),_0x310f4b[_0x2d8852(0x242)]||(_0x310f4b[_0x2d8852(0x242)]=!0x0,_0x310f4b['emit'](_0x2d8852(0xeb),_0x5a8063));}function _0x4d0fef(){const _0x11c66f=_0x13b24e;this[_0x7c96f3][_0x11c66f(0x178)]();}function _0x17a20c(_0x3cf281,_0x5ed021){const _0x457777=_0x13b24e;this[_0x7c96f3][_0x457777(0x176)](_0x457777(0x15e),_0x3cf281,_0x5ed021);}function _0xbb8ef(_0x4814ee){const _0x6fdbb1=_0x13b24e,_0x13238f=this[_0x7c96f3];_0x13238f[_0x6fdbb1(0xf4)]&&_0x13238f[_0x6fdbb1(0xf8)](_0x4814ee,!this['_isServer'],_0x25d534),_0x13238f[_0x6fdbb1(0x176)](_0x6fdbb1(0x11b),_0x4814ee);}function _0x301723(_0x4fefe8){const _0x4ba7cb=_0x13b24e;this[_0x7c96f3][_0x4ba7cb(0x176)](_0x4ba7cb(0xf8),_0x4fefe8);}function _0x5a7730(_0x329914){_0x329914['resume']();}function _0x1050cb(_0x1530dc){const _0x28d75c=_0x13b24e,_0x99733d=this[_0x7c96f3];_0x99733d['readyState']!==_0x588f3d[_0x28d75c(0x191)]&&(_0x99733d[_0x28d75c(0x25a)]===_0x588f3d[_0x28d75c(0xe3)]&&(_0x99733d['_readyState']=_0x588f3d[_0x28d75c(0x107)],_0x53b39c(_0x99733d)),this[_0x28d75c(0xec)]['end'](),_0x99733d['_errorEmitted']||(_0x99733d[_0x28d75c(0x242)]=!0x0,_0x99733d[_0x28d75c(0x176)](_0x28d75c(0xeb),_0x1530dc)));}function _0x53b39c(_0x35942e){const _0x33cd76=_0x13b24e;_0x35942e['_closeTimer']=setTimeout(_0x35942e[_0x33cd76(0xec)]['destroy']['bind'](_0x35942e[_0x33cd76(0xec)]),_0xc835c);}function _0x20d03f(){const _0x33b904=_0x13b24e,_0x3ca814=this[_0x7c96f3];this['removeListener'](_0x33b904(0x27a),_0x20d03f),this[_0x33b904(0x215)](_0x33b904(0x1c4),_0x31e304),this[_0x33b904(0x215)]('end',_0xb17aa1),_0x3ca814['_readyState']=_0x588f3d[_0x33b904(0x107)];let _0x1f7217;!this[_0x33b904(0x23b)][_0x33b904(0x278)]&&!_0x3ca814[_0x33b904(0x1b9)]&&!_0x3ca814['_receiver'][_0x33b904(0xe5)]['errorEmitted']&&(_0x1f7217=_0x3ca814[_0x33b904(0xec)][_0x33b904(0x266)]())!==null&&_0x3ca814[_0x33b904(0x12a)][_0x33b904(0x134)](_0x1f7217),_0x3ca814[_0x33b904(0x12a)]['end'](),this[_0x7c96f3]=void 0x0,clearTimeout(_0x3ca814[_0x33b904(0x212)]),_0x3ca814[_0x33b904(0x12a)][_0x33b904(0xe5)][_0x33b904(0xf5)]||_0x3ca814[_0x33b904(0x12a)][_0x33b904(0xe5)]['errorEmitted']?_0x3ca814[_0x33b904(0x178)]():(_0x3ca814['_receiver']['on']('error',_0x4d0fef),_0x3ca814[_0x33b904(0x12a)]['on']('finish',_0x4d0fef));}function _0x31e304(_0x279837){const _0x3667b0=_0x13b24e;this[_0x7c96f3][_0x3667b0(0x12a)]['write'](_0x279837)||this[_0x3667b0(0x260)]();}function _0xb17aa1(){const _0x3604ae=_0x13b24e,_0x3e8e29=this[_0x7c96f3];_0x3e8e29['_readyState']=_0x588f3d[_0x3604ae(0x107)],_0x3e8e29[_0x3604ae(0x12a)][_0x3604ae(0x270)](),this[_0x3604ae(0x270)]();}function _0x20bf5c(){const _0x54beea=_0x13b24e,_0x35ec74=this[_0x7c96f3];this[_0x54beea(0x215)](_0x54beea(0xeb),_0x20bf5c),this['on'](_0x54beea(0xeb),_0x25d534),_0x35ec74&&(_0x35ec74['_readyState']=_0x588f3d[_0x54beea(0x107)],this[_0x54beea(0x230)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x234d0c}=_0x5be804;function _0x4acd0b(_0x524be9){const _0xeed9a5=_0x4e9f;_0x524be9[_0xeed9a5(0x176)]('close');}function _0x5ba7d0(){const _0x1715f3=_0x4e9f;!this[_0x1715f3(0x1c6)]&&this[_0x1715f3(0xe5)][_0x1715f3(0xf5)]&&this[_0x1715f3(0x230)]();}function _0xc0aaa2(_0x9c7e94){const _0x3509cf=_0x4e9f;this[_0x3509cf(0x215)](_0x3509cf(0xeb),_0xc0aaa2),this[_0x3509cf(0x230)](),this[_0x3509cf(0x27c)]('error')===0x0&&this['emit']('error',_0x9c7e94);}function _0x2b6eab(_0x256c60,_0x376391){const _0x50c942=_0x4e9f;let _0x2afbe3=!0x0;const _0x51d8cb=new _0x234d0c({..._0x376391,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x256c60['on'](_0x50c942(0x15e),function(_0xa16372,_0x35248b){const _0x31517b=_0x50c942,_0x4c8226=!_0x35248b&&_0x51d8cb[_0x31517b(0x23b)][_0x31517b(0x128)]?_0xa16372[_0x31517b(0x151)]():_0xa16372;_0x51d8cb[_0x31517b(0xd3)](_0x4c8226)||_0x256c60[_0x31517b(0x260)]();}),_0x256c60['once'](_0x50c942(0xeb),function(_0x343859){const _0x4d5ae5=_0x50c942;_0x51d8cb[_0x4d5ae5(0x1c6)]||(_0x2afbe3=!0x1,_0x51d8cb[_0x4d5ae5(0x230)](_0x343859));}),_0x256c60['once'](_0x50c942(0x27a),function(){const _0x3597d9=_0x50c942;_0x51d8cb[_0x3597d9(0x1c6)]||_0x51d8cb['push'](null);}),_0x51d8cb[_0x50c942(0x179)]=function(_0x3325d0,_0x26d426){const _0x2b1660=_0x50c942;if(_0x256c60[_0x2b1660(0x25a)]===_0x256c60[_0x2b1660(0x191)]){_0x26d426(_0x3325d0),process[_0x2b1660(0x16a)](_0x4acd0b,_0x51d8cb);return;}let _0x39b83c=!0x1;_0x256c60['once'](_0x2b1660(0xeb),function(_0xc1f1fb){_0x39b83c=!0x0,_0x26d426(_0xc1f1fb);}),_0x256c60['once']('close',function(){const _0xa59871=_0x2b1660;_0x39b83c||_0x26d426(_0x3325d0),process[_0xa59871(0x16a)](_0x4acd0b,_0x51d8cb);}),_0x2afbe3&&_0x256c60[_0x2b1660(0x129)]();},_0x51d8cb[_0x50c942(0xd4)]=function(_0x4a0ac0){const _0x5ac408=_0x50c942;if(_0x256c60[_0x5ac408(0x25a)]===_0x256c60[_0x5ac408(0x272)]){_0x256c60[_0x5ac408(0xdc)](_0x5ac408(0x1e1),function(){const _0x163162=_0x5ac408;_0x51d8cb[_0x163162(0xd4)](_0x4a0ac0);});return;}_0x256c60['_socket']!==null&&(_0x256c60[_0x5ac408(0xec)]['_writableState'][_0x5ac408(0xf5)]?(_0x4a0ac0(),_0x51d8cb[_0x5ac408(0x23b)][_0x5ac408(0x278)]&&_0x51d8cb['destroy']()):(_0x256c60[_0x5ac408(0xec)]['once']('finish',function(){_0x4a0ac0();}),_0x256c60['close']()));},_0x51d8cb[_0x50c942(0x125)]=function(){_0x256c60['isPaused']&&_0x256c60['resume']();},_0x51d8cb['_write']=function(_0x21ac9c,_0x1706d5,_0x2ff074){const _0x4a41a3=_0x50c942;if(_0x256c60['readyState']===_0x256c60['CONNECTING']){_0x256c60[_0x4a41a3(0xdc)](_0x4a41a3(0x1e1),function(){_0x51d8cb['_write'](_0x21ac9c,_0x1706d5,_0x2ff074);});return;}_0x256c60[_0x4a41a3(0x11f)](_0x21ac9c,_0x2ff074);},_0x51d8cb['on'](_0x50c942(0x270),_0x5ba7d0),_0x51d8cb['on'](_0x50c942(0xeb),_0xc0aaa2),_0x51d8cb;}return Oe=_0x2b6eab,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=jt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x4c570f}=ne();function _0xffc0be(_0x3c43b0){const _0x55a5d2=_0x4e9f,_0x441753=new Set();let _0x4a5f36=-0x1,_0x5cad8b=-0x1,_0x428a17=0x0;for(_0x428a17;_0x428a17<_0x3c43b0[_0x55a5d2(0x189)];_0x428a17++){const _0x726bf0=_0x3c43b0[_0x55a5d2(0x12b)](_0x428a17);if(_0x5cad8b===-0x1&&_0x4c570f[_0x726bf0]===0x1)_0x4a5f36===-0x1&&(_0x4a5f36=_0x428a17);else{if(_0x428a17!==0x0&&(_0x726bf0===0x20||_0x726bf0===0x9))_0x5cad8b===-0x1&&_0x4a5f36!==-0x1&&(_0x5cad8b=_0x428a17);else{if(_0x726bf0===0x2c){if(_0x4a5f36===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x428a17);_0x5cad8b===-0x1&&(_0x5cad8b=_0x428a17);const _0x27ef00=_0x3c43b0[_0x55a5d2(0x1e8)](_0x4a5f36,_0x5cad8b);if(_0x441753[_0x55a5d2(0x21c)](_0x27ef00))throw new SyntaxError('The\x20\x22'+_0x27ef00+_0x55a5d2(0x127));_0x441753['add'](_0x27ef00),_0x4a5f36=_0x5cad8b=-0x1;}else throw new SyntaxError(_0x55a5d2(0x130)+_0x428a17);}}}if(_0x4a5f36===-0x1||_0x5cad8b!==-0x1)throw new SyntaxError(_0x55a5d2(0x14f));const _0x4cc6c9=_0x3c43b0[_0x55a5d2(0x1e8)](_0x4a5f36,_0x428a17);if(_0x441753[_0x55a5d2(0x21c)](_0x4cc6c9))throw new SyntaxError(_0x55a5d2(0x22c)+_0x4cc6c9+'\x22\x20subprotocol\x20is\x20duplicated');return _0x441753[_0x55a5d2(0x111)](_0x4cc6c9),_0x441753;}return Ce={'parse':_0xffc0be},Ce;}var Te,ot;function er(){const _0x506cd6=_0x1a08ca;if(ot)return Te;ot=0x1;const _0x3b46c7=_0x558fde,_0x4c7719=_0x31c564,{Duplex:_0x427620}=_0x5be804,{createHash:_0x46d0dc}=_0x41718c,_0x4f8ee7=pt(),_0x39b9e7=he(),_0x3e6d3b=Jt(),_0x52f65e=Ie(),{GUID:_0x3349f5,kWebSocket:_0x1916c5}=V(),_0x3a14a1=/^[+/0-9A-Za-z]{22}==$/,_0x84da15=0x0,_0x430d11=0x1,_0x45a243=0x2;class _0x208ac9 extends _0x3b46c7{constructor(_0x298b04,_0x45bd33){const _0x32d5f1=_0x4e9f;if(super(),_0x298b04={'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':_0x52f65e,..._0x298b04},_0x298b04[_0x32d5f1(0x216)]==null&&!_0x298b04[_0x32d5f1(0x1f4)]&&!_0x298b04[_0x32d5f1(0x1ed)]||_0x298b04[_0x32d5f1(0x216)]!=null&&(_0x298b04['server']||_0x298b04[_0x32d5f1(0x1ed)])||_0x298b04[_0x32d5f1(0x1f4)]&&_0x298b04['noServer'])throw new TypeError('One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified');if(_0x298b04['port']!=null?(this[_0x32d5f1(0x106)]=_0x4c7719[_0x32d5f1(0xfd)]((_0x8ad345,_0x503444)=>{const _0x378857=_0x32d5f1,_0x398f78=_0x4c7719[_0x378857(0x26a)][0x1aa];_0x503444[_0x378857(0x1a6)](0x1aa,{'Content-Length':_0x398f78['length'],'Content-Type':'text/plain'}),_0x503444[_0x378857(0x270)](_0x398f78);}),this[_0x32d5f1(0x106)][_0x32d5f1(0x1c0)](_0x298b04[_0x32d5f1(0x216)],_0x298b04[_0x32d5f1(0x193)],_0x298b04[_0x32d5f1(0x19a)],_0x45bd33)):_0x298b04[_0x32d5f1(0x1f4)]&&(this['_server']=_0x298b04[_0x32d5f1(0x1f4)]),this[_0x32d5f1(0x106)]){const _0x48afd8=this['emit'][_0x32d5f1(0x198)](this,_0x32d5f1(0xf1));this[_0x32d5f1(0x268)]=_0x6c6eb9(this[_0x32d5f1(0x106)],{'listening':this[_0x32d5f1(0x176)][_0x32d5f1(0x198)](this,'listening'),'error':this[_0x32d5f1(0x176)][_0x32d5f1(0x198)](this,'error'),'upgrade':(_0x294722,_0x48c1e5,_0x557d99)=>{this['handleUpgrade'](_0x294722,_0x48c1e5,_0x557d99,_0x48afd8);}});}_0x298b04[_0x32d5f1(0x10d)]===!0x0&&(_0x298b04[_0x32d5f1(0x10d)]={}),_0x298b04[_0x32d5f1(0x1c3)]&&(this[_0x32d5f1(0x20a)]=new Set(),this['_shouldEmitClose']=!0x1),this['options']=_0x298b04,this[_0x32d5f1(0x1c9)]=_0x84da15;}['address'](){const _0x403371=_0x4e9f;if(this['options'][_0x403371(0x1ed)])throw new Error(_0x403371(0x1d3));return this['_server']?this[_0x403371(0x106)]['address']():null;}[_0x506cd6(0x27a)](_0x11154d){const _0x58249e=_0x506cd6;if(this[_0x58249e(0x1c9)]===_0x45a243){_0x11154d&&this[_0x58249e(0xdc)](_0x58249e(0x27a),()=>{const _0x2160cc=_0x58249e;_0x11154d(new Error(_0x2160cc(0x1af)));}),process[_0x58249e(0x16a)](_0x12bac1,this);return;}if(_0x11154d&&this[_0x58249e(0xdc)](_0x58249e(0x27a),_0x11154d),this[_0x58249e(0x1c9)]!==_0x430d11){if(this['_state']=_0x430d11,this[_0x58249e(0x26c)][_0x58249e(0x1ed)]||this['options'][_0x58249e(0x1f4)])this[_0x58249e(0x106)]&&(this[_0x58249e(0x268)](),this[_0x58249e(0x268)]=this['_server']=null),this[_0x58249e(0x20a)]?this[_0x58249e(0x20a)][_0x58249e(0x22a)]?this[_0x58249e(0x1a5)]=!0x0:process[_0x58249e(0x16a)](_0x12bac1,this):process[_0x58249e(0x16a)](_0x12bac1,this);else{const _0x5edd2c=this[_0x58249e(0x106)];this['_removeListeners'](),this[_0x58249e(0x268)]=this[_0x58249e(0x106)]=null,_0x5edd2c[_0x58249e(0x27a)](()=>{_0x12bac1(this);});}}}['shouldHandle'](_0x39c4aa){const _0x14127a=_0x506cd6;if(this[_0x14127a(0x26c)][_0x14127a(0xee)]){const _0x3234cf=_0x39c4aa[_0x14127a(0x243)]['indexOf']('?');if((_0x3234cf!==-0x1?_0x39c4aa[_0x14127a(0x243)][_0x14127a(0x1e8)](0x0,_0x3234cf):_0x39c4aa[_0x14127a(0x243)])!==this['options'][_0x14127a(0xee)])return!0x1;}return!0x0;}[_0x506cd6(0x252)](_0x425cfe,_0x3ab8c2,_0x41d8dc,_0x32f458){const _0x3c3d82=_0x506cd6;_0x3ab8c2['on']('error',_0x5716cf);const _0x2ca4ef=_0x425cfe[_0x3c3d82(0x231)][_0x3c3d82(0x244)],_0x31dd20=_0x425cfe[_0x3c3d82(0x231)]['upgrade'],_0x287745=+_0x425cfe[_0x3c3d82(0x231)][_0x3c3d82(0x1ba)];if(_0x425cfe[_0x3c3d82(0x284)]!==_0x3c3d82(0x205)){_0x1b541f(this,_0x425cfe,_0x3ab8c2,0x195,_0x3c3d82(0x261));return;}if(_0x31dd20===void 0x0||_0x31dd20[_0x3c3d82(0x18f)]()!==_0x3c3d82(0x257)){_0x1b541f(this,_0x425cfe,_0x3ab8c2,0x190,_0x3c3d82(0x114));return;}if(_0x2ca4ef===void 0x0||!_0x3a14a1['test'](_0x2ca4ef)){_0x1b541f(this,_0x425cfe,_0x3ab8c2,0x190,_0x3c3d82(0x19d));return;}if(_0x287745!==0x8&&_0x287745!==0xd){_0x1b541f(this,_0x425cfe,_0x3ab8c2,0x190,_0x3c3d82(0xdb));return;}if(!this['shouldHandle'](_0x425cfe)){_0x496fc2(_0x3ab8c2,0x190);return;}const _0x632df=_0x425cfe[_0x3c3d82(0x231)]['sec-websocket-protocol'];let _0x2de238=new Set();if(_0x632df!==void 0x0)try{_0x2de238=_0x3e6d3b['parse'](_0x632df);}catch{_0x1b541f(this,_0x425cfe,_0x3ab8c2,0x190,_0x3c3d82(0x1fa));return;}const _0x180fb1=_0x425cfe['headers'][_0x3c3d82(0xde)],_0xfe1776={};if(this[_0x3c3d82(0x26c)][_0x3c3d82(0x10d)]&&_0x180fb1!==void 0x0){const _0x22c75d=new _0x39b9e7(this[_0x3c3d82(0x26c)]['perMessageDeflate'],!0x0,this['options'][_0x3c3d82(0x254)]);try{const _0x45bf68=_0x4f8ee7[_0x3c3d82(0x202)](_0x180fb1);_0x45bf68[_0x39b9e7[_0x3c3d82(0x10c)]]&&(_0x22c75d['accept'](_0x45bf68[_0x39b9e7['extensionName']]),_0xfe1776[_0x39b9e7['extensionName']]=_0x22c75d);}catch{_0x1b541f(this,_0x425cfe,_0x3ab8c2,0x190,_0x3c3d82(0x166));return;}}if(this[_0x3c3d82(0x26c)]['verifyClient']){const _0x1b8cc3={'origin':_0x425cfe['headers'][''+(_0x287745===0x8?_0x3c3d82(0x265):_0x3c3d82(0x117))],'secure':!!(_0x425cfe[_0x3c3d82(0x1cb)]['authorized']||_0x425cfe[_0x3c3d82(0x1cb)][_0x3c3d82(0xe9)]),'req':_0x425cfe};if(this[_0x3c3d82(0x26c)][_0x3c3d82(0x274)]['length']===0x2){this[_0x3c3d82(0x26c)]['verifyClient'](_0x1b8cc3,(_0x21d020,_0x455c11,_0x54bdb8,_0x56426a)=>{const _0x9569a1=_0x3c3d82;if(!_0x21d020)return _0x496fc2(_0x3ab8c2,_0x455c11||0x191,_0x54bdb8,_0x56426a);this[_0x9569a1(0x108)](_0xfe1776,_0x2ca4ef,_0x2de238,_0x425cfe,_0x3ab8c2,_0x41d8dc,_0x32f458);});return;}if(!this['options']['verifyClient'](_0x1b8cc3))return _0x496fc2(_0x3ab8c2,0x191);}this[_0x3c3d82(0x108)](_0xfe1776,_0x2ca4ef,_0x2de238,_0x425cfe,_0x3ab8c2,_0x41d8dc,_0x32f458);}[_0x506cd6(0x108)](_0x2d1d14,_0x3fa8c9,_0xf50a8d,_0x31fe28,_0x22ed42,_0x541a4c,_0x10f942){const _0x31d8c2=_0x506cd6;if(!_0x22ed42[_0x31d8c2(0x1b2)]||!_0x22ed42[_0x31d8c2(0x153)])return _0x22ed42['destroy']();if(_0x22ed42[_0x1916c5])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this[_0x31d8c2(0x1c9)]>_0x84da15)return _0x496fc2(_0x22ed42,0x1f7);const _0x3d6bcd=[_0x31d8c2(0x236),'Upgrade:\x20websocket','Connection:\x20Upgrade','Sec-WebSocket-Accept:\x20'+_0x46d0dc(_0x31d8c2(0x267))[_0x31d8c2(0x223)](_0x3fa8c9+_0x3349f5)[_0x31d8c2(0x100)](_0x31d8c2(0x220))],_0x243e5d=new this[(_0x31d8c2(0x26c))]['WebSocket'](null,void 0x0,this[_0x31d8c2(0x26c)]);if(_0xf50a8d[_0x31d8c2(0x22a)]){const _0x31670e=this['options'][_0x31d8c2(0x14e)]?this['options'][_0x31d8c2(0x14e)](_0xf50a8d,_0x31fe28):_0xf50a8d[_0x31d8c2(0x24a)]()[_0x31d8c2(0x16c)]()[_0x31d8c2(0x23e)];_0x31670e&&(_0x3d6bcd[_0x31d8c2(0xd3)](_0x31d8c2(0x1fc)+_0x31670e),_0x243e5d[_0x31d8c2(0x206)]=_0x31670e);}if(_0x2d1d14[_0x39b9e7[_0x31d8c2(0x10c)]]){const _0xf605cf=_0x2d1d14[_0x39b9e7['extensionName']][_0x31d8c2(0x22d)],_0x222eb4=_0x4f8ee7['format']({[_0x39b9e7[_0x31d8c2(0x10c)]]:[_0xf605cf]});_0x3d6bcd[_0x31d8c2(0xd3)](_0x31d8c2(0x1f3)+_0x222eb4),_0x243e5d['_extensions']=_0x2d1d14;}this[_0x31d8c2(0x176)](_0x31d8c2(0x231),_0x3d6bcd,_0x31fe28),_0x22ed42[_0x31d8c2(0x134)](_0x3d6bcd[_0x31d8c2(0x1b8)]('\x0d\x0a')[_0x31d8c2(0x233)]('\x0d\x0a')),_0x22ed42[_0x31d8c2(0x215)]('error',_0x5716cf),_0x243e5d['setSocket'](_0x22ed42,_0x541a4c,{'allowSynchronousEvents':this[_0x31d8c2(0x26c)]['allowSynchronousEvents'],'maxPayload':this[_0x31d8c2(0x26c)][_0x31d8c2(0x254)],'skipUTF8Validation':this[_0x31d8c2(0x26c)][_0x31d8c2(0x169)]}),this[_0x31d8c2(0x20a)]&&(this[_0x31d8c2(0x20a)]['add'](_0x243e5d),_0x243e5d['on'](_0x31d8c2(0x27a),()=>{const _0x36a46e=_0x31d8c2;this['clients'][_0x36a46e(0x26f)](_0x243e5d),this[_0x36a46e(0x1a5)]&&!this['clients'][_0x36a46e(0x22a)]&&process[_0x36a46e(0x16a)](_0x12bac1,this);})),_0x10f942(_0x243e5d,_0x31fe28);}}Te=_0x208ac9;function _0x6c6eb9(_0xf22f5d,_0x2689d5){const _0x4fc6d7=_0x506cd6;for(const _0x552100 of Object[_0x4fc6d7(0x15d)](_0x2689d5))_0xf22f5d['on'](_0x552100,_0x2689d5[_0x552100]);return function(){const _0x3971ae=_0x4fc6d7;for(const _0x432ac7 of Object[_0x3971ae(0x15d)](_0x2689d5))_0xf22f5d[_0x3971ae(0x215)](_0x432ac7,_0x2689d5[_0x432ac7]);};}function _0x12bac1(_0x35e287){_0x35e287['_state']=_0x45a243,_0x35e287['emit']('close');}function _0x5716cf(){const _0x4aa7d1=_0x506cd6;this[_0x4aa7d1(0x230)]();}function _0x496fc2(_0x4d818e,_0x4ff388,_0x5e1a4c,_0x40715f){const _0x204141=_0x506cd6;_0x5e1a4c=_0x5e1a4c||_0x4c7719[_0x204141(0x26a)][_0x4ff388],_0x40715f={'Connection':_0x204141(0x27a),'Content-Type':_0x204141(0x101),'Content-Length':Buffer['byteLength'](_0x5e1a4c),..._0x40715f},_0x4d818e[_0x204141(0xdc)](_0x204141(0x249),_0x4d818e['destroy']),_0x4d818e[_0x204141(0x270)](_0x204141(0x194)+_0x4ff388+'\x20'+_0x4c7719['STATUS_CODES'][_0x4ff388]+'\x0d\x0a'+Object['keys'](_0x40715f)[_0x204141(0x1f6)](_0x474d6a=>_0x474d6a+':\x20'+_0x40715f[_0x474d6a])[_0x204141(0x233)]('\x0d\x0a')+_0x204141(0x1b7)+_0x5e1a4c);}function _0x1b541f(_0x4a148b,_0x320260,_0xd49c9f,_0x1b1428,_0x351c6c){const _0x6e15bc=_0x506cd6;if(_0x4a148b[_0x6e15bc(0x27c)]('wsClientError')){const _0x333c75=new Error(_0x351c6c);Error[_0x6e15bc(0x1a8)](_0x333c75,_0x1b541f),_0x4a148b[_0x6e15bc(0x176)](_0x6e15bc(0x17d),_0x333c75,_0xd49c9f,_0x320260);}else _0x496fc2(_0xd49c9f,_0x1b1428,_0x351c6c);}return Te;}er();var tr=Object['getOwnPropertyDescriptor'],rr=(_0x323eb6,_0x55eab5,_0x54e6c4,_0x2e81a7)=>{const _0x966d41=_0x1a08ca;for(var _0x2c1088=_0x2e81a7>0x1?void 0x0:_0x2e81a7?tr(_0x55eab5,_0x54e6c4):_0x55eab5,_0x994a1=_0x323eb6[_0x966d41(0x189)]-0x1,_0x4833ef;_0x994a1>=0x0;_0x994a1--)(_0x4833ef=_0x323eb6[_0x994a1])&&(_0x2c1088=_0x4833ef(_0x2c1088)||_0x2c1088);return _0x2c1088;},sr=(_0x58eae4,_0x1ee597)=>(_0x42d729,_0x3568a6)=>_0x1ee597(_0x42d729,_0x3568a6,_0x58eae4);let Ne=class extends _0x494d4c{constructor(_0x17aab7){const _0x8785f=_0x1a08ca;super(),this[_0x8785f(0x25c)]=_0x17aab7;}[_0x1a08ca(0x112)](_0x2416c3){const _0x3fb743=_0x1a08ca;var _0x1c9521;const _0x5edc8f=(_0x1c9521=this[_0x3fb743(0x25c)][_0x3fb743(0x13a)](Be))==null?void 0x0:_0x1c9521['customHeaders'];try{const _0x1b775c=new Qt(_0x2416c3,{'headers':{..._0x5edc8f}}),_0x17e16e=new _0x2673d6();return{'URL':_0x2416c3,'close':(_0x567278,_0x135405)=>{const _0x4615fa=_0x3fb743;_0x1b775c[_0x4615fa(0x27a)](_0x567278,_0x135405),_0x17e16e[_0x4615fa(0xdd)]();},'send':_0xc2e7d5=>{_0x1b775c['send'](_0xc2e7d5);},'open$':new _0xdb758a(_0x50c1cb=>{const _0x5142da=_0x3fb743,_0x4b5676=_0x44771c=>_0x50c1cb[_0x5142da(0x16c)](_0x44771c);_0x1b775c['addEventListener'](_0x5142da(0x1e1),_0x4b5676),_0x17e16e[_0x5142da(0x111)](_0x495474(()=>_0x1b775c['removeEventListener'](_0x5142da(0x1e1),_0x4b5676)));})['pipe'](_0x567656()),'close$':new _0xdb758a(_0x5c3ac5=>{const _0x306cc1=_0x3fb743,_0x1be715=_0x54bbaa=>_0x5c3ac5[_0x306cc1(0x16c)](_0x54bbaa);_0x1b775c[_0x306cc1(0x175)](_0x306cc1(0x27a),_0x1be715),_0x17e16e['add'](_0x495474(()=>_0x1b775c[_0x306cc1(0x11e)](_0x306cc1(0x27a),_0x1be715)));})[_0x3fb743(0x139)](_0x567656()),'error$':new _0xdb758a(_0x54494d=>{const _0x52741f=_0x3fb743,_0x4d33b3=_0x1b0e59=>_0x54494d['next'](_0x1b0e59);_0x1b775c[_0x52741f(0x175)](_0x52741f(0xeb),_0x4d33b3),_0x17e16e[_0x52741f(0x111)](_0x495474(()=>_0x1b775c['removeEventListener'](_0x52741f(0xeb),_0x4d33b3)));})[_0x3fb743(0x139)](_0x567656()),'message$':new _0xdb758a(_0x1f2c3b=>{const _0x33c275=_0x3fb743,_0x308f94=_0x1455dd=>_0x1f2c3b[_0x33c275(0x16c)](_0x1455dd);_0x1b775c[_0x33c275(0x175)](_0x33c275(0x15e),_0x308f94),_0x17e16e['add'](_0x495474(()=>_0x1b775c[_0x33c275(0x11e)]('message',_0x308f94)));})['pipe'](_0x567656())};}catch(_0x2d1073){return console['error'](_0x2d1073),null;}}};Ne=rr([sr(0x0,_0x3b1cc1)],Ne);function _0x4e9f(_0x739cd0,_0x5db1fa){const _0x548ddd=_0x548d();return _0x4e9f=function(_0x4e9f94,_0x361856){_0x4e9f94=_0x4e9f94-0xcd;let _0x58605a=_0x548ddd[_0x4e9f94];return _0x58605a;},_0x4e9f(_0x739cd0,_0x5db1fa);}var ir=Object[_0x1a08ca(0x23d)],nr=Object[_0x1a08ca(0x165)],or=(_0x4b7e47,_0x391f56,_0x2920a6)=>_0x391f56 in _0x4b7e47?ir(_0x4b7e47,_0x391f56,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2920a6}):_0x4b7e47[_0x391f56]=_0x2920a6,ar=(_0x4b2df2,_0x50f931,_0x1eb487,_0x45ba40)=>{const _0x508d70=_0x1a08ca;for(var _0x1dbab5=_0x45ba40>0x1?void 0x0:_0x45ba40?nr(_0x50f931,_0x1eb487):_0x50f931,_0x34d221=_0x4b2df2[_0x508d70(0x189)]-0x1,_0x3f2ee2;_0x34d221>=0x0;_0x34d221--)(_0x3f2ee2=_0x4b2df2[_0x34d221])&&(_0x1dbab5=_0x3f2ee2(_0x1dbab5)||_0x1dbab5);return _0x1dbab5;},ke=(_0x477dc8,_0x1d2ff2)=>(_0x262a7b,_0x7d3586)=>_0x1d2ff2(_0x262a7b,_0x7d3586,_0x477dc8),lr=(_0x5f1317,_0x2471f0,_0xf7daa2)=>or(_0x5f1317,_0x2471f0+'',_0xf7daa2);let Pe=class extends _0x41c854{constructor(_0x1a297b=Ft,_0x4930e9,_0x78f102,_0x5d1eca){const _0x23f118=_0x1a08ca;_0x1a297b['customHeaders']||_0x4930e9[_0x23f118(0x1a4)]('[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.'),super(),this[_0x23f118(0x25c)]=_0x78f102,this[_0x23f118(0x14d)]=_0x5d1eca,this['_configService']['setConfig'](Be,_0x1a297b);}[_0x1a08ca(0x19f)](){const _0x38fd5c=_0x1a08ca;this[_0x38fd5c(0x213)]();}[_0x1a08ca(0x213)](){_0x5d680b(this['_injector'],[[_0x16115e,{'useClass':Ne}]]);}};lr(Pe,_0x1a08ca(0x241),_0x1a08ca(0x26d)),Pe=ar([_0x349b60(_0x56d3f0),ke(0x1,_0xc4bc3e),ke(0x2,_0x3b1cc1),ke(0x3,_0x3f54f5(_0x5e1d8b))],Pe);var fr=Object[_0x1a08ca(0x165)],cr=(_0x5bbd45,_0x4b62f8,_0x3457f5,_0x1390b4)=>{for(var _0x19c59f=_0x1390b4>0x1?void 0x0:_0x1390b4?fr(_0x4b62f8,_0x3457f5):_0x4b62f8,_0x5ba40b=_0x5bbd45['length']-0x1,_0x531e0e;_0x5ba40b>=0x0;_0x5ba40b--)(_0x531e0e=_0x5bbd45[_0x5ba40b])&&(_0x19c59f=_0x531e0e(_0x19c59f)||_0x19c59f);return _0x19c59f;},se=(_0x4332e4,_0x5f1a0b)=>(_0x1144df,_0x398837)=>_0x5f1a0b(_0x1144df,_0x398837,_0x4332e4);let at=class extends _0x5eb0c6{constructor(_0x7bc3eb,_0x4b4a4b,_0xd40a2e,_0x1de2f6,_0x23e418){const _0x5e5bd0=_0x1a08ca;super(_0x7bc3eb,_0x4b4a4b,_0xd40a2e,_0x1de2f6,_0x23e418);const _0x4813ec=this[_0x5e5bd0(0x25c)][_0x5e5bd0(0x13a)](Be);this[_0x5e5bd0(0x149)][_0x5e5bd0(0x145)]({'interceptor':(_0x395325,_0x21ec62)=>{const _0x112e12=_0x5e5bd0;var _0x1de672;const _0x3e56f4=_0x395325[_0x112e12(0x231)];return(_0x1de672=_0x4813ec==null?void 0x0:_0x4813ec[_0x112e12(0x1f2)])!=null&&_0x1de672[_0x112e12(0x144)]&&_0x3e56f4['set'](_0x112e12(0x1ec),_0x4813ec[_0x112e12(0x1f2)][_0x112e12(0x144)]),_0x21ec62(_0x395325);}});}async[_0x1a08ca(0x112)](_0x50a580){const _0x5a88fe=_0x1a08ca;return this[_0x5a88fe(0x1e6)](_0x50a580);}};at=cr([se(0x0,_0x3f54f5(_0x5e1d8b)),se(0x1,_0x3f54f5(_0x5370b0)),se(0x2,_0x3b1cc1),se(0x3,_0xc4bc3e),se(0x4,_0x9e47c)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};