@univerjs-pro/collaboration-client-node 0.10.6-experimental.20250904-44da50e → 0.10.6-experimental.20250904-9591d16

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 _0x13d6a6=_0x3fa4;(function(_0x1e8593,_0x3e5d7f){const _0x2f7b82=_0x3fa4,_0x4bdb67=_0x1e8593();while(!![]){try{const _0xa1f0a2=parseInt(_0x2f7b82(0x28c))/0x1*(parseInt(_0x2f7b82(0x271))/0x2)+parseInt(_0x2f7b82(0x1e7))/0x3+parseInt(_0x2f7b82(0x27d))/0x4+parseInt(_0x2f7b82(0x208))/0x5+-parseInt(_0x2f7b82(0x2a5))/0x6+-parseInt(_0x2f7b82(0x275))/0x7+-parseInt(_0x2f7b82(0x2d0))/0x8*(parseInt(_0x2f7b82(0x20c))/0x9);if(_0xa1f0a2===_0x3e5d7f)break;else _0x4bdb67['push'](_0x4bdb67['shift']());}catch(_0x490053){_0x4bdb67['push'](_0x4bdb67['shift']());}}}(_0x3a69,0x9a418));import{UniverCollaborationClientPlugin as _0x216d9b,CollaborationSocketService as _0x368881}from'@univerjs-pro/collaboration-client';import{Disposable as _0x32ac33,DisposableCollection as _0x22356f,toDisposable as _0x3e87a1,IConfigService as _0x5ccea2,DependentOn as _0x16f64f,ILogService as _0x1a6ded,Inject as _0x56dec3,Injector as _0x194be3,Plugin as _0x2b5f01,registerDependencies as _0x3164c9}from'@univerjs/core';function _0x3a69(){const _0x2e8390=['shift','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','STATUS_CODES','blob','_allowSynchronousEvents','getPayloadLength64','params','\x20(supported\x20versions:\x20','startsWith','arrayBuffer','noServer','_req','length','Module','_originalSecure','_maxPayload','emitClose','charCodeAt','fragments','number','startLoop','_readableState','warn','ws:','_paused','env','concurrencyLimit','serverNoContextTakeover','maxRedirects','cleanup','_skipUTF8Validation','Server\x20sent\x20no\x20subprotocol','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','pending','removeEventListener','isPaused','Unexpected\x20server\x20response:\x20','dataMessage','_writableState','hostname','server','getInfo','send','_redirects','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','reason','clients','shouldHandle','split','zlibDeflateOptions','compress','includes','_decompress','createConnection','servername','permessage-deflate','pluginName','_closeTimer','auth','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','Connection:\x20Upgrade','consume','data','\x0d\x0a\x0d\x0a','registerHTTPInterceptor','add','readable','normalizeParams','finish','ws+unix:','protocol','_bufferedBytes','type','_httpService','write','CLOSED','http:','server_max_window_bits','isServer','_removeListeners','encrypted','isArray','isInteger','CLOSING','writeUInt16BE','_buffers','buffer','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','WS_ERR_UNEXPECTED_RSV_2_3','_mask','pong','WS_NO_BUFFER_UTIL','allowSynchronousEvents','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','CONNECTING','getConfig','dispose','Invalid\x20URL:\x20','options','dispatch','catch','headers','_protocol','getMask','Sec-WebSocket-Protocol:\x20','kRun','url','text/html','client','pipe','Invalid\x20HTTP\x20method','wss:','_firstFragment','replace','client_max_window_bits','format','search','alloc','maxPayload','_payloadLength','unshift','RSV1\x20must\x20be\x20clear','isValidUTF8','socket','concat','_extensions','_fragments','acceptAsClient','password','onmessage','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','dequeue','WS_ERR_UNEXPECTED_MASK','Server\x20sent\x20an\x20invalid\x20subprotocol','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','_maskBuffer','jobs','HTTP/1.1\x20101\x20Switching\x20Protocols','client_no_context_takeover','from','reset','decompress','_injector','isBuffer','invalid\x20payload\x20length\x20','pause','close','WebSocket\x20is\x20not\x20open:\x20readyState\x20','connection','Invalid\x20Sec-WebSocket-Extensions\x20header','set','digest','origin','kReason','wsClientError','_closeMessage','timeout','endEmitted','_options','OPEN','MASK\x20must\x20be\x20clear','errorEmitted','server_no_context_takeover','wasClean','destroy','createServer','_isServer','2818206MeeSuP','listening','entries','setTimeout','error','_configService','_url','__esModule','code','object','threshold','_loop','push','Unknown\x20parameter\x20\x22','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','has','completeUpgrade','WS_ERR_INVALID_OPCODE','Unsupported\x20protocol\x20version:\x20','location','kCode','species','map','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','Origin','address','bind','authorized','needDrain','invalid\x20opcode\x20','resume','createInflateRaw','WS_ERR_EXPECTED_FIN','40870CePqkV','Max\x20payload\x20size\x20exceeded','writable','_opcode','751905tTgSXR','addEventListener','writeHead','getBlobData','function','kByteLength','_messageLength','hash','_binaryType','Invalid\x20Sec-WebSocket-Accept\x20header','getData','_shouldEmitClose','cookie','maskBuffer','_masked','hasOwnProperty','construct','captureStackTrace','_fragmented','total-length','_deflate','_read','FIN\x20must\x20be\x20set','_destroy','emit','objectMode','freeze','toLowerCase','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','Z_SYNC_FLUSH','clientTracking','collaboration-client-node.config','readUInt32BE','default','offer','_final','_state','_bufferedAmount','apply','listen','_write','once','sec-websocket-origin','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','concurrency','getOwnPropertyDescriptor','invalid\x20UTF-8\x20sequence','_threshold','WS_ERR_INVALID_UTF8','update','abort','The\x20URL\x20contains\x20a\x20fragment\x20identifier','text/plain','terminate','frame','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','find','haveLength','Sec-WebSocket-Extensions','controlMessage','exports','sec-websocket-protocol','The\x20URL\x27s\x20pathname\x20is\x20empty','kAborted','host','verifyClient','_errored','statusCode','base64','socketPath','isView','https:','skipUTF8Validation','sendFrame','_doCreateSocket','value','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','message','_autoPong','_registerDependencies','readyState','path','Maximum\x20redirects\x20exceeded','sec-websocket-extensions','Invalid\x20WebSocket\x20frame:\x20','kMessage','byteOffset','parse','toString','indexOf','_server','_no_context_takeover','end','keys','Unexpected\x20character\x20at\x20index\x20','finished','websocket','backlog','string','createDeflateRaw','readUInt16BE','68pBvyZS','test','generateMask','upgrade','845572WgETVY','enqueue','forEach','createSocket','_readyState','toStringTag','values','bufferedAmount','3187060yxmOSL','handleUpgrade','listenerCount','nextTick','_socket','removeListener','read','accept','WebSocket','pow','sec-websocket-version','_errorEmitted','Sec-WebSocket-Accept:\x20','Invalid\x20value\x20for\x20parameter\x20\x22','_compressed','3635XrewLc','opcode','extensionName','binaryType','redirect','Opening\x20handshake\x20has\x20timed\x20out','extensions','next','unexpected-response','clientNoContextTakeover','method','_compress','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','\x22:\x20','customHeaders','zlibInflateOptions','readOnly','nodebuffer','defineProperty','defaultPort','open','Basic\x20','_sender','create','setHeader','4686738PuZqwx','conclude','Z_DEFAULT_WINDOWBITS','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','_totalPayloadLength','arraybuffer','_receiver','pathname','ping','_closeFrameReceived','get','port','\x22\x20subprotocol\x20is\x20duplicated','onclose','WS_ERR_EXPECTED_MASK','_queue','status-code','Sec-WebSocket-Protocol','_fin','byteLength','_closeFrameSent','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','perMessageDeflate','username','GET','serverMaxWindowBits','authorization','_originalHostOrSocketPath','invalid\x20status\x20code\x20','onStarting','clientMaxWindowBits','join','flush','writeUIntBE','allocUnsafe','setSocket','setNoDelay','finishRequest','prototype','Upgrade:\x20websocket','createError','followRedirects','getPayloadLength16','32NtNckS','handleEvent','_inflate','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','Unexpected\x20end\x20of\x20input','rsv1','kListener','target','_closeCode','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','WS_ERR_INVALID_CLOSE_CODE','kType','listeners','connect','request','Invalid\x20Upgrade\x20header','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','call','size','13,\x208','The\x20\x22','mask','destroyed','_generateMask','slice','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','onerror','protocolVersion','WS_ERR_UNEXPECTED_RSV_1','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','unmask','kDone'];_0x3a69=function(){return _0x2e8390;};return _0x3a69();}import{ISocketService as _0x21bd96,HTTPService as _0x555ed4}from'@univerjs/network';function _0x3fa4(_0x4c399a,_0xac483a){const _0x3a69bb=_0x3a69();return _0x3fa4=function(_0x3fa4fc,_0x38bdac){_0x3fa4fc=_0x3fa4fc-0x152;let _0x2c412e=_0x3a69bb[_0x3fa4fc];return _0x2c412e;},_0x3fa4(_0x4c399a,_0xac483a);}import{Observable as _0xe3e208,share as _0x1381ce}from'rxjs';import _0xad065c from'events';import _0x258f4a from'https';import _0x5f236e from'http';import _0x39c0c6 from'net';import _0x2e7ebe from'tls';import _0x185a77 from'crypto';import _0x551648 from'stream';import _0x48dcb6 from'url';import _0x2480af from'zlib';import _0xe824d from'buffer';import{ISnapshotServerService as _0x48a462}from'@univerjs-pro/collaboration';const Be=_0x13d6a6(0x22b),Ft={'customHeaders':{}};function Wt(_0x594575){const _0x3a994a=_0x13d6a6;return _0x594575&&_0x594575[_0x3a994a(0x1ee)]&&Object[_0x3a994a(0x2cb)][_0x3a994a(0x21b)][_0x3a994a(0x2e1)](_0x594575,_0x3a994a(0x22d))?_0x594575['default']:_0x594575;}function ut(_0x231a46){const _0x127663=_0x13d6a6;if(Object['prototype'][_0x127663(0x21b)]['call'](_0x231a46,_0x127663(0x1ee)))return _0x231a46;var _0x274805=_0x231a46[_0x127663(0x22d)];if(typeof _0x274805==_0x127663(0x210)){var _0x49c91c=function _0x1f84ab(){const _0x46e54b=_0x127663;var _0x84ae11=!0x1;try{_0x84ae11=this instanceof _0x1f84ab;}catch{}return _0x84ae11?Reflect[_0x46e54b(0x21c)](_0x274805,arguments,this['constructor']):_0x274805[_0x46e54b(0x232)](this,arguments);};_0x49c91c[_0x127663(0x2cb)]=_0x274805['prototype'];}else _0x49c91c={};return Object[_0x127663(0x29e)](_0x49c91c,_0x127663(0x1ee),{'value':!0x0}),Object[_0x127663(0x269)](_0x231a46)[_0x127663(0x277)](function(_0x57b8c7){const _0x14d6e7=_0x127663;var _0x3aab05=Object[_0x14d6e7(0x239)](_0x231a46,_0x57b8c7);Object[_0x14d6e7(0x29e)](_0x49c91c,_0x57b8c7,_0x3aab05[_0x14d6e7(0x2af)]?_0x3aab05:{'enumerable':!0x0,'get':function(){return _0x231a46[_0x57b8c7];}});}),_0x49c91c;}var te={'exports':{}},ge,Ye;function V(){const _0x405732=_0x13d6a6;if(Ye)return ge;Ye=0x1;const _0x5b4c17=[_0x405732(0x29d),'arraybuffer',_0x405732(0x302)],_0x309756=typeof Blob<'u';return _0x309756&&_0x5b4c17['push'](_0x405732(0x2f3)),ge={'BINARY_TYPES':_0x5b4c17,'EMPTY_BUFFER':Buffer[_0x405732(0x1b5)](0x0),'GUID':_0x405732(0x298),'hasBlob':_0x309756,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol(_0x405732(0x2d6)),'kStatusCode':Symbol(_0x405732(0x2b5)),'kWebSocket':Symbol(_0x405732(0x26c)),'NOOP':()=>{}},ge;}const jt={},Gt=Object[_0x13d6a6(0x226)](Object[_0x13d6a6(0x29e)]({'__proto__':null,'default':jt},Symbol[_0x13d6a6(0x27a)],{'value':'Module'})),Vt=ut(Gt);var Ke;function ce(){const _0x3d0b6=_0x13d6a6;if(Ke)return te[_0x3d0b6(0x248)];Ke=0x1;const {EMPTY_BUFFER:_0x4ca2ec}=V(),_0x56c90c=Buffer[Symbol[_0x3d0b6(0x1fc)]];function _0x499893(_0x1457ef,_0x2dc26d){const _0x5d178f=_0x3d0b6;if(_0x1457ef['length']===0x0)return _0x4ca2ec;if(_0x1457ef[_0x5d178f(0x2fc)]===0x1)return _0x1457ef[0x0];const _0x37f7dc=Buffer[_0x5d178f(0x2c7)](_0x2dc26d);let _0x1a83a1=0x0;for(let _0x2c212a=0x0;_0x2c212a<_0x1457ef['length'];_0x2c212a++){const _0x565d19=_0x1457ef[_0x2c212a];_0x37f7dc['set'](_0x565d19,_0x1a83a1),_0x1a83a1+=_0x565d19['length'];}return _0x1a83a1<_0x2dc26d?new _0x56c90c(_0x37f7dc['buffer'],_0x37f7dc['byteOffset'],_0x1a83a1):_0x37f7dc;}function _0x272dc8(_0xee76cf,_0x59eb7e,_0x3dad43,_0x14f0ae,_0x593d9c){for(let _0x212080=0x0;_0x212080<_0x593d9c;_0x212080++)_0x3dad43[_0x14f0ae+_0x212080]=_0xee76cf[_0x212080]^_0x59eb7e[_0x212080&0x3];}function _0x475f5c(_0x4cf608,_0x1a397a){const _0x428c2d=_0x3d0b6;for(let _0x1ee54e=0x0;_0x1ee54e<_0x4cf608[_0x428c2d(0x2fc)];_0x1ee54e++)_0x4cf608[_0x1ee54e]^=_0x1a397a[_0x1ee54e&0x3];}function _0x513cd0(_0x196df2){const _0x33f6b9=_0x3d0b6;return _0x196df2[_0x33f6b9(0x2fc)]===_0x196df2[_0x33f6b9(0x196)][_0x33f6b9(0x2b8)]?_0x196df2[_0x33f6b9(0x196)]:_0x196df2[_0x33f6b9(0x196)]['slice'](_0x196df2[_0x33f6b9(0x262)],_0x196df2[_0x33f6b9(0x262)]+_0x196df2[_0x33f6b9(0x2fc)]);}function _0x431083(_0x4ef499){const _0x1fa4d4=_0x3d0b6;if(_0x431083[_0x1fa4d4(0x29c)]=!0x0,Buffer[_0x1fa4d4(0x1cf)](_0x4ef499))return _0x4ef499;let _0x3b6c01;return _0x4ef499 instanceof ArrayBuffer?_0x3b6c01=new _0x56c90c(_0x4ef499):ArrayBuffer[_0x1fa4d4(0x252)](_0x4ef499)?_0x3b6c01=new _0x56c90c(_0x4ef499[_0x1fa4d4(0x196)],_0x4ef499['byteOffset'],_0x4ef499['byteLength']):(_0x3b6c01=Buffer[_0x1fa4d4(0x1cb)](_0x4ef499),_0x431083['readOnly']=!0x1),_0x3b6c01;}if(te['exports']={'concat':_0x499893,'mask':_0x272dc8,'toArrayBuffer':_0x513cd0,'toBuffer':_0x431083,'unmask':_0x475f5c},!process['env'][_0x3d0b6(0x19b)])try{const _0x4a6c2f=Vt;te[_0x3d0b6(0x248)]['mask']=function(_0x51fb0c,_0x398536,_0x33dc07,_0x63b772,_0x3d8b43){const _0x126988=_0x3d0b6;_0x3d8b43<0x30?_0x272dc8(_0x51fb0c,_0x398536,_0x33dc07,_0x63b772,_0x3d8b43):_0x4a6c2f[_0x126988(0x2e5)](_0x51fb0c,_0x398536,_0x33dc07,_0x63b772,_0x3d8b43);},te[_0x3d0b6(0x248)]['unmask']=function(_0x574a3b,_0x33a4d5){const _0x23e5cd=_0x3d0b6;_0x574a3b[_0x23e5cd(0x2fc)]<0x20?_0x475f5c(_0x574a3b,_0x33a4d5):_0x4a6c2f[_0x23e5cd(0x2ee)](_0x574a3b,_0x33a4d5);};}catch{}return te[_0x3d0b6(0x248)];}var ye,Xe;function qt(){const _0x203cf7=_0x13d6a6;if(Xe)return ye;Xe=0x1;const _0x30b2b5=Symbol(_0x203cf7(0x2ef)),_0x17f3e0=Symbol(_0x203cf7(0x1a9));class _0x247962{constructor(_0x7b6c78){const _0x306a95=_0x203cf7;this[_0x30b2b5]=()=>{const _0x46ebf4=_0x3fa4;this[_0x46ebf4(0x15f)]--,this[_0x17f3e0]();},this['concurrency']=_0x7b6c78||0x1/0x0,this[_0x306a95(0x1c8)]=[],this[_0x306a95(0x15f)]=0x0;}[_0x203cf7(0x181)](_0x49d737){const _0x1e3a02=_0x203cf7;this['jobs'][_0x1e3a02(0x1f3)](_0x49d737),this[_0x17f3e0]();}[_0x17f3e0](){const _0x1f4501=_0x203cf7;if(this[_0x1f4501(0x15f)]!==this[_0x1f4501(0x238)]&&this['jobs'][_0x1f4501(0x2fc)]){const _0x2b5fad=this['jobs']['shift']();this[_0x1f4501(0x15f)]++,_0x2b5fad(this[_0x30b2b5]);}}}return ye=_0x247962,ye;}var ve,Ze;function he(){const _0x58ba57=_0x13d6a6;if(Ze)return ve;Ze=0x1;const _0x1d2e98=_0x2480af,_0x5506c0=ce(),_0x3161a3=qt(),{kStatusCode:_0x4dd247}=V(),_0x609bfb=Buffer[Symbol[_0x58ba57(0x1fc)]],_0x2cc2ee=Buffer[_0x58ba57(0x1cb)]([0x0,0x0,0xff,0xff]),_0xed36ce=Symbol(_0x58ba57(0x177)),_0x5b7f6b=Symbol(_0x58ba57(0x21f)),_0x4b97e3=Symbol('callback'),_0x4413e2=Symbol('buffers'),_0x5e1f55=Symbol('error');let _0x178200;class _0x501196{constructor(_0x3113a3,_0x5c2446,_0x4ae4a9){const _0x5c0a5d=_0x58ba57;if(this[_0x5c0a5d(0x2ff)]=_0x4ae4a9|0x0,this[_0x5c0a5d(0x1de)]=_0x3113a3||{},this[_0x5c0a5d(0x23b)]=this[_0x5c0a5d(0x1de)][_0x5c0a5d(0x1f1)]!==void 0x0?this['_options']['threshold']:0x400,this[_0x5c0a5d(0x1e6)]=!!_0x5c2446,this['_deflate']=null,this['_inflate']=null,this[_0x5c0a5d(0x2f6)]=null,!_0x178200){const _0x4c728e=this['_options']['concurrencyLimit']!==void 0x0?this[_0x5c0a5d(0x1de)][_0x5c0a5d(0x158)]:0xa;_0x178200=new _0x3161a3(_0x4c728e);}}static get[_0x58ba57(0x28e)](){const _0x31eb0=_0x58ba57;return _0x31eb0(0x177);}[_0x58ba57(0x22e)](){const _0x2a7427=_0x58ba57,_0x2ff638={};return this['_options'][_0x2a7427(0x159)]&&(_0x2ff638['server_no_context_takeover']=!0x0),this[_0x2a7427(0x1de)][_0x2a7427(0x295)]&&(_0x2ff638[_0x2a7427(0x1ca)]=!0x0),this['_options']['serverMaxWindowBits']&&(_0x2ff638[_0x2a7427(0x18d)]=this[_0x2a7427(0x1de)][_0x2a7427(0x2be)]),this[_0x2a7427(0x1de)][_0x2a7427(0x2c3)]?_0x2ff638[_0x2a7427(0x1b2)]=this[_0x2a7427(0x1de)][_0x2a7427(0x2c3)]:this['_options'][_0x2a7427(0x2c3)]==null&&(_0x2ff638['client_max_window_bits']=!0x0),_0x2ff638;}[_0x58ba57(0x284)](_0xf266e0){const _0x2475dc=_0x58ba57;return _0xf266e0=this['normalizeParams'](_0xf266e0),this[_0x2475dc(0x2f6)]=this[_0x2475dc(0x1e6)]?this['acceptAsServer'](_0xf266e0):this[_0x2475dc(0x1bf)](_0xf266e0),this[_0x2475dc(0x2f6)];}['cleanup'](){const _0x4eb9da=_0x58ba57;if(this[_0x4eb9da(0x2d2)]&&(this[_0x4eb9da(0x2d2)][_0x4eb9da(0x1d2)](),this['_inflate']=null),this[_0x4eb9da(0x220)]){const _0x5d3edf=this[_0x4eb9da(0x220)][_0x4b97e3];this[_0x4eb9da(0x220)]['close'](),this[_0x4eb9da(0x220)]=null,_0x5d3edf&&_0x5d3edf(new Error(_0x4eb9da(0x2e0)));}}['acceptAsServer'](_0x15fee2){const _0x4f05e1=_0x58ba57,_0x100f75=this[_0x4f05e1(0x1de)],_0x4fe765=_0x15fee2[_0x4f05e1(0x244)](_0x396734=>!(_0x100f75[_0x4f05e1(0x159)]===!0x1&&_0x396734[_0x4f05e1(0x1e2)]||_0x396734[_0x4f05e1(0x18d)]&&(_0x100f75['serverMaxWindowBits']===!0x1||typeof _0x100f75[_0x4f05e1(0x2be)]==_0x4f05e1(0x303)&&_0x100f75['serverMaxWindowBits']>_0x396734[_0x4f05e1(0x18d)])||typeof _0x100f75[_0x4f05e1(0x2c3)]=='number'&&!_0x396734[_0x4f05e1(0x1b2)]));if(!_0x4fe765)throw new Error(_0x4f05e1(0x15e));return _0x100f75[_0x4f05e1(0x159)]&&(_0x4fe765[_0x4f05e1(0x1e2)]=!0x0),_0x100f75[_0x4f05e1(0x295)]&&(_0x4fe765[_0x4f05e1(0x1ca)]=!0x0),typeof _0x100f75[_0x4f05e1(0x2be)]==_0x4f05e1(0x303)&&(_0x4fe765[_0x4f05e1(0x18d)]=_0x100f75[_0x4f05e1(0x2be)]),typeof _0x100f75[_0x4f05e1(0x2c3)]=='number'?_0x4fe765[_0x4f05e1(0x1b2)]=_0x100f75[_0x4f05e1(0x2c3)]:(_0x4fe765[_0x4f05e1(0x1b2)]===!0x0||_0x100f75['clientMaxWindowBits']===!0x1)&&delete _0x4fe765['client_max_window_bits'],_0x4fe765;}[_0x58ba57(0x1bf)](_0x17c767){const _0x2602fc=_0x58ba57,_0x3b57e0=_0x17c767[0x0];if(this[_0x2602fc(0x1de)][_0x2602fc(0x295)]===!0x1&&_0x3b57e0['client_no_context_takeover'])throw new Error(_0x2602fc(0x1f5));if(!_0x3b57e0[_0x2602fc(0x1b2)])typeof this[_0x2602fc(0x1de)]['clientMaxWindowBits']==_0x2602fc(0x303)&&(_0x3b57e0[_0x2602fc(0x1b2)]=this[_0x2602fc(0x1de)]['clientMaxWindowBits']);else{if(this[_0x2602fc(0x1de)][_0x2602fc(0x2c3)]===!0x1||typeof this['_options'][_0x2602fc(0x2c3)]==_0x2602fc(0x303)&&_0x3b57e0[_0x2602fc(0x1b2)]>this['_options'][_0x2602fc(0x2c3)])throw new Error(_0x2602fc(0x16a));}return _0x3b57e0;}[_0x58ba57(0x183)](_0x4cb254){return _0x4cb254['forEach'](_0x3e82ba=>{const _0x1214bd=_0x3fa4;Object[_0x1214bd(0x269)](_0x3e82ba)[_0x1214bd(0x277)](_0x11a1d2=>{const _0x2b12a6=_0x1214bd;let _0x58b2b6=_0x3e82ba[_0x11a1d2];if(_0x58b2b6[_0x2b12a6(0x2fc)]>0x1)throw new Error('Parameter\x20\x22'+_0x11a1d2+'\x22\x20must\x20have\x20only\x20a\x20single\x20value');if(_0x58b2b6=_0x58b2b6[0x0],_0x11a1d2===_0x2b12a6(0x1b2)){if(_0x58b2b6!==!0x0){const _0x49a008=+_0x58b2b6;if(!Number['isInteger'](_0x49a008)||_0x49a008<0x8||_0x49a008>0xf)throw new TypeError(_0x2b12a6(0x28a)+_0x11a1d2+'\x22:\x20'+_0x58b2b6);_0x58b2b6=_0x49a008;}else{if(!this[_0x2b12a6(0x1e6)])throw new TypeError(_0x2b12a6(0x28a)+_0x11a1d2+_0x2b12a6(0x299)+_0x58b2b6);}}else{if(_0x11a1d2===_0x2b12a6(0x18d)){const _0x4c74cb=+_0x58b2b6;if(!Number[_0x2b12a6(0x192)](_0x4c74cb)||_0x4c74cb<0x8||_0x4c74cb>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x11a1d2+'\x22:\x20'+_0x58b2b6);_0x58b2b6=_0x4c74cb;}else{if(_0x11a1d2===_0x2b12a6(0x1ca)||_0x11a1d2===_0x2b12a6(0x1e2)){if(_0x58b2b6!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x11a1d2+_0x2b12a6(0x299)+_0x58b2b6);}else throw new Error(_0x2b12a6(0x1f4)+_0x11a1d2+'\x22');}}_0x3e82ba[_0x11a1d2]=_0x58b2b6;});}),_0x4cb254;}['decompress'](_0x2384b4,_0x44af72,_0x2a983a){const _0x517ac6=_0x58ba57;_0x178200[_0x517ac6(0x181)](_0x200eb1=>{const _0x41e586=_0x517ac6;this[_0x41e586(0x174)](_0x2384b4,_0x44af72,(_0x34519c,_0x33fac7)=>{_0x200eb1(),_0x2a983a(_0x34519c,_0x33fac7);});});}[_0x58ba57(0x172)](_0x21eef5,_0x2e11c0,_0x31d691){const _0x3cdb9d=_0x58ba57;_0x178200[_0x3cdb9d(0x181)](_0x424b9c=>{const _0x3d38bd=_0x3cdb9d;this[_0x3d38bd(0x297)](_0x21eef5,_0x2e11c0,(_0x3a893e,_0xe80172)=>{_0x424b9c(),_0x31d691(_0x3a893e,_0xe80172);});});}[_0x58ba57(0x174)](_0x2901e9,_0x1eedf9,_0x4df8e6){const _0x550e21=_0x58ba57,_0x1e3229=this[_0x550e21(0x1e6)]?'client':_0x550e21(0x166);if(!this['_inflate']){const _0x4dc623=_0x1e3229+'_max_window_bits',_0xec2b5=typeof this[_0x550e21(0x2f6)][_0x4dc623]!=_0x550e21(0x303)?_0x1d2e98['Z_DEFAULT_WINDOWBITS']:this[_0x550e21(0x2f6)][_0x4dc623];this[_0x550e21(0x2d2)]=_0x1d2e98[_0x550e21(0x206)]({...this[_0x550e21(0x1de)][_0x550e21(0x29b)],'windowBits':_0xec2b5}),this[_0x550e21(0x2d2)][_0xed36ce]=this,this[_0x550e21(0x2d2)][_0x5b7f6b]=0x0,this[_0x550e21(0x2d2)][_0x4413e2]=[],this['_inflate']['on'](_0x550e21(0x1eb),_0x27c771),this[_0x550e21(0x2d2)]['on'](_0x550e21(0x17e),_0x33b6c8);}this[_0x550e21(0x2d2)][_0x4b97e3]=_0x4df8e6,this['_inflate'][_0x550e21(0x18a)](_0x2901e9),_0x1eedf9&&this[_0x550e21(0x2d2)][_0x550e21(0x18a)](_0x2cc2ee),this[_0x550e21(0x2d2)][_0x550e21(0x2c5)](()=>{const _0x128980=_0x550e21,_0x57a844=this[_0x128980(0x2d2)][_0x5e1f55];if(_0x57a844){this[_0x128980(0x2d2)][_0x128980(0x1d2)](),this[_0x128980(0x2d2)]=null,_0x4df8e6(_0x57a844);return;}const _0x23c5cc=_0x5506c0[_0x128980(0x1bc)](this['_inflate'][_0x4413e2],this[_0x128980(0x2d2)][_0x5b7f6b]);this[_0x128980(0x2d2)]['_readableState'][_0x128980(0x1dd)]?(this[_0x128980(0x2d2)]['close'](),this[_0x128980(0x2d2)]=null):(this[_0x128980(0x2d2)][_0x5b7f6b]=0x0,this[_0x128980(0x2d2)][_0x4413e2]=[],_0x1eedf9&&this[_0x128980(0x2f6)][_0x1e3229+_0x128980(0x267)]&&this[_0x128980(0x2d2)]['reset']()),_0x4df8e6(null,_0x23c5cc);});}[_0x58ba57(0x297)](_0x516af9,_0x404a9b,_0x30263f){const _0x1a63c0=_0x58ba57,_0x447bb8=this[_0x1a63c0(0x1e6)]?_0x1a63c0(0x166):_0x1a63c0(0x1ac);if(!this[_0x1a63c0(0x220)]){const _0x125994=_0x447bb8+'_max_window_bits',_0x234ae7=typeof this[_0x1a63c0(0x2f6)][_0x125994]!='number'?_0x1d2e98[_0x1a63c0(0x2a7)]:this[_0x1a63c0(0x2f6)][_0x125994];this[_0x1a63c0(0x220)]=_0x1d2e98[_0x1a63c0(0x26f)]({...this[_0x1a63c0(0x1de)][_0x1a63c0(0x171)],'windowBits':_0x234ae7}),this['_deflate'][_0x5b7f6b]=0x0,this[_0x1a63c0(0x220)][_0x4413e2]=[],this[_0x1a63c0(0x220)]['on'](_0x1a63c0(0x17e),_0x1799df);}this['_deflate'][_0x4b97e3]=_0x30263f,this[_0x1a63c0(0x220)]['write'](_0x516af9),this[_0x1a63c0(0x220)][_0x1a63c0(0x2c5)](_0x1d2e98[_0x1a63c0(0x229)],()=>{const _0x4f893a=_0x1a63c0;if(!this[_0x4f893a(0x220)])return;let _0x3ec43a=_0x5506c0['concat'](this['_deflate'][_0x4413e2],this[_0x4f893a(0x220)][_0x5b7f6b]);_0x404a9b&&(_0x3ec43a=new _0x609bfb(_0x3ec43a[_0x4f893a(0x196)],_0x3ec43a['byteOffset'],_0x3ec43a[_0x4f893a(0x2fc)]-0x4)),this[_0x4f893a(0x220)][_0x4b97e3]=null,this[_0x4f893a(0x220)][_0x5b7f6b]=0x0,this['_deflate'][_0x4413e2]=[],_0x404a9b&&this[_0x4f893a(0x2f6)][_0x447bb8+_0x4f893a(0x267)]&&this[_0x4f893a(0x220)][_0x4f893a(0x1cc)](),_0x30263f(null,_0x3ec43a);});}}ve=_0x501196;function _0x1799df(_0x56eb16){const _0x180a27=_0x58ba57;this[_0x4413e2][_0x180a27(0x1f3)](_0x56eb16),this[_0x5b7f6b]+=_0x56eb16['length'];}function _0x33b6c8(_0x11b20c){const _0x49cbcd=_0x58ba57;if(this[_0x5b7f6b]+=_0x11b20c[_0x49cbcd(0x2fc)],this[_0xed36ce][_0x49cbcd(0x2ff)]<0x1||this[_0x5b7f6b]<=this[_0xed36ce]['_maxPayload']){this[_0x4413e2][_0x49cbcd(0x1f3)](_0x11b20c);return;}this[_0x5e1f55]=new RangeError(_0x49cbcd(0x209)),this[_0x5e1f55]['code']=_0x49cbcd(0x1c2),this[_0x5e1f55][_0x4dd247]=0x3f1,this[_0x49cbcd(0x282)](_0x49cbcd(0x17e),_0x33b6c8),this['reset']();}function _0x27c771(_0x165865){const _0x1ad0e7=_0x58ba57;if(this[_0xed36ce][_0x1ad0e7(0x2d2)]=null,this[_0x5e1f55]){this[_0x4b97e3](this[_0x5e1f55]);return;}_0x165865[_0x4dd247]=0x3ef,this[_0x4b97e3](_0x165865);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x13d6a6(0x226)](Object[_0x13d6a6(0x29e)]({'__proto__':null,'default':Ht},Symbol[_0x13d6a6(0x27a)],{'value':_0x13d6a6(0x2fd)})),Yt=ut(zt);var Qe;function ne(){const _0x429cab=_0x13d6a6;if(Qe)return re[_0x429cab(0x248)];Qe=0x1;const {isUtf8:_0xb68fcc}=_0xe824d,{hasBlob:_0x2415ff}=V(),_0xb15be1=[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 _0x4f735e(_0x3db2cc){return _0x3db2cc>=0x3e8&&_0x3db2cc<=0x3f6&&_0x3db2cc!==0x3ec&&_0x3db2cc!==0x3ed&&_0x3db2cc!==0x3ee||_0x3db2cc>=0xbb8&&_0x3db2cc<=0x1387;}function _0x292b10(_0x80b1ee){const _0xa4562e=_0x429cab,_0x568736=_0x80b1ee[_0xa4562e(0x2fc)];let _0x2cfce4=0x0;for(;_0x2cfce4<_0x568736;)if((_0x80b1ee[_0x2cfce4]&0x80)===0x0)_0x2cfce4++;else{if((_0x80b1ee[_0x2cfce4]&0xe0)===0xc0){if(_0x2cfce4+0x1===_0x568736||(_0x80b1ee[_0x2cfce4+0x1]&0xc0)!==0x80||(_0x80b1ee[_0x2cfce4]&0xfe)===0xc0)return!0x1;_0x2cfce4+=0x2;}else{if((_0x80b1ee[_0x2cfce4]&0xf0)===0xe0){if(_0x2cfce4+0x2>=_0x568736||(_0x80b1ee[_0x2cfce4+0x1]&0xc0)!==0x80||(_0x80b1ee[_0x2cfce4+0x2]&0xc0)!==0x80||_0x80b1ee[_0x2cfce4]===0xe0&&(_0x80b1ee[_0x2cfce4+0x1]&0xe0)===0x80||_0x80b1ee[_0x2cfce4]===0xed&&(_0x80b1ee[_0x2cfce4+0x1]&0xe0)===0xa0)return!0x1;_0x2cfce4+=0x3;}else{if((_0x80b1ee[_0x2cfce4]&0xf8)===0xf0){if(_0x2cfce4+0x3>=_0x568736||(_0x80b1ee[_0x2cfce4+0x1]&0xc0)!==0x80||(_0x80b1ee[_0x2cfce4+0x2]&0xc0)!==0x80||(_0x80b1ee[_0x2cfce4+0x3]&0xc0)!==0x80||_0x80b1ee[_0x2cfce4]===0xf0&&(_0x80b1ee[_0x2cfce4+0x1]&0xf0)===0x80||_0x80b1ee[_0x2cfce4]===0xf4&&_0x80b1ee[_0x2cfce4+0x1]>0x8f||_0x80b1ee[_0x2cfce4]>0xf4)return!0x1;_0x2cfce4+=0x4;}else return!0x1;}}}return!0x0;}function _0x184d42(_0x4bbd6d){const _0x499c09=_0x429cab;return _0x2415ff&&typeof _0x4bbd6d==_0x499c09(0x1f0)&&typeof _0x4bbd6d[_0x499c09(0x2f9)]==_0x499c09(0x210)&&typeof _0x4bbd6d[_0x499c09(0x188)]=='string'&&typeof _0x4bbd6d['stream']==_0x499c09(0x210)&&(_0x4bbd6d[Symbol['toStringTag']]==='Blob'||_0x4bbd6d[Symbol['toStringTag']]==='File');}if(re[_0x429cab(0x248)]={'isBlob':_0x184d42,'isValidStatusCode':_0x4f735e,'isValidUTF8':_0x292b10,'tokenChars':_0xb15be1},_0xb68fcc)re[_0x429cab(0x248)][_0x429cab(0x1ba)]=function(_0x46b8bb){const _0x2c3b71=_0x429cab;return _0x46b8bb[_0x2c3b71(0x2fc)]<0x18?_0x292b10(_0x46b8bb):_0xb68fcc(_0x46b8bb);};else{if(!process[_0x429cab(0x157)]['WS_NO_UTF_8_VALIDATE'])try{const _0x174084=Yt;re['exports'][_0x429cab(0x1ba)]=function(_0x3ecee3){const _0x598837=_0x429cab;return _0x3ecee3[_0x598837(0x2fc)]<0x20?_0x292b10(_0x3ecee3):_0x174084(_0x3ecee3);};}catch{}}return re[_0x429cab(0x248)];}var Se,Je;function dt(){const _0x2148ae=_0x13d6a6;if(Je)return Se;Je=0x1;const {Writable:_0x4b3ac2}=_0x551648,_0x534fff=he(),{BINARY_TYPES:_0x41b1c9,EMPTY_BUFFER:_0x497927,kStatusCode:_0x3c537a,kWebSocket:_0x4492ae}=V(),{concat:_0x43bd49,toArrayBuffer:_0x21037a,unmask:_0x53f5ec}=ce(),{isValidStatusCode:_0x21babd,isValidUTF8:_0x559334}=ne(),_0x430dbc=Buffer[Symbol[_0x2148ae(0x1fc)]],_0x22b5ec=0x0,_0x59d626=0x1,_0x32728d=0x2,_0x47e0d9=0x3,_0x280887=0x4,_0x47b194=0x5,_0x71fc80=0x6;class _0x1a6ef0 extends _0x4b3ac2{constructor(_0x1b51cc={}){const _0xb521f2=_0x2148ae;super(),this[_0xb521f2(0x2f4)]=_0x1b51cc[_0xb521f2(0x19c)]!==void 0x0?_0x1b51cc['allowSynchronousEvents']:!0x0,this[_0xb521f2(0x214)]=_0x1b51cc['binaryType']||_0x41b1c9[0x0],this[_0xb521f2(0x1bd)]=_0x1b51cc[_0xb521f2(0x292)]||{},this['_isServer']=!!_0x1b51cc[_0xb521f2(0x18e)],this['_maxPayload']=_0x1b51cc['maxPayload']|0x0,this[_0xb521f2(0x15c)]=!!_0x1b51cc[_0xb521f2(0x254)],this[_0x4492ae]=void 0x0,this['_bufferedBytes']=0x0,this[_0xb521f2(0x195)]=[],this[_0xb521f2(0x28b)]=!0x1,this[_0xb521f2(0x1b7)]=0x0,this['_mask']=void 0x0,this[_0xb521f2(0x21e)]=0x0,this['_masked']=!0x1,this['_fin']=!0x1,this[_0xb521f2(0x20b)]=0x0,this[_0xb521f2(0x2a9)]=0x0,this[_0xb521f2(0x212)]=0x0,this[_0xb521f2(0x1be)]=[],this[_0xb521f2(0x24e)]=!0x1,this[_0xb521f2(0x1f2)]=!0x1,this[_0xb521f2(0x230)]=_0x22b5ec;}['_write'](_0x377be7,_0x2b67f4,_0x129f4b){const _0x3e3dee=_0x2148ae;if(this[_0x3e3dee(0x20b)]===0x8&&this[_0x3e3dee(0x230)]==_0x22b5ec)return _0x129f4b();this['_bufferedBytes']+=_0x377be7[_0x3e3dee(0x2fc)],this['_buffers']['push'](_0x377be7),this['startLoop'](_0x129f4b);}[_0x2148ae(0x17d)](_0x39f6e2){const _0x1ab5e0=_0x2148ae;if(this[_0x1ab5e0(0x187)]-=_0x39f6e2,_0x39f6e2===this[_0x1ab5e0(0x195)][0x0]['length'])return this[_0x1ab5e0(0x195)][_0x1ab5e0(0x2f0)]();if(_0x39f6e2<this['_buffers'][0x0][_0x1ab5e0(0x2fc)]){const _0x64cda0=this[_0x1ab5e0(0x195)][0x0];return this[_0x1ab5e0(0x195)][0x0]=new _0x430dbc(_0x64cda0[_0x1ab5e0(0x196)],_0x64cda0['byteOffset']+_0x39f6e2,_0x64cda0['length']-_0x39f6e2),new _0x430dbc(_0x64cda0['buffer'],_0x64cda0[_0x1ab5e0(0x262)],_0x39f6e2);}const _0xd59ba9=Buffer['allocUnsafe'](_0x39f6e2);do{const _0x2ce4b8=this[_0x1ab5e0(0x195)][0x0],_0x12b253=_0xd59ba9['length']-_0x39f6e2;_0x39f6e2>=_0x2ce4b8[_0x1ab5e0(0x2fc)]?_0xd59ba9[_0x1ab5e0(0x1d6)](this[_0x1ab5e0(0x195)][_0x1ab5e0(0x2f0)](),_0x12b253):(_0xd59ba9[_0x1ab5e0(0x1d6)](new Uint8Array(_0x2ce4b8['buffer'],_0x2ce4b8[_0x1ab5e0(0x262)],_0x39f6e2),_0x12b253),this[_0x1ab5e0(0x195)][0x0]=new _0x430dbc(_0x2ce4b8[_0x1ab5e0(0x196)],_0x2ce4b8[_0x1ab5e0(0x262)]+_0x39f6e2,_0x2ce4b8[_0x1ab5e0(0x2fc)]-_0x39f6e2)),_0x39f6e2-=_0x2ce4b8[_0x1ab5e0(0x2fc)];}while(_0x39f6e2>0x0);return _0xd59ba9;}[_0x2148ae(0x152)](_0x3800a1){const _0x291791=_0x2148ae;this['_loop']=!0x0;do switch(this[_0x291791(0x230)]){case _0x22b5ec:this[_0x291791(0x167)](_0x3800a1);break;case _0x59d626:this[_0x291791(0x2cf)](_0x3800a1);break;case _0x32728d:this[_0x291791(0x2f5)](_0x3800a1);break;case _0x47e0d9:this[_0x291791(0x1a7)]();break;case _0x280887:this[_0x291791(0x216)](_0x3800a1);break;case _0x47b194:case _0x71fc80:this['_loop']=!0x1;return;}while(this[_0x291791(0x1f2)]);this['_errored']||_0x3800a1();}[_0x2148ae(0x167)](_0x2fd277){const _0xd7ae5d=_0x2148ae;if(this[_0xd7ae5d(0x187)]<0x2){this['_loop']=!0x1;return;}const _0x3cfa95=this['consume'](0x2);if((_0x3cfa95[0x0]&0x30)!==0x0){const _0x3e168b=this['createError'](RangeError,_0xd7ae5d(0x19d),!0x0,0x3ea,_0xd7ae5d(0x198));_0x2fd277(_0x3e168b);return;}const _0x33424d=(_0x3cfa95[0x0]&0x40)===0x40;if(_0x33424d&&!this['_extensions'][_0x534fff[_0xd7ae5d(0x28e)]]){const _0x440051=this['createError'](RangeError,_0xd7ae5d(0x1b9),!0x0,0x3ea,_0xd7ae5d(0x2ec));_0x2fd277(_0x440051);return;}if(this[_0xd7ae5d(0x2b7)]=(_0x3cfa95[0x0]&0x80)===0x80,this[_0xd7ae5d(0x20b)]=_0x3cfa95[0x0]&0xf,this[_0xd7ae5d(0x1b7)]=_0x3cfa95[0x1]&0x7f,this[_0xd7ae5d(0x20b)]===0x0){if(_0x33424d){const _0x2c69ff=this['createError'](RangeError,_0xd7ae5d(0x1b9),!0x0,0x3ea,_0xd7ae5d(0x2ec));_0x2fd277(_0x2c69ff);return;}if(!this[_0xd7ae5d(0x21e)]){const _0x2b8c44=this[_0xd7ae5d(0x2cd)](RangeError,'invalid\x20opcode\x200',!0x0,0x3ea,_0xd7ae5d(0x1f8));_0x2fd277(_0x2b8c44);return;}this[_0xd7ae5d(0x20b)]=this[_0xd7ae5d(0x21e)];}else{if(this['_opcode']===0x1||this[_0xd7ae5d(0x20b)]===0x2){if(this[_0xd7ae5d(0x21e)]){const _0x2d00c3=this[_0xd7ae5d(0x2cd)](RangeError,_0xd7ae5d(0x204)+this[_0xd7ae5d(0x20b)],!0x0,0x3ea,_0xd7ae5d(0x1f8));_0x2fd277(_0x2d00c3);return;}this[_0xd7ae5d(0x28b)]=_0x33424d;}else{if(this[_0xd7ae5d(0x20b)]>0x7&&this[_0xd7ae5d(0x20b)]<0xb){if(!this[_0xd7ae5d(0x2b7)]){const _0x506bf3=this[_0xd7ae5d(0x2cd)](RangeError,_0xd7ae5d(0x222),!0x0,0x3ea,_0xd7ae5d(0x207));_0x2fd277(_0x506bf3);return;}if(_0x33424d){const _0x46aa2f=this['createError'](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0xd7ae5d(0x2ec));_0x2fd277(_0x46aa2f);return;}if(this[_0xd7ae5d(0x1b7)]>0x7d||this[_0xd7ae5d(0x20b)]===0x8&&this[_0xd7ae5d(0x1b7)]===0x1){const _0x451ff0=this['createError'](RangeError,_0xd7ae5d(0x1d0)+this[_0xd7ae5d(0x1b7)],!0x0,0x3ea,_0xd7ae5d(0x2ba));_0x2fd277(_0x451ff0);return;}}else{const _0x2c3f2a=this['createError'](RangeError,_0xd7ae5d(0x204)+this[_0xd7ae5d(0x20b)],!0x0,0x3ea,_0xd7ae5d(0x1f8));_0x2fd277(_0x2c3f2a);return;}}}if(!this[_0xd7ae5d(0x2b7)]&&!this[_0xd7ae5d(0x21e)]&&(this[_0xd7ae5d(0x21e)]=this[_0xd7ae5d(0x20b)]),this[_0xd7ae5d(0x21a)]=(_0x3cfa95[0x1]&0x80)===0x80,this['_isServer']){if(!this[_0xd7ae5d(0x21a)]){const _0x30c224=this['createError'](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,_0xd7ae5d(0x2b3));_0x2fd277(_0x30c224);return;}}else{if(this[_0xd7ae5d(0x21a)]){const _0x11d6cd=this['createError'](RangeError,_0xd7ae5d(0x1e0),!0x0,0x3ea,_0xd7ae5d(0x1c4));_0x2fd277(_0x11d6cd);return;}}this['_payloadLength']===0x7e?this[_0xd7ae5d(0x230)]=_0x59d626:this[_0xd7ae5d(0x1b7)]===0x7f?this[_0xd7ae5d(0x230)]=_0x32728d:this['haveLength'](_0x2fd277);}['getPayloadLength16'](_0x3a9783){const _0x468f6b=_0x2148ae;if(this[_0x468f6b(0x187)]<0x2){this[_0x468f6b(0x1f2)]=!0x1;return;}this[_0x468f6b(0x1b7)]=this[_0x468f6b(0x17d)](0x2)['readUInt16BE'](0x0),this[_0x468f6b(0x245)](_0x3a9783);}[_0x2148ae(0x2f5)](_0x4e34c7){const _0x63ce71=_0x2148ae;if(this['_bufferedBytes']<0x8){this[_0x63ce71(0x1f2)]=!0x1;return;}const _0x17b381=this['consume'](0x8),_0x29a798=_0x17b381[_0x63ce71(0x22c)](0x0);if(_0x29a798>Math['pow'](0x2,0x15)-0x1){const _0x59b194=this[_0x63ce71(0x2cd)](RangeError,_0x63ce71(0x243),!0x1,0x3f1,_0x63ce71(0x258));_0x4e34c7(_0x59b194);return;}this[_0x63ce71(0x1b7)]=_0x29a798*Math[_0x63ce71(0x286)](0x2,0x20)+_0x17b381[_0x63ce71(0x22c)](0x4),this[_0x63ce71(0x245)](_0x4e34c7);}[_0x2148ae(0x245)](_0x17a39b){const _0x2a9fe9=_0x2148ae;if(this[_0x2a9fe9(0x1b7)]&&this['_opcode']<0x8&&(this[_0x2a9fe9(0x2a9)]+=this[_0x2a9fe9(0x1b7)],this[_0x2a9fe9(0x2a9)]>this[_0x2a9fe9(0x2ff)]&&this[_0x2a9fe9(0x2ff)]>0x0)){const _0x3bbe28=this[_0x2a9fe9(0x2cd)](RangeError,_0x2a9fe9(0x209),!0x1,0x3f1,_0x2a9fe9(0x1c2));_0x17a39b(_0x3bbe28);return;}this['_masked']?this[_0x2a9fe9(0x230)]=_0x47e0d9:this[_0x2a9fe9(0x230)]=_0x280887;}[_0x2148ae(0x1a7)](){const _0x3c588a=_0x2148ae;if(this[_0x3c588a(0x187)]<0x4){this['_loop']=!0x1;return;}this[_0x3c588a(0x199)]=this[_0x3c588a(0x17d)](0x4),this['_state']=_0x280887;}[_0x2148ae(0x216)](_0x3ea1a3){const _0x180d5b=_0x2148ae;let _0x5811a4=_0x497927;if(this[_0x180d5b(0x1b7)]){if(this['_bufferedBytes']<this[_0x180d5b(0x1b7)]){this[_0x180d5b(0x1f2)]=!0x1;return;}_0x5811a4=this['consume'](this[_0x180d5b(0x1b7)]),this[_0x180d5b(0x21a)]&&(this[_0x180d5b(0x199)][0x0]|this['_mask'][0x1]|this[_0x180d5b(0x199)][0x2]|this[_0x180d5b(0x199)][0x3])!==0x0&&_0x53f5ec(_0x5811a4,this[_0x180d5b(0x199)]);}if(this['_opcode']>0x7){this['controlMessage'](_0x5811a4,_0x3ea1a3);return;}if(this[_0x180d5b(0x28b)]){this[_0x180d5b(0x230)]=_0x47b194,this[_0x180d5b(0x1cd)](_0x5811a4,_0x3ea1a3);return;}_0x5811a4[_0x180d5b(0x2fc)]&&(this['_messageLength']=this['_totalPayloadLength'],this['_fragments'][_0x180d5b(0x1f3)](_0x5811a4)),this[_0x180d5b(0x163)](_0x3ea1a3);}[_0x2148ae(0x1cd)](_0x32d513,_0x303efe){const _0x4214ca=_0x2148ae;this[_0x4214ca(0x1bd)][_0x534fff[_0x4214ca(0x28e)]][_0x4214ca(0x1cd)](_0x32d513,this[_0x4214ca(0x2b7)],(_0x13e1d7,_0x4d1354)=>{const _0x308950=_0x4214ca;if(_0x13e1d7)return _0x303efe(_0x13e1d7);if(_0x4d1354[_0x308950(0x2fc)]){if(this[_0x308950(0x212)]+=_0x4d1354[_0x308950(0x2fc)],this[_0x308950(0x212)]>this[_0x308950(0x2ff)]&&this[_0x308950(0x2ff)]>0x0){const _0x4c6b0c=this['createError'](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x303efe(_0x4c6b0c);return;}this[_0x308950(0x1be)]['push'](_0x4d1354);}this['dataMessage'](_0x303efe),this['_state']===_0x22b5ec&&this['startLoop'](_0x303efe);});}[_0x2148ae(0x163)](_0x217b85){const _0x2f9ce9=_0x2148ae;if(!this[_0x2f9ce9(0x2b7)]){this['_state']=_0x22b5ec;return;}const _0x5aaa96=this[_0x2f9ce9(0x212)],_0x409ab0=this[_0x2f9ce9(0x1be)];if(this[_0x2f9ce9(0x2a9)]=0x0,this[_0x2f9ce9(0x212)]=0x0,this[_0x2f9ce9(0x21e)]=0x0,this[_0x2f9ce9(0x1be)]=[],this['_opcode']===0x2){let _0x1e673b;this[_0x2f9ce9(0x214)]===_0x2f9ce9(0x29d)?_0x1e673b=_0x43bd49(_0x409ab0,_0x5aaa96):this[_0x2f9ce9(0x214)]===_0x2f9ce9(0x2aa)?_0x1e673b=_0x21037a(_0x43bd49(_0x409ab0,_0x5aaa96)):this['_binaryType']===_0x2f9ce9(0x2f3)?_0x1e673b=new Blob(_0x409ab0):_0x1e673b=_0x409ab0,this[_0x2f9ce9(0x2f4)]?(this[_0x2f9ce9(0x224)](_0x2f9ce9(0x259),_0x1e673b,!0x0),this[_0x2f9ce9(0x230)]=_0x22b5ec):(this[_0x2f9ce9(0x230)]=_0x71fc80,setImmediate(()=>{const _0x213c1c=_0x2f9ce9;this['emit'](_0x213c1c(0x259),_0x1e673b,!0x0),this[_0x213c1c(0x230)]=_0x22b5ec,this['startLoop'](_0x217b85);}));}else{const _0xdc14d2=_0x43bd49(_0x409ab0,_0x5aaa96);if(!this[_0x2f9ce9(0x15c)]&&!_0x559334(_0xdc14d2)){const _0x480163=this[_0x2f9ce9(0x2cd)](Error,_0x2f9ce9(0x23a),!0x0,0x3ef,_0x2f9ce9(0x23c));_0x217b85(_0x480163);return;}this[_0x2f9ce9(0x230)]===_0x47b194||this[_0x2f9ce9(0x2f4)]?(this['emit'](_0x2f9ce9(0x259),_0xdc14d2,!0x1),this[_0x2f9ce9(0x230)]=_0x22b5ec):(this['_state']=_0x71fc80,setImmediate(()=>{const _0x4cf74f=_0x2f9ce9;this[_0x4cf74f(0x224)]('message',_0xdc14d2,!0x1),this['_state']=_0x22b5ec,this[_0x4cf74f(0x152)](_0x217b85);}));}}[_0x2148ae(0x247)](_0x3090f4,_0x3254da){const _0x2f3a05=_0x2148ae;if(this[_0x2f3a05(0x20b)]===0x8){if(_0x3090f4[_0x2f3a05(0x2fc)]===0x0)this[_0x2f3a05(0x1f2)]=!0x1,this['emit'](_0x2f3a05(0x2a6),0x3ed,_0x497927),this[_0x2f3a05(0x268)]();else{const _0x239777=_0x3090f4[_0x2f3a05(0x270)](0x0);if(!_0x21babd(_0x239777)){const _0x2b89b5=this['createError'](RangeError,_0x2f3a05(0x2c1)+_0x239777,!0x0,0x3ea,_0x2f3a05(0x2da));_0x3254da(_0x2b89b5);return;}const _0x52f0e3=new _0x430dbc(_0x3090f4[_0x2f3a05(0x196)],_0x3090f4['byteOffset']+0x2,_0x3090f4[_0x2f3a05(0x2fc)]-0x2);if(!this['_skipUTF8Validation']&&!_0x559334(_0x52f0e3)){const _0x447bf7=this[_0x2f3a05(0x2cd)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x2f3a05(0x23c));_0x3254da(_0x447bf7);return;}this[_0x2f3a05(0x1f2)]=!0x1,this[_0x2f3a05(0x224)](_0x2f3a05(0x2a6),_0x239777,_0x52f0e3),this[_0x2f3a05(0x268)]();}this['_state']=_0x22b5ec;return;}this[_0x2f3a05(0x2f4)]?(this[_0x2f3a05(0x224)](this[_0x2f3a05(0x20b)]===0x9?_0x2f3a05(0x2ad):'pong',_0x3090f4),this[_0x2f3a05(0x230)]=_0x22b5ec):(this['_state']=_0x71fc80,setImmediate(()=>{const _0x56d5d1=_0x2f3a05;this[_0x56d5d1(0x224)](this[_0x56d5d1(0x20b)]===0x9?'ping':_0x56d5d1(0x19a),_0x3090f4),this['_state']=_0x22b5ec,this[_0x56d5d1(0x152)](_0x3254da);}));}['createError'](_0xd131ca,_0x1dfa3e,_0x2804fd,_0x1ce0bb,_0x443f4f){const _0x1ba0bf=_0x2148ae;this['_loop']=!0x1,this[_0x1ba0bf(0x24e)]=!0x0;const _0x49e094=new _0xd131ca(_0x2804fd?_0x1ba0bf(0x260)+_0x1dfa3e:_0x1dfa3e);return Error[_0x1ba0bf(0x21d)](_0x49e094,this[_0x1ba0bf(0x2cd)]),_0x49e094[_0x1ba0bf(0x1ef)]=_0x443f4f,_0x49e094[_0x3c537a]=_0x1ce0bb,_0x49e094;}}return Se=_0x1a6ef0,Se;}var Ee,et;function _t(){const _0x42312a=_0x13d6a6;if(et)return Ee;et=0x1;const {Duplex:_0x576cf9}=_0x551648,{randomFillSync:_0x5f4e17}=_0x185a77,_0x184024=he(),{EMPTY_BUFFER:_0x11f06b,kWebSocket:_0x1b0474,NOOP:_0x22cd43}=V(),{isBlob:_0x1d9bf8,isValidStatusCode:_0x4ef57e}=ne(),{mask:_0xbfbe4a,toBuffer:_0xaebeb1}=ce(),_0x3e496c=Symbol(_0x42312a(0x211)),_0x2e00d6=Buffer[_0x42312a(0x1b5)](0x4),_0x3500c8=0x8*0x400;let _0x117de4,_0x32a503=_0x3500c8;const _0x452d54=0x0,_0x103690=0x1,_0x24f5cf=0x2;class _0x598199{constructor(_0xaec4f1,_0x45cf45,_0x1e1d3c){const _0x1d40ac=_0x42312a;this[_0x1d40ac(0x1bd)]=_0x45cf45||{},_0x1e1d3c&&(this[_0x1d40ac(0x2e7)]=_0x1e1d3c,this[_0x1d40ac(0x1c7)]=Buffer[_0x1d40ac(0x1b5)](0x4)),this[_0x1d40ac(0x281)]=_0xaec4f1,this['_firstFragment']=!0x0,this['_compress']=!0x1,this[_0x1d40ac(0x187)]=0x0,this['_queue']=[],this[_0x1d40ac(0x230)]=_0x452d54,this['onerror']=_0x22cd43,this[_0x1b0474]=void 0x0;}static['frame'](_0x37984c,_0x4c552b){const _0x31570a=_0x42312a;let _0x254ade,_0x5e26d7=!0x1,_0xe5fd70=0x2,_0x1871f3=!0x1;_0x4c552b[_0x31570a(0x2e5)]&&(_0x254ade=_0x4c552b[_0x31570a(0x219)]||_0x2e00d6,_0x4c552b[_0x31570a(0x273)]?_0x4c552b['generateMask'](_0x254ade):(_0x32a503===_0x3500c8&&(_0x117de4===void 0x0&&(_0x117de4=Buffer['alloc'](_0x3500c8)),_0x5f4e17(_0x117de4,0x0,_0x3500c8),_0x32a503=0x0),_0x254ade[0x0]=_0x117de4[_0x32a503++],_0x254ade[0x1]=_0x117de4[_0x32a503++],_0x254ade[0x2]=_0x117de4[_0x32a503++],_0x254ade[0x3]=_0x117de4[_0x32a503++]),_0x1871f3=(_0x254ade[0x0]|_0x254ade[0x1]|_0x254ade[0x2]|_0x254ade[0x3])===0x0,_0xe5fd70=0x6);let _0x538342;typeof _0x37984c==_0x31570a(0x26e)?(!_0x4c552b[_0x31570a(0x2e5)]||_0x1871f3)&&_0x4c552b[_0x3e496c]!==void 0x0?_0x538342=_0x4c552b[_0x3e496c]:(_0x37984c=Buffer['from'](_0x37984c),_0x538342=_0x37984c[_0x31570a(0x2fc)]):(_0x538342=_0x37984c['length'],_0x5e26d7=_0x4c552b[_0x31570a(0x2e5)]&&_0x4c552b[_0x31570a(0x29c)]&&!_0x1871f3);let _0x524c11=_0x538342;_0x538342>=0x10000?(_0xe5fd70+=0x8,_0x524c11=0x7f):_0x538342>0x7d&&(_0xe5fd70+=0x2,_0x524c11=0x7e);const _0x4d1882=Buffer[_0x31570a(0x2c7)](_0x5e26d7?_0x538342+_0xe5fd70:_0xe5fd70);return _0x4d1882[0x0]=_0x4c552b['fin']?_0x4c552b[_0x31570a(0x28d)]|0x80:_0x4c552b[_0x31570a(0x28d)],_0x4c552b[_0x31570a(0x2d5)]&&(_0x4d1882[0x0]|=0x40),_0x4d1882[0x1]=_0x524c11,_0x524c11===0x7e?_0x4d1882[_0x31570a(0x194)](_0x538342,0x2):_0x524c11===0x7f&&(_0x4d1882[0x2]=_0x4d1882[0x3]=0x0,_0x4d1882[_0x31570a(0x2c6)](_0x538342,0x4,0x6)),_0x4c552b[_0x31570a(0x2e5)]?(_0x4d1882[0x1]|=0x80,_0x4d1882[_0xe5fd70-0x4]=_0x254ade[0x0],_0x4d1882[_0xe5fd70-0x3]=_0x254ade[0x1],_0x4d1882[_0xe5fd70-0x2]=_0x254ade[0x2],_0x4d1882[_0xe5fd70-0x1]=_0x254ade[0x3],_0x1871f3?[_0x4d1882,_0x37984c]:_0x5e26d7?(_0xbfbe4a(_0x37984c,_0x254ade,_0x4d1882,_0xe5fd70,_0x538342),[_0x4d1882]):(_0xbfbe4a(_0x37984c,_0x254ade,_0x37984c,0x0,_0x538342),[_0x4d1882,_0x37984c])):[_0x4d1882,_0x37984c];}[_0x42312a(0x1d2)](_0x1de821,_0x37ed8c,_0x119efc,_0x1a9cc9){const _0x494173=_0x42312a;let _0x1c60c9;if(_0x1de821===void 0x0)_0x1c60c9=_0x11f06b;else{if(typeof _0x1de821!='number'||!_0x4ef57e(_0x1de821))throw new TypeError('First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number');if(_0x37ed8c===void 0x0||!_0x37ed8c[_0x494173(0x2fc)])_0x1c60c9=Buffer['allocUnsafe'](0x2),_0x1c60c9[_0x494173(0x194)](_0x1de821,0x0);else{const _0x5ce421=Buffer[_0x494173(0x2b8)](_0x37ed8c);if(_0x5ce421>0x7b)throw new RangeError(_0x494173(0x2e9));_0x1c60c9=Buffer[_0x494173(0x2c7)](0x2+_0x5ce421),_0x1c60c9[_0x494173(0x194)](_0x1de821,0x0),typeof _0x37ed8c==_0x494173(0x26e)?_0x1c60c9['write'](_0x37ed8c,0x2):_0x1c60c9['set'](_0x37ed8c,0x2);}}const _0x22fcba={[_0x3e496c]:_0x1c60c9[_0x494173(0x2fc)],'fin':!0x0,'generateMask':this[_0x494173(0x2e7)],'mask':_0x119efc,'maskBuffer':this[_0x494173(0x1c7)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this['_state']!==_0x452d54?this[_0x494173(0x276)]([this[_0x494173(0x1a3)],_0x1c60c9,!0x1,_0x22fcba,_0x1a9cc9]):this[_0x494173(0x255)](_0x598199[_0x494173(0x242)](_0x1c60c9,_0x22fcba),_0x1a9cc9);}[_0x42312a(0x2ad)](_0x4e55cf,_0x292f7c,_0x59642d){const _0x53461f=_0x42312a;let _0x3b7071,_0x3b4ea4;if(typeof _0x4e55cf==_0x53461f(0x26e)?(_0x3b7071=Buffer[_0x53461f(0x2b8)](_0x4e55cf),_0x3b4ea4=!0x1):_0x1d9bf8(_0x4e55cf)?(_0x3b7071=_0x4e55cf['size'],_0x3b4ea4=!0x1):(_0x4e55cf=_0xaebeb1(_0x4e55cf),_0x3b7071=_0x4e55cf[_0x53461f(0x2fc)],_0x3b4ea4=_0xaebeb1[_0x53461f(0x29c)]),_0x3b7071>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x5f1c26={[_0x3e496c]:_0x3b7071,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x292f7c,'maskBuffer':this['_maskBuffer'],'opcode':0x9,'readOnly':_0x3b4ea4,'rsv1':!0x1};_0x1d9bf8(_0x4e55cf)?this[_0x53461f(0x230)]!==_0x452d54?this[_0x53461f(0x276)]([this[_0x53461f(0x20f)],_0x4e55cf,!0x1,_0x5f1c26,_0x59642d]):this['getBlobData'](_0x4e55cf,!0x1,_0x5f1c26,_0x59642d):this[_0x53461f(0x230)]!==_0x452d54?this[_0x53461f(0x276)]([this[_0x53461f(0x1a3)],_0x4e55cf,!0x1,_0x5f1c26,_0x59642d]):this[_0x53461f(0x255)](_0x598199[_0x53461f(0x242)](_0x4e55cf,_0x5f1c26),_0x59642d);}[_0x42312a(0x19a)](_0x134aa1,_0x5b50be,_0x7fa77d){const _0x1569d9=_0x42312a;let _0x1df7cc,_0x42776e;if(typeof _0x134aa1==_0x1569d9(0x26e)?(_0x1df7cc=Buffer[_0x1569d9(0x2b8)](_0x134aa1),_0x42776e=!0x1):_0x1d9bf8(_0x134aa1)?(_0x1df7cc=_0x134aa1['size'],_0x42776e=!0x1):(_0x134aa1=_0xaebeb1(_0x134aa1),_0x1df7cc=_0x134aa1[_0x1569d9(0x2fc)],_0x42776e=_0xaebeb1['readOnly']),_0x1df7cc>0x7d)throw new RangeError(_0x1569d9(0x228));const _0x3b17e8={[_0x3e496c]:_0x1df7cc,'fin':!0x0,'generateMask':this[_0x1569d9(0x2e7)],'mask':_0x5b50be,'maskBuffer':this[_0x1569d9(0x1c7)],'opcode':0xa,'readOnly':_0x42776e,'rsv1':!0x1};_0x1d9bf8(_0x134aa1)?this[_0x1569d9(0x230)]!==_0x452d54?this[_0x1569d9(0x276)]([this['getBlobData'],_0x134aa1,!0x1,_0x3b17e8,_0x7fa77d]):this['getBlobData'](_0x134aa1,!0x1,_0x3b17e8,_0x7fa77d):this[_0x1569d9(0x230)]!==_0x452d54?this['enqueue']([this['dispatch'],_0x134aa1,!0x1,_0x3b17e8,_0x7fa77d]):this[_0x1569d9(0x255)](_0x598199[_0x1569d9(0x242)](_0x134aa1,_0x3b17e8),_0x7fa77d);}[_0x42312a(0x168)](_0x239371,_0x4e1e41,_0x3ce622){const _0x2e29fe=_0x42312a,_0x25036d=this[_0x2e29fe(0x1bd)][_0x184024[_0x2e29fe(0x28e)]];let _0x11cd06=_0x4e1e41['binary']?0x2:0x1,_0x5685d0=_0x4e1e41[_0x2e29fe(0x172)],_0x22b38b,_0x2eb3b0;typeof _0x239371=='string'?(_0x22b38b=Buffer[_0x2e29fe(0x2b8)](_0x239371),_0x2eb3b0=!0x1):_0x1d9bf8(_0x239371)?(_0x22b38b=_0x239371['size'],_0x2eb3b0=!0x1):(_0x239371=_0xaebeb1(_0x239371),_0x22b38b=_0x239371[_0x2e29fe(0x2fc)],_0x2eb3b0=_0xaebeb1[_0x2e29fe(0x29c)]),this[_0x2e29fe(0x1b0)]?(this[_0x2e29fe(0x1b0)]=!0x1,_0x5685d0&&_0x25036d&&_0x25036d[_0x2e29fe(0x2f6)][_0x25036d[_0x2e29fe(0x1e6)]?_0x2e29fe(0x1e2):_0x2e29fe(0x1ca)]&&(_0x5685d0=_0x22b38b>=_0x25036d['_threshold']),this[_0x2e29fe(0x297)]=_0x5685d0):(_0x5685d0=!0x1,_0x11cd06=0x0),_0x4e1e41['fin']&&(this['_firstFragment']=!0x0);const _0x436f3e={[_0x3e496c]:_0x22b38b,'fin':_0x4e1e41['fin'],'generateMask':this[_0x2e29fe(0x2e7)],'mask':_0x4e1e41[_0x2e29fe(0x2e5)],'maskBuffer':this[_0x2e29fe(0x1c7)],'opcode':_0x11cd06,'readOnly':_0x2eb3b0,'rsv1':_0x5685d0};_0x1d9bf8(_0x239371)?this[_0x2e29fe(0x230)]!==_0x452d54?this[_0x2e29fe(0x276)]([this['getBlobData'],_0x239371,this[_0x2e29fe(0x297)],_0x436f3e,_0x3ce622]):this[_0x2e29fe(0x20f)](_0x239371,this[_0x2e29fe(0x297)],_0x436f3e,_0x3ce622):this[_0x2e29fe(0x230)]!==_0x452d54?this[_0x2e29fe(0x276)]([this[_0x2e29fe(0x1a3)],_0x239371,this[_0x2e29fe(0x297)],_0x436f3e,_0x3ce622]):this[_0x2e29fe(0x1a3)](_0x239371,this[_0x2e29fe(0x297)],_0x436f3e,_0x3ce622);}[_0x42312a(0x20f)](_0x118c52,_0x5b64c0,_0x3e7ef0,_0xaf58f7){const _0x396efd=_0x42312a;this[_0x396efd(0x187)]+=_0x3e7ef0[_0x3e496c],this[_0x396efd(0x230)]=_0x24f5cf,_0x118c52['arrayBuffer']()['then'](_0x2c25bc=>{const _0xca6c3d=_0x396efd;if(this[_0xca6c3d(0x281)][_0xca6c3d(0x2e6)]){const _0x4ae53c=new Error(_0xca6c3d(0x16b));process[_0xca6c3d(0x280)](_0x464e6c,this,_0x4ae53c,_0xaf58f7);return;}this[_0xca6c3d(0x187)]-=_0x3e7ef0[_0x3e496c];const _0x37e31b=_0xaebeb1(_0x2c25bc);_0x5b64c0?this[_0xca6c3d(0x1a3)](_0x37e31b,_0x5b64c0,_0x3e7ef0,_0xaf58f7):(this[_0xca6c3d(0x230)]=_0x452d54,this['sendFrame'](_0x598199['frame'](_0x37e31b,_0x3e7ef0),_0xaf58f7),this[_0xca6c3d(0x1c3)]());})[_0x396efd(0x1a4)](_0x2dd74e=>{const _0x224d87=_0x396efd;process[_0x224d87(0x280)](_0x3e7a19,this,_0x2dd74e,_0xaf58f7);});}[_0x42312a(0x1a3)](_0x445400,_0x46c9d7,_0x16c952,_0x117a26){const _0x180058=_0x42312a;if(!_0x46c9d7){this[_0x180058(0x255)](_0x598199[_0x180058(0x242)](_0x445400,_0x16c952),_0x117a26);return;}const _0x163419=this[_0x180058(0x1bd)][_0x184024[_0x180058(0x28e)]];this[_0x180058(0x187)]+=_0x16c952[_0x3e496c],this['_state']=_0x103690,_0x163419[_0x180058(0x172)](_0x445400,_0x16c952['fin'],(_0x534881,_0x4272e9)=>{const _0x55fca6=_0x180058;if(this[_0x55fca6(0x281)][_0x55fca6(0x2e6)]){const _0x28e73a=new Error(_0x55fca6(0x2a8));_0x464e6c(this,_0x28e73a,_0x117a26);return;}this[_0x55fca6(0x187)]-=_0x16c952[_0x3e496c],this['_state']=_0x452d54,_0x16c952[_0x55fca6(0x29c)]=!0x1,this[_0x55fca6(0x255)](_0x598199[_0x55fca6(0x242)](_0x4272e9,_0x16c952),_0x117a26),this[_0x55fca6(0x1c3)]();});}[_0x42312a(0x1c3)](){const _0xa5499d=_0x42312a;for(;this[_0xa5499d(0x230)]===_0x452d54&&this[_0xa5499d(0x2b4)][_0xa5499d(0x2fc)];){const _0x3484d3=this['_queue']['shift']();this[_0xa5499d(0x187)]-=_0x3484d3[0x3][_0x3e496c],Reflect[_0xa5499d(0x232)](_0x3484d3[0x0],this,_0x3484d3[_0xa5499d(0x2e8)](0x1));}}['enqueue'](_0x468827){const _0x14c909=_0x42312a;this[_0x14c909(0x187)]+=_0x468827[0x3][_0x3e496c],this[_0x14c909(0x2b4)][_0x14c909(0x1f3)](_0x468827);}[_0x42312a(0x255)](_0x5e6742,_0x217480){const _0x57e2b6=_0x42312a;_0x5e6742['length']===0x2?(this[_0x57e2b6(0x281)]['cork'](),this[_0x57e2b6(0x281)]['write'](_0x5e6742[0x0]),this['_socket']['write'](_0x5e6742[0x1],_0x217480),this[_0x57e2b6(0x281)]['uncork']()):this[_0x57e2b6(0x281)]['write'](_0x5e6742[0x0],_0x217480);}}Ee=_0x598199;function _0x464e6c(_0x565ac9,_0x494269,_0xd00549){const _0x31960a=_0x42312a;typeof _0xd00549==_0x31960a(0x210)&&_0xd00549(_0x494269);for(let _0x2de20b=0x0;_0x2de20b<_0x565ac9[_0x31960a(0x2b4)][_0x31960a(0x2fc)];_0x2de20b++){const _0x15cba4=_0x565ac9[_0x31960a(0x2b4)][_0x2de20b],_0x159e97=_0x15cba4[_0x15cba4['length']-0x1];typeof _0x159e97==_0x31960a(0x210)&&_0x159e97(_0x494269);}}function _0x3e7a19(_0x284820,_0x1f0d26,_0x4191db){_0x464e6c(_0x284820,_0x1f0d26,_0x4191db),_0x284820['onerror'](_0x1f0d26);}return Ee;}var xe,tt;function Kt(){const _0x274691=_0x13d6a6;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x2bc3f3,kListener:_0x4fd787}=V(),_0x206d10=Symbol(_0x274691(0x1fb)),_0x23ce64=Symbol('kData'),_0x58a0c9=Symbol('kError'),_0xd61f4b=Symbol(_0x274691(0x261)),_0x19c2fc=Symbol(_0x274691(0x1d9)),_0x29d7d5=Symbol('kTarget'),_0x30f0ff=Symbol(_0x274691(0x2db)),_0x5f1974=Symbol('kWasClean');class _0x210816{constructor(_0x9aa126){this[_0x29d7d5]=null,this[_0x30f0ff]=_0x9aa126;}get[_0x274691(0x2d7)](){return this[_0x29d7d5];}get['type'](){return this[_0x30f0ff];}}Object[_0x274691(0x29e)](_0x210816['prototype'],'target',{'enumerable':!0x0}),Object[_0x274691(0x29e)](_0x210816['prototype'],_0x274691(0x188),{'enumerable':!0x0});class _0x2f6d50 extends _0x210816{constructor(_0x36b0fe,_0x5c8b55={}){const _0x41a524=_0x274691;super(_0x36b0fe),this[_0x206d10]=_0x5c8b55[_0x41a524(0x1ef)]===void 0x0?0x0:_0x5c8b55['code'],this[_0x19c2fc]=_0x5c8b55[_0x41a524(0x16d)]===void 0x0?'':_0x5c8b55[_0x41a524(0x16d)],this[_0x5f1974]=_0x5c8b55[_0x41a524(0x1e3)]===void 0x0?!0x1:_0x5c8b55[_0x41a524(0x1e3)];}get['code'](){return this[_0x206d10];}get['reason'](){return this[_0x19c2fc];}get[_0x274691(0x1e3)](){return this[_0x5f1974];}}Object[_0x274691(0x29e)](_0x2f6d50[_0x274691(0x2cb)],_0x274691(0x1ef),{'enumerable':!0x0}),Object['defineProperty'](_0x2f6d50[_0x274691(0x2cb)],_0x274691(0x16d),{'enumerable':!0x0}),Object[_0x274691(0x29e)](_0x2f6d50[_0x274691(0x2cb)],_0x274691(0x1e3),{'enumerable':!0x0});class _0x46c107 extends _0x210816{constructor(_0x36dd80,_0xbf86b9={}){const _0x4cdfac=_0x274691;super(_0x36dd80),this[_0x58a0c9]=_0xbf86b9[_0x4cdfac(0x1eb)]===void 0x0?null:_0xbf86b9[_0x4cdfac(0x1eb)],this[_0xd61f4b]=_0xbf86b9[_0x4cdfac(0x259)]===void 0x0?'':_0xbf86b9[_0x4cdfac(0x259)];}get[_0x274691(0x1eb)](){return this[_0x58a0c9];}get[_0x274691(0x259)](){return this[_0xd61f4b];}}Object['defineProperty'](_0x46c107[_0x274691(0x2cb)],_0x274691(0x1eb),{'enumerable':!0x0}),Object[_0x274691(0x29e)](_0x46c107['prototype'],_0x274691(0x259),{'enumerable':!0x0});class _0x125e74 extends _0x210816{constructor(_0x34d2dc,_0x579520={}){const _0x3b78ed=_0x274691;super(_0x34d2dc),this[_0x23ce64]=_0x579520[_0x3b78ed(0x17e)]===void 0x0?null:_0x579520['data'];}get['data'](){return this[_0x23ce64];}}Object[_0x274691(0x29e)](_0x125e74[_0x274691(0x2cb)],_0x274691(0x17e),{'enumerable':!0x0}),xe={'CloseEvent':_0x2f6d50,'ErrorEvent':_0x46c107,'Event':_0x210816,'EventTarget':{'addEventListener'(_0x3cd186,_0x2081e9,_0x3cce3a={}){const _0x41522e=_0x274691;for(const _0x351012 of this[_0x41522e(0x2dc)](_0x3cd186))if(!_0x3cce3a[_0x2bc3f3]&&_0x351012[_0x4fd787]===_0x2081e9&&!_0x351012[_0x2bc3f3])return;let _0x11b99c;if(_0x3cd186===_0x41522e(0x259))_0x11b99c=function(_0x1999c4,_0x5dccdd){const _0x235739=_0x41522e,_0x4c3cdc=new _0x125e74(_0x235739(0x259),{'data':_0x5dccdd?_0x1999c4:_0x1999c4[_0x235739(0x264)]()});_0x4c3cdc[_0x29d7d5]=this,_0x33e47b(_0x2081e9,this,_0x4c3cdc);};else{if(_0x3cd186==='close')_0x11b99c=function(_0x4098d5,_0x134839){const _0x48740a=_0x41522e,_0x4e72f3=new _0x2f6d50(_0x48740a(0x1d2),{'code':_0x4098d5,'reason':_0x134839[_0x48740a(0x264)](),'wasClean':this[_0x48740a(0x2ae)]&&this['_closeFrameSent']});_0x4e72f3[_0x29d7d5]=this,_0x33e47b(_0x2081e9,this,_0x4e72f3);};else{if(_0x3cd186==='error')_0x11b99c=function(_0x22a2dc){const _0x5a1d0b=_0x41522e,_0x445fb7=new _0x46c107(_0x5a1d0b(0x1eb),{'error':_0x22a2dc,'message':_0x22a2dc['message']});_0x445fb7[_0x29d7d5]=this,_0x33e47b(_0x2081e9,this,_0x445fb7);};else{if(_0x3cd186===_0x41522e(0x2a0))_0x11b99c=function(){const _0x3f5cf4=_0x41522e,_0x24011e=new _0x210816(_0x3f5cf4(0x2a0));_0x24011e[_0x29d7d5]=this,_0x33e47b(_0x2081e9,this,_0x24011e);};else return;}}}_0x11b99c[_0x2bc3f3]=!!_0x3cce3a[_0x2bc3f3],_0x11b99c[_0x4fd787]=_0x2081e9,_0x3cce3a[_0x41522e(0x235)]?this[_0x41522e(0x235)](_0x3cd186,_0x11b99c):this['on'](_0x3cd186,_0x11b99c);},'removeEventListener'(_0x2d7b36,_0x498296){const _0x4a0659=_0x274691;for(const _0x22e6b5 of this[_0x4a0659(0x2dc)](_0x2d7b36))if(_0x22e6b5[_0x4fd787]===_0x498296&&!_0x22e6b5[_0x2bc3f3]){this[_0x4a0659(0x282)](_0x2d7b36,_0x22e6b5);break;}}},'MessageEvent':_0x125e74};function _0x33e47b(_0x5625d9,_0x30eed5,_0x2becff){const _0xca4570=_0x274691;typeof _0x5625d9==_0xca4570(0x1f0)&&_0x5625d9[_0xca4570(0x2d1)]?_0x5625d9[_0xca4570(0x2d1)][_0xca4570(0x2e1)](_0x5625d9,_0x2becff):_0x5625d9['call'](_0x30eed5,_0x2becff);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0xe8edb6}=ne();function _0x349159(_0x107496,_0x4d5298,_0x42f454){const _0x1950d0=_0x3fa4;_0x107496[_0x4d5298]===void 0x0?_0x107496[_0x4d5298]=[_0x42f454]:_0x107496[_0x4d5298][_0x1950d0(0x1f3)](_0x42f454);}function _0x320e30(_0x5d7745){const _0x4c7c1c=_0x3fa4,_0x42f8e3=Object[_0x4c7c1c(0x2a3)](null);let _0x593942=Object[_0x4c7c1c(0x2a3)](null),_0xe97786=!0x1,_0x3bdf20=!0x1,_0x466884=!0x1,_0x497b8c,_0x280169,_0x11d27b=-0x1,_0x4f44c7=-0x1,_0x4c09ef=-0x1,_0x5df639=0x0;for(;_0x5df639<_0x5d7745[_0x4c7c1c(0x2fc)];_0x5df639++)if(_0x4f44c7=_0x5d7745[_0x4c7c1c(0x301)](_0x5df639),_0x497b8c===void 0x0){if(_0x4c09ef===-0x1&&_0xe8edb6[_0x4f44c7]===0x1)_0x11d27b===-0x1&&(_0x11d27b=_0x5df639);else{if(_0x5df639!==0x0&&(_0x4f44c7===0x20||_0x4f44c7===0x9))_0x4c09ef===-0x1&&_0x11d27b!==-0x1&&(_0x4c09ef=_0x5df639);else{if(_0x4f44c7===0x3b||_0x4f44c7===0x2c){if(_0x11d27b===-0x1)throw new SyntaxError(_0x4c7c1c(0x26a)+_0x5df639);_0x4c09ef===-0x1&&(_0x4c09ef=_0x5df639);const _0x267142=_0x5d7745[_0x4c7c1c(0x2e8)](_0x11d27b,_0x4c09ef);_0x4f44c7===0x2c?(_0x349159(_0x42f8e3,_0x267142,_0x593942),_0x593942=Object[_0x4c7c1c(0x2a3)](null)):_0x497b8c=_0x267142,_0x11d27b=_0x4c09ef=-0x1;}else throw new SyntaxError(_0x4c7c1c(0x26a)+_0x5df639);}}}else{if(_0x280169===void 0x0){if(_0x4c09ef===-0x1&&_0xe8edb6[_0x4f44c7]===0x1)_0x11d27b===-0x1&&(_0x11d27b=_0x5df639);else{if(_0x4f44c7===0x20||_0x4f44c7===0x9)_0x4c09ef===-0x1&&_0x11d27b!==-0x1&&(_0x4c09ef=_0x5df639);else{if(_0x4f44c7===0x3b||_0x4f44c7===0x2c){if(_0x11d27b===-0x1)throw new SyntaxError(_0x4c7c1c(0x26a)+_0x5df639);_0x4c09ef===-0x1&&(_0x4c09ef=_0x5df639),_0x349159(_0x593942,_0x5d7745[_0x4c7c1c(0x2e8)](_0x11d27b,_0x4c09ef),!0x0),_0x4f44c7===0x2c&&(_0x349159(_0x42f8e3,_0x497b8c,_0x593942),_0x593942=Object['create'](null),_0x497b8c=void 0x0),_0x11d27b=_0x4c09ef=-0x1;}else{if(_0x4f44c7===0x3d&&_0x11d27b!==-0x1&&_0x4c09ef===-0x1)_0x280169=_0x5d7745[_0x4c7c1c(0x2e8)](_0x11d27b,_0x5df639),_0x11d27b=_0x4c09ef=-0x1;else throw new SyntaxError(_0x4c7c1c(0x26a)+_0x5df639);}}}}else{if(_0x3bdf20){if(_0xe8edb6[_0x4f44c7]!==0x1)throw new SyntaxError(_0x4c7c1c(0x26a)+_0x5df639);_0x11d27b===-0x1?_0x11d27b=_0x5df639:_0xe97786||(_0xe97786=!0x0),_0x3bdf20=!0x1;}else{if(_0x466884){if(_0xe8edb6[_0x4f44c7]===0x1)_0x11d27b===-0x1&&(_0x11d27b=_0x5df639);else{if(_0x4f44c7===0x22&&_0x11d27b!==-0x1)_0x466884=!0x1,_0x4c09ef=_0x5df639;else{if(_0x4f44c7===0x5c)_0x3bdf20=!0x0;else throw new SyntaxError(_0x4c7c1c(0x26a)+_0x5df639);}}}else{if(_0x4f44c7===0x22&&_0x5d7745['charCodeAt'](_0x5df639-0x1)===0x3d)_0x466884=!0x0;else{if(_0x4c09ef===-0x1&&_0xe8edb6[_0x4f44c7]===0x1)_0x11d27b===-0x1&&(_0x11d27b=_0x5df639);else{if(_0x11d27b!==-0x1&&(_0x4f44c7===0x20||_0x4f44c7===0x9))_0x4c09ef===-0x1&&(_0x4c09ef=_0x5df639);else{if(_0x4f44c7===0x3b||_0x4f44c7===0x2c){if(_0x11d27b===-0x1)throw new SyntaxError(_0x4c7c1c(0x26a)+_0x5df639);_0x4c09ef===-0x1&&(_0x4c09ef=_0x5df639);let _0x1b9099=_0x5d7745[_0x4c7c1c(0x2e8)](_0x11d27b,_0x4c09ef);_0xe97786&&(_0x1b9099=_0x1b9099[_0x4c7c1c(0x1b1)](/\\/g,''),_0xe97786=!0x1),_0x349159(_0x593942,_0x280169,_0x1b9099),_0x4f44c7===0x2c&&(_0x349159(_0x42f8e3,_0x497b8c,_0x593942),_0x593942=Object[_0x4c7c1c(0x2a3)](null),_0x497b8c=void 0x0),_0x280169=void 0x0,_0x11d27b=_0x4c09ef=-0x1;}else throw new SyntaxError(_0x4c7c1c(0x26a)+_0x5df639);}}}}}}}if(_0x11d27b===-0x1||_0x466884||_0x4f44c7===0x20||_0x4f44c7===0x9)throw new SyntaxError(_0x4c7c1c(0x2d4));_0x4c09ef===-0x1&&(_0x4c09ef=_0x5df639);const _0x57b037=_0x5d7745['slice'](_0x11d27b,_0x4c09ef);return _0x497b8c===void 0x0?_0x349159(_0x42f8e3,_0x57b037,_0x593942):(_0x280169===void 0x0?_0x349159(_0x593942,_0x57b037,!0x0):_0xe97786?_0x349159(_0x593942,_0x280169,_0x57b037['replace'](/\\/g,'')):_0x349159(_0x593942,_0x280169,_0x57b037),_0x349159(_0x42f8e3,_0x497b8c,_0x593942)),_0x42f8e3;}function _0xcb3a71(_0x22f445){const _0x4cb9fe=_0x3fa4;return Object[_0x4cb9fe(0x269)](_0x22f445)[_0x4cb9fe(0x1fd)](_0xce9d2c=>{const _0x48ec53=_0x4cb9fe;let _0x1dba3d=_0x22f445[_0xce9d2c];return Array[_0x48ec53(0x191)](_0x1dba3d)||(_0x1dba3d=[_0x1dba3d]),_0x1dba3d[_0x48ec53(0x1fd)](_0x4e38ee=>[_0xce9d2c][_0x48ec53(0x1bc)](Object[_0x48ec53(0x269)](_0x4e38ee)[_0x48ec53(0x1fd)](_0x5cc1b9=>{const _0x1e03f0=_0x48ec53;let _0x20727e=_0x4e38ee[_0x5cc1b9];return Array[_0x1e03f0(0x191)](_0x20727e)||(_0x20727e=[_0x20727e]),_0x20727e[_0x1e03f0(0x1fd)](_0x5ef7fa=>_0x5ef7fa===!0x0?_0x5cc1b9:_0x5cc1b9+'='+_0x5ef7fa)['join'](';\x20');}))[_0x48ec53(0x2c4)](';\x20'))['join'](',\x20');})[_0x4cb9fe(0x2c4)](',\x20');}return be={'format':_0xcb3a71,'parse':_0x320e30},be;}var we,st;function Ie(){const _0x9b3b05=_0x13d6a6;if(st)return we;st=0x1;const _0x54ec9a=_0xad065c,_0x3bf6bd=_0x258f4a,_0x45143b=_0x5f236e,_0x55eaf1=_0x39c0c6,_0x4a2f8c=_0x2e7ebe,{randomBytes:_0x12e8cb,createHash:_0x1ec6ab}=_0x185a77,{Duplex:_0x62e8c3,Readable:_0x56109f}=_0x551648,{URL:_0x5d6a57}=_0x48dcb6,_0x280833=he(),_0x36e6a1=dt(),_0x41d4f5=_t(),{isBlob:_0x4574a4}=ne(),{BINARY_TYPES:_0x277db0,EMPTY_BUFFER:_0x35a547,GUID:_0x2371f9,kForOnEventAttribute:_0x270795,kListener:_0xcd9dfd,kStatusCode:_0x11dd16,kWebSocket:_0x277f07,NOOP:_0x3627f2}=V(),{EventTarget:{addEventListener:_0x5e9b80,removeEventListener:_0x2a0f98}}=Kt(),{format:_0x5e75de,parse:_0x4a1cb0}=pt(),{toBuffer:_0x3056c5}=ce(),_0x4bd6e7=0x1e*0x3e8,_0x46c90f=Symbol(_0x9b3b05(0x24b)),_0x12025d=[0x8,0xd],_0x279c4d=[_0x9b3b05(0x19e),_0x9b3b05(0x1df),_0x9b3b05(0x193),_0x9b3b05(0x18b)],_0xf95648=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x28abc9 extends _0x54ec9a{constructor(_0x5213cf,_0x2b2368,_0x2bddb8){const _0x2c80f7=_0x9b3b05;super(),this[_0x2c80f7(0x214)]=_0x277db0[0x0],this['_closeCode']=0x3ee,this[_0x2c80f7(0x2ae)]=!0x1,this[_0x2c80f7(0x2b9)]=!0x1,this[_0x2c80f7(0x1db)]=_0x35a547,this[_0x2c80f7(0x179)]=null,this[_0x2c80f7(0x288)]=!0x1,this[_0x2c80f7(0x1bd)]={},this['_paused']=!0x1,this[_0x2c80f7(0x1a6)]='',this[_0x2c80f7(0x279)]=_0x28abc9[_0x2c80f7(0x19e)],this['_receiver']=null,this['_sender']=null,this[_0x2c80f7(0x281)]=null,_0x5213cf!==null?(this['_bufferedAmount']=0x0,this[_0x2c80f7(0x1e6)]=!0x1,this[_0x2c80f7(0x169)]=0x0,_0x2b2368===void 0x0?_0x2b2368=[]:Array[_0x2c80f7(0x191)](_0x2b2368)||(typeof _0x2b2368=='object'&&_0x2b2368!==null?(_0x2bddb8=_0x2b2368,_0x2b2368=[]):_0x2b2368=[_0x2b2368]),_0x354437(this,_0x5213cf,_0x2b2368,_0x2bddb8)):(this['_autoPong']=_0x2bddb8['autoPong'],this[_0x2c80f7(0x1e6)]=!0x0);}get[_0x9b3b05(0x28f)](){const _0x199436=_0x9b3b05;return this[_0x199436(0x214)];}set['binaryType'](_0x280002){const _0x3df6f2=_0x9b3b05;_0x277db0[_0x3df6f2(0x173)](_0x280002)&&(this[_0x3df6f2(0x214)]=_0x280002,this['_receiver']&&(this[_0x3df6f2(0x2ab)][_0x3df6f2(0x214)]=_0x280002));}get[_0x9b3b05(0x27c)](){const _0x1b1a93=_0x9b3b05;return this[_0x1b1a93(0x281)]?this[_0x1b1a93(0x281)][_0x1b1a93(0x164)][_0x1b1a93(0x2fc)]+this[_0x1b1a93(0x2a2)][_0x1b1a93(0x187)]:this[_0x1b1a93(0x231)];}get[_0x9b3b05(0x292)](){const _0x243169=_0x9b3b05;return Object['keys'](this[_0x243169(0x1bd)])[_0x243169(0x2c4)]();}get[_0x9b3b05(0x161)](){const _0x2a3b4d=_0x9b3b05;return this[_0x2a3b4d(0x156)];}get[_0x9b3b05(0x2b2)](){return null;}get[_0x9b3b05(0x2ea)](){return null;}get['onopen'](){return null;}get[_0x9b3b05(0x1c1)](){return null;}get[_0x9b3b05(0x186)](){const _0x31c561=_0x9b3b05;return this[_0x31c561(0x1a6)];}get[_0x9b3b05(0x25c)](){return this['_readyState'];}get[_0x9b3b05(0x1aa)](){return this['_url'];}[_0x9b3b05(0x2c8)](_0x1fb87b,_0x40f798,_0x5d8524){const _0x1006ae=_0x9b3b05,_0x4a64d2=new _0x36e6a1({'allowSynchronousEvents':_0x5d8524[_0x1006ae(0x19c)],'binaryType':this[_0x1006ae(0x28f)],'extensions':this[_0x1006ae(0x1bd)],'isServer':this[_0x1006ae(0x1e6)],'maxPayload':_0x5d8524['maxPayload'],'skipUTF8Validation':_0x5d8524[_0x1006ae(0x254)]}),_0x31acea=new _0x41d4f5(_0x1fb87b,this[_0x1006ae(0x1bd)],_0x5d8524[_0x1006ae(0x273)]);this[_0x1006ae(0x2ab)]=_0x4a64d2,this[_0x1006ae(0x2a2)]=_0x31acea,this[_0x1006ae(0x281)]=_0x1fb87b,_0x4a64d2[_0x277f07]=this,_0x31acea[_0x277f07]=this,_0x1fb87b[_0x277f07]=this,_0x4a64d2['on'](_0x1006ae(0x2a6),_0x1b7177),_0x4a64d2['on']('drain',_0x146954),_0x4a64d2['on'](_0x1006ae(0x1eb),_0x44e26a),_0x4a64d2['on']('message',_0xa2db24),_0x4a64d2['on']('ping',_0x30eec6),_0x4a64d2['on'](_0x1006ae(0x19a),_0x16d384),_0x31acea['onerror']=_0x281e7e,_0x1fb87b['setTimeout']&&_0x1fb87b[_0x1006ae(0x1ea)](0x0),_0x1fb87b[_0x1006ae(0x2c9)]&&_0x1fb87b[_0x1006ae(0x2c9)](),_0x40f798[_0x1006ae(0x2fc)]>0x0&&_0x1fb87b[_0x1006ae(0x1b8)](_0x40f798),_0x1fb87b['on'](_0x1006ae(0x1d2),_0x347159),_0x1fb87b['on'](_0x1006ae(0x17e),_0x24a2df),_0x1fb87b['on'](_0x1006ae(0x268),_0x1b754a),_0x1fb87b['on']('error',_0x36150d),this[_0x1006ae(0x279)]=_0x28abc9[_0x1006ae(0x1df)],this[_0x1006ae(0x224)]('open');}[_0x9b3b05(0x300)](){const _0x2c213a=_0x9b3b05;if(!this[_0x2c213a(0x281)]){this[_0x2c213a(0x279)]=_0x28abc9['CLOSED'],this[_0x2c213a(0x224)](_0x2c213a(0x1d2),this['_closeCode'],this[_0x2c213a(0x1db)]);return;}this['_extensions'][_0x280833['extensionName']]&&this[_0x2c213a(0x1bd)][_0x280833[_0x2c213a(0x28e)]][_0x2c213a(0x15b)](),this[_0x2c213a(0x2ab)]['removeAllListeners'](),this['_readyState']=_0x28abc9[_0x2c213a(0x18b)],this[_0x2c213a(0x224)](_0x2c213a(0x1d2),this[_0x2c213a(0x2d8)],this['_closeMessage']);}[_0x9b3b05(0x1d2)](_0x4fa6d3,_0x6f863b){const _0x3e1f90=_0x9b3b05;if(this[_0x3e1f90(0x25c)]!==_0x28abc9[_0x3e1f90(0x18b)]){if(this[_0x3e1f90(0x25c)]===_0x28abc9[_0x3e1f90(0x19e)]){_0x37e9b9(this,this[_0x3e1f90(0x2fb)],_0x3e1f90(0x16c));return;}if(this[_0x3e1f90(0x25c)]===_0x28abc9[_0x3e1f90(0x193)]){this['_closeFrameSent']&&(this[_0x3e1f90(0x2ae)]||this['_receiver'][_0x3e1f90(0x164)]['errorEmitted'])&&this['_socket'][_0x3e1f90(0x268)]();return;}this[_0x3e1f90(0x279)]=_0x28abc9[_0x3e1f90(0x193)],this[_0x3e1f90(0x2a2)][_0x3e1f90(0x1d2)](_0x4fa6d3,_0x6f863b,!this[_0x3e1f90(0x1e6)],_0x4cfdff=>{const _0x227a61=_0x3e1f90;_0x4cfdff||(this[_0x227a61(0x2b9)]=!0x0,(this[_0x227a61(0x2ae)]||this[_0x227a61(0x2ab)]['_writableState'][_0x227a61(0x1e1)])&&this['_socket']['end']());}),_0x3ef795(this);}}[_0x9b3b05(0x1d1)](){const _0x3d2f36=_0x9b3b05;this[_0x3d2f36(0x25c)]===_0x28abc9[_0x3d2f36(0x19e)]||this['readyState']===_0x28abc9[_0x3d2f36(0x18b)]||(this[_0x3d2f36(0x156)]=!0x0,this['_socket'][_0x3d2f36(0x1d1)]());}[_0x9b3b05(0x2ad)](_0x1c00a0,_0x3ff005,_0x4ef96a){const _0x2cc03c=_0x9b3b05;if(this[_0x2cc03c(0x25c)]===_0x28abc9[_0x2cc03c(0x19e)])throw new Error(_0x2cc03c(0x2d3));if(typeof _0x1c00a0==_0x2cc03c(0x210)?(_0x4ef96a=_0x1c00a0,_0x1c00a0=_0x3ff005=void 0x0):typeof _0x3ff005==_0x2cc03c(0x210)&&(_0x4ef96a=_0x3ff005,_0x3ff005=void 0x0),typeof _0x1c00a0==_0x2cc03c(0x303)&&(_0x1c00a0=_0x1c00a0[_0x2cc03c(0x264)]()),this[_0x2cc03c(0x25c)]!==_0x28abc9['OPEN']){_0x34d4fb(this,_0x1c00a0,_0x4ef96a);return;}_0x3ff005===void 0x0&&(_0x3ff005=!this[_0x2cc03c(0x1e6)]),this[_0x2cc03c(0x2a2)][_0x2cc03c(0x2ad)](_0x1c00a0||_0x35a547,_0x3ff005,_0x4ef96a);}['pong'](_0x5dc100,_0x324d82,_0x599201){const _0x80b0c4=_0x9b3b05;if(this[_0x80b0c4(0x25c)]===_0x28abc9['CONNECTING'])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x5dc100==_0x80b0c4(0x210)?(_0x599201=_0x5dc100,_0x5dc100=_0x324d82=void 0x0):typeof _0x324d82==_0x80b0c4(0x210)&&(_0x599201=_0x324d82,_0x324d82=void 0x0),typeof _0x5dc100=='number'&&(_0x5dc100=_0x5dc100['toString']()),this[_0x80b0c4(0x25c)]!==_0x28abc9[_0x80b0c4(0x1df)]){_0x34d4fb(this,_0x5dc100,_0x599201);return;}_0x324d82===void 0x0&&(_0x324d82=!this[_0x80b0c4(0x1e6)]),this['_sender'][_0x80b0c4(0x19a)](_0x5dc100||_0x35a547,_0x324d82,_0x599201);}['resume'](){const _0xc7a15a=_0x9b3b05;this[_0xc7a15a(0x25c)]===_0x28abc9[_0xc7a15a(0x19e)]||this['readyState']===_0x28abc9[_0xc7a15a(0x18b)]||(this[_0xc7a15a(0x156)]=!0x1,this['_receiver']['_writableState'][_0xc7a15a(0x203)]||this[_0xc7a15a(0x281)][_0xc7a15a(0x205)]());}[_0x9b3b05(0x168)](_0x35e58f,_0x43b944,_0x525e6f){const _0x8a6603=_0x9b3b05;if(this[_0x8a6603(0x25c)]===_0x28abc9[_0x8a6603(0x19e)])throw new Error(_0x8a6603(0x2d3));if(typeof _0x43b944==_0x8a6603(0x210)&&(_0x525e6f=_0x43b944,_0x43b944={}),typeof _0x35e58f=='number'&&(_0x35e58f=_0x35e58f[_0x8a6603(0x264)]()),this[_0x8a6603(0x25c)]!==_0x28abc9[_0x8a6603(0x1df)]){_0x34d4fb(this,_0x35e58f,_0x525e6f);return;}const _0xcc5356={'binary':typeof _0x35e58f!=_0x8a6603(0x26e),'mask':!this[_0x8a6603(0x1e6)],'compress':!0x0,'fin':!0x0,..._0x43b944};this[_0x8a6603(0x1bd)][_0x280833[_0x8a6603(0x28e)]]||(_0xcc5356[_0x8a6603(0x172)]=!0x1),this[_0x8a6603(0x2a2)][_0x8a6603(0x168)](_0x35e58f||_0x35a547,_0xcc5356,_0x525e6f);}[_0x9b3b05(0x241)](){const _0x177eb9=_0x9b3b05;if(this[_0x177eb9(0x25c)]!==_0x28abc9[_0x177eb9(0x18b)]){if(this[_0x177eb9(0x25c)]===_0x28abc9['CONNECTING']){_0x37e9b9(this,this['_req'],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}this[_0x177eb9(0x281)]&&(this['_readyState']=_0x28abc9[_0x177eb9(0x193)],this['_socket']['destroy']());}}}Object[_0x9b3b05(0x29e)](_0x28abc9,_0x9b3b05(0x19e),{'enumerable':!0x0,'value':_0x279c4d[_0x9b3b05(0x265)](_0x9b3b05(0x19e))}),Object[_0x9b3b05(0x29e)](_0x28abc9[_0x9b3b05(0x2cb)],_0x9b3b05(0x19e),{'enumerable':!0x0,'value':_0x279c4d[_0x9b3b05(0x265)](_0x9b3b05(0x19e))}),Object[_0x9b3b05(0x29e)](_0x28abc9,_0x9b3b05(0x1df),{'enumerable':!0x0,'value':_0x279c4d[_0x9b3b05(0x265)](_0x9b3b05(0x1df))}),Object[_0x9b3b05(0x29e)](_0x28abc9[_0x9b3b05(0x2cb)],_0x9b3b05(0x1df),{'enumerable':!0x0,'value':_0x279c4d[_0x9b3b05(0x265)]('OPEN')}),Object[_0x9b3b05(0x29e)](_0x28abc9,_0x9b3b05(0x193),{'enumerable':!0x0,'value':_0x279c4d[_0x9b3b05(0x265)](_0x9b3b05(0x193))}),Object[_0x9b3b05(0x29e)](_0x28abc9[_0x9b3b05(0x2cb)],_0x9b3b05(0x193),{'enumerable':!0x0,'value':_0x279c4d[_0x9b3b05(0x265)](_0x9b3b05(0x193))}),Object[_0x9b3b05(0x29e)](_0x28abc9,_0x9b3b05(0x18b),{'enumerable':!0x0,'value':_0x279c4d[_0x9b3b05(0x265)](_0x9b3b05(0x18b))}),Object['defineProperty'](_0x28abc9['prototype'],'CLOSED',{'enumerable':!0x0,'value':_0x279c4d[_0x9b3b05(0x265)](_0x9b3b05(0x18b))}),[_0x9b3b05(0x28f),_0x9b3b05(0x27c),_0x9b3b05(0x292),'isPaused','protocol',_0x9b3b05(0x25c),_0x9b3b05(0x1aa)][_0x9b3b05(0x277)](_0x14508d=>{const _0x17a6f6=_0x9b3b05;Object[_0x17a6f6(0x29e)](_0x28abc9[_0x17a6f6(0x2cb)],_0x14508d,{'enumerable':!0x0});}),[_0x9b3b05(0x2a0),_0x9b3b05(0x1eb),_0x9b3b05(0x1d2),'message'][_0x9b3b05(0x277)](_0x4373db=>{const _0x475006=_0x9b3b05;Object[_0x475006(0x29e)](_0x28abc9[_0x475006(0x2cb)],'on'+_0x4373db,{'enumerable':!0x0,'get'(){for(const _0x6bbe5c of this['listeners'](_0x4373db))if(_0x6bbe5c[_0x270795])return _0x6bbe5c[_0xcd9dfd];return null;},'set'(_0x2693be){const _0x3a7edf=_0x475006;for(const _0x14b642 of this[_0x3a7edf(0x2dc)](_0x4373db))if(_0x14b642[_0x270795]){this[_0x3a7edf(0x282)](_0x4373db,_0x14b642);break;}typeof _0x2693be==_0x3a7edf(0x210)&&this[_0x3a7edf(0x20d)](_0x4373db,_0x2693be,{[_0x270795]:!0x0});}});}),_0x28abc9[_0x9b3b05(0x2cb)][_0x9b3b05(0x20d)]=_0x5e9b80,_0x28abc9[_0x9b3b05(0x2cb)]['removeEventListener']=_0x2a0f98,we=_0x28abc9;function _0x354437(_0x5eabea,_0x4d079b,_0x8329cb,_0x5b769f){const _0x217ff1=_0x9b3b05,_0x770f74={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x12025d[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x5b769f,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x217ff1(0x2bd),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x5eabea['_autoPong']=_0x770f74['autoPong'],!_0x12025d[_0x217ff1(0x173)](_0x770f74[_0x217ff1(0x2eb)]))throw new RangeError(_0x217ff1(0x1f9)+_0x770f74[_0x217ff1(0x2eb)]+_0x217ff1(0x2f7)+_0x12025d[_0x217ff1(0x2c4)](',\x20')+')');let _0x50def5;if(_0x4d079b instanceof _0x5d6a57)_0x50def5=_0x4d079b;else try{_0x50def5=new _0x5d6a57(_0x4d079b);}catch{throw new SyntaxError(_0x217ff1(0x1a1)+_0x4d079b);}_0x50def5[_0x217ff1(0x186)]===_0x217ff1(0x18c)?_0x50def5['protocol']=_0x217ff1(0x155):_0x50def5[_0x217ff1(0x186)]===_0x217ff1(0x253)&&(_0x50def5[_0x217ff1(0x186)]=_0x217ff1(0x1af)),_0x5eabea[_0x217ff1(0x1ed)]=_0x50def5['href'];const _0x1f4611=_0x50def5['protocol']==='wss:',_0x18f8a3=_0x50def5[_0x217ff1(0x186)]===_0x217ff1(0x185);let _0x1c4871;if(_0x50def5[_0x217ff1(0x186)]!==_0x217ff1(0x155)&&!_0x1f4611&&!_0x18f8a3?_0x1c4871='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':_0x18f8a3&&!_0x50def5[_0x217ff1(0x2ac)]?_0x1c4871=_0x217ff1(0x24a):_0x50def5[_0x217ff1(0x213)]&&(_0x1c4871=_0x217ff1(0x23f)),_0x1c4871){const _0x2b7ba9=new SyntaxError(_0x1c4871);if(_0x5eabea[_0x217ff1(0x169)]===0x0)throw _0x2b7ba9;_0xd51329(_0x5eabea,_0x2b7ba9);return;}const _0xc8d087=_0x1f4611?0x1bb:0x50,_0x199451=_0x12e8cb(0x10)[_0x217ff1(0x264)](_0x217ff1(0x250)),_0x2703c2=_0x1f4611?_0x3bf6bd['request']:_0x45143b[_0x217ff1(0x2de)],_0x57eec9=new Set();let _0x3b54cb;if(_0x770f74[_0x217ff1(0x175)]=_0x770f74[_0x217ff1(0x175)]||(_0x1f4611?_0x6f461c:_0x22a60f),_0x770f74[_0x217ff1(0x29f)]=_0x770f74[_0x217ff1(0x29f)]||_0xc8d087,_0x770f74[_0x217ff1(0x2b0)]=_0x50def5['port']||_0xc8d087,_0x770f74[_0x217ff1(0x24c)]=_0x50def5[_0x217ff1(0x165)][_0x217ff1(0x2f8)]('[')?_0x50def5['hostname'][_0x217ff1(0x2e8)](0x1,-0x1):_0x50def5[_0x217ff1(0x165)],_0x770f74['headers']={..._0x770f74[_0x217ff1(0x1a5)],'Sec-WebSocket-Version':_0x770f74[_0x217ff1(0x2eb)],'Sec-WebSocket-Key':_0x199451,'Connection':'Upgrade','Upgrade':_0x217ff1(0x26c)},_0x770f74[_0x217ff1(0x25d)]=_0x50def5[_0x217ff1(0x2ac)]+_0x50def5[_0x217ff1(0x1b4)],_0x770f74[_0x217ff1(0x1dc)]=_0x770f74['handshakeTimeout'],_0x770f74[_0x217ff1(0x2bb)]&&(_0x3b54cb=new _0x280833(_0x770f74[_0x217ff1(0x2bb)]!==!0x0?_0x770f74[_0x217ff1(0x2bb)]:{},!0x1,_0x770f74[_0x217ff1(0x1b6)]),_0x770f74[_0x217ff1(0x1a5)][_0x217ff1(0x246)]=_0x5e75de({[_0x280833[_0x217ff1(0x28e)]]:_0x3b54cb[_0x217ff1(0x22e)]()})),_0x8329cb[_0x217ff1(0x2fc)]){for(const _0x201607 of _0x8329cb){if(typeof _0x201607!=_0x217ff1(0x26e)||!_0xf95648['test'](_0x201607)||_0x57eec9[_0x217ff1(0x1f6)](_0x201607))throw new SyntaxError(_0x217ff1(0x2f1));_0x57eec9[_0x217ff1(0x181)](_0x201607);}_0x770f74[_0x217ff1(0x1a5)][_0x217ff1(0x2b6)]=_0x8329cb[_0x217ff1(0x2c4)](',');}if(_0x770f74[_0x217ff1(0x1d8)]&&(_0x770f74['protocolVersion']<0xd?_0x770f74['headers']['Sec-WebSocket-Origin']=_0x770f74[_0x217ff1(0x1d8)]:_0x770f74[_0x217ff1(0x1a5)][_0x217ff1(0x1ff)]=_0x770f74[_0x217ff1(0x1d8)]),(_0x50def5[_0x217ff1(0x2bc)]||_0x50def5[_0x217ff1(0x1c0)])&&(_0x770f74['auth']=_0x50def5[_0x217ff1(0x2bc)]+':'+_0x50def5['password']),_0x18f8a3){const _0x534311=_0x770f74['path'][_0x217ff1(0x170)](':');_0x770f74[_0x217ff1(0x251)]=_0x534311[0x0],_0x770f74['path']=_0x534311[0x1];}let _0x3b095c;if(_0x770f74[_0x217ff1(0x2ce)]){if(_0x5eabea[_0x217ff1(0x169)]===0x0){_0x5eabea['_originalIpc']=_0x18f8a3,_0x5eabea[_0x217ff1(0x2fe)]=_0x1f4611,_0x5eabea['_originalHostOrSocketPath']=_0x18f8a3?_0x770f74[_0x217ff1(0x251)]:_0x50def5[_0x217ff1(0x24c)];const _0x51be1f=_0x5b769f&&_0x5b769f[_0x217ff1(0x1a5)];if(_0x5b769f={..._0x5b769f,'headers':{}},_0x51be1f){for(const [_0x514086,_0x610857]of Object[_0x217ff1(0x1e9)](_0x51be1f))_0x5b769f['headers'][_0x514086['toLowerCase']()]=_0x610857;}}else{if(_0x5eabea[_0x217ff1(0x27f)](_0x217ff1(0x290))===0x0){const _0xeabf27=_0x18f8a3?_0x5eabea['_originalIpc']?_0x770f74[_0x217ff1(0x251)]===_0x5eabea['_originalHostOrSocketPath']:!0x1:_0x5eabea['_originalIpc']?!0x1:_0x50def5['host']===_0x5eabea[_0x217ff1(0x2c0)];(!_0xeabf27||_0x5eabea['_originalSecure']&&!_0x1f4611)&&(delete _0x770f74[_0x217ff1(0x1a5)][_0x217ff1(0x2bf)],delete _0x770f74['headers'][_0x217ff1(0x218)],_0xeabf27||delete _0x770f74[_0x217ff1(0x1a5)][_0x217ff1(0x24c)],_0x770f74[_0x217ff1(0x17a)]=void 0x0);}}_0x770f74[_0x217ff1(0x17a)]&&!_0x5b769f[_0x217ff1(0x1a5)][_0x217ff1(0x2bf)]&&(_0x5b769f[_0x217ff1(0x1a5)][_0x217ff1(0x2bf)]=_0x217ff1(0x2a1)+Buffer['from'](_0x770f74[_0x217ff1(0x17a)])[_0x217ff1(0x264)]('base64')),_0x3b095c=_0x5eabea[_0x217ff1(0x2fb)]=_0x2703c2(_0x770f74),_0x5eabea[_0x217ff1(0x169)]&&_0x5eabea[_0x217ff1(0x224)]('redirect',_0x5eabea[_0x217ff1(0x1aa)],_0x3b095c);}else _0x3b095c=_0x5eabea[_0x217ff1(0x2fb)]=_0x2703c2(_0x770f74);_0x770f74[_0x217ff1(0x1dc)]&&_0x3b095c['on'](_0x217ff1(0x1dc),()=>{const _0x30acae=_0x217ff1;_0x37e9b9(_0x5eabea,_0x3b095c,_0x30acae(0x291));}),_0x3b095c['on']('error',_0x4196ed=>{_0x3b095c===null||_0x3b095c[_0x46c90f]||(_0x3b095c=_0x5eabea['_req']=null,_0xd51329(_0x5eabea,_0x4196ed));}),_0x3b095c['on']('response',_0x164895=>{const _0xbf3d=_0x217ff1,_0x4adc90=_0x164895[_0xbf3d(0x1a5)][_0xbf3d(0x1fa)],_0x25cffa=_0x164895[_0xbf3d(0x24f)];if(_0x4adc90&&_0x770f74[_0xbf3d(0x2ce)]&&_0x25cffa>=0x12c&&_0x25cffa<0x190){if(++_0x5eabea['_redirects']>_0x770f74[_0xbf3d(0x15a)]){_0x37e9b9(_0x5eabea,_0x3b095c,_0xbf3d(0x25e));return;}_0x3b095c[_0xbf3d(0x23e)]();let _0x2a2298;try{_0x2a2298=new _0x5d6a57(_0x4adc90,_0x4d079b);}catch{const _0xcc8bef=new SyntaxError(_0xbf3d(0x1a1)+_0x4adc90);_0xd51329(_0x5eabea,_0xcc8bef);return;}_0x354437(_0x5eabea,_0x2a2298,_0x8329cb,_0x5b769f);}else _0x5eabea[_0xbf3d(0x224)](_0xbf3d(0x294),_0x3b095c,_0x164895)||_0x37e9b9(_0x5eabea,_0x3b095c,_0xbf3d(0x162)+_0x164895[_0xbf3d(0x24f)]);}),_0x3b095c['on']('upgrade',(_0x4f1ed1,_0x5220fa,_0x2adfae)=>{const _0xa20350=_0x217ff1;if(_0x5eabea[_0xa20350(0x224)](_0xa20350(0x274),_0x4f1ed1),_0x5eabea['readyState']!==_0x28abc9[_0xa20350(0x19e)])return;_0x3b095c=_0x5eabea[_0xa20350(0x2fb)]=null;const _0x157acc=_0x4f1ed1[_0xa20350(0x1a5)][_0xa20350(0x274)];if(_0x157acc===void 0x0||_0x157acc[_0xa20350(0x227)]()!==_0xa20350(0x26c)){_0x37e9b9(_0x5eabea,_0x5220fa,_0xa20350(0x2df));return;}const _0x2d4140=_0x1ec6ab('sha1')[_0xa20350(0x23d)](_0x199451+_0x2371f9)['digest'](_0xa20350(0x250));if(_0x4f1ed1[_0xa20350(0x1a5)]['sec-websocket-accept']!==_0x2d4140){_0x37e9b9(_0x5eabea,_0x5220fa,_0xa20350(0x215));return;}const _0x4dfce1=_0x4f1ed1[_0xa20350(0x1a5)][_0xa20350(0x249)];let _0xa9230b;if(_0x4dfce1!==void 0x0?_0x57eec9[_0xa20350(0x2e2)]?_0x57eec9[_0xa20350(0x1f6)](_0x4dfce1)||(_0xa9230b=_0xa20350(0x1c5)):_0xa9230b=_0xa20350(0x1fe):_0x57eec9[_0xa20350(0x2e2)]&&(_0xa9230b=_0xa20350(0x15d)),_0xa9230b){_0x37e9b9(_0x5eabea,_0x5220fa,_0xa9230b);return;}_0x4dfce1&&(_0x5eabea['_protocol']=_0x4dfce1);const _0x537d37=_0x4f1ed1[_0xa20350(0x1a5)][_0xa20350(0x25f)];if(_0x537d37!==void 0x0){if(!_0x3b54cb){_0x37e9b9(_0x5eabea,_0x5220fa,'Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested');return;}let _0x64aa00;try{_0x64aa00=_0x4a1cb0(_0x537d37);}catch{_0x37e9b9(_0x5eabea,_0x5220fa,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0x4a151a=Object[_0xa20350(0x269)](_0x64aa00);if(_0x4a151a[_0xa20350(0x2fc)]!==0x1||_0x4a151a[0x0]!==_0x280833[_0xa20350(0x28e)]){_0x37e9b9(_0x5eabea,_0x5220fa,_0xa20350(0x1c6));return;}try{_0x3b54cb[_0xa20350(0x284)](_0x64aa00[_0x280833[_0xa20350(0x28e)]]);}catch{_0x37e9b9(_0x5eabea,_0x5220fa,_0xa20350(0x1d5));return;}_0x5eabea[_0xa20350(0x1bd)][_0x280833['extensionName']]=_0x3b54cb;}_0x5eabea[_0xa20350(0x2c8)](_0x5220fa,_0x2adfae,{'allowSynchronousEvents':_0x770f74[_0xa20350(0x19c)],'generateMask':_0x770f74['generateMask'],'maxPayload':_0x770f74['maxPayload'],'skipUTF8Validation':_0x770f74['skipUTF8Validation']});}),_0x770f74[_0x217ff1(0x2ca)]?_0x770f74[_0x217ff1(0x2ca)](_0x3b095c,_0x5eabea):_0x3b095c[_0x217ff1(0x268)]();}function _0xd51329(_0x3df707,_0x5a2fcf){const _0x13eea2=_0x9b3b05;_0x3df707[_0x13eea2(0x279)]=_0x28abc9[_0x13eea2(0x193)],_0x3df707[_0x13eea2(0x288)]=!0x0,_0x3df707[_0x13eea2(0x224)](_0x13eea2(0x1eb),_0x5a2fcf),_0x3df707[_0x13eea2(0x300)]();}function _0x22a60f(_0xfadc76){const _0x1d349c=_0x9b3b05;return _0xfadc76[_0x1d349c(0x25d)]=_0xfadc76['socketPath'],_0x55eaf1[_0x1d349c(0x2dd)](_0xfadc76);}function _0x6f461c(_0x5e346e){const _0x159815=_0x9b3b05;return _0x5e346e[_0x159815(0x25d)]=void 0x0,!_0x5e346e[_0x159815(0x176)]&&_0x5e346e[_0x159815(0x176)]!==''&&(_0x5e346e['servername']=_0x55eaf1['isIP'](_0x5e346e[_0x159815(0x24c)])?'':_0x5e346e[_0x159815(0x24c)]),_0x4a2f8c[_0x159815(0x2dd)](_0x5e346e);}function _0x37e9b9(_0x13274a,_0x1d9d1d,_0x226706){const _0x343957=_0x9b3b05;_0x13274a[_0x343957(0x279)]=_0x28abc9['CLOSING'];const _0x1b1368=new Error(_0x226706);Error[_0x343957(0x21d)](_0x1b1368,_0x37e9b9),_0x1d9d1d[_0x343957(0x2a4)]?(_0x1d9d1d[_0x46c90f]=!0x0,_0x1d9d1d[_0x343957(0x23e)](),_0x1d9d1d['socket']&&!_0x1d9d1d[_0x343957(0x1bb)]['destroyed']&&_0x1d9d1d[_0x343957(0x1bb)][_0x343957(0x1e4)](),process[_0x343957(0x280)](_0xd51329,_0x13274a,_0x1b1368)):(_0x1d9d1d[_0x343957(0x1e4)](_0x1b1368),_0x1d9d1d[_0x343957(0x235)](_0x343957(0x1eb),_0x13274a[_0x343957(0x224)][_0x343957(0x201)](_0x13274a,'error')),_0x1d9d1d[_0x343957(0x235)]('close',_0x13274a['emitClose'][_0x343957(0x201)](_0x13274a)));}function _0x34d4fb(_0x82f5cc,_0x3fda5f,_0x245629){const _0x2fdc3c=_0x9b3b05;if(_0x3fda5f){const _0x3167e2=_0x4574a4(_0x3fda5f)?_0x3fda5f['size']:_0x3056c5(_0x3fda5f)[_0x2fdc3c(0x2fc)];_0x82f5cc[_0x2fdc3c(0x281)]?_0x82f5cc[_0x2fdc3c(0x2a2)][_0x2fdc3c(0x187)]+=_0x3167e2:_0x82f5cc[_0x2fdc3c(0x231)]+=_0x3167e2;}if(_0x245629){const _0x474fae=new Error(_0x2fdc3c(0x1d3)+_0x82f5cc[_0x2fdc3c(0x25c)]+'\x20('+_0x279c4d[_0x82f5cc[_0x2fdc3c(0x25c)]]+')');process[_0x2fdc3c(0x280)](_0x245629,_0x474fae);}}function _0x1b7177(_0x5e7353,_0x25a2e5){const _0x4477b7=_0x9b3b05,_0x4cb7ce=this[_0x277f07];_0x4cb7ce[_0x4477b7(0x2ae)]=!0x0,_0x4cb7ce[_0x4477b7(0x1db)]=_0x25a2e5,_0x4cb7ce['_closeCode']=_0x5e7353,_0x4cb7ce[_0x4477b7(0x281)][_0x277f07]!==void 0x0&&(_0x4cb7ce[_0x4477b7(0x281)][_0x4477b7(0x282)](_0x4477b7(0x17e),_0x24a2df),process[_0x4477b7(0x280)](_0x14b6de,_0x4cb7ce['_socket']),_0x5e7353===0x3ed?_0x4cb7ce[_0x4477b7(0x1d2)]():_0x4cb7ce['close'](_0x5e7353,_0x25a2e5));}function _0x146954(){const _0x167e0c=_0x9b3b05,_0x514d68=this[_0x277f07];_0x514d68['isPaused']||_0x514d68[_0x167e0c(0x281)]['resume']();}function _0x44e26a(_0x18fe64){const _0x5bbb0a=_0x9b3b05,_0x225a06=this[_0x277f07];_0x225a06[_0x5bbb0a(0x281)][_0x277f07]!==void 0x0&&(_0x225a06[_0x5bbb0a(0x281)]['removeListener'](_0x5bbb0a(0x17e),_0x24a2df),process[_0x5bbb0a(0x280)](_0x14b6de,_0x225a06[_0x5bbb0a(0x281)]),_0x225a06[_0x5bbb0a(0x1d2)](_0x18fe64[_0x11dd16])),_0x225a06[_0x5bbb0a(0x288)]||(_0x225a06[_0x5bbb0a(0x288)]=!0x0,_0x225a06[_0x5bbb0a(0x224)](_0x5bbb0a(0x1eb),_0x18fe64));}function _0x7580b(){const _0x478ec2=_0x9b3b05;this[_0x277f07][_0x478ec2(0x300)]();}function _0xa2db24(_0x1a8055,_0x4c6dfc){const _0x191da7=_0x9b3b05;this[_0x277f07][_0x191da7(0x224)](_0x191da7(0x259),_0x1a8055,_0x4c6dfc);}function _0x30eec6(_0x57a025){const _0x285374=_0x9b3b05,_0x356057=this[_0x277f07];_0x356057[_0x285374(0x25a)]&&_0x356057[_0x285374(0x19a)](_0x57a025,!this['_isServer'],_0x3627f2),_0x356057[_0x285374(0x224)]('ping',_0x57a025);}function _0x16d384(_0x231078){const _0x59ab57=_0x9b3b05;this[_0x277f07][_0x59ab57(0x224)](_0x59ab57(0x19a),_0x231078);}function _0x14b6de(_0x3211b0){const _0x429f5=_0x9b3b05;_0x3211b0[_0x429f5(0x205)]();}function _0x281e7e(_0x2420af){const _0x25b07b=_0x9b3b05,_0x3ae190=this[_0x277f07];_0x3ae190[_0x25b07b(0x25c)]!==_0x28abc9[_0x25b07b(0x18b)]&&(_0x3ae190['readyState']===_0x28abc9[_0x25b07b(0x1df)]&&(_0x3ae190['_readyState']=_0x28abc9[_0x25b07b(0x193)],_0x3ef795(_0x3ae190)),this[_0x25b07b(0x281)][_0x25b07b(0x268)](),_0x3ae190[_0x25b07b(0x288)]||(_0x3ae190[_0x25b07b(0x288)]=!0x0,_0x3ae190['emit'](_0x25b07b(0x1eb),_0x2420af)));}function _0x3ef795(_0x805c12){const _0x1a276f=_0x9b3b05;_0x805c12['_closeTimer']=setTimeout(_0x805c12[_0x1a276f(0x281)][_0x1a276f(0x1e4)]['bind'](_0x805c12[_0x1a276f(0x281)]),_0x4bd6e7);}function _0x347159(){const _0x4595d7=_0x9b3b05,_0x42a95a=this[_0x277f07];this['removeListener'](_0x4595d7(0x1d2),_0x347159),this[_0x4595d7(0x282)](_0x4595d7(0x17e),_0x24a2df),this['removeListener'](_0x4595d7(0x268),_0x1b754a),_0x42a95a['_readyState']=_0x28abc9[_0x4595d7(0x193)];let _0x5a21fc;!this[_0x4595d7(0x153)]['endEmitted']&&!_0x42a95a[_0x4595d7(0x2ae)]&&!_0x42a95a[_0x4595d7(0x2ab)][_0x4595d7(0x164)]['errorEmitted']&&(_0x5a21fc=_0x42a95a[_0x4595d7(0x281)][_0x4595d7(0x283)]())!==null&&_0x42a95a['_receiver'][_0x4595d7(0x18a)](_0x5a21fc),_0x42a95a['_receiver'][_0x4595d7(0x268)](),this[_0x277f07]=void 0x0,clearTimeout(_0x42a95a[_0x4595d7(0x179)]),_0x42a95a[_0x4595d7(0x2ab)][_0x4595d7(0x164)][_0x4595d7(0x26b)]||_0x42a95a[_0x4595d7(0x2ab)]['_writableState']['errorEmitted']?_0x42a95a['emitClose']():(_0x42a95a[_0x4595d7(0x2ab)]['on']('error',_0x7580b),_0x42a95a[_0x4595d7(0x2ab)]['on'](_0x4595d7(0x184),_0x7580b));}function _0x24a2df(_0xff3df){const _0xd6dbec=_0x9b3b05;this[_0x277f07]['_receiver'][_0xd6dbec(0x18a)](_0xff3df)||this[_0xd6dbec(0x1d1)]();}function _0x1b754a(){const _0x4e5d33=_0x9b3b05,_0x402418=this[_0x277f07];_0x402418['_readyState']=_0x28abc9[_0x4e5d33(0x193)],_0x402418['_receiver'][_0x4e5d33(0x268)](),this[_0x4e5d33(0x268)]();}function _0x36150d(){const _0x1de9c8=_0x9b3b05,_0x56c5d5=this[_0x277f07];this[_0x1de9c8(0x282)](_0x1de9c8(0x1eb),_0x36150d),this['on'](_0x1de9c8(0x1eb),_0x3627f2),_0x56c5d5&&(_0x56c5d5['_readyState']=_0x28abc9[_0x1de9c8(0x193)],this['destroy']());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x245c8f}=_0x551648;function _0xc6b16a(_0x26ff55){const _0x13e473=_0x3fa4;_0x26ff55[_0x13e473(0x224)](_0x13e473(0x1d2));}function _0x4c71d9(){const _0x26e759=_0x3fa4;!this[_0x26e759(0x2e6)]&&this[_0x26e759(0x164)][_0x26e759(0x26b)]&&this[_0x26e759(0x1e4)]();}function _0x4a6102(_0x308e77){const _0xd3617b=_0x3fa4;this[_0xd3617b(0x282)](_0xd3617b(0x1eb),_0x4a6102),this[_0xd3617b(0x1e4)](),this[_0xd3617b(0x27f)](_0xd3617b(0x1eb))===0x0&&this[_0xd3617b(0x224)]('error',_0x308e77);}function _0x1fdecd(_0x1f0663,_0x4883b7){const _0x3b18f3=_0x3fa4;let _0x34158e=!0x0;const _0x5a82f6=new _0x245c8f({..._0x4883b7,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x1f0663['on'](_0x3b18f3(0x259),function(_0x44bae1,_0x1f7b02){const _0x1cadbf=_0x3b18f3,_0x3a81ce=!_0x1f7b02&&_0x5a82f6[_0x1cadbf(0x153)][_0x1cadbf(0x225)]?_0x44bae1[_0x1cadbf(0x264)]():_0x44bae1;_0x5a82f6[_0x1cadbf(0x1f3)](_0x3a81ce)||_0x1f0663[_0x1cadbf(0x1d1)]();}),_0x1f0663['once'](_0x3b18f3(0x1eb),function(_0x1da158){const _0x54a0cb=_0x3b18f3;_0x5a82f6[_0x54a0cb(0x2e6)]||(_0x34158e=!0x1,_0x5a82f6[_0x54a0cb(0x1e4)](_0x1da158));}),_0x1f0663[_0x3b18f3(0x235)](_0x3b18f3(0x1d2),function(){const _0x1c4598=_0x3b18f3;_0x5a82f6[_0x1c4598(0x2e6)]||_0x5a82f6['push'](null);}),_0x5a82f6[_0x3b18f3(0x223)]=function(_0x32b177,_0x2dde75){const _0xbcac5c=_0x3b18f3;if(_0x1f0663[_0xbcac5c(0x25c)]===_0x1f0663[_0xbcac5c(0x18b)]){_0x2dde75(_0x32b177),process[_0xbcac5c(0x280)](_0xc6b16a,_0x5a82f6);return;}let _0x4e3609=!0x1;_0x1f0663['once'](_0xbcac5c(0x1eb),function(_0x373fee){_0x4e3609=!0x0,_0x2dde75(_0x373fee);}),_0x1f0663['once']('close',function(){const _0x358a23=_0xbcac5c;_0x4e3609||_0x2dde75(_0x32b177),process[_0x358a23(0x280)](_0xc6b16a,_0x5a82f6);}),_0x34158e&&_0x1f0663[_0xbcac5c(0x241)]();},_0x5a82f6[_0x3b18f3(0x22f)]=function(_0x24dd9b){const _0x53e7b1=_0x3b18f3;if(_0x1f0663[_0x53e7b1(0x25c)]===_0x1f0663[_0x53e7b1(0x19e)]){_0x1f0663['once'](_0x53e7b1(0x2a0),function(){const _0xef20fb=_0x53e7b1;_0x5a82f6[_0xef20fb(0x22f)](_0x24dd9b);});return;}_0x1f0663[_0x53e7b1(0x281)]!==null&&(_0x1f0663[_0x53e7b1(0x281)]['_writableState'][_0x53e7b1(0x26b)]?(_0x24dd9b(),_0x5a82f6['_readableState'][_0x53e7b1(0x1dd)]&&_0x5a82f6[_0x53e7b1(0x1e4)]()):(_0x1f0663[_0x53e7b1(0x281)][_0x53e7b1(0x235)](_0x53e7b1(0x184),function(){_0x24dd9b();}),_0x1f0663[_0x53e7b1(0x1d2)]()));},_0x5a82f6[_0x3b18f3(0x221)]=function(){const _0x4f9e87=_0x3b18f3;_0x1f0663[_0x4f9e87(0x161)]&&_0x1f0663['resume']();},_0x5a82f6['_write']=function(_0x3f8586,_0x1679f0,_0x3e337e){const _0x162f1e=_0x3b18f3;if(_0x1f0663[_0x162f1e(0x25c)]===_0x1f0663[_0x162f1e(0x19e)]){_0x1f0663['once'](_0x162f1e(0x2a0),function(){const _0x226a03=_0x162f1e;_0x5a82f6[_0x226a03(0x234)](_0x3f8586,_0x1679f0,_0x3e337e);});return;}_0x1f0663[_0x162f1e(0x168)](_0x3f8586,_0x3e337e);},_0x5a82f6['on'](_0x3b18f3(0x268),_0x4c71d9),_0x5a82f6['on'](_0x3b18f3(0x1eb),_0x4a6102),_0x5a82f6;}return Oe=_0x1fdecd,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=Wt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0xeef617}=ne();function _0x41f06d(_0x4bfbed){const _0x215956=_0x3fa4,_0x3b44ea=new Set();let _0x46e0da=-0x1,_0x706b09=-0x1,_0x13ec78=0x0;for(_0x13ec78;_0x13ec78<_0x4bfbed['length'];_0x13ec78++){const _0x3ef572=_0x4bfbed[_0x215956(0x301)](_0x13ec78);if(_0x706b09===-0x1&&_0xeef617[_0x3ef572]===0x1)_0x46e0da===-0x1&&(_0x46e0da=_0x13ec78);else{if(_0x13ec78!==0x0&&(_0x3ef572===0x20||_0x3ef572===0x9))_0x706b09===-0x1&&_0x46e0da!==-0x1&&(_0x706b09=_0x13ec78);else{if(_0x3ef572===0x2c){if(_0x46e0da===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x13ec78);_0x706b09===-0x1&&(_0x706b09=_0x13ec78);const _0x4152dc=_0x4bfbed[_0x215956(0x2e8)](_0x46e0da,_0x706b09);if(_0x3b44ea[_0x215956(0x1f6)](_0x4152dc))throw new SyntaxError(_0x215956(0x2e4)+_0x4152dc+_0x215956(0x2b1));_0x3b44ea[_0x215956(0x181)](_0x4152dc),_0x46e0da=_0x706b09=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x13ec78);}}}if(_0x46e0da===-0x1||_0x706b09!==-0x1)throw new SyntaxError('Unexpected\x20end\x20of\x20input');const _0xb0e779=_0x4bfbed[_0x215956(0x2e8)](_0x46e0da,_0x13ec78);if(_0x3b44ea[_0x215956(0x1f6)](_0xb0e779))throw new SyntaxError(_0x215956(0x2e4)+_0xb0e779+_0x215956(0x2b1));return _0x3b44ea[_0x215956(0x181)](_0xb0e779),_0x3b44ea;}return Ce={'parse':_0x41f06d},Ce;}var Te,ot;function er(){const _0x2a84d5=_0x13d6a6;if(ot)return Te;ot=0x1;const _0x2206b6=_0xad065c,_0x18ad8d=_0x5f236e,{Duplex:_0x4864dc}=_0x551648,{createHash:_0x46c2f0}=_0x185a77,_0x52e9f8=pt(),_0x3ff2d6=he(),_0x15e7f2=Jt(),_0x17e10a=Ie(),{GUID:_0x1a8073,kWebSocket:_0x2c163d}=V(),_0x3772a3=/^[+/0-9A-Za-z]{22}==$/,_0x382dde=0x0,_0x4cc14b=0x1,_0x454d6a=0x2;class _0x4dce7b extends _0x2206b6{constructor(_0x380fbf,_0x33012f){const _0x36d753=_0x3fa4;if(super(),_0x380fbf={'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':_0x17e10a,..._0x380fbf},_0x380fbf[_0x36d753(0x2b0)]==null&&!_0x380fbf['server']&&!_0x380fbf[_0x36d753(0x2fa)]||_0x380fbf[_0x36d753(0x2b0)]!=null&&(_0x380fbf[_0x36d753(0x166)]||_0x380fbf['noServer'])||_0x380fbf[_0x36d753(0x166)]&&_0x380fbf[_0x36d753(0x2fa)])throw new TypeError(_0x36d753(0x2ed));if(_0x380fbf[_0x36d753(0x2b0)]!=null?(this['_server']=_0x18ad8d[_0x36d753(0x1e5)]((_0xebb3b3,_0x4e9f3f)=>{const _0x12f732=_0x36d753,_0x318233=_0x18ad8d['STATUS_CODES'][0x1aa];_0x4e9f3f[_0x12f732(0x20e)](0x1aa,{'Content-Length':_0x318233[_0x12f732(0x2fc)],'Content-Type':_0x12f732(0x240)}),_0x4e9f3f[_0x12f732(0x268)](_0x318233);}),this[_0x36d753(0x266)][_0x36d753(0x233)](_0x380fbf[_0x36d753(0x2b0)],_0x380fbf[_0x36d753(0x24c)],_0x380fbf[_0x36d753(0x26d)],_0x33012f)):_0x380fbf[_0x36d753(0x166)]&&(this[_0x36d753(0x266)]=_0x380fbf[_0x36d753(0x166)]),this[_0x36d753(0x266)]){const _0xfaa8d4=this['emit'][_0x36d753(0x201)](this,_0x36d753(0x1d4));this['_removeListeners']=_0x1bdc4e(this['_server'],{'listening':this[_0x36d753(0x224)][_0x36d753(0x201)](this,_0x36d753(0x1e8)),'error':this['emit'][_0x36d753(0x201)](this,_0x36d753(0x1eb)),'upgrade':(_0xa1da8c,_0x4280d1,_0x3000e8)=>{const _0x441788=_0x36d753;this[_0x441788(0x27e)](_0xa1da8c,_0x4280d1,_0x3000e8,_0xfaa8d4);}});}_0x380fbf[_0x36d753(0x2bb)]===!0x0&&(_0x380fbf[_0x36d753(0x2bb)]={}),_0x380fbf[_0x36d753(0x22a)]&&(this[_0x36d753(0x16e)]=new Set(),this['_shouldEmitClose']=!0x1),this[_0x36d753(0x1a2)]=_0x380fbf,this[_0x36d753(0x230)]=_0x382dde;}[_0x2a84d5(0x200)](){const _0x221101=_0x2a84d5;if(this[_0x221101(0x1a2)][_0x221101(0x2fa)])throw new Error('The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode');return this['_server']?this[_0x221101(0x266)][_0x221101(0x200)]():null;}[_0x2a84d5(0x1d2)](_0x5d213e){const _0x20f227=_0x2a84d5;if(this[_0x20f227(0x230)]===_0x454d6a){_0x5d213e&&this['once'](_0x20f227(0x1d2),()=>{_0x5d213e(new Error('The\x20server\x20is\x20not\x20running'));}),process[_0x20f227(0x280)](_0x5dd752,this);return;}if(_0x5d213e&&this[_0x20f227(0x235)]('close',_0x5d213e),this['_state']!==_0x4cc14b){if(this[_0x20f227(0x230)]=_0x4cc14b,this['options'][_0x20f227(0x2fa)]||this['options'][_0x20f227(0x166)])this[_0x20f227(0x266)]&&(this[_0x20f227(0x18f)](),this[_0x20f227(0x18f)]=this[_0x20f227(0x266)]=null),this[_0x20f227(0x16e)]?this[_0x20f227(0x16e)]['size']?this['_shouldEmitClose']=!0x0:process[_0x20f227(0x280)](_0x5dd752,this):process['nextTick'](_0x5dd752,this);else{const _0x556d39=this[_0x20f227(0x266)];this[_0x20f227(0x18f)](),this[_0x20f227(0x18f)]=this[_0x20f227(0x266)]=null,_0x556d39[_0x20f227(0x1d2)](()=>{_0x5dd752(this);});}}}[_0x2a84d5(0x16f)](_0x2c62ca){const _0x5c437d=_0x2a84d5;if(this[_0x5c437d(0x1a2)][_0x5c437d(0x25d)]){const _0x4736b9=_0x2c62ca[_0x5c437d(0x1aa)]['indexOf']('?');if((_0x4736b9!==-0x1?_0x2c62ca[_0x5c437d(0x1aa)][_0x5c437d(0x2e8)](0x0,_0x4736b9):_0x2c62ca['url'])!==this[_0x5c437d(0x1a2)][_0x5c437d(0x25d)])return!0x1;}return!0x0;}[_0x2a84d5(0x27e)](_0x21e97e,_0x5a74df,_0x5e87c8,_0x6feec6){const _0x50db26=_0x2a84d5;_0x5a74df['on'](_0x50db26(0x1eb),_0xd5897a);const _0x5ab79a=_0x21e97e[_0x50db26(0x1a5)]['sec-websocket-key'],_0x2a3c48=_0x21e97e[_0x50db26(0x1a5)]['upgrade'],_0x37e55d=+_0x21e97e[_0x50db26(0x1a5)][_0x50db26(0x287)];if(_0x21e97e[_0x50db26(0x296)]!==_0x50db26(0x2bd)){_0x4cd280(this,_0x21e97e,_0x5a74df,0x195,_0x50db26(0x1ae));return;}if(_0x2a3c48===void 0x0||_0x2a3c48[_0x50db26(0x227)]()!==_0x50db26(0x26c)){_0x4cd280(this,_0x21e97e,_0x5a74df,0x190,_0x50db26(0x2df));return;}if(_0x5ab79a===void 0x0||!_0x3772a3[_0x50db26(0x272)](_0x5ab79a)){_0x4cd280(this,_0x21e97e,_0x5a74df,0x190,_0x50db26(0x237));return;}if(_0x37e55d!==0xd&&_0x37e55d!==0x8){_0x4cd280(this,_0x21e97e,_0x5a74df,0x190,_0x50db26(0x17b),{'Sec-WebSocket-Version':_0x50db26(0x2e3)});return;}if(!this['shouldHandle'](_0x21e97e)){_0x421b18(_0x5a74df,0x190);return;}const _0xdb286b=_0x21e97e[_0x50db26(0x1a5)]['sec-websocket-protocol'];let _0x259ec1=new Set();if(_0xdb286b!==void 0x0)try{_0x259ec1=_0x15e7f2[_0x50db26(0x263)](_0xdb286b);}catch{_0x4cd280(this,_0x21e97e,_0x5a74df,0x190,'Invalid\x20Sec-WebSocket-Protocol\x20header');return;}const _0x14b498=_0x21e97e[_0x50db26(0x1a5)][_0x50db26(0x25f)],_0x43ea53={};if(this['options'][_0x50db26(0x2bb)]&&_0x14b498!==void 0x0){const _0x32924f=new _0x3ff2d6(this[_0x50db26(0x1a2)][_0x50db26(0x2bb)],!0x0,this[_0x50db26(0x1a2)][_0x50db26(0x1b6)]);try{const _0x539b2d=_0x52e9f8[_0x50db26(0x263)](_0x14b498);_0x539b2d[_0x3ff2d6[_0x50db26(0x28e)]]&&(_0x32924f[_0x50db26(0x284)](_0x539b2d[_0x3ff2d6[_0x50db26(0x28e)]]),_0x43ea53[_0x3ff2d6[_0x50db26(0x28e)]]=_0x32924f);}catch{_0x4cd280(this,_0x21e97e,_0x5a74df,0x190,_0x50db26(0x197));return;}}if(this[_0x50db26(0x1a2)][_0x50db26(0x24d)]){const _0x3b1f28={'origin':_0x21e97e[_0x50db26(0x1a5)][''+(_0x37e55d===0x8?_0x50db26(0x236):_0x50db26(0x1d8))],'secure':!!(_0x21e97e[_0x50db26(0x1bb)][_0x50db26(0x202)]||_0x21e97e[_0x50db26(0x1bb)][_0x50db26(0x190)]),'req':_0x21e97e};if(this[_0x50db26(0x1a2)]['verifyClient'][_0x50db26(0x2fc)]===0x2){this[_0x50db26(0x1a2)][_0x50db26(0x24d)](_0x3b1f28,(_0x595ee1,_0x5920a7,_0xb2c547,_0x44bf3f)=>{const _0x2467fb=_0x50db26;if(!_0x595ee1)return _0x421b18(_0x5a74df,_0x5920a7||0x191,_0xb2c547,_0x44bf3f);this[_0x2467fb(0x1f7)](_0x43ea53,_0x5ab79a,_0x259ec1,_0x21e97e,_0x5a74df,_0x5e87c8,_0x6feec6);});return;}if(!this[_0x50db26(0x1a2)][_0x50db26(0x24d)](_0x3b1f28))return _0x421b18(_0x5a74df,0x191);}this[_0x50db26(0x1f7)](_0x43ea53,_0x5ab79a,_0x259ec1,_0x21e97e,_0x5a74df,_0x5e87c8,_0x6feec6);}[_0x2a84d5(0x1f7)](_0x3da30d,_0x20471b,_0x3f7c69,_0x26bc75,_0x1eec65,_0x16e96a,_0x1544ca){const _0xf29a92=_0x2a84d5;if(!_0x1eec65[_0xf29a92(0x182)]||!_0x1eec65[_0xf29a92(0x20a)])return _0x1eec65[_0xf29a92(0x1e4)]();if(_0x1eec65[_0x2c163d])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this[_0xf29a92(0x230)]>_0x382dde)return _0x421b18(_0x1eec65,0x1f7);const _0x2e2d9b=[_0xf29a92(0x1c9),_0xf29a92(0x2cc),_0xf29a92(0x17c),_0xf29a92(0x289)+_0x46c2f0('sha1')['update'](_0x20471b+_0x1a8073)[_0xf29a92(0x1d7)]('base64')],_0x3dcb17=new this['options'][(_0xf29a92(0x285))](null,void 0x0,this[_0xf29a92(0x1a2)]);if(_0x3f7c69['size']){const _0x265834=this[_0xf29a92(0x1a2)]['handleProtocols']?this[_0xf29a92(0x1a2)]['handleProtocols'](_0x3f7c69,_0x26bc75):_0x3f7c69[_0xf29a92(0x27b)]()['next']()[_0xf29a92(0x257)];_0x265834&&(_0x2e2d9b[_0xf29a92(0x1f3)](_0xf29a92(0x1a8)+_0x265834),_0x3dcb17[_0xf29a92(0x1a6)]=_0x265834);}if(_0x3da30d[_0x3ff2d6[_0xf29a92(0x28e)]]){const _0x54d598=_0x3da30d[_0x3ff2d6[_0xf29a92(0x28e)]][_0xf29a92(0x2f6)],_0x1b3259=_0x52e9f8[_0xf29a92(0x1b3)]({[_0x3ff2d6[_0xf29a92(0x28e)]]:[_0x54d598]});_0x2e2d9b[_0xf29a92(0x1f3)]('Sec-WebSocket-Extensions:\x20'+_0x1b3259),_0x3dcb17[_0xf29a92(0x1bd)]=_0x3da30d;}this[_0xf29a92(0x224)]('headers',_0x2e2d9b,_0x26bc75),_0x1eec65['write'](_0x2e2d9b[_0xf29a92(0x1bc)]('\x0d\x0a')[_0xf29a92(0x2c4)]('\x0d\x0a')),_0x1eec65[_0xf29a92(0x282)](_0xf29a92(0x1eb),_0xd5897a),_0x3dcb17[_0xf29a92(0x2c8)](_0x1eec65,_0x16e96a,{'allowSynchronousEvents':this[_0xf29a92(0x1a2)]['allowSynchronousEvents'],'maxPayload':this['options'][_0xf29a92(0x1b6)],'skipUTF8Validation':this[_0xf29a92(0x1a2)][_0xf29a92(0x254)]}),this[_0xf29a92(0x16e)]&&(this['clients'][_0xf29a92(0x181)](_0x3dcb17),_0x3dcb17['on'](_0xf29a92(0x1d2),()=>{const _0xc4fd92=_0xf29a92;this[_0xc4fd92(0x16e)]['delete'](_0x3dcb17),this[_0xc4fd92(0x217)]&&!this[_0xc4fd92(0x16e)]['size']&&process['nextTick'](_0x5dd752,this);})),_0x1544ca(_0x3dcb17,_0x26bc75);}}Te=_0x4dce7b;function _0x1bdc4e(_0x3d20df,_0x46c947){const _0x5b43a7=_0x2a84d5;for(const _0x4ebb83 of Object[_0x5b43a7(0x269)](_0x46c947))_0x3d20df['on'](_0x4ebb83,_0x46c947[_0x4ebb83]);return function(){for(const _0x5975c6 of Object['keys'](_0x46c947))_0x3d20df['removeListener'](_0x5975c6,_0x46c947[_0x5975c6]);};}function _0x5dd752(_0x413454){const _0x149c3c=_0x2a84d5;_0x413454[_0x149c3c(0x230)]=_0x454d6a,_0x413454['emit'](_0x149c3c(0x1d2));}function _0xd5897a(){const _0x23e642=_0x2a84d5;this[_0x23e642(0x1e4)]();}function _0x421b18(_0x602b67,_0x4dd91b,_0x1af80e,_0x40e77){const _0x43a176=_0x2a84d5;_0x1af80e=_0x1af80e||_0x18ad8d[_0x43a176(0x2f2)][_0x4dd91b],_0x40e77={'Connection':'close','Content-Type':_0x43a176(0x1ab),'Content-Length':Buffer[_0x43a176(0x2b8)](_0x1af80e),..._0x40e77},_0x602b67[_0x43a176(0x235)](_0x43a176(0x184),_0x602b67['destroy']),_0x602b67[_0x43a176(0x268)]('HTTP/1.1\x20'+_0x4dd91b+'\x20'+_0x18ad8d[_0x43a176(0x2f2)][_0x4dd91b]+'\x0d\x0a'+Object['keys'](_0x40e77)['map'](_0x188d56=>_0x188d56+':\x20'+_0x40e77[_0x188d56])[_0x43a176(0x2c4)]('\x0d\x0a')+_0x43a176(0x17f)+_0x1af80e);}function _0x4cd280(_0x40bbbb,_0x58d20a,_0x4c1de5,_0x4d2db9,_0x522139,_0x1b3f2d){const _0x36887b=_0x2a84d5;if(_0x40bbbb[_0x36887b(0x27f)]('wsClientError')){const _0x4577eb=new Error(_0x522139);Error[_0x36887b(0x21d)](_0x4577eb,_0x4cd280),_0x40bbbb[_0x36887b(0x224)](_0x36887b(0x1da),_0x4577eb,_0x4c1de5,_0x58d20a);}else _0x421b18(_0x4c1de5,_0x4d2db9,_0x522139,_0x1b3f2d);}return Te;}er();var tr=Object[_0x13d6a6(0x239)],rr=(_0x324015,_0xd4d108,_0x5d11b4,_0x386462)=>{const _0xe83d65=_0x13d6a6;for(var _0x38fd02=_0x386462>0x1?void 0x0:_0x386462?tr(_0xd4d108,_0x5d11b4):_0xd4d108,_0x1a32bb=_0x324015[_0xe83d65(0x2fc)]-0x1,_0x383603;_0x1a32bb>=0x0;_0x1a32bb--)(_0x383603=_0x324015[_0x1a32bb])&&(_0x38fd02=_0x383603(_0x38fd02)||_0x38fd02);return _0x38fd02;},sr=(_0x1ace4d,_0x4fe5e1)=>(_0x5747b2,_0x45d54d)=>_0x4fe5e1(_0x5747b2,_0x45d54d,_0x1ace4d);let Ne=class extends _0x32ac33{constructor(_0x421ac5){super(),this['_configService']=_0x421ac5;}['createSocket'](_0x283caa){const _0x2251a2=_0x13d6a6;var _0x1efd98;const _0x81b4b5=(_0x1efd98=this[_0x2251a2(0x1ec)][_0x2251a2(0x19f)](Be))==null?void 0x0:_0x1efd98[_0x2251a2(0x29a)];try{const _0x476082=new Qt(_0x283caa,{'headers':{..._0x81b4b5}}),_0x5ba5d8=new _0x22356f();return{'URL':_0x283caa,'close':(_0x5d6ccb,_0x36bf76)=>{const _0x578c19=_0x2251a2;_0x476082['close'](_0x5d6ccb,_0x36bf76),_0x5ba5d8[_0x578c19(0x1a0)]();},'send':_0x1a2a70=>{_0x476082['send'](_0x1a2a70);},'open$':new _0xe3e208(_0x410522=>{const _0x3612d9=_0x2251a2,_0x387761=_0x1c58d6=>_0x410522['next'](_0x1c58d6);_0x476082[_0x3612d9(0x20d)](_0x3612d9(0x2a0),_0x387761),_0x5ba5d8[_0x3612d9(0x181)](_0x3e87a1(()=>_0x476082[_0x3612d9(0x160)](_0x3612d9(0x2a0),_0x387761)));})[_0x2251a2(0x1ad)](_0x1381ce()),'close$':new _0xe3e208(_0x4edbaa=>{const _0x4659e1=_0x2251a2,_0x5ef7cd=_0x488094=>_0x4edbaa['next'](_0x488094);_0x476082[_0x4659e1(0x20d)](_0x4659e1(0x1d2),_0x5ef7cd),_0x5ba5d8[_0x4659e1(0x181)](_0x3e87a1(()=>_0x476082['removeEventListener'](_0x4659e1(0x1d2),_0x5ef7cd)));})[_0x2251a2(0x1ad)](_0x1381ce()),'error$':new _0xe3e208(_0x19fd57=>{const _0x49d151=_0x2251a2,_0x5c1214=_0x2a5dec=>_0x19fd57[_0x49d151(0x293)](_0x2a5dec);_0x476082[_0x49d151(0x20d)](_0x49d151(0x1eb),_0x5c1214),_0x5ba5d8[_0x49d151(0x181)](_0x3e87a1(()=>_0x476082[_0x49d151(0x160)]('error',_0x5c1214)));})[_0x2251a2(0x1ad)](_0x1381ce()),'message$':new _0xe3e208(_0x3d2fc2=>{const _0xe6b90b=_0x2251a2,_0x48a606=_0x3038b2=>_0x3d2fc2[_0xe6b90b(0x293)](_0x3038b2);_0x476082[_0xe6b90b(0x20d)]('message',_0x48a606),_0x5ba5d8[_0xe6b90b(0x181)](_0x3e87a1(()=>_0x476082[_0xe6b90b(0x160)](_0xe6b90b(0x259),_0x48a606)));})['pipe'](_0x1381ce())};}catch(_0x247747){return console[_0x2251a2(0x1eb)](_0x247747),null;}}};Ne=rr([sr(0x0,_0x5ccea2)],Ne);var ir=Object[_0x13d6a6(0x29e)],nr=Object[_0x13d6a6(0x239)],or=(_0x385a6d,_0x5104eb,_0x4e217f)=>_0x5104eb in _0x385a6d?ir(_0x385a6d,_0x5104eb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4e217f}):_0x385a6d[_0x5104eb]=_0x4e217f,ar=(_0x180996,_0x3d5acb,_0x5e459d,_0x3a1b79)=>{const _0x156fbe=_0x13d6a6;for(var _0xa00cd9=_0x3a1b79>0x1?void 0x0:_0x3a1b79?nr(_0x3d5acb,_0x5e459d):_0x3d5acb,_0x59ecbc=_0x180996[_0x156fbe(0x2fc)]-0x1,_0x4bec64;_0x59ecbc>=0x0;_0x59ecbc--)(_0x4bec64=_0x180996[_0x59ecbc])&&(_0xa00cd9=_0x4bec64(_0xa00cd9)||_0xa00cd9);return _0xa00cd9;},ke=(_0x119e71,_0x54730d)=>(_0x59adb5,_0x3c84b3)=>_0x54730d(_0x59adb5,_0x3c84b3,_0x119e71),lr=(_0x12edee,_0x395b66,_0x4bef66)=>or(_0x12edee,_0x395b66+'',_0x4bef66);let Pe=class extends _0x2b5f01{constructor(_0x3800eb=Ft,_0x4e66fe,_0x5f25cd,_0x555717){const _0x3a8ebc=_0x13d6a6;_0x3800eb[_0x3a8ebc(0x29a)]||_0x4e66fe[_0x3a8ebc(0x154)]('[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.'),super(),this[_0x3a8ebc(0x1ec)]=_0x5f25cd,this['_injector']=_0x555717,this[_0x3a8ebc(0x1ec)]['setConfig'](Be,_0x3800eb);}[_0x13d6a6(0x2c2)](){const _0x5edbd2=_0x13d6a6;this[_0x5edbd2(0x25b)]();}[_0x13d6a6(0x25b)](){const _0x479a46=_0x13d6a6;_0x3164c9(this[_0x479a46(0x1ce)],[[_0x21bd96,{'useClass':Ne}]]);}};lr(Pe,_0x13d6a6(0x178),_0x13d6a6(0x2d9)),Pe=ar([_0x16f64f(_0x216d9b),ke(0x1,_0x1a6ded),ke(0x2,_0x5ccea2),ke(0x3,_0x56dec3(_0x194be3))],Pe);var fr=Object[_0x13d6a6(0x239)],cr=(_0x2a0fac,_0x196e10,_0x4289e2,_0xcb20c5)=>{for(var _0x58527c=_0xcb20c5>0x1?void 0x0:_0xcb20c5?fr(_0x196e10,_0x4289e2):_0x196e10,_0xd3e9dd=_0x2a0fac['length']-0x1,_0x37e2eb;_0xd3e9dd>=0x0;_0xd3e9dd--)(_0x37e2eb=_0x2a0fac[_0xd3e9dd])&&(_0x58527c=_0x37e2eb(_0x58527c)||_0x58527c);return _0x58527c;},se=(_0x44e748,_0x5723d1)=>(_0x25e471,_0x553304)=>_0x5723d1(_0x25e471,_0x553304,_0x44e748);let at=class extends _0x368881{constructor(_0xec0238,_0x396ce3,_0x366072,_0x312be2,_0x2a38f7){const _0x543336=_0x13d6a6;super(_0xec0238,_0x396ce3,_0x366072,_0x312be2,_0x2a38f7);const _0x13cee8=this[_0x543336(0x1ec)]['getConfig'](Be);this[_0x543336(0x189)][_0x543336(0x180)]({'interceptor':(_0x4fc411,_0x24496a)=>{const _0xdc6855=_0x543336;var _0xe61ac;const _0x57f950=_0x4fc411[_0xdc6855(0x1a5)];return(_0xe61ac=_0x13cee8==null?void 0x0:_0x13cee8[_0xdc6855(0x29a)])!=null&&_0xe61ac['cookie']&&_0x57f950['set']('Cookie',_0x13cee8[_0xdc6855(0x29a)][_0xdc6855(0x218)]),_0x24496a(_0x4fc411);}});}async[_0x13d6a6(0x278)](_0x57e8ed){const _0x278763=_0x13d6a6;return this[_0x278763(0x256)](_0x57e8ed);}};at=cr([se(0x0,_0x56dec3(_0x194be3)),se(0x1,_0x56dec3(_0x555ed4)),se(0x2,_0x5ccea2),se(0x3,_0x1a6ded),se(0x4,_0x48a462)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
1
+ const _0x56e321=_0x4a2c;(function(_0x4a4a31,_0x1509d4){const _0x347380=_0x4a2c,_0x2e84da=_0x4a4a31();while(!![]){try{const _0x4f9e85=parseInt(_0x347380(0x25c))/0x1*(parseInt(_0x347380(0x2a8))/0x2)+parseInt(_0x347380(0x1ed))/0x3+-parseInt(_0x347380(0x18e))/0x4+-parseInt(_0x347380(0x204))/0x5+-parseInt(_0x347380(0x23d))/0x6+parseInt(_0x347380(0x13a))/0x7*(parseInt(_0x347380(0x147))/0x8)+-parseInt(_0x347380(0x2a3))/0x9*(parseInt(_0x347380(0x2b7))/0xa);if(_0x4f9e85===_0x1509d4)break;else _0x2e84da['push'](_0x2e84da['shift']());}catch(_0x5c5c46){_0x2e84da['push'](_0x2e84da['shift']());}}}(_0x51e0,0xad689));import{UniverCollaborationClientPlugin as _0x465ccb,CollaborationSocketService as _0x22f14e}from'@univerjs-pro/collaboration-client';import{Disposable as _0x551cb1,DisposableCollection as _0x587165,toDisposable as _0x2cdeff,IConfigService as _0x24da62,DependentOn as _0x650a0b,ILogService as _0x1aa7dc,Inject as _0xe24dc5,Injector as _0x4913ab,Plugin as _0x1c74ae,registerDependencies as _0x398079}from'@univerjs/core';import{ISocketService as _0x101da6,HTTPService as _0x42a546}from'@univerjs/network';import{Observable as _0x2dc0d5,share as _0x110291}from'rxjs';import _0x128909 from'events';import _0x42dc5a from'https';import _0x3474ab from'http';import _0x458285 from'net';import _0x277b9f from'tls';import _0x2940c5 from'crypto';import _0x5eabb8 from'stream';import _0x2fd666 from'url';import _0x5dd131 from'zlib';import _0x30a3c9 from'buffer';import{ISnapshotServerService as _0x2c8b46}from'@univerjs-pro/collaboration';const Be=_0x56e321(0x1f8),Ft={'customHeaders':{}};function Wt(_0x35f89a){const _0x19c8a6=_0x56e321;return _0x35f89a&&_0x35f89a['__esModule']&&Object[_0x19c8a6(0x1d1)][_0x19c8a6(0x265)][_0x19c8a6(0x2dc)](_0x35f89a,_0x19c8a6(0x258))?_0x35f89a[_0x19c8a6(0x258)]:_0x35f89a;}function ut(_0x531d54){const _0x299c1e=_0x56e321;if(Object['prototype']['hasOwnProperty'][_0x299c1e(0x2dc)](_0x531d54,_0x299c1e(0x162)))return _0x531d54;var _0x87d0d4=_0x531d54[_0x299c1e(0x258)];if(typeof _0x87d0d4==_0x299c1e(0x257)){var _0x225473=function _0x58d838(){const _0x316644=_0x299c1e;var _0x1da21b=!0x1;try{_0x1da21b=this instanceof _0x58d838;}catch{}return _0x1da21b?Reflect[_0x316644(0x2d0)](_0x87d0d4,arguments,this[_0x316644(0x161)]):_0x87d0d4[_0x316644(0x239)](this,arguments);};_0x225473[_0x299c1e(0x1d1)]=_0x87d0d4['prototype'];}else _0x225473={};return Object[_0x299c1e(0x2c2)](_0x225473,_0x299c1e(0x162),{'value':!0x0}),Object[_0x299c1e(0x1a9)](_0x531d54)[_0x299c1e(0x1ab)](function(_0x7889d3){const _0x3f25ba=_0x299c1e;var _0x4d31d6=Object[_0x3f25ba(0x139)](_0x531d54,_0x7889d3);Object[_0x3f25ba(0x2c2)](_0x225473,_0x7889d3,_0x4d31d6['get']?_0x4d31d6:{'enumerable':!0x0,'get':function(){return _0x531d54[_0x7889d3];}});}),_0x225473;}var te={'exports':{}},ge,Ye;function V(){const _0x1931c8=_0x56e321;if(Ye)return ge;Ye=0x1;const _0x176530=[_0x1931c8(0x273),_0x1931c8(0x1d3),'fragments'],_0x30e7d0=typeof Blob<'u';return _0x30e7d0&&_0x176530['push'](_0x1931c8(0x154)),ge={'BINARY_TYPES':_0x176530,'EMPTY_BUFFER':Buffer[_0x1931c8(0x1c3)](0x0),'GUID':_0x1931c8(0x1f1),'hasBlob':_0x30e7d0,'kForOnEventAttribute':Symbol(_0x1931c8(0x1b8)),'kListener':Symbol(_0x1931c8(0x27d)),'kStatusCode':Symbol(_0x1931c8(0x2c7)),'kWebSocket':Symbol(_0x1931c8(0x226)),'NOOP':()=>{}},ge;}const jt={},Gt=Object[_0x56e321(0x1db)](Object[_0x56e321(0x2c2)]({'__proto__':null,'default':jt},Symbol['toStringTag'],{'value':'Module'})),Vt=ut(Gt);function _0x4a2c(_0xf59087,_0x39e654){const _0x51e078=_0x51e0();return _0x4a2c=function(_0x4a2cb6,_0x57b6ef){_0x4a2cb6=_0x4a2cb6-0x135;let _0x4936ac=_0x51e078[_0x4a2cb6];return _0x4936ac;},_0x4a2c(_0xf59087,_0x39e654);}var Ke;function ce(){const _0x3efe88=_0x56e321;if(Ke)return te[_0x3efe88(0x28d)];Ke=0x1;const {EMPTY_BUFFER:_0xa677ba}=V(),_0x1887da=Buffer[Symbol[_0x3efe88(0x293)]];function _0x1a896e(_0x55d6cf,_0x30d6a5){const _0x3fb1cb=_0x3efe88;if(_0x55d6cf[_0x3fb1cb(0x2a5)]===0x0)return _0xa677ba;if(_0x55d6cf[_0x3fb1cb(0x2a5)]===0x1)return _0x55d6cf[0x0];const _0x5d56df=Buffer[_0x3fb1cb(0x25a)](_0x30d6a5);let _0x4853b9=0x0;for(let _0x78a51c=0x0;_0x78a51c<_0x55d6cf[_0x3fb1cb(0x2a5)];_0x78a51c++){const _0x4c61cf=_0x55d6cf[_0x78a51c];_0x5d56df[_0x3fb1cb(0x296)](_0x4c61cf,_0x4853b9),_0x4853b9+=_0x4c61cf[_0x3fb1cb(0x2a5)];}return _0x4853b9<_0x30d6a5?new _0x1887da(_0x5d56df[_0x3fb1cb(0x20b)],_0x5d56df[_0x3fb1cb(0x28a)],_0x4853b9):_0x5d56df;}function _0x2ce676(_0x31eb7e,_0x101c00,_0x4cf4d8,_0x450719,_0x53adfb){for(let _0x5bb150=0x0;_0x5bb150<_0x53adfb;_0x5bb150++)_0x4cf4d8[_0x450719+_0x5bb150]=_0x31eb7e[_0x5bb150]^_0x101c00[_0x5bb150&0x3];}function _0x2e9759(_0x2177a9,_0xec4d98){for(let _0x2f8627=0x0;_0x2f8627<_0x2177a9['length'];_0x2f8627++)_0x2177a9[_0x2f8627]^=_0xec4d98[_0x2f8627&0x3];}function _0x11c115(_0x1f1ead){const _0x354c91=_0x3efe88;return _0x1f1ead[_0x354c91(0x2a5)]===_0x1f1ead[_0x354c91(0x20b)][_0x354c91(0x158)]?_0x1f1ead[_0x354c91(0x20b)]:_0x1f1ead['buffer'][_0x354c91(0x1d2)](_0x1f1ead['byteOffset'],_0x1f1ead['byteOffset']+_0x1f1ead[_0x354c91(0x2a5)]);}function _0x58bd88(_0x5cb8c6){const _0x5b8df7=_0x3efe88;if(_0x58bd88['readOnly']=!0x0,Buffer['isBuffer'](_0x5cb8c6))return _0x5cb8c6;let _0x12a3e6;return _0x5cb8c6 instanceof ArrayBuffer?_0x12a3e6=new _0x1887da(_0x5cb8c6):ArrayBuffer[_0x5b8df7(0x160)](_0x5cb8c6)?_0x12a3e6=new _0x1887da(_0x5cb8c6[_0x5b8df7(0x20b)],_0x5cb8c6[_0x5b8df7(0x28a)],_0x5cb8c6['byteLength']):(_0x12a3e6=Buffer[_0x5b8df7(0x22f)](_0x5cb8c6),_0x58bd88[_0x5b8df7(0x248)]=!0x1),_0x12a3e6;}if(te[_0x3efe88(0x28d)]={'concat':_0x1a896e,'mask':_0x2ce676,'toArrayBuffer':_0x11c115,'toBuffer':_0x58bd88,'unmask':_0x2e9759},!process[_0x3efe88(0x1e9)][_0x3efe88(0x25d)])try{const _0x108faa=Vt;te[_0x3efe88(0x28d)][_0x3efe88(0x249)]=function(_0x5719fb,_0x3f6d79,_0x20086d,_0x54a8e2,_0x1e8d04){const _0x30d8f9=_0x3efe88;_0x1e8d04<0x30?_0x2ce676(_0x5719fb,_0x3f6d79,_0x20086d,_0x54a8e2,_0x1e8d04):_0x108faa[_0x30d8f9(0x249)](_0x5719fb,_0x3f6d79,_0x20086d,_0x54a8e2,_0x1e8d04);},te[_0x3efe88(0x28d)]['unmask']=function(_0x1d79d7,_0x1c0348){const _0x1527b2=_0x3efe88;_0x1d79d7[_0x1527b2(0x2a5)]<0x20?_0x2e9759(_0x1d79d7,_0x1c0348):_0x108faa[_0x1527b2(0x143)](_0x1d79d7,_0x1c0348);};}catch{}return te['exports'];}var ye,Xe;function qt(){const _0x588974=_0x56e321;if(Xe)return ye;Xe=0x1;const _0x10a7d5=Symbol(_0x588974(0x165)),_0x2c9f16=Symbol(_0x588974(0x16d));class _0x1718bd{constructor(_0x1c7ca1){const _0x3d328a=_0x588974;this[_0x10a7d5]=()=>{this['pending']--,this[_0x2c9f16]();},this[_0x3d328a(0x2ba)]=_0x1c7ca1||0x1/0x0,this[_0x3d328a(0x1b5)]=[],this['pending']=0x0;}['add'](_0x408a95){const _0x4db948=_0x588974;this[_0x4db948(0x1b5)][_0x4db948(0x18f)](_0x408a95),this[_0x2c9f16]();}[_0x2c9f16](){const _0x30295b=_0x588974;if(this[_0x30295b(0x230)]!==this[_0x30295b(0x2ba)]&&this[_0x30295b(0x1b5)]['length']){const _0x594d5c=this[_0x30295b(0x1b5)]['shift']();this[_0x30295b(0x230)]++,_0x594d5c(this[_0x10a7d5]);}}}return ye=_0x1718bd,ye;}var ve,Ze;function he(){const _0x4894b9=_0x56e321;if(Ze)return ve;Ze=0x1;const _0x624f76=_0x5dd131,_0x2e4383=ce(),_0x3dfbfa=qt(),{kStatusCode:_0x1ae739}=V(),_0x1bbd75=Buffer[Symbol['species']],_0x460221=Buffer['from']([0x0,0x0,0xff,0xff]),_0x1df09d=Symbol(_0x4894b9(0x2b5)),_0x4d616a=Symbol(_0x4894b9(0x13c)),_0x2e16c8=Symbol(_0x4894b9(0x2cc)),_0x44e65d=Symbol(_0x4894b9(0x240)),_0x714ff4=Symbol(_0x4894b9(0x1f0));let _0x456118;class _0xa86670{constructor(_0xbcf140,_0x202c3f,_0x182a8d){const _0x4a0b1f=_0x4894b9;if(this[_0x4a0b1f(0x205)]=_0x182a8d|0x0,this[_0x4a0b1f(0x209)]=_0xbcf140||{},this[_0x4a0b1f(0x267)]=this['_options']['threshold']!==void 0x0?this[_0x4a0b1f(0x209)][_0x4a0b1f(0x299)]:0x400,this[_0x4a0b1f(0x2af)]=!!_0x202c3f,this[_0x4a0b1f(0x206)]=null,this[_0x4a0b1f(0x250)]=null,this[_0x4a0b1f(0x1a6)]=null,!_0x456118){const _0x36785c=this[_0x4a0b1f(0x209)]['concurrencyLimit']!==void 0x0?this['_options'][_0x4a0b1f(0x26f)]:0xa;_0x456118=new _0x3dfbfa(_0x36785c);}}static get[_0x4894b9(0x1e0)](){const _0x545335=_0x4894b9;return _0x545335(0x2b5);}[_0x4894b9(0x13f)](){const _0x133d1f=_0x4894b9,_0x17830c={};return this[_0x133d1f(0x209)][_0x133d1f(0x138)]&&(_0x17830c[_0x133d1f(0x2d9)]=!0x0),this[_0x133d1f(0x209)][_0x133d1f(0x233)]&&(_0x17830c[_0x133d1f(0x289)]=!0x0),this[_0x133d1f(0x209)]['serverMaxWindowBits']&&(_0x17830c['server_max_window_bits']=this['_options'][_0x133d1f(0x2ae)]),this[_0x133d1f(0x209)]['clientMaxWindowBits']?_0x17830c[_0x133d1f(0x2a0)]=this['_options'][_0x133d1f(0x1f7)]:this[_0x133d1f(0x209)]['clientMaxWindowBits']==null&&(_0x17830c[_0x133d1f(0x2a0)]=!0x0),_0x17830c;}[_0x4894b9(0x2d3)](_0x1cf490){const _0x54978e=_0x4894b9;return _0x1cf490=this[_0x54978e(0x23a)](_0x1cf490),this['params']=this[_0x54978e(0x2af)]?this[_0x54978e(0x2d6)](_0x1cf490):this[_0x54978e(0x2e5)](_0x1cf490),this['params'];}['cleanup'](){const _0x39fc92=_0x4894b9;if(this[_0x39fc92(0x250)]&&(this[_0x39fc92(0x250)]['close'](),this[_0x39fc92(0x250)]=null),this[_0x39fc92(0x206)]){const _0x1dc060=this['_deflate'][_0x2e16c8];this[_0x39fc92(0x206)][_0x39fc92(0x287)](),this[_0x39fc92(0x206)]=null,_0x1dc060&&_0x1dc060(new Error(_0x39fc92(0x19f)));}}[_0x4894b9(0x2d6)](_0x377a83){const _0x12e9d6=_0x4894b9,_0x4f62df=this[_0x12e9d6(0x209)],_0x21981d=_0x377a83['find'](_0x484c47=>!(_0x4f62df[_0x12e9d6(0x138)]===!0x1&&_0x484c47['server_no_context_takeover']||_0x484c47[_0x12e9d6(0x274)]&&(_0x4f62df[_0x12e9d6(0x2ae)]===!0x1||typeof _0x4f62df['serverMaxWindowBits']==_0x12e9d6(0x1c6)&&_0x4f62df['serverMaxWindowBits']>_0x484c47[_0x12e9d6(0x274)])||typeof _0x4f62df[_0x12e9d6(0x1f7)]==_0x12e9d6(0x1c6)&&!_0x484c47[_0x12e9d6(0x2a0)]));if(!_0x21981d)throw new Error('None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted');return _0x4f62df[_0x12e9d6(0x138)]&&(_0x21981d[_0x12e9d6(0x2d9)]=!0x0),_0x4f62df[_0x12e9d6(0x233)]&&(_0x21981d[_0x12e9d6(0x289)]=!0x0),typeof _0x4f62df[_0x12e9d6(0x2ae)]==_0x12e9d6(0x1c6)&&(_0x21981d[_0x12e9d6(0x274)]=_0x4f62df[_0x12e9d6(0x2ae)]),typeof _0x4f62df[_0x12e9d6(0x1f7)]==_0x12e9d6(0x1c6)?_0x21981d[_0x12e9d6(0x2a0)]=_0x4f62df['clientMaxWindowBits']:(_0x21981d[_0x12e9d6(0x2a0)]===!0x0||_0x4f62df[_0x12e9d6(0x1f7)]===!0x1)&&delete _0x21981d[_0x12e9d6(0x2a0)],_0x21981d;}[_0x4894b9(0x2e5)](_0xcf66c6){const _0x3e9215=_0x4894b9,_0x1d1a25=_0xcf66c6[0x0];if(this[_0x3e9215(0x209)][_0x3e9215(0x233)]===!0x1&&_0x1d1a25[_0x3e9215(0x289)])throw new Error(_0x3e9215(0x1dc));if(!_0x1d1a25[_0x3e9215(0x2a0)])typeof this[_0x3e9215(0x209)][_0x3e9215(0x1f7)]==_0x3e9215(0x1c6)&&(_0x1d1a25[_0x3e9215(0x2a0)]=this[_0x3e9215(0x209)][_0x3e9215(0x1f7)]);else{if(this[_0x3e9215(0x209)][_0x3e9215(0x1f7)]===!0x1||typeof this[_0x3e9215(0x209)][_0x3e9215(0x1f7)]=='number'&&_0x1d1a25[_0x3e9215(0x2a0)]>this[_0x3e9215(0x209)]['clientMaxWindowBits'])throw new Error('Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22');}return _0x1d1a25;}[_0x4894b9(0x23a)](_0x47c1a0){const _0x305940=_0x4894b9;return _0x47c1a0[_0x305940(0x1ab)](_0x54d115=>{const _0x346e0f=_0x305940;Object[_0x346e0f(0x1a9)](_0x54d115)[_0x346e0f(0x1ab)](_0x459191=>{const _0x2cce9e=_0x346e0f;let _0x895535=_0x54d115[_0x459191];if(_0x895535[_0x2cce9e(0x2a5)]>0x1)throw new Error(_0x2cce9e(0x2c1)+_0x459191+_0x2cce9e(0x183));if(_0x895535=_0x895535[0x0],_0x459191==='client_max_window_bits'){if(_0x895535!==!0x0){const _0x55c526=+_0x895535;if(!Number[_0x2cce9e(0x29a)](_0x55c526)||_0x55c526<0x8||_0x55c526>0xf)throw new TypeError(_0x2cce9e(0x1f9)+_0x459191+'\x22:\x20'+_0x895535);_0x895535=_0x55c526;}else{if(!this['_isServer'])throw new TypeError(_0x2cce9e(0x1f9)+_0x459191+_0x2cce9e(0x1af)+_0x895535);}}else{if(_0x459191===_0x2cce9e(0x274)){const _0x523b36=+_0x895535;if(!Number['isInteger'](_0x523b36)||_0x523b36<0x8||_0x523b36>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x459191+_0x2cce9e(0x1af)+_0x895535);_0x895535=_0x523b36;}else{if(_0x459191===_0x2cce9e(0x289)||_0x459191===_0x2cce9e(0x2d9)){if(_0x895535!==!0x0)throw new TypeError(_0x2cce9e(0x1f9)+_0x459191+_0x2cce9e(0x1af)+_0x895535);}else throw new Error(_0x2cce9e(0x136)+_0x459191+'\x22');}}_0x54d115[_0x459191]=_0x895535;});}),_0x47c1a0;}[_0x4894b9(0x185)](_0x5001e7,_0x38a76e,_0x4e4254){const _0x250f1b=_0x4894b9;_0x456118[_0x250f1b(0x275)](_0x56678d=>{const _0x8748a0=_0x250f1b;this[_0x8748a0(0x29d)](_0x5001e7,_0x38a76e,(_0x5ee60b,_0x155389)=>{_0x56678d(),_0x4e4254(_0x5ee60b,_0x155389);});});}['compress'](_0x59797e,_0x1a304e,_0x25777c){const _0x12ccb1=_0x4894b9;_0x456118[_0x12ccb1(0x275)](_0x3eb161=>{this['_compress'](_0x59797e,_0x1a304e,(_0x159bf9,_0x58a09e)=>{_0x3eb161(),_0x25777c(_0x159bf9,_0x58a09e);});});}[_0x4894b9(0x29d)](_0x4e3464,_0x7f1b14,_0x652b98){const _0x2f92db=_0x4894b9,_0x1a0fab=this[_0x2f92db(0x2af)]?_0x2f92db(0x2e9):_0x2f92db(0x262);if(!this[_0x2f92db(0x250)]){const _0x1be8dd=_0x1a0fab+_0x2f92db(0x19a),_0x336123=typeof this[_0x2f92db(0x1a6)][_0x1be8dd]!=_0x2f92db(0x1c6)?_0x624f76[_0x2f92db(0x2e8)]:this[_0x2f92db(0x1a6)][_0x1be8dd];this[_0x2f92db(0x250)]=_0x624f76['createInflateRaw']({...this[_0x2f92db(0x209)]['zlibInflateOptions'],'windowBits':_0x336123}),this[_0x2f92db(0x250)][_0x1df09d]=this,this[_0x2f92db(0x250)][_0x4d616a]=0x0,this[_0x2f92db(0x250)][_0x44e65d]=[],this[_0x2f92db(0x250)]['on'](_0x2f92db(0x1f0),_0x639bbf),this[_0x2f92db(0x250)]['on'](_0x2f92db(0x18a),_0x261759);}this[_0x2f92db(0x250)][_0x2e16c8]=_0x652b98,this[_0x2f92db(0x250)][_0x2f92db(0x1fb)](_0x4e3464),_0x7f1b14&&this[_0x2f92db(0x250)][_0x2f92db(0x1fb)](_0x460221),this[_0x2f92db(0x250)]['flush'](()=>{const _0x2c4aee=_0x2f92db,_0x2c7843=this[_0x2c4aee(0x250)][_0x714ff4];if(_0x2c7843){this['_inflate'][_0x2c4aee(0x287)](),this['_inflate']=null,_0x652b98(_0x2c7843);return;}const _0x1e53c5=_0x2e4383[_0x2c4aee(0x263)](this[_0x2c4aee(0x250)][_0x44e65d],this['_inflate'][_0x4d616a]);this[_0x2c4aee(0x250)]['_readableState'][_0x2c4aee(0x238)]?(this[_0x2c4aee(0x250)][_0x2c4aee(0x287)](),this[_0x2c4aee(0x250)]=null):(this[_0x2c4aee(0x250)][_0x4d616a]=0x0,this[_0x2c4aee(0x250)][_0x44e65d]=[],_0x7f1b14&&this['params'][_0x1a0fab+_0x2c4aee(0x1e6)]&&this[_0x2c4aee(0x250)]['reset']()),_0x652b98(null,_0x1e53c5);});}[_0x4894b9(0x192)](_0x327ce5,_0x9dfcba,_0x51fee2){const _0x212dea=_0x4894b9,_0x2702aa=this[_0x212dea(0x2af)]?_0x212dea(0x262):_0x212dea(0x2e9);if(!this[_0x212dea(0x206)]){const _0x75e9c3=_0x2702aa+_0x212dea(0x19a),_0xdf1667=typeof this[_0x212dea(0x1a6)][_0x75e9c3]!=_0x212dea(0x1c6)?_0x624f76['Z_DEFAULT_WINDOWBITS']:this['params'][_0x75e9c3];this[_0x212dea(0x206)]=_0x624f76[_0x212dea(0x1e5)]({...this[_0x212dea(0x209)]['zlibDeflateOptions'],'windowBits':_0xdf1667}),this[_0x212dea(0x206)][_0x4d616a]=0x0,this[_0x212dea(0x206)][_0x44e65d]=[],this[_0x212dea(0x206)]['on']('data',_0xdf5778);}this[_0x212dea(0x206)][_0x2e16c8]=_0x51fee2,this[_0x212dea(0x206)][_0x212dea(0x1fb)](_0x327ce5),this['_deflate'][_0x212dea(0x172)](_0x624f76['Z_SYNC_FLUSH'],()=>{const _0x55a9ae=_0x212dea;if(!this[_0x55a9ae(0x206)])return;let _0x3131a4=_0x2e4383[_0x55a9ae(0x263)](this[_0x55a9ae(0x206)][_0x44e65d],this['_deflate'][_0x4d616a]);_0x9dfcba&&(_0x3131a4=new _0x1bbd75(_0x3131a4[_0x55a9ae(0x20b)],_0x3131a4[_0x55a9ae(0x28a)],_0x3131a4['length']-0x4)),this['_deflate'][_0x2e16c8]=null,this[_0x55a9ae(0x206)][_0x4d616a]=0x0,this[_0x55a9ae(0x206)][_0x44e65d]=[],_0x9dfcba&&this[_0x55a9ae(0x1a6)][_0x2702aa+_0x55a9ae(0x1e6)]&&this[_0x55a9ae(0x206)][_0x55a9ae(0x217)](),_0x51fee2(null,_0x3131a4);});}}ve=_0xa86670;function _0xdf5778(_0x599d6e){const _0x3c42e0=_0x4894b9;this[_0x44e65d][_0x3c42e0(0x18f)](_0x599d6e),this[_0x4d616a]+=_0x599d6e['length'];}function _0x261759(_0x7b8156){const _0xdc9e10=_0x4894b9;if(this[_0x4d616a]+=_0x7b8156['length'],this[_0x1df09d]['_maxPayload']<0x1||this[_0x4d616a]<=this[_0x1df09d][_0xdc9e10(0x205)]){this[_0x44e65d]['push'](_0x7b8156);return;}this[_0x714ff4]=new RangeError(_0xdc9e10(0x244)),this[_0x714ff4][_0xdc9e10(0x1a3)]=_0xdc9e10(0x1df),this[_0x714ff4][_0x1ae739]=0x3f1,this[_0xdc9e10(0x2e1)](_0xdc9e10(0x18a),_0x261759),this[_0xdc9e10(0x217)]();}function _0x639bbf(_0x4dfa95){const _0x3b3cca=_0x4894b9;if(this[_0x1df09d][_0x3b3cca(0x250)]=null,this[_0x714ff4]){this[_0x2e16c8](this[_0x714ff4]);return;}_0x4dfa95[_0x1ae739]=0x3ef,this[_0x2e16c8](_0x4dfa95);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x56e321(0x1db)](Object[_0x56e321(0x2c2)]({'__proto__':null,'default':Ht},Symbol['toStringTag'],{'value':_0x56e321(0x1cb)})),Yt=ut(zt);var Qe;function ne(){const _0x989c82=_0x56e321;if(Qe)return re[_0x989c82(0x28d)];Qe=0x1;const {isUtf8:_0x9c386}=_0x30a3c9,{hasBlob:_0x38be6c}=V(),_0x34ff11=[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 _0x5d94e3(_0xe1f963){return _0xe1f963>=0x3e8&&_0xe1f963<=0x3f6&&_0xe1f963!==0x3ec&&_0xe1f963!==0x3ed&&_0xe1f963!==0x3ee||_0xe1f963>=0xbb8&&_0xe1f963<=0x1387;}function _0x4ca6ef(_0x18ad25){const _0x285362=_0x18ad25['length'];let _0x415cbd=0x0;for(;_0x415cbd<_0x285362;)if((_0x18ad25[_0x415cbd]&0x80)===0x0)_0x415cbd++;else{if((_0x18ad25[_0x415cbd]&0xe0)===0xc0){if(_0x415cbd+0x1===_0x285362||(_0x18ad25[_0x415cbd+0x1]&0xc0)!==0x80||(_0x18ad25[_0x415cbd]&0xfe)===0xc0)return!0x1;_0x415cbd+=0x2;}else{if((_0x18ad25[_0x415cbd]&0xf0)===0xe0){if(_0x415cbd+0x2>=_0x285362||(_0x18ad25[_0x415cbd+0x1]&0xc0)!==0x80||(_0x18ad25[_0x415cbd+0x2]&0xc0)!==0x80||_0x18ad25[_0x415cbd]===0xe0&&(_0x18ad25[_0x415cbd+0x1]&0xe0)===0x80||_0x18ad25[_0x415cbd]===0xed&&(_0x18ad25[_0x415cbd+0x1]&0xe0)===0xa0)return!0x1;_0x415cbd+=0x3;}else{if((_0x18ad25[_0x415cbd]&0xf8)===0xf0){if(_0x415cbd+0x3>=_0x285362||(_0x18ad25[_0x415cbd+0x1]&0xc0)!==0x80||(_0x18ad25[_0x415cbd+0x2]&0xc0)!==0x80||(_0x18ad25[_0x415cbd+0x3]&0xc0)!==0x80||_0x18ad25[_0x415cbd]===0xf0&&(_0x18ad25[_0x415cbd+0x1]&0xf0)===0x80||_0x18ad25[_0x415cbd]===0xf4&&_0x18ad25[_0x415cbd+0x1]>0x8f||_0x18ad25[_0x415cbd]>0xf4)return!0x1;_0x415cbd+=0x4;}else return!0x1;}}}return!0x0;}function _0x510cb8(_0x473a23){const _0x2b93e3=_0x989c82;return _0x38be6c&&typeof _0x473a23==_0x2b93e3(0x193)&&typeof _0x473a23[_0x2b93e3(0x1ef)]=='function'&&typeof _0x473a23[_0x2b93e3(0x251)]=='string'&&typeof _0x473a23[_0x2b93e3(0x292)]==_0x2b93e3(0x257)&&(_0x473a23[Symbol[_0x2b93e3(0x231)]]===_0x2b93e3(0x259)||_0x473a23[Symbol[_0x2b93e3(0x231)]]===_0x2b93e3(0x224));}if(re[_0x989c82(0x28d)]={'isBlob':_0x510cb8,'isValidStatusCode':_0x5d94e3,'isValidUTF8':_0x4ca6ef,'tokenChars':_0x34ff11},_0x9c386)re[_0x989c82(0x28d)]['isValidUTF8']=function(_0x3b814f){const _0x54d27e=_0x989c82;return _0x3b814f[_0x54d27e(0x2a5)]<0x18?_0x4ca6ef(_0x3b814f):_0x9c386(_0x3b814f);};else{if(!process['env'][_0x989c82(0x24a)])try{const _0x3e56dd=Yt;re[_0x989c82(0x28d)][_0x989c82(0x1cd)]=function(_0x4aceb3){const _0xeed33d=_0x989c82;return _0x4aceb3[_0xeed33d(0x2a5)]<0x20?_0x4ca6ef(_0x4aceb3):_0x3e56dd(_0x4aceb3);};}catch{}}return re[_0x989c82(0x28d)];}var Se,Je;function dt(){const _0x59bf26=_0x56e321;if(Je)return Se;Je=0x1;const {Writable:_0x480e97}=_0x5eabb8,_0x42c45e=he(),{BINARY_TYPES:_0x563cb8,EMPTY_BUFFER:_0x526598,kStatusCode:_0x5b997f,kWebSocket:_0x391512}=V(),{concat:_0x3db1e2,toArrayBuffer:_0x2611a1,unmask:_0x1f17ac}=ce(),{isValidStatusCode:_0x32217f,isValidUTF8:_0x4df04b}=ne(),_0x2e5693=Buffer[Symbol[_0x59bf26(0x293)]],_0x59f52b=0x0,_0x2c74c2=0x1,_0x41d4ab=0x2,_0x39f356=0x3,_0x4d00fd=0x4,_0x53ae17=0x5,_0x49103d=0x6;class _0x3edfdf extends _0x480e97{constructor(_0x4ff467={}){const _0x32e7de=_0x59bf26;super(),this['_allowSynchronousEvents']=_0x4ff467[_0x32e7de(0x1aa)]!==void 0x0?_0x4ff467[_0x32e7de(0x1aa)]:!0x0,this[_0x32e7de(0x25b)]=_0x4ff467['binaryType']||_0x563cb8[0x0],this['_extensions']=_0x4ff467[_0x32e7de(0x16a)]||{},this['_isServer']=!!_0x4ff467[_0x32e7de(0x168)],this[_0x32e7de(0x205)]=_0x4ff467['maxPayload']|0x0,this[_0x32e7de(0x149)]=!!_0x4ff467['skipUTF8Validation'],this[_0x391512]=void 0x0,this['_bufferedBytes']=0x0,this['_buffers']=[],this[_0x32e7de(0x13b)]=!0x1,this['_payloadLength']=0x0,this['_mask']=void 0x0,this[_0x32e7de(0x22e)]=0x0,this[_0x32e7de(0x163)]=!0x1,this[_0x32e7de(0x1de)]=!0x1,this[_0x32e7de(0x1c0)]=0x0,this[_0x32e7de(0x18c)]=0x0,this[_0x32e7de(0x21f)]=0x0,this[_0x32e7de(0x201)]=[],this[_0x32e7de(0x2e4)]=!0x1,this[_0x32e7de(0x1cf)]=!0x1,this[_0x32e7de(0x212)]=_0x59f52b;}['_write'](_0x54b879,_0x53af20,_0x3bba7b){const _0x24adb3=_0x59bf26;if(this[_0x24adb3(0x1c0)]===0x8&&this[_0x24adb3(0x212)]==_0x59f52b)return _0x3bba7b();this['_bufferedBytes']+=_0x54b879[_0x24adb3(0x2a5)],this[_0x24adb3(0x1ca)][_0x24adb3(0x18f)](_0x54b879),this['startLoop'](_0x3bba7b);}[_0x59bf26(0x169)](_0x32509e){const _0x15e2c4=_0x59bf26;if(this['_bufferedBytes']-=_0x32509e,_0x32509e===this[_0x15e2c4(0x1ca)][0x0][_0x15e2c4(0x2a5)])return this['_buffers'][_0x15e2c4(0x20c)]();if(_0x32509e<this[_0x15e2c4(0x1ca)][0x0]['length']){const _0x33fb1a=this[_0x15e2c4(0x1ca)][0x0];return this[_0x15e2c4(0x1ca)][0x0]=new _0x2e5693(_0x33fb1a[_0x15e2c4(0x20b)],_0x33fb1a[_0x15e2c4(0x28a)]+_0x32509e,_0x33fb1a['length']-_0x32509e),new _0x2e5693(_0x33fb1a[_0x15e2c4(0x20b)],_0x33fb1a[_0x15e2c4(0x28a)],_0x32509e);}const _0x55339c=Buffer[_0x15e2c4(0x25a)](_0x32509e);do{const _0x2ce23b=this[_0x15e2c4(0x1ca)][0x0],_0x1719b9=_0x55339c[_0x15e2c4(0x2a5)]-_0x32509e;_0x32509e>=_0x2ce23b[_0x15e2c4(0x2a5)]?_0x55339c[_0x15e2c4(0x296)](this[_0x15e2c4(0x1ca)][_0x15e2c4(0x20c)](),_0x1719b9):(_0x55339c[_0x15e2c4(0x296)](new Uint8Array(_0x2ce23b['buffer'],_0x2ce23b['byteOffset'],_0x32509e),_0x1719b9),this['_buffers'][0x0]=new _0x2e5693(_0x2ce23b[_0x15e2c4(0x20b)],_0x2ce23b[_0x15e2c4(0x28a)]+_0x32509e,_0x2ce23b[_0x15e2c4(0x2a5)]-_0x32509e)),_0x32509e-=_0x2ce23b['length'];}while(_0x32509e>0x0);return _0x55339c;}[_0x59bf26(0x2db)](_0x14a657){const _0xe72328=_0x59bf26;this[_0xe72328(0x1cf)]=!0x0;do switch(this[_0xe72328(0x212)]){case _0x59f52b:this[_0xe72328(0x191)](_0x14a657);break;case _0x2c74c2:this['getPayloadLength16'](_0x14a657);break;case _0x41d4ab:this[_0xe72328(0x1bc)](_0x14a657);break;case _0x39f356:this['getMask']();break;case _0x4d00fd:this[_0xe72328(0x286)](_0x14a657);break;case _0x53ae17:case _0x49103d:this[_0xe72328(0x1cf)]=!0x1;return;}while(this['_loop']);this[_0xe72328(0x2e4)]||_0x14a657();}[_0x59bf26(0x191)](_0x57e9d){const _0x30f094=_0x59bf26;if(this[_0x30f094(0x1b1)]<0x2){this['_loop']=!0x1;return;}const _0x3602fe=this[_0x30f094(0x169)](0x2);if((_0x3602fe[0x0]&0x30)!==0x0){const _0x384d84=this[_0x30f094(0x2b3)](RangeError,_0x30f094(0x28e),!0x0,0x3ea,_0x30f094(0x24e));_0x57e9d(_0x384d84);return;}const _0xbd258=(_0x3602fe[0x0]&0x40)===0x40;if(_0xbd258&&!this[_0x30f094(0x2ce)][_0x42c45e['extensionName']]){const _0x1ac254=this[_0x30f094(0x2b3)](RangeError,_0x30f094(0x1c5),!0x0,0x3ea,_0x30f094(0x200));_0x57e9d(_0x1ac254);return;}if(this[_0x30f094(0x1de)]=(_0x3602fe[0x0]&0x80)===0x80,this[_0x30f094(0x1c0)]=_0x3602fe[0x0]&0xf,this[_0x30f094(0x253)]=_0x3602fe[0x1]&0x7f,this[_0x30f094(0x1c0)]===0x0){if(_0xbd258){const _0x72bfdc=this[_0x30f094(0x2b3)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x57e9d(_0x72bfdc);return;}if(!this[_0x30f094(0x22e)]){const _0x45d2d7=this['createError'](RangeError,'invalid\x20opcode\x200',!0x0,0x3ea,_0x30f094(0x146));_0x57e9d(_0x45d2d7);return;}this[_0x30f094(0x1c0)]=this['_fragmented'];}else{if(this[_0x30f094(0x1c0)]===0x1||this['_opcode']===0x2){if(this['_fragmented']){const _0x1cc51e=this['createError'](RangeError,_0x30f094(0x152)+this[_0x30f094(0x1c0)],!0x0,0x3ea,_0x30f094(0x146));_0x57e9d(_0x1cc51e);return;}this[_0x30f094(0x13b)]=_0xbd258;}else{if(this[_0x30f094(0x1c0)]>0x7&&this[_0x30f094(0x1c0)]<0xb){if(!this[_0x30f094(0x1de)]){const _0x302ea9=this[_0x30f094(0x2b3)](RangeError,_0x30f094(0x27e),!0x0,0x3ea,_0x30f094(0x2e3));_0x57e9d(_0x302ea9);return;}if(_0xbd258){const _0x360351=this[_0x30f094(0x2b3)](RangeError,_0x30f094(0x1c5),!0x0,0x3ea,_0x30f094(0x200));_0x57e9d(_0x360351);return;}if(this[_0x30f094(0x253)]>0x7d||this[_0x30f094(0x1c0)]===0x8&&this[_0x30f094(0x253)]===0x1){const _0x50241e=this[_0x30f094(0x2b3)](RangeError,_0x30f094(0x170)+this[_0x30f094(0x253)],!0x0,0x3ea,_0x30f094(0x141));_0x57e9d(_0x50241e);return;}}else{const _0x2ecf70=this['createError'](RangeError,_0x30f094(0x152)+this[_0x30f094(0x1c0)],!0x0,0x3ea,_0x30f094(0x146));_0x57e9d(_0x2ecf70);return;}}}if(!this[_0x30f094(0x1de)]&&!this['_fragmented']&&(this[_0x30f094(0x22e)]=this['_opcode']),this['_masked']=(_0x3602fe[0x1]&0x80)===0x80,this[_0x30f094(0x2af)]){if(!this[_0x30f094(0x163)]){const _0x116d5d=this[_0x30f094(0x2b3)](RangeError,_0x30f094(0x23f),!0x0,0x3ea,_0x30f094(0x18b));_0x57e9d(_0x116d5d);return;}}else{if(this['_masked']){const _0x5d9c50=this['createError'](RangeError,_0x30f094(0x22a),!0x0,0x3ea,_0x30f094(0x1d9));_0x57e9d(_0x5d9c50);return;}}this[_0x30f094(0x253)]===0x7e?this['_state']=_0x2c74c2:this[_0x30f094(0x253)]===0x7f?this[_0x30f094(0x212)]=_0x41d4ab:this[_0x30f094(0x211)](_0x57e9d);}[_0x59bf26(0x17a)](_0x548105){const _0x27723c=_0x59bf26;if(this[_0x27723c(0x1b1)]<0x2){this['_loop']=!0x1;return;}this['_payloadLength']=this[_0x27723c(0x169)](0x2)['readUInt16BE'](0x0),this[_0x27723c(0x211)](_0x548105);}[_0x59bf26(0x1bc)](_0xb2bbde){const _0x4a0730=_0x59bf26;if(this[_0x4a0730(0x1b1)]<0x8){this[_0x4a0730(0x1cf)]=!0x1;return;}const _0x44d9c=this[_0x4a0730(0x169)](0x8),_0x2d87ae=_0x44d9c[_0x4a0730(0x188)](0x0);if(_0x2d87ae>Math[_0x4a0730(0x22d)](0x2,0x15)-0x1){const _0x2b95b0=this[_0x4a0730(0x2b3)](RangeError,_0x4a0730(0x27b),!0x1,0x3f1,_0x4a0730(0x197));_0xb2bbde(_0x2b95b0);return;}this[_0x4a0730(0x253)]=_0x2d87ae*Math['pow'](0x2,0x20)+_0x44d9c[_0x4a0730(0x188)](0x4),this['haveLength'](_0xb2bbde);}[_0x59bf26(0x211)](_0x1b598f){const _0x41b037=_0x59bf26;if(this['_payloadLength']&&this[_0x41b037(0x1c0)]<0x8&&(this['_totalPayloadLength']+=this[_0x41b037(0x253)],this[_0x41b037(0x18c)]>this[_0x41b037(0x205)]&&this[_0x41b037(0x205)]>0x0)){const _0x5e1c5d=this[_0x41b037(0x2b3)](RangeError,_0x41b037(0x244),!0x1,0x3f1,_0x41b037(0x1df));_0x1b598f(_0x5e1c5d);return;}this[_0x41b037(0x163)]?this[_0x41b037(0x212)]=_0x39f356:this[_0x41b037(0x212)]=_0x4d00fd;}[_0x59bf26(0x25e)](){const _0x1147b7=_0x59bf26;if(this[_0x1147b7(0x1b1)]<0x4){this[_0x1147b7(0x1cf)]=!0x1;return;}this[_0x1147b7(0x2ca)]=this[_0x1147b7(0x169)](0x4),this['_state']=_0x4d00fd;}['getData'](_0x4f9b09){const _0x28ac81=_0x59bf26;let _0x3bbafe=_0x526598;if(this[_0x28ac81(0x253)]){if(this[_0x28ac81(0x1b1)]<this[_0x28ac81(0x253)]){this[_0x28ac81(0x1cf)]=!0x1;return;}_0x3bbafe=this['consume'](this[_0x28ac81(0x253)]),this[_0x28ac81(0x163)]&&(this['_mask'][0x0]|this[_0x28ac81(0x2ca)][0x1]|this['_mask'][0x2]|this[_0x28ac81(0x2ca)][0x3])!==0x0&&_0x1f17ac(_0x3bbafe,this['_mask']);}if(this[_0x28ac81(0x1c0)]>0x7){this[_0x28ac81(0x2b0)](_0x3bbafe,_0x4f9b09);return;}if(this[_0x28ac81(0x13b)]){this[_0x28ac81(0x212)]=_0x53ae17,this[_0x28ac81(0x185)](_0x3bbafe,_0x4f9b09);return;}_0x3bbafe[_0x28ac81(0x2a5)]&&(this[_0x28ac81(0x21f)]=this[_0x28ac81(0x18c)],this[_0x28ac81(0x201)][_0x28ac81(0x18f)](_0x3bbafe)),this[_0x28ac81(0x21a)](_0x4f9b09);}[_0x59bf26(0x185)](_0x4022c3,_0x2f60c6){const _0x4c4b5e=_0x59bf26;this[_0x4c4b5e(0x2ce)][_0x42c45e[_0x4c4b5e(0x1e0)]]['decompress'](_0x4022c3,this[_0x4c4b5e(0x1de)],(_0x5398c5,_0x39c16d)=>{const _0xaef81=_0x4c4b5e;if(_0x5398c5)return _0x2f60c6(_0x5398c5);if(_0x39c16d['length']){if(this['_messageLength']+=_0x39c16d['length'],this[_0xaef81(0x21f)]>this['_maxPayload']&&this[_0xaef81(0x205)]>0x0){const _0x29bf53=this['createError'](RangeError,_0xaef81(0x244),!0x1,0x3f1,_0xaef81(0x1df));_0x2f60c6(_0x29bf53);return;}this[_0xaef81(0x201)][_0xaef81(0x18f)](_0x39c16d);}this['dataMessage'](_0x2f60c6),this[_0xaef81(0x212)]===_0x59f52b&&this[_0xaef81(0x2db)](_0x2f60c6);});}[_0x59bf26(0x21a)](_0x5cefb3){const _0x1477de=_0x59bf26;if(!this[_0x1477de(0x1de)]){this[_0x1477de(0x212)]=_0x59f52b;return;}const _0x1abc28=this[_0x1477de(0x21f)],_0x16562f=this[_0x1477de(0x201)];if(this[_0x1477de(0x18c)]=0x0,this[_0x1477de(0x21f)]=0x0,this[_0x1477de(0x22e)]=0x0,this[_0x1477de(0x201)]=[],this[_0x1477de(0x1c0)]===0x2){let _0x140425;this[_0x1477de(0x25b)]===_0x1477de(0x273)?_0x140425=_0x3db1e2(_0x16562f,_0x1abc28):this['_binaryType']==='arraybuffer'?_0x140425=_0x2611a1(_0x3db1e2(_0x16562f,_0x1abc28)):this['_binaryType']==='blob'?_0x140425=new Blob(_0x16562f):_0x140425=_0x16562f,this[_0x1477de(0x20f)]?(this[_0x1477de(0x15b)](_0x1477de(0x14f),_0x140425,!0x0),this[_0x1477de(0x212)]=_0x59f52b):(this[_0x1477de(0x212)]=_0x49103d,setImmediate(()=>{const _0x27a92a=_0x1477de;this[_0x27a92a(0x15b)](_0x27a92a(0x14f),_0x140425,!0x0),this[_0x27a92a(0x212)]=_0x59f52b,this[_0x27a92a(0x2db)](_0x5cefb3);}));}else{const _0x2da926=_0x3db1e2(_0x16562f,_0x1abc28);if(!this[_0x1477de(0x149)]&&!_0x4df04b(_0x2da926)){const _0x3b99f7=this[_0x1477de(0x2b3)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x1477de(0x159));_0x5cefb3(_0x3b99f7);return;}this[_0x1477de(0x212)]===_0x53ae17||this[_0x1477de(0x20f)]?(this['emit']('message',_0x2da926,!0x1),this[_0x1477de(0x212)]=_0x59f52b):(this['_state']=_0x49103d,setImmediate(()=>{const _0x4dda53=_0x1477de;this['emit'](_0x4dda53(0x14f),_0x2da926,!0x1),this[_0x4dda53(0x212)]=_0x59f52b,this[_0x4dda53(0x2db)](_0x5cefb3);}));}}[_0x59bf26(0x2b0)](_0x183b54,_0x130b83){const _0x5314d8=_0x59bf26;if(this[_0x5314d8(0x1c0)]===0x8){if(_0x183b54[_0x5314d8(0x2a5)]===0x0)this['_loop']=!0x1,this[_0x5314d8(0x15b)]('conclude',0x3ed,_0x526598),this['end']();else{const _0x5c5044=_0x183b54[_0x5314d8(0x19b)](0x0);if(!_0x32217f(_0x5c5044)){const _0x32aa73=this['createError'](RangeError,_0x5314d8(0x2b2)+_0x5c5044,!0x0,0x3ea,_0x5314d8(0x153));_0x130b83(_0x32aa73);return;}const _0x1211a0=new _0x2e5693(_0x183b54['buffer'],_0x183b54[_0x5314d8(0x28a)]+0x2,_0x183b54[_0x5314d8(0x2a5)]-0x2);if(!this[_0x5314d8(0x149)]&&!_0x4df04b(_0x1211a0)){const _0x396ea0=this['createError'](Error,_0x5314d8(0x269),!0x0,0x3ef,_0x5314d8(0x159));_0x130b83(_0x396ea0);return;}this[_0x5314d8(0x1cf)]=!0x1,this[_0x5314d8(0x15b)](_0x5314d8(0x26d),_0x5c5044,_0x1211a0),this[_0x5314d8(0x199)]();}this[_0x5314d8(0x212)]=_0x59f52b;return;}this[_0x5314d8(0x20f)]?(this[_0x5314d8(0x15b)](this[_0x5314d8(0x1c0)]===0x9?_0x5314d8(0x207):_0x5314d8(0x28b),_0x183b54),this['_state']=_0x59f52b):(this[_0x5314d8(0x212)]=_0x49103d,setImmediate(()=>{const _0x4acedc=_0x5314d8;this[_0x4acedc(0x15b)](this[_0x4acedc(0x1c0)]===0x9?_0x4acedc(0x207):_0x4acedc(0x28b),_0x183b54),this[_0x4acedc(0x212)]=_0x59f52b,this[_0x4acedc(0x2db)](_0x130b83);}));}['createError'](_0xbb23d0,_0x3236f2,_0x3a9ec3,_0x46a733,_0x4aec87){const _0x5ad942=_0x59bf26;this[_0x5ad942(0x1cf)]=!0x1,this[_0x5ad942(0x2e4)]=!0x0;const _0x22aa9f=new _0xbb23d0(_0x3a9ec3?_0x5ad942(0x1d0)+_0x3236f2:_0x3236f2);return Error[_0x5ad942(0x1e8)](_0x22aa9f,this[_0x5ad942(0x2b3)]),_0x22aa9f[_0x5ad942(0x1a3)]=_0x4aec87,_0x22aa9f[_0x5b997f]=_0x46a733,_0x22aa9f;}}return Se=_0x3edfdf,Se;}var Ee,et;function _t(){const _0x25efb9=_0x56e321;if(et)return Ee;et=0x1;const {Duplex:_0x283193}=_0x5eabb8,{randomFillSync:_0x324608}=_0x2940c5,_0x1b244b=he(),{EMPTY_BUFFER:_0x2ae822,kWebSocket:_0x25d1cd,NOOP:_0x46b8d1}=V(),{isBlob:_0x57359b,isValidStatusCode:_0x3839ed}=ne(),{mask:_0x54647e,toBuffer:_0x58d466}=ce(),_0x105019=Symbol(_0x25efb9(0x19c)),_0x567b54=Buffer['alloc'](0x4),_0x16bf4a=0x8*0x400;let _0x206e33,_0x5ec5f0=_0x16bf4a;const _0x36c03d=0x0,_0x9da929=0x1,_0x4928c8=0x2;class _0x4eddf5{constructor(_0x24fefa,_0x956c3f,_0x5ad957){const _0x105e9d=_0x25efb9;this[_0x105e9d(0x2ce)]=_0x956c3f||{},_0x5ad957&&(this[_0x105e9d(0x246)]=_0x5ad957,this[_0x105e9d(0x2c0)]=Buffer[_0x105e9d(0x1c3)](0x4)),this['_socket']=_0x24fefa,this['_firstFragment']=!0x0,this[_0x105e9d(0x192)]=!0x1,this[_0x105e9d(0x1b1)]=0x0,this['_queue']=[],this[_0x105e9d(0x212)]=_0x36c03d,this[_0x105e9d(0x186)]=_0x46b8d1,this[_0x25d1cd]=void 0x0;}static[_0x25efb9(0x1b0)](_0x3e4afe,_0x1638f0){const _0x89825d=_0x25efb9;let _0x3731cc,_0x54b4f6=!0x1,_0x48b4f=0x2,_0x56e2c9=!0x1;_0x1638f0[_0x89825d(0x249)]&&(_0x3731cc=_0x1638f0[_0x89825d(0x27a)]||_0x567b54,_0x1638f0[_0x89825d(0x254)]?_0x1638f0[_0x89825d(0x254)](_0x3731cc):(_0x5ec5f0===_0x16bf4a&&(_0x206e33===void 0x0&&(_0x206e33=Buffer[_0x89825d(0x1c3)](_0x16bf4a)),_0x324608(_0x206e33,0x0,_0x16bf4a),_0x5ec5f0=0x0),_0x3731cc[0x0]=_0x206e33[_0x5ec5f0++],_0x3731cc[0x1]=_0x206e33[_0x5ec5f0++],_0x3731cc[0x2]=_0x206e33[_0x5ec5f0++],_0x3731cc[0x3]=_0x206e33[_0x5ec5f0++]),_0x56e2c9=(_0x3731cc[0x0]|_0x3731cc[0x1]|_0x3731cc[0x2]|_0x3731cc[0x3])===0x0,_0x48b4f=0x6);let _0x410cee;typeof _0x3e4afe==_0x89825d(0x1a4)?(!_0x1638f0[_0x89825d(0x249)]||_0x56e2c9)&&_0x1638f0[_0x105019]!==void 0x0?_0x410cee=_0x1638f0[_0x105019]:(_0x3e4afe=Buffer['from'](_0x3e4afe),_0x410cee=_0x3e4afe['length']):(_0x410cee=_0x3e4afe[_0x89825d(0x2a5)],_0x54b4f6=_0x1638f0['mask']&&_0x1638f0['readOnly']&&!_0x56e2c9);let _0x3c1c0b=_0x410cee;_0x410cee>=0x10000?(_0x48b4f+=0x8,_0x3c1c0b=0x7f):_0x410cee>0x7d&&(_0x48b4f+=0x2,_0x3c1c0b=0x7e);const _0x27e538=Buffer[_0x89825d(0x25a)](_0x54b4f6?_0x410cee+_0x48b4f:_0x48b4f);return _0x27e538[0x0]=_0x1638f0[_0x89825d(0x264)]?_0x1638f0[_0x89825d(0x1cc)]|0x80:_0x1638f0[_0x89825d(0x1cc)],_0x1638f0[_0x89825d(0x270)]&&(_0x27e538[0x0]|=0x40),_0x27e538[0x1]=_0x3c1c0b,_0x3c1c0b===0x7e?_0x27e538[_0x89825d(0x1b7)](_0x410cee,0x2):_0x3c1c0b===0x7f&&(_0x27e538[0x2]=_0x27e538[0x3]=0x0,_0x27e538[_0x89825d(0x290)](_0x410cee,0x4,0x6)),_0x1638f0[_0x89825d(0x249)]?(_0x27e538[0x1]|=0x80,_0x27e538[_0x48b4f-0x4]=_0x3731cc[0x0],_0x27e538[_0x48b4f-0x3]=_0x3731cc[0x1],_0x27e538[_0x48b4f-0x2]=_0x3731cc[0x2],_0x27e538[_0x48b4f-0x1]=_0x3731cc[0x3],_0x56e2c9?[_0x27e538,_0x3e4afe]:_0x54b4f6?(_0x54647e(_0x3e4afe,_0x3731cc,_0x27e538,_0x48b4f,_0x410cee),[_0x27e538]):(_0x54647e(_0x3e4afe,_0x3731cc,_0x3e4afe,0x0,_0x410cee),[_0x27e538,_0x3e4afe])):[_0x27e538,_0x3e4afe];}[_0x25efb9(0x287)](_0x3dc69d,_0x5c42d8,_0x5ecfc1,_0x296ec1){const _0x38d95a=_0x25efb9;let _0x337709;if(_0x3dc69d===void 0x0)_0x337709=_0x2ae822;else{if(typeof _0x3dc69d!=_0x38d95a(0x1c6)||!_0x3839ed(_0x3dc69d))throw new TypeError(_0x38d95a(0x216));if(_0x5c42d8===void 0x0||!_0x5c42d8[_0x38d95a(0x2a5)])_0x337709=Buffer[_0x38d95a(0x25a)](0x2),_0x337709[_0x38d95a(0x1b7)](_0x3dc69d,0x0);else{const _0x175bde=Buffer['byteLength'](_0x5c42d8);if(_0x175bde>0x7b)throw new RangeError(_0x38d95a(0x29b));_0x337709=Buffer[_0x38d95a(0x25a)](0x2+_0x175bde),_0x337709['writeUInt16BE'](_0x3dc69d,0x0),typeof _0x5c42d8==_0x38d95a(0x1a4)?_0x337709[_0x38d95a(0x1fb)](_0x5c42d8,0x2):_0x337709[_0x38d95a(0x296)](_0x5c42d8,0x2);}}const _0x5207f0={[_0x105019]:_0x337709[_0x38d95a(0x2a5)],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x5ecfc1,'maskBuffer':this[_0x38d95a(0x2c0)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x38d95a(0x212)]!==_0x36c03d?this[_0x38d95a(0x177)]([this[_0x38d95a(0x140)],_0x337709,!0x1,_0x5207f0,_0x296ec1]):this['sendFrame'](_0x4eddf5[_0x38d95a(0x1b0)](_0x337709,_0x5207f0),_0x296ec1);}[_0x25efb9(0x207)](_0x4f29e1,_0xd2f7b3,_0x567c53){const _0xcfc3c8=_0x25efb9;let _0x54a9a1,_0x57cdbc;if(typeof _0x4f29e1==_0xcfc3c8(0x1a4)?(_0x54a9a1=Buffer[_0xcfc3c8(0x158)](_0x4f29e1),_0x57cdbc=!0x1):_0x57359b(_0x4f29e1)?(_0x54a9a1=_0x4f29e1['size'],_0x57cdbc=!0x1):(_0x4f29e1=_0x58d466(_0x4f29e1),_0x54a9a1=_0x4f29e1[_0xcfc3c8(0x2a5)],_0x57cdbc=_0x58d466['readOnly']),_0x54a9a1>0x7d)throw new RangeError(_0xcfc3c8(0x203));const _0x3ca84c={[_0x105019]:_0x54a9a1,'fin':!0x0,'generateMask':this[_0xcfc3c8(0x246)],'mask':_0xd2f7b3,'maskBuffer':this[_0xcfc3c8(0x2c0)],'opcode':0x9,'readOnly':_0x57cdbc,'rsv1':!0x1};_0x57359b(_0x4f29e1)?this[_0xcfc3c8(0x212)]!==_0x36c03d?this[_0xcfc3c8(0x177)]([this[_0xcfc3c8(0x1fd)],_0x4f29e1,!0x1,_0x3ca84c,_0x567c53]):this[_0xcfc3c8(0x1fd)](_0x4f29e1,!0x1,_0x3ca84c,_0x567c53):this[_0xcfc3c8(0x212)]!==_0x36c03d?this[_0xcfc3c8(0x177)]([this[_0xcfc3c8(0x140)],_0x4f29e1,!0x1,_0x3ca84c,_0x567c53]):this['sendFrame'](_0x4eddf5[_0xcfc3c8(0x1b0)](_0x4f29e1,_0x3ca84c),_0x567c53);}[_0x25efb9(0x28b)](_0x31930b,_0x195129,_0x38319c){const _0x28b2cb=_0x25efb9;let _0x72d143,_0x1ffeea;if(typeof _0x31930b==_0x28b2cb(0x1a4)?(_0x72d143=Buffer[_0x28b2cb(0x158)](_0x31930b),_0x1ffeea=!0x1):_0x57359b(_0x31930b)?(_0x72d143=_0x31930b[_0x28b2cb(0x272)],_0x1ffeea=!0x1):(_0x31930b=_0x58d466(_0x31930b),_0x72d143=_0x31930b[_0x28b2cb(0x2a5)],_0x1ffeea=_0x58d466[_0x28b2cb(0x248)]),_0x72d143>0x7d)throw new RangeError(_0x28b2cb(0x203));const _0x255e19={[_0x105019]:_0x72d143,'fin':!0x0,'generateMask':this[_0x28b2cb(0x246)],'mask':_0x195129,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x1ffeea,'rsv1':!0x1};_0x57359b(_0x31930b)?this['_state']!==_0x36c03d?this[_0x28b2cb(0x177)]([this[_0x28b2cb(0x1fd)],_0x31930b,!0x1,_0x255e19,_0x38319c]):this['getBlobData'](_0x31930b,!0x1,_0x255e19,_0x38319c):this['_state']!==_0x36c03d?this['enqueue']([this['dispatch'],_0x31930b,!0x1,_0x255e19,_0x38319c]):this['sendFrame'](_0x4eddf5[_0x28b2cb(0x1b0)](_0x31930b,_0x255e19),_0x38319c);}[_0x25efb9(0x1f5)](_0x35c3c6,_0x516630,_0x37c6c5){const _0x74054a=_0x25efb9,_0x166b3c=this[_0x74054a(0x2ce)][_0x1b244b['extensionName']];let _0x41fcee=_0x516630[_0x74054a(0x1f2)]?0x2:0x1,_0x69f9ca=_0x516630[_0x74054a(0x196)],_0x36c9e2,_0x1ede3f;typeof _0x35c3c6==_0x74054a(0x1a4)?(_0x36c9e2=Buffer[_0x74054a(0x158)](_0x35c3c6),_0x1ede3f=!0x1):_0x57359b(_0x35c3c6)?(_0x36c9e2=_0x35c3c6[_0x74054a(0x272)],_0x1ede3f=!0x1):(_0x35c3c6=_0x58d466(_0x35c3c6),_0x36c9e2=_0x35c3c6[_0x74054a(0x2a5)],_0x1ede3f=_0x58d466[_0x74054a(0x248)]),this[_0x74054a(0x1f3)]?(this[_0x74054a(0x1f3)]=!0x1,_0x69f9ca&&_0x166b3c&&_0x166b3c['params'][_0x166b3c[_0x74054a(0x2af)]?'server_no_context_takeover':'client_no_context_takeover']&&(_0x69f9ca=_0x36c9e2>=_0x166b3c['_threshold']),this[_0x74054a(0x192)]=_0x69f9ca):(_0x69f9ca=!0x1,_0x41fcee=0x0),_0x516630[_0x74054a(0x264)]&&(this[_0x74054a(0x1f3)]=!0x0);const _0x10edeb={[_0x105019]:_0x36c9e2,'fin':_0x516630['fin'],'generateMask':this[_0x74054a(0x246)],'mask':_0x516630[_0x74054a(0x249)],'maskBuffer':this['_maskBuffer'],'opcode':_0x41fcee,'readOnly':_0x1ede3f,'rsv1':_0x69f9ca};_0x57359b(_0x35c3c6)?this[_0x74054a(0x212)]!==_0x36c03d?this['enqueue']([this[_0x74054a(0x1fd)],_0x35c3c6,this[_0x74054a(0x192)],_0x10edeb,_0x37c6c5]):this[_0x74054a(0x1fd)](_0x35c3c6,this[_0x74054a(0x192)],_0x10edeb,_0x37c6c5):this['_state']!==_0x36c03d?this['enqueue']([this[_0x74054a(0x140)],_0x35c3c6,this[_0x74054a(0x192)],_0x10edeb,_0x37c6c5]):this[_0x74054a(0x140)](_0x35c3c6,this['_compress'],_0x10edeb,_0x37c6c5);}[_0x25efb9(0x1fd)](_0x4ef3ca,_0x5dc569,_0x2691d8,_0x29ed97){const _0x55c38c=_0x25efb9;this['_bufferedBytes']+=_0x2691d8[_0x105019],this[_0x55c38c(0x212)]=_0x4928c8,_0x4ef3ca[_0x55c38c(0x1ef)]()[_0x55c38c(0x294)](_0x48136a=>{const _0x4cc623=_0x55c38c;if(this[_0x4cc623(0x23e)]['destroyed']){const _0x594c22=new Error(_0x4cc623(0x1c2));process['nextTick'](_0x1da260,this,_0x594c22,_0x29ed97);return;}this[_0x4cc623(0x1b1)]-=_0x2691d8[_0x105019];const _0x2d582d=_0x58d466(_0x48136a);_0x5dc569?this[_0x4cc623(0x140)](_0x2d582d,_0x5dc569,_0x2691d8,_0x29ed97):(this[_0x4cc623(0x212)]=_0x36c03d,this[_0x4cc623(0x1ad)](_0x4eddf5['frame'](_0x2d582d,_0x2691d8),_0x29ed97),this[_0x4cc623(0x218)]());})[_0x55c38c(0x2bb)](_0x503236=>{process['nextTick'](_0x7e85b7,this,_0x503236,_0x29ed97);});}[_0x25efb9(0x140)](_0x4e0adf,_0x468f0c,_0x52e191,_0x218a66){const _0x281d2c=_0x25efb9;if(!_0x468f0c){this[_0x281d2c(0x1ad)](_0x4eddf5[_0x281d2c(0x1b0)](_0x4e0adf,_0x52e191),_0x218a66);return;}const _0x51e09d=this['_extensions'][_0x1b244b[_0x281d2c(0x1e0)]];this[_0x281d2c(0x1b1)]+=_0x52e191[_0x105019],this[_0x281d2c(0x212)]=_0x9da929,_0x51e09d[_0x281d2c(0x196)](_0x4e0adf,_0x52e191[_0x281d2c(0x264)],(_0x305a92,_0x102bb8)=>{const _0x1f5c82=_0x281d2c;if(this[_0x1f5c82(0x23e)][_0x1f5c82(0x220)]){const _0x1cf6a1=new Error(_0x1f5c82(0x241));_0x1da260(this,_0x1cf6a1,_0x218a66);return;}this[_0x1f5c82(0x1b1)]-=_0x52e191[_0x105019],this[_0x1f5c82(0x212)]=_0x36c03d,_0x52e191['readOnly']=!0x1,this[_0x1f5c82(0x1ad)](_0x4eddf5[_0x1f5c82(0x1b0)](_0x102bb8,_0x52e191),_0x218a66),this[_0x1f5c82(0x218)]();});}[_0x25efb9(0x218)](){const _0x233653=_0x25efb9;for(;this[_0x233653(0x212)]===_0x36c03d&&this['_queue'][_0x233653(0x2a5)];){const _0x1db9b0=this[_0x233653(0x298)][_0x233653(0x20c)]();this[_0x233653(0x1b1)]-=_0x1db9b0[0x3][_0x105019],Reflect[_0x233653(0x239)](_0x1db9b0[0x0],this,_0x1db9b0['slice'](0x1));}}[_0x25efb9(0x177)](_0x299aa3){const _0x26b8ae=_0x25efb9;this['_bufferedBytes']+=_0x299aa3[0x3][_0x105019],this['_queue'][_0x26b8ae(0x18f)](_0x299aa3);}[_0x25efb9(0x1ad)](_0x20d3fb,_0x14c546){const _0x2ec689=_0x25efb9;_0x20d3fb[_0x2ec689(0x2a5)]===0x2?(this[_0x2ec689(0x23e)]['cork'](),this[_0x2ec689(0x23e)][_0x2ec689(0x1fb)](_0x20d3fb[0x0]),this['_socket'][_0x2ec689(0x1fb)](_0x20d3fb[0x1],_0x14c546),this[_0x2ec689(0x23e)]['uncork']()):this[_0x2ec689(0x23e)][_0x2ec689(0x1fb)](_0x20d3fb[0x0],_0x14c546);}}Ee=_0x4eddf5;function _0x1da260(_0xe324aa,_0x5f50fa,_0x30dd74){const _0x32eb1a=_0x25efb9;typeof _0x30dd74=='function'&&_0x30dd74(_0x5f50fa);for(let _0x3be7f5=0x0;_0x3be7f5<_0xe324aa[_0x32eb1a(0x298)][_0x32eb1a(0x2a5)];_0x3be7f5++){const _0x2202c1=_0xe324aa['_queue'][_0x3be7f5],_0x16180a=_0x2202c1[_0x2202c1[_0x32eb1a(0x2a5)]-0x1];typeof _0x16180a=='function'&&_0x16180a(_0x5f50fa);}}function _0x7e85b7(_0x111466,_0x5400a8,_0x4bc6d6){const _0x406d35=_0x25efb9;_0x1da260(_0x111466,_0x5400a8,_0x4bc6d6),_0x111466[_0x406d35(0x186)](_0x5400a8);}return Ee;}var xe,tt;function Kt(){const _0x1c56eb=_0x56e321;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x52bb09,kListener:_0x264c6d}=V(),_0x2ac150=Symbol(_0x1c56eb(0x268)),_0x14c454=Symbol(_0x1c56eb(0x1ea)),_0x1305e8=Symbol(_0x1c56eb(0x16c)),_0x958e7a=Symbol(_0x1c56eb(0x14e)),_0x59480c=Symbol('kReason'),_0x4576a5=Symbol(_0x1c56eb(0x189)),_0x278bd1=Symbol(_0x1c56eb(0x18d)),_0x1bbe23=Symbol(_0x1c56eb(0x2e0));class _0x28f281{constructor(_0x85ec11){this[_0x4576a5]=null,this[_0x278bd1]=_0x85ec11;}get[_0x1c56eb(0x2a4)](){return this[_0x4576a5];}get[_0x1c56eb(0x251)](){return this[_0x278bd1];}}Object[_0x1c56eb(0x2c2)](_0x28f281[_0x1c56eb(0x1d1)],_0x1c56eb(0x2a4),{'enumerable':!0x0}),Object[_0x1c56eb(0x2c2)](_0x28f281[_0x1c56eb(0x1d1)],'type',{'enumerable':!0x0});class _0x209e01 extends _0x28f281{constructor(_0xeca046,_0x5ef3a9={}){const _0x239fa8=_0x1c56eb;super(_0xeca046),this[_0x2ac150]=_0x5ef3a9['code']===void 0x0?0x0:_0x5ef3a9[_0x239fa8(0x1a3)],this[_0x59480c]=_0x5ef3a9[_0x239fa8(0x184)]===void 0x0?'':_0x5ef3a9[_0x239fa8(0x184)],this[_0x1bbe23]=_0x5ef3a9[_0x239fa8(0x2bd)]===void 0x0?!0x1:_0x5ef3a9['wasClean'];}get[_0x1c56eb(0x1a3)](){return this[_0x2ac150];}get['reason'](){return this[_0x59480c];}get[_0x1c56eb(0x2bd)](){return this[_0x1bbe23];}}Object[_0x1c56eb(0x2c2)](_0x209e01[_0x1c56eb(0x1d1)],_0x1c56eb(0x1a3),{'enumerable':!0x0}),Object[_0x1c56eb(0x2c2)](_0x209e01[_0x1c56eb(0x1d1)],_0x1c56eb(0x184),{'enumerable':!0x0}),Object[_0x1c56eb(0x2c2)](_0x209e01[_0x1c56eb(0x1d1)],_0x1c56eb(0x2bd),{'enumerable':!0x0});class _0x52111e extends _0x28f281{constructor(_0x100be1,_0x255cd7={}){const _0x2d0c79=_0x1c56eb;super(_0x100be1),this[_0x1305e8]=_0x255cd7[_0x2d0c79(0x1f0)]===void 0x0?null:_0x255cd7[_0x2d0c79(0x1f0)],this[_0x958e7a]=_0x255cd7[_0x2d0c79(0x14f)]===void 0x0?'':_0x255cd7[_0x2d0c79(0x14f)];}get[_0x1c56eb(0x1f0)](){return this[_0x1305e8];}get['message'](){return this[_0x958e7a];}}Object[_0x1c56eb(0x2c2)](_0x52111e['prototype'],_0x1c56eb(0x1f0),{'enumerable':!0x0}),Object[_0x1c56eb(0x2c2)](_0x52111e[_0x1c56eb(0x1d1)],'message',{'enumerable':!0x0});class _0x33cc71 extends _0x28f281{constructor(_0x19189a,_0x4c9181={}){const _0x47b08a=_0x1c56eb;super(_0x19189a),this[_0x14c454]=_0x4c9181[_0x47b08a(0x18a)]===void 0x0?null:_0x4c9181['data'];}get['data'](){return this[_0x14c454];}}Object[_0x1c56eb(0x2c2)](_0x33cc71[_0x1c56eb(0x1d1)],_0x1c56eb(0x18a),{'enumerable':!0x0}),xe={'CloseEvent':_0x209e01,'ErrorEvent':_0x52111e,'Event':_0x28f281,'EventTarget':{'addEventListener'(_0x188ed8,_0x2d039c,_0x2bcbf2={}){const _0x3be964=_0x1c56eb;for(const _0x3b18bd of this[_0x3be964(0x1c9)](_0x188ed8))if(!_0x2bcbf2[_0x52bb09]&&_0x3b18bd[_0x264c6d]===_0x2d039c&&!_0x3b18bd[_0x52bb09])return;let _0x7d6522;if(_0x188ed8===_0x3be964(0x14f))_0x7d6522=function(_0x2f3026,_0x53fa40){const _0x3ab688=_0x3be964,_0x2a709b=new _0x33cc71(_0x3ab688(0x14f),{'data':_0x53fa40?_0x2f3026:_0x2f3026[_0x3ab688(0x173)]()});_0x2a709b[_0x4576a5]=this,_0x16fe2d(_0x2d039c,this,_0x2a709b);};else{if(_0x188ed8===_0x3be964(0x287))_0x7d6522=function(_0x579515,_0x597421){const _0x14f096=_0x3be964,_0xd24f10=new _0x209e01(_0x14f096(0x287),{'code':_0x579515,'reason':_0x597421['toString'](),'wasClean':this[_0x14f096(0x235)]&&this[_0x14f096(0x2da)]});_0xd24f10[_0x4576a5]=this,_0x16fe2d(_0x2d039c,this,_0xd24f10);};else{if(_0x188ed8===_0x3be964(0x1f0))_0x7d6522=function(_0x3539ba){const _0x53631d=_0x3be964,_0xe824d6=new _0x52111e(_0x53631d(0x1f0),{'error':_0x3539ba,'message':_0x3539ba['message']});_0xe824d6[_0x4576a5]=this,_0x16fe2d(_0x2d039c,this,_0xe824d6);};else{if(_0x188ed8==='open')_0x7d6522=function(){const _0x1d487c=_0x3be964,_0x3c2255=new _0x28f281(_0x1d487c(0x150));_0x3c2255[_0x4576a5]=this,_0x16fe2d(_0x2d039c,this,_0x3c2255);};else return;}}}_0x7d6522[_0x52bb09]=!!_0x2bcbf2[_0x52bb09],_0x7d6522[_0x264c6d]=_0x2d039c,_0x2bcbf2[_0x3be964(0x145)]?this[_0x3be964(0x145)](_0x188ed8,_0x7d6522):this['on'](_0x188ed8,_0x7d6522);},'removeEventListener'(_0x3c86d8,_0x417d74){const _0x3423a4=_0x1c56eb;for(const _0x596193 of this['listeners'](_0x3c86d8))if(_0x596193[_0x264c6d]===_0x417d74&&!_0x596193[_0x52bb09]){this[_0x3423a4(0x2e1)](_0x3c86d8,_0x596193);break;}}},'MessageEvent':_0x33cc71};function _0x16fe2d(_0x18defa,_0x52e446,_0x268dcf){const _0x2957b6=_0x1c56eb;typeof _0x18defa==_0x2957b6(0x193)&&_0x18defa[_0x2957b6(0x15f)]?_0x18defa['handleEvent'][_0x2957b6(0x2dc)](_0x18defa,_0x268dcf):_0x18defa[_0x2957b6(0x2dc)](_0x52e446,_0x268dcf);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x255603}=ne();function _0x5dc62d(_0x10efcc,_0x278125,_0x4f72f9){const _0x201f47=_0x4a2c;_0x10efcc[_0x278125]===void 0x0?_0x10efcc[_0x278125]=[_0x4f72f9]:_0x10efcc[_0x278125][_0x201f47(0x18f)](_0x4f72f9);}function _0x89819e(_0x28325f){const _0x4b808d=_0x4a2c,_0x3a979e=Object['create'](null);let _0x3edf7b=Object['create'](null),_0x1e0376=!0x1,_0x5094c5=!0x1,_0x3bc3ec=!0x1,_0x459932,_0x103df7,_0x2d298a=-0x1,_0x2fc889=-0x1,_0x240d4c=-0x1,_0x4b3cff=0x0;for(;_0x4b3cff<_0x28325f[_0x4b808d(0x2a5)];_0x4b3cff++)if(_0x2fc889=_0x28325f[_0x4b808d(0x255)](_0x4b3cff),_0x459932===void 0x0){if(_0x240d4c===-0x1&&_0x255603[_0x2fc889]===0x1)_0x2d298a===-0x1&&(_0x2d298a=_0x4b3cff);else{if(_0x4b3cff!==0x0&&(_0x2fc889===0x20||_0x2fc889===0x9))_0x240d4c===-0x1&&_0x2d298a!==-0x1&&(_0x240d4c=_0x4b3cff);else{if(_0x2fc889===0x3b||_0x2fc889===0x2c){if(_0x2d298a===-0x1)throw new SyntaxError(_0x4b808d(0x14c)+_0x4b3cff);_0x240d4c===-0x1&&(_0x240d4c=_0x4b3cff);const _0x5ad68e=_0x28325f['slice'](_0x2d298a,_0x240d4c);_0x2fc889===0x2c?(_0x5dc62d(_0x3a979e,_0x5ad68e,_0x3edf7b),_0x3edf7b=Object[_0x4b808d(0x243)](null)):_0x459932=_0x5ad68e,_0x2d298a=_0x240d4c=-0x1;}else throw new SyntaxError(_0x4b808d(0x14c)+_0x4b3cff);}}}else{if(_0x103df7===void 0x0){if(_0x240d4c===-0x1&&_0x255603[_0x2fc889]===0x1)_0x2d298a===-0x1&&(_0x2d298a=_0x4b3cff);else{if(_0x2fc889===0x20||_0x2fc889===0x9)_0x240d4c===-0x1&&_0x2d298a!==-0x1&&(_0x240d4c=_0x4b3cff);else{if(_0x2fc889===0x3b||_0x2fc889===0x2c){if(_0x2d298a===-0x1)throw new SyntaxError(_0x4b808d(0x14c)+_0x4b3cff);_0x240d4c===-0x1&&(_0x240d4c=_0x4b3cff),_0x5dc62d(_0x3edf7b,_0x28325f['slice'](_0x2d298a,_0x240d4c),!0x0),_0x2fc889===0x2c&&(_0x5dc62d(_0x3a979e,_0x459932,_0x3edf7b),_0x3edf7b=Object[_0x4b808d(0x243)](null),_0x459932=void 0x0),_0x2d298a=_0x240d4c=-0x1;}else{if(_0x2fc889===0x3d&&_0x2d298a!==-0x1&&_0x240d4c===-0x1)_0x103df7=_0x28325f[_0x4b808d(0x1d2)](_0x2d298a,_0x4b3cff),_0x2d298a=_0x240d4c=-0x1;else throw new SyntaxError(_0x4b808d(0x14c)+_0x4b3cff);}}}}else{if(_0x5094c5){if(_0x255603[_0x2fc889]!==0x1)throw new SyntaxError(_0x4b808d(0x14c)+_0x4b3cff);_0x2d298a===-0x1?_0x2d298a=_0x4b3cff:_0x1e0376||(_0x1e0376=!0x0),_0x5094c5=!0x1;}else{if(_0x3bc3ec){if(_0x255603[_0x2fc889]===0x1)_0x2d298a===-0x1&&(_0x2d298a=_0x4b3cff);else{if(_0x2fc889===0x22&&_0x2d298a!==-0x1)_0x3bc3ec=!0x1,_0x240d4c=_0x4b3cff;else{if(_0x2fc889===0x5c)_0x5094c5=!0x0;else throw new SyntaxError(_0x4b808d(0x14c)+_0x4b3cff);}}}else{if(_0x2fc889===0x22&&_0x28325f[_0x4b808d(0x255)](_0x4b3cff-0x1)===0x3d)_0x3bc3ec=!0x0;else{if(_0x240d4c===-0x1&&_0x255603[_0x2fc889]===0x1)_0x2d298a===-0x1&&(_0x2d298a=_0x4b3cff);else{if(_0x2d298a!==-0x1&&(_0x2fc889===0x20||_0x2fc889===0x9))_0x240d4c===-0x1&&(_0x240d4c=_0x4b3cff);else{if(_0x2fc889===0x3b||_0x2fc889===0x2c){if(_0x2d298a===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x4b3cff);_0x240d4c===-0x1&&(_0x240d4c=_0x4b3cff);let _0x17664d=_0x28325f[_0x4b808d(0x1d2)](_0x2d298a,_0x240d4c);_0x1e0376&&(_0x17664d=_0x17664d[_0x4b808d(0x2b9)](/\\/g,''),_0x1e0376=!0x1),_0x5dc62d(_0x3edf7b,_0x103df7,_0x17664d),_0x2fc889===0x2c&&(_0x5dc62d(_0x3a979e,_0x459932,_0x3edf7b),_0x3edf7b=Object[_0x4b808d(0x243)](null),_0x459932=void 0x0),_0x103df7=void 0x0,_0x2d298a=_0x240d4c=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x4b3cff);}}}}}}}if(_0x2d298a===-0x1||_0x3bc3ec||_0x2fc889===0x20||_0x2fc889===0x9)throw new SyntaxError(_0x4b808d(0x1b3));_0x240d4c===-0x1&&(_0x240d4c=_0x4b3cff);const _0x23735b=_0x28325f[_0x4b808d(0x1d2)](_0x2d298a,_0x240d4c);return _0x459932===void 0x0?_0x5dc62d(_0x3a979e,_0x23735b,_0x3edf7b):(_0x103df7===void 0x0?_0x5dc62d(_0x3edf7b,_0x23735b,!0x0):_0x1e0376?_0x5dc62d(_0x3edf7b,_0x103df7,_0x23735b['replace'](/\\/g,'')):_0x5dc62d(_0x3edf7b,_0x103df7,_0x23735b),_0x5dc62d(_0x3a979e,_0x459932,_0x3edf7b)),_0x3a979e;}function _0x51747a(_0x3bdb3b){const _0x39cac0=_0x4a2c;return Object[_0x39cac0(0x1a9)](_0x3bdb3b)[_0x39cac0(0x21d)](_0x4afc81=>{const _0x237ace=_0x39cac0;let _0x576d81=_0x3bdb3b[_0x4afc81];return Array[_0x237ace(0x282)](_0x576d81)||(_0x576d81=[_0x576d81]),_0x576d81[_0x237ace(0x21d)](_0x2e42b2=>[_0x4afc81][_0x237ace(0x263)](Object[_0x237ace(0x1a9)](_0x2e42b2)[_0x237ace(0x21d)](_0xa26cc=>{const _0x960fab=_0x237ace;let _0x1b67fc=_0x2e42b2[_0xa26cc];return Array[_0x960fab(0x282)](_0x1b67fc)||(_0x1b67fc=[_0x1b67fc]),_0x1b67fc['map'](_0x2fe706=>_0x2fe706===!0x0?_0xa26cc:_0xa26cc+'='+_0x2fe706)['join'](';\x20');}))[_0x237ace(0x260)](';\x20'))['join'](',\x20');})[_0x39cac0(0x260)](',\x20');}return be={'format':_0x51747a,'parse':_0x89819e},be;}var we,st;function Ie(){const _0x458b5d=_0x56e321;if(st)return we;st=0x1;const _0x413b4b=_0x128909,_0x206dc8=_0x42dc5a,_0x551157=_0x3474ab,_0x240900=_0x458285,_0x50cfed=_0x277b9f,{randomBytes:_0x33dabe,createHash:_0x3b7276}=_0x2940c5,{Duplex:_0x475406,Readable:_0x301b5c}=_0x5eabb8,{URL:_0x37a26a}=_0x2fd666,_0x46821c=he(),_0x41d3bc=dt(),_0x2f3148=_t(),{isBlob:_0x114599}=ne(),{BINARY_TYPES:_0x5cde34,EMPTY_BUFFER:_0x50825e,GUID:_0x20dd46,kForOnEventAttribute:_0x2fc60d,kListener:_0x2e8774,kStatusCode:_0xb58110,kWebSocket:_0x107d7b,NOOP:_0x477a18}=V(),{EventTarget:{addEventListener:_0x3282f6,removeEventListener:_0xc6b712}}=Kt(),{format:_0xeb2159,parse:_0x35f4d4}=pt(),{toBuffer:_0x395ff4}=ce(),_0x4a8970=0x1e*0x3e8,_0x321a21=Symbol(_0x458b5d(0x2c8)),_0x1858f5=[0x8,0xd],_0x2fada8=[_0x458b5d(0x2cb),'OPEN',_0x458b5d(0x1ee),_0x458b5d(0x2e6)],_0x6fcf77=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x5e26f0 extends _0x413b4b{constructor(_0x38c8a4,_0x371040,_0x231567){const _0x3c04ce=_0x458b5d;super(),this[_0x3c04ce(0x25b)]=_0x5cde34[0x0],this['_closeCode']=0x3ee,this[_0x3c04ce(0x235)]=!0x1,this[_0x3c04ce(0x2da)]=!0x1,this[_0x3c04ce(0x25f)]=_0x50825e,this[_0x3c04ce(0x2cf)]=null,this[_0x3c04ce(0x198)]=!0x1,this[_0x3c04ce(0x2ce)]={},this['_paused']=!0x1,this[_0x3c04ce(0x247)]='',this[_0x3c04ce(0x167)]=_0x5e26f0[_0x3c04ce(0x2cb)],this[_0x3c04ce(0x15c)]=null,this[_0x3c04ce(0x256)]=null,this['_socket']=null,_0x38c8a4!==null?(this[_0x3c04ce(0x213)]=0x0,this['_isServer']=!0x1,this[_0x3c04ce(0x2c9)]=0x0,_0x371040===void 0x0?_0x371040=[]:Array['isArray'](_0x371040)||(typeof _0x371040==_0x3c04ce(0x193)&&_0x371040!==null?(_0x231567=_0x371040,_0x371040=[]):_0x371040=[_0x371040]),_0x4e7429(this,_0x38c8a4,_0x371040,_0x231567)):(this[_0x3c04ce(0x2b4)]=_0x231567[_0x3c04ce(0x236)],this[_0x3c04ce(0x2af)]=!0x0);}get[_0x458b5d(0x2a9)](){const _0x475bd0=_0x458b5d;return this[_0x475bd0(0x25b)];}set[_0x458b5d(0x2a9)](_0x20884a){const _0x59ac7b=_0x458b5d;_0x5cde34[_0x59ac7b(0x2a2)](_0x20884a)&&(this[_0x59ac7b(0x25b)]=_0x20884a,this[_0x59ac7b(0x15c)]&&(this[_0x59ac7b(0x15c)]['_binaryType']=_0x20884a));}get[_0x458b5d(0x1ac)](){const _0x28cff7=_0x458b5d;return this[_0x28cff7(0x23e)]?this['_socket'][_0x28cff7(0x2a6)][_0x28cff7(0x2a5)]+this[_0x28cff7(0x256)][_0x28cff7(0x1b1)]:this[_0x28cff7(0x213)];}get[_0x458b5d(0x16a)](){const _0x464e60=_0x458b5d;return Object[_0x464e60(0x1a9)](this[_0x464e60(0x2ce)])[_0x464e60(0x260)]();}get['isPaused'](){const _0x23da5d=_0x458b5d;return this[_0x23da5d(0x1bb)];}get['onclose'](){return null;}get['onerror'](){return null;}get[_0x458b5d(0x1a8)](){return null;}get['onmessage'](){return null;}get['protocol'](){const _0x5bf581=_0x458b5d;return this[_0x5bf581(0x247)];}get[_0x458b5d(0x1b9)](){return this['_readyState'];}get['url'](){return this['_url'];}[_0x458b5d(0x221)](_0x46897a,_0x46a3e9,_0x19016d){const _0x4d518d=_0x458b5d,_0x52b868=new _0x41d3bc({'allowSynchronousEvents':_0x19016d[_0x4d518d(0x1aa)],'binaryType':this[_0x4d518d(0x2a9)],'extensions':this[_0x4d518d(0x2ce)],'isServer':this[_0x4d518d(0x2af)],'maxPayload':_0x19016d['maxPayload'],'skipUTF8Validation':_0x19016d[_0x4d518d(0x1f6)]}),_0x335345=new _0x2f3148(_0x46897a,this['_extensions'],_0x19016d[_0x4d518d(0x254)]);this['_receiver']=_0x52b868,this['_sender']=_0x335345,this[_0x4d518d(0x23e)]=_0x46897a,_0x52b868[_0x107d7b]=this,_0x335345[_0x107d7b]=this,_0x46897a[_0x107d7b]=this,_0x52b868['on'](_0x4d518d(0x26d),_0x13b7de),_0x52b868['on'](_0x4d518d(0x176),_0x56ef1f),_0x52b868['on']('error',_0x401586),_0x52b868['on'](_0x4d518d(0x14f),_0x24b20f),_0x52b868['on'](_0x4d518d(0x207),_0x3f2a26),_0x52b868['on']('pong',_0x5527bd),_0x335345['onerror']=_0x4a7898,_0x46897a[_0x4d518d(0x215)]&&_0x46897a[_0x4d518d(0x215)](0x0),_0x46897a[_0x4d518d(0x26c)]&&_0x46897a[_0x4d518d(0x26c)](),_0x46a3e9[_0x4d518d(0x2a5)]>0x0&&_0x46897a[_0x4d518d(0x2a7)](_0x46a3e9),_0x46897a['on'](_0x4d518d(0x287),_0x3d9cd2),_0x46897a['on']('data',_0x2e533d),_0x46897a['on'](_0x4d518d(0x199),_0x4e01e8),_0x46897a['on']('error',_0x12fd7b),this[_0x4d518d(0x167)]=_0x5e26f0['OPEN'],this[_0x4d518d(0x15b)](_0x4d518d(0x150));}[_0x458b5d(0x155)](){const _0x35a371=_0x458b5d;if(!this[_0x35a371(0x23e)]){this[_0x35a371(0x167)]=_0x5e26f0[_0x35a371(0x2e6)],this[_0x35a371(0x15b)](_0x35a371(0x287),this[_0x35a371(0x194)],this[_0x35a371(0x25f)]);return;}this['_extensions'][_0x46821c[_0x35a371(0x1e0)]]&&this[_0x35a371(0x2ce)][_0x46821c[_0x35a371(0x1e0)]][_0x35a371(0x2ac)](),this[_0x35a371(0x15c)][_0x35a371(0x2d2)](),this[_0x35a371(0x167)]=_0x5e26f0[_0x35a371(0x2e6)],this[_0x35a371(0x15b)](_0x35a371(0x287),this['_closeCode'],this[_0x35a371(0x25f)]);}[_0x458b5d(0x287)](_0x3b944c,_0x15bf1d){const _0x6818ca=_0x458b5d;if(this[_0x6818ca(0x1b9)]!==_0x5e26f0[_0x6818ca(0x2e6)]){if(this['readyState']===_0x5e26f0[_0x6818ca(0x2cb)]){_0x32d501(this,this[_0x6818ca(0x2c3)],_0x6818ca(0x219));return;}if(this['readyState']===_0x5e26f0[_0x6818ca(0x1ee)]){this['_closeFrameSent']&&(this[_0x6818ca(0x235)]||this['_receiver'][_0x6818ca(0x2a6)][_0x6818ca(0x1f4)])&&this[_0x6818ca(0x23e)][_0x6818ca(0x199)]();return;}this[_0x6818ca(0x167)]=_0x5e26f0[_0x6818ca(0x1ee)],this[_0x6818ca(0x256)][_0x6818ca(0x287)](_0x3b944c,_0x15bf1d,!this[_0x6818ca(0x2af)],_0x454225=>{const _0xb1aca3=_0x6818ca;_0x454225||(this[_0xb1aca3(0x2da)]=!0x0,(this[_0xb1aca3(0x235)]||this['_receiver'][_0xb1aca3(0x2a6)][_0xb1aca3(0x1f4)])&&this['_socket'][_0xb1aca3(0x199)]());}),_0x1bdd88(this);}}[_0x458b5d(0x13d)](){const _0x13956a=_0x458b5d;this[_0x13956a(0x1b9)]===_0x5e26f0[_0x13956a(0x2cb)]||this[_0x13956a(0x1b9)]===_0x5e26f0['CLOSED']||(this[_0x13956a(0x1bb)]=!0x0,this['_socket']['pause']());}[_0x458b5d(0x207)](_0x4410d5,_0x3ad748,_0x2fcce3){const _0x581478=_0x458b5d;if(this['readyState']===_0x5e26f0[_0x581478(0x2cb)])throw new Error(_0x581478(0x1bf));if(typeof _0x4410d5=='function'?(_0x2fcce3=_0x4410d5,_0x4410d5=_0x3ad748=void 0x0):typeof _0x3ad748==_0x581478(0x257)&&(_0x2fcce3=_0x3ad748,_0x3ad748=void 0x0),typeof _0x4410d5==_0x581478(0x1c6)&&(_0x4410d5=_0x4410d5[_0x581478(0x173)]()),this[_0x581478(0x1b9)]!==_0x5e26f0[_0x581478(0x261)]){_0x311117(this,_0x4410d5,_0x2fcce3);return;}_0x3ad748===void 0x0&&(_0x3ad748=!this[_0x581478(0x2af)]),this['_sender'][_0x581478(0x207)](_0x4410d5||_0x50825e,_0x3ad748,_0x2fcce3);}[_0x458b5d(0x28b)](_0x3f229a,_0x75e0b0,_0x227386){const _0x3bd887=_0x458b5d;if(this['readyState']===_0x5e26f0[_0x3bd887(0x2cb)])throw new Error(_0x3bd887(0x1bf));if(typeof _0x3f229a=='function'?(_0x227386=_0x3f229a,_0x3f229a=_0x75e0b0=void 0x0):typeof _0x75e0b0==_0x3bd887(0x257)&&(_0x227386=_0x75e0b0,_0x75e0b0=void 0x0),typeof _0x3f229a==_0x3bd887(0x1c6)&&(_0x3f229a=_0x3f229a[_0x3bd887(0x173)]()),this[_0x3bd887(0x1b9)]!==_0x5e26f0[_0x3bd887(0x261)]){_0x311117(this,_0x3f229a,_0x227386);return;}_0x75e0b0===void 0x0&&(_0x75e0b0=!this[_0x3bd887(0x2af)]),this[_0x3bd887(0x256)][_0x3bd887(0x28b)](_0x3f229a||_0x50825e,_0x75e0b0,_0x227386);}[_0x458b5d(0x174)](){const _0x55347f=_0x458b5d;this[_0x55347f(0x1b9)]===_0x5e26f0[_0x55347f(0x2cb)]||this[_0x55347f(0x1b9)]===_0x5e26f0['CLOSED']||(this[_0x55347f(0x1bb)]=!0x1,this[_0x55347f(0x15c)][_0x55347f(0x2a6)]['needDrain']||this[_0x55347f(0x23e)]['resume']());}['send'](_0xf41172,_0x4fdce3,_0x1f75ec){const _0x3080fc=_0x458b5d;if(this[_0x3080fc(0x1b9)]===_0x5e26f0[_0x3080fc(0x2cb)])throw new Error(_0x3080fc(0x1bf));if(typeof _0x4fdce3==_0x3080fc(0x257)&&(_0x1f75ec=_0x4fdce3,_0x4fdce3={}),typeof _0xf41172==_0x3080fc(0x1c6)&&(_0xf41172=_0xf41172['toString']()),this[_0x3080fc(0x1b9)]!==_0x5e26f0[_0x3080fc(0x261)]){_0x311117(this,_0xf41172,_0x1f75ec);return;}const _0x372f02={'binary':typeof _0xf41172!='string','mask':!this[_0x3080fc(0x2af)],'compress':!0x0,'fin':!0x0,..._0x4fdce3};this[_0x3080fc(0x2ce)][_0x46821c[_0x3080fc(0x1e0)]]||(_0x372f02[_0x3080fc(0x196)]=!0x1),this[_0x3080fc(0x256)][_0x3080fc(0x1f5)](_0xf41172||_0x50825e,_0x372f02,_0x1f75ec);}[_0x458b5d(0x2c6)](){const _0x4f12fe=_0x458b5d;if(this[_0x4f12fe(0x1b9)]!==_0x5e26f0[_0x4f12fe(0x2e6)]){if(this[_0x4f12fe(0x1b9)]===_0x5e26f0['CONNECTING']){_0x32d501(this,this[_0x4f12fe(0x2c3)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}this[_0x4f12fe(0x23e)]&&(this['_readyState']=_0x5e26f0[_0x4f12fe(0x1ee)],this[_0x4f12fe(0x23e)][_0x4f12fe(0x17c)]());}}}Object[_0x458b5d(0x2c2)](_0x5e26f0,_0x458b5d(0x2cb),{'enumerable':!0x0,'value':_0x2fada8[_0x458b5d(0x1a5)]('CONNECTING')}),Object[_0x458b5d(0x2c2)](_0x5e26f0['prototype'],'CONNECTING',{'enumerable':!0x0,'value':_0x2fada8[_0x458b5d(0x1a5)](_0x458b5d(0x2cb))}),Object[_0x458b5d(0x2c2)](_0x5e26f0,_0x458b5d(0x261),{'enumerable':!0x0,'value':_0x2fada8[_0x458b5d(0x1a5)](_0x458b5d(0x261))}),Object[_0x458b5d(0x2c2)](_0x5e26f0['prototype'],_0x458b5d(0x261),{'enumerable':!0x0,'value':_0x2fada8[_0x458b5d(0x1a5)](_0x458b5d(0x261))}),Object[_0x458b5d(0x2c2)](_0x5e26f0,_0x458b5d(0x1ee),{'enumerable':!0x0,'value':_0x2fada8[_0x458b5d(0x1a5)](_0x458b5d(0x1ee))}),Object[_0x458b5d(0x2c2)](_0x5e26f0['prototype'],_0x458b5d(0x1ee),{'enumerable':!0x0,'value':_0x2fada8[_0x458b5d(0x1a5)](_0x458b5d(0x1ee))}),Object[_0x458b5d(0x2c2)](_0x5e26f0,_0x458b5d(0x2e6),{'enumerable':!0x0,'value':_0x2fada8[_0x458b5d(0x1a5)]('CLOSED')}),Object[_0x458b5d(0x2c2)](_0x5e26f0['prototype'],_0x458b5d(0x2e6),{'enumerable':!0x0,'value':_0x2fada8[_0x458b5d(0x1a5)](_0x458b5d(0x2e6))}),[_0x458b5d(0x2a9),'bufferedAmount',_0x458b5d(0x16a),_0x458b5d(0x266),_0x458b5d(0x14d),_0x458b5d(0x1b9),_0x458b5d(0x1d5)][_0x458b5d(0x1ab)](_0xdbb84e=>{Object['defineProperty'](_0x5e26f0['prototype'],_0xdbb84e,{'enumerable':!0x0});}),[_0x458b5d(0x150),'error',_0x458b5d(0x287),'message'][_0x458b5d(0x1ab)](_0x3cce66=>{const _0x3879ff=_0x458b5d;Object[_0x3879ff(0x2c2)](_0x5e26f0['prototype'],'on'+_0x3cce66,{'enumerable':!0x0,'get'(){const _0xecb1e4=_0x3879ff;for(const _0x4eb4fe of this[_0xecb1e4(0x1c9)](_0x3cce66))if(_0x4eb4fe[_0x2fc60d])return _0x4eb4fe[_0x2e8774];return null;},'set'(_0x25e008){const _0x51008d=_0x3879ff;for(const _0x5d94b5 of this[_0x51008d(0x1c9)](_0x3cce66))if(_0x5d94b5[_0x2fc60d]){this[_0x51008d(0x2e1)](_0x3cce66,_0x5d94b5);break;}typeof _0x25e008=='function'&&this['addEventListener'](_0x3cce66,_0x25e008,{[_0x2fc60d]:!0x0});}});}),_0x5e26f0[_0x458b5d(0x1d1)][_0x458b5d(0x14b)]=_0x3282f6,_0x5e26f0['prototype'][_0x458b5d(0x1c8)]=_0xc6b712,we=_0x5e26f0;function _0x4e7429(_0x12a8a9,_0x2286ce,_0x185839,_0x256227){const _0x335b7d=_0x458b5d,_0x419a29={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x1858f5[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x256227,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x335b7d(0x179),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x12a8a9[_0x335b7d(0x2b4)]=_0x419a29[_0x335b7d(0x236)],!_0x1858f5[_0x335b7d(0x2a2)](_0x419a29['protocolVersion']))throw new RangeError(_0x335b7d(0x1da)+_0x419a29['protocolVersion']+_0x335b7d(0x14a)+_0x1858f5[_0x335b7d(0x260)](',\x20')+')');let _0x100c91;if(_0x2286ce instanceof _0x37a26a)_0x100c91=_0x2286ce;else try{_0x100c91=new _0x37a26a(_0x2286ce);}catch{throw new SyntaxError('Invalid\x20URL:\x20'+_0x2286ce);}_0x100c91[_0x335b7d(0x14d)]===_0x335b7d(0x2dd)?_0x100c91['protocol']=_0x335b7d(0x1e3):_0x100c91['protocol']===_0x335b7d(0x284)&&(_0x100c91[_0x335b7d(0x14d)]=_0x335b7d(0x234)),_0x12a8a9[_0x335b7d(0x1ae)]=_0x100c91[_0x335b7d(0x151)];const _0xb8a57b=_0x100c91[_0x335b7d(0x14d)]===_0x335b7d(0x234),_0x42db61=_0x100c91[_0x335b7d(0x14d)]===_0x335b7d(0x13e);let _0x229be7;if(_0x100c91[_0x335b7d(0x14d)]!==_0x335b7d(0x1e3)&&!_0xb8a57b&&!_0x42db61?_0x229be7=_0x335b7d(0x1b4):_0x42db61&&!_0x100c91['pathname']?_0x229be7=_0x335b7d(0x2d5):_0x100c91[_0x335b7d(0x26e)]&&(_0x229be7='The\x20URL\x20contains\x20a\x20fragment\x20identifier'),_0x229be7){const _0x4b36d9=new SyntaxError(_0x229be7);if(_0x12a8a9['_redirects']===0x0)throw _0x4b36d9;_0xfaf94f(_0x12a8a9,_0x4b36d9);return;}const _0xde7810=_0xb8a57b?0x1bb:0x50,_0x18c893=_0x33dabe(0x10)['toString'](_0x335b7d(0x1e7)),_0x45ba22=_0xb8a57b?_0x206dc8[_0x335b7d(0x2d1)]:_0x551157[_0x335b7d(0x2d1)],_0x4fb8f6=new Set();let _0x52e242;if(_0x419a29[_0x335b7d(0x22c)]=_0x419a29['createConnection']||(_0xb8a57b?_0x1188b6:_0x188834),_0x419a29[_0x335b7d(0x1dd)]=_0x419a29[_0x335b7d(0x1dd)]||_0xde7810,_0x419a29[_0x335b7d(0x227)]=_0x100c91[_0x335b7d(0x227)]||_0xde7810,_0x419a29['host']=_0x100c91[_0x335b7d(0x2e2)]['startsWith']('[')?_0x100c91[_0x335b7d(0x2e2)][_0x335b7d(0x1d2)](0x1,-0x1):_0x100c91[_0x335b7d(0x2e2)],_0x419a29[_0x335b7d(0x2e7)]={..._0x419a29[_0x335b7d(0x2e7)],'Sec-WebSocket-Version':_0x419a29['protocolVersion'],'Sec-WebSocket-Key':_0x18c893,'Connection':_0x335b7d(0x2c4),'Upgrade':_0x335b7d(0x226)},_0x419a29[_0x335b7d(0x2d7)]=_0x100c91['pathname']+_0x100c91[_0x335b7d(0x1ba)],_0x419a29[_0x335b7d(0x15d)]=_0x419a29[_0x335b7d(0x137)],_0x419a29['perMessageDeflate']&&(_0x52e242=new _0x46821c(_0x419a29[_0x335b7d(0x29f)]!==!0x0?_0x419a29[_0x335b7d(0x29f)]:{},!0x1,_0x419a29[_0x335b7d(0x175)]),_0x419a29['headers']['Sec-WebSocket-Extensions']=_0xeb2159({[_0x46821c[_0x335b7d(0x1e0)]]:_0x52e242[_0x335b7d(0x13f)]()})),_0x185839[_0x335b7d(0x2a5)]){for(const _0x569034 of _0x185839){if(typeof _0x569034!='string'||!_0x6fcf77[_0x335b7d(0x17f)](_0x569034)||_0x4fb8f6[_0x335b7d(0x2cd)](_0x569034))throw new SyntaxError(_0x335b7d(0x2c5));_0x4fb8f6[_0x335b7d(0x275)](_0x569034);}_0x419a29[_0x335b7d(0x2e7)][_0x335b7d(0x1eb)]=_0x185839[_0x335b7d(0x260)](',');}if(_0x419a29[_0x335b7d(0x19d)]&&(_0x419a29[_0x335b7d(0x1fc)]<0xd?_0x419a29[_0x335b7d(0x2e7)][_0x335b7d(0x19e)]=_0x419a29[_0x335b7d(0x19d)]:_0x419a29[_0x335b7d(0x2e7)][_0x335b7d(0x277)]=_0x419a29[_0x335b7d(0x19d)]),(_0x100c91[_0x335b7d(0x180)]||_0x100c91['password'])&&(_0x419a29[_0x335b7d(0x285)]=_0x100c91[_0x335b7d(0x180)]+':'+_0x100c91[_0x335b7d(0x27c)]),_0x42db61){const _0x15edfd=_0x419a29[_0x335b7d(0x2d7)][_0x335b7d(0x1a2)](':');_0x419a29['socketPath']=_0x15edfd[0x0],_0x419a29[_0x335b7d(0x2d7)]=_0x15edfd[0x1];}let _0x5f2a0b;if(_0x419a29['followRedirects']){if(_0x12a8a9[_0x335b7d(0x2c9)]===0x0){_0x12a8a9[_0x335b7d(0x279)]=_0x42db61,_0x12a8a9[_0x335b7d(0x23c)]=_0xb8a57b,_0x12a8a9[_0x335b7d(0x16b)]=_0x42db61?_0x419a29[_0x335b7d(0x16e)]:_0x100c91['host'];const _0x42645e=_0x256227&&_0x256227[_0x335b7d(0x2e7)];if(_0x256227={..._0x256227,'headers':{}},_0x42645e){for(const [_0x2ed09e,_0x472a13]of Object[_0x335b7d(0x223)](_0x42645e))_0x256227[_0x335b7d(0x2e7)][_0x2ed09e[_0x335b7d(0x1ec)]()]=_0x472a13;}}else{if(_0x12a8a9[_0x335b7d(0x1fe)](_0x335b7d(0x1b2))===0x0){const _0x556cb3=_0x42db61?_0x12a8a9[_0x335b7d(0x279)]?_0x419a29[_0x335b7d(0x16e)]===_0x12a8a9[_0x335b7d(0x16b)]:!0x1:_0x12a8a9[_0x335b7d(0x279)]?!0x1:_0x100c91[_0x335b7d(0x1d7)]===_0x12a8a9[_0x335b7d(0x16b)];(!_0x556cb3||_0x12a8a9['_originalSecure']&&!_0xb8a57b)&&(delete _0x419a29[_0x335b7d(0x2e7)][_0x335b7d(0x1d8)],delete _0x419a29[_0x335b7d(0x2e7)][_0x335b7d(0x2ab)],_0x556cb3||delete _0x419a29[_0x335b7d(0x2e7)][_0x335b7d(0x1d7)],_0x419a29[_0x335b7d(0x285)]=void 0x0);}}_0x419a29['auth']&&!_0x256227[_0x335b7d(0x2e7)][_0x335b7d(0x1d8)]&&(_0x256227[_0x335b7d(0x2e7)][_0x335b7d(0x1d8)]=_0x335b7d(0x15a)+Buffer[_0x335b7d(0x22f)](_0x419a29['auth'])[_0x335b7d(0x173)](_0x335b7d(0x1e7))),_0x5f2a0b=_0x12a8a9['_req']=_0x45ba22(_0x419a29),_0x12a8a9[_0x335b7d(0x2c9)]&&_0x12a8a9[_0x335b7d(0x15b)](_0x335b7d(0x1b2),_0x12a8a9[_0x335b7d(0x1d5)],_0x5f2a0b);}else _0x5f2a0b=_0x12a8a9[_0x335b7d(0x2c3)]=_0x45ba22(_0x419a29);_0x419a29[_0x335b7d(0x15d)]&&_0x5f2a0b['on'](_0x335b7d(0x15d),()=>{_0x32d501(_0x12a8a9,_0x5f2a0b,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x5f2a0b['on'](_0x335b7d(0x1f0),_0x1253ea=>{const _0x599fbe=_0x335b7d;_0x5f2a0b===null||_0x5f2a0b[_0x321a21]||(_0x5f2a0b=_0x12a8a9[_0x599fbe(0x2c3)]=null,_0xfaf94f(_0x12a8a9,_0x1253ea));}),_0x5f2a0b['on'](_0x335b7d(0x2de),_0x51c696=>{const _0x3db5dc=_0x335b7d,_0x53884d=_0x51c696[_0x3db5dc(0x2e7)][_0x3db5dc(0x2bc)],_0x50950b=_0x51c696['statusCode'];if(_0x53884d&&_0x419a29[_0x3db5dc(0x222)]&&_0x50950b>=0x12c&&_0x50950b<0x190){if(++_0x12a8a9[_0x3db5dc(0x2c9)]>_0x419a29[_0x3db5dc(0x15e)]){_0x32d501(_0x12a8a9,_0x5f2a0b,_0x3db5dc(0x1c7));return;}_0x5f2a0b[_0x3db5dc(0x278)]();let _0x1cb507;try{_0x1cb507=new _0x37a26a(_0x53884d,_0x2286ce);}catch{const _0x337386=new SyntaxError(_0x3db5dc(0x1b6)+_0x53884d);_0xfaf94f(_0x12a8a9,_0x337386);return;}_0x4e7429(_0x12a8a9,_0x1cb507,_0x185839,_0x256227);}else _0x12a8a9[_0x3db5dc(0x15b)](_0x3db5dc(0x187),_0x5f2a0b,_0x51c696)||_0x32d501(_0x12a8a9,_0x5f2a0b,_0x3db5dc(0x2d8)+_0x51c696[_0x3db5dc(0x166)]);}),_0x5f2a0b['on']('upgrade',(_0x36290f,_0x383415,_0x218edc)=>{const _0x45b2b5=_0x335b7d;if(_0x12a8a9[_0x45b2b5(0x15b)](_0x45b2b5(0x1c4),_0x36290f),_0x12a8a9[_0x45b2b5(0x1b9)]!==_0x5e26f0[_0x45b2b5(0x2cb)])return;_0x5f2a0b=_0x12a8a9[_0x45b2b5(0x2c3)]=null;const _0x5a58c6=_0x36290f[_0x45b2b5(0x2e7)][_0x45b2b5(0x1c4)];if(_0x5a58c6===void 0x0||_0x5a58c6['toLowerCase']()!==_0x45b2b5(0x226)){_0x32d501(_0x12a8a9,_0x383415,_0x45b2b5(0x2df));return;}const _0x22a04c=_0x3b7276(_0x45b2b5(0x181))[_0x45b2b5(0x26b)](_0x18c893+_0x20dd46)[_0x45b2b5(0x195)](_0x45b2b5(0x1e7));if(_0x36290f[_0x45b2b5(0x2e7)][_0x45b2b5(0x1e1)]!==_0x22a04c){_0x32d501(_0x12a8a9,_0x383415,'Invalid\x20Sec-WebSocket-Accept\x20header');return;}const _0x3e3d10=_0x36290f[_0x45b2b5(0x2e7)][_0x45b2b5(0x1bd)];let _0x1f70d9;if(_0x3e3d10!==void 0x0?_0x4fb8f6[_0x45b2b5(0x272)]?_0x4fb8f6['has'](_0x3e3d10)||(_0x1f70d9=_0x45b2b5(0x210)):_0x1f70d9='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0x4fb8f6[_0x45b2b5(0x272)]&&(_0x1f70d9='Server\x20sent\x20no\x20subprotocol'),_0x1f70d9){_0x32d501(_0x12a8a9,_0x383415,_0x1f70d9);return;}_0x3e3d10&&(_0x12a8a9[_0x45b2b5(0x247)]=_0x3e3d10);const _0x225a42=_0x36290f[_0x45b2b5(0x2e7)][_0x45b2b5(0x27f)];if(_0x225a42!==void 0x0){if(!_0x52e242){_0x32d501(_0x12a8a9,_0x383415,_0x45b2b5(0x182));return;}let _0x1dad1b;try{_0x1dad1b=_0x35f4d4(_0x225a42);}catch{_0x32d501(_0x12a8a9,_0x383415,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0x24df98=Object['keys'](_0x1dad1b);if(_0x24df98[_0x45b2b5(0x2a5)]!==0x1||_0x24df98[0x0]!==_0x46821c['extensionName']){_0x32d501(_0x12a8a9,_0x383415,'Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested');return;}try{_0x52e242[_0x45b2b5(0x2d3)](_0x1dad1b[_0x46821c[_0x45b2b5(0x1e0)]]);}catch{_0x32d501(_0x12a8a9,_0x383415,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}_0x12a8a9[_0x45b2b5(0x2ce)][_0x46821c[_0x45b2b5(0x1e0)]]=_0x52e242;}_0x12a8a9[_0x45b2b5(0x221)](_0x383415,_0x218edc,{'allowSynchronousEvents':_0x419a29[_0x45b2b5(0x1aa)],'generateMask':_0x419a29[_0x45b2b5(0x254)],'maxPayload':_0x419a29[_0x45b2b5(0x175)],'skipUTF8Validation':_0x419a29[_0x45b2b5(0x1f6)]});}),_0x419a29[_0x335b7d(0x276)]?_0x419a29[_0x335b7d(0x276)](_0x5f2a0b,_0x12a8a9):_0x5f2a0b[_0x335b7d(0x199)]();}function _0xfaf94f(_0x419619,_0x334947){const _0x4050ea=_0x458b5d;_0x419619[_0x4050ea(0x167)]=_0x5e26f0[_0x4050ea(0x1ee)],_0x419619['_errorEmitted']=!0x0,_0x419619[_0x4050ea(0x15b)]('error',_0x334947),_0x419619['emitClose']();}function _0x188834(_0x529fd7){const _0x467f28=_0x458b5d;return _0x529fd7[_0x467f28(0x2d7)]=_0x529fd7[_0x467f28(0x16e)],_0x240900['connect'](_0x529fd7);}function _0x1188b6(_0x5c8354){const _0x34e4ad=_0x458b5d;return _0x5c8354[_0x34e4ad(0x2d7)]=void 0x0,!_0x5c8354['servername']&&_0x5c8354[_0x34e4ad(0x164)]!==''&&(_0x5c8354[_0x34e4ad(0x164)]=_0x240900[_0x34e4ad(0x297)](_0x5c8354['host'])?'':_0x5c8354[_0x34e4ad(0x1d7)]),_0x50cfed['connect'](_0x5c8354);}function _0x32d501(_0x66a984,_0x2e9bc1,_0x467424){const _0x284992=_0x458b5d;_0x66a984[_0x284992(0x167)]=_0x5e26f0['CLOSING'];const _0x27267a=new Error(_0x467424);Error['captureStackTrace'](_0x27267a,_0x32d501),_0x2e9bc1[_0x284992(0x29e)]?(_0x2e9bc1[_0x321a21]=!0x0,_0x2e9bc1[_0x284992(0x278)](),_0x2e9bc1[_0x284992(0x295)]&&!_0x2e9bc1['socket']['destroyed']&&_0x2e9bc1[_0x284992(0x295)][_0x284992(0x17c)](),process[_0x284992(0x23b)](_0xfaf94f,_0x66a984,_0x27267a)):(_0x2e9bc1[_0x284992(0x17c)](_0x27267a),_0x2e9bc1[_0x284992(0x145)](_0x284992(0x1f0),_0x66a984[_0x284992(0x15b)][_0x284992(0x21e)](_0x66a984,'error')),_0x2e9bc1[_0x284992(0x145)](_0x284992(0x287),_0x66a984[_0x284992(0x155)][_0x284992(0x21e)](_0x66a984)));}function _0x311117(_0x2c4654,_0x2edbe0,_0x253921){const _0x1f8a64=_0x458b5d;if(_0x2edbe0){const _0x28c7bc=_0x114599(_0x2edbe0)?_0x2edbe0[_0x1f8a64(0x272)]:_0x395ff4(_0x2edbe0)[_0x1f8a64(0x2a5)];_0x2c4654[_0x1f8a64(0x23e)]?_0x2c4654['_sender'][_0x1f8a64(0x1b1)]+=_0x28c7bc:_0x2c4654[_0x1f8a64(0x213)]+=_0x28c7bc;}if(_0x253921){const _0x436d9c=new Error(_0x1f8a64(0x245)+_0x2c4654['readyState']+'\x20('+_0x2fada8[_0x2c4654[_0x1f8a64(0x1b9)]]+')');process['nextTick'](_0x253921,_0x436d9c);}}function _0x13b7de(_0x572ff5,_0x19f29b){const _0x2d9e32=_0x458b5d,_0xe5c69=this[_0x107d7b];_0xe5c69['_closeFrameReceived']=!0x0,_0xe5c69[_0x2d9e32(0x25f)]=_0x19f29b,_0xe5c69[_0x2d9e32(0x194)]=_0x572ff5,_0xe5c69[_0x2d9e32(0x23e)][_0x107d7b]!==void 0x0&&(_0xe5c69['_socket']['removeListener']('data',_0x2e533d),process[_0x2d9e32(0x23b)](_0x3b6e45,_0xe5c69[_0x2d9e32(0x23e)]),_0x572ff5===0x3ed?_0xe5c69[_0x2d9e32(0x287)]():_0xe5c69[_0x2d9e32(0x287)](_0x572ff5,_0x19f29b));}function _0x56ef1f(){const _0xc48b00=_0x458b5d,_0x237b30=this[_0x107d7b];_0x237b30['isPaused']||_0x237b30[_0xc48b00(0x23e)]['resume']();}function _0x401586(_0x2856bc){const _0x2ed192=_0x458b5d,_0x536ce5=this[_0x107d7b];_0x536ce5[_0x2ed192(0x23e)][_0x107d7b]!==void 0x0&&(_0x536ce5[_0x2ed192(0x23e)]['removeListener'](_0x2ed192(0x18a),_0x2e533d),process[_0x2ed192(0x23b)](_0x3b6e45,_0x536ce5[_0x2ed192(0x23e)]),_0x536ce5[_0x2ed192(0x287)](_0x2856bc[_0xb58110])),_0x536ce5['_errorEmitted']||(_0x536ce5[_0x2ed192(0x198)]=!0x0,_0x536ce5[_0x2ed192(0x15b)]('error',_0x2856bc));}function _0x3c93a0(){const _0x27d92e=_0x458b5d;this[_0x107d7b][_0x27d92e(0x155)]();}function _0x24b20f(_0x5b3548,_0x5dec25){const _0x56bc3a=_0x458b5d;this[_0x107d7b][_0x56bc3a(0x15b)](_0x56bc3a(0x14f),_0x5b3548,_0x5dec25);}function _0x3f2a26(_0x5e3949){const _0x41aba5=_0x458b5d,_0x44c5f7=this[_0x107d7b];_0x44c5f7[_0x41aba5(0x2b4)]&&_0x44c5f7[_0x41aba5(0x28b)](_0x5e3949,!this[_0x41aba5(0x2af)],_0x477a18),_0x44c5f7['emit'](_0x41aba5(0x207),_0x5e3949);}function _0x5527bd(_0x3a616f){const _0xe14254=_0x458b5d;this[_0x107d7b][_0xe14254(0x15b)](_0xe14254(0x28b),_0x3a616f);}function _0x3b6e45(_0x378032){const _0x2a8ab7=_0x458b5d;_0x378032[_0x2a8ab7(0x174)]();}function _0x4a7898(_0x4ca882){const _0x57412f=_0x458b5d,_0x1a5990=this[_0x107d7b];_0x1a5990[_0x57412f(0x1b9)]!==_0x5e26f0['CLOSED']&&(_0x1a5990['readyState']===_0x5e26f0['OPEN']&&(_0x1a5990[_0x57412f(0x167)]=_0x5e26f0[_0x57412f(0x1ee)],_0x1bdd88(_0x1a5990)),this[_0x57412f(0x23e)]['end'](),_0x1a5990['_errorEmitted']||(_0x1a5990['_errorEmitted']=!0x0,_0x1a5990['emit']('error',_0x4ca882)));}function _0x1bdd88(_0x1b85ee){const _0x86073f=_0x458b5d;_0x1b85ee['_closeTimer']=setTimeout(_0x1b85ee[_0x86073f(0x23e)][_0x86073f(0x17c)][_0x86073f(0x21e)](_0x1b85ee[_0x86073f(0x23e)]),_0x4a8970);}function _0x3d9cd2(){const _0xd4d7bb=_0x458b5d,_0x53b258=this[_0x107d7b];this['removeListener'](_0xd4d7bb(0x287),_0x3d9cd2),this['removeListener'](_0xd4d7bb(0x18a),_0x2e533d),this[_0xd4d7bb(0x2e1)](_0xd4d7bb(0x199),_0x4e01e8),_0x53b258[_0xd4d7bb(0x167)]=_0x5e26f0[_0xd4d7bb(0x1ee)];let _0x37d2c1;!this['_readableState'][_0xd4d7bb(0x238)]&&!_0x53b258[_0xd4d7bb(0x235)]&&!_0x53b258['_receiver'][_0xd4d7bb(0x2a6)]['errorEmitted']&&(_0x37d2c1=_0x53b258[_0xd4d7bb(0x23e)]['read']())!==null&&_0x53b258[_0xd4d7bb(0x15c)][_0xd4d7bb(0x1fb)](_0x37d2c1),_0x53b258[_0xd4d7bb(0x15c)][_0xd4d7bb(0x199)](),this[_0x107d7b]=void 0x0,clearTimeout(_0x53b258['_closeTimer']),_0x53b258[_0xd4d7bb(0x15c)]['_writableState']['finished']||_0x53b258['_receiver']['_writableState'][_0xd4d7bb(0x1f4)]?_0x53b258['emitClose']():(_0x53b258[_0xd4d7bb(0x15c)]['on']('error',_0x3c93a0),_0x53b258[_0xd4d7bb(0x15c)]['on'](_0xd4d7bb(0x178),_0x3c93a0));}function _0x2e533d(_0x1522e7){const _0x4e1d0d=_0x458b5d;this[_0x107d7b][_0x4e1d0d(0x15c)][_0x4e1d0d(0x1fb)](_0x1522e7)||this[_0x4e1d0d(0x13d)]();}function _0x4e01e8(){const _0x3bc0d8=_0x458b5d,_0x2e198d=this[_0x107d7b];_0x2e198d[_0x3bc0d8(0x167)]=_0x5e26f0['CLOSING'],_0x2e198d[_0x3bc0d8(0x15c)][_0x3bc0d8(0x199)](),this[_0x3bc0d8(0x199)]();}function _0x12fd7b(){const _0x4a74b3=_0x458b5d,_0x18b748=this[_0x107d7b];this[_0x4a74b3(0x2e1)](_0x4a74b3(0x1f0),_0x12fd7b),this['on']('error',_0x477a18),_0x18b748&&(_0x18b748['_readyState']=_0x5e26f0[_0x4a74b3(0x1ee)],this[_0x4a74b3(0x17c)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x75e52b}=_0x5eabb8;function _0x82ceba(_0x308ee9){const _0x5bf2dc=_0x4a2c;_0x308ee9[_0x5bf2dc(0x15b)](_0x5bf2dc(0x287));}function _0xa99193(){const _0x5e2dcd=_0x4a2c;!this[_0x5e2dcd(0x220)]&&this[_0x5e2dcd(0x2a6)]['finished']&&this[_0x5e2dcd(0x17c)]();}function _0x3285ce(_0x421fde){const _0x46ec55=_0x4a2c;this[_0x46ec55(0x2e1)](_0x46ec55(0x1f0),_0x3285ce),this[_0x46ec55(0x17c)](),this[_0x46ec55(0x1fe)](_0x46ec55(0x1f0))===0x0&&this[_0x46ec55(0x15b)](_0x46ec55(0x1f0),_0x421fde);}function _0x442e9e(_0x29967a,_0x11033d){const _0x43d8b6=_0x4a2c;let _0x50fd78=!0x0;const _0x33c06f=new _0x75e52b({..._0x11033d,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x29967a['on'](_0x43d8b6(0x14f),function(_0x3f432d,_0x50eb8b){const _0x99f55b=_0x43d8b6,_0x1277bd=!_0x50eb8b&&_0x33c06f[_0x99f55b(0x228)]['objectMode']?_0x3f432d[_0x99f55b(0x173)]():_0x3f432d;_0x33c06f[_0x99f55b(0x18f)](_0x1277bd)||_0x29967a[_0x99f55b(0x13d)]();}),_0x29967a[_0x43d8b6(0x145)](_0x43d8b6(0x1f0),function(_0x28db11){const _0x8feb25=_0x43d8b6;_0x33c06f[_0x8feb25(0x220)]||(_0x50fd78=!0x1,_0x33c06f['destroy'](_0x28db11));}),_0x29967a[_0x43d8b6(0x145)]('close',function(){const _0x4aaf24=_0x43d8b6;_0x33c06f[_0x4aaf24(0x220)]||_0x33c06f['push'](null);}),_0x33c06f[_0x43d8b6(0x1fa)]=function(_0x45a051,_0xfca66e){const _0x55f63e=_0x43d8b6;if(_0x29967a[_0x55f63e(0x1b9)]===_0x29967a[_0x55f63e(0x2e6)]){_0xfca66e(_0x45a051),process['nextTick'](_0x82ceba,_0x33c06f);return;}let _0x39bf66=!0x1;_0x29967a[_0x55f63e(0x145)](_0x55f63e(0x1f0),function(_0x3e63e0){_0x39bf66=!0x0,_0xfca66e(_0x3e63e0);}),_0x29967a[_0x55f63e(0x145)]('close',function(){const _0x3bc9ee=_0x55f63e;_0x39bf66||_0xfca66e(_0x45a051),process[_0x3bc9ee(0x23b)](_0x82ceba,_0x33c06f);}),_0x50fd78&&_0x29967a['terminate']();},_0x33c06f[_0x43d8b6(0x2aa)]=function(_0x4a4bf9){const _0x370548=_0x43d8b6;if(_0x29967a[_0x370548(0x1b9)]===_0x29967a[_0x370548(0x2cb)]){_0x29967a[_0x370548(0x145)]('open',function(){const _0x8a3f03=_0x370548;_0x33c06f[_0x8a3f03(0x2aa)](_0x4a4bf9);});return;}_0x29967a[_0x370548(0x23e)]!==null&&(_0x29967a[_0x370548(0x23e)][_0x370548(0x2a6)]['finished']?(_0x4a4bf9(),_0x33c06f[_0x370548(0x228)]['endEmitted']&&_0x33c06f[_0x370548(0x17c)]()):(_0x29967a[_0x370548(0x23e)]['once'](_0x370548(0x178),function(){_0x4a4bf9();}),_0x29967a['close']()));},_0x33c06f[_0x43d8b6(0x21b)]=function(){const _0x41d98d=_0x43d8b6;_0x29967a[_0x41d98d(0x266)]&&_0x29967a[_0x41d98d(0x174)]();},_0x33c06f['_write']=function(_0x392d3c,_0x256481,_0x9d2b38){const _0x14696e=_0x43d8b6;if(_0x29967a[_0x14696e(0x1b9)]===_0x29967a[_0x14696e(0x2cb)]){_0x29967a[_0x14696e(0x145)](_0x14696e(0x150),function(){const _0x2f35b7=_0x14696e;_0x33c06f[_0x2f35b7(0x1d6)](_0x392d3c,_0x256481,_0x9d2b38);});return;}_0x29967a[_0x14696e(0x1f5)](_0x392d3c,_0x9d2b38);},_0x33c06f['on'](_0x43d8b6(0x199),_0xa99193),_0x33c06f['on'](_0x43d8b6(0x1f0),_0x3285ce),_0x33c06f;}return Oe=_0x442e9e,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=Wt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x26e273}=ne();function _0x3f7329(_0x437118){const _0x389b68=_0x4a2c,_0x3d05f6=new Set();let _0x312c47=-0x1,_0x1ec38b=-0x1,_0x2d78ac=0x0;for(_0x2d78ac;_0x2d78ac<_0x437118[_0x389b68(0x2a5)];_0x2d78ac++){const _0x1a8dd4=_0x437118[_0x389b68(0x255)](_0x2d78ac);if(_0x1ec38b===-0x1&&_0x26e273[_0x1a8dd4]===0x1)_0x312c47===-0x1&&(_0x312c47=_0x2d78ac);else{if(_0x2d78ac!==0x0&&(_0x1a8dd4===0x20||_0x1a8dd4===0x9))_0x1ec38b===-0x1&&_0x312c47!==-0x1&&(_0x1ec38b=_0x2d78ac);else{if(_0x1a8dd4===0x2c){if(_0x312c47===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x2d78ac);_0x1ec38b===-0x1&&(_0x1ec38b=_0x2d78ac);const _0x417d15=_0x437118[_0x389b68(0x1d2)](_0x312c47,_0x1ec38b);if(_0x3d05f6['has'](_0x417d15))throw new SyntaxError(_0x389b68(0x144)+_0x417d15+'\x22\x20subprotocol\x20is\x20duplicated');_0x3d05f6[_0x389b68(0x275)](_0x417d15),_0x312c47=_0x1ec38b=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x2d78ac);}}}if(_0x312c47===-0x1||_0x1ec38b!==-0x1)throw new SyntaxError(_0x389b68(0x1b3));const _0x56d00b=_0x437118[_0x389b68(0x1d2)](_0x312c47,_0x2d78ac);if(_0x3d05f6[_0x389b68(0x2cd)](_0x56d00b))throw new SyntaxError(_0x389b68(0x144)+_0x56d00b+'\x22\x20subprotocol\x20is\x20duplicated');return _0x3d05f6[_0x389b68(0x275)](_0x56d00b),_0x3d05f6;}return Ce={'parse':_0x3f7329},Ce;}var Te,ot;function er(){const _0x498b57=_0x56e321;if(ot)return Te;ot=0x1;const _0x50abcb=_0x128909,_0x3c1dfb=_0x3474ab,{Duplex:_0xcbbcdc}=_0x5eabb8,{createHash:_0x26387a}=_0x2940c5,_0x5869ca=pt(),_0x1c06e1=he(),_0x4ee410=Jt(),_0x228627=Ie(),{GUID:_0x294fd0,kWebSocket:_0xe982ad}=V(),_0x27eb55=/^[+/0-9A-Za-z]{22}==$/,_0x50492f=0x0,_0x482ade=0x1,_0x415143=0x2;class _0xb69724 extends _0x50abcb{constructor(_0x59873d,_0x1f3e92){const _0x4492ae=_0x4a2c;if(super(),_0x59873d={'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':_0x228627,..._0x59873d},_0x59873d['port']==null&&!_0x59873d[_0x4492ae(0x262)]&&!_0x59873d['noServer']||_0x59873d[_0x4492ae(0x227)]!=null&&(_0x59873d[_0x4492ae(0x262)]||_0x59873d[_0x4492ae(0x24d)])||_0x59873d[_0x4492ae(0x262)]&&_0x59873d[_0x4492ae(0x24d)])throw new TypeError(_0x4492ae(0x22b));if(_0x59873d[_0x4492ae(0x227)]!=null?(this['_server']=_0x3c1dfb['createServer']((_0x2c41bd,_0xec281d)=>{const _0x2ccda4=_0x4492ae,_0x54133f=_0x3c1dfb[_0x2ccda4(0x229)][0x1aa];_0xec281d['writeHead'](0x1aa,{'Content-Length':_0x54133f['length'],'Content-Type':'text/plain'}),_0xec281d[_0x2ccda4(0x199)](_0x54133f);}),this[_0x4492ae(0x20e)][_0x4492ae(0x2bf)](_0x59873d[_0x4492ae(0x227)],_0x59873d[_0x4492ae(0x1d7)],_0x59873d[_0x4492ae(0x2a1)],_0x1f3e92)):_0x59873d[_0x4492ae(0x262)]&&(this['_server']=_0x59873d[_0x4492ae(0x262)]),this['_server']){const _0x12419a=this['emit'][_0x4492ae(0x21e)](this,_0x4492ae(0x225));this['_removeListeners']=_0x1ba4ae(this['_server'],{'listening':this[_0x4492ae(0x15b)][_0x4492ae(0x21e)](this,_0x4492ae(0x171)),'error':this['emit'][_0x4492ae(0x21e)](this,_0x4492ae(0x1f0)),'upgrade':(_0xe59d15,_0x4e0278,_0x364d7e)=>{const _0x22693e=_0x4492ae;this[_0x22693e(0x20a)](_0xe59d15,_0x4e0278,_0x364d7e,_0x12419a);}});}_0x59873d[_0x4492ae(0x29f)]===!0x0&&(_0x59873d[_0x4492ae(0x29f)]={}),_0x59873d['clientTracking']&&(this['clients']=new Set(),this[_0x4492ae(0x26a)]=!0x1),this[_0x4492ae(0x156)]=_0x59873d,this['_state']=_0x50492f;}[_0x498b57(0x2d4)](){const _0x58901a=_0x498b57;if(this[_0x58901a(0x156)]['noServer'])throw new Error('The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode');return this[_0x58901a(0x20e)]?this[_0x58901a(0x20e)][_0x58901a(0x2d4)]():null;}[_0x498b57(0x287)](_0x43fca0){const _0x378ba9=_0x498b57;if(this[_0x378ba9(0x212)]===_0x415143){_0x43fca0&&this[_0x378ba9(0x145)](_0x378ba9(0x287),()=>{const _0x279c0a=_0x378ba9;_0x43fca0(new Error(_0x279c0a(0x29c)));}),process[_0x378ba9(0x23b)](_0x5f5392,this);return;}if(_0x43fca0&&this[_0x378ba9(0x145)](_0x378ba9(0x287),_0x43fca0),this[_0x378ba9(0x212)]!==_0x482ade){if(this[_0x378ba9(0x212)]=_0x482ade,this[_0x378ba9(0x156)][_0x378ba9(0x24d)]||this[_0x378ba9(0x156)][_0x378ba9(0x262)])this['_server']&&(this[_0x378ba9(0x1e4)](),this['_removeListeners']=this[_0x378ba9(0x20e)]=null),this[_0x378ba9(0x1ff)]?this[_0x378ba9(0x1ff)][_0x378ba9(0x272)]?this[_0x378ba9(0x26a)]=!0x0:process['nextTick'](_0x5f5392,this):process['nextTick'](_0x5f5392,this);else{const _0xe68f45=this[_0x378ba9(0x20e)];this[_0x378ba9(0x1e4)](),this[_0x378ba9(0x1e4)]=this[_0x378ba9(0x20e)]=null,_0xe68f45[_0x378ba9(0x287)](()=>{_0x5f5392(this);});}}}[_0x498b57(0x242)](_0x4720cb){const _0x436df5=_0x498b57;if(this['options'][_0x436df5(0x2d7)]){const _0x19ba43=_0x4720cb[_0x436df5(0x1d5)][_0x436df5(0x1a5)]('?');if((_0x19ba43!==-0x1?_0x4720cb['url'][_0x436df5(0x1d2)](0x0,_0x19ba43):_0x4720cb[_0x436df5(0x1d5)])!==this[_0x436df5(0x156)][_0x436df5(0x2d7)])return!0x1;}return!0x0;}['handleUpgrade'](_0x37accc,_0x30c607,_0x58393a,_0x3725e9){const _0xdc036e=_0x498b57;_0x30c607['on']('error',_0x554a39);const _0x719f4e=_0x37accc['headers'][_0xdc036e(0x232)],_0x1665e0=_0x37accc[_0xdc036e(0x2e7)][_0xdc036e(0x1c4)],_0x22e7a9=+_0x37accc[_0xdc036e(0x2e7)]['sec-websocket-version'];if(_0x37accc[_0xdc036e(0x208)]!==_0xdc036e(0x179)){_0x439642(this,_0x37accc,_0x30c607,0x195,'Invalid\x20HTTP\x20method');return;}if(_0x1665e0===void 0x0||_0x1665e0[_0xdc036e(0x1ec)]()!=='websocket'){_0x439642(this,_0x37accc,_0x30c607,0x190,_0xdc036e(0x2df));return;}if(_0x719f4e===void 0x0||!_0x27eb55[_0xdc036e(0x17f)](_0x719f4e)){_0x439642(this,_0x37accc,_0x30c607,0x190,_0xdc036e(0x291));return;}if(_0x22e7a9!==0xd&&_0x22e7a9!==0x8){_0x439642(this,_0x37accc,_0x30c607,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header',{'Sec-WebSocket-Version':'13,\x208'});return;}if(!this['shouldHandle'](_0x37accc)){_0x3584ef(_0x30c607,0x190);return;}const _0x233d9e=_0x37accc[_0xdc036e(0x2e7)][_0xdc036e(0x1bd)];let _0xb058ea=new Set();if(_0x233d9e!==void 0x0)try{_0xb058ea=_0x4ee410[_0xdc036e(0x1a1)](_0x233d9e);}catch{_0x439642(this,_0x37accc,_0x30c607,0x190,_0xdc036e(0x17d));return;}const _0xa16120=_0x37accc[_0xdc036e(0x2e7)]['sec-websocket-extensions'],_0x1cbc72={};if(this[_0xdc036e(0x156)][_0xdc036e(0x29f)]&&_0xa16120!==void 0x0){const _0x3c553a=new _0x1c06e1(this[_0xdc036e(0x156)][_0xdc036e(0x29f)],!0x0,this[_0xdc036e(0x156)][_0xdc036e(0x175)]);try{const _0xb106=_0x5869ca[_0xdc036e(0x1a1)](_0xa16120);_0xb106[_0x1c06e1['extensionName']]&&(_0x3c553a[_0xdc036e(0x2d3)](_0xb106[_0x1c06e1[_0xdc036e(0x1e0)]]),_0x1cbc72[_0x1c06e1['extensionName']]=_0x3c553a);}catch{_0x439642(this,_0x37accc,_0x30c607,0x190,'Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header');return;}}if(this[_0xdc036e(0x156)][_0xdc036e(0x135)]){const _0x4723b1={'origin':_0x37accc[_0xdc036e(0x2e7)][''+(_0x22e7a9===0x8?_0xdc036e(0x142):_0xdc036e(0x19d))],'secure':!!(_0x37accc['socket']['authorized']||_0x37accc[_0xdc036e(0x295)][_0xdc036e(0x28c)]),'req':_0x37accc};if(this[_0xdc036e(0x156)]['verifyClient']['length']===0x2){this[_0xdc036e(0x156)][_0xdc036e(0x135)](_0x4723b1,(_0x56ddbf,_0x4e58eb,_0x6402f1,_0x344877)=>{if(!_0x56ddbf)return _0x3584ef(_0x30c607,_0x4e58eb||0x191,_0x6402f1,_0x344877);this['completeUpgrade'](_0x1cbc72,_0x719f4e,_0xb058ea,_0x37accc,_0x30c607,_0x58393a,_0x3725e9);});return;}if(!this[_0xdc036e(0x156)][_0xdc036e(0x135)](_0x4723b1))return _0x3584ef(_0x30c607,0x191);}this[_0xdc036e(0x16f)](_0x1cbc72,_0x719f4e,_0xb058ea,_0x37accc,_0x30c607,_0x58393a,_0x3725e9);}['completeUpgrade'](_0x261020,_0x32e6eb,_0x8ba683,_0x320d4b,_0x6a48c,_0x5dd5dd,_0x2a67e2){const _0x271ece=_0x498b57;if(!_0x6a48c[_0x271ece(0x202)]||!_0x6a48c[_0x271ece(0x281)])return _0x6a48c[_0x271ece(0x17c)]();if(_0x6a48c[_0xe982ad])throw new Error(_0x271ece(0x2b8));if(this[_0x271ece(0x212)]>_0x50492f)return _0x3584ef(_0x6a48c,0x1f7);const _0x8a3b11=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0x271ece(0x288),_0x271ece(0x1a0),_0x271ece(0x2b6)+_0x26387a(_0x271ece(0x181))[_0x271ece(0x26b)](_0x32e6eb+_0x294fd0)[_0x271ece(0x195)](_0x271ece(0x1e7))],_0x48c9b8=new this[(_0x271ece(0x156))][(_0x271ece(0x2be))](null,void 0x0,this[_0x271ece(0x156)]);if(_0x8ba683[_0x271ece(0x272)]){const _0x4fdba2=this[_0x271ece(0x156)][_0x271ece(0x190)]?this[_0x271ece(0x156)][_0x271ece(0x190)](_0x8ba683,_0x320d4b):_0x8ba683[_0x271ece(0x24f)]()[_0x271ece(0x252)]()[_0x271ece(0x148)];_0x4fdba2&&(_0x8a3b11[_0x271ece(0x18f)](_0x271ece(0x2ad)+_0x4fdba2),_0x48c9b8[_0x271ece(0x247)]=_0x4fdba2);}if(_0x261020[_0x1c06e1[_0x271ece(0x1e0)]]){const _0x3f6dc7=_0x261020[_0x1c06e1[_0x271ece(0x1e0)]]['params'],_0x3d8fc6=_0x5869ca['format']({[_0x1c06e1[_0x271ece(0x1e0)]]:[_0x3f6dc7]});_0x8a3b11[_0x271ece(0x18f)](_0x271ece(0x1c1)+_0x3d8fc6),_0x48c9b8[_0x271ece(0x2ce)]=_0x261020;}this['emit']('headers',_0x8a3b11,_0x320d4b),_0x6a48c[_0x271ece(0x1fb)](_0x8a3b11[_0x271ece(0x263)]('\x0d\x0a')[_0x271ece(0x260)]('\x0d\x0a')),_0x6a48c['removeListener'](_0x271ece(0x1f0),_0x554a39),_0x48c9b8[_0x271ece(0x221)](_0x6a48c,_0x5dd5dd,{'allowSynchronousEvents':this['options']['allowSynchronousEvents'],'maxPayload':this['options'][_0x271ece(0x175)],'skipUTF8Validation':this[_0x271ece(0x156)][_0x271ece(0x1f6)]}),this[_0x271ece(0x1ff)]&&(this['clients'][_0x271ece(0x275)](_0x48c9b8),_0x48c9b8['on'](_0x271ece(0x287),()=>{const _0x12a3fd=_0x271ece;this[_0x12a3fd(0x1ff)][_0x12a3fd(0x1e2)](_0x48c9b8),this[_0x12a3fd(0x26a)]&&!this['clients'][_0x12a3fd(0x272)]&&process[_0x12a3fd(0x23b)](_0x5f5392,this);})),_0x2a67e2(_0x48c9b8,_0x320d4b);}}Te=_0xb69724;function _0x1ba4ae(_0x414465,_0x4ebe90){const _0x51d273=_0x498b57;for(const _0x1e9da1 of Object[_0x51d273(0x1a9)](_0x4ebe90))_0x414465['on'](_0x1e9da1,_0x4ebe90[_0x1e9da1]);return function(){const _0xb3add3=_0x51d273;for(const _0xb259a0 of Object[_0xb3add3(0x1a9)](_0x4ebe90))_0x414465[_0xb3add3(0x2e1)](_0xb259a0,_0x4ebe90[_0xb259a0]);};}function _0x5f5392(_0x43401a){const _0x230263=_0x498b57;_0x43401a[_0x230263(0x212)]=_0x415143,_0x43401a['emit'](_0x230263(0x287));}function _0x554a39(){const _0x597406=_0x498b57;this[_0x597406(0x17c)]();}function _0x3584ef(_0x2fc7b2,_0x33884d,_0x52e11b,_0x57bf5d){const _0x58f7c5=_0x498b57;_0x52e11b=_0x52e11b||_0x3c1dfb[_0x58f7c5(0x229)][_0x33884d],_0x57bf5d={'Connection':_0x58f7c5(0x287),'Content-Type':_0x58f7c5(0x1ce),'Content-Length':Buffer['byteLength'](_0x52e11b),..._0x57bf5d},_0x2fc7b2[_0x58f7c5(0x145)](_0x58f7c5(0x178),_0x2fc7b2[_0x58f7c5(0x17c)]),_0x2fc7b2[_0x58f7c5(0x199)](_0x58f7c5(0x20d)+_0x33884d+'\x20'+_0x3c1dfb[_0x58f7c5(0x229)][_0x33884d]+'\x0d\x0a'+Object[_0x58f7c5(0x1a9)](_0x57bf5d)[_0x58f7c5(0x21d)](_0x4c4624=>_0x4c4624+':\x20'+_0x57bf5d[_0x4c4624])[_0x58f7c5(0x260)]('\x0d\x0a')+_0x58f7c5(0x28f)+_0x52e11b);}function _0x439642(_0x28242d,_0x5565ce,_0x4e7b71,_0x19167d,_0x2d3618,_0x23e0db){const _0xe949e4=_0x498b57;if(_0x28242d[_0xe949e4(0x1fe)](_0xe949e4(0x157))){const _0x35c381=new Error(_0x2d3618);Error[_0xe949e4(0x1e8)](_0x35c381,_0x439642),_0x28242d[_0xe949e4(0x15b)](_0xe949e4(0x157),_0x35c381,_0x4e7b71,_0x5565ce);}else _0x3584ef(_0x4e7b71,_0x19167d,_0x2d3618,_0x23e0db);}return Te;}er();var tr=Object['getOwnPropertyDescriptor'],rr=(_0x1f7b29,_0x3335ec,_0x438413,_0xd712d2)=>{const _0x32082f=_0x56e321;for(var _0x25629b=_0xd712d2>0x1?void 0x0:_0xd712d2?tr(_0x3335ec,_0x438413):_0x3335ec,_0x2e957b=_0x1f7b29[_0x32082f(0x2a5)]-0x1,_0x2cc868;_0x2e957b>=0x0;_0x2e957b--)(_0x2cc868=_0x1f7b29[_0x2e957b])&&(_0x25629b=_0x2cc868(_0x25629b)||_0x25629b);return _0x25629b;},sr=(_0x41fcfc,_0x1776d9)=>(_0x2e2083,_0x1e819d)=>_0x1776d9(_0x2e2083,_0x1e819d,_0x41fcfc);let Ne=class extends _0x551cb1{constructor(_0xd042a1){const _0x7d8e87=_0x56e321;super(),this[_0x7d8e87(0x24b)]=_0xd042a1;}[_0x56e321(0x2b1)](_0x30e022){const _0x3dafe5=_0x56e321;var _0x5d88aa;const _0x5c1830=(_0x5d88aa=this[_0x3dafe5(0x24b)][_0x3dafe5(0x214)](Be))==null?void 0x0:_0x5d88aa['customHeaders'];try{const _0x589519=new Qt(_0x30e022,{'headers':{..._0x5c1830}}),_0x5ea684=new _0x587165();return{'URL':_0x30e022,'close':(_0x22d032,_0x4754c5)=>{const _0x3f3104=_0x3dafe5;_0x589519[_0x3f3104(0x287)](_0x22d032,_0x4754c5),_0x5ea684['dispose']();},'send':_0x25a55e=>{const _0x2ce292=_0x3dafe5;_0x589519[_0x2ce292(0x1f5)](_0x25a55e);},'open$':new _0x2dc0d5(_0x3289b9=>{const _0x1a93d2=_0x3dafe5,_0x389d9a=_0xa14e21=>_0x3289b9[_0x1a93d2(0x252)](_0xa14e21);_0x589519[_0x1a93d2(0x14b)](_0x1a93d2(0x150),_0x389d9a),_0x5ea684[_0x1a93d2(0x275)](_0x2cdeff(()=>_0x589519[_0x1a93d2(0x1c8)](_0x1a93d2(0x150),_0x389d9a)));})[_0x3dafe5(0x283)](_0x110291()),'close$':new _0x2dc0d5(_0x5c73fb=>{const _0x21f8c6=_0x3dafe5,_0xaebd01=_0x1d1b6c=>_0x5c73fb[_0x21f8c6(0x252)](_0x1d1b6c);_0x589519['addEventListener']('close',_0xaebd01),_0x5ea684['add'](_0x2cdeff(()=>_0x589519[_0x21f8c6(0x1c8)]('close',_0xaebd01)));})[_0x3dafe5(0x283)](_0x110291()),'error$':new _0x2dc0d5(_0x4b3ea9=>{const _0x211078=_0x3dafe5,_0x448f53=_0x3fe9ce=>_0x4b3ea9[_0x211078(0x252)](_0x3fe9ce);_0x589519[_0x211078(0x14b)](_0x211078(0x1f0),_0x448f53),_0x5ea684[_0x211078(0x275)](_0x2cdeff(()=>_0x589519[_0x211078(0x1c8)](_0x211078(0x1f0),_0x448f53)));})['pipe'](_0x110291()),'message$':new _0x2dc0d5(_0x445e6d=>{const _0x115eb3=_0x3dafe5,_0x3c4c39=_0x128ba2=>_0x445e6d['next'](_0x128ba2);_0x589519['addEventListener'](_0x115eb3(0x14f),_0x3c4c39),_0x5ea684[_0x115eb3(0x275)](_0x2cdeff(()=>_0x589519[_0x115eb3(0x1c8)](_0x115eb3(0x14f),_0x3c4c39)));})['pipe'](_0x110291())};}catch(_0x4fe18a){return console['error'](_0x4fe18a),null;}}};Ne=rr([sr(0x0,_0x24da62)],Ne);var ir=Object['defineProperty'],nr=Object['getOwnPropertyDescriptor'],or=(_0x3a6fbe,_0x82b28b,_0x4f80fb)=>_0x82b28b in _0x3a6fbe?ir(_0x3a6fbe,_0x82b28b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4f80fb}):_0x3a6fbe[_0x82b28b]=_0x4f80fb,ar=(_0xf46fc9,_0x23e1fb,_0x103e96,_0x1b70f1)=>{const _0x18689e=_0x56e321;for(var _0xf7ba8b=_0x1b70f1>0x1?void 0x0:_0x1b70f1?nr(_0x23e1fb,_0x103e96):_0x23e1fb,_0x2a26fa=_0xf46fc9[_0x18689e(0x2a5)]-0x1,_0x537d44;_0x2a26fa>=0x0;_0x2a26fa--)(_0x537d44=_0xf46fc9[_0x2a26fa])&&(_0xf7ba8b=_0x537d44(_0xf7ba8b)||_0xf7ba8b);return _0xf7ba8b;},ke=(_0x4f2fa8,_0x49a7e6)=>(_0x1bde4f,_0x4007e4)=>_0x49a7e6(_0x1bde4f,_0x4007e4,_0x4f2fa8),lr=(_0x1ddc11,_0x2eb9d9,_0x54fbca)=>or(_0x1ddc11,_0x2eb9d9+'',_0x54fbca);function _0x51e0(){const _0x5d990d=['_originalSecure','6009444dnQbfI','_socket','MASK\x20must\x20be\x20set','buffers','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','shouldHandle','create','Max\x20payload\x20size\x20exceeded','WebSocket\x20is\x20not\x20open:\x20readyState\x20','_generateMask','_protocol','readOnly','mask','WS_NO_UTF_8_VALIDATE','_configService','customHeaders','noServer','WS_ERR_UNEXPECTED_RSV_2_3','values','_inflate','type','next','_payloadLength','generateMask','charCodeAt','_sender','function','default','Blob','allocUnsafe','_binaryType','1359295GBrQNa','WS_NO_BUFFER_UTIL','getMask','_closeMessage','join','OPEN','server','concat','fin','hasOwnProperty','isPaused','_threshold','kCode','invalid\x20UTF-8\x20sequence','_shouldEmitClose','update','setNoDelay','conclude','hash','concurrencyLimit','rsv1','Cookie','size','nodebuffer','server_max_window_bits','add','finishRequest','Origin','abort','_originalIpc','maskBuffer','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','password','kListener','FIN\x20must\x20be\x20set','sec-websocket-extensions','_registerDependencies','writable','isArray','pipe','https:','auth','getData','close','Upgrade:\x20websocket','client_no_context_takeover','byteOffset','pong','encrypted','exports','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','\x0d\x0a\x0d\x0a','writeUIntBE','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','stream','species','then','socket','set','isIP','_queue','threshold','isInteger','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','The\x20server\x20is\x20not\x20running','_decompress','setHeader','perMessageDeflate','client_max_window_bits','backlog','includes','3413511JWMLPg','target','length','_writableState','unshift','2gUUTrs','binaryType','_final','cookie','cleanup','Sec-WebSocket-Protocol:\x20','serverMaxWindowBits','_isServer','controlMessage','createSocket','invalid\x20status\x20code\x20','createError','_autoPong','permessage-deflate','Sec-WebSocket-Accept:\x20','20jYDIEP','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','replace','concurrency','catch','location','wasClean','WebSocket','listen','_maskBuffer','Parameter\x20\x22','defineProperty','_req','Upgrade','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','terminate','status-code','kAborted','_redirects','_mask','CONNECTING','callback','has','_extensions','_closeTimer','construct','request','removeAllListeners','accept','address','The\x20URL\x27s\x20pathname\x20is\x20empty','acceptAsServer','path','Unexpected\x20server\x20response:\x20','server_no_context_takeover','_closeFrameSent','startLoop','call','http:','response','Invalid\x20Upgrade\x20header','kWasClean','removeListener','hostname','WS_ERR_EXPECTED_FIN','_errored','acceptAsClient','CLOSED','headers','Z_DEFAULT_WINDOWBITS','client','verifyClient','Unknown\x20parameter\x20\x22','handshakeTimeout','serverNoContextTakeover','getOwnPropertyDescriptor','1477JdEoyK','_compressed','total-length','pause','ws+unix:','offer','dispatch','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','sec-websocket-origin','unmask','The\x20\x22','once','WS_ERR_INVALID_OPCODE','35368bpHEwC','value','_skipUTF8Validation','\x20(supported\x20versions:\x20','addEventListener','Unexpected\x20character\x20at\x20index\x20','protocol','kMessage','message','open','href','invalid\x20opcode\x20','WS_ERR_INVALID_CLOSE_CODE','blob','emitClose','options','wsClientError','byteLength','WS_ERR_INVALID_UTF8','Basic\x20','emit','_receiver','timeout','maxRedirects','handleEvent','isView','constructor','__esModule','_masked','servername','kDone','statusCode','_readyState','isServer','consume','extensions','_originalHostOrSocketPath','kError','kRun','socketPath','completeUpgrade','invalid\x20payload\x20length\x20','listening','flush','toString','resume','maxPayload','drain','enqueue','finish','GET','getPayloadLength16','warn','destroy','Invalid\x20Sec-WebSocket-Protocol\x20header','_doCreateSocket','test','username','sha1','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','\x22\x20must\x20have\x20only\x20a\x20single\x20value','reason','decompress','onerror','unexpected-response','readUInt32BE','kTarget','data','WS_ERR_EXPECTED_MASK','_totalPayloadLength','kType','1542012gSOzCJ','push','handleProtocols','getInfo','_compress','object','_closeCode','digest','compress','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','_errorEmitted','end','_max_window_bits','readUInt16BE','kByteLength','origin','Sec-WebSocket-Origin','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','Connection:\x20Upgrade','parse','split','code','string','indexOf','params','pluginName','onopen','keys','allowSynchronousEvents','forEach','bufferedAmount','sendFrame','_url','\x22:\x20','frame','_bufferedBytes','redirect','Unexpected\x20end\x20of\x20input','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','jobs','Invalid\x20URL:\x20','writeUInt16BE','kIsForOnEventAttribute','readyState','search','_paused','getPayloadLength64','sec-websocket-protocol','registerHTTPInterceptor','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','_opcode','Sec-WebSocket-Extensions:\x20','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','alloc','upgrade','RSV1\x20must\x20be\x20clear','number','Maximum\x20redirects\x20exceeded','removeEventListener','listeners','_buffers','Module','opcode','isValidUTF8','text/html','_loop','Invalid\x20WebSocket\x20frame:\x20','prototype','slice','arraybuffer','onStarting','url','_write','host','authorization','WS_ERR_UNEXPECTED_MASK','Unsupported\x20protocol\x20version:\x20','freeze','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','defaultPort','_fin','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','extensionName','sec-websocket-accept','delete','ws:','_removeListeners','createDeflateRaw','_no_context_takeover','base64','captureStackTrace','env','kData','Sec-WebSocket-Protocol','toLowerCase','3626934LasyGN','CLOSING','arrayBuffer','error','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','binary','_firstFragment','errorEmitted','send','skipUTF8Validation','clientMaxWindowBits','collaboration-client-node.config','Invalid\x20value\x20for\x20parameter\x20\x22','_destroy','write','protocolVersion','getBlobData','listenerCount','clients','WS_ERR_UNEXPECTED_RSV_1','_fragments','readable','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','3225940gzlIGY','_maxPayload','_deflate','ping','method','_options','handleUpgrade','buffer','shift','HTTP/1.1\x20','_server','_allowSynchronousEvents','Server\x20sent\x20an\x20invalid\x20subprotocol','haveLength','_state','_bufferedAmount','getConfig','setTimeout','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','reset','dequeue','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','dataMessage','_read','setConfig','map','bind','_messageLength','destroyed','setSocket','followRedirects','entries','File','connection','websocket','port','_readableState','STATUS_CODES','MASK\x20must\x20be\x20clear','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','createConnection','pow','_fragmented','from','pending','toStringTag','sec-websocket-key','clientNoContextTakeover','wss:','_closeFrameReceived','autoPong','_injector','endEmitted','apply','normalizeParams','nextTick'];_0x51e0=function(){return _0x5d990d;};return _0x51e0();}let Pe=class extends _0x1c74ae{constructor(_0x19c972=Ft,_0x28603f,_0x5f4401,_0x266675){const _0x2f1dea=_0x56e321;_0x19c972[_0x2f1dea(0x24c)]||_0x28603f[_0x2f1dea(0x17b)]('[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.'),super(),this[_0x2f1dea(0x24b)]=_0x5f4401,this[_0x2f1dea(0x237)]=_0x266675,this[_0x2f1dea(0x24b)][_0x2f1dea(0x21c)](Be,_0x19c972);}[_0x56e321(0x1d4)](){const _0x555aca=_0x56e321;this[_0x555aca(0x280)]();}[_0x56e321(0x280)](){const _0x60b4cf=_0x56e321;_0x398079(this[_0x60b4cf(0x237)],[[_0x101da6,{'useClass':Ne}]]);}};lr(Pe,_0x56e321(0x1a7),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),Pe=ar([_0x650a0b(_0x465ccb),ke(0x1,_0x1aa7dc),ke(0x2,_0x24da62),ke(0x3,_0xe24dc5(_0x4913ab))],Pe);var fr=Object[_0x56e321(0x139)],cr=(_0x315e5e,_0x4bf54a,_0x14bc32,_0x45efdb)=>{const _0x2fdda9=_0x56e321;for(var _0x412c93=_0x45efdb>0x1?void 0x0:_0x45efdb?fr(_0x4bf54a,_0x14bc32):_0x4bf54a,_0x520733=_0x315e5e[_0x2fdda9(0x2a5)]-0x1,_0x5dc5b8;_0x520733>=0x0;_0x520733--)(_0x5dc5b8=_0x315e5e[_0x520733])&&(_0x412c93=_0x5dc5b8(_0x412c93)||_0x412c93);return _0x412c93;},se=(_0x50d8e5,_0x2e3949)=>(_0x904d3c,_0x102013)=>_0x2e3949(_0x904d3c,_0x102013,_0x50d8e5);let at=class extends _0x22f14e{constructor(_0x99ab5d,_0x451bcc,_0x280ab4,_0x18da3b,_0x4d466d){const _0x10b9e5=_0x56e321;super(_0x99ab5d,_0x451bcc,_0x280ab4,_0x18da3b,_0x4d466d);const _0x47d316=this[_0x10b9e5(0x24b)]['getConfig'](Be);this['_httpService'][_0x10b9e5(0x1be)]({'interceptor':(_0x364584,_0x58ecc6)=>{const _0x116ec4=_0x10b9e5;var _0x260f9c;const _0x1325f2=_0x364584[_0x116ec4(0x2e7)];return(_0x260f9c=_0x47d316==null?void 0x0:_0x47d316['customHeaders'])!=null&&_0x260f9c['cookie']&&_0x1325f2[_0x116ec4(0x296)](_0x116ec4(0x271),_0x47d316[_0x116ec4(0x24c)][_0x116ec4(0x2ab)]),_0x58ecc6(_0x364584);}});}async['createSocket'](_0x44e435){const _0x3d27c1=_0x56e321;return this[_0x3d27c1(0x17e)](_0x44e435);}};at=cr([se(0x0,_0xe24dc5(_0x4913ab)),se(0x1,_0xe24dc5(_0x42a546)),se(0x2,_0x24da62),se(0x3,_0x1aa7dc),se(0x4,_0x2c8b46)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};