@univerjs-pro/collaboration-client-node 0.8.1 → 0.8.2-nightly.202506211606

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0x4a201d=_0x1608;(function(_0x4ec28d,_0x179b39){const _0x1acdc9=_0x1608,_0x202273=_0x4ec28d();while(!![]){try{const _0x152c49=parseInt(_0x1acdc9(0x118))/0x1+-parseInt(_0x1acdc9(0x129))/0x2+parseInt(_0x1acdc9(0x234))/0x3+-parseInt(_0x1acdc9(0x1cd))/0x4+parseInt(_0x1acdc9(0x1e9))/0x5*(-parseInt(_0x1acdc9(0xf0))/0x6)+parseInt(_0x1acdc9(0x1c1))/0x7*(parseInt(_0x1acdc9(0x24c))/0x8)+parseInt(_0x1acdc9(0x1b7))/0x9;if(_0x152c49===_0x179b39)break;else _0x202273['push'](_0x202273['shift']());}catch(_0x3e8221){_0x202273['push'](_0x202273['shift']());}}}(_0x5b53,0x73103));import{UniverCollaborationClientPlugin as _0x5b7145,CollaborationSocketService as _0x3f3465}from'@univerjs-pro/collaboration-client';import{Disposable as _0x764400,DisposableCollection as _0x3fb50b,toDisposable as _0x5e98cc,IConfigService as _0x175b17,DependentOn as _0x16e80f,ILogService as _0x30cf7c,Inject as _0x123349,Injector as _0x22b1a9,Plugin as _0x4b5834,registerDependencies as _0x2fac8f}from'@univerjs/core';import{ISocketService as _0x389364,HTTPService as _0x244dcf}from'@univerjs/network';import{Observable as _0x2b97b7,share as _0x1afc44}from'rxjs';import _0x599110 from'events';import _0x3ddd8d from'https';import _0xcb97b6 from'http';import _0x9a1720 from'net';import _0xcff5a1 from'tls';import _0x79d614 from'crypto';import _0x350906 from'stream';import _0x2a6dda from'url';import _0x2a8488 from'zlib';import _0x106b32 from'buffer';import{ISnapshotServerService as _0x51c404}from'@univerjs-pro/collaboration';const Be=_0x4a201d(0x259),Ft={'customHeaders':{}};function jt(_0x1948a3){const _0x23b8aa=_0x4a201d;return _0x1948a3&&_0x1948a3[_0x23b8aa(0x1b3)]&&Object[_0x23b8aa(0x130)][_0x23b8aa(0x13a)][_0x23b8aa(0x19a)](_0x1948a3,_0x23b8aa(0x1f7))?_0x1948a3[_0x23b8aa(0x1f7)]:_0x1948a3;}function _0x5b53(){const _0x4b3f49=['nodebuffer','errorEmitted','cork','blob','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','fragments','base64','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','authorized','The\x20\x22','env','CLOSING','allocUnsafe','backlog','warn','finish','parse','pow','allowSynchronousEvents','toLowerCase','status-code','autoPong','WebSocket\x20is\x20not\x20open:\x20readyState\x20','_redirects','WS_ERR_INVALID_OPCODE','bufferedAmount','slice','zlibDeflateOptions','options','_paused','string','byteLength','verifyClient','port','wsClientError','_closeMessage','_receiver','invalid\x20opcode\x20','sendFrame','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','host','jobs','The\x20URL\x20contains\x20a\x20fragment\x20identifier','finishRequest','href','haveLength','isView','unshift','_messageLength','getOwnPropertyDescriptor','shouldHandle','endEmitted','text/html','arraybuffer','createError','_server','RSV1\x20must\x20be\x20clear','push','_closeCode','servername','number','object','isIP','resume','isArray','url','_originalIpc','WS_ERR_EXPECTED_FIN','test','Invalid\x20WebSocket\x20frame:\x20','opcode','setSocket','call','username','The\x20server\x20is\x20not\x20running','_socket','listenerCount','decompress','error','Max\x20payload\x20size\x20exceeded','_closeTimer','rsv1','concurrencyLimit','getMask','defineProperty','hostname','wss:','_binaryType','getPayloadLength16','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','socket','acceptAsServer','flush','_max_window_bits','kCode','handleUpgrade','permessage-deflate','__esModule','extensions','clientMaxWindowBits','_fragments','6402447uJOqSp','listen','sec-websocket-key','_masked','_isServer','_url','listening','_buffers','readyState','_extensions','83405YzEeAp','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','CONNECTING','_writableState','WebSocket','_originalSecure','normalizeParams','write','Upgrade','listeners','charCodeAt','_threshold','3135556cWhthN','emitClose','getPayloadLength64','password','byteOffset','reset','headers','onclose','server_max_window_bits','_autoPong','_no_context_takeover','writeHead','WS_ERR_INVALID_CLOSE_CODE','setTimeout','maxPayload','_bufferedAmount','addEventListener','alloc','size','Sec-WebSocket-Protocol','method','hash','_readableState','_errorEmitted','kData','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','Unexpected\x20character\x20at\x20index\x20','78395ViTpUL','from','Z_DEFAULT_WINDOWBITS','dispatch','_req','once','client_no_context_takeover','indexOf','_final','pluginName','shift','update','type','getConfig','default','readOnly','Unsupported\x20protocol\x20version:\x20','zlibInflateOptions','address','invalid\x20UTF-8\x20sequence','_protocol','close','Parameter\x20\x22','GET','websocket','pause','kRun','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','_decompress','then','arrayBuffer','_generateMask','\x22\x20must\x20have\x20only\x20a\x20single\x20value','protocol','redirect','request','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','exports','clientTracking','concat','readUInt16BE','frame','writeUInt16BE','consume','onmessage','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','connect','destroyed','kIsForOnEventAttribute','_maxPayload','search','end','length','_queue','pending','_maskBuffer','customHeaders','\x22\x20subprotocol\x20is\x20duplicated','_allowSynchronousEvents','removeEventListener','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','extensionName','dispose','authorization','clientNoContextTakeover','conclude','needDrain','set','acceptAsClient','forEach','join','socketPath','captureStackTrace','origin','CLOSED','1490214nsKfdy','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','perMessageDeflate','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','Blob','MASK\x20must\x20be\x20clear','constructor','bind','getBlobData','Maximum\x20redirects\x20exceeded','accept','_registerDependencies','_fin','sec-websocket-origin','Sec-WebSocket-Extensions','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','create','next','buffer','Opening\x20handshake\x20has\x20timed\x20out','code','_compress','_injector','toString','416aRvIcC','sec-websocket-accept','onopen','enqueue','readUInt32BE','STATUS_CODES','entries','_deflate','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','sec-websocket-extensions','emit','unmask','nextTick','collaboration-client-node.config','reason','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','_configService','wasClean','cleanup','Z_SYNC_FLUSH','server_no_context_takeover','Basic\x20','server','location','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','ws:','dequeue','OPEN','\x22:\x20','concurrency','\x0d\x0a\x0d\x0a','add','setConfig','kDone','Invalid\x20Sec-WebSocket-Extensions\x20header','_payloadLength','_sender','_options','startsWith','kAborted','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','isPaused','createSocket','keys','startLoop','has','Unknown\x20parameter\x20\x22','The\x20URL\x27s\x20pathname\x20is\x20empty','response','WS_NO_BUFFER_UTIL','_fragmented','kListener','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','construct','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','setNoDelay','createInflateRaw','message','target','Origin','pong','species','ping','read','get','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','binaryType','_shouldEmitClose','generateMask','Module','_doCreateSocket','delete','unexpected-response','serverMaxWindowBits','connection','onerror','_totalPayloadLength','Invalid\x20Sec-WebSocket-Protocol\x20header','_removeListeners','removeListener','includes','followRedirects','compress','format','96FIwIoZ','auth','clients','send','removeAllListeners','isBuffer','buffers','_state','completeUpgrade','MASK\x20must\x20be\x20set','writable','sha1','kReason','createDeflateRaw','_write','handleProtocols','data','Cookie','setHeader','invalid\x20status\x20code\x20','fin','_originalHostOrSocketPath','params','toStringTag','maskBuffer','_opcode','pathname','destroy','_firstFragment','offer','Sec-WebSocket-Accept:\x20','Upgrade:\x20websocket','mask','_errored','Invalid\x20URL:\x20','WS_ERR_UNEXPECTED_MASK','replace','invalid\x20opcode\x200','controlMessage','value','46192OmHhCW','kType','WS_ERR_UNEXPECTED_RSV_1','WS_ERR_EXPECTED_MASK','_readyState','Unexpected\x20server\x20response:\x20','function','open','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','defaultPort','FIN\x20must\x20be\x20set','Connection:\x20Upgrade','WS_ERR_INVALID_UTF8','Unexpected\x20end\x20of\x20input','_skipUTF8Validation','Invalid\x20Sec-WebSocket-Accept\x20header','abort','735682cOWbjW','_closeFrameSent','skipUTF8Validation','timeout','HTTP/1.1\x20','Invalid\x20HTTP\x20method','_mask','prototype','map','total-length','callback','encrypted','getInfo','cookie','client_max_window_bits','upgrade','isValidUTF8','hasOwnProperty','noServer','Sec-WebSocket-Origin','WS_NO_UTF_8_VALIDATE','_compressed','_closeFrameReceived','protocolVersion','Invalid\x20Upgrade\x20header','threshold','_bufferedBytes','digest','invalid\x20payload\x20length\x20','Invalid\x20value\x20for\x20parameter\x20\x22','pipe','_loop','finished','path','kError','serverNoContextTakeover','_destroy','_inflate','onStarting','apply','\x20(supported\x20versions:\x20'];_0x5b53=function(){return _0x4b3f49;};return _0x5b53();}function ut(_0x3695df){const _0x3cfe48=_0x4a201d;if(Object[_0x3cfe48(0x130)]['hasOwnProperty'][_0x3cfe48(0x19a)](_0x3695df,_0x3cfe48(0x1b3)))return _0x3695df;var _0x555953=_0x3695df[_0x3cfe48(0x1f7)];if(typeof _0x555953=='function'){var _0x96db5a=function _0x18d473(){const _0x34bba0=_0x3cfe48;return this instanceof _0x18d473?Reflect[_0x34bba0(0xd1)](_0x555953,arguments,this[_0x34bba0(0x23a)]):_0x555953['apply'](this,arguments);};_0x96db5a[_0x3cfe48(0x130)]=_0x555953[_0x3cfe48(0x130)];}else _0x96db5a={};return Object[_0x3cfe48(0x1a6)](_0x96db5a,_0x3cfe48(0x1b3),{'value':!0x0}),Object[_0x3cfe48(0xc7)](_0x3695df)[_0x3cfe48(0x22e)](function(_0x4c2e2f){const _0x24e9d8=_0x3cfe48;var _0x4fd3ea=Object[_0x24e9d8(0x183)](_0x3695df,_0x4c2e2f);Object[_0x24e9d8(0x1a6)](_0x96db5a,_0x4c2e2f,_0x4fd3ea[_0x24e9d8(0xdc)]?_0x4fd3ea:{'enumerable':!0x0,'get':function(){return _0x3695df[_0x4c2e2f];}});}),_0x96db5a;}var te={'exports':{}},ge,Ye;function V(){const _0x379ee8=_0x4a201d;if(Ye)return ge;Ye=0x1;const _0x6e72e8=[_0x379ee8(0x152),_0x379ee8(0x187),_0x379ee8(0x157)],_0x45aa9e=typeof Blob<'u';return _0x45aa9e&&_0x6e72e8['push'](_0x379ee8(0x155)),ge={'BINARY_TYPES':_0x6e72e8,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':_0x379ee8(0x1e6),'hasBlob':_0x45aa9e,'kForOnEventAttribute':Symbol(_0x379ee8(0x219)),'kListener':Symbol(_0x379ee8(0xcf)),'kStatusCode':Symbol(_0x379ee8(0x166)),'kWebSocket':Symbol(_0x379ee8(0x201)),'NOOP':()=>{}},ge;}const Wt={},Gt=Object['freeze'](Object[_0x4a201d(0x1a6)]({'__proto__':null,'default':Wt},Symbol[_0x4a201d(0x107)],{'value':'Module'})),Vt=ut(Gt);var Ke;function ce(){const _0x1d28b5=_0x4a201d;if(Ke)return te[_0x1d28b5(0x20e)];Ke=0x1;const {EMPTY_BUFFER:_0x43176e}=V(),_0x174ab1=Buffer[Symbol['species']];function _0x4d4c09(_0x35d7d9,_0x233084){const _0x392abf=_0x1d28b5;if(_0x35d7d9[_0x392abf(0x21d)]===0x0)return _0x43176e;if(_0x35d7d9[_0x392abf(0x21d)]===0x1)return _0x35d7d9[0x0];const _0x13ea12=Buffer[_0x392abf(0x15e)](_0x233084);let _0x3e8488=0x0;for(let _0x8f0a63=0x0;_0x8f0a63<_0x35d7d9['length'];_0x8f0a63++){const _0x2235f4=_0x35d7d9[_0x8f0a63];_0x13ea12[_0x392abf(0x22c)](_0x2235f4,_0x3e8488),_0x3e8488+=_0x2235f4[_0x392abf(0x21d)];}return _0x3e8488<_0x233084?new _0x174ab1(_0x13ea12[_0x392abf(0x246)],_0x13ea12[_0x392abf(0x1d1)],_0x3e8488):_0x13ea12;}function _0xd9231b(_0x35d332,_0x1c63f0,_0x2e3a31,_0x4bf579,_0x3673e7){for(let _0x26f0b=0x0;_0x26f0b<_0x3673e7;_0x26f0b++)_0x2e3a31[_0x4bf579+_0x26f0b]=_0x35d332[_0x26f0b]^_0x1c63f0[_0x26f0b&0x3];}function _0x105ebc(_0x488f0d,_0x5e714b){const _0x35e80f=_0x1d28b5;for(let _0x51f37a=0x0;_0x51f37a<_0x488f0d[_0x35e80f(0x21d)];_0x51f37a++)_0x488f0d[_0x51f37a]^=_0x5e714b[_0x51f37a&0x3];}function _0x2de77a(_0x1a7449){const _0x2c5971=_0x1d28b5;return _0x1a7449[_0x2c5971(0x21d)]===_0x1a7449[_0x2c5971(0x246)][_0x2c5971(0x171)]?_0x1a7449[_0x2c5971(0x246)]:_0x1a7449[_0x2c5971(0x246)][_0x2c5971(0x16c)](_0x1a7449[_0x2c5971(0x1d1)],_0x1a7449['byteOffset']+_0x1a7449[_0x2c5971(0x21d)]);}function _0x1a4593(_0x5e4372){const _0x49a6dd=_0x1d28b5;if(_0x1a4593[_0x49a6dd(0x1f8)]=!0x0,Buffer[_0x49a6dd(0xf5)](_0x5e4372))return _0x5e4372;let _0x32535f;return _0x5e4372 instanceof ArrayBuffer?_0x32535f=new _0x174ab1(_0x5e4372):ArrayBuffer[_0x49a6dd(0x180)](_0x5e4372)?_0x32535f=new _0x174ab1(_0x5e4372[_0x49a6dd(0x246)],_0x5e4372[_0x49a6dd(0x1d1)],_0x5e4372[_0x49a6dd(0x171)]):(_0x32535f=Buffer[_0x49a6dd(0x1ea)](_0x5e4372),_0x1a4593[_0x49a6dd(0x1f8)]=!0x1),_0x32535f;}if(te['exports']={'concat':_0x4d4c09,'mask':_0xd9231b,'toArrayBuffer':_0x2de77a,'toBuffer':_0x1a4593,'unmask':_0x105ebc},!process[_0x1d28b5(0x15c)][_0x1d28b5(0xcd)])try{const _0x411131=Vt;te['exports'][_0x1d28b5(0x110)]=function(_0x3e7c98,_0x230d06,_0x4ae5fb,_0x15409a,_0x226940){_0x226940<0x30?_0xd9231b(_0x3e7c98,_0x230d06,_0x4ae5fb,_0x15409a,_0x226940):_0x411131['mask'](_0x3e7c98,_0x230d06,_0x4ae5fb,_0x15409a,_0x226940);},te[_0x1d28b5(0x20e)][_0x1d28b5(0x257)]=function(_0x3e35a2,_0x84ddd7){const _0x36411e=_0x1d28b5;_0x3e35a2[_0x36411e(0x21d)]<0x20?_0x105ebc(_0x3e35a2,_0x84ddd7):_0x411131['unmask'](_0x3e35a2,_0x84ddd7);};}catch{}return te[_0x1d28b5(0x20e)];}var ye,Xe;function qt(){const _0x186f32=_0x4a201d;if(Xe)return ye;Xe=0x1;const _0x1e465b=Symbol(_0x186f32(0x26d)),_0x5ef508=Symbol(_0x186f32(0x203));class _0x59d6c6{constructor(_0xda5c1b){const _0x1ca390=_0x186f32;this[_0x1e465b]=()=>{const _0x294703=_0x1608;this[_0x294703(0x21f)]--,this[_0x5ef508]();},this[_0x1ca390(0x269)]=_0xda5c1b||0x1/0x0,this[_0x1ca390(0x17b)]=[],this['pending']=0x0;}[_0x186f32(0x26b)](_0xfd503e){const _0x392f38=_0x186f32;this[_0x392f38(0x17b)][_0x392f38(0x18b)](_0xfd503e),this[_0x5ef508]();}[_0x5ef508](){const _0x4f1f42=_0x186f32;if(this['pending']!==this['concurrency']&&this[_0x4f1f42(0x17b)][_0x4f1f42(0x21d)]){const _0x331a84=this[_0x4f1f42(0x17b)][_0x4f1f42(0x1f3)]();this[_0x4f1f42(0x21f)]++,_0x331a84(this[_0x1e465b]);}}}return ye=_0x59d6c6,ye;}var ve,Ze;function he(){const _0x1cf3aa=_0x4a201d;if(Ze)return ve;Ze=0x1;const _0x2b09e1=_0x2a8488,_0x136f3f=ce(),_0x1086c4=qt(),{kStatusCode:_0x2a986c}=V(),_0xda7263=Buffer[Symbol[_0x1cf3aa(0xd9)]],_0x1741d5=Buffer[_0x1cf3aa(0x1ea)]([0x0,0x0,0xff,0xff]),_0x5aa4e0=Symbol(_0x1cf3aa(0x1b2)),_0x3631b3=Symbol(_0x1cf3aa(0x132)),_0x29b731=Symbol(_0x1cf3aa(0x133)),_0x3d6f37=Symbol(_0x1cf3aa(0xf6)),_0x62079a=Symbol(_0x1cf3aa(0x1a0));let _0x2182d1;class _0x485f2e{constructor(_0x5d5cbe,_0x221860,_0xa4f90d){const _0x3715d9=_0x1cf3aa;if(this[_0x3715d9(0x21a)]=_0xa4f90d|0x0,this[_0x3715d9(0x271)]=_0x5d5cbe||{},this[_0x3715d9(0x1cc)]=this[_0x3715d9(0x271)][_0x3715d9(0x142)]!==void 0x0?this[_0x3715d9(0x271)]['threshold']:0x400,this[_0x3715d9(0x1bb)]=!!_0x221860,this[_0x3715d9(0x253)]=null,this[_0x3715d9(0x14e)]=null,this[_0x3715d9(0x106)]=null,!_0x2182d1){const _0x372438=this[_0x3715d9(0x271)][_0x3715d9(0x1a4)]!==void 0x0?this[_0x3715d9(0x271)]['concurrencyLimit']:0xa;_0x2182d1=new _0x1086c4(_0x372438);}}static get['extensionName'](){return'permessage-deflate';}[_0x1cf3aa(0x10d)](){const _0x129638=_0x1cf3aa,_0x5573fe={};return this[_0x129638(0x271)][_0x129638(0x14c)]&&(_0x5573fe[_0x129638(0x260)]=!0x0),this['_options']['clientNoContextTakeover']&&(_0x5573fe[_0x129638(0x1ef)]=!0x0),this[_0x129638(0x271)]['serverMaxWindowBits']&&(_0x5573fe[_0x129638(0x1d5)]=this[_0x129638(0x271)][_0x129638(0xe5)]),this[_0x129638(0x271)][_0x129638(0x1b5)]?_0x5573fe[_0x129638(0x137)]=this[_0x129638(0x271)]['clientMaxWindowBits']:this[_0x129638(0x271)]['clientMaxWindowBits']==null&&(_0x5573fe[_0x129638(0x137)]=!0x0),_0x5573fe;}['accept'](_0x1ace7a){const _0x257539=_0x1cf3aa;return _0x1ace7a=this[_0x257539(0x1c7)](_0x1ace7a),this[_0x257539(0x106)]=this['_isServer']?this['acceptAsServer'](_0x1ace7a):this[_0x257539(0x22d)](_0x1ace7a),this[_0x257539(0x106)];}[_0x1cf3aa(0x25e)](){const _0x251878=_0x1cf3aa;if(this[_0x251878(0x14e)]&&(this[_0x251878(0x14e)][_0x251878(0x1fe)](),this[_0x251878(0x14e)]=null),this[_0x251878(0x253)]){const _0x90f309=this[_0x251878(0x253)][_0x29b731];this[_0x251878(0x253)][_0x251878(0x1fe)](),this['_deflate']=null,_0x90f309&&_0x90f309(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}[_0x1cf3aa(0x1ad)](_0xd65644){const _0x2eb4d0=_0x1cf3aa,_0x1a626b=this['_options'],_0x13684e=_0xd65644['find'](_0x3e7a02=>!(_0x1a626b[_0x2eb4d0(0x14c)]===!0x1&&_0x3e7a02[_0x2eb4d0(0x260)]||_0x3e7a02['server_max_window_bits']&&(_0x1a626b[_0x2eb4d0(0xe5)]===!0x1||typeof _0x1a626b[_0x2eb4d0(0xe5)]==_0x2eb4d0(0x18e)&&_0x1a626b[_0x2eb4d0(0xe5)]>_0x3e7a02['server_max_window_bits'])||typeof _0x1a626b[_0x2eb4d0(0x1b5)]==_0x2eb4d0(0x18e)&&!_0x3e7a02[_0x2eb4d0(0x137)]));if(!_0x13684e)throw new Error(_0x2eb4d0(0x1ab));return _0x1a626b[_0x2eb4d0(0x14c)]&&(_0x13684e[_0x2eb4d0(0x260)]=!0x0),_0x1a626b[_0x2eb4d0(0x229)]&&(_0x13684e[_0x2eb4d0(0x1ef)]=!0x0),typeof _0x1a626b[_0x2eb4d0(0xe5)]==_0x2eb4d0(0x18e)&&(_0x13684e[_0x2eb4d0(0x1d5)]=_0x1a626b[_0x2eb4d0(0xe5)]),typeof _0x1a626b[_0x2eb4d0(0x1b5)]==_0x2eb4d0(0x18e)?_0x13684e[_0x2eb4d0(0x137)]=_0x1a626b[_0x2eb4d0(0x1b5)]:(_0x13684e[_0x2eb4d0(0x137)]===!0x0||_0x1a626b[_0x2eb4d0(0x1b5)]===!0x1)&&delete _0x13684e[_0x2eb4d0(0x137)],_0x13684e;}['acceptAsClient'](_0xd96197){const _0x49860c=_0x1cf3aa,_0x1de10d=_0xd96197[0x0];if(this['_options'][_0x49860c(0x229)]===!0x1&&_0x1de10d['client_no_context_takeover'])throw new Error(_0x49860c(0xd0));if(!_0x1de10d[_0x49860c(0x137)])typeof this['_options'][_0x49860c(0x1b5)]==_0x49860c(0x18e)&&(_0x1de10d[_0x49860c(0x137)]=this['_options'][_0x49860c(0x1b5)]);else{if(this[_0x49860c(0x271)][_0x49860c(0x1b5)]===!0x1||typeof this[_0x49860c(0x271)][_0x49860c(0x1b5)]=='number'&&_0x1de10d[_0x49860c(0x137)]>this[_0x49860c(0x271)]['clientMaxWindowBits'])throw new Error('Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22');}return _0x1de10d;}[_0x1cf3aa(0x1c7)](_0x34df51){const _0xd575d2=_0x1cf3aa;return _0x34df51[_0xd575d2(0x22e)](_0x332f7c=>{const _0x1c21f6=_0xd575d2;Object['keys'](_0x332f7c)[_0x1c21f6(0x22e)](_0x1bcc60=>{const _0x40e417=_0x1c21f6;let _0x2c1c2d=_0x332f7c[_0x1bcc60];if(_0x2c1c2d[_0x40e417(0x21d)]>0x1)throw new Error(_0x40e417(0x1ff)+_0x1bcc60+_0x40e417(0x209));if(_0x2c1c2d=_0x2c1c2d[0x0],_0x1bcc60==='client_max_window_bits'){if(_0x2c1c2d!==!0x0){const _0x51e30b=+_0x2c1c2d;if(!Number['isInteger'](_0x51e30b)||_0x51e30b<0x8||_0x51e30b>0xf)throw new TypeError(_0x40e417(0x146)+_0x1bcc60+'\x22:\x20'+_0x2c1c2d);_0x2c1c2d=_0x51e30b;}else{if(!this[_0x40e417(0x1bb)])throw new TypeError(_0x40e417(0x146)+_0x1bcc60+_0x40e417(0x268)+_0x2c1c2d);}}else{if(_0x1bcc60===_0x40e417(0x1d5)){const _0x329b8c=+_0x2c1c2d;if(!Number['isInteger'](_0x329b8c)||_0x329b8c<0x8||_0x329b8c>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x1bcc60+'\x22:\x20'+_0x2c1c2d);_0x2c1c2d=_0x329b8c;}else{if(_0x1bcc60===_0x40e417(0x1ef)||_0x1bcc60===_0x40e417(0x260)){if(_0x2c1c2d!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x1bcc60+_0x40e417(0x268)+_0x2c1c2d);}else throw new Error(_0x40e417(0xca)+_0x1bcc60+'\x22');}}_0x332f7c[_0x1bcc60]=_0x2c1c2d;});}),_0x34df51;}[_0x1cf3aa(0x19f)](_0x19a693,_0x4412b6,_0xf50358){const _0x51cd6b=_0x1cf3aa;_0x2182d1[_0x51cd6b(0x26b)](_0x5242c0=>{const _0x1ea3ee=_0x51cd6b;this[_0x1ea3ee(0x205)](_0x19a693,_0x4412b6,(_0x20fa9f,_0x52a82c)=>{_0x5242c0(),_0xf50358(_0x20fa9f,_0x52a82c);});});}[_0x1cf3aa(0xee)](_0x1f0de1,_0x41b73b,_0x5eb164){_0x2182d1['add'](_0x3a9e85=>{const _0x481aae=_0x1608;this[_0x481aae(0x249)](_0x1f0de1,_0x41b73b,(_0x2ca143,_0x58ba7f)=>{_0x3a9e85(),_0x5eb164(_0x2ca143,_0x58ba7f);});});}['_decompress'](_0x168562,_0x22b573,_0x28a072){const _0xd9c58e=_0x1cf3aa,_0x225793=this[_0xd9c58e(0x1bb)]?'client':_0xd9c58e(0x262);if(!this[_0xd9c58e(0x14e)]){const _0x37b944=_0x225793+_0xd9c58e(0x1af),_0x1f8866=typeof this[_0xd9c58e(0x106)][_0x37b944]!='number'?_0x2b09e1[_0xd9c58e(0x1eb)]:this['params'][_0x37b944];this[_0xd9c58e(0x14e)]=_0x2b09e1[_0xd9c58e(0xd4)]({...this[_0xd9c58e(0x271)][_0xd9c58e(0x1fa)],'windowBits':_0x1f8866}),this[_0xd9c58e(0x14e)][_0x5aa4e0]=this,this['_inflate'][_0x3631b3]=0x0,this['_inflate'][_0x3d6f37]=[],this[_0xd9c58e(0x14e)]['on'](_0xd9c58e(0x1a0),_0x38c94b),this['_inflate']['on'](_0xd9c58e(0x100),_0xbebd8d);}this['_inflate'][_0x29b731]=_0x28a072,this['_inflate']['write'](_0x168562),_0x22b573&&this[_0xd9c58e(0x14e)]['write'](_0x1741d5),this[_0xd9c58e(0x14e)][_0xd9c58e(0x1ae)](()=>{const _0x4ce1b1=_0xd9c58e,_0x55f0b1=this[_0x4ce1b1(0x14e)][_0x62079a];if(_0x55f0b1){this[_0x4ce1b1(0x14e)]['close'](),this[_0x4ce1b1(0x14e)]=null,_0x28a072(_0x55f0b1);return;}const _0x131eb2=_0x136f3f[_0x4ce1b1(0x210)](this[_0x4ce1b1(0x14e)][_0x3d6f37],this[_0x4ce1b1(0x14e)][_0x3631b3]);this[_0x4ce1b1(0x14e)]['_readableState'][_0x4ce1b1(0x185)]?(this[_0x4ce1b1(0x14e)][_0x4ce1b1(0x1fe)](),this[_0x4ce1b1(0x14e)]=null):(this[_0x4ce1b1(0x14e)][_0x3631b3]=0x0,this[_0x4ce1b1(0x14e)][_0x3d6f37]=[],_0x22b573&&this[_0x4ce1b1(0x106)][_0x225793+_0x4ce1b1(0x1d7)]&&this[_0x4ce1b1(0x14e)]['reset']()),_0x28a072(null,_0x131eb2);});}['_compress'](_0x171c65,_0x4c3e81,_0x56dcf6){const _0xdc2ee1=_0x1cf3aa,_0x18516c=this[_0xdc2ee1(0x1bb)]?_0xdc2ee1(0x262):'client';if(!this[_0xdc2ee1(0x253)]){const _0x5a1bbe=_0x18516c+'_max_window_bits',_0x3c5f50=typeof this['params'][_0x5a1bbe]!=_0xdc2ee1(0x18e)?_0x2b09e1[_0xdc2ee1(0x1eb)]:this[_0xdc2ee1(0x106)][_0x5a1bbe];this['_deflate']=_0x2b09e1[_0xdc2ee1(0xfd)]({...this[_0xdc2ee1(0x271)][_0xdc2ee1(0x16d)],'windowBits':_0x3c5f50}),this[_0xdc2ee1(0x253)][_0x3631b3]=0x0,this['_deflate'][_0x3d6f37]=[],this['_deflate']['on']('data',_0x405328);}this[_0xdc2ee1(0x253)][_0x29b731]=_0x56dcf6,this[_0xdc2ee1(0x253)]['write'](_0x171c65),this[_0xdc2ee1(0x253)][_0xdc2ee1(0x1ae)](_0x2b09e1[_0xdc2ee1(0x25f)],()=>{const _0x2f8dad=_0xdc2ee1;if(!this[_0x2f8dad(0x253)])return;let _0x3bdcbf=_0x136f3f['concat'](this[_0x2f8dad(0x253)][_0x3d6f37],this[_0x2f8dad(0x253)][_0x3631b3]);_0x4c3e81&&(_0x3bdcbf=new _0xda7263(_0x3bdcbf['buffer'],_0x3bdcbf[_0x2f8dad(0x1d1)],_0x3bdcbf[_0x2f8dad(0x21d)]-0x4)),this[_0x2f8dad(0x253)][_0x29b731]=null,this[_0x2f8dad(0x253)][_0x3631b3]=0x0,this[_0x2f8dad(0x253)][_0x3d6f37]=[],_0x4c3e81&&this[_0x2f8dad(0x106)][_0x18516c+_0x2f8dad(0x1d7)]&&this[_0x2f8dad(0x253)][_0x2f8dad(0x1d2)](),_0x56dcf6(null,_0x3bdcbf);});}}ve=_0x485f2e;function _0x405328(_0x5cf445){const _0x24b7c1=_0x1cf3aa;this[_0x3d6f37][_0x24b7c1(0x18b)](_0x5cf445),this[_0x3631b3]+=_0x5cf445[_0x24b7c1(0x21d)];}function _0xbebd8d(_0x20052f){const _0x5511fa=_0x1cf3aa;if(this[_0x3631b3]+=_0x20052f[_0x5511fa(0x21d)],this[_0x5aa4e0][_0x5511fa(0x21a)]<0x1||this[_0x3631b3]<=this[_0x5aa4e0]['_maxPayload']){this[_0x3d6f37]['push'](_0x20052f);return;}this[_0x62079a]=new RangeError(_0x5511fa(0x1a1)),this[_0x62079a][_0x5511fa(0x248)]=_0x5511fa(0x25b),this[_0x62079a][_0x2a986c]=0x3f1,this[_0x5511fa(0xeb)](_0x5511fa(0x100),_0xbebd8d),this['reset']();}function _0x38c94b(_0x3d20e8){const _0x5075c5=_0x1cf3aa;if(this[_0x5aa4e0][_0x5075c5(0x14e)]=null,this[_0x62079a]){this[_0x29b731](this[_0x62079a]);return;}_0x3d20e8[_0x2a986c]=0x3ef,this[_0x29b731](_0x3d20e8);}return ve;}var re={'exports':{}};const Ht={},zt=Object['freeze'](Object[_0x4a201d(0x1a6)]({'__proto__':null,'default':Ht},Symbol[_0x4a201d(0x107)],{'value':_0x4a201d(0xe1)})),Yt=ut(zt);var Qe;function ne(){const _0x305b1d=_0x4a201d;if(Qe)return re['exports'];Qe=0x1;const {isUtf8:_0x57cff1}=_0x106b32,{hasBlob:_0x6aeef8}=V(),_0x39aa15=[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 _0x2f0f65(_0x5678c5){return _0x5678c5>=0x3e8&&_0x5678c5<=0x3f6&&_0x5678c5!==0x3ec&&_0x5678c5!==0x3ed&&_0x5678c5!==0x3ee||_0x5678c5>=0xbb8&&_0x5678c5<=0x1387;}function _0x103bcd(_0x494788){const _0x142a42=_0x1608,_0x4ffe79=_0x494788[_0x142a42(0x21d)];let _0x4b9304=0x0;for(;_0x4b9304<_0x4ffe79;)if((_0x494788[_0x4b9304]&0x80)===0x0)_0x4b9304++;else{if((_0x494788[_0x4b9304]&0xe0)===0xc0){if(_0x4b9304+0x1===_0x4ffe79||(_0x494788[_0x4b9304+0x1]&0xc0)!==0x80||(_0x494788[_0x4b9304]&0xfe)===0xc0)return!0x1;_0x4b9304+=0x2;}else{if((_0x494788[_0x4b9304]&0xf0)===0xe0){if(_0x4b9304+0x2>=_0x4ffe79||(_0x494788[_0x4b9304+0x1]&0xc0)!==0x80||(_0x494788[_0x4b9304+0x2]&0xc0)!==0x80||_0x494788[_0x4b9304]===0xe0&&(_0x494788[_0x4b9304+0x1]&0xe0)===0x80||_0x494788[_0x4b9304]===0xed&&(_0x494788[_0x4b9304+0x1]&0xe0)===0xa0)return!0x1;_0x4b9304+=0x3;}else{if((_0x494788[_0x4b9304]&0xf8)===0xf0){if(_0x4b9304+0x3>=_0x4ffe79||(_0x494788[_0x4b9304+0x1]&0xc0)!==0x80||(_0x494788[_0x4b9304+0x2]&0xc0)!==0x80||(_0x494788[_0x4b9304+0x3]&0xc0)!==0x80||_0x494788[_0x4b9304]===0xf0&&(_0x494788[_0x4b9304+0x1]&0xf0)===0x80||_0x494788[_0x4b9304]===0xf4&&_0x494788[_0x4b9304+0x1]>0x8f||_0x494788[_0x4b9304]>0xf4)return!0x1;_0x4b9304+=0x4;}else return!0x1;}}}return!0x0;}function _0x4617e7(_0x542354){const _0x19cf35=_0x1608;return _0x6aeef8&&typeof _0x542354==_0x19cf35(0x18f)&&typeof _0x542354[_0x19cf35(0x207)]==_0x19cf35(0x11e)&&typeof _0x542354[_0x19cf35(0x1f5)]==_0x19cf35(0x170)&&typeof _0x542354['stream']==_0x19cf35(0x11e)&&(_0x542354[Symbol[_0x19cf35(0x107)]]===_0x19cf35(0x238)||_0x542354[Symbol[_0x19cf35(0x107)]]==='File');}if(re[_0x305b1d(0x20e)]={'isBlob':_0x4617e7,'isValidStatusCode':_0x2f0f65,'isValidUTF8':_0x103bcd,'tokenChars':_0x39aa15},_0x57cff1)re['exports'][_0x305b1d(0x139)]=function(_0x3a6692){const _0x27564d=_0x305b1d;return _0x3a6692[_0x27564d(0x21d)]<0x18?_0x103bcd(_0x3a6692):_0x57cff1(_0x3a6692);};else{if(!process[_0x305b1d(0x15c)][_0x305b1d(0x13d)])try{const _0x1f17de=Yt;re[_0x305b1d(0x20e)][_0x305b1d(0x139)]=function(_0xa6a061){return _0xa6a061['length']<0x20?_0x103bcd(_0xa6a061):_0x1f17de(_0xa6a061);};}catch{}}return re[_0x305b1d(0x20e)];}var Se,Je;function _0x1608(_0x2bcd87,_0x5ebf56){const _0x5b5364=_0x5b53();return _0x1608=function(_0x1608d2,_0x34de4b){_0x1608d2=_0x1608d2-0xc7;let _0x4452e5=_0x5b5364[_0x1608d2];return _0x4452e5;},_0x1608(_0x2bcd87,_0x5ebf56);}function dt(){const _0x22eccc=_0x4a201d;if(Je)return Se;Je=0x1;const {Writable:_0x779aa1}=_0x350906,_0x3caa41=he(),{BINARY_TYPES:_0x274573,EMPTY_BUFFER:_0x4f01f0,kStatusCode:_0x418782,kWebSocket:_0x52f539}=V(),{concat:_0x4df092,toArrayBuffer:_0x417d96,unmask:_0x24da9c}=ce(),{isValidStatusCode:_0x500813,isValidUTF8:_0x5a7270}=ne(),_0x13a0f1=Buffer[Symbol[_0x22eccc(0xd9)]],_0x517547=0x0,_0x1033d3=0x1,_0x3ac535=0x2,_0x5a2b8d=0x3,_0x82a789=0x4,_0x454d57=0x5,_0x2b1603=0x6;class _0x5f0158 extends _0x779aa1{constructor(_0x56d245={}){const _0x1e1673=_0x22eccc;super(),this[_0x1e1673(0x223)]=_0x56d245[_0x1e1673(0x164)]!==void 0x0?_0x56d245[_0x1e1673(0x164)]:!0x0,this[_0x1e1673(0x1a9)]=_0x56d245['binaryType']||_0x274573[0x0],this[_0x1e1673(0x1c0)]=_0x56d245['extensions']||{},this[_0x1e1673(0x1bb)]=!!_0x56d245['isServer'],this['_maxPayload']=_0x56d245[_0x1e1673(0x1db)]|0x0,this[_0x1e1673(0x126)]=!!_0x56d245[_0x1e1673(0x12b)],this[_0x52f539]=void 0x0,this[_0x1e1673(0x143)]=0x0,this[_0x1e1673(0x1be)]=[],this[_0x1e1673(0x13e)]=!0x1,this[_0x1e1673(0x26f)]=0x0,this[_0x1e1673(0x12f)]=void 0x0,this[_0x1e1673(0xce)]=0x0,this['_masked']=!0x1,this[_0x1e1673(0x240)]=!0x1,this['_opcode']=0x0,this[_0x1e1673(0xe8)]=0x0,this[_0x1e1673(0x182)]=0x0,this[_0x1e1673(0x1b6)]=[],this[_0x1e1673(0x111)]=!0x1,this[_0x1e1673(0x148)]=!0x1,this[_0x1e1673(0xf7)]=_0x517547;}[_0x22eccc(0xfe)](_0x15d8f4,_0x104694,_0x455ea8){const _0x48685b=_0x22eccc;if(this[_0x48685b(0x109)]===0x8&&this['_state']==_0x517547)return _0x455ea8();this[_0x48685b(0x143)]+=_0x15d8f4[_0x48685b(0x21d)],this['_buffers'][_0x48685b(0x18b)](_0x15d8f4),this[_0x48685b(0xc8)](_0x455ea8);}[_0x22eccc(0x214)](_0x3d542c){const _0x42e75a=_0x22eccc;if(this[_0x42e75a(0x143)]-=_0x3d542c,_0x3d542c===this['_buffers'][0x0]['length'])return this[_0x42e75a(0x1be)][_0x42e75a(0x1f3)]();if(_0x3d542c<this[_0x42e75a(0x1be)][0x0][_0x42e75a(0x21d)]){const _0x35e1c9=this[_0x42e75a(0x1be)][0x0];return this[_0x42e75a(0x1be)][0x0]=new _0x13a0f1(_0x35e1c9[_0x42e75a(0x246)],_0x35e1c9[_0x42e75a(0x1d1)]+_0x3d542c,_0x35e1c9[_0x42e75a(0x21d)]-_0x3d542c),new _0x13a0f1(_0x35e1c9[_0x42e75a(0x246)],_0x35e1c9[_0x42e75a(0x1d1)],_0x3d542c);}const _0x42e5d5=Buffer[_0x42e75a(0x15e)](_0x3d542c);do{const _0x31f95a=this[_0x42e75a(0x1be)][0x0],_0x28725f=_0x42e5d5['length']-_0x3d542c;_0x3d542c>=_0x31f95a[_0x42e75a(0x21d)]?_0x42e5d5[_0x42e75a(0x22c)](this[_0x42e75a(0x1be)][_0x42e75a(0x1f3)](),_0x28725f):(_0x42e5d5[_0x42e75a(0x22c)](new Uint8Array(_0x31f95a['buffer'],_0x31f95a['byteOffset'],_0x3d542c),_0x28725f),this[_0x42e75a(0x1be)][0x0]=new _0x13a0f1(_0x31f95a[_0x42e75a(0x246)],_0x31f95a[_0x42e75a(0x1d1)]+_0x3d542c,_0x31f95a[_0x42e75a(0x21d)]-_0x3d542c)),_0x3d542c-=_0x31f95a[_0x42e75a(0x21d)];}while(_0x3d542c>0x0);return _0x42e5d5;}[_0x22eccc(0xc8)](_0x31263c){const _0x2e8e27=_0x22eccc;this[_0x2e8e27(0x148)]=!0x0;do switch(this[_0x2e8e27(0xf7)]){case _0x517547:this[_0x2e8e27(0x135)](_0x31263c);break;case _0x1033d3:this[_0x2e8e27(0x1aa)](_0x31263c);break;case _0x3ac535:this[_0x2e8e27(0x1cf)](_0x31263c);break;case _0x5a2b8d:this[_0x2e8e27(0x1a5)]();break;case _0x82a789:this['getData'](_0x31263c);break;case _0x454d57:case _0x2b1603:this[_0x2e8e27(0x148)]=!0x1;return;}while(this['_loop']);this['_errored']||_0x31263c();}[_0x22eccc(0x135)](_0x2d05c3){const _0x31e36f=_0x22eccc;if(this[_0x31e36f(0x143)]<0x2){this[_0x31e36f(0x148)]=!0x1;return;}const _0x24ac53=this[_0x31e36f(0x214)](0x2);if((_0x24ac53[0x0]&0x30)!==0x0){const _0x9d20dc=this[_0x31e36f(0x188)](RangeError,'RSV2\x20and\x20RSV3\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0x2d05c3(_0x9d20dc);return;}const _0x4e8a70=(_0x24ac53[0x0]&0x40)===0x40;if(_0x4e8a70&&!this[_0x31e36f(0x1c0)][_0x3caa41[_0x31e36f(0x226)]]){const _0x4b7d91=this[_0x31e36f(0x188)](RangeError,_0x31e36f(0x18a),!0x0,0x3ea,_0x31e36f(0x11a));_0x2d05c3(_0x4b7d91);return;}if(this[_0x31e36f(0x240)]=(_0x24ac53[0x0]&0x80)===0x80,this[_0x31e36f(0x109)]=_0x24ac53[0x0]&0xf,this[_0x31e36f(0x26f)]=_0x24ac53[0x1]&0x7f,this['_opcode']===0x0){if(_0x4e8a70){const _0x30e8a3=this['createError'](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x31e36f(0x11a));_0x2d05c3(_0x30e8a3);return;}if(!this[_0x31e36f(0xce)]){const _0x84b441=this[_0x31e36f(0x188)](RangeError,_0x31e36f(0x115),!0x0,0x3ea,_0x31e36f(0x16a));_0x2d05c3(_0x84b441);return;}this[_0x31e36f(0x109)]=this['_fragmented'];}else{if(this[_0x31e36f(0x109)]===0x1||this['_opcode']===0x2){if(this[_0x31e36f(0xce)]){const _0x221f4e=this['createError'](RangeError,'invalid\x20opcode\x20'+this['_opcode'],!0x0,0x3ea,_0x31e36f(0x16a));_0x2d05c3(_0x221f4e);return;}this[_0x31e36f(0x13e)]=_0x4e8a70;}else{if(this['_opcode']>0x7&&this[_0x31e36f(0x109)]<0xb){if(!this[_0x31e36f(0x240)]){const _0x1ccfa1=this[_0x31e36f(0x188)](RangeError,_0x31e36f(0x122),!0x0,0x3ea,_0x31e36f(0x195));_0x2d05c3(_0x1ccfa1);return;}if(_0x4e8a70){const _0x5d500d=this[_0x31e36f(0x188)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x31e36f(0x11a));_0x2d05c3(_0x5d500d);return;}if(this[_0x31e36f(0x26f)]>0x7d||this['_opcode']===0x8&&this[_0x31e36f(0x26f)]===0x1){const _0x46b98f=this['createError'](RangeError,_0x31e36f(0x145)+this[_0x31e36f(0x26f)],!0x0,0x3ea,'WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH');_0x2d05c3(_0x46b98f);return;}}else{const _0x2372aa=this[_0x31e36f(0x188)](RangeError,_0x31e36f(0x177)+this[_0x31e36f(0x109)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x2d05c3(_0x2372aa);return;}}}if(!this[_0x31e36f(0x240)]&&!this[_0x31e36f(0xce)]&&(this[_0x31e36f(0xce)]=this['_opcode']),this['_masked']=(_0x24ac53[0x1]&0x80)===0x80,this['_isServer']){if(!this[_0x31e36f(0x1ba)]){const _0x3b4c77=this[_0x31e36f(0x188)](RangeError,_0x31e36f(0xf9),!0x0,0x3ea,_0x31e36f(0x11b));_0x2d05c3(_0x3b4c77);return;}}else{if(this[_0x31e36f(0x1ba)]){const _0x261424=this[_0x31e36f(0x188)](RangeError,_0x31e36f(0x239),!0x0,0x3ea,_0x31e36f(0x113));_0x2d05c3(_0x261424);return;}}this[_0x31e36f(0x26f)]===0x7e?this[_0x31e36f(0xf7)]=_0x1033d3:this['_payloadLength']===0x7f?this[_0x31e36f(0xf7)]=_0x3ac535:this['haveLength'](_0x2d05c3);}[_0x22eccc(0x1aa)](_0x46db27){const _0x3f3d79=_0x22eccc;if(this['_bufferedBytes']<0x2){this[_0x3f3d79(0x148)]=!0x1;return;}this[_0x3f3d79(0x26f)]=this[_0x3f3d79(0x214)](0x2)['readUInt16BE'](0x0),this[_0x3f3d79(0x17f)](_0x46db27);}[_0x22eccc(0x1cf)](_0xa524bf){const _0x2140b8=_0x22eccc;if(this[_0x2140b8(0x143)]<0x8){this[_0x2140b8(0x148)]=!0x1;return;}const _0x38e1f7=this[_0x2140b8(0x214)](0x8),_0x268352=_0x38e1f7['readUInt32BE'](0x0);if(_0x268352>Math[_0x2140b8(0x163)](0x2,0x15)-0x1){const _0x4c6f5e=this[_0x2140b8(0x188)](RangeError,_0x2140b8(0x120),!0x1,0x3f1,_0x2140b8(0x264));_0xa524bf(_0x4c6f5e);return;}this['_payloadLength']=_0x268352*Math['pow'](0x2,0x20)+_0x38e1f7[_0x2140b8(0x250)](0x4),this[_0x2140b8(0x17f)](_0xa524bf);}['haveLength'](_0x5248c0){const _0xd35e6=_0x22eccc;if(this[_0xd35e6(0x26f)]&&this['_opcode']<0x8&&(this[_0xd35e6(0xe8)]+=this[_0xd35e6(0x26f)],this[_0xd35e6(0xe8)]>this[_0xd35e6(0x21a)]&&this[_0xd35e6(0x21a)]>0x0)){const _0xdd9e64=this['createError'](RangeError,_0xd35e6(0x1a1),!0x1,0x3f1,_0xd35e6(0x25b));_0x5248c0(_0xdd9e64);return;}this[_0xd35e6(0x1ba)]?this['_state']=_0x5a2b8d:this['_state']=_0x82a789;}[_0x22eccc(0x1a5)](){const _0x4917ae=_0x22eccc;if(this[_0x4917ae(0x143)]<0x4){this['_loop']=!0x1;return;}this[_0x4917ae(0x12f)]=this['consume'](0x4),this[_0x4917ae(0xf7)]=_0x82a789;}['getData'](_0x13c62a){const _0xc8de8b=_0x22eccc;let _0x1c0351=_0x4f01f0;if(this[_0xc8de8b(0x26f)]){if(this['_bufferedBytes']<this['_payloadLength']){this[_0xc8de8b(0x148)]=!0x1;return;}_0x1c0351=this[_0xc8de8b(0x214)](this['_payloadLength']),this[_0xc8de8b(0x1ba)]&&(this[_0xc8de8b(0x12f)][0x0]|this[_0xc8de8b(0x12f)][0x1]|this[_0xc8de8b(0x12f)][0x2]|this[_0xc8de8b(0x12f)][0x3])!==0x0&&_0x24da9c(_0x1c0351,this[_0xc8de8b(0x12f)]);}if(this['_opcode']>0x7){this[_0xc8de8b(0x116)](_0x1c0351,_0x13c62a);return;}if(this[_0xc8de8b(0x13e)]){this[_0xc8de8b(0xf7)]=_0x454d57,this[_0xc8de8b(0x19f)](_0x1c0351,_0x13c62a);return;}_0x1c0351[_0xc8de8b(0x21d)]&&(this['_messageLength']=this[_0xc8de8b(0xe8)],this['_fragments'][_0xc8de8b(0x18b)](_0x1c0351)),this['dataMessage'](_0x13c62a);}[_0x22eccc(0x19f)](_0x2dd353,_0x23ed22){const _0x16050e=_0x22eccc;this[_0x16050e(0x1c0)][_0x3caa41[_0x16050e(0x226)]][_0x16050e(0x19f)](_0x2dd353,this[_0x16050e(0x240)],(_0x99891b,_0x2e5aad)=>{const _0x25bdc6=_0x16050e;if(_0x99891b)return _0x23ed22(_0x99891b);if(_0x2e5aad['length']){if(this[_0x25bdc6(0x182)]+=_0x2e5aad[_0x25bdc6(0x21d)],this[_0x25bdc6(0x182)]>this[_0x25bdc6(0x21a)]&&this['_maxPayload']>0x0){const _0x1a4fd0=this[_0x25bdc6(0x188)](RangeError,_0x25bdc6(0x1a1),!0x1,0x3f1,_0x25bdc6(0x25b));_0x23ed22(_0x1a4fd0);return;}this[_0x25bdc6(0x1b6)]['push'](_0x2e5aad);}this['dataMessage'](_0x23ed22),this[_0x25bdc6(0xf7)]===_0x517547&&this[_0x25bdc6(0xc8)](_0x23ed22);});}['dataMessage'](_0x23a626){const _0x50ecce=_0x22eccc;if(!this[_0x50ecce(0x240)]){this[_0x50ecce(0xf7)]=_0x517547;return;}const _0x527067=this[_0x50ecce(0x182)],_0x6ca23e=this[_0x50ecce(0x1b6)];if(this['_totalPayloadLength']=0x0,this[_0x50ecce(0x182)]=0x0,this[_0x50ecce(0xce)]=0x0,this[_0x50ecce(0x1b6)]=[],this[_0x50ecce(0x109)]===0x2){let _0x4dcc38;this[_0x50ecce(0x1a9)]==='nodebuffer'?_0x4dcc38=_0x4df092(_0x6ca23e,_0x527067):this[_0x50ecce(0x1a9)]===_0x50ecce(0x187)?_0x4dcc38=_0x417d96(_0x4df092(_0x6ca23e,_0x527067)):this[_0x50ecce(0x1a9)]===_0x50ecce(0x155)?_0x4dcc38=new Blob(_0x6ca23e):_0x4dcc38=_0x6ca23e,this[_0x50ecce(0x223)]?(this[_0x50ecce(0x256)](_0x50ecce(0xd5),_0x4dcc38,!0x0),this[_0x50ecce(0xf7)]=_0x517547):(this[_0x50ecce(0xf7)]=_0x2b1603,setImmediate(()=>{const _0x5c2c59=_0x50ecce;this[_0x5c2c59(0x256)](_0x5c2c59(0xd5),_0x4dcc38,!0x0),this[_0x5c2c59(0xf7)]=_0x517547,this[_0x5c2c59(0xc8)](_0x23a626);}));}else{const _0x552723=_0x4df092(_0x6ca23e,_0x527067);if(!this[_0x50ecce(0x126)]&&!_0x5a7270(_0x552723)){const _0x1744b4=this[_0x50ecce(0x188)](Error,_0x50ecce(0x1fc),!0x0,0x3ef,_0x50ecce(0x124));_0x23a626(_0x1744b4);return;}this[_0x50ecce(0xf7)]===_0x454d57||this[_0x50ecce(0x223)]?(this[_0x50ecce(0x256)](_0x50ecce(0xd5),_0x552723,!0x1),this[_0x50ecce(0xf7)]=_0x517547):(this['_state']=_0x2b1603,setImmediate(()=>{const _0x404020=_0x50ecce;this[_0x404020(0x256)]('message',_0x552723,!0x1),this['_state']=_0x517547,this[_0x404020(0xc8)](_0x23a626);}));}}[_0x22eccc(0x116)](_0x52c291,_0x23c94c){const _0x3afbe9=_0x22eccc;if(this[_0x3afbe9(0x109)]===0x8){if(_0x52c291[_0x3afbe9(0x21d)]===0x0)this[_0x3afbe9(0x148)]=!0x1,this[_0x3afbe9(0x256)](_0x3afbe9(0x22a),0x3ed,_0x4f01f0),this['end']();else{const _0x5aeb8c=_0x52c291[_0x3afbe9(0x211)](0x0);if(!_0x500813(_0x5aeb8c)){const _0x433b50=this[_0x3afbe9(0x188)](RangeError,_0x3afbe9(0x103)+_0x5aeb8c,!0x0,0x3ea,_0x3afbe9(0x1d9));_0x23c94c(_0x433b50);return;}const _0x2aab9d=new _0x13a0f1(_0x52c291[_0x3afbe9(0x246)],_0x52c291['byteOffset']+0x2,_0x52c291[_0x3afbe9(0x21d)]-0x2);if(!this[_0x3afbe9(0x126)]&&!_0x5a7270(_0x2aab9d)){const _0x2ebbfc=this[_0x3afbe9(0x188)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x3afbe9(0x124));_0x23c94c(_0x2ebbfc);return;}this[_0x3afbe9(0x148)]=!0x1,this[_0x3afbe9(0x256)](_0x3afbe9(0x22a),_0x5aeb8c,_0x2aab9d),this['end']();}this['_state']=_0x517547;return;}this[_0x3afbe9(0x223)]?(this[_0x3afbe9(0x256)](this[_0x3afbe9(0x109)]===0x9?_0x3afbe9(0xda):'pong',_0x52c291),this[_0x3afbe9(0xf7)]=_0x517547):(this[_0x3afbe9(0xf7)]=_0x2b1603,setImmediate(()=>{const _0x6dc41f=_0x3afbe9;this['emit'](this[_0x6dc41f(0x109)]===0x9?'ping':_0x6dc41f(0xd8),_0x52c291),this['_state']=_0x517547,this[_0x6dc41f(0xc8)](_0x23c94c);}));}['createError'](_0x5211ec,_0x1bc86d,_0x489a55,_0x57493b,_0xaa9c2){const _0x1be97d=_0x22eccc;this[_0x1be97d(0x148)]=!0x1,this[_0x1be97d(0x111)]=!0x0;const _0x58a33e=new _0x5211ec(_0x489a55?_0x1be97d(0x197)+_0x1bc86d:_0x1bc86d);return Error[_0x1be97d(0x231)](_0x58a33e,this[_0x1be97d(0x188)]),_0x58a33e[_0x1be97d(0x248)]=_0xaa9c2,_0x58a33e[_0x418782]=_0x57493b,_0x58a33e;}}return Se=_0x5f0158,Se;}var Ee,et;function _t(){const _0x581154=_0x4a201d;if(et)return Ee;et=0x1;const {Duplex:_0xc4c2de}=_0x350906,{randomFillSync:_0x48be7c}=_0x79d614,_0x50c042=he(),{EMPTY_BUFFER:_0xf70e8e,kWebSocket:_0xdab1cb,NOOP:_0x114db4}=V(),{isBlob:_0x1d76db,isValidStatusCode:_0x44b673}=ne(),{mask:_0x220397,toBuffer:_0x4dbee8}=ce(),_0xca94d0=Symbol('kByteLength'),_0x1663cc=Buffer[_0x581154(0x1de)](0x4),_0x32145c=0x8*0x400;let _0x40fcf0,_0x530793=_0x32145c;const _0x29c957=0x0,_0x16819a=0x1,_0x1f0f8f=0x2;class _0xc45e5c{constructor(_0x3feccc,_0x2a8a1d,_0x3e7cd3){const _0x17cc04=_0x581154;this[_0x17cc04(0x1c0)]=_0x2a8a1d||{},_0x3e7cd3&&(this['_generateMask']=_0x3e7cd3,this['_maskBuffer']=Buffer[_0x17cc04(0x1de)](0x4)),this[_0x17cc04(0x19d)]=_0x3feccc,this[_0x17cc04(0x10c)]=!0x0,this[_0x17cc04(0x249)]=!0x1,this[_0x17cc04(0x143)]=0x0,this[_0x17cc04(0x21e)]=[],this[_0x17cc04(0xf7)]=_0x29c957,this[_0x17cc04(0xe7)]=_0x114db4,this[_0xdab1cb]=void 0x0;}static[_0x581154(0x212)](_0xab2f7a,_0x59a9ed){const _0x34f599=_0x581154;let _0x1598b5,_0x56a527=!0x1,_0x264378=0x2,_0x569fb0=!0x1;_0x59a9ed[_0x34f599(0x110)]&&(_0x1598b5=_0x59a9ed[_0x34f599(0x108)]||_0x1663cc,_0x59a9ed[_0x34f599(0xe0)]?_0x59a9ed['generateMask'](_0x1598b5):(_0x530793===_0x32145c&&(_0x40fcf0===void 0x0&&(_0x40fcf0=Buffer[_0x34f599(0x1de)](_0x32145c)),_0x48be7c(_0x40fcf0,0x0,_0x32145c),_0x530793=0x0),_0x1598b5[0x0]=_0x40fcf0[_0x530793++],_0x1598b5[0x1]=_0x40fcf0[_0x530793++],_0x1598b5[0x2]=_0x40fcf0[_0x530793++],_0x1598b5[0x3]=_0x40fcf0[_0x530793++]),_0x569fb0=(_0x1598b5[0x0]|_0x1598b5[0x1]|_0x1598b5[0x2]|_0x1598b5[0x3])===0x0,_0x264378=0x6);let _0x554ec7;typeof _0xab2f7a==_0x34f599(0x170)?(!_0x59a9ed['mask']||_0x569fb0)&&_0x59a9ed[_0xca94d0]!==void 0x0?_0x554ec7=_0x59a9ed[_0xca94d0]:(_0xab2f7a=Buffer[_0x34f599(0x1ea)](_0xab2f7a),_0x554ec7=_0xab2f7a['length']):(_0x554ec7=_0xab2f7a[_0x34f599(0x21d)],_0x56a527=_0x59a9ed[_0x34f599(0x110)]&&_0x59a9ed['readOnly']&&!_0x569fb0);let _0x5d5ef1=_0x554ec7;_0x554ec7>=0x10000?(_0x264378+=0x8,_0x5d5ef1=0x7f):_0x554ec7>0x7d&&(_0x264378+=0x2,_0x5d5ef1=0x7e);const _0x25b3b5=Buffer[_0x34f599(0x15e)](_0x56a527?_0x554ec7+_0x264378:_0x264378);return _0x25b3b5[0x0]=_0x59a9ed[_0x34f599(0x104)]?_0x59a9ed[_0x34f599(0x198)]|0x80:_0x59a9ed['opcode'],_0x59a9ed[_0x34f599(0x1a3)]&&(_0x25b3b5[0x0]|=0x40),_0x25b3b5[0x1]=_0x5d5ef1,_0x5d5ef1===0x7e?_0x25b3b5['writeUInt16BE'](_0x554ec7,0x2):_0x5d5ef1===0x7f&&(_0x25b3b5[0x2]=_0x25b3b5[0x3]=0x0,_0x25b3b5['writeUIntBE'](_0x554ec7,0x4,0x6)),_0x59a9ed[_0x34f599(0x110)]?(_0x25b3b5[0x1]|=0x80,_0x25b3b5[_0x264378-0x4]=_0x1598b5[0x0],_0x25b3b5[_0x264378-0x3]=_0x1598b5[0x1],_0x25b3b5[_0x264378-0x2]=_0x1598b5[0x2],_0x25b3b5[_0x264378-0x1]=_0x1598b5[0x3],_0x569fb0?[_0x25b3b5,_0xab2f7a]:_0x56a527?(_0x220397(_0xab2f7a,_0x1598b5,_0x25b3b5,_0x264378,_0x554ec7),[_0x25b3b5]):(_0x220397(_0xab2f7a,_0x1598b5,_0xab2f7a,0x0,_0x554ec7),[_0x25b3b5,_0xab2f7a])):[_0x25b3b5,_0xab2f7a];}[_0x581154(0x1fe)](_0x125a18,_0xcc9a26,_0x1b63a5,_0x1398be){const _0x347da8=_0x581154;let _0x58eff3;if(_0x125a18===void 0x0)_0x58eff3=_0xf70e8e;else{if(typeof _0x125a18!=_0x347da8(0x18e)||!_0x44b673(_0x125a18))throw new TypeError(_0x347da8(0x274));if(_0xcc9a26===void 0x0||!_0xcc9a26[_0x347da8(0x21d)])_0x58eff3=Buffer[_0x347da8(0x15e)](0x2),_0x58eff3[_0x347da8(0x213)](_0x125a18,0x0);else{const _0x2a6957=Buffer[_0x347da8(0x171)](_0xcc9a26);if(_0x2a6957>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x58eff3=Buffer['allocUnsafe'](0x2+_0x2a6957),_0x58eff3[_0x347da8(0x213)](_0x125a18,0x0),typeof _0xcc9a26=='string'?_0x58eff3[_0x347da8(0x1c8)](_0xcc9a26,0x2):_0x58eff3[_0x347da8(0x22c)](_0xcc9a26,0x2);}}const _0x55e7ce={[_0xca94d0]:_0x58eff3[_0x347da8(0x21d)],'fin':!0x0,'generateMask':this[_0x347da8(0x208)],'mask':_0x1b63a5,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x347da8(0xf7)]!==_0x29c957?this[_0x347da8(0x24f)]([this[_0x347da8(0x1ec)],_0x58eff3,!0x1,_0x55e7ce,_0x1398be]):this[_0x347da8(0x178)](_0xc45e5c[_0x347da8(0x212)](_0x58eff3,_0x55e7ce),_0x1398be);}[_0x581154(0xda)](_0x5dc4c1,_0x29a1ef,_0x4a8282){const _0x6bfe13=_0x581154;let _0x23eff1,_0x2a8553;if(typeof _0x5dc4c1==_0x6bfe13(0x170)?(_0x23eff1=Buffer[_0x6bfe13(0x171)](_0x5dc4c1),_0x2a8553=!0x1):_0x1d76db(_0x5dc4c1)?(_0x23eff1=_0x5dc4c1[_0x6bfe13(0x1df)],_0x2a8553=!0x1):(_0x5dc4c1=_0x4dbee8(_0x5dc4c1),_0x23eff1=_0x5dc4c1[_0x6bfe13(0x21d)],_0x2a8553=_0x4dbee8[_0x6bfe13(0x1f8)]),_0x23eff1>0x7d)throw new RangeError(_0x6bfe13(0x237));const _0x3da69d={[_0xca94d0]:_0x23eff1,'fin':!0x0,'generateMask':this[_0x6bfe13(0x208)],'mask':_0x29a1ef,'maskBuffer':this[_0x6bfe13(0x220)],'opcode':0x9,'readOnly':_0x2a8553,'rsv1':!0x1};_0x1d76db(_0x5dc4c1)?this[_0x6bfe13(0xf7)]!==_0x29c957?this[_0x6bfe13(0x24f)]([this[_0x6bfe13(0x23c)],_0x5dc4c1,!0x1,_0x3da69d,_0x4a8282]):this[_0x6bfe13(0x23c)](_0x5dc4c1,!0x1,_0x3da69d,_0x4a8282):this[_0x6bfe13(0xf7)]!==_0x29c957?this[_0x6bfe13(0x24f)]([this['dispatch'],_0x5dc4c1,!0x1,_0x3da69d,_0x4a8282]):this[_0x6bfe13(0x178)](_0xc45e5c['frame'](_0x5dc4c1,_0x3da69d),_0x4a8282);}[_0x581154(0xd8)](_0x1fa6b8,_0x32986,_0x32cad0){const _0x3082e0=_0x581154;let _0x4441a0,_0x36d8fe;if(typeof _0x1fa6b8==_0x3082e0(0x170)?(_0x4441a0=Buffer[_0x3082e0(0x171)](_0x1fa6b8),_0x36d8fe=!0x1):_0x1d76db(_0x1fa6b8)?(_0x4441a0=_0x1fa6b8[_0x3082e0(0x1df)],_0x36d8fe=!0x1):(_0x1fa6b8=_0x4dbee8(_0x1fa6b8),_0x4441a0=_0x1fa6b8[_0x3082e0(0x21d)],_0x36d8fe=_0x4dbee8[_0x3082e0(0x1f8)]),_0x4441a0>0x7d)throw new RangeError(_0x3082e0(0x237));const _0x139f7a={[_0xca94d0]:_0x4441a0,'fin':!0x0,'generateMask':this[_0x3082e0(0x208)],'mask':_0x32986,'maskBuffer':this[_0x3082e0(0x220)],'opcode':0xa,'readOnly':_0x36d8fe,'rsv1':!0x1};_0x1d76db(_0x1fa6b8)?this['_state']!==_0x29c957?this['enqueue']([this['getBlobData'],_0x1fa6b8,!0x1,_0x139f7a,_0x32cad0]):this[_0x3082e0(0x23c)](_0x1fa6b8,!0x1,_0x139f7a,_0x32cad0):this[_0x3082e0(0xf7)]!==_0x29c957?this['enqueue']([this[_0x3082e0(0x1ec)],_0x1fa6b8,!0x1,_0x139f7a,_0x32cad0]):this['sendFrame'](_0xc45e5c[_0x3082e0(0x212)](_0x1fa6b8,_0x139f7a),_0x32cad0);}[_0x581154(0xf3)](_0xbe9642,_0x180768,_0x5c35e2){const _0x1ec9a5=_0x581154,_0x330225=this[_0x1ec9a5(0x1c0)][_0x50c042[_0x1ec9a5(0x226)]];let _0x3bcd73=_0x180768['binary']?0x2:0x1,_0x2e05ad=_0x180768['compress'],_0x5d909e,_0x47b6e9;typeof _0xbe9642=='string'?(_0x5d909e=Buffer[_0x1ec9a5(0x171)](_0xbe9642),_0x47b6e9=!0x1):_0x1d76db(_0xbe9642)?(_0x5d909e=_0xbe9642[_0x1ec9a5(0x1df)],_0x47b6e9=!0x1):(_0xbe9642=_0x4dbee8(_0xbe9642),_0x5d909e=_0xbe9642[_0x1ec9a5(0x21d)],_0x47b6e9=_0x4dbee8['readOnly']),this[_0x1ec9a5(0x10c)]?(this[_0x1ec9a5(0x10c)]=!0x1,_0x2e05ad&&_0x330225&&_0x330225['params'][_0x330225[_0x1ec9a5(0x1bb)]?_0x1ec9a5(0x260):_0x1ec9a5(0x1ef)]&&(_0x2e05ad=_0x5d909e>=_0x330225[_0x1ec9a5(0x1cc)]),this[_0x1ec9a5(0x249)]=_0x2e05ad):(_0x2e05ad=!0x1,_0x3bcd73=0x0),_0x180768[_0x1ec9a5(0x104)]&&(this[_0x1ec9a5(0x10c)]=!0x0);const _0x54aaa0={[_0xca94d0]:_0x5d909e,'fin':_0x180768[_0x1ec9a5(0x104)],'generateMask':this[_0x1ec9a5(0x208)],'mask':_0x180768[_0x1ec9a5(0x110)],'maskBuffer':this[_0x1ec9a5(0x220)],'opcode':_0x3bcd73,'readOnly':_0x47b6e9,'rsv1':_0x2e05ad};_0x1d76db(_0xbe9642)?this[_0x1ec9a5(0xf7)]!==_0x29c957?this[_0x1ec9a5(0x24f)]([this[_0x1ec9a5(0x23c)],_0xbe9642,this[_0x1ec9a5(0x249)],_0x54aaa0,_0x5c35e2]):this[_0x1ec9a5(0x23c)](_0xbe9642,this[_0x1ec9a5(0x249)],_0x54aaa0,_0x5c35e2):this[_0x1ec9a5(0xf7)]!==_0x29c957?this[_0x1ec9a5(0x24f)]([this[_0x1ec9a5(0x1ec)],_0xbe9642,this[_0x1ec9a5(0x249)],_0x54aaa0,_0x5c35e2]):this['dispatch'](_0xbe9642,this[_0x1ec9a5(0x249)],_0x54aaa0,_0x5c35e2);}[_0x581154(0x23c)](_0x137065,_0x2939f0,_0x41c8a8,_0x2a101a){const _0x47f615=_0x581154;this[_0x47f615(0x143)]+=_0x41c8a8[_0xca94d0],this[_0x47f615(0xf7)]=_0x1f0f8f,_0x137065[_0x47f615(0x207)]()[_0x47f615(0x206)](_0x5652ed=>{const _0x375e8d=_0x47f615;if(this[_0x375e8d(0x19d)][_0x375e8d(0x218)]){const _0x565602=new Error(_0x375e8d(0x20d));process[_0x375e8d(0x258)](_0x157b83,this,_0x565602,_0x2a101a);return;}this[_0x375e8d(0x143)]-=_0x41c8a8[_0xca94d0];const _0x11b2f1=_0x4dbee8(_0x5652ed);_0x2939f0?this['dispatch'](_0x11b2f1,_0x2939f0,_0x41c8a8,_0x2a101a):(this['_state']=_0x29c957,this[_0x375e8d(0x178)](_0xc45e5c[_0x375e8d(0x212)](_0x11b2f1,_0x41c8a8),_0x2a101a),this[_0x375e8d(0x266)]());})['catch'](_0x3c7a85=>{const _0x30cd02=_0x47f615;process[_0x30cd02(0x258)](_0x1a7632,this,_0x3c7a85,_0x2a101a);});}[_0x581154(0x1ec)](_0x34eebd,_0x39a3cf,_0x5686e6,_0xd7dc92){const _0x40fc63=_0x581154;if(!_0x39a3cf){this[_0x40fc63(0x178)](_0xc45e5c[_0x40fc63(0x212)](_0x34eebd,_0x5686e6),_0xd7dc92);return;}const _0x4f175d=this[_0x40fc63(0x1c0)][_0x50c042[_0x40fc63(0x226)]];this['_bufferedBytes']+=_0x5686e6[_0xca94d0],this[_0x40fc63(0xf7)]=_0x16819a,_0x4f175d[_0x40fc63(0xee)](_0x34eebd,_0x5686e6[_0x40fc63(0x104)],(_0x4f784d,_0x3579d5)=>{const _0x3c2ec5=_0x40fc63;if(this[_0x3c2ec5(0x19d)][_0x3c2ec5(0x218)]){const _0x3115cb=new Error(_0x3c2ec5(0x216));_0x157b83(this,_0x3115cb,_0xd7dc92);return;}this[_0x3c2ec5(0x143)]-=_0x5686e6[_0xca94d0],this['_state']=_0x29c957,_0x5686e6[_0x3c2ec5(0x1f8)]=!0x1,this[_0x3c2ec5(0x178)](_0xc45e5c[_0x3c2ec5(0x212)](_0x3579d5,_0x5686e6),_0xd7dc92),this[_0x3c2ec5(0x266)]();});}['dequeue'](){const _0x58ba95=_0x581154;for(;this[_0x58ba95(0xf7)]===_0x29c957&&this['_queue'][_0x58ba95(0x21d)];){const _0x3df301=this[_0x58ba95(0x21e)]['shift']();this[_0x58ba95(0x143)]-=_0x3df301[0x3][_0xca94d0],Reflect[_0x58ba95(0x150)](_0x3df301[0x0],this,_0x3df301[_0x58ba95(0x16c)](0x1));}}['enqueue'](_0x17b0be){const _0x394ace=_0x581154;this[_0x394ace(0x143)]+=_0x17b0be[0x3][_0xca94d0],this[_0x394ace(0x21e)][_0x394ace(0x18b)](_0x17b0be);}[_0x581154(0x178)](_0x5e45a8,_0x266eee){const _0x5a73f6=_0x581154;_0x5e45a8['length']===0x2?(this[_0x5a73f6(0x19d)][_0x5a73f6(0x154)](),this['_socket'][_0x5a73f6(0x1c8)](_0x5e45a8[0x0]),this[_0x5a73f6(0x19d)][_0x5a73f6(0x1c8)](_0x5e45a8[0x1],_0x266eee),this[_0x5a73f6(0x19d)]['uncork']()):this[_0x5a73f6(0x19d)][_0x5a73f6(0x1c8)](_0x5e45a8[0x0],_0x266eee);}}Ee=_0xc45e5c;function _0x157b83(_0x2e24cb,_0x21e32c,_0x18bd36){const _0x499feb=_0x581154;typeof _0x18bd36==_0x499feb(0x11e)&&_0x18bd36(_0x21e32c);for(let _0x5bc46b=0x0;_0x5bc46b<_0x2e24cb[_0x499feb(0x21e)][_0x499feb(0x21d)];_0x5bc46b++){const _0x9761be=_0x2e24cb[_0x499feb(0x21e)][_0x5bc46b],_0x378352=_0x9761be[_0x9761be['length']-0x1];typeof _0x378352=='function'&&_0x378352(_0x21e32c);}}function _0x1a7632(_0x2d9637,_0x5aefa2,_0x41d77c){const _0x2c393b=_0x581154;_0x157b83(_0x2d9637,_0x5aefa2,_0x41d77c),_0x2d9637[_0x2c393b(0xe7)](_0x5aefa2);}return Ee;}var xe,tt;function Kt(){const _0x447754=_0x4a201d;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x1bee25,kListener:_0xd7f5f1}=V(),_0x311ada=Symbol(_0x447754(0x1b0)),_0x5c093c=Symbol(_0x447754(0x1e5)),_0x533815=Symbol(_0x447754(0x14b)),_0x1d9659=Symbol('kMessage'),_0x397480=Symbol(_0x447754(0xfc)),_0x1f6a7d=Symbol('kTarget'),_0xc3ba62=Symbol(_0x447754(0x119)),_0x236a09=Symbol('kWasClean');class _0x2d861e{constructor(_0x22af9d){this[_0x1f6a7d]=null,this[_0xc3ba62]=_0x22af9d;}get['target'](){return this[_0x1f6a7d];}get[_0x447754(0x1f5)](){return this[_0xc3ba62];}}Object[_0x447754(0x1a6)](_0x2d861e['prototype'],_0x447754(0xd6),{'enumerable':!0x0}),Object[_0x447754(0x1a6)](_0x2d861e[_0x447754(0x130)],_0x447754(0x1f5),{'enumerable':!0x0});class _0x1e9b01 extends _0x2d861e{constructor(_0x5d21b5,_0x21cc46={}){const _0x283b10=_0x447754;super(_0x5d21b5),this[_0x311ada]=_0x21cc46[_0x283b10(0x248)]===void 0x0?0x0:_0x21cc46[_0x283b10(0x248)],this[_0x397480]=_0x21cc46[_0x283b10(0x25a)]===void 0x0?'':_0x21cc46[_0x283b10(0x25a)],this[_0x236a09]=_0x21cc46[_0x283b10(0x25d)]===void 0x0?!0x1:_0x21cc46[_0x283b10(0x25d)];}get[_0x447754(0x248)](){return this[_0x311ada];}get[_0x447754(0x25a)](){return this[_0x397480];}get['wasClean'](){return this[_0x236a09];}}Object[_0x447754(0x1a6)](_0x1e9b01[_0x447754(0x130)],_0x447754(0x248),{'enumerable':!0x0}),Object['defineProperty'](_0x1e9b01[_0x447754(0x130)],'reason',{'enumerable':!0x0}),Object[_0x447754(0x1a6)](_0x1e9b01['prototype'],'wasClean',{'enumerable':!0x0});class _0x29e990 extends _0x2d861e{constructor(_0x4a6ba6,_0x4b1814={}){const _0x29c3e6=_0x447754;super(_0x4a6ba6),this[_0x533815]=_0x4b1814[_0x29c3e6(0x1a0)]===void 0x0?null:_0x4b1814[_0x29c3e6(0x1a0)],this[_0x1d9659]=_0x4b1814[_0x29c3e6(0xd5)]===void 0x0?'':_0x4b1814[_0x29c3e6(0xd5)];}get[_0x447754(0x1a0)](){return this[_0x533815];}get[_0x447754(0xd5)](){return this[_0x1d9659];}}Object[_0x447754(0x1a6)](_0x29e990[_0x447754(0x130)],_0x447754(0x1a0),{'enumerable':!0x0}),Object[_0x447754(0x1a6)](_0x29e990[_0x447754(0x130)],_0x447754(0xd5),{'enumerable':!0x0});class _0x4bda6b extends _0x2d861e{constructor(_0x38d203,_0x3c96e0={}){const _0x5b3ed9=_0x447754;super(_0x38d203),this[_0x5c093c]=_0x3c96e0[_0x5b3ed9(0x100)]===void 0x0?null:_0x3c96e0[_0x5b3ed9(0x100)];}get[_0x447754(0x100)](){return this[_0x5c093c];}}Object['defineProperty'](_0x4bda6b[_0x447754(0x130)],_0x447754(0x100),{'enumerable':!0x0}),xe={'CloseEvent':_0x1e9b01,'ErrorEvent':_0x29e990,'Event':_0x2d861e,'EventTarget':{'addEventListener'(_0x52f65a,_0x23382,_0x267570={}){const _0x508335=_0x447754;for(const _0x36c27b of this[_0x508335(0x1ca)](_0x52f65a))if(!_0x267570[_0x1bee25]&&_0x36c27b[_0xd7f5f1]===_0x23382&&!_0x36c27b[_0x1bee25])return;let _0x4ed350;if(_0x52f65a===_0x508335(0xd5))_0x4ed350=function(_0x5b93fd,_0x3dd715){const _0x18aa9d=_0x508335,_0x56f83c=new _0x4bda6b(_0x18aa9d(0xd5),{'data':_0x3dd715?_0x5b93fd:_0x5b93fd[_0x18aa9d(0x24b)]()});_0x56f83c[_0x1f6a7d]=this,_0x264abc(_0x23382,this,_0x56f83c);};else{if(_0x52f65a===_0x508335(0x1fe))_0x4ed350=function(_0x21fc89,_0x4b529a){const _0x246be4=_0x508335,_0x2216a3=new _0x1e9b01(_0x246be4(0x1fe),{'code':_0x21fc89,'reason':_0x4b529a[_0x246be4(0x24b)](),'wasClean':this['_closeFrameReceived']&&this[_0x246be4(0x12a)]});_0x2216a3[_0x1f6a7d]=this,_0x264abc(_0x23382,this,_0x2216a3);};else{if(_0x52f65a===_0x508335(0x1a0))_0x4ed350=function(_0x1460be){const _0x24108c=_0x508335,_0x2bccd6=new _0x29e990(_0x24108c(0x1a0),{'error':_0x1460be,'message':_0x1460be['message']});_0x2bccd6[_0x1f6a7d]=this,_0x264abc(_0x23382,this,_0x2bccd6);};else{if(_0x52f65a===_0x508335(0x11f))_0x4ed350=function(){const _0x43b1af=_0x508335,_0x940c46=new _0x2d861e(_0x43b1af(0x11f));_0x940c46[_0x1f6a7d]=this,_0x264abc(_0x23382,this,_0x940c46);};else return;}}}_0x4ed350[_0x1bee25]=!!_0x267570[_0x1bee25],_0x4ed350[_0xd7f5f1]=_0x23382,_0x267570[_0x508335(0x1ee)]?this[_0x508335(0x1ee)](_0x52f65a,_0x4ed350):this['on'](_0x52f65a,_0x4ed350);},'removeEventListener'(_0xf83f49,_0x5a4cb7){const _0x4425e3=_0x447754;for(const _0xfe13a9 of this[_0x4425e3(0x1ca)](_0xf83f49))if(_0xfe13a9[_0xd7f5f1]===_0x5a4cb7&&!_0xfe13a9[_0x1bee25]){this[_0x4425e3(0xeb)](_0xf83f49,_0xfe13a9);break;}}},'MessageEvent':_0x4bda6b};function _0x264abc(_0x3c96d5,_0xc7d6f7,_0x2847f4){const _0x29eee6=_0x447754;typeof _0x3c96d5==_0x29eee6(0x18f)&&_0x3c96d5['handleEvent']?_0x3c96d5['handleEvent'][_0x29eee6(0x19a)](_0x3c96d5,_0x2847f4):_0x3c96d5[_0x29eee6(0x19a)](_0xc7d6f7,_0x2847f4);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x56973a}=ne();function _0x3f3fc3(_0x4a1854,_0x4b9f96,_0x1d39b7){const _0xd12d67=_0x1608;_0x4a1854[_0x4b9f96]===void 0x0?_0x4a1854[_0x4b9f96]=[_0x1d39b7]:_0x4a1854[_0x4b9f96][_0xd12d67(0x18b)](_0x1d39b7);}function _0x1f2b78(_0x15d643){const _0x1a118c=_0x1608,_0x230199=Object[_0x1a118c(0x244)](null);let _0x317cd8=Object[_0x1a118c(0x244)](null),_0x1ba5df=!0x1,_0x3fc094=!0x1,_0x3d8a8b=!0x1,_0x525eec,_0x1a8387,_0x2c0b97=-0x1,_0x2de8ab=-0x1,_0x5b44a0=-0x1,_0x56ed0f=0x0;for(;_0x56ed0f<_0x15d643[_0x1a118c(0x21d)];_0x56ed0f++)if(_0x2de8ab=_0x15d643[_0x1a118c(0x1cb)](_0x56ed0f),_0x525eec===void 0x0){if(_0x5b44a0===-0x1&&_0x56973a[_0x2de8ab]===0x1)_0x2c0b97===-0x1&&(_0x2c0b97=_0x56ed0f);else{if(_0x56ed0f!==0x0&&(_0x2de8ab===0x20||_0x2de8ab===0x9))_0x5b44a0===-0x1&&_0x2c0b97!==-0x1&&(_0x5b44a0=_0x56ed0f);else{if(_0x2de8ab===0x3b||_0x2de8ab===0x2c){if(_0x2c0b97===-0x1)throw new SyntaxError(_0x1a118c(0x1e8)+_0x56ed0f);_0x5b44a0===-0x1&&(_0x5b44a0=_0x56ed0f);const _0x4a16be=_0x15d643[_0x1a118c(0x16c)](_0x2c0b97,_0x5b44a0);_0x2de8ab===0x2c?(_0x3f3fc3(_0x230199,_0x4a16be,_0x317cd8),_0x317cd8=Object['create'](null)):_0x525eec=_0x4a16be,_0x2c0b97=_0x5b44a0=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x56ed0f);}}}else{if(_0x1a8387===void 0x0){if(_0x5b44a0===-0x1&&_0x56973a[_0x2de8ab]===0x1)_0x2c0b97===-0x1&&(_0x2c0b97=_0x56ed0f);else{if(_0x2de8ab===0x20||_0x2de8ab===0x9)_0x5b44a0===-0x1&&_0x2c0b97!==-0x1&&(_0x5b44a0=_0x56ed0f);else{if(_0x2de8ab===0x3b||_0x2de8ab===0x2c){if(_0x2c0b97===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x56ed0f);_0x5b44a0===-0x1&&(_0x5b44a0=_0x56ed0f),_0x3f3fc3(_0x317cd8,_0x15d643[_0x1a118c(0x16c)](_0x2c0b97,_0x5b44a0),!0x0),_0x2de8ab===0x2c&&(_0x3f3fc3(_0x230199,_0x525eec,_0x317cd8),_0x317cd8=Object[_0x1a118c(0x244)](null),_0x525eec=void 0x0),_0x2c0b97=_0x5b44a0=-0x1;}else{if(_0x2de8ab===0x3d&&_0x2c0b97!==-0x1&&_0x5b44a0===-0x1)_0x1a8387=_0x15d643[_0x1a118c(0x16c)](_0x2c0b97,_0x56ed0f),_0x2c0b97=_0x5b44a0=-0x1;else throw new SyntaxError(_0x1a118c(0x1e8)+_0x56ed0f);}}}}else{if(_0x3fc094){if(_0x56973a[_0x2de8ab]!==0x1)throw new SyntaxError(_0x1a118c(0x1e8)+_0x56ed0f);_0x2c0b97===-0x1?_0x2c0b97=_0x56ed0f:_0x1ba5df||(_0x1ba5df=!0x0),_0x3fc094=!0x1;}else{if(_0x3d8a8b){if(_0x56973a[_0x2de8ab]===0x1)_0x2c0b97===-0x1&&(_0x2c0b97=_0x56ed0f);else{if(_0x2de8ab===0x22&&_0x2c0b97!==-0x1)_0x3d8a8b=!0x1,_0x5b44a0=_0x56ed0f;else{if(_0x2de8ab===0x5c)_0x3fc094=!0x0;else throw new SyntaxError(_0x1a118c(0x1e8)+_0x56ed0f);}}}else{if(_0x2de8ab===0x22&&_0x15d643['charCodeAt'](_0x56ed0f-0x1)===0x3d)_0x3d8a8b=!0x0;else{if(_0x5b44a0===-0x1&&_0x56973a[_0x2de8ab]===0x1)_0x2c0b97===-0x1&&(_0x2c0b97=_0x56ed0f);else{if(_0x2c0b97!==-0x1&&(_0x2de8ab===0x20||_0x2de8ab===0x9))_0x5b44a0===-0x1&&(_0x5b44a0=_0x56ed0f);else{if(_0x2de8ab===0x3b||_0x2de8ab===0x2c){if(_0x2c0b97===-0x1)throw new SyntaxError(_0x1a118c(0x1e8)+_0x56ed0f);_0x5b44a0===-0x1&&(_0x5b44a0=_0x56ed0f);let _0x2edf18=_0x15d643[_0x1a118c(0x16c)](_0x2c0b97,_0x5b44a0);_0x1ba5df&&(_0x2edf18=_0x2edf18[_0x1a118c(0x114)](/\\/g,''),_0x1ba5df=!0x1),_0x3f3fc3(_0x317cd8,_0x1a8387,_0x2edf18),_0x2de8ab===0x2c&&(_0x3f3fc3(_0x230199,_0x525eec,_0x317cd8),_0x317cd8=Object[_0x1a118c(0x244)](null),_0x525eec=void 0x0),_0x1a8387=void 0x0,_0x2c0b97=_0x5b44a0=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x56ed0f);}}}}}}}if(_0x2c0b97===-0x1||_0x3d8a8b||_0x2de8ab===0x20||_0x2de8ab===0x9)throw new SyntaxError(_0x1a118c(0x125));_0x5b44a0===-0x1&&(_0x5b44a0=_0x56ed0f);const _0xed3fe0=_0x15d643[_0x1a118c(0x16c)](_0x2c0b97,_0x5b44a0);return _0x525eec===void 0x0?_0x3f3fc3(_0x230199,_0xed3fe0,_0x317cd8):(_0x1a8387===void 0x0?_0x3f3fc3(_0x317cd8,_0xed3fe0,!0x0):_0x1ba5df?_0x3f3fc3(_0x317cd8,_0x1a8387,_0xed3fe0[_0x1a118c(0x114)](/\\/g,'')):_0x3f3fc3(_0x317cd8,_0x1a8387,_0xed3fe0),_0x3f3fc3(_0x230199,_0x525eec,_0x317cd8)),_0x230199;}function _0x25a3e8(_0x5c0f73){const _0x36b70b=_0x1608;return Object['keys'](_0x5c0f73)[_0x36b70b(0x131)](_0x137f14=>{const _0x47ab8d=_0x36b70b;let _0x5dfee3=_0x5c0f73[_0x137f14];return Array[_0x47ab8d(0x192)](_0x5dfee3)||(_0x5dfee3=[_0x5dfee3]),_0x5dfee3[_0x47ab8d(0x131)](_0x86ed74=>[_0x137f14][_0x47ab8d(0x210)](Object[_0x47ab8d(0xc7)](_0x86ed74)['map'](_0x191956=>{let _0xb6bf28=_0x86ed74[_0x191956];return Array['isArray'](_0xb6bf28)||(_0xb6bf28=[_0xb6bf28]),_0xb6bf28['map'](_0x5e2274=>_0x5e2274===!0x0?_0x191956:_0x191956+'='+_0x5e2274)['join'](';\x20');}))[_0x47ab8d(0x22f)](';\x20'))['join'](',\x20');})['join'](',\x20');}return be={'format':_0x25a3e8,'parse':_0x1f2b78},be;}var we,st;function Ie(){const _0x4c06dc=_0x4a201d;if(st)return we;st=0x1;const _0x2b7933=_0x599110,_0xcdd0ae=_0x3ddd8d,_0x196bae=_0xcb97b6,_0x4d11af=_0x9a1720,_0x17b5e3=_0xcff5a1,{randomBytes:_0x3f3742,createHash:_0x52a4dc}=_0x79d614,{Duplex:_0x135b12,Readable:_0xb0919e}=_0x350906,{URL:_0x3d3a32}=_0x2a6dda,_0x298766=he(),_0x1552b2=dt(),_0x4dedd1=_t(),{isBlob:_0x4f3c04}=ne(),{BINARY_TYPES:_0x5d6381,EMPTY_BUFFER:_0x58f621,GUID:_0x4ff02e,kForOnEventAttribute:_0x4f7d28,kListener:_0xf77e0d,kStatusCode:_0x1750c3,kWebSocket:_0x3cd424,NOOP:_0x553d68}=V(),{EventTarget:{addEventListener:_0x348af8,removeEventListener:_0x542f09}}=Kt(),{format:_0x43e129,parse:_0x400353}=pt(),{toBuffer:_0x128491}=ce(),_0x1c2454=0x1e*0x3e8,_0x46e50a=Symbol(_0x4c06dc(0x273)),_0x308cc2=[0x8,0xd],_0x17bfbd=[_0x4c06dc(0x1c3),_0x4c06dc(0x267),'CLOSING',_0x4c06dc(0x233)],_0x394b0d=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x3964ef extends _0x2b7933{constructor(_0x15f619,_0x1dd863,_0x5bf255){const _0x2408b6=_0x4c06dc;super(),this[_0x2408b6(0x1a9)]=_0x5d6381[0x0],this[_0x2408b6(0x18c)]=0x3ee,this['_closeFrameReceived']=!0x1,this[_0x2408b6(0x12a)]=!0x1,this['_closeMessage']=_0x58f621,this['_closeTimer']=null,this[_0x2408b6(0x1e4)]=!0x1,this[_0x2408b6(0x1c0)]={},this[_0x2408b6(0x16f)]=!0x1,this[_0x2408b6(0x1fd)]='',this[_0x2408b6(0x11c)]=_0x3964ef[_0x2408b6(0x1c3)],this['_receiver']=null,this[_0x2408b6(0x270)]=null,this[_0x2408b6(0x19d)]=null,_0x15f619!==null?(this['_bufferedAmount']=0x0,this['_isServer']=!0x1,this[_0x2408b6(0x169)]=0x0,_0x1dd863===void 0x0?_0x1dd863=[]:Array[_0x2408b6(0x192)](_0x1dd863)||(typeof _0x1dd863==_0x2408b6(0x18f)&&_0x1dd863!==null?(_0x5bf255=_0x1dd863,_0x1dd863=[]):_0x1dd863=[_0x1dd863]),_0x4bd69e(this,_0x15f619,_0x1dd863,_0x5bf255)):(this['_autoPong']=_0x5bf255[_0x2408b6(0x167)],this[_0x2408b6(0x1bb)]=!0x0);}get[_0x4c06dc(0xde)](){return this['_binaryType'];}set[_0x4c06dc(0xde)](_0xa7ef68){const _0x515948=_0x4c06dc;_0x5d6381[_0x515948(0xec)](_0xa7ef68)&&(this[_0x515948(0x1a9)]=_0xa7ef68,this['_receiver']&&(this[_0x515948(0x176)][_0x515948(0x1a9)]=_0xa7ef68));}get[_0x4c06dc(0x16b)](){const _0x283c65=_0x4c06dc;return this['_socket']?this[_0x283c65(0x19d)][_0x283c65(0x1c4)][_0x283c65(0x21d)]+this[_0x283c65(0x270)][_0x283c65(0x143)]:this[_0x283c65(0x1dc)];}get[_0x4c06dc(0x1b4)](){const _0x2f45f0=_0x4c06dc;return Object[_0x2f45f0(0xc7)](this[_0x2f45f0(0x1c0)])[_0x2f45f0(0x22f)]();}get[_0x4c06dc(0x275)](){const _0x2365c5=_0x4c06dc;return this[_0x2365c5(0x16f)];}get[_0x4c06dc(0x1d4)](){return null;}get['onerror'](){return null;}get[_0x4c06dc(0x24e)](){return null;}get[_0x4c06dc(0x215)](){return null;}get['protocol'](){const _0x53a697=_0x4c06dc;return this[_0x53a697(0x1fd)];}get[_0x4c06dc(0x1bf)](){const _0x4a5429=_0x4c06dc;return this[_0x4a5429(0x11c)];}get['url'](){return this['_url'];}['setSocket'](_0x575fd6,_0x5c5f22,_0x47d3f1){const _0x198199=_0x4c06dc,_0x5cebc9=new _0x1552b2({'allowSynchronousEvents':_0x47d3f1['allowSynchronousEvents'],'binaryType':this['binaryType'],'extensions':this[_0x198199(0x1c0)],'isServer':this['_isServer'],'maxPayload':_0x47d3f1[_0x198199(0x1db)],'skipUTF8Validation':_0x47d3f1[_0x198199(0x12b)]}),_0x260b1e=new _0x4dedd1(_0x575fd6,this['_extensions'],_0x47d3f1['generateMask']);this['_receiver']=_0x5cebc9,this[_0x198199(0x270)]=_0x260b1e,this[_0x198199(0x19d)]=_0x575fd6,_0x5cebc9[_0x3cd424]=this,_0x260b1e[_0x3cd424]=this,_0x575fd6[_0x3cd424]=this,_0x5cebc9['on'](_0x198199(0x22a),_0x12aecd),_0x5cebc9['on']('drain',_0x1f37cb),_0x5cebc9['on'](_0x198199(0x1a0),_0x1049b5),_0x5cebc9['on']('message',_0x19d445),_0x5cebc9['on']('ping',_0x3092be),_0x5cebc9['on'](_0x198199(0xd8),_0x3f90ef),_0x260b1e[_0x198199(0xe7)]=_0x201acd,_0x575fd6[_0x198199(0x1da)]&&_0x575fd6[_0x198199(0x1da)](0x0),_0x575fd6[_0x198199(0xd3)]&&_0x575fd6[_0x198199(0xd3)](),_0x5c5f22[_0x198199(0x21d)]>0x0&&_0x575fd6[_0x198199(0x181)](_0x5c5f22),_0x575fd6['on'](_0x198199(0x1fe),_0x3a7c84),_0x575fd6['on'](_0x198199(0x100),_0x3fc941),_0x575fd6['on'](_0x198199(0x21c),_0x41dd65),_0x575fd6['on'](_0x198199(0x1a0),_0x33dd08),this[_0x198199(0x11c)]=_0x3964ef['OPEN'],this[_0x198199(0x256)](_0x198199(0x11f));}[_0x4c06dc(0x1ce)](){const _0x123b13=_0x4c06dc;if(!this[_0x123b13(0x19d)]){this['_readyState']=_0x3964ef[_0x123b13(0x233)],this[_0x123b13(0x256)](_0x123b13(0x1fe),this[_0x123b13(0x18c)],this[_0x123b13(0x175)]);return;}this['_extensions'][_0x298766[_0x123b13(0x226)]]&&this[_0x123b13(0x1c0)][_0x298766[_0x123b13(0x226)]][_0x123b13(0x25e)](),this[_0x123b13(0x176)][_0x123b13(0xf4)](),this[_0x123b13(0x11c)]=_0x3964ef[_0x123b13(0x233)],this['emit'](_0x123b13(0x1fe),this[_0x123b13(0x18c)],this['_closeMessage']);}[_0x4c06dc(0x1fe)](_0x6f87ad,_0x4baab6){const _0x27ea9a=_0x4c06dc;if(this['readyState']!==_0x3964ef['CLOSED']){if(this['readyState']===_0x3964ef[_0x27ea9a(0x1c3)]){_0x57875b(this,this[_0x27ea9a(0x1ed)],_0x27ea9a(0xdd));return;}if(this['readyState']===_0x3964ef['CLOSING']){this['_closeFrameSent']&&(this[_0x27ea9a(0x13f)]||this[_0x27ea9a(0x176)][_0x27ea9a(0x1c4)][_0x27ea9a(0x153)])&&this[_0x27ea9a(0x19d)][_0x27ea9a(0x21c)]();return;}this[_0x27ea9a(0x11c)]=_0x3964ef['CLOSING'],this['_sender']['close'](_0x6f87ad,_0x4baab6,!this[_0x27ea9a(0x1bb)],_0x1dd5cb=>{const _0x11f45f=_0x27ea9a;_0x1dd5cb||(this['_closeFrameSent']=!0x0,(this[_0x11f45f(0x13f)]||this[_0x11f45f(0x176)]['_writableState']['errorEmitted'])&&this['_socket']['end']());}),_0x22fef3(this);}}[_0x4c06dc(0x202)](){const _0x35667b=_0x4c06dc;this[_0x35667b(0x1bf)]===_0x3964ef['CONNECTING']||this[_0x35667b(0x1bf)]===_0x3964ef[_0x35667b(0x233)]||(this[_0x35667b(0x16f)]=!0x0,this[_0x35667b(0x19d)][_0x35667b(0x202)]());}['ping'](_0x5a19e2,_0x7a09a7,_0x1264fe){const _0x5f5301=_0x4c06dc;if(this['readyState']===_0x3964ef[_0x5f5301(0x1c3)])throw new Error(_0x5f5301(0x1c2));if(typeof _0x5a19e2=='function'?(_0x1264fe=_0x5a19e2,_0x5a19e2=_0x7a09a7=void 0x0):typeof _0x7a09a7==_0x5f5301(0x11e)&&(_0x1264fe=_0x7a09a7,_0x7a09a7=void 0x0),typeof _0x5a19e2==_0x5f5301(0x18e)&&(_0x5a19e2=_0x5a19e2[_0x5f5301(0x24b)]()),this['readyState']!==_0x3964ef[_0x5f5301(0x267)]){_0x25af73(this,_0x5a19e2,_0x1264fe);return;}_0x7a09a7===void 0x0&&(_0x7a09a7=!this[_0x5f5301(0x1bb)]),this[_0x5f5301(0x270)]['ping'](_0x5a19e2||_0x58f621,_0x7a09a7,_0x1264fe);}[_0x4c06dc(0xd8)](_0x5cbff8,_0x121529,_0x5e9648){const _0x2d73e3=_0x4c06dc;if(this[_0x2d73e3(0x1bf)]===_0x3964ef['CONNECTING'])throw new Error(_0x2d73e3(0x1c2));if(typeof _0x5cbff8=='function'?(_0x5e9648=_0x5cbff8,_0x5cbff8=_0x121529=void 0x0):typeof _0x121529==_0x2d73e3(0x11e)&&(_0x5e9648=_0x121529,_0x121529=void 0x0),typeof _0x5cbff8==_0x2d73e3(0x18e)&&(_0x5cbff8=_0x5cbff8[_0x2d73e3(0x24b)]()),this[_0x2d73e3(0x1bf)]!==_0x3964ef[_0x2d73e3(0x267)]){_0x25af73(this,_0x5cbff8,_0x5e9648);return;}_0x121529===void 0x0&&(_0x121529=!this[_0x2d73e3(0x1bb)]),this[_0x2d73e3(0x270)][_0x2d73e3(0xd8)](_0x5cbff8||_0x58f621,_0x121529,_0x5e9648);}[_0x4c06dc(0x191)](){const _0x514c7f=_0x4c06dc;this[_0x514c7f(0x1bf)]===_0x3964ef[_0x514c7f(0x1c3)]||this['readyState']===_0x3964ef[_0x514c7f(0x233)]||(this[_0x514c7f(0x16f)]=!0x1,this['_receiver'][_0x514c7f(0x1c4)][_0x514c7f(0x22b)]||this[_0x514c7f(0x19d)]['resume']());}['send'](_0x26230c,_0x279c4b,_0x48a479){const _0x505b2f=_0x4c06dc;if(this['readyState']===_0x3964ef['CONNECTING'])throw new Error(_0x505b2f(0x1c2));if(typeof _0x279c4b==_0x505b2f(0x11e)&&(_0x48a479=_0x279c4b,_0x279c4b={}),typeof _0x26230c==_0x505b2f(0x18e)&&(_0x26230c=_0x26230c[_0x505b2f(0x24b)]()),this[_0x505b2f(0x1bf)]!==_0x3964ef[_0x505b2f(0x267)]){_0x25af73(this,_0x26230c,_0x48a479);return;}const _0x1f193c={'binary':typeof _0x26230c!=_0x505b2f(0x170),'mask':!this[_0x505b2f(0x1bb)],'compress':!0x0,'fin':!0x0,..._0x279c4b};this[_0x505b2f(0x1c0)][_0x298766['extensionName']]||(_0x1f193c['compress']=!0x1),this[_0x505b2f(0x270)][_0x505b2f(0xf3)](_0x26230c||_0x58f621,_0x1f193c,_0x48a479);}['terminate'](){const _0x109c86=_0x4c06dc;if(this[_0x109c86(0x1bf)]!==_0x3964ef[_0x109c86(0x233)]){if(this[_0x109c86(0x1bf)]===_0x3964ef[_0x109c86(0x1c3)]){_0x57875b(this,this[_0x109c86(0x1ed)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}this[_0x109c86(0x19d)]&&(this[_0x109c86(0x11c)]=_0x3964ef['CLOSING'],this[_0x109c86(0x19d)]['destroy']());}}}Object['defineProperty'](_0x3964ef,_0x4c06dc(0x1c3),{'enumerable':!0x0,'value':_0x17bfbd[_0x4c06dc(0x1f0)](_0x4c06dc(0x1c3))}),Object['defineProperty'](_0x3964ef[_0x4c06dc(0x130)],'CONNECTING',{'enumerable':!0x0,'value':_0x17bfbd[_0x4c06dc(0x1f0)](_0x4c06dc(0x1c3))}),Object['defineProperty'](_0x3964ef,'OPEN',{'enumerable':!0x0,'value':_0x17bfbd[_0x4c06dc(0x1f0)](_0x4c06dc(0x267))}),Object[_0x4c06dc(0x1a6)](_0x3964ef[_0x4c06dc(0x130)],_0x4c06dc(0x267),{'enumerable':!0x0,'value':_0x17bfbd['indexOf']('OPEN')}),Object['defineProperty'](_0x3964ef,'CLOSING',{'enumerable':!0x0,'value':_0x17bfbd[_0x4c06dc(0x1f0)](_0x4c06dc(0x15d))}),Object[_0x4c06dc(0x1a6)](_0x3964ef[_0x4c06dc(0x130)],'CLOSING',{'enumerable':!0x0,'value':_0x17bfbd[_0x4c06dc(0x1f0)](_0x4c06dc(0x15d))}),Object[_0x4c06dc(0x1a6)](_0x3964ef,_0x4c06dc(0x233),{'enumerable':!0x0,'value':_0x17bfbd['indexOf'](_0x4c06dc(0x233))}),Object[_0x4c06dc(0x1a6)](_0x3964ef['prototype'],'CLOSED',{'enumerable':!0x0,'value':_0x17bfbd['indexOf'](_0x4c06dc(0x233))}),[_0x4c06dc(0xde),_0x4c06dc(0x16b),'extensions',_0x4c06dc(0x275),_0x4c06dc(0x20a),'readyState',_0x4c06dc(0x193)][_0x4c06dc(0x22e)](_0x1383dd=>{Object['defineProperty'](_0x3964ef['prototype'],_0x1383dd,{'enumerable':!0x0});}),['open',_0x4c06dc(0x1a0),_0x4c06dc(0x1fe),_0x4c06dc(0xd5)][_0x4c06dc(0x22e)](_0x28b31d=>{const _0x3c0082=_0x4c06dc;Object['defineProperty'](_0x3964ef[_0x3c0082(0x130)],'on'+_0x28b31d,{'enumerable':!0x0,'get'(){for(const _0x3c3acd of this['listeners'](_0x28b31d))if(_0x3c3acd[_0x4f7d28])return _0x3c3acd[_0xf77e0d];return null;},'set'(_0x337bc3){const _0x1e9b5c=_0x3c0082;for(const _0x4c0d7f of this['listeners'](_0x28b31d))if(_0x4c0d7f[_0x4f7d28]){this[_0x1e9b5c(0xeb)](_0x28b31d,_0x4c0d7f);break;}typeof _0x337bc3==_0x1e9b5c(0x11e)&&this[_0x1e9b5c(0x1dd)](_0x28b31d,_0x337bc3,{[_0x4f7d28]:!0x0});}});}),_0x3964ef[_0x4c06dc(0x130)][_0x4c06dc(0x1dd)]=_0x348af8,_0x3964ef['prototype'][_0x4c06dc(0x224)]=_0x542f09,we=_0x3964ef;function _0x4bd69e(_0x434d81,_0xa7d7d4,_0x42cb00,_0x311a79){const _0x163b4b=_0x4c06dc,_0x5d1a86={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x308cc2[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x311a79,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x434d81[_0x163b4b(0x1d6)]=_0x5d1a86['autoPong'],!_0x308cc2['includes'](_0x5d1a86[_0x163b4b(0x140)]))throw new RangeError(_0x163b4b(0x1f9)+_0x5d1a86[_0x163b4b(0x140)]+_0x163b4b(0x151)+_0x308cc2['join'](',\x20')+')');let _0x11ed71;if(_0xa7d7d4 instanceof _0x3d3a32)_0x11ed71=_0xa7d7d4;else try{_0x11ed71=new _0x3d3a32(_0xa7d7d4);}catch{throw new SyntaxError(_0x163b4b(0x112)+_0xa7d7d4);}_0x11ed71[_0x163b4b(0x20a)]==='http:'?_0x11ed71[_0x163b4b(0x20a)]='ws:':_0x11ed71[_0x163b4b(0x20a)]==='https:'&&(_0x11ed71[_0x163b4b(0x20a)]='wss:'),_0x434d81[_0x163b4b(0x1bc)]=_0x11ed71[_0x163b4b(0x17e)];const _0x494d8d=_0x11ed71[_0x163b4b(0x20a)]===_0x163b4b(0x1a8),_0xd86d5c=_0x11ed71['protocol']==='ws+unix:';let _0x560ae7;if(_0x11ed71[_0x163b4b(0x20a)]!==_0x163b4b(0x265)&&!_0x494d8d&&!_0xd86d5c?_0x560ae7=_0x163b4b(0xd2):_0xd86d5c&&!_0x11ed71[_0x163b4b(0x10a)]?_0x560ae7=_0x163b4b(0xcb):_0x11ed71[_0x163b4b(0x1e2)]&&(_0x560ae7=_0x163b4b(0x17c)),_0x560ae7){const _0x13d776=new SyntaxError(_0x560ae7);if(_0x434d81[_0x163b4b(0x169)]===0x0)throw _0x13d776;_0x325fa3(_0x434d81,_0x13d776);return;}const _0x26f7fe=_0x494d8d?0x1bb:0x50,_0x4a414a=_0x3f3742(0x10)[_0x163b4b(0x24b)](_0x163b4b(0x158)),_0xd3cde7=_0x494d8d?_0xcdd0ae[_0x163b4b(0x20c)]:_0x196bae[_0x163b4b(0x20c)],_0xe1103=new Set();let _0xc5907a;if(_0x5d1a86['createConnection']=_0x5d1a86['createConnection']||(_0x494d8d?_0x8b140c:_0x9f75f2),_0x5d1a86[_0x163b4b(0x121)]=_0x5d1a86[_0x163b4b(0x121)]||_0x26f7fe,_0x5d1a86[_0x163b4b(0x173)]=_0x11ed71[_0x163b4b(0x173)]||_0x26f7fe,_0x5d1a86['host']=_0x11ed71[_0x163b4b(0x1a7)][_0x163b4b(0x272)]('[')?_0x11ed71[_0x163b4b(0x1a7)][_0x163b4b(0x16c)](0x1,-0x1):_0x11ed71[_0x163b4b(0x1a7)],_0x5d1a86[_0x163b4b(0x1d3)]={..._0x5d1a86['headers'],'Sec-WebSocket-Version':_0x5d1a86[_0x163b4b(0x140)],'Sec-WebSocket-Key':_0x4a414a,'Connection':_0x163b4b(0x1c9),'Upgrade':'websocket'},_0x5d1a86[_0x163b4b(0x14a)]=_0x11ed71[_0x163b4b(0x10a)]+_0x11ed71[_0x163b4b(0x21b)],_0x5d1a86[_0x163b4b(0x12c)]=_0x5d1a86['handshakeTimeout'],_0x5d1a86[_0x163b4b(0x236)]&&(_0xc5907a=new _0x298766(_0x5d1a86['perMessageDeflate']!==!0x0?_0x5d1a86[_0x163b4b(0x236)]:{},!0x1,_0x5d1a86[_0x163b4b(0x1db)]),_0x5d1a86[_0x163b4b(0x1d3)][_0x163b4b(0x242)]=_0x43e129({[_0x298766['extensionName']]:_0xc5907a[_0x163b4b(0x10d)]()})),_0x42cb00[_0x163b4b(0x21d)]){for(const _0x2c9b27 of _0x42cb00){if(typeof _0x2c9b27!='string'||!_0x394b0d[_0x163b4b(0x196)](_0x2c9b27)||_0xe1103['has'](_0x2c9b27))throw new SyntaxError(_0x163b4b(0x243));_0xe1103[_0x163b4b(0x26b)](_0x2c9b27);}_0x5d1a86[_0x163b4b(0x1d3)][_0x163b4b(0x1e0)]=_0x42cb00['join'](',');}if(_0x5d1a86[_0x163b4b(0x232)]&&(_0x5d1a86[_0x163b4b(0x140)]<0xd?_0x5d1a86['headers'][_0x163b4b(0x13c)]=_0x5d1a86[_0x163b4b(0x232)]:_0x5d1a86[_0x163b4b(0x1d3)][_0x163b4b(0xd7)]=_0x5d1a86['origin']),(_0x11ed71[_0x163b4b(0x19b)]||_0x11ed71[_0x163b4b(0x1d0)])&&(_0x5d1a86[_0x163b4b(0xf1)]=_0x11ed71['username']+':'+_0x11ed71[_0x163b4b(0x1d0)]),_0xd86d5c){const _0x2749d5=_0x5d1a86[_0x163b4b(0x14a)]['split'](':');_0x5d1a86['socketPath']=_0x2749d5[0x0],_0x5d1a86[_0x163b4b(0x14a)]=_0x2749d5[0x1];}let _0x464cf9;if(_0x5d1a86[_0x163b4b(0xed)]){if(_0x434d81[_0x163b4b(0x169)]===0x0){_0x434d81[_0x163b4b(0x194)]=_0xd86d5c,_0x434d81[_0x163b4b(0x1c6)]=_0x494d8d,_0x434d81[_0x163b4b(0x105)]=_0xd86d5c?_0x5d1a86[_0x163b4b(0x230)]:_0x11ed71[_0x163b4b(0x17a)];const _0x2b5a44=_0x311a79&&_0x311a79[_0x163b4b(0x1d3)];if(_0x311a79={..._0x311a79,'headers':{}},_0x2b5a44){for(const [_0x27a6e1,_0x155961]of Object[_0x163b4b(0x252)](_0x2b5a44))_0x311a79[_0x163b4b(0x1d3)][_0x27a6e1['toLowerCase']()]=_0x155961;}}else{if(_0x434d81[_0x163b4b(0x19e)](_0x163b4b(0x20b))===0x0){const _0x135bd8=_0xd86d5c?_0x434d81[_0x163b4b(0x194)]?_0x5d1a86['socketPath']===_0x434d81['_originalHostOrSocketPath']:!0x1:_0x434d81[_0x163b4b(0x194)]?!0x1:_0x11ed71[_0x163b4b(0x17a)]===_0x434d81[_0x163b4b(0x105)];(!_0x135bd8||_0x434d81[_0x163b4b(0x1c6)]&&!_0x494d8d)&&(delete _0x5d1a86[_0x163b4b(0x1d3)][_0x163b4b(0x228)],delete _0x5d1a86['headers'][_0x163b4b(0x136)],_0x135bd8||delete _0x5d1a86[_0x163b4b(0x1d3)][_0x163b4b(0x17a)],_0x5d1a86[_0x163b4b(0xf1)]=void 0x0);}}_0x5d1a86[_0x163b4b(0xf1)]&&!_0x311a79[_0x163b4b(0x1d3)][_0x163b4b(0x228)]&&(_0x311a79[_0x163b4b(0x1d3)][_0x163b4b(0x228)]=_0x163b4b(0x261)+Buffer[_0x163b4b(0x1ea)](_0x5d1a86[_0x163b4b(0xf1)])[_0x163b4b(0x24b)](_0x163b4b(0x158))),_0x464cf9=_0x434d81[_0x163b4b(0x1ed)]=_0xd3cde7(_0x5d1a86),_0x434d81[_0x163b4b(0x169)]&&_0x434d81[_0x163b4b(0x256)]('redirect',_0x434d81['url'],_0x464cf9);}else _0x464cf9=_0x434d81['_req']=_0xd3cde7(_0x5d1a86);_0x5d1a86[_0x163b4b(0x12c)]&&_0x464cf9['on']('timeout',()=>{const _0x124c5f=_0x163b4b;_0x57875b(_0x434d81,_0x464cf9,_0x124c5f(0x247));}),_0x464cf9['on']('error',_0xc7f812=>{const _0x2a0620=_0x163b4b;_0x464cf9===null||_0x464cf9[_0x46e50a]||(_0x464cf9=_0x434d81[_0x2a0620(0x1ed)]=null,_0x325fa3(_0x434d81,_0xc7f812));}),_0x464cf9['on'](_0x163b4b(0xcc),_0xe9db=>{const _0x303ccc=_0x163b4b,_0x579ffd=_0xe9db[_0x303ccc(0x1d3)][_0x303ccc(0x263)],_0x1c93e2=_0xe9db['statusCode'];if(_0x579ffd&&_0x5d1a86['followRedirects']&&_0x1c93e2>=0x12c&&_0x1c93e2<0x190){if(++_0x434d81['_redirects']>_0x5d1a86['maxRedirects']){_0x57875b(_0x434d81,_0x464cf9,_0x303ccc(0x23d));return;}_0x464cf9[_0x303ccc(0x128)]();let _0x4ed799;try{_0x4ed799=new _0x3d3a32(_0x579ffd,_0xa7d7d4);}catch{const _0x54c06e=new SyntaxError('Invalid\x20URL:\x20'+_0x579ffd);_0x325fa3(_0x434d81,_0x54c06e);return;}_0x4bd69e(_0x434d81,_0x4ed799,_0x42cb00,_0x311a79);}else _0x434d81[_0x303ccc(0x256)](_0x303ccc(0xe4),_0x464cf9,_0xe9db)||_0x57875b(_0x434d81,_0x464cf9,_0x303ccc(0x11d)+_0xe9db['statusCode']);}),_0x464cf9['on'](_0x163b4b(0x138),(_0x541b6a,_0x1afb9f,_0x5e9110)=>{const _0x4a46b3=_0x163b4b;if(_0x434d81[_0x4a46b3(0x256)](_0x4a46b3(0x138),_0x541b6a),_0x434d81[_0x4a46b3(0x1bf)]!==_0x3964ef[_0x4a46b3(0x1c3)])return;_0x464cf9=_0x434d81[_0x4a46b3(0x1ed)]=null;const _0x147b30=_0x541b6a[_0x4a46b3(0x1d3)][_0x4a46b3(0x138)];if(_0x147b30===void 0x0||_0x147b30[_0x4a46b3(0x165)]()!==_0x4a46b3(0x201)){_0x57875b(_0x434d81,_0x1afb9f,'Invalid\x20Upgrade\x20header');return;}const _0x3b3361=_0x52a4dc(_0x4a46b3(0xfb))['update'](_0x4a414a+_0x4ff02e)[_0x4a46b3(0x144)](_0x4a46b3(0x158));if(_0x541b6a[_0x4a46b3(0x1d3)][_0x4a46b3(0x24d)]!==_0x3b3361){_0x57875b(_0x434d81,_0x1afb9f,_0x4a46b3(0x127));return;}const _0x2ee41e=_0x541b6a['headers']['sec-websocket-protocol'];let _0x179150;if(_0x2ee41e!==void 0x0?_0xe1103[_0x4a46b3(0x1df)]?_0xe1103[_0x4a46b3(0xc9)](_0x2ee41e)||(_0x179150='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0x179150='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0xe1103[_0x4a46b3(0x1df)]&&(_0x179150='Server\x20sent\x20no\x20subprotocol'),_0x179150){_0x57875b(_0x434d81,_0x1afb9f,_0x179150);return;}_0x2ee41e&&(_0x434d81['_protocol']=_0x2ee41e);const _0x8ac691=_0x541b6a[_0x4a46b3(0x1d3)]['sec-websocket-extensions'];if(_0x8ac691!==void 0x0){if(!_0xc5907a){_0x57875b(_0x434d81,_0x1afb9f,_0x4a46b3(0x159));return;}let _0x499926;try{_0x499926=_0x400353(_0x8ac691);}catch{_0x57875b(_0x434d81,_0x1afb9f,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0x587b89=Object[_0x4a46b3(0xc7)](_0x499926);if(_0x587b89[_0x4a46b3(0x21d)]!==0x1||_0x587b89[0x0]!==_0x298766[_0x4a46b3(0x226)]){_0x57875b(_0x434d81,_0x1afb9f,_0x4a46b3(0x225));return;}try{_0xc5907a[_0x4a46b3(0x23e)](_0x499926[_0x298766[_0x4a46b3(0x226)]]);}catch{_0x57875b(_0x434d81,_0x1afb9f,_0x4a46b3(0x26e));return;}_0x434d81[_0x4a46b3(0x1c0)][_0x298766[_0x4a46b3(0x226)]]=_0xc5907a;}_0x434d81[_0x4a46b3(0x199)](_0x1afb9f,_0x5e9110,{'allowSynchronousEvents':_0x5d1a86[_0x4a46b3(0x164)],'generateMask':_0x5d1a86[_0x4a46b3(0xe0)],'maxPayload':_0x5d1a86[_0x4a46b3(0x1db)],'skipUTF8Validation':_0x5d1a86[_0x4a46b3(0x12b)]});}),_0x5d1a86[_0x163b4b(0x17d)]?_0x5d1a86[_0x163b4b(0x17d)](_0x464cf9,_0x434d81):_0x464cf9[_0x163b4b(0x21c)]();}function _0x325fa3(_0x542b10,_0x431dd3){const _0x3c1f5a=_0x4c06dc;_0x542b10[_0x3c1f5a(0x11c)]=_0x3964ef[_0x3c1f5a(0x15d)],_0x542b10[_0x3c1f5a(0x1e4)]=!0x0,_0x542b10[_0x3c1f5a(0x256)](_0x3c1f5a(0x1a0),_0x431dd3),_0x542b10[_0x3c1f5a(0x1ce)]();}function _0x9f75f2(_0x578256){const _0x583908=_0x4c06dc;return _0x578256[_0x583908(0x14a)]=_0x578256[_0x583908(0x230)],_0x4d11af['connect'](_0x578256);}function _0x8b140c(_0x5a3ac9){const _0x365c88=_0x4c06dc;return _0x5a3ac9[_0x365c88(0x14a)]=void 0x0,!_0x5a3ac9[_0x365c88(0x18d)]&&_0x5a3ac9[_0x365c88(0x18d)]!==''&&(_0x5a3ac9['servername']=_0x4d11af[_0x365c88(0x190)](_0x5a3ac9['host'])?'':_0x5a3ac9[_0x365c88(0x17a)]),_0x17b5e3[_0x365c88(0x217)](_0x5a3ac9);}function _0x57875b(_0x37e2d0,_0x4b19ec,_0xc6199b){const _0x3f6457=_0x4c06dc;_0x37e2d0[_0x3f6457(0x11c)]=_0x3964ef[_0x3f6457(0x15d)];const _0x1cb1ce=new Error(_0xc6199b);Error[_0x3f6457(0x231)](_0x1cb1ce,_0x57875b),_0x4b19ec[_0x3f6457(0x102)]?(_0x4b19ec[_0x46e50a]=!0x0,_0x4b19ec['abort'](),_0x4b19ec[_0x3f6457(0x1ac)]&&!_0x4b19ec['socket']['destroyed']&&_0x4b19ec[_0x3f6457(0x1ac)][_0x3f6457(0x10b)](),process[_0x3f6457(0x258)](_0x325fa3,_0x37e2d0,_0x1cb1ce)):(_0x4b19ec[_0x3f6457(0x10b)](_0x1cb1ce),_0x4b19ec[_0x3f6457(0x1ee)](_0x3f6457(0x1a0),_0x37e2d0[_0x3f6457(0x256)][_0x3f6457(0x23b)](_0x37e2d0,_0x3f6457(0x1a0))),_0x4b19ec[_0x3f6457(0x1ee)](_0x3f6457(0x1fe),_0x37e2d0[_0x3f6457(0x1ce)]['bind'](_0x37e2d0)));}function _0x25af73(_0x44d137,_0x113222,_0x348213){const _0x7ea7b0=_0x4c06dc;if(_0x113222){const _0x457610=_0x4f3c04(_0x113222)?_0x113222[_0x7ea7b0(0x1df)]:_0x128491(_0x113222)[_0x7ea7b0(0x21d)];_0x44d137[_0x7ea7b0(0x19d)]?_0x44d137[_0x7ea7b0(0x270)][_0x7ea7b0(0x143)]+=_0x457610:_0x44d137[_0x7ea7b0(0x1dc)]+=_0x457610;}if(_0x348213){const _0x333471=new Error(_0x7ea7b0(0x168)+_0x44d137[_0x7ea7b0(0x1bf)]+'\x20('+_0x17bfbd[_0x44d137[_0x7ea7b0(0x1bf)]]+')');process[_0x7ea7b0(0x258)](_0x348213,_0x333471);}}function _0x12aecd(_0x32d770,_0x4a8c85){const _0x504604=_0x4c06dc,_0x36154f=this[_0x3cd424];_0x36154f[_0x504604(0x13f)]=!0x0,_0x36154f[_0x504604(0x175)]=_0x4a8c85,_0x36154f[_0x504604(0x18c)]=_0x32d770,_0x36154f[_0x504604(0x19d)][_0x3cd424]!==void 0x0&&(_0x36154f[_0x504604(0x19d)]['removeListener'](_0x504604(0x100),_0x3fc941),process[_0x504604(0x258)](_0x5122e0,_0x36154f[_0x504604(0x19d)]),_0x32d770===0x3ed?_0x36154f[_0x504604(0x1fe)]():_0x36154f[_0x504604(0x1fe)](_0x32d770,_0x4a8c85));}function _0x1f37cb(){const _0x540f2a=_0x4c06dc,_0x218747=this[_0x3cd424];_0x218747[_0x540f2a(0x275)]||_0x218747[_0x540f2a(0x19d)]['resume']();}function _0x1049b5(_0x207748){const _0x247298=_0x4c06dc,_0x134855=this[_0x3cd424];_0x134855['_socket'][_0x3cd424]!==void 0x0&&(_0x134855[_0x247298(0x19d)][_0x247298(0xeb)](_0x247298(0x100),_0x3fc941),process[_0x247298(0x258)](_0x5122e0,_0x134855[_0x247298(0x19d)]),_0x134855[_0x247298(0x1fe)](_0x207748[_0x1750c3])),_0x134855[_0x247298(0x1e4)]||(_0x134855['_errorEmitted']=!0x0,_0x134855[_0x247298(0x256)](_0x247298(0x1a0),_0x207748));}function _0x482f3d(){const _0x8a4c4d=_0x4c06dc;this[_0x3cd424][_0x8a4c4d(0x1ce)]();}function _0x19d445(_0xf8d122,_0xfeeed0){const _0x32a904=_0x4c06dc;this[_0x3cd424][_0x32a904(0x256)](_0x32a904(0xd5),_0xf8d122,_0xfeeed0);}function _0x3092be(_0x10c647){const _0x3e87c2=_0x4c06dc,_0x53989f=this[_0x3cd424];_0x53989f[_0x3e87c2(0x1d6)]&&_0x53989f[_0x3e87c2(0xd8)](_0x10c647,!this['_isServer'],_0x553d68),_0x53989f[_0x3e87c2(0x256)]('ping',_0x10c647);}function _0x3f90ef(_0x2d69f1){const _0xd00840=_0x4c06dc;this[_0x3cd424][_0xd00840(0x256)](_0xd00840(0xd8),_0x2d69f1);}function _0x5122e0(_0x1d7423){const _0x2877ee=_0x4c06dc;_0x1d7423[_0x2877ee(0x191)]();}function _0x201acd(_0x51a1e5){const _0x41f4de=_0x4c06dc,_0x489b60=this[_0x3cd424];_0x489b60[_0x41f4de(0x1bf)]!==_0x3964ef['CLOSED']&&(_0x489b60[_0x41f4de(0x1bf)]===_0x3964ef[_0x41f4de(0x267)]&&(_0x489b60[_0x41f4de(0x11c)]=_0x3964ef[_0x41f4de(0x15d)],_0x22fef3(_0x489b60)),this[_0x41f4de(0x19d)][_0x41f4de(0x21c)](),_0x489b60[_0x41f4de(0x1e4)]||(_0x489b60[_0x41f4de(0x1e4)]=!0x0,_0x489b60[_0x41f4de(0x256)](_0x41f4de(0x1a0),_0x51a1e5)));}function _0x22fef3(_0x2d3a5f){const _0x36c035=_0x4c06dc;_0x2d3a5f[_0x36c035(0x1a2)]=setTimeout(_0x2d3a5f['_socket'][_0x36c035(0x10b)][_0x36c035(0x23b)](_0x2d3a5f['_socket']),_0x1c2454);}function _0x3a7c84(){const _0x56337=_0x4c06dc,_0x558a04=this[_0x3cd424];this[_0x56337(0xeb)](_0x56337(0x1fe),_0x3a7c84),this[_0x56337(0xeb)](_0x56337(0x100),_0x3fc941),this[_0x56337(0xeb)](_0x56337(0x21c),_0x41dd65),_0x558a04[_0x56337(0x11c)]=_0x3964ef[_0x56337(0x15d)];let _0x5152bc;!this['_readableState'][_0x56337(0x185)]&&!_0x558a04[_0x56337(0x13f)]&&!_0x558a04[_0x56337(0x176)][_0x56337(0x1c4)][_0x56337(0x153)]&&(_0x5152bc=_0x558a04[_0x56337(0x19d)][_0x56337(0xdb)]())!==null&&_0x558a04[_0x56337(0x176)][_0x56337(0x1c8)](_0x5152bc),_0x558a04[_0x56337(0x176)][_0x56337(0x21c)](),this[_0x3cd424]=void 0x0,clearTimeout(_0x558a04[_0x56337(0x1a2)]),_0x558a04[_0x56337(0x176)][_0x56337(0x1c4)][_0x56337(0x149)]||_0x558a04['_receiver'][_0x56337(0x1c4)][_0x56337(0x153)]?_0x558a04[_0x56337(0x1ce)]():(_0x558a04[_0x56337(0x176)]['on'](_0x56337(0x1a0),_0x482f3d),_0x558a04[_0x56337(0x176)]['on'](_0x56337(0x161),_0x482f3d));}function _0x3fc941(_0x213b2c){const _0x3b6668=_0x4c06dc;this[_0x3cd424][_0x3b6668(0x176)][_0x3b6668(0x1c8)](_0x213b2c)||this[_0x3b6668(0x202)]();}function _0x41dd65(){const _0x114565=_0x4c06dc,_0x1c3882=this[_0x3cd424];_0x1c3882['_readyState']=_0x3964ef[_0x114565(0x15d)],_0x1c3882['_receiver'][_0x114565(0x21c)](),this[_0x114565(0x21c)]();}function _0x33dd08(){const _0x15060c=_0x4c06dc,_0x3afd86=this[_0x3cd424];this[_0x15060c(0xeb)](_0x15060c(0x1a0),_0x33dd08),this['on'](_0x15060c(0x1a0),_0x553d68),_0x3afd86&&(_0x3afd86[_0x15060c(0x11c)]=_0x3964ef[_0x15060c(0x15d)],this[_0x15060c(0x10b)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x4da852}=_0x350906;function _0x5ec9fd(_0x2b1988){_0x2b1988['emit']('close');}function _0x10cd74(){const _0xe92138=_0x1608;!this[_0xe92138(0x218)]&&this[_0xe92138(0x1c4)]['finished']&&this[_0xe92138(0x10b)]();}function _0x45926d(_0x2bdf0e){const _0x152f26=_0x1608;this['removeListener'](_0x152f26(0x1a0),_0x45926d),this['destroy'](),this['listenerCount'](_0x152f26(0x1a0))===0x0&&this['emit']('error',_0x2bdf0e);}function _0x1db2f3(_0x414152,_0x56edfa){const _0x2d4170=_0x1608;let _0x322134=!0x0;const _0x13ae89=new _0x4da852({..._0x56edfa,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x414152['on'](_0x2d4170(0xd5),function(_0x1ea8fe,_0x587454){const _0x38ffbc=_0x2d4170,_0x20f37b=!_0x587454&&_0x13ae89[_0x38ffbc(0x1e3)]['objectMode']?_0x1ea8fe['toString']():_0x1ea8fe;_0x13ae89['push'](_0x20f37b)||_0x414152['pause']();}),_0x414152[_0x2d4170(0x1ee)](_0x2d4170(0x1a0),function(_0x5705f4){const _0x447c6e=_0x2d4170;_0x13ae89[_0x447c6e(0x218)]||(_0x322134=!0x1,_0x13ae89[_0x447c6e(0x10b)](_0x5705f4));}),_0x414152[_0x2d4170(0x1ee)](_0x2d4170(0x1fe),function(){const _0x33fa48=_0x2d4170;_0x13ae89[_0x33fa48(0x218)]||_0x13ae89[_0x33fa48(0x18b)](null);}),_0x13ae89[_0x2d4170(0x14d)]=function(_0x51ebb6,_0x37be14){const _0xde15d1=_0x2d4170;if(_0x414152['readyState']===_0x414152[_0xde15d1(0x233)]){_0x37be14(_0x51ebb6),process[_0xde15d1(0x258)](_0x5ec9fd,_0x13ae89);return;}let _0x9341a5=!0x1;_0x414152[_0xde15d1(0x1ee)](_0xde15d1(0x1a0),function(_0x87ea08){_0x9341a5=!0x0,_0x37be14(_0x87ea08);}),_0x414152[_0xde15d1(0x1ee)](_0xde15d1(0x1fe),function(){const _0x2cf96f=_0xde15d1;_0x9341a5||_0x37be14(_0x51ebb6),process[_0x2cf96f(0x258)](_0x5ec9fd,_0x13ae89);}),_0x322134&&_0x414152['terminate']();},_0x13ae89['_final']=function(_0x117997){const _0x5e05e9=_0x2d4170;if(_0x414152[_0x5e05e9(0x1bf)]===_0x414152[_0x5e05e9(0x1c3)]){_0x414152['once']('open',function(){const _0x51e823=_0x5e05e9;_0x13ae89[_0x51e823(0x1f1)](_0x117997);});return;}_0x414152[_0x5e05e9(0x19d)]!==null&&(_0x414152[_0x5e05e9(0x19d)]['_writableState'][_0x5e05e9(0x149)]?(_0x117997(),_0x13ae89[_0x5e05e9(0x1e3)][_0x5e05e9(0x185)]&&_0x13ae89[_0x5e05e9(0x10b)]()):(_0x414152[_0x5e05e9(0x19d)]['once']('finish',function(){_0x117997();}),_0x414152[_0x5e05e9(0x1fe)]()));},_0x13ae89['_read']=function(){const _0x2dc80b=_0x2d4170;_0x414152[_0x2dc80b(0x275)]&&_0x414152[_0x2dc80b(0x191)]();},_0x13ae89[_0x2d4170(0xfe)]=function(_0x54067f,_0x272b9b,_0x5eebba){const _0x36c7a9=_0x2d4170;if(_0x414152['readyState']===_0x414152['CONNECTING']){_0x414152['once'](_0x36c7a9(0x11f),function(){const _0x2c5ec0=_0x36c7a9;_0x13ae89[_0x2c5ec0(0xfe)](_0x54067f,_0x272b9b,_0x5eebba);});return;}_0x414152[_0x36c7a9(0xf3)](_0x54067f,_0x5eebba);},_0x13ae89['on']('end',_0x10cd74),_0x13ae89['on'](_0x2d4170(0x1a0),_0x45926d),_0x13ae89;}return Oe=_0x1db2f3,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=jt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x3c117b}=ne();function _0x1ee892(_0x4ffa85){const _0x5f4f45=_0x1608,_0x207577=new Set();let _0x561bb2=-0x1,_0x4af5a4=-0x1,_0x487e5f=0x0;for(_0x487e5f;_0x487e5f<_0x4ffa85[_0x5f4f45(0x21d)];_0x487e5f++){const _0x3fd46e=_0x4ffa85[_0x5f4f45(0x1cb)](_0x487e5f);if(_0x4af5a4===-0x1&&_0x3c117b[_0x3fd46e]===0x1)_0x561bb2===-0x1&&(_0x561bb2=_0x487e5f);else{if(_0x487e5f!==0x0&&(_0x3fd46e===0x20||_0x3fd46e===0x9))_0x4af5a4===-0x1&&_0x561bb2!==-0x1&&(_0x4af5a4=_0x487e5f);else{if(_0x3fd46e===0x2c){if(_0x561bb2===-0x1)throw new SyntaxError(_0x5f4f45(0x1e8)+_0x487e5f);_0x4af5a4===-0x1&&(_0x4af5a4=_0x487e5f);const _0x3e4a6e=_0x4ffa85['slice'](_0x561bb2,_0x4af5a4);if(_0x207577[_0x5f4f45(0xc9)](_0x3e4a6e))throw new SyntaxError(_0x5f4f45(0x15b)+_0x3e4a6e+_0x5f4f45(0x222));_0x207577['add'](_0x3e4a6e),_0x561bb2=_0x4af5a4=-0x1;}else throw new SyntaxError(_0x5f4f45(0x1e8)+_0x487e5f);}}}if(_0x561bb2===-0x1||_0x4af5a4!==-0x1)throw new SyntaxError(_0x5f4f45(0x125));const _0x5d1ee0=_0x4ffa85[_0x5f4f45(0x16c)](_0x561bb2,_0x487e5f);if(_0x207577['has'](_0x5d1ee0))throw new SyntaxError('The\x20\x22'+_0x5d1ee0+_0x5f4f45(0x222));return _0x207577[_0x5f4f45(0x26b)](_0x5d1ee0),_0x207577;}return Ce={'parse':_0x1ee892},Ce;}var Te,ot;function er(){const _0x1df2b1=_0x4a201d;if(ot)return Te;ot=0x1;const _0x58d9ab=_0x599110,_0xf74f56=_0xcb97b6,{Duplex:_0x15604e}=_0x350906,{createHash:_0x268522}=_0x79d614,_0x532eb1=pt(),_0x5aafd1=he(),_0x28ff62=Jt(),_0x5b7a88=Ie(),{GUID:_0x459967,kWebSocket:_0x1c5739}=V(),_0x357142=/^[+/0-9A-Za-z]{22}==$/,_0x1fa413=0x0,_0x29a663=0x1,_0x406d4c=0x2;class _0x4bce91 extends _0x58d9ab{constructor(_0x9fcc8c,_0x2dcd28){const _0x40a595=_0x1608;if(super(),_0x9fcc8c={'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':_0x5b7a88,..._0x9fcc8c},_0x9fcc8c['port']==null&&!_0x9fcc8c[_0x40a595(0x262)]&&!_0x9fcc8c[_0x40a595(0x13b)]||_0x9fcc8c[_0x40a595(0x173)]!=null&&(_0x9fcc8c['server']||_0x9fcc8c[_0x40a595(0x13b)])||_0x9fcc8c[_0x40a595(0x262)]&&_0x9fcc8c['noServer'])throw new TypeError(_0x40a595(0x156));if(_0x9fcc8c['port']!=null?(this[_0x40a595(0x189)]=_0xf74f56['createServer']((_0x24fe5a,_0xdf383c)=>{const _0x4328c6=_0x40a595,_0x24df7a=_0xf74f56[_0x4328c6(0x251)][0x1aa];_0xdf383c[_0x4328c6(0x1d8)](0x1aa,{'Content-Length':_0x24df7a[_0x4328c6(0x21d)],'Content-Type':'text/plain'}),_0xdf383c[_0x4328c6(0x21c)](_0x24df7a);}),this[_0x40a595(0x189)][_0x40a595(0x1b8)](_0x9fcc8c[_0x40a595(0x173)],_0x9fcc8c[_0x40a595(0x17a)],_0x9fcc8c[_0x40a595(0x15f)],_0x2dcd28)):_0x9fcc8c[_0x40a595(0x262)]&&(this[_0x40a595(0x189)]=_0x9fcc8c[_0x40a595(0x262)]),this['_server']){const _0x52c62a=this[_0x40a595(0x256)][_0x40a595(0x23b)](this,_0x40a595(0xe6));this[_0x40a595(0xea)]=_0x1a10f2(this[_0x40a595(0x189)],{'listening':this[_0x40a595(0x256)][_0x40a595(0x23b)](this,_0x40a595(0x1bd)),'error':this[_0x40a595(0x256)][_0x40a595(0x23b)](this,_0x40a595(0x1a0)),'upgrade':(_0xf1c19,_0x399052,_0x318143)=>{const _0x2573c7=_0x40a595;this[_0x2573c7(0x1b1)](_0xf1c19,_0x399052,_0x318143,_0x52c62a);}});}_0x9fcc8c[_0x40a595(0x236)]===!0x0&&(_0x9fcc8c[_0x40a595(0x236)]={}),_0x9fcc8c[_0x40a595(0x20f)]&&(this[_0x40a595(0xf2)]=new Set(),this['_shouldEmitClose']=!0x1),this[_0x40a595(0x16e)]=_0x9fcc8c,this[_0x40a595(0xf7)]=_0x1fa413;}['address'](){const _0x20d6db=_0x1608;if(this[_0x20d6db(0x16e)]['noServer'])throw new Error('The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode');return this['_server']?this[_0x20d6db(0x189)][_0x20d6db(0x1fb)]():null;}['close'](_0x307eb4){const _0x22118e=_0x1608;if(this[_0x22118e(0xf7)]===_0x406d4c){_0x307eb4&&this[_0x22118e(0x1ee)](_0x22118e(0x1fe),()=>{const _0x21c5c7=_0x22118e;_0x307eb4(new Error(_0x21c5c7(0x19c)));}),process['nextTick'](_0x3edf4c,this);return;}if(_0x307eb4&&this[_0x22118e(0x1ee)](_0x22118e(0x1fe),_0x307eb4),this[_0x22118e(0xf7)]!==_0x29a663){if(this[_0x22118e(0xf7)]=_0x29a663,this[_0x22118e(0x16e)]['noServer']||this[_0x22118e(0x16e)][_0x22118e(0x262)])this['_server']&&(this[_0x22118e(0xea)](),this[_0x22118e(0xea)]=this[_0x22118e(0x189)]=null),this[_0x22118e(0xf2)]?this[_0x22118e(0xf2)][_0x22118e(0x1df)]?this['_shouldEmitClose']=!0x0:process['nextTick'](_0x3edf4c,this):process[_0x22118e(0x258)](_0x3edf4c,this);else{const _0x27a6e8=this[_0x22118e(0x189)];this[_0x22118e(0xea)](),this[_0x22118e(0xea)]=this[_0x22118e(0x189)]=null,_0x27a6e8[_0x22118e(0x1fe)](()=>{_0x3edf4c(this);});}}}[_0x1df2b1(0x184)](_0x27acf6){const _0x54ecef=_0x1df2b1;if(this[_0x54ecef(0x16e)][_0x54ecef(0x14a)]){const _0x527cc6=_0x27acf6['url']['indexOf']('?');if((_0x527cc6!==-0x1?_0x27acf6[_0x54ecef(0x193)][_0x54ecef(0x16c)](0x0,_0x527cc6):_0x27acf6['url'])!==this[_0x54ecef(0x16e)]['path'])return!0x1;}return!0x0;}['handleUpgrade'](_0x4ed832,_0x45b3f1,_0x4c7214,_0x444727){const _0xd9dc5b=_0x1df2b1;_0x45b3f1['on']('error',_0x2daff8);const _0x506a35=_0x4ed832['headers'][_0xd9dc5b(0x1b9)],_0x2d7a90=_0x4ed832[_0xd9dc5b(0x1d3)]['upgrade'],_0x18ce97=+_0x4ed832[_0xd9dc5b(0x1d3)]['sec-websocket-version'];if(_0x4ed832[_0xd9dc5b(0x1e1)]!==_0xd9dc5b(0x200)){_0x2165ae(this,_0x4ed832,_0x45b3f1,0x195,_0xd9dc5b(0x12e));return;}if(_0x2d7a90===void 0x0||_0x2d7a90[_0xd9dc5b(0x165)]()!==_0xd9dc5b(0x201)){_0x2165ae(this,_0x4ed832,_0x45b3f1,0x190,_0xd9dc5b(0x141));return;}if(_0x506a35===void 0x0||!_0x357142[_0xd9dc5b(0x196)](_0x506a35)){_0x2165ae(this,_0x4ed832,_0x45b3f1,0x190,_0xd9dc5b(0x254));return;}if(_0x18ce97!==0x8&&_0x18ce97!==0xd){_0x2165ae(this,_0x4ed832,_0x45b3f1,0x190,_0xd9dc5b(0x179));return;}if(!this['shouldHandle'](_0x4ed832)){_0x3fbd8c(_0x45b3f1,0x190);return;}const _0x34e3e3=_0x4ed832['headers']['sec-websocket-protocol'];let _0xe36b8d=new Set();if(_0x34e3e3!==void 0x0)try{_0xe36b8d=_0x28ff62['parse'](_0x34e3e3);}catch{_0x2165ae(this,_0x4ed832,_0x45b3f1,0x190,_0xd9dc5b(0xe9));return;}const _0x4dd82a=_0x4ed832[_0xd9dc5b(0x1d3)][_0xd9dc5b(0x255)],_0x56f20d={};if(this[_0xd9dc5b(0x16e)][_0xd9dc5b(0x236)]&&_0x4dd82a!==void 0x0){const _0x104fe1=new _0x5aafd1(this['options']['perMessageDeflate'],!0x0,this['options'][_0xd9dc5b(0x1db)]);try{const _0xec994e=_0x532eb1[_0xd9dc5b(0x162)](_0x4dd82a);_0xec994e[_0x5aafd1[_0xd9dc5b(0x226)]]&&(_0x104fe1[_0xd9dc5b(0x23e)](_0xec994e[_0x5aafd1[_0xd9dc5b(0x226)]]),_0x56f20d[_0x5aafd1[_0xd9dc5b(0x226)]]=_0x104fe1);}catch{_0x2165ae(this,_0x4ed832,_0x45b3f1,0x190,_0xd9dc5b(0x1e7));return;}}if(this[_0xd9dc5b(0x16e)][_0xd9dc5b(0x172)]){const _0x2d87cf={'origin':_0x4ed832[_0xd9dc5b(0x1d3)][''+(_0x18ce97===0x8?_0xd9dc5b(0x241):'origin')],'secure':!!(_0x4ed832['socket'][_0xd9dc5b(0x15a)]||_0x4ed832[_0xd9dc5b(0x1ac)][_0xd9dc5b(0x134)]),'req':_0x4ed832};if(this[_0xd9dc5b(0x16e)]['verifyClient'][_0xd9dc5b(0x21d)]===0x2){this['options'][_0xd9dc5b(0x172)](_0x2d87cf,(_0x560d9c,_0x570fa7,_0x231b9a,_0x173b8a)=>{const _0x2de920=_0xd9dc5b;if(!_0x560d9c)return _0x3fbd8c(_0x45b3f1,_0x570fa7||0x191,_0x231b9a,_0x173b8a);this[_0x2de920(0xf8)](_0x56f20d,_0x506a35,_0xe36b8d,_0x4ed832,_0x45b3f1,_0x4c7214,_0x444727);});return;}if(!this[_0xd9dc5b(0x16e)][_0xd9dc5b(0x172)](_0x2d87cf))return _0x3fbd8c(_0x45b3f1,0x191);}this[_0xd9dc5b(0xf8)](_0x56f20d,_0x506a35,_0xe36b8d,_0x4ed832,_0x45b3f1,_0x4c7214,_0x444727);}[_0x1df2b1(0xf8)](_0x35b445,_0x5cc2a7,_0x36ec64,_0x2bdb08,_0x1f61a3,_0x2c62d1,_0x558acf){const _0x29615a=_0x1df2b1;if(!_0x1f61a3['readable']||!_0x1f61a3[_0x29615a(0xfa)])return _0x1f61a3['destroy']();if(_0x1f61a3[_0x1c5739])throw new Error(_0x29615a(0x204));if(this[_0x29615a(0xf7)]>_0x1fa413)return _0x3fbd8c(_0x1f61a3,0x1f7);const _0x25a08e=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0x29615a(0x10f),_0x29615a(0x123),_0x29615a(0x10e)+_0x268522(_0x29615a(0xfb))[_0x29615a(0x1f4)](_0x5cc2a7+_0x459967)[_0x29615a(0x144)](_0x29615a(0x158))],_0x2fc099=new this[(_0x29615a(0x16e))][(_0x29615a(0x1c5))](null,void 0x0,this['options']);if(_0x36ec64[_0x29615a(0x1df)]){const _0x1384c4=this[_0x29615a(0x16e)][_0x29615a(0xff)]?this[_0x29615a(0x16e)][_0x29615a(0xff)](_0x36ec64,_0x2bdb08):_0x36ec64['values']()['next']()[_0x29615a(0x117)];_0x1384c4&&(_0x25a08e[_0x29615a(0x18b)]('Sec-WebSocket-Protocol:\x20'+_0x1384c4),_0x2fc099['_protocol']=_0x1384c4);}if(_0x35b445[_0x5aafd1[_0x29615a(0x226)]]){const _0x162df3=_0x35b445[_0x5aafd1[_0x29615a(0x226)]][_0x29615a(0x106)],_0x59b4c2=_0x532eb1[_0x29615a(0xef)]({[_0x5aafd1[_0x29615a(0x226)]]:[_0x162df3]});_0x25a08e[_0x29615a(0x18b)]('Sec-WebSocket-Extensions:\x20'+_0x59b4c2),_0x2fc099[_0x29615a(0x1c0)]=_0x35b445;}this[_0x29615a(0x256)](_0x29615a(0x1d3),_0x25a08e,_0x2bdb08),_0x1f61a3[_0x29615a(0x1c8)](_0x25a08e['concat']('\x0d\x0a')['join']('\x0d\x0a')),_0x1f61a3[_0x29615a(0xeb)](_0x29615a(0x1a0),_0x2daff8),_0x2fc099[_0x29615a(0x199)](_0x1f61a3,_0x2c62d1,{'allowSynchronousEvents':this['options'][_0x29615a(0x164)],'maxPayload':this['options'][_0x29615a(0x1db)],'skipUTF8Validation':this[_0x29615a(0x16e)]['skipUTF8Validation']}),this[_0x29615a(0xf2)]&&(this[_0x29615a(0xf2)][_0x29615a(0x26b)](_0x2fc099),_0x2fc099['on'](_0x29615a(0x1fe),()=>{const _0x3ac4df=_0x29615a;this['clients'][_0x3ac4df(0xe3)](_0x2fc099),this[_0x3ac4df(0xdf)]&&!this[_0x3ac4df(0xf2)][_0x3ac4df(0x1df)]&&process[_0x3ac4df(0x258)](_0x3edf4c,this);})),_0x558acf(_0x2fc099,_0x2bdb08);}}Te=_0x4bce91;function _0x1a10f2(_0x4e5dbf,_0xa887d9){const _0x5d19c6=_0x1df2b1;for(const _0x4ceaee of Object[_0x5d19c6(0xc7)](_0xa887d9))_0x4e5dbf['on'](_0x4ceaee,_0xa887d9[_0x4ceaee]);return function(){const _0x24bc04=_0x5d19c6;for(const _0x4acc9e of Object[_0x24bc04(0xc7)](_0xa887d9))_0x4e5dbf['removeListener'](_0x4acc9e,_0xa887d9[_0x4acc9e]);};}function _0x3edf4c(_0x2bd981){const _0x4e3dd5=_0x1df2b1;_0x2bd981[_0x4e3dd5(0xf7)]=_0x406d4c,_0x2bd981[_0x4e3dd5(0x256)](_0x4e3dd5(0x1fe));}function _0x2daff8(){this['destroy']();}function _0x3fbd8c(_0x190f04,_0x528bea,_0x1d266c,_0x144c4a){const _0x4b3bbe=_0x1df2b1;_0x1d266c=_0x1d266c||_0xf74f56[_0x4b3bbe(0x251)][_0x528bea],_0x144c4a={'Connection':_0x4b3bbe(0x1fe),'Content-Type':_0x4b3bbe(0x186),'Content-Length':Buffer[_0x4b3bbe(0x171)](_0x1d266c),..._0x144c4a},_0x190f04[_0x4b3bbe(0x1ee)](_0x4b3bbe(0x161),_0x190f04[_0x4b3bbe(0x10b)]),_0x190f04[_0x4b3bbe(0x21c)](_0x4b3bbe(0x12d)+_0x528bea+'\x20'+_0xf74f56[_0x4b3bbe(0x251)][_0x528bea]+'\x0d\x0a'+Object[_0x4b3bbe(0xc7)](_0x144c4a)[_0x4b3bbe(0x131)](_0x298324=>_0x298324+':\x20'+_0x144c4a[_0x298324])[_0x4b3bbe(0x22f)]('\x0d\x0a')+_0x4b3bbe(0x26a)+_0x1d266c);}function _0x2165ae(_0x4af7c0,_0x2c4eb2,_0x2e7106,_0x6bdf24,_0x50a773){const _0x36d5fa=_0x1df2b1;if(_0x4af7c0[_0x36d5fa(0x19e)](_0x36d5fa(0x174))){const _0x1bba25=new Error(_0x50a773);Error['captureStackTrace'](_0x1bba25,_0x2165ae),_0x4af7c0[_0x36d5fa(0x256)](_0x36d5fa(0x174),_0x1bba25,_0x2e7106,_0x2c4eb2);}else _0x3fbd8c(_0x2e7106,_0x6bdf24,_0x50a773);}return Te;}er();var tr=Object[_0x4a201d(0x183)],rr=(_0x57910a,_0xb0c567,_0x206cd4,_0x4fdc68)=>{const _0x2c0479=_0x4a201d;for(var _0x1194ef=_0x4fdc68>0x1?void 0x0:_0x4fdc68?tr(_0xb0c567,_0x206cd4):_0xb0c567,_0x73a3da=_0x57910a[_0x2c0479(0x21d)]-0x1,_0xe4930;_0x73a3da>=0x0;_0x73a3da--)(_0xe4930=_0x57910a[_0x73a3da])&&(_0x1194ef=_0xe4930(_0x1194ef)||_0x1194ef);return _0x1194ef;},sr=(_0x50d4dc,_0x40ab98)=>(_0x38fef6,_0x429753)=>_0x40ab98(_0x38fef6,_0x429753,_0x50d4dc);let Ne=class extends _0x764400{constructor(_0x54f1b4){super(),this['_configService']=_0x54f1b4;}[_0x4a201d(0x276)](_0x5c2679){const _0x4b8dad=_0x4a201d;var _0x149aa5;const _0x531f7d=(_0x149aa5=this['_configService'][_0x4b8dad(0x1f6)](Be))==null?void 0x0:_0x149aa5['customHeaders'];try{const _0x4abee8=new Qt(_0x5c2679,{'headers':{..._0x531f7d}}),_0x1455cd=new _0x3fb50b();return{'URL':_0x5c2679,'close':(_0x34bcb4,_0x1bae50)=>{const _0x3c6480=_0x4b8dad;_0x4abee8[_0x3c6480(0x1fe)](_0x34bcb4,_0x1bae50),_0x1455cd[_0x3c6480(0x227)]();},'send':_0x29d117=>{const _0x341c2d=_0x4b8dad;_0x4abee8[_0x341c2d(0xf3)](_0x29d117);},'open$':new _0x2b97b7(_0x413b3e=>{const _0x30ff33=_0x4b8dad,_0x5eda1d=_0xe59b51=>_0x413b3e[_0x30ff33(0x245)](_0xe59b51);_0x4abee8[_0x30ff33(0x1dd)](_0x30ff33(0x11f),_0x5eda1d),_0x1455cd[_0x30ff33(0x26b)](_0x5e98cc(()=>_0x4abee8[_0x30ff33(0x224)](_0x30ff33(0x11f),_0x5eda1d)));})[_0x4b8dad(0x147)](_0x1afc44()),'close$':new _0x2b97b7(_0x2ccf80=>{const _0x1a960c=_0x4b8dad,_0x109d96=_0x1bb819=>_0x2ccf80[_0x1a960c(0x245)](_0x1bb819);_0x4abee8[_0x1a960c(0x1dd)](_0x1a960c(0x1fe),_0x109d96),_0x1455cd['add'](_0x5e98cc(()=>_0x4abee8[_0x1a960c(0x224)]('close',_0x109d96)));})[_0x4b8dad(0x147)](_0x1afc44()),'error$':new _0x2b97b7(_0x248e5a=>{const _0x5edf44=_0x4b8dad,_0x4a8c31=_0x2c2d7f=>_0x248e5a[_0x5edf44(0x245)](_0x2c2d7f);_0x4abee8[_0x5edf44(0x1dd)](_0x5edf44(0x1a0),_0x4a8c31),_0x1455cd['add'](_0x5e98cc(()=>_0x4abee8[_0x5edf44(0x224)](_0x5edf44(0x1a0),_0x4a8c31)));})[_0x4b8dad(0x147)](_0x1afc44()),'message$':new _0x2b97b7(_0x178862=>{const _0x273ba4=_0x4b8dad,_0x92edfc=_0x446c90=>_0x178862[_0x273ba4(0x245)](_0x446c90);_0x4abee8['addEventListener'](_0x273ba4(0xd5),_0x92edfc),_0x1455cd[_0x273ba4(0x26b)](_0x5e98cc(()=>_0x4abee8[_0x273ba4(0x224)](_0x273ba4(0xd5),_0x92edfc)));})[_0x4b8dad(0x147)](_0x1afc44())};}catch(_0x4a3330){return console[_0x4b8dad(0x1a0)](_0x4a3330),null;}}};Ne=rr([sr(0x0,_0x175b17)],Ne);var ir=Object[_0x4a201d(0x1a6)],nr=Object['getOwnPropertyDescriptor'],or=(_0x2f7f77,_0x3a2757,_0x5c1923)=>_0x3a2757 in _0x2f7f77?ir(_0x2f7f77,_0x3a2757,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5c1923}):_0x2f7f77[_0x3a2757]=_0x5c1923,ar=(_0x3a134a,_0x50bc5f,_0x1ce957,_0x3c455f)=>{const _0x4409e5=_0x4a201d;for(var _0x42e9ce=_0x3c455f>0x1?void 0x0:_0x3c455f?nr(_0x50bc5f,_0x1ce957):_0x50bc5f,_0x319520=_0x3a134a[_0x4409e5(0x21d)]-0x1,_0x194761;_0x319520>=0x0;_0x319520--)(_0x194761=_0x3a134a[_0x319520])&&(_0x42e9ce=_0x194761(_0x42e9ce)||_0x42e9ce);return _0x42e9ce;},ke=(_0x163577,_0x473f54)=>(_0x4d02c7,_0x17f536)=>_0x473f54(_0x4d02c7,_0x17f536,_0x163577),lr=(_0x21cd94,_0xa02a57,_0x1f6832)=>or(_0x21cd94,_0xa02a57+'',_0x1f6832);let Pe=class extends _0x4b5834{constructor(_0x2e4f48=Ft,_0x158121,_0x30b709,_0x56ef38){const _0x1b2a3f=_0x4a201d;_0x2e4f48[_0x1b2a3f(0x221)]||_0x158121[_0x1b2a3f(0x160)](_0x1b2a3f(0x235)),super(),this[_0x1b2a3f(0x25c)]=_0x30b709,this['_injector']=_0x56ef38,this['_configService'][_0x1b2a3f(0x26c)](Be,_0x2e4f48);}[_0x4a201d(0x14f)](){this['_registerDependencies']();}[_0x4a201d(0x23f)](){const _0x2a7963=_0x4a201d;_0x2fac8f(this[_0x2a7963(0x24a)],[[_0x389364,{'useClass':Ne}]]);}};lr(Pe,_0x4a201d(0x1f2),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),Pe=ar([_0x16e80f(_0x5b7145),ke(0x1,_0x30cf7c),ke(0x2,_0x175b17),ke(0x3,_0x123349(_0x22b1a9))],Pe);var fr=Object[_0x4a201d(0x183)],cr=(_0xa77a7b,_0x236dd3,_0x493546,_0x5eeea9)=>{const _0x114357=_0x4a201d;for(var _0x2b7450=_0x5eeea9>0x1?void 0x0:_0x5eeea9?fr(_0x236dd3,_0x493546):_0x236dd3,_0x1c566f=_0xa77a7b[_0x114357(0x21d)]-0x1,_0x39d3a3;_0x1c566f>=0x0;_0x1c566f--)(_0x39d3a3=_0xa77a7b[_0x1c566f])&&(_0x2b7450=_0x39d3a3(_0x2b7450)||_0x2b7450);return _0x2b7450;},se=(_0x4d3e85,_0x2a7093)=>(_0xde5b6c,_0x248f74)=>_0x2a7093(_0xde5b6c,_0x248f74,_0x4d3e85);let at=class extends _0x3f3465{constructor(_0x28ad4b,_0x3afc5c,_0xba9027,_0x454fe2,_0xada2bc){const _0x3fd3ef=_0x4a201d;super(_0x28ad4b,_0x3afc5c,_0xba9027,_0x454fe2,_0xada2bc);const _0x145d25=this[_0x3fd3ef(0x25c)][_0x3fd3ef(0x1f6)](Be);this['_httpService']['registerHTTPInterceptor']({'interceptor':(_0x38ebc1,_0x74146f)=>{const _0x640c31=_0x3fd3ef;var _0x276fb1;const _0x4e276a=_0x38ebc1['headers'];return(_0x276fb1=_0x145d25==null?void 0x0:_0x145d25['customHeaders'])!=null&&_0x276fb1[_0x640c31(0x136)]&&_0x4e276a['set'](_0x640c31(0x101),_0x145d25[_0x640c31(0x221)][_0x640c31(0x136)]),_0x74146f(_0x38ebc1);}});}async[_0x4a201d(0x276)](_0x1991f4){const _0x556a52=_0x4a201d;return this[_0x556a52(0xe2)](_0x1991f4);}};at=cr([se(0x0,_0x123349(_0x22b1a9)),se(0x1,_0x123349(_0x244dcf)),se(0x2,_0x175b17),se(0x3,_0x30cf7c),se(0x4,_0x51c404)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
1
+ const _0xecd734=_0x4097;(function(_0x5136c7,_0x33a40c){const _0x4ee187=_0x4097,_0x5c9e01=_0x5136c7();while(!![]){try{const _0x1187c2=-parseInt(_0x4ee187(0x1c4))/0x1+parseInt(_0x4ee187(0x2de))/0x2+parseInt(_0x4ee187(0x2e2))/0x3*(-parseInt(_0x4ee187(0x1e1))/0x4)+-parseInt(_0x4ee187(0x1fd))/0x5+-parseInt(_0x4ee187(0x1bc))/0x6*(parseInt(_0x4ee187(0x223))/0x7)+parseInt(_0x4ee187(0x26b))/0x8+parseInt(_0x4ee187(0x15a))/0x9;if(_0x1187c2===_0x33a40c)break;else _0x5c9e01['push'](_0x5c9e01['shift']());}catch(_0x4e3304){_0x5c9e01['push'](_0x5c9e01['shift']());}}}(_0x355b,0xa7fb6));import{UniverCollaborationClientPlugin as _0x34eeeb,CollaborationSocketService as _0x5a9af8}from'@univerjs-pro/collaboration-client';import{Disposable as _0x4ec822,DisposableCollection as _0x38118,toDisposable as _0x2eb048,IConfigService as _0x317810,DependentOn as _0x34537b,ILogService as _0xdc75dc,Inject as _0x4bbd18,Injector as _0x532971,Plugin as _0x2f671e,registerDependencies as _0x494ad9}from'@univerjs/core';import{ISocketService as _0x32cc5f,HTTPService as _0x55f92b}from'@univerjs/network';import{Observable as _0xaccc14,share as _0x10d169}from'rxjs';import _0x25ed0d from'events';import _0x28f4c5 from'https';import _0x215937 from'http';import _0x65fdc2 from'net';import _0x4eb6e5 from'tls';import _0x2bea3d from'crypto';import _0x4a50d3 from'stream';import _0x3c3a21 from'url';import _0x13bb1f from'zlib';import _0x50c0e9 from'buffer';import{ISnapshotServerService as _0x40f703}from'@univerjs-pro/collaboration';const Be='collaboration-client-node.config',Ft={'customHeaders':{}};function _0x355b(){const _0x1326ee=['url','startLoop','Module','acceptAsServer','stream','_registerDependencies','search','wasClean','_closeCode','indexOf','extensionName','GET','construct','invalid\x20status\x20code\x20','constructor','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','sha1','total-length','target','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','setNoDelay','onclose','WebSocket\x20is\x20not\x20open:\x20readyState\x20','WS_ERR_UNEXPECTED_MASK','isView','\x22\x20must\x20have\x20only\x20a\x20single\x20value','readUInt16BE','pong','sec-websocket-extensions','concurrency','_writableState','maxRedirects','getBlobData','_options','headers','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','dequeue','WS_ERR_INVALID_OPCODE','WS_ERR_UNEXPECTED_RSV_2_3','end','maskBuffer','_inflate','byteOffset','arraybuffer','consume','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','getInfo','_decompress','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','_closeTimer','sec-websocket-version','onStarting','skipUTF8Validation','cookie','Invalid\x20Sec-WebSocket-Protocol\x20header','addEventListener','allowSynchronousEvents','client','8452992cktSua','response','error','type','\x22:\x20','binaryType','entries','invalid\x20opcode\x200','push','freeze','kMessage','write','_socket','arrayBuffer','Sec-WebSocket-Protocol:\x20','_firstFragment','createDeflateRaw','createServer','_shouldEmitClose','sec-websocket-accept','keys','connect','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','Sec-WebSocket-Origin','clients','number','charCodeAt','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','concurrencyLimit','zlibInflateOptions','defaultPort','address','_injector','finish','_maskBuffer','apply','binary','isPaused','WS_ERR_INVALID_UTF8','parse','_final','_totalPayloadLength','data','haveLength','_bufferedBytes','redirect','string','_closeFrameReceived','customHeaders','_autoPong','path','_masked','fragments','port','Z_DEFAULT_WINDOWBITS','frame','HTTP/1.1\x20101\x20Switching\x20Protocols','handleProtocols','nextTick','Invalid\x20Upgrade\x20header','upgrade','The\x20server\x20is\x20not\x20running','FIN\x20must\x20be\x20set','handleEvent','_buffers','Opening\x20handshake\x20has\x20timed\x20out','getMask','readable','_removeListeners','fin','setHeader','from','pending','_closeFrameSent','WS_NO_BUFFER_UTIL','controlMessage','location','Server\x20sent\x20an\x20invalid\x20subprotocol','kRun','dispatch','opcode','defineProperty','_destroy','_errored','objectMode','href','createConnection','_doCreateSocket','Invalid\x20value\x20for\x20parameter\x20\x22','perMessageDeflate','endEmitted','removeAllListeners','base64','conclude','server_no_context_takeover','sendFrame','_payloadLength','once','_readyState','emit','Unsupported\x20protocol\x20version:\x20','normalizeParams','readOnly','kAborted','serverMaxWindowBits','permessage-deflate','Invalid\x20HTTP\x20method','origin','wss:','Unknown\x20parameter\x20\x22','shift','noServer','Blob','clientNoContextTakeover','2029972mafiou','MASK\x20must\x20be\x20set','values','abort','6JqXCFC','socket','_protocol','clientMaxWindowBits','callback','_skipUTF8Validation','bind','sec-websocket-origin','kWasClean','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','__esModule','_originalSecure','default','Sec-WebSocket-Extensions:\x20','update','_closeMessage','clientTracking','prototype','https:','value','Origin','get','CONNECTING','MASK\x20must\x20be\x20clear','getData','_redirects','The\x20URL\x20contains\x20a\x20fragment\x20identifier','allocUnsafe','size','options','_threshold','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','find','pathname','websocket','sec-websocket-protocol','replace','nodebuffer','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','_fin','registerHTTPInterceptor','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','setSocket','_readableState','kListener','auth','ws:','14266539nNuIPD','buffers','pow','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','Unexpected\x20end\x20of\x20input','reason','Upgrade','STATUS_CODES','add','\x22\x20subprotocol\x20is\x20duplicated','_fragmented','protocolVersion','getPayloadLength64','Invalid\x20URL:\x20','Invalid\x20Sec-WebSocket-Extensions\x20header','_mask','_messageLength','toStringTag','extensions','reset','species','File','getConfig','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','kByteLength','Max\x20payload\x20size\x20exceeded','_receiver','toString','format','object','ping','server','removeListener','errorEmitted','dataMessage','dispose','\x0d\x0a\x0d\x0a','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','_queue','has','status-code','concat','isInteger','_read','socketPath','createSocket','completeUpgrade','_opcode','env','needDrain','Parameter\x20\x22','invalid\x20UTF-8\x20sequence','params','setTimeout','getPayloadLength16','bufferedAmount','kType','call','host','cleanup','ws+unix:','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','_bufferedAmount','create','kCode','getOwnPropertyDescriptor','message','_fragments','_loop','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','wsClientError','Sec-WebSocket-Protocol','invalid\x20opcode\x20','client_no_context_takeover','isValidUTF8','shouldHandle','alloc','createError','http:','forEach','isArray','generateMask','offer','Sec-WebSocket-Extensions','close','_state','servername','client_max_window_bits','terminate','map','_paused','_errorEmitted','onerror','isIP','_extensions','Upgrade:\x20websocket','unmask','RSV1\x20must\x20be\x20clear','784482HANmJd','removeEventListener','OPEN','startsWith','handleUpgrade','_originalIpc','exports','_isServer','1246931CUSSfi','HTTP/1.1\x20','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','compress','listenerCount','text/plain','kReason','kTarget','_sender','_deflate','CLOSING','_maxPayload','threshold','cork','_binaryType','next','pipe','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','slice','username','delete','kIsForOnEventAttribute','send','verifyClient','_server','flush','maxPayload','readUInt32BE','join','1942404QLOxQt','Connection:\x20Upgrade','unexpected-response','_originalHostOrSocketPath','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','encrypted','includes','hash','CLOSED','The\x20\x22','function','authorized','_write','_no_context_takeover','_configService','Sec-WebSocket-Accept:\x20','code','acceptAsClient','onmessage','zlibDeflateOptions','_url','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','destroyed','writeUIntBE','emitClose','open','_allowSynchronousEvents','hostname','1138030TMROMD','Unexpected\x20character\x20at\x20index\x20','then','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','buffer','length','jobs','Basic\x20','set','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','digest','kDone','serverNoContextTakeover','writable','_compress','_req','request','protocol','listeners','_max_window_bits','_compressed','catch','toLowerCase','writeUInt16BE','WS_ERR_UNEXPECTED_RSV_1','password','decompress','timeout','split','readyState','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','\x20(supported\x20versions:\x20','byteLength','pause','enqueue','listening','finished','blob','28SdihxI','read','destroy','followRedirects','resume','hasOwnProperty','captureStackTrace','_generateMask','mask','test','connection','listen','WS_ERR_INVALID_CLOSE_CODE','server_max_window_bits'];_0x355b=function(){return _0x1326ee;};return _0x355b();}function jt(_0x50e053){const _0x31b386=_0x4097;return _0x50e053&&_0x50e053[_0x31b386(0x2ec)]&&Object['prototype'][_0x31b386(0x228)][_0x31b386(0x193)](_0x50e053,_0x31b386(0x2ee))?_0x50e053['default']:_0x50e053;}function ut(_0x31aa6b){const _0xdd2a51=_0x4097;if(Object['prototype'][_0xdd2a51(0x228)][_0xdd2a51(0x193)](_0x31aa6b,_0xdd2a51(0x2ec)))return _0x31aa6b;var _0x57b2e0=_0x31aa6b[_0xdd2a51(0x2ee)];if(typeof _0x57b2e0==_0xdd2a51(0x1eb)){var _0x1ba40b=function _0x1de641(){const _0x38a8b3=_0xdd2a51;return this instanceof _0x1de641?Reflect[_0x38a8b3(0x23d)](_0x57b2e0,arguments,this[_0x38a8b3(0x23f)]):_0x57b2e0[_0x38a8b3(0x28f)](this,arguments);};_0x1ba40b['prototype']=_0x57b2e0['prototype'];}else _0x1ba40b={};return Object[_0xdd2a51(0x2bd)](_0x1ba40b,_0xdd2a51(0x2ec),{'value':!0x0}),Object[_0xdd2a51(0x27f)](_0x31aa6b)[_0xdd2a51(0x1a9)](function(_0x30d217){const _0x5e32b3=_0xdd2a51;var _0x213a88=Object[_0x5e32b3(0x19b)](_0x31aa6b,_0x30d217);Object['defineProperty'](_0x1ba40b,_0x30d217,_0x213a88[_0x5e32b3(0x2f7)]?_0x213a88:{'enumerable':!0x0,'get':function(){return _0x31aa6b[_0x30d217];}});}),_0x1ba40b;}var te={'exports':{}},ge,Ye;function V(){const _0xda0733=_0x4097;if(Ye)return ge;Ye=0x1;const _0xc158e=[_0xda0733(0x307),_0xda0733(0x25c),_0xda0733(0x2a0)],_0x29119d=typeof Blob<'u';return _0x29119d&&_0xc158e[_0xda0733(0x273)]('blob'),ge={'BINARY_TYPES':_0xc158e,'EMPTY_BUFFER':Buffer[_0xda0733(0x1a6)](0x0),'GUID':_0xda0733(0x17f),'hasBlob':_0x29119d,'kForOnEventAttribute':Symbol(_0xda0733(0x1d9)),'kListener':Symbol(_0xda0733(0x30e)),'kStatusCode':Symbol(_0xda0733(0x182)),'kWebSocket':Symbol('websocket'),'NOOP':()=>{}},ge;}const Wt={},Gt=Object[_0xecd734(0x274)](Object[_0xecd734(0x2bd)]({'__proto__':null,'default':Wt},Symbol[_0xecd734(0x16b)],{'value':_0xecd734(0x233)})),Vt=ut(Gt);function _0x4097(_0x3ffa6d,_0x5a40fd){const _0x355ba3=_0x355b();return _0x4097=function(_0x40974d,_0x3df4c6){_0x40974d=_0x40974d-0x15a;let _0x46c0be=_0x355ba3[_0x40974d];return _0x46c0be;},_0x4097(_0x3ffa6d,_0x5a40fd);}var Ke;function ce(){const _0x153498=_0xecd734;if(Ke)return te['exports'];Ke=0x1;const {EMPTY_BUFFER:_0x539255}=V(),_0x19905d=Buffer[Symbol['species']];function _0x1e2696(_0x3edbf9,_0x2b4f7f){const _0x3a01b4=_0x4097;if(_0x3edbf9['length']===0x0)return _0x539255;if(_0x3edbf9[_0x3a01b4(0x202)]===0x1)return _0x3edbf9[0x0];const _0x6ba23b=Buffer['allocUnsafe'](_0x2b4f7f);let _0x4666df=0x0;for(let _0x3b7ffd=0x0;_0x3b7ffd<_0x3edbf9[_0x3a01b4(0x202)];_0x3b7ffd++){const _0x2f349a=_0x3edbf9[_0x3b7ffd];_0x6ba23b['set'](_0x2f349a,_0x4666df),_0x4666df+=_0x2f349a['length'];}return _0x4666df<_0x2b4f7f?new _0x19905d(_0x6ba23b['buffer'],_0x6ba23b[_0x3a01b4(0x25b)],_0x4666df):_0x6ba23b;}function _0x2c25b4(_0x12c54b,_0x258c84,_0x1a7843,_0x5b18d1,_0x4a2e8e){for(let _0xf665b5=0x0;_0xf665b5<_0x4a2e8e;_0xf665b5++)_0x1a7843[_0x5b18d1+_0xf665b5]=_0x12c54b[_0xf665b5]^_0x258c84[_0xf665b5&0x3];}function _0x2df170(_0x18b07a,_0x3b0567){for(let _0x3c9d45=0x0;_0x3c9d45<_0x18b07a['length'];_0x3c9d45++)_0x18b07a[_0x3c9d45]^=_0x3b0567[_0x3c9d45&0x3];}function _0x369bf3(_0x23676c){const _0x3c54d4=_0x4097;return _0x23676c[_0x3c54d4(0x202)]===_0x23676c[_0x3c54d4(0x201)][_0x3c54d4(0x21d)]?_0x23676c[_0x3c54d4(0x201)]:_0x23676c[_0x3c54d4(0x201)][_0x3c54d4(0x1d6)](_0x23676c[_0x3c54d4(0x25b)],_0x23676c[_0x3c54d4(0x25b)]+_0x23676c[_0x3c54d4(0x202)]);}function _0x358694(_0x12f456){const _0x1789b5=_0x4097;if(_0x358694[_0x1789b5(0x2d2)]=!0x0,Buffer['isBuffer'](_0x12f456))return _0x12f456;let _0x3e718d;return _0x12f456 instanceof ArrayBuffer?_0x3e718d=new _0x19905d(_0x12f456):ArrayBuffer[_0x1789b5(0x249)](_0x12f456)?_0x3e718d=new _0x19905d(_0x12f456[_0x1789b5(0x201)],_0x12f456[_0x1789b5(0x25b)],_0x12f456[_0x1789b5(0x21d)]):(_0x3e718d=Buffer[_0x1789b5(0x2b3)](_0x12f456),_0x358694[_0x1789b5(0x2d2)]=!0x1),_0x3e718d;}if(te['exports']={'concat':_0x1e2696,'mask':_0x2c25b4,'toArrayBuffer':_0x369bf3,'toBuffer':_0x358694,'unmask':_0x2df170},!process[_0x153498(0x18a)][_0x153498(0x2b6)])try{const _0x97be96=Vt;te[_0x153498(0x1c2)][_0x153498(0x22b)]=function(_0xda464,_0x3466e4,_0x259f88,_0x2c03c0,_0xdc346e){_0xdc346e<0x30?_0x2c25b4(_0xda464,_0x3466e4,_0x259f88,_0x2c03c0,_0xdc346e):_0x97be96['mask'](_0xda464,_0x3466e4,_0x259f88,_0x2c03c0,_0xdc346e);},te[_0x153498(0x1c2)][_0x153498(0x1ba)]=function(_0x536cea,_0x3adc0d){const _0x4bf587=_0x153498;_0x536cea[_0x4bf587(0x202)]<0x20?_0x2df170(_0x536cea,_0x3adc0d):_0x97be96[_0x4bf587(0x1ba)](_0x536cea,_0x3adc0d);};}catch{}return te['exports'];}var ye,Xe;function qt(){const _0x17d00d=_0xecd734;if(Xe)return ye;Xe=0x1;const _0x1c33da=Symbol(_0x17d00d(0x208)),_0x525ca0=Symbol(_0x17d00d(0x2ba));class _0x51035c{constructor(_0x27b61b){const _0x504cc6=_0x17d00d;this[_0x1c33da]=()=>{const _0x15ad83=_0x4097;this[_0x15ad83(0x2b4)]--,this[_0x525ca0]();},this[_0x504cc6(0x24e)]=_0x27b61b||0x1/0x0,this['jobs']=[],this[_0x504cc6(0x2b4)]=0x0;}[_0x17d00d(0x162)](_0x279350){const _0x4885fc=_0x17d00d;this[_0x4885fc(0x203)][_0x4885fc(0x273)](_0x279350),this[_0x525ca0]();}[_0x525ca0](){const _0x3342a2=_0x17d00d;if(this[_0x3342a2(0x2b4)]!==this[_0x3342a2(0x24e)]&&this[_0x3342a2(0x203)][_0x3342a2(0x202)]){const _0x26f41a=this['jobs'][_0x3342a2(0x2da)]();this['pending']++,_0x26f41a(this[_0x1c33da]);}}}return ye=_0x51035c,ye;}var ve,Ze;function he(){const _0x36deba=_0xecd734;if(Ze)return ve;Ze=0x1;const _0x3f2651=_0x13bb1f,_0x43eb37=ce(),_0x50e77d=qt(),{kStatusCode:_0x4bf36d}=V(),_0x1aaa98=Buffer[Symbol[_0x36deba(0x16e)]],_0x1a17ef=Buffer[_0x36deba(0x2b3)]([0x0,0x0,0xff,0xff]),_0x1f008f=Symbol(_0x36deba(0x2d5)),_0x334011=Symbol(_0x36deba(0x242)),_0x578187=Symbol(_0x36deba(0x2e6)),_0x352e26=Symbol(_0x36deba(0x15b)),_0x22f80d=Symbol(_0x36deba(0x26d));let _0x20d11d;class _0x5539cc{constructor(_0x13bf1e,_0x6a6ff,_0x30edf7){const _0x44881b=_0x36deba;if(this[_0x44881b(0x1cf)]=_0x30edf7|0x0,this[_0x44881b(0x252)]=_0x13bf1e||{},this[_0x44881b(0x300)]=this[_0x44881b(0x252)][_0x44881b(0x1d0)]!==void 0x0?this[_0x44881b(0x252)][_0x44881b(0x1d0)]:0x400,this['_isServer']=!!_0x6a6ff,this[_0x44881b(0x1cd)]=null,this['_inflate']=null,this['params']=null,!_0x20d11d){const _0x50944a=this[_0x44881b(0x252)]['concurrencyLimit']!==void 0x0?this[_0x44881b(0x252)][_0x44881b(0x288)]:0xa;_0x20d11d=new _0x50e77d(_0x50944a);}}static get[_0x36deba(0x23b)](){const _0x3ba2d8=_0x36deba;return _0x3ba2d8(0x2d5);}[_0x36deba(0x1ac)](){const _0x2e1140=_0x36deba,_0x4b8151={};return this[_0x2e1140(0x252)]['serverNoContextTakeover']&&(_0x4b8151[_0x2e1140(0x2ca)]=!0x0),this['_options'][_0x2e1140(0x2dd)]&&(_0x4b8151[_0x2e1140(0x1a3)]=!0x0),this[_0x2e1140(0x252)][_0x2e1140(0x2d4)]&&(_0x4b8151['server_max_window_bits']=this[_0x2e1140(0x252)][_0x2e1140(0x2d4)]),this[_0x2e1140(0x252)][_0x2e1140(0x2e5)]?_0x4b8151[_0x2e1140(0x1b1)]=this['_options']['clientMaxWindowBits']:this[_0x2e1140(0x252)][_0x2e1140(0x2e5)]==null&&(_0x4b8151[_0x2e1140(0x1b1)]=!0x0),_0x4b8151;}['accept'](_0x272e9d){const _0x563e66=_0x36deba;return _0x272e9d=this[_0x563e66(0x2d1)](_0x272e9d),this[_0x563e66(0x18e)]=this[_0x563e66(0x1c3)]?this['acceptAsServer'](_0x272e9d):this[_0x563e66(0x1f2)](_0x272e9d),this[_0x563e66(0x18e)];}['cleanup'](){const _0x144c5b=_0x36deba;if(this[_0x144c5b(0x25a)]&&(this[_0x144c5b(0x25a)][_0x144c5b(0x1ae)](),this['_inflate']=null),this['_deflate']){const _0x29ea50=this[_0x144c5b(0x1cd)][_0x578187];this[_0x144c5b(0x1cd)]['close'](),this[_0x144c5b(0x1cd)]=null,_0x29ea50&&_0x29ea50(new Error(_0x144c5b(0x281)));}}[_0x36deba(0x234)](_0x4f7707){const _0x5a9bfd=_0x36deba,_0x3fc455=this[_0x5a9bfd(0x252)],_0x46b84b=_0x4f7707[_0x5a9bfd(0x302)](_0x1d7dc1=>!(_0x3fc455[_0x5a9bfd(0x209)]===!0x1&&_0x1d7dc1['server_no_context_takeover']||_0x1d7dc1[_0x5a9bfd(0x230)]&&(_0x3fc455['serverMaxWindowBits']===!0x1||typeof _0x3fc455[_0x5a9bfd(0x2d4)]==_0x5a9bfd(0x285)&&_0x3fc455[_0x5a9bfd(0x2d4)]>_0x1d7dc1[_0x5a9bfd(0x230)])||typeof _0x3fc455[_0x5a9bfd(0x2e5)]==_0x5a9bfd(0x285)&&!_0x1d7dc1[_0x5a9bfd(0x1b1)]));if(!_0x46b84b)throw new Error(_0x5a9bfd(0x1f6));return _0x3fc455[_0x5a9bfd(0x209)]&&(_0x46b84b[_0x5a9bfd(0x2ca)]=!0x0),_0x3fc455[_0x5a9bfd(0x2dd)]&&(_0x46b84b[_0x5a9bfd(0x1a3)]=!0x0),typeof _0x3fc455[_0x5a9bfd(0x2d4)]==_0x5a9bfd(0x285)&&(_0x46b84b[_0x5a9bfd(0x230)]=_0x3fc455[_0x5a9bfd(0x2d4)]),typeof _0x3fc455[_0x5a9bfd(0x2e5)]==_0x5a9bfd(0x285)?_0x46b84b['client_max_window_bits']=_0x3fc455['clientMaxWindowBits']:(_0x46b84b[_0x5a9bfd(0x1b1)]===!0x0||_0x3fc455[_0x5a9bfd(0x2e5)]===!0x1)&&delete _0x46b84b[_0x5a9bfd(0x1b1)],_0x46b84b;}[_0x36deba(0x1f2)](_0x57e448){const _0x54711f=_0x36deba,_0x2c0a87=_0x57e448[0x0];if(this[_0x54711f(0x252)][_0x54711f(0x2dd)]===!0x1&&_0x2c0a87[_0x54711f(0x1a3)])throw new Error(_0x54711f(0x21b));if(!_0x2c0a87[_0x54711f(0x1b1)])typeof this[_0x54711f(0x252)][_0x54711f(0x2e5)]==_0x54711f(0x285)&&(_0x2c0a87[_0x54711f(0x1b1)]=this[_0x54711f(0x252)][_0x54711f(0x2e5)]);else{if(this[_0x54711f(0x252)]['clientMaxWindowBits']===!0x1||typeof this[_0x54711f(0x252)][_0x54711f(0x2e5)]==_0x54711f(0x285)&&_0x2c0a87[_0x54711f(0x1b1)]>this[_0x54711f(0x252)][_0x54711f(0x2e5)])throw new Error(_0x54711f(0x19f));}return _0x2c0a87;}[_0x36deba(0x2d1)](_0x2d10b1){const _0x5e0ba9=_0x36deba;return _0x2d10b1[_0x5e0ba9(0x1a9)](_0x42dfee=>{const _0x20a6e0=_0x5e0ba9;Object[_0x20a6e0(0x27f)](_0x42dfee)[_0x20a6e0(0x1a9)](_0x3f2862=>{const _0x3474ca=_0x20a6e0;let _0x3ad99e=_0x42dfee[_0x3f2862];if(_0x3ad99e[_0x3474ca(0x202)]>0x1)throw new Error(_0x3474ca(0x18c)+_0x3f2862+_0x3474ca(0x24a));if(_0x3ad99e=_0x3ad99e[0x0],_0x3f2862===_0x3474ca(0x1b1)){if(_0x3ad99e!==!0x0){const _0x316bc3=+_0x3ad99e;if(!Number[_0x3474ca(0x184)](_0x316bc3)||_0x316bc3<0x8||_0x316bc3>0xf)throw new TypeError(_0x3474ca(0x2c4)+_0x3f2862+_0x3474ca(0x26f)+_0x3ad99e);_0x3ad99e=_0x316bc3;}else{if(!this[_0x3474ca(0x1c3)])throw new TypeError(_0x3474ca(0x2c4)+_0x3f2862+_0x3474ca(0x26f)+_0x3ad99e);}}else{if(_0x3f2862===_0x3474ca(0x230)){const _0x2b7fbf=+_0x3ad99e;if(!Number['isInteger'](_0x2b7fbf)||_0x2b7fbf<0x8||_0x2b7fbf>0xf)throw new TypeError(_0x3474ca(0x2c4)+_0x3f2862+_0x3474ca(0x26f)+_0x3ad99e);_0x3ad99e=_0x2b7fbf;}else{if(_0x3f2862===_0x3474ca(0x1a3)||_0x3f2862===_0x3474ca(0x2ca)){if(_0x3ad99e!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x3f2862+'\x22:\x20'+_0x3ad99e);}else throw new Error(_0x3474ca(0x2d9)+_0x3f2862+'\x22');}}_0x42dfee[_0x3f2862]=_0x3ad99e;});}),_0x2d10b1;}['decompress'](_0x38f7aa,_0x17544f,_0x579c45){_0x20d11d['add'](_0x4a3a01=>{this['_decompress'](_0x38f7aa,_0x17544f,(_0x5d6383,_0x52e02a)=>{_0x4a3a01(),_0x579c45(_0x5d6383,_0x52e02a);});});}['compress'](_0x5009db,_0x2863c1,_0x443852){_0x20d11d['add'](_0x1c7955=>{const _0xe414e=_0x4097;this[_0xe414e(0x20b)](_0x5009db,_0x2863c1,(_0x4fe47c,_0x945248)=>{_0x1c7955(),_0x443852(_0x4fe47c,_0x945248);});});}[_0x36deba(0x260)](_0x178c99,_0x503661,_0x47a5fb){const _0x555359=_0x36deba,_0x1f2e7f=this[_0x555359(0x1c3)]?_0x555359(0x26a):_0x555359(0x179);if(!this[_0x555359(0x25a)]){const _0x2155f7=_0x1f2e7f+_0x555359(0x210),_0x56d88f=typeof this[_0x555359(0x18e)][_0x2155f7]!='number'?_0x3f2651[_0x555359(0x2a2)]:this[_0x555359(0x18e)][_0x2155f7];this[_0x555359(0x25a)]=_0x3f2651['createInflateRaw']({...this[_0x555359(0x252)][_0x555359(0x289)],'windowBits':_0x56d88f}),this[_0x555359(0x25a)][_0x1f008f]=this,this[_0x555359(0x25a)][_0x334011]=0x0,this[_0x555359(0x25a)][_0x352e26]=[],this[_0x555359(0x25a)]['on']('error',_0x570c93),this['_inflate']['on']('data',_0x52436f);}this['_inflate'][_0x578187]=_0x47a5fb,this[_0x555359(0x25a)][_0x555359(0x276)](_0x178c99),_0x503661&&this[_0x555359(0x25a)][_0x555359(0x276)](_0x1a17ef),this[_0x555359(0x25a)][_0x555359(0x1dd)](()=>{const _0x154461=_0x555359,_0x39c71e=this[_0x154461(0x25a)][_0x22f80d];if(_0x39c71e){this[_0x154461(0x25a)][_0x154461(0x1ae)](),this['_inflate']=null,_0x47a5fb(_0x39c71e);return;}const _0x4b2368=_0x43eb37[_0x154461(0x183)](this[_0x154461(0x25a)][_0x352e26],this[_0x154461(0x25a)][_0x334011]);this[_0x154461(0x25a)][_0x154461(0x30d)][_0x154461(0x2c6)]?(this[_0x154461(0x25a)][_0x154461(0x1ae)](),this[_0x154461(0x25a)]=null):(this[_0x154461(0x25a)][_0x334011]=0x0,this[_0x154461(0x25a)][_0x352e26]=[],_0x503661&&this['params'][_0x1f2e7f+_0x154461(0x1ee)]&&this[_0x154461(0x25a)][_0x154461(0x16d)]()),_0x47a5fb(null,_0x4b2368);});}['_compress'](_0x5a5f38,_0x271780,_0xe385da){const _0x1ccd7d=_0x36deba,_0x5583b2=this['_isServer']?_0x1ccd7d(0x179):_0x1ccd7d(0x26a);if(!this[_0x1ccd7d(0x1cd)]){const _0x193724=_0x5583b2+'_max_window_bits',_0x1bc78e=typeof this[_0x1ccd7d(0x18e)][_0x193724]!='number'?_0x3f2651[_0x1ccd7d(0x2a2)]:this[_0x1ccd7d(0x18e)][_0x193724];this[_0x1ccd7d(0x1cd)]=_0x3f2651[_0x1ccd7d(0x27b)]({...this[_0x1ccd7d(0x252)][_0x1ccd7d(0x1f4)],'windowBits':_0x1bc78e}),this[_0x1ccd7d(0x1cd)][_0x334011]=0x0,this[_0x1ccd7d(0x1cd)][_0x352e26]=[],this[_0x1ccd7d(0x1cd)]['on'](_0x1ccd7d(0x296),_0x25a577);}this[_0x1ccd7d(0x1cd)][_0x578187]=_0xe385da,this['_deflate'][_0x1ccd7d(0x276)](_0x5a5f38),this[_0x1ccd7d(0x1cd)][_0x1ccd7d(0x1dd)](_0x3f2651['Z_SYNC_FLUSH'],()=>{const _0x5651de=_0x1ccd7d;if(!this[_0x5651de(0x1cd)])return;let _0x59729a=_0x43eb37[_0x5651de(0x183)](this[_0x5651de(0x1cd)][_0x352e26],this[_0x5651de(0x1cd)][_0x334011]);_0x271780&&(_0x59729a=new _0x1aaa98(_0x59729a[_0x5651de(0x201)],_0x59729a[_0x5651de(0x25b)],_0x59729a[_0x5651de(0x202)]-0x4)),this[_0x5651de(0x1cd)][_0x578187]=null,this[_0x5651de(0x1cd)][_0x334011]=0x0,this[_0x5651de(0x1cd)][_0x352e26]=[],_0x271780&&this['params'][_0x5583b2+_0x5651de(0x1ee)]&&this[_0x5651de(0x1cd)][_0x5651de(0x16d)](),_0xe385da(null,_0x59729a);});}}ve=_0x5539cc;function _0x25a577(_0x3902e5){const _0x30ec36=_0x36deba;this[_0x352e26][_0x30ec36(0x273)](_0x3902e5),this[_0x334011]+=_0x3902e5[_0x30ec36(0x202)];}function _0x52436f(_0x30593a){const _0x12441f=_0x36deba;if(this[_0x334011]+=_0x30593a[_0x12441f(0x202)],this[_0x1f008f][_0x12441f(0x1cf)]<0x1||this[_0x334011]<=this[_0x1f008f][_0x12441f(0x1cf)]){this[_0x352e26]['push'](_0x30593a);return;}this[_0x22f80d]=new RangeError(_0x12441f(0x173)),this[_0x22f80d][_0x12441f(0x1f1)]=_0x12441f(0x200),this[_0x22f80d][_0x4bf36d]=0x3f1,this[_0x12441f(0x17a)](_0x12441f(0x296),_0x52436f),this[_0x12441f(0x16d)]();}function _0x570c93(_0x280ea5){const _0x4c748a=_0x36deba;if(this[_0x1f008f][_0x4c748a(0x25a)]=null,this[_0x22f80d]){this[_0x578187](this[_0x22f80d]);return;}_0x280ea5[_0x4bf36d]=0x3ef,this[_0x578187](_0x280ea5);}return ve;}var re={'exports':{}};const Ht={},zt=Object['freeze'](Object[_0xecd734(0x2bd)]({'__proto__':null,'default':Ht},Symbol[_0xecd734(0x16b)],{'value':_0xecd734(0x233)})),Yt=ut(zt);var Qe;function ne(){const _0x5b31e6=_0xecd734;if(Qe)return re[_0x5b31e6(0x1c2)];Qe=0x1;const {isUtf8:_0x417eba}=_0x50c0e9,{hasBlob:_0xc58b09}=V(),_0x55ea64=[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 _0x5ee96e(_0x53bc0b){return _0x53bc0b>=0x3e8&&_0x53bc0b<=0x3f6&&_0x53bc0b!==0x3ec&&_0x53bc0b!==0x3ed&&_0x53bc0b!==0x3ee||_0x53bc0b>=0xbb8&&_0x53bc0b<=0x1387;}function _0xf038bb(_0x2d9ee2){const _0x23ee24=_0x5b31e6,_0x36776d=_0x2d9ee2[_0x23ee24(0x202)];let _0x528ff4=0x0;for(;_0x528ff4<_0x36776d;)if((_0x2d9ee2[_0x528ff4]&0x80)===0x0)_0x528ff4++;else{if((_0x2d9ee2[_0x528ff4]&0xe0)===0xc0){if(_0x528ff4+0x1===_0x36776d||(_0x2d9ee2[_0x528ff4+0x1]&0xc0)!==0x80||(_0x2d9ee2[_0x528ff4]&0xfe)===0xc0)return!0x1;_0x528ff4+=0x2;}else{if((_0x2d9ee2[_0x528ff4]&0xf0)===0xe0){if(_0x528ff4+0x2>=_0x36776d||(_0x2d9ee2[_0x528ff4+0x1]&0xc0)!==0x80||(_0x2d9ee2[_0x528ff4+0x2]&0xc0)!==0x80||_0x2d9ee2[_0x528ff4]===0xe0&&(_0x2d9ee2[_0x528ff4+0x1]&0xe0)===0x80||_0x2d9ee2[_0x528ff4]===0xed&&(_0x2d9ee2[_0x528ff4+0x1]&0xe0)===0xa0)return!0x1;_0x528ff4+=0x3;}else{if((_0x2d9ee2[_0x528ff4]&0xf8)===0xf0){if(_0x528ff4+0x3>=_0x36776d||(_0x2d9ee2[_0x528ff4+0x1]&0xc0)!==0x80||(_0x2d9ee2[_0x528ff4+0x2]&0xc0)!==0x80||(_0x2d9ee2[_0x528ff4+0x3]&0xc0)!==0x80||_0x2d9ee2[_0x528ff4]===0xf0&&(_0x2d9ee2[_0x528ff4+0x1]&0xf0)===0x80||_0x2d9ee2[_0x528ff4]===0xf4&&_0x2d9ee2[_0x528ff4+0x1]>0x8f||_0x2d9ee2[_0x528ff4]>0xf4)return!0x1;_0x528ff4+=0x4;}else return!0x1;}}}return!0x0;}function _0x4010ec(_0x21606f){const _0x5936b3=_0x5b31e6;return _0xc58b09&&typeof _0x21606f==_0x5936b3(0x177)&&typeof _0x21606f['arrayBuffer']==_0x5936b3(0x1eb)&&typeof _0x21606f[_0x5936b3(0x26e)]==_0x5936b3(0x29a)&&typeof _0x21606f[_0x5936b3(0x235)]==_0x5936b3(0x1eb)&&(_0x21606f[Symbol[_0x5936b3(0x16b)]]===_0x5936b3(0x2dc)||_0x21606f[Symbol[_0x5936b3(0x16b)]]===_0x5936b3(0x16f));}if(re[_0x5b31e6(0x1c2)]={'isBlob':_0x4010ec,'isValidStatusCode':_0x5ee96e,'isValidUTF8':_0xf038bb,'tokenChars':_0x55ea64},_0x417eba)re[_0x5b31e6(0x1c2)][_0x5b31e6(0x1a4)]=function(_0x554bcb){const _0x3936ca=_0x5b31e6;return _0x554bcb[_0x3936ca(0x202)]<0x18?_0xf038bb(_0x554bcb):_0x417eba(_0x554bcb);};else{if(!process[_0x5b31e6(0x18a)]['WS_NO_UTF_8_VALIDATE'])try{const _0x4dd15f=Yt;re[_0x5b31e6(0x1c2)]['isValidUTF8']=function(_0xd94eed){const _0x5148ac=_0x5b31e6;return _0xd94eed[_0x5148ac(0x202)]<0x20?_0xf038bb(_0xd94eed):_0x4dd15f(_0xd94eed);};}catch{}}return re[_0x5b31e6(0x1c2)];}var Se,Je;function dt(){const _0x57abce=_0xecd734;if(Je)return Se;Je=0x1;const {Writable:_0x26d30e}=_0x4a50d3,_0x5b7665=he(),{BINARY_TYPES:_0x3724c0,EMPTY_BUFFER:_0x807d52,kStatusCode:_0x3a9e77,kWebSocket:_0x2e52d4}=V(),{concat:_0x20ff55,toArrayBuffer:_0x35b6fd,unmask:_0x223f98}=ce(),{isValidStatusCode:_0x5c4944,isValidUTF8:_0xbfd8f6}=ne(),_0x2145d4=Buffer[Symbol['species']],_0x3913a6=0x0,_0x46140c=0x1,_0x195420=0x2,_0xe647eb=0x3,_0x497bc7=0x4,_0x59f40f=0x5,_0xea2fe5=0x6;class _0x37a97b extends _0x26d30e{constructor(_0x3044a4={}){const _0x2009bf=_0x4097;super(),this[_0x2009bf(0x1fb)]=_0x3044a4[_0x2009bf(0x269)]!==void 0x0?_0x3044a4[_0x2009bf(0x269)]:!0x0,this['_binaryType']=_0x3044a4[_0x2009bf(0x270)]||_0x3724c0[0x0],this[_0x2009bf(0x1b8)]=_0x3044a4[_0x2009bf(0x16c)]||{},this[_0x2009bf(0x1c3)]=!!_0x3044a4['isServer'],this[_0x2009bf(0x1cf)]=_0x3044a4[_0x2009bf(0x1de)]|0x0,this[_0x2009bf(0x2e7)]=!!_0x3044a4['skipUTF8Validation'],this[_0x2e52d4]=void 0x0,this[_0x2009bf(0x298)]=0x0,this[_0x2009bf(0x2ac)]=[],this[_0x2009bf(0x211)]=!0x1,this[_0x2009bf(0x2cc)]=0x0,this[_0x2009bf(0x169)]=void 0x0,this['_fragmented']=0x0,this[_0x2009bf(0x29f)]=!0x1,this[_0x2009bf(0x309)]=!0x1,this[_0x2009bf(0x189)]=0x0,this[_0x2009bf(0x295)]=0x0,this[_0x2009bf(0x16a)]=0x0,this['_fragments']=[],this[_0x2009bf(0x2bf)]=!0x1,this[_0x2009bf(0x19e)]=!0x1,this[_0x2009bf(0x1af)]=_0x3913a6;}[_0x57abce(0x1ed)](_0x5156dd,_0x513fea,_0x2388bf){const _0x24508a=_0x57abce;if(this[_0x24508a(0x189)]===0x8&&this['_state']==_0x3913a6)return _0x2388bf();this['_bufferedBytes']+=_0x5156dd['length'],this[_0x24508a(0x2ac)]['push'](_0x5156dd),this[_0x24508a(0x232)](_0x2388bf);}[_0x57abce(0x25d)](_0x589da9){const _0x50436b=_0x57abce;if(this[_0x50436b(0x298)]-=_0x589da9,_0x589da9===this['_buffers'][0x0]['length'])return this[_0x50436b(0x2ac)][_0x50436b(0x2da)]();if(_0x589da9<this[_0x50436b(0x2ac)][0x0][_0x50436b(0x202)]){const _0x5c01a7=this[_0x50436b(0x2ac)][0x0];return this[_0x50436b(0x2ac)][0x0]=new _0x2145d4(_0x5c01a7['buffer'],_0x5c01a7[_0x50436b(0x25b)]+_0x589da9,_0x5c01a7['length']-_0x589da9),new _0x2145d4(_0x5c01a7[_0x50436b(0x201)],_0x5c01a7['byteOffset'],_0x589da9);}const _0x5b7297=Buffer[_0x50436b(0x2fd)](_0x589da9);do{const _0x28e699=this[_0x50436b(0x2ac)][0x0],_0x3eaf4a=_0x5b7297[_0x50436b(0x202)]-_0x589da9;_0x589da9>=_0x28e699[_0x50436b(0x202)]?_0x5b7297[_0x50436b(0x205)](this[_0x50436b(0x2ac)][_0x50436b(0x2da)](),_0x3eaf4a):(_0x5b7297[_0x50436b(0x205)](new Uint8Array(_0x28e699[_0x50436b(0x201)],_0x28e699['byteOffset'],_0x589da9),_0x3eaf4a),this[_0x50436b(0x2ac)][0x0]=new _0x2145d4(_0x28e699[_0x50436b(0x201)],_0x28e699[_0x50436b(0x25b)]+_0x589da9,_0x28e699[_0x50436b(0x202)]-_0x589da9)),_0x589da9-=_0x28e699[_0x50436b(0x202)];}while(_0x589da9>0x0);return _0x5b7297;}[_0x57abce(0x232)](_0x2f87fb){const _0x381a89=_0x57abce;this['_loop']=!0x0;do switch(this[_0x381a89(0x1af)]){case _0x3913a6:this[_0x381a89(0x25f)](_0x2f87fb);break;case _0x46140c:this['getPayloadLength16'](_0x2f87fb);break;case _0x195420:this[_0x381a89(0x166)](_0x2f87fb);break;case _0xe647eb:this[_0x381a89(0x2ae)]();break;case _0x497bc7:this['getData'](_0x2f87fb);break;case _0x59f40f:case _0xea2fe5:this[_0x381a89(0x19e)]=!0x1;return;}while(this[_0x381a89(0x19e)]);this[_0x381a89(0x2bf)]||_0x2f87fb();}[_0x57abce(0x25f)](_0x3605c6){const _0x5edf43=_0x57abce;if(this['_bufferedBytes']<0x2){this[_0x5edf43(0x19e)]=!0x1;return;}const _0x2c5447=this['consume'](0x2);if((_0x2c5447[0x0]&0x30)!==0x0){const _0x553d48=this['createError'](RangeError,_0x5edf43(0x2eb),!0x0,0x3ea,_0x5edf43(0x257));_0x3605c6(_0x553d48);return;}const _0x1975d7=(_0x2c5447[0x0]&0x40)===0x40;if(_0x1975d7&&!this[_0x5edf43(0x1b8)][_0x5b7665[_0x5edf43(0x23b)]]){const _0x1e11ee=this[_0x5edf43(0x1a7)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x3605c6(_0x1e11ee);return;}if(this['_fin']=(_0x2c5447[0x0]&0x80)===0x80,this['_opcode']=_0x2c5447[0x0]&0xf,this[_0x5edf43(0x2cc)]=_0x2c5447[0x1]&0x7f,this[_0x5edf43(0x189)]===0x0){if(_0x1975d7){const _0x54d7b4=this[_0x5edf43(0x1a7)](RangeError,_0x5edf43(0x1bb),!0x0,0x3ea,_0x5edf43(0x215));_0x3605c6(_0x54d7b4);return;}if(!this[_0x5edf43(0x164)]){const _0x365418=this[_0x5edf43(0x1a7)](RangeError,_0x5edf43(0x272),!0x0,0x3ea,_0x5edf43(0x256));_0x3605c6(_0x365418);return;}this[_0x5edf43(0x189)]=this[_0x5edf43(0x164)];}else{if(this[_0x5edf43(0x189)]===0x1||this[_0x5edf43(0x189)]===0x2){if(this[_0x5edf43(0x164)]){const _0x22c16d=this[_0x5edf43(0x1a7)](RangeError,_0x5edf43(0x1a2)+this[_0x5edf43(0x189)],!0x0,0x3ea,_0x5edf43(0x256));_0x3605c6(_0x22c16d);return;}this[_0x5edf43(0x211)]=_0x1975d7;}else{if(this[_0x5edf43(0x189)]>0x7&&this[_0x5edf43(0x189)]<0xb){if(!this[_0x5edf43(0x309)]){const _0x5bcfc0=this[_0x5edf43(0x1a7)](RangeError,_0x5edf43(0x2aa),!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0x3605c6(_0x5bcfc0);return;}if(_0x1975d7){const _0x492387=this[_0x5edf43(0x1a7)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x5edf43(0x215));_0x3605c6(_0x492387);return;}if(this[_0x5edf43(0x2cc)]>0x7d||this['_opcode']===0x8&&this[_0x5edf43(0x2cc)]===0x1){const _0x28a4a6=this[_0x5edf43(0x1a7)](RangeError,'invalid\x20payload\x20length\x20'+this[_0x5edf43(0x2cc)],!0x0,0x3ea,_0x5edf43(0x254));_0x3605c6(_0x28a4a6);return;}}else{const _0x834218=this[_0x5edf43(0x1a7)](RangeError,'invalid\x20opcode\x20'+this[_0x5edf43(0x189)],!0x0,0x3ea,_0x5edf43(0x256));_0x3605c6(_0x834218);return;}}}if(!this[_0x5edf43(0x309)]&&!this['_fragmented']&&(this[_0x5edf43(0x164)]=this['_opcode']),this['_masked']=(_0x2c5447[0x1]&0x80)===0x80,this[_0x5edf43(0x1c3)]){if(!this[_0x5edf43(0x29f)]){const _0x504cc0=this[_0x5edf43(0x1a7)](RangeError,_0x5edf43(0x2df),!0x0,0x3ea,'WS_ERR_EXPECTED_MASK');_0x3605c6(_0x504cc0);return;}}else{if(this[_0x5edf43(0x29f)]){const _0x21e2a5=this[_0x5edf43(0x1a7)](RangeError,_0x5edf43(0x2f9),!0x0,0x3ea,_0x5edf43(0x248));_0x3605c6(_0x21e2a5);return;}}this[_0x5edf43(0x2cc)]===0x7e?this['_state']=_0x46140c:this[_0x5edf43(0x2cc)]===0x7f?this[_0x5edf43(0x1af)]=_0x195420:this['haveLength'](_0x3605c6);}[_0x57abce(0x190)](_0x26dd3c){const _0x3ea941=_0x57abce;if(this[_0x3ea941(0x298)]<0x2){this[_0x3ea941(0x19e)]=!0x1;return;}this[_0x3ea941(0x2cc)]=this[_0x3ea941(0x25d)](0x2)[_0x3ea941(0x24b)](0x0),this['haveLength'](_0x26dd3c);}[_0x57abce(0x166)](_0x51e8c3){const _0x471479=_0x57abce;if(this[_0x471479(0x298)]<0x8){this[_0x471479(0x19e)]=!0x1;return;}const _0x9d59c2=this[_0x471479(0x25d)](0x8),_0x42fc6c=_0x9d59c2[_0x471479(0x1df)](0x0);if(_0x42fc6c>Math['pow'](0x2,0x15)-0x1){const _0x385687=this[_0x471479(0x1a7)](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH');_0x51e8c3(_0x385687);return;}this[_0x471479(0x2cc)]=_0x42fc6c*Math[_0x471479(0x15c)](0x2,0x20)+_0x9d59c2[_0x471479(0x1df)](0x4),this[_0x471479(0x297)](_0x51e8c3);}['haveLength'](_0x407fcb){const _0x32a3da=_0x57abce;if(this['_payloadLength']&&this['_opcode']<0x8&&(this[_0x32a3da(0x295)]+=this[_0x32a3da(0x2cc)],this[_0x32a3da(0x295)]>this[_0x32a3da(0x1cf)]&&this[_0x32a3da(0x1cf)]>0x0)){const _0x59263b=this[_0x32a3da(0x1a7)](RangeError,_0x32a3da(0x173),!0x1,0x3f1,_0x32a3da(0x200));_0x407fcb(_0x59263b);return;}this[_0x32a3da(0x29f)]?this[_0x32a3da(0x1af)]=_0xe647eb:this[_0x32a3da(0x1af)]=_0x497bc7;}[_0x57abce(0x2ae)](){const _0x3aef23=_0x57abce;if(this[_0x3aef23(0x298)]<0x4){this[_0x3aef23(0x19e)]=!0x1;return;}this['_mask']=this[_0x3aef23(0x25d)](0x4),this[_0x3aef23(0x1af)]=_0x497bc7;}[_0x57abce(0x2fa)](_0x5076bc){const _0x3cdb9c=_0x57abce;let _0x29bed0=_0x807d52;if(this['_payloadLength']){if(this[_0x3cdb9c(0x298)]<this[_0x3cdb9c(0x2cc)]){this[_0x3cdb9c(0x19e)]=!0x1;return;}_0x29bed0=this[_0x3cdb9c(0x25d)](this[_0x3cdb9c(0x2cc)]),this[_0x3cdb9c(0x29f)]&&(this[_0x3cdb9c(0x169)][0x0]|this[_0x3cdb9c(0x169)][0x1]|this[_0x3cdb9c(0x169)][0x2]|this[_0x3cdb9c(0x169)][0x3])!==0x0&&_0x223f98(_0x29bed0,this[_0x3cdb9c(0x169)]);}if(this[_0x3cdb9c(0x189)]>0x7){this['controlMessage'](_0x29bed0,_0x5076bc);return;}if(this['_compressed']){this[_0x3cdb9c(0x1af)]=_0x59f40f,this[_0x3cdb9c(0x217)](_0x29bed0,_0x5076bc);return;}_0x29bed0[_0x3cdb9c(0x202)]&&(this[_0x3cdb9c(0x16a)]=this[_0x3cdb9c(0x295)],this[_0x3cdb9c(0x19d)][_0x3cdb9c(0x273)](_0x29bed0)),this['dataMessage'](_0x5076bc);}['decompress'](_0xfa082c,_0x5c4702){const _0x102eb5=_0x57abce;this['_extensions'][_0x5b7665['extensionName']][_0x102eb5(0x217)](_0xfa082c,this[_0x102eb5(0x309)],(_0x56e5c0,_0x197e40)=>{const _0x3c5939=_0x102eb5;if(_0x56e5c0)return _0x5c4702(_0x56e5c0);if(_0x197e40[_0x3c5939(0x202)]){if(this['_messageLength']+=_0x197e40[_0x3c5939(0x202)],this[_0x3c5939(0x16a)]>this[_0x3c5939(0x1cf)]&&this[_0x3c5939(0x1cf)]>0x0){const _0x241cb4=this[_0x3c5939(0x1a7)](RangeError,_0x3c5939(0x173),!0x1,0x3f1,_0x3c5939(0x200));_0x5c4702(_0x241cb4);return;}this[_0x3c5939(0x19d)][_0x3c5939(0x273)](_0x197e40);}this[_0x3c5939(0x17c)](_0x5c4702),this[_0x3c5939(0x1af)]===_0x3913a6&&this[_0x3c5939(0x232)](_0x5c4702);});}['dataMessage'](_0x259c9d){const _0x3ad847=_0x57abce;if(!this['_fin']){this[_0x3ad847(0x1af)]=_0x3913a6;return;}const _0x2cb2eb=this['_messageLength'],_0xd22a63=this[_0x3ad847(0x19d)];if(this['_totalPayloadLength']=0x0,this[_0x3ad847(0x16a)]=0x0,this[_0x3ad847(0x164)]=0x0,this['_fragments']=[],this[_0x3ad847(0x189)]===0x2){let _0x94e058;this[_0x3ad847(0x1d2)]===_0x3ad847(0x307)?_0x94e058=_0x20ff55(_0xd22a63,_0x2cb2eb):this['_binaryType']==='arraybuffer'?_0x94e058=_0x35b6fd(_0x20ff55(_0xd22a63,_0x2cb2eb)):this['_binaryType']===_0x3ad847(0x222)?_0x94e058=new Blob(_0xd22a63):_0x94e058=_0xd22a63,this[_0x3ad847(0x1fb)]?(this[_0x3ad847(0x2cf)](_0x3ad847(0x19c),_0x94e058,!0x0),this[_0x3ad847(0x1af)]=_0x3913a6):(this[_0x3ad847(0x1af)]=_0xea2fe5,setImmediate(()=>{const _0x3d8ea6=_0x3ad847;this[_0x3d8ea6(0x2cf)](_0x3d8ea6(0x19c),_0x94e058,!0x0),this[_0x3d8ea6(0x1af)]=_0x3913a6,this[_0x3d8ea6(0x232)](_0x259c9d);}));}else{const _0x3e3363=_0x20ff55(_0xd22a63,_0x2cb2eb);if(!this[_0x3ad847(0x2e7)]&&!_0xbfd8f6(_0x3e3363)){const _0x47be0a=this[_0x3ad847(0x1a7)](Error,_0x3ad847(0x18d),!0x0,0x3ef,_0x3ad847(0x292));_0x259c9d(_0x47be0a);return;}this[_0x3ad847(0x1af)]===_0x59f40f||this['_allowSynchronousEvents']?(this[_0x3ad847(0x2cf)](_0x3ad847(0x19c),_0x3e3363,!0x1),this[_0x3ad847(0x1af)]=_0x3913a6):(this[_0x3ad847(0x1af)]=_0xea2fe5,setImmediate(()=>{const _0x3f897f=_0x3ad847;this[_0x3f897f(0x2cf)](_0x3f897f(0x19c),_0x3e3363,!0x1),this[_0x3f897f(0x1af)]=_0x3913a6,this['startLoop'](_0x259c9d);}));}}[_0x57abce(0x2b7)](_0x3912d0,_0x444117){const _0x435112=_0x57abce;if(this['_opcode']===0x8){if(_0x3912d0[_0x435112(0x202)]===0x0)this['_loop']=!0x1,this[_0x435112(0x2cf)]('conclude',0x3ed,_0x807d52),this['end']();else{const _0x234bfe=_0x3912d0['readUInt16BE'](0x0);if(!_0x5c4944(_0x234bfe)){const _0x22b464=this[_0x435112(0x1a7)](RangeError,_0x435112(0x23e)+_0x234bfe,!0x0,0x3ea,_0x435112(0x22f));_0x444117(_0x22b464);return;}const _0x286735=new _0x2145d4(_0x3912d0[_0x435112(0x201)],_0x3912d0[_0x435112(0x25b)]+0x2,_0x3912d0['length']-0x2);if(!this[_0x435112(0x2e7)]&&!_0xbfd8f6(_0x286735)){const _0x4c1e1c=this[_0x435112(0x1a7)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x435112(0x292));_0x444117(_0x4c1e1c);return;}this[_0x435112(0x19e)]=!0x1,this[_0x435112(0x2cf)](_0x435112(0x2c9),_0x234bfe,_0x286735),this['end']();}this[_0x435112(0x1af)]=_0x3913a6;return;}this[_0x435112(0x1fb)]?(this[_0x435112(0x2cf)](this[_0x435112(0x189)]===0x9?'ping':_0x435112(0x24c),_0x3912d0),this[_0x435112(0x1af)]=_0x3913a6):(this['_state']=_0xea2fe5,setImmediate(()=>{const _0x2756cd=_0x435112;this['emit'](this[_0x2756cd(0x189)]===0x9?_0x2756cd(0x178):_0x2756cd(0x24c),_0x3912d0),this[_0x2756cd(0x1af)]=_0x3913a6,this[_0x2756cd(0x232)](_0x444117);}));}['createError'](_0x5bd905,_0xe24fa9,_0x489644,_0x3015ae,_0x4ee211){const _0xfbffbd=_0x57abce;this[_0xfbffbd(0x19e)]=!0x1,this[_0xfbffbd(0x2bf)]=!0x0;const _0x31756a=new _0x5bd905(_0x489644?'Invalid\x20WebSocket\x20frame:\x20'+_0xe24fa9:_0xe24fa9);return Error[_0xfbffbd(0x229)](_0x31756a,this[_0xfbffbd(0x1a7)]),_0x31756a[_0xfbffbd(0x1f1)]=_0x4ee211,_0x31756a[_0x3a9e77]=_0x3015ae,_0x31756a;}}return Se=_0x37a97b,Se;}var Ee,et;function _t(){const _0x3b043c=_0xecd734;if(et)return Ee;et=0x1;const {Duplex:_0x269928}=_0x4a50d3,{randomFillSync:_0x1c55ff}=_0x2bea3d,_0x44783b=he(),{EMPTY_BUFFER:_0x3614e2,kWebSocket:_0x365e23,NOOP:_0x3bae7b}=V(),{isBlob:_0x2ecef6,isValidStatusCode:_0x3d51dc}=ne(),{mask:_0x29cd0a,toBuffer:_0x15f7f5}=ce(),_0x3ac342=Symbol(_0x3b043c(0x172)),_0x1dffa6=Buffer[_0x3b043c(0x1a6)](0x4),_0x436041=0x8*0x400;let _0x17cf89,_0x585b7f=_0x436041;const _0x349107=0x0,_0x45a556=0x1,_0x14af9b=0x2;class _0x121c78{constructor(_0x21f627,_0x55d84d,_0x1585c3){const _0x5b4132=_0x3b043c;this[_0x5b4132(0x1b8)]=_0x55d84d||{},_0x1585c3&&(this[_0x5b4132(0x22a)]=_0x1585c3,this[_0x5b4132(0x28e)]=Buffer[_0x5b4132(0x1a6)](0x4)),this[_0x5b4132(0x277)]=_0x21f627,this[_0x5b4132(0x27a)]=!0x0,this[_0x5b4132(0x20b)]=!0x1,this[_0x5b4132(0x298)]=0x0,this['_queue']=[],this[_0x5b4132(0x1af)]=_0x349107,this[_0x5b4132(0x1b6)]=_0x3bae7b,this[_0x365e23]=void 0x0;}static['frame'](_0x2fe0c4,_0x45a5e7){const _0x2357c0=_0x3b043c;let _0xf643a3,_0x25f86f=!0x1,_0x3a3c5f=0x2,_0xdb31cb=!0x1;_0x45a5e7[_0x2357c0(0x22b)]&&(_0xf643a3=_0x45a5e7[_0x2357c0(0x259)]||_0x1dffa6,_0x45a5e7[_0x2357c0(0x1ab)]?_0x45a5e7[_0x2357c0(0x1ab)](_0xf643a3):(_0x585b7f===_0x436041&&(_0x17cf89===void 0x0&&(_0x17cf89=Buffer[_0x2357c0(0x1a6)](_0x436041)),_0x1c55ff(_0x17cf89,0x0,_0x436041),_0x585b7f=0x0),_0xf643a3[0x0]=_0x17cf89[_0x585b7f++],_0xf643a3[0x1]=_0x17cf89[_0x585b7f++],_0xf643a3[0x2]=_0x17cf89[_0x585b7f++],_0xf643a3[0x3]=_0x17cf89[_0x585b7f++]),_0xdb31cb=(_0xf643a3[0x0]|_0xf643a3[0x1]|_0xf643a3[0x2]|_0xf643a3[0x3])===0x0,_0x3a3c5f=0x6);let _0x45488c;typeof _0x2fe0c4=='string'?(!_0x45a5e7['mask']||_0xdb31cb)&&_0x45a5e7[_0x3ac342]!==void 0x0?_0x45488c=_0x45a5e7[_0x3ac342]:(_0x2fe0c4=Buffer[_0x2357c0(0x2b3)](_0x2fe0c4),_0x45488c=_0x2fe0c4[_0x2357c0(0x202)]):(_0x45488c=_0x2fe0c4['length'],_0x25f86f=_0x45a5e7[_0x2357c0(0x22b)]&&_0x45a5e7[_0x2357c0(0x2d2)]&&!_0xdb31cb);let _0x3f432a=_0x45488c;_0x45488c>=0x10000?(_0x3a3c5f+=0x8,_0x3f432a=0x7f):_0x45488c>0x7d&&(_0x3a3c5f+=0x2,_0x3f432a=0x7e);const _0x10cb85=Buffer[_0x2357c0(0x2fd)](_0x25f86f?_0x45488c+_0x3a3c5f:_0x3a3c5f);return _0x10cb85[0x0]=_0x45a5e7['fin']?_0x45a5e7[_0x2357c0(0x2bc)]|0x80:_0x45a5e7[_0x2357c0(0x2bc)],_0x45a5e7['rsv1']&&(_0x10cb85[0x0]|=0x40),_0x10cb85[0x1]=_0x3f432a,_0x3f432a===0x7e?_0x10cb85[_0x2357c0(0x214)](_0x45488c,0x2):_0x3f432a===0x7f&&(_0x10cb85[0x2]=_0x10cb85[0x3]=0x0,_0x10cb85[_0x2357c0(0x1f8)](_0x45488c,0x4,0x6)),_0x45a5e7[_0x2357c0(0x22b)]?(_0x10cb85[0x1]|=0x80,_0x10cb85[_0x3a3c5f-0x4]=_0xf643a3[0x0],_0x10cb85[_0x3a3c5f-0x3]=_0xf643a3[0x1],_0x10cb85[_0x3a3c5f-0x2]=_0xf643a3[0x2],_0x10cb85[_0x3a3c5f-0x1]=_0xf643a3[0x3],_0xdb31cb?[_0x10cb85,_0x2fe0c4]:_0x25f86f?(_0x29cd0a(_0x2fe0c4,_0xf643a3,_0x10cb85,_0x3a3c5f,_0x45488c),[_0x10cb85]):(_0x29cd0a(_0x2fe0c4,_0xf643a3,_0x2fe0c4,0x0,_0x45488c),[_0x10cb85,_0x2fe0c4])):[_0x10cb85,_0x2fe0c4];}[_0x3b043c(0x1ae)](_0x1c7eaf,_0x506486,_0x181577,_0x504455){const _0x2b56bc=_0x3b043c;let _0x1f8f47;if(_0x1c7eaf===void 0x0)_0x1f8f47=_0x3614e2;else{if(typeof _0x1c7eaf!=_0x2b56bc(0x285)||!_0x3d51dc(_0x1c7eaf))throw new TypeError(_0x2b56bc(0x15d));if(_0x506486===void 0x0||!_0x506486[_0x2b56bc(0x202)])_0x1f8f47=Buffer['allocUnsafe'](0x2),_0x1f8f47[_0x2b56bc(0x214)](_0x1c7eaf,0x0);else{const _0x247cfb=Buffer[_0x2b56bc(0x21d)](_0x506486);if(_0x247cfb>0x7b)throw new RangeError(_0x2b56bc(0x1e5));_0x1f8f47=Buffer[_0x2b56bc(0x2fd)](0x2+_0x247cfb),_0x1f8f47[_0x2b56bc(0x214)](_0x1c7eaf,0x0),typeof _0x506486==_0x2b56bc(0x29a)?_0x1f8f47[_0x2b56bc(0x276)](_0x506486,0x2):_0x1f8f47[_0x2b56bc(0x205)](_0x506486,0x2);}}const _0x4d2562={[_0x3ac342]:_0x1f8f47[_0x2b56bc(0x202)],'fin':!0x0,'generateMask':this[_0x2b56bc(0x22a)],'mask':_0x181577,'maskBuffer':this[_0x2b56bc(0x28e)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this['_state']!==_0x349107?this[_0x2b56bc(0x21f)]([this[_0x2b56bc(0x2bb)],_0x1f8f47,!0x1,_0x4d2562,_0x504455]):this['sendFrame'](_0x121c78[_0x2b56bc(0x2a3)](_0x1f8f47,_0x4d2562),_0x504455);}[_0x3b043c(0x178)](_0x4b5f36,_0xa749be,_0x407484){const _0x121ca0=_0x3b043c;let _0x5d699d,_0x12f719;if(typeof _0x4b5f36==_0x121ca0(0x29a)?(_0x5d699d=Buffer[_0x121ca0(0x21d)](_0x4b5f36),_0x12f719=!0x1):_0x2ecef6(_0x4b5f36)?(_0x5d699d=_0x4b5f36[_0x121ca0(0x2fe)],_0x12f719=!0x1):(_0x4b5f36=_0x15f7f5(_0x4b5f36),_0x5d699d=_0x4b5f36[_0x121ca0(0x202)],_0x12f719=_0x15f7f5[_0x121ca0(0x2d2)]),_0x5d699d>0x7d)throw new RangeError(_0x121ca0(0x308));const _0x32b38a={[_0x3ac342]:_0x5d699d,'fin':!0x0,'generateMask':this[_0x121ca0(0x22a)],'mask':_0xa749be,'maskBuffer':this['_maskBuffer'],'opcode':0x9,'readOnly':_0x12f719,'rsv1':!0x1};_0x2ecef6(_0x4b5f36)?this[_0x121ca0(0x1af)]!==_0x349107?this[_0x121ca0(0x21f)]([this['getBlobData'],_0x4b5f36,!0x1,_0x32b38a,_0x407484]):this[_0x121ca0(0x251)](_0x4b5f36,!0x1,_0x32b38a,_0x407484):this[_0x121ca0(0x1af)]!==_0x349107?this['enqueue']([this['dispatch'],_0x4b5f36,!0x1,_0x32b38a,_0x407484]):this['sendFrame'](_0x121c78[_0x121ca0(0x2a3)](_0x4b5f36,_0x32b38a),_0x407484);}[_0x3b043c(0x24c)](_0x31fa7f,_0x2d1313,_0x2b6904){const _0x2ec679=_0x3b043c;let _0x547284,_0x2615b6;if(typeof _0x31fa7f=='string'?(_0x547284=Buffer[_0x2ec679(0x21d)](_0x31fa7f),_0x2615b6=!0x1):_0x2ecef6(_0x31fa7f)?(_0x547284=_0x31fa7f[_0x2ec679(0x2fe)],_0x2615b6=!0x1):(_0x31fa7f=_0x15f7f5(_0x31fa7f),_0x547284=_0x31fa7f[_0x2ec679(0x202)],_0x2615b6=_0x15f7f5['readOnly']),_0x547284>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x1927d3={[_0x3ac342]:_0x547284,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x2d1313,'maskBuffer':this[_0x2ec679(0x28e)],'opcode':0xa,'readOnly':_0x2615b6,'rsv1':!0x1};_0x2ecef6(_0x31fa7f)?this['_state']!==_0x349107?this[_0x2ec679(0x21f)]([this['getBlobData'],_0x31fa7f,!0x1,_0x1927d3,_0x2b6904]):this['getBlobData'](_0x31fa7f,!0x1,_0x1927d3,_0x2b6904):this['_state']!==_0x349107?this[_0x2ec679(0x21f)]([this[_0x2ec679(0x2bb)],_0x31fa7f,!0x1,_0x1927d3,_0x2b6904]):this[_0x2ec679(0x2cb)](_0x121c78[_0x2ec679(0x2a3)](_0x31fa7f,_0x1927d3),_0x2b6904);}['send'](_0x3454d9,_0x160836,_0x4d9c7d){const _0x462ccb=_0x3b043c,_0x4f2589=this[_0x462ccb(0x1b8)][_0x44783b['extensionName']];let _0x50e793=_0x160836[_0x462ccb(0x290)]?0x2:0x1,_0x3b75db=_0x160836['compress'],_0x417f37,_0x5add39;typeof _0x3454d9==_0x462ccb(0x29a)?(_0x417f37=Buffer[_0x462ccb(0x21d)](_0x3454d9),_0x5add39=!0x1):_0x2ecef6(_0x3454d9)?(_0x417f37=_0x3454d9[_0x462ccb(0x2fe)],_0x5add39=!0x1):(_0x3454d9=_0x15f7f5(_0x3454d9),_0x417f37=_0x3454d9[_0x462ccb(0x202)],_0x5add39=_0x15f7f5['readOnly']),this[_0x462ccb(0x27a)]?(this['_firstFragment']=!0x1,_0x3b75db&&_0x4f2589&&_0x4f2589['params'][_0x4f2589[_0x462ccb(0x1c3)]?_0x462ccb(0x2ca):_0x462ccb(0x1a3)]&&(_0x3b75db=_0x417f37>=_0x4f2589[_0x462ccb(0x300)]),this[_0x462ccb(0x20b)]=_0x3b75db):(_0x3b75db=!0x1,_0x50e793=0x0),_0x160836[_0x462ccb(0x2b1)]&&(this[_0x462ccb(0x27a)]=!0x0);const _0x2b5c18={[_0x3ac342]:_0x417f37,'fin':_0x160836['fin'],'generateMask':this[_0x462ccb(0x22a)],'mask':_0x160836[_0x462ccb(0x22b)],'maskBuffer':this[_0x462ccb(0x28e)],'opcode':_0x50e793,'readOnly':_0x5add39,'rsv1':_0x3b75db};_0x2ecef6(_0x3454d9)?this[_0x462ccb(0x1af)]!==_0x349107?this[_0x462ccb(0x21f)]([this[_0x462ccb(0x251)],_0x3454d9,this[_0x462ccb(0x20b)],_0x2b5c18,_0x4d9c7d]):this['getBlobData'](_0x3454d9,this[_0x462ccb(0x20b)],_0x2b5c18,_0x4d9c7d):this[_0x462ccb(0x1af)]!==_0x349107?this['enqueue']([this[_0x462ccb(0x2bb)],_0x3454d9,this[_0x462ccb(0x20b)],_0x2b5c18,_0x4d9c7d]):this['dispatch'](_0x3454d9,this[_0x462ccb(0x20b)],_0x2b5c18,_0x4d9c7d);}['getBlobData'](_0x511d55,_0x1b4312,_0x317433,_0x174263){const _0x5bea0d=_0x3b043c;this[_0x5bea0d(0x298)]+=_0x317433[_0x3ac342],this[_0x5bea0d(0x1af)]=_0x14af9b,_0x511d55[_0x5bea0d(0x278)]()[_0x5bea0d(0x1ff)](_0x26f73e=>{const _0x477bbc=_0x5bea0d;if(this[_0x477bbc(0x277)]['destroyed']){const _0x3c27b2=new Error(_0x477bbc(0x25e));process[_0x477bbc(0x2a6)](_0x418beb,this,_0x3c27b2,_0x174263);return;}this[_0x477bbc(0x298)]-=_0x317433[_0x3ac342];const _0x13c1b4=_0x15f7f5(_0x26f73e);_0x1b4312?this[_0x477bbc(0x2bb)](_0x13c1b4,_0x1b4312,_0x317433,_0x174263):(this['_state']=_0x349107,this[_0x477bbc(0x2cb)](_0x121c78[_0x477bbc(0x2a3)](_0x13c1b4,_0x317433),_0x174263),this[_0x477bbc(0x255)]());})[_0x5bea0d(0x212)](_0x2090ce=>{const _0x16841a=_0x5bea0d;process[_0x16841a(0x2a6)](_0x3ecc71,this,_0x2090ce,_0x174263);});}[_0x3b043c(0x2bb)](_0x5335ea,_0x2123df,_0xe404b0,_0x258959){const _0x59bf44=_0x3b043c;if(!_0x2123df){this[_0x59bf44(0x2cb)](_0x121c78['frame'](_0x5335ea,_0xe404b0),_0x258959);return;}const _0x1b68f7=this[_0x59bf44(0x1b8)][_0x44783b['extensionName']];this[_0x59bf44(0x298)]+=_0xe404b0[_0x3ac342],this[_0x59bf44(0x1af)]=_0x45a556,_0x1b68f7[_0x59bf44(0x1c7)](_0x5335ea,_0xe404b0[_0x59bf44(0x2b1)],(_0x4ccdfa,_0x215a63)=>{const _0x1f7be2=_0x59bf44;if(this['_socket']['destroyed']){const _0x126a76=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x418beb(this,_0x126a76,_0x258959);return;}this[_0x1f7be2(0x298)]-=_0xe404b0[_0x3ac342],this[_0x1f7be2(0x1af)]=_0x349107,_0xe404b0['readOnly']=!0x1,this[_0x1f7be2(0x2cb)](_0x121c78['frame'](_0x215a63,_0xe404b0),_0x258959),this['dequeue']();});}[_0x3b043c(0x255)](){const _0x54501d=_0x3b043c;for(;this[_0x54501d(0x1af)]===_0x349107&&this[_0x54501d(0x180)]['length'];){const _0x573362=this[_0x54501d(0x180)][_0x54501d(0x2da)]();this[_0x54501d(0x298)]-=_0x573362[0x3][_0x3ac342],Reflect[_0x54501d(0x28f)](_0x573362[0x0],this,_0x573362[_0x54501d(0x1d6)](0x1));}}[_0x3b043c(0x21f)](_0x258cce){const _0x568fa0=_0x3b043c;this[_0x568fa0(0x298)]+=_0x258cce[0x3][_0x3ac342],this[_0x568fa0(0x180)][_0x568fa0(0x273)](_0x258cce);}[_0x3b043c(0x2cb)](_0x3d2d7f,_0x46e308){const _0x26d273=_0x3b043c;_0x3d2d7f[_0x26d273(0x202)]===0x2?(this[_0x26d273(0x277)][_0x26d273(0x1d1)](),this[_0x26d273(0x277)]['write'](_0x3d2d7f[0x0]),this[_0x26d273(0x277)][_0x26d273(0x276)](_0x3d2d7f[0x1],_0x46e308),this[_0x26d273(0x277)]['uncork']()):this['_socket'][_0x26d273(0x276)](_0x3d2d7f[0x0],_0x46e308);}}Ee=_0x121c78;function _0x418beb(_0x4c3f50,_0x1c9de1,_0x15c05b){const _0x4be49b=_0x3b043c;typeof _0x15c05b==_0x4be49b(0x1eb)&&_0x15c05b(_0x1c9de1);for(let _0x550e8a=0x0;_0x550e8a<_0x4c3f50[_0x4be49b(0x180)][_0x4be49b(0x202)];_0x550e8a++){const _0x5a46e5=_0x4c3f50[_0x4be49b(0x180)][_0x550e8a],_0x173f3f=_0x5a46e5[_0x5a46e5['length']-0x1];typeof _0x173f3f==_0x4be49b(0x1eb)&&_0x173f3f(_0x1c9de1);}}function _0x3ecc71(_0x3397eb,_0x4a088b,_0x38d648){const _0x508796=_0x3b043c;_0x418beb(_0x3397eb,_0x4a088b,_0x38d648),_0x3397eb[_0x508796(0x1b6)](_0x4a088b);}return Ee;}var xe,tt;function Kt(){const _0x17ce1d=_0xecd734;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x2106a1,kListener:_0x299f9e}=V(),_0x324533=Symbol(_0x17ce1d(0x19a)),_0x444f11=Symbol('kData'),_0x36ab4c=Symbol('kError'),_0x4433b1=Symbol(_0x17ce1d(0x275)),_0x57b0de=Symbol(_0x17ce1d(0x1ca)),_0x3ac02d=Symbol(_0x17ce1d(0x1cb)),_0x58233a=Symbol(_0x17ce1d(0x192)),_0x5310ce=Symbol(_0x17ce1d(0x2ea));class _0x2bd5cd{constructor(_0xb0b5d3){this[_0x3ac02d]=null,this[_0x58233a]=_0xb0b5d3;}get[_0x17ce1d(0x243)](){return this[_0x3ac02d];}get[_0x17ce1d(0x26e)](){return this[_0x58233a];}}Object[_0x17ce1d(0x2bd)](_0x2bd5cd['prototype'],'target',{'enumerable':!0x0}),Object['defineProperty'](_0x2bd5cd[_0x17ce1d(0x2f3)],_0x17ce1d(0x26e),{'enumerable':!0x0});class _0x5d8e23 extends _0x2bd5cd{constructor(_0x38c636,_0x3aa15a={}){const _0xd40e8a=_0x17ce1d;super(_0x38c636),this[_0x324533]=_0x3aa15a[_0xd40e8a(0x1f1)]===void 0x0?0x0:_0x3aa15a[_0xd40e8a(0x1f1)],this[_0x57b0de]=_0x3aa15a[_0xd40e8a(0x15f)]===void 0x0?'':_0x3aa15a[_0xd40e8a(0x15f)],this[_0x5310ce]=_0x3aa15a[_0xd40e8a(0x238)]===void 0x0?!0x1:_0x3aa15a[_0xd40e8a(0x238)];}get[_0x17ce1d(0x1f1)](){return this[_0x324533];}get[_0x17ce1d(0x15f)](){return this[_0x57b0de];}get[_0x17ce1d(0x238)](){return this[_0x5310ce];}}Object[_0x17ce1d(0x2bd)](_0x5d8e23[_0x17ce1d(0x2f3)],'code',{'enumerable':!0x0}),Object[_0x17ce1d(0x2bd)](_0x5d8e23[_0x17ce1d(0x2f3)],_0x17ce1d(0x15f),{'enumerable':!0x0}),Object['defineProperty'](_0x5d8e23[_0x17ce1d(0x2f3)],_0x17ce1d(0x238),{'enumerable':!0x0});class _0x1e4d1d extends _0x2bd5cd{constructor(_0x445b11,_0x2809c7={}){const _0x5e2fd1=_0x17ce1d;super(_0x445b11),this[_0x36ab4c]=_0x2809c7['error']===void 0x0?null:_0x2809c7[_0x5e2fd1(0x26d)],this[_0x4433b1]=_0x2809c7[_0x5e2fd1(0x19c)]===void 0x0?'':_0x2809c7[_0x5e2fd1(0x19c)];}get[_0x17ce1d(0x26d)](){return this[_0x36ab4c];}get['message'](){return this[_0x4433b1];}}Object['defineProperty'](_0x1e4d1d[_0x17ce1d(0x2f3)],_0x17ce1d(0x26d),{'enumerable':!0x0}),Object[_0x17ce1d(0x2bd)](_0x1e4d1d['prototype'],_0x17ce1d(0x19c),{'enumerable':!0x0});class _0x37989e extends _0x2bd5cd{constructor(_0x21051f,_0x6eeb99={}){const _0x3a1717=_0x17ce1d;super(_0x21051f),this[_0x444f11]=_0x6eeb99[_0x3a1717(0x296)]===void 0x0?null:_0x6eeb99[_0x3a1717(0x296)];}get[_0x17ce1d(0x296)](){return this[_0x444f11];}}Object[_0x17ce1d(0x2bd)](_0x37989e[_0x17ce1d(0x2f3)],_0x17ce1d(0x296),{'enumerable':!0x0}),xe={'CloseEvent':_0x5d8e23,'ErrorEvent':_0x1e4d1d,'Event':_0x2bd5cd,'EventTarget':{'addEventListener'(_0x3503d1,_0x25d9b2,_0x5843e={}){const _0x33ecc8=_0x17ce1d;for(const _0x120898 of this[_0x33ecc8(0x20f)](_0x3503d1))if(!_0x5843e[_0x2106a1]&&_0x120898[_0x299f9e]===_0x25d9b2&&!_0x120898[_0x2106a1])return;let _0x1de844;if(_0x3503d1==='message')_0x1de844=function(_0x3f416d,_0x1b811c){const _0x35b152=_0x33ecc8,_0x27d009=new _0x37989e(_0x35b152(0x19c),{'data':_0x1b811c?_0x3f416d:_0x3f416d[_0x35b152(0x175)]()});_0x27d009[_0x3ac02d]=this,_0x1dbf63(_0x25d9b2,this,_0x27d009);};else{if(_0x3503d1===_0x33ecc8(0x1ae))_0x1de844=function(_0x24d35f,_0x5da60b){const _0x3383e3=_0x33ecc8,_0x3fc509=new _0x5d8e23(_0x3383e3(0x1ae),{'code':_0x24d35f,'reason':_0x5da60b[_0x3383e3(0x175)](),'wasClean':this[_0x3383e3(0x29b)]&&this[_0x3383e3(0x2b5)]});_0x3fc509[_0x3ac02d]=this,_0x1dbf63(_0x25d9b2,this,_0x3fc509);};else{if(_0x3503d1==='error')_0x1de844=function(_0x4b5ea8){const _0x45178f=_0x33ecc8,_0x862b27=new _0x1e4d1d(_0x45178f(0x26d),{'error':_0x4b5ea8,'message':_0x4b5ea8[_0x45178f(0x19c)]});_0x862b27[_0x3ac02d]=this,_0x1dbf63(_0x25d9b2,this,_0x862b27);};else{if(_0x3503d1===_0x33ecc8(0x1fa))_0x1de844=function(){const _0x2769b4=new _0x2bd5cd('open');_0x2769b4[_0x3ac02d]=this,_0x1dbf63(_0x25d9b2,this,_0x2769b4);};else return;}}}_0x1de844[_0x2106a1]=!!_0x5843e[_0x2106a1],_0x1de844[_0x299f9e]=_0x25d9b2,_0x5843e[_0x33ecc8(0x2cd)]?this[_0x33ecc8(0x2cd)](_0x3503d1,_0x1de844):this['on'](_0x3503d1,_0x1de844);},'removeEventListener'(_0x3cc9b2,_0x7f4f58){const _0x255b9e=_0x17ce1d;for(const _0xeeec4e of this[_0x255b9e(0x20f)](_0x3cc9b2))if(_0xeeec4e[_0x299f9e]===_0x7f4f58&&!_0xeeec4e[_0x2106a1]){this[_0x255b9e(0x17a)](_0x3cc9b2,_0xeeec4e);break;}}},'MessageEvent':_0x37989e};function _0x1dbf63(_0x421c24,_0x4d450c,_0x16b989){const _0xf57a53=_0x17ce1d;typeof _0x421c24==_0xf57a53(0x177)&&_0x421c24['handleEvent']?_0x421c24[_0xf57a53(0x2ab)][_0xf57a53(0x193)](_0x421c24,_0x16b989):_0x421c24[_0xf57a53(0x193)](_0x4d450c,_0x16b989);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x2df3d8}=ne();function _0x45a824(_0x447c98,_0x3a0778,_0x3f934a){const _0x4e18d9=_0x4097;_0x447c98[_0x3a0778]===void 0x0?_0x447c98[_0x3a0778]=[_0x3f934a]:_0x447c98[_0x3a0778][_0x4e18d9(0x273)](_0x3f934a);}function _0x5d9e44(_0x45ce48){const _0x43ba3e=_0x4097,_0x5a5db4=Object[_0x43ba3e(0x199)](null);let _0xa7d254=Object[_0x43ba3e(0x199)](null),_0x5d0b7b=!0x1,_0x4c19fd=!0x1,_0x1f98eb=!0x1,_0x1f868f,_0x145bb3,_0x7a284f=-0x1,_0x2817ed=-0x1,_0x111460=-0x1,_0x3d73c0=0x0;for(;_0x3d73c0<_0x45ce48['length'];_0x3d73c0++)if(_0x2817ed=_0x45ce48[_0x43ba3e(0x286)](_0x3d73c0),_0x1f868f===void 0x0){if(_0x111460===-0x1&&_0x2df3d8[_0x2817ed]===0x1)_0x7a284f===-0x1&&(_0x7a284f=_0x3d73c0);else{if(_0x3d73c0!==0x0&&(_0x2817ed===0x20||_0x2817ed===0x9))_0x111460===-0x1&&_0x7a284f!==-0x1&&(_0x111460=_0x3d73c0);else{if(_0x2817ed===0x3b||_0x2817ed===0x2c){if(_0x7a284f===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x3d73c0);_0x111460===-0x1&&(_0x111460=_0x3d73c0);const _0x9365ea=_0x45ce48[_0x43ba3e(0x1d6)](_0x7a284f,_0x111460);_0x2817ed===0x2c?(_0x45a824(_0x5a5db4,_0x9365ea,_0xa7d254),_0xa7d254=Object[_0x43ba3e(0x199)](null)):_0x1f868f=_0x9365ea,_0x7a284f=_0x111460=-0x1;}else throw new SyntaxError(_0x43ba3e(0x1fe)+_0x3d73c0);}}}else{if(_0x145bb3===void 0x0){if(_0x111460===-0x1&&_0x2df3d8[_0x2817ed]===0x1)_0x7a284f===-0x1&&(_0x7a284f=_0x3d73c0);else{if(_0x2817ed===0x20||_0x2817ed===0x9)_0x111460===-0x1&&_0x7a284f!==-0x1&&(_0x111460=_0x3d73c0);else{if(_0x2817ed===0x3b||_0x2817ed===0x2c){if(_0x7a284f===-0x1)throw new SyntaxError(_0x43ba3e(0x1fe)+_0x3d73c0);_0x111460===-0x1&&(_0x111460=_0x3d73c0),_0x45a824(_0xa7d254,_0x45ce48[_0x43ba3e(0x1d6)](_0x7a284f,_0x111460),!0x0),_0x2817ed===0x2c&&(_0x45a824(_0x5a5db4,_0x1f868f,_0xa7d254),_0xa7d254=Object[_0x43ba3e(0x199)](null),_0x1f868f=void 0x0),_0x7a284f=_0x111460=-0x1;}else{if(_0x2817ed===0x3d&&_0x7a284f!==-0x1&&_0x111460===-0x1)_0x145bb3=_0x45ce48[_0x43ba3e(0x1d6)](_0x7a284f,_0x3d73c0),_0x7a284f=_0x111460=-0x1;else throw new SyntaxError(_0x43ba3e(0x1fe)+_0x3d73c0);}}}}else{if(_0x4c19fd){if(_0x2df3d8[_0x2817ed]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x3d73c0);_0x7a284f===-0x1?_0x7a284f=_0x3d73c0:_0x5d0b7b||(_0x5d0b7b=!0x0),_0x4c19fd=!0x1;}else{if(_0x1f98eb){if(_0x2df3d8[_0x2817ed]===0x1)_0x7a284f===-0x1&&(_0x7a284f=_0x3d73c0);else{if(_0x2817ed===0x22&&_0x7a284f!==-0x1)_0x1f98eb=!0x1,_0x111460=_0x3d73c0;else{if(_0x2817ed===0x5c)_0x4c19fd=!0x0;else throw new SyntaxError(_0x43ba3e(0x1fe)+_0x3d73c0);}}}else{if(_0x2817ed===0x22&&_0x45ce48[_0x43ba3e(0x286)](_0x3d73c0-0x1)===0x3d)_0x1f98eb=!0x0;else{if(_0x111460===-0x1&&_0x2df3d8[_0x2817ed]===0x1)_0x7a284f===-0x1&&(_0x7a284f=_0x3d73c0);else{if(_0x7a284f!==-0x1&&(_0x2817ed===0x20||_0x2817ed===0x9))_0x111460===-0x1&&(_0x111460=_0x3d73c0);else{if(_0x2817ed===0x3b||_0x2817ed===0x2c){if(_0x7a284f===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x3d73c0);_0x111460===-0x1&&(_0x111460=_0x3d73c0);let _0x54076f=_0x45ce48['slice'](_0x7a284f,_0x111460);_0x5d0b7b&&(_0x54076f=_0x54076f[_0x43ba3e(0x306)](/\\/g,''),_0x5d0b7b=!0x1),_0x45a824(_0xa7d254,_0x145bb3,_0x54076f),_0x2817ed===0x2c&&(_0x45a824(_0x5a5db4,_0x1f868f,_0xa7d254),_0xa7d254=Object[_0x43ba3e(0x199)](null),_0x1f868f=void 0x0),_0x145bb3=void 0x0,_0x7a284f=_0x111460=-0x1;}else throw new SyntaxError(_0x43ba3e(0x1fe)+_0x3d73c0);}}}}}}}if(_0x7a284f===-0x1||_0x1f98eb||_0x2817ed===0x20||_0x2817ed===0x9)throw new SyntaxError(_0x43ba3e(0x15e));_0x111460===-0x1&&(_0x111460=_0x3d73c0);const _0x4f895b=_0x45ce48[_0x43ba3e(0x1d6)](_0x7a284f,_0x111460);return _0x1f868f===void 0x0?_0x45a824(_0x5a5db4,_0x4f895b,_0xa7d254):(_0x145bb3===void 0x0?_0x45a824(_0xa7d254,_0x4f895b,!0x0):_0x5d0b7b?_0x45a824(_0xa7d254,_0x145bb3,_0x4f895b[_0x43ba3e(0x306)](/\\/g,'')):_0x45a824(_0xa7d254,_0x145bb3,_0x4f895b),_0x45a824(_0x5a5db4,_0x1f868f,_0xa7d254)),_0x5a5db4;}function _0x5a253b(_0x488e23){const _0x599964=_0x4097;return Object['keys'](_0x488e23)[_0x599964(0x1b3)](_0x2c5107=>{const _0x25d1d3=_0x599964;let _0xc1b866=_0x488e23[_0x2c5107];return Array[_0x25d1d3(0x1aa)](_0xc1b866)||(_0xc1b866=[_0xc1b866]),_0xc1b866[_0x25d1d3(0x1b3)](_0x58aa69=>[_0x2c5107][_0x25d1d3(0x183)](Object[_0x25d1d3(0x27f)](_0x58aa69)['map'](_0x23a5da=>{const _0x1aeaec=_0x25d1d3;let _0x3a22ef=_0x58aa69[_0x23a5da];return Array[_0x1aeaec(0x1aa)](_0x3a22ef)||(_0x3a22ef=[_0x3a22ef]),_0x3a22ef[_0x1aeaec(0x1b3)](_0x31c670=>_0x31c670===!0x0?_0x23a5da:_0x23a5da+'='+_0x31c670)[_0x1aeaec(0x1e0)](';\x20');}))[_0x25d1d3(0x1e0)](';\x20'))[_0x25d1d3(0x1e0)](',\x20');})[_0x599964(0x1e0)](',\x20');}return be={'format':_0x5a253b,'parse':_0x5d9e44},be;}var we,st;function Ie(){const _0x4fef64=_0xecd734;if(st)return we;st=0x1;const _0x51a096=_0x25ed0d,_0x575019=_0x28f4c5,_0x458f4b=_0x215937,_0xe89ef5=_0x65fdc2,_0x5363b9=_0x4eb6e5,{randomBytes:_0x101e6b,createHash:_0x40ce33}=_0x2bea3d,{Duplex:_0x46a57f,Readable:_0x2850f0}=_0x4a50d3,{URL:_0x3f17dd}=_0x3c3a21,_0x380cbb=he(),_0x53c4b1=dt(),_0x1849a5=_t(),{isBlob:_0x3ab86a}=ne(),{BINARY_TYPES:_0x1d2ebd,EMPTY_BUFFER:_0x329c66,GUID:_0x5664e4,kForOnEventAttribute:_0x11a7a4,kListener:_0x438656,kStatusCode:_0x2494c3,kWebSocket:_0x27e7b7,NOOP:_0x4218aa}=V(),{EventTarget:{addEventListener:_0x5347e9,removeEventListener:_0x2077ea}}=Kt(),{format:_0x42d531,parse:_0x508552}=pt(),{toBuffer:_0x24b429}=ce(),_0x2343cc=0x1e*0x3e8,_0x2a481e=Symbol(_0x4fef64(0x2d3)),_0x2da66e=[0x8,0xd],_0x2e3ea7=[_0x4fef64(0x2f8),'OPEN',_0x4fef64(0x1ce),_0x4fef64(0x1e9)],_0x466e07=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x29ac49 extends _0x51a096{constructor(_0x32c472,_0x2fc6a9,_0x1e4c08){const _0xb52bac=_0x4fef64;super(),this[_0xb52bac(0x1d2)]=_0x1d2ebd[0x0],this[_0xb52bac(0x239)]=0x3ee,this[_0xb52bac(0x29b)]=!0x1,this[_0xb52bac(0x2b5)]=!0x1,this['_closeMessage']=_0x329c66,this[_0xb52bac(0x262)]=null,this[_0xb52bac(0x1b5)]=!0x1,this['_extensions']={},this[_0xb52bac(0x1b4)]=!0x1,this['_protocol']='',this['_readyState']=_0x29ac49['CONNECTING'],this[_0xb52bac(0x174)]=null,this[_0xb52bac(0x1cc)]=null,this['_socket']=null,_0x32c472!==null?(this[_0xb52bac(0x198)]=0x0,this[_0xb52bac(0x1c3)]=!0x1,this[_0xb52bac(0x2fb)]=0x0,_0x2fc6a9===void 0x0?_0x2fc6a9=[]:Array[_0xb52bac(0x1aa)](_0x2fc6a9)||(typeof _0x2fc6a9==_0xb52bac(0x177)&&_0x2fc6a9!==null?(_0x1e4c08=_0x2fc6a9,_0x2fc6a9=[]):_0x2fc6a9=[_0x2fc6a9]),_0x14d2e0(this,_0x32c472,_0x2fc6a9,_0x1e4c08)):(this[_0xb52bac(0x29d)]=_0x1e4c08['autoPong'],this[_0xb52bac(0x1c3)]=!0x0);}get[_0x4fef64(0x270)](){const _0x405e5c=_0x4fef64;return this[_0x405e5c(0x1d2)];}set[_0x4fef64(0x270)](_0x41954a){const _0x53bf4d=_0x4fef64;_0x1d2ebd[_0x53bf4d(0x1e7)](_0x41954a)&&(this[_0x53bf4d(0x1d2)]=_0x41954a,this['_receiver']&&(this[_0x53bf4d(0x174)]['_binaryType']=_0x41954a));}get[_0x4fef64(0x191)](){const _0x53cec2=_0x4fef64;return this[_0x53cec2(0x277)]?this[_0x53cec2(0x277)]['_writableState'][_0x53cec2(0x202)]+this[_0x53cec2(0x1cc)][_0x53cec2(0x298)]:this[_0x53cec2(0x198)];}get[_0x4fef64(0x16c)](){const _0x4f05dc=_0x4fef64;return Object[_0x4f05dc(0x27f)](this[_0x4f05dc(0x1b8)])['join']();}get[_0x4fef64(0x291)](){const _0x1b1660=_0x4fef64;return this[_0x1b1660(0x1b4)];}get[_0x4fef64(0x246)](){return null;}get[_0x4fef64(0x1b6)](){return null;}get['onopen'](){return null;}get[_0x4fef64(0x1f3)](){return null;}get[_0x4fef64(0x20e)](){const _0x5e8968=_0x4fef64;return this[_0x5e8968(0x2e4)];}get['readyState'](){const _0x41821d=_0x4fef64;return this[_0x41821d(0x2ce)];}get[_0x4fef64(0x231)](){const _0xfc6c2e=_0x4fef64;return this[_0xfc6c2e(0x1f5)];}[_0x4fef64(0x30c)](_0x266215,_0x4e37fb,_0x1b0cdb){const _0x30a5ee=_0x4fef64,_0x5cd2b2=new _0x53c4b1({'allowSynchronousEvents':_0x1b0cdb['allowSynchronousEvents'],'binaryType':this[_0x30a5ee(0x270)],'extensions':this[_0x30a5ee(0x1b8)],'isServer':this[_0x30a5ee(0x1c3)],'maxPayload':_0x1b0cdb[_0x30a5ee(0x1de)],'skipUTF8Validation':_0x1b0cdb[_0x30a5ee(0x265)]}),_0x2a5771=new _0x1849a5(_0x266215,this['_extensions'],_0x1b0cdb[_0x30a5ee(0x1ab)]);this['_receiver']=_0x5cd2b2,this['_sender']=_0x2a5771,this[_0x30a5ee(0x277)]=_0x266215,_0x5cd2b2[_0x27e7b7]=this,_0x2a5771[_0x27e7b7]=this,_0x266215[_0x27e7b7]=this,_0x5cd2b2['on'](_0x30a5ee(0x2c9),_0x573026),_0x5cd2b2['on']('drain',_0x4bc017),_0x5cd2b2['on']('error',_0x18cfb3),_0x5cd2b2['on'](_0x30a5ee(0x19c),_0x291bbd),_0x5cd2b2['on'](_0x30a5ee(0x178),_0x29e9f0),_0x5cd2b2['on'](_0x30a5ee(0x24c),_0x32b696),_0x2a5771[_0x30a5ee(0x1b6)]=_0x556a81,_0x266215[_0x30a5ee(0x18f)]&&_0x266215[_0x30a5ee(0x18f)](0x0),_0x266215[_0x30a5ee(0x245)]&&_0x266215[_0x30a5ee(0x245)](),_0x4e37fb['length']>0x0&&_0x266215['unshift'](_0x4e37fb),_0x266215['on'](_0x30a5ee(0x1ae),_0x44737a),_0x266215['on']('data',_0xa97a7f),_0x266215['on']('end',_0x347fda),_0x266215['on'](_0x30a5ee(0x26d),_0x4407d7),this[_0x30a5ee(0x2ce)]=_0x29ac49[_0x30a5ee(0x1be)],this[_0x30a5ee(0x2cf)](_0x30a5ee(0x1fa));}['emitClose'](){const _0x44b629=_0x4fef64;if(!this[_0x44b629(0x277)]){this[_0x44b629(0x2ce)]=_0x29ac49[_0x44b629(0x1e9)],this[_0x44b629(0x2cf)](_0x44b629(0x1ae),this[_0x44b629(0x239)],this['_closeMessage']);return;}this[_0x44b629(0x1b8)][_0x380cbb[_0x44b629(0x23b)]]&&this['_extensions'][_0x380cbb[_0x44b629(0x23b)]][_0x44b629(0x195)](),this[_0x44b629(0x174)][_0x44b629(0x2c7)](),this[_0x44b629(0x2ce)]=_0x29ac49[_0x44b629(0x1e9)],this[_0x44b629(0x2cf)](_0x44b629(0x1ae),this['_closeCode'],this['_closeMessage']);}[_0x4fef64(0x1ae)](_0x367b4b,_0x3a19fa){const _0x1db4d1=_0x4fef64;if(this[_0x1db4d1(0x21a)]!==_0x29ac49[_0x1db4d1(0x1e9)]){if(this[_0x1db4d1(0x21a)]===_0x29ac49['CONNECTING']){_0x3b1dd4(this,this[_0x1db4d1(0x20c)],_0x1db4d1(0x30b));return;}if(this[_0x1db4d1(0x21a)]===_0x29ac49[_0x1db4d1(0x1ce)]){this['_closeFrameSent']&&(this[_0x1db4d1(0x29b)]||this[_0x1db4d1(0x174)]['_writableState'][_0x1db4d1(0x17b)])&&this['_socket']['end']();return;}this[_0x1db4d1(0x2ce)]=_0x29ac49[_0x1db4d1(0x1ce)],this[_0x1db4d1(0x1cc)]['close'](_0x367b4b,_0x3a19fa,!this[_0x1db4d1(0x1c3)],_0x5008ad=>{const _0xea4dcf=_0x1db4d1;_0x5008ad||(this[_0xea4dcf(0x2b5)]=!0x0,(this[_0xea4dcf(0x29b)]||this['_receiver'][_0xea4dcf(0x24f)][_0xea4dcf(0x17b)])&&this[_0xea4dcf(0x277)][_0xea4dcf(0x258)]());}),_0x28a871(this);}}[_0x4fef64(0x21e)](){const _0x5dd892=_0x4fef64;this[_0x5dd892(0x21a)]===_0x29ac49[_0x5dd892(0x2f8)]||this[_0x5dd892(0x21a)]===_0x29ac49[_0x5dd892(0x1e9)]||(this['_paused']=!0x0,this['_socket'][_0x5dd892(0x21e)]());}[_0x4fef64(0x178)](_0xa6f37e,_0x2c6def,_0x3b74ba){const _0x4c7315=_0x4fef64;if(this[_0x4c7315(0x21a)]===_0x29ac49['CONNECTING'])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0xa6f37e=='function'?(_0x3b74ba=_0xa6f37e,_0xa6f37e=_0x2c6def=void 0x0):typeof _0x2c6def==_0x4c7315(0x1eb)&&(_0x3b74ba=_0x2c6def,_0x2c6def=void 0x0),typeof _0xa6f37e==_0x4c7315(0x285)&&(_0xa6f37e=_0xa6f37e[_0x4c7315(0x175)]()),this['readyState']!==_0x29ac49['OPEN']){_0x232f40(this,_0xa6f37e,_0x3b74ba);return;}_0x2c6def===void 0x0&&(_0x2c6def=!this[_0x4c7315(0x1c3)]),this[_0x4c7315(0x1cc)][_0x4c7315(0x178)](_0xa6f37e||_0x329c66,_0x2c6def,_0x3b74ba);}[_0x4fef64(0x24c)](_0x4a7da5,_0x349a5a,_0x9275f){const _0x69be83=_0x4fef64;if(this['readyState']===_0x29ac49['CONNECTING'])throw new Error(_0x69be83(0x244));if(typeof _0x4a7da5==_0x69be83(0x1eb)?(_0x9275f=_0x4a7da5,_0x4a7da5=_0x349a5a=void 0x0):typeof _0x349a5a==_0x69be83(0x1eb)&&(_0x9275f=_0x349a5a,_0x349a5a=void 0x0),typeof _0x4a7da5==_0x69be83(0x285)&&(_0x4a7da5=_0x4a7da5['toString']()),this['readyState']!==_0x29ac49[_0x69be83(0x1be)]){_0x232f40(this,_0x4a7da5,_0x9275f);return;}_0x349a5a===void 0x0&&(_0x349a5a=!this['_isServer']),this[_0x69be83(0x1cc)][_0x69be83(0x24c)](_0x4a7da5||_0x329c66,_0x349a5a,_0x9275f);}[_0x4fef64(0x227)](){const _0x54c4b3=_0x4fef64;this['readyState']===_0x29ac49['CONNECTING']||this['readyState']===_0x29ac49[_0x54c4b3(0x1e9)]||(this[_0x54c4b3(0x1b4)]=!0x1,this[_0x54c4b3(0x174)][_0x54c4b3(0x24f)][_0x54c4b3(0x18b)]||this[_0x54c4b3(0x277)][_0x54c4b3(0x227)]());}[_0x4fef64(0x1da)](_0x47ae5a,_0xee297a,_0x2ff5ac){const _0x22ae44=_0x4fef64;if(this[_0x22ae44(0x21a)]===_0x29ac49[_0x22ae44(0x2f8)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0xee297a==_0x22ae44(0x1eb)&&(_0x2ff5ac=_0xee297a,_0xee297a={}),typeof _0x47ae5a==_0x22ae44(0x285)&&(_0x47ae5a=_0x47ae5a[_0x22ae44(0x175)]()),this['readyState']!==_0x29ac49[_0x22ae44(0x1be)]){_0x232f40(this,_0x47ae5a,_0x2ff5ac);return;}const _0xfeafa={'binary':typeof _0x47ae5a!='string','mask':!this[_0x22ae44(0x1c3)],'compress':!0x0,'fin':!0x0,..._0xee297a};this[_0x22ae44(0x1b8)][_0x380cbb[_0x22ae44(0x23b)]]||(_0xfeafa[_0x22ae44(0x1c7)]=!0x1),this['_sender'][_0x22ae44(0x1da)](_0x47ae5a||_0x329c66,_0xfeafa,_0x2ff5ac);}['terminate'](){const _0x358ee7=_0x4fef64;if(this[_0x358ee7(0x21a)]!==_0x29ac49['CLOSED']){if(this[_0x358ee7(0x21a)]===_0x29ac49[_0x358ee7(0x2f8)]){_0x3b1dd4(this,this[_0x358ee7(0x20c)],_0x358ee7(0x30b));return;}this[_0x358ee7(0x277)]&&(this[_0x358ee7(0x2ce)]=_0x29ac49[_0x358ee7(0x1ce)],this[_0x358ee7(0x277)][_0x358ee7(0x225)]());}}}Object[_0x4fef64(0x2bd)](_0x29ac49,_0x4fef64(0x2f8),{'enumerable':!0x0,'value':_0x2e3ea7[_0x4fef64(0x23a)](_0x4fef64(0x2f8))}),Object['defineProperty'](_0x29ac49[_0x4fef64(0x2f3)],_0x4fef64(0x2f8),{'enumerable':!0x0,'value':_0x2e3ea7[_0x4fef64(0x23a)](_0x4fef64(0x2f8))}),Object[_0x4fef64(0x2bd)](_0x29ac49,_0x4fef64(0x1be),{'enumerable':!0x0,'value':_0x2e3ea7[_0x4fef64(0x23a)]('OPEN')}),Object[_0x4fef64(0x2bd)](_0x29ac49[_0x4fef64(0x2f3)],_0x4fef64(0x1be),{'enumerable':!0x0,'value':_0x2e3ea7[_0x4fef64(0x23a)](_0x4fef64(0x1be))}),Object[_0x4fef64(0x2bd)](_0x29ac49,_0x4fef64(0x1ce),{'enumerable':!0x0,'value':_0x2e3ea7[_0x4fef64(0x23a)](_0x4fef64(0x1ce))}),Object['defineProperty'](_0x29ac49[_0x4fef64(0x2f3)],_0x4fef64(0x1ce),{'enumerable':!0x0,'value':_0x2e3ea7[_0x4fef64(0x23a)](_0x4fef64(0x1ce))}),Object[_0x4fef64(0x2bd)](_0x29ac49,_0x4fef64(0x1e9),{'enumerable':!0x0,'value':_0x2e3ea7['indexOf'](_0x4fef64(0x1e9))}),Object[_0x4fef64(0x2bd)](_0x29ac49['prototype'],_0x4fef64(0x1e9),{'enumerable':!0x0,'value':_0x2e3ea7['indexOf']('CLOSED')}),[_0x4fef64(0x270),_0x4fef64(0x191),_0x4fef64(0x16c),_0x4fef64(0x291),'protocol','readyState',_0x4fef64(0x231)][_0x4fef64(0x1a9)](_0x214ff6=>{const _0x44eb39=_0x4fef64;Object[_0x44eb39(0x2bd)](_0x29ac49[_0x44eb39(0x2f3)],_0x214ff6,{'enumerable':!0x0});}),[_0x4fef64(0x1fa),'error',_0x4fef64(0x1ae),'message'][_0x4fef64(0x1a9)](_0x98cb5=>{const _0x2b4b4f=_0x4fef64;Object['defineProperty'](_0x29ac49[_0x2b4b4f(0x2f3)],'on'+_0x98cb5,{'enumerable':!0x0,'get'(){const _0x1ae452=_0x2b4b4f;for(const _0x54d7e8 of this[_0x1ae452(0x20f)](_0x98cb5))if(_0x54d7e8[_0x11a7a4])return _0x54d7e8[_0x438656];return null;},'set'(_0x2bf9d1){const _0x5c10d7=_0x2b4b4f;for(const _0x180f54 of this[_0x5c10d7(0x20f)](_0x98cb5))if(_0x180f54[_0x11a7a4]){this[_0x5c10d7(0x17a)](_0x98cb5,_0x180f54);break;}typeof _0x2bf9d1=='function'&&this[_0x5c10d7(0x268)](_0x98cb5,_0x2bf9d1,{[_0x11a7a4]:!0x0});}});}),_0x29ac49[_0x4fef64(0x2f3)][_0x4fef64(0x268)]=_0x5347e9,_0x29ac49[_0x4fef64(0x2f3)]['removeEventListener']=_0x2077ea,we=_0x29ac49;function _0x14d2e0(_0x394b8,_0x30e891,_0x312f69,_0x5b11b8){const _0xb87fc6=_0x4fef64,_0x2b2e38={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x2da66e[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x5b11b8,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x394b8[_0xb87fc6(0x29d)]=_0x2b2e38['autoPong'],!_0x2da66e['includes'](_0x2b2e38[_0xb87fc6(0x165)]))throw new RangeError(_0xb87fc6(0x2d0)+_0x2b2e38[_0xb87fc6(0x165)]+_0xb87fc6(0x21c)+_0x2da66e['join'](',\x20')+')');let _0xa2e432;if(_0x30e891 instanceof _0x3f17dd)_0xa2e432=_0x30e891;else try{_0xa2e432=new _0x3f17dd(_0x30e891);}catch{throw new SyntaxError(_0xb87fc6(0x167)+_0x30e891);}_0xa2e432[_0xb87fc6(0x20e)]===_0xb87fc6(0x1a8)?_0xa2e432[_0xb87fc6(0x20e)]='ws:':_0xa2e432[_0xb87fc6(0x20e)]===_0xb87fc6(0x2f4)&&(_0xa2e432[_0xb87fc6(0x20e)]=_0xb87fc6(0x2d8)),_0x394b8[_0xb87fc6(0x1f5)]=_0xa2e432[_0xb87fc6(0x2c1)];const _0x1c4c39=_0xa2e432[_0xb87fc6(0x20e)]===_0xb87fc6(0x2d8),_0x1780e5=_0xa2e432[_0xb87fc6(0x20e)]===_0xb87fc6(0x196);let _0xfb2e06;if(_0xa2e432[_0xb87fc6(0x20e)]!==_0xb87fc6(0x310)&&!_0x1c4c39&&!_0x1780e5?_0xfb2e06=_0xb87fc6(0x261):_0x1780e5&&!_0xa2e432['pathname']?_0xfb2e06='The\x20URL\x27s\x20pathname\x20is\x20empty':_0xa2e432[_0xb87fc6(0x1e8)]&&(_0xfb2e06=_0xb87fc6(0x2fc)),_0xfb2e06){const _0x5dbd9c=new SyntaxError(_0xfb2e06);if(_0x394b8[_0xb87fc6(0x2fb)]===0x0)throw _0x5dbd9c;_0x5c765e(_0x394b8,_0x5dbd9c);return;}const _0x5e3a30=_0x1c4c39?0x1bb:0x50,_0x2a3624=_0x101e6b(0x10)['toString'](_0xb87fc6(0x2c8)),_0x228bf6=_0x1c4c39?_0x575019[_0xb87fc6(0x20d)]:_0x458f4b['request'],_0x1b37c9=new Set();let _0xeff02a;if(_0x2b2e38[_0xb87fc6(0x2c2)]=_0x2b2e38[_0xb87fc6(0x2c2)]||(_0x1c4c39?_0x5103a7:_0x4a927b),_0x2b2e38[_0xb87fc6(0x28a)]=_0x2b2e38['defaultPort']||_0x5e3a30,_0x2b2e38[_0xb87fc6(0x2a1)]=_0xa2e432[_0xb87fc6(0x2a1)]||_0x5e3a30,_0x2b2e38[_0xb87fc6(0x194)]=_0xa2e432[_0xb87fc6(0x1fc)][_0xb87fc6(0x1bf)]('[')?_0xa2e432[_0xb87fc6(0x1fc)][_0xb87fc6(0x1d6)](0x1,-0x1):_0xa2e432[_0xb87fc6(0x1fc)],_0x2b2e38[_0xb87fc6(0x253)]={..._0x2b2e38[_0xb87fc6(0x253)],'Sec-WebSocket-Version':_0x2b2e38['protocolVersion'],'Sec-WebSocket-Key':_0x2a3624,'Connection':_0xb87fc6(0x160),'Upgrade':_0xb87fc6(0x304)},_0x2b2e38[_0xb87fc6(0x29e)]=_0xa2e432[_0xb87fc6(0x303)]+_0xa2e432[_0xb87fc6(0x237)],_0x2b2e38[_0xb87fc6(0x218)]=_0x2b2e38['handshakeTimeout'],_0x2b2e38[_0xb87fc6(0x2c5)]&&(_0xeff02a=new _0x380cbb(_0x2b2e38[_0xb87fc6(0x2c5)]!==!0x0?_0x2b2e38['perMessageDeflate']:{},!0x1,_0x2b2e38[_0xb87fc6(0x1de)]),_0x2b2e38[_0xb87fc6(0x253)][_0xb87fc6(0x1ad)]=_0x42d531({[_0x380cbb['extensionName']]:_0xeff02a[_0xb87fc6(0x1ac)]()})),_0x312f69['length']){for(const _0x31d0c9 of _0x312f69){if(typeof _0x31d0c9!='string'||!_0x466e07['test'](_0x31d0c9)||_0x1b37c9[_0xb87fc6(0x181)](_0x31d0c9))throw new SyntaxError(_0xb87fc6(0x206));_0x1b37c9['add'](_0x31d0c9);}_0x2b2e38['headers'][_0xb87fc6(0x1a1)]=_0x312f69['join'](',');}if(_0x2b2e38[_0xb87fc6(0x2d7)]&&(_0x2b2e38['protocolVersion']<0xd?_0x2b2e38[_0xb87fc6(0x253)][_0xb87fc6(0x283)]=_0x2b2e38[_0xb87fc6(0x2d7)]:_0x2b2e38['headers'][_0xb87fc6(0x2f6)]=_0x2b2e38['origin']),(_0xa2e432[_0xb87fc6(0x1d7)]||_0xa2e432[_0xb87fc6(0x216)])&&(_0x2b2e38[_0xb87fc6(0x30f)]=_0xa2e432['username']+':'+_0xa2e432[_0xb87fc6(0x216)]),_0x1780e5){const _0x4b9e77=_0x2b2e38['path'][_0xb87fc6(0x219)](':');_0x2b2e38['socketPath']=_0x4b9e77[0x0],_0x2b2e38[_0xb87fc6(0x29e)]=_0x4b9e77[0x1];}let _0x125bb8;if(_0x2b2e38[_0xb87fc6(0x226)]){if(_0x394b8[_0xb87fc6(0x2fb)]===0x0){_0x394b8['_originalIpc']=_0x1780e5,_0x394b8[_0xb87fc6(0x2ed)]=_0x1c4c39,_0x394b8[_0xb87fc6(0x1e4)]=_0x1780e5?_0x2b2e38['socketPath']:_0xa2e432[_0xb87fc6(0x194)];const _0x16cd9a=_0x5b11b8&&_0x5b11b8[_0xb87fc6(0x253)];if(_0x5b11b8={..._0x5b11b8,'headers':{}},_0x16cd9a){for(const [_0x525f10,_0x19f736]of Object[_0xb87fc6(0x271)](_0x16cd9a))_0x5b11b8[_0xb87fc6(0x253)][_0x525f10[_0xb87fc6(0x213)]()]=_0x19f736;}}else{if(_0x394b8[_0xb87fc6(0x1c8)](_0xb87fc6(0x299))===0x0){const _0x424049=_0x1780e5?_0x394b8[_0xb87fc6(0x1c1)]?_0x2b2e38[_0xb87fc6(0x186)]===_0x394b8['_originalHostOrSocketPath']:!0x1:_0x394b8['_originalIpc']?!0x1:_0xa2e432[_0xb87fc6(0x194)]===_0x394b8['_originalHostOrSocketPath'];(!_0x424049||_0x394b8[_0xb87fc6(0x2ed)]&&!_0x1c4c39)&&(delete _0x2b2e38[_0xb87fc6(0x253)]['authorization'],delete _0x2b2e38[_0xb87fc6(0x253)][_0xb87fc6(0x266)],_0x424049||delete _0x2b2e38[_0xb87fc6(0x253)][_0xb87fc6(0x194)],_0x2b2e38['auth']=void 0x0);}}_0x2b2e38[_0xb87fc6(0x30f)]&&!_0x5b11b8[_0xb87fc6(0x253)]['authorization']&&(_0x5b11b8[_0xb87fc6(0x253)]['authorization']=_0xb87fc6(0x204)+Buffer['from'](_0x2b2e38[_0xb87fc6(0x30f)])[_0xb87fc6(0x175)]('base64')),_0x125bb8=_0x394b8[_0xb87fc6(0x20c)]=_0x228bf6(_0x2b2e38),_0x394b8[_0xb87fc6(0x2fb)]&&_0x394b8[_0xb87fc6(0x2cf)]('redirect',_0x394b8[_0xb87fc6(0x231)],_0x125bb8);}else _0x125bb8=_0x394b8[_0xb87fc6(0x20c)]=_0x228bf6(_0x2b2e38);_0x2b2e38['timeout']&&_0x125bb8['on'](_0xb87fc6(0x218),()=>{const _0x2fe2e5=_0xb87fc6;_0x3b1dd4(_0x394b8,_0x125bb8,_0x2fe2e5(0x2ad));}),_0x125bb8['on'](_0xb87fc6(0x26d),_0x16ca39=>{const _0x2b8049=_0xb87fc6;_0x125bb8===null||_0x125bb8[_0x2a481e]||(_0x125bb8=_0x394b8[_0x2b8049(0x20c)]=null,_0x5c765e(_0x394b8,_0x16ca39));}),_0x125bb8['on'](_0xb87fc6(0x26c),_0x46c25d=>{const _0x375223=_0xb87fc6,_0x476c6f=_0x46c25d['headers'][_0x375223(0x2b8)],_0x4a05b8=_0x46c25d['statusCode'];if(_0x476c6f&&_0x2b2e38['followRedirects']&&_0x4a05b8>=0x12c&&_0x4a05b8<0x190){if(++_0x394b8[_0x375223(0x2fb)]>_0x2b2e38[_0x375223(0x250)]){_0x3b1dd4(_0x394b8,_0x125bb8,'Maximum\x20redirects\x20exceeded');return;}_0x125bb8[_0x375223(0x2e1)]();let _0x1f1abb;try{_0x1f1abb=new _0x3f17dd(_0x476c6f,_0x30e891);}catch{const _0x2feaae=new SyntaxError(_0x375223(0x167)+_0x476c6f);_0x5c765e(_0x394b8,_0x2feaae);return;}_0x14d2e0(_0x394b8,_0x1f1abb,_0x312f69,_0x5b11b8);}else _0x394b8[_0x375223(0x2cf)](_0x375223(0x1e3),_0x125bb8,_0x46c25d)||_0x3b1dd4(_0x394b8,_0x125bb8,'Unexpected\x20server\x20response:\x20'+_0x46c25d['statusCode']);}),_0x125bb8['on'](_0xb87fc6(0x2a8),(_0x2bada5,_0x5830ac,_0x32a8a7)=>{const _0x2425bd=_0xb87fc6;if(_0x394b8[_0x2425bd(0x2cf)](_0x2425bd(0x2a8),_0x2bada5),_0x394b8[_0x2425bd(0x21a)]!==_0x29ac49[_0x2425bd(0x2f8)])return;_0x125bb8=_0x394b8['_req']=null;const _0x42ab5b=_0x2bada5[_0x2425bd(0x253)]['upgrade'];if(_0x42ab5b===void 0x0||_0x42ab5b['toLowerCase']()!==_0x2425bd(0x304)){_0x3b1dd4(_0x394b8,_0x5830ac,_0x2425bd(0x2a7));return;}const _0x3c3d14=_0x40ce33(_0x2425bd(0x241))[_0x2425bd(0x2f0)](_0x2a3624+_0x5664e4)[_0x2425bd(0x207)](_0x2425bd(0x2c8));if(_0x2bada5[_0x2425bd(0x253)][_0x2425bd(0x27e)]!==_0x3c3d14){_0x3b1dd4(_0x394b8,_0x5830ac,'Invalid\x20Sec-WebSocket-Accept\x20header');return;}const _0x4ebec1=_0x2bada5[_0x2425bd(0x253)][_0x2425bd(0x305)];let _0x4c7d4e;if(_0x4ebec1!==void 0x0?_0x1b37c9[_0x2425bd(0x2fe)]?_0x1b37c9[_0x2425bd(0x181)](_0x4ebec1)||(_0x4c7d4e=_0x2425bd(0x2b9)):_0x4c7d4e='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0x1b37c9[_0x2425bd(0x2fe)]&&(_0x4c7d4e='Server\x20sent\x20no\x20subprotocol'),_0x4c7d4e){_0x3b1dd4(_0x394b8,_0x5830ac,_0x4c7d4e);return;}_0x4ebec1&&(_0x394b8[_0x2425bd(0x2e4)]=_0x4ebec1);const _0x3e382b=_0x2bada5[_0x2425bd(0x253)][_0x2425bd(0x24d)];if(_0x3e382b!==void 0x0){if(!_0xeff02a){_0x3b1dd4(_0x394b8,_0x5830ac,'Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested');return;}let _0x53838e;try{_0x53838e=_0x508552(_0x3e382b);}catch{_0x3b1dd4(_0x394b8,_0x5830ac,_0x2425bd(0x168));return;}const _0x5e11c8=Object[_0x2425bd(0x27f)](_0x53838e);if(_0x5e11c8['length']!==0x1||_0x5e11c8[0x0]!==_0x380cbb[_0x2425bd(0x23b)]){_0x3b1dd4(_0x394b8,_0x5830ac,_0x2425bd(0x301));return;}try{_0xeff02a['accept'](_0x53838e[_0x380cbb[_0x2425bd(0x23b)]]);}catch{_0x3b1dd4(_0x394b8,_0x5830ac,_0x2425bd(0x168));return;}_0x394b8[_0x2425bd(0x1b8)][_0x380cbb[_0x2425bd(0x23b)]]=_0xeff02a;}_0x394b8[_0x2425bd(0x30c)](_0x5830ac,_0x32a8a7,{'allowSynchronousEvents':_0x2b2e38[_0x2425bd(0x269)],'generateMask':_0x2b2e38['generateMask'],'maxPayload':_0x2b2e38['maxPayload'],'skipUTF8Validation':_0x2b2e38['skipUTF8Validation']});}),_0x2b2e38['finishRequest']?_0x2b2e38['finishRequest'](_0x125bb8,_0x394b8):_0x125bb8[_0xb87fc6(0x258)]();}function _0x5c765e(_0x5ac4f3,_0x11365a){const _0x2656bd=_0x4fef64;_0x5ac4f3['_readyState']=_0x29ac49[_0x2656bd(0x1ce)],_0x5ac4f3[_0x2656bd(0x1b5)]=!0x0,_0x5ac4f3[_0x2656bd(0x2cf)](_0x2656bd(0x26d),_0x11365a),_0x5ac4f3[_0x2656bd(0x1f9)]();}function _0x4a927b(_0x23ebe2){const _0x70dffd=_0x4fef64;return _0x23ebe2[_0x70dffd(0x29e)]=_0x23ebe2['socketPath'],_0xe89ef5['connect'](_0x23ebe2);}function _0x5103a7(_0x3b50f8){const _0x5afb5b=_0x4fef64;return _0x3b50f8[_0x5afb5b(0x29e)]=void 0x0,!_0x3b50f8[_0x5afb5b(0x1b0)]&&_0x3b50f8[_0x5afb5b(0x1b0)]!==''&&(_0x3b50f8[_0x5afb5b(0x1b0)]=_0xe89ef5[_0x5afb5b(0x1b7)](_0x3b50f8[_0x5afb5b(0x194)])?'':_0x3b50f8[_0x5afb5b(0x194)]),_0x5363b9[_0x5afb5b(0x280)](_0x3b50f8);}function _0x3b1dd4(_0x200c1d,_0x2e6dbf,_0x47f231){const _0x3b79ea=_0x4fef64;_0x200c1d[_0x3b79ea(0x2ce)]=_0x29ac49[_0x3b79ea(0x1ce)];const _0x2597a9=new Error(_0x47f231);Error[_0x3b79ea(0x229)](_0x2597a9,_0x3b1dd4),_0x2e6dbf[_0x3b79ea(0x2b2)]?(_0x2e6dbf[_0x2a481e]=!0x0,_0x2e6dbf[_0x3b79ea(0x2e1)](),_0x2e6dbf['socket']&&!_0x2e6dbf[_0x3b79ea(0x2e3)][_0x3b79ea(0x1f7)]&&_0x2e6dbf[_0x3b79ea(0x2e3)][_0x3b79ea(0x225)](),process['nextTick'](_0x5c765e,_0x200c1d,_0x2597a9)):(_0x2e6dbf[_0x3b79ea(0x225)](_0x2597a9),_0x2e6dbf[_0x3b79ea(0x2cd)](_0x3b79ea(0x26d),_0x200c1d['emit'][_0x3b79ea(0x2e8)](_0x200c1d,_0x3b79ea(0x26d))),_0x2e6dbf[_0x3b79ea(0x2cd)](_0x3b79ea(0x1ae),_0x200c1d['emitClose'][_0x3b79ea(0x2e8)](_0x200c1d)));}function _0x232f40(_0x1df3ec,_0x4dc38d,_0xddf527){const _0x8f1ceb=_0x4fef64;if(_0x4dc38d){const _0x210292=_0x3ab86a(_0x4dc38d)?_0x4dc38d[_0x8f1ceb(0x2fe)]:_0x24b429(_0x4dc38d)['length'];_0x1df3ec[_0x8f1ceb(0x277)]?_0x1df3ec['_sender']['_bufferedBytes']+=_0x210292:_0x1df3ec[_0x8f1ceb(0x198)]+=_0x210292;}if(_0xddf527){const _0x533430=new Error(_0x8f1ceb(0x247)+_0x1df3ec[_0x8f1ceb(0x21a)]+'\x20('+_0x2e3ea7[_0x1df3ec[_0x8f1ceb(0x21a)]]+')');process['nextTick'](_0xddf527,_0x533430);}}function _0x573026(_0x3ab4a3,_0x268935){const _0x4cc512=_0x4fef64,_0x33fa2e=this[_0x27e7b7];_0x33fa2e[_0x4cc512(0x29b)]=!0x0,_0x33fa2e[_0x4cc512(0x2f1)]=_0x268935,_0x33fa2e[_0x4cc512(0x239)]=_0x3ab4a3,_0x33fa2e[_0x4cc512(0x277)][_0x27e7b7]!==void 0x0&&(_0x33fa2e['_socket'][_0x4cc512(0x17a)]('data',_0xa97a7f),process[_0x4cc512(0x2a6)](_0x1528c5,_0x33fa2e[_0x4cc512(0x277)]),_0x3ab4a3===0x3ed?_0x33fa2e[_0x4cc512(0x1ae)]():_0x33fa2e['close'](_0x3ab4a3,_0x268935));}function _0x4bc017(){const _0x5ab36c=_0x4fef64,_0x2c1355=this[_0x27e7b7];_0x2c1355[_0x5ab36c(0x291)]||_0x2c1355[_0x5ab36c(0x277)][_0x5ab36c(0x227)]();}function _0x18cfb3(_0xb21e39){const _0x5d6e5a=_0x4fef64,_0x25232b=this[_0x27e7b7];_0x25232b[_0x5d6e5a(0x277)][_0x27e7b7]!==void 0x0&&(_0x25232b['_socket'][_0x5d6e5a(0x17a)](_0x5d6e5a(0x296),_0xa97a7f),process[_0x5d6e5a(0x2a6)](_0x1528c5,_0x25232b['_socket']),_0x25232b[_0x5d6e5a(0x1ae)](_0xb21e39[_0x2494c3])),_0x25232b['_errorEmitted']||(_0x25232b[_0x5d6e5a(0x1b5)]=!0x0,_0x25232b['emit'](_0x5d6e5a(0x26d),_0xb21e39));}function _0x592bbe(){const _0x21eef2=_0x4fef64;this[_0x27e7b7][_0x21eef2(0x1f9)]();}function _0x291bbd(_0x180a6c,_0x417c8c){const _0x5bf1d6=_0x4fef64;this[_0x27e7b7][_0x5bf1d6(0x2cf)](_0x5bf1d6(0x19c),_0x180a6c,_0x417c8c);}function _0x29e9f0(_0x1490e4){const _0x39e1ef=_0x4fef64,_0x33f601=this[_0x27e7b7];_0x33f601[_0x39e1ef(0x29d)]&&_0x33f601['pong'](_0x1490e4,!this[_0x39e1ef(0x1c3)],_0x4218aa),_0x33f601['emit'](_0x39e1ef(0x178),_0x1490e4);}function _0x32b696(_0x4b516d){const _0x3c21aa=_0x4fef64;this[_0x27e7b7][_0x3c21aa(0x2cf)]('pong',_0x4b516d);}function _0x1528c5(_0xe489d0){_0xe489d0['resume']();}function _0x556a81(_0xe16392){const _0x12176a=_0x4fef64,_0x46a008=this[_0x27e7b7];_0x46a008['readyState']!==_0x29ac49[_0x12176a(0x1e9)]&&(_0x46a008['readyState']===_0x29ac49[_0x12176a(0x1be)]&&(_0x46a008[_0x12176a(0x2ce)]=_0x29ac49['CLOSING'],_0x28a871(_0x46a008)),this[_0x12176a(0x277)][_0x12176a(0x258)](),_0x46a008['_errorEmitted']||(_0x46a008[_0x12176a(0x1b5)]=!0x0,_0x46a008[_0x12176a(0x2cf)](_0x12176a(0x26d),_0xe16392)));}function _0x28a871(_0x5b1c5c){const _0x3a8539=_0x4fef64;_0x5b1c5c[_0x3a8539(0x262)]=setTimeout(_0x5b1c5c['_socket']['destroy'][_0x3a8539(0x2e8)](_0x5b1c5c[_0x3a8539(0x277)]),_0x2343cc);}function _0x44737a(){const _0x26fb44=_0x4fef64,_0x1bdbc5=this[_0x27e7b7];this[_0x26fb44(0x17a)]('close',_0x44737a),this[_0x26fb44(0x17a)](_0x26fb44(0x296),_0xa97a7f),this[_0x26fb44(0x17a)](_0x26fb44(0x258),_0x347fda),_0x1bdbc5[_0x26fb44(0x2ce)]=_0x29ac49['CLOSING'];let _0xa688dc;!this[_0x26fb44(0x30d)]['endEmitted']&&!_0x1bdbc5[_0x26fb44(0x29b)]&&!_0x1bdbc5[_0x26fb44(0x174)][_0x26fb44(0x24f)][_0x26fb44(0x17b)]&&(_0xa688dc=_0x1bdbc5[_0x26fb44(0x277)][_0x26fb44(0x224)]())!==null&&_0x1bdbc5[_0x26fb44(0x174)][_0x26fb44(0x276)](_0xa688dc),_0x1bdbc5[_0x26fb44(0x174)][_0x26fb44(0x258)](),this[_0x27e7b7]=void 0x0,clearTimeout(_0x1bdbc5[_0x26fb44(0x262)]),_0x1bdbc5[_0x26fb44(0x174)]['_writableState'][_0x26fb44(0x221)]||_0x1bdbc5[_0x26fb44(0x174)][_0x26fb44(0x24f)]['errorEmitted']?_0x1bdbc5['emitClose']():(_0x1bdbc5[_0x26fb44(0x174)]['on'](_0x26fb44(0x26d),_0x592bbe),_0x1bdbc5[_0x26fb44(0x174)]['on'](_0x26fb44(0x28d),_0x592bbe));}function _0xa97a7f(_0xcb5b7e){const _0x258f42=_0x4fef64;this[_0x27e7b7][_0x258f42(0x174)]['write'](_0xcb5b7e)||this[_0x258f42(0x21e)]();}function _0x347fda(){const _0x2eaa8f=_0x4fef64,_0x5c03d5=this[_0x27e7b7];_0x5c03d5['_readyState']=_0x29ac49[_0x2eaa8f(0x1ce)],_0x5c03d5['_receiver']['end'](),this[_0x2eaa8f(0x258)]();}function _0x4407d7(){const _0x302915=_0x4fef64,_0x5b1e23=this[_0x27e7b7];this[_0x302915(0x17a)]('error',_0x4407d7),this['on'](_0x302915(0x26d),_0x4218aa),_0x5b1e23&&(_0x5b1e23[_0x302915(0x2ce)]=_0x29ac49[_0x302915(0x1ce)],this['destroy']());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x181031}=_0x4a50d3;function _0x3f5837(_0x4fdef1){const _0x287789=_0x4097;_0x4fdef1[_0x287789(0x2cf)](_0x287789(0x1ae));}function _0x39809a(){const _0x403bce=_0x4097;!this[_0x403bce(0x1f7)]&&this[_0x403bce(0x24f)]['finished']&&this[_0x403bce(0x225)]();}function _0x266d35(_0x50995d){const _0x2d9991=_0x4097;this['removeListener'](_0x2d9991(0x26d),_0x266d35),this['destroy'](),this[_0x2d9991(0x1c8)](_0x2d9991(0x26d))===0x0&&this[_0x2d9991(0x2cf)](_0x2d9991(0x26d),_0x50995d);}function _0x572f8e(_0x2145d3,_0x438d21){const _0x311240=_0x4097;let _0x4ee17e=!0x0;const _0x1c9735=new _0x181031({..._0x438d21,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x2145d3['on'](_0x311240(0x19c),function(_0x26cabb,_0x414798){const _0x148075=_0x311240,_0x2d952f=!_0x414798&&_0x1c9735['_readableState'][_0x148075(0x2c0)]?_0x26cabb[_0x148075(0x175)]():_0x26cabb;_0x1c9735[_0x148075(0x273)](_0x2d952f)||_0x2145d3[_0x148075(0x21e)]();}),_0x2145d3[_0x311240(0x2cd)](_0x311240(0x26d),function(_0x30c35a){const _0x20b828=_0x311240;_0x1c9735[_0x20b828(0x1f7)]||(_0x4ee17e=!0x1,_0x1c9735[_0x20b828(0x225)](_0x30c35a));}),_0x2145d3['once'](_0x311240(0x1ae),function(){const _0x13a678=_0x311240;_0x1c9735[_0x13a678(0x1f7)]||_0x1c9735[_0x13a678(0x273)](null);}),_0x1c9735[_0x311240(0x2be)]=function(_0x5418df,_0x30f68b){const _0x27a024=_0x311240;if(_0x2145d3[_0x27a024(0x21a)]===_0x2145d3[_0x27a024(0x1e9)]){_0x30f68b(_0x5418df),process[_0x27a024(0x2a6)](_0x3f5837,_0x1c9735);return;}let _0x30ad03=!0x1;_0x2145d3[_0x27a024(0x2cd)]('error',function(_0x1ef298){_0x30ad03=!0x0,_0x30f68b(_0x1ef298);}),_0x2145d3['once'](_0x27a024(0x1ae),function(){_0x30ad03||_0x30f68b(_0x5418df),process['nextTick'](_0x3f5837,_0x1c9735);}),_0x4ee17e&&_0x2145d3[_0x27a024(0x1b2)]();},_0x1c9735[_0x311240(0x294)]=function(_0x225aea){const _0xaa165f=_0x311240;if(_0x2145d3[_0xaa165f(0x21a)]===_0x2145d3[_0xaa165f(0x2f8)]){_0x2145d3[_0xaa165f(0x2cd)](_0xaa165f(0x1fa),function(){const _0x38ac8f=_0xaa165f;_0x1c9735[_0x38ac8f(0x294)](_0x225aea);});return;}_0x2145d3['_socket']!==null&&(_0x2145d3[_0xaa165f(0x277)][_0xaa165f(0x24f)][_0xaa165f(0x221)]?(_0x225aea(),_0x1c9735[_0xaa165f(0x30d)]['endEmitted']&&_0x1c9735['destroy']()):(_0x2145d3[_0xaa165f(0x277)]['once'](_0xaa165f(0x28d),function(){_0x225aea();}),_0x2145d3[_0xaa165f(0x1ae)]()));},_0x1c9735[_0x311240(0x185)]=function(){const _0x2dc90e=_0x311240;_0x2145d3[_0x2dc90e(0x291)]&&_0x2145d3[_0x2dc90e(0x227)]();},_0x1c9735[_0x311240(0x1ed)]=function(_0x492fdf,_0x5d0dee,_0x4525f5){const _0x3b59ad=_0x311240;if(_0x2145d3[_0x3b59ad(0x21a)]===_0x2145d3['CONNECTING']){_0x2145d3[_0x3b59ad(0x2cd)](_0x3b59ad(0x1fa),function(){const _0x2386ee=_0x3b59ad;_0x1c9735[_0x2386ee(0x1ed)](_0x492fdf,_0x5d0dee,_0x4525f5);});return;}_0x2145d3[_0x3b59ad(0x1da)](_0x492fdf,_0x4525f5);},_0x1c9735['on']('end',_0x39809a),_0x1c9735['on'](_0x311240(0x26d),_0x266d35),_0x1c9735;}return Oe=_0x572f8e,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=jt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x2f06bf}=ne();function _0x3da9c0(_0x3975ad){const _0x32cbf3=_0x4097,_0x41aa64=new Set();let _0xa73033=-0x1,_0xc5b8c0=-0x1,_0x30abf5=0x0;for(_0x30abf5;_0x30abf5<_0x3975ad[_0x32cbf3(0x202)];_0x30abf5++){const _0x25b40f=_0x3975ad['charCodeAt'](_0x30abf5);if(_0xc5b8c0===-0x1&&_0x2f06bf[_0x25b40f]===0x1)_0xa73033===-0x1&&(_0xa73033=_0x30abf5);else{if(_0x30abf5!==0x0&&(_0x25b40f===0x20||_0x25b40f===0x9))_0xc5b8c0===-0x1&&_0xa73033!==-0x1&&(_0xc5b8c0=_0x30abf5);else{if(_0x25b40f===0x2c){if(_0xa73033===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x30abf5);_0xc5b8c0===-0x1&&(_0xc5b8c0=_0x30abf5);const _0x1ae7c6=_0x3975ad[_0x32cbf3(0x1d6)](_0xa73033,_0xc5b8c0);if(_0x41aa64['has'](_0x1ae7c6))throw new SyntaxError(_0x32cbf3(0x1ea)+_0x1ae7c6+_0x32cbf3(0x163));_0x41aa64['add'](_0x1ae7c6),_0xa73033=_0xc5b8c0=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x30abf5);}}}if(_0xa73033===-0x1||_0xc5b8c0!==-0x1)throw new SyntaxError(_0x32cbf3(0x15e));const _0x48a142=_0x3975ad[_0x32cbf3(0x1d6)](_0xa73033,_0x30abf5);if(_0x41aa64[_0x32cbf3(0x181)](_0x48a142))throw new SyntaxError(_0x32cbf3(0x1ea)+_0x48a142+_0x32cbf3(0x163));return _0x41aa64[_0x32cbf3(0x162)](_0x48a142),_0x41aa64;}return Ce={'parse':_0x3da9c0},Ce;}var Te,ot;function er(){const _0x9ff66f=_0xecd734;if(ot)return Te;ot=0x1;const _0x5ddcc7=_0x25ed0d,_0x54309f=_0x215937,{Duplex:_0xfecefb}=_0x4a50d3,{createHash:_0x324f05}=_0x2bea3d,_0x23aec3=pt(),_0x26de34=he(),_0x44b767=Jt(),_0x7b2211=Ie(),{GUID:_0x293931,kWebSocket:_0x5616f0}=V(),_0x4c297b=/^[+/0-9A-Za-z]{22}==$/,_0x2100d2=0x0,_0x1cc565=0x1,_0x5239c8=0x2;class _0x136290 extends _0x5ddcc7{constructor(_0x38c9d9,_0x351402){const _0x44d1ff=_0x4097;if(super(),_0x38c9d9={'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':_0x7b2211,..._0x38c9d9},_0x38c9d9['port']==null&&!_0x38c9d9['server']&&!_0x38c9d9[_0x44d1ff(0x2db)]||_0x38c9d9[_0x44d1ff(0x2a1)]!=null&&(_0x38c9d9['server']||_0x38c9d9[_0x44d1ff(0x2db)])||_0x38c9d9['server']&&_0x38c9d9[_0x44d1ff(0x2db)])throw new TypeError(_0x44d1ff(0x282));if(_0x38c9d9[_0x44d1ff(0x2a1)]!=null?(this['_server']=_0x54309f[_0x44d1ff(0x27c)]((_0x2aced1,_0x278247)=>{const _0x2b7a61=_0x44d1ff,_0x27c6b5=_0x54309f[_0x2b7a61(0x161)][0x1aa];_0x278247['writeHead'](0x1aa,{'Content-Length':_0x27c6b5[_0x2b7a61(0x202)],'Content-Type':_0x2b7a61(0x1c9)}),_0x278247[_0x2b7a61(0x258)](_0x27c6b5);}),this[_0x44d1ff(0x1dc)][_0x44d1ff(0x22e)](_0x38c9d9[_0x44d1ff(0x2a1)],_0x38c9d9[_0x44d1ff(0x194)],_0x38c9d9['backlog'],_0x351402)):_0x38c9d9[_0x44d1ff(0x179)]&&(this[_0x44d1ff(0x1dc)]=_0x38c9d9[_0x44d1ff(0x179)]),this[_0x44d1ff(0x1dc)]){const _0x36da45=this[_0x44d1ff(0x2cf)]['bind'](this,_0x44d1ff(0x22d));this[_0x44d1ff(0x2b0)]=_0x44b364(this[_0x44d1ff(0x1dc)],{'listening':this[_0x44d1ff(0x2cf)][_0x44d1ff(0x2e8)](this,_0x44d1ff(0x220)),'error':this[_0x44d1ff(0x2cf)][_0x44d1ff(0x2e8)](this,'error'),'upgrade':(_0x583a21,_0x431dd2,_0x3e3714)=>{const _0x4f3c21=_0x44d1ff;this[_0x4f3c21(0x1c0)](_0x583a21,_0x431dd2,_0x3e3714,_0x36da45);}});}_0x38c9d9[_0x44d1ff(0x2c5)]===!0x0&&(_0x38c9d9[_0x44d1ff(0x2c5)]={}),_0x38c9d9[_0x44d1ff(0x2f2)]&&(this[_0x44d1ff(0x284)]=new Set(),this[_0x44d1ff(0x27d)]=!0x1),this[_0x44d1ff(0x2ff)]=_0x38c9d9,this[_0x44d1ff(0x1af)]=_0x2100d2;}[_0x9ff66f(0x28b)](){const _0x43a9de=_0x9ff66f;if(this[_0x43a9de(0x2ff)][_0x43a9de(0x2db)])throw new Error(_0x43a9de(0x1d5));return this[_0x43a9de(0x1dc)]?this[_0x43a9de(0x1dc)][_0x43a9de(0x28b)]():null;}['close'](_0x5a1aad){const _0xa03d24=_0x9ff66f;if(this[_0xa03d24(0x1af)]===_0x5239c8){_0x5a1aad&&this[_0xa03d24(0x2cd)](_0xa03d24(0x1ae),()=>{const _0x6c1ce=_0xa03d24;_0x5a1aad(new Error(_0x6c1ce(0x2a9)));}),process[_0xa03d24(0x2a6)](_0x37f437,this);return;}if(_0x5a1aad&&this[_0xa03d24(0x2cd)](_0xa03d24(0x1ae),_0x5a1aad),this[_0xa03d24(0x1af)]!==_0x1cc565){if(this[_0xa03d24(0x1af)]=_0x1cc565,this['options'][_0xa03d24(0x2db)]||this[_0xa03d24(0x2ff)][_0xa03d24(0x179)])this[_0xa03d24(0x1dc)]&&(this[_0xa03d24(0x2b0)](),this[_0xa03d24(0x2b0)]=this['_server']=null),this[_0xa03d24(0x284)]?this['clients'][_0xa03d24(0x2fe)]?this[_0xa03d24(0x27d)]=!0x0:process['nextTick'](_0x37f437,this):process[_0xa03d24(0x2a6)](_0x37f437,this);else{const _0x1c9dea=this[_0xa03d24(0x1dc)];this[_0xa03d24(0x2b0)](),this[_0xa03d24(0x2b0)]=this[_0xa03d24(0x1dc)]=null,_0x1c9dea[_0xa03d24(0x1ae)](()=>{_0x37f437(this);});}}}[_0x9ff66f(0x1a5)](_0x256753){const _0x1c21f3=_0x9ff66f;if(this[_0x1c21f3(0x2ff)][_0x1c21f3(0x29e)]){const _0x15fd85=_0x256753[_0x1c21f3(0x231)]['indexOf']('?');if((_0x15fd85!==-0x1?_0x256753['url'][_0x1c21f3(0x1d6)](0x0,_0x15fd85):_0x256753[_0x1c21f3(0x231)])!==this[_0x1c21f3(0x2ff)][_0x1c21f3(0x29e)])return!0x1;}return!0x0;}[_0x9ff66f(0x1c0)](_0x169f13,_0x3958db,_0x43f197,_0x5a0080){const _0x43cfd6=_0x9ff66f;_0x3958db['on']('error',_0x9aebd8);const _0x4016c5=_0x169f13[_0x43cfd6(0x253)]['sec-websocket-key'],_0x38e73a=_0x169f13[_0x43cfd6(0x253)][_0x43cfd6(0x2a8)],_0x24da57=+_0x169f13[_0x43cfd6(0x253)][_0x43cfd6(0x263)];if(_0x169f13['method']!==_0x43cfd6(0x23c)){_0x3d1db2(this,_0x169f13,_0x3958db,0x195,_0x43cfd6(0x2d6));return;}if(_0x38e73a===void 0x0||_0x38e73a[_0x43cfd6(0x213)]()!==_0x43cfd6(0x304)){_0x3d1db2(this,_0x169f13,_0x3958db,0x190,_0x43cfd6(0x2a7));return;}if(_0x4016c5===void 0x0||!_0x4c297b[_0x43cfd6(0x22c)](_0x4016c5)){_0x3d1db2(this,_0x169f13,_0x3958db,0x190,_0x43cfd6(0x171));return;}if(_0x24da57!==0x8&&_0x24da57!==0xd){_0x3d1db2(this,_0x169f13,_0x3958db,0x190,_0x43cfd6(0x240));return;}if(!this[_0x43cfd6(0x1a5)](_0x169f13)){_0x2c8045(_0x3958db,0x190);return;}const _0x4c506c=_0x169f13[_0x43cfd6(0x253)][_0x43cfd6(0x305)];let _0x3772fa=new Set();if(_0x4c506c!==void 0x0)try{_0x3772fa=_0x44b767[_0x43cfd6(0x293)](_0x4c506c);}catch{_0x3d1db2(this,_0x169f13,_0x3958db,0x190,_0x43cfd6(0x267));return;}const _0x56e342=_0x169f13[_0x43cfd6(0x253)]['sec-websocket-extensions'],_0x561e51={};if(this['options'][_0x43cfd6(0x2c5)]&&_0x56e342!==void 0x0){const _0x5c6c49=new _0x26de34(this[_0x43cfd6(0x2ff)][_0x43cfd6(0x2c5)],!0x0,this['options'][_0x43cfd6(0x1de)]);try{const _0x43e34f=_0x23aec3[_0x43cfd6(0x293)](_0x56e342);_0x43e34f[_0x26de34[_0x43cfd6(0x23b)]]&&(_0x5c6c49['accept'](_0x43e34f[_0x26de34[_0x43cfd6(0x23b)]]),_0x561e51[_0x26de34['extensionName']]=_0x5c6c49);}catch{_0x3d1db2(this,_0x169f13,_0x3958db,0x190,_0x43cfd6(0x197));return;}}if(this[_0x43cfd6(0x2ff)]['verifyClient']){const _0xf9bf7d={'origin':_0x169f13[_0x43cfd6(0x253)][''+(_0x24da57===0x8?_0x43cfd6(0x2e9):_0x43cfd6(0x2d7))],'secure':!!(_0x169f13[_0x43cfd6(0x2e3)][_0x43cfd6(0x1ec)]||_0x169f13[_0x43cfd6(0x2e3)][_0x43cfd6(0x1e6)]),'req':_0x169f13};if(this[_0x43cfd6(0x2ff)]['verifyClient'][_0x43cfd6(0x202)]===0x2){this[_0x43cfd6(0x2ff)]['verifyClient'](_0xf9bf7d,(_0x18ff28,_0x4ecc7b,_0x2ce9e3,_0x3da916)=>{const _0x107bf6=_0x43cfd6;if(!_0x18ff28)return _0x2c8045(_0x3958db,_0x4ecc7b||0x191,_0x2ce9e3,_0x3da916);this[_0x107bf6(0x188)](_0x561e51,_0x4016c5,_0x3772fa,_0x169f13,_0x3958db,_0x43f197,_0x5a0080);});return;}if(!this[_0x43cfd6(0x2ff)][_0x43cfd6(0x1db)](_0xf9bf7d))return _0x2c8045(_0x3958db,0x191);}this[_0x43cfd6(0x188)](_0x561e51,_0x4016c5,_0x3772fa,_0x169f13,_0x3958db,_0x43f197,_0x5a0080);}[_0x9ff66f(0x188)](_0x359ff3,_0x12182e,_0x1b9884,_0x72b4f8,_0x3a1fe2,_0x378762,_0x5cbaa7){const _0xe699c5=_0x9ff66f;if(!_0x3a1fe2[_0xe699c5(0x2af)]||!_0x3a1fe2[_0xe699c5(0x20a)])return _0x3a1fe2[_0xe699c5(0x225)]();if(_0x3a1fe2[_0x5616f0])throw new Error(_0xe699c5(0x1c6));if(this['_state']>_0x2100d2)return _0x2c8045(_0x3a1fe2,0x1f7);const _0x28a989=[_0xe699c5(0x2a4),_0xe699c5(0x1b9),_0xe699c5(0x1e2),_0xe699c5(0x1f0)+_0x324f05(_0xe699c5(0x241))[_0xe699c5(0x2f0)](_0x12182e+_0x293931)['digest'](_0xe699c5(0x2c8))],_0x3788c0=new this['options']['WebSocket'](null,void 0x0,this[_0xe699c5(0x2ff)]);if(_0x1b9884['size']){const _0x4528b0=this[_0xe699c5(0x2ff)][_0xe699c5(0x2a5)]?this['options']['handleProtocols'](_0x1b9884,_0x72b4f8):_0x1b9884[_0xe699c5(0x2e0)]()[_0xe699c5(0x1d3)]()[_0xe699c5(0x2f5)];_0x4528b0&&(_0x28a989[_0xe699c5(0x273)](_0xe699c5(0x279)+_0x4528b0),_0x3788c0[_0xe699c5(0x2e4)]=_0x4528b0);}if(_0x359ff3[_0x26de34[_0xe699c5(0x23b)]]){const _0x485d4e=_0x359ff3[_0x26de34[_0xe699c5(0x23b)]]['params'],_0x38578f=_0x23aec3[_0xe699c5(0x176)]({[_0x26de34[_0xe699c5(0x23b)]]:[_0x485d4e]});_0x28a989['push'](_0xe699c5(0x2ef)+_0x38578f),_0x3788c0[_0xe699c5(0x1b8)]=_0x359ff3;}this[_0xe699c5(0x2cf)](_0xe699c5(0x253),_0x28a989,_0x72b4f8),_0x3a1fe2[_0xe699c5(0x276)](_0x28a989[_0xe699c5(0x183)]('\x0d\x0a')[_0xe699c5(0x1e0)]('\x0d\x0a')),_0x3a1fe2[_0xe699c5(0x17a)](_0xe699c5(0x26d),_0x9aebd8),_0x3788c0['setSocket'](_0x3a1fe2,_0x378762,{'allowSynchronousEvents':this[_0xe699c5(0x2ff)][_0xe699c5(0x269)],'maxPayload':this[_0xe699c5(0x2ff)][_0xe699c5(0x1de)],'skipUTF8Validation':this[_0xe699c5(0x2ff)][_0xe699c5(0x265)]}),this[_0xe699c5(0x284)]&&(this['clients']['add'](_0x3788c0),_0x3788c0['on']('close',()=>{const _0xfae8bf=_0xe699c5;this[_0xfae8bf(0x284)][_0xfae8bf(0x1d8)](_0x3788c0),this[_0xfae8bf(0x27d)]&&!this[_0xfae8bf(0x284)][_0xfae8bf(0x2fe)]&&process[_0xfae8bf(0x2a6)](_0x37f437,this);})),_0x5cbaa7(_0x3788c0,_0x72b4f8);}}Te=_0x136290;function _0x44b364(_0x432a10,_0x363794){const _0x27d44a=_0x9ff66f;for(const _0x1a6bf8 of Object[_0x27d44a(0x27f)](_0x363794))_0x432a10['on'](_0x1a6bf8,_0x363794[_0x1a6bf8]);return function(){const _0x3ce471=_0x27d44a;for(const _0x102217 of Object[_0x3ce471(0x27f)](_0x363794))_0x432a10[_0x3ce471(0x17a)](_0x102217,_0x363794[_0x102217]);};}function _0x37f437(_0x90af91){const _0x1f8e44=_0x9ff66f;_0x90af91[_0x1f8e44(0x1af)]=_0x5239c8,_0x90af91['emit'](_0x1f8e44(0x1ae));}function _0x9aebd8(){const _0xe83612=_0x9ff66f;this[_0xe83612(0x225)]();}function _0x2c8045(_0x550e27,_0xd37f5b,_0x1bdd0d,_0x2ae13c){const _0x307b21=_0x9ff66f;_0x1bdd0d=_0x1bdd0d||_0x54309f['STATUS_CODES'][_0xd37f5b],_0x2ae13c={'Connection':'close','Content-Type':'text/html','Content-Length':Buffer[_0x307b21(0x21d)](_0x1bdd0d),..._0x2ae13c},_0x550e27[_0x307b21(0x2cd)](_0x307b21(0x28d),_0x550e27[_0x307b21(0x225)]),_0x550e27[_0x307b21(0x258)](_0x307b21(0x1c5)+_0xd37f5b+'\x20'+_0x54309f[_0x307b21(0x161)][_0xd37f5b]+'\x0d\x0a'+Object[_0x307b21(0x27f)](_0x2ae13c)['map'](_0x3ddbc=>_0x3ddbc+':\x20'+_0x2ae13c[_0x3ddbc])[_0x307b21(0x1e0)]('\x0d\x0a')+_0x307b21(0x17e)+_0x1bdd0d);}function _0x3d1db2(_0x280999,_0xb9f652,_0x10a59e,_0x53e920,_0x10f703){const _0x3628f9=_0x9ff66f;if(_0x280999[_0x3628f9(0x1c8)](_0x3628f9(0x1a0))){const _0x4e3f84=new Error(_0x10f703);Error[_0x3628f9(0x229)](_0x4e3f84,_0x3d1db2),_0x280999[_0x3628f9(0x2cf)](_0x3628f9(0x1a0),_0x4e3f84,_0x10a59e,_0xb9f652);}else _0x2c8045(_0x10a59e,_0x53e920,_0x10f703);}return Te;}er();var tr=Object[_0xecd734(0x19b)],rr=(_0x181304,_0x36836f,_0x27c6ab,_0x272bfb)=>{for(var _0x22c13a=_0x272bfb>0x1?void 0x0:_0x272bfb?tr(_0x36836f,_0x27c6ab):_0x36836f,_0x310dd7=_0x181304['length']-0x1,_0x38b04e;_0x310dd7>=0x0;_0x310dd7--)(_0x38b04e=_0x181304[_0x310dd7])&&(_0x22c13a=_0x38b04e(_0x22c13a)||_0x22c13a);return _0x22c13a;},sr=(_0x14d747,_0x17be3d)=>(_0x5efb45,_0x262d40)=>_0x17be3d(_0x5efb45,_0x262d40,_0x14d747);let Ne=class extends _0x4ec822{constructor(_0xbae56c){const _0x2804e9=_0xecd734;super(),this[_0x2804e9(0x1ef)]=_0xbae56c;}[_0xecd734(0x187)](_0x37d594){const _0x306a48=_0xecd734;var _0x33a359;const _0x1bc8eb=(_0x33a359=this[_0x306a48(0x1ef)][_0x306a48(0x170)](Be))==null?void 0x0:_0x33a359['customHeaders'];try{const _0x5ac060=new Qt(_0x37d594,{'headers':{..._0x1bc8eb}}),_0x322edf=new _0x38118();return{'URL':_0x37d594,'close':(_0x4bcb0a,_0x363e14)=>{const _0x1c7eb2=_0x306a48;_0x5ac060[_0x1c7eb2(0x1ae)](_0x4bcb0a,_0x363e14),_0x322edf[_0x1c7eb2(0x17d)]();},'send':_0x38c5cb=>{const _0x30816c=_0x306a48;_0x5ac060[_0x30816c(0x1da)](_0x38c5cb);},'open$':new _0xaccc14(_0x56b708=>{const _0x45955d=_0x306a48,_0x2b3af9=_0x299232=>_0x56b708[_0x45955d(0x1d3)](_0x299232);_0x5ac060[_0x45955d(0x268)](_0x45955d(0x1fa),_0x2b3af9),_0x322edf[_0x45955d(0x162)](_0x2eb048(()=>_0x5ac060[_0x45955d(0x1bd)](_0x45955d(0x1fa),_0x2b3af9)));})[_0x306a48(0x1d4)](_0x10d169()),'close$':new _0xaccc14(_0x5bfe59=>{const _0x3d5bfa=_0x306a48,_0x476625=_0x233b82=>_0x5bfe59[_0x3d5bfa(0x1d3)](_0x233b82);_0x5ac060[_0x3d5bfa(0x268)](_0x3d5bfa(0x1ae),_0x476625),_0x322edf['add'](_0x2eb048(()=>_0x5ac060['removeEventListener'](_0x3d5bfa(0x1ae),_0x476625)));})[_0x306a48(0x1d4)](_0x10d169()),'error$':new _0xaccc14(_0x45cb22=>{const _0x316ddc=_0x306a48,_0x3820cb=_0x472387=>_0x45cb22[_0x316ddc(0x1d3)](_0x472387);_0x5ac060[_0x316ddc(0x268)](_0x316ddc(0x26d),_0x3820cb),_0x322edf[_0x316ddc(0x162)](_0x2eb048(()=>_0x5ac060['removeEventListener'](_0x316ddc(0x26d),_0x3820cb)));})[_0x306a48(0x1d4)](_0x10d169()),'message$':new _0xaccc14(_0x15e8de=>{const _0x48f488=_0x306a48,_0x39e307=_0x2c28a8=>_0x15e8de[_0x48f488(0x1d3)](_0x2c28a8);_0x5ac060[_0x48f488(0x268)](_0x48f488(0x19c),_0x39e307),_0x322edf[_0x48f488(0x162)](_0x2eb048(()=>_0x5ac060[_0x48f488(0x1bd)](_0x48f488(0x19c),_0x39e307)));})['pipe'](_0x10d169())};}catch(_0x582dfd){return console[_0x306a48(0x26d)](_0x582dfd),null;}}};Ne=rr([sr(0x0,_0x317810)],Ne);var ir=Object['defineProperty'],nr=Object[_0xecd734(0x19b)],or=(_0x39aa5a,_0x11edc2,_0x3c9955)=>_0x11edc2 in _0x39aa5a?ir(_0x39aa5a,_0x11edc2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3c9955}):_0x39aa5a[_0x11edc2]=_0x3c9955,ar=(_0x48272e,_0x398ec9,_0x53916e,_0x2a581f)=>{const _0x165abc=_0xecd734;for(var _0x341aa3=_0x2a581f>0x1?void 0x0:_0x2a581f?nr(_0x398ec9,_0x53916e):_0x398ec9,_0x48ec00=_0x48272e[_0x165abc(0x202)]-0x1,_0x232ab1;_0x48ec00>=0x0;_0x48ec00--)(_0x232ab1=_0x48272e[_0x48ec00])&&(_0x341aa3=_0x232ab1(_0x341aa3)||_0x341aa3);return _0x341aa3;},ke=(_0x1333d2,_0x26532e)=>(_0x4cca17,_0x17c82d)=>_0x26532e(_0x4cca17,_0x17c82d,_0x1333d2),lr=(_0xd0d97,_0x30ae10,_0x130105)=>or(_0xd0d97,_0x30ae10+'',_0x130105);let Pe=class extends _0x2f671e{constructor(_0x300088=Ft,_0x5f3bca,_0x3fcb20,_0x25beb7){const _0xcfbb54=_0xecd734;_0x300088['customHeaders']||_0x5f3bca['warn']('[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.'),super(),this[_0xcfbb54(0x1ef)]=_0x3fcb20,this[_0xcfbb54(0x28c)]=_0x25beb7,this[_0xcfbb54(0x1ef)]['setConfig'](Be,_0x300088);}[_0xecd734(0x264)](){const _0x2942d4=_0xecd734;this[_0x2942d4(0x236)]();}[_0xecd734(0x236)](){const _0x1454fa=_0xecd734;_0x494ad9(this[_0x1454fa(0x28c)],[[_0x32cc5f,{'useClass':Ne}]]);}};lr(Pe,'pluginName',_0xecd734(0x287)),Pe=ar([_0x34537b(_0x34eeeb),ke(0x1,_0xdc75dc),ke(0x2,_0x317810),ke(0x3,_0x4bbd18(_0x532971))],Pe);var fr=Object[_0xecd734(0x19b)],cr=(_0x27205b,_0x5cbc40,_0x3ac770,_0x351879)=>{const _0x2e6245=_0xecd734;for(var _0x5e3b2c=_0x351879>0x1?void 0x0:_0x351879?fr(_0x5cbc40,_0x3ac770):_0x5cbc40,_0x26fa3f=_0x27205b[_0x2e6245(0x202)]-0x1,_0x4f8cef;_0x26fa3f>=0x0;_0x26fa3f--)(_0x4f8cef=_0x27205b[_0x26fa3f])&&(_0x5e3b2c=_0x4f8cef(_0x5e3b2c)||_0x5e3b2c);return _0x5e3b2c;},se=(_0x222222,_0x4edae1)=>(_0x382ecd,_0x333bcf)=>_0x4edae1(_0x382ecd,_0x333bcf,_0x222222);let at=class extends _0x5a9af8{constructor(_0x3194b0,_0x12f441,_0x2517a0,_0x202053,_0x525b43){const _0x48f00d=_0xecd734;super(_0x3194b0,_0x12f441,_0x2517a0,_0x202053,_0x525b43);const _0x362e7d=this[_0x48f00d(0x1ef)]['getConfig'](Be);this['_httpService'][_0x48f00d(0x30a)]({'interceptor':(_0x170e41,_0x522f38)=>{const _0x24c1ea=_0x48f00d;var _0x4dd6fb;const _0x33306d=_0x170e41[_0x24c1ea(0x253)];return(_0x4dd6fb=_0x362e7d==null?void 0x0:_0x362e7d[_0x24c1ea(0x29c)])!=null&&_0x4dd6fb[_0x24c1ea(0x266)]&&_0x33306d[_0x24c1ea(0x205)]('Cookie',_0x362e7d[_0x24c1ea(0x29c)]['cookie']),_0x522f38(_0x170e41);}});}async[_0xecd734(0x187)](_0x33a157){const _0x388482=_0xecd734;return this[_0x388482(0x2c3)](_0x33a157);}};at=cr([se(0x0,_0x4bbd18(_0x532971)),se(0x1,_0x4bbd18(_0x55f92b)),se(0x2,_0x317810),se(0x3,_0xdc75dc),se(0x4,_0x40f703)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};