@univerjs-pro/collaboration-client-node 0.10.13 → 0.10.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/index.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +8 -8
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x3930a4=_0x1e77;(function(_0x315301,_0x124fc1){const _0x2a6f28=_0x1e77,_0x35e911=_0x315301();while(!![]){try{const _0x34d482=parseInt(_0x2a6f28(0x1ba))/0x1*(parseInt(_0x2a6f28(0x2f1))/0x2)+parseInt(_0x2a6f28(0x19d))/0x3+-parseInt(_0x2a6f28(0x222))/0x4*(parseInt(_0x2a6f28(0x2cf))/0x5)+parseInt(_0x2a6f28(0x1ed))/0x6+parseInt(_0x2a6f28(0x20a))/0x7*(-parseInt(_0x2a6f28(0x251))/0x8)+parseInt(_0x2a6f28(0x256))/0x9+-parseInt(_0x2a6f28(0x305))/0xa;if(_0x34d482===_0x124fc1)break;else _0x35e911['push'](_0x35e911['shift']());}catch(_0x2d12c6){_0x35e911['push'](_0x35e911['shift']());}}}(_0x3539,0x5a410));import{UniverCollaborationClientPlugin as _0x43652a,CollaborationSocketService as _0x3d7334}from'@univerjs-pro/collaboration-client';import{Disposable as _0x1ecad5,DisposableCollection as _0x139477,toDisposable as _0x3126c5,IConfigService as _0x3b6023,DependentOn as _0x427518,ILogService as _0x31d2d9,Inject as _0x27082a,Injector as _0x1f54da,Plugin as _0x37e522,registerDependencies as _0x490830}from'@univerjs/core';import{ISocketService as _0x440bd9,HTTPService as _0x35f0d2}from'@univerjs/network';import{Observable as _0x23af78,share as _0x756000}from'rxjs';import _0x5daf3f from'events';import _0x1f2be5 from'https';function _0x1e77(_0x9efea6,_0x199d23){const _0x35398f=_0x3539();return _0x1e77=function(_0x1e776b,_0x1d5f1a){_0x1e776b=_0x1e776b-0x18e;let _0x56b26d=_0x35398f[_0x1e776b];return _0x56b26d;},_0x1e77(_0x9efea6,_0x199d23);}import _0x39281d from'http';import _0x3a2a0b from'net';import _0x35ccd6 from'tls';function _0x3539(){const _0x40e1fb=['options','_maskBuffer','createError','destroyed','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','toLowerCase','_maxPayload','pow','_extensions','_sender','_payloadLength','text/plain','then','destroy','port','href','cookie','concat','_writableState','createSocket','create','Blob','resume','WS_ERR_INVALID_UTF8','uncork','_skipUTF8Validation','_state','_decompress','_doCreateSocket','_deflate','host','finished','Basic\x20','readyState','Sec-WebSocket-Origin','abort','isArray','_fragments','onmessage','196455RqJXtA','getConfig','sendFrame','Maximum\x20redirects\x20exceeded','sha1','permessage-deflate','customHeaders','_originalIpc','clientNoContextTakeover','_protocol','_httpService','invalid\x20status\x20code\x20','threshold','startLoop','byteOffset','base64','Invalid\x20value\x20for\x20parameter\x20\x22','accept','buffers','charCodeAt','socketPath','sec-websocket-protocol','extensionName','kError','pipe','extensions','_write','add','client_no_context_takeover','17PfmqWZ','includes','concurrencyLimit','object','_compress','binary','finish','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','find','Max\x20payload\x20size\x20exceeded','_closeTimer','WS_ERR_EXPECTED_FIN','kListener','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','allocUnsafe','ws:','registerHTTPInterceptor','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','perMessageDeflate','Unknown\x20parameter\x20\x22','pending','isView','send','acceptAsServer','Server\x20sent\x20an\x20invalid\x20subprotocol','_req','from','authorization','allowSynchronousEvents','Invalid\x20URL:\x20','arrayBuffer','open','autoPong','endEmitted','pathname','Upgrade','clients','Sec-WebSocket-Protocol','serverMaxWindowBits','Invalid\x20Sec-WebSocket-Extensions\x20header','kReason','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','close','_max_window_bits','frame','connect','has','CLOSING','acceptAsClient','listenerCount','serverNoContextTakeover','3462882nOtRSH','maxPayload','_options','hash','total-length','readOnly','WS_ERR_UNEXPECTED_RSV_2_3','STATUS_CODES','_errored','_closeCode','Unexpected\x20end\x20of\x20input','shouldHandle','hostname','_messageLength','_closeFrameReceived','connection','errorEmitted','_totalPayloadLength','_mask','_compressed','_socket','_buffers','listeners','WS_NO_BUFFER_UTIL','MASK\x20must\x20be\x20set','conclude','_closeMessage','exports','string','7VddExv','https:','Connection:\x20Upgrade','once','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','_removeListeners','_allowSynchronousEvents','Server\x20sent\x20no\x20subprotocol','length','finishRequest','Parameter\x20\x22','update','getMask','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','headers','\x22\x20subprotocol\x20is\x20duplicated','collaboration-client-node.config','isValidUTF8','map','removeEventListener','isPaused','_url','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','unmask','6832AFNzmV','dequeue','kWasClean','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','Z_DEFAULT_WINDOWBITS','WS_ERR_INVALID_OPCODE','_shouldEmitClose','kDone','get','authorized','dispatch','_autoPong','maskBuffer','concurrency','wsClientError','handleEvent','socket','clientMaxWindowBits','slice','The\x20\x22','freeze','startsWith','websocket','toString','getPayloadLength64','username','\x0d\x0a\x0d\x0a','getData','origin','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','generateMask','normalizeParams','controlMessage','setTimeout','call','_generateMask','_opcode','error','toStringTag','setConfig','hasOwnProperty','sec-websocket-origin','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','values','kCode','WS_ERR_UNEXPECTED_RSV_1','address','3129976tcjqCa','alloc','url','offer','_fragmented','5327703hVOska','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','bind','binaryType','pause','type','delete','env','kMessage','Sec-WebSocket-Extensions:\x20','wasClean','statusCode','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','handleProtocols','OPEN','_binaryType','path','blob','onopen','haveLength','FIN\x20must\x20be\x20set','objectMode','Upgrade:\x20websocket','The\x20server\x20is\x20not\x20running','request','WebSocket\x20is\x20not\x20open:\x20readyState\x20','byteLength','join','read','value','setSocket','write','kIsForOnEventAttribute','data','emitClose','encrypted','server_max_window_bits','kData','Opening\x20handshake\x20has\x20timed\x20out','_destroy','terminate','apply','setNoDelay','opcode','_queue','_firstFragment','onStarting','Invalid\x20Sec-WebSocket-Accept\x20header','auth','default','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','MASK\x20must\x20be\x20clear','decompress','invalid\x20opcode\x20','search','onerror','_read','CLOSED','zlibDeflateOptions','_bufferedBytes','Invalid\x20Sec-WebSocket-Protocol\x20header','mask','size','unexpected-response','_no_context_takeover','__esModule','emit','\x22:\x20','invalid\x20payload\x20length\x20','writeHead','writeUIntBE','replace','dispose','The\x20URL\x20contains\x20a\x20fragment\x20identifier','params','format','createConnection','captureStackTrace','prototype','getInfo','parse','sec-websocket-extensions','_configService','Unsupported\x20protocol\x20version:\x20','number','target','getPayloadLength16','consume','reset','kType','jobs','_paused','_threshold','message','defaultPort','readUInt32BE','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','fragments','enqueue','forEach','writeUInt16BE','followRedirects','_fin','timeout','removeAllListeners','Invalid\x20HTTP\x20method','kRun','next','indexOf','_errorEmitted','_final','arraybuffer','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','Sec-WebSocket-Accept:\x20','getOwnPropertyDescriptor','removeListener','The\x20URL\x27s\x20pathname\x20is\x20empty','cleanup','_readableState','rsv1','1805XrrqeS','digest','server_no_context_takeover','isIP','invalid\x20UTF-8\x20sequence','server','defineProperty','completeUpgrade','set','noServer','function','_readyState','species','_bufferedAmount','dataMessage','nextTick','getBlobData','sec-websocket-version','Unexpected\x20character\x20at\x20index\x20','_loop','zlibInflateOptions','handleUpgrade','Module','HTTP/1.1\x20','cork','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','_originalSecure','handshakeTimeout','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','GET','protocolVersion','CONNECTING','_registerDependencies','fin','84262JQaMcT','_receiver','test','buffer','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','RSV1\x20must\x20be\x20clear','addEventListener','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','isInteger','client_max_window_bits','clientTracking','upgrade','push','protocol','ping','entries','redirect','onclose','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','_masked','5733110zrLeua','reason','_isServer','nodebuffer','wss:','_redirects','stream','response','warn','_server','constructor','listening','end','callback','pong','_originalHostOrSocketPath','readUInt16BE','\x20(supported\x20versions:\x20','servername','skipUTF8Validation','createInflateRaw','_inflate','shift','verifyClient','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','keys','_closeFrameSent','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','flush','compress','code'];_0x3539=function(){return _0x40e1fb;};return _0x3539();}import _0x13c910 from'crypto';import _0x393e7e from'stream';import _0x42cd08 from'url';import _0x5b738f from'zlib';import _0x246c6c from'buffer';import{ISnapshotServerService as _0x1c6962}from'@univerjs-pro/collaboration';const Be=_0x3930a4(0x21a),Ft={'customHeaders':{}};function Wt(_0x4c5023){const _0x531daf=_0x3930a4;return _0x4c5023&&_0x4c5023[_0x531daf(0x297)]&&Object[_0x531daf(0x2a4)][_0x531daf(0x24a)]['call'](_0x4c5023,_0x531daf(0x287))?_0x4c5023[_0x531daf(0x287)]:_0x4c5023;}function ut(_0x42f8e8){const _0xea7f9f=_0x3930a4;if(Object['prototype'][_0xea7f9f(0x24a)][_0xea7f9f(0x244)](_0x42f8e8,_0xea7f9f(0x297)))return _0x42f8e8;var _0x2f9c3b=_0x42f8e8[_0xea7f9f(0x287)];if(typeof _0x2f9c3b=='function'){var _0x1d1f22=function _0x3916d7(){const _0x14f5f4=_0xea7f9f;var _0x196d9b=!0x1;try{_0x196d9b=this instanceof _0x3916d7;}catch{}return _0x196d9b?Reflect['construct'](_0x2f9c3b,arguments,this[_0x14f5f4(0x30f)]):_0x2f9c3b[_0x14f5f4(0x27f)](this,arguments);};_0x1d1f22[_0xea7f9f(0x2a4)]=_0x2f9c3b[_0xea7f9f(0x2a4)];}else _0x1d1f22={};return Object['defineProperty'](_0x1d1f22,'__esModule',{'value':!0x0}),Object[_0xea7f9f(0x31e)](_0x42f8e8)[_0xea7f9f(0x2b9)](function(_0x570934){const _0x307525=_0xea7f9f;var _0x23c0eb=Object[_0x307525(0x2c9)](_0x42f8e8,_0x570934);Object[_0x307525(0x2d5)](_0x1d1f22,_0x570934,_0x23c0eb[_0x307525(0x22a)]?_0x23c0eb:{'enumerable':!0x0,'get':function(){return _0x42f8e8[_0x570934];}});}),_0x1d1f22;}var te={'exports':{}},ge,Ye;function V(){const _0x57f46=_0x3930a4;if(Ye)return ge;Ye=0x1;const _0x3293bd=[_0x57f46(0x308),_0x57f46(0x2c5),_0x57f46(0x2b7)],_0x23655d=typeof Blob<'u';return _0x23655d&&_0x3293bd['push'](_0x57f46(0x267)),ge={'BINARY_TYPES':_0x3293bd,'EMPTY_BUFFER':Buffer[_0x57f46(0x252)](0x0),'GUID':'258EAFA5-E914-47DA-95CA-C5AB0DC85B11','hasBlob':_0x23655d,'kForOnEventAttribute':Symbol(_0x57f46(0x276)),'kListener':Symbol(_0x57f46(0x1c6)),'kStatusCode':Symbol('status-code'),'kWebSocket':Symbol(_0x57f46(0x238)),'NOOP':()=>{}},ge;}const jt={},Gt=Object[_0x3930a4(0x236)](Object[_0x3930a4(0x2d5)]({'__proto__':null,'default':jt},Symbol[_0x3930a4(0x248)],{'value':_0x3930a4(0x2e5)})),Vt=ut(Gt);var Ke;function ce(){const _0x55681c=_0x3930a4;if(Ke)return te[_0x55681c(0x208)];Ke=0x1;const {EMPTY_BUFFER:_0x3c7178}=V(),_0x129fdc=Buffer[Symbol[_0x55681c(0x2db)]];function _0x2aac62(_0x3d8ce6,_0x3eef61){const _0x1fcc7b=_0x55681c;if(_0x3d8ce6[_0x1fcc7b(0x212)]===0x0)return _0x3c7178;if(_0x3d8ce6[_0x1fcc7b(0x212)]===0x1)return _0x3d8ce6[0x0];const _0x439bd2=Buffer['allocUnsafe'](_0x3eef61);let _0x61adde=0x0;for(let _0x16f5d9=0x0;_0x16f5d9<_0x3d8ce6['length'];_0x16f5d9++){const _0x2c2c48=_0x3d8ce6[_0x16f5d9];_0x439bd2[_0x1fcc7b(0x2d7)](_0x2c2c48,_0x61adde),_0x61adde+=_0x2c2c48[_0x1fcc7b(0x212)];}return _0x61adde<_0x3eef61?new _0x129fdc(_0x439bd2[_0x1fcc7b(0x2f4)],_0x439bd2[_0x1fcc7b(0x1ab)],_0x61adde):_0x439bd2;}function _0x5708ca(_0x34fb66,_0x4eccd4,_0x5d36ba,_0x129614,_0x571df8){for(let _0x4345d2=0x0;_0x4345d2<_0x571df8;_0x4345d2++)_0x5d36ba[_0x129614+_0x4345d2]=_0x34fb66[_0x4345d2]^_0x4eccd4[_0x4345d2&0x3];}function _0x125dba(_0x18bc24,_0x2e1f44){const _0x551e89=_0x55681c;for(let _0xbd1b5a=0x0;_0xbd1b5a<_0x18bc24[_0x551e89(0x212)];_0xbd1b5a++)_0x18bc24[_0xbd1b5a]^=_0x2e1f44[_0xbd1b5a&0x3];}function _0x4af5de(_0x473a97){const _0x743b20=_0x55681c;return _0x473a97[_0x743b20(0x212)]===_0x473a97[_0x743b20(0x2f4)][_0x743b20(0x270)]?_0x473a97['buffer']:_0x473a97['buffer'][_0x743b20(0x234)](_0x473a97[_0x743b20(0x1ab)],_0x473a97[_0x743b20(0x1ab)]+_0x473a97['length']);}function _0x41ce52(_0x2fe225){const _0xfff65=_0x55681c;if(_0x41ce52[_0xfff65(0x1f2)]=!0x0,Buffer['isBuffer'](_0x2fe225))return _0x2fe225;let _0x19ab0c;return _0x2fe225 instanceof ArrayBuffer?_0x19ab0c=new _0x129fdc(_0x2fe225):ArrayBuffer[_0xfff65(0x1cf)](_0x2fe225)?_0x19ab0c=new _0x129fdc(_0x2fe225[_0xfff65(0x2f4)],_0x2fe225[_0xfff65(0x1ab)],_0x2fe225[_0xfff65(0x270)]):(_0x19ab0c=Buffer[_0xfff65(0x1d4)](_0x2fe225),_0x41ce52[_0xfff65(0x1f2)]=!0x1),_0x19ab0c;}if(te[_0x55681c(0x208)]={'concat':_0x2aac62,'mask':_0x5708ca,'toArrayBuffer':_0x4af5de,'toBuffer':_0x41ce52,'unmask':_0x125dba},!process[_0x55681c(0x25d)][_0x55681c(0x204)])try{const _0x193107=Vt;te['exports'][_0x55681c(0x293)]=function(_0x2ad5a8,_0x2ce86d,_0x5a88a9,_0x8f3578,_0x10c8b1){const _0xa7606d=_0x55681c;_0x10c8b1<0x30?_0x5708ca(_0x2ad5a8,_0x2ce86d,_0x5a88a9,_0x8f3578,_0x10c8b1):_0x193107[_0xa7606d(0x293)](_0x2ad5a8,_0x2ce86d,_0x5a88a9,_0x8f3578,_0x10c8b1);},te[_0x55681c(0x208)][_0x55681c(0x221)]=function(_0x100a05,_0xfc5765){const _0x1135b8=_0x55681c;_0x100a05[_0x1135b8(0x212)]<0x20?_0x125dba(_0x100a05,_0xfc5765):_0x193107['unmask'](_0x100a05,_0xfc5765);};}catch{}return te[_0x55681c(0x208)];}var ye,Xe;function qt(){const _0x217ea7=_0x3930a4;if(Xe)return ye;Xe=0x1;const _0x1203cf=Symbol(_0x217ea7(0x229)),_0x2e3e62=Symbol(_0x217ea7(0x2c0));class _0x8a0d7a{constructor(_0x1aedc6){const _0x13cee9=_0x217ea7;this[_0x1203cf]=()=>{this['pending']--,this[_0x2e3e62]();},this['concurrency']=_0x1aedc6||0x1/0x0,this[_0x13cee9(0x2b0)]=[],this['pending']=0x0;}[_0x217ea7(0x1b8)](_0x629cca){const _0x49c5d6=_0x217ea7;this[_0x49c5d6(0x2b0)][_0x49c5d6(0x2fd)](_0x629cca),this[_0x2e3e62]();}[_0x2e3e62](){const _0x53db4c=_0x217ea7;if(this[_0x53db4c(0x1ce)]!==this[_0x53db4c(0x22f)]&&this[_0x53db4c(0x2b0)][_0x53db4c(0x212)]){const _0x76b41f=this[_0x53db4c(0x2b0)]['shift']();this['pending']++,_0x76b41f(this[_0x1203cf]);}}}return ye=_0x8a0d7a,ye;}var ve,Ze;function he(){const _0x288382=_0x3930a4;if(Ze)return ve;Ze=0x1;const _0x471438=_0x5b738f,_0x646d7d=ce(),_0x14b42d=qt(),{kStatusCode:_0x5c3b5f}=V(),_0x372161=Buffer[Symbol[_0x288382(0x2db)]],_0x3bed37=Buffer[_0x288382(0x1d4)]([0x0,0x0,0xff,0xff]),_0x13066f=Symbol(_0x288382(0x1a2)),_0x919c8f=Symbol(_0x288382(0x1f1)),_0x5780be=Symbol(_0x288382(0x312)),_0x420bf8=Symbol(_0x288382(0x1af)),_0x3290c4=Symbol(_0x288382(0x247));let _0x4e22fb;class _0x15f5a9{constructor(_0x111bf5,_0x227cd4,_0x52a71c){const _0x58461d=_0x288382;if(this[_0x58461d(0x32a)]=_0x52a71c|0x0,this[_0x58461d(0x1ef)]=_0x111bf5||{},this[_0x58461d(0x2b2)]=this[_0x58461d(0x1ef)]['threshold']!==void 0x0?this[_0x58461d(0x1ef)][_0x58461d(0x1a9)]:0x400,this[_0x58461d(0x307)]=!!_0x227cd4,this[_0x58461d(0x193)]=null,this['_inflate']=null,this[_0x58461d(0x2a0)]=null,!_0x4e22fb){const _0x2bcd91=this[_0x58461d(0x1ef)][_0x58461d(0x1bc)]!==void 0x0?this[_0x58461d(0x1ef)]['concurrencyLimit']:0xa;_0x4e22fb=new _0x14b42d(_0x2bcd91);}}static get['extensionName'](){const _0x3f6f40=_0x288382;return _0x3f6f40(0x1a2);}[_0x288382(0x254)](){const _0x5e42bc=_0x288382,_0x13de73={};return this[_0x5e42bc(0x1ef)][_0x5e42bc(0x1ec)]&&(_0x13de73[_0x5e42bc(0x2d1)]=!0x0),this[_0x5e42bc(0x1ef)][_0x5e42bc(0x1a5)]&&(_0x13de73[_0x5e42bc(0x1b9)]=!0x0),this['_options']['serverMaxWindowBits']&&(_0x13de73['server_max_window_bits']=this[_0x5e42bc(0x1ef)][_0x5e42bc(0x1e0)]),this['_options'][_0x5e42bc(0x233)]?_0x13de73[_0x5e42bc(0x2fa)]=this[_0x5e42bc(0x1ef)][_0x5e42bc(0x233)]:this[_0x5e42bc(0x1ef)][_0x5e42bc(0x233)]==null&&(_0x13de73['client_max_window_bits']=!0x0),_0x13de73;}[_0x288382(0x1ae)](_0x3410bd){const _0xf8bcca=_0x288382;return _0x3410bd=this[_0xf8bcca(0x241)](_0x3410bd),this['params']=this['_isServer']?this[_0xf8bcca(0x1d1)](_0x3410bd):this[_0xf8bcca(0x1ea)](_0x3410bd),this['params'];}[_0x288382(0x2cc)](){const _0x4d9b33=_0x288382;if(this[_0x4d9b33(0x31a)]&&(this[_0x4d9b33(0x31a)][_0x4d9b33(0x1e4)](),this[_0x4d9b33(0x31a)]=null),this['_deflate']){const _0x2c0d96=this[_0x4d9b33(0x193)][_0x5780be];this[_0x4d9b33(0x193)][_0x4d9b33(0x1e4)](),this[_0x4d9b33(0x193)]=null,_0x2c0d96&&_0x2c0d96(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}[_0x288382(0x1d1)](_0x1e2412){const _0x5d969c=_0x288382,_0x4ccd7d=this[_0x5d969c(0x1ef)],_0x1d42ee=_0x1e2412[_0x5d969c(0x1c2)](_0x34f7f5=>!(_0x4ccd7d[_0x5d969c(0x1ec)]===!0x1&&_0x34f7f5[_0x5d969c(0x2d1)]||_0x34f7f5[_0x5d969c(0x27a)]&&(_0x4ccd7d['serverMaxWindowBits']===!0x1||typeof _0x4ccd7d[_0x5d969c(0x1e0)]==_0x5d969c(0x2aa)&&_0x4ccd7d['serverMaxWindowBits']>_0x34f7f5[_0x5d969c(0x27a)])||typeof _0x4ccd7d[_0x5d969c(0x233)]=='number'&&!_0x34f7f5[_0x5d969c(0x2fa)]));if(!_0x1d42ee)throw new Error(_0x5d969c(0x24c));return _0x4ccd7d['serverNoContextTakeover']&&(_0x1d42ee[_0x5d969c(0x2d1)]=!0x0),_0x4ccd7d[_0x5d969c(0x1a5)]&&(_0x1d42ee['client_no_context_takeover']=!0x0),typeof _0x4ccd7d[_0x5d969c(0x1e0)]=='number'&&(_0x1d42ee[_0x5d969c(0x27a)]=_0x4ccd7d['serverMaxWindowBits']),typeof _0x4ccd7d[_0x5d969c(0x233)]==_0x5d969c(0x2aa)?_0x1d42ee[_0x5d969c(0x2fa)]=_0x4ccd7d['clientMaxWindowBits']:(_0x1d42ee[_0x5d969c(0x2fa)]===!0x0||_0x4ccd7d[_0x5d969c(0x233)]===!0x1)&&delete _0x1d42ee[_0x5d969c(0x2fa)],_0x1d42ee;}[_0x288382(0x1ea)](_0x4e711f){const _0x142c04=_0x288382,_0x3cf760=_0x4e711f[0x0];if(this[_0x142c04(0x1ef)][_0x142c04(0x1a5)]===!0x1&&_0x3cf760[_0x142c04(0x1b9)])throw new Error(_0x142c04(0x23f));if(!_0x3cf760[_0x142c04(0x2fa)])typeof this[_0x142c04(0x1ef)][_0x142c04(0x233)]==_0x142c04(0x2aa)&&(_0x3cf760[_0x142c04(0x2fa)]=this['_options'][_0x142c04(0x233)]);else{if(this[_0x142c04(0x1ef)]['clientMaxWindowBits']===!0x1||typeof this[_0x142c04(0x1ef)][_0x142c04(0x233)]==_0x142c04(0x2aa)&&_0x3cf760[_0x142c04(0x2fa)]>this[_0x142c04(0x1ef)]['clientMaxWindowBits'])throw new Error('Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22');}return _0x3cf760;}[_0x288382(0x241)](_0x3b8d39){const _0x5d1857=_0x288382;return _0x3b8d39[_0x5d1857(0x2b9)](_0x3be93f=>{const _0x38f9d3=_0x5d1857;Object[_0x38f9d3(0x31e)](_0x3be93f)[_0x38f9d3(0x2b9)](_0x1dda32=>{const _0x175cec=_0x38f9d3;let _0x2a5029=_0x3be93f[_0x1dda32];if(_0x2a5029[_0x175cec(0x212)]>0x1)throw new Error(_0x175cec(0x214)+_0x1dda32+'\x22\x20must\x20have\x20only\x20a\x20single\x20value');if(_0x2a5029=_0x2a5029[0x0],_0x1dda32===_0x175cec(0x2fa)){if(_0x2a5029!==!0x0){const _0xe70a92=+_0x2a5029;if(!Number[_0x175cec(0x2f9)](_0xe70a92)||_0xe70a92<0x8||_0xe70a92>0xf)throw new TypeError(_0x175cec(0x1ad)+_0x1dda32+'\x22:\x20'+_0x2a5029);_0x2a5029=_0xe70a92;}else{if(!this[_0x175cec(0x307)])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x1dda32+_0x175cec(0x299)+_0x2a5029);}}else{if(_0x1dda32==='server_max_window_bits'){const _0x19b4dc=+_0x2a5029;if(!Number[_0x175cec(0x2f9)](_0x19b4dc)||_0x19b4dc<0x8||_0x19b4dc>0xf)throw new TypeError(_0x175cec(0x1ad)+_0x1dda32+_0x175cec(0x299)+_0x2a5029);_0x2a5029=_0x19b4dc;}else{if(_0x1dda32===_0x175cec(0x1b9)||_0x1dda32===_0x175cec(0x2d1)){if(_0x2a5029!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x1dda32+_0x175cec(0x299)+_0x2a5029);}else throw new Error(_0x175cec(0x1cd)+_0x1dda32+'\x22');}}_0x3be93f[_0x1dda32]=_0x2a5029;});}),_0x3b8d39;}[_0x288382(0x28a)](_0xcd887c,_0x13e20f,_0x2c0126){_0x4e22fb['add'](_0x1dfa26=>{const _0x4cb541=_0x1e77;this[_0x4cb541(0x191)](_0xcd887c,_0x13e20f,(_0x2ef533,_0x11db3f)=>{_0x1dfa26(),_0x2c0126(_0x2ef533,_0x11db3f);});});}['compress'](_0x3decc4,_0xb28002,_0x4ab408){_0x4e22fb['add'](_0x27daa0=>{const _0xe09210=_0x1e77;this[_0xe09210(0x1be)](_0x3decc4,_0xb28002,(_0x35604d,_0x29dcd2)=>{_0x27daa0(),_0x4ab408(_0x35604d,_0x29dcd2);});});}['_decompress'](_0x25e209,_0x2a25c0,_0x109f73){const _0x6c2a3d=_0x288382,_0x1f6298=this[_0x6c2a3d(0x307)]?'client':_0x6c2a3d(0x2d4);if(!this['_inflate']){const _0x1e32ca=_0x1f6298+_0x6c2a3d(0x1e5),_0x2837ec=typeof this[_0x6c2a3d(0x2a0)][_0x1e32ca]!=_0x6c2a3d(0x2aa)?_0x471438[_0x6c2a3d(0x226)]:this[_0x6c2a3d(0x2a0)][_0x1e32ca];this['_inflate']=_0x471438[_0x6c2a3d(0x319)]({...this[_0x6c2a3d(0x1ef)][_0x6c2a3d(0x2e3)],'windowBits':_0x2837ec}),this[_0x6c2a3d(0x31a)][_0x13066f]=this,this['_inflate'][_0x919c8f]=0x0,this[_0x6c2a3d(0x31a)][_0x420bf8]=[],this[_0x6c2a3d(0x31a)]['on'](_0x6c2a3d(0x247),_0x42e889),this[_0x6c2a3d(0x31a)]['on']('data',_0x31f85a);}this[_0x6c2a3d(0x31a)][_0x5780be]=_0x109f73,this[_0x6c2a3d(0x31a)]['write'](_0x25e209),_0x2a25c0&&this[_0x6c2a3d(0x31a)][_0x6c2a3d(0x275)](_0x3bed37),this['_inflate'][_0x6c2a3d(0x321)](()=>{const _0x48e1c4=_0x6c2a3d,_0xf69d05=this[_0x48e1c4(0x31a)][_0x3290c4];if(_0xf69d05){this[_0x48e1c4(0x31a)][_0x48e1c4(0x1e4)](),this[_0x48e1c4(0x31a)]=null,_0x109f73(_0xf69d05);return;}const _0x9728e7=_0x646d7d[_0x48e1c4(0x335)](this[_0x48e1c4(0x31a)][_0x420bf8],this['_inflate'][_0x919c8f]);this[_0x48e1c4(0x31a)][_0x48e1c4(0x2cd)][_0x48e1c4(0x1db)]?(this[_0x48e1c4(0x31a)][_0x48e1c4(0x1e4)](),this[_0x48e1c4(0x31a)]=null):(this[_0x48e1c4(0x31a)][_0x919c8f]=0x0,this[_0x48e1c4(0x31a)][_0x420bf8]=[],_0x2a25c0&&this[_0x48e1c4(0x2a0)][_0x1f6298+'_no_context_takeover']&&this[_0x48e1c4(0x31a)][_0x48e1c4(0x2ae)]()),_0x109f73(null,_0x9728e7);});}['_compress'](_0x4d111b,_0x31dcc8,_0x730253){const _0x2d55d4=_0x288382,_0x8ad5bb=this[_0x2d55d4(0x307)]?_0x2d55d4(0x2d4):'client';if(!this[_0x2d55d4(0x193)]){const _0xceceb6=_0x8ad5bb+'_max_window_bits',_0x1645e2=typeof this['params'][_0xceceb6]!='number'?_0x471438['Z_DEFAULT_WINDOWBITS']:this[_0x2d55d4(0x2a0)][_0xceceb6];this['_deflate']=_0x471438['createDeflateRaw']({...this[_0x2d55d4(0x1ef)][_0x2d55d4(0x290)],'windowBits':_0x1645e2}),this[_0x2d55d4(0x193)][_0x919c8f]=0x0,this['_deflate'][_0x420bf8]=[],this[_0x2d55d4(0x193)]['on'](_0x2d55d4(0x277),_0x156d5a);}this[_0x2d55d4(0x193)][_0x5780be]=_0x730253,this[_0x2d55d4(0x193)][_0x2d55d4(0x275)](_0x4d111b),this[_0x2d55d4(0x193)][_0x2d55d4(0x321)](_0x471438['Z_SYNC_FLUSH'],()=>{const _0x18fdb6=_0x2d55d4;if(!this[_0x18fdb6(0x193)])return;let _0x17c891=_0x646d7d['concat'](this['_deflate'][_0x420bf8],this[_0x18fdb6(0x193)][_0x919c8f]);_0x31dcc8&&(_0x17c891=new _0x372161(_0x17c891['buffer'],_0x17c891[_0x18fdb6(0x1ab)],_0x17c891[_0x18fdb6(0x212)]-0x4)),this[_0x18fdb6(0x193)][_0x5780be]=null,this[_0x18fdb6(0x193)][_0x919c8f]=0x0,this[_0x18fdb6(0x193)][_0x420bf8]=[],_0x31dcc8&&this[_0x18fdb6(0x2a0)][_0x8ad5bb+_0x18fdb6(0x296)]&&this[_0x18fdb6(0x193)]['reset'](),_0x730253(null,_0x17c891);});}}ve=_0x15f5a9;function _0x156d5a(_0x3ceb98){const _0x53a2bb=_0x288382;this[_0x420bf8][_0x53a2bb(0x2fd)](_0x3ceb98),this[_0x919c8f]+=_0x3ceb98[_0x53a2bb(0x212)];}function _0x31f85a(_0x165fb3){const _0x53f16a=_0x288382;if(this[_0x919c8f]+=_0x165fb3[_0x53f16a(0x212)],this[_0x13066f]['_maxPayload']<0x1||this[_0x919c8f]<=this[_0x13066f][_0x53f16a(0x32a)]){this[_0x420bf8][_0x53f16a(0x2fd)](_0x165fb3);return;}this[_0x3290c4]=new RangeError(_0x53f16a(0x1c3)),this[_0x3290c4][_0x53f16a(0x323)]=_0x53f16a(0x303),this[_0x3290c4][_0x5c3b5f]=0x3f1,this['removeListener'](_0x53f16a(0x277),_0x31f85a),this['reset']();}function _0x42e889(_0x4c034a){const _0x4541f0=_0x288382;if(this[_0x13066f][_0x4541f0(0x31a)]=null,this[_0x3290c4]){this[_0x5780be](this[_0x3290c4]);return;}_0x4c034a[_0x5c3b5f]=0x3ef,this[_0x5780be](_0x4c034a);}return ve;}var re={'exports':{}};const Ht={},zt=Object['freeze'](Object[_0x3930a4(0x2d5)]({'__proto__':null,'default':Ht},Symbol[_0x3930a4(0x248)],{'value':_0x3930a4(0x2e5)})),Yt=ut(zt);var Qe;function ne(){const _0x1e171a=_0x3930a4;if(Qe)return re['exports'];Qe=0x1;const {isUtf8:_0x187543}=_0x246c6c,{hasBlob:_0x5f36f3}=V(),_0x531b78=[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 _0x32e26e(_0x4ed170){return _0x4ed170>=0x3e8&&_0x4ed170<=0x3f6&&_0x4ed170!==0x3ec&&_0x4ed170!==0x3ed&&_0x4ed170!==0x3ee||_0x4ed170>=0xbb8&&_0x4ed170<=0x1387;}function _0x49b2f3(_0x5d1f5b){const _0x5387c1=_0x1e77,_0x569148=_0x5d1f5b[_0x5387c1(0x212)];let _0x20b17c=0x0;for(;_0x20b17c<_0x569148;)if((_0x5d1f5b[_0x20b17c]&0x80)===0x0)_0x20b17c++;else{if((_0x5d1f5b[_0x20b17c]&0xe0)===0xc0){if(_0x20b17c+0x1===_0x569148||(_0x5d1f5b[_0x20b17c+0x1]&0xc0)!==0x80||(_0x5d1f5b[_0x20b17c]&0xfe)===0xc0)return!0x1;_0x20b17c+=0x2;}else{if((_0x5d1f5b[_0x20b17c]&0xf0)===0xe0){if(_0x20b17c+0x2>=_0x569148||(_0x5d1f5b[_0x20b17c+0x1]&0xc0)!==0x80||(_0x5d1f5b[_0x20b17c+0x2]&0xc0)!==0x80||_0x5d1f5b[_0x20b17c]===0xe0&&(_0x5d1f5b[_0x20b17c+0x1]&0xe0)===0x80||_0x5d1f5b[_0x20b17c]===0xed&&(_0x5d1f5b[_0x20b17c+0x1]&0xe0)===0xa0)return!0x1;_0x20b17c+=0x3;}else{if((_0x5d1f5b[_0x20b17c]&0xf8)===0xf0){if(_0x20b17c+0x3>=_0x569148||(_0x5d1f5b[_0x20b17c+0x1]&0xc0)!==0x80||(_0x5d1f5b[_0x20b17c+0x2]&0xc0)!==0x80||(_0x5d1f5b[_0x20b17c+0x3]&0xc0)!==0x80||_0x5d1f5b[_0x20b17c]===0xf0&&(_0x5d1f5b[_0x20b17c+0x1]&0xf0)===0x80||_0x5d1f5b[_0x20b17c]===0xf4&&_0x5d1f5b[_0x20b17c+0x1]>0x8f||_0x5d1f5b[_0x20b17c]>0xf4)return!0x1;_0x20b17c+=0x4;}else return!0x1;}}}return!0x0;}function _0x2812d9(_0x9e88b0){const _0x5ae1e5=_0x1e77;return _0x5f36f3&&typeof _0x9e88b0==_0x5ae1e5(0x1bd)&&typeof _0x9e88b0[_0x5ae1e5(0x1d8)]==_0x5ae1e5(0x2d9)&&typeof _0x9e88b0['type']=='string'&&typeof _0x9e88b0[_0x5ae1e5(0x30b)]==_0x5ae1e5(0x2d9)&&(_0x9e88b0[Symbol[_0x5ae1e5(0x248)]]===_0x5ae1e5(0x339)||_0x9e88b0[Symbol[_0x5ae1e5(0x248)]]==='File');}if(re[_0x1e171a(0x208)]={'isBlob':_0x2812d9,'isValidStatusCode':_0x32e26e,'isValidUTF8':_0x49b2f3,'tokenChars':_0x531b78},_0x187543)re[_0x1e171a(0x208)][_0x1e171a(0x21b)]=function(_0x1c48ca){return _0x1c48ca['length']<0x18?_0x49b2f3(_0x1c48ca):_0x187543(_0x1c48ca);};else{if(!process[_0x1e171a(0x25d)]['WS_NO_UTF_8_VALIDATE'])try{const _0x33d06d=Yt;re[_0x1e171a(0x208)][_0x1e171a(0x21b)]=function(_0x2bc231){const _0x237ae3=_0x1e171a;return _0x2bc231[_0x237ae3(0x212)]<0x20?_0x49b2f3(_0x2bc231):_0x33d06d(_0x2bc231);};}catch{}}return re[_0x1e171a(0x208)];}var Se,Je;function dt(){const _0x3e7aea=_0x3930a4;if(Je)return Se;Je=0x1;const {Writable:_0xe1a863}=_0x393e7e,_0x4d7e11=he(),{BINARY_TYPES:_0x4de1a0,EMPTY_BUFFER:_0x153836,kStatusCode:_0x286943,kWebSocket:_0x42d4c9}=V(),{concat:_0x297831,toArrayBuffer:_0x464a4b,unmask:_0x2e4780}=ce(),{isValidStatusCode:_0x5dfafe,isValidUTF8:_0x1c1fbd}=ne(),_0x5697f1=Buffer[Symbol['species']],_0x540093=0x0,_0x2a0020=0x1,_0x31b06d=0x2,_0x5a1201=0x3,_0x6a0dec=0x4,_0x1f61c6=0x5,_0x2e9e3f=0x6;class _0x6fd7ae extends _0xe1a863{constructor(_0x49f9de={}){const _0x16b442=_0x1e77;super(),this[_0x16b442(0x210)]=_0x49f9de[_0x16b442(0x1d6)]!==void 0x0?_0x49f9de[_0x16b442(0x1d6)]:!0x0,this['_binaryType']=_0x49f9de[_0x16b442(0x259)]||_0x4de1a0[0x0],this[_0x16b442(0x32c)]=_0x49f9de['extensions']||{},this[_0x16b442(0x307)]=!!_0x49f9de['isServer'],this[_0x16b442(0x32a)]=_0x49f9de[_0x16b442(0x1ee)]|0x0,this['_skipUTF8Validation']=!!_0x49f9de['skipUTF8Validation'],this[_0x42d4c9]=void 0x0,this[_0x16b442(0x291)]=0x0,this[_0x16b442(0x202)]=[],this['_compressed']=!0x1,this[_0x16b442(0x32e)]=0x0,this[_0x16b442(0x1ff)]=void 0x0,this[_0x16b442(0x255)]=0x0,this[_0x16b442(0x304)]=!0x1,this['_fin']=!0x1,this[_0x16b442(0x246)]=0x0,this['_totalPayloadLength']=0x0,this['_messageLength']=0x0,this[_0x16b442(0x19b)]=[],this[_0x16b442(0x1f5)]=!0x1,this['_loop']=!0x1,this[_0x16b442(0x190)]=_0x540093;}[_0x3e7aea(0x1b7)](_0x24691f,_0x2b1f0e,_0x33f158){const _0xc638c0=_0x3e7aea;if(this[_0xc638c0(0x246)]===0x8&&this[_0xc638c0(0x190)]==_0x540093)return _0x33f158();this['_bufferedBytes']+=_0x24691f['length'],this[_0xc638c0(0x202)]['push'](_0x24691f),this[_0xc638c0(0x1aa)](_0x33f158);}[_0x3e7aea(0x2ad)](_0xdd7a66){const _0x4b4e7c=_0x3e7aea;if(this['_bufferedBytes']-=_0xdd7a66,_0xdd7a66===this[_0x4b4e7c(0x202)][0x0][_0x4b4e7c(0x212)])return this[_0x4b4e7c(0x202)][_0x4b4e7c(0x31b)]();if(_0xdd7a66<this[_0x4b4e7c(0x202)][0x0][_0x4b4e7c(0x212)]){const _0x498e51=this['_buffers'][0x0];return this[_0x4b4e7c(0x202)][0x0]=new _0x5697f1(_0x498e51[_0x4b4e7c(0x2f4)],_0x498e51[_0x4b4e7c(0x1ab)]+_0xdd7a66,_0x498e51[_0x4b4e7c(0x212)]-_0xdd7a66),new _0x5697f1(_0x498e51[_0x4b4e7c(0x2f4)],_0x498e51[_0x4b4e7c(0x1ab)],_0xdd7a66);}const _0x4f5ee7=Buffer[_0x4b4e7c(0x1c8)](_0xdd7a66);do{const _0x3c482d=this[_0x4b4e7c(0x202)][0x0],_0x121af2=_0x4f5ee7[_0x4b4e7c(0x212)]-_0xdd7a66;_0xdd7a66>=_0x3c482d[_0x4b4e7c(0x212)]?_0x4f5ee7[_0x4b4e7c(0x2d7)](this[_0x4b4e7c(0x202)]['shift'](),_0x121af2):(_0x4f5ee7[_0x4b4e7c(0x2d7)](new Uint8Array(_0x3c482d[_0x4b4e7c(0x2f4)],_0x3c482d[_0x4b4e7c(0x1ab)],_0xdd7a66),_0x121af2),this[_0x4b4e7c(0x202)][0x0]=new _0x5697f1(_0x3c482d[_0x4b4e7c(0x2f4)],_0x3c482d[_0x4b4e7c(0x1ab)]+_0xdd7a66,_0x3c482d[_0x4b4e7c(0x212)]-_0xdd7a66)),_0xdd7a66-=_0x3c482d[_0x4b4e7c(0x212)];}while(_0xdd7a66>0x0);return _0x4f5ee7;}[_0x3e7aea(0x1aa)](_0x5b61fb){const _0x15748f=_0x3e7aea;this['_loop']=!0x0;do switch(this[_0x15748f(0x190)]){case _0x540093:this[_0x15748f(0x2a5)](_0x5b61fb);break;case _0x2a0020:this[_0x15748f(0x2ac)](_0x5b61fb);break;case _0x31b06d:this[_0x15748f(0x23a)](_0x5b61fb);break;case _0x5a1201:this[_0x15748f(0x216)]();break;case _0x6a0dec:this[_0x15748f(0x23d)](_0x5b61fb);break;case _0x1f61c6:case _0x2e9e3f:this['_loop']=!0x1;return;}while(this[_0x15748f(0x2e2)]);this['_errored']||_0x5b61fb();}[_0x3e7aea(0x2a5)](_0x53edad){const _0x406ad9=_0x3e7aea;if(this[_0x406ad9(0x291)]<0x2){this[_0x406ad9(0x2e2)]=!0x1;return;}const _0x55ab71=this['consume'](0x2);if((_0x55ab71[0x0]&0x30)!==0x0){const _0x481aeb=this['createError'](RangeError,_0x406ad9(0x225),!0x0,0x3ea,_0x406ad9(0x1f3));_0x53edad(_0x481aeb);return;}const _0x1fa5a8=(_0x55ab71[0x0]&0x40)===0x40;if(_0x1fa5a8&&!this['_extensions'][_0x4d7e11['extensionName']]){const _0x3f73a2=this[_0x406ad9(0x326)](RangeError,_0x406ad9(0x2f6),!0x0,0x3ea,_0x406ad9(0x24f));_0x53edad(_0x3f73a2);return;}if(this[_0x406ad9(0x2bc)]=(_0x55ab71[0x0]&0x80)===0x80,this[_0x406ad9(0x246)]=_0x55ab71[0x0]&0xf,this[_0x406ad9(0x32e)]=_0x55ab71[0x1]&0x7f,this[_0x406ad9(0x246)]===0x0){if(_0x1fa5a8){const _0x139aff=this[_0x406ad9(0x326)](RangeError,_0x406ad9(0x2f6),!0x0,0x3ea,_0x406ad9(0x24f));_0x53edad(_0x139aff);return;}if(!this[_0x406ad9(0x255)]){const _0x231233=this[_0x406ad9(0x326)](RangeError,'invalid\x20opcode\x200',!0x0,0x3ea,_0x406ad9(0x227));_0x53edad(_0x231233);return;}this[_0x406ad9(0x246)]=this[_0x406ad9(0x255)];}else{if(this[_0x406ad9(0x246)]===0x1||this[_0x406ad9(0x246)]===0x2){if(this['_fragmented']){const _0x3db1f7=this[_0x406ad9(0x326)](RangeError,'invalid\x20opcode\x20'+this['_opcode'],!0x0,0x3ea,_0x406ad9(0x227));_0x53edad(_0x3db1f7);return;}this[_0x406ad9(0x200)]=_0x1fa5a8;}else{if(this[_0x406ad9(0x246)]>0x7&&this[_0x406ad9(0x246)]<0xb){if(!this[_0x406ad9(0x2bc)]){const _0x44f381=this[_0x406ad9(0x326)](RangeError,_0x406ad9(0x26a),!0x0,0x3ea,_0x406ad9(0x1c5));_0x53edad(_0x44f381);return;}if(_0x1fa5a8){const _0x3b42c4=this['createError'](RangeError,_0x406ad9(0x2f6),!0x0,0x3ea,_0x406ad9(0x24f));_0x53edad(_0x3b42c4);return;}if(this[_0x406ad9(0x32e)]>0x7d||this[_0x406ad9(0x246)]===0x8&&this[_0x406ad9(0x32e)]===0x1){const _0x4bc935=this[_0x406ad9(0x326)](RangeError,_0x406ad9(0x29a)+this[_0x406ad9(0x32e)],!0x0,0x3ea,_0x406ad9(0x20e));_0x53edad(_0x4bc935);return;}}else{const _0x15cda4=this[_0x406ad9(0x326)](RangeError,_0x406ad9(0x28b)+this[_0x406ad9(0x246)],!0x0,0x3ea,_0x406ad9(0x227));_0x53edad(_0x15cda4);return;}}}if(!this['_fin']&&!this[_0x406ad9(0x255)]&&(this[_0x406ad9(0x255)]=this[_0x406ad9(0x246)]),this['_masked']=(_0x55ab71[0x1]&0x80)===0x80,this[_0x406ad9(0x307)]){if(!this[_0x406ad9(0x304)]){const _0x732f20=this[_0x406ad9(0x326)](RangeError,_0x406ad9(0x205),!0x0,0x3ea,'WS_ERR_EXPECTED_MASK');_0x53edad(_0x732f20);return;}}else{if(this[_0x406ad9(0x304)]){const _0x1ba49e=this[_0x406ad9(0x326)](RangeError,_0x406ad9(0x289),!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0x53edad(_0x1ba49e);return;}}this['_payloadLength']===0x7e?this[_0x406ad9(0x190)]=_0x2a0020:this['_payloadLength']===0x7f?this['_state']=_0x31b06d:this[_0x406ad9(0x269)](_0x53edad);}[_0x3e7aea(0x2ac)](_0x5c49e0){const _0x45e794=_0x3e7aea;if(this[_0x45e794(0x291)]<0x2){this[_0x45e794(0x2e2)]=!0x1;return;}this[_0x45e794(0x32e)]=this[_0x45e794(0x2ad)](0x2)['readUInt16BE'](0x0),this[_0x45e794(0x269)](_0x5c49e0);}['getPayloadLength64'](_0x49bca3){const _0x1a1755=_0x3e7aea;if(this['_bufferedBytes']<0x8){this[_0x1a1755(0x2e2)]=!0x1;return;}const _0x35f7a9=this['consume'](0x8),_0x2382ab=_0x35f7a9[_0x1a1755(0x2b5)](0x0);if(_0x2382ab>Math[_0x1a1755(0x32b)](0x2,0x15)-0x1){const _0x4eec5d=this['createError'](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,_0x1a1755(0x288));_0x49bca3(_0x4eec5d);return;}this[_0x1a1755(0x32e)]=_0x2382ab*Math[_0x1a1755(0x32b)](0x2,0x20)+_0x35f7a9[_0x1a1755(0x2b5)](0x4),this[_0x1a1755(0x269)](_0x49bca3);}[_0x3e7aea(0x269)](_0x31e6fb){const _0x47affa=_0x3e7aea;if(this[_0x47affa(0x32e)]&&this[_0x47affa(0x246)]<0x8&&(this[_0x47affa(0x1fe)]+=this[_0x47affa(0x32e)],this[_0x47affa(0x1fe)]>this['_maxPayload']&&this[_0x47affa(0x32a)]>0x0)){const _0x30bc83=this['createError'](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x47affa(0x303));_0x31e6fb(_0x30bc83);return;}this[_0x47affa(0x304)]?this['_state']=_0x5a1201:this[_0x47affa(0x190)]=_0x6a0dec;}[_0x3e7aea(0x216)](){const _0x417207=_0x3e7aea;if(this[_0x417207(0x291)]<0x4){this[_0x417207(0x2e2)]=!0x1;return;}this['_mask']=this[_0x417207(0x2ad)](0x4),this[_0x417207(0x190)]=_0x6a0dec;}['getData'](_0x2ba066){const _0x574d0b=_0x3e7aea;let _0x5bc62c=_0x153836;if(this[_0x574d0b(0x32e)]){if(this['_bufferedBytes']<this[_0x574d0b(0x32e)]){this['_loop']=!0x1;return;}_0x5bc62c=this[_0x574d0b(0x2ad)](this[_0x574d0b(0x32e)]),this[_0x574d0b(0x304)]&&(this[_0x574d0b(0x1ff)][0x0]|this[_0x574d0b(0x1ff)][0x1]|this['_mask'][0x2]|this[_0x574d0b(0x1ff)][0x3])!==0x0&&_0x2e4780(_0x5bc62c,this['_mask']);}if(this[_0x574d0b(0x246)]>0x7){this[_0x574d0b(0x242)](_0x5bc62c,_0x2ba066);return;}if(this[_0x574d0b(0x200)]){this[_0x574d0b(0x190)]=_0x1f61c6,this[_0x574d0b(0x28a)](_0x5bc62c,_0x2ba066);return;}_0x5bc62c[_0x574d0b(0x212)]&&(this[_0x574d0b(0x1fa)]=this[_0x574d0b(0x1fe)],this[_0x574d0b(0x19b)][_0x574d0b(0x2fd)](_0x5bc62c)),this['dataMessage'](_0x2ba066);}[_0x3e7aea(0x28a)](_0x2b9e96,_0xcafc7c){const _0x151165=_0x3e7aea;this[_0x151165(0x32c)][_0x4d7e11[_0x151165(0x1b3)]][_0x151165(0x28a)](_0x2b9e96,this[_0x151165(0x2bc)],(_0x1fb30a,_0x5aa294)=>{const _0x2ed1e4=_0x151165;if(_0x1fb30a)return _0xcafc7c(_0x1fb30a);if(_0x5aa294[_0x2ed1e4(0x212)]){if(this[_0x2ed1e4(0x1fa)]+=_0x5aa294[_0x2ed1e4(0x212)],this['_messageLength']>this[_0x2ed1e4(0x32a)]&&this[_0x2ed1e4(0x32a)]>0x0){const _0x2ca107=this['createError'](RangeError,_0x2ed1e4(0x1c3),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0xcafc7c(_0x2ca107);return;}this[_0x2ed1e4(0x19b)][_0x2ed1e4(0x2fd)](_0x5aa294);}this[_0x2ed1e4(0x2dd)](_0xcafc7c),this[_0x2ed1e4(0x190)]===_0x540093&&this[_0x2ed1e4(0x1aa)](_0xcafc7c);});}[_0x3e7aea(0x2dd)](_0x9cd1e7){const _0x1c0cf8=_0x3e7aea;if(!this['_fin']){this[_0x1c0cf8(0x190)]=_0x540093;return;}const _0x3a528f=this['_messageLength'],_0x4265d8=this[_0x1c0cf8(0x19b)];if(this[_0x1c0cf8(0x1fe)]=0x0,this[_0x1c0cf8(0x1fa)]=0x0,this[_0x1c0cf8(0x255)]=0x0,this[_0x1c0cf8(0x19b)]=[],this[_0x1c0cf8(0x246)]===0x2){let _0x65c94f;this[_0x1c0cf8(0x265)]===_0x1c0cf8(0x308)?_0x65c94f=_0x297831(_0x4265d8,_0x3a528f):this[_0x1c0cf8(0x265)]==='arraybuffer'?_0x65c94f=_0x464a4b(_0x297831(_0x4265d8,_0x3a528f)):this[_0x1c0cf8(0x265)]===_0x1c0cf8(0x267)?_0x65c94f=new Blob(_0x4265d8):_0x65c94f=_0x4265d8,this[_0x1c0cf8(0x210)]?(this[_0x1c0cf8(0x298)]('message',_0x65c94f,!0x0),this[_0x1c0cf8(0x190)]=_0x540093):(this['_state']=_0x2e9e3f,setImmediate(()=>{this['emit']('message',_0x65c94f,!0x0),this['_state']=_0x540093,this['startLoop'](_0x9cd1e7);}));}else{const _0x222748=_0x297831(_0x4265d8,_0x3a528f);if(!this[_0x1c0cf8(0x18f)]&&!_0x1c1fbd(_0x222748)){const _0x4cdcc9=this[_0x1c0cf8(0x326)](Error,_0x1c0cf8(0x2d3),!0x0,0x3ef,_0x1c0cf8(0x33b));_0x9cd1e7(_0x4cdcc9);return;}this[_0x1c0cf8(0x190)]===_0x1f61c6||this[_0x1c0cf8(0x210)]?(this[_0x1c0cf8(0x298)](_0x1c0cf8(0x2b3),_0x222748,!0x1),this['_state']=_0x540093):(this['_state']=_0x2e9e3f,setImmediate(()=>{const _0x118219=_0x1c0cf8;this[_0x118219(0x298)]('message',_0x222748,!0x1),this[_0x118219(0x190)]=_0x540093,this['startLoop'](_0x9cd1e7);}));}}[_0x3e7aea(0x242)](_0x2b3313,_0x7a27ef){const _0x1746cc=_0x3e7aea;if(this[_0x1746cc(0x246)]===0x8){if(_0x2b3313[_0x1746cc(0x212)]===0x0)this[_0x1746cc(0x2e2)]=!0x1,this['emit']('conclude',0x3ed,_0x153836),this[_0x1746cc(0x311)]();else{const _0x1383ad=_0x2b3313[_0x1746cc(0x315)](0x0);if(!_0x5dfafe(_0x1383ad)){const _0x34a44a=this[_0x1746cc(0x326)](RangeError,_0x1746cc(0x1a8)+_0x1383ad,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0x7a27ef(_0x34a44a);return;}const _0x23745d=new _0x5697f1(_0x2b3313[_0x1746cc(0x2f4)],_0x2b3313[_0x1746cc(0x1ab)]+0x2,_0x2b3313[_0x1746cc(0x212)]-0x2);if(!this[_0x1746cc(0x18f)]&&!_0x1c1fbd(_0x23745d)){const _0x45637d=this[_0x1746cc(0x326)](Error,_0x1746cc(0x2d3),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x7a27ef(_0x45637d);return;}this['_loop']=!0x1,this[_0x1746cc(0x298)](_0x1746cc(0x206),_0x1383ad,_0x23745d),this[_0x1746cc(0x311)]();}this['_state']=_0x540093;return;}this[_0x1746cc(0x210)]?(this[_0x1746cc(0x298)](this[_0x1746cc(0x246)]===0x9?_0x1746cc(0x2ff):_0x1746cc(0x313),_0x2b3313),this[_0x1746cc(0x190)]=_0x540093):(this['_state']=_0x2e9e3f,setImmediate(()=>{const _0x45eecd=_0x1746cc;this[_0x45eecd(0x298)](this[_0x45eecd(0x246)]===0x9?_0x45eecd(0x2ff):'pong',_0x2b3313),this[_0x45eecd(0x190)]=_0x540093,this['startLoop'](_0x7a27ef);}));}[_0x3e7aea(0x326)](_0x1a3f70,_0xc3b209,_0x3d735c,_0x337cf9,_0x394ca5){const _0xa13966=_0x3e7aea;this[_0xa13966(0x2e2)]=!0x1,this[_0xa13966(0x1f5)]=!0x0;const _0x3d75c5=new _0x1a3f70(_0x3d735c?'Invalid\x20WebSocket\x20frame:\x20'+_0xc3b209:_0xc3b209);return Error[_0xa13966(0x2a3)](_0x3d75c5,this[_0xa13966(0x326)]),_0x3d75c5['code']=_0x394ca5,_0x3d75c5[_0x286943]=_0x337cf9,_0x3d75c5;}}return Se=_0x6fd7ae,Se;}var Ee,et;function _t(){const _0x13c75b=_0x3930a4;if(et)return Ee;et=0x1;const {Duplex:_0x471f38}=_0x393e7e,{randomFillSync:_0x61b7cc}=_0x13c910,_0x5141ad=he(),{EMPTY_BUFFER:_0x5bb83d,kWebSocket:_0x5c09d0,NOOP:_0x43250c}=V(),{isBlob:_0xa5f689,isValidStatusCode:_0x2e8892}=ne(),{mask:_0x49d304,toBuffer:_0x9a1e11}=ce(),_0x3eab26=Symbol('kByteLength'),_0x35fd83=Buffer['alloc'](0x4),_0x3207d3=0x8*0x400;let _0x3f97b9,_0x255434=_0x3207d3;const _0x2c9899=0x0,_0x1f9cfd=0x1,_0x1b0f06=0x2;class _0x25b1d4{constructor(_0x2598ea,_0x5b8bfb,_0x18edb9){const _0x3a389b=_0x1e77;this['_extensions']=_0x5b8bfb||{},_0x18edb9&&(this[_0x3a389b(0x245)]=_0x18edb9,this['_maskBuffer']=Buffer[_0x3a389b(0x252)](0x4)),this[_0x3a389b(0x201)]=_0x2598ea,this[_0x3a389b(0x283)]=!0x0,this[_0x3a389b(0x1be)]=!0x1,this[_0x3a389b(0x291)]=0x0,this[_0x3a389b(0x282)]=[],this['_state']=_0x2c9899,this[_0x3a389b(0x28d)]=_0x43250c,this[_0x5c09d0]=void 0x0;}static['frame'](_0x3fcff3,_0x1bd442){const _0x4f419d=_0x1e77;let _0x6a885c,_0xadb76c=!0x1,_0x3d0be1=0x2,_0x33a8b2=!0x1;_0x1bd442['mask']&&(_0x6a885c=_0x1bd442[_0x4f419d(0x22e)]||_0x35fd83,_0x1bd442['generateMask']?_0x1bd442[_0x4f419d(0x240)](_0x6a885c):(_0x255434===_0x3207d3&&(_0x3f97b9===void 0x0&&(_0x3f97b9=Buffer['alloc'](_0x3207d3)),_0x61b7cc(_0x3f97b9,0x0,_0x3207d3),_0x255434=0x0),_0x6a885c[0x0]=_0x3f97b9[_0x255434++],_0x6a885c[0x1]=_0x3f97b9[_0x255434++],_0x6a885c[0x2]=_0x3f97b9[_0x255434++],_0x6a885c[0x3]=_0x3f97b9[_0x255434++]),_0x33a8b2=(_0x6a885c[0x0]|_0x6a885c[0x1]|_0x6a885c[0x2]|_0x6a885c[0x3])===0x0,_0x3d0be1=0x6);let _0x58e160;typeof _0x3fcff3==_0x4f419d(0x209)?(!_0x1bd442['mask']||_0x33a8b2)&&_0x1bd442[_0x3eab26]!==void 0x0?_0x58e160=_0x1bd442[_0x3eab26]:(_0x3fcff3=Buffer[_0x4f419d(0x1d4)](_0x3fcff3),_0x58e160=_0x3fcff3[_0x4f419d(0x212)]):(_0x58e160=_0x3fcff3[_0x4f419d(0x212)],_0xadb76c=_0x1bd442[_0x4f419d(0x293)]&&_0x1bd442['readOnly']&&!_0x33a8b2);let _0x51c869=_0x58e160;_0x58e160>=0x10000?(_0x3d0be1+=0x8,_0x51c869=0x7f):_0x58e160>0x7d&&(_0x3d0be1+=0x2,_0x51c869=0x7e);const _0x2fc242=Buffer['allocUnsafe'](_0xadb76c?_0x58e160+_0x3d0be1:_0x3d0be1);return _0x2fc242[0x0]=_0x1bd442[_0x4f419d(0x2f0)]?_0x1bd442['opcode']|0x80:_0x1bd442[_0x4f419d(0x281)],_0x1bd442[_0x4f419d(0x2ce)]&&(_0x2fc242[0x0]|=0x40),_0x2fc242[0x1]=_0x51c869,_0x51c869===0x7e?_0x2fc242[_0x4f419d(0x2ba)](_0x58e160,0x2):_0x51c869===0x7f&&(_0x2fc242[0x2]=_0x2fc242[0x3]=0x0,_0x2fc242[_0x4f419d(0x29c)](_0x58e160,0x4,0x6)),_0x1bd442[_0x4f419d(0x293)]?(_0x2fc242[0x1]|=0x80,_0x2fc242[_0x3d0be1-0x4]=_0x6a885c[0x0],_0x2fc242[_0x3d0be1-0x3]=_0x6a885c[0x1],_0x2fc242[_0x3d0be1-0x2]=_0x6a885c[0x2],_0x2fc242[_0x3d0be1-0x1]=_0x6a885c[0x3],_0x33a8b2?[_0x2fc242,_0x3fcff3]:_0xadb76c?(_0x49d304(_0x3fcff3,_0x6a885c,_0x2fc242,_0x3d0be1,_0x58e160),[_0x2fc242]):(_0x49d304(_0x3fcff3,_0x6a885c,_0x3fcff3,0x0,_0x58e160),[_0x2fc242,_0x3fcff3])):[_0x2fc242,_0x3fcff3];}['close'](_0x52c441,_0x229dca,_0x350c10,_0x2a12c9){const _0x1a2478=_0x1e77;let _0x4a63e6;if(_0x52c441===void 0x0)_0x4a63e6=_0x5bb83d;else{if(typeof _0x52c441!=_0x1a2478(0x2aa)||!_0x2e8892(_0x52c441))throw new TypeError('First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number');if(_0x229dca===void 0x0||!_0x229dca[_0x1a2478(0x212)])_0x4a63e6=Buffer[_0x1a2478(0x1c8)](0x2),_0x4a63e6[_0x1a2478(0x2ba)](_0x52c441,0x0);else{const _0x73bf54=Buffer['byteLength'](_0x229dca);if(_0x73bf54>0x7b)throw new RangeError(_0x1a2478(0x2b6));_0x4a63e6=Buffer[_0x1a2478(0x1c8)](0x2+_0x73bf54),_0x4a63e6['writeUInt16BE'](_0x52c441,0x0),typeof _0x229dca==_0x1a2478(0x209)?_0x4a63e6[_0x1a2478(0x275)](_0x229dca,0x2):_0x4a63e6['set'](_0x229dca,0x2);}}const _0x91a356={[_0x3eab26]:_0x4a63e6['length'],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x350c10,'maskBuffer':this[_0x1a2478(0x325)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x1a2478(0x190)]!==_0x2c9899?this[_0x1a2478(0x2b8)]([this[_0x1a2478(0x22c)],_0x4a63e6,!0x1,_0x91a356,_0x2a12c9]):this['sendFrame'](_0x25b1d4[_0x1a2478(0x1e6)](_0x4a63e6,_0x91a356),_0x2a12c9);}['ping'](_0x4e3656,_0x7f42f1,_0x5d4815){const _0x2e5d96=_0x1e77;let _0xb28724,_0x1ee10d;if(typeof _0x4e3656==_0x2e5d96(0x209)?(_0xb28724=Buffer[_0x2e5d96(0x270)](_0x4e3656),_0x1ee10d=!0x1):_0xa5f689(_0x4e3656)?(_0xb28724=_0x4e3656['size'],_0x1ee10d=!0x1):(_0x4e3656=_0x9a1e11(_0x4e3656),_0xb28724=_0x4e3656[_0x2e5d96(0x212)],_0x1ee10d=_0x9a1e11['readOnly']),_0xb28724>0x7d)throw new RangeError(_0x2e5d96(0x217));const _0x1c4ef0={[_0x3eab26]:_0xb28724,'fin':!0x0,'generateMask':this[_0x2e5d96(0x245)],'mask':_0x7f42f1,'maskBuffer':this[_0x2e5d96(0x325)],'opcode':0x9,'readOnly':_0x1ee10d,'rsv1':!0x1};_0xa5f689(_0x4e3656)?this[_0x2e5d96(0x190)]!==_0x2c9899?this[_0x2e5d96(0x2b8)]([this[_0x2e5d96(0x2df)],_0x4e3656,!0x1,_0x1c4ef0,_0x5d4815]):this[_0x2e5d96(0x2df)](_0x4e3656,!0x1,_0x1c4ef0,_0x5d4815):this['_state']!==_0x2c9899?this[_0x2e5d96(0x2b8)]([this[_0x2e5d96(0x22c)],_0x4e3656,!0x1,_0x1c4ef0,_0x5d4815]):this[_0x2e5d96(0x19f)](_0x25b1d4['frame'](_0x4e3656,_0x1c4ef0),_0x5d4815);}[_0x13c75b(0x313)](_0x12bf85,_0xfcccfc,_0x4bede7){const _0xa7c4d7=_0x13c75b;let _0x4f5ef2,_0x1c2c03;if(typeof _0x12bf85==_0xa7c4d7(0x209)?(_0x4f5ef2=Buffer['byteLength'](_0x12bf85),_0x1c2c03=!0x1):_0xa5f689(_0x12bf85)?(_0x4f5ef2=_0x12bf85[_0xa7c4d7(0x294)],_0x1c2c03=!0x1):(_0x12bf85=_0x9a1e11(_0x12bf85),_0x4f5ef2=_0x12bf85[_0xa7c4d7(0x212)],_0x1c2c03=_0x9a1e11[_0xa7c4d7(0x1f2)]),_0x4f5ef2>0x7d)throw new RangeError(_0xa7c4d7(0x217));const _0x18bb2e={[_0x3eab26]:_0x4f5ef2,'fin':!0x0,'generateMask':this[_0xa7c4d7(0x245)],'mask':_0xfcccfc,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x1c2c03,'rsv1':!0x1};_0xa5f689(_0x12bf85)?this[_0xa7c4d7(0x190)]!==_0x2c9899?this[_0xa7c4d7(0x2b8)]([this[_0xa7c4d7(0x2df)],_0x12bf85,!0x1,_0x18bb2e,_0x4bede7]):this[_0xa7c4d7(0x2df)](_0x12bf85,!0x1,_0x18bb2e,_0x4bede7):this[_0xa7c4d7(0x190)]!==_0x2c9899?this[_0xa7c4d7(0x2b8)]([this[_0xa7c4d7(0x22c)],_0x12bf85,!0x1,_0x18bb2e,_0x4bede7]):this[_0xa7c4d7(0x19f)](_0x25b1d4[_0xa7c4d7(0x1e6)](_0x12bf85,_0x18bb2e),_0x4bede7);}[_0x13c75b(0x1d0)](_0xc09e60,_0x3aa113,_0xf3a974){const _0x5deea1=_0x13c75b,_0x3701ba=this[_0x5deea1(0x32c)][_0x5141ad[_0x5deea1(0x1b3)]];let _0x128103=_0x3aa113[_0x5deea1(0x1bf)]?0x2:0x1,_0x24722e=_0x3aa113[_0x5deea1(0x322)],_0x25290f,_0x404a14;typeof _0xc09e60=='string'?(_0x25290f=Buffer[_0x5deea1(0x270)](_0xc09e60),_0x404a14=!0x1):_0xa5f689(_0xc09e60)?(_0x25290f=_0xc09e60['size'],_0x404a14=!0x1):(_0xc09e60=_0x9a1e11(_0xc09e60),_0x25290f=_0xc09e60[_0x5deea1(0x212)],_0x404a14=_0x9a1e11[_0x5deea1(0x1f2)]),this[_0x5deea1(0x283)]?(this[_0x5deea1(0x283)]=!0x1,_0x24722e&&_0x3701ba&&_0x3701ba['params'][_0x3701ba[_0x5deea1(0x307)]?_0x5deea1(0x2d1):_0x5deea1(0x1b9)]&&(_0x24722e=_0x25290f>=_0x3701ba['_threshold']),this[_0x5deea1(0x1be)]=_0x24722e):(_0x24722e=!0x1,_0x128103=0x0),_0x3aa113[_0x5deea1(0x2f0)]&&(this[_0x5deea1(0x283)]=!0x0);const _0x137c82={[_0x3eab26]:_0x25290f,'fin':_0x3aa113[_0x5deea1(0x2f0)],'generateMask':this[_0x5deea1(0x245)],'mask':_0x3aa113[_0x5deea1(0x293)],'maskBuffer':this[_0x5deea1(0x325)],'opcode':_0x128103,'readOnly':_0x404a14,'rsv1':_0x24722e};_0xa5f689(_0xc09e60)?this[_0x5deea1(0x190)]!==_0x2c9899?this[_0x5deea1(0x2b8)]([this[_0x5deea1(0x2df)],_0xc09e60,this['_compress'],_0x137c82,_0xf3a974]):this['getBlobData'](_0xc09e60,this[_0x5deea1(0x1be)],_0x137c82,_0xf3a974):this[_0x5deea1(0x190)]!==_0x2c9899?this[_0x5deea1(0x2b8)]([this[_0x5deea1(0x22c)],_0xc09e60,this[_0x5deea1(0x1be)],_0x137c82,_0xf3a974]):this[_0x5deea1(0x22c)](_0xc09e60,this[_0x5deea1(0x1be)],_0x137c82,_0xf3a974);}[_0x13c75b(0x2df)](_0x530cbd,_0x888460,_0x574317,_0x565c4b){const _0x1de7b2=_0x13c75b;this[_0x1de7b2(0x291)]+=_0x574317[_0x3eab26],this['_state']=_0x1b0f06,_0x530cbd[_0x1de7b2(0x1d8)]()[_0x1de7b2(0x330)](_0x54f1b5=>{const _0x494976=_0x1de7b2;if(this['_socket'][_0x494976(0x327)]){const _0x4f8ad6=new Error(_0x494976(0x2c7));process[_0x494976(0x2de)](_0x91d37a,this,_0x4f8ad6,_0x565c4b);return;}this[_0x494976(0x291)]-=_0x574317[_0x3eab26];const _0x21a159=_0x9a1e11(_0x54f1b5);_0x888460?this[_0x494976(0x22c)](_0x21a159,_0x888460,_0x574317,_0x565c4b):(this[_0x494976(0x190)]=_0x2c9899,this['sendFrame'](_0x25b1d4[_0x494976(0x1e6)](_0x21a159,_0x574317),_0x565c4b),this['dequeue']());})['catch'](_0x5ca0f8=>{const _0x3d03ed=_0x1de7b2;process[_0x3d03ed(0x2de)](_0x362681,this,_0x5ca0f8,_0x565c4b);});}[_0x13c75b(0x22c)](_0x37f20f,_0x5066ac,_0x5d12ae,_0x1c3e59){const _0x248754=_0x13c75b;if(!_0x5066ac){this[_0x248754(0x19f)](_0x25b1d4[_0x248754(0x1e6)](_0x37f20f,_0x5d12ae),_0x1c3e59);return;}const _0x14e633=this[_0x248754(0x32c)][_0x5141ad[_0x248754(0x1b3)]];this['_bufferedBytes']+=_0x5d12ae[_0x3eab26],this[_0x248754(0x190)]=_0x1f9cfd,_0x14e633['compress'](_0x37f20f,_0x5d12ae[_0x248754(0x2f0)],(_0x901464,_0x34fcd4)=>{const _0x566c52=_0x248754;if(this['_socket'][_0x566c52(0x327)]){const _0x364d9f=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x91d37a(this,_0x364d9f,_0x1c3e59);return;}this[_0x566c52(0x291)]-=_0x5d12ae[_0x3eab26],this[_0x566c52(0x190)]=_0x2c9899,_0x5d12ae[_0x566c52(0x1f2)]=!0x1,this[_0x566c52(0x19f)](_0x25b1d4[_0x566c52(0x1e6)](_0x34fcd4,_0x5d12ae),_0x1c3e59),this['dequeue']();});}[_0x13c75b(0x223)](){const _0x1de708=_0x13c75b;for(;this[_0x1de708(0x190)]===_0x2c9899&&this[_0x1de708(0x282)]['length'];){const _0x3db244=this[_0x1de708(0x282)][_0x1de708(0x31b)]();this[_0x1de708(0x291)]-=_0x3db244[0x3][_0x3eab26],Reflect['apply'](_0x3db244[0x0],this,_0x3db244[_0x1de708(0x234)](0x1));}}[_0x13c75b(0x2b8)](_0xb83a04){const _0x4ac80f=_0x13c75b;this['_bufferedBytes']+=_0xb83a04[0x3][_0x3eab26],this[_0x4ac80f(0x282)][_0x4ac80f(0x2fd)](_0xb83a04);}[_0x13c75b(0x19f)](_0x16510d,_0x1c1d83){const _0xa81af8=_0x13c75b;_0x16510d[_0xa81af8(0x212)]===0x2?(this[_0xa81af8(0x201)][_0xa81af8(0x2e7)](),this[_0xa81af8(0x201)][_0xa81af8(0x275)](_0x16510d[0x0]),this[_0xa81af8(0x201)][_0xa81af8(0x275)](_0x16510d[0x1],_0x1c1d83),this[_0xa81af8(0x201)][_0xa81af8(0x18e)]()):this[_0xa81af8(0x201)]['write'](_0x16510d[0x0],_0x1c1d83);}}Ee=_0x25b1d4;function _0x91d37a(_0x3db9c1,_0x5c7749,_0x30128b){const _0x5c844b=_0x13c75b;typeof _0x30128b==_0x5c844b(0x2d9)&&_0x30128b(_0x5c7749);for(let _0x30b384=0x0;_0x30b384<_0x3db9c1[_0x5c844b(0x282)]['length'];_0x30b384++){const _0x1e3bb4=_0x3db9c1[_0x5c844b(0x282)][_0x30b384],_0x74b624=_0x1e3bb4[_0x1e3bb4['length']-0x1];typeof _0x74b624==_0x5c844b(0x2d9)&&_0x74b624(_0x5c7749);}}function _0x362681(_0x394b2b,_0x3a85f0,_0x32086a){const _0x49e54e=_0x13c75b;_0x91d37a(_0x394b2b,_0x3a85f0,_0x32086a),_0x394b2b[_0x49e54e(0x28d)](_0x3a85f0);}return Ee;}var xe,tt;function Kt(){const _0x415201=_0x3930a4;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x42fcc3,kListener:_0x34aa75}=V(),_0x212fbc=Symbol(_0x415201(0x24e)),_0x142cf7=Symbol(_0x415201(0x27b)),_0x2ee162=Symbol(_0x415201(0x1b4)),_0x5cb943=Symbol(_0x415201(0x25e)),_0x32dc79=Symbol(_0x415201(0x1e2)),_0x402f27=Symbol('kTarget'),_0x1ee260=Symbol(_0x415201(0x2af)),_0x34fb7e=Symbol(_0x415201(0x224));class _0x18ceb7{constructor(_0x2f1364){this[_0x402f27]=null,this[_0x1ee260]=_0x2f1364;}get[_0x415201(0x2ab)](){return this[_0x402f27];}get[_0x415201(0x25b)](){return this[_0x1ee260];}}Object[_0x415201(0x2d5)](_0x18ceb7[_0x415201(0x2a4)],'target',{'enumerable':!0x0}),Object['defineProperty'](_0x18ceb7['prototype'],_0x415201(0x25b),{'enumerable':!0x0});class _0x5c6f15 extends _0x18ceb7{constructor(_0x3a74d7,_0x289675={}){const _0x4010c9=_0x415201;super(_0x3a74d7),this[_0x212fbc]=_0x289675['code']===void 0x0?0x0:_0x289675['code'],this[_0x32dc79]=_0x289675[_0x4010c9(0x306)]===void 0x0?'':_0x289675[_0x4010c9(0x306)],this[_0x34fb7e]=_0x289675[_0x4010c9(0x260)]===void 0x0?!0x1:_0x289675['wasClean'];}get[_0x415201(0x323)](){return this[_0x212fbc];}get[_0x415201(0x306)](){return this[_0x32dc79];}get[_0x415201(0x260)](){return this[_0x34fb7e];}}Object['defineProperty'](_0x5c6f15[_0x415201(0x2a4)],_0x415201(0x323),{'enumerable':!0x0}),Object[_0x415201(0x2d5)](_0x5c6f15[_0x415201(0x2a4)],'reason',{'enumerable':!0x0}),Object[_0x415201(0x2d5)](_0x5c6f15[_0x415201(0x2a4)],'wasClean',{'enumerable':!0x0});class _0x3715ce extends _0x18ceb7{constructor(_0x16dc6e,_0x2d17f1={}){const _0x5a8b63=_0x415201;super(_0x16dc6e),this[_0x2ee162]=_0x2d17f1[_0x5a8b63(0x247)]===void 0x0?null:_0x2d17f1['error'],this[_0x5cb943]=_0x2d17f1['message']===void 0x0?'':_0x2d17f1[_0x5a8b63(0x2b3)];}get['error'](){return this[_0x2ee162];}get[_0x415201(0x2b3)](){return this[_0x5cb943];}}Object[_0x415201(0x2d5)](_0x3715ce['prototype'],_0x415201(0x247),{'enumerable':!0x0}),Object[_0x415201(0x2d5)](_0x3715ce[_0x415201(0x2a4)],_0x415201(0x2b3),{'enumerable':!0x0});class _0x240f22 extends _0x18ceb7{constructor(_0x4900b4,_0x50f1a0={}){const _0xaf52a5=_0x415201;super(_0x4900b4),this[_0x142cf7]=_0x50f1a0[_0xaf52a5(0x277)]===void 0x0?null:_0x50f1a0[_0xaf52a5(0x277)];}get['data'](){return this[_0x142cf7];}}Object['defineProperty'](_0x240f22['prototype'],_0x415201(0x277),{'enumerable':!0x0}),xe={'CloseEvent':_0x5c6f15,'ErrorEvent':_0x3715ce,'Event':_0x18ceb7,'EventTarget':{'addEventListener'(_0x2a917b,_0x1616a0,_0x38a896={}){const _0x5c29f6=_0x415201;for(const _0x1b0fac of this[_0x5c29f6(0x203)](_0x2a917b))if(!_0x38a896[_0x42fcc3]&&_0x1b0fac[_0x34aa75]===_0x1616a0&&!_0x1b0fac[_0x42fcc3])return;let _0x40ac12;if(_0x2a917b===_0x5c29f6(0x2b3))_0x40ac12=function(_0x1edc12,_0xc20159){const _0x1c2eb1=_0x5c29f6,_0x3c3656=new _0x240f22('message',{'data':_0xc20159?_0x1edc12:_0x1edc12[_0x1c2eb1(0x239)]()});_0x3c3656[_0x402f27]=this,_0x23689f(_0x1616a0,this,_0x3c3656);};else{if(_0x2a917b==='close')_0x40ac12=function(_0x112b7f,_0x42ee68){const _0x54cae3=_0x5c29f6,_0x1f32fc=new _0x5c6f15(_0x54cae3(0x1e4),{'code':_0x112b7f,'reason':_0x42ee68[_0x54cae3(0x239)](),'wasClean':this[_0x54cae3(0x1fb)]&&this[_0x54cae3(0x31f)]});_0x1f32fc[_0x402f27]=this,_0x23689f(_0x1616a0,this,_0x1f32fc);};else{if(_0x2a917b===_0x5c29f6(0x247))_0x40ac12=function(_0x125fd9){const _0x32ef70=_0x5c29f6,_0x3c9163=new _0x3715ce(_0x32ef70(0x247),{'error':_0x125fd9,'message':_0x125fd9[_0x32ef70(0x2b3)]});_0x3c9163[_0x402f27]=this,_0x23689f(_0x1616a0,this,_0x3c9163);};else{if(_0x2a917b===_0x5c29f6(0x1d9))_0x40ac12=function(){const _0x60ad28=_0x5c29f6,_0x17e6d7=new _0x18ceb7(_0x60ad28(0x1d9));_0x17e6d7[_0x402f27]=this,_0x23689f(_0x1616a0,this,_0x17e6d7);};else return;}}}_0x40ac12[_0x42fcc3]=!!_0x38a896[_0x42fcc3],_0x40ac12[_0x34aa75]=_0x1616a0,_0x38a896[_0x5c29f6(0x20d)]?this[_0x5c29f6(0x20d)](_0x2a917b,_0x40ac12):this['on'](_0x2a917b,_0x40ac12);},'removeEventListener'(_0x3c6a30,_0x15f776){const _0x28c461=_0x415201;for(const _0x43404d of this[_0x28c461(0x203)](_0x3c6a30))if(_0x43404d[_0x34aa75]===_0x15f776&&!_0x43404d[_0x42fcc3]){this['removeListener'](_0x3c6a30,_0x43404d);break;}}},'MessageEvent':_0x240f22};function _0x23689f(_0x4d0230,_0x58a119,_0x1b5abd){const _0x23cb3c=_0x415201;typeof _0x4d0230==_0x23cb3c(0x1bd)&&_0x4d0230[_0x23cb3c(0x231)]?_0x4d0230[_0x23cb3c(0x231)]['call'](_0x4d0230,_0x1b5abd):_0x4d0230[_0x23cb3c(0x244)](_0x58a119,_0x1b5abd);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x38060b}=ne();function _0x35ed5b(_0x31c992,_0x1cc3d2,_0x289ec2){const _0x229412=_0x1e77;_0x31c992[_0x1cc3d2]===void 0x0?_0x31c992[_0x1cc3d2]=[_0x289ec2]:_0x31c992[_0x1cc3d2][_0x229412(0x2fd)](_0x289ec2);}function _0x3c9784(_0x22da01){const _0x1dda19=_0x1e77,_0x3b3c67=Object[_0x1dda19(0x338)](null);let _0x5b7d5b=Object[_0x1dda19(0x338)](null),_0x393d3b=!0x1,_0x42457f=!0x1,_0x370feb=!0x1,_0x5f2dcc,_0x21e222,_0x1134af=-0x1,_0x561795=-0x1,_0x5721d7=-0x1,_0x4e8b3e=0x0;for(;_0x4e8b3e<_0x22da01[_0x1dda19(0x212)];_0x4e8b3e++)if(_0x561795=_0x22da01['charCodeAt'](_0x4e8b3e),_0x5f2dcc===void 0x0){if(_0x5721d7===-0x1&&_0x38060b[_0x561795]===0x1)_0x1134af===-0x1&&(_0x1134af=_0x4e8b3e);else{if(_0x4e8b3e!==0x0&&(_0x561795===0x20||_0x561795===0x9))_0x5721d7===-0x1&&_0x1134af!==-0x1&&(_0x5721d7=_0x4e8b3e);else{if(_0x561795===0x3b||_0x561795===0x2c){if(_0x1134af===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x4e8b3e);_0x5721d7===-0x1&&(_0x5721d7=_0x4e8b3e);const _0x46e741=_0x22da01[_0x1dda19(0x234)](_0x1134af,_0x5721d7);_0x561795===0x2c?(_0x35ed5b(_0x3b3c67,_0x46e741,_0x5b7d5b),_0x5b7d5b=Object[_0x1dda19(0x338)](null)):_0x5f2dcc=_0x46e741,_0x1134af=_0x5721d7=-0x1;}else throw new SyntaxError(_0x1dda19(0x2e1)+_0x4e8b3e);}}}else{if(_0x21e222===void 0x0){if(_0x5721d7===-0x1&&_0x38060b[_0x561795]===0x1)_0x1134af===-0x1&&(_0x1134af=_0x4e8b3e);else{if(_0x561795===0x20||_0x561795===0x9)_0x5721d7===-0x1&&_0x1134af!==-0x1&&(_0x5721d7=_0x4e8b3e);else{if(_0x561795===0x3b||_0x561795===0x2c){if(_0x1134af===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x4e8b3e);_0x5721d7===-0x1&&(_0x5721d7=_0x4e8b3e),_0x35ed5b(_0x5b7d5b,_0x22da01[_0x1dda19(0x234)](_0x1134af,_0x5721d7),!0x0),_0x561795===0x2c&&(_0x35ed5b(_0x3b3c67,_0x5f2dcc,_0x5b7d5b),_0x5b7d5b=Object['create'](null),_0x5f2dcc=void 0x0),_0x1134af=_0x5721d7=-0x1;}else{if(_0x561795===0x3d&&_0x1134af!==-0x1&&_0x5721d7===-0x1)_0x21e222=_0x22da01[_0x1dda19(0x234)](_0x1134af,_0x4e8b3e),_0x1134af=_0x5721d7=-0x1;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x4e8b3e);}}}}else{if(_0x42457f){if(_0x38060b[_0x561795]!==0x1)throw new SyntaxError(_0x1dda19(0x2e1)+_0x4e8b3e);_0x1134af===-0x1?_0x1134af=_0x4e8b3e:_0x393d3b||(_0x393d3b=!0x0),_0x42457f=!0x1;}else{if(_0x370feb){if(_0x38060b[_0x561795]===0x1)_0x1134af===-0x1&&(_0x1134af=_0x4e8b3e);else{if(_0x561795===0x22&&_0x1134af!==-0x1)_0x370feb=!0x1,_0x5721d7=_0x4e8b3e;else{if(_0x561795===0x5c)_0x42457f=!0x0;else throw new SyntaxError(_0x1dda19(0x2e1)+_0x4e8b3e);}}}else{if(_0x561795===0x22&&_0x22da01[_0x1dda19(0x1b0)](_0x4e8b3e-0x1)===0x3d)_0x370feb=!0x0;else{if(_0x5721d7===-0x1&&_0x38060b[_0x561795]===0x1)_0x1134af===-0x1&&(_0x1134af=_0x4e8b3e);else{if(_0x1134af!==-0x1&&(_0x561795===0x20||_0x561795===0x9))_0x5721d7===-0x1&&(_0x5721d7=_0x4e8b3e);else{if(_0x561795===0x3b||_0x561795===0x2c){if(_0x1134af===-0x1)throw new SyntaxError(_0x1dda19(0x2e1)+_0x4e8b3e);_0x5721d7===-0x1&&(_0x5721d7=_0x4e8b3e);let _0x324e9a=_0x22da01[_0x1dda19(0x234)](_0x1134af,_0x5721d7);_0x393d3b&&(_0x324e9a=_0x324e9a[_0x1dda19(0x29d)](/\\/g,''),_0x393d3b=!0x1),_0x35ed5b(_0x5b7d5b,_0x21e222,_0x324e9a),_0x561795===0x2c&&(_0x35ed5b(_0x3b3c67,_0x5f2dcc,_0x5b7d5b),_0x5b7d5b=Object[_0x1dda19(0x338)](null),_0x5f2dcc=void 0x0),_0x21e222=void 0x0,_0x1134af=_0x5721d7=-0x1;}else throw new SyntaxError(_0x1dda19(0x2e1)+_0x4e8b3e);}}}}}}}if(_0x1134af===-0x1||_0x370feb||_0x561795===0x20||_0x561795===0x9)throw new SyntaxError(_0x1dda19(0x1f7));_0x5721d7===-0x1&&(_0x5721d7=_0x4e8b3e);const _0x4efef4=_0x22da01['slice'](_0x1134af,_0x5721d7);return _0x5f2dcc===void 0x0?_0x35ed5b(_0x3b3c67,_0x4efef4,_0x5b7d5b):(_0x21e222===void 0x0?_0x35ed5b(_0x5b7d5b,_0x4efef4,!0x0):_0x393d3b?_0x35ed5b(_0x5b7d5b,_0x21e222,_0x4efef4[_0x1dda19(0x29d)](/\\/g,'')):_0x35ed5b(_0x5b7d5b,_0x21e222,_0x4efef4),_0x35ed5b(_0x3b3c67,_0x5f2dcc,_0x5b7d5b)),_0x3b3c67;}function _0x3b20b4(_0x256a1b){const _0x5cac54=_0x1e77;return Object[_0x5cac54(0x31e)](_0x256a1b)[_0x5cac54(0x21c)](_0x3defdd=>{const _0x22821a=_0x5cac54;let _0x3a6786=_0x256a1b[_0x3defdd];return Array[_0x22821a(0x19a)](_0x3a6786)||(_0x3a6786=[_0x3a6786]),_0x3a6786[_0x22821a(0x21c)](_0x2a3350=>[_0x3defdd][_0x22821a(0x335)](Object['keys'](_0x2a3350)['map'](_0x3c258e=>{const _0x147dbb=_0x22821a;let _0x38a497=_0x2a3350[_0x3c258e];return Array[_0x147dbb(0x19a)](_0x38a497)||(_0x38a497=[_0x38a497]),_0x38a497[_0x147dbb(0x21c)](_0x171901=>_0x171901===!0x0?_0x3c258e:_0x3c258e+'='+_0x171901)[_0x147dbb(0x271)](';\x20');}))[_0x22821a(0x271)](';\x20'))[_0x22821a(0x271)](',\x20');})['join'](',\x20');}return be={'format':_0x3b20b4,'parse':_0x3c9784},be;}var we,st;function Ie(){const _0x3c6b52=_0x3930a4;if(st)return we;st=0x1;const _0x1cd4f2=_0x5daf3f,_0x27b3b0=_0x1f2be5,_0x8e9a9d=_0x39281d,_0x478601=_0x3a2a0b,_0x504d33=_0x35ccd6,{randomBytes:_0x2a4efc,createHash:_0x256a1e}=_0x13c910,{Duplex:_0x4b389e,Readable:_0x435bd9}=_0x393e7e,{URL:_0x3edcab}=_0x42cd08,_0x112a25=he(),_0x4ee29a=dt(),_0x215381=_t(),{isBlob:_0x4d463b}=ne(),{BINARY_TYPES:_0x119a49,EMPTY_BUFFER:_0x2e40ea,GUID:_0x199a83,kForOnEventAttribute:_0x2ddc85,kListener:_0x1e2490,kStatusCode:_0x474e7a,kWebSocket:_0x57785d,NOOP:_0x719063}=V(),{EventTarget:{addEventListener:_0x16f9c7,removeEventListener:_0x34a11d}}=Kt(),{format:_0x5897c2,parse:_0x45be53}=pt(),{toBuffer:_0x809b11}=ce(),_0x45e2fe=0x1e*0x3e8,_0xe47214=Symbol('kAborted'),_0x39d0a8=[0x8,0xd],_0x573764=['CONNECTING',_0x3c6b52(0x264),_0x3c6b52(0x1e9),_0x3c6b52(0x28f)],_0x2f466f=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x4e6a91 extends _0x1cd4f2{constructor(_0x3f644d,_0xdbc93e,_0x41cde4){const _0x44ad4c=_0x3c6b52;super(),this['_binaryType']=_0x119a49[0x0],this[_0x44ad4c(0x1f6)]=0x3ee,this[_0x44ad4c(0x1fb)]=!0x1,this[_0x44ad4c(0x31f)]=!0x1,this['_closeMessage']=_0x2e40ea,this[_0x44ad4c(0x1c4)]=null,this[_0x44ad4c(0x2c3)]=!0x1,this[_0x44ad4c(0x32c)]={},this[_0x44ad4c(0x2b1)]=!0x1,this[_0x44ad4c(0x1a6)]='',this[_0x44ad4c(0x2da)]=_0x4e6a91[_0x44ad4c(0x2ee)],this[_0x44ad4c(0x2f2)]=null,this[_0x44ad4c(0x32d)]=null,this[_0x44ad4c(0x201)]=null,_0x3f644d!==null?(this[_0x44ad4c(0x2dc)]=0x0,this['_isServer']=!0x1,this['_redirects']=0x0,_0xdbc93e===void 0x0?_0xdbc93e=[]:Array[_0x44ad4c(0x19a)](_0xdbc93e)||(typeof _0xdbc93e==_0x44ad4c(0x1bd)&&_0xdbc93e!==null?(_0x41cde4=_0xdbc93e,_0xdbc93e=[]):_0xdbc93e=[_0xdbc93e]),_0x3564fd(this,_0x3f644d,_0xdbc93e,_0x41cde4)):(this[_0x44ad4c(0x22d)]=_0x41cde4[_0x44ad4c(0x1da)],this[_0x44ad4c(0x307)]=!0x0);}get[_0x3c6b52(0x259)](){const _0x57b2e6=_0x3c6b52;return this[_0x57b2e6(0x265)];}set[_0x3c6b52(0x259)](_0x3c90ba){const _0x19bb22=_0x3c6b52;_0x119a49['includes'](_0x3c90ba)&&(this[_0x19bb22(0x265)]=_0x3c90ba,this[_0x19bb22(0x2f2)]&&(this[_0x19bb22(0x2f2)][_0x19bb22(0x265)]=_0x3c90ba));}get['bufferedAmount'](){const _0xd7539e=_0x3c6b52;return this[_0xd7539e(0x201)]?this[_0xd7539e(0x201)][_0xd7539e(0x336)]['length']+this[_0xd7539e(0x32d)][_0xd7539e(0x291)]:this['_bufferedAmount'];}get[_0x3c6b52(0x1b6)](){const _0x5becde=_0x3c6b52;return Object[_0x5becde(0x31e)](this['_extensions'])[_0x5becde(0x271)]();}get['isPaused'](){const _0x1701d9=_0x3c6b52;return this[_0x1701d9(0x2b1)];}get[_0x3c6b52(0x302)](){return null;}get[_0x3c6b52(0x28d)](){return null;}get[_0x3c6b52(0x268)](){return null;}get[_0x3c6b52(0x19c)](){return null;}get[_0x3c6b52(0x2fe)](){const _0x4a0d3c=_0x3c6b52;return this[_0x4a0d3c(0x1a6)];}get[_0x3c6b52(0x197)](){const _0x57e443=_0x3c6b52;return this[_0x57e443(0x2da)];}get[_0x3c6b52(0x253)](){const _0x31f45a=_0x3c6b52;return this[_0x31f45a(0x21f)];}[_0x3c6b52(0x274)](_0x12e8ab,_0x702c3b,_0x11b6bf){const _0x4509de=_0x3c6b52,_0x25ee8c=new _0x4ee29a({'allowSynchronousEvents':_0x11b6bf[_0x4509de(0x1d6)],'binaryType':this['binaryType'],'extensions':this[_0x4509de(0x32c)],'isServer':this[_0x4509de(0x307)],'maxPayload':_0x11b6bf[_0x4509de(0x1ee)],'skipUTF8Validation':_0x11b6bf['skipUTF8Validation']}),_0x2e752e=new _0x215381(_0x12e8ab,this['_extensions'],_0x11b6bf[_0x4509de(0x240)]);this[_0x4509de(0x2f2)]=_0x25ee8c,this[_0x4509de(0x32d)]=_0x2e752e,this[_0x4509de(0x201)]=_0x12e8ab,_0x25ee8c[_0x57785d]=this,_0x2e752e[_0x57785d]=this,_0x12e8ab[_0x57785d]=this,_0x25ee8c['on'](_0x4509de(0x206),_0x251686),_0x25ee8c['on']('drain',_0x45b665),_0x25ee8c['on'](_0x4509de(0x247),_0x5f16a3),_0x25ee8c['on'](_0x4509de(0x2b3),_0x1b9db8),_0x25ee8c['on'](_0x4509de(0x2ff),_0x14cb5a),_0x25ee8c['on'](_0x4509de(0x313),_0x3b8d56),_0x2e752e['onerror']=_0xb7c38a,_0x12e8ab[_0x4509de(0x243)]&&_0x12e8ab[_0x4509de(0x243)](0x0),_0x12e8ab[_0x4509de(0x280)]&&_0x12e8ab[_0x4509de(0x280)](),_0x702c3b['length']>0x0&&_0x12e8ab['unshift'](_0x702c3b),_0x12e8ab['on'](_0x4509de(0x1e4),_0x3b45b1),_0x12e8ab['on'](_0x4509de(0x277),_0x424cf6),_0x12e8ab['on'](_0x4509de(0x311),_0x3393fe),_0x12e8ab['on'](_0x4509de(0x247),_0x433f98),this[_0x4509de(0x2da)]=_0x4e6a91['OPEN'],this['emit'](_0x4509de(0x1d9));}[_0x3c6b52(0x278)](){const _0xbd6798=_0x3c6b52;if(!this[_0xbd6798(0x201)]){this[_0xbd6798(0x2da)]=_0x4e6a91[_0xbd6798(0x28f)],this[_0xbd6798(0x298)]('close',this['_closeCode'],this[_0xbd6798(0x207)]);return;}this[_0xbd6798(0x32c)][_0x112a25[_0xbd6798(0x1b3)]]&&this[_0xbd6798(0x32c)][_0x112a25[_0xbd6798(0x1b3)]]['cleanup'](),this[_0xbd6798(0x2f2)][_0xbd6798(0x2be)](),this[_0xbd6798(0x2da)]=_0x4e6a91[_0xbd6798(0x28f)],this[_0xbd6798(0x298)](_0xbd6798(0x1e4),this[_0xbd6798(0x1f6)],this[_0xbd6798(0x207)]);}['close'](_0x1075a9,_0x49b918){const _0xcdc120=_0x3c6b52;if(this[_0xcdc120(0x197)]!==_0x4e6a91[_0xcdc120(0x28f)]){if(this[_0xcdc120(0x197)]===_0x4e6a91['CONNECTING']){_0xa91e3e(this,this[_0xcdc120(0x1d3)],_0xcdc120(0x1c1));return;}if(this['readyState']===_0x4e6a91['CLOSING']){this[_0xcdc120(0x31f)]&&(this[_0xcdc120(0x1fb)]||this['_receiver'][_0xcdc120(0x336)][_0xcdc120(0x1fd)])&&this['_socket']['end']();return;}this[_0xcdc120(0x2da)]=_0x4e6a91['CLOSING'],this['_sender'][_0xcdc120(0x1e4)](_0x1075a9,_0x49b918,!this[_0xcdc120(0x307)],_0x270713=>{const _0xed7ae7=_0xcdc120;_0x270713||(this['_closeFrameSent']=!0x0,(this[_0xed7ae7(0x1fb)]||this[_0xed7ae7(0x2f2)][_0xed7ae7(0x336)]['errorEmitted'])&&this['_socket'][_0xed7ae7(0x311)]());}),_0x3754db(this);}}['pause'](){const _0x3082f6=_0x3c6b52;this[_0x3082f6(0x197)]===_0x4e6a91['CONNECTING']||this[_0x3082f6(0x197)]===_0x4e6a91[_0x3082f6(0x28f)]||(this['_paused']=!0x0,this['_socket'][_0x3082f6(0x25a)]());}[_0x3c6b52(0x2ff)](_0xc36c01,_0x273e47,_0x21b007){const _0x12a37e=_0x3c6b52;if(this['readyState']===_0x4e6a91[_0x12a37e(0x2ee)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0xc36c01==_0x12a37e(0x2d9)?(_0x21b007=_0xc36c01,_0xc36c01=_0x273e47=void 0x0):typeof _0x273e47==_0x12a37e(0x2d9)&&(_0x21b007=_0x273e47,_0x273e47=void 0x0),typeof _0xc36c01==_0x12a37e(0x2aa)&&(_0xc36c01=_0xc36c01[_0x12a37e(0x239)]()),this[_0x12a37e(0x197)]!==_0x4e6a91[_0x12a37e(0x264)]){_0x57fb65(this,_0xc36c01,_0x21b007);return;}_0x273e47===void 0x0&&(_0x273e47=!this['_isServer']),this[_0x12a37e(0x32d)][_0x12a37e(0x2ff)](_0xc36c01||_0x2e40ea,_0x273e47,_0x21b007);}['pong'](_0x20b42a,_0x422d63,_0x5094fd){const _0x28878d=_0x3c6b52;if(this[_0x28878d(0x197)]===_0x4e6a91[_0x28878d(0x2ee)])throw new Error(_0x28878d(0x320));if(typeof _0x20b42a=='function'?(_0x5094fd=_0x20b42a,_0x20b42a=_0x422d63=void 0x0):typeof _0x422d63=='function'&&(_0x5094fd=_0x422d63,_0x422d63=void 0x0),typeof _0x20b42a=='number'&&(_0x20b42a=_0x20b42a['toString']()),this[_0x28878d(0x197)]!==_0x4e6a91[_0x28878d(0x264)]){_0x57fb65(this,_0x20b42a,_0x5094fd);return;}_0x422d63===void 0x0&&(_0x422d63=!this[_0x28878d(0x307)]),this[_0x28878d(0x32d)][_0x28878d(0x313)](_0x20b42a||_0x2e40ea,_0x422d63,_0x5094fd);}[_0x3c6b52(0x33a)](){const _0x4de341=_0x3c6b52;this[_0x4de341(0x197)]===_0x4e6a91['CONNECTING']||this[_0x4de341(0x197)]===_0x4e6a91['CLOSED']||(this[_0x4de341(0x2b1)]=!0x1,this[_0x4de341(0x2f2)]['_writableState']['needDrain']||this[_0x4de341(0x201)][_0x4de341(0x33a)]());}[_0x3c6b52(0x1d0)](_0x3246f1,_0x5dd094,_0x33ff01){const _0x575618=_0x3c6b52;if(this['readyState']===_0x4e6a91['CONNECTING'])throw new Error(_0x575618(0x320));if(typeof _0x5dd094==_0x575618(0x2d9)&&(_0x33ff01=_0x5dd094,_0x5dd094={}),typeof _0x3246f1=='number'&&(_0x3246f1=_0x3246f1[_0x575618(0x239)]()),this[_0x575618(0x197)]!==_0x4e6a91['OPEN']){_0x57fb65(this,_0x3246f1,_0x33ff01);return;}const _0x6ec2dc={'binary':typeof _0x3246f1!=_0x575618(0x209),'mask':!this[_0x575618(0x307)],'compress':!0x0,'fin':!0x0,..._0x5dd094};this[_0x575618(0x32c)][_0x112a25['extensionName']]||(_0x6ec2dc[_0x575618(0x322)]=!0x1),this[_0x575618(0x32d)][_0x575618(0x1d0)](_0x3246f1||_0x2e40ea,_0x6ec2dc,_0x33ff01);}['terminate'](){const _0x573f42=_0x3c6b52;if(this['readyState']!==_0x4e6a91[_0x573f42(0x28f)]){if(this[_0x573f42(0x197)]===_0x4e6a91[_0x573f42(0x2ee)]){_0xa91e3e(this,this[_0x573f42(0x1d3)],_0x573f42(0x1c1));return;}this['_socket']&&(this['_readyState']=_0x4e6a91[_0x573f42(0x1e9)],this[_0x573f42(0x201)][_0x573f42(0x331)]());}}}Object['defineProperty'](_0x4e6a91,_0x3c6b52(0x2ee),{'enumerable':!0x0,'value':_0x573764[_0x3c6b52(0x2c2)](_0x3c6b52(0x2ee))}),Object[_0x3c6b52(0x2d5)](_0x4e6a91[_0x3c6b52(0x2a4)],_0x3c6b52(0x2ee),{'enumerable':!0x0,'value':_0x573764[_0x3c6b52(0x2c2)](_0x3c6b52(0x2ee))}),Object[_0x3c6b52(0x2d5)](_0x4e6a91,_0x3c6b52(0x264),{'enumerable':!0x0,'value':_0x573764[_0x3c6b52(0x2c2)]('OPEN')}),Object['defineProperty'](_0x4e6a91[_0x3c6b52(0x2a4)],_0x3c6b52(0x264),{'enumerable':!0x0,'value':_0x573764[_0x3c6b52(0x2c2)](_0x3c6b52(0x264))}),Object[_0x3c6b52(0x2d5)](_0x4e6a91,_0x3c6b52(0x1e9),{'enumerable':!0x0,'value':_0x573764[_0x3c6b52(0x2c2)](_0x3c6b52(0x1e9))}),Object[_0x3c6b52(0x2d5)](_0x4e6a91[_0x3c6b52(0x2a4)],_0x3c6b52(0x1e9),{'enumerable':!0x0,'value':_0x573764[_0x3c6b52(0x2c2)](_0x3c6b52(0x1e9))}),Object[_0x3c6b52(0x2d5)](_0x4e6a91,_0x3c6b52(0x28f),{'enumerable':!0x0,'value':_0x573764[_0x3c6b52(0x2c2)]('CLOSED')}),Object[_0x3c6b52(0x2d5)](_0x4e6a91[_0x3c6b52(0x2a4)],_0x3c6b52(0x28f),{'enumerable':!0x0,'value':_0x573764[_0x3c6b52(0x2c2)](_0x3c6b52(0x28f))}),['binaryType','bufferedAmount',_0x3c6b52(0x1b6),_0x3c6b52(0x21e),_0x3c6b52(0x2fe),'readyState',_0x3c6b52(0x253)][_0x3c6b52(0x2b9)](_0x5ef67e=>{const _0x27bbe4=_0x3c6b52;Object[_0x27bbe4(0x2d5)](_0x4e6a91[_0x27bbe4(0x2a4)],_0x5ef67e,{'enumerable':!0x0});}),['open','error','close','message']['forEach'](_0x4f02e3=>{const _0x38e2db=_0x3c6b52;Object[_0x38e2db(0x2d5)](_0x4e6a91[_0x38e2db(0x2a4)],'on'+_0x4f02e3,{'enumerable':!0x0,'get'(){const _0x5c1309=_0x38e2db;for(const _0x286438 of this[_0x5c1309(0x203)](_0x4f02e3))if(_0x286438[_0x2ddc85])return _0x286438[_0x1e2490];return null;},'set'(_0x396d28){const _0x34f205=_0x38e2db;for(const _0x295941 of this[_0x34f205(0x203)](_0x4f02e3))if(_0x295941[_0x2ddc85]){this[_0x34f205(0x2ca)](_0x4f02e3,_0x295941);break;}typeof _0x396d28=='function'&&this[_0x34f205(0x2f7)](_0x4f02e3,_0x396d28,{[_0x2ddc85]:!0x0});}});}),_0x4e6a91['prototype'][_0x3c6b52(0x2f7)]=_0x16f9c7,_0x4e6a91[_0x3c6b52(0x2a4)]['removeEventListener']=_0x34a11d,we=_0x4e6a91;function _0x3564fd(_0x5e65d5,_0x5182ed,_0x484c60,_0x341450){const _0x29f12e=_0x3c6b52,_0x3f2ce7={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x39d0a8[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x341450,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x29f12e(0x2ec),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x5e65d5['_autoPong']=_0x3f2ce7[_0x29f12e(0x1da)],!_0x39d0a8[_0x29f12e(0x1bb)](_0x3f2ce7[_0x29f12e(0x2ed)]))throw new RangeError(_0x29f12e(0x2a9)+_0x3f2ce7[_0x29f12e(0x2ed)]+_0x29f12e(0x316)+_0x39d0a8[_0x29f12e(0x271)](',\x20')+')');let _0x375264;if(_0x5182ed instanceof _0x3edcab)_0x375264=_0x5182ed;else try{_0x375264=new _0x3edcab(_0x5182ed);}catch{throw new SyntaxError('Invalid\x20URL:\x20'+_0x5182ed);}_0x375264[_0x29f12e(0x2fe)]==='http:'?_0x375264[_0x29f12e(0x2fe)]='ws:':_0x375264[_0x29f12e(0x2fe)]===_0x29f12e(0x20b)&&(_0x375264[_0x29f12e(0x2fe)]=_0x29f12e(0x309)),_0x5e65d5[_0x29f12e(0x21f)]=_0x375264[_0x29f12e(0x333)];const _0x1487e1=_0x375264[_0x29f12e(0x2fe)]===_0x29f12e(0x309),_0x321b0e=_0x375264[_0x29f12e(0x2fe)]==='ws+unix:';let _0x32f862;if(_0x375264[_0x29f12e(0x2fe)]!==_0x29f12e(0x1c9)&&!_0x1487e1&&!_0x321b0e?_0x32f862=_0x29f12e(0x257):_0x321b0e&&!_0x375264[_0x29f12e(0x1dc)]?_0x32f862=_0x29f12e(0x2cb):_0x375264[_0x29f12e(0x1f0)]&&(_0x32f862=_0x29f12e(0x29f)),_0x32f862){const _0x51f1bd=new SyntaxError(_0x32f862);if(_0x5e65d5[_0x29f12e(0x30a)]===0x0)throw _0x51f1bd;_0x1641cc(_0x5e65d5,_0x51f1bd);return;}const _0x4f8435=_0x1487e1?0x1bb:0x50,_0x505e2a=_0x2a4efc(0x10)[_0x29f12e(0x239)]('base64'),_0x3a6370=_0x1487e1?_0x27b3b0[_0x29f12e(0x26e)]:_0x8e9a9d[_0x29f12e(0x26e)],_0x9ec2e7=new Set();let _0x12eab0;if(_0x3f2ce7[_0x29f12e(0x2a2)]=_0x3f2ce7[_0x29f12e(0x2a2)]||(_0x1487e1?_0x28dca0:_0x291da3),_0x3f2ce7[_0x29f12e(0x2b4)]=_0x3f2ce7[_0x29f12e(0x2b4)]||_0x4f8435,_0x3f2ce7['port']=_0x375264[_0x29f12e(0x332)]||_0x4f8435,_0x3f2ce7[_0x29f12e(0x194)]=_0x375264[_0x29f12e(0x1f9)][_0x29f12e(0x237)]('[')?_0x375264[_0x29f12e(0x1f9)][_0x29f12e(0x234)](0x1,-0x1):_0x375264['hostname'],_0x3f2ce7[_0x29f12e(0x218)]={..._0x3f2ce7['headers'],'Sec-WebSocket-Version':_0x3f2ce7[_0x29f12e(0x2ed)],'Sec-WebSocket-Key':_0x505e2a,'Connection':_0x29f12e(0x1dd),'Upgrade':_0x29f12e(0x238)},_0x3f2ce7[_0x29f12e(0x266)]=_0x375264[_0x29f12e(0x1dc)]+_0x375264[_0x29f12e(0x28c)],_0x3f2ce7[_0x29f12e(0x2bd)]=_0x3f2ce7[_0x29f12e(0x2ea)],_0x3f2ce7[_0x29f12e(0x1cc)]&&(_0x12eab0=new _0x112a25(_0x3f2ce7[_0x29f12e(0x1cc)]!==!0x0?_0x3f2ce7[_0x29f12e(0x1cc)]:{},!0x1,_0x3f2ce7[_0x29f12e(0x1ee)]),_0x3f2ce7[_0x29f12e(0x218)]['Sec-WebSocket-Extensions']=_0x5897c2({[_0x112a25[_0x29f12e(0x1b3)]]:_0x12eab0[_0x29f12e(0x254)]()})),_0x484c60['length']){for(const _0x1ddb8d of _0x484c60){if(typeof _0x1ddb8d!=_0x29f12e(0x209)||!_0x2f466f['test'](_0x1ddb8d)||_0x9ec2e7[_0x29f12e(0x1e8)](_0x1ddb8d))throw new SyntaxError(_0x29f12e(0x2eb));_0x9ec2e7[_0x29f12e(0x1b8)](_0x1ddb8d);}_0x3f2ce7[_0x29f12e(0x218)][_0x29f12e(0x1df)]=_0x484c60[_0x29f12e(0x271)](',');}if(_0x3f2ce7[_0x29f12e(0x23e)]&&(_0x3f2ce7['protocolVersion']<0xd?_0x3f2ce7['headers'][_0x29f12e(0x198)]=_0x3f2ce7[_0x29f12e(0x23e)]:_0x3f2ce7['headers']['Origin']=_0x3f2ce7[_0x29f12e(0x23e)]),(_0x375264['username']||_0x375264['password'])&&(_0x3f2ce7[_0x29f12e(0x286)]=_0x375264[_0x29f12e(0x23b)]+':'+_0x375264['password']),_0x321b0e){const _0x2229d6=_0x3f2ce7[_0x29f12e(0x266)]['split'](':');_0x3f2ce7[_0x29f12e(0x1b1)]=_0x2229d6[0x0],_0x3f2ce7[_0x29f12e(0x266)]=_0x2229d6[0x1];}let _0x29ca1e;if(_0x3f2ce7[_0x29f12e(0x2bb)]){if(_0x5e65d5[_0x29f12e(0x30a)]===0x0){_0x5e65d5[_0x29f12e(0x1a4)]=_0x321b0e,_0x5e65d5[_0x29f12e(0x2e9)]=_0x1487e1,_0x5e65d5[_0x29f12e(0x314)]=_0x321b0e?_0x3f2ce7['socketPath']:_0x375264[_0x29f12e(0x194)];const _0x5c787c=_0x341450&&_0x341450[_0x29f12e(0x218)];if(_0x341450={..._0x341450,'headers':{}},_0x5c787c){for(const [_0x288f2a,_0x20070c]of Object[_0x29f12e(0x300)](_0x5c787c))_0x341450[_0x29f12e(0x218)][_0x288f2a[_0x29f12e(0x329)]()]=_0x20070c;}}else{if(_0x5e65d5['listenerCount'](_0x29f12e(0x301))===0x0){const _0x802a94=_0x321b0e?_0x5e65d5[_0x29f12e(0x1a4)]?_0x3f2ce7[_0x29f12e(0x1b1)]===_0x5e65d5[_0x29f12e(0x314)]:!0x1:_0x5e65d5[_0x29f12e(0x1a4)]?!0x1:_0x375264[_0x29f12e(0x194)]===_0x5e65d5[_0x29f12e(0x314)];(!_0x802a94||_0x5e65d5[_0x29f12e(0x2e9)]&&!_0x1487e1)&&(delete _0x3f2ce7['headers'][_0x29f12e(0x1d5)],delete _0x3f2ce7['headers'][_0x29f12e(0x334)],_0x802a94||delete _0x3f2ce7[_0x29f12e(0x218)][_0x29f12e(0x194)],_0x3f2ce7[_0x29f12e(0x286)]=void 0x0);}}_0x3f2ce7[_0x29f12e(0x286)]&&!_0x341450[_0x29f12e(0x218)][_0x29f12e(0x1d5)]&&(_0x341450[_0x29f12e(0x218)][_0x29f12e(0x1d5)]=_0x29f12e(0x196)+Buffer[_0x29f12e(0x1d4)](_0x3f2ce7[_0x29f12e(0x286)])[_0x29f12e(0x239)](_0x29f12e(0x1ac))),_0x29ca1e=_0x5e65d5['_req']=_0x3a6370(_0x3f2ce7),_0x5e65d5[_0x29f12e(0x30a)]&&_0x5e65d5[_0x29f12e(0x298)](_0x29f12e(0x301),_0x5e65d5[_0x29f12e(0x253)],_0x29ca1e);}else _0x29ca1e=_0x5e65d5['_req']=_0x3a6370(_0x3f2ce7);_0x3f2ce7[_0x29f12e(0x2bd)]&&_0x29ca1e['on'](_0x29f12e(0x2bd),()=>{const _0x1ab72c=_0x29f12e;_0xa91e3e(_0x5e65d5,_0x29ca1e,_0x1ab72c(0x27c));}),_0x29ca1e['on'](_0x29f12e(0x247),_0x1ebdbd=>{_0x29ca1e===null||_0x29ca1e[_0xe47214]||(_0x29ca1e=_0x5e65d5['_req']=null,_0x1641cc(_0x5e65d5,_0x1ebdbd));}),_0x29ca1e['on'](_0x29f12e(0x30c),_0x295fd8=>{const _0x5b4c1a=_0x29f12e,_0x4174cb=_0x295fd8[_0x5b4c1a(0x218)]['location'],_0x80dc05=_0x295fd8[_0x5b4c1a(0x261)];if(_0x4174cb&&_0x3f2ce7[_0x5b4c1a(0x2bb)]&&_0x80dc05>=0x12c&&_0x80dc05<0x190){if(++_0x5e65d5['_redirects']>_0x3f2ce7['maxRedirects']){_0xa91e3e(_0x5e65d5,_0x29ca1e,_0x5b4c1a(0x1a0));return;}_0x29ca1e[_0x5b4c1a(0x199)]();let _0x40b519;try{_0x40b519=new _0x3edcab(_0x4174cb,_0x5182ed);}catch{const _0x32f012=new SyntaxError(_0x5b4c1a(0x1d7)+_0x4174cb);_0x1641cc(_0x5e65d5,_0x32f012);return;}_0x3564fd(_0x5e65d5,_0x40b519,_0x484c60,_0x341450);}else _0x5e65d5[_0x5b4c1a(0x298)](_0x5b4c1a(0x295),_0x29ca1e,_0x295fd8)||_0xa91e3e(_0x5e65d5,_0x29ca1e,'Unexpected\x20server\x20response:\x20'+_0x295fd8['statusCode']);}),_0x29ca1e['on'](_0x29f12e(0x2fc),(_0xe6cdde,_0x23be15,_0x383a3e)=>{const _0x28db41=_0x29f12e;if(_0x5e65d5[_0x28db41(0x298)](_0x28db41(0x2fc),_0xe6cdde),_0x5e65d5[_0x28db41(0x197)]!==_0x4e6a91[_0x28db41(0x2ee)])return;_0x29ca1e=_0x5e65d5['_req']=null;const _0x4dcf35=_0xe6cdde[_0x28db41(0x218)][_0x28db41(0x2fc)];if(_0x4dcf35===void 0x0||_0x4dcf35['toLowerCase']()!==_0x28db41(0x238)){_0xa91e3e(_0x5e65d5,_0x23be15,'Invalid\x20Upgrade\x20header');return;}const _0x442e2e=_0x256a1e(_0x28db41(0x1a1))[_0x28db41(0x215)](_0x505e2a+_0x199a83)[_0x28db41(0x2d0)]('base64');if(_0xe6cdde[_0x28db41(0x218)]['sec-websocket-accept']!==_0x442e2e){_0xa91e3e(_0x5e65d5,_0x23be15,_0x28db41(0x285));return;}const _0x1f614b=_0xe6cdde[_0x28db41(0x218)][_0x28db41(0x1b2)];let _0x121c81;if(_0x1f614b!==void 0x0?_0x9ec2e7[_0x28db41(0x294)]?_0x9ec2e7['has'](_0x1f614b)||(_0x121c81=_0x28db41(0x1d2)):_0x121c81=_0x28db41(0x1e3):_0x9ec2e7['size']&&(_0x121c81=_0x28db41(0x211)),_0x121c81){_0xa91e3e(_0x5e65d5,_0x23be15,_0x121c81);return;}_0x1f614b&&(_0x5e65d5[_0x28db41(0x1a6)]=_0x1f614b);const _0xcdd18b=_0xe6cdde[_0x28db41(0x218)][_0x28db41(0x2a7)];if(_0xcdd18b!==void 0x0){if(!_0x12eab0){_0xa91e3e(_0x5e65d5,_0x23be15,_0x28db41(0x262));return;}let _0x7f6e37;try{_0x7f6e37=_0x45be53(_0xcdd18b);}catch{_0xa91e3e(_0x5e65d5,_0x23be15,_0x28db41(0x1e1));return;}const _0x5cc210=Object[_0x28db41(0x31e)](_0x7f6e37);if(_0x5cc210[_0x28db41(0x212)]!==0x1||_0x5cc210[0x0]!==_0x112a25[_0x28db41(0x1b3)]){_0xa91e3e(_0x5e65d5,_0x23be15,_0x28db41(0x2e8));return;}try{_0x12eab0[_0x28db41(0x1ae)](_0x7f6e37[_0x112a25[_0x28db41(0x1b3)]]);}catch{_0xa91e3e(_0x5e65d5,_0x23be15,_0x28db41(0x1e1));return;}_0x5e65d5['_extensions'][_0x112a25[_0x28db41(0x1b3)]]=_0x12eab0;}_0x5e65d5[_0x28db41(0x274)](_0x23be15,_0x383a3e,{'allowSynchronousEvents':_0x3f2ce7['allowSynchronousEvents'],'generateMask':_0x3f2ce7['generateMask'],'maxPayload':_0x3f2ce7[_0x28db41(0x1ee)],'skipUTF8Validation':_0x3f2ce7['skipUTF8Validation']});}),_0x3f2ce7[_0x29f12e(0x213)]?_0x3f2ce7[_0x29f12e(0x213)](_0x29ca1e,_0x5e65d5):_0x29ca1e['end']();}function _0x1641cc(_0x5b9930,_0x1492f4){const _0xf28e07=_0x3c6b52;_0x5b9930[_0xf28e07(0x2da)]=_0x4e6a91[_0xf28e07(0x1e9)],_0x5b9930[_0xf28e07(0x2c3)]=!0x0,_0x5b9930[_0xf28e07(0x298)](_0xf28e07(0x247),_0x1492f4),_0x5b9930[_0xf28e07(0x278)]();}function _0x291da3(_0x3ca0c2){const _0x6a13c7=_0x3c6b52;return _0x3ca0c2[_0x6a13c7(0x266)]=_0x3ca0c2[_0x6a13c7(0x1b1)],_0x478601[_0x6a13c7(0x1e7)](_0x3ca0c2);}function _0x28dca0(_0x101a2f){const _0xa6d031=_0x3c6b52;return _0x101a2f['path']=void 0x0,!_0x101a2f[_0xa6d031(0x317)]&&_0x101a2f[_0xa6d031(0x317)]!==''&&(_0x101a2f[_0xa6d031(0x317)]=_0x478601[_0xa6d031(0x2d2)](_0x101a2f['host'])?'':_0x101a2f[_0xa6d031(0x194)]),_0x504d33[_0xa6d031(0x1e7)](_0x101a2f);}function _0xa91e3e(_0x576170,_0x1c4848,_0x26aa97){const _0x176d5e=_0x3c6b52;_0x576170[_0x176d5e(0x2da)]=_0x4e6a91[_0x176d5e(0x1e9)];const _0x51ec6a=new Error(_0x26aa97);Error[_0x176d5e(0x2a3)](_0x51ec6a,_0xa91e3e),_0x1c4848['setHeader']?(_0x1c4848[_0xe47214]=!0x0,_0x1c4848[_0x176d5e(0x199)](),_0x1c4848[_0x176d5e(0x232)]&&!_0x1c4848[_0x176d5e(0x232)][_0x176d5e(0x327)]&&_0x1c4848['socket']['destroy'](),process[_0x176d5e(0x2de)](_0x1641cc,_0x576170,_0x51ec6a)):(_0x1c4848[_0x176d5e(0x331)](_0x51ec6a),_0x1c4848[_0x176d5e(0x20d)](_0x176d5e(0x247),_0x576170[_0x176d5e(0x298)][_0x176d5e(0x258)](_0x576170,_0x176d5e(0x247))),_0x1c4848[_0x176d5e(0x20d)](_0x176d5e(0x1e4),_0x576170[_0x176d5e(0x278)][_0x176d5e(0x258)](_0x576170)));}function _0x57fb65(_0x2e017a,_0x2987e7,_0x29e71a){const _0xc7e5a7=_0x3c6b52;if(_0x2987e7){const _0x207da7=_0x4d463b(_0x2987e7)?_0x2987e7['size']:_0x809b11(_0x2987e7)[_0xc7e5a7(0x212)];_0x2e017a[_0xc7e5a7(0x201)]?_0x2e017a[_0xc7e5a7(0x32d)][_0xc7e5a7(0x291)]+=_0x207da7:_0x2e017a[_0xc7e5a7(0x2dc)]+=_0x207da7;}if(_0x29e71a){const _0x33b330=new Error(_0xc7e5a7(0x26f)+_0x2e017a['readyState']+'\x20('+_0x573764[_0x2e017a['readyState']]+')');process['nextTick'](_0x29e71a,_0x33b330);}}function _0x251686(_0x17628f,_0x4d3d2e){const _0x183e45=_0x3c6b52,_0x3e7e4c=this[_0x57785d];_0x3e7e4c[_0x183e45(0x1fb)]=!0x0,_0x3e7e4c[_0x183e45(0x207)]=_0x4d3d2e,_0x3e7e4c['_closeCode']=_0x17628f,_0x3e7e4c['_socket'][_0x57785d]!==void 0x0&&(_0x3e7e4c[_0x183e45(0x201)][_0x183e45(0x2ca)](_0x183e45(0x277),_0x424cf6),process['nextTick'](_0x391675,_0x3e7e4c[_0x183e45(0x201)]),_0x17628f===0x3ed?_0x3e7e4c['close']():_0x3e7e4c[_0x183e45(0x1e4)](_0x17628f,_0x4d3d2e));}function _0x45b665(){const _0x2420e7=_0x3c6b52,_0x4fdfb1=this[_0x57785d];_0x4fdfb1['isPaused']||_0x4fdfb1[_0x2420e7(0x201)][_0x2420e7(0x33a)]();}function _0x5f16a3(_0x35a1f2){const _0x78ea=_0x3c6b52,_0x1b12a4=this[_0x57785d];_0x1b12a4[_0x78ea(0x201)][_0x57785d]!==void 0x0&&(_0x1b12a4['_socket'][_0x78ea(0x2ca)](_0x78ea(0x277),_0x424cf6),process[_0x78ea(0x2de)](_0x391675,_0x1b12a4['_socket']),_0x1b12a4[_0x78ea(0x1e4)](_0x35a1f2[_0x474e7a])),_0x1b12a4[_0x78ea(0x2c3)]||(_0x1b12a4[_0x78ea(0x2c3)]=!0x0,_0x1b12a4[_0x78ea(0x298)](_0x78ea(0x247),_0x35a1f2));}function _0x4cebff(){const _0x107216=_0x3c6b52;this[_0x57785d][_0x107216(0x278)]();}function _0x1b9db8(_0x7d93ab,_0x1ed0e0){const _0x4af8c2=_0x3c6b52;this[_0x57785d]['emit'](_0x4af8c2(0x2b3),_0x7d93ab,_0x1ed0e0);}function _0x14cb5a(_0x4d7cd7){const _0x3d59d5=_0x3c6b52,_0x2ae0f2=this[_0x57785d];_0x2ae0f2['_autoPong']&&_0x2ae0f2[_0x3d59d5(0x313)](_0x4d7cd7,!this[_0x3d59d5(0x307)],_0x719063),_0x2ae0f2[_0x3d59d5(0x298)](_0x3d59d5(0x2ff),_0x4d7cd7);}function _0x3b8d56(_0x905867){const _0x302834=_0x3c6b52;this[_0x57785d][_0x302834(0x298)](_0x302834(0x313),_0x905867);}function _0x391675(_0x1842ed){const _0x13c94d=_0x3c6b52;_0x1842ed[_0x13c94d(0x33a)]();}function _0xb7c38a(_0x2d780d){const _0x3919b1=_0x3c6b52,_0x336285=this[_0x57785d];_0x336285['readyState']!==_0x4e6a91[_0x3919b1(0x28f)]&&(_0x336285['readyState']===_0x4e6a91['OPEN']&&(_0x336285[_0x3919b1(0x2da)]=_0x4e6a91[_0x3919b1(0x1e9)],_0x3754db(_0x336285)),this[_0x3919b1(0x201)][_0x3919b1(0x311)](),_0x336285[_0x3919b1(0x2c3)]||(_0x336285[_0x3919b1(0x2c3)]=!0x0,_0x336285['emit']('error',_0x2d780d)));}function _0x3754db(_0x5e6bcc){const _0x2b27c8=_0x3c6b52;_0x5e6bcc[_0x2b27c8(0x1c4)]=setTimeout(_0x5e6bcc['_socket']['destroy'][_0x2b27c8(0x258)](_0x5e6bcc[_0x2b27c8(0x201)]),_0x45e2fe);}function _0x3b45b1(){const _0x4c757c=_0x3c6b52,_0x21b457=this[_0x57785d];this[_0x4c757c(0x2ca)]('close',_0x3b45b1),this[_0x4c757c(0x2ca)]('data',_0x424cf6),this[_0x4c757c(0x2ca)]('end',_0x3393fe),_0x21b457[_0x4c757c(0x2da)]=_0x4e6a91[_0x4c757c(0x1e9)];let _0x19dd29;!this[_0x4c757c(0x2cd)][_0x4c757c(0x1db)]&&!_0x21b457[_0x4c757c(0x1fb)]&&!_0x21b457[_0x4c757c(0x2f2)][_0x4c757c(0x336)][_0x4c757c(0x1fd)]&&(_0x19dd29=_0x21b457[_0x4c757c(0x201)][_0x4c757c(0x272)]())!==null&&_0x21b457[_0x4c757c(0x2f2)][_0x4c757c(0x275)](_0x19dd29),_0x21b457[_0x4c757c(0x2f2)][_0x4c757c(0x311)](),this[_0x57785d]=void 0x0,clearTimeout(_0x21b457[_0x4c757c(0x1c4)]),_0x21b457[_0x4c757c(0x2f2)][_0x4c757c(0x336)][_0x4c757c(0x195)]||_0x21b457[_0x4c757c(0x2f2)][_0x4c757c(0x336)]['errorEmitted']?_0x21b457[_0x4c757c(0x278)]():(_0x21b457[_0x4c757c(0x2f2)]['on'](_0x4c757c(0x247),_0x4cebff),_0x21b457[_0x4c757c(0x2f2)]['on'](_0x4c757c(0x1c0),_0x4cebff));}function _0x424cf6(_0x52b599){const _0x243d43=_0x3c6b52;this[_0x57785d]['_receiver'][_0x243d43(0x275)](_0x52b599)||this[_0x243d43(0x25a)]();}function _0x3393fe(){const _0x46d6c4=_0x3c6b52,_0x56a6e4=this[_0x57785d];_0x56a6e4[_0x46d6c4(0x2da)]=_0x4e6a91[_0x46d6c4(0x1e9)],_0x56a6e4[_0x46d6c4(0x2f2)][_0x46d6c4(0x311)](),this['end']();}function _0x433f98(){const _0x4eccca=_0x3c6b52,_0x5cdc5c=this[_0x57785d];this[_0x4eccca(0x2ca)]('error',_0x433f98),this['on'](_0x4eccca(0x247),_0x719063),_0x5cdc5c&&(_0x5cdc5c['_readyState']=_0x4e6a91['CLOSING'],this[_0x4eccca(0x331)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x1e07cb}=_0x393e7e;function _0x53dc57(_0x34b298){const _0x134376=_0x1e77;_0x34b298['emit'](_0x134376(0x1e4));}function _0x29b47d(){const _0x588c09=_0x1e77;!this[_0x588c09(0x327)]&&this[_0x588c09(0x336)][_0x588c09(0x195)]&&this['destroy']();}function _0x5357aa(_0x46d014){const _0x4d3f35=_0x1e77;this['removeListener'](_0x4d3f35(0x247),_0x5357aa),this['destroy'](),this[_0x4d3f35(0x1eb)]('error')===0x0&&this['emit'](_0x4d3f35(0x247),_0x46d014);}function _0x46a65b(_0x2ca558,_0x37a616){const _0x31fbee=_0x1e77;let _0xf1790b=!0x0;const _0x5bd81c=new _0x1e07cb({..._0x37a616,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x2ca558['on'](_0x31fbee(0x2b3),function(_0x30d8a5,_0x348555){const _0x5d07f5=_0x31fbee,_0x2f4eee=!_0x348555&&_0x5bd81c[_0x5d07f5(0x2cd)][_0x5d07f5(0x26b)]?_0x30d8a5[_0x5d07f5(0x239)]():_0x30d8a5;_0x5bd81c[_0x5d07f5(0x2fd)](_0x2f4eee)||_0x2ca558[_0x5d07f5(0x25a)]();}),_0x2ca558['once'](_0x31fbee(0x247),function(_0x89d579){const _0x1fd069=_0x31fbee;_0x5bd81c[_0x1fd069(0x327)]||(_0xf1790b=!0x1,_0x5bd81c[_0x1fd069(0x331)](_0x89d579));}),_0x2ca558['once'](_0x31fbee(0x1e4),function(){const _0x5206b3=_0x31fbee;_0x5bd81c[_0x5206b3(0x327)]||_0x5bd81c[_0x5206b3(0x2fd)](null);}),_0x5bd81c[_0x31fbee(0x27d)]=function(_0x687844,_0x10de6b){const _0x1b5dad=_0x31fbee;if(_0x2ca558['readyState']===_0x2ca558[_0x1b5dad(0x28f)]){_0x10de6b(_0x687844),process[_0x1b5dad(0x2de)](_0x53dc57,_0x5bd81c);return;}let _0x7497e6=!0x1;_0x2ca558[_0x1b5dad(0x20d)]('error',function(_0x421377){_0x7497e6=!0x0,_0x10de6b(_0x421377);}),_0x2ca558['once'](_0x1b5dad(0x1e4),function(){const _0x3c5057=_0x1b5dad;_0x7497e6||_0x10de6b(_0x687844),process[_0x3c5057(0x2de)](_0x53dc57,_0x5bd81c);}),_0xf1790b&&_0x2ca558[_0x1b5dad(0x27e)]();},_0x5bd81c[_0x31fbee(0x2c4)]=function(_0x22855f){const _0x3fe7ce=_0x31fbee;if(_0x2ca558[_0x3fe7ce(0x197)]===_0x2ca558[_0x3fe7ce(0x2ee)]){_0x2ca558[_0x3fe7ce(0x20d)](_0x3fe7ce(0x1d9),function(){_0x5bd81c['_final'](_0x22855f);});return;}_0x2ca558[_0x3fe7ce(0x201)]!==null&&(_0x2ca558[_0x3fe7ce(0x201)]['_writableState'][_0x3fe7ce(0x195)]?(_0x22855f(),_0x5bd81c[_0x3fe7ce(0x2cd)][_0x3fe7ce(0x1db)]&&_0x5bd81c[_0x3fe7ce(0x331)]()):(_0x2ca558[_0x3fe7ce(0x201)][_0x3fe7ce(0x20d)]('finish',function(){_0x22855f();}),_0x2ca558[_0x3fe7ce(0x1e4)]()));},_0x5bd81c[_0x31fbee(0x28e)]=function(){const _0x4b6af2=_0x31fbee;_0x2ca558[_0x4b6af2(0x21e)]&&_0x2ca558[_0x4b6af2(0x33a)]();},_0x5bd81c[_0x31fbee(0x1b7)]=function(_0x57e418,_0x4dbc5a,_0x2cfbdf){const _0x24c196=_0x31fbee;if(_0x2ca558[_0x24c196(0x197)]===_0x2ca558['CONNECTING']){_0x2ca558[_0x24c196(0x20d)](_0x24c196(0x1d9),function(){const _0xa31f3c=_0x24c196;_0x5bd81c[_0xa31f3c(0x1b7)](_0x57e418,_0x4dbc5a,_0x2cfbdf);});return;}_0x2ca558[_0x24c196(0x1d0)](_0x57e418,_0x2cfbdf);},_0x5bd81c['on'](_0x31fbee(0x311),_0x29b47d),_0x5bd81c['on'](_0x31fbee(0x247),_0x5357aa),_0x5bd81c;}return Oe=_0x46a65b,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=Wt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x20c855}=ne();function _0x5f3bb5(_0xe2620){const _0x43eeb0=_0x1e77,_0x2d2325=new Set();let _0x2c0f86=-0x1,_0x368cfa=-0x1,_0x15b86f=0x0;for(_0x15b86f;_0x15b86f<_0xe2620['length'];_0x15b86f++){const _0x5c9547=_0xe2620['charCodeAt'](_0x15b86f);if(_0x368cfa===-0x1&&_0x20c855[_0x5c9547]===0x1)_0x2c0f86===-0x1&&(_0x2c0f86=_0x15b86f);else{if(_0x15b86f!==0x0&&(_0x5c9547===0x20||_0x5c9547===0x9))_0x368cfa===-0x1&&_0x2c0f86!==-0x1&&(_0x368cfa=_0x15b86f);else{if(_0x5c9547===0x2c){if(_0x2c0f86===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x15b86f);_0x368cfa===-0x1&&(_0x368cfa=_0x15b86f);const _0x1985ed=_0xe2620['slice'](_0x2c0f86,_0x368cfa);if(_0x2d2325['has'](_0x1985ed))throw new SyntaxError(_0x43eeb0(0x235)+_0x1985ed+_0x43eeb0(0x219));_0x2d2325[_0x43eeb0(0x1b8)](_0x1985ed),_0x2c0f86=_0x368cfa=-0x1;}else throw new SyntaxError(_0x43eeb0(0x2e1)+_0x15b86f);}}}if(_0x2c0f86===-0x1||_0x368cfa!==-0x1)throw new SyntaxError(_0x43eeb0(0x1f7));const _0x4d2fef=_0xe2620[_0x43eeb0(0x234)](_0x2c0f86,_0x15b86f);if(_0x2d2325[_0x43eeb0(0x1e8)](_0x4d2fef))throw new SyntaxError(_0x43eeb0(0x235)+_0x4d2fef+_0x43eeb0(0x219));return _0x2d2325[_0x43eeb0(0x1b8)](_0x4d2fef),_0x2d2325;}return Ce={'parse':_0x5f3bb5},Ce;}var Te,ot;function er(){const _0xe2a5dc=_0x3930a4;if(ot)return Te;ot=0x1;const _0x3f52a8=_0x5daf3f,_0x3c1dbd=_0x39281d,{Duplex:_0x1112ed}=_0x393e7e,{createHash:_0x3cc06a}=_0x13c910,_0x4226df=pt(),_0x20b92f=he(),_0x351374=Jt(),_0x131761=Ie(),{GUID:_0x3ca35e,kWebSocket:_0x22a23a}=V(),_0x3cdd45=/^[+/0-9A-Za-z]{22}==$/,_0xc4658d=0x0,_0x27204b=0x1,_0x354f3c=0x2;class _0x4ff453 extends _0x3f52a8{constructor(_0x369160,_0x584fa5){const _0x4fb09e=_0x1e77;if(super(),_0x369160={'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':_0x131761,..._0x369160},_0x369160[_0x4fb09e(0x332)]==null&&!_0x369160[_0x4fb09e(0x2d4)]&&!_0x369160[_0x4fb09e(0x2d8)]||_0x369160['port']!=null&&(_0x369160[_0x4fb09e(0x2d4)]||_0x369160[_0x4fb09e(0x2d8)])||_0x369160[_0x4fb09e(0x2d4)]&&_0x369160[_0x4fb09e(0x2d8)])throw new TypeError(_0x4fb09e(0x328));if(_0x369160['port']!=null?(this[_0x4fb09e(0x30e)]=_0x3c1dbd['createServer']((_0x53fe73,_0x29d5b5)=>{const _0x26bbe5=_0x4fb09e,_0xcb0c6a=_0x3c1dbd['STATUS_CODES'][0x1aa];_0x29d5b5[_0x26bbe5(0x29b)](0x1aa,{'Content-Length':_0xcb0c6a[_0x26bbe5(0x212)],'Content-Type':_0x26bbe5(0x32f)}),_0x29d5b5[_0x26bbe5(0x311)](_0xcb0c6a);}),this['_server']['listen'](_0x369160[_0x4fb09e(0x332)],_0x369160[_0x4fb09e(0x194)],_0x369160['backlog'],_0x584fa5)):_0x369160[_0x4fb09e(0x2d4)]&&(this['_server']=_0x369160[_0x4fb09e(0x2d4)]),this[_0x4fb09e(0x30e)]){const _0x4b4f76=this['emit']['bind'](this,_0x4fb09e(0x1fc));this[_0x4fb09e(0x20f)]=_0x516b42(this[_0x4fb09e(0x30e)],{'listening':this[_0x4fb09e(0x298)][_0x4fb09e(0x258)](this,_0x4fb09e(0x310)),'error':this[_0x4fb09e(0x298)]['bind'](this,_0x4fb09e(0x247)),'upgrade':(_0xbb5510,_0x23313d,_0x569551)=>{const _0x4e44f5=_0x4fb09e;this[_0x4e44f5(0x2e4)](_0xbb5510,_0x23313d,_0x569551,_0x4b4f76);}});}_0x369160[_0x4fb09e(0x1cc)]===!0x0&&(_0x369160[_0x4fb09e(0x1cc)]={}),_0x369160[_0x4fb09e(0x2fb)]&&(this[_0x4fb09e(0x1de)]=new Set(),this['_shouldEmitClose']=!0x1),this[_0x4fb09e(0x324)]=_0x369160,this['_state']=_0xc4658d;}[_0xe2a5dc(0x250)](){const _0x4da570=_0xe2a5dc;if(this[_0x4da570(0x324)][_0x4da570(0x2d8)])throw new Error(_0x4da570(0x31d));return this[_0x4da570(0x30e)]?this['_server'][_0x4da570(0x250)]():null;}[_0xe2a5dc(0x1e4)](_0x20c7e8){const _0x281f1c=_0xe2a5dc;if(this[_0x281f1c(0x190)]===_0x354f3c){_0x20c7e8&&this[_0x281f1c(0x20d)]('close',()=>{const _0x8ce82f=_0x281f1c;_0x20c7e8(new Error(_0x8ce82f(0x26d)));}),process['nextTick'](_0x3fb73b,this);return;}if(_0x20c7e8&&this[_0x281f1c(0x20d)](_0x281f1c(0x1e4),_0x20c7e8),this['_state']!==_0x27204b){if(this[_0x281f1c(0x190)]=_0x27204b,this[_0x281f1c(0x324)][_0x281f1c(0x2d8)]||this[_0x281f1c(0x324)][_0x281f1c(0x2d4)])this[_0x281f1c(0x30e)]&&(this[_0x281f1c(0x20f)](),this['_removeListeners']=this[_0x281f1c(0x30e)]=null),this[_0x281f1c(0x1de)]?this[_0x281f1c(0x1de)][_0x281f1c(0x294)]?this[_0x281f1c(0x228)]=!0x0:process[_0x281f1c(0x2de)](_0x3fb73b,this):process[_0x281f1c(0x2de)](_0x3fb73b,this);else{const _0x339e56=this[_0x281f1c(0x30e)];this[_0x281f1c(0x20f)](),this[_0x281f1c(0x20f)]=this[_0x281f1c(0x30e)]=null,_0x339e56[_0x281f1c(0x1e4)](()=>{_0x3fb73b(this);});}}}[_0xe2a5dc(0x1f8)](_0x5de018){const _0x2df631=_0xe2a5dc;if(this[_0x2df631(0x324)][_0x2df631(0x266)]){const _0x23d71a=_0x5de018[_0x2df631(0x253)][_0x2df631(0x2c2)]('?');if((_0x23d71a!==-0x1?_0x5de018[_0x2df631(0x253)][_0x2df631(0x234)](0x0,_0x23d71a):_0x5de018['url'])!==this[_0x2df631(0x324)]['path'])return!0x1;}return!0x0;}['handleUpgrade'](_0x961e21,_0x39ef41,_0x1cc550,_0x4fa35f){const _0x5aef49=_0xe2a5dc;_0x39ef41['on']('error',_0x494c8d);const _0x40464f=_0x961e21[_0x5aef49(0x218)]['sec-websocket-key'],_0xde3055=_0x961e21[_0x5aef49(0x218)][_0x5aef49(0x2fc)],_0x4552d7=+_0x961e21[_0x5aef49(0x218)][_0x5aef49(0x2e0)];if(_0x961e21['method']!==_0x5aef49(0x2ec)){_0x11fb41(this,_0x961e21,_0x39ef41,0x195,_0x5aef49(0x2bf));return;}if(_0xde3055===void 0x0||_0xde3055[_0x5aef49(0x329)]()!==_0x5aef49(0x238)){_0x11fb41(this,_0x961e21,_0x39ef41,0x190,'Invalid\x20Upgrade\x20header');return;}if(_0x40464f===void 0x0||!_0x3cdd45[_0x5aef49(0x2f3)](_0x40464f)){_0x11fb41(this,_0x961e21,_0x39ef41,0x190,_0x5aef49(0x220));return;}if(_0x4552d7!==0xd&&_0x4552d7!==0x8){_0x11fb41(this,_0x961e21,_0x39ef41,0x190,_0x5aef49(0x1c7),{'Sec-WebSocket-Version':'13,\x208'});return;}if(!this[_0x5aef49(0x1f8)](_0x961e21)){_0x8550ee(_0x39ef41,0x190);return;}const _0x268301=_0x961e21[_0x5aef49(0x218)]['sec-websocket-protocol'];let _0xdd6fba=new Set();if(_0x268301!==void 0x0)try{_0xdd6fba=_0x351374[_0x5aef49(0x2a6)](_0x268301);}catch{_0x11fb41(this,_0x961e21,_0x39ef41,0x190,_0x5aef49(0x292));return;}const _0xd60548=_0x961e21[_0x5aef49(0x218)]['sec-websocket-extensions'],_0x4aa0c4={};if(this[_0x5aef49(0x324)][_0x5aef49(0x1cc)]&&_0xd60548!==void 0x0){const _0x7871e7=new _0x20b92f(this[_0x5aef49(0x324)][_0x5aef49(0x1cc)],!0x0,this[_0x5aef49(0x324)]['maxPayload']);try{const _0x36fe33=_0x4226df[_0x5aef49(0x2a6)](_0xd60548);_0x36fe33[_0x20b92f[_0x5aef49(0x1b3)]]&&(_0x7871e7[_0x5aef49(0x1ae)](_0x36fe33[_0x20b92f[_0x5aef49(0x1b3)]]),_0x4aa0c4[_0x20b92f[_0x5aef49(0x1b3)]]=_0x7871e7);}catch{_0x11fb41(this,_0x961e21,_0x39ef41,0x190,_0x5aef49(0x2c6));return;}}if(this['options']['verifyClient']){const _0x4f1097={'origin':_0x961e21['headers'][''+(_0x4552d7===0x8?_0x5aef49(0x24b):_0x5aef49(0x23e))],'secure':!!(_0x961e21[_0x5aef49(0x232)][_0x5aef49(0x22b)]||_0x961e21[_0x5aef49(0x232)][_0x5aef49(0x279)]),'req':_0x961e21};if(this[_0x5aef49(0x324)]['verifyClient'][_0x5aef49(0x212)]===0x2){this[_0x5aef49(0x324)][_0x5aef49(0x31c)](_0x4f1097,(_0x4d1e37,_0x294d83,_0x25f95e,_0x1cd237)=>{const _0x208a35=_0x5aef49;if(!_0x4d1e37)return _0x8550ee(_0x39ef41,_0x294d83||0x191,_0x25f95e,_0x1cd237);this[_0x208a35(0x2d6)](_0x4aa0c4,_0x40464f,_0xdd6fba,_0x961e21,_0x39ef41,_0x1cc550,_0x4fa35f);});return;}if(!this[_0x5aef49(0x324)][_0x5aef49(0x31c)](_0x4f1097))return _0x8550ee(_0x39ef41,0x191);}this[_0x5aef49(0x2d6)](_0x4aa0c4,_0x40464f,_0xdd6fba,_0x961e21,_0x39ef41,_0x1cc550,_0x4fa35f);}['completeUpgrade'](_0x219c20,_0x454962,_0x57ea0d,_0x3a1960,_0x5331bf,_0x13b9eb,_0x435584){const _0x2062e3=_0xe2a5dc;if(!_0x5331bf['readable']||!_0x5331bf['writable'])return _0x5331bf['destroy']();if(_0x5331bf[_0x22a23a])throw new Error(_0x2062e3(0x2f5));if(this['_state']>_0xc4658d)return _0x8550ee(_0x5331bf,0x1f7);const _0x5ee43f=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0x2062e3(0x26c),_0x2062e3(0x20c),_0x2062e3(0x2c8)+_0x3cc06a(_0x2062e3(0x1a1))[_0x2062e3(0x215)](_0x454962+_0x3ca35e)[_0x2062e3(0x2d0)]('base64')],_0x5c2bc1=new this[(_0x2062e3(0x324))]['WebSocket'](null,void 0x0,this[_0x2062e3(0x324)]);if(_0x57ea0d['size']){const _0x129998=this[_0x2062e3(0x324)][_0x2062e3(0x263)]?this[_0x2062e3(0x324)][_0x2062e3(0x263)](_0x57ea0d,_0x3a1960):_0x57ea0d[_0x2062e3(0x24d)]()[_0x2062e3(0x2c1)]()[_0x2062e3(0x273)];_0x129998&&(_0x5ee43f[_0x2062e3(0x2fd)]('Sec-WebSocket-Protocol:\x20'+_0x129998),_0x5c2bc1[_0x2062e3(0x1a6)]=_0x129998);}if(_0x219c20[_0x20b92f[_0x2062e3(0x1b3)]]){const _0x1186ac=_0x219c20[_0x20b92f['extensionName']][_0x2062e3(0x2a0)],_0x19939e=_0x4226df[_0x2062e3(0x2a1)]({[_0x20b92f[_0x2062e3(0x1b3)]]:[_0x1186ac]});_0x5ee43f['push'](_0x2062e3(0x25f)+_0x19939e),_0x5c2bc1[_0x2062e3(0x32c)]=_0x219c20;}this[_0x2062e3(0x298)](_0x2062e3(0x218),_0x5ee43f,_0x3a1960),_0x5331bf['write'](_0x5ee43f[_0x2062e3(0x335)]('\x0d\x0a')[_0x2062e3(0x271)]('\x0d\x0a')),_0x5331bf['removeListener'](_0x2062e3(0x247),_0x494c8d),_0x5c2bc1[_0x2062e3(0x274)](_0x5331bf,_0x13b9eb,{'allowSynchronousEvents':this[_0x2062e3(0x324)]['allowSynchronousEvents'],'maxPayload':this[_0x2062e3(0x324)][_0x2062e3(0x1ee)],'skipUTF8Validation':this[_0x2062e3(0x324)][_0x2062e3(0x318)]}),this[_0x2062e3(0x1de)]&&(this[_0x2062e3(0x1de)]['add'](_0x5c2bc1),_0x5c2bc1['on']('close',()=>{const _0x45f868=_0x2062e3;this[_0x45f868(0x1de)][_0x45f868(0x25c)](_0x5c2bc1),this['_shouldEmitClose']&&!this[_0x45f868(0x1de)][_0x45f868(0x294)]&&process[_0x45f868(0x2de)](_0x3fb73b,this);})),_0x435584(_0x5c2bc1,_0x3a1960);}}Te=_0x4ff453;function _0x516b42(_0x4f01a4,_0x3c4557){const _0x2c6caa=_0xe2a5dc;for(const _0x2ef6a9 of Object[_0x2c6caa(0x31e)](_0x3c4557))_0x4f01a4['on'](_0x2ef6a9,_0x3c4557[_0x2ef6a9]);return function(){const _0x167767=_0x2c6caa;for(const _0x234175 of Object[_0x167767(0x31e)](_0x3c4557))_0x4f01a4[_0x167767(0x2ca)](_0x234175,_0x3c4557[_0x234175]);};}function _0x3fb73b(_0x405473){const _0xe8a7a4=_0xe2a5dc;_0x405473[_0xe8a7a4(0x190)]=_0x354f3c,_0x405473[_0xe8a7a4(0x298)](_0xe8a7a4(0x1e4));}function _0x494c8d(){const _0x126288=_0xe2a5dc;this[_0x126288(0x331)]();}function _0x8550ee(_0x4732fe,_0x3fd092,_0x504bc9,_0x3dfc98){const _0x20bd48=_0xe2a5dc;_0x504bc9=_0x504bc9||_0x3c1dbd[_0x20bd48(0x1f4)][_0x3fd092],_0x3dfc98={'Connection':'close','Content-Type':'text/html','Content-Length':Buffer[_0x20bd48(0x270)](_0x504bc9),..._0x3dfc98},_0x4732fe[_0x20bd48(0x20d)](_0x20bd48(0x1c0),_0x4732fe['destroy']),_0x4732fe[_0x20bd48(0x311)](_0x20bd48(0x2e6)+_0x3fd092+'\x20'+_0x3c1dbd[_0x20bd48(0x1f4)][_0x3fd092]+'\x0d\x0a'+Object['keys'](_0x3dfc98)[_0x20bd48(0x21c)](_0x498b64=>_0x498b64+':\x20'+_0x3dfc98[_0x498b64])[_0x20bd48(0x271)]('\x0d\x0a')+_0x20bd48(0x23c)+_0x504bc9);}function _0x11fb41(_0x18f6f5,_0x1d1f52,_0xab5c23,_0x39a912,_0x198d68,_0x3bd0d6){const _0xbd2468=_0xe2a5dc;if(_0x18f6f5[_0xbd2468(0x1eb)](_0xbd2468(0x230))){const _0x37a645=new Error(_0x198d68);Error[_0xbd2468(0x2a3)](_0x37a645,_0x11fb41),_0x18f6f5['emit'](_0xbd2468(0x230),_0x37a645,_0xab5c23,_0x1d1f52);}else _0x8550ee(_0xab5c23,_0x39a912,_0x198d68,_0x3bd0d6);}return Te;}er();var tr=Object[_0x3930a4(0x2c9)],rr=(_0x1c3877,_0x29fba2,_0x1310aa,_0x569ef7)=>{const _0x180039=_0x3930a4;for(var _0x5eb34b=_0x569ef7>0x1?void 0x0:_0x569ef7?tr(_0x29fba2,_0x1310aa):_0x29fba2,_0x3a4f41=_0x1c3877[_0x180039(0x212)]-0x1,_0x4450da;_0x3a4f41>=0x0;_0x3a4f41--)(_0x4450da=_0x1c3877[_0x3a4f41])&&(_0x5eb34b=_0x4450da(_0x5eb34b)||_0x5eb34b);return _0x5eb34b;},sr=(_0x423de9,_0x45f1e1)=>(_0x362c79,_0x432d20)=>_0x45f1e1(_0x362c79,_0x432d20,_0x423de9);let Ne=class extends _0x1ecad5{constructor(_0x585945){super(),this['_configService']=_0x585945;}[_0x3930a4(0x337)](_0x234ec4){const _0x15cf4b=_0x3930a4;var _0x2c1357;const _0x29be94=(_0x2c1357=this['_configService'][_0x15cf4b(0x19e)](Be))==null?void 0x0:_0x2c1357['customHeaders'];try{const _0x29a5f2=new Qt(_0x234ec4,{'headers':{..._0x29be94}}),_0x1b05e5=new _0x139477();return{'URL':_0x234ec4,'close':(_0x365673,_0x27dba9)=>{const _0x3a2343=_0x15cf4b;_0x29a5f2[_0x3a2343(0x1e4)](_0x365673,_0x27dba9),_0x1b05e5[_0x3a2343(0x29e)]();},'send':_0x370815=>{const _0x41fb42=_0x15cf4b;_0x29a5f2[_0x41fb42(0x1d0)](_0x370815);},'open$':new _0x23af78(_0xa00d5=>{const _0x29a2f0=_0x15cf4b,_0x2478de=_0x324ced=>_0xa00d5['next'](_0x324ced);_0x29a5f2[_0x29a2f0(0x2f7)](_0x29a2f0(0x1d9),_0x2478de),_0x1b05e5['add'](_0x3126c5(()=>_0x29a5f2[_0x29a2f0(0x21d)](_0x29a2f0(0x1d9),_0x2478de)));})[_0x15cf4b(0x1b5)](_0x756000()),'close$':new _0x23af78(_0x20f419=>{const _0x267964=_0x15cf4b,_0x22c862=_0x2b7610=>_0x20f419['next'](_0x2b7610);_0x29a5f2['addEventListener'](_0x267964(0x1e4),_0x22c862),_0x1b05e5['add'](_0x3126c5(()=>_0x29a5f2[_0x267964(0x21d)](_0x267964(0x1e4),_0x22c862)));})[_0x15cf4b(0x1b5)](_0x756000()),'error$':new _0x23af78(_0x2de344=>{const _0x40e5f5=_0x15cf4b,_0x48484f=_0x508a43=>_0x2de344[_0x40e5f5(0x2c1)](_0x508a43);_0x29a5f2[_0x40e5f5(0x2f7)](_0x40e5f5(0x247),_0x48484f),_0x1b05e5[_0x40e5f5(0x1b8)](_0x3126c5(()=>_0x29a5f2[_0x40e5f5(0x21d)](_0x40e5f5(0x247),_0x48484f)));})[_0x15cf4b(0x1b5)](_0x756000()),'message$':new _0x23af78(_0x54a1d0=>{const _0x546be6=_0x15cf4b,_0x30f6e5=_0x2cc065=>_0x54a1d0[_0x546be6(0x2c1)](_0x2cc065);_0x29a5f2[_0x546be6(0x2f7)](_0x546be6(0x2b3),_0x30f6e5),_0x1b05e5[_0x546be6(0x1b8)](_0x3126c5(()=>_0x29a5f2[_0x546be6(0x21d)](_0x546be6(0x2b3),_0x30f6e5)));})['pipe'](_0x756000())};}catch(_0x27731e){return console['error'](_0x27731e),null;}}};Ne=rr([sr(0x0,_0x3b6023)],Ne);var ir=Object[_0x3930a4(0x2d5)],nr=Object[_0x3930a4(0x2c9)],or=(_0x2e54ef,_0x3f6923,_0x391fdb)=>_0x3f6923 in _0x2e54ef?ir(_0x2e54ef,_0x3f6923,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x391fdb}):_0x2e54ef[_0x3f6923]=_0x391fdb,ar=(_0x4d0fcf,_0x7cd00a,_0x389594,_0x58aa45)=>{for(var _0x232c90=_0x58aa45>0x1?void 0x0:_0x58aa45?nr(_0x7cd00a,_0x389594):_0x7cd00a,_0x512704=_0x4d0fcf['length']-0x1,_0x349be5;_0x512704>=0x0;_0x512704--)(_0x349be5=_0x4d0fcf[_0x512704])&&(_0x232c90=_0x349be5(_0x232c90)||_0x232c90);return _0x232c90;},ke=(_0x1a4efc,_0x54c772)=>(_0x36717e,_0x305e2c)=>_0x54c772(_0x36717e,_0x305e2c,_0x1a4efc),lr=(_0x2057d1,_0x10bb94,_0x16708f)=>or(_0x2057d1,_0x10bb94+'',_0x16708f);let Pe=class extends _0x37e522{constructor(_0x25eb29=Ft,_0x46d1bf,_0x19b3ff,_0x3d6700){const _0x23ee9e=_0x3930a4;_0x25eb29['customHeaders']||_0x46d1bf[_0x23ee9e(0x30d)](_0x23ee9e(0x1cb)),super(),this[_0x23ee9e(0x2a8)]=_0x19b3ff,this['_injector']=_0x3d6700,this[_0x23ee9e(0x2a8)][_0x23ee9e(0x249)](Be,_0x25eb29);}[_0x3930a4(0x284)](){this['_registerDependencies']();}[_0x3930a4(0x2ef)](){_0x490830(this['_injector'],[[_0x440bd9,{'useClass':Ne}]]);}};lr(Pe,'pluginName',_0x3930a4(0x2f8)),Pe=ar([_0x427518(_0x43652a),ke(0x1,_0x31d2d9),ke(0x2,_0x3b6023),ke(0x3,_0x27082a(_0x1f54da))],Pe);var fr=Object['getOwnPropertyDescriptor'],cr=(_0x20f295,_0x13ab3c,_0x5a4f09,_0x2e1750)=>{for(var _0x7286b7=_0x2e1750>0x1?void 0x0:_0x2e1750?fr(_0x13ab3c,_0x5a4f09):_0x13ab3c,_0x372bc6=_0x20f295['length']-0x1,_0x464c03;_0x372bc6>=0x0;_0x372bc6--)(_0x464c03=_0x20f295[_0x372bc6])&&(_0x7286b7=_0x464c03(_0x7286b7)||_0x7286b7);return _0x7286b7;},se=(_0x3c45d1,_0x434091)=>(_0x2e45bb,_0xfdca97)=>_0x434091(_0x2e45bb,_0xfdca97,_0x3c45d1);let at=class extends _0x3d7334{constructor(_0x45b752,_0x592781,_0x4a623a,_0x4cf2ce,_0x1a72c9){const _0x32d78f=_0x3930a4;super(_0x45b752,_0x592781,_0x4a623a,_0x4cf2ce,_0x1a72c9);const _0x1dc92e=this[_0x32d78f(0x2a8)][_0x32d78f(0x19e)](Be);this[_0x32d78f(0x1a7)][_0x32d78f(0x1ca)]({'interceptor':(_0x341be9,_0xea912f)=>{const _0x182763=_0x32d78f;var _0x1288e4;const _0x219cc9=_0x341be9[_0x182763(0x218)];return(_0x1288e4=_0x1dc92e==null?void 0x0:_0x1dc92e[_0x182763(0x1a3)])!=null&&_0x1288e4[_0x182763(0x334)]&&_0x219cc9[_0x182763(0x2d7)]('Cookie',_0x1dc92e['customHeaders'][_0x182763(0x334)]),_0xea912f(_0x341be9);}});}async[_0x3930a4(0x337)](_0x282113){const _0x3b6ac4=_0x3930a4;return this[_0x3b6ac4(0x192)](_0x282113);}};at=cr([se(0x0,_0x27082a(_0x1f54da)),se(0x1,_0x27082a(_0x35f0d2)),se(0x2,_0x3b6023),se(0x3,_0x31d2d9),se(0x4,_0x1c6962)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
|
|
1
|
+
const _0x10fc00=_0x315a;(function(_0x1547cc,_0x228e6b){const _0x4ccbc2=_0x315a,_0x231abd=_0x1547cc();while(!![]){try{const _0x25d704=-parseInt(_0x4ccbc2(0x2fe))/0x1*(parseInt(_0x4ccbc2(0x1be))/0x2)+parseInt(_0x4ccbc2(0x236))/0x3+parseInt(_0x4ccbc2(0x227))/0x4+parseInt(_0x4ccbc2(0x1d0))/0x5+parseInt(_0x4ccbc2(0x265))/0x6*(parseInt(_0x4ccbc2(0x2e6))/0x7)+-parseInt(_0x4ccbc2(0x204))/0x8+-parseInt(_0x4ccbc2(0x337))/0x9;if(_0x25d704===_0x228e6b)break;else _0x231abd['push'](_0x231abd['shift']());}catch(_0xb4bd57){_0x231abd['push'](_0x231abd['shift']());}}}(_0x4031,0x2470f));import{UniverCollaborationClientPlugin as _0x55d7ad,CollaborationSocketService as _0x2d1e80}from'@univerjs-pro/collaboration-client';import{Disposable as _0x2c5f6f,DisposableCollection as _0x3fff8a,toDisposable as _0x24d215,IConfigService as _0x21cc3a,DependentOn as _0x590359,ILogService as _0x5401a7,Inject as _0x31d314,Injector as _0x1d955c,Plugin as _0x1b7c72,registerDependencies as _0x42b41d}from'@univerjs/core';import{ISocketService as _0x132b3b,HTTPService as _0x2ff3d2}from'@univerjs/network';import{Observable as _0x5d2673,share as _0x48124f}from'rxjs';import _0xd5d56b from'events';import _0x4a05e2 from'https';import _0x2a4a4d from'http';import _0x4d839b from'net';import _0x5688c2 from'tls';import _0x2f069a from'crypto';import _0x3a313f from'stream';import _0x4e1661 from'url';import _0x2aab01 from'zlib';import _0x33d481 from'buffer';import{ISnapshotServerService as _0x4941bd}from'@univerjs-pro/collaboration';const Be='collaboration-client-node.config',Ft={'customHeaders':{}};function _0x4031(){const _0x17671f=['shift','callback','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','objectMode','kError','http:','close','haveLength','maskBuffer','Sec-WebSocket-Protocol:\x20','species','_configService','https:','_maskBuffer','find','default','number','clientNoContextTakeover','_url','Z_DEFAULT_WINDOWBITS','dataMessage','366PFlYzx','_errored','WebSocket\x20is\x20not\x20open:\x20readyState\x20','captureStackTrace','errorEmitted','getOwnPropertyDescriptor','isInteger','_protocol','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','_closeTimer','dispose','_socket','options','location','redirect','resume','_write','\x22\x20subprotocol\x20is\x20duplicated','933180PVAKsL','cork','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','WS_ERR_INVALID_CLOSE_CODE','listenerCount','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','_destroy','sendFrame','Invalid\x20URL:\x20','pathname','_originalIpc','skipUTF8Validation','ping','_extensions','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','threshold','_inflate','next','getInfo','\x22:\x20','_server','toLowerCase','allocUnsafe','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','_fragmented','get','value','socketPath','byteLength','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','WS_ERR_UNEXPECTED_RSV_1','headers','fin','mask','toStringTag','set','params','pending','nextTick','sec-websocket-extensions','message','Parameter\x20\x22','isServer','buffer','_options','string','WS_ERR_INVALID_OPCODE','wsClientError','handleEvent','The\x20server\x20is\x20not\x20running','apply','decompress','1048704JahxbT','_shouldEmitClose','onerror','destroy','_readableState','enqueue','parse','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','write','connection','_decompress','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','endEmitted','kCode','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','Unexpected\x20end\x20of\x20input','controlMessage','Maximum\x20redirects\x20exceeded','_state','pluginName','object','verifyClient','removeEventListener','maxRedirects','_final','_registerDependencies','offer','_doCreateSocket','warn','clients','kRun','Invalid\x20Sec-WebSocket-Extensions\x20header','flush','13,\x208','_skipUTF8Validation','427820TtNvHk','address','invalid\x20payload\x20length\x20','host','setNoDelay','_mask','acceptAsServer','_receiver','createInflateRaw','_compressed','getData','emitClose','password','statusCode','Unexpected\x20server\x20response:\x20','122607xQXuqR','removeListener','ws:','server_max_window_bits','_read','kType','getMask','size','_payloadLength','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','WS_ERR_INVALID_UTF8','invalid\x20opcode\x200','_bufferedBytes','client_no_context_takeover','MASK\x20must\x20be\x20set','createError','createDeflateRaw','writeUIntBE','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','frame','finished','upgrade','hasOwnProperty','Upgrade:\x20websocket','WS_NO_UTF_8_VALIDATE','kWasClean','reset','socket','dispatch','isView','byteOffset','indexOf','_closeFrameSent','handleProtocols','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','end','getConfig','emit','WS_ERR_EXPECTED_MASK','STATUS_CODES','total-length','prototype','forEach','GET','consume','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','The\x20\x22','13212yUIFcj','stream','Invalid\x20Upgrade\x20header','isIP','listeners','kDone','sha1','text/plain','_redirects','_injector','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','terminate','startLoop','isArray','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','servername','send','removeAllListeners','timeout','extensions','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','readOnly','type','split','replace','port','ws+unix:','Opening\x20handshake\x20has\x20timed\x20out','getPayloadLength16','isPaused','authorization','uncork','target','CLOSED','maxPayload','_compress','isValidUTF8','reason','startsWith','onmessage','pow','HTTP/1.1\x20','Invalid\x20value\x20for\x20parameter\x20\x22','\x22\x20must\x20have\x20only\x20a\x20single\x20value','_fin','unexpected-response','client_max_window_bits','getPayloadLength64','writeHead','has','server_no_context_takeover','_req','pipe','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','Unsupported\x20protocol\x20version:\x20','_maxPayload','_threshold','handleUpgrade','concat','WS_ERR_EXPECTED_FIN','unmask','nodebuffer','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','allowSynchronousEvents','writeUInt16BE','fragments','websocket','RSV1\x20must\x20be\x20clear','WebSocket','createConnection','alloc','pause','join','freeze','wasClean','completeUpgrade','_errorEmitted','concurrencyLimit','path','_removeListeners','auth','zlibInflateOptions','hostname','Basic\x20','create','invalid\x20opcode\x20','zlibDeflateOptions','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','accept','finish','kData','Cookie','_writableState','entries','status-code','_generateMask','The\x20URL\x20contains\x20a\x20fragment\x20identifier','destroyed','buffers','bind','test','OPEN','protocol','client','Module','_fragments','serverNoContextTakeover','normalizeParams','_allowSynchronousEvents','followRedirects','readUInt32BE','username','permessage-deflate','onStarting','perMessageDeflate','data','digest','writable','binaryType','clientTracking','The\x20URL\x27s\x20pathname\x20is\x20empty','sec-websocket-accept','extensionName','abort','WS_NO_BUFFER_UTIL','read','encrypted','request','format','861PBIpZz','_queue','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','_closeFrameReceived','wss:','defaultPort','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','FIN\x20must\x20be\x20set','once','Unknown\x20parameter\x20\x22','isBuffer','Unexpected\x20character\x20at\x20index\x20','invalid\x20UTF-8\x20sequence','_no_context_takeover','kAborted','_opcode','createSocket','generateMask','_messageLength','kTarget','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','length','pong','Sec-WebSocket-Origin','137DSpKIk','arrayBuffer','push','__esModule','concurrency','kListener','includes','from','Invalid\x20Sec-WebSocket-Accept\x20header','_totalPayloadLength','Z_SYNC_FLUSH','listen','CLOSING','authorized','_closeCode','map','_originalSecure','error','listening','createServer','_sender','_loop','delete','_readyState','\x20(supported\x20versions:\x20','open','cleanup','_binaryType','bufferedAmount','then','shouldHandle','_masked','WS_ERR_UNEXPECTED_RSV_2_3','getBlobData','_autoPong','values','code','conclude','exports','slice','drain','construct','call','invalid\x20status\x20code\x20','kByteLength','charCodeAt','CONNECTING','blob','readUInt16BE','dequeue','sec-websocket-protocol','_bufferedAmount','handshakeTimeout','_deflate','unshift','_buffers','server','2698956axYHrd','_isServer','url','function','_firstFragment','noServer','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','toString','backlog','env','setTimeout','kReason','protocolVersion','Server\x20sent\x20an\x20invalid\x20subprotocol','readyState','cookie','add','customHeaders','onclose','_max_window_bits','_paused','rsv1','kMessage','Sec-WebSocket-Accept:\x20','clientMaxWindowBits','_closeMessage','addEventListener','WS_ERR_UNEXPECTED_MASK','Max\x20payload\x20size\x20exceeded','base64','Origin','defineProperty','origin','serverMaxWindowBits','setSocket','autoPong','\x0d\x0a\x0d\x0a','arraybuffer','update','connect','Invalid\x20HTTP\x20method','readable','keys','opcode','constructor','_originalHostOrSocketPath','jobs','sec-websocket-version','compress'];_0x4031=function(){return _0x17671f;};return _0x4031();}function Wt(_0x521268){const _0x2a70e6=_0x315a;return _0x521268&&_0x521268[_0x2a70e6(0x301)]&&Object[_0x2a70e6(0x25f)][_0x2a70e6(0x24c)][_0x2a70e6(0x328)](_0x521268,_0x2a70e6(0x1b8))?_0x521268[_0x2a70e6(0x1b8)]:_0x521268;}function ut(_0x54b1f5){const _0xca7ac8=_0x315a;if(Object[_0xca7ac8(0x25f)]['hasOwnProperty']['call'](_0x54b1f5,'__esModule'))return _0x54b1f5;var _0x409363=_0x54b1f5[_0xca7ac8(0x1b8)];if(typeof _0x409363=='function'){var _0x44dd61=function _0x4ac2a8(){const _0x450550=_0xca7ac8;var _0xbdcf45=!0x1;try{_0xbdcf45=this instanceof _0x4ac2a8;}catch{}return _0xbdcf45?Reflect[_0x450550(0x327)](_0x409363,arguments,this[_0x450550(0x1a4)]):_0x409363[_0x450550(0x202)](this,arguments);};_0x44dd61[_0xca7ac8(0x25f)]=_0x409363['prototype'];}else _0x44dd61={};return Object[_0xca7ac8(0x356)](_0x44dd61,_0xca7ac8(0x301),{'value':!0x0}),Object[_0xca7ac8(0x1a2)](_0x54b1f5)[_0xca7ac8(0x260)](function(_0x168ab9){const _0xfdf9d9=_0xca7ac8;var _0xc0b60f=Object['getOwnPropertyDescriptor'](_0x54b1f5,_0x168ab9);Object['defineProperty'](_0x44dd61,_0x168ab9,_0xc0b60f[_0xfdf9d9(0x1e9)]?_0xc0b60f:{'enumerable':!0x0,'get':function(){return _0x54b1f5[_0x168ab9];}});}),_0x44dd61;}var te={'exports':{}},ge,Ye;function V(){const _0x42dc43=_0x315a;if(Ye)return ge;Ye=0x1;const _0x279d44=[_0x42dc43(0x2a2),'arraybuffer',_0x42dc43(0x2a6)],_0x315de0=typeof Blob<'u';return _0x315de0&&_0x279d44[_0x42dc43(0x300)](_0x42dc43(0x32d)),ge={'BINARY_TYPES':_0x279d44,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':_0x42dc43(0x1d5),'hasBlob':_0x315de0,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol(_0x42dc43(0x303)),'kStatusCode':Symbol(_0x42dc43(0x2c3)),'kWebSocket':Symbol('websocket'),'NOOP':()=>{}},ge;}const jt={},Gt=Object['freeze'](Object['defineProperty']({'__proto__':null,'default':jt},Symbol['toStringTag'],{'value':_0x10fc00(0x2cd)})),Vt=ut(Gt);var Ke;function ce(){const _0x1221c9=_0x10fc00;if(Ke)return te[_0x1221c9(0x324)];Ke=0x1;const {EMPTY_BUFFER:_0x46d782}=V(),_0xeae9fc=Buffer[Symbol[_0x1221c9(0x1b3)]];function _0x359e99(_0x31652b,_0x179cc0){const _0x34f16d=_0x1221c9;if(_0x31652b['length']===0x0)return _0x46d782;if(_0x31652b[_0x34f16d(0x2fb)]===0x1)return _0x31652b[0x0];const _0x45fd23=Buffer[_0x34f16d(0x1e6)](_0x179cc0);let _0x281ef5=0x0;for(let _0x57f5d3=0x0;_0x57f5d3<_0x31652b[_0x34f16d(0x2fb)];_0x57f5d3++){const _0x4a66f6=_0x31652b[_0x57f5d3];_0x45fd23[_0x34f16d(0x1f3)](_0x4a66f6,_0x281ef5),_0x281ef5+=_0x4a66f6[_0x34f16d(0x2fb)];}return _0x281ef5<_0x179cc0?new _0xeae9fc(_0x45fd23[_0x34f16d(0x1fb)],_0x45fd23['byteOffset'],_0x281ef5):_0x45fd23;}function _0x1a5bad(_0x31047d,_0x306e33,_0x328377,_0x21adce,_0x155d95){for(let _0x1eca4f=0x0;_0x1eca4f<_0x155d95;_0x1eca4f++)_0x328377[_0x21adce+_0x1eca4f]=_0x31047d[_0x1eca4f]^_0x306e33[_0x1eca4f&0x3];}function _0x1f4df7(_0x319673,_0x4a71da){const _0xb24f84=_0x1221c9;for(let _0x3e8089=0x0;_0x3e8089<_0x319673[_0xb24f84(0x2fb)];_0x3e8089++)_0x319673[_0x3e8089]^=_0x4a71da[_0x3e8089&0x3];}function _0x3b4d94(_0x2ec47d){const _0x3a47cb=_0x1221c9;return _0x2ec47d['length']===_0x2ec47d[_0x3a47cb(0x1fb)][_0x3a47cb(0x1ec)]?_0x2ec47d[_0x3a47cb(0x1fb)]:_0x2ec47d[_0x3a47cb(0x1fb)]['slice'](_0x2ec47d[_0x3a47cb(0x254)],_0x2ec47d[_0x3a47cb(0x254)]+_0x2ec47d[_0x3a47cb(0x2fb)]);}function _0x4283b7(_0xfeb16){const _0x222723=_0x1221c9;if(_0x4283b7['readOnly']=!0x0,Buffer[_0x222723(0x2f0)](_0xfeb16))return _0xfeb16;let _0x1bc874;return _0xfeb16 instanceof ArrayBuffer?_0x1bc874=new _0xeae9fc(_0xfeb16):ArrayBuffer[_0x222723(0x253)](_0xfeb16)?_0x1bc874=new _0xeae9fc(_0xfeb16[_0x222723(0x1fb)],_0xfeb16['byteOffset'],_0xfeb16[_0x222723(0x1ec)]):(_0x1bc874=Buffer['from'](_0xfeb16),_0x4283b7[_0x222723(0x27a)]=!0x1),_0x1bc874;}if(te['exports']={'concat':_0x359e99,'mask':_0x1a5bad,'toArrayBuffer':_0x3b4d94,'toBuffer':_0x4283b7,'unmask':_0x1f4df7},!process[_0x1221c9(0x340)][_0x1221c9(0x2e1)])try{const _0x174a6b=Vt;te[_0x1221c9(0x324)][_0x1221c9(0x1f1)]=function(_0x11774d,_0x392c3c,_0x934110,_0x66b3bf,_0x56b761){_0x56b761<0x30?_0x1a5bad(_0x11774d,_0x392c3c,_0x934110,_0x66b3bf,_0x56b761):_0x174a6b['mask'](_0x11774d,_0x392c3c,_0x934110,_0x66b3bf,_0x56b761);},te[_0x1221c9(0x324)][_0x1221c9(0x2a1)]=function(_0x25ee65,_0x284599){const _0x39e532=_0x1221c9;_0x25ee65[_0x39e532(0x2fb)]<0x20?_0x1f4df7(_0x25ee65,_0x284599):_0x174a6b[_0x39e532(0x2a1)](_0x25ee65,_0x284599);};}catch{}return te[_0x1221c9(0x324)];}var ye,Xe;function qt(){const _0x2af353=_0x10fc00;if(Xe)return ye;Xe=0x1;const _0x4c1e0a=Symbol(_0x2af353(0x26a)),_0x577746=Symbol(_0x2af353(0x222));class _0x59b80b{constructor(_0x305bb4){const _0x569c80=_0x2af353;this[_0x4c1e0a]=()=>{const _0x172491=_0x315a;this[_0x172491(0x1f5)]--,this[_0x577746]();},this[_0x569c80(0x302)]=_0x305bb4||0x1/0x0,this[_0x569c80(0x1a6)]=[],this['pending']=0x0;}[_0x2af353(0x347)](_0x429aa0){const _0x1e88f4=_0x2af353;this[_0x1e88f4(0x1a6)][_0x1e88f4(0x300)](_0x429aa0),this[_0x577746]();}[_0x577746](){const _0x38402f=_0x2af353;if(this['pending']!==this['concurrency']&&this[_0x38402f(0x1a6)]['length']){const _0x13ec64=this[_0x38402f(0x1a6)][_0x38402f(0x1a9)]();this[_0x38402f(0x1f5)]++,_0x13ec64(this[_0x4c1e0a]);}}}return ye=_0x59b80b,ye;}var ve,Ze;function he(){const _0x32dfd5=_0x10fc00;if(Ze)return ve;Ze=0x1;const _0x5a2696=_0x2aab01,_0x44d6d2=ce(),_0x2ab529=qt(),{kStatusCode:_0x395db0}=V(),_0x4f37f8=Buffer[Symbol['species']],_0x323575=Buffer[_0x32dfd5(0x305)]([0x0,0x0,0xff,0xff]),_0x3e6afe=Symbol(_0x32dfd5(0x2d5)),_0x2254d6=Symbol(_0x32dfd5(0x25e)),_0x310ff2=Symbol(_0x32dfd5(0x1aa)),_0x4d0664=Symbol(_0x32dfd5(0x2c7)),_0x19d293=Symbol(_0x32dfd5(0x30f));let _0x43b609;class _0x1161cb{constructor(_0x431991,_0x45459f,_0x2f09e7){const _0x38be9c=_0x32dfd5;if(this[_0x38be9c(0x29c)]=_0x2f09e7|0x0,this['_options']=_0x431991||{},this[_0x38be9c(0x29d)]=this['_options'][_0x38be9c(0x1df)]!==void 0x0?this[_0x38be9c(0x1fc)][_0x38be9c(0x1df)]:0x400,this[_0x38be9c(0x338)]=!!_0x45459f,this['_deflate']=null,this[_0x38be9c(0x1e0)]=null,this[_0x38be9c(0x1f4)]=null,!_0x43b609){const _0x209699=this[_0x38be9c(0x1fc)][_0x38be9c(0x2b2)]!==void 0x0?this[_0x38be9c(0x1fc)][_0x38be9c(0x2b2)]:0xa;_0x43b609=new _0x2ab529(_0x209699);}}static get[_0x32dfd5(0x2df)](){return'permessage-deflate';}[_0x32dfd5(0x21e)](){const _0x37808a=_0x32dfd5,_0x47008f={};return this[_0x37808a(0x1fc)][_0x37808a(0x2cf)]&&(_0x47008f[_0x37808a(0x297)]=!0x0),this[_0x37808a(0x1fc)][_0x37808a(0x1ba)]&&(_0x47008f[_0x37808a(0x243)]=!0x0),this[_0x37808a(0x1fc)][_0x37808a(0x358)]&&(_0x47008f['server_max_window_bits']=this['_options'][_0x37808a(0x358)]),this['_options']['clientMaxWindowBits']?_0x47008f[_0x37808a(0x293)]=this[_0x37808a(0x1fc)]['clientMaxWindowBits']:this[_0x37808a(0x1fc)][_0x37808a(0x34f)]==null&&(_0x47008f['client_max_window_bits']=!0x0),_0x47008f;}[_0x32dfd5(0x2bd)](_0x4c3fb8){const _0x3c0ca2=_0x32dfd5;return _0x4c3fb8=this[_0x3c0ca2(0x2d0)](_0x4c3fb8),this[_0x3c0ca2(0x1f4)]=this['_isServer']?this[_0x3c0ca2(0x22d)](_0x4c3fb8):this['acceptAsClient'](_0x4c3fb8),this[_0x3c0ca2(0x1f4)];}[_0x32dfd5(0x318)](){const _0x49c93d=_0x32dfd5;if(this[_0x49c93d(0x1e0)]&&(this[_0x49c93d(0x1e0)][_0x49c93d(0x1af)](),this[_0x49c93d(0x1e0)]=null),this[_0x49c93d(0x333)]){const _0x3071cd=this[_0x49c93d(0x333)][_0x310ff2];this[_0x49c93d(0x333)]['close'](),this['_deflate']=null,_0x3071cd&&_0x3071cd(new Error(_0x49c93d(0x279)));}}[_0x32dfd5(0x22d)](_0x1252e7){const _0x394df0=_0x32dfd5,_0x5c25d4=this[_0x394df0(0x1fc)],_0x140c00=_0x1252e7[_0x394df0(0x1b7)](_0x33313c=>!(_0x5c25d4[_0x394df0(0x2cf)]===!0x1&&_0x33313c['server_no_context_takeover']||_0x33313c['server_max_window_bits']&&(_0x5c25d4[_0x394df0(0x358)]===!0x1||typeof _0x5c25d4[_0x394df0(0x358)]==_0x394df0(0x1b9)&&_0x5c25d4[_0x394df0(0x358)]>_0x33313c[_0x394df0(0x239)])||typeof _0x5c25d4[_0x394df0(0x34f)]==_0x394df0(0x1b9)&&!_0x33313c['client_max_window_bits']));if(!_0x140c00)throw new Error(_0x394df0(0x2bc));return _0x5c25d4[_0x394df0(0x2cf)]&&(_0x140c00[_0x394df0(0x297)]=!0x0),_0x5c25d4['clientNoContextTakeover']&&(_0x140c00[_0x394df0(0x243)]=!0x0),typeof _0x5c25d4['serverMaxWindowBits']==_0x394df0(0x1b9)&&(_0x140c00[_0x394df0(0x239)]=_0x5c25d4[_0x394df0(0x358)]),typeof _0x5c25d4[_0x394df0(0x34f)]==_0x394df0(0x1b9)?_0x140c00[_0x394df0(0x293)]=_0x5c25d4['clientMaxWindowBits']:(_0x140c00[_0x394df0(0x293)]===!0x0||_0x5c25d4[_0x394df0(0x34f)]===!0x1)&&delete _0x140c00[_0x394df0(0x293)],_0x140c00;}['acceptAsClient'](_0x2c076c){const _0x43d531=_0x32dfd5,_0x52eb7f=_0x2c076c[0x0];if(this['_options'][_0x43d531(0x1ba)]===!0x1&&_0x52eb7f[_0x43d531(0x243)])throw new Error(_0x43d531(0x1e7));if(!_0x52eb7f[_0x43d531(0x293)])typeof this[_0x43d531(0x1fc)][_0x43d531(0x34f)]==_0x43d531(0x1b9)&&(_0x52eb7f['client_max_window_bits']=this['_options'][_0x43d531(0x34f)]);else{if(this[_0x43d531(0x1fc)]['clientMaxWindowBits']===!0x1||typeof this[_0x43d531(0x1fc)][_0x43d531(0x34f)]==_0x43d531(0x1b9)&&_0x52eb7f[_0x43d531(0x293)]>this[_0x43d531(0x1fc)][_0x43d531(0x34f)])throw new Error(_0x43d531(0x1c6));}return _0x52eb7f;}[_0x32dfd5(0x2d0)](_0x2a7c15){const _0x17b358=_0x32dfd5;return _0x2a7c15[_0x17b358(0x260)](_0x3bad31=>{const _0x567da8=_0x17b358;Object[_0x567da8(0x1a2)](_0x3bad31)[_0x567da8(0x260)](_0x45e65e=>{const _0x41bab9=_0x567da8;let _0x170a88=_0x3bad31[_0x45e65e];if(_0x170a88['length']>0x1)throw new Error(_0x41bab9(0x1f9)+_0x45e65e+_0x41bab9(0x290));if(_0x170a88=_0x170a88[0x0],_0x45e65e===_0x41bab9(0x293)){if(_0x170a88!==!0x0){const _0x218840=+_0x170a88;if(!Number[_0x41bab9(0x1c4)](_0x218840)||_0x218840<0x8||_0x218840>0xf)throw new TypeError(_0x41bab9(0x28f)+_0x45e65e+_0x41bab9(0x1e3)+_0x170a88);_0x170a88=_0x218840;}else{if(!this[_0x41bab9(0x338)])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x45e65e+_0x41bab9(0x1e3)+_0x170a88);}}else{if(_0x45e65e===_0x41bab9(0x239)){const _0x4d70c5=+_0x170a88;if(!Number[_0x41bab9(0x1c4)](_0x4d70c5)||_0x4d70c5<0x8||_0x4d70c5>0xf)throw new TypeError(_0x41bab9(0x28f)+_0x45e65e+'\x22:\x20'+_0x170a88);_0x170a88=_0x4d70c5;}else{if(_0x45e65e==='client_no_context_takeover'||_0x45e65e===_0x41bab9(0x297)){if(_0x170a88!==!0x0)throw new TypeError(_0x41bab9(0x28f)+_0x45e65e+_0x41bab9(0x1e3)+_0x170a88);}else throw new Error(_0x41bab9(0x2ef)+_0x45e65e+'\x22');}}_0x3bad31[_0x45e65e]=_0x170a88;});}),_0x2a7c15;}[_0x32dfd5(0x203)](_0x5588f4,_0x3f7d22,_0x5bbb8f){const _0x183b30=_0x32dfd5;_0x43b609[_0x183b30(0x347)](_0x16077a=>{const _0x4e5ed7=_0x183b30;this[_0x4e5ed7(0x20e)](_0x5588f4,_0x3f7d22,(_0x2f98bd,_0x1af2b8)=>{_0x16077a(),_0x5bbb8f(_0x2f98bd,_0x1af2b8);});});}['compress'](_0x37a00b,_0x26178f,_0x45f9cf){const _0x3caacb=_0x32dfd5;_0x43b609[_0x3caacb(0x347)](_0x3fcea1=>{const _0x377c6b=_0x3caacb;this[_0x377c6b(0x288)](_0x37a00b,_0x26178f,(_0x22c918,_0x236738)=>{_0x3fcea1(),_0x45f9cf(_0x22c918,_0x236738);});});}[_0x32dfd5(0x20e)](_0x114777,_0x4a6584,_0x5c4099){const _0x240083=_0x32dfd5,_0x1fa05b=this[_0x240083(0x338)]?_0x240083(0x2cc):_0x240083(0x336);if(!this['_inflate']){const _0xfce781=_0x1fa05b+_0x240083(0x34a),_0x34665=typeof this['params'][_0xfce781]!=_0x240083(0x1b9)?_0x5a2696['Z_DEFAULT_WINDOWBITS']:this[_0x240083(0x1f4)][_0xfce781];this['_inflate']=_0x5a2696[_0x240083(0x22f)]({...this[_0x240083(0x1fc)][_0x240083(0x2b6)],'windowBits':_0x34665}),this[_0x240083(0x1e0)][_0x3e6afe]=this,this['_inflate'][_0x2254d6]=0x0,this[_0x240083(0x1e0)][_0x4d0664]=[],this['_inflate']['on'](_0x240083(0x30f),_0x5d1572),this[_0x240083(0x1e0)]['on'](_0x240083(0x2d8),_0x24e455);}this[_0x240083(0x1e0)][_0x310ff2]=_0x5c4099,this[_0x240083(0x1e0)][_0x240083(0x20c)](_0x114777),_0x4a6584&&this[_0x240083(0x1e0)]['write'](_0x323575),this[_0x240083(0x1e0)]['flush'](()=>{const _0x4ee6ec=_0x240083,_0x411fdd=this[_0x4ee6ec(0x1e0)][_0x19d293];if(_0x411fdd){this['_inflate'][_0x4ee6ec(0x1af)](),this['_inflate']=null,_0x5c4099(_0x411fdd);return;}const _0x317458=_0x44d6d2[_0x4ee6ec(0x29f)](this[_0x4ee6ec(0x1e0)][_0x4d0664],this[_0x4ee6ec(0x1e0)][_0x2254d6]);this['_inflate'][_0x4ee6ec(0x208)]['endEmitted']?(this[_0x4ee6ec(0x1e0)][_0x4ee6ec(0x1af)](),this[_0x4ee6ec(0x1e0)]=null):(this[_0x4ee6ec(0x1e0)][_0x2254d6]=0x0,this[_0x4ee6ec(0x1e0)][_0x4d0664]=[],_0x4a6584&&this[_0x4ee6ec(0x1f4)][_0x1fa05b+_0x4ee6ec(0x2f3)]&&this[_0x4ee6ec(0x1e0)][_0x4ee6ec(0x250)]()),_0x5c4099(null,_0x317458);});}[_0x32dfd5(0x288)](_0x3181d1,_0x531b64,_0x3f8f2b){const _0x14d5f3=_0x32dfd5,_0x5744d2=this[_0x14d5f3(0x338)]?_0x14d5f3(0x336):_0x14d5f3(0x2cc);if(!this[_0x14d5f3(0x333)]){const _0x510429=_0x5744d2+_0x14d5f3(0x34a),_0x157afb=typeof this[_0x14d5f3(0x1f4)][_0x510429]!='number'?_0x5a2696[_0x14d5f3(0x1bc)]:this[_0x14d5f3(0x1f4)][_0x510429];this[_0x14d5f3(0x333)]=_0x5a2696[_0x14d5f3(0x246)]({...this[_0x14d5f3(0x1fc)][_0x14d5f3(0x2bb)],'windowBits':_0x157afb}),this[_0x14d5f3(0x333)][_0x2254d6]=0x0,this[_0x14d5f3(0x333)][_0x4d0664]=[],this[_0x14d5f3(0x333)]['on'](_0x14d5f3(0x2d8),_0xa32101);}this[_0x14d5f3(0x333)][_0x310ff2]=_0x3f8f2b,this[_0x14d5f3(0x333)][_0x14d5f3(0x20c)](_0x3181d1),this['_deflate'][_0x14d5f3(0x224)](_0x5a2696[_0x14d5f3(0x308)],()=>{const _0x3cd635=_0x14d5f3;if(!this[_0x3cd635(0x333)])return;let _0x3706e5=_0x44d6d2[_0x3cd635(0x29f)](this[_0x3cd635(0x333)][_0x4d0664],this['_deflate'][_0x2254d6]);_0x531b64&&(_0x3706e5=new _0x4f37f8(_0x3706e5[_0x3cd635(0x1fb)],_0x3706e5['byteOffset'],_0x3706e5['length']-0x4)),this['_deflate'][_0x310ff2]=null,this[_0x3cd635(0x333)][_0x2254d6]=0x0,this[_0x3cd635(0x333)][_0x4d0664]=[],_0x531b64&&this[_0x3cd635(0x1f4)][_0x5744d2+_0x3cd635(0x2f3)]&&this[_0x3cd635(0x333)][_0x3cd635(0x250)](),_0x3f8f2b(null,_0x3706e5);});}}ve=_0x1161cb;function _0xa32101(_0x24c5a2){const _0x3d4337=_0x32dfd5;this[_0x4d0664]['push'](_0x24c5a2),this[_0x2254d6]+=_0x24c5a2[_0x3d4337(0x2fb)];}function _0x24e455(_0x528163){const _0x2a0539=_0x32dfd5;if(this[_0x2254d6]+=_0x528163[_0x2a0539(0x2fb)],this[_0x3e6afe]['_maxPayload']<0x1||this[_0x2254d6]<=this[_0x3e6afe][_0x2a0539(0x29c)]){this[_0x4d0664]['push'](_0x528163);return;}this[_0x19d293]=new RangeError('Max\x20payload\x20size\x20exceeded'),this[_0x19d293][_0x2a0539(0x322)]=_0x2a0539(0x26f),this[_0x19d293][_0x395db0]=0x3f1,this[_0x2a0539(0x237)](_0x2a0539(0x2d8),_0x24e455),this[_0x2a0539(0x250)]();}function _0x5d1572(_0x452f6c){if(this[_0x3e6afe]['_inflate']=null,this[_0x19d293]){this[_0x310ff2](this[_0x19d293]);return;}_0x452f6c[_0x395db0]=0x3ef,this[_0x310ff2](_0x452f6c);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x10fc00(0x2ae)](Object[_0x10fc00(0x356)]({'__proto__':null,'default':Ht},Symbol[_0x10fc00(0x1f2)],{'value':_0x10fc00(0x2cd)})),Yt=ut(zt);var Qe;function ne(){const _0x49c881=_0x10fc00;if(Qe)return re[_0x49c881(0x324)];Qe=0x1;const {isUtf8:_0x2d3be5}=_0x33d481,{hasBlob:_0x5bc027}=V(),_0x348c0f=[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 _0x5abbd9(_0x40cc24){return _0x40cc24>=0x3e8&&_0x40cc24<=0x3f6&&_0x40cc24!==0x3ec&&_0x40cc24!==0x3ed&&_0x40cc24!==0x3ee||_0x40cc24>=0xbb8&&_0x40cc24<=0x1387;}function _0x3a54af(_0x36a454){const _0x3304a7=_0x36a454['length'];let _0x5ee475=0x0;for(;_0x5ee475<_0x3304a7;)if((_0x36a454[_0x5ee475]&0x80)===0x0)_0x5ee475++;else{if((_0x36a454[_0x5ee475]&0xe0)===0xc0){if(_0x5ee475+0x1===_0x3304a7||(_0x36a454[_0x5ee475+0x1]&0xc0)!==0x80||(_0x36a454[_0x5ee475]&0xfe)===0xc0)return!0x1;_0x5ee475+=0x2;}else{if((_0x36a454[_0x5ee475]&0xf0)===0xe0){if(_0x5ee475+0x2>=_0x3304a7||(_0x36a454[_0x5ee475+0x1]&0xc0)!==0x80||(_0x36a454[_0x5ee475+0x2]&0xc0)!==0x80||_0x36a454[_0x5ee475]===0xe0&&(_0x36a454[_0x5ee475+0x1]&0xe0)===0x80||_0x36a454[_0x5ee475]===0xed&&(_0x36a454[_0x5ee475+0x1]&0xe0)===0xa0)return!0x1;_0x5ee475+=0x3;}else{if((_0x36a454[_0x5ee475]&0xf8)===0xf0){if(_0x5ee475+0x3>=_0x3304a7||(_0x36a454[_0x5ee475+0x1]&0xc0)!==0x80||(_0x36a454[_0x5ee475+0x2]&0xc0)!==0x80||(_0x36a454[_0x5ee475+0x3]&0xc0)!==0x80||_0x36a454[_0x5ee475]===0xf0&&(_0x36a454[_0x5ee475+0x1]&0xf0)===0x80||_0x36a454[_0x5ee475]===0xf4&&_0x36a454[_0x5ee475+0x1]>0x8f||_0x36a454[_0x5ee475]>0xf4)return!0x1;_0x5ee475+=0x4;}else return!0x1;}}}return!0x0;}function _0x21d0dd(_0x32e640){const _0x53a1f2=_0x49c881;return _0x5bc027&&typeof _0x32e640==_0x53a1f2(0x218)&&typeof _0x32e640[_0x53a1f2(0x2ff)]==_0x53a1f2(0x33a)&&typeof _0x32e640[_0x53a1f2(0x27b)]==_0x53a1f2(0x1fd)&&typeof _0x32e640[_0x53a1f2(0x266)]==_0x53a1f2(0x33a)&&(_0x32e640[Symbol['toStringTag']]==='Blob'||_0x32e640[Symbol[_0x53a1f2(0x1f2)]]==='File');}if(re['exports']={'isBlob':_0x21d0dd,'isValidStatusCode':_0x5abbd9,'isValidUTF8':_0x3a54af,'tokenChars':_0x348c0f},_0x2d3be5)re[_0x49c881(0x324)][_0x49c881(0x289)]=function(_0x56c7be){const _0x4884fe=_0x49c881;return _0x56c7be[_0x4884fe(0x2fb)]<0x18?_0x3a54af(_0x56c7be):_0x2d3be5(_0x56c7be);};else{if(!process[_0x49c881(0x340)][_0x49c881(0x24e)])try{const _0x2952b4=Yt;re[_0x49c881(0x324)][_0x49c881(0x289)]=function(_0x4eb441){const _0x3fee71=_0x49c881;return _0x4eb441[_0x3fee71(0x2fb)]<0x20?_0x3a54af(_0x4eb441):_0x2952b4(_0x4eb441);};}catch{}}return re[_0x49c881(0x324)];}var Se,Je;function dt(){const _0x2436be=_0x10fc00;if(Je)return Se;Je=0x1;const {Writable:_0x37fdec}=_0x3a313f,_0x2096ed=he(),{BINARY_TYPES:_0x43a073,EMPTY_BUFFER:_0x4fbe57,kStatusCode:_0x50d4c9,kWebSocket:_0x4f02c9}=V(),{concat:_0x10563d,toArrayBuffer:_0x2e180a,unmask:_0x3d92f7}=ce(),{isValidStatusCode:_0x305a7a,isValidUTF8:_0x44c1e2}=ne(),_0x226fec=Buffer[Symbol[_0x2436be(0x1b3)]],_0xa27113=0x0,_0x46d26f=0x1,_0x427a48=0x2,_0x19fb91=0x3,_0xa9036e=0x4,_0x543a9f=0x5,_0x4d2705=0x6;class _0x507fd3 extends _0x37fdec{constructor(_0x33264f={}){const _0x1e594e=_0x2436be;super(),this[_0x1e594e(0x2d1)]=_0x33264f[_0x1e594e(0x2a4)]!==void 0x0?_0x33264f[_0x1e594e(0x2a4)]:!0x0,this['_binaryType']=_0x33264f[_0x1e594e(0x2db)]||_0x43a073[0x0],this['_extensions']=_0x33264f[_0x1e594e(0x278)]||{},this[_0x1e594e(0x338)]=!!_0x33264f[_0x1e594e(0x1fa)],this[_0x1e594e(0x29c)]=_0x33264f[_0x1e594e(0x287)]|0x0,this[_0x1e594e(0x226)]=!!_0x33264f[_0x1e594e(0x1db)],this[_0x4f02c9]=void 0x0,this['_bufferedBytes']=0x0,this[_0x1e594e(0x335)]=[],this[_0x1e594e(0x230)]=!0x1,this[_0x1e594e(0x23e)]=0x0,this[_0x1e594e(0x22c)]=void 0x0,this[_0x1e594e(0x1e8)]=0x0,this[_0x1e594e(0x31d)]=!0x1,this[_0x1e594e(0x291)]=!0x1,this[_0x1e594e(0x2f5)]=0x0,this[_0x1e594e(0x307)]=0x0,this[_0x1e594e(0x2f8)]=0x0,this[_0x1e594e(0x2ce)]=[],this['_errored']=!0x1,this[_0x1e594e(0x313)]=!0x1,this[_0x1e594e(0x216)]=_0xa27113;}['_write'](_0x5d75fc,_0xb560ff,_0x5bb7b0){const _0x2556a1=_0x2436be;if(this['_opcode']===0x8&&this[_0x2556a1(0x216)]==_0xa27113)return _0x5bb7b0();this[_0x2556a1(0x242)]+=_0x5d75fc['length'],this[_0x2556a1(0x335)][_0x2556a1(0x300)](_0x5d75fc),this[_0x2556a1(0x271)](_0x5bb7b0);}[_0x2436be(0x262)](_0x2cfdce){const _0x5e4388=_0x2436be;if(this['_bufferedBytes']-=_0x2cfdce,_0x2cfdce===this['_buffers'][0x0][_0x5e4388(0x2fb)])return this[_0x5e4388(0x335)]['shift']();if(_0x2cfdce<this['_buffers'][0x0][_0x5e4388(0x2fb)]){const _0x58d3c5=this[_0x5e4388(0x335)][0x0];return this[_0x5e4388(0x335)][0x0]=new _0x226fec(_0x58d3c5[_0x5e4388(0x1fb)],_0x58d3c5['byteOffset']+_0x2cfdce,_0x58d3c5['length']-_0x2cfdce),new _0x226fec(_0x58d3c5[_0x5e4388(0x1fb)],_0x58d3c5[_0x5e4388(0x254)],_0x2cfdce);}const _0x3c90fb=Buffer['allocUnsafe'](_0x2cfdce);do{const _0x26e716=this[_0x5e4388(0x335)][0x0],_0x44a1d0=_0x3c90fb[_0x5e4388(0x2fb)]-_0x2cfdce;_0x2cfdce>=_0x26e716[_0x5e4388(0x2fb)]?_0x3c90fb[_0x5e4388(0x1f3)](this[_0x5e4388(0x335)][_0x5e4388(0x1a9)](),_0x44a1d0):(_0x3c90fb[_0x5e4388(0x1f3)](new Uint8Array(_0x26e716['buffer'],_0x26e716['byteOffset'],_0x2cfdce),_0x44a1d0),this[_0x5e4388(0x335)][0x0]=new _0x226fec(_0x26e716[_0x5e4388(0x1fb)],_0x26e716[_0x5e4388(0x254)]+_0x2cfdce,_0x26e716[_0x5e4388(0x2fb)]-_0x2cfdce)),_0x2cfdce-=_0x26e716[_0x5e4388(0x2fb)];}while(_0x2cfdce>0x0);return _0x3c90fb;}[_0x2436be(0x271)](_0x332b42){const _0x5225c1=_0x2436be;this[_0x5225c1(0x313)]=!0x0;do switch(this[_0x5225c1(0x216)]){case _0xa27113:this[_0x5225c1(0x1e2)](_0x332b42);break;case _0x46d26f:this[_0x5225c1(0x281)](_0x332b42);break;case _0x427a48:this['getPayloadLength64'](_0x332b42);break;case _0x19fb91:this[_0x5225c1(0x23c)]();break;case _0xa9036e:this[_0x5225c1(0x231)](_0x332b42);break;case _0x543a9f:case _0x4d2705:this[_0x5225c1(0x313)]=!0x1;return;}while(this[_0x5225c1(0x313)]);this['_errored']||_0x332b42();}[_0x2436be(0x1e2)](_0xf5d0a4){const _0x52d65e=_0x2436be;if(this[_0x52d65e(0x242)]<0x2){this[_0x52d65e(0x313)]=!0x1;return;}const _0x33cff1=this[_0x52d65e(0x262)](0x2);if((_0x33cff1[0x0]&0x30)!==0x0){const _0x28114c=this[_0x52d65e(0x245)](RangeError,_0x52d65e(0x20f),!0x0,0x3ea,_0x52d65e(0x31e));_0xf5d0a4(_0x28114c);return;}const _0x103dd5=(_0x33cff1[0x0]&0x40)===0x40;if(_0x103dd5&&!this[_0x52d65e(0x1dd)][_0x2096ed[_0x52d65e(0x2df)]]){const _0x49f733=this[_0x52d65e(0x245)](RangeError,_0x52d65e(0x2a8),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0xf5d0a4(_0x49f733);return;}if(this['_fin']=(_0x33cff1[0x0]&0x80)===0x80,this[_0x52d65e(0x2f5)]=_0x33cff1[0x0]&0xf,this[_0x52d65e(0x23e)]=_0x33cff1[0x1]&0x7f,this['_opcode']===0x0){if(_0x103dd5){const _0x231142=this[_0x52d65e(0x245)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x52d65e(0x1ee));_0xf5d0a4(_0x231142);return;}if(!this[_0x52d65e(0x1e8)]){const _0x1fe452=this[_0x52d65e(0x245)](RangeError,_0x52d65e(0x241),!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0xf5d0a4(_0x1fe452);return;}this['_opcode']=this[_0x52d65e(0x1e8)];}else{if(this[_0x52d65e(0x2f5)]===0x1||this[_0x52d65e(0x2f5)]===0x2){if(this['_fragmented']){const _0x4b4d6f=this[_0x52d65e(0x245)](RangeError,_0x52d65e(0x2ba)+this[_0x52d65e(0x2f5)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0xf5d0a4(_0x4b4d6f);return;}this[_0x52d65e(0x230)]=_0x103dd5;}else{if(this[_0x52d65e(0x2f5)]>0x7&&this[_0x52d65e(0x2f5)]<0xb){if(!this[_0x52d65e(0x291)]){const _0x3b4542=this['createError'](RangeError,_0x52d65e(0x2ed),!0x0,0x3ea,_0x52d65e(0x2a0));_0xf5d0a4(_0x3b4542);return;}if(_0x103dd5){const _0x4375c9=this[_0x52d65e(0x245)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x52d65e(0x1ee));_0xf5d0a4(_0x4375c9);return;}if(this['_payloadLength']>0x7d||this[_0x52d65e(0x2f5)]===0x8&&this[_0x52d65e(0x23e)]===0x1){const _0x2ab451=this[_0x52d65e(0x245)](RangeError,_0x52d65e(0x229)+this[_0x52d65e(0x23e)],!0x0,0x3ea,'WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH');_0xf5d0a4(_0x2ab451);return;}}else{const _0x571fa7=this['createError'](RangeError,_0x52d65e(0x2ba)+this['_opcode'],!0x0,0x3ea,_0x52d65e(0x1fe));_0xf5d0a4(_0x571fa7);return;}}}if(!this[_0x52d65e(0x291)]&&!this[_0x52d65e(0x1e8)]&&(this[_0x52d65e(0x1e8)]=this[_0x52d65e(0x2f5)]),this[_0x52d65e(0x31d)]=(_0x33cff1[0x1]&0x80)===0x80,this['_isServer']){if(!this[_0x52d65e(0x31d)]){const _0x1c15ab=this['createError'](RangeError,_0x52d65e(0x244),!0x0,0x3ea,_0x52d65e(0x25c));_0xf5d0a4(_0x1c15ab);return;}}else{if(this[_0x52d65e(0x31d)]){const _0x58dfcf=this[_0x52d65e(0x245)](RangeError,'MASK\x20must\x20be\x20clear',!0x0,0x3ea,_0x52d65e(0x352));_0xf5d0a4(_0x58dfcf);return;}}this[_0x52d65e(0x23e)]===0x7e?this[_0x52d65e(0x216)]=_0x46d26f:this[_0x52d65e(0x23e)]===0x7f?this[_0x52d65e(0x216)]=_0x427a48:this['haveLength'](_0xf5d0a4);}['getPayloadLength16'](_0x514db8){const _0xbec48b=_0x2436be;if(this['_bufferedBytes']<0x2){this[_0xbec48b(0x313)]=!0x1;return;}this[_0xbec48b(0x23e)]=this[_0xbec48b(0x262)](0x2)[_0xbec48b(0x32e)](0x0),this[_0xbec48b(0x1b0)](_0x514db8);}[_0x2436be(0x294)](_0x2d8278){const _0x31f638=_0x2436be;if(this[_0x31f638(0x242)]<0x8){this['_loop']=!0x1;return;}const _0x4b4743=this['consume'](0x8),_0x946751=_0x4b4743['readUInt32BE'](0x0);if(_0x946751>Math[_0x31f638(0x28d)](0x2,0x15)-0x1){const _0x582764=this[_0x31f638(0x245)](RangeError,_0x31f638(0x258),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH');_0x2d8278(_0x582764);return;}this[_0x31f638(0x23e)]=_0x946751*Math[_0x31f638(0x28d)](0x2,0x20)+_0x4b4743[_0x31f638(0x2d3)](0x4),this['haveLength'](_0x2d8278);}['haveLength'](_0x3b12f2){const _0x1ccbd3=_0x2436be;if(this[_0x1ccbd3(0x23e)]&&this['_opcode']<0x8&&(this[_0x1ccbd3(0x307)]+=this[_0x1ccbd3(0x23e)],this[_0x1ccbd3(0x307)]>this[_0x1ccbd3(0x29c)]&&this['_maxPayload']>0x0)){const _0x5ebb39=this[_0x1ccbd3(0x245)](RangeError,_0x1ccbd3(0x353),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x3b12f2(_0x5ebb39);return;}this[_0x1ccbd3(0x31d)]?this['_state']=_0x19fb91:this['_state']=_0xa9036e;}[_0x2436be(0x23c)](){const _0x538aa8=_0x2436be;if(this[_0x538aa8(0x242)]<0x4){this['_loop']=!0x1;return;}this[_0x538aa8(0x22c)]=this[_0x538aa8(0x262)](0x4),this[_0x538aa8(0x216)]=_0xa9036e;}[_0x2436be(0x231)](_0x298490){const _0x13666e=_0x2436be;let _0x10c1cb=_0x4fbe57;if(this[_0x13666e(0x23e)]){if(this[_0x13666e(0x242)]<this['_payloadLength']){this[_0x13666e(0x313)]=!0x1;return;}_0x10c1cb=this[_0x13666e(0x262)](this[_0x13666e(0x23e)]),this[_0x13666e(0x31d)]&&(this[_0x13666e(0x22c)][0x0]|this[_0x13666e(0x22c)][0x1]|this['_mask'][0x2]|this[_0x13666e(0x22c)][0x3])!==0x0&&_0x3d92f7(_0x10c1cb,this[_0x13666e(0x22c)]);}if(this[_0x13666e(0x2f5)]>0x7){this[_0x13666e(0x214)](_0x10c1cb,_0x298490);return;}if(this[_0x13666e(0x230)]){this[_0x13666e(0x216)]=_0x543a9f,this[_0x13666e(0x203)](_0x10c1cb,_0x298490);return;}_0x10c1cb[_0x13666e(0x2fb)]&&(this[_0x13666e(0x2f8)]=this[_0x13666e(0x307)],this[_0x13666e(0x2ce)][_0x13666e(0x300)](_0x10c1cb)),this[_0x13666e(0x1bd)](_0x298490);}[_0x2436be(0x203)](_0x55b15e,_0x3582cd){const _0x5807ae=_0x2436be;this['_extensions'][_0x2096ed[_0x5807ae(0x2df)]][_0x5807ae(0x203)](_0x55b15e,this[_0x5807ae(0x291)],(_0x114e0f,_0x27c655)=>{const _0x31bd03=_0x5807ae;if(_0x114e0f)return _0x3582cd(_0x114e0f);if(_0x27c655[_0x31bd03(0x2fb)]){if(this['_messageLength']+=_0x27c655[_0x31bd03(0x2fb)],this[_0x31bd03(0x2f8)]>this[_0x31bd03(0x29c)]&&this[_0x31bd03(0x29c)]>0x0){const _0x1b4c75=this['createError'](RangeError,_0x31bd03(0x353),!0x1,0x3f1,_0x31bd03(0x26f));_0x3582cd(_0x1b4c75);return;}this[_0x31bd03(0x2ce)][_0x31bd03(0x300)](_0x27c655);}this[_0x31bd03(0x1bd)](_0x3582cd),this['_state']===_0xa27113&&this['startLoop'](_0x3582cd);});}[_0x2436be(0x1bd)](_0x290fb5){const _0x2db25d=_0x2436be;if(!this[_0x2db25d(0x291)]){this[_0x2db25d(0x216)]=_0xa27113;return;}const _0x228760=this[_0x2db25d(0x2f8)],_0x1273d2=this[_0x2db25d(0x2ce)];if(this[_0x2db25d(0x307)]=0x0,this[_0x2db25d(0x2f8)]=0x0,this[_0x2db25d(0x1e8)]=0x0,this[_0x2db25d(0x2ce)]=[],this[_0x2db25d(0x2f5)]===0x2){let _0x58f016;this[_0x2db25d(0x319)]===_0x2db25d(0x2a2)?_0x58f016=_0x10563d(_0x1273d2,_0x228760):this['_binaryType']===_0x2db25d(0x35c)?_0x58f016=_0x2e180a(_0x10563d(_0x1273d2,_0x228760)):this[_0x2db25d(0x319)]==='blob'?_0x58f016=new Blob(_0x1273d2):_0x58f016=_0x1273d2,this['_allowSynchronousEvents']?(this[_0x2db25d(0x25b)](_0x2db25d(0x1f8),_0x58f016,!0x0),this[_0x2db25d(0x216)]=_0xa27113):(this[_0x2db25d(0x216)]=_0x4d2705,setImmediate(()=>{const _0x35ec46=_0x2db25d;this[_0x35ec46(0x25b)](_0x35ec46(0x1f8),_0x58f016,!0x0),this[_0x35ec46(0x216)]=_0xa27113,this['startLoop'](_0x290fb5);}));}else{const _0x37be4e=_0x10563d(_0x1273d2,_0x228760);if(!this[_0x2db25d(0x226)]&&!_0x44c1e2(_0x37be4e)){const _0x4c1f61=this[_0x2db25d(0x245)](Error,_0x2db25d(0x2f2),!0x0,0x3ef,_0x2db25d(0x240));_0x290fb5(_0x4c1f61);return;}this[_0x2db25d(0x216)]===_0x543a9f||this['_allowSynchronousEvents']?(this[_0x2db25d(0x25b)](_0x2db25d(0x1f8),_0x37be4e,!0x1),this['_state']=_0xa27113):(this[_0x2db25d(0x216)]=_0x4d2705,setImmediate(()=>{const _0x1142f5=_0x2db25d;this['emit']('message',_0x37be4e,!0x1),this[_0x1142f5(0x216)]=_0xa27113,this['startLoop'](_0x290fb5);}));}}[_0x2436be(0x214)](_0x3336a0,_0x82c8b0){const _0x393ac2=_0x2436be;if(this[_0x393ac2(0x2f5)]===0x8){if(_0x3336a0['length']===0x0)this['_loop']=!0x1,this[_0x393ac2(0x25b)](_0x393ac2(0x323),0x3ed,_0x4fbe57),this[_0x393ac2(0x259)]();else{const _0x12362b=_0x3336a0[_0x393ac2(0x32e)](0x0);if(!_0x305a7a(_0x12362b)){const _0xb04328=this[_0x393ac2(0x245)](RangeError,_0x393ac2(0x329)+_0x12362b,!0x0,0x3ea,_0x393ac2(0x1d3));_0x82c8b0(_0xb04328);return;}const _0x5685c6=new _0x226fec(_0x3336a0['buffer'],_0x3336a0[_0x393ac2(0x254)]+0x2,_0x3336a0[_0x393ac2(0x2fb)]-0x2);if(!this[_0x393ac2(0x226)]&&!_0x44c1e2(_0x5685c6)){const _0x5b5eb6=this[_0x393ac2(0x245)](Error,_0x393ac2(0x2f2),!0x0,0x3ef,_0x393ac2(0x240));_0x82c8b0(_0x5b5eb6);return;}this[_0x393ac2(0x313)]=!0x1,this[_0x393ac2(0x25b)]('conclude',_0x12362b,_0x5685c6),this['end']();}this['_state']=_0xa27113;return;}this[_0x393ac2(0x2d1)]?(this['emit'](this[_0x393ac2(0x2f5)]===0x9?_0x393ac2(0x1dc):'pong',_0x3336a0),this[_0x393ac2(0x216)]=_0xa27113):(this['_state']=_0x4d2705,setImmediate(()=>{const _0x3e7b48=_0x393ac2;this[_0x3e7b48(0x25b)](this[_0x3e7b48(0x2f5)]===0x9?_0x3e7b48(0x1dc):'pong',_0x3336a0),this[_0x3e7b48(0x216)]=_0xa27113,this['startLoop'](_0x82c8b0);}));}[_0x2436be(0x245)](_0x1e2122,_0x4021c0,_0x1e73df,_0x17f5b5,_0x31c23d){const _0x271218=_0x2436be;this[_0x271218(0x313)]=!0x1,this[_0x271218(0x1bf)]=!0x0;const _0x5f46ae=new _0x1e2122(_0x1e73df?'Invalid\x20WebSocket\x20frame:\x20'+_0x4021c0:_0x4021c0);return Error[_0x271218(0x1c1)](_0x5f46ae,this[_0x271218(0x245)]),_0x5f46ae[_0x271218(0x322)]=_0x31c23d,_0x5f46ae[_0x50d4c9]=_0x17f5b5,_0x5f46ae;}}return Se=_0x507fd3,Se;}var Ee,et;function _t(){const _0x489853=_0x10fc00;if(et)return Ee;et=0x1;const {Duplex:_0x1d8487}=_0x3a313f,{randomFillSync:_0xea9f1}=_0x2f069a,_0x5e5acd=he(),{EMPTY_BUFFER:_0x22327c,kWebSocket:_0x3fe8d3,NOOP:_0x45a39f}=V(),{isBlob:_0x3903b5,isValidStatusCode:_0x1d9a13}=ne(),{mask:_0x5de659,toBuffer:_0x1547a1}=ce(),_0x14f652=Symbol(_0x489853(0x32a)),_0x4f2269=Buffer[_0x489853(0x2ab)](0x4),_0x277881=0x8*0x400;let _0x3d5fa4,_0x34a8be=_0x277881;const _0x58fbed=0x0,_0x379698=0x1,_0x2ce2fb=0x2;class _0x1ca94f{constructor(_0x5af8e7,_0x283043,_0x28b5d9){const _0x25eca1=_0x489853;this['_extensions']=_0x283043||{},_0x28b5d9&&(this[_0x25eca1(0x2c4)]=_0x28b5d9,this['_maskBuffer']=Buffer[_0x25eca1(0x2ab)](0x4)),this['_socket']=_0x5af8e7,this['_firstFragment']=!0x0,this[_0x25eca1(0x288)]=!0x1,this[_0x25eca1(0x242)]=0x0,this[_0x25eca1(0x2e7)]=[],this['_state']=_0x58fbed,this[_0x25eca1(0x206)]=_0x45a39f,this[_0x3fe8d3]=void 0x0;}static[_0x489853(0x249)](_0x577d97,_0x376238){const _0x2d54fe=_0x489853;let _0x4799de,_0x31d20f=!0x1,_0x15c090=0x2,_0x398d38=!0x1;_0x376238[_0x2d54fe(0x1f1)]&&(_0x4799de=_0x376238[_0x2d54fe(0x1b1)]||_0x4f2269,_0x376238['generateMask']?_0x376238[_0x2d54fe(0x2f7)](_0x4799de):(_0x34a8be===_0x277881&&(_0x3d5fa4===void 0x0&&(_0x3d5fa4=Buffer['alloc'](_0x277881)),_0xea9f1(_0x3d5fa4,0x0,_0x277881),_0x34a8be=0x0),_0x4799de[0x0]=_0x3d5fa4[_0x34a8be++],_0x4799de[0x1]=_0x3d5fa4[_0x34a8be++],_0x4799de[0x2]=_0x3d5fa4[_0x34a8be++],_0x4799de[0x3]=_0x3d5fa4[_0x34a8be++]),_0x398d38=(_0x4799de[0x0]|_0x4799de[0x1]|_0x4799de[0x2]|_0x4799de[0x3])===0x0,_0x15c090=0x6);let _0xc47b59;typeof _0x577d97==_0x2d54fe(0x1fd)?(!_0x376238[_0x2d54fe(0x1f1)]||_0x398d38)&&_0x376238[_0x14f652]!==void 0x0?_0xc47b59=_0x376238[_0x14f652]:(_0x577d97=Buffer[_0x2d54fe(0x305)](_0x577d97),_0xc47b59=_0x577d97[_0x2d54fe(0x2fb)]):(_0xc47b59=_0x577d97[_0x2d54fe(0x2fb)],_0x31d20f=_0x376238[_0x2d54fe(0x1f1)]&&_0x376238[_0x2d54fe(0x27a)]&&!_0x398d38);let _0x33e813=_0xc47b59;_0xc47b59>=0x10000?(_0x15c090+=0x8,_0x33e813=0x7f):_0xc47b59>0x7d&&(_0x15c090+=0x2,_0x33e813=0x7e);const _0x2a6c44=Buffer[_0x2d54fe(0x1e6)](_0x31d20f?_0xc47b59+_0x15c090:_0x15c090);return _0x2a6c44[0x0]=_0x376238['fin']?_0x376238[_0x2d54fe(0x1a3)]|0x80:_0x376238[_0x2d54fe(0x1a3)],_0x376238[_0x2d54fe(0x34c)]&&(_0x2a6c44[0x0]|=0x40),_0x2a6c44[0x1]=_0x33e813,_0x33e813===0x7e?_0x2a6c44[_0x2d54fe(0x2a5)](_0xc47b59,0x2):_0x33e813===0x7f&&(_0x2a6c44[0x2]=_0x2a6c44[0x3]=0x0,_0x2a6c44[_0x2d54fe(0x247)](_0xc47b59,0x4,0x6)),_0x376238['mask']?(_0x2a6c44[0x1]|=0x80,_0x2a6c44[_0x15c090-0x4]=_0x4799de[0x0],_0x2a6c44[_0x15c090-0x3]=_0x4799de[0x1],_0x2a6c44[_0x15c090-0x2]=_0x4799de[0x2],_0x2a6c44[_0x15c090-0x1]=_0x4799de[0x3],_0x398d38?[_0x2a6c44,_0x577d97]:_0x31d20f?(_0x5de659(_0x577d97,_0x4799de,_0x2a6c44,_0x15c090,_0xc47b59),[_0x2a6c44]):(_0x5de659(_0x577d97,_0x4799de,_0x577d97,0x0,_0xc47b59),[_0x2a6c44,_0x577d97])):[_0x2a6c44,_0x577d97];}['close'](_0x1269ef,_0x1ef1b5,_0x3e3f7c,_0x59dbac){const _0x2f173b=_0x489853;let _0x207310;if(_0x1269ef===void 0x0)_0x207310=_0x22327c;else{if(typeof _0x1269ef!=_0x2f173b(0x1b9)||!_0x1d9a13(_0x1269ef))throw new TypeError(_0x2f173b(0x2ec));if(_0x1ef1b5===void 0x0||!_0x1ef1b5[_0x2f173b(0x2fb)])_0x207310=Buffer['allocUnsafe'](0x2),_0x207310[_0x2f173b(0x2a5)](_0x1269ef,0x0);else{const _0x5bc531=Buffer[_0x2f173b(0x1ec)](_0x1ef1b5);if(_0x5bc531>0x7b)throw new RangeError(_0x2f173b(0x29a));_0x207310=Buffer[_0x2f173b(0x1e6)](0x2+_0x5bc531),_0x207310[_0x2f173b(0x2a5)](_0x1269ef,0x0),typeof _0x1ef1b5==_0x2f173b(0x1fd)?_0x207310[_0x2f173b(0x20c)](_0x1ef1b5,0x2):_0x207310['set'](_0x1ef1b5,0x2);}}const _0x408be7={[_0x14f652]:_0x207310['length'],'fin':!0x0,'generateMask':this[_0x2f173b(0x2c4)],'mask':_0x3e3f7c,'maskBuffer':this[_0x2f173b(0x1b6)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x2f173b(0x216)]!==_0x58fbed?this[_0x2f173b(0x209)]([this[_0x2f173b(0x252)],_0x207310,!0x1,_0x408be7,_0x59dbac]):this[_0x2f173b(0x1d7)](_0x1ca94f[_0x2f173b(0x249)](_0x207310,_0x408be7),_0x59dbac);}[_0x489853(0x1dc)](_0x36802d,_0x37aa17,_0x4bea19){const _0xd835e4=_0x489853;let _0x3679ec,_0x5c6335;if(typeof _0x36802d==_0xd835e4(0x1fd)?(_0x3679ec=Buffer[_0xd835e4(0x1ec)](_0x36802d),_0x5c6335=!0x1):_0x3903b5(_0x36802d)?(_0x3679ec=_0x36802d[_0xd835e4(0x23d)],_0x5c6335=!0x1):(_0x36802d=_0x1547a1(_0x36802d),_0x3679ec=_0x36802d[_0xd835e4(0x2fb)],_0x5c6335=_0x1547a1[_0xd835e4(0x27a)]),_0x3679ec>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x4a1048={[_0x14f652]:_0x3679ec,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x37aa17,'maskBuffer':this['_maskBuffer'],'opcode':0x9,'readOnly':_0x5c6335,'rsv1':!0x1};_0x3903b5(_0x36802d)?this[_0xd835e4(0x216)]!==_0x58fbed?this[_0xd835e4(0x209)]([this[_0xd835e4(0x31f)],_0x36802d,!0x1,_0x4a1048,_0x4bea19]):this[_0xd835e4(0x31f)](_0x36802d,!0x1,_0x4a1048,_0x4bea19):this['_state']!==_0x58fbed?this[_0xd835e4(0x209)]([this[_0xd835e4(0x252)],_0x36802d,!0x1,_0x4a1048,_0x4bea19]):this[_0xd835e4(0x1d7)](_0x1ca94f['frame'](_0x36802d,_0x4a1048),_0x4bea19);}['pong'](_0xcda793,_0x4ed8d8,_0x22b090){const _0x2b0bc9=_0x489853;let _0x584608,_0x2266c1;if(typeof _0xcda793==_0x2b0bc9(0x1fd)?(_0x584608=Buffer[_0x2b0bc9(0x1ec)](_0xcda793),_0x2266c1=!0x1):_0x3903b5(_0xcda793)?(_0x584608=_0xcda793[_0x2b0bc9(0x23d)],_0x2266c1=!0x1):(_0xcda793=_0x1547a1(_0xcda793),_0x584608=_0xcda793['length'],_0x2266c1=_0x1547a1[_0x2b0bc9(0x27a)]),_0x584608>0x7d)throw new RangeError(_0x2b0bc9(0x1d2));const _0x121194={[_0x14f652]:_0x584608,'fin':!0x0,'generateMask':this[_0x2b0bc9(0x2c4)],'mask':_0x4ed8d8,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x2266c1,'rsv1':!0x1};_0x3903b5(_0xcda793)?this[_0x2b0bc9(0x216)]!==_0x58fbed?this[_0x2b0bc9(0x209)]([this['getBlobData'],_0xcda793,!0x1,_0x121194,_0x22b090]):this[_0x2b0bc9(0x31f)](_0xcda793,!0x1,_0x121194,_0x22b090):this[_0x2b0bc9(0x216)]!==_0x58fbed?this['enqueue']([this['dispatch'],_0xcda793,!0x1,_0x121194,_0x22b090]):this[_0x2b0bc9(0x1d7)](_0x1ca94f[_0x2b0bc9(0x249)](_0xcda793,_0x121194),_0x22b090);}['send'](_0xa6f494,_0x58d13e,_0x45ecfd){const _0x47a706=_0x489853,_0x14438b=this[_0x47a706(0x1dd)][_0x5e5acd[_0x47a706(0x2df)]];let _0x4bafb1=_0x58d13e['binary']?0x2:0x1,_0x9dd59=_0x58d13e['compress'],_0x5dec2c,_0xef0b5c;typeof _0xa6f494==_0x47a706(0x1fd)?(_0x5dec2c=Buffer[_0x47a706(0x1ec)](_0xa6f494),_0xef0b5c=!0x1):_0x3903b5(_0xa6f494)?(_0x5dec2c=_0xa6f494[_0x47a706(0x23d)],_0xef0b5c=!0x1):(_0xa6f494=_0x1547a1(_0xa6f494),_0x5dec2c=_0xa6f494[_0x47a706(0x2fb)],_0xef0b5c=_0x1547a1['readOnly']),this['_firstFragment']?(this[_0x47a706(0x33b)]=!0x1,_0x9dd59&&_0x14438b&&_0x14438b[_0x47a706(0x1f4)][_0x14438b[_0x47a706(0x338)]?_0x47a706(0x297):_0x47a706(0x243)]&&(_0x9dd59=_0x5dec2c>=_0x14438b['_threshold']),this[_0x47a706(0x288)]=_0x9dd59):(_0x9dd59=!0x1,_0x4bafb1=0x0),_0x58d13e['fin']&&(this[_0x47a706(0x33b)]=!0x0);const _0x212b38={[_0x14f652]:_0x5dec2c,'fin':_0x58d13e[_0x47a706(0x1f0)],'generateMask':this['_generateMask'],'mask':_0x58d13e['mask'],'maskBuffer':this[_0x47a706(0x1b6)],'opcode':_0x4bafb1,'readOnly':_0xef0b5c,'rsv1':_0x9dd59};_0x3903b5(_0xa6f494)?this[_0x47a706(0x216)]!==_0x58fbed?this[_0x47a706(0x209)]([this['getBlobData'],_0xa6f494,this[_0x47a706(0x288)],_0x212b38,_0x45ecfd]):this[_0x47a706(0x31f)](_0xa6f494,this['_compress'],_0x212b38,_0x45ecfd):this[_0x47a706(0x216)]!==_0x58fbed?this[_0x47a706(0x209)]([this[_0x47a706(0x252)],_0xa6f494,this['_compress'],_0x212b38,_0x45ecfd]):this[_0x47a706(0x252)](_0xa6f494,this[_0x47a706(0x288)],_0x212b38,_0x45ecfd);}[_0x489853(0x31f)](_0x41f537,_0x4b5778,_0x3e1de7,_0x14a625){const _0x189a6f=_0x489853;this['_bufferedBytes']+=_0x3e1de7[_0x14f652],this[_0x189a6f(0x216)]=_0x2ce2fb,_0x41f537[_0x189a6f(0x2ff)]()[_0x189a6f(0x31b)](_0x37e5ef=>{const _0x2b9e72=_0x189a6f;if(this[_0x2b9e72(0x1c9)][_0x2b9e72(0x2c6)]){const _0x2f4cc1=new Error(_0x2b9e72(0x263));process[_0x2b9e72(0x1f6)](_0x1497de,this,_0x2f4cc1,_0x14a625);return;}this[_0x2b9e72(0x242)]-=_0x3e1de7[_0x14f652];const _0x51c2c5=_0x1547a1(_0x37e5ef);_0x4b5778?this[_0x2b9e72(0x252)](_0x51c2c5,_0x4b5778,_0x3e1de7,_0x14a625):(this[_0x2b9e72(0x216)]=_0x58fbed,this['sendFrame'](_0x1ca94f[_0x2b9e72(0x249)](_0x51c2c5,_0x3e1de7),_0x14a625),this[_0x2b9e72(0x32f)]());})['catch'](_0x5ecc85=>{process['nextTick'](_0x1c3170,this,_0x5ecc85,_0x14a625);});}['dispatch'](_0x39e822,_0x42c03e,_0xfd7274,_0x31cb56){const _0x957077=_0x489853;if(!_0x42c03e){this['sendFrame'](_0x1ca94f[_0x957077(0x249)](_0x39e822,_0xfd7274),_0x31cb56);return;}const _0x220444=this['_extensions'][_0x5e5acd['extensionName']];this[_0x957077(0x242)]+=_0xfd7274[_0x14f652],this[_0x957077(0x216)]=_0x379698,_0x220444['compress'](_0x39e822,_0xfd7274[_0x957077(0x1f0)],(_0x9c9548,_0x551d8f)=>{const _0x2f822f=_0x957077;if(this['_socket'][_0x2f822f(0x2c6)]){const _0x4a891e=new Error(_0x2f822f(0x212));_0x1497de(this,_0x4a891e,_0x31cb56);return;}this[_0x2f822f(0x242)]-=_0xfd7274[_0x14f652],this[_0x2f822f(0x216)]=_0x58fbed,_0xfd7274[_0x2f822f(0x27a)]=!0x1,this[_0x2f822f(0x1d7)](_0x1ca94f[_0x2f822f(0x249)](_0x551d8f,_0xfd7274),_0x31cb56),this[_0x2f822f(0x32f)]();});}[_0x489853(0x32f)](){const _0x372d9b=_0x489853;for(;this[_0x372d9b(0x216)]===_0x58fbed&&this[_0x372d9b(0x2e7)][_0x372d9b(0x2fb)];){const _0x322bdf=this['_queue']['shift']();this[_0x372d9b(0x242)]-=_0x322bdf[0x3][_0x14f652],Reflect[_0x372d9b(0x202)](_0x322bdf[0x0],this,_0x322bdf[_0x372d9b(0x325)](0x1));}}['enqueue'](_0x4f2e13){const _0x14482b=_0x489853;this[_0x14482b(0x242)]+=_0x4f2e13[0x3][_0x14f652],this[_0x14482b(0x2e7)][_0x14482b(0x300)](_0x4f2e13);}[_0x489853(0x1d7)](_0x55164d,_0x210150){const _0x418f72=_0x489853;_0x55164d[_0x418f72(0x2fb)]===0x2?(this[_0x418f72(0x1c9)][_0x418f72(0x1d1)](),this[_0x418f72(0x1c9)]['write'](_0x55164d[0x0]),this[_0x418f72(0x1c9)]['write'](_0x55164d[0x1],_0x210150),this[_0x418f72(0x1c9)][_0x418f72(0x284)]()):this[_0x418f72(0x1c9)][_0x418f72(0x20c)](_0x55164d[0x0],_0x210150);}}Ee=_0x1ca94f;function _0x1497de(_0x5f39b0,_0x2d9318,_0x45964d){const _0x59a211=_0x489853;typeof _0x45964d==_0x59a211(0x33a)&&_0x45964d(_0x2d9318);for(let _0x14ad53=0x0;_0x14ad53<_0x5f39b0[_0x59a211(0x2e7)]['length'];_0x14ad53++){const _0x13f010=_0x5f39b0['_queue'][_0x14ad53],_0x5051e1=_0x13f010[_0x13f010[_0x59a211(0x2fb)]-0x1];typeof _0x5051e1=='function'&&_0x5051e1(_0x2d9318);}}function _0x1c3170(_0x134c6c,_0x3d2cae,_0xd32469){_0x1497de(_0x134c6c,_0x3d2cae,_0xd32469),_0x134c6c['onerror'](_0x3d2cae);}return Ee;}var xe,tt;function Kt(){const _0x522b8b=_0x10fc00;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x19cb92,kListener:_0x588f5c}=V(),_0x1b5c20=Symbol(_0x522b8b(0x211)),_0x4b3a74=Symbol(_0x522b8b(0x2bf)),_0x206c84=Symbol(_0x522b8b(0x1ad)),_0x46b1c7=Symbol(_0x522b8b(0x34d)),_0x2a411a=Symbol(_0x522b8b(0x342)),_0x28657f=Symbol(_0x522b8b(0x2f9)),_0x313189=Symbol(_0x522b8b(0x23b)),_0x5b3ee0=Symbol(_0x522b8b(0x24f));class _0x17d3ac{constructor(_0x1395c6){this[_0x28657f]=null,this[_0x313189]=_0x1395c6;}get[_0x522b8b(0x285)](){return this[_0x28657f];}get[_0x522b8b(0x27b)](){return this[_0x313189];}}Object[_0x522b8b(0x356)](_0x17d3ac[_0x522b8b(0x25f)],'target',{'enumerable':!0x0}),Object[_0x522b8b(0x356)](_0x17d3ac['prototype'],'type',{'enumerable':!0x0});class _0x23a8ad extends _0x17d3ac{constructor(_0x926180,_0x19edd2={}){const _0x44663d=_0x522b8b;super(_0x926180),this[_0x1b5c20]=_0x19edd2[_0x44663d(0x322)]===void 0x0?0x0:_0x19edd2[_0x44663d(0x322)],this[_0x2a411a]=_0x19edd2[_0x44663d(0x28a)]===void 0x0?'':_0x19edd2['reason'],this[_0x5b3ee0]=_0x19edd2[_0x44663d(0x2af)]===void 0x0?!0x1:_0x19edd2[_0x44663d(0x2af)];}get[_0x522b8b(0x322)](){return this[_0x1b5c20];}get['reason'](){return this[_0x2a411a];}get[_0x522b8b(0x2af)](){return this[_0x5b3ee0];}}Object['defineProperty'](_0x23a8ad[_0x522b8b(0x25f)],_0x522b8b(0x322),{'enumerable':!0x0}),Object['defineProperty'](_0x23a8ad[_0x522b8b(0x25f)],_0x522b8b(0x28a),{'enumerable':!0x0}),Object[_0x522b8b(0x356)](_0x23a8ad['prototype'],'wasClean',{'enumerable':!0x0});class _0x583722 extends _0x17d3ac{constructor(_0x19944e,_0x2a1a88={}){const _0x43758d=_0x522b8b;super(_0x19944e),this[_0x206c84]=_0x2a1a88['error']===void 0x0?null:_0x2a1a88[_0x43758d(0x30f)],this[_0x46b1c7]=_0x2a1a88[_0x43758d(0x1f8)]===void 0x0?'':_0x2a1a88[_0x43758d(0x1f8)];}get[_0x522b8b(0x30f)](){return this[_0x206c84];}get[_0x522b8b(0x1f8)](){return this[_0x46b1c7];}}Object[_0x522b8b(0x356)](_0x583722[_0x522b8b(0x25f)],_0x522b8b(0x30f),{'enumerable':!0x0}),Object[_0x522b8b(0x356)](_0x583722['prototype'],'message',{'enumerable':!0x0});class _0x1edbd5 extends _0x17d3ac{constructor(_0x5e3a41,_0x498d33={}){const _0x2583a5=_0x522b8b;super(_0x5e3a41),this[_0x4b3a74]=_0x498d33[_0x2583a5(0x2d8)]===void 0x0?null:_0x498d33['data'];}get[_0x522b8b(0x2d8)](){return this[_0x4b3a74];}}Object[_0x522b8b(0x356)](_0x1edbd5[_0x522b8b(0x25f)],_0x522b8b(0x2d8),{'enumerable':!0x0}),xe={'CloseEvent':_0x23a8ad,'ErrorEvent':_0x583722,'Event':_0x17d3ac,'EventTarget':{'addEventListener'(_0x391ff2,_0x4b69c0,_0x40c92e={}){const _0x14832=_0x522b8b;for(const _0xa18531 of this[_0x14832(0x269)](_0x391ff2))if(!_0x40c92e[_0x19cb92]&&_0xa18531[_0x588f5c]===_0x4b69c0&&!_0xa18531[_0x19cb92])return;let _0x1a4719;if(_0x391ff2===_0x14832(0x1f8))_0x1a4719=function(_0x57d634,_0x286681){const _0x2509e8=_0x14832,_0x5ec5bf=new _0x1edbd5(_0x2509e8(0x1f8),{'data':_0x286681?_0x57d634:_0x57d634['toString']()});_0x5ec5bf[_0x28657f]=this,_0x36a43f(_0x4b69c0,this,_0x5ec5bf);};else{if(_0x391ff2===_0x14832(0x1af))_0x1a4719=function(_0x36bb18,_0x4daf67){const _0x2f800d=_0x14832,_0x2d3c40=new _0x23a8ad(_0x2f800d(0x1af),{'code':_0x36bb18,'reason':_0x4daf67[_0x2f800d(0x33e)](),'wasClean':this['_closeFrameReceived']&&this[_0x2f800d(0x256)]});_0x2d3c40[_0x28657f]=this,_0x36a43f(_0x4b69c0,this,_0x2d3c40);};else{if(_0x391ff2===_0x14832(0x30f))_0x1a4719=function(_0x1c0471){const _0x102dc6=_0x14832,_0x364e11=new _0x583722(_0x102dc6(0x30f),{'error':_0x1c0471,'message':_0x1c0471[_0x102dc6(0x1f8)]});_0x364e11[_0x28657f]=this,_0x36a43f(_0x4b69c0,this,_0x364e11);};else{if(_0x391ff2===_0x14832(0x317))_0x1a4719=function(){const _0x4dc7bd=new _0x17d3ac('open');_0x4dc7bd[_0x28657f]=this,_0x36a43f(_0x4b69c0,this,_0x4dc7bd);};else return;}}}_0x1a4719[_0x19cb92]=!!_0x40c92e[_0x19cb92],_0x1a4719[_0x588f5c]=_0x4b69c0,_0x40c92e[_0x14832(0x2ee)]?this['once'](_0x391ff2,_0x1a4719):this['on'](_0x391ff2,_0x1a4719);},'removeEventListener'(_0x55eac2,_0x186a07){const _0x1e9971=_0x522b8b;for(const _0x5a9dd1 of this[_0x1e9971(0x269)](_0x55eac2))if(_0x5a9dd1[_0x588f5c]===_0x186a07&&!_0x5a9dd1[_0x19cb92]){this['removeListener'](_0x55eac2,_0x5a9dd1);break;}}},'MessageEvent':_0x1edbd5};function _0x36a43f(_0x14f5e6,_0x66bfb5,_0x5daaa8){const _0x3c8902=_0x522b8b;typeof _0x14f5e6=='object'&&_0x14f5e6['handleEvent']?_0x14f5e6[_0x3c8902(0x200)][_0x3c8902(0x328)](_0x14f5e6,_0x5daaa8):_0x14f5e6[_0x3c8902(0x328)](_0x66bfb5,_0x5daaa8);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x2800a7}=ne();function _0x20ad4c(_0x351ec8,_0x2b17bb,_0x46860f){const _0x555e6e=_0x315a;_0x351ec8[_0x2b17bb]===void 0x0?_0x351ec8[_0x2b17bb]=[_0x46860f]:_0x351ec8[_0x2b17bb][_0x555e6e(0x300)](_0x46860f);}function _0x2a375b(_0x740c33){const _0x31e45b=_0x315a,_0x7d4226=Object[_0x31e45b(0x2b9)](null);let _0x15d25b=Object[_0x31e45b(0x2b9)](null),_0x226c09=!0x1,_0x15b396=!0x1,_0x47cde6=!0x1,_0x15b509,_0x3f5e89,_0x2a066c=-0x1,_0x3b187f=-0x1,_0x3337df=-0x1,_0x387306=0x0;for(;_0x387306<_0x740c33[_0x31e45b(0x2fb)];_0x387306++)if(_0x3b187f=_0x740c33[_0x31e45b(0x32b)](_0x387306),_0x15b509===void 0x0){if(_0x3337df===-0x1&&_0x2800a7[_0x3b187f]===0x1)_0x2a066c===-0x1&&(_0x2a066c=_0x387306);else{if(_0x387306!==0x0&&(_0x3b187f===0x20||_0x3b187f===0x9))_0x3337df===-0x1&&_0x2a066c!==-0x1&&(_0x3337df=_0x387306);else{if(_0x3b187f===0x3b||_0x3b187f===0x2c){if(_0x2a066c===-0x1)throw new SyntaxError(_0x31e45b(0x2f1)+_0x387306);_0x3337df===-0x1&&(_0x3337df=_0x387306);const _0x26081d=_0x740c33[_0x31e45b(0x325)](_0x2a066c,_0x3337df);_0x3b187f===0x2c?(_0x20ad4c(_0x7d4226,_0x26081d,_0x15d25b),_0x15d25b=Object['create'](null)):_0x15b509=_0x26081d,_0x2a066c=_0x3337df=-0x1;}else throw new SyntaxError(_0x31e45b(0x2f1)+_0x387306);}}}else{if(_0x3f5e89===void 0x0){if(_0x3337df===-0x1&&_0x2800a7[_0x3b187f]===0x1)_0x2a066c===-0x1&&(_0x2a066c=_0x387306);else{if(_0x3b187f===0x20||_0x3b187f===0x9)_0x3337df===-0x1&&_0x2a066c!==-0x1&&(_0x3337df=_0x387306);else{if(_0x3b187f===0x3b||_0x3b187f===0x2c){if(_0x2a066c===-0x1)throw new SyntaxError(_0x31e45b(0x2f1)+_0x387306);_0x3337df===-0x1&&(_0x3337df=_0x387306),_0x20ad4c(_0x15d25b,_0x740c33[_0x31e45b(0x325)](_0x2a066c,_0x3337df),!0x0),_0x3b187f===0x2c&&(_0x20ad4c(_0x7d4226,_0x15b509,_0x15d25b),_0x15d25b=Object[_0x31e45b(0x2b9)](null),_0x15b509=void 0x0),_0x2a066c=_0x3337df=-0x1;}else{if(_0x3b187f===0x3d&&_0x2a066c!==-0x1&&_0x3337df===-0x1)_0x3f5e89=_0x740c33[_0x31e45b(0x325)](_0x2a066c,_0x387306),_0x2a066c=_0x3337df=-0x1;else throw new SyntaxError(_0x31e45b(0x2f1)+_0x387306);}}}}else{if(_0x15b396){if(_0x2800a7[_0x3b187f]!==0x1)throw new SyntaxError(_0x31e45b(0x2f1)+_0x387306);_0x2a066c===-0x1?_0x2a066c=_0x387306:_0x226c09||(_0x226c09=!0x0),_0x15b396=!0x1;}else{if(_0x47cde6){if(_0x2800a7[_0x3b187f]===0x1)_0x2a066c===-0x1&&(_0x2a066c=_0x387306);else{if(_0x3b187f===0x22&&_0x2a066c!==-0x1)_0x47cde6=!0x1,_0x3337df=_0x387306;else{if(_0x3b187f===0x5c)_0x15b396=!0x0;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x387306);}}}else{if(_0x3b187f===0x22&&_0x740c33[_0x31e45b(0x32b)](_0x387306-0x1)===0x3d)_0x47cde6=!0x0;else{if(_0x3337df===-0x1&&_0x2800a7[_0x3b187f]===0x1)_0x2a066c===-0x1&&(_0x2a066c=_0x387306);else{if(_0x2a066c!==-0x1&&(_0x3b187f===0x20||_0x3b187f===0x9))_0x3337df===-0x1&&(_0x3337df=_0x387306);else{if(_0x3b187f===0x3b||_0x3b187f===0x2c){if(_0x2a066c===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x387306);_0x3337df===-0x1&&(_0x3337df=_0x387306);let _0x2b8f73=_0x740c33[_0x31e45b(0x325)](_0x2a066c,_0x3337df);_0x226c09&&(_0x2b8f73=_0x2b8f73[_0x31e45b(0x27d)](/\\/g,''),_0x226c09=!0x1),_0x20ad4c(_0x15d25b,_0x3f5e89,_0x2b8f73),_0x3b187f===0x2c&&(_0x20ad4c(_0x7d4226,_0x15b509,_0x15d25b),_0x15d25b=Object['create'](null),_0x15b509=void 0x0),_0x3f5e89=void 0x0,_0x2a066c=_0x3337df=-0x1;}else throw new SyntaxError(_0x31e45b(0x2f1)+_0x387306);}}}}}}}if(_0x2a066c===-0x1||_0x47cde6||_0x3b187f===0x20||_0x3b187f===0x9)throw new SyntaxError(_0x31e45b(0x213));_0x3337df===-0x1&&(_0x3337df=_0x387306);const _0x1cc056=_0x740c33[_0x31e45b(0x325)](_0x2a066c,_0x3337df);return _0x15b509===void 0x0?_0x20ad4c(_0x7d4226,_0x1cc056,_0x15d25b):(_0x3f5e89===void 0x0?_0x20ad4c(_0x15d25b,_0x1cc056,!0x0):_0x226c09?_0x20ad4c(_0x15d25b,_0x3f5e89,_0x1cc056[_0x31e45b(0x27d)](/\\/g,'')):_0x20ad4c(_0x15d25b,_0x3f5e89,_0x1cc056),_0x20ad4c(_0x7d4226,_0x15b509,_0x15d25b)),_0x7d4226;}function _0x4372e6(_0x144399){const _0x40c626=_0x315a;return Object[_0x40c626(0x1a2)](_0x144399)['map'](_0x265d33=>{const _0x346b8d=_0x40c626;let _0xa55877=_0x144399[_0x265d33];return Array[_0x346b8d(0x272)](_0xa55877)||(_0xa55877=[_0xa55877]),_0xa55877['map'](_0x5c66c5=>[_0x265d33][_0x346b8d(0x29f)](Object[_0x346b8d(0x1a2)](_0x5c66c5)[_0x346b8d(0x30d)](_0x850446=>{const _0x21100a=_0x346b8d;let _0x367437=_0x5c66c5[_0x850446];return Array[_0x21100a(0x272)](_0x367437)||(_0x367437=[_0x367437]),_0x367437['map'](_0x5bd55f=>_0x5bd55f===!0x0?_0x850446:_0x850446+'='+_0x5bd55f)['join'](';\x20');}))[_0x346b8d(0x2ad)](';\x20'))['join'](',\x20');})[_0x40c626(0x2ad)](',\x20');}return be={'format':_0x4372e6,'parse':_0x2a375b},be;}var we,st;function Ie(){const _0x257464=_0x10fc00;if(st)return we;st=0x1;const _0x290fe0=_0xd5d56b,_0x119c8f=_0x4a05e2,_0x508719=_0x2a4a4d,_0x8226e9=_0x4d839b,_0x46ddc7=_0x5688c2,{randomBytes:_0x4f1dc4,createHash:_0x295495}=_0x2f069a,{Duplex:_0x30e929,Readable:_0x2fa552}=_0x3a313f,{URL:_0x4c9115}=_0x4e1661,_0x4fb7cb=he(),_0x342c31=dt(),_0x1d2820=_t(),{isBlob:_0x399a3b}=ne(),{BINARY_TYPES:_0x325936,EMPTY_BUFFER:_0x3dbf8f,GUID:_0x45ed69,kForOnEventAttribute:_0x526900,kListener:_0x45eae4,kStatusCode:_0x1cc9af,kWebSocket:_0x358242,NOOP:_0x80f3ea}=V(),{EventTarget:{addEventListener:_0x443a0b,removeEventListener:_0x2cf745}}=Kt(),{format:_0x52ee3f,parse:_0x3d9e80}=pt(),{toBuffer:_0x40f70e}=ce(),_0x4a968a=0x1e*0x3e8,_0x2e6c22=Symbol(_0x257464(0x2f4)),_0x555426=[0x8,0xd],_0x182bf4=['CONNECTING',_0x257464(0x2ca),_0x257464(0x30a),_0x257464(0x286)],_0x9bf612=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x16a032 extends _0x290fe0{constructor(_0x2a50ee,_0x307e00,_0x28db18){const _0x50d67d=_0x257464;super(),this['_binaryType']=_0x325936[0x0],this[_0x50d67d(0x30c)]=0x3ee,this['_closeFrameReceived']=!0x1,this[_0x50d67d(0x256)]=!0x1,this[_0x50d67d(0x350)]=_0x3dbf8f,this[_0x50d67d(0x1c7)]=null,this[_0x50d67d(0x2b1)]=!0x1,this[_0x50d67d(0x1dd)]={},this[_0x50d67d(0x34b)]=!0x1,this['_protocol']='',this[_0x50d67d(0x315)]=_0x16a032[_0x50d67d(0x32c)],this[_0x50d67d(0x22e)]=null,this['_sender']=null,this[_0x50d67d(0x1c9)]=null,_0x2a50ee!==null?(this[_0x50d67d(0x331)]=0x0,this[_0x50d67d(0x338)]=!0x1,this[_0x50d67d(0x26d)]=0x0,_0x307e00===void 0x0?_0x307e00=[]:Array[_0x50d67d(0x272)](_0x307e00)||(typeof _0x307e00=='object'&&_0x307e00!==null?(_0x28db18=_0x307e00,_0x307e00=[]):_0x307e00=[_0x307e00]),_0x2270e7(this,_0x2a50ee,_0x307e00,_0x28db18)):(this[_0x50d67d(0x320)]=_0x28db18[_0x50d67d(0x35a)],this[_0x50d67d(0x338)]=!0x0);}get[_0x257464(0x2db)](){const _0x47c246=_0x257464;return this[_0x47c246(0x319)];}set[_0x257464(0x2db)](_0x191696){const _0x4abca4=_0x257464;_0x325936[_0x4abca4(0x304)](_0x191696)&&(this['_binaryType']=_0x191696,this[_0x4abca4(0x22e)]&&(this[_0x4abca4(0x22e)][_0x4abca4(0x319)]=_0x191696));}get[_0x257464(0x31a)](){const _0x57ef9e=_0x257464;return this[_0x57ef9e(0x1c9)]?this['_socket'][_0x57ef9e(0x2c1)][_0x57ef9e(0x2fb)]+this[_0x57ef9e(0x312)]['_bufferedBytes']:this[_0x57ef9e(0x331)];}get[_0x257464(0x278)](){const _0x1f8a0f=_0x257464;return Object[_0x1f8a0f(0x1a2)](this[_0x1f8a0f(0x1dd)])[_0x1f8a0f(0x2ad)]();}get[_0x257464(0x282)](){const _0x31e602=_0x257464;return this[_0x31e602(0x34b)];}get[_0x257464(0x349)](){return null;}get[_0x257464(0x206)](){return null;}get['onopen'](){return null;}get[_0x257464(0x28c)](){return null;}get['protocol'](){const _0x1af0ab=_0x257464;return this[_0x1af0ab(0x1c5)];}get['readyState'](){const _0x55ffad=_0x257464;return this[_0x55ffad(0x315)];}get[_0x257464(0x339)](){const _0x2d4541=_0x257464;return this[_0x2d4541(0x1bb)];}['setSocket'](_0x3ec662,_0x2ac9d1,_0x593541){const _0x25f294=_0x257464,_0x460d8d=new _0x342c31({'allowSynchronousEvents':_0x593541[_0x25f294(0x2a4)],'binaryType':this[_0x25f294(0x2db)],'extensions':this['_extensions'],'isServer':this[_0x25f294(0x338)],'maxPayload':_0x593541[_0x25f294(0x287)],'skipUTF8Validation':_0x593541[_0x25f294(0x1db)]}),_0x11abb5=new _0x1d2820(_0x3ec662,this['_extensions'],_0x593541['generateMask']);this[_0x25f294(0x22e)]=_0x460d8d,this[_0x25f294(0x312)]=_0x11abb5,this[_0x25f294(0x1c9)]=_0x3ec662,_0x460d8d[_0x358242]=this,_0x11abb5[_0x358242]=this,_0x3ec662[_0x358242]=this,_0x460d8d['on']('conclude',_0x1972ab),_0x460d8d['on'](_0x25f294(0x326),_0x1339c6),_0x460d8d['on'](_0x25f294(0x30f),_0xd817a6),_0x460d8d['on']('message',_0x31a3bc),_0x460d8d['on'](_0x25f294(0x1dc),_0x422daa),_0x460d8d['on'](_0x25f294(0x2fc),_0x141916),_0x11abb5['onerror']=_0x3fbf41,_0x3ec662[_0x25f294(0x341)]&&_0x3ec662['setTimeout'](0x0),_0x3ec662[_0x25f294(0x22b)]&&_0x3ec662[_0x25f294(0x22b)](),_0x2ac9d1[_0x25f294(0x2fb)]>0x0&&_0x3ec662[_0x25f294(0x334)](_0x2ac9d1),_0x3ec662['on'](_0x25f294(0x1af),_0xb84849),_0x3ec662['on'](_0x25f294(0x2d8),_0x4490bf),_0x3ec662['on'](_0x25f294(0x259),_0x308e74),_0x3ec662['on']('error',_0x11c0bb),this[_0x25f294(0x315)]=_0x16a032[_0x25f294(0x2ca)],this[_0x25f294(0x25b)](_0x25f294(0x317));}[_0x257464(0x232)](){const _0x33667d=_0x257464;if(!this[_0x33667d(0x1c9)]){this[_0x33667d(0x315)]=_0x16a032[_0x33667d(0x286)],this['emit'](_0x33667d(0x1af),this[_0x33667d(0x30c)],this[_0x33667d(0x350)]);return;}this['_extensions'][_0x4fb7cb['extensionName']]&&this[_0x33667d(0x1dd)][_0x4fb7cb[_0x33667d(0x2df)]][_0x33667d(0x318)](),this[_0x33667d(0x22e)][_0x33667d(0x276)](),this[_0x33667d(0x315)]=_0x16a032[_0x33667d(0x286)],this[_0x33667d(0x25b)](_0x33667d(0x1af),this[_0x33667d(0x30c)],this[_0x33667d(0x350)]);}[_0x257464(0x1af)](_0x5304e3,_0xe9db41){const _0x37712a=_0x257464;if(this[_0x37712a(0x345)]!==_0x16a032['CLOSED']){if(this['readyState']===_0x16a032['CONNECTING']){_0x308b90(this,this[_0x37712a(0x298)],_0x37712a(0x20b));return;}if(this[_0x37712a(0x345)]===_0x16a032[_0x37712a(0x30a)]){this['_closeFrameSent']&&(this['_closeFrameReceived']||this['_receiver'][_0x37712a(0x2c1)]['errorEmitted'])&&this[_0x37712a(0x1c9)][_0x37712a(0x259)]();return;}this[_0x37712a(0x315)]=_0x16a032['CLOSING'],this['_sender'][_0x37712a(0x1af)](_0x5304e3,_0xe9db41,!this['_isServer'],_0x28fa7f=>{const _0x195312=_0x37712a;_0x28fa7f||(this[_0x195312(0x256)]=!0x0,(this[_0x195312(0x2e9)]||this[_0x195312(0x22e)][_0x195312(0x2c1)]['errorEmitted'])&&this[_0x195312(0x1c9)]['end']());}),_0x530898(this);}}[_0x257464(0x2ac)](){const _0x249eb5=_0x257464;this[_0x249eb5(0x345)]===_0x16a032[_0x249eb5(0x32c)]||this[_0x249eb5(0x345)]===_0x16a032['CLOSED']||(this[_0x249eb5(0x34b)]=!0x0,this[_0x249eb5(0x1c9)][_0x249eb5(0x2ac)]());}[_0x257464(0x1dc)](_0x47c14a,_0x1ed15f,_0x3ba219){const _0x169046=_0x257464;if(this['readyState']===_0x16a032[_0x169046(0x32c)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x47c14a==_0x169046(0x33a)?(_0x3ba219=_0x47c14a,_0x47c14a=_0x1ed15f=void 0x0):typeof _0x1ed15f=='function'&&(_0x3ba219=_0x1ed15f,_0x1ed15f=void 0x0),typeof _0x47c14a==_0x169046(0x1b9)&&(_0x47c14a=_0x47c14a[_0x169046(0x33e)]()),this[_0x169046(0x345)]!==_0x16a032['OPEN']){_0x3c31a8(this,_0x47c14a,_0x3ba219);return;}_0x1ed15f===void 0x0&&(_0x1ed15f=!this['_isServer']),this[_0x169046(0x312)]['ping'](_0x47c14a||_0x3dbf8f,_0x1ed15f,_0x3ba219);}['pong'](_0x4a35b5,_0x1cec67,_0x41e3e1){const _0x396b5d=_0x257464;if(this['readyState']===_0x16a032[_0x396b5d(0x32c)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x4a35b5==_0x396b5d(0x33a)?(_0x41e3e1=_0x4a35b5,_0x4a35b5=_0x1cec67=void 0x0):typeof _0x1cec67==_0x396b5d(0x33a)&&(_0x41e3e1=_0x1cec67,_0x1cec67=void 0x0),typeof _0x4a35b5==_0x396b5d(0x1b9)&&(_0x4a35b5=_0x4a35b5[_0x396b5d(0x33e)]()),this['readyState']!==_0x16a032[_0x396b5d(0x2ca)]){_0x3c31a8(this,_0x4a35b5,_0x41e3e1);return;}_0x1cec67===void 0x0&&(_0x1cec67=!this[_0x396b5d(0x338)]),this['_sender'][_0x396b5d(0x2fc)](_0x4a35b5||_0x3dbf8f,_0x1cec67,_0x41e3e1);}[_0x257464(0x1cd)](){const _0x5a9be0=_0x257464;this['readyState']===_0x16a032[_0x5a9be0(0x32c)]||this[_0x5a9be0(0x345)]===_0x16a032[_0x5a9be0(0x286)]||(this['_paused']=!0x1,this['_receiver'][_0x5a9be0(0x2c1)]['needDrain']||this[_0x5a9be0(0x1c9)][_0x5a9be0(0x1cd)]());}[_0x257464(0x275)](_0x18b6a4,_0x479b8a,_0x4c3d49){const _0x1a3ffe=_0x257464;if(this[_0x1a3ffe(0x345)]===_0x16a032[_0x1a3ffe(0x32c)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x479b8a=='function'&&(_0x4c3d49=_0x479b8a,_0x479b8a={}),typeof _0x18b6a4==_0x1a3ffe(0x1b9)&&(_0x18b6a4=_0x18b6a4[_0x1a3ffe(0x33e)]()),this[_0x1a3ffe(0x345)]!==_0x16a032[_0x1a3ffe(0x2ca)]){_0x3c31a8(this,_0x18b6a4,_0x4c3d49);return;}const _0x198feb={'binary':typeof _0x18b6a4!=_0x1a3ffe(0x1fd),'mask':!this[_0x1a3ffe(0x338)],'compress':!0x0,'fin':!0x0,..._0x479b8a};this[_0x1a3ffe(0x1dd)][_0x4fb7cb['extensionName']]||(_0x198feb[_0x1a3ffe(0x1a8)]=!0x1),this[_0x1a3ffe(0x312)][_0x1a3ffe(0x275)](_0x18b6a4||_0x3dbf8f,_0x198feb,_0x4c3d49);}[_0x257464(0x270)](){const _0x5e5fa4=_0x257464;if(this[_0x5e5fa4(0x345)]!==_0x16a032[_0x5e5fa4(0x286)]){if(this[_0x5e5fa4(0x345)]===_0x16a032[_0x5e5fa4(0x32c)]){_0x308b90(this,this[_0x5e5fa4(0x298)],_0x5e5fa4(0x20b));return;}this['_socket']&&(this['_readyState']=_0x16a032['CLOSING'],this['_socket'][_0x5e5fa4(0x207)]());}}}Object[_0x257464(0x356)](_0x16a032,_0x257464(0x32c),{'enumerable':!0x0,'value':_0x182bf4[_0x257464(0x255)](_0x257464(0x32c))}),Object[_0x257464(0x356)](_0x16a032[_0x257464(0x25f)],_0x257464(0x32c),{'enumerable':!0x0,'value':_0x182bf4['indexOf'](_0x257464(0x32c))}),Object[_0x257464(0x356)](_0x16a032,_0x257464(0x2ca),{'enumerable':!0x0,'value':_0x182bf4[_0x257464(0x255)](_0x257464(0x2ca))}),Object[_0x257464(0x356)](_0x16a032[_0x257464(0x25f)],_0x257464(0x2ca),{'enumerable':!0x0,'value':_0x182bf4[_0x257464(0x255)](_0x257464(0x2ca))}),Object[_0x257464(0x356)](_0x16a032,_0x257464(0x30a),{'enumerable':!0x0,'value':_0x182bf4[_0x257464(0x255)](_0x257464(0x30a))}),Object[_0x257464(0x356)](_0x16a032['prototype'],'CLOSING',{'enumerable':!0x0,'value':_0x182bf4['indexOf'](_0x257464(0x30a))}),Object[_0x257464(0x356)](_0x16a032,_0x257464(0x286),{'enumerable':!0x0,'value':_0x182bf4['indexOf'](_0x257464(0x286))}),Object['defineProperty'](_0x16a032[_0x257464(0x25f)],_0x257464(0x286),{'enumerable':!0x0,'value':_0x182bf4[_0x257464(0x255)](_0x257464(0x286))}),[_0x257464(0x2db),_0x257464(0x31a),_0x257464(0x278),'isPaused',_0x257464(0x2cb),'readyState',_0x257464(0x339)]['forEach'](_0x15d1a3=>{const _0x619c67=_0x257464;Object[_0x619c67(0x356)](_0x16a032[_0x619c67(0x25f)],_0x15d1a3,{'enumerable':!0x0});}),[_0x257464(0x317),_0x257464(0x30f),'close','message'][_0x257464(0x260)](_0x5c833b=>{const _0x1e6c2c=_0x257464;Object[_0x1e6c2c(0x356)](_0x16a032[_0x1e6c2c(0x25f)],'on'+_0x5c833b,{'enumerable':!0x0,'get'(){const _0x2b8da8=_0x1e6c2c;for(const _0x54fb81 of this[_0x2b8da8(0x269)](_0x5c833b))if(_0x54fb81[_0x526900])return _0x54fb81[_0x45eae4];return null;},'set'(_0x54a90b){const _0x4b4742=_0x1e6c2c;for(const _0x559dd7 of this[_0x4b4742(0x269)](_0x5c833b))if(_0x559dd7[_0x526900]){this['removeListener'](_0x5c833b,_0x559dd7);break;}typeof _0x54a90b==_0x4b4742(0x33a)&&this[_0x4b4742(0x351)](_0x5c833b,_0x54a90b,{[_0x526900]:!0x0});}});}),_0x16a032[_0x257464(0x25f)][_0x257464(0x351)]=_0x443a0b,_0x16a032[_0x257464(0x25f)]['removeEventListener']=_0x2cf745,we=_0x16a032;function _0x2270e7(_0x1696b9,_0x54dd91,_0x4fc053,_0x5c3b2c){const _0x61620d=_0x257464,_0x2100c4={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x555426[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x5c3b2c,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x61620d(0x261),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x1696b9[_0x61620d(0x320)]=_0x2100c4[_0x61620d(0x35a)],!_0x555426[_0x61620d(0x304)](_0x2100c4[_0x61620d(0x343)]))throw new RangeError(_0x61620d(0x29b)+_0x2100c4[_0x61620d(0x343)]+_0x61620d(0x316)+_0x555426[_0x61620d(0x2ad)](',\x20')+')');let _0x3ad470;if(_0x54dd91 instanceof _0x4c9115)_0x3ad470=_0x54dd91;else try{_0x3ad470=new _0x4c9115(_0x54dd91);}catch{throw new SyntaxError('Invalid\x20URL:\x20'+_0x54dd91);}_0x3ad470[_0x61620d(0x2cb)]===_0x61620d(0x1ae)?_0x3ad470[_0x61620d(0x2cb)]='ws:':_0x3ad470[_0x61620d(0x2cb)]===_0x61620d(0x1b5)&&(_0x3ad470[_0x61620d(0x2cb)]=_0x61620d(0x2ea)),_0x1696b9[_0x61620d(0x1bb)]=_0x3ad470['href'];const _0x3241b5=_0x3ad470['protocol']==='wss:',_0x46b52d=_0x3ad470[_0x61620d(0x2cb)]===_0x61620d(0x27f);let _0xa7bf37;if(_0x3ad470[_0x61620d(0x2cb)]!==_0x61620d(0x238)&&!_0x3241b5&&!_0x46b52d?_0xa7bf37='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':_0x46b52d&&!_0x3ad470[_0x61620d(0x1d9)]?_0xa7bf37=_0x61620d(0x2dd):_0x3ad470['hash']&&(_0xa7bf37=_0x61620d(0x2c5)),_0xa7bf37){const _0x29e986=new SyntaxError(_0xa7bf37);if(_0x1696b9[_0x61620d(0x26d)]===0x0)throw _0x29e986;_0x2b47ec(_0x1696b9,_0x29e986);return;}const _0xcbdb26=_0x3241b5?0x1bb:0x50,_0xd26509=_0x4f1dc4(0x10)[_0x61620d(0x33e)]('base64'),_0x28e4b2=_0x3241b5?_0x119c8f[_0x61620d(0x2e4)]:_0x508719[_0x61620d(0x2e4)],_0x220297=new Set();let _0x3a5e51;if(_0x2100c4[_0x61620d(0x2aa)]=_0x2100c4[_0x61620d(0x2aa)]||(_0x3241b5?_0x435bc9:_0x244812),_0x2100c4[_0x61620d(0x2eb)]=_0x2100c4[_0x61620d(0x2eb)]||_0xcbdb26,_0x2100c4[_0x61620d(0x27e)]=_0x3ad470[_0x61620d(0x27e)]||_0xcbdb26,_0x2100c4['host']=_0x3ad470[_0x61620d(0x2b7)][_0x61620d(0x28b)]('[')?_0x3ad470[_0x61620d(0x2b7)][_0x61620d(0x325)](0x1,-0x1):_0x3ad470[_0x61620d(0x2b7)],_0x2100c4[_0x61620d(0x1ef)]={..._0x2100c4['headers'],'Sec-WebSocket-Version':_0x2100c4[_0x61620d(0x343)],'Sec-WebSocket-Key':_0xd26509,'Connection':'Upgrade','Upgrade':_0x61620d(0x2a7)},_0x2100c4[_0x61620d(0x2b3)]=_0x3ad470[_0x61620d(0x1d9)]+_0x3ad470['search'],_0x2100c4['timeout']=_0x2100c4[_0x61620d(0x332)],_0x2100c4[_0x61620d(0x2d7)]&&(_0x3a5e51=new _0x4fb7cb(_0x2100c4[_0x61620d(0x2d7)]!==!0x0?_0x2100c4[_0x61620d(0x2d7)]:{},!0x1,_0x2100c4[_0x61620d(0x287)]),_0x2100c4[_0x61620d(0x1ef)]['Sec-WebSocket-Extensions']=_0x52ee3f({[_0x4fb7cb[_0x61620d(0x2df)]]:_0x3a5e51[_0x61620d(0x21e)]()})),_0x4fc053[_0x61620d(0x2fb)]){for(const _0xb7b9c8 of _0x4fc053){if(typeof _0xb7b9c8!=_0x61620d(0x1fd)||!_0x9bf612[_0x61620d(0x2c9)](_0xb7b9c8)||_0x220297[_0x61620d(0x296)](_0xb7b9c8))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x220297[_0x61620d(0x347)](_0xb7b9c8);}_0x2100c4[_0x61620d(0x1ef)]['Sec-WebSocket-Protocol']=_0x4fc053[_0x61620d(0x2ad)](',');}if(_0x2100c4[_0x61620d(0x357)]&&(_0x2100c4[_0x61620d(0x343)]<0xd?_0x2100c4[_0x61620d(0x1ef)][_0x61620d(0x2fd)]=_0x2100c4['origin']:_0x2100c4[_0x61620d(0x1ef)][_0x61620d(0x355)]=_0x2100c4['origin']),(_0x3ad470['username']||_0x3ad470[_0x61620d(0x233)])&&(_0x2100c4[_0x61620d(0x2b5)]=_0x3ad470[_0x61620d(0x2d4)]+':'+_0x3ad470[_0x61620d(0x233)]),_0x46b52d){const _0x230d5f=_0x2100c4[_0x61620d(0x2b3)][_0x61620d(0x27c)](':');_0x2100c4[_0x61620d(0x1eb)]=_0x230d5f[0x0],_0x2100c4[_0x61620d(0x2b3)]=_0x230d5f[0x1];}let _0x1b506a;if(_0x2100c4[_0x61620d(0x2d2)]){if(_0x1696b9[_0x61620d(0x26d)]===0x0){_0x1696b9['_originalIpc']=_0x46b52d,_0x1696b9['_originalSecure']=_0x3241b5,_0x1696b9[_0x61620d(0x1a5)]=_0x46b52d?_0x2100c4[_0x61620d(0x1eb)]:_0x3ad470['host'];const _0x460994=_0x5c3b2c&&_0x5c3b2c['headers'];if(_0x5c3b2c={..._0x5c3b2c,'headers':{}},_0x460994){for(const [_0x89240a,_0x5a4679]of Object[_0x61620d(0x2c2)](_0x460994))_0x5c3b2c[_0x61620d(0x1ef)][_0x89240a[_0x61620d(0x1e5)]()]=_0x5a4679;}}else{if(_0x1696b9[_0x61620d(0x1d4)](_0x61620d(0x1cc))===0x0){const _0x12cf41=_0x46b52d?_0x1696b9[_0x61620d(0x1da)]?_0x2100c4['socketPath']===_0x1696b9[_0x61620d(0x1a5)]:!0x1:_0x1696b9[_0x61620d(0x1da)]?!0x1:_0x3ad470[_0x61620d(0x22a)]===_0x1696b9[_0x61620d(0x1a5)];(!_0x12cf41||_0x1696b9[_0x61620d(0x30e)]&&!_0x3241b5)&&(delete _0x2100c4[_0x61620d(0x1ef)][_0x61620d(0x283)],delete _0x2100c4[_0x61620d(0x1ef)][_0x61620d(0x346)],_0x12cf41||delete _0x2100c4[_0x61620d(0x1ef)][_0x61620d(0x22a)],_0x2100c4['auth']=void 0x0);}}_0x2100c4[_0x61620d(0x2b5)]&&!_0x5c3b2c[_0x61620d(0x1ef)]['authorization']&&(_0x5c3b2c[_0x61620d(0x1ef)]['authorization']=_0x61620d(0x2b8)+Buffer['from'](_0x2100c4['auth'])[_0x61620d(0x33e)](_0x61620d(0x354))),_0x1b506a=_0x1696b9[_0x61620d(0x298)]=_0x28e4b2(_0x2100c4),_0x1696b9['_redirects']&&_0x1696b9[_0x61620d(0x25b)]('redirect',_0x1696b9[_0x61620d(0x339)],_0x1b506a);}else _0x1b506a=_0x1696b9[_0x61620d(0x298)]=_0x28e4b2(_0x2100c4);_0x2100c4[_0x61620d(0x277)]&&_0x1b506a['on'](_0x61620d(0x277),()=>{const _0x576909=_0x61620d;_0x308b90(_0x1696b9,_0x1b506a,_0x576909(0x280));}),_0x1b506a['on'](_0x61620d(0x30f),_0x4547cb=>{const _0x2d8e4b=_0x61620d;_0x1b506a===null||_0x1b506a[_0x2e6c22]||(_0x1b506a=_0x1696b9[_0x2d8e4b(0x298)]=null,_0x2b47ec(_0x1696b9,_0x4547cb));}),_0x1b506a['on']('response',_0x453351=>{const _0x2def80=_0x61620d,_0x4468d6=_0x453351[_0x2def80(0x1ef)][_0x2def80(0x1cb)],_0x4a6ebd=_0x453351[_0x2def80(0x234)];if(_0x4468d6&&_0x2100c4[_0x2def80(0x2d2)]&&_0x4a6ebd>=0x12c&&_0x4a6ebd<0x190){if(++_0x1696b9[_0x2def80(0x26d)]>_0x2100c4[_0x2def80(0x21b)]){_0x308b90(_0x1696b9,_0x1b506a,_0x2def80(0x215));return;}_0x1b506a['abort']();let _0x2d4f91;try{_0x2d4f91=new _0x4c9115(_0x4468d6,_0x54dd91);}catch{const _0x1e06be=new SyntaxError(_0x2def80(0x1d8)+_0x4468d6);_0x2b47ec(_0x1696b9,_0x1e06be);return;}_0x2270e7(_0x1696b9,_0x2d4f91,_0x4fc053,_0x5c3b2c);}else _0x1696b9[_0x2def80(0x25b)](_0x2def80(0x292),_0x1b506a,_0x453351)||_0x308b90(_0x1696b9,_0x1b506a,_0x2def80(0x235)+_0x453351['statusCode']);}),_0x1b506a['on']('upgrade',(_0x3e2653,_0x219e14,_0x20aa2c)=>{const _0x2116ab=_0x61620d;if(_0x1696b9['emit']('upgrade',_0x3e2653),_0x1696b9[_0x2116ab(0x345)]!==_0x16a032['CONNECTING'])return;_0x1b506a=_0x1696b9[_0x2116ab(0x298)]=null;const _0x1c5d12=_0x3e2653[_0x2116ab(0x1ef)][_0x2116ab(0x24b)];if(_0x1c5d12===void 0x0||_0x1c5d12['toLowerCase']()!==_0x2116ab(0x2a7)){_0x308b90(_0x1696b9,_0x219e14,'Invalid\x20Upgrade\x20header');return;}const _0xbd4efb=_0x295495(_0x2116ab(0x26b))[_0x2116ab(0x35d)](_0xd26509+_0x45ed69)[_0x2116ab(0x2d9)]('base64');if(_0x3e2653[_0x2116ab(0x1ef)][_0x2116ab(0x2de)]!==_0xbd4efb){_0x308b90(_0x1696b9,_0x219e14,_0x2116ab(0x306));return;}const _0x526325=_0x3e2653['headers'][_0x2116ab(0x330)];let _0x1de194;if(_0x526325!==void 0x0?_0x220297[_0x2116ab(0x23d)]?_0x220297['has'](_0x526325)||(_0x1de194=_0x2116ab(0x344)):_0x1de194='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0x220297[_0x2116ab(0x23d)]&&(_0x1de194='Server\x20sent\x20no\x20subprotocol'),_0x1de194){_0x308b90(_0x1696b9,_0x219e14,_0x1de194);return;}_0x526325&&(_0x1696b9[_0x2116ab(0x1c5)]=_0x526325);const _0x3a58d4=_0x3e2653[_0x2116ab(0x1ef)]['sec-websocket-extensions'];if(_0x3a58d4!==void 0x0){if(!_0x3a5e51){_0x308b90(_0x1696b9,_0x219e14,_0x2116ab(0x1ab));return;}let _0x5870dd;try{_0x5870dd=_0x3d9e80(_0x3a58d4);}catch{_0x308b90(_0x1696b9,_0x219e14,_0x2116ab(0x223));return;}const _0x2a0828=Object['keys'](_0x5870dd);if(_0x2a0828['length']!==0x1||_0x2a0828[0x0]!==_0x4fb7cb[_0x2116ab(0x2df)]){_0x308b90(_0x1696b9,_0x219e14,_0x2116ab(0x1de));return;}try{_0x3a5e51[_0x2116ab(0x2bd)](_0x5870dd[_0x4fb7cb[_0x2116ab(0x2df)]]);}catch{_0x308b90(_0x1696b9,_0x219e14,_0x2116ab(0x223));return;}_0x1696b9[_0x2116ab(0x1dd)][_0x4fb7cb[_0x2116ab(0x2df)]]=_0x3a5e51;}_0x1696b9[_0x2116ab(0x359)](_0x219e14,_0x20aa2c,{'allowSynchronousEvents':_0x2100c4[_0x2116ab(0x2a4)],'generateMask':_0x2100c4[_0x2116ab(0x2f7)],'maxPayload':_0x2100c4[_0x2116ab(0x287)],'skipUTF8Validation':_0x2100c4[_0x2116ab(0x1db)]});}),_0x2100c4['finishRequest']?_0x2100c4['finishRequest'](_0x1b506a,_0x1696b9):_0x1b506a['end']();}function _0x2b47ec(_0x23f900,_0x3848f4){const _0x2d6f8f=_0x257464;_0x23f900[_0x2d6f8f(0x315)]=_0x16a032[_0x2d6f8f(0x30a)],_0x23f900[_0x2d6f8f(0x2b1)]=!0x0,_0x23f900[_0x2d6f8f(0x25b)]('error',_0x3848f4),_0x23f900['emitClose']();}function _0x244812(_0x47f0ec){const _0x1dad56=_0x257464;return _0x47f0ec[_0x1dad56(0x2b3)]=_0x47f0ec[_0x1dad56(0x1eb)],_0x8226e9[_0x1dad56(0x35e)](_0x47f0ec);}function _0x435bc9(_0x40cc1c){const _0x1c17bc=_0x257464;return _0x40cc1c['path']=void 0x0,!_0x40cc1c['servername']&&_0x40cc1c[_0x1c17bc(0x274)]!==''&&(_0x40cc1c['servername']=_0x8226e9[_0x1c17bc(0x268)](_0x40cc1c['host'])?'':_0x40cc1c['host']),_0x46ddc7[_0x1c17bc(0x35e)](_0x40cc1c);}function _0x308b90(_0x486638,_0x11c8bb,_0x460f27){const _0x82bd74=_0x257464;_0x486638[_0x82bd74(0x315)]=_0x16a032[_0x82bd74(0x30a)];const _0x3b881c=new Error(_0x460f27);Error['captureStackTrace'](_0x3b881c,_0x308b90),_0x11c8bb['setHeader']?(_0x11c8bb[_0x2e6c22]=!0x0,_0x11c8bb[_0x82bd74(0x2e0)](),_0x11c8bb[_0x82bd74(0x251)]&&!_0x11c8bb[_0x82bd74(0x251)][_0x82bd74(0x2c6)]&&_0x11c8bb[_0x82bd74(0x251)]['destroy'](),process[_0x82bd74(0x1f6)](_0x2b47ec,_0x486638,_0x3b881c)):(_0x11c8bb[_0x82bd74(0x207)](_0x3b881c),_0x11c8bb[_0x82bd74(0x2ee)](_0x82bd74(0x30f),_0x486638[_0x82bd74(0x25b)]['bind'](_0x486638,'error')),_0x11c8bb[_0x82bd74(0x2ee)](_0x82bd74(0x1af),_0x486638[_0x82bd74(0x232)]['bind'](_0x486638)));}function _0x3c31a8(_0x473198,_0x23775c,_0x2dacf4){const _0xe34699=_0x257464;if(_0x23775c){const _0x46b244=_0x399a3b(_0x23775c)?_0x23775c[_0xe34699(0x23d)]:_0x40f70e(_0x23775c)[_0xe34699(0x2fb)];_0x473198[_0xe34699(0x1c9)]?_0x473198[_0xe34699(0x312)][_0xe34699(0x242)]+=_0x46b244:_0x473198[_0xe34699(0x331)]+=_0x46b244;}if(_0x2dacf4){const _0x4988bd=new Error(_0xe34699(0x1c0)+_0x473198[_0xe34699(0x345)]+'\x20('+_0x182bf4[_0x473198[_0xe34699(0x345)]]+')');process[_0xe34699(0x1f6)](_0x2dacf4,_0x4988bd);}}function _0x1972ab(_0x1a7c75,_0x22225c){const _0x121a18=_0x257464,_0x45a372=this[_0x358242];_0x45a372[_0x121a18(0x2e9)]=!0x0,_0x45a372[_0x121a18(0x350)]=_0x22225c,_0x45a372[_0x121a18(0x30c)]=_0x1a7c75,_0x45a372[_0x121a18(0x1c9)][_0x358242]!==void 0x0&&(_0x45a372[_0x121a18(0x1c9)][_0x121a18(0x237)](_0x121a18(0x2d8),_0x4490bf),process[_0x121a18(0x1f6)](_0x5c0d0c,_0x45a372['_socket']),_0x1a7c75===0x3ed?_0x45a372[_0x121a18(0x1af)]():_0x45a372['close'](_0x1a7c75,_0x22225c));}function _0x1339c6(){const _0x685deb=_0x257464,_0x4ddf64=this[_0x358242];_0x4ddf64[_0x685deb(0x282)]||_0x4ddf64[_0x685deb(0x1c9)][_0x685deb(0x1cd)]();}function _0xd817a6(_0x354942){const _0x1bc144=_0x257464,_0x594c20=this[_0x358242];_0x594c20[_0x1bc144(0x1c9)][_0x358242]!==void 0x0&&(_0x594c20[_0x1bc144(0x1c9)][_0x1bc144(0x237)](_0x1bc144(0x2d8),_0x4490bf),process[_0x1bc144(0x1f6)](_0x5c0d0c,_0x594c20['_socket']),_0x594c20['close'](_0x354942[_0x1cc9af])),_0x594c20[_0x1bc144(0x2b1)]||(_0x594c20[_0x1bc144(0x2b1)]=!0x0,_0x594c20[_0x1bc144(0x25b)](_0x1bc144(0x30f),_0x354942));}function _0x3cfc80(){const _0x1ec7d3=_0x257464;this[_0x358242][_0x1ec7d3(0x232)]();}function _0x31a3bc(_0x2aa5f2,_0x58589c){const _0xa394ab=_0x257464;this[_0x358242][_0xa394ab(0x25b)]('message',_0x2aa5f2,_0x58589c);}function _0x422daa(_0x4383a8){const _0x4b57ef=_0x257464,_0x5534fe=this[_0x358242];_0x5534fe['_autoPong']&&_0x5534fe[_0x4b57ef(0x2fc)](_0x4383a8,!this[_0x4b57ef(0x338)],_0x80f3ea),_0x5534fe[_0x4b57ef(0x25b)](_0x4b57ef(0x1dc),_0x4383a8);}function _0x141916(_0x248569){const _0x5e164d=_0x257464;this[_0x358242][_0x5e164d(0x25b)](_0x5e164d(0x2fc),_0x248569);}function _0x5c0d0c(_0x1a0a91){const _0x2dc891=_0x257464;_0x1a0a91[_0x2dc891(0x1cd)]();}function _0x3fbf41(_0x1a6df4){const _0x544d8d=_0x257464,_0x401115=this[_0x358242];_0x401115[_0x544d8d(0x345)]!==_0x16a032[_0x544d8d(0x286)]&&(_0x401115['readyState']===_0x16a032[_0x544d8d(0x2ca)]&&(_0x401115[_0x544d8d(0x315)]=_0x16a032[_0x544d8d(0x30a)],_0x530898(_0x401115)),this[_0x544d8d(0x1c9)][_0x544d8d(0x259)](),_0x401115['_errorEmitted']||(_0x401115[_0x544d8d(0x2b1)]=!0x0,_0x401115['emit'](_0x544d8d(0x30f),_0x1a6df4)));}function _0x530898(_0x1ab63f){const _0x434940=_0x257464;_0x1ab63f[_0x434940(0x1c7)]=setTimeout(_0x1ab63f[_0x434940(0x1c9)][_0x434940(0x207)][_0x434940(0x2c8)](_0x1ab63f['_socket']),_0x4a968a);}function _0xb84849(){const _0x235a42=_0x257464,_0x208165=this[_0x358242];this[_0x235a42(0x237)](_0x235a42(0x1af),_0xb84849),this['removeListener'](_0x235a42(0x2d8),_0x4490bf),this[_0x235a42(0x237)]('end',_0x308e74),_0x208165['_readyState']=_0x16a032['CLOSING'];let _0x45bc2e;!this[_0x235a42(0x208)][_0x235a42(0x210)]&&!_0x208165[_0x235a42(0x2e9)]&&!_0x208165[_0x235a42(0x22e)]['_writableState']['errorEmitted']&&(_0x45bc2e=_0x208165['_socket'][_0x235a42(0x2e2)]())!==null&&_0x208165[_0x235a42(0x22e)][_0x235a42(0x20c)](_0x45bc2e),_0x208165['_receiver']['end'](),this[_0x358242]=void 0x0,clearTimeout(_0x208165['_closeTimer']),_0x208165['_receiver'][_0x235a42(0x2c1)][_0x235a42(0x24a)]||_0x208165['_receiver'][_0x235a42(0x2c1)][_0x235a42(0x1c2)]?_0x208165[_0x235a42(0x232)]():(_0x208165[_0x235a42(0x22e)]['on'](_0x235a42(0x30f),_0x3cfc80),_0x208165[_0x235a42(0x22e)]['on'](_0x235a42(0x2be),_0x3cfc80));}function _0x4490bf(_0x83896e){const _0x295120=_0x257464;this[_0x358242][_0x295120(0x22e)][_0x295120(0x20c)](_0x83896e)||this[_0x295120(0x2ac)]();}function _0x308e74(){const _0x93c917=_0x257464,_0x18be6b=this[_0x358242];_0x18be6b[_0x93c917(0x315)]=_0x16a032[_0x93c917(0x30a)],_0x18be6b[_0x93c917(0x22e)]['end'](),this[_0x93c917(0x259)]();}function _0x11c0bb(){const _0x38a64c=_0x257464,_0x2fb234=this[_0x358242];this['removeListener']('error',_0x11c0bb),this['on'](_0x38a64c(0x30f),_0x80f3ea),_0x2fb234&&(_0x2fb234[_0x38a64c(0x315)]=_0x16a032[_0x38a64c(0x30a)],this[_0x38a64c(0x207)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x5f1f76}=_0x3a313f;function _0x5b3b22(_0x273da0){const _0x2071ca=_0x315a;_0x273da0['emit'](_0x2071ca(0x1af));}function _0x42db04(){const _0x345d40=_0x315a;!this[_0x345d40(0x2c6)]&&this['_writableState'][_0x345d40(0x24a)]&&this[_0x345d40(0x207)]();}function _0x59d329(_0x4a1b8f){const _0x410c75=_0x315a;this[_0x410c75(0x237)](_0x410c75(0x30f),_0x59d329),this['destroy'](),this['listenerCount']('error')===0x0&&this['emit'](_0x410c75(0x30f),_0x4a1b8f);}function _0x3b365b(_0x90a9,_0x5b34f5){const _0x5e0361=_0x315a;let _0x6f6f98=!0x0;const _0x3c9196=new _0x5f1f76({..._0x5b34f5,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x90a9['on'](_0x5e0361(0x1f8),function(_0x566629,_0x529b12){const _0x4e82e5=_0x5e0361,_0x2459dc=!_0x529b12&&_0x3c9196[_0x4e82e5(0x208)][_0x4e82e5(0x1ac)]?_0x566629[_0x4e82e5(0x33e)]():_0x566629;_0x3c9196[_0x4e82e5(0x300)](_0x2459dc)||_0x90a9[_0x4e82e5(0x2ac)]();}),_0x90a9['once'](_0x5e0361(0x30f),function(_0x2c5666){const _0x5429d3=_0x5e0361;_0x3c9196[_0x5429d3(0x2c6)]||(_0x6f6f98=!0x1,_0x3c9196['destroy'](_0x2c5666));}),_0x90a9[_0x5e0361(0x2ee)](_0x5e0361(0x1af),function(){const _0x47ea9c=_0x5e0361;_0x3c9196['destroyed']||_0x3c9196[_0x47ea9c(0x300)](null);}),_0x3c9196[_0x5e0361(0x1d6)]=function(_0x21cb22,_0xc369c0){const _0x5e10cd=_0x5e0361;if(_0x90a9['readyState']===_0x90a9[_0x5e10cd(0x286)]){_0xc369c0(_0x21cb22),process[_0x5e10cd(0x1f6)](_0x5b3b22,_0x3c9196);return;}let _0x333313=!0x1;_0x90a9[_0x5e10cd(0x2ee)](_0x5e10cd(0x30f),function(_0x4a3733){_0x333313=!0x0,_0xc369c0(_0x4a3733);}),_0x90a9[_0x5e10cd(0x2ee)](_0x5e10cd(0x1af),function(){const _0x1fef2d=_0x5e10cd;_0x333313||_0xc369c0(_0x21cb22),process[_0x1fef2d(0x1f6)](_0x5b3b22,_0x3c9196);}),_0x6f6f98&&_0x90a9[_0x5e10cd(0x270)]();},_0x3c9196[_0x5e0361(0x21c)]=function(_0x364406){const _0x3df012=_0x5e0361;if(_0x90a9[_0x3df012(0x345)]===_0x90a9['CONNECTING']){_0x90a9['once'](_0x3df012(0x317),function(){const _0x21db3c=_0x3df012;_0x3c9196[_0x21db3c(0x21c)](_0x364406);});return;}_0x90a9[_0x3df012(0x1c9)]!==null&&(_0x90a9[_0x3df012(0x1c9)][_0x3df012(0x2c1)][_0x3df012(0x24a)]?(_0x364406(),_0x3c9196[_0x3df012(0x208)][_0x3df012(0x210)]&&_0x3c9196[_0x3df012(0x207)]()):(_0x90a9['_socket']['once'](_0x3df012(0x2be),function(){_0x364406();}),_0x90a9['close']()));},_0x3c9196[_0x5e0361(0x23a)]=function(){const _0xd4db5=_0x5e0361;_0x90a9[_0xd4db5(0x282)]&&_0x90a9['resume']();},_0x3c9196[_0x5e0361(0x1ce)]=function(_0x55ee66,_0x1fcebd,_0x169518){const _0x163964=_0x5e0361;if(_0x90a9[_0x163964(0x345)]===_0x90a9[_0x163964(0x32c)]){_0x90a9[_0x163964(0x2ee)](_0x163964(0x317),function(){_0x3c9196['_write'](_0x55ee66,_0x1fcebd,_0x169518);});return;}_0x90a9[_0x163964(0x275)](_0x55ee66,_0x169518);},_0x3c9196['on'](_0x5e0361(0x259),_0x42db04),_0x3c9196['on'](_0x5e0361(0x30f),_0x59d329),_0x3c9196;}return Oe=_0x3b365b,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=Wt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x28ea21}=ne();function _0x197df0(_0x1cbe86){const _0x548971=_0x315a,_0x1dcb7e=new Set();let _0x9683af=-0x1,_0x2bd6f8=-0x1,_0x3f11ae=0x0;for(_0x3f11ae;_0x3f11ae<_0x1cbe86['length'];_0x3f11ae++){const _0x12e5ce=_0x1cbe86[_0x548971(0x32b)](_0x3f11ae);if(_0x2bd6f8===-0x1&&_0x28ea21[_0x12e5ce]===0x1)_0x9683af===-0x1&&(_0x9683af=_0x3f11ae);else{if(_0x3f11ae!==0x0&&(_0x12e5ce===0x20||_0x12e5ce===0x9))_0x2bd6f8===-0x1&&_0x9683af!==-0x1&&(_0x2bd6f8=_0x3f11ae);else{if(_0x12e5ce===0x2c){if(_0x9683af===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x3f11ae);_0x2bd6f8===-0x1&&(_0x2bd6f8=_0x3f11ae);const _0x578823=_0x1cbe86['slice'](_0x9683af,_0x2bd6f8);if(_0x1dcb7e[_0x548971(0x296)](_0x578823))throw new SyntaxError(_0x548971(0x264)+_0x578823+_0x548971(0x1cf));_0x1dcb7e[_0x548971(0x347)](_0x578823),_0x9683af=_0x2bd6f8=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x3f11ae);}}}if(_0x9683af===-0x1||_0x2bd6f8!==-0x1)throw new SyntaxError('Unexpected\x20end\x20of\x20input');const _0x209128=_0x1cbe86[_0x548971(0x325)](_0x9683af,_0x3f11ae);if(_0x1dcb7e[_0x548971(0x296)](_0x209128))throw new SyntaxError(_0x548971(0x264)+_0x209128+_0x548971(0x1cf));return _0x1dcb7e[_0x548971(0x347)](_0x209128),_0x1dcb7e;}return Ce={'parse':_0x197df0},Ce;}var Te,ot;function er(){const _0x2be3d7=_0x10fc00;if(ot)return Te;ot=0x1;const _0x11f3f4=_0xd5d56b,_0x5c9c81=_0x2a4a4d,{Duplex:_0xbb61a7}=_0x3a313f,{createHash:_0x13784e}=_0x2f069a,_0x4a1319=pt(),_0xa8e9fb=he(),_0x2792a3=Jt(),_0xf22c5c=Ie(),{GUID:_0x19b426,kWebSocket:_0x4206ab}=V(),_0x42775b=/^[+/0-9A-Za-z]{22}==$/,_0x5db3dd=0x0,_0x393477=0x1,_0x3c55c4=0x2;class _0x42f20a extends _0x11f3f4{constructor(_0x274584,_0x320734){const _0x3a2ffa=_0x315a;if(super(),_0x274584={'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':_0xf22c5c,..._0x274584},_0x274584[_0x3a2ffa(0x27e)]==null&&!_0x274584[_0x3a2ffa(0x336)]&&!_0x274584['noServer']||_0x274584[_0x3a2ffa(0x27e)]!=null&&(_0x274584[_0x3a2ffa(0x336)]||_0x274584[_0x3a2ffa(0x33c)])||_0x274584[_0x3a2ffa(0x336)]&&_0x274584[_0x3a2ffa(0x33c)])throw new TypeError(_0x3a2ffa(0x23f));if(_0x274584['port']!=null?(this[_0x3a2ffa(0x1e4)]=_0x5c9c81[_0x3a2ffa(0x311)]((_0x3c5973,_0x38338d)=>{const _0x36a38e=_0x3a2ffa,_0x53bd89=_0x5c9c81[_0x36a38e(0x25d)][0x1aa];_0x38338d[_0x36a38e(0x295)](0x1aa,{'Content-Length':_0x53bd89[_0x36a38e(0x2fb)],'Content-Type':_0x36a38e(0x26c)}),_0x38338d[_0x36a38e(0x259)](_0x53bd89);}),this['_server'][_0x3a2ffa(0x309)](_0x274584['port'],_0x274584['host'],_0x274584[_0x3a2ffa(0x33f)],_0x320734)):_0x274584[_0x3a2ffa(0x336)]&&(this[_0x3a2ffa(0x1e4)]=_0x274584[_0x3a2ffa(0x336)]),this[_0x3a2ffa(0x1e4)]){const _0x550cf2=this[_0x3a2ffa(0x25b)][_0x3a2ffa(0x2c8)](this,_0x3a2ffa(0x20d));this[_0x3a2ffa(0x2b4)]=_0xdba86a(this[_0x3a2ffa(0x1e4)],{'listening':this[_0x3a2ffa(0x25b)][_0x3a2ffa(0x2c8)](this,_0x3a2ffa(0x310)),'error':this[_0x3a2ffa(0x25b)]['bind'](this,_0x3a2ffa(0x30f)),'upgrade':(_0x2d1710,_0x1ef94a,_0x13575a)=>{const _0x25230b=_0x3a2ffa;this[_0x25230b(0x29e)](_0x2d1710,_0x1ef94a,_0x13575a,_0x550cf2);}});}_0x274584[_0x3a2ffa(0x2d7)]===!0x0&&(_0x274584[_0x3a2ffa(0x2d7)]={}),_0x274584[_0x3a2ffa(0x2dc)]&&(this[_0x3a2ffa(0x221)]=new Set(),this['_shouldEmitClose']=!0x1),this['options']=_0x274584,this[_0x3a2ffa(0x216)]=_0x5db3dd;}[_0x2be3d7(0x228)](){const _0x5d41d5=_0x2be3d7;if(this['options'][_0x5d41d5(0x33c)])throw new Error(_0x5d41d5(0x1ed));return this[_0x5d41d5(0x1e4)]?this[_0x5d41d5(0x1e4)][_0x5d41d5(0x228)]():null;}['close'](_0x5224a3){const _0x166ce3=_0x2be3d7;if(this[_0x166ce3(0x216)]===_0x3c55c4){_0x5224a3&&this['once']('close',()=>{const _0x587201=_0x166ce3;_0x5224a3(new Error(_0x587201(0x201)));}),process[_0x166ce3(0x1f6)](_0x2cda61,this);return;}if(_0x5224a3&&this['once']('close',_0x5224a3),this[_0x166ce3(0x216)]!==_0x393477){if(this[_0x166ce3(0x216)]=_0x393477,this[_0x166ce3(0x1ca)]['noServer']||this[_0x166ce3(0x1ca)]['server'])this[_0x166ce3(0x1e4)]&&(this[_0x166ce3(0x2b4)](),this['_removeListeners']=this[_0x166ce3(0x1e4)]=null),this[_0x166ce3(0x221)]?this[_0x166ce3(0x221)][_0x166ce3(0x23d)]?this['_shouldEmitClose']=!0x0:process['nextTick'](_0x2cda61,this):process[_0x166ce3(0x1f6)](_0x2cda61,this);else{const _0x120d06=this[_0x166ce3(0x1e4)];this[_0x166ce3(0x2b4)](),this[_0x166ce3(0x2b4)]=this[_0x166ce3(0x1e4)]=null,_0x120d06[_0x166ce3(0x1af)](()=>{_0x2cda61(this);});}}}[_0x2be3d7(0x31c)](_0x3fc683){const _0x213e96=_0x2be3d7;if(this['options']['path']){const _0xea5a65=_0x3fc683[_0x213e96(0x339)]['indexOf']('?');if((_0xea5a65!==-0x1?_0x3fc683['url'][_0x213e96(0x325)](0x0,_0xea5a65):_0x3fc683[_0x213e96(0x339)])!==this[_0x213e96(0x1ca)][_0x213e96(0x2b3)])return!0x1;}return!0x0;}[_0x2be3d7(0x29e)](_0x528d55,_0xa707a6,_0x16d329,_0x297f76){const _0x3f6169=_0x2be3d7;_0xa707a6['on'](_0x3f6169(0x30f),_0x193d25);const _0x3609be=_0x528d55[_0x3f6169(0x1ef)]['sec-websocket-key'],_0x3d091a=_0x528d55['headers'][_0x3f6169(0x24b)],_0x3eaed2=+_0x528d55[_0x3f6169(0x1ef)][_0x3f6169(0x1a7)];if(_0x528d55['method']!==_0x3f6169(0x261)){_0x5cfa76(this,_0x528d55,_0xa707a6,0x195,_0x3f6169(0x1a0));return;}if(_0x3d091a===void 0x0||_0x3d091a['toLowerCase']()!==_0x3f6169(0x2a7)){_0x5cfa76(this,_0x528d55,_0xa707a6,0x190,_0x3f6169(0x267));return;}if(_0x3609be===void 0x0||!_0x42775b[_0x3f6169(0x2c9)](_0x3609be)){_0x5cfa76(this,_0x528d55,_0xa707a6,0x190,_0x3f6169(0x2fa));return;}if(_0x3eaed2!==0xd&&_0x3eaed2!==0x8){_0x5cfa76(this,_0x528d55,_0xa707a6,0x190,_0x3f6169(0x2e8),{'Sec-WebSocket-Version':_0x3f6169(0x225)});return;}if(!this[_0x3f6169(0x31c)](_0x528d55)){_0x4a7608(_0xa707a6,0x190);return;}const _0x1be69b=_0x528d55[_0x3f6169(0x1ef)]['sec-websocket-protocol'];let _0x4af33e=new Set();if(_0x1be69b!==void 0x0)try{_0x4af33e=_0x2792a3['parse'](_0x1be69b);}catch{_0x5cfa76(this,_0x528d55,_0xa707a6,0x190,'Invalid\x20Sec-WebSocket-Protocol\x20header');return;}const _0xc93d7d=_0x528d55[_0x3f6169(0x1ef)][_0x3f6169(0x1f7)],_0x3a2fd9={};if(this['options'][_0x3f6169(0x2d7)]&&_0xc93d7d!==void 0x0){const _0x585a13=new _0xa8e9fb(this[_0x3f6169(0x1ca)][_0x3f6169(0x2d7)],!0x0,this[_0x3f6169(0x1ca)][_0x3f6169(0x287)]);try{const _0x20c56e=_0x4a1319[_0x3f6169(0x20a)](_0xc93d7d);_0x20c56e[_0xa8e9fb['extensionName']]&&(_0x585a13[_0x3f6169(0x2bd)](_0x20c56e[_0xa8e9fb[_0x3f6169(0x2df)]]),_0x3a2fd9[_0xa8e9fb[_0x3f6169(0x2df)]]=_0x585a13);}catch{_0x5cfa76(this,_0x528d55,_0xa707a6,0x190,_0x3f6169(0x2a3));return;}}if(this[_0x3f6169(0x1ca)]['verifyClient']){const _0x1700a8={'origin':_0x528d55[_0x3f6169(0x1ef)][''+(_0x3eaed2===0x8?'sec-websocket-origin':_0x3f6169(0x357))],'secure':!!(_0x528d55['socket'][_0x3f6169(0x30b)]||_0x528d55['socket'][_0x3f6169(0x2e3)]),'req':_0x528d55};if(this[_0x3f6169(0x1ca)][_0x3f6169(0x219)]['length']===0x2){this[_0x3f6169(0x1ca)][_0x3f6169(0x219)](_0x1700a8,(_0x1cc2c7,_0x2a65b9,_0x49c764,_0x5863be)=>{const _0x2bab43=_0x3f6169;if(!_0x1cc2c7)return _0x4a7608(_0xa707a6,_0x2a65b9||0x191,_0x49c764,_0x5863be);this[_0x2bab43(0x2b0)](_0x3a2fd9,_0x3609be,_0x4af33e,_0x528d55,_0xa707a6,_0x16d329,_0x297f76);});return;}if(!this[_0x3f6169(0x1ca)][_0x3f6169(0x219)](_0x1700a8))return _0x4a7608(_0xa707a6,0x191);}this['completeUpgrade'](_0x3a2fd9,_0x3609be,_0x4af33e,_0x528d55,_0xa707a6,_0x16d329,_0x297f76);}[_0x2be3d7(0x2b0)](_0x540218,_0x1e0a55,_0x4be2fa,_0x5615a8,_0x1bee73,_0x6f8032,_0x2cc743){const _0x2b8cfe=_0x2be3d7;if(!_0x1bee73[_0x2b8cfe(0x1a1)]||!_0x1bee73[_0x2b8cfe(0x2da)])return _0x1bee73[_0x2b8cfe(0x207)]();if(_0x1bee73[_0x4206ab])throw new Error(_0x2b8cfe(0x248));if(this['_state']>_0x5db3dd)return _0x4a7608(_0x1bee73,0x1f7);const _0x131221=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0x2b8cfe(0x24d),'Connection:\x20Upgrade',_0x2b8cfe(0x34e)+_0x13784e(_0x2b8cfe(0x26b))[_0x2b8cfe(0x35d)](_0x1e0a55+_0x19b426)[_0x2b8cfe(0x2d9)](_0x2b8cfe(0x354))],_0x408de7=new this[(_0x2b8cfe(0x1ca))][(_0x2b8cfe(0x2a9))](null,void 0x0,this[_0x2b8cfe(0x1ca)]);if(_0x4be2fa[_0x2b8cfe(0x23d)]){const _0x56a47d=this[_0x2b8cfe(0x1ca)][_0x2b8cfe(0x257)]?this[_0x2b8cfe(0x1ca)]['handleProtocols'](_0x4be2fa,_0x5615a8):_0x4be2fa[_0x2b8cfe(0x321)]()['next']()[_0x2b8cfe(0x1ea)];_0x56a47d&&(_0x131221['push'](_0x2b8cfe(0x1b2)+_0x56a47d),_0x408de7[_0x2b8cfe(0x1c5)]=_0x56a47d);}if(_0x540218[_0xa8e9fb[_0x2b8cfe(0x2df)]]){const _0x468e9e=_0x540218[_0xa8e9fb[_0x2b8cfe(0x2df)]][_0x2b8cfe(0x1f4)],_0xf85764=_0x4a1319[_0x2b8cfe(0x2e5)]({[_0xa8e9fb[_0x2b8cfe(0x2df)]]:[_0x468e9e]});_0x131221[_0x2b8cfe(0x300)]('Sec-WebSocket-Extensions:\x20'+_0xf85764),_0x408de7[_0x2b8cfe(0x1dd)]=_0x540218;}this['emit'](_0x2b8cfe(0x1ef),_0x131221,_0x5615a8),_0x1bee73['write'](_0x131221[_0x2b8cfe(0x29f)]('\x0d\x0a')[_0x2b8cfe(0x2ad)]('\x0d\x0a')),_0x1bee73['removeListener']('error',_0x193d25),_0x408de7['setSocket'](_0x1bee73,_0x6f8032,{'allowSynchronousEvents':this['options'][_0x2b8cfe(0x2a4)],'maxPayload':this[_0x2b8cfe(0x1ca)]['maxPayload'],'skipUTF8Validation':this['options']['skipUTF8Validation']}),this[_0x2b8cfe(0x221)]&&(this[_0x2b8cfe(0x221)][_0x2b8cfe(0x347)](_0x408de7),_0x408de7['on'](_0x2b8cfe(0x1af),()=>{const _0x408d40=_0x2b8cfe;this[_0x408d40(0x221)][_0x408d40(0x314)](_0x408de7),this[_0x408d40(0x205)]&&!this[_0x408d40(0x221)]['size']&&process[_0x408d40(0x1f6)](_0x2cda61,this);})),_0x2cc743(_0x408de7,_0x5615a8);}}Te=_0x42f20a;function _0xdba86a(_0x21f647,_0x259ed9){const _0xfc90f8=_0x2be3d7;for(const _0xabf0a3 of Object[_0xfc90f8(0x1a2)](_0x259ed9))_0x21f647['on'](_0xabf0a3,_0x259ed9[_0xabf0a3]);return function(){const _0x404e31=_0xfc90f8;for(const _0xe1f9e0 of Object['keys'](_0x259ed9))_0x21f647[_0x404e31(0x237)](_0xe1f9e0,_0x259ed9[_0xe1f9e0]);};}function _0x2cda61(_0x451f18){const _0x47f48d=_0x2be3d7;_0x451f18[_0x47f48d(0x216)]=_0x3c55c4,_0x451f18[_0x47f48d(0x25b)]('close');}function _0x193d25(){const _0x152ce8=_0x2be3d7;this[_0x152ce8(0x207)]();}function _0x4a7608(_0x7150df,_0x1c2fee,_0x54734c,_0x597c02){const _0x44f57e=_0x2be3d7;_0x54734c=_0x54734c||_0x5c9c81[_0x44f57e(0x25d)][_0x1c2fee],_0x597c02={'Connection':_0x44f57e(0x1af),'Content-Type':'text/html','Content-Length':Buffer[_0x44f57e(0x1ec)](_0x54734c),..._0x597c02},_0x7150df[_0x44f57e(0x2ee)]('finish',_0x7150df[_0x44f57e(0x207)]),_0x7150df['end'](_0x44f57e(0x28e)+_0x1c2fee+'\x20'+_0x5c9c81[_0x44f57e(0x25d)][_0x1c2fee]+'\x0d\x0a'+Object[_0x44f57e(0x1a2)](_0x597c02)[_0x44f57e(0x30d)](_0x3b46b5=>_0x3b46b5+':\x20'+_0x597c02[_0x3b46b5])['join']('\x0d\x0a')+_0x44f57e(0x35b)+_0x54734c);}function _0x5cfa76(_0xefd570,_0x3a2aa8,_0x47ced6,_0x435cf1,_0x598da2,_0x306d8f){const _0xe0d2b=_0x2be3d7;if(_0xefd570[_0xe0d2b(0x1d4)](_0xe0d2b(0x1ff))){const _0x10f3e4=new Error(_0x598da2);Error['captureStackTrace'](_0x10f3e4,_0x5cfa76),_0xefd570['emit'](_0xe0d2b(0x1ff),_0x10f3e4,_0x47ced6,_0x3a2aa8);}else _0x4a7608(_0x47ced6,_0x435cf1,_0x598da2,_0x306d8f);}return Te;}er();var tr=Object[_0x10fc00(0x1c3)],rr=(_0x62c943,_0xff6a32,_0x15d0d7,_0x4fbe3e)=>{const _0x1c78ba=_0x10fc00;for(var _0x35c130=_0x4fbe3e>0x1?void 0x0:_0x4fbe3e?tr(_0xff6a32,_0x15d0d7):_0xff6a32,_0xad1554=_0x62c943[_0x1c78ba(0x2fb)]-0x1,_0x5908cc;_0xad1554>=0x0;_0xad1554--)(_0x5908cc=_0x62c943[_0xad1554])&&(_0x35c130=_0x5908cc(_0x35c130)||_0x35c130);return _0x35c130;},sr=(_0x33123b,_0x2b6cf0)=>(_0x127a26,_0x3adace)=>_0x2b6cf0(_0x127a26,_0x3adace,_0x33123b);let Ne=class extends _0x2c5f6f{constructor(_0x20d3c5){super(),this['_configService']=_0x20d3c5;}['createSocket'](_0x37bc36){const _0x259450=_0x10fc00;var _0x3eb3f8;const _0x2a12a7=(_0x3eb3f8=this[_0x259450(0x1b4)][_0x259450(0x25a)](Be))==null?void 0x0:_0x3eb3f8[_0x259450(0x348)];try{const _0x3cd675=new Qt(_0x37bc36,{'headers':{..._0x2a12a7}}),_0x114dc1=new _0x3fff8a();return{'URL':_0x37bc36,'close':(_0x294750,_0x7bba48)=>{const _0x4e9db3=_0x259450;_0x3cd675[_0x4e9db3(0x1af)](_0x294750,_0x7bba48),_0x114dc1[_0x4e9db3(0x1c8)]();},'send':_0x19d325=>{const _0x523ce0=_0x259450;_0x3cd675[_0x523ce0(0x275)](_0x19d325);},'open$':new _0x5d2673(_0x4d551a=>{const _0x5be361=_0x259450,_0x5c5584=_0x547a8f=>_0x4d551a[_0x5be361(0x1e1)](_0x547a8f);_0x3cd675[_0x5be361(0x351)](_0x5be361(0x317),_0x5c5584),_0x114dc1[_0x5be361(0x347)](_0x24d215(()=>_0x3cd675['removeEventListener'](_0x5be361(0x317),_0x5c5584)));})[_0x259450(0x299)](_0x48124f()),'close$':new _0x5d2673(_0x430a00=>{const _0x3e6bf2=_0x259450,_0x3b94d3=_0x7abdc9=>_0x430a00[_0x3e6bf2(0x1e1)](_0x7abdc9);_0x3cd675[_0x3e6bf2(0x351)](_0x3e6bf2(0x1af),_0x3b94d3),_0x114dc1[_0x3e6bf2(0x347)](_0x24d215(()=>_0x3cd675[_0x3e6bf2(0x21a)](_0x3e6bf2(0x1af),_0x3b94d3)));})[_0x259450(0x299)](_0x48124f()),'error$':new _0x5d2673(_0x1e54db=>{const _0x24bed6=_0x259450,_0x394a25=_0x511bb5=>_0x1e54db['next'](_0x511bb5);_0x3cd675[_0x24bed6(0x351)](_0x24bed6(0x30f),_0x394a25),_0x114dc1[_0x24bed6(0x347)](_0x24d215(()=>_0x3cd675[_0x24bed6(0x21a)](_0x24bed6(0x30f),_0x394a25)));})['pipe'](_0x48124f()),'message$':new _0x5d2673(_0x58b976=>{const _0xc2adcc=_0x259450,_0xbae1d7=_0x7f2651=>_0x58b976[_0xc2adcc(0x1e1)](_0x7f2651);_0x3cd675[_0xc2adcc(0x351)](_0xc2adcc(0x1f8),_0xbae1d7),_0x114dc1[_0xc2adcc(0x347)](_0x24d215(()=>_0x3cd675[_0xc2adcc(0x21a)](_0xc2adcc(0x1f8),_0xbae1d7)));})['pipe'](_0x48124f())};}catch(_0x57db30){return console['error'](_0x57db30),null;}}};Ne=rr([sr(0x0,_0x21cc3a)],Ne);var ir=Object[_0x10fc00(0x356)],nr=Object[_0x10fc00(0x1c3)],or=(_0x4e80ac,_0x1c7f6e,_0x25615d)=>_0x1c7f6e in _0x4e80ac?ir(_0x4e80ac,_0x1c7f6e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x25615d}):_0x4e80ac[_0x1c7f6e]=_0x25615d,ar=(_0x5949c3,_0x1cab43,_0x59b23f,_0x3fd6b9)=>{const _0x55f889=_0x10fc00;for(var _0x193751=_0x3fd6b9>0x1?void 0x0:_0x3fd6b9?nr(_0x1cab43,_0x59b23f):_0x1cab43,_0x53cc99=_0x5949c3[_0x55f889(0x2fb)]-0x1,_0x4f06c1;_0x53cc99>=0x0;_0x53cc99--)(_0x4f06c1=_0x5949c3[_0x53cc99])&&(_0x193751=_0x4f06c1(_0x193751)||_0x193751);return _0x193751;},ke=(_0x2b5b23,_0x3b4c35)=>(_0x522adb,_0x33afc3)=>_0x3b4c35(_0x522adb,_0x33afc3,_0x2b5b23),lr=(_0x30342d,_0x1a3fd5,_0x56772d)=>or(_0x30342d,_0x1a3fd5+'',_0x56772d);let Pe=class extends _0x1b7c72{constructor(_0x4510be=Ft,_0x43fb76,_0x8eb792,_0x27fd30){const _0x24c78c=_0x10fc00;_0x4510be[_0x24c78c(0x348)]||_0x43fb76[_0x24c78c(0x220)](_0x24c78c(0x33d)),super(),this['_configService']=_0x8eb792,this[_0x24c78c(0x26e)]=_0x27fd30,this[_0x24c78c(0x1b4)]['setConfig'](Be,_0x4510be);}[_0x10fc00(0x2d6)](){const _0xd2cbbe=_0x10fc00;this[_0xd2cbbe(0x21d)]();}[_0x10fc00(0x21d)](){_0x42b41d(this['_injector'],[[_0x132b3b,{'useClass':Ne}]]);}};function _0x315a(_0x195426,_0xb7df07){const _0x40318c=_0x4031();return _0x315a=function(_0x315a11,_0x35f102){_0x315a11=_0x315a11-0x1a0;let _0x58c097=_0x40318c[_0x315a11];return _0x58c097;},_0x315a(_0x195426,_0xb7df07);}lr(Pe,_0x10fc00(0x217),_0x10fc00(0x273)),Pe=ar([_0x590359(_0x55d7ad),ke(0x1,_0x5401a7),ke(0x2,_0x21cc3a),ke(0x3,_0x31d314(_0x1d955c))],Pe);var fr=Object[_0x10fc00(0x1c3)],cr=(_0x357baf,_0x556df4,_0xc3f237,_0x2bc33e)=>{for(var _0x4a0716=_0x2bc33e>0x1?void 0x0:_0x2bc33e?fr(_0x556df4,_0xc3f237):_0x556df4,_0x1a2dfe=_0x357baf['length']-0x1,_0x27bc79;_0x1a2dfe>=0x0;_0x1a2dfe--)(_0x27bc79=_0x357baf[_0x1a2dfe])&&(_0x4a0716=_0x27bc79(_0x4a0716)||_0x4a0716);return _0x4a0716;},se=(_0x3e024f,_0x1d7e8d)=>(_0x40af61,_0x228e42)=>_0x1d7e8d(_0x40af61,_0x228e42,_0x3e024f);let at=class extends _0x2d1e80{constructor(_0x575edc,_0x5c5dba,_0x327746,_0x5106f3,_0x511a8){const _0x25a469=_0x10fc00;super(_0x575edc,_0x5c5dba,_0x327746,_0x5106f3,_0x511a8);const _0x4b3146=this[_0x25a469(0x1b4)][_0x25a469(0x25a)](Be);this['_httpService']['registerHTTPInterceptor']({'interceptor':(_0x4ce3ac,_0xd9a6b)=>{const _0xb19db5=_0x25a469;var _0x853334;const _0x4f2974=_0x4ce3ac[_0xb19db5(0x1ef)];return(_0x853334=_0x4b3146==null?void 0x0:_0x4b3146[_0xb19db5(0x348)])!=null&&_0x853334['cookie']&&_0x4f2974[_0xb19db5(0x1f3)](_0xb19db5(0x2c0),_0x4b3146[_0xb19db5(0x348)]['cookie']),_0xd9a6b(_0x4ce3ac);}});}async[_0x10fc00(0x2f6)](_0x1a8993){const _0x8f5ad4=_0x10fc00;return this[_0x8f5ad4(0x21f)](_0x1a8993);}};at=cr([se(0x0,_0x31d314(_0x1d955c)),se(0x1,_0x31d314(_0x2ff3d2)),se(0x2,_0x21cc3a),se(0x3,_0x5401a7),se(0x4,_0x4941bd)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
|