@univerjs-pro/collaboration-client-node 0.7.0 → 0.8.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/index.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +9 -9
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0xc592e0=_0x33fa;(function(_0x4226fd,_0x70d399){const _0x2f649e=_0x33fa,_0x5295e7=_0x4226fd();while(!![]){try{const _0x435cb5=parseInt(_0x2f649e(0x12f))/0x1*(-parseInt(_0x2f649e(0x178))/0x2)+parseInt(_0x2f649e(0x228))/0x3*(-parseInt(_0x2f649e(0x139))/0x4)+-parseInt(_0x2f649e(0x127))/0x5*(-parseInt(_0x2f649e(0x2b3))/0x6)+-parseInt(_0x2f649e(0x204))/0x7+parseInt(_0x2f649e(0x20b))/0x8+parseInt(_0x2f649e(0x175))/0x9*(-parseInt(_0x2f649e(0x13a))/0xa)+-parseInt(_0x2f649e(0x286))/0xb*(-parseInt(_0x2f649e(0x129))/0xc);if(_0x435cb5===_0x70d399)break;else _0x5295e7['push'](_0x5295e7['shift']());}catch(_0x3f7d31){_0x5295e7['push'](_0x5295e7['shift']());}}}(_0x5e37,0x1cb8a));import{UniverCollaborationClientPlugin as _0x56ed27,CollaborationSocketService as _0x505879}from'@univerjs-pro/collaboration-client';import{Disposable as _0x372dc6,DisposableCollection as _0x4f61fc,toDisposable as _0x3635b1,IConfigService as _0xa8ce35,DependentOn as _0x128f79,ILogService as _0xfe304b,Inject as _0xf2788c,Injector as _0x50503b,Plugin as _0xbd7967,registerDependencies as _0x4d5543}from'@univerjs/core';import{ISocketService as _0x249bf7,HTTPService as _0x7723dd}from'@univerjs/network';import{Observable as _0x60adf7,share as _0x148dcc}from'rxjs';import _0x65c4b3 from'events';function _0x5e37(){const _0x36a30d=['Invalid\x20Sec-WebSocket-Accept\x20header','protocol','1869896voQRvR','_options','File','Maximum\x20redirects\x20exceeded','total-length','endEmitted','createInflateRaw','destroy','onStarting','_closeFrameReceived','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','startLoop','unmask','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','options','open','dispatch','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','WS_ERR_UNEXPECTED_RSV_2_3','createDeflateRaw','shouldHandle','server_no_context_takeover','Module','MASK\x20must\x20be\x20clear','charCodeAt','binary','arraybuffer','request','next','99867hTSdmp','set','Sec-WebSocket-Protocol','pluginName','getPayloadLength16','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','isArray','noServer','handleProtocols','cookie','_originalHostOrSocketPath','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','sec-websocket-origin','generateMask','_buffers','isInteger','_isServer','_opcode','reason','client_max_window_bits','defaultPort','_maxPayload','location','path','setHeader','kListener','WS_ERR_INVALID_CLOSE_CODE','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','_totalPayloadLength','_read','addEventListener','emitClose','forEach','bind','listening','kIsForOnEventAttribute','sec-websocket-key','STATUS_CODES','defineProperty','decompress','wss:','_server','sec-websocket-version','wsClientError','_masked','_readableState','_messageLength','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','value','haveLength','invalid\x20status\x20code\x20','invalid\x20opcode\x200','getBlobData','cleanup','add','_shouldEmitClose','WS_ERR_UNEXPECTED_MASK','_state','cork','string','_final','apply','onmessage','Upgrade','message','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','readable','writable','_autoPong','_redirects','Opening\x20handshake\x20has\x20timed\x20out','createSocket','verifyClient','allocUnsafe','byteLength','accept','Sec-WebSocket-Protocol:\x20','completeUpgrade','status-code','stream','host','setTimeout','invalid\x20UTF-8\x20sequence','update','_allowSynchronousEvents','readyState','ping','call','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','_doCreateSocket','Max\x20payload\x20size\x20exceeded','entries','redirect','__esModule','201718WAPwPJ','toString','controlMessage','kReason','_inflate','permessage-deflate','RSV1\x20must\x20be\x20clear','OPEN','invalid\x20payload\x20length\x20','onerror','_closeTimer','isValidUTF8','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','Unexpected\x20end\x20of\x20input','params','maxRedirects','onclose','removeEventListener','join','WS_NO_BUFFER_UTIL','hostname','autoPong','CONNECTING','HTTP/1.1\x20101\x20Switching\x20Protocols','search','_mask','sec-websocket-extensions','WS_NO_UTF_8_VALIDATE','nextTick','read','object','Unexpected\x20character\x20at\x20index\x20','headers','bufferedAmount','readOnly','Unsupported\x20protocol\x20version:\x20','dequeue','serverNoContextTakeover','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','upgrade','terminate','byteOffset','concurrencyLimit','origin','env','12zCDonQ','_writableState','send','createServer','wasClean','response','has','_removeListeners','Invalid\x20URL:\x20','getData','write','_sender','customHeaders','fin','isPaused','dataMessage','getConfig','create','extensionName','clientNoContextTakeover','clients','concat','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','Z_DEFAULT_WINDOWBITS','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','Sec-WebSocket-Accept:\x20','opcode','_registerDependencies','MASK\x20must\x20be\x20set','_max_window_bits','skipUTF8Validation','WS_ERR_UNEXPECTED_RSV_1','writeUIntBE','_binaryType','WS_ERR_EXPECTED_MASK','catch','shift','fragments','65660yQrfJY','number','84QvOIPD','CLOSING','_bufferedAmount','_queue','\x22\x20must\x20have\x20only\x20a\x20single\x20value','GET','30ZWBPSW','pipe','drain','blob','_closeFrameSent','isIP','_compressed','server','setNoDelay','_extensions','12BKDmJE','160070pHuEts','followRedirects','allowSynchronousEvents','_originalIpc','CLOSED','finish','The\x20server\x20is\x20not\x20running','jobs','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','zlibInflateOptions','_write','freeze','warn','data','setSocket','keys','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','Upgrade:\x20websocket','href','_req','code','default','toStringTag','pow','_deflate','authorization','Invalid\x20Sec-WebSocket-Extensions\x20header','buffers','finishRequest','_paused','captureStackTrace','error','handleEvent','extensions','onopen','_closeMessage','sendFrame','_closeCode','alloc','conclude','normalizeParams','port','maskBuffer','Basic\x20','errorEmitted','enqueue','writeUInt16BE','Sec-WebSocket-Origin','kCode','perMessageDeflate','needDrain','buffer','_errorEmitted','Sec-WebSocket-Extensions:\x20','kRun','getMask','listeners','sha1','includes','18GejCxn','setConfig','connection','6980PHTEDm','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','sec-websocket-accept','timeout','from','createConnection','_errored','kAborted','frame','_receiver','Invalid\x20Upgrade\x20header','encrypted','WebSocket','finished','_configService','length','FIN\x20must\x20be\x20set','removeListener','_protocol','websocket','dispose','startsWith','_bufferedBytes','socketPath','getInfo','_payloadLength','_maskBuffer','push','_fragmented','kTarget','socket','The\x20URL\x20contains\x20a\x20fragment\x20identifier','pathname','handshakeTimeout','concurrency','\x22\x20subprotocol\x20is\x20duplicated','parse','offer','species','_compress','_fin','uncork','function','Invalid\x20Sec-WebSocket-Protocol\x20header','binaryType','username','client','_loop','resume','password','close','ws:','_injector','construct','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','destroyed','kError','pong','_skipUTF8Validation','acceptAsServer','protocolVersion','once','acceptAsClient','kType','text/html','_threshold','Connection:\x20Upgrade','slice','pause','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','\x20(supported\x20versions:\x20','compress','createError','then','format','WS_ERR_EXPECTED_FIN','writeHead','sec-websocket-protocol','_fragments','_no_context_takeover','arrayBuffer','servername','Invalid\x20HTTP\x20method','connect','kWasClean','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','Invalid\x20value\x20for\x20parameter\x20\x22','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','toLowerCase','_firstFragment','clientMaxWindowBits','digest','WS_ERR_INVALID_OPCODE','abort','readUInt16BE','reset','_socket','replace','type','find','threshold','client_no_context_takeover','invalid\x20opcode\x20','statusCode','The\x20\x22','mask','size','prototype','callback','nodebuffer','_readyState','Invalid\x20WebSocket\x20frame:\x20','maxPayload','target','handleUpgrade','method','pending','_destroy','indexOf','consume','end','WS_ERR_INVALID_UTF8','isBuffer','get','_generateMask','https:','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','http:','\x22:\x20','readUInt32BE','exports','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','kDone','server_max_window_bits','url','map','getPayloadLength64','getOwnPropertyDescriptor','_httpService','emit','239008kyerxd','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','base64','listenerCount','serverMaxWindowBits'];_0x5e37=function(){return _0x36a30d;};return _0x5e37();}import _0x2a038a from'https';import _0x52e28b from'http';import _0x461c75 from'net';import _0x46b953 from'tls';import _0x306241 from'crypto';import _0x1ba7a8 from'stream';import _0x16f754 from'url';import _0x31bb7e from'zlib';import _0x4561d1 from'buffer';import{ISnapshotServerService as _0x1a59b4}from'@univerjs-pro/collaboration';const Be='collaboration-client-node.config',Ft={'customHeaders':{}};function jt(_0x5f397f){const _0x39124b=_0x33fa;return _0x5f397f&&_0x5f397f['__esModule']&&Object['prototype']['hasOwnProperty'][_0x39124b(0x27f)](_0x5f397f,_0x39124b(0x14f))?_0x5f397f['default']:_0x5f397f;}function ut(_0x1e9a90){const _0x460461=_0x33fa;if(Object['prototype']['hasOwnProperty'][_0x460461(0x27f)](_0x1e9a90,_0x460461(0x285)))return _0x1e9a90;var _0x41319f=_0x1e9a90[_0x460461(0x14f)];if(typeof _0x41319f==_0x460461(0x1a2)){var _0x211680=function _0x28b70d(){const _0x257315=_0x460461;return this instanceof _0x28b70d?Reflect[_0x257315(0x1ad)](_0x41319f,arguments,this['constructor']):_0x41319f[_0x257315(0x265)](this,arguments);};_0x211680['prototype']=_0x41319f['prototype'];}else _0x211680={};return Object[_0x460461(0x24e)](_0x211680,_0x460461(0x285),{'value':!0x0}),Object[_0x460461(0x149)](_0x1e9a90)['forEach'](function(_0xade50c){const _0x456ffa=_0x460461;var _0x19e87c=Object['getOwnPropertyDescriptor'](_0x1e9a90,_0xade50c);Object[_0x456ffa(0x24e)](_0x211680,_0xade50c,_0x19e87c[_0x456ffa(0x1f3)]?_0x19e87c:{'enumerable':!0x0,'get':function(){return _0x1e9a90[_0xade50c];}});}),_0x211680;}var te={'exports':{}},ge,Ye;function V(){const _0x3d9905=_0x33fa;if(Ye)return ge;Ye=0x1;const _0x3859dd=[_0x3d9905(0x1e5),_0x3d9905(0x225),_0x3d9905(0x126)],_0x2d3692=typeof Blob<'u';return _0x2d3692&&_0x3859dd['push'](_0x3d9905(0x132)),ge={'BINARY_TYPES':_0x3859dd,'EMPTY_BUFFER':Buffer[_0x3d9905(0x160)](0x0),'GUID':'258EAFA5-E914-47DA-95CA-C5AB0DC85B11','hasBlob':_0x2d3692,'kForOnEventAttribute':Symbol(_0x3d9905(0x24b)),'kListener':Symbol(_0x3d9905(0x241)),'kStatusCode':Symbol(_0x3d9905(0x276)),'kWebSocket':Symbol(_0x3d9905(0x18b)),'NOOP':()=>{}},ge;}const Wt={},Gt=Object[_0xc592e0(0x145)](Object['defineProperty']({'__proto__':null,'default':Wt},Symbol[_0xc592e0(0x150)],{'value':_0xc592e0(0x221)})),Vt=ut(Gt);var Ke;function ce(){const _0x5a966b=_0xc592e0;if(Ke)return te[_0x5a966b(0x1fa)];Ke=0x1;const {EMPTY_BUFFER:_0x2fb8f1}=V(),_0x1c8125=Buffer[Symbol['species']];function _0x818731(_0xa51c0a,_0xa7c251){const _0x3f265c=_0x5a966b;if(_0xa51c0a['length']===0x0)return _0x2fb8f1;if(_0xa51c0a[_0x3f265c(0x187)]===0x1)return _0xa51c0a[0x0];const _0x11dec5=Buffer[_0x3f265c(0x271)](_0xa7c251);let _0x774316=0x0;for(let _0x3555e5=0x0;_0x3555e5<_0xa51c0a[_0x3f265c(0x187)];_0x3555e5++){const _0x49573b=_0xa51c0a[_0x3555e5];_0x11dec5[_0x3f265c(0x229)](_0x49573b,_0x774316),_0x774316+=_0x49573b['length'];}return _0x774316<_0xa7c251?new _0x1c8125(_0x11dec5['buffer'],_0x11dec5['byteOffset'],_0x774316):_0x11dec5;}function _0x3c8c52(_0x34ea62,_0x12f93f,_0x30c101,_0x5c06bb,_0x43037f){for(let _0x58ce82=0x0;_0x58ce82<_0x43037f;_0x58ce82++)_0x30c101[_0x5c06bb+_0x58ce82]=_0x34ea62[_0x58ce82]^_0x12f93f[_0x58ce82&0x3];}function _0x4b5049(_0x2fde7d,_0x470692){for(let _0x3a00d5=0x0;_0x3a00d5<_0x2fde7d['length'];_0x3a00d5++)_0x2fde7d[_0x3a00d5]^=_0x470692[_0x3a00d5&0x3];}function _0x14080b(_0x2cd8eb){const _0x45c6e4=_0x5a966b;return _0x2cd8eb[_0x45c6e4(0x187)]===_0x2cd8eb[_0x45c6e4(0x16d)]['byteLength']?_0x2cd8eb[_0x45c6e4(0x16d)]:_0x2cd8eb[_0x45c6e4(0x16d)]['slice'](_0x2cd8eb[_0x45c6e4(0x2af)],_0x2cd8eb[_0x45c6e4(0x2af)]+_0x2cd8eb['length']);}function _0x453e5b(_0x375e8a){const _0x3f5443=_0x5a966b;if(_0x453e5b[_0x3f5443(0x2a8)]=!0x0,Buffer[_0x3f5443(0x1f2)](_0x375e8a))return _0x375e8a;let _0x4299d7;return _0x375e8a instanceof ArrayBuffer?_0x4299d7=new _0x1c8125(_0x375e8a):ArrayBuffer['isView'](_0x375e8a)?_0x4299d7=new _0x1c8125(_0x375e8a[_0x3f5443(0x16d)],_0x375e8a[_0x3f5443(0x2af)],_0x375e8a['byteLength']):(_0x4299d7=Buffer[_0x3f5443(0x17c)](_0x375e8a),_0x453e5b[_0x3f5443(0x2a8)]=!0x1),_0x4299d7;}if(te[_0x5a966b(0x1fa)]={'concat':_0x818731,'mask':_0x3c8c52,'toArrayBuffer':_0x14080b,'toBuffer':_0x453e5b,'unmask':_0x4b5049},!process['env'][_0x5a966b(0x299)])try{const _0xab576e=Vt;te['exports'][_0x5a966b(0x1e1)]=function(_0x3a4200,_0x3810b1,_0xc7776c,_0x2dde30,_0x531d61){_0x531d61<0x30?_0x3c8c52(_0x3a4200,_0x3810b1,_0xc7776c,_0x2dde30,_0x531d61):_0xab576e['mask'](_0x3a4200,_0x3810b1,_0xc7776c,_0x2dde30,_0x531d61);},te[_0x5a966b(0x1fa)][_0x5a966b(0x217)]=function(_0x241b52,_0x513ce3){const _0x418f92=_0x5a966b;_0x241b52[_0x418f92(0x187)]<0x20?_0x4b5049(_0x241b52,_0x513ce3):_0xab576e['unmask'](_0x241b52,_0x513ce3);};}catch{}return te[_0x5a966b(0x1fa)];}var ye,Xe;function qt(){const _0x2d159b=_0xc592e0;if(Xe)return ye;Xe=0x1;const _0x4e384c=Symbol(_0x2d159b(0x1fc)),_0x22dd83=Symbol(_0x2d159b(0x170));class _0x42c3fd{constructor(_0x55f5b0){const _0x2546c0=_0x2d159b;this[_0x4e384c]=()=>{const _0x1bb47f=_0x33fa;this[_0x1bb47f(0x1ec)]--,this[_0x22dd83]();},this[_0x2546c0(0x19a)]=_0x55f5b0||0x1/0x0,this[_0x2546c0(0x141)]=[],this[_0x2546c0(0x1ec)]=0x0;}[_0x2d159b(0x25e)](_0x211581){const _0x2452de=_0x2d159b;this['jobs'][_0x2452de(0x193)](_0x211581),this[_0x22dd83]();}[_0x22dd83](){const _0x3b0dc5=_0x2d159b;if(this[_0x3b0dc5(0x1ec)]!==this['concurrency']&&this[_0x3b0dc5(0x141)]['length']){const _0x33c505=this[_0x3b0dc5(0x141)][_0x3b0dc5(0x2d7)]();this[_0x3b0dc5(0x1ec)]++,_0x33c505(this[_0x4e384c]);}}}return ye=_0x42c3fd,ye;}var ve,Ze;function he(){const _0x1e4763=_0xc592e0;if(Ze)return ve;Ze=0x1;const _0x5919ec=_0x31bb7e,_0x45e18a=ce(),_0x2fab12=qt(),{kStatusCode:_0x517da1}=V(),_0x32d893=Buffer[Symbol[_0x1e4763(0x19e)]],_0x464688=Buffer[_0x1e4763(0x17c)]([0x0,0x0,0xff,0xff]),_0x40ad8a=Symbol(_0x1e4763(0x28b)),_0x2c0160=Symbol(_0x1e4763(0x20f)),_0x3581ec=Symbol(_0x1e4763(0x1e4)),_0x24ad05=Symbol(_0x1e4763(0x155)),_0x50949a=Symbol('error');let _0x526b4d;class _0x4941c0{constructor(_0x278117,_0x300533,_0x26211c){const _0x424214=_0x1e4763;if(this[_0x424214(0x23d)]=_0x26211c|0x0,this['_options']=_0x278117||{},this[_0x424214(0x1b9)]=this[_0x424214(0x20c)][_0x424214(0x1dc)]!==void 0x0?this[_0x424214(0x20c)]['threshold']:0x400,this[_0x424214(0x238)]=!!_0x300533,this[_0x424214(0x152)]=null,this[_0x424214(0x28a)]=null,this[_0x424214(0x294)]=null,!_0x526b4d){const _0x29a5ab=this[_0x424214(0x20c)][_0x424214(0x2b0)]!==void 0x0?this[_0x424214(0x20c)][_0x424214(0x2b0)]:0xa;_0x526b4d=new _0x2fab12(_0x29a5ab);}}static get['extensionName'](){const _0x9ed47e=_0x1e4763;return _0x9ed47e(0x28b);}[_0x1e4763(0x19d)](){const _0x317383=_0x1e4763,_0x379f4d={};return this[_0x317383(0x20c)][_0x317383(0x2ab)]&&(_0x379f4d[_0x317383(0x220)]=!0x0),this[_0x317383(0x20c)][_0x317383(0x2c6)]&&(_0x379f4d[_0x317383(0x1dd)]=!0x0),this['_options'][_0x317383(0x208)]&&(_0x379f4d[_0x317383(0x1fd)]=this[_0x317383(0x20c)][_0x317383(0x208)]),this['_options']['clientMaxWindowBits']?_0x379f4d['client_max_window_bits']=this[_0x317383(0x20c)][_0x317383(0x1d2)]:this[_0x317383(0x20c)][_0x317383(0x1d2)]==null&&(_0x379f4d['client_max_window_bits']=!0x0),_0x379f4d;}['accept'](_0x2b3934){const _0x2477a3=_0x1e4763;return _0x2b3934=this[_0x2477a3(0x162)](_0x2b3934),this['params']=this[_0x2477a3(0x238)]?this[_0x2477a3(0x1b3)](_0x2b3934):this[_0x2477a3(0x1b6)](_0x2b3934),this[_0x2477a3(0x294)];}[_0x1e4763(0x25d)](){const _0x1b4db1=_0x1e4763;if(this[_0x1b4db1(0x28a)]&&(this['_inflate'][_0x1b4db1(0x1aa)](),this['_inflate']=null),this[_0x1b4db1(0x152)]){const _0x3b0b74=this[_0x1b4db1(0x152)][_0x3581ec];this[_0x1b4db1(0x152)][_0x1b4db1(0x1aa)](),this[_0x1b4db1(0x152)]=null,_0x3b0b74&&_0x3b0b74(new Error(_0x1b4db1(0x243)));}}[_0x1e4763(0x1b3)](_0x3684db){const _0x363ccf=_0x1e4763,_0x5c698d=this[_0x363ccf(0x20c)],_0xc05606=_0x3684db[_0x363ccf(0x1db)](_0x311e5d=>!(_0x5c698d['serverNoContextTakeover']===!0x1&&_0x311e5d[_0x363ccf(0x220)]||_0x311e5d[_0x363ccf(0x1fd)]&&(_0x5c698d[_0x363ccf(0x208)]===!0x1||typeof _0x5c698d['serverMaxWindowBits']==_0x363ccf(0x128)&&_0x5c698d[_0x363ccf(0x208)]>_0x311e5d[_0x363ccf(0x1fd)])||typeof _0x5c698d[_0x363ccf(0x1d2)]==_0x363ccf(0x128)&&!_0x311e5d[_0x363ccf(0x23b)]));if(!_0xc05606)throw new Error('None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted');return _0x5c698d[_0x363ccf(0x2ab)]&&(_0xc05606['server_no_context_takeover']=!0x0),_0x5c698d['clientNoContextTakeover']&&(_0xc05606['client_no_context_takeover']=!0x0),typeof _0x5c698d[_0x363ccf(0x208)]=='number'&&(_0xc05606['server_max_window_bits']=_0x5c698d[_0x363ccf(0x208)]),typeof _0x5c698d[_0x363ccf(0x1d2)]==_0x363ccf(0x128)?_0xc05606[_0x363ccf(0x23b)]=_0x5c698d[_0x363ccf(0x1d2)]:(_0xc05606[_0x363ccf(0x23b)]===!0x0||_0x5c698d[_0x363ccf(0x1d2)]===!0x1)&&delete _0xc05606['client_max_window_bits'],_0xc05606;}[_0x1e4763(0x1b6)](_0x540707){const _0x370f39=_0x1e4763,_0x35dda3=_0x540707[0x0];if(this[_0x370f39(0x20c)][_0x370f39(0x2c6)]===!0x1&&_0x35dda3[_0x370f39(0x1dd)])throw new Error(_0x370f39(0x1cf));if(!_0x35dda3['client_max_window_bits'])typeof this['_options'][_0x370f39(0x1d2)]==_0x370f39(0x128)&&(_0x35dda3[_0x370f39(0x23b)]=this[_0x370f39(0x20c)][_0x370f39(0x1d2)]);else{if(this[_0x370f39(0x20c)]['clientMaxWindowBits']===!0x1||typeof this['_options'][_0x370f39(0x1d2)]==_0x370f39(0x128)&&_0x35dda3[_0x370f39(0x23b)]>this[_0x370f39(0x20c)][_0x370f39(0x1d2)])throw new Error(_0x370f39(0x142));}return _0x35dda3;}[_0x1e4763(0x162)](_0x41c907){const _0x1c4567=_0x1e4763;return _0x41c907[_0x1c4567(0x248)](_0x3d1182=>{const _0x23d4f3=_0x1c4567;Object[_0x23d4f3(0x149)](_0x3d1182)[_0x23d4f3(0x248)](_0x2ba827=>{const _0x2d004f=_0x23d4f3;let _0x2763bf=_0x3d1182[_0x2ba827];if(_0x2763bf['length']>0x1)throw new Error('Parameter\x20\x22'+_0x2ba827+_0x2d004f(0x12d));if(_0x2763bf=_0x2763bf[0x0],_0x2ba827===_0x2d004f(0x23b)){if(_0x2763bf!==!0x0){const _0x148c28=+_0x2763bf;if(!Number[_0x2d004f(0x237)](_0x148c28)||_0x148c28<0x8||_0x148c28>0xf)throw new TypeError(_0x2d004f(0x1ce)+_0x2ba827+'\x22:\x20'+_0x2763bf);_0x2763bf=_0x148c28;}else{if(!this[_0x2d004f(0x238)])throw new TypeError(_0x2d004f(0x1ce)+_0x2ba827+_0x2d004f(0x1f8)+_0x2763bf);}}else{if(_0x2ba827==='server_max_window_bits'){const _0x55c514=+_0x2763bf;if(!Number[_0x2d004f(0x237)](_0x55c514)||_0x55c514<0x8||_0x55c514>0xf)throw new TypeError(_0x2d004f(0x1ce)+_0x2ba827+_0x2d004f(0x1f8)+_0x2763bf);_0x2763bf=_0x55c514;}else{if(_0x2ba827==='client_no_context_takeover'||_0x2ba827===_0x2d004f(0x220)){if(_0x2763bf!==!0x0)throw new TypeError(_0x2d004f(0x1ce)+_0x2ba827+_0x2d004f(0x1f8)+_0x2763bf);}else throw new Error('Unknown\x20parameter\x20\x22'+_0x2ba827+'\x22');}}_0x3d1182[_0x2ba827]=_0x2763bf;});}),_0x41c907;}['decompress'](_0x311890,_0x1265ab,_0x120b48){_0x526b4d['add'](_0x339f4a=>{this['_decompress'](_0x311890,_0x1265ab,(_0x6b7f22,_0x436de1)=>{_0x339f4a(),_0x120b48(_0x6b7f22,_0x436de1);});});}['compress'](_0x4b3d4a,_0x19b3a9,_0x59559a){const _0x3b14aa=_0x1e4763;_0x526b4d[_0x3b14aa(0x25e)](_0x7666e1=>{this['_compress'](_0x4b3d4a,_0x19b3a9,(_0x194814,_0x418c92)=>{_0x7666e1(),_0x59559a(_0x194814,_0x418c92);});});}['_decompress'](_0x2702e1,_0xaa9241,_0x346b7b){const _0x434e1f=_0x1e4763,_0x4bf84b=this[_0x434e1f(0x238)]?_0x434e1f(0x1a6):_0x434e1f(0x136);if(!this[_0x434e1f(0x28a)]){const _0x2397c5=_0x4bf84b+_0x434e1f(0x2d0),_0x379818=typeof this['params'][_0x2397c5]!=_0x434e1f(0x128)?_0x5919ec[_0x434e1f(0x2ca)]:this[_0x434e1f(0x294)][_0x2397c5];this[_0x434e1f(0x28a)]=_0x5919ec[_0x434e1f(0x211)]({...this['_options'][_0x434e1f(0x143)],'windowBits':_0x379818}),this[_0x434e1f(0x28a)][_0x40ad8a]=this,this['_inflate'][_0x2c0160]=0x0,this[_0x434e1f(0x28a)][_0x24ad05]=[],this[_0x434e1f(0x28a)]['on'](_0x434e1f(0x159),_0x24110f),this[_0x434e1f(0x28a)]['on'](_0x434e1f(0x147),_0x4297f7);}this[_0x434e1f(0x28a)][_0x3581ec]=_0x346b7b,this[_0x434e1f(0x28a)][_0x434e1f(0x2bd)](_0x2702e1),_0xaa9241&&this[_0x434e1f(0x28a)]['write'](_0x464688),this['_inflate']['flush'](()=>{const _0x1ca781=_0x434e1f,_0x2fe3e8=this[_0x1ca781(0x28a)][_0x50949a];if(_0x2fe3e8){this['_inflate'][_0x1ca781(0x1aa)](),this[_0x1ca781(0x28a)]=null,_0x346b7b(_0x2fe3e8);return;}const _0x21e2de=_0x45e18a[_0x1ca781(0x2c8)](this[_0x1ca781(0x28a)][_0x24ad05],this[_0x1ca781(0x28a)][_0x2c0160]);this[_0x1ca781(0x28a)][_0x1ca781(0x255)]['endEmitted']?(this[_0x1ca781(0x28a)][_0x1ca781(0x1aa)](),this[_0x1ca781(0x28a)]=null):(this[_0x1ca781(0x28a)][_0x2c0160]=0x0,this['_inflate'][_0x24ad05]=[],_0xaa9241&&this['params'][_0x4bf84b+_0x1ca781(0x1c7)]&&this[_0x1ca781(0x28a)]['reset']()),_0x346b7b(null,_0x21e2de);});}[_0x1e4763(0x19f)](_0x2d22f3,_0x23477c,_0x2e069d){const _0x5b8981=_0x1e4763,_0x92d4c0=this[_0x5b8981(0x238)]?'server':_0x5b8981(0x1a6);if(!this['_deflate']){const _0x5d6e19=_0x92d4c0+'_max_window_bits',_0x26001e=typeof this[_0x5b8981(0x294)][_0x5d6e19]!=_0x5b8981(0x128)?_0x5919ec[_0x5b8981(0x2ca)]:this[_0x5b8981(0x294)][_0x5d6e19];this[_0x5b8981(0x152)]=_0x5919ec[_0x5b8981(0x21e)]({...this[_0x5b8981(0x20c)]['zlibDeflateOptions'],'windowBits':_0x26001e}),this['_deflate'][_0x2c0160]=0x0,this[_0x5b8981(0x152)][_0x24ad05]=[],this[_0x5b8981(0x152)]['on'](_0x5b8981(0x147),_0x200408);}this['_deflate'][_0x3581ec]=_0x2e069d,this[_0x5b8981(0x152)][_0x5b8981(0x2bd)](_0x2d22f3),this[_0x5b8981(0x152)]['flush'](_0x5919ec['Z_SYNC_FLUSH'],()=>{const _0x284565=_0x5b8981;if(!this['_deflate'])return;let _0x3dfbb7=_0x45e18a[_0x284565(0x2c8)](this[_0x284565(0x152)][_0x24ad05],this[_0x284565(0x152)][_0x2c0160]);_0x23477c&&(_0x3dfbb7=new _0x32d893(_0x3dfbb7[_0x284565(0x16d)],_0x3dfbb7['byteOffset'],_0x3dfbb7['length']-0x4)),this['_deflate'][_0x3581ec]=null,this[_0x284565(0x152)][_0x2c0160]=0x0,this[_0x284565(0x152)][_0x24ad05]=[],_0x23477c&&this['params'][_0x92d4c0+_0x284565(0x1c7)]&&this[_0x284565(0x152)][_0x284565(0x1d7)](),_0x2e069d(null,_0x3dfbb7);});}}ve=_0x4941c0;function _0x200408(_0x175de2){const _0x25d24a=_0x1e4763;this[_0x24ad05][_0x25d24a(0x193)](_0x175de2),this[_0x2c0160]+=_0x175de2[_0x25d24a(0x187)];}function _0x4297f7(_0xe15bba){const _0x535975=_0x1e4763;if(this[_0x2c0160]+=_0xe15bba[_0x535975(0x187)],this[_0x40ad8a][_0x535975(0x23d)]<0x1||this[_0x2c0160]<=this[_0x40ad8a][_0x535975(0x23d)]){this[_0x24ad05][_0x535975(0x193)](_0xe15bba);return;}this[_0x50949a]=new RangeError(_0x535975(0x282)),this[_0x50949a][_0x535975(0x14e)]=_0x535975(0x2ac),this[_0x50949a][_0x517da1]=0x3f1,this[_0x535975(0x189)]('data',_0x4297f7),this[_0x535975(0x1d7)]();}function _0x24110f(_0xc7da73){const _0x3bc6ec=_0x1e4763;this[_0x40ad8a][_0x3bc6ec(0x28a)]=null,_0xc7da73[_0x517da1]=0x3ef,this[_0x3581ec](_0xc7da73);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0xc592e0(0x145)](Object[_0xc592e0(0x24e)]({'__proto__':null,'default':Ht},Symbol[_0xc592e0(0x150)],{'value':'Module'})),Yt=ut(zt);var Qe;function ne(){const _0x405cb0=_0xc592e0;if(Qe)return re[_0x405cb0(0x1fa)];Qe=0x1;const {isUtf8:_0x1097f0}=_0x4561d1,{hasBlob:_0xf6bbb6}=V(),_0x35272f=[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 _0x1b9eee(_0x4287fa){return _0x4287fa>=0x3e8&&_0x4287fa<=0x3f6&&_0x4287fa!==0x3ec&&_0x4287fa!==0x3ed&&_0x4287fa!==0x3ee||_0x4287fa>=0xbb8&&_0x4287fa<=0x1387;}function _0x561b1e(_0x1c8b73){const _0x3f8505=_0x405cb0,_0x1cbc03=_0x1c8b73[_0x3f8505(0x187)];let _0x18c032=0x0;for(;_0x18c032<_0x1cbc03;)if((_0x1c8b73[_0x18c032]&0x80)===0x0)_0x18c032++;else{if((_0x1c8b73[_0x18c032]&0xe0)===0xc0){if(_0x18c032+0x1===_0x1cbc03||(_0x1c8b73[_0x18c032+0x1]&0xc0)!==0x80||(_0x1c8b73[_0x18c032]&0xfe)===0xc0)return!0x1;_0x18c032+=0x2;}else{if((_0x1c8b73[_0x18c032]&0xf0)===0xe0){if(_0x18c032+0x2>=_0x1cbc03||(_0x1c8b73[_0x18c032+0x1]&0xc0)!==0x80||(_0x1c8b73[_0x18c032+0x2]&0xc0)!==0x80||_0x1c8b73[_0x18c032]===0xe0&&(_0x1c8b73[_0x18c032+0x1]&0xe0)===0x80||_0x1c8b73[_0x18c032]===0xed&&(_0x1c8b73[_0x18c032+0x1]&0xe0)===0xa0)return!0x1;_0x18c032+=0x3;}else{if((_0x1c8b73[_0x18c032]&0xf8)===0xf0){if(_0x18c032+0x3>=_0x1cbc03||(_0x1c8b73[_0x18c032+0x1]&0xc0)!==0x80||(_0x1c8b73[_0x18c032+0x2]&0xc0)!==0x80||(_0x1c8b73[_0x18c032+0x3]&0xc0)!==0x80||_0x1c8b73[_0x18c032]===0xf0&&(_0x1c8b73[_0x18c032+0x1]&0xf0)===0x80||_0x1c8b73[_0x18c032]===0xf4&&_0x1c8b73[_0x18c032+0x1]>0x8f||_0x1c8b73[_0x18c032]>0xf4)return!0x1;_0x18c032+=0x4;}else return!0x1;}}}return!0x0;}function _0x585132(_0x5ab3ab){const _0x58895a=_0x405cb0;return _0xf6bbb6&&typeof _0x5ab3ab==_0x58895a(0x2a4)&&typeof _0x5ab3ab[_0x58895a(0x1c8)]==_0x58895a(0x1a2)&&typeof _0x5ab3ab[_0x58895a(0x1da)]==_0x58895a(0x263)&&typeof _0x5ab3ab[_0x58895a(0x277)]==_0x58895a(0x1a2)&&(_0x5ab3ab[Symbol[_0x58895a(0x150)]]==='Blob'||_0x5ab3ab[Symbol[_0x58895a(0x150)]]===_0x58895a(0x20d));}if(re[_0x405cb0(0x1fa)]={'isBlob':_0x585132,'isValidStatusCode':_0x1b9eee,'isValidUTF8':_0x561b1e,'tokenChars':_0x35272f},_0x1097f0)re[_0x405cb0(0x1fa)]['isValidUTF8']=function(_0x3c0c9c){return _0x3c0c9c['length']<0x18?_0x561b1e(_0x3c0c9c):_0x1097f0(_0x3c0c9c);};else{if(!process[_0x405cb0(0x2b2)][_0x405cb0(0x2a1)])try{const _0x1d3277=Yt;re[_0x405cb0(0x1fa)][_0x405cb0(0x291)]=function(_0x5d121b){return _0x5d121b['length']<0x20?_0x561b1e(_0x5d121b):_0x1d3277(_0x5d121b);};}catch{}}return re[_0x405cb0(0x1fa)];}var Se,Je;function dt(){const _0x480757=_0xc592e0;if(Je)return Se;Je=0x1;const {Writable:_0x31611a}=_0x1ba7a8,_0x405f45=he(),{BINARY_TYPES:_0x121c6e,EMPTY_BUFFER:_0x22181b,kStatusCode:_0x1b7d13,kWebSocket:_0x372e4c}=V(),{concat:_0x531ca8,toArrayBuffer:_0x1bc102,unmask:_0x41f58c}=ce(),{isValidStatusCode:_0x58ea54,isValidUTF8:_0x2c7cc5}=ne(),_0x8430bf=Buffer[Symbol[_0x480757(0x19e)]],_0x3a9485=0x0,_0x49e0d4=0x1,_0x1da475=0x2,_0x279059=0x3,_0x4d60f8=0x4,_0x21ef5c=0x5,_0x1b98c3=0x6;class _0x409acf extends _0x31611a{constructor(_0x1acb8b={}){const _0x1e6677=_0x480757;super(),this[_0x1e6677(0x27c)]=_0x1acb8b['allowSynchronousEvents']!==void 0x0?_0x1acb8b[_0x1e6677(0x13c)]:!0x0,this[_0x1e6677(0x2d4)]=_0x1acb8b[_0x1e6677(0x1a4)]||_0x121c6e[0x0],this[_0x1e6677(0x138)]=_0x1acb8b[_0x1e6677(0x15b)]||{},this[_0x1e6677(0x238)]=!!_0x1acb8b['isServer'],this[_0x1e6677(0x23d)]=_0x1acb8b['maxPayload']|0x0,this[_0x1e6677(0x1b2)]=!!_0x1acb8b['skipUTF8Validation'],this[_0x372e4c]=void 0x0,this['_bufferedBytes']=0x0,this[_0x1e6677(0x236)]=[],this[_0x1e6677(0x135)]=!0x1,this[_0x1e6677(0x191)]=0x0,this['_mask']=void 0x0,this['_fragmented']=0x0,this['_masked']=!0x1,this[_0x1e6677(0x1a0)]=!0x1,this['_opcode']=0x0,this[_0x1e6677(0x244)]=0x0,this['_messageLength']=0x0,this[_0x1e6677(0x1c6)]=[],this['_errored']=!0x1,this[_0x1e6677(0x1a7)]=!0x1,this['_state']=_0x3a9485;}[_0x480757(0x144)](_0x2135db,_0x291f76,_0x16ce1a){const _0x448c53=_0x480757;if(this[_0x448c53(0x239)]===0x8&&this[_0x448c53(0x261)]==_0x3a9485)return _0x16ce1a();this[_0x448c53(0x18e)]+=_0x2135db['length'],this[_0x448c53(0x236)][_0x448c53(0x193)](_0x2135db),this[_0x448c53(0x216)](_0x16ce1a);}[_0x480757(0x1ef)](_0x4f4078){const _0x5b93d7=_0x480757;if(this['_bufferedBytes']-=_0x4f4078,_0x4f4078===this[_0x5b93d7(0x236)][0x0][_0x5b93d7(0x187)])return this[_0x5b93d7(0x236)]['shift']();if(_0x4f4078<this[_0x5b93d7(0x236)][0x0][_0x5b93d7(0x187)]){const _0x2162ac=this[_0x5b93d7(0x236)][0x0];return this['_buffers'][0x0]=new _0x8430bf(_0x2162ac[_0x5b93d7(0x16d)],_0x2162ac[_0x5b93d7(0x2af)]+_0x4f4078,_0x2162ac[_0x5b93d7(0x187)]-_0x4f4078),new _0x8430bf(_0x2162ac[_0x5b93d7(0x16d)],_0x2162ac[_0x5b93d7(0x2af)],_0x4f4078);}const _0x774dd2=Buffer[_0x5b93d7(0x271)](_0x4f4078);do{const _0x428d3c=this[_0x5b93d7(0x236)][0x0],_0x5de305=_0x774dd2[_0x5b93d7(0x187)]-_0x4f4078;_0x4f4078>=_0x428d3c[_0x5b93d7(0x187)]?_0x774dd2[_0x5b93d7(0x229)](this[_0x5b93d7(0x236)][_0x5b93d7(0x2d7)](),_0x5de305):(_0x774dd2['set'](new Uint8Array(_0x428d3c[_0x5b93d7(0x16d)],_0x428d3c[_0x5b93d7(0x2af)],_0x4f4078),_0x5de305),this[_0x5b93d7(0x236)][0x0]=new _0x8430bf(_0x428d3c['buffer'],_0x428d3c[_0x5b93d7(0x2af)]+_0x4f4078,_0x428d3c['length']-_0x4f4078)),_0x4f4078-=_0x428d3c['length'];}while(_0x4f4078>0x0);return _0x774dd2;}['startLoop'](_0x35b652){const _0x4d8c4f=_0x480757;this[_0x4d8c4f(0x1a7)]=!0x0;do switch(this[_0x4d8c4f(0x261)]){case _0x3a9485:this[_0x4d8c4f(0x190)](_0x35b652);break;case _0x49e0d4:this['getPayloadLength16'](_0x35b652);break;case _0x1da475:this[_0x4d8c4f(0x200)](_0x35b652);break;case _0x279059:this[_0x4d8c4f(0x171)]();break;case _0x4d60f8:this[_0x4d8c4f(0x2bc)](_0x35b652);break;case _0x21ef5c:case _0x1b98c3:this['_loop']=!0x1;return;}while(this[_0x4d8c4f(0x1a7)]);this[_0x4d8c4f(0x17e)]||_0x35b652();}[_0x480757(0x190)](_0x3a125c){const _0x10d9bb=_0x480757;if(this[_0x10d9bb(0x18e)]<0x2){this[_0x10d9bb(0x1a7)]=!0x1;return;}const _0xcbce82=this[_0x10d9bb(0x1ef)](0x2);if((_0xcbce82[0x0]&0x30)!==0x0){const _0x13dcca=this[_0x10d9bb(0x1c0)](RangeError,_0x10d9bb(0x215),!0x0,0x3ea,_0x10d9bb(0x21d));_0x3a125c(_0x13dcca);return;}const _0x39abd5=(_0xcbce82[0x0]&0x40)===0x40;if(_0x39abd5&&!this[_0x10d9bb(0x138)][_0x405f45[_0x10d9bb(0x2c5)]]){const _0x3883aa=this[_0x10d9bb(0x1c0)](RangeError,_0x10d9bb(0x28c),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x3a125c(_0x3883aa);return;}if(this[_0x10d9bb(0x1a0)]=(_0xcbce82[0x0]&0x80)===0x80,this[_0x10d9bb(0x239)]=_0xcbce82[0x0]&0xf,this[_0x10d9bb(0x191)]=_0xcbce82[0x1]&0x7f,this[_0x10d9bb(0x239)]===0x0){if(_0x39abd5){const _0x387985=this[_0x10d9bb(0x1c0)](RangeError,_0x10d9bb(0x28c),!0x0,0x3ea,_0x10d9bb(0x2d2));_0x3a125c(_0x387985);return;}if(!this['_fragmented']){const _0x1bbefc=this[_0x10d9bb(0x1c0)](RangeError,_0x10d9bb(0x25b),!0x0,0x3ea,_0x10d9bb(0x1d4));_0x3a125c(_0x1bbefc);return;}this[_0x10d9bb(0x239)]=this[_0x10d9bb(0x194)];}else{if(this[_0x10d9bb(0x239)]===0x1||this[_0x10d9bb(0x239)]===0x2){if(this[_0x10d9bb(0x194)]){const _0x20c797=this['createError'](RangeError,'invalid\x20opcode\x20'+this[_0x10d9bb(0x239)],!0x0,0x3ea,_0x10d9bb(0x1d4));_0x3a125c(_0x20c797);return;}this[_0x10d9bb(0x135)]=_0x39abd5;}else{if(this[_0x10d9bb(0x239)]>0x7&&this[_0x10d9bb(0x239)]<0xb){if(!this[_0x10d9bb(0x1a0)]){const _0x5ad6b1=this['createError'](RangeError,_0x10d9bb(0x188),!0x0,0x3ea,_0x10d9bb(0x1c3));_0x3a125c(_0x5ad6b1);return;}if(_0x39abd5){const _0x3b1fdf=this[_0x10d9bb(0x1c0)](RangeError,_0x10d9bb(0x28c),!0x0,0x3ea,_0x10d9bb(0x2d2));_0x3a125c(_0x3b1fdf);return;}if(this[_0x10d9bb(0x191)]>0x7d||this[_0x10d9bb(0x239)]===0x8&&this[_0x10d9bb(0x191)]===0x1){const _0x2d1b39=this[_0x10d9bb(0x1c0)](RangeError,_0x10d9bb(0x28e)+this['_payloadLength'],!0x0,0x3ea,'WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH');_0x3a125c(_0x2d1b39);return;}}else{const _0x20037d=this[_0x10d9bb(0x1c0)](RangeError,_0x10d9bb(0x1de)+this[_0x10d9bb(0x239)],!0x0,0x3ea,_0x10d9bb(0x1d4));_0x3a125c(_0x20037d);return;}}}if(!this[_0x10d9bb(0x1a0)]&&!this[_0x10d9bb(0x194)]&&(this['_fragmented']=this['_opcode']),this['_masked']=(_0xcbce82[0x1]&0x80)===0x80,this[_0x10d9bb(0x238)]){if(!this[_0x10d9bb(0x254)]){const _0x5e1d7a=this[_0x10d9bb(0x1c0)](RangeError,_0x10d9bb(0x2cf),!0x0,0x3ea,_0x10d9bb(0x2d5));_0x3a125c(_0x5e1d7a);return;}}else{if(this[_0x10d9bb(0x254)]){const _0x64223b=this[_0x10d9bb(0x1c0)](RangeError,_0x10d9bb(0x222),!0x0,0x3ea,_0x10d9bb(0x260));_0x3a125c(_0x64223b);return;}}this['_payloadLength']===0x7e?this[_0x10d9bb(0x261)]=_0x49e0d4:this['_payloadLength']===0x7f?this[_0x10d9bb(0x261)]=_0x1da475:this['haveLength'](_0x3a125c);}[_0x480757(0x22c)](_0xd6f2d5){const _0x1880e6=_0x480757;if(this[_0x1880e6(0x18e)]<0x2){this[_0x1880e6(0x1a7)]=!0x1;return;}this[_0x1880e6(0x191)]=this[_0x1880e6(0x1ef)](0x2)[_0x1880e6(0x1d6)](0x0),this[_0x1880e6(0x259)](_0xd6f2d5);}[_0x480757(0x200)](_0x3a4b46){const _0x1c35f3=_0x480757;if(this[_0x1c35f3(0x18e)]<0x8){this[_0x1c35f3(0x1a7)]=!0x1;return;}const _0x581c77=this['consume'](0x8),_0x11afe1=_0x581c77['readUInt32BE'](0x0);if(_0x11afe1>Math['pow'](0x2,0x15)-0x1){const _0x30a828=this[_0x1c35f3(0x1c0)](RangeError,_0x1c35f3(0x280),!0x1,0x3f1,_0x1c35f3(0x1ae));_0x3a4b46(_0x30a828);return;}this[_0x1c35f3(0x191)]=_0x11afe1*Math[_0x1c35f3(0x151)](0x2,0x20)+_0x581c77[_0x1c35f3(0x1f9)](0x4),this[_0x1c35f3(0x259)](_0x3a4b46);}[_0x480757(0x259)](_0x33c7dd){const _0x3a869e=_0x480757;if(this['_payloadLength']&&this[_0x3a869e(0x239)]<0x8&&(this[_0x3a869e(0x244)]+=this[_0x3a869e(0x191)],this[_0x3a869e(0x244)]>this['_maxPayload']&&this[_0x3a869e(0x23d)]>0x0)){const _0x508ace=this['createError'](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x3a869e(0x2ac));_0x33c7dd(_0x508ace);return;}this[_0x3a869e(0x254)]?this['_state']=_0x279059:this[_0x3a869e(0x261)]=_0x4d60f8;}[_0x480757(0x171)](){const _0x4c4864=_0x480757;if(this[_0x4c4864(0x18e)]<0x4){this[_0x4c4864(0x1a7)]=!0x1;return;}this[_0x4c4864(0x29f)]=this[_0x4c4864(0x1ef)](0x4),this['_state']=_0x4d60f8;}[_0x480757(0x2bc)](_0x42182d){const _0x1750e7=_0x480757;let _0xf85f4b=_0x22181b;if(this[_0x1750e7(0x191)]){if(this[_0x1750e7(0x18e)]<this[_0x1750e7(0x191)]){this['_loop']=!0x1;return;}_0xf85f4b=this[_0x1750e7(0x1ef)](this[_0x1750e7(0x191)]),this[_0x1750e7(0x254)]&&(this[_0x1750e7(0x29f)][0x0]|this[_0x1750e7(0x29f)][0x1]|this[_0x1750e7(0x29f)][0x2]|this[_0x1750e7(0x29f)][0x3])!==0x0&&_0x41f58c(_0xf85f4b,this[_0x1750e7(0x29f)]);}if(this[_0x1750e7(0x239)]>0x7){this[_0x1750e7(0x288)](_0xf85f4b,_0x42182d);return;}if(this[_0x1750e7(0x135)]){this[_0x1750e7(0x261)]=_0x21ef5c,this[_0x1750e7(0x24f)](_0xf85f4b,_0x42182d);return;}_0xf85f4b[_0x1750e7(0x187)]&&(this[_0x1750e7(0x256)]=this['_totalPayloadLength'],this[_0x1750e7(0x1c6)]['push'](_0xf85f4b)),this[_0x1750e7(0x2c2)](_0x42182d);}[_0x480757(0x24f)](_0x54b89d,_0x2269d8){const _0x244c90=_0x480757;this[_0x244c90(0x138)][_0x405f45[_0x244c90(0x2c5)]][_0x244c90(0x24f)](_0x54b89d,this[_0x244c90(0x1a0)],(_0x573976,_0x1d0c50)=>{const _0x11bfba=_0x244c90;if(_0x573976)return _0x2269d8(_0x573976);if(_0x1d0c50[_0x11bfba(0x187)]){if(this[_0x11bfba(0x256)]+=_0x1d0c50[_0x11bfba(0x187)],this['_messageLength']>this['_maxPayload']&&this[_0x11bfba(0x23d)]>0x0){const _0x3f130f=this[_0x11bfba(0x1c0)](RangeError,_0x11bfba(0x282),!0x1,0x3f1,_0x11bfba(0x2ac));_0x2269d8(_0x3f130f);return;}this['_fragments'][_0x11bfba(0x193)](_0x1d0c50);}this[_0x11bfba(0x2c2)](_0x2269d8),this['_state']===_0x3a9485&&this['startLoop'](_0x2269d8);});}[_0x480757(0x2c2)](_0x585e79){const _0x300fe4=_0x480757;if(!this[_0x300fe4(0x1a0)]){this[_0x300fe4(0x261)]=_0x3a9485;return;}const _0x27d3f7=this[_0x300fe4(0x256)],_0x205e46=this['_fragments'];if(this[_0x300fe4(0x244)]=0x0,this[_0x300fe4(0x256)]=0x0,this[_0x300fe4(0x194)]=0x0,this[_0x300fe4(0x1c6)]=[],this['_opcode']===0x2){let _0x4aa728;this['_binaryType']===_0x300fe4(0x1e5)?_0x4aa728=_0x531ca8(_0x205e46,_0x27d3f7):this[_0x300fe4(0x2d4)]==='arraybuffer'?_0x4aa728=_0x1bc102(_0x531ca8(_0x205e46,_0x27d3f7)):this['_binaryType']==='blob'?_0x4aa728=new Blob(_0x205e46):_0x4aa728=_0x205e46,this[_0x300fe4(0x27c)]?(this[_0x300fe4(0x203)](_0x300fe4(0x268),_0x4aa728,!0x0),this['_state']=_0x3a9485):(this[_0x300fe4(0x261)]=_0x1b98c3,setImmediate(()=>{const _0x4d59e5=_0x300fe4;this[_0x4d59e5(0x203)](_0x4d59e5(0x268),_0x4aa728,!0x0),this[_0x4d59e5(0x261)]=_0x3a9485,this[_0x4d59e5(0x216)](_0x585e79);}));}else{const _0x487a5d=_0x531ca8(_0x205e46,_0x27d3f7);if(!this['_skipUTF8Validation']&&!_0x2c7cc5(_0x487a5d)){const _0x3d4ba7=this[_0x300fe4(0x1c0)](Error,_0x300fe4(0x27a),!0x0,0x3ef,_0x300fe4(0x1f1));_0x585e79(_0x3d4ba7);return;}this[_0x300fe4(0x261)]===_0x21ef5c||this[_0x300fe4(0x27c)]?(this[_0x300fe4(0x203)](_0x300fe4(0x268),_0x487a5d,!0x1),this[_0x300fe4(0x261)]=_0x3a9485):(this[_0x300fe4(0x261)]=_0x1b98c3,setImmediate(()=>{const _0x35f1c8=_0x300fe4;this['emit'](_0x35f1c8(0x268),_0x487a5d,!0x1),this[_0x35f1c8(0x261)]=_0x3a9485,this[_0x35f1c8(0x216)](_0x585e79);}));}}[_0x480757(0x288)](_0x5d4429,_0x6ca9e3){const _0x3807fc=_0x480757;if(this['_opcode']===0x8){if(_0x5d4429[_0x3807fc(0x187)]===0x0)this[_0x3807fc(0x1a7)]=!0x1,this['emit'](_0x3807fc(0x161),0x3ed,_0x22181b),this[_0x3807fc(0x1f0)]();else{const _0x1b35bf=_0x5d4429[_0x3807fc(0x1d6)](0x0);if(!_0x58ea54(_0x1b35bf)){const _0x4041d0=this['createError'](RangeError,_0x3807fc(0x25a)+_0x1b35bf,!0x0,0x3ea,_0x3807fc(0x242));_0x6ca9e3(_0x4041d0);return;}const _0x504a91=new _0x8430bf(_0x5d4429[_0x3807fc(0x16d)],_0x5d4429[_0x3807fc(0x2af)]+0x2,_0x5d4429['length']-0x2);if(!this[_0x3807fc(0x1b2)]&&!_0x2c7cc5(_0x504a91)){const _0x5b8fb7=this[_0x3807fc(0x1c0)](Error,_0x3807fc(0x27a),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x6ca9e3(_0x5b8fb7);return;}this[_0x3807fc(0x1a7)]=!0x1,this[_0x3807fc(0x203)]('conclude',_0x1b35bf,_0x504a91),this['end']();}this[_0x3807fc(0x261)]=_0x3a9485;return;}this[_0x3807fc(0x27c)]?(this[_0x3807fc(0x203)](this['_opcode']===0x9?_0x3807fc(0x27e):_0x3807fc(0x1b1),_0x5d4429),this[_0x3807fc(0x261)]=_0x3a9485):(this['_state']=_0x1b98c3,setImmediate(()=>{const _0x42671a=_0x3807fc;this[_0x42671a(0x203)](this[_0x42671a(0x239)]===0x9?_0x42671a(0x27e):_0x42671a(0x1b1),_0x5d4429),this[_0x42671a(0x261)]=_0x3a9485,this[_0x42671a(0x216)](_0x6ca9e3);}));}[_0x480757(0x1c0)](_0x3640f1,_0x371d17,_0x3f96a7,_0x321554,_0x18ec3e){const _0x6e66f9=_0x480757;this['_loop']=!0x1,this[_0x6e66f9(0x17e)]=!0x0;const _0x5eb71a=new _0x3640f1(_0x3f96a7?_0x6e66f9(0x1e7)+_0x371d17:_0x371d17);return Error[_0x6e66f9(0x158)](_0x5eb71a,this[_0x6e66f9(0x1c0)]),_0x5eb71a[_0x6e66f9(0x14e)]=_0x18ec3e,_0x5eb71a[_0x1b7d13]=_0x321554,_0x5eb71a;}}return Se=_0x409acf,Se;}var Ee,et;function _t(){const _0x37a645=_0xc592e0;if(et)return Ee;et=0x1;const {Duplex:_0x507f57}=_0x1ba7a8,{randomFillSync:_0x4191d3}=_0x306241,_0x2f4789=he(),{EMPTY_BUFFER:_0x39c984,kWebSocket:_0x28a698,NOOP:_0x2053f2}=V(),{isBlob:_0x28b4da,isValidStatusCode:_0x54a720}=ne(),{mask:_0xbf093a,toBuffer:_0x661468}=ce(),_0x5150ec=Symbol('kByteLength'),_0x1285ee=Buffer['alloc'](0x4),_0x6880db=0x8*0x400;let _0x21239b,_0x264dd1=_0x6880db;const _0x190fa8=0x0,_0x41926d=0x1,_0x50ac63=0x2;class _0x1fcecc{constructor(_0x94e9df,_0x31cab6,_0x54b773){const _0x159d91=_0x33fa;this[_0x159d91(0x138)]=_0x31cab6||{},_0x54b773&&(this[_0x159d91(0x1f4)]=_0x54b773,this['_maskBuffer']=Buffer[_0x159d91(0x160)](0x4)),this['_socket']=_0x94e9df,this['_firstFragment']=!0x0,this[_0x159d91(0x19f)]=!0x1,this[_0x159d91(0x18e)]=0x0,this['_queue']=[],this[_0x159d91(0x261)]=_0x190fa8,this['onerror']=_0x2053f2,this[_0x28a698]=void 0x0;}static[_0x37a645(0x180)](_0x2fcb1a,_0x1e2265){const _0x14d920=_0x37a645;let _0x13db3e,_0x5ebd7a=!0x1,_0x3d922e=0x2,_0xb03e20=!0x1;_0x1e2265[_0x14d920(0x1e1)]&&(_0x13db3e=_0x1e2265[_0x14d920(0x164)]||_0x1285ee,_0x1e2265[_0x14d920(0x235)]?_0x1e2265[_0x14d920(0x235)](_0x13db3e):(_0x264dd1===_0x6880db&&(_0x21239b===void 0x0&&(_0x21239b=Buffer[_0x14d920(0x160)](_0x6880db)),_0x4191d3(_0x21239b,0x0,_0x6880db),_0x264dd1=0x0),_0x13db3e[0x0]=_0x21239b[_0x264dd1++],_0x13db3e[0x1]=_0x21239b[_0x264dd1++],_0x13db3e[0x2]=_0x21239b[_0x264dd1++],_0x13db3e[0x3]=_0x21239b[_0x264dd1++]),_0xb03e20=(_0x13db3e[0x0]|_0x13db3e[0x1]|_0x13db3e[0x2]|_0x13db3e[0x3])===0x0,_0x3d922e=0x6);let _0x3311ad;typeof _0x2fcb1a=='string'?(!_0x1e2265[_0x14d920(0x1e1)]||_0xb03e20)&&_0x1e2265[_0x5150ec]!==void 0x0?_0x3311ad=_0x1e2265[_0x5150ec]:(_0x2fcb1a=Buffer['from'](_0x2fcb1a),_0x3311ad=_0x2fcb1a[_0x14d920(0x187)]):(_0x3311ad=_0x2fcb1a[_0x14d920(0x187)],_0x5ebd7a=_0x1e2265[_0x14d920(0x1e1)]&&_0x1e2265[_0x14d920(0x2a8)]&&!_0xb03e20);let _0x18a9f7=_0x3311ad;_0x3311ad>=0x10000?(_0x3d922e+=0x8,_0x18a9f7=0x7f):_0x3311ad>0x7d&&(_0x3d922e+=0x2,_0x18a9f7=0x7e);const _0x438c54=Buffer['allocUnsafe'](_0x5ebd7a?_0x3311ad+_0x3d922e:_0x3d922e);return _0x438c54[0x0]=_0x1e2265[_0x14d920(0x2c0)]?_0x1e2265[_0x14d920(0x2cd)]|0x80:_0x1e2265[_0x14d920(0x2cd)],_0x1e2265['rsv1']&&(_0x438c54[0x0]|=0x40),_0x438c54[0x1]=_0x18a9f7,_0x18a9f7===0x7e?_0x438c54[_0x14d920(0x168)](_0x3311ad,0x2):_0x18a9f7===0x7f&&(_0x438c54[0x2]=_0x438c54[0x3]=0x0,_0x438c54[_0x14d920(0x2d3)](_0x3311ad,0x4,0x6)),_0x1e2265[_0x14d920(0x1e1)]?(_0x438c54[0x1]|=0x80,_0x438c54[_0x3d922e-0x4]=_0x13db3e[0x0],_0x438c54[_0x3d922e-0x3]=_0x13db3e[0x1],_0x438c54[_0x3d922e-0x2]=_0x13db3e[0x2],_0x438c54[_0x3d922e-0x1]=_0x13db3e[0x3],_0xb03e20?[_0x438c54,_0x2fcb1a]:_0x5ebd7a?(_0xbf093a(_0x2fcb1a,_0x13db3e,_0x438c54,_0x3d922e,_0x3311ad),[_0x438c54]):(_0xbf093a(_0x2fcb1a,_0x13db3e,_0x2fcb1a,0x0,_0x3311ad),[_0x438c54,_0x2fcb1a])):[_0x438c54,_0x2fcb1a];}[_0x37a645(0x1aa)](_0x17d54f,_0x579afb,_0x24484e,_0x1a6b8d){const _0x4c9f10=_0x37a645;let _0x2abb91;if(_0x17d54f===void 0x0)_0x2abb91=_0x39c984;else{if(typeof _0x17d54f!='number'||!_0x54a720(_0x17d54f))throw new TypeError(_0x4c9f10(0x1f6));if(_0x579afb===void 0x0||!_0x579afb[_0x4c9f10(0x187)])_0x2abb91=Buffer[_0x4c9f10(0x271)](0x2),_0x2abb91['writeUInt16BE'](_0x17d54f,0x0);else{const _0x59623f=Buffer[_0x4c9f10(0x272)](_0x579afb);if(_0x59623f>0x7b)throw new RangeError(_0x4c9f10(0x1fb));_0x2abb91=Buffer['allocUnsafe'](0x2+_0x59623f),_0x2abb91['writeUInt16BE'](_0x17d54f,0x0),typeof _0x579afb==_0x4c9f10(0x263)?_0x2abb91['write'](_0x579afb,0x2):_0x2abb91[_0x4c9f10(0x229)](_0x579afb,0x2);}}const _0x1cd10c={[_0x5150ec]:_0x2abb91[_0x4c9f10(0x187)],'fin':!0x0,'generateMask':this[_0x4c9f10(0x1f4)],'mask':_0x24484e,'maskBuffer':this[_0x4c9f10(0x192)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x4c9f10(0x261)]!==_0x190fa8?this['enqueue']([this[_0x4c9f10(0x21b)],_0x2abb91,!0x1,_0x1cd10c,_0x1a6b8d]):this[_0x4c9f10(0x15e)](_0x1fcecc[_0x4c9f10(0x180)](_0x2abb91,_0x1cd10c),_0x1a6b8d);}[_0x37a645(0x27e)](_0x9e6417,_0x133efb,_0x4423c5){const _0x3b46a8=_0x37a645;let _0x3ba549,_0x1de455;if(typeof _0x9e6417==_0x3b46a8(0x263)?(_0x3ba549=Buffer[_0x3b46a8(0x272)](_0x9e6417),_0x1de455=!0x1):_0x28b4da(_0x9e6417)?(_0x3ba549=_0x9e6417['size'],_0x1de455=!0x1):(_0x9e6417=_0x661468(_0x9e6417),_0x3ba549=_0x9e6417[_0x3b46a8(0x187)],_0x1de455=_0x661468[_0x3b46a8(0x2a8)]),_0x3ba549>0x7d)throw new RangeError(_0x3b46a8(0x14a));const _0x3e1c06={[_0x5150ec]:_0x3ba549,'fin':!0x0,'generateMask':this[_0x3b46a8(0x1f4)],'mask':_0x133efb,'maskBuffer':this[_0x3b46a8(0x192)],'opcode':0x9,'readOnly':_0x1de455,'rsv1':!0x1};_0x28b4da(_0x9e6417)?this[_0x3b46a8(0x261)]!==_0x190fa8?this[_0x3b46a8(0x167)]([this[_0x3b46a8(0x25c)],_0x9e6417,!0x1,_0x3e1c06,_0x4423c5]):this['getBlobData'](_0x9e6417,!0x1,_0x3e1c06,_0x4423c5):this[_0x3b46a8(0x261)]!==_0x190fa8?this[_0x3b46a8(0x167)]([this['dispatch'],_0x9e6417,!0x1,_0x3e1c06,_0x4423c5]):this[_0x3b46a8(0x15e)](_0x1fcecc['frame'](_0x9e6417,_0x3e1c06),_0x4423c5);}[_0x37a645(0x1b1)](_0x5644bb,_0x2551be,_0x49d8a6){const _0x126628=_0x37a645;let _0x27a87c,_0x3eeb9e;if(typeof _0x5644bb==_0x126628(0x263)?(_0x27a87c=Buffer[_0x126628(0x272)](_0x5644bb),_0x3eeb9e=!0x1):_0x28b4da(_0x5644bb)?(_0x27a87c=_0x5644bb[_0x126628(0x1e2)],_0x3eeb9e=!0x1):(_0x5644bb=_0x661468(_0x5644bb),_0x27a87c=_0x5644bb[_0x126628(0x187)],_0x3eeb9e=_0x661468[_0x126628(0x2a8)]),_0x27a87c>0x7d)throw new RangeError(_0x126628(0x14a));const _0x816d87={[_0x5150ec]:_0x27a87c,'fin':!0x0,'generateMask':this[_0x126628(0x1f4)],'mask':_0x2551be,'maskBuffer':this[_0x126628(0x192)],'opcode':0xa,'readOnly':_0x3eeb9e,'rsv1':!0x1};_0x28b4da(_0x5644bb)?this['_state']!==_0x190fa8?this[_0x126628(0x167)]([this[_0x126628(0x25c)],_0x5644bb,!0x1,_0x816d87,_0x49d8a6]):this[_0x126628(0x25c)](_0x5644bb,!0x1,_0x816d87,_0x49d8a6):this[_0x126628(0x261)]!==_0x190fa8?this[_0x126628(0x167)]([this[_0x126628(0x21b)],_0x5644bb,!0x1,_0x816d87,_0x49d8a6]):this[_0x126628(0x15e)](_0x1fcecc[_0x126628(0x180)](_0x5644bb,_0x816d87),_0x49d8a6);}[_0x37a645(0x2b5)](_0x6a6564,_0x4cf4e0,_0x57ab66){const _0x4ba586=_0x37a645,_0x19645e=this['_extensions'][_0x2f4789['extensionName']];let _0x3ef702=_0x4cf4e0[_0x4ba586(0x224)]?0x2:0x1,_0x5d0ef9=_0x4cf4e0['compress'],_0x5ad512,_0x285375;typeof _0x6a6564==_0x4ba586(0x263)?(_0x5ad512=Buffer['byteLength'](_0x6a6564),_0x285375=!0x1):_0x28b4da(_0x6a6564)?(_0x5ad512=_0x6a6564[_0x4ba586(0x1e2)],_0x285375=!0x1):(_0x6a6564=_0x661468(_0x6a6564),_0x5ad512=_0x6a6564[_0x4ba586(0x187)],_0x285375=_0x661468[_0x4ba586(0x2a8)]),this['_firstFragment']?(this['_firstFragment']=!0x1,_0x5d0ef9&&_0x19645e&&_0x19645e[_0x4ba586(0x294)][_0x19645e[_0x4ba586(0x238)]?'server_no_context_takeover':'client_no_context_takeover']&&(_0x5d0ef9=_0x5ad512>=_0x19645e['_threshold']),this[_0x4ba586(0x19f)]=_0x5d0ef9):(_0x5d0ef9=!0x1,_0x3ef702=0x0),_0x4cf4e0[_0x4ba586(0x2c0)]&&(this[_0x4ba586(0x1d1)]=!0x0);const _0x465a66={[_0x5150ec]:_0x5ad512,'fin':_0x4cf4e0[_0x4ba586(0x2c0)],'generateMask':this['_generateMask'],'mask':_0x4cf4e0[_0x4ba586(0x1e1)],'maskBuffer':this[_0x4ba586(0x192)],'opcode':_0x3ef702,'readOnly':_0x285375,'rsv1':_0x5d0ef9};_0x28b4da(_0x6a6564)?this[_0x4ba586(0x261)]!==_0x190fa8?this[_0x4ba586(0x167)]([this['getBlobData'],_0x6a6564,this[_0x4ba586(0x19f)],_0x465a66,_0x57ab66]):this[_0x4ba586(0x25c)](_0x6a6564,this[_0x4ba586(0x19f)],_0x465a66,_0x57ab66):this[_0x4ba586(0x261)]!==_0x190fa8?this[_0x4ba586(0x167)]([this[_0x4ba586(0x21b)],_0x6a6564,this[_0x4ba586(0x19f)],_0x465a66,_0x57ab66]):this[_0x4ba586(0x21b)](_0x6a6564,this[_0x4ba586(0x19f)],_0x465a66,_0x57ab66);}['getBlobData'](_0x230bb0,_0x3b2e50,_0x33f2bf,_0x11be9e){const _0x6b286f=_0x37a645;this['_bufferedBytes']+=_0x33f2bf[_0x5150ec],this[_0x6b286f(0x261)]=_0x50ac63,_0x230bb0[_0x6b286f(0x1c8)]()[_0x6b286f(0x1c1)](_0x80f0bd=>{const _0x308858=_0x6b286f;if(this[_0x308858(0x1d8)][_0x308858(0x1af)]){const _0x243ab8=new Error(_0x308858(0x1bd));process[_0x308858(0x2a2)](_0x357645,this,_0x243ab8,_0x11be9e);return;}this['_bufferedBytes']-=_0x33f2bf[_0x5150ec];const _0x42a364=_0x661468(_0x80f0bd);_0x3b2e50?this['dispatch'](_0x42a364,_0x3b2e50,_0x33f2bf,_0x11be9e):(this['_state']=_0x190fa8,this[_0x308858(0x15e)](_0x1fcecc[_0x308858(0x180)](_0x42a364,_0x33f2bf),_0x11be9e),this[_0x308858(0x2aa)]());})[_0x6b286f(0x2d6)](_0x37497f=>{const _0x17e970=_0x6b286f;process[_0x17e970(0x2a2)](_0x58348c,this,_0x37497f,_0x11be9e);});}['dispatch'](_0x4d0fe7,_0x44f3a9,_0x497378,_0xd8ff49){const _0x485d58=_0x37a645;if(!_0x44f3a9){this[_0x485d58(0x15e)](_0x1fcecc[_0x485d58(0x180)](_0x4d0fe7,_0x497378),_0xd8ff49);return;}const _0x48c564=this[_0x485d58(0x138)][_0x2f4789[_0x485d58(0x2c5)]];this[_0x485d58(0x18e)]+=_0x497378[_0x5150ec],this[_0x485d58(0x261)]=_0x41926d,_0x48c564['compress'](_0x4d0fe7,_0x497378[_0x485d58(0x2c0)],(_0x57dd7f,_0x41fc6c)=>{const _0x2326b6=_0x485d58;if(this[_0x2326b6(0x1d8)]['destroyed']){const _0x80d617=new Error(_0x2326b6(0x2cb));_0x357645(this,_0x80d617,_0xd8ff49);return;}this[_0x2326b6(0x18e)]-=_0x497378[_0x5150ec],this[_0x2326b6(0x261)]=_0x190fa8,_0x497378[_0x2326b6(0x2a8)]=!0x1,this['sendFrame'](_0x1fcecc[_0x2326b6(0x180)](_0x41fc6c,_0x497378),_0xd8ff49),this[_0x2326b6(0x2aa)]();});}['dequeue'](){const _0x1dc708=_0x37a645;for(;this[_0x1dc708(0x261)]===_0x190fa8&&this['_queue'][_0x1dc708(0x187)];){const _0x438490=this[_0x1dc708(0x12c)][_0x1dc708(0x2d7)]();this['_bufferedBytes']-=_0x438490[0x3][_0x5150ec],Reflect[_0x1dc708(0x265)](_0x438490[0x0],this,_0x438490[_0x1dc708(0x1bb)](0x1));}}[_0x37a645(0x167)](_0x397294){const _0x18d980=_0x37a645;this[_0x18d980(0x18e)]+=_0x397294[0x3][_0x5150ec],this[_0x18d980(0x12c)][_0x18d980(0x193)](_0x397294);}[_0x37a645(0x15e)](_0x12cb34,_0x135918){const _0x309127=_0x37a645;_0x12cb34[_0x309127(0x187)]===0x2?(this[_0x309127(0x1d8)][_0x309127(0x262)](),this[_0x309127(0x1d8)][_0x309127(0x2bd)](_0x12cb34[0x0]),this[_0x309127(0x1d8)][_0x309127(0x2bd)](_0x12cb34[0x1],_0x135918),this[_0x309127(0x1d8)][_0x309127(0x1a1)]()):this[_0x309127(0x1d8)][_0x309127(0x2bd)](_0x12cb34[0x0],_0x135918);}}Ee=_0x1fcecc;function _0x357645(_0x309a7f,_0x23817c,_0x12e8cd){const _0x2ac16a=_0x37a645;typeof _0x12e8cd==_0x2ac16a(0x1a2)&&_0x12e8cd(_0x23817c);for(let _0x195fa5=0x0;_0x195fa5<_0x309a7f[_0x2ac16a(0x12c)][_0x2ac16a(0x187)];_0x195fa5++){const _0x4deaf8=_0x309a7f[_0x2ac16a(0x12c)][_0x195fa5],_0x4ec8ce=_0x4deaf8[_0x4deaf8[_0x2ac16a(0x187)]-0x1];typeof _0x4ec8ce==_0x2ac16a(0x1a2)&&_0x4ec8ce(_0x23817c);}}function _0x58348c(_0x4c1397,_0x4d0b0e,_0x13aa78){const _0x512ad6=_0x37a645;_0x357645(_0x4c1397,_0x4d0b0e,_0x13aa78),_0x4c1397[_0x512ad6(0x28f)](_0x4d0b0e);}return Ee;}var xe,tt;function Kt(){const _0x9eceeb=_0xc592e0;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x5a8feb,kListener:_0x1b83af}=V(),_0x16a3f6=Symbol(_0x9eceeb(0x16a)),_0x58ee00=Symbol('kData'),_0x2e554a=Symbol(_0x9eceeb(0x1b0)),_0x4663ab=Symbol('kMessage'),_0x47cc81=Symbol(_0x9eceeb(0x289)),_0x244953=Symbol(_0x9eceeb(0x195)),_0x35644d=Symbol(_0x9eceeb(0x1b7)),_0x5d3f11=Symbol(_0x9eceeb(0x1cc));class _0x30ece4{constructor(_0x383510){this[_0x244953]=null,this[_0x35644d]=_0x383510;}get[_0x9eceeb(0x1e9)](){return this[_0x244953];}get['type'](){return this[_0x35644d];}}Object[_0x9eceeb(0x24e)](_0x30ece4[_0x9eceeb(0x1e3)],_0x9eceeb(0x1e9),{'enumerable':!0x0}),Object[_0x9eceeb(0x24e)](_0x30ece4[_0x9eceeb(0x1e3)],_0x9eceeb(0x1da),{'enumerable':!0x0});class _0xaaee87 extends _0x30ece4{constructor(_0x5183aa,_0x5d4459={}){const _0x1ef693=_0x9eceeb;super(_0x5183aa),this[_0x16a3f6]=_0x5d4459['code']===void 0x0?0x0:_0x5d4459[_0x1ef693(0x14e)],this[_0x47cc81]=_0x5d4459[_0x1ef693(0x23a)]===void 0x0?'':_0x5d4459[_0x1ef693(0x23a)],this[_0x5d3f11]=_0x5d4459[_0x1ef693(0x2b7)]===void 0x0?!0x1:_0x5d4459['wasClean'];}get[_0x9eceeb(0x14e)](){return this[_0x16a3f6];}get[_0x9eceeb(0x23a)](){return this[_0x47cc81];}get['wasClean'](){return this[_0x5d3f11];}}Object[_0x9eceeb(0x24e)](_0xaaee87[_0x9eceeb(0x1e3)],'code',{'enumerable':!0x0}),Object[_0x9eceeb(0x24e)](_0xaaee87[_0x9eceeb(0x1e3)],_0x9eceeb(0x23a),{'enumerable':!0x0}),Object[_0x9eceeb(0x24e)](_0xaaee87['prototype'],_0x9eceeb(0x2b7),{'enumerable':!0x0});class _0xc18b53 extends _0x30ece4{constructor(_0x2b339b,_0x255915={}){const _0x43332b=_0x9eceeb;super(_0x2b339b),this[_0x2e554a]=_0x255915[_0x43332b(0x159)]===void 0x0?null:_0x255915[_0x43332b(0x159)],this[_0x4663ab]=_0x255915[_0x43332b(0x268)]===void 0x0?'':_0x255915[_0x43332b(0x268)];}get[_0x9eceeb(0x159)](){return this[_0x2e554a];}get['message'](){return this[_0x4663ab];}}Object['defineProperty'](_0xc18b53['prototype'],_0x9eceeb(0x159),{'enumerable':!0x0}),Object[_0x9eceeb(0x24e)](_0xc18b53[_0x9eceeb(0x1e3)],_0x9eceeb(0x268),{'enumerable':!0x0});class _0xcbbc8c extends _0x30ece4{constructor(_0x4808bb,_0x1384dc={}){super(_0x4808bb),this[_0x58ee00]=_0x1384dc['data']===void 0x0?null:_0x1384dc['data'];}get[_0x9eceeb(0x147)](){return this[_0x58ee00];}}Object[_0x9eceeb(0x24e)](_0xcbbc8c['prototype'],'data',{'enumerable':!0x0}),xe={'CloseEvent':_0xaaee87,'ErrorEvent':_0xc18b53,'Event':_0x30ece4,'EventTarget':{'addEventListener'(_0x452f48,_0x768a94,_0x2afdbe={}){const _0x22acda=_0x9eceeb;for(const _0xcd3854 of this['listeners'](_0x452f48))if(!_0x2afdbe[_0x5a8feb]&&_0xcd3854[_0x1b83af]===_0x768a94&&!_0xcd3854[_0x5a8feb])return;let _0xe788d9;if(_0x452f48===_0x22acda(0x268))_0xe788d9=function(_0x1ed953,_0x34aace){const _0xa80cc0=_0x22acda,_0x1382b6=new _0xcbbc8c(_0xa80cc0(0x268),{'data':_0x34aace?_0x1ed953:_0x1ed953[_0xa80cc0(0x287)]()});_0x1382b6[_0x244953]=this,_0x1db29f(_0x768a94,this,_0x1382b6);};else{if(_0x452f48==='close')_0xe788d9=function(_0x5cb85e,_0x136d5a){const _0x1f450b=_0x22acda,_0x3939d9=new _0xaaee87(_0x1f450b(0x1aa),{'code':_0x5cb85e,'reason':_0x136d5a[_0x1f450b(0x287)](),'wasClean':this[_0x1f450b(0x214)]&&this[_0x1f450b(0x133)]});_0x3939d9[_0x244953]=this,_0x1db29f(_0x768a94,this,_0x3939d9);};else{if(_0x452f48===_0x22acda(0x159))_0xe788d9=function(_0x140a01){const _0x10af75=_0x22acda,_0x21c4d4=new _0xc18b53(_0x10af75(0x159),{'error':_0x140a01,'message':_0x140a01[_0x10af75(0x268)]});_0x21c4d4[_0x244953]=this,_0x1db29f(_0x768a94,this,_0x21c4d4);};else{if(_0x452f48===_0x22acda(0x21a))_0xe788d9=function(){const _0x5a3830=new _0x30ece4('open');_0x5a3830[_0x244953]=this,_0x1db29f(_0x768a94,this,_0x5a3830);};else return;}}}_0xe788d9[_0x5a8feb]=!!_0x2afdbe[_0x5a8feb],_0xe788d9[_0x1b83af]=_0x768a94,_0x2afdbe[_0x22acda(0x1b5)]?this[_0x22acda(0x1b5)](_0x452f48,_0xe788d9):this['on'](_0x452f48,_0xe788d9);},'removeEventListener'(_0x1c28b8,_0x5182c7){const _0x4e64d6=_0x9eceeb;for(const _0xfe4cfa of this[_0x4e64d6(0x172)](_0x1c28b8))if(_0xfe4cfa[_0x1b83af]===_0x5182c7&&!_0xfe4cfa[_0x5a8feb]){this['removeListener'](_0x1c28b8,_0xfe4cfa);break;}}},'MessageEvent':_0xcbbc8c};function _0x1db29f(_0x3713c0,_0xdff843,_0x205e75){const _0x37bc1a=_0x9eceeb;typeof _0x3713c0==_0x37bc1a(0x2a4)&&_0x3713c0[_0x37bc1a(0x15a)]?_0x3713c0[_0x37bc1a(0x15a)][_0x37bc1a(0x27f)](_0x3713c0,_0x205e75):_0x3713c0[_0x37bc1a(0x27f)](_0xdff843,_0x205e75);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x282b01}=ne();function _0x5a8d35(_0x3cfd74,_0x319a28,_0x355509){const _0x4e492d=_0x33fa;_0x3cfd74[_0x319a28]===void 0x0?_0x3cfd74[_0x319a28]=[_0x355509]:_0x3cfd74[_0x319a28][_0x4e492d(0x193)](_0x355509);}function _0x1f7da9(_0x3cc443){const _0x43231d=_0x33fa,_0x858177=Object[_0x43231d(0x2c4)](null);let _0x42b766=Object[_0x43231d(0x2c4)](null),_0x39f7c4=!0x1,_0x34b18c=!0x1,_0x1fa267=!0x1,_0x197da0,_0x551f28,_0x12f9a7=-0x1,_0xdf2789=-0x1,_0x14274f=-0x1,_0x1c78c9=0x0;for(;_0x1c78c9<_0x3cc443[_0x43231d(0x187)];_0x1c78c9++)if(_0xdf2789=_0x3cc443[_0x43231d(0x223)](_0x1c78c9),_0x197da0===void 0x0){if(_0x14274f===-0x1&&_0x282b01[_0xdf2789]===0x1)_0x12f9a7===-0x1&&(_0x12f9a7=_0x1c78c9);else{if(_0x1c78c9!==0x0&&(_0xdf2789===0x20||_0xdf2789===0x9))_0x14274f===-0x1&&_0x12f9a7!==-0x1&&(_0x14274f=_0x1c78c9);else{if(_0xdf2789===0x3b||_0xdf2789===0x2c){if(_0x12f9a7===-0x1)throw new SyntaxError(_0x43231d(0x2a5)+_0x1c78c9);_0x14274f===-0x1&&(_0x14274f=_0x1c78c9);const _0x4c1f3b=_0x3cc443['slice'](_0x12f9a7,_0x14274f);_0xdf2789===0x2c?(_0x5a8d35(_0x858177,_0x4c1f3b,_0x42b766),_0x42b766=Object['create'](null)):_0x197da0=_0x4c1f3b,_0x12f9a7=_0x14274f=-0x1;}else throw new SyntaxError(_0x43231d(0x2a5)+_0x1c78c9);}}}else{if(_0x551f28===void 0x0){if(_0x14274f===-0x1&&_0x282b01[_0xdf2789]===0x1)_0x12f9a7===-0x1&&(_0x12f9a7=_0x1c78c9);else{if(_0xdf2789===0x20||_0xdf2789===0x9)_0x14274f===-0x1&&_0x12f9a7!==-0x1&&(_0x14274f=_0x1c78c9);else{if(_0xdf2789===0x3b||_0xdf2789===0x2c){if(_0x12f9a7===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x1c78c9);_0x14274f===-0x1&&(_0x14274f=_0x1c78c9),_0x5a8d35(_0x42b766,_0x3cc443[_0x43231d(0x1bb)](_0x12f9a7,_0x14274f),!0x0),_0xdf2789===0x2c&&(_0x5a8d35(_0x858177,_0x197da0,_0x42b766),_0x42b766=Object['create'](null),_0x197da0=void 0x0),_0x12f9a7=_0x14274f=-0x1;}else{if(_0xdf2789===0x3d&&_0x12f9a7!==-0x1&&_0x14274f===-0x1)_0x551f28=_0x3cc443['slice'](_0x12f9a7,_0x1c78c9),_0x12f9a7=_0x14274f=-0x1;else throw new SyntaxError(_0x43231d(0x2a5)+_0x1c78c9);}}}}else{if(_0x34b18c){if(_0x282b01[_0xdf2789]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x1c78c9);_0x12f9a7===-0x1?_0x12f9a7=_0x1c78c9:_0x39f7c4||(_0x39f7c4=!0x0),_0x34b18c=!0x1;}else{if(_0x1fa267){if(_0x282b01[_0xdf2789]===0x1)_0x12f9a7===-0x1&&(_0x12f9a7=_0x1c78c9);else{if(_0xdf2789===0x22&&_0x12f9a7!==-0x1)_0x1fa267=!0x1,_0x14274f=_0x1c78c9;else{if(_0xdf2789===0x5c)_0x34b18c=!0x0;else throw new SyntaxError(_0x43231d(0x2a5)+_0x1c78c9);}}}else{if(_0xdf2789===0x22&&_0x3cc443[_0x43231d(0x223)](_0x1c78c9-0x1)===0x3d)_0x1fa267=!0x0;else{if(_0x14274f===-0x1&&_0x282b01[_0xdf2789]===0x1)_0x12f9a7===-0x1&&(_0x12f9a7=_0x1c78c9);else{if(_0x12f9a7!==-0x1&&(_0xdf2789===0x20||_0xdf2789===0x9))_0x14274f===-0x1&&(_0x14274f=_0x1c78c9);else{if(_0xdf2789===0x3b||_0xdf2789===0x2c){if(_0x12f9a7===-0x1)throw new SyntaxError(_0x43231d(0x2a5)+_0x1c78c9);_0x14274f===-0x1&&(_0x14274f=_0x1c78c9);let _0x35d28c=_0x3cc443['slice'](_0x12f9a7,_0x14274f);_0x39f7c4&&(_0x35d28c=_0x35d28c['replace'](/\\/g,''),_0x39f7c4=!0x1),_0x5a8d35(_0x42b766,_0x551f28,_0x35d28c),_0xdf2789===0x2c&&(_0x5a8d35(_0x858177,_0x197da0,_0x42b766),_0x42b766=Object[_0x43231d(0x2c4)](null),_0x197da0=void 0x0),_0x551f28=void 0x0,_0x12f9a7=_0x14274f=-0x1;}else throw new SyntaxError(_0x43231d(0x2a5)+_0x1c78c9);}}}}}}}if(_0x12f9a7===-0x1||_0x1fa267||_0xdf2789===0x20||_0xdf2789===0x9)throw new SyntaxError('Unexpected\x20end\x20of\x20input');_0x14274f===-0x1&&(_0x14274f=_0x1c78c9);const _0x2c4cad=_0x3cc443[_0x43231d(0x1bb)](_0x12f9a7,_0x14274f);return _0x197da0===void 0x0?_0x5a8d35(_0x858177,_0x2c4cad,_0x42b766):(_0x551f28===void 0x0?_0x5a8d35(_0x42b766,_0x2c4cad,!0x0):_0x39f7c4?_0x5a8d35(_0x42b766,_0x551f28,_0x2c4cad[_0x43231d(0x1d9)](/\\/g,'')):_0x5a8d35(_0x42b766,_0x551f28,_0x2c4cad),_0x5a8d35(_0x858177,_0x197da0,_0x42b766)),_0x858177;}function _0x56b29f(_0x135cae){const _0x58a5c2=_0x33fa;return Object[_0x58a5c2(0x149)](_0x135cae)['map'](_0x21e013=>{const _0x56790c=_0x58a5c2;let _0x16cc25=_0x135cae[_0x21e013];return Array[_0x56790c(0x22e)](_0x16cc25)||(_0x16cc25=[_0x16cc25]),_0x16cc25['map'](_0x84de94=>[_0x21e013][_0x56790c(0x2c8)](Object[_0x56790c(0x149)](_0x84de94)[_0x56790c(0x1ff)](_0x17127c=>{const _0x4ff591=_0x56790c;let _0xd362a0=_0x84de94[_0x17127c];return Array[_0x4ff591(0x22e)](_0xd362a0)||(_0xd362a0=[_0xd362a0]),_0xd362a0[_0x4ff591(0x1ff)](_0x275060=>_0x275060===!0x0?_0x17127c:_0x17127c+'='+_0x275060)['join'](';\x20');}))['join'](';\x20'))['join'](',\x20');})[_0x58a5c2(0x298)](',\x20');}return be={'format':_0x56b29f,'parse':_0x1f7da9},be;}var we,st;function _0x33fa(_0x3d07aa,_0x2fdd3d){const _0x5e37c9=_0x5e37();return _0x33fa=function(_0x33fa13,_0x10dc42){_0x33fa13=_0x33fa13-0x126;let _0x464a5f=_0x5e37c9[_0x33fa13];return _0x464a5f;},_0x33fa(_0x3d07aa,_0x2fdd3d);}function Ie(){const _0x34742b=_0xc592e0;if(st)return we;st=0x1;const _0x2a1f72=_0x65c4b3,_0xd5b70d=_0x2a038a,_0x42b658=_0x52e28b,_0x22f7c5=_0x461c75,_0x39ddbc=_0x46b953,{randomBytes:_0x3f7c77,createHash:_0x59ff6d}=_0x306241,{Duplex:_0x41c504,Readable:_0x1bfa46}=_0x1ba7a8,{URL:_0x4b1d38}=_0x16f754,_0x4c0772=he(),_0x180e22=dt(),_0x5cc961=_t(),{isBlob:_0x4f9c50}=ne(),{BINARY_TYPES:_0x5715a8,EMPTY_BUFFER:_0x526c4d,GUID:_0x17edf6,kForOnEventAttribute:_0xa18724,kListener:_0x434861,kStatusCode:_0x1bb141,kWebSocket:_0xf70647,NOOP:_0x1e7d2f}=V(),{EventTarget:{addEventListener:_0x3dac29,removeEventListener:_0x447ada}}=Kt(),{format:_0x4cd271,parse:_0x4564e3}=pt(),{toBuffer:_0x5b8587}=ce(),_0x154808=0x1e*0x3e8,_0x398bf1=Symbol(_0x34742b(0x17f)),_0x4e2ae5=[0x8,0xd],_0x3112b1=[_0x34742b(0x29c),_0x34742b(0x28d),_0x34742b(0x12a),_0x34742b(0x13e)],_0xa78f0e=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x19bb9c extends _0x2a1f72{constructor(_0x182107,_0x3b8c97,_0x3d8881){const _0x439e26=_0x34742b;super(),this[_0x439e26(0x2d4)]=_0x5715a8[0x0],this[_0x439e26(0x15f)]=0x3ee,this['_closeFrameReceived']=!0x1,this['_closeFrameSent']=!0x1,this['_closeMessage']=_0x526c4d,this[_0x439e26(0x290)]=null,this[_0x439e26(0x16e)]=!0x1,this[_0x439e26(0x138)]={},this[_0x439e26(0x157)]=!0x1,this[_0x439e26(0x18a)]='',this['_readyState']=_0x19bb9c[_0x439e26(0x29c)],this[_0x439e26(0x181)]=null,this[_0x439e26(0x2be)]=null,this[_0x439e26(0x1d8)]=null,_0x182107!==null?(this['_bufferedAmount']=0x0,this['_isServer']=!0x1,this['_redirects']=0x0,_0x3b8c97===void 0x0?_0x3b8c97=[]:Array[_0x439e26(0x22e)](_0x3b8c97)||(typeof _0x3b8c97=='object'&&_0x3b8c97!==null?(_0x3d8881=_0x3b8c97,_0x3b8c97=[]):_0x3b8c97=[_0x3b8c97]),_0x4a627e(this,_0x182107,_0x3b8c97,_0x3d8881)):(this[_0x439e26(0x26c)]=_0x3d8881[_0x439e26(0x29b)],this[_0x439e26(0x238)]=!0x0);}get[_0x34742b(0x1a4)](){const _0x3132cc=_0x34742b;return this[_0x3132cc(0x2d4)];}set[_0x34742b(0x1a4)](_0x1af834){const _0x2718ae=_0x34742b;_0x5715a8[_0x2718ae(0x174)](_0x1af834)&&(this[_0x2718ae(0x2d4)]=_0x1af834,this[_0x2718ae(0x181)]&&(this[_0x2718ae(0x181)][_0x2718ae(0x2d4)]=_0x1af834));}get[_0x34742b(0x2a7)](){const _0x3d2ba7=_0x34742b;return this[_0x3d2ba7(0x1d8)]?this[_0x3d2ba7(0x1d8)][_0x3d2ba7(0x2b4)]['length']+this[_0x3d2ba7(0x2be)][_0x3d2ba7(0x18e)]:this[_0x3d2ba7(0x12b)];}get[_0x34742b(0x15b)](){const _0x279ed9=_0x34742b;return Object[_0x279ed9(0x149)](this[_0x279ed9(0x138)])[_0x279ed9(0x298)]();}get['isPaused'](){const _0x582fe7=_0x34742b;return this[_0x582fe7(0x157)];}get[_0x34742b(0x296)](){return null;}get[_0x34742b(0x28f)](){return null;}get[_0x34742b(0x15c)](){return null;}get[_0x34742b(0x266)](){return null;}get[_0x34742b(0x20a)](){const _0x441ea6=_0x34742b;return this[_0x441ea6(0x18a)];}get[_0x34742b(0x27d)](){const _0x335039=_0x34742b;return this[_0x335039(0x1e6)];}get[_0x34742b(0x1fe)](){return this['_url'];}[_0x34742b(0x148)](_0x6d0fa7,_0x5f0fa8,_0x2e054d){const _0x4e573c=_0x34742b,_0x4ef699=new _0x180e22({'allowSynchronousEvents':_0x2e054d[_0x4e573c(0x13c)],'binaryType':this[_0x4e573c(0x1a4)],'extensions':this['_extensions'],'isServer':this[_0x4e573c(0x238)],'maxPayload':_0x2e054d[_0x4e573c(0x1e8)],'skipUTF8Validation':_0x2e054d['skipUTF8Validation']}),_0x4db958=new _0x5cc961(_0x6d0fa7,this[_0x4e573c(0x138)],_0x2e054d[_0x4e573c(0x235)]);this[_0x4e573c(0x181)]=_0x4ef699,this[_0x4e573c(0x2be)]=_0x4db958,this[_0x4e573c(0x1d8)]=_0x6d0fa7,_0x4ef699[_0xf70647]=this,_0x4db958[_0xf70647]=this,_0x6d0fa7[_0xf70647]=this,_0x4ef699['on'](_0x4e573c(0x161),_0x2e2dbb),_0x4ef699['on'](_0x4e573c(0x131),_0x1b23ca),_0x4ef699['on'](_0x4e573c(0x159),_0x3a764f),_0x4ef699['on']('message',_0x31f8fe),_0x4ef699['on'](_0x4e573c(0x27e),_0x4ab286),_0x4ef699['on']('pong',_0x199679),_0x4db958['onerror']=_0x55b6ea,_0x6d0fa7[_0x4e573c(0x279)]&&_0x6d0fa7['setTimeout'](0x0),_0x6d0fa7['setNoDelay']&&_0x6d0fa7[_0x4e573c(0x137)](),_0x5f0fa8[_0x4e573c(0x187)]>0x0&&_0x6d0fa7['unshift'](_0x5f0fa8),_0x6d0fa7['on']('close',_0x2ed511),_0x6d0fa7['on']('data',_0x35b3af),_0x6d0fa7['on'](_0x4e573c(0x1f0),_0x4dd039),_0x6d0fa7['on']('error',_0x159b70),this[_0x4e573c(0x1e6)]=_0x19bb9c[_0x4e573c(0x28d)],this['emit']('open');}[_0x34742b(0x247)](){const _0x1259d1=_0x34742b;if(!this[_0x1259d1(0x1d8)]){this[_0x1259d1(0x1e6)]=_0x19bb9c[_0x1259d1(0x13e)],this[_0x1259d1(0x203)](_0x1259d1(0x1aa),this[_0x1259d1(0x15f)],this[_0x1259d1(0x15d)]);return;}this[_0x1259d1(0x138)][_0x4c0772[_0x1259d1(0x2c5)]]&&this['_extensions'][_0x4c0772[_0x1259d1(0x2c5)]][_0x1259d1(0x25d)](),this[_0x1259d1(0x181)]['removeAllListeners'](),this[_0x1259d1(0x1e6)]=_0x19bb9c[_0x1259d1(0x13e)],this[_0x1259d1(0x203)](_0x1259d1(0x1aa),this[_0x1259d1(0x15f)],this[_0x1259d1(0x15d)]);}[_0x34742b(0x1aa)](_0x3d082c,_0x4176c6){const _0xe7004c=_0x34742b;if(this[_0xe7004c(0x27d)]!==_0x19bb9c[_0xe7004c(0x13e)]){if(this[_0xe7004c(0x27d)]===_0x19bb9c['CONNECTING']){_0xd1a8ce(this,this['_req'],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}if(this[_0xe7004c(0x27d)]===_0x19bb9c['CLOSING']){this[_0xe7004c(0x133)]&&(this[_0xe7004c(0x214)]||this[_0xe7004c(0x181)][_0xe7004c(0x2b4)][_0xe7004c(0x166)])&&this[_0xe7004c(0x1d8)]['end']();return;}this[_0xe7004c(0x1e6)]=_0x19bb9c[_0xe7004c(0x12a)],this[_0xe7004c(0x2be)][_0xe7004c(0x1aa)](_0x3d082c,_0x4176c6,!this['_isServer'],_0x2bbaa4=>{const _0x540d40=_0xe7004c;_0x2bbaa4||(this[_0x540d40(0x133)]=!0x0,(this[_0x540d40(0x214)]||this['_receiver'][_0x540d40(0x2b4)][_0x540d40(0x166)])&&this[_0x540d40(0x1d8)][_0x540d40(0x1f0)]());}),_0x342fcb(this);}}[_0x34742b(0x1bc)](){const _0x441c9d=_0x34742b;this['readyState']===_0x19bb9c[_0x441c9d(0x29c)]||this[_0x441c9d(0x27d)]===_0x19bb9c[_0x441c9d(0x13e)]||(this[_0x441c9d(0x157)]=!0x0,this[_0x441c9d(0x1d8)][_0x441c9d(0x1bc)]());}[_0x34742b(0x27e)](_0x3a5119,_0x21a98d,_0x4b73ea){const _0x52d23a=_0x34742b;if(this[_0x52d23a(0x27d)]===_0x19bb9c[_0x52d23a(0x29c)])throw new Error(_0x52d23a(0x22d));if(typeof _0x3a5119==_0x52d23a(0x1a2)?(_0x4b73ea=_0x3a5119,_0x3a5119=_0x21a98d=void 0x0):typeof _0x21a98d==_0x52d23a(0x1a2)&&(_0x4b73ea=_0x21a98d,_0x21a98d=void 0x0),typeof _0x3a5119==_0x52d23a(0x128)&&(_0x3a5119=_0x3a5119[_0x52d23a(0x287)]()),this[_0x52d23a(0x27d)]!==_0x19bb9c[_0x52d23a(0x28d)]){_0x6148b1(this,_0x3a5119,_0x4b73ea);return;}_0x21a98d===void 0x0&&(_0x21a98d=!this[_0x52d23a(0x238)]),this[_0x52d23a(0x2be)]['ping'](_0x3a5119||_0x526c4d,_0x21a98d,_0x4b73ea);}[_0x34742b(0x1b1)](_0x19b86a,_0x3c6fa5,_0x4bdaf5){const _0xa6eba9=_0x34742b;if(this[_0xa6eba9(0x27d)]===_0x19bb9c[_0xa6eba9(0x29c)])throw new Error(_0xa6eba9(0x22d));if(typeof _0x19b86a=='function'?(_0x4bdaf5=_0x19b86a,_0x19b86a=_0x3c6fa5=void 0x0):typeof _0x3c6fa5==_0xa6eba9(0x1a2)&&(_0x4bdaf5=_0x3c6fa5,_0x3c6fa5=void 0x0),typeof _0x19b86a==_0xa6eba9(0x128)&&(_0x19b86a=_0x19b86a['toString']()),this[_0xa6eba9(0x27d)]!==_0x19bb9c[_0xa6eba9(0x28d)]){_0x6148b1(this,_0x19b86a,_0x4bdaf5);return;}_0x3c6fa5===void 0x0&&(_0x3c6fa5=!this[_0xa6eba9(0x238)]),this[_0xa6eba9(0x2be)][_0xa6eba9(0x1b1)](_0x19b86a||_0x526c4d,_0x3c6fa5,_0x4bdaf5);}[_0x34742b(0x1a8)](){const _0x3724c6=_0x34742b;this['readyState']===_0x19bb9c['CONNECTING']||this[_0x3724c6(0x27d)]===_0x19bb9c['CLOSED']||(this[_0x3724c6(0x157)]=!0x1,this[_0x3724c6(0x181)][_0x3724c6(0x2b4)][_0x3724c6(0x16c)]||this[_0x3724c6(0x1d8)]['resume']());}['send'](_0xaa4b3,_0x32d427,_0x314d2f){const _0x11490e=_0x34742b;if(this[_0x11490e(0x27d)]===_0x19bb9c[_0x11490e(0x29c)])throw new Error(_0x11490e(0x22d));if(typeof _0x32d427==_0x11490e(0x1a2)&&(_0x314d2f=_0x32d427,_0x32d427={}),typeof _0xaa4b3==_0x11490e(0x128)&&(_0xaa4b3=_0xaa4b3[_0x11490e(0x287)]()),this['readyState']!==_0x19bb9c[_0x11490e(0x28d)]){_0x6148b1(this,_0xaa4b3,_0x314d2f);return;}const _0x58526f={'binary':typeof _0xaa4b3!=_0x11490e(0x263),'mask':!this[_0x11490e(0x238)],'compress':!0x0,'fin':!0x0,..._0x32d427};this[_0x11490e(0x138)][_0x4c0772[_0x11490e(0x2c5)]]||(_0x58526f[_0x11490e(0x1bf)]=!0x1),this[_0x11490e(0x2be)][_0x11490e(0x2b5)](_0xaa4b3||_0x526c4d,_0x58526f,_0x314d2f);}[_0x34742b(0x2ae)](){const _0x41c9ce=_0x34742b;if(this[_0x41c9ce(0x27d)]!==_0x19bb9c[_0x41c9ce(0x13e)]){if(this[_0x41c9ce(0x27d)]===_0x19bb9c[_0x41c9ce(0x29c)]){_0xd1a8ce(this,this[_0x41c9ce(0x14d)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}this[_0x41c9ce(0x1d8)]&&(this[_0x41c9ce(0x1e6)]=_0x19bb9c[_0x41c9ce(0x12a)],this[_0x41c9ce(0x1d8)][_0x41c9ce(0x212)]());}}}Object[_0x34742b(0x24e)](_0x19bb9c,'CONNECTING',{'enumerable':!0x0,'value':_0x3112b1[_0x34742b(0x1ee)](_0x34742b(0x29c))}),Object['defineProperty'](_0x19bb9c[_0x34742b(0x1e3)],_0x34742b(0x29c),{'enumerable':!0x0,'value':_0x3112b1[_0x34742b(0x1ee)](_0x34742b(0x29c))}),Object['defineProperty'](_0x19bb9c,_0x34742b(0x28d),{'enumerable':!0x0,'value':_0x3112b1[_0x34742b(0x1ee)]('OPEN')}),Object[_0x34742b(0x24e)](_0x19bb9c[_0x34742b(0x1e3)],_0x34742b(0x28d),{'enumerable':!0x0,'value':_0x3112b1[_0x34742b(0x1ee)](_0x34742b(0x28d))}),Object[_0x34742b(0x24e)](_0x19bb9c,_0x34742b(0x12a),{'enumerable':!0x0,'value':_0x3112b1['indexOf'](_0x34742b(0x12a))}),Object['defineProperty'](_0x19bb9c[_0x34742b(0x1e3)],_0x34742b(0x12a),{'enumerable':!0x0,'value':_0x3112b1[_0x34742b(0x1ee)](_0x34742b(0x12a))}),Object[_0x34742b(0x24e)](_0x19bb9c,_0x34742b(0x13e),{'enumerable':!0x0,'value':_0x3112b1[_0x34742b(0x1ee)](_0x34742b(0x13e))}),Object['defineProperty'](_0x19bb9c[_0x34742b(0x1e3)],'CLOSED',{'enumerable':!0x0,'value':_0x3112b1['indexOf'](_0x34742b(0x13e))}),[_0x34742b(0x1a4),'bufferedAmount',_0x34742b(0x15b),'isPaused',_0x34742b(0x20a),'readyState',_0x34742b(0x1fe)][_0x34742b(0x248)](_0x44dcc3=>{const _0x10365e=_0x34742b;Object[_0x10365e(0x24e)](_0x19bb9c[_0x10365e(0x1e3)],_0x44dcc3,{'enumerable':!0x0});}),['open','error',_0x34742b(0x1aa),_0x34742b(0x268)][_0x34742b(0x248)](_0x10aebd=>{const _0x54ebb7=_0x34742b;Object[_0x54ebb7(0x24e)](_0x19bb9c['prototype'],'on'+_0x10aebd,{'enumerable':!0x0,'get'(){const _0x213a50=_0x54ebb7;for(const _0xdce92d of this[_0x213a50(0x172)](_0x10aebd))if(_0xdce92d[_0xa18724])return _0xdce92d[_0x434861];return null;},'set'(_0x205425){const _0x5bb9ce=_0x54ebb7;for(const _0x2fc2c3 of this[_0x5bb9ce(0x172)](_0x10aebd))if(_0x2fc2c3[_0xa18724]){this['removeListener'](_0x10aebd,_0x2fc2c3);break;}typeof _0x205425==_0x5bb9ce(0x1a2)&&this[_0x5bb9ce(0x246)](_0x10aebd,_0x205425,{[_0xa18724]:!0x0});}});}),_0x19bb9c[_0x34742b(0x1e3)]['addEventListener']=_0x3dac29,_0x19bb9c[_0x34742b(0x1e3)][_0x34742b(0x297)]=_0x447ada,we=_0x19bb9c;function _0x4a627e(_0x23bd7f,_0x3fc50e,_0xf4c651,_0x476010){const _0x600d20=_0x34742b,_0x452c0a={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x4e2ae5[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x476010,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x600d20(0x12e),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x23bd7f[_0x600d20(0x26c)]=_0x452c0a[_0x600d20(0x29b)],!_0x4e2ae5[_0x600d20(0x174)](_0x452c0a['protocolVersion']))throw new RangeError(_0x600d20(0x2a9)+_0x452c0a[_0x600d20(0x1b4)]+_0x600d20(0x1be)+_0x4e2ae5[_0x600d20(0x298)](',\x20')+')');let _0x48ba42;if(_0x3fc50e instanceof _0x4b1d38)_0x48ba42=_0x3fc50e;else try{_0x48ba42=new _0x4b1d38(_0x3fc50e);}catch{throw new SyntaxError(_0x600d20(0x2bb)+_0x3fc50e);}_0x48ba42[_0x600d20(0x20a)]===_0x600d20(0x1f7)?_0x48ba42['protocol']=_0x600d20(0x1ab):_0x48ba42['protocol']===_0x600d20(0x1f5)&&(_0x48ba42[_0x600d20(0x20a)]='wss:'),_0x23bd7f['_url']=_0x48ba42[_0x600d20(0x14c)];const _0x466c5=_0x48ba42[_0x600d20(0x20a)]===_0x600d20(0x250),_0x83b40c=_0x48ba42[_0x600d20(0x20a)]==='ws+unix:';let _0x21f060;if(_0x48ba42[_0x600d20(0x20a)]!==_0x600d20(0x1ab)&&!_0x466c5&&!_0x83b40c?_0x21f060=_0x600d20(0x205):_0x83b40c&&!_0x48ba42[_0x600d20(0x198)]?_0x21f060='The\x20URL\x27s\x20pathname\x20is\x20empty':_0x48ba42['hash']&&(_0x21f060=_0x600d20(0x197)),_0x21f060){const _0x10f088=new SyntaxError(_0x21f060);if(_0x23bd7f[_0x600d20(0x26d)]===0x0)throw _0x10f088;_0x24f2f8(_0x23bd7f,_0x10f088);return;}const _0x1a619c=_0x466c5?0x1bb:0x50,_0x2602f3=_0x3f7c77(0x10)[_0x600d20(0x287)]('base64'),_0x4147f3=_0x466c5?_0xd5b70d[_0x600d20(0x226)]:_0x42b658[_0x600d20(0x226)],_0x4ffecb=new Set();let _0x5db9fe;if(_0x452c0a['createConnection']=_0x452c0a[_0x600d20(0x17d)]||(_0x466c5?_0x2b4030:_0x4123e8),_0x452c0a[_0x600d20(0x23c)]=_0x452c0a[_0x600d20(0x23c)]||_0x1a619c,_0x452c0a[_0x600d20(0x163)]=_0x48ba42['port']||_0x1a619c,_0x452c0a[_0x600d20(0x278)]=_0x48ba42[_0x600d20(0x29a)][_0x600d20(0x18d)]('[')?_0x48ba42['hostname'][_0x600d20(0x1bb)](0x1,-0x1):_0x48ba42[_0x600d20(0x29a)],_0x452c0a[_0x600d20(0x2a6)]={..._0x452c0a[_0x600d20(0x2a6)],'Sec-WebSocket-Version':_0x452c0a[_0x600d20(0x1b4)],'Sec-WebSocket-Key':_0x2602f3,'Connection':_0x600d20(0x267),'Upgrade':_0x600d20(0x18b)},_0x452c0a[_0x600d20(0x23f)]=_0x48ba42[_0x600d20(0x198)]+_0x48ba42[_0x600d20(0x29e)],_0x452c0a[_0x600d20(0x17b)]=_0x452c0a[_0x600d20(0x199)],_0x452c0a[_0x600d20(0x16b)]&&(_0x5db9fe=new _0x4c0772(_0x452c0a[_0x600d20(0x16b)]!==!0x0?_0x452c0a['perMessageDeflate']:{},!0x1,_0x452c0a[_0x600d20(0x1e8)]),_0x452c0a[_0x600d20(0x2a6)]['Sec-WebSocket-Extensions']=_0x4cd271({[_0x4c0772[_0x600d20(0x2c5)]]:_0x5db9fe[_0x600d20(0x19d)]()})),_0xf4c651[_0x600d20(0x187)]){for(const _0xe8e368 of _0xf4c651){if(typeof _0xe8e368!=_0x600d20(0x263)||!_0xa78f0e['test'](_0xe8e368)||_0x4ffecb[_0x600d20(0x2b9)](_0xe8e368))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x4ffecb['add'](_0xe8e368);}_0x452c0a['headers'][_0x600d20(0x22a)]=_0xf4c651[_0x600d20(0x298)](',');}if(_0x452c0a['origin']&&(_0x452c0a[_0x600d20(0x1b4)]<0xd?_0x452c0a[_0x600d20(0x2a6)][_0x600d20(0x169)]=_0x452c0a[_0x600d20(0x2b1)]:_0x452c0a['headers']['Origin']=_0x452c0a[_0x600d20(0x2b1)]),(_0x48ba42[_0x600d20(0x1a5)]||_0x48ba42[_0x600d20(0x1a9)])&&(_0x452c0a['auth']=_0x48ba42[_0x600d20(0x1a5)]+':'+_0x48ba42['password']),_0x83b40c){const _0x22e24d=_0x452c0a['path']['split'](':');_0x452c0a[_0x600d20(0x18f)]=_0x22e24d[0x0],_0x452c0a[_0x600d20(0x23f)]=_0x22e24d[0x1];}let _0x91d5e7;if(_0x452c0a[_0x600d20(0x13b)]){if(_0x23bd7f[_0x600d20(0x26d)]===0x0){_0x23bd7f[_0x600d20(0x13d)]=_0x83b40c,_0x23bd7f['_originalSecure']=_0x466c5,_0x23bd7f[_0x600d20(0x232)]=_0x83b40c?_0x452c0a[_0x600d20(0x18f)]:_0x48ba42['host'];const _0x41a8d2=_0x476010&&_0x476010[_0x600d20(0x2a6)];if(_0x476010={..._0x476010,'headers':{}},_0x41a8d2){for(const [_0x463552,_0x1239de]of Object[_0x600d20(0x283)](_0x41a8d2))_0x476010['headers'][_0x463552[_0x600d20(0x1d0)]()]=_0x1239de;}}else{if(_0x23bd7f[_0x600d20(0x207)](_0x600d20(0x284))===0x0){const _0x5b7cc2=_0x83b40c?_0x23bd7f['_originalIpc']?_0x452c0a[_0x600d20(0x18f)]===_0x23bd7f[_0x600d20(0x232)]:!0x1:_0x23bd7f[_0x600d20(0x13d)]?!0x1:_0x48ba42[_0x600d20(0x278)]===_0x23bd7f['_originalHostOrSocketPath'];(!_0x5b7cc2||_0x23bd7f['_originalSecure']&&!_0x466c5)&&(delete _0x452c0a[_0x600d20(0x2a6)][_0x600d20(0x153)],delete _0x452c0a['headers'][_0x600d20(0x231)],_0x5b7cc2||delete _0x452c0a[_0x600d20(0x2a6)][_0x600d20(0x278)],_0x452c0a['auth']=void 0x0);}}_0x452c0a['auth']&&!_0x476010[_0x600d20(0x2a6)][_0x600d20(0x153)]&&(_0x476010[_0x600d20(0x2a6)][_0x600d20(0x153)]=_0x600d20(0x165)+Buffer[_0x600d20(0x17c)](_0x452c0a['auth'])[_0x600d20(0x287)](_0x600d20(0x206))),_0x91d5e7=_0x23bd7f[_0x600d20(0x14d)]=_0x4147f3(_0x452c0a),_0x23bd7f[_0x600d20(0x26d)]&&_0x23bd7f[_0x600d20(0x203)]('redirect',_0x23bd7f[_0x600d20(0x1fe)],_0x91d5e7);}else _0x91d5e7=_0x23bd7f[_0x600d20(0x14d)]=_0x4147f3(_0x452c0a);_0x452c0a[_0x600d20(0x17b)]&&_0x91d5e7['on'](_0x600d20(0x17b),()=>{const _0xbcc0b=_0x600d20;_0xd1a8ce(_0x23bd7f,_0x91d5e7,_0xbcc0b(0x26e));}),_0x91d5e7['on']('error',_0xd8555d=>{const _0xcc71da=_0x600d20;_0x91d5e7===null||_0x91d5e7[_0x398bf1]||(_0x91d5e7=_0x23bd7f[_0xcc71da(0x14d)]=null,_0x24f2f8(_0x23bd7f,_0xd8555d));}),_0x91d5e7['on'](_0x600d20(0x2b8),_0x404711=>{const _0x202723=_0x600d20,_0x5b2f03=_0x404711[_0x202723(0x2a6)][_0x202723(0x23e)],_0xa98497=_0x404711[_0x202723(0x1df)];if(_0x5b2f03&&_0x452c0a[_0x202723(0x13b)]&&_0xa98497>=0x12c&&_0xa98497<0x190){if(++_0x23bd7f[_0x202723(0x26d)]>_0x452c0a[_0x202723(0x295)]){_0xd1a8ce(_0x23bd7f,_0x91d5e7,_0x202723(0x20e));return;}_0x91d5e7[_0x202723(0x1d5)]();let _0x5828cc;try{_0x5828cc=new _0x4b1d38(_0x5b2f03,_0x3fc50e);}catch{const _0x1ba4f0=new SyntaxError(_0x202723(0x2bb)+_0x5b2f03);_0x24f2f8(_0x23bd7f,_0x1ba4f0);return;}_0x4a627e(_0x23bd7f,_0x5828cc,_0xf4c651,_0x476010);}else _0x23bd7f[_0x202723(0x203)]('unexpected-response',_0x91d5e7,_0x404711)||_0xd1a8ce(_0x23bd7f,_0x91d5e7,'Unexpected\x20server\x20response:\x20'+_0x404711[_0x202723(0x1df)]);}),_0x91d5e7['on'](_0x600d20(0x2ad),(_0x464c14,_0x2ac95b,_0x26b119)=>{const _0x882625=_0x600d20;if(_0x23bd7f[_0x882625(0x203)]('upgrade',_0x464c14),_0x23bd7f[_0x882625(0x27d)]!==_0x19bb9c[_0x882625(0x29c)])return;_0x91d5e7=_0x23bd7f[_0x882625(0x14d)]=null;const _0x4d914f=_0x464c14[_0x882625(0x2a6)][_0x882625(0x2ad)];if(_0x4d914f===void 0x0||_0x4d914f['toLowerCase']()!=='websocket'){_0xd1a8ce(_0x23bd7f,_0x2ac95b,_0x882625(0x182));return;}const _0x3d073b=_0x59ff6d(_0x882625(0x173))[_0x882625(0x27b)](_0x2602f3+_0x17edf6)[_0x882625(0x1d3)](_0x882625(0x206));if(_0x464c14[_0x882625(0x2a6)][_0x882625(0x17a)]!==_0x3d073b){_0xd1a8ce(_0x23bd7f,_0x2ac95b,_0x882625(0x209));return;}const _0x1a228a=_0x464c14['headers'][_0x882625(0x1c5)];let _0x5a5710;if(_0x1a228a!==void 0x0?_0x4ffecb[_0x882625(0x1e2)]?_0x4ffecb[_0x882625(0x2b9)](_0x1a228a)||(_0x5a5710='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0x5a5710=_0x882625(0x233):_0x4ffecb[_0x882625(0x1e2)]&&(_0x5a5710='Server\x20sent\x20no\x20subprotocol'),_0x5a5710){_0xd1a8ce(_0x23bd7f,_0x2ac95b,_0x5a5710);return;}_0x1a228a&&(_0x23bd7f[_0x882625(0x18a)]=_0x1a228a);const _0xb2ea9b=_0x464c14[_0x882625(0x2a6)][_0x882625(0x2a0)];if(_0xb2ea9b!==void 0x0){if(!_0x5db9fe){_0xd1a8ce(_0x23bd7f,_0x2ac95b,_0x882625(0x21c));return;}let _0x508a19;try{_0x508a19=_0x4564e3(_0xb2ea9b);}catch{_0xd1a8ce(_0x23bd7f,_0x2ac95b,_0x882625(0x154));return;}const _0x43baa6=Object[_0x882625(0x149)](_0x508a19);if(_0x43baa6[_0x882625(0x187)]!==0x1||_0x43baa6[0x0]!==_0x4c0772[_0x882625(0x2c5)]){_0xd1a8ce(_0x23bd7f,_0x2ac95b,_0x882625(0x2c9));return;}try{_0x5db9fe[_0x882625(0x273)](_0x508a19[_0x4c0772['extensionName']]);}catch{_0xd1a8ce(_0x23bd7f,_0x2ac95b,_0x882625(0x154));return;}_0x23bd7f[_0x882625(0x138)][_0x4c0772[_0x882625(0x2c5)]]=_0x5db9fe;}_0x23bd7f[_0x882625(0x148)](_0x2ac95b,_0x26b119,{'allowSynchronousEvents':_0x452c0a['allowSynchronousEvents'],'generateMask':_0x452c0a[_0x882625(0x235)],'maxPayload':_0x452c0a[_0x882625(0x1e8)],'skipUTF8Validation':_0x452c0a['skipUTF8Validation']});}),_0x452c0a['finishRequest']?_0x452c0a[_0x600d20(0x156)](_0x91d5e7,_0x23bd7f):_0x91d5e7[_0x600d20(0x1f0)]();}function _0x24f2f8(_0x5ea7be,_0xde0fe4){const _0x593ded=_0x34742b;_0x5ea7be[_0x593ded(0x1e6)]=_0x19bb9c[_0x593ded(0x12a)],_0x5ea7be[_0x593ded(0x16e)]=!0x0,_0x5ea7be[_0x593ded(0x203)]('error',_0xde0fe4),_0x5ea7be[_0x593ded(0x247)]();}function _0x4123e8(_0x57764f){const _0xaafba3=_0x34742b;return _0x57764f['path']=_0x57764f[_0xaafba3(0x18f)],_0x22f7c5[_0xaafba3(0x1cb)](_0x57764f);}function _0x2b4030(_0x3bda41){const _0x255d68=_0x34742b;return _0x3bda41['path']=void 0x0,!_0x3bda41[_0x255d68(0x1c9)]&&_0x3bda41[_0x255d68(0x1c9)]!==''&&(_0x3bda41[_0x255d68(0x1c9)]=_0x22f7c5[_0x255d68(0x134)](_0x3bda41[_0x255d68(0x278)])?'':_0x3bda41[_0x255d68(0x278)]),_0x39ddbc[_0x255d68(0x1cb)](_0x3bda41);}function _0xd1a8ce(_0x1371a4,_0x511038,_0x2e05f4){const _0x7aa29b=_0x34742b;_0x1371a4[_0x7aa29b(0x1e6)]=_0x19bb9c['CLOSING'];const _0x400079=new Error(_0x2e05f4);Error[_0x7aa29b(0x158)](_0x400079,_0xd1a8ce),_0x511038[_0x7aa29b(0x240)]?(_0x511038[_0x398bf1]=!0x0,_0x511038[_0x7aa29b(0x1d5)](),_0x511038[_0x7aa29b(0x196)]&&!_0x511038[_0x7aa29b(0x196)][_0x7aa29b(0x1af)]&&_0x511038['socket']['destroy'](),process[_0x7aa29b(0x2a2)](_0x24f2f8,_0x1371a4,_0x400079)):(_0x511038[_0x7aa29b(0x212)](_0x400079),_0x511038[_0x7aa29b(0x1b5)](_0x7aa29b(0x159),_0x1371a4[_0x7aa29b(0x203)][_0x7aa29b(0x249)](_0x1371a4,_0x7aa29b(0x159))),_0x511038[_0x7aa29b(0x1b5)](_0x7aa29b(0x1aa),_0x1371a4[_0x7aa29b(0x247)][_0x7aa29b(0x249)](_0x1371a4)));}function _0x6148b1(_0x18c19d,_0x13a6e7,_0x51a7c4){const _0x1dfaa9=_0x34742b;if(_0x13a6e7){const _0x56ea86=_0x4f9c50(_0x13a6e7)?_0x13a6e7[_0x1dfaa9(0x1e2)]:_0x5b8587(_0x13a6e7)['length'];_0x18c19d[_0x1dfaa9(0x1d8)]?_0x18c19d['_sender'][_0x1dfaa9(0x18e)]+=_0x56ea86:_0x18c19d['_bufferedAmount']+=_0x56ea86;}if(_0x51a7c4){const _0x1b8741=new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x20'+_0x18c19d['readyState']+'\x20('+_0x3112b1[_0x18c19d[_0x1dfaa9(0x27d)]]+')');process[_0x1dfaa9(0x2a2)](_0x51a7c4,_0x1b8741);}}function _0x2e2dbb(_0x3b2f53,_0x4efb81){const _0x25c853=_0x34742b,_0x4fb72e=this[_0xf70647];_0x4fb72e['_closeFrameReceived']=!0x0,_0x4fb72e['_closeMessage']=_0x4efb81,_0x4fb72e[_0x25c853(0x15f)]=_0x3b2f53,_0x4fb72e[_0x25c853(0x1d8)][_0xf70647]!==void 0x0&&(_0x4fb72e[_0x25c853(0x1d8)][_0x25c853(0x189)](_0x25c853(0x147),_0x35b3af),process[_0x25c853(0x2a2)](_0x331cfb,_0x4fb72e['_socket']),_0x3b2f53===0x3ed?_0x4fb72e['close']():_0x4fb72e['close'](_0x3b2f53,_0x4efb81));}function _0x1b23ca(){const _0x39bcce=_0x34742b,_0x1ad931=this[_0xf70647];_0x1ad931[_0x39bcce(0x2c1)]||_0x1ad931['_socket'][_0x39bcce(0x1a8)]();}function _0x3a764f(_0x3d5e97){const _0x3d83c4=_0x34742b,_0x5ead73=this[_0xf70647];_0x5ead73['_socket'][_0xf70647]!==void 0x0&&(_0x5ead73['_socket'][_0x3d83c4(0x189)](_0x3d83c4(0x147),_0x35b3af),process[_0x3d83c4(0x2a2)](_0x331cfb,_0x5ead73[_0x3d83c4(0x1d8)]),_0x5ead73[_0x3d83c4(0x1aa)](_0x3d5e97[_0x1bb141])),_0x5ead73['_errorEmitted']||(_0x5ead73[_0x3d83c4(0x16e)]=!0x0,_0x5ead73[_0x3d83c4(0x203)](_0x3d83c4(0x159),_0x3d5e97));}function _0x3f3ebf(){const _0x56115f=_0x34742b;this[_0xf70647][_0x56115f(0x247)]();}function _0x31f8fe(_0x548f85,_0x2b1a97){const _0xf0e97=_0x34742b;this[_0xf70647]['emit'](_0xf0e97(0x268),_0x548f85,_0x2b1a97);}function _0x4ab286(_0x47945c){const _0x3be21b=_0x34742b,_0x6f55e6=this[_0xf70647];_0x6f55e6[_0x3be21b(0x26c)]&&_0x6f55e6['pong'](_0x47945c,!this[_0x3be21b(0x238)],_0x1e7d2f),_0x6f55e6['emit']('ping',_0x47945c);}function _0x199679(_0x4c4537){const _0x4da060=_0x34742b;this[_0xf70647]['emit'](_0x4da060(0x1b1),_0x4c4537);}function _0x331cfb(_0x5dcebd){const _0x1ec4b1=_0x34742b;_0x5dcebd[_0x1ec4b1(0x1a8)]();}function _0x55b6ea(_0x421bb9){const _0x281959=_0x34742b,_0x297dfb=this[_0xf70647];_0x297dfb[_0x281959(0x27d)]!==_0x19bb9c[_0x281959(0x13e)]&&(_0x297dfb[_0x281959(0x27d)]===_0x19bb9c[_0x281959(0x28d)]&&(_0x297dfb[_0x281959(0x1e6)]=_0x19bb9c['CLOSING'],_0x342fcb(_0x297dfb)),this[_0x281959(0x1d8)]['end'](),_0x297dfb['_errorEmitted']||(_0x297dfb[_0x281959(0x16e)]=!0x0,_0x297dfb['emit']('error',_0x421bb9)));}function _0x342fcb(_0x2b332d){const _0x546011=_0x34742b;_0x2b332d[_0x546011(0x290)]=setTimeout(_0x2b332d[_0x546011(0x1d8)]['destroy']['bind'](_0x2b332d[_0x546011(0x1d8)]),_0x154808);}function _0x2ed511(){const _0x3f3eda=_0x34742b,_0x55312c=this[_0xf70647];this[_0x3f3eda(0x189)]('close',_0x2ed511),this[_0x3f3eda(0x189)](_0x3f3eda(0x147),_0x35b3af),this[_0x3f3eda(0x189)](_0x3f3eda(0x1f0),_0x4dd039),_0x55312c[_0x3f3eda(0x1e6)]=_0x19bb9c[_0x3f3eda(0x12a)];let _0x3d35e0;!this[_0x3f3eda(0x255)][_0x3f3eda(0x210)]&&!_0x55312c[_0x3f3eda(0x214)]&&!_0x55312c['_receiver'][_0x3f3eda(0x2b4)][_0x3f3eda(0x166)]&&(_0x3d35e0=_0x55312c[_0x3f3eda(0x1d8)][_0x3f3eda(0x2a3)]())!==null&&_0x55312c[_0x3f3eda(0x181)]['write'](_0x3d35e0),_0x55312c[_0x3f3eda(0x181)][_0x3f3eda(0x1f0)](),this[_0xf70647]=void 0x0,clearTimeout(_0x55312c[_0x3f3eda(0x290)]),_0x55312c['_receiver'][_0x3f3eda(0x2b4)][_0x3f3eda(0x185)]||_0x55312c[_0x3f3eda(0x181)][_0x3f3eda(0x2b4)][_0x3f3eda(0x166)]?_0x55312c[_0x3f3eda(0x247)]():(_0x55312c[_0x3f3eda(0x181)]['on'](_0x3f3eda(0x159),_0x3f3ebf),_0x55312c['_receiver']['on'](_0x3f3eda(0x13f),_0x3f3ebf));}function _0x35b3af(_0x907999){const _0x29d681=_0x34742b;this[_0xf70647][_0x29d681(0x181)]['write'](_0x907999)||this[_0x29d681(0x1bc)]();}function _0x4dd039(){const _0x22064c=_0x34742b,_0x5904c0=this[_0xf70647];_0x5904c0['_readyState']=_0x19bb9c[_0x22064c(0x12a)],_0x5904c0[_0x22064c(0x181)]['end'](),this[_0x22064c(0x1f0)]();}function _0x159b70(){const _0x5c5dfb=_0x34742b,_0x133aa9=this[_0xf70647];this[_0x5c5dfb(0x189)]('error',_0x159b70),this['on'](_0x5c5dfb(0x159),_0x1e7d2f),_0x133aa9&&(_0x133aa9[_0x5c5dfb(0x1e6)]=_0x19bb9c[_0x5c5dfb(0x12a)],this[_0x5c5dfb(0x212)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x38a22e}=_0x1ba7a8;function _0x53ccd5(_0x2210e8){const _0x2a0830=_0x33fa;_0x2210e8[_0x2a0830(0x203)](_0x2a0830(0x1aa));}function _0x76b1e7(){const _0x3c61b8=_0x33fa;!this[_0x3c61b8(0x1af)]&&this[_0x3c61b8(0x2b4)][_0x3c61b8(0x185)]&&this[_0x3c61b8(0x212)]();}function _0x509bc5(_0x155574){const _0x54d23b=_0x33fa;this[_0x54d23b(0x189)](_0x54d23b(0x159),_0x509bc5),this[_0x54d23b(0x212)](),this[_0x54d23b(0x207)]('error')===0x0&&this[_0x54d23b(0x203)](_0x54d23b(0x159),_0x155574);}function _0x5b8299(_0x362a9f,_0x2c554e){const _0xfa438f=_0x33fa;let _0x2c7afd=!0x0;const _0xb5240b=new _0x38a22e({..._0x2c554e,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x362a9f['on'](_0xfa438f(0x268),function(_0x49b4c0,_0x1a7f7f){const _0x76e344=_0xfa438f,_0x2f611d=!_0x1a7f7f&&_0xb5240b[_0x76e344(0x255)]['objectMode']?_0x49b4c0[_0x76e344(0x287)]():_0x49b4c0;_0xb5240b['push'](_0x2f611d)||_0x362a9f[_0x76e344(0x1bc)]();}),_0x362a9f[_0xfa438f(0x1b5)](_0xfa438f(0x159),function(_0x494095){_0xb5240b['destroyed']||(_0x2c7afd=!0x1,_0xb5240b['destroy'](_0x494095));}),_0x362a9f[_0xfa438f(0x1b5)](_0xfa438f(0x1aa),function(){const _0xc579ee=_0xfa438f;_0xb5240b[_0xc579ee(0x1af)]||_0xb5240b[_0xc579ee(0x193)](null);}),_0xb5240b[_0xfa438f(0x1ed)]=function(_0x249d47,_0x5e6d7e){const _0x314614=_0xfa438f;if(_0x362a9f['readyState']===_0x362a9f[_0x314614(0x13e)]){_0x5e6d7e(_0x249d47),process[_0x314614(0x2a2)](_0x53ccd5,_0xb5240b);return;}let _0x334262=!0x1;_0x362a9f['once'](_0x314614(0x159),function(_0x3fa47e){_0x334262=!0x0,_0x5e6d7e(_0x3fa47e);}),_0x362a9f['once']('close',function(){const _0x110021=_0x314614;_0x334262||_0x5e6d7e(_0x249d47),process[_0x110021(0x2a2)](_0x53ccd5,_0xb5240b);}),_0x2c7afd&&_0x362a9f[_0x314614(0x2ae)]();},_0xb5240b[_0xfa438f(0x264)]=function(_0x2d0790){const _0x26020b=_0xfa438f;if(_0x362a9f[_0x26020b(0x27d)]===_0x362a9f[_0x26020b(0x29c)]){_0x362a9f['once']('open',function(){_0xb5240b['_final'](_0x2d0790);});return;}_0x362a9f['_socket']!==null&&(_0x362a9f[_0x26020b(0x1d8)]['_writableState'][_0x26020b(0x185)]?(_0x2d0790(),_0xb5240b[_0x26020b(0x255)][_0x26020b(0x210)]&&_0xb5240b['destroy']()):(_0x362a9f[_0x26020b(0x1d8)][_0x26020b(0x1b5)](_0x26020b(0x13f),function(){_0x2d0790();}),_0x362a9f[_0x26020b(0x1aa)]()));},_0xb5240b[_0xfa438f(0x245)]=function(){const _0x27289f=_0xfa438f;_0x362a9f[_0x27289f(0x2c1)]&&_0x362a9f[_0x27289f(0x1a8)]();},_0xb5240b[_0xfa438f(0x144)]=function(_0x3b6f14,_0x258682,_0x136ea5){const _0x6b5215=_0xfa438f;if(_0x362a9f[_0x6b5215(0x27d)]===_0x362a9f[_0x6b5215(0x29c)]){_0x362a9f[_0x6b5215(0x1b5)](_0x6b5215(0x21a),function(){const _0x141b29=_0x6b5215;_0xb5240b[_0x141b29(0x144)](_0x3b6f14,_0x258682,_0x136ea5);});return;}_0x362a9f[_0x6b5215(0x2b5)](_0x3b6f14,_0x136ea5);},_0xb5240b['on'](_0xfa438f(0x1f0),_0x76b1e7),_0xb5240b['on'](_0xfa438f(0x159),_0x509bc5),_0xb5240b;}return Oe=_0x5b8299,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=jt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x36bc7a}=ne();function _0x59a2a2(_0x17fd91){const _0x442e04=_0x33fa,_0x546734=new Set();let _0x445414=-0x1,_0x58f05d=-0x1,_0x762db8=0x0;for(_0x762db8;_0x762db8<_0x17fd91[_0x442e04(0x187)];_0x762db8++){const _0x5d0293=_0x17fd91['charCodeAt'](_0x762db8);if(_0x58f05d===-0x1&&_0x36bc7a[_0x5d0293]===0x1)_0x445414===-0x1&&(_0x445414=_0x762db8);else{if(_0x762db8!==0x0&&(_0x5d0293===0x20||_0x5d0293===0x9))_0x58f05d===-0x1&&_0x445414!==-0x1&&(_0x58f05d=_0x762db8);else{if(_0x5d0293===0x2c){if(_0x445414===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x762db8);_0x58f05d===-0x1&&(_0x58f05d=_0x762db8);const _0x205906=_0x17fd91['slice'](_0x445414,_0x58f05d);if(_0x546734[_0x442e04(0x2b9)](_0x205906))throw new SyntaxError(_0x442e04(0x1e0)+_0x205906+_0x442e04(0x19b));_0x546734[_0x442e04(0x25e)](_0x205906),_0x445414=_0x58f05d=-0x1;}else throw new SyntaxError(_0x442e04(0x2a5)+_0x762db8);}}}if(_0x445414===-0x1||_0x58f05d!==-0x1)throw new SyntaxError(_0x442e04(0x293));const _0x58e69e=_0x17fd91[_0x442e04(0x1bb)](_0x445414,_0x762db8);if(_0x546734['has'](_0x58e69e))throw new SyntaxError(_0x442e04(0x1e0)+_0x58e69e+'\x22\x20subprotocol\x20is\x20duplicated');return _0x546734[_0x442e04(0x25e)](_0x58e69e),_0x546734;}return Ce={'parse':_0x59a2a2},Ce;}var Te,ot;function er(){const _0x2f0be9=_0xc592e0;if(ot)return Te;ot=0x1;const _0x271c4b=_0x65c4b3,_0x1fa536=_0x52e28b,{Duplex:_0x3adf57}=_0x1ba7a8,{createHash:_0x2f958f}=_0x306241,_0x5ad037=pt(),_0x4f51f2=he(),_0x193ae6=Jt(),_0xeaf11e=Ie(),{GUID:_0x162afd,kWebSocket:_0x347635}=V(),_0x2178e4=/^[+/0-9A-Za-z]{22}==$/,_0x488a9e=0x0,_0x38d873=0x1,_0x311c01=0x2;class _0x297779 extends _0x271c4b{constructor(_0x2981ab,_0x1c0cd0){const _0x19fe51=_0x33fa;if(super(),_0x2981ab={'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':_0xeaf11e,..._0x2981ab},_0x2981ab[_0x19fe51(0x163)]==null&&!_0x2981ab[_0x19fe51(0x136)]&&!_0x2981ab[_0x19fe51(0x22f)]||_0x2981ab[_0x19fe51(0x163)]!=null&&(_0x2981ab['server']||_0x2981ab['noServer'])||_0x2981ab[_0x19fe51(0x136)]&&_0x2981ab['noServer'])throw new TypeError('One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified');if(_0x2981ab[_0x19fe51(0x163)]!=null?(this[_0x19fe51(0x251)]=_0x1fa536[_0x19fe51(0x2b6)]((_0x4737a2,_0x14b07a)=>{const _0xa49b6a=_0x19fe51,_0x1ac7c7=_0x1fa536['STATUS_CODES'][0x1aa];_0x14b07a[_0xa49b6a(0x1c4)](0x1aa,{'Content-Length':_0x1ac7c7[_0xa49b6a(0x187)],'Content-Type':'text/plain'}),_0x14b07a['end'](_0x1ac7c7);}),this[_0x19fe51(0x251)]['listen'](_0x2981ab[_0x19fe51(0x163)],_0x2981ab['host'],_0x2981ab['backlog'],_0x1c0cd0)):_0x2981ab[_0x19fe51(0x136)]&&(this[_0x19fe51(0x251)]=_0x2981ab['server']),this['_server']){const _0x50aeca=this[_0x19fe51(0x203)]['bind'](this,_0x19fe51(0x177));this[_0x19fe51(0x2ba)]=_0x19638c(this['_server'],{'listening':this['emit'][_0x19fe51(0x249)](this,_0x19fe51(0x24a)),'error':this[_0x19fe51(0x203)]['bind'](this,'error'),'upgrade':(_0x3abbc8,_0x36bff2,_0xddf5d2)=>{const _0x35232c=_0x19fe51;this[_0x35232c(0x1ea)](_0x3abbc8,_0x36bff2,_0xddf5d2,_0x50aeca);}});}_0x2981ab[_0x19fe51(0x16b)]===!0x0&&(_0x2981ab[_0x19fe51(0x16b)]={}),_0x2981ab['clientTracking']&&(this[_0x19fe51(0x2c7)]=new Set(),this[_0x19fe51(0x25f)]=!0x1),this[_0x19fe51(0x219)]=_0x2981ab,this['_state']=_0x488a9e;}['address'](){const _0x552d3b=_0x33fa;if(this[_0x552d3b(0x219)][_0x552d3b(0x22f)])throw new Error(_0x552d3b(0x218));return this[_0x552d3b(0x251)]?this[_0x552d3b(0x251)]['address']():null;}['close'](_0x1d0529){const _0x50fdf0=_0x33fa;if(this[_0x50fdf0(0x261)]===_0x311c01){_0x1d0529&&this[_0x50fdf0(0x1b5)](_0x50fdf0(0x1aa),()=>{const _0x13e49f=_0x50fdf0;_0x1d0529(new Error(_0x13e49f(0x140)));}),process[_0x50fdf0(0x2a2)](_0x39d8fc,this);return;}if(_0x1d0529&&this['once'](_0x50fdf0(0x1aa),_0x1d0529),this[_0x50fdf0(0x261)]!==_0x38d873){if(this[_0x50fdf0(0x261)]=_0x38d873,this[_0x50fdf0(0x219)][_0x50fdf0(0x22f)]||this['options'][_0x50fdf0(0x136)])this[_0x50fdf0(0x251)]&&(this[_0x50fdf0(0x2ba)](),this[_0x50fdf0(0x2ba)]=this[_0x50fdf0(0x251)]=null),this[_0x50fdf0(0x2c7)]?this[_0x50fdf0(0x2c7)][_0x50fdf0(0x1e2)]?this[_0x50fdf0(0x25f)]=!0x0:process['nextTick'](_0x39d8fc,this):process[_0x50fdf0(0x2a2)](_0x39d8fc,this);else{const _0x586ea0=this[_0x50fdf0(0x251)];this['_removeListeners'](),this[_0x50fdf0(0x2ba)]=this['_server']=null,_0x586ea0['close'](()=>{_0x39d8fc(this);});}}}[_0x2f0be9(0x21f)](_0x2e3aa7){const _0x18f941=_0x2f0be9;if(this[_0x18f941(0x219)][_0x18f941(0x23f)]){const _0x48c430=_0x2e3aa7[_0x18f941(0x1fe)][_0x18f941(0x1ee)]('?');if((_0x48c430!==-0x1?_0x2e3aa7['url'][_0x18f941(0x1bb)](0x0,_0x48c430):_0x2e3aa7[_0x18f941(0x1fe)])!==this[_0x18f941(0x219)][_0x18f941(0x23f)])return!0x1;}return!0x0;}[_0x2f0be9(0x1ea)](_0x2bfb65,_0x54302d,_0x538bff,_0x32f076){const _0x2f3ff3=_0x2f0be9;_0x54302d['on'](_0x2f3ff3(0x159),_0xaf66bd);const _0x123214=_0x2bfb65[_0x2f3ff3(0x2a6)][_0x2f3ff3(0x24c)],_0x2a9070=_0x2bfb65[_0x2f3ff3(0x2a6)][_0x2f3ff3(0x2ad)],_0x36004a=+_0x2bfb65['headers'][_0x2f3ff3(0x252)];if(_0x2bfb65[_0x2f3ff3(0x1eb)]!==_0x2f3ff3(0x12e)){_0x2a15d1(this,_0x2bfb65,_0x54302d,0x195,_0x2f3ff3(0x1ca));return;}if(_0x2a9070===void 0x0||_0x2a9070[_0x2f3ff3(0x1d0)]()!=='websocket'){_0x2a15d1(this,_0x2bfb65,_0x54302d,0x190,_0x2f3ff3(0x182));return;}if(_0x123214===void 0x0||!_0x2178e4['test'](_0x123214)){_0x2a15d1(this,_0x2bfb65,_0x54302d,0x190,_0x2f3ff3(0x1cd));return;}if(_0x36004a!==0x8&&_0x36004a!==0xd){_0x2a15d1(this,_0x2bfb65,_0x54302d,0x190,_0x2f3ff3(0x292));return;}if(!this['shouldHandle'](_0x2bfb65)){_0x52ddcf(_0x54302d,0x190);return;}const _0x480776=_0x2bfb65[_0x2f3ff3(0x2a6)][_0x2f3ff3(0x1c5)];let _0xe98418=new Set();if(_0x480776!==void 0x0)try{_0xe98418=_0x193ae6['parse'](_0x480776);}catch{_0x2a15d1(this,_0x2bfb65,_0x54302d,0x190,_0x2f3ff3(0x1a3));return;}const _0x292d14=_0x2bfb65[_0x2f3ff3(0x2a6)][_0x2f3ff3(0x2a0)],_0x232583={};if(this[_0x2f3ff3(0x219)][_0x2f3ff3(0x16b)]&&_0x292d14!==void 0x0){const _0x57bb4f=new _0x4f51f2(this[_0x2f3ff3(0x219)][_0x2f3ff3(0x16b)],!0x0,this[_0x2f3ff3(0x219)]['maxPayload']);try{const _0x38b990=_0x5ad037[_0x2f3ff3(0x19c)](_0x292d14);_0x38b990[_0x4f51f2['extensionName']]&&(_0x57bb4f[_0x2f3ff3(0x273)](_0x38b990[_0x4f51f2[_0x2f3ff3(0x2c5)]]),_0x232583[_0x4f51f2[_0x2f3ff3(0x2c5)]]=_0x57bb4f);}catch{_0x2a15d1(this,_0x2bfb65,_0x54302d,0x190,_0x2f3ff3(0x269));return;}}if(this['options'][_0x2f3ff3(0x270)]){const _0x4e7087={'origin':_0x2bfb65[_0x2f3ff3(0x2a6)][''+(_0x36004a===0x8?_0x2f3ff3(0x234):_0x2f3ff3(0x2b1))],'secure':!!(_0x2bfb65['socket']['authorized']||_0x2bfb65['socket'][_0x2f3ff3(0x183)]),'req':_0x2bfb65};if(this[_0x2f3ff3(0x219)]['verifyClient']['length']===0x2){this['options'][_0x2f3ff3(0x270)](_0x4e7087,(_0x2798d2,_0x4eee02,_0x44e9e5,_0x9047f)=>{if(!_0x2798d2)return _0x52ddcf(_0x54302d,_0x4eee02||0x191,_0x44e9e5,_0x9047f);this['completeUpgrade'](_0x232583,_0x123214,_0xe98418,_0x2bfb65,_0x54302d,_0x538bff,_0x32f076);});return;}if(!this[_0x2f3ff3(0x219)][_0x2f3ff3(0x270)](_0x4e7087))return _0x52ddcf(_0x54302d,0x191);}this[_0x2f3ff3(0x275)](_0x232583,_0x123214,_0xe98418,_0x2bfb65,_0x54302d,_0x538bff,_0x32f076);}['completeUpgrade'](_0x3c230f,_0x54035d,_0x93438c,_0x45cefa,_0x48d59b,_0x420a3e,_0xd0cc87){const _0x231eb4=_0x2f0be9;if(!_0x48d59b[_0x231eb4(0x26a)]||!_0x48d59b[_0x231eb4(0x26b)])return _0x48d59b[_0x231eb4(0x212)]();if(_0x48d59b[_0x347635])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this[_0x231eb4(0x261)]>_0x488a9e)return _0x52ddcf(_0x48d59b,0x1f7);const _0x2d96c5=[_0x231eb4(0x29d),_0x231eb4(0x14b),_0x231eb4(0x1ba),_0x231eb4(0x2cc)+_0x2f958f(_0x231eb4(0x173))[_0x231eb4(0x27b)](_0x54035d+_0x162afd)[_0x231eb4(0x1d3)](_0x231eb4(0x206))],_0x281808=new this[(_0x231eb4(0x219))][(_0x231eb4(0x184))](null,void 0x0,this['options']);if(_0x93438c[_0x231eb4(0x1e2)]){const _0x148897=this['options'][_0x231eb4(0x230)]?this[_0x231eb4(0x219)]['handleProtocols'](_0x93438c,_0x45cefa):_0x93438c['values']()['next']()[_0x231eb4(0x258)];_0x148897&&(_0x2d96c5[_0x231eb4(0x193)](_0x231eb4(0x274)+_0x148897),_0x281808[_0x231eb4(0x18a)]=_0x148897);}if(_0x3c230f[_0x4f51f2[_0x231eb4(0x2c5)]]){const _0xb415af=_0x3c230f[_0x4f51f2[_0x231eb4(0x2c5)]]['params'],_0x96d22d=_0x5ad037[_0x231eb4(0x1c2)]({[_0x4f51f2['extensionName']]:[_0xb415af]});_0x2d96c5[_0x231eb4(0x193)](_0x231eb4(0x16f)+_0x96d22d),_0x281808[_0x231eb4(0x138)]=_0x3c230f;}this[_0x231eb4(0x203)]('headers',_0x2d96c5,_0x45cefa),_0x48d59b[_0x231eb4(0x2bd)](_0x2d96c5['concat']('\x0d\x0a')[_0x231eb4(0x298)]('\x0d\x0a')),_0x48d59b[_0x231eb4(0x189)](_0x231eb4(0x159),_0xaf66bd),_0x281808[_0x231eb4(0x148)](_0x48d59b,_0x420a3e,{'allowSynchronousEvents':this[_0x231eb4(0x219)][_0x231eb4(0x13c)],'maxPayload':this[_0x231eb4(0x219)][_0x231eb4(0x1e8)],'skipUTF8Validation':this[_0x231eb4(0x219)][_0x231eb4(0x2d1)]}),this[_0x231eb4(0x2c7)]&&(this[_0x231eb4(0x2c7)]['add'](_0x281808),_0x281808['on'](_0x231eb4(0x1aa),()=>{const _0x4d3c85=_0x231eb4;this[_0x4d3c85(0x2c7)]['delete'](_0x281808),this[_0x4d3c85(0x25f)]&&!this[_0x4d3c85(0x2c7)][_0x4d3c85(0x1e2)]&&process[_0x4d3c85(0x2a2)](_0x39d8fc,this);})),_0xd0cc87(_0x281808,_0x45cefa);}}Te=_0x297779;function _0x19638c(_0x3b2271,_0x2594df){for(const _0x2bbe99 of Object['keys'](_0x2594df))_0x3b2271['on'](_0x2bbe99,_0x2594df[_0x2bbe99]);return function(){const _0x3685c4=_0x33fa;for(const _0x62fd0 of Object[_0x3685c4(0x149)](_0x2594df))_0x3b2271['removeListener'](_0x62fd0,_0x2594df[_0x62fd0]);};}function _0x39d8fc(_0x1a380d){const _0x31e7ab=_0x2f0be9;_0x1a380d['_state']=_0x311c01,_0x1a380d['emit'](_0x31e7ab(0x1aa));}function _0xaf66bd(){const _0xb07692=_0x2f0be9;this[_0xb07692(0x212)]();}function _0x52ddcf(_0x5aeb52,_0x4277b4,_0x49ec4e,_0x59ed0f){const _0x449a62=_0x2f0be9;_0x49ec4e=_0x49ec4e||_0x1fa536[_0x449a62(0x24d)][_0x4277b4],_0x59ed0f={'Connection':_0x449a62(0x1aa),'Content-Type':_0x449a62(0x1b8),'Content-Length':Buffer[_0x449a62(0x272)](_0x49ec4e),..._0x59ed0f},_0x5aeb52[_0x449a62(0x1b5)]('finish',_0x5aeb52[_0x449a62(0x212)]),_0x5aeb52[_0x449a62(0x1f0)]('HTTP/1.1\x20'+_0x4277b4+'\x20'+_0x1fa536['STATUS_CODES'][_0x4277b4]+'\x0d\x0a'+Object[_0x449a62(0x149)](_0x59ed0f)[_0x449a62(0x1ff)](_0x3edd94=>_0x3edd94+':\x20'+_0x59ed0f[_0x3edd94])[_0x449a62(0x298)]('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0x49ec4e);}function _0x2a15d1(_0x3c0874,_0x25c424,_0x2b6d5f,_0x313705,_0x28547c){const _0x59da40=_0x2f0be9;if(_0x3c0874[_0x59da40(0x207)](_0x59da40(0x253))){const _0x4f87ad=new Error(_0x28547c);Error[_0x59da40(0x158)](_0x4f87ad,_0x2a15d1),_0x3c0874[_0x59da40(0x203)](_0x59da40(0x253),_0x4f87ad,_0x2b6d5f,_0x25c424);}else _0x52ddcf(_0x2b6d5f,_0x313705,_0x28547c);}return Te;}er();var tr=Object['getOwnPropertyDescriptor'],rr=(_0x32fb3e,_0x38a96e,_0x5d053d,_0x11ba73)=>{const _0x7287d8=_0xc592e0;for(var _0x1fd6b7=_0x11ba73>0x1?void 0x0:_0x11ba73?tr(_0x38a96e,_0x5d053d):_0x38a96e,_0x4c73a4=_0x32fb3e[_0x7287d8(0x187)]-0x1,_0x216ca8;_0x4c73a4>=0x0;_0x4c73a4--)(_0x216ca8=_0x32fb3e[_0x4c73a4])&&(_0x1fd6b7=_0x216ca8(_0x1fd6b7)||_0x1fd6b7);return _0x1fd6b7;},sr=(_0x2bcfa3,_0x1a91ae)=>(_0x374833,_0x1fbf0f)=>_0x1a91ae(_0x374833,_0x1fbf0f,_0x2bcfa3);let Ne=class extends _0x372dc6{constructor(_0x46a955){super(),this['_configService']=_0x46a955;}['createSocket'](_0x2784d5){const _0x23bd85=_0xc592e0;var _0xe64c49;const _0xfc665=(_0xe64c49=this[_0x23bd85(0x186)][_0x23bd85(0x2c3)](Be))==null?void 0x0:_0xe64c49['customHeaders'];try{const _0x35fe4d=new Qt(_0x2784d5,{'headers':{..._0xfc665}}),_0x5da97b=new _0x4f61fc();return{'URL':_0x2784d5,'close':(_0x309b0a,_0xf6c724)=>{const _0x2a18ac=_0x23bd85;_0x35fe4d[_0x2a18ac(0x1aa)](_0x309b0a,_0xf6c724),_0x5da97b[_0x2a18ac(0x18c)]();},'send':_0x2fd585=>{_0x35fe4d['send'](_0x2fd585);},'open$':new _0x60adf7(_0x618e7d=>{const _0x284365=_0x23bd85,_0x39929c=_0x45a46c=>_0x618e7d['next'](_0x45a46c);_0x35fe4d[_0x284365(0x246)](_0x284365(0x21a),_0x39929c),_0x5da97b['add'](_0x3635b1(()=>_0x35fe4d[_0x284365(0x297)]('open',_0x39929c)));})[_0x23bd85(0x130)](_0x148dcc()),'close$':new _0x60adf7(_0x53777c=>{const _0xdbafc5=_0x23bd85,_0x9f3b20=_0x524154=>_0x53777c[_0xdbafc5(0x227)](_0x524154);_0x35fe4d[_0xdbafc5(0x246)](_0xdbafc5(0x1aa),_0x9f3b20),_0x5da97b[_0xdbafc5(0x25e)](_0x3635b1(()=>_0x35fe4d['removeEventListener']('close',_0x9f3b20)));})['pipe'](_0x148dcc()),'error$':new _0x60adf7(_0x422888=>{const _0x2449fb=_0x23bd85,_0x4d97fe=_0x442ee0=>_0x422888[_0x2449fb(0x227)](_0x442ee0);_0x35fe4d[_0x2449fb(0x246)]('error',_0x4d97fe),_0x5da97b[_0x2449fb(0x25e)](_0x3635b1(()=>_0x35fe4d['removeEventListener'](_0x2449fb(0x159),_0x4d97fe)));})[_0x23bd85(0x130)](_0x148dcc()),'message$':new _0x60adf7(_0xdd7294=>{const _0x393de2=_0x23bd85,_0x1eea4c=_0x13144c=>_0xdd7294[_0x393de2(0x227)](_0x13144c);_0x35fe4d['addEventListener']('message',_0x1eea4c),_0x5da97b[_0x393de2(0x25e)](_0x3635b1(()=>_0x35fe4d[_0x393de2(0x297)](_0x393de2(0x268),_0x1eea4c)));})[_0x23bd85(0x130)](_0x148dcc())};}catch(_0x3b4a56){return console['error'](_0x3b4a56),null;}}};Ne=rr([sr(0x0,_0xa8ce35)],Ne);var ir=Object[_0xc592e0(0x24e)],nr=Object[_0xc592e0(0x201)],or=(_0x55ac9d,_0x3ba7c9,_0xb6ea38)=>_0x3ba7c9 in _0x55ac9d?ir(_0x55ac9d,_0x3ba7c9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xb6ea38}):_0x55ac9d[_0x3ba7c9]=_0xb6ea38,ar=(_0x29dc6f,_0x512e8f,_0x48a416,_0x2be5e9)=>{for(var _0x5038ae=_0x2be5e9>0x1?void 0x0:_0x2be5e9?nr(_0x512e8f,_0x48a416):_0x512e8f,_0x5cbf49=_0x29dc6f['length']-0x1,_0x937732;_0x5cbf49>=0x0;_0x5cbf49--)(_0x937732=_0x29dc6f[_0x5cbf49])&&(_0x5038ae=_0x937732(_0x5038ae)||_0x5038ae);return _0x5038ae;},ke=(_0x150bec,_0xc2c9e3)=>(_0x3c0c17,_0x25b67f)=>_0xc2c9e3(_0x3c0c17,_0x25b67f,_0x150bec),lr=(_0x2496d3,_0x22f5b1,_0x1792fe)=>or(_0x2496d3,_0x22f5b1+'',_0x1792fe);let Pe=class extends _0xbd7967{constructor(_0x11a02f=Ft,_0x33f31c,_0x31b8ef,_0x7c3258){const _0x43c407=_0xc592e0;_0x11a02f['customHeaders']||_0x33f31c[_0x43c407(0x146)](_0x43c407(0x257)),super(),this[_0x43c407(0x186)]=_0x31b8ef,this[_0x43c407(0x1ac)]=_0x7c3258,this['_configService'][_0x43c407(0x176)](Be,_0x11a02f);}[_0xc592e0(0x213)](){this['_registerDependencies']();}[_0xc592e0(0x2ce)](){_0x4d5543(this['_injector'],[[_0x249bf7,{'useClass':Ne}]]);}};lr(Pe,_0xc592e0(0x22b),_0xc592e0(0x179)),Pe=ar([_0x128f79(_0x56ed27),ke(0x1,_0xfe304b),ke(0x2,_0xa8ce35),ke(0x3,_0xf2788c(_0x50503b))],Pe);var fr=Object[_0xc592e0(0x201)],cr=(_0xfd78fc,_0x2da17b,_0x532f72,_0x505132)=>{const _0x14f01c=_0xc592e0;for(var _0x245742=_0x505132>0x1?void 0x0:_0x505132?fr(_0x2da17b,_0x532f72):_0x2da17b,_0x56b78c=_0xfd78fc[_0x14f01c(0x187)]-0x1,_0x273480;_0x56b78c>=0x0;_0x56b78c--)(_0x273480=_0xfd78fc[_0x56b78c])&&(_0x245742=_0x273480(_0x245742)||_0x245742);return _0x245742;},se=(_0x3b71e9,_0x4bb7b4)=>(_0x10cda8,_0xf7aee0)=>_0x4bb7b4(_0x10cda8,_0xf7aee0,_0x3b71e9);let at=class extends _0x505879{constructor(_0xb0faae,_0x3da5ce,_0x5d67c8,_0x2205ab,_0x39ad82){const _0x4ff66e=_0xc592e0;super(_0xb0faae,_0x3da5ce,_0x5d67c8,_0x2205ab,_0x39ad82);const _0x4afa8b=this[_0x4ff66e(0x186)][_0x4ff66e(0x2c3)](Be);this[_0x4ff66e(0x202)]['registerHTTPInterceptor']({'interceptor':(_0x152122,_0x4e2f49)=>{const _0x4122c4=_0x4ff66e;var _0x989122;const _0x4eb381=_0x152122[_0x4122c4(0x2a6)];return(_0x989122=_0x4afa8b==null?void 0x0:_0x4afa8b[_0x4122c4(0x2bf)])!=null&&_0x989122[_0x4122c4(0x231)]&&_0x4eb381[_0x4122c4(0x229)]('Cookie',_0x4afa8b['customHeaders'][_0x4122c4(0x231)]),_0x4e2f49(_0x152122);}});}async[_0xc592e0(0x26f)](_0x1fc154){const _0x598b00=_0xc592e0;return this[_0x598b00(0x281)](_0x1fc154);}};at=cr([se(0x0,_0xf2788c(_0x50503b)),se(0x1,_0xf2788c(_0x7723dd)),se(0x2,_0xa8ce35),se(0x3,_0xfe304b),se(0x4,_0x1a59b4)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
|
|
1
|
+
const _0x15f6c9=_0x840b;(function(_0x28297a,_0x1fe71d){const _0x50bd3f=_0x840b,_0x126a32=_0x28297a();while(!![]){try{const _0x38152f=-parseInt(_0x50bd3f(0x1d6))/0x1*(parseInt(_0x50bd3f(0x193))/0x2)+parseInt(_0x50bd3f(0x173))/0x3+-parseInt(_0x50bd3f(0x120))/0x4+-parseInt(_0x50bd3f(0x16c))/0x5*(parseInt(_0x50bd3f(0x185))/0x6)+parseInt(_0x50bd3f(0x12b))/0x7+parseInt(_0x50bd3f(0x1f0))/0x8+-parseInt(_0x50bd3f(0x2b3))/0x9*(-parseInt(_0x50bd3f(0x27c))/0xa);if(_0x38152f===_0x1fe71d)break;else _0x126a32['push'](_0x126a32['shift']());}catch(_0xa4b08f){_0x126a32['push'](_0x126a32['shift']());}}}(_0x369a,0xd3349));import{UniverCollaborationClientPlugin as _0x1712f2,CollaborationSocketService as _0x30ece4}from'@univerjs-pro/collaboration-client';import{Disposable as _0x377e5d,DisposableCollection as _0x52c841,toDisposable as _0x9e3fe0,IConfigService as _0xb0deab,DependentOn as _0x3187a9,ILogService as _0x370bee,Inject as _0x23c7d9,Injector as _0x1d83c4,Plugin as _0x2f7cb9,registerDependencies as _0xf1aaa0}from'@univerjs/core';import{ISocketService as _0x22df9f,HTTPService as _0x492b06}from'@univerjs/network';import{Observable as _0x156a86,share as _0x36a070}from'rxjs';import _0x144219 from'events';import _0x188795 from'https';import _0x2a0443 from'http';import _0x5756bb from'net';import _0x8dffe6 from'tls';import _0x8b2df3 from'crypto';function _0x369a(){const _0x45232b=['byteOffset','_bufferedBytes','kDone','serverMaxWindowBits','_fragments','_originalHostOrSocketPath','_injector','_mask','_url','method','values','auth','blob','Invalid\x20WebSocket\x20frame:\x20','haveLength','readUInt32BE','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','_errorEmitted','emitClose','WebSocket\x20is\x20not\x20open:\x20readyState\x20','server','pause','prototype','_compress','pathname','protocol','websocket','_decompress','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','removeAllListeners','isArray','_destroy','_writableState','createInflateRaw','https:','WS_ERR_INVALID_UTF8','createError','zlibDeflateOptions','url','concurrency','message','address','listening','customHeaders','_bufferedAmount','_req','ws+unix:','CLOSING','toLowerCase','binaryType','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','__esModule','157869eJjMaI','kMessage','hasOwnProperty','_readyState','kByteLength','flush','toString','shift','createSocket','location','apply','ws:','isValidUTF8','bind','_opcode','unexpected-response','listeners','get','_receiver','slice','decompress','once','onerror','_queue','clientMaxWindowBits','onopen','1710464dtnejS','warn','endEmitted','File','dispose','getBlobData','authorized','stream','freeze','reset','onStarting','handleEvent','The\x20URL\x27s\x20pathname\x20is\x20empty','controlMessage','cleanup','WS_ERR_INVALID_CLOSE_CODE','Invalid\x20value\x20for\x20parameter\x20\x22','_closeMessage','sec-websocket-origin','_autoPong','jobs','rsv1','MASK\x20must\x20be\x20set','sec-websocket-key','dataMessage','test','fin','encrypted','add','_socket','destroy','finished','Invalid\x20Upgrade\x20header','split','write','collaboration-client-node.config','arraybuffer','emit','constructor','number','_inflate','kListener','dispatch','destroyed','_masked','Unexpected\x20character\x20at\x20index\x20','_sender','completeUpgrade','target','Sec-WebSocket-Protocol','socketPath','error','getOwnPropertyDescriptor','addEventListener','_isServer','unshift','conclude','port','Sec-WebSocket-Origin','drain','join','_fin','pluginName','pipe','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','concat','opcode','unmask','digest','WS_ERR_INVALID_OPCODE','hash','noServer','socket','_closeTimer','username','normalizeParams','onclose','Z_DEFAULT_WINDOWBITS','species','skipUTF8Validation','\x22\x20subprotocol\x20is\x20duplicated','_totalPayloadLength','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','redirect','base64','Invalid\x20URL:\x20','construct','_fragmented','startsWith','close','connect','from','extensions','frame','request','Invalid\x20Sec-WebSocket-Extensions\x20header','permessage-deflate','setHeader','STATUS_CODES','getMask','setConfig','pow','invalid\x20opcode\x20','allocUnsafe','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','call','invalid\x20opcode\x200','callback','keys','shouldHandle','_originalIpc','then','accept','HTTP/1.1\x20101\x20Switching\x20Protocols','WS_NO_BUFFER_UTIL','upgrade','map','defineProperty','OPEN','Opening\x20handshake\x20has\x20timed\x20out','maxPayload','finish','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','pending','charCodeAt','Blob','_extensions','next','end','cork','_allowSynchronousEvents','kError','kTarget','kIsForOnEventAttribute','writeHead','_skipUTF8Validation','resume','clientTracking','buffer','_paused','3350BsROjm','bufferedAmount','createConnection','listenerCount','onmessage','_deflate','Invalid\x20HTTP\x20method','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','wsClientError','arrayBuffer','RSV1\x20must\x20be\x20clear','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','abort','create','serverNoContextTakeover','setSocket','acceptAsServer','params','response','CLOSED','Unexpected\x20server\x20response:\x20','Sec-WebSocket-Extensions','FIN\x20must\x20be\x20set','The\x20\x22','text/html','_write','handleProtocols','_payloadLength','headers','length','_state','_removeListeners','statusCode','\x22:\x20','_options','allowSynchronousEvents','backlog','server_no_context_takeover','autoPong','errorEmitted','isView','function','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','Unknown\x20parameter\x20\x22','Connection:\x20Upgrade','Unexpected\x20end\x20of\x20input','_maskBuffer','_shouldEmitClose','Invalid\x20Sec-WebSocket-Accept\x20header','parse','pong','kData','_registerDependencies','Sec-WebSocket-Accept:\x20','Cookie','79218VWTrqM','readUInt16BE','needDrain','WebSocket','maxRedirects','cookie','path','followRedirects','objectMode','WS_ERR_UNEXPECTED_MASK','exports','perMessageDeflate','Parameter\x20\x22','_binaryType','sec-websocket-extensions','HTTP/1.1\x20','reason','writeUInt16BE','timeout','code','GET','status-code','readyState','size','_configService','_httpService','origin','_no_context_takeover','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','ping','4767868upcOBq','_closeFrameSent','acceptAsClient','client','protocolVersion','createServer','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','finishRequest','WS_ERR_EXPECTED_FIN','set','open','4970189BvpTLC','data','host','verifyClient','threshold','captureStackTrace','setNoDelay','sha1','_protocol','has','nextTick','isIP','Unsupported\x20protocol\x20version:\x20','extensionName','_readableState','getPayloadLength16','total-length','read','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','Max\x20payload\x20size\x20exceeded','CONNECTING','nodebuffer','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','kWasClean','Module','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','kCode','isInteger','getData','clients','defaultPort','removeListener','wasClean','hostname','catch','_threshold','_closeCode','registerHTTPInterceptor','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','env','string','sendFrame','servername','_loop','concurrencyLimit','Server\x20sent\x20an\x20invalid\x20subprotocol','_doCreateSocket','byteLength','_closeFrameReceived','getPayloadLength64','clientNoContextTakeover','getInfo','wss:','client_no_context_takeover','_redirects','_buffers','\x22\x20must\x20have\x20only\x20a\x20single\x20value','_compressed','alloc','type','createDeflateRaw','href','indexOf','_firstFragment','_read','3799745Uatjze','push','buffers','_errored','delete','Z_SYNC_FLUSH','consume','148773PJeSLM','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','mask','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','compress','object','forEach','_generateMask','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','replace','sec-websocket-accept','authorization','binary','terminate','readOnly','invalid\x20UTF-8\x20sequence','dequeue','password','6JuzLEs','server_max_window_bits','find','WS_ERR_UNEXPECTED_RSV_1','default','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','_messageLength','generateMask','The\x20URL\x20contains\x20a\x20fragment\x20identifier','_max_window_bits','WS_ERR_UNEXPECTED_RSV_2_3','update','client_max_window_bits','14rsrWTe','setTimeout','enqueue','toStringTag','_maxPayload','getConfig','removeEventListener','isPaused','search','startLoop','options','_server','isBuffer','send','format'];_0x369a=function(){return _0x45232b;};return _0x369a();}import _0x107dc6 from'stream';import _0x4ea5de from'url';import _0x7c67fc from'zlib';import _0x4d5e5e from'buffer';import{ISnapshotServerService as _0x42dd48}from'@univerjs-pro/collaboration';const Be=_0x15f6c9(0x213),Ft={'customHeaders':{}};function jt(_0x1fcd44){const _0x48939e=_0x15f6c9;return _0x1fcd44&&_0x1fcd44[_0x48939e(0x1d5)]&&Object[_0x48939e(0x1b8)][_0x48939e(0x1d8)][_0x48939e(0x259)](_0x1fcd44,_0x48939e(0x189))?_0x1fcd44[_0x48939e(0x189)]:_0x1fcd44;}function ut(_0x19c322){const _0x51a7f5=_0x15f6c9;if(Object[_0x51a7f5(0x1b8)][_0x51a7f5(0x1d8)][_0x51a7f5(0x259)](_0x19c322,_0x51a7f5(0x1d5)))return _0x19c322;var _0x560eb4=_0x19c322[_0x51a7f5(0x189)];if(typeof _0x560eb4==_0x51a7f5(0x2a5)){var _0x346ebb=function _0x8087d2(){const _0x26a0f5=_0x51a7f5;return this instanceof _0x8087d2?Reflect[_0x26a0f5(0x246)](_0x560eb4,arguments,this[_0x26a0f5(0x216)]):_0x560eb4[_0x26a0f5(0x1e0)](this,arguments);};_0x346ebb[_0x51a7f5(0x1b8)]=_0x560eb4[_0x51a7f5(0x1b8)];}else _0x346ebb={};return Object['defineProperty'](_0x346ebb,_0x51a7f5(0x1d5),{'value':!0x0}),Object['keys'](_0x19c322)[_0x51a7f5(0x179)](function(_0x4da45b){const _0x5ce199=_0x51a7f5;var _0x3ae040=Object['getOwnPropertyDescriptor'](_0x19c322,_0x4da45b);Object[_0x5ce199(0x265)](_0x346ebb,_0x4da45b,_0x3ae040[_0x5ce199(0x1e7)]?_0x3ae040:{'enumerable':!0x0,'get':function(){return _0x19c322[_0x4da45b];}});}),_0x346ebb;}var te={'exports':{}},ge,Ye;function V(){const _0x4c9dcd=_0x15f6c9;if(Ye)return ge;Ye=0x1;const _0x42c07d=['nodebuffer',_0x4c9dcd(0x214),'fragments'],_0x3dc588=typeof Blob<'u';return _0x3dc588&&_0x42c07d[_0x4c9dcd(0x16d)](_0x4c9dcd(0x1ae)),ge={'BINARY_TYPES':_0x42c07d,'EMPTY_BUFFER':Buffer[_0x4c9dcd(0x165)](0x0),'GUID':'258EAFA5-E914-47DA-95CA-C5AB0DC85B11','hasBlob':_0x3dc588,'kForOnEventAttribute':Symbol(_0x4c9dcd(0x275)),'kListener':Symbol(_0x4c9dcd(0x219)),'kStatusCode':Symbol(_0x4c9dcd(0x2c8)),'kWebSocket':Symbol(_0x4c9dcd(0x1bc)),'NOOP':()=>{}},ge;}const Wt={},Gt=Object[_0x15f6c9(0x1f8)](Object['defineProperty']({'__proto__':null,'default':Wt},Symbol[_0x15f6c9(0x196)],{'value':_0x15f6c9(0x143)})),Vt=ut(Gt);var Ke;function ce(){const _0x28d0a0=_0x15f6c9;if(Ke)return te[_0x28d0a0(0x2bd)];Ke=0x1;const {EMPTY_BUFFER:_0x1b89b2}=V(),_0x1de9ff=Buffer[Symbol['species']];function _0x3de9a8(_0x4fa359,_0x2e3084){const _0x3a9cfb=_0x28d0a0;if(_0x4fa359['length']===0x0)return _0x1b89b2;if(_0x4fa359['length']===0x1)return _0x4fa359[0x0];const _0x40f1a2=Buffer['allocUnsafe'](_0x2e3084);let _0x37e6c8=0x0;for(let _0x5c2edb=0x0;_0x5c2edb<_0x4fa359[_0x3a9cfb(0x299)];_0x5c2edb++){const _0x4b3114=_0x4fa359[_0x5c2edb];_0x40f1a2['set'](_0x4b3114,_0x37e6c8),_0x37e6c8+=_0x4b3114[_0x3a9cfb(0x299)];}return _0x37e6c8<_0x2e3084?new _0x1de9ff(_0x40f1a2[_0x3a9cfb(0x27a)],_0x40f1a2[_0x3a9cfb(0x1a2)],_0x37e6c8):_0x40f1a2;}function _0x46fc47(_0xd079a5,_0x278cc1,_0x291dda,_0x53a1f0,_0x5b35a7){for(let _0x5bc991=0x0;_0x5bc991<_0x5b35a7;_0x5bc991++)_0x291dda[_0x53a1f0+_0x5bc991]=_0xd079a5[_0x5bc991]^_0x278cc1[_0x5bc991&0x3];}function _0x1bce76(_0x56c858,_0x49bb7c){const _0xe5a3fb=_0x28d0a0;for(let _0x370e7c=0x0;_0x370e7c<_0x56c858[_0xe5a3fb(0x299)];_0x370e7c++)_0x56c858[_0x370e7c]^=_0x49bb7c[_0x370e7c&0x3];}function _0x82b408(_0x401a95){const _0x4f2115=_0x28d0a0;return _0x401a95[_0x4f2115(0x299)]===_0x401a95[_0x4f2115(0x27a)][_0x4f2115(0x15a)]?_0x401a95[_0x4f2115(0x27a)]:_0x401a95['buffer']['slice'](_0x401a95[_0x4f2115(0x1a2)],_0x401a95['byteOffset']+_0x401a95[_0x4f2115(0x299)]);}function _0x552d1f(_0xf8f14){const _0x357c0e=_0x28d0a0;if(_0x552d1f['readOnly']=!0x0,Buffer[_0x357c0e(0x19f)](_0xf8f14))return _0xf8f14;let _0xc4ffcb;return _0xf8f14 instanceof ArrayBuffer?_0xc4ffcb=new _0x1de9ff(_0xf8f14):ArrayBuffer[_0x357c0e(0x2a4)](_0xf8f14)?_0xc4ffcb=new _0x1de9ff(_0xf8f14[_0x357c0e(0x27a)],_0xf8f14[_0x357c0e(0x1a2)],_0xf8f14[_0x357c0e(0x15a)]):(_0xc4ffcb=Buffer[_0x357c0e(0x24b)](_0xf8f14),_0x552d1f['readOnly']=!0x1),_0xc4ffcb;}if(te[_0x28d0a0(0x2bd)]={'concat':_0x3de9a8,'mask':_0x46fc47,'toArrayBuffer':_0x82b408,'toBuffer':_0x552d1f,'unmask':_0x1bce76},!process[_0x28d0a0(0x152)][_0x28d0a0(0x262)])try{const _0x3f775f=Vt;te['exports'][_0x28d0a0(0x175)]=function(_0xc1a0c0,_0x3d1ef9,_0x34668a,_0x1b88c1,_0x1d08d4){const _0x3f1510=_0x28d0a0;_0x1d08d4<0x30?_0x46fc47(_0xc1a0c0,_0x3d1ef9,_0x34668a,_0x1b88c1,_0x1d08d4):_0x3f775f[_0x3f1510(0x175)](_0xc1a0c0,_0x3d1ef9,_0x34668a,_0x1b88c1,_0x1d08d4);},te[_0x28d0a0(0x2bd)][_0x28d0a0(0x233)]=function(_0x10b614,_0xc4833){const _0xaa8580=_0x28d0a0;_0x10b614[_0xaa8580(0x299)]<0x20?_0x1bce76(_0x10b614,_0xc4833):_0x3f775f['unmask'](_0x10b614,_0xc4833);};}catch{}return te[_0x28d0a0(0x2bd)];}var ye,Xe;function qt(){const _0x51cdfb=_0x15f6c9;if(Xe)return ye;Xe=0x1;const _0x5751e5=Symbol(_0x51cdfb(0x1a4)),_0x21a759=Symbol('kRun');class _0x1a9978{constructor(_0x57c821){const _0x46a705=_0x51cdfb;this[_0x5751e5]=()=>{const _0xe179c=_0x840b;this[_0xe179c(0x26b)]--,this[_0x21a759]();},this[_0x46a705(0x1c9)]=_0x57c821||0x1/0x0,this[_0x46a705(0x204)]=[],this[_0x46a705(0x26b)]=0x0;}[_0x51cdfb(0x20c)](_0xdf8704){const _0x25fd76=_0x51cdfb;this[_0x25fd76(0x204)][_0x25fd76(0x16d)](_0xdf8704),this[_0x21a759]();}[_0x21a759](){const _0x1fa17a=_0x51cdfb;if(this[_0x1fa17a(0x26b)]!==this[_0x1fa17a(0x1c9)]&&this['jobs'][_0x1fa17a(0x299)]){const _0x3bbd31=this['jobs'][_0x1fa17a(0x1dd)]();this[_0x1fa17a(0x26b)]++,_0x3bbd31(this[_0x5751e5]);}}}return ye=_0x1a9978,ye;}var ve,Ze;function he(){const _0x1f7258=_0x15f6c9;if(Ze)return ve;Ze=0x1;const _0x28b72a=_0x7c67fc,_0x169e42=ce(),_0x365ada=qt(),{kStatusCode:_0x5764b6}=V(),_0x2b3cc6=Buffer[Symbol['species']],_0x1120a6=Buffer['from']([0x0,0x0,0xff,0xff]),_0x2fa2e5=Symbol(_0x1f7258(0x250)),_0x331910=Symbol(_0x1f7258(0x13b)),_0x224bec=Symbol(_0x1f7258(0x25b)),_0x597e91=Symbol(_0x1f7258(0x16e)),_0x24bd93=Symbol(_0x1f7258(0x223));let _0x2d21da;class _0x5b2f8f{constructor(_0x7baaab,_0x318eb4,_0x551b2f){const _0x345aa9=_0x1f7258;if(this['_maxPayload']=_0x551b2f|0x0,this['_options']=_0x7baaab||{},this[_0x345aa9(0x14e)]=this[_0x345aa9(0x29e)]['threshold']!==void 0x0?this[_0x345aa9(0x29e)][_0x345aa9(0x12f)]:0x400,this['_isServer']=!!_0x318eb4,this[_0x345aa9(0x281)]=null,this[_0x345aa9(0x218)]=null,this[_0x345aa9(0x28d)]=null,!_0x2d21da){const _0x39ecfd=this[_0x345aa9(0x29e)]['concurrencyLimit']!==void 0x0?this[_0x345aa9(0x29e)][_0x345aa9(0x157)]:0xa;_0x2d21da=new _0x365ada(_0x39ecfd);}}static get['extensionName'](){const _0x160d86=_0x1f7258;return _0x160d86(0x250);}['offer'](){const _0x586b32=_0x1f7258,_0x21def2={};return this[_0x586b32(0x29e)]['serverNoContextTakeover']&&(_0x21def2[_0x586b32(0x2a1)]=!0x0),this[_0x586b32(0x29e)][_0x586b32(0x15d)]&&(_0x21def2[_0x586b32(0x160)]=!0x0),this['_options'][_0x586b32(0x1a5)]&&(_0x21def2[_0x586b32(0x186)]=this['_options'][_0x586b32(0x1a5)]),this[_0x586b32(0x29e)][_0x586b32(0x1ee)]?_0x21def2[_0x586b32(0x192)]=this[_0x586b32(0x29e)][_0x586b32(0x1ee)]:this['_options'][_0x586b32(0x1ee)]==null&&(_0x21def2[_0x586b32(0x192)]=!0x0),_0x21def2;}[_0x1f7258(0x260)](_0x26f236){const _0x5eb458=_0x1f7258;return _0x26f236=this['normalizeParams'](_0x26f236),this[_0x5eb458(0x28d)]=this[_0x5eb458(0x226)]?this['acceptAsServer'](_0x26f236):this['acceptAsClient'](_0x26f236),this[_0x5eb458(0x28d)];}['cleanup'](){const _0x3e1d1c=_0x1f7258;if(this[_0x3e1d1c(0x218)]&&(this[_0x3e1d1c(0x218)][_0x3e1d1c(0x249)](),this[_0x3e1d1c(0x218)]=null),this[_0x3e1d1c(0x281)]){const _0x506c2e=this['_deflate'][_0x224bec];this[_0x3e1d1c(0x281)]['close'](),this[_0x3e1d1c(0x281)]=null,_0x506c2e&&_0x506c2e(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}[_0x1f7258(0x28c)](_0x116715){const _0xd7a6b3=_0x1f7258,_0x283e1d=this[_0xd7a6b3(0x29e)],_0x4aa0bd=_0x116715[_0xd7a6b3(0x187)](_0x51ad85=>!(_0x283e1d['serverNoContextTakeover']===!0x1&&_0x51ad85[_0xd7a6b3(0x2a1)]||_0x51ad85[_0xd7a6b3(0x186)]&&(_0x283e1d['serverMaxWindowBits']===!0x1||typeof _0x283e1d['serverMaxWindowBits']==_0xd7a6b3(0x217)&&_0x283e1d['serverMaxWindowBits']>_0x51ad85[_0xd7a6b3(0x186)])||typeof _0x283e1d[_0xd7a6b3(0x1ee)]==_0xd7a6b3(0x217)&&!_0x51ad85[_0xd7a6b3(0x192)]));if(!_0x4aa0bd)throw new Error(_0xd7a6b3(0x1be));return _0x283e1d[_0xd7a6b3(0x28a)]&&(_0x4aa0bd[_0xd7a6b3(0x2a1)]=!0x0),_0x283e1d[_0xd7a6b3(0x15d)]&&(_0x4aa0bd[_0xd7a6b3(0x160)]=!0x0),typeof _0x283e1d[_0xd7a6b3(0x1a5)]==_0xd7a6b3(0x217)&&(_0x4aa0bd[_0xd7a6b3(0x186)]=_0x283e1d[_0xd7a6b3(0x1a5)]),typeof _0x283e1d['clientMaxWindowBits']=='number'?_0x4aa0bd[_0xd7a6b3(0x192)]=_0x283e1d[_0xd7a6b3(0x1ee)]:(_0x4aa0bd[_0xd7a6b3(0x192)]===!0x0||_0x283e1d['clientMaxWindowBits']===!0x1)&&delete _0x4aa0bd[_0xd7a6b3(0x192)],_0x4aa0bd;}[_0x1f7258(0x122)](_0x107359){const _0x47ced1=_0x1f7258,_0xd543c9=_0x107359[0x0];if(this['_options'][_0x47ced1(0x15d)]===!0x1&&_0xd543c9[_0x47ced1(0x160)])throw new Error(_0x47ced1(0x13d));if(!_0xd543c9[_0x47ced1(0x192)])typeof this[_0x47ced1(0x29e)][_0x47ced1(0x1ee)]==_0x47ced1(0x217)&&(_0xd543c9[_0x47ced1(0x192)]=this[_0x47ced1(0x29e)][_0x47ced1(0x1ee)]);else{if(this[_0x47ced1(0x29e)][_0x47ced1(0x1ee)]===!0x1||typeof this['_options'][_0x47ced1(0x1ee)]==_0x47ced1(0x217)&&_0xd543c9[_0x47ced1(0x192)]>this[_0x47ced1(0x29e)][_0x47ced1(0x1ee)])throw new Error(_0x47ced1(0x151));}return _0xd543c9;}[_0x1f7258(0x23b)](_0xd14668){return _0xd14668['forEach'](_0x4391ec=>{const _0x211d67=_0x840b;Object[_0x211d67(0x25c)](_0x4391ec)[_0x211d67(0x179)](_0x1bfb2c=>{const _0x1dcc8b=_0x211d67;let _0x302a9d=_0x4391ec[_0x1bfb2c];if(_0x302a9d[_0x1dcc8b(0x299)]>0x1)throw new Error(_0x1dcc8b(0x2bf)+_0x1bfb2c+_0x1dcc8b(0x163));if(_0x302a9d=_0x302a9d[0x0],_0x1bfb2c==='client_max_window_bits'){if(_0x302a9d!==!0x0){const _0x51f958=+_0x302a9d;if(!Number[_0x1dcc8b(0x146)](_0x51f958)||_0x51f958<0x8||_0x51f958>0xf)throw new TypeError(_0x1dcc8b(0x200)+_0x1bfb2c+_0x1dcc8b(0x29d)+_0x302a9d);_0x302a9d=_0x51f958;}else{if(!this['_isServer'])throw new TypeError(_0x1dcc8b(0x200)+_0x1bfb2c+_0x1dcc8b(0x29d)+_0x302a9d);}}else{if(_0x1bfb2c==='server_max_window_bits'){const _0x45d4d0=+_0x302a9d;if(!Number['isInteger'](_0x45d4d0)||_0x45d4d0<0x8||_0x45d4d0>0xf)throw new TypeError(_0x1dcc8b(0x200)+_0x1bfb2c+'\x22:\x20'+_0x302a9d);_0x302a9d=_0x45d4d0;}else{if(_0x1bfb2c==='client_no_context_takeover'||_0x1bfb2c===_0x1dcc8b(0x2a1)){if(_0x302a9d!==!0x0)throw new TypeError(_0x1dcc8b(0x200)+_0x1bfb2c+_0x1dcc8b(0x29d)+_0x302a9d);}else throw new Error(_0x1dcc8b(0x2a7)+_0x1bfb2c+'\x22');}}_0x4391ec[_0x1bfb2c]=_0x302a9d;});}),_0xd14668;}['decompress'](_0x3d3067,_0x9115bc,_0x4b9ae6){const _0x3e8454=_0x1f7258;_0x2d21da[_0x3e8454(0x20c)](_0x237351=>{this['_decompress'](_0x3d3067,_0x9115bc,(_0x38bf4b,_0x48d3df)=>{_0x237351(),_0x4b9ae6(_0x38bf4b,_0x48d3df);});});}[_0x1f7258(0x177)](_0x53894c,_0x2b6de6,_0x537f5e){_0x2d21da['add'](_0x25adcd=>{const _0x54e376=_0x840b;this[_0x54e376(0x1b9)](_0x53894c,_0x2b6de6,(_0x3b42c5,_0x3bea63)=>{_0x25adcd(),_0x537f5e(_0x3b42c5,_0x3bea63);});});}[_0x1f7258(0x1bd)](_0xd02df1,_0xd51c0e,_0x561657){const _0x54e954=_0x1f7258,_0x2ef4ab=this[_0x54e954(0x226)]?_0x54e954(0x123):_0x54e954(0x1b6);if(!this['_inflate']){const _0x1c24e3=_0x2ef4ab+_0x54e954(0x18f),_0xce2e1f=typeof this['params'][_0x1c24e3]!=_0x54e954(0x217)?_0x28b72a[_0x54e954(0x23d)]:this[_0x54e954(0x28d)][_0x1c24e3];this['_inflate']=_0x28b72a[_0x54e954(0x1c3)]({...this[_0x54e954(0x29e)]['zlibInflateOptions'],'windowBits':_0xce2e1f}),this['_inflate'][_0x2fa2e5]=this,this[_0x54e954(0x218)][_0x331910]=0x0,this[_0x54e954(0x218)][_0x597e91]=[],this[_0x54e954(0x218)]['on'](_0x54e954(0x223),_0x23632d),this[_0x54e954(0x218)]['on'](_0x54e954(0x12c),_0x3c1c3d);}this[_0x54e954(0x218)][_0x224bec]=_0x561657,this[_0x54e954(0x218)][_0x54e954(0x212)](_0xd02df1),_0xd51c0e&&this[_0x54e954(0x218)][_0x54e954(0x212)](_0x1120a6),this[_0x54e954(0x218)]['flush'](()=>{const _0x46ad07=_0x54e954,_0x1015c4=this[_0x46ad07(0x218)][_0x24bd93];if(_0x1015c4){this['_inflate']['close'](),this[_0x46ad07(0x218)]=null,_0x561657(_0x1015c4);return;}const _0x53423d=_0x169e42['concat'](this[_0x46ad07(0x218)][_0x597e91],this['_inflate'][_0x331910]);this[_0x46ad07(0x218)][_0x46ad07(0x139)][_0x46ad07(0x1f2)]?(this[_0x46ad07(0x218)]['close'](),this[_0x46ad07(0x218)]=null):(this['_inflate'][_0x331910]=0x0,this[_0x46ad07(0x218)][_0x597e91]=[],_0xd51c0e&&this[_0x46ad07(0x28d)][_0x2ef4ab+_0x46ad07(0x11d)]&&this[_0x46ad07(0x218)][_0x46ad07(0x1f9)]()),_0x561657(null,_0x53423d);});}[_0x1f7258(0x1b9)](_0x184bbf,_0x5adb4e,_0x4e8810){const _0x234870=_0x1f7258,_0x492806=this['_isServer']?_0x234870(0x1b6):_0x234870(0x123);if(!this[_0x234870(0x281)]){const _0x3eaded=_0x492806+'_max_window_bits',_0x37fda3=typeof this[_0x234870(0x28d)][_0x3eaded]!=_0x234870(0x217)?_0x28b72a['Z_DEFAULT_WINDOWBITS']:this[_0x234870(0x28d)][_0x3eaded];this[_0x234870(0x281)]=_0x28b72a[_0x234870(0x167)]({...this[_0x234870(0x29e)][_0x234870(0x1c7)],'windowBits':_0x37fda3}),this[_0x234870(0x281)][_0x331910]=0x0,this[_0x234870(0x281)][_0x597e91]=[],this[_0x234870(0x281)]['on'](_0x234870(0x12c),_0x182067);}this['_deflate'][_0x224bec]=_0x4e8810,this[_0x234870(0x281)][_0x234870(0x212)](_0x184bbf),this[_0x234870(0x281)][_0x234870(0x1db)](_0x28b72a[_0x234870(0x171)],()=>{const _0x39fa31=_0x234870;if(!this[_0x39fa31(0x281)])return;let _0x120ff9=_0x169e42[_0x39fa31(0x231)](this['_deflate'][_0x597e91],this[_0x39fa31(0x281)][_0x331910]);_0x5adb4e&&(_0x120ff9=new _0x2b3cc6(_0x120ff9[_0x39fa31(0x27a)],_0x120ff9['byteOffset'],_0x120ff9[_0x39fa31(0x299)]-0x4)),this[_0x39fa31(0x281)][_0x224bec]=null,this[_0x39fa31(0x281)][_0x331910]=0x0,this[_0x39fa31(0x281)][_0x597e91]=[],_0x5adb4e&&this['params'][_0x492806+'_no_context_takeover']&&this[_0x39fa31(0x281)][_0x39fa31(0x1f9)](),_0x4e8810(null,_0x120ff9);});}}ve=_0x5b2f8f;function _0x182067(_0x2cc201){const _0x32af18=_0x1f7258;this[_0x597e91][_0x32af18(0x16d)](_0x2cc201),this[_0x331910]+=_0x2cc201[_0x32af18(0x299)];}function _0x3c1c3d(_0x4fb83d){const _0x3ed82c=_0x1f7258;if(this[_0x331910]+=_0x4fb83d[_0x3ed82c(0x299)],this[_0x2fa2e5][_0x3ed82c(0x197)]<0x1||this[_0x331910]<=this[_0x2fa2e5]['_maxPayload']){this[_0x597e91]['push'](_0x4fb83d);return;}this[_0x24bd93]=new RangeError(_0x3ed82c(0x13e)),this[_0x24bd93][_0x3ed82c(0x2c6)]='WS_ERR_UNSUPPORTED_MESSAGE_LENGTH',this[_0x24bd93][_0x5764b6]=0x3f1,this['removeListener'](_0x3ed82c(0x12c),_0x3c1c3d),this['reset']();}function _0x23632d(_0x13cbf0){const _0x1a46b9=_0x1f7258;if(this[_0x2fa2e5][_0x1a46b9(0x218)]=null,this[_0x24bd93]){this[_0x224bec](this[_0x24bd93]);return;}_0x13cbf0[_0x5764b6]=0x3ef,this[_0x224bec](_0x13cbf0);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x15f6c9(0x1f8)](Object[_0x15f6c9(0x265)]({'__proto__':null,'default':Ht},Symbol[_0x15f6c9(0x196)],{'value':'Module'})),Yt=ut(zt);var Qe;function ne(){const _0x529859=_0x15f6c9;if(Qe)return re['exports'];Qe=0x1;const {isUtf8:_0x4a9c5e}=_0x4d5e5e,{hasBlob:_0x427b00}=V(),_0x335516=[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 _0x1acf5f(_0x4ba45e){return _0x4ba45e>=0x3e8&&_0x4ba45e<=0x3f6&&_0x4ba45e!==0x3ec&&_0x4ba45e!==0x3ed&&_0x4ba45e!==0x3ee||_0x4ba45e>=0xbb8&&_0x4ba45e<=0x1387;}function _0x188fdc(_0x35c1ce){const _0x30907=_0x840b,_0x34f4f1=_0x35c1ce[_0x30907(0x299)];let _0x59d9c2=0x0;for(;_0x59d9c2<_0x34f4f1;)if((_0x35c1ce[_0x59d9c2]&0x80)===0x0)_0x59d9c2++;else{if((_0x35c1ce[_0x59d9c2]&0xe0)===0xc0){if(_0x59d9c2+0x1===_0x34f4f1||(_0x35c1ce[_0x59d9c2+0x1]&0xc0)!==0x80||(_0x35c1ce[_0x59d9c2]&0xfe)===0xc0)return!0x1;_0x59d9c2+=0x2;}else{if((_0x35c1ce[_0x59d9c2]&0xf0)===0xe0){if(_0x59d9c2+0x2>=_0x34f4f1||(_0x35c1ce[_0x59d9c2+0x1]&0xc0)!==0x80||(_0x35c1ce[_0x59d9c2+0x2]&0xc0)!==0x80||_0x35c1ce[_0x59d9c2]===0xe0&&(_0x35c1ce[_0x59d9c2+0x1]&0xe0)===0x80||_0x35c1ce[_0x59d9c2]===0xed&&(_0x35c1ce[_0x59d9c2+0x1]&0xe0)===0xa0)return!0x1;_0x59d9c2+=0x3;}else{if((_0x35c1ce[_0x59d9c2]&0xf8)===0xf0){if(_0x59d9c2+0x3>=_0x34f4f1||(_0x35c1ce[_0x59d9c2+0x1]&0xc0)!==0x80||(_0x35c1ce[_0x59d9c2+0x2]&0xc0)!==0x80||(_0x35c1ce[_0x59d9c2+0x3]&0xc0)!==0x80||_0x35c1ce[_0x59d9c2]===0xf0&&(_0x35c1ce[_0x59d9c2+0x1]&0xf0)===0x80||_0x35c1ce[_0x59d9c2]===0xf4&&_0x35c1ce[_0x59d9c2+0x1]>0x8f||_0x35c1ce[_0x59d9c2]>0xf4)return!0x1;_0x59d9c2+=0x4;}else return!0x1;}}}return!0x0;}function _0x1e4ce1(_0x1fd353){const _0x4042f6=_0x840b;return _0x427b00&&typeof _0x1fd353=='object'&&typeof _0x1fd353['arrayBuffer']=='function'&&typeof _0x1fd353['type']==_0x4042f6(0x153)&&typeof _0x1fd353[_0x4042f6(0x1f7)]==_0x4042f6(0x2a5)&&(_0x1fd353[Symbol['toStringTag']]===_0x4042f6(0x26d)||_0x1fd353[Symbol[_0x4042f6(0x196)]]===_0x4042f6(0x1f3));}if(re['exports']={'isBlob':_0x1e4ce1,'isValidStatusCode':_0x1acf5f,'isValidUTF8':_0x188fdc,'tokenChars':_0x335516},_0x4a9c5e)re[_0x529859(0x2bd)]['isValidUTF8']=function(_0x4fbeeb){const _0x170844=_0x529859;return _0x4fbeeb[_0x170844(0x299)]<0x18?_0x188fdc(_0x4fbeeb):_0x4a9c5e(_0x4fbeeb);};else{if(!process[_0x529859(0x152)]['WS_NO_UTF_8_VALIDATE'])try{const _0x351b66=Yt;re[_0x529859(0x2bd)][_0x529859(0x1e2)]=function(_0x11fcc5){return _0x11fcc5['length']<0x20?_0x188fdc(_0x11fcc5):_0x351b66(_0x11fcc5);};}catch{}}return re['exports'];}var Se,Je;function dt(){const _0x29ffa2=_0x15f6c9;if(Je)return Se;Je=0x1;const {Writable:_0x889685}=_0x107dc6,_0x26eba2=he(),{BINARY_TYPES:_0x1d15e2,EMPTY_BUFFER:_0x1a349d,kStatusCode:_0x39c82b,kWebSocket:_0x1fe0a3}=V(),{concat:_0x4750f6,toArrayBuffer:_0x251b76,unmask:_0x4bb4a8}=ce(),{isValidStatusCode:_0x5def09,isValidUTF8:_0xba7966}=ne(),_0x27926a=Buffer[Symbol[_0x29ffa2(0x23e)]],_0x1f9de2=0x0,_0x357f65=0x1,_0x13fad4=0x2,_0x365869=0x3,_0x1b8271=0x4,_0x1812f1=0x5,_0x146901=0x6;class _0x5c1ef0 extends _0x889685{constructor(_0x5e8cbe={}){const _0x480e81=_0x29ffa2;super(),this['_allowSynchronousEvents']=_0x5e8cbe['allowSynchronousEvents']!==void 0x0?_0x5e8cbe[_0x480e81(0x29f)]:!0x0,this[_0x480e81(0x2c0)]=_0x5e8cbe[_0x480e81(0x1d3)]||_0x1d15e2[0x0],this[_0x480e81(0x26e)]=_0x5e8cbe[_0x480e81(0x24c)]||{},this['_isServer']=!!_0x5e8cbe['isServer'],this[_0x480e81(0x197)]=_0x5e8cbe['maxPayload']|0x0,this[_0x480e81(0x277)]=!!_0x5e8cbe[_0x480e81(0x23f)],this[_0x1fe0a3]=void 0x0,this[_0x480e81(0x1a3)]=0x0,this['_buffers']=[],this['_compressed']=!0x1,this[_0x480e81(0x297)]=0x0,this[_0x480e81(0x1a9)]=void 0x0,this['_fragmented']=0x0,this[_0x480e81(0x21c)]=!0x1,this[_0x480e81(0x22d)]=!0x1,this[_0x480e81(0x1e4)]=0x0,this[_0x480e81(0x241)]=0x0,this[_0x480e81(0x18c)]=0x0,this[_0x480e81(0x1a6)]=[],this[_0x480e81(0x16f)]=!0x1,this[_0x480e81(0x156)]=!0x1,this['_state']=_0x1f9de2;}['_write'](_0x31ecb1,_0x373c93,_0xfb5248){const _0x3df17f=_0x29ffa2;if(this[_0x3df17f(0x1e4)]===0x8&&this[_0x3df17f(0x29a)]==_0x1f9de2)return _0xfb5248();this[_0x3df17f(0x1a3)]+=_0x31ecb1[_0x3df17f(0x299)],this['_buffers'][_0x3df17f(0x16d)](_0x31ecb1),this[_0x3df17f(0x19c)](_0xfb5248);}['consume'](_0x358a5f){const _0x829b24=_0x29ffa2;if(this[_0x829b24(0x1a3)]-=_0x358a5f,_0x358a5f===this[_0x829b24(0x162)][0x0][_0x829b24(0x299)])return this['_buffers'][_0x829b24(0x1dd)]();if(_0x358a5f<this['_buffers'][0x0]['length']){const _0x424d55=this[_0x829b24(0x162)][0x0];return this['_buffers'][0x0]=new _0x27926a(_0x424d55['buffer'],_0x424d55['byteOffset']+_0x358a5f,_0x424d55[_0x829b24(0x299)]-_0x358a5f),new _0x27926a(_0x424d55['buffer'],_0x424d55[_0x829b24(0x1a2)],_0x358a5f);}const _0x295f34=Buffer[_0x829b24(0x257)](_0x358a5f);do{const _0x3d4a2b=this[_0x829b24(0x162)][0x0],_0x335588=_0x295f34[_0x829b24(0x299)]-_0x358a5f;_0x358a5f>=_0x3d4a2b[_0x829b24(0x299)]?_0x295f34[_0x829b24(0x129)](this[_0x829b24(0x162)][_0x829b24(0x1dd)](),_0x335588):(_0x295f34[_0x829b24(0x129)](new Uint8Array(_0x3d4a2b['buffer'],_0x3d4a2b[_0x829b24(0x1a2)],_0x358a5f),_0x335588),this[_0x829b24(0x162)][0x0]=new _0x27926a(_0x3d4a2b[_0x829b24(0x27a)],_0x3d4a2b[_0x829b24(0x1a2)]+_0x358a5f,_0x3d4a2b[_0x829b24(0x299)]-_0x358a5f)),_0x358a5f-=_0x3d4a2b['length'];}while(_0x358a5f>0x0);return _0x295f34;}[_0x29ffa2(0x19c)](_0x41a07a){const _0x5936e7=_0x29ffa2;this['_loop']=!0x0;do switch(this[_0x5936e7(0x29a)]){case _0x1f9de2:this[_0x5936e7(0x15e)](_0x41a07a);break;case _0x357f65:this[_0x5936e7(0x13a)](_0x41a07a);break;case _0x13fad4:this[_0x5936e7(0x15c)](_0x41a07a);break;case _0x365869:this[_0x5936e7(0x253)]();break;case _0x1b8271:this[_0x5936e7(0x147)](_0x41a07a);break;case _0x1812f1:case _0x146901:this['_loop']=!0x1;return;}while(this['_loop']);this['_errored']||_0x41a07a();}['getInfo'](_0x43c765){const _0x50098d=_0x29ffa2;if(this[_0x50098d(0x1a3)]<0x2){this['_loop']=!0x1;return;}const _0x59af85=this[_0x50098d(0x172)](0x2);if((_0x59af85[0x0]&0x30)!==0x0){const _0x1cf1d2=this[_0x50098d(0x1c6)](RangeError,_0x50098d(0x174),!0x0,0x3ea,_0x50098d(0x190));_0x43c765(_0x1cf1d2);return;}const _0x4efd59=(_0x59af85[0x0]&0x40)===0x40;if(_0x4efd59&&!this[_0x50098d(0x26e)][_0x26eba2['extensionName']]){const _0x3dfdf8=this[_0x50098d(0x1c6)](RangeError,_0x50098d(0x286),!0x0,0x3ea,_0x50098d(0x188));_0x43c765(_0x3dfdf8);return;}if(this[_0x50098d(0x22d)]=(_0x59af85[0x0]&0x80)===0x80,this[_0x50098d(0x1e4)]=_0x59af85[0x0]&0xf,this[_0x50098d(0x297)]=_0x59af85[0x1]&0x7f,this[_0x50098d(0x1e4)]===0x0){if(_0x4efd59){const _0x1c0fbb=this[_0x50098d(0x1c6)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x50098d(0x188));_0x43c765(_0x1c0fbb);return;}if(!this[_0x50098d(0x247)]){const _0x54aa29=this[_0x50098d(0x1c6)](RangeError,_0x50098d(0x25a),!0x0,0x3ea,_0x50098d(0x235));_0x43c765(_0x54aa29);return;}this[_0x50098d(0x1e4)]=this[_0x50098d(0x247)];}else{if(this[_0x50098d(0x1e4)]===0x1||this[_0x50098d(0x1e4)]===0x2){if(this[_0x50098d(0x247)]){const _0x264cc7=this[_0x50098d(0x1c6)](RangeError,_0x50098d(0x256)+this[_0x50098d(0x1e4)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x43c765(_0x264cc7);return;}this[_0x50098d(0x164)]=_0x4efd59;}else{if(this['_opcode']>0x7&&this[_0x50098d(0x1e4)]<0xb){if(!this[_0x50098d(0x22d)]){const _0x355f48=this[_0x50098d(0x1c6)](RangeError,_0x50098d(0x292),!0x0,0x3ea,_0x50098d(0x128));_0x43c765(_0x355f48);return;}if(_0x4efd59){const _0x84c8fb=this[_0x50098d(0x1c6)](RangeError,_0x50098d(0x286),!0x0,0x3ea,_0x50098d(0x188));_0x43c765(_0x84c8fb);return;}if(this['_payloadLength']>0x7d||this['_opcode']===0x8&&this[_0x50098d(0x297)]===0x1){const _0x55bb1e=this['createError'](RangeError,'invalid\x20payload\x20length\x20'+this[_0x50098d(0x297)],!0x0,0x3ea,'WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH');_0x43c765(_0x55bb1e);return;}}else{const _0x524e02=this[_0x50098d(0x1c6)](RangeError,_0x50098d(0x256)+this['_opcode'],!0x0,0x3ea,_0x50098d(0x235));_0x43c765(_0x524e02);return;}}}if(!this[_0x50098d(0x22d)]&&!this[_0x50098d(0x247)]&&(this[_0x50098d(0x247)]=this[_0x50098d(0x1e4)]),this[_0x50098d(0x21c)]=(_0x59af85[0x1]&0x80)===0x80,this[_0x50098d(0x226)]){if(!this['_masked']){const _0x3e19fe=this['createError'](RangeError,_0x50098d(0x206),!0x0,0x3ea,'WS_ERR_EXPECTED_MASK');_0x43c765(_0x3e19fe);return;}}else{if(this[_0x50098d(0x21c)]){const _0x1cf85d=this[_0x50098d(0x1c6)](RangeError,'MASK\x20must\x20be\x20clear',!0x0,0x3ea,_0x50098d(0x2bc));_0x43c765(_0x1cf85d);return;}}this[_0x50098d(0x297)]===0x7e?this['_state']=_0x357f65:this[_0x50098d(0x297)]===0x7f?this[_0x50098d(0x29a)]=_0x13fad4:this[_0x50098d(0x1b0)](_0x43c765);}[_0x29ffa2(0x13a)](_0x5de6cc){const _0x46c154=_0x29ffa2;if(this[_0x46c154(0x1a3)]<0x2){this[_0x46c154(0x156)]=!0x1;return;}this[_0x46c154(0x297)]=this[_0x46c154(0x172)](0x2)['readUInt16BE'](0x0),this[_0x46c154(0x1b0)](_0x5de6cc);}[_0x29ffa2(0x15c)](_0x201dc4){const _0x426676=_0x29ffa2;if(this[_0x426676(0x1a3)]<0x8){this[_0x426676(0x156)]=!0x1;return;}const _0x13d7ab=this['consume'](0x8),_0x251806=_0x13d7ab[_0x426676(0x1b1)](0x0);if(_0x251806>Math[_0x426676(0x255)](0x2,0x15)-0x1){const _0x15d344=this['createError'](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,_0x426676(0x283));_0x201dc4(_0x15d344);return;}this['_payloadLength']=_0x251806*Math['pow'](0x2,0x20)+_0x13d7ab[_0x426676(0x1b1)](0x4),this['haveLength'](_0x201dc4);}[_0x29ffa2(0x1b0)](_0x31a990){const _0x1918dc=_0x29ffa2;if(this[_0x1918dc(0x297)]&&this[_0x1918dc(0x1e4)]<0x8&&(this['_totalPayloadLength']+=this['_payloadLength'],this[_0x1918dc(0x241)]>this[_0x1918dc(0x197)]&&this[_0x1918dc(0x197)]>0x0)){const _0x460ae1=this[_0x1918dc(0x1c6)](RangeError,_0x1918dc(0x13e),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x31a990(_0x460ae1);return;}this['_masked']?this[_0x1918dc(0x29a)]=_0x365869:this[_0x1918dc(0x29a)]=_0x1b8271;}[_0x29ffa2(0x253)](){const _0x73aa0=_0x29ffa2;if(this[_0x73aa0(0x1a3)]<0x4){this[_0x73aa0(0x156)]=!0x1;return;}this[_0x73aa0(0x1a9)]=this['consume'](0x4),this[_0x73aa0(0x29a)]=_0x1b8271;}['getData'](_0x3fc78e){const _0x42dcf1=_0x29ffa2;let _0x47957e=_0x1a349d;if(this[_0x42dcf1(0x297)]){if(this[_0x42dcf1(0x1a3)]<this['_payloadLength']){this[_0x42dcf1(0x156)]=!0x1;return;}_0x47957e=this[_0x42dcf1(0x172)](this['_payloadLength']),this[_0x42dcf1(0x21c)]&&(this[_0x42dcf1(0x1a9)][0x0]|this['_mask'][0x1]|this[_0x42dcf1(0x1a9)][0x2]|this['_mask'][0x3])!==0x0&&_0x4bb4a8(_0x47957e,this[_0x42dcf1(0x1a9)]);}if(this['_opcode']>0x7){this[_0x42dcf1(0x1fd)](_0x47957e,_0x3fc78e);return;}if(this[_0x42dcf1(0x164)]){this[_0x42dcf1(0x29a)]=_0x1812f1,this['decompress'](_0x47957e,_0x3fc78e);return;}_0x47957e[_0x42dcf1(0x299)]&&(this['_messageLength']=this[_0x42dcf1(0x241)],this[_0x42dcf1(0x1a6)][_0x42dcf1(0x16d)](_0x47957e)),this[_0x42dcf1(0x208)](_0x3fc78e);}[_0x29ffa2(0x1ea)](_0x4acf54,_0x3298a9){const _0x4bd373=_0x29ffa2;this[_0x4bd373(0x26e)][_0x26eba2[_0x4bd373(0x138)]][_0x4bd373(0x1ea)](_0x4acf54,this['_fin'],(_0xd7fda7,_0x3ec8ed)=>{const _0x1a0f7c=_0x4bd373;if(_0xd7fda7)return _0x3298a9(_0xd7fda7);if(_0x3ec8ed[_0x1a0f7c(0x299)]){if(this[_0x1a0f7c(0x18c)]+=_0x3ec8ed[_0x1a0f7c(0x299)],this[_0x1a0f7c(0x18c)]>this['_maxPayload']&&this[_0x1a0f7c(0x197)]>0x0){const _0x220b28=this[_0x1a0f7c(0x1c6)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x1a0f7c(0x18b));_0x3298a9(_0x220b28);return;}this['_fragments']['push'](_0x3ec8ed);}this[_0x1a0f7c(0x208)](_0x3298a9),this[_0x1a0f7c(0x29a)]===_0x1f9de2&&this[_0x1a0f7c(0x19c)](_0x3298a9);});}[_0x29ffa2(0x208)](_0xcb3af0){const _0x3f3499=_0x29ffa2;if(!this[_0x3f3499(0x22d)]){this[_0x3f3499(0x29a)]=_0x1f9de2;return;}const _0x29b767=this[_0x3f3499(0x18c)],_0x2108b8=this[_0x3f3499(0x1a6)];if(this[_0x3f3499(0x241)]=0x0,this['_messageLength']=0x0,this['_fragmented']=0x0,this[_0x3f3499(0x1a6)]=[],this[_0x3f3499(0x1e4)]===0x2){let _0x466af4;this[_0x3f3499(0x2c0)]===_0x3f3499(0x140)?_0x466af4=_0x4750f6(_0x2108b8,_0x29b767):this[_0x3f3499(0x2c0)]===_0x3f3499(0x214)?_0x466af4=_0x251b76(_0x4750f6(_0x2108b8,_0x29b767)):this['_binaryType']===_0x3f3499(0x1ae)?_0x466af4=new Blob(_0x2108b8):_0x466af4=_0x2108b8,this['_allowSynchronousEvents']?(this['emit'](_0x3f3499(0x1ca),_0x466af4,!0x0),this[_0x3f3499(0x29a)]=_0x1f9de2):(this[_0x3f3499(0x29a)]=_0x146901,setImmediate(()=>{const _0x245645=_0x3f3499;this['emit'](_0x245645(0x1ca),_0x466af4,!0x0),this[_0x245645(0x29a)]=_0x1f9de2,this[_0x245645(0x19c)](_0xcb3af0);}));}else{const _0x1cd598=_0x4750f6(_0x2108b8,_0x29b767);if(!this[_0x3f3499(0x277)]&&!_0xba7966(_0x1cd598)){const _0x5a1471=this[_0x3f3499(0x1c6)](Error,_0x3f3499(0x182),!0x0,0x3ef,_0x3f3499(0x1c5));_0xcb3af0(_0x5a1471);return;}this['_state']===_0x1812f1||this[_0x3f3499(0x272)]?(this[_0x3f3499(0x215)]('message',_0x1cd598,!0x1),this['_state']=_0x1f9de2):(this[_0x3f3499(0x29a)]=_0x146901,setImmediate(()=>{const _0x1bdaa9=_0x3f3499;this[_0x1bdaa9(0x215)]('message',_0x1cd598,!0x1),this[_0x1bdaa9(0x29a)]=_0x1f9de2,this[_0x1bdaa9(0x19c)](_0xcb3af0);}));}}['controlMessage'](_0x3d6759,_0x53a7c8){const _0x4f3bdb=_0x29ffa2;if(this[_0x4f3bdb(0x1e4)]===0x8){if(_0x3d6759['length']===0x0)this['_loop']=!0x1,this[_0x4f3bdb(0x215)]('conclude',0x3ed,_0x1a349d),this[_0x4f3bdb(0x270)]();else{const _0x124d66=_0x3d6759[_0x4f3bdb(0x2b4)](0x0);if(!_0x5def09(_0x124d66)){const _0xc2f748=this[_0x4f3bdb(0x1c6)](RangeError,'invalid\x20status\x20code\x20'+_0x124d66,!0x0,0x3ea,_0x4f3bdb(0x1ff));_0x53a7c8(_0xc2f748);return;}const _0x3e2c5c=new _0x27926a(_0x3d6759[_0x4f3bdb(0x27a)],_0x3d6759['byteOffset']+0x2,_0x3d6759[_0x4f3bdb(0x299)]-0x2);if(!this[_0x4f3bdb(0x277)]&&!_0xba7966(_0x3e2c5c)){const _0x4a7c1d=this['createError'](Error,_0x4f3bdb(0x182),!0x0,0x3ef,_0x4f3bdb(0x1c5));_0x53a7c8(_0x4a7c1d);return;}this['_loop']=!0x1,this[_0x4f3bdb(0x215)](_0x4f3bdb(0x228),_0x124d66,_0x3e2c5c),this['end']();}this[_0x4f3bdb(0x29a)]=_0x1f9de2;return;}this[_0x4f3bdb(0x272)]?(this['emit'](this[_0x4f3bdb(0x1e4)]===0x9?_0x4f3bdb(0x11f):'pong',_0x3d6759),this[_0x4f3bdb(0x29a)]=_0x1f9de2):(this[_0x4f3bdb(0x29a)]=_0x146901,setImmediate(()=>{const _0x53f825=_0x4f3bdb;this['emit'](this[_0x53f825(0x1e4)]===0x9?_0x53f825(0x11f):'pong',_0x3d6759),this[_0x53f825(0x29a)]=_0x1f9de2,this['startLoop'](_0x53a7c8);}));}[_0x29ffa2(0x1c6)](_0x14f640,_0x70be85,_0x181285,_0x133534,_0x5a967b){const _0x408b97=_0x29ffa2;this[_0x408b97(0x156)]=!0x1,this[_0x408b97(0x16f)]=!0x0;const _0x247fac=new _0x14f640(_0x181285?_0x408b97(0x1af)+_0x70be85:_0x70be85);return Error[_0x408b97(0x130)](_0x247fac,this[_0x408b97(0x1c6)]),_0x247fac[_0x408b97(0x2c6)]=_0x5a967b,_0x247fac[_0x39c82b]=_0x133534,_0x247fac;}}return Se=_0x5c1ef0,Se;}var Ee,et;function _t(){const _0x335537=_0x15f6c9;if(et)return Ee;et=0x1;const {Duplex:_0x4ea8d7}=_0x107dc6,{randomFillSync:_0x399bd3}=_0x8b2df3,_0x2953b0=he(),{EMPTY_BUFFER:_0x56d309,kWebSocket:_0x29408e,NOOP:_0x3d686e}=V(),{isBlob:_0x28ab1f,isValidStatusCode:_0x4bd806}=ne(),{mask:_0x2cbe48,toBuffer:_0x2a908f}=ce(),_0x1d69e6=Symbol(_0x335537(0x1da)),_0x13937b=Buffer[_0x335537(0x165)](0x4),_0x5c6df3=0x8*0x400;let _0x5e0fe1,_0x12c7af=_0x5c6df3;const _0xf76636=0x0,_0x2d00fc=0x1,_0x128b09=0x2;class _0x38e05e{constructor(_0x174a64,_0x2caaef,_0x29b6f8){const _0x1fdf6a=_0x335537;this['_extensions']=_0x2caaef||{},_0x29b6f8&&(this[_0x1fdf6a(0x17a)]=_0x29b6f8,this[_0x1fdf6a(0x2aa)]=Buffer[_0x1fdf6a(0x165)](0x4)),this[_0x1fdf6a(0x20d)]=_0x174a64,this[_0x1fdf6a(0x16a)]=!0x0,this[_0x1fdf6a(0x1b9)]=!0x1,this[_0x1fdf6a(0x1a3)]=0x0,this[_0x1fdf6a(0x1ed)]=[],this[_0x1fdf6a(0x29a)]=_0xf76636,this['onerror']=_0x3d686e,this[_0x29408e]=void 0x0;}static['frame'](_0x33c757,_0xa653e2){const _0x596793=_0x335537;let _0x17db35,_0x484610=!0x1,_0x571b59=0x2,_0x4ec77b=!0x1;_0xa653e2['mask']&&(_0x17db35=_0xa653e2['maskBuffer']||_0x13937b,_0xa653e2[_0x596793(0x18d)]?_0xa653e2['generateMask'](_0x17db35):(_0x12c7af===_0x5c6df3&&(_0x5e0fe1===void 0x0&&(_0x5e0fe1=Buffer['alloc'](_0x5c6df3)),_0x399bd3(_0x5e0fe1,0x0,_0x5c6df3),_0x12c7af=0x0),_0x17db35[0x0]=_0x5e0fe1[_0x12c7af++],_0x17db35[0x1]=_0x5e0fe1[_0x12c7af++],_0x17db35[0x2]=_0x5e0fe1[_0x12c7af++],_0x17db35[0x3]=_0x5e0fe1[_0x12c7af++]),_0x4ec77b=(_0x17db35[0x0]|_0x17db35[0x1]|_0x17db35[0x2]|_0x17db35[0x3])===0x0,_0x571b59=0x6);let _0x2f3dd8;typeof _0x33c757==_0x596793(0x153)?(!_0xa653e2[_0x596793(0x175)]||_0x4ec77b)&&_0xa653e2[_0x1d69e6]!==void 0x0?_0x2f3dd8=_0xa653e2[_0x1d69e6]:(_0x33c757=Buffer[_0x596793(0x24b)](_0x33c757),_0x2f3dd8=_0x33c757[_0x596793(0x299)]):(_0x2f3dd8=_0x33c757[_0x596793(0x299)],_0x484610=_0xa653e2[_0x596793(0x175)]&&_0xa653e2[_0x596793(0x181)]&&!_0x4ec77b);let _0x50609a=_0x2f3dd8;_0x2f3dd8>=0x10000?(_0x571b59+=0x8,_0x50609a=0x7f):_0x2f3dd8>0x7d&&(_0x571b59+=0x2,_0x50609a=0x7e);const _0x158df2=Buffer[_0x596793(0x257)](_0x484610?_0x2f3dd8+_0x571b59:_0x571b59);return _0x158df2[0x0]=_0xa653e2['fin']?_0xa653e2['opcode']|0x80:_0xa653e2[_0x596793(0x232)],_0xa653e2[_0x596793(0x205)]&&(_0x158df2[0x0]|=0x40),_0x158df2[0x1]=_0x50609a,_0x50609a===0x7e?_0x158df2[_0x596793(0x2c4)](_0x2f3dd8,0x2):_0x50609a===0x7f&&(_0x158df2[0x2]=_0x158df2[0x3]=0x0,_0x158df2['writeUIntBE'](_0x2f3dd8,0x4,0x6)),_0xa653e2[_0x596793(0x175)]?(_0x158df2[0x1]|=0x80,_0x158df2[_0x571b59-0x4]=_0x17db35[0x0],_0x158df2[_0x571b59-0x3]=_0x17db35[0x1],_0x158df2[_0x571b59-0x2]=_0x17db35[0x2],_0x158df2[_0x571b59-0x1]=_0x17db35[0x3],_0x4ec77b?[_0x158df2,_0x33c757]:_0x484610?(_0x2cbe48(_0x33c757,_0x17db35,_0x158df2,_0x571b59,_0x2f3dd8),[_0x158df2]):(_0x2cbe48(_0x33c757,_0x17db35,_0x33c757,0x0,_0x2f3dd8),[_0x158df2,_0x33c757])):[_0x158df2,_0x33c757];}[_0x335537(0x249)](_0x15ee82,_0x2a1c7a,_0x1c9351,_0x25c314){const _0x513285=_0x335537;let _0x45b444;if(_0x15ee82===void 0x0)_0x45b444=_0x56d309;else{if(typeof _0x15ee82!=_0x513285(0x217)||!_0x4bd806(_0x15ee82))throw new TypeError(_0x513285(0x176));if(_0x2a1c7a===void 0x0||!_0x2a1c7a['length'])_0x45b444=Buffer['allocUnsafe'](0x2),_0x45b444[_0x513285(0x2c4)](_0x15ee82,0x0);else{const _0x2b2a09=Buffer[_0x513285(0x15a)](_0x2a1c7a);if(_0x2b2a09>0x7b)throw new RangeError(_0x513285(0x26a));_0x45b444=Buffer['allocUnsafe'](0x2+_0x2b2a09),_0x45b444[_0x513285(0x2c4)](_0x15ee82,0x0),typeof _0x2a1c7a==_0x513285(0x153)?_0x45b444[_0x513285(0x212)](_0x2a1c7a,0x2):_0x45b444[_0x513285(0x129)](_0x2a1c7a,0x2);}}const _0x4a0996={[_0x1d69e6]:_0x45b444[_0x513285(0x299)],'fin':!0x0,'generateMask':this[_0x513285(0x17a)],'mask':_0x1c9351,'maskBuffer':this[_0x513285(0x2aa)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x513285(0x29a)]!==_0xf76636?this[_0x513285(0x195)]([this['dispatch'],_0x45b444,!0x1,_0x4a0996,_0x25c314]):this[_0x513285(0x154)](_0x38e05e[_0x513285(0x24d)](_0x45b444,_0x4a0996),_0x25c314);}[_0x335537(0x11f)](_0x4d6c7a,_0x24d35e,_0x110de8){const _0x5686c2=_0x335537;let _0x52d2fc,_0x1c95e9;if(typeof _0x4d6c7a==_0x5686c2(0x153)?(_0x52d2fc=Buffer['byteLength'](_0x4d6c7a),_0x1c95e9=!0x1):_0x28ab1f(_0x4d6c7a)?(_0x52d2fc=_0x4d6c7a[_0x5686c2(0x2ca)],_0x1c95e9=!0x1):(_0x4d6c7a=_0x2a908f(_0x4d6c7a),_0x52d2fc=_0x4d6c7a[_0x5686c2(0x299)],_0x1c95e9=_0x2a908f[_0x5686c2(0x181)]),_0x52d2fc>0x7d)throw new RangeError(_0x5686c2(0x18a));const _0x4d2075={[_0x1d69e6]:_0x52d2fc,'fin':!0x0,'generateMask':this[_0x5686c2(0x17a)],'mask':_0x24d35e,'maskBuffer':this[_0x5686c2(0x2aa)],'opcode':0x9,'readOnly':_0x1c95e9,'rsv1':!0x1};_0x28ab1f(_0x4d6c7a)?this[_0x5686c2(0x29a)]!==_0xf76636?this['enqueue']([this['getBlobData'],_0x4d6c7a,!0x1,_0x4d2075,_0x110de8]):this[_0x5686c2(0x1f5)](_0x4d6c7a,!0x1,_0x4d2075,_0x110de8):this[_0x5686c2(0x29a)]!==_0xf76636?this[_0x5686c2(0x195)]([this[_0x5686c2(0x21a)],_0x4d6c7a,!0x1,_0x4d2075,_0x110de8]):this[_0x5686c2(0x154)](_0x38e05e['frame'](_0x4d6c7a,_0x4d2075),_0x110de8);}[_0x335537(0x2ae)](_0x87b51,_0x5555cd,_0xaa0f83){const _0x1f4647=_0x335537;let _0x29e6a3,_0x5ec0d7;if(typeof _0x87b51=='string'?(_0x29e6a3=Buffer[_0x1f4647(0x15a)](_0x87b51),_0x5ec0d7=!0x1):_0x28ab1f(_0x87b51)?(_0x29e6a3=_0x87b51[_0x1f4647(0x2ca)],_0x5ec0d7=!0x1):(_0x87b51=_0x2a908f(_0x87b51),_0x29e6a3=_0x87b51[_0x1f4647(0x299)],_0x5ec0d7=_0x2a908f[_0x1f4647(0x181)]),_0x29e6a3>0x7d)throw new RangeError(_0x1f4647(0x18a));const _0x2cfc1a={[_0x1d69e6]:_0x29e6a3,'fin':!0x0,'generateMask':this[_0x1f4647(0x17a)],'mask':_0x5555cd,'maskBuffer':this[_0x1f4647(0x2aa)],'opcode':0xa,'readOnly':_0x5ec0d7,'rsv1':!0x1};_0x28ab1f(_0x87b51)?this['_state']!==_0xf76636?this[_0x1f4647(0x195)]([this[_0x1f4647(0x1f5)],_0x87b51,!0x1,_0x2cfc1a,_0xaa0f83]):this[_0x1f4647(0x1f5)](_0x87b51,!0x1,_0x2cfc1a,_0xaa0f83):this[_0x1f4647(0x29a)]!==_0xf76636?this[_0x1f4647(0x195)]([this[_0x1f4647(0x21a)],_0x87b51,!0x1,_0x2cfc1a,_0xaa0f83]):this['sendFrame'](_0x38e05e[_0x1f4647(0x24d)](_0x87b51,_0x2cfc1a),_0xaa0f83);}[_0x335537(0x1a0)](_0x219f00,_0x529889,_0x25ca50){const _0x3deb1d=_0x335537,_0x59417a=this[_0x3deb1d(0x26e)][_0x2953b0[_0x3deb1d(0x138)]];let _0x48f80a=_0x529889[_0x3deb1d(0x17f)]?0x2:0x1,_0xa1dd3b=_0x529889[_0x3deb1d(0x177)],_0x33bbcf,_0x287f1e;typeof _0x219f00==_0x3deb1d(0x153)?(_0x33bbcf=Buffer[_0x3deb1d(0x15a)](_0x219f00),_0x287f1e=!0x1):_0x28ab1f(_0x219f00)?(_0x33bbcf=_0x219f00['size'],_0x287f1e=!0x1):(_0x219f00=_0x2a908f(_0x219f00),_0x33bbcf=_0x219f00['length'],_0x287f1e=_0x2a908f[_0x3deb1d(0x181)]),this[_0x3deb1d(0x16a)]?(this['_firstFragment']=!0x1,_0xa1dd3b&&_0x59417a&&_0x59417a[_0x3deb1d(0x28d)][_0x59417a[_0x3deb1d(0x226)]?_0x3deb1d(0x2a1):'client_no_context_takeover']&&(_0xa1dd3b=_0x33bbcf>=_0x59417a[_0x3deb1d(0x14e)]),this[_0x3deb1d(0x1b9)]=_0xa1dd3b):(_0xa1dd3b=!0x1,_0x48f80a=0x0),_0x529889['fin']&&(this[_0x3deb1d(0x16a)]=!0x0);const _0x4cbf38={[_0x1d69e6]:_0x33bbcf,'fin':_0x529889['fin'],'generateMask':this[_0x3deb1d(0x17a)],'mask':_0x529889[_0x3deb1d(0x175)],'maskBuffer':this[_0x3deb1d(0x2aa)],'opcode':_0x48f80a,'readOnly':_0x287f1e,'rsv1':_0xa1dd3b};_0x28ab1f(_0x219f00)?this['_state']!==_0xf76636?this[_0x3deb1d(0x195)]([this[_0x3deb1d(0x1f5)],_0x219f00,this['_compress'],_0x4cbf38,_0x25ca50]):this['getBlobData'](_0x219f00,this[_0x3deb1d(0x1b9)],_0x4cbf38,_0x25ca50):this[_0x3deb1d(0x29a)]!==_0xf76636?this['enqueue']([this[_0x3deb1d(0x21a)],_0x219f00,this[_0x3deb1d(0x1b9)],_0x4cbf38,_0x25ca50]):this[_0x3deb1d(0x21a)](_0x219f00,this[_0x3deb1d(0x1b9)],_0x4cbf38,_0x25ca50);}[_0x335537(0x1f5)](_0x338239,_0xf2e2ce,_0x4546d7,_0x2f028c){const _0x4b6a37=_0x335537;this[_0x4b6a37(0x1a3)]+=_0x4546d7[_0x1d69e6],this[_0x4b6a37(0x29a)]=_0x128b09,_0x338239[_0x4b6a37(0x285)]()[_0x4b6a37(0x25f)](_0x4b17e3=>{const _0xd39fd1=_0x4b6a37;if(this[_0xd39fd1(0x20d)]['destroyed']){const _0x4c64ff=new Error(_0xd39fd1(0x144));process[_0xd39fd1(0x135)](_0x4b324e,this,_0x4c64ff,_0x2f028c);return;}this[_0xd39fd1(0x1a3)]-=_0x4546d7[_0x1d69e6];const _0x308b64=_0x2a908f(_0x4b17e3);_0xf2e2ce?this[_0xd39fd1(0x21a)](_0x308b64,_0xf2e2ce,_0x4546d7,_0x2f028c):(this[_0xd39fd1(0x29a)]=_0xf76636,this[_0xd39fd1(0x154)](_0x38e05e[_0xd39fd1(0x24d)](_0x308b64,_0x4546d7),_0x2f028c),this['dequeue']());})[_0x4b6a37(0x14d)](_0x337997=>{process['nextTick'](_0x680b,this,_0x337997,_0x2f028c);});}[_0x335537(0x21a)](_0x148124,_0x6a4325,_0x853e74,_0x39dc8c){const _0x588957=_0x335537;if(!_0x6a4325){this[_0x588957(0x154)](_0x38e05e[_0x588957(0x24d)](_0x148124,_0x853e74),_0x39dc8c);return;}const _0x5e2cb1=this[_0x588957(0x26e)][_0x2953b0[_0x588957(0x138)]];this['_bufferedBytes']+=_0x853e74[_0x1d69e6],this[_0x588957(0x29a)]=_0x2d00fc,_0x5e2cb1[_0x588957(0x177)](_0x148124,_0x853e74[_0x588957(0x20a)],(_0x59810a,_0x165132)=>{const _0x1d9774=_0x588957;if(this[_0x1d9774(0x20d)][_0x1d9774(0x21b)]){const _0x465f72=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x4b324e(this,_0x465f72,_0x39dc8c);return;}this[_0x1d9774(0x1a3)]-=_0x853e74[_0x1d69e6],this[_0x1d9774(0x29a)]=_0xf76636,_0x853e74['readOnly']=!0x1,this[_0x1d9774(0x154)](_0x38e05e['frame'](_0x165132,_0x853e74),_0x39dc8c),this['dequeue']();});}[_0x335537(0x183)](){const _0x2685e5=_0x335537;for(;this[_0x2685e5(0x29a)]===_0xf76636&&this[_0x2685e5(0x1ed)][_0x2685e5(0x299)];){const _0x40c356=this[_0x2685e5(0x1ed)]['shift']();this[_0x2685e5(0x1a3)]-=_0x40c356[0x3][_0x1d69e6],Reflect[_0x2685e5(0x1e0)](_0x40c356[0x0],this,_0x40c356[_0x2685e5(0x1e9)](0x1));}}[_0x335537(0x195)](_0x1bcf2c){const _0x2d2760=_0x335537;this[_0x2d2760(0x1a3)]+=_0x1bcf2c[0x3][_0x1d69e6],this[_0x2d2760(0x1ed)][_0x2d2760(0x16d)](_0x1bcf2c);}[_0x335537(0x154)](_0x5a1c22,_0x142b4f){const _0x146f9c=_0x335537;_0x5a1c22[_0x146f9c(0x299)]===0x2?(this[_0x146f9c(0x20d)][_0x146f9c(0x271)](),this[_0x146f9c(0x20d)]['write'](_0x5a1c22[0x0]),this['_socket'][_0x146f9c(0x212)](_0x5a1c22[0x1],_0x142b4f),this[_0x146f9c(0x20d)]['uncork']()):this[_0x146f9c(0x20d)][_0x146f9c(0x212)](_0x5a1c22[0x0],_0x142b4f);}}Ee=_0x38e05e;function _0x4b324e(_0x56f49e,_0x241fdb,_0x55c78b){const _0x52af4b=_0x335537;typeof _0x55c78b=='function'&&_0x55c78b(_0x241fdb);for(let _0x3a79d6=0x0;_0x3a79d6<_0x56f49e[_0x52af4b(0x1ed)]['length'];_0x3a79d6++){const _0x9dfbf5=_0x56f49e[_0x52af4b(0x1ed)][_0x3a79d6],_0x393110=_0x9dfbf5[_0x9dfbf5[_0x52af4b(0x299)]-0x1];typeof _0x393110==_0x52af4b(0x2a5)&&_0x393110(_0x241fdb);}}function _0x680b(_0x5df17c,_0xf3e573,_0xafb6d2){const _0x5e0af3=_0x335537;_0x4b324e(_0x5df17c,_0xf3e573,_0xafb6d2),_0x5df17c[_0x5e0af3(0x1ec)](_0xf3e573);}return Ee;}var xe,tt;function Kt(){const _0x1a3810=_0x15f6c9;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x31543d,kListener:_0x26a9ef}=V(),_0x3cc983=Symbol(_0x1a3810(0x145)),_0x1b1dc0=Symbol(_0x1a3810(0x2af)),_0x504050=Symbol(_0x1a3810(0x273)),_0x22dde2=Symbol(_0x1a3810(0x1d7)),_0x5d2812=Symbol('kReason'),_0x4b9b03=Symbol(_0x1a3810(0x274)),_0x48c1b8=Symbol('kType'),_0x59ff39=Symbol(_0x1a3810(0x142));class _0x5b89c7{constructor(_0x57600a){this[_0x4b9b03]=null,this[_0x48c1b8]=_0x57600a;}get[_0x1a3810(0x220)](){return this[_0x4b9b03];}get[_0x1a3810(0x166)](){return this[_0x48c1b8];}}Object[_0x1a3810(0x265)](_0x5b89c7['prototype'],_0x1a3810(0x220),{'enumerable':!0x0}),Object['defineProperty'](_0x5b89c7[_0x1a3810(0x1b8)],_0x1a3810(0x166),{'enumerable':!0x0});class _0x5402f0 extends _0x5b89c7{constructor(_0x162a0c,_0x38f1f1={}){const _0x4e5105=_0x1a3810;super(_0x162a0c),this[_0x3cc983]=_0x38f1f1[_0x4e5105(0x2c6)]===void 0x0?0x0:_0x38f1f1[_0x4e5105(0x2c6)],this[_0x5d2812]=_0x38f1f1[_0x4e5105(0x2c3)]===void 0x0?'':_0x38f1f1[_0x4e5105(0x2c3)],this[_0x59ff39]=_0x38f1f1[_0x4e5105(0x14b)]===void 0x0?!0x1:_0x38f1f1[_0x4e5105(0x14b)];}get[_0x1a3810(0x2c6)](){return this[_0x3cc983];}get[_0x1a3810(0x2c3)](){return this[_0x5d2812];}get[_0x1a3810(0x14b)](){return this[_0x59ff39];}}Object[_0x1a3810(0x265)](_0x5402f0['prototype'],_0x1a3810(0x2c6),{'enumerable':!0x0}),Object['defineProperty'](_0x5402f0[_0x1a3810(0x1b8)],_0x1a3810(0x2c3),{'enumerable':!0x0}),Object[_0x1a3810(0x265)](_0x5402f0[_0x1a3810(0x1b8)],'wasClean',{'enumerable':!0x0});class _0x33285f extends _0x5b89c7{constructor(_0x42aaa1,_0x34b4fa={}){const _0x3683cf=_0x1a3810;super(_0x42aaa1),this[_0x504050]=_0x34b4fa[_0x3683cf(0x223)]===void 0x0?null:_0x34b4fa[_0x3683cf(0x223)],this[_0x22dde2]=_0x34b4fa[_0x3683cf(0x1ca)]===void 0x0?'':_0x34b4fa[_0x3683cf(0x1ca)];}get[_0x1a3810(0x223)](){return this[_0x504050];}get[_0x1a3810(0x1ca)](){return this[_0x22dde2];}}Object[_0x1a3810(0x265)](_0x33285f[_0x1a3810(0x1b8)],_0x1a3810(0x223),{'enumerable':!0x0}),Object[_0x1a3810(0x265)](_0x33285f[_0x1a3810(0x1b8)],_0x1a3810(0x1ca),{'enumerable':!0x0});class _0x394b53 extends _0x5b89c7{constructor(_0x19b46d,_0x28fe6a={}){const _0x2185d0=_0x1a3810;super(_0x19b46d),this[_0x1b1dc0]=_0x28fe6a[_0x2185d0(0x12c)]===void 0x0?null:_0x28fe6a[_0x2185d0(0x12c)];}get['data'](){return this[_0x1b1dc0];}}Object['defineProperty'](_0x394b53[_0x1a3810(0x1b8)],_0x1a3810(0x12c),{'enumerable':!0x0}),xe={'CloseEvent':_0x5402f0,'ErrorEvent':_0x33285f,'Event':_0x5b89c7,'EventTarget':{'addEventListener'(_0x545fbb,_0x54b786,_0x2fe672={}){const _0x467a61=_0x1a3810;for(const _0x1260b5 of this[_0x467a61(0x1e6)](_0x545fbb))if(!_0x2fe672[_0x31543d]&&_0x1260b5[_0x26a9ef]===_0x54b786&&!_0x1260b5[_0x31543d])return;let _0x427afc;if(_0x545fbb===_0x467a61(0x1ca))_0x427afc=function(_0x2180df,_0x5d8b47){const _0x1d817e=_0x467a61,_0x11694d=new _0x394b53('message',{'data':_0x5d8b47?_0x2180df:_0x2180df[_0x1d817e(0x1dc)]()});_0x11694d[_0x4b9b03]=this,_0x1e51c2(_0x54b786,this,_0x11694d);};else{if(_0x545fbb===_0x467a61(0x249))_0x427afc=function(_0x5820d2,_0x5ba77b){const _0x4c5b81=_0x467a61,_0x15c5f7=new _0x5402f0('close',{'code':_0x5820d2,'reason':_0x5ba77b[_0x4c5b81(0x1dc)](),'wasClean':this[_0x4c5b81(0x15b)]&&this[_0x4c5b81(0x121)]});_0x15c5f7[_0x4b9b03]=this,_0x1e51c2(_0x54b786,this,_0x15c5f7);};else{if(_0x545fbb===_0x467a61(0x223))_0x427afc=function(_0x5f1d59){const _0x582cc2=_0x467a61,_0x237085=new _0x33285f('error',{'error':_0x5f1d59,'message':_0x5f1d59[_0x582cc2(0x1ca)]});_0x237085[_0x4b9b03]=this,_0x1e51c2(_0x54b786,this,_0x237085);};else{if(_0x545fbb===_0x467a61(0x12a))_0x427afc=function(){const _0x30a196=_0x467a61,_0x4e286a=new _0x5b89c7(_0x30a196(0x12a));_0x4e286a[_0x4b9b03]=this,_0x1e51c2(_0x54b786,this,_0x4e286a);};else return;}}}_0x427afc[_0x31543d]=!!_0x2fe672[_0x31543d],_0x427afc[_0x26a9ef]=_0x54b786,_0x2fe672[_0x467a61(0x1eb)]?this[_0x467a61(0x1eb)](_0x545fbb,_0x427afc):this['on'](_0x545fbb,_0x427afc);},'removeEventListener'(_0x5b16d4,_0x4e8497){for(const _0xabc606 of this['listeners'](_0x5b16d4))if(_0xabc606[_0x26a9ef]===_0x4e8497&&!_0xabc606[_0x31543d]){this['removeListener'](_0x5b16d4,_0xabc606);break;}}},'MessageEvent':_0x394b53};function _0x1e51c2(_0x3d2fde,_0x4de15c,_0x431a2b){const _0x37e2aa=_0x1a3810;typeof _0x3d2fde==_0x37e2aa(0x178)&&_0x3d2fde[_0x37e2aa(0x1fb)]?_0x3d2fde[_0x37e2aa(0x1fb)][_0x37e2aa(0x259)](_0x3d2fde,_0x431a2b):_0x3d2fde[_0x37e2aa(0x259)](_0x4de15c,_0x431a2b);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x1086f7}=ne();function _0x7d4b76(_0xd12221,_0xfb8947,_0x59ba06){const _0x20d808=_0x840b;_0xd12221[_0xfb8947]===void 0x0?_0xd12221[_0xfb8947]=[_0x59ba06]:_0xd12221[_0xfb8947][_0x20d808(0x16d)](_0x59ba06);}function _0x51daee(_0x7e0f64){const _0x4dc2fe=_0x840b,_0x52eded=Object[_0x4dc2fe(0x289)](null);let _0x3119c6=Object[_0x4dc2fe(0x289)](null),_0x3e4c1f=!0x1,_0x9d4b59=!0x1,_0x9acc7a=!0x1,_0x3534f1,_0x4747a7,_0x96ae6a=-0x1,_0x559669=-0x1,_0x1690a0=-0x1,_0x526a29=0x0;for(;_0x526a29<_0x7e0f64[_0x4dc2fe(0x299)];_0x526a29++)if(_0x559669=_0x7e0f64[_0x4dc2fe(0x26c)](_0x526a29),_0x3534f1===void 0x0){if(_0x1690a0===-0x1&&_0x1086f7[_0x559669]===0x1)_0x96ae6a===-0x1&&(_0x96ae6a=_0x526a29);else{if(_0x526a29!==0x0&&(_0x559669===0x20||_0x559669===0x9))_0x1690a0===-0x1&&_0x96ae6a!==-0x1&&(_0x1690a0=_0x526a29);else{if(_0x559669===0x3b||_0x559669===0x2c){if(_0x96ae6a===-0x1)throw new SyntaxError(_0x4dc2fe(0x21d)+_0x526a29);_0x1690a0===-0x1&&(_0x1690a0=_0x526a29);const _0x43c5a3=_0x7e0f64[_0x4dc2fe(0x1e9)](_0x96ae6a,_0x1690a0);_0x559669===0x2c?(_0x7d4b76(_0x52eded,_0x43c5a3,_0x3119c6),_0x3119c6=Object[_0x4dc2fe(0x289)](null)):_0x3534f1=_0x43c5a3,_0x96ae6a=_0x1690a0=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x526a29);}}}else{if(_0x4747a7===void 0x0){if(_0x1690a0===-0x1&&_0x1086f7[_0x559669]===0x1)_0x96ae6a===-0x1&&(_0x96ae6a=_0x526a29);else{if(_0x559669===0x20||_0x559669===0x9)_0x1690a0===-0x1&&_0x96ae6a!==-0x1&&(_0x1690a0=_0x526a29);else{if(_0x559669===0x3b||_0x559669===0x2c){if(_0x96ae6a===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x526a29);_0x1690a0===-0x1&&(_0x1690a0=_0x526a29),_0x7d4b76(_0x3119c6,_0x7e0f64[_0x4dc2fe(0x1e9)](_0x96ae6a,_0x1690a0),!0x0),_0x559669===0x2c&&(_0x7d4b76(_0x52eded,_0x3534f1,_0x3119c6),_0x3119c6=Object['create'](null),_0x3534f1=void 0x0),_0x96ae6a=_0x1690a0=-0x1;}else{if(_0x559669===0x3d&&_0x96ae6a!==-0x1&&_0x1690a0===-0x1)_0x4747a7=_0x7e0f64[_0x4dc2fe(0x1e9)](_0x96ae6a,_0x526a29),_0x96ae6a=_0x1690a0=-0x1;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x526a29);}}}}else{if(_0x9d4b59){if(_0x1086f7[_0x559669]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x526a29);_0x96ae6a===-0x1?_0x96ae6a=_0x526a29:_0x3e4c1f||(_0x3e4c1f=!0x0),_0x9d4b59=!0x1;}else{if(_0x9acc7a){if(_0x1086f7[_0x559669]===0x1)_0x96ae6a===-0x1&&(_0x96ae6a=_0x526a29);else{if(_0x559669===0x22&&_0x96ae6a!==-0x1)_0x9acc7a=!0x1,_0x1690a0=_0x526a29;else{if(_0x559669===0x5c)_0x9d4b59=!0x0;else throw new SyntaxError(_0x4dc2fe(0x21d)+_0x526a29);}}}else{if(_0x559669===0x22&&_0x7e0f64['charCodeAt'](_0x526a29-0x1)===0x3d)_0x9acc7a=!0x0;else{if(_0x1690a0===-0x1&&_0x1086f7[_0x559669]===0x1)_0x96ae6a===-0x1&&(_0x96ae6a=_0x526a29);else{if(_0x96ae6a!==-0x1&&(_0x559669===0x20||_0x559669===0x9))_0x1690a0===-0x1&&(_0x1690a0=_0x526a29);else{if(_0x559669===0x3b||_0x559669===0x2c){if(_0x96ae6a===-0x1)throw new SyntaxError(_0x4dc2fe(0x21d)+_0x526a29);_0x1690a0===-0x1&&(_0x1690a0=_0x526a29);let _0x275449=_0x7e0f64[_0x4dc2fe(0x1e9)](_0x96ae6a,_0x1690a0);_0x3e4c1f&&(_0x275449=_0x275449[_0x4dc2fe(0x17c)](/\\/g,''),_0x3e4c1f=!0x1),_0x7d4b76(_0x3119c6,_0x4747a7,_0x275449),_0x559669===0x2c&&(_0x7d4b76(_0x52eded,_0x3534f1,_0x3119c6),_0x3119c6=Object[_0x4dc2fe(0x289)](null),_0x3534f1=void 0x0),_0x4747a7=void 0x0,_0x96ae6a=_0x1690a0=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x526a29);}}}}}}}if(_0x96ae6a===-0x1||_0x9acc7a||_0x559669===0x20||_0x559669===0x9)throw new SyntaxError(_0x4dc2fe(0x2a9));_0x1690a0===-0x1&&(_0x1690a0=_0x526a29);const _0x4224b9=_0x7e0f64[_0x4dc2fe(0x1e9)](_0x96ae6a,_0x1690a0);return _0x3534f1===void 0x0?_0x7d4b76(_0x52eded,_0x4224b9,_0x3119c6):(_0x4747a7===void 0x0?_0x7d4b76(_0x3119c6,_0x4224b9,!0x0):_0x3e4c1f?_0x7d4b76(_0x3119c6,_0x4747a7,_0x4224b9[_0x4dc2fe(0x17c)](/\\/g,'')):_0x7d4b76(_0x3119c6,_0x4747a7,_0x4224b9),_0x7d4b76(_0x52eded,_0x3534f1,_0x3119c6)),_0x52eded;}function _0x6ff5d5(_0x5957ee){const _0x5f4be4=_0x840b;return Object[_0x5f4be4(0x25c)](_0x5957ee)[_0x5f4be4(0x264)](_0x25e279=>{const _0x5941d5=_0x5f4be4;let _0x57cccc=_0x5957ee[_0x25e279];return Array[_0x5941d5(0x1c0)](_0x57cccc)||(_0x57cccc=[_0x57cccc]),_0x57cccc[_0x5941d5(0x264)](_0x2a256b=>[_0x25e279][_0x5941d5(0x231)](Object[_0x5941d5(0x25c)](_0x2a256b)['map'](_0x5878dd=>{const _0x4d65cf=_0x5941d5;let _0x20ebd9=_0x2a256b[_0x5878dd];return Array['isArray'](_0x20ebd9)||(_0x20ebd9=[_0x20ebd9]),_0x20ebd9[_0x4d65cf(0x264)](_0x294f2a=>_0x294f2a===!0x0?_0x5878dd:_0x5878dd+'='+_0x294f2a)['join'](';\x20');}))[_0x5941d5(0x22c)](';\x20'))['join'](',\x20');})[_0x5f4be4(0x22c)](',\x20');}return be={'format':_0x6ff5d5,'parse':_0x51daee},be;}var we,st;function Ie(){const _0x5c2722=_0x15f6c9;if(st)return we;st=0x1;const _0x339018=_0x144219,_0x5d0ca6=_0x188795,_0x25c32a=_0x2a0443,_0x16c06f=_0x5756bb,_0x2f64bd=_0x8dffe6,{randomBytes:_0x1f1582,createHash:_0x51ff47}=_0x8b2df3,{Duplex:_0x1b430c,Readable:_0x3aa13b}=_0x107dc6,{URL:_0x5aadef}=_0x4ea5de,_0x28a835=he(),_0x1f4536=dt(),_0x1e5adc=_t(),{isBlob:_0x4d4480}=ne(),{BINARY_TYPES:_0x11755f,EMPTY_BUFFER:_0x2cd1dd,GUID:_0x5b8e1b,kForOnEventAttribute:_0x2a414a,kListener:_0x4a6917,kStatusCode:_0x59063c,kWebSocket:_0x49e8dc,NOOP:_0xc9ae0}=V(),{EventTarget:{addEventListener:_0x1e39ed,removeEventListener:_0x46dee0}}=Kt(),{format:_0x3e8919,parse:_0x35b248}=pt(),{toBuffer:_0x2b6c56}=ce(),_0x64a9b=0x1e*0x3e8,_0x29770d=Symbol('kAborted'),_0x450062=[0x8,0xd],_0xd2c8af=[_0x5c2722(0x13f),_0x5c2722(0x266),'CLOSING','CLOSED'],_0x19aee7=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x5e0996 extends _0x339018{constructor(_0x2c7476,_0x562393,_0xee0904){const _0x66b690=_0x5c2722;super(),this[_0x66b690(0x2c0)]=_0x11755f[0x0],this['_closeCode']=0x3ee,this['_closeFrameReceived']=!0x1,this[_0x66b690(0x121)]=!0x1,this[_0x66b690(0x201)]=_0x2cd1dd,this[_0x66b690(0x239)]=null,this[_0x66b690(0x1b3)]=!0x1,this[_0x66b690(0x26e)]={},this[_0x66b690(0x27b)]=!0x1,this['_protocol']='',this[_0x66b690(0x1d9)]=_0x5e0996['CONNECTING'],this[_0x66b690(0x1e8)]=null,this['_sender']=null,this[_0x66b690(0x20d)]=null,_0x2c7476!==null?(this[_0x66b690(0x1ce)]=0x0,this[_0x66b690(0x226)]=!0x1,this[_0x66b690(0x161)]=0x0,_0x562393===void 0x0?_0x562393=[]:Array['isArray'](_0x562393)||(typeof _0x562393=='object'&&_0x562393!==null?(_0xee0904=_0x562393,_0x562393=[]):_0x562393=[_0x562393]),_0x1be8cd(this,_0x2c7476,_0x562393,_0xee0904)):(this[_0x66b690(0x203)]=_0xee0904[_0x66b690(0x2a2)],this[_0x66b690(0x226)]=!0x0);}get[_0x5c2722(0x1d3)](){const _0x8abfbe=_0x5c2722;return this[_0x8abfbe(0x2c0)];}set[_0x5c2722(0x1d3)](_0x2dbf2c){const _0x342026=_0x5c2722;_0x11755f['includes'](_0x2dbf2c)&&(this[_0x342026(0x2c0)]=_0x2dbf2c,this[_0x342026(0x1e8)]&&(this[_0x342026(0x1e8)]['_binaryType']=_0x2dbf2c));}get[_0x5c2722(0x27d)](){const _0x569010=_0x5c2722;return this['_socket']?this['_socket'][_0x569010(0x1c2)]['length']+this[_0x569010(0x21e)][_0x569010(0x1a3)]:this[_0x569010(0x1ce)];}get[_0x5c2722(0x24c)](){const _0x2dfaab=_0x5c2722;return Object[_0x2dfaab(0x25c)](this[_0x2dfaab(0x26e)])[_0x2dfaab(0x22c)]();}get[_0x5c2722(0x19a)](){return this['_paused'];}get[_0x5c2722(0x23c)](){return null;}get[_0x5c2722(0x1ec)](){return null;}get[_0x5c2722(0x1ef)](){return null;}get[_0x5c2722(0x280)](){return null;}get[_0x5c2722(0x1bb)](){const _0x1d861f=_0x5c2722;return this[_0x1d861f(0x133)];}get['readyState'](){const _0x17a99d=_0x5c2722;return this[_0x17a99d(0x1d9)];}get['url'](){const _0x32d723=_0x5c2722;return this[_0x32d723(0x1aa)];}['setSocket'](_0x11729f,_0x11d1cd,_0x429619){const _0x113067=_0x5c2722,_0x207b9e=new _0x1f4536({'allowSynchronousEvents':_0x429619[_0x113067(0x29f)],'binaryType':this[_0x113067(0x1d3)],'extensions':this[_0x113067(0x26e)],'isServer':this[_0x113067(0x226)],'maxPayload':_0x429619['maxPayload'],'skipUTF8Validation':_0x429619[_0x113067(0x23f)]}),_0x183369=new _0x1e5adc(_0x11729f,this[_0x113067(0x26e)],_0x429619['generateMask']);this[_0x113067(0x1e8)]=_0x207b9e,this[_0x113067(0x21e)]=_0x183369,this[_0x113067(0x20d)]=_0x11729f,_0x207b9e[_0x49e8dc]=this,_0x183369[_0x49e8dc]=this,_0x11729f[_0x49e8dc]=this,_0x207b9e['on']('conclude',_0x12d353),_0x207b9e['on'](_0x113067(0x22b),_0x31ed92),_0x207b9e['on']('error',_0x3e2c96),_0x207b9e['on']('message',_0x3d1615),_0x207b9e['on']('ping',_0x88067f),_0x207b9e['on'](_0x113067(0x2ae),_0x44ea9f),_0x183369[_0x113067(0x1ec)]=_0xedaa5e,_0x11729f[_0x113067(0x194)]&&_0x11729f[_0x113067(0x194)](0x0),_0x11729f[_0x113067(0x131)]&&_0x11729f['setNoDelay'](),_0x11d1cd[_0x113067(0x299)]>0x0&&_0x11729f[_0x113067(0x227)](_0x11d1cd),_0x11729f['on'](_0x113067(0x249),_0x53550f),_0x11729f['on'](_0x113067(0x12c),_0x300d08),_0x11729f['on']('end',_0xa27bb2),_0x11729f['on']('error',_0x32f0db),this['_readyState']=_0x5e0996['OPEN'],this['emit'](_0x113067(0x12a));}[_0x5c2722(0x1b4)](){const _0xb67e3d=_0x5c2722;if(!this[_0xb67e3d(0x20d)]){this[_0xb67e3d(0x1d9)]=_0x5e0996[_0xb67e3d(0x28f)],this['emit'](_0xb67e3d(0x249),this[_0xb67e3d(0x14f)],this[_0xb67e3d(0x201)]);return;}this['_extensions'][_0x28a835['extensionName']]&&this[_0xb67e3d(0x26e)][_0x28a835[_0xb67e3d(0x138)]][_0xb67e3d(0x1fe)](),this[_0xb67e3d(0x1e8)][_0xb67e3d(0x1bf)](),this[_0xb67e3d(0x1d9)]=_0x5e0996[_0xb67e3d(0x28f)],this[_0xb67e3d(0x215)]('close',this[_0xb67e3d(0x14f)],this['_closeMessage']);}[_0x5c2722(0x249)](_0x55e75a,_0x45a931){const _0x516f4=_0x5c2722;if(this[_0x516f4(0x2c9)]!==_0x5e0996[_0x516f4(0x28f)]){if(this[_0x516f4(0x2c9)]===_0x5e0996['CONNECTING']){_0x36d8f7(this,this[_0x516f4(0x1cf)],_0x516f4(0x17b));return;}if(this[_0x516f4(0x2c9)]===_0x5e0996[_0x516f4(0x1d1)]){this[_0x516f4(0x121)]&&(this[_0x516f4(0x15b)]||this['_receiver'][_0x516f4(0x1c2)][_0x516f4(0x2a3)])&&this[_0x516f4(0x20d)][_0x516f4(0x270)]();return;}this[_0x516f4(0x1d9)]=_0x5e0996[_0x516f4(0x1d1)],this[_0x516f4(0x21e)][_0x516f4(0x249)](_0x55e75a,_0x45a931,!this['_isServer'],_0x37f865=>{const _0xdbbb34=_0x516f4;_0x37f865||(this[_0xdbbb34(0x121)]=!0x0,(this[_0xdbbb34(0x15b)]||this[_0xdbbb34(0x1e8)][_0xdbbb34(0x1c2)][_0xdbbb34(0x2a3)])&&this[_0xdbbb34(0x20d)]['end']());}),_0x4ecf7f(this);}}[_0x5c2722(0x1b7)](){const _0x2748dd=_0x5c2722;this[_0x2748dd(0x2c9)]===_0x5e0996[_0x2748dd(0x13f)]||this[_0x2748dd(0x2c9)]===_0x5e0996[_0x2748dd(0x28f)]||(this[_0x2748dd(0x27b)]=!0x0,this['_socket'][_0x2748dd(0x1b7)]());}[_0x5c2722(0x11f)](_0x591fda,_0x4c12f8,_0x393ac9){const _0x811bb8=_0x5c2722;if(this[_0x811bb8(0x2c9)]===_0x5e0996[_0x811bb8(0x13f)])throw new Error(_0x811bb8(0x141));if(typeof _0x591fda=='function'?(_0x393ac9=_0x591fda,_0x591fda=_0x4c12f8=void 0x0):typeof _0x4c12f8==_0x811bb8(0x2a5)&&(_0x393ac9=_0x4c12f8,_0x4c12f8=void 0x0),typeof _0x591fda==_0x811bb8(0x217)&&(_0x591fda=_0x591fda[_0x811bb8(0x1dc)]()),this[_0x811bb8(0x2c9)]!==_0x5e0996[_0x811bb8(0x266)]){_0x284911(this,_0x591fda,_0x393ac9);return;}_0x4c12f8===void 0x0&&(_0x4c12f8=!this['_isServer']),this['_sender']['ping'](_0x591fda||_0x2cd1dd,_0x4c12f8,_0x393ac9);}[_0x5c2722(0x2ae)](_0x315139,_0x296226,_0x943669){const _0x1a7f33=_0x5c2722;if(this[_0x1a7f33(0x2c9)]===_0x5e0996[_0x1a7f33(0x13f)])throw new Error(_0x1a7f33(0x141));if(typeof _0x315139==_0x1a7f33(0x2a5)?(_0x943669=_0x315139,_0x315139=_0x296226=void 0x0):typeof _0x296226=='function'&&(_0x943669=_0x296226,_0x296226=void 0x0),typeof _0x315139==_0x1a7f33(0x217)&&(_0x315139=_0x315139['toString']()),this['readyState']!==_0x5e0996[_0x1a7f33(0x266)]){_0x284911(this,_0x315139,_0x943669);return;}_0x296226===void 0x0&&(_0x296226=!this[_0x1a7f33(0x226)]),this[_0x1a7f33(0x21e)][_0x1a7f33(0x2ae)](_0x315139||_0x2cd1dd,_0x296226,_0x943669);}[_0x5c2722(0x278)](){const _0x2d81ed=_0x5c2722;this[_0x2d81ed(0x2c9)]===_0x5e0996[_0x2d81ed(0x13f)]||this[_0x2d81ed(0x2c9)]===_0x5e0996[_0x2d81ed(0x28f)]||(this[_0x2d81ed(0x27b)]=!0x1,this[_0x2d81ed(0x1e8)][_0x2d81ed(0x1c2)][_0x2d81ed(0x2b5)]||this['_socket'][_0x2d81ed(0x278)]());}[_0x5c2722(0x1a0)](_0x3f32d7,_0x1bddfd,_0x8ba914){const _0x10012b=_0x5c2722;if(this[_0x10012b(0x2c9)]===_0x5e0996[_0x10012b(0x13f)])throw new Error(_0x10012b(0x141));if(typeof _0x1bddfd==_0x10012b(0x2a5)&&(_0x8ba914=_0x1bddfd,_0x1bddfd={}),typeof _0x3f32d7==_0x10012b(0x217)&&(_0x3f32d7=_0x3f32d7[_0x10012b(0x1dc)]()),this[_0x10012b(0x2c9)]!==_0x5e0996[_0x10012b(0x266)]){_0x284911(this,_0x3f32d7,_0x8ba914);return;}const _0x29ea7c={'binary':typeof _0x3f32d7!=_0x10012b(0x153),'mask':!this[_0x10012b(0x226)],'compress':!0x0,'fin':!0x0,..._0x1bddfd};this[_0x10012b(0x26e)][_0x28a835[_0x10012b(0x138)]]||(_0x29ea7c[_0x10012b(0x177)]=!0x1),this[_0x10012b(0x21e)][_0x10012b(0x1a0)](_0x3f32d7||_0x2cd1dd,_0x29ea7c,_0x8ba914);}[_0x5c2722(0x180)](){const _0x38521a=_0x5c2722;if(this[_0x38521a(0x2c9)]!==_0x5e0996['CLOSED']){if(this[_0x38521a(0x2c9)]===_0x5e0996[_0x38521a(0x13f)]){_0x36d8f7(this,this['_req'],_0x38521a(0x17b));return;}this[_0x38521a(0x20d)]&&(this['_readyState']=_0x5e0996['CLOSING'],this['_socket']['destroy']());}}}Object[_0x5c2722(0x265)](_0x5e0996,_0x5c2722(0x13f),{'enumerable':!0x0,'value':_0xd2c8af['indexOf'](_0x5c2722(0x13f))}),Object['defineProperty'](_0x5e0996[_0x5c2722(0x1b8)],_0x5c2722(0x13f),{'enumerable':!0x0,'value':_0xd2c8af['indexOf'](_0x5c2722(0x13f))}),Object[_0x5c2722(0x265)](_0x5e0996,_0x5c2722(0x266),{'enumerable':!0x0,'value':_0xd2c8af['indexOf'](_0x5c2722(0x266))}),Object['defineProperty'](_0x5e0996[_0x5c2722(0x1b8)],_0x5c2722(0x266),{'enumerable':!0x0,'value':_0xd2c8af['indexOf']('OPEN')}),Object['defineProperty'](_0x5e0996,_0x5c2722(0x1d1),{'enumerable':!0x0,'value':_0xd2c8af[_0x5c2722(0x169)](_0x5c2722(0x1d1))}),Object[_0x5c2722(0x265)](_0x5e0996['prototype'],'CLOSING',{'enumerable':!0x0,'value':_0xd2c8af[_0x5c2722(0x169)]('CLOSING')}),Object[_0x5c2722(0x265)](_0x5e0996,_0x5c2722(0x28f),{'enumerable':!0x0,'value':_0xd2c8af['indexOf'](_0x5c2722(0x28f))}),Object[_0x5c2722(0x265)](_0x5e0996[_0x5c2722(0x1b8)],_0x5c2722(0x28f),{'enumerable':!0x0,'value':_0xd2c8af[_0x5c2722(0x169)](_0x5c2722(0x28f))}),[_0x5c2722(0x1d3),'bufferedAmount',_0x5c2722(0x24c),_0x5c2722(0x19a),_0x5c2722(0x1bb),_0x5c2722(0x2c9),_0x5c2722(0x1c8)][_0x5c2722(0x179)](_0x19a640=>{const _0x4fabf4=_0x5c2722;Object['defineProperty'](_0x5e0996[_0x4fabf4(0x1b8)],_0x19a640,{'enumerable':!0x0});}),[_0x5c2722(0x12a),_0x5c2722(0x223),_0x5c2722(0x249),'message']['forEach'](_0x36399b=>{const _0xb39119=_0x5c2722;Object[_0xb39119(0x265)](_0x5e0996[_0xb39119(0x1b8)],'on'+_0x36399b,{'enumerable':!0x0,'get'(){const _0x146702=_0xb39119;for(const _0x1824c0 of this[_0x146702(0x1e6)](_0x36399b))if(_0x1824c0[_0x2a414a])return _0x1824c0[_0x4a6917];return null;},'set'(_0x4c7f5a){const _0x305d33=_0xb39119;for(const _0x31fb09 of this[_0x305d33(0x1e6)](_0x36399b))if(_0x31fb09[_0x2a414a]){this[_0x305d33(0x14a)](_0x36399b,_0x31fb09);break;}typeof _0x4c7f5a==_0x305d33(0x2a5)&&this['addEventListener'](_0x36399b,_0x4c7f5a,{[_0x2a414a]:!0x0});}});}),_0x5e0996[_0x5c2722(0x1b8)][_0x5c2722(0x225)]=_0x1e39ed,_0x5e0996[_0x5c2722(0x1b8)][_0x5c2722(0x199)]=_0x46dee0,we=_0x5e0996;function _0x1be8cd(_0x3ed5f0,_0xc5d47d,_0xdbc503,_0x230db3){const _0x5a3b51=_0x5c2722,_0x316b1c={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x450062[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x230db3,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x5a3b51(0x2c7),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x3ed5f0[_0x5a3b51(0x203)]=_0x316b1c[_0x5a3b51(0x2a2)],!_0x450062['includes'](_0x316b1c[_0x5a3b51(0x124)]))throw new RangeError(_0x5a3b51(0x137)+_0x316b1c['protocolVersion']+'\x20(supported\x20versions:\x20'+_0x450062[_0x5a3b51(0x22c)](',\x20')+')');let _0x22bc7e;if(_0xc5d47d instanceof _0x5aadef)_0x22bc7e=_0xc5d47d;else try{_0x22bc7e=new _0x5aadef(_0xc5d47d);}catch{throw new SyntaxError(_0x5a3b51(0x245)+_0xc5d47d);}_0x22bc7e['protocol']==='http:'?_0x22bc7e[_0x5a3b51(0x1bb)]='ws:':_0x22bc7e[_0x5a3b51(0x1bb)]===_0x5a3b51(0x1c4)&&(_0x22bc7e['protocol']=_0x5a3b51(0x15f)),_0x3ed5f0['_url']=_0x22bc7e[_0x5a3b51(0x168)];const _0x3813d3=_0x22bc7e[_0x5a3b51(0x1bb)]===_0x5a3b51(0x15f),_0x45838e=_0x22bc7e['protocol']===_0x5a3b51(0x1d0);let _0x980520;if(_0x22bc7e['protocol']!==_0x5a3b51(0x1e1)&&!_0x3813d3&&!_0x45838e?_0x980520='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':_0x45838e&&!_0x22bc7e['pathname']?_0x980520=_0x5a3b51(0x1fc):_0x22bc7e[_0x5a3b51(0x236)]&&(_0x980520=_0x5a3b51(0x18e)),_0x980520){const _0x115001=new SyntaxError(_0x980520);if(_0x3ed5f0[_0x5a3b51(0x161)]===0x0)throw _0x115001;_0xb42485(_0x3ed5f0,_0x115001);return;}const _0x408efa=_0x3813d3?0x1bb:0x50,_0x55c7a8=_0x1f1582(0x10)['toString'](_0x5a3b51(0x244)),_0xdb5821=_0x3813d3?_0x5d0ca6[_0x5a3b51(0x24e)]:_0x25c32a[_0x5a3b51(0x24e)],_0x1870e8=new Set();let _0x1550ee;if(_0x316b1c[_0x5a3b51(0x27e)]=_0x316b1c['createConnection']||(_0x3813d3?_0x82a5ab:_0x35fbdd),_0x316b1c['defaultPort']=_0x316b1c[_0x5a3b51(0x149)]||_0x408efa,_0x316b1c[_0x5a3b51(0x229)]=_0x22bc7e[_0x5a3b51(0x229)]||_0x408efa,_0x316b1c[_0x5a3b51(0x12d)]=_0x22bc7e[_0x5a3b51(0x14c)][_0x5a3b51(0x248)]('[')?_0x22bc7e[_0x5a3b51(0x14c)][_0x5a3b51(0x1e9)](0x1,-0x1):_0x22bc7e[_0x5a3b51(0x14c)],_0x316b1c[_0x5a3b51(0x298)]={..._0x316b1c['headers'],'Sec-WebSocket-Version':_0x316b1c[_0x5a3b51(0x124)],'Sec-WebSocket-Key':_0x55c7a8,'Connection':'Upgrade','Upgrade':_0x5a3b51(0x1bc)},_0x316b1c[_0x5a3b51(0x2b9)]=_0x22bc7e[_0x5a3b51(0x1ba)]+_0x22bc7e[_0x5a3b51(0x19b)],_0x316b1c[_0x5a3b51(0x2c5)]=_0x316b1c['handshakeTimeout'],_0x316b1c['perMessageDeflate']&&(_0x1550ee=new _0x28a835(_0x316b1c[_0x5a3b51(0x2be)]!==!0x0?_0x316b1c[_0x5a3b51(0x2be)]:{},!0x1,_0x316b1c[_0x5a3b51(0x268)]),_0x316b1c[_0x5a3b51(0x298)][_0x5a3b51(0x291)]=_0x3e8919({[_0x28a835[_0x5a3b51(0x138)]]:_0x1550ee['offer']()})),_0xdbc503[_0x5a3b51(0x299)]){for(const _0x113e49 of _0xdbc503){if(typeof _0x113e49!=_0x5a3b51(0x153)||!_0x19aee7[_0x5a3b51(0x209)](_0x113e49)||_0x1870e8[_0x5a3b51(0x134)](_0x113e49))throw new SyntaxError(_0x5a3b51(0x126));_0x1870e8[_0x5a3b51(0x20c)](_0x113e49);}_0x316b1c[_0x5a3b51(0x298)][_0x5a3b51(0x221)]=_0xdbc503['join'](',');}if(_0x316b1c['origin']&&(_0x316b1c[_0x5a3b51(0x124)]<0xd?_0x316b1c[_0x5a3b51(0x298)][_0x5a3b51(0x22a)]=_0x316b1c[_0x5a3b51(0x11c)]:_0x316b1c[_0x5a3b51(0x298)]['Origin']=_0x316b1c['origin']),(_0x22bc7e[_0x5a3b51(0x23a)]||_0x22bc7e[_0x5a3b51(0x184)])&&(_0x316b1c['auth']=_0x22bc7e[_0x5a3b51(0x23a)]+':'+_0x22bc7e[_0x5a3b51(0x184)]),_0x45838e){const _0x41432e=_0x316b1c[_0x5a3b51(0x2b9)][_0x5a3b51(0x211)](':');_0x316b1c[_0x5a3b51(0x222)]=_0x41432e[0x0],_0x316b1c['path']=_0x41432e[0x1];}let _0x10721c;if(_0x316b1c[_0x5a3b51(0x2ba)]){if(_0x3ed5f0['_redirects']===0x0){_0x3ed5f0[_0x5a3b51(0x25e)]=_0x45838e,_0x3ed5f0['_originalSecure']=_0x3813d3,_0x3ed5f0[_0x5a3b51(0x1a7)]=_0x45838e?_0x316b1c['socketPath']:_0x22bc7e[_0x5a3b51(0x12d)];const _0x5b4048=_0x230db3&&_0x230db3['headers'];if(_0x230db3={..._0x230db3,'headers':{}},_0x5b4048){for(const [_0x53eb8f,_0x515022]of Object['entries'](_0x5b4048))_0x230db3['headers'][_0x53eb8f['toLowerCase']()]=_0x515022;}}else{if(_0x3ed5f0[_0x5a3b51(0x27f)](_0x5a3b51(0x243))===0x0){const _0x4a34e8=_0x45838e?_0x3ed5f0[_0x5a3b51(0x25e)]?_0x316b1c[_0x5a3b51(0x222)]===_0x3ed5f0[_0x5a3b51(0x1a7)]:!0x1:_0x3ed5f0[_0x5a3b51(0x25e)]?!0x1:_0x22bc7e[_0x5a3b51(0x12d)]===_0x3ed5f0[_0x5a3b51(0x1a7)];(!_0x4a34e8||_0x3ed5f0['_originalSecure']&&!_0x3813d3)&&(delete _0x316b1c[_0x5a3b51(0x298)][_0x5a3b51(0x17e)],delete _0x316b1c['headers'][_0x5a3b51(0x2b8)],_0x4a34e8||delete _0x316b1c[_0x5a3b51(0x298)]['host'],_0x316b1c[_0x5a3b51(0x1ad)]=void 0x0);}}_0x316b1c[_0x5a3b51(0x1ad)]&&!_0x230db3[_0x5a3b51(0x298)][_0x5a3b51(0x17e)]&&(_0x230db3[_0x5a3b51(0x298)][_0x5a3b51(0x17e)]='Basic\x20'+Buffer[_0x5a3b51(0x24b)](_0x316b1c[_0x5a3b51(0x1ad)])[_0x5a3b51(0x1dc)](_0x5a3b51(0x244))),_0x10721c=_0x3ed5f0['_req']=_0xdb5821(_0x316b1c),_0x3ed5f0[_0x5a3b51(0x161)]&&_0x3ed5f0[_0x5a3b51(0x215)]('redirect',_0x3ed5f0['url'],_0x10721c);}else _0x10721c=_0x3ed5f0['_req']=_0xdb5821(_0x316b1c);_0x316b1c['timeout']&&_0x10721c['on'](_0x5a3b51(0x2c5),()=>{const _0x3dc4d0=_0x5a3b51;_0x36d8f7(_0x3ed5f0,_0x10721c,_0x3dc4d0(0x267));}),_0x10721c['on']('error',_0x227570=>{const _0x21389a=_0x5a3b51;_0x10721c===null||_0x10721c[_0x29770d]||(_0x10721c=_0x3ed5f0[_0x21389a(0x1cf)]=null,_0xb42485(_0x3ed5f0,_0x227570));}),_0x10721c['on'](_0x5a3b51(0x28e),_0xa0d987=>{const _0x129bc2=_0x5a3b51,_0x5cd0b0=_0xa0d987['headers'][_0x129bc2(0x1df)],_0x212d4c=_0xa0d987[_0x129bc2(0x29c)];if(_0x5cd0b0&&_0x316b1c[_0x129bc2(0x2ba)]&&_0x212d4c>=0x12c&&_0x212d4c<0x190){if(++_0x3ed5f0['_redirects']>_0x316b1c[_0x129bc2(0x2b7)]){_0x36d8f7(_0x3ed5f0,_0x10721c,'Maximum\x20redirects\x20exceeded');return;}_0x10721c[_0x129bc2(0x288)]();let _0x50d2c5;try{_0x50d2c5=new _0x5aadef(_0x5cd0b0,_0xc5d47d);}catch{const _0x5bd078=new SyntaxError('Invalid\x20URL:\x20'+_0x5cd0b0);_0xb42485(_0x3ed5f0,_0x5bd078);return;}_0x1be8cd(_0x3ed5f0,_0x50d2c5,_0xdbc503,_0x230db3);}else _0x3ed5f0[_0x129bc2(0x215)](_0x129bc2(0x1e5),_0x10721c,_0xa0d987)||_0x36d8f7(_0x3ed5f0,_0x10721c,_0x129bc2(0x290)+_0xa0d987[_0x129bc2(0x29c)]);}),_0x10721c['on'](_0x5a3b51(0x263),(_0x2b8e5f,_0x147f90,_0x46c937)=>{const _0x45713f=_0x5a3b51;if(_0x3ed5f0[_0x45713f(0x215)](_0x45713f(0x263),_0x2b8e5f),_0x3ed5f0[_0x45713f(0x2c9)]!==_0x5e0996[_0x45713f(0x13f)])return;_0x10721c=_0x3ed5f0[_0x45713f(0x1cf)]=null;const _0x1a4d51=_0x2b8e5f['headers'][_0x45713f(0x263)];if(_0x1a4d51===void 0x0||_0x1a4d51['toLowerCase']()!=='websocket'){_0x36d8f7(_0x3ed5f0,_0x147f90,_0x45713f(0x210));return;}const _0x5ae39a=_0x51ff47(_0x45713f(0x132))[_0x45713f(0x191)](_0x55c7a8+_0x5b8e1b)['digest'](_0x45713f(0x244));if(_0x2b8e5f['headers'][_0x45713f(0x17d)]!==_0x5ae39a){_0x36d8f7(_0x3ed5f0,_0x147f90,_0x45713f(0x2ac));return;}const _0x2097f4=_0x2b8e5f['headers']['sec-websocket-protocol'];let _0x4bf7c5;if(_0x2097f4!==void 0x0?_0x1870e8['size']?_0x1870e8[_0x45713f(0x134)](_0x2097f4)||(_0x4bf7c5=_0x45713f(0x158)):_0x4bf7c5=_0x45713f(0x1d4):_0x1870e8[_0x45713f(0x2ca)]&&(_0x4bf7c5='Server\x20sent\x20no\x20subprotocol'),_0x4bf7c5){_0x36d8f7(_0x3ed5f0,_0x147f90,_0x4bf7c5);return;}_0x2097f4&&(_0x3ed5f0[_0x45713f(0x133)]=_0x2097f4);const _0x50c09e=_0x2b8e5f['headers'][_0x45713f(0x2c1)];if(_0x50c09e!==void 0x0){if(!_0x1550ee){_0x36d8f7(_0x3ed5f0,_0x147f90,'Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested');return;}let _0x54142d;try{_0x54142d=_0x35b248(_0x50c09e);}catch{_0x36d8f7(_0x3ed5f0,_0x147f90,_0x45713f(0x24f));return;}const _0x4af3b0=Object[_0x45713f(0x25c)](_0x54142d);if(_0x4af3b0[_0x45713f(0x299)]!==0x1||_0x4af3b0[0x0]!==_0x28a835[_0x45713f(0x138)]){_0x36d8f7(_0x3ed5f0,_0x147f90,'Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested');return;}try{_0x1550ee[_0x45713f(0x260)](_0x54142d[_0x28a835[_0x45713f(0x138)]]);}catch{_0x36d8f7(_0x3ed5f0,_0x147f90,_0x45713f(0x24f));return;}_0x3ed5f0[_0x45713f(0x26e)][_0x28a835[_0x45713f(0x138)]]=_0x1550ee;}_0x3ed5f0['setSocket'](_0x147f90,_0x46c937,{'allowSynchronousEvents':_0x316b1c[_0x45713f(0x29f)],'generateMask':_0x316b1c[_0x45713f(0x18d)],'maxPayload':_0x316b1c['maxPayload'],'skipUTF8Validation':_0x316b1c[_0x45713f(0x23f)]});}),_0x316b1c['finishRequest']?_0x316b1c[_0x5a3b51(0x127)](_0x10721c,_0x3ed5f0):_0x10721c[_0x5a3b51(0x270)]();}function _0xb42485(_0x6da197,_0x418002){const _0x3c1ea3=_0x5c2722;_0x6da197['_readyState']=_0x5e0996['CLOSING'],_0x6da197[_0x3c1ea3(0x1b3)]=!0x0,_0x6da197[_0x3c1ea3(0x215)](_0x3c1ea3(0x223),_0x418002),_0x6da197[_0x3c1ea3(0x1b4)]();}function _0x35fbdd(_0x4998bb){const _0x189675=_0x5c2722;return _0x4998bb[_0x189675(0x2b9)]=_0x4998bb[_0x189675(0x222)],_0x16c06f['connect'](_0x4998bb);}function _0x82a5ab(_0x19da25){const _0x46ef43=_0x5c2722;return _0x19da25[_0x46ef43(0x2b9)]=void 0x0,!_0x19da25[_0x46ef43(0x155)]&&_0x19da25['servername']!==''&&(_0x19da25['servername']=_0x16c06f[_0x46ef43(0x136)](_0x19da25[_0x46ef43(0x12d)])?'':_0x19da25[_0x46ef43(0x12d)]),_0x2f64bd[_0x46ef43(0x24a)](_0x19da25);}function _0x36d8f7(_0x485cc4,_0x4c9e31,_0x4b122a){const _0x57c427=_0x5c2722;_0x485cc4[_0x57c427(0x1d9)]=_0x5e0996[_0x57c427(0x1d1)];const _0x50ba18=new Error(_0x4b122a);Error['captureStackTrace'](_0x50ba18,_0x36d8f7),_0x4c9e31[_0x57c427(0x251)]?(_0x4c9e31[_0x29770d]=!0x0,_0x4c9e31[_0x57c427(0x288)](),_0x4c9e31[_0x57c427(0x238)]&&!_0x4c9e31[_0x57c427(0x238)][_0x57c427(0x21b)]&&_0x4c9e31['socket'][_0x57c427(0x20e)](),process['nextTick'](_0xb42485,_0x485cc4,_0x50ba18)):(_0x4c9e31['destroy'](_0x50ba18),_0x4c9e31[_0x57c427(0x1eb)]('error',_0x485cc4[_0x57c427(0x215)][_0x57c427(0x1e3)](_0x485cc4,_0x57c427(0x223))),_0x4c9e31[_0x57c427(0x1eb)]('close',_0x485cc4[_0x57c427(0x1b4)][_0x57c427(0x1e3)](_0x485cc4)));}function _0x284911(_0xf254e2,_0x5cba41,_0x5361f6){const _0x28151c=_0x5c2722;if(_0x5cba41){const _0x5b8351=_0x4d4480(_0x5cba41)?_0x5cba41[_0x28151c(0x2ca)]:_0x2b6c56(_0x5cba41)[_0x28151c(0x299)];_0xf254e2[_0x28151c(0x20d)]?_0xf254e2['_sender'][_0x28151c(0x1a3)]+=_0x5b8351:_0xf254e2[_0x28151c(0x1ce)]+=_0x5b8351;}if(_0x5361f6){const _0x1b12c6=new Error(_0x28151c(0x1b5)+_0xf254e2[_0x28151c(0x2c9)]+'\x20('+_0xd2c8af[_0xf254e2['readyState']]+')');process[_0x28151c(0x135)](_0x5361f6,_0x1b12c6);}}function _0x12d353(_0x2ca49b,_0x2beea3){const _0x4550fb=_0x5c2722,_0x4e0275=this[_0x49e8dc];_0x4e0275[_0x4550fb(0x15b)]=!0x0,_0x4e0275[_0x4550fb(0x201)]=_0x2beea3,_0x4e0275[_0x4550fb(0x14f)]=_0x2ca49b,_0x4e0275['_socket'][_0x49e8dc]!==void 0x0&&(_0x4e0275[_0x4550fb(0x20d)][_0x4550fb(0x14a)](_0x4550fb(0x12c),_0x300d08),process['nextTick'](_0x509f7a,_0x4e0275[_0x4550fb(0x20d)]),_0x2ca49b===0x3ed?_0x4e0275[_0x4550fb(0x249)]():_0x4e0275['close'](_0x2ca49b,_0x2beea3));}function _0x31ed92(){const _0x278596=_0x5c2722,_0x31e4e2=this[_0x49e8dc];_0x31e4e2[_0x278596(0x19a)]||_0x31e4e2['_socket']['resume']();}function _0x3e2c96(_0x4f70d6){const _0xa7ec13=_0x5c2722,_0x47576c=this[_0x49e8dc];_0x47576c[_0xa7ec13(0x20d)][_0x49e8dc]!==void 0x0&&(_0x47576c[_0xa7ec13(0x20d)][_0xa7ec13(0x14a)](_0xa7ec13(0x12c),_0x300d08),process[_0xa7ec13(0x135)](_0x509f7a,_0x47576c[_0xa7ec13(0x20d)]),_0x47576c[_0xa7ec13(0x249)](_0x4f70d6[_0x59063c])),_0x47576c[_0xa7ec13(0x1b3)]||(_0x47576c[_0xa7ec13(0x1b3)]=!0x0,_0x47576c[_0xa7ec13(0x215)](_0xa7ec13(0x223),_0x4f70d6));}function _0x3ae6ac(){this[_0x49e8dc]['emitClose']();}function _0x3d1615(_0x3342ab,_0x36fabe){const _0x2c8b77=_0x5c2722;this[_0x49e8dc][_0x2c8b77(0x215)](_0x2c8b77(0x1ca),_0x3342ab,_0x36fabe);}function _0x88067f(_0x14900b){const _0x182747=_0x5c2722,_0xc7c604=this[_0x49e8dc];_0xc7c604[_0x182747(0x203)]&&_0xc7c604[_0x182747(0x2ae)](_0x14900b,!this['_isServer'],_0xc9ae0),_0xc7c604[_0x182747(0x215)]('ping',_0x14900b);}function _0x44ea9f(_0x3344d4){const _0x5903f9=_0x5c2722;this[_0x49e8dc][_0x5903f9(0x215)](_0x5903f9(0x2ae),_0x3344d4);}function _0x509f7a(_0x3bc8b4){const _0xf62cf=_0x5c2722;_0x3bc8b4[_0xf62cf(0x278)]();}function _0xedaa5e(_0x298f21){const _0x1c2be6=_0x5c2722,_0x43b886=this[_0x49e8dc];_0x43b886[_0x1c2be6(0x2c9)]!==_0x5e0996[_0x1c2be6(0x28f)]&&(_0x43b886[_0x1c2be6(0x2c9)]===_0x5e0996[_0x1c2be6(0x266)]&&(_0x43b886[_0x1c2be6(0x1d9)]=_0x5e0996[_0x1c2be6(0x1d1)],_0x4ecf7f(_0x43b886)),this['_socket'][_0x1c2be6(0x270)](),_0x43b886[_0x1c2be6(0x1b3)]||(_0x43b886[_0x1c2be6(0x1b3)]=!0x0,_0x43b886[_0x1c2be6(0x215)]('error',_0x298f21)));}function _0x4ecf7f(_0x3e776a){const _0x1539b8=_0x5c2722;_0x3e776a[_0x1539b8(0x239)]=setTimeout(_0x3e776a['_socket'][_0x1539b8(0x20e)]['bind'](_0x3e776a[_0x1539b8(0x20d)]),_0x64a9b);}function _0x53550f(){const _0x3c847b=_0x5c2722,_0x607df9=this[_0x49e8dc];this[_0x3c847b(0x14a)]('close',_0x53550f),this[_0x3c847b(0x14a)](_0x3c847b(0x12c),_0x300d08),this[_0x3c847b(0x14a)]('end',_0xa27bb2),_0x607df9['_readyState']=_0x5e0996[_0x3c847b(0x1d1)];let _0x58d6b9;!this['_readableState'][_0x3c847b(0x1f2)]&&!_0x607df9[_0x3c847b(0x15b)]&&!_0x607df9[_0x3c847b(0x1e8)][_0x3c847b(0x1c2)][_0x3c847b(0x2a3)]&&(_0x58d6b9=_0x607df9['_socket'][_0x3c847b(0x13c)]())!==null&&_0x607df9[_0x3c847b(0x1e8)][_0x3c847b(0x212)](_0x58d6b9),_0x607df9[_0x3c847b(0x1e8)]['end'](),this[_0x49e8dc]=void 0x0,clearTimeout(_0x607df9[_0x3c847b(0x239)]),_0x607df9[_0x3c847b(0x1e8)][_0x3c847b(0x1c2)][_0x3c847b(0x20f)]||_0x607df9['_receiver'][_0x3c847b(0x1c2)][_0x3c847b(0x2a3)]?_0x607df9[_0x3c847b(0x1b4)]():(_0x607df9[_0x3c847b(0x1e8)]['on']('error',_0x3ae6ac),_0x607df9[_0x3c847b(0x1e8)]['on'](_0x3c847b(0x269),_0x3ae6ac));}function _0x300d08(_0x31efd6){const _0x5f6720=_0x5c2722;this[_0x49e8dc]['_receiver'][_0x5f6720(0x212)](_0x31efd6)||this[_0x5f6720(0x1b7)]();}function _0xa27bb2(){const _0x1eefc0=_0x5c2722,_0x315bf4=this[_0x49e8dc];_0x315bf4[_0x1eefc0(0x1d9)]=_0x5e0996[_0x1eefc0(0x1d1)],_0x315bf4[_0x1eefc0(0x1e8)][_0x1eefc0(0x270)](),this['end']();}function _0x32f0db(){const _0x307692=_0x5c2722,_0x263093=this[_0x49e8dc];this['removeListener']('error',_0x32f0db),this['on'](_0x307692(0x223),_0xc9ae0),_0x263093&&(_0x263093[_0x307692(0x1d9)]=_0x5e0996[_0x307692(0x1d1)],this[_0x307692(0x20e)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x4a789a}=_0x107dc6;function _0x55b345(_0xb55156){const _0x1a1bfc=_0x840b;_0xb55156[_0x1a1bfc(0x215)](_0x1a1bfc(0x249));}function _0x2a979c(){const _0x5492bd=_0x840b;!this[_0x5492bd(0x21b)]&&this['_writableState'][_0x5492bd(0x20f)]&&this[_0x5492bd(0x20e)]();}function _0x56c926(_0x35c301){const _0x449b3c=_0x840b;this[_0x449b3c(0x14a)]('error',_0x56c926),this[_0x449b3c(0x20e)](),this['listenerCount']('error')===0x0&&this[_0x449b3c(0x215)]('error',_0x35c301);}function _0x49e96f(_0xdd0682,_0x2e2aaa){const _0x595315=_0x840b;let _0x5882ca=!0x0;const _0x4b38e3=new _0x4a789a({..._0x2e2aaa,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0xdd0682['on'](_0x595315(0x1ca),function(_0x20fae9,_0x4e7d85){const _0x4d0413=_0x595315,_0x3419ae=!_0x4e7d85&&_0x4b38e3[_0x4d0413(0x139)][_0x4d0413(0x2bb)]?_0x20fae9['toString']():_0x20fae9;_0x4b38e3[_0x4d0413(0x16d)](_0x3419ae)||_0xdd0682[_0x4d0413(0x1b7)]();}),_0xdd0682[_0x595315(0x1eb)]('error',function(_0x4f94d0){const _0x351a12=_0x595315;_0x4b38e3[_0x351a12(0x21b)]||(_0x5882ca=!0x1,_0x4b38e3[_0x351a12(0x20e)](_0x4f94d0));}),_0xdd0682['once'](_0x595315(0x249),function(){const _0x44c2c8=_0x595315;_0x4b38e3[_0x44c2c8(0x21b)]||_0x4b38e3[_0x44c2c8(0x16d)](null);}),_0x4b38e3[_0x595315(0x1c1)]=function(_0x1e070b,_0x145f9e){const _0x3c2c23=_0x595315;if(_0xdd0682['readyState']===_0xdd0682['CLOSED']){_0x145f9e(_0x1e070b),process[_0x3c2c23(0x135)](_0x55b345,_0x4b38e3);return;}let _0x5b0f8b=!0x1;_0xdd0682['once'](_0x3c2c23(0x223),function(_0x3bb512){_0x5b0f8b=!0x0,_0x145f9e(_0x3bb512);}),_0xdd0682[_0x3c2c23(0x1eb)](_0x3c2c23(0x249),function(){const _0x21281d=_0x3c2c23;_0x5b0f8b||_0x145f9e(_0x1e070b),process[_0x21281d(0x135)](_0x55b345,_0x4b38e3);}),_0x5882ca&&_0xdd0682[_0x3c2c23(0x180)]();},_0x4b38e3['_final']=function(_0x18e200){const _0x511bab=_0x595315;if(_0xdd0682['readyState']===_0xdd0682[_0x511bab(0x13f)]){_0xdd0682[_0x511bab(0x1eb)]('open',function(){_0x4b38e3['_final'](_0x18e200);});return;}_0xdd0682[_0x511bab(0x20d)]!==null&&(_0xdd0682['_socket'][_0x511bab(0x1c2)][_0x511bab(0x20f)]?(_0x18e200(),_0x4b38e3[_0x511bab(0x139)][_0x511bab(0x1f2)]&&_0x4b38e3[_0x511bab(0x20e)]()):(_0xdd0682[_0x511bab(0x20d)][_0x511bab(0x1eb)](_0x511bab(0x269),function(){_0x18e200();}),_0xdd0682[_0x511bab(0x249)]()));},_0x4b38e3[_0x595315(0x16b)]=function(){const _0x12500e=_0x595315;_0xdd0682['isPaused']&&_0xdd0682[_0x12500e(0x278)]();},_0x4b38e3[_0x595315(0x295)]=function(_0x18b7fc,_0x30e0a4,_0x347f2b){const _0x1bd701=_0x595315;if(_0xdd0682[_0x1bd701(0x2c9)]===_0xdd0682[_0x1bd701(0x13f)]){_0xdd0682[_0x1bd701(0x1eb)](_0x1bd701(0x12a),function(){const _0x2261d3=_0x1bd701;_0x4b38e3[_0x2261d3(0x295)](_0x18b7fc,_0x30e0a4,_0x347f2b);});return;}_0xdd0682[_0x1bd701(0x1a0)](_0x18b7fc,_0x347f2b);},_0x4b38e3['on'](_0x595315(0x270),_0x2a979c),_0x4b38e3['on'](_0x595315(0x223),_0x56c926),_0x4b38e3;}return Oe=_0x49e96f,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=jt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x2dc432}=ne();function _0x40408f(_0x4005ae){const _0x512c0a=_0x840b,_0x420ae3=new Set();let _0xdd4234=-0x1,_0x197190=-0x1,_0x449b03=0x0;for(_0x449b03;_0x449b03<_0x4005ae[_0x512c0a(0x299)];_0x449b03++){const _0x236c4c=_0x4005ae[_0x512c0a(0x26c)](_0x449b03);if(_0x197190===-0x1&&_0x2dc432[_0x236c4c]===0x1)_0xdd4234===-0x1&&(_0xdd4234=_0x449b03);else{if(_0x449b03!==0x0&&(_0x236c4c===0x20||_0x236c4c===0x9))_0x197190===-0x1&&_0xdd4234!==-0x1&&(_0x197190=_0x449b03);else{if(_0x236c4c===0x2c){if(_0xdd4234===-0x1)throw new SyntaxError(_0x512c0a(0x21d)+_0x449b03);_0x197190===-0x1&&(_0x197190=_0x449b03);const _0x3b5275=_0x4005ae[_0x512c0a(0x1e9)](_0xdd4234,_0x197190);if(_0x420ae3['has'](_0x3b5275))throw new SyntaxError(_0x512c0a(0x293)+_0x3b5275+_0x512c0a(0x240));_0x420ae3['add'](_0x3b5275),_0xdd4234=_0x197190=-0x1;}else throw new SyntaxError(_0x512c0a(0x21d)+_0x449b03);}}}if(_0xdd4234===-0x1||_0x197190!==-0x1)throw new SyntaxError(_0x512c0a(0x2a9));const _0x33485c=_0x4005ae[_0x512c0a(0x1e9)](_0xdd4234,_0x449b03);if(_0x420ae3['has'](_0x33485c))throw new SyntaxError(_0x512c0a(0x293)+_0x33485c+_0x512c0a(0x240));return _0x420ae3[_0x512c0a(0x20c)](_0x33485c),_0x420ae3;}return Ce={'parse':_0x40408f},Ce;}var Te,ot;function er(){const _0x19d3f2=_0x15f6c9;if(ot)return Te;ot=0x1;const _0x41b436=_0x144219,_0x237979=_0x2a0443,{Duplex:_0x1cc068}=_0x107dc6,{createHash:_0x3c5690}=_0x8b2df3,_0x1ec813=pt(),_0x5a8003=he(),_0x1187d6=Jt(),_0x33a96f=Ie(),{GUID:_0x13f029,kWebSocket:_0x56a7bf}=V(),_0x1b0721=/^[+/0-9A-Za-z]{22}==$/,_0x2b0d83=0x0,_0x225a35=0x1,_0x15f68a=0x2;class _0x2943c1 extends _0x41b436{constructor(_0x251a71,_0x47acb3){const _0x5467cf=_0x840b;if(super(),_0x251a71={'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':_0x33a96f,..._0x251a71},_0x251a71[_0x5467cf(0x229)]==null&&!_0x251a71[_0x5467cf(0x1b6)]&&!_0x251a71[_0x5467cf(0x237)]||_0x251a71[_0x5467cf(0x229)]!=null&&(_0x251a71[_0x5467cf(0x1b6)]||_0x251a71[_0x5467cf(0x237)])||_0x251a71[_0x5467cf(0x1b6)]&&_0x251a71[_0x5467cf(0x237)])throw new TypeError(_0x5467cf(0x242));if(_0x251a71[_0x5467cf(0x229)]!=null?(this['_server']=_0x237979[_0x5467cf(0x125)]((_0x536c2b,_0x20d7bc)=>{const _0x33f7f0=_0x5467cf,_0x32255e=_0x237979[_0x33f7f0(0x252)][0x1aa];_0x20d7bc[_0x33f7f0(0x276)](0x1aa,{'Content-Length':_0x32255e[_0x33f7f0(0x299)],'Content-Type':'text/plain'}),_0x20d7bc[_0x33f7f0(0x270)](_0x32255e);}),this['_server']['listen'](_0x251a71[_0x5467cf(0x229)],_0x251a71['host'],_0x251a71[_0x5467cf(0x2a0)],_0x47acb3)):_0x251a71['server']&&(this[_0x5467cf(0x19e)]=_0x251a71[_0x5467cf(0x1b6)]),this[_0x5467cf(0x19e)]){const _0x28a5cf=this[_0x5467cf(0x215)][_0x5467cf(0x1e3)](this,'connection');this[_0x5467cf(0x29b)]=_0x5a03d(this[_0x5467cf(0x19e)],{'listening':this[_0x5467cf(0x215)][_0x5467cf(0x1e3)](this,_0x5467cf(0x1cc)),'error':this[_0x5467cf(0x215)][_0x5467cf(0x1e3)](this,_0x5467cf(0x223)),'upgrade':(_0x19cb8e,_0x17e7cd,_0x130b6f)=>{this['handleUpgrade'](_0x19cb8e,_0x17e7cd,_0x130b6f,_0x28a5cf);}});}_0x251a71['perMessageDeflate']===!0x0&&(_0x251a71[_0x5467cf(0x2be)]={}),_0x251a71[_0x5467cf(0x279)]&&(this[_0x5467cf(0x148)]=new Set(),this[_0x5467cf(0x2ab)]=!0x1),this[_0x5467cf(0x19d)]=_0x251a71,this[_0x5467cf(0x29a)]=_0x2b0d83;}[_0x19d3f2(0x1cb)](){const _0x4861d7=_0x19d3f2;if(this[_0x4861d7(0x19d)][_0x4861d7(0x237)])throw new Error(_0x4861d7(0x287));return this[_0x4861d7(0x19e)]?this['_server']['address']():null;}['close'](_0x19acf1){const _0x1b3e7b=_0x19d3f2;if(this['_state']===_0x15f68a){_0x19acf1&&this[_0x1b3e7b(0x1eb)]('close',()=>{_0x19acf1(new Error('The\x20server\x20is\x20not\x20running'));}),process[_0x1b3e7b(0x135)](_0x161e45,this);return;}if(_0x19acf1&&this['once'](_0x1b3e7b(0x249),_0x19acf1),this[_0x1b3e7b(0x29a)]!==_0x225a35){if(this['_state']=_0x225a35,this[_0x1b3e7b(0x19d)][_0x1b3e7b(0x237)]||this['options']['server'])this[_0x1b3e7b(0x19e)]&&(this['_removeListeners'](),this[_0x1b3e7b(0x29b)]=this[_0x1b3e7b(0x19e)]=null),this[_0x1b3e7b(0x148)]?this[_0x1b3e7b(0x148)]['size']?this[_0x1b3e7b(0x2ab)]=!0x0:process[_0x1b3e7b(0x135)](_0x161e45,this):process[_0x1b3e7b(0x135)](_0x161e45,this);else{const _0x481248=this[_0x1b3e7b(0x19e)];this[_0x1b3e7b(0x29b)](),this[_0x1b3e7b(0x29b)]=this[_0x1b3e7b(0x19e)]=null,_0x481248[_0x1b3e7b(0x249)](()=>{_0x161e45(this);});}}}[_0x19d3f2(0x25d)](_0x6c5036){const _0x57124a=_0x19d3f2;if(this[_0x57124a(0x19d)][_0x57124a(0x2b9)]){const _0x1ee491=_0x6c5036[_0x57124a(0x1c8)][_0x57124a(0x169)]('?');if((_0x1ee491!==-0x1?_0x6c5036[_0x57124a(0x1c8)][_0x57124a(0x1e9)](0x0,_0x1ee491):_0x6c5036[_0x57124a(0x1c8)])!==this[_0x57124a(0x19d)][_0x57124a(0x2b9)])return!0x1;}return!0x0;}['handleUpgrade'](_0x590992,_0x257e0d,_0xd2bb3b,_0x32b241){const _0x4873b0=_0x19d3f2;_0x257e0d['on'](_0x4873b0(0x223),_0x3b8369);const _0x11d232=_0x590992[_0x4873b0(0x298)][_0x4873b0(0x207)],_0x45f02b=_0x590992[_0x4873b0(0x298)][_0x4873b0(0x263)],_0x453152=+_0x590992['headers']['sec-websocket-version'];if(_0x590992[_0x4873b0(0x1ab)]!==_0x4873b0(0x2c7)){_0x2e74e2(this,_0x590992,_0x257e0d,0x195,_0x4873b0(0x282));return;}if(_0x45f02b===void 0x0||_0x45f02b[_0x4873b0(0x1d2)]()!==_0x4873b0(0x1bc)){_0x2e74e2(this,_0x590992,_0x257e0d,0x190,'Invalid\x20Upgrade\x20header');return;}if(_0x11d232===void 0x0||!_0x1b0721[_0x4873b0(0x209)](_0x11d232)){_0x2e74e2(this,_0x590992,_0x257e0d,0x190,_0x4873b0(0x1b2));return;}if(_0x453152!==0x8&&_0x453152!==0xd){_0x2e74e2(this,_0x590992,_0x257e0d,0x190,_0x4873b0(0x2a6));return;}if(!this['shouldHandle'](_0x590992)){_0x2f422c(_0x257e0d,0x190);return;}const _0x339c56=_0x590992[_0x4873b0(0x298)]['sec-websocket-protocol'];let _0x24aedf=new Set();if(_0x339c56!==void 0x0)try{_0x24aedf=_0x1187d6['parse'](_0x339c56);}catch{_0x2e74e2(this,_0x590992,_0x257e0d,0x190,'Invalid\x20Sec-WebSocket-Protocol\x20header');return;}const _0x293991=_0x590992['headers'][_0x4873b0(0x2c1)],_0x25a65d={};if(this[_0x4873b0(0x19d)][_0x4873b0(0x2be)]&&_0x293991!==void 0x0){const _0xa5c91a=new _0x5a8003(this['options'][_0x4873b0(0x2be)],!0x0,this[_0x4873b0(0x19d)][_0x4873b0(0x268)]);try{const _0x485837=_0x1ec813[_0x4873b0(0x2ad)](_0x293991);_0x485837[_0x5a8003[_0x4873b0(0x138)]]&&(_0xa5c91a[_0x4873b0(0x260)](_0x485837[_0x5a8003[_0x4873b0(0x138)]]),_0x25a65d[_0x5a8003[_0x4873b0(0x138)]]=_0xa5c91a);}catch{_0x2e74e2(this,_0x590992,_0x257e0d,0x190,_0x4873b0(0x11e));return;}}if(this['options'][_0x4873b0(0x12e)]){const _0x42f9fb={'origin':_0x590992[_0x4873b0(0x298)][''+(_0x453152===0x8?_0x4873b0(0x202):_0x4873b0(0x11c))],'secure':!!(_0x590992[_0x4873b0(0x238)][_0x4873b0(0x1f6)]||_0x590992['socket'][_0x4873b0(0x20b)]),'req':_0x590992};if(this[_0x4873b0(0x19d)][_0x4873b0(0x12e)][_0x4873b0(0x299)]===0x2){this[_0x4873b0(0x19d)][_0x4873b0(0x12e)](_0x42f9fb,(_0x1e491b,_0x16f62d,_0x589937,_0x4cc5ce)=>{const _0x1af183=_0x4873b0;if(!_0x1e491b)return _0x2f422c(_0x257e0d,_0x16f62d||0x191,_0x589937,_0x4cc5ce);this[_0x1af183(0x21f)](_0x25a65d,_0x11d232,_0x24aedf,_0x590992,_0x257e0d,_0xd2bb3b,_0x32b241);});return;}if(!this['options'][_0x4873b0(0x12e)](_0x42f9fb))return _0x2f422c(_0x257e0d,0x191);}this[_0x4873b0(0x21f)](_0x25a65d,_0x11d232,_0x24aedf,_0x590992,_0x257e0d,_0xd2bb3b,_0x32b241);}[_0x19d3f2(0x21f)](_0x52af4e,_0x4ca15a,_0x313760,_0x1f7698,_0x4168fe,_0x132e41,_0x3045a5){const _0xab0fb9=_0x19d3f2;if(!_0x4168fe['readable']||!_0x4168fe['writable'])return _0x4168fe['destroy']();if(_0x4168fe[_0x56a7bf])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this[_0xab0fb9(0x29a)]>_0x2b0d83)return _0x2f422c(_0x4168fe,0x1f7);const _0x3ddccb=[_0xab0fb9(0x261),'Upgrade:\x20websocket',_0xab0fb9(0x2a8),_0xab0fb9(0x2b1)+_0x3c5690(_0xab0fb9(0x132))[_0xab0fb9(0x191)](_0x4ca15a+_0x13f029)[_0xab0fb9(0x234)](_0xab0fb9(0x244))],_0x1e7022=new this[(_0xab0fb9(0x19d))][(_0xab0fb9(0x2b6))](null,void 0x0,this[_0xab0fb9(0x19d)]);if(_0x313760[_0xab0fb9(0x2ca)]){const _0x1bd5d7=this[_0xab0fb9(0x19d)]['handleProtocols']?this[_0xab0fb9(0x19d)][_0xab0fb9(0x296)](_0x313760,_0x1f7698):_0x313760[_0xab0fb9(0x1ac)]()[_0xab0fb9(0x26f)]()['value'];_0x1bd5d7&&(_0x3ddccb[_0xab0fb9(0x16d)]('Sec-WebSocket-Protocol:\x20'+_0x1bd5d7),_0x1e7022[_0xab0fb9(0x133)]=_0x1bd5d7);}if(_0x52af4e[_0x5a8003['extensionName']]){const _0x103e07=_0x52af4e[_0x5a8003[_0xab0fb9(0x138)]][_0xab0fb9(0x28d)],_0x207651=_0x1ec813[_0xab0fb9(0x1a1)]({[_0x5a8003[_0xab0fb9(0x138)]]:[_0x103e07]});_0x3ddccb[_0xab0fb9(0x16d)]('Sec-WebSocket-Extensions:\x20'+_0x207651),_0x1e7022['_extensions']=_0x52af4e;}this['emit'](_0xab0fb9(0x298),_0x3ddccb,_0x1f7698),_0x4168fe['write'](_0x3ddccb[_0xab0fb9(0x231)]('\x0d\x0a')[_0xab0fb9(0x22c)]('\x0d\x0a')),_0x4168fe[_0xab0fb9(0x14a)](_0xab0fb9(0x223),_0x3b8369),_0x1e7022[_0xab0fb9(0x28b)](_0x4168fe,_0x132e41,{'allowSynchronousEvents':this[_0xab0fb9(0x19d)][_0xab0fb9(0x29f)],'maxPayload':this[_0xab0fb9(0x19d)]['maxPayload'],'skipUTF8Validation':this[_0xab0fb9(0x19d)]['skipUTF8Validation']}),this[_0xab0fb9(0x148)]&&(this[_0xab0fb9(0x148)][_0xab0fb9(0x20c)](_0x1e7022),_0x1e7022['on'](_0xab0fb9(0x249),()=>{const _0x23349f=_0xab0fb9;this[_0x23349f(0x148)][_0x23349f(0x170)](_0x1e7022),this[_0x23349f(0x2ab)]&&!this[_0x23349f(0x148)]['size']&&process[_0x23349f(0x135)](_0x161e45,this);})),_0x3045a5(_0x1e7022,_0x1f7698);}}Te=_0x2943c1;function _0x5a03d(_0x53d411,_0x23a1f4){const _0x5f3d15=_0x19d3f2;for(const _0x57c63a of Object[_0x5f3d15(0x25c)](_0x23a1f4))_0x53d411['on'](_0x57c63a,_0x23a1f4[_0x57c63a]);return function(){const _0x4d898f=_0x5f3d15;for(const _0x45052c of Object[_0x4d898f(0x25c)](_0x23a1f4))_0x53d411[_0x4d898f(0x14a)](_0x45052c,_0x23a1f4[_0x45052c]);};}function _0x161e45(_0x249428){const _0x4c95a2=_0x19d3f2;_0x249428['_state']=_0x15f68a,_0x249428['emit'](_0x4c95a2(0x249));}function _0x3b8369(){this['destroy']();}function _0x2f422c(_0x5136d5,_0x5c94d8,_0x519f08,_0x44fb59){const _0x100517=_0x19d3f2;_0x519f08=_0x519f08||_0x237979[_0x100517(0x252)][_0x5c94d8],_0x44fb59={'Connection':_0x100517(0x249),'Content-Type':_0x100517(0x294),'Content-Length':Buffer['byteLength'](_0x519f08),..._0x44fb59},_0x5136d5['once'](_0x100517(0x269),_0x5136d5[_0x100517(0x20e)]),_0x5136d5[_0x100517(0x270)](_0x100517(0x2c2)+_0x5c94d8+'\x20'+_0x237979[_0x100517(0x252)][_0x5c94d8]+'\x0d\x0a'+Object['keys'](_0x44fb59)[_0x100517(0x264)](_0x172c8a=>_0x172c8a+':\x20'+_0x44fb59[_0x172c8a])['join']('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0x519f08);}function _0x2e74e2(_0x9241e4,_0xe568f,_0x3fcdf1,_0x42d4e7,_0x3471d8){const _0x57e9fe=_0x19d3f2;if(_0x9241e4[_0x57e9fe(0x27f)](_0x57e9fe(0x284))){const _0x47a7fd=new Error(_0x3471d8);Error['captureStackTrace'](_0x47a7fd,_0x2e74e2),_0x9241e4[_0x57e9fe(0x215)](_0x57e9fe(0x284),_0x47a7fd,_0x3fcdf1,_0xe568f);}else _0x2f422c(_0x3fcdf1,_0x42d4e7,_0x3471d8);}return Te;}er();var tr=Object[_0x15f6c9(0x224)],rr=(_0x556e33,_0x1691a7,_0x420f24,_0x238521)=>{for(var _0x105605=_0x238521>0x1?void 0x0:_0x238521?tr(_0x1691a7,_0x420f24):_0x1691a7,_0x536234=_0x556e33['length']-0x1,_0x516401;_0x536234>=0x0;_0x536234--)(_0x516401=_0x556e33[_0x536234])&&(_0x105605=_0x516401(_0x105605)||_0x105605);return _0x105605;},sr=(_0x5ef11f,_0x15c2a3)=>(_0x4a3bee,_0x3d336c)=>_0x15c2a3(_0x4a3bee,_0x3d336c,_0x5ef11f);let Ne=class extends _0x377e5d{constructor(_0x3f0afc){const _0x29f945=_0x15f6c9;super(),this[_0x29f945(0x11a)]=_0x3f0afc;}[_0x15f6c9(0x1de)](_0x11bcb1){const _0x3ff528=_0x15f6c9;var _0x30bb89;const _0xb65335=(_0x30bb89=this[_0x3ff528(0x11a)][_0x3ff528(0x198)](Be))==null?void 0x0:_0x30bb89['customHeaders'];try{const _0x2d7b12=new Qt(_0x11bcb1,{'headers':{..._0xb65335}}),_0x2197bc=new _0x52c841();return{'URL':_0x11bcb1,'close':(_0x4aeb06,_0xab1069)=>{const _0x443069=_0x3ff528;_0x2d7b12[_0x443069(0x249)](_0x4aeb06,_0xab1069),_0x2197bc[_0x443069(0x1f4)]();},'send':_0xf3a9a8=>{const _0x5da23f=_0x3ff528;_0x2d7b12[_0x5da23f(0x1a0)](_0xf3a9a8);},'open$':new _0x156a86(_0x43b1fa=>{const _0x21bd93=_0x3ff528,_0x255555=_0x251f92=>_0x43b1fa[_0x21bd93(0x26f)](_0x251f92);_0x2d7b12[_0x21bd93(0x225)](_0x21bd93(0x12a),_0x255555),_0x2197bc[_0x21bd93(0x20c)](_0x9e3fe0(()=>_0x2d7b12[_0x21bd93(0x199)](_0x21bd93(0x12a),_0x255555)));})[_0x3ff528(0x22f)](_0x36a070()),'close$':new _0x156a86(_0x55ac13=>{const _0x151ddd=_0x3ff528,_0xf418c7=_0x302e6b=>_0x55ac13['next'](_0x302e6b);_0x2d7b12[_0x151ddd(0x225)]('close',_0xf418c7),_0x2197bc[_0x151ddd(0x20c)](_0x9e3fe0(()=>_0x2d7b12['removeEventListener'](_0x151ddd(0x249),_0xf418c7)));})['pipe'](_0x36a070()),'error$':new _0x156a86(_0x588867=>{const _0x330706=_0x3ff528,_0x492fc9=_0x131110=>_0x588867['next'](_0x131110);_0x2d7b12[_0x330706(0x225)]('error',_0x492fc9),_0x2197bc[_0x330706(0x20c)](_0x9e3fe0(()=>_0x2d7b12[_0x330706(0x199)](_0x330706(0x223),_0x492fc9)));})[_0x3ff528(0x22f)](_0x36a070()),'message$':new _0x156a86(_0x24d541=>{const _0x461688=_0x3ff528,_0xf2cdfb=_0x2abca2=>_0x24d541[_0x461688(0x26f)](_0x2abca2);_0x2d7b12[_0x461688(0x225)](_0x461688(0x1ca),_0xf2cdfb),_0x2197bc[_0x461688(0x20c)](_0x9e3fe0(()=>_0x2d7b12['removeEventListener']('message',_0xf2cdfb)));})[_0x3ff528(0x22f)](_0x36a070())};}catch(_0x582261){return console[_0x3ff528(0x223)](_0x582261),null;}}};Ne=rr([sr(0x0,_0xb0deab)],Ne);var ir=Object[_0x15f6c9(0x265)],nr=Object[_0x15f6c9(0x224)],or=(_0x20d945,_0x5e306e,_0x394b3a)=>_0x5e306e in _0x20d945?ir(_0x20d945,_0x5e306e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x394b3a}):_0x20d945[_0x5e306e]=_0x394b3a,ar=(_0xd17f7f,_0x492139,_0x5d9c5c,_0x2d0c81)=>{for(var _0x4ce523=_0x2d0c81>0x1?void 0x0:_0x2d0c81?nr(_0x492139,_0x5d9c5c):_0x492139,_0x313e04=_0xd17f7f['length']-0x1,_0x5f256b;_0x313e04>=0x0;_0x313e04--)(_0x5f256b=_0xd17f7f[_0x313e04])&&(_0x4ce523=_0x5f256b(_0x4ce523)||_0x4ce523);return _0x4ce523;},ke=(_0x5630bc,_0xa9ff15)=>(_0x19266,_0x16fd45)=>_0xa9ff15(_0x19266,_0x16fd45,_0x5630bc),lr=(_0x5956a2,_0x4dc276,_0x64cc62)=>or(_0x5956a2,_0x4dc276+'',_0x64cc62);let Pe=class extends _0x2f7cb9{constructor(_0x2f61ca=Ft,_0x560c05,_0x1d1129,_0x531c4b){const _0x5136e5=_0x15f6c9;_0x2f61ca[_0x5136e5(0x1cd)]||_0x560c05[_0x5136e5(0x1f1)](_0x5136e5(0x230)),super(),this[_0x5136e5(0x11a)]=_0x1d1129,this['_injector']=_0x531c4b,this[_0x5136e5(0x11a)][_0x5136e5(0x254)](Be,_0x2f61ca);}[_0x15f6c9(0x1fa)](){const _0x584fa4=_0x15f6c9;this[_0x584fa4(0x2b0)]();}['_registerDependencies'](){const _0x344373=_0x15f6c9;_0xf1aaa0(this[_0x344373(0x1a8)],[[_0x22df9f,{'useClass':Ne}]]);}};lr(Pe,_0x15f6c9(0x22e),_0x15f6c9(0x258)),Pe=ar([_0x3187a9(_0x1712f2),ke(0x1,_0x370bee),ke(0x2,_0xb0deab),ke(0x3,_0x23c7d9(_0x1d83c4))],Pe);var fr=Object['getOwnPropertyDescriptor'],cr=(_0x52c5f6,_0x341b8a,_0x14d84f,_0x2e3e9c)=>{const _0x488f03=_0x15f6c9;for(var _0x319dee=_0x2e3e9c>0x1?void 0x0:_0x2e3e9c?fr(_0x341b8a,_0x14d84f):_0x341b8a,_0x582300=_0x52c5f6[_0x488f03(0x299)]-0x1,_0x4101e1;_0x582300>=0x0;_0x582300--)(_0x4101e1=_0x52c5f6[_0x582300])&&(_0x319dee=_0x4101e1(_0x319dee)||_0x319dee);return _0x319dee;},se=(_0x404da4,_0x2cfac3)=>(_0x1c60fd,_0x2bd93f)=>_0x2cfac3(_0x1c60fd,_0x2bd93f,_0x404da4);let at=class extends _0x30ece4{constructor(_0x26eff3,_0x344dde,_0x34b9fb,_0x180143,_0x29bae8){const _0x27a858=_0x15f6c9;super(_0x26eff3,_0x344dde,_0x34b9fb,_0x180143,_0x29bae8);const _0x1b15bd=this[_0x27a858(0x11a)][_0x27a858(0x198)](Be);this[_0x27a858(0x11b)][_0x27a858(0x150)]({'interceptor':(_0x4448ed,_0x3e9ad4)=>{const _0x583ac5=_0x27a858;var _0x47b5ca;const _0x50e815=_0x4448ed[_0x583ac5(0x298)];return(_0x47b5ca=_0x1b15bd==null?void 0x0:_0x1b15bd[_0x583ac5(0x1cd)])!=null&&_0x47b5ca[_0x583ac5(0x2b8)]&&_0x50e815['set'](_0x583ac5(0x2b2),_0x1b15bd[_0x583ac5(0x1cd)][_0x583ac5(0x2b8)]),_0x3e9ad4(_0x4448ed);}});}async[_0x15f6c9(0x1de)](_0x4041a9){const _0x1d7c94=_0x15f6c9;return this[_0x1d7c94(0x159)](_0x4041a9);}};at=cr([se(0x0,_0x23c7d9(_0x1d83c4)),se(0x1,_0x23c7d9(_0x492b06)),se(0x2,_0xb0deab),se(0x3,_0x370bee),se(0x4,_0x42dd48)],at);function _0x840b(_0x1eddf2,_0x2a7ccd){const _0x369aae=_0x369a();return _0x840b=function(_0x840b21,_0x4d1ad1){_0x840b21=_0x840b21-0x11a;let _0x4294e0=_0x369aae[_0x840b21];return _0x4294e0;},_0x840b(_0x1eddf2,_0x2a7ccd);}export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
|