@univerjs-pro/collaboration-client-node 0.6.9-nightly.202504031606 → 0.6.9-nightly.202504041607

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0x30831e=_0x597f;(function(_0x5201ad,_0x3e0561){const _0x3b7d85=_0x597f,_0x52b6f8=_0x5201ad();while(!![]){try{const _0xbbbb68=-parseInt(_0x3b7d85(0x1aa))/0x1+-parseInt(_0x3b7d85(0x226))/0x2+parseInt(_0x3b7d85(0x152))/0x3*(parseInt(_0x3b7d85(0x171))/0x4)+parseInt(_0x3b7d85(0x20d))/0x5*(parseInt(_0x3b7d85(0x16c))/0x6)+parseInt(_0x3b7d85(0x290))/0x7*(parseInt(_0x3b7d85(0x269))/0x8)+-parseInt(_0x3b7d85(0x1b8))/0x9*(parseInt(_0x3b7d85(0x1b4))/0xa)+-parseInt(_0x3b7d85(0x298))/0xb;if(_0xbbbb68===_0x3e0561)break;else _0x52b6f8['push'](_0x52b6f8['shift']());}catch(_0x35eb2b){_0x52b6f8['push'](_0x52b6f8['shift']());}}}(_0x4fc1,0x356b3));import{UniverCollaborationClientPlugin as _0x205c1d,CollaborationSocketService as _0x3d1c33}from'@univerjs-pro/collaboration-client';import{Disposable as _0x5528cf,DisposableCollection as _0x442d2a,toDisposable as _0x5f0d6a,IConfigService as _0x117d11,DependentOn as _0x4e949f,ILogService as _0x275fe7,Inject as _0x16c12d,Injector as _0x463048,Plugin as _0x221961,registerDependencies as _0x2e21a1}from'@univerjs/core';import{ISocketService as _0x2c9444,HTTPService as _0x38b0b7}from'@univerjs/network';import{Observable as _0x4847be,share as _0x4f97b8}from'rxjs';import _0x467b17 from'events';import _0x32b364 from'https';import _0xcd8441 from'http';import _0x4f39c8 from'net';import _0x519b2c from'tls';import _0x49a803 from'crypto';import _0x31bf2d from'stream';import _0x198818 from'url';import _0x46eec4 from'zlib';import _0x2ca55a from'buffer';import{ISnapshotServerService as _0x2ad5a5}from'@univerjs-pro/collaboration';const Be=_0x30831e(0x225),Ft={'customHeaders':{}};function jt(_0x4748b6){const _0x330813=_0x30831e;return _0x4748b6&&_0x4748b6[_0x330813(0x2d1)]&&Object['prototype'][_0x330813(0x2ed)][_0x330813(0x1ae)](_0x4748b6,_0x330813(0x23a))?_0x4748b6[_0x330813(0x23a)]:_0x4748b6;}function _0x4fc1(){const _0x32b56b=['headers','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','value','origin','readable','CLOSING','accept','WS_ERR_INVALID_UTF8','protocolVersion','_options','createServer','exports','decompress','startsWith','8vxlhfd','constructor','readUInt16BE','_configService','WS_ERR_UNEXPECTED_RSV_1','threshold','Server\x20sent\x20an\x20invalid\x20subprotocol','setConfig','error','WS_NO_UTF_8_VALIDATE','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','WS_ERR_UNEXPECTED_RSV_2_3','_registerDependencies','blob','startLoop','offer','_originalSecure','WS_ERR_UNEXPECTED_MASK','acceptAsServer','createConnection','Invalid\x20WebSocket\x20frame:\x20','kIsForOnEventAttribute','_fin','from','MASK\x20must\x20be\x20set','freeze','once','cleanup','\x22\x20must\x20have\x20only\x20a\x20single\x20value','type','setNoDelay','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','clientMaxWindowBits','charCodeAt','\x0d\x0a\x0d\x0a','authorized','The\x20server\x20is\x20not\x20running','isArray','Z_SYNC_FLUSH','2352287pQZRSW','File','allowSynchronousEvents','connect','dispose','shouldHandle','kMessage','Invalid\x20value\x20for\x20parameter\x20\x22','2024165xupTxb','Module','location','function','format','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','_socket','Sec-WebSocket-Origin','params','server_no_context_takeover','errorEmitted','_protocol','_totalPayloadLength','_server','sec-websocket-version','_extensions','wsClientError','listen','byteLength','_threshold','href','zlibInflateOptions','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','_binaryType','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','isIP','_shouldEmitClose','then','readOnly','arraybuffer','text/plain','Upgrade:\x20websocket','concurrencyLimit','WS_ERR_EXPECTED_MASK','length','toStringTag','CLOSED','Invalid\x20Upgrade\x20header','isValidUTF8','_url','pong','shift','removeListener','buffers','_errorEmitted','listenerCount','includes','indexOf','write','noServer','isBuffer','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','_loop','permessage-deflate','objectMode','captureStackTrace','getOwnPropertyDescriptor','__esModule','client_max_window_bits','rsv1','_firstFragment','status-code','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','authorization','HTTP/1.1\x20101\x20Switching\x20Protocols','auth','keys','_closeCode','defaultPort','_skipUTF8Validation','abort','server_max_window_bits','haveLength','Blob','_allowSynchronousEvents','listening','byteOffset','serverMaxWindowBits','_no_context_takeover','Invalid\x20HTTP\x20method','finishRequest','toLowerCase','_errored','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','clientNoContextTakeover','hasOwnProperty','message','servername','STATUS_CODES','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','_paused','followRedirects','Parameter\x20\x22','Invalid\x20Sec-WebSocket-Accept\x20header','conclude','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','removeAllListeners','consume','needDrain','timeout','request','_receiver','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','isPaused','hostname','sec-websocket-origin','http:','clientTracking','cork','connection','handshakeTimeout','39mqntVE','add','extensions','concurrency','_originalHostOrSocketPath','readyState','websocket','code','invalid\x20opcode\x20','encrypted','kCode','handleUpgrade','flush','join','writeUIntBE','jobs','_closeMessage','wss:','pipe','catch','perMessageDeflate','Unknown\x20parameter\x20\x22','compress','MASK\x20must\x20be\x20clear','url','addEventListener','474lwbZBr','removeEventListener','_maxPayload','upgrade','map','83656ssgGJM','forEach','sendFrame','env','path','WS_ERR_EXPECTED_FIN','customHeaders','_injector','onerror','kByteLength','FIN\x20must\x20be\x20set','create','_compress','Unsupported\x20protocol\x20version:\x20','invalid\x20UTF-8\x20sequence','open','writable','next','hash','mask','target','number','_bufferedAmount','entries','method','createError','writeUInt16BE','emitClose','handleProtocols','WebSocket','address','destroyed','password','_readableState','getConfig','Server\x20sent\x20no\x20subprotocol','_state','_maskBuffer','registerHTTPInterceptor','binary','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','_closeFrameSent','fin','createInflateRaw','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','extensionName','_fragmented','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','prototype','normalizeParams','onStarting','Opening\x20handshake\x20has\x20timed\x20out','_autoPong','_generateMask','port','test','WS_NO_BUFFER_UTIL','133498FowwSX','_max_window_bits','options','CONNECTING','call','_mask','pluginName','slice','finish','set','1370cKsCJM','terminate','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','redirect','10377mjrSKo','unshift','nextTick','protocol','endEmitted','destroy','kTarget','replace','apply','_closeTimer','\x20(supported\x20versions:\x20','isServer','_sender','resume','zlibDeflateOptions','Maximum\x20redirects\x20exceeded','_req','send','sec-websocket-key','fragments','getMask','onclose','pow','delete','_removeListeners','reset','The\x20\x22','OPEN','createSocket','isInteger','\x22:\x20','Max\x20payload\x20size\x20exceeded','server','clients','kReason','ping','Sec-WebSocket-Extensions','split','callback','socket','GET','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','_fragments','_final','emit','_opcode','_deflate','generateMask','buffer','getPayloadLength16','_write','base64','_bufferedBytes','update','WebSocket\x20is\x20not\x20open:\x20readyState\x20','_inflate','allocUnsafe','verifyClient','kListener','Invalid\x20URL:\x20','dequeue','createDeflateRaw','_read','reason','getBlobData','has','ws:','bufferedAmount','_compressed','frame','_httpService','sec-websocket-protocol','_readyState','_isServer','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','data','_buffers','push','socketPath','defineProperty','end','find','enqueue','bind','setTimeout','19930eIMMJe','pause','stream','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','setSocket','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','_redirects','kDone','object','size','getData','dataMessage','Origin','_originalIpc','text/html','Upgrade','username','getPayloadLength64','alloc','host','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','finished','concat','Cookie','collaboration-client-node.config','457080fOHvqn','statusCode','close','sec-websocket-extensions','onopen','readUInt32BE','toString','acceptAsClient','Unexpected\x20character\x20at\x20index\x20','pathname','Unexpected\x20server\x20response:\x20','invalid\x20status\x20code\x20','Basic\x20','_destroy','Connection:\x20Upgrade','backlog','_decompress','unmask','_payloadLength','wasClean','default','dispatch','species','binaryType','invalid\x20opcode\x200','serverNoContextTakeover','maxPayload','string','RSV1\x20must\x20be\x20clear','pending','cookie','_masked','handleEvent','digest','skipUTF8Validation','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','listeners','https:','parse','_messageLength','client_no_context_takeover','controlMessage','read','Z_DEFAULT_WINDOWBITS','_closeFrameReceived','uncork','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','HTTP/1.1\x20','_writableState','\x22\x20subprotocol\x20is\x20duplicated','_queue','client','WS_ERR_INVALID_OPCODE'];_0x4fc1=function(){return _0x32b56b;};return _0x4fc1();}function ut(_0x337583){const _0x1955b7=_0x30831e;if(Object[_0x1955b7(0x1a1)][_0x1955b7(0x2ed)][_0x1955b7(0x1ae)](_0x337583,'__esModule'))return _0x337583;var _0x263715=_0x337583[_0x1955b7(0x23a)];if(typeof _0x263715==_0x1955b7(0x29b)){var _0x263538=function _0x58c09f(){const _0x42eeef=_0x1955b7;return this instanceof _0x58c09f?Reflect['construct'](_0x263715,arguments,this[_0x42eeef(0x26a)]):_0x263715[_0x42eeef(0x1c0)](this,arguments);};_0x263538[_0x1955b7(0x1a1)]=_0x263715[_0x1955b7(0x1a1)];}else _0x263538={};return Object['defineProperty'](_0x263538,_0x1955b7(0x2d1),{'value':!0x0}),Object[_0x1955b7(0x2da)](_0x337583)[_0x1955b7(0x172)](function(_0x2cc431){const _0xeb327e=_0x1955b7;var _0xcce7ca=Object[_0xeb327e(0x2d0)](_0x337583,_0x2cc431);Object[_0xeb327e(0x207)](_0x263538,_0x2cc431,_0xcce7ca['get']?_0xcce7ca:{'enumerable':!0x0,'get':function(){return _0x337583[_0x2cc431];}});}),_0x263538;}var te={'exports':{}},ge,Ye;function V(){const _0x10c536=_0x30831e;if(Ye)return ge;Ye=0x1;const _0x2ece30=['nodebuffer',_0x10c536(0x2b5),_0x10c536(0x1cb)],_0x385247=typeof Blob<'u';return _0x385247&&_0x2ece30[_0x10c536(0x205)](_0x10c536(0x276)),ge={'BINARY_TYPES':_0x2ece30,'EMPTY_BUFFER':Buffer[_0x10c536(0x21f)](0x0),'GUID':_0x10c536(0x1a0),'hasBlob':_0x385247,'kForOnEventAttribute':Symbol(_0x10c536(0x27e)),'kListener':Symbol(_0x10c536(0x1f2)),'kStatusCode':Symbol(_0x10c536(0x2d5)),'kWebSocket':Symbol(_0x10c536(0x158)),'NOOP':()=>{}},ge;}const Wt={},Gt=Object[_0x30831e(0x282)](Object[_0x30831e(0x207)]({'__proto__':null,'default':Wt},Symbol[_0x30831e(0x2bb)],{'value':'Module'})),Vt=ut(Gt);var Ke;function ce(){const _0x1d3b54=_0x30831e;if(Ke)return te['exports'];Ke=0x1;const {EMPTY_BUFFER:_0x25486e}=V(),_0x5175b1=Buffer[Symbol['species']];function _0x18b018(_0x40b2c6,_0x7db553){const _0x30a767=_0x597f;if(_0x40b2c6[_0x30a767(0x2ba)]===0x0)return _0x25486e;if(_0x40b2c6[_0x30a767(0x2ba)]===0x1)return _0x40b2c6[0x0];const _0x2d3ca6=Buffer[_0x30a767(0x1f0)](_0x7db553);let _0x59621e=0x0;for(let _0x415dfa=0x0;_0x415dfa<_0x40b2c6['length'];_0x415dfa++){const _0x4e47af=_0x40b2c6[_0x415dfa];_0x2d3ca6[_0x30a767(0x1b3)](_0x4e47af,_0x59621e),_0x59621e+=_0x4e47af[_0x30a767(0x2ba)];}return _0x59621e<_0x7db553?new _0x5175b1(_0x2d3ca6['buffer'],_0x2d3ca6[_0x30a767(0x2e4)],_0x59621e):_0x2d3ca6;}function _0x48b702(_0x4af4b3,_0x2c1fff,_0x5c995e,_0x45eeac,_0x2461e0){for(let _0x54b7b1=0x0;_0x54b7b1<_0x2461e0;_0x54b7b1++)_0x5c995e[_0x45eeac+_0x54b7b1]=_0x4af4b3[_0x54b7b1]^_0x2c1fff[_0x54b7b1&0x3];}function _0x926ed9(_0x1c6e17,_0xc80bbd){const _0x979773=_0x597f;for(let _0x5a29ea=0x0;_0x5a29ea<_0x1c6e17[_0x979773(0x2ba)];_0x5a29ea++)_0x1c6e17[_0x5a29ea]^=_0xc80bbd[_0x5a29ea&0x3];}function _0x23d7c0(_0xb7e1a4){const _0x367879=_0x597f;return _0xb7e1a4['length']===_0xb7e1a4['buffer'][_0x367879(0x2aa)]?_0xb7e1a4[_0x367879(0x1e8)]:_0xb7e1a4['buffer']['slice'](_0xb7e1a4[_0x367879(0x2e4)],_0xb7e1a4['byteOffset']+_0xb7e1a4[_0x367879(0x2ba)]);}function _0x106d04(_0x1c9d77){const _0x51f403=_0x597f;if(_0x106d04['readOnly']=!0x0,Buffer[_0x51f403(0x2ca)](_0x1c9d77))return _0x1c9d77;let _0x28022d;return _0x1c9d77 instanceof ArrayBuffer?_0x28022d=new _0x5175b1(_0x1c9d77):ArrayBuffer['isView'](_0x1c9d77)?_0x28022d=new _0x5175b1(_0x1c9d77[_0x51f403(0x1e8)],_0x1c9d77['byteOffset'],_0x1c9d77[_0x51f403(0x2aa)]):(_0x28022d=Buffer[_0x51f403(0x280)](_0x1c9d77),_0x106d04['readOnly']=!0x1),_0x28022d;}if(te[_0x1d3b54(0x266)]={'concat':_0x18b018,'mask':_0x48b702,'toArrayBuffer':_0x23d7c0,'toBuffer':_0x106d04,'unmask':_0x926ed9},!process[_0x1d3b54(0x174)][_0x1d3b54(0x1a9)])try{const _0x121d99=Vt;te['exports'][_0x1d3b54(0x184)]=function(_0x3fcd67,_0x2edbc2,_0x48b06f,_0x2f68e2,_0x3fcc19){const _0x4c2f2c=_0x1d3b54;_0x3fcc19<0x30?_0x48b702(_0x3fcd67,_0x2edbc2,_0x48b06f,_0x2f68e2,_0x3fcc19):_0x121d99[_0x4c2f2c(0x184)](_0x3fcd67,_0x2edbc2,_0x48b06f,_0x2f68e2,_0x3fcc19);},te[_0x1d3b54(0x266)][_0x1d3b54(0x237)]=function(_0x1cbd4a,_0x484529){const _0x2d54d1=_0x1d3b54;_0x1cbd4a[_0x2d54d1(0x2ba)]<0x20?_0x926ed9(_0x1cbd4a,_0x484529):_0x121d99[_0x2d54d1(0x237)](_0x1cbd4a,_0x484529);};}catch{}return te[_0x1d3b54(0x266)];}var ye,Xe;function qt(){const _0x3165d2=_0x30831e;if(Xe)return ye;Xe=0x1;const _0xf76ea4=Symbol(_0x3165d2(0x214)),_0xc46852=Symbol('kRun');class _0x3f6d0a{constructor(_0xca44e5){const _0x631300=_0x3165d2;this[_0xf76ea4]=()=>{this['pending']--,this[_0xc46852]();},this[_0x631300(0x155)]=_0xca44e5||0x1/0x0,this['jobs']=[],this[_0x631300(0x243)]=0x0;}[_0x3165d2(0x153)](_0x5046d3){const _0x142e1b=_0x3165d2;this[_0x142e1b(0x161)][_0x142e1b(0x205)](_0x5046d3),this[_0xc46852]();}[_0xc46852](){const _0x2faa21=_0x3165d2;if(this['pending']!==this[_0x2faa21(0x155)]&&this['jobs'][_0x2faa21(0x2ba)]){const _0x4e7d29=this[_0x2faa21(0x161)][_0x2faa21(0x2c1)]();this[_0x2faa21(0x243)]++,_0x4e7d29(this[_0xf76ea4]);}}}return ye=_0x3f6d0a,ye;}var ve,Ze;function he(){const _0x312fe8=_0x30831e;if(Ze)return ve;Ze=0x1;const _0x3ad88f=_0x46eec4,_0x428ea6=ce(),_0x2c1b35=qt(),{kStatusCode:_0x4816d6}=V(),_0x3f585b=Buffer[Symbol[_0x312fe8(0x23c)]],_0x54d8a9=Buffer[_0x312fe8(0x280)]([0x0,0x0,0xff,0xff]),_0x4bacb8=Symbol(_0x312fe8(0x2cd)),_0x5d1471=Symbol('total-length'),_0x61db49=Symbol(_0x312fe8(0x1de)),_0x53c082=Symbol(_0x312fe8(0x2c3)),_0x5cac87=Symbol(_0x312fe8(0x271));let _0x491264;class _0x14ca19{constructor(_0x482788,_0x1a621d,_0x3a89f1){const _0x433575=_0x312fe8;if(this[_0x433575(0x16e)]=_0x3a89f1|0x0,this[_0x433575(0x264)]=_0x482788||{},this[_0x433575(0x2ab)]=this[_0x433575(0x264)][_0x433575(0x26e)]!==void 0x0?this[_0x433575(0x264)]['threshold']:0x400,this['_isServer']=!!_0x1a621d,this['_deflate']=null,this['_inflate']=null,this[_0x433575(0x2a0)]=null,!_0x491264){const _0x5fe778=this[_0x433575(0x264)][_0x433575(0x2b8)]!==void 0x0?this[_0x433575(0x264)][_0x433575(0x2b8)]:0xa;_0x491264=new _0x2c1b35(_0x5fe778);}}static get['extensionName'](){const _0xcaf425=_0x312fe8;return _0xcaf425(0x2cd);}[_0x312fe8(0x278)](){const _0x4befe8=_0x312fe8,_0x86406b={};return this[_0x4befe8(0x264)]['serverNoContextTakeover']&&(_0x86406b[_0x4befe8(0x2a1)]=!0x0),this[_0x4befe8(0x264)][_0x4befe8(0x2ec)]&&(_0x86406b['client_no_context_takeover']=!0x0),this[_0x4befe8(0x264)][_0x4befe8(0x2e5)]&&(_0x86406b[_0x4befe8(0x2df)]=this[_0x4befe8(0x264)][_0x4befe8(0x2e5)]),this[_0x4befe8(0x264)]['clientMaxWindowBits']?_0x86406b[_0x4befe8(0x2d2)]=this[_0x4befe8(0x264)]['clientMaxWindowBits']:this['_options']['clientMaxWindowBits']==null&&(_0x86406b[_0x4befe8(0x2d2)]=!0x0),_0x86406b;}[_0x312fe8(0x261)](_0x1378fe){const _0x3c6072=_0x312fe8;return _0x1378fe=this[_0x3c6072(0x1a2)](_0x1378fe),this['params']=this[_0x3c6072(0x201)]?this[_0x3c6072(0x27b)](_0x1378fe):this[_0x3c6072(0x22d)](_0x1378fe),this[_0x3c6072(0x2a0)];}[_0x312fe8(0x284)](){const _0x3cd393=_0x312fe8;if(this[_0x3cd393(0x1ef)]&&(this[_0x3cd393(0x1ef)]['close'](),this['_inflate']=null),this['_deflate']){const _0x93abb9=this['_deflate'][_0x61db49];this['_deflate'][_0x3cd393(0x228)](),this[_0x3cd393(0x1e6)]=null,_0x93abb9&&_0x93abb9(new Error(_0x3cd393(0x212)));}}['acceptAsServer'](_0x529482){const _0x3aea4f=_0x312fe8,_0x763489=this[_0x3aea4f(0x264)],_0xa331af=_0x529482[_0x3aea4f(0x209)](_0x2e1ffd=>!(_0x763489[_0x3aea4f(0x23f)]===!0x1&&_0x2e1ffd[_0x3aea4f(0x2a1)]||_0x2e1ffd[_0x3aea4f(0x2df)]&&(_0x763489[_0x3aea4f(0x2e5)]===!0x1||typeof _0x763489[_0x3aea4f(0x2e5)]==_0x3aea4f(0x186)&&_0x763489[_0x3aea4f(0x2e5)]>_0x2e1ffd['server_max_window_bits'])||typeof _0x763489[_0x3aea4f(0x289)]==_0x3aea4f(0x186)&&!_0x2e1ffd[_0x3aea4f(0x2d2)]));if(!_0xa331af)throw new Error(_0x3aea4f(0x288));return _0x763489[_0x3aea4f(0x23f)]&&(_0xa331af['server_no_context_takeover']=!0x0),_0x763489['clientNoContextTakeover']&&(_0xa331af['client_no_context_takeover']=!0x0),typeof _0x763489[_0x3aea4f(0x2e5)]==_0x3aea4f(0x186)&&(_0xa331af[_0x3aea4f(0x2df)]=_0x763489[_0x3aea4f(0x2e5)]),typeof _0x763489[_0x3aea4f(0x289)]==_0x3aea4f(0x186)?_0xa331af[_0x3aea4f(0x2d2)]=_0x763489[_0x3aea4f(0x289)]:(_0xa331af[_0x3aea4f(0x2d2)]===!0x0||_0x763489[_0x3aea4f(0x289)]===!0x1)&&delete _0xa331af['client_max_window_bits'],_0xa331af;}[_0x312fe8(0x22d)](_0x16a058){const _0x3e7b8d=_0x312fe8,_0xfa59cf=_0x16a058[0x0];if(this[_0x3e7b8d(0x264)][_0x3e7b8d(0x2ec)]===!0x1&&_0xfa59cf[_0x3e7b8d(0x24e)])throw new Error(_0x3e7b8d(0x1b6));if(!_0xfa59cf[_0x3e7b8d(0x2d2)])typeof this[_0x3e7b8d(0x264)][_0x3e7b8d(0x289)]=='number'&&(_0xfa59cf[_0x3e7b8d(0x2d2)]=this[_0x3e7b8d(0x264)][_0x3e7b8d(0x289)]);else{if(this[_0x3e7b8d(0x264)][_0x3e7b8d(0x289)]===!0x1||typeof this['_options'][_0x3e7b8d(0x289)]==_0x3e7b8d(0x186)&&_0xfa59cf[_0x3e7b8d(0x2d2)]>this[_0x3e7b8d(0x264)][_0x3e7b8d(0x289)])throw new Error(_0x3e7b8d(0x149));}return _0xfa59cf;}[_0x312fe8(0x1a2)](_0xa98233){return _0xa98233['forEach'](_0x2fb3f5=>{const _0xa1a78c=_0x597f;Object['keys'](_0x2fb3f5)[_0xa1a78c(0x172)](_0x14d27d=>{const _0x476106=_0xa1a78c;let _0x2ff747=_0x2fb3f5[_0x14d27d];if(_0x2ff747[_0x476106(0x2ba)]>0x1)throw new Error(_0x476106(0x2f4)+_0x14d27d+_0x476106(0x285));if(_0x2ff747=_0x2ff747[0x0],_0x14d27d===_0x476106(0x2d2)){if(_0x2ff747!==!0x0){const _0x407b81=+_0x2ff747;if(!Number[_0x476106(0x1d5)](_0x407b81)||_0x407b81<0x8||_0x407b81>0xf)throw new TypeError(_0x476106(0x297)+_0x14d27d+_0x476106(0x1d6)+_0x2ff747);_0x2ff747=_0x407b81;}else{if(!this['_isServer'])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x14d27d+_0x476106(0x1d6)+_0x2ff747);}}else{if(_0x14d27d===_0x476106(0x2df)){const _0x4cb324=+_0x2ff747;if(!Number[_0x476106(0x1d5)](_0x4cb324)||_0x4cb324<0x8||_0x4cb324>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x14d27d+'\x22:\x20'+_0x2ff747);_0x2ff747=_0x4cb324;}else{if(_0x14d27d===_0x476106(0x24e)||_0x14d27d===_0x476106(0x2a1)){if(_0x2ff747!==!0x0)throw new TypeError(_0x476106(0x297)+_0x14d27d+_0x476106(0x1d6)+_0x2ff747);}else throw new Error(_0x476106(0x167)+_0x14d27d+'\x22');}}_0x2fb3f5[_0x14d27d]=_0x2ff747;});}),_0xa98233;}[_0x312fe8(0x267)](_0x47e1ea,_0x1abe90,_0x5881c){const _0x237de0=_0x312fe8;_0x491264[_0x237de0(0x153)](_0x278a24=>{const _0x31eb0d=_0x237de0;this[_0x31eb0d(0x236)](_0x47e1ea,_0x1abe90,(_0x6490cd,_0x223543)=>{_0x278a24(),_0x5881c(_0x6490cd,_0x223543);});});}['compress'](_0x1b5658,_0xdae78f,_0x2acd83){const _0x33a756=_0x312fe8;_0x491264[_0x33a756(0x153)](_0x476365=>{const _0x426926=_0x33a756;this[_0x426926(0x17d)](_0x1b5658,_0xdae78f,(_0x50a389,_0x4ad7d5)=>{_0x476365(),_0x2acd83(_0x50a389,_0x4ad7d5);});});}[_0x312fe8(0x236)](_0x4430c6,_0x146c93,_0x1ceb2e){const _0x260bc6=_0x312fe8,_0x2e1310=this[_0x260bc6(0x201)]?'client':_0x260bc6(0x1d8);if(!this[_0x260bc6(0x1ef)]){const _0x3e42d5=_0x2e1310+_0x260bc6(0x1ab),_0x5b683c=typeof this[_0x260bc6(0x2a0)][_0x3e42d5]!='number'?_0x3ad88f[_0x260bc6(0x251)]:this[_0x260bc6(0x2a0)][_0x3e42d5];this['_inflate']=_0x3ad88f[_0x260bc6(0x19c)]({...this[_0x260bc6(0x264)][_0x260bc6(0x2ad)],'windowBits':_0x5b683c}),this[_0x260bc6(0x1ef)][_0x4bacb8]=this,this[_0x260bc6(0x1ef)][_0x5d1471]=0x0,this[_0x260bc6(0x1ef)][_0x53c082]=[],this[_0x260bc6(0x1ef)]['on'](_0x260bc6(0x271),_0x1451ee),this['_inflate']['on'](_0x260bc6(0x203),_0x313c06);}this[_0x260bc6(0x1ef)][_0x61db49]=_0x1ceb2e,this['_inflate'][_0x260bc6(0x2c8)](_0x4430c6),_0x146c93&&this[_0x260bc6(0x1ef)]['write'](_0x54d8a9),this[_0x260bc6(0x1ef)]['flush'](()=>{const _0x1f719e=_0x260bc6,_0x245d21=this['_inflate'][_0x5cac87];if(_0x245d21){this['_inflate'][_0x1f719e(0x228)](),this[_0x1f719e(0x1ef)]=null,_0x1ceb2e(_0x245d21);return;}const _0x1b172e=_0x428ea6[_0x1f719e(0x223)](this[_0x1f719e(0x1ef)][_0x53c082],this[_0x1f719e(0x1ef)][_0x5d1471]);this[_0x1f719e(0x1ef)][_0x1f719e(0x192)][_0x1f719e(0x1bc)]?(this[_0x1f719e(0x1ef)][_0x1f719e(0x228)](),this[_0x1f719e(0x1ef)]=null):(this[_0x1f719e(0x1ef)][_0x5d1471]=0x0,this[_0x1f719e(0x1ef)][_0x53c082]=[],_0x146c93&&this['params'][_0x2e1310+_0x1f719e(0x2e6)]&&this[_0x1f719e(0x1ef)][_0x1f719e(0x1d1)]()),_0x1ceb2e(null,_0x1b172e);});}[_0x312fe8(0x17d)](_0x279924,_0x1596f6,_0x116a06){const _0x183c76=_0x312fe8,_0x52ad8c=this[_0x183c76(0x201)]?_0x183c76(0x1d8):_0x183c76(0x259);if(!this[_0x183c76(0x1e6)]){const _0x565982=_0x52ad8c+_0x183c76(0x1ab),_0xf7ffcf=typeof this[_0x183c76(0x2a0)][_0x565982]!=_0x183c76(0x186)?_0x3ad88f['Z_DEFAULT_WINDOWBITS']:this[_0x183c76(0x2a0)][_0x565982];this[_0x183c76(0x1e6)]=_0x3ad88f[_0x183c76(0x1f5)]({...this[_0x183c76(0x264)][_0x183c76(0x1c6)],'windowBits':_0xf7ffcf}),this['_deflate'][_0x5d1471]=0x0,this[_0x183c76(0x1e6)][_0x53c082]=[],this[_0x183c76(0x1e6)]['on']('data',_0x3fad01);}this[_0x183c76(0x1e6)][_0x61db49]=_0x116a06,this['_deflate']['write'](_0x279924),this[_0x183c76(0x1e6)][_0x183c76(0x15e)](_0x3ad88f[_0x183c76(0x28f)],()=>{const _0x1293cc=_0x183c76;if(!this[_0x1293cc(0x1e6)])return;let _0x3b222d=_0x428ea6[_0x1293cc(0x223)](this[_0x1293cc(0x1e6)][_0x53c082],this[_0x1293cc(0x1e6)][_0x5d1471]);_0x1596f6&&(_0x3b222d=new _0x3f585b(_0x3b222d['buffer'],_0x3b222d[_0x1293cc(0x2e4)],_0x3b222d[_0x1293cc(0x2ba)]-0x4)),this[_0x1293cc(0x1e6)][_0x61db49]=null,this[_0x1293cc(0x1e6)][_0x5d1471]=0x0,this['_deflate'][_0x53c082]=[],_0x1596f6&&this[_0x1293cc(0x2a0)][_0x52ad8c+'_no_context_takeover']&&this[_0x1293cc(0x1e6)][_0x1293cc(0x1d1)](),_0x116a06(null,_0x3b222d);});}}ve=_0x14ca19;function _0x3fad01(_0x2dbf28){const _0x5da8d9=_0x312fe8;this[_0x53c082][_0x5da8d9(0x205)](_0x2dbf28),this[_0x5d1471]+=_0x2dbf28['length'];}function _0x313c06(_0x476e5d){const _0x3b75a3=_0x312fe8;if(this[_0x5d1471]+=_0x476e5d[_0x3b75a3(0x2ba)],this[_0x4bacb8][_0x3b75a3(0x16e)]<0x1||this[_0x5d1471]<=this[_0x4bacb8][_0x3b75a3(0x16e)]){this[_0x53c082][_0x3b75a3(0x205)](_0x476e5d);return;}this[_0x5cac87]=new RangeError('Max\x20payload\x20size\x20exceeded'),this[_0x5cac87][_0x3b75a3(0x159)]=_0x3b75a3(0x2f1),this[_0x5cac87][_0x4816d6]=0x3f1,this['removeListener'](_0x3b75a3(0x203),_0x313c06),this[_0x3b75a3(0x1d1)]();}function _0x1451ee(_0x7c6e4f){this[_0x4bacb8]['_inflate']=null,_0x7c6e4f[_0x4816d6]=0x3ef,this[_0x61db49](_0x7c6e4f);}return ve;}var re={'exports':{}};const Ht={},zt=Object['freeze'](Object[_0x30831e(0x207)]({'__proto__':null,'default':Ht},Symbol['toStringTag'],{'value':_0x30831e(0x299)})),Yt=ut(zt);var Qe;function ne(){const _0x318f6b=_0x30831e;if(Qe)return re[_0x318f6b(0x266)];Qe=0x1;const {isUtf8:_0xde9de6}=_0x2ca55a,{hasBlob:_0x52d505}=V(),_0x350788=[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 _0x44fe84(_0x59c4da){return _0x59c4da>=0x3e8&&_0x59c4da<=0x3f6&&_0x59c4da!==0x3ec&&_0x59c4da!==0x3ed&&_0x59c4da!==0x3ee||_0x59c4da>=0xbb8&&_0x59c4da<=0x1387;}function _0x4ae6bc(_0x434ae3){const _0x12ea13=_0x318f6b,_0x5814f4=_0x434ae3[_0x12ea13(0x2ba)];let _0x3adc88=0x0;for(;_0x3adc88<_0x5814f4;)if((_0x434ae3[_0x3adc88]&0x80)===0x0)_0x3adc88++;else{if((_0x434ae3[_0x3adc88]&0xe0)===0xc0){if(_0x3adc88+0x1===_0x5814f4||(_0x434ae3[_0x3adc88+0x1]&0xc0)!==0x80||(_0x434ae3[_0x3adc88]&0xfe)===0xc0)return!0x1;_0x3adc88+=0x2;}else{if((_0x434ae3[_0x3adc88]&0xf0)===0xe0){if(_0x3adc88+0x2>=_0x5814f4||(_0x434ae3[_0x3adc88+0x1]&0xc0)!==0x80||(_0x434ae3[_0x3adc88+0x2]&0xc0)!==0x80||_0x434ae3[_0x3adc88]===0xe0&&(_0x434ae3[_0x3adc88+0x1]&0xe0)===0x80||_0x434ae3[_0x3adc88]===0xed&&(_0x434ae3[_0x3adc88+0x1]&0xe0)===0xa0)return!0x1;_0x3adc88+=0x3;}else{if((_0x434ae3[_0x3adc88]&0xf8)===0xf0){if(_0x3adc88+0x3>=_0x5814f4||(_0x434ae3[_0x3adc88+0x1]&0xc0)!==0x80||(_0x434ae3[_0x3adc88+0x2]&0xc0)!==0x80||(_0x434ae3[_0x3adc88+0x3]&0xc0)!==0x80||_0x434ae3[_0x3adc88]===0xf0&&(_0x434ae3[_0x3adc88+0x1]&0xf0)===0x80||_0x434ae3[_0x3adc88]===0xf4&&_0x434ae3[_0x3adc88+0x1]>0x8f||_0x434ae3[_0x3adc88]>0xf4)return!0x1;_0x3adc88+=0x4;}else return!0x1;}}}return!0x0;}function _0x59b21d(_0x100ef3){const _0x13b813=_0x318f6b;return _0x52d505&&typeof _0x100ef3=='object'&&typeof _0x100ef3['arrayBuffer']=='function'&&typeof _0x100ef3[_0x13b813(0x286)]==_0x13b813(0x241)&&typeof _0x100ef3[_0x13b813(0x20f)]=='function'&&(_0x100ef3[Symbol[_0x13b813(0x2bb)]]===_0x13b813(0x2e1)||_0x100ef3[Symbol[_0x13b813(0x2bb)]]===_0x13b813(0x291));}if(re[_0x318f6b(0x266)]={'isBlob':_0x59b21d,'isValidStatusCode':_0x44fe84,'isValidUTF8':_0x4ae6bc,'tokenChars':_0x350788},_0xde9de6)re['exports'][_0x318f6b(0x2be)]=function(_0x47ff43){return _0x47ff43['length']<0x18?_0x4ae6bc(_0x47ff43):_0xde9de6(_0x47ff43);};else{if(!process[_0x318f6b(0x174)][_0x318f6b(0x272)])try{const _0x554f4b=Yt;re['exports'][_0x318f6b(0x2be)]=function(_0x5b6206){const _0x483ac0=_0x318f6b;return _0x5b6206[_0x483ac0(0x2ba)]<0x20?_0x4ae6bc(_0x5b6206):_0x554f4b(_0x5b6206);};}catch{}}return re['exports'];}var Se,Je;function dt(){const _0x510618=_0x30831e;if(Je)return Se;Je=0x1;const {Writable:_0x5df629}=_0x31bf2d,_0x3ef8e7=he(),{BINARY_TYPES:_0x28de16,EMPTY_BUFFER:_0x206594,kStatusCode:_0x346237,kWebSocket:_0x2e493c}=V(),{concat:_0xe05355,toArrayBuffer:_0x399724,unmask:_0x42f772}=ce(),{isValidStatusCode:_0x38c46a,isValidUTF8:_0x3b1e40}=ne(),_0x3f9c03=Buffer[Symbol[_0x510618(0x23c)]],_0x312dfe=0x0,_0x1d9da3=0x1,_0x4b1c62=0x2,_0x2582fa=0x3,_0x4e4a76=0x4,_0x368302=0x5,_0x60055b=0x6;class _0x2e8752 extends _0x5df629{constructor(_0x2ed6c9={}){const _0x49df26=_0x510618;super(),this['_allowSynchronousEvents']=_0x2ed6c9[_0x49df26(0x292)]!==void 0x0?_0x2ed6c9[_0x49df26(0x292)]:!0x0,this[_0x49df26(0x2af)]=_0x2ed6c9['binaryType']||_0x28de16[0x0],this['_extensions']=_0x2ed6c9[_0x49df26(0x154)]||{},this[_0x49df26(0x201)]=!!_0x2ed6c9[_0x49df26(0x1c3)],this[_0x49df26(0x16e)]=_0x2ed6c9[_0x49df26(0x240)]|0x0,this[_0x49df26(0x2dd)]=!!_0x2ed6c9[_0x49df26(0x248)],this[_0x2e493c]=void 0x0,this[_0x49df26(0x1ec)]=0x0,this[_0x49df26(0x204)]=[],this[_0x49df26(0x1fc)]=!0x1,this[_0x49df26(0x238)]=0x0,this['_mask']=void 0x0,this[_0x49df26(0x19f)]=0x0,this['_masked']=!0x1,this[_0x49df26(0x27f)]=!0x1,this[_0x49df26(0x1e5)]=0x0,this[_0x49df26(0x2a4)]=0x0,this[_0x49df26(0x24d)]=0x0,this[_0x49df26(0x1e2)]=[],this[_0x49df26(0x2ea)]=!0x1,this[_0x49df26(0x2cc)]=!0x1,this[_0x49df26(0x195)]=_0x312dfe;}[_0x510618(0x1ea)](_0x2b95e6,_0x232e0f,_0x4694a8){const _0xad7ce7=_0x510618;if(this[_0xad7ce7(0x1e5)]===0x8&&this['_state']==_0x312dfe)return _0x4694a8();this[_0xad7ce7(0x1ec)]+=_0x2b95e6[_0xad7ce7(0x2ba)],this['_buffers']['push'](_0x2b95e6),this['startLoop'](_0x4694a8);}['consume'](_0x28548c){const _0x271ca6=_0x510618;if(this[_0x271ca6(0x1ec)]-=_0x28548c,_0x28548c===this['_buffers'][0x0][_0x271ca6(0x2ba)])return this[_0x271ca6(0x204)][_0x271ca6(0x2c1)]();if(_0x28548c<this['_buffers'][0x0][_0x271ca6(0x2ba)]){const _0x147413=this['_buffers'][0x0];return this[_0x271ca6(0x204)][0x0]=new _0x3f9c03(_0x147413[_0x271ca6(0x1e8)],_0x147413[_0x271ca6(0x2e4)]+_0x28548c,_0x147413[_0x271ca6(0x2ba)]-_0x28548c),new _0x3f9c03(_0x147413[_0x271ca6(0x1e8)],_0x147413[_0x271ca6(0x2e4)],_0x28548c);}const _0x46f80c=Buffer[_0x271ca6(0x1f0)](_0x28548c);do{const _0x4faccb=this[_0x271ca6(0x204)][0x0],_0x225549=_0x46f80c[_0x271ca6(0x2ba)]-_0x28548c;_0x28548c>=_0x4faccb[_0x271ca6(0x2ba)]?_0x46f80c['set'](this[_0x271ca6(0x204)][_0x271ca6(0x2c1)](),_0x225549):(_0x46f80c['set'](new Uint8Array(_0x4faccb[_0x271ca6(0x1e8)],_0x4faccb[_0x271ca6(0x2e4)],_0x28548c),_0x225549),this[_0x271ca6(0x204)][0x0]=new _0x3f9c03(_0x4faccb[_0x271ca6(0x1e8)],_0x4faccb[_0x271ca6(0x2e4)]+_0x28548c,_0x4faccb[_0x271ca6(0x2ba)]-_0x28548c)),_0x28548c-=_0x4faccb[_0x271ca6(0x2ba)];}while(_0x28548c>0x0);return _0x46f80c;}[_0x510618(0x277)](_0x21df5c){const _0x32eb5d=_0x510618;this['_loop']=!0x0;do switch(this[_0x32eb5d(0x195)]){case _0x312dfe:this['getInfo'](_0x21df5c);break;case _0x1d9da3:this[_0x32eb5d(0x1e9)](_0x21df5c);break;case _0x4b1c62:this[_0x32eb5d(0x21e)](_0x21df5c);break;case _0x2582fa:this[_0x32eb5d(0x1cc)]();break;case _0x4e4a76:this[_0x32eb5d(0x217)](_0x21df5c);break;case _0x368302:case _0x60055b:this[_0x32eb5d(0x2cc)]=!0x1;return;}while(this['_loop']);this[_0x32eb5d(0x2ea)]||_0x21df5c();}['getInfo'](_0x4a12e4){const _0xb6ae74=_0x510618;if(this[_0xb6ae74(0x1ec)]<0x2){this[_0xb6ae74(0x2cc)]=!0x1;return;}const _0xf6c32e=this[_0xb6ae74(0x2f9)](0x2);if((_0xf6c32e[0x0]&0x30)!==0x0){const _0xa00f55=this[_0xb6ae74(0x18a)](RangeError,_0xb6ae74(0x2eb),!0x0,0x3ea,_0xb6ae74(0x274));_0x4a12e4(_0xa00f55);return;}const _0x168c58=(_0xf6c32e[0x0]&0x40)===0x40;if(_0x168c58&&!this[_0xb6ae74(0x2a7)][_0x3ef8e7[_0xb6ae74(0x19e)]]){const _0x39db83=this[_0xb6ae74(0x18a)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0xb6ae74(0x26d));_0x4a12e4(_0x39db83);return;}if(this[_0xb6ae74(0x27f)]=(_0xf6c32e[0x0]&0x80)===0x80,this[_0xb6ae74(0x1e5)]=_0xf6c32e[0x0]&0xf,this[_0xb6ae74(0x238)]=_0xf6c32e[0x1]&0x7f,this['_opcode']===0x0){if(_0x168c58){const _0x185e9b=this[_0xb6ae74(0x18a)](RangeError,_0xb6ae74(0x242),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x4a12e4(_0x185e9b);return;}if(!this['_fragmented']){const _0x4ff227=this[_0xb6ae74(0x18a)](RangeError,_0xb6ae74(0x23e),!0x0,0x3ea,_0xb6ae74(0x25a));_0x4a12e4(_0x4ff227);return;}this['_opcode']=this[_0xb6ae74(0x19f)];}else{if(this['_opcode']===0x1||this['_opcode']===0x2){if(this['_fragmented']){const _0xf4af70=this['createError'](RangeError,_0xb6ae74(0x15a)+this[_0xb6ae74(0x1e5)],!0x0,0x3ea,_0xb6ae74(0x25a));_0x4a12e4(_0xf4af70);return;}this[_0xb6ae74(0x1fc)]=_0x168c58;}else{if(this[_0xb6ae74(0x1e5)]>0x7&&this[_0xb6ae74(0x1e5)]<0xb){if(!this[_0xb6ae74(0x27f)]){const _0x29dbf7=this[_0xb6ae74(0x18a)](RangeError,_0xb6ae74(0x17b),!0x0,0x3ea,_0xb6ae74(0x176));_0x4a12e4(_0x29dbf7);return;}if(_0x168c58){const _0x49bd61=this[_0xb6ae74(0x18a)](RangeError,_0xb6ae74(0x242),!0x0,0x3ea,_0xb6ae74(0x26d));_0x4a12e4(_0x49bd61);return;}if(this['_payloadLength']>0x7d||this['_opcode']===0x8&&this[_0xb6ae74(0x238)]===0x1){const _0x234a58=this[_0xb6ae74(0x18a)](RangeError,'invalid\x20payload\x20length\x20'+this[_0xb6ae74(0x238)],!0x0,0x3ea,'WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH');_0x4a12e4(_0x234a58);return;}}else{const _0x534437=this[_0xb6ae74(0x18a)](RangeError,_0xb6ae74(0x15a)+this[_0xb6ae74(0x1e5)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x4a12e4(_0x534437);return;}}}if(!this[_0xb6ae74(0x27f)]&&!this[_0xb6ae74(0x19f)]&&(this[_0xb6ae74(0x19f)]=this['_opcode']),this['_masked']=(_0xf6c32e[0x1]&0x80)===0x80,this['_isServer']){if(!this[_0xb6ae74(0x245)]){const _0x491413=this[_0xb6ae74(0x18a)](RangeError,_0xb6ae74(0x281),!0x0,0x3ea,_0xb6ae74(0x2b9));_0x4a12e4(_0x491413);return;}}else{if(this[_0xb6ae74(0x245)]){const _0x36dbd7=this['createError'](RangeError,_0xb6ae74(0x169),!0x0,0x3ea,_0xb6ae74(0x27a));_0x4a12e4(_0x36dbd7);return;}}this[_0xb6ae74(0x238)]===0x7e?this['_state']=_0x1d9da3:this[_0xb6ae74(0x238)]===0x7f?this[_0xb6ae74(0x195)]=_0x4b1c62:this[_0xb6ae74(0x2e0)](_0x4a12e4);}[_0x510618(0x1e9)](_0x2e5b1e){const _0x2bd47c=_0x510618;if(this[_0x2bd47c(0x1ec)]<0x2){this[_0x2bd47c(0x2cc)]=!0x1;return;}this[_0x2bd47c(0x238)]=this['consume'](0x2)[_0x2bd47c(0x26b)](0x0),this[_0x2bd47c(0x2e0)](_0x2e5b1e);}['getPayloadLength64'](_0x4d5ab8){const _0x37e80b=_0x510618;if(this[_0x37e80b(0x1ec)]<0x8){this[_0x37e80b(0x2cc)]=!0x1;return;}const _0x26eb6d=this[_0x37e80b(0x2f9)](0x8),_0x15ea87=_0x26eb6d[_0x37e80b(0x22b)](0x0);if(_0x15ea87>Math[_0x37e80b(0x1ce)](0x2,0x15)-0x1){const _0x15086f=this[_0x37e80b(0x18a)](RangeError,_0x37e80b(0x2ae),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH');_0x4d5ab8(_0x15086f);return;}this['_payloadLength']=_0x15ea87*Math[_0x37e80b(0x1ce)](0x2,0x20)+_0x26eb6d[_0x37e80b(0x22b)](0x4),this['haveLength'](_0x4d5ab8);}[_0x510618(0x2e0)](_0x284153){const _0x572131=_0x510618;if(this['_payloadLength']&&this[_0x572131(0x1e5)]<0x8&&(this[_0x572131(0x2a4)]+=this[_0x572131(0x238)],this[_0x572131(0x2a4)]>this[_0x572131(0x16e)]&&this[_0x572131(0x16e)]>0x0)){const _0x16c623=this[_0x572131(0x18a)](RangeError,_0x572131(0x1d7),!0x1,0x3f1,_0x572131(0x2f1));_0x284153(_0x16c623);return;}this[_0x572131(0x245)]?this['_state']=_0x2582fa:this['_state']=_0x4e4a76;}[_0x510618(0x1cc)](){const _0x43bbc9=_0x510618;if(this['_bufferedBytes']<0x4){this['_loop']=!0x1;return;}this[_0x43bbc9(0x1af)]=this[_0x43bbc9(0x2f9)](0x4),this[_0x43bbc9(0x195)]=_0x4e4a76;}[_0x510618(0x217)](_0xa1209d){const _0x28b401=_0x510618;let _0x1776d9=_0x206594;if(this[_0x28b401(0x238)]){if(this['_bufferedBytes']<this[_0x28b401(0x238)]){this[_0x28b401(0x2cc)]=!0x1;return;}_0x1776d9=this[_0x28b401(0x2f9)](this[_0x28b401(0x238)]),this['_masked']&&(this[_0x28b401(0x1af)][0x0]|this[_0x28b401(0x1af)][0x1]|this['_mask'][0x2]|this[_0x28b401(0x1af)][0x3])!==0x0&&_0x42f772(_0x1776d9,this[_0x28b401(0x1af)]);}if(this[_0x28b401(0x1e5)]>0x7){this[_0x28b401(0x24f)](_0x1776d9,_0xa1209d);return;}if(this['_compressed']){this['_state']=_0x368302,this['decompress'](_0x1776d9,_0xa1209d);return;}_0x1776d9[_0x28b401(0x2ba)]&&(this[_0x28b401(0x24d)]=this['_totalPayloadLength'],this[_0x28b401(0x1e2)][_0x28b401(0x205)](_0x1776d9)),this[_0x28b401(0x218)](_0xa1209d);}[_0x510618(0x267)](_0x29bbd0,_0x231d8b){const _0x3b200d=_0x510618;this['_extensions'][_0x3ef8e7['extensionName']][_0x3b200d(0x267)](_0x29bbd0,this['_fin'],(_0xf23b19,_0x19fa2e)=>{const _0x338034=_0x3b200d;if(_0xf23b19)return _0x231d8b(_0xf23b19);if(_0x19fa2e['length']){if(this[_0x338034(0x24d)]+=_0x19fa2e[_0x338034(0x2ba)],this[_0x338034(0x24d)]>this[_0x338034(0x16e)]&&this[_0x338034(0x16e)]>0x0){const _0x27d824=this[_0x338034(0x18a)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x231d8b(_0x27d824);return;}this[_0x338034(0x1e2)]['push'](_0x19fa2e);}this['dataMessage'](_0x231d8b),this['_state']===_0x312dfe&&this['startLoop'](_0x231d8b);});}['dataMessage'](_0x539a76){const _0x36485b=_0x510618;if(!this[_0x36485b(0x27f)]){this[_0x36485b(0x195)]=_0x312dfe;return;}const _0x54b3a4=this[_0x36485b(0x24d)],_0xc543ad=this['_fragments'];if(this[_0x36485b(0x2a4)]=0x0,this[_0x36485b(0x24d)]=0x0,this['_fragmented']=0x0,this[_0x36485b(0x1e2)]=[],this['_opcode']===0x2){let _0x4c6786;this[_0x36485b(0x2af)]==='nodebuffer'?_0x4c6786=_0xe05355(_0xc543ad,_0x54b3a4):this['_binaryType']===_0x36485b(0x2b5)?_0x4c6786=_0x399724(_0xe05355(_0xc543ad,_0x54b3a4)):this[_0x36485b(0x2af)]===_0x36485b(0x276)?_0x4c6786=new Blob(_0xc543ad):_0x4c6786=_0xc543ad,this[_0x36485b(0x2e2)]?(this[_0x36485b(0x1e4)](_0x36485b(0x2ee),_0x4c6786,!0x0),this['_state']=_0x312dfe):(this[_0x36485b(0x195)]=_0x60055b,setImmediate(()=>{const _0x4d8659=_0x36485b;this[_0x4d8659(0x1e4)](_0x4d8659(0x2ee),_0x4c6786,!0x0),this[_0x4d8659(0x195)]=_0x312dfe,this['startLoop'](_0x539a76);}));}else{const _0x579186=_0xe05355(_0xc543ad,_0x54b3a4);if(!this[_0x36485b(0x2dd)]&&!_0x3b1e40(_0x579186)){const _0x116c4b=this['createError'](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x36485b(0x262));_0x539a76(_0x116c4b);return;}this[_0x36485b(0x195)]===_0x368302||this[_0x36485b(0x2e2)]?(this[_0x36485b(0x1e4)](_0x36485b(0x2ee),_0x579186,!0x1),this[_0x36485b(0x195)]=_0x312dfe):(this['_state']=_0x60055b,setImmediate(()=>{const _0x3527c9=_0x36485b;this['emit'](_0x3527c9(0x2ee),_0x579186,!0x1),this['_state']=_0x312dfe,this[_0x3527c9(0x277)](_0x539a76);}));}}[_0x510618(0x24f)](_0x432c80,_0x203fd1){const _0x4f2502=_0x510618;if(this[_0x4f2502(0x1e5)]===0x8){if(_0x432c80[_0x4f2502(0x2ba)]===0x0)this[_0x4f2502(0x2cc)]=!0x1,this[_0x4f2502(0x1e4)](_0x4f2502(0x2f6),0x3ed,_0x206594),this['end']();else{const _0x1da876=_0x432c80['readUInt16BE'](0x0);if(!_0x38c46a(_0x1da876)){const _0x265d7f=this[_0x4f2502(0x18a)](RangeError,_0x4f2502(0x231)+_0x1da876,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0x203fd1(_0x265d7f);return;}const _0x35497c=new _0x3f9c03(_0x432c80['buffer'],_0x432c80['byteOffset']+0x2,_0x432c80[_0x4f2502(0x2ba)]-0x2);if(!this[_0x4f2502(0x2dd)]&&!_0x3b1e40(_0x35497c)){const _0x176280=this[_0x4f2502(0x18a)](Error,_0x4f2502(0x17f),!0x0,0x3ef,_0x4f2502(0x262));_0x203fd1(_0x176280);return;}this[_0x4f2502(0x2cc)]=!0x1,this[_0x4f2502(0x1e4)](_0x4f2502(0x2f6),_0x1da876,_0x35497c),this['end']();}this[_0x4f2502(0x195)]=_0x312dfe;return;}this[_0x4f2502(0x2e2)]?(this['emit'](this[_0x4f2502(0x1e5)]===0x9?_0x4f2502(0x1db):'pong',_0x432c80),this[_0x4f2502(0x195)]=_0x312dfe):(this[_0x4f2502(0x195)]=_0x60055b,setImmediate(()=>{const _0x59d21d=_0x4f2502;this[_0x59d21d(0x1e4)](this['_opcode']===0x9?'ping':_0x59d21d(0x2c0),_0x432c80),this['_state']=_0x312dfe,this['startLoop'](_0x203fd1);}));}[_0x510618(0x18a)](_0x579a3d,_0x1b616f,_0x23e3b4,_0x1f78cb,_0x2ee0ce){const _0x459de7=_0x510618;this['_loop']=!0x1,this['_errored']=!0x0;const _0xbf4b86=new _0x579a3d(_0x23e3b4?_0x459de7(0x27d)+_0x1b616f:_0x1b616f);return Error['captureStackTrace'](_0xbf4b86,this[_0x459de7(0x18a)]),_0xbf4b86['code']=_0x2ee0ce,_0xbf4b86[_0x346237]=_0x1f78cb,_0xbf4b86;}}return Se=_0x2e8752,Se;}var Ee,et;function _t(){const _0x244076=_0x30831e;if(et)return Ee;et=0x1;const {Duplex:_0x42b2dc}=_0x31bf2d,{randomFillSync:_0x2df95d}=_0x49a803,_0x4b3481=he(),{EMPTY_BUFFER:_0x4710ea,kWebSocket:_0x384bc0,NOOP:_0x5b8046}=V(),{isBlob:_0x5e8b0d,isValidStatusCode:_0xdef5cf}=ne(),{mask:_0x99fe0a,toBuffer:_0x1745e9}=ce(),_0xedeba4=Symbol(_0x244076(0x17a)),_0x106d3d=Buffer['alloc'](0x4),_0x544c9a=0x8*0x400;let _0x2cbc2e,_0x6e9f51=_0x544c9a;const _0x42c302=0x0,_0x3dc651=0x1,_0x2f670c=0x2;class _0x4bf333{constructor(_0x536832,_0x2a2527,_0x7c47c9){const _0x213a94=_0x244076;this[_0x213a94(0x2a7)]=_0x2a2527||{},_0x7c47c9&&(this[_0x213a94(0x1a6)]=_0x7c47c9,this[_0x213a94(0x196)]=Buffer[_0x213a94(0x21f)](0x4)),this[_0x213a94(0x29e)]=_0x536832,this['_firstFragment']=!0x0,this[_0x213a94(0x17d)]=!0x1,this[_0x213a94(0x1ec)]=0x0,this['_queue']=[],this['_state']=_0x42c302,this[_0x213a94(0x179)]=_0x5b8046,this[_0x384bc0]=void 0x0;}static['frame'](_0x524f09,_0x453ccf){const _0x405061=_0x244076;let _0x1c18fa,_0x179623=!0x1,_0x24d435=0x2,_0x49435f=!0x1;_0x453ccf[_0x405061(0x184)]&&(_0x1c18fa=_0x453ccf['maskBuffer']||_0x106d3d,_0x453ccf[_0x405061(0x1e7)]?_0x453ccf['generateMask'](_0x1c18fa):(_0x6e9f51===_0x544c9a&&(_0x2cbc2e===void 0x0&&(_0x2cbc2e=Buffer[_0x405061(0x21f)](_0x544c9a)),_0x2df95d(_0x2cbc2e,0x0,_0x544c9a),_0x6e9f51=0x0),_0x1c18fa[0x0]=_0x2cbc2e[_0x6e9f51++],_0x1c18fa[0x1]=_0x2cbc2e[_0x6e9f51++],_0x1c18fa[0x2]=_0x2cbc2e[_0x6e9f51++],_0x1c18fa[0x3]=_0x2cbc2e[_0x6e9f51++]),_0x49435f=(_0x1c18fa[0x0]|_0x1c18fa[0x1]|_0x1c18fa[0x2]|_0x1c18fa[0x3])===0x0,_0x24d435=0x6);let _0x443f77;typeof _0x524f09==_0x405061(0x241)?(!_0x453ccf['mask']||_0x49435f)&&_0x453ccf[_0xedeba4]!==void 0x0?_0x443f77=_0x453ccf[_0xedeba4]:(_0x524f09=Buffer[_0x405061(0x280)](_0x524f09),_0x443f77=_0x524f09[_0x405061(0x2ba)]):(_0x443f77=_0x524f09[_0x405061(0x2ba)],_0x179623=_0x453ccf[_0x405061(0x184)]&&_0x453ccf['readOnly']&&!_0x49435f);let _0x11febd=_0x443f77;_0x443f77>=0x10000?(_0x24d435+=0x8,_0x11febd=0x7f):_0x443f77>0x7d&&(_0x24d435+=0x2,_0x11febd=0x7e);const _0x4053c9=Buffer[_0x405061(0x1f0)](_0x179623?_0x443f77+_0x24d435:_0x24d435);return _0x4053c9[0x0]=_0x453ccf['fin']?_0x453ccf['opcode']|0x80:_0x453ccf['opcode'],_0x453ccf[_0x405061(0x2d3)]&&(_0x4053c9[0x0]|=0x40),_0x4053c9[0x1]=_0x11febd,_0x11febd===0x7e?_0x4053c9[_0x405061(0x18b)](_0x443f77,0x2):_0x11febd===0x7f&&(_0x4053c9[0x2]=_0x4053c9[0x3]=0x0,_0x4053c9[_0x405061(0x160)](_0x443f77,0x4,0x6)),_0x453ccf[_0x405061(0x184)]?(_0x4053c9[0x1]|=0x80,_0x4053c9[_0x24d435-0x4]=_0x1c18fa[0x0],_0x4053c9[_0x24d435-0x3]=_0x1c18fa[0x1],_0x4053c9[_0x24d435-0x2]=_0x1c18fa[0x2],_0x4053c9[_0x24d435-0x1]=_0x1c18fa[0x3],_0x49435f?[_0x4053c9,_0x524f09]:_0x179623?(_0x99fe0a(_0x524f09,_0x1c18fa,_0x4053c9,_0x24d435,_0x443f77),[_0x4053c9]):(_0x99fe0a(_0x524f09,_0x1c18fa,_0x524f09,0x0,_0x443f77),[_0x4053c9,_0x524f09])):[_0x4053c9,_0x524f09];}[_0x244076(0x228)](_0x1b4d5f,_0x136f2d,_0xe3870b,_0x27a438){const _0x8a7f0=_0x244076;let _0x992a7b;if(_0x1b4d5f===void 0x0)_0x992a7b=_0x4710ea;else{if(typeof _0x1b4d5f!='number'||!_0xdef5cf(_0x1b4d5f))throw new TypeError(_0x8a7f0(0x273));if(_0x136f2d===void 0x0||!_0x136f2d[_0x8a7f0(0x2ba)])_0x992a7b=Buffer['allocUnsafe'](0x2),_0x992a7b['writeUInt16BE'](_0x1b4d5f,0x0);else{const _0x5435a2=Buffer[_0x8a7f0(0x2aa)](_0x136f2d);if(_0x5435a2>0x7b)throw new RangeError(_0x8a7f0(0x2cb));_0x992a7b=Buffer[_0x8a7f0(0x1f0)](0x2+_0x5435a2),_0x992a7b[_0x8a7f0(0x18b)](_0x1b4d5f,0x0),typeof _0x136f2d=='string'?_0x992a7b[_0x8a7f0(0x2c8)](_0x136f2d,0x2):_0x992a7b[_0x8a7f0(0x1b3)](_0x136f2d,0x2);}}const _0x2443a5={[_0xedeba4]:_0x992a7b[_0x8a7f0(0x2ba)],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0xe3870b,'maskBuffer':this[_0x8a7f0(0x196)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x8a7f0(0x195)]!==_0x42c302?this[_0x8a7f0(0x20a)]([this['dispatch'],_0x992a7b,!0x1,_0x2443a5,_0x27a438]):this[_0x8a7f0(0x173)](_0x4bf333[_0x8a7f0(0x1fd)](_0x992a7b,_0x2443a5),_0x27a438);}[_0x244076(0x1db)](_0x169beb,_0x5a6097,_0x11a1ae){const _0x1885ed=_0x244076;let _0x2b6c9c,_0x29f319;if(typeof _0x169beb==_0x1885ed(0x241)?(_0x2b6c9c=Buffer[_0x1885ed(0x2aa)](_0x169beb),_0x29f319=!0x1):_0x5e8b0d(_0x169beb)?(_0x2b6c9c=_0x169beb['size'],_0x29f319=!0x1):(_0x169beb=_0x1745e9(_0x169beb),_0x2b6c9c=_0x169beb[_0x1885ed(0x2ba)],_0x29f319=_0x1745e9[_0x1885ed(0x2b4)]),_0x2b6c9c>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x22add8={[_0xedeba4]:_0x2b6c9c,'fin':!0x0,'generateMask':this[_0x1885ed(0x1a6)],'mask':_0x5a6097,'maskBuffer':this[_0x1885ed(0x196)],'opcode':0x9,'readOnly':_0x29f319,'rsv1':!0x1};_0x5e8b0d(_0x169beb)?this['_state']!==_0x42c302?this[_0x1885ed(0x20a)]([this['getBlobData'],_0x169beb,!0x1,_0x22add8,_0x11a1ae]):this[_0x1885ed(0x1f8)](_0x169beb,!0x1,_0x22add8,_0x11a1ae):this[_0x1885ed(0x195)]!==_0x42c302?this['enqueue']([this['dispatch'],_0x169beb,!0x1,_0x22add8,_0x11a1ae]):this[_0x1885ed(0x173)](_0x4bf333[_0x1885ed(0x1fd)](_0x169beb,_0x22add8),_0x11a1ae);}[_0x244076(0x2c0)](_0x41062c,_0x4111f0,_0x319830){const _0x44f1d0=_0x244076;let _0x4364ee,_0x3a29fd;if(typeof _0x41062c==_0x44f1d0(0x241)?(_0x4364ee=Buffer['byteLength'](_0x41062c),_0x3a29fd=!0x1):_0x5e8b0d(_0x41062c)?(_0x4364ee=_0x41062c[_0x44f1d0(0x216)],_0x3a29fd=!0x1):(_0x41062c=_0x1745e9(_0x41062c),_0x4364ee=_0x41062c[_0x44f1d0(0x2ba)],_0x3a29fd=_0x1745e9[_0x44f1d0(0x2b4)]),_0x4364ee>0x7d)throw new RangeError(_0x44f1d0(0x202));const _0x5daa02={[_0xedeba4]:_0x4364ee,'fin':!0x0,'generateMask':this[_0x44f1d0(0x1a6)],'mask':_0x4111f0,'maskBuffer':this[_0x44f1d0(0x196)],'opcode':0xa,'readOnly':_0x3a29fd,'rsv1':!0x1};_0x5e8b0d(_0x41062c)?this['_state']!==_0x42c302?this['enqueue']([this['getBlobData'],_0x41062c,!0x1,_0x5daa02,_0x319830]):this['getBlobData'](_0x41062c,!0x1,_0x5daa02,_0x319830):this[_0x44f1d0(0x195)]!==_0x42c302?this[_0x44f1d0(0x20a)]([this[_0x44f1d0(0x23b)],_0x41062c,!0x1,_0x5daa02,_0x319830]):this[_0x44f1d0(0x173)](_0x4bf333[_0x44f1d0(0x1fd)](_0x41062c,_0x5daa02),_0x319830);}[_0x244076(0x1c9)](_0x42a8dc,_0xbb0b8f,_0x3f9371){const _0x3975bc=_0x244076,_0x58f959=this[_0x3975bc(0x2a7)][_0x4b3481[_0x3975bc(0x19e)]];let _0x5b42fb=_0xbb0b8f[_0x3975bc(0x198)]?0x2:0x1,_0x5828c5=_0xbb0b8f[_0x3975bc(0x168)],_0x39e2e0,_0xc74ec0;typeof _0x42a8dc==_0x3975bc(0x241)?(_0x39e2e0=Buffer[_0x3975bc(0x2aa)](_0x42a8dc),_0xc74ec0=!0x1):_0x5e8b0d(_0x42a8dc)?(_0x39e2e0=_0x42a8dc[_0x3975bc(0x216)],_0xc74ec0=!0x1):(_0x42a8dc=_0x1745e9(_0x42a8dc),_0x39e2e0=_0x42a8dc[_0x3975bc(0x2ba)],_0xc74ec0=_0x1745e9[_0x3975bc(0x2b4)]),this[_0x3975bc(0x2d4)]?(this['_firstFragment']=!0x1,_0x5828c5&&_0x58f959&&_0x58f959[_0x3975bc(0x2a0)][_0x58f959[_0x3975bc(0x201)]?_0x3975bc(0x2a1):'client_no_context_takeover']&&(_0x5828c5=_0x39e2e0>=_0x58f959[_0x3975bc(0x2ab)]),this[_0x3975bc(0x17d)]=_0x5828c5):(_0x5828c5=!0x1,_0x5b42fb=0x0),_0xbb0b8f[_0x3975bc(0x19b)]&&(this['_firstFragment']=!0x0);const _0x567505={[_0xedeba4]:_0x39e2e0,'fin':_0xbb0b8f[_0x3975bc(0x19b)],'generateMask':this['_generateMask'],'mask':_0xbb0b8f[_0x3975bc(0x184)],'maskBuffer':this[_0x3975bc(0x196)],'opcode':_0x5b42fb,'readOnly':_0xc74ec0,'rsv1':_0x5828c5};_0x5e8b0d(_0x42a8dc)?this[_0x3975bc(0x195)]!==_0x42c302?this['enqueue']([this[_0x3975bc(0x1f8)],_0x42a8dc,this['_compress'],_0x567505,_0x3f9371]):this[_0x3975bc(0x1f8)](_0x42a8dc,this[_0x3975bc(0x17d)],_0x567505,_0x3f9371):this['_state']!==_0x42c302?this['enqueue']([this[_0x3975bc(0x23b)],_0x42a8dc,this[_0x3975bc(0x17d)],_0x567505,_0x3f9371]):this['dispatch'](_0x42a8dc,this[_0x3975bc(0x17d)],_0x567505,_0x3f9371);}['getBlobData'](_0x1ca7c0,_0x44ccc7,_0x3b8bc3,_0x531719){const _0x2c4b29=_0x244076;this[_0x2c4b29(0x1ec)]+=_0x3b8bc3[_0xedeba4],this[_0x2c4b29(0x195)]=_0x2f670c,_0x1ca7c0['arrayBuffer']()[_0x2c4b29(0x2b3)](_0x586866=>{const _0x1db41d=_0x2c4b29;if(this[_0x1db41d(0x29e)][_0x1db41d(0x190)]){const _0x1890af=new Error(_0x1db41d(0x29d));process[_0x1db41d(0x1ba)](_0x8725c2,this,_0x1890af,_0x531719);return;}this['_bufferedBytes']-=_0x3b8bc3[_0xedeba4];const _0x4cb128=_0x1745e9(_0x586866);_0x44ccc7?this[_0x1db41d(0x23b)](_0x4cb128,_0x44ccc7,_0x3b8bc3,_0x531719):(this[_0x1db41d(0x195)]=_0x42c302,this[_0x1db41d(0x173)](_0x4bf333[_0x1db41d(0x1fd)](_0x4cb128,_0x3b8bc3),_0x531719),this[_0x1db41d(0x1f4)]());})[_0x2c4b29(0x165)](_0x598064=>{process['nextTick'](_0x42a283,this,_0x598064,_0x531719);});}['dispatch'](_0x21487d,_0x1be040,_0x30cd5d,_0x96becd){const _0x2a62f5=_0x244076;if(!_0x1be040){this[_0x2a62f5(0x173)](_0x4bf333[_0x2a62f5(0x1fd)](_0x21487d,_0x30cd5d),_0x96becd);return;}const _0x534f11=this[_0x2a62f5(0x2a7)][_0x4b3481[_0x2a62f5(0x19e)]];this[_0x2a62f5(0x1ec)]+=_0x30cd5d[_0xedeba4],this['_state']=_0x3dc651,_0x534f11[_0x2a62f5(0x168)](_0x21487d,_0x30cd5d[_0x2a62f5(0x19b)],(_0x31c9c7,_0x291ca2)=>{const _0x519485=_0x2a62f5;if(this[_0x519485(0x29e)][_0x519485(0x190)]){const _0x4ad6ce=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x8725c2(this,_0x4ad6ce,_0x96becd);return;}this[_0x519485(0x1ec)]-=_0x30cd5d[_0xedeba4],this[_0x519485(0x195)]=_0x42c302,_0x30cd5d[_0x519485(0x2b4)]=!0x1,this[_0x519485(0x173)](_0x4bf333['frame'](_0x291ca2,_0x30cd5d),_0x96becd),this['dequeue']();});}[_0x244076(0x1f4)](){const _0x3c5544=_0x244076;for(;this['_state']===_0x42c302&&this[_0x3c5544(0x258)][_0x3c5544(0x2ba)];){const _0x2aebfc=this[_0x3c5544(0x258)][_0x3c5544(0x2c1)]();this[_0x3c5544(0x1ec)]-=_0x2aebfc[0x3][_0xedeba4],Reflect[_0x3c5544(0x1c0)](_0x2aebfc[0x0],this,_0x2aebfc['slice'](0x1));}}['enqueue'](_0x3e7927){this['_bufferedBytes']+=_0x3e7927[0x3][_0xedeba4],this['_queue']['push'](_0x3e7927);}[_0x244076(0x173)](_0x139988,_0x1476d5){const _0x1563ca=_0x244076;_0x139988[_0x1563ca(0x2ba)]===0x2?(this[_0x1563ca(0x29e)][_0x1563ca(0x14f)](),this[_0x1563ca(0x29e)][_0x1563ca(0x2c8)](_0x139988[0x0]),this[_0x1563ca(0x29e)][_0x1563ca(0x2c8)](_0x139988[0x1],_0x1476d5),this[_0x1563ca(0x29e)][_0x1563ca(0x253)]()):this[_0x1563ca(0x29e)][_0x1563ca(0x2c8)](_0x139988[0x0],_0x1476d5);}}Ee=_0x4bf333;function _0x8725c2(_0x2e0a09,_0x3a18e4,_0x1aa24b){const _0x5512bc=_0x244076;typeof _0x1aa24b==_0x5512bc(0x29b)&&_0x1aa24b(_0x3a18e4);for(let _0x526036=0x0;_0x526036<_0x2e0a09[_0x5512bc(0x258)]['length'];_0x526036++){const _0x4701fa=_0x2e0a09['_queue'][_0x526036],_0x3234f4=_0x4701fa[_0x4701fa['length']-0x1];typeof _0x3234f4==_0x5512bc(0x29b)&&_0x3234f4(_0x3a18e4);}}function _0x42a283(_0x295363,_0x20cab7,_0x53691f){const _0x344c42=_0x244076;_0x8725c2(_0x295363,_0x20cab7,_0x53691f),_0x295363[_0x344c42(0x179)](_0x20cab7);}return Ee;}var xe,tt;function Kt(){const _0xdb6fe=_0x30831e;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x422fd3,kListener:_0x5cb3d2}=V(),_0x1cde2d=Symbol(_0xdb6fe(0x15c)),_0x1d5dde=Symbol('kData'),_0x589134=Symbol('kError'),_0xa04d6f=Symbol(_0xdb6fe(0x296)),_0x35448f=Symbol(_0xdb6fe(0x1da)),_0xd95bb3=Symbol(_0xdb6fe(0x1be)),_0x3ee2e0=Symbol('kType'),_0x4dcbf7=Symbol('kWasClean');class _0x3afa9b{constructor(_0x1084d7){this[_0xd95bb3]=null,this[_0x3ee2e0]=_0x1084d7;}get['target'](){return this[_0xd95bb3];}get[_0xdb6fe(0x286)](){return this[_0x3ee2e0];}}Object[_0xdb6fe(0x207)](_0x3afa9b['prototype'],_0xdb6fe(0x185),{'enumerable':!0x0}),Object['defineProperty'](_0x3afa9b['prototype'],_0xdb6fe(0x286),{'enumerable':!0x0});class _0x55de03 extends _0x3afa9b{constructor(_0x46e156,_0x16626f={}){const _0x44e4b8=_0xdb6fe;super(_0x46e156),this[_0x1cde2d]=_0x16626f[_0x44e4b8(0x159)]===void 0x0?0x0:_0x16626f[_0x44e4b8(0x159)],this[_0x35448f]=_0x16626f[_0x44e4b8(0x1f7)]===void 0x0?'':_0x16626f[_0x44e4b8(0x1f7)],this[_0x4dcbf7]=_0x16626f[_0x44e4b8(0x239)]===void 0x0?!0x1:_0x16626f[_0x44e4b8(0x239)];}get[_0xdb6fe(0x159)](){return this[_0x1cde2d];}get[_0xdb6fe(0x1f7)](){return this[_0x35448f];}get[_0xdb6fe(0x239)](){return this[_0x4dcbf7];}}Object[_0xdb6fe(0x207)](_0x55de03[_0xdb6fe(0x1a1)],_0xdb6fe(0x159),{'enumerable':!0x0}),Object[_0xdb6fe(0x207)](_0x55de03[_0xdb6fe(0x1a1)],_0xdb6fe(0x1f7),{'enumerable':!0x0}),Object[_0xdb6fe(0x207)](_0x55de03['prototype'],_0xdb6fe(0x239),{'enumerable':!0x0});class _0x36dc4f extends _0x3afa9b{constructor(_0x5ed75f,_0x2d427e={}){const _0x3733ce=_0xdb6fe;super(_0x5ed75f),this[_0x589134]=_0x2d427e[_0x3733ce(0x271)]===void 0x0?null:_0x2d427e[_0x3733ce(0x271)],this[_0xa04d6f]=_0x2d427e[_0x3733ce(0x2ee)]===void 0x0?'':_0x2d427e[_0x3733ce(0x2ee)];}get[_0xdb6fe(0x271)](){return this[_0x589134];}get[_0xdb6fe(0x2ee)](){return this[_0xa04d6f];}}Object[_0xdb6fe(0x207)](_0x36dc4f['prototype'],_0xdb6fe(0x271),{'enumerable':!0x0}),Object['defineProperty'](_0x36dc4f[_0xdb6fe(0x1a1)],_0xdb6fe(0x2ee),{'enumerable':!0x0});class _0x1d11f7 extends _0x3afa9b{constructor(_0x31dc63,_0x3458f7={}){const _0x17069e=_0xdb6fe;super(_0x31dc63),this[_0x1d5dde]=_0x3458f7[_0x17069e(0x203)]===void 0x0?null:_0x3458f7[_0x17069e(0x203)];}get[_0xdb6fe(0x203)](){return this[_0x1d5dde];}}Object[_0xdb6fe(0x207)](_0x1d11f7[_0xdb6fe(0x1a1)],'data',{'enumerable':!0x0}),xe={'CloseEvent':_0x55de03,'ErrorEvent':_0x36dc4f,'Event':_0x3afa9b,'EventTarget':{'addEventListener'(_0x470c7c,_0x53dcba,_0x188a38={}){const _0x5aa3e0=_0xdb6fe;for(const _0x4832de of this['listeners'](_0x470c7c))if(!_0x188a38[_0x422fd3]&&_0x4832de[_0x5cb3d2]===_0x53dcba&&!_0x4832de[_0x422fd3])return;let _0x230dc0;if(_0x470c7c===_0x5aa3e0(0x2ee))_0x230dc0=function(_0x104ba8,_0x643c1e){const _0x4a415e=_0x5aa3e0,_0x40c1fc=new _0x1d11f7(_0x4a415e(0x2ee),{'data':_0x643c1e?_0x104ba8:_0x104ba8['toString']()});_0x40c1fc[_0xd95bb3]=this,_0x5e6c59(_0x53dcba,this,_0x40c1fc);};else{if(_0x470c7c===_0x5aa3e0(0x228))_0x230dc0=function(_0x16b37a,_0x276c01){const _0x35a383=_0x5aa3e0,_0x3e4203=new _0x55de03(_0x35a383(0x228),{'code':_0x16b37a,'reason':_0x276c01['toString'](),'wasClean':this[_0x35a383(0x252)]&&this[_0x35a383(0x19a)]});_0x3e4203[_0xd95bb3]=this,_0x5e6c59(_0x53dcba,this,_0x3e4203);};else{if(_0x470c7c===_0x5aa3e0(0x271))_0x230dc0=function(_0x24ac7f){const _0x5d5ca4=_0x5aa3e0,_0x45aef0=new _0x36dc4f('error',{'error':_0x24ac7f,'message':_0x24ac7f[_0x5d5ca4(0x2ee)]});_0x45aef0[_0xd95bb3]=this,_0x5e6c59(_0x53dcba,this,_0x45aef0);};else{if(_0x470c7c===_0x5aa3e0(0x180))_0x230dc0=function(){const _0xdb6f07=_0x5aa3e0,_0x3c7f57=new _0x3afa9b(_0xdb6f07(0x180));_0x3c7f57[_0xd95bb3]=this,_0x5e6c59(_0x53dcba,this,_0x3c7f57);};else return;}}}_0x230dc0[_0x422fd3]=!!_0x188a38[_0x422fd3],_0x230dc0[_0x5cb3d2]=_0x53dcba,_0x188a38[_0x5aa3e0(0x283)]?this[_0x5aa3e0(0x283)](_0x470c7c,_0x230dc0):this['on'](_0x470c7c,_0x230dc0);},'removeEventListener'(_0x502c07,_0x43b3ca){const _0x22bef7=_0xdb6fe;for(const _0x6292b1 of this['listeners'](_0x502c07))if(_0x6292b1[_0x5cb3d2]===_0x43b3ca&&!_0x6292b1[_0x422fd3]){this[_0x22bef7(0x2c2)](_0x502c07,_0x6292b1);break;}}},'MessageEvent':_0x1d11f7};function _0x5e6c59(_0x1e0a27,_0x4f44d1,_0x397380){const _0x20c5a3=_0xdb6fe;typeof _0x1e0a27==_0x20c5a3(0x215)&&_0x1e0a27['handleEvent']?_0x1e0a27[_0x20c5a3(0x246)][_0x20c5a3(0x1ae)](_0x1e0a27,_0x397380):_0x1e0a27[_0x20c5a3(0x1ae)](_0x4f44d1,_0x397380);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x461ff8}=ne();function _0x56d0f9(_0x2809ab,_0x3bf36b,_0x5a32e5){const _0x314846=_0x597f;_0x2809ab[_0x3bf36b]===void 0x0?_0x2809ab[_0x3bf36b]=[_0x5a32e5]:_0x2809ab[_0x3bf36b][_0x314846(0x205)](_0x5a32e5);}function _0x38326f(_0x31f6f9){const _0x41a25a=_0x597f,_0x156fc2=Object[_0x41a25a(0x17c)](null);let _0x220e17=Object[_0x41a25a(0x17c)](null),_0x393bd4=!0x1,_0x22e571=!0x1,_0x2e78bb=!0x1,_0x4b755e,_0x6eb082,_0x17de7a=-0x1,_0x4fac0b=-0x1,_0x2b1228=-0x1,_0x686106=0x0;for(;_0x686106<_0x31f6f9[_0x41a25a(0x2ba)];_0x686106++)if(_0x4fac0b=_0x31f6f9[_0x41a25a(0x28a)](_0x686106),_0x4b755e===void 0x0){if(_0x2b1228===-0x1&&_0x461ff8[_0x4fac0b]===0x1)_0x17de7a===-0x1&&(_0x17de7a=_0x686106);else{if(_0x686106!==0x0&&(_0x4fac0b===0x20||_0x4fac0b===0x9))_0x2b1228===-0x1&&_0x17de7a!==-0x1&&(_0x2b1228=_0x686106);else{if(_0x4fac0b===0x3b||_0x4fac0b===0x2c){if(_0x17de7a===-0x1)throw new SyntaxError(_0x41a25a(0x22e)+_0x686106);_0x2b1228===-0x1&&(_0x2b1228=_0x686106);const _0x5f2b03=_0x31f6f9[_0x41a25a(0x1b1)](_0x17de7a,_0x2b1228);_0x4fac0b===0x2c?(_0x56d0f9(_0x156fc2,_0x5f2b03,_0x220e17),_0x220e17=Object[_0x41a25a(0x17c)](null)):_0x4b755e=_0x5f2b03,_0x17de7a=_0x2b1228=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x686106);}}}else{if(_0x6eb082===void 0x0){if(_0x2b1228===-0x1&&_0x461ff8[_0x4fac0b]===0x1)_0x17de7a===-0x1&&(_0x17de7a=_0x686106);else{if(_0x4fac0b===0x20||_0x4fac0b===0x9)_0x2b1228===-0x1&&_0x17de7a!==-0x1&&(_0x2b1228=_0x686106);else{if(_0x4fac0b===0x3b||_0x4fac0b===0x2c){if(_0x17de7a===-0x1)throw new SyntaxError(_0x41a25a(0x22e)+_0x686106);_0x2b1228===-0x1&&(_0x2b1228=_0x686106),_0x56d0f9(_0x220e17,_0x31f6f9[_0x41a25a(0x1b1)](_0x17de7a,_0x2b1228),!0x0),_0x4fac0b===0x2c&&(_0x56d0f9(_0x156fc2,_0x4b755e,_0x220e17),_0x220e17=Object[_0x41a25a(0x17c)](null),_0x4b755e=void 0x0),_0x17de7a=_0x2b1228=-0x1;}else{if(_0x4fac0b===0x3d&&_0x17de7a!==-0x1&&_0x2b1228===-0x1)_0x6eb082=_0x31f6f9['slice'](_0x17de7a,_0x686106),_0x17de7a=_0x2b1228=-0x1;else throw new SyntaxError(_0x41a25a(0x22e)+_0x686106);}}}}else{if(_0x22e571){if(_0x461ff8[_0x4fac0b]!==0x1)throw new SyntaxError(_0x41a25a(0x22e)+_0x686106);_0x17de7a===-0x1?_0x17de7a=_0x686106:_0x393bd4||(_0x393bd4=!0x0),_0x22e571=!0x1;}else{if(_0x2e78bb){if(_0x461ff8[_0x4fac0b]===0x1)_0x17de7a===-0x1&&(_0x17de7a=_0x686106);else{if(_0x4fac0b===0x22&&_0x17de7a!==-0x1)_0x2e78bb=!0x1,_0x2b1228=_0x686106;else{if(_0x4fac0b===0x5c)_0x22e571=!0x0;else throw new SyntaxError(_0x41a25a(0x22e)+_0x686106);}}}else{if(_0x4fac0b===0x22&&_0x31f6f9['charCodeAt'](_0x686106-0x1)===0x3d)_0x2e78bb=!0x0;else{if(_0x2b1228===-0x1&&_0x461ff8[_0x4fac0b]===0x1)_0x17de7a===-0x1&&(_0x17de7a=_0x686106);else{if(_0x17de7a!==-0x1&&(_0x4fac0b===0x20||_0x4fac0b===0x9))_0x2b1228===-0x1&&(_0x2b1228=_0x686106);else{if(_0x4fac0b===0x3b||_0x4fac0b===0x2c){if(_0x17de7a===-0x1)throw new SyntaxError(_0x41a25a(0x22e)+_0x686106);_0x2b1228===-0x1&&(_0x2b1228=_0x686106);let _0x1664dd=_0x31f6f9[_0x41a25a(0x1b1)](_0x17de7a,_0x2b1228);_0x393bd4&&(_0x1664dd=_0x1664dd[_0x41a25a(0x1bf)](/\\/g,''),_0x393bd4=!0x1),_0x56d0f9(_0x220e17,_0x6eb082,_0x1664dd),_0x4fac0b===0x2c&&(_0x56d0f9(_0x156fc2,_0x4b755e,_0x220e17),_0x220e17=Object[_0x41a25a(0x17c)](null),_0x4b755e=void 0x0),_0x6eb082=void 0x0,_0x17de7a=_0x2b1228=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x686106);}}}}}}}if(_0x17de7a===-0x1||_0x2e78bb||_0x4fac0b===0x20||_0x4fac0b===0x9)throw new SyntaxError('Unexpected\x20end\x20of\x20input');_0x2b1228===-0x1&&(_0x2b1228=_0x686106);const _0x5ddc08=_0x31f6f9[_0x41a25a(0x1b1)](_0x17de7a,_0x2b1228);return _0x4b755e===void 0x0?_0x56d0f9(_0x156fc2,_0x5ddc08,_0x220e17):(_0x6eb082===void 0x0?_0x56d0f9(_0x220e17,_0x5ddc08,!0x0):_0x393bd4?_0x56d0f9(_0x220e17,_0x6eb082,_0x5ddc08['replace'](/\\/g,'')):_0x56d0f9(_0x220e17,_0x6eb082,_0x5ddc08),_0x56d0f9(_0x156fc2,_0x4b755e,_0x220e17)),_0x156fc2;}function _0x591bf2(_0x1bb6bd){const _0x1344e8=_0x597f;return Object[_0x1344e8(0x2da)](_0x1bb6bd)[_0x1344e8(0x170)](_0x4a633a=>{const _0x3b0abb=_0x1344e8;let _0x9b4c0=_0x1bb6bd[_0x4a633a];return Array[_0x3b0abb(0x28e)](_0x9b4c0)||(_0x9b4c0=[_0x9b4c0]),_0x9b4c0[_0x3b0abb(0x170)](_0x2ec3ca=>[_0x4a633a][_0x3b0abb(0x223)](Object['keys'](_0x2ec3ca)['map'](_0x109c2f=>{const _0x358f6e=_0x3b0abb;let _0x504774=_0x2ec3ca[_0x109c2f];return Array[_0x358f6e(0x28e)](_0x504774)||(_0x504774=[_0x504774]),_0x504774[_0x358f6e(0x170)](_0x480000=>_0x480000===!0x0?_0x109c2f:_0x109c2f+'='+_0x480000)['join'](';\x20');}))[_0x3b0abb(0x15f)](';\x20'))[_0x3b0abb(0x15f)](',\x20');})[_0x1344e8(0x15f)](',\x20');}return be={'format':_0x591bf2,'parse':_0x38326f},be;}var we,st;function Ie(){const _0x3f1b52=_0x30831e;if(st)return we;st=0x1;const _0x485f71=_0x467b17,_0xb17e39=_0x32b364,_0x36b3c1=_0xcd8441,_0x4e5eb8=_0x4f39c8,_0x126531=_0x519b2c,{randomBytes:_0x1b9db1,createHash:_0x2f3971}=_0x49a803,{Duplex:_0x43b53f,Readable:_0x58d1a0}=_0x31bf2d,{URL:_0x403609}=_0x198818,_0x34a3bf=he(),_0x7f01d=dt(),_0x572960=_t(),{isBlob:_0x1ac6e6}=ne(),{BINARY_TYPES:_0x1c4fa0,EMPTY_BUFFER:_0x24583a,GUID:_0x4d4f66,kForOnEventAttribute:_0x4a5791,kListener:_0x18f2ee,kStatusCode:_0x1046b0,kWebSocket:_0x4d88cc,NOOP:_0x1056b9}=V(),{EventTarget:{addEventListener:_0x4bcc69,removeEventListener:_0x4149af}}=Kt(),{format:_0x36d39e,parse:_0x2e93a8}=pt(),{toBuffer:_0x115abf}=ce(),_0x214ffe=0x1e*0x3e8,_0x173d44=Symbol('kAborted'),_0x483587=[0x8,0xd],_0x353a77=[_0x3f1b52(0x1ad),_0x3f1b52(0x1d3),_0x3f1b52(0x260),_0x3f1b52(0x2bc)],_0x419fc2=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x478f45 extends _0x485f71{constructor(_0x3cec4c,_0x4e6e7a,_0x4fc31d){const _0x1f0cf2=_0x3f1b52;super(),this['_binaryType']=_0x1c4fa0[0x0],this[_0x1f0cf2(0x2db)]=0x3ee,this[_0x1f0cf2(0x252)]=!0x1,this['_closeFrameSent']=!0x1,this[_0x1f0cf2(0x162)]=_0x24583a,this[_0x1f0cf2(0x1c1)]=null,this[_0x1f0cf2(0x2c4)]=!0x1,this['_extensions']={},this[_0x1f0cf2(0x2f2)]=!0x1,this[_0x1f0cf2(0x2a3)]='',this[_0x1f0cf2(0x200)]=_0x478f45[_0x1f0cf2(0x1ad)],this['_receiver']=null,this[_0x1f0cf2(0x1c4)]=null,this['_socket']=null,_0x3cec4c!==null?(this[_0x1f0cf2(0x187)]=0x0,this['_isServer']=!0x1,this['_redirects']=0x0,_0x4e6e7a===void 0x0?_0x4e6e7a=[]:Array[_0x1f0cf2(0x28e)](_0x4e6e7a)||(typeof _0x4e6e7a==_0x1f0cf2(0x215)&&_0x4e6e7a!==null?(_0x4fc31d=_0x4e6e7a,_0x4e6e7a=[]):_0x4e6e7a=[_0x4e6e7a]),_0x5a38ab(this,_0x3cec4c,_0x4e6e7a,_0x4fc31d)):(this[_0x1f0cf2(0x1a5)]=_0x4fc31d['autoPong'],this[_0x1f0cf2(0x201)]=!0x0);}get[_0x3f1b52(0x23d)](){const _0x1b7c05=_0x3f1b52;return this[_0x1b7c05(0x2af)];}set['binaryType'](_0x4ab1df){const _0x26b48c=_0x3f1b52;_0x1c4fa0[_0x26b48c(0x2c6)](_0x4ab1df)&&(this[_0x26b48c(0x2af)]=_0x4ab1df,this['_receiver']&&(this[_0x26b48c(0x148)]['_binaryType']=_0x4ab1df));}get[_0x3f1b52(0x1fb)](){const _0x257070=_0x3f1b52;return this[_0x257070(0x29e)]?this[_0x257070(0x29e)][_0x257070(0x256)]['length']+this[_0x257070(0x1c4)][_0x257070(0x1ec)]:this[_0x257070(0x187)];}get['extensions'](){const _0x15d511=_0x3f1b52;return Object[_0x15d511(0x2da)](this['_extensions'])['join']();}get[_0x3f1b52(0x14a)](){const _0x2e4ea5=_0x3f1b52;return this[_0x2e4ea5(0x2f2)];}get[_0x3f1b52(0x1cd)](){return null;}get['onerror'](){return null;}get[_0x3f1b52(0x22a)](){return null;}get['onmessage'](){return null;}get[_0x3f1b52(0x1bb)](){const _0x40ecd2=_0x3f1b52;return this[_0x40ecd2(0x2a3)];}get[_0x3f1b52(0x157)](){const _0x2fc7a5=_0x3f1b52;return this[_0x2fc7a5(0x200)];}get[_0x3f1b52(0x16a)](){const _0x2aa07a=_0x3f1b52;return this[_0x2aa07a(0x2bf)];}[_0x3f1b52(0x211)](_0x599d10,_0x1c475b,_0x23d836){const _0x224e52=_0x3f1b52,_0x514d1c=new _0x7f01d({'allowSynchronousEvents':_0x23d836['allowSynchronousEvents'],'binaryType':this[_0x224e52(0x23d)],'extensions':this[_0x224e52(0x2a7)],'isServer':this[_0x224e52(0x201)],'maxPayload':_0x23d836['maxPayload'],'skipUTF8Validation':_0x23d836[_0x224e52(0x248)]}),_0x2319d4=new _0x572960(_0x599d10,this[_0x224e52(0x2a7)],_0x23d836['generateMask']);this['_receiver']=_0x514d1c,this[_0x224e52(0x1c4)]=_0x2319d4,this[_0x224e52(0x29e)]=_0x599d10,_0x514d1c[_0x4d88cc]=this,_0x2319d4[_0x4d88cc]=this,_0x599d10[_0x4d88cc]=this,_0x514d1c['on'](_0x224e52(0x2f6),_0x37ab1c),_0x514d1c['on']('drain',_0x56808e),_0x514d1c['on'](_0x224e52(0x271),_0x296195),_0x514d1c['on'](_0x224e52(0x2ee),_0x47a6d2),_0x514d1c['on'](_0x224e52(0x1db),_0x1b26a2),_0x514d1c['on'](_0x224e52(0x2c0),_0x54cdf9),_0x2319d4[_0x224e52(0x179)]=_0x2d972f,_0x599d10[_0x224e52(0x20c)]&&_0x599d10[_0x224e52(0x20c)](0x0),_0x599d10['setNoDelay']&&_0x599d10[_0x224e52(0x287)](),_0x1c475b[_0x224e52(0x2ba)]>0x0&&_0x599d10[_0x224e52(0x1b9)](_0x1c475b),_0x599d10['on'](_0x224e52(0x228),_0x3c55cd),_0x599d10['on'](_0x224e52(0x203),_0x27ce59),_0x599d10['on'](_0x224e52(0x208),_0x58dc86),_0x599d10['on'](_0x224e52(0x271),_0x56773c),this['_readyState']=_0x478f45[_0x224e52(0x1d3)],this['emit'](_0x224e52(0x180));}[_0x3f1b52(0x18c)](){const _0x155c6c=_0x3f1b52;if(!this[_0x155c6c(0x29e)]){this['_readyState']=_0x478f45['CLOSED'],this[_0x155c6c(0x1e4)](_0x155c6c(0x228),this[_0x155c6c(0x2db)],this['_closeMessage']);return;}this[_0x155c6c(0x2a7)][_0x34a3bf[_0x155c6c(0x19e)]]&&this[_0x155c6c(0x2a7)][_0x34a3bf[_0x155c6c(0x19e)]][_0x155c6c(0x284)](),this[_0x155c6c(0x148)][_0x155c6c(0x2f8)](),this['_readyState']=_0x478f45[_0x155c6c(0x2bc)],this[_0x155c6c(0x1e4)]('close',this['_closeCode'],this[_0x155c6c(0x162)]);}[_0x3f1b52(0x228)](_0x492336,_0x23f185){const _0x461c54=_0x3f1b52;if(this[_0x461c54(0x157)]!==_0x478f45[_0x461c54(0x2bc)]){if(this[_0x461c54(0x157)]===_0x478f45[_0x461c54(0x1ad)]){_0xe88aa0(this,this['_req'],_0x461c54(0x221));return;}if(this[_0x461c54(0x157)]===_0x478f45[_0x461c54(0x260)]){this['_closeFrameSent']&&(this[_0x461c54(0x252)]||this[_0x461c54(0x148)][_0x461c54(0x256)]['errorEmitted'])&&this[_0x461c54(0x29e)][_0x461c54(0x208)]();return;}this[_0x461c54(0x200)]=_0x478f45[_0x461c54(0x260)],this[_0x461c54(0x1c4)]['close'](_0x492336,_0x23f185,!this[_0x461c54(0x201)],_0x127c68=>{const _0x2b8bda=_0x461c54;_0x127c68||(this[_0x2b8bda(0x19a)]=!0x0,(this[_0x2b8bda(0x252)]||this[_0x2b8bda(0x148)]['_writableState'][_0x2b8bda(0x2a2)])&&this['_socket'][_0x2b8bda(0x208)]());}),_0x592ba2(this);}}[_0x3f1b52(0x20e)](){const _0x2307d0=_0x3f1b52;this[_0x2307d0(0x157)]===_0x478f45[_0x2307d0(0x1ad)]||this[_0x2307d0(0x157)]===_0x478f45[_0x2307d0(0x2bc)]||(this[_0x2307d0(0x2f2)]=!0x0,this[_0x2307d0(0x29e)][_0x2307d0(0x20e)]());}[_0x3f1b52(0x1db)](_0x163133,_0x10f5d7,_0x54c869){const _0x5a7e37=_0x3f1b52;if(this[_0x5a7e37(0x157)]===_0x478f45[_0x5a7e37(0x1ad)])throw new Error(_0x5a7e37(0x2b0));if(typeof _0x163133==_0x5a7e37(0x29b)?(_0x54c869=_0x163133,_0x163133=_0x10f5d7=void 0x0):typeof _0x10f5d7==_0x5a7e37(0x29b)&&(_0x54c869=_0x10f5d7,_0x10f5d7=void 0x0),typeof _0x163133==_0x5a7e37(0x186)&&(_0x163133=_0x163133[_0x5a7e37(0x22c)]()),this['readyState']!==_0x478f45['OPEN']){_0x45403c(this,_0x163133,_0x54c869);return;}_0x10f5d7===void 0x0&&(_0x10f5d7=!this['_isServer']),this['_sender'][_0x5a7e37(0x1db)](_0x163133||_0x24583a,_0x10f5d7,_0x54c869);}[_0x3f1b52(0x2c0)](_0x2dd1b4,_0x1fadf5,_0x2f0239){const _0x3f0334=_0x3f1b52;if(this[_0x3f0334(0x157)]===_0x478f45[_0x3f0334(0x1ad)])throw new Error(_0x3f0334(0x2b0));if(typeof _0x2dd1b4=='function'?(_0x2f0239=_0x2dd1b4,_0x2dd1b4=_0x1fadf5=void 0x0):typeof _0x1fadf5=='function'&&(_0x2f0239=_0x1fadf5,_0x1fadf5=void 0x0),typeof _0x2dd1b4==_0x3f0334(0x186)&&(_0x2dd1b4=_0x2dd1b4[_0x3f0334(0x22c)]()),this[_0x3f0334(0x157)]!==_0x478f45['OPEN']){_0x45403c(this,_0x2dd1b4,_0x2f0239);return;}_0x1fadf5===void 0x0&&(_0x1fadf5=!this['_isServer']),this['_sender']['pong'](_0x2dd1b4||_0x24583a,_0x1fadf5,_0x2f0239);}[_0x3f1b52(0x1c5)](){const _0x408813=_0x3f1b52;this[_0x408813(0x157)]===_0x478f45['CONNECTING']||this['readyState']===_0x478f45['CLOSED']||(this[_0x408813(0x2f2)]=!0x1,this[_0x408813(0x148)][_0x408813(0x256)][_0x408813(0x2fa)]||this[_0x408813(0x29e)][_0x408813(0x1c5)]());}[_0x3f1b52(0x1c9)](_0xcac41f,_0x9f5bd9,_0x473836){const _0x2267ee=_0x3f1b52;if(this[_0x2267ee(0x157)]===_0x478f45[_0x2267ee(0x1ad)])throw new Error(_0x2267ee(0x2b0));if(typeof _0x9f5bd9==_0x2267ee(0x29b)&&(_0x473836=_0x9f5bd9,_0x9f5bd9={}),typeof _0xcac41f==_0x2267ee(0x186)&&(_0xcac41f=_0xcac41f[_0x2267ee(0x22c)]()),this['readyState']!==_0x478f45[_0x2267ee(0x1d3)]){_0x45403c(this,_0xcac41f,_0x473836);return;}const _0x2bacb4={'binary':typeof _0xcac41f!='string','mask':!this['_isServer'],'compress':!0x0,'fin':!0x0,..._0x9f5bd9};this[_0x2267ee(0x2a7)][_0x34a3bf[_0x2267ee(0x19e)]]||(_0x2bacb4['compress']=!0x1),this[_0x2267ee(0x1c4)]['send'](_0xcac41f||_0x24583a,_0x2bacb4,_0x473836);}['terminate'](){const _0x3a948f=_0x3f1b52;if(this[_0x3a948f(0x157)]!==_0x478f45[_0x3a948f(0x2bc)]){if(this['readyState']===_0x478f45[_0x3a948f(0x1ad)]){_0xe88aa0(this,this[_0x3a948f(0x1c8)],_0x3a948f(0x221));return;}this[_0x3a948f(0x29e)]&&(this[_0x3a948f(0x200)]=_0x478f45[_0x3a948f(0x260)],this[_0x3a948f(0x29e)][_0x3a948f(0x1bd)]());}}}Object[_0x3f1b52(0x207)](_0x478f45,_0x3f1b52(0x1ad),{'enumerable':!0x0,'value':_0x353a77['indexOf'](_0x3f1b52(0x1ad))}),Object[_0x3f1b52(0x207)](_0x478f45[_0x3f1b52(0x1a1)],'CONNECTING',{'enumerable':!0x0,'value':_0x353a77[_0x3f1b52(0x2c7)](_0x3f1b52(0x1ad))}),Object['defineProperty'](_0x478f45,'OPEN',{'enumerable':!0x0,'value':_0x353a77[_0x3f1b52(0x2c7)]('OPEN')}),Object[_0x3f1b52(0x207)](_0x478f45['prototype'],_0x3f1b52(0x1d3),{'enumerable':!0x0,'value':_0x353a77[_0x3f1b52(0x2c7)]('OPEN')}),Object[_0x3f1b52(0x207)](_0x478f45,_0x3f1b52(0x260),{'enumerable':!0x0,'value':_0x353a77[_0x3f1b52(0x2c7)](_0x3f1b52(0x260))}),Object[_0x3f1b52(0x207)](_0x478f45[_0x3f1b52(0x1a1)],_0x3f1b52(0x260),{'enumerable':!0x0,'value':_0x353a77[_0x3f1b52(0x2c7)](_0x3f1b52(0x260))}),Object['defineProperty'](_0x478f45,_0x3f1b52(0x2bc),{'enumerable':!0x0,'value':_0x353a77[_0x3f1b52(0x2c7)](_0x3f1b52(0x2bc))}),Object[_0x3f1b52(0x207)](_0x478f45[_0x3f1b52(0x1a1)],_0x3f1b52(0x2bc),{'enumerable':!0x0,'value':_0x353a77[_0x3f1b52(0x2c7)](_0x3f1b52(0x2bc))}),[_0x3f1b52(0x23d),_0x3f1b52(0x1fb),_0x3f1b52(0x154),'isPaused','protocol',_0x3f1b52(0x157),'url']['forEach'](_0x21b27f=>{Object['defineProperty'](_0x478f45['prototype'],_0x21b27f,{'enumerable':!0x0});}),['open',_0x3f1b52(0x271),_0x3f1b52(0x228),_0x3f1b52(0x2ee)]['forEach'](_0x2fb1ee=>{const _0x128095=_0x3f1b52;Object[_0x128095(0x207)](_0x478f45[_0x128095(0x1a1)],'on'+_0x2fb1ee,{'enumerable':!0x0,'get'(){const _0x54f8a8=_0x128095;for(const _0x365ba5 of this[_0x54f8a8(0x24a)](_0x2fb1ee))if(_0x365ba5[_0x4a5791])return _0x365ba5[_0x18f2ee];return null;},'set'(_0xcb8af8){const _0x13b73d=_0x128095;for(const _0x3af2a8 of this[_0x13b73d(0x24a)](_0x2fb1ee))if(_0x3af2a8[_0x4a5791]){this[_0x13b73d(0x2c2)](_0x2fb1ee,_0x3af2a8);break;}typeof _0xcb8af8==_0x13b73d(0x29b)&&this[_0x13b73d(0x16b)](_0x2fb1ee,_0xcb8af8,{[_0x4a5791]:!0x0});}});}),_0x478f45['prototype'][_0x3f1b52(0x16b)]=_0x4bcc69,_0x478f45[_0x3f1b52(0x1a1)][_0x3f1b52(0x16d)]=_0x4149af,we=_0x478f45;function _0x5a38ab(_0x568966,_0xbd2bfc,_0x2adfa2,_0x4a2717){const _0x5b3a49=_0x3f1b52,_0x135670={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x483587[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x4a2717,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x5b3a49(0x1e0),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x568966[_0x5b3a49(0x1a5)]=_0x135670['autoPong'],!_0x483587[_0x5b3a49(0x2c6)](_0x135670['protocolVersion']))throw new RangeError(_0x5b3a49(0x17e)+_0x135670[_0x5b3a49(0x263)]+_0x5b3a49(0x1c2)+_0x483587['join'](',\x20')+')');let _0x1a8ce1;if(_0xbd2bfc instanceof _0x403609)_0x1a8ce1=_0xbd2bfc;else try{_0x1a8ce1=new _0x403609(_0xbd2bfc);}catch{throw new SyntaxError('Invalid\x20URL:\x20'+_0xbd2bfc);}_0x1a8ce1[_0x5b3a49(0x1bb)]===_0x5b3a49(0x14d)?_0x1a8ce1[_0x5b3a49(0x1bb)]=_0x5b3a49(0x1fa):_0x1a8ce1[_0x5b3a49(0x1bb)]===_0x5b3a49(0x24b)&&(_0x1a8ce1[_0x5b3a49(0x1bb)]='wss:'),_0x568966['_url']=_0x1a8ce1[_0x5b3a49(0x2ac)];const _0x2e3dbf=_0x1a8ce1['protocol']===_0x5b3a49(0x163),_0x23aef9=_0x1a8ce1[_0x5b3a49(0x1bb)]==='ws+unix:';let _0x16d822;if(_0x1a8ce1[_0x5b3a49(0x1bb)]!=='ws:'&&!_0x2e3dbf&&!_0x23aef9?_0x16d822='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':_0x23aef9&&!_0x1a8ce1[_0x5b3a49(0x22f)]?_0x16d822='The\x20URL\x27s\x20pathname\x20is\x20empty':_0x1a8ce1[_0x5b3a49(0x183)]&&(_0x16d822='The\x20URL\x20contains\x20a\x20fragment\x20identifier'),_0x16d822){const _0x4c5432=new SyntaxError(_0x16d822);if(_0x568966[_0x5b3a49(0x213)]===0x0)throw _0x4c5432;_0x1d18a2(_0x568966,_0x4c5432);return;}const _0x4ed79a=_0x2e3dbf?0x1bb:0x50,_0x32066c=_0x1b9db1(0x10)[_0x5b3a49(0x22c)](_0x5b3a49(0x1eb)),_0x260de2=_0x2e3dbf?_0xb17e39[_0x5b3a49(0x147)]:_0x36b3c1['request'],_0x40584f=new Set();let _0x4ac9f5;if(_0x135670[_0x5b3a49(0x27c)]=_0x135670[_0x5b3a49(0x27c)]||(_0x2e3dbf?_0x2fe9b5:_0x1f2268),_0x135670['defaultPort']=_0x135670[_0x5b3a49(0x2dc)]||_0x4ed79a,_0x135670[_0x5b3a49(0x1a7)]=_0x1a8ce1[_0x5b3a49(0x1a7)]||_0x4ed79a,_0x135670['host']=_0x1a8ce1[_0x5b3a49(0x14b)][_0x5b3a49(0x268)]('[')?_0x1a8ce1[_0x5b3a49(0x14b)]['slice'](0x1,-0x1):_0x1a8ce1[_0x5b3a49(0x14b)],_0x135670[_0x5b3a49(0x25b)]={..._0x135670[_0x5b3a49(0x25b)],'Sec-WebSocket-Version':_0x135670['protocolVersion'],'Sec-WebSocket-Key':_0x32066c,'Connection':_0x5b3a49(0x21c),'Upgrade':_0x5b3a49(0x158)},_0x135670['path']=_0x1a8ce1[_0x5b3a49(0x22f)]+_0x1a8ce1['search'],_0x135670[_0x5b3a49(0x2fb)]=_0x135670[_0x5b3a49(0x151)],_0x135670[_0x5b3a49(0x166)]&&(_0x4ac9f5=new _0x34a3bf(_0x135670[_0x5b3a49(0x166)]!==!0x0?_0x135670[_0x5b3a49(0x166)]:{},!0x1,_0x135670[_0x5b3a49(0x240)]),_0x135670['headers'][_0x5b3a49(0x1dc)]=_0x36d39e({[_0x34a3bf[_0x5b3a49(0x19e)]]:_0x4ac9f5[_0x5b3a49(0x278)]()})),_0x2adfa2[_0x5b3a49(0x2ba)]){for(const _0x1277c6 of _0x2adfa2){if(typeof _0x1277c6!='string'||!_0x419fc2[_0x5b3a49(0x1a8)](_0x1277c6)||_0x40584f[_0x5b3a49(0x1f9)](_0x1277c6))throw new SyntaxError(_0x5b3a49(0x2d6));_0x40584f[_0x5b3a49(0x153)](_0x1277c6);}_0x135670[_0x5b3a49(0x25b)]['Sec-WebSocket-Protocol']=_0x2adfa2[_0x5b3a49(0x15f)](',');}if(_0x135670[_0x5b3a49(0x25e)]&&(_0x135670[_0x5b3a49(0x263)]<0xd?_0x135670[_0x5b3a49(0x25b)][_0x5b3a49(0x29f)]=_0x135670['origin']:_0x135670[_0x5b3a49(0x25b)][_0x5b3a49(0x219)]=_0x135670['origin']),(_0x1a8ce1[_0x5b3a49(0x21d)]||_0x1a8ce1[_0x5b3a49(0x191)])&&(_0x135670['auth']=_0x1a8ce1[_0x5b3a49(0x21d)]+':'+_0x1a8ce1['password']),_0x23aef9){const _0x57813a=_0x135670['path'][_0x5b3a49(0x1dd)](':');_0x135670[_0x5b3a49(0x206)]=_0x57813a[0x0],_0x135670[_0x5b3a49(0x175)]=_0x57813a[0x1];}let _0x47f124;if(_0x135670[_0x5b3a49(0x2f3)]){if(_0x568966[_0x5b3a49(0x213)]===0x0){_0x568966[_0x5b3a49(0x21a)]=_0x23aef9,_0x568966[_0x5b3a49(0x279)]=_0x2e3dbf,_0x568966[_0x5b3a49(0x156)]=_0x23aef9?_0x135670[_0x5b3a49(0x206)]:_0x1a8ce1[_0x5b3a49(0x220)];const _0xac3d8d=_0x4a2717&&_0x4a2717[_0x5b3a49(0x25b)];if(_0x4a2717={..._0x4a2717,'headers':{}},_0xac3d8d){for(const [_0x388bd3,_0x105063]of Object[_0x5b3a49(0x188)](_0xac3d8d))_0x4a2717['headers'][_0x388bd3['toLowerCase']()]=_0x105063;}}else{if(_0x568966[_0x5b3a49(0x2c5)](_0x5b3a49(0x1b7))===0x0){const _0x28f2b9=_0x23aef9?_0x568966[_0x5b3a49(0x21a)]?_0x135670[_0x5b3a49(0x206)]===_0x568966[_0x5b3a49(0x156)]:!0x1:_0x568966[_0x5b3a49(0x21a)]?!0x1:_0x1a8ce1[_0x5b3a49(0x220)]===_0x568966[_0x5b3a49(0x156)];(!_0x28f2b9||_0x568966[_0x5b3a49(0x279)]&&!_0x2e3dbf)&&(delete _0x135670[_0x5b3a49(0x25b)][_0x5b3a49(0x2d7)],delete _0x135670[_0x5b3a49(0x25b)][_0x5b3a49(0x244)],_0x28f2b9||delete _0x135670['headers'][_0x5b3a49(0x220)],_0x135670[_0x5b3a49(0x2d9)]=void 0x0);}}_0x135670[_0x5b3a49(0x2d9)]&&!_0x4a2717[_0x5b3a49(0x25b)][_0x5b3a49(0x2d7)]&&(_0x4a2717[_0x5b3a49(0x25b)][_0x5b3a49(0x2d7)]=_0x5b3a49(0x232)+Buffer['from'](_0x135670[_0x5b3a49(0x2d9)])['toString'](_0x5b3a49(0x1eb))),_0x47f124=_0x568966[_0x5b3a49(0x1c8)]=_0x260de2(_0x135670),_0x568966['_redirects']&&_0x568966[_0x5b3a49(0x1e4)](_0x5b3a49(0x1b7),_0x568966[_0x5b3a49(0x16a)],_0x47f124);}else _0x47f124=_0x568966[_0x5b3a49(0x1c8)]=_0x260de2(_0x135670);_0x135670[_0x5b3a49(0x2fb)]&&_0x47f124['on']('timeout',()=>{const _0x1a9c57=_0x5b3a49;_0xe88aa0(_0x568966,_0x47f124,_0x1a9c57(0x1a4));}),_0x47f124['on'](_0x5b3a49(0x271),_0x4d9d9d=>{const _0x1c8b23=_0x5b3a49;_0x47f124===null||_0x47f124[_0x173d44]||(_0x47f124=_0x568966[_0x1c8b23(0x1c8)]=null,_0x1d18a2(_0x568966,_0x4d9d9d));}),_0x47f124['on']('response',_0x1d5a20=>{const _0x54a14b=_0x5b3a49,_0x115c5b=_0x1d5a20['headers'][_0x54a14b(0x29a)],_0x1cb6cd=_0x1d5a20['statusCode'];if(_0x115c5b&&_0x135670[_0x54a14b(0x2f3)]&&_0x1cb6cd>=0x12c&&_0x1cb6cd<0x190){if(++_0x568966[_0x54a14b(0x213)]>_0x135670['maxRedirects']){_0xe88aa0(_0x568966,_0x47f124,_0x54a14b(0x1c7));return;}_0x47f124[_0x54a14b(0x2de)]();let _0x853f0f;try{_0x853f0f=new _0x403609(_0x115c5b,_0xbd2bfc);}catch{const _0x47716f=new SyntaxError(_0x54a14b(0x1f3)+_0x115c5b);_0x1d18a2(_0x568966,_0x47716f);return;}_0x5a38ab(_0x568966,_0x853f0f,_0x2adfa2,_0x4a2717);}else _0x568966[_0x54a14b(0x1e4)]('unexpected-response',_0x47f124,_0x1d5a20)||_0xe88aa0(_0x568966,_0x47f124,_0x54a14b(0x230)+_0x1d5a20[_0x54a14b(0x227)]);}),_0x47f124['on']('upgrade',(_0x2a95bd,_0x2e00e5,_0x5cc3c0)=>{const _0x4ce074=_0x5b3a49;if(_0x568966[_0x4ce074(0x1e4)](_0x4ce074(0x16f),_0x2a95bd),_0x568966[_0x4ce074(0x157)]!==_0x478f45[_0x4ce074(0x1ad)])return;_0x47f124=_0x568966[_0x4ce074(0x1c8)]=null;const _0xc5c9e7=_0x2a95bd[_0x4ce074(0x25b)]['upgrade'];if(_0xc5c9e7===void 0x0||_0xc5c9e7['toLowerCase']()!==_0x4ce074(0x158)){_0xe88aa0(_0x568966,_0x2e00e5,_0x4ce074(0x2bd));return;}const _0x512fbb=_0x2f3971('sha1')[_0x4ce074(0x1ed)](_0x32066c+_0x4d4f66)['digest'](_0x4ce074(0x1eb));if(_0x2a95bd[_0x4ce074(0x25b)]['sec-websocket-accept']!==_0x512fbb){_0xe88aa0(_0x568966,_0x2e00e5,_0x4ce074(0x2f5));return;}const _0x226677=_0x2a95bd[_0x4ce074(0x25b)]['sec-websocket-protocol'];let _0x2e8e1a;if(_0x226677!==void 0x0?_0x40584f['size']?_0x40584f[_0x4ce074(0x1f9)](_0x226677)||(_0x2e8e1a=_0x4ce074(0x26f)):_0x2e8e1a=_0x4ce074(0x2f7):_0x40584f[_0x4ce074(0x216)]&&(_0x2e8e1a=_0x4ce074(0x194)),_0x2e8e1a){_0xe88aa0(_0x568966,_0x2e00e5,_0x2e8e1a);return;}_0x226677&&(_0x568966[_0x4ce074(0x2a3)]=_0x226677);const _0x38bcdc=_0x2a95bd[_0x4ce074(0x25b)]['sec-websocket-extensions'];if(_0x38bcdc!==void 0x0){if(!_0x4ac9f5){_0xe88aa0(_0x568966,_0x2e00e5,'Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested');return;}let _0x32eed8;try{_0x32eed8=_0x2e93a8(_0x38bcdc);}catch{_0xe88aa0(_0x568966,_0x2e00e5,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0x2e9ce9=Object[_0x4ce074(0x2da)](_0x32eed8);if(_0x2e9ce9[_0x4ce074(0x2ba)]!==0x1||_0x2e9ce9[0x0]!==_0x34a3bf['extensionName']){_0xe88aa0(_0x568966,_0x2e00e5,_0x4ce074(0x1e1));return;}try{_0x4ac9f5[_0x4ce074(0x261)](_0x32eed8[_0x34a3bf[_0x4ce074(0x19e)]]);}catch{_0xe88aa0(_0x568966,_0x2e00e5,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}_0x568966['_extensions'][_0x34a3bf['extensionName']]=_0x4ac9f5;}_0x568966[_0x4ce074(0x211)](_0x2e00e5,_0x5cc3c0,{'allowSynchronousEvents':_0x135670[_0x4ce074(0x292)],'generateMask':_0x135670[_0x4ce074(0x1e7)],'maxPayload':_0x135670[_0x4ce074(0x240)],'skipUTF8Validation':_0x135670['skipUTF8Validation']});}),_0x135670[_0x5b3a49(0x2e8)]?_0x135670[_0x5b3a49(0x2e8)](_0x47f124,_0x568966):_0x47f124[_0x5b3a49(0x208)]();}function _0x1d18a2(_0x1ac780,_0x3c51a7){const _0x51e3bc=_0x3f1b52;_0x1ac780[_0x51e3bc(0x200)]=_0x478f45[_0x51e3bc(0x260)],_0x1ac780[_0x51e3bc(0x2c4)]=!0x0,_0x1ac780[_0x51e3bc(0x1e4)]('error',_0x3c51a7),_0x1ac780['emitClose']();}function _0x1f2268(_0x26800f){const _0x14254c=_0x3f1b52;return _0x26800f[_0x14254c(0x175)]=_0x26800f[_0x14254c(0x206)],_0x4e5eb8['connect'](_0x26800f);}function _0x2fe9b5(_0x1491d8){const _0x78ba35=_0x3f1b52;return _0x1491d8['path']=void 0x0,!_0x1491d8['servername']&&_0x1491d8[_0x78ba35(0x2ef)]!==''&&(_0x1491d8['servername']=_0x4e5eb8[_0x78ba35(0x2b1)](_0x1491d8[_0x78ba35(0x220)])?'':_0x1491d8[_0x78ba35(0x220)]),_0x126531[_0x78ba35(0x293)](_0x1491d8);}function _0xe88aa0(_0x33c8eb,_0x2d20b5,_0xef8b35){const _0x33a833=_0x3f1b52;_0x33c8eb[_0x33a833(0x200)]=_0x478f45[_0x33a833(0x260)];const _0x268b5f=new Error(_0xef8b35);Error[_0x33a833(0x2cf)](_0x268b5f,_0xe88aa0),_0x2d20b5['setHeader']?(_0x2d20b5[_0x173d44]=!0x0,_0x2d20b5[_0x33a833(0x2de)](),_0x2d20b5[_0x33a833(0x1df)]&&!_0x2d20b5[_0x33a833(0x1df)][_0x33a833(0x190)]&&_0x2d20b5['socket'][_0x33a833(0x1bd)](),process[_0x33a833(0x1ba)](_0x1d18a2,_0x33c8eb,_0x268b5f)):(_0x2d20b5[_0x33a833(0x1bd)](_0x268b5f),_0x2d20b5[_0x33a833(0x283)](_0x33a833(0x271),_0x33c8eb['emit'][_0x33a833(0x20b)](_0x33c8eb,_0x33a833(0x271))),_0x2d20b5['once']('close',_0x33c8eb[_0x33a833(0x18c)][_0x33a833(0x20b)](_0x33c8eb)));}function _0x45403c(_0x23e28c,_0x29014b,_0x417ea2){const _0x163934=_0x3f1b52;if(_0x29014b){const _0x3c899e=_0x1ac6e6(_0x29014b)?_0x29014b[_0x163934(0x216)]:_0x115abf(_0x29014b)[_0x163934(0x2ba)];_0x23e28c['_socket']?_0x23e28c[_0x163934(0x1c4)][_0x163934(0x1ec)]+=_0x3c899e:_0x23e28c[_0x163934(0x187)]+=_0x3c899e;}if(_0x417ea2){const _0x4567e5=new Error(_0x163934(0x1ee)+_0x23e28c[_0x163934(0x157)]+'\x20('+_0x353a77[_0x23e28c[_0x163934(0x157)]]+')');process['nextTick'](_0x417ea2,_0x4567e5);}}function _0x37ab1c(_0x45b308,_0x58a4c5){const _0x1b8372=_0x3f1b52,_0x573cd0=this[_0x4d88cc];_0x573cd0['_closeFrameReceived']=!0x0,_0x573cd0['_closeMessage']=_0x58a4c5,_0x573cd0['_closeCode']=_0x45b308,_0x573cd0[_0x1b8372(0x29e)][_0x4d88cc]!==void 0x0&&(_0x573cd0[_0x1b8372(0x29e)][_0x1b8372(0x2c2)]('data',_0x27ce59),process['nextTick'](_0x17c482,_0x573cd0[_0x1b8372(0x29e)]),_0x45b308===0x3ed?_0x573cd0['close']():_0x573cd0[_0x1b8372(0x228)](_0x45b308,_0x58a4c5));}function _0x56808e(){const _0x10cbeb=_0x3f1b52,_0x5c9973=this[_0x4d88cc];_0x5c9973[_0x10cbeb(0x14a)]||_0x5c9973[_0x10cbeb(0x29e)][_0x10cbeb(0x1c5)]();}function _0x296195(_0x59718e){const _0x2e5c1b=_0x3f1b52,_0xb8ea51=this[_0x4d88cc];_0xb8ea51[_0x2e5c1b(0x29e)][_0x4d88cc]!==void 0x0&&(_0xb8ea51[_0x2e5c1b(0x29e)][_0x2e5c1b(0x2c2)](_0x2e5c1b(0x203),_0x27ce59),process['nextTick'](_0x17c482,_0xb8ea51['_socket']),_0xb8ea51[_0x2e5c1b(0x228)](_0x59718e[_0x1046b0])),_0xb8ea51[_0x2e5c1b(0x2c4)]||(_0xb8ea51[_0x2e5c1b(0x2c4)]=!0x0,_0xb8ea51[_0x2e5c1b(0x1e4)](_0x2e5c1b(0x271),_0x59718e));}function _0x10d1f0(){const _0x1f6897=_0x3f1b52;this[_0x4d88cc][_0x1f6897(0x18c)]();}function _0x47a6d2(_0x2a0f17,_0x5609d8){const _0x4a0402=_0x3f1b52;this[_0x4d88cc][_0x4a0402(0x1e4)](_0x4a0402(0x2ee),_0x2a0f17,_0x5609d8);}function _0x1b26a2(_0x54ef27){const _0x295e8c=_0x3f1b52,_0xe0596e=this[_0x4d88cc];_0xe0596e['_autoPong']&&_0xe0596e[_0x295e8c(0x2c0)](_0x54ef27,!this[_0x295e8c(0x201)],_0x1056b9),_0xe0596e[_0x295e8c(0x1e4)](_0x295e8c(0x1db),_0x54ef27);}function _0x54cdf9(_0x5d041d){const _0x4c90de=_0x3f1b52;this[_0x4d88cc][_0x4c90de(0x1e4)]('pong',_0x5d041d);}function _0x17c482(_0x1e1e28){const _0x51a150=_0x3f1b52;_0x1e1e28[_0x51a150(0x1c5)]();}function _0x2d972f(_0x79c35e){const _0xceab40=_0x3f1b52,_0x6c30a6=this[_0x4d88cc];_0x6c30a6[_0xceab40(0x157)]!==_0x478f45[_0xceab40(0x2bc)]&&(_0x6c30a6[_0xceab40(0x157)]===_0x478f45[_0xceab40(0x1d3)]&&(_0x6c30a6['_readyState']=_0x478f45['CLOSING'],_0x592ba2(_0x6c30a6)),this[_0xceab40(0x29e)][_0xceab40(0x208)](),_0x6c30a6[_0xceab40(0x2c4)]||(_0x6c30a6[_0xceab40(0x2c4)]=!0x0,_0x6c30a6[_0xceab40(0x1e4)](_0xceab40(0x271),_0x79c35e)));}function _0x592ba2(_0x20c75a){const _0x425af6=_0x3f1b52;_0x20c75a['_closeTimer']=setTimeout(_0x20c75a['_socket'][_0x425af6(0x1bd)][_0x425af6(0x20b)](_0x20c75a[_0x425af6(0x29e)]),_0x214ffe);}function _0x3c55cd(){const _0x1c4aa4=_0x3f1b52,_0x3bf988=this[_0x4d88cc];this[_0x1c4aa4(0x2c2)](_0x1c4aa4(0x228),_0x3c55cd),this[_0x1c4aa4(0x2c2)](_0x1c4aa4(0x203),_0x27ce59),this['removeListener'](_0x1c4aa4(0x208),_0x58dc86),_0x3bf988[_0x1c4aa4(0x200)]=_0x478f45[_0x1c4aa4(0x260)];let _0x45e415;!this[_0x1c4aa4(0x192)][_0x1c4aa4(0x1bc)]&&!_0x3bf988['_closeFrameReceived']&&!_0x3bf988[_0x1c4aa4(0x148)][_0x1c4aa4(0x256)]['errorEmitted']&&(_0x45e415=_0x3bf988[_0x1c4aa4(0x29e)][_0x1c4aa4(0x250)]())!==null&&_0x3bf988[_0x1c4aa4(0x148)][_0x1c4aa4(0x2c8)](_0x45e415),_0x3bf988[_0x1c4aa4(0x148)][_0x1c4aa4(0x208)](),this[_0x4d88cc]=void 0x0,clearTimeout(_0x3bf988[_0x1c4aa4(0x1c1)]),_0x3bf988[_0x1c4aa4(0x148)][_0x1c4aa4(0x256)]['finished']||_0x3bf988[_0x1c4aa4(0x148)][_0x1c4aa4(0x256)]['errorEmitted']?_0x3bf988[_0x1c4aa4(0x18c)]():(_0x3bf988[_0x1c4aa4(0x148)]['on']('error',_0x10d1f0),_0x3bf988['_receiver']['on'](_0x1c4aa4(0x1b2),_0x10d1f0));}function _0x27ce59(_0x1c163a){const _0x5b12b7=_0x3f1b52;this[_0x4d88cc]['_receiver'][_0x5b12b7(0x2c8)](_0x1c163a)||this[_0x5b12b7(0x20e)]();}function _0x58dc86(){const _0x4d1079=_0x3f1b52,_0x1c3cd2=this[_0x4d88cc];_0x1c3cd2[_0x4d1079(0x200)]=_0x478f45[_0x4d1079(0x260)],_0x1c3cd2[_0x4d1079(0x148)][_0x4d1079(0x208)](),this[_0x4d1079(0x208)]();}function _0x56773c(){const _0x40c763=_0x3f1b52,_0x39a7c9=this[_0x4d88cc];this[_0x40c763(0x2c2)](_0x40c763(0x271),_0x56773c),this['on'](_0x40c763(0x271),_0x1056b9),_0x39a7c9&&(_0x39a7c9['_readyState']=_0x478f45[_0x40c763(0x260)],this[_0x40c763(0x1bd)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x2c84ea}=_0x31bf2d;function _0x59fec5(_0x398568){const _0x426101=_0x597f;_0x398568[_0x426101(0x1e4)]('close');}function _0x5d44c0(){const _0x3de56e=_0x597f;!this[_0x3de56e(0x190)]&&this['_writableState']['finished']&&this[_0x3de56e(0x1bd)]();}function _0x1c4f97(_0x249d86){const _0x18e7ef=_0x597f;this['removeListener'](_0x18e7ef(0x271),_0x1c4f97),this[_0x18e7ef(0x1bd)](),this['listenerCount'](_0x18e7ef(0x271))===0x0&&this[_0x18e7ef(0x1e4)](_0x18e7ef(0x271),_0x249d86);}function _0x331b87(_0xf90ad0,_0x568ec1){const _0x1a60a6=_0x597f;let _0x3c43e8=!0x0;const _0x23b5a2=new _0x2c84ea({..._0x568ec1,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0xf90ad0['on']('message',function(_0x46e905,_0x129dc9){const _0x3b309a=_0x597f,_0x318af7=!_0x129dc9&&_0x23b5a2[_0x3b309a(0x192)][_0x3b309a(0x2ce)]?_0x46e905[_0x3b309a(0x22c)]():_0x46e905;_0x23b5a2[_0x3b309a(0x205)](_0x318af7)||_0xf90ad0[_0x3b309a(0x20e)]();}),_0xf90ad0[_0x1a60a6(0x283)]('error',function(_0x4f6936){const _0x2d122a=_0x1a60a6;_0x23b5a2[_0x2d122a(0x190)]||(_0x3c43e8=!0x1,_0x23b5a2['destroy'](_0x4f6936));}),_0xf90ad0[_0x1a60a6(0x283)]('close',function(){const _0x1cf764=_0x1a60a6;_0x23b5a2[_0x1cf764(0x190)]||_0x23b5a2[_0x1cf764(0x205)](null);}),_0x23b5a2[_0x1a60a6(0x233)]=function(_0x1878c8,_0x2f5193){const _0x551810=_0x1a60a6;if(_0xf90ad0[_0x551810(0x157)]===_0xf90ad0['CLOSED']){_0x2f5193(_0x1878c8),process[_0x551810(0x1ba)](_0x59fec5,_0x23b5a2);return;}let _0x2c1dea=!0x1;_0xf90ad0[_0x551810(0x283)]('error',function(_0x5edac1){_0x2c1dea=!0x0,_0x2f5193(_0x5edac1);}),_0xf90ad0['once'](_0x551810(0x228),function(){const _0x4a6185=_0x551810;_0x2c1dea||_0x2f5193(_0x1878c8),process[_0x4a6185(0x1ba)](_0x59fec5,_0x23b5a2);}),_0x3c43e8&&_0xf90ad0[_0x551810(0x1b5)]();},_0x23b5a2[_0x1a60a6(0x1e3)]=function(_0x129965){const _0x44ddb9=_0x1a60a6;if(_0xf90ad0[_0x44ddb9(0x157)]===_0xf90ad0[_0x44ddb9(0x1ad)]){_0xf90ad0[_0x44ddb9(0x283)](_0x44ddb9(0x180),function(){const _0x49a723=_0x44ddb9;_0x23b5a2[_0x49a723(0x1e3)](_0x129965);});return;}_0xf90ad0[_0x44ddb9(0x29e)]!==null&&(_0xf90ad0[_0x44ddb9(0x29e)][_0x44ddb9(0x256)][_0x44ddb9(0x222)]?(_0x129965(),_0x23b5a2['_readableState'][_0x44ddb9(0x1bc)]&&_0x23b5a2[_0x44ddb9(0x1bd)]()):(_0xf90ad0['_socket'][_0x44ddb9(0x283)](_0x44ddb9(0x1b2),function(){_0x129965();}),_0xf90ad0[_0x44ddb9(0x228)]()));},_0x23b5a2[_0x1a60a6(0x1f6)]=function(){_0xf90ad0['isPaused']&&_0xf90ad0['resume']();},_0x23b5a2[_0x1a60a6(0x1ea)]=function(_0x541ad4,_0x202f22,_0x286ebb){const _0x5c2de9=_0x1a60a6;if(_0xf90ad0[_0x5c2de9(0x157)]===_0xf90ad0[_0x5c2de9(0x1ad)]){_0xf90ad0[_0x5c2de9(0x283)](_0x5c2de9(0x180),function(){const _0x39b67f=_0x5c2de9;_0x23b5a2[_0x39b67f(0x1ea)](_0x541ad4,_0x202f22,_0x286ebb);});return;}_0xf90ad0[_0x5c2de9(0x1c9)](_0x541ad4,_0x286ebb);},_0x23b5a2['on'](_0x1a60a6(0x208),_0x5d44c0),_0x23b5a2['on'](_0x1a60a6(0x271),_0x1c4f97),_0x23b5a2;}return Oe=_0x331b87,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=jt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x8e3b48}=ne();function _0x4a30c0(_0x5371f8){const _0x293d0c=_0x597f,_0x397a5b=new Set();let _0x37cba3=-0x1,_0x6bf211=-0x1,_0x5449b4=0x0;for(_0x5449b4;_0x5449b4<_0x5371f8[_0x293d0c(0x2ba)];_0x5449b4++){const _0x5364de=_0x5371f8['charCodeAt'](_0x5449b4);if(_0x6bf211===-0x1&&_0x8e3b48[_0x5364de]===0x1)_0x37cba3===-0x1&&(_0x37cba3=_0x5449b4);else{if(_0x5449b4!==0x0&&(_0x5364de===0x20||_0x5364de===0x9))_0x6bf211===-0x1&&_0x37cba3!==-0x1&&(_0x6bf211=_0x5449b4);else{if(_0x5364de===0x2c){if(_0x37cba3===-0x1)throw new SyntaxError(_0x293d0c(0x22e)+_0x5449b4);_0x6bf211===-0x1&&(_0x6bf211=_0x5449b4);const _0x3c55d0=_0x5371f8[_0x293d0c(0x1b1)](_0x37cba3,_0x6bf211);if(_0x397a5b[_0x293d0c(0x1f9)](_0x3c55d0))throw new SyntaxError(_0x293d0c(0x1d2)+_0x3c55d0+'\x22\x20subprotocol\x20is\x20duplicated');_0x397a5b[_0x293d0c(0x153)](_0x3c55d0),_0x37cba3=_0x6bf211=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x5449b4);}}}if(_0x37cba3===-0x1||_0x6bf211!==-0x1)throw new SyntaxError('Unexpected\x20end\x20of\x20input');const _0x458deb=_0x5371f8[_0x293d0c(0x1b1)](_0x37cba3,_0x5449b4);if(_0x397a5b[_0x293d0c(0x1f9)](_0x458deb))throw new SyntaxError('The\x20\x22'+_0x458deb+_0x293d0c(0x257));return _0x397a5b['add'](_0x458deb),_0x397a5b;}return Ce={'parse':_0x4a30c0},Ce;}var Te,ot;function er(){const _0x2b134f=_0x30831e;if(ot)return Te;ot=0x1;const _0x2816d1=_0x467b17,_0x199909=_0xcd8441,{Duplex:_0xe4607}=_0x31bf2d,{createHash:_0x2be940}=_0x49a803,_0x3854c5=pt(),_0x5db6da=he(),_0x143426=Jt(),_0x238c93=Ie(),{GUID:_0x546564,kWebSocket:_0x3b170b}=V(),_0x4897ce=/^[+/0-9A-Za-z]{22}==$/,_0x34d49d=0x0,_0x241f95=0x1,_0x1d1d93=0x2;class _0x1a123b extends _0x2816d1{constructor(_0x53d131,_0x499382){const _0x17ee13=_0x597f;if(super(),_0x53d131={'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':_0x238c93,..._0x53d131},_0x53d131['port']==null&&!_0x53d131[_0x17ee13(0x1d8)]&&!_0x53d131[_0x17ee13(0x2c9)]||_0x53d131[_0x17ee13(0x1a7)]!=null&&(_0x53d131[_0x17ee13(0x1d8)]||_0x53d131[_0x17ee13(0x2c9)])||_0x53d131[_0x17ee13(0x1d8)]&&_0x53d131['noServer'])throw new TypeError('One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified');if(_0x53d131[_0x17ee13(0x1a7)]!=null?(this[_0x17ee13(0x2a5)]=_0x199909[_0x17ee13(0x265)]((_0x235fe4,_0x20538a)=>{const _0x2d0046=_0x17ee13,_0x51b94b=_0x199909[_0x2d0046(0x2f0)][0x1aa];_0x20538a['writeHead'](0x1aa,{'Content-Length':_0x51b94b[_0x2d0046(0x2ba)],'Content-Type':_0x2d0046(0x2b6)}),_0x20538a[_0x2d0046(0x208)](_0x51b94b);}),this[_0x17ee13(0x2a5)][_0x17ee13(0x2a9)](_0x53d131['port'],_0x53d131[_0x17ee13(0x220)],_0x53d131[_0x17ee13(0x235)],_0x499382)):_0x53d131[_0x17ee13(0x1d8)]&&(this[_0x17ee13(0x2a5)]=_0x53d131[_0x17ee13(0x1d8)]),this['_server']){const _0x3f4bf2=this[_0x17ee13(0x1e4)][_0x17ee13(0x20b)](this,_0x17ee13(0x150));this[_0x17ee13(0x1d0)]=_0x45fd60(this[_0x17ee13(0x2a5)],{'listening':this[_0x17ee13(0x1e4)][_0x17ee13(0x20b)](this,_0x17ee13(0x2e3)),'error':this[_0x17ee13(0x1e4)]['bind'](this,'error'),'upgrade':(_0x16789a,_0x232253,_0x2d3d53)=>{this['handleUpgrade'](_0x16789a,_0x232253,_0x2d3d53,_0x3f4bf2);}});}_0x53d131[_0x17ee13(0x166)]===!0x0&&(_0x53d131[_0x17ee13(0x166)]={}),_0x53d131[_0x17ee13(0x14e)]&&(this['clients']=new Set(),this[_0x17ee13(0x2b2)]=!0x1),this[_0x17ee13(0x1ac)]=_0x53d131,this['_state']=_0x34d49d;}['address'](){const _0x5f4be5=_0x597f;if(this[_0x5f4be5(0x1ac)][_0x5f4be5(0x2c9)])throw new Error('The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode');return this['_server']?this[_0x5f4be5(0x2a5)][_0x5f4be5(0x18f)]():null;}['close'](_0x35ea6f){const _0x170221=_0x597f;if(this['_state']===_0x1d1d93){_0x35ea6f&&this[_0x170221(0x283)](_0x170221(0x228),()=>{const _0x4b85f3=_0x170221;_0x35ea6f(new Error(_0x4b85f3(0x28d)));}),process[_0x170221(0x1ba)](_0x257704,this);return;}if(_0x35ea6f&&this[_0x170221(0x283)](_0x170221(0x228),_0x35ea6f),this['_state']!==_0x241f95){if(this['_state']=_0x241f95,this[_0x170221(0x1ac)][_0x170221(0x2c9)]||this[_0x170221(0x1ac)][_0x170221(0x1d8)])this[_0x170221(0x2a5)]&&(this[_0x170221(0x1d0)](),this['_removeListeners']=this['_server']=null),this[_0x170221(0x1d9)]?this[_0x170221(0x1d9)][_0x170221(0x216)]?this['_shouldEmitClose']=!0x0:process[_0x170221(0x1ba)](_0x257704,this):process[_0x170221(0x1ba)](_0x257704,this);else{const _0x1a9496=this[_0x170221(0x2a5)];this['_removeListeners'](),this[_0x170221(0x1d0)]=this['_server']=null,_0x1a9496[_0x170221(0x228)](()=>{_0x257704(this);});}}}[_0x2b134f(0x295)](_0x9c14b0){const _0x165bb1=_0x2b134f;if(this[_0x165bb1(0x1ac)][_0x165bb1(0x175)]){const _0x243653=_0x9c14b0[_0x165bb1(0x16a)][_0x165bb1(0x2c7)]('?');if((_0x243653!==-0x1?_0x9c14b0[_0x165bb1(0x16a)][_0x165bb1(0x1b1)](0x0,_0x243653):_0x9c14b0['url'])!==this[_0x165bb1(0x1ac)][_0x165bb1(0x175)])return!0x1;}return!0x0;}[_0x2b134f(0x15d)](_0x4d958e,_0x2ffca3,_0x43ff99,_0x2c2d78){const _0x2fe2ad=_0x2b134f;_0x2ffca3['on'](_0x2fe2ad(0x271),_0x402a6e);const _0x34d589=_0x4d958e['headers'][_0x2fe2ad(0x1ca)],_0x5d6ec8=_0x4d958e['headers'][_0x2fe2ad(0x16f)],_0x49160f=+_0x4d958e['headers'][_0x2fe2ad(0x2a6)];if(_0x4d958e[_0x2fe2ad(0x189)]!=='GET'){_0x1d7e69(this,_0x4d958e,_0x2ffca3,0x195,_0x2fe2ad(0x2e7));return;}if(_0x5d6ec8===void 0x0||_0x5d6ec8[_0x2fe2ad(0x2e9)]()!=='websocket'){_0x1d7e69(this,_0x4d958e,_0x2ffca3,0x190,'Invalid\x20Upgrade\x20header');return;}if(_0x34d589===void 0x0||!_0x4897ce[_0x2fe2ad(0x1a8)](_0x34d589)){_0x1d7e69(this,_0x4d958e,_0x2ffca3,0x190,_0x2fe2ad(0x25c));return;}if(_0x49160f!==0x8&&_0x49160f!==0xd){_0x1d7e69(this,_0x4d958e,_0x2ffca3,0x190,_0x2fe2ad(0x19d));return;}if(!this[_0x2fe2ad(0x295)](_0x4d958e)){_0x122179(_0x2ffca3,0x190);return;}const _0x33bf02=_0x4d958e[_0x2fe2ad(0x25b)][_0x2fe2ad(0x1ff)];let _0x491d6d=new Set();if(_0x33bf02!==void 0x0)try{_0x491d6d=_0x143426[_0x2fe2ad(0x24c)](_0x33bf02);}catch{_0x1d7e69(this,_0x4d958e,_0x2ffca3,0x190,'Invalid\x20Sec-WebSocket-Protocol\x20header');return;}const _0x1afe11=_0x4d958e[_0x2fe2ad(0x25b)][_0x2fe2ad(0x229)],_0x330d2f={};if(this['options'][_0x2fe2ad(0x166)]&&_0x1afe11!==void 0x0){const _0x56a068=new _0x5db6da(this[_0x2fe2ad(0x1ac)][_0x2fe2ad(0x166)],!0x0,this[_0x2fe2ad(0x1ac)]['maxPayload']);try{const _0x1a33d7=_0x3854c5[_0x2fe2ad(0x24c)](_0x1afe11);_0x1a33d7[_0x5db6da[_0x2fe2ad(0x19e)]]&&(_0x56a068[_0x2fe2ad(0x261)](_0x1a33d7[_0x5db6da[_0x2fe2ad(0x19e)]]),_0x330d2f[_0x5db6da[_0x2fe2ad(0x19e)]]=_0x56a068);}catch{_0x1d7e69(this,_0x4d958e,_0x2ffca3,0x190,_0x2fe2ad(0x254));return;}}if(this['options']['verifyClient']){const _0x3c18aa={'origin':_0x4d958e[_0x2fe2ad(0x25b)][''+(_0x49160f===0x8?_0x2fe2ad(0x14c):_0x2fe2ad(0x25e))],'secure':!!(_0x4d958e[_0x2fe2ad(0x1df)][_0x2fe2ad(0x28c)]||_0x4d958e[_0x2fe2ad(0x1df)][_0x2fe2ad(0x15b)]),'req':_0x4d958e};if(this[_0x2fe2ad(0x1ac)][_0x2fe2ad(0x1f1)][_0x2fe2ad(0x2ba)]===0x2){this['options'][_0x2fe2ad(0x1f1)](_0x3c18aa,(_0x4bbacf,_0x145a92,_0x52b669,_0x188ae0)=>{if(!_0x4bbacf)return _0x122179(_0x2ffca3,_0x145a92||0x191,_0x52b669,_0x188ae0);this['completeUpgrade'](_0x330d2f,_0x34d589,_0x491d6d,_0x4d958e,_0x2ffca3,_0x43ff99,_0x2c2d78);});return;}if(!this[_0x2fe2ad(0x1ac)][_0x2fe2ad(0x1f1)](_0x3c18aa))return _0x122179(_0x2ffca3,0x191);}this['completeUpgrade'](_0x330d2f,_0x34d589,_0x491d6d,_0x4d958e,_0x2ffca3,_0x43ff99,_0x2c2d78);}['completeUpgrade'](_0x5ed452,_0x32b5dd,_0x5d86ac,_0x22c3c7,_0x895890,_0x353d28,_0x14d7a7){const _0x1f21e3=_0x2b134f;if(!_0x895890[_0x1f21e3(0x25f)]||!_0x895890[_0x1f21e3(0x181)])return _0x895890[_0x1f21e3(0x1bd)]();if(_0x895890[_0x3b170b])throw new Error(_0x1f21e3(0x199));if(this[_0x1f21e3(0x195)]>_0x34d49d)return _0x122179(_0x895890,0x1f7);const _0x563a62=[_0x1f21e3(0x2d8),_0x1f21e3(0x2b7),_0x1f21e3(0x234),'Sec-WebSocket-Accept:\x20'+_0x2be940('sha1')[_0x1f21e3(0x1ed)](_0x32b5dd+_0x546564)[_0x1f21e3(0x247)](_0x1f21e3(0x1eb))],_0x52cf45=new this[(_0x1f21e3(0x1ac))][(_0x1f21e3(0x18e))](null,void 0x0,this['options']);if(_0x5d86ac[_0x1f21e3(0x216)]){const _0x3d32da=this[_0x1f21e3(0x1ac)][_0x1f21e3(0x18d)]?this[_0x1f21e3(0x1ac)][_0x1f21e3(0x18d)](_0x5d86ac,_0x22c3c7):_0x5d86ac['values']()['next']()[_0x1f21e3(0x25d)];_0x3d32da&&(_0x563a62[_0x1f21e3(0x205)]('Sec-WebSocket-Protocol:\x20'+_0x3d32da),_0x52cf45[_0x1f21e3(0x2a3)]=_0x3d32da);}if(_0x5ed452[_0x5db6da['extensionName']]){const _0x5f1569=_0x5ed452[_0x5db6da[_0x1f21e3(0x19e)]][_0x1f21e3(0x2a0)],_0x4078a1=_0x3854c5[_0x1f21e3(0x29c)]({[_0x5db6da[_0x1f21e3(0x19e)]]:[_0x5f1569]});_0x563a62[_0x1f21e3(0x205)]('Sec-WebSocket-Extensions:\x20'+_0x4078a1),_0x52cf45[_0x1f21e3(0x2a7)]=_0x5ed452;}this[_0x1f21e3(0x1e4)](_0x1f21e3(0x25b),_0x563a62,_0x22c3c7),_0x895890[_0x1f21e3(0x2c8)](_0x563a62[_0x1f21e3(0x223)]('\x0d\x0a')[_0x1f21e3(0x15f)]('\x0d\x0a')),_0x895890[_0x1f21e3(0x2c2)]('error',_0x402a6e),_0x52cf45[_0x1f21e3(0x211)](_0x895890,_0x353d28,{'allowSynchronousEvents':this[_0x1f21e3(0x1ac)][_0x1f21e3(0x292)],'maxPayload':this['options'][_0x1f21e3(0x240)],'skipUTF8Validation':this[_0x1f21e3(0x1ac)][_0x1f21e3(0x248)]}),this[_0x1f21e3(0x1d9)]&&(this[_0x1f21e3(0x1d9)][_0x1f21e3(0x153)](_0x52cf45),_0x52cf45['on']('close',()=>{const _0x6201f1=_0x1f21e3;this[_0x6201f1(0x1d9)][_0x6201f1(0x1cf)](_0x52cf45),this[_0x6201f1(0x2b2)]&&!this[_0x6201f1(0x1d9)][_0x6201f1(0x216)]&&process[_0x6201f1(0x1ba)](_0x257704,this);})),_0x14d7a7(_0x52cf45,_0x22c3c7);}}Te=_0x1a123b;function _0x45fd60(_0x1020b9,_0x2c249a){const _0x409c0e=_0x2b134f;for(const _0x25de89 of Object[_0x409c0e(0x2da)](_0x2c249a))_0x1020b9['on'](_0x25de89,_0x2c249a[_0x25de89]);return function(){const _0x2ba8fd=_0x409c0e;for(const _0x919969 of Object[_0x2ba8fd(0x2da)](_0x2c249a))_0x1020b9['removeListener'](_0x919969,_0x2c249a[_0x919969]);};}function _0x257704(_0x1a3001){const _0x26a701=_0x2b134f;_0x1a3001[_0x26a701(0x195)]=_0x1d1d93,_0x1a3001[_0x26a701(0x1e4)](_0x26a701(0x228));}function _0x402a6e(){const _0xff19b0=_0x2b134f;this[_0xff19b0(0x1bd)]();}function _0x122179(_0x5064ec,_0x54f7ad,_0x1d8056,_0x5d0a14){const _0x28f79a=_0x2b134f;_0x1d8056=_0x1d8056||_0x199909[_0x28f79a(0x2f0)][_0x54f7ad],_0x5d0a14={'Connection':_0x28f79a(0x228),'Content-Type':_0x28f79a(0x21b),'Content-Length':Buffer[_0x28f79a(0x2aa)](_0x1d8056),..._0x5d0a14},_0x5064ec[_0x28f79a(0x283)](_0x28f79a(0x1b2),_0x5064ec['destroy']),_0x5064ec['end'](_0x28f79a(0x255)+_0x54f7ad+'\x20'+_0x199909[_0x28f79a(0x2f0)][_0x54f7ad]+'\x0d\x0a'+Object[_0x28f79a(0x2da)](_0x5d0a14)[_0x28f79a(0x170)](_0x5a913f=>_0x5a913f+':\x20'+_0x5d0a14[_0x5a913f])[_0x28f79a(0x15f)]('\x0d\x0a')+_0x28f79a(0x28b)+_0x1d8056);}function _0x1d7e69(_0x9a6276,_0x5c01d1,_0x2f978c,_0x598d33,_0x3df7ba){const _0x44b1b9=_0x2b134f;if(_0x9a6276[_0x44b1b9(0x2c5)]('wsClientError')){const _0x21ac6c=new Error(_0x3df7ba);Error[_0x44b1b9(0x2cf)](_0x21ac6c,_0x1d7e69),_0x9a6276['emit'](_0x44b1b9(0x2a8),_0x21ac6c,_0x2f978c,_0x5c01d1);}else _0x122179(_0x2f978c,_0x598d33,_0x3df7ba);}return Te;}er();var tr=Object[_0x30831e(0x2d0)],rr=(_0x20b333,_0x186c43,_0x46e7e7,_0x11a2ec)=>{const _0x32329d=_0x30831e;for(var _0x15ad4d=_0x11a2ec>0x1?void 0x0:_0x11a2ec?tr(_0x186c43,_0x46e7e7):_0x186c43,_0x4d60eb=_0x20b333[_0x32329d(0x2ba)]-0x1,_0x23e237;_0x4d60eb>=0x0;_0x4d60eb--)(_0x23e237=_0x20b333[_0x4d60eb])&&(_0x15ad4d=_0x23e237(_0x15ad4d)||_0x15ad4d);return _0x15ad4d;},sr=(_0x173294,_0x1a73ba)=>(_0xc92c7b,_0x461e48)=>_0x1a73ba(_0xc92c7b,_0x461e48,_0x173294);let Ne=class extends _0x5528cf{constructor(_0x44c375){const _0x38c668=_0x30831e;super(),this[_0x38c668(0x26c)]=_0x44c375;}[_0x30831e(0x1d4)](_0x4021dc){const _0x1cf209=_0x30831e;var _0x3577ba;const _0x59a0c2=(_0x3577ba=this[_0x1cf209(0x26c)]['getConfig'](Be))==null?void 0x0:_0x3577ba[_0x1cf209(0x177)];try{const _0x26f3f5=new Qt(_0x4021dc,{'headers':{..._0x59a0c2}}),_0xe09f54=new _0x442d2a();return{'URL':_0x4021dc,'close':(_0x3e2cbb,_0xced27b)=>{const _0x2c10df=_0x1cf209;_0x26f3f5['close'](_0x3e2cbb,_0xced27b),_0xe09f54[_0x2c10df(0x294)]();},'send':_0x5319cf=>{const _0x1c78cc=_0x1cf209;_0x26f3f5[_0x1c78cc(0x1c9)](_0x5319cf);},'open$':new _0x4847be(_0xa55af4=>{const _0x20c021=_0x1cf209,_0x45d57a=_0x40a5ad=>_0xa55af4[_0x20c021(0x182)](_0x40a5ad);_0x26f3f5[_0x20c021(0x16b)](_0x20c021(0x180),_0x45d57a),_0xe09f54[_0x20c021(0x153)](_0x5f0d6a(()=>_0x26f3f5[_0x20c021(0x16d)](_0x20c021(0x180),_0x45d57a)));})[_0x1cf209(0x164)](_0x4f97b8()),'close$':new _0x4847be(_0x3448ee=>{const _0x2a0b69=_0x1cf209,_0x55148a=_0x19e902=>_0x3448ee[_0x2a0b69(0x182)](_0x19e902);_0x26f3f5[_0x2a0b69(0x16b)](_0x2a0b69(0x228),_0x55148a),_0xe09f54[_0x2a0b69(0x153)](_0x5f0d6a(()=>_0x26f3f5[_0x2a0b69(0x16d)](_0x2a0b69(0x228),_0x55148a)));})[_0x1cf209(0x164)](_0x4f97b8()),'error$':new _0x4847be(_0x25d2b9=>{const _0x54a082=_0x1cf209,_0x28f62a=_0x401355=>_0x25d2b9[_0x54a082(0x182)](_0x401355);_0x26f3f5[_0x54a082(0x16b)](_0x54a082(0x271),_0x28f62a),_0xe09f54[_0x54a082(0x153)](_0x5f0d6a(()=>_0x26f3f5['removeEventListener'](_0x54a082(0x271),_0x28f62a)));})[_0x1cf209(0x164)](_0x4f97b8()),'message$':new _0x4847be(_0x1de5cd=>{const _0xb9fa65=_0x1cf209,_0x38b509=_0x3a631d=>_0x1de5cd['next'](_0x3a631d);_0x26f3f5[_0xb9fa65(0x16b)](_0xb9fa65(0x2ee),_0x38b509),_0xe09f54['add'](_0x5f0d6a(()=>_0x26f3f5[_0xb9fa65(0x16d)](_0xb9fa65(0x2ee),_0x38b509)));})[_0x1cf209(0x164)](_0x4f97b8())};}catch(_0x3db356){return console[_0x1cf209(0x271)](_0x3db356),null;}}};Ne=rr([sr(0x0,_0x117d11)],Ne);var ir=Object[_0x30831e(0x207)],nr=Object[_0x30831e(0x2d0)],or=(_0x28c316,_0xe3f4f5,_0x3f8377)=>_0xe3f4f5 in _0x28c316?ir(_0x28c316,_0xe3f4f5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3f8377}):_0x28c316[_0xe3f4f5]=_0x3f8377,ar=(_0x22d91a,_0x1a1ab8,_0x4d6857,_0x8157a7)=>{const _0x1ac8a5=_0x30831e;for(var _0x24883f=_0x8157a7>0x1?void 0x0:_0x8157a7?nr(_0x1a1ab8,_0x4d6857):_0x1a1ab8,_0x33c73d=_0x22d91a[_0x1ac8a5(0x2ba)]-0x1,_0x2e9da9;_0x33c73d>=0x0;_0x33c73d--)(_0x2e9da9=_0x22d91a[_0x33c73d])&&(_0x24883f=_0x2e9da9(_0x24883f)||_0x24883f);return _0x24883f;},ke=(_0x1a99ed,_0x4a9565)=>(_0x2f6ee3,_0x440e3c)=>_0x4a9565(_0x2f6ee3,_0x440e3c,_0x1a99ed),lr=(_0x33c82d,_0x3e6a7b,_0x17b426)=>or(_0x33c82d,_0x3e6a7b+'',_0x17b426);function _0x597f(_0xddeada,_0xf91eb0){const _0x4fc18e=_0x4fc1();return _0x597f=function(_0x597f79,_0x291976){_0x597f79=_0x597f79-0x147;let _0x5622bb=_0x4fc18e[_0x597f79];return _0x5622bb;},_0x597f(_0xddeada,_0xf91eb0);}let Pe=class extends _0x221961{constructor(_0x2ca5b8=Ft,_0xb2c1be,_0x154678,_0x2acb3e){const _0x57fd92=_0x30831e;_0x2ca5b8[_0x57fd92(0x177)]||_0xb2c1be['warn'](_0x57fd92(0x249)),super(),this[_0x57fd92(0x26c)]=_0x154678,this[_0x57fd92(0x178)]=_0x2acb3e,this[_0x57fd92(0x26c)][_0x57fd92(0x270)](Be,_0x2ca5b8);}[_0x30831e(0x1a3)](){const _0x9e76da=_0x30831e;this[_0x9e76da(0x275)]();}['_registerDependencies'](){const _0x53362f=_0x30831e;_0x2e21a1(this[_0x53362f(0x178)],[[_0x2c9444,{'useClass':Ne}]]);}};lr(Pe,_0x30831e(0x1b0),_0x30831e(0x210)),Pe=ar([_0x4e949f(_0x205c1d),ke(0x1,_0x275fe7),ke(0x2,_0x117d11),ke(0x3,_0x16c12d(_0x463048))],Pe);var fr=Object['getOwnPropertyDescriptor'],cr=(_0x4c243f,_0x612a12,_0x5a650e,_0x53dd1f)=>{const _0x4fe9a6=_0x30831e;for(var _0x33c956=_0x53dd1f>0x1?void 0x0:_0x53dd1f?fr(_0x612a12,_0x5a650e):_0x612a12,_0x1ae378=_0x4c243f[_0x4fe9a6(0x2ba)]-0x1,_0x3c8c39;_0x1ae378>=0x0;_0x1ae378--)(_0x3c8c39=_0x4c243f[_0x1ae378])&&(_0x33c956=_0x3c8c39(_0x33c956)||_0x33c956);return _0x33c956;},se=(_0x5080b4,_0xa54104)=>(_0x3e169f,_0x3f0646)=>_0xa54104(_0x3e169f,_0x3f0646,_0x5080b4);let at=class extends _0x3d1c33{constructor(_0x558814,_0x1fb991,_0x3b6149,_0x5a82f0,_0x26e5c3){const _0x6bb290=_0x30831e;super(_0x558814,_0x1fb991,_0x3b6149,_0x5a82f0,_0x26e5c3);const _0x4de977=this[_0x6bb290(0x26c)][_0x6bb290(0x193)](Be);this[_0x6bb290(0x1fe)][_0x6bb290(0x197)]({'interceptor':(_0x583701,_0x2b0ff6)=>{const _0xcafd3d=_0x6bb290;var _0x398a88;const _0xb88f41=_0x583701['headers'];return(_0x398a88=_0x4de977==null?void 0x0:_0x4de977[_0xcafd3d(0x177)])!=null&&_0x398a88[_0xcafd3d(0x244)]&&_0xb88f41[_0xcafd3d(0x1b3)](_0xcafd3d(0x224),_0x4de977[_0xcafd3d(0x177)][_0xcafd3d(0x244)]),_0x2b0ff6(_0x583701);}});}async[_0x30831e(0x1d4)](_0x32ae10){return this['_doCreateSocket'](_0x32ae10);}};at=cr([se(0x0,_0x16c12d(_0x463048)),se(0x1,_0x16c12d(_0x38b0b7)),se(0x2,_0x117d11),se(0x3,_0x275fe7),se(0x4,_0x2ad5a5)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
1
+ const _0x1ee84f=_0x8f2c;(function(_0x68d089,_0x16ff48){const _0x2dd057=_0x8f2c,_0x80c6e8=_0x68d089();while(!![]){try{const _0x44ee76=parseInt(_0x2dd057(0x389))/0x1+parseInt(_0x2dd057(0x2ef))/0x2+parseInt(_0x2dd057(0x1f3))/0x3+parseInt(_0x2dd057(0x2b0))/0x4+parseInt(_0x2dd057(0x28e))/0x5*(-parseInt(_0x2dd057(0x373))/0x6)+-parseInt(_0x2dd057(0x24b))/0x7*(parseInt(_0x2dd057(0x2c5))/0x8)+-parseInt(_0x2dd057(0x34c))/0x9*(parseInt(_0x2dd057(0x34a))/0xa);if(_0x44ee76===_0x16ff48)break;else _0x80c6e8['push'](_0x80c6e8['shift']());}catch(_0x491c4e){_0x80c6e8['push'](_0x80c6e8['shift']());}}}(_0x1584,0x93f43));import{UniverCollaborationClientPlugin as _0x2a465c,CollaborationSocketService as _0x74ca60}from'@univerjs-pro/collaboration-client';import{Disposable as _0x1d8789,DisposableCollection as _0x1e08fa,toDisposable as _0x2b1439,IConfigService as _0x4975c4,DependentOn as _0x3e9ee6,ILogService as _0x2a141b,Inject as _0x5eb814,Injector as _0x4964af,Plugin as _0xc95fdd,registerDependencies as _0x28aa56}from'@univerjs/core';import{ISocketService as _0x5e6b37,HTTPService as _0x458821}from'@univerjs/network';import{Observable as _0x3bc0c8,share as _0x120ad7}from'rxjs';import _0x585b11 from'events';import _0x2fd1b4 from'https';import _0x17586c from'http';import _0x424bbb from'net';import _0x2008ca from'tls';import _0x15ac28 from'crypto';import _0x1bb23d from'stream';import _0x376499 from'url';import _0x32b9ee from'zlib';import _0x3e4edc from'buffer';import{ISnapshotServerService as _0x28c148}from'@univerjs-pro/collaboration';const Be=_0x1ee84f(0x288),Ft={'customHeaders':{}};function jt(_0x47cd6d){const _0x138ae0=_0x1ee84f;return _0x47cd6d&&_0x47cd6d['__esModule']&&Object[_0x138ae0(0x346)][_0x138ae0(0x37e)][_0x138ae0(0x207)](_0x47cd6d,'default')?_0x47cd6d[_0x138ae0(0x243)]:_0x47cd6d;}function ut(_0x4f0f02){const _0x301cbb=_0x1ee84f;if(Object[_0x301cbb(0x346)][_0x301cbb(0x37e)][_0x301cbb(0x207)](_0x4f0f02,_0x301cbb(0x30c)))return _0x4f0f02;var _0x4306fa=_0x4f0f02[_0x301cbb(0x243)];if(typeof _0x4306fa==_0x301cbb(0x2b2)){var _0x36d4db=function _0x40c704(){const _0x5639ee=_0x301cbb;return this instanceof _0x40c704?Reflect[_0x5639ee(0x37f)](_0x4306fa,arguments,this[_0x5639ee(0x2ff)]):_0x4306fa['apply'](this,arguments);};_0x36d4db[_0x301cbb(0x346)]=_0x4306fa[_0x301cbb(0x346)];}else _0x36d4db={};return Object[_0x301cbb(0x304)](_0x36d4db,'__esModule',{'value':!0x0}),Object[_0x301cbb(0x36b)](_0x4f0f02)[_0x301cbb(0x2d2)](function(_0x464f26){const _0x21200e=_0x301cbb;var _0x252b20=Object[_0x21200e(0x280)](_0x4f0f02,_0x464f26);Object[_0x21200e(0x304)](_0x36d4db,_0x464f26,_0x252b20[_0x21200e(0x26c)]?_0x252b20:{'enumerable':!0x0,'get':function(){return _0x4f0f02[_0x464f26];}});}),_0x36d4db;}var te={'exports':{}},ge,Ye;function V(){const _0xa73160=_0x1ee84f;if(Ye)return ge;Ye=0x1;const _0x221ca9=[_0xa73160(0x34b),_0xa73160(0x212),_0xa73160(0x2ab)],_0x3c69cd=typeof Blob<'u';return _0x3c69cd&&_0x221ca9[_0xa73160(0x30a)](_0xa73160(0x2a7)),ge={'BINARY_TYPES':_0x221ca9,'EMPTY_BUFFER':Buffer[_0xa73160(0x265)](0x0),'GUID':_0xa73160(0x36d),'hasBlob':_0x3c69cd,'kForOnEventAttribute':Symbol(_0xa73160(0x261)),'kListener':Symbol(_0xa73160(0x2c6)),'kStatusCode':Symbol('status-code'),'kWebSocket':Symbol('websocket'),'NOOP':()=>{}},ge;}function _0x1584(){const _0x7b3e9f=['client','enqueue','sec-websocket-key','readable','_write','Sec-WebSocket-Accept:\x20','_no_context_takeover','_mask','isPaused','Connection:\x20Upgrade','hostname','close','defaultPort','handleUpgrade','unshift','_sender','parse','isView','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','onclose','readyState','dequeue','encrypted','pow','normalizeParams','readOnly','_messageLength','_maxPayload','_injector','prototype','_originalIpc','_fragmented','location','510xeTiQt','nodebuffer','54963gcgdGX','clientNoContextTakeover','fin','readUInt16BE','\x22\x20must\x20have\x20only\x20a\x20single\x20value','consume','zlibInflateOptions','_closeCode','digest','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','find','nextTick','Invalid\x20Sec-WebSocket-Accept\x20header','next','ping','setNoDelay','clients','extensionName','_final','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','username','HTTP/1.1\x20','_closeFrameSent','websocket','getBlobData','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','apply','message','finishRequest','Z_SYNC_FLUSH','WS_NO_BUFFER_UTIL','keys','MASK\x20must\x20be\x20clear','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','kType','_socket','clientTracking','Upgrade','concurrencyLimit','513834xMbhoo','has','Unknown\x20parameter\x20\x22','from','MASK\x20must\x20be\x20set','offer','WS_ERR_EXPECTED_FIN','_compressed','WS_ERR_INVALID_UTF8','\x22\x20subprotocol\x20is\x20duplicated','_closeTimer','hasOwnProperty','construct','haveLength','kCode','rsv1','headers','Max\x20payload\x20size\x20exceeded','write','server_no_context_takeover','invalid\x20UTF-8\x20sequence','Invalid\x20HTTP\x20method','196234VUUhKS','finished','createSocket','socketPath','noServer','OPEN','WebSocket\x20is\x20not\x20open:\x20readyState\x20','Invalid\x20Sec-WebSocket-Extensions\x20header','string','_max_window_bits','binary','serverMaxWindowBits','protocolVersion','errorEmitted','_configService','open','object','connect','listen','buffers','_skipUTF8Validation','_redirects','_paused','isArray','Sec-WebSocket-Origin','\x0d\x0a\x0d\x0a','_removeListeners','completeUpgrade','statusCode','2816823SwgLBZ','cleanup','listening','allocUnsafe','Maximum\x20redirects\x20exceeded','invalid\x20opcode\x20','_destroy','includes','_buffers','threshold','href','needDrain','_shouldEmitClose','controlMessage','Server\x20sent\x20no\x20subprotocol','wss:','allowSynchronousEvents','kTarget','pong','bind','call','RSV1\x20must\x20be\x20clear','_binaryType','_totalPayloadLength','_bufferedBytes','onmessage','drain','read','server','frame','removeAllListeners','arraybuffer','onopen','\x22:\x20','isInteger','params','writable','maxPayload','Sec-WebSocket-Protocol','removeEventListener','target','species','host','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','onerror','_closeMessage','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','_url','_fin','port','_firstFragment','response','request','callback','toStringTag','https:','total-length','WS_ERR_INVALID_OPCODE','authorization','destroy','pluginName','_state','customHeaders','The\x20server\x20is\x20not\x20running','_threshold','wasClean','Module','setTimeout','sha1','acceptAsClient','_queue','binaryType','_read','number','toString','abort','stream','serverNoContextTakeover','_deflate','path','default','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','base64','writeUIntBE','warn','finish','cork','14lvRceR','zlibDeflateOptions','conclude','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','_registerDependencies','end','authorized','toLowerCase','ws+unix:','CLOSED','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','_payloadLength','send','exports','_loop','set','origin','dataMessage','_masked','sec-websocket-extensions','_isServer','_httpService','kIsForOnEventAttribute','_compress','data','readUInt32BE','alloc','permessage-deflate','CLOSING','opcode','getPayloadLength64','backlog','WS_ERR_INVALID_CLOSE_CODE','get','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','_extensions','_autoPong','_maskBuffer','arrayBuffer','destroyed','_options','mask','onStarting','_fragments','decompress','dispose','flush','entries','createInflateRaw','createError','createConnection','_writableState','code','getOwnPropertyDescriptor','captureStackTrace','isIP','_inflate','File','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','buffer','concat','collaboration-client-node.config','_receiver','objectMode','perMessageDeflate','listenerCount','_generateMask','55bqkKhR','env','acceptAsServer','slice','handleProtocols','_opcode','emitClose','size','sec-websocket-protocol','shouldHandle','startsWith','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','sendFrame','dispatch','client_max_window_bits','type','Unexpected\x20character\x20at\x20index\x20','_originalHostOrSocketPath','pause','_req','text/plain','pending','WS_ERR_UNEXPECTED_RSV_1','extensions','The\x20URL\x20contains\x20a\x20fragment\x20identifier','blob','Server\x20sent\x20an\x20invalid\x20subprotocol','jobs','replace','fragments','getData','_errored','update','autoPong','2915916kQnADu','concurrency','function','kRun','kWasClean','startLoop','upgrade','maxRedirects','generateMask','getMask','servername','delete','Invalid\x20Upgrade\x20header','options','_readableState','reset','url','The\x20URL\x27s\x20pathname\x20is\x20empty','listeners','_readyState','CONNECTING','1782856MlnOEp','kListener','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','FIN\x20must\x20be\x20set','accept','createDeflateRaw','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','clientMaxWindowBits','STATUS_CODES','timeout','error','GET','shift','forEach','_errorEmitted','The\x20\x22','uncork','_protocol','ws:','WS_NO_UTF_8_VALIDATE','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','kReason','Unexpected\x20end\x20of\x20input','pathname','_server','cookie','WS_ERR_UNEXPECTED_RSV_2_3','reason','isServer','_closeFrameReceived','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','handleEvent','address','Invalid\x20URL:\x20','skipUTF8Validation','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','charCodeAt','unexpected-response','kMessage','server_max_window_bits','setSocket','882130KttmYI','_decompress','getConfig','getInfo','Invalid\x20WebSocket\x20frame:\x20','verifyClient','getPayloadLength16','_allowSynchronousEvents','bufferedAmount','redirect','protocol','resume','socket','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','Cookie','constructor','Invalid\x20value\x20for\x20parameter\x20\x22','freeze','_originalSecure','WS_ERR_EXPECTED_MASK','defineProperty','kData','Sec-WebSocket-Extensions:\x20','indexOf','map','create','push','emit','__esModule','add','terminate','kByteLength','createServer','compress','Blob','WebSocket','length','client_no_context_takeover','_bufferedAmount','byteOffset','kDone','handshakeTimeout','values','pipe','Upgrade:\x20websocket','join','addEventListener','endEmitted','once','isValidUTF8','Sec-WebSocket-Extensions','test','byteLength','wsClientError','removeListener','auth'];_0x1584=function(){return _0x7b3e9f;};return _0x1584();}const Wt={},Gt=Object[_0x1ee84f(0x301)](Object['defineProperty']({'__proto__':null,'default':Wt},Symbol[_0x1ee84f(0x229)],{'value':_0x1ee84f(0x235)})),Vt=ut(Gt);var Ke;function ce(){const _0x2ed059=_0x1ee84f;if(Ke)return te[_0x2ed059(0x258)];Ke=0x1;const {EMPTY_BUFFER:_0x52cb6b}=V(),_0x29993a=Buffer[Symbol[_0x2ed059(0x21c)]];function _0x105ea3(_0x568988,_0x1a40b1){const _0x177f5c=_0x2ed059;if(_0x568988[_0x177f5c(0x314)]===0x0)return _0x52cb6b;if(_0x568988[_0x177f5c(0x314)]===0x1)return _0x568988[0x0];const _0x7ad6d2=Buffer['allocUnsafe'](_0x1a40b1);let _0x4c8dfd=0x0;for(let _0x58e607=0x0;_0x58e607<_0x568988[_0x177f5c(0x314)];_0x58e607++){const _0x2612ac=_0x568988[_0x58e607];_0x7ad6d2[_0x177f5c(0x25a)](_0x2612ac,_0x4c8dfd),_0x4c8dfd+=_0x2612ac[_0x177f5c(0x314)];}return _0x4c8dfd<_0x1a40b1?new _0x29993a(_0x7ad6d2[_0x177f5c(0x286)],_0x7ad6d2[_0x177f5c(0x317)],_0x4c8dfd):_0x7ad6d2;}function _0x45a14a(_0x2c2c91,_0x332669,_0x10a8e5,_0xd43128,_0x5a8c76){for(let _0x13eb21=0x0;_0x13eb21<_0x5a8c76;_0x13eb21++)_0x10a8e5[_0xd43128+_0x13eb21]=_0x2c2c91[_0x13eb21]^_0x332669[_0x13eb21&0x3];}function _0x36eb5f(_0x5e6d04,_0x2f358e){const _0x4095d5=_0x2ed059;for(let _0xbe4a84=0x0;_0xbe4a84<_0x5e6d04[_0x4095d5(0x314)];_0xbe4a84++)_0x5e6d04[_0xbe4a84]^=_0x2f358e[_0xbe4a84&0x3];}function _0x745143(_0x48b3e5){const _0x4f8210=_0x2ed059;return _0x48b3e5[_0x4f8210(0x314)]===_0x48b3e5[_0x4f8210(0x286)]['byteLength']?_0x48b3e5[_0x4f8210(0x286)]:_0x48b3e5[_0x4f8210(0x286)][_0x4f8210(0x291)](_0x48b3e5[_0x4f8210(0x317)],_0x48b3e5['byteOffset']+_0x48b3e5[_0x4f8210(0x314)]);}function _0x38e9b2(_0x255edf){const _0xe689b7=_0x2ed059;if(_0x38e9b2[_0xe689b7(0x342)]=!0x0,Buffer['isBuffer'](_0x255edf))return _0x255edf;let _0x42e321;return _0x255edf instanceof ArrayBuffer?_0x42e321=new _0x29993a(_0x255edf):ArrayBuffer[_0xe689b7(0x339)](_0x255edf)?_0x42e321=new _0x29993a(_0x255edf[_0xe689b7(0x286)],_0x255edf[_0xe689b7(0x317)],_0x255edf[_0xe689b7(0x324)]):(_0x42e321=Buffer['from'](_0x255edf),_0x38e9b2[_0xe689b7(0x342)]=!0x1),_0x42e321;}if(te[_0x2ed059(0x258)]={'concat':_0x105ea3,'mask':_0x45a14a,'toArrayBuffer':_0x745143,'toBuffer':_0x38e9b2,'unmask':_0x36eb5f},!process[_0x2ed059(0x28f)][_0x2ed059(0x36a)])try{const _0x10375d=Vt;te[_0x2ed059(0x258)][_0x2ed059(0x274)]=function(_0x2e42b6,_0x483f51,_0x567d6e,_0x29318a,_0x5f2ce6){const _0x51b3e4=_0x2ed059;_0x5f2ce6<0x30?_0x45a14a(_0x2e42b6,_0x483f51,_0x567d6e,_0x29318a,_0x5f2ce6):_0x10375d[_0x51b3e4(0x274)](_0x2e42b6,_0x483f51,_0x567d6e,_0x29318a,_0x5f2ce6);},te[_0x2ed059(0x258)]['unmask']=function(_0x4f488c,_0x15876){const _0x3da0ea=_0x2ed059;_0x4f488c[_0x3da0ea(0x314)]<0x20?_0x36eb5f(_0x4f488c,_0x15876):_0x10375d['unmask'](_0x4f488c,_0x15876);};}catch{}return te[_0x2ed059(0x258)];}var ye,Xe;function qt(){const _0x1350ef=_0x1ee84f;if(Xe)return ye;Xe=0x1;const _0x145ffd=Symbol(_0x1350ef(0x318)),_0x44578f=Symbol(_0x1350ef(0x2b3));class _0x3912d9{constructor(_0x478f1f){const _0x57dad4=_0x1350ef;this[_0x145ffd]=()=>{const _0x46aa4e=_0x8f2c;this[_0x46aa4e(0x2a3)]--,this[_0x44578f]();},this[_0x57dad4(0x2b1)]=_0x478f1f||0x1/0x0,this['jobs']=[],this[_0x57dad4(0x2a3)]=0x0;}[_0x1350ef(0x30d)](_0x3f777f){const _0x47c7b4=_0x1350ef;this[_0x47c7b4(0x2a9)][_0x47c7b4(0x30a)](_0x3f777f),this[_0x44578f]();}[_0x44578f](){const _0x2468db=_0x1350ef;if(this[_0x2468db(0x2a3)]!==this[_0x2468db(0x2b1)]&&this['jobs'][_0x2468db(0x314)]){const _0x93402b=this[_0x2468db(0x2a9)][_0x2468db(0x2d1)]();this[_0x2468db(0x2a3)]++,_0x93402b(this[_0x145ffd]);}}}return ye=_0x3912d9,ye;}var ve,Ze;function he(){const _0x318cbd=_0x1ee84f;if(Ze)return ve;Ze=0x1;const _0xba6cc5=_0x32b9ee,_0x1bc3c6=ce(),_0xd798c7=qt(),{kStatusCode:_0x37c75d}=V(),_0x20c7bd=Buffer[Symbol[_0x318cbd(0x21c)]],_0x5ff13b=Buffer[_0x318cbd(0x376)]([0x0,0x0,0xff,0xff]),_0x503310=Symbol(_0x318cbd(0x266)),_0x23ed38=Symbol(_0x318cbd(0x22b)),_0x65a7d9=Symbol(_0x318cbd(0x228)),_0x4e94ff=Symbol(_0x318cbd(0x1e9)),_0x1cdb79=Symbol('error');let _0x5020f5;class _0x129803{constructor(_0x1b0dfc,_0x1f8376,_0x3840b1){const _0x1be198=_0x318cbd;if(this['_maxPayload']=_0x3840b1|0x0,this['_options']=_0x1b0dfc||{},this[_0x1be198(0x233)]=this[_0x1be198(0x273)][_0x1be198(0x1fc)]!==void 0x0?this[_0x1be198(0x273)]['threshold']:0x400,this[_0x1be198(0x25f)]=!!_0x1f8376,this[_0x1be198(0x241)]=null,this[_0x1be198(0x283)]=null,this[_0x1be198(0x216)]=null,!_0x5020f5){const _0x8c8aba=this['_options'][_0x1be198(0x372)]!==void 0x0?this[_0x1be198(0x273)][_0x1be198(0x372)]:0xa;_0x5020f5=new _0xd798c7(_0x8c8aba);}}static get[_0x318cbd(0x35d)](){return'permessage-deflate';}['offer'](){const _0x3881ed=_0x318cbd,_0x58310c={};return this['_options'][_0x3881ed(0x240)]&&(_0x58310c[_0x3881ed(0x386)]=!0x0),this['_options'][_0x3881ed(0x34d)]&&(_0x58310c['client_no_context_takeover']=!0x0),this['_options']['serverMaxWindowBits']&&(_0x58310c[_0x3881ed(0x2ed)]=this[_0x3881ed(0x273)][_0x3881ed(0x1e1)]),this[_0x3881ed(0x273)]['clientMaxWindowBits']?_0x58310c['client_max_window_bits']=this[_0x3881ed(0x273)][_0x3881ed(0x2cc)]:this[_0x3881ed(0x273)][_0x3881ed(0x2cc)]==null&&(_0x58310c['client_max_window_bits']=!0x0),_0x58310c;}[_0x318cbd(0x2c9)](_0x2ad629){const _0x424c14=_0x318cbd;return _0x2ad629=this[_0x424c14(0x341)](_0x2ad629),this[_0x424c14(0x216)]=this['_isServer']?this[_0x424c14(0x290)](_0x2ad629):this['acceptAsClient'](_0x2ad629),this[_0x424c14(0x216)];}[_0x318cbd(0x1f4)](){const _0x23ea64=_0x318cbd;if(this[_0x23ea64(0x283)]&&(this[_0x23ea64(0x283)]['close'](),this[_0x23ea64(0x283)]=null),this['_deflate']){const _0x3f2223=this['_deflate'][_0x65a7d9];this[_0x23ea64(0x241)]['close'](),this['_deflate']=null,_0x3f2223&&_0x3f2223(new Error(_0x23ea64(0x2fc)));}}[_0x318cbd(0x290)](_0x3e7103){const _0x3639bd=_0x318cbd,_0x89c54f=this[_0x3639bd(0x273)],_0x310352=_0x3e7103[_0x3639bd(0x356)](_0x2a8b8e=>!(_0x89c54f[_0x3639bd(0x240)]===!0x1&&_0x2a8b8e[_0x3639bd(0x386)]||_0x2a8b8e[_0x3639bd(0x2ed)]&&(_0x89c54f[_0x3639bd(0x1e1)]===!0x1||typeof _0x89c54f[_0x3639bd(0x1e1)]==_0x3639bd(0x23c)&&_0x89c54f[_0x3639bd(0x1e1)]>_0x2a8b8e[_0x3639bd(0x2ed)])||typeof _0x89c54f['clientMaxWindowBits']==_0x3639bd(0x23c)&&!_0x2a8b8e[_0x3639bd(0x29c)]));if(!_0x310352)throw new Error('None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted');return _0x89c54f['serverNoContextTakeover']&&(_0x310352[_0x3639bd(0x386)]=!0x0),_0x89c54f[_0x3639bd(0x34d)]&&(_0x310352[_0x3639bd(0x315)]=!0x0),typeof _0x89c54f[_0x3639bd(0x1e1)]==_0x3639bd(0x23c)&&(_0x310352[_0x3639bd(0x2ed)]=_0x89c54f[_0x3639bd(0x1e1)]),typeof _0x89c54f[_0x3639bd(0x2cc)]==_0x3639bd(0x23c)?_0x310352[_0x3639bd(0x29c)]=_0x89c54f[_0x3639bd(0x2cc)]:(_0x310352[_0x3639bd(0x29c)]===!0x0||_0x89c54f[_0x3639bd(0x2cc)]===!0x1)&&delete _0x310352['client_max_window_bits'],_0x310352;}[_0x318cbd(0x238)](_0x42d6a0){const _0x5a6e2f=_0x318cbd,_0x21fde1=_0x42d6a0[0x0];if(this[_0x5a6e2f(0x273)][_0x5a6e2f(0x34d)]===!0x1&&_0x21fde1['client_no_context_takeover'])throw new Error('Unexpected\x20parameter\x20\x22client_no_context_takeover\x22');if(!_0x21fde1[_0x5a6e2f(0x29c)])typeof this[_0x5a6e2f(0x273)][_0x5a6e2f(0x2cc)]=='number'&&(_0x21fde1['client_max_window_bits']=this[_0x5a6e2f(0x273)][_0x5a6e2f(0x2cc)]);else{if(this[_0x5a6e2f(0x273)][_0x5a6e2f(0x2cc)]===!0x1||typeof this[_0x5a6e2f(0x273)][_0x5a6e2f(0x2cc)]==_0x5a6e2f(0x23c)&&_0x21fde1[_0x5a6e2f(0x29c)]>this['_options'][_0x5a6e2f(0x2cc)])throw new Error('Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22');}return _0x21fde1;}['normalizeParams'](_0x29bb05){return _0x29bb05['forEach'](_0x3b1c31=>{const _0x3b1079=_0x8f2c;Object[_0x3b1079(0x36b)](_0x3b1c31)['forEach'](_0x5bc6b7=>{const _0x209d0a=_0x3b1079;let _0x530081=_0x3b1c31[_0x5bc6b7];if(_0x530081[_0x209d0a(0x314)]>0x1)throw new Error('Parameter\x20\x22'+_0x5bc6b7+_0x209d0a(0x350));if(_0x530081=_0x530081[0x0],_0x5bc6b7===_0x209d0a(0x29c)){if(_0x530081!==!0x0){const _0xd5a734=+_0x530081;if(!Number[_0x209d0a(0x215)](_0xd5a734)||_0xd5a734<0x8||_0xd5a734>0xf)throw new TypeError(_0x209d0a(0x300)+_0x5bc6b7+_0x209d0a(0x214)+_0x530081);_0x530081=_0xd5a734;}else{if(!this[_0x209d0a(0x25f)])throw new TypeError(_0x209d0a(0x300)+_0x5bc6b7+'\x22:\x20'+_0x530081);}}else{if(_0x5bc6b7===_0x209d0a(0x2ed)){const _0x185287=+_0x530081;if(!Number[_0x209d0a(0x215)](_0x185287)||_0x185287<0x8||_0x185287>0xf)throw new TypeError(_0x209d0a(0x300)+_0x5bc6b7+_0x209d0a(0x214)+_0x530081);_0x530081=_0x185287;}else{if(_0x5bc6b7===_0x209d0a(0x315)||_0x5bc6b7===_0x209d0a(0x386)){if(_0x530081!==!0x0)throw new TypeError(_0x209d0a(0x300)+_0x5bc6b7+_0x209d0a(0x214)+_0x530081);}else throw new Error(_0x209d0a(0x375)+_0x5bc6b7+'\x22');}}_0x3b1c31[_0x5bc6b7]=_0x530081;});}),_0x29bb05;}[_0x318cbd(0x277)](_0x41c5bb,_0x428e75,_0x1f920e){_0x5020f5['add'](_0x5f18ef=>{const _0x1e7691=_0x8f2c;this[_0x1e7691(0x2f0)](_0x41c5bb,_0x428e75,(_0x34fb2c,_0x6f359a)=>{_0x5f18ef(),_0x1f920e(_0x34fb2c,_0x6f359a);});});}['compress'](_0x45f451,_0x523beb,_0x41d41f){const _0x256c34=_0x318cbd;_0x5020f5[_0x256c34(0x30d)](_0x400f04=>{this['_compress'](_0x45f451,_0x523beb,(_0x6a9854,_0xfbe77c)=>{_0x400f04(),_0x41d41f(_0x6a9854,_0xfbe77c);});});}[_0x318cbd(0x2f0)](_0x21808b,_0x127d87,_0x40f55e){const _0x599d7c=_0x318cbd,_0xe97eb8=this[_0x599d7c(0x25f)]?_0x599d7c(0x328):_0x599d7c(0x20f);if(!this['_inflate']){const _0x27a326=_0xe97eb8+'_max_window_bits',_0x42da28=typeof this[_0x599d7c(0x216)][_0x27a326]!=_0x599d7c(0x23c)?_0xba6cc5['Z_DEFAULT_WINDOWBITS']:this[_0x599d7c(0x216)][_0x27a326];this['_inflate']=_0xba6cc5[_0x599d7c(0x27b)]({...this[_0x599d7c(0x273)][_0x599d7c(0x352)],'windowBits':_0x42da28}),this[_0x599d7c(0x283)][_0x503310]=this,this[_0x599d7c(0x283)][_0x23ed38]=0x0,this['_inflate'][_0x4e94ff]=[],this['_inflate']['on']('error',_0xc23f31),this['_inflate']['on'](_0x599d7c(0x263),_0x456dfd);}this[_0x599d7c(0x283)][_0x65a7d9]=_0x40f55e,this[_0x599d7c(0x283)][_0x599d7c(0x385)](_0x21808b),_0x127d87&&this[_0x599d7c(0x283)]['write'](_0x5ff13b),this['_inflate']['flush'](()=>{const _0x21681c=_0x599d7c,_0x3b0068=this[_0x21681c(0x283)][_0x1cdb79];if(_0x3b0068){this[_0x21681c(0x283)][_0x21681c(0x333)](),this[_0x21681c(0x283)]=null,_0x40f55e(_0x3b0068);return;}const _0xb2b7c1=_0x1bc3c6[_0x21681c(0x287)](this[_0x21681c(0x283)][_0x4e94ff],this[_0x21681c(0x283)][_0x23ed38]);this[_0x21681c(0x283)][_0x21681c(0x2be)][_0x21681c(0x31f)]?(this[_0x21681c(0x283)][_0x21681c(0x333)](),this[_0x21681c(0x283)]=null):(this[_0x21681c(0x283)][_0x23ed38]=0x0,this[_0x21681c(0x283)][_0x4e94ff]=[],_0x127d87&&this[_0x21681c(0x216)][_0xe97eb8+'_no_context_takeover']&&this[_0x21681c(0x283)][_0x21681c(0x2bf)]()),_0x40f55e(null,_0xb2b7c1);});}[_0x318cbd(0x262)](_0x3a8c8c,_0x593a2b,_0x79dd82){const _0x18602d=_0x318cbd,_0x2bb390=this[_0x18602d(0x25f)]?_0x18602d(0x20f):'client';if(!this['_deflate']){const _0x5c7fe5=_0x2bb390+_0x18602d(0x1df),_0x353048=typeof this[_0x18602d(0x216)][_0x5c7fe5]!=_0x18602d(0x23c)?_0xba6cc5['Z_DEFAULT_WINDOWBITS']:this['params'][_0x5c7fe5];this[_0x18602d(0x241)]=_0xba6cc5[_0x18602d(0x2ca)]({...this['_options'][_0x18602d(0x24c)],'windowBits':_0x353048}),this[_0x18602d(0x241)][_0x23ed38]=0x0,this[_0x18602d(0x241)][_0x4e94ff]=[],this['_deflate']['on'](_0x18602d(0x263),_0x5425e2);}this[_0x18602d(0x241)][_0x65a7d9]=_0x79dd82,this[_0x18602d(0x241)][_0x18602d(0x385)](_0x3a8c8c),this[_0x18602d(0x241)][_0x18602d(0x279)](_0xba6cc5[_0x18602d(0x369)],()=>{const _0xf32c6a=_0x18602d;if(!this[_0xf32c6a(0x241)])return;let _0x735994=_0x1bc3c6[_0xf32c6a(0x287)](this[_0xf32c6a(0x241)][_0x4e94ff],this['_deflate'][_0x23ed38]);_0x593a2b&&(_0x735994=new _0x20c7bd(_0x735994['buffer'],_0x735994['byteOffset'],_0x735994[_0xf32c6a(0x314)]-0x4)),this[_0xf32c6a(0x241)][_0x65a7d9]=null,this['_deflate'][_0x23ed38]=0x0,this['_deflate'][_0x4e94ff]=[],_0x593a2b&&this['params'][_0x2bb390+_0xf32c6a(0x32e)]&&this[_0xf32c6a(0x241)][_0xf32c6a(0x2bf)](),_0x79dd82(null,_0x735994);});}}ve=_0x129803;function _0x5425e2(_0x3ca54f){const _0x2f2756=_0x318cbd;this[_0x4e94ff][_0x2f2756(0x30a)](_0x3ca54f),this[_0x23ed38]+=_0x3ca54f['length'];}function _0x456dfd(_0x9b62a1){const _0x5d8796=_0x318cbd;if(this[_0x23ed38]+=_0x9b62a1[_0x5d8796(0x314)],this[_0x503310]['_maxPayload']<0x1||this[_0x23ed38]<=this[_0x503310]['_maxPayload']){this[_0x4e94ff][_0x5d8796(0x30a)](_0x9b62a1);return;}this[_0x1cdb79]=new RangeError(_0x5d8796(0x384)),this[_0x1cdb79][_0x5d8796(0x27f)]=_0x5d8796(0x285),this[_0x1cdb79][_0x37c75d]=0x3f1,this['removeListener'](_0x5d8796(0x263),_0x456dfd),this[_0x5d8796(0x2bf)]();}function _0xc23f31(_0x593b93){this[_0x503310]['_inflate']=null,_0x593b93[_0x37c75d]=0x3ef,this[_0x65a7d9](_0x593b93);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x1ee84f(0x301)](Object[_0x1ee84f(0x304)]({'__proto__':null,'default':Ht},Symbol[_0x1ee84f(0x229)],{'value':'Module'})),Yt=ut(zt);var Qe;function ne(){const _0x4b30a2=_0x1ee84f;if(Qe)return re[_0x4b30a2(0x258)];Qe=0x1;const {isUtf8:_0x59f734}=_0x3e4edc,{hasBlob:_0x109641}=V(),_0x435054=[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 _0x45c0d7(_0x4e8357){return _0x4e8357>=0x3e8&&_0x4e8357<=0x3f6&&_0x4e8357!==0x3ec&&_0x4e8357!==0x3ed&&_0x4e8357!==0x3ee||_0x4e8357>=0xbb8&&_0x4e8357<=0x1387;}function _0xa8aa38(_0x1eb8bd){const _0x37e9ce=_0x4b30a2,_0x519c16=_0x1eb8bd[_0x37e9ce(0x314)];let _0x25a02f=0x0;for(;_0x25a02f<_0x519c16;)if((_0x1eb8bd[_0x25a02f]&0x80)===0x0)_0x25a02f++;else{if((_0x1eb8bd[_0x25a02f]&0xe0)===0xc0){if(_0x25a02f+0x1===_0x519c16||(_0x1eb8bd[_0x25a02f+0x1]&0xc0)!==0x80||(_0x1eb8bd[_0x25a02f]&0xfe)===0xc0)return!0x1;_0x25a02f+=0x2;}else{if((_0x1eb8bd[_0x25a02f]&0xf0)===0xe0){if(_0x25a02f+0x2>=_0x519c16||(_0x1eb8bd[_0x25a02f+0x1]&0xc0)!==0x80||(_0x1eb8bd[_0x25a02f+0x2]&0xc0)!==0x80||_0x1eb8bd[_0x25a02f]===0xe0&&(_0x1eb8bd[_0x25a02f+0x1]&0xe0)===0x80||_0x1eb8bd[_0x25a02f]===0xed&&(_0x1eb8bd[_0x25a02f+0x1]&0xe0)===0xa0)return!0x1;_0x25a02f+=0x3;}else{if((_0x1eb8bd[_0x25a02f]&0xf8)===0xf0){if(_0x25a02f+0x3>=_0x519c16||(_0x1eb8bd[_0x25a02f+0x1]&0xc0)!==0x80||(_0x1eb8bd[_0x25a02f+0x2]&0xc0)!==0x80||(_0x1eb8bd[_0x25a02f+0x3]&0xc0)!==0x80||_0x1eb8bd[_0x25a02f]===0xf0&&(_0x1eb8bd[_0x25a02f+0x1]&0xf0)===0x80||_0x1eb8bd[_0x25a02f]===0xf4&&_0x1eb8bd[_0x25a02f+0x1]>0x8f||_0x1eb8bd[_0x25a02f]>0xf4)return!0x1;_0x25a02f+=0x4;}else return!0x1;}}}return!0x0;}function _0x169042(_0x1796d2){const _0x274711=_0x4b30a2;return _0x109641&&typeof _0x1796d2==_0x274711(0x1e6)&&typeof _0x1796d2[_0x274711(0x271)]==_0x274711(0x2b2)&&typeof _0x1796d2['type']==_0x274711(0x1de)&&typeof _0x1796d2[_0x274711(0x23f)]==_0x274711(0x2b2)&&(_0x1796d2[Symbol[_0x274711(0x229)]]===_0x274711(0x312)||_0x1796d2[Symbol[_0x274711(0x229)]]===_0x274711(0x284));}if(re['exports']={'isBlob':_0x169042,'isValidStatusCode':_0x45c0d7,'isValidUTF8':_0xa8aa38,'tokenChars':_0x435054},_0x59f734)re[_0x4b30a2(0x258)]['isValidUTF8']=function(_0x22d54e){const _0x4390d5=_0x4b30a2;return _0x22d54e[_0x4390d5(0x314)]<0x18?_0xa8aa38(_0x22d54e):_0x59f734(_0x22d54e);};else{if(!process[_0x4b30a2(0x28f)][_0x4b30a2(0x2d8)])try{const _0x421696=Yt;re[_0x4b30a2(0x258)][_0x4b30a2(0x321)]=function(_0x4b53a9){return _0x4b53a9['length']<0x20?_0xa8aa38(_0x4b53a9):_0x421696(_0x4b53a9);};}catch{}}return re[_0x4b30a2(0x258)];}var Se,Je;function dt(){const _0x4e3cea=_0x1ee84f;if(Je)return Se;Je=0x1;const {Writable:_0x73a876}=_0x1bb23d,_0x1f1e50=he(),{BINARY_TYPES:_0x37d51a,EMPTY_BUFFER:_0x452147,kStatusCode:_0x1eca97,kWebSocket:_0x103963}=V(),{concat:_0x1aaaef,toArrayBuffer:_0x44a20e,unmask:_0x502736}=ce(),{isValidStatusCode:_0x1ebd55,isValidUTF8:_0x535bfc}=ne(),_0xe97f9f=Buffer[Symbol[_0x4e3cea(0x21c)]],_0x58ca89=0x0,_0x4a1f64=0x1,_0xa0f994=0x2,_0x31b31d=0x3,_0x57ed49=0x4,_0x465c01=0x5,_0x289501=0x6;class _0x4357b1 extends _0x73a876{constructor(_0x56c5dc={}){const _0x425136=_0x4e3cea;super(),this['_allowSynchronousEvents']=_0x56c5dc[_0x425136(0x203)]!==void 0x0?_0x56c5dc[_0x425136(0x203)]:!0x0,this[_0x425136(0x209)]=_0x56c5dc[_0x425136(0x23a)]||_0x37d51a[0x0],this['_extensions']=_0x56c5dc['extensions']||{},this[_0x425136(0x25f)]=!!_0x56c5dc[_0x425136(0x2e2)],this[_0x425136(0x344)]=_0x56c5dc[_0x425136(0x218)]|0x0,this[_0x425136(0x1ea)]=!!_0x56c5dc[_0x425136(0x2e8)],this[_0x103963]=void 0x0,this[_0x425136(0x20b)]=0x0,this['_buffers']=[],this[_0x425136(0x37a)]=!0x1,this[_0x425136(0x256)]=0x0,this[_0x425136(0x32f)]=void 0x0,this[_0x425136(0x348)]=0x0,this[_0x425136(0x25d)]=!0x1,this[_0x425136(0x223)]=!0x1,this[_0x425136(0x293)]=0x0,this[_0x425136(0x20a)]=0x0,this[_0x425136(0x343)]=0x0,this[_0x425136(0x276)]=[],this['_errored']=!0x1,this[_0x425136(0x259)]=!0x1,this['_state']=_0x58ca89;}[_0x4e3cea(0x32c)](_0x4c796c,_0x34194c,_0x507de0){const _0x3ce963=_0x4e3cea;if(this[_0x3ce963(0x293)]===0x8&&this['_state']==_0x58ca89)return _0x507de0();this[_0x3ce963(0x20b)]+=_0x4c796c[_0x3ce963(0x314)],this['_buffers']['push'](_0x4c796c),this['startLoop'](_0x507de0);}[_0x4e3cea(0x351)](_0x4dd2e5){const _0x544557=_0x4e3cea;if(this[_0x544557(0x20b)]-=_0x4dd2e5,_0x4dd2e5===this[_0x544557(0x1fb)][0x0][_0x544557(0x314)])return this[_0x544557(0x1fb)][_0x544557(0x2d1)]();if(_0x4dd2e5<this[_0x544557(0x1fb)][0x0]['length']){const _0x2b8540=this[_0x544557(0x1fb)][0x0];return this['_buffers'][0x0]=new _0xe97f9f(_0x2b8540[_0x544557(0x286)],_0x2b8540[_0x544557(0x317)]+_0x4dd2e5,_0x2b8540[_0x544557(0x314)]-_0x4dd2e5),new _0xe97f9f(_0x2b8540[_0x544557(0x286)],_0x2b8540['byteOffset'],_0x4dd2e5);}const _0x13c7ee=Buffer[_0x544557(0x1f6)](_0x4dd2e5);do{const _0x291fd7=this['_buffers'][0x0],_0x3cb6e1=_0x13c7ee[_0x544557(0x314)]-_0x4dd2e5;_0x4dd2e5>=_0x291fd7['length']?_0x13c7ee[_0x544557(0x25a)](this[_0x544557(0x1fb)][_0x544557(0x2d1)](),_0x3cb6e1):(_0x13c7ee[_0x544557(0x25a)](new Uint8Array(_0x291fd7[_0x544557(0x286)],_0x291fd7[_0x544557(0x317)],_0x4dd2e5),_0x3cb6e1),this[_0x544557(0x1fb)][0x0]=new _0xe97f9f(_0x291fd7[_0x544557(0x286)],_0x291fd7[_0x544557(0x317)]+_0x4dd2e5,_0x291fd7[_0x544557(0x314)]-_0x4dd2e5)),_0x4dd2e5-=_0x291fd7[_0x544557(0x314)];}while(_0x4dd2e5>0x0);return _0x13c7ee;}['startLoop'](_0x1c72b8){const _0x3ab32e=_0x4e3cea;this[_0x3ab32e(0x259)]=!0x0;do switch(this[_0x3ab32e(0x230)]){case _0x58ca89:this[_0x3ab32e(0x2f2)](_0x1c72b8);break;case _0x4a1f64:this[_0x3ab32e(0x2f5)](_0x1c72b8);break;case _0xa0f994:this[_0x3ab32e(0x269)](_0x1c72b8);break;case _0x31b31d:this[_0x3ab32e(0x2b9)]();break;case _0x57ed49:this[_0x3ab32e(0x2ac)](_0x1c72b8);break;case _0x465c01:case _0x289501:this[_0x3ab32e(0x259)]=!0x1;return;}while(this[_0x3ab32e(0x259)]);this[_0x3ab32e(0x2ad)]||_0x1c72b8();}['getInfo'](_0x5af4be){const _0xc77b31=_0x4e3cea;if(this['_bufferedBytes']<0x2){this['_loop']=!0x1;return;}const _0x2f8f77=this[_0xc77b31(0x351)](0x2);if((_0x2f8f77[0x0]&0x30)!==0x0){const _0x58c515=this['createError'](RangeError,_0xc77b31(0x299),!0x0,0x3ea,_0xc77b31(0x2e0));_0x5af4be(_0x58c515);return;}const _0x4ccd5b=(_0x2f8f77[0x0]&0x40)===0x40;if(_0x4ccd5b&&!this[_0xc77b31(0x26e)][_0x1f1e50['extensionName']]){const _0x1d99f9=this[_0xc77b31(0x27c)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0xc77b31(0x2a4));_0x5af4be(_0x1d99f9);return;}if(this[_0xc77b31(0x223)]=(_0x2f8f77[0x0]&0x80)===0x80,this[_0xc77b31(0x293)]=_0x2f8f77[0x0]&0xf,this[_0xc77b31(0x256)]=_0x2f8f77[0x1]&0x7f,this[_0xc77b31(0x293)]===0x0){if(_0x4ccd5b){const _0x4cd785=this[_0xc77b31(0x27c)](RangeError,_0xc77b31(0x208),!0x0,0x3ea,_0xc77b31(0x2a4));_0x5af4be(_0x4cd785);return;}if(!this[_0xc77b31(0x348)]){const _0x5d745a=this[_0xc77b31(0x27c)](RangeError,'invalid\x20opcode\x200',!0x0,0x3ea,_0xc77b31(0x22c));_0x5af4be(_0x5d745a);return;}this[_0xc77b31(0x293)]=this[_0xc77b31(0x348)];}else{if(this[_0xc77b31(0x293)]===0x1||this[_0xc77b31(0x293)]===0x2){if(this[_0xc77b31(0x348)]){const _0x2a3e25=this['createError'](RangeError,'invalid\x20opcode\x20'+this['_opcode'],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x5af4be(_0x2a3e25);return;}this[_0xc77b31(0x37a)]=_0x4ccd5b;}else{if(this[_0xc77b31(0x293)]>0x7&&this[_0xc77b31(0x293)]<0xb){if(!this[_0xc77b31(0x223)]){const _0x52b1f1=this[_0xc77b31(0x27c)](RangeError,_0xc77b31(0x2c8),!0x0,0x3ea,_0xc77b31(0x379));_0x5af4be(_0x52b1f1);return;}if(_0x4ccd5b){const _0x4a2566=this['createError'](RangeError,_0xc77b31(0x208),!0x0,0x3ea,_0xc77b31(0x2a4));_0x5af4be(_0x4a2566);return;}if(this[_0xc77b31(0x256)]>0x7d||this[_0xc77b31(0x293)]===0x8&&this['_payloadLength']===0x1){const _0x40b57e=this['createError'](RangeError,'invalid\x20payload\x20length\x20'+this[_0xc77b31(0x256)],!0x0,0x3ea,_0xc77b31(0x2e9));_0x5af4be(_0x40b57e);return;}}else{const _0x5456c3=this[_0xc77b31(0x27c)](RangeError,_0xc77b31(0x1f8)+this['_opcode'],!0x0,0x3ea,_0xc77b31(0x22c));_0x5af4be(_0x5456c3);return;}}}if(!this[_0xc77b31(0x223)]&&!this[_0xc77b31(0x348)]&&(this[_0xc77b31(0x348)]=this[_0xc77b31(0x293)]),this[_0xc77b31(0x25d)]=(_0x2f8f77[0x1]&0x80)===0x80,this[_0xc77b31(0x25f)]){if(!this[_0xc77b31(0x25d)]){const _0x396241=this[_0xc77b31(0x27c)](RangeError,_0xc77b31(0x377),!0x0,0x3ea,_0xc77b31(0x303));_0x5af4be(_0x396241);return;}}else{if(this[_0xc77b31(0x25d)]){const _0x53378e=this['createError'](RangeError,_0xc77b31(0x36c),!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0x5af4be(_0x53378e);return;}}this[_0xc77b31(0x256)]===0x7e?this['_state']=_0x4a1f64:this[_0xc77b31(0x256)]===0x7f?this['_state']=_0xa0f994:this['haveLength'](_0x5af4be);}[_0x4e3cea(0x2f5)](_0x123b8f){const _0x5cb153=_0x4e3cea;if(this['_bufferedBytes']<0x2){this['_loop']=!0x1;return;}this[_0x5cb153(0x256)]=this[_0x5cb153(0x351)](0x2)[_0x5cb153(0x34f)](0x0),this[_0x5cb153(0x380)](_0x123b8f);}[_0x4e3cea(0x269)](_0x33a5fe){const _0x3ebe54=_0x4e3cea;if(this[_0x3ebe54(0x20b)]<0x8){this[_0x3ebe54(0x259)]=!0x1;return;}const _0x17456f=this[_0x3ebe54(0x351)](0x8),_0x1b934e=_0x17456f[_0x3ebe54(0x264)](0x0);if(_0x1b934e>Math[_0x3ebe54(0x340)](0x2,0x15)-0x1){const _0x5d5975=this[_0x3ebe54(0x27c)](RangeError,_0x3ebe54(0x21e),!0x1,0x3f1,_0x3ebe54(0x35f));_0x33a5fe(_0x5d5975);return;}this[_0x3ebe54(0x256)]=_0x1b934e*Math['pow'](0x2,0x20)+_0x17456f[_0x3ebe54(0x264)](0x4),this[_0x3ebe54(0x380)](_0x33a5fe);}[_0x4e3cea(0x380)](_0x185554){const _0xba07c0=_0x4e3cea;if(this['_payloadLength']&&this[_0xba07c0(0x293)]<0x8&&(this[_0xba07c0(0x20a)]+=this[_0xba07c0(0x256)],this[_0xba07c0(0x20a)]>this[_0xba07c0(0x344)]&&this['_maxPayload']>0x0)){const _0x167136=this['createError'](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0xba07c0(0x285));_0x185554(_0x167136);return;}this[_0xba07c0(0x25d)]?this['_state']=_0x31b31d:this[_0xba07c0(0x230)]=_0x57ed49;}['getMask'](){const _0x3ca7b4=_0x4e3cea;if(this[_0x3ca7b4(0x20b)]<0x4){this[_0x3ca7b4(0x259)]=!0x1;return;}this[_0x3ca7b4(0x32f)]=this[_0x3ca7b4(0x351)](0x4),this[_0x3ca7b4(0x230)]=_0x57ed49;}[_0x4e3cea(0x2ac)](_0x31a512){const _0x55b256=_0x4e3cea;let _0x33a78f=_0x452147;if(this[_0x55b256(0x256)]){if(this[_0x55b256(0x20b)]<this['_payloadLength']){this[_0x55b256(0x259)]=!0x1;return;}_0x33a78f=this[_0x55b256(0x351)](this['_payloadLength']),this[_0x55b256(0x25d)]&&(this[_0x55b256(0x32f)][0x0]|this[_0x55b256(0x32f)][0x1]|this[_0x55b256(0x32f)][0x2]|this['_mask'][0x3])!==0x0&&_0x502736(_0x33a78f,this[_0x55b256(0x32f)]);}if(this['_opcode']>0x7){this[_0x55b256(0x200)](_0x33a78f,_0x31a512);return;}if(this[_0x55b256(0x37a)]){this[_0x55b256(0x230)]=_0x465c01,this[_0x55b256(0x277)](_0x33a78f,_0x31a512);return;}_0x33a78f['length']&&(this[_0x55b256(0x343)]=this['_totalPayloadLength'],this[_0x55b256(0x276)][_0x55b256(0x30a)](_0x33a78f)),this[_0x55b256(0x25c)](_0x31a512);}[_0x4e3cea(0x277)](_0x3c5a3d,_0x2b70ab){const _0xa42bc=_0x4e3cea;this['_extensions'][_0x1f1e50['extensionName']]['decompress'](_0x3c5a3d,this[_0xa42bc(0x223)],(_0x4b1450,_0x17e18a)=>{const _0x7b7538=_0xa42bc;if(_0x4b1450)return _0x2b70ab(_0x4b1450);if(_0x17e18a['length']){if(this[_0x7b7538(0x343)]+=_0x17e18a['length'],this['_messageLength']>this['_maxPayload']&&this[_0x7b7538(0x344)]>0x0){const _0x155dee=this[_0x7b7538(0x27c)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x7b7538(0x285));_0x2b70ab(_0x155dee);return;}this[_0x7b7538(0x276)][_0x7b7538(0x30a)](_0x17e18a);}this['dataMessage'](_0x2b70ab),this[_0x7b7538(0x230)]===_0x58ca89&&this['startLoop'](_0x2b70ab);});}[_0x4e3cea(0x25c)](_0x1608e0){const _0x156b09=_0x4e3cea;if(!this['_fin']){this[_0x156b09(0x230)]=_0x58ca89;return;}const _0x52bbf9=this[_0x156b09(0x343)],_0x398bd1=this[_0x156b09(0x276)];if(this[_0x156b09(0x20a)]=0x0,this['_messageLength']=0x0,this[_0x156b09(0x348)]=0x0,this['_fragments']=[],this[_0x156b09(0x293)]===0x2){let _0x5919f3;this[_0x156b09(0x209)]==='nodebuffer'?_0x5919f3=_0x1aaaef(_0x398bd1,_0x52bbf9):this[_0x156b09(0x209)]===_0x156b09(0x212)?_0x5919f3=_0x44a20e(_0x1aaaef(_0x398bd1,_0x52bbf9)):this[_0x156b09(0x209)]===_0x156b09(0x2a7)?_0x5919f3=new Blob(_0x398bd1):_0x5919f3=_0x398bd1,this[_0x156b09(0x2f6)]?(this[_0x156b09(0x30b)](_0x156b09(0x367),_0x5919f3,!0x0),this[_0x156b09(0x230)]=_0x58ca89):(this[_0x156b09(0x230)]=_0x289501,setImmediate(()=>{const _0x167bce=_0x156b09;this['emit']('message',_0x5919f3,!0x0),this[_0x167bce(0x230)]=_0x58ca89,this[_0x167bce(0x2b5)](_0x1608e0);}));}else{const _0x58da58=_0x1aaaef(_0x398bd1,_0x52bbf9);if(!this['_skipUTF8Validation']&&!_0x535bfc(_0x58da58)){const _0x34221a=this['createError'](Error,_0x156b09(0x387),!0x0,0x3ef,_0x156b09(0x37b));_0x1608e0(_0x34221a);return;}this[_0x156b09(0x230)]===_0x465c01||this[_0x156b09(0x2f6)]?(this['emit']('message',_0x58da58,!0x1),this[_0x156b09(0x230)]=_0x58ca89):(this[_0x156b09(0x230)]=_0x289501,setImmediate(()=>{const _0x295a82=_0x156b09;this[_0x295a82(0x30b)](_0x295a82(0x367),_0x58da58,!0x1),this[_0x295a82(0x230)]=_0x58ca89,this[_0x295a82(0x2b5)](_0x1608e0);}));}}['controlMessage'](_0x27b3cc,_0xaa4b1b){const _0x6dac62=_0x4e3cea;if(this['_opcode']===0x8){if(_0x27b3cc[_0x6dac62(0x314)]===0x0)this['_loop']=!0x1,this['emit'](_0x6dac62(0x24d),0x3ed,_0x452147),this[_0x6dac62(0x250)]();else{const _0x54da69=_0x27b3cc[_0x6dac62(0x34f)](0x0);if(!_0x1ebd55(_0x54da69)){const _0x571137=this[_0x6dac62(0x27c)](RangeError,'invalid\x20status\x20code\x20'+_0x54da69,!0x0,0x3ea,_0x6dac62(0x26b));_0xaa4b1b(_0x571137);return;}const _0x4c77bf=new _0xe97f9f(_0x27b3cc[_0x6dac62(0x286)],_0x27b3cc[_0x6dac62(0x317)]+0x2,_0x27b3cc[_0x6dac62(0x314)]-0x2);if(!this[_0x6dac62(0x1ea)]&&!_0x535bfc(_0x4c77bf)){const _0x2a934e=this[_0x6dac62(0x27c)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x6dac62(0x37b));_0xaa4b1b(_0x2a934e);return;}this['_loop']=!0x1,this[_0x6dac62(0x30b)]('conclude',_0x54da69,_0x4c77bf),this[_0x6dac62(0x250)]();}this[_0x6dac62(0x230)]=_0x58ca89;return;}this['_allowSynchronousEvents']?(this[_0x6dac62(0x30b)](this['_opcode']===0x9?_0x6dac62(0x35a):'pong',_0x27b3cc),this['_state']=_0x58ca89):(this[_0x6dac62(0x230)]=_0x289501,setImmediate(()=>{const _0xb9a7f5=_0x6dac62;this[_0xb9a7f5(0x30b)](this[_0xb9a7f5(0x293)]===0x9?'ping':_0xb9a7f5(0x205),_0x27b3cc),this[_0xb9a7f5(0x230)]=_0x58ca89,this[_0xb9a7f5(0x2b5)](_0xaa4b1b);}));}[_0x4e3cea(0x27c)](_0x517c3e,_0xfac288,_0x2966ce,_0x3c866f,_0x29ade5){const _0xe20b0a=_0x4e3cea;this[_0xe20b0a(0x259)]=!0x1,this[_0xe20b0a(0x2ad)]=!0x0;const _0x4f8928=new _0x517c3e(_0x2966ce?_0xe20b0a(0x2f3)+_0xfac288:_0xfac288);return Error[_0xe20b0a(0x281)](_0x4f8928,this[_0xe20b0a(0x27c)]),_0x4f8928['code']=_0x29ade5,_0x4f8928[_0x1eca97]=_0x3c866f,_0x4f8928;}}return Se=_0x4357b1,Se;}var Ee,et;function _t(){const _0x329a5f=_0x1ee84f;if(et)return Ee;et=0x1;const {Duplex:_0x5c6c9e}=_0x1bb23d,{randomFillSync:_0xd2d6ea}=_0x15ac28,_0x35bcf2=he(),{EMPTY_BUFFER:_0x30a13b,kWebSocket:_0xc035ea,NOOP:_0x1304cf}=V(),{isBlob:_0x1bbf58,isValidStatusCode:_0x12d08b}=ne(),{mask:_0x4c5a12,toBuffer:_0x2b60ae}=ce(),_0x403892=Symbol(_0x329a5f(0x30f)),_0x58180d=Buffer['alloc'](0x4),_0x24ac97=0x8*0x400;let _0x229e40,_0x21c5b0=_0x24ac97;const _0x131e93=0x0,_0x34e288=0x1,_0x2f7e63=0x2;class _0x5ea0f7{constructor(_0x2b2d31,_0x1721d6,_0x47f8c5){const _0x40aa60=_0x329a5f;this[_0x40aa60(0x26e)]=_0x1721d6||{},_0x47f8c5&&(this[_0x40aa60(0x28d)]=_0x47f8c5,this['_maskBuffer']=Buffer[_0x40aa60(0x265)](0x4)),this[_0x40aa60(0x36f)]=_0x2b2d31,this['_firstFragment']=!0x0,this[_0x40aa60(0x262)]=!0x1,this[_0x40aa60(0x20b)]=0x0,this['_queue']=[],this[_0x40aa60(0x230)]=_0x131e93,this[_0x40aa60(0x21f)]=_0x1304cf,this[_0xc035ea]=void 0x0;}static['frame'](_0x496508,_0x5f0052){const _0xa1f27e=_0x329a5f;let _0x119e1a,_0x3b2a0f=!0x1,_0x1b928e=0x2,_0x1c3236=!0x1;_0x5f0052[_0xa1f27e(0x274)]&&(_0x119e1a=_0x5f0052['maskBuffer']||_0x58180d,_0x5f0052[_0xa1f27e(0x2b8)]?_0x5f0052[_0xa1f27e(0x2b8)](_0x119e1a):(_0x21c5b0===_0x24ac97&&(_0x229e40===void 0x0&&(_0x229e40=Buffer[_0xa1f27e(0x265)](_0x24ac97)),_0xd2d6ea(_0x229e40,0x0,_0x24ac97),_0x21c5b0=0x0),_0x119e1a[0x0]=_0x229e40[_0x21c5b0++],_0x119e1a[0x1]=_0x229e40[_0x21c5b0++],_0x119e1a[0x2]=_0x229e40[_0x21c5b0++],_0x119e1a[0x3]=_0x229e40[_0x21c5b0++]),_0x1c3236=(_0x119e1a[0x0]|_0x119e1a[0x1]|_0x119e1a[0x2]|_0x119e1a[0x3])===0x0,_0x1b928e=0x6);let _0x191889;typeof _0x496508==_0xa1f27e(0x1de)?(!_0x5f0052[_0xa1f27e(0x274)]||_0x1c3236)&&_0x5f0052[_0x403892]!==void 0x0?_0x191889=_0x5f0052[_0x403892]:(_0x496508=Buffer[_0xa1f27e(0x376)](_0x496508),_0x191889=_0x496508[_0xa1f27e(0x314)]):(_0x191889=_0x496508[_0xa1f27e(0x314)],_0x3b2a0f=_0x5f0052['mask']&&_0x5f0052[_0xa1f27e(0x342)]&&!_0x1c3236);let _0x45db7b=_0x191889;_0x191889>=0x10000?(_0x1b928e+=0x8,_0x45db7b=0x7f):_0x191889>0x7d&&(_0x1b928e+=0x2,_0x45db7b=0x7e);const _0x13703f=Buffer['allocUnsafe'](_0x3b2a0f?_0x191889+_0x1b928e:_0x1b928e);return _0x13703f[0x0]=_0x5f0052[_0xa1f27e(0x34e)]?_0x5f0052['opcode']|0x80:_0x5f0052[_0xa1f27e(0x268)],_0x5f0052[_0xa1f27e(0x382)]&&(_0x13703f[0x0]|=0x40),_0x13703f[0x1]=_0x45db7b,_0x45db7b===0x7e?_0x13703f['writeUInt16BE'](_0x191889,0x2):_0x45db7b===0x7f&&(_0x13703f[0x2]=_0x13703f[0x3]=0x0,_0x13703f[_0xa1f27e(0x247)](_0x191889,0x4,0x6)),_0x5f0052['mask']?(_0x13703f[0x1]|=0x80,_0x13703f[_0x1b928e-0x4]=_0x119e1a[0x0],_0x13703f[_0x1b928e-0x3]=_0x119e1a[0x1],_0x13703f[_0x1b928e-0x2]=_0x119e1a[0x2],_0x13703f[_0x1b928e-0x1]=_0x119e1a[0x3],_0x1c3236?[_0x13703f,_0x496508]:_0x3b2a0f?(_0x4c5a12(_0x496508,_0x119e1a,_0x13703f,_0x1b928e,_0x191889),[_0x13703f]):(_0x4c5a12(_0x496508,_0x119e1a,_0x496508,0x0,_0x191889),[_0x13703f,_0x496508])):[_0x13703f,_0x496508];}[_0x329a5f(0x333)](_0x475125,_0x45be9d,_0x1bbb12,_0x2f782f){const _0x2ff0df=_0x329a5f;let _0x856bd5;if(_0x475125===void 0x0)_0x856bd5=_0x30a13b;else{if(typeof _0x475125!=_0x2ff0df(0x23c)||!_0x12d08b(_0x475125))throw new TypeError('First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number');if(_0x45be9d===void 0x0||!_0x45be9d['length'])_0x856bd5=Buffer[_0x2ff0df(0x1f6)](0x2),_0x856bd5['writeUInt16BE'](_0x475125,0x0);else{const _0x6c70fa=Buffer[_0x2ff0df(0x324)](_0x45be9d);if(_0x6c70fa>0x7b)throw new RangeError(_0x2ff0df(0x33b));_0x856bd5=Buffer['allocUnsafe'](0x2+_0x6c70fa),_0x856bd5['writeUInt16BE'](_0x475125,0x0),typeof _0x45be9d=='string'?_0x856bd5['write'](_0x45be9d,0x2):_0x856bd5[_0x2ff0df(0x25a)](_0x45be9d,0x2);}}const _0x2ec47f={[_0x403892]:_0x856bd5[_0x2ff0df(0x314)],'fin':!0x0,'generateMask':this[_0x2ff0df(0x28d)],'mask':_0x1bbb12,'maskBuffer':this[_0x2ff0df(0x270)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this['_state']!==_0x131e93?this[_0x2ff0df(0x329)]([this['dispatch'],_0x856bd5,!0x1,_0x2ec47f,_0x2f782f]):this[_0x2ff0df(0x29a)](_0x5ea0f7['frame'](_0x856bd5,_0x2ec47f),_0x2f782f);}['ping'](_0x4a02ae,_0x35565f,_0xe2ac5d){const _0x347199=_0x329a5f;let _0x546659,_0x50978c;if(typeof _0x4a02ae==_0x347199(0x1de)?(_0x546659=Buffer[_0x347199(0x324)](_0x4a02ae),_0x50978c=!0x1):_0x1bbf58(_0x4a02ae)?(_0x546659=_0x4a02ae[_0x347199(0x295)],_0x50978c=!0x1):(_0x4a02ae=_0x2b60ae(_0x4a02ae),_0x546659=_0x4a02ae[_0x347199(0x314)],_0x50978c=_0x2b60ae[_0x347199(0x342)]),_0x546659>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x57d0c7={[_0x403892]:_0x546659,'fin':!0x0,'generateMask':this[_0x347199(0x28d)],'mask':_0x35565f,'maskBuffer':this[_0x347199(0x270)],'opcode':0x9,'readOnly':_0x50978c,'rsv1':!0x1};_0x1bbf58(_0x4a02ae)?this['_state']!==_0x131e93?this[_0x347199(0x329)]([this['getBlobData'],_0x4a02ae,!0x1,_0x57d0c7,_0xe2ac5d]):this[_0x347199(0x364)](_0x4a02ae,!0x1,_0x57d0c7,_0xe2ac5d):this[_0x347199(0x230)]!==_0x131e93?this[_0x347199(0x329)]([this[_0x347199(0x29b)],_0x4a02ae,!0x1,_0x57d0c7,_0xe2ac5d]):this[_0x347199(0x29a)](_0x5ea0f7[_0x347199(0x210)](_0x4a02ae,_0x57d0c7),_0xe2ac5d);}['pong'](_0x47e702,_0x2a3d8e,_0x5affa4){const _0x4966b5=_0x329a5f;let _0x40bfb1,_0x3a4f71;if(typeof _0x47e702=='string'?(_0x40bfb1=Buffer[_0x4966b5(0x324)](_0x47e702),_0x3a4f71=!0x1):_0x1bbf58(_0x47e702)?(_0x40bfb1=_0x47e702[_0x4966b5(0x295)],_0x3a4f71=!0x1):(_0x47e702=_0x2b60ae(_0x47e702),_0x40bfb1=_0x47e702['length'],_0x3a4f71=_0x2b60ae['readOnly']),_0x40bfb1>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x51cf24={[_0x403892]:_0x40bfb1,'fin':!0x0,'generateMask':this[_0x4966b5(0x28d)],'mask':_0x2a3d8e,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x3a4f71,'rsv1':!0x1};_0x1bbf58(_0x47e702)?this['_state']!==_0x131e93?this[_0x4966b5(0x329)]([this[_0x4966b5(0x364)],_0x47e702,!0x1,_0x51cf24,_0x5affa4]):this[_0x4966b5(0x364)](_0x47e702,!0x1,_0x51cf24,_0x5affa4):this[_0x4966b5(0x230)]!==_0x131e93?this[_0x4966b5(0x329)]([this[_0x4966b5(0x29b)],_0x47e702,!0x1,_0x51cf24,_0x5affa4]):this[_0x4966b5(0x29a)](_0x5ea0f7[_0x4966b5(0x210)](_0x47e702,_0x51cf24),_0x5affa4);}[_0x329a5f(0x257)](_0x589d09,_0x4530cc,_0x4b340a){const _0x4ce292=_0x329a5f,_0x3dd110=this['_extensions'][_0x35bcf2[_0x4ce292(0x35d)]];let _0x2363e7=_0x4530cc[_0x4ce292(0x1e0)]?0x2:0x1,_0x5e4681=_0x4530cc[_0x4ce292(0x311)],_0x2553ce,_0x327029;typeof _0x589d09==_0x4ce292(0x1de)?(_0x2553ce=Buffer[_0x4ce292(0x324)](_0x589d09),_0x327029=!0x1):_0x1bbf58(_0x589d09)?(_0x2553ce=_0x589d09[_0x4ce292(0x295)],_0x327029=!0x1):(_0x589d09=_0x2b60ae(_0x589d09),_0x2553ce=_0x589d09[_0x4ce292(0x314)],_0x327029=_0x2b60ae[_0x4ce292(0x342)]),this[_0x4ce292(0x225)]?(this['_firstFragment']=!0x1,_0x5e4681&&_0x3dd110&&_0x3dd110['params'][_0x3dd110[_0x4ce292(0x25f)]?'server_no_context_takeover':_0x4ce292(0x315)]&&(_0x5e4681=_0x2553ce>=_0x3dd110['_threshold']),this['_compress']=_0x5e4681):(_0x5e4681=!0x1,_0x2363e7=0x0),_0x4530cc['fin']&&(this[_0x4ce292(0x225)]=!0x0);const _0x7e8bc4={[_0x403892]:_0x2553ce,'fin':_0x4530cc['fin'],'generateMask':this[_0x4ce292(0x28d)],'mask':_0x4530cc[_0x4ce292(0x274)],'maskBuffer':this[_0x4ce292(0x270)],'opcode':_0x2363e7,'readOnly':_0x327029,'rsv1':_0x5e4681};_0x1bbf58(_0x589d09)?this[_0x4ce292(0x230)]!==_0x131e93?this[_0x4ce292(0x329)]([this[_0x4ce292(0x364)],_0x589d09,this['_compress'],_0x7e8bc4,_0x4b340a]):this[_0x4ce292(0x364)](_0x589d09,this['_compress'],_0x7e8bc4,_0x4b340a):this[_0x4ce292(0x230)]!==_0x131e93?this['enqueue']([this[_0x4ce292(0x29b)],_0x589d09,this['_compress'],_0x7e8bc4,_0x4b340a]):this[_0x4ce292(0x29b)](_0x589d09,this[_0x4ce292(0x262)],_0x7e8bc4,_0x4b340a);}[_0x329a5f(0x364)](_0x38c106,_0x4b2a11,_0x4afe2d,_0x5f75bb){const _0x1fcb91=_0x329a5f;this[_0x1fcb91(0x20b)]+=_0x4afe2d[_0x403892],this[_0x1fcb91(0x230)]=_0x2f7e63,_0x38c106['arrayBuffer']()['then'](_0x519067=>{const _0x56e1f5=_0x1fcb91;if(this[_0x56e1f5(0x36f)]['destroyed']){const _0x581d56=new Error('The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read');process[_0x56e1f5(0x357)](_0x2bfe7e,this,_0x581d56,_0x5f75bb);return;}this['_bufferedBytes']-=_0x4afe2d[_0x403892];const _0x16bb3a=_0x2b60ae(_0x519067);_0x4b2a11?this['dispatch'](_0x16bb3a,_0x4b2a11,_0x4afe2d,_0x5f75bb):(this[_0x56e1f5(0x230)]=_0x131e93,this[_0x56e1f5(0x29a)](_0x5ea0f7[_0x56e1f5(0x210)](_0x16bb3a,_0x4afe2d),_0x5f75bb),this[_0x56e1f5(0x33e)]());})['catch'](_0x2c1574=>{const _0x594fa5=_0x1fcb91;process[_0x594fa5(0x357)](_0x4f94ad,this,_0x2c1574,_0x5f75bb);});}['dispatch'](_0x376c3e,_0x2a7c3f,_0x462221,_0x31b98a){const _0x652a8=_0x329a5f;if(!_0x2a7c3f){this[_0x652a8(0x29a)](_0x5ea0f7[_0x652a8(0x210)](_0x376c3e,_0x462221),_0x31b98a);return;}const _0x26c9e5=this[_0x652a8(0x26e)][_0x35bcf2[_0x652a8(0x35d)]];this[_0x652a8(0x20b)]+=_0x462221[_0x403892],this[_0x652a8(0x230)]=_0x34e288,_0x26c9e5[_0x652a8(0x311)](_0x376c3e,_0x462221['fin'],(_0x343da9,_0x35a01c)=>{const _0x48a962=_0x652a8;if(this[_0x48a962(0x36f)]['destroyed']){const _0x2b64db=new Error(_0x48a962(0x245));_0x2bfe7e(this,_0x2b64db,_0x31b98a);return;}this['_bufferedBytes']-=_0x462221[_0x403892],this[_0x48a962(0x230)]=_0x131e93,_0x462221[_0x48a962(0x342)]=!0x1,this[_0x48a962(0x29a)](_0x5ea0f7['frame'](_0x35a01c,_0x462221),_0x31b98a),this[_0x48a962(0x33e)]();});}['dequeue'](){const _0x2153d5=_0x329a5f;for(;this[_0x2153d5(0x230)]===_0x131e93&&this[_0x2153d5(0x239)][_0x2153d5(0x314)];){const _0x314654=this[_0x2153d5(0x239)][_0x2153d5(0x2d1)]();this[_0x2153d5(0x20b)]-=_0x314654[0x3][_0x403892],Reflect[_0x2153d5(0x366)](_0x314654[0x0],this,_0x314654[_0x2153d5(0x291)](0x1));}}[_0x329a5f(0x329)](_0x3fc8b9){const _0x467ed2=_0x329a5f;this['_bufferedBytes']+=_0x3fc8b9[0x3][_0x403892],this[_0x467ed2(0x239)]['push'](_0x3fc8b9);}[_0x329a5f(0x29a)](_0x2e48d3,_0x8d5bef){const _0x48b03e=_0x329a5f;_0x2e48d3[_0x48b03e(0x314)]===0x2?(this[_0x48b03e(0x36f)][_0x48b03e(0x24a)](),this['_socket'][_0x48b03e(0x385)](_0x2e48d3[0x0]),this['_socket'][_0x48b03e(0x385)](_0x2e48d3[0x1],_0x8d5bef),this[_0x48b03e(0x36f)][_0x48b03e(0x2d5)]()):this[_0x48b03e(0x36f)][_0x48b03e(0x385)](_0x2e48d3[0x0],_0x8d5bef);}}Ee=_0x5ea0f7;function _0x2bfe7e(_0xf1809c,_0x292252,_0x311a73){const _0x3147cc=_0x329a5f;typeof _0x311a73==_0x3147cc(0x2b2)&&_0x311a73(_0x292252);for(let _0x2cb627=0x0;_0x2cb627<_0xf1809c['_queue']['length'];_0x2cb627++){const _0x1c460a=_0xf1809c[_0x3147cc(0x239)][_0x2cb627],_0x176744=_0x1c460a[_0x1c460a[_0x3147cc(0x314)]-0x1];typeof _0x176744==_0x3147cc(0x2b2)&&_0x176744(_0x292252);}}function _0x4f94ad(_0x5de713,_0x3bb6b9,_0x237b2a){_0x2bfe7e(_0x5de713,_0x3bb6b9,_0x237b2a),_0x5de713['onerror'](_0x3bb6b9);}return Ee;}var xe,tt;function Kt(){const _0x364434=_0x1ee84f;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x1f6d5f,kListener:_0x3972a9}=V(),_0x11eb7e=Symbol(_0x364434(0x381)),_0x143193=Symbol(_0x364434(0x305)),_0x4798e3=Symbol('kError'),_0x96d36c=Symbol(_0x364434(0x2ec)),_0x20bdb7=Symbol(_0x364434(0x2db)),_0x53eab1=Symbol(_0x364434(0x204)),_0x12ab9c=Symbol(_0x364434(0x36e)),_0x5070f1=Symbol(_0x364434(0x2b4));class _0x15c5c8{constructor(_0xcfac68){this[_0x53eab1]=null,this[_0x12ab9c]=_0xcfac68;}get[_0x364434(0x21b)](){return this[_0x53eab1];}get[_0x364434(0x29d)](){return this[_0x12ab9c];}}Object[_0x364434(0x304)](_0x15c5c8['prototype'],_0x364434(0x21b),{'enumerable':!0x0}),Object['defineProperty'](_0x15c5c8[_0x364434(0x346)],_0x364434(0x29d),{'enumerable':!0x0});class _0x7f5c3b extends _0x15c5c8{constructor(_0x54b6d0,_0x25e4c1={}){const _0xad4b36=_0x364434;super(_0x54b6d0),this[_0x11eb7e]=_0x25e4c1['code']===void 0x0?0x0:_0x25e4c1[_0xad4b36(0x27f)],this[_0x20bdb7]=_0x25e4c1[_0xad4b36(0x2e1)]===void 0x0?'':_0x25e4c1['reason'],this[_0x5070f1]=_0x25e4c1[_0xad4b36(0x234)]===void 0x0?!0x1:_0x25e4c1['wasClean'];}get[_0x364434(0x27f)](){return this[_0x11eb7e];}get[_0x364434(0x2e1)](){return this[_0x20bdb7];}get[_0x364434(0x234)](){return this[_0x5070f1];}}Object[_0x364434(0x304)](_0x7f5c3b[_0x364434(0x346)],'code',{'enumerable':!0x0}),Object[_0x364434(0x304)](_0x7f5c3b[_0x364434(0x346)],_0x364434(0x2e1),{'enumerable':!0x0}),Object[_0x364434(0x304)](_0x7f5c3b[_0x364434(0x346)],_0x364434(0x234),{'enumerable':!0x0});class _0x36e2ba extends _0x15c5c8{constructor(_0x52d801,_0x6550db={}){const _0x41ecf6=_0x364434;super(_0x52d801),this[_0x4798e3]=_0x6550db[_0x41ecf6(0x2cf)]===void 0x0?null:_0x6550db[_0x41ecf6(0x2cf)],this[_0x96d36c]=_0x6550db[_0x41ecf6(0x367)]===void 0x0?'':_0x6550db[_0x41ecf6(0x367)];}get['error'](){return this[_0x4798e3];}get[_0x364434(0x367)](){return this[_0x96d36c];}}Object['defineProperty'](_0x36e2ba[_0x364434(0x346)],_0x364434(0x2cf),{'enumerable':!0x0}),Object['defineProperty'](_0x36e2ba[_0x364434(0x346)],_0x364434(0x367),{'enumerable':!0x0});class _0x9ad745 extends _0x15c5c8{constructor(_0x5a71fa,_0x4c285c={}){super(_0x5a71fa),this[_0x143193]=_0x4c285c['data']===void 0x0?null:_0x4c285c['data'];}get[_0x364434(0x263)](){return this[_0x143193];}}Object[_0x364434(0x304)](_0x9ad745[_0x364434(0x346)],_0x364434(0x263),{'enumerable':!0x0}),xe={'CloseEvent':_0x7f5c3b,'ErrorEvent':_0x36e2ba,'Event':_0x15c5c8,'EventTarget':{'addEventListener'(_0x598e96,_0x1d213c,_0x360a52={}){const _0x1c6e90=_0x364434;for(const _0x28f173 of this['listeners'](_0x598e96))if(!_0x360a52[_0x1f6d5f]&&_0x28f173[_0x3972a9]===_0x1d213c&&!_0x28f173[_0x1f6d5f])return;let _0x2328d5;if(_0x598e96===_0x1c6e90(0x367))_0x2328d5=function(_0x459533,_0x3c8b17){const _0x1ef702=_0x1c6e90,_0x2192a8=new _0x9ad745('message',{'data':_0x3c8b17?_0x459533:_0x459533[_0x1ef702(0x23d)]()});_0x2192a8[_0x53eab1]=this,_0x422ad6(_0x1d213c,this,_0x2192a8);};else{if(_0x598e96===_0x1c6e90(0x333))_0x2328d5=function(_0x96ab87,_0x4d0d13){const _0x2cd043=_0x1c6e90,_0x14ff16=new _0x7f5c3b(_0x2cd043(0x333),{'code':_0x96ab87,'reason':_0x4d0d13[_0x2cd043(0x23d)](),'wasClean':this['_closeFrameReceived']&&this[_0x2cd043(0x362)]});_0x14ff16[_0x53eab1]=this,_0x422ad6(_0x1d213c,this,_0x14ff16);};else{if(_0x598e96==='error')_0x2328d5=function(_0xfcfe26){const _0x1c2cf8=_0x1c6e90,_0x229c0b=new _0x36e2ba('error',{'error':_0xfcfe26,'message':_0xfcfe26[_0x1c2cf8(0x367)]});_0x229c0b[_0x53eab1]=this,_0x422ad6(_0x1d213c,this,_0x229c0b);};else{if(_0x598e96===_0x1c6e90(0x1e5))_0x2328d5=function(){const _0x253f98=new _0x15c5c8('open');_0x253f98[_0x53eab1]=this,_0x422ad6(_0x1d213c,this,_0x253f98);};else return;}}}_0x2328d5[_0x1f6d5f]=!!_0x360a52[_0x1f6d5f],_0x2328d5[_0x3972a9]=_0x1d213c,_0x360a52[_0x1c6e90(0x320)]?this[_0x1c6e90(0x320)](_0x598e96,_0x2328d5):this['on'](_0x598e96,_0x2328d5);},'removeEventListener'(_0x5e9c7a,_0xed6f79){const _0x53393=_0x364434;for(const _0x531e49 of this[_0x53393(0x2c2)](_0x5e9c7a))if(_0x531e49[_0x3972a9]===_0xed6f79&&!_0x531e49[_0x1f6d5f]){this[_0x53393(0x326)](_0x5e9c7a,_0x531e49);break;}}},'MessageEvent':_0x9ad745};function _0x422ad6(_0x364ffe,_0x52344d,_0x1aaf9c){const _0x4742de=_0x364434;typeof _0x364ffe==_0x4742de(0x1e6)&&_0x364ffe[_0x4742de(0x2e5)]?_0x364ffe[_0x4742de(0x2e5)][_0x4742de(0x207)](_0x364ffe,_0x1aaf9c):_0x364ffe[_0x4742de(0x207)](_0x52344d,_0x1aaf9c);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x2e6bc9}=ne();function _0x17fd7a(_0x28520a,_0x678843,_0x4ad916){const _0x4a2ffa=_0x8f2c;_0x28520a[_0x678843]===void 0x0?_0x28520a[_0x678843]=[_0x4ad916]:_0x28520a[_0x678843][_0x4a2ffa(0x30a)](_0x4ad916);}function _0x5d76e2(_0x571db9){const _0x1f770c=_0x8f2c,_0x29c16=Object[_0x1f770c(0x309)](null);let _0x2217cf=Object[_0x1f770c(0x309)](null),_0x3ffd44=!0x1,_0x1d2711=!0x1,_0x4e5d2f=!0x1,_0x1d7544,_0x70017a,_0x17e9a9=-0x1,_0xb426ee=-0x1,_0x3792ed=-0x1,_0x1c1285=0x0;for(;_0x1c1285<_0x571db9[_0x1f770c(0x314)];_0x1c1285++)if(_0xb426ee=_0x571db9['charCodeAt'](_0x1c1285),_0x1d7544===void 0x0){if(_0x3792ed===-0x1&&_0x2e6bc9[_0xb426ee]===0x1)_0x17e9a9===-0x1&&(_0x17e9a9=_0x1c1285);else{if(_0x1c1285!==0x0&&(_0xb426ee===0x20||_0xb426ee===0x9))_0x3792ed===-0x1&&_0x17e9a9!==-0x1&&(_0x3792ed=_0x1c1285);else{if(_0xb426ee===0x3b||_0xb426ee===0x2c){if(_0x17e9a9===-0x1)throw new SyntaxError(_0x1f770c(0x29e)+_0x1c1285);_0x3792ed===-0x1&&(_0x3792ed=_0x1c1285);const _0x44e864=_0x571db9['slice'](_0x17e9a9,_0x3792ed);_0xb426ee===0x2c?(_0x17fd7a(_0x29c16,_0x44e864,_0x2217cf),_0x2217cf=Object['create'](null)):_0x1d7544=_0x44e864,_0x17e9a9=_0x3792ed=-0x1;}else throw new SyntaxError(_0x1f770c(0x29e)+_0x1c1285);}}}else{if(_0x70017a===void 0x0){if(_0x3792ed===-0x1&&_0x2e6bc9[_0xb426ee]===0x1)_0x17e9a9===-0x1&&(_0x17e9a9=_0x1c1285);else{if(_0xb426ee===0x20||_0xb426ee===0x9)_0x3792ed===-0x1&&_0x17e9a9!==-0x1&&(_0x3792ed=_0x1c1285);else{if(_0xb426ee===0x3b||_0xb426ee===0x2c){if(_0x17e9a9===-0x1)throw new SyntaxError(_0x1f770c(0x29e)+_0x1c1285);_0x3792ed===-0x1&&(_0x3792ed=_0x1c1285),_0x17fd7a(_0x2217cf,_0x571db9[_0x1f770c(0x291)](_0x17e9a9,_0x3792ed),!0x0),_0xb426ee===0x2c&&(_0x17fd7a(_0x29c16,_0x1d7544,_0x2217cf),_0x2217cf=Object['create'](null),_0x1d7544=void 0x0),_0x17e9a9=_0x3792ed=-0x1;}else{if(_0xb426ee===0x3d&&_0x17e9a9!==-0x1&&_0x3792ed===-0x1)_0x70017a=_0x571db9[_0x1f770c(0x291)](_0x17e9a9,_0x1c1285),_0x17e9a9=_0x3792ed=-0x1;else throw new SyntaxError(_0x1f770c(0x29e)+_0x1c1285);}}}}else{if(_0x1d2711){if(_0x2e6bc9[_0xb426ee]!==0x1)throw new SyntaxError(_0x1f770c(0x29e)+_0x1c1285);_0x17e9a9===-0x1?_0x17e9a9=_0x1c1285:_0x3ffd44||(_0x3ffd44=!0x0),_0x1d2711=!0x1;}else{if(_0x4e5d2f){if(_0x2e6bc9[_0xb426ee]===0x1)_0x17e9a9===-0x1&&(_0x17e9a9=_0x1c1285);else{if(_0xb426ee===0x22&&_0x17e9a9!==-0x1)_0x4e5d2f=!0x1,_0x3792ed=_0x1c1285;else{if(_0xb426ee===0x5c)_0x1d2711=!0x0;else throw new SyntaxError(_0x1f770c(0x29e)+_0x1c1285);}}}else{if(_0xb426ee===0x22&&_0x571db9[_0x1f770c(0x2ea)](_0x1c1285-0x1)===0x3d)_0x4e5d2f=!0x0;else{if(_0x3792ed===-0x1&&_0x2e6bc9[_0xb426ee]===0x1)_0x17e9a9===-0x1&&(_0x17e9a9=_0x1c1285);else{if(_0x17e9a9!==-0x1&&(_0xb426ee===0x20||_0xb426ee===0x9))_0x3792ed===-0x1&&(_0x3792ed=_0x1c1285);else{if(_0xb426ee===0x3b||_0xb426ee===0x2c){if(_0x17e9a9===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x1c1285);_0x3792ed===-0x1&&(_0x3792ed=_0x1c1285);let _0xf93ae5=_0x571db9[_0x1f770c(0x291)](_0x17e9a9,_0x3792ed);_0x3ffd44&&(_0xf93ae5=_0xf93ae5[_0x1f770c(0x2aa)](/\\/g,''),_0x3ffd44=!0x1),_0x17fd7a(_0x2217cf,_0x70017a,_0xf93ae5),_0xb426ee===0x2c&&(_0x17fd7a(_0x29c16,_0x1d7544,_0x2217cf),_0x2217cf=Object['create'](null),_0x1d7544=void 0x0),_0x70017a=void 0x0,_0x17e9a9=_0x3792ed=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x1c1285);}}}}}}}if(_0x17e9a9===-0x1||_0x4e5d2f||_0xb426ee===0x20||_0xb426ee===0x9)throw new SyntaxError(_0x1f770c(0x2dc));_0x3792ed===-0x1&&(_0x3792ed=_0x1c1285);const _0x22aa53=_0x571db9[_0x1f770c(0x291)](_0x17e9a9,_0x3792ed);return _0x1d7544===void 0x0?_0x17fd7a(_0x29c16,_0x22aa53,_0x2217cf):(_0x70017a===void 0x0?_0x17fd7a(_0x2217cf,_0x22aa53,!0x0):_0x3ffd44?_0x17fd7a(_0x2217cf,_0x70017a,_0x22aa53['replace'](/\\/g,'')):_0x17fd7a(_0x2217cf,_0x70017a,_0x22aa53),_0x17fd7a(_0x29c16,_0x1d7544,_0x2217cf)),_0x29c16;}function _0x168533(_0x17b35f){const _0x56c34d=_0x8f2c;return Object['keys'](_0x17b35f)[_0x56c34d(0x308)](_0x11862a=>{const _0x2f085b=_0x56c34d;let _0x5d259f=_0x17b35f[_0x11862a];return Array[_0x2f085b(0x1ed)](_0x5d259f)||(_0x5d259f=[_0x5d259f]),_0x5d259f[_0x2f085b(0x308)](_0x2834c4=>[_0x11862a][_0x2f085b(0x287)](Object['keys'](_0x2834c4)[_0x2f085b(0x308)](_0x4b9a71=>{const _0x2c4e15=_0x2f085b;let _0x360c81=_0x2834c4[_0x4b9a71];return Array[_0x2c4e15(0x1ed)](_0x360c81)||(_0x360c81=[_0x360c81]),_0x360c81[_0x2c4e15(0x308)](_0x4c5314=>_0x4c5314===!0x0?_0x4b9a71:_0x4b9a71+'='+_0x4c5314)[_0x2c4e15(0x31d)](';\x20');}))[_0x2f085b(0x31d)](';\x20'))[_0x2f085b(0x31d)](',\x20');})['join'](',\x20');}return be={'format':_0x168533,'parse':_0x5d76e2},be;}var we,st;function Ie(){const _0x100458=_0x1ee84f;if(st)return we;st=0x1;const _0x348063=_0x585b11,_0x533da0=_0x2fd1b4,_0xc750de=_0x17586c,_0x24c9e=_0x424bbb,_0x4c472f=_0x2008ca,{randomBytes:_0x929700,createHash:_0xf7facd}=_0x15ac28,{Duplex:_0x4526bb,Readable:_0x542fed}=_0x1bb23d,{URL:_0x3458fe}=_0x376499,_0x7e161b=he(),_0x5465ef=dt(),_0x3bb9f4=_t(),{isBlob:_0x229c26}=ne(),{BINARY_TYPES:_0x40a93f,EMPTY_BUFFER:_0x272474,GUID:_0x1aedbe,kForOnEventAttribute:_0x328cf3,kListener:_0x3dadad,kStatusCode:_0x678eb2,kWebSocket:_0x34b758,NOOP:_0x2560b7}=V(),{EventTarget:{addEventListener:_0x4d66f9,removeEventListener:_0x784311}}=Kt(),{format:_0x5c6b71,parse:_0x43ccf8}=pt(),{toBuffer:_0x5f4f41}=ce(),_0x4ad220=0x1e*0x3e8,_0x48f880=Symbol('kAborted'),_0x32101d=[0x8,0xd],_0x5da2c0=[_0x100458(0x2c4),_0x100458(0x38e),_0x100458(0x267),_0x100458(0x254)],_0x1f702a=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x310d57 extends _0x348063{constructor(_0x599122,_0x51a7a9,_0x177e56){const _0x1c19ae=_0x100458;super(),this[_0x1c19ae(0x209)]=_0x40a93f[0x0],this[_0x1c19ae(0x353)]=0x3ee,this[_0x1c19ae(0x2e3)]=!0x1,this[_0x1c19ae(0x362)]=!0x1,this[_0x1c19ae(0x220)]=_0x272474,this[_0x1c19ae(0x37d)]=null,this[_0x1c19ae(0x2d3)]=!0x1,this['_extensions']={},this['_paused']=!0x1,this[_0x1c19ae(0x2d6)]='',this['_readyState']=_0x310d57[_0x1c19ae(0x2c4)],this[_0x1c19ae(0x289)]=null,this[_0x1c19ae(0x337)]=null,this[_0x1c19ae(0x36f)]=null,_0x599122!==null?(this['_bufferedAmount']=0x0,this[_0x1c19ae(0x25f)]=!0x1,this['_redirects']=0x0,_0x51a7a9===void 0x0?_0x51a7a9=[]:Array[_0x1c19ae(0x1ed)](_0x51a7a9)||(typeof _0x51a7a9==_0x1c19ae(0x1e6)&&_0x51a7a9!==null?(_0x177e56=_0x51a7a9,_0x51a7a9=[]):_0x51a7a9=[_0x51a7a9]),_0x41eebc(this,_0x599122,_0x51a7a9,_0x177e56)):(this[_0x1c19ae(0x26f)]=_0x177e56[_0x1c19ae(0x2af)],this[_0x1c19ae(0x25f)]=!0x0);}get['binaryType'](){const _0x2b00d3=_0x100458;return this[_0x2b00d3(0x209)];}set['binaryType'](_0x17b556){const _0x5523d6=_0x100458;_0x40a93f[_0x5523d6(0x1fa)](_0x17b556)&&(this[_0x5523d6(0x209)]=_0x17b556,this[_0x5523d6(0x289)]&&(this[_0x5523d6(0x289)][_0x5523d6(0x209)]=_0x17b556));}get[_0x100458(0x2f7)](){const _0x456592=_0x100458;return this[_0x456592(0x36f)]?this[_0x456592(0x36f)][_0x456592(0x27e)][_0x456592(0x314)]+this[_0x456592(0x337)][_0x456592(0x20b)]:this['_bufferedAmount'];}get['extensions'](){const _0x48e1e6=_0x100458;return Object['keys'](this[_0x48e1e6(0x26e)])[_0x48e1e6(0x31d)]();}get[_0x100458(0x330)](){const _0x229479=_0x100458;return this[_0x229479(0x1ec)];}get[_0x100458(0x33c)](){return null;}get[_0x100458(0x21f)](){return null;}get[_0x100458(0x213)](){return null;}get[_0x100458(0x20c)](){return null;}get[_0x100458(0x2f9)](){const _0x5af2b9=_0x100458;return this[_0x5af2b9(0x2d6)];}get[_0x100458(0x33d)](){const _0x11d4ec=_0x100458;return this[_0x11d4ec(0x2c3)];}get[_0x100458(0x2c0)](){const _0x193939=_0x100458;return this[_0x193939(0x222)];}[_0x100458(0x2ee)](_0x5e37a4,_0x41fc5e,_0x36169e){const _0x140471=_0x100458,_0xacde4d=new _0x5465ef({'allowSynchronousEvents':_0x36169e['allowSynchronousEvents'],'binaryType':this[_0x140471(0x23a)],'extensions':this[_0x140471(0x26e)],'isServer':this[_0x140471(0x25f)],'maxPayload':_0x36169e[_0x140471(0x218)],'skipUTF8Validation':_0x36169e[_0x140471(0x2e8)]}),_0x25639c=new _0x3bb9f4(_0x5e37a4,this['_extensions'],_0x36169e[_0x140471(0x2b8)]);this[_0x140471(0x289)]=_0xacde4d,this['_sender']=_0x25639c,this['_socket']=_0x5e37a4,_0xacde4d[_0x34b758]=this,_0x25639c[_0x34b758]=this,_0x5e37a4[_0x34b758]=this,_0xacde4d['on'](_0x140471(0x24d),_0x4c9561),_0xacde4d['on'](_0x140471(0x20d),_0x48c185),_0xacde4d['on'](_0x140471(0x2cf),_0x1b88cc),_0xacde4d['on'](_0x140471(0x367),_0x98643f),_0xacde4d['on'](_0x140471(0x35a),_0x1aad2a),_0xacde4d['on'](_0x140471(0x205),_0x25200a),_0x25639c['onerror']=_0xca95ff,_0x5e37a4[_0x140471(0x236)]&&_0x5e37a4['setTimeout'](0x0),_0x5e37a4['setNoDelay']&&_0x5e37a4[_0x140471(0x35b)](),_0x41fc5e[_0x140471(0x314)]>0x0&&_0x5e37a4[_0x140471(0x336)](_0x41fc5e),_0x5e37a4['on'](_0x140471(0x333),_0x416152),_0x5e37a4['on'](_0x140471(0x263),_0x4b361e),_0x5e37a4['on'](_0x140471(0x250),_0x3ad27e),_0x5e37a4['on']('error',_0x2f3686),this[_0x140471(0x2c3)]=_0x310d57[_0x140471(0x38e)],this[_0x140471(0x30b)](_0x140471(0x1e5));}[_0x100458(0x294)](){const _0x51ff85=_0x100458;if(!this[_0x51ff85(0x36f)]){this[_0x51ff85(0x2c3)]=_0x310d57[_0x51ff85(0x254)],this[_0x51ff85(0x30b)](_0x51ff85(0x333),this[_0x51ff85(0x353)],this[_0x51ff85(0x220)]);return;}this[_0x51ff85(0x26e)][_0x7e161b[_0x51ff85(0x35d)]]&&this[_0x51ff85(0x26e)][_0x7e161b['extensionName']]['cleanup'](),this[_0x51ff85(0x289)][_0x51ff85(0x211)](),this[_0x51ff85(0x2c3)]=_0x310d57['CLOSED'],this['emit']('close',this['_closeCode'],this['_closeMessage']);}['close'](_0x164a41,_0x302d2e){const _0x4a7f49=_0x100458;if(this[_0x4a7f49(0x33d)]!==_0x310d57[_0x4a7f49(0x254)]){if(this[_0x4a7f49(0x33d)]===_0x310d57[_0x4a7f49(0x2c4)]){_0x5bc59(this,this[_0x4a7f49(0x2a1)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}if(this[_0x4a7f49(0x33d)]===_0x310d57[_0x4a7f49(0x267)]){this[_0x4a7f49(0x362)]&&(this['_closeFrameReceived']||this[_0x4a7f49(0x289)][_0x4a7f49(0x27e)][_0x4a7f49(0x1e3)])&&this['_socket'][_0x4a7f49(0x250)]();return;}this[_0x4a7f49(0x2c3)]=_0x310d57[_0x4a7f49(0x267)],this[_0x4a7f49(0x337)]['close'](_0x164a41,_0x302d2e,!this['_isServer'],_0x29cb17=>{const _0x1b3c72=_0x4a7f49;_0x29cb17||(this[_0x1b3c72(0x362)]=!0x0,(this[_0x1b3c72(0x2e3)]||this['_receiver'][_0x1b3c72(0x27e)][_0x1b3c72(0x1e3)])&&this[_0x1b3c72(0x36f)][_0x1b3c72(0x250)]());}),_0x2eeb1e(this);}}['pause'](){const _0x28ced0=_0x100458;this[_0x28ced0(0x33d)]===_0x310d57['CONNECTING']||this[_0x28ced0(0x33d)]===_0x310d57[_0x28ced0(0x254)]||(this['_paused']=!0x0,this[_0x28ced0(0x36f)][_0x28ced0(0x2a0)]());}[_0x100458(0x35a)](_0x35649b,_0x266bc9,_0x10c7ab){const _0x443c8d=_0x100458;if(this['readyState']===_0x310d57[_0x443c8d(0x2c4)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x35649b==_0x443c8d(0x2b2)?(_0x10c7ab=_0x35649b,_0x35649b=_0x266bc9=void 0x0):typeof _0x266bc9=='function'&&(_0x10c7ab=_0x266bc9,_0x266bc9=void 0x0),typeof _0x35649b==_0x443c8d(0x23c)&&(_0x35649b=_0x35649b[_0x443c8d(0x23d)]()),this[_0x443c8d(0x33d)]!==_0x310d57['OPEN']){_0x104cbe(this,_0x35649b,_0x10c7ab);return;}_0x266bc9===void 0x0&&(_0x266bc9=!this[_0x443c8d(0x25f)]),this[_0x443c8d(0x337)]['ping'](_0x35649b||_0x272474,_0x266bc9,_0x10c7ab);}[_0x100458(0x205)](_0x580d96,_0x13e591,_0x3f1701){const _0x693db=_0x100458;if(this[_0x693db(0x33d)]===_0x310d57[_0x693db(0x2c4)])throw new Error(_0x693db(0x2cb));if(typeof _0x580d96=='function'?(_0x3f1701=_0x580d96,_0x580d96=_0x13e591=void 0x0):typeof _0x13e591==_0x693db(0x2b2)&&(_0x3f1701=_0x13e591,_0x13e591=void 0x0),typeof _0x580d96==_0x693db(0x23c)&&(_0x580d96=_0x580d96[_0x693db(0x23d)]()),this[_0x693db(0x33d)]!==_0x310d57[_0x693db(0x38e)]){_0x104cbe(this,_0x580d96,_0x3f1701);return;}_0x13e591===void 0x0&&(_0x13e591=!this[_0x693db(0x25f)]),this[_0x693db(0x337)][_0x693db(0x205)](_0x580d96||_0x272474,_0x13e591,_0x3f1701);}[_0x100458(0x2fa)](){const _0x1f6f86=_0x100458;this[_0x1f6f86(0x33d)]===_0x310d57[_0x1f6f86(0x2c4)]||this[_0x1f6f86(0x33d)]===_0x310d57[_0x1f6f86(0x254)]||(this[_0x1f6f86(0x1ec)]=!0x1,this['_receiver']['_writableState'][_0x1f6f86(0x1fe)]||this['_socket']['resume']());}['send'](_0x334c22,_0x3241a7,_0x2747dc){const _0x59d8b6=_0x100458;if(this['readyState']===_0x310d57['CONNECTING'])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x3241a7==_0x59d8b6(0x2b2)&&(_0x2747dc=_0x3241a7,_0x3241a7={}),typeof _0x334c22=='number'&&(_0x334c22=_0x334c22['toString']()),this['readyState']!==_0x310d57[_0x59d8b6(0x38e)]){_0x104cbe(this,_0x334c22,_0x2747dc);return;}const _0x2aea4f={'binary':typeof _0x334c22!=_0x59d8b6(0x1de),'mask':!this[_0x59d8b6(0x25f)],'compress':!0x0,'fin':!0x0,..._0x3241a7};this['_extensions'][_0x7e161b[_0x59d8b6(0x35d)]]||(_0x2aea4f[_0x59d8b6(0x311)]=!0x1),this[_0x59d8b6(0x337)]['send'](_0x334c22||_0x272474,_0x2aea4f,_0x2747dc);}[_0x100458(0x30e)](){const _0x4cace5=_0x100458;if(this['readyState']!==_0x310d57[_0x4cace5(0x254)]){if(this[_0x4cace5(0x33d)]===_0x310d57[_0x4cace5(0x2c4)]){_0x5bc59(this,this[_0x4cace5(0x2a1)],_0x4cace5(0x33a));return;}this[_0x4cace5(0x36f)]&&(this['_readyState']=_0x310d57[_0x4cace5(0x267)],this[_0x4cace5(0x36f)][_0x4cace5(0x22e)]());}}}Object[_0x100458(0x304)](_0x310d57,'CONNECTING',{'enumerable':!0x0,'value':_0x5da2c0[_0x100458(0x307)](_0x100458(0x2c4))}),Object[_0x100458(0x304)](_0x310d57[_0x100458(0x346)],'CONNECTING',{'enumerable':!0x0,'value':_0x5da2c0[_0x100458(0x307)](_0x100458(0x2c4))}),Object[_0x100458(0x304)](_0x310d57,_0x100458(0x38e),{'enumerable':!0x0,'value':_0x5da2c0['indexOf']('OPEN')}),Object[_0x100458(0x304)](_0x310d57['prototype'],_0x100458(0x38e),{'enumerable':!0x0,'value':_0x5da2c0[_0x100458(0x307)](_0x100458(0x38e))}),Object[_0x100458(0x304)](_0x310d57,_0x100458(0x267),{'enumerable':!0x0,'value':_0x5da2c0['indexOf']('CLOSING')}),Object[_0x100458(0x304)](_0x310d57['prototype'],_0x100458(0x267),{'enumerable':!0x0,'value':_0x5da2c0[_0x100458(0x307)](_0x100458(0x267))}),Object['defineProperty'](_0x310d57,_0x100458(0x254),{'enumerable':!0x0,'value':_0x5da2c0[_0x100458(0x307)]('CLOSED')}),Object[_0x100458(0x304)](_0x310d57[_0x100458(0x346)],_0x100458(0x254),{'enumerable':!0x0,'value':_0x5da2c0[_0x100458(0x307)](_0x100458(0x254))}),[_0x100458(0x23a),_0x100458(0x2f7),_0x100458(0x2a5),_0x100458(0x330),_0x100458(0x2f9),_0x100458(0x33d),_0x100458(0x2c0)][_0x100458(0x2d2)](_0x548fb5=>{const _0x4624ae=_0x100458;Object[_0x4624ae(0x304)](_0x310d57[_0x4624ae(0x346)],_0x548fb5,{'enumerable':!0x0});}),[_0x100458(0x1e5),_0x100458(0x2cf),_0x100458(0x333),_0x100458(0x367)][_0x100458(0x2d2)](_0x280a83=>{const _0x5a286e=_0x100458;Object[_0x5a286e(0x304)](_0x310d57[_0x5a286e(0x346)],'on'+_0x280a83,{'enumerable':!0x0,'get'(){const _0x54e1e3=_0x5a286e;for(const _0x317280 of this[_0x54e1e3(0x2c2)](_0x280a83))if(_0x317280[_0x328cf3])return _0x317280[_0x3dadad];return null;},'set'(_0x1f12d1){const _0x10882c=_0x5a286e;for(const _0x199ab6 of this[_0x10882c(0x2c2)](_0x280a83))if(_0x199ab6[_0x328cf3]){this[_0x10882c(0x326)](_0x280a83,_0x199ab6);break;}typeof _0x1f12d1==_0x10882c(0x2b2)&&this[_0x10882c(0x31e)](_0x280a83,_0x1f12d1,{[_0x328cf3]:!0x0});}});}),_0x310d57[_0x100458(0x346)][_0x100458(0x31e)]=_0x4d66f9,_0x310d57[_0x100458(0x346)][_0x100458(0x21a)]=_0x784311,we=_0x310d57;function _0x41eebc(_0x3e932a,_0x2b0619,_0x2a812,_0x2d6bd6){const _0x560213=_0x100458,_0x26aa25={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x32101d[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x2d6bd6,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x3e932a[_0x560213(0x26f)]=_0x26aa25[_0x560213(0x2af)],!_0x32101d[_0x560213(0x1fa)](_0x26aa25[_0x560213(0x1e2)]))throw new RangeError('Unsupported\x20protocol\x20version:\x20'+_0x26aa25[_0x560213(0x1e2)]+'\x20(supported\x20versions:\x20'+_0x32101d[_0x560213(0x31d)](',\x20')+')');let _0x4a7c6d;if(_0x2b0619 instanceof _0x3458fe)_0x4a7c6d=_0x2b0619;else try{_0x4a7c6d=new _0x3458fe(_0x2b0619);}catch{throw new SyntaxError(_0x560213(0x2e7)+_0x2b0619);}_0x4a7c6d['protocol']==='http:'?_0x4a7c6d[_0x560213(0x2f9)]='ws:':_0x4a7c6d['protocol']===_0x560213(0x22a)&&(_0x4a7c6d['protocol']=_0x560213(0x202)),_0x3e932a[_0x560213(0x222)]=_0x4a7c6d[_0x560213(0x1fd)];const _0x387288=_0x4a7c6d[_0x560213(0x2f9)]===_0x560213(0x202),_0x3dc71f=_0x4a7c6d[_0x560213(0x2f9)]===_0x560213(0x253);let _0xe12392;if(_0x4a7c6d[_0x560213(0x2f9)]!==_0x560213(0x2d7)&&!_0x387288&&!_0x3dc71f?_0xe12392=_0x560213(0x24e):_0x3dc71f&&!_0x4a7c6d['pathname']?_0xe12392=_0x560213(0x2c1):_0x4a7c6d['hash']&&(_0xe12392=_0x560213(0x2a6)),_0xe12392){const _0x18b422=new SyntaxError(_0xe12392);if(_0x3e932a[_0x560213(0x1eb)]===0x0)throw _0x18b422;_0x6ef111(_0x3e932a,_0x18b422);return;}const _0x5dfa0f=_0x387288?0x1bb:0x50,_0x48318e=_0x929700(0x10)['toString'](_0x560213(0x246)),_0x2fc8aa=_0x387288?_0x533da0[_0x560213(0x227)]:_0xc750de[_0x560213(0x227)],_0x2eee97=new Set();let _0x4ef1c1;if(_0x26aa25[_0x560213(0x27d)]=_0x26aa25[_0x560213(0x27d)]||(_0x387288?_0x5afd3f:_0x4f16fe),_0x26aa25[_0x560213(0x334)]=_0x26aa25[_0x560213(0x334)]||_0x5dfa0f,_0x26aa25['port']=_0x4a7c6d[_0x560213(0x224)]||_0x5dfa0f,_0x26aa25[_0x560213(0x21d)]=_0x4a7c6d[_0x560213(0x332)][_0x560213(0x298)]('[')?_0x4a7c6d[_0x560213(0x332)]['slice'](0x1,-0x1):_0x4a7c6d[_0x560213(0x332)],_0x26aa25[_0x560213(0x383)]={..._0x26aa25[_0x560213(0x383)],'Sec-WebSocket-Version':_0x26aa25[_0x560213(0x1e2)],'Sec-WebSocket-Key':_0x48318e,'Connection':_0x560213(0x371),'Upgrade':_0x560213(0x363)},_0x26aa25[_0x560213(0x242)]=_0x4a7c6d[_0x560213(0x2dd)]+_0x4a7c6d['search'],_0x26aa25[_0x560213(0x2ce)]=_0x26aa25[_0x560213(0x319)],_0x26aa25[_0x560213(0x28b)]&&(_0x4ef1c1=new _0x7e161b(_0x26aa25['perMessageDeflate']!==!0x0?_0x26aa25[_0x560213(0x28b)]:{},!0x1,_0x26aa25[_0x560213(0x218)]),_0x26aa25[_0x560213(0x383)][_0x560213(0x322)]=_0x5c6b71({[_0x7e161b['extensionName']]:_0x4ef1c1[_0x560213(0x378)]()})),_0x2a812[_0x560213(0x314)]){for(const _0x4d9d05 of _0x2a812){if(typeof _0x4d9d05!=_0x560213(0x1de)||!_0x1f702a[_0x560213(0x323)](_0x4d9d05)||_0x2eee97[_0x560213(0x374)](_0x4d9d05))throw new SyntaxError(_0x560213(0x2e4));_0x2eee97[_0x560213(0x30d)](_0x4d9d05);}_0x26aa25[_0x560213(0x383)][_0x560213(0x219)]=_0x2a812[_0x560213(0x31d)](',');}if(_0x26aa25[_0x560213(0x25b)]&&(_0x26aa25[_0x560213(0x1e2)]<0xd?_0x26aa25[_0x560213(0x383)][_0x560213(0x1ee)]=_0x26aa25[_0x560213(0x25b)]:_0x26aa25['headers']['Origin']=_0x26aa25['origin']),(_0x4a7c6d[_0x560213(0x360)]||_0x4a7c6d['password'])&&(_0x26aa25[_0x560213(0x327)]=_0x4a7c6d[_0x560213(0x360)]+':'+_0x4a7c6d['password']),_0x3dc71f){const _0x367e4b=_0x26aa25['path']['split'](':');_0x26aa25[_0x560213(0x38c)]=_0x367e4b[0x0],_0x26aa25[_0x560213(0x242)]=_0x367e4b[0x1];}let _0x336d33;if(_0x26aa25['followRedirects']){if(_0x3e932a[_0x560213(0x1eb)]===0x0){_0x3e932a['_originalIpc']=_0x3dc71f,_0x3e932a[_0x560213(0x302)]=_0x387288,_0x3e932a[_0x560213(0x29f)]=_0x3dc71f?_0x26aa25['socketPath']:_0x4a7c6d[_0x560213(0x21d)];const _0xe4b9e5=_0x2d6bd6&&_0x2d6bd6['headers'];if(_0x2d6bd6={..._0x2d6bd6,'headers':{}},_0xe4b9e5){for(const [_0x2cbc89,_0x41f906]of Object[_0x560213(0x27a)](_0xe4b9e5))_0x2d6bd6['headers'][_0x2cbc89[_0x560213(0x252)]()]=_0x41f906;}}else{if(_0x3e932a[_0x560213(0x28c)](_0x560213(0x2f8))===0x0){const _0x3659ef=_0x3dc71f?_0x3e932a[_0x560213(0x347)]?_0x26aa25['socketPath']===_0x3e932a[_0x560213(0x29f)]:!0x1:_0x3e932a[_0x560213(0x347)]?!0x1:_0x4a7c6d[_0x560213(0x21d)]===_0x3e932a[_0x560213(0x29f)];(!_0x3659ef||_0x3e932a[_0x560213(0x302)]&&!_0x387288)&&(delete _0x26aa25['headers']['authorization'],delete _0x26aa25[_0x560213(0x383)][_0x560213(0x2df)],_0x3659ef||delete _0x26aa25[_0x560213(0x383)][_0x560213(0x21d)],_0x26aa25['auth']=void 0x0);}}_0x26aa25[_0x560213(0x327)]&&!_0x2d6bd6[_0x560213(0x383)][_0x560213(0x22d)]&&(_0x2d6bd6[_0x560213(0x383)]['authorization']='Basic\x20'+Buffer[_0x560213(0x376)](_0x26aa25[_0x560213(0x327)])[_0x560213(0x23d)]('base64')),_0x336d33=_0x3e932a[_0x560213(0x2a1)]=_0x2fc8aa(_0x26aa25),_0x3e932a[_0x560213(0x1eb)]&&_0x3e932a['emit']('redirect',_0x3e932a[_0x560213(0x2c0)],_0x336d33);}else _0x336d33=_0x3e932a[_0x560213(0x2a1)]=_0x2fc8aa(_0x26aa25);_0x26aa25['timeout']&&_0x336d33['on'](_0x560213(0x2ce),()=>{_0x5bc59(_0x3e932a,_0x336d33,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x336d33['on'](_0x560213(0x2cf),_0x338d2d=>{const _0xd8e639=_0x560213;_0x336d33===null||_0x336d33[_0x48f880]||(_0x336d33=_0x3e932a[_0xd8e639(0x2a1)]=null,_0x6ef111(_0x3e932a,_0x338d2d));}),_0x336d33['on'](_0x560213(0x226),_0x5d28ee=>{const _0x18148e=_0x560213,_0x182cc9=_0x5d28ee[_0x18148e(0x383)][_0x18148e(0x349)],_0x1a6ec8=_0x5d28ee[_0x18148e(0x1f2)];if(_0x182cc9&&_0x26aa25['followRedirects']&&_0x1a6ec8>=0x12c&&_0x1a6ec8<0x190){if(++_0x3e932a[_0x18148e(0x1eb)]>_0x26aa25[_0x18148e(0x2b7)]){_0x5bc59(_0x3e932a,_0x336d33,_0x18148e(0x1f7));return;}_0x336d33[_0x18148e(0x23e)]();let _0x5a7a36;try{_0x5a7a36=new _0x3458fe(_0x182cc9,_0x2b0619);}catch{const _0x274c63=new SyntaxError(_0x18148e(0x2e7)+_0x182cc9);_0x6ef111(_0x3e932a,_0x274c63);return;}_0x41eebc(_0x3e932a,_0x5a7a36,_0x2a812,_0x2d6bd6);}else _0x3e932a[_0x18148e(0x30b)](_0x18148e(0x2eb),_0x336d33,_0x5d28ee)||_0x5bc59(_0x3e932a,_0x336d33,'Unexpected\x20server\x20response:\x20'+_0x5d28ee[_0x18148e(0x1f2)]);}),_0x336d33['on'](_0x560213(0x2b6),(_0x225217,_0x5327a2,_0x115864)=>{const _0x1580b9=_0x560213;if(_0x3e932a[_0x1580b9(0x30b)]('upgrade',_0x225217),_0x3e932a[_0x1580b9(0x33d)]!==_0x310d57[_0x1580b9(0x2c4)])return;_0x336d33=_0x3e932a[_0x1580b9(0x2a1)]=null;const _0x501cf3=_0x225217['headers'][_0x1580b9(0x2b6)];if(_0x501cf3===void 0x0||_0x501cf3[_0x1580b9(0x252)]()!=='websocket'){_0x5bc59(_0x3e932a,_0x5327a2,_0x1580b9(0x2bc));return;}const _0xbaaec6=_0xf7facd(_0x1580b9(0x237))[_0x1580b9(0x2ae)](_0x48318e+_0x1aedbe)[_0x1580b9(0x354)](_0x1580b9(0x246));if(_0x225217[_0x1580b9(0x383)]['sec-websocket-accept']!==_0xbaaec6){_0x5bc59(_0x3e932a,_0x5327a2,_0x1580b9(0x358));return;}const _0x21a849=_0x225217[_0x1580b9(0x383)][_0x1580b9(0x296)];let _0x202b8c;if(_0x21a849!==void 0x0?_0x2eee97[_0x1580b9(0x295)]?_0x2eee97['has'](_0x21a849)||(_0x202b8c=_0x1580b9(0x2a8)):_0x202b8c=_0x1580b9(0x2fd):_0x2eee97['size']&&(_0x202b8c=_0x1580b9(0x201)),_0x202b8c){_0x5bc59(_0x3e932a,_0x5327a2,_0x202b8c);return;}_0x21a849&&(_0x3e932a[_0x1580b9(0x2d6)]=_0x21a849);const _0x2985e4=_0x225217[_0x1580b9(0x383)][_0x1580b9(0x25e)];if(_0x2985e4!==void 0x0){if(!_0x4ef1c1){_0x5bc59(_0x3e932a,_0x5327a2,_0x1580b9(0x255));return;}let _0x3f44e5;try{_0x3f44e5=_0x43ccf8(_0x2985e4);}catch{_0x5bc59(_0x3e932a,_0x5327a2,_0x1580b9(0x390));return;}const _0x21ae43=Object[_0x1580b9(0x36b)](_0x3f44e5);if(_0x21ae43[_0x1580b9(0x314)]!==0x1||_0x21ae43[0x0]!==_0x7e161b[_0x1580b9(0x35d)]){_0x5bc59(_0x3e932a,_0x5327a2,_0x1580b9(0x244));return;}try{_0x4ef1c1[_0x1580b9(0x2c9)](_0x3f44e5[_0x7e161b['extensionName']]);}catch{_0x5bc59(_0x3e932a,_0x5327a2,_0x1580b9(0x390));return;}_0x3e932a[_0x1580b9(0x26e)][_0x7e161b[_0x1580b9(0x35d)]]=_0x4ef1c1;}_0x3e932a[_0x1580b9(0x2ee)](_0x5327a2,_0x115864,{'allowSynchronousEvents':_0x26aa25[_0x1580b9(0x203)],'generateMask':_0x26aa25['generateMask'],'maxPayload':_0x26aa25[_0x1580b9(0x218)],'skipUTF8Validation':_0x26aa25[_0x1580b9(0x2e8)]});}),_0x26aa25[_0x560213(0x368)]?_0x26aa25[_0x560213(0x368)](_0x336d33,_0x3e932a):_0x336d33[_0x560213(0x250)]();}function _0x6ef111(_0x9eeb95,_0x19d40d){const _0x2fa17a=_0x100458;_0x9eeb95[_0x2fa17a(0x2c3)]=_0x310d57['CLOSING'],_0x9eeb95[_0x2fa17a(0x2d3)]=!0x0,_0x9eeb95[_0x2fa17a(0x30b)](_0x2fa17a(0x2cf),_0x19d40d),_0x9eeb95[_0x2fa17a(0x294)]();}function _0x4f16fe(_0x1936d9){const _0x31290=_0x100458;return _0x1936d9[_0x31290(0x242)]=_0x1936d9['socketPath'],_0x24c9e[_0x31290(0x1e7)](_0x1936d9);}function _0x5afd3f(_0x28837a){const _0x395702=_0x100458;return _0x28837a[_0x395702(0x242)]=void 0x0,!_0x28837a[_0x395702(0x2ba)]&&_0x28837a[_0x395702(0x2ba)]!==''&&(_0x28837a[_0x395702(0x2ba)]=_0x24c9e[_0x395702(0x282)](_0x28837a[_0x395702(0x21d)])?'':_0x28837a[_0x395702(0x21d)]),_0x4c472f['connect'](_0x28837a);}function _0x5bc59(_0x4dc94e,_0x3ec5fe,_0xd4b8a4){const _0xf73900=_0x100458;_0x4dc94e[_0xf73900(0x2c3)]=_0x310d57[_0xf73900(0x267)];const _0x2bce6f=new Error(_0xd4b8a4);Error[_0xf73900(0x281)](_0x2bce6f,_0x5bc59),_0x3ec5fe['setHeader']?(_0x3ec5fe[_0x48f880]=!0x0,_0x3ec5fe[_0xf73900(0x23e)](),_0x3ec5fe[_0xf73900(0x2fb)]&&!_0x3ec5fe[_0xf73900(0x2fb)]['destroyed']&&_0x3ec5fe[_0xf73900(0x2fb)][_0xf73900(0x22e)](),process['nextTick'](_0x6ef111,_0x4dc94e,_0x2bce6f)):(_0x3ec5fe[_0xf73900(0x22e)](_0x2bce6f),_0x3ec5fe['once'](_0xf73900(0x2cf),_0x4dc94e[_0xf73900(0x30b)][_0xf73900(0x206)](_0x4dc94e,_0xf73900(0x2cf))),_0x3ec5fe[_0xf73900(0x320)](_0xf73900(0x333),_0x4dc94e[_0xf73900(0x294)][_0xf73900(0x206)](_0x4dc94e)));}function _0x104cbe(_0x1cb59b,_0x2942cb,_0x11ab90){const _0x416774=_0x100458;if(_0x2942cb){const _0x1e5841=_0x229c26(_0x2942cb)?_0x2942cb['size']:_0x5f4f41(_0x2942cb)['length'];_0x1cb59b[_0x416774(0x36f)]?_0x1cb59b['_sender']['_bufferedBytes']+=_0x1e5841:_0x1cb59b[_0x416774(0x316)]+=_0x1e5841;}if(_0x11ab90){const _0x54ef08=new Error(_0x416774(0x38f)+_0x1cb59b[_0x416774(0x33d)]+'\x20('+_0x5da2c0[_0x1cb59b[_0x416774(0x33d)]]+')');process[_0x416774(0x357)](_0x11ab90,_0x54ef08);}}function _0x4c9561(_0x22fc36,_0x1e1575){const _0x1faed0=_0x100458,_0x5dac21=this[_0x34b758];_0x5dac21[_0x1faed0(0x2e3)]=!0x0,_0x5dac21[_0x1faed0(0x220)]=_0x1e1575,_0x5dac21['_closeCode']=_0x22fc36,_0x5dac21['_socket'][_0x34b758]!==void 0x0&&(_0x5dac21[_0x1faed0(0x36f)]['removeListener'](_0x1faed0(0x263),_0x4b361e),process['nextTick'](_0x207d7c,_0x5dac21[_0x1faed0(0x36f)]),_0x22fc36===0x3ed?_0x5dac21[_0x1faed0(0x333)]():_0x5dac21['close'](_0x22fc36,_0x1e1575));}function _0x48c185(){const _0x56a723=_0x100458,_0x261f3b=this[_0x34b758];_0x261f3b['isPaused']||_0x261f3b[_0x56a723(0x36f)]['resume']();}function _0x1b88cc(_0x108547){const _0x1b43c7=_0x100458,_0x27915f=this[_0x34b758];_0x27915f[_0x1b43c7(0x36f)][_0x34b758]!==void 0x0&&(_0x27915f['_socket']['removeListener'](_0x1b43c7(0x263),_0x4b361e),process[_0x1b43c7(0x357)](_0x207d7c,_0x27915f[_0x1b43c7(0x36f)]),_0x27915f[_0x1b43c7(0x333)](_0x108547[_0x678eb2])),_0x27915f[_0x1b43c7(0x2d3)]||(_0x27915f['_errorEmitted']=!0x0,_0x27915f[_0x1b43c7(0x30b)](_0x1b43c7(0x2cf),_0x108547));}function _0x580db5(){const _0x25b689=_0x100458;this[_0x34b758][_0x25b689(0x294)]();}function _0x98643f(_0x16fec1,_0x1824fb){const _0x2179a2=_0x100458;this[_0x34b758][_0x2179a2(0x30b)](_0x2179a2(0x367),_0x16fec1,_0x1824fb);}function _0x1aad2a(_0x42fc93){const _0x59d009=_0x100458,_0x1b47cc=this[_0x34b758];_0x1b47cc[_0x59d009(0x26f)]&&_0x1b47cc[_0x59d009(0x205)](_0x42fc93,!this[_0x59d009(0x25f)],_0x2560b7),_0x1b47cc['emit'](_0x59d009(0x35a),_0x42fc93);}function _0x25200a(_0x28cd56){const _0x224a96=_0x100458;this[_0x34b758]['emit'](_0x224a96(0x205),_0x28cd56);}function _0x207d7c(_0x516878){const _0x2ea329=_0x100458;_0x516878[_0x2ea329(0x2fa)]();}function _0xca95ff(_0x407b05){const _0x49a13d=_0x100458,_0x299e81=this[_0x34b758];_0x299e81[_0x49a13d(0x33d)]!==_0x310d57[_0x49a13d(0x254)]&&(_0x299e81[_0x49a13d(0x33d)]===_0x310d57[_0x49a13d(0x38e)]&&(_0x299e81['_readyState']=_0x310d57[_0x49a13d(0x267)],_0x2eeb1e(_0x299e81)),this[_0x49a13d(0x36f)]['end'](),_0x299e81[_0x49a13d(0x2d3)]||(_0x299e81['_errorEmitted']=!0x0,_0x299e81[_0x49a13d(0x30b)](_0x49a13d(0x2cf),_0x407b05)));}function _0x2eeb1e(_0x4d5dba){const _0x214a51=_0x100458;_0x4d5dba[_0x214a51(0x37d)]=setTimeout(_0x4d5dba['_socket'][_0x214a51(0x22e)][_0x214a51(0x206)](_0x4d5dba[_0x214a51(0x36f)]),_0x4ad220);}function _0x416152(){const _0x168764=_0x100458,_0x30a94c=this[_0x34b758];this[_0x168764(0x326)](_0x168764(0x333),_0x416152),this[_0x168764(0x326)]('data',_0x4b361e),this['removeListener'](_0x168764(0x250),_0x3ad27e),_0x30a94c[_0x168764(0x2c3)]=_0x310d57[_0x168764(0x267)];let _0x15283a;!this['_readableState'][_0x168764(0x31f)]&&!_0x30a94c[_0x168764(0x2e3)]&&!_0x30a94c[_0x168764(0x289)][_0x168764(0x27e)][_0x168764(0x1e3)]&&(_0x15283a=_0x30a94c[_0x168764(0x36f)][_0x168764(0x20e)]())!==null&&_0x30a94c['_receiver']['write'](_0x15283a),_0x30a94c[_0x168764(0x289)][_0x168764(0x250)](),this[_0x34b758]=void 0x0,clearTimeout(_0x30a94c[_0x168764(0x37d)]),_0x30a94c[_0x168764(0x289)][_0x168764(0x27e)]['finished']||_0x30a94c[_0x168764(0x289)][_0x168764(0x27e)][_0x168764(0x1e3)]?_0x30a94c[_0x168764(0x294)]():(_0x30a94c[_0x168764(0x289)]['on'](_0x168764(0x2cf),_0x580db5),_0x30a94c[_0x168764(0x289)]['on'](_0x168764(0x249),_0x580db5));}function _0x4b361e(_0x30f954){const _0x304a65=_0x100458;this[_0x34b758][_0x304a65(0x289)][_0x304a65(0x385)](_0x30f954)||this['pause']();}function _0x3ad27e(){const _0x32690c=_0x100458,_0x57e69b=this[_0x34b758];_0x57e69b['_readyState']=_0x310d57[_0x32690c(0x267)],_0x57e69b[_0x32690c(0x289)][_0x32690c(0x250)](),this[_0x32690c(0x250)]();}function _0x2f3686(){const _0x2bc68f=_0x100458,_0x21bd03=this[_0x34b758];this[_0x2bc68f(0x326)]('error',_0x2f3686),this['on'](_0x2bc68f(0x2cf),_0x2560b7),_0x21bd03&&(_0x21bd03[_0x2bc68f(0x2c3)]=_0x310d57['CLOSING'],this[_0x2bc68f(0x22e)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x3cf2d7}=_0x1bb23d;function _0x276627(_0x598701){const _0x391250=_0x8f2c;_0x598701[_0x391250(0x30b)](_0x391250(0x333));}function _0x15260d(){const _0x41c615=_0x8f2c;!this[_0x41c615(0x272)]&&this[_0x41c615(0x27e)][_0x41c615(0x38a)]&&this[_0x41c615(0x22e)]();}function _0x3ac568(_0x854948){const _0x4a0c9a=_0x8f2c;this[_0x4a0c9a(0x326)]('error',_0x3ac568),this[_0x4a0c9a(0x22e)](),this[_0x4a0c9a(0x28c)](_0x4a0c9a(0x2cf))===0x0&&this['emit'](_0x4a0c9a(0x2cf),_0x854948);}function _0x2b0841(_0x52a6df,_0x41efb2){const _0x1c115a=_0x8f2c;let _0x35caf5=!0x0;const _0x288abd=new _0x3cf2d7({..._0x41efb2,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x52a6df['on'](_0x1c115a(0x367),function(_0x421aa8,_0x52d937){const _0x43128b=_0x1c115a,_0x4f1ea1=!_0x52d937&&_0x288abd[_0x43128b(0x2be)][_0x43128b(0x28a)]?_0x421aa8['toString']():_0x421aa8;_0x288abd[_0x43128b(0x30a)](_0x4f1ea1)||_0x52a6df[_0x43128b(0x2a0)]();}),_0x52a6df[_0x1c115a(0x320)](_0x1c115a(0x2cf),function(_0x4e000d){const _0x32c02a=_0x1c115a;_0x288abd[_0x32c02a(0x272)]||(_0x35caf5=!0x1,_0x288abd[_0x32c02a(0x22e)](_0x4e000d));}),_0x52a6df['once']('close',function(){const _0x2b7358=_0x1c115a;_0x288abd[_0x2b7358(0x272)]||_0x288abd['push'](null);}),_0x288abd[_0x1c115a(0x1f9)]=function(_0x4513de,_0x2c047b){const _0x3f8996=_0x1c115a;if(_0x52a6df[_0x3f8996(0x33d)]===_0x52a6df[_0x3f8996(0x254)]){_0x2c047b(_0x4513de),process[_0x3f8996(0x357)](_0x276627,_0x288abd);return;}let _0x5b9904=!0x1;_0x52a6df['once'](_0x3f8996(0x2cf),function(_0x26be8a){_0x5b9904=!0x0,_0x2c047b(_0x26be8a);}),_0x52a6df['once'](_0x3f8996(0x333),function(){const _0x539693=_0x3f8996;_0x5b9904||_0x2c047b(_0x4513de),process[_0x539693(0x357)](_0x276627,_0x288abd);}),_0x35caf5&&_0x52a6df[_0x3f8996(0x30e)]();},_0x288abd[_0x1c115a(0x35e)]=function(_0x5e77c0){const _0x2e9456=_0x1c115a;if(_0x52a6df['readyState']===_0x52a6df[_0x2e9456(0x2c4)]){_0x52a6df[_0x2e9456(0x320)](_0x2e9456(0x1e5),function(){const _0x5e1892=_0x2e9456;_0x288abd[_0x5e1892(0x35e)](_0x5e77c0);});return;}_0x52a6df[_0x2e9456(0x36f)]!==null&&(_0x52a6df[_0x2e9456(0x36f)][_0x2e9456(0x27e)][_0x2e9456(0x38a)]?(_0x5e77c0(),_0x288abd[_0x2e9456(0x2be)][_0x2e9456(0x31f)]&&_0x288abd[_0x2e9456(0x22e)]()):(_0x52a6df[_0x2e9456(0x36f)][_0x2e9456(0x320)]('finish',function(){_0x5e77c0();}),_0x52a6df['close']()));},_0x288abd[_0x1c115a(0x23b)]=function(){const _0x5a2a81=_0x1c115a;_0x52a6df[_0x5a2a81(0x330)]&&_0x52a6df[_0x5a2a81(0x2fa)]();},_0x288abd['_write']=function(_0x3c502a,_0x18899c,_0x32e081){const _0x5c4a13=_0x1c115a;if(_0x52a6df[_0x5c4a13(0x33d)]===_0x52a6df[_0x5c4a13(0x2c4)]){_0x52a6df[_0x5c4a13(0x320)](_0x5c4a13(0x1e5),function(){const _0x49fb0f=_0x5c4a13;_0x288abd[_0x49fb0f(0x32c)](_0x3c502a,_0x18899c,_0x32e081);});return;}_0x52a6df[_0x5c4a13(0x257)](_0x3c502a,_0x32e081);},_0x288abd['on'](_0x1c115a(0x250),_0x15260d),_0x288abd['on'](_0x1c115a(0x2cf),_0x3ac568),_0x288abd;}return Oe=_0x2b0841,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=jt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x2b9f42}=ne();function _0x357578(_0x29d4c0){const _0x3b4cc6=_0x8f2c,_0x3f230a=new Set();let _0x1c2cf7=-0x1,_0xef4ec8=-0x1,_0x331f14=0x0;for(_0x331f14;_0x331f14<_0x29d4c0['length'];_0x331f14++){const _0x323b01=_0x29d4c0[_0x3b4cc6(0x2ea)](_0x331f14);if(_0xef4ec8===-0x1&&_0x2b9f42[_0x323b01]===0x1)_0x1c2cf7===-0x1&&(_0x1c2cf7=_0x331f14);else{if(_0x331f14!==0x0&&(_0x323b01===0x20||_0x323b01===0x9))_0xef4ec8===-0x1&&_0x1c2cf7!==-0x1&&(_0xef4ec8=_0x331f14);else{if(_0x323b01===0x2c){if(_0x1c2cf7===-0x1)throw new SyntaxError(_0x3b4cc6(0x29e)+_0x331f14);_0xef4ec8===-0x1&&(_0xef4ec8=_0x331f14);const _0x1250e2=_0x29d4c0[_0x3b4cc6(0x291)](_0x1c2cf7,_0xef4ec8);if(_0x3f230a['has'](_0x1250e2))throw new SyntaxError(_0x3b4cc6(0x2d4)+_0x1250e2+'\x22\x20subprotocol\x20is\x20duplicated');_0x3f230a[_0x3b4cc6(0x30d)](_0x1250e2),_0x1c2cf7=_0xef4ec8=-0x1;}else throw new SyntaxError(_0x3b4cc6(0x29e)+_0x331f14);}}}if(_0x1c2cf7===-0x1||_0xef4ec8!==-0x1)throw new SyntaxError('Unexpected\x20end\x20of\x20input');const _0x2739b4=_0x29d4c0[_0x3b4cc6(0x291)](_0x1c2cf7,_0x331f14);if(_0x3f230a['has'](_0x2739b4))throw new SyntaxError(_0x3b4cc6(0x2d4)+_0x2739b4+_0x3b4cc6(0x37c));return _0x3f230a['add'](_0x2739b4),_0x3f230a;}return Ce={'parse':_0x357578},Ce;}var Te,ot;function er(){const _0x261521=_0x1ee84f;if(ot)return Te;ot=0x1;const _0x1ffa38=_0x585b11,_0x1c03aa=_0x17586c,{Duplex:_0x4eac70}=_0x1bb23d,{createHash:_0x46d3fe}=_0x15ac28,_0x2faf4b=pt(),_0x2d323f=he(),_0x275985=Jt(),_0x27fa6b=Ie(),{GUID:_0x184d4c,kWebSocket:_0x5cc79f}=V(),_0x6fc365=/^[+/0-9A-Za-z]{22}==$/,_0x3b8e0e=0x0,_0x279ee5=0x1,_0x8515bf=0x2;class _0x59962a extends _0x1ffa38{constructor(_0x3b193f,_0xa6d217){const _0x52a875=_0x8f2c;if(super(),_0x3b193f={'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':_0x27fa6b,..._0x3b193f},_0x3b193f['port']==null&&!_0x3b193f[_0x52a875(0x20f)]&&!_0x3b193f[_0x52a875(0x38d)]||_0x3b193f[_0x52a875(0x224)]!=null&&(_0x3b193f[_0x52a875(0x20f)]||_0x3b193f['noServer'])||_0x3b193f['server']&&_0x3b193f[_0x52a875(0x38d)])throw new TypeError(_0x52a875(0x26d));if(_0x3b193f[_0x52a875(0x224)]!=null?(this[_0x52a875(0x2de)]=_0x1c03aa[_0x52a875(0x310)]((_0x56693e,_0x2b5d46)=>{const _0x3daadc=_0x52a875,_0x40b8ea=_0x1c03aa[_0x3daadc(0x2cd)][0x1aa];_0x2b5d46['writeHead'](0x1aa,{'Content-Length':_0x40b8ea[_0x3daadc(0x314)],'Content-Type':_0x3daadc(0x2a2)}),_0x2b5d46[_0x3daadc(0x250)](_0x40b8ea);}),this[_0x52a875(0x2de)][_0x52a875(0x1e8)](_0x3b193f['port'],_0x3b193f[_0x52a875(0x21d)],_0x3b193f[_0x52a875(0x26a)],_0xa6d217)):_0x3b193f['server']&&(this['_server']=_0x3b193f[_0x52a875(0x20f)]),this[_0x52a875(0x2de)]){const _0x2767ba=this[_0x52a875(0x30b)]['bind'](this,'connection');this[_0x52a875(0x1f0)]=_0x5e8f11(this[_0x52a875(0x2de)],{'listening':this[_0x52a875(0x30b)][_0x52a875(0x206)](this,_0x52a875(0x1f5)),'error':this[_0x52a875(0x30b)][_0x52a875(0x206)](this,_0x52a875(0x2cf)),'upgrade':(_0x459b39,_0x213709,_0x216f5e)=>{const _0xc433d3=_0x52a875;this[_0xc433d3(0x335)](_0x459b39,_0x213709,_0x216f5e,_0x2767ba);}});}_0x3b193f[_0x52a875(0x28b)]===!0x0&&(_0x3b193f['perMessageDeflate']={}),_0x3b193f[_0x52a875(0x370)]&&(this['clients']=new Set(),this['_shouldEmitClose']=!0x1),this[_0x52a875(0x2bd)]=_0x3b193f,this['_state']=_0x3b8e0e;}[_0x261521(0x2e6)](){const _0x24e52f=_0x261521;if(this[_0x24e52f(0x2bd)][_0x24e52f(0x38d)])throw new Error(_0x24e52f(0x221));return this[_0x24e52f(0x2de)]?this[_0x24e52f(0x2de)][_0x24e52f(0x2e6)]():null;}[_0x261521(0x333)](_0x12a1b1){const _0x3df578=_0x261521;if(this['_state']===_0x8515bf){_0x12a1b1&&this[_0x3df578(0x320)](_0x3df578(0x333),()=>{const _0x34cc59=_0x3df578;_0x12a1b1(new Error(_0x34cc59(0x232)));}),process['nextTick'](_0x4a15c8,this);return;}if(_0x12a1b1&&this[_0x3df578(0x320)](_0x3df578(0x333),_0x12a1b1),this[_0x3df578(0x230)]!==_0x279ee5){if(this[_0x3df578(0x230)]=_0x279ee5,this[_0x3df578(0x2bd)][_0x3df578(0x38d)]||this['options'][_0x3df578(0x20f)])this[_0x3df578(0x2de)]&&(this[_0x3df578(0x1f0)](),this[_0x3df578(0x1f0)]=this[_0x3df578(0x2de)]=null),this[_0x3df578(0x35c)]?this[_0x3df578(0x35c)][_0x3df578(0x295)]?this[_0x3df578(0x1ff)]=!0x0:process[_0x3df578(0x357)](_0x4a15c8,this):process[_0x3df578(0x357)](_0x4a15c8,this);else{const _0x29f6fc=this['_server'];this[_0x3df578(0x1f0)](),this[_0x3df578(0x1f0)]=this[_0x3df578(0x2de)]=null,_0x29f6fc[_0x3df578(0x333)](()=>{_0x4a15c8(this);});}}}[_0x261521(0x297)](_0x423de2){const _0x27061c=_0x261521;if(this['options'][_0x27061c(0x242)]){const _0x4eddad=_0x423de2['url'][_0x27061c(0x307)]('?');if((_0x4eddad!==-0x1?_0x423de2[_0x27061c(0x2c0)][_0x27061c(0x291)](0x0,_0x4eddad):_0x423de2[_0x27061c(0x2c0)])!==this[_0x27061c(0x2bd)][_0x27061c(0x242)])return!0x1;}return!0x0;}[_0x261521(0x335)](_0x42c935,_0x1c5604,_0x27013b,_0x460bdc){const _0x4fe356=_0x261521;_0x1c5604['on'](_0x4fe356(0x2cf),_0x12c876);const _0x5b17c4=_0x42c935['headers'][_0x4fe356(0x32a)],_0x242206=_0x42c935['headers'][_0x4fe356(0x2b6)],_0xbdff86=+_0x42c935[_0x4fe356(0x383)]['sec-websocket-version'];if(_0x42c935['method']!==_0x4fe356(0x2d0)){_0x4f2e3c(this,_0x42c935,_0x1c5604,0x195,_0x4fe356(0x388));return;}if(_0x242206===void 0x0||_0x242206[_0x4fe356(0x252)]()!==_0x4fe356(0x363)){_0x4f2e3c(this,_0x42c935,_0x1c5604,0x190,_0x4fe356(0x2bc));return;}if(_0x5b17c4===void 0x0||!_0x6fc365['test'](_0x5b17c4)){_0x4f2e3c(this,_0x42c935,_0x1c5604,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header');return;}if(_0xbdff86!==0x8&&_0xbdff86!==0xd){_0x4f2e3c(this,_0x42c935,_0x1c5604,0x190,_0x4fe356(0x2da));return;}if(!this[_0x4fe356(0x297)](_0x42c935)){_0x233227(_0x1c5604,0x190);return;}const _0x8df883=_0x42c935[_0x4fe356(0x383)][_0x4fe356(0x296)];let _0xdc8ea=new Set();if(_0x8df883!==void 0x0)try{_0xdc8ea=_0x275985['parse'](_0x8df883);}catch{_0x4f2e3c(this,_0x42c935,_0x1c5604,0x190,'Invalid\x20Sec-WebSocket-Protocol\x20header');return;}const _0x421e19=_0x42c935[_0x4fe356(0x383)][_0x4fe356(0x25e)],_0x5db295={};if(this[_0x4fe356(0x2bd)][_0x4fe356(0x28b)]&&_0x421e19!==void 0x0){const _0x4e2b3e=new _0x2d323f(this[_0x4fe356(0x2bd)][_0x4fe356(0x28b)],!0x0,this[_0x4fe356(0x2bd)][_0x4fe356(0x218)]);try{const _0x443eef=_0x2faf4b[_0x4fe356(0x338)](_0x421e19);_0x443eef[_0x2d323f[_0x4fe356(0x35d)]]&&(_0x4e2b3e[_0x4fe356(0x2c9)](_0x443eef[_0x2d323f[_0x4fe356(0x35d)]]),_0x5db295[_0x2d323f['extensionName']]=_0x4e2b3e);}catch{_0x4f2e3c(this,_0x42c935,_0x1c5604,0x190,_0x4fe356(0x365));return;}}if(this[_0x4fe356(0x2bd)]['verifyClient']){const _0x2a0a3a={'origin':_0x42c935[_0x4fe356(0x383)][''+(_0xbdff86===0x8?'sec-websocket-origin':_0x4fe356(0x25b))],'secure':!!(_0x42c935[_0x4fe356(0x2fb)][_0x4fe356(0x251)]||_0x42c935['socket'][_0x4fe356(0x33f)]),'req':_0x42c935};if(this[_0x4fe356(0x2bd)]['verifyClient'][_0x4fe356(0x314)]===0x2){this[_0x4fe356(0x2bd)]['verifyClient'](_0x2a0a3a,(_0x51fa1f,_0x534bcc,_0x30baba,_0x55aabb)=>{const _0x575a14=_0x4fe356;if(!_0x51fa1f)return _0x233227(_0x1c5604,_0x534bcc||0x191,_0x30baba,_0x55aabb);this[_0x575a14(0x1f1)](_0x5db295,_0x5b17c4,_0xdc8ea,_0x42c935,_0x1c5604,_0x27013b,_0x460bdc);});return;}if(!this[_0x4fe356(0x2bd)][_0x4fe356(0x2f4)](_0x2a0a3a))return _0x233227(_0x1c5604,0x191);}this[_0x4fe356(0x1f1)](_0x5db295,_0x5b17c4,_0xdc8ea,_0x42c935,_0x1c5604,_0x27013b,_0x460bdc);}[_0x261521(0x1f1)](_0x821d8c,_0x3bd0cf,_0x3ed8e4,_0x149528,_0x55af50,_0x494bea,_0x502b2a){const _0x59919b=_0x261521;if(!_0x55af50[_0x59919b(0x32b)]||!_0x55af50[_0x59919b(0x217)])return _0x55af50[_0x59919b(0x22e)]();if(_0x55af50[_0x5cc79f])throw new Error(_0x59919b(0x2c7));if(this[_0x59919b(0x230)]>_0x3b8e0e)return _0x233227(_0x55af50,0x1f7);const _0x39d262=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0x59919b(0x31c),_0x59919b(0x331),_0x59919b(0x32d)+_0x46d3fe(_0x59919b(0x237))['update'](_0x3bd0cf+_0x184d4c)['digest'](_0x59919b(0x246))],_0x20073f=new this[(_0x59919b(0x2bd))][(_0x59919b(0x313))](null,void 0x0,this[_0x59919b(0x2bd)]);if(_0x3ed8e4[_0x59919b(0x295)]){const _0x4cc036=this[_0x59919b(0x2bd)]['handleProtocols']?this[_0x59919b(0x2bd)][_0x59919b(0x292)](_0x3ed8e4,_0x149528):_0x3ed8e4[_0x59919b(0x31a)]()[_0x59919b(0x359)]()['value'];_0x4cc036&&(_0x39d262[_0x59919b(0x30a)]('Sec-WebSocket-Protocol:\x20'+_0x4cc036),_0x20073f[_0x59919b(0x2d6)]=_0x4cc036);}if(_0x821d8c[_0x2d323f[_0x59919b(0x35d)]]){const _0x304c98=_0x821d8c[_0x2d323f[_0x59919b(0x35d)]][_0x59919b(0x216)],_0x12033c=_0x2faf4b['format']({[_0x2d323f[_0x59919b(0x35d)]]:[_0x304c98]});_0x39d262[_0x59919b(0x30a)](_0x59919b(0x306)+_0x12033c),_0x20073f[_0x59919b(0x26e)]=_0x821d8c;}this['emit']('headers',_0x39d262,_0x149528),_0x55af50[_0x59919b(0x385)](_0x39d262[_0x59919b(0x287)]('\x0d\x0a')[_0x59919b(0x31d)]('\x0d\x0a')),_0x55af50[_0x59919b(0x326)](_0x59919b(0x2cf),_0x12c876),_0x20073f[_0x59919b(0x2ee)](_0x55af50,_0x494bea,{'allowSynchronousEvents':this[_0x59919b(0x2bd)][_0x59919b(0x203)],'maxPayload':this[_0x59919b(0x2bd)][_0x59919b(0x218)],'skipUTF8Validation':this['options'][_0x59919b(0x2e8)]}),this[_0x59919b(0x35c)]&&(this['clients'][_0x59919b(0x30d)](_0x20073f),_0x20073f['on']('close',()=>{const _0x52f9b2=_0x59919b;this[_0x52f9b2(0x35c)][_0x52f9b2(0x2bb)](_0x20073f),this[_0x52f9b2(0x1ff)]&&!this['clients']['size']&&process['nextTick'](_0x4a15c8,this);})),_0x502b2a(_0x20073f,_0x149528);}}Te=_0x59962a;function _0x5e8f11(_0x36b27e,_0x33c18b){const _0x288b9f=_0x261521;for(const _0x4e44b6 of Object[_0x288b9f(0x36b)](_0x33c18b))_0x36b27e['on'](_0x4e44b6,_0x33c18b[_0x4e44b6]);return function(){const _0x32231f=_0x288b9f;for(const _0x449510 of Object[_0x32231f(0x36b)](_0x33c18b))_0x36b27e[_0x32231f(0x326)](_0x449510,_0x33c18b[_0x449510]);};}function _0x4a15c8(_0x3d4194){const _0x117286=_0x261521;_0x3d4194[_0x117286(0x230)]=_0x8515bf,_0x3d4194[_0x117286(0x30b)](_0x117286(0x333));}function _0x12c876(){const _0x2a8622=_0x261521;this[_0x2a8622(0x22e)]();}function _0x233227(_0x351fa1,_0x21eaf6,_0x1e4c38,_0x429a3f){const _0x2f6014=_0x261521;_0x1e4c38=_0x1e4c38||_0x1c03aa[_0x2f6014(0x2cd)][_0x21eaf6],_0x429a3f={'Connection':'close','Content-Type':'text/html','Content-Length':Buffer['byteLength'](_0x1e4c38),..._0x429a3f},_0x351fa1[_0x2f6014(0x320)](_0x2f6014(0x249),_0x351fa1['destroy']),_0x351fa1['end'](_0x2f6014(0x361)+_0x21eaf6+'\x20'+_0x1c03aa['STATUS_CODES'][_0x21eaf6]+'\x0d\x0a'+Object[_0x2f6014(0x36b)](_0x429a3f)[_0x2f6014(0x308)](_0x12e764=>_0x12e764+':\x20'+_0x429a3f[_0x12e764])[_0x2f6014(0x31d)]('\x0d\x0a')+_0x2f6014(0x1ef)+_0x1e4c38);}function _0x4f2e3c(_0x3966b2,_0x1a9636,_0x23609d,_0x1aaf61,_0x2795f3){const _0x132144=_0x261521;if(_0x3966b2[_0x132144(0x28c)](_0x132144(0x325))){const _0x324353=new Error(_0x2795f3);Error[_0x132144(0x281)](_0x324353,_0x4f2e3c),_0x3966b2['emit']('wsClientError',_0x324353,_0x23609d,_0x1a9636);}else _0x233227(_0x23609d,_0x1aaf61,_0x2795f3);}return Te;}er();var tr=Object['getOwnPropertyDescriptor'],rr=(_0x559f0a,_0x1ff14f,_0x5434ff,_0x5ee2aa)=>{for(var _0x2eacc4=_0x5ee2aa>0x1?void 0x0:_0x5ee2aa?tr(_0x1ff14f,_0x5434ff):_0x1ff14f,_0x2a72d8=_0x559f0a['length']-0x1,_0x1852d2;_0x2a72d8>=0x0;_0x2a72d8--)(_0x1852d2=_0x559f0a[_0x2a72d8])&&(_0x2eacc4=_0x1852d2(_0x2eacc4)||_0x2eacc4);return _0x2eacc4;},sr=(_0x53111a,_0xfabd86)=>(_0x342c13,_0x220de3)=>_0xfabd86(_0x342c13,_0x220de3,_0x53111a);let Ne=class extends _0x1d8789{constructor(_0x35f09d){const _0x34dd83=_0x1ee84f;super(),this[_0x34dd83(0x1e4)]=_0x35f09d;}['createSocket'](_0x46f529){const _0xf56fe1=_0x1ee84f;var _0x2c4d06;const _0x3481d9=(_0x2c4d06=this[_0xf56fe1(0x1e4)]['getConfig'](Be))==null?void 0x0:_0x2c4d06[_0xf56fe1(0x231)];try{const _0x5e53cc=new Qt(_0x46f529,{'headers':{..._0x3481d9}}),_0x47bace=new _0x1e08fa();return{'URL':_0x46f529,'close':(_0x2b1fcb,_0x5ac1af)=>{const _0x46a57d=_0xf56fe1;_0x5e53cc['close'](_0x2b1fcb,_0x5ac1af),_0x47bace[_0x46a57d(0x278)]();},'send':_0x1ff11d=>{_0x5e53cc['send'](_0x1ff11d);},'open$':new _0x3bc0c8(_0x49e629=>{const _0x3ab9d8=_0xf56fe1,_0x187a44=_0x4f6e6d=>_0x49e629[_0x3ab9d8(0x359)](_0x4f6e6d);_0x5e53cc[_0x3ab9d8(0x31e)](_0x3ab9d8(0x1e5),_0x187a44),_0x47bace[_0x3ab9d8(0x30d)](_0x2b1439(()=>_0x5e53cc[_0x3ab9d8(0x21a)](_0x3ab9d8(0x1e5),_0x187a44)));})['pipe'](_0x120ad7()),'close$':new _0x3bc0c8(_0x140a1a=>{const _0x35b4a2=_0xf56fe1,_0x5237aa=_0x332eb8=>_0x140a1a[_0x35b4a2(0x359)](_0x332eb8);_0x5e53cc[_0x35b4a2(0x31e)](_0x35b4a2(0x333),_0x5237aa),_0x47bace['add'](_0x2b1439(()=>_0x5e53cc[_0x35b4a2(0x21a)]('close',_0x5237aa)));})[_0xf56fe1(0x31b)](_0x120ad7()),'error$':new _0x3bc0c8(_0x576ee6=>{const _0xe9b361=_0xf56fe1,_0x2e7782=_0x1fb6b3=>_0x576ee6['next'](_0x1fb6b3);_0x5e53cc[_0xe9b361(0x31e)](_0xe9b361(0x2cf),_0x2e7782),_0x47bace[_0xe9b361(0x30d)](_0x2b1439(()=>_0x5e53cc[_0xe9b361(0x21a)](_0xe9b361(0x2cf),_0x2e7782)));})[_0xf56fe1(0x31b)](_0x120ad7()),'message$':new _0x3bc0c8(_0x1cd27f=>{const _0x592d52=_0xf56fe1,_0x21d327=_0x388b78=>_0x1cd27f[_0x592d52(0x359)](_0x388b78);_0x5e53cc[_0x592d52(0x31e)]('message',_0x21d327),_0x47bace[_0x592d52(0x30d)](_0x2b1439(()=>_0x5e53cc[_0x592d52(0x21a)](_0x592d52(0x367),_0x21d327)));})['pipe'](_0x120ad7())};}catch(_0x2ef74c){return console['error'](_0x2ef74c),null;}}};function _0x8f2c(_0x31a74b,_0x274aa8){const _0x1584d1=_0x1584();return _0x8f2c=function(_0x8f2c30,_0x1d1e23){_0x8f2c30=_0x8f2c30-0x1de;let _0x40de37=_0x1584d1[_0x8f2c30];return _0x40de37;},_0x8f2c(_0x31a74b,_0x274aa8);}Ne=rr([sr(0x0,_0x4975c4)],Ne);var ir=Object['defineProperty'],nr=Object[_0x1ee84f(0x280)],or=(_0x11e0f7,_0x6778c4,_0x5ba87)=>_0x6778c4 in _0x11e0f7?ir(_0x11e0f7,_0x6778c4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5ba87}):_0x11e0f7[_0x6778c4]=_0x5ba87,ar=(_0x5883cc,_0x38c9c4,_0x53af07,_0x11bf96)=>{for(var _0x53e262=_0x11bf96>0x1?void 0x0:_0x11bf96?nr(_0x38c9c4,_0x53af07):_0x38c9c4,_0x565b07=_0x5883cc['length']-0x1,_0x28db4e;_0x565b07>=0x0;_0x565b07--)(_0x28db4e=_0x5883cc[_0x565b07])&&(_0x53e262=_0x28db4e(_0x53e262)||_0x53e262);return _0x53e262;},ke=(_0x4f8806,_0x165530)=>(_0x35808f,_0x3a87b6)=>_0x165530(_0x35808f,_0x3a87b6,_0x4f8806),lr=(_0x5d2f46,_0x4dd825,_0xa8238a)=>or(_0x5d2f46,_0x4dd825+'',_0xa8238a);let Pe=class extends _0xc95fdd{constructor(_0x1caff5=Ft,_0x3dff3d,_0x43f067,_0x39b2ba){const _0x3caf44=_0x1ee84f;_0x1caff5['customHeaders']||_0x3dff3d[_0x3caf44(0x248)](_0x3caf44(0x355)),super(),this[_0x3caf44(0x1e4)]=_0x43f067,this[_0x3caf44(0x345)]=_0x39b2ba,this[_0x3caf44(0x1e4)]['setConfig'](Be,_0x1caff5);}[_0x1ee84f(0x275)](){this['_registerDependencies']();}[_0x1ee84f(0x24f)](){const _0x576999=_0x1ee84f;_0x28aa56(this[_0x576999(0x345)],[[_0x5e6b37,{'useClass':Ne}]]);}};lr(Pe,_0x1ee84f(0x22f),_0x1ee84f(0x2d9)),Pe=ar([_0x3e9ee6(_0x2a465c),ke(0x1,_0x2a141b),ke(0x2,_0x4975c4),ke(0x3,_0x5eb814(_0x4964af))],Pe);var fr=Object[_0x1ee84f(0x280)],cr=(_0x56fe1b,_0x10429d,_0x55cbe4,_0x38ca26)=>{const _0x498770=_0x1ee84f;for(var _0x1a6356=_0x38ca26>0x1?void 0x0:_0x38ca26?fr(_0x10429d,_0x55cbe4):_0x10429d,_0x3da891=_0x56fe1b[_0x498770(0x314)]-0x1,_0x10e1a1;_0x3da891>=0x0;_0x3da891--)(_0x10e1a1=_0x56fe1b[_0x3da891])&&(_0x1a6356=_0x10e1a1(_0x1a6356)||_0x1a6356);return _0x1a6356;},se=(_0x3e2986,_0x3f78a0)=>(_0x1d5189,_0x1dbfb1)=>_0x3f78a0(_0x1d5189,_0x1dbfb1,_0x3e2986);let at=class extends _0x74ca60{constructor(_0x31175b,_0x28fd3b,_0x33f719,_0x24ee89,_0x50ddd0){const _0x295f47=_0x1ee84f;super(_0x31175b,_0x28fd3b,_0x33f719,_0x24ee89,_0x50ddd0);const _0x4506eb=this['_configService'][_0x295f47(0x2f1)](Be);this[_0x295f47(0x260)]['registerHTTPInterceptor']({'interceptor':(_0x1a45f0,_0xb539a6)=>{const _0x4f055e=_0x295f47;var _0xae233f;const _0x5f31b8=_0x1a45f0['headers'];return(_0xae233f=_0x4506eb==null?void 0x0:_0x4506eb[_0x4f055e(0x231)])!=null&&_0xae233f['cookie']&&_0x5f31b8['set'](_0x4f055e(0x2fe),_0x4506eb[_0x4f055e(0x231)][_0x4f055e(0x2df)]),_0xb539a6(_0x1a45f0);}});}async[_0x1ee84f(0x38b)](_0x2d7bb0){return this['_doCreateSocket'](_0x2d7bb0);}};at=cr([se(0x0,_0x5eb814(_0x4964af)),se(0x1,_0x5eb814(_0x458821)),se(0x2,_0x4975c4),se(0x3,_0x2a141b),se(0x4,_0x28c148)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};