@univerjs-pro/collaboration-client-node 0.7.0-nightly.202505091607 → 0.7.0-nightly.202505101606

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.js CHANGED
@@ -1 +1 @@
1
- const _0x5befdd=_0x1024;(function(_0x55c415,_0x70fa25){const _0x37f421=_0x1024,_0x2869c3=_0x55c415();while(!![]){try{const _0x369ab7=parseInt(_0x37f421(0x1d1))/0x1*(-parseInt(_0x37f421(0x185))/0x2)+-parseInt(_0x37f421(0x102))/0x3*(-parseInt(_0x37f421(0x1ce))/0x4)+parseInt(_0x37f421(0x12d))/0x5*(parseInt(_0x37f421(0xeb))/0x6)+parseInt(_0x37f421(0x186))/0x7*(-parseInt(_0x37f421(0x212))/0x8)+-parseInt(_0x37f421(0x10c))/0x9*(-parseInt(_0x37f421(0x1af))/0xa)+-parseInt(_0x37f421(0xd8))/0xb+-parseInt(_0x37f421(0x16f))/0xc*(-parseInt(_0x37f421(0x188))/0xd);if(_0x369ab7===_0x70fa25)break;else _0x2869c3['push'](_0x2869c3['shift']());}catch(_0x24b87f){_0x2869c3['push'](_0x2869c3['shift']());}}}(_0x4291,0x69362));import{UniverCollaborationClientPlugin as _0x1e6f2b,CollaborationSocketService as _0x45e86c}from'@univerjs-pro/collaboration-client';import{Disposable as _0x20ddb8,DisposableCollection as _0x484ed4,toDisposable as _0x2cdff4,IConfigService as _0xbe70ab,DependentOn as _0x1a3c1f,ILogService as _0x2f93e1,Inject as _0x3a8c02,Injector as _0x3cc377,Plugin as _0x7590e,registerDependencies as _0x351b5f}from'@univerjs/core';import{ISocketService as _0x5b14f9,HTTPService as _0xd68b67}from'@univerjs/network';import{Observable as _0x25f7cd,share as _0x3b7daa}from'rxjs';import _0x19ae85 from'events';import _0x1505ea from'https';import _0x650d7f from'http';function _0x1024(_0x1d30c3,_0xebcaeb){const _0x42915d=_0x4291();return _0x1024=function(_0x102475,_0x4b9224){_0x102475=_0x102475-0x7e;let _0x37eac4=_0x42915d[_0x102475];return _0x37eac4;},_0x1024(_0x1d30c3,_0xebcaeb);}import _0x4208c6 from'net';import _0x50ab91 from'tls';import _0x4d7578 from'crypto';import _0x2a8bf7 from'stream';import _0x21bbe9 from'url';import _0x1be2d9 from'zlib';import _0x4dc14d from'buffer';import{ISnapshotServerService as _0x329910}from'@univerjs-pro/collaboration';const Be=_0x5befdd(0xc8),Ft={'customHeaders':{}};function jt(_0x2a6544){const _0x37aec4=_0x5befdd;return _0x2a6544&&_0x2a6544[_0x37aec4(0x1fd)]&&Object['prototype']['hasOwnProperty'][_0x37aec4(0x22d)](_0x2a6544,'default')?_0x2a6544[_0x37aec4(0xc1)]:_0x2a6544;}function ut(_0x350f89){const _0x444846=_0x5befdd;if(Object['prototype'][_0x444846(0x1c9)][_0x444846(0x22d)](_0x350f89,_0x444846(0x1fd)))return _0x350f89;var _0x3fd3d7=_0x350f89[_0x444846(0xc1)];if(typeof _0x3fd3d7=='function'){var _0x2a86ec=function _0xc88315(){const _0x3904f0=_0x444846;return this instanceof _0xc88315?Reflect[_0x3904f0(0xb3)](_0x3fd3d7,arguments,this[_0x3904f0(0xfc)]):_0x3fd3d7['apply'](this,arguments);};_0x2a86ec[_0x444846(0x93)]=_0x3fd3d7['prototype'];}else _0x2a86ec={};return Object[_0x444846(0x1ac)](_0x2a86ec,_0x444846(0x1fd),{'value':!0x0}),Object[_0x444846(0x1b4)](_0x350f89)[_0x444846(0x11a)](function(_0xeb71c8){const _0x193d33=_0x444846;var _0x402332=Object[_0x193d33(0x167)](_0x350f89,_0xeb71c8);Object['defineProperty'](_0x2a86ec,_0xeb71c8,_0x402332[_0x193d33(0x1d8)]?_0x402332:{'enumerable':!0x0,'get':function(){return _0x350f89[_0xeb71c8];}});}),_0x2a86ec;}var te={'exports':{}},ge,Ye;function V(){const _0x4ef283=_0x5befdd;if(Ye)return ge;Ye=0x1;const _0x3fdb7a=['nodebuffer','arraybuffer',_0x4ef283(0x1a1)],_0x4257e8=typeof Blob<'u';return _0x4257e8&&_0x3fdb7a['push'](_0x4ef283(0x1ea)),ge={'BINARY_TYPES':_0x3fdb7a,'EMPTY_BUFFER':Buffer[_0x4ef283(0x153)](0x0),'GUID':_0x4ef283(0x195),'hasBlob':_0x4257e8,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol('kListener'),'kStatusCode':Symbol('status-code'),'kWebSocket':Symbol(_0x4ef283(0x150)),'NOOP':()=>{}},ge;}const Wt={},Gt=Object[_0x5befdd(0x129)](Object[_0x5befdd(0x1ac)]({'__proto__':null,'default':Wt},Symbol[_0x5befdd(0x8a)],{'value':'Module'})),Vt=ut(Gt);var Ke;function ce(){const _0x1c74ef=_0x5befdd;if(Ke)return te[_0x1c74ef(0x13d)];Ke=0x1;const {EMPTY_BUFFER:_0x40df4a}=V(),_0xea40b9=Buffer[Symbol[_0x1c74ef(0xba)]];function _0x494cf5(_0x196221,_0x19e32f){const _0xe773a6=_0x1c74ef;if(_0x196221[_0xe773a6(0x14a)]===0x0)return _0x40df4a;if(_0x196221[_0xe773a6(0x14a)]===0x1)return _0x196221[0x0];const _0x1fe3fc=Buffer[_0xe773a6(0x194)](_0x19e32f);let _0x31ada5=0x0;for(let _0x27cb79=0x0;_0x27cb79<_0x196221[_0xe773a6(0x14a)];_0x27cb79++){const _0x404dc5=_0x196221[_0x27cb79];_0x1fe3fc[_0xe773a6(0xdd)](_0x404dc5,_0x31ada5),_0x31ada5+=_0x404dc5[_0xe773a6(0x14a)];}return _0x31ada5<_0x19e32f?new _0xea40b9(_0x1fe3fc[_0xe773a6(0x1a2)],_0x1fe3fc[_0xe773a6(0x193)],_0x31ada5):_0x1fe3fc;}function _0x43993d(_0x122fba,_0x506f66,_0x46749b,_0x45e807,_0xc54c7a){for(let _0x591c18=0x0;_0x591c18<_0xc54c7a;_0x591c18++)_0x46749b[_0x45e807+_0x591c18]=_0x122fba[_0x591c18]^_0x506f66[_0x591c18&0x3];}function _0x3eeb62(_0x16f5d5,_0x5c1520){const _0x493ff5=_0x1c74ef;for(let _0x15acff=0x0;_0x15acff<_0x16f5d5[_0x493ff5(0x14a)];_0x15acff++)_0x16f5d5[_0x15acff]^=_0x5c1520[_0x15acff&0x3];}function _0x96d73c(_0x1f59d1){const _0x2dacfe=_0x1c74ef;return _0x1f59d1[_0x2dacfe(0x14a)]===_0x1f59d1[_0x2dacfe(0x1a2)][_0x2dacfe(0xb6)]?_0x1f59d1['buffer']:_0x1f59d1['buffer']['slice'](_0x1f59d1[_0x2dacfe(0x193)],_0x1f59d1[_0x2dacfe(0x193)]+_0x1f59d1['length']);}function _0x54ca30(_0x4574d9){const _0x40d7c1=_0x1c74ef;if(_0x54ca30[_0x40d7c1(0x117)]=!0x0,Buffer[_0x40d7c1(0x15d)](_0x4574d9))return _0x4574d9;let _0x33f482;return _0x4574d9 instanceof ArrayBuffer?_0x33f482=new _0xea40b9(_0x4574d9):ArrayBuffer['isView'](_0x4574d9)?_0x33f482=new _0xea40b9(_0x4574d9[_0x40d7c1(0x1a2)],_0x4574d9['byteOffset'],_0x4574d9[_0x40d7c1(0xb6)]):(_0x33f482=Buffer[_0x40d7c1(0xa0)](_0x4574d9),_0x54ca30[_0x40d7c1(0x117)]=!0x1),_0x33f482;}if(te['exports']={'concat':_0x494cf5,'mask':_0x43993d,'toArrayBuffer':_0x96d73c,'toBuffer':_0x54ca30,'unmask':_0x3eeb62},!process[_0x1c74ef(0x80)][_0x1c74ef(0x145)])try{const _0x14243e=Vt;te[_0x1c74ef(0x13d)]['mask']=function(_0x4ae569,_0x7d8d4c,_0x38fb93,_0xc0c30f,_0x369c20){const _0x44b233=_0x1c74ef;_0x369c20<0x30?_0x43993d(_0x4ae569,_0x7d8d4c,_0x38fb93,_0xc0c30f,_0x369c20):_0x14243e[_0x44b233(0x157)](_0x4ae569,_0x7d8d4c,_0x38fb93,_0xc0c30f,_0x369c20);},te[_0x1c74ef(0x13d)][_0x1c74ef(0x1e4)]=function(_0x27ccd0,_0x1ad4d8){const _0x1689cb=_0x1c74ef;_0x27ccd0['length']<0x20?_0x3eeb62(_0x27ccd0,_0x1ad4d8):_0x14243e[_0x1689cb(0x1e4)](_0x27ccd0,_0x1ad4d8);};}catch{}return te['exports'];}function _0x4291(){const _0x18187d=['upgrade','delete','readyState','isBuffer','GET','_payloadLength','getMask','addEventListener','offer','Sec-WebSocket-Accept:\x20','createDeflateRaw','_write','params','getOwnPropertyDescriptor','File','_bufferedAmount','wasClean','completeUpgrade','slice','hostname','apply','3228sKoJFK','removeEventListener','_opcode','_bufferedBytes','emitClose','isPaused','total-length','\x22\x20must\x20have\x20only\x20a\x20single\x20value','_paused','WS_ERR_INVALID_UTF8','digest','next','connect','_totalPayloadLength','WS_NO_UTF_8_VALIDATE','sendFrame','Invalid\x20value\x20for\x20parameter\x20\x22','connection','options','pause','extensions','setHeader','18sKhSjE','84RkDEks','Module','25805AFvIpX','_allowSynchronousEvents','error','server_no_context_takeover','pending','_configService','server_max_window_bits','_messageLength','Cookie','_buffers','clientTracking','byteOffset','allocUnsafe','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','close','cleanup','handshakeTimeout','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','_fragments','consume','Sec-WebSocket-Extensions','clientNoContextTakeover','_maskBuffer','acceptAsServer','arrayBuffer','fragments','buffer','_inflate','createSocket','frame','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','method','terminate','RSV1\x20must\x20be\x20clear','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','registerHTTPInterceptor','defineProperty','backlog','removeListener','3050CVDKnO','flush','_originalSecure','followRedirects','size','keys','http:','_closeFrameSent','socketPath','ws+unix:','serverNoContextTakeover','type','createError','base64','_queue','dispatch','abort','errorEmitted','_mask','_isServer','add','sec-websocket-accept','replace','test','WS_ERR_UNEXPECTED_MASK','_writableState','hasOwnProperty','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','timeout','request','invalid\x20opcode\x20','527572QENCaN','sha1','_readableState','87196aXIJKt','_doCreateSocket','wss:','OPEN','concat','once','zlibDeflateOptions','get','_closeFrameReceived','autoPong','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','onerror','Sec-WebSocket-Protocol:\x20','CLOSED','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','ws:','jobs','_skipUTF8Validation','url','unmask','maxPayload','unexpected-response','_shouldEmitClose','join','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','blob','ping','readUInt32BE','STATUS_CODES','WS_ERR_INVALID_OPCODE','createServer','Z_SYNC_FLUSH','CLOSING','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','_req','_injector','enqueue','isIP','The\x20\x22','entries','reason','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','noServer','verifyClient','__esModule','cork','catch','setSocket','_httpService','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','then','string','emit','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','client_no_context_takeover','getInfo','socket','startLoop','_binaryType','finished','drain','split','onopen','_destroy','302576JWbnDA','setNoDelay','rsv1','_compressed','isArray','_removeListeners','_protocol','writable','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','data','compress','dequeue','captureStackTrace','permessage-deflate','pong','find','protocol','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','readUInt16BE','Invalid\x20WebSocket\x20frame:\x20','invalid\x20UTF-8\x20sequence','acceptAsClient','Server\x20sent\x20an\x20invalid\x20subprotocol','location','invalid\x20payload\x20length\x20','Invalid\x20Sec-WebSocket-Protocol\x20header','generateMask','call','haveLength','_fragmented','redirect','listeners','toString','allowSynchronousEvents','createConnection','wsClientError','env','_originalIpc','toLowerCase','isInteger','decompress','client_max_window_bits','destroyed','Invalid\x20URL:\x20','path','_readyState','toStringTag','handleProtocols','open','text/plain','normalizeParams','_registerDependencies','_redirects','Z_DEFAULT_WINDOWBITS','destroy','prototype','\x20(supported\x20versions:\x20','The\x20URL\x27s\x20pathname\x20is\x20empty','onmessage','fin','send','_autoPong','Upgrade:\x20websocket','Invalid\x20Sec-WebSocket-Extensions\x20header','_closeTimer','_generateMask','WebSocket','skipUTF8Validation','from','end','finishRequest','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','servername','includes','unshift','_threshold','auth','message','headers','WS_ERR_UNEXPECTED_RSV_2_3','_final','shift','finish','_state','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','startsWith','protocolVersion','construct','kDone','invalid\x20status\x20code\x20','byteLength','resume','create','Origin','species','_deflate','server','_no_context_takeover','clientMaxWindowBits','bufferedAmount','_receiver','default','MASK\x20must\x20be\x20clear','_closeCode','reset','kMessage','Connection:\x20Upgrade','getBlobData','collaboration-client-node.config','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','Unexpected\x20character\x20at\x20index\x20','_server','kType','arraybuffer','concurrencyLimit','host','nextTick','_closeMessage','opcode','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','readable','serverMaxWindowBits','CONNECTING','Max\x20payload\x20size\x20exceeded','1454926dRYYtP','_url','kWasClean','_fin','defaultPort','set','zlibInflateOptions','password','Blob','needDrain','getData','concurrency','pipe','href','listen','shouldHandle','listenerCount','kByteLength','_sender','31998SNjYiy','write','Invalid\x20Sec-WebSocket-Accept\x20header','kTarget','origin','statusCode','isValidUTF8','threshold','sec-websocket-protocol','Parameter\x20\x22','handleUpgrade','HTTP/1.1\x20','handleEvent','endEmitted','nodebuffer','_max_window_bits','clients','constructor','client','cookie','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','_options','sec-websocket-origin','18fQDVcE','kAborted','_errored','address','Unsupported\x20protocol\x20version:\x20','authorized','port','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','Maximum\x20redirects\x20exceeded','has','7137wIlHXh','kReason','Sec-WebSocket-Protocol','conclude','stream','_socket','pow','Unknown\x20parameter\x20\x22','\x22\x20subprotocol\x20is\x20duplicated','_maxPayload','Unexpected\x20end\x20of\x20input','readOnly','writeUInt16BE','Unexpected\x20server\x20response:\x20','forEach','_loop','code','pathname','buffers','number','function','onclose','The\x20server\x20is\x20not\x20running','_compress','object','response','Opening\x20handshake\x20has\x20timed\x20out','target','getPayloadLength16','freeze','WS_ERR_UNEXPECTED_RSV_1','value','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','220Cptdjm','Sec-WebSocket-Origin','binaryType','_masked','WS_ERR_EXPECTED_MASK','update','parse','maskBuffer','indexOf','charCodeAt','_decompress','Sec-WebSocket-Extensions:\x20','getPayloadLength64','push','callback','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','exports','_firstFragment','_extensions','_originalHostOrSocketPath','extensionName','authorization','\x22:\x20','bind','WS_NO_BUFFER_UTIL','_errorEmitted','kCode','customHeaders','sec-websocket-extensions','length','encrypted','pluginName','map','getConfig','dataMessage','websocket','Upgrade','perMessageDeflate','alloc','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','username','accept','mask','controlMessage','objectMode'];_0x4291=function(){return _0x18187d;};return _0x4291();}var ye,Xe;function qt(){const _0x1e02aa=_0x5befdd;if(Xe)return ye;Xe=0x1;const _0x22d592=Symbol(_0x1e02aa(0xb4)),_0x8ef390=Symbol('kRun');class _0x2c7f5e{constructor(_0x746ae2){const _0x346517=_0x1e02aa;this[_0x22d592]=()=>{this['pending']--,this[_0x8ef390]();},this[_0x346517(0xe3)]=_0x746ae2||0x1/0x0,this['jobs']=[],this[_0x346517(0x18c)]=0x0;}[_0x1e02aa(0x1c3)](_0x155707){const _0x18b95f=_0x1e02aa;this[_0x18b95f(0x1e1)][_0x18b95f(0x13a)](_0x155707),this[_0x8ef390]();}[_0x8ef390](){const _0x55551e=_0x1e02aa;if(this['pending']!==this['concurrency']&&this[_0x55551e(0x1e1)][_0x55551e(0x14a)]){const _0x2111b7=this[_0x55551e(0x1e1)][_0x55551e(0xad)]();this[_0x55551e(0x18c)]++,_0x2111b7(this[_0x22d592]);}}}return ye=_0x2c7f5e,ye;}var ve,Ze;function he(){const _0x558061=_0x5befdd;if(Ze)return ve;Ze=0x1;const _0x3ef9f8=_0x1be2d9,_0xb2780e=ce(),_0x252b58=qt(),{kStatusCode:_0xe6520d}=V(),_0x33c4f4=Buffer[Symbol[_0x558061(0xba)]],_0x6d1b5e=Buffer[_0x558061(0xa0)]([0x0,0x0,0xff,0xff]),_0x255a20=Symbol(_0x558061(0x21f)),_0x2be27b=Symbol(_0x558061(0x175)),_0x5c3093=Symbol(_0x558061(0x13b)),_0x41e45a=Symbol(_0x558061(0x11e)),_0x1f3823=Symbol('error');let _0x616733;class _0x115f70{constructor(_0x4914bf,_0x5cb6e4,_0x1fe581){const _0xc96a7e=_0x558061;if(this[_0xc96a7e(0x115)]=_0x1fe581|0x0,this['_options']=_0x4914bf||{},this[_0xc96a7e(0xa7)]=this['_options']['threshold']!==void 0x0?this['_options'][_0xc96a7e(0xf2)]:0x400,this[_0xc96a7e(0x1c2)]=!!_0x5cb6e4,this[_0xc96a7e(0xbb)]=null,this['_inflate']=null,this[_0xc96a7e(0x166)]=null,!_0x616733){const _0x52c4fb=this[_0xc96a7e(0x100)][_0xc96a7e(0xce)]!==void 0x0?this[_0xc96a7e(0x100)][_0xc96a7e(0xce)]:0xa;_0x616733=new _0x252b58(_0x52c4fb);}}static get[_0x558061(0x141)](){const _0xe059c1=_0x558061;return _0xe059c1(0x21f);}['offer'](){const _0x46ee98=_0x558061,_0x13d784={};return this['_options'][_0x46ee98(0x1b9)]&&(_0x13d784[_0x46ee98(0x18b)]=!0x0),this[_0x46ee98(0x100)]['clientNoContextTakeover']&&(_0x13d784[_0x46ee98(0x208)]=!0x0),this['_options'][_0x46ee98(0xd5)]&&(_0x13d784[_0x46ee98(0x18e)]=this[_0x46ee98(0x100)][_0x46ee98(0xd5)]),this[_0x46ee98(0x100)][_0x46ee98(0xbe)]?_0x13d784[_0x46ee98(0x85)]=this[_0x46ee98(0x100)][_0x46ee98(0xbe)]:this[_0x46ee98(0x100)][_0x46ee98(0xbe)]==null&&(_0x13d784['client_max_window_bits']=!0x0),_0x13d784;}[_0x558061(0x156)](_0x2f62bd){const _0x1e5ba0=_0x558061;return _0x2f62bd=this['normalizeParams'](_0x2f62bd),this['params']=this[_0x1e5ba0(0x1c2)]?this[_0x1e5ba0(0x19f)](_0x2f62bd):this[_0x1e5ba0(0x227)](_0x2f62bd),this[_0x1e5ba0(0x166)];}[_0x558061(0x197)](){const _0x4ba4c8=_0x558061;if(this['_inflate']&&(this[_0x4ba4c8(0x1a3)]['close'](),this[_0x4ba4c8(0x1a3)]=null),this[_0x4ba4c8(0xbb)]){const _0x2931b0=this['_deflate'][_0x5c3093];this[_0x4ba4c8(0xbb)]['close'](),this[_0x4ba4c8(0xbb)]=null,_0x2931b0&&_0x2931b0(new Error(_0x4ba4c8(0xff)));}}[_0x558061(0x19f)](_0x44b6af){const _0x35fe19=_0x558061,_0x16e708=this[_0x35fe19(0x100)],_0x22d18a=_0x44b6af[_0x35fe19(0x221)](_0x2b9236=>!(_0x16e708[_0x35fe19(0x1b9)]===!0x1&&_0x2b9236['server_no_context_takeover']||_0x2b9236['server_max_window_bits']&&(_0x16e708[_0x35fe19(0xd5)]===!0x1||typeof _0x16e708[_0x35fe19(0xd5)]==_0x35fe19(0x11f)&&_0x16e708[_0x35fe19(0xd5)]>_0x2b9236['server_max_window_bits'])||typeof _0x16e708[_0x35fe19(0xbe)]==_0x35fe19(0x11f)&&!_0x2b9236['client_max_window_bits']));if(!_0x22d18a)throw new Error(_0x35fe19(0x199));return _0x16e708[_0x35fe19(0x1b9)]&&(_0x22d18a['server_no_context_takeover']=!0x0),_0x16e708[_0x35fe19(0x19d)]&&(_0x22d18a[_0x35fe19(0x208)]=!0x0),typeof _0x16e708['serverMaxWindowBits']=='number'&&(_0x22d18a[_0x35fe19(0x18e)]=_0x16e708['serverMaxWindowBits']),typeof _0x16e708[_0x35fe19(0xbe)]==_0x35fe19(0x11f)?_0x22d18a[_0x35fe19(0x85)]=_0x16e708[_0x35fe19(0xbe)]:(_0x22d18a[_0x35fe19(0x85)]===!0x0||_0x16e708[_0x35fe19(0xbe)]===!0x1)&&delete _0x22d18a['client_max_window_bits'],_0x22d18a;}[_0x558061(0x227)](_0x4465da){const _0x22087=_0x558061,_0x393cf0=_0x4465da[0x0];if(this[_0x22087(0x100)][_0x22087(0x19d)]===!0x1&&_0x393cf0[_0x22087(0x208)])throw new Error('Unexpected\x20parameter\x20\x22client_no_context_takeover\x22');if(!_0x393cf0['client_max_window_bits'])typeof this['_options'][_0x22087(0xbe)]==_0x22087(0x11f)&&(_0x393cf0[_0x22087(0x85)]=this[_0x22087(0x100)][_0x22087(0xbe)]);else{if(this[_0x22087(0x100)]['clientMaxWindowBits']===!0x1||typeof this[_0x22087(0x100)][_0x22087(0xbe)]==_0x22087(0x11f)&&_0x393cf0[_0x22087(0x85)]>this[_0x22087(0x100)][_0x22087(0xbe)])throw new Error(_0x22087(0x1db));}return _0x393cf0;}[_0x558061(0x8e)](_0x2ce733){const _0x596d8e=_0x558061;return _0x2ce733[_0x596d8e(0x11a)](_0x435b6d=>{const _0x3bf221=_0x596d8e;Object[_0x3bf221(0x1b4)](_0x435b6d)['forEach'](_0x4d0a12=>{const _0x35a561=_0x3bf221;let _0x46e5ba=_0x435b6d[_0x4d0a12];if(_0x46e5ba['length']>0x1)throw new Error(_0x35a561(0xf4)+_0x4d0a12+_0x35a561(0x176));if(_0x46e5ba=_0x46e5ba[0x0],_0x4d0a12==='client_max_window_bits'){if(_0x46e5ba!==!0x0){const _0x58a656=+_0x46e5ba;if(!Number[_0x35a561(0x83)](_0x58a656)||_0x58a656<0x8||_0x58a656>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x4d0a12+_0x35a561(0x143)+_0x46e5ba);_0x46e5ba=_0x58a656;}else{if(!this[_0x35a561(0x1c2)])throw new TypeError(_0x35a561(0x17f)+_0x4d0a12+'\x22:\x20'+_0x46e5ba);}}else{if(_0x4d0a12==='server_max_window_bits'){const _0x356405=+_0x46e5ba;if(!Number['isInteger'](_0x356405)||_0x356405<0x8||_0x356405>0xf)throw new TypeError(_0x35a561(0x17f)+_0x4d0a12+_0x35a561(0x143)+_0x46e5ba);_0x46e5ba=_0x356405;}else{if(_0x4d0a12==='client_no_context_takeover'||_0x4d0a12===_0x35a561(0x18b)){if(_0x46e5ba!==!0x0)throw new TypeError(_0x35a561(0x17f)+_0x4d0a12+_0x35a561(0x143)+_0x46e5ba);}else throw new Error(_0x35a561(0x113)+_0x4d0a12+'\x22');}}_0x435b6d[_0x4d0a12]=_0x46e5ba;});}),_0x2ce733;}[_0x558061(0x84)](_0x438c1d,_0x1b13d7,_0x79269d){const _0x459024=_0x558061;_0x616733[_0x459024(0x1c3)](_0x24a936=>{const _0x5a6ac6=_0x459024;this[_0x5a6ac6(0x137)](_0x438c1d,_0x1b13d7,(_0x4c56bf,_0x57ac28)=>{_0x24a936(),_0x79269d(_0x4c56bf,_0x57ac28);});});}['compress'](_0x39fae1,_0x31436b,_0x11b5b3){_0x616733['add'](_0x55476a=>{const _0x379274=_0x1024;this[_0x379274(0x123)](_0x39fae1,_0x31436b,(_0x48bbdc,_0x52095e)=>{_0x55476a(),_0x11b5b3(_0x48bbdc,_0x52095e);});});}[_0x558061(0x137)](_0x55c210,_0x3ba68c,_0x329d1a){const _0x1fb410=_0x558061,_0xcef584=this[_0x1fb410(0x1c2)]?_0x1fb410(0xfd):_0x1fb410(0xbc);if(!this[_0x1fb410(0x1a3)]){const _0x4ee17c=_0xcef584+_0x1fb410(0xfa),_0x138e3a=typeof this['params'][_0x4ee17c]!=_0x1fb410(0x11f)?_0x3ef9f8[_0x1fb410(0x91)]:this['params'][_0x4ee17c];this[_0x1fb410(0x1a3)]=_0x3ef9f8['createInflateRaw']({...this[_0x1fb410(0x100)][_0x1fb410(0xde)],'windowBits':_0x138e3a}),this[_0x1fb410(0x1a3)][_0x255a20]=this,this['_inflate'][_0x2be27b]=0x0,this['_inflate'][_0x41e45a]=[],this['_inflate']['on']('error',_0x20aaed),this['_inflate']['on'](_0x1fb410(0x21b),_0x119d5b);}this['_inflate'][_0x5c3093]=_0x329d1a,this[_0x1fb410(0x1a3)][_0x1fb410(0xec)](_0x55c210),_0x3ba68c&&this['_inflate'][_0x1fb410(0xec)](_0x6d1b5e),this['_inflate'][_0x1fb410(0x1b0)](()=>{const _0x2bc654=_0x1fb410,_0x14d6db=this[_0x2bc654(0x1a3)][_0x1f3823];if(_0x14d6db){this[_0x2bc654(0x1a3)][_0x2bc654(0x196)](),this['_inflate']=null,_0x329d1a(_0x14d6db);return;}const _0x2cac41=_0xb2780e[_0x2bc654(0x1d5)](this[_0x2bc654(0x1a3)][_0x41e45a],this[_0x2bc654(0x1a3)][_0x2be27b]);this[_0x2bc654(0x1a3)]['_readableState'][_0x2bc654(0xf8)]?(this[_0x2bc654(0x1a3)]['close'](),this['_inflate']=null):(this['_inflate'][_0x2be27b]=0x0,this[_0x2bc654(0x1a3)][_0x41e45a]=[],_0x3ba68c&&this[_0x2bc654(0x166)][_0xcef584+_0x2bc654(0xbd)]&&this['_inflate'][_0x2bc654(0xc4)]()),_0x329d1a(null,_0x2cac41);});}['_compress'](_0x259e7d,_0x15e166,_0x3e0e81){const _0x1f30c0=_0x558061,_0x4ba5fa=this[_0x1f30c0(0x1c2)]?_0x1f30c0(0xbc):_0x1f30c0(0xfd);if(!this[_0x1f30c0(0xbb)]){const _0xd0005c=_0x4ba5fa+_0x1f30c0(0xfa),_0x240c8c=typeof this['params'][_0xd0005c]!=_0x1f30c0(0x11f)?_0x3ef9f8[_0x1f30c0(0x91)]:this[_0x1f30c0(0x166)][_0xd0005c];this[_0x1f30c0(0xbb)]=_0x3ef9f8[_0x1f30c0(0x164)]({...this['_options'][_0x1f30c0(0x1d7)],'windowBits':_0x240c8c}),this['_deflate'][_0x2be27b]=0x0,this['_deflate'][_0x41e45a]=[],this[_0x1f30c0(0xbb)]['on']('data',_0xa810d7);}this[_0x1f30c0(0xbb)][_0x5c3093]=_0x3e0e81,this[_0x1f30c0(0xbb)][_0x1f30c0(0xec)](_0x259e7d),this[_0x1f30c0(0xbb)][_0x1f30c0(0x1b0)](_0x3ef9f8[_0x1f30c0(0x1f0)],()=>{const _0x4dff53=_0x1f30c0;if(!this['_deflate'])return;let _0x1c7b20=_0xb2780e[_0x4dff53(0x1d5)](this[_0x4dff53(0xbb)][_0x41e45a],this['_deflate'][_0x2be27b]);_0x15e166&&(_0x1c7b20=new _0x33c4f4(_0x1c7b20[_0x4dff53(0x1a2)],_0x1c7b20['byteOffset'],_0x1c7b20[_0x4dff53(0x14a)]-0x4)),this['_deflate'][_0x5c3093]=null,this['_deflate'][_0x2be27b]=0x0,this[_0x4dff53(0xbb)][_0x41e45a]=[],_0x15e166&&this[_0x4dff53(0x166)][_0x4ba5fa+_0x4dff53(0xbd)]&&this['_deflate'][_0x4dff53(0xc4)](),_0x3e0e81(null,_0x1c7b20);});}}ve=_0x115f70;function _0xa810d7(_0x2ca7a7){const _0x4f7dd3=_0x558061;this[_0x41e45a][_0x4f7dd3(0x13a)](_0x2ca7a7),this[_0x2be27b]+=_0x2ca7a7['length'];}function _0x119d5b(_0x4b463e){const _0x3ca5a8=_0x558061;if(this[_0x2be27b]+=_0x4b463e[_0x3ca5a8(0x14a)],this[_0x255a20][_0x3ca5a8(0x115)]<0x1||this[_0x2be27b]<=this[_0x255a20]['_maxPayload']){this[_0x41e45a][_0x3ca5a8(0x13a)](_0x4b463e);return;}this[_0x1f3823]=new RangeError(_0x3ca5a8(0xd7)),this[_0x1f3823][_0x3ca5a8(0x11c)]=_0x3ca5a8(0x1df),this[_0x1f3823][_0xe6520d]=0x3f1,this[_0x3ca5a8(0x1ae)]('data',_0x119d5b),this['reset']();}function _0x20aaed(_0xb55caa){this[_0x255a20]['_inflate']=null,_0xb55caa[_0xe6520d]=0x3ef,this[_0x5c3093](_0xb55caa);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x5befdd(0x129)](Object[_0x5befdd(0x1ac)]({'__proto__':null,'default':Ht},Symbol[_0x5befdd(0x8a)],{'value':_0x5befdd(0x187)})),Yt=ut(zt);var Qe;function ne(){const _0x549267=_0x5befdd;if(Qe)return re['exports'];Qe=0x1;const {isUtf8:_0x552602}=_0x4dc14d,{hasBlob:_0x2f2f36}=V(),_0x3ddeab=[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 _0x20e125(_0x44e3a3){return _0x44e3a3>=0x3e8&&_0x44e3a3<=0x3f6&&_0x44e3a3!==0x3ec&&_0x44e3a3!==0x3ed&&_0x44e3a3!==0x3ee||_0x44e3a3>=0xbb8&&_0x44e3a3<=0x1387;}function _0x9365dc(_0x11ea52){const _0x530793=_0x11ea52['length'];let _0x5b8871=0x0;for(;_0x5b8871<_0x530793;)if((_0x11ea52[_0x5b8871]&0x80)===0x0)_0x5b8871++;else{if((_0x11ea52[_0x5b8871]&0xe0)===0xc0){if(_0x5b8871+0x1===_0x530793||(_0x11ea52[_0x5b8871+0x1]&0xc0)!==0x80||(_0x11ea52[_0x5b8871]&0xfe)===0xc0)return!0x1;_0x5b8871+=0x2;}else{if((_0x11ea52[_0x5b8871]&0xf0)===0xe0){if(_0x5b8871+0x2>=_0x530793||(_0x11ea52[_0x5b8871+0x1]&0xc0)!==0x80||(_0x11ea52[_0x5b8871+0x2]&0xc0)!==0x80||_0x11ea52[_0x5b8871]===0xe0&&(_0x11ea52[_0x5b8871+0x1]&0xe0)===0x80||_0x11ea52[_0x5b8871]===0xed&&(_0x11ea52[_0x5b8871+0x1]&0xe0)===0xa0)return!0x1;_0x5b8871+=0x3;}else{if((_0x11ea52[_0x5b8871]&0xf8)===0xf0){if(_0x5b8871+0x3>=_0x530793||(_0x11ea52[_0x5b8871+0x1]&0xc0)!==0x80||(_0x11ea52[_0x5b8871+0x2]&0xc0)!==0x80||(_0x11ea52[_0x5b8871+0x3]&0xc0)!==0x80||_0x11ea52[_0x5b8871]===0xf0&&(_0x11ea52[_0x5b8871+0x1]&0xf0)===0x80||_0x11ea52[_0x5b8871]===0xf4&&_0x11ea52[_0x5b8871+0x1]>0x8f||_0x11ea52[_0x5b8871]>0xf4)return!0x1;_0x5b8871+=0x4;}else return!0x1;}}}return!0x0;}function _0x3a21a6(_0x3e5b37){const _0x582492=_0x1024;return _0x2f2f36&&typeof _0x3e5b37==_0x582492(0x124)&&typeof _0x3e5b37[_0x582492(0x1a0)]==_0x582492(0x120)&&typeof _0x3e5b37[_0x582492(0x1ba)]==_0x582492(0x204)&&typeof _0x3e5b37[_0x582492(0x110)]==_0x582492(0x120)&&(_0x3e5b37[Symbol[_0x582492(0x8a)]]===_0x582492(0xe0)||_0x3e5b37[Symbol[_0x582492(0x8a)]]===_0x582492(0x168));}if(re[_0x549267(0x13d)]={'isBlob':_0x3a21a6,'isValidStatusCode':_0x20e125,'isValidUTF8':_0x9365dc,'tokenChars':_0x3ddeab},_0x552602)re['exports'][_0x549267(0xf1)]=function(_0x41a788){return _0x41a788['length']<0x18?_0x9365dc(_0x41a788):_0x552602(_0x41a788);};else{if(!process[_0x549267(0x80)][_0x549267(0x17d)])try{const _0x43daf2=Yt;re[_0x549267(0x13d)]['isValidUTF8']=function(_0x142b81){return _0x142b81['length']<0x20?_0x9365dc(_0x142b81):_0x43daf2(_0x142b81);};}catch{}}return re['exports'];}var Se,Je;function dt(){const _0xa91205=_0x5befdd;if(Je)return Se;Je=0x1;const {Writable:_0x2578a3}=_0x2a8bf7,_0x1c114f=he(),{BINARY_TYPES:_0x8053d6,EMPTY_BUFFER:_0x49d268,kStatusCode:_0x1d5680,kWebSocket:_0x5eabf9}=V(),{concat:_0x427cbc,toArrayBuffer:_0x581059,unmask:_0x2e5796}=ce(),{isValidStatusCode:_0x480241,isValidUTF8:_0x358ea7}=ne(),_0x389c21=Buffer[Symbol['species']],_0x21da66=0x0,_0x969941=0x1,_0x5a085c=0x2,_0x2acb48=0x3,_0x1d4687=0x4,_0x4de6f2=0x5,_0x1fd41f=0x6;class _0x3943f0 extends _0x2578a3{constructor(_0x1c72c5={}){const _0x1e6c14=_0x1024;super(),this[_0x1e6c14(0x189)]=_0x1c72c5['allowSynchronousEvents']!==void 0x0?_0x1c72c5['allowSynchronousEvents']:!0x0,this[_0x1e6c14(0x20c)]=_0x1c72c5['binaryType']||_0x8053d6[0x0],this[_0x1e6c14(0x13f)]=_0x1c72c5[_0x1e6c14(0x183)]||{},this[_0x1e6c14(0x1c2)]=!!_0x1c72c5['isServer'],this[_0x1e6c14(0x115)]=_0x1c72c5[_0x1e6c14(0x1e5)]|0x0,this[_0x1e6c14(0x1e2)]=!!_0x1c72c5['skipUTF8Validation'],this[_0x5eabf9]=void 0x0,this['_bufferedBytes']=0x0,this['_buffers']=[],this[_0x1e6c14(0x215)]=!0x1,this['_payloadLength']=0x0,this[_0x1e6c14(0x1c1)]=void 0x0,this['_fragmented']=0x0,this[_0x1e6c14(0x130)]=!0x1,this[_0x1e6c14(0xdb)]=!0x1,this[_0x1e6c14(0x171)]=0x0,this[_0x1e6c14(0x17c)]=0x0,this[_0x1e6c14(0x18f)]=0x0,this[_0x1e6c14(0x19a)]=[],this[_0x1e6c14(0x104)]=!0x1,this['_loop']=!0x1,this['_state']=_0x21da66;}[_0xa91205(0x165)](_0x40ad0c,_0x384c25,_0x50b747){const _0x45b637=_0xa91205;if(this[_0x45b637(0x171)]===0x8&&this[_0x45b637(0xaf)]==_0x21da66)return _0x50b747();this[_0x45b637(0x172)]+=_0x40ad0c[_0x45b637(0x14a)],this['_buffers'][_0x45b637(0x13a)](_0x40ad0c),this[_0x45b637(0x20b)](_0x50b747);}[_0xa91205(0x19b)](_0x16529f){const _0xabd621=_0xa91205;if(this[_0xabd621(0x172)]-=_0x16529f,_0x16529f===this[_0xabd621(0x191)][0x0][_0xabd621(0x14a)])return this['_buffers'][_0xabd621(0xad)]();if(_0x16529f<this['_buffers'][0x0][_0xabd621(0x14a)]){const _0x5d0581=this[_0xabd621(0x191)][0x0];return this[_0xabd621(0x191)][0x0]=new _0x389c21(_0x5d0581[_0xabd621(0x1a2)],_0x5d0581['byteOffset']+_0x16529f,_0x5d0581[_0xabd621(0x14a)]-_0x16529f),new _0x389c21(_0x5d0581[_0xabd621(0x1a2)],_0x5d0581[_0xabd621(0x193)],_0x16529f);}const _0x46892e=Buffer['allocUnsafe'](_0x16529f);do{const _0x40ae02=this[_0xabd621(0x191)][0x0],_0x42f6e4=_0x46892e[_0xabd621(0x14a)]-_0x16529f;_0x16529f>=_0x40ae02[_0xabd621(0x14a)]?_0x46892e[_0xabd621(0xdd)](this['_buffers']['shift'](),_0x42f6e4):(_0x46892e[_0xabd621(0xdd)](new Uint8Array(_0x40ae02[_0xabd621(0x1a2)],_0x40ae02['byteOffset'],_0x16529f),_0x42f6e4),this['_buffers'][0x0]=new _0x389c21(_0x40ae02[_0xabd621(0x1a2)],_0x40ae02[_0xabd621(0x193)]+_0x16529f,_0x40ae02[_0xabd621(0x14a)]-_0x16529f)),_0x16529f-=_0x40ae02[_0xabd621(0x14a)];}while(_0x16529f>0x0);return _0x46892e;}[_0xa91205(0x20b)](_0x2a7b0f){const _0x1ba60b=_0xa91205;this[_0x1ba60b(0x11b)]=!0x0;do switch(this['_state']){case _0x21da66:this[_0x1ba60b(0x209)](_0x2a7b0f);break;case _0x969941:this[_0x1ba60b(0x128)](_0x2a7b0f);break;case _0x5a085c:this[_0x1ba60b(0x139)](_0x2a7b0f);break;case _0x2acb48:this[_0x1ba60b(0x160)]();break;case _0x1d4687:this[_0x1ba60b(0xe2)](_0x2a7b0f);break;case _0x4de6f2:case _0x1fd41f:this[_0x1ba60b(0x11b)]=!0x1;return;}while(this['_loop']);this['_errored']||_0x2a7b0f();}[_0xa91205(0x209)](_0x192fb7){const _0x486088=_0xa91205;if(this[_0x486088(0x172)]<0x2){this['_loop']=!0x1;return;}const _0x1a5391=this[_0x486088(0x19b)](0x2);if((_0x1a5391[0x0]&0x30)!==0x0){const _0x53e838=this['createError'](RangeError,_0x486088(0x1a6),!0x0,0x3ea,_0x486088(0xab));_0x192fb7(_0x53e838);return;}const _0x55c22e=(_0x1a5391[0x0]&0x40)===0x40;if(_0x55c22e&&!this['_extensions'][_0x1c114f['extensionName']]){const _0x2a5857=this[_0x486088(0x1bb)](RangeError,_0x486088(0x1a9),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x192fb7(_0x2a5857);return;}if(this[_0x486088(0xdb)]=(_0x1a5391[0x0]&0x80)===0x80,this[_0x486088(0x171)]=_0x1a5391[0x0]&0xf,this[_0x486088(0x15f)]=_0x1a5391[0x1]&0x7f,this['_opcode']===0x0){if(_0x55c22e){const _0x5ee0c8=this[_0x486088(0x1bb)](RangeError,_0x486088(0x1a9),!0x0,0x3ea,_0x486088(0x12a));_0x192fb7(_0x5ee0c8);return;}if(!this[_0x486088(0x22f)]){const _0x208a06=this['createError'](RangeError,'invalid\x20opcode\x200',!0x0,0x3ea,_0x486088(0x1ee));_0x192fb7(_0x208a06);return;}this['_opcode']=this[_0x486088(0x22f)];}else{if(this[_0x486088(0x171)]===0x1||this[_0x486088(0x171)]===0x2){if(this[_0x486088(0x22f)]){const _0x24f082=this[_0x486088(0x1bb)](RangeError,_0x486088(0x1cd)+this[_0x486088(0x171)],!0x0,0x3ea,_0x486088(0x1ee));_0x192fb7(_0x24f082);return;}this[_0x486088(0x215)]=_0x55c22e;}else{if(this[_0x486088(0x171)]>0x7&&this[_0x486088(0x171)]<0xb){if(!this['_fin']){const _0x1d11d2=this[_0x486088(0x1bb)](RangeError,'FIN\x20must\x20be\x20set',!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0x192fb7(_0x1d11d2);return;}if(_0x55c22e){const _0x3988fe=this[_0x486088(0x1bb)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x486088(0x12a));_0x192fb7(_0x3988fe);return;}if(this[_0x486088(0x15f)]>0x7d||this['_opcode']===0x8&&this['_payloadLength']===0x1){const _0xbe13de=this[_0x486088(0x1bb)](RangeError,_0x486088(0x22a)+this[_0x486088(0x15f)],!0x0,0x3ea,'WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH');_0x192fb7(_0xbe13de);return;}}else{const _0x3de3cc=this[_0x486088(0x1bb)](RangeError,_0x486088(0x1cd)+this['_opcode'],!0x0,0x3ea,_0x486088(0x1ee));_0x192fb7(_0x3de3cc);return;}}}if(!this['_fin']&&!this['_fragmented']&&(this['_fragmented']=this[_0x486088(0x171)]),this[_0x486088(0x130)]=(_0x1a5391[0x1]&0x80)===0x80,this[_0x486088(0x1c2)]){if(!this[_0x486088(0x130)]){const _0x3b8a3=this[_0x486088(0x1bb)](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,_0x486088(0x131));_0x192fb7(_0x3b8a3);return;}}else{if(this[_0x486088(0x130)]){const _0xbe8c1b=this[_0x486088(0x1bb)](RangeError,_0x486088(0xc2),!0x0,0x3ea,_0x486088(0x1c7));_0x192fb7(_0xbe8c1b);return;}}this[_0x486088(0x15f)]===0x7e?this[_0x486088(0xaf)]=_0x969941:this[_0x486088(0x15f)]===0x7f?this[_0x486088(0xaf)]=_0x5a085c:this[_0x486088(0x22e)](_0x192fb7);}['getPayloadLength16'](_0x5a7518){const _0x2a2420=_0xa91205;if(this[_0x2a2420(0x172)]<0x2){this[_0x2a2420(0x11b)]=!0x1;return;}this[_0x2a2420(0x15f)]=this[_0x2a2420(0x19b)](0x2)[_0x2a2420(0x224)](0x0),this[_0x2a2420(0x22e)](_0x5a7518);}[_0xa91205(0x139)](_0x1eeb71){const _0x439085=_0xa91205;if(this[_0x439085(0x172)]<0x8){this[_0x439085(0x11b)]=!0x1;return;}const _0x54c110=this['consume'](0x8),_0x166e84=_0x54c110['readUInt32BE'](0x0);if(_0x166e84>Math[_0x439085(0x112)](0x2,0x15)-0x1){const _0x3f22ad=this[_0x439085(0x1bb)](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,_0x439085(0xb0));_0x1eeb71(_0x3f22ad);return;}this[_0x439085(0x15f)]=_0x166e84*Math[_0x439085(0x112)](0x2,0x20)+_0x54c110[_0x439085(0x1ec)](0x4),this[_0x439085(0x22e)](_0x1eeb71);}[_0xa91205(0x22e)](_0x5031f4){const _0x5bde4c=_0xa91205;if(this[_0x5bde4c(0x15f)]&&this['_opcode']<0x8&&(this[_0x5bde4c(0x17c)]+=this[_0x5bde4c(0x15f)],this[_0x5bde4c(0x17c)]>this['_maxPayload']&&this[_0x5bde4c(0x115)]>0x0)){const _0x2226f2=this[_0x5bde4c(0x1bb)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x5bde4c(0x1df));_0x5031f4(_0x2226f2);return;}this[_0x5bde4c(0x130)]?this[_0x5bde4c(0xaf)]=_0x2acb48:this[_0x5bde4c(0xaf)]=_0x1d4687;}[_0xa91205(0x160)](){const _0x37c397=_0xa91205;if(this[_0x37c397(0x172)]<0x4){this[_0x37c397(0x11b)]=!0x1;return;}this['_mask']=this[_0x37c397(0x19b)](0x4),this[_0x37c397(0xaf)]=_0x1d4687;}[_0xa91205(0xe2)](_0x1e503c){const _0x5982d5=_0xa91205;let _0x55dd1e=_0x49d268;if(this[_0x5982d5(0x15f)]){if(this[_0x5982d5(0x172)]<this['_payloadLength']){this[_0x5982d5(0x11b)]=!0x1;return;}_0x55dd1e=this[_0x5982d5(0x19b)](this[_0x5982d5(0x15f)]),this['_masked']&&(this['_mask'][0x0]|this['_mask'][0x1]|this[_0x5982d5(0x1c1)][0x2]|this[_0x5982d5(0x1c1)][0x3])!==0x0&&_0x2e5796(_0x55dd1e,this['_mask']);}if(this[_0x5982d5(0x171)]>0x7){this[_0x5982d5(0x158)](_0x55dd1e,_0x1e503c);return;}if(this[_0x5982d5(0x215)]){this['_state']=_0x4de6f2,this[_0x5982d5(0x84)](_0x55dd1e,_0x1e503c);return;}_0x55dd1e[_0x5982d5(0x14a)]&&(this[_0x5982d5(0x18f)]=this[_0x5982d5(0x17c)],this[_0x5982d5(0x19a)][_0x5982d5(0x13a)](_0x55dd1e)),this[_0x5982d5(0x14f)](_0x1e503c);}[_0xa91205(0x84)](_0x42eb92,_0x560056){const _0x137466=_0xa91205;this[_0x137466(0x13f)][_0x1c114f[_0x137466(0x141)]][_0x137466(0x84)](_0x42eb92,this[_0x137466(0xdb)],(_0x527282,_0xfe65c4)=>{const _0x5d5554=_0x137466;if(_0x527282)return _0x560056(_0x527282);if(_0xfe65c4[_0x5d5554(0x14a)]){if(this['_messageLength']+=_0xfe65c4['length'],this[_0x5d5554(0x18f)]>this['_maxPayload']&&this[_0x5d5554(0x115)]>0x0){const _0x421f16=this[_0x5d5554(0x1bb)](RangeError,_0x5d5554(0xd7),!0x1,0x3f1,_0x5d5554(0x1df));_0x560056(_0x421f16);return;}this[_0x5d5554(0x19a)][_0x5d5554(0x13a)](_0xfe65c4);}this[_0x5d5554(0x14f)](_0x560056),this[_0x5d5554(0xaf)]===_0x21da66&&this[_0x5d5554(0x20b)](_0x560056);});}[_0xa91205(0x14f)](_0x326c1b){const _0x35e493=_0xa91205;if(!this[_0x35e493(0xdb)]){this[_0x35e493(0xaf)]=_0x21da66;return;}const _0x449e6d=this['_messageLength'],_0x441f20=this[_0x35e493(0x19a)];if(this['_totalPayloadLength']=0x0,this[_0x35e493(0x18f)]=0x0,this['_fragmented']=0x0,this[_0x35e493(0x19a)]=[],this['_opcode']===0x2){let _0x5b839e;this[_0x35e493(0x20c)]===_0x35e493(0xf9)?_0x5b839e=_0x427cbc(_0x441f20,_0x449e6d):this[_0x35e493(0x20c)]===_0x35e493(0xcd)?_0x5b839e=_0x581059(_0x427cbc(_0x441f20,_0x449e6d)):this['_binaryType']===_0x35e493(0x1ea)?_0x5b839e=new Blob(_0x441f20):_0x5b839e=_0x441f20,this['_allowSynchronousEvents']?(this[_0x35e493(0x205)](_0x35e493(0xa9),_0x5b839e,!0x0),this[_0x35e493(0xaf)]=_0x21da66):(this[_0x35e493(0xaf)]=_0x1fd41f,setImmediate(()=>{const _0x2ed107=_0x35e493;this['emit'](_0x2ed107(0xa9),_0x5b839e,!0x0),this[_0x2ed107(0xaf)]=_0x21da66,this[_0x2ed107(0x20b)](_0x326c1b);}));}else{const _0x617b42=_0x427cbc(_0x441f20,_0x449e6d);if(!this[_0x35e493(0x1e2)]&&!_0x358ea7(_0x617b42)){const _0xd0cff3=this['createError'](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x35e493(0x178));_0x326c1b(_0xd0cff3);return;}this[_0x35e493(0xaf)]===_0x4de6f2||this[_0x35e493(0x189)]?(this[_0x35e493(0x205)](_0x35e493(0xa9),_0x617b42,!0x1),this[_0x35e493(0xaf)]=_0x21da66):(this[_0x35e493(0xaf)]=_0x1fd41f,setImmediate(()=>{const _0x573273=_0x35e493;this['emit'](_0x573273(0xa9),_0x617b42,!0x1),this[_0x573273(0xaf)]=_0x21da66,this[_0x573273(0x20b)](_0x326c1b);}));}}['controlMessage'](_0x5a281c,_0x585627){const _0x2d3e5e=_0xa91205;if(this[_0x2d3e5e(0x171)]===0x8){if(_0x5a281c['length']===0x0)this['_loop']=!0x1,this[_0x2d3e5e(0x205)](_0x2d3e5e(0x10f),0x3ed,_0x49d268),this[_0x2d3e5e(0xa1)]();else{const _0x5a3770=_0x5a281c[_0x2d3e5e(0x224)](0x0);if(!_0x480241(_0x5a3770)){const _0x1c2947=this[_0x2d3e5e(0x1bb)](RangeError,_0x2d3e5e(0xb5)+_0x5a3770,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0x585627(_0x1c2947);return;}const _0x1e7f93=new _0x389c21(_0x5a281c['buffer'],_0x5a281c[_0x2d3e5e(0x193)]+0x2,_0x5a281c[_0x2d3e5e(0x14a)]-0x2);if(!this['_skipUTF8Validation']&&!_0x358ea7(_0x1e7f93)){const _0x340ed7=this[_0x2d3e5e(0x1bb)](Error,_0x2d3e5e(0x226),!0x0,0x3ef,_0x2d3e5e(0x178));_0x585627(_0x340ed7);return;}this[_0x2d3e5e(0x11b)]=!0x1,this[_0x2d3e5e(0x205)](_0x2d3e5e(0x10f),_0x5a3770,_0x1e7f93),this[_0x2d3e5e(0xa1)]();}this[_0x2d3e5e(0xaf)]=_0x21da66;return;}this['_allowSynchronousEvents']?(this[_0x2d3e5e(0x205)](this[_0x2d3e5e(0x171)]===0x9?_0x2d3e5e(0x1eb):_0x2d3e5e(0x220),_0x5a281c),this[_0x2d3e5e(0xaf)]=_0x21da66):(this['_state']=_0x1fd41f,setImmediate(()=>{const _0x1694d7=_0x2d3e5e;this['emit'](this[_0x1694d7(0x171)]===0x9?_0x1694d7(0x1eb):'pong',_0x5a281c),this[_0x1694d7(0xaf)]=_0x21da66,this[_0x1694d7(0x20b)](_0x585627);}));}['createError'](_0x4f565f,_0x374c0e,_0x156da8,_0x371266,_0x4c59d3){const _0x564ca8=_0xa91205;this[_0x564ca8(0x11b)]=!0x1,this[_0x564ca8(0x104)]=!0x0;const _0xa6f2dd=new _0x4f565f(_0x156da8?_0x564ca8(0x225)+_0x374c0e:_0x374c0e);return Error[_0x564ca8(0x21e)](_0xa6f2dd,this[_0x564ca8(0x1bb)]),_0xa6f2dd[_0x564ca8(0x11c)]=_0x4c59d3,_0xa6f2dd[_0x1d5680]=_0x371266,_0xa6f2dd;}}return Se=_0x3943f0,Se;}var Ee,et;function _t(){const _0x4ed6fe=_0x5befdd;if(et)return Ee;et=0x1;const {Duplex:_0x38ae49}=_0x2a8bf7,{randomFillSync:_0x393a65}=_0x4d7578,_0x54d28=he(),{EMPTY_BUFFER:_0x370e54,kWebSocket:_0x42b11b,NOOP:_0x562948}=V(),{isBlob:_0x5b4166,isValidStatusCode:_0x940fb8}=ne(),{mask:_0x558768,toBuffer:_0xb755d9}=ce(),_0x5407c7=Symbol(_0x4ed6fe(0xe9)),_0x496be6=Buffer[_0x4ed6fe(0x153)](0x4),_0x2b7f1b=0x8*0x400;let _0x155c5d,_0x312396=_0x2b7f1b;const _0x39580b=0x0,_0x5153d9=0x1,_0x50b553=0x2;class _0x2f37ec{constructor(_0x1ec816,_0x202044,_0x1a354f){const _0x307636=_0x4ed6fe;this['_extensions']=_0x202044||{},_0x1a354f&&(this[_0x307636(0x9d)]=_0x1a354f,this[_0x307636(0x19e)]=Buffer[_0x307636(0x153)](0x4)),this[_0x307636(0x111)]=_0x1ec816,this[_0x307636(0x13e)]=!0x0,this[_0x307636(0x123)]=!0x1,this[_0x307636(0x172)]=0x0,this[_0x307636(0x1bd)]=[],this['_state']=_0x39580b,this[_0x307636(0x1dc)]=_0x562948,this[_0x42b11b]=void 0x0;}static[_0x4ed6fe(0x1a5)](_0x1416c9,_0x41e902){const _0x3bef53=_0x4ed6fe;let _0x520c02,_0xbd94f=!0x1,_0x43de13=0x2,_0x4361d5=!0x1;_0x41e902['mask']&&(_0x520c02=_0x41e902[_0x3bef53(0x134)]||_0x496be6,_0x41e902[_0x3bef53(0x22c)]?_0x41e902['generateMask'](_0x520c02):(_0x312396===_0x2b7f1b&&(_0x155c5d===void 0x0&&(_0x155c5d=Buffer[_0x3bef53(0x153)](_0x2b7f1b)),_0x393a65(_0x155c5d,0x0,_0x2b7f1b),_0x312396=0x0),_0x520c02[0x0]=_0x155c5d[_0x312396++],_0x520c02[0x1]=_0x155c5d[_0x312396++],_0x520c02[0x2]=_0x155c5d[_0x312396++],_0x520c02[0x3]=_0x155c5d[_0x312396++]),_0x4361d5=(_0x520c02[0x0]|_0x520c02[0x1]|_0x520c02[0x2]|_0x520c02[0x3])===0x0,_0x43de13=0x6);let _0x5bf750;typeof _0x1416c9==_0x3bef53(0x204)?(!_0x41e902[_0x3bef53(0x157)]||_0x4361d5)&&_0x41e902[_0x5407c7]!==void 0x0?_0x5bf750=_0x41e902[_0x5407c7]:(_0x1416c9=Buffer[_0x3bef53(0xa0)](_0x1416c9),_0x5bf750=_0x1416c9['length']):(_0x5bf750=_0x1416c9[_0x3bef53(0x14a)],_0xbd94f=_0x41e902[_0x3bef53(0x157)]&&_0x41e902[_0x3bef53(0x117)]&&!_0x4361d5);let _0x5de559=_0x5bf750;_0x5bf750>=0x10000?(_0x43de13+=0x8,_0x5de559=0x7f):_0x5bf750>0x7d&&(_0x43de13+=0x2,_0x5de559=0x7e);const _0x4020b5=Buffer[_0x3bef53(0x194)](_0xbd94f?_0x5bf750+_0x43de13:_0x43de13);return _0x4020b5[0x0]=_0x41e902[_0x3bef53(0x97)]?_0x41e902[_0x3bef53(0xd2)]|0x80:_0x41e902['opcode'],_0x41e902[_0x3bef53(0x214)]&&(_0x4020b5[0x0]|=0x40),_0x4020b5[0x1]=_0x5de559,_0x5de559===0x7e?_0x4020b5['writeUInt16BE'](_0x5bf750,0x2):_0x5de559===0x7f&&(_0x4020b5[0x2]=_0x4020b5[0x3]=0x0,_0x4020b5['writeUIntBE'](_0x5bf750,0x4,0x6)),_0x41e902[_0x3bef53(0x157)]?(_0x4020b5[0x1]|=0x80,_0x4020b5[_0x43de13-0x4]=_0x520c02[0x0],_0x4020b5[_0x43de13-0x3]=_0x520c02[0x1],_0x4020b5[_0x43de13-0x2]=_0x520c02[0x2],_0x4020b5[_0x43de13-0x1]=_0x520c02[0x3],_0x4361d5?[_0x4020b5,_0x1416c9]:_0xbd94f?(_0x558768(_0x1416c9,_0x520c02,_0x4020b5,_0x43de13,_0x5bf750),[_0x4020b5]):(_0x558768(_0x1416c9,_0x520c02,_0x1416c9,0x0,_0x5bf750),[_0x4020b5,_0x1416c9])):[_0x4020b5,_0x1416c9];}['close'](_0x42912d,_0x138a1f,_0x73a25d,_0x42c8f5){const _0xf155b3=_0x4ed6fe;let _0x2990ea;if(_0x42912d===void 0x0)_0x2990ea=_0x370e54;else{if(typeof _0x42912d!=_0xf155b3(0x11f)||!_0x940fb8(_0x42912d))throw new TypeError('First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number');if(_0x138a1f===void 0x0||!_0x138a1f[_0xf155b3(0x14a)])_0x2990ea=Buffer[_0xf155b3(0x194)](0x2),_0x2990ea[_0xf155b3(0x118)](_0x42912d,0x0);else{const _0x5ea021=Buffer[_0xf155b3(0xb6)](_0x138a1f);if(_0x5ea021>0x7b)throw new RangeError(_0xf155b3(0xa3));_0x2990ea=Buffer['allocUnsafe'](0x2+_0x5ea021),_0x2990ea['writeUInt16BE'](_0x42912d,0x0),typeof _0x138a1f=='string'?_0x2990ea['write'](_0x138a1f,0x2):_0x2990ea['set'](_0x138a1f,0x2);}}const _0x5831a7={[_0x5407c7]:_0x2990ea['length'],'fin':!0x0,'generateMask':this[_0xf155b3(0x9d)],'mask':_0x73a25d,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this['_state']!==_0x39580b?this[_0xf155b3(0x1f5)]([this[_0xf155b3(0x1be)],_0x2990ea,!0x1,_0x5831a7,_0x42c8f5]):this[_0xf155b3(0x17e)](_0x2f37ec[_0xf155b3(0x1a5)](_0x2990ea,_0x5831a7),_0x42c8f5);}['ping'](_0x51aad6,_0x320537,_0x65e93e){const _0x4e8eeb=_0x4ed6fe;let _0x1d6ba1,_0xa3ef21;if(typeof _0x51aad6==_0x4e8eeb(0x204)?(_0x1d6ba1=Buffer['byteLength'](_0x51aad6),_0xa3ef21=!0x1):_0x5b4166(_0x51aad6)?(_0x1d6ba1=_0x51aad6['size'],_0xa3ef21=!0x1):(_0x51aad6=_0xb755d9(_0x51aad6),_0x1d6ba1=_0x51aad6[_0x4e8eeb(0x14a)],_0xa3ef21=_0xb755d9['readOnly']),_0x1d6ba1>0x7d)throw new RangeError(_0x4e8eeb(0x1fa));const _0x4639d3={[_0x5407c7]:_0x1d6ba1,'fin':!0x0,'generateMask':this[_0x4e8eeb(0x9d)],'mask':_0x320537,'maskBuffer':this['_maskBuffer'],'opcode':0x9,'readOnly':_0xa3ef21,'rsv1':!0x1};_0x5b4166(_0x51aad6)?this['_state']!==_0x39580b?this['enqueue']([this[_0x4e8eeb(0xc7)],_0x51aad6,!0x1,_0x4639d3,_0x65e93e]):this[_0x4e8eeb(0xc7)](_0x51aad6,!0x1,_0x4639d3,_0x65e93e):this[_0x4e8eeb(0xaf)]!==_0x39580b?this['enqueue']([this[_0x4e8eeb(0x1be)],_0x51aad6,!0x1,_0x4639d3,_0x65e93e]):this['sendFrame'](_0x2f37ec['frame'](_0x51aad6,_0x4639d3),_0x65e93e);}[_0x4ed6fe(0x220)](_0x5673c6,_0x405249,_0x41d83e){const _0x4dd081=_0x4ed6fe;let _0x11c63e,_0x5d073b;if(typeof _0x5673c6=='string'?(_0x11c63e=Buffer['byteLength'](_0x5673c6),_0x5d073b=!0x1):_0x5b4166(_0x5673c6)?(_0x11c63e=_0x5673c6[_0x4dd081(0x1b3)],_0x5d073b=!0x1):(_0x5673c6=_0xb755d9(_0x5673c6),_0x11c63e=_0x5673c6[_0x4dd081(0x14a)],_0x5d073b=_0xb755d9[_0x4dd081(0x117)]),_0x11c63e>0x7d)throw new RangeError(_0x4dd081(0x1fa));const _0x57375f={[_0x5407c7]:_0x11c63e,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x405249,'maskBuffer':this[_0x4dd081(0x19e)],'opcode':0xa,'readOnly':_0x5d073b,'rsv1':!0x1};_0x5b4166(_0x5673c6)?this[_0x4dd081(0xaf)]!==_0x39580b?this[_0x4dd081(0x1f5)]([this[_0x4dd081(0xc7)],_0x5673c6,!0x1,_0x57375f,_0x41d83e]):this['getBlobData'](_0x5673c6,!0x1,_0x57375f,_0x41d83e):this[_0x4dd081(0xaf)]!==_0x39580b?this[_0x4dd081(0x1f5)]([this[_0x4dd081(0x1be)],_0x5673c6,!0x1,_0x57375f,_0x41d83e]):this[_0x4dd081(0x17e)](_0x2f37ec[_0x4dd081(0x1a5)](_0x5673c6,_0x57375f),_0x41d83e);}[_0x4ed6fe(0x98)](_0x5ce67c,_0x13e229,_0x5824aa){const _0x2b44f8=_0x4ed6fe,_0x91d230=this[_0x2b44f8(0x13f)][_0x54d28[_0x2b44f8(0x141)]];let _0x3fa3ec=_0x13e229['binary']?0x2:0x1,_0x1916e1=_0x13e229['compress'],_0x54bb0e,_0xe68d33;typeof _0x5ce67c==_0x2b44f8(0x204)?(_0x54bb0e=Buffer['byteLength'](_0x5ce67c),_0xe68d33=!0x1):_0x5b4166(_0x5ce67c)?(_0x54bb0e=_0x5ce67c['size'],_0xe68d33=!0x1):(_0x5ce67c=_0xb755d9(_0x5ce67c),_0x54bb0e=_0x5ce67c[_0x2b44f8(0x14a)],_0xe68d33=_0xb755d9[_0x2b44f8(0x117)]),this[_0x2b44f8(0x13e)]?(this[_0x2b44f8(0x13e)]=!0x1,_0x1916e1&&_0x91d230&&_0x91d230[_0x2b44f8(0x166)][_0x91d230[_0x2b44f8(0x1c2)]?_0x2b44f8(0x18b):_0x2b44f8(0x208)]&&(_0x1916e1=_0x54bb0e>=_0x91d230[_0x2b44f8(0xa7)]),this[_0x2b44f8(0x123)]=_0x1916e1):(_0x1916e1=!0x1,_0x3fa3ec=0x0),_0x13e229[_0x2b44f8(0x97)]&&(this[_0x2b44f8(0x13e)]=!0x0);const _0x1c6e5f={[_0x5407c7]:_0x54bb0e,'fin':_0x13e229[_0x2b44f8(0x97)],'generateMask':this[_0x2b44f8(0x9d)],'mask':_0x13e229['mask'],'maskBuffer':this[_0x2b44f8(0x19e)],'opcode':_0x3fa3ec,'readOnly':_0xe68d33,'rsv1':_0x1916e1};_0x5b4166(_0x5ce67c)?this[_0x2b44f8(0xaf)]!==_0x39580b?this[_0x2b44f8(0x1f5)]([this[_0x2b44f8(0xc7)],_0x5ce67c,this[_0x2b44f8(0x123)],_0x1c6e5f,_0x5824aa]):this[_0x2b44f8(0xc7)](_0x5ce67c,this[_0x2b44f8(0x123)],_0x1c6e5f,_0x5824aa):this[_0x2b44f8(0xaf)]!==_0x39580b?this['enqueue']([this[_0x2b44f8(0x1be)],_0x5ce67c,this[_0x2b44f8(0x123)],_0x1c6e5f,_0x5824aa]):this[_0x2b44f8(0x1be)](_0x5ce67c,this[_0x2b44f8(0x123)],_0x1c6e5f,_0x5824aa);}['getBlobData'](_0x38c3ad,_0x39b386,_0x246138,_0x3dc40d){const _0x1436a9=_0x4ed6fe;this[_0x1436a9(0x172)]+=_0x246138[_0x5407c7],this[_0x1436a9(0xaf)]=_0x50b553,_0x38c3ad['arrayBuffer']()[_0x1436a9(0x203)](_0x646761=>{const _0x347648=_0x1436a9;if(this['_socket']['destroyed']){const _0x1cb0bd=new Error(_0x347648(0x206));process[_0x347648(0xd0)](_0x5f28cf,this,_0x1cb0bd,_0x3dc40d);return;}this[_0x347648(0x172)]-=_0x246138[_0x5407c7];const _0x4071af=_0xb755d9(_0x646761);_0x39b386?this['dispatch'](_0x4071af,_0x39b386,_0x246138,_0x3dc40d):(this[_0x347648(0xaf)]=_0x39580b,this[_0x347648(0x17e)](_0x2f37ec['frame'](_0x4071af,_0x246138),_0x3dc40d),this[_0x347648(0x21d)]());})[_0x1436a9(0x1ff)](_0x134fb6=>{const _0x15b419=_0x1436a9;process[_0x15b419(0xd0)](_0x1eb77a,this,_0x134fb6,_0x3dc40d);});}[_0x4ed6fe(0x1be)](_0x30f521,_0x265816,_0x342e93,_0x4ce486){const _0x3edf3c=_0x4ed6fe;if(!_0x265816){this['sendFrame'](_0x2f37ec[_0x3edf3c(0x1a5)](_0x30f521,_0x342e93),_0x4ce486);return;}const _0x5e95d3=this[_0x3edf3c(0x13f)][_0x54d28[_0x3edf3c(0x141)]];this[_0x3edf3c(0x172)]+=_0x342e93[_0x5407c7],this[_0x3edf3c(0xaf)]=_0x5153d9,_0x5e95d3[_0x3edf3c(0x21c)](_0x30f521,_0x342e93[_0x3edf3c(0x97)],(_0x2cfa62,_0x50e422)=>{const _0x28ff3b=_0x3edf3c;if(this[_0x28ff3b(0x111)][_0x28ff3b(0x86)]){const _0x3ab12f=new Error(_0x28ff3b(0x1aa));_0x5f28cf(this,_0x3ab12f,_0x4ce486);return;}this[_0x28ff3b(0x172)]-=_0x342e93[_0x5407c7],this[_0x28ff3b(0xaf)]=_0x39580b,_0x342e93[_0x28ff3b(0x117)]=!0x1,this['sendFrame'](_0x2f37ec[_0x28ff3b(0x1a5)](_0x50e422,_0x342e93),_0x4ce486),this[_0x28ff3b(0x21d)]();});}[_0x4ed6fe(0x21d)](){const _0x5dcd20=_0x4ed6fe;for(;this['_state']===_0x39580b&&this['_queue']['length'];){const _0x422cf6=this['_queue'][_0x5dcd20(0xad)]();this[_0x5dcd20(0x172)]-=_0x422cf6[0x3][_0x5407c7],Reflect[_0x5dcd20(0x16e)](_0x422cf6[0x0],this,_0x422cf6[_0x5dcd20(0x16c)](0x1));}}[_0x4ed6fe(0x1f5)](_0x2dfbda){const _0x36f7ac=_0x4ed6fe;this[_0x36f7ac(0x172)]+=_0x2dfbda[0x3][_0x5407c7],this[_0x36f7ac(0x1bd)][_0x36f7ac(0x13a)](_0x2dfbda);}['sendFrame'](_0x5e2002,_0x48ce59){const _0x589efa=_0x4ed6fe;_0x5e2002[_0x589efa(0x14a)]===0x2?(this['_socket'][_0x589efa(0x1fe)](),this[_0x589efa(0x111)][_0x589efa(0xec)](_0x5e2002[0x0]),this['_socket']['write'](_0x5e2002[0x1],_0x48ce59),this[_0x589efa(0x111)]['uncork']()):this['_socket'][_0x589efa(0xec)](_0x5e2002[0x0],_0x48ce59);}}Ee=_0x2f37ec;function _0x5f28cf(_0x4ca4a2,_0x115fd5,_0x4c13da){const _0x226e09=_0x4ed6fe;typeof _0x4c13da==_0x226e09(0x120)&&_0x4c13da(_0x115fd5);for(let _0x35fa0d=0x0;_0x35fa0d<_0x4ca4a2[_0x226e09(0x1bd)][_0x226e09(0x14a)];_0x35fa0d++){const _0x2a9528=_0x4ca4a2[_0x226e09(0x1bd)][_0x35fa0d],_0x26af72=_0x2a9528[_0x2a9528[_0x226e09(0x14a)]-0x1];typeof _0x26af72==_0x226e09(0x120)&&_0x26af72(_0x115fd5);}}function _0x1eb77a(_0x5d5478,_0x36d7e7,_0x40adc3){const _0x279af3=_0x4ed6fe;_0x5f28cf(_0x5d5478,_0x36d7e7,_0x40adc3),_0x5d5478[_0x279af3(0x1dc)](_0x36d7e7);}return Ee;}var xe,tt;function Kt(){const _0x2587fd=_0x5befdd;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x33911d,kListener:_0x3a57a7}=V(),_0x59e7fd=Symbol(_0x2587fd(0x147)),_0x2f8d1c=Symbol('kData'),_0x59ea3d=Symbol('kError'),_0x1d9861=Symbol(_0x2587fd(0xc5)),_0x2eeaf6=Symbol(_0x2587fd(0x10d)),_0x52ccfb=Symbol(_0x2587fd(0xee)),_0x507f64=Symbol(_0x2587fd(0xcc)),_0x189fbc=Symbol(_0x2587fd(0xda));class _0xd1369e{constructor(_0x5bd1d0){this[_0x52ccfb]=null,this[_0x507f64]=_0x5bd1d0;}get['target'](){return this[_0x52ccfb];}get[_0x2587fd(0x1ba)](){return this[_0x507f64];}}Object[_0x2587fd(0x1ac)](_0xd1369e[_0x2587fd(0x93)],_0x2587fd(0x127),{'enumerable':!0x0}),Object['defineProperty'](_0xd1369e[_0x2587fd(0x93)],_0x2587fd(0x1ba),{'enumerable':!0x0});class _0x2fe4df extends _0xd1369e{constructor(_0x2c60a9,_0x1e8a10={}){const _0x43ae59=_0x2587fd;super(_0x2c60a9),this[_0x59e7fd]=_0x1e8a10['code']===void 0x0?0x0:_0x1e8a10[_0x43ae59(0x11c)],this[_0x2eeaf6]=_0x1e8a10[_0x43ae59(0x1f9)]===void 0x0?'':_0x1e8a10[_0x43ae59(0x1f9)],this[_0x189fbc]=_0x1e8a10[_0x43ae59(0x16a)]===void 0x0?!0x1:_0x1e8a10[_0x43ae59(0x16a)];}get[_0x2587fd(0x11c)](){return this[_0x59e7fd];}get[_0x2587fd(0x1f9)](){return this[_0x2eeaf6];}get['wasClean'](){return this[_0x189fbc];}}Object[_0x2587fd(0x1ac)](_0x2fe4df[_0x2587fd(0x93)],_0x2587fd(0x11c),{'enumerable':!0x0}),Object[_0x2587fd(0x1ac)](_0x2fe4df[_0x2587fd(0x93)],_0x2587fd(0x1f9),{'enumerable':!0x0}),Object[_0x2587fd(0x1ac)](_0x2fe4df['prototype'],_0x2587fd(0x16a),{'enumerable':!0x0});class _0x33116c extends _0xd1369e{constructor(_0x81743a,_0x47e411={}){const _0xa81751=_0x2587fd;super(_0x81743a),this[_0x59ea3d]=_0x47e411[_0xa81751(0x18a)]===void 0x0?null:_0x47e411[_0xa81751(0x18a)],this[_0x1d9861]=_0x47e411[_0xa81751(0xa9)]===void 0x0?'':_0x47e411[_0xa81751(0xa9)];}get['error'](){return this[_0x59ea3d];}get[_0x2587fd(0xa9)](){return this[_0x1d9861];}}Object['defineProperty'](_0x33116c[_0x2587fd(0x93)],'error',{'enumerable':!0x0}),Object['defineProperty'](_0x33116c[_0x2587fd(0x93)],_0x2587fd(0xa9),{'enumerable':!0x0});class _0x80c8b0 extends _0xd1369e{constructor(_0x2829b1,_0x5bd1dc={}){const _0x562555=_0x2587fd;super(_0x2829b1),this[_0x2f8d1c]=_0x5bd1dc[_0x562555(0x21b)]===void 0x0?null:_0x5bd1dc[_0x562555(0x21b)];}get[_0x2587fd(0x21b)](){return this[_0x2f8d1c];}}Object[_0x2587fd(0x1ac)](_0x80c8b0['prototype'],_0x2587fd(0x21b),{'enumerable':!0x0}),xe={'CloseEvent':_0x2fe4df,'ErrorEvent':_0x33116c,'Event':_0xd1369e,'EventTarget':{'addEventListener'(_0x3c0e79,_0x4c5656,_0x2e605c={}){const _0x5bb7ec=_0x2587fd;for(const _0x3366e0 of this['listeners'](_0x3c0e79))if(!_0x2e605c[_0x33911d]&&_0x3366e0[_0x3a57a7]===_0x4c5656&&!_0x3366e0[_0x33911d])return;let _0x15ae3b;if(_0x3c0e79===_0x5bb7ec(0xa9))_0x15ae3b=function(_0x3ab680,_0x379ea0){const _0xe4ca98=_0x5bb7ec,_0x356248=new _0x80c8b0(_0xe4ca98(0xa9),{'data':_0x379ea0?_0x3ab680:_0x3ab680[_0xe4ca98(0x232)]()});_0x356248[_0x52ccfb]=this,_0xd93fc7(_0x4c5656,this,_0x356248);};else{if(_0x3c0e79===_0x5bb7ec(0x196))_0x15ae3b=function(_0x90653a,_0x3a9ea9){const _0x59a0a7=_0x5bb7ec,_0x4f841f=new _0x2fe4df('close',{'code':_0x90653a,'reason':_0x3a9ea9[_0x59a0a7(0x232)](),'wasClean':this['_closeFrameReceived']&&this[_0x59a0a7(0x1b6)]});_0x4f841f[_0x52ccfb]=this,_0xd93fc7(_0x4c5656,this,_0x4f841f);};else{if(_0x3c0e79==='error')_0x15ae3b=function(_0x2ecd95){const _0x513b50=_0x5bb7ec,_0x4ccd61=new _0x33116c(_0x513b50(0x18a),{'error':_0x2ecd95,'message':_0x2ecd95['message']});_0x4ccd61[_0x52ccfb]=this,_0xd93fc7(_0x4c5656,this,_0x4ccd61);};else{if(_0x3c0e79===_0x5bb7ec(0x8c))_0x15ae3b=function(){const _0x157f1c=_0x5bb7ec,_0x3a8934=new _0xd1369e(_0x157f1c(0x8c));_0x3a8934[_0x52ccfb]=this,_0xd93fc7(_0x4c5656,this,_0x3a8934);};else return;}}}_0x15ae3b[_0x33911d]=!!_0x2e605c[_0x33911d],_0x15ae3b[_0x3a57a7]=_0x4c5656,_0x2e605c['once']?this[_0x5bb7ec(0x1d6)](_0x3c0e79,_0x15ae3b):this['on'](_0x3c0e79,_0x15ae3b);},'removeEventListener'(_0x2cfe9a,_0x2d0955){for(const _0x392e49 of this['listeners'](_0x2cfe9a))if(_0x392e49[_0x3a57a7]===_0x2d0955&&!_0x392e49[_0x33911d]){this['removeListener'](_0x2cfe9a,_0x392e49);break;}}},'MessageEvent':_0x80c8b0};function _0xd93fc7(_0x736706,_0x4621a5,_0xb4071f){const _0x4e6737=_0x2587fd;typeof _0x736706==_0x4e6737(0x124)&&_0x736706[_0x4e6737(0xf7)]?_0x736706['handleEvent']['call'](_0x736706,_0xb4071f):_0x736706[_0x4e6737(0x22d)](_0x4621a5,_0xb4071f);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x53310a}=ne();function _0xff34ab(_0x422fe5,_0xe6a608,_0x3fc564){const _0x3f4a58=_0x1024;_0x422fe5[_0xe6a608]===void 0x0?_0x422fe5[_0xe6a608]=[_0x3fc564]:_0x422fe5[_0xe6a608][_0x3f4a58(0x13a)](_0x3fc564);}function _0x2bd1c4(_0x1bbdaa){const _0x25c46e=_0x1024,_0x3d21a1=Object[_0x25c46e(0xb8)](null);let _0x1499ca=Object[_0x25c46e(0xb8)](null),_0x390ab7=!0x1,_0x216ae6=!0x1,_0x36ed50=!0x1,_0x2a4470,_0x4be0b2,_0x3e00a4=-0x1,_0x460a90=-0x1,_0x280edb=-0x1,_0x13aa55=0x0;for(;_0x13aa55<_0x1bbdaa[_0x25c46e(0x14a)];_0x13aa55++)if(_0x460a90=_0x1bbdaa[_0x25c46e(0x136)](_0x13aa55),_0x2a4470===void 0x0){if(_0x280edb===-0x1&&_0x53310a[_0x460a90]===0x1)_0x3e00a4===-0x1&&(_0x3e00a4=_0x13aa55);else{if(_0x13aa55!==0x0&&(_0x460a90===0x20||_0x460a90===0x9))_0x280edb===-0x1&&_0x3e00a4!==-0x1&&(_0x280edb=_0x13aa55);else{if(_0x460a90===0x3b||_0x460a90===0x2c){if(_0x3e00a4===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x13aa55);_0x280edb===-0x1&&(_0x280edb=_0x13aa55);const _0xbd4e3c=_0x1bbdaa['slice'](_0x3e00a4,_0x280edb);_0x460a90===0x2c?(_0xff34ab(_0x3d21a1,_0xbd4e3c,_0x1499ca),_0x1499ca=Object[_0x25c46e(0xb8)](null)):_0x2a4470=_0xbd4e3c,_0x3e00a4=_0x280edb=-0x1;}else throw new SyntaxError(_0x25c46e(0xca)+_0x13aa55);}}}else{if(_0x4be0b2===void 0x0){if(_0x280edb===-0x1&&_0x53310a[_0x460a90]===0x1)_0x3e00a4===-0x1&&(_0x3e00a4=_0x13aa55);else{if(_0x460a90===0x20||_0x460a90===0x9)_0x280edb===-0x1&&_0x3e00a4!==-0x1&&(_0x280edb=_0x13aa55);else{if(_0x460a90===0x3b||_0x460a90===0x2c){if(_0x3e00a4===-0x1)throw new SyntaxError(_0x25c46e(0xca)+_0x13aa55);_0x280edb===-0x1&&(_0x280edb=_0x13aa55),_0xff34ab(_0x1499ca,_0x1bbdaa['slice'](_0x3e00a4,_0x280edb),!0x0),_0x460a90===0x2c&&(_0xff34ab(_0x3d21a1,_0x2a4470,_0x1499ca),_0x1499ca=Object['create'](null),_0x2a4470=void 0x0),_0x3e00a4=_0x280edb=-0x1;}else{if(_0x460a90===0x3d&&_0x3e00a4!==-0x1&&_0x280edb===-0x1)_0x4be0b2=_0x1bbdaa[_0x25c46e(0x16c)](_0x3e00a4,_0x13aa55),_0x3e00a4=_0x280edb=-0x1;else throw new SyntaxError(_0x25c46e(0xca)+_0x13aa55);}}}}else{if(_0x216ae6){if(_0x53310a[_0x460a90]!==0x1)throw new SyntaxError(_0x25c46e(0xca)+_0x13aa55);_0x3e00a4===-0x1?_0x3e00a4=_0x13aa55:_0x390ab7||(_0x390ab7=!0x0),_0x216ae6=!0x1;}else{if(_0x36ed50){if(_0x53310a[_0x460a90]===0x1)_0x3e00a4===-0x1&&(_0x3e00a4=_0x13aa55);else{if(_0x460a90===0x22&&_0x3e00a4!==-0x1)_0x36ed50=!0x1,_0x280edb=_0x13aa55;else{if(_0x460a90===0x5c)_0x216ae6=!0x0;else throw new SyntaxError(_0x25c46e(0xca)+_0x13aa55);}}}else{if(_0x460a90===0x22&&_0x1bbdaa[_0x25c46e(0x136)](_0x13aa55-0x1)===0x3d)_0x36ed50=!0x0;else{if(_0x280edb===-0x1&&_0x53310a[_0x460a90]===0x1)_0x3e00a4===-0x1&&(_0x3e00a4=_0x13aa55);else{if(_0x3e00a4!==-0x1&&(_0x460a90===0x20||_0x460a90===0x9))_0x280edb===-0x1&&(_0x280edb=_0x13aa55);else{if(_0x460a90===0x3b||_0x460a90===0x2c){if(_0x3e00a4===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x13aa55);_0x280edb===-0x1&&(_0x280edb=_0x13aa55);let _0x369ef5=_0x1bbdaa['slice'](_0x3e00a4,_0x280edb);_0x390ab7&&(_0x369ef5=_0x369ef5[_0x25c46e(0x1c5)](/\\/g,''),_0x390ab7=!0x1),_0xff34ab(_0x1499ca,_0x4be0b2,_0x369ef5),_0x460a90===0x2c&&(_0xff34ab(_0x3d21a1,_0x2a4470,_0x1499ca),_0x1499ca=Object[_0x25c46e(0xb8)](null),_0x2a4470=void 0x0),_0x4be0b2=void 0x0,_0x3e00a4=_0x280edb=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x13aa55);}}}}}}}if(_0x3e00a4===-0x1||_0x36ed50||_0x460a90===0x20||_0x460a90===0x9)throw new SyntaxError(_0x25c46e(0x116));_0x280edb===-0x1&&(_0x280edb=_0x13aa55);const _0x362e97=_0x1bbdaa[_0x25c46e(0x16c)](_0x3e00a4,_0x280edb);return _0x2a4470===void 0x0?_0xff34ab(_0x3d21a1,_0x362e97,_0x1499ca):(_0x4be0b2===void 0x0?_0xff34ab(_0x1499ca,_0x362e97,!0x0):_0x390ab7?_0xff34ab(_0x1499ca,_0x4be0b2,_0x362e97[_0x25c46e(0x1c5)](/\\/g,'')):_0xff34ab(_0x1499ca,_0x4be0b2,_0x362e97),_0xff34ab(_0x3d21a1,_0x2a4470,_0x1499ca)),_0x3d21a1;}function _0x2536b8(_0x3cd90a){const _0x32a51d=_0x1024;return Object['keys'](_0x3cd90a)[_0x32a51d(0x14d)](_0x37eec1=>{const _0x1a7865=_0x32a51d;let _0x3b471d=_0x3cd90a[_0x37eec1];return Array[_0x1a7865(0x216)](_0x3b471d)||(_0x3b471d=[_0x3b471d]),_0x3b471d[_0x1a7865(0x14d)](_0x4b1c0b=>[_0x37eec1]['concat'](Object[_0x1a7865(0x1b4)](_0x4b1c0b)[_0x1a7865(0x14d)](_0x2de1bb=>{const _0x2d4476=_0x1a7865;let _0x5e26b8=_0x4b1c0b[_0x2de1bb];return Array['isArray'](_0x5e26b8)||(_0x5e26b8=[_0x5e26b8]),_0x5e26b8[_0x2d4476(0x14d)](_0x56970c=>_0x56970c===!0x0?_0x2de1bb:_0x2de1bb+'='+_0x56970c)[_0x2d4476(0x1e8)](';\x20');}))[_0x1a7865(0x1e8)](';\x20'))[_0x1a7865(0x1e8)](',\x20');})[_0x32a51d(0x1e8)](',\x20');}return be={'format':_0x2536b8,'parse':_0x2bd1c4},be;}var we,st;function Ie(){const _0x519d44=_0x5befdd;if(st)return we;st=0x1;const _0x5a171f=_0x19ae85,_0x4c9f73=_0x1505ea,_0x51f503=_0x650d7f,_0x56f755=_0x4208c6,_0x12f12b=_0x50ab91,{randomBytes:_0x317a50,createHash:_0x25dff6}=_0x4d7578,{Duplex:_0x5919ae,Readable:_0x65a777}=_0x2a8bf7,{URL:_0x36770a}=_0x21bbe9,_0xeb072f=he(),_0x2b417e=dt(),_0x6e6e38=_t(),{isBlob:_0x8a598}=ne(),{BINARY_TYPES:_0x6e18c2,EMPTY_BUFFER:_0x40c8e9,GUID:_0x16b61a,kForOnEventAttribute:_0x10a814,kListener:_0x18eaa7,kStatusCode:_0x144148,kWebSocket:_0xc18767,NOOP:_0xc4385}=V(),{EventTarget:{addEventListener:_0x495a23,removeEventListener:_0x27e6f5}}=Kt(),{format:_0x4ef76b,parse:_0x316db5}=pt(),{toBuffer:_0x487c84}=ce(),_0x1849b4=0x1e*0x3e8,_0x24b3e2=Symbol(_0x519d44(0x103)),_0xe562d6=[0x8,0xd],_0x34e117=[_0x519d44(0xd6),'OPEN','CLOSING',_0x519d44(0x1de)],_0x299e34=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x2276e4 extends _0x5a171f{constructor(_0x3eb76a,_0x3f6050,_0x59381c){const _0x941776=_0x519d44;super(),this[_0x941776(0x20c)]=_0x6e18c2[0x0],this[_0x941776(0xc3)]=0x3ee,this[_0x941776(0x1d9)]=!0x1,this[_0x941776(0x1b6)]=!0x1,this[_0x941776(0xd1)]=_0x40c8e9,this[_0x941776(0x9c)]=null,this[_0x941776(0x146)]=!0x1,this[_0x941776(0x13f)]={},this[_0x941776(0x177)]=!0x1,this['_protocol']='',this[_0x941776(0x89)]=_0x2276e4[_0x941776(0xd6)],this['_receiver']=null,this[_0x941776(0xea)]=null,this[_0x941776(0x111)]=null,_0x3eb76a!==null?(this[_0x941776(0x169)]=0x0,this[_0x941776(0x1c2)]=!0x1,this['_redirects']=0x0,_0x3f6050===void 0x0?_0x3f6050=[]:Array[_0x941776(0x216)](_0x3f6050)||(typeof _0x3f6050=='object'&&_0x3f6050!==null?(_0x59381c=_0x3f6050,_0x3f6050=[]):_0x3f6050=[_0x3f6050]),_0xf30aa4(this,_0x3eb76a,_0x3f6050,_0x59381c)):(this[_0x941776(0x99)]=_0x59381c[_0x941776(0x1da)],this['_isServer']=!0x0);}get[_0x519d44(0x12f)](){const _0x3f37d5=_0x519d44;return this[_0x3f37d5(0x20c)];}set[_0x519d44(0x12f)](_0x5ab6b4){const _0x3e0438=_0x519d44;_0x6e18c2[_0x3e0438(0xa5)](_0x5ab6b4)&&(this[_0x3e0438(0x20c)]=_0x5ab6b4,this[_0x3e0438(0xc0)]&&(this[_0x3e0438(0xc0)][_0x3e0438(0x20c)]=_0x5ab6b4));}get[_0x519d44(0xbf)](){const _0x39b681=_0x519d44;return this['_socket']?this[_0x39b681(0x111)][_0x39b681(0x1c8)][_0x39b681(0x14a)]+this[_0x39b681(0xea)][_0x39b681(0x172)]:this['_bufferedAmount'];}get['extensions'](){const _0x5f40e0=_0x519d44;return Object['keys'](this[_0x5f40e0(0x13f)])[_0x5f40e0(0x1e8)]();}get[_0x519d44(0x174)](){const _0x21bec8=_0x519d44;return this[_0x21bec8(0x177)];}get[_0x519d44(0x121)](){return null;}get[_0x519d44(0x1dc)](){return null;}get[_0x519d44(0x210)](){return null;}get[_0x519d44(0x96)](){return null;}get[_0x519d44(0x222)](){const _0x258bd0=_0x519d44;return this[_0x258bd0(0x218)];}get[_0x519d44(0x15c)](){return this['_readyState'];}get[_0x519d44(0x1e3)](){const _0xeaf78b=_0x519d44;return this[_0xeaf78b(0xd9)];}['setSocket'](_0x5dd056,_0x30a66f,_0x70e451){const _0x154603=_0x519d44,_0x137fee=new _0x2b417e({'allowSynchronousEvents':_0x70e451[_0x154603(0x233)],'binaryType':this[_0x154603(0x12f)],'extensions':this[_0x154603(0x13f)],'isServer':this[_0x154603(0x1c2)],'maxPayload':_0x70e451['maxPayload'],'skipUTF8Validation':_0x70e451[_0x154603(0x9f)]}),_0x24c8cd=new _0x6e6e38(_0x5dd056,this[_0x154603(0x13f)],_0x70e451['generateMask']);this[_0x154603(0xc0)]=_0x137fee,this['_sender']=_0x24c8cd,this[_0x154603(0x111)]=_0x5dd056,_0x137fee[_0xc18767]=this,_0x24c8cd[_0xc18767]=this,_0x5dd056[_0xc18767]=this,_0x137fee['on']('conclude',_0x3efcba),_0x137fee['on'](_0x154603(0x20e),_0x42e33b),_0x137fee['on'](_0x154603(0x18a),_0x24222d),_0x137fee['on'](_0x154603(0xa9),_0x1db02a),_0x137fee['on']('ping',_0x34f40a),_0x137fee['on'](_0x154603(0x220),_0x23197d),_0x24c8cd['onerror']=_0x3c6d8f,_0x5dd056['setTimeout']&&_0x5dd056['setTimeout'](0x0),_0x5dd056['setNoDelay']&&_0x5dd056[_0x154603(0x213)](),_0x30a66f['length']>0x0&&_0x5dd056[_0x154603(0xa6)](_0x30a66f),_0x5dd056['on']('close',_0x445a42),_0x5dd056['on']('data',_0x49c20e),_0x5dd056['on'](_0x154603(0xa1),_0x4ec9b7),_0x5dd056['on'](_0x154603(0x18a),_0x5966ba),this[_0x154603(0x89)]=_0x2276e4[_0x154603(0x1d4)],this[_0x154603(0x205)](_0x154603(0x8c));}[_0x519d44(0x173)](){const _0x3983b4=_0x519d44;if(!this[_0x3983b4(0x111)]){this['_readyState']=_0x2276e4[_0x3983b4(0x1de)],this[_0x3983b4(0x205)](_0x3983b4(0x196),this[_0x3983b4(0xc3)],this[_0x3983b4(0xd1)]);return;}this[_0x3983b4(0x13f)][_0xeb072f[_0x3983b4(0x141)]]&&this[_0x3983b4(0x13f)][_0xeb072f[_0x3983b4(0x141)]][_0x3983b4(0x197)](),this[_0x3983b4(0xc0)]['removeAllListeners'](),this[_0x3983b4(0x89)]=_0x2276e4['CLOSED'],this[_0x3983b4(0x205)](_0x3983b4(0x196),this[_0x3983b4(0xc3)],this[_0x3983b4(0xd1)]);}[_0x519d44(0x196)](_0x4261b0,_0x1e82fb){const _0x54dfe=_0x519d44;if(this['readyState']!==_0x2276e4[_0x54dfe(0x1de)]){if(this['readyState']===_0x2276e4[_0x54dfe(0xd6)]){_0x295184(this,this[_0x54dfe(0x1f3)],_0x54dfe(0xc9));return;}if(this[_0x54dfe(0x15c)]===_0x2276e4[_0x54dfe(0x1f1)]){this[_0x54dfe(0x1b6)]&&(this[_0x54dfe(0x1d9)]||this[_0x54dfe(0xc0)][_0x54dfe(0x1c8)][_0x54dfe(0x1c0)])&&this['_socket'][_0x54dfe(0xa1)]();return;}this[_0x54dfe(0x89)]=_0x2276e4[_0x54dfe(0x1f1)],this[_0x54dfe(0xea)]['close'](_0x4261b0,_0x1e82fb,!this['_isServer'],_0x441308=>{const _0x366581=_0x54dfe;_0x441308||(this[_0x366581(0x1b6)]=!0x0,(this[_0x366581(0x1d9)]||this[_0x366581(0xc0)]['_writableState']['errorEmitted'])&&this[_0x366581(0x111)][_0x366581(0xa1)]());}),_0x274f32(this);}}[_0x519d44(0x182)](){const _0x523453=_0x519d44;this[_0x523453(0x15c)]===_0x2276e4[_0x523453(0xd6)]||this[_0x523453(0x15c)]===_0x2276e4[_0x523453(0x1de)]||(this[_0x523453(0x177)]=!0x0,this[_0x523453(0x111)][_0x523453(0x182)]());}[_0x519d44(0x1eb)](_0x55c73d,_0x15ff26,_0x464fbc){const _0x26974c=_0x519d44;if(this[_0x26974c(0x15c)]===_0x2276e4[_0x26974c(0xd6)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x55c73d==_0x26974c(0x120)?(_0x464fbc=_0x55c73d,_0x55c73d=_0x15ff26=void 0x0):typeof _0x15ff26==_0x26974c(0x120)&&(_0x464fbc=_0x15ff26,_0x15ff26=void 0x0),typeof _0x55c73d==_0x26974c(0x11f)&&(_0x55c73d=_0x55c73d[_0x26974c(0x232)]()),this['readyState']!==_0x2276e4[_0x26974c(0x1d4)]){_0x529076(this,_0x55c73d,_0x464fbc);return;}_0x15ff26===void 0x0&&(_0x15ff26=!this[_0x26974c(0x1c2)]),this['_sender']['ping'](_0x55c73d||_0x40c8e9,_0x15ff26,_0x464fbc);}['pong'](_0x4ef28d,_0x201edd,_0x152c64){const _0xc478aa=_0x519d44;if(this[_0xc478aa(0x15c)]===_0x2276e4[_0xc478aa(0xd6)])throw new Error(_0xc478aa(0x202));if(typeof _0x4ef28d=='function'?(_0x152c64=_0x4ef28d,_0x4ef28d=_0x201edd=void 0x0):typeof _0x201edd==_0xc478aa(0x120)&&(_0x152c64=_0x201edd,_0x201edd=void 0x0),typeof _0x4ef28d==_0xc478aa(0x11f)&&(_0x4ef28d=_0x4ef28d[_0xc478aa(0x232)]()),this[_0xc478aa(0x15c)]!==_0x2276e4['OPEN']){_0x529076(this,_0x4ef28d,_0x152c64);return;}_0x201edd===void 0x0&&(_0x201edd=!this[_0xc478aa(0x1c2)]),this[_0xc478aa(0xea)]['pong'](_0x4ef28d||_0x40c8e9,_0x201edd,_0x152c64);}[_0x519d44(0xb7)](){const _0x501a80=_0x519d44;this[_0x501a80(0x15c)]===_0x2276e4['CONNECTING']||this['readyState']===_0x2276e4['CLOSED']||(this[_0x501a80(0x177)]=!0x1,this['_receiver'][_0x501a80(0x1c8)][_0x501a80(0xe1)]||this[_0x501a80(0x111)]['resume']());}[_0x519d44(0x98)](_0xe92963,_0x473223,_0x1a0b4b){const _0x22f8e1=_0x519d44;if(this[_0x22f8e1(0x15c)]===_0x2276e4[_0x22f8e1(0xd6)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x473223==_0x22f8e1(0x120)&&(_0x1a0b4b=_0x473223,_0x473223={}),typeof _0xe92963==_0x22f8e1(0x11f)&&(_0xe92963=_0xe92963[_0x22f8e1(0x232)]()),this[_0x22f8e1(0x15c)]!==_0x2276e4['OPEN']){_0x529076(this,_0xe92963,_0x1a0b4b);return;}const _0x19955e={'binary':typeof _0xe92963!=_0x22f8e1(0x204),'mask':!this[_0x22f8e1(0x1c2)],'compress':!0x0,'fin':!0x0,..._0x473223};this['_extensions'][_0xeb072f[_0x22f8e1(0x141)]]||(_0x19955e[_0x22f8e1(0x21c)]=!0x1),this[_0x22f8e1(0xea)][_0x22f8e1(0x98)](_0xe92963||_0x40c8e9,_0x19955e,_0x1a0b4b);}[_0x519d44(0x1a8)](){const _0x171e93=_0x519d44;if(this[_0x171e93(0x15c)]!==_0x2276e4[_0x171e93(0x1de)]){if(this['readyState']===_0x2276e4[_0x171e93(0xd6)]){_0x295184(this,this['_req'],_0x171e93(0xc9));return;}this[_0x171e93(0x111)]&&(this[_0x171e93(0x89)]=_0x2276e4['CLOSING'],this[_0x171e93(0x111)][_0x171e93(0x92)]());}}}Object[_0x519d44(0x1ac)](_0x2276e4,_0x519d44(0xd6),{'enumerable':!0x0,'value':_0x34e117['indexOf'](_0x519d44(0xd6))}),Object[_0x519d44(0x1ac)](_0x2276e4[_0x519d44(0x93)],'CONNECTING',{'enumerable':!0x0,'value':_0x34e117[_0x519d44(0x135)]('CONNECTING')}),Object[_0x519d44(0x1ac)](_0x2276e4,'OPEN',{'enumerable':!0x0,'value':_0x34e117[_0x519d44(0x135)](_0x519d44(0x1d4))}),Object['defineProperty'](_0x2276e4[_0x519d44(0x93)],'OPEN',{'enumerable':!0x0,'value':_0x34e117[_0x519d44(0x135)](_0x519d44(0x1d4))}),Object['defineProperty'](_0x2276e4,_0x519d44(0x1f1),{'enumerable':!0x0,'value':_0x34e117[_0x519d44(0x135)](_0x519d44(0x1f1))}),Object[_0x519d44(0x1ac)](_0x2276e4[_0x519d44(0x93)],'CLOSING',{'enumerable':!0x0,'value':_0x34e117[_0x519d44(0x135)]('CLOSING')}),Object[_0x519d44(0x1ac)](_0x2276e4,_0x519d44(0x1de),{'enumerable':!0x0,'value':_0x34e117[_0x519d44(0x135)]('CLOSED')}),Object[_0x519d44(0x1ac)](_0x2276e4[_0x519d44(0x93)],_0x519d44(0x1de),{'enumerable':!0x0,'value':_0x34e117[_0x519d44(0x135)]('CLOSED')}),['binaryType',_0x519d44(0xbf),_0x519d44(0x183),_0x519d44(0x174),_0x519d44(0x222),'readyState','url'][_0x519d44(0x11a)](_0x47daa2=>{const _0x3138fc=_0x519d44;Object[_0x3138fc(0x1ac)](_0x2276e4[_0x3138fc(0x93)],_0x47daa2,{'enumerable':!0x0});}),[_0x519d44(0x8c),_0x519d44(0x18a),_0x519d44(0x196),_0x519d44(0xa9)][_0x519d44(0x11a)](_0x5912fc=>{const _0x4c3591=_0x519d44;Object[_0x4c3591(0x1ac)](_0x2276e4[_0x4c3591(0x93)],'on'+_0x5912fc,{'enumerable':!0x0,'get'(){for(const _0x1ccdb8 of this['listeners'](_0x5912fc))if(_0x1ccdb8[_0x10a814])return _0x1ccdb8[_0x18eaa7];return null;},'set'(_0x22d44a){const _0x164a05=_0x4c3591;for(const _0x45fe24 of this[_0x164a05(0x231)](_0x5912fc))if(_0x45fe24[_0x10a814]){this[_0x164a05(0x1ae)](_0x5912fc,_0x45fe24);break;}typeof _0x22d44a==_0x164a05(0x120)&&this[_0x164a05(0x161)](_0x5912fc,_0x22d44a,{[_0x10a814]:!0x0});}});}),_0x2276e4[_0x519d44(0x93)]['addEventListener']=_0x495a23,_0x2276e4[_0x519d44(0x93)][_0x519d44(0x170)]=_0x27e6f5,we=_0x2276e4;function _0xf30aa4(_0x251df9,_0x1c65d0,_0x1976d9,_0x3630f2){const _0x285c35=_0x519d44,_0xfe2b78={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0xe562d6[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x3630f2,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x285c35(0x15e),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x251df9[_0x285c35(0x99)]=_0xfe2b78['autoPong'],!_0xe562d6['includes'](_0xfe2b78[_0x285c35(0xb2)]))throw new RangeError(_0x285c35(0x106)+_0xfe2b78[_0x285c35(0xb2)]+_0x285c35(0x94)+_0xe562d6[_0x285c35(0x1e8)](',\x20')+')');let _0x22f211;if(_0x1c65d0 instanceof _0x36770a)_0x22f211=_0x1c65d0;else try{_0x22f211=new _0x36770a(_0x1c65d0);}catch{throw new SyntaxError(_0x285c35(0x87)+_0x1c65d0);}_0x22f211['protocol']===_0x285c35(0x1b5)?_0x22f211[_0x285c35(0x222)]='ws:':_0x22f211[_0x285c35(0x222)]==='https:'&&(_0x22f211[_0x285c35(0x222)]=_0x285c35(0x1d3)),_0x251df9[_0x285c35(0xd9)]=_0x22f211[_0x285c35(0xe5)];const _0x2ce4ea=_0x22f211[_0x285c35(0x222)]===_0x285c35(0x1d3),_0x44ffa2=_0x22f211['protocol']===_0x285c35(0x1b8);let _0x5aaff6;if(_0x22f211[_0x285c35(0x222)]!==_0x285c35(0x1e0)&&!_0x2ce4ea&&!_0x44ffa2?_0x5aaff6=_0x285c35(0x13c):_0x44ffa2&&!_0x22f211[_0x285c35(0x11d)]?_0x5aaff6=_0x285c35(0x95):_0x22f211['hash']&&(_0x5aaff6='The\x20URL\x20contains\x20a\x20fragment\x20identifier'),_0x5aaff6){const _0x25c849=new SyntaxError(_0x5aaff6);if(_0x251df9[_0x285c35(0x90)]===0x0)throw _0x25c849;_0x22474d(_0x251df9,_0x25c849);return;}const _0x507207=_0x2ce4ea?0x1bb:0x50,_0x353b19=_0x317a50(0x10)['toString']('base64'),_0x50357f=_0x2ce4ea?_0x4c9f73[_0x285c35(0x1cc)]:_0x51f503[_0x285c35(0x1cc)],_0xf96ddc=new Set();let _0x5221f6;if(_0xfe2b78[_0x285c35(0x7e)]=_0xfe2b78['createConnection']||(_0x2ce4ea?_0x3a2e9f:_0x362a84),_0xfe2b78[_0x285c35(0xdc)]=_0xfe2b78[_0x285c35(0xdc)]||_0x507207,_0xfe2b78[_0x285c35(0x108)]=_0x22f211['port']||_0x507207,_0xfe2b78[_0x285c35(0xcf)]=_0x22f211[_0x285c35(0x16d)][_0x285c35(0xb1)]('[')?_0x22f211[_0x285c35(0x16d)][_0x285c35(0x16c)](0x1,-0x1):_0x22f211[_0x285c35(0x16d)],_0xfe2b78[_0x285c35(0xaa)]={..._0xfe2b78[_0x285c35(0xaa)],'Sec-WebSocket-Version':_0xfe2b78['protocolVersion'],'Sec-WebSocket-Key':_0x353b19,'Connection':_0x285c35(0x151),'Upgrade':_0x285c35(0x150)},_0xfe2b78[_0x285c35(0x88)]=_0x22f211['pathname']+_0x22f211['search'],_0xfe2b78[_0x285c35(0x1cb)]=_0xfe2b78[_0x285c35(0x198)],_0xfe2b78[_0x285c35(0x152)]&&(_0x5221f6=new _0xeb072f(_0xfe2b78[_0x285c35(0x152)]!==!0x0?_0xfe2b78[_0x285c35(0x152)]:{},!0x1,_0xfe2b78['maxPayload']),_0xfe2b78[_0x285c35(0xaa)][_0x285c35(0x19c)]=_0x4ef76b({[_0xeb072f[_0x285c35(0x141)]]:_0x5221f6[_0x285c35(0x162)]()})),_0x1976d9[_0x285c35(0x14a)]){for(const _0x2b32c4 of _0x1976d9){if(typeof _0x2b32c4!=_0x285c35(0x204)||!_0x299e34['test'](_0x2b32c4)||_0xf96ddc[_0x285c35(0x10b)](_0x2b32c4))throw new SyntaxError(_0x285c35(0x109));_0xf96ddc[_0x285c35(0x1c3)](_0x2b32c4);}_0xfe2b78[_0x285c35(0xaa)][_0x285c35(0x10e)]=_0x1976d9[_0x285c35(0x1e8)](',');}if(_0xfe2b78['origin']&&(_0xfe2b78[_0x285c35(0xb2)]<0xd?_0xfe2b78['headers'][_0x285c35(0x12e)]=_0xfe2b78[_0x285c35(0xef)]:_0xfe2b78['headers'][_0x285c35(0xb9)]=_0xfe2b78[_0x285c35(0xef)]),(_0x22f211[_0x285c35(0x155)]||_0x22f211[_0x285c35(0xdf)])&&(_0xfe2b78['auth']=_0x22f211[_0x285c35(0x155)]+':'+_0x22f211[_0x285c35(0xdf)]),_0x44ffa2){const _0x2b1a86=_0xfe2b78[_0x285c35(0x88)][_0x285c35(0x20f)](':');_0xfe2b78[_0x285c35(0x1b7)]=_0x2b1a86[0x0],_0xfe2b78['path']=_0x2b1a86[0x1];}let _0x53c90b;if(_0xfe2b78[_0x285c35(0x1b2)]){if(_0x251df9['_redirects']===0x0){_0x251df9['_originalIpc']=_0x44ffa2,_0x251df9[_0x285c35(0x1b1)]=_0x2ce4ea,_0x251df9[_0x285c35(0x140)]=_0x44ffa2?_0xfe2b78[_0x285c35(0x1b7)]:_0x22f211[_0x285c35(0xcf)];const _0x2afce7=_0x3630f2&&_0x3630f2[_0x285c35(0xaa)];if(_0x3630f2={..._0x3630f2,'headers':{}},_0x2afce7){for(const [_0x383532,_0x5644d3]of Object[_0x285c35(0x1f8)](_0x2afce7))_0x3630f2[_0x285c35(0xaa)][_0x383532[_0x285c35(0x82)]()]=_0x5644d3;}}else{if(_0x251df9[_0x285c35(0xe8)](_0x285c35(0x230))===0x0){const _0x483b06=_0x44ffa2?_0x251df9[_0x285c35(0x81)]?_0xfe2b78['socketPath']===_0x251df9['_originalHostOrSocketPath']:!0x1:_0x251df9[_0x285c35(0x81)]?!0x1:_0x22f211[_0x285c35(0xcf)]===_0x251df9[_0x285c35(0x140)];(!_0x483b06||_0x251df9['_originalSecure']&&!_0x2ce4ea)&&(delete _0xfe2b78[_0x285c35(0xaa)][_0x285c35(0x142)],delete _0xfe2b78[_0x285c35(0xaa)][_0x285c35(0xfe)],_0x483b06||delete _0xfe2b78[_0x285c35(0xaa)][_0x285c35(0xcf)],_0xfe2b78[_0x285c35(0xa8)]=void 0x0);}}_0xfe2b78[_0x285c35(0xa8)]&&!_0x3630f2[_0x285c35(0xaa)][_0x285c35(0x142)]&&(_0x3630f2[_0x285c35(0xaa)][_0x285c35(0x142)]='Basic\x20'+Buffer[_0x285c35(0xa0)](_0xfe2b78[_0x285c35(0xa8)])['toString'](_0x285c35(0x1bc))),_0x53c90b=_0x251df9[_0x285c35(0x1f3)]=_0x50357f(_0xfe2b78),_0x251df9[_0x285c35(0x90)]&&_0x251df9[_0x285c35(0x205)](_0x285c35(0x230),_0x251df9[_0x285c35(0x1e3)],_0x53c90b);}else _0x53c90b=_0x251df9[_0x285c35(0x1f3)]=_0x50357f(_0xfe2b78);_0xfe2b78['timeout']&&_0x53c90b['on'](_0x285c35(0x1cb),()=>{const _0x1a2074=_0x285c35;_0x295184(_0x251df9,_0x53c90b,_0x1a2074(0x126));}),_0x53c90b['on'](_0x285c35(0x18a),_0x3e871b=>{const _0x1d9171=_0x285c35;_0x53c90b===null||_0x53c90b[_0x24b3e2]||(_0x53c90b=_0x251df9[_0x1d9171(0x1f3)]=null,_0x22474d(_0x251df9,_0x3e871b));}),_0x53c90b['on'](_0x285c35(0x125),_0xf13b8d=>{const _0x597b5c=_0x285c35,_0x50e20b=_0xf13b8d[_0x597b5c(0xaa)][_0x597b5c(0x229)],_0x10219e=_0xf13b8d[_0x597b5c(0xf0)];if(_0x50e20b&&_0xfe2b78[_0x597b5c(0x1b2)]&&_0x10219e>=0x12c&&_0x10219e<0x190){if(++_0x251df9[_0x597b5c(0x90)]>_0xfe2b78['maxRedirects']){_0x295184(_0x251df9,_0x53c90b,_0x597b5c(0x10a));return;}_0x53c90b[_0x597b5c(0x1bf)]();let _0x514cc8;try{_0x514cc8=new _0x36770a(_0x50e20b,_0x1c65d0);}catch{const _0x5137e4=new SyntaxError(_0x597b5c(0x87)+_0x50e20b);_0x22474d(_0x251df9,_0x5137e4);return;}_0xf30aa4(_0x251df9,_0x514cc8,_0x1976d9,_0x3630f2);}else _0x251df9[_0x597b5c(0x205)](_0x597b5c(0x1e6),_0x53c90b,_0xf13b8d)||_0x295184(_0x251df9,_0x53c90b,_0x597b5c(0x119)+_0xf13b8d[_0x597b5c(0xf0)]);}),_0x53c90b['on'](_0x285c35(0x15a),(_0x4a0037,_0x298e59,_0x20475a)=>{const _0x55a34c=_0x285c35;if(_0x251df9[_0x55a34c(0x205)](_0x55a34c(0x15a),_0x4a0037),_0x251df9['readyState']!==_0x2276e4[_0x55a34c(0xd6)])return;_0x53c90b=_0x251df9['_req']=null;const _0x17bfca=_0x4a0037[_0x55a34c(0xaa)][_0x55a34c(0x15a)];if(_0x17bfca===void 0x0||_0x17bfca[_0x55a34c(0x82)]()!==_0x55a34c(0x150)){_0x295184(_0x251df9,_0x298e59,'Invalid\x20Upgrade\x20header');return;}const _0x141c08=_0x25dff6(_0x55a34c(0x1cf))[_0x55a34c(0x132)](_0x353b19+_0x16b61a)[_0x55a34c(0x179)](_0x55a34c(0x1bc));if(_0x4a0037[_0x55a34c(0xaa)][_0x55a34c(0x1c4)]!==_0x141c08){_0x295184(_0x251df9,_0x298e59,_0x55a34c(0xed));return;}const _0x30b50f=_0x4a0037[_0x55a34c(0xaa)][_0x55a34c(0xf3)];let _0x37f757;if(_0x30b50f!==void 0x0?_0xf96ddc[_0x55a34c(0x1b3)]?_0xf96ddc[_0x55a34c(0x10b)](_0x30b50f)||(_0x37f757=_0x55a34c(0x228)):_0x37f757=_0x55a34c(0x154):_0xf96ddc[_0x55a34c(0x1b3)]&&(_0x37f757='Server\x20sent\x20no\x20subprotocol'),_0x37f757){_0x295184(_0x251df9,_0x298e59,_0x37f757);return;}_0x30b50f&&(_0x251df9['_protocol']=_0x30b50f);const _0x4f82c2=_0x4a0037['headers'][_0x55a34c(0x149)];if(_0x4f82c2!==void 0x0){if(!_0x5221f6){_0x295184(_0x251df9,_0x298e59,_0x55a34c(0x207));return;}let _0x5623a0;try{_0x5623a0=_0x316db5(_0x4f82c2);}catch{_0x295184(_0x251df9,_0x298e59,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0x63b080=Object[_0x55a34c(0x1b4)](_0x5623a0);if(_0x63b080[_0x55a34c(0x14a)]!==0x1||_0x63b080[0x0]!==_0xeb072f[_0x55a34c(0x141)]){_0x295184(_0x251df9,_0x298e59,_0x55a34c(0x223));return;}try{_0x5221f6['accept'](_0x5623a0[_0xeb072f['extensionName']]);}catch{_0x295184(_0x251df9,_0x298e59,_0x55a34c(0x9b));return;}_0x251df9[_0x55a34c(0x13f)][_0xeb072f['extensionName']]=_0x5221f6;}_0x251df9[_0x55a34c(0x200)](_0x298e59,_0x20475a,{'allowSynchronousEvents':_0xfe2b78['allowSynchronousEvents'],'generateMask':_0xfe2b78[_0x55a34c(0x22c)],'maxPayload':_0xfe2b78[_0x55a34c(0x1e5)],'skipUTF8Validation':_0xfe2b78['skipUTF8Validation']});}),_0xfe2b78[_0x285c35(0xa2)]?_0xfe2b78['finishRequest'](_0x53c90b,_0x251df9):_0x53c90b[_0x285c35(0xa1)]();}function _0x22474d(_0x3d85bc,_0x4dc87c){const _0x1313d6=_0x519d44;_0x3d85bc[_0x1313d6(0x89)]=_0x2276e4[_0x1313d6(0x1f1)],_0x3d85bc[_0x1313d6(0x146)]=!0x0,_0x3d85bc['emit']('error',_0x4dc87c),_0x3d85bc[_0x1313d6(0x173)]();}function _0x362a84(_0x421ec4){const _0x379fd7=_0x519d44;return _0x421ec4[_0x379fd7(0x88)]=_0x421ec4['socketPath'],_0x56f755[_0x379fd7(0x17b)](_0x421ec4);}function _0x3a2e9f(_0x4a760e){const _0x366e28=_0x519d44;return _0x4a760e['path']=void 0x0,!_0x4a760e['servername']&&_0x4a760e[_0x366e28(0xa4)]!==''&&(_0x4a760e[_0x366e28(0xa4)]=_0x56f755[_0x366e28(0x1f6)](_0x4a760e[_0x366e28(0xcf)])?'':_0x4a760e[_0x366e28(0xcf)]),_0x12f12b['connect'](_0x4a760e);}function _0x295184(_0x158cb9,_0x285847,_0x28eec3){const _0x1749cb=_0x519d44;_0x158cb9[_0x1749cb(0x89)]=_0x2276e4['CLOSING'];const _0x372c93=new Error(_0x28eec3);Error[_0x1749cb(0x21e)](_0x372c93,_0x295184),_0x285847[_0x1749cb(0x184)]?(_0x285847[_0x24b3e2]=!0x0,_0x285847[_0x1749cb(0x1bf)](),_0x285847['socket']&&!_0x285847[_0x1749cb(0x20a)][_0x1749cb(0x86)]&&_0x285847[_0x1749cb(0x20a)]['destroy'](),process[_0x1749cb(0xd0)](_0x22474d,_0x158cb9,_0x372c93)):(_0x285847['destroy'](_0x372c93),_0x285847[_0x1749cb(0x1d6)](_0x1749cb(0x18a),_0x158cb9['emit']['bind'](_0x158cb9,_0x1749cb(0x18a))),_0x285847[_0x1749cb(0x1d6)](_0x1749cb(0x196),_0x158cb9[_0x1749cb(0x173)][_0x1749cb(0x144)](_0x158cb9)));}function _0x529076(_0x2c4268,_0x2c27e7,_0x609195){const _0x473ac2=_0x519d44;if(_0x2c27e7){const _0x12db9e=_0x8a598(_0x2c27e7)?_0x2c27e7[_0x473ac2(0x1b3)]:_0x487c84(_0x2c27e7)['length'];_0x2c4268['_socket']?_0x2c4268[_0x473ac2(0xea)]['_bufferedBytes']+=_0x12db9e:_0x2c4268[_0x473ac2(0x169)]+=_0x12db9e;}if(_0x609195){const _0xf2fc88=new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x20'+_0x2c4268['readyState']+'\x20('+_0x34e117[_0x2c4268['readyState']]+')');process[_0x473ac2(0xd0)](_0x609195,_0xf2fc88);}}function _0x3efcba(_0x1376d6,_0x4bc37c){const _0x2adbe0=_0x519d44,_0x14e240=this[_0xc18767];_0x14e240[_0x2adbe0(0x1d9)]=!0x0,_0x14e240['_closeMessage']=_0x4bc37c,_0x14e240[_0x2adbe0(0xc3)]=_0x1376d6,_0x14e240[_0x2adbe0(0x111)][_0xc18767]!==void 0x0&&(_0x14e240[_0x2adbe0(0x111)][_0x2adbe0(0x1ae)]('data',_0x49c20e),process['nextTick'](_0x86da48,_0x14e240[_0x2adbe0(0x111)]),_0x1376d6===0x3ed?_0x14e240[_0x2adbe0(0x196)]():_0x14e240[_0x2adbe0(0x196)](_0x1376d6,_0x4bc37c));}function _0x42e33b(){const _0x3bfe33=_0x519d44,_0x4a1ee4=this[_0xc18767];_0x4a1ee4['isPaused']||_0x4a1ee4[_0x3bfe33(0x111)][_0x3bfe33(0xb7)]();}function _0x24222d(_0x132861){const _0x329c10=_0x519d44,_0x29a57d=this[_0xc18767];_0x29a57d['_socket'][_0xc18767]!==void 0x0&&(_0x29a57d[_0x329c10(0x111)][_0x329c10(0x1ae)](_0x329c10(0x21b),_0x49c20e),process[_0x329c10(0xd0)](_0x86da48,_0x29a57d[_0x329c10(0x111)]),_0x29a57d[_0x329c10(0x196)](_0x132861[_0x144148])),_0x29a57d[_0x329c10(0x146)]||(_0x29a57d[_0x329c10(0x146)]=!0x0,_0x29a57d[_0x329c10(0x205)](_0x329c10(0x18a),_0x132861));}function _0x330bea(){const _0x2d2f45=_0x519d44;this[_0xc18767][_0x2d2f45(0x173)]();}function _0x1db02a(_0x164445,_0x52fc83){const _0x5c4559=_0x519d44;this[_0xc18767]['emit'](_0x5c4559(0xa9),_0x164445,_0x52fc83);}function _0x34f40a(_0x412645){const _0x2b3552=_0x519d44,_0x485e93=this[_0xc18767];_0x485e93['_autoPong']&&_0x485e93['pong'](_0x412645,!this['_isServer'],_0xc4385),_0x485e93[_0x2b3552(0x205)](_0x2b3552(0x1eb),_0x412645);}function _0x23197d(_0x1ceaad){const _0x4332e9=_0x519d44;this[_0xc18767][_0x4332e9(0x205)]('pong',_0x1ceaad);}function _0x86da48(_0x4df54d){const _0x9914d3=_0x519d44;_0x4df54d[_0x9914d3(0xb7)]();}function _0x3c6d8f(_0x28335f){const _0x506658=_0x519d44,_0x3a6d23=this[_0xc18767];_0x3a6d23['readyState']!==_0x2276e4[_0x506658(0x1de)]&&(_0x3a6d23[_0x506658(0x15c)]===_0x2276e4[_0x506658(0x1d4)]&&(_0x3a6d23[_0x506658(0x89)]=_0x2276e4[_0x506658(0x1f1)],_0x274f32(_0x3a6d23)),this[_0x506658(0x111)][_0x506658(0xa1)](),_0x3a6d23[_0x506658(0x146)]||(_0x3a6d23['_errorEmitted']=!0x0,_0x3a6d23['emit'](_0x506658(0x18a),_0x28335f)));}function _0x274f32(_0x5c4da7){const _0x525aa1=_0x519d44;_0x5c4da7[_0x525aa1(0x9c)]=setTimeout(_0x5c4da7[_0x525aa1(0x111)][_0x525aa1(0x92)]['bind'](_0x5c4da7[_0x525aa1(0x111)]),_0x1849b4);}function _0x445a42(){const _0x4d75d9=_0x519d44,_0x5ec3a1=this[_0xc18767];this[_0x4d75d9(0x1ae)](_0x4d75d9(0x196),_0x445a42),this['removeListener'](_0x4d75d9(0x21b),_0x49c20e),this[_0x4d75d9(0x1ae)]('end',_0x4ec9b7),_0x5ec3a1[_0x4d75d9(0x89)]=_0x2276e4[_0x4d75d9(0x1f1)];let _0x343d25;!this['_readableState']['endEmitted']&&!_0x5ec3a1[_0x4d75d9(0x1d9)]&&!_0x5ec3a1[_0x4d75d9(0xc0)][_0x4d75d9(0x1c8)]['errorEmitted']&&(_0x343d25=_0x5ec3a1[_0x4d75d9(0x111)]['read']())!==null&&_0x5ec3a1[_0x4d75d9(0xc0)]['write'](_0x343d25),_0x5ec3a1[_0x4d75d9(0xc0)][_0x4d75d9(0xa1)](),this[_0xc18767]=void 0x0,clearTimeout(_0x5ec3a1[_0x4d75d9(0x9c)]),_0x5ec3a1['_receiver'][_0x4d75d9(0x1c8)]['finished']||_0x5ec3a1[_0x4d75d9(0xc0)][_0x4d75d9(0x1c8)][_0x4d75d9(0x1c0)]?_0x5ec3a1[_0x4d75d9(0x173)]():(_0x5ec3a1[_0x4d75d9(0xc0)]['on'](_0x4d75d9(0x18a),_0x330bea),_0x5ec3a1['_receiver']['on']('finish',_0x330bea));}function _0x49c20e(_0x4c5c90){const _0x8790ea=_0x519d44;this[_0xc18767][_0x8790ea(0xc0)]['write'](_0x4c5c90)||this[_0x8790ea(0x182)]();}function _0x4ec9b7(){const _0x542c3a=_0x519d44,_0x8736ec=this[_0xc18767];_0x8736ec[_0x542c3a(0x89)]=_0x2276e4[_0x542c3a(0x1f1)],_0x8736ec[_0x542c3a(0xc0)][_0x542c3a(0xa1)](),this['end']();}function _0x5966ba(){const _0x1e0ed2=_0x519d44,_0x43e19a=this[_0xc18767];this[_0x1e0ed2(0x1ae)](_0x1e0ed2(0x18a),_0x5966ba),this['on'](_0x1e0ed2(0x18a),_0xc4385),_0x43e19a&&(_0x43e19a[_0x1e0ed2(0x89)]=_0x2276e4['CLOSING'],this[_0x1e0ed2(0x92)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x2bbe05}=_0x2a8bf7;function _0x2da3ae(_0x3f8863){_0x3f8863['emit']('close');}function _0x45c25a(){const _0xa556fc=_0x1024;!this['destroyed']&&this[_0xa556fc(0x1c8)][_0xa556fc(0x20d)]&&this[_0xa556fc(0x92)]();}function _0x3a6c2f(_0x54ee28){const _0x4aafd2=_0x1024;this['removeListener'](_0x4aafd2(0x18a),_0x3a6c2f),this[_0x4aafd2(0x92)](),this[_0x4aafd2(0xe8)]('error')===0x0&&this[_0x4aafd2(0x205)]('error',_0x54ee28);}function _0x276591(_0x450111,_0x14cc6e){const _0x4a2060=_0x1024;let _0x2cd0e4=!0x0;const _0x462d85=new _0x2bbe05({..._0x14cc6e,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x450111['on'](_0x4a2060(0xa9),function(_0xafcfd2,_0x3e3011){const _0x51d03a=_0x4a2060,_0x203c42=!_0x3e3011&&_0x462d85[_0x51d03a(0x1d0)][_0x51d03a(0x159)]?_0xafcfd2[_0x51d03a(0x232)]():_0xafcfd2;_0x462d85[_0x51d03a(0x13a)](_0x203c42)||_0x450111['pause']();}),_0x450111[_0x4a2060(0x1d6)](_0x4a2060(0x18a),function(_0x37fa16){const _0x346cbe=_0x4a2060;_0x462d85[_0x346cbe(0x86)]||(_0x2cd0e4=!0x1,_0x462d85[_0x346cbe(0x92)](_0x37fa16));}),_0x450111[_0x4a2060(0x1d6)]('close',function(){const _0x1b2265=_0x4a2060;_0x462d85['destroyed']||_0x462d85[_0x1b2265(0x13a)](null);}),_0x462d85[_0x4a2060(0x211)]=function(_0x1990e6,_0x2c9247){const _0xc9178c=_0x4a2060;if(_0x450111[_0xc9178c(0x15c)]===_0x450111[_0xc9178c(0x1de)]){_0x2c9247(_0x1990e6),process[_0xc9178c(0xd0)](_0x2da3ae,_0x462d85);return;}let _0x269de4=!0x1;_0x450111[_0xc9178c(0x1d6)](_0xc9178c(0x18a),function(_0x3e3f9b){_0x269de4=!0x0,_0x2c9247(_0x3e3f9b);}),_0x450111[_0xc9178c(0x1d6)](_0xc9178c(0x196),function(){const _0x3af40b=_0xc9178c;_0x269de4||_0x2c9247(_0x1990e6),process[_0x3af40b(0xd0)](_0x2da3ae,_0x462d85);}),_0x2cd0e4&&_0x450111[_0xc9178c(0x1a8)]();},_0x462d85[_0x4a2060(0xac)]=function(_0x24a374){const _0x1b037a=_0x4a2060;if(_0x450111[_0x1b037a(0x15c)]===_0x450111[_0x1b037a(0xd6)]){_0x450111[_0x1b037a(0x1d6)](_0x1b037a(0x8c),function(){const _0x45fa74=_0x1b037a;_0x462d85[_0x45fa74(0xac)](_0x24a374);});return;}_0x450111[_0x1b037a(0x111)]!==null&&(_0x450111[_0x1b037a(0x111)][_0x1b037a(0x1c8)][_0x1b037a(0x20d)]?(_0x24a374(),_0x462d85[_0x1b037a(0x1d0)]['endEmitted']&&_0x462d85[_0x1b037a(0x92)]()):(_0x450111[_0x1b037a(0x111)][_0x1b037a(0x1d6)](_0x1b037a(0xae),function(){_0x24a374();}),_0x450111[_0x1b037a(0x196)]()));},_0x462d85['_read']=function(){const _0x186c23=_0x4a2060;_0x450111[_0x186c23(0x174)]&&_0x450111[_0x186c23(0xb7)]();},_0x462d85['_write']=function(_0x31351a,_0x4a4f63,_0x3d44cd){const _0xe5e4ef=_0x4a2060;if(_0x450111['readyState']===_0x450111['CONNECTING']){_0x450111['once']('open',function(){const _0x39bdab=_0x1024;_0x462d85[_0x39bdab(0x165)](_0x31351a,_0x4a4f63,_0x3d44cd);});return;}_0x450111[_0xe5e4ef(0x98)](_0x31351a,_0x3d44cd);},_0x462d85['on'](_0x4a2060(0xa1),_0x45c25a),_0x462d85['on'](_0x4a2060(0x18a),_0x3a6c2f),_0x462d85;}return Oe=_0x276591,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=jt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x54a3dc}=ne();function _0x33caba(_0x197ad1){const _0x2c3c98=_0x1024,_0x146866=new Set();let _0x5e70b8=-0x1,_0x16b3af=-0x1,_0x817db1=0x0;for(_0x817db1;_0x817db1<_0x197ad1[_0x2c3c98(0x14a)];_0x817db1++){const _0x31077a=_0x197ad1['charCodeAt'](_0x817db1);if(_0x16b3af===-0x1&&_0x54a3dc[_0x31077a]===0x1)_0x5e70b8===-0x1&&(_0x5e70b8=_0x817db1);else{if(_0x817db1!==0x0&&(_0x31077a===0x20||_0x31077a===0x9))_0x16b3af===-0x1&&_0x5e70b8!==-0x1&&(_0x16b3af=_0x817db1);else{if(_0x31077a===0x2c){if(_0x5e70b8===-0x1)throw new SyntaxError(_0x2c3c98(0xca)+_0x817db1);_0x16b3af===-0x1&&(_0x16b3af=_0x817db1);const _0xe618e6=_0x197ad1[_0x2c3c98(0x16c)](_0x5e70b8,_0x16b3af);if(_0x146866[_0x2c3c98(0x10b)](_0xe618e6))throw new SyntaxError(_0x2c3c98(0x1f7)+_0xe618e6+_0x2c3c98(0x114));_0x146866[_0x2c3c98(0x1c3)](_0xe618e6),_0x5e70b8=_0x16b3af=-0x1;}else throw new SyntaxError(_0x2c3c98(0xca)+_0x817db1);}}}if(_0x5e70b8===-0x1||_0x16b3af!==-0x1)throw new SyntaxError('Unexpected\x20end\x20of\x20input');const _0x130cbe=_0x197ad1['slice'](_0x5e70b8,_0x817db1);if(_0x146866['has'](_0x130cbe))throw new SyntaxError(_0x2c3c98(0x1f7)+_0x130cbe+_0x2c3c98(0x114));return _0x146866[_0x2c3c98(0x1c3)](_0x130cbe),_0x146866;}return Ce={'parse':_0x33caba},Ce;}var Te,ot;function er(){const _0x121c53=_0x5befdd;if(ot)return Te;ot=0x1;const _0xe6c67=_0x19ae85,_0x588bc0=_0x650d7f,{Duplex:_0x217080}=_0x2a8bf7,{createHash:_0x399491}=_0x4d7578,_0x4d04b9=pt(),_0xc2bae6=he(),_0x51bc74=Jt(),_0x4195d4=Ie(),{GUID:_0x4a6735,kWebSocket:_0x59b803}=V(),_0x50f925=/^[+/0-9A-Za-z]{22}==$/,_0x1d30f2=0x0,_0x1ec205=0x1,_0xefe0d7=0x2;class _0x497461 extends _0xe6c67{constructor(_0x4789a1,_0x2ea5e5){const _0x17ba5d=_0x1024;if(super(),_0x4789a1={'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':_0x4195d4,..._0x4789a1},_0x4789a1[_0x17ba5d(0x108)]==null&&!_0x4789a1[_0x17ba5d(0xbc)]&&!_0x4789a1[_0x17ba5d(0x1fb)]||_0x4789a1[_0x17ba5d(0x108)]!=null&&(_0x4789a1['server']||_0x4789a1[_0x17ba5d(0x1fb)])||_0x4789a1[_0x17ba5d(0xbc)]&&_0x4789a1[_0x17ba5d(0x1fb)])throw new TypeError(_0x17ba5d(0x1ca));if(_0x4789a1['port']!=null?(this[_0x17ba5d(0xcb)]=_0x588bc0[_0x17ba5d(0x1ef)]((_0x7aeea9,_0x5555aa)=>{const _0x2b53dd=_0x17ba5d,_0x4817d7=_0x588bc0[_0x2b53dd(0x1ed)][0x1aa];_0x5555aa['writeHead'](0x1aa,{'Content-Length':_0x4817d7[_0x2b53dd(0x14a)],'Content-Type':_0x2b53dd(0x8d)}),_0x5555aa[_0x2b53dd(0xa1)](_0x4817d7);}),this['_server'][_0x17ba5d(0xe6)](_0x4789a1['port'],_0x4789a1[_0x17ba5d(0xcf)],_0x4789a1[_0x17ba5d(0x1ad)],_0x2ea5e5)):_0x4789a1[_0x17ba5d(0xbc)]&&(this[_0x17ba5d(0xcb)]=_0x4789a1[_0x17ba5d(0xbc)]),this[_0x17ba5d(0xcb)]){const _0x5a5c94=this[_0x17ba5d(0x205)][_0x17ba5d(0x144)](this,_0x17ba5d(0x180));this['_removeListeners']=_0x2d1fdd(this[_0x17ba5d(0xcb)],{'listening':this[_0x17ba5d(0x205)][_0x17ba5d(0x144)](this,'listening'),'error':this['emit'][_0x17ba5d(0x144)](this,_0x17ba5d(0x18a)),'upgrade':(_0x16626c,_0x5d18b6,_0xde6ee5)=>{const _0x568a95=_0x17ba5d;this[_0x568a95(0xf5)](_0x16626c,_0x5d18b6,_0xde6ee5,_0x5a5c94);}});}_0x4789a1[_0x17ba5d(0x152)]===!0x0&&(_0x4789a1[_0x17ba5d(0x152)]={}),_0x4789a1[_0x17ba5d(0x192)]&&(this[_0x17ba5d(0xfb)]=new Set(),this[_0x17ba5d(0x1e7)]=!0x1),this['options']=_0x4789a1,this['_state']=_0x1d30f2;}[_0x121c53(0x105)](){const _0x59b534=_0x121c53;if(this[_0x59b534(0x181)][_0x59b534(0x1fb)])throw new Error(_0x59b534(0x1e9));return this[_0x59b534(0xcb)]?this[_0x59b534(0xcb)][_0x59b534(0x105)]():null;}[_0x121c53(0x196)](_0x8a8814){const _0x1bfda8=_0x121c53;if(this[_0x1bfda8(0xaf)]===_0xefe0d7){_0x8a8814&&this['once'](_0x1bfda8(0x196),()=>{const _0x4561cd=_0x1bfda8;_0x8a8814(new Error(_0x4561cd(0x122)));}),process[_0x1bfda8(0xd0)](_0x5a0049,this);return;}if(_0x8a8814&&this[_0x1bfda8(0x1d6)](_0x1bfda8(0x196),_0x8a8814),this[_0x1bfda8(0xaf)]!==_0x1ec205){if(this[_0x1bfda8(0xaf)]=_0x1ec205,this[_0x1bfda8(0x181)][_0x1bfda8(0x1fb)]||this[_0x1bfda8(0x181)][_0x1bfda8(0xbc)])this[_0x1bfda8(0xcb)]&&(this[_0x1bfda8(0x217)](),this['_removeListeners']=this[_0x1bfda8(0xcb)]=null),this[_0x1bfda8(0xfb)]?this[_0x1bfda8(0xfb)][_0x1bfda8(0x1b3)]?this[_0x1bfda8(0x1e7)]=!0x0:process['nextTick'](_0x5a0049,this):process[_0x1bfda8(0xd0)](_0x5a0049,this);else{const _0x8399da=this[_0x1bfda8(0xcb)];this['_removeListeners'](),this[_0x1bfda8(0x217)]=this[_0x1bfda8(0xcb)]=null,_0x8399da[_0x1bfda8(0x196)](()=>{_0x5a0049(this);});}}}[_0x121c53(0xe7)](_0x4b4e15){const _0x1b8588=_0x121c53;if(this['options']['path']){const _0x2c5616=_0x4b4e15[_0x1b8588(0x1e3)][_0x1b8588(0x135)]('?');if((_0x2c5616!==-0x1?_0x4b4e15[_0x1b8588(0x1e3)][_0x1b8588(0x16c)](0x0,_0x2c5616):_0x4b4e15[_0x1b8588(0x1e3)])!==this['options'][_0x1b8588(0x88)])return!0x1;}return!0x0;}[_0x121c53(0xf5)](_0x47f0bf,_0xf2c4c,_0x21db58,_0x32d127){const _0xc1eceb=_0x121c53;_0xf2c4c['on'](_0xc1eceb(0x18a),_0x2addc7);const _0x18f379=_0x47f0bf[_0xc1eceb(0xaa)]['sec-websocket-key'],_0x3809c9=_0x47f0bf['headers'][_0xc1eceb(0x15a)],_0x1ada66=+_0x47f0bf[_0xc1eceb(0xaa)]['sec-websocket-version'];if(_0x47f0bf[_0xc1eceb(0x1a7)]!=='GET'){_0x52f02f(this,_0x47f0bf,_0xf2c4c,0x195,'Invalid\x20HTTP\x20method');return;}if(_0x3809c9===void 0x0||_0x3809c9[_0xc1eceb(0x82)]()!=='websocket'){_0x52f02f(this,_0x47f0bf,_0xf2c4c,0x190,'Invalid\x20Upgrade\x20header');return;}if(_0x18f379===void 0x0||!_0x50f925[_0xc1eceb(0x1c6)](_0x18f379)){_0x52f02f(this,_0x47f0bf,_0xf2c4c,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header');return;}if(_0x1ada66!==0x8&&_0x1ada66!==0xd){_0x52f02f(this,_0x47f0bf,_0xf2c4c,0x190,_0xc1eceb(0xd3));return;}if(!this[_0xc1eceb(0xe7)](_0x47f0bf)){_0x234bf0(_0xf2c4c,0x190);return;}const _0x1ed9a6=_0x47f0bf['headers'][_0xc1eceb(0xf3)];let _0x350636=new Set();if(_0x1ed9a6!==void 0x0)try{_0x350636=_0x51bc74[_0xc1eceb(0x133)](_0x1ed9a6);}catch{_0x52f02f(this,_0x47f0bf,_0xf2c4c,0x190,_0xc1eceb(0x22b));return;}const _0x298b7d=_0x47f0bf[_0xc1eceb(0xaa)][_0xc1eceb(0x149)],_0x34d5da={};if(this[_0xc1eceb(0x181)][_0xc1eceb(0x152)]&&_0x298b7d!==void 0x0){const _0x545dd6=new _0xc2bae6(this[_0xc1eceb(0x181)]['perMessageDeflate'],!0x0,this[_0xc1eceb(0x181)][_0xc1eceb(0x1e5)]);try{const _0xbcd741=_0x4d04b9[_0xc1eceb(0x133)](_0x298b7d);_0xbcd741[_0xc2bae6['extensionName']]&&(_0x545dd6[_0xc1eceb(0x156)](_0xbcd741[_0xc2bae6[_0xc1eceb(0x141)]]),_0x34d5da[_0xc2bae6[_0xc1eceb(0x141)]]=_0x545dd6);}catch{_0x52f02f(this,_0x47f0bf,_0xf2c4c,0x190,'Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header');return;}}if(this[_0xc1eceb(0x181)][_0xc1eceb(0x1fc)]){const _0x510e6c={'origin':_0x47f0bf[_0xc1eceb(0xaa)][''+(_0x1ada66===0x8?_0xc1eceb(0x101):_0xc1eceb(0xef))],'secure':!!(_0x47f0bf[_0xc1eceb(0x20a)][_0xc1eceb(0x107)]||_0x47f0bf[_0xc1eceb(0x20a)][_0xc1eceb(0x14b)]),'req':_0x47f0bf};if(this[_0xc1eceb(0x181)][_0xc1eceb(0x1fc)][_0xc1eceb(0x14a)]===0x2){this['options'][_0xc1eceb(0x1fc)](_0x510e6c,(_0xbcad50,_0x19761a,_0xc6fbb3,_0x1534ce)=>{if(!_0xbcad50)return _0x234bf0(_0xf2c4c,_0x19761a||0x191,_0xc6fbb3,_0x1534ce);this['completeUpgrade'](_0x34d5da,_0x18f379,_0x350636,_0x47f0bf,_0xf2c4c,_0x21db58,_0x32d127);});return;}if(!this[_0xc1eceb(0x181)][_0xc1eceb(0x1fc)](_0x510e6c))return _0x234bf0(_0xf2c4c,0x191);}this[_0xc1eceb(0x16b)](_0x34d5da,_0x18f379,_0x350636,_0x47f0bf,_0xf2c4c,_0x21db58,_0x32d127);}[_0x121c53(0x16b)](_0x4b5635,_0x50f6fa,_0x5622d0,_0x5d2cf5,_0x7d343e,_0x5434a1,_0x1f8ac0){const _0x1657e5=_0x121c53;if(!_0x7d343e[_0x1657e5(0xd4)]||!_0x7d343e[_0x1657e5(0x219)])return _0x7d343e[_0x1657e5(0x92)]();if(_0x7d343e[_0x59b803])throw new Error(_0x1657e5(0x1f2));if(this[_0x1657e5(0xaf)]>_0x1d30f2)return _0x234bf0(_0x7d343e,0x1f7);const _0x159a76=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0x1657e5(0x9a),_0x1657e5(0xc6),_0x1657e5(0x163)+_0x399491(_0x1657e5(0x1cf))[_0x1657e5(0x132)](_0x50f6fa+_0x4a6735)[_0x1657e5(0x179)]('base64')],_0x279bc2=new this[(_0x1657e5(0x181))][(_0x1657e5(0x9e))](null,void 0x0,this[_0x1657e5(0x181)]);if(_0x5622d0[_0x1657e5(0x1b3)]){const _0x300237=this[_0x1657e5(0x181)][_0x1657e5(0x8b)]?this[_0x1657e5(0x181)][_0x1657e5(0x8b)](_0x5622d0,_0x5d2cf5):_0x5622d0['values']()[_0x1657e5(0x17a)]()[_0x1657e5(0x12b)];_0x300237&&(_0x159a76[_0x1657e5(0x13a)](_0x1657e5(0x1dd)+_0x300237),_0x279bc2[_0x1657e5(0x218)]=_0x300237);}if(_0x4b5635[_0xc2bae6[_0x1657e5(0x141)]]){const _0x59a7bd=_0x4b5635[_0xc2bae6['extensionName']][_0x1657e5(0x166)],_0x282f91=_0x4d04b9['format']({[_0xc2bae6['extensionName']]:[_0x59a7bd]});_0x159a76[_0x1657e5(0x13a)](_0x1657e5(0x138)+_0x282f91),_0x279bc2[_0x1657e5(0x13f)]=_0x4b5635;}this[_0x1657e5(0x205)](_0x1657e5(0xaa),_0x159a76,_0x5d2cf5),_0x7d343e['write'](_0x159a76[_0x1657e5(0x1d5)]('\x0d\x0a')[_0x1657e5(0x1e8)]('\x0d\x0a')),_0x7d343e[_0x1657e5(0x1ae)](_0x1657e5(0x18a),_0x2addc7),_0x279bc2[_0x1657e5(0x200)](_0x7d343e,_0x5434a1,{'allowSynchronousEvents':this[_0x1657e5(0x181)][_0x1657e5(0x233)],'maxPayload':this[_0x1657e5(0x181)][_0x1657e5(0x1e5)],'skipUTF8Validation':this['options'][_0x1657e5(0x9f)]}),this[_0x1657e5(0xfb)]&&(this[_0x1657e5(0xfb)]['add'](_0x279bc2),_0x279bc2['on'](_0x1657e5(0x196),()=>{const _0x2800b1=_0x1657e5;this['clients'][_0x2800b1(0x15b)](_0x279bc2),this[_0x2800b1(0x1e7)]&&!this[_0x2800b1(0xfb)][_0x2800b1(0x1b3)]&&process[_0x2800b1(0xd0)](_0x5a0049,this);})),_0x1f8ac0(_0x279bc2,_0x5d2cf5);}}Te=_0x497461;function _0x2d1fdd(_0x208f48,_0x33c5ab){for(const _0x5460dd of Object['keys'](_0x33c5ab))_0x208f48['on'](_0x5460dd,_0x33c5ab[_0x5460dd]);return function(){const _0x287ac2=_0x1024;for(const _0x32348e of Object[_0x287ac2(0x1b4)](_0x33c5ab))_0x208f48['removeListener'](_0x32348e,_0x33c5ab[_0x32348e]);};}function _0x5a0049(_0x1dc4be){const _0x50cd60=_0x121c53;_0x1dc4be[_0x50cd60(0xaf)]=_0xefe0d7,_0x1dc4be['emit'](_0x50cd60(0x196));}function _0x2addc7(){const _0x1e7942=_0x121c53;this[_0x1e7942(0x92)]();}function _0x234bf0(_0x9ae387,_0x1ad9b9,_0x3b8076,_0x2726cb){const _0x2d3868=_0x121c53;_0x3b8076=_0x3b8076||_0x588bc0[_0x2d3868(0x1ed)][_0x1ad9b9],_0x2726cb={'Connection':_0x2d3868(0x196),'Content-Type':'text/html','Content-Length':Buffer[_0x2d3868(0xb6)](_0x3b8076),..._0x2726cb},_0x9ae387[_0x2d3868(0x1d6)]('finish',_0x9ae387['destroy']),_0x9ae387[_0x2d3868(0xa1)](_0x2d3868(0xf6)+_0x1ad9b9+'\x20'+_0x588bc0[_0x2d3868(0x1ed)][_0x1ad9b9]+'\x0d\x0a'+Object[_0x2d3868(0x1b4)](_0x2726cb)[_0x2d3868(0x14d)](_0x3482e2=>_0x3482e2+':\x20'+_0x2726cb[_0x3482e2])[_0x2d3868(0x1e8)]('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0x3b8076);}function _0x52f02f(_0x4b03f5,_0x5a2da0,_0xbf11ce,_0x3b19cd,_0x370d76){const _0x2206e3=_0x121c53;if(_0x4b03f5['listenerCount']('wsClientError')){const _0x510475=new Error(_0x370d76);Error['captureStackTrace'](_0x510475,_0x52f02f),_0x4b03f5[_0x2206e3(0x205)](_0x2206e3(0x7f),_0x510475,_0xbf11ce,_0x5a2da0);}else _0x234bf0(_0xbf11ce,_0x3b19cd,_0x370d76);}return Te;}er();var tr=Object[_0x5befdd(0x167)],rr=(_0x9bac6b,_0x3753db,_0x578cd1,_0x1465ec)=>{const _0x3befc2=_0x5befdd;for(var _0x2ac72a=_0x1465ec>0x1?void 0x0:_0x1465ec?tr(_0x3753db,_0x578cd1):_0x3753db,_0x5d86d5=_0x9bac6b[_0x3befc2(0x14a)]-0x1,_0x4ed490;_0x5d86d5>=0x0;_0x5d86d5--)(_0x4ed490=_0x9bac6b[_0x5d86d5])&&(_0x2ac72a=_0x4ed490(_0x2ac72a)||_0x2ac72a);return _0x2ac72a;},sr=(_0x387c43,_0x262347)=>(_0x6ac7c,_0x1c8feb)=>_0x262347(_0x6ac7c,_0x1c8feb,_0x387c43);let Ne=class extends _0x20ddb8{constructor(_0x617f00){const _0x22d988=_0x5befdd;super(),this[_0x22d988(0x18d)]=_0x617f00;}[_0x5befdd(0x1a4)](_0x5523a6){const _0x5eba51=_0x5befdd;var _0x7551f1;const _0x5a7b5f=(_0x7551f1=this[_0x5eba51(0x18d)]['getConfig'](Be))==null?void 0x0:_0x7551f1['customHeaders'];try{const _0x446a3e=new Qt(_0x5523a6,{'headers':{..._0x5a7b5f}}),_0x41150e=new _0x484ed4();return{'URL':_0x5523a6,'close':(_0x41a710,_0xa3884c)=>{const _0x3ee07a=_0x5eba51;_0x446a3e[_0x3ee07a(0x196)](_0x41a710,_0xa3884c),_0x41150e['dispose']();},'send':_0x17e9a9=>{const _0x3dee42=_0x5eba51;_0x446a3e[_0x3dee42(0x98)](_0x17e9a9);},'open$':new _0x25f7cd(_0x260e29=>{const _0x147a91=_0x5eba51,_0xf71b6c=_0x52150f=>_0x260e29[_0x147a91(0x17a)](_0x52150f);_0x446a3e[_0x147a91(0x161)](_0x147a91(0x8c),_0xf71b6c),_0x41150e[_0x147a91(0x1c3)](_0x2cdff4(()=>_0x446a3e[_0x147a91(0x170)](_0x147a91(0x8c),_0xf71b6c)));})[_0x5eba51(0xe4)](_0x3b7daa()),'close$':new _0x25f7cd(_0x3bb184=>{const _0x57410e=_0x5eba51,_0x124675=_0x2e7e88=>_0x3bb184['next'](_0x2e7e88);_0x446a3e['addEventListener']('close',_0x124675),_0x41150e[_0x57410e(0x1c3)](_0x2cdff4(()=>_0x446a3e[_0x57410e(0x170)](_0x57410e(0x196),_0x124675)));})['pipe'](_0x3b7daa()),'error$':new _0x25f7cd(_0x1af84f=>{const _0x3fa1a3=_0x5eba51,_0x454e6a=_0x1719ae=>_0x1af84f['next'](_0x1719ae);_0x446a3e[_0x3fa1a3(0x161)](_0x3fa1a3(0x18a),_0x454e6a),_0x41150e['add'](_0x2cdff4(()=>_0x446a3e[_0x3fa1a3(0x170)](_0x3fa1a3(0x18a),_0x454e6a)));})[_0x5eba51(0xe4)](_0x3b7daa()),'message$':new _0x25f7cd(_0x56a94f=>{const _0x46bc8e=_0x5eba51,_0x5c9101=_0x5c6653=>_0x56a94f[_0x46bc8e(0x17a)](_0x5c6653);_0x446a3e[_0x46bc8e(0x161)](_0x46bc8e(0xa9),_0x5c9101),_0x41150e[_0x46bc8e(0x1c3)](_0x2cdff4(()=>_0x446a3e[_0x46bc8e(0x170)]('message',_0x5c9101)));})[_0x5eba51(0xe4)](_0x3b7daa())};}catch(_0xdaf477){return console['error'](_0xdaf477),null;}}};Ne=rr([sr(0x0,_0xbe70ab)],Ne);var ir=Object[_0x5befdd(0x1ac)],nr=Object[_0x5befdd(0x167)],or=(_0x363b71,_0x3ff314,_0x29ee6c)=>_0x3ff314 in _0x363b71?ir(_0x363b71,_0x3ff314,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x29ee6c}):_0x363b71[_0x3ff314]=_0x29ee6c,ar=(_0x30d818,_0x261151,_0x5705f0,_0x76fc72)=>{for(var _0x56a491=_0x76fc72>0x1?void 0x0:_0x76fc72?nr(_0x261151,_0x5705f0):_0x261151,_0x417878=_0x30d818['length']-0x1,_0x22d091;_0x417878>=0x0;_0x417878--)(_0x22d091=_0x30d818[_0x417878])&&(_0x56a491=_0x22d091(_0x56a491)||_0x56a491);return _0x56a491;},ke=(_0x427c40,_0x3e510c)=>(_0x330ec5,_0x254a2d)=>_0x3e510c(_0x330ec5,_0x254a2d,_0x427c40),lr=(_0x4988bb,_0x17b145,_0x4ddf87)=>or(_0x4988bb,_0x17b145+'',_0x4ddf87);let Pe=class extends _0x7590e{constructor(_0x2696d5=Ft,_0x2ccd1a,_0x3f1622,_0x45b742){const _0x40d459=_0x5befdd;_0x2696d5[_0x40d459(0x148)]||_0x2ccd1a['warn'](_0x40d459(0x12c)),super(),this['_configService']=_0x3f1622,this[_0x40d459(0x1f4)]=_0x45b742,this[_0x40d459(0x18d)]['setConfig'](Be,_0x2696d5);}['onStarting'](){const _0x66eff0=_0x5befdd;this[_0x66eff0(0x8f)]();}['_registerDependencies'](){const _0x1c5ef6=_0x5befdd;_0x351b5f(this[_0x1c5ef6(0x1f4)],[[_0x5b14f9,{'useClass':Ne}]]);}};lr(Pe,_0x5befdd(0x14c),_0x5befdd(0x21a)),Pe=ar([_0x1a3c1f(_0x1e6f2b),ke(0x1,_0x2f93e1),ke(0x2,_0xbe70ab),ke(0x3,_0x3a8c02(_0x3cc377))],Pe);var fr=Object[_0x5befdd(0x167)],cr=(_0x3e37cf,_0x38f3fd,_0x1891ed,_0x4306bb)=>{for(var _0x1b2cd9=_0x4306bb>0x1?void 0x0:_0x4306bb?fr(_0x38f3fd,_0x1891ed):_0x38f3fd,_0xfe53d1=_0x3e37cf['length']-0x1,_0x31c498;_0xfe53d1>=0x0;_0xfe53d1--)(_0x31c498=_0x3e37cf[_0xfe53d1])&&(_0x1b2cd9=_0x31c498(_0x1b2cd9)||_0x1b2cd9);return _0x1b2cd9;},se=(_0x571586,_0x4a584c)=>(_0x30e7bf,_0x5a5a72)=>_0x4a584c(_0x30e7bf,_0x5a5a72,_0x571586);let at=class extends _0x45e86c{constructor(_0x3c31dd,_0x55e300,_0x8c619d,_0x195341,_0x4ed10a){const _0x59d545=_0x5befdd;super(_0x3c31dd,_0x55e300,_0x8c619d,_0x195341,_0x4ed10a);const _0x1f29b0=this[_0x59d545(0x18d)][_0x59d545(0x14e)](Be);this[_0x59d545(0x201)][_0x59d545(0x1ab)]({'interceptor':(_0x15a830,_0x4751e2)=>{const _0x4816ba=_0x59d545;var _0x50dc05;const _0x56c081=_0x15a830[_0x4816ba(0xaa)];return(_0x50dc05=_0x1f29b0==null?void 0x0:_0x1f29b0['customHeaders'])!=null&&_0x50dc05['cookie']&&_0x56c081[_0x4816ba(0xdd)](_0x4816ba(0x190),_0x1f29b0['customHeaders'][_0x4816ba(0xfe)]),_0x4751e2(_0x15a830);}});}async[_0x5befdd(0x1a4)](_0x800106){const _0x4b2bf0=_0x5befdd;return this[_0x4b2bf0(0x1d2)](_0x800106);}};at=cr([se(0x0,_0x3a8c02(_0x3cc377)),se(0x1,_0x3a8c02(_0xd68b67)),se(0x2,_0xbe70ab),se(0x3,_0x2f93e1),se(0x4,_0x329910)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
1
+ const _0x3d1fcd=_0x4ce0;(function(_0x68d1fa,_0x216b2b){const _0x2eb5fc=_0x4ce0,_0x129723=_0x68d1fa();while(!![]){try{const _0x235efa=-parseInt(_0x2eb5fc(0x302))/0x1*(-parseInt(_0x2eb5fc(0x265))/0x2)+parseInt(_0x2eb5fc(0x1af))/0x3*(-parseInt(_0x2eb5fc(0x2fc))/0x4)+parseInt(_0x2eb5fc(0x1d5))/0x5+parseInt(_0x2eb5fc(0x2be))/0x6*(parseInt(_0x2eb5fc(0x272))/0x7)+-parseInt(_0x2eb5fc(0x1df))/0x8*(parseInt(_0x2eb5fc(0x2e5))/0x9)+parseInt(_0x2eb5fc(0x2a6))/0xa*(parseInt(_0x2eb5fc(0x268))/0xb)+-parseInt(_0x2eb5fc(0x17c))/0xc*(parseInt(_0x2eb5fc(0x1ae))/0xd);if(_0x235efa===_0x216b2b)break;else _0x129723['push'](_0x129723['shift']());}catch(_0x39092b){_0x129723['push'](_0x129723['shift']());}}}(_0x4640,0xd8c67));import{UniverCollaborationClientPlugin as _0xb8a37e,CollaborationSocketService as _0x4172d3}from'@univerjs-pro/collaboration-client';import{Disposable as _0x52150d,DisposableCollection as _0x328f29,toDisposable as _0x2be58f,IConfigService as _0x34b949,DependentOn as _0x13a7eb,ILogService as _0x3b63b8,Inject as _0x70b42b,Injector as _0x1ac4c4,Plugin as _0xef1866,registerDependencies as _0x191e50}from'@univerjs/core';import{ISocketService as _0x29cca4,HTTPService as _0x1f6797}from'@univerjs/network';import{Observable as _0x5b495a,share as _0x4d5136}from'rxjs';import _0x29ee69 from'events';import _0x5d1432 from'https';import _0xf10a13 from'http';function _0x4640(){const _0x1ef87e=['binaryType','clientMaxWindowBits','update','socketPath','terminate','readUInt32BE','normalizeParams','errorEmitted','_deflate','finishRequest','parse','authorization','_closeFrameReceived','blob','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','extensionName','params','uncork','_fin','setSocket','WS_ERR_UNEXPECTED_RSV_1','readUInt16BE','keys','protocol','clientTracking','createSocket','612WTmOoG','_closeMessage','pow','number','_shouldEmitClose','Sec-WebSocket-Extensions','http:','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','protocolVersion','autoPong','isBuffer','pending','object','\x0d\x0a\x0d\x0a','kCode','Z_SYNC_FLUSH','emit','handleUpgrade','Server\x20sent\x20no\x20subprotocol','address','nextTick','objectMode','startsWith','nodebuffer','readyState','redirect','construct','allowSynchronousEvents','Server\x20sent\x20an\x20invalid\x20subprotocol','kError','_removeListeners','createError','removeAllListeners','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','compress','delete','createConnection','connect','WebSocket\x20is\x20not\x20open:\x20readyState\x20','href','setNoDelay','allocUnsafe','isServer','_url','request','destroy','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','listen','next','bind','350948cLFhhg','129JBrWIa','WS_ERR_EXPECTED_MASK','forEach','concurrency','text/html','reset','createInflateRaw','defaultPort','Upgrade:\x20websocket','arraybuffer','sec-websocket-protocol','error','wasClean','buffers','WS_ERR_UNEXPECTED_RSV_2_3','\x22:\x20','code','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','_readableState','url','wss:','_maxPayload','warn','_destroy','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','_no_context_takeover','MASK\x20must\x20be\x20clear','Invalid\x20HTTP\x20method','\x22\x20subprotocol\x20is\x20duplicated','_sender','Sec-WebSocket-Extensions:\x20','removeEventListener','OPEN','sec-websocket-accept','method','status-code','apply','startLoop','6323910NWkLaj','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','_closeFrameSent','server','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','Unexpected\x20character\x20at\x20index\x20','jobs','followRedirects','string','pipe','8vtHAPx','clientNoContextTakeover','verifyClient','_generateMask','_payloadLength','Invalid\x20Upgrade\x20header','port','sec-websocket-extensions','_binaryType','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','isIP','setTimeout','skipUTF8Validation','conclude','auth','createServer','_skipUTF8Validation','WS_ERR_INVALID_UTF8','_max_window_bits','WS_ERR_UNEXPECTED_MASK','getData','WS_NO_UTF_8_VALIDATE','push','message','perMessageDeflate','_write','includes','sha1','finished','frame','_protocol','listeners','_inflate','writeHead','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','exports','readable','\x20(supported\x20versions:\x20','_readyState','drain','onopen','_compress','_fragmented','Maximum\x20redirects\x20exceeded','toStringTag','authorized','binary','_writableState','alloc','concat','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','Invalid\x20Sec-WebSocket-Protocol\x20header','client_no_context_takeover','_closeTimer','text/plain','hostname','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','The\x20URL\x27s\x20pathname\x20is\x20empty','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','_redirects','isPaused','cookie','_receiver','test','emitClose','isInteger','Invalid\x20WebSocket\x20frame:\x20','pluginName','kReason','_mask','_closeCode','search','options','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','join','function','maxPayload','has','resume','Sec-WebSocket-Origin','shift','mask','timeout','client_max_window_bits','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','_loop','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','WS_NO_BUFFER_UTIL','entries','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','fin','_paused','dispatch','username','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','pause','set','concurrencyLimit','_doCreateSocket','server_max_window_bits','extensions','GET','Blob','values','getConfig','hash','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','_isServer','_opcode','onclose','then','Parameter\x20\x22','kIsForOnEventAttribute','ping','_buffers','STATUS_CODES','consume','decompress','path','addEventListener','_allowSynchronousEvents','Sec-WebSocket-Protocol:\x20','listening','setHeader','origin','opcode','data','permessage-deflate','send','headers','haveLength','accept','upgrade','host','20SSIsos','split','kTarget','11wzIbxd','default','Unsupported\x20protocol\x20version:\x20','flush','_errored','acceptAsClient','defineProperty','add','size','prototype','14ZEMhyM','toLowerCase','WS_ERR_INVALID_OPCODE','HTTP/1.1\x20','once','_bufferedBytes','dispose','get','_extensions','Invalid\x20Sec-WebSocket-Extensions\x20header','sendFrame','captureStackTrace','_decompress','\x22\x20must\x20have\x20only\x20a\x20single\x20value','_errorEmitted','endEmitted','toString','read','getMask','controlMessage','slice','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','Invalid\x20URL:\x20','The\x20server\x20is\x20not\x20running','hasOwnProperty','onerror','needDrain','callback','byteOffset','from','_server','format','_state','unexpected-response','shouldHandle','pong','_injector','find','client','bufferedAmount','listenerCount','getInfo','fragments','call','buffer','https:','WS_ERR_INVALID_CLOSE_CODE','Module','_originalIpc','unmask','location','File','235810YdOIQh','Invalid\x20value\x20for\x20parameter\x20\x22','removeListener','serverNoContextTakeover','encrypted','handshakeTimeout','length','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','Cookie','env','The\x20\x22','isArray','Max\x20payload\x20size\x20exceeded','Invalid\x20Sec-WebSocket-Accept\x20header','enqueue','getBlobData','invalid\x20UTF-8\x20sequence','charCodeAt','_final','replace','CLOSING','acceptAsServer','Z_DEFAULT_WINDOWBITS','kByteLength','2137638sMPwZy','Unknown\x20parameter\x20\x22','registerHTTPInterceptor','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','_firstFragment','kType','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','_options','CLOSED','end','_messageLength','_fragments','abort','invalid\x20opcode\x20','type','byteLength','_masked','create','Unexpected\x20server\x20response:\x20','digest','FIN\x20must\x20be\x20set','catch','kAborted','threshold','CONNECTING','cork','getOwnPropertyDescriptor','finish','invalid\x20opcode\x200','Upgrade','isValidUTF8','handleProtocols','password','clients','target','completeUpgrade','dataMessage','close','The\x20URL\x20contains\x20a\x20fragment\x20identifier','2656827MsWpKb','Sec-WebSocket-Accept:\x20','_originalHostOrSocketPath','_originalSecure','_req','destroyed','Connection:\x20Upgrade','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','map','indexOf','arrayBuffer','species','handleEvent','Unexpected\x20end\x20of\x20input','_totalPayloadLength','invalid\x20payload\x20length\x20','sec-websocket-version','reason','_threshold','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','dequeue','_configService','RSV1\x20must\x20be\x20clear','32972FfCEwP','base64','_queue','getPayloadLength16','serverMaxWindowBits','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','91345Qvovoo','open','servername','createDeflateRaw','rsv1','constructor','_bufferedAmount','noServer','ws:','kRun','_compressed','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','server_no_context_takeover','pathname','_maskBuffer','Basic\x20','cleanup','onmessage','generateMask','_registerDependencies','sec-websocket-origin','write','socket','__esModule','Opening\x20handshake\x20has\x20timed\x20out','Origin','wsClientError','customHeaders','getPayloadLength64','websocket','_autoPong','statusCode','backlog','_socket','readOnly'];_0x4640=function(){return _0x1ef87e;};return _0x4640();}import _0x49d368 from'net';import _0x234c8e from'tls';import _0x2073e9 from'crypto';import _0xe7df3e from'stream';import _0x15cac9 from'url';import _0x45b67c from'zlib';import _0x5cc1d7 from'buffer';import{ISnapshotServerService as _0x5ae98e}from'@univerjs-pro/collaboration';const Be='collaboration-client-node.config',Ft={'customHeaders':{}};function jt(_0x40a75b){const _0x545c27=_0x4ce0;return _0x40a75b&&_0x40a75b[_0x545c27(0x156)]&&Object['prototype'][_0x545c27(0x28a)][_0x545c27(0x29d)](_0x40a75b,'default')?_0x40a75b[_0x545c27(0x269)]:_0x40a75b;}function ut(_0x5d1ae0){const _0x35e15e=_0x4ce0;if(Object['prototype'][_0x35e15e(0x28a)][_0x35e15e(0x29d)](_0x5d1ae0,_0x35e15e(0x156)))return _0x5d1ae0;var _0x1f8179=_0x5d1ae0[_0x35e15e(0x269)];if(typeof _0x1f8179==_0x35e15e(0x22a)){var _0x962deb=function _0x420c29(){const _0x411125=_0x35e15e;return this instanceof _0x420c29?Reflect[_0x411125(0x196)](_0x1f8179,arguments,this[_0x411125(0x307)]):_0x1f8179[_0x411125(0x1d3)](this,arguments);};_0x962deb['prototype']=_0x1f8179[_0x35e15e(0x271)];}else _0x962deb={};return Object[_0x35e15e(0x26e)](_0x962deb,'__esModule',{'value':!0x0}),Object[_0x35e15e(0x178)](_0x5d1ae0)['forEach'](function(_0x560059){const _0x3d14ff=_0x35e15e;var _0x4faa73=Object['getOwnPropertyDescriptor'](_0x5d1ae0,_0x560059);Object['defineProperty'](_0x962deb,_0x560059,_0x4faa73[_0x3d14ff(0x279)]?_0x4faa73:{'enumerable':!0x0,'get':function(){return _0x5d1ae0[_0x560059];}});}),_0x962deb;}var te={'exports':{}},ge,Ye;function V(){const _0x5dad8b=_0x4ce0;if(Ye)return ge;Ye=0x1;const _0x4f7826=['nodebuffer',_0x5dad8b(0x1b8),_0x5dad8b(0x29c)],_0xaf3ea4=typeof Blob<'u';return _0xaf3ea4&&_0x4f7826[_0x5dad8b(0x1f5)](_0x5dad8b(0x16f)),ge={'BINARY_TYPES':_0x4f7826,'EMPTY_BUFFER':Buffer[_0x5dad8b(0x20f)](0x0),'GUID':_0x5dad8b(0x1d6),'hasBlob':_0xaf3ea4,'kForOnEventAttribute':Symbol(_0x5dad8b(0x24f)),'kListener':Symbol('kListener'),'kStatusCode':Symbol(_0x5dad8b(0x1d2)),'kWebSocket':Symbol(_0x5dad8b(0x15c)),'NOOP':()=>{}},ge;}const Wt={},Gt=Object['freeze'](Object['defineProperty']({'__proto__':null,'default':Wt},Symbol[_0x3d1fcd(0x20b)],{'value':_0x3d1fcd(0x2a1)})),Vt=ut(Gt);var Ke;function ce(){const _0x19de71=_0x3d1fcd;if(Ke)return te[_0x19de71(0x202)];Ke=0x1;const {EMPTY_BUFFER:_0x1e3674}=V(),_0x147111=Buffer[Symbol[_0x19de71(0x2f0)]];function _0x1c1eed(_0x2e4488,_0x27ea26){const _0x2ff087=_0x19de71;if(_0x2e4488[_0x2ff087(0x2ac)]===0x0)return _0x1e3674;if(_0x2e4488[_0x2ff087(0x2ac)]===0x1)return _0x2e4488[0x0];const _0x4c0784=Buffer[_0x2ff087(0x1a5)](_0x27ea26);let _0x2c26ca=0x0;for(let _0x258d75=0x0;_0x258d75<_0x2e4488[_0x2ff087(0x2ac)];_0x258d75++){const _0x3e74aa=_0x2e4488[_0x258d75];_0x4c0784['set'](_0x3e74aa,_0x2c26ca),_0x2c26ca+=_0x3e74aa[_0x2ff087(0x2ac)];}return _0x2c26ca<_0x27ea26?new _0x147111(_0x4c0784[_0x2ff087(0x29e)],_0x4c0784[_0x2ff087(0x28e)],_0x2c26ca):_0x4c0784;}function _0x3607d3(_0x148425,_0x57b882,_0x73737a,_0xc2e3fe,_0x2b3c5c){for(let _0x4e9067=0x0;_0x4e9067<_0x2b3c5c;_0x4e9067++)_0x73737a[_0xc2e3fe+_0x4e9067]=_0x148425[_0x4e9067]^_0x57b882[_0x4e9067&0x3];}function _0x57dd6b(_0x4ede76,_0x122c21){const _0x5b6a66=_0x19de71;for(let _0x2702d2=0x0;_0x2702d2<_0x4ede76[_0x5b6a66(0x2ac)];_0x2702d2++)_0x4ede76[_0x2702d2]^=_0x122c21[_0x2702d2&0x3];}function _0x1f4f62(_0x47ebff){const _0x203514=_0x19de71;return _0x47ebff['length']===_0x47ebff['buffer'][_0x203514(0x2cd)]?_0x47ebff[_0x203514(0x29e)]:_0x47ebff[_0x203514(0x29e)][_0x203514(0x286)](_0x47ebff[_0x203514(0x28e)],_0x47ebff['byteOffset']+_0x47ebff[_0x203514(0x2ac)]);}function _0x565124(_0x17bf2a){const _0xfd720b=_0x19de71;if(_0x565124[_0xfd720b(0x161)]=!0x0,Buffer[_0xfd720b(0x186)](_0x17bf2a))return _0x17bf2a;let _0x59ac75;return _0x17bf2a instanceof ArrayBuffer?_0x59ac75=new _0x147111(_0x17bf2a):ArrayBuffer['isView'](_0x17bf2a)?_0x59ac75=new _0x147111(_0x17bf2a[_0xfd720b(0x29e)],_0x17bf2a['byteOffset'],_0x17bf2a[_0xfd720b(0x2cd)]):(_0x59ac75=Buffer[_0xfd720b(0x28f)](_0x17bf2a),_0x565124[_0xfd720b(0x161)]=!0x1),_0x59ac75;}if(te['exports']={'concat':_0x1c1eed,'mask':_0x3607d3,'toArrayBuffer':_0x1f4f62,'toBuffer':_0x565124,'unmask':_0x57dd6b},!process['env'][_0x19de71(0x236)])try{const _0x2004bc=Vt;te[_0x19de71(0x202)][_0x19de71(0x230)]=function(_0x5dd8dd,_0x3407be,_0x5d5e37,_0xf4a2ab,_0x190653){const _0x5957fe=_0x19de71;_0x190653<0x30?_0x3607d3(_0x5dd8dd,_0x3407be,_0x5d5e37,_0xf4a2ab,_0x190653):_0x2004bc[_0x5957fe(0x230)](_0x5dd8dd,_0x3407be,_0x5d5e37,_0xf4a2ab,_0x190653);},te[_0x19de71(0x202)][_0x19de71(0x2a3)]=function(_0x2ba6b9,_0x41d577){_0x2ba6b9['length']<0x20?_0x57dd6b(_0x2ba6b9,_0x41d577):_0x2004bc['unmask'](_0x2ba6b9,_0x41d577);};}catch{}return te[_0x19de71(0x202)];}var ye,Xe;function qt(){const _0x31c093=_0x3d1fcd;if(Xe)return ye;Xe=0x1;const _0x86dc7c=Symbol('kDone'),_0x1762dd=Symbol(_0x31c093(0x30b));class _0xd41313{constructor(_0x49e3a4){const _0x525342=_0x31c093;this[_0x86dc7c]=()=>{this['pending']--,this[_0x1762dd]();},this[_0x525342(0x1b2)]=_0x49e3a4||0x1/0x0,this[_0x525342(0x1db)]=[],this[_0x525342(0x187)]=0x0;}[_0x31c093(0x26f)](_0x4079c1){const _0x2e34ae=_0x31c093;this[_0x2e34ae(0x1db)]['push'](_0x4079c1),this[_0x1762dd]();}[_0x1762dd](){const _0x53048b=_0x31c093;if(this[_0x53048b(0x187)]!==this[_0x53048b(0x1b2)]&&this[_0x53048b(0x1db)][_0x53048b(0x2ac)]){const _0x56476e=this['jobs'][_0x53048b(0x22f)]();this['pending']++,_0x56476e(this[_0x86dc7c]);}}}return ye=_0xd41313,ye;}var ve,Ze;function he(){const _0x413759=_0x3d1fcd;if(Ze)return ve;Ze=0x1;const _0x544430=_0x45b67c,_0xbf404d=ce(),_0x3470d5=qt(),{kStatusCode:_0x4526db}=V(),_0x381729=Buffer[Symbol['species']],_0x20c6d9=Buffer[_0x413759(0x28f)]([0x0,0x0,0xff,0xff]),_0x28f13a=Symbol(_0x413759(0x25e)),_0x53386c=Symbol('total-length'),_0x2ac03a=Symbol(_0x413759(0x28d)),_0x1f0ac4=Symbol(_0x413759(0x1bc)),_0x5ce0d1=Symbol(_0x413759(0x1ba));let _0x40c6c0;class _0x4351f7{constructor(_0x778f36,_0x1da477,_0x727864){const _0x477a40=_0x413759;if(this[_0x477a40(0x1c4)]=_0x727864|0x0,this[_0x477a40(0x2c5)]=_0x778f36||{},this[_0x477a40(0x2f7)]=this[_0x477a40(0x2c5)][_0x477a40(0x2d5)]!==void 0x0?this[_0x477a40(0x2c5)][_0x477a40(0x2d5)]:0x400,this[_0x477a40(0x24a)]=!!_0x1da477,this['_deflate']=null,this[_0x477a40(0x1ff)]=null,this['params']=null,!_0x40c6c0){const _0x2a4705=this[_0x477a40(0x2c5)][_0x477a40(0x240)]!==void 0x0?this[_0x477a40(0x2c5)][_0x477a40(0x240)]:0xa;_0x40c6c0=new _0x3470d5(_0x2a4705);}}static get['extensionName'](){return'permessage-deflate';}['offer'](){const _0x4f640c=_0x413759,_0x3b37c7={};return this[_0x4f640c(0x2c5)][_0x4f640c(0x2a9)]&&(_0x3b37c7['server_no_context_takeover']=!0x0),this[_0x4f640c(0x2c5)][_0x4f640c(0x1e0)]&&(_0x3b37c7['client_no_context_takeover']=!0x0),this[_0x4f640c(0x2c5)]['serverMaxWindowBits']&&(_0x3b37c7[_0x4f640c(0x242)]=this['_options'][_0x4f640c(0x300)]),this[_0x4f640c(0x2c5)][_0x4f640c(0x163)]?_0x3b37c7[_0x4f640c(0x232)]=this[_0x4f640c(0x2c5)][_0x4f640c(0x163)]:this['_options'][_0x4f640c(0x163)]==null&&(_0x3b37c7[_0x4f640c(0x232)]=!0x0),_0x3b37c7;}[_0x413759(0x262)](_0x20e0cf){const _0x23fbce=_0x413759;return _0x20e0cf=this[_0x23fbce(0x168)](_0x20e0cf),this[_0x23fbce(0x172)]=this[_0x23fbce(0x24a)]?this['acceptAsServer'](_0x20e0cf):this[_0x23fbce(0x26d)](_0x20e0cf),this['params'];}['cleanup'](){const _0x8ec3e4=_0x413759;if(this['_inflate']&&(this[_0x8ec3e4(0x1ff)]['close'](),this[_0x8ec3e4(0x1ff)]=null),this[_0x8ec3e4(0x16a)]){const _0xecf151=this['_deflate'][_0x2ac03a];this[_0x8ec3e4(0x16a)][_0x8ec3e4(0x2e3)](),this[_0x8ec3e4(0x16a)]=null,_0xecf151&&_0xecf151(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}[_0x413759(0x2bb)](_0x1491e9){const _0xcae085=_0x413759,_0x519526=this[_0xcae085(0x2c5)],_0x22d04b=_0x1491e9[_0xcae085(0x297)](_0x30d504=>!(_0x519526[_0xcae085(0x2a9)]===!0x1&&_0x30d504['server_no_context_takeover']||_0x30d504['server_max_window_bits']&&(_0x519526[_0xcae085(0x300)]===!0x1||typeof _0x519526[_0xcae085(0x300)]==_0xcae085(0x17f)&&_0x519526[_0xcae085(0x300)]>_0x30d504['server_max_window_bits'])||typeof _0x519526[_0xcae085(0x163)]==_0xcae085(0x17f)&&!_0x30d504[_0xcae085(0x232)]));if(!_0x22d04b)throw new Error(_0xcae085(0x1c0));return _0x519526[_0xcae085(0x2a9)]&&(_0x22d04b[_0xcae085(0x30e)]=!0x0),_0x519526[_0xcae085(0x1e0)]&&(_0x22d04b['client_no_context_takeover']=!0x0),typeof _0x519526[_0xcae085(0x300)]==_0xcae085(0x17f)&&(_0x22d04b['server_max_window_bits']=_0x519526[_0xcae085(0x300)]),typeof _0x519526[_0xcae085(0x163)]==_0xcae085(0x17f)?_0x22d04b[_0xcae085(0x232)]=_0x519526[_0xcae085(0x163)]:(_0x22d04b[_0xcae085(0x232)]===!0x0||_0x519526[_0xcae085(0x163)]===!0x1)&&delete _0x22d04b[_0xcae085(0x232)],_0x22d04b;}[_0x413759(0x26d)](_0x27f030){const _0x2d2ea0=_0x413759,_0xe6a1e6=_0x27f030[0x0];if(this['_options'][_0x2d2ea0(0x1e0)]===!0x1&&_0xe6a1e6['client_no_context_takeover'])throw new Error('Unexpected\x20parameter\x20\x22client_no_context_takeover\x22');if(!_0xe6a1e6[_0x2d2ea0(0x232)])typeof this[_0x2d2ea0(0x2c5)][_0x2d2ea0(0x163)]=='number'&&(_0xe6a1e6[_0x2d2ea0(0x232)]=this[_0x2d2ea0(0x2c5)][_0x2d2ea0(0x163)]);else{if(this['_options'][_0x2d2ea0(0x163)]===!0x1||typeof this[_0x2d2ea0(0x2c5)]['clientMaxWindowBits']==_0x2d2ea0(0x17f)&&_0xe6a1e6['client_max_window_bits']>this[_0x2d2ea0(0x2c5)][_0x2d2ea0(0x163)])throw new Error(_0x2d2ea0(0x201));}return _0xe6a1e6;}[_0x413759(0x168)](_0x4874f9){const _0x3c0015=_0x413759;return _0x4874f9[_0x3c0015(0x1b1)](_0x32c702=>{const _0x26381a=_0x3c0015;Object['keys'](_0x32c702)[_0x26381a(0x1b1)](_0x4c87e8=>{const _0x4b4d95=_0x26381a;let _0x48481e=_0x32c702[_0x4c87e8];if(_0x48481e[_0x4b4d95(0x2ac)]>0x1)throw new Error(_0x4b4d95(0x24e)+_0x4c87e8+_0x4b4d95(0x27f));if(_0x48481e=_0x48481e[0x0],_0x4c87e8===_0x4b4d95(0x232)){if(_0x48481e!==!0x0){const _0x5b88bd=+_0x48481e;if(!Number[_0x4b4d95(0x220)](_0x5b88bd)||_0x5b88bd<0x8||_0x5b88bd>0xf)throw new TypeError(_0x4b4d95(0x2a7)+_0x4c87e8+_0x4b4d95(0x1be)+_0x48481e);_0x48481e=_0x5b88bd;}else{if(!this['_isServer'])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x4c87e8+_0x4b4d95(0x1be)+_0x48481e);}}else{if(_0x4c87e8===_0x4b4d95(0x242)){const _0xbc8b9e=+_0x48481e;if(!Number[_0x4b4d95(0x220)](_0xbc8b9e)||_0xbc8b9e<0x8||_0xbc8b9e>0xf)throw new TypeError(_0x4b4d95(0x2a7)+_0x4c87e8+'\x22:\x20'+_0x48481e);_0x48481e=_0xbc8b9e;}else{if(_0x4c87e8===_0x4b4d95(0x213)||_0x4c87e8===_0x4b4d95(0x30e)){if(_0x48481e!==!0x0)throw new TypeError(_0x4b4d95(0x2a7)+_0x4c87e8+_0x4b4d95(0x1be)+_0x48481e);}else throw new Error(_0x4b4d95(0x2bf)+_0x4c87e8+'\x22');}}_0x32c702[_0x4c87e8]=_0x48481e;});}),_0x4874f9;}[_0x413759(0x254)](_0x13f5fe,_0xfc09d7,_0xe18f4d){const _0x57aad6=_0x413759;_0x40c6c0[_0x57aad6(0x26f)](_0x57d9ce=>{const _0x3dfe24=_0x57aad6;this[_0x3dfe24(0x27e)](_0x13f5fe,_0xfc09d7,(_0x25cf59,_0x157ef6)=>{_0x57d9ce(),_0xe18f4d(_0x25cf59,_0x157ef6);});});}['compress'](_0x28f6f7,_0x23090f,_0x44d9ca){_0x40c6c0['add'](_0x2af39c=>{const _0x2caa12=_0x4ce0;this[_0x2caa12(0x208)](_0x28f6f7,_0x23090f,(_0x48ede1,_0x3648a3)=>{_0x2af39c(),_0x44d9ca(_0x48ede1,_0x3648a3);});});}[_0x413759(0x27e)](_0x11549c,_0x403c15,_0x40bf67){const _0x28abd9=_0x413759,_0x5bdf66=this['_isServer']?_0x28abd9(0x298):_0x28abd9(0x1d8);if(!this[_0x28abd9(0x1ff)]){const _0x5cd959=_0x5bdf66+_0x28abd9(0x1f1),_0x1326ca=typeof this[_0x28abd9(0x172)][_0x5cd959]!=_0x28abd9(0x17f)?_0x544430[_0x28abd9(0x2bc)]:this[_0x28abd9(0x172)][_0x5cd959];this['_inflate']=_0x544430[_0x28abd9(0x1b5)]({...this['_options']['zlibInflateOptions'],'windowBits':_0x1326ca}),this['_inflate'][_0x28f13a]=this,this[_0x28abd9(0x1ff)][_0x53386c]=0x0,this['_inflate'][_0x1f0ac4]=[],this['_inflate']['on'](_0x28abd9(0x1ba),_0x5e64cf),this[_0x28abd9(0x1ff)]['on']('data',_0x340b90);}this[_0x28abd9(0x1ff)][_0x2ac03a]=_0x40bf67,this[_0x28abd9(0x1ff)][_0x28abd9(0x154)](_0x11549c),_0x403c15&&this[_0x28abd9(0x1ff)][_0x28abd9(0x154)](_0x20c6d9),this[_0x28abd9(0x1ff)][_0x28abd9(0x26b)](()=>{const _0x571a98=_0x28abd9,_0x25d7e9=this['_inflate'][_0x5ce0d1];if(_0x25d7e9){this['_inflate'][_0x571a98(0x2e3)](),this[_0x571a98(0x1ff)]=null,_0x40bf67(_0x25d7e9);return;}const _0x5d8fb0=_0xbf404d[_0x571a98(0x210)](this[_0x571a98(0x1ff)][_0x1f0ac4],this[_0x571a98(0x1ff)][_0x53386c]);this['_inflate'][_0x571a98(0x1c1)]['endEmitted']?(this[_0x571a98(0x1ff)]['close'](),this[_0x571a98(0x1ff)]=null):(this[_0x571a98(0x1ff)][_0x53386c]=0x0,this[_0x571a98(0x1ff)][_0x1f0ac4]=[],_0x403c15&&this['params'][_0x5bdf66+_0x571a98(0x1c8)]&&this[_0x571a98(0x1ff)][_0x571a98(0x1b4)]()),_0x40bf67(null,_0x5d8fb0);});}[_0x413759(0x208)](_0x1d785b,_0x272cce,_0x3e8044){const _0x6155ef=_0x413759,_0x2af7e2=this[_0x6155ef(0x24a)]?_0x6155ef(0x1d8):_0x6155ef(0x298);if(!this['_deflate']){const _0xf96c6b=_0x2af7e2+'_max_window_bits',_0x36a587=typeof this[_0x6155ef(0x172)][_0xf96c6b]!='number'?_0x544430[_0x6155ef(0x2bc)]:this[_0x6155ef(0x172)][_0xf96c6b];this['_deflate']=_0x544430[_0x6155ef(0x305)]({...this[_0x6155ef(0x2c5)]['zlibDeflateOptions'],'windowBits':_0x36a587}),this['_deflate'][_0x53386c]=0x0,this[_0x6155ef(0x16a)][_0x1f0ac4]=[],this['_deflate']['on'](_0x6155ef(0x25d),_0x60bbd4);}this[_0x6155ef(0x16a)][_0x2ac03a]=_0x3e8044,this[_0x6155ef(0x16a)][_0x6155ef(0x154)](_0x1d785b),this[_0x6155ef(0x16a)][_0x6155ef(0x26b)](_0x544430[_0x6155ef(0x18b)],()=>{const _0x574b8f=_0x6155ef;if(!this['_deflate'])return;let _0x1ce229=_0xbf404d['concat'](this[_0x574b8f(0x16a)][_0x1f0ac4],this['_deflate'][_0x53386c]);_0x272cce&&(_0x1ce229=new _0x381729(_0x1ce229['buffer'],_0x1ce229[_0x574b8f(0x28e)],_0x1ce229[_0x574b8f(0x2ac)]-0x4)),this[_0x574b8f(0x16a)][_0x2ac03a]=null,this[_0x574b8f(0x16a)][_0x53386c]=0x0,this[_0x574b8f(0x16a)][_0x1f0ac4]=[],_0x272cce&&this[_0x574b8f(0x172)][_0x2af7e2+'_no_context_takeover']&&this[_0x574b8f(0x16a)][_0x574b8f(0x1b4)](),_0x3e8044(null,_0x1ce229);});}}ve=_0x4351f7;function _0x60bbd4(_0x56bc6b){const _0x1bf5f2=_0x413759;this[_0x1f0ac4][_0x1bf5f2(0x1f5)](_0x56bc6b),this[_0x53386c]+=_0x56bc6b['length'];}function _0x340b90(_0x2a3175){const _0x3d6159=_0x413759;if(this[_0x53386c]+=_0x2a3175[_0x3d6159(0x2ac)],this[_0x28f13a][_0x3d6159(0x1c4)]<0x1||this[_0x53386c]<=this[_0x28f13a]['_maxPayload']){this[_0x1f0ac4]['push'](_0x2a3175);return;}this[_0x5ce0d1]=new RangeError(_0x3d6159(0x2b2)),this[_0x5ce0d1][_0x3d6159(0x1bf)]=_0x3d6159(0x211),this[_0x5ce0d1][_0x4526db]=0x3f1,this[_0x3d6159(0x2a8)](_0x3d6159(0x25d),_0x340b90),this[_0x3d6159(0x1b4)]();}function _0x5e64cf(_0xef6cf7){const _0x3ef814=_0x413759;this[_0x28f13a][_0x3ef814(0x1ff)]=null,_0xef6cf7[_0x4526db]=0x3ef,this[_0x2ac03a](_0xef6cf7);}return ve;}var re={'exports':{}};const Ht={},zt=Object['freeze'](Object[_0x3d1fcd(0x26e)]({'__proto__':null,'default':Ht},Symbol[_0x3d1fcd(0x20b)],{'value':'Module'})),Yt=ut(zt);var Qe;function ne(){const _0x1ee465=_0x3d1fcd;if(Qe)return re['exports'];Qe=0x1;const {isUtf8:_0x7789b1}=_0x5cc1d7,{hasBlob:_0x518664}=V(),_0x2cec2f=[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 _0x377520(_0x1e88dd){return _0x1e88dd>=0x3e8&&_0x1e88dd<=0x3f6&&_0x1e88dd!==0x3ec&&_0x1e88dd!==0x3ed&&_0x1e88dd!==0x3ee||_0x1e88dd>=0xbb8&&_0x1e88dd<=0x1387;}function _0x24ca40(_0x1b6b69){const _0x301ef4=_0x1b6b69['length'];let _0x3cca87=0x0;for(;_0x3cca87<_0x301ef4;)if((_0x1b6b69[_0x3cca87]&0x80)===0x0)_0x3cca87++;else{if((_0x1b6b69[_0x3cca87]&0xe0)===0xc0){if(_0x3cca87+0x1===_0x301ef4||(_0x1b6b69[_0x3cca87+0x1]&0xc0)!==0x80||(_0x1b6b69[_0x3cca87]&0xfe)===0xc0)return!0x1;_0x3cca87+=0x2;}else{if((_0x1b6b69[_0x3cca87]&0xf0)===0xe0){if(_0x3cca87+0x2>=_0x301ef4||(_0x1b6b69[_0x3cca87+0x1]&0xc0)!==0x80||(_0x1b6b69[_0x3cca87+0x2]&0xc0)!==0x80||_0x1b6b69[_0x3cca87]===0xe0&&(_0x1b6b69[_0x3cca87+0x1]&0xe0)===0x80||_0x1b6b69[_0x3cca87]===0xed&&(_0x1b6b69[_0x3cca87+0x1]&0xe0)===0xa0)return!0x1;_0x3cca87+=0x3;}else{if((_0x1b6b69[_0x3cca87]&0xf8)===0xf0){if(_0x3cca87+0x3>=_0x301ef4||(_0x1b6b69[_0x3cca87+0x1]&0xc0)!==0x80||(_0x1b6b69[_0x3cca87+0x2]&0xc0)!==0x80||(_0x1b6b69[_0x3cca87+0x3]&0xc0)!==0x80||_0x1b6b69[_0x3cca87]===0xf0&&(_0x1b6b69[_0x3cca87+0x1]&0xf0)===0x80||_0x1b6b69[_0x3cca87]===0xf4&&_0x1b6b69[_0x3cca87+0x1]>0x8f||_0x1b6b69[_0x3cca87]>0xf4)return!0x1;_0x3cca87+=0x4;}else return!0x1;}}}return!0x0;}function _0x29e42a(_0x4d2e99){const _0x254612=_0x4ce0;return _0x518664&&typeof _0x4d2e99=='object'&&typeof _0x4d2e99[_0x254612(0x2ef)]==_0x254612(0x22a)&&typeof _0x4d2e99[_0x254612(0x2cc)]==_0x254612(0x1dd)&&typeof _0x4d2e99['stream']==_0x254612(0x22a)&&(_0x4d2e99[Symbol[_0x254612(0x20b)]]===_0x254612(0x245)||_0x4d2e99[Symbol[_0x254612(0x20b)]]===_0x254612(0x2a5));}if(re[_0x1ee465(0x202)]={'isBlob':_0x29e42a,'isValidStatusCode':_0x377520,'isValidUTF8':_0x24ca40,'tokenChars':_0x2cec2f},_0x7789b1)re[_0x1ee465(0x202)][_0x1ee465(0x2dc)]=function(_0x3bb7e8){return _0x3bb7e8['length']<0x18?_0x24ca40(_0x3bb7e8):_0x7789b1(_0x3bb7e8);};else{if(!process[_0x1ee465(0x2af)][_0x1ee465(0x1f4)])try{const _0x8f1216=Yt;re['exports']['isValidUTF8']=function(_0x49c914){return _0x49c914['length']<0x20?_0x24ca40(_0x49c914):_0x8f1216(_0x49c914);};}catch{}}return re['exports'];}var Se,Je;function dt(){const _0x5f180e=_0x3d1fcd;if(Je)return Se;Je=0x1;const {Writable:_0x57f988}=_0xe7df3e,_0x4d0624=he(),{BINARY_TYPES:_0x3f3f54,EMPTY_BUFFER:_0x527678,kStatusCode:_0x5be475,kWebSocket:_0x3aa5ad}=V(),{concat:_0x402cd7,toArrayBuffer:_0x62fd17,unmask:_0x2c6e47}=ce(),{isValidStatusCode:_0x4d9013,isValidUTF8:_0x49553d}=ne(),_0x27a4da=Buffer[Symbol[_0x5f180e(0x2f0)]],_0x29a2e5=0x0,_0xdaab60=0x1,_0x535520=0x2,_0x14bf4d=0x3,_0x2f5a1b=0x4,_0x47ca7c=0x5,_0xebd9df=0x6;class _0x3e8eab extends _0x57f988{constructor(_0x7d146c={}){const _0x336b15=_0x5f180e;super(),this[_0x336b15(0x257)]=_0x7d146c[_0x336b15(0x197)]!==void 0x0?_0x7d146c['allowSynchronousEvents']:!0x0,this['_binaryType']=_0x7d146c[_0x336b15(0x162)]||_0x3f3f54[0x0],this[_0x336b15(0x27a)]=_0x7d146c['extensions']||{},this[_0x336b15(0x24a)]=!!_0x7d146c[_0x336b15(0x1a6)],this['_maxPayload']=_0x7d146c[_0x336b15(0x22b)]|0x0,this[_0x336b15(0x1ef)]=!!_0x7d146c[_0x336b15(0x1eb)],this[_0x3aa5ad]=void 0x0,this[_0x336b15(0x277)]=0x0,this[_0x336b15(0x251)]=[],this[_0x336b15(0x30c)]=!0x1,this[_0x336b15(0x1e3)]=0x0,this[_0x336b15(0x224)]=void 0x0,this[_0x336b15(0x209)]=0x0,this[_0x336b15(0x2ce)]=!0x1,this['_fin']=!0x1,this[_0x336b15(0x24b)]=0x0,this[_0x336b15(0x2f3)]=0x0,this[_0x336b15(0x2c8)]=0x0,this[_0x336b15(0x2c9)]=[],this[_0x336b15(0x26c)]=!0x1,this[_0x336b15(0x234)]=!0x1,this[_0x336b15(0x292)]=_0x29a2e5;}['_write'](_0xd0bf06,_0x4bc41d,_0xda3a32){const _0x52249e=_0x5f180e;if(this[_0x52249e(0x24b)]===0x8&&this[_0x52249e(0x292)]==_0x29a2e5)return _0xda3a32();this[_0x52249e(0x277)]+=_0xd0bf06[_0x52249e(0x2ac)],this[_0x52249e(0x251)][_0x52249e(0x1f5)](_0xd0bf06),this[_0x52249e(0x1d4)](_0xda3a32);}[_0x5f180e(0x253)](_0x3b5306){const _0x29766e=_0x5f180e;if(this[_0x29766e(0x277)]-=_0x3b5306,_0x3b5306===this[_0x29766e(0x251)][0x0][_0x29766e(0x2ac)])return this[_0x29766e(0x251)][_0x29766e(0x22f)]();if(_0x3b5306<this['_buffers'][0x0][_0x29766e(0x2ac)]){const _0x1831ad=this[_0x29766e(0x251)][0x0];return this[_0x29766e(0x251)][0x0]=new _0x27a4da(_0x1831ad[_0x29766e(0x29e)],_0x1831ad['byteOffset']+_0x3b5306,_0x1831ad[_0x29766e(0x2ac)]-_0x3b5306),new _0x27a4da(_0x1831ad[_0x29766e(0x29e)],_0x1831ad[_0x29766e(0x28e)],_0x3b5306);}const _0x3a3caa=Buffer[_0x29766e(0x1a5)](_0x3b5306);do{const _0x1ae5d7=this[_0x29766e(0x251)][0x0],_0x386167=_0x3a3caa[_0x29766e(0x2ac)]-_0x3b5306;_0x3b5306>=_0x1ae5d7[_0x29766e(0x2ac)]?_0x3a3caa[_0x29766e(0x23f)](this[_0x29766e(0x251)][_0x29766e(0x22f)](),_0x386167):(_0x3a3caa[_0x29766e(0x23f)](new Uint8Array(_0x1ae5d7['buffer'],_0x1ae5d7[_0x29766e(0x28e)],_0x3b5306),_0x386167),this[_0x29766e(0x251)][0x0]=new _0x27a4da(_0x1ae5d7[_0x29766e(0x29e)],_0x1ae5d7[_0x29766e(0x28e)]+_0x3b5306,_0x1ae5d7[_0x29766e(0x2ac)]-_0x3b5306)),_0x3b5306-=_0x1ae5d7[_0x29766e(0x2ac)];}while(_0x3b5306>0x0);return _0x3a3caa;}['startLoop'](_0x1c5a29){const _0x176f23=_0x5f180e;this['_loop']=!0x0;do switch(this[_0x176f23(0x292)]){case _0x29a2e5:this[_0x176f23(0x29b)](_0x1c5a29);break;case _0xdaab60:this[_0x176f23(0x2ff)](_0x1c5a29);break;case _0x535520:this[_0x176f23(0x15b)](_0x1c5a29);break;case _0x14bf4d:this[_0x176f23(0x284)]();break;case _0x2f5a1b:this[_0x176f23(0x1f3)](_0x1c5a29);break;case _0x47ca7c:case _0xebd9df:this['_loop']=!0x1;return;}while(this[_0x176f23(0x234)]);this['_errored']||_0x1c5a29();}[_0x5f180e(0x29b)](_0x44cd36){const _0x5f3585=_0x5f180e;if(this[_0x5f3585(0x277)]<0x2){this[_0x5f3585(0x234)]=!0x1;return;}const _0x3c04d6=this['consume'](0x2);if((_0x3c04d6[0x0]&0x30)!==0x0){const _0x256ef8=this[_0x5f3585(0x19b)](RangeError,_0x5f3585(0x1aa),!0x0,0x3ea,_0x5f3585(0x1bd));_0x44cd36(_0x256ef8);return;}const _0x5c09c7=(_0x3c04d6[0x0]&0x40)===0x40;if(_0x5c09c7&&!this[_0x5f3585(0x27a)][_0x4d0624[_0x5f3585(0x171)]]){const _0x295aff=this['createError'](RangeError,_0x5f3585(0x2fb),!0x0,0x3ea,_0x5f3585(0x176));_0x44cd36(_0x295aff);return;}if(this[_0x5f3585(0x174)]=(_0x3c04d6[0x0]&0x80)===0x80,this[_0x5f3585(0x24b)]=_0x3c04d6[0x0]&0xf,this[_0x5f3585(0x1e3)]=_0x3c04d6[0x1]&0x7f,this[_0x5f3585(0x24b)]===0x0){if(_0x5c09c7){const _0x397bc5=this[_0x5f3585(0x19b)](RangeError,_0x5f3585(0x2fb),!0x0,0x3ea,_0x5f3585(0x176));_0x44cd36(_0x397bc5);return;}if(!this[_0x5f3585(0x209)]){const _0x1ac62a=this[_0x5f3585(0x19b)](RangeError,_0x5f3585(0x2da),!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x44cd36(_0x1ac62a);return;}this['_opcode']=this['_fragmented'];}else{if(this[_0x5f3585(0x24b)]===0x1||this[_0x5f3585(0x24b)]===0x2){if(this[_0x5f3585(0x209)]){const _0x23dc26=this[_0x5f3585(0x19b)](RangeError,'invalid\x20opcode\x20'+this['_opcode'],!0x0,0x3ea,_0x5f3585(0x274));_0x44cd36(_0x23dc26);return;}this[_0x5f3585(0x30c)]=_0x5c09c7;}else{if(this['_opcode']>0x7&&this[_0x5f3585(0x24b)]<0xb){if(!this[_0x5f3585(0x174)]){const _0x3bd2f2=this[_0x5f3585(0x19b)](RangeError,_0x5f3585(0x2d2),!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0x44cd36(_0x3bd2f2);return;}if(_0x5c09c7){const _0x158342=this[_0x5f3585(0x19b)](RangeError,_0x5f3585(0x2fb),!0x0,0x3ea,_0x5f3585(0x176));_0x44cd36(_0x158342);return;}if(this[_0x5f3585(0x1e3)]>0x7d||this[_0x5f3585(0x24b)]===0x8&&this[_0x5f3585(0x1e3)]===0x1){const _0x315cb1=this['createError'](RangeError,_0x5f3585(0x2f4)+this[_0x5f3585(0x1e3)],!0x0,0x3ea,_0x5f3585(0x19d));_0x44cd36(_0x315cb1);return;}}else{const _0x5e08df=this[_0x5f3585(0x19b)](RangeError,_0x5f3585(0x2cb)+this[_0x5f3585(0x24b)],!0x0,0x3ea,_0x5f3585(0x274));_0x44cd36(_0x5e08df);return;}}}if(!this[_0x5f3585(0x174)]&&!this['_fragmented']&&(this['_fragmented']=this[_0x5f3585(0x24b)]),this[_0x5f3585(0x2ce)]=(_0x3c04d6[0x1]&0x80)===0x80,this['_isServer']){if(!this[_0x5f3585(0x2ce)]){const _0x4c8888=this[_0x5f3585(0x19b)](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,_0x5f3585(0x1b0));_0x44cd36(_0x4c8888);return;}}else{if(this[_0x5f3585(0x2ce)]){const _0x192c7f=this[_0x5f3585(0x19b)](RangeError,_0x5f3585(0x1c9),!0x0,0x3ea,_0x5f3585(0x1f2));_0x44cd36(_0x192c7f);return;}}this[_0x5f3585(0x1e3)]===0x7e?this[_0x5f3585(0x292)]=_0xdaab60:this['_payloadLength']===0x7f?this['_state']=_0x535520:this[_0x5f3585(0x261)](_0x44cd36);}[_0x5f180e(0x2ff)](_0x48bd6a){const _0x2dcbce=_0x5f180e;if(this[_0x2dcbce(0x277)]<0x2){this[_0x2dcbce(0x234)]=!0x1;return;}this[_0x2dcbce(0x1e3)]=this[_0x2dcbce(0x253)](0x2)[_0x2dcbce(0x177)](0x0),this[_0x2dcbce(0x261)](_0x48bd6a);}[_0x5f180e(0x15b)](_0x5911db){const _0x2f761e=_0x5f180e;if(this[_0x2f761e(0x277)]<0x8){this[_0x2f761e(0x234)]=!0x1;return;}const _0x11c3a6=this['consume'](0x8),_0x32c073=_0x11c3a6[_0x2f761e(0x167)](0x0);if(_0x32c073>Math[_0x2f761e(0x17e)](0x2,0x15)-0x1){const _0x43da35=this[_0x2f761e(0x19b)](RangeError,_0x2f761e(0x183),!0x1,0x3f1,_0x2f761e(0x2c1));_0x5911db(_0x43da35);return;}this[_0x2f761e(0x1e3)]=_0x32c073*Math[_0x2f761e(0x17e)](0x2,0x20)+_0x11c3a6[_0x2f761e(0x167)](0x4),this['haveLength'](_0x5911db);}[_0x5f180e(0x261)](_0x3cb5ab){const _0x45306a=_0x5f180e;if(this[_0x45306a(0x1e3)]&&this[_0x45306a(0x24b)]<0x8&&(this[_0x45306a(0x2f3)]+=this['_payloadLength'],this[_0x45306a(0x2f3)]>this[_0x45306a(0x1c4)]&&this[_0x45306a(0x1c4)]>0x0)){const _0x91f5a=this['createError'](RangeError,_0x45306a(0x2b2),!0x1,0x3f1,_0x45306a(0x211));_0x3cb5ab(_0x91f5a);return;}this[_0x45306a(0x2ce)]?this[_0x45306a(0x292)]=_0x14bf4d:this['_state']=_0x2f5a1b;}['getMask'](){const _0xabcae6=_0x5f180e;if(this['_bufferedBytes']<0x4){this[_0xabcae6(0x234)]=!0x1;return;}this[_0xabcae6(0x224)]=this['consume'](0x4),this['_state']=_0x2f5a1b;}[_0x5f180e(0x1f3)](_0x147cc9){const _0x440223=_0x5f180e;let _0x35f217=_0x527678;if(this[_0x440223(0x1e3)]){if(this[_0x440223(0x277)]<this['_payloadLength']){this[_0x440223(0x234)]=!0x1;return;}_0x35f217=this['consume'](this[_0x440223(0x1e3)]),this[_0x440223(0x2ce)]&&(this['_mask'][0x0]|this['_mask'][0x1]|this[_0x440223(0x224)][0x2]|this[_0x440223(0x224)][0x3])!==0x0&&_0x2c6e47(_0x35f217,this[_0x440223(0x224)]);}if(this[_0x440223(0x24b)]>0x7){this[_0x440223(0x285)](_0x35f217,_0x147cc9);return;}if(this[_0x440223(0x30c)]){this[_0x440223(0x292)]=_0x47ca7c,this[_0x440223(0x254)](_0x35f217,_0x147cc9);return;}_0x35f217[_0x440223(0x2ac)]&&(this[_0x440223(0x2c8)]=this[_0x440223(0x2f3)],this['_fragments'][_0x440223(0x1f5)](_0x35f217)),this['dataMessage'](_0x147cc9);}['decompress'](_0x5dc1d5,_0x528249){const _0x384535=_0x5f180e;this[_0x384535(0x27a)][_0x4d0624[_0x384535(0x171)]][_0x384535(0x254)](_0x5dc1d5,this[_0x384535(0x174)],(_0x3aea19,_0x521890)=>{const _0x2e0413=_0x384535;if(_0x3aea19)return _0x528249(_0x3aea19);if(_0x521890['length']){if(this[_0x2e0413(0x2c8)]+=_0x521890[_0x2e0413(0x2ac)],this[_0x2e0413(0x2c8)]>this[_0x2e0413(0x1c4)]&&this['_maxPayload']>0x0){const _0x549b49=this[_0x2e0413(0x19b)](RangeError,_0x2e0413(0x2b2),!0x1,0x3f1,_0x2e0413(0x211));_0x528249(_0x549b49);return;}this['_fragments'][_0x2e0413(0x1f5)](_0x521890);}this[_0x2e0413(0x2e2)](_0x528249),this[_0x2e0413(0x292)]===_0x29a2e5&&this['startLoop'](_0x528249);});}[_0x5f180e(0x2e2)](_0x5b4464){const _0x20ae4e=_0x5f180e;if(!this[_0x20ae4e(0x174)]){this[_0x20ae4e(0x292)]=_0x29a2e5;return;}const _0xa9f65c=this['_messageLength'],_0x392aae=this[_0x20ae4e(0x2c9)];if(this['_totalPayloadLength']=0x0,this[_0x20ae4e(0x2c8)]=0x0,this['_fragmented']=0x0,this[_0x20ae4e(0x2c9)]=[],this[_0x20ae4e(0x24b)]===0x2){let _0x2ae308;this[_0x20ae4e(0x1e7)]===_0x20ae4e(0x193)?_0x2ae308=_0x402cd7(_0x392aae,_0xa9f65c):this[_0x20ae4e(0x1e7)]==='arraybuffer'?_0x2ae308=_0x62fd17(_0x402cd7(_0x392aae,_0xa9f65c)):this[_0x20ae4e(0x1e7)]===_0x20ae4e(0x16f)?_0x2ae308=new Blob(_0x392aae):_0x2ae308=_0x392aae,this[_0x20ae4e(0x257)]?(this[_0x20ae4e(0x18c)]('message',_0x2ae308,!0x0),this[_0x20ae4e(0x292)]=_0x29a2e5):(this[_0x20ae4e(0x292)]=_0xebd9df,setImmediate(()=>{const _0xbc4c5e=_0x20ae4e;this[_0xbc4c5e(0x18c)]('message',_0x2ae308,!0x0),this['_state']=_0x29a2e5,this[_0xbc4c5e(0x1d4)](_0x5b4464);}));}else{const _0x2998df=_0x402cd7(_0x392aae,_0xa9f65c);if(!this[_0x20ae4e(0x1ef)]&&!_0x49553d(_0x2998df)){const _0x4a7675=this[_0x20ae4e(0x19b)](Error,_0x20ae4e(0x2b6),!0x0,0x3ef,_0x20ae4e(0x1f0));_0x5b4464(_0x4a7675);return;}this[_0x20ae4e(0x292)]===_0x47ca7c||this[_0x20ae4e(0x257)]?(this[_0x20ae4e(0x18c)](_0x20ae4e(0x1f6),_0x2998df,!0x1),this[_0x20ae4e(0x292)]=_0x29a2e5):(this[_0x20ae4e(0x292)]=_0xebd9df,setImmediate(()=>{const _0xed859a=_0x20ae4e;this[_0xed859a(0x18c)]('message',_0x2998df,!0x1),this['_state']=_0x29a2e5,this[_0xed859a(0x1d4)](_0x5b4464);}));}}[_0x5f180e(0x285)](_0x394d84,_0x130168){const _0x469dda=_0x5f180e;if(this[_0x469dda(0x24b)]===0x8){if(_0x394d84['length']===0x0)this[_0x469dda(0x234)]=!0x1,this[_0x469dda(0x18c)](_0x469dda(0x1ec),0x3ed,_0x527678),this[_0x469dda(0x2c7)]();else{const _0x52664b=_0x394d84['readUInt16BE'](0x0);if(!_0x4d9013(_0x52664b)){const _0x4b9340=this['createError'](RangeError,'invalid\x20status\x20code\x20'+_0x52664b,!0x0,0x3ea,_0x469dda(0x2a0));_0x130168(_0x4b9340);return;}const _0x4a0c33=new _0x27a4da(_0x394d84[_0x469dda(0x29e)],_0x394d84[_0x469dda(0x28e)]+0x2,_0x394d84[_0x469dda(0x2ac)]-0x2);if(!this['_skipUTF8Validation']&&!_0x49553d(_0x4a0c33)){const _0x400dc8=this[_0x469dda(0x19b)](Error,_0x469dda(0x2b6),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x130168(_0x400dc8);return;}this['_loop']=!0x1,this[_0x469dda(0x18c)]('conclude',_0x52664b,_0x4a0c33),this[_0x469dda(0x2c7)]();}this[_0x469dda(0x292)]=_0x29a2e5;return;}this[_0x469dda(0x257)]?(this[_0x469dda(0x18c)](this[_0x469dda(0x24b)]===0x9?_0x469dda(0x250):_0x469dda(0x295),_0x394d84),this[_0x469dda(0x292)]=_0x29a2e5):(this[_0x469dda(0x292)]=_0xebd9df,setImmediate(()=>{const _0x26d8e8=_0x469dda;this[_0x26d8e8(0x18c)](this['_opcode']===0x9?_0x26d8e8(0x250):_0x26d8e8(0x295),_0x394d84),this[_0x26d8e8(0x292)]=_0x29a2e5,this[_0x26d8e8(0x1d4)](_0x130168);}));}[_0x5f180e(0x19b)](_0x15610b,_0x22a541,_0x10c130,_0x5d636f,_0x33a68c){const _0x9fa514=_0x5f180e;this['_loop']=!0x1,this[_0x9fa514(0x26c)]=!0x0;const _0x3f0e3d=new _0x15610b(_0x10c130?_0x9fa514(0x221)+_0x22a541:_0x22a541);return Error[_0x9fa514(0x27d)](_0x3f0e3d,this[_0x9fa514(0x19b)]),_0x3f0e3d[_0x9fa514(0x1bf)]=_0x33a68c,_0x3f0e3d[_0x5be475]=_0x5d636f,_0x3f0e3d;}}return Se=_0x3e8eab,Se;}var Ee,et;function _t(){const _0x4a9486=_0x3d1fcd;if(et)return Ee;et=0x1;const {Duplex:_0x38baea}=_0xe7df3e,{randomFillSync:_0x5d461c}=_0x2073e9,_0x456107=he(),{EMPTY_BUFFER:_0x1f536a,kWebSocket:_0x3d97d7,NOOP:_0xfa7804}=V(),{isBlob:_0x294ed4,isValidStatusCode:_0x1c7e88}=ne(),{mask:_0x3c99a7,toBuffer:_0x1b44c0}=ce(),_0x1e8442=Symbol(_0x4a9486(0x2bd)),_0x259762=Buffer['alloc'](0x4),_0x3858d3=0x8*0x400;let _0x3c144d,_0xe754d1=_0x3858d3;const _0x394317=0x0,_0x5ec8ef=0x1,_0x4cfaab=0x2;class _0x2e9d0b{constructor(_0x328635,_0x23fd76,_0x45d2e0){const _0x32cd1e=_0x4a9486;this['_extensions']=_0x23fd76||{},_0x45d2e0&&(this[_0x32cd1e(0x1e2)]=_0x45d2e0,this[_0x32cd1e(0x310)]=Buffer['alloc'](0x4)),this['_socket']=_0x328635,this[_0x32cd1e(0x2c2)]=!0x0,this[_0x32cd1e(0x208)]=!0x1,this['_bufferedBytes']=0x0,this['_queue']=[],this['_state']=_0x394317,this[_0x32cd1e(0x28b)]=_0xfa7804,this[_0x3d97d7]=void 0x0;}static[_0x4a9486(0x1fc)](_0x4af5b0,_0xff7702){const _0x1a7f17=_0x4a9486;let _0x1440a3,_0x352fa2=!0x1,_0x1a5936=0x2,_0x308545=!0x1;_0xff7702['mask']&&(_0x1440a3=_0xff7702['maskBuffer']||_0x259762,_0xff7702[_0x1a7f17(0x151)]?_0xff7702[_0x1a7f17(0x151)](_0x1440a3):(_0xe754d1===_0x3858d3&&(_0x3c144d===void 0x0&&(_0x3c144d=Buffer[_0x1a7f17(0x20f)](_0x3858d3)),_0x5d461c(_0x3c144d,0x0,_0x3858d3),_0xe754d1=0x0),_0x1440a3[0x0]=_0x3c144d[_0xe754d1++],_0x1440a3[0x1]=_0x3c144d[_0xe754d1++],_0x1440a3[0x2]=_0x3c144d[_0xe754d1++],_0x1440a3[0x3]=_0x3c144d[_0xe754d1++]),_0x308545=(_0x1440a3[0x0]|_0x1440a3[0x1]|_0x1440a3[0x2]|_0x1440a3[0x3])===0x0,_0x1a5936=0x6);let _0x335cc0;typeof _0x4af5b0=='string'?(!_0xff7702[_0x1a7f17(0x230)]||_0x308545)&&_0xff7702[_0x1e8442]!==void 0x0?_0x335cc0=_0xff7702[_0x1e8442]:(_0x4af5b0=Buffer[_0x1a7f17(0x28f)](_0x4af5b0),_0x335cc0=_0x4af5b0[_0x1a7f17(0x2ac)]):(_0x335cc0=_0x4af5b0[_0x1a7f17(0x2ac)],_0x352fa2=_0xff7702[_0x1a7f17(0x230)]&&_0xff7702[_0x1a7f17(0x161)]&&!_0x308545);let _0x1cbe28=_0x335cc0;_0x335cc0>=0x10000?(_0x1a5936+=0x8,_0x1cbe28=0x7f):_0x335cc0>0x7d&&(_0x1a5936+=0x2,_0x1cbe28=0x7e);const _0x4008a4=Buffer[_0x1a7f17(0x1a5)](_0x352fa2?_0x335cc0+_0x1a5936:_0x1a5936);return _0x4008a4[0x0]=_0xff7702[_0x1a7f17(0x239)]?_0xff7702[_0x1a7f17(0x25c)]|0x80:_0xff7702[_0x1a7f17(0x25c)],_0xff7702[_0x1a7f17(0x306)]&&(_0x4008a4[0x0]|=0x40),_0x4008a4[0x1]=_0x1cbe28,_0x1cbe28===0x7e?_0x4008a4['writeUInt16BE'](_0x335cc0,0x2):_0x1cbe28===0x7f&&(_0x4008a4[0x2]=_0x4008a4[0x3]=0x0,_0x4008a4['writeUIntBE'](_0x335cc0,0x4,0x6)),_0xff7702[_0x1a7f17(0x230)]?(_0x4008a4[0x1]|=0x80,_0x4008a4[_0x1a5936-0x4]=_0x1440a3[0x0],_0x4008a4[_0x1a5936-0x3]=_0x1440a3[0x1],_0x4008a4[_0x1a5936-0x2]=_0x1440a3[0x2],_0x4008a4[_0x1a5936-0x1]=_0x1440a3[0x3],_0x308545?[_0x4008a4,_0x4af5b0]:_0x352fa2?(_0x3c99a7(_0x4af5b0,_0x1440a3,_0x4008a4,_0x1a5936,_0x335cc0),[_0x4008a4]):(_0x3c99a7(_0x4af5b0,_0x1440a3,_0x4af5b0,0x0,_0x335cc0),[_0x4008a4,_0x4af5b0])):[_0x4008a4,_0x4af5b0];}[_0x4a9486(0x2e3)](_0x37147a,_0x27d362,_0x1dffe5,_0x4f30ed){const _0x1ed28d=_0x4a9486;let _0x4e5abd;if(_0x37147a===void 0x0)_0x4e5abd=_0x1f536a;else{if(typeof _0x37147a!='number'||!_0x1c7e88(_0x37147a))throw new TypeError(_0x1ed28d(0x2f8));if(_0x27d362===void 0x0||!_0x27d362[_0x1ed28d(0x2ac)])_0x4e5abd=Buffer[_0x1ed28d(0x1a5)](0x2),_0x4e5abd['writeUInt16BE'](_0x37147a,0x0);else{const _0x52272d=Buffer[_0x1ed28d(0x2cd)](_0x27d362);if(_0x52272d>0x7b)throw new RangeError(_0x1ed28d(0x228));_0x4e5abd=Buffer[_0x1ed28d(0x1a5)](0x2+_0x52272d),_0x4e5abd['writeUInt16BE'](_0x37147a,0x0),typeof _0x27d362==_0x1ed28d(0x1dd)?_0x4e5abd['write'](_0x27d362,0x2):_0x4e5abd['set'](_0x27d362,0x2);}}const _0x1fccf6={[_0x1e8442]:_0x4e5abd[_0x1ed28d(0x2ac)],'fin':!0x0,'generateMask':this[_0x1ed28d(0x1e2)],'mask':_0x1dffe5,'maskBuffer':this[_0x1ed28d(0x310)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x1ed28d(0x292)]!==_0x394317?this['enqueue']([this['dispatch'],_0x4e5abd,!0x1,_0x1fccf6,_0x4f30ed]):this[_0x1ed28d(0x27c)](_0x2e9d0b[_0x1ed28d(0x1fc)](_0x4e5abd,_0x1fccf6),_0x4f30ed);}['ping'](_0xde972c,_0x2c2fa9,_0x1d7a39){const _0xc57381=_0x4a9486;let _0x42277a,_0x5cd3da;if(typeof _0xde972c==_0xc57381(0x1dd)?(_0x42277a=Buffer[_0xc57381(0x2cd)](_0xde972c),_0x5cd3da=!0x1):_0x294ed4(_0xde972c)?(_0x42277a=_0xde972c[_0xc57381(0x270)],_0x5cd3da=!0x1):(_0xde972c=_0x1b44c0(_0xde972c),_0x42277a=_0xde972c[_0xc57381(0x2ac)],_0x5cd3da=_0x1b44c0[_0xc57381(0x161)]),_0x42277a>0x7d)throw new RangeError(_0xc57381(0x238));const _0xff375e={[_0x1e8442]:_0x42277a,'fin':!0x0,'generateMask':this[_0xc57381(0x1e2)],'mask':_0x2c2fa9,'maskBuffer':this[_0xc57381(0x310)],'opcode':0x9,'readOnly':_0x5cd3da,'rsv1':!0x1};_0x294ed4(_0xde972c)?this[_0xc57381(0x292)]!==_0x394317?this['enqueue']([this[_0xc57381(0x2b5)],_0xde972c,!0x1,_0xff375e,_0x1d7a39]):this[_0xc57381(0x2b5)](_0xde972c,!0x1,_0xff375e,_0x1d7a39):this[_0xc57381(0x292)]!==_0x394317?this[_0xc57381(0x2b4)]([this['dispatch'],_0xde972c,!0x1,_0xff375e,_0x1d7a39]):this['sendFrame'](_0x2e9d0b['frame'](_0xde972c,_0xff375e),_0x1d7a39);}['pong'](_0x1e386d,_0x20aed2,_0x1f5435){const _0x5f5340=_0x4a9486;let _0x304394,_0x39d544;if(typeof _0x1e386d==_0x5f5340(0x1dd)?(_0x304394=Buffer[_0x5f5340(0x2cd)](_0x1e386d),_0x39d544=!0x1):_0x294ed4(_0x1e386d)?(_0x304394=_0x1e386d['size'],_0x39d544=!0x1):(_0x1e386d=_0x1b44c0(_0x1e386d),_0x304394=_0x1e386d['length'],_0x39d544=_0x1b44c0[_0x5f5340(0x161)]),_0x304394>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x49c9ce={[_0x1e8442]:_0x304394,'fin':!0x0,'generateMask':this[_0x5f5340(0x1e2)],'mask':_0x20aed2,'maskBuffer':this[_0x5f5340(0x310)],'opcode':0xa,'readOnly':_0x39d544,'rsv1':!0x1};_0x294ed4(_0x1e386d)?this['_state']!==_0x394317?this['enqueue']([this[_0x5f5340(0x2b5)],_0x1e386d,!0x1,_0x49c9ce,_0x1f5435]):this[_0x5f5340(0x2b5)](_0x1e386d,!0x1,_0x49c9ce,_0x1f5435):this[_0x5f5340(0x292)]!==_0x394317?this[_0x5f5340(0x2b4)]([this[_0x5f5340(0x23b)],_0x1e386d,!0x1,_0x49c9ce,_0x1f5435]):this[_0x5f5340(0x27c)](_0x2e9d0b[_0x5f5340(0x1fc)](_0x1e386d,_0x49c9ce),_0x1f5435);}['send'](_0x5152f6,_0x26c8fa,_0x1cbec2){const _0x2eda6d=_0x4a9486,_0x36b68e=this['_extensions'][_0x456107['extensionName']];let _0x45933b=_0x26c8fa[_0x2eda6d(0x20d)]?0x2:0x1,_0x1e1dbc=_0x26c8fa[_0x2eda6d(0x19e)],_0x2e2bce,_0x7639ad;typeof _0x5152f6==_0x2eda6d(0x1dd)?(_0x2e2bce=Buffer[_0x2eda6d(0x2cd)](_0x5152f6),_0x7639ad=!0x1):_0x294ed4(_0x5152f6)?(_0x2e2bce=_0x5152f6[_0x2eda6d(0x270)],_0x7639ad=!0x1):(_0x5152f6=_0x1b44c0(_0x5152f6),_0x2e2bce=_0x5152f6['length'],_0x7639ad=_0x1b44c0[_0x2eda6d(0x161)]),this[_0x2eda6d(0x2c2)]?(this[_0x2eda6d(0x2c2)]=!0x1,_0x1e1dbc&&_0x36b68e&&_0x36b68e[_0x2eda6d(0x172)][_0x36b68e[_0x2eda6d(0x24a)]?'server_no_context_takeover':_0x2eda6d(0x213)]&&(_0x1e1dbc=_0x2e2bce>=_0x36b68e[_0x2eda6d(0x2f7)]),this[_0x2eda6d(0x208)]=_0x1e1dbc):(_0x1e1dbc=!0x1,_0x45933b=0x0),_0x26c8fa[_0x2eda6d(0x239)]&&(this['_firstFragment']=!0x0);const _0xbb8b13={[_0x1e8442]:_0x2e2bce,'fin':_0x26c8fa[_0x2eda6d(0x239)],'generateMask':this[_0x2eda6d(0x1e2)],'mask':_0x26c8fa['mask'],'maskBuffer':this['_maskBuffer'],'opcode':_0x45933b,'readOnly':_0x7639ad,'rsv1':_0x1e1dbc};_0x294ed4(_0x5152f6)?this[_0x2eda6d(0x292)]!==_0x394317?this[_0x2eda6d(0x2b4)]([this['getBlobData'],_0x5152f6,this[_0x2eda6d(0x208)],_0xbb8b13,_0x1cbec2]):this[_0x2eda6d(0x2b5)](_0x5152f6,this[_0x2eda6d(0x208)],_0xbb8b13,_0x1cbec2):this['_state']!==_0x394317?this[_0x2eda6d(0x2b4)]([this[_0x2eda6d(0x23b)],_0x5152f6,this['_compress'],_0xbb8b13,_0x1cbec2]):this[_0x2eda6d(0x23b)](_0x5152f6,this[_0x2eda6d(0x208)],_0xbb8b13,_0x1cbec2);}[_0x4a9486(0x2b5)](_0x56d8ac,_0x36cf61,_0x14bbcc,_0x5796a4){const _0x14344f=_0x4a9486;this[_0x14344f(0x277)]+=_0x14bbcc[_0x1e8442],this['_state']=_0x4cfaab,_0x56d8ac[_0x14344f(0x2ef)]()[_0x14344f(0x24d)](_0x57ed21=>{const _0x5dbebd=_0x14344f;if(this[_0x5dbebd(0x160)]['destroyed']){const _0x5620cd=new Error(_0x5dbebd(0x30d));process[_0x5dbebd(0x190)](_0x21f456,this,_0x5620cd,_0x5796a4);return;}this['_bufferedBytes']-=_0x14bbcc[_0x1e8442];const _0x342eac=_0x1b44c0(_0x57ed21);_0x36cf61?this[_0x5dbebd(0x23b)](_0x342eac,_0x36cf61,_0x14bbcc,_0x5796a4):(this[_0x5dbebd(0x292)]=_0x394317,this[_0x5dbebd(0x27c)](_0x2e9d0b['frame'](_0x342eac,_0x14bbcc),_0x5796a4),this['dequeue']());})[_0x14344f(0x2d3)](_0x140413=>{process['nextTick'](_0x3ae8e1,this,_0x140413,_0x5796a4);});}[_0x4a9486(0x23b)](_0x2963a6,_0x299531,_0x1ef631,_0x4192c0){const _0x3f253d=_0x4a9486;if(!_0x299531){this[_0x3f253d(0x27c)](_0x2e9d0b['frame'](_0x2963a6,_0x1ef631),_0x4192c0);return;}const _0x58926e=this['_extensions'][_0x456107['extensionName']];this[_0x3f253d(0x277)]+=_0x1ef631[_0x1e8442],this[_0x3f253d(0x292)]=_0x5ec8ef,_0x58926e[_0x3f253d(0x19e)](_0x2963a6,_0x1ef631[_0x3f253d(0x239)],(_0x37ff58,_0x25adf7)=>{const _0x561fa1=_0x3f253d;if(this[_0x561fa1(0x160)][_0x561fa1(0x2ea)]){const _0x356523=new Error(_0x561fa1(0x287));_0x21f456(this,_0x356523,_0x4192c0);return;}this['_bufferedBytes']-=_0x1ef631[_0x1e8442],this[_0x561fa1(0x292)]=_0x394317,_0x1ef631['readOnly']=!0x1,this[_0x561fa1(0x27c)](_0x2e9d0b['frame'](_0x25adf7,_0x1ef631),_0x4192c0),this[_0x561fa1(0x2f9)]();});}[_0x4a9486(0x2f9)](){const _0x3293ea=_0x4a9486;for(;this['_state']===_0x394317&&this[_0x3293ea(0x2fe)]['length'];){const _0x43b6bc=this[_0x3293ea(0x2fe)]['shift']();this[_0x3293ea(0x277)]-=_0x43b6bc[0x3][_0x1e8442],Reflect[_0x3293ea(0x1d3)](_0x43b6bc[0x0],this,_0x43b6bc[_0x3293ea(0x286)](0x1));}}[_0x4a9486(0x2b4)](_0x58a167){const _0x51c869=_0x4a9486;this[_0x51c869(0x277)]+=_0x58a167[0x3][_0x1e8442],this[_0x51c869(0x2fe)][_0x51c869(0x1f5)](_0x58a167);}[_0x4a9486(0x27c)](_0x28e716,_0x17a03d){const _0x180143=_0x4a9486;_0x28e716['length']===0x2?(this[_0x180143(0x160)][_0x180143(0x2d7)](),this[_0x180143(0x160)][_0x180143(0x154)](_0x28e716[0x0]),this['_socket'][_0x180143(0x154)](_0x28e716[0x1],_0x17a03d),this['_socket'][_0x180143(0x173)]()):this[_0x180143(0x160)][_0x180143(0x154)](_0x28e716[0x0],_0x17a03d);}}Ee=_0x2e9d0b;function _0x21f456(_0x58182f,_0x2b0a37,_0x129da6){const _0x4d0b45=_0x4a9486;typeof _0x129da6==_0x4d0b45(0x22a)&&_0x129da6(_0x2b0a37);for(let _0x588962=0x0;_0x588962<_0x58182f[_0x4d0b45(0x2fe)][_0x4d0b45(0x2ac)];_0x588962++){const _0x36bc68=_0x58182f[_0x4d0b45(0x2fe)][_0x588962],_0x2b3133=_0x36bc68[_0x36bc68['length']-0x1];typeof _0x2b3133==_0x4d0b45(0x22a)&&_0x2b3133(_0x2b0a37);}}function _0x3ae8e1(_0x6e66b,_0x3e38bb,_0x5ac2eb){const _0x365184=_0x4a9486;_0x21f456(_0x6e66b,_0x3e38bb,_0x5ac2eb),_0x6e66b[_0x365184(0x28b)](_0x3e38bb);}return Ee;}var xe,tt;function Kt(){const _0x55764f=_0x3d1fcd;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x46a6a6,kListener:_0x86fd2c}=V(),_0x64cd80=Symbol(_0x55764f(0x18a)),_0x2393e3=Symbol('kData'),_0x56e53c=Symbol(_0x55764f(0x199)),_0x580d84=Symbol('kMessage'),_0x5e710b=Symbol(_0x55764f(0x223)),_0x23b4c8=Symbol(_0x55764f(0x267)),_0x14c444=Symbol(_0x55764f(0x2c3)),_0x1619d5=Symbol('kWasClean');class _0x355bfe{constructor(_0x1433c1){this[_0x23b4c8]=null,this[_0x14c444]=_0x1433c1;}get[_0x55764f(0x2e0)](){return this[_0x23b4c8];}get[_0x55764f(0x2cc)](){return this[_0x14c444];}}Object[_0x55764f(0x26e)](_0x355bfe['prototype'],'target',{'enumerable':!0x0}),Object['defineProperty'](_0x355bfe[_0x55764f(0x271)],_0x55764f(0x2cc),{'enumerable':!0x0});class _0x3f74bc extends _0x355bfe{constructor(_0x512911,_0xdd801e={}){const _0x4aefc2=_0x55764f;super(_0x512911),this[_0x64cd80]=_0xdd801e['code']===void 0x0?0x0:_0xdd801e['code'],this[_0x5e710b]=_0xdd801e[_0x4aefc2(0x2f6)]===void 0x0?'':_0xdd801e[_0x4aefc2(0x2f6)],this[_0x1619d5]=_0xdd801e[_0x4aefc2(0x1bb)]===void 0x0?!0x1:_0xdd801e[_0x4aefc2(0x1bb)];}get[_0x55764f(0x1bf)](){return this[_0x64cd80];}get[_0x55764f(0x2f6)](){return this[_0x5e710b];}get['wasClean'](){return this[_0x1619d5];}}Object[_0x55764f(0x26e)](_0x3f74bc[_0x55764f(0x271)],_0x55764f(0x1bf),{'enumerable':!0x0}),Object['defineProperty'](_0x3f74bc[_0x55764f(0x271)],_0x55764f(0x2f6),{'enumerable':!0x0}),Object[_0x55764f(0x26e)](_0x3f74bc[_0x55764f(0x271)],_0x55764f(0x1bb),{'enumerable':!0x0});class _0xf9a9e7 extends _0x355bfe{constructor(_0x13791e,_0x441f8d={}){const _0x1883b4=_0x55764f;super(_0x13791e),this[_0x56e53c]=_0x441f8d[_0x1883b4(0x1ba)]===void 0x0?null:_0x441f8d[_0x1883b4(0x1ba)],this[_0x580d84]=_0x441f8d[_0x1883b4(0x1f6)]===void 0x0?'':_0x441f8d[_0x1883b4(0x1f6)];}get[_0x55764f(0x1ba)](){return this[_0x56e53c];}get[_0x55764f(0x1f6)](){return this[_0x580d84];}}Object[_0x55764f(0x26e)](_0xf9a9e7[_0x55764f(0x271)],_0x55764f(0x1ba),{'enumerable':!0x0}),Object[_0x55764f(0x26e)](_0xf9a9e7['prototype'],_0x55764f(0x1f6),{'enumerable':!0x0});class _0x1e8b8a extends _0x355bfe{constructor(_0x39ebb9,_0x4cfb99={}){const _0x56bdd5=_0x55764f;super(_0x39ebb9),this[_0x2393e3]=_0x4cfb99['data']===void 0x0?null:_0x4cfb99[_0x56bdd5(0x25d)];}get['data'](){return this[_0x2393e3];}}Object[_0x55764f(0x26e)](_0x1e8b8a['prototype'],_0x55764f(0x25d),{'enumerable':!0x0}),xe={'CloseEvent':_0x3f74bc,'ErrorEvent':_0xf9a9e7,'Event':_0x355bfe,'EventTarget':{'addEventListener'(_0x56ef04,_0x1a5c4a,_0x2cbd36={}){const _0x170c60=_0x55764f;for(const _0x4023c3 of this['listeners'](_0x56ef04))if(!_0x2cbd36[_0x46a6a6]&&_0x4023c3[_0x86fd2c]===_0x1a5c4a&&!_0x4023c3[_0x46a6a6])return;let _0x5cfa9e;if(_0x56ef04===_0x170c60(0x1f6))_0x5cfa9e=function(_0x3f0241,_0x525925){const _0xb3f87e=_0x170c60,_0x1d21eb=new _0x1e8b8a(_0xb3f87e(0x1f6),{'data':_0x525925?_0x3f0241:_0x3f0241[_0xb3f87e(0x282)]()});_0x1d21eb[_0x23b4c8]=this,_0x15455c(_0x1a5c4a,this,_0x1d21eb);};else{if(_0x56ef04===_0x170c60(0x2e3))_0x5cfa9e=function(_0x5b4e5,_0x4d6081){const _0x55d487=_0x170c60,_0x48cc85=new _0x3f74bc('close',{'code':_0x5b4e5,'reason':_0x4d6081[_0x55d487(0x282)](),'wasClean':this['_closeFrameReceived']&&this[_0x55d487(0x1d7)]});_0x48cc85[_0x23b4c8]=this,_0x15455c(_0x1a5c4a,this,_0x48cc85);};else{if(_0x56ef04===_0x170c60(0x1ba))_0x5cfa9e=function(_0x44ef90){const _0x4fabf1=_0x170c60,_0x149c18=new _0xf9a9e7(_0x4fabf1(0x1ba),{'error':_0x44ef90,'message':_0x44ef90[_0x4fabf1(0x1f6)]});_0x149c18[_0x23b4c8]=this,_0x15455c(_0x1a5c4a,this,_0x149c18);};else{if(_0x56ef04===_0x170c60(0x303))_0x5cfa9e=function(){const _0x1fbfe9=_0x170c60,_0x148dc8=new _0x355bfe(_0x1fbfe9(0x303));_0x148dc8[_0x23b4c8]=this,_0x15455c(_0x1a5c4a,this,_0x148dc8);};else return;}}}_0x5cfa9e[_0x46a6a6]=!!_0x2cbd36[_0x46a6a6],_0x5cfa9e[_0x86fd2c]=_0x1a5c4a,_0x2cbd36[_0x170c60(0x276)]?this['once'](_0x56ef04,_0x5cfa9e):this['on'](_0x56ef04,_0x5cfa9e);},'removeEventListener'(_0x2ded46,_0x20cf3a){const _0x533520=_0x55764f;for(const _0x55c6cd of this[_0x533520(0x1fe)](_0x2ded46))if(_0x55c6cd[_0x86fd2c]===_0x20cf3a&&!_0x55c6cd[_0x46a6a6]){this[_0x533520(0x2a8)](_0x2ded46,_0x55c6cd);break;}}},'MessageEvent':_0x1e8b8a};function _0x15455c(_0x281db5,_0x239b8a,_0x59cb4d){const _0x4c05df=_0x55764f;typeof _0x281db5==_0x4c05df(0x188)&&_0x281db5[_0x4c05df(0x2f1)]?_0x281db5[_0x4c05df(0x2f1)][_0x4c05df(0x29d)](_0x281db5,_0x59cb4d):_0x281db5[_0x4c05df(0x29d)](_0x239b8a,_0x59cb4d);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x28b999}=ne();function _0x5958ba(_0xc90a4c,_0x38730f,_0x1e060e){const _0x44b48b=_0x4ce0;_0xc90a4c[_0x38730f]===void 0x0?_0xc90a4c[_0x38730f]=[_0x1e060e]:_0xc90a4c[_0x38730f][_0x44b48b(0x1f5)](_0x1e060e);}function _0x108359(_0x530b91){const _0xc13711=_0x4ce0,_0x131970=Object[_0xc13711(0x2cf)](null);let _0x90a111=Object[_0xc13711(0x2cf)](null),_0x11cf60=!0x1,_0x5c5268=!0x1,_0x17cbb0=!0x1,_0x384786,_0xbaeae8,_0x2563ab=-0x1,_0xa04e75=-0x1,_0x107813=-0x1,_0x341a00=0x0;for(;_0x341a00<_0x530b91[_0xc13711(0x2ac)];_0x341a00++)if(_0xa04e75=_0x530b91[_0xc13711(0x2b7)](_0x341a00),_0x384786===void 0x0){if(_0x107813===-0x1&&_0x28b999[_0xa04e75]===0x1)_0x2563ab===-0x1&&(_0x2563ab=_0x341a00);else{if(_0x341a00!==0x0&&(_0xa04e75===0x20||_0xa04e75===0x9))_0x107813===-0x1&&_0x2563ab!==-0x1&&(_0x107813=_0x341a00);else{if(_0xa04e75===0x3b||_0xa04e75===0x2c){if(_0x2563ab===-0x1)throw new SyntaxError(_0xc13711(0x1da)+_0x341a00);_0x107813===-0x1&&(_0x107813=_0x341a00);const _0x26968f=_0x530b91[_0xc13711(0x286)](_0x2563ab,_0x107813);_0xa04e75===0x2c?(_0x5958ba(_0x131970,_0x26968f,_0x90a111),_0x90a111=Object[_0xc13711(0x2cf)](null)):_0x384786=_0x26968f,_0x2563ab=_0x107813=-0x1;}else throw new SyntaxError(_0xc13711(0x1da)+_0x341a00);}}}else{if(_0xbaeae8===void 0x0){if(_0x107813===-0x1&&_0x28b999[_0xa04e75]===0x1)_0x2563ab===-0x1&&(_0x2563ab=_0x341a00);else{if(_0xa04e75===0x20||_0xa04e75===0x9)_0x107813===-0x1&&_0x2563ab!==-0x1&&(_0x107813=_0x341a00);else{if(_0xa04e75===0x3b||_0xa04e75===0x2c){if(_0x2563ab===-0x1)throw new SyntaxError(_0xc13711(0x1da)+_0x341a00);_0x107813===-0x1&&(_0x107813=_0x341a00),_0x5958ba(_0x90a111,_0x530b91[_0xc13711(0x286)](_0x2563ab,_0x107813),!0x0),_0xa04e75===0x2c&&(_0x5958ba(_0x131970,_0x384786,_0x90a111),_0x90a111=Object['create'](null),_0x384786=void 0x0),_0x2563ab=_0x107813=-0x1;}else{if(_0xa04e75===0x3d&&_0x2563ab!==-0x1&&_0x107813===-0x1)_0xbaeae8=_0x530b91[_0xc13711(0x286)](_0x2563ab,_0x341a00),_0x2563ab=_0x107813=-0x1;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x341a00);}}}}else{if(_0x5c5268){if(_0x28b999[_0xa04e75]!==0x1)throw new SyntaxError(_0xc13711(0x1da)+_0x341a00);_0x2563ab===-0x1?_0x2563ab=_0x341a00:_0x11cf60||(_0x11cf60=!0x0),_0x5c5268=!0x1;}else{if(_0x17cbb0){if(_0x28b999[_0xa04e75]===0x1)_0x2563ab===-0x1&&(_0x2563ab=_0x341a00);else{if(_0xa04e75===0x22&&_0x2563ab!==-0x1)_0x17cbb0=!0x1,_0x107813=_0x341a00;else{if(_0xa04e75===0x5c)_0x5c5268=!0x0;else throw new SyntaxError(_0xc13711(0x1da)+_0x341a00);}}}else{if(_0xa04e75===0x22&&_0x530b91[_0xc13711(0x2b7)](_0x341a00-0x1)===0x3d)_0x17cbb0=!0x0;else{if(_0x107813===-0x1&&_0x28b999[_0xa04e75]===0x1)_0x2563ab===-0x1&&(_0x2563ab=_0x341a00);else{if(_0x2563ab!==-0x1&&(_0xa04e75===0x20||_0xa04e75===0x9))_0x107813===-0x1&&(_0x107813=_0x341a00);else{if(_0xa04e75===0x3b||_0xa04e75===0x2c){if(_0x2563ab===-0x1)throw new SyntaxError(_0xc13711(0x1da)+_0x341a00);_0x107813===-0x1&&(_0x107813=_0x341a00);let _0x5029bf=_0x530b91[_0xc13711(0x286)](_0x2563ab,_0x107813);_0x11cf60&&(_0x5029bf=_0x5029bf[_0xc13711(0x2b9)](/\\/g,''),_0x11cf60=!0x1),_0x5958ba(_0x90a111,_0xbaeae8,_0x5029bf),_0xa04e75===0x2c&&(_0x5958ba(_0x131970,_0x384786,_0x90a111),_0x90a111=Object['create'](null),_0x384786=void 0x0),_0xbaeae8=void 0x0,_0x2563ab=_0x107813=-0x1;}else throw new SyntaxError(_0xc13711(0x1da)+_0x341a00);}}}}}}}if(_0x2563ab===-0x1||_0x17cbb0||_0xa04e75===0x20||_0xa04e75===0x9)throw new SyntaxError(_0xc13711(0x2f2));_0x107813===-0x1&&(_0x107813=_0x341a00);const _0x5cc194=_0x530b91['slice'](_0x2563ab,_0x107813);return _0x384786===void 0x0?_0x5958ba(_0x131970,_0x5cc194,_0x90a111):(_0xbaeae8===void 0x0?_0x5958ba(_0x90a111,_0x5cc194,!0x0):_0x11cf60?_0x5958ba(_0x90a111,_0xbaeae8,_0x5cc194[_0xc13711(0x2b9)](/\\/g,'')):_0x5958ba(_0x90a111,_0xbaeae8,_0x5cc194),_0x5958ba(_0x131970,_0x384786,_0x90a111)),_0x131970;}function _0x80b0ef(_0x1ce9c0){const _0x333b9b=_0x4ce0;return Object[_0x333b9b(0x178)](_0x1ce9c0)[_0x333b9b(0x2ed)](_0x494490=>{const _0x1a39f3=_0x333b9b;let _0x9fc7fd=_0x1ce9c0[_0x494490];return Array[_0x1a39f3(0x2b1)](_0x9fc7fd)||(_0x9fc7fd=[_0x9fc7fd]),_0x9fc7fd[_0x1a39f3(0x2ed)](_0xad7c51=>[_0x494490][_0x1a39f3(0x210)](Object[_0x1a39f3(0x178)](_0xad7c51)[_0x1a39f3(0x2ed)](_0x1c62e5=>{const _0x458d85=_0x1a39f3;let _0x29be4a=_0xad7c51[_0x1c62e5];return Array['isArray'](_0x29be4a)||(_0x29be4a=[_0x29be4a]),_0x29be4a[_0x458d85(0x2ed)](_0x9e363f=>_0x9e363f===!0x0?_0x1c62e5:_0x1c62e5+'='+_0x9e363f)[_0x458d85(0x229)](';\x20');}))[_0x1a39f3(0x229)](';\x20'))['join'](',\x20');})[_0x333b9b(0x229)](',\x20');}return be={'format':_0x80b0ef,'parse':_0x108359},be;}var we,st;function Ie(){const _0x3ac3a5=_0x3d1fcd;if(st)return we;st=0x1;const _0x4e799a=_0x29ee69,_0x33b425=_0x5d1432,_0x2b2813=_0xf10a13,_0x33152e=_0x49d368,_0x28cd33=_0x234c8e,{randomBytes:_0x134141,createHash:_0x5edff3}=_0x2073e9,{Duplex:_0x81f366,Readable:_0x4c0d53}=_0xe7df3e,{URL:_0x17fbd5}=_0x15cac9,_0x1f827e=he(),_0x13ab0d=dt(),_0x1a500d=_t(),{isBlob:_0x1bc863}=ne(),{BINARY_TYPES:_0x25e6fd,EMPTY_BUFFER:_0x24cc55,GUID:_0x3c598f,kForOnEventAttribute:_0x3255ba,kListener:_0x476d66,kStatusCode:_0x587c6c,kWebSocket:_0xe12f4b,NOOP:_0xf876d3}=V(),{EventTarget:{addEventListener:_0x50e22f,removeEventListener:_0x391e0a}}=Kt(),{format:_0x8dcc46,parse:_0x6b9e06}=pt(),{toBuffer:_0x24cab7}=ce(),_0x557661=0x1e*0x3e8,_0x139d15=Symbol(_0x3ac3a5(0x2d4)),_0x565076=[0x8,0xd],_0x587803=[_0x3ac3a5(0x2d6),'OPEN','CLOSING',_0x3ac3a5(0x2c6)],_0x59d371=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x9063fd extends _0x4e799a{constructor(_0x48dca2,_0x3f49d3,_0x469df1){const _0x284787=_0x3ac3a5;super(),this[_0x284787(0x1e7)]=_0x25e6fd[0x0],this['_closeCode']=0x3ee,this[_0x284787(0x16e)]=!0x1,this[_0x284787(0x1d7)]=!0x1,this[_0x284787(0x17d)]=_0x24cc55,this['_closeTimer']=null,this[_0x284787(0x280)]=!0x1,this[_0x284787(0x27a)]={},this[_0x284787(0x23a)]=!0x1,this['_protocol']='',this[_0x284787(0x205)]=_0x9063fd[_0x284787(0x2d6)],this[_0x284787(0x21d)]=null,this['_sender']=null,this[_0x284787(0x160)]=null,_0x48dca2!==null?(this[_0x284787(0x308)]=0x0,this[_0x284787(0x24a)]=!0x1,this[_0x284787(0x21a)]=0x0,_0x3f49d3===void 0x0?_0x3f49d3=[]:Array[_0x284787(0x2b1)](_0x3f49d3)||(typeof _0x3f49d3==_0x284787(0x188)&&_0x3f49d3!==null?(_0x469df1=_0x3f49d3,_0x3f49d3=[]):_0x3f49d3=[_0x3f49d3]),_0x2cc2c8(this,_0x48dca2,_0x3f49d3,_0x469df1)):(this[_0x284787(0x15d)]=_0x469df1[_0x284787(0x185)],this[_0x284787(0x24a)]=!0x0);}get['binaryType'](){const _0x1bc7ec=_0x3ac3a5;return this[_0x1bc7ec(0x1e7)];}set[_0x3ac3a5(0x162)](_0x47a816){const _0x1d1bf8=_0x3ac3a5;_0x25e6fd[_0x1d1bf8(0x1f9)](_0x47a816)&&(this[_0x1d1bf8(0x1e7)]=_0x47a816,this[_0x1d1bf8(0x21d)]&&(this[_0x1d1bf8(0x21d)][_0x1d1bf8(0x1e7)]=_0x47a816));}get[_0x3ac3a5(0x299)](){const _0x5a3e77=_0x3ac3a5;return this['_socket']?this[_0x5a3e77(0x160)][_0x5a3e77(0x20e)][_0x5a3e77(0x2ac)]+this[_0x5a3e77(0x1cc)]['_bufferedBytes']:this['_bufferedAmount'];}get['extensions'](){const _0x2c72af=_0x3ac3a5;return Object[_0x2c72af(0x178)](this[_0x2c72af(0x27a)])[_0x2c72af(0x229)]();}get['isPaused'](){const _0x4511c3=_0x3ac3a5;return this[_0x4511c3(0x23a)];}get[_0x3ac3a5(0x24c)](){return null;}get[_0x3ac3a5(0x28b)](){return null;}get[_0x3ac3a5(0x207)](){return null;}get[_0x3ac3a5(0x313)](){return null;}get[_0x3ac3a5(0x179)](){const _0x5d5520=_0x3ac3a5;return this[_0x5d5520(0x1fd)];}get[_0x3ac3a5(0x194)](){const _0x58b056=_0x3ac3a5;return this[_0x58b056(0x205)];}get[_0x3ac3a5(0x1c2)](){return this['_url'];}['setSocket'](_0x21af16,_0x468884,_0x3357a6){const _0x5c0061=_0x3ac3a5,_0x948f2a=new _0x13ab0d({'allowSynchronousEvents':_0x3357a6[_0x5c0061(0x197)],'binaryType':this[_0x5c0061(0x162)],'extensions':this[_0x5c0061(0x27a)],'isServer':this[_0x5c0061(0x24a)],'maxPayload':_0x3357a6[_0x5c0061(0x22b)],'skipUTF8Validation':_0x3357a6[_0x5c0061(0x1eb)]}),_0x20ca17=new _0x1a500d(_0x21af16,this['_extensions'],_0x3357a6['generateMask']);this[_0x5c0061(0x21d)]=_0x948f2a,this[_0x5c0061(0x1cc)]=_0x20ca17,this[_0x5c0061(0x160)]=_0x21af16,_0x948f2a[_0xe12f4b]=this,_0x20ca17[_0xe12f4b]=this,_0x21af16[_0xe12f4b]=this,_0x948f2a['on'](_0x5c0061(0x1ec),_0x440248),_0x948f2a['on'](_0x5c0061(0x206),_0x3ba145),_0x948f2a['on'](_0x5c0061(0x1ba),_0x5a550e),_0x948f2a['on'](_0x5c0061(0x1f6),_0x4445ab),_0x948f2a['on'](_0x5c0061(0x250),_0x35eb9e),_0x948f2a['on'](_0x5c0061(0x295),_0x4e1ac5),_0x20ca17[_0x5c0061(0x28b)]=_0x32cc17,_0x21af16[_0x5c0061(0x1ea)]&&_0x21af16['setTimeout'](0x0),_0x21af16[_0x5c0061(0x1a4)]&&_0x21af16[_0x5c0061(0x1a4)](),_0x468884[_0x5c0061(0x2ac)]>0x0&&_0x21af16['unshift'](_0x468884),_0x21af16['on'](_0x5c0061(0x2e3),_0x1f8543),_0x21af16['on'](_0x5c0061(0x25d),_0x41c789),_0x21af16['on'](_0x5c0061(0x2c7),_0x4f9373),_0x21af16['on'](_0x5c0061(0x1ba),_0x3decd1),this[_0x5c0061(0x205)]=_0x9063fd[_0x5c0061(0x1cf)],this[_0x5c0061(0x18c)](_0x5c0061(0x303));}['emitClose'](){const _0x530b3d=_0x3ac3a5;if(!this['_socket']){this[_0x530b3d(0x205)]=_0x9063fd[_0x530b3d(0x2c6)],this[_0x530b3d(0x18c)](_0x530b3d(0x2e3),this['_closeCode'],this[_0x530b3d(0x17d)]);return;}this[_0x530b3d(0x27a)][_0x1f827e[_0x530b3d(0x171)]]&&this[_0x530b3d(0x27a)][_0x1f827e[_0x530b3d(0x171)]][_0x530b3d(0x312)](),this['_receiver'][_0x530b3d(0x19c)](),this[_0x530b3d(0x205)]=_0x9063fd[_0x530b3d(0x2c6)],this[_0x530b3d(0x18c)](_0x530b3d(0x2e3),this[_0x530b3d(0x225)],this['_closeMessage']);}['close'](_0x18e7a4,_0x38d1a9){const _0x13c444=_0x3ac3a5;if(this[_0x13c444(0x194)]!==_0x9063fd[_0x13c444(0x2c6)]){if(this[_0x13c444(0x194)]===_0x9063fd[_0x13c444(0x2d6)]){_0x254b92(this,this[_0x13c444(0x2e9)],_0x13c444(0x1d9));return;}if(this['readyState']===_0x9063fd[_0x13c444(0x2ba)]){this[_0x13c444(0x1d7)]&&(this['_closeFrameReceived']||this[_0x13c444(0x21d)][_0x13c444(0x20e)][_0x13c444(0x169)])&&this[_0x13c444(0x160)][_0x13c444(0x2c7)]();return;}this[_0x13c444(0x205)]=_0x9063fd[_0x13c444(0x2ba)],this['_sender'][_0x13c444(0x2e3)](_0x18e7a4,_0x38d1a9,!this[_0x13c444(0x24a)],_0x477611=>{const _0xd520d=_0x13c444;_0x477611||(this[_0xd520d(0x1d7)]=!0x0,(this['_closeFrameReceived']||this[_0xd520d(0x21d)]['_writableState'][_0xd520d(0x169)])&&this[_0xd520d(0x160)][_0xd520d(0x2c7)]());}),_0x133de3(this);}}[_0x3ac3a5(0x23e)](){const _0x3fe2b7=_0x3ac3a5;this[_0x3fe2b7(0x194)]===_0x9063fd[_0x3fe2b7(0x2d6)]||this[_0x3fe2b7(0x194)]===_0x9063fd[_0x3fe2b7(0x2c6)]||(this['_paused']=!0x0,this[_0x3fe2b7(0x160)]['pause']());}[_0x3ac3a5(0x250)](_0x1fbd84,_0x11f037,_0x19eb01){const _0x3ca190=_0x3ac3a5;if(this[_0x3ca190(0x194)]===_0x9063fd[_0x3ca190(0x2d6)])throw new Error(_0x3ca190(0x217));if(typeof _0x1fbd84=='function'?(_0x19eb01=_0x1fbd84,_0x1fbd84=_0x11f037=void 0x0):typeof _0x11f037==_0x3ca190(0x22a)&&(_0x19eb01=_0x11f037,_0x11f037=void 0x0),typeof _0x1fbd84==_0x3ca190(0x17f)&&(_0x1fbd84=_0x1fbd84[_0x3ca190(0x282)]()),this[_0x3ca190(0x194)]!==_0x9063fd[_0x3ca190(0x1cf)]){_0x3353ed(this,_0x1fbd84,_0x19eb01);return;}_0x11f037===void 0x0&&(_0x11f037=!this[_0x3ca190(0x24a)]),this[_0x3ca190(0x1cc)][_0x3ca190(0x250)](_0x1fbd84||_0x24cc55,_0x11f037,_0x19eb01);}[_0x3ac3a5(0x295)](_0x5e468b,_0x1a20af,_0x1f14b4){const _0x552e90=_0x3ac3a5;if(this['readyState']===_0x9063fd[_0x552e90(0x2d6)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x5e468b==_0x552e90(0x22a)?(_0x1f14b4=_0x5e468b,_0x5e468b=_0x1a20af=void 0x0):typeof _0x1a20af==_0x552e90(0x22a)&&(_0x1f14b4=_0x1a20af,_0x1a20af=void 0x0),typeof _0x5e468b==_0x552e90(0x17f)&&(_0x5e468b=_0x5e468b['toString']()),this[_0x552e90(0x194)]!==_0x9063fd[_0x552e90(0x1cf)]){_0x3353ed(this,_0x5e468b,_0x1f14b4);return;}_0x1a20af===void 0x0&&(_0x1a20af=!this[_0x552e90(0x24a)]),this['_sender'][_0x552e90(0x295)](_0x5e468b||_0x24cc55,_0x1a20af,_0x1f14b4);}['resume'](){const _0x2352ad=_0x3ac3a5;this['readyState']===_0x9063fd['CONNECTING']||this[_0x2352ad(0x194)]===_0x9063fd[_0x2352ad(0x2c6)]||(this[_0x2352ad(0x23a)]=!0x1,this[_0x2352ad(0x21d)]['_writableState'][_0x2352ad(0x28c)]||this[_0x2352ad(0x160)]['resume']());}[_0x3ac3a5(0x25f)](_0x386ad4,_0xd05015,_0x23c490){const _0x5af064=_0x3ac3a5;if(this[_0x5af064(0x194)]===_0x9063fd['CONNECTING'])throw new Error(_0x5af064(0x217));if(typeof _0xd05015==_0x5af064(0x22a)&&(_0x23c490=_0xd05015,_0xd05015={}),typeof _0x386ad4==_0x5af064(0x17f)&&(_0x386ad4=_0x386ad4[_0x5af064(0x282)]()),this['readyState']!==_0x9063fd[_0x5af064(0x1cf)]){_0x3353ed(this,_0x386ad4,_0x23c490);return;}const _0x578613={'binary':typeof _0x386ad4!=_0x5af064(0x1dd),'mask':!this['_isServer'],'compress':!0x0,'fin':!0x0,..._0xd05015};this['_extensions'][_0x1f827e[_0x5af064(0x171)]]||(_0x578613[_0x5af064(0x19e)]=!0x1),this[_0x5af064(0x1cc)][_0x5af064(0x25f)](_0x386ad4||_0x24cc55,_0x578613,_0x23c490);}[_0x3ac3a5(0x166)](){const _0x200be0=_0x3ac3a5;if(this[_0x200be0(0x194)]!==_0x9063fd[_0x200be0(0x2c6)]){if(this['readyState']===_0x9063fd[_0x200be0(0x2d6)]){_0x254b92(this,this[_0x200be0(0x2e9)],_0x200be0(0x1d9));return;}this[_0x200be0(0x160)]&&(this[_0x200be0(0x205)]=_0x9063fd[_0x200be0(0x2ba)],this[_0x200be0(0x160)][_0x200be0(0x1a9)]());}}}Object[_0x3ac3a5(0x26e)](_0x9063fd,_0x3ac3a5(0x2d6),{'enumerable':!0x0,'value':_0x587803['indexOf'](_0x3ac3a5(0x2d6))}),Object['defineProperty'](_0x9063fd[_0x3ac3a5(0x271)],_0x3ac3a5(0x2d6),{'enumerable':!0x0,'value':_0x587803[_0x3ac3a5(0x2ee)](_0x3ac3a5(0x2d6))}),Object[_0x3ac3a5(0x26e)](_0x9063fd,_0x3ac3a5(0x1cf),{'enumerable':!0x0,'value':_0x587803[_0x3ac3a5(0x2ee)](_0x3ac3a5(0x1cf))}),Object[_0x3ac3a5(0x26e)](_0x9063fd[_0x3ac3a5(0x271)],_0x3ac3a5(0x1cf),{'enumerable':!0x0,'value':_0x587803[_0x3ac3a5(0x2ee)]('OPEN')}),Object[_0x3ac3a5(0x26e)](_0x9063fd,_0x3ac3a5(0x2ba),{'enumerable':!0x0,'value':_0x587803['indexOf'](_0x3ac3a5(0x2ba))}),Object['defineProperty'](_0x9063fd[_0x3ac3a5(0x271)],'CLOSING',{'enumerable':!0x0,'value':_0x587803['indexOf'](_0x3ac3a5(0x2ba))}),Object[_0x3ac3a5(0x26e)](_0x9063fd,'CLOSED',{'enumerable':!0x0,'value':_0x587803[_0x3ac3a5(0x2ee)](_0x3ac3a5(0x2c6))}),Object['defineProperty'](_0x9063fd[_0x3ac3a5(0x271)],'CLOSED',{'enumerable':!0x0,'value':_0x587803[_0x3ac3a5(0x2ee)](_0x3ac3a5(0x2c6))}),[_0x3ac3a5(0x162),'bufferedAmount',_0x3ac3a5(0x243),_0x3ac3a5(0x21b),_0x3ac3a5(0x179),'readyState',_0x3ac3a5(0x1c2)][_0x3ac3a5(0x1b1)](_0x43d322=>{const _0x1abd70=_0x3ac3a5;Object[_0x1abd70(0x26e)](_0x9063fd[_0x1abd70(0x271)],_0x43d322,{'enumerable':!0x0});}),[_0x3ac3a5(0x303),_0x3ac3a5(0x1ba),_0x3ac3a5(0x2e3),'message'][_0x3ac3a5(0x1b1)](_0x55c003=>{const _0x27cf3e=_0x3ac3a5;Object[_0x27cf3e(0x26e)](_0x9063fd[_0x27cf3e(0x271)],'on'+_0x55c003,{'enumerable':!0x0,'get'(){const _0x235412=_0x27cf3e;for(const _0x4cfc1b of this[_0x235412(0x1fe)](_0x55c003))if(_0x4cfc1b[_0x3255ba])return _0x4cfc1b[_0x476d66];return null;},'set'(_0x274cf2){const _0x5f3bf6=_0x27cf3e;for(const _0x3ce23f of this['listeners'](_0x55c003))if(_0x3ce23f[_0x3255ba]){this[_0x5f3bf6(0x2a8)](_0x55c003,_0x3ce23f);break;}typeof _0x274cf2==_0x5f3bf6(0x22a)&&this[_0x5f3bf6(0x256)](_0x55c003,_0x274cf2,{[_0x3255ba]:!0x0});}});}),_0x9063fd[_0x3ac3a5(0x271)][_0x3ac3a5(0x256)]=_0x50e22f,_0x9063fd[_0x3ac3a5(0x271)][_0x3ac3a5(0x1ce)]=_0x391e0a,we=_0x9063fd;function _0x2cc2c8(_0x15a122,_0xb89890,_0x1e864f,_0x1e81f5){const _0x3590a7=_0x3ac3a5,_0x2474a9={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x565076[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x1e81f5,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x3590a7(0x244),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x15a122[_0x3590a7(0x15d)]=_0x2474a9[_0x3590a7(0x185)],!_0x565076[_0x3590a7(0x1f9)](_0x2474a9['protocolVersion']))throw new RangeError(_0x3590a7(0x26a)+_0x2474a9[_0x3590a7(0x184)]+_0x3590a7(0x204)+_0x565076[_0x3590a7(0x229)](',\x20')+')');let _0x437bb2;if(_0xb89890 instanceof _0x17fbd5)_0x437bb2=_0xb89890;else try{_0x437bb2=new _0x17fbd5(_0xb89890);}catch{throw new SyntaxError(_0x3590a7(0x288)+_0xb89890);}_0x437bb2['protocol']===_0x3590a7(0x182)?_0x437bb2[_0x3590a7(0x179)]=_0x3590a7(0x30a):_0x437bb2[_0x3590a7(0x179)]===_0x3590a7(0x29f)&&(_0x437bb2['protocol']=_0x3590a7(0x1c3)),_0x15a122[_0x3590a7(0x1a7)]=_0x437bb2[_0x3590a7(0x1a3)];const _0x4dc9c0=_0x437bb2['protocol']==='wss:',_0x4d0a30=_0x437bb2[_0x3590a7(0x179)]==='ws+unix:';let _0x1cc212;if(_0x437bb2['protocol']!==_0x3590a7(0x30a)&&!_0x4dc9c0&&!_0x4d0a30?_0x1cc212=_0x3590a7(0x1e8):_0x4d0a30&&!_0x437bb2[_0x3590a7(0x30f)]?_0x1cc212=_0x3590a7(0x218):_0x437bb2[_0x3590a7(0x248)]&&(_0x1cc212=_0x3590a7(0x2e4)),_0x1cc212){const _0x483698=new SyntaxError(_0x1cc212);if(_0x15a122[_0x3590a7(0x21a)]===0x0)throw _0x483698;_0x35edca(_0x15a122,_0x483698);return;}const _0x3fcb5b=_0x4dc9c0?0x1bb:0x50,_0xcaa815=_0x134141(0x10)[_0x3590a7(0x282)]('base64'),_0x2bfbb8=_0x4dc9c0?_0x33b425['request']:_0x2b2813[_0x3590a7(0x1a8)],_0x38d03d=new Set();let _0x314bf7;if(_0x2474a9[_0x3590a7(0x1a0)]=_0x2474a9[_0x3590a7(0x1a0)]||(_0x4dc9c0?_0x5ca4df:_0x1f375c),_0x2474a9[_0x3590a7(0x1b6)]=_0x2474a9[_0x3590a7(0x1b6)]||_0x3fcb5b,_0x2474a9[_0x3590a7(0x1e5)]=_0x437bb2[_0x3590a7(0x1e5)]||_0x3fcb5b,_0x2474a9['host']=_0x437bb2[_0x3590a7(0x216)][_0x3590a7(0x192)]('[')?_0x437bb2[_0x3590a7(0x216)][_0x3590a7(0x286)](0x1,-0x1):_0x437bb2[_0x3590a7(0x216)],_0x2474a9['headers']={..._0x2474a9[_0x3590a7(0x260)],'Sec-WebSocket-Version':_0x2474a9[_0x3590a7(0x184)],'Sec-WebSocket-Key':_0xcaa815,'Connection':_0x3590a7(0x2db),'Upgrade':_0x3590a7(0x15c)},_0x2474a9['path']=_0x437bb2['pathname']+_0x437bb2[_0x3590a7(0x226)],_0x2474a9[_0x3590a7(0x231)]=_0x2474a9[_0x3590a7(0x2ab)],_0x2474a9[_0x3590a7(0x1f7)]&&(_0x314bf7=new _0x1f827e(_0x2474a9[_0x3590a7(0x1f7)]!==!0x0?_0x2474a9['perMessageDeflate']:{},!0x1,_0x2474a9[_0x3590a7(0x22b)]),_0x2474a9[_0x3590a7(0x260)][_0x3590a7(0x181)]=_0x8dcc46({[_0x1f827e[_0x3590a7(0x171)]]:_0x314bf7['offer']()})),_0x1e864f[_0x3590a7(0x2ac)]){for(const _0x383665 of _0x1e864f){if(typeof _0x383665!=_0x3590a7(0x1dd)||!_0x59d371[_0x3590a7(0x21e)](_0x383665)||_0x38d03d['has'](_0x383665))throw new SyntaxError(_0x3590a7(0x2c4));_0x38d03d[_0x3590a7(0x26f)](_0x383665);}_0x2474a9[_0x3590a7(0x260)]['Sec-WebSocket-Protocol']=_0x1e864f[_0x3590a7(0x229)](',');}if(_0x2474a9['origin']&&(_0x2474a9[_0x3590a7(0x184)]<0xd?_0x2474a9[_0x3590a7(0x260)][_0x3590a7(0x22e)]=_0x2474a9['origin']:_0x2474a9[_0x3590a7(0x260)][_0x3590a7(0x158)]=_0x2474a9[_0x3590a7(0x25b)]),(_0x437bb2[_0x3590a7(0x23c)]||_0x437bb2[_0x3590a7(0x2de)])&&(_0x2474a9['auth']=_0x437bb2['username']+':'+_0x437bb2['password']),_0x4d0a30){const _0x23c8e1=_0x2474a9[_0x3590a7(0x255)][_0x3590a7(0x266)](':');_0x2474a9['socketPath']=_0x23c8e1[0x0],_0x2474a9['path']=_0x23c8e1[0x1];}let _0x26366f;if(_0x2474a9[_0x3590a7(0x1dc)]){if(_0x15a122[_0x3590a7(0x21a)]===0x0){_0x15a122[_0x3590a7(0x2a2)]=_0x4d0a30,_0x15a122[_0x3590a7(0x2e8)]=_0x4dc9c0,_0x15a122[_0x3590a7(0x2e7)]=_0x4d0a30?_0x2474a9[_0x3590a7(0x165)]:_0x437bb2['host'];const _0x5cb406=_0x1e81f5&&_0x1e81f5['headers'];if(_0x1e81f5={..._0x1e81f5,'headers':{}},_0x5cb406){for(const [_0x1ad088,_0xaaef54]of Object[_0x3590a7(0x237)](_0x5cb406))_0x1e81f5[_0x3590a7(0x260)][_0x1ad088[_0x3590a7(0x273)]()]=_0xaaef54;}}else{if(_0x15a122['listenerCount'](_0x3590a7(0x195))===0x0){const _0x877d91=_0x4d0a30?_0x15a122['_originalIpc']?_0x2474a9['socketPath']===_0x15a122[_0x3590a7(0x2e7)]:!0x1:_0x15a122[_0x3590a7(0x2a2)]?!0x1:_0x437bb2[_0x3590a7(0x264)]===_0x15a122[_0x3590a7(0x2e7)];(!_0x877d91||_0x15a122['_originalSecure']&&!_0x4dc9c0)&&(delete _0x2474a9[_0x3590a7(0x260)][_0x3590a7(0x16d)],delete _0x2474a9[_0x3590a7(0x260)]['cookie'],_0x877d91||delete _0x2474a9[_0x3590a7(0x260)]['host'],_0x2474a9[_0x3590a7(0x1ed)]=void 0x0);}}_0x2474a9['auth']&&!_0x1e81f5[_0x3590a7(0x260)][_0x3590a7(0x16d)]&&(_0x1e81f5[_0x3590a7(0x260)]['authorization']=_0x3590a7(0x311)+Buffer[_0x3590a7(0x28f)](_0x2474a9[_0x3590a7(0x1ed)])['toString'](_0x3590a7(0x2fd))),_0x26366f=_0x15a122['_req']=_0x2bfbb8(_0x2474a9),_0x15a122[_0x3590a7(0x21a)]&&_0x15a122[_0x3590a7(0x18c)](_0x3590a7(0x195),_0x15a122[_0x3590a7(0x1c2)],_0x26366f);}else _0x26366f=_0x15a122[_0x3590a7(0x2e9)]=_0x2bfbb8(_0x2474a9);_0x2474a9['timeout']&&_0x26366f['on'](_0x3590a7(0x231),()=>{const _0x39176a=_0x3590a7;_0x254b92(_0x15a122,_0x26366f,_0x39176a(0x157));}),_0x26366f['on'](_0x3590a7(0x1ba),_0x218295=>{_0x26366f===null||_0x26366f[_0x139d15]||(_0x26366f=_0x15a122['_req']=null,_0x35edca(_0x15a122,_0x218295));}),_0x26366f['on']('response',_0x34eded=>{const _0x1bb6a6=_0x3590a7,_0x1f7ad0=_0x34eded[_0x1bb6a6(0x260)][_0x1bb6a6(0x2a4)],_0x410fd1=_0x34eded[_0x1bb6a6(0x15e)];if(_0x1f7ad0&&_0x2474a9[_0x1bb6a6(0x1dc)]&&_0x410fd1>=0x12c&&_0x410fd1<0x190){if(++_0x15a122['_redirects']>_0x2474a9['maxRedirects']){_0x254b92(_0x15a122,_0x26366f,_0x1bb6a6(0x20a));return;}_0x26366f[_0x1bb6a6(0x2ca)]();let _0x18d4d;try{_0x18d4d=new _0x17fbd5(_0x1f7ad0,_0xb89890);}catch{const _0x5585ba=new SyntaxError(_0x1bb6a6(0x288)+_0x1f7ad0);_0x35edca(_0x15a122,_0x5585ba);return;}_0x2cc2c8(_0x15a122,_0x18d4d,_0x1e864f,_0x1e81f5);}else _0x15a122[_0x1bb6a6(0x18c)](_0x1bb6a6(0x293),_0x26366f,_0x34eded)||_0x254b92(_0x15a122,_0x26366f,_0x1bb6a6(0x2d0)+_0x34eded[_0x1bb6a6(0x15e)]);}),_0x26366f['on']('upgrade',(_0x4e882b,_0x305c0f,_0x3f7a8c)=>{const _0x4abfdd=_0x3590a7;if(_0x15a122[_0x4abfdd(0x18c)](_0x4abfdd(0x263),_0x4e882b),_0x15a122[_0x4abfdd(0x194)]!==_0x9063fd[_0x4abfdd(0x2d6)])return;_0x26366f=_0x15a122['_req']=null;const _0xba5b15=_0x4e882b[_0x4abfdd(0x260)]['upgrade'];if(_0xba5b15===void 0x0||_0xba5b15['toLowerCase']()!==_0x4abfdd(0x15c)){_0x254b92(_0x15a122,_0x305c0f,_0x4abfdd(0x1e4));return;}const _0x1cfeb7=_0x5edff3(_0x4abfdd(0x1fa))[_0x4abfdd(0x164)](_0xcaa815+_0x3c598f)['digest'](_0x4abfdd(0x2fd));if(_0x4e882b[_0x4abfdd(0x260)][_0x4abfdd(0x1d0)]!==_0x1cfeb7){_0x254b92(_0x15a122,_0x305c0f,_0x4abfdd(0x2b3));return;}const _0x3dbd6b=_0x4e882b[_0x4abfdd(0x260)]['sec-websocket-protocol'];let _0x39d381;if(_0x3dbd6b!==void 0x0?_0x38d03d['size']?_0x38d03d[_0x4abfdd(0x22c)](_0x3dbd6b)||(_0x39d381=_0x4abfdd(0x198)):_0x39d381=_0x4abfdd(0x249):_0x38d03d[_0x4abfdd(0x270)]&&(_0x39d381=_0x4abfdd(0x18e)),_0x39d381){_0x254b92(_0x15a122,_0x305c0f,_0x39d381);return;}_0x3dbd6b&&(_0x15a122[_0x4abfdd(0x1fd)]=_0x3dbd6b);const _0x499ad9=_0x4e882b['headers']['sec-websocket-extensions'];if(_0x499ad9!==void 0x0){if(!_0x314bf7){_0x254b92(_0x15a122,_0x305c0f,_0x4abfdd(0x233));return;}let _0x53f38f;try{_0x53f38f=_0x6b9e06(_0x499ad9);}catch{_0x254b92(_0x15a122,_0x305c0f,_0x4abfdd(0x27b));return;}const _0x13dfe0=Object[_0x4abfdd(0x178)](_0x53f38f);if(_0x13dfe0['length']!==0x1||_0x13dfe0[0x0]!==_0x1f827e[_0x4abfdd(0x171)]){_0x254b92(_0x15a122,_0x305c0f,_0x4abfdd(0x219));return;}try{_0x314bf7['accept'](_0x53f38f[_0x1f827e[_0x4abfdd(0x171)]]);}catch{_0x254b92(_0x15a122,_0x305c0f,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}_0x15a122['_extensions'][_0x1f827e['extensionName']]=_0x314bf7;}_0x15a122[_0x4abfdd(0x175)](_0x305c0f,_0x3f7a8c,{'allowSynchronousEvents':_0x2474a9[_0x4abfdd(0x197)],'generateMask':_0x2474a9[_0x4abfdd(0x151)],'maxPayload':_0x2474a9[_0x4abfdd(0x22b)],'skipUTF8Validation':_0x2474a9[_0x4abfdd(0x1eb)]});}),_0x2474a9[_0x3590a7(0x16b)]?_0x2474a9[_0x3590a7(0x16b)](_0x26366f,_0x15a122):_0x26366f[_0x3590a7(0x2c7)]();}function _0x35edca(_0x25d277,_0x90ec4c){const _0x397380=_0x3ac3a5;_0x25d277['_readyState']=_0x9063fd[_0x397380(0x2ba)],_0x25d277[_0x397380(0x280)]=!0x0,_0x25d277[_0x397380(0x18c)](_0x397380(0x1ba),_0x90ec4c),_0x25d277[_0x397380(0x21f)]();}function _0x1f375c(_0x16460c){const _0x364f4d=_0x3ac3a5;return _0x16460c[_0x364f4d(0x255)]=_0x16460c[_0x364f4d(0x165)],_0x33152e['connect'](_0x16460c);}function _0x5ca4df(_0x27660c){const _0x3f5fc4=_0x3ac3a5;return _0x27660c['path']=void 0x0,!_0x27660c[_0x3f5fc4(0x304)]&&_0x27660c[_0x3f5fc4(0x304)]!==''&&(_0x27660c[_0x3f5fc4(0x304)]=_0x33152e[_0x3f5fc4(0x1e9)](_0x27660c['host'])?'':_0x27660c[_0x3f5fc4(0x264)]),_0x28cd33[_0x3f5fc4(0x1a1)](_0x27660c);}function _0x254b92(_0x444715,_0x4a6f2d,_0x38fbf1){const _0x455c1f=_0x3ac3a5;_0x444715[_0x455c1f(0x205)]=_0x9063fd[_0x455c1f(0x2ba)];const _0x4dbab4=new Error(_0x38fbf1);Error[_0x455c1f(0x27d)](_0x4dbab4,_0x254b92),_0x4a6f2d[_0x455c1f(0x25a)]?(_0x4a6f2d[_0x139d15]=!0x0,_0x4a6f2d[_0x455c1f(0x2ca)](),_0x4a6f2d['socket']&&!_0x4a6f2d[_0x455c1f(0x155)][_0x455c1f(0x2ea)]&&_0x4a6f2d[_0x455c1f(0x155)][_0x455c1f(0x1a9)](),process[_0x455c1f(0x190)](_0x35edca,_0x444715,_0x4dbab4)):(_0x4a6f2d[_0x455c1f(0x1a9)](_0x4dbab4),_0x4a6f2d[_0x455c1f(0x276)]('error',_0x444715[_0x455c1f(0x18c)]['bind'](_0x444715,_0x455c1f(0x1ba))),_0x4a6f2d[_0x455c1f(0x276)](_0x455c1f(0x2e3),_0x444715['emitClose'][_0x455c1f(0x1ad)](_0x444715)));}function _0x3353ed(_0x48123e,_0x3a46cf,_0x4e2a68){const _0x2265de=_0x3ac3a5;if(_0x3a46cf){const _0x54ac5c=_0x1bc863(_0x3a46cf)?_0x3a46cf[_0x2265de(0x270)]:_0x24cab7(_0x3a46cf)[_0x2265de(0x2ac)];_0x48123e['_socket']?_0x48123e[_0x2265de(0x1cc)][_0x2265de(0x277)]+=_0x54ac5c:_0x48123e['_bufferedAmount']+=_0x54ac5c;}if(_0x4e2a68){const _0x1b19f8=new Error(_0x2265de(0x1a2)+_0x48123e[_0x2265de(0x194)]+'\x20('+_0x587803[_0x48123e[_0x2265de(0x194)]]+')');process[_0x2265de(0x190)](_0x4e2a68,_0x1b19f8);}}function _0x440248(_0x30f4c8,_0x1e94aa){const _0x34ec3d=_0x3ac3a5,_0x2a732a=this[_0xe12f4b];_0x2a732a[_0x34ec3d(0x16e)]=!0x0,_0x2a732a['_closeMessage']=_0x1e94aa,_0x2a732a[_0x34ec3d(0x225)]=_0x30f4c8,_0x2a732a[_0x34ec3d(0x160)][_0xe12f4b]!==void 0x0&&(_0x2a732a[_0x34ec3d(0x160)]['removeListener'](_0x34ec3d(0x25d),_0x41c789),process[_0x34ec3d(0x190)](_0xb0636b,_0x2a732a['_socket']),_0x30f4c8===0x3ed?_0x2a732a[_0x34ec3d(0x2e3)]():_0x2a732a[_0x34ec3d(0x2e3)](_0x30f4c8,_0x1e94aa));}function _0x3ba145(){const _0x4dff12=_0x3ac3a5,_0x308966=this[_0xe12f4b];_0x308966[_0x4dff12(0x21b)]||_0x308966['_socket']['resume']();}function _0x5a550e(_0x3d95d3){const _0x29e8cb=_0x3ac3a5,_0x5a7185=this[_0xe12f4b];_0x5a7185[_0x29e8cb(0x160)][_0xe12f4b]!==void 0x0&&(_0x5a7185['_socket'][_0x29e8cb(0x2a8)]('data',_0x41c789),process['nextTick'](_0xb0636b,_0x5a7185['_socket']),_0x5a7185['close'](_0x3d95d3[_0x587c6c])),_0x5a7185[_0x29e8cb(0x280)]||(_0x5a7185[_0x29e8cb(0x280)]=!0x0,_0x5a7185[_0x29e8cb(0x18c)](_0x29e8cb(0x1ba),_0x3d95d3));}function _0x3ae737(){const _0x2e8e83=_0x3ac3a5;this[_0xe12f4b][_0x2e8e83(0x21f)]();}function _0x4445ab(_0x111531,_0x4c0b2f){const _0x58c113=_0x3ac3a5;this[_0xe12f4b]['emit'](_0x58c113(0x1f6),_0x111531,_0x4c0b2f);}function _0x35eb9e(_0x493403){const _0x25e66e=_0x3ac3a5,_0x5957e0=this[_0xe12f4b];_0x5957e0[_0x25e66e(0x15d)]&&_0x5957e0['pong'](_0x493403,!this['_isServer'],_0xf876d3),_0x5957e0[_0x25e66e(0x18c)](_0x25e66e(0x250),_0x493403);}function _0x4e1ac5(_0x26b3d8){const _0x340c06=_0x3ac3a5;this[_0xe12f4b][_0x340c06(0x18c)](_0x340c06(0x295),_0x26b3d8);}function _0xb0636b(_0x271ac7){const _0x3b751e=_0x3ac3a5;_0x271ac7[_0x3b751e(0x22d)]();}function _0x32cc17(_0x51d3f3){const _0x17df60=_0x3ac3a5,_0x13464c=this[_0xe12f4b];_0x13464c[_0x17df60(0x194)]!==_0x9063fd['CLOSED']&&(_0x13464c[_0x17df60(0x194)]===_0x9063fd[_0x17df60(0x1cf)]&&(_0x13464c[_0x17df60(0x205)]=_0x9063fd[_0x17df60(0x2ba)],_0x133de3(_0x13464c)),this['_socket'][_0x17df60(0x2c7)](),_0x13464c['_errorEmitted']||(_0x13464c['_errorEmitted']=!0x0,_0x13464c[_0x17df60(0x18c)]('error',_0x51d3f3)));}function _0x133de3(_0x3ed819){const _0x442b3f=_0x3ac3a5;_0x3ed819[_0x442b3f(0x214)]=setTimeout(_0x3ed819[_0x442b3f(0x160)]['destroy'][_0x442b3f(0x1ad)](_0x3ed819[_0x442b3f(0x160)]),_0x557661);}function _0x1f8543(){const _0x21c46c=_0x3ac3a5,_0x35a335=this[_0xe12f4b];this[_0x21c46c(0x2a8)](_0x21c46c(0x2e3),_0x1f8543),this[_0x21c46c(0x2a8)](_0x21c46c(0x25d),_0x41c789),this['removeListener'](_0x21c46c(0x2c7),_0x4f9373),_0x35a335['_readyState']=_0x9063fd[_0x21c46c(0x2ba)];let _0x23cdb6;!this[_0x21c46c(0x1c1)][_0x21c46c(0x281)]&&!_0x35a335[_0x21c46c(0x16e)]&&!_0x35a335[_0x21c46c(0x21d)][_0x21c46c(0x20e)][_0x21c46c(0x169)]&&(_0x23cdb6=_0x35a335['_socket'][_0x21c46c(0x283)]())!==null&&_0x35a335[_0x21c46c(0x21d)]['write'](_0x23cdb6),_0x35a335['_receiver']['end'](),this[_0xe12f4b]=void 0x0,clearTimeout(_0x35a335[_0x21c46c(0x214)]),_0x35a335[_0x21c46c(0x21d)][_0x21c46c(0x20e)][_0x21c46c(0x1fb)]||_0x35a335[_0x21c46c(0x21d)][_0x21c46c(0x20e)][_0x21c46c(0x169)]?_0x35a335[_0x21c46c(0x21f)]():(_0x35a335['_receiver']['on'](_0x21c46c(0x1ba),_0x3ae737),_0x35a335[_0x21c46c(0x21d)]['on'](_0x21c46c(0x2d9),_0x3ae737));}function _0x41c789(_0x453bb8){const _0x483ed3=_0x3ac3a5;this[_0xe12f4b][_0x483ed3(0x21d)][_0x483ed3(0x154)](_0x453bb8)||this[_0x483ed3(0x23e)]();}function _0x4f9373(){const _0x1edadd=_0x3ac3a5,_0x342ea5=this[_0xe12f4b];_0x342ea5[_0x1edadd(0x205)]=_0x9063fd[_0x1edadd(0x2ba)],_0x342ea5[_0x1edadd(0x21d)]['end'](),this[_0x1edadd(0x2c7)]();}function _0x3decd1(){const _0x2d981f=_0x3ac3a5,_0x5431bd=this[_0xe12f4b];this['removeListener'](_0x2d981f(0x1ba),_0x3decd1),this['on'](_0x2d981f(0x1ba),_0xf876d3),_0x5431bd&&(_0x5431bd[_0x2d981f(0x205)]=_0x9063fd[_0x2d981f(0x2ba)],this[_0x2d981f(0x1a9)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x4c3984}=_0xe7df3e;function _0x4bf599(_0x43f43e){const _0x3cec39=_0x4ce0;_0x43f43e[_0x3cec39(0x18c)]('close');}function _0x4814c3(){const _0x957bce=_0x4ce0;!this[_0x957bce(0x2ea)]&&this[_0x957bce(0x20e)][_0x957bce(0x1fb)]&&this['destroy']();}function _0x594ef6(_0x1245dc){const _0x459a0c=_0x4ce0;this[_0x459a0c(0x2a8)](_0x459a0c(0x1ba),_0x594ef6),this[_0x459a0c(0x1a9)](),this[_0x459a0c(0x29a)](_0x459a0c(0x1ba))===0x0&&this[_0x459a0c(0x18c)](_0x459a0c(0x1ba),_0x1245dc);}function _0x554482(_0x2a03f7,_0x20e6ec){const _0x247edb=_0x4ce0;let _0x4cf15b=!0x0;const _0x195228=new _0x4c3984({..._0x20e6ec,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x2a03f7['on']('message',function(_0x52fa8e,_0x4e3038){const _0x71f075=_0x4ce0,_0x47ed5c=!_0x4e3038&&_0x195228[_0x71f075(0x1c1)][_0x71f075(0x191)]?_0x52fa8e[_0x71f075(0x282)]():_0x52fa8e;_0x195228[_0x71f075(0x1f5)](_0x47ed5c)||_0x2a03f7[_0x71f075(0x23e)]();}),_0x2a03f7['once']('error',function(_0x47f0be){const _0x3a7782=_0x4ce0;_0x195228[_0x3a7782(0x2ea)]||(_0x4cf15b=!0x1,_0x195228[_0x3a7782(0x1a9)](_0x47f0be));}),_0x2a03f7['once'](_0x247edb(0x2e3),function(){const _0x3edc88=_0x247edb;_0x195228[_0x3edc88(0x2ea)]||_0x195228['push'](null);}),_0x195228[_0x247edb(0x1c6)]=function(_0x16c470,_0x27da3e){const _0x4e052c=_0x247edb;if(_0x2a03f7[_0x4e052c(0x194)]===_0x2a03f7[_0x4e052c(0x2c6)]){_0x27da3e(_0x16c470),process[_0x4e052c(0x190)](_0x4bf599,_0x195228);return;}let _0x5c1c6e=!0x1;_0x2a03f7['once']('error',function(_0x46669b){_0x5c1c6e=!0x0,_0x27da3e(_0x46669b);}),_0x2a03f7['once'](_0x4e052c(0x2e3),function(){const _0x488caa=_0x4e052c;_0x5c1c6e||_0x27da3e(_0x16c470),process[_0x488caa(0x190)](_0x4bf599,_0x195228);}),_0x4cf15b&&_0x2a03f7[_0x4e052c(0x166)]();},_0x195228[_0x247edb(0x2b8)]=function(_0x3ea380){const _0x10ef10=_0x247edb;if(_0x2a03f7['readyState']===_0x2a03f7[_0x10ef10(0x2d6)]){_0x2a03f7[_0x10ef10(0x276)](_0x10ef10(0x303),function(){const _0x404a5c=_0x10ef10;_0x195228[_0x404a5c(0x2b8)](_0x3ea380);});return;}_0x2a03f7[_0x10ef10(0x160)]!==null&&(_0x2a03f7['_socket']['_writableState']['finished']?(_0x3ea380(),_0x195228['_readableState'][_0x10ef10(0x281)]&&_0x195228['destroy']()):(_0x2a03f7['_socket']['once'](_0x10ef10(0x2d9),function(){_0x3ea380();}),_0x2a03f7['close']()));},_0x195228['_read']=function(){const _0x51e96e=_0x247edb;_0x2a03f7[_0x51e96e(0x21b)]&&_0x2a03f7['resume']();},_0x195228['_write']=function(_0x62e5a7,_0x17fe76,_0x1cde61){const _0x102fb1=_0x247edb;if(_0x2a03f7[_0x102fb1(0x194)]===_0x2a03f7[_0x102fb1(0x2d6)]){_0x2a03f7[_0x102fb1(0x276)](_0x102fb1(0x303),function(){const _0x11dcf0=_0x102fb1;_0x195228[_0x11dcf0(0x1f8)](_0x62e5a7,_0x17fe76,_0x1cde61);});return;}_0x2a03f7[_0x102fb1(0x25f)](_0x62e5a7,_0x1cde61);},_0x195228['on'](_0x247edb(0x2c7),_0x4814c3),_0x195228['on'](_0x247edb(0x1ba),_0x594ef6),_0x195228;}return Oe=_0x554482,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=jt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0xef4553}=ne();function _0x535db9(_0x2b746d){const _0x2a65d8=_0x4ce0,_0x4ac064=new Set();let _0x4cbf93=-0x1,_0x17c9dc=-0x1,_0x5de971=0x0;for(_0x5de971;_0x5de971<_0x2b746d['length'];_0x5de971++){const _0x2968b1=_0x2b746d[_0x2a65d8(0x2b7)](_0x5de971);if(_0x17c9dc===-0x1&&_0xef4553[_0x2968b1]===0x1)_0x4cbf93===-0x1&&(_0x4cbf93=_0x5de971);else{if(_0x5de971!==0x0&&(_0x2968b1===0x20||_0x2968b1===0x9))_0x17c9dc===-0x1&&_0x4cbf93!==-0x1&&(_0x17c9dc=_0x5de971);else{if(_0x2968b1===0x2c){if(_0x4cbf93===-0x1)throw new SyntaxError(_0x2a65d8(0x1da)+_0x5de971);_0x17c9dc===-0x1&&(_0x17c9dc=_0x5de971);const _0x4cb6f3=_0x2b746d[_0x2a65d8(0x286)](_0x4cbf93,_0x17c9dc);if(_0x4ac064[_0x2a65d8(0x22c)](_0x4cb6f3))throw new SyntaxError(_0x2a65d8(0x2b0)+_0x4cb6f3+'\x22\x20subprotocol\x20is\x20duplicated');_0x4ac064[_0x2a65d8(0x26f)](_0x4cb6f3),_0x4cbf93=_0x17c9dc=-0x1;}else throw new SyntaxError(_0x2a65d8(0x1da)+_0x5de971);}}}if(_0x4cbf93===-0x1||_0x17c9dc!==-0x1)throw new SyntaxError(_0x2a65d8(0x2f2));const _0x314d5a=_0x2b746d[_0x2a65d8(0x286)](_0x4cbf93,_0x5de971);if(_0x4ac064[_0x2a65d8(0x22c)](_0x314d5a))throw new SyntaxError(_0x2a65d8(0x2b0)+_0x314d5a+_0x2a65d8(0x1cb));return _0x4ac064[_0x2a65d8(0x26f)](_0x314d5a),_0x4ac064;}return Ce={'parse':_0x535db9},Ce;}var Te,ot;function er(){const _0x36dfde=_0x3d1fcd;if(ot)return Te;ot=0x1;const _0x16abe2=_0x29ee69,_0x40eb4f=_0xf10a13,{Duplex:_0x4e2d95}=_0xe7df3e,{createHash:_0x6dda3}=_0x2073e9,_0x1ccc60=pt(),_0x1ed2e8=he(),_0x24e465=Jt(),_0x5aa26e=Ie(),{GUID:_0x238b89,kWebSocket:_0x523ab4}=V(),_0x14b956=/^[+/0-9A-Za-z]{22}==$/,_0x3441aa=0x0,_0x56dd94=0x1,_0x465b56=0x2;class _0x292de8 extends _0x16abe2{constructor(_0x293bc2,_0x36ade3){const _0xf67115=_0x4ce0;if(super(),_0x293bc2={'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':_0x5aa26e,..._0x293bc2},_0x293bc2[_0xf67115(0x1e5)]==null&&!_0x293bc2[_0xf67115(0x1d8)]&&!_0x293bc2[_0xf67115(0x309)]||_0x293bc2['port']!=null&&(_0x293bc2[_0xf67115(0x1d8)]||_0x293bc2['noServer'])||_0x293bc2[_0xf67115(0x1d8)]&&_0x293bc2[_0xf67115(0x309)])throw new TypeError(_0xf67115(0x2ad));if(_0x293bc2[_0xf67115(0x1e5)]!=null?(this[_0xf67115(0x290)]=_0x40eb4f[_0xf67115(0x1ee)]((_0xf177e6,_0xf0f500)=>{const _0x4b2f5f=_0xf67115,_0x2b77be=_0x40eb4f[_0x4b2f5f(0x252)][0x1aa];_0xf0f500[_0x4b2f5f(0x200)](0x1aa,{'Content-Length':_0x2b77be[_0x4b2f5f(0x2ac)],'Content-Type':_0x4b2f5f(0x215)}),_0xf0f500[_0x4b2f5f(0x2c7)](_0x2b77be);}),this[_0xf67115(0x290)][_0xf67115(0x1ab)](_0x293bc2[_0xf67115(0x1e5)],_0x293bc2[_0xf67115(0x264)],_0x293bc2[_0xf67115(0x15f)],_0x36ade3)):_0x293bc2[_0xf67115(0x1d8)]&&(this[_0xf67115(0x290)]=_0x293bc2['server']),this[_0xf67115(0x290)]){const _0x227bbf=this[_0xf67115(0x18c)][_0xf67115(0x1ad)](this,'connection');this['_removeListeners']=_0x5a685d(this[_0xf67115(0x290)],{'listening':this[_0xf67115(0x18c)]['bind'](this,_0xf67115(0x259)),'error':this['emit'][_0xf67115(0x1ad)](this,_0xf67115(0x1ba)),'upgrade':(_0x59eebc,_0x48642a,_0xdb2aff)=>{const _0x16661c=_0xf67115;this[_0x16661c(0x18d)](_0x59eebc,_0x48642a,_0xdb2aff,_0x227bbf);}});}_0x293bc2[_0xf67115(0x1f7)]===!0x0&&(_0x293bc2[_0xf67115(0x1f7)]={}),_0x293bc2[_0xf67115(0x17a)]&&(this['clients']=new Set(),this[_0xf67115(0x180)]=!0x1),this['options']=_0x293bc2,this['_state']=_0x3441aa;}[_0x36dfde(0x18f)](){const _0x46017f=_0x36dfde;if(this[_0x46017f(0x227)][_0x46017f(0x309)])throw new Error(_0x46017f(0x301));return this[_0x46017f(0x290)]?this[_0x46017f(0x290)][_0x46017f(0x18f)]():null;}['close'](_0x721143){const _0x343ac7=_0x36dfde;if(this[_0x343ac7(0x292)]===_0x465b56){_0x721143&&this[_0x343ac7(0x276)]('close',()=>{const _0x195864=_0x343ac7;_0x721143(new Error(_0x195864(0x289)));}),process['nextTick'](_0x147548,this);return;}if(_0x721143&&this[_0x343ac7(0x276)]('close',_0x721143),this[_0x343ac7(0x292)]!==_0x56dd94){if(this[_0x343ac7(0x292)]=_0x56dd94,this[_0x343ac7(0x227)][_0x343ac7(0x309)]||this[_0x343ac7(0x227)][_0x343ac7(0x1d8)])this[_0x343ac7(0x290)]&&(this['_removeListeners'](),this[_0x343ac7(0x19a)]=this['_server']=null),this[_0x343ac7(0x2df)]?this[_0x343ac7(0x2df)][_0x343ac7(0x270)]?this[_0x343ac7(0x180)]=!0x0:process[_0x343ac7(0x190)](_0x147548,this):process['nextTick'](_0x147548,this);else{const _0x5285eb=this[_0x343ac7(0x290)];this['_removeListeners'](),this[_0x343ac7(0x19a)]=this['_server']=null,_0x5285eb['close'](()=>{_0x147548(this);});}}}[_0x36dfde(0x294)](_0x4be24e){const _0x4b6adc=_0x36dfde;if(this[_0x4b6adc(0x227)][_0x4b6adc(0x255)]){const _0x30e1c4=_0x4be24e[_0x4b6adc(0x1c2)][_0x4b6adc(0x2ee)]('?');if((_0x30e1c4!==-0x1?_0x4be24e['url'][_0x4b6adc(0x286)](0x0,_0x30e1c4):_0x4be24e['url'])!==this[_0x4b6adc(0x227)][_0x4b6adc(0x255)])return!0x1;}return!0x0;}[_0x36dfde(0x18d)](_0x910189,_0x46cb6a,_0xd70ed1,_0x26ae63){const _0x3c7885=_0x36dfde;_0x46cb6a['on']('error',_0x27b21b);const _0x39a8e3=_0x910189[_0x3c7885(0x260)]['sec-websocket-key'],_0x4038fc=_0x910189[_0x3c7885(0x260)][_0x3c7885(0x263)],_0x5bb60d=+_0x910189['headers'][_0x3c7885(0x2f5)];if(_0x910189[_0x3c7885(0x1d1)]!==_0x3c7885(0x244)){_0x13508a(this,_0x910189,_0x46cb6a,0x195,_0x3c7885(0x1ca));return;}if(_0x4038fc===void 0x0||_0x4038fc[_0x3c7885(0x273)]()!==_0x3c7885(0x15c)){_0x13508a(this,_0x910189,_0x46cb6a,0x190,_0x3c7885(0x1e4));return;}if(_0x39a8e3===void 0x0||!_0x14b956[_0x3c7885(0x21e)](_0x39a8e3)){_0x13508a(this,_0x910189,_0x46cb6a,0x190,_0x3c7885(0x170));return;}if(_0x5bb60d!==0x8&&_0x5bb60d!==0xd){_0x13508a(this,_0x910189,_0x46cb6a,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header');return;}if(!this['shouldHandle'](_0x910189)){_0x3cd958(_0x46cb6a,0x190);return;}const _0x2359bb=_0x910189[_0x3c7885(0x260)][_0x3c7885(0x1b9)];let _0x5aef63=new Set();if(_0x2359bb!==void 0x0)try{_0x5aef63=_0x24e465[_0x3c7885(0x16c)](_0x2359bb);}catch{_0x13508a(this,_0x910189,_0x46cb6a,0x190,_0x3c7885(0x212));return;}const _0x581b24=_0x910189[_0x3c7885(0x260)][_0x3c7885(0x1e6)],_0x2d7ad2={};if(this[_0x3c7885(0x227)][_0x3c7885(0x1f7)]&&_0x581b24!==void 0x0){const _0x552507=new _0x1ed2e8(this['options'][_0x3c7885(0x1f7)],!0x0,this[_0x3c7885(0x227)][_0x3c7885(0x22b)]);try{const _0x95cda=_0x1ccc60[_0x3c7885(0x16c)](_0x581b24);_0x95cda[_0x1ed2e8[_0x3c7885(0x171)]]&&(_0x552507[_0x3c7885(0x262)](_0x95cda[_0x1ed2e8[_0x3c7885(0x171)]]),_0x2d7ad2[_0x1ed2e8[_0x3c7885(0x171)]]=_0x552507);}catch{_0x13508a(this,_0x910189,_0x46cb6a,0x190,_0x3c7885(0x23d));return;}}if(this[_0x3c7885(0x227)][_0x3c7885(0x1e1)]){const _0x2ac5e2={'origin':_0x910189[_0x3c7885(0x260)][''+(_0x5bb60d===0x8?_0x3c7885(0x153):_0x3c7885(0x25b))],'secure':!!(_0x910189['socket'][_0x3c7885(0x20c)]||_0x910189[_0x3c7885(0x155)][_0x3c7885(0x2aa)]),'req':_0x910189};if(this['options'][_0x3c7885(0x1e1)][_0x3c7885(0x2ac)]===0x2){this['options']['verifyClient'](_0x2ac5e2,(_0x28b937,_0x81f05d,_0x19e328,_0x1d62a6)=>{const _0x42abc1=_0x3c7885;if(!_0x28b937)return _0x3cd958(_0x46cb6a,_0x81f05d||0x191,_0x19e328,_0x1d62a6);this[_0x42abc1(0x2e1)](_0x2d7ad2,_0x39a8e3,_0x5aef63,_0x910189,_0x46cb6a,_0xd70ed1,_0x26ae63);});return;}if(!this[_0x3c7885(0x227)][_0x3c7885(0x1e1)](_0x2ac5e2))return _0x3cd958(_0x46cb6a,0x191);}this[_0x3c7885(0x2e1)](_0x2d7ad2,_0x39a8e3,_0x5aef63,_0x910189,_0x46cb6a,_0xd70ed1,_0x26ae63);}[_0x36dfde(0x2e1)](_0x140d3e,_0x3ccbdf,_0x2d4285,_0x372d67,_0x477fb1,_0x6385df,_0x456c18){const _0x1962e0=_0x36dfde;if(!_0x477fb1[_0x1962e0(0x203)]||!_0x477fb1['writable'])return _0x477fb1[_0x1962e0(0x1a9)]();if(_0x477fb1[_0x523ab4])throw new Error(_0x1962e0(0x2ec));if(this[_0x1962e0(0x292)]>_0x3441aa)return _0x3cd958(_0x477fb1,0x1f7);const _0x4340d8=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0x1962e0(0x1b7),_0x1962e0(0x2eb),_0x1962e0(0x2e6)+_0x6dda3(_0x1962e0(0x1fa))[_0x1962e0(0x164)](_0x3ccbdf+_0x238b89)[_0x1962e0(0x2d1)]('base64')],_0x4093ac=new this[(_0x1962e0(0x227))]['WebSocket'](null,void 0x0,this[_0x1962e0(0x227)]);if(_0x2d4285[_0x1962e0(0x270)]){const _0x308057=this[_0x1962e0(0x227)]['handleProtocols']?this['options'][_0x1962e0(0x2dd)](_0x2d4285,_0x372d67):_0x2d4285[_0x1962e0(0x246)]()['next']()['value'];_0x308057&&(_0x4340d8['push'](_0x1962e0(0x258)+_0x308057),_0x4093ac[_0x1962e0(0x1fd)]=_0x308057);}if(_0x140d3e[_0x1ed2e8[_0x1962e0(0x171)]]){const _0x8c62ca=_0x140d3e[_0x1ed2e8[_0x1962e0(0x171)]]['params'],_0x4295ed=_0x1ccc60[_0x1962e0(0x291)]({[_0x1ed2e8[_0x1962e0(0x171)]]:[_0x8c62ca]});_0x4340d8[_0x1962e0(0x1f5)](_0x1962e0(0x1cd)+_0x4295ed),_0x4093ac['_extensions']=_0x140d3e;}this['emit'](_0x1962e0(0x260),_0x4340d8,_0x372d67),_0x477fb1['write'](_0x4340d8['concat']('\x0d\x0a')[_0x1962e0(0x229)]('\x0d\x0a')),_0x477fb1[_0x1962e0(0x2a8)]('error',_0x27b21b),_0x4093ac[_0x1962e0(0x175)](_0x477fb1,_0x6385df,{'allowSynchronousEvents':this[_0x1962e0(0x227)][_0x1962e0(0x197)],'maxPayload':this['options'][_0x1962e0(0x22b)],'skipUTF8Validation':this[_0x1962e0(0x227)][_0x1962e0(0x1eb)]}),this[_0x1962e0(0x2df)]&&(this[_0x1962e0(0x2df)][_0x1962e0(0x26f)](_0x4093ac),_0x4093ac['on'](_0x1962e0(0x2e3),()=>{const _0x3973c0=_0x1962e0;this['clients'][_0x3973c0(0x19f)](_0x4093ac),this[_0x3973c0(0x180)]&&!this[_0x3973c0(0x2df)][_0x3973c0(0x270)]&&process[_0x3973c0(0x190)](_0x147548,this);})),_0x456c18(_0x4093ac,_0x372d67);}}Te=_0x292de8;function _0x5a685d(_0x655d00,_0x2b5743){const _0x5acd68=_0x36dfde;for(const _0x5ce9d5 of Object[_0x5acd68(0x178)](_0x2b5743))_0x655d00['on'](_0x5ce9d5,_0x2b5743[_0x5ce9d5]);return function(){for(const _0x467169 of Object['keys'](_0x2b5743))_0x655d00['removeListener'](_0x467169,_0x2b5743[_0x467169]);};}function _0x147548(_0x4fbef2){const _0x1317be=_0x36dfde;_0x4fbef2[_0x1317be(0x292)]=_0x465b56,_0x4fbef2['emit'](_0x1317be(0x2e3));}function _0x27b21b(){const _0x5644da=_0x36dfde;this[_0x5644da(0x1a9)]();}function _0x3cd958(_0x1a083c,_0x2e7c1f,_0x3ad2e6,_0x33840c){const _0x37bac9=_0x36dfde;_0x3ad2e6=_0x3ad2e6||_0x40eb4f[_0x37bac9(0x252)][_0x2e7c1f],_0x33840c={'Connection':_0x37bac9(0x2e3),'Content-Type':_0x37bac9(0x1b3),'Content-Length':Buffer['byteLength'](_0x3ad2e6),..._0x33840c},_0x1a083c[_0x37bac9(0x276)](_0x37bac9(0x2d9),_0x1a083c['destroy']),_0x1a083c['end'](_0x37bac9(0x275)+_0x2e7c1f+'\x20'+_0x40eb4f['STATUS_CODES'][_0x2e7c1f]+'\x0d\x0a'+Object['keys'](_0x33840c)[_0x37bac9(0x2ed)](_0xc857f5=>_0xc857f5+':\x20'+_0x33840c[_0xc857f5])[_0x37bac9(0x229)]('\x0d\x0a')+_0x37bac9(0x189)+_0x3ad2e6);}function _0x13508a(_0x3e8188,_0x6ffbe4,_0x29f3cb,_0x46c4f0,_0x27a636){const _0x421435=_0x36dfde;if(_0x3e8188[_0x421435(0x29a)](_0x421435(0x159))){const _0x38110a=new Error(_0x27a636);Error[_0x421435(0x27d)](_0x38110a,_0x13508a),_0x3e8188[_0x421435(0x18c)](_0x421435(0x159),_0x38110a,_0x29f3cb,_0x6ffbe4);}else _0x3cd958(_0x29f3cb,_0x46c4f0,_0x27a636);}return Te;}er();var tr=Object['getOwnPropertyDescriptor'],rr=(_0x15d58f,_0x37a7b2,_0x320b5b,_0x363b7a)=>{const _0x5a6af2=_0x3d1fcd;for(var _0x5562ce=_0x363b7a>0x1?void 0x0:_0x363b7a?tr(_0x37a7b2,_0x320b5b):_0x37a7b2,_0x11c100=_0x15d58f[_0x5a6af2(0x2ac)]-0x1,_0x3ed588;_0x11c100>=0x0;_0x11c100--)(_0x3ed588=_0x15d58f[_0x11c100])&&(_0x5562ce=_0x3ed588(_0x5562ce)||_0x5562ce);return _0x5562ce;},sr=(_0x22e253,_0x104861)=>(_0x359c6a,_0x37b3fe)=>_0x104861(_0x359c6a,_0x37b3fe,_0x22e253);let Ne=class extends _0x52150d{constructor(_0x3b56cf){const _0x3d0656=_0x3d1fcd;super(),this[_0x3d0656(0x2fa)]=_0x3b56cf;}[_0x3d1fcd(0x17b)](_0x54343b){const _0x1d0b50=_0x3d1fcd;var _0x43d19d;const _0x50ba3c=(_0x43d19d=this[_0x1d0b50(0x2fa)][_0x1d0b50(0x247)](Be))==null?void 0x0:_0x43d19d[_0x1d0b50(0x15a)];try{const _0xddff36=new Qt(_0x54343b,{'headers':{..._0x50ba3c}}),_0x12d3a8=new _0x328f29();return{'URL':_0x54343b,'close':(_0x2eb453,_0x456e96)=>{const _0xc53070=_0x1d0b50;_0xddff36[_0xc53070(0x2e3)](_0x2eb453,_0x456e96),_0x12d3a8[_0xc53070(0x278)]();},'send':_0x3166b6=>{const _0x58f261=_0x1d0b50;_0xddff36[_0x58f261(0x25f)](_0x3166b6);},'open$':new _0x5b495a(_0x38c779=>{const _0x41238e=_0x1d0b50,_0x2a8303=_0x58776d=>_0x38c779[_0x41238e(0x1ac)](_0x58776d);_0xddff36[_0x41238e(0x256)](_0x41238e(0x303),_0x2a8303),_0x12d3a8[_0x41238e(0x26f)](_0x2be58f(()=>_0xddff36[_0x41238e(0x1ce)]('open',_0x2a8303)));})[_0x1d0b50(0x1de)](_0x4d5136()),'close$':new _0x5b495a(_0x573ecd=>{const _0x25781d=_0x1d0b50,_0x1f968e=_0x162ab8=>_0x573ecd['next'](_0x162ab8);_0xddff36[_0x25781d(0x256)](_0x25781d(0x2e3),_0x1f968e),_0x12d3a8[_0x25781d(0x26f)](_0x2be58f(()=>_0xddff36[_0x25781d(0x1ce)](_0x25781d(0x2e3),_0x1f968e)));})['pipe'](_0x4d5136()),'error$':new _0x5b495a(_0x4fb425=>{const _0xd8e9ba=_0x1d0b50,_0x11997a=_0x513be5=>_0x4fb425['next'](_0x513be5);_0xddff36[_0xd8e9ba(0x256)](_0xd8e9ba(0x1ba),_0x11997a),_0x12d3a8['add'](_0x2be58f(()=>_0xddff36['removeEventListener']('error',_0x11997a)));})[_0x1d0b50(0x1de)](_0x4d5136()),'message$':new _0x5b495a(_0x248b2f=>{const _0x23b7f4=_0x1d0b50,_0x3f881b=_0x10659f=>_0x248b2f[_0x23b7f4(0x1ac)](_0x10659f);_0xddff36[_0x23b7f4(0x256)]('message',_0x3f881b),_0x12d3a8[_0x23b7f4(0x26f)](_0x2be58f(()=>_0xddff36[_0x23b7f4(0x1ce)](_0x23b7f4(0x1f6),_0x3f881b)));})[_0x1d0b50(0x1de)](_0x4d5136())};}catch(_0x503cd2){return console['error'](_0x503cd2),null;}}};Ne=rr([sr(0x0,_0x34b949)],Ne);var ir=Object['defineProperty'],nr=Object[_0x3d1fcd(0x2d8)],or=(_0x3f2857,_0x5c2682,_0x3d67b6)=>_0x5c2682 in _0x3f2857?ir(_0x3f2857,_0x5c2682,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3d67b6}):_0x3f2857[_0x5c2682]=_0x3d67b6,ar=(_0x3316b0,_0x17d749,_0x14ec66,_0x27f074)=>{const _0x4ad236=_0x3d1fcd;for(var _0x38c754=_0x27f074>0x1?void 0x0:_0x27f074?nr(_0x17d749,_0x14ec66):_0x17d749,_0x56b7d5=_0x3316b0[_0x4ad236(0x2ac)]-0x1,_0x3c713e;_0x56b7d5>=0x0;_0x56b7d5--)(_0x3c713e=_0x3316b0[_0x56b7d5])&&(_0x38c754=_0x3c713e(_0x38c754)||_0x38c754);return _0x38c754;},ke=(_0x5528b4,_0xabb524)=>(_0x1abe19,_0x3f66f3)=>_0xabb524(_0x1abe19,_0x3f66f3,_0x5528b4),lr=(_0x4ad712,_0x3e444d,_0x376286)=>or(_0x4ad712,_0x3e444d+'',_0x376286);let Pe=class extends _0xef1866{constructor(_0x3d39ff=Ft,_0x98f53d,_0x421853,_0xafc17){const _0x25856e=_0x3d1fcd;_0x3d39ff[_0x25856e(0x15a)]||_0x98f53d[_0x25856e(0x1c5)](_0x25856e(0x1c7)),super(),this[_0x25856e(0x2fa)]=_0x421853,this[_0x25856e(0x296)]=_0xafc17,this['_configService']['setConfig'](Be,_0x3d39ff);}['onStarting'](){const _0x242418=_0x3d1fcd;this[_0x242418(0x152)]();}['_registerDependencies'](){const _0x278cff=_0x3d1fcd;_0x191e50(this[_0x278cff(0x296)],[[_0x29cca4,{'useClass':Ne}]]);}};lr(Pe,_0x3d1fcd(0x222),_0x3d1fcd(0x235)),Pe=ar([_0x13a7eb(_0xb8a37e),ke(0x1,_0x3b63b8),ke(0x2,_0x34b949),ke(0x3,_0x70b42b(_0x1ac4c4))],Pe);var fr=Object[_0x3d1fcd(0x2d8)],cr=(_0x1ad6ca,_0x5ecf04,_0x15812f,_0xf988b8)=>{const _0x583ac1=_0x3d1fcd;for(var _0x2650e2=_0xf988b8>0x1?void 0x0:_0xf988b8?fr(_0x5ecf04,_0x15812f):_0x5ecf04,_0xd0c0e1=_0x1ad6ca[_0x583ac1(0x2ac)]-0x1,_0x12014b;_0xd0c0e1>=0x0;_0xd0c0e1--)(_0x12014b=_0x1ad6ca[_0xd0c0e1])&&(_0x2650e2=_0x12014b(_0x2650e2)||_0x2650e2);return _0x2650e2;},se=(_0x1dccdb,_0x4d32d2)=>(_0x50c8ae,_0x1a6578)=>_0x4d32d2(_0x50c8ae,_0x1a6578,_0x1dccdb);let at=class extends _0x4172d3{constructor(_0x239f71,_0x253ae3,_0x246b54,_0x14c374,_0x88f8c9){const _0x37abff=_0x3d1fcd;super(_0x239f71,_0x253ae3,_0x246b54,_0x14c374,_0x88f8c9);const _0x145431=this['_configService'][_0x37abff(0x247)](Be);this['_httpService'][_0x37abff(0x2c0)]({'interceptor':(_0x599c1c,_0x1c9ad7)=>{const _0x2c3811=_0x37abff;var _0x34d905;const _0x47ff55=_0x599c1c['headers'];return(_0x34d905=_0x145431==null?void 0x0:_0x145431[_0x2c3811(0x15a)])!=null&&_0x34d905[_0x2c3811(0x21c)]&&_0x47ff55['set'](_0x2c3811(0x2ae),_0x145431['customHeaders'][_0x2c3811(0x21c)]),_0x1c9ad7(_0x599c1c);}});}async[_0x3d1fcd(0x17b)](_0x5addcf){const _0x1135b2=_0x3d1fcd;return this[_0x1135b2(0x241)](_0x5addcf);}};at=cr([se(0x0,_0x70b42b(_0x1ac4c4)),se(0x1,_0x70b42b(_0x1f6797)),se(0x2,_0x34b949),se(0x3,_0x3b63b8),se(0x4,_0x5ae98e)],at);function _0x4ce0(_0x246f48,_0x5c4681){const _0x4640d0=_0x4640();return _0x4ce0=function(_0x4ce0e2,_0x5e965c){_0x4ce0e2=_0x4ce0e2-0x151;let _0x99e13f=_0x4640d0[_0x4ce0e2];return _0x99e13f;},_0x4ce0(_0x246f48,_0x5c4681);}export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};