@univerjs-pro/collaboration-client-node 0.7.0-beta.0 → 0.7.0-nightly.202504301607
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/index.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +7 -7
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0x4a8b65=_0x5911;(function(_0x59494e,_0x1777f2){const _0x49adaf=_0x5911,_0x189704=_0x59494e();while(!![]){try{const _0x110a60=parseInt(_0x49adaf(0x234))/0x1+-parseInt(_0x49adaf(0x11d))/0x2+parseInt(_0x49adaf(0x183))/0x3+-parseInt(_0x49adaf(0x1c5))/0x4*(-parseInt(_0x49adaf(0x1b4))/0x5)+parseInt(_0x49adaf(0x10a))/0x6*(parseInt(_0x49adaf(0x192))/0x7)+parseInt(_0x49adaf(0x190))/0x8+-parseInt(_0x49adaf(0x262))/0x9*(parseInt(_0x49adaf(0x1f2))/0xa);if(_0x110a60===_0x1777f2)break;else _0x189704['push'](_0x189704['shift']());}catch(_0x44eba5){_0x189704['push'](_0x189704['shift']());}}}(_0x391c,0x98966));Object[_0x4a8b65(0xe1)](exports,Symbol['toStringTag'],{'value':_0x4a8b65(0x18a)});function _0x391c(){const _0x22cc71=['Sec-WebSocket-Extensions:\x20','perMessageDeflate','pathname','_bufferedBytes','send','message','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','encrypted','join','addEventListener','base64','map','_queue','WebSocket','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','createError','toString','open','keys','Plugin','setHeader','FIN\x20must\x20be\x20set','reset','setConfig','rxjs','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','object','Invalid\x20Upgrade\x20header','url','compress','\x22:\x20','_binaryType','_opcode','_readyState','protocolVersion','_originalIpc','apply','pending','timeout','kListener','terminate','CONNECTING','events','@univerjs-pro/collaboration-client','shift','sendFrame','invalid\x20UTF-8\x20sequence','MASK\x20must\x20be\x20clear','_generateMask','The\x20URL\x27s\x20pathname\x20is\x20empty','_errored','sec-websocket-accept','extensions','flush','Unknown\x20parameter\x20\x22','extensionName','statusCode','_configService','values','maxRedirects','completeUpgrade','_max_window_bits','handleUpgrade','_sender','Sec-WebSocket-Accept:\x20','_readableState','ping','toDisposable','function','Invalid\x20URL:\x20','onmessage','WS_ERR_EXPECTED_FIN','next','zlibInflateOptions','emitClose','split','748086yeJqvZ','_protocol','WS_ERR_UNEXPECTED_RSV_1','CLOSING','getData','concurrency','_loop','Module','toStringTag','Invalid\x20HTTP\x20method','params','haveLength','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','5725856RaNofA','authorization','3285877IjnLjs','isBuffer','path','readUInt32BE','_maskBuffer','autoPong','WS_ERR_INVALID_OPCODE','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','emit','text/plain','add','endEmitted','HTTP/1.1\x20','_originalSecure','onopen','_injector','sha1','_totalPayloadLength','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','_write','_registerDependencies','writeUInt16BE','_payloadLength','captureStackTrace','Invalid\x20Sec-WebSocket-Extensions\x20header','setTimeout','customHeaders','isArray','nextTick','pipe','dispatch','target','followRedirects','handshakeTimeout','470VvqnQD','text/html','method','_destroy','setSocket','client_no_context_takeover','ISnapshotServerService','\x20(supported\x20versions:\x20','search','unshift','protocol','_state','cleanup','from','size','getPayloadLength64','destroy','11836bTKYfM','Blob','headers','number','UniverCollaborationClientNodePlugin','ws+unix:','allowSynchronousEvents','Sec-WebSocket-Protocol:\x20','invalid\x20opcode\x20','isIP','Unexpected\x20server\x20response:\x20','sec-websocket-key','_decompress','string','dispose','server','jobs','species','kRun','@univerjs/network','removeListener','_compress','arrayBuffer','env','status-code','MASK\x20must\x20be\x20set','_closeCode','readable','arraybuffer','readyState','Z_DEFAULT_WINDOWBITS','digest','net','abort','tls','startLoop','pluginName','removeEventListener','exports','writeUIntBE','kIsForOnEventAttribute','buffers','_firstFragment','_doCreateSocket','concat','675230VCtonc','fin','kType','length','_fin','kDone','_isServer','getInfo','_shouldEmitClose','offer','startsWith','delete','\x22\x20must\x20have\x20only\x20a\x20single\x20value','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','Upgrade:\x20websocket','enqueue','WebSocket\x20is\x20not\x20open:\x20readyState\x20','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','_url','WS_ERR_UNEXPECTED_MASK','collaboration-client-node.config','destroyed','hostname','getMask','defaultPort','hasOwnProperty','wasClean','_receiver','dataMessage','CLOSED','accept','Injector','_buffers','redirect','freeze','total-length','client','opcode','wsClientError','_masked','clients','options','_errorEmitted','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','getPayloadLength16','read','type','binaryType','upgrade','auth','_fragments','invalid\x20payload\x20length\x20','Max\x20payload\x20size\x20exceeded','error','sec-websocket-extensions','maskBuffer','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','File','_socket','acceptAsServer','decompress','_closeMessage','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','concurrencyLimit','Sec-WebSocket-Origin','NodeCollaborationSocketService','220984PRUccN','_fragmented','generateMask','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','share','callback','_server','ILogService','address','constructor','password','onclose','allocUnsafe','_options','_final','readUInt16BE','kTarget','pause','kAborted','noServer','parse','pow','client_max_window_bits','normalizeParams','finished','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','skipUTF8Validation','wss:','Basic\x20','UniverCollaborationClientPlugin','HTTPService','_closeFrameSent','serverNoContextTakeover','STATUS_CODES','_deflate','handleProtocols','writeHead','call','setNoDelay','listenerCount','WS_NO_UTF_8_VALIDATE','_compressed','createInflateRaw','_req','servername','Sec-WebSocket-Extensions','63gqrhuQ','location','ISocketService','cookie','Observable','buffer','objectMode','_closeTimer','server_no_context_takeover','Server\x20sent\x20no\x20subprotocol','replace','readOnly','_redirects','byteOffset','https','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','Z_SYNC_FLUSH','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','construct','warn','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','finish','Unexpected\x20end\x20of\x20input','writable','\x0d\x0a\x0d\x0a','dequeue','verifyClient','errorEmitted','_allowSynchronousEvents','kByteLength','OPEN','blob','includes','WS_ERR_INVALID_UTF8','nodebuffer','createServer','_mask','zlibDeflateOptions','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','getOwnPropertyDescriptor','sec-websocket-version','crypto','https:','Server\x20sent\x20an\x20invalid\x20subprotocol','_autoPong','consume','write','username','response','set','http:','The\x20URL\x20contains\x20a\x20fragment\x20identifier','server_max_window_bits','pong','maxPayload','end','origin','entries','sec-websocket-origin','prototype','Cookie','socket','onerror','getBlobData','listeners','charCodeAt','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','__esModule','has','bufferedAmount','Inject','reason','serverMaxWindowBits','_originalHostOrSocketPath','defineProperty','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','createSocket','\x22\x20subprotocol\x20is\x20duplicated','mask','close','create','kMessage','controlMessage','data','resume','Invalid\x20Sec-WebSocket-Protocol\x20header','kReason','alloc','@univerjs/core','_removeListeners','Origin','test','get','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','Invalid\x20Sec-WebSocket-Accept\x20header','fragments','registerHTTPInterceptor','listening','isValidUTF8','connect','acceptAsClient','bind','Invalid\x20WebSocket\x20frame:\x20','format','once','isInteger','websocket','_no_context_takeover','IConfigService','isPaused','indexOf','_inflate','ws:','The\x20\x22','forEach','6jUOTlu','frame','_paused','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','unmask','default','isServer','The\x20server\x20is\x20not\x20running','socketPath','Sec-WebSocket-Protocol','connection','kCode','binary','host','GET','permessage-deflate','kError','shouldHandle','_messageLength','1671952sWbpko','_bufferedAmount','_maxPayload','Invalid\x20value\x20for\x20parameter\x20\x22','port','handleEvent','stream','toLowerCase','Unexpected\x20character\x20at\x20index\x20','conclude','push','_closeFrameReceived','_writableState','_threshold','update','Parameter\x20\x22','clientMaxWindowBits','slice','clientNoContextTakeover','DependentOn','code','byteLength','authorized','request','Connection:\x20Upgrade','_extensions'];_0x391c=function(){return _0x22cc71;};return _0x391c();}const st=require(_0x4a8b65(0x162)),A=require(_0x4a8b65(0xef)),it=require(_0x4a8b65(0x1d8)),V=require(_0x4a8b65(0x14f)),nt=require(_0x4a8b65(0x161)),vt=require(_0x4a8b65(0x270)),ot=require('http'),St=require(_0x4a8b65(0x1e5)),Et=require(_0x4a8b65(0x1e7)),Le=require(_0x4a8b65(0xc0)),oe=require('stream'),xt=require(_0x4a8b65(0x153)),bt=require('zlib'),wt=require('buffer'),Ot=require('@univerjs-pro/collaboration'),fe=_0x4a8b65(0x206),Ct={'customHeaders':{}};function Tt(_0x13a65b){const _0x1cbf65=_0x4a8b65;return _0x13a65b&&_0x13a65b['__esModule']&&Object['prototype'][_0x1cbf65(0x20b)]['call'](_0x13a65b,'default')?_0x13a65b[_0x1cbf65(0x10f)]:_0x13a65b;}function at(_0x240caf){const _0xa6ed87=_0x4a8b65;if(Object[_0xa6ed87(0xd2)][_0xa6ed87(0x20b)][_0xa6ed87(0x259)](_0x240caf,_0xa6ed87(0xda)))return _0x240caf;var _0x38f16e=_0x240caf['default'];if(typeof _0x38f16e==_0xa6ed87(0x17b)){var _0xdfc9f7=function _0x2d5f0f(){const _0xf84f5e=_0xa6ed87;return this instanceof _0x2d5f0f?Reflect[_0xf84f5e(0x274)](_0x38f16e,arguments,this[_0xf84f5e(0x23d)]):_0x38f16e[_0xf84f5e(0x15b)](this,arguments);};_0xdfc9f7[_0xa6ed87(0xd2)]=_0x38f16e[_0xa6ed87(0xd2)];}else _0xdfc9f7={};return Object[_0xa6ed87(0xe1)](_0xdfc9f7,'__esModule',{'value':!0x0}),Object[_0xa6ed87(0x149)](_0x240caf)[_0xa6ed87(0x109)](function(_0xa9aeaa){const _0x36e17c=_0xa6ed87;var _0x323381=Object[_0x36e17c(0xbe)](_0x240caf,_0xa9aeaa);Object['defineProperty'](_0xdfc9f7,_0xa9aeaa,_0x323381[_0x36e17c(0xf3)]?_0x323381:{'enumerable':!0x0,'get':function(){return _0x240caf[_0xa9aeaa];}});}),_0xdfc9f7;}var se={'exports':{}},ge,Ge;function H(){const _0x57c246=_0x4a8b65;if(Ge)return ge;Ge=0x1;const _0x9f6ae0=[_0x57c246(0x284),'arraybuffer',_0x57c246(0xf6)],_0x2b71b7=typeof Blob<'u';return _0x2b71b7&&_0x9f6ae0[_0x57c246(0x127)](_0x57c246(0x281)),ge={'BINARY_TYPES':_0x9f6ae0,'EMPTY_BUFFER':Buffer[_0x57c246(0xee)](0x0),'GUID':_0x57c246(0x237),'hasBlob':_0x2b71b7,'kForOnEventAttribute':Symbol(_0x57c246(0x1ed)),'kListener':Symbol(_0x57c246(0x15e)),'kStatusCode':Symbol(_0x57c246(0x1dd)),'kWebSocket':Symbol(_0x57c246(0x101)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x4a8b65(0x214)](Object[_0x4a8b65(0xe1)]({'__proto__':null,'default':Nt},Symbol[_0x4a8b65(0x18b)],{'value':_0x4a8b65(0x18a)})),Lt=at(kt);var Ve;function ce(){const _0x21ef11=_0x4a8b65;if(Ve)return se['exports'];Ve=0x1;const {EMPTY_BUFFER:_0x54a8e8}=H(),_0x28397e=Buffer[Symbol['species']];function _0x37bf69(_0x7da736,_0x144fe5){const _0x1bf34f=_0x5911;if(_0x7da736[_0x1bf34f(0x1f5)]===0x0)return _0x54a8e8;if(_0x7da736[_0x1bf34f(0x1f5)]===0x1)return _0x7da736[0x0];const _0x35ee71=Buffer[_0x1bf34f(0x240)](_0x144fe5);let _0x3b6b81=0x0;for(let _0x3c4970=0x0;_0x3c4970<_0x7da736[_0x1bf34f(0x1f5)];_0x3c4970++){const _0x1f874c=_0x7da736[_0x3c4970];_0x35ee71['set'](_0x1f874c,_0x3b6b81),_0x3b6b81+=_0x1f874c[_0x1bf34f(0x1f5)];}return _0x3b6b81<_0x144fe5?new _0x28397e(_0x35ee71[_0x1bf34f(0x267)],_0x35ee71[_0x1bf34f(0x26f)],_0x3b6b81):_0x35ee71;}function _0x5d1330(_0x28b578,_0x219b61,_0x2aa091,_0x3cb9c8,_0x44bd3e){for(let _0x50e51d=0x0;_0x50e51d<_0x44bd3e;_0x50e51d++)_0x2aa091[_0x3cb9c8+_0x50e51d]=_0x28b578[_0x50e51d]^_0x219b61[_0x50e51d&0x3];}function _0x2ccde5(_0x56f82f,_0x5862fb){for(let _0x36a43f=0x0;_0x36a43f<_0x56f82f['length'];_0x36a43f++)_0x56f82f[_0x36a43f]^=_0x5862fb[_0x36a43f&0x3];}function _0x3394dc(_0x241185){const _0x161cb6=_0x5911;return _0x241185['length']===_0x241185[_0x161cb6(0x267)]['byteLength']?_0x241185[_0x161cb6(0x267)]:_0x241185[_0x161cb6(0x267)][_0x161cb6(0x12e)](_0x241185[_0x161cb6(0x26f)],_0x241185[_0x161cb6(0x26f)]+_0x241185[_0x161cb6(0x1f5)]);}function _0x56a060(_0x45fe52){const _0x3a70bc=_0x5911;if(_0x56a060[_0x3a70bc(0x26d)]=!0x0,Buffer[_0x3a70bc(0x193)](_0x45fe52))return _0x45fe52;let _0x3389f2;return _0x45fe52 instanceof ArrayBuffer?_0x3389f2=new _0x28397e(_0x45fe52):ArrayBuffer['isView'](_0x45fe52)?_0x3389f2=new _0x28397e(_0x45fe52[_0x3a70bc(0x267)],_0x45fe52[_0x3a70bc(0x26f)],_0x45fe52[_0x3a70bc(0x132)]):(_0x3389f2=Buffer['from'](_0x45fe52),_0x56a060[_0x3a70bc(0x26d)]=!0x1),_0x3389f2;}if(se['exports']={'concat':_0x37bf69,'mask':_0x5d1330,'toArrayBuffer':_0x3394dc,'toBuffer':_0x56a060,'unmask':_0x2ccde5},!process[_0x21ef11(0x1dc)]['WS_NO_BUFFER_UTIL'])try{const _0x3241b3=Lt;se[_0x21ef11(0x1eb)]['mask']=function(_0x32bfc7,_0x1226fb,_0x555dc8,_0x2fa73c,_0x28b83a){const _0x111ee5=_0x21ef11;_0x28b83a<0x30?_0x5d1330(_0x32bfc7,_0x1226fb,_0x555dc8,_0x2fa73c,_0x28b83a):_0x3241b3[_0x111ee5(0xe5)](_0x32bfc7,_0x1226fb,_0x555dc8,_0x2fa73c,_0x28b83a);},se['exports'][_0x21ef11(0x10e)]=function(_0x1043e8,_0x3b01c9){const _0x389a26=_0x21ef11;_0x1043e8[_0x389a26(0x1f5)]<0x20?_0x2ccde5(_0x1043e8,_0x3b01c9):_0x3241b3[_0x389a26(0x10e)](_0x1043e8,_0x3b01c9);};}catch{}return se[_0x21ef11(0x1eb)];}var ye,He;function Pt(){const _0x40e5d7=_0x4a8b65;if(He)return ye;He=0x1;const _0x3393d0=Symbol(_0x40e5d7(0x1f7)),_0x490a52=Symbol(_0x40e5d7(0x1d7));class _0x7e3afe{constructor(_0x1cd1bf){const _0x507eda=_0x40e5d7;this[_0x3393d0]=()=>{this['pending']--,this[_0x490a52]();},this['concurrency']=_0x1cd1bf||0x1/0x0,this[_0x507eda(0x1d5)]=[],this[_0x507eda(0x15c)]=0x0;}[_0x40e5d7(0x19c)](_0x178527){const _0x66bb17=_0x40e5d7;this[_0x66bb17(0x1d5)][_0x66bb17(0x127)](_0x178527),this[_0x490a52]();}[_0x490a52](){const _0x2c18d9=_0x40e5d7;if(this[_0x2c18d9(0x15c)]!==this[_0x2c18d9(0x188)]&&this[_0x2c18d9(0x1d5)]['length']){const _0x326ea2=this[_0x2c18d9(0x1d5)][_0x2c18d9(0x163)]();this[_0x2c18d9(0x15c)]++,_0x326ea2(this[_0x3393d0]);}}}return ye=_0x7e3afe,ye;}var ve,ze;function he(){const _0x4eccf0=_0x4a8b65;if(ze)return ve;ze=0x1;const _0x2b68e2=bt,_0x36419b=ce(),_0x5c620b=Pt(),{kStatusCode:_0x44cc8f}=H(),_0x174896=Buffer[Symbol[_0x4eccf0(0x1d6)]],_0xa2a1de=Buffer[_0x4eccf0(0x1c1)]([0x0,0x0,0xff,0xff]),_0x445dcf=Symbol(_0x4eccf0(0x119)),_0x26678b=Symbol(_0x4eccf0(0x215)),_0x4b0c19=Symbol(_0x4eccf0(0x239)),_0x23f0ce=Symbol(_0x4eccf0(0x1ee)),_0x31fb1f=Symbol(_0x4eccf0(0x227));let _0x3652e3;class _0x4e9b28{constructor(_0x52c429,_0x5bfd79,_0x393c70){const _0x822d05=_0x4eccf0;if(this[_0x822d05(0x11f)]=_0x393c70|0x0,this[_0x822d05(0x241)]=_0x52c429||{},this[_0x822d05(0x12a)]=this[_0x822d05(0x241)]['threshold']!==void 0x0?this['_options']['threshold']:0x400,this[_0x822d05(0x1f8)]=!!_0x5bfd79,this[_0x822d05(0x256)]=null,this[_0x822d05(0x106)]=null,this[_0x822d05(0x18d)]=null,!_0x3652e3){const _0x833a99=this[_0x822d05(0x241)][_0x822d05(0x231)]!==void 0x0?this[_0x822d05(0x241)]['concurrencyLimit']:0xa;_0x3652e3=new _0x5c620b(_0x833a99);}}static get[_0x4eccf0(0x16e)](){const _0x6f9350=_0x4eccf0;return _0x6f9350(0x119);}[_0x4eccf0(0x1fb)](){const _0x1cd157=_0x4eccf0,_0x59a3ff={};return this[_0x1cd157(0x241)][_0x1cd157(0x254)]&&(_0x59a3ff['server_no_context_takeover']=!0x0),this['_options'][_0x1cd157(0x12f)]&&(_0x59a3ff['client_no_context_takeover']=!0x0),this[_0x1cd157(0x241)]['serverMaxWindowBits']&&(_0x59a3ff[_0x1cd157(0xcb)]=this[_0x1cd157(0x241)][_0x1cd157(0xdf)]),this[_0x1cd157(0x241)][_0x1cd157(0x12d)]?_0x59a3ff[_0x1cd157(0x24a)]=this['_options'][_0x1cd157(0x12d)]:this[_0x1cd157(0x241)]['clientMaxWindowBits']==null&&(_0x59a3ff[_0x1cd157(0x24a)]=!0x0),_0x59a3ff;}[_0x4eccf0(0x210)](_0xaf66a4){const _0x342634=_0x4eccf0;return _0xaf66a4=this[_0x342634(0x24b)](_0xaf66a4),this['params']=this[_0x342634(0x1f8)]?this[_0x342634(0x22d)](_0xaf66a4):this[_0x342634(0xfb)](_0xaf66a4),this[_0x342634(0x18d)];}[_0x4eccf0(0x1c0)](){const _0x9f3f98=_0x4eccf0;if(this[_0x9f3f98(0x106)]&&(this[_0x9f3f98(0x106)]['close'](),this['_inflate']=null),this[_0x9f3f98(0x256)]){const _0x1a5ce5=this[_0x9f3f98(0x256)][_0x4b0c19];this[_0x9f3f98(0x256)][_0x9f3f98(0xe6)](),this[_0x9f3f98(0x256)]=null,_0x1a5ce5&&_0x1a5ce5(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}[_0x4eccf0(0x22d)](_0x2420cc){const _0x467adb=_0x4eccf0,_0x2461f4=this[_0x467adb(0x241)],_0x293981=_0x2420cc['find'](_0x5027b4=>!(_0x2461f4[_0x467adb(0x254)]===!0x1&&_0x5027b4[_0x467adb(0x26a)]||_0x5027b4[_0x467adb(0xcb)]&&(_0x2461f4[_0x467adb(0xdf)]===!0x1||typeof _0x2461f4[_0x467adb(0xdf)]==_0x467adb(0x1c8)&&_0x2461f4[_0x467adb(0xdf)]>_0x5027b4['server_max_window_bits'])||typeof _0x2461f4['clientMaxWindowBits']==_0x467adb(0x1c8)&&!_0x5027b4[_0x467adb(0x24a)]));if(!_0x293981)throw new Error(_0x467adb(0x271));return _0x2461f4[_0x467adb(0x254)]&&(_0x293981['server_no_context_takeover']=!0x0),_0x2461f4[_0x467adb(0x12f)]&&(_0x293981[_0x467adb(0x1b9)]=!0x0),typeof _0x2461f4[_0x467adb(0xdf)]==_0x467adb(0x1c8)&&(_0x293981[_0x467adb(0xcb)]=_0x2461f4['serverMaxWindowBits']),typeof _0x2461f4[_0x467adb(0x12d)]==_0x467adb(0x1c8)?_0x293981[_0x467adb(0x24a)]=_0x2461f4[_0x467adb(0x12d)]:(_0x293981[_0x467adb(0x24a)]===!0x0||_0x2461f4[_0x467adb(0x12d)]===!0x1)&&delete _0x293981[_0x467adb(0x24a)],_0x293981;}[_0x4eccf0(0xfb)](_0x3b5195){const _0x3ad2a3=_0x4eccf0,_0x56047d=_0x3b5195[0x0];if(this['_options'][_0x3ad2a3(0x12f)]===!0x1&&_0x56047d[_0x3ad2a3(0x1b9)])throw new Error(_0x3ad2a3(0x150));if(!_0x56047d[_0x3ad2a3(0x24a)])typeof this[_0x3ad2a3(0x241)][_0x3ad2a3(0x12d)]==_0x3ad2a3(0x1c8)&&(_0x56047d[_0x3ad2a3(0x24a)]=this[_0x3ad2a3(0x241)][_0x3ad2a3(0x12d)]);else{if(this[_0x3ad2a3(0x241)]['clientMaxWindowBits']===!0x1||typeof this[_0x3ad2a3(0x241)][_0x3ad2a3(0x12d)]==_0x3ad2a3(0x1c8)&&_0x56047d['client_max_window_bits']>this[_0x3ad2a3(0x241)]['clientMaxWindowBits'])throw new Error(_0x3ad2a3(0x276));}return _0x56047d;}[_0x4eccf0(0x24b)](_0x4f504d){const _0x233ac2=_0x4eccf0;return _0x4f504d[_0x233ac2(0x109)](_0x2d7607=>{const _0x21feae=_0x233ac2;Object[_0x21feae(0x149)](_0x2d7607)['forEach'](_0x35dd55=>{const _0x393188=_0x21feae;let _0x153d42=_0x2d7607[_0x35dd55];if(_0x153d42['length']>0x1)throw new Error(_0x393188(0x12c)+_0x35dd55+_0x393188(0x1fe));if(_0x153d42=_0x153d42[0x0],_0x35dd55==='client_max_window_bits'){if(_0x153d42!==!0x0){const _0x20fd1b=+_0x153d42;if(!Number[_0x393188(0x100)](_0x20fd1b)||_0x20fd1b<0x8||_0x20fd1b>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x35dd55+_0x393188(0x155)+_0x153d42);_0x153d42=_0x20fd1b;}else{if(!this['_isServer'])throw new TypeError(_0x393188(0x120)+_0x35dd55+'\x22:\x20'+_0x153d42);}}else{if(_0x35dd55===_0x393188(0xcb)){const _0x1c9ad3=+_0x153d42;if(!Number[_0x393188(0x100)](_0x1c9ad3)||_0x1c9ad3<0x8||_0x1c9ad3>0xf)throw new TypeError(_0x393188(0x120)+_0x35dd55+_0x393188(0x155)+_0x153d42);_0x153d42=_0x1c9ad3;}else{if(_0x35dd55==='client_no_context_takeover'||_0x35dd55===_0x393188(0x26a)){if(_0x153d42!==!0x0)throw new TypeError(_0x393188(0x120)+_0x35dd55+'\x22:\x20'+_0x153d42);}else throw new Error(_0x393188(0x16d)+_0x35dd55+'\x22');}}_0x2d7607[_0x35dd55]=_0x153d42;});}),_0x4f504d;}[_0x4eccf0(0x22e)](_0x231ffb,_0x2eeb1e,_0x4cd62b){const _0x45a906=_0x4eccf0;_0x3652e3[_0x45a906(0x19c)](_0x17de65=>{const _0x1899fb=_0x45a906;this[_0x1899fb(0x1d1)](_0x231ffb,_0x2eeb1e,(_0x5d5c2e,_0x1a50cf)=>{_0x17de65(),_0x4cd62b(_0x5d5c2e,_0x1a50cf);});});}[_0x4eccf0(0x154)](_0x49d750,_0x26c7c3,_0x7333f){const _0x4b3222=_0x4eccf0;_0x3652e3[_0x4b3222(0x19c)](_0x7c20dc=>{const _0x5cc5a1=_0x4b3222;this[_0x5cc5a1(0x1da)](_0x49d750,_0x26c7c3,(_0x1c3287,_0x3dd40c)=>{_0x7c20dc(),_0x7333f(_0x1c3287,_0x3dd40c);});});}[_0x4eccf0(0x1d1)](_0x202c66,_0x272785,_0x49e311){const _0x202af0=_0x4eccf0,_0x3c5e1b=this[_0x202af0(0x1f8)]?_0x202af0(0x216):_0x202af0(0x1d4);if(!this[_0x202af0(0x106)]){const _0x4aeef7=_0x3c5e1b+_0x202af0(0x174),_0x3cbdd5=typeof this[_0x202af0(0x18d)][_0x4aeef7]!='number'?_0x2b68e2['Z_DEFAULT_WINDOWBITS']:this[_0x202af0(0x18d)][_0x4aeef7];this[_0x202af0(0x106)]=_0x2b68e2[_0x202af0(0x25e)]({...this['_options'][_0x202af0(0x180)],'windowBits':_0x3cbdd5}),this['_inflate'][_0x445dcf]=this,this['_inflate'][_0x26678b]=0x0,this[_0x202af0(0x106)][_0x23f0ce]=[],this[_0x202af0(0x106)]['on']('error',_0x553ae8),this[_0x202af0(0x106)]['on']('data',_0x102f13);}this[_0x202af0(0x106)][_0x4b0c19]=_0x49e311,this[_0x202af0(0x106)][_0x202af0(0xc5)](_0x202c66),_0x272785&&this[_0x202af0(0x106)]['write'](_0xa2a1de),this[_0x202af0(0x106)]['flush'](()=>{const _0x15efb=_0x202af0,_0x3acf25=this['_inflate'][_0x31fb1f];if(_0x3acf25){this[_0x15efb(0x106)][_0x15efb(0xe6)](),this['_inflate']=null,_0x49e311(_0x3acf25);return;}const _0x355dae=_0x36419b[_0x15efb(0x1f1)](this['_inflate'][_0x23f0ce],this['_inflate'][_0x26678b]);this[_0x15efb(0x106)][_0x15efb(0x178)][_0x15efb(0x19d)]?(this[_0x15efb(0x106)]['close'](),this[_0x15efb(0x106)]=null):(this['_inflate'][_0x26678b]=0x0,this[_0x15efb(0x106)][_0x23f0ce]=[],_0x272785&&this[_0x15efb(0x18d)][_0x3c5e1b+_0x15efb(0x102)]&&this['_inflate'][_0x15efb(0x14d)]()),_0x49e311(null,_0x355dae);});}['_compress'](_0x3ed1c1,_0x523562,_0x59b207){const _0x2750dd=_0x4eccf0,_0x2ea570=this[_0x2750dd(0x1f8)]?_0x2750dd(0x1d4):_0x2750dd(0x216);if(!this[_0x2750dd(0x256)]){const _0x2b6fba=_0x2ea570+_0x2750dd(0x174),_0x2840f0=typeof this['params'][_0x2b6fba]!=_0x2750dd(0x1c8)?_0x2b68e2[_0x2750dd(0x1e3)]:this['params'][_0x2b6fba];this[_0x2750dd(0x256)]=_0x2b68e2['createDeflateRaw']({...this[_0x2750dd(0x241)][_0x2750dd(0xbc)],'windowBits':_0x2840f0}),this[_0x2750dd(0x256)][_0x26678b]=0x0,this['_deflate'][_0x23f0ce]=[],this['_deflate']['on'](_0x2750dd(0xea),_0x2b9b52);}this['_deflate'][_0x4b0c19]=_0x59b207,this['_deflate']['write'](_0x3ed1c1),this['_deflate'][_0x2750dd(0x16c)](_0x2b68e2[_0x2750dd(0x272)],()=>{const _0xce07ff=_0x2750dd;if(!this[_0xce07ff(0x256)])return;let _0x55a4ab=_0x36419b[_0xce07ff(0x1f1)](this[_0xce07ff(0x256)][_0x23f0ce],this[_0xce07ff(0x256)][_0x26678b]);_0x523562&&(_0x55a4ab=new _0x174896(_0x55a4ab['buffer'],_0x55a4ab[_0xce07ff(0x26f)],_0x55a4ab['length']-0x4)),this['_deflate'][_0x4b0c19]=null,this[_0xce07ff(0x256)][_0x26678b]=0x0,this[_0xce07ff(0x256)][_0x23f0ce]=[],_0x523562&&this[_0xce07ff(0x18d)][_0x2ea570+_0xce07ff(0x102)]&&this[_0xce07ff(0x256)][_0xce07ff(0x14d)](),_0x59b207(null,_0x55a4ab);});}}ve=_0x4e9b28;function _0x2b9b52(_0x28ad78){const _0xc71c80=_0x4eccf0;this[_0x23f0ce][_0xc71c80(0x127)](_0x28ad78),this[_0x26678b]+=_0x28ad78[_0xc71c80(0x1f5)];}function _0x102f13(_0x5cd51f){const _0x29eef1=_0x4eccf0;if(this[_0x26678b]+=_0x5cd51f[_0x29eef1(0x1f5)],this[_0x445dcf]['_maxPayload']<0x1||this[_0x26678b]<=this[_0x445dcf][_0x29eef1(0x11f)]){this[_0x23f0ce]['push'](_0x5cd51f);return;}this[_0x31fb1f]=new RangeError(_0x29eef1(0x226)),this[_0x31fb1f]['code']=_0x29eef1(0x203),this[_0x31fb1f][_0x44cc8f]=0x3f1,this[_0x29eef1(0x1d9)](_0x29eef1(0xea),_0x102f13),this[_0x29eef1(0x14d)]();}function _0x553ae8(_0x388863){const _0x175fda=_0x4eccf0;this[_0x445dcf][_0x175fda(0x106)]=null,_0x388863[_0x44cc8f]=0x3ef,this[_0x4b0c19](_0x388863);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x4a8b65(0x214)](Object[_0x4a8b65(0xe1)]({'__proto__':null,'default':Dt},Symbol[_0x4a8b65(0x18b)],{'value':_0x4a8b65(0x18a)})),Bt=at(Rt);var Ye;function ae(){const _0x282656=_0x4a8b65;if(Ye)return ie[_0x282656(0x1eb)];Ye=0x1;const {isUtf8:_0x4a3a63}=wt,{hasBlob:_0x12e43a}=H(),_0x5d3760=[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 _0x2b4b26(_0x4c1f95){return _0x4c1f95>=0x3e8&&_0x4c1f95<=0x3f6&&_0x4c1f95!==0x3ec&&_0x4c1f95!==0x3ed&&_0x4c1f95!==0x3ee||_0x4c1f95>=0xbb8&&_0x4c1f95<=0x1387;}function _0x281f2c(_0x3a76c7){const _0x42e5c3=_0x282656,_0x5c633e=_0x3a76c7[_0x42e5c3(0x1f5)];let _0x5a77f1=0x0;for(;_0x5a77f1<_0x5c633e;)if((_0x3a76c7[_0x5a77f1]&0x80)===0x0)_0x5a77f1++;else{if((_0x3a76c7[_0x5a77f1]&0xe0)===0xc0){if(_0x5a77f1+0x1===_0x5c633e||(_0x3a76c7[_0x5a77f1+0x1]&0xc0)!==0x80||(_0x3a76c7[_0x5a77f1]&0xfe)===0xc0)return!0x1;_0x5a77f1+=0x2;}else{if((_0x3a76c7[_0x5a77f1]&0xf0)===0xe0){if(_0x5a77f1+0x2>=_0x5c633e||(_0x3a76c7[_0x5a77f1+0x1]&0xc0)!==0x80||(_0x3a76c7[_0x5a77f1+0x2]&0xc0)!==0x80||_0x3a76c7[_0x5a77f1]===0xe0&&(_0x3a76c7[_0x5a77f1+0x1]&0xe0)===0x80||_0x3a76c7[_0x5a77f1]===0xed&&(_0x3a76c7[_0x5a77f1+0x1]&0xe0)===0xa0)return!0x1;_0x5a77f1+=0x3;}else{if((_0x3a76c7[_0x5a77f1]&0xf8)===0xf0){if(_0x5a77f1+0x3>=_0x5c633e||(_0x3a76c7[_0x5a77f1+0x1]&0xc0)!==0x80||(_0x3a76c7[_0x5a77f1+0x2]&0xc0)!==0x80||(_0x3a76c7[_0x5a77f1+0x3]&0xc0)!==0x80||_0x3a76c7[_0x5a77f1]===0xf0&&(_0x3a76c7[_0x5a77f1+0x1]&0xf0)===0x80||_0x3a76c7[_0x5a77f1]===0xf4&&_0x3a76c7[_0x5a77f1+0x1]>0x8f||_0x3a76c7[_0x5a77f1]>0xf4)return!0x1;_0x5a77f1+=0x4;}else return!0x1;}}}return!0x0;}function _0x3e4758(_0x4b4fd6){const _0x124df7=_0x282656;return _0x12e43a&&typeof _0x4b4fd6==_0x124df7(0x151)&&typeof _0x4b4fd6[_0x124df7(0x1db)]=='function'&&typeof _0x4b4fd6[_0x124df7(0x220)]==_0x124df7(0x1d2)&&typeof _0x4b4fd6[_0x124df7(0x123)]==_0x124df7(0x17b)&&(_0x4b4fd6[Symbol[_0x124df7(0x18b)]]===_0x124df7(0x1c6)||_0x4b4fd6[Symbol['toStringTag']]===_0x124df7(0x22b));}if(ie[_0x282656(0x1eb)]={'isBlob':_0x3e4758,'isValidStatusCode':_0x2b4b26,'isValidUTF8':_0x281f2c,'tokenChars':_0x5d3760},_0x4a3a63)ie[_0x282656(0x1eb)][_0x282656(0xf9)]=function(_0x305832){const _0x4a7f2d=_0x282656;return _0x305832[_0x4a7f2d(0x1f5)]<0x18?_0x281f2c(_0x305832):_0x4a3a63(_0x305832);};else{if(!process[_0x282656(0x1dc)][_0x282656(0x25c)])try{const _0x5a42fb=Bt;ie[_0x282656(0x1eb)][_0x282656(0xf9)]=function(_0x4439ea){return _0x4439ea['length']<0x20?_0x281f2c(_0x4439ea):_0x5a42fb(_0x4439ea);};}catch{}}return ie[_0x282656(0x1eb)];}var Se,Ke;function lt(){const _0xf9aa6e=_0x4a8b65;if(Ke)return Se;Ke=0x1;const {Writable:_0x5bd1d0}=oe,_0x2528fb=he(),{BINARY_TYPES:_0xb15eb0,EMPTY_BUFFER:_0x39c987,kStatusCode:_0xde1a92,kWebSocket:_0x2f3320}=H(),{concat:_0xee3402,toArrayBuffer:_0x314894,unmask:_0x27169b}=ce(),{isValidStatusCode:_0xbcd8e7,isValidUTF8:_0x19eabd}=ae(),_0x48f26e=Buffer[Symbol[_0xf9aa6e(0x1d6)]],_0x9bf35=0x0,_0x1d7350=0x1,_0x29460a=0x2,_0x262a59=0x3,_0x379128=0x4,_0x1321e5=0x5,_0x1f6f51=0x6;class _0x144e14 extends _0x5bd1d0{constructor(_0x4cd376={}){const _0xc5492a=_0xf9aa6e;super(),this[_0xc5492a(0x27e)]=_0x4cd376[_0xc5492a(0x1cb)]!==void 0x0?_0x4cd376[_0xc5492a(0x1cb)]:!0x0,this[_0xc5492a(0x156)]=_0x4cd376[_0xc5492a(0x221)]||_0xb15eb0[0x0],this[_0xc5492a(0x136)]=_0x4cd376[_0xc5492a(0x16b)]||{},this[_0xc5492a(0x1f8)]=!!_0x4cd376[_0xc5492a(0x110)],this[_0xc5492a(0x11f)]=_0x4cd376[_0xc5492a(0xcd)]|0x0,this['_skipUTF8Validation']=!!_0x4cd376[_0xc5492a(0x24e)],this[_0x2f3320]=void 0x0,this[_0xc5492a(0x13a)]=0x0,this['_buffers']=[],this[_0xc5492a(0x25d)]=!0x1,this[_0xc5492a(0x1a8)]=0x0,this[_0xc5492a(0xbb)]=void 0x0,this['_fragmented']=0x0,this[_0xc5492a(0x219)]=!0x1,this[_0xc5492a(0x1f6)]=!0x1,this[_0xc5492a(0x157)]=0x0,this[_0xc5492a(0x1a3)]=0x0,this[_0xc5492a(0x11c)]=0x0,this[_0xc5492a(0x224)]=[],this[_0xc5492a(0x169)]=!0x1,this[_0xc5492a(0x189)]=!0x1,this[_0xc5492a(0x1bf)]=_0x9bf35;}[_0xf9aa6e(0x1a5)](_0x4d64f9,_0x983d5e,_0x23bd86){const _0x5ca4a9=_0xf9aa6e;if(this['_opcode']===0x8&&this[_0x5ca4a9(0x1bf)]==_0x9bf35)return _0x23bd86();this[_0x5ca4a9(0x13a)]+=_0x4d64f9[_0x5ca4a9(0x1f5)],this[_0x5ca4a9(0x212)][_0x5ca4a9(0x127)](_0x4d64f9),this[_0x5ca4a9(0x1e8)](_0x23bd86);}[_0xf9aa6e(0xc4)](_0x53e709){const _0x272b2f=_0xf9aa6e;if(this[_0x272b2f(0x13a)]-=_0x53e709,_0x53e709===this['_buffers'][0x0]['length'])return this['_buffers']['shift']();if(_0x53e709<this[_0x272b2f(0x212)][0x0][_0x272b2f(0x1f5)]){const _0x202f65=this[_0x272b2f(0x212)][0x0];return this[_0x272b2f(0x212)][0x0]=new _0x48f26e(_0x202f65[_0x272b2f(0x267)],_0x202f65['byteOffset']+_0x53e709,_0x202f65[_0x272b2f(0x1f5)]-_0x53e709),new _0x48f26e(_0x202f65['buffer'],_0x202f65[_0x272b2f(0x26f)],_0x53e709);}const _0x139b9a=Buffer[_0x272b2f(0x240)](_0x53e709);do{const _0x2c35cd=this[_0x272b2f(0x212)][0x0],_0x361146=_0x139b9a[_0x272b2f(0x1f5)]-_0x53e709;_0x53e709>=_0x2c35cd[_0x272b2f(0x1f5)]?_0x139b9a['set'](this[_0x272b2f(0x212)][_0x272b2f(0x163)](),_0x361146):(_0x139b9a[_0x272b2f(0xc8)](new Uint8Array(_0x2c35cd[_0x272b2f(0x267)],_0x2c35cd[_0x272b2f(0x26f)],_0x53e709),_0x361146),this[_0x272b2f(0x212)][0x0]=new _0x48f26e(_0x2c35cd[_0x272b2f(0x267)],_0x2c35cd[_0x272b2f(0x26f)]+_0x53e709,_0x2c35cd[_0x272b2f(0x1f5)]-_0x53e709)),_0x53e709-=_0x2c35cd[_0x272b2f(0x1f5)];}while(_0x53e709>0x0);return _0x139b9a;}[_0xf9aa6e(0x1e8)](_0x2a22ec){const _0x27e00b=_0xf9aa6e;this[_0x27e00b(0x189)]=!0x0;do switch(this[_0x27e00b(0x1bf)]){case _0x9bf35:this[_0x27e00b(0x1f9)](_0x2a22ec);break;case _0x1d7350:this[_0x27e00b(0x21e)](_0x2a22ec);break;case _0x29460a:this[_0x27e00b(0x1c3)](_0x2a22ec);break;case _0x262a59:this[_0x27e00b(0x209)]();break;case _0x379128:this[_0x27e00b(0x187)](_0x2a22ec);break;case _0x1321e5:case _0x1f6f51:this[_0x27e00b(0x189)]=!0x1;return;}while(this[_0x27e00b(0x189)]);this[_0x27e00b(0x169)]||_0x2a22ec();}[_0xf9aa6e(0x1f9)](_0x3fd261){const _0x5afc38=_0xf9aa6e;if(this[_0x5afc38(0x13a)]<0x2){this['_loop']=!0x1;return;}const _0x360dc1=this[_0x5afc38(0xc4)](0x2);if((_0x360dc1[0x0]&0x30)!==0x0){const _0x6fc228=this[_0x5afc38(0x146)](RangeError,_0x5afc38(0x1a4),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0x3fd261(_0x6fc228);return;}const _0x46b3fa=(_0x360dc1[0x0]&0x40)===0x40;if(_0x46b3fa&&!this[_0x5afc38(0x136)][_0x2528fb[_0x5afc38(0x16e)]]){const _0x166224=this[_0x5afc38(0x146)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x5afc38(0x185));_0x3fd261(_0x166224);return;}if(this['_fin']=(_0x360dc1[0x0]&0x80)===0x80,this['_opcode']=_0x360dc1[0x0]&0xf,this['_payloadLength']=_0x360dc1[0x1]&0x7f,this[_0x5afc38(0x157)]===0x0){if(_0x46b3fa){const _0x51d3e2=this[_0x5afc38(0x146)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x5afc38(0x185));_0x3fd261(_0x51d3e2);return;}if(!this['_fragmented']){const _0x3395c6=this[_0x5afc38(0x146)](RangeError,'invalid\x20opcode\x200',!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x3fd261(_0x3395c6);return;}this[_0x5afc38(0x157)]=this['_fragmented'];}else{if(this[_0x5afc38(0x157)]===0x1||this[_0x5afc38(0x157)]===0x2){if(this['_fragmented']){const _0x4b665c=this[_0x5afc38(0x146)](RangeError,_0x5afc38(0x1cd)+this[_0x5afc38(0x157)],!0x0,0x3ea,_0x5afc38(0x198));_0x3fd261(_0x4b665c);return;}this[_0x5afc38(0x25d)]=_0x46b3fa;}else{if(this[_0x5afc38(0x157)]>0x7&&this['_opcode']<0xb){if(!this[_0x5afc38(0x1f6)]){const _0x2a94a1=this[_0x5afc38(0x146)](RangeError,_0x5afc38(0x14c),!0x0,0x3ea,_0x5afc38(0x17e));_0x3fd261(_0x2a94a1);return;}if(_0x46b3fa){const _0x30913c=this['createError'](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x5afc38(0x185));_0x3fd261(_0x30913c);return;}if(this[_0x5afc38(0x1a8)]>0x7d||this['_opcode']===0x8&&this[_0x5afc38(0x1a8)]===0x1){const _0x5d6fa2=this[_0x5afc38(0x146)](RangeError,_0x5afc38(0x225)+this[_0x5afc38(0x1a8)],!0x0,0x3ea,_0x5afc38(0x24d));_0x3fd261(_0x5d6fa2);return;}}else{const _0x429ebd=this[_0x5afc38(0x146)](RangeError,'invalid\x20opcode\x20'+this['_opcode'],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x3fd261(_0x429ebd);return;}}}if(!this['_fin']&&!this['_fragmented']&&(this[_0x5afc38(0x235)]=this[_0x5afc38(0x157)]),this[_0x5afc38(0x219)]=(_0x360dc1[0x1]&0x80)===0x80,this[_0x5afc38(0x1f8)]){if(!this['_masked']){const _0x337177=this[_0x5afc38(0x146)](RangeError,_0x5afc38(0x1de),!0x0,0x3ea,'WS_ERR_EXPECTED_MASK');_0x3fd261(_0x337177);return;}}else{if(this[_0x5afc38(0x219)]){const _0xfe3d5e=this[_0x5afc38(0x146)](RangeError,_0x5afc38(0x166),!0x0,0x3ea,_0x5afc38(0x205));_0x3fd261(_0xfe3d5e);return;}}this[_0x5afc38(0x1a8)]===0x7e?this[_0x5afc38(0x1bf)]=_0x1d7350:this[_0x5afc38(0x1a8)]===0x7f?this['_state']=_0x29460a:this[_0x5afc38(0x18e)](_0x3fd261);}['getPayloadLength16'](_0x21b1ba){const _0x5b1af9=_0xf9aa6e;if(this[_0x5b1af9(0x13a)]<0x2){this['_loop']=!0x1;return;}this[_0x5b1af9(0x1a8)]=this[_0x5b1af9(0xc4)](0x2)[_0x5b1af9(0x243)](0x0),this[_0x5b1af9(0x18e)](_0x21b1ba);}[_0xf9aa6e(0x1c3)](_0x113b24){const _0x5c7c3d=_0xf9aa6e;if(this[_0x5c7c3d(0x13a)]<0x8){this[_0x5c7c3d(0x189)]=!0x1;return;}const _0x3ba392=this[_0x5c7c3d(0xc4)](0x8),_0x57e3b9=_0x3ba392[_0x5c7c3d(0x195)](0x0);if(_0x57e3b9>Math[_0x5c7c3d(0x249)](0x2,0x15)-0x1){const _0x1c2ec4=this[_0x5c7c3d(0x146)](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,_0x5c7c3d(0x22a));_0x113b24(_0x1c2ec4);return;}this[_0x5c7c3d(0x1a8)]=_0x57e3b9*Math[_0x5c7c3d(0x249)](0x2,0x20)+_0x3ba392[_0x5c7c3d(0x195)](0x4),this[_0x5c7c3d(0x18e)](_0x113b24);}['haveLength'](_0x79b219){const _0x362e8c=_0xf9aa6e;if(this[_0x362e8c(0x1a8)]&&this[_0x362e8c(0x157)]<0x8&&(this[_0x362e8c(0x1a3)]+=this[_0x362e8c(0x1a8)],this[_0x362e8c(0x1a3)]>this['_maxPayload']&&this[_0x362e8c(0x11f)]>0x0)){const _0x18e4c6=this[_0x362e8c(0x146)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x362e8c(0x203));_0x79b219(_0x18e4c6);return;}this[_0x362e8c(0x219)]?this['_state']=_0x262a59:this['_state']=_0x379128;}[_0xf9aa6e(0x209)](){const _0x20519f=_0xf9aa6e;if(this[_0x20519f(0x13a)]<0x4){this[_0x20519f(0x189)]=!0x1;return;}this[_0x20519f(0xbb)]=this['consume'](0x4),this[_0x20519f(0x1bf)]=_0x379128;}['getData'](_0x1d73b0){const _0x2c1074=_0xf9aa6e;let _0x40973e=_0x39c987;if(this[_0x2c1074(0x1a8)]){if(this['_bufferedBytes']<this[_0x2c1074(0x1a8)]){this[_0x2c1074(0x189)]=!0x1;return;}_0x40973e=this[_0x2c1074(0xc4)](this['_payloadLength']),this[_0x2c1074(0x219)]&&(this[_0x2c1074(0xbb)][0x0]|this[_0x2c1074(0xbb)][0x1]|this['_mask'][0x2]|this['_mask'][0x3])!==0x0&&_0x27169b(_0x40973e,this[_0x2c1074(0xbb)]);}if(this[_0x2c1074(0x157)]>0x7){this[_0x2c1074(0xe9)](_0x40973e,_0x1d73b0);return;}if(this[_0x2c1074(0x25d)]){this[_0x2c1074(0x1bf)]=_0x1321e5,this['decompress'](_0x40973e,_0x1d73b0);return;}_0x40973e[_0x2c1074(0x1f5)]&&(this[_0x2c1074(0x11c)]=this['_totalPayloadLength'],this[_0x2c1074(0x224)][_0x2c1074(0x127)](_0x40973e)),this[_0x2c1074(0x20e)](_0x1d73b0);}[_0xf9aa6e(0x22e)](_0x410012,_0x2f7832){const _0x55bf15=_0xf9aa6e;this[_0x55bf15(0x136)][_0x2528fb['extensionName']]['decompress'](_0x410012,this[_0x55bf15(0x1f6)],(_0xb7c366,_0x9db0da)=>{const _0x55f420=_0x55bf15;if(_0xb7c366)return _0x2f7832(_0xb7c366);if(_0x9db0da[_0x55f420(0x1f5)]){if(this[_0x55f420(0x11c)]+=_0x9db0da['length'],this['_messageLength']>this[_0x55f420(0x11f)]&&this['_maxPayload']>0x0){const _0x44ae39=this['createError'](RangeError,_0x55f420(0x226),!0x1,0x3f1,_0x55f420(0x203));_0x2f7832(_0x44ae39);return;}this[_0x55f420(0x224)][_0x55f420(0x127)](_0x9db0da);}this[_0x55f420(0x20e)](_0x2f7832),this[_0x55f420(0x1bf)]===_0x9bf35&&this[_0x55f420(0x1e8)](_0x2f7832);});}[_0xf9aa6e(0x20e)](_0x3a31f7){const _0x32f266=_0xf9aa6e;if(!this[_0x32f266(0x1f6)]){this[_0x32f266(0x1bf)]=_0x9bf35;return;}const _0x3ac6de=this[_0x32f266(0x11c)],_0x127d2b=this[_0x32f266(0x224)];if(this['_totalPayloadLength']=0x0,this[_0x32f266(0x11c)]=0x0,this[_0x32f266(0x235)]=0x0,this['_fragments']=[],this['_opcode']===0x2){let _0x150533;this[_0x32f266(0x156)]===_0x32f266(0x284)?_0x150533=_0xee3402(_0x127d2b,_0x3ac6de):this[_0x32f266(0x156)]===_0x32f266(0x1e1)?_0x150533=_0x314894(_0xee3402(_0x127d2b,_0x3ac6de)):this[_0x32f266(0x156)]===_0x32f266(0x281)?_0x150533=new Blob(_0x127d2b):_0x150533=_0x127d2b,this[_0x32f266(0x27e)]?(this[_0x32f266(0x19a)](_0x32f266(0x13c),_0x150533,!0x0),this[_0x32f266(0x1bf)]=_0x9bf35):(this[_0x32f266(0x1bf)]=_0x1f6f51,setImmediate(()=>{const _0x356064=_0x32f266;this[_0x356064(0x19a)](_0x356064(0x13c),_0x150533,!0x0),this[_0x356064(0x1bf)]=_0x9bf35,this[_0x356064(0x1e8)](_0x3a31f7);}));}else{const _0x54fd8c=_0xee3402(_0x127d2b,_0x3ac6de);if(!this['_skipUTF8Validation']&&!_0x19eabd(_0x54fd8c)){const _0x33129a=this['createError'](Error,_0x32f266(0x165),!0x0,0x3ef,_0x32f266(0x283));_0x3a31f7(_0x33129a);return;}this['_state']===_0x1321e5||this[_0x32f266(0x27e)]?(this[_0x32f266(0x19a)]('message',_0x54fd8c,!0x1),this[_0x32f266(0x1bf)]=_0x9bf35):(this['_state']=_0x1f6f51,setImmediate(()=>{const _0x9fbfa8=_0x32f266;this['emit']('message',_0x54fd8c,!0x1),this[_0x9fbfa8(0x1bf)]=_0x9bf35,this[_0x9fbfa8(0x1e8)](_0x3a31f7);}));}}['controlMessage'](_0x1912cb,_0x5583f7){const _0x5517d0=_0xf9aa6e;if(this['_opcode']===0x8){if(_0x1912cb[_0x5517d0(0x1f5)]===0x0)this[_0x5517d0(0x189)]=!0x1,this[_0x5517d0(0x19a)](_0x5517d0(0x126),0x3ed,_0x39c987),this[_0x5517d0(0xce)]();else{const _0x5ed50b=_0x1912cb[_0x5517d0(0x243)](0x0);if(!_0xbcd8e7(_0x5ed50b)){const _0x372139=this[_0x5517d0(0x146)](RangeError,'invalid\x20status\x20code\x20'+_0x5ed50b,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0x5583f7(_0x372139);return;}const _0x57ab8c=new _0x48f26e(_0x1912cb[_0x5517d0(0x267)],_0x1912cb[_0x5517d0(0x26f)]+0x2,_0x1912cb[_0x5517d0(0x1f5)]-0x2);if(!this['_skipUTF8Validation']&&!_0x19eabd(_0x57ab8c)){const _0x365e16=this[_0x5517d0(0x146)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x5517d0(0x283));_0x5583f7(_0x365e16);return;}this[_0x5517d0(0x189)]=!0x1,this[_0x5517d0(0x19a)](_0x5517d0(0x126),_0x5ed50b,_0x57ab8c),this[_0x5517d0(0xce)]();}this[_0x5517d0(0x1bf)]=_0x9bf35;return;}this[_0x5517d0(0x27e)]?(this[_0x5517d0(0x19a)](this[_0x5517d0(0x157)]===0x9?_0x5517d0(0x179):_0x5517d0(0xcc),_0x1912cb),this[_0x5517d0(0x1bf)]=_0x9bf35):(this[_0x5517d0(0x1bf)]=_0x1f6f51,setImmediate(()=>{const _0x5adfa3=_0x5517d0;this['emit'](this[_0x5adfa3(0x157)]===0x9?_0x5adfa3(0x179):_0x5adfa3(0xcc),_0x1912cb),this[_0x5adfa3(0x1bf)]=_0x9bf35,this[_0x5adfa3(0x1e8)](_0x5583f7);}));}[_0xf9aa6e(0x146)](_0x57ec2b,_0x262e02,_0x3b39ff,_0x3850d0,_0x2f8b80){const _0x323826=_0xf9aa6e;this['_loop']=!0x1,this[_0x323826(0x169)]=!0x0;const _0x1dc6bd=new _0x57ec2b(_0x3b39ff?_0x323826(0xfd)+_0x262e02:_0x262e02);return Error[_0x323826(0x1a9)](_0x1dc6bd,this['createError']),_0x1dc6bd[_0x323826(0x131)]=_0x2f8b80,_0x1dc6bd[_0xde1a92]=_0x3850d0,_0x1dc6bd;}}return Se=_0x144e14,Se;}function _0x5911(_0xf66ba2,_0x1368b1){const _0x391c22=_0x391c();return _0x5911=function(_0x591131,_0x377d73){_0x591131=_0x591131-0xba;let _0x560735=_0x391c22[_0x591131];return _0x560735;},_0x5911(_0xf66ba2,_0x1368b1);}var Ee,Xe;function ft(){const _0x56051c=_0x4a8b65;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x32e5df}=oe,{randomFillSync:_0x1bc2be}=Le,_0x4c476d=he(),{EMPTY_BUFFER:_0x1d3649,kWebSocket:_0x2827bb,NOOP:_0x13858a}=H(),{isBlob:_0x431e17,isValidStatusCode:_0x460d7a}=ae(),{mask:_0x3cce31,toBuffer:_0x1e4d43}=ce(),_0x2df1aa=Symbol(_0x56051c(0x27f)),_0x12dddd=Buffer[_0x56051c(0xee)](0x4),_0xb765e6=0x8*0x400;let _0x26103f,_0xb923c1=_0xb765e6;const _0x4d38fe=0x0,_0x4c6b74=0x1,_0x1a28f6=0x2;class _0x11da04{constructor(_0x53b24b,_0xbb6429,_0x32c265){const _0x22c14d=_0x56051c;this[_0x22c14d(0x136)]=_0xbb6429||{},_0x32c265&&(this[_0x22c14d(0x167)]=_0x32c265,this[_0x22c14d(0x196)]=Buffer[_0x22c14d(0xee)](0x4)),this['_socket']=_0x53b24b,this[_0x22c14d(0x1ef)]=!0x0,this['_compress']=!0x1,this[_0x22c14d(0x13a)]=0x0,this['_queue']=[],this[_0x22c14d(0x1bf)]=_0x4d38fe,this[_0x22c14d(0xd5)]=_0x13858a,this[_0x2827bb]=void 0x0;}static[_0x56051c(0x10b)](_0x4abcb4,_0x407474){const _0x385c7a=_0x56051c;let _0x1b8f96,_0x84e7e1=!0x1,_0x919f81=0x2,_0x46dc45=!0x1;_0x407474[_0x385c7a(0xe5)]&&(_0x1b8f96=_0x407474[_0x385c7a(0x229)]||_0x12dddd,_0x407474[_0x385c7a(0x236)]?_0x407474[_0x385c7a(0x236)](_0x1b8f96):(_0xb923c1===_0xb765e6&&(_0x26103f===void 0x0&&(_0x26103f=Buffer[_0x385c7a(0xee)](_0xb765e6)),_0x1bc2be(_0x26103f,0x0,_0xb765e6),_0xb923c1=0x0),_0x1b8f96[0x0]=_0x26103f[_0xb923c1++],_0x1b8f96[0x1]=_0x26103f[_0xb923c1++],_0x1b8f96[0x2]=_0x26103f[_0xb923c1++],_0x1b8f96[0x3]=_0x26103f[_0xb923c1++]),_0x46dc45=(_0x1b8f96[0x0]|_0x1b8f96[0x1]|_0x1b8f96[0x2]|_0x1b8f96[0x3])===0x0,_0x919f81=0x6);let _0x252ceb;typeof _0x4abcb4=='string'?(!_0x407474[_0x385c7a(0xe5)]||_0x46dc45)&&_0x407474[_0x2df1aa]!==void 0x0?_0x252ceb=_0x407474[_0x2df1aa]:(_0x4abcb4=Buffer[_0x385c7a(0x1c1)](_0x4abcb4),_0x252ceb=_0x4abcb4[_0x385c7a(0x1f5)]):(_0x252ceb=_0x4abcb4[_0x385c7a(0x1f5)],_0x84e7e1=_0x407474[_0x385c7a(0xe5)]&&_0x407474[_0x385c7a(0x26d)]&&!_0x46dc45);let _0x2f578a=_0x252ceb;_0x252ceb>=0x10000?(_0x919f81+=0x8,_0x2f578a=0x7f):_0x252ceb>0x7d&&(_0x919f81+=0x2,_0x2f578a=0x7e);const _0x526606=Buffer['allocUnsafe'](_0x84e7e1?_0x252ceb+_0x919f81:_0x919f81);return _0x526606[0x0]=_0x407474[_0x385c7a(0x1f3)]?_0x407474[_0x385c7a(0x217)]|0x80:_0x407474[_0x385c7a(0x217)],_0x407474['rsv1']&&(_0x526606[0x0]|=0x40),_0x526606[0x1]=_0x2f578a,_0x2f578a===0x7e?_0x526606[_0x385c7a(0x1a7)](_0x252ceb,0x2):_0x2f578a===0x7f&&(_0x526606[0x2]=_0x526606[0x3]=0x0,_0x526606[_0x385c7a(0x1ec)](_0x252ceb,0x4,0x6)),_0x407474['mask']?(_0x526606[0x1]|=0x80,_0x526606[_0x919f81-0x4]=_0x1b8f96[0x0],_0x526606[_0x919f81-0x3]=_0x1b8f96[0x1],_0x526606[_0x919f81-0x2]=_0x1b8f96[0x2],_0x526606[_0x919f81-0x1]=_0x1b8f96[0x3],_0x46dc45?[_0x526606,_0x4abcb4]:_0x84e7e1?(_0x3cce31(_0x4abcb4,_0x1b8f96,_0x526606,_0x919f81,_0x252ceb),[_0x526606]):(_0x3cce31(_0x4abcb4,_0x1b8f96,_0x4abcb4,0x0,_0x252ceb),[_0x526606,_0x4abcb4])):[_0x526606,_0x4abcb4];}[_0x56051c(0xe6)](_0x4f86b7,_0x27efc3,_0x145617,_0x1f09cb){const _0x5a7b24=_0x56051c;let _0x5a5fad;if(_0x4f86b7===void 0x0)_0x5a5fad=_0x1d3649;else{if(typeof _0x4f86b7!=_0x5a7b24(0x1c8)||!_0x460d7a(_0x4f86b7))throw new TypeError(_0x5a7b24(0x21d));if(_0x27efc3===void 0x0||!_0x27efc3[_0x5a7b24(0x1f5)])_0x5a5fad=Buffer[_0x5a7b24(0x240)](0x2),_0x5a5fad[_0x5a7b24(0x1a7)](_0x4f86b7,0x0);else{const _0x5580f6=Buffer['byteLength'](_0x27efc3);if(_0x5580f6>0x7b)throw new RangeError(_0x5a7b24(0x18f));_0x5a5fad=Buffer[_0x5a7b24(0x240)](0x2+_0x5580f6),_0x5a5fad[_0x5a7b24(0x1a7)](_0x4f86b7,0x0),typeof _0x27efc3=='string'?_0x5a5fad[_0x5a7b24(0xc5)](_0x27efc3,0x2):_0x5a5fad[_0x5a7b24(0xc8)](_0x27efc3,0x2);}}const _0x32825={[_0x2df1aa]:_0x5a5fad['length'],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x145617,'maskBuffer':this[_0x5a7b24(0x196)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x5a7b24(0x1bf)]!==_0x4d38fe?this[_0x5a7b24(0x201)]([this[_0x5a7b24(0x1b0)],_0x5a5fad,!0x1,_0x32825,_0x1f09cb]):this[_0x5a7b24(0x164)](_0x11da04[_0x5a7b24(0x10b)](_0x5a5fad,_0x32825),_0x1f09cb);}[_0x56051c(0x179)](_0x5a725d,_0xd7501e,_0x9ea95a){const _0x29e1db=_0x56051c;let _0xd4cdfd,_0x573799;if(typeof _0x5a725d==_0x29e1db(0x1d2)?(_0xd4cdfd=Buffer['byteLength'](_0x5a725d),_0x573799=!0x1):_0x431e17(_0x5a725d)?(_0xd4cdfd=_0x5a725d[_0x29e1db(0x1c2)],_0x573799=!0x1):(_0x5a725d=_0x1e4d43(_0x5a725d),_0xd4cdfd=_0x5a725d[_0x29e1db(0x1f5)],_0x573799=_0x1e4d43[_0x29e1db(0x26d)]),_0xd4cdfd>0x7d)throw new RangeError(_0x29e1db(0xf4));const _0x520866={[_0x2df1aa]:_0xd4cdfd,'fin':!0x0,'generateMask':this[_0x29e1db(0x167)],'mask':_0xd7501e,'maskBuffer':this['_maskBuffer'],'opcode':0x9,'readOnly':_0x573799,'rsv1':!0x1};_0x431e17(_0x5a725d)?this[_0x29e1db(0x1bf)]!==_0x4d38fe?this[_0x29e1db(0x201)]([this[_0x29e1db(0xd6)],_0x5a725d,!0x1,_0x520866,_0x9ea95a]):this['getBlobData'](_0x5a725d,!0x1,_0x520866,_0x9ea95a):this[_0x29e1db(0x1bf)]!==_0x4d38fe?this['enqueue']([this[_0x29e1db(0x1b0)],_0x5a725d,!0x1,_0x520866,_0x9ea95a]):this[_0x29e1db(0x164)](_0x11da04[_0x29e1db(0x10b)](_0x5a725d,_0x520866),_0x9ea95a);}['pong'](_0x39c701,_0x624a3b,_0x37e49a){const _0xe3305e=_0x56051c;let _0x21354f,_0x4db2fb;if(typeof _0x39c701=='string'?(_0x21354f=Buffer['byteLength'](_0x39c701),_0x4db2fb=!0x1):_0x431e17(_0x39c701)?(_0x21354f=_0x39c701[_0xe3305e(0x1c2)],_0x4db2fb=!0x1):(_0x39c701=_0x1e4d43(_0x39c701),_0x21354f=_0x39c701[_0xe3305e(0x1f5)],_0x4db2fb=_0x1e4d43[_0xe3305e(0x26d)]),_0x21354f>0x7d)throw new RangeError(_0xe3305e(0xf4));const _0x43e5ef={[_0x2df1aa]:_0x21354f,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x624a3b,'maskBuffer':this[_0xe3305e(0x196)],'opcode':0xa,'readOnly':_0x4db2fb,'rsv1':!0x1};_0x431e17(_0x39c701)?this[_0xe3305e(0x1bf)]!==_0x4d38fe?this[_0xe3305e(0x201)]([this[_0xe3305e(0xd6)],_0x39c701,!0x1,_0x43e5ef,_0x37e49a]):this['getBlobData'](_0x39c701,!0x1,_0x43e5ef,_0x37e49a):this[_0xe3305e(0x1bf)]!==_0x4d38fe?this['enqueue']([this[_0xe3305e(0x1b0)],_0x39c701,!0x1,_0x43e5ef,_0x37e49a]):this[_0xe3305e(0x164)](_0x11da04[_0xe3305e(0x10b)](_0x39c701,_0x43e5ef),_0x37e49a);}['send'](_0x45f27a,_0x1d880d,_0x507f04){const _0x3aba96=_0x56051c,_0x4c46dc=this[_0x3aba96(0x136)][_0x4c476d['extensionName']];let _0xf6e0ed=_0x1d880d[_0x3aba96(0x116)]?0x2:0x1,_0x507dba=_0x1d880d[_0x3aba96(0x154)],_0xcbf50e,_0x14d901;typeof _0x45f27a==_0x3aba96(0x1d2)?(_0xcbf50e=Buffer[_0x3aba96(0x132)](_0x45f27a),_0x14d901=!0x1):_0x431e17(_0x45f27a)?(_0xcbf50e=_0x45f27a[_0x3aba96(0x1c2)],_0x14d901=!0x1):(_0x45f27a=_0x1e4d43(_0x45f27a),_0xcbf50e=_0x45f27a[_0x3aba96(0x1f5)],_0x14d901=_0x1e4d43[_0x3aba96(0x26d)]),this[_0x3aba96(0x1ef)]?(this['_firstFragment']=!0x1,_0x507dba&&_0x4c46dc&&_0x4c46dc[_0x3aba96(0x18d)][_0x4c46dc[_0x3aba96(0x1f8)]?'server_no_context_takeover':_0x3aba96(0x1b9)]&&(_0x507dba=_0xcbf50e>=_0x4c46dc['_threshold']),this['_compress']=_0x507dba):(_0x507dba=!0x1,_0xf6e0ed=0x0),_0x1d880d[_0x3aba96(0x1f3)]&&(this[_0x3aba96(0x1ef)]=!0x0);const _0x476b23={[_0x2df1aa]:_0xcbf50e,'fin':_0x1d880d[_0x3aba96(0x1f3)],'generateMask':this[_0x3aba96(0x167)],'mask':_0x1d880d[_0x3aba96(0xe5)],'maskBuffer':this[_0x3aba96(0x196)],'opcode':_0xf6e0ed,'readOnly':_0x14d901,'rsv1':_0x507dba};_0x431e17(_0x45f27a)?this['_state']!==_0x4d38fe?this[_0x3aba96(0x201)]([this[_0x3aba96(0xd6)],_0x45f27a,this['_compress'],_0x476b23,_0x507f04]):this[_0x3aba96(0xd6)](_0x45f27a,this[_0x3aba96(0x1da)],_0x476b23,_0x507f04):this['_state']!==_0x4d38fe?this[_0x3aba96(0x201)]([this[_0x3aba96(0x1b0)],_0x45f27a,this[_0x3aba96(0x1da)],_0x476b23,_0x507f04]):this[_0x3aba96(0x1b0)](_0x45f27a,this['_compress'],_0x476b23,_0x507f04);}['getBlobData'](_0x35005a,_0x4ae014,_0x5e1730,_0x853af9){const _0x5e3c5c=_0x56051c;this['_bufferedBytes']+=_0x5e1730[_0x2df1aa],this['_state']=_0x1a28f6,_0x35005a[_0x5e3c5c(0x1db)]()['then'](_0x285300=>{const _0x462ebb=_0x5e3c5c;if(this[_0x462ebb(0x22c)]['destroyed']){const _0x11bac2=new Error(_0x462ebb(0x230));process[_0x462ebb(0x1ae)](_0x1003f1,this,_0x11bac2,_0x853af9);return;}this[_0x462ebb(0x13a)]-=_0x5e1730[_0x2df1aa];const _0x155a5c=_0x1e4d43(_0x285300);_0x4ae014?this[_0x462ebb(0x1b0)](_0x155a5c,_0x4ae014,_0x5e1730,_0x853af9):(this[_0x462ebb(0x1bf)]=_0x4d38fe,this[_0x462ebb(0x164)](_0x11da04[_0x462ebb(0x10b)](_0x155a5c,_0x5e1730),_0x853af9),this[_0x462ebb(0x27b)]());})['catch'](_0x4b3a59=>{const _0x481b4b=_0x5e3c5c;process[_0x481b4b(0x1ae)](_0xae268f,this,_0x4b3a59,_0x853af9);});}[_0x56051c(0x1b0)](_0x1ab666,_0x1c7b4e,_0x4dff4c,_0x4e614e){const _0x3c0570=_0x56051c;if(!_0x1c7b4e){this[_0x3c0570(0x164)](_0x11da04[_0x3c0570(0x10b)](_0x1ab666,_0x4dff4c),_0x4e614e);return;}const _0x157509=this[_0x3c0570(0x136)][_0x4c476d[_0x3c0570(0x16e)]];this[_0x3c0570(0x13a)]+=_0x4dff4c[_0x2df1aa],this['_state']=_0x4c6b74,_0x157509['compress'](_0x1ab666,_0x4dff4c[_0x3c0570(0x1f3)],(_0x384cf,_0x21c094)=>{const _0x5d17ce=_0x3c0570;if(this[_0x5d17ce(0x22c)][_0x5d17ce(0x207)]){const _0x1dbc9f=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x1003f1(this,_0x1dbc9f,_0x4e614e);return;}this['_bufferedBytes']-=_0x4dff4c[_0x2df1aa],this[_0x5d17ce(0x1bf)]=_0x4d38fe,_0x4dff4c[_0x5d17ce(0x26d)]=!0x1,this[_0x5d17ce(0x164)](_0x11da04[_0x5d17ce(0x10b)](_0x21c094,_0x4dff4c),_0x4e614e),this[_0x5d17ce(0x27b)]();});}[_0x56051c(0x27b)](){const _0x256a70=_0x56051c;for(;this[_0x256a70(0x1bf)]===_0x4d38fe&&this[_0x256a70(0x143)]['length'];){const _0x468292=this['_queue'][_0x256a70(0x163)]();this['_bufferedBytes']-=_0x468292[0x3][_0x2df1aa],Reflect['apply'](_0x468292[0x0],this,_0x468292[_0x256a70(0x12e)](0x1));}}[_0x56051c(0x201)](_0x3bfb73){const _0x4efbf1=_0x56051c;this[_0x4efbf1(0x13a)]+=_0x3bfb73[0x3][_0x2df1aa],this[_0x4efbf1(0x143)][_0x4efbf1(0x127)](_0x3bfb73);}['sendFrame'](_0x5a7e86,_0x4e256a){const _0x707ec1=_0x56051c;_0x5a7e86[_0x707ec1(0x1f5)]===0x2?(this[_0x707ec1(0x22c)]['cork'](),this[_0x707ec1(0x22c)][_0x707ec1(0xc5)](_0x5a7e86[0x0]),this['_socket'][_0x707ec1(0xc5)](_0x5a7e86[0x1],_0x4e256a),this[_0x707ec1(0x22c)]['uncork']()):this[_0x707ec1(0x22c)][_0x707ec1(0xc5)](_0x5a7e86[0x0],_0x4e256a);}}Ee=_0x11da04;function _0x1003f1(_0x3ba265,_0x57cd34,_0xfad9f){const _0x48e987=_0x56051c;typeof _0xfad9f==_0x48e987(0x17b)&&_0xfad9f(_0x57cd34);for(let _0x56c8a6=0x0;_0x56c8a6<_0x3ba265[_0x48e987(0x143)][_0x48e987(0x1f5)];_0x56c8a6++){const _0x2ccfca=_0x3ba265[_0x48e987(0x143)][_0x56c8a6],_0x4fc4eb=_0x2ccfca[_0x2ccfca[_0x48e987(0x1f5)]-0x1];typeof _0x4fc4eb=='function'&&_0x4fc4eb(_0x57cd34);}}function _0xae268f(_0x4ebe81,_0x440361,_0x33b868){const _0x233a9a=_0x56051c;_0x1003f1(_0x4ebe81,_0x440361,_0x33b868),_0x4ebe81[_0x233a9a(0xd5)](_0x440361);}return Ee;}var xe,Ze;function It(){const _0x2368ca=_0x4a8b65;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x130a06,kListener:_0x27623e}=H(),_0x35d5d7=Symbol(_0x2368ca(0x115)),_0x57288c=Symbol('kData'),_0x53959f=Symbol(_0x2368ca(0x11a)),_0x3c952b=Symbol(_0x2368ca(0xe8)),_0x56942e=Symbol(_0x2368ca(0xed)),_0x5c2ca8=Symbol(_0x2368ca(0x244)),_0x4f0620=Symbol(_0x2368ca(0x1f4)),_0x3b9b90=Symbol('kWasClean');class _0x453bd3{constructor(_0x1ee7e8){this[_0x5c2ca8]=null,this[_0x4f0620]=_0x1ee7e8;}get[_0x2368ca(0x1b1)](){return this[_0x5c2ca8];}get['type'](){return this[_0x4f0620];}}Object['defineProperty'](_0x453bd3[_0x2368ca(0xd2)],_0x2368ca(0x1b1),{'enumerable':!0x0}),Object[_0x2368ca(0xe1)](_0x453bd3['prototype'],'type',{'enumerable':!0x0});class _0x11333f extends _0x453bd3{constructor(_0x3aef70,_0x3e29e4={}){const _0x42fa0b=_0x2368ca;super(_0x3aef70),this[_0x35d5d7]=_0x3e29e4[_0x42fa0b(0x131)]===void 0x0?0x0:_0x3e29e4['code'],this[_0x56942e]=_0x3e29e4[_0x42fa0b(0xde)]===void 0x0?'':_0x3e29e4[_0x42fa0b(0xde)],this[_0x3b9b90]=_0x3e29e4['wasClean']===void 0x0?!0x1:_0x3e29e4[_0x42fa0b(0x20c)];}get[_0x2368ca(0x131)](){return this[_0x35d5d7];}get[_0x2368ca(0xde)](){return this[_0x56942e];}get['wasClean'](){return this[_0x3b9b90];}}Object[_0x2368ca(0xe1)](_0x11333f[_0x2368ca(0xd2)],_0x2368ca(0x131),{'enumerable':!0x0}),Object[_0x2368ca(0xe1)](_0x11333f[_0x2368ca(0xd2)],_0x2368ca(0xde),{'enumerable':!0x0}),Object[_0x2368ca(0xe1)](_0x11333f[_0x2368ca(0xd2)],_0x2368ca(0x20c),{'enumerable':!0x0});class _0x480e71 extends _0x453bd3{constructor(_0x7c271b,_0x57c067={}){const _0x5f09d2=_0x2368ca;super(_0x7c271b),this[_0x53959f]=_0x57c067[_0x5f09d2(0x227)]===void 0x0?null:_0x57c067[_0x5f09d2(0x227)],this[_0x3c952b]=_0x57c067[_0x5f09d2(0x13c)]===void 0x0?'':_0x57c067[_0x5f09d2(0x13c)];}get['error'](){return this[_0x53959f];}get[_0x2368ca(0x13c)](){return this[_0x3c952b];}}Object[_0x2368ca(0xe1)](_0x480e71[_0x2368ca(0xd2)],_0x2368ca(0x227),{'enumerable':!0x0}),Object[_0x2368ca(0xe1)](_0x480e71[_0x2368ca(0xd2)],_0x2368ca(0x13c),{'enumerable':!0x0});class _0x5eabbb extends _0x453bd3{constructor(_0x1d1b48,_0x3f9be0={}){const _0x4b6abe=_0x2368ca;super(_0x1d1b48),this[_0x57288c]=_0x3f9be0[_0x4b6abe(0xea)]===void 0x0?null:_0x3f9be0[_0x4b6abe(0xea)];}get['data'](){return this[_0x57288c];}}Object[_0x2368ca(0xe1)](_0x5eabbb[_0x2368ca(0xd2)],_0x2368ca(0xea),{'enumerable':!0x0}),xe={'CloseEvent':_0x11333f,'ErrorEvent':_0x480e71,'Event':_0x453bd3,'EventTarget':{'addEventListener'(_0x2f21d9,_0x295764,_0x4f4afb={}){const _0x1f2760=_0x2368ca;for(const _0x2b2fd2 of this['listeners'](_0x2f21d9))if(!_0x4f4afb[_0x130a06]&&_0x2b2fd2[_0x27623e]===_0x295764&&!_0x2b2fd2[_0x130a06])return;let _0x48587a;if(_0x2f21d9===_0x1f2760(0x13c))_0x48587a=function(_0x3322d5,_0x427966){const _0x377b52=_0x1f2760,_0x14b641=new _0x5eabbb(_0x377b52(0x13c),{'data':_0x427966?_0x3322d5:_0x3322d5[_0x377b52(0x147)]()});_0x14b641[_0x5c2ca8]=this,_0x51108b(_0x295764,this,_0x14b641);};else{if(_0x2f21d9==='close')_0x48587a=function(_0x1d1ebf,_0x31abfa){const _0x246bd5=_0x1f2760,_0x18026f=new _0x11333f(_0x246bd5(0xe6),{'code':_0x1d1ebf,'reason':_0x31abfa[_0x246bd5(0x147)](),'wasClean':this[_0x246bd5(0x128)]&&this[_0x246bd5(0x253)]});_0x18026f[_0x5c2ca8]=this,_0x51108b(_0x295764,this,_0x18026f);};else{if(_0x2f21d9===_0x1f2760(0x227))_0x48587a=function(_0x306466){const _0x453a25=_0x1f2760,_0x457295=new _0x480e71(_0x453a25(0x227),{'error':_0x306466,'message':_0x306466['message']});_0x457295[_0x5c2ca8]=this,_0x51108b(_0x295764,this,_0x457295);};else{if(_0x2f21d9===_0x1f2760(0x148))_0x48587a=function(){const _0xb1ed1b=_0x1f2760,_0xd19e08=new _0x453bd3(_0xb1ed1b(0x148));_0xd19e08[_0x5c2ca8]=this,_0x51108b(_0x295764,this,_0xd19e08);};else return;}}}_0x48587a[_0x130a06]=!!_0x4f4afb[_0x130a06],_0x48587a[_0x27623e]=_0x295764,_0x4f4afb['once']?this[_0x1f2760(0xff)](_0x2f21d9,_0x48587a):this['on'](_0x2f21d9,_0x48587a);},'removeEventListener'(_0x11ad77,_0x51f948){const _0x4d1989=_0x2368ca;for(const _0x40f547 of this['listeners'](_0x11ad77))if(_0x40f547[_0x27623e]===_0x51f948&&!_0x40f547[_0x130a06]){this[_0x4d1989(0x1d9)](_0x11ad77,_0x40f547);break;}}},'MessageEvent':_0x5eabbb};function _0x51108b(_0x59884c,_0x22811e,_0x2124d7){const _0x2bb483=_0x2368ca;typeof _0x59884c=='object'&&_0x59884c[_0x2bb483(0x122)]?_0x59884c[_0x2bb483(0x122)][_0x2bb483(0x259)](_0x59884c,_0x2124d7):_0x59884c[_0x2bb483(0x259)](_0x22811e,_0x2124d7);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x566f54}=ae();function _0x4e7c28(_0x153431,_0x218919,_0xc7d41f){_0x153431[_0x218919]===void 0x0?_0x153431[_0x218919]=[_0xc7d41f]:_0x153431[_0x218919]['push'](_0xc7d41f);}function _0x583bcb(_0xdb7f04){const _0xe3b138=_0x5911,_0xdcc11c=Object['create'](null);let _0x420606=Object[_0xe3b138(0xe7)](null),_0x10391f=!0x1,_0x2379ee=!0x1,_0x255fa5=!0x1,_0x5bac7c,_0x9d8e23,_0x47702e=-0x1,_0x21df4c=-0x1,_0x139925=-0x1,_0x2492d7=0x0;for(;_0x2492d7<_0xdb7f04['length'];_0x2492d7++)if(_0x21df4c=_0xdb7f04[_0xe3b138(0xd8)](_0x2492d7),_0x5bac7c===void 0x0){if(_0x139925===-0x1&&_0x566f54[_0x21df4c]===0x1)_0x47702e===-0x1&&(_0x47702e=_0x2492d7);else{if(_0x2492d7!==0x0&&(_0x21df4c===0x20||_0x21df4c===0x9))_0x139925===-0x1&&_0x47702e!==-0x1&&(_0x139925=_0x2492d7);else{if(_0x21df4c===0x3b||_0x21df4c===0x2c){if(_0x47702e===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x2492d7);_0x139925===-0x1&&(_0x139925=_0x2492d7);const _0x36ec9e=_0xdb7f04[_0xe3b138(0x12e)](_0x47702e,_0x139925);_0x21df4c===0x2c?(_0x4e7c28(_0xdcc11c,_0x36ec9e,_0x420606),_0x420606=Object[_0xe3b138(0xe7)](null)):_0x5bac7c=_0x36ec9e,_0x47702e=_0x139925=-0x1;}else throw new SyntaxError(_0xe3b138(0x125)+_0x2492d7);}}}else{if(_0x9d8e23===void 0x0){if(_0x139925===-0x1&&_0x566f54[_0x21df4c]===0x1)_0x47702e===-0x1&&(_0x47702e=_0x2492d7);else{if(_0x21df4c===0x20||_0x21df4c===0x9)_0x139925===-0x1&&_0x47702e!==-0x1&&(_0x139925=_0x2492d7);else{if(_0x21df4c===0x3b||_0x21df4c===0x2c){if(_0x47702e===-0x1)throw new SyntaxError(_0xe3b138(0x125)+_0x2492d7);_0x139925===-0x1&&(_0x139925=_0x2492d7),_0x4e7c28(_0x420606,_0xdb7f04[_0xe3b138(0x12e)](_0x47702e,_0x139925),!0x0),_0x21df4c===0x2c&&(_0x4e7c28(_0xdcc11c,_0x5bac7c,_0x420606),_0x420606=Object[_0xe3b138(0xe7)](null),_0x5bac7c=void 0x0),_0x47702e=_0x139925=-0x1;}else{if(_0x21df4c===0x3d&&_0x47702e!==-0x1&&_0x139925===-0x1)_0x9d8e23=_0xdb7f04[_0xe3b138(0x12e)](_0x47702e,_0x2492d7),_0x47702e=_0x139925=-0x1;else throw new SyntaxError(_0xe3b138(0x125)+_0x2492d7);}}}}else{if(_0x2379ee){if(_0x566f54[_0x21df4c]!==0x1)throw new SyntaxError(_0xe3b138(0x125)+_0x2492d7);_0x47702e===-0x1?_0x47702e=_0x2492d7:_0x10391f||(_0x10391f=!0x0),_0x2379ee=!0x1;}else{if(_0x255fa5){if(_0x566f54[_0x21df4c]===0x1)_0x47702e===-0x1&&(_0x47702e=_0x2492d7);else{if(_0x21df4c===0x22&&_0x47702e!==-0x1)_0x255fa5=!0x1,_0x139925=_0x2492d7;else{if(_0x21df4c===0x5c)_0x2379ee=!0x0;else throw new SyntaxError(_0xe3b138(0x125)+_0x2492d7);}}}else{if(_0x21df4c===0x22&&_0xdb7f04[_0xe3b138(0xd8)](_0x2492d7-0x1)===0x3d)_0x255fa5=!0x0;else{if(_0x139925===-0x1&&_0x566f54[_0x21df4c]===0x1)_0x47702e===-0x1&&(_0x47702e=_0x2492d7);else{if(_0x47702e!==-0x1&&(_0x21df4c===0x20||_0x21df4c===0x9))_0x139925===-0x1&&(_0x139925=_0x2492d7);else{if(_0x21df4c===0x3b||_0x21df4c===0x2c){if(_0x47702e===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x2492d7);_0x139925===-0x1&&(_0x139925=_0x2492d7);let _0x3bfade=_0xdb7f04[_0xe3b138(0x12e)](_0x47702e,_0x139925);_0x10391f&&(_0x3bfade=_0x3bfade[_0xe3b138(0x26c)](/\\/g,''),_0x10391f=!0x1),_0x4e7c28(_0x420606,_0x9d8e23,_0x3bfade),_0x21df4c===0x2c&&(_0x4e7c28(_0xdcc11c,_0x5bac7c,_0x420606),_0x420606=Object[_0xe3b138(0xe7)](null),_0x5bac7c=void 0x0),_0x9d8e23=void 0x0,_0x47702e=_0x139925=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x2492d7);}}}}}}}if(_0x47702e===-0x1||_0x255fa5||_0x21df4c===0x20||_0x21df4c===0x9)throw new SyntaxError('Unexpected\x20end\x20of\x20input');_0x139925===-0x1&&(_0x139925=_0x2492d7);const _0xa8d939=_0xdb7f04[_0xe3b138(0x12e)](_0x47702e,_0x139925);return _0x5bac7c===void 0x0?_0x4e7c28(_0xdcc11c,_0xa8d939,_0x420606):(_0x9d8e23===void 0x0?_0x4e7c28(_0x420606,_0xa8d939,!0x0):_0x10391f?_0x4e7c28(_0x420606,_0x9d8e23,_0xa8d939[_0xe3b138(0x26c)](/\\/g,'')):_0x4e7c28(_0x420606,_0x9d8e23,_0xa8d939),_0x4e7c28(_0xdcc11c,_0x5bac7c,_0x420606)),_0xdcc11c;}function _0x174a56(_0x4f7529){const _0xa975df=_0x5911;return Object[_0xa975df(0x149)](_0x4f7529)['map'](_0x2e0347=>{const _0x216771=_0xa975df;let _0x514f4b=_0x4f7529[_0x2e0347];return Array[_0x216771(0x1ad)](_0x514f4b)||(_0x514f4b=[_0x514f4b]),_0x514f4b[_0x216771(0x142)](_0xb83401=>[_0x2e0347][_0x216771(0x1f1)](Object[_0x216771(0x149)](_0xb83401)[_0x216771(0x142)](_0x2a397a=>{const _0x3f6e61=_0x216771;let _0x3ccd98=_0xb83401[_0x2a397a];return Array[_0x3f6e61(0x1ad)](_0x3ccd98)||(_0x3ccd98=[_0x3ccd98]),_0x3ccd98[_0x3f6e61(0x142)](_0x31e536=>_0x31e536===!0x0?_0x2a397a:_0x2a397a+'='+_0x31e536)[_0x3f6e61(0x13f)](';\x20');}))[_0x216771(0x13f)](';\x20'))[_0x216771(0x13f)](',\x20');})[_0xa975df(0x13f)](',\x20');}return be={'format':_0x174a56,'parse':_0x583bcb},be;}var we,Je;function Pe(){const _0x8c6faf=_0x4a8b65;if(Je)return we;Je=0x1;const _0x1aae4e=nt,_0x35f6fe=vt,_0x381751=ot,_0x4f12b8=St,_0x44e593=Et,{randomBytes:_0x45a67e,createHash:_0x23e27c}=Le,{Duplex:_0x1169ff,Readable:_0x329865}=oe,{URL:_0x17d8f8}=xt,_0xd5cd18=he(),_0x590664=lt(),_0x31dc90=ft(),{isBlob:_0x5cd20f}=ae(),{BINARY_TYPES:_0x50b73a,EMPTY_BUFFER:_0x2addc0,GUID:_0x39a44e,kForOnEventAttribute:_0x1f51ef,kListener:_0x19c60c,kStatusCode:_0x265e2c,kWebSocket:_0x558789,NOOP:_0x231cbd}=H(),{EventTarget:{addEventListener:_0x1530d0,removeEventListener:_0x23683d}}=It(),{format:_0x184ac8,parse:_0x2b252c}=ct(),{toBuffer:_0x49ed99}=ce(),_0x436869=0x1e*0x3e8,_0x1fcf8f=Symbol(_0x8c6faf(0x246)),_0x1c2a58=[0x8,0xd],_0x42dd4e=['CONNECTING',_0x8c6faf(0x280),_0x8c6faf(0x186),'CLOSED'],_0x47b6d4=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x2ee91e extends _0x1aae4e{constructor(_0x19d85a,_0xc213fa,_0xc7dd92){const _0x5e9f5c=_0x8c6faf;super(),this[_0x5e9f5c(0x156)]=_0x50b73a[0x0],this[_0x5e9f5c(0x1df)]=0x3ee,this[_0x5e9f5c(0x128)]=!0x1,this[_0x5e9f5c(0x253)]=!0x1,this[_0x5e9f5c(0x22f)]=_0x2addc0,this[_0x5e9f5c(0x269)]=null,this[_0x5e9f5c(0x21c)]=!0x1,this['_extensions']={},this[_0x5e9f5c(0x10c)]=!0x1,this[_0x5e9f5c(0x184)]='',this['_readyState']=_0x2ee91e['CONNECTING'],this[_0x5e9f5c(0x20d)]=null,this[_0x5e9f5c(0x176)]=null,this[_0x5e9f5c(0x22c)]=null,_0x19d85a!==null?(this[_0x5e9f5c(0x11e)]=0x0,this[_0x5e9f5c(0x1f8)]=!0x1,this[_0x5e9f5c(0x26e)]=0x0,_0xc213fa===void 0x0?_0xc213fa=[]:Array[_0x5e9f5c(0x1ad)](_0xc213fa)||(typeof _0xc213fa==_0x5e9f5c(0x151)&&_0xc213fa!==null?(_0xc7dd92=_0xc213fa,_0xc213fa=[]):_0xc213fa=[_0xc213fa]),_0x2f446e(this,_0x19d85a,_0xc213fa,_0xc7dd92)):(this['_autoPong']=_0xc7dd92['autoPong'],this[_0x5e9f5c(0x1f8)]=!0x0);}get['binaryType'](){const _0x3fd5c2=_0x8c6faf;return this[_0x3fd5c2(0x156)];}set[_0x8c6faf(0x221)](_0x2f0f7e){const _0x269535=_0x8c6faf;_0x50b73a[_0x269535(0x282)](_0x2f0f7e)&&(this[_0x269535(0x156)]=_0x2f0f7e,this['_receiver']&&(this[_0x269535(0x20d)][_0x269535(0x156)]=_0x2f0f7e));}get[_0x8c6faf(0xdc)](){const _0x516961=_0x8c6faf;return this[_0x516961(0x22c)]?this[_0x516961(0x22c)][_0x516961(0x129)][_0x516961(0x1f5)]+this['_sender'][_0x516961(0x13a)]:this[_0x516961(0x11e)];}get[_0x8c6faf(0x16b)](){const _0x482966=_0x8c6faf;return Object[_0x482966(0x149)](this[_0x482966(0x136)])[_0x482966(0x13f)]();}get[_0x8c6faf(0x104)](){const _0x2381ca=_0x8c6faf;return this[_0x2381ca(0x10c)];}get[_0x8c6faf(0x23f)](){return null;}get[_0x8c6faf(0xd5)](){return null;}get[_0x8c6faf(0x1a0)](){return null;}get[_0x8c6faf(0x17d)](){return null;}get['protocol'](){const _0x3ea749=_0x8c6faf;return this[_0x3ea749(0x184)];}get['readyState'](){const _0xb650e1=_0x8c6faf;return this[_0xb650e1(0x158)];}get[_0x8c6faf(0x153)](){const _0xa75b43=_0x8c6faf;return this[_0xa75b43(0x204)];}[_0x8c6faf(0x1b8)](_0x449a15,_0x1b5d4c,_0x267290){const _0x16b742=_0x8c6faf,_0x103527=new _0x590664({'allowSynchronousEvents':_0x267290['allowSynchronousEvents'],'binaryType':this[_0x16b742(0x221)],'extensions':this[_0x16b742(0x136)],'isServer':this[_0x16b742(0x1f8)],'maxPayload':_0x267290[_0x16b742(0xcd)],'skipUTF8Validation':_0x267290[_0x16b742(0x24e)]}),_0x30d748=new _0x31dc90(_0x449a15,this[_0x16b742(0x136)],_0x267290[_0x16b742(0x236)]);this[_0x16b742(0x20d)]=_0x103527,this['_sender']=_0x30d748,this['_socket']=_0x449a15,_0x103527[_0x558789]=this,_0x30d748[_0x558789]=this,_0x449a15[_0x558789]=this,_0x103527['on'](_0x16b742(0x126),_0x4f53b6),_0x103527['on']('drain',_0x161874),_0x103527['on'](_0x16b742(0x227),_0x3db5fd),_0x103527['on'](_0x16b742(0x13c),_0x2a1fc8),_0x103527['on']('ping',_0x323699),_0x103527['on'](_0x16b742(0xcc),_0x48ff27),_0x30d748['onerror']=_0x261a52,_0x449a15['setTimeout']&&_0x449a15[_0x16b742(0x1ab)](0x0),_0x449a15[_0x16b742(0x25a)]&&_0x449a15[_0x16b742(0x25a)](),_0x1b5d4c[_0x16b742(0x1f5)]>0x0&&_0x449a15[_0x16b742(0x1bd)](_0x1b5d4c),_0x449a15['on'](_0x16b742(0xe6),_0x16f838),_0x449a15['on']('data',_0x13adf2),_0x449a15['on'](_0x16b742(0xce),_0x26b0ce),_0x449a15['on'](_0x16b742(0x227),_0x373281),this['_readyState']=_0x2ee91e[_0x16b742(0x280)],this[_0x16b742(0x19a)](_0x16b742(0x148));}[_0x8c6faf(0x181)](){const _0x4ff674=_0x8c6faf;if(!this[_0x4ff674(0x22c)]){this['_readyState']=_0x2ee91e[_0x4ff674(0x20f)],this[_0x4ff674(0x19a)](_0x4ff674(0xe6),this[_0x4ff674(0x1df)],this[_0x4ff674(0x22f)]);return;}this[_0x4ff674(0x136)][_0xd5cd18[_0x4ff674(0x16e)]]&&this[_0x4ff674(0x136)][_0xd5cd18['extensionName']][_0x4ff674(0x1c0)](),this[_0x4ff674(0x20d)]['removeAllListeners'](),this[_0x4ff674(0x158)]=_0x2ee91e[_0x4ff674(0x20f)],this[_0x4ff674(0x19a)](_0x4ff674(0xe6),this[_0x4ff674(0x1df)],this['_closeMessage']);}[_0x8c6faf(0xe6)](_0x5cf033,_0x1f2d48){const _0x587eb7=_0x8c6faf;if(this[_0x587eb7(0x1e2)]!==_0x2ee91e[_0x587eb7(0x20f)]){if(this[_0x587eb7(0x1e2)]===_0x2ee91e[_0x587eb7(0x160)]){_0x115bf3(this,this['_req'],_0x587eb7(0xbd));return;}if(this[_0x587eb7(0x1e2)]===_0x2ee91e[_0x587eb7(0x186)]){this[_0x587eb7(0x253)]&&(this['_closeFrameReceived']||this[_0x587eb7(0x20d)][_0x587eb7(0x129)][_0x587eb7(0x27d)])&&this[_0x587eb7(0x22c)][_0x587eb7(0xce)]();return;}this[_0x587eb7(0x158)]=_0x2ee91e['CLOSING'],this[_0x587eb7(0x176)]['close'](_0x5cf033,_0x1f2d48,!this[_0x587eb7(0x1f8)],_0x16f52c=>{const _0x52e245=_0x587eb7;_0x16f52c||(this[_0x52e245(0x253)]=!0x0,(this[_0x52e245(0x128)]||this[_0x52e245(0x20d)][_0x52e245(0x129)][_0x52e245(0x27d)])&&this[_0x52e245(0x22c)][_0x52e245(0xce)]());}),_0x1f691a(this);}}[_0x8c6faf(0x245)](){const _0x2532a0=_0x8c6faf;this[_0x2532a0(0x1e2)]===_0x2ee91e[_0x2532a0(0x160)]||this[_0x2532a0(0x1e2)]===_0x2ee91e['CLOSED']||(this['_paused']=!0x0,this[_0x2532a0(0x22c)]['pause']());}[_0x8c6faf(0x179)](_0x19122d,_0x212629,_0x476af7){const _0x4b671f=_0x8c6faf;if(this[_0x4b671f(0x1e2)]===_0x2ee91e['CONNECTING'])throw new Error(_0x4b671f(0x273));if(typeof _0x19122d==_0x4b671f(0x17b)?(_0x476af7=_0x19122d,_0x19122d=_0x212629=void 0x0):typeof _0x212629==_0x4b671f(0x17b)&&(_0x476af7=_0x212629,_0x212629=void 0x0),typeof _0x19122d==_0x4b671f(0x1c8)&&(_0x19122d=_0x19122d['toString']()),this[_0x4b671f(0x1e2)]!==_0x2ee91e[_0x4b671f(0x280)]){_0x169afc(this,_0x19122d,_0x476af7);return;}_0x212629===void 0x0&&(_0x212629=!this[_0x4b671f(0x1f8)]),this[_0x4b671f(0x176)]['ping'](_0x19122d||_0x2addc0,_0x212629,_0x476af7);}[_0x8c6faf(0xcc)](_0x50ca28,_0x548c0b,_0x10e675){const _0x144f51=_0x8c6faf;if(this[_0x144f51(0x1e2)]===_0x2ee91e[_0x144f51(0x160)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x50ca28==_0x144f51(0x17b)?(_0x10e675=_0x50ca28,_0x50ca28=_0x548c0b=void 0x0):typeof _0x548c0b==_0x144f51(0x17b)&&(_0x10e675=_0x548c0b,_0x548c0b=void 0x0),typeof _0x50ca28==_0x144f51(0x1c8)&&(_0x50ca28=_0x50ca28[_0x144f51(0x147)]()),this[_0x144f51(0x1e2)]!==_0x2ee91e[_0x144f51(0x280)]){_0x169afc(this,_0x50ca28,_0x10e675);return;}_0x548c0b===void 0x0&&(_0x548c0b=!this[_0x144f51(0x1f8)]),this['_sender']['pong'](_0x50ca28||_0x2addc0,_0x548c0b,_0x10e675);}['resume'](){const _0x237513=_0x8c6faf;this[_0x237513(0x1e2)]===_0x2ee91e[_0x237513(0x160)]||this[_0x237513(0x1e2)]===_0x2ee91e[_0x237513(0x20f)]||(this[_0x237513(0x10c)]=!0x1,this['_receiver'][_0x237513(0x129)]['needDrain']||this[_0x237513(0x22c)][_0x237513(0xeb)]());}[_0x8c6faf(0x13b)](_0x461b25,_0x4c535c,_0x5c9edb){const _0x412e6b=_0x8c6faf;if(this[_0x412e6b(0x1e2)]===_0x2ee91e['CONNECTING'])throw new Error(_0x412e6b(0x273));if(typeof _0x4c535c==_0x412e6b(0x17b)&&(_0x5c9edb=_0x4c535c,_0x4c535c={}),typeof _0x461b25==_0x412e6b(0x1c8)&&(_0x461b25=_0x461b25[_0x412e6b(0x147)]()),this['readyState']!==_0x2ee91e[_0x412e6b(0x280)]){_0x169afc(this,_0x461b25,_0x5c9edb);return;}const _0x1bf30b={'binary':typeof _0x461b25!=_0x412e6b(0x1d2),'mask':!this[_0x412e6b(0x1f8)],'compress':!0x0,'fin':!0x0,..._0x4c535c};this[_0x412e6b(0x136)][_0xd5cd18[_0x412e6b(0x16e)]]||(_0x1bf30b['compress']=!0x1),this['_sender'][_0x412e6b(0x13b)](_0x461b25||_0x2addc0,_0x1bf30b,_0x5c9edb);}[_0x8c6faf(0x15f)](){const _0x13fbc6=_0x8c6faf;if(this[_0x13fbc6(0x1e2)]!==_0x2ee91e[_0x13fbc6(0x20f)]){if(this['readyState']===_0x2ee91e['CONNECTING']){_0x115bf3(this,this['_req'],_0x13fbc6(0xbd));return;}this['_socket']&&(this[_0x13fbc6(0x158)]=_0x2ee91e[_0x13fbc6(0x186)],this[_0x13fbc6(0x22c)][_0x13fbc6(0x1c4)]());}}}Object[_0x8c6faf(0xe1)](_0x2ee91e,_0x8c6faf(0x160),{'enumerable':!0x0,'value':_0x42dd4e[_0x8c6faf(0x105)]('CONNECTING')}),Object[_0x8c6faf(0xe1)](_0x2ee91e['prototype'],_0x8c6faf(0x160),{'enumerable':!0x0,'value':_0x42dd4e[_0x8c6faf(0x105)](_0x8c6faf(0x160))}),Object[_0x8c6faf(0xe1)](_0x2ee91e,_0x8c6faf(0x280),{'enumerable':!0x0,'value':_0x42dd4e[_0x8c6faf(0x105)]('OPEN')}),Object[_0x8c6faf(0xe1)](_0x2ee91e[_0x8c6faf(0xd2)],_0x8c6faf(0x280),{'enumerable':!0x0,'value':_0x42dd4e[_0x8c6faf(0x105)](_0x8c6faf(0x280))}),Object[_0x8c6faf(0xe1)](_0x2ee91e,'CLOSING',{'enumerable':!0x0,'value':_0x42dd4e[_0x8c6faf(0x105)]('CLOSING')}),Object[_0x8c6faf(0xe1)](_0x2ee91e[_0x8c6faf(0xd2)],_0x8c6faf(0x186),{'enumerable':!0x0,'value':_0x42dd4e['indexOf'](_0x8c6faf(0x186))}),Object[_0x8c6faf(0xe1)](_0x2ee91e,_0x8c6faf(0x20f),{'enumerable':!0x0,'value':_0x42dd4e[_0x8c6faf(0x105)]('CLOSED')}),Object[_0x8c6faf(0xe1)](_0x2ee91e[_0x8c6faf(0xd2)],_0x8c6faf(0x20f),{'enumerable':!0x0,'value':_0x42dd4e[_0x8c6faf(0x105)]('CLOSED')}),[_0x8c6faf(0x221),_0x8c6faf(0xdc),_0x8c6faf(0x16b),_0x8c6faf(0x104),_0x8c6faf(0x1be),_0x8c6faf(0x1e2),'url'][_0x8c6faf(0x109)](_0x417e8d=>{const _0x3218b4=_0x8c6faf;Object[_0x3218b4(0xe1)](_0x2ee91e[_0x3218b4(0xd2)],_0x417e8d,{'enumerable':!0x0});}),[_0x8c6faf(0x148),_0x8c6faf(0x227),'close',_0x8c6faf(0x13c)]['forEach'](_0x886508=>{const _0x2abe39=_0x8c6faf;Object['defineProperty'](_0x2ee91e[_0x2abe39(0xd2)],'on'+_0x886508,{'enumerable':!0x0,'get'(){const _0x5ab0bc=_0x2abe39;for(const _0x3cabc1 of this[_0x5ab0bc(0xd7)](_0x886508))if(_0x3cabc1[_0x1f51ef])return _0x3cabc1[_0x19c60c];return null;},'set'(_0x321073){const _0x11ac65=_0x2abe39;for(const _0x431f27 of this[_0x11ac65(0xd7)](_0x886508))if(_0x431f27[_0x1f51ef]){this['removeListener'](_0x886508,_0x431f27);break;}typeof _0x321073=='function'&&this[_0x11ac65(0x140)](_0x886508,_0x321073,{[_0x1f51ef]:!0x0});}});}),_0x2ee91e[_0x8c6faf(0xd2)][_0x8c6faf(0x140)]=_0x1530d0,_0x2ee91e[_0x8c6faf(0xd2)][_0x8c6faf(0x1ea)]=_0x23683d,we=_0x2ee91e;function _0x2f446e(_0x4639ad,_0x486365,_0x49723b,_0x1ca383){const _0x10f1a6=_0x8c6faf,_0xf03b4e={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x1c2a58[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x1ca383,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x10f1a6(0x118),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x4639ad['_autoPong']=_0xf03b4e[_0x10f1a6(0x197)],!_0x1c2a58[_0x10f1a6(0x282)](_0xf03b4e[_0x10f1a6(0x159)]))throw new RangeError('Unsupported\x20protocol\x20version:\x20'+_0xf03b4e[_0x10f1a6(0x159)]+_0x10f1a6(0x1bb)+_0x1c2a58[_0x10f1a6(0x13f)](',\x20')+')');let _0x6a5d30;if(_0x486365 instanceof _0x17d8f8)_0x6a5d30=_0x486365;else try{_0x6a5d30=new _0x17d8f8(_0x486365);}catch{throw new SyntaxError(_0x10f1a6(0x17c)+_0x486365);}_0x6a5d30[_0x10f1a6(0x1be)]===_0x10f1a6(0xc9)?_0x6a5d30[_0x10f1a6(0x1be)]=_0x10f1a6(0x107):_0x6a5d30['protocol']===_0x10f1a6(0xc1)&&(_0x6a5d30[_0x10f1a6(0x1be)]=_0x10f1a6(0x24f)),_0x4639ad[_0x10f1a6(0x204)]=_0x6a5d30['href'];const _0x3cc103=_0x6a5d30['protocol']===_0x10f1a6(0x24f),_0x3c41f9=_0x6a5d30['protocol']===_0x10f1a6(0x1ca);let _0x24032b;if(_0x6a5d30['protocol']!==_0x10f1a6(0x107)&&!_0x3cc103&&!_0x3c41f9?_0x24032b='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':_0x3c41f9&&!_0x6a5d30[_0x10f1a6(0x139)]?_0x24032b=_0x10f1a6(0x168):_0x6a5d30['hash']&&(_0x24032b=_0x10f1a6(0xca)),_0x24032b){const _0x2da802=new SyntaxError(_0x24032b);if(_0x4639ad[_0x10f1a6(0x26e)]===0x0)throw _0x2da802;_0x172d47(_0x4639ad,_0x2da802);return;}const _0x53d35f=_0x3cc103?0x1bb:0x50,_0x326347=_0x45a67e(0x10)[_0x10f1a6(0x147)](_0x10f1a6(0x141)),_0x1b23b4=_0x3cc103?_0x35f6fe[_0x10f1a6(0x134)]:_0x381751[_0x10f1a6(0x134)],_0x479e65=new Set();let _0x4352d8;if(_0xf03b4e['createConnection']=_0xf03b4e['createConnection']||(_0x3cc103?_0xd0b5e1:_0x377148),_0xf03b4e[_0x10f1a6(0x20a)]=_0xf03b4e[_0x10f1a6(0x20a)]||_0x53d35f,_0xf03b4e[_0x10f1a6(0x121)]=_0x6a5d30[_0x10f1a6(0x121)]||_0x53d35f,_0xf03b4e['host']=_0x6a5d30['hostname'][_0x10f1a6(0x1fc)]('[')?_0x6a5d30[_0x10f1a6(0x208)][_0x10f1a6(0x12e)](0x1,-0x1):_0x6a5d30[_0x10f1a6(0x208)],_0xf03b4e[_0x10f1a6(0x1c7)]={..._0xf03b4e[_0x10f1a6(0x1c7)],'Sec-WebSocket-Version':_0xf03b4e['protocolVersion'],'Sec-WebSocket-Key':_0x326347,'Connection':'Upgrade','Upgrade':_0x10f1a6(0x101)},_0xf03b4e[_0x10f1a6(0x194)]=_0x6a5d30[_0x10f1a6(0x139)]+_0x6a5d30[_0x10f1a6(0x1bc)],_0xf03b4e[_0x10f1a6(0x15d)]=_0xf03b4e[_0x10f1a6(0x1b3)],_0xf03b4e['perMessageDeflate']&&(_0x4352d8=new _0xd5cd18(_0xf03b4e[_0x10f1a6(0x138)]!==!0x0?_0xf03b4e[_0x10f1a6(0x138)]:{},!0x1,_0xf03b4e[_0x10f1a6(0xcd)]),_0xf03b4e[_0x10f1a6(0x1c7)][_0x10f1a6(0x261)]=_0x184ac8({[_0xd5cd18[_0x10f1a6(0x16e)]]:_0x4352d8[_0x10f1a6(0x1fb)]()})),_0x49723b[_0x10f1a6(0x1f5)]){for(const _0x303133 of _0x49723b){if(typeof _0x303133!=_0x10f1a6(0x1d2)||!_0x47b6d4[_0x10f1a6(0xf2)](_0x303133)||_0x479e65[_0x10f1a6(0xdb)](_0x303133))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x479e65[_0x10f1a6(0x19c)](_0x303133);}_0xf03b4e[_0x10f1a6(0x1c7)][_0x10f1a6(0x113)]=_0x49723b[_0x10f1a6(0x13f)](',');}if(_0xf03b4e[_0x10f1a6(0xcf)]&&(_0xf03b4e['protocolVersion']<0xd?_0xf03b4e[_0x10f1a6(0x1c7)][_0x10f1a6(0x232)]=_0xf03b4e[_0x10f1a6(0xcf)]:_0xf03b4e[_0x10f1a6(0x1c7)][_0x10f1a6(0xf1)]=_0xf03b4e[_0x10f1a6(0xcf)]),(_0x6a5d30[_0x10f1a6(0xc6)]||_0x6a5d30[_0x10f1a6(0x23e)])&&(_0xf03b4e[_0x10f1a6(0x223)]=_0x6a5d30[_0x10f1a6(0xc6)]+':'+_0x6a5d30[_0x10f1a6(0x23e)]),_0x3c41f9){const _0xb3d88f=_0xf03b4e[_0x10f1a6(0x194)][_0x10f1a6(0x182)](':');_0xf03b4e['socketPath']=_0xb3d88f[0x0],_0xf03b4e[_0x10f1a6(0x194)]=_0xb3d88f[0x1];}let _0x584dbe;if(_0xf03b4e[_0x10f1a6(0x1b2)]){if(_0x4639ad['_redirects']===0x0){_0x4639ad[_0x10f1a6(0x15a)]=_0x3c41f9,_0x4639ad[_0x10f1a6(0x19f)]=_0x3cc103,_0x4639ad[_0x10f1a6(0xe0)]=_0x3c41f9?_0xf03b4e[_0x10f1a6(0x112)]:_0x6a5d30['host'];const _0x4694b2=_0x1ca383&&_0x1ca383[_0x10f1a6(0x1c7)];if(_0x1ca383={..._0x1ca383,'headers':{}},_0x4694b2){for(const [_0x3435de,_0x55828f]of Object[_0x10f1a6(0xd0)](_0x4694b2))_0x1ca383[_0x10f1a6(0x1c7)][_0x3435de['toLowerCase']()]=_0x55828f;}}else{if(_0x4639ad[_0x10f1a6(0x25b)](_0x10f1a6(0x213))===0x0){const _0x30c3e9=_0x3c41f9?_0x4639ad[_0x10f1a6(0x15a)]?_0xf03b4e['socketPath']===_0x4639ad[_0x10f1a6(0xe0)]:!0x1:_0x4639ad['_originalIpc']?!0x1:_0x6a5d30[_0x10f1a6(0x117)]===_0x4639ad[_0x10f1a6(0xe0)];(!_0x30c3e9||_0x4639ad[_0x10f1a6(0x19f)]&&!_0x3cc103)&&(delete _0xf03b4e['headers']['authorization'],delete _0xf03b4e['headers'][_0x10f1a6(0x265)],_0x30c3e9||delete _0xf03b4e[_0x10f1a6(0x1c7)][_0x10f1a6(0x117)],_0xf03b4e['auth']=void 0x0);}}_0xf03b4e[_0x10f1a6(0x223)]&&!_0x1ca383[_0x10f1a6(0x1c7)][_0x10f1a6(0x191)]&&(_0x1ca383[_0x10f1a6(0x1c7)][_0x10f1a6(0x191)]=_0x10f1a6(0x250)+Buffer[_0x10f1a6(0x1c1)](_0xf03b4e[_0x10f1a6(0x223)])[_0x10f1a6(0x147)]('base64')),_0x584dbe=_0x4639ad['_req']=_0x1b23b4(_0xf03b4e),_0x4639ad['_redirects']&&_0x4639ad[_0x10f1a6(0x19a)](_0x10f1a6(0x213),_0x4639ad[_0x10f1a6(0x153)],_0x584dbe);}else _0x584dbe=_0x4639ad['_req']=_0x1b23b4(_0xf03b4e);_0xf03b4e[_0x10f1a6(0x15d)]&&_0x584dbe['on'](_0x10f1a6(0x15d),()=>{_0x115bf3(_0x4639ad,_0x584dbe,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x584dbe['on'](_0x10f1a6(0x227),_0x1da91d=>{const _0x97fd9b=_0x10f1a6;_0x584dbe===null||_0x584dbe[_0x1fcf8f]||(_0x584dbe=_0x4639ad[_0x97fd9b(0x25f)]=null,_0x172d47(_0x4639ad,_0x1da91d));}),_0x584dbe['on'](_0x10f1a6(0xc7),_0x31c602=>{const _0x30e48d=_0x10f1a6,_0x4bc187=_0x31c602['headers'][_0x30e48d(0x263)],_0x202cdc=_0x31c602['statusCode'];if(_0x4bc187&&_0xf03b4e[_0x30e48d(0x1b2)]&&_0x202cdc>=0x12c&&_0x202cdc<0x190){if(++_0x4639ad[_0x30e48d(0x26e)]>_0xf03b4e[_0x30e48d(0x172)]){_0x115bf3(_0x4639ad,_0x584dbe,'Maximum\x20redirects\x20exceeded');return;}_0x584dbe[_0x30e48d(0x1e6)]();let _0x58b166;try{_0x58b166=new _0x17d8f8(_0x4bc187,_0x486365);}catch{const _0x5f15f3=new SyntaxError(_0x30e48d(0x17c)+_0x4bc187);_0x172d47(_0x4639ad,_0x5f15f3);return;}_0x2f446e(_0x4639ad,_0x58b166,_0x49723b,_0x1ca383);}else _0x4639ad[_0x30e48d(0x19a)]('unexpected-response',_0x584dbe,_0x31c602)||_0x115bf3(_0x4639ad,_0x584dbe,_0x30e48d(0x1cf)+_0x31c602[_0x30e48d(0x16f)]);}),_0x584dbe['on'](_0x10f1a6(0x222),(_0x64ac42,_0x151241,_0x3a6a0a)=>{const _0x41a4ed=_0x10f1a6;if(_0x4639ad[_0x41a4ed(0x19a)]('upgrade',_0x64ac42),_0x4639ad['readyState']!==_0x2ee91e[_0x41a4ed(0x160)])return;_0x584dbe=_0x4639ad[_0x41a4ed(0x25f)]=null;const _0x9a183e=_0x64ac42[_0x41a4ed(0x1c7)][_0x41a4ed(0x222)];if(_0x9a183e===void 0x0||_0x9a183e[_0x41a4ed(0x124)]()!=='websocket'){_0x115bf3(_0x4639ad,_0x151241,_0x41a4ed(0x152));return;}const _0x242d02=_0x23e27c(_0x41a4ed(0x1a2))['update'](_0x326347+_0x39a44e)['digest'](_0x41a4ed(0x141));if(_0x64ac42[_0x41a4ed(0x1c7)][_0x41a4ed(0x16a)]!==_0x242d02){_0x115bf3(_0x4639ad,_0x151241,_0x41a4ed(0xf5));return;}const _0xd277f0=_0x64ac42['headers']['sec-websocket-protocol'];let _0x80efb3;if(_0xd277f0!==void 0x0?_0x479e65[_0x41a4ed(0x1c2)]?_0x479e65[_0x41a4ed(0xdb)](_0xd277f0)||(_0x80efb3=_0x41a4ed(0xc2)):_0x80efb3='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0x479e65[_0x41a4ed(0x1c2)]&&(_0x80efb3=_0x41a4ed(0x26b)),_0x80efb3){_0x115bf3(_0x4639ad,_0x151241,_0x80efb3);return;}_0xd277f0&&(_0x4639ad['_protocol']=_0xd277f0);const _0x23d398=_0x64ac42[_0x41a4ed(0x1c7)][_0x41a4ed(0x228)];if(_0x23d398!==void 0x0){if(!_0x4352d8){_0x115bf3(_0x4639ad,_0x151241,_0x41a4ed(0xd9));return;}let _0x536d60;try{_0x536d60=_0x2b252c(_0x23d398);}catch{_0x115bf3(_0x4639ad,_0x151241,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0x527998=Object[_0x41a4ed(0x149)](_0x536d60);if(_0x527998[_0x41a4ed(0x1f5)]!==0x1||_0x527998[0x0]!==_0xd5cd18[_0x41a4ed(0x16e)]){_0x115bf3(_0x4639ad,_0x151241,_0x41a4ed(0x13d));return;}try{_0x4352d8['accept'](_0x536d60[_0xd5cd18[_0x41a4ed(0x16e)]]);}catch{_0x115bf3(_0x4639ad,_0x151241,_0x41a4ed(0x1aa));return;}_0x4639ad[_0x41a4ed(0x136)][_0xd5cd18[_0x41a4ed(0x16e)]]=_0x4352d8;}_0x4639ad[_0x41a4ed(0x1b8)](_0x151241,_0x3a6a0a,{'allowSynchronousEvents':_0xf03b4e[_0x41a4ed(0x1cb)],'generateMask':_0xf03b4e[_0x41a4ed(0x236)],'maxPayload':_0xf03b4e['maxPayload'],'skipUTF8Validation':_0xf03b4e[_0x41a4ed(0x24e)]});}),_0xf03b4e['finishRequest']?_0xf03b4e['finishRequest'](_0x584dbe,_0x4639ad):_0x584dbe['end']();}function _0x172d47(_0x11d396,_0xb018cc){const _0x5584e6=_0x8c6faf;_0x11d396[_0x5584e6(0x158)]=_0x2ee91e[_0x5584e6(0x186)],_0x11d396['_errorEmitted']=!0x0,_0x11d396[_0x5584e6(0x19a)](_0x5584e6(0x227),_0xb018cc),_0x11d396['emitClose']();}function _0x377148(_0x38c0d7){const _0x5060f2=_0x8c6faf;return _0x38c0d7[_0x5060f2(0x194)]=_0x38c0d7[_0x5060f2(0x112)],_0x4f12b8[_0x5060f2(0xfa)](_0x38c0d7);}function _0xd0b5e1(_0x414890){const _0x126a41=_0x8c6faf;return _0x414890['path']=void 0x0,!_0x414890[_0x126a41(0x260)]&&_0x414890['servername']!==''&&(_0x414890[_0x126a41(0x260)]=_0x4f12b8[_0x126a41(0x1ce)](_0x414890[_0x126a41(0x117)])?'':_0x414890[_0x126a41(0x117)]),_0x44e593['connect'](_0x414890);}function _0x115bf3(_0x3d6a98,_0x351751,_0x1b3424){const _0x148735=_0x8c6faf;_0x3d6a98['_readyState']=_0x2ee91e[_0x148735(0x186)];const _0x32d42a=new Error(_0x1b3424);Error[_0x148735(0x1a9)](_0x32d42a,_0x115bf3),_0x351751[_0x148735(0x14b)]?(_0x351751[_0x1fcf8f]=!0x0,_0x351751['abort'](),_0x351751[_0x148735(0xd4)]&&!_0x351751[_0x148735(0xd4)][_0x148735(0x207)]&&_0x351751['socket'][_0x148735(0x1c4)](),process[_0x148735(0x1ae)](_0x172d47,_0x3d6a98,_0x32d42a)):(_0x351751[_0x148735(0x1c4)](_0x32d42a),_0x351751[_0x148735(0xff)](_0x148735(0x227),_0x3d6a98['emit'][_0x148735(0xfc)](_0x3d6a98,_0x148735(0x227))),_0x351751['once'](_0x148735(0xe6),_0x3d6a98[_0x148735(0x181)][_0x148735(0xfc)](_0x3d6a98)));}function _0x169afc(_0x6fcefd,_0x30c0d1,_0x57ef4b){const _0x1699f2=_0x8c6faf;if(_0x30c0d1){const _0xf92ede=_0x5cd20f(_0x30c0d1)?_0x30c0d1['size']:_0x49ed99(_0x30c0d1)[_0x1699f2(0x1f5)];_0x6fcefd['_socket']?_0x6fcefd['_sender']['_bufferedBytes']+=_0xf92ede:_0x6fcefd[_0x1699f2(0x11e)]+=_0xf92ede;}if(_0x57ef4b){const _0x1a3370=new Error(_0x1699f2(0x202)+_0x6fcefd[_0x1699f2(0x1e2)]+'\x20('+_0x42dd4e[_0x6fcefd[_0x1699f2(0x1e2)]]+')');process[_0x1699f2(0x1ae)](_0x57ef4b,_0x1a3370);}}function _0x4f53b6(_0x3781f0,_0x45a7f4){const _0x436479=_0x8c6faf,_0x2400e3=this[_0x558789];_0x2400e3[_0x436479(0x128)]=!0x0,_0x2400e3[_0x436479(0x22f)]=_0x45a7f4,_0x2400e3[_0x436479(0x1df)]=_0x3781f0,_0x2400e3[_0x436479(0x22c)][_0x558789]!==void 0x0&&(_0x2400e3[_0x436479(0x22c)][_0x436479(0x1d9)](_0x436479(0xea),_0x13adf2),process['nextTick'](_0x3d368c,_0x2400e3[_0x436479(0x22c)]),_0x3781f0===0x3ed?_0x2400e3[_0x436479(0xe6)]():_0x2400e3[_0x436479(0xe6)](_0x3781f0,_0x45a7f4));}function _0x161874(){const _0x1a4e10=_0x8c6faf,_0x385434=this[_0x558789];_0x385434[_0x1a4e10(0x104)]||_0x385434['_socket'][_0x1a4e10(0xeb)]();}function _0x3db5fd(_0x39557a){const _0x524e53=_0x8c6faf,_0x283c43=this[_0x558789];_0x283c43[_0x524e53(0x22c)][_0x558789]!==void 0x0&&(_0x283c43[_0x524e53(0x22c)][_0x524e53(0x1d9)](_0x524e53(0xea),_0x13adf2),process['nextTick'](_0x3d368c,_0x283c43[_0x524e53(0x22c)]),_0x283c43[_0x524e53(0xe6)](_0x39557a[_0x265e2c])),_0x283c43[_0x524e53(0x21c)]||(_0x283c43[_0x524e53(0x21c)]=!0x0,_0x283c43[_0x524e53(0x19a)](_0x524e53(0x227),_0x39557a));}function _0x4f0ce3(){const _0x550791=_0x8c6faf;this[_0x558789][_0x550791(0x181)]();}function _0x2a1fc8(_0x15ab6b,_0x243f42){const _0x391cd9=_0x8c6faf;this[_0x558789][_0x391cd9(0x19a)](_0x391cd9(0x13c),_0x15ab6b,_0x243f42);}function _0x323699(_0x3f5e36){const _0x47aa03=_0x8c6faf,_0x37fbd3=this[_0x558789];_0x37fbd3[_0x47aa03(0xc3)]&&_0x37fbd3[_0x47aa03(0xcc)](_0x3f5e36,!this[_0x47aa03(0x1f8)],_0x231cbd),_0x37fbd3[_0x47aa03(0x19a)](_0x47aa03(0x179),_0x3f5e36);}function _0x48ff27(_0x2dedd3){const _0x3d06f1=_0x8c6faf;this[_0x558789]['emit'](_0x3d06f1(0xcc),_0x2dedd3);}function _0x3d368c(_0x1e3c5a){const _0x386c1e=_0x8c6faf;_0x1e3c5a[_0x386c1e(0xeb)]();}function _0x261a52(_0x538d6c){const _0xc2ae46=_0x8c6faf,_0x1bf1bc=this[_0x558789];_0x1bf1bc[_0xc2ae46(0x1e2)]!==_0x2ee91e[_0xc2ae46(0x20f)]&&(_0x1bf1bc['readyState']===_0x2ee91e[_0xc2ae46(0x280)]&&(_0x1bf1bc['_readyState']=_0x2ee91e[_0xc2ae46(0x186)],_0x1f691a(_0x1bf1bc)),this[_0xc2ae46(0x22c)][_0xc2ae46(0xce)](),_0x1bf1bc[_0xc2ae46(0x21c)]||(_0x1bf1bc[_0xc2ae46(0x21c)]=!0x0,_0x1bf1bc['emit']('error',_0x538d6c)));}function _0x1f691a(_0xde0141){const _0x1a0997=_0x8c6faf;_0xde0141[_0x1a0997(0x269)]=setTimeout(_0xde0141[_0x1a0997(0x22c)][_0x1a0997(0x1c4)][_0x1a0997(0xfc)](_0xde0141[_0x1a0997(0x22c)]),_0x436869);}function _0x16f838(){const _0x564074=_0x8c6faf,_0x29df8b=this[_0x558789];this['removeListener'](_0x564074(0xe6),_0x16f838),this[_0x564074(0x1d9)](_0x564074(0xea),_0x13adf2),this[_0x564074(0x1d9)](_0x564074(0xce),_0x26b0ce),_0x29df8b[_0x564074(0x158)]=_0x2ee91e[_0x564074(0x186)];let _0x34ff0d;!this[_0x564074(0x178)][_0x564074(0x19d)]&&!_0x29df8b['_closeFrameReceived']&&!_0x29df8b[_0x564074(0x20d)][_0x564074(0x129)][_0x564074(0x27d)]&&(_0x34ff0d=_0x29df8b['_socket'][_0x564074(0x21f)]())!==null&&_0x29df8b[_0x564074(0x20d)][_0x564074(0xc5)](_0x34ff0d),_0x29df8b[_0x564074(0x20d)][_0x564074(0xce)](),this[_0x558789]=void 0x0,clearTimeout(_0x29df8b[_0x564074(0x269)]),_0x29df8b[_0x564074(0x20d)][_0x564074(0x129)]['finished']||_0x29df8b[_0x564074(0x20d)][_0x564074(0x129)][_0x564074(0x27d)]?_0x29df8b[_0x564074(0x181)]():(_0x29df8b[_0x564074(0x20d)]['on']('error',_0x4f0ce3),_0x29df8b['_receiver']['on']('finish',_0x4f0ce3));}function _0x13adf2(_0x6cc912){const _0x2f36db=_0x8c6faf;this[_0x558789][_0x2f36db(0x20d)][_0x2f36db(0xc5)](_0x6cc912)||this[_0x2f36db(0x245)]();}function _0x26b0ce(){const _0x52375c=_0x8c6faf,_0xa741f3=this[_0x558789];_0xa741f3[_0x52375c(0x158)]=_0x2ee91e[_0x52375c(0x186)],_0xa741f3['_receiver'][_0x52375c(0xce)](),this[_0x52375c(0xce)]();}function _0x373281(){const _0x588f76=_0x8c6faf,_0x447fd7=this[_0x558789];this[_0x588f76(0x1d9)](_0x588f76(0x227),_0x373281),this['on'](_0x588f76(0x227),_0x231cbd),_0x447fd7&&(_0x447fd7[_0x588f76(0x158)]=_0x2ee91e[_0x588f76(0x186)],this['destroy']());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x4c65d0}=oe;function _0x477035(_0xf7d13){const _0xb2f9b1=_0x5911;_0xf7d13[_0xb2f9b1(0x19a)](_0xb2f9b1(0xe6));}function _0x38415d(){const _0x1d73eb=_0x5911;!this[_0x1d73eb(0x207)]&&this[_0x1d73eb(0x129)][_0x1d73eb(0x24c)]&&this[_0x1d73eb(0x1c4)]();}function _0x160392(_0xafc151){const _0x5aeb32=_0x5911;this[_0x5aeb32(0x1d9)](_0x5aeb32(0x227),_0x160392),this[_0x5aeb32(0x1c4)](),this[_0x5aeb32(0x25b)]('error')===0x0&&this[_0x5aeb32(0x19a)]('error',_0xafc151);}function _0x2934a2(_0x17da27,_0x6d3558){const _0x4d08b2=_0x5911;let _0x82632e=!0x0;const _0x252bf2=new _0x4c65d0({..._0x6d3558,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x17da27['on']('message',function(_0x45b4ee,_0xd62592){const _0x54f5dc=_0x5911,_0x5417f6=!_0xd62592&&_0x252bf2[_0x54f5dc(0x178)][_0x54f5dc(0x268)]?_0x45b4ee['toString']():_0x45b4ee;_0x252bf2[_0x54f5dc(0x127)](_0x5417f6)||_0x17da27['pause']();}),_0x17da27[_0x4d08b2(0xff)](_0x4d08b2(0x227),function(_0x355726){const _0x3698c0=_0x4d08b2;_0x252bf2[_0x3698c0(0x207)]||(_0x82632e=!0x1,_0x252bf2['destroy'](_0x355726));}),_0x17da27['once']('close',function(){const _0x2c2095=_0x4d08b2;_0x252bf2[_0x2c2095(0x207)]||_0x252bf2[_0x2c2095(0x127)](null);}),_0x252bf2[_0x4d08b2(0x1b7)]=function(_0xe4c036,_0x2455f6){const _0x573518=_0x4d08b2;if(_0x17da27['readyState']===_0x17da27[_0x573518(0x20f)]){_0x2455f6(_0xe4c036),process[_0x573518(0x1ae)](_0x477035,_0x252bf2);return;}let _0x59d100=!0x1;_0x17da27[_0x573518(0xff)]('error',function(_0x2341cf){_0x59d100=!0x0,_0x2455f6(_0x2341cf);}),_0x17da27[_0x573518(0xff)]('close',function(){const _0x348d95=_0x573518;_0x59d100||_0x2455f6(_0xe4c036),process[_0x348d95(0x1ae)](_0x477035,_0x252bf2);}),_0x82632e&&_0x17da27['terminate']();},_0x252bf2['_final']=function(_0x3af567){const _0x2f3111=_0x4d08b2;if(_0x17da27[_0x2f3111(0x1e2)]===_0x17da27[_0x2f3111(0x160)]){_0x17da27[_0x2f3111(0xff)](_0x2f3111(0x148),function(){const _0x21fa7d=_0x2f3111;_0x252bf2[_0x21fa7d(0x242)](_0x3af567);});return;}_0x17da27['_socket']!==null&&(_0x17da27['_socket'][_0x2f3111(0x129)]['finished']?(_0x3af567(),_0x252bf2[_0x2f3111(0x178)][_0x2f3111(0x19d)]&&_0x252bf2[_0x2f3111(0x1c4)]()):(_0x17da27[_0x2f3111(0x22c)][_0x2f3111(0xff)](_0x2f3111(0x277),function(){_0x3af567();}),_0x17da27[_0x2f3111(0xe6)]()));},_0x252bf2['_read']=function(){const _0x10135e=_0x4d08b2;_0x17da27[_0x10135e(0x104)]&&_0x17da27['resume']();},_0x252bf2['_write']=function(_0xbe5b8,_0x246f7c,_0x76e90d){const _0x42f17d=_0x4d08b2;if(_0x17da27[_0x42f17d(0x1e2)]===_0x17da27[_0x42f17d(0x160)]){_0x17da27['once'](_0x42f17d(0x148),function(){_0x252bf2['_write'](_0xbe5b8,_0x246f7c,_0x76e90d);});return;}_0x17da27['send'](_0xbe5b8,_0x76e90d);},_0x252bf2['on'](_0x4d08b2(0xce),_0x38415d),_0x252bf2['on'](_0x4d08b2(0x227),_0x160392),_0x252bf2;}return Oe=_0x2934a2,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x2186f2}=ae();function _0x373c1e(_0x1103f6){const _0x37bb4c=_0x5911,_0x41a077=new Set();let _0x585395=-0x1,_0x2b01d1=-0x1,_0x175743=0x0;for(_0x175743;_0x175743<_0x1103f6[_0x37bb4c(0x1f5)];_0x175743++){const _0x1f9880=_0x1103f6[_0x37bb4c(0xd8)](_0x175743);if(_0x2b01d1===-0x1&&_0x2186f2[_0x1f9880]===0x1)_0x585395===-0x1&&(_0x585395=_0x175743);else{if(_0x175743!==0x0&&(_0x1f9880===0x20||_0x1f9880===0x9))_0x2b01d1===-0x1&&_0x585395!==-0x1&&(_0x2b01d1=_0x175743);else{if(_0x1f9880===0x2c){if(_0x585395===-0x1)throw new SyntaxError(_0x37bb4c(0x125)+_0x175743);_0x2b01d1===-0x1&&(_0x2b01d1=_0x175743);const _0x157174=_0x1103f6[_0x37bb4c(0x12e)](_0x585395,_0x2b01d1);if(_0x41a077['has'](_0x157174))throw new SyntaxError(_0x37bb4c(0x108)+_0x157174+_0x37bb4c(0xe4));_0x41a077[_0x37bb4c(0x19c)](_0x157174),_0x585395=_0x2b01d1=-0x1;}else throw new SyntaxError(_0x37bb4c(0x125)+_0x175743);}}}if(_0x585395===-0x1||_0x2b01d1!==-0x1)throw new SyntaxError(_0x37bb4c(0x278));const _0x338d8f=_0x1103f6[_0x37bb4c(0x12e)](_0x585395,_0x175743);if(_0x41a077['has'](_0x338d8f))throw new SyntaxError('The\x20\x22'+_0x338d8f+_0x37bb4c(0xe4));return _0x41a077[_0x37bb4c(0x19c)](_0x338d8f),_0x41a077;}return Ce={'parse':_0x373c1e},Ce;}var Te,rt;function Ft(){const _0x2c9a6a=_0x4a8b65;if(rt)return Te;rt=0x1;const _0x4db31b=nt,_0x1745ee=ot,{Duplex:_0x4f0dc7}=oe,{createHash:_0x54418d}=Le,_0xac014d=ct(),_0x19cc52=he(),_0xeec3fb=At(),_0x2845a3=Pe(),{GUID:_0x57313d,kWebSocket:_0x2bd79f}=H(),_0x17c2fb=/^[+/0-9A-Za-z]{22}==$/,_0x433e91=0x0,_0x248eb1=0x1,_0x451594=0x2;class _0xe3773 extends _0x4db31b{constructor(_0x3a56f8,_0x472ecb){const _0x57ff3c=_0x5911;if(super(),_0x3a56f8={'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':_0x2845a3,..._0x3a56f8},_0x3a56f8[_0x57ff3c(0x121)]==null&&!_0x3a56f8['server']&&!_0x3a56f8['noServer']||_0x3a56f8[_0x57ff3c(0x121)]!=null&&(_0x3a56f8['server']||_0x3a56f8[_0x57ff3c(0x247)])||_0x3a56f8[_0x57ff3c(0x1d4)]&&_0x3a56f8[_0x57ff3c(0x247)])throw new TypeError(_0x57ff3c(0x145));if(_0x3a56f8[_0x57ff3c(0x121)]!=null?(this[_0x57ff3c(0x23a)]=_0x1745ee[_0x57ff3c(0xba)]((_0x3a243a,_0xe3d3cd)=>{const _0x3fc44d=_0x57ff3c,_0x4673d4=_0x1745ee[_0x3fc44d(0x255)][0x1aa];_0xe3d3cd[_0x3fc44d(0x258)](0x1aa,{'Content-Length':_0x4673d4[_0x3fc44d(0x1f5)],'Content-Type':_0x3fc44d(0x19b)}),_0xe3d3cd[_0x3fc44d(0xce)](_0x4673d4);}),this['_server']['listen'](_0x3a56f8[_0x57ff3c(0x121)],_0x3a56f8['host'],_0x3a56f8['backlog'],_0x472ecb)):_0x3a56f8[_0x57ff3c(0x1d4)]&&(this['_server']=_0x3a56f8[_0x57ff3c(0x1d4)]),this[_0x57ff3c(0x23a)]){const _0x2c9f19=this['emit'][_0x57ff3c(0xfc)](this,_0x57ff3c(0x114));this[_0x57ff3c(0xf0)]=_0xe4f537(this[_0x57ff3c(0x23a)],{'listening':this[_0x57ff3c(0x19a)]['bind'](this,_0x57ff3c(0xf8)),'error':this[_0x57ff3c(0x19a)][_0x57ff3c(0xfc)](this,_0x57ff3c(0x227)),'upgrade':(_0x3af03f,_0x5ee7b5,_0x1338b4)=>{const _0x400fd6=_0x57ff3c;this[_0x400fd6(0x175)](_0x3af03f,_0x5ee7b5,_0x1338b4,_0x2c9f19);}});}_0x3a56f8[_0x57ff3c(0x138)]===!0x0&&(_0x3a56f8[_0x57ff3c(0x138)]={}),_0x3a56f8['clientTracking']&&(this[_0x57ff3c(0x21a)]=new Set(),this[_0x57ff3c(0x1fa)]=!0x1),this['options']=_0x3a56f8,this[_0x57ff3c(0x1bf)]=_0x433e91;}[_0x2c9a6a(0x23c)](){const _0x23f2ff=_0x2c9a6a;if(this[_0x23f2ff(0x21b)][_0x23f2ff(0x247)])throw new Error('The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode');return this[_0x23f2ff(0x23a)]?this[_0x23f2ff(0x23a)]['address']():null;}[_0x2c9a6a(0xe6)](_0x12dfcf){const _0xbf3228=_0x2c9a6a;if(this['_state']===_0x451594){_0x12dfcf&&this[_0xbf3228(0xff)](_0xbf3228(0xe6),()=>{const _0xf479b8=_0xbf3228;_0x12dfcf(new Error(_0xf479b8(0x111)));}),process[_0xbf3228(0x1ae)](_0x3307e1,this);return;}if(_0x12dfcf&&this['once'](_0xbf3228(0xe6),_0x12dfcf),this[_0xbf3228(0x1bf)]!==_0x248eb1){if(this[_0xbf3228(0x1bf)]=_0x248eb1,this['options'][_0xbf3228(0x247)]||this['options'][_0xbf3228(0x1d4)])this[_0xbf3228(0x23a)]&&(this[_0xbf3228(0xf0)](),this[_0xbf3228(0xf0)]=this[_0xbf3228(0x23a)]=null),this[_0xbf3228(0x21a)]?this['clients'][_0xbf3228(0x1c2)]?this[_0xbf3228(0x1fa)]=!0x0:process['nextTick'](_0x3307e1,this):process[_0xbf3228(0x1ae)](_0x3307e1,this);else{const _0x570b39=this[_0xbf3228(0x23a)];this[_0xbf3228(0xf0)](),this['_removeListeners']=this[_0xbf3228(0x23a)]=null,_0x570b39['close'](()=>{_0x3307e1(this);});}}}[_0x2c9a6a(0x11b)](_0x5a5556){const _0x4cf249=_0x2c9a6a;if(this[_0x4cf249(0x21b)][_0x4cf249(0x194)]){const _0x94521b=_0x5a5556[_0x4cf249(0x153)][_0x4cf249(0x105)]('?');if((_0x94521b!==-0x1?_0x5a5556[_0x4cf249(0x153)][_0x4cf249(0x12e)](0x0,_0x94521b):_0x5a5556['url'])!==this[_0x4cf249(0x21b)][_0x4cf249(0x194)])return!0x1;}return!0x0;}[_0x2c9a6a(0x175)](_0x570a6b,_0x2f4e6a,_0x2fa605,_0x220499){const _0x35244a=_0x2c9a6a;_0x2f4e6a['on']('error',_0x17a3a0);const _0x42aed5=_0x570a6b['headers'][_0x35244a(0x1d0)],_0x580b94=_0x570a6b[_0x35244a(0x1c7)][_0x35244a(0x222)],_0x551947=+_0x570a6b['headers'][_0x35244a(0xbf)];if(_0x570a6b[_0x35244a(0x1b6)]!==_0x35244a(0x118)){_0x2342c5(this,_0x570a6b,_0x2f4e6a,0x195,_0x35244a(0x18c));return;}if(_0x580b94===void 0x0||_0x580b94[_0x35244a(0x124)]()!==_0x35244a(0x101)){_0x2342c5(this,_0x570a6b,_0x2f4e6a,0x190,_0x35244a(0x152));return;}if(_0x42aed5===void 0x0||!_0x17c2fb[_0x35244a(0xf2)](_0x42aed5)){_0x2342c5(this,_0x570a6b,_0x2f4e6a,0x190,_0x35244a(0x1ff));return;}if(_0x551947!==0x8&&_0x551947!==0xd){_0x2342c5(this,_0x570a6b,_0x2f4e6a,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header');return;}if(!this['shouldHandle'](_0x570a6b)){_0x5dbdd3(_0x2f4e6a,0x190);return;}const _0x428e79=_0x570a6b[_0x35244a(0x1c7)]['sec-websocket-protocol'];let _0x548327=new Set();if(_0x428e79!==void 0x0)try{_0x548327=_0xeec3fb['parse'](_0x428e79);}catch{_0x2342c5(this,_0x570a6b,_0x2f4e6a,0x190,_0x35244a(0xec));return;}const _0x5d9840=_0x570a6b['headers'][_0x35244a(0x228)],_0x5bc4b1={};if(this[_0x35244a(0x21b)]['perMessageDeflate']&&_0x5d9840!==void 0x0){const _0x1bd0f1=new _0x19cc52(this[_0x35244a(0x21b)][_0x35244a(0x138)],!0x0,this[_0x35244a(0x21b)][_0x35244a(0xcd)]);try{const _0x50488c=_0xac014d[_0x35244a(0x248)](_0x5d9840);_0x50488c[_0x19cc52[_0x35244a(0x16e)]]&&(_0x1bd0f1[_0x35244a(0x210)](_0x50488c[_0x19cc52[_0x35244a(0x16e)]]),_0x5bc4b1[_0x19cc52[_0x35244a(0x16e)]]=_0x1bd0f1);}catch{_0x2342c5(this,_0x570a6b,_0x2f4e6a,0x190,_0x35244a(0x199));return;}}if(this[_0x35244a(0x21b)][_0x35244a(0x27c)]){const _0x2a412e={'origin':_0x570a6b[_0x35244a(0x1c7)][''+(_0x551947===0x8?_0x35244a(0xd1):_0x35244a(0xcf))],'secure':!!(_0x570a6b[_0x35244a(0xd4)][_0x35244a(0x133)]||_0x570a6b[_0x35244a(0xd4)][_0x35244a(0x13e)]),'req':_0x570a6b};if(this[_0x35244a(0x21b)][_0x35244a(0x27c)][_0x35244a(0x1f5)]===0x2){this[_0x35244a(0x21b)][_0x35244a(0x27c)](_0x2a412e,(_0xbc8b4e,_0x2e966f,_0xbd401d,_0x27b0d7)=>{const _0x4c63bf=_0x35244a;if(!_0xbc8b4e)return _0x5dbdd3(_0x2f4e6a,_0x2e966f||0x191,_0xbd401d,_0x27b0d7);this[_0x4c63bf(0x173)](_0x5bc4b1,_0x42aed5,_0x548327,_0x570a6b,_0x2f4e6a,_0x2fa605,_0x220499);});return;}if(!this[_0x35244a(0x21b)][_0x35244a(0x27c)](_0x2a412e))return _0x5dbdd3(_0x2f4e6a,0x191);}this[_0x35244a(0x173)](_0x5bc4b1,_0x42aed5,_0x548327,_0x570a6b,_0x2f4e6a,_0x2fa605,_0x220499);}['completeUpgrade'](_0x59ccbd,_0x211c2c,_0x170f05,_0xe5a376,_0x585298,_0x386d01,_0x26c81d){const _0x29c801=_0x2c9a6a;if(!_0x585298[_0x29c801(0x1e0)]||!_0x585298[_0x29c801(0x279)])return _0x585298[_0x29c801(0x1c4)]();if(_0x585298[_0x2bd79f])throw new Error(_0x29c801(0xe2));if(this['_state']>_0x433e91)return _0x5dbdd3(_0x585298,0x1f7);const _0x1e5123=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0x29c801(0x200),_0x29c801(0x135),_0x29c801(0x177)+_0x54418d(_0x29c801(0x1a2))[_0x29c801(0x12b)](_0x211c2c+_0x57313d)[_0x29c801(0x1e4)](_0x29c801(0x141))],_0xb9aa06=new this[(_0x29c801(0x21b))][(_0x29c801(0x144))](null,void 0x0,this['options']);if(_0x170f05[_0x29c801(0x1c2)]){const _0x1beb3c=this[_0x29c801(0x21b)]['handleProtocols']?this['options'][_0x29c801(0x257)](_0x170f05,_0xe5a376):_0x170f05[_0x29c801(0x171)]()[_0x29c801(0x17f)]()['value'];_0x1beb3c&&(_0x1e5123['push'](_0x29c801(0x1cc)+_0x1beb3c),_0xb9aa06[_0x29c801(0x184)]=_0x1beb3c);}if(_0x59ccbd[_0x19cc52['extensionName']]){const _0x5a0600=_0x59ccbd[_0x19cc52[_0x29c801(0x16e)]][_0x29c801(0x18d)],_0x3acb9d=_0xac014d[_0x29c801(0xfe)]({[_0x19cc52[_0x29c801(0x16e)]]:[_0x5a0600]});_0x1e5123[_0x29c801(0x127)](_0x29c801(0x137)+_0x3acb9d),_0xb9aa06[_0x29c801(0x136)]=_0x59ccbd;}this[_0x29c801(0x19a)]('headers',_0x1e5123,_0xe5a376),_0x585298['write'](_0x1e5123[_0x29c801(0x1f1)]('\x0d\x0a')[_0x29c801(0x13f)]('\x0d\x0a')),_0x585298['removeListener'](_0x29c801(0x227),_0x17a3a0),_0xb9aa06[_0x29c801(0x1b8)](_0x585298,_0x386d01,{'allowSynchronousEvents':this[_0x29c801(0x21b)][_0x29c801(0x1cb)],'maxPayload':this[_0x29c801(0x21b)][_0x29c801(0xcd)],'skipUTF8Validation':this[_0x29c801(0x21b)][_0x29c801(0x24e)]}),this[_0x29c801(0x21a)]&&(this[_0x29c801(0x21a)][_0x29c801(0x19c)](_0xb9aa06),_0xb9aa06['on'](_0x29c801(0xe6),()=>{const _0x42e4a7=_0x29c801;this['clients'][_0x42e4a7(0x1fd)](_0xb9aa06),this[_0x42e4a7(0x1fa)]&&!this[_0x42e4a7(0x21a)]['size']&&process[_0x42e4a7(0x1ae)](_0x3307e1,this);})),_0x26c81d(_0xb9aa06,_0xe5a376);}}Te=_0xe3773;function _0xe4f537(_0x199893,_0x16b86a){const _0x2ee239=_0x2c9a6a;for(const _0x58dcb0 of Object[_0x2ee239(0x149)](_0x16b86a))_0x199893['on'](_0x58dcb0,_0x16b86a[_0x58dcb0]);return function(){const _0x2c1abb=_0x2ee239;for(const _0x28e241 of Object['keys'](_0x16b86a))_0x199893[_0x2c1abb(0x1d9)](_0x28e241,_0x16b86a[_0x28e241]);};}function _0x3307e1(_0x434ae3){const _0x20deda=_0x2c9a6a;_0x434ae3[_0x20deda(0x1bf)]=_0x451594,_0x434ae3[_0x20deda(0x19a)](_0x20deda(0xe6));}function _0x17a3a0(){const _0x2ceaff=_0x2c9a6a;this[_0x2ceaff(0x1c4)]();}function _0x5dbdd3(_0x12bf2b,_0x2b0a5a,_0x1fcf60,_0x260070){const _0x4f9697=_0x2c9a6a;_0x1fcf60=_0x1fcf60||_0x1745ee[_0x4f9697(0x255)][_0x2b0a5a],_0x260070={'Connection':_0x4f9697(0xe6),'Content-Type':_0x4f9697(0x1b5),'Content-Length':Buffer[_0x4f9697(0x132)](_0x1fcf60),..._0x260070},_0x12bf2b[_0x4f9697(0xff)](_0x4f9697(0x277),_0x12bf2b[_0x4f9697(0x1c4)]),_0x12bf2b[_0x4f9697(0xce)](_0x4f9697(0x19e)+_0x2b0a5a+'\x20'+_0x1745ee['STATUS_CODES'][_0x2b0a5a]+'\x0d\x0a'+Object[_0x4f9697(0x149)](_0x260070)['map'](_0x1285f9=>_0x1285f9+':\x20'+_0x260070[_0x1285f9])[_0x4f9697(0x13f)]('\x0d\x0a')+_0x4f9697(0x27a)+_0x1fcf60);}function _0x2342c5(_0x332201,_0x12d1d9,_0x460171,_0x53fbb9,_0x46bd87){const _0x4a2124=_0x2c9a6a;if(_0x332201[_0x4a2124(0x25b)](_0x4a2124(0x218))){const _0x51d1de=new Error(_0x46bd87);Error[_0x4a2124(0x1a9)](_0x51d1de,_0x2342c5),_0x332201[_0x4a2124(0x19a)](_0x4a2124(0x218),_0x51d1de,_0x460171,_0x12d1d9);}else _0x5dbdd3(_0x460171,_0x53fbb9,_0x46bd87);}return Te;}Ft();var jt=Object[_0x4a8b65(0xbe)],Wt=(_0x123411,_0x588046,_0x73e425,_0x6d323b)=>{const _0x236833=_0x4a8b65;for(var _0x4928fd=_0x6d323b>0x1?void 0x0:_0x6d323b?jt(_0x588046,_0x73e425):_0x588046,_0x60f1b7=_0x123411[_0x236833(0x1f5)]-0x1,_0x354eb6;_0x60f1b7>=0x0;_0x60f1b7--)(_0x354eb6=_0x123411[_0x60f1b7])&&(_0x4928fd=_0x354eb6(_0x4928fd)||_0x4928fd);return _0x4928fd;},qt=(_0x141b01,_0x3de12c)=>(_0x1a9fde,_0x5343d0)=>_0x3de12c(_0x1a9fde,_0x5343d0,_0x141b01);let ke=class extends A['Disposable']{constructor(_0x3aa1ed){const _0xea2713=_0x4a8b65;super(),this[_0xea2713(0x170)]=_0x3aa1ed;}[_0x4a8b65(0xe3)](_0x3505a9){const _0xec92f9=_0x4a8b65;var _0xb0718f;const _0x275eec=(_0xb0718f=this[_0xec92f9(0x170)]['getConfig'](fe))==null?void 0x0:_0xb0718f[_0xec92f9(0x1ac)];try{const _0x30ae01=new $t(_0x3505a9,{'headers':{..._0x275eec}}),_0x1f5910=new A['DisposableCollection']();return{'URL':_0x3505a9,'close':(_0x3fae31,_0x4a674e)=>{const _0x2ff3aa=_0xec92f9;_0x30ae01[_0x2ff3aa(0xe6)](_0x3fae31,_0x4a674e),_0x1f5910[_0x2ff3aa(0x1d3)]();},'send':_0x353390=>{const _0x27da32=_0xec92f9;_0x30ae01[_0x27da32(0x13b)](_0x353390);},'open$':new V[(_0xec92f9(0x266))](_0x1a2741=>{const _0x14a05b=_0xec92f9,_0x39530b=_0x34c3b4=>_0x1a2741[_0x14a05b(0x17f)](_0x34c3b4);_0x30ae01[_0x14a05b(0x140)](_0x14a05b(0x148),_0x39530b),_0x1f5910[_0x14a05b(0x19c)](A[_0x14a05b(0x17a)](()=>_0x30ae01[_0x14a05b(0x1ea)](_0x14a05b(0x148),_0x39530b)));})['pipe'](V[_0xec92f9(0x238)]()),'close$':new V[(_0xec92f9(0x266))](_0x245083=>{const _0x495def=_0xec92f9,_0x16ce1e=_0x3fa1f7=>_0x245083['next'](_0x3fa1f7);_0x30ae01[_0x495def(0x140)](_0x495def(0xe6),_0x16ce1e),_0x1f5910[_0x495def(0x19c)](A[_0x495def(0x17a)](()=>_0x30ae01['removeEventListener'](_0x495def(0xe6),_0x16ce1e)));})[_0xec92f9(0x1af)](V[_0xec92f9(0x238)]()),'error$':new V[(_0xec92f9(0x266))](_0x138eac=>{const _0x358fab=_0xec92f9,_0x528d6d=_0x44eb04=>_0x138eac[_0x358fab(0x17f)](_0x44eb04);_0x30ae01[_0x358fab(0x140)](_0x358fab(0x227),_0x528d6d),_0x1f5910[_0x358fab(0x19c)](A[_0x358fab(0x17a)](()=>_0x30ae01[_0x358fab(0x1ea)](_0x358fab(0x227),_0x528d6d)));})[_0xec92f9(0x1af)](V[_0xec92f9(0x238)]()),'message$':new V['Observable'](_0x2224a5=>{const _0x3c448d=_0xec92f9,_0x431310=_0x454ccf=>_0x2224a5[_0x3c448d(0x17f)](_0x454ccf);_0x30ae01[_0x3c448d(0x140)](_0x3c448d(0x13c),_0x431310),_0x1f5910[_0x3c448d(0x19c)](A[_0x3c448d(0x17a)](()=>_0x30ae01[_0x3c448d(0x1ea)](_0x3c448d(0x13c),_0x431310)));})[_0xec92f9(0x1af)](V[_0xec92f9(0x238)]())};}catch(_0x240c5a){return console[_0xec92f9(0x227)](_0x240c5a),null;}}};ke=Wt([qt(0x0,A['IConfigService'])],ke);var Gt=Object[_0x4a8b65(0xe1)],Vt=Object[_0x4a8b65(0xbe)],Ht=(_0x21bd87,_0xf77f19,_0x23c87a)=>_0xf77f19 in _0x21bd87?Gt(_0x21bd87,_0xf77f19,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x23c87a}):_0x21bd87[_0xf77f19]=_0x23c87a,zt=(_0x49f340,_0x4c776f,_0x899083,_0xa199a9)=>{for(var _0xe3d207=_0xa199a9>0x1?void 0x0:_0xa199a9?Vt(_0x4c776f,_0x899083):_0x4c776f,_0x526fc1=_0x49f340['length']-0x1,_0x380cfa;_0x526fc1>=0x0;_0x526fc1--)(_0x380cfa=_0x49f340[_0x526fc1])&&(_0xe3d207=_0x380cfa(_0xe3d207)||_0xe3d207);return _0xe3d207;},Ne=(_0xef31ab,_0x2dd306)=>(_0x25b458,_0x4dd493)=>_0x2dd306(_0x25b458,_0x4dd493,_0xef31ab),Yt=(_0x357ee9,_0x5dd627,_0x25a225)=>Ht(_0x357ee9,_0x5dd627+'',_0x25a225);exports['UniverCollaborationClientNodePlugin']=class extends A[_0x4a8b65(0x14a)]{constructor(_0x514e88=Ct,_0x529e93,_0x1eac90,_0x1e7ed8){const _0x206dd9=_0x4a8b65;_0x514e88[_0x206dd9(0x1ac)]||_0x529e93[_0x206dd9(0x275)](_0x206dd9(0x10d)),super(),this[_0x206dd9(0x170)]=_0x1eac90,this['_injector']=_0x1e7ed8,this[_0x206dd9(0x170)][_0x206dd9(0x14e)](fe,_0x514e88);}['onStarting'](){this['_registerDependencies']();}[_0x4a8b65(0x1a6)](){const _0x4e79f1=_0x4a8b65;A['registerDependencies'](this[_0x4e79f1(0x1a1)],[[it[_0x4e79f1(0x264)],{'useClass':ke}]]);}},Yt(exports[_0x4a8b65(0x1c9)],_0x4a8b65(0x1e9),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),exports['UniverCollaborationClientNodePlugin']=zt([A[_0x4a8b65(0x130)](st[_0x4a8b65(0x251)]),Ne(0x1,A['ILogService']),Ne(0x2,A[_0x4a8b65(0x103)]),Ne(0x3,A[_0x4a8b65(0xdd)](A['Injector']))],exports[_0x4a8b65(0x1c9)]);var Kt=Object[_0x4a8b65(0xbe)],Xt=(_0x546958,_0xc89def,_0x262906,_0x104a1f)=>{const _0x3043c9=_0x4a8b65;for(var _0x2aa9c2=_0x104a1f>0x1?void 0x0:_0x104a1f?Kt(_0xc89def,_0x262906):_0xc89def,_0xc39440=_0x546958[_0x3043c9(0x1f5)]-0x1,_0x405753;_0xc39440>=0x0;_0xc39440--)(_0x405753=_0x546958[_0xc39440])&&(_0x2aa9c2=_0x405753(_0x2aa9c2)||_0x2aa9c2);return _0x2aa9c2;},ne=(_0x238ff7,_0x15ae73)=>(_0xe1b248,_0x1fff65)=>_0x15ae73(_0xe1b248,_0x1fff65,_0x238ff7);exports[_0x4a8b65(0x233)]=class extends st['CollaborationSocketService']{constructor(_0x4f7b58,_0x385746,_0x1cc9e6,_0x40b07b,_0x59ae6f){const _0x2699fb=_0x4a8b65;super(_0x4f7b58,_0x385746,_0x1cc9e6,_0x40b07b,_0x59ae6f);const _0x5de04d=this[_0x2699fb(0x170)]['getConfig'](fe);this['_httpService'][_0x2699fb(0xf7)]({'interceptor':(_0x7f1b98,_0x1d175f)=>{const _0x3b0f48=_0x2699fb;var _0x51eacb;const _0x33d7c1=_0x7f1b98[_0x3b0f48(0x1c7)];return(_0x51eacb=_0x5de04d==null?void 0x0:_0x5de04d[_0x3b0f48(0x1ac)])!=null&&_0x51eacb[_0x3b0f48(0x265)]&&_0x33d7c1[_0x3b0f48(0xc8)](_0x3b0f48(0xd3),_0x5de04d[_0x3b0f48(0x1ac)][_0x3b0f48(0x265)]),_0x1d175f(_0x7f1b98);}});}async[_0x4a8b65(0xe3)](_0x23d350){const _0x515c72=_0x4a8b65;return this[_0x515c72(0x1f0)](_0x23d350);}},exports['NodeCollaborationSocketService']=Xt([ne(0x0,A['Inject'](A[_0x4a8b65(0x211)])),ne(0x1,A[_0x4a8b65(0xdd)](it[_0x4a8b65(0x252)])),ne(0x2,A[_0x4a8b65(0x103)]),ne(0x3,A[_0x4a8b65(0x23b)]),ne(0x4,Ot[_0x4a8b65(0x1ba)])],exports[_0x4a8b65(0x233)]),exports['COLLABORATION_CLIENT_NODE_CONFIG_KEY']=fe;
|
|
1
|
+
'use strict';const _0x2511b9=_0xfddf;(function(_0x17b7b8,_0xfed819){const _0x237712=_0xfddf,_0x5a2431=_0x17b7b8();while(!![]){try{const _0xe33cad=parseInt(_0x237712(0x11a))/0x1*(-parseInt(_0x237712(0x170))/0x2)+parseInt(_0x237712(0x17c))/0x3*(-parseInt(_0x237712(0x1b1))/0x4)+-parseInt(_0x237712(0x1c2))/0x5*(-parseInt(_0x237712(0x15f))/0x6)+-parseInt(_0x237712(0x191))/0x7+parseInt(_0x237712(0x1cd))/0x8+parseInt(_0x237712(0x1ea))/0x9+parseInt(_0x237712(0x1cc))/0xa*(parseInt(_0x237712(0x181))/0xb);if(_0xe33cad===_0xfed819)break;else _0x5a2431['push'](_0x5a2431['shift']());}catch(_0x3debe0){_0x5a2431['push'](_0x5a2431['shift']());}}}(_0x224d,0x8d46c));Object['defineProperty'](exports,Symbol[_0x2511b9(0xc8)],{'value':_0x2511b9(0x12a)});const st=require('@univerjs-pro/collaboration-client'),A=require(_0x2511b9(0x167)),it=require('@univerjs/network'),V=require('rxjs'),nt=require('events'),vt=require('https'),ot=require(_0x2511b9(0x15b)),St=require(_0x2511b9(0x192)),Et=require(_0x2511b9(0x15c)),Le=require('crypto'),oe=require('stream'),xt=require('url'),bt=require(_0x2511b9(0x19f)),wt=require(_0x2511b9(0x142)),Ot=require(_0x2511b9(0x21a)),fe=_0x2511b9(0x164),Ct={'customHeaders':{}};function Tt(_0x361701){const _0x56dc33=_0x2511b9;return _0x361701&&_0x361701[_0x56dc33(0x16e)]&&Object['prototype'][_0x56dc33(0x20f)][_0x56dc33(0x188)](_0x361701,_0x56dc33(0xbc))?_0x361701[_0x56dc33(0xbc)]:_0x361701;}function _0x224d(){const _0x3cb218=['DisposableCollection','_closeFrameSent','warn','createError','setTimeout','replace','clientTracking','zlib','once','password','Invalid\x20Sec-WebSocket-Extensions\x20header','STATUS_CODES','_destroy','kMessage','_closeTimer','Sec-WebSocket-Protocol','_removeListeners','pending','Unknown\x20parameter\x20\x22','acceptAsServer','length','sec-websocket-protocol','invalid\x20UTF-8\x20sequence','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','_state','4esCTmQ','_configService','_injector','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','Origin','Z_SYNC_FLUSH','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','UniverCollaborationClientNodePlugin','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','href','Invalid\x20Sec-WebSocket-Protocol\x20header','kType','registerDependencies','abort','opcode','concurrency','UniverCollaborationClientPlugin','48065znMZxM','setConfig','ws+unix:','exports','addEventListener','endEmitted','servername','createInflateRaw','enqueue','serverMaxWindowBits','60vJEfAz','314736ORMiRo','_opcode','target','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','text/html','_bufferedBytes','_closeFrameReceived','delete','RSV1\x20must\x20be\x20clear','onopen','removeEventListener','mask','Parameter\x20\x22','_originalHostOrSocketPath','byteLength','handleEvent','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','alloc','invalid\x20opcode\x20','handleProtocols','then','WS_ERR_INVALID_UTF8','kWasClean','zlibDeflateOptions','Cookie','sec-websocket-accept','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','_maskBuffer','_receiver','1919169RNlUEL','wss:','status-code','readUInt32BE','timeout','jobs','dispatch','allocUnsafe','request','_readableState','perMessageDeflate','pow','createSocket','server','_maxPayload','_totalPayloadLength','number','socket','DependentOn','COLLABORATION_CLIENT_NODE_CONFIG_KEY','reason','CONNECTING','species','binary','hostname','createServer','response','MASK\x20must\x20be\x20set','WS_ERR_UNEXPECTED_RSV_1','Unexpected\x20character\x20at\x20index\x20','_closeCode','_socket','wsClientError','removeListener','Unexpected\x20server\x20response:\x20','cookie','objectMode','hasOwnProperty','authorization','_options','catch','text/plain','add','isPaused','_extensions','finishRequest','protocol','_protocol','@univerjs-pro/collaboration','listeners','The\x20URL\x20contains\x20a\x20fragment\x20identifier','nextTick','maskBuffer','unexpected-response','upgrade','The\x20\x22','dataMessage','reset','Unexpected\x20end\x20of\x20input','keys','onmessage','host','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','Basic\x20','client_max_window_bits','WS_ERR_EXPECTED_FIN','_compress','_httpService','WS_NO_UTF_8_VALIDATE','destroy','getPayloadLength16','open','next','uncork','toString','resume','Maximum\x20redirects\x20exceeded','frame','server_no_context_takeover','extensions','format','pathname','pause','handshakeTimeout','isServer','Upgrade:\x20websocket','listening','_max_window_bits','message','Sec-WebSocket-Extensions:\x20','code','\x20(supported\x20versions:\x20','server_max_window_bits','create','flush','WebSocket\x20is\x20not\x20open:\x20readyState\x20','method','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','byteOffset','isArray','_buffers','readyState','_paused','Blob','Invalid\x20Sec-WebSocket-Accept\x20header','maxRedirects','\x0d\x0a\x0d\x0a','WebSocket','_errored','options','listen','WS_ERR_EXPECTED_MASK','Server\x20sent\x20an\x20invalid\x20subprotocol','allowSynchronousEvents','Injector','Invalid\x20Upgrade\x20header','slice','Invalid\x20URL:\x20','push','_write','freeze','emit','sec-websocket-extensions','createConnection','concurrencyLimit','invalid\x20status\x20code\x20','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','_server','from','Z_DEFAULT_WINDOWBITS','\x22\x20subprotocol\x20is\x20duplicated','function','clientMaxWindowBits','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','_isServer','defaultPort','forEach','_deflate','isValidUTF8','Sec-WebSocket-Protocol:\x20','connection','completeUpgrade','defineProperty','maxPayload','setHeader','Sec-WebSocket-Extensions','total-length','finished','env','NodeCollaborationSocketService','arrayBuffer','autoPong','setNoDelay','base64','WS_ERR_INVALID_CLOSE_CODE','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','getPayloadLength64','OPEN','socketPath','haveLength','Observable','has','default','_autoPong','origin','_inflate','ISocketService','normalizeParams','username','shift','customHeaders','search','invalid\x20opcode\x200','writable','toStringTag','HTTP/1.1\x20101\x20Switching\x20Protocols','zlibInflateOptions','_shouldEmitClose','_compressed','encrypted','decompress','protocolVersion','port','controlMessage','indexOf','consume','client','_doCreateSocket','onerror','kDone','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','isView','unmask','params','Invalid\x20HTTP\x20method','https:','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','clients','CLOSED','cleanup','Max\x20payload\x20size\x20exceeded','kReason','sec-websocket-origin','rsv1','removeAllListeners','backlog','entries','WS_ERR_INVALID_OPCODE','Unsupported\x20protocol\x20version:\x20','followRedirects','blob','_mask','_originalSecure','ws:','Invalid\x20value\x20for\x20parameter\x20\x22','offer','close','parse','CLOSING','headers','readOnly','_writableState','dequeue','_originalIpc','_queue','_binaryType','split','buffers','charCodeAt','size','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','Opening\x20handshake\x20has\x20timed\x20out','Inject','_readyState','\x22:\x20','emitClose','_skipUTF8Validation','arraybuffer','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','noServer','send','toDisposable','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','value','_messageLength','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','connect','_read','finish','kData','accept','fragments','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','share','Plugin','_firstFragment','1109UseEer','conclude','error','WS_ERR_UNEXPECTED_RSV_2_3','\x22\x20must\x20have\x20only\x20a\x20single\x20value','test','getData','Sec-WebSocket-Accept:\x20','drain','url','generateMask','unshift','binaryType','_errorEmitted','serverNoContextTakeover','GET','Module','CollaborationSocketService','update','websocket','statusCode','map','onStarting','ILogService','shouldHandle','getBlobData','values','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','HTTPService','clientNoContextTakeover','captureStackTrace','errorEmitted','_registerDependencies','sec-websocket-version','path','getMask','acceptAsClient','permessage-deflate','concat','object','buffer','wasClean','type','_sender','ping','destroyed','kTarget','http:','_redirects','_bufferedAmount','write','compress','startLoop','kListener','join','client_no_context_takeover','includes','bind','_allowSynchronousEvents','handleUpgrade','getInfo','The\x20server\x20is\x20not\x20running','prototype','_fragments','_fin','http','tls','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','_fragmented','318lcZlNz','sendFrame','data','verifyClient','_payloadLength','collaboration-client-node.config','Invalid\x20WebSocket\x20frame:\x20','writeUInt16BE','@univerjs/core','pluginName','_masked','hash','writeUIntBE','registerHTTPInterceptor','extensionName','__esModule','toLowerCase','72xPoaNo','string','skipUTF8Validation','listenerCount','_threshold','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','File','threshold','redirect','isInteger','setSocket','getOwnPropertyDescriptor','230787bgYgkj','apply','pong','readUInt16BE','kByteLength','1733259WQExrv','auth','readable','getConfig','_final','IConfigService','get','call','terminate','kRun','end','pipe','_closeMessage','_req','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','kIsForOnEventAttribute','7083755jDoDjv','net','bufferedAmount','fin','_loop','_decompress','set'];_0x224d=function(){return _0x3cb218;};return _0x224d();}function at(_0x42a94c){const _0x2914b4=_0x2511b9;if(Object[_0x2914b4(0x158)]['hasOwnProperty'][_0x2914b4(0x188)](_0x42a94c,'__esModule'))return _0x42a94c;var _0x429a1c=_0x42a94c['default'];if(typeof _0x429a1c==_0x2914b4(0x9d)){var _0x244297=function _0x2b2cb6(){const _0x498f75=_0x2914b4;return this instanceof _0x2b2cb6?Reflect['construct'](_0x429a1c,arguments,this['constructor']):_0x429a1c[_0x498f75(0x17d)](this,arguments);};_0x244297[_0x2914b4(0x158)]=_0x429a1c['prototype'];}else _0x244297={};return Object[_0x2914b4(0xa8)](_0x244297,_0x2914b4(0x16e),{'value':!0x0}),Object[_0x2914b4(0x225)](_0x42a94c)['forEach'](function(_0x42e6c2){const _0x9bcc32=_0x2914b4;var _0x24cda7=Object['getOwnPropertyDescriptor'](_0x42a94c,_0x42e6c2);Object['defineProperty'](_0x244297,_0x42e6c2,_0x24cda7[_0x9bcc32(0x187)]?_0x24cda7:{'enumerable':!0x0,'get':function(){return _0x42a94c[_0x42e6c2];}});}),_0x244297;}var se={'exports':{}},ge,Ge;function H(){const _0x360574=_0x2511b9;if(Ge)return ge;Ge=0x1;const _0xffde43=['nodebuffer',_0x360574(0x107),_0x360574(0x115)],_0x149bf1=typeof Blob<'u';return _0x149bf1&&_0xffde43['push'](_0x360574(0xec)),ge={'BINARY_TYPES':_0xffde43,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':_0x360574(0x1af),'hasBlob':_0x149bf1,'kForOnEventAttribute':Symbol(_0x360574(0x190)),'kListener':Symbol(_0x360574(0x14f)),'kStatusCode':Symbol(_0x360574(0x1ec)),'kWebSocket':Symbol(_0x360574(0x12d)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x2511b9(0x262)](Object[_0x2511b9(0xa8)]({'__proto__':null,'default':Nt},Symbol[_0x2511b9(0xc8)],{'value':_0x2511b9(0x12a)})),Lt=at(kt);var Ve;function ce(){const _0x4e221e=_0x2511b9;if(Ve)return se[_0x4e221e(0x1c5)];Ve=0x1;const {EMPTY_BUFFER:_0x215529}=H(),_0x165216=Buffer[Symbol[_0x4e221e(0x200)]];function _0x56fd35(_0x181cc3,_0x40509e){const _0x54b082=_0x4e221e;if(_0x181cc3[_0x54b082(0x1ac)]===0x0)return _0x215529;if(_0x181cc3[_0x54b082(0x1ac)]===0x1)return _0x181cc3[0x0];const _0x16a39b=Buffer['allocUnsafe'](_0x40509e);let _0x304abb=0x0;for(let _0xc91e2=0x0;_0xc91e2<_0x181cc3[_0x54b082(0x1ac)];_0xc91e2++){const _0x3fffd2=_0x181cc3[_0xc91e2];_0x16a39b[_0x54b082(0x197)](_0x3fffd2,_0x304abb),_0x304abb+=_0x3fffd2[_0x54b082(0x1ac)];}return _0x304abb<_0x40509e?new _0x165216(_0x16a39b[_0x54b082(0x142)],_0x16a39b[_0x54b082(0x24c)],_0x304abb):_0x16a39b;}function _0x53d787(_0x438e12,_0x4ab404,_0x5ca614,_0x1afe43,_0x285944){for(let _0x5343d2=0x0;_0x5343d2<_0x285944;_0x5343d2++)_0x5ca614[_0x1afe43+_0x5343d2]=_0x438e12[_0x5343d2]^_0x4ab404[_0x5343d2&0x3];}function _0x36b373(_0x7ceb6c,_0x592509){const _0xa14fe1=_0x4e221e;for(let _0x4416ec=0x0;_0x4416ec<_0x7ceb6c[_0xa14fe1(0x1ac)];_0x4416ec++)_0x7ceb6c[_0x4416ec]^=_0x592509[_0x4416ec&0x3];}function _0x53fbd0(_0x4d1be5){const _0x491481=_0x4e221e;return _0x4d1be5['length']===_0x4d1be5[_0x491481(0x142)][_0x491481(0x1db)]?_0x4d1be5[_0x491481(0x142)]:_0x4d1be5[_0x491481(0x142)][_0x491481(0x25e)](_0x4d1be5[_0x491481(0x24c)],_0x4d1be5[_0x491481(0x24c)]+_0x4d1be5[_0x491481(0x1ac)]);}function _0x4c9097(_0x52254b){const _0x35a450=_0x4e221e;if(_0x4c9097[_0x35a450(0xf6)]=!0x0,Buffer['isBuffer'](_0x52254b))return _0x52254b;let _0x3fd5c7;return _0x52254b instanceof ArrayBuffer?_0x3fd5c7=new _0x165216(_0x52254b):ArrayBuffer[_0x35a450(0xd9)](_0x52254b)?_0x3fd5c7=new _0x165216(_0x52254b[_0x35a450(0x142)],_0x52254b[_0x35a450(0x24c)],_0x52254b[_0x35a450(0x1db)]):(_0x3fd5c7=Buffer[_0x35a450(0x26a)](_0x52254b),_0x4c9097[_0x35a450(0xf6)]=!0x1),_0x3fd5c7;}if(se['exports']={'concat':_0x56fd35,'mask':_0x53d787,'toArrayBuffer':_0x53fbd0,'toBuffer':_0x4c9097,'unmask':_0x36b373},!process[_0x4e221e(0xae)]['WS_NO_BUFFER_UTIL'])try{const _0x245ba8=Lt;se['exports']['mask']=function(_0x1d3c2c,_0x385dc2,_0x3848aa,_0x18e453,_0x69c4f1){const _0x46d5b6=_0x4e221e;_0x69c4f1<0x30?_0x53d787(_0x1d3c2c,_0x385dc2,_0x3848aa,_0x18e453,_0x69c4f1):_0x245ba8[_0x46d5b6(0x1d8)](_0x1d3c2c,_0x385dc2,_0x3848aa,_0x18e453,_0x69c4f1);},se['exports'][_0x4e221e(0xda)]=function(_0x3b619b,_0x1d63aa){const _0x42990d=_0x4e221e;_0x3b619b[_0x42990d(0x1ac)]<0x20?_0x36b373(_0x3b619b,_0x1d63aa):_0x245ba8[_0x42990d(0xda)](_0x3b619b,_0x1d63aa);};}catch{}return se[_0x4e221e(0x1c5)];}var ye,He;function Pt(){const _0x1f7410=_0x2511b9;if(He)return ye;He=0x1;const _0x242f53=Symbol(_0x1f7410(0xd7)),_0x11959f=Symbol(_0x1f7410(0x18a));class _0x539635{constructor(_0x20367b){const _0x75e86a=_0x1f7410;this[_0x242f53]=()=>{this['pending']--,this[_0x11959f]();},this['concurrency']=_0x20367b||0x1/0x0,this[_0x75e86a(0x1ef)]=[],this['pending']=0x0;}[_0x1f7410(0x214)](_0x3b221a){this['jobs']['push'](_0x3b221a),this[_0x11959f]();}[_0x11959f](){const _0x1de4e0=_0x1f7410;if(this[_0x1de4e0(0x1a9)]!==this[_0x1de4e0(0x1c0)]&&this['jobs'][_0x1de4e0(0x1ac)]){const _0x4fd610=this[_0x1de4e0(0x1ef)]['shift']();this[_0x1de4e0(0x1a9)]++,_0x4fd610(this[_0x242f53]);}}}return ye=_0x539635,ye;}var ve,ze;function he(){const _0x3f6163=_0x2511b9;if(ze)return ve;ze=0x1;const _0x3fe448=bt,_0x2e8363=ce(),_0x2f5774=Pt(),{kStatusCode:_0x5d56a2}=H(),_0x1ed014=Buffer[Symbol[_0x3f6163(0x200)]],_0x5d8bbb=Buffer[_0x3f6163(0x26a)]([0x0,0x0,0xff,0xff]),_0x470a7d=Symbol(_0x3f6163(0x13f)),_0x232e8b=Symbol(_0x3f6163(0xac)),_0x3b6e59=Symbol('callback'),_0x50a1d6=Symbol(_0x3f6163(0xfd)),_0x37f307=Symbol(_0x3f6163(0x11c));let _0xcbd96d;class _0x43b3e8{constructor(_0x3b7e5b,_0x1dfaac,_0x4bc911){const _0x3e060a=_0x3f6163;if(this['_maxPayload']=_0x4bc911|0x0,this[_0x3e060a(0x211)]=_0x3b7e5b||{},this[_0x3e060a(0x174)]=this['_options'][_0x3e060a(0x177)]!==void 0x0?this[_0x3e060a(0x211)]['threshold']:0x400,this['_isServer']=!!_0x1dfaac,this[_0x3e060a(0xa3)]=null,this[_0x3e060a(0xbf)]=null,this['params']=null,!_0xcbd96d){const _0x356ff5=this['_options'][_0x3e060a(0x266)]!==void 0x0?this[_0x3e060a(0x211)]['concurrencyLimit']:0xa;_0xcbd96d=new _0x2f5774(_0x356ff5);}}static get[_0x3f6163(0x16d)](){const _0x294a10=_0x3f6163;return _0x294a10(0x13f);}[_0x3f6163(0xf1)](){const _0x2abdef=_0x3f6163,_0x1696e5={};return this[_0x2abdef(0x211)][_0x2abdef(0x128)]&&(_0x1696e5[_0x2abdef(0x238)]=!0x0),this[_0x2abdef(0x211)][_0x2abdef(0x137)]&&(_0x1696e5[_0x2abdef(0x151)]=!0x0),this[_0x2abdef(0x211)]['serverMaxWindowBits']&&(_0x1696e5['server_max_window_bits']=this[_0x2abdef(0x211)][_0x2abdef(0x1cb)]),this[_0x2abdef(0x211)][_0x2abdef(0x9e)]?_0x1696e5[_0x2abdef(0x22a)]=this['_options'][_0x2abdef(0x9e)]:this[_0x2abdef(0x211)][_0x2abdef(0x9e)]==null&&(_0x1696e5[_0x2abdef(0x22a)]=!0x0),_0x1696e5;}[_0x3f6163(0x114)](_0x3bf620){const _0x292bfb=_0x3f6163;return _0x3bf620=this[_0x292bfb(0xc1)](_0x3bf620),this[_0x292bfb(0xdb)]=this[_0x292bfb(0xa0)]?this[_0x292bfb(0x1ab)](_0x3bf620):this[_0x292bfb(0x13e)](_0x3bf620),this[_0x292bfb(0xdb)];}[_0x3f6163(0xe1)](){const _0x3da029=_0x3f6163;if(this[_0x3da029(0xbf)]&&(this[_0x3da029(0xbf)]['close'](),this[_0x3da029(0xbf)]=null),this[_0x3da029(0xa3)]){const _0x9e86b3=this[_0x3da029(0xa3)][_0x3b6e59];this['_deflate'][_0x3da029(0xf2)](),this['_deflate']=null,_0x9e86b3&&_0x9e86b3(new Error(_0x3da029(0xde)));}}['acceptAsServer'](_0x1c53ee){const _0xf44b3e=_0x3f6163,_0x237b3d=this[_0xf44b3e(0x211)],_0x5b6e96=_0x1c53ee['find'](_0x3b0184=>!(_0x237b3d['serverNoContextTakeover']===!0x1&&_0x3b0184[_0xf44b3e(0x238)]||_0x3b0184[_0xf44b3e(0x246)]&&(_0x237b3d[_0xf44b3e(0x1cb)]===!0x1||typeof _0x237b3d[_0xf44b3e(0x1cb)]==_0xf44b3e(0x1fa)&&_0x237b3d['serverMaxWindowBits']>_0x3b0184[_0xf44b3e(0x246)])||typeof _0x237b3d[_0xf44b3e(0x9e)]==_0xf44b3e(0x1fa)&&!_0x3b0184['client_max_window_bits']));if(!_0x5b6e96)throw new Error(_0xf44b3e(0x1b9));return _0x237b3d['serverNoContextTakeover']&&(_0x5b6e96[_0xf44b3e(0x238)]=!0x0),_0x237b3d[_0xf44b3e(0x137)]&&(_0x5b6e96['client_no_context_takeover']=!0x0),typeof _0x237b3d['serverMaxWindowBits']==_0xf44b3e(0x1fa)&&(_0x5b6e96[_0xf44b3e(0x246)]=_0x237b3d['serverMaxWindowBits']),typeof _0x237b3d[_0xf44b3e(0x9e)]==_0xf44b3e(0x1fa)?_0x5b6e96['client_max_window_bits']=_0x237b3d[_0xf44b3e(0x9e)]:(_0x5b6e96[_0xf44b3e(0x22a)]===!0x0||_0x237b3d['clientMaxWindowBits']===!0x1)&&delete _0x5b6e96[_0xf44b3e(0x22a)],_0x5b6e96;}[_0x3f6163(0x13e)](_0x276aca){const _0x10bee9=_0x3f6163,_0x2ebfb8=_0x276aca[0x0];if(this[_0x10bee9(0x211)]['clientNoContextTakeover']===!0x1&&_0x2ebfb8[_0x10bee9(0x151)])throw new Error(_0x10bee9(0x1d0));if(!_0x2ebfb8[_0x10bee9(0x22a)])typeof this[_0x10bee9(0x211)][_0x10bee9(0x9e)]=='number'&&(_0x2ebfb8[_0x10bee9(0x22a)]=this[_0x10bee9(0x211)][_0x10bee9(0x9e)]);else{if(this[_0x10bee9(0x211)][_0x10bee9(0x9e)]===!0x1||typeof this[_0x10bee9(0x211)][_0x10bee9(0x9e)]==_0x10bee9(0x1fa)&&_0x2ebfb8[_0x10bee9(0x22a)]>this[_0x10bee9(0x211)][_0x10bee9(0x9e)])throw new Error('Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22');}return _0x2ebfb8;}[_0x3f6163(0xc1)](_0x556bcc){return _0x556bcc['forEach'](_0x29a22d=>{const _0x53d1ee=_0xfddf;Object[_0x53d1ee(0x225)](_0x29a22d)[_0x53d1ee(0xa2)](_0x57ee3b=>{const _0x5a1d9b=_0x53d1ee;let _0x3beb55=_0x29a22d[_0x57ee3b];if(_0x3beb55[_0x5a1d9b(0x1ac)]>0x1)throw new Error(_0x5a1d9b(0x1d9)+_0x57ee3b+_0x5a1d9b(0x11e));if(_0x3beb55=_0x3beb55[0x0],_0x57ee3b===_0x5a1d9b(0x22a)){if(_0x3beb55!==!0x0){const _0x2fbbf=+_0x3beb55;if(!Number[_0x5a1d9b(0x179)](_0x2fbbf)||_0x2fbbf<0x8||_0x2fbbf>0xf)throw new TypeError(_0x5a1d9b(0xf0)+_0x57ee3b+_0x5a1d9b(0x104)+_0x3beb55);_0x3beb55=_0x2fbbf;}else{if(!this[_0x5a1d9b(0xa0)])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x57ee3b+'\x22:\x20'+_0x3beb55);}}else{if(_0x57ee3b===_0x5a1d9b(0x246)){const _0x1d070a=+_0x3beb55;if(!Number['isInteger'](_0x1d070a)||_0x1d070a<0x8||_0x1d070a>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x57ee3b+_0x5a1d9b(0x104)+_0x3beb55);_0x3beb55=_0x1d070a;}else{if(_0x57ee3b===_0x5a1d9b(0x151)||_0x57ee3b==='server_no_context_takeover'){if(_0x3beb55!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x57ee3b+_0x5a1d9b(0x104)+_0x3beb55);}else throw new Error(_0x5a1d9b(0x1aa)+_0x57ee3b+'\x22');}}_0x29a22d[_0x57ee3b]=_0x3beb55;});}),_0x556bcc;}[_0x3f6163(0xce)](_0xb189df,_0x4f4727,_0x2b7d6f){const _0x1eb1f2=_0x3f6163;_0xcbd96d[_0x1eb1f2(0x214)](_0x1b053c=>{const _0x355ddb=_0x1eb1f2;this[_0x355ddb(0x196)](_0xb189df,_0x4f4727,(_0x325e19,_0x22581e)=>{_0x1b053c(),_0x2b7d6f(_0x325e19,_0x22581e);});});}[_0x3f6163(0x14d)](_0x2dbe0c,_0x1d91c2,_0x213fee){const _0x56998a=_0x3f6163;_0xcbd96d[_0x56998a(0x214)](_0x57a1a2=>{const _0x44884a=_0x56998a;this[_0x44884a(0x22c)](_0x2dbe0c,_0x1d91c2,(_0x56c967,_0x33d85d)=>{_0x57a1a2(),_0x213fee(_0x56c967,_0x33d85d);});});}[_0x3f6163(0x196)](_0x3d8c08,_0x35b4b2,_0x317257){const _0x1c1361=_0x3f6163,_0x304727=this[_0x1c1361(0xa0)]?_0x1c1361(0xd4):_0x1c1361(0x1f7);if(!this[_0x1c1361(0xbf)]){const _0xd51f0b=_0x304727+_0x1c1361(0x241),_0x3050a5=typeof this[_0x1c1361(0xdb)][_0xd51f0b]!=_0x1c1361(0x1fa)?_0x3fe448[_0x1c1361(0x26b)]:this[_0x1c1361(0xdb)][_0xd51f0b];this[_0x1c1361(0xbf)]=_0x3fe448[_0x1c1361(0x1c9)]({...this[_0x1c1361(0x211)][_0x1c1361(0xca)],'windowBits':_0x3050a5}),this['_inflate'][_0x470a7d]=this,this['_inflate'][_0x232e8b]=0x0,this[_0x1c1361(0xbf)][_0x50a1d6]=[],this[_0x1c1361(0xbf)]['on'](_0x1c1361(0x11c),_0x542192),this[_0x1c1361(0xbf)]['on'](_0x1c1361(0x161),_0x3039fc);}this[_0x1c1361(0xbf)][_0x3b6e59]=_0x317257,this[_0x1c1361(0xbf)]['write'](_0x3d8c08),_0x35b4b2&&this[_0x1c1361(0xbf)][_0x1c1361(0x14c)](_0x5d8bbb),this[_0x1c1361(0xbf)][_0x1c1361(0x248)](()=>{const _0x536b6a=_0x1c1361,_0x73c127=this[_0x536b6a(0xbf)][_0x37f307];if(_0x73c127){this[_0x536b6a(0xbf)]['close'](),this[_0x536b6a(0xbf)]=null,_0x317257(_0x73c127);return;}const _0xb23eb0=_0x2e8363[_0x536b6a(0x140)](this[_0x536b6a(0xbf)][_0x50a1d6],this[_0x536b6a(0xbf)][_0x232e8b]);this[_0x536b6a(0xbf)]['_readableState'][_0x536b6a(0x1c7)]?(this[_0x536b6a(0xbf)][_0x536b6a(0xf2)](),this['_inflate']=null):(this['_inflate'][_0x232e8b]=0x0,this[_0x536b6a(0xbf)][_0x50a1d6]=[],_0x35b4b2&&this[_0x536b6a(0xdb)][_0x304727+'_no_context_takeover']&&this[_0x536b6a(0xbf)][_0x536b6a(0x223)]()),_0x317257(null,_0xb23eb0);});}[_0x3f6163(0x22c)](_0x5c68fd,_0x32c0f1,_0x46f2b8){const _0x193031=_0x3f6163,_0xd9133a=this[_0x193031(0xa0)]?_0x193031(0x1f7):_0x193031(0xd4);if(!this[_0x193031(0xa3)]){const _0xc463bb=_0xd9133a+_0x193031(0x241),_0x2bf1c8=typeof this[_0x193031(0xdb)][_0xc463bb]!=_0x193031(0x1fa)?_0x3fe448[_0x193031(0x26b)]:this['params'][_0xc463bb];this['_deflate']=_0x3fe448['createDeflateRaw']({...this[_0x193031(0x211)][_0x193031(0x1e4)],'windowBits':_0x2bf1c8}),this['_deflate'][_0x232e8b]=0x0,this[_0x193031(0xa3)][_0x50a1d6]=[],this[_0x193031(0xa3)]['on'](_0x193031(0x161),_0xb0eb0e);}this[_0x193031(0xa3)][_0x3b6e59]=_0x46f2b8,this[_0x193031(0xa3)][_0x193031(0x14c)](_0x5c68fd),this[_0x193031(0xa3)]['flush'](_0x3fe448[_0x193031(0x1b6)],()=>{const _0x25a1a8=_0x193031;if(!this[_0x25a1a8(0xa3)])return;let _0x54686f=_0x2e8363[_0x25a1a8(0x140)](this[_0x25a1a8(0xa3)][_0x50a1d6],this['_deflate'][_0x232e8b]);_0x32c0f1&&(_0x54686f=new _0x1ed014(_0x54686f[_0x25a1a8(0x142)],_0x54686f[_0x25a1a8(0x24c)],_0x54686f[_0x25a1a8(0x1ac)]-0x4)),this[_0x25a1a8(0xa3)][_0x3b6e59]=null,this[_0x25a1a8(0xa3)][_0x232e8b]=0x0,this['_deflate'][_0x50a1d6]=[],_0x32c0f1&&this[_0x25a1a8(0xdb)][_0xd9133a+'_no_context_takeover']&&this[_0x25a1a8(0xa3)][_0x25a1a8(0x223)](),_0x46f2b8(null,_0x54686f);});}}ve=_0x43b3e8;function _0xb0eb0e(_0x346f27){const _0x4387c5=_0x3f6163;this[_0x50a1d6][_0x4387c5(0x260)](_0x346f27),this[_0x232e8b]+=_0x346f27[_0x4387c5(0x1ac)];}function _0x3039fc(_0x1d6d3f){const _0x1e82b9=_0x3f6163;if(this[_0x232e8b]+=_0x1d6d3f['length'],this[_0x470a7d][_0x1e82b9(0x1f8)]<0x1||this[_0x232e8b]<=this[_0x470a7d][_0x1e82b9(0x1f8)]){this[_0x50a1d6]['push'](_0x1d6d3f);return;}this[_0x37f307]=new RangeError(_0x1e82b9(0xe2)),this[_0x37f307][_0x1e82b9(0x244)]='WS_ERR_UNSUPPORTED_MESSAGE_LENGTH',this[_0x37f307][_0x5d56a2]=0x3f1,this[_0x1e82b9(0x20b)](_0x1e82b9(0x161),_0x3039fc),this[_0x1e82b9(0x223)]();}function _0x542192(_0x4ad33b){const _0x1e1eca=_0x3f6163;this[_0x470a7d][_0x1e1eca(0xbf)]=null,_0x4ad33b[_0x5d56a2]=0x3ef,this[_0x3b6e59](_0x4ad33b);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x2511b9(0x262)](Object['defineProperty']({'__proto__':null,'default':Dt},Symbol[_0x2511b9(0xc8)],{'value':_0x2511b9(0x12a)})),Bt=at(Rt);var Ye;function ae(){const _0x4766a3=_0x2511b9;if(Ye)return ie[_0x4766a3(0x1c5)];Ye=0x1;const {isUtf8:_0x5a7dd0}=wt,{hasBlob:_0x54276c}=H(),_0x489e2d=[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 _0x9fa159(_0x5dc010){return _0x5dc010>=0x3e8&&_0x5dc010<=0x3f6&&_0x5dc010!==0x3ec&&_0x5dc010!==0x3ed&&_0x5dc010!==0x3ee||_0x5dc010>=0xbb8&&_0x5dc010<=0x1387;}function _0x3d91b9(_0x19e205){const _0x33a17a=_0x4766a3,_0x1c0fc8=_0x19e205[_0x33a17a(0x1ac)];let _0x142ba5=0x0;for(;_0x142ba5<_0x1c0fc8;)if((_0x19e205[_0x142ba5]&0x80)===0x0)_0x142ba5++;else{if((_0x19e205[_0x142ba5]&0xe0)===0xc0){if(_0x142ba5+0x1===_0x1c0fc8||(_0x19e205[_0x142ba5+0x1]&0xc0)!==0x80||(_0x19e205[_0x142ba5]&0xfe)===0xc0)return!0x1;_0x142ba5+=0x2;}else{if((_0x19e205[_0x142ba5]&0xf0)===0xe0){if(_0x142ba5+0x2>=_0x1c0fc8||(_0x19e205[_0x142ba5+0x1]&0xc0)!==0x80||(_0x19e205[_0x142ba5+0x2]&0xc0)!==0x80||_0x19e205[_0x142ba5]===0xe0&&(_0x19e205[_0x142ba5+0x1]&0xe0)===0x80||_0x19e205[_0x142ba5]===0xed&&(_0x19e205[_0x142ba5+0x1]&0xe0)===0xa0)return!0x1;_0x142ba5+=0x3;}else{if((_0x19e205[_0x142ba5]&0xf8)===0xf0){if(_0x142ba5+0x3>=_0x1c0fc8||(_0x19e205[_0x142ba5+0x1]&0xc0)!==0x80||(_0x19e205[_0x142ba5+0x2]&0xc0)!==0x80||(_0x19e205[_0x142ba5+0x3]&0xc0)!==0x80||_0x19e205[_0x142ba5]===0xf0&&(_0x19e205[_0x142ba5+0x1]&0xf0)===0x80||_0x19e205[_0x142ba5]===0xf4&&_0x19e205[_0x142ba5+0x1]>0x8f||_0x19e205[_0x142ba5]>0xf4)return!0x1;_0x142ba5+=0x4;}else return!0x1;}}}return!0x0;}function _0x5ec882(_0x146366){const _0x3f1ec3=_0x4766a3;return _0x54276c&&typeof _0x146366==_0x3f1ec3(0x141)&&typeof _0x146366[_0x3f1ec3(0xb0)]=='function'&&typeof _0x146366[_0x3f1ec3(0x144)]==_0x3f1ec3(0x171)&&typeof _0x146366['stream']==_0x3f1ec3(0x9d)&&(_0x146366[Symbol['toStringTag']]===_0x3f1ec3(0x251)||_0x146366[Symbol[_0x3f1ec3(0xc8)]]===_0x3f1ec3(0x176));}if(ie['exports']={'isBlob':_0x5ec882,'isValidStatusCode':_0x9fa159,'isValidUTF8':_0x3d91b9,'tokenChars':_0x489e2d},_0x5a7dd0)ie['exports'][_0x4766a3(0xa4)]=function(_0x23a422){return _0x23a422['length']<0x18?_0x3d91b9(_0x23a422):_0x5a7dd0(_0x23a422);};else{if(!process[_0x4766a3(0xae)][_0x4766a3(0x22e)])try{const _0x12be57=Bt;ie[_0x4766a3(0x1c5)][_0x4766a3(0xa4)]=function(_0x1b08b0){const _0x177d22=_0x4766a3;return _0x1b08b0[_0x177d22(0x1ac)]<0x20?_0x3d91b9(_0x1b08b0):_0x12be57(_0x1b08b0);};}catch{}}return ie[_0x4766a3(0x1c5)];}var Se,Ke;function lt(){const _0x988ddc=_0x2511b9;if(Ke)return Se;Ke=0x1;const {Writable:_0x3d1891}=oe,_0xb291eb=he(),{BINARY_TYPES:_0x10236a,EMPTY_BUFFER:_0x555bf6,kStatusCode:_0x5ef3e6,kWebSocket:_0x1e0a76}=H(),{concat:_0x450096,toArrayBuffer:_0x8fae0c,unmask:_0x58e55f}=ce(),{isValidStatusCode:_0x43e65b,isValidUTF8:_0x3f9f53}=ae(),_0x49fad4=Buffer[Symbol[_0x988ddc(0x200)]],_0x58f67a=0x0,_0x3b1623=0x1,_0x223583=0x2,_0x19ab4d=0x3,_0x5b6bf4=0x4,_0xf3651d=0x5,_0x3945a5=0x6;class _0x2433f3 extends _0x3d1891{constructor(_0x13e6c0={}){const _0x44386e=_0x988ddc;super(),this[_0x44386e(0x154)]=_0x13e6c0[_0x44386e(0x25b)]!==void 0x0?_0x13e6c0[_0x44386e(0x25b)]:!0x0,this['_binaryType']=_0x13e6c0['binaryType']||_0x10236a[0x0],this[_0x44386e(0x216)]=_0x13e6c0[_0x44386e(0x239)]||{},this['_isServer']=!!_0x13e6c0[_0x44386e(0x23e)],this[_0x44386e(0x1f8)]=_0x13e6c0['maxPayload']|0x0,this[_0x44386e(0x106)]=!!_0x13e6c0[_0x44386e(0x172)],this[_0x1e0a76]=void 0x0,this['_bufferedBytes']=0x0,this['_buffers']=[],this['_compressed']=!0x1,this[_0x44386e(0x163)]=0x0,this[_0x44386e(0xed)]=void 0x0,this['_fragmented']=0x0,this[_0x44386e(0x169)]=!0x1,this[_0x44386e(0x15a)]=!0x1,this[_0x44386e(0x1ce)]=0x0,this[_0x44386e(0x1f9)]=0x0,this[_0x44386e(0x10e)]=0x0,this[_0x44386e(0x159)]=[],this[_0x44386e(0x256)]=!0x1,this[_0x44386e(0x195)]=!0x1,this[_0x44386e(0x1b0)]=_0x58f67a;}[_0x988ddc(0x261)](_0x4d6dd2,_0x533f01,_0x53888f){const _0x1b93cd=_0x988ddc;if(this[_0x1b93cd(0x1ce)]===0x8&&this[_0x1b93cd(0x1b0)]==_0x58f67a)return _0x53888f();this[_0x1b93cd(0x1d2)]+=_0x4d6dd2[_0x1b93cd(0x1ac)],this[_0x1b93cd(0x24e)][_0x1b93cd(0x260)](_0x4d6dd2),this[_0x1b93cd(0x14e)](_0x53888f);}['consume'](_0x18b43b){const _0x138658=_0x988ddc;if(this[_0x138658(0x1d2)]-=_0x18b43b,_0x18b43b===this[_0x138658(0x24e)][0x0][_0x138658(0x1ac)])return this[_0x138658(0x24e)][_0x138658(0xc3)]();if(_0x18b43b<this[_0x138658(0x24e)][0x0][_0x138658(0x1ac)]){const _0x31b3c8=this[_0x138658(0x24e)][0x0];return this[_0x138658(0x24e)][0x0]=new _0x49fad4(_0x31b3c8[_0x138658(0x142)],_0x31b3c8[_0x138658(0x24c)]+_0x18b43b,_0x31b3c8['length']-_0x18b43b),new _0x49fad4(_0x31b3c8[_0x138658(0x142)],_0x31b3c8[_0x138658(0x24c)],_0x18b43b);}const _0x58b59a=Buffer[_0x138658(0x1f1)](_0x18b43b);do{const _0x507395=this[_0x138658(0x24e)][0x0],_0x350769=_0x58b59a[_0x138658(0x1ac)]-_0x18b43b;_0x18b43b>=_0x507395['length']?_0x58b59a['set'](this[_0x138658(0x24e)][_0x138658(0xc3)](),_0x350769):(_0x58b59a[_0x138658(0x197)](new Uint8Array(_0x507395['buffer'],_0x507395['byteOffset'],_0x18b43b),_0x350769),this[_0x138658(0x24e)][0x0]=new _0x49fad4(_0x507395[_0x138658(0x142)],_0x507395[_0x138658(0x24c)]+_0x18b43b,_0x507395[_0x138658(0x1ac)]-_0x18b43b)),_0x18b43b-=_0x507395[_0x138658(0x1ac)];}while(_0x18b43b>0x0);return _0x58b59a;}[_0x988ddc(0x14e)](_0x15515f){const _0x4541b8=_0x988ddc;this[_0x4541b8(0x195)]=!0x0;do switch(this[_0x4541b8(0x1b0)]){case _0x58f67a:this[_0x4541b8(0x156)](_0x15515f);break;case _0x3b1623:this['getPayloadLength16'](_0x15515f);break;case _0x223583:this[_0x4541b8(0xb6)](_0x15515f);break;case _0x19ab4d:this[_0x4541b8(0x13d)]();break;case _0x5b6bf4:this[_0x4541b8(0x120)](_0x15515f);break;case _0xf3651d:case _0x3945a5:this[_0x4541b8(0x195)]=!0x1;return;}while(this[_0x4541b8(0x195)]);this['_errored']||_0x15515f();}[_0x988ddc(0x156)](_0x285b7d){const _0x33116f=_0x988ddc;if(this[_0x33116f(0x1d2)]<0x2){this[_0x33116f(0x195)]=!0x1;return;}const _0x1e18e7=this[_0x33116f(0xd3)](0x2);if((_0x1e18e7[0x0]&0x30)!==0x0){const _0x43b27a=this['createError'](RangeError,_0x33116f(0x1b4),!0x0,0x3ea,_0x33116f(0x11d));_0x285b7d(_0x43b27a);return;}const _0x1d5729=(_0x1e18e7[0x0]&0x40)===0x40;if(_0x1d5729&&!this['_extensions'][_0xb291eb['extensionName']]){const _0x20fc2b=this[_0x33116f(0x19b)](RangeError,_0x33116f(0x1d5),!0x0,0x3ea,_0x33116f(0x206));_0x285b7d(_0x20fc2b);return;}if(this[_0x33116f(0x15a)]=(_0x1e18e7[0x0]&0x80)===0x80,this['_opcode']=_0x1e18e7[0x0]&0xf,this[_0x33116f(0x163)]=_0x1e18e7[0x1]&0x7f,this[_0x33116f(0x1ce)]===0x0){if(_0x1d5729){const _0x467089=this['createError'](RangeError,_0x33116f(0x1d5),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x285b7d(_0x467089);return;}if(!this[_0x33116f(0x15e)]){const _0x2e8979=this[_0x33116f(0x19b)](RangeError,_0x33116f(0xc6),!0x0,0x3ea,_0x33116f(0xe9));_0x285b7d(_0x2e8979);return;}this['_opcode']=this[_0x33116f(0x15e)];}else{if(this['_opcode']===0x1||this[_0x33116f(0x1ce)]===0x2){if(this[_0x33116f(0x15e)]){const _0x44d38e=this[_0x33116f(0x19b)](RangeError,_0x33116f(0x1df)+this[_0x33116f(0x1ce)],!0x0,0x3ea,_0x33116f(0xe9));_0x285b7d(_0x44d38e);return;}this[_0x33116f(0xcc)]=_0x1d5729;}else{if(this['_opcode']>0x7&&this['_opcode']<0xb){if(!this['_fin']){const _0x17a065=this[_0x33116f(0x19b)](RangeError,'FIN\x20must\x20be\x20set',!0x0,0x3ea,_0x33116f(0x22b));_0x285b7d(_0x17a065);return;}if(_0x1d5729){const _0x18d4fd=this[_0x33116f(0x19b)](RangeError,_0x33116f(0x1d5),!0x0,0x3ea,_0x33116f(0x206));_0x285b7d(_0x18d4fd);return;}if(this['_payloadLength']>0x7d||this[_0x33116f(0x1ce)]===0x8&&this[_0x33116f(0x163)]===0x1){const _0xfddece=this[_0x33116f(0x19b)](RangeError,'invalid\x20payload\x20length\x20'+this[_0x33116f(0x163)],!0x0,0x3ea,_0x33116f(0xb5));_0x285b7d(_0xfddece);return;}}else{const _0x3cd40b=this[_0x33116f(0x19b)](RangeError,_0x33116f(0x1df)+this[_0x33116f(0x1ce)],!0x0,0x3ea,_0x33116f(0xe9));_0x285b7d(_0x3cd40b);return;}}}if(!this[_0x33116f(0x15a)]&&!this[_0x33116f(0x15e)]&&(this[_0x33116f(0x15e)]=this[_0x33116f(0x1ce)]),this[_0x33116f(0x169)]=(_0x1e18e7[0x1]&0x80)===0x80,this[_0x33116f(0xa0)]){if(!this[_0x33116f(0x169)]){const _0x1812d3=this[_0x33116f(0x19b)](RangeError,_0x33116f(0x205),!0x0,0x3ea,_0x33116f(0x259));_0x285b7d(_0x1812d3);return;}}else{if(this[_0x33116f(0x169)]){const _0x4cb973=this['createError'](RangeError,'MASK\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0x285b7d(_0x4cb973);return;}}this[_0x33116f(0x163)]===0x7e?this['_state']=_0x3b1623:this[_0x33116f(0x163)]===0x7f?this[_0x33116f(0x1b0)]=_0x223583:this[_0x33116f(0xb9)](_0x285b7d);}[_0x988ddc(0x230)](_0x2bcb2d){const _0x379c2f=_0x988ddc;if(this[_0x379c2f(0x1d2)]<0x2){this[_0x379c2f(0x195)]=!0x1;return;}this['_payloadLength']=this[_0x379c2f(0xd3)](0x2)[_0x379c2f(0x17f)](0x0),this[_0x379c2f(0xb9)](_0x2bcb2d);}[_0x988ddc(0xb6)](_0xb87f1e){const _0x54344b=_0x988ddc;if(this[_0x54344b(0x1d2)]<0x8){this['_loop']=!0x1;return;}const _0x4ff1d5=this[_0x54344b(0xd3)](0x8),_0x356bf9=_0x4ff1d5[_0x54344b(0x1ed)](0x0);if(_0x356bf9>Math[_0x54344b(0x1f5)](0x2,0x15)-0x1){const _0x31b4ae=this[_0x54344b(0x19b)](RangeError,_0x54344b(0x15d),!0x1,0x3f1,_0x54344b(0x135));_0xb87f1e(_0x31b4ae);return;}this[_0x54344b(0x163)]=_0x356bf9*Math[_0x54344b(0x1f5)](0x2,0x20)+_0x4ff1d5[_0x54344b(0x1ed)](0x4),this[_0x54344b(0xb9)](_0xb87f1e);}[_0x988ddc(0xb9)](_0x3bbee3){const _0x39e306=_0x988ddc;if(this[_0x39e306(0x163)]&&this[_0x39e306(0x1ce)]<0x8&&(this[_0x39e306(0x1f9)]+=this[_0x39e306(0x163)],this[_0x39e306(0x1f9)]>this['_maxPayload']&&this[_0x39e306(0x1f8)]>0x0)){const _0x52a1c1=this[_0x39e306(0x19b)](RangeError,_0x39e306(0xe2),!0x1,0x3f1,_0x39e306(0x228));_0x3bbee3(_0x52a1c1);return;}this[_0x39e306(0x169)]?this[_0x39e306(0x1b0)]=_0x19ab4d:this[_0x39e306(0x1b0)]=_0x5b6bf4;}[_0x988ddc(0x13d)](){const _0x331cfe=_0x988ddc;if(this['_bufferedBytes']<0x4){this[_0x331cfe(0x195)]=!0x1;return;}this['_mask']=this[_0x331cfe(0xd3)](0x4),this['_state']=_0x5b6bf4;}[_0x988ddc(0x120)](_0x3215fc){const _0xbb50bb=_0x988ddc;let _0x353ea3=_0x555bf6;if(this[_0xbb50bb(0x163)]){if(this['_bufferedBytes']<this['_payloadLength']){this['_loop']=!0x1;return;}_0x353ea3=this[_0xbb50bb(0xd3)](this[_0xbb50bb(0x163)]),this[_0xbb50bb(0x169)]&&(this['_mask'][0x0]|this[_0xbb50bb(0xed)][0x1]|this[_0xbb50bb(0xed)][0x2]|this[_0xbb50bb(0xed)][0x3])!==0x0&&_0x58e55f(_0x353ea3,this[_0xbb50bb(0xed)]);}if(this[_0xbb50bb(0x1ce)]>0x7){this[_0xbb50bb(0xd1)](_0x353ea3,_0x3215fc);return;}if(this[_0xbb50bb(0xcc)]){this[_0xbb50bb(0x1b0)]=_0xf3651d,this['decompress'](_0x353ea3,_0x3215fc);return;}_0x353ea3[_0xbb50bb(0x1ac)]&&(this['_messageLength']=this[_0xbb50bb(0x1f9)],this['_fragments'][_0xbb50bb(0x260)](_0x353ea3)),this[_0xbb50bb(0x222)](_0x3215fc);}['decompress'](_0xbea1f9,_0x421a55){const _0x4d7cec=_0x988ddc;this[_0x4d7cec(0x216)][_0xb291eb[_0x4d7cec(0x16d)]]['decompress'](_0xbea1f9,this['_fin'],(_0x5d7d73,_0x3ce0ef)=>{const _0x126e0d=_0x4d7cec;if(_0x5d7d73)return _0x421a55(_0x5d7d73);if(_0x3ce0ef[_0x126e0d(0x1ac)]){if(this['_messageLength']+=_0x3ce0ef['length'],this['_messageLength']>this[_0x126e0d(0x1f8)]&&this[_0x126e0d(0x1f8)]>0x0){const _0x6247f2=this[_0x126e0d(0x19b)](RangeError,_0x126e0d(0xe2),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x421a55(_0x6247f2);return;}this[_0x126e0d(0x159)][_0x126e0d(0x260)](_0x3ce0ef);}this[_0x126e0d(0x222)](_0x421a55),this['_state']===_0x58f67a&&this['startLoop'](_0x421a55);});}['dataMessage'](_0x13ef5c){const _0x47b07c=_0x988ddc;if(!this[_0x47b07c(0x15a)]){this[_0x47b07c(0x1b0)]=_0x58f67a;return;}const _0x4a1498=this[_0x47b07c(0x10e)],_0x4cfee8=this[_0x47b07c(0x159)];if(this['_totalPayloadLength']=0x0,this['_messageLength']=0x0,this['_fragmented']=0x0,this[_0x47b07c(0x159)]=[],this[_0x47b07c(0x1ce)]===0x2){let _0xb21c0c;this[_0x47b07c(0xfb)]==='nodebuffer'?_0xb21c0c=_0x450096(_0x4cfee8,_0x4a1498):this[_0x47b07c(0xfb)]===_0x47b07c(0x107)?_0xb21c0c=_0x8fae0c(_0x450096(_0x4cfee8,_0x4a1498)):this[_0x47b07c(0xfb)]===_0x47b07c(0xec)?_0xb21c0c=new Blob(_0x4cfee8):_0xb21c0c=_0x4cfee8,this['_allowSynchronousEvents']?(this[_0x47b07c(0x263)](_0x47b07c(0x242),_0xb21c0c,!0x0),this[_0x47b07c(0x1b0)]=_0x58f67a):(this[_0x47b07c(0x1b0)]=_0x3945a5,setImmediate(()=>{const _0x39bf58=_0x47b07c;this[_0x39bf58(0x263)](_0x39bf58(0x242),_0xb21c0c,!0x0),this[_0x39bf58(0x1b0)]=_0x58f67a,this[_0x39bf58(0x14e)](_0x13ef5c);}));}else{const _0x1448b7=_0x450096(_0x4cfee8,_0x4a1498);if(!this[_0x47b07c(0x106)]&&!_0x3f9f53(_0x1448b7)){const _0x2f6c00=this[_0x47b07c(0x19b)](Error,_0x47b07c(0x1ae),!0x0,0x3ef,_0x47b07c(0x1e2));_0x13ef5c(_0x2f6c00);return;}this['_state']===_0xf3651d||this[_0x47b07c(0x154)]?(this[_0x47b07c(0x263)](_0x47b07c(0x242),_0x1448b7,!0x1),this[_0x47b07c(0x1b0)]=_0x58f67a):(this[_0x47b07c(0x1b0)]=_0x3945a5,setImmediate(()=>{const _0x1c3eb9=_0x47b07c;this[_0x1c3eb9(0x263)](_0x1c3eb9(0x242),_0x1448b7,!0x1),this['_state']=_0x58f67a,this[_0x1c3eb9(0x14e)](_0x13ef5c);}));}}[_0x988ddc(0xd1)](_0x32c824,_0xa05fb7){const _0x449010=_0x988ddc;if(this[_0x449010(0x1ce)]===0x8){if(_0x32c824['length']===0x0)this[_0x449010(0x195)]=!0x1,this[_0x449010(0x263)](_0x449010(0x11b),0x3ed,_0x555bf6),this[_0x449010(0x18b)]();else{const _0x524378=_0x32c824[_0x449010(0x17f)](0x0);if(!_0x43e65b(_0x524378)){const _0x306e24=this[_0x449010(0x19b)](RangeError,_0x449010(0x267)+_0x524378,!0x0,0x3ea,_0x449010(0xb4));_0xa05fb7(_0x306e24);return;}const _0x35990b=new _0x49fad4(_0x32c824[_0x449010(0x142)],_0x32c824[_0x449010(0x24c)]+0x2,_0x32c824[_0x449010(0x1ac)]-0x2);if(!this[_0x449010(0x106)]&&!_0x3f9f53(_0x35990b)){const _0x8202cb=this[_0x449010(0x19b)](Error,_0x449010(0x1ae),!0x0,0x3ef,_0x449010(0x1e2));_0xa05fb7(_0x8202cb);return;}this[_0x449010(0x195)]=!0x1,this[_0x449010(0x263)](_0x449010(0x11b),_0x524378,_0x35990b),this['end']();}this['_state']=_0x58f67a;return;}this[_0x449010(0x154)]?(this[_0x449010(0x263)](this[_0x449010(0x1ce)]===0x9?_0x449010(0x146):_0x449010(0x17e),_0x32c824),this[_0x449010(0x1b0)]=_0x58f67a):(this[_0x449010(0x1b0)]=_0x3945a5,setImmediate(()=>{const _0xe6c675=_0x449010;this[_0xe6c675(0x263)](this[_0xe6c675(0x1ce)]===0x9?'ping':_0xe6c675(0x17e),_0x32c824),this[_0xe6c675(0x1b0)]=_0x58f67a,this['startLoop'](_0xa05fb7);}));}[_0x988ddc(0x19b)](_0x4768df,_0x53c470,_0x4645e7,_0x24385b,_0x576811){const _0x1c48db=_0x988ddc;this['_loop']=!0x1,this[_0x1c48db(0x256)]=!0x0;const _0x4be276=new _0x4768df(_0x4645e7?_0x1c48db(0x165)+_0x53c470:_0x53c470);return Error['captureStackTrace'](_0x4be276,this[_0x1c48db(0x19b)]),_0x4be276['code']=_0x576811,_0x4be276[_0x5ef3e6]=_0x24385b,_0x4be276;}}return Se=_0x2433f3,Se;}var Ee,Xe;function ft(){const _0xf09390=_0x2511b9;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x31f158}=oe,{randomFillSync:_0x3f10d7}=Le,_0x4a7707=he(),{EMPTY_BUFFER:_0x56ad97,kWebSocket:_0x5504c2,NOOP:_0x87cf3f}=H(),{isBlob:_0x3e3665,isValidStatusCode:_0x9faf07}=ae(),{mask:_0x4dc3ca,toBuffer:_0x4ccd92}=ce(),_0x5eb6bc=Symbol(_0xf09390(0x180)),_0x3e6c51=Buffer['alloc'](0x4),_0x24e0b8=0x8*0x400;let _0x544928,_0xd16caf=_0x24e0b8;const _0x329456=0x0,_0x4afbbc=0x1,_0x48145=0x2;class _0x3c6cf5{constructor(_0x2e020a,_0x144c2e,_0x186579){const _0x340242=_0xf09390;this[_0x340242(0x216)]=_0x144c2e||{},_0x186579&&(this['_generateMask']=_0x186579,this['_maskBuffer']=Buffer[_0x340242(0x1de)](0x4)),this[_0x340242(0x209)]=_0x2e020a,this['_firstFragment']=!0x0,this[_0x340242(0x22c)]=!0x1,this[_0x340242(0x1d2)]=0x0,this[_0x340242(0xfa)]=[],this[_0x340242(0x1b0)]=_0x329456,this['onerror']=_0x87cf3f,this[_0x5504c2]=void 0x0;}static[_0xf09390(0x237)](_0x2165f4,_0x2ce4b0){const _0x758294=_0xf09390;let _0x3ecdd8,_0x3b3c72=!0x1,_0x10705d=0x2,_0x3aa656=!0x1;_0x2ce4b0['mask']&&(_0x3ecdd8=_0x2ce4b0[_0x758294(0x21e)]||_0x3e6c51,_0x2ce4b0[_0x758294(0x124)]?_0x2ce4b0[_0x758294(0x124)](_0x3ecdd8):(_0xd16caf===_0x24e0b8&&(_0x544928===void 0x0&&(_0x544928=Buffer['alloc'](_0x24e0b8)),_0x3f10d7(_0x544928,0x0,_0x24e0b8),_0xd16caf=0x0),_0x3ecdd8[0x0]=_0x544928[_0xd16caf++],_0x3ecdd8[0x1]=_0x544928[_0xd16caf++],_0x3ecdd8[0x2]=_0x544928[_0xd16caf++],_0x3ecdd8[0x3]=_0x544928[_0xd16caf++]),_0x3aa656=(_0x3ecdd8[0x0]|_0x3ecdd8[0x1]|_0x3ecdd8[0x2]|_0x3ecdd8[0x3])===0x0,_0x10705d=0x6);let _0xa7c858;typeof _0x2165f4=='string'?(!_0x2ce4b0[_0x758294(0x1d8)]||_0x3aa656)&&_0x2ce4b0[_0x5eb6bc]!==void 0x0?_0xa7c858=_0x2ce4b0[_0x5eb6bc]:(_0x2165f4=Buffer[_0x758294(0x26a)](_0x2165f4),_0xa7c858=_0x2165f4[_0x758294(0x1ac)]):(_0xa7c858=_0x2165f4[_0x758294(0x1ac)],_0x3b3c72=_0x2ce4b0['mask']&&_0x2ce4b0[_0x758294(0xf6)]&&!_0x3aa656);let _0x483ae9=_0xa7c858;_0xa7c858>=0x10000?(_0x10705d+=0x8,_0x483ae9=0x7f):_0xa7c858>0x7d&&(_0x10705d+=0x2,_0x483ae9=0x7e);const _0x32780d=Buffer[_0x758294(0x1f1)](_0x3b3c72?_0xa7c858+_0x10705d:_0x10705d);return _0x32780d[0x0]=_0x2ce4b0[_0x758294(0x194)]?_0x2ce4b0[_0x758294(0x1bf)]|0x80:_0x2ce4b0[_0x758294(0x1bf)],_0x2ce4b0[_0x758294(0xe5)]&&(_0x32780d[0x0]|=0x40),_0x32780d[0x1]=_0x483ae9,_0x483ae9===0x7e?_0x32780d[_0x758294(0x166)](_0xa7c858,0x2):_0x483ae9===0x7f&&(_0x32780d[0x2]=_0x32780d[0x3]=0x0,_0x32780d[_0x758294(0x16b)](_0xa7c858,0x4,0x6)),_0x2ce4b0[_0x758294(0x1d8)]?(_0x32780d[0x1]|=0x80,_0x32780d[_0x10705d-0x4]=_0x3ecdd8[0x0],_0x32780d[_0x10705d-0x3]=_0x3ecdd8[0x1],_0x32780d[_0x10705d-0x2]=_0x3ecdd8[0x2],_0x32780d[_0x10705d-0x1]=_0x3ecdd8[0x3],_0x3aa656?[_0x32780d,_0x2165f4]:_0x3b3c72?(_0x4dc3ca(_0x2165f4,_0x3ecdd8,_0x32780d,_0x10705d,_0xa7c858),[_0x32780d]):(_0x4dc3ca(_0x2165f4,_0x3ecdd8,_0x2165f4,0x0,_0xa7c858),[_0x32780d,_0x2165f4])):[_0x32780d,_0x2165f4];}['close'](_0x44cf88,_0x562f9a,_0x2f9ca7,_0x2b566a){const _0x5d7c24=_0xf09390;let _0x122d39;if(_0x44cf88===void 0x0)_0x122d39=_0x56ad97;else{if(typeof _0x44cf88!=_0x5d7c24(0x1fa)||!_0x9faf07(_0x44cf88))throw new TypeError(_0x5d7c24(0x18f));if(_0x562f9a===void 0x0||!_0x562f9a['length'])_0x122d39=Buffer[_0x5d7c24(0x1f1)](0x2),_0x122d39['writeUInt16BE'](_0x44cf88,0x0);else{const _0x92ab29=Buffer['byteLength'](_0x562f9a);if(_0x92ab29>0x7b)throw new RangeError(_0x5d7c24(0x1b7));_0x122d39=Buffer[_0x5d7c24(0x1f1)](0x2+_0x92ab29),_0x122d39[_0x5d7c24(0x166)](_0x44cf88,0x0),typeof _0x562f9a=='string'?_0x122d39[_0x5d7c24(0x14c)](_0x562f9a,0x2):_0x122d39[_0x5d7c24(0x197)](_0x562f9a,0x2);}}const _0x4802ba={[_0x5eb6bc]:_0x122d39[_0x5d7c24(0x1ac)],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x2f9ca7,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this['_state']!==_0x329456?this[_0x5d7c24(0x1ca)]([this[_0x5d7c24(0x1f0)],_0x122d39,!0x1,_0x4802ba,_0x2b566a]):this['sendFrame'](_0x3c6cf5[_0x5d7c24(0x237)](_0x122d39,_0x4802ba),_0x2b566a);}[_0xf09390(0x146)](_0x3dd109,_0x50161b,_0x2ef7c0){const _0x506e05=_0xf09390;let _0x2aa9cf,_0xb21d64;if(typeof _0x3dd109=='string'?(_0x2aa9cf=Buffer[_0x506e05(0x1db)](_0x3dd109),_0xb21d64=!0x1):_0x3e3665(_0x3dd109)?(_0x2aa9cf=_0x3dd109[_0x506e05(0xff)],_0xb21d64=!0x1):(_0x3dd109=_0x4ccd92(_0x3dd109),_0x2aa9cf=_0x3dd109[_0x506e05(0x1ac)],_0xb21d64=_0x4ccd92['readOnly']),_0x2aa9cf>0x7d)throw new RangeError(_0x506e05(0xd8));const _0x20af19={[_0x5eb6bc]:_0x2aa9cf,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x50161b,'maskBuffer':this[_0x506e05(0x1e8)],'opcode':0x9,'readOnly':_0xb21d64,'rsv1':!0x1};_0x3e3665(_0x3dd109)?this[_0x506e05(0x1b0)]!==_0x329456?this['enqueue']([this[_0x506e05(0x133)],_0x3dd109,!0x1,_0x20af19,_0x2ef7c0]):this['getBlobData'](_0x3dd109,!0x1,_0x20af19,_0x2ef7c0):this[_0x506e05(0x1b0)]!==_0x329456?this[_0x506e05(0x1ca)]([this[_0x506e05(0x1f0)],_0x3dd109,!0x1,_0x20af19,_0x2ef7c0]):this[_0x506e05(0x160)](_0x3c6cf5['frame'](_0x3dd109,_0x20af19),_0x2ef7c0);}['pong'](_0x5745af,_0x89823e,_0x49bdd6){const _0x40c050=_0xf09390;let _0x56437e,_0x9a4a66;if(typeof _0x5745af==_0x40c050(0x171)?(_0x56437e=Buffer['byteLength'](_0x5745af),_0x9a4a66=!0x1):_0x3e3665(_0x5745af)?(_0x56437e=_0x5745af[_0x40c050(0xff)],_0x9a4a66=!0x1):(_0x5745af=_0x4ccd92(_0x5745af),_0x56437e=_0x5745af[_0x40c050(0x1ac)],_0x9a4a66=_0x4ccd92['readOnly']),_0x56437e>0x7d)throw new RangeError(_0x40c050(0xd8));const _0x55b54c={[_0x5eb6bc]:_0x56437e,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x89823e,'maskBuffer':this[_0x40c050(0x1e8)],'opcode':0xa,'readOnly':_0x9a4a66,'rsv1':!0x1};_0x3e3665(_0x5745af)?this[_0x40c050(0x1b0)]!==_0x329456?this[_0x40c050(0x1ca)]([this['getBlobData'],_0x5745af,!0x1,_0x55b54c,_0x49bdd6]):this[_0x40c050(0x133)](_0x5745af,!0x1,_0x55b54c,_0x49bdd6):this[_0x40c050(0x1b0)]!==_0x329456?this['enqueue']([this[_0x40c050(0x1f0)],_0x5745af,!0x1,_0x55b54c,_0x49bdd6]):this[_0x40c050(0x160)](_0x3c6cf5[_0x40c050(0x237)](_0x5745af,_0x55b54c),_0x49bdd6);}[_0xf09390(0x10a)](_0x395d8e,_0x543d5f,_0x31f9b4){const _0x541863=_0xf09390,_0x518017=this[_0x541863(0x216)][_0x4a7707[_0x541863(0x16d)]];let _0x5252e9=_0x543d5f[_0x541863(0x201)]?0x2:0x1,_0x5e34fe=_0x543d5f[_0x541863(0x14d)],_0x2f7b6a,_0x550399;typeof _0x395d8e=='string'?(_0x2f7b6a=Buffer[_0x541863(0x1db)](_0x395d8e),_0x550399=!0x1):_0x3e3665(_0x395d8e)?(_0x2f7b6a=_0x395d8e['size'],_0x550399=!0x1):(_0x395d8e=_0x4ccd92(_0x395d8e),_0x2f7b6a=_0x395d8e[_0x541863(0x1ac)],_0x550399=_0x4ccd92[_0x541863(0xf6)]),this[_0x541863(0x119)]?(this[_0x541863(0x119)]=!0x1,_0x5e34fe&&_0x518017&&_0x518017[_0x541863(0xdb)][_0x518017[_0x541863(0xa0)]?_0x541863(0x238):_0x541863(0x151)]&&(_0x5e34fe=_0x2f7b6a>=_0x518017['_threshold']),this[_0x541863(0x22c)]=_0x5e34fe):(_0x5e34fe=!0x1,_0x5252e9=0x0),_0x543d5f[_0x541863(0x194)]&&(this['_firstFragment']=!0x0);const _0x107429={[_0x5eb6bc]:_0x2f7b6a,'fin':_0x543d5f['fin'],'generateMask':this['_generateMask'],'mask':_0x543d5f[_0x541863(0x1d8)],'maskBuffer':this[_0x541863(0x1e8)],'opcode':_0x5252e9,'readOnly':_0x550399,'rsv1':_0x5e34fe};_0x3e3665(_0x395d8e)?this[_0x541863(0x1b0)]!==_0x329456?this[_0x541863(0x1ca)]([this[_0x541863(0x133)],_0x395d8e,this[_0x541863(0x22c)],_0x107429,_0x31f9b4]):this['getBlobData'](_0x395d8e,this[_0x541863(0x22c)],_0x107429,_0x31f9b4):this[_0x541863(0x1b0)]!==_0x329456?this[_0x541863(0x1ca)]([this['dispatch'],_0x395d8e,this[_0x541863(0x22c)],_0x107429,_0x31f9b4]):this[_0x541863(0x1f0)](_0x395d8e,this['_compress'],_0x107429,_0x31f9b4);}[_0xf09390(0x133)](_0x17a469,_0x1e974e,_0x223b42,_0x234df7){const _0x223e8d=_0xf09390;this[_0x223e8d(0x1d2)]+=_0x223b42[_0x5eb6bc],this[_0x223e8d(0x1b0)]=_0x48145,_0x17a469['arrayBuffer']()[_0x223e8d(0x1e1)](_0x14deaa=>{const _0x5a4a5d=_0x223e8d;if(this[_0x5a4a5d(0x209)][_0x5a4a5d(0x147)]){const _0x5f2fdc=new Error(_0x5a4a5d(0x268));process[_0x5a4a5d(0x21d)](_0x3e4bc7,this,_0x5f2fdc,_0x234df7);return;}this[_0x5a4a5d(0x1d2)]-=_0x223b42[_0x5eb6bc];const _0x1253a3=_0x4ccd92(_0x14deaa);_0x1e974e?this[_0x5a4a5d(0x1f0)](_0x1253a3,_0x1e974e,_0x223b42,_0x234df7):(this['_state']=_0x329456,this[_0x5a4a5d(0x160)](_0x3c6cf5[_0x5a4a5d(0x237)](_0x1253a3,_0x223b42),_0x234df7),this['dequeue']());})[_0x223e8d(0x212)](_0x389631=>{const _0xb10b9c=_0x223e8d;process[_0xb10b9c(0x21d)](_0x270004,this,_0x389631,_0x234df7);});}[_0xf09390(0x1f0)](_0x3a1454,_0x303bf9,_0x1a3027,_0x5b1670){const _0x424234=_0xf09390;if(!_0x303bf9){this['sendFrame'](_0x3c6cf5[_0x424234(0x237)](_0x3a1454,_0x1a3027),_0x5b1670);return;}const _0xe070ae=this['_extensions'][_0x4a7707[_0x424234(0x16d)]];this[_0x424234(0x1d2)]+=_0x1a3027[_0x5eb6bc],this[_0x424234(0x1b0)]=_0x4afbbc,_0xe070ae[_0x424234(0x14d)](_0x3a1454,_0x1a3027[_0x424234(0x194)],(_0x3cdc39,_0x511d8a)=>{const _0x9eb84e=_0x424234;if(this[_0x9eb84e(0x209)]['destroyed']){const _0x4f9ee6=new Error(_0x9eb84e(0x175));_0x3e4bc7(this,_0x4f9ee6,_0x5b1670);return;}this[_0x9eb84e(0x1d2)]-=_0x1a3027[_0x5eb6bc],this['_state']=_0x329456,_0x1a3027['readOnly']=!0x1,this[_0x9eb84e(0x160)](_0x3c6cf5['frame'](_0x511d8a,_0x1a3027),_0x5b1670),this[_0x9eb84e(0xf8)]();});}[_0xf09390(0xf8)](){const _0x474e8c=_0xf09390;for(;this[_0x474e8c(0x1b0)]===_0x329456&&this['_queue'][_0x474e8c(0x1ac)];){const _0x47b38f=this['_queue'][_0x474e8c(0xc3)]();this['_bufferedBytes']-=_0x47b38f[0x3][_0x5eb6bc],Reflect[_0x474e8c(0x17d)](_0x47b38f[0x0],this,_0x47b38f[_0x474e8c(0x25e)](0x1));}}[_0xf09390(0x1ca)](_0x2e85ab){const _0x5bf4b7=_0xf09390;this['_bufferedBytes']+=_0x2e85ab[0x3][_0x5eb6bc],this[_0x5bf4b7(0xfa)][_0x5bf4b7(0x260)](_0x2e85ab);}[_0xf09390(0x160)](_0x36e725,_0x3d3225){const _0x402bf9=_0xf09390;_0x36e725[_0x402bf9(0x1ac)]===0x2?(this[_0x402bf9(0x209)]['cork'](),this[_0x402bf9(0x209)][_0x402bf9(0x14c)](_0x36e725[0x0]),this[_0x402bf9(0x209)][_0x402bf9(0x14c)](_0x36e725[0x1],_0x3d3225),this[_0x402bf9(0x209)][_0x402bf9(0x233)]()):this[_0x402bf9(0x209)]['write'](_0x36e725[0x0],_0x3d3225);}}Ee=_0x3c6cf5;function _0x3e4bc7(_0xf1b47,_0x1146ff,_0x4a5566){const _0x2c669e=_0xf09390;typeof _0x4a5566==_0x2c669e(0x9d)&&_0x4a5566(_0x1146ff);for(let _0x5c28e0=0x0;_0x5c28e0<_0xf1b47[_0x2c669e(0xfa)][_0x2c669e(0x1ac)];_0x5c28e0++){const _0x29066c=_0xf1b47[_0x2c669e(0xfa)][_0x5c28e0],_0x895518=_0x29066c[_0x29066c[_0x2c669e(0x1ac)]-0x1];typeof _0x895518==_0x2c669e(0x9d)&&_0x895518(_0x1146ff);}}function _0x270004(_0x5b54b2,_0x2b477b,_0x11bb4e){const _0x193854=_0xf09390;_0x3e4bc7(_0x5b54b2,_0x2b477b,_0x11bb4e),_0x5b54b2[_0x193854(0xd6)](_0x2b477b);}return Ee;}var xe,Ze;function It(){const _0x3e077e=_0x2511b9;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x15850f,kListener:_0x10dad9}=H(),_0x36acdf=Symbol('kCode'),_0x2a6fba=Symbol(_0x3e077e(0x113)),_0x367569=Symbol('kError'),_0x243dfa=Symbol(_0x3e077e(0x1a5)),_0x448cc0=Symbol(_0x3e077e(0xe3)),_0x3a9872=Symbol(_0x3e077e(0x148)),_0x1b8808=Symbol(_0x3e077e(0x1bc)),_0x24d428=Symbol(_0x3e077e(0x1e3));class _0x50a51d{constructor(_0xe37ddc){this[_0x3a9872]=null,this[_0x1b8808]=_0xe37ddc;}get['target'](){return this[_0x3a9872];}get[_0x3e077e(0x144)](){return this[_0x1b8808];}}Object[_0x3e077e(0xa8)](_0x50a51d[_0x3e077e(0x158)],_0x3e077e(0x1cf),{'enumerable':!0x0}),Object['defineProperty'](_0x50a51d[_0x3e077e(0x158)],_0x3e077e(0x144),{'enumerable':!0x0});class _0xa3b7b1 extends _0x50a51d{constructor(_0x495cc5,_0x20c960={}){const _0x421eb0=_0x3e077e;super(_0x495cc5),this[_0x36acdf]=_0x20c960['code']===void 0x0?0x0:_0x20c960['code'],this[_0x448cc0]=_0x20c960[_0x421eb0(0x1fe)]===void 0x0?'':_0x20c960[_0x421eb0(0x1fe)],this[_0x24d428]=_0x20c960[_0x421eb0(0x143)]===void 0x0?!0x1:_0x20c960['wasClean'];}get[_0x3e077e(0x244)](){return this[_0x36acdf];}get['reason'](){return this[_0x448cc0];}get[_0x3e077e(0x143)](){return this[_0x24d428];}}Object[_0x3e077e(0xa8)](_0xa3b7b1[_0x3e077e(0x158)],_0x3e077e(0x244),{'enumerable':!0x0}),Object[_0x3e077e(0xa8)](_0xa3b7b1[_0x3e077e(0x158)],_0x3e077e(0x1fe),{'enumerable':!0x0}),Object[_0x3e077e(0xa8)](_0xa3b7b1[_0x3e077e(0x158)],_0x3e077e(0x143),{'enumerable':!0x0});class _0x120d42 extends _0x50a51d{constructor(_0x21b175,_0xde0275={}){const _0x2437f4=_0x3e077e;super(_0x21b175),this[_0x367569]=_0xde0275['error']===void 0x0?null:_0xde0275[_0x2437f4(0x11c)],this[_0x243dfa]=_0xde0275[_0x2437f4(0x242)]===void 0x0?'':_0xde0275[_0x2437f4(0x242)];}get[_0x3e077e(0x11c)](){return this[_0x367569];}get['message'](){return this[_0x243dfa];}}Object[_0x3e077e(0xa8)](_0x120d42[_0x3e077e(0x158)],'error',{'enumerable':!0x0}),Object[_0x3e077e(0xa8)](_0x120d42[_0x3e077e(0x158)],_0x3e077e(0x242),{'enumerable':!0x0});class _0x57c1cc extends _0x50a51d{constructor(_0x9329ef,_0x1916c8={}){const _0x2bb2b7=_0x3e077e;super(_0x9329ef),this[_0x2a6fba]=_0x1916c8[_0x2bb2b7(0x161)]===void 0x0?null:_0x1916c8[_0x2bb2b7(0x161)];}get[_0x3e077e(0x161)](){return this[_0x2a6fba];}}Object[_0x3e077e(0xa8)](_0x57c1cc[_0x3e077e(0x158)],_0x3e077e(0x161),{'enumerable':!0x0}),xe={'CloseEvent':_0xa3b7b1,'ErrorEvent':_0x120d42,'Event':_0x50a51d,'EventTarget':{'addEventListener'(_0x51e061,_0xab7a5c,_0x29f02a={}){const _0x1a683d=_0x3e077e;for(const _0x30a7e4 of this[_0x1a683d(0x21b)](_0x51e061))if(!_0x29f02a[_0x15850f]&&_0x30a7e4[_0x10dad9]===_0xab7a5c&&!_0x30a7e4[_0x15850f])return;let _0x4dd19a;if(_0x51e061==='message')_0x4dd19a=function(_0x11a133,_0x35d978){const _0x1e55aa=_0x1a683d,_0x1cb8d6=new _0x57c1cc(_0x1e55aa(0x242),{'data':_0x35d978?_0x11a133:_0x11a133[_0x1e55aa(0x234)]()});_0x1cb8d6[_0x3a9872]=this,_0x4d485d(_0xab7a5c,this,_0x1cb8d6);};else{if(_0x51e061===_0x1a683d(0xf2))_0x4dd19a=function(_0x303613,_0x91d333){const _0x222320=_0x1a683d,_0x2120e0=new _0xa3b7b1(_0x222320(0xf2),{'code':_0x303613,'reason':_0x91d333[_0x222320(0x234)](),'wasClean':this[_0x222320(0x1d3)]&&this['_closeFrameSent']});_0x2120e0[_0x3a9872]=this,_0x4d485d(_0xab7a5c,this,_0x2120e0);};else{if(_0x51e061===_0x1a683d(0x11c))_0x4dd19a=function(_0x4e6565){const _0x5da103=_0x1a683d,_0x26a87c=new _0x120d42(_0x5da103(0x11c),{'error':_0x4e6565,'message':_0x4e6565[_0x5da103(0x242)]});_0x26a87c[_0x3a9872]=this,_0x4d485d(_0xab7a5c,this,_0x26a87c);};else{if(_0x51e061==='open')_0x4dd19a=function(){const _0x16df9f=_0x1a683d,_0x6bbfad=new _0x50a51d(_0x16df9f(0x231));_0x6bbfad[_0x3a9872]=this,_0x4d485d(_0xab7a5c,this,_0x6bbfad);};else return;}}}_0x4dd19a[_0x15850f]=!!_0x29f02a[_0x15850f],_0x4dd19a[_0x10dad9]=_0xab7a5c,_0x29f02a[_0x1a683d(0x1a0)]?this['once'](_0x51e061,_0x4dd19a):this['on'](_0x51e061,_0x4dd19a);},'removeEventListener'(_0x2b7e70,_0x5d39af){const _0x47e63d=_0x3e077e;for(const _0x5d9d23 of this[_0x47e63d(0x21b)](_0x2b7e70))if(_0x5d9d23[_0x10dad9]===_0x5d39af&&!_0x5d9d23[_0x15850f]){this[_0x47e63d(0x20b)](_0x2b7e70,_0x5d9d23);break;}}},'MessageEvent':_0x57c1cc};function _0x4d485d(_0x49ba58,_0x21dc62,_0x42e145){const _0x52a3cd=_0x3e077e;typeof _0x49ba58=='object'&&_0x49ba58[_0x52a3cd(0x1dc)]?_0x49ba58[_0x52a3cd(0x1dc)][_0x52a3cd(0x188)](_0x49ba58,_0x42e145):_0x49ba58[_0x52a3cd(0x188)](_0x21dc62,_0x42e145);}return xe;}var be,Qe;function _0xfddf(_0x82dd73,_0x4609d9){const _0x224dde=_0x224d();return _0xfddf=function(_0xfddf5a,_0x5b3e38){_0xfddf5a=_0xfddf5a-0x9c;let _0x311af8=_0x224dde[_0xfddf5a];return _0x311af8;},_0xfddf(_0x82dd73,_0x4609d9);}function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x451e90}=ae();function _0x2e1d81(_0x52625d,_0x365d72,_0xec3cce){const _0x25ce08=_0xfddf;_0x52625d[_0x365d72]===void 0x0?_0x52625d[_0x365d72]=[_0xec3cce]:_0x52625d[_0x365d72][_0x25ce08(0x260)](_0xec3cce);}function _0x41b4e1(_0x587885){const _0x58ddda=_0xfddf,_0x184a43=Object[_0x58ddda(0x247)](null);let _0x4d5564=Object['create'](null),_0x1db6b7=!0x1,_0x992135=!0x1,_0x14ea07=!0x1,_0xd4b41c,_0x22b7fa,_0x1cb90c=-0x1,_0x4da37a=-0x1,_0x1ff572=-0x1,_0x335aee=0x0;for(;_0x335aee<_0x587885[_0x58ddda(0x1ac)];_0x335aee++)if(_0x4da37a=_0x587885['charCodeAt'](_0x335aee),_0xd4b41c===void 0x0){if(_0x1ff572===-0x1&&_0x451e90[_0x4da37a]===0x1)_0x1cb90c===-0x1&&(_0x1cb90c=_0x335aee);else{if(_0x335aee!==0x0&&(_0x4da37a===0x20||_0x4da37a===0x9))_0x1ff572===-0x1&&_0x1cb90c!==-0x1&&(_0x1ff572=_0x335aee);else{if(_0x4da37a===0x3b||_0x4da37a===0x2c){if(_0x1cb90c===-0x1)throw new SyntaxError(_0x58ddda(0x207)+_0x335aee);_0x1ff572===-0x1&&(_0x1ff572=_0x335aee);const _0xf81b56=_0x587885[_0x58ddda(0x25e)](_0x1cb90c,_0x1ff572);_0x4da37a===0x2c?(_0x2e1d81(_0x184a43,_0xf81b56,_0x4d5564),_0x4d5564=Object[_0x58ddda(0x247)](null)):_0xd4b41c=_0xf81b56,_0x1cb90c=_0x1ff572=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x335aee);}}}else{if(_0x22b7fa===void 0x0){if(_0x1ff572===-0x1&&_0x451e90[_0x4da37a]===0x1)_0x1cb90c===-0x1&&(_0x1cb90c=_0x335aee);else{if(_0x4da37a===0x20||_0x4da37a===0x9)_0x1ff572===-0x1&&_0x1cb90c!==-0x1&&(_0x1ff572=_0x335aee);else{if(_0x4da37a===0x3b||_0x4da37a===0x2c){if(_0x1cb90c===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x335aee);_0x1ff572===-0x1&&(_0x1ff572=_0x335aee),_0x2e1d81(_0x4d5564,_0x587885[_0x58ddda(0x25e)](_0x1cb90c,_0x1ff572),!0x0),_0x4da37a===0x2c&&(_0x2e1d81(_0x184a43,_0xd4b41c,_0x4d5564),_0x4d5564=Object['create'](null),_0xd4b41c=void 0x0),_0x1cb90c=_0x1ff572=-0x1;}else{if(_0x4da37a===0x3d&&_0x1cb90c!==-0x1&&_0x1ff572===-0x1)_0x22b7fa=_0x587885[_0x58ddda(0x25e)](_0x1cb90c,_0x335aee),_0x1cb90c=_0x1ff572=-0x1;else throw new SyntaxError(_0x58ddda(0x207)+_0x335aee);}}}}else{if(_0x992135){if(_0x451e90[_0x4da37a]!==0x1)throw new SyntaxError(_0x58ddda(0x207)+_0x335aee);_0x1cb90c===-0x1?_0x1cb90c=_0x335aee:_0x1db6b7||(_0x1db6b7=!0x0),_0x992135=!0x1;}else{if(_0x14ea07){if(_0x451e90[_0x4da37a]===0x1)_0x1cb90c===-0x1&&(_0x1cb90c=_0x335aee);else{if(_0x4da37a===0x22&&_0x1cb90c!==-0x1)_0x14ea07=!0x1,_0x1ff572=_0x335aee;else{if(_0x4da37a===0x5c)_0x992135=!0x0;else throw new SyntaxError(_0x58ddda(0x207)+_0x335aee);}}}else{if(_0x4da37a===0x22&&_0x587885['charCodeAt'](_0x335aee-0x1)===0x3d)_0x14ea07=!0x0;else{if(_0x1ff572===-0x1&&_0x451e90[_0x4da37a]===0x1)_0x1cb90c===-0x1&&(_0x1cb90c=_0x335aee);else{if(_0x1cb90c!==-0x1&&(_0x4da37a===0x20||_0x4da37a===0x9))_0x1ff572===-0x1&&(_0x1ff572=_0x335aee);else{if(_0x4da37a===0x3b||_0x4da37a===0x2c){if(_0x1cb90c===-0x1)throw new SyntaxError(_0x58ddda(0x207)+_0x335aee);_0x1ff572===-0x1&&(_0x1ff572=_0x335aee);let _0x469104=_0x587885[_0x58ddda(0x25e)](_0x1cb90c,_0x1ff572);_0x1db6b7&&(_0x469104=_0x469104['replace'](/\\/g,''),_0x1db6b7=!0x1),_0x2e1d81(_0x4d5564,_0x22b7fa,_0x469104),_0x4da37a===0x2c&&(_0x2e1d81(_0x184a43,_0xd4b41c,_0x4d5564),_0x4d5564=Object[_0x58ddda(0x247)](null),_0xd4b41c=void 0x0),_0x22b7fa=void 0x0,_0x1cb90c=_0x1ff572=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x335aee);}}}}}}}if(_0x1cb90c===-0x1||_0x14ea07||_0x4da37a===0x20||_0x4da37a===0x9)throw new SyntaxError(_0x58ddda(0x224));_0x1ff572===-0x1&&(_0x1ff572=_0x335aee);const _0x23d7da=_0x587885['slice'](_0x1cb90c,_0x1ff572);return _0xd4b41c===void 0x0?_0x2e1d81(_0x184a43,_0x23d7da,_0x4d5564):(_0x22b7fa===void 0x0?_0x2e1d81(_0x4d5564,_0x23d7da,!0x0):_0x1db6b7?_0x2e1d81(_0x4d5564,_0x22b7fa,_0x23d7da[_0x58ddda(0x19d)](/\\/g,'')):_0x2e1d81(_0x4d5564,_0x22b7fa,_0x23d7da),_0x2e1d81(_0x184a43,_0xd4b41c,_0x4d5564)),_0x184a43;}function _0x2ce9be(_0x4cd031){const _0x33bc3b=_0xfddf;return Object['keys'](_0x4cd031)[_0x33bc3b(0x12f)](_0x9914ae=>{const _0x3fc39a=_0x33bc3b;let _0x35a3ac=_0x4cd031[_0x9914ae];return Array[_0x3fc39a(0x24d)](_0x35a3ac)||(_0x35a3ac=[_0x35a3ac]),_0x35a3ac[_0x3fc39a(0x12f)](_0xb25c4b=>[_0x9914ae][_0x3fc39a(0x140)](Object[_0x3fc39a(0x225)](_0xb25c4b)[_0x3fc39a(0x12f)](_0x11094f=>{const _0x12f88a=_0x3fc39a;let _0x234d05=_0xb25c4b[_0x11094f];return Array[_0x12f88a(0x24d)](_0x234d05)||(_0x234d05=[_0x234d05]),_0x234d05['map'](_0x3d6594=>_0x3d6594===!0x0?_0x11094f:_0x11094f+'='+_0x3d6594)[_0x12f88a(0x150)](';\x20');}))[_0x3fc39a(0x150)](';\x20'))[_0x3fc39a(0x150)](',\x20');})[_0x33bc3b(0x150)](',\x20');}return be={'format':_0x2ce9be,'parse':_0x41b4e1},be;}var we,Je;function Pe(){const _0x58d66e=_0x2511b9;if(Je)return we;Je=0x1;const _0x43fba8=nt,_0x1e1e52=vt,_0x46d92b=ot,_0x59b27d=St,_0x3f5c62=Et,{randomBytes:_0x326ed2,createHash:_0x3f0ad0}=Le,{Duplex:_0x5aa806,Readable:_0x297d6a}=oe,{URL:_0xeb06f7}=xt,_0x34ffaf=he(),_0x19cb94=lt(),_0x224e19=ft(),{isBlob:_0x585cb6}=ae(),{BINARY_TYPES:_0x7f7b4b,EMPTY_BUFFER:_0x1d36d0,GUID:_0x4119ad,kForOnEventAttribute:_0x115e93,kListener:_0x58c403,kStatusCode:_0x40fe49,kWebSocket:_0x55ec89,NOOP:_0x60c14}=H(),{EventTarget:{addEventListener:_0x376d07,removeEventListener:_0x18a738}}=It(),{format:_0xcd2d38,parse:_0x92c889}=ct(),{toBuffer:_0x5f5c6a}=ce(),_0x336687=0x1e*0x3e8,_0x4677a1=Symbol('kAborted'),_0x29b8c5=[0x8,0xd],_0x57f16f=[_0x58d66e(0x1ff),_0x58d66e(0xb7),'CLOSING','CLOSED'],_0x3156a6=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x150b19 extends _0x43fba8{constructor(_0x576e4f,_0x3baa78,_0x1b7b77){const _0x228102=_0x58d66e;super(),this[_0x228102(0xfb)]=_0x7f7b4b[0x0],this[_0x228102(0x208)]=0x3ee,this['_closeFrameReceived']=!0x1,this[_0x228102(0x199)]=!0x1,this[_0x228102(0x18d)]=_0x1d36d0,this[_0x228102(0x1a6)]=null,this[_0x228102(0x127)]=!0x1,this[_0x228102(0x216)]={},this[_0x228102(0x250)]=!0x1,this[_0x228102(0x219)]='',this['_readyState']=_0x150b19[_0x228102(0x1ff)],this[_0x228102(0x1e9)]=null,this[_0x228102(0x145)]=null,this[_0x228102(0x209)]=null,_0x576e4f!==null?(this[_0x228102(0x14b)]=0x0,this[_0x228102(0xa0)]=!0x1,this[_0x228102(0x14a)]=0x0,_0x3baa78===void 0x0?_0x3baa78=[]:Array[_0x228102(0x24d)](_0x3baa78)||(typeof _0x3baa78==_0x228102(0x141)&&_0x3baa78!==null?(_0x1b7b77=_0x3baa78,_0x3baa78=[]):_0x3baa78=[_0x3baa78]),_0x183149(this,_0x576e4f,_0x3baa78,_0x1b7b77)):(this['_autoPong']=_0x1b7b77[_0x228102(0xb1)],this[_0x228102(0xa0)]=!0x0);}get[_0x58d66e(0x126)](){const _0x350b4e=_0x58d66e;return this[_0x350b4e(0xfb)];}set['binaryType'](_0xafb7c4){const _0x44d56b=_0x58d66e;_0x7f7b4b[_0x44d56b(0x152)](_0xafb7c4)&&(this[_0x44d56b(0xfb)]=_0xafb7c4,this[_0x44d56b(0x1e9)]&&(this['_receiver'][_0x44d56b(0xfb)]=_0xafb7c4));}get[_0x58d66e(0x193)](){const _0x3d642e=_0x58d66e;return this[_0x3d642e(0x209)]?this[_0x3d642e(0x209)]['_writableState'][_0x3d642e(0x1ac)]+this[_0x3d642e(0x145)][_0x3d642e(0x1d2)]:this['_bufferedAmount'];}get[_0x58d66e(0x239)](){const _0x56a02e=_0x58d66e;return Object[_0x56a02e(0x225)](this[_0x56a02e(0x216)])[_0x56a02e(0x150)]();}get['isPaused'](){const _0x516fe2=_0x58d66e;return this[_0x516fe2(0x250)];}get['onclose'](){return null;}get[_0x58d66e(0xd6)](){return null;}get[_0x58d66e(0x1d6)](){return null;}get[_0x58d66e(0x226)](){return null;}get[_0x58d66e(0x218)](){const _0x59e4e4=_0x58d66e;return this[_0x59e4e4(0x219)];}get[_0x58d66e(0x24f)](){const _0x229d2d=_0x58d66e;return this[_0x229d2d(0x103)];}get[_0x58d66e(0x123)](){return this['_url'];}[_0x58d66e(0x17a)](_0x3c9a1f,_0x5e4eba,_0x50ea77){const _0x564c10=_0x58d66e,_0x4a25ee=new _0x19cb94({'allowSynchronousEvents':_0x50ea77[_0x564c10(0x25b)],'binaryType':this[_0x564c10(0x126)],'extensions':this[_0x564c10(0x216)],'isServer':this['_isServer'],'maxPayload':_0x50ea77[_0x564c10(0xa9)],'skipUTF8Validation':_0x50ea77[_0x564c10(0x172)]}),_0x5ac3e6=new _0x224e19(_0x3c9a1f,this['_extensions'],_0x50ea77[_0x564c10(0x124)]);this[_0x564c10(0x1e9)]=_0x4a25ee,this[_0x564c10(0x145)]=_0x5ac3e6,this[_0x564c10(0x209)]=_0x3c9a1f,_0x4a25ee[_0x55ec89]=this,_0x5ac3e6[_0x55ec89]=this,_0x3c9a1f[_0x55ec89]=this,_0x4a25ee['on'](_0x564c10(0x11b),_0x1e4799),_0x4a25ee['on'](_0x564c10(0x122),_0x5960e1),_0x4a25ee['on'](_0x564c10(0x11c),_0x256efa),_0x4a25ee['on'](_0x564c10(0x242),_0x16660c),_0x4a25ee['on'](_0x564c10(0x146),_0x4e1d33),_0x4a25ee['on'](_0x564c10(0x17e),_0x5690ae),_0x5ac3e6[_0x564c10(0xd6)]=_0x38219c,_0x3c9a1f[_0x564c10(0x19c)]&&_0x3c9a1f['setTimeout'](0x0),_0x3c9a1f[_0x564c10(0xb2)]&&_0x3c9a1f[_0x564c10(0xb2)](),_0x5e4eba[_0x564c10(0x1ac)]>0x0&&_0x3c9a1f[_0x564c10(0x125)](_0x5e4eba),_0x3c9a1f['on'](_0x564c10(0xf2),_0x1c069f),_0x3c9a1f['on'](_0x564c10(0x161),_0x6a5cfc),_0x3c9a1f['on'](_0x564c10(0x18b),_0x4275fc),_0x3c9a1f['on']('error',_0x4d130b),this['_readyState']=_0x150b19['OPEN'],this[_0x564c10(0x263)](_0x564c10(0x231));}['emitClose'](){const _0x46e69c=_0x58d66e;if(!this[_0x46e69c(0x209)]){this[_0x46e69c(0x103)]=_0x150b19[_0x46e69c(0xe0)],this[_0x46e69c(0x263)](_0x46e69c(0xf2),this['_closeCode'],this[_0x46e69c(0x18d)]);return;}this[_0x46e69c(0x216)][_0x34ffaf[_0x46e69c(0x16d)]]&&this[_0x46e69c(0x216)][_0x34ffaf[_0x46e69c(0x16d)]][_0x46e69c(0xe1)](),this[_0x46e69c(0x1e9)][_0x46e69c(0xe6)](),this['_readyState']=_0x150b19[_0x46e69c(0xe0)],this['emit'](_0x46e69c(0xf2),this[_0x46e69c(0x208)],this[_0x46e69c(0x18d)]);}[_0x58d66e(0xf2)](_0xc57243,_0x4aae71){const _0x4ef424=_0x58d66e;if(this[_0x4ef424(0x24f)]!==_0x150b19[_0x4ef424(0xe0)]){if(this['readyState']===_0x150b19[_0x4ef424(0x1ff)]){_0x8b6526(this,this[_0x4ef424(0x18e)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}if(this[_0x4ef424(0x24f)]===_0x150b19[_0x4ef424(0xf4)]){this[_0x4ef424(0x199)]&&(this[_0x4ef424(0x1d3)]||this[_0x4ef424(0x1e9)]['_writableState'][_0x4ef424(0x139)])&&this[_0x4ef424(0x209)][_0x4ef424(0x18b)]();return;}this[_0x4ef424(0x103)]=_0x150b19['CLOSING'],this['_sender'][_0x4ef424(0xf2)](_0xc57243,_0x4aae71,!this[_0x4ef424(0xa0)],_0x448aa4=>{const _0x3df44b=_0x4ef424;_0x448aa4||(this[_0x3df44b(0x199)]=!0x0,(this[_0x3df44b(0x1d3)]||this[_0x3df44b(0x1e9)][_0x3df44b(0xf7)][_0x3df44b(0x139)])&&this[_0x3df44b(0x209)]['end']());}),_0x2726aa(this);}}[_0x58d66e(0x23c)](){const _0x97f477=_0x58d66e;this[_0x97f477(0x24f)]===_0x150b19[_0x97f477(0x1ff)]||this[_0x97f477(0x24f)]===_0x150b19[_0x97f477(0xe0)]||(this[_0x97f477(0x250)]=!0x0,this['_socket'][_0x97f477(0x23c)]());}[_0x58d66e(0x146)](_0x2826d6,_0x490a38,_0x1e452e){const _0x1b6bdb=_0x58d66e;if(this[_0x1b6bdb(0x24f)]===_0x150b19[_0x1b6bdb(0x1ff)])throw new Error(_0x1b6bdb(0x1e7));if(typeof _0x2826d6=='function'?(_0x1e452e=_0x2826d6,_0x2826d6=_0x490a38=void 0x0):typeof _0x490a38=='function'&&(_0x1e452e=_0x490a38,_0x490a38=void 0x0),typeof _0x2826d6==_0x1b6bdb(0x1fa)&&(_0x2826d6=_0x2826d6[_0x1b6bdb(0x234)]()),this[_0x1b6bdb(0x24f)]!==_0x150b19['OPEN']){_0x4f52fd(this,_0x2826d6,_0x1e452e);return;}_0x490a38===void 0x0&&(_0x490a38=!this['_isServer']),this[_0x1b6bdb(0x145)][_0x1b6bdb(0x146)](_0x2826d6||_0x1d36d0,_0x490a38,_0x1e452e);}[_0x58d66e(0x17e)](_0x26d4bd,_0x576d75,_0x5ade58){const _0x396a7f=_0x58d66e;if(this[_0x396a7f(0x24f)]===_0x150b19[_0x396a7f(0x1ff)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x26d4bd=='function'?(_0x5ade58=_0x26d4bd,_0x26d4bd=_0x576d75=void 0x0):typeof _0x576d75==_0x396a7f(0x9d)&&(_0x5ade58=_0x576d75,_0x576d75=void 0x0),typeof _0x26d4bd=='number'&&(_0x26d4bd=_0x26d4bd[_0x396a7f(0x234)]()),this[_0x396a7f(0x24f)]!==_0x150b19[_0x396a7f(0xb7)]){_0x4f52fd(this,_0x26d4bd,_0x5ade58);return;}_0x576d75===void 0x0&&(_0x576d75=!this[_0x396a7f(0xa0)]),this['_sender'][_0x396a7f(0x17e)](_0x26d4bd||_0x1d36d0,_0x576d75,_0x5ade58);}[_0x58d66e(0x235)](){const _0x26747a=_0x58d66e;this['readyState']===_0x150b19['CONNECTING']||this[_0x26747a(0x24f)]===_0x150b19[_0x26747a(0xe0)]||(this[_0x26747a(0x250)]=!0x1,this['_receiver'][_0x26747a(0xf7)]['needDrain']||this['_socket'][_0x26747a(0x235)]());}[_0x58d66e(0x10a)](_0x3bb882,_0x5e4a33,_0x3dc62b){const _0x179c10=_0x58d66e;if(this[_0x179c10(0x24f)]===_0x150b19[_0x179c10(0x1ff)])throw new Error(_0x179c10(0x1e7));if(typeof _0x5e4a33==_0x179c10(0x9d)&&(_0x3dc62b=_0x5e4a33,_0x5e4a33={}),typeof _0x3bb882=='number'&&(_0x3bb882=_0x3bb882['toString']()),this[_0x179c10(0x24f)]!==_0x150b19['OPEN']){_0x4f52fd(this,_0x3bb882,_0x3dc62b);return;}const _0x542aed={'binary':typeof _0x3bb882!=_0x179c10(0x171),'mask':!this[_0x179c10(0xa0)],'compress':!0x0,'fin':!0x0,..._0x5e4a33};this[_0x179c10(0x216)][_0x34ffaf[_0x179c10(0x16d)]]||(_0x542aed['compress']=!0x1),this[_0x179c10(0x145)]['send'](_0x3bb882||_0x1d36d0,_0x542aed,_0x3dc62b);}[_0x58d66e(0x189)](){const _0x59bc51=_0x58d66e;if(this[_0x59bc51(0x24f)]!==_0x150b19[_0x59bc51(0xe0)]){if(this[_0x59bc51(0x24f)]===_0x150b19['CONNECTING']){_0x8b6526(this,this[_0x59bc51(0x18e)],_0x59bc51(0x116));return;}this['_socket']&&(this[_0x59bc51(0x103)]=_0x150b19[_0x59bc51(0xf4)],this[_0x59bc51(0x209)][_0x59bc51(0x22f)]());}}}Object[_0x58d66e(0xa8)](_0x150b19,'CONNECTING',{'enumerable':!0x0,'value':_0x57f16f[_0x58d66e(0xd2)]('CONNECTING')}),Object[_0x58d66e(0xa8)](_0x150b19[_0x58d66e(0x158)],_0x58d66e(0x1ff),{'enumerable':!0x0,'value':_0x57f16f[_0x58d66e(0xd2)]('CONNECTING')}),Object['defineProperty'](_0x150b19,_0x58d66e(0xb7),{'enumerable':!0x0,'value':_0x57f16f['indexOf'](_0x58d66e(0xb7))}),Object['defineProperty'](_0x150b19[_0x58d66e(0x158)],_0x58d66e(0xb7),{'enumerable':!0x0,'value':_0x57f16f[_0x58d66e(0xd2)]('OPEN')}),Object[_0x58d66e(0xa8)](_0x150b19,_0x58d66e(0xf4),{'enumerable':!0x0,'value':_0x57f16f[_0x58d66e(0xd2)](_0x58d66e(0xf4))}),Object[_0x58d66e(0xa8)](_0x150b19['prototype'],_0x58d66e(0xf4),{'enumerable':!0x0,'value':_0x57f16f[_0x58d66e(0xd2)](_0x58d66e(0xf4))}),Object[_0x58d66e(0xa8)](_0x150b19,_0x58d66e(0xe0),{'enumerable':!0x0,'value':_0x57f16f[_0x58d66e(0xd2)](_0x58d66e(0xe0))}),Object[_0x58d66e(0xa8)](_0x150b19[_0x58d66e(0x158)],_0x58d66e(0xe0),{'enumerable':!0x0,'value':_0x57f16f[_0x58d66e(0xd2)]('CLOSED')}),[_0x58d66e(0x126),_0x58d66e(0x193),_0x58d66e(0x239),_0x58d66e(0x215),_0x58d66e(0x218),_0x58d66e(0x24f),'url'][_0x58d66e(0xa2)](_0x1c2435=>{const _0x8a6292=_0x58d66e;Object[_0x8a6292(0xa8)](_0x150b19[_0x8a6292(0x158)],_0x1c2435,{'enumerable':!0x0});}),[_0x58d66e(0x231),_0x58d66e(0x11c),_0x58d66e(0xf2),_0x58d66e(0x242)][_0x58d66e(0xa2)](_0x1da56e=>{const _0x270c71=_0x58d66e;Object[_0x270c71(0xa8)](_0x150b19[_0x270c71(0x158)],'on'+_0x1da56e,{'enumerable':!0x0,'get'(){const _0x5e631b=_0x270c71;for(const _0x10ddbc of this[_0x5e631b(0x21b)](_0x1da56e))if(_0x10ddbc[_0x115e93])return _0x10ddbc[_0x58c403];return null;},'set'(_0x4f887b){const _0xa203a6=_0x270c71;for(const _0x54efcd of this['listeners'](_0x1da56e))if(_0x54efcd[_0x115e93]){this['removeListener'](_0x1da56e,_0x54efcd);break;}typeof _0x4f887b=='function'&&this[_0xa203a6(0x1c6)](_0x1da56e,_0x4f887b,{[_0x115e93]:!0x0});}});}),_0x150b19[_0x58d66e(0x158)][_0x58d66e(0x1c6)]=_0x376d07,_0x150b19[_0x58d66e(0x158)][_0x58d66e(0x1d7)]=_0x18a738,we=_0x150b19;function _0x183149(_0x3582e2,_0x3cb282,_0x2ef69e,_0x9d6da7){const _0x22c4ac=_0x58d66e,_0x2f8534={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x29b8c5[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x9d6da7,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x3582e2['_autoPong']=_0x2f8534['autoPong'],!_0x29b8c5[_0x22c4ac(0x152)](_0x2f8534[_0x22c4ac(0xcf)]))throw new RangeError(_0x22c4ac(0xea)+_0x2f8534[_0x22c4ac(0xcf)]+_0x22c4ac(0x245)+_0x29b8c5[_0x22c4ac(0x150)](',\x20')+')');let _0x38e976;if(_0x3cb282 instanceof _0xeb06f7)_0x38e976=_0x3cb282;else try{_0x38e976=new _0xeb06f7(_0x3cb282);}catch{throw new SyntaxError(_0x22c4ac(0x25f)+_0x3cb282);}_0x38e976[_0x22c4ac(0x218)]===_0x22c4ac(0x149)?_0x38e976[_0x22c4ac(0x218)]=_0x22c4ac(0xef):_0x38e976[_0x22c4ac(0x218)]===_0x22c4ac(0xdd)&&(_0x38e976['protocol']=_0x22c4ac(0x1eb)),_0x3582e2['_url']=_0x38e976[_0x22c4ac(0x1ba)];const _0x30d2d5=_0x38e976[_0x22c4ac(0x218)]==='wss:',_0x2c0c90=_0x38e976[_0x22c4ac(0x218)]===_0x22c4ac(0x1c4);let _0x26f4d9;if(_0x38e976[_0x22c4ac(0x218)]!=='ws:'&&!_0x30d2d5&&!_0x2c0c90?_0x26f4d9=_0x22c4ac(0x108):_0x2c0c90&&!_0x38e976[_0x22c4ac(0x23b)]?_0x26f4d9='The\x20URL\x27s\x20pathname\x20is\x20empty':_0x38e976[_0x22c4ac(0x16a)]&&(_0x26f4d9=_0x22c4ac(0x21c)),_0x26f4d9){const _0x457ee4=new SyntaxError(_0x26f4d9);if(_0x3582e2[_0x22c4ac(0x14a)]===0x0)throw _0x457ee4;_0x734d93(_0x3582e2,_0x457ee4);return;}const _0x3d952a=_0x30d2d5?0x1bb:0x50,_0x478a75=_0x326ed2(0x10)['toString'](_0x22c4ac(0xb3)),_0x4b6ac6=_0x30d2d5?_0x1e1e52[_0x22c4ac(0x1f2)]:_0x46d92b[_0x22c4ac(0x1f2)],_0x164bee=new Set();let _0x790428;if(_0x2f8534[_0x22c4ac(0x265)]=_0x2f8534[_0x22c4ac(0x265)]||(_0x30d2d5?_0x980cfb:_0x14b99a),_0x2f8534[_0x22c4ac(0xa1)]=_0x2f8534[_0x22c4ac(0xa1)]||_0x3d952a,_0x2f8534['port']=_0x38e976[_0x22c4ac(0xd0)]||_0x3d952a,_0x2f8534[_0x22c4ac(0x227)]=_0x38e976[_0x22c4ac(0x202)]['startsWith']('[')?_0x38e976[_0x22c4ac(0x202)][_0x22c4ac(0x25e)](0x1,-0x1):_0x38e976[_0x22c4ac(0x202)],_0x2f8534[_0x22c4ac(0xf5)]={..._0x2f8534[_0x22c4ac(0xf5)],'Sec-WebSocket-Version':_0x2f8534[_0x22c4ac(0xcf)],'Sec-WebSocket-Key':_0x478a75,'Connection':'Upgrade','Upgrade':_0x22c4ac(0x12d)},_0x2f8534[_0x22c4ac(0x13c)]=_0x38e976[_0x22c4ac(0x23b)]+_0x38e976[_0x22c4ac(0xc5)],_0x2f8534[_0x22c4ac(0x1ee)]=_0x2f8534[_0x22c4ac(0x23d)],_0x2f8534[_0x22c4ac(0x1f4)]&&(_0x790428=new _0x34ffaf(_0x2f8534[_0x22c4ac(0x1f4)]!==!0x0?_0x2f8534['perMessageDeflate']:{},!0x1,_0x2f8534['maxPayload']),_0x2f8534[_0x22c4ac(0xf5)][_0x22c4ac(0xab)]=_0xcd2d38({[_0x34ffaf['extensionName']]:_0x790428[_0x22c4ac(0xf1)]()})),_0x2ef69e['length']){for(const _0x44b8e1 of _0x2ef69e){if(typeof _0x44b8e1!='string'||!_0x3156a6['test'](_0x44b8e1)||_0x164bee[_0x22c4ac(0xbb)](_0x44b8e1))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x164bee[_0x22c4ac(0x214)](_0x44b8e1);}_0x2f8534[_0x22c4ac(0xf5)][_0x22c4ac(0x1a7)]=_0x2ef69e['join'](',');}if(_0x2f8534[_0x22c4ac(0xbe)]&&(_0x2f8534['protocolVersion']<0xd?_0x2f8534[_0x22c4ac(0xf5)]['Sec-WebSocket-Origin']=_0x2f8534[_0x22c4ac(0xbe)]:_0x2f8534[_0x22c4ac(0xf5)][_0x22c4ac(0x1b5)]=_0x2f8534[_0x22c4ac(0xbe)]),(_0x38e976[_0x22c4ac(0xc2)]||_0x38e976[_0x22c4ac(0x1a1)])&&(_0x2f8534['auth']=_0x38e976[_0x22c4ac(0xc2)]+':'+_0x38e976['password']),_0x2c0c90){const _0x357582=_0x2f8534[_0x22c4ac(0x13c)][_0x22c4ac(0xfc)](':');_0x2f8534['socketPath']=_0x357582[0x0],_0x2f8534[_0x22c4ac(0x13c)]=_0x357582[0x1];}let _0x10c3cf;if(_0x2f8534['followRedirects']){if(_0x3582e2[_0x22c4ac(0x14a)]===0x0){_0x3582e2[_0x22c4ac(0xf9)]=_0x2c0c90,_0x3582e2[_0x22c4ac(0xee)]=_0x30d2d5,_0x3582e2[_0x22c4ac(0x1da)]=_0x2c0c90?_0x2f8534[_0x22c4ac(0xb8)]:_0x38e976[_0x22c4ac(0x227)];const _0x4893d4=_0x9d6da7&&_0x9d6da7[_0x22c4ac(0xf5)];if(_0x9d6da7={..._0x9d6da7,'headers':{}},_0x4893d4){for(const [_0x5b439e,_0x259992]of Object[_0x22c4ac(0xe8)](_0x4893d4))_0x9d6da7[_0x22c4ac(0xf5)][_0x5b439e[_0x22c4ac(0x16f)]()]=_0x259992;}}else{if(_0x3582e2[_0x22c4ac(0x173)](_0x22c4ac(0x178))===0x0){const _0x315649=_0x2c0c90?_0x3582e2[_0x22c4ac(0xf9)]?_0x2f8534['socketPath']===_0x3582e2[_0x22c4ac(0x1da)]:!0x1:_0x3582e2[_0x22c4ac(0xf9)]?!0x1:_0x38e976['host']===_0x3582e2['_originalHostOrSocketPath'];(!_0x315649||_0x3582e2[_0x22c4ac(0xee)]&&!_0x30d2d5)&&(delete _0x2f8534[_0x22c4ac(0xf5)][_0x22c4ac(0x210)],delete _0x2f8534['headers'][_0x22c4ac(0x20d)],_0x315649||delete _0x2f8534[_0x22c4ac(0xf5)]['host'],_0x2f8534[_0x22c4ac(0x182)]=void 0x0);}}_0x2f8534[_0x22c4ac(0x182)]&&!_0x9d6da7[_0x22c4ac(0xf5)][_0x22c4ac(0x210)]&&(_0x9d6da7['headers'][_0x22c4ac(0x210)]=_0x22c4ac(0x229)+Buffer[_0x22c4ac(0x26a)](_0x2f8534[_0x22c4ac(0x182)])[_0x22c4ac(0x234)](_0x22c4ac(0xb3))),_0x10c3cf=_0x3582e2[_0x22c4ac(0x18e)]=_0x4b6ac6(_0x2f8534),_0x3582e2[_0x22c4ac(0x14a)]&&_0x3582e2[_0x22c4ac(0x263)](_0x22c4ac(0x178),_0x3582e2[_0x22c4ac(0x123)],_0x10c3cf);}else _0x10c3cf=_0x3582e2[_0x22c4ac(0x18e)]=_0x4b6ac6(_0x2f8534);_0x2f8534[_0x22c4ac(0x1ee)]&&_0x10c3cf['on'](_0x22c4ac(0x1ee),()=>{const _0x738b10=_0x22c4ac;_0x8b6526(_0x3582e2,_0x10c3cf,_0x738b10(0x101));}),_0x10c3cf['on'](_0x22c4ac(0x11c),_0x387167=>{const _0x1c4330=_0x22c4ac;_0x10c3cf===null||_0x10c3cf[_0x4677a1]||(_0x10c3cf=_0x3582e2[_0x1c4330(0x18e)]=null,_0x734d93(_0x3582e2,_0x387167));}),_0x10c3cf['on'](_0x22c4ac(0x204),_0xa265bd=>{const _0x25ec71=_0x22c4ac,_0x320f7c=_0xa265bd['headers']['location'],_0x1648d7=_0xa265bd[_0x25ec71(0x12e)];if(_0x320f7c&&_0x2f8534[_0x25ec71(0xeb)]&&_0x1648d7>=0x12c&&_0x1648d7<0x190){if(++_0x3582e2[_0x25ec71(0x14a)]>_0x2f8534[_0x25ec71(0x253)]){_0x8b6526(_0x3582e2,_0x10c3cf,_0x25ec71(0x236));return;}_0x10c3cf[_0x25ec71(0x1be)]();let _0x5722c4;try{_0x5722c4=new _0xeb06f7(_0x320f7c,_0x3cb282);}catch{const _0x28877b=new SyntaxError('Invalid\x20URL:\x20'+_0x320f7c);_0x734d93(_0x3582e2,_0x28877b);return;}_0x183149(_0x3582e2,_0x5722c4,_0x2ef69e,_0x9d6da7);}else _0x3582e2[_0x25ec71(0x263)](_0x25ec71(0x21f),_0x10c3cf,_0xa265bd)||_0x8b6526(_0x3582e2,_0x10c3cf,_0x25ec71(0x20c)+_0xa265bd['statusCode']);}),_0x10c3cf['on'](_0x22c4ac(0x220),(_0x4cd1a8,_0x129dbe,_0x3c2541)=>{const _0x12d0d1=_0x22c4ac;if(_0x3582e2[_0x12d0d1(0x263)](_0x12d0d1(0x220),_0x4cd1a8),_0x3582e2[_0x12d0d1(0x24f)]!==_0x150b19['CONNECTING'])return;_0x10c3cf=_0x3582e2[_0x12d0d1(0x18e)]=null;const _0x297af3=_0x4cd1a8[_0x12d0d1(0xf5)][_0x12d0d1(0x220)];if(_0x297af3===void 0x0||_0x297af3[_0x12d0d1(0x16f)]()!=='websocket'){_0x8b6526(_0x3582e2,_0x129dbe,_0x12d0d1(0x25d));return;}const _0x4eae50=_0x3f0ad0('sha1')[_0x12d0d1(0x12c)](_0x478a75+_0x4119ad)['digest'](_0x12d0d1(0xb3));if(_0x4cd1a8[_0x12d0d1(0xf5)][_0x12d0d1(0x1e6)]!==_0x4eae50){_0x8b6526(_0x3582e2,_0x129dbe,_0x12d0d1(0x252));return;}const _0x3cb82c=_0x4cd1a8[_0x12d0d1(0xf5)][_0x12d0d1(0x1ad)];let _0x2e6d32;if(_0x3cb82c!==void 0x0?_0x164bee[_0x12d0d1(0xff)]?_0x164bee[_0x12d0d1(0xbb)](_0x3cb82c)||(_0x2e6d32=_0x12d0d1(0x25a)):_0x2e6d32='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0x164bee[_0x12d0d1(0xff)]&&(_0x2e6d32='Server\x20sent\x20no\x20subprotocol'),_0x2e6d32){_0x8b6526(_0x3582e2,_0x129dbe,_0x2e6d32);return;}_0x3cb82c&&(_0x3582e2['_protocol']=_0x3cb82c);const _0x32d2ad=_0x4cd1a8[_0x12d0d1(0xf5)]['sec-websocket-extensions'];if(_0x32d2ad!==void 0x0){if(!_0x790428){_0x8b6526(_0x3582e2,_0x129dbe,'Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested');return;}let _0x40e117;try{_0x40e117=_0x92c889(_0x32d2ad);}catch{_0x8b6526(_0x3582e2,_0x129dbe,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0x3c7a75=Object['keys'](_0x40e117);if(_0x3c7a75[_0x12d0d1(0x1ac)]!==0x1||_0x3c7a75[0x0]!==_0x34ffaf[_0x12d0d1(0x16d)]){_0x8b6526(_0x3582e2,_0x129dbe,_0x12d0d1(0x24b));return;}try{_0x790428['accept'](_0x40e117[_0x34ffaf[_0x12d0d1(0x16d)]]);}catch{_0x8b6526(_0x3582e2,_0x129dbe,_0x12d0d1(0x1a2));return;}_0x3582e2[_0x12d0d1(0x216)][_0x34ffaf[_0x12d0d1(0x16d)]]=_0x790428;}_0x3582e2[_0x12d0d1(0x17a)](_0x129dbe,_0x3c2541,{'allowSynchronousEvents':_0x2f8534[_0x12d0d1(0x25b)],'generateMask':_0x2f8534[_0x12d0d1(0x124)],'maxPayload':_0x2f8534[_0x12d0d1(0xa9)],'skipUTF8Validation':_0x2f8534[_0x12d0d1(0x172)]});}),_0x2f8534[_0x22c4ac(0x217)]?_0x2f8534[_0x22c4ac(0x217)](_0x10c3cf,_0x3582e2):_0x10c3cf[_0x22c4ac(0x18b)]();}function _0x734d93(_0x1cf254,_0x6b4253){const _0x2a2167=_0x58d66e;_0x1cf254[_0x2a2167(0x103)]=_0x150b19[_0x2a2167(0xf4)],_0x1cf254[_0x2a2167(0x127)]=!0x0,_0x1cf254[_0x2a2167(0x263)](_0x2a2167(0x11c),_0x6b4253),_0x1cf254['emitClose']();}function _0x14b99a(_0x321f2a){const _0x1344a1=_0x58d66e;return _0x321f2a['path']=_0x321f2a[_0x1344a1(0xb8)],_0x59b27d[_0x1344a1(0x110)](_0x321f2a);}function _0x980cfb(_0x1b4096){const _0x1c9c02=_0x58d66e;return _0x1b4096[_0x1c9c02(0x13c)]=void 0x0,!_0x1b4096[_0x1c9c02(0x1c8)]&&_0x1b4096[_0x1c9c02(0x1c8)]!==''&&(_0x1b4096[_0x1c9c02(0x1c8)]=_0x59b27d['isIP'](_0x1b4096['host'])?'':_0x1b4096[_0x1c9c02(0x227)]),_0x3f5c62[_0x1c9c02(0x110)](_0x1b4096);}function _0x8b6526(_0xe1cda,_0x3a358b,_0x1eca81){const _0x5a88e2=_0x58d66e;_0xe1cda[_0x5a88e2(0x103)]=_0x150b19[_0x5a88e2(0xf4)];const _0x21e665=new Error(_0x1eca81);Error[_0x5a88e2(0x138)](_0x21e665,_0x8b6526),_0x3a358b[_0x5a88e2(0xaa)]?(_0x3a358b[_0x4677a1]=!0x0,_0x3a358b[_0x5a88e2(0x1be)](),_0x3a358b['socket']&&!_0x3a358b[_0x5a88e2(0x1fb)]['destroyed']&&_0x3a358b[_0x5a88e2(0x1fb)]['destroy'](),process[_0x5a88e2(0x21d)](_0x734d93,_0xe1cda,_0x21e665)):(_0x3a358b[_0x5a88e2(0x22f)](_0x21e665),_0x3a358b['once']('error',_0xe1cda[_0x5a88e2(0x263)]['bind'](_0xe1cda,_0x5a88e2(0x11c))),_0x3a358b[_0x5a88e2(0x1a0)](_0x5a88e2(0xf2),_0xe1cda[_0x5a88e2(0x105)][_0x5a88e2(0x153)](_0xe1cda)));}function _0x4f52fd(_0x5b13dc,_0x570bb1,_0x45ca72){const _0x4ce441=_0x58d66e;if(_0x570bb1){const _0x28c203=_0x585cb6(_0x570bb1)?_0x570bb1['size']:_0x5f5c6a(_0x570bb1)[_0x4ce441(0x1ac)];_0x5b13dc[_0x4ce441(0x209)]?_0x5b13dc[_0x4ce441(0x145)][_0x4ce441(0x1d2)]+=_0x28c203:_0x5b13dc[_0x4ce441(0x14b)]+=_0x28c203;}if(_0x45ca72){const _0x567cc0=new Error(_0x4ce441(0x249)+_0x5b13dc[_0x4ce441(0x24f)]+'\x20('+_0x57f16f[_0x5b13dc[_0x4ce441(0x24f)]]+')');process['nextTick'](_0x45ca72,_0x567cc0);}}function _0x1e4799(_0x2ac754,_0x1e3bb4){const _0x578ca7=_0x58d66e,_0xe6e2c4=this[_0x55ec89];_0xe6e2c4[_0x578ca7(0x1d3)]=!0x0,_0xe6e2c4[_0x578ca7(0x18d)]=_0x1e3bb4,_0xe6e2c4[_0x578ca7(0x208)]=_0x2ac754,_0xe6e2c4[_0x578ca7(0x209)][_0x55ec89]!==void 0x0&&(_0xe6e2c4[_0x578ca7(0x209)][_0x578ca7(0x20b)](_0x578ca7(0x161),_0x6a5cfc),process[_0x578ca7(0x21d)](_0x16c17f,_0xe6e2c4[_0x578ca7(0x209)]),_0x2ac754===0x3ed?_0xe6e2c4['close']():_0xe6e2c4['close'](_0x2ac754,_0x1e3bb4));}function _0x5960e1(){const _0x17e8ad=_0x58d66e,_0x509db3=this[_0x55ec89];_0x509db3[_0x17e8ad(0x215)]||_0x509db3[_0x17e8ad(0x209)][_0x17e8ad(0x235)]();}function _0x256efa(_0x41c8e1){const _0x14ba43=_0x58d66e,_0xdedf3b=this[_0x55ec89];_0xdedf3b[_0x14ba43(0x209)][_0x55ec89]!==void 0x0&&(_0xdedf3b['_socket'][_0x14ba43(0x20b)](_0x14ba43(0x161),_0x6a5cfc),process['nextTick'](_0x16c17f,_0xdedf3b[_0x14ba43(0x209)]),_0xdedf3b[_0x14ba43(0xf2)](_0x41c8e1[_0x40fe49])),_0xdedf3b[_0x14ba43(0x127)]||(_0xdedf3b['_errorEmitted']=!0x0,_0xdedf3b[_0x14ba43(0x263)](_0x14ba43(0x11c),_0x41c8e1));}function _0x2f8562(){const _0x5cab5b=_0x58d66e;this[_0x55ec89][_0x5cab5b(0x105)]();}function _0x16660c(_0x17849a,_0x2e94e5){const _0x263691=_0x58d66e;this[_0x55ec89][_0x263691(0x263)](_0x263691(0x242),_0x17849a,_0x2e94e5);}function _0x4e1d33(_0x16cb28){const _0x22a2f9=_0x58d66e,_0x4eae8f=this[_0x55ec89];_0x4eae8f[_0x22a2f9(0xbd)]&&_0x4eae8f['pong'](_0x16cb28,!this[_0x22a2f9(0xa0)],_0x60c14),_0x4eae8f[_0x22a2f9(0x263)](_0x22a2f9(0x146),_0x16cb28);}function _0x5690ae(_0x44ee8d){const _0x241941=_0x58d66e;this[_0x55ec89][_0x241941(0x263)](_0x241941(0x17e),_0x44ee8d);}function _0x16c17f(_0x4a5da2){_0x4a5da2['resume']();}function _0x38219c(_0xab39fd){const _0x5ae74d=_0x58d66e,_0x26d231=this[_0x55ec89];_0x26d231['readyState']!==_0x150b19[_0x5ae74d(0xe0)]&&(_0x26d231[_0x5ae74d(0x24f)]===_0x150b19[_0x5ae74d(0xb7)]&&(_0x26d231['_readyState']=_0x150b19[_0x5ae74d(0xf4)],_0x2726aa(_0x26d231)),this[_0x5ae74d(0x209)]['end'](),_0x26d231[_0x5ae74d(0x127)]||(_0x26d231[_0x5ae74d(0x127)]=!0x0,_0x26d231['emit']('error',_0xab39fd)));}function _0x2726aa(_0xce3b0f){const _0x8ca754=_0x58d66e;_0xce3b0f[_0x8ca754(0x1a6)]=setTimeout(_0xce3b0f[_0x8ca754(0x209)][_0x8ca754(0x22f)][_0x8ca754(0x153)](_0xce3b0f['_socket']),_0x336687);}function _0x1c069f(){const _0x32808b=_0x58d66e,_0x256667=this[_0x55ec89];this[_0x32808b(0x20b)](_0x32808b(0xf2),_0x1c069f),this['removeListener'](_0x32808b(0x161),_0x6a5cfc),this[_0x32808b(0x20b)](_0x32808b(0x18b),_0x4275fc),_0x256667[_0x32808b(0x103)]=_0x150b19[_0x32808b(0xf4)];let _0x44158f;!this[_0x32808b(0x1f3)][_0x32808b(0x1c7)]&&!_0x256667[_0x32808b(0x1d3)]&&!_0x256667[_0x32808b(0x1e9)][_0x32808b(0xf7)]['errorEmitted']&&(_0x44158f=_0x256667[_0x32808b(0x209)]['read']())!==null&&_0x256667[_0x32808b(0x1e9)]['write'](_0x44158f),_0x256667[_0x32808b(0x1e9)]['end'](),this[_0x55ec89]=void 0x0,clearTimeout(_0x256667[_0x32808b(0x1a6)]),_0x256667[_0x32808b(0x1e9)][_0x32808b(0xf7)]['finished']||_0x256667[_0x32808b(0x1e9)][_0x32808b(0xf7)]['errorEmitted']?_0x256667[_0x32808b(0x105)]():(_0x256667[_0x32808b(0x1e9)]['on'](_0x32808b(0x11c),_0x2f8562),_0x256667[_0x32808b(0x1e9)]['on'](_0x32808b(0x112),_0x2f8562));}function _0x6a5cfc(_0x273ab8){const _0x1b9b05=_0x58d66e;this[_0x55ec89]['_receiver'][_0x1b9b05(0x14c)](_0x273ab8)||this['pause']();}function _0x4275fc(){const _0x1b32c3=_0x58d66e,_0xa6a557=this[_0x55ec89];_0xa6a557['_readyState']=_0x150b19[_0x1b32c3(0xf4)],_0xa6a557[_0x1b32c3(0x1e9)][_0x1b32c3(0x18b)](),this[_0x1b32c3(0x18b)]();}function _0x4d130b(){const _0x26f93e=_0x58d66e,_0x1dde82=this[_0x55ec89];this['removeListener'](_0x26f93e(0x11c),_0x4d130b),this['on'](_0x26f93e(0x11c),_0x60c14),_0x1dde82&&(_0x1dde82['_readyState']=_0x150b19[_0x26f93e(0xf4)],this[_0x26f93e(0x22f)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x40d328}=oe;function _0x78026c(_0x45f377){const _0x4fa7c6=_0xfddf;_0x45f377[_0x4fa7c6(0x263)](_0x4fa7c6(0xf2));}function _0x5e910a(){const _0x125a58=_0xfddf;!this[_0x125a58(0x147)]&&this[_0x125a58(0xf7)]['finished']&&this[_0x125a58(0x22f)]();}function _0x512b99(_0x41a6bb){const _0x1925be=_0xfddf;this[_0x1925be(0x20b)]('error',_0x512b99),this['destroy'](),this['listenerCount'](_0x1925be(0x11c))===0x0&&this[_0x1925be(0x263)](_0x1925be(0x11c),_0x41a6bb);}function _0x3f7f39(_0xc0bb17,_0x579429){const _0x3a72c8=_0xfddf;let _0x1b3d59=!0x0;const _0x281523=new _0x40d328({..._0x579429,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0xc0bb17['on'](_0x3a72c8(0x242),function(_0x38039d,_0x257bf1){const _0x40d52d=_0x3a72c8,_0xa193fd=!_0x257bf1&&_0x281523[_0x40d52d(0x1f3)][_0x40d52d(0x20e)]?_0x38039d['toString']():_0x38039d;_0x281523[_0x40d52d(0x260)](_0xa193fd)||_0xc0bb17[_0x40d52d(0x23c)]();}),_0xc0bb17[_0x3a72c8(0x1a0)]('error',function(_0x2a8380){const _0x270fee=_0x3a72c8;_0x281523[_0x270fee(0x147)]||(_0x1b3d59=!0x1,_0x281523[_0x270fee(0x22f)](_0x2a8380));}),_0xc0bb17[_0x3a72c8(0x1a0)](_0x3a72c8(0xf2),function(){const _0x5743ba=_0x3a72c8;_0x281523['destroyed']||_0x281523[_0x5743ba(0x260)](null);}),_0x281523[_0x3a72c8(0x1a4)]=function(_0x582573,_0x27bfc5){const _0x56985c=_0x3a72c8;if(_0xc0bb17[_0x56985c(0x24f)]===_0xc0bb17['CLOSED']){_0x27bfc5(_0x582573),process[_0x56985c(0x21d)](_0x78026c,_0x281523);return;}let _0x16bbfe=!0x1;_0xc0bb17[_0x56985c(0x1a0)](_0x56985c(0x11c),function(_0x44dd54){_0x16bbfe=!0x0,_0x27bfc5(_0x44dd54);}),_0xc0bb17[_0x56985c(0x1a0)](_0x56985c(0xf2),function(){const _0x445d7f=_0x56985c;_0x16bbfe||_0x27bfc5(_0x582573),process[_0x445d7f(0x21d)](_0x78026c,_0x281523);}),_0x1b3d59&&_0xc0bb17['terminate']();},_0x281523[_0x3a72c8(0x185)]=function(_0x1e51a2){const _0x35f523=_0x3a72c8;if(_0xc0bb17[_0x35f523(0x24f)]===_0xc0bb17['CONNECTING']){_0xc0bb17[_0x35f523(0x1a0)](_0x35f523(0x231),function(){const _0x3c70aa=_0x35f523;_0x281523[_0x3c70aa(0x185)](_0x1e51a2);});return;}_0xc0bb17[_0x35f523(0x209)]!==null&&(_0xc0bb17[_0x35f523(0x209)][_0x35f523(0xf7)][_0x35f523(0xad)]?(_0x1e51a2(),_0x281523[_0x35f523(0x1f3)][_0x35f523(0x1c7)]&&_0x281523[_0x35f523(0x22f)]()):(_0xc0bb17[_0x35f523(0x209)][_0x35f523(0x1a0)](_0x35f523(0x112),function(){_0x1e51a2();}),_0xc0bb17['close']()));},_0x281523[_0x3a72c8(0x111)]=function(){const _0x1ff389=_0x3a72c8;_0xc0bb17['isPaused']&&_0xc0bb17[_0x1ff389(0x235)]();},_0x281523[_0x3a72c8(0x261)]=function(_0xa692cb,_0x39b4e2,_0x4daf9b){const _0x3a9ddb=_0x3a72c8;if(_0xc0bb17[_0x3a9ddb(0x24f)]===_0xc0bb17['CONNECTING']){_0xc0bb17[_0x3a9ddb(0x1a0)]('open',function(){_0x281523['_write'](_0xa692cb,_0x39b4e2,_0x4daf9b);});return;}_0xc0bb17[_0x3a9ddb(0x10a)](_0xa692cb,_0x4daf9b);},_0x281523['on'](_0x3a72c8(0x18b),_0x5e910a),_0x281523['on'](_0x3a72c8(0x11c),_0x512b99),_0x281523;}return Oe=_0x3f7f39,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x4e4b01}=ae();function _0xbd1d14(_0x510972){const _0x147919=_0xfddf,_0x3842e6=new Set();let _0x5dd7b0=-0x1,_0x40d278=-0x1,_0x3f8221=0x0;for(_0x3f8221;_0x3f8221<_0x510972[_0x147919(0x1ac)];_0x3f8221++){const _0x399736=_0x510972[_0x147919(0xfe)](_0x3f8221);if(_0x40d278===-0x1&&_0x4e4b01[_0x399736]===0x1)_0x5dd7b0===-0x1&&(_0x5dd7b0=_0x3f8221);else{if(_0x3f8221!==0x0&&(_0x399736===0x20||_0x399736===0x9))_0x40d278===-0x1&&_0x5dd7b0!==-0x1&&(_0x40d278=_0x3f8221);else{if(_0x399736===0x2c){if(_0x5dd7b0===-0x1)throw new SyntaxError(_0x147919(0x207)+_0x3f8221);_0x40d278===-0x1&&(_0x40d278=_0x3f8221);const _0xe85fbe=_0x510972['slice'](_0x5dd7b0,_0x40d278);if(_0x3842e6[_0x147919(0xbb)](_0xe85fbe))throw new SyntaxError(_0x147919(0x221)+_0xe85fbe+_0x147919(0x9c));_0x3842e6[_0x147919(0x214)](_0xe85fbe),_0x5dd7b0=_0x40d278=-0x1;}else throw new SyntaxError(_0x147919(0x207)+_0x3f8221);}}}if(_0x5dd7b0===-0x1||_0x40d278!==-0x1)throw new SyntaxError(_0x147919(0x224));const _0x2f8b0a=_0x510972['slice'](_0x5dd7b0,_0x3f8221);if(_0x3842e6[_0x147919(0xbb)](_0x2f8b0a))throw new SyntaxError(_0x147919(0x221)+_0x2f8b0a+_0x147919(0x9c));return _0x3842e6[_0x147919(0x214)](_0x2f8b0a),_0x3842e6;}return Ce={'parse':_0xbd1d14},Ce;}var Te,rt;function Ft(){const _0x448b65=_0x2511b9;if(rt)return Te;rt=0x1;const _0x428eea=nt,_0x5c0779=ot,{Duplex:_0x3e668a}=oe,{createHash:_0x508e5b}=Le,_0x377f55=ct(),_0x2c73d4=he(),_0x4a7441=At(),_0x58d6b8=Pe(),{GUID:_0x2ee958,kWebSocket:_0x598c8a}=H(),_0x542309=/^[+/0-9A-Za-z]{22}==$/,_0x277502=0x0,_0x1328d9=0x1,_0x59adfa=0x2;class _0x59af79 extends _0x428eea{constructor(_0x259f2f,_0x5e9d84){const _0x455b0e=_0xfddf;if(super(),_0x259f2f={'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':_0x58d6b8,..._0x259f2f},_0x259f2f[_0x455b0e(0xd0)]==null&&!_0x259f2f['server']&&!_0x259f2f[_0x455b0e(0x109)]||_0x259f2f[_0x455b0e(0xd0)]!=null&&(_0x259f2f[_0x455b0e(0x1f7)]||_0x259f2f[_0x455b0e(0x109)])||_0x259f2f[_0x455b0e(0x1f7)]&&_0x259f2f[_0x455b0e(0x109)])throw new TypeError('One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified');if(_0x259f2f['port']!=null?(this[_0x455b0e(0x269)]=_0x5c0779[_0x455b0e(0x203)]((_0xf38837,_0x4ac61f)=>{const _0x1214c3=_0x455b0e,_0xa0411c=_0x5c0779[_0x1214c3(0x1a3)][0x1aa];_0x4ac61f['writeHead'](0x1aa,{'Content-Length':_0xa0411c[_0x1214c3(0x1ac)],'Content-Type':_0x1214c3(0x213)}),_0x4ac61f[_0x1214c3(0x18b)](_0xa0411c);}),this['_server'][_0x455b0e(0x258)](_0x259f2f[_0x455b0e(0xd0)],_0x259f2f[_0x455b0e(0x227)],_0x259f2f[_0x455b0e(0xe7)],_0x5e9d84)):_0x259f2f[_0x455b0e(0x1f7)]&&(this[_0x455b0e(0x269)]=_0x259f2f[_0x455b0e(0x1f7)]),this[_0x455b0e(0x269)]){const _0x47a7a2=this[_0x455b0e(0x263)][_0x455b0e(0x153)](this,_0x455b0e(0xa6));this[_0x455b0e(0x1a8)]=_0x50f962(this[_0x455b0e(0x269)],{'listening':this[_0x455b0e(0x263)][_0x455b0e(0x153)](this,_0x455b0e(0x240)),'error':this['emit'][_0x455b0e(0x153)](this,_0x455b0e(0x11c)),'upgrade':(_0x91cf40,_0x18b268,_0x3a2a3d)=>{this['handleUpgrade'](_0x91cf40,_0x18b268,_0x3a2a3d,_0x47a7a2);}});}_0x259f2f[_0x455b0e(0x1f4)]===!0x0&&(_0x259f2f[_0x455b0e(0x1f4)]={}),_0x259f2f[_0x455b0e(0x19e)]&&(this[_0x455b0e(0xdf)]=new Set(),this['_shouldEmitClose']=!0x1),this[_0x455b0e(0x257)]=_0x259f2f,this[_0x455b0e(0x1b0)]=_0x277502;}['address'](){const _0x314834=_0xfddf;if(this[_0x314834(0x257)][_0x314834(0x109)])throw new Error(_0x314834(0x9f));return this[_0x314834(0x269)]?this[_0x314834(0x269)]['address']():null;}['close'](_0x2f067c){const _0x142317=_0xfddf;if(this[_0x142317(0x1b0)]===_0x59adfa){_0x2f067c&&this[_0x142317(0x1a0)](_0x142317(0xf2),()=>{const _0x23200e=_0x142317;_0x2f067c(new Error(_0x23200e(0x157)));}),process[_0x142317(0x21d)](_0x2e0301,this);return;}if(_0x2f067c&&this[_0x142317(0x1a0)](_0x142317(0xf2),_0x2f067c),this[_0x142317(0x1b0)]!==_0x1328d9){if(this['_state']=_0x1328d9,this[_0x142317(0x257)][_0x142317(0x109)]||this[_0x142317(0x257)]['server'])this[_0x142317(0x269)]&&(this['_removeListeners'](),this['_removeListeners']=this[_0x142317(0x269)]=null),this[_0x142317(0xdf)]?this[_0x142317(0xdf)][_0x142317(0xff)]?this[_0x142317(0xcb)]=!0x0:process[_0x142317(0x21d)](_0x2e0301,this):process[_0x142317(0x21d)](_0x2e0301,this);else{const _0x548d73=this[_0x142317(0x269)];this[_0x142317(0x1a8)](),this['_removeListeners']=this['_server']=null,_0x548d73['close'](()=>{_0x2e0301(this);});}}}['shouldHandle'](_0x381187){const _0x3551ad=_0xfddf;if(this[_0x3551ad(0x257)][_0x3551ad(0x13c)]){const _0x556788=_0x381187['url'][_0x3551ad(0xd2)]('?');if((_0x556788!==-0x1?_0x381187['url'][_0x3551ad(0x25e)](0x0,_0x556788):_0x381187[_0x3551ad(0x123)])!==this[_0x3551ad(0x257)]['path'])return!0x1;}return!0x0;}[_0x448b65(0x155)](_0x57661e,_0x372ded,_0x42b9,_0x3d19aa){const _0x1944e4=_0x448b65;_0x372ded['on'](_0x1944e4(0x11c),_0x278f91);const _0x46cfc8=_0x57661e[_0x1944e4(0xf5)]['sec-websocket-key'],_0x335dc7=_0x57661e['headers'][_0x1944e4(0x220)],_0x487623=+_0x57661e['headers'][_0x1944e4(0x13b)];if(_0x57661e[_0x1944e4(0x24a)]!==_0x1944e4(0x129)){_0x1f4dd5(this,_0x57661e,_0x372ded,0x195,_0x1944e4(0xdc));return;}if(_0x335dc7===void 0x0||_0x335dc7['toLowerCase']()!==_0x1944e4(0x12d)){_0x1f4dd5(this,_0x57661e,_0x372ded,0x190,'Invalid\x20Upgrade\x20header');return;}if(_0x46cfc8===void 0x0||!_0x542309[_0x1944e4(0x11f)](_0x46cfc8)){_0x1f4dd5(this,_0x57661e,_0x372ded,0x190,_0x1944e4(0x10c));return;}if(_0x487623!==0x8&&_0x487623!==0xd){_0x1f4dd5(this,_0x57661e,_0x372ded,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header');return;}if(!this[_0x1944e4(0x132)](_0x57661e)){_0x3ef595(_0x372ded,0x190);return;}const _0x21fac6=_0x57661e[_0x1944e4(0xf5)][_0x1944e4(0x1ad)];let _0x20a97e=new Set();if(_0x21fac6!==void 0x0)try{_0x20a97e=_0x4a7441[_0x1944e4(0xf3)](_0x21fac6);}catch{_0x1f4dd5(this,_0x57661e,_0x372ded,0x190,_0x1944e4(0x1bb));return;}const _0x2c7258=_0x57661e['headers'][_0x1944e4(0x264)],_0x4b96bd={};if(this['options'][_0x1944e4(0x1f4)]&&_0x2c7258!==void 0x0){const _0x2938e6=new _0x2c73d4(this['options'][_0x1944e4(0x1f4)],!0x0,this[_0x1944e4(0x257)][_0x1944e4(0xa9)]);try{const _0x4f3a8c=_0x377f55['parse'](_0x2c7258);_0x4f3a8c[_0x2c73d4['extensionName']]&&(_0x2938e6[_0x1944e4(0x114)](_0x4f3a8c[_0x2c73d4['extensionName']]),_0x4b96bd[_0x2c73d4[_0x1944e4(0x16d)]]=_0x2938e6);}catch{_0x1f4dd5(this,_0x57661e,_0x372ded,0x190,_0x1944e4(0x1dd));return;}}if(this[_0x1944e4(0x257)]['verifyClient']){const _0x13b061={'origin':_0x57661e[_0x1944e4(0xf5)][''+(_0x487623===0x8?_0x1944e4(0xe4):_0x1944e4(0xbe))],'secure':!!(_0x57661e[_0x1944e4(0x1fb)]['authorized']||_0x57661e[_0x1944e4(0x1fb)][_0x1944e4(0xcd)]),'req':_0x57661e};if(this['options'][_0x1944e4(0x162)][_0x1944e4(0x1ac)]===0x2){this[_0x1944e4(0x257)][_0x1944e4(0x162)](_0x13b061,(_0x117559,_0x42f5fb,_0x187b75,_0x39f5dd)=>{if(!_0x117559)return _0x3ef595(_0x372ded,_0x42f5fb||0x191,_0x187b75,_0x39f5dd);this['completeUpgrade'](_0x4b96bd,_0x46cfc8,_0x20a97e,_0x57661e,_0x372ded,_0x42b9,_0x3d19aa);});return;}if(!this[_0x1944e4(0x257)][_0x1944e4(0x162)](_0x13b061))return _0x3ef595(_0x372ded,0x191);}this[_0x1944e4(0xa7)](_0x4b96bd,_0x46cfc8,_0x20a97e,_0x57661e,_0x372ded,_0x42b9,_0x3d19aa);}[_0x448b65(0xa7)](_0x129602,_0x160377,_0x4acdb3,_0x4b7031,_0x3ba0ea,_0xc4876,_0x679c02){const _0x50eb24=_0x448b65;if(!_0x3ba0ea[_0x50eb24(0x183)]||!_0x3ba0ea[_0x50eb24(0xc7)])return _0x3ba0ea[_0x50eb24(0x22f)]();if(_0x3ba0ea[_0x598c8a])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this[_0x50eb24(0x1b0)]>_0x277502)return _0x3ef595(_0x3ba0ea,0x1f7);const _0x21fdf4=[_0x50eb24(0xc9),_0x50eb24(0x23f),'Connection:\x20Upgrade',_0x50eb24(0x121)+_0x508e5b('sha1')[_0x50eb24(0x12c)](_0x160377+_0x2ee958)['digest'](_0x50eb24(0xb3))],_0x1615bc=new this[(_0x50eb24(0x257))][(_0x50eb24(0x255))](null,void 0x0,this[_0x50eb24(0x257)]);if(_0x4acdb3[_0x50eb24(0xff)]){const _0x2137d6=this[_0x50eb24(0x257)][_0x50eb24(0x1e0)]?this['options']['handleProtocols'](_0x4acdb3,_0x4b7031):_0x4acdb3[_0x50eb24(0x134)]()[_0x50eb24(0x232)]()[_0x50eb24(0x10d)];_0x2137d6&&(_0x21fdf4[_0x50eb24(0x260)](_0x50eb24(0xa5)+_0x2137d6),_0x1615bc[_0x50eb24(0x219)]=_0x2137d6);}if(_0x129602[_0x2c73d4[_0x50eb24(0x16d)]]){const _0x2c756f=_0x129602[_0x2c73d4['extensionName']]['params'],_0x305b20=_0x377f55[_0x50eb24(0x23a)]({[_0x2c73d4['extensionName']]:[_0x2c756f]});_0x21fdf4['push'](_0x50eb24(0x243)+_0x305b20),_0x1615bc[_0x50eb24(0x216)]=_0x129602;}this[_0x50eb24(0x263)](_0x50eb24(0xf5),_0x21fdf4,_0x4b7031),_0x3ba0ea[_0x50eb24(0x14c)](_0x21fdf4[_0x50eb24(0x140)]('\x0d\x0a')[_0x50eb24(0x150)]('\x0d\x0a')),_0x3ba0ea[_0x50eb24(0x20b)]('error',_0x278f91),_0x1615bc[_0x50eb24(0x17a)](_0x3ba0ea,_0xc4876,{'allowSynchronousEvents':this['options'][_0x50eb24(0x25b)],'maxPayload':this[_0x50eb24(0x257)][_0x50eb24(0xa9)],'skipUTF8Validation':this['options']['skipUTF8Validation']}),this[_0x50eb24(0xdf)]&&(this[_0x50eb24(0xdf)][_0x50eb24(0x214)](_0x1615bc),_0x1615bc['on'](_0x50eb24(0xf2),()=>{const _0xc35c7f=_0x50eb24;this['clients'][_0xc35c7f(0x1d4)](_0x1615bc),this[_0xc35c7f(0xcb)]&&!this[_0xc35c7f(0xdf)][_0xc35c7f(0xff)]&&process['nextTick'](_0x2e0301,this);})),_0x679c02(_0x1615bc,_0x4b7031);}}Te=_0x59af79;function _0x50f962(_0x3778ed,_0xf9a41a){const _0x437037=_0x448b65;for(const _0x34f481 of Object[_0x437037(0x225)](_0xf9a41a))_0x3778ed['on'](_0x34f481,_0xf9a41a[_0x34f481]);return function(){const _0xb3068a=_0x437037;for(const _0x3c7aeb of Object[_0xb3068a(0x225)](_0xf9a41a))_0x3778ed[_0xb3068a(0x20b)](_0x3c7aeb,_0xf9a41a[_0x3c7aeb]);};}function _0x2e0301(_0x213256){const _0x5eedd7=_0x448b65;_0x213256[_0x5eedd7(0x1b0)]=_0x59adfa,_0x213256[_0x5eedd7(0x263)](_0x5eedd7(0xf2));}function _0x278f91(){const _0x30b172=_0x448b65;this[_0x30b172(0x22f)]();}function _0x3ef595(_0x2732bb,_0x3455f5,_0x22b42c,_0x29d15b){const _0x13b80c=_0x448b65;_0x22b42c=_0x22b42c||_0x5c0779[_0x13b80c(0x1a3)][_0x3455f5],_0x29d15b={'Connection':_0x13b80c(0xf2),'Content-Type':_0x13b80c(0x1d1),'Content-Length':Buffer[_0x13b80c(0x1db)](_0x22b42c),..._0x29d15b},_0x2732bb[_0x13b80c(0x1a0)]('finish',_0x2732bb[_0x13b80c(0x22f)]),_0x2732bb['end']('HTTP/1.1\x20'+_0x3455f5+'\x20'+_0x5c0779[_0x13b80c(0x1a3)][_0x3455f5]+'\x0d\x0a'+Object[_0x13b80c(0x225)](_0x29d15b)[_0x13b80c(0x12f)](_0x4df6ec=>_0x4df6ec+':\x20'+_0x29d15b[_0x4df6ec])[_0x13b80c(0x150)]('\x0d\x0a')+_0x13b80c(0x254)+_0x22b42c);}function _0x1f4dd5(_0x1aad99,_0x1ae622,_0x730376,_0x2aa4a6,_0x337df4){const _0x1d1a51=_0x448b65;if(_0x1aad99['listenerCount']('wsClientError')){const _0xa233e4=new Error(_0x337df4);Error[_0x1d1a51(0x138)](_0xa233e4,_0x1f4dd5),_0x1aad99[_0x1d1a51(0x263)](_0x1d1a51(0x20a),_0xa233e4,_0x730376,_0x1ae622);}else _0x3ef595(_0x730376,_0x2aa4a6,_0x337df4);}return Te;}Ft();var jt=Object['getOwnPropertyDescriptor'],Wt=(_0x540680,_0x58e1e7,_0x338847,_0x651718)=>{for(var _0x275d1a=_0x651718>0x1?void 0x0:_0x651718?jt(_0x58e1e7,_0x338847):_0x58e1e7,_0x56f16b=_0x540680['length']-0x1,_0x3ded86;_0x56f16b>=0x0;_0x56f16b--)(_0x3ded86=_0x540680[_0x56f16b])&&(_0x275d1a=_0x3ded86(_0x275d1a)||_0x275d1a);return _0x275d1a;},qt=(_0x53b787,_0x322a07)=>(_0x3249c3,_0x5a076b)=>_0x322a07(_0x3249c3,_0x5a076b,_0x53b787);let ke=class extends A['Disposable']{constructor(_0x433e95){super(),this['_configService']=_0x433e95;}[_0x2511b9(0x1f6)](_0x22b4b0){const _0x13b5f7=_0x2511b9;var _0x30704f;const _0x5b288a=(_0x30704f=this[_0x13b5f7(0x1b2)][_0x13b5f7(0x184)](fe))==null?void 0x0:_0x30704f[_0x13b5f7(0xc4)];try{const _0x569e4e=new $t(_0x22b4b0,{'headers':{..._0x5b288a}}),_0x558b50=new A[(_0x13b5f7(0x198))]();return{'URL':_0x22b4b0,'close':(_0x1a8ecd,_0x1bd761)=>{const _0x489576=_0x13b5f7;_0x569e4e[_0x489576(0xf2)](_0x1a8ecd,_0x1bd761),_0x558b50['dispose']();},'send':_0x256f0c=>{const _0x315bc6=_0x13b5f7;_0x569e4e[_0x315bc6(0x10a)](_0x256f0c);},'open$':new V[(_0x13b5f7(0xba))](_0x23cddd=>{const _0x282f10=_0x13b5f7,_0x1098e4=_0xed164a=>_0x23cddd[_0x282f10(0x232)](_0xed164a);_0x569e4e[_0x282f10(0x1c6)](_0x282f10(0x231),_0x1098e4),_0x558b50[_0x282f10(0x214)](A[_0x282f10(0x10b)](()=>_0x569e4e['removeEventListener'](_0x282f10(0x231),_0x1098e4)));})[_0x13b5f7(0x18c)](V[_0x13b5f7(0x117)]()),'close$':new V[(_0x13b5f7(0xba))](_0x57b642=>{const _0x457fb5=_0x13b5f7,_0x36abb5=_0x24d65a=>_0x57b642[_0x457fb5(0x232)](_0x24d65a);_0x569e4e['addEventListener'](_0x457fb5(0xf2),_0x36abb5),_0x558b50[_0x457fb5(0x214)](A[_0x457fb5(0x10b)](()=>_0x569e4e[_0x457fb5(0x1d7)](_0x457fb5(0xf2),_0x36abb5)));})[_0x13b5f7(0x18c)](V[_0x13b5f7(0x117)]()),'error$':new V[(_0x13b5f7(0xba))](_0x185d55=>{const _0x2dc80c=_0x13b5f7,_0x57bd3c=_0x35b024=>_0x185d55[_0x2dc80c(0x232)](_0x35b024);_0x569e4e['addEventListener']('error',_0x57bd3c),_0x558b50[_0x2dc80c(0x214)](A['toDisposable'](()=>_0x569e4e[_0x2dc80c(0x1d7)](_0x2dc80c(0x11c),_0x57bd3c)));})[_0x13b5f7(0x18c)](V['share']()),'message$':new V[(_0x13b5f7(0xba))](_0x26a452=>{const _0x3ac276=_0x13b5f7,_0x569a15=_0x3668ce=>_0x26a452[_0x3ac276(0x232)](_0x3668ce);_0x569e4e[_0x3ac276(0x1c6)](_0x3ac276(0x242),_0x569a15),_0x558b50[_0x3ac276(0x214)](A[_0x3ac276(0x10b)](()=>_0x569e4e[_0x3ac276(0x1d7)](_0x3ac276(0x242),_0x569a15)));})['pipe'](V[_0x13b5f7(0x117)]())};}catch(_0x531774){return console[_0x13b5f7(0x11c)](_0x531774),null;}}};ke=Wt([qt(0x0,A[_0x2511b9(0x186)])],ke);var Gt=Object[_0x2511b9(0xa8)],Vt=Object[_0x2511b9(0x17b)],Ht=(_0xa364b2,_0x2138e6,_0x554e04)=>_0x2138e6 in _0xa364b2?Gt(_0xa364b2,_0x2138e6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x554e04}):_0xa364b2[_0x2138e6]=_0x554e04,zt=(_0x425270,_0x3c575a,_0x372c44,_0x2ec8ae)=>{const _0x23944f=_0x2511b9;for(var _0x246031=_0x2ec8ae>0x1?void 0x0:_0x2ec8ae?Vt(_0x3c575a,_0x372c44):_0x3c575a,_0xbaebef=_0x425270[_0x23944f(0x1ac)]-0x1,_0x33eca2;_0xbaebef>=0x0;_0xbaebef--)(_0x33eca2=_0x425270[_0xbaebef])&&(_0x246031=_0x33eca2(_0x246031)||_0x246031);return _0x246031;},Ne=(_0x4b4dfe,_0x300731)=>(_0x2da857,_0x4bbb00)=>_0x300731(_0x2da857,_0x4bbb00,_0x4b4dfe),Yt=(_0x5b6f61,_0x4daae4,_0x2c6ddc)=>Ht(_0x5b6f61,_0x4daae4+'',_0x2c6ddc);exports[_0x2511b9(0x1b8)]=class extends A[_0x2511b9(0x118)]{constructor(_0x6f5e32=Ct,_0x1dc18f,_0x2f3dfe,_0x54b837){const _0x1d1312=_0x2511b9;_0x6f5e32[_0x1d1312(0xc4)]||_0x1dc18f[_0x1d1312(0x19a)](_0x1d1312(0x10f)),super(),this[_0x1d1312(0x1b2)]=_0x2f3dfe,this[_0x1d1312(0x1b3)]=_0x54b837,this[_0x1d1312(0x1b2)][_0x1d1312(0x1c3)](fe,_0x6f5e32);}[_0x2511b9(0x130)](){this['_registerDependencies']();}[_0x2511b9(0x13a)](){const _0x54fef1=_0x2511b9;A[_0x54fef1(0x1bd)](this[_0x54fef1(0x1b3)],[[it[_0x54fef1(0xc0)],{'useClass':ke}]]);}},Yt(exports[_0x2511b9(0x1b8)],_0x2511b9(0x168),_0x2511b9(0x100)),exports[_0x2511b9(0x1b8)]=zt([A[_0x2511b9(0x1fc)](st[_0x2511b9(0x1c1)]),Ne(0x1,A['ILogService']),Ne(0x2,A[_0x2511b9(0x186)]),Ne(0x3,A['Inject'](A[_0x2511b9(0x25c)]))],exports['UniverCollaborationClientNodePlugin']);var Kt=Object[_0x2511b9(0x17b)],Xt=(_0xb8b6ce,_0x597156,_0x1c7054,_0x563345)=>{for(var _0x2e2a63=_0x563345>0x1?void 0x0:_0x563345?Kt(_0x597156,_0x1c7054):_0x597156,_0x4dbc5d=_0xb8b6ce['length']-0x1,_0x18bd58;_0x4dbc5d>=0x0;_0x4dbc5d--)(_0x18bd58=_0xb8b6ce[_0x4dbc5d])&&(_0x2e2a63=_0x18bd58(_0x2e2a63)||_0x2e2a63);return _0x2e2a63;},ne=(_0x59a096,_0x327a17)=>(_0x3a5a7e,_0x31d5d4)=>_0x327a17(_0x3a5a7e,_0x31d5d4,_0x59a096);exports[_0x2511b9(0xaf)]=class extends st[_0x2511b9(0x12b)]{constructor(_0x533635,_0x124c2f,_0x21e0ce,_0x4f70b3,_0x5de60c){const _0x115cec=_0x2511b9;super(_0x533635,_0x124c2f,_0x21e0ce,_0x4f70b3,_0x5de60c);const _0x4913bb=this[_0x115cec(0x1b2)]['getConfig'](fe);this[_0x115cec(0x22d)][_0x115cec(0x16c)]({'interceptor':(_0x446ec9,_0x42a64b)=>{const _0x568d5b=_0x115cec;var _0x3e265c;const _0x7d8043=_0x446ec9[_0x568d5b(0xf5)];return(_0x3e265c=_0x4913bb==null?void 0x0:_0x4913bb[_0x568d5b(0xc4)])!=null&&_0x3e265c[_0x568d5b(0x20d)]&&_0x7d8043['set'](_0x568d5b(0x1e5),_0x4913bb[_0x568d5b(0xc4)][_0x568d5b(0x20d)]),_0x42a64b(_0x446ec9);}});}async['createSocket'](_0x1fe98c){const _0x8bdcc0=_0x2511b9;return this[_0x8bdcc0(0xd5)](_0x1fe98c);}},exports[_0x2511b9(0xaf)]=Xt([ne(0x0,A[_0x2511b9(0x102)](A[_0x2511b9(0x25c)])),ne(0x1,A['Inject'](it[_0x2511b9(0x136)])),ne(0x2,A['IConfigService']),ne(0x3,A[_0x2511b9(0x131)]),ne(0x4,Ot['ISnapshotServerService'])],exports[_0x2511b9(0xaf)]),exports[_0x2511b9(0x1fd)]=fe;
|