@univerjs-pro/collaboration-client-node 0.10.5 → 0.10.6
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 _0x230e5d=_0x571c;(function(_0x222b60,_0x46f06f){const _0x2ee6f3=_0x571c,_0x4216b5=_0x222b60();while(!![]){try{const _0x2f199f=parseInt(_0x2ee6f3(0x2fe))/0x1+-parseInt(_0x2ee6f3(0x213))/0x2+parseInt(_0x2ee6f3(0x179))/0x3+-parseInt(_0x2ee6f3(0x1c7))/0x4+-parseInt(_0x2ee6f3(0x2ed))/0x5+-parseInt(_0x2ee6f3(0x2e7))/0x6*(parseInt(_0x2ee6f3(0x1b0))/0x7)+parseInt(_0x2ee6f3(0x2ae))/0x8*(parseInt(_0x2ee6f3(0x305))/0x9);if(_0x2f199f===_0x46f06f)break;else _0x4216b5['push'](_0x4216b5['shift']());}catch(_0xba09a9){_0x4216b5['push'](_0x4216b5['shift']());}}}(_0x8247,0xdebcb));Object[_0x230e5d(0x2a5)](exports,Symbol[_0x230e5d(0x1dd)],{'value':_0x230e5d(0x2aa)});const st=require('@univerjs-pro/collaboration-client'),A=require('@univerjs/core'),it=require('@univerjs/network'),V=require('rxjs'),nt=require('events'),vt=require('https'),ot=require('http'),St=require('net'),Et=require('tls'),Le=require('crypto'),oe=require('stream'),xt=require('url'),bt=require('zlib'),wt=require('buffer'),Ot=require('@univerjs-pro/collaboration'),fe=_0x230e5d(0x231),Ct={'customHeaders':{}};function Tt(_0x4ee639){const _0x1334c4=_0x230e5d;return _0x4ee639&&_0x4ee639[_0x1334c4(0x235)]&&Object['prototype'][_0x1334c4(0x1fa)][_0x1334c4(0x1d0)](_0x4ee639,'default')?_0x4ee639[_0x1334c4(0x1a2)]:_0x4ee639;}function at(_0x39729a){const _0x33b9b=_0x230e5d;if(Object['prototype'][_0x33b9b(0x1fa)][_0x33b9b(0x1d0)](_0x39729a,_0x33b9b(0x235)))return _0x39729a;var _0x1f4bb=_0x39729a[_0x33b9b(0x1a2)];if(typeof _0x1f4bb==_0x33b9b(0x220)){var _0x584f07=function _0x49775c(){const _0x2fa970=_0x33b9b;var _0x257e15=!0x1;try{_0x257e15=this instanceof _0x49775c;}catch{}return _0x257e15?Reflect[_0x2fa970(0x250)](_0x1f4bb,arguments,this[_0x2fa970(0x1cc)]):_0x1f4bb[_0x2fa970(0x19f)](this,arguments);};_0x584f07[_0x33b9b(0x23d)]=_0x1f4bb[_0x33b9b(0x23d)];}else _0x584f07={};return Object[_0x33b9b(0x2a5)](_0x584f07,'__esModule',{'value':!0x0}),Object[_0x33b9b(0x161)](_0x39729a)[_0x33b9b(0x271)](function(_0x2d5b6a){const _0x123ab9=_0x33b9b;var _0x4dbef2=Object[_0x123ab9(0x261)](_0x39729a,_0x2d5b6a);Object[_0x123ab9(0x2a5)](_0x584f07,_0x2d5b6a,_0x4dbef2['get']?_0x4dbef2:{'enumerable':!0x0,'get':function(){return _0x39729a[_0x2d5b6a];}});}),_0x584f07;}function _0x571c(_0x3cc063,_0x22dcb6){const _0x824713=_0x8247();return _0x571c=function(_0x571c36,_0x51db1d){_0x571c36=_0x571c36-0x160;let _0x296e0f=_0x824713[_0x571c36];return _0x296e0f;},_0x571c(_0x3cc063,_0x22dcb6);}var se={'exports':{}},ge,Ge;function H(){const _0x41211b=_0x230e5d;if(Ge)return ge;Ge=0x1;const _0x2c5916=[_0x41211b(0x214),_0x41211b(0x197),'fragments'],_0x1d30df=typeof Blob<'u';return _0x1d30df&&_0x2c5916[_0x41211b(0x303)]('blob'),ge={'BINARY_TYPES':_0x2c5916,'EMPTY_BUFFER':Buffer[_0x41211b(0x30f)](0x0),'GUID':'258EAFA5-E914-47DA-95CA-C5AB0DC85B11','hasBlob':_0x1d30df,'kForOnEventAttribute':Symbol(_0x41211b(0x2a7)),'kListener':Symbol(_0x41211b(0x224)),'kStatusCode':Symbol(_0x41211b(0x298)),'kWebSocket':Symbol(_0x41211b(0x187)),'NOOP':()=>{}},ge;}const Nt={},kt=Object['freeze'](Object[_0x230e5d(0x2a5)]({'__proto__':null,'default':Nt},Symbol[_0x230e5d(0x1dd)],{'value':_0x230e5d(0x2aa)})),Lt=at(kt);var Ve;function ce(){const _0x17f831=_0x230e5d;if(Ve)return se[_0x17f831(0x1ad)];Ve=0x1;const {EMPTY_BUFFER:_0x24570a}=H(),_0x1be110=Buffer[Symbol['species']];function _0xe165ab(_0x36eecf,_0x378277){const _0xfc1ccf=_0x17f831;if(_0x36eecf[_0xfc1ccf(0x2d0)]===0x0)return _0x24570a;if(_0x36eecf[_0xfc1ccf(0x2d0)]===0x1)return _0x36eecf[0x0];const _0x110add=Buffer[_0xfc1ccf(0x199)](_0x378277);let _0x5c35a3=0x0;for(let _0x3104fb=0x0;_0x3104fb<_0x36eecf['length'];_0x3104fb++){const _0x10590b=_0x36eecf[_0x3104fb];_0x110add[_0xfc1ccf(0x275)](_0x10590b,_0x5c35a3),_0x5c35a3+=_0x10590b[_0xfc1ccf(0x2d0)];}return _0x5c35a3<_0x378277?new _0x1be110(_0x110add[_0xfc1ccf(0x2bd)],_0x110add['byteOffset'],_0x5c35a3):_0x110add;}function _0x5d64cb(_0x17b6f4,_0xdd8a,_0x106a30,_0x483992,_0x289216){for(let _0x10eb68=0x0;_0x10eb68<_0x289216;_0x10eb68++)_0x106a30[_0x483992+_0x10eb68]=_0x17b6f4[_0x10eb68]^_0xdd8a[_0x10eb68&0x3];}function _0x250a8b(_0x53c3c1,_0x1e6509){for(let _0x348d73=0x0;_0x348d73<_0x53c3c1['length'];_0x348d73++)_0x53c3c1[_0x348d73]^=_0x1e6509[_0x348d73&0x3];}function _0x134289(_0x52112b){const _0x46856f=_0x17f831;return _0x52112b[_0x46856f(0x2d0)]===_0x52112b[_0x46856f(0x2bd)]['byteLength']?_0x52112b['buffer']:_0x52112b[_0x46856f(0x2bd)][_0x46856f(0x26d)](_0x52112b[_0x46856f(0x295)],_0x52112b[_0x46856f(0x295)]+_0x52112b['length']);}function _0x4cecac(_0x234200){const _0x3044db=_0x17f831;if(_0x4cecac[_0x3044db(0x219)]=!0x0,Buffer['isBuffer'](_0x234200))return _0x234200;let _0x3cff62;return _0x234200 instanceof ArrayBuffer?_0x3cff62=new _0x1be110(_0x234200):ArrayBuffer[_0x3044db(0x2cb)](_0x234200)?_0x3cff62=new _0x1be110(_0x234200[_0x3044db(0x2bd)],_0x234200[_0x3044db(0x295)],_0x234200[_0x3044db(0x23e)]):(_0x3cff62=Buffer[_0x3044db(0x316)](_0x234200),_0x4cecac[_0x3044db(0x219)]=!0x1),_0x3cff62;}if(se[_0x17f831(0x1ad)]={'concat':_0xe165ab,'mask':_0x5d64cb,'toArrayBuffer':_0x134289,'toBuffer':_0x4cecac,'unmask':_0x250a8b},!process[_0x17f831(0x2dd)][_0x17f831(0x246)])try{const _0x337eca=Lt;se['exports'][_0x17f831(0x1ea)]=function(_0x1f645a,_0x4933b6,_0x2d2c40,_0x318084,_0x2d0d01){const _0x1d6d60=_0x17f831;_0x2d0d01<0x30?_0x5d64cb(_0x1f645a,_0x4933b6,_0x2d2c40,_0x318084,_0x2d0d01):_0x337eca[_0x1d6d60(0x1ea)](_0x1f645a,_0x4933b6,_0x2d2c40,_0x318084,_0x2d0d01);},se[_0x17f831(0x1ad)][_0x17f831(0x183)]=function(_0x214af2,_0x2ba993){const _0x3265be=_0x17f831;_0x214af2['length']<0x20?_0x250a8b(_0x214af2,_0x2ba993):_0x337eca[_0x3265be(0x183)](_0x214af2,_0x2ba993);};}catch{}return se[_0x17f831(0x1ad)];}function _0x8247(){const _0x3fbe0f=['createError','kDone','154MKqOBt','isValidUTF8','Server\x20sent\x20an\x20invalid\x20subprotocol','threshold','removeListener','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','_binaryType','indexOf','_errorEmitted','hostname','conclude','decompress','error','auth','invalid\x20opcode\x20','_paused','split','redirect','_compress','_readyState','_isServer','concurrencyLimit','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','868972FkRIAa','The\x20server\x20is\x20not\x20running','setTimeout','then','addEventListener','constructor','customHeaders','followRedirects','HTTP/1.1\x20101\x20Switching\x20Protocols','call','errorEmitted','has','\x22:\x20','parse','response','handshakeTimeout','pong','finishRequest','charCodeAt','pipe','Z_SYNC_FLUSH','freeze','toStringTag','File','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','headers','_skipUTF8Validation','once','maxRedirects','string','Parameter\x20\x22','createConnection','_originalIpc','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','Inject','mask','concurrency','Invalid\x20Sec-WebSocket-Accept\x20header','completeUpgrade','sec-websocket-protocol','destroyed','sec-websocket-accept','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','Opening\x20handshake\x20has\x20timed\x20out','createDeflateRaw','_no_context_takeover','emitClose','bind','getBlobData','_masked','test','hasOwnProperty','socket','number','_closeTimer','createServer','setNoDelay','getPayloadLength16','binaryType','pathname','socketPath','_closeFrameReceived','Max\x20payload\x20size\x20exceeded','statusCode','Unexpected\x20end\x20of\x20input','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','isArray','code','_shouldEmitClose','target','toString','_messageLength','values','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','RSV1\x20must\x20be\x20clear','invalid\x20opcode\x200','3367748jxGPtg','nodebuffer','encrypted','13,\x208','onmessage','sec-websocket-origin','readOnly','createInflateRaw','Disposable','isInteger','finished','find','extensions','function','client_no_context_takeover','cork','Upgrade','kListener','_buffers','Invalid\x20URL:\x20','arrayBuffer','sha1','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','Sec-WebSocket-Extensions','accept','object','clients','Invalid\x20value\x20for\x20parameter\x20\x22','setSocket','maskBuffer','collaboration-client-node.config','client_max_window_bits','generateMask','emit','__esModule','startLoop','handleEvent','cookie','nextTick','unexpected-response','handleUpgrade','url','prototype','byteLength','noServer','sendFrame','Z_DEFAULT_WINDOWBITS','share','serverNoContextTakeover','join','_protocol','WS_NO_BUFFER_UTIL','acceptAsServer','getConfig','uncork','_injector','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','getData','CONNECTING','end','defaultPort','construct','_totalPayloadLength','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','invalid\x20UTF-8\x20sequence','_url','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','_allowSynchronousEvents','extensionName','upgrade','_decompress','_writableState','options','_fin','_receiver','digest','_originalSecure','Sec-WebSocket-Protocol:\x20','getOwnPropertyDescriptor','_mask','next','_compressed','_generateMask','address','readyState','_removeListeners','serverMaxWindowBits','base64','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','shouldHandle','slice','wasClean','Plugin','WS_ERR_INVALID_OPCODE','forEach','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','kMessage','wss:','set','format','getMask','search','text/plain','write','Connection:\x20Upgrade','href','_req','Observable','UniverCollaborationClientNodePlugin','https:','concat','setHeader','allowSynchronousEvents','WS_ERR_INVALID_UTF8','kError','send','kType','zlibDeflateOptions','timeout','skipUTF8Validation','verifyClient','WebSocket','terminate','wsClientError','WS_ERR_UNEXPECTED_MASK','server_no_context_takeover','CLOSED','_registerDependencies','Invalid\x20WebSocket\x20frame:\x20','protocolVersion','byteOffset','finish','_max_window_bits','status-code','port','listenerCount','_destroy','data','origin','_deflate','Blob','_loop','_read','close','total-length','captureStackTrace','defineProperty','MASK\x20must\x20be\x20set','kIsForOnEventAttribute','getInfo','_sender','Module','jobs','path','_final','528EXpwVB','dispatch','map','listen','createSocket','perMessageDeflate','\x20(supported\x20versions:\x20','kTarget','cleanup','update','authorized','params','Maximum\x20redirects\x20exceeded','Upgrade:\x20websocket','reset','buffer','value','reason','_closeMessage','pluginName','type','Sec-WebSocket-Origin','message','acceptAsClient','_bufferedAmount','_readableState','_server','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','create','isView','_errored','protocol','listeners','_redirects','length','WS_ERR_EXPECTED_MASK','DisposableCollection','_socket','_state','registerDependencies','enqueue','flush','rsv1','isPaused','pending','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','OPEN','env','offer','abort','sec-websocket-extensions','haveLength','WS_NO_UTF_8_VALIDATE','maxPayload','WS_ERR_UNEXPECTED_RSV_1','The\x20\x22','read','21498vZmPzM','destroy','Origin','isIP','objectMode','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','8856830VXwNqa','CLOSING','_inflate','server_max_window_bits','_closeFrameSent','COLLABORATION_CLIENT_NODE_CONFIG_KEY','startsWith','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','onStarting','\x22\x20subprotocol\x20is\x20duplicated','handleProtocols','consume','kCode','CollaborationSocketService','pause','shift','toLowerCase','1069419xBaXgR','Unknown\x20parameter\x20\x22','removeEventListener','host','server','push','pow','344151rWYTwu','resume','readUInt32BE','_payloadLength','callback','dispose','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','HTTPService','WS_ERR_EXPECTED_FIN','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','alloc','onopen','_opcode','method','request','_write','onclose','from','catch','clientMaxWindowBits','username','keys','Invalid\x20HTTP\x20method','add','STATUS_CODES','frame','NodeCollaborationSocketService','\x22\x20must\x20have\x20only\x20a\x20single\x20value','ping','Unexpected\x20server\x20response:\x20','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','_autoPong','The\x20URL\x27s\x20pathname\x20is\x20empty','_closeCode','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','_options','IConfigService','readUInt16BE','endEmitted','species','ILogService','replace','_fragments','invalid\x20payload\x20length\x20','_doCreateSocket','3211341ZjrTtP','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','toDisposable','_extensions','dataMessage','_maskBuffer','WS_ERR_INVALID_CLOSE_CODE','ws:','zlibInflateOptions','kAborted','unmask','_queue','open','onerror','websocket','Injector','password','unshift','autoPong','connection','fin','clientNoContextTakeover','writeHead','Sec-WebSocket-Extensions:\x20','Sec-WebSocket-Accept:\x20','binary','_maxPayload','HTTP/1.1\x20','_bufferedBytes','Sec-WebSocket-Protocol','arraybuffer','compress','allocUnsafe','_configService','Invalid\x20Sec-WebSocket-Protocol\x20header','Invalid\x20Upgrade\x20header','kWasClean','kReason','apply','client','Unexpected\x20character\x20at\x20index\x20','default','_fragmented','isServer','_firstFragment','servername','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','_threshold','WS_ERR_UNEXPECTED_RSV_2_3','ISnapshotServerService','dequeue','size','exports'];_0x8247=function(){return _0x3fbe0f;};return _0x8247();}var ye,He;function Pt(){const _0x2f7967=_0x230e5d;if(He)return ye;He=0x1;const _0x26efcd=Symbol(_0x2f7967(0x1af)),_0x504816=Symbol('kRun');class _0x15bbac{constructor(_0x1a17b2){const _0x27222e=_0x2f7967;this[_0x26efcd]=()=>{const _0x7cc4fe=_0x571c;this[_0x7cc4fe(0x2da)]--,this[_0x504816]();},this[_0x27222e(0x1eb)]=_0x1a17b2||0x1/0x0,this[_0x27222e(0x2ab)]=[],this[_0x27222e(0x2da)]=0x0;}[_0x2f7967(0x163)](_0x563e20){const _0x5618ca=_0x2f7967;this[_0x5618ca(0x2ab)][_0x5618ca(0x303)](_0x563e20),this[_0x504816]();}[_0x504816](){const _0x19938b=_0x2f7967;if(this[_0x19938b(0x2da)]!==this[_0x19938b(0x1eb)]&&this[_0x19938b(0x2ab)][_0x19938b(0x2d0)]){const _0x4464b1=this[_0x19938b(0x2ab)][_0x19938b(0x2fc)]();this[_0x19938b(0x2da)]++,_0x4464b1(this[_0x26efcd]);}}}return ye=_0x15bbac,ye;}var ve,ze;function he(){const _0x3062d9=_0x230e5d;if(ze)return ve;ze=0x1;const _0x5432fa=bt,_0x38d305=ce(),_0x359698=Pt(),{kStatusCode:_0x2b303c}=H(),_0x4d3b94=Buffer[Symbol[_0x3062d9(0x173)]],_0x103b07=Buffer[_0x3062d9(0x316)]([0x0,0x0,0xff,0xff]),_0x503abd=Symbol('permessage-deflate'),_0xe57ee1=Symbol(_0x3062d9(0x2a3)),_0x54fa83=Symbol(_0x3062d9(0x309)),_0x2d54dc=Symbol('buffers'),_0x3ef0c4=Symbol('error');let _0x503dde;class _0xed9628{constructor(_0x1e8ae6,_0x1e9b18,_0x3ff5c8){const _0x218b80=_0x3062d9;if(this['_maxPayload']=_0x3ff5c8|0x0,this[_0x218b80(0x16f)]=_0x1e8ae6||{},this[_0x218b80(0x1a8)]=this[_0x218b80(0x16f)][_0x218b80(0x1b3)]!==void 0x0?this[_0x218b80(0x16f)][_0x218b80(0x1b3)]:0x400,this[_0x218b80(0x1c4)]=!!_0x1e9b18,this['_deflate']=null,this[_0x218b80(0x2ef)]=null,this[_0x218b80(0x2b9)]=null,!_0x503dde){const _0x315857=this[_0x218b80(0x16f)][_0x218b80(0x1c5)]!==void 0x0?this['_options'][_0x218b80(0x1c5)]:0xa;_0x503dde=new _0x359698(_0x315857);}}static get[_0x3062d9(0x257)](){return'permessage-deflate';}[_0x3062d9(0x2de)](){const _0x415866=_0x3062d9,_0x204715={};return this[_0x415866(0x16f)][_0x415866(0x243)]&&(_0x204715[_0x415866(0x290)]=!0x0),this[_0x415866(0x16f)][_0x415866(0x18e)]&&(_0x204715[_0x415866(0x221)]=!0x0),this[_0x415866(0x16f)][_0x415866(0x269)]&&(_0x204715[_0x415866(0x2f0)]=this['_options']['serverMaxWindowBits']),this[_0x415866(0x16f)][_0x415866(0x318)]?_0x204715[_0x415866(0x232)]=this['_options'][_0x415866(0x318)]:this[_0x415866(0x16f)][_0x415866(0x318)]==null&&(_0x204715[_0x415866(0x232)]=!0x0),_0x204715;}['accept'](_0x4777fc){const _0x259e9e=_0x3062d9;return _0x4777fc=this['normalizeParams'](_0x4777fc),this[_0x259e9e(0x2b9)]=this[_0x259e9e(0x1c4)]?this['acceptAsServer'](_0x4777fc):this['acceptAsClient'](_0x4777fc),this['params'];}['cleanup'](){const _0x30e6cf=_0x3062d9;if(this[_0x30e6cf(0x2ef)]&&(this['_inflate'][_0x30e6cf(0x2a2)](),this[_0x30e6cf(0x2ef)]=null),this[_0x30e6cf(0x29e)]){const _0x3dcdfc=this[_0x30e6cf(0x29e)][_0x54fa83];this[_0x30e6cf(0x29e)]['close'](),this[_0x30e6cf(0x29e)]=null,_0x3dcdfc&&_0x3dcdfc(new Error(_0x30e6cf(0x2db)));}}[_0x3062d9(0x247)](_0x4642f7){const _0x2844e6=_0x3062d9,_0x5459b7=this['_options'],_0x51d5f0=_0x4642f7[_0x2844e6(0x21e)](_0x1b2df0=>!(_0x5459b7[_0x2844e6(0x243)]===!0x1&&_0x1b2df0[_0x2844e6(0x290)]||_0x1b2df0[_0x2844e6(0x2f0)]&&(_0x5459b7['serverMaxWindowBits']===!0x1||typeof _0x5459b7[_0x2844e6(0x269)]==_0x2844e6(0x1fc)&&_0x5459b7[_0x2844e6(0x269)]>_0x1b2df0[_0x2844e6(0x2f0)])||typeof _0x5459b7[_0x2844e6(0x318)]==_0x2844e6(0x1fc)&&!_0x1b2df0['client_max_window_bits']));if(!_0x51d5f0)throw new Error(_0x2844e6(0x1b5));return _0x5459b7[_0x2844e6(0x243)]&&(_0x51d5f0[_0x2844e6(0x290)]=!0x0),_0x5459b7[_0x2844e6(0x18e)]&&(_0x51d5f0[_0x2844e6(0x221)]=!0x0),typeof _0x5459b7[_0x2844e6(0x269)]==_0x2844e6(0x1fc)&&(_0x51d5f0[_0x2844e6(0x2f0)]=_0x5459b7['serverMaxWindowBits']),typeof _0x5459b7[_0x2844e6(0x318)]==_0x2844e6(0x1fc)?_0x51d5f0[_0x2844e6(0x232)]=_0x5459b7[_0x2844e6(0x318)]:(_0x51d5f0[_0x2844e6(0x232)]===!0x0||_0x5459b7[_0x2844e6(0x318)]===!0x1)&&delete _0x51d5f0['client_max_window_bits'],_0x51d5f0;}[_0x3062d9(0x2c5)](_0x4f648f){const _0x2f9340=_0x3062d9,_0x181910=_0x4f648f[0x0];if(this[_0x2f9340(0x16f)][_0x2f9340(0x18e)]===!0x1&&_0x181910[_0x2f9340(0x221)])throw new Error(_0x2f9340(0x208));if(!_0x181910[_0x2f9340(0x232)])typeof this[_0x2f9340(0x16f)]['clientMaxWindowBits']==_0x2f9340(0x1fc)&&(_0x181910[_0x2f9340(0x232)]=this[_0x2f9340(0x16f)][_0x2f9340(0x318)]);else{if(this[_0x2f9340(0x16f)]['clientMaxWindowBits']===!0x1||typeof this[_0x2f9340(0x16f)][_0x2f9340(0x318)]=='number'&&_0x181910[_0x2f9340(0x232)]>this[_0x2f9340(0x16f)][_0x2f9340(0x318)])throw new Error(_0x2f9340(0x252));}return _0x181910;}['normalizeParams'](_0x2792d2){const _0x32b978=_0x3062d9;return _0x2792d2[_0x32b978(0x271)](_0x284a02=>{const _0x3c9067=_0x32b978;Object[_0x3c9067(0x161)](_0x284a02)[_0x3c9067(0x271)](_0x5339b4=>{const _0x17fe85=_0x3c9067;let _0x1868b9=_0x284a02[_0x5339b4];if(_0x1868b9[_0x17fe85(0x2d0)]>0x1)throw new Error(_0x17fe85(0x1e5)+_0x5339b4+_0x17fe85(0x167));if(_0x1868b9=_0x1868b9[0x0],_0x5339b4==='client_max_window_bits'){if(_0x1868b9!==!0x0){const _0x1ff0b5=+_0x1868b9;if(!Number['isInteger'](_0x1ff0b5)||_0x1ff0b5<0x8||_0x1ff0b5>0xf)throw new TypeError(_0x17fe85(0x22e)+_0x5339b4+_0x17fe85(0x1d3)+_0x1868b9);_0x1868b9=_0x1ff0b5;}else{if(!this['_isServer'])throw new TypeError(_0x17fe85(0x22e)+_0x5339b4+_0x17fe85(0x1d3)+_0x1868b9);}}else{if(_0x5339b4===_0x17fe85(0x2f0)){const _0x288eba=+_0x1868b9;if(!Number[_0x17fe85(0x21c)](_0x288eba)||_0x288eba<0x8||_0x288eba>0xf)throw new TypeError(_0x17fe85(0x22e)+_0x5339b4+_0x17fe85(0x1d3)+_0x1868b9);_0x1868b9=_0x288eba;}else{if(_0x5339b4==='client_no_context_takeover'||_0x5339b4==='server_no_context_takeover'){if(_0x1868b9!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x5339b4+_0x17fe85(0x1d3)+_0x1868b9);}else throw new Error(_0x17fe85(0x2ff)+_0x5339b4+'\x22');}}_0x284a02[_0x5339b4]=_0x1868b9;});}),_0x2792d2;}[_0x3062d9(0x1bb)](_0x43f0c3,_0x299a77,_0x3045cd){const _0x3a26e3=_0x3062d9;_0x503dde[_0x3a26e3(0x163)](_0x347f6c=>{const _0x194419=_0x3a26e3;this[_0x194419(0x259)](_0x43f0c3,_0x299a77,(_0x1bd73c,_0x4f1edb)=>{_0x347f6c(),_0x3045cd(_0x1bd73c,_0x4f1edb);});});}['compress'](_0x2b34a4,_0x1ac910,_0x44d5a9){const _0x1bf52c=_0x3062d9;_0x503dde[_0x1bf52c(0x163)](_0x2af60d=>{this['_compress'](_0x2b34a4,_0x1ac910,(_0x2d18b9,_0x491334)=>{_0x2af60d(),_0x44d5a9(_0x2d18b9,_0x491334);});});}['_decompress'](_0x5b4119,_0x249bce,_0x1208e4){const _0x43eb95=_0x3062d9,_0x787b0b=this['_isServer']?_0x43eb95(0x1a0):_0x43eb95(0x302);if(!this[_0x43eb95(0x2ef)]){const _0x3b0324=_0x787b0b+_0x43eb95(0x297),_0x544c99=typeof this[_0x43eb95(0x2b9)][_0x3b0324]!='number'?_0x5432fa[_0x43eb95(0x241)]:this[_0x43eb95(0x2b9)][_0x3b0324];this[_0x43eb95(0x2ef)]=_0x5432fa[_0x43eb95(0x21a)]({...this[_0x43eb95(0x16f)][_0x43eb95(0x181)],'windowBits':_0x544c99}),this[_0x43eb95(0x2ef)][_0x503abd]=this,this[_0x43eb95(0x2ef)][_0xe57ee1]=0x0,this[_0x43eb95(0x2ef)][_0x2d54dc]=[],this[_0x43eb95(0x2ef)]['on']('error',_0x31b66c),this[_0x43eb95(0x2ef)]['on']('data',_0x392ec9);}this[_0x43eb95(0x2ef)][_0x54fa83]=_0x1208e4,this[_0x43eb95(0x2ef)][_0x43eb95(0x27a)](_0x5b4119),_0x249bce&&this[_0x43eb95(0x2ef)]['write'](_0x103b07),this[_0x43eb95(0x2ef)][_0x43eb95(0x2d7)](()=>{const _0x320f82=_0x43eb95,_0x5486b8=this['_inflate'][_0x3ef0c4];if(_0x5486b8){this[_0x320f82(0x2ef)][_0x320f82(0x2a2)](),this[_0x320f82(0x2ef)]=null,_0x1208e4(_0x5486b8);return;}const _0x2a8858=_0x38d305[_0x320f82(0x281)](this[_0x320f82(0x2ef)][_0x2d54dc],this[_0x320f82(0x2ef)][_0xe57ee1]);this[_0x320f82(0x2ef)][_0x320f82(0x2c7)][_0x320f82(0x172)]?(this[_0x320f82(0x2ef)][_0x320f82(0x2a2)](),this[_0x320f82(0x2ef)]=null):(this[_0x320f82(0x2ef)][_0xe57ee1]=0x0,this[_0x320f82(0x2ef)][_0x2d54dc]=[],_0x249bce&&this[_0x320f82(0x2b9)][_0x787b0b+'_no_context_takeover']&&this['_inflate'][_0x320f82(0x2bc)]()),_0x1208e4(null,_0x2a8858);});}[_0x3062d9(0x1c2)](_0x577ad5,_0x2ea38d,_0x21c0c0){const _0x31b4a4=_0x3062d9,_0x10f28b=this[_0x31b4a4(0x1c4)]?'server':_0x31b4a4(0x1a0);if(!this['_deflate']){const _0x415c4b=_0x10f28b+_0x31b4a4(0x297),_0x2b978b=typeof this[_0x31b4a4(0x2b9)][_0x415c4b]!=_0x31b4a4(0x1fc)?_0x5432fa[_0x31b4a4(0x241)]:this['params'][_0x415c4b];this[_0x31b4a4(0x29e)]=_0x5432fa[_0x31b4a4(0x1f3)]({...this[_0x31b4a4(0x16f)][_0x31b4a4(0x288)],'windowBits':_0x2b978b}),this[_0x31b4a4(0x29e)][_0xe57ee1]=0x0,this[_0x31b4a4(0x29e)][_0x2d54dc]=[],this[_0x31b4a4(0x29e)]['on'](_0x31b4a4(0x29c),_0xc10e19);}this[_0x31b4a4(0x29e)][_0x54fa83]=_0x21c0c0,this[_0x31b4a4(0x29e)][_0x31b4a4(0x27a)](_0x577ad5),this[_0x31b4a4(0x29e)]['flush'](_0x5432fa[_0x31b4a4(0x1db)],()=>{const _0x2968dc=_0x31b4a4;if(!this['_deflate'])return;let _0x2a2a5c=_0x38d305[_0x2968dc(0x281)](this[_0x2968dc(0x29e)][_0x2d54dc],this[_0x2968dc(0x29e)][_0xe57ee1]);_0x2ea38d&&(_0x2a2a5c=new _0x4d3b94(_0x2a2a5c['buffer'],_0x2a2a5c[_0x2968dc(0x295)],_0x2a2a5c[_0x2968dc(0x2d0)]-0x4)),this[_0x2968dc(0x29e)][_0x54fa83]=null,this[_0x2968dc(0x29e)][_0xe57ee1]=0x0,this['_deflate'][_0x2d54dc]=[],_0x2ea38d&&this[_0x2968dc(0x2b9)][_0x10f28b+_0x2968dc(0x1f4)]&&this[_0x2968dc(0x29e)]['reset'](),_0x21c0c0(null,_0x2a2a5c);});}}ve=_0xed9628;function _0xc10e19(_0xf6ed9a){const _0x216643=_0x3062d9;this[_0x2d54dc][_0x216643(0x303)](_0xf6ed9a),this[_0xe57ee1]+=_0xf6ed9a[_0x216643(0x2d0)];}function _0x392ec9(_0x37abec){const _0x5b1098=_0x3062d9;if(this[_0xe57ee1]+=_0x37abec[_0x5b1098(0x2d0)],this[_0x503abd]['_maxPayload']<0x1||this[_0xe57ee1]<=this[_0x503abd][_0x5b1098(0x193)]){this[_0x2d54dc][_0x5b1098(0x303)](_0x37abec);return;}this[_0x3ef0c4]=new RangeError('Max\x20payload\x20size\x20exceeded'),this[_0x3ef0c4][_0x5b1098(0x20a)]=_0x5b1098(0x24b),this[_0x3ef0c4][_0x2b303c]=0x3f1,this['removeListener'](_0x5b1098(0x29c),_0x392ec9),this[_0x5b1098(0x2bc)]();}function _0x31b66c(_0x39adda){if(this[_0x503abd]['_inflate']=null,this[_0x3ef0c4]){this[_0x54fa83](this[_0x3ef0c4]);return;}_0x39adda[_0x2b303c]=0x3ef,this[_0x54fa83](_0x39adda);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x230e5d(0x1dc)](Object[_0x230e5d(0x2a5)]({'__proto__':null,'default':Dt},Symbol[_0x230e5d(0x1dd)],{'value':_0x230e5d(0x2aa)})),Bt=at(Rt);var Ye;function ae(){const _0xd47b63=_0x230e5d;if(Ye)return ie['exports'];Ye=0x1;const {isUtf8:_0x254431}=wt,{hasBlob:_0x5260bb}=H(),_0x1223da=[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 _0x287c74(_0x349ccd){return _0x349ccd>=0x3e8&&_0x349ccd<=0x3f6&&_0x349ccd!==0x3ec&&_0x349ccd!==0x3ed&&_0x349ccd!==0x3ee||_0x349ccd>=0xbb8&&_0x349ccd<=0x1387;}function _0x57cbce(_0x266c73){const _0x1d25c7=_0x266c73['length'];let _0xed9cb6=0x0;for(;_0xed9cb6<_0x1d25c7;)if((_0x266c73[_0xed9cb6]&0x80)===0x0)_0xed9cb6++;else{if((_0x266c73[_0xed9cb6]&0xe0)===0xc0){if(_0xed9cb6+0x1===_0x1d25c7||(_0x266c73[_0xed9cb6+0x1]&0xc0)!==0x80||(_0x266c73[_0xed9cb6]&0xfe)===0xc0)return!0x1;_0xed9cb6+=0x2;}else{if((_0x266c73[_0xed9cb6]&0xf0)===0xe0){if(_0xed9cb6+0x2>=_0x1d25c7||(_0x266c73[_0xed9cb6+0x1]&0xc0)!==0x80||(_0x266c73[_0xed9cb6+0x2]&0xc0)!==0x80||_0x266c73[_0xed9cb6]===0xe0&&(_0x266c73[_0xed9cb6+0x1]&0xe0)===0x80||_0x266c73[_0xed9cb6]===0xed&&(_0x266c73[_0xed9cb6+0x1]&0xe0)===0xa0)return!0x1;_0xed9cb6+=0x3;}else{if((_0x266c73[_0xed9cb6]&0xf8)===0xf0){if(_0xed9cb6+0x3>=_0x1d25c7||(_0x266c73[_0xed9cb6+0x1]&0xc0)!==0x80||(_0x266c73[_0xed9cb6+0x2]&0xc0)!==0x80||(_0x266c73[_0xed9cb6+0x3]&0xc0)!==0x80||_0x266c73[_0xed9cb6]===0xf0&&(_0x266c73[_0xed9cb6+0x1]&0xf0)===0x80||_0x266c73[_0xed9cb6]===0xf4&&_0x266c73[_0xed9cb6+0x1]>0x8f||_0x266c73[_0xed9cb6]>0xf4)return!0x1;_0xed9cb6+=0x4;}else return!0x1;}}}return!0x0;}function _0x4ef574(_0x271538){const _0x3c3282=_0x571c;return _0x5260bb&&typeof _0x271538==_0x3c3282(0x22c)&&typeof _0x271538[_0x3c3282(0x227)]=='function'&&typeof _0x271538['type']==_0x3c3282(0x1e4)&&typeof _0x271538['stream']=='function'&&(_0x271538[Symbol['toStringTag']]===_0x3c3282(0x29f)||_0x271538[Symbol[_0x3c3282(0x1dd)]]===_0x3c3282(0x1de));}if(ie[_0xd47b63(0x1ad)]={'isBlob':_0x4ef574,'isValidStatusCode':_0x287c74,'isValidUTF8':_0x57cbce,'tokenChars':_0x1223da},_0x254431)ie[_0xd47b63(0x1ad)][_0xd47b63(0x1b1)]=function(_0x383bdf){const _0x23d964=_0xd47b63;return _0x383bdf[_0x23d964(0x2d0)]<0x18?_0x57cbce(_0x383bdf):_0x254431(_0x383bdf);};else{if(!process[_0xd47b63(0x2dd)][_0xd47b63(0x2e2)])try{const _0x11d955=Bt;ie[_0xd47b63(0x1ad)][_0xd47b63(0x1b1)]=function(_0x786892){const _0x411086=_0xd47b63;return _0x786892[_0x411086(0x2d0)]<0x20?_0x57cbce(_0x786892):_0x11d955(_0x786892);};}catch{}}return ie[_0xd47b63(0x1ad)];}var Se,Ke;function lt(){const _0x2c1281=_0x230e5d;if(Ke)return Se;Ke=0x1;const {Writable:_0x228fab}=oe,_0x436e9d=he(),{BINARY_TYPES:_0x4dd350,EMPTY_BUFFER:_0x2b9c0c,kStatusCode:_0x6c3753,kWebSocket:_0x29fd92}=H(),{concat:_0x3a6cd2,toArrayBuffer:_0x5729c4,unmask:_0x14eabd}=ce(),{isValidStatusCode:_0x432ae2,isValidUTF8:_0x312bb9}=ae(),_0x461a2f=Buffer[Symbol[_0x2c1281(0x173)]],_0x3275df=0x0,_0x52e687=0x1,_0x1b2892=0x2,_0x33bc5e=0x3,_0x59e7c7=0x4,_0x2a7e81=0x5,_0x385425=0x6;class _0x11569d extends _0x228fab{constructor(_0x41ff16={}){const _0x2387f7=_0x2c1281;super(),this['_allowSynchronousEvents']=_0x41ff16[_0x2387f7(0x283)]!==void 0x0?_0x41ff16[_0x2387f7(0x283)]:!0x0,this[_0x2387f7(0x1b6)]=_0x41ff16[_0x2387f7(0x201)]||_0x4dd350[0x0],this[_0x2387f7(0x17c)]=_0x41ff16[_0x2387f7(0x21f)]||{},this[_0x2387f7(0x1c4)]=!!_0x41ff16[_0x2387f7(0x1a4)],this['_maxPayload']=_0x41ff16[_0x2387f7(0x2e3)]|0x0,this['_skipUTF8Validation']=!!_0x41ff16[_0x2387f7(0x28a)],this[_0x29fd92]=void 0x0,this['_bufferedBytes']=0x0,this[_0x2387f7(0x225)]=[],this[_0x2387f7(0x264)]=!0x1,this[_0x2387f7(0x308)]=0x0,this[_0x2387f7(0x262)]=void 0x0,this[_0x2387f7(0x1a3)]=0x0,this[_0x2387f7(0x1f8)]=!0x1,this[_0x2387f7(0x25c)]=!0x1,this[_0x2387f7(0x311)]=0x0,this[_0x2387f7(0x251)]=0x0,this[_0x2387f7(0x20e)]=0x0,this[_0x2387f7(0x176)]=[],this[_0x2387f7(0x2cc)]=!0x1,this['_loop']=!0x1,this['_state']=_0x3275df;}[_0x2c1281(0x314)](_0x570401,_0x3da345,_0x2e9181){const _0x359e01=_0x2c1281;if(this[_0x359e01(0x311)]===0x8&&this[_0x359e01(0x2d4)]==_0x3275df)return _0x2e9181();this[_0x359e01(0x195)]+=_0x570401[_0x359e01(0x2d0)],this['_buffers'][_0x359e01(0x303)](_0x570401),this[_0x359e01(0x236)](_0x2e9181);}['consume'](_0x7da0b9){const _0x5ae556=_0x2c1281;if(this[_0x5ae556(0x195)]-=_0x7da0b9,_0x7da0b9===this[_0x5ae556(0x225)][0x0][_0x5ae556(0x2d0)])return this[_0x5ae556(0x225)][_0x5ae556(0x2fc)]();if(_0x7da0b9<this[_0x5ae556(0x225)][0x0][_0x5ae556(0x2d0)]){const _0x2d1e9b=this[_0x5ae556(0x225)][0x0];return this[_0x5ae556(0x225)][0x0]=new _0x461a2f(_0x2d1e9b['buffer'],_0x2d1e9b['byteOffset']+_0x7da0b9,_0x2d1e9b[_0x5ae556(0x2d0)]-_0x7da0b9),new _0x461a2f(_0x2d1e9b[_0x5ae556(0x2bd)],_0x2d1e9b[_0x5ae556(0x295)],_0x7da0b9);}const _0x2a03ce=Buffer['allocUnsafe'](_0x7da0b9);do{const _0x283a9c=this[_0x5ae556(0x225)][0x0],_0x40a2d2=_0x2a03ce[_0x5ae556(0x2d0)]-_0x7da0b9;_0x7da0b9>=_0x283a9c[_0x5ae556(0x2d0)]?_0x2a03ce[_0x5ae556(0x275)](this[_0x5ae556(0x225)][_0x5ae556(0x2fc)](),_0x40a2d2):(_0x2a03ce[_0x5ae556(0x275)](new Uint8Array(_0x283a9c[_0x5ae556(0x2bd)],_0x283a9c['byteOffset'],_0x7da0b9),_0x40a2d2),this[_0x5ae556(0x225)][0x0]=new _0x461a2f(_0x283a9c[_0x5ae556(0x2bd)],_0x283a9c['byteOffset']+_0x7da0b9,_0x283a9c[_0x5ae556(0x2d0)]-_0x7da0b9)),_0x7da0b9-=_0x283a9c[_0x5ae556(0x2d0)];}while(_0x7da0b9>0x0);return _0x2a03ce;}[_0x2c1281(0x236)](_0x8d6725){const _0x4cb87c=_0x2c1281;this[_0x4cb87c(0x2a0)]=!0x0;do switch(this['_state']){case _0x3275df:this[_0x4cb87c(0x2a8)](_0x8d6725);break;case _0x52e687:this[_0x4cb87c(0x200)](_0x8d6725);break;case _0x1b2892:this['getPayloadLength64'](_0x8d6725);break;case _0x33bc5e:this[_0x4cb87c(0x277)]();break;case _0x59e7c7:this['getData'](_0x8d6725);break;case _0x2a7e81:case _0x385425:this[_0x4cb87c(0x2a0)]=!0x1;return;}while(this['_loop']);this[_0x4cb87c(0x2cc)]||_0x8d6725();}[_0x2c1281(0x2a8)](_0x2f3239){const _0x3023a5=_0x2c1281;if(this[_0x3023a5(0x195)]<0x2){this[_0x3023a5(0x2a0)]=!0x1;return;}const _0xb9080c=this[_0x3023a5(0x2f8)](0x2);if((_0xb9080c[0x0]&0x30)!==0x0){const _0x5d6572=this[_0x3023a5(0x1ae)](RangeError,'RSV2\x20and\x20RSV3\x20must\x20be\x20clear',!0x0,0x3ea,_0x3023a5(0x1a9));_0x2f3239(_0x5d6572);return;}const _0x46e903=(_0xb9080c[0x0]&0x40)===0x40;if(_0x46e903&&!this[_0x3023a5(0x17c)][_0x436e9d[_0x3023a5(0x257)]]){const _0x27b747=this[_0x3023a5(0x1ae)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x3023a5(0x2e4));_0x2f3239(_0x27b747);return;}if(this[_0x3023a5(0x25c)]=(_0xb9080c[0x0]&0x80)===0x80,this[_0x3023a5(0x311)]=_0xb9080c[0x0]&0xf,this[_0x3023a5(0x308)]=_0xb9080c[0x1]&0x7f,this[_0x3023a5(0x311)]===0x0){if(_0x46e903){const _0x48c1e7=this[_0x3023a5(0x1ae)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x3023a5(0x2e4));_0x2f3239(_0x48c1e7);return;}if(!this[_0x3023a5(0x1a3)]){const _0x47f87f=this[_0x3023a5(0x1ae)](RangeError,_0x3023a5(0x212),!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x2f3239(_0x47f87f);return;}this[_0x3023a5(0x311)]=this['_fragmented'];}else{if(this[_0x3023a5(0x311)]===0x1||this[_0x3023a5(0x311)]===0x2){if(this['_fragmented']){const _0x36fa99=this[_0x3023a5(0x1ae)](RangeError,_0x3023a5(0x1be)+this[_0x3023a5(0x311)],!0x0,0x3ea,_0x3023a5(0x270));_0x2f3239(_0x36fa99);return;}this[_0x3023a5(0x264)]=_0x46e903;}else{if(this['_opcode']>0x7&&this['_opcode']<0xb){if(!this[_0x3023a5(0x25c)]){const _0x578cc6=this['createError'](RangeError,'FIN\x20must\x20be\x20set',!0x0,0x3ea,_0x3023a5(0x30d));_0x2f3239(_0x578cc6);return;}if(_0x46e903){const _0x39aaf3=this[_0x3023a5(0x1ae)](RangeError,_0x3023a5(0x211),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x2f3239(_0x39aaf3);return;}if(this[_0x3023a5(0x308)]>0x7d||this[_0x3023a5(0x311)]===0x8&&this[_0x3023a5(0x308)]===0x1){const _0x1d8e26=this[_0x3023a5(0x1ae)](RangeError,_0x3023a5(0x177)+this[_0x3023a5(0x308)],!0x0,0x3ea,_0x3023a5(0x229));_0x2f3239(_0x1d8e26);return;}}else{const _0x3ebf3a=this[_0x3023a5(0x1ae)](RangeError,_0x3023a5(0x1be)+this[_0x3023a5(0x311)],!0x0,0x3ea,_0x3023a5(0x270));_0x2f3239(_0x3ebf3a);return;}}}if(!this[_0x3023a5(0x25c)]&&!this[_0x3023a5(0x1a3)]&&(this[_0x3023a5(0x1a3)]=this[_0x3023a5(0x311)]),this[_0x3023a5(0x1f8)]=(_0xb9080c[0x1]&0x80)===0x80,this[_0x3023a5(0x1c4)]){if(!this[_0x3023a5(0x1f8)]){const _0x22545f=this[_0x3023a5(0x1ae)](RangeError,_0x3023a5(0x2a6),!0x0,0x3ea,_0x3023a5(0x2d1));_0x2f3239(_0x22545f);return;}}else{if(this[_0x3023a5(0x1f8)]){const _0x57acfe=this[_0x3023a5(0x1ae)](RangeError,'MASK\x20must\x20be\x20clear',!0x0,0x3ea,_0x3023a5(0x28f));_0x2f3239(_0x57acfe);return;}}this[_0x3023a5(0x308)]===0x7e?this['_state']=_0x52e687:this['_payloadLength']===0x7f?this[_0x3023a5(0x2d4)]=_0x1b2892:this[_0x3023a5(0x2e1)](_0x2f3239);}[_0x2c1281(0x200)](_0x41dc4d){const _0x7808f9=_0x2c1281;if(this[_0x7808f9(0x195)]<0x2){this['_loop']=!0x1;return;}this[_0x7808f9(0x308)]=this[_0x7808f9(0x2f8)](0x2)[_0x7808f9(0x171)](0x0),this[_0x7808f9(0x2e1)](_0x41dc4d);}['getPayloadLength64'](_0x3886fc){const _0x410ef9=_0x2c1281;if(this[_0x410ef9(0x195)]<0x8){this[_0x410ef9(0x2a0)]=!0x1;return;}const _0xff6247=this[_0x410ef9(0x2f8)](0x8),_0x1f20d8=_0xff6247[_0x410ef9(0x307)](0x0);if(_0x1f20d8>Math[_0x410ef9(0x304)](0x2,0x15)-0x1){const _0x1edf0a=this[_0x410ef9(0x1ae)](RangeError,_0x410ef9(0x26b),!0x1,0x3f1,_0x410ef9(0x17a));_0x3886fc(_0x1edf0a);return;}this[_0x410ef9(0x308)]=_0x1f20d8*Math[_0x410ef9(0x304)](0x2,0x20)+_0xff6247[_0x410ef9(0x307)](0x4),this[_0x410ef9(0x2e1)](_0x3886fc);}[_0x2c1281(0x2e1)](_0x4ad50d){const _0x1aec86=_0x2c1281;if(this[_0x1aec86(0x308)]&&this['_opcode']<0x8&&(this[_0x1aec86(0x251)]+=this[_0x1aec86(0x308)],this[_0x1aec86(0x251)]>this['_maxPayload']&&this[_0x1aec86(0x193)]>0x0)){const _0x3999b8=this[_0x1aec86(0x1ae)](RangeError,_0x1aec86(0x205),!0x1,0x3f1,_0x1aec86(0x24b));_0x4ad50d(_0x3999b8);return;}this[_0x1aec86(0x1f8)]?this['_state']=_0x33bc5e:this[_0x1aec86(0x2d4)]=_0x59e7c7;}[_0x2c1281(0x277)](){const _0xb0f732=_0x2c1281;if(this[_0xb0f732(0x195)]<0x4){this[_0xb0f732(0x2a0)]=!0x1;return;}this[_0xb0f732(0x262)]=this[_0xb0f732(0x2f8)](0x4),this['_state']=_0x59e7c7;}[_0x2c1281(0x24c)](_0xe5ced){const _0x5e48f9=_0x2c1281;let _0x193294=_0x2b9c0c;if(this['_payloadLength']){if(this[_0x5e48f9(0x195)]<this['_payloadLength']){this[_0x5e48f9(0x2a0)]=!0x1;return;}_0x193294=this[_0x5e48f9(0x2f8)](this[_0x5e48f9(0x308)]),this[_0x5e48f9(0x1f8)]&&(this[_0x5e48f9(0x262)][0x0]|this[_0x5e48f9(0x262)][0x1]|this['_mask'][0x2]|this['_mask'][0x3])!==0x0&&_0x14eabd(_0x193294,this[_0x5e48f9(0x262)]);}if(this[_0x5e48f9(0x311)]>0x7){this['controlMessage'](_0x193294,_0xe5ced);return;}if(this[_0x5e48f9(0x264)]){this[_0x5e48f9(0x2d4)]=_0x2a7e81,this[_0x5e48f9(0x1bb)](_0x193294,_0xe5ced);return;}_0x193294[_0x5e48f9(0x2d0)]&&(this[_0x5e48f9(0x20e)]=this[_0x5e48f9(0x251)],this[_0x5e48f9(0x176)][_0x5e48f9(0x303)](_0x193294)),this[_0x5e48f9(0x17d)](_0xe5ced);}[_0x2c1281(0x1bb)](_0x22fd73,_0x59d95f){const _0x548882=_0x2c1281;this[_0x548882(0x17c)][_0x436e9d[_0x548882(0x257)]][_0x548882(0x1bb)](_0x22fd73,this[_0x548882(0x25c)],(_0x28edea,_0x4981dd)=>{const _0x46b1c4=_0x548882;if(_0x28edea)return _0x59d95f(_0x28edea);if(_0x4981dd[_0x46b1c4(0x2d0)]){if(this[_0x46b1c4(0x20e)]+=_0x4981dd[_0x46b1c4(0x2d0)],this['_messageLength']>this[_0x46b1c4(0x193)]&&this[_0x46b1c4(0x193)]>0x0){const _0x38b484=this['createError'](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x59d95f(_0x38b484);return;}this[_0x46b1c4(0x176)][_0x46b1c4(0x303)](_0x4981dd);}this['dataMessage'](_0x59d95f),this[_0x46b1c4(0x2d4)]===_0x3275df&&this['startLoop'](_0x59d95f);});}[_0x2c1281(0x17d)](_0x16eb47){const _0x1c47cd=_0x2c1281;if(!this[_0x1c47cd(0x25c)]){this[_0x1c47cd(0x2d4)]=_0x3275df;return;}const _0x2acd5b=this['_messageLength'],_0x340be3=this[_0x1c47cd(0x176)];if(this[_0x1c47cd(0x251)]=0x0,this[_0x1c47cd(0x20e)]=0x0,this[_0x1c47cd(0x1a3)]=0x0,this[_0x1c47cd(0x176)]=[],this[_0x1c47cd(0x311)]===0x2){let _0x1db953;this['_binaryType']===_0x1c47cd(0x214)?_0x1db953=_0x3a6cd2(_0x340be3,_0x2acd5b):this[_0x1c47cd(0x1b6)]===_0x1c47cd(0x197)?_0x1db953=_0x5729c4(_0x3a6cd2(_0x340be3,_0x2acd5b)):this[_0x1c47cd(0x1b6)]==='blob'?_0x1db953=new Blob(_0x340be3):_0x1db953=_0x340be3,this[_0x1c47cd(0x256)]?(this[_0x1c47cd(0x234)](_0x1c47cd(0x2c4),_0x1db953,!0x0),this[_0x1c47cd(0x2d4)]=_0x3275df):(this['_state']=_0x385425,setImmediate(()=>{const _0x577f13=_0x1c47cd;this['emit'](_0x577f13(0x2c4),_0x1db953,!0x0),this[_0x577f13(0x2d4)]=_0x3275df,this[_0x577f13(0x236)](_0x16eb47);}));}else{const _0xedf578=_0x3a6cd2(_0x340be3,_0x2acd5b);if(!this[_0x1c47cd(0x1e1)]&&!_0x312bb9(_0xedf578)){const _0x307250=this[_0x1c47cd(0x1ae)](Error,_0x1c47cd(0x253),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x16eb47(_0x307250);return;}this[_0x1c47cd(0x2d4)]===_0x2a7e81||this['_allowSynchronousEvents']?(this[_0x1c47cd(0x234)](_0x1c47cd(0x2c4),_0xedf578,!0x1),this[_0x1c47cd(0x2d4)]=_0x3275df):(this[_0x1c47cd(0x2d4)]=_0x385425,setImmediate(()=>{const _0x4f79a1=_0x1c47cd;this['emit'](_0x4f79a1(0x2c4),_0xedf578,!0x1),this[_0x4f79a1(0x2d4)]=_0x3275df,this[_0x4f79a1(0x236)](_0x16eb47);}));}}['controlMessage'](_0x4a849f,_0x903cbd){const _0x33a63c=_0x2c1281;if(this[_0x33a63c(0x311)]===0x8){if(_0x4a849f[_0x33a63c(0x2d0)]===0x0)this[_0x33a63c(0x2a0)]=!0x1,this[_0x33a63c(0x234)]('conclude',0x3ed,_0x2b9c0c),this[_0x33a63c(0x24e)]();else{const _0x503b02=_0x4a849f[_0x33a63c(0x171)](0x0);if(!_0x432ae2(_0x503b02)){const _0x1af834=this[_0x33a63c(0x1ae)](RangeError,'invalid\x20status\x20code\x20'+_0x503b02,!0x0,0x3ea,_0x33a63c(0x17f));_0x903cbd(_0x1af834);return;}const _0x203e60=new _0x461a2f(_0x4a849f['buffer'],_0x4a849f['byteOffset']+0x2,_0x4a849f[_0x33a63c(0x2d0)]-0x2);if(!this[_0x33a63c(0x1e1)]&&!_0x312bb9(_0x203e60)){const _0x18f2fc=this[_0x33a63c(0x1ae)](Error,_0x33a63c(0x253),!0x0,0x3ef,_0x33a63c(0x284));_0x903cbd(_0x18f2fc);return;}this[_0x33a63c(0x2a0)]=!0x1,this[_0x33a63c(0x234)](_0x33a63c(0x1ba),_0x503b02,_0x203e60),this['end']();}this[_0x33a63c(0x2d4)]=_0x3275df;return;}this['_allowSynchronousEvents']?(this[_0x33a63c(0x234)](this[_0x33a63c(0x311)]===0x9?'ping':_0x33a63c(0x1d7),_0x4a849f),this[_0x33a63c(0x2d4)]=_0x3275df):(this[_0x33a63c(0x2d4)]=_0x385425,setImmediate(()=>{const _0x1389dc=_0x33a63c;this[_0x1389dc(0x234)](this[_0x1389dc(0x311)]===0x9?_0x1389dc(0x168):_0x1389dc(0x1d7),_0x4a849f),this[_0x1389dc(0x2d4)]=_0x3275df,this[_0x1389dc(0x236)](_0x903cbd);}));}[_0x2c1281(0x1ae)](_0x4bed91,_0x840d93,_0x16e7de,_0x736509,_0x9b85b3){const _0x36a191=_0x2c1281;this['_loop']=!0x1,this['_errored']=!0x0;const _0x21405b=new _0x4bed91(_0x16e7de?_0x36a191(0x293)+_0x840d93:_0x840d93);return Error[_0x36a191(0x2a4)](_0x21405b,this[_0x36a191(0x1ae)]),_0x21405b[_0x36a191(0x20a)]=_0x9b85b3,_0x21405b[_0x6c3753]=_0x736509,_0x21405b;}}return Se=_0x11569d,Se;}var Ee,Xe;function ft(){const _0x5e0c9a=_0x230e5d;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x5269db}=oe,{randomFillSync:_0x1945ca}=Le,_0x5ea97c=he(),{EMPTY_BUFFER:_0x2a1603,kWebSocket:_0x1bcf97,NOOP:_0x1b89c8}=H(),{isBlob:_0x5a4c3f,isValidStatusCode:_0x33cbaa}=ae(),{mask:_0x52c589,toBuffer:_0x2d8b0e}=ce(),_0xff5192=Symbol('kByteLength'),_0x2692f6=Buffer[_0x5e0c9a(0x30f)](0x4),_0x10034b=0x8*0x400;let _0x424b81,_0x580858=_0x10034b;const _0x231ae5=0x0,_0x45ab81=0x1,_0x3af430=0x2;class _0x38a648{constructor(_0x32c2bc,_0x115b08,_0x32a496){const _0xd1a4c=_0x5e0c9a;this['_extensions']=_0x115b08||{},_0x32a496&&(this[_0xd1a4c(0x265)]=_0x32a496,this[_0xd1a4c(0x17e)]=Buffer[_0xd1a4c(0x30f)](0x4)),this[_0xd1a4c(0x2d3)]=_0x32c2bc,this['_firstFragment']=!0x0,this[_0xd1a4c(0x1c2)]=!0x1,this[_0xd1a4c(0x195)]=0x0,this['_queue']=[],this[_0xd1a4c(0x2d4)]=_0x231ae5,this[_0xd1a4c(0x186)]=_0x1b89c8,this[_0x1bcf97]=void 0x0;}static[_0x5e0c9a(0x165)](_0x5fed8b,_0x20a4e9){const _0x2e85e9=_0x5e0c9a;let _0x4cdf1f,_0x3905d3=!0x1,_0x1909d7=0x2,_0x378f1b=!0x1;_0x20a4e9['mask']&&(_0x4cdf1f=_0x20a4e9[_0x2e85e9(0x230)]||_0x2692f6,_0x20a4e9[_0x2e85e9(0x233)]?_0x20a4e9[_0x2e85e9(0x233)](_0x4cdf1f):(_0x580858===_0x10034b&&(_0x424b81===void 0x0&&(_0x424b81=Buffer['alloc'](_0x10034b)),_0x1945ca(_0x424b81,0x0,_0x10034b),_0x580858=0x0),_0x4cdf1f[0x0]=_0x424b81[_0x580858++],_0x4cdf1f[0x1]=_0x424b81[_0x580858++],_0x4cdf1f[0x2]=_0x424b81[_0x580858++],_0x4cdf1f[0x3]=_0x424b81[_0x580858++]),_0x378f1b=(_0x4cdf1f[0x0]|_0x4cdf1f[0x1]|_0x4cdf1f[0x2]|_0x4cdf1f[0x3])===0x0,_0x1909d7=0x6);let _0x3476c2;typeof _0x5fed8b==_0x2e85e9(0x1e4)?(!_0x20a4e9[_0x2e85e9(0x1ea)]||_0x378f1b)&&_0x20a4e9[_0xff5192]!==void 0x0?_0x3476c2=_0x20a4e9[_0xff5192]:(_0x5fed8b=Buffer['from'](_0x5fed8b),_0x3476c2=_0x5fed8b[_0x2e85e9(0x2d0)]):(_0x3476c2=_0x5fed8b[_0x2e85e9(0x2d0)],_0x3905d3=_0x20a4e9['mask']&&_0x20a4e9[_0x2e85e9(0x219)]&&!_0x378f1b);let _0x2c814e=_0x3476c2;_0x3476c2>=0x10000?(_0x1909d7+=0x8,_0x2c814e=0x7f):_0x3476c2>0x7d&&(_0x1909d7+=0x2,_0x2c814e=0x7e);const _0x2a709c=Buffer[_0x2e85e9(0x199)](_0x3905d3?_0x3476c2+_0x1909d7:_0x1909d7);return _0x2a709c[0x0]=_0x20a4e9[_0x2e85e9(0x18d)]?_0x20a4e9['opcode']|0x80:_0x20a4e9['opcode'],_0x20a4e9[_0x2e85e9(0x2d8)]&&(_0x2a709c[0x0]|=0x40),_0x2a709c[0x1]=_0x2c814e,_0x2c814e===0x7e?_0x2a709c['writeUInt16BE'](_0x3476c2,0x2):_0x2c814e===0x7f&&(_0x2a709c[0x2]=_0x2a709c[0x3]=0x0,_0x2a709c['writeUIntBE'](_0x3476c2,0x4,0x6)),_0x20a4e9['mask']?(_0x2a709c[0x1]|=0x80,_0x2a709c[_0x1909d7-0x4]=_0x4cdf1f[0x0],_0x2a709c[_0x1909d7-0x3]=_0x4cdf1f[0x1],_0x2a709c[_0x1909d7-0x2]=_0x4cdf1f[0x2],_0x2a709c[_0x1909d7-0x1]=_0x4cdf1f[0x3],_0x378f1b?[_0x2a709c,_0x5fed8b]:_0x3905d3?(_0x52c589(_0x5fed8b,_0x4cdf1f,_0x2a709c,_0x1909d7,_0x3476c2),[_0x2a709c]):(_0x52c589(_0x5fed8b,_0x4cdf1f,_0x5fed8b,0x0,_0x3476c2),[_0x2a709c,_0x5fed8b])):[_0x2a709c,_0x5fed8b];}[_0x5e0c9a(0x2a2)](_0x50a9d3,_0x2b160e,_0x18d00d,_0x2b1a85){const _0xd2806f=_0x5e0c9a;let _0x33d8a9;if(_0x50a9d3===void 0x0)_0x33d8a9=_0x2a1603;else{if(typeof _0x50a9d3!='number'||!_0x33cbaa(_0x50a9d3))throw new TypeError(_0xd2806f(0x30b));if(_0x2b160e===void 0x0||!_0x2b160e[_0xd2806f(0x2d0)])_0x33d8a9=Buffer[_0xd2806f(0x199)](0x2),_0x33d8a9['writeUInt16BE'](_0x50a9d3,0x0);else{const _0x5aac27=Buffer[_0xd2806f(0x23e)](_0x2b160e);if(_0x5aac27>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x33d8a9=Buffer[_0xd2806f(0x199)](0x2+_0x5aac27),_0x33d8a9['writeUInt16BE'](_0x50a9d3,0x0),typeof _0x2b160e==_0xd2806f(0x1e4)?_0x33d8a9[_0xd2806f(0x27a)](_0x2b160e,0x2):_0x33d8a9[_0xd2806f(0x275)](_0x2b160e,0x2);}}const _0x4b0199={[_0xff5192]:_0x33d8a9[_0xd2806f(0x2d0)],'fin':!0x0,'generateMask':this[_0xd2806f(0x265)],'mask':_0x18d00d,'maskBuffer':this[_0xd2806f(0x17e)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0xd2806f(0x2d4)]!==_0x231ae5?this[_0xd2806f(0x2d6)]([this[_0xd2806f(0x2af)],_0x33d8a9,!0x1,_0x4b0199,_0x2b1a85]):this['sendFrame'](_0x38a648[_0xd2806f(0x165)](_0x33d8a9,_0x4b0199),_0x2b1a85);}['ping'](_0x240a62,_0x46412a,_0x374a4e){const _0x1ce838=_0x5e0c9a;let _0x4d2037,_0x22b877;if(typeof _0x240a62==_0x1ce838(0x1e4)?(_0x4d2037=Buffer['byteLength'](_0x240a62),_0x22b877=!0x1):_0x5a4c3f(_0x240a62)?(_0x4d2037=_0x240a62[_0x1ce838(0x1ac)],_0x22b877=!0x1):(_0x240a62=_0x2d8b0e(_0x240a62),_0x4d2037=_0x240a62[_0x1ce838(0x2d0)],_0x22b877=_0x2d8b0e[_0x1ce838(0x219)]),_0x4d2037>0x7d)throw new RangeError(_0x1ce838(0x30e));const _0x6e3f7a={[_0xff5192]:_0x4d2037,'fin':!0x0,'generateMask':this[_0x1ce838(0x265)],'mask':_0x46412a,'maskBuffer':this[_0x1ce838(0x17e)],'opcode':0x9,'readOnly':_0x22b877,'rsv1':!0x1};_0x5a4c3f(_0x240a62)?this[_0x1ce838(0x2d4)]!==_0x231ae5?this[_0x1ce838(0x2d6)]([this[_0x1ce838(0x1f7)],_0x240a62,!0x1,_0x6e3f7a,_0x374a4e]):this[_0x1ce838(0x1f7)](_0x240a62,!0x1,_0x6e3f7a,_0x374a4e):this[_0x1ce838(0x2d4)]!==_0x231ae5?this['enqueue']([this[_0x1ce838(0x2af)],_0x240a62,!0x1,_0x6e3f7a,_0x374a4e]):this[_0x1ce838(0x240)](_0x38a648['frame'](_0x240a62,_0x6e3f7a),_0x374a4e);}[_0x5e0c9a(0x1d7)](_0x43aca3,_0x4444f5,_0x296c77){const _0xd8cc32=_0x5e0c9a;let _0x408ef9,_0x35ea5d;if(typeof _0x43aca3==_0xd8cc32(0x1e4)?(_0x408ef9=Buffer[_0xd8cc32(0x23e)](_0x43aca3),_0x35ea5d=!0x1):_0x5a4c3f(_0x43aca3)?(_0x408ef9=_0x43aca3['size'],_0x35ea5d=!0x1):(_0x43aca3=_0x2d8b0e(_0x43aca3),_0x408ef9=_0x43aca3[_0xd8cc32(0x2d0)],_0x35ea5d=_0x2d8b0e[_0xd8cc32(0x219)]),_0x408ef9>0x7d)throw new RangeError(_0xd8cc32(0x30e));const _0x23c23b={[_0xff5192]:_0x408ef9,'fin':!0x0,'generateMask':this[_0xd8cc32(0x265)],'mask':_0x4444f5,'maskBuffer':this[_0xd8cc32(0x17e)],'opcode':0xa,'readOnly':_0x35ea5d,'rsv1':!0x1};_0x5a4c3f(_0x43aca3)?this['_state']!==_0x231ae5?this[_0xd8cc32(0x2d6)]([this['getBlobData'],_0x43aca3,!0x1,_0x23c23b,_0x296c77]):this['getBlobData'](_0x43aca3,!0x1,_0x23c23b,_0x296c77):this['_state']!==_0x231ae5?this[_0xd8cc32(0x2d6)]([this['dispatch'],_0x43aca3,!0x1,_0x23c23b,_0x296c77]):this['sendFrame'](_0x38a648[_0xd8cc32(0x165)](_0x43aca3,_0x23c23b),_0x296c77);}['send'](_0x3b35fc,_0x314a65,_0x146674){const _0x560348=_0x5e0c9a,_0x377f91=this[_0x560348(0x17c)][_0x5ea97c[_0x560348(0x257)]];let _0x38f41c=_0x314a65[_0x560348(0x192)]?0x2:0x1,_0x48987b=_0x314a65['compress'],_0x31c34f,_0x3fcdf2;typeof _0x3b35fc=='string'?(_0x31c34f=Buffer[_0x560348(0x23e)](_0x3b35fc),_0x3fcdf2=!0x1):_0x5a4c3f(_0x3b35fc)?(_0x31c34f=_0x3b35fc['size'],_0x3fcdf2=!0x1):(_0x3b35fc=_0x2d8b0e(_0x3b35fc),_0x31c34f=_0x3b35fc['length'],_0x3fcdf2=_0x2d8b0e[_0x560348(0x219)]),this[_0x560348(0x1a5)]?(this[_0x560348(0x1a5)]=!0x1,_0x48987b&&_0x377f91&&_0x377f91[_0x560348(0x2b9)][_0x377f91[_0x560348(0x1c4)]?_0x560348(0x290):_0x560348(0x221)]&&(_0x48987b=_0x31c34f>=_0x377f91[_0x560348(0x1a8)]),this[_0x560348(0x1c2)]=_0x48987b):(_0x48987b=!0x1,_0x38f41c=0x0),_0x314a65['fin']&&(this['_firstFragment']=!0x0);const _0x60ae92={[_0xff5192]:_0x31c34f,'fin':_0x314a65[_0x560348(0x18d)],'generateMask':this[_0x560348(0x265)],'mask':_0x314a65['mask'],'maskBuffer':this[_0x560348(0x17e)],'opcode':_0x38f41c,'readOnly':_0x3fcdf2,'rsv1':_0x48987b};_0x5a4c3f(_0x3b35fc)?this[_0x560348(0x2d4)]!==_0x231ae5?this[_0x560348(0x2d6)]([this[_0x560348(0x1f7)],_0x3b35fc,this[_0x560348(0x1c2)],_0x60ae92,_0x146674]):this[_0x560348(0x1f7)](_0x3b35fc,this[_0x560348(0x1c2)],_0x60ae92,_0x146674):this[_0x560348(0x2d4)]!==_0x231ae5?this['enqueue']([this[_0x560348(0x2af)],_0x3b35fc,this[_0x560348(0x1c2)],_0x60ae92,_0x146674]):this[_0x560348(0x2af)](_0x3b35fc,this[_0x560348(0x1c2)],_0x60ae92,_0x146674);}[_0x5e0c9a(0x1f7)](_0x36c681,_0x6a1899,_0x1b127b,_0x221b86){const _0x426838=_0x5e0c9a;this[_0x426838(0x195)]+=_0x1b127b[_0xff5192],this[_0x426838(0x2d4)]=_0x3af430,_0x36c681['arrayBuffer']()[_0x426838(0x1ca)](_0xd9fca6=>{const _0x5bfdf7=_0x426838;if(this[_0x5bfdf7(0x2d3)][_0x5bfdf7(0x1ef)]){const _0x58d48a=new Error(_0x5bfdf7(0x16a));process[_0x5bfdf7(0x239)](_0x3c2ff7,this,_0x58d48a,_0x221b86);return;}this[_0x5bfdf7(0x195)]-=_0x1b127b[_0xff5192];const _0x249be7=_0x2d8b0e(_0xd9fca6);_0x6a1899?this[_0x5bfdf7(0x2af)](_0x249be7,_0x6a1899,_0x1b127b,_0x221b86):(this[_0x5bfdf7(0x2d4)]=_0x231ae5,this[_0x5bfdf7(0x240)](_0x38a648[_0x5bfdf7(0x165)](_0x249be7,_0x1b127b),_0x221b86),this[_0x5bfdf7(0x1ab)]());})[_0x426838(0x317)](_0x16b210=>{const _0x593541=_0x426838;process[_0x593541(0x239)](_0x5d822f,this,_0x16b210,_0x221b86);});}['dispatch'](_0x41e8b9,_0x3f08c5,_0x36504a,_0x4ac90b){const _0x12dbd3=_0x5e0c9a;if(!_0x3f08c5){this[_0x12dbd3(0x240)](_0x38a648[_0x12dbd3(0x165)](_0x41e8b9,_0x36504a),_0x4ac90b);return;}const _0x7aa02d=this['_extensions'][_0x5ea97c[_0x12dbd3(0x257)]];this['_bufferedBytes']+=_0x36504a[_0xff5192],this[_0x12dbd3(0x2d4)]=_0x45ab81,_0x7aa02d['compress'](_0x41e8b9,_0x36504a[_0x12dbd3(0x18d)],(_0x208298,_0x5bcf46)=>{const _0x1d663f=_0x12dbd3;if(this[_0x1d663f(0x2d3)][_0x1d663f(0x1ef)]){const _0x552b06=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x3c2ff7(this,_0x552b06,_0x4ac90b);return;}this['_bufferedBytes']-=_0x36504a[_0xff5192],this[_0x1d663f(0x2d4)]=_0x231ae5,_0x36504a[_0x1d663f(0x219)]=!0x1,this['sendFrame'](_0x38a648['frame'](_0x5bcf46,_0x36504a),_0x4ac90b),this[_0x1d663f(0x1ab)]();});}[_0x5e0c9a(0x1ab)](){const _0x500ed8=_0x5e0c9a;for(;this[_0x500ed8(0x2d4)]===_0x231ae5&&this['_queue'][_0x500ed8(0x2d0)];){const _0x47a798=this[_0x500ed8(0x184)][_0x500ed8(0x2fc)]();this[_0x500ed8(0x195)]-=_0x47a798[0x3][_0xff5192],Reflect[_0x500ed8(0x19f)](_0x47a798[0x0],this,_0x47a798[_0x500ed8(0x26d)](0x1));}}[_0x5e0c9a(0x2d6)](_0x27513c){const _0x5a3678=_0x5e0c9a;this[_0x5a3678(0x195)]+=_0x27513c[0x3][_0xff5192],this['_queue'][_0x5a3678(0x303)](_0x27513c);}[_0x5e0c9a(0x240)](_0x2b80ef,_0x490593){const _0x180b17=_0x5e0c9a;_0x2b80ef[_0x180b17(0x2d0)]===0x2?(this['_socket'][_0x180b17(0x222)](),this[_0x180b17(0x2d3)][_0x180b17(0x27a)](_0x2b80ef[0x0]),this[_0x180b17(0x2d3)]['write'](_0x2b80ef[0x1],_0x490593),this[_0x180b17(0x2d3)][_0x180b17(0x249)]()):this[_0x180b17(0x2d3)][_0x180b17(0x27a)](_0x2b80ef[0x0],_0x490593);}}Ee=_0x38a648;function _0x3c2ff7(_0x5ac250,_0x222dd4,_0x1fd75e){const _0x31fe14=_0x5e0c9a;typeof _0x1fd75e==_0x31fe14(0x220)&&_0x1fd75e(_0x222dd4);for(let _0x323e4f=0x0;_0x323e4f<_0x5ac250[_0x31fe14(0x184)][_0x31fe14(0x2d0)];_0x323e4f++){const _0x3df260=_0x5ac250['_queue'][_0x323e4f],_0x1bc6af=_0x3df260[_0x3df260[_0x31fe14(0x2d0)]-0x1];typeof _0x1bc6af==_0x31fe14(0x220)&&_0x1bc6af(_0x222dd4);}}function _0x5d822f(_0x3cfe4e,_0x3edd66,_0x59e4c1){const _0x4a6c58=_0x5e0c9a;_0x3c2ff7(_0x3cfe4e,_0x3edd66,_0x59e4c1),_0x3cfe4e[_0x4a6c58(0x186)](_0x3edd66);}return Ee;}var xe,Ze;function It(){const _0x2c8303=_0x230e5d;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x23368d,kListener:_0x3e3b52}=H(),_0x329286=Symbol(_0x2c8303(0x2f9)),_0x115d3c=Symbol('kData'),_0x30a53d=Symbol(_0x2c8303(0x285)),_0x4c66df=Symbol(_0x2c8303(0x273)),_0x133931=Symbol(_0x2c8303(0x19e)),_0x5e72be=Symbol(_0x2c8303(0x2b5)),_0x3e9131=Symbol(_0x2c8303(0x287)),_0x5a39fd=Symbol(_0x2c8303(0x19d));class _0xb05729{constructor(_0x30091b){this[_0x5e72be]=null,this[_0x3e9131]=_0x30091b;}get[_0x2c8303(0x20c)](){return this[_0x5e72be];}get[_0x2c8303(0x2c2)](){return this[_0x3e9131];}}Object[_0x2c8303(0x2a5)](_0xb05729[_0x2c8303(0x23d)],_0x2c8303(0x20c),{'enumerable':!0x0}),Object[_0x2c8303(0x2a5)](_0xb05729[_0x2c8303(0x23d)],_0x2c8303(0x2c2),{'enumerable':!0x0});class _0x1b00bd extends _0xb05729{constructor(_0xbcc6ad,_0x3da2c2={}){const _0x4fb7f8=_0x2c8303;super(_0xbcc6ad),this[_0x329286]=_0x3da2c2[_0x4fb7f8(0x20a)]===void 0x0?0x0:_0x3da2c2[_0x4fb7f8(0x20a)],this[_0x133931]=_0x3da2c2[_0x4fb7f8(0x2bf)]===void 0x0?'':_0x3da2c2[_0x4fb7f8(0x2bf)],this[_0x5a39fd]=_0x3da2c2[_0x4fb7f8(0x26e)]===void 0x0?!0x1:_0x3da2c2[_0x4fb7f8(0x26e)];}get[_0x2c8303(0x20a)](){return this[_0x329286];}get['reason'](){return this[_0x133931];}get[_0x2c8303(0x26e)](){return this[_0x5a39fd];}}Object[_0x2c8303(0x2a5)](_0x1b00bd[_0x2c8303(0x23d)],'code',{'enumerable':!0x0}),Object[_0x2c8303(0x2a5)](_0x1b00bd[_0x2c8303(0x23d)],_0x2c8303(0x2bf),{'enumerable':!0x0}),Object[_0x2c8303(0x2a5)](_0x1b00bd[_0x2c8303(0x23d)],'wasClean',{'enumerable':!0x0});class _0x33f99d extends _0xb05729{constructor(_0x2b8c44,_0x3284b9={}){const _0x486e65=_0x2c8303;super(_0x2b8c44),this[_0x30a53d]=_0x3284b9[_0x486e65(0x1bc)]===void 0x0?null:_0x3284b9[_0x486e65(0x1bc)],this[_0x4c66df]=_0x3284b9[_0x486e65(0x2c4)]===void 0x0?'':_0x3284b9[_0x486e65(0x2c4)];}get[_0x2c8303(0x1bc)](){return this[_0x30a53d];}get[_0x2c8303(0x2c4)](){return this[_0x4c66df];}}Object[_0x2c8303(0x2a5)](_0x33f99d[_0x2c8303(0x23d)],_0x2c8303(0x1bc),{'enumerable':!0x0}),Object[_0x2c8303(0x2a5)](_0x33f99d[_0x2c8303(0x23d)],'message',{'enumerable':!0x0});class _0x51daeb extends _0xb05729{constructor(_0x2a5ccf,_0x7e1a66={}){const _0x4be3bf=_0x2c8303;super(_0x2a5ccf),this[_0x115d3c]=_0x7e1a66[_0x4be3bf(0x29c)]===void 0x0?null:_0x7e1a66[_0x4be3bf(0x29c)];}get[_0x2c8303(0x29c)](){return this[_0x115d3c];}}Object['defineProperty'](_0x51daeb['prototype'],'data',{'enumerable':!0x0}),xe={'CloseEvent':_0x1b00bd,'ErrorEvent':_0x33f99d,'Event':_0xb05729,'EventTarget':{'addEventListener'(_0x93e47b,_0x813c61,_0x3f1497={}){const _0x25ab5e=_0x2c8303;for(const _0x5aa336 of this[_0x25ab5e(0x2ce)](_0x93e47b))if(!_0x3f1497[_0x23368d]&&_0x5aa336[_0x3e3b52]===_0x813c61&&!_0x5aa336[_0x23368d])return;let _0x297974;if(_0x93e47b===_0x25ab5e(0x2c4))_0x297974=function(_0x1ecdef,_0x5ab7a5){const _0xcc0f41=new _0x51daeb('message',{'data':_0x5ab7a5?_0x1ecdef:_0x1ecdef['toString']()});_0xcc0f41[_0x5e72be]=this,_0x5499ff(_0x813c61,this,_0xcc0f41);};else{if(_0x93e47b==='close')_0x297974=function(_0x2a2a67,_0xb2e206){const _0x40bdd5=_0x25ab5e,_0xebd365=new _0x1b00bd(_0x40bdd5(0x2a2),{'code':_0x2a2a67,'reason':_0xb2e206[_0x40bdd5(0x20d)](),'wasClean':this[_0x40bdd5(0x204)]&&this[_0x40bdd5(0x2f1)]});_0xebd365[_0x5e72be]=this,_0x5499ff(_0x813c61,this,_0xebd365);};else{if(_0x93e47b===_0x25ab5e(0x1bc))_0x297974=function(_0x4d026f){const _0x2ff64=_0x25ab5e,_0x1a76df=new _0x33f99d(_0x2ff64(0x1bc),{'error':_0x4d026f,'message':_0x4d026f[_0x2ff64(0x2c4)]});_0x1a76df[_0x5e72be]=this,_0x5499ff(_0x813c61,this,_0x1a76df);};else{if(_0x93e47b===_0x25ab5e(0x185))_0x297974=function(){const _0x2d185f=_0x25ab5e,_0x487c68=new _0xb05729(_0x2d185f(0x185));_0x487c68[_0x5e72be]=this,_0x5499ff(_0x813c61,this,_0x487c68);};else return;}}}_0x297974[_0x23368d]=!!_0x3f1497[_0x23368d],_0x297974[_0x3e3b52]=_0x813c61,_0x3f1497['once']?this['once'](_0x93e47b,_0x297974):this['on'](_0x93e47b,_0x297974);},'removeEventListener'(_0x57f685,_0x28f44e){const _0x5e6b0f=_0x2c8303;for(const _0x188a8a of this[_0x5e6b0f(0x2ce)](_0x57f685))if(_0x188a8a[_0x3e3b52]===_0x28f44e&&!_0x188a8a[_0x23368d]){this[_0x5e6b0f(0x1b4)](_0x57f685,_0x188a8a);break;}}},'MessageEvent':_0x51daeb};function _0x5499ff(_0x5081c8,_0x4f1310,_0x67b2cf){const _0x4544b1=_0x2c8303;typeof _0x5081c8==_0x4544b1(0x22c)&&_0x5081c8[_0x4544b1(0x237)]?_0x5081c8['handleEvent'][_0x4544b1(0x1d0)](_0x5081c8,_0x67b2cf):_0x5081c8[_0x4544b1(0x1d0)](_0x4f1310,_0x67b2cf);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x42da60}=ae();function _0x28a83f(_0x307c96,_0x266605,_0x18caff){const _0x2a574e=_0x571c;_0x307c96[_0x266605]===void 0x0?_0x307c96[_0x266605]=[_0x18caff]:_0x307c96[_0x266605][_0x2a574e(0x303)](_0x18caff);}function _0x5811a5(_0x4a4137){const _0x2a82b3=_0x571c,_0x54ef40=Object[_0x2a82b3(0x2ca)](null);let _0x7ea7d8=Object[_0x2a82b3(0x2ca)](null),_0x193b93=!0x1,_0x37a5f2=!0x1,_0x2cc50f=!0x1,_0x143267,_0x1c3b72,_0x21181e=-0x1,_0x4ae45d=-0x1,_0x3df4c8=-0x1,_0x3bd310=0x0;for(;_0x3bd310<_0x4a4137[_0x2a82b3(0x2d0)];_0x3bd310++)if(_0x4ae45d=_0x4a4137['charCodeAt'](_0x3bd310),_0x143267===void 0x0){if(_0x3df4c8===-0x1&&_0x42da60[_0x4ae45d]===0x1)_0x21181e===-0x1&&(_0x21181e=_0x3bd310);else{if(_0x3bd310!==0x0&&(_0x4ae45d===0x20||_0x4ae45d===0x9))_0x3df4c8===-0x1&&_0x21181e!==-0x1&&(_0x3df4c8=_0x3bd310);else{if(_0x4ae45d===0x3b||_0x4ae45d===0x2c){if(_0x21181e===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x3bd310);_0x3df4c8===-0x1&&(_0x3df4c8=_0x3bd310);const _0x310e9f=_0x4a4137[_0x2a82b3(0x26d)](_0x21181e,_0x3df4c8);_0x4ae45d===0x2c?(_0x28a83f(_0x54ef40,_0x310e9f,_0x7ea7d8),_0x7ea7d8=Object[_0x2a82b3(0x2ca)](null)):_0x143267=_0x310e9f,_0x21181e=_0x3df4c8=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x3bd310);}}}else{if(_0x1c3b72===void 0x0){if(_0x3df4c8===-0x1&&_0x42da60[_0x4ae45d]===0x1)_0x21181e===-0x1&&(_0x21181e=_0x3bd310);else{if(_0x4ae45d===0x20||_0x4ae45d===0x9)_0x3df4c8===-0x1&&_0x21181e!==-0x1&&(_0x3df4c8=_0x3bd310);else{if(_0x4ae45d===0x3b||_0x4ae45d===0x2c){if(_0x21181e===-0x1)throw new SyntaxError(_0x2a82b3(0x1a1)+_0x3bd310);_0x3df4c8===-0x1&&(_0x3df4c8=_0x3bd310),_0x28a83f(_0x7ea7d8,_0x4a4137[_0x2a82b3(0x26d)](_0x21181e,_0x3df4c8),!0x0),_0x4ae45d===0x2c&&(_0x28a83f(_0x54ef40,_0x143267,_0x7ea7d8),_0x7ea7d8=Object[_0x2a82b3(0x2ca)](null),_0x143267=void 0x0),_0x21181e=_0x3df4c8=-0x1;}else{if(_0x4ae45d===0x3d&&_0x21181e!==-0x1&&_0x3df4c8===-0x1)_0x1c3b72=_0x4a4137['slice'](_0x21181e,_0x3bd310),_0x21181e=_0x3df4c8=-0x1;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x3bd310);}}}}else{if(_0x37a5f2){if(_0x42da60[_0x4ae45d]!==0x1)throw new SyntaxError(_0x2a82b3(0x1a1)+_0x3bd310);_0x21181e===-0x1?_0x21181e=_0x3bd310:_0x193b93||(_0x193b93=!0x0),_0x37a5f2=!0x1;}else{if(_0x2cc50f){if(_0x42da60[_0x4ae45d]===0x1)_0x21181e===-0x1&&(_0x21181e=_0x3bd310);else{if(_0x4ae45d===0x22&&_0x21181e!==-0x1)_0x2cc50f=!0x1,_0x3df4c8=_0x3bd310;else{if(_0x4ae45d===0x5c)_0x37a5f2=!0x0;else throw new SyntaxError(_0x2a82b3(0x1a1)+_0x3bd310);}}}else{if(_0x4ae45d===0x22&&_0x4a4137[_0x2a82b3(0x1d9)](_0x3bd310-0x1)===0x3d)_0x2cc50f=!0x0;else{if(_0x3df4c8===-0x1&&_0x42da60[_0x4ae45d]===0x1)_0x21181e===-0x1&&(_0x21181e=_0x3bd310);else{if(_0x21181e!==-0x1&&(_0x4ae45d===0x20||_0x4ae45d===0x9))_0x3df4c8===-0x1&&(_0x3df4c8=_0x3bd310);else{if(_0x4ae45d===0x3b||_0x4ae45d===0x2c){if(_0x21181e===-0x1)throw new SyntaxError(_0x2a82b3(0x1a1)+_0x3bd310);_0x3df4c8===-0x1&&(_0x3df4c8=_0x3bd310);let _0x3216dd=_0x4a4137['slice'](_0x21181e,_0x3df4c8);_0x193b93&&(_0x3216dd=_0x3216dd['replace'](/\\/g,''),_0x193b93=!0x1),_0x28a83f(_0x7ea7d8,_0x1c3b72,_0x3216dd),_0x4ae45d===0x2c&&(_0x28a83f(_0x54ef40,_0x143267,_0x7ea7d8),_0x7ea7d8=Object['create'](null),_0x143267=void 0x0),_0x1c3b72=void 0x0,_0x21181e=_0x3df4c8=-0x1;}else throw new SyntaxError(_0x2a82b3(0x1a1)+_0x3bd310);}}}}}}}if(_0x21181e===-0x1||_0x2cc50f||_0x4ae45d===0x20||_0x4ae45d===0x9)throw new SyntaxError(_0x2a82b3(0x207));_0x3df4c8===-0x1&&(_0x3df4c8=_0x3bd310);const _0x335f7b=_0x4a4137[_0x2a82b3(0x26d)](_0x21181e,_0x3df4c8);return _0x143267===void 0x0?_0x28a83f(_0x54ef40,_0x335f7b,_0x7ea7d8):(_0x1c3b72===void 0x0?_0x28a83f(_0x7ea7d8,_0x335f7b,!0x0):_0x193b93?_0x28a83f(_0x7ea7d8,_0x1c3b72,_0x335f7b[_0x2a82b3(0x175)](/\\/g,'')):_0x28a83f(_0x7ea7d8,_0x1c3b72,_0x335f7b),_0x28a83f(_0x54ef40,_0x143267,_0x7ea7d8)),_0x54ef40;}function _0x308d10(_0x46b12e){const _0xab87ab=_0x571c;return Object['keys'](_0x46b12e)[_0xab87ab(0x2b0)](_0x5a0687=>{const _0x2518d9=_0xab87ab;let _0x15de9f=_0x46b12e[_0x5a0687];return Array[_0x2518d9(0x209)](_0x15de9f)||(_0x15de9f=[_0x15de9f]),_0x15de9f[_0x2518d9(0x2b0)](_0x39b5d0=>[_0x5a0687]['concat'](Object['keys'](_0x39b5d0)['map'](_0x56f1fa=>{const _0x70c5b8=_0x2518d9;let _0xfdfbe4=_0x39b5d0[_0x56f1fa];return Array[_0x70c5b8(0x209)](_0xfdfbe4)||(_0xfdfbe4=[_0xfdfbe4]),_0xfdfbe4['map'](_0x1362fe=>_0x1362fe===!0x0?_0x56f1fa:_0x56f1fa+'='+_0x1362fe)[_0x70c5b8(0x244)](';\x20');}))['join'](';\x20'))[_0x2518d9(0x244)](',\x20');})['join'](',\x20');}return be={'format':_0x308d10,'parse':_0x5811a5},be;}var we,Je;function Pe(){const _0x2eaa38=_0x230e5d;if(Je)return we;Je=0x1;const _0x43742a=nt,_0x1c8219=vt,_0x2681cc=ot,_0x483330=St,_0xeb631c=Et,{randomBytes:_0x580461,createHash:_0x26526c}=Le,{Duplex:_0x161805,Readable:_0x503f21}=oe,{URL:_0x58dfdb}=xt,_0x276475=he(),_0x7b24c0=lt(),_0x23a003=ft(),{isBlob:_0x4de29b}=ae(),{BINARY_TYPES:_0x3c1f83,EMPTY_BUFFER:_0x21bb3f,GUID:_0x5e860,kForOnEventAttribute:_0x4eee06,kListener:_0x2b7352,kStatusCode:_0x1a6a60,kWebSocket:_0x5b12fc,NOOP:_0x24a645}=H(),{EventTarget:{addEventListener:_0x1ad304,removeEventListener:_0x1c4a52}}=It(),{format:_0x18404a,parse:_0x53de83}=ct(),{toBuffer:_0x25e651}=ce(),_0xd46a73=0x1e*0x3e8,_0x4054fc=Symbol(_0x2eaa38(0x182)),_0x36cdad=[0x8,0xd],_0x10f294=[_0x2eaa38(0x24d),_0x2eaa38(0x2dc),'CLOSING','CLOSED'],_0x4b2b78=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x3e5c7f extends _0x43742a{constructor(_0x562b27,_0x686478,_0x4774e6){const _0x31f357=_0x2eaa38;super(),this[_0x31f357(0x1b6)]=_0x3c1f83[0x0],this[_0x31f357(0x16d)]=0x3ee,this[_0x31f357(0x204)]=!0x1,this['_closeFrameSent']=!0x1,this[_0x31f357(0x2c0)]=_0x21bb3f,this['_closeTimer']=null,this[_0x31f357(0x1b8)]=!0x1,this['_extensions']={},this[_0x31f357(0x1bf)]=!0x1,this[_0x31f357(0x245)]='',this[_0x31f357(0x1c3)]=_0x3e5c7f['CONNECTING'],this[_0x31f357(0x25d)]=null,this['_sender']=null,this[_0x31f357(0x2d3)]=null,_0x562b27!==null?(this[_0x31f357(0x2c6)]=0x0,this[_0x31f357(0x1c4)]=!0x1,this[_0x31f357(0x2cf)]=0x0,_0x686478===void 0x0?_0x686478=[]:Array['isArray'](_0x686478)||(typeof _0x686478==_0x31f357(0x22c)&&_0x686478!==null?(_0x4774e6=_0x686478,_0x686478=[]):_0x686478=[_0x686478]),_0x1362a3(this,_0x562b27,_0x686478,_0x4774e6)):(this['_autoPong']=_0x4774e6[_0x31f357(0x18b)],this['_isServer']=!0x0);}get['binaryType'](){const _0x5cbd96=_0x2eaa38;return this[_0x5cbd96(0x1b6)];}set[_0x2eaa38(0x201)](_0x33058b){const _0x131dbc=_0x2eaa38;_0x3c1f83['includes'](_0x33058b)&&(this[_0x131dbc(0x1b6)]=_0x33058b,this['_receiver']&&(this[_0x131dbc(0x25d)][_0x131dbc(0x1b6)]=_0x33058b));}get['bufferedAmount'](){const _0x2b5ffc=_0x2eaa38;return this[_0x2b5ffc(0x2d3)]?this[_0x2b5ffc(0x2d3)][_0x2b5ffc(0x25a)]['length']+this[_0x2b5ffc(0x2a9)][_0x2b5ffc(0x195)]:this[_0x2b5ffc(0x2c6)];}get[_0x2eaa38(0x21f)](){const _0x128611=_0x2eaa38;return Object[_0x128611(0x161)](this[_0x128611(0x17c)])[_0x128611(0x244)]();}get['isPaused'](){const _0x12813f=_0x2eaa38;return this[_0x12813f(0x1bf)];}get[_0x2eaa38(0x315)](){return null;}get[_0x2eaa38(0x186)](){return null;}get[_0x2eaa38(0x310)](){return null;}get[_0x2eaa38(0x217)](){return null;}get[_0x2eaa38(0x2cd)](){const _0x1c5d3f=_0x2eaa38;return this[_0x1c5d3f(0x245)];}get['readyState'](){const _0x4f96f4=_0x2eaa38;return this[_0x4f96f4(0x1c3)];}get[_0x2eaa38(0x23c)](){const _0x27a2e7=_0x2eaa38;return this[_0x27a2e7(0x254)];}['setSocket'](_0x5a0917,_0xe1ccb0,_0x360926){const _0x466312=_0x2eaa38,_0x273fad=new _0x7b24c0({'allowSynchronousEvents':_0x360926[_0x466312(0x283)],'binaryType':this[_0x466312(0x201)],'extensions':this[_0x466312(0x17c)],'isServer':this[_0x466312(0x1c4)],'maxPayload':_0x360926['maxPayload'],'skipUTF8Validation':_0x360926[_0x466312(0x28a)]}),_0x2d0122=new _0x23a003(_0x5a0917,this[_0x466312(0x17c)],_0x360926[_0x466312(0x233)]);this[_0x466312(0x25d)]=_0x273fad,this[_0x466312(0x2a9)]=_0x2d0122,this[_0x466312(0x2d3)]=_0x5a0917,_0x273fad[_0x5b12fc]=this,_0x2d0122[_0x5b12fc]=this,_0x5a0917[_0x5b12fc]=this,_0x273fad['on'](_0x466312(0x1ba),_0x5525be),_0x273fad['on']('drain',_0x47522c),_0x273fad['on'](_0x466312(0x1bc),_0x56964c),_0x273fad['on'](_0x466312(0x2c4),_0x5a7f90),_0x273fad['on'](_0x466312(0x168),_0x5081ea),_0x273fad['on'](_0x466312(0x1d7),_0x51a1a7),_0x2d0122['onerror']=_0x394fe1,_0x5a0917[_0x466312(0x1c9)]&&_0x5a0917[_0x466312(0x1c9)](0x0),_0x5a0917[_0x466312(0x1ff)]&&_0x5a0917[_0x466312(0x1ff)](),_0xe1ccb0[_0x466312(0x2d0)]>0x0&&_0x5a0917[_0x466312(0x18a)](_0xe1ccb0),_0x5a0917['on'](_0x466312(0x2a2),_0x4fea84),_0x5a0917['on']('data',_0x106090),_0x5a0917['on'](_0x466312(0x24e),_0x55304e),_0x5a0917['on'](_0x466312(0x1bc),_0x2e9d4a),this['_readyState']=_0x3e5c7f[_0x466312(0x2dc)],this[_0x466312(0x234)](_0x466312(0x185));}[_0x2eaa38(0x1f5)](){const _0x2a4c31=_0x2eaa38;if(!this[_0x2a4c31(0x2d3)]){this[_0x2a4c31(0x1c3)]=_0x3e5c7f[_0x2a4c31(0x291)],this[_0x2a4c31(0x234)](_0x2a4c31(0x2a2),this['_closeCode'],this['_closeMessage']);return;}this[_0x2a4c31(0x17c)][_0x276475[_0x2a4c31(0x257)]]&&this[_0x2a4c31(0x17c)][_0x276475['extensionName']][_0x2a4c31(0x2b6)](),this[_0x2a4c31(0x25d)]['removeAllListeners'](),this['_readyState']=_0x3e5c7f[_0x2a4c31(0x291)],this[_0x2a4c31(0x234)](_0x2a4c31(0x2a2),this[_0x2a4c31(0x16d)],this[_0x2a4c31(0x2c0)]);}[_0x2eaa38(0x2a2)](_0x3156ad,_0x56e493){const _0x4246c9=_0x2eaa38;if(this[_0x4246c9(0x267)]!==_0x3e5c7f[_0x4246c9(0x291)]){if(this['readyState']===_0x3e5c7f[_0x4246c9(0x24d)]){_0x3581a4(this,this['_req'],_0x4246c9(0x1df));return;}if(this['readyState']===_0x3e5c7f['CLOSING']){this[_0x4246c9(0x2f1)]&&(this['_closeFrameReceived']||this['_receiver'][_0x4246c9(0x25a)][_0x4246c9(0x1d1)])&&this[_0x4246c9(0x2d3)][_0x4246c9(0x24e)]();return;}this[_0x4246c9(0x1c3)]=_0x3e5c7f['CLOSING'],this[_0x4246c9(0x2a9)][_0x4246c9(0x2a2)](_0x3156ad,_0x56e493,!this[_0x4246c9(0x1c4)],_0x54f7c7=>{const _0x12443e=_0x4246c9;_0x54f7c7||(this[_0x12443e(0x2f1)]=!0x0,(this[_0x12443e(0x204)]||this['_receiver'][_0x12443e(0x25a)][_0x12443e(0x1d1)])&&this['_socket']['end']());}),_0x2780d5(this);}}[_0x2eaa38(0x2fb)](){const _0x5c0b48=_0x2eaa38;this[_0x5c0b48(0x267)]===_0x3e5c7f[_0x5c0b48(0x24d)]||this[_0x5c0b48(0x267)]===_0x3e5c7f[_0x5c0b48(0x291)]||(this[_0x5c0b48(0x1bf)]=!0x0,this[_0x5c0b48(0x2d3)][_0x5c0b48(0x2fb)]());}['ping'](_0x49689f,_0x4ec217,_0x144e29){const _0x100e24=_0x2eaa38;if(this['readyState']===_0x3e5c7f[_0x100e24(0x24d)])throw new Error(_0x100e24(0x272));if(typeof _0x49689f=='function'?(_0x144e29=_0x49689f,_0x49689f=_0x4ec217=void 0x0):typeof _0x4ec217==_0x100e24(0x220)&&(_0x144e29=_0x4ec217,_0x4ec217=void 0x0),typeof _0x49689f==_0x100e24(0x1fc)&&(_0x49689f=_0x49689f['toString']()),this['readyState']!==_0x3e5c7f[_0x100e24(0x2dc)]){_0x513a9c(this,_0x49689f,_0x144e29);return;}_0x4ec217===void 0x0&&(_0x4ec217=!this['_isServer']),this[_0x100e24(0x2a9)]['ping'](_0x49689f||_0x21bb3f,_0x4ec217,_0x144e29);}[_0x2eaa38(0x1d7)](_0x3e2cd1,_0x45acba,_0x37adb2){const _0xd36db5=_0x2eaa38;if(this[_0xd36db5(0x267)]===_0x3e5c7f[_0xd36db5(0x24d)])throw new Error(_0xd36db5(0x272));if(typeof _0x3e2cd1=='function'?(_0x37adb2=_0x3e2cd1,_0x3e2cd1=_0x45acba=void 0x0):typeof _0x45acba==_0xd36db5(0x220)&&(_0x37adb2=_0x45acba,_0x45acba=void 0x0),typeof _0x3e2cd1==_0xd36db5(0x1fc)&&(_0x3e2cd1=_0x3e2cd1[_0xd36db5(0x20d)]()),this[_0xd36db5(0x267)]!==_0x3e5c7f[_0xd36db5(0x2dc)]){_0x513a9c(this,_0x3e2cd1,_0x37adb2);return;}_0x45acba===void 0x0&&(_0x45acba=!this[_0xd36db5(0x1c4)]),this[_0xd36db5(0x2a9)][_0xd36db5(0x1d7)](_0x3e2cd1||_0x21bb3f,_0x45acba,_0x37adb2);}['resume'](){const _0x1c8751=_0x2eaa38;this[_0x1c8751(0x267)]===_0x3e5c7f[_0x1c8751(0x24d)]||this[_0x1c8751(0x267)]===_0x3e5c7f[_0x1c8751(0x291)]||(this[_0x1c8751(0x1bf)]=!0x1,this['_receiver'][_0x1c8751(0x25a)]['needDrain']||this[_0x1c8751(0x2d3)][_0x1c8751(0x306)]());}['send'](_0x202b3c,_0x3c82cf,_0x2928d0){const _0xe9bc08=_0x2eaa38;if(this['readyState']===_0x3e5c7f[_0xe9bc08(0x24d)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x3c82cf==_0xe9bc08(0x220)&&(_0x2928d0=_0x3c82cf,_0x3c82cf={}),typeof _0x202b3c==_0xe9bc08(0x1fc)&&(_0x202b3c=_0x202b3c[_0xe9bc08(0x20d)]()),this[_0xe9bc08(0x267)]!==_0x3e5c7f[_0xe9bc08(0x2dc)]){_0x513a9c(this,_0x202b3c,_0x2928d0);return;}const _0x324d1a={'binary':typeof _0x202b3c!=_0xe9bc08(0x1e4),'mask':!this['_isServer'],'compress':!0x0,'fin':!0x0,..._0x3c82cf};this[_0xe9bc08(0x17c)][_0x276475['extensionName']]||(_0x324d1a[_0xe9bc08(0x198)]=!0x1),this[_0xe9bc08(0x2a9)]['send'](_0x202b3c||_0x21bb3f,_0x324d1a,_0x2928d0);}[_0x2eaa38(0x28d)](){const _0x272978=_0x2eaa38;if(this[_0x272978(0x267)]!==_0x3e5c7f['CLOSED']){if(this[_0x272978(0x267)]===_0x3e5c7f[_0x272978(0x24d)]){_0x3581a4(this,this[_0x272978(0x27d)],_0x272978(0x1df));return;}this[_0x272978(0x2d3)]&&(this[_0x272978(0x1c3)]=_0x3e5c7f['CLOSING'],this[_0x272978(0x2d3)][_0x272978(0x2e8)]());}}}Object[_0x2eaa38(0x2a5)](_0x3e5c7f,_0x2eaa38(0x24d),{'enumerable':!0x0,'value':_0x10f294[_0x2eaa38(0x1b7)]('CONNECTING')}),Object['defineProperty'](_0x3e5c7f[_0x2eaa38(0x23d)],_0x2eaa38(0x24d),{'enumerable':!0x0,'value':_0x10f294[_0x2eaa38(0x1b7)](_0x2eaa38(0x24d))}),Object[_0x2eaa38(0x2a5)](_0x3e5c7f,_0x2eaa38(0x2dc),{'enumerable':!0x0,'value':_0x10f294[_0x2eaa38(0x1b7)](_0x2eaa38(0x2dc))}),Object[_0x2eaa38(0x2a5)](_0x3e5c7f['prototype'],_0x2eaa38(0x2dc),{'enumerable':!0x0,'value':_0x10f294['indexOf'](_0x2eaa38(0x2dc))}),Object['defineProperty'](_0x3e5c7f,_0x2eaa38(0x2ee),{'enumerable':!0x0,'value':_0x10f294[_0x2eaa38(0x1b7)](_0x2eaa38(0x2ee))}),Object['defineProperty'](_0x3e5c7f[_0x2eaa38(0x23d)],_0x2eaa38(0x2ee),{'enumerable':!0x0,'value':_0x10f294[_0x2eaa38(0x1b7)](_0x2eaa38(0x2ee))}),Object[_0x2eaa38(0x2a5)](_0x3e5c7f,_0x2eaa38(0x291),{'enumerable':!0x0,'value':_0x10f294['indexOf'](_0x2eaa38(0x291))}),Object['defineProperty'](_0x3e5c7f[_0x2eaa38(0x23d)],'CLOSED',{'enumerable':!0x0,'value':_0x10f294[_0x2eaa38(0x1b7)](_0x2eaa38(0x291))}),['binaryType','bufferedAmount',_0x2eaa38(0x21f),'isPaused','protocol',_0x2eaa38(0x267),_0x2eaa38(0x23c)][_0x2eaa38(0x271)](_0x5a8f5a=>{const _0x30976c=_0x2eaa38;Object[_0x30976c(0x2a5)](_0x3e5c7f[_0x30976c(0x23d)],_0x5a8f5a,{'enumerable':!0x0});}),[_0x2eaa38(0x185),_0x2eaa38(0x1bc),_0x2eaa38(0x2a2),_0x2eaa38(0x2c4)][_0x2eaa38(0x271)](_0x177cea=>{Object['defineProperty'](_0x3e5c7f['prototype'],'on'+_0x177cea,{'enumerable':!0x0,'get'(){const _0xad2f4f=_0x571c;for(const _0x2877ac of this[_0xad2f4f(0x2ce)](_0x177cea))if(_0x2877ac[_0x4eee06])return _0x2877ac[_0x2b7352];return null;},'set'(_0x33dd06){const _0x17371b=_0x571c;for(const _0xe7f7c7 of this[_0x17371b(0x2ce)](_0x177cea))if(_0xe7f7c7[_0x4eee06]){this['removeListener'](_0x177cea,_0xe7f7c7);break;}typeof _0x33dd06=='function'&&this[_0x17371b(0x1cb)](_0x177cea,_0x33dd06,{[_0x4eee06]:!0x0});}});}),_0x3e5c7f[_0x2eaa38(0x23d)][_0x2eaa38(0x1cb)]=_0x1ad304,_0x3e5c7f[_0x2eaa38(0x23d)][_0x2eaa38(0x300)]=_0x1c4a52,we=_0x3e5c7f;function _0x1362a3(_0x574e11,_0x2ee5b8,_0x47914f,_0x24aaaf){const _0x1bc0f2=_0x2eaa38,_0x932570={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x36cdad[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x24aaaf,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x574e11[_0x1bc0f2(0x16b)]=_0x932570[_0x1bc0f2(0x18b)],!_0x36cdad['includes'](_0x932570[_0x1bc0f2(0x294)]))throw new RangeError('Unsupported\x20protocol\x20version:\x20'+_0x932570[_0x1bc0f2(0x294)]+_0x1bc0f2(0x2b4)+_0x36cdad[_0x1bc0f2(0x244)](',\x20')+')');let _0x4009ac;if(_0x2ee5b8 instanceof _0x58dfdb)_0x4009ac=_0x2ee5b8;else try{_0x4009ac=new _0x58dfdb(_0x2ee5b8);}catch{throw new SyntaxError(_0x1bc0f2(0x226)+_0x2ee5b8);}_0x4009ac[_0x1bc0f2(0x2cd)]==='http:'?_0x4009ac[_0x1bc0f2(0x2cd)]=_0x1bc0f2(0x180):_0x4009ac[_0x1bc0f2(0x2cd)]===_0x1bc0f2(0x280)&&(_0x4009ac['protocol']=_0x1bc0f2(0x274)),_0x574e11['_url']=_0x4009ac[_0x1bc0f2(0x27c)];const _0x3c06fd=_0x4009ac[_0x1bc0f2(0x2cd)]===_0x1bc0f2(0x274),_0x213c34=_0x4009ac['protocol']==='ws+unix:';let _0x2346d0;if(_0x4009ac[_0x1bc0f2(0x2cd)]!=='ws:'&&!_0x3c06fd&&!_0x213c34?_0x2346d0=_0x1bc0f2(0x210):_0x213c34&&!_0x4009ac[_0x1bc0f2(0x202)]?_0x2346d0=_0x1bc0f2(0x16c):_0x4009ac['hash']&&(_0x2346d0='The\x20URL\x20contains\x20a\x20fragment\x20identifier'),_0x2346d0){const _0x506a96=new SyntaxError(_0x2346d0);if(_0x574e11[_0x1bc0f2(0x2cf)]===0x0)throw _0x506a96;_0x2f031d(_0x574e11,_0x506a96);return;}const _0x24f43d=_0x3c06fd?0x1bb:0x50,_0x53b03e=_0x580461(0x10)[_0x1bc0f2(0x20d)](_0x1bc0f2(0x26a)),_0x5da9b1=_0x3c06fd?_0x1c8219[_0x1bc0f2(0x313)]:_0x2681cc[_0x1bc0f2(0x313)],_0x445ff3=new Set();let _0x23ce18;if(_0x932570[_0x1bc0f2(0x1e6)]=_0x932570['createConnection']||(_0x3c06fd?_0x2d507d:_0x2c318a),_0x932570[_0x1bc0f2(0x24f)]=_0x932570[_0x1bc0f2(0x24f)]||_0x24f43d,_0x932570[_0x1bc0f2(0x299)]=_0x4009ac[_0x1bc0f2(0x299)]||_0x24f43d,_0x932570[_0x1bc0f2(0x301)]=_0x4009ac['hostname'][_0x1bc0f2(0x2f3)]('[')?_0x4009ac[_0x1bc0f2(0x1b9)]['slice'](0x1,-0x1):_0x4009ac[_0x1bc0f2(0x1b9)],_0x932570[_0x1bc0f2(0x1e0)]={..._0x932570[_0x1bc0f2(0x1e0)],'Sec-WebSocket-Version':_0x932570['protocolVersion'],'Sec-WebSocket-Key':_0x53b03e,'Connection':_0x1bc0f2(0x223),'Upgrade':'websocket'},_0x932570[_0x1bc0f2(0x2ac)]=_0x4009ac['pathname']+_0x4009ac[_0x1bc0f2(0x278)],_0x932570[_0x1bc0f2(0x289)]=_0x932570[_0x1bc0f2(0x1d6)],_0x932570[_0x1bc0f2(0x2b3)]&&(_0x23ce18=new _0x276475(_0x932570['perMessageDeflate']!==!0x0?_0x932570['perMessageDeflate']:{},!0x1,_0x932570[_0x1bc0f2(0x2e3)]),_0x932570[_0x1bc0f2(0x1e0)][_0x1bc0f2(0x22a)]=_0x18404a({[_0x276475['extensionName']]:_0x23ce18[_0x1bc0f2(0x2de)]()})),_0x47914f[_0x1bc0f2(0x2d0)]){for(const _0x3f90a5 of _0x47914f){if(typeof _0x3f90a5!=_0x1bc0f2(0x1e4)||!_0x4b2b78[_0x1bc0f2(0x1f9)](_0x3f90a5)||_0x445ff3[_0x1bc0f2(0x1d2)](_0x3f90a5))throw new SyntaxError(_0x1bc0f2(0x1e8));_0x445ff3[_0x1bc0f2(0x163)](_0x3f90a5);}_0x932570['headers'][_0x1bc0f2(0x196)]=_0x47914f[_0x1bc0f2(0x244)](',');}if(_0x932570[_0x1bc0f2(0x29d)]&&(_0x932570['protocolVersion']<0xd?_0x932570[_0x1bc0f2(0x1e0)][_0x1bc0f2(0x2c3)]=_0x932570[_0x1bc0f2(0x29d)]:_0x932570[_0x1bc0f2(0x1e0)][_0x1bc0f2(0x2e9)]=_0x932570[_0x1bc0f2(0x29d)]),(_0x4009ac[_0x1bc0f2(0x160)]||_0x4009ac['password'])&&(_0x932570['auth']=_0x4009ac[_0x1bc0f2(0x160)]+':'+_0x4009ac[_0x1bc0f2(0x189)]),_0x213c34){const _0x14477a=_0x932570['path'][_0x1bc0f2(0x1c0)](':');_0x932570[_0x1bc0f2(0x203)]=_0x14477a[0x0],_0x932570['path']=_0x14477a[0x1];}let _0x3d742f;if(_0x932570[_0x1bc0f2(0x1ce)]){if(_0x574e11[_0x1bc0f2(0x2cf)]===0x0){_0x574e11[_0x1bc0f2(0x1e7)]=_0x213c34,_0x574e11[_0x1bc0f2(0x25f)]=_0x3c06fd,_0x574e11['_originalHostOrSocketPath']=_0x213c34?_0x932570[_0x1bc0f2(0x203)]:_0x4009ac[_0x1bc0f2(0x301)];const _0x5e49c1=_0x24aaaf&&_0x24aaaf[_0x1bc0f2(0x1e0)];if(_0x24aaaf={..._0x24aaaf,'headers':{}},_0x5e49c1){for(const [_0x194f9d,_0x129cdd]of Object['entries'](_0x5e49c1))_0x24aaaf[_0x1bc0f2(0x1e0)][_0x194f9d['toLowerCase']()]=_0x129cdd;}}else{if(_0x574e11['listenerCount'](_0x1bc0f2(0x1c1))===0x0){const _0xcd5030=_0x213c34?_0x574e11[_0x1bc0f2(0x1e7)]?_0x932570[_0x1bc0f2(0x203)]===_0x574e11['_originalHostOrSocketPath']:!0x1:_0x574e11[_0x1bc0f2(0x1e7)]?!0x1:_0x4009ac[_0x1bc0f2(0x301)]===_0x574e11['_originalHostOrSocketPath'];(!_0xcd5030||_0x574e11[_0x1bc0f2(0x25f)]&&!_0x3c06fd)&&(delete _0x932570[_0x1bc0f2(0x1e0)]['authorization'],delete _0x932570[_0x1bc0f2(0x1e0)][_0x1bc0f2(0x238)],_0xcd5030||delete _0x932570[_0x1bc0f2(0x1e0)][_0x1bc0f2(0x301)],_0x932570['auth']=void 0x0);}}_0x932570[_0x1bc0f2(0x1bd)]&&!_0x24aaaf[_0x1bc0f2(0x1e0)]['authorization']&&(_0x24aaaf[_0x1bc0f2(0x1e0)]['authorization']='Basic\x20'+Buffer[_0x1bc0f2(0x316)](_0x932570[_0x1bc0f2(0x1bd)])['toString']('base64')),_0x3d742f=_0x574e11[_0x1bc0f2(0x27d)]=_0x5da9b1(_0x932570),_0x574e11['_redirects']&&_0x574e11[_0x1bc0f2(0x234)](_0x1bc0f2(0x1c1),_0x574e11[_0x1bc0f2(0x23c)],_0x3d742f);}else _0x3d742f=_0x574e11[_0x1bc0f2(0x27d)]=_0x5da9b1(_0x932570);_0x932570[_0x1bc0f2(0x289)]&&_0x3d742f['on'](_0x1bc0f2(0x289),()=>{const _0x212b84=_0x1bc0f2;_0x3581a4(_0x574e11,_0x3d742f,_0x212b84(0x1f2));}),_0x3d742f['on'](_0x1bc0f2(0x1bc),_0x31d37e=>{const _0x5dce04=_0x1bc0f2;_0x3d742f===null||_0x3d742f[_0x4054fc]||(_0x3d742f=_0x574e11[_0x5dce04(0x27d)]=null,_0x2f031d(_0x574e11,_0x31d37e));}),_0x3d742f['on'](_0x1bc0f2(0x1d5),_0x256476=>{const _0x5c7ba5=_0x1bc0f2,_0x505af3=_0x256476[_0x5c7ba5(0x1e0)]['location'],_0x3427cc=_0x256476[_0x5c7ba5(0x206)];if(_0x505af3&&_0x932570[_0x5c7ba5(0x1ce)]&&_0x3427cc>=0x12c&&_0x3427cc<0x190){if(++_0x574e11[_0x5c7ba5(0x2cf)]>_0x932570[_0x5c7ba5(0x1e3)]){_0x3581a4(_0x574e11,_0x3d742f,_0x5c7ba5(0x2ba));return;}_0x3d742f[_0x5c7ba5(0x2df)]();let _0x17525e;try{_0x17525e=new _0x58dfdb(_0x505af3,_0x2ee5b8);}catch{const _0x309c4d=new SyntaxError(_0x5c7ba5(0x226)+_0x505af3);_0x2f031d(_0x574e11,_0x309c4d);return;}_0x1362a3(_0x574e11,_0x17525e,_0x47914f,_0x24aaaf);}else _0x574e11[_0x5c7ba5(0x234)](_0x5c7ba5(0x23a),_0x3d742f,_0x256476)||_0x3581a4(_0x574e11,_0x3d742f,_0x5c7ba5(0x169)+_0x256476[_0x5c7ba5(0x206)]);}),_0x3d742f['on']('upgrade',(_0x47111d,_0x92fc30,_0x19c676)=>{const _0x958bd6=_0x1bc0f2;if(_0x574e11['emit'](_0x958bd6(0x258),_0x47111d),_0x574e11['readyState']!==_0x3e5c7f['CONNECTING'])return;_0x3d742f=_0x574e11['_req']=null;const _0x5b3bee=_0x47111d[_0x958bd6(0x1e0)][_0x958bd6(0x258)];if(_0x5b3bee===void 0x0||_0x5b3bee[_0x958bd6(0x2fd)]()!==_0x958bd6(0x187)){_0x3581a4(_0x574e11,_0x92fc30,_0x958bd6(0x19c));return;}const _0x1b2343=_0x26526c('sha1')[_0x958bd6(0x2b7)](_0x53b03e+_0x5e860)[_0x958bd6(0x25e)](_0x958bd6(0x26a));if(_0x47111d['headers'][_0x958bd6(0x1f0)]!==_0x1b2343){_0x3581a4(_0x574e11,_0x92fc30,_0x958bd6(0x1ec));return;}const _0x28ecf7=_0x47111d[_0x958bd6(0x1e0)][_0x958bd6(0x1ee)];let _0x12d7db;if(_0x28ecf7!==void 0x0?_0x445ff3[_0x958bd6(0x1ac)]?_0x445ff3[_0x958bd6(0x1d2)](_0x28ecf7)||(_0x12d7db=_0x958bd6(0x1b2)):_0x12d7db=_0x958bd6(0x2ec):_0x445ff3[_0x958bd6(0x1ac)]&&(_0x12d7db='Server\x20sent\x20no\x20subprotocol'),_0x12d7db){_0x3581a4(_0x574e11,_0x92fc30,_0x12d7db);return;}_0x28ecf7&&(_0x574e11[_0x958bd6(0x245)]=_0x28ecf7);const _0x46ad21=_0x47111d['headers'][_0x958bd6(0x2e0)];if(_0x46ad21!==void 0x0){if(!_0x23ce18){_0x3581a4(_0x574e11,_0x92fc30,_0x958bd6(0x1f1));return;}let _0x496a80;try{_0x496a80=_0x53de83(_0x46ad21);}catch{_0x3581a4(_0x574e11,_0x92fc30,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0x1d881a=Object['keys'](_0x496a80);if(_0x1d881a[_0x958bd6(0x2d0)]!==0x1||_0x1d881a[0x0]!==_0x276475['extensionName']){_0x3581a4(_0x574e11,_0x92fc30,_0x958bd6(0x2c9));return;}try{_0x23ce18[_0x958bd6(0x22b)](_0x496a80[_0x276475[_0x958bd6(0x257)]]);}catch{_0x3581a4(_0x574e11,_0x92fc30,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}_0x574e11[_0x958bd6(0x17c)][_0x276475[_0x958bd6(0x257)]]=_0x23ce18;}_0x574e11[_0x958bd6(0x22f)](_0x92fc30,_0x19c676,{'allowSynchronousEvents':_0x932570[_0x958bd6(0x283)],'generateMask':_0x932570['generateMask'],'maxPayload':_0x932570[_0x958bd6(0x2e3)],'skipUTF8Validation':_0x932570[_0x958bd6(0x28a)]});}),_0x932570[_0x1bc0f2(0x1d8)]?_0x932570[_0x1bc0f2(0x1d8)](_0x3d742f,_0x574e11):_0x3d742f['end']();}function _0x2f031d(_0x9f2976,_0x3c6066){const _0x4fe1ee=_0x2eaa38;_0x9f2976[_0x4fe1ee(0x1c3)]=_0x3e5c7f[_0x4fe1ee(0x2ee)],_0x9f2976[_0x4fe1ee(0x1b8)]=!0x0,_0x9f2976[_0x4fe1ee(0x234)](_0x4fe1ee(0x1bc),_0x3c6066),_0x9f2976[_0x4fe1ee(0x1f5)]();}function _0x2c318a(_0x3ae10f){const _0x1da490=_0x2eaa38;return _0x3ae10f[_0x1da490(0x2ac)]=_0x3ae10f[_0x1da490(0x203)],_0x483330['connect'](_0x3ae10f);}function _0x2d507d(_0x3c0d67){const _0x11e88b=_0x2eaa38;return _0x3c0d67[_0x11e88b(0x2ac)]=void 0x0,!_0x3c0d67[_0x11e88b(0x1a6)]&&_0x3c0d67[_0x11e88b(0x1a6)]!==''&&(_0x3c0d67[_0x11e88b(0x1a6)]=_0x483330[_0x11e88b(0x2ea)](_0x3c0d67[_0x11e88b(0x301)])?'':_0x3c0d67[_0x11e88b(0x301)]),_0xeb631c['connect'](_0x3c0d67);}function _0x3581a4(_0x1bddf4,_0x4a3053,_0x35cfdd){const _0x176f57=_0x2eaa38;_0x1bddf4[_0x176f57(0x1c3)]=_0x3e5c7f[_0x176f57(0x2ee)];const _0xa28047=new Error(_0x35cfdd);Error[_0x176f57(0x2a4)](_0xa28047,_0x3581a4),_0x4a3053[_0x176f57(0x282)]?(_0x4a3053[_0x4054fc]=!0x0,_0x4a3053[_0x176f57(0x2df)](),_0x4a3053[_0x176f57(0x1fb)]&&!_0x4a3053[_0x176f57(0x1fb)][_0x176f57(0x1ef)]&&_0x4a3053[_0x176f57(0x1fb)][_0x176f57(0x2e8)](),process['nextTick'](_0x2f031d,_0x1bddf4,_0xa28047)):(_0x4a3053[_0x176f57(0x2e8)](_0xa28047),_0x4a3053[_0x176f57(0x1e2)](_0x176f57(0x1bc),_0x1bddf4['emit']['bind'](_0x1bddf4,_0x176f57(0x1bc))),_0x4a3053[_0x176f57(0x1e2)]('close',_0x1bddf4[_0x176f57(0x1f5)]['bind'](_0x1bddf4)));}function _0x513a9c(_0x279e86,_0x4a9828,_0x4cf840){const _0x450a45=_0x2eaa38;if(_0x4a9828){const _0x1f431d=_0x4de29b(_0x4a9828)?_0x4a9828['size']:_0x25e651(_0x4a9828)[_0x450a45(0x2d0)];_0x279e86[_0x450a45(0x2d3)]?_0x279e86['_sender'][_0x450a45(0x195)]+=_0x1f431d:_0x279e86[_0x450a45(0x2c6)]+=_0x1f431d;}if(_0x4cf840){const _0x22a36f=new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x20'+_0x279e86[_0x450a45(0x267)]+'\x20('+_0x10f294[_0x279e86[_0x450a45(0x267)]]+')');process[_0x450a45(0x239)](_0x4cf840,_0x22a36f);}}function _0x5525be(_0x4bd057,_0x4cea49){const _0x42b8bb=_0x2eaa38,_0x4862be=this[_0x5b12fc];_0x4862be[_0x42b8bb(0x204)]=!0x0,_0x4862be[_0x42b8bb(0x2c0)]=_0x4cea49,_0x4862be[_0x42b8bb(0x16d)]=_0x4bd057,_0x4862be[_0x42b8bb(0x2d3)][_0x5b12fc]!==void 0x0&&(_0x4862be['_socket'][_0x42b8bb(0x1b4)](_0x42b8bb(0x29c),_0x106090),process['nextTick'](_0x31e2c3,_0x4862be[_0x42b8bb(0x2d3)]),_0x4bd057===0x3ed?_0x4862be[_0x42b8bb(0x2a2)]():_0x4862be[_0x42b8bb(0x2a2)](_0x4bd057,_0x4cea49));}function _0x47522c(){const _0x119d18=_0x2eaa38,_0x456564=this[_0x5b12fc];_0x456564[_0x119d18(0x2d9)]||_0x456564[_0x119d18(0x2d3)][_0x119d18(0x306)]();}function _0x56964c(_0x2444ac){const _0x10cfe3=_0x2eaa38,_0x1478fa=this[_0x5b12fc];_0x1478fa[_0x10cfe3(0x2d3)][_0x5b12fc]!==void 0x0&&(_0x1478fa[_0x10cfe3(0x2d3)][_0x10cfe3(0x1b4)](_0x10cfe3(0x29c),_0x106090),process[_0x10cfe3(0x239)](_0x31e2c3,_0x1478fa[_0x10cfe3(0x2d3)]),_0x1478fa[_0x10cfe3(0x2a2)](_0x2444ac[_0x1a6a60])),_0x1478fa[_0x10cfe3(0x1b8)]||(_0x1478fa[_0x10cfe3(0x1b8)]=!0x0,_0x1478fa[_0x10cfe3(0x234)](_0x10cfe3(0x1bc),_0x2444ac));}function _0x6f2de4(){const _0x2d0d47=_0x2eaa38;this[_0x5b12fc][_0x2d0d47(0x1f5)]();}function _0x5a7f90(_0x22f2d8,_0x422b12){const _0x6983f7=_0x2eaa38;this[_0x5b12fc][_0x6983f7(0x234)]('message',_0x22f2d8,_0x422b12);}function _0x5081ea(_0x10ce6c){const _0x47e39b=_0x2eaa38,_0x19307f=this[_0x5b12fc];_0x19307f[_0x47e39b(0x16b)]&&_0x19307f[_0x47e39b(0x1d7)](_0x10ce6c,!this[_0x47e39b(0x1c4)],_0x24a645),_0x19307f['emit'](_0x47e39b(0x168),_0x10ce6c);}function _0x51a1a7(_0x478fb6){const _0x1e521a=_0x2eaa38;this[_0x5b12fc][_0x1e521a(0x234)](_0x1e521a(0x1d7),_0x478fb6);}function _0x31e2c3(_0x161464){const _0x5ac9b3=_0x2eaa38;_0x161464[_0x5ac9b3(0x306)]();}function _0x394fe1(_0x4aea85){const _0x48b689=_0x2eaa38,_0x2a2d88=this[_0x5b12fc];_0x2a2d88[_0x48b689(0x267)]!==_0x3e5c7f['CLOSED']&&(_0x2a2d88[_0x48b689(0x267)]===_0x3e5c7f[_0x48b689(0x2dc)]&&(_0x2a2d88[_0x48b689(0x1c3)]=_0x3e5c7f[_0x48b689(0x2ee)],_0x2780d5(_0x2a2d88)),this[_0x48b689(0x2d3)]['end'](),_0x2a2d88[_0x48b689(0x1b8)]||(_0x2a2d88[_0x48b689(0x1b8)]=!0x0,_0x2a2d88['emit'](_0x48b689(0x1bc),_0x4aea85)));}function _0x2780d5(_0x79dacc){const _0x41292a=_0x2eaa38;_0x79dacc[_0x41292a(0x1fd)]=setTimeout(_0x79dacc[_0x41292a(0x2d3)][_0x41292a(0x2e8)][_0x41292a(0x1f6)](_0x79dacc[_0x41292a(0x2d3)]),_0xd46a73);}function _0x4fea84(){const _0x404005=_0x2eaa38,_0x58c463=this[_0x5b12fc];this[_0x404005(0x1b4)]('close',_0x4fea84),this[_0x404005(0x1b4)](_0x404005(0x29c),_0x106090),this[_0x404005(0x1b4)]('end',_0x55304e),_0x58c463[_0x404005(0x1c3)]=_0x3e5c7f[_0x404005(0x2ee)];let _0x36e4f3;!this[_0x404005(0x2c7)]['endEmitted']&&!_0x58c463[_0x404005(0x204)]&&!_0x58c463[_0x404005(0x25d)]['_writableState'][_0x404005(0x1d1)]&&(_0x36e4f3=_0x58c463[_0x404005(0x2d3)][_0x404005(0x2e6)]())!==null&&_0x58c463[_0x404005(0x25d)][_0x404005(0x27a)](_0x36e4f3),_0x58c463['_receiver'][_0x404005(0x24e)](),this[_0x5b12fc]=void 0x0,clearTimeout(_0x58c463[_0x404005(0x1fd)]),_0x58c463['_receiver'][_0x404005(0x25a)][_0x404005(0x21d)]||_0x58c463[_0x404005(0x25d)]['_writableState'][_0x404005(0x1d1)]?_0x58c463[_0x404005(0x1f5)]():(_0x58c463['_receiver']['on'](_0x404005(0x1bc),_0x6f2de4),_0x58c463[_0x404005(0x25d)]['on'](_0x404005(0x296),_0x6f2de4));}function _0x106090(_0x180995){const _0x1c4195=_0x2eaa38;this[_0x5b12fc]['_receiver'][_0x1c4195(0x27a)](_0x180995)||this[_0x1c4195(0x2fb)]();}function _0x55304e(){const _0x34ec75=_0x2eaa38,_0x413ca9=this[_0x5b12fc];_0x413ca9[_0x34ec75(0x1c3)]=_0x3e5c7f[_0x34ec75(0x2ee)],_0x413ca9[_0x34ec75(0x25d)][_0x34ec75(0x24e)](),this[_0x34ec75(0x24e)]();}function _0x2e9d4a(){const _0x3c8e0a=_0x2eaa38,_0x527b0d=this[_0x5b12fc];this['removeListener']('error',_0x2e9d4a),this['on'](_0x3c8e0a(0x1bc),_0x24a645),_0x527b0d&&(_0x527b0d[_0x3c8e0a(0x1c3)]=_0x3e5c7f[_0x3c8e0a(0x2ee)],this[_0x3c8e0a(0x2e8)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x1c9ccc}=oe;function _0x2c58cb(_0x5e24a2){const _0x662e98=_0x571c;_0x5e24a2[_0x662e98(0x234)](_0x662e98(0x2a2));}function _0x476aa2(){const _0x12c157=_0x571c;!this[_0x12c157(0x1ef)]&&this[_0x12c157(0x25a)][_0x12c157(0x21d)]&&this[_0x12c157(0x2e8)]();}function _0x2addce(_0x10a779){const _0x4a9920=_0x571c;this[_0x4a9920(0x1b4)](_0x4a9920(0x1bc),_0x2addce),this[_0x4a9920(0x2e8)](),this[_0x4a9920(0x29a)](_0x4a9920(0x1bc))===0x0&&this[_0x4a9920(0x234)]('error',_0x10a779);}function _0x356c19(_0x599a83,_0x57d294){const _0x541f12=_0x571c;let _0x4d17f8=!0x0;const _0x571094=new _0x1c9ccc({..._0x57d294,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x599a83['on'](_0x541f12(0x2c4),function(_0x24b9a1,_0x5d6fef){const _0x10c4e0=_0x541f12,_0x34b6ac=!_0x5d6fef&&_0x571094[_0x10c4e0(0x2c7)][_0x10c4e0(0x2eb)]?_0x24b9a1[_0x10c4e0(0x20d)]():_0x24b9a1;_0x571094[_0x10c4e0(0x303)](_0x34b6ac)||_0x599a83[_0x10c4e0(0x2fb)]();}),_0x599a83[_0x541f12(0x1e2)](_0x541f12(0x1bc),function(_0x5cbcd8){const _0x4840f6=_0x541f12;_0x571094[_0x4840f6(0x1ef)]||(_0x4d17f8=!0x1,_0x571094[_0x4840f6(0x2e8)](_0x5cbcd8));}),_0x599a83[_0x541f12(0x1e2)](_0x541f12(0x2a2),function(){const _0x5982eb=_0x541f12;_0x571094['destroyed']||_0x571094[_0x5982eb(0x303)](null);}),_0x571094[_0x541f12(0x29b)]=function(_0x3cafba,_0x2991d1){const _0x85492a=_0x541f12;if(_0x599a83[_0x85492a(0x267)]===_0x599a83[_0x85492a(0x291)]){_0x2991d1(_0x3cafba),process[_0x85492a(0x239)](_0x2c58cb,_0x571094);return;}let _0x33137a=!0x1;_0x599a83[_0x85492a(0x1e2)](_0x85492a(0x1bc),function(_0x31bf16){_0x33137a=!0x0,_0x2991d1(_0x31bf16);}),_0x599a83['once'](_0x85492a(0x2a2),function(){_0x33137a||_0x2991d1(_0x3cafba),process['nextTick'](_0x2c58cb,_0x571094);}),_0x4d17f8&&_0x599a83[_0x85492a(0x28d)]();},_0x571094[_0x541f12(0x2ad)]=function(_0x42b888){const _0xfa85fc=_0x541f12;if(_0x599a83[_0xfa85fc(0x267)]===_0x599a83[_0xfa85fc(0x24d)]){_0x599a83[_0xfa85fc(0x1e2)]('open',function(){_0x571094['_final'](_0x42b888);});return;}_0x599a83[_0xfa85fc(0x2d3)]!==null&&(_0x599a83['_socket']['_writableState'][_0xfa85fc(0x21d)]?(_0x42b888(),_0x571094['_readableState'][_0xfa85fc(0x172)]&&_0x571094[_0xfa85fc(0x2e8)]()):(_0x599a83[_0xfa85fc(0x2d3)][_0xfa85fc(0x1e2)](_0xfa85fc(0x296),function(){_0x42b888();}),_0x599a83[_0xfa85fc(0x2a2)]()));},_0x571094[_0x541f12(0x2a1)]=function(){const _0x58847f=_0x541f12;_0x599a83[_0x58847f(0x2d9)]&&_0x599a83['resume']();},_0x571094['_write']=function(_0x43d58e,_0x35fe03,_0x514e5b){const _0x1bce2c=_0x541f12;if(_0x599a83[_0x1bce2c(0x267)]===_0x599a83[_0x1bce2c(0x24d)]){_0x599a83[_0x1bce2c(0x1e2)](_0x1bce2c(0x185),function(){_0x571094['_write'](_0x43d58e,_0x35fe03,_0x514e5b);});return;}_0x599a83[_0x1bce2c(0x286)](_0x43d58e,_0x514e5b);},_0x571094['on'](_0x541f12(0x24e),_0x476aa2),_0x571094['on'](_0x541f12(0x1bc),_0x2addce),_0x571094;}return Oe=_0x356c19,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x56f6d8}=ae();function _0x1b74b7(_0x5cdb8a){const _0x576730=_0x571c,_0x1465bb=new Set();let _0x2a9152=-0x1,_0x4a0439=-0x1,_0x5a14fe=0x0;for(_0x5a14fe;_0x5a14fe<_0x5cdb8a[_0x576730(0x2d0)];_0x5a14fe++){const _0x2a7e31=_0x5cdb8a[_0x576730(0x1d9)](_0x5a14fe);if(_0x4a0439===-0x1&&_0x56f6d8[_0x2a7e31]===0x1)_0x2a9152===-0x1&&(_0x2a9152=_0x5a14fe);else{if(_0x5a14fe!==0x0&&(_0x2a7e31===0x20||_0x2a7e31===0x9))_0x4a0439===-0x1&&_0x2a9152!==-0x1&&(_0x4a0439=_0x5a14fe);else{if(_0x2a7e31===0x2c){if(_0x2a9152===-0x1)throw new SyntaxError(_0x576730(0x1a1)+_0x5a14fe);_0x4a0439===-0x1&&(_0x4a0439=_0x5a14fe);const _0x408262=_0x5cdb8a['slice'](_0x2a9152,_0x4a0439);if(_0x1465bb[_0x576730(0x1d2)](_0x408262))throw new SyntaxError(_0x576730(0x2e5)+_0x408262+_0x576730(0x2f6));_0x1465bb[_0x576730(0x163)](_0x408262),_0x2a9152=_0x4a0439=-0x1;}else throw new SyntaxError(_0x576730(0x1a1)+_0x5a14fe);}}}if(_0x2a9152===-0x1||_0x4a0439!==-0x1)throw new SyntaxError(_0x576730(0x207));const _0x211a25=_0x5cdb8a['slice'](_0x2a9152,_0x5a14fe);if(_0x1465bb['has'](_0x211a25))throw new SyntaxError('The\x20\x22'+_0x211a25+_0x576730(0x2f6));return _0x1465bb[_0x576730(0x163)](_0x211a25),_0x1465bb;}return Ce={'parse':_0x1b74b7},Ce;}var Te,rt;function Ft(){const _0x5d5d2d=_0x230e5d;if(rt)return Te;rt=0x1;const _0xc4d3f5=nt,_0x5e8e3e=ot,{Duplex:_0x5e3bb2}=oe,{createHash:_0x690a}=Le,_0x36ea42=ct(),_0x1a1103=he(),_0x5069a4=At(),_0x234eb2=Pe(),{GUID:_0xcdbcd1,kWebSocket:_0x204246}=H(),_0x1e76b0=/^[+/0-9A-Za-z]{22}==$/,_0x49f4b9=0x0,_0x269be9=0x1,_0x2f18cf=0x2;class _0x338bc9 extends _0xc4d3f5{constructor(_0x4b9558,_0x41adae){const _0x104280=_0x571c;if(super(),_0x4b9558={'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':_0x234eb2,..._0x4b9558},_0x4b9558[_0x104280(0x299)]==null&&!_0x4b9558['server']&&!_0x4b9558[_0x104280(0x23f)]||_0x4b9558[_0x104280(0x299)]!=null&&(_0x4b9558[_0x104280(0x302)]||_0x4b9558[_0x104280(0x23f)])||_0x4b9558[_0x104280(0x302)]&&_0x4b9558[_0x104280(0x23f)])throw new TypeError(_0x104280(0x16e));if(_0x4b9558[_0x104280(0x299)]!=null?(this[_0x104280(0x2c8)]=_0x5e8e3e[_0x104280(0x1fe)]((_0x1ff7d6,_0x2607a0)=>{const _0x30edcb=_0x104280,_0x1cf456=_0x5e8e3e[_0x30edcb(0x164)][0x1aa];_0x2607a0[_0x30edcb(0x18f)](0x1aa,{'Content-Length':_0x1cf456[_0x30edcb(0x2d0)],'Content-Type':_0x30edcb(0x279)}),_0x2607a0[_0x30edcb(0x24e)](_0x1cf456);}),this[_0x104280(0x2c8)][_0x104280(0x2b1)](_0x4b9558[_0x104280(0x299)],_0x4b9558[_0x104280(0x301)],_0x4b9558['backlog'],_0x41adae)):_0x4b9558[_0x104280(0x302)]&&(this['_server']=_0x4b9558[_0x104280(0x302)]),this[_0x104280(0x2c8)]){const _0x153b89=this[_0x104280(0x234)]['bind'](this,_0x104280(0x18c));this[_0x104280(0x268)]=_0x4e5a8c(this[_0x104280(0x2c8)],{'listening':this[_0x104280(0x234)][_0x104280(0x1f6)](this,'listening'),'error':this[_0x104280(0x234)]['bind'](this,'error'),'upgrade':(_0x292c29,_0x54c056,_0xc99ed2)=>{const _0x94fb7c=_0x104280;this[_0x94fb7c(0x23b)](_0x292c29,_0x54c056,_0xc99ed2,_0x153b89);}});}_0x4b9558[_0x104280(0x2b3)]===!0x0&&(_0x4b9558[_0x104280(0x2b3)]={}),_0x4b9558['clientTracking']&&(this[_0x104280(0x22d)]=new Set(),this[_0x104280(0x20b)]=!0x1),this[_0x104280(0x25b)]=_0x4b9558,this[_0x104280(0x2d4)]=_0x49f4b9;}[_0x5d5d2d(0x266)](){const _0xb5ac3f=_0x5d5d2d;if(this[_0xb5ac3f(0x25b)][_0xb5ac3f(0x23f)])throw new Error(_0xb5ac3f(0x1a7));return this['_server']?this[_0xb5ac3f(0x2c8)][_0xb5ac3f(0x266)]():null;}[_0x5d5d2d(0x2a2)](_0x815141){const _0x1a8ce6=_0x5d5d2d;if(this[_0x1a8ce6(0x2d4)]===_0x2f18cf){_0x815141&&this[_0x1a8ce6(0x1e2)](_0x1a8ce6(0x2a2),()=>{const _0x2ed18b=_0x1a8ce6;_0x815141(new Error(_0x2ed18b(0x1c8)));}),process[_0x1a8ce6(0x239)](_0x51ae07,this);return;}if(_0x815141&&this['once'](_0x1a8ce6(0x2a2),_0x815141),this[_0x1a8ce6(0x2d4)]!==_0x269be9){if(this[_0x1a8ce6(0x2d4)]=_0x269be9,this[_0x1a8ce6(0x25b)][_0x1a8ce6(0x23f)]||this['options'][_0x1a8ce6(0x302)])this[_0x1a8ce6(0x2c8)]&&(this[_0x1a8ce6(0x268)](),this['_removeListeners']=this['_server']=null),this[_0x1a8ce6(0x22d)]?this[_0x1a8ce6(0x22d)][_0x1a8ce6(0x1ac)]?this[_0x1a8ce6(0x20b)]=!0x0:process[_0x1a8ce6(0x239)](_0x51ae07,this):process[_0x1a8ce6(0x239)](_0x51ae07,this);else{const _0x32c33d=this[_0x1a8ce6(0x2c8)];this['_removeListeners'](),this['_removeListeners']=this['_server']=null,_0x32c33d['close'](()=>{_0x51ae07(this);});}}}[_0x5d5d2d(0x26c)](_0x2aa863){const _0x1755d1=_0x5d5d2d;if(this[_0x1755d1(0x25b)][_0x1755d1(0x2ac)]){const _0x3d551a=_0x2aa863[_0x1755d1(0x23c)][_0x1755d1(0x1b7)]('?');if((_0x3d551a!==-0x1?_0x2aa863[_0x1755d1(0x23c)]['slice'](0x0,_0x3d551a):_0x2aa863[_0x1755d1(0x23c)])!==this[_0x1755d1(0x25b)][_0x1755d1(0x2ac)])return!0x1;}return!0x0;}[_0x5d5d2d(0x23b)](_0x3a23f2,_0x281087,_0x57001a,_0x19b5a0){const _0x392bde=_0x5d5d2d;_0x281087['on'](_0x392bde(0x1bc),_0x1a9f95);const _0x16251f=_0x3a23f2['headers']['sec-websocket-key'],_0xf15c6e=_0x3a23f2['headers'][_0x392bde(0x258)],_0x254c79=+_0x3a23f2[_0x392bde(0x1e0)]['sec-websocket-version'];if(_0x3a23f2[_0x392bde(0x312)]!=='GET'){_0x5e72a7(this,_0x3a23f2,_0x281087,0x195,_0x392bde(0x162));return;}if(_0xf15c6e===void 0x0||_0xf15c6e['toLowerCase']()!==_0x392bde(0x187)){_0x5e72a7(this,_0x3a23f2,_0x281087,0x190,_0x392bde(0x19c));return;}if(_0x16251f===void 0x0||!_0x1e76b0[_0x392bde(0x1f9)](_0x16251f)){_0x5e72a7(this,_0x3a23f2,_0x281087,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header');return;}if(_0x254c79!==0xd&&_0x254c79!==0x8){_0x5e72a7(this,_0x3a23f2,_0x281087,0x190,_0x392bde(0x1c6),{'Sec-WebSocket-Version':_0x392bde(0x216)});return;}if(!this[_0x392bde(0x26c)](_0x3a23f2)){_0x219847(_0x281087,0x190);return;}const _0x2e3bca=_0x3a23f2[_0x392bde(0x1e0)][_0x392bde(0x1ee)];let _0x77086f=new Set();if(_0x2e3bca!==void 0x0)try{_0x77086f=_0x5069a4[_0x392bde(0x1d4)](_0x2e3bca);}catch{_0x5e72a7(this,_0x3a23f2,_0x281087,0x190,_0x392bde(0x19b));return;}const _0x49e6e7=_0x3a23f2[_0x392bde(0x1e0)][_0x392bde(0x2e0)],_0x34aeb8={};if(this[_0x392bde(0x25b)][_0x392bde(0x2b3)]&&_0x49e6e7!==void 0x0){const _0x5b0ebb=new _0x1a1103(this['options'][_0x392bde(0x2b3)],!0x0,this['options']['maxPayload']);try{const _0x33b8ae=_0x36ea42[_0x392bde(0x1d4)](_0x49e6e7);_0x33b8ae[_0x1a1103[_0x392bde(0x257)]]&&(_0x5b0ebb[_0x392bde(0x22b)](_0x33b8ae[_0x1a1103[_0x392bde(0x257)]]),_0x34aeb8[_0x1a1103['extensionName']]=_0x5b0ebb);}catch{_0x5e72a7(this,_0x3a23f2,_0x281087,0x190,_0x392bde(0x255));return;}}if(this['options'][_0x392bde(0x28b)]){const _0x18dbac={'origin':_0x3a23f2[_0x392bde(0x1e0)][''+(_0x254c79===0x8?_0x392bde(0x218):_0x392bde(0x29d))],'secure':!!(_0x3a23f2[_0x392bde(0x1fb)][_0x392bde(0x2b8)]||_0x3a23f2[_0x392bde(0x1fb)][_0x392bde(0x215)]),'req':_0x3a23f2};if(this['options']['verifyClient'][_0x392bde(0x2d0)]===0x2){this[_0x392bde(0x25b)][_0x392bde(0x28b)](_0x18dbac,(_0x59799c,_0x23feb8,_0x5647d0,_0x3b308b)=>{const _0x26ca09=_0x392bde;if(!_0x59799c)return _0x219847(_0x281087,_0x23feb8||0x191,_0x5647d0,_0x3b308b);this[_0x26ca09(0x1ed)](_0x34aeb8,_0x16251f,_0x77086f,_0x3a23f2,_0x281087,_0x57001a,_0x19b5a0);});return;}if(!this[_0x392bde(0x25b)][_0x392bde(0x28b)](_0x18dbac))return _0x219847(_0x281087,0x191);}this[_0x392bde(0x1ed)](_0x34aeb8,_0x16251f,_0x77086f,_0x3a23f2,_0x281087,_0x57001a,_0x19b5a0);}[_0x5d5d2d(0x1ed)](_0x11f0ea,_0x31cbea,_0x4bb9ea,_0x13c528,_0x46e260,_0x1e5272,_0x53914e){const _0x4632a0=_0x5d5d2d;if(!_0x46e260['readable']||!_0x46e260['writable'])return _0x46e260[_0x4632a0(0x2e8)]();if(_0x46e260[_0x204246])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this['_state']>_0x49f4b9)return _0x219847(_0x46e260,0x1f7);const _0x117b7b=[_0x4632a0(0x1cf),_0x4632a0(0x2bb),_0x4632a0(0x27b),_0x4632a0(0x191)+_0x690a(_0x4632a0(0x228))[_0x4632a0(0x2b7)](_0x31cbea+_0xcdbcd1)['digest'](_0x4632a0(0x26a))],_0x4516e7=new this[(_0x4632a0(0x25b))][(_0x4632a0(0x28c))](null,void 0x0,this[_0x4632a0(0x25b)]);if(_0x4bb9ea['size']){const _0x21a1ab=this['options'][_0x4632a0(0x2f7)]?this[_0x4632a0(0x25b)][_0x4632a0(0x2f7)](_0x4bb9ea,_0x13c528):_0x4bb9ea[_0x4632a0(0x20f)]()[_0x4632a0(0x263)]()[_0x4632a0(0x2be)];_0x21a1ab&&(_0x117b7b['push'](_0x4632a0(0x260)+_0x21a1ab),_0x4516e7[_0x4632a0(0x245)]=_0x21a1ab);}if(_0x11f0ea[_0x1a1103[_0x4632a0(0x257)]]){const _0x2f8860=_0x11f0ea[_0x1a1103[_0x4632a0(0x257)]][_0x4632a0(0x2b9)],_0x1d1daf=_0x36ea42[_0x4632a0(0x276)]({[_0x1a1103[_0x4632a0(0x257)]]:[_0x2f8860]});_0x117b7b['push'](_0x4632a0(0x190)+_0x1d1daf),_0x4516e7[_0x4632a0(0x17c)]=_0x11f0ea;}this[_0x4632a0(0x234)](_0x4632a0(0x1e0),_0x117b7b,_0x13c528),_0x46e260[_0x4632a0(0x27a)](_0x117b7b[_0x4632a0(0x281)]('\x0d\x0a')[_0x4632a0(0x244)]('\x0d\x0a')),_0x46e260['removeListener'](_0x4632a0(0x1bc),_0x1a9f95),_0x4516e7[_0x4632a0(0x22f)](_0x46e260,_0x1e5272,{'allowSynchronousEvents':this[_0x4632a0(0x25b)][_0x4632a0(0x283)],'maxPayload':this[_0x4632a0(0x25b)][_0x4632a0(0x2e3)],'skipUTF8Validation':this['options'][_0x4632a0(0x28a)]}),this[_0x4632a0(0x22d)]&&(this[_0x4632a0(0x22d)][_0x4632a0(0x163)](_0x4516e7),_0x4516e7['on']('close',()=>{const _0x56a805=_0x4632a0;this['clients']['delete'](_0x4516e7),this['_shouldEmitClose']&&!this[_0x56a805(0x22d)]['size']&&process[_0x56a805(0x239)](_0x51ae07,this);})),_0x53914e(_0x4516e7,_0x13c528);}}Te=_0x338bc9;function _0x4e5a8c(_0x4a0416,_0x15f729){for(const _0xc98e2b of Object['keys'](_0x15f729))_0x4a0416['on'](_0xc98e2b,_0x15f729[_0xc98e2b]);return function(){const _0x37507d=_0x571c;for(const _0x124e91 of Object[_0x37507d(0x161)](_0x15f729))_0x4a0416[_0x37507d(0x1b4)](_0x124e91,_0x15f729[_0x124e91]);};}function _0x51ae07(_0x5a379e){const _0x5caf11=_0x5d5d2d;_0x5a379e[_0x5caf11(0x2d4)]=_0x2f18cf,_0x5a379e[_0x5caf11(0x234)](_0x5caf11(0x2a2));}function _0x1a9f95(){const _0x16ddf5=_0x5d5d2d;this[_0x16ddf5(0x2e8)]();}function _0x219847(_0x172037,_0x1ca743,_0x2bf510,_0x16a069){const _0x58931a=_0x5d5d2d;_0x2bf510=_0x2bf510||_0x5e8e3e[_0x58931a(0x164)][_0x1ca743],_0x16a069={'Connection':_0x58931a(0x2a2),'Content-Type':'text/html','Content-Length':Buffer[_0x58931a(0x23e)](_0x2bf510),..._0x16a069},_0x172037[_0x58931a(0x1e2)](_0x58931a(0x296),_0x172037['destroy']),_0x172037[_0x58931a(0x24e)](_0x58931a(0x194)+_0x1ca743+'\x20'+_0x5e8e3e['STATUS_CODES'][_0x1ca743]+'\x0d\x0a'+Object[_0x58931a(0x161)](_0x16a069)[_0x58931a(0x2b0)](_0x19a035=>_0x19a035+':\x20'+_0x16a069[_0x19a035])[_0x58931a(0x244)]('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0x2bf510);}function _0x5e72a7(_0x52846d,_0x5668a3,_0x14921f,_0x2054ae,_0x248a40,_0x46ca72){const _0x3a3481=_0x5d5d2d;if(_0x52846d[_0x3a3481(0x29a)](_0x3a3481(0x28e))){const _0x175e3b=new Error(_0x248a40);Error[_0x3a3481(0x2a4)](_0x175e3b,_0x5e72a7),_0x52846d[_0x3a3481(0x234)](_0x3a3481(0x28e),_0x175e3b,_0x14921f,_0x5668a3);}else _0x219847(_0x14921f,_0x2054ae,_0x248a40,_0x46ca72);}return Te;}Ft();var jt=Object[_0x230e5d(0x261)],Wt=(_0x410f6e,_0x46a3f3,_0x12a7b2,_0x2b453b)=>{const _0x101ad0=_0x230e5d;for(var _0x3e542e=_0x2b453b>0x1?void 0x0:_0x2b453b?jt(_0x46a3f3,_0x12a7b2):_0x46a3f3,_0xdfe03d=_0x410f6e[_0x101ad0(0x2d0)]-0x1,_0x582742;_0xdfe03d>=0x0;_0xdfe03d--)(_0x582742=_0x410f6e[_0xdfe03d])&&(_0x3e542e=_0x582742(_0x3e542e)||_0x3e542e);return _0x3e542e;},qt=(_0xd0ddd5,_0x56f53f)=>(_0x3cea56,_0x1f7a6f)=>_0x56f53f(_0x3cea56,_0x1f7a6f,_0xd0ddd5);let ke=class extends A[_0x230e5d(0x21b)]{constructor(_0x3e3c59){const _0x625a38=_0x230e5d;super(),this[_0x625a38(0x19a)]=_0x3e3c59;}[_0x230e5d(0x2b2)](_0x3d293e){const _0x505742=_0x230e5d;var _0x13421c;const _0x438730=(_0x13421c=this[_0x505742(0x19a)][_0x505742(0x248)](fe))==null?void 0x0:_0x13421c['customHeaders'];try{const _0x386b0c=new $t(_0x3d293e,{'headers':{..._0x438730}}),_0x297601=new A[(_0x505742(0x2d2))]();return{'URL':_0x3d293e,'close':(_0xb64c6d,_0xbe472)=>{const _0x48f3de=_0x505742;_0x386b0c[_0x48f3de(0x2a2)](_0xb64c6d,_0xbe472),_0x297601[_0x48f3de(0x30a)]();},'send':_0x5b27d8=>{const _0x4029b9=_0x505742;_0x386b0c[_0x4029b9(0x286)](_0x5b27d8);},'open$':new V[(_0x505742(0x27e))](_0x4e438a=>{const _0x4fbb69=_0x505742,_0x54d30e=_0x5c179a=>_0x4e438a[_0x4fbb69(0x263)](_0x5c179a);_0x386b0c[_0x4fbb69(0x1cb)](_0x4fbb69(0x185),_0x54d30e),_0x297601[_0x4fbb69(0x163)](A[_0x4fbb69(0x17b)](()=>_0x386b0c[_0x4fbb69(0x300)](_0x4fbb69(0x185),_0x54d30e)));})['pipe'](V[_0x505742(0x242)]()),'close$':new V[(_0x505742(0x27e))](_0x519c9e=>{const _0x4bf103=_0x505742,_0x28c736=_0x424f9b=>_0x519c9e['next'](_0x424f9b);_0x386b0c['addEventListener'](_0x4bf103(0x2a2),_0x28c736),_0x297601['add'](A['toDisposable'](()=>_0x386b0c[_0x4bf103(0x300)]('close',_0x28c736)));})['pipe'](V[_0x505742(0x242)]()),'error$':new V['Observable'](_0x3bfba5=>{const _0x25f0d8=_0x505742,_0x2c67e5=_0x16d6a9=>_0x3bfba5[_0x25f0d8(0x263)](_0x16d6a9);_0x386b0c[_0x25f0d8(0x1cb)]('error',_0x2c67e5),_0x297601[_0x25f0d8(0x163)](A['toDisposable'](()=>_0x386b0c[_0x25f0d8(0x300)]('error',_0x2c67e5)));})['pipe'](V['share']()),'message$':new V[(_0x505742(0x27e))](_0x16d7af=>{const _0x29aaf6=_0x505742,_0x4f6924=_0xe09e44=>_0x16d7af[_0x29aaf6(0x263)](_0xe09e44);_0x386b0c[_0x29aaf6(0x1cb)]('message',_0x4f6924),_0x297601[_0x29aaf6(0x163)](A[_0x29aaf6(0x17b)](()=>_0x386b0c[_0x29aaf6(0x300)](_0x29aaf6(0x2c4),_0x4f6924)));})[_0x505742(0x1da)](V['share']())};}catch(_0x14ead0){return console[_0x505742(0x1bc)](_0x14ead0),null;}}};ke=Wt([qt(0x0,A[_0x230e5d(0x170)])],ke);var Gt=Object[_0x230e5d(0x2a5)],Vt=Object[_0x230e5d(0x261)],Ht=(_0x480a1a,_0x2629d9,_0x1ace34)=>_0x2629d9 in _0x480a1a?Gt(_0x480a1a,_0x2629d9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1ace34}):_0x480a1a[_0x2629d9]=_0x1ace34,zt=(_0x513631,_0x10a3b9,_0x54aff2,_0x5f51af)=>{for(var _0x2bdab0=_0x5f51af>0x1?void 0x0:_0x5f51af?Vt(_0x10a3b9,_0x54aff2):_0x10a3b9,_0x136bb4=_0x513631['length']-0x1,_0x25562a;_0x136bb4>=0x0;_0x136bb4--)(_0x25562a=_0x513631[_0x136bb4])&&(_0x2bdab0=_0x25562a(_0x2bdab0)||_0x2bdab0);return _0x2bdab0;},Ne=(_0x58492c,_0x4ed8b5)=>(_0x2b2ef9,_0x3ebe66)=>_0x4ed8b5(_0x2b2ef9,_0x3ebe66,_0x58492c),Yt=(_0x301f8d,_0x46a022,_0x4e4883)=>Ht(_0x301f8d,_0x46a022+'',_0x4e4883);exports[_0x230e5d(0x27f)]=class extends A[_0x230e5d(0x26f)]{constructor(_0x401970=Ct,_0x517f56,_0x147df6,_0x3b6861){const _0x346230=_0x230e5d;_0x401970[_0x346230(0x1cd)]||_0x517f56['warn'](_0x346230(0x2f4)),super(),this[_0x346230(0x19a)]=_0x147df6,this['_injector']=_0x3b6861,this['_configService']['setConfig'](fe,_0x401970);}[_0x230e5d(0x2f5)](){const _0x3dcdb6=_0x230e5d;this[_0x3dcdb6(0x292)]();}[_0x230e5d(0x292)](){const _0x4aaa40=_0x230e5d;A[_0x4aaa40(0x2d5)](this[_0x4aaa40(0x24a)],[[it['ISocketService'],{'useClass':ke}]]);}},Yt(exports[_0x230e5d(0x27f)],_0x230e5d(0x2c1),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),exports[_0x230e5d(0x27f)]=zt([A['DependentOn'](st['UniverCollaborationClientPlugin']),Ne(0x1,A[_0x230e5d(0x174)]),Ne(0x2,A[_0x230e5d(0x170)]),Ne(0x3,A[_0x230e5d(0x1e9)](A[_0x230e5d(0x188)]))],exports[_0x230e5d(0x27f)]);var Kt=Object[_0x230e5d(0x261)],Xt=(_0x5b775d,_0x508ea2,_0x5b88de,_0xd81493)=>{const _0x4c6780=_0x230e5d;for(var _0x44bf1b=_0xd81493>0x1?void 0x0:_0xd81493?Kt(_0x508ea2,_0x5b88de):_0x508ea2,_0x3338e2=_0x5b775d[_0x4c6780(0x2d0)]-0x1,_0x398945;_0x3338e2>=0x0;_0x3338e2--)(_0x398945=_0x5b775d[_0x3338e2])&&(_0x44bf1b=_0x398945(_0x44bf1b)||_0x44bf1b);return _0x44bf1b;},ne=(_0x21005e,_0x12eb1b)=>(_0x5d539d,_0x55661a)=>_0x12eb1b(_0x5d539d,_0x55661a,_0x21005e);exports['NodeCollaborationSocketService']=class extends st[_0x230e5d(0x2fa)]{constructor(_0x92bcf,_0x30e0fb,_0x658ce1,_0x45b049,_0x5337ed){const _0xa7f70c=_0x230e5d;super(_0x92bcf,_0x30e0fb,_0x658ce1,_0x45b049,_0x5337ed);const _0x2b82e9=this[_0xa7f70c(0x19a)]['getConfig'](fe);this['_httpService']['registerHTTPInterceptor']({'interceptor':(_0x565f20,_0x5958a2)=>{const _0x1372f9=_0xa7f70c;var _0x5bdffa;const _0x559f4f=_0x565f20['headers'];return(_0x5bdffa=_0x2b82e9==null?void 0x0:_0x2b82e9['customHeaders'])!=null&&_0x5bdffa[_0x1372f9(0x238)]&&_0x559f4f[_0x1372f9(0x275)]('Cookie',_0x2b82e9[_0x1372f9(0x1cd)][_0x1372f9(0x238)]),_0x5958a2(_0x565f20);}});}async[_0x230e5d(0x2b2)](_0x47c952){const _0x394d7f=_0x230e5d;return this[_0x394d7f(0x178)](_0x47c952);}},exports[_0x230e5d(0x166)]=Xt([ne(0x0,A['Inject'](A[_0x230e5d(0x188)])),ne(0x1,A['Inject'](it[_0x230e5d(0x30c)])),ne(0x2,A[_0x230e5d(0x170)]),ne(0x3,A[_0x230e5d(0x174)]),ne(0x4,Ot[_0x230e5d(0x1aa)])],exports[_0x230e5d(0x166)]),exports[_0x230e5d(0x2f2)]=fe;
|
|
1
|
+
'use strict';const _0x14ca12=_0xd565;(function(_0x14cb30,_0x4935f4){const _0x48b714=_0xd565,_0x3da06d=_0x14cb30();while(!![]){try{const _0x4320f3=parseInt(_0x48b714(0x2b1))/0x1*(-parseInt(_0x48b714(0x1b0))/0x2)+parseInt(_0x48b714(0x190))/0x3+parseInt(_0x48b714(0x137))/0x4+-parseInt(_0x48b714(0x26a))/0x5*(-parseInt(_0x48b714(0x231))/0x6)+-parseInt(_0x48b714(0x18b))/0x7+-parseInt(_0x48b714(0x1db))/0x8*(parseInt(_0x48b714(0x186))/0x9)+-parseInt(_0x48b714(0x140))/0xa*(-parseInt(_0x48b714(0x1ca))/0xb);if(_0x4320f3===_0x4935f4)break;else _0x3da06d['push'](_0x3da06d['shift']());}catch(_0x4fa951){_0x3da06d['push'](_0x3da06d['shift']());}}}(_0x589a,0xdbae1));Object[_0x14ca12(0x1c9)](exports,Symbol[_0x14ca12(0x2b3)],{'value':'Module'});const st=require('@univerjs-pro/collaboration-client'),A=require('@univerjs/core'),it=require('@univerjs/network'),V=require('rxjs'),nt=require('events'),vt=require('https'),ot=require('http'),St=require('net'),Et=require('tls'),Le=require('crypto'),oe=require('stream'),xt=require('url'),bt=require('zlib'),wt=require('buffer'),Ot=require('@univerjs-pro/collaboration'),fe=_0x14ca12(0x177),Ct={'customHeaders':{}};function Tt(_0x186f54){const _0x1671d3=_0x14ca12;return _0x186f54&&_0x186f54[_0x1671d3(0x234)]&&Object[_0x1671d3(0x1ce)]['hasOwnProperty'][_0x1671d3(0x2c7)](_0x186f54,_0x1671d3(0x2d4))?_0x186f54[_0x1671d3(0x2d4)]:_0x186f54;}function at(_0x214771){const _0x2c0116=_0x14ca12;if(Object[_0x2c0116(0x1ce)][_0x2c0116(0x1e7)]['call'](_0x214771,_0x2c0116(0x234)))return _0x214771;var _0x438cb3=_0x214771[_0x2c0116(0x2d4)];if(typeof _0x438cb3==_0x2c0116(0x17c)){var _0x39dfbc=function _0x19f856(){const _0xd38278=_0x2c0116;var _0x42dcda=!0x1;try{_0x42dcda=this instanceof _0x19f856;}catch{}return _0x42dcda?Reflect[_0xd38278(0x168)](_0x438cb3,arguments,this[_0xd38278(0x161)]):_0x438cb3['apply'](this,arguments);};_0x39dfbc[_0x2c0116(0x1ce)]=_0x438cb3[_0x2c0116(0x1ce)];}else _0x39dfbc={};return Object[_0x2c0116(0x1c9)](_0x39dfbc,_0x2c0116(0x234),{'value':!0x0}),Object[_0x2c0116(0x21c)](_0x214771)[_0x2c0116(0x165)](function(_0x20f6ed){const _0x12ff1c=_0x2c0116;var _0x5d9542=Object[_0x12ff1c(0x1b1)](_0x214771,_0x20f6ed);Object[_0x12ff1c(0x1c9)](_0x39dfbc,_0x20f6ed,_0x5d9542['get']?_0x5d9542:{'enumerable':!0x0,'get':function(){return _0x214771[_0x20f6ed];}});}),_0x39dfbc;}var se={'exports':{}},ge,Ge;function H(){const _0x81f476=_0x14ca12;if(Ge)return ge;Ge=0x1;const _0x105ba5=[_0x81f476(0x1f4),_0x81f476(0x291),_0x81f476(0x295)],_0x3378d4=typeof Blob<'u';return _0x3378d4&&_0x105ba5[_0x81f476(0x1a2)](_0x81f476(0x148)),ge={'BINARY_TYPES':_0x105ba5,'EMPTY_BUFFER':Buffer[_0x81f476(0x268)](0x0),'GUID':_0x81f476(0x1d8),'hasBlob':_0x3378d4,'kForOnEventAttribute':Symbol(_0x81f476(0x1e6)),'kListener':Symbol(_0x81f476(0x28b)),'kStatusCode':Symbol('status-code'),'kWebSocket':Symbol(_0x81f476(0x2b8)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x14ca12(0x227)](Object[_0x14ca12(0x1c9)]({'__proto__':null,'default':Nt},Symbol[_0x14ca12(0x2b3)],{'value':'Module'})),Lt=at(kt);var Ve;function ce(){const _0x5783fd=_0x14ca12;if(Ve)return se[_0x5783fd(0x15a)];Ve=0x1;const {EMPTY_BUFFER:_0x5b3e97}=H(),_0x530656=Buffer[Symbol['species']];function _0x1afd3a(_0x5a2283,_0x10cd21){const _0x24ba7c=_0x5783fd;if(_0x5a2283[_0x24ba7c(0x16f)]===0x0)return _0x5b3e97;if(_0x5a2283[_0x24ba7c(0x16f)]===0x1)return _0x5a2283[0x0];const _0xa39b98=Buffer[_0x24ba7c(0x150)](_0x10cd21);let _0x23beff=0x0;for(let _0x1e543c=0x0;_0x1e543c<_0x5a2283[_0x24ba7c(0x16f)];_0x1e543c++){const _0x3594c9=_0x5a2283[_0x1e543c];_0xa39b98[_0x24ba7c(0x2c2)](_0x3594c9,_0x23beff),_0x23beff+=_0x3594c9[_0x24ba7c(0x16f)];}return _0x23beff<_0x10cd21?new _0x530656(_0xa39b98[_0x24ba7c(0x2bc)],_0xa39b98['byteOffset'],_0x23beff):_0xa39b98;}function _0x24d683(_0x4129ea,_0x1d21bb,_0xe1c753,_0x477786,_0x4c7da2){for(let _0x133443=0x0;_0x133443<_0x4c7da2;_0x133443++)_0xe1c753[_0x477786+_0x133443]=_0x4129ea[_0x133443]^_0x1d21bb[_0x133443&0x3];}function _0xf47f37(_0x53be44,_0x47d5d5){const _0x56058d=_0x5783fd;for(let _0x2c19df=0x0;_0x2c19df<_0x53be44[_0x56058d(0x16f)];_0x2c19df++)_0x53be44[_0x2c19df]^=_0x47d5d5[_0x2c19df&0x3];}function _0x43bedf(_0x518bdc){const _0x4a45e2=_0x5783fd;return _0x518bdc[_0x4a45e2(0x16f)]===_0x518bdc[_0x4a45e2(0x2bc)][_0x4a45e2(0x152)]?_0x518bdc[_0x4a45e2(0x2bc)]:_0x518bdc[_0x4a45e2(0x2bc)][_0x4a45e2(0x29c)](_0x518bdc['byteOffset'],_0x518bdc[_0x4a45e2(0x1d3)]+_0x518bdc[_0x4a45e2(0x16f)]);}function _0x5e0845(_0x9e32a7){const _0x2972c4=_0x5783fd;if(_0x5e0845[_0x2972c4(0x1c4)]=!0x0,Buffer[_0x2972c4(0x1ad)](_0x9e32a7))return _0x9e32a7;let _0x5bd0d4;return _0x9e32a7 instanceof ArrayBuffer?_0x5bd0d4=new _0x530656(_0x9e32a7):ArrayBuffer[_0x2972c4(0x251)](_0x9e32a7)?_0x5bd0d4=new _0x530656(_0x9e32a7[_0x2972c4(0x2bc)],_0x9e32a7[_0x2972c4(0x1d3)],_0x9e32a7[_0x2972c4(0x152)]):(_0x5bd0d4=Buffer[_0x2972c4(0x26e)](_0x9e32a7),_0x5e0845[_0x2972c4(0x1c4)]=!0x1),_0x5bd0d4;}if(se[_0x5783fd(0x15a)]={'concat':_0x1afd3a,'mask':_0x24d683,'toArrayBuffer':_0x43bedf,'toBuffer':_0x5e0845,'unmask':_0xf47f37},!process['env']['WS_NO_BUFFER_UTIL'])try{const _0xab2d54=Lt;se[_0x5783fd(0x15a)]['mask']=function(_0x5520b6,_0x595760,_0x1e5de4,_0x2ccb2d,_0x35f153){_0x35f153<0x30?_0x24d683(_0x5520b6,_0x595760,_0x1e5de4,_0x2ccb2d,_0x35f153):_0xab2d54['mask'](_0x5520b6,_0x595760,_0x1e5de4,_0x2ccb2d,_0x35f153);},se[_0x5783fd(0x15a)][_0x5783fd(0x277)]=function(_0x47c014,_0x44523d){const _0x23cc30=_0x5783fd;_0x47c014[_0x23cc30(0x16f)]<0x20?_0xf47f37(_0x47c014,_0x44523d):_0xab2d54[_0x23cc30(0x277)](_0x47c014,_0x44523d);};}catch{}return se[_0x5783fd(0x15a)];}var ye,He;function Pt(){const _0x34c9a9=_0x14ca12;if(He)return ye;He=0x1;const _0x56a576=Symbol(_0x34c9a9(0x254)),_0x5da453=Symbol(_0x34c9a9(0x249));class _0x48155c{constructor(_0x43176c){const _0x269384=_0x34c9a9;this[_0x56a576]=()=>{const _0x16951e=_0xd565;this[_0x16951e(0x134)]--,this[_0x5da453]();},this['concurrency']=_0x43176c||0x1/0x0,this[_0x269384(0x141)]=[],this['pending']=0x0;}[_0x34c9a9(0x236)](_0x119d1a){const _0x53cc3c=_0x34c9a9;this[_0x53cc3c(0x141)]['push'](_0x119d1a),this[_0x5da453]();}[_0x5da453](){const _0x3e754c=_0x34c9a9;if(this[_0x3e754c(0x134)]!==this['concurrency']&&this[_0x3e754c(0x141)]['length']){const _0x325fd6=this[_0x3e754c(0x141)]['shift']();this['pending']++,_0x325fd6(this[_0x56a576]);}}}return ye=_0x48155c,ye;}var ve,ze;function he(){const _0x2062cd=_0x14ca12;if(ze)return ve;ze=0x1;const _0x2c09b3=bt,_0x23d72d=ce(),_0x30f995=Pt(),{kStatusCode:_0x1e235d}=H(),_0x2bc193=Buffer[Symbol[_0x2062cd(0x13d)]],_0x18b666=Buffer[_0x2062cd(0x26e)]([0x0,0x0,0xff,0xff]),_0x120206=Symbol(_0x2062cd(0x23e)),_0xdf406b=Symbol(_0x2062cd(0x261)),_0x3df702=Symbol(_0x2062cd(0x2d6)),_0x21ff23=Symbol(_0x2062cd(0x218)),_0x127873=Symbol('error');let _0x7d640f;class _0x110c92{constructor(_0x740ffd,_0x31df9f,_0x3c6626){const _0x4a9ec0=_0x2062cd;if(this['_maxPayload']=_0x3c6626|0x0,this['_options']=_0x740ffd||{},this[_0x4a9ec0(0x17e)]=this['_options'][_0x4a9ec0(0x2c5)]!==void 0x0?this[_0x4a9ec0(0x2bf)]['threshold']:0x400,this[_0x4a9ec0(0x2e1)]=!!_0x31df9f,this[_0x4a9ec0(0x258)]=null,this[_0x4a9ec0(0x2e2)]=null,this[_0x4a9ec0(0x197)]=null,!_0x7d640f){const _0x1cf710=this['_options'][_0x4a9ec0(0x1a6)]!==void 0x0?this['_options'][_0x4a9ec0(0x1a6)]:0xa;_0x7d640f=new _0x30f995(_0x1cf710);}}static get['extensionName'](){return'permessage-deflate';}[_0x2062cd(0x244)](){const _0x28ce3e=_0x2062cd,_0x4a42c7={};return this[_0x28ce3e(0x2bf)]['serverNoContextTakeover']&&(_0x4a42c7['server_no_context_takeover']=!0x0),this[_0x28ce3e(0x2bf)][_0x28ce3e(0x21a)]&&(_0x4a42c7[_0x28ce3e(0x27e)]=!0x0),this['_options'][_0x28ce3e(0x1b7)]&&(_0x4a42c7[_0x28ce3e(0x223)]=this['_options'][_0x28ce3e(0x1b7)]),this[_0x28ce3e(0x2bf)][_0x28ce3e(0x196)]?_0x4a42c7['client_max_window_bits']=this[_0x28ce3e(0x2bf)]['clientMaxWindowBits']:this['_options'][_0x28ce3e(0x196)]==null&&(_0x4a42c7[_0x28ce3e(0x157)]=!0x0),_0x4a42c7;}[_0x2062cd(0x214)](_0x10f532){const _0x1f6b89=_0x2062cd;return _0x10f532=this[_0x1f6b89(0x12c)](_0x10f532),this[_0x1f6b89(0x197)]=this[_0x1f6b89(0x2e1)]?this[_0x1f6b89(0x1e4)](_0x10f532):this[_0x1f6b89(0x1f1)](_0x10f532),this[_0x1f6b89(0x197)];}[_0x2062cd(0x127)](){const _0x5638b2=_0x2062cd;if(this[_0x5638b2(0x2e2)]&&(this[_0x5638b2(0x2e2)][_0x5638b2(0x24e)](),this['_inflate']=null),this[_0x5638b2(0x258)]){const _0xb71363=this['_deflate'][_0x3df702];this[_0x5638b2(0x258)][_0x5638b2(0x24e)](),this['_deflate']=null,_0xb71363&&_0xb71363(new Error(_0x5638b2(0x282)));}}[_0x2062cd(0x1e4)](_0x596f0a){const _0x1a6b28=_0x2062cd,_0x21e451=this[_0x1a6b28(0x2bf)],_0x3ec19e=_0x596f0a['find'](_0x21a6d9=>!(_0x21e451[_0x1a6b28(0x2c6)]===!0x1&&_0x21a6d9[_0x1a6b28(0x169)]||_0x21a6d9['server_max_window_bits']&&(_0x21e451['serverMaxWindowBits']===!0x1||typeof _0x21e451[_0x1a6b28(0x1b7)]==_0x1a6b28(0x13c)&&_0x21e451[_0x1a6b28(0x1b7)]>_0x21a6d9[_0x1a6b28(0x223)])||typeof _0x21e451[_0x1a6b28(0x196)]==_0x1a6b28(0x13c)&&!_0x21a6d9[_0x1a6b28(0x157)]));if(!_0x3ec19e)throw new Error('None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted');return _0x21e451[_0x1a6b28(0x2c6)]&&(_0x3ec19e[_0x1a6b28(0x169)]=!0x0),_0x21e451[_0x1a6b28(0x21a)]&&(_0x3ec19e['client_no_context_takeover']=!0x0),typeof _0x21e451[_0x1a6b28(0x1b7)]==_0x1a6b28(0x13c)&&(_0x3ec19e['server_max_window_bits']=_0x21e451[_0x1a6b28(0x1b7)]),typeof _0x21e451[_0x1a6b28(0x196)]=='number'?_0x3ec19e[_0x1a6b28(0x157)]=_0x21e451[_0x1a6b28(0x196)]:(_0x3ec19e['client_max_window_bits']===!0x0||_0x21e451['clientMaxWindowBits']===!0x1)&&delete _0x3ec19e[_0x1a6b28(0x157)],_0x3ec19e;}['acceptAsClient'](_0x122589){const _0x396c53=_0x2062cd,_0x4d3110=_0x122589[0x0];if(this[_0x396c53(0x2bf)]['clientNoContextTakeover']===!0x1&&_0x4d3110[_0x396c53(0x27e)])throw new Error(_0x396c53(0x243));if(!_0x4d3110[_0x396c53(0x157)])typeof this[_0x396c53(0x2bf)]['clientMaxWindowBits']==_0x396c53(0x13c)&&(_0x4d3110[_0x396c53(0x157)]=this[_0x396c53(0x2bf)][_0x396c53(0x196)]);else{if(this['_options'][_0x396c53(0x196)]===!0x1||typeof this['_options'][_0x396c53(0x196)]=='number'&&_0x4d3110[_0x396c53(0x157)]>this['_options']['clientMaxWindowBits'])throw new Error('Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22');}return _0x4d3110;}[_0x2062cd(0x12c)](_0x44d654){return _0x44d654['forEach'](_0x4f6ac8=>{const _0x554cd3=_0xd565;Object[_0x554cd3(0x21c)](_0x4f6ac8)['forEach'](_0x3e3591=>{const _0x4349b7=_0x554cd3;let _0x49545b=_0x4f6ac8[_0x3e3591];if(_0x49545b[_0x4349b7(0x16f)]>0x1)throw new Error(_0x4349b7(0x135)+_0x3e3591+_0x4349b7(0x211));if(_0x49545b=_0x49545b[0x0],_0x3e3591==='client_max_window_bits'){if(_0x49545b!==!0x0){const _0x5f43ea=+_0x49545b;if(!Number[_0x4349b7(0x170)](_0x5f43ea)||_0x5f43ea<0x8||_0x5f43ea>0xf)throw new TypeError(_0x4349b7(0x297)+_0x3e3591+_0x4349b7(0x14a)+_0x49545b);_0x49545b=_0x5f43ea;}else{if(!this['_isServer'])throw new TypeError(_0x4349b7(0x297)+_0x3e3591+_0x4349b7(0x14a)+_0x49545b);}}else{if(_0x3e3591===_0x4349b7(0x223)){const _0x3b3362=+_0x49545b;if(!Number[_0x4349b7(0x170)](_0x3b3362)||_0x3b3362<0x8||_0x3b3362>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x3e3591+_0x4349b7(0x14a)+_0x49545b);_0x49545b=_0x3b3362;}else{if(_0x3e3591===_0x4349b7(0x27e)||_0x3e3591===_0x4349b7(0x169)){if(_0x49545b!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x3e3591+'\x22:\x20'+_0x49545b);}else throw new Error(_0x4349b7(0x271)+_0x3e3591+'\x22');}}_0x4f6ac8[_0x3e3591]=_0x49545b;});}),_0x44d654;}[_0x2062cd(0x1ab)](_0x2cc162,_0x3f87f6,_0x2d08ce){_0x7d640f['add'](_0x5bac3e=>{this['_decompress'](_0x2cc162,_0x3f87f6,(_0x445d6e,_0x2cb769)=>{_0x5bac3e(),_0x2d08ce(_0x445d6e,_0x2cb769);});});}[_0x2062cd(0x1e9)](_0x4e64e2,_0x2daa31,_0x5d0a71){const _0x2e4054=_0x2062cd;_0x7d640f[_0x2e4054(0x236)](_0x512429=>{const _0x549a7b=_0x2e4054;this[_0x549a7b(0x2b5)](_0x4e64e2,_0x2daa31,(_0x579949,_0x2973d6)=>{_0x512429(),_0x5d0a71(_0x579949,_0x2973d6);});});}[_0x2062cd(0x296)](_0x46b9ec,_0x572979,_0x2bfcf9){const _0x4942a8=_0x2062cd,_0x195a9f=this['_isServer']?_0x4942a8(0x1ef):'server';if(!this['_inflate']){const _0x203597=_0x195a9f+_0x4942a8(0x279),_0xbc5b05=typeof this[_0x4942a8(0x197)][_0x203597]!=_0x4942a8(0x13c)?_0x2c09b3[_0x4942a8(0x1d6)]:this[_0x4942a8(0x197)][_0x203597];this[_0x4942a8(0x2e2)]=_0x2c09b3[_0x4942a8(0x242)]({...this['_options'][_0x4942a8(0x1e3)],'windowBits':_0xbc5b05}),this['_inflate'][_0x120206]=this,this[_0x4942a8(0x2e2)][_0xdf406b]=0x0,this['_inflate'][_0x21ff23]=[],this[_0x4942a8(0x2e2)]['on'](_0x4942a8(0x129),_0x9a798b),this[_0x4942a8(0x2e2)]['on'](_0x4942a8(0x19b),_0x5c207e);}this[_0x4942a8(0x2e2)][_0x3df702]=_0x2bfcf9,this['_inflate'][_0x4942a8(0x290)](_0x46b9ec),_0x572979&&this[_0x4942a8(0x2e2)][_0x4942a8(0x290)](_0x18b666),this['_inflate'][_0x4942a8(0x139)](()=>{const _0x3319b7=_0x4942a8,_0x25d1b6=this[_0x3319b7(0x2e2)][_0x127873];if(_0x25d1b6){this[_0x3319b7(0x2e2)][_0x3319b7(0x24e)](),this[_0x3319b7(0x2e2)]=null,_0x2bfcf9(_0x25d1b6);return;}const _0x4a655d=_0x23d72d[_0x3319b7(0x1d2)](this['_inflate'][_0x21ff23],this[_0x3319b7(0x2e2)][_0xdf406b]);this[_0x3319b7(0x2e2)]['_readableState'][_0x3319b7(0x13a)]?(this[_0x3319b7(0x2e2)][_0x3319b7(0x24e)](),this[_0x3319b7(0x2e2)]=null):(this[_0x3319b7(0x2e2)][_0xdf406b]=0x0,this['_inflate'][_0x21ff23]=[],_0x572979&&this[_0x3319b7(0x197)][_0x195a9f+_0x3319b7(0x2a8)]&&this[_0x3319b7(0x2e2)][_0x3319b7(0x299)]()),_0x2bfcf9(null,_0x4a655d);});}['_compress'](_0x109963,_0x3f2c87,_0x1d2245){const _0x15bb8f=_0x2062cd,_0x1c3262=this[_0x15bb8f(0x2e1)]?_0x15bb8f(0x136):_0x15bb8f(0x1ef);if(!this[_0x15bb8f(0x258)]){const _0xb67208=_0x1c3262+_0x15bb8f(0x279),_0x344dd1=typeof this[_0x15bb8f(0x197)][_0xb67208]!=_0x15bb8f(0x13c)?_0x2c09b3['Z_DEFAULT_WINDOWBITS']:this[_0x15bb8f(0x197)][_0xb67208];this['_deflate']=_0x2c09b3['createDeflateRaw']({...this['_options']['zlibDeflateOptions'],'windowBits':_0x344dd1}),this[_0x15bb8f(0x258)][_0xdf406b]=0x0,this[_0x15bb8f(0x258)][_0x21ff23]=[],this[_0x15bb8f(0x258)]['on'](_0x15bb8f(0x19b),_0x1aa992);}this[_0x15bb8f(0x258)][_0x3df702]=_0x1d2245,this[_0x15bb8f(0x258)][_0x15bb8f(0x290)](_0x109963),this[_0x15bb8f(0x258)][_0x15bb8f(0x139)](_0x2c09b3[_0x15bb8f(0x195)],()=>{const _0x558411=_0x15bb8f;if(!this[_0x558411(0x258)])return;let _0x316c0c=_0x23d72d['concat'](this[_0x558411(0x258)][_0x21ff23],this['_deflate'][_0xdf406b]);_0x3f2c87&&(_0x316c0c=new _0x2bc193(_0x316c0c[_0x558411(0x2bc)],_0x316c0c[_0x558411(0x1d3)],_0x316c0c['length']-0x4)),this[_0x558411(0x258)][_0x3df702]=null,this['_deflate'][_0xdf406b]=0x0,this[_0x558411(0x258)][_0x21ff23]=[],_0x3f2c87&&this[_0x558411(0x197)][_0x1c3262+_0x558411(0x2a8)]&&this['_deflate'][_0x558411(0x299)](),_0x1d2245(null,_0x316c0c);});}}ve=_0x110c92;function _0x1aa992(_0x2fc7f7){const _0x47d890=_0x2062cd;this[_0x21ff23][_0x47d890(0x1a2)](_0x2fc7f7),this[_0xdf406b]+=_0x2fc7f7[_0x47d890(0x16f)];}function _0x5c207e(_0x3058f5){const _0x4c006d=_0x2062cd;if(this[_0xdf406b]+=_0x3058f5[_0x4c006d(0x16f)],this[_0x120206][_0x4c006d(0x2ae)]<0x1||this[_0xdf406b]<=this[_0x120206]['_maxPayload']){this[_0x21ff23]['push'](_0x3058f5);return;}this[_0x127873]=new RangeError(_0x4c006d(0x20e)),this[_0x127873][_0x4c006d(0x262)]='WS_ERR_UNSUPPORTED_MESSAGE_LENGTH',this[_0x127873][_0x1e235d]=0x3f1,this[_0x4c006d(0x286)](_0x4c006d(0x19b),_0x5c207e),this[_0x4c006d(0x299)]();}function _0x9a798b(_0x558a8d){const _0x327e0f=_0x2062cd;if(this[_0x120206][_0x327e0f(0x2e2)]=null,this[_0x127873]){this[_0x3df702](this[_0x127873]);return;}_0x558a8d[_0x1e235d]=0x3ef,this[_0x3df702](_0x558a8d);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object['freeze'](Object[_0x14ca12(0x1c9)]({'__proto__':null,'default':Dt},Symbol[_0x14ca12(0x2b3)],{'value':_0x14ca12(0x281)})),Bt=at(Rt);var Ye;function ae(){const _0x585e23=_0x14ca12;if(Ye)return ie[_0x585e23(0x15a)];Ye=0x1;const {isUtf8:_0x166ecb}=wt,{hasBlob:_0x254956}=H(),_0x352c37=[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 _0x4b8e86(_0x1b8f4e){return _0x1b8f4e>=0x3e8&&_0x1b8f4e<=0x3f6&&_0x1b8f4e!==0x3ec&&_0x1b8f4e!==0x3ed&&_0x1b8f4e!==0x3ee||_0x1b8f4e>=0xbb8&&_0x1b8f4e<=0x1387;}function _0x1c254f(_0x291b7e){const _0x1b5e95=_0x585e23,_0x51686b=_0x291b7e[_0x1b5e95(0x16f)];let _0x434865=0x0;for(;_0x434865<_0x51686b;)if((_0x291b7e[_0x434865]&0x80)===0x0)_0x434865++;else{if((_0x291b7e[_0x434865]&0xe0)===0xc0){if(_0x434865+0x1===_0x51686b||(_0x291b7e[_0x434865+0x1]&0xc0)!==0x80||(_0x291b7e[_0x434865]&0xfe)===0xc0)return!0x1;_0x434865+=0x2;}else{if((_0x291b7e[_0x434865]&0xf0)===0xe0){if(_0x434865+0x2>=_0x51686b||(_0x291b7e[_0x434865+0x1]&0xc0)!==0x80||(_0x291b7e[_0x434865+0x2]&0xc0)!==0x80||_0x291b7e[_0x434865]===0xe0&&(_0x291b7e[_0x434865+0x1]&0xe0)===0x80||_0x291b7e[_0x434865]===0xed&&(_0x291b7e[_0x434865+0x1]&0xe0)===0xa0)return!0x1;_0x434865+=0x3;}else{if((_0x291b7e[_0x434865]&0xf8)===0xf0){if(_0x434865+0x3>=_0x51686b||(_0x291b7e[_0x434865+0x1]&0xc0)!==0x80||(_0x291b7e[_0x434865+0x2]&0xc0)!==0x80||(_0x291b7e[_0x434865+0x3]&0xc0)!==0x80||_0x291b7e[_0x434865]===0xf0&&(_0x291b7e[_0x434865+0x1]&0xf0)===0x80||_0x291b7e[_0x434865]===0xf4&&_0x291b7e[_0x434865+0x1]>0x8f||_0x291b7e[_0x434865]>0xf4)return!0x1;_0x434865+=0x4;}else return!0x1;}}}return!0x0;}function _0x387436(_0x519a39){const _0x2a00bc=_0x585e23;return _0x254956&&typeof _0x519a39==_0x2a00bc(0x2d7)&&typeof _0x519a39[_0x2a00bc(0x2b4)]==_0x2a00bc(0x17c)&&typeof _0x519a39[_0x2a00bc(0x131)]==_0x2a00bc(0x2d2)&&typeof _0x519a39['stream']==_0x2a00bc(0x17c)&&(_0x519a39[Symbol[_0x2a00bc(0x2b3)]]===_0x2a00bc(0x1b9)||_0x519a39[Symbol[_0x2a00bc(0x2b3)]]===_0x2a00bc(0x217));}if(ie['exports']={'isBlob':_0x387436,'isValidStatusCode':_0x4b8e86,'isValidUTF8':_0x1c254f,'tokenChars':_0x352c37},_0x166ecb)ie[_0x585e23(0x15a)][_0x585e23(0x16b)]=function(_0x137254){return _0x137254['length']<0x18?_0x1c254f(_0x137254):_0x166ecb(_0x137254);};else{if(!process[_0x585e23(0x1a3)][_0x585e23(0x1a1)])try{const _0x419183=Bt;ie[_0x585e23(0x15a)]['isValidUTF8']=function(_0xd4cb94){const _0x497708=_0x585e23;return _0xd4cb94[_0x497708(0x16f)]<0x20?_0x1c254f(_0xd4cb94):_0x419183(_0xd4cb94);};}catch{}}return ie['exports'];}function _0x589a(){const _0x39717c=['Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','Upgrade','Invalid\x20HTTP\x20method','readyState','authorization','allowSynchronousEvents','MASK\x20must\x20be\x20clear','resume','total-length','code','kError','pong','Unsupported\x20protocol\x20version:\x20','_loop','WS_ERR_INVALID_OPCODE','alloc','readUInt16BE','5ykslyx','customHeaders','sha1','FIN\x20must\x20be\x20set','from','Connection:\x20Upgrade','ISnapshotServerService','Unknown\x20parameter\x20\x22','dataMessage','_paused','_errorEmitted','dispose','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','unmask','onmessage','_max_window_bits','_autoPong','Basic\x20','https:','open','client_no_context_takeover','autoPong','abort','Module','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','nextTick','Sec-WebSocket-Accept:\x20','setHeader','removeListener','completeUpgrade','WebSocket\x20is\x20not\x20open:\x20readyState\x20','clientTracking','GET','kListener','sec-websocket-origin','encrypted','onclose','WS_ERR_UNEXPECTED_RSV_2_3','write','arraybuffer','_originalHostOrSocketPath','perMessageDeflate','Server\x20sent\x20an\x20invalid\x20subprotocol','fragments','_decompress','Invalid\x20value\x20for\x20parameter\x20\x22','_fragments','reset','statusCode','readable','slice','location','writable','enqueue','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','Plugin','isPaused','pipe','getPayloadLength16','addEventListener','_destroy','CLOSED','_no_context_takeover','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','setConfig','once','wasClean','_extensions','_maxPayload','HTTP/1.1\x20','WS_ERR_UNEXPECTED_RSV_1','2193vnnUtn','objectMode','toStringTag','arrayBuffer','_compress','isIP','Invalid\x20URL:\x20','websocket','_skipUTF8Validation','backlog','haveLength','buffer','pause','removeAllListeners','_options','dequeue','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','set','_writableState','WS_ERR_INVALID_UTF8','threshold','serverNoContextTakeover','call','_generateMask','maskBuffer','UniverCollaborationClientPlugin','isServer','_opcode','_masked','pluginName','_payloadLength','invalid\x20opcode\x200','_readableState','string','_redirects','default','controlMessage','callback','object','timeout','Observable','registerHTTPInterceptor','createError','origin','update','end','isArray','read','_isServer','_inflate','options','writeUIntBE','\x0d\x0a\x0d\x0a','cleanup','shift','error','_allowSynchronousEvents','Sec-WebSocket-Origin','normalizeParams','share','destroy','getData','rsv1','type','Sec-WebSocket-Extensions:\x20','_configService','pending','Parameter\x20\x22','server','3566980JKDDEd','request','flush','endEmitted','_firstFragment','number','species','invalid\x20payload\x20length\x20','removeEventListener','226210CdczoH','jobs','socketPath','send','entries','kByteLength','WS_ERR_UNEXPECTED_MASK','format','blob','indexOf','\x22:\x20','verifyClient','address','_bufferedAmount','reason','setTimeout','allocUnsafe','protocol','byteLength','binary','_removeListeners','generateMask','bind','client_max_window_bits','text/plain','_closeFrameSent','exports','_bufferedBytes','_errored','The\x20server\x20is\x20not\x20running','emit','_fin','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','constructor','WS_ERR_INVALID_CLOSE_CODE','_closeFrameReceived','sec-websocket-extensions','forEach','Cookie','_state','construct','server_no_context_takeover','_server','isValidUTF8','CollaborationSocketService','_maskBuffer','_receiver','length','isInteger','Inject','Invalid\x20WebSocket\x20frame:\x20','The\x20\x22','_injector','path','emitClose','collaboration-client-node.config','replace','fin','setNoDelay','_socket','function','protocolVersion','_threshold','_closeCode','The\x20URL\x20contains\x20a\x20fragment\x20identifier','includes','_req','authorized','url','clients','1824867Belwyz','size','Invalid\x20Sec-WebSocket-Accept\x20header','finish','kCode','10466533diFnAY','_mask','opcode','_closeTimer','_messageLength','5131338IiadJV','_fragmented','handleUpgrade','has','handleEvent','Z_SYNC_FLUSH','clientMaxWindowBits','params','createSocket','create','_write','data','Unexpected\x20character\x20at\x20index\x20','response','href','Unexpected\x20server\x20response:\x20','kWasClean','WS_NO_UTF_8_VALIDATE','push','env','binaryType','upgrade','concurrencyLimit','toDisposable','WS_ERR_EXPECTED_FIN','port','writeUInt16BE','decompress','sendFrame','isBuffer','shouldHandle','\x20(supported\x20versions:\x20','30PbilPk','getOwnPropertyDescriptor','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','host','STATUS_CODES','parse','_originalIpc','serverMaxWindowBits','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','Blob','setSocket','wss:','headers','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','COLLABORATION_CLIENT_NODE_CONFIG_KEY','noServer','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','username','CONNECTING','handleProtocols','readOnly','readUInt32BE','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','http:','defineProperty','220Wipujw','cookie','split','pathname','prototype','extensions','IConfigService','redirect','concat','byteOffset','_readyState','_compressed','Z_DEFAULT_WINDOWBITS','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','createConnection','getInfo','64aicRFt','uncork','join','sec-websocket-accept','consume','toString','NodeCollaborationSocketService','Invalid\x20Upgrade\x20header','zlibInflateOptions','acceptAsServer','test','kIsForOnEventAttribute','hasOwnProperty','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','compress','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','map','socket','handshakeTimeout','errorEmitted','client','sec-websocket-protocol','acceptAsClient','_registerDependencies','_httpService','nodebuffer','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','Invalid\x20Sec-WebSocket-Extensions\x20header','_final','Maximum\x20redirects\x20exceeded','destroyed','Unexpected\x20end\x20of\x20input','CLOSING','_protocol','wsClientError','hostname','invalid\x20UTF-8\x20sequence','conclude','UniverCollaborationClientNodePlugin','followRedirects','password','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','kTarget','RSV1\x20must\x20be\x20clear','_queue','ws:','pow','catch','HTTPService','unexpected-response','charCodeAt','Max\x20payload\x20size\x20exceeded','_closeMessage','invalid\x20opcode\x20','\x22\x20must\x20have\x20only\x20a\x20single\x20value','listen','search','accept','ILogService','extensionName','File','buffers','defaultPort','clientNoContextTakeover','auth','keys','Upgrade:\x20websocket','bufferedAmount','base64','unshift','_doCreateSocket','Injector','server_max_window_bits','MASK\x20must\x20be\x20set','text/html','listeners','freeze','terminate','WebSocket','captureStackTrace','frame','registerDependencies','listenerCount','onerror','mask','connect','5972496tWcrhB','DisposableCollection','getMask','__esModule','kType','add','maxPayload','_totalPayloadLength','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','_shouldEmitClose','ping','_originalSecure','getConfig','permessage-deflate','onopen','skipUTF8Validation','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','createInflateRaw','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','offer','OPEN','toLowerCase','kAborted','servername','kRun','_binaryType','dispatch','message','getBlobData','close','startLoop','_sender','isView','drain','_buffers','kDone','next','writeHead','finished','_deflate'];_0x589a=function(){return _0x39717c;};return _0x589a();}var Se,Ke;function lt(){const _0x453a0d=_0x14ca12;if(Ke)return Se;Ke=0x1;const {Writable:_0x57bd75}=oe,_0x3260da=he(),{BINARY_TYPES:_0x4b4bbc,EMPTY_BUFFER:_0xbc1544,kStatusCode:_0x4d1719,kWebSocket:_0x2985c8}=H(),{concat:_0x4a2f97,toArrayBuffer:_0x374105,unmask:_0x4c69d7}=ce(),{isValidStatusCode:_0x30d82b,isValidUTF8:_0x20ec73}=ae(),_0x3e852c=Buffer[Symbol[_0x453a0d(0x13d)]],_0x1a2d4e=0x0,_0x4d6a15=0x1,_0x302060=0x2,_0xb32aeb=0x3,_0x224eb3=0x4,_0x15a54b=0x5,_0x5ced48=0x6;class _0x260772 extends _0x57bd75{constructor(_0x5397d3={}){const _0x42d3cc=_0x453a0d;super(),this[_0x42d3cc(0x12a)]=_0x5397d3[_0x42d3cc(0x25e)]!==void 0x0?_0x5397d3[_0x42d3cc(0x25e)]:!0x0,this[_0x42d3cc(0x24a)]=_0x5397d3[_0x42d3cc(0x1a4)]||_0x4b4bbc[0x0],this[_0x42d3cc(0x2ad)]=_0x5397d3[_0x42d3cc(0x1cf)]||{},this[_0x42d3cc(0x2e1)]=!!_0x5397d3[_0x42d3cc(0x2cb)],this['_maxPayload']=_0x5397d3['maxPayload']|0x0,this[_0x42d3cc(0x2b9)]=!!_0x5397d3['skipUTF8Validation'],this[_0x2985c8]=void 0x0,this['_bufferedBytes']=0x0,this[_0x42d3cc(0x253)]=[],this[_0x42d3cc(0x1d5)]=!0x1,this[_0x42d3cc(0x2cf)]=0x0,this['_mask']=void 0x0,this[_0x42d3cc(0x191)]=0x0,this[_0x42d3cc(0x2cd)]=!0x1,this[_0x42d3cc(0x15f)]=!0x1,this[_0x42d3cc(0x2cc)]=0x0,this[_0x42d3cc(0x238)]=0x0,this['_messageLength']=0x0,this[_0x42d3cc(0x298)]=[],this[_0x42d3cc(0x15c)]=!0x1,this[_0x42d3cc(0x266)]=!0x1,this[_0x42d3cc(0x167)]=_0x1a2d4e;}[_0x453a0d(0x19a)](_0x43dce9,_0xb80fce,_0x3b4e63){const _0x57a2f1=_0x453a0d;if(this[_0x57a2f1(0x2cc)]===0x8&&this['_state']==_0x1a2d4e)return _0x3b4e63();this['_bufferedBytes']+=_0x43dce9[_0x57a2f1(0x16f)],this['_buffers'][_0x57a2f1(0x1a2)](_0x43dce9),this[_0x57a2f1(0x24f)](_0x3b4e63);}[_0x453a0d(0x1df)](_0x5ef6f2){const _0x946513=_0x453a0d;if(this[_0x946513(0x15b)]-=_0x5ef6f2,_0x5ef6f2===this['_buffers'][0x0][_0x946513(0x16f)])return this[_0x946513(0x253)][_0x946513(0x128)]();if(_0x5ef6f2<this[_0x946513(0x253)][0x0][_0x946513(0x16f)]){const _0x1a0c95=this[_0x946513(0x253)][0x0];return this['_buffers'][0x0]=new _0x3e852c(_0x1a0c95[_0x946513(0x2bc)],_0x1a0c95['byteOffset']+_0x5ef6f2,_0x1a0c95[_0x946513(0x16f)]-_0x5ef6f2),new _0x3e852c(_0x1a0c95['buffer'],_0x1a0c95[_0x946513(0x1d3)],_0x5ef6f2);}const _0x19b37f=Buffer[_0x946513(0x150)](_0x5ef6f2);do{const _0x5921db=this[_0x946513(0x253)][0x0],_0x13f3c0=_0x19b37f['length']-_0x5ef6f2;_0x5ef6f2>=_0x5921db[_0x946513(0x16f)]?_0x19b37f[_0x946513(0x2c2)](this['_buffers'][_0x946513(0x128)](),_0x13f3c0):(_0x19b37f['set'](new Uint8Array(_0x5921db['buffer'],_0x5921db[_0x946513(0x1d3)],_0x5ef6f2),_0x13f3c0),this['_buffers'][0x0]=new _0x3e852c(_0x5921db['buffer'],_0x5921db[_0x946513(0x1d3)]+_0x5ef6f2,_0x5921db[_0x946513(0x16f)]-_0x5ef6f2)),_0x5ef6f2-=_0x5921db[_0x946513(0x16f)];}while(_0x5ef6f2>0x0);return _0x19b37f;}[_0x453a0d(0x24f)](_0x27f9de){const _0x428280=_0x453a0d;this[_0x428280(0x266)]=!0x0;do switch(this['_state']){case _0x1a2d4e:this['getInfo'](_0x27f9de);break;case _0x4d6a15:this[_0x428280(0x2a4)](_0x27f9de);break;case _0x302060:this['getPayloadLength64'](_0x27f9de);break;case _0xb32aeb:this['getMask']();break;case _0x224eb3:this[_0x428280(0x12f)](_0x27f9de);break;case _0x15a54b:case _0x5ced48:this[_0x428280(0x266)]=!0x1;return;}while(this[_0x428280(0x266)]);this[_0x428280(0x15c)]||_0x27f9de();}[_0x453a0d(0x1da)](_0x32705a){const _0x595815=_0x453a0d;if(this[_0x595815(0x15b)]<0x2){this[_0x595815(0x266)]=!0x1;return;}const _0x51a3cf=this[_0x595815(0x1df)](0x2);if((_0x51a3cf[0x0]&0x30)!==0x0){const _0x144114=this[_0x595815(0x2db)](RangeError,'RSV2\x20and\x20RSV3\x20must\x20be\x20clear',!0x0,0x3ea,_0x595815(0x28f));_0x32705a(_0x144114);return;}const _0x33b80f=(_0x51a3cf[0x0]&0x40)===0x40;if(_0x33b80f&&!this[_0x595815(0x2ad)][_0x3260da['extensionName']]){const _0x1a456e=this[_0x595815(0x2db)](RangeError,_0x595815(0x206),!0x0,0x3ea,_0x595815(0x2b0));_0x32705a(_0x1a456e);return;}if(this[_0x595815(0x15f)]=(_0x51a3cf[0x0]&0x80)===0x80,this[_0x595815(0x2cc)]=_0x51a3cf[0x0]&0xf,this['_payloadLength']=_0x51a3cf[0x1]&0x7f,this[_0x595815(0x2cc)]===0x0){if(_0x33b80f){const _0x4cd3ed=this[_0x595815(0x2db)](RangeError,_0x595815(0x206),!0x0,0x3ea,_0x595815(0x2b0));_0x32705a(_0x4cd3ed);return;}if(!this['_fragmented']){const _0x12eff9=this[_0x595815(0x2db)](RangeError,_0x595815(0x2d0),!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x32705a(_0x12eff9);return;}this['_opcode']=this[_0x595815(0x191)];}else{if(this[_0x595815(0x2cc)]===0x1||this[_0x595815(0x2cc)]===0x2){if(this[_0x595815(0x191)]){const _0x1e55d6=this[_0x595815(0x2db)](RangeError,_0x595815(0x210)+this[_0x595815(0x2cc)],!0x0,0x3ea,_0x595815(0x267));_0x32705a(_0x1e55d6);return;}this['_compressed']=_0x33b80f;}else{if(this['_opcode']>0x7&&this[_0x595815(0x2cc)]<0xb){if(!this[_0x595815(0x15f)]){const _0x55d239=this[_0x595815(0x2db)](RangeError,_0x595815(0x26d),!0x0,0x3ea,_0x595815(0x1a8));_0x32705a(_0x55d239);return;}if(_0x33b80f){const _0x5bb80f=this[_0x595815(0x2db)](RangeError,_0x595815(0x206),!0x0,0x3ea,_0x595815(0x2b0));_0x32705a(_0x5bb80f);return;}if(this[_0x595815(0x2cf)]>0x7d||this[_0x595815(0x2cc)]===0x8&&this[_0x595815(0x2cf)]===0x1){const _0x4a56b2=this['createError'](RangeError,_0x595815(0x13e)+this['_payloadLength'],!0x0,0x3ea,_0x595815(0x1e8));_0x32705a(_0x4a56b2);return;}}else{const _0x14dd4d=this[_0x595815(0x2db)](RangeError,_0x595815(0x210)+this['_opcode'],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x32705a(_0x14dd4d);return;}}}if(!this[_0x595815(0x15f)]&&!this[_0x595815(0x191)]&&(this[_0x595815(0x191)]=this['_opcode']),this[_0x595815(0x2cd)]=(_0x51a3cf[0x1]&0x80)===0x80,this[_0x595815(0x2e1)]){if(!this['_masked']){const _0x4707a5=this[_0x595815(0x2db)](RangeError,_0x595815(0x224),!0x0,0x3ea,'WS_ERR_EXPECTED_MASK');_0x32705a(_0x4707a5);return;}}else{if(this[_0x595815(0x2cd)]){const _0x14dddc=this[_0x595815(0x2db)](RangeError,_0x595815(0x25f),!0x0,0x3ea,_0x595815(0x146));_0x32705a(_0x14dddc);return;}}this[_0x595815(0x2cf)]===0x7e?this['_state']=_0x4d6a15:this[_0x595815(0x2cf)]===0x7f?this[_0x595815(0x167)]=_0x302060:this[_0x595815(0x2bb)](_0x32705a);}[_0x453a0d(0x2a4)](_0x1c422c){const _0x5f0837=_0x453a0d;if(this['_bufferedBytes']<0x2){this[_0x5f0837(0x266)]=!0x1;return;}this[_0x5f0837(0x2cf)]=this[_0x5f0837(0x1df)](0x2)[_0x5f0837(0x269)](0x0),this['haveLength'](_0x1c422c);}['getPayloadLength64'](_0x2b539d){const _0x54262f=_0x453a0d;if(this[_0x54262f(0x15b)]<0x8){this[_0x54262f(0x266)]=!0x1;return;}const _0x54d7dc=this[_0x54262f(0x1df)](0x8),_0x4867b2=_0x54d7dc[_0x54262f(0x1c5)](0x0);if(_0x4867b2>Math[_0x54262f(0x209)](0x2,0x15)-0x1){const _0x2d3dae=this[_0x54262f(0x2db)](RangeError,_0x54262f(0x276),!0x1,0x3f1,_0x54262f(0x2a0));_0x2b539d(_0x2d3dae);return;}this[_0x54262f(0x2cf)]=_0x4867b2*Math['pow'](0x2,0x20)+_0x54d7dc[_0x54262f(0x1c5)](0x4),this[_0x54262f(0x2bb)](_0x2b539d);}[_0x453a0d(0x2bb)](_0x2f13fd){const _0x5b3566=_0x453a0d;if(this[_0x5b3566(0x2cf)]&&this[_0x5b3566(0x2cc)]<0x8&&(this[_0x5b3566(0x238)]+=this[_0x5b3566(0x2cf)],this['_totalPayloadLength']>this['_maxPayload']&&this[_0x5b3566(0x2ae)]>0x0)){const _0x36bb11=this[_0x5b3566(0x2db)](RangeError,_0x5b3566(0x20e),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x2f13fd(_0x36bb11);return;}this[_0x5b3566(0x2cd)]?this['_state']=_0xb32aeb:this[_0x5b3566(0x167)]=_0x224eb3;}[_0x453a0d(0x233)](){const _0x24867a=_0x453a0d;if(this[_0x24867a(0x15b)]<0x4){this[_0x24867a(0x266)]=!0x1;return;}this['_mask']=this[_0x24867a(0x1df)](0x4),this[_0x24867a(0x167)]=_0x224eb3;}['getData'](_0x476113){const _0x1bbc80=_0x453a0d;let _0x256f0c=_0xbc1544;if(this[_0x1bbc80(0x2cf)]){if(this[_0x1bbc80(0x15b)]<this['_payloadLength']){this[_0x1bbc80(0x266)]=!0x1;return;}_0x256f0c=this[_0x1bbc80(0x1df)](this['_payloadLength']),this[_0x1bbc80(0x2cd)]&&(this[_0x1bbc80(0x18c)][0x0]|this['_mask'][0x1]|this[_0x1bbc80(0x18c)][0x2]|this[_0x1bbc80(0x18c)][0x3])!==0x0&&_0x4c69d7(_0x256f0c,this[_0x1bbc80(0x18c)]);}if(this[_0x1bbc80(0x2cc)]>0x7){this[_0x1bbc80(0x2d5)](_0x256f0c,_0x476113);return;}if(this[_0x1bbc80(0x1d5)]){this['_state']=_0x15a54b,this[_0x1bbc80(0x1ab)](_0x256f0c,_0x476113);return;}_0x256f0c['length']&&(this[_0x1bbc80(0x18f)]=this[_0x1bbc80(0x238)],this[_0x1bbc80(0x298)][_0x1bbc80(0x1a2)](_0x256f0c)),this['dataMessage'](_0x476113);}[_0x453a0d(0x1ab)](_0xd9d665,_0x14675e){const _0x1bfea6=_0x453a0d;this[_0x1bfea6(0x2ad)][_0x3260da[_0x1bfea6(0x216)]][_0x1bfea6(0x1ab)](_0xd9d665,this[_0x1bfea6(0x15f)],(_0x45cbd9,_0x27b2e4)=>{const _0x184faa=_0x1bfea6;if(_0x45cbd9)return _0x14675e(_0x45cbd9);if(_0x27b2e4[_0x184faa(0x16f)]){if(this['_messageLength']+=_0x27b2e4[_0x184faa(0x16f)],this[_0x184faa(0x18f)]>this[_0x184faa(0x2ae)]&&this[_0x184faa(0x2ae)]>0x0){const _0x1feb90=this[_0x184faa(0x2db)](RangeError,_0x184faa(0x20e),!0x1,0x3f1,_0x184faa(0x1c7));_0x14675e(_0x1feb90);return;}this['_fragments']['push'](_0x27b2e4);}this['dataMessage'](_0x14675e),this[_0x184faa(0x167)]===_0x1a2d4e&&this[_0x184faa(0x24f)](_0x14675e);});}[_0x453a0d(0x272)](_0x553144){const _0x5711d0=_0x453a0d;if(!this[_0x5711d0(0x15f)]){this['_state']=_0x1a2d4e;return;}const _0x34e6b9=this['_messageLength'],_0x4c84d2=this[_0x5711d0(0x298)];if(this['_totalPayloadLength']=0x0,this[_0x5711d0(0x18f)]=0x0,this[_0x5711d0(0x191)]=0x0,this[_0x5711d0(0x298)]=[],this[_0x5711d0(0x2cc)]===0x2){let _0x4be1b4;this[_0x5711d0(0x24a)]===_0x5711d0(0x1f4)?_0x4be1b4=_0x4a2f97(_0x4c84d2,_0x34e6b9):this['_binaryType']===_0x5711d0(0x291)?_0x4be1b4=_0x374105(_0x4a2f97(_0x4c84d2,_0x34e6b9)):this[_0x5711d0(0x24a)]==='blob'?_0x4be1b4=new Blob(_0x4c84d2):_0x4be1b4=_0x4c84d2,this[_0x5711d0(0x12a)]?(this[_0x5711d0(0x15e)](_0x5711d0(0x24c),_0x4be1b4,!0x0),this[_0x5711d0(0x167)]=_0x1a2d4e):(this[_0x5711d0(0x167)]=_0x5ced48,setImmediate(()=>{const _0x4f6fc4=_0x5711d0;this[_0x4f6fc4(0x15e)](_0x4f6fc4(0x24c),_0x4be1b4,!0x0),this[_0x4f6fc4(0x167)]=_0x1a2d4e,this[_0x4f6fc4(0x24f)](_0x553144);}));}else{const _0x1990dd=_0x4a2f97(_0x4c84d2,_0x34e6b9);if(!this['_skipUTF8Validation']&&!_0x20ec73(_0x1990dd)){const _0x1070d7=this[_0x5711d0(0x2db)](Error,_0x5711d0(0x1ff),!0x0,0x3ef,_0x5711d0(0x2c4));_0x553144(_0x1070d7);return;}this[_0x5711d0(0x167)]===_0x15a54b||this[_0x5711d0(0x12a)]?(this[_0x5711d0(0x15e)]('message',_0x1990dd,!0x1),this[_0x5711d0(0x167)]=_0x1a2d4e):(this[_0x5711d0(0x167)]=_0x5ced48,setImmediate(()=>{const _0x321e3f=_0x5711d0;this[_0x321e3f(0x15e)](_0x321e3f(0x24c),_0x1990dd,!0x1),this['_state']=_0x1a2d4e,this[_0x321e3f(0x24f)](_0x553144);}));}}[_0x453a0d(0x2d5)](_0x10eeb3,_0x47c55d){const _0x3da066=_0x453a0d;if(this[_0x3da066(0x2cc)]===0x8){if(_0x10eeb3[_0x3da066(0x16f)]===0x0)this[_0x3da066(0x266)]=!0x1,this[_0x3da066(0x15e)](_0x3da066(0x200),0x3ed,_0xbc1544),this['end']();else{const _0x2aac46=_0x10eeb3[_0x3da066(0x269)](0x0);if(!_0x30d82b(_0x2aac46)){const _0x2bb308=this[_0x3da066(0x2db)](RangeError,'invalid\x20status\x20code\x20'+_0x2aac46,!0x0,0x3ea,_0x3da066(0x162));_0x47c55d(_0x2bb308);return;}const _0x30bef1=new _0x3e852c(_0x10eeb3[_0x3da066(0x2bc)],_0x10eeb3['byteOffset']+0x2,_0x10eeb3['length']-0x2);if(!this[_0x3da066(0x2b9)]&&!_0x20ec73(_0x30bef1)){const _0x3dd2f8=this[_0x3da066(0x2db)](Error,_0x3da066(0x1ff),!0x0,0x3ef,_0x3da066(0x2c4));_0x47c55d(_0x3dd2f8);return;}this[_0x3da066(0x266)]=!0x1,this[_0x3da066(0x15e)](_0x3da066(0x200),_0x2aac46,_0x30bef1),this[_0x3da066(0x2de)]();}this[_0x3da066(0x167)]=_0x1a2d4e;return;}this['_allowSynchronousEvents']?(this[_0x3da066(0x15e)](this['_opcode']===0x9?_0x3da066(0x23b):_0x3da066(0x264),_0x10eeb3),this['_state']=_0x1a2d4e):(this[_0x3da066(0x167)]=_0x5ced48,setImmediate(()=>{const _0x572a15=_0x3da066;this[_0x572a15(0x15e)](this['_opcode']===0x9?'ping':_0x572a15(0x264),_0x10eeb3),this[_0x572a15(0x167)]=_0x1a2d4e,this[_0x572a15(0x24f)](_0x47c55d);}));}[_0x453a0d(0x2db)](_0x38d466,_0x559d72,_0x51333f,_0x245f02,_0x5cb8dd){const _0x4236e7=_0x453a0d;this['_loop']=!0x1,this[_0x4236e7(0x15c)]=!0x0;const _0x49c5aa=new _0x38d466(_0x51333f?_0x4236e7(0x172)+_0x559d72:_0x559d72);return Error[_0x4236e7(0x22a)](_0x49c5aa,this[_0x4236e7(0x2db)]),_0x49c5aa[_0x4236e7(0x262)]=_0x5cb8dd,_0x49c5aa[_0x4d1719]=_0x245f02,_0x49c5aa;}}return Se=_0x260772,Se;}var Ee,Xe;function ft(){const _0x233ec9=_0x14ca12;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x655a5a}=oe,{randomFillSync:_0x404dca}=Le,_0x156532=he(),{EMPTY_BUFFER:_0xdbe7e5,kWebSocket:_0x4a87f9,NOOP:_0x1c7de5}=H(),{isBlob:_0x261370,isValidStatusCode:_0x4b85cc}=ae(),{mask:_0x5adf46,toBuffer:_0x579a48}=ce(),_0x46f6be=Symbol(_0x233ec9(0x145)),_0x2fbfd3=Buffer[_0x233ec9(0x268)](0x4),_0x3c13dc=0x8*0x400;let _0x5ed9a9,_0x3032e0=_0x3c13dc;const _0x427c0a=0x0,_0x10d02c=0x1,_0x1e1d04=0x2;class _0x5c0390{constructor(_0x31abd5,_0x3d3b14,_0x3bf7cd){const _0x490326=_0x233ec9;this['_extensions']=_0x3d3b14||{},_0x3bf7cd&&(this[_0x490326(0x2c8)]=_0x3bf7cd,this[_0x490326(0x16d)]=Buffer[_0x490326(0x268)](0x4)),this[_0x490326(0x17b)]=_0x31abd5,this[_0x490326(0x13b)]=!0x0,this['_compress']=!0x1,this[_0x490326(0x15b)]=0x0,this[_0x490326(0x207)]=[],this[_0x490326(0x167)]=_0x427c0a,this[_0x490326(0x22e)]=_0x1c7de5,this[_0x4a87f9]=void 0x0;}static[_0x233ec9(0x22b)](_0x4d016b,_0x4ef79f){const _0x332525=_0x233ec9;let _0x1c7254,_0xd41311=!0x1,_0x568f51=0x2,_0x42e689=!0x1;_0x4ef79f[_0x332525(0x22f)]&&(_0x1c7254=_0x4ef79f[_0x332525(0x2c9)]||_0x2fbfd3,_0x4ef79f[_0x332525(0x155)]?_0x4ef79f[_0x332525(0x155)](_0x1c7254):(_0x3032e0===_0x3c13dc&&(_0x5ed9a9===void 0x0&&(_0x5ed9a9=Buffer[_0x332525(0x268)](_0x3c13dc)),_0x404dca(_0x5ed9a9,0x0,_0x3c13dc),_0x3032e0=0x0),_0x1c7254[0x0]=_0x5ed9a9[_0x3032e0++],_0x1c7254[0x1]=_0x5ed9a9[_0x3032e0++],_0x1c7254[0x2]=_0x5ed9a9[_0x3032e0++],_0x1c7254[0x3]=_0x5ed9a9[_0x3032e0++]),_0x42e689=(_0x1c7254[0x0]|_0x1c7254[0x1]|_0x1c7254[0x2]|_0x1c7254[0x3])===0x0,_0x568f51=0x6);let _0x5409fe;typeof _0x4d016b==_0x332525(0x2d2)?(!_0x4ef79f[_0x332525(0x22f)]||_0x42e689)&&_0x4ef79f[_0x46f6be]!==void 0x0?_0x5409fe=_0x4ef79f[_0x46f6be]:(_0x4d016b=Buffer[_0x332525(0x26e)](_0x4d016b),_0x5409fe=_0x4d016b[_0x332525(0x16f)]):(_0x5409fe=_0x4d016b[_0x332525(0x16f)],_0xd41311=_0x4ef79f['mask']&&_0x4ef79f['readOnly']&&!_0x42e689);let _0x349685=_0x5409fe;_0x5409fe>=0x10000?(_0x568f51+=0x8,_0x349685=0x7f):_0x5409fe>0x7d&&(_0x568f51+=0x2,_0x349685=0x7e);const _0x462450=Buffer['allocUnsafe'](_0xd41311?_0x5409fe+_0x568f51:_0x568f51);return _0x462450[0x0]=_0x4ef79f['fin']?_0x4ef79f[_0x332525(0x18d)]|0x80:_0x4ef79f[_0x332525(0x18d)],_0x4ef79f[_0x332525(0x130)]&&(_0x462450[0x0]|=0x40),_0x462450[0x1]=_0x349685,_0x349685===0x7e?_0x462450['writeUInt16BE'](_0x5409fe,0x2):_0x349685===0x7f&&(_0x462450[0x2]=_0x462450[0x3]=0x0,_0x462450[_0x332525(0x125)](_0x5409fe,0x4,0x6)),_0x4ef79f[_0x332525(0x22f)]?(_0x462450[0x1]|=0x80,_0x462450[_0x568f51-0x4]=_0x1c7254[0x0],_0x462450[_0x568f51-0x3]=_0x1c7254[0x1],_0x462450[_0x568f51-0x2]=_0x1c7254[0x2],_0x462450[_0x568f51-0x1]=_0x1c7254[0x3],_0x42e689?[_0x462450,_0x4d016b]:_0xd41311?(_0x5adf46(_0x4d016b,_0x1c7254,_0x462450,_0x568f51,_0x5409fe),[_0x462450]):(_0x5adf46(_0x4d016b,_0x1c7254,_0x4d016b,0x0,_0x5409fe),[_0x462450,_0x4d016b])):[_0x462450,_0x4d016b];}[_0x233ec9(0x24e)](_0x2b7bb7,_0x43630e,_0x3e5662,_0x53e6eb){const _0x5bec72=_0x233ec9;let _0x498e1a;if(_0x2b7bb7===void 0x0)_0x498e1a=_0xdbe7e5;else{if(typeof _0x2b7bb7!=_0x5bec72(0x13c)||!_0x4b85cc(_0x2b7bb7))throw new TypeError(_0x5bec72(0x1d7));if(_0x43630e===void 0x0||!_0x43630e[_0x5bec72(0x16f)])_0x498e1a=Buffer[_0x5bec72(0x150)](0x2),_0x498e1a[_0x5bec72(0x1aa)](_0x2b7bb7,0x0);else{const _0x525f08=Buffer['byteLength'](_0x43630e);if(_0x525f08>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x498e1a=Buffer['allocUnsafe'](0x2+_0x525f08),_0x498e1a[_0x5bec72(0x1aa)](_0x2b7bb7,0x0),typeof _0x43630e==_0x5bec72(0x2d2)?_0x498e1a[_0x5bec72(0x290)](_0x43630e,0x2):_0x498e1a[_0x5bec72(0x2c2)](_0x43630e,0x2);}}const _0x2ee6f9={[_0x46f6be]:_0x498e1a[_0x5bec72(0x16f)],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x3e5662,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this['_state']!==_0x427c0a?this[_0x5bec72(0x29f)]([this[_0x5bec72(0x24b)],_0x498e1a,!0x1,_0x2ee6f9,_0x53e6eb]):this[_0x5bec72(0x1ac)](_0x5c0390[_0x5bec72(0x22b)](_0x498e1a,_0x2ee6f9),_0x53e6eb);}['ping'](_0x1d7f4e,_0x40710c,_0x485ac3){const _0x558ddc=_0x233ec9;let _0x9dc6c0,_0xf53802;if(typeof _0x1d7f4e==_0x558ddc(0x2d2)?(_0x9dc6c0=Buffer[_0x558ddc(0x152)](_0x1d7f4e),_0xf53802=!0x1):_0x261370(_0x1d7f4e)?(_0x9dc6c0=_0x1d7f4e[_0x558ddc(0x187)],_0xf53802=!0x1):(_0x1d7f4e=_0x579a48(_0x1d7f4e),_0x9dc6c0=_0x1d7f4e[_0x558ddc(0x16f)],_0xf53802=_0x579a48[_0x558ddc(0x1c4)]),_0x9dc6c0>0x7d)throw new RangeError(_0x558ddc(0x2c1));const _0x2e2245={[_0x46f6be]:_0x9dc6c0,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x40710c,'maskBuffer':this['_maskBuffer'],'opcode':0x9,'readOnly':_0xf53802,'rsv1':!0x1};_0x261370(_0x1d7f4e)?this[_0x558ddc(0x167)]!==_0x427c0a?this['enqueue']([this['getBlobData'],_0x1d7f4e,!0x1,_0x2e2245,_0x485ac3]):this[_0x558ddc(0x24d)](_0x1d7f4e,!0x1,_0x2e2245,_0x485ac3):this[_0x558ddc(0x167)]!==_0x427c0a?this[_0x558ddc(0x29f)]([this[_0x558ddc(0x24b)],_0x1d7f4e,!0x1,_0x2e2245,_0x485ac3]):this['sendFrame'](_0x5c0390[_0x558ddc(0x22b)](_0x1d7f4e,_0x2e2245),_0x485ac3);}['pong'](_0xf852e9,_0x24adc5,_0xa0d1e5){const _0x2158b0=_0x233ec9;let _0x35bde3,_0x3656da;if(typeof _0xf852e9=='string'?(_0x35bde3=Buffer[_0x2158b0(0x152)](_0xf852e9),_0x3656da=!0x1):_0x261370(_0xf852e9)?(_0x35bde3=_0xf852e9[_0x2158b0(0x187)],_0x3656da=!0x1):(_0xf852e9=_0x579a48(_0xf852e9),_0x35bde3=_0xf852e9[_0x2158b0(0x16f)],_0x3656da=_0x579a48[_0x2158b0(0x1c4)]),_0x35bde3>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x38755c={[_0x46f6be]:_0x35bde3,'fin':!0x0,'generateMask':this[_0x2158b0(0x2c8)],'mask':_0x24adc5,'maskBuffer':this[_0x2158b0(0x16d)],'opcode':0xa,'readOnly':_0x3656da,'rsv1':!0x1};_0x261370(_0xf852e9)?this['_state']!==_0x427c0a?this[_0x2158b0(0x29f)]([this[_0x2158b0(0x24d)],_0xf852e9,!0x1,_0x38755c,_0xa0d1e5]):this['getBlobData'](_0xf852e9,!0x1,_0x38755c,_0xa0d1e5):this[_0x2158b0(0x167)]!==_0x427c0a?this['enqueue']([this[_0x2158b0(0x24b)],_0xf852e9,!0x1,_0x38755c,_0xa0d1e5]):this[_0x2158b0(0x1ac)](_0x5c0390[_0x2158b0(0x22b)](_0xf852e9,_0x38755c),_0xa0d1e5);}['send'](_0xcbd3d,_0x5af11c,_0x57879f){const _0x25325d=_0x233ec9,_0x1c9b96=this[_0x25325d(0x2ad)][_0x156532[_0x25325d(0x216)]];let _0x548bc2=_0x5af11c[_0x25325d(0x153)]?0x2:0x1,_0x129f5e=_0x5af11c[_0x25325d(0x1e9)],_0x280552,_0x2dc1b7;typeof _0xcbd3d=='string'?(_0x280552=Buffer[_0x25325d(0x152)](_0xcbd3d),_0x2dc1b7=!0x1):_0x261370(_0xcbd3d)?(_0x280552=_0xcbd3d['size'],_0x2dc1b7=!0x1):(_0xcbd3d=_0x579a48(_0xcbd3d),_0x280552=_0xcbd3d[_0x25325d(0x16f)],_0x2dc1b7=_0x579a48[_0x25325d(0x1c4)]),this[_0x25325d(0x13b)]?(this[_0x25325d(0x13b)]=!0x1,_0x129f5e&&_0x1c9b96&&_0x1c9b96[_0x25325d(0x197)][_0x1c9b96[_0x25325d(0x2e1)]?_0x25325d(0x169):_0x25325d(0x27e)]&&(_0x129f5e=_0x280552>=_0x1c9b96[_0x25325d(0x17e)]),this['_compress']=_0x129f5e):(_0x129f5e=!0x1,_0x548bc2=0x0),_0x5af11c[_0x25325d(0x179)]&&(this[_0x25325d(0x13b)]=!0x0);const _0x533f6a={[_0x46f6be]:_0x280552,'fin':_0x5af11c[_0x25325d(0x179)],'generateMask':this[_0x25325d(0x2c8)],'mask':_0x5af11c['mask'],'maskBuffer':this[_0x25325d(0x16d)],'opcode':_0x548bc2,'readOnly':_0x2dc1b7,'rsv1':_0x129f5e};_0x261370(_0xcbd3d)?this[_0x25325d(0x167)]!==_0x427c0a?this[_0x25325d(0x29f)]([this[_0x25325d(0x24d)],_0xcbd3d,this[_0x25325d(0x2b5)],_0x533f6a,_0x57879f]):this[_0x25325d(0x24d)](_0xcbd3d,this[_0x25325d(0x2b5)],_0x533f6a,_0x57879f):this[_0x25325d(0x167)]!==_0x427c0a?this[_0x25325d(0x29f)]([this[_0x25325d(0x24b)],_0xcbd3d,this[_0x25325d(0x2b5)],_0x533f6a,_0x57879f]):this[_0x25325d(0x24b)](_0xcbd3d,this[_0x25325d(0x2b5)],_0x533f6a,_0x57879f);}['getBlobData'](_0x1fe617,_0x3d73e5,_0x487901,_0x3c071d){const _0x383ba6=_0x233ec9;this[_0x383ba6(0x15b)]+=_0x487901[_0x46f6be],this[_0x383ba6(0x167)]=_0x1e1d04,_0x1fe617[_0x383ba6(0x2b4)]()['then'](_0x2e5466=>{const _0x24caeb=_0x383ba6;if(this[_0x24caeb(0x17b)][_0x24caeb(0x1f9)]){const _0x457b75=new Error('The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read');process[_0x24caeb(0x283)](_0x2197bf,this,_0x457b75,_0x3c071d);return;}this['_bufferedBytes']-=_0x487901[_0x46f6be];const _0x5abb0c=_0x579a48(_0x2e5466);_0x3d73e5?this[_0x24caeb(0x24b)](_0x5abb0c,_0x3d73e5,_0x487901,_0x3c071d):(this[_0x24caeb(0x167)]=_0x427c0a,this[_0x24caeb(0x1ac)](_0x5c0390['frame'](_0x5abb0c,_0x487901),_0x3c071d),this[_0x24caeb(0x2c0)]());})[_0x383ba6(0x20a)](_0x379c7b=>{const _0x4603f7=_0x383ba6;process[_0x4603f7(0x283)](_0x1c6bd9,this,_0x379c7b,_0x3c071d);});}[_0x233ec9(0x24b)](_0x2a4908,_0x325ced,_0x4811e3,_0xc0436){const _0x2ddfbf=_0x233ec9;if(!_0x325ced){this[_0x2ddfbf(0x1ac)](_0x5c0390[_0x2ddfbf(0x22b)](_0x2a4908,_0x4811e3),_0xc0436);return;}const _0x34b9db=this[_0x2ddfbf(0x2ad)][_0x156532[_0x2ddfbf(0x216)]];this[_0x2ddfbf(0x15b)]+=_0x4811e3[_0x46f6be],this['_state']=_0x10d02c,_0x34b9db['compress'](_0x2a4908,_0x4811e3['fin'],(_0x27c325,_0x3cf7ba)=>{const _0x43ece6=_0x2ddfbf;if(this[_0x43ece6(0x17b)][_0x43ece6(0x1f9)]){const _0x268e25=new Error(_0x43ece6(0x160));_0x2197bf(this,_0x268e25,_0xc0436);return;}this[_0x43ece6(0x15b)]-=_0x4811e3[_0x46f6be],this[_0x43ece6(0x167)]=_0x427c0a,_0x4811e3[_0x43ece6(0x1c4)]=!0x1,this[_0x43ece6(0x1ac)](_0x5c0390[_0x43ece6(0x22b)](_0x3cf7ba,_0x4811e3),_0xc0436),this[_0x43ece6(0x2c0)]();});}['dequeue'](){const _0x4517ba=_0x233ec9;for(;this[_0x4517ba(0x167)]===_0x427c0a&&this[_0x4517ba(0x207)][_0x4517ba(0x16f)];){const _0xaaa9c9=this['_queue']['shift']();this['_bufferedBytes']-=_0xaaa9c9[0x3][_0x46f6be],Reflect['apply'](_0xaaa9c9[0x0],this,_0xaaa9c9['slice'](0x1));}}[_0x233ec9(0x29f)](_0x27095b){const _0x1959bc=_0x233ec9;this[_0x1959bc(0x15b)]+=_0x27095b[0x3][_0x46f6be],this[_0x1959bc(0x207)][_0x1959bc(0x1a2)](_0x27095b);}['sendFrame'](_0x328a09,_0x3ae2d){const _0x4eff50=_0x233ec9;_0x328a09[_0x4eff50(0x16f)]===0x2?(this[_0x4eff50(0x17b)]['cork'](),this[_0x4eff50(0x17b)]['write'](_0x328a09[0x0]),this[_0x4eff50(0x17b)][_0x4eff50(0x290)](_0x328a09[0x1],_0x3ae2d),this[_0x4eff50(0x17b)][_0x4eff50(0x1dc)]()):this[_0x4eff50(0x17b)][_0x4eff50(0x290)](_0x328a09[0x0],_0x3ae2d);}}Ee=_0x5c0390;function _0x2197bf(_0x4eea3a,_0x51ff35,_0x338893){const _0x4351d3=_0x233ec9;typeof _0x338893==_0x4351d3(0x17c)&&_0x338893(_0x51ff35);for(let _0xff56bc=0x0;_0xff56bc<_0x4eea3a[_0x4351d3(0x207)][_0x4351d3(0x16f)];_0xff56bc++){const _0x526db8=_0x4eea3a[_0x4351d3(0x207)][_0xff56bc],_0x21518f=_0x526db8[_0x526db8[_0x4351d3(0x16f)]-0x1];typeof _0x21518f==_0x4351d3(0x17c)&&_0x21518f(_0x51ff35);}}function _0x1c6bd9(_0x1ac511,_0x23aca4,_0x22bb84){_0x2197bf(_0x1ac511,_0x23aca4,_0x22bb84),_0x1ac511['onerror'](_0x23aca4);}return Ee;}var xe,Ze;function It(){const _0x190947=_0x14ca12;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x35df4f,kListener:_0x2119e6}=H(),_0x2fcbad=Symbol(_0x190947(0x18a)),_0xf4a82f=Symbol('kData'),_0x1d9ca9=Symbol(_0x190947(0x263)),_0x5dd535=Symbol('kMessage'),_0x4fe666=Symbol('kReason'),_0x3d0a94=Symbol(_0x190947(0x205)),_0x3ddd2e=Symbol(_0x190947(0x235)),_0x575634=Symbol(_0x190947(0x1a0));class _0x3bfe49{constructor(_0x265adc){this[_0x3d0a94]=null,this[_0x3ddd2e]=_0x265adc;}get['target'](){return this[_0x3d0a94];}get[_0x190947(0x131)](){return this[_0x3ddd2e];}}Object['defineProperty'](_0x3bfe49[_0x190947(0x1ce)],'target',{'enumerable':!0x0}),Object[_0x190947(0x1c9)](_0x3bfe49[_0x190947(0x1ce)],_0x190947(0x131),{'enumerable':!0x0});class _0x143af3 extends _0x3bfe49{constructor(_0x31cb3e,_0x914ac={}){const _0x2d4168=_0x190947;super(_0x31cb3e),this[_0x2fcbad]=_0x914ac[_0x2d4168(0x262)]===void 0x0?0x0:_0x914ac[_0x2d4168(0x262)],this[_0x4fe666]=_0x914ac[_0x2d4168(0x14e)]===void 0x0?'':_0x914ac[_0x2d4168(0x14e)],this[_0x575634]=_0x914ac[_0x2d4168(0x2ac)]===void 0x0?!0x1:_0x914ac[_0x2d4168(0x2ac)];}get[_0x190947(0x262)](){return this[_0x2fcbad];}get[_0x190947(0x14e)](){return this[_0x4fe666];}get[_0x190947(0x2ac)](){return this[_0x575634];}}Object[_0x190947(0x1c9)](_0x143af3['prototype'],_0x190947(0x262),{'enumerable':!0x0}),Object[_0x190947(0x1c9)](_0x143af3[_0x190947(0x1ce)],'reason',{'enumerable':!0x0}),Object[_0x190947(0x1c9)](_0x143af3[_0x190947(0x1ce)],_0x190947(0x2ac),{'enumerable':!0x0});class _0x168cbf extends _0x3bfe49{constructor(_0x3cbb56,_0x2c4d94={}){const _0x40be15=_0x190947;super(_0x3cbb56),this[_0x1d9ca9]=_0x2c4d94[_0x40be15(0x129)]===void 0x0?null:_0x2c4d94[_0x40be15(0x129)],this[_0x5dd535]=_0x2c4d94[_0x40be15(0x24c)]===void 0x0?'':_0x2c4d94[_0x40be15(0x24c)];}get[_0x190947(0x129)](){return this[_0x1d9ca9];}get['message'](){return this[_0x5dd535];}}Object['defineProperty'](_0x168cbf['prototype'],'error',{'enumerable':!0x0}),Object[_0x190947(0x1c9)](_0x168cbf['prototype'],_0x190947(0x24c),{'enumerable':!0x0});class _0x317cff extends _0x3bfe49{constructor(_0xa61d4a,_0x54676e={}){const _0x86b27a=_0x190947;super(_0xa61d4a),this[_0xf4a82f]=_0x54676e[_0x86b27a(0x19b)]===void 0x0?null:_0x54676e['data'];}get[_0x190947(0x19b)](){return this[_0xf4a82f];}}Object['defineProperty'](_0x317cff['prototype'],_0x190947(0x19b),{'enumerable':!0x0}),xe={'CloseEvent':_0x143af3,'ErrorEvent':_0x168cbf,'Event':_0x3bfe49,'EventTarget':{'addEventListener'(_0x154571,_0x1135a1,_0x2b5647={}){const _0x3562c5=_0x190947;for(const _0x5dc916 of this[_0x3562c5(0x226)](_0x154571))if(!_0x2b5647[_0x35df4f]&&_0x5dc916[_0x2119e6]===_0x1135a1&&!_0x5dc916[_0x35df4f])return;let _0x246a54;if(_0x154571===_0x3562c5(0x24c))_0x246a54=function(_0x593ed4,_0x434d24){const _0x202f5c=_0x3562c5,_0x2282a3=new _0x317cff(_0x202f5c(0x24c),{'data':_0x434d24?_0x593ed4:_0x593ed4[_0x202f5c(0x1e0)]()});_0x2282a3[_0x3d0a94]=this,_0x58553d(_0x1135a1,this,_0x2282a3);};else{if(_0x154571===_0x3562c5(0x24e))_0x246a54=function(_0x27ed3b,_0x1d5738){const _0x2db81c=_0x3562c5,_0x3210ad=new _0x143af3(_0x2db81c(0x24e),{'code':_0x27ed3b,'reason':_0x1d5738['toString'](),'wasClean':this[_0x2db81c(0x163)]&&this[_0x2db81c(0x159)]});_0x3210ad[_0x3d0a94]=this,_0x58553d(_0x1135a1,this,_0x3210ad);};else{if(_0x154571==='error')_0x246a54=function(_0x3e9612){const _0x1e7851=_0x3562c5,_0xd8af14=new _0x168cbf(_0x1e7851(0x129),{'error':_0x3e9612,'message':_0x3e9612[_0x1e7851(0x24c)]});_0xd8af14[_0x3d0a94]=this,_0x58553d(_0x1135a1,this,_0xd8af14);};else{if(_0x154571===_0x3562c5(0x27d))_0x246a54=function(){const _0x48d2bf=_0x3562c5,_0x474208=new _0x3bfe49(_0x48d2bf(0x27d));_0x474208[_0x3d0a94]=this,_0x58553d(_0x1135a1,this,_0x474208);};else return;}}}_0x246a54[_0x35df4f]=!!_0x2b5647[_0x35df4f],_0x246a54[_0x2119e6]=_0x1135a1,_0x2b5647[_0x3562c5(0x2ab)]?this['once'](_0x154571,_0x246a54):this['on'](_0x154571,_0x246a54);},'removeEventListener'(_0x2ad67e,_0x545166){const _0x21f269=_0x190947;for(const _0x38a4af of this[_0x21f269(0x226)](_0x2ad67e))if(_0x38a4af[_0x2119e6]===_0x545166&&!_0x38a4af[_0x35df4f]){this[_0x21f269(0x286)](_0x2ad67e,_0x38a4af);break;}}},'MessageEvent':_0x317cff};function _0x58553d(_0x1db54b,_0x2ae63a,_0x535230){const _0x155235=_0x190947;typeof _0x1db54b=='object'&&_0x1db54b[_0x155235(0x194)]?_0x1db54b[_0x155235(0x194)]['call'](_0x1db54b,_0x535230):_0x1db54b[_0x155235(0x2c7)](_0x2ae63a,_0x535230);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x22416c}=ae();function _0x5244bc(_0x24d72b,_0x462e93,_0x5942ac){const _0xad474e=_0xd565;_0x24d72b[_0x462e93]===void 0x0?_0x24d72b[_0x462e93]=[_0x5942ac]:_0x24d72b[_0x462e93][_0xad474e(0x1a2)](_0x5942ac);}function _0x2cb93a(_0x330ee0){const _0x493692=_0xd565,_0x3eb715=Object[_0x493692(0x199)](null);let _0x1dd3e3=Object['create'](null),_0x41217c=!0x1,_0x39cd33=!0x1,_0x283936=!0x1,_0x4f09b6,_0x1cad6a,_0x214c45=-0x1,_0x5c676e=-0x1,_0x2734d8=-0x1,_0x5c92f7=0x0;for(;_0x5c92f7<_0x330ee0[_0x493692(0x16f)];_0x5c92f7++)if(_0x5c676e=_0x330ee0['charCodeAt'](_0x5c92f7),_0x4f09b6===void 0x0){if(_0x2734d8===-0x1&&_0x22416c[_0x5c676e]===0x1)_0x214c45===-0x1&&(_0x214c45=_0x5c92f7);else{if(_0x5c92f7!==0x0&&(_0x5c676e===0x20||_0x5c676e===0x9))_0x2734d8===-0x1&&_0x214c45!==-0x1&&(_0x2734d8=_0x5c92f7);else{if(_0x5c676e===0x3b||_0x5c676e===0x2c){if(_0x214c45===-0x1)throw new SyntaxError(_0x493692(0x19c)+_0x5c92f7);_0x2734d8===-0x1&&(_0x2734d8=_0x5c92f7);const _0x5ed0c8=_0x330ee0[_0x493692(0x29c)](_0x214c45,_0x2734d8);_0x5c676e===0x2c?(_0x5244bc(_0x3eb715,_0x5ed0c8,_0x1dd3e3),_0x1dd3e3=Object[_0x493692(0x199)](null)):_0x4f09b6=_0x5ed0c8,_0x214c45=_0x2734d8=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x5c92f7);}}}else{if(_0x1cad6a===void 0x0){if(_0x2734d8===-0x1&&_0x22416c[_0x5c676e]===0x1)_0x214c45===-0x1&&(_0x214c45=_0x5c92f7);else{if(_0x5c676e===0x20||_0x5c676e===0x9)_0x2734d8===-0x1&&_0x214c45!==-0x1&&(_0x2734d8=_0x5c92f7);else{if(_0x5c676e===0x3b||_0x5c676e===0x2c){if(_0x214c45===-0x1)throw new SyntaxError(_0x493692(0x19c)+_0x5c92f7);_0x2734d8===-0x1&&(_0x2734d8=_0x5c92f7),_0x5244bc(_0x1dd3e3,_0x330ee0[_0x493692(0x29c)](_0x214c45,_0x2734d8),!0x0),_0x5c676e===0x2c&&(_0x5244bc(_0x3eb715,_0x4f09b6,_0x1dd3e3),_0x1dd3e3=Object['create'](null),_0x4f09b6=void 0x0),_0x214c45=_0x2734d8=-0x1;}else{if(_0x5c676e===0x3d&&_0x214c45!==-0x1&&_0x2734d8===-0x1)_0x1cad6a=_0x330ee0['slice'](_0x214c45,_0x5c92f7),_0x214c45=_0x2734d8=-0x1;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x5c92f7);}}}}else{if(_0x39cd33){if(_0x22416c[_0x5c676e]!==0x1)throw new SyntaxError(_0x493692(0x19c)+_0x5c92f7);_0x214c45===-0x1?_0x214c45=_0x5c92f7:_0x41217c||(_0x41217c=!0x0),_0x39cd33=!0x1;}else{if(_0x283936){if(_0x22416c[_0x5c676e]===0x1)_0x214c45===-0x1&&(_0x214c45=_0x5c92f7);else{if(_0x5c676e===0x22&&_0x214c45!==-0x1)_0x283936=!0x1,_0x2734d8=_0x5c92f7;else{if(_0x5c676e===0x5c)_0x39cd33=!0x0;else throw new SyntaxError(_0x493692(0x19c)+_0x5c92f7);}}}else{if(_0x5c676e===0x22&&_0x330ee0[_0x493692(0x20d)](_0x5c92f7-0x1)===0x3d)_0x283936=!0x0;else{if(_0x2734d8===-0x1&&_0x22416c[_0x5c676e]===0x1)_0x214c45===-0x1&&(_0x214c45=_0x5c92f7);else{if(_0x214c45!==-0x1&&(_0x5c676e===0x20||_0x5c676e===0x9))_0x2734d8===-0x1&&(_0x2734d8=_0x5c92f7);else{if(_0x5c676e===0x3b||_0x5c676e===0x2c){if(_0x214c45===-0x1)throw new SyntaxError(_0x493692(0x19c)+_0x5c92f7);_0x2734d8===-0x1&&(_0x2734d8=_0x5c92f7);let _0x2bba35=_0x330ee0[_0x493692(0x29c)](_0x214c45,_0x2734d8);_0x41217c&&(_0x2bba35=_0x2bba35[_0x493692(0x178)](/\\/g,''),_0x41217c=!0x1),_0x5244bc(_0x1dd3e3,_0x1cad6a,_0x2bba35),_0x5c676e===0x2c&&(_0x5244bc(_0x3eb715,_0x4f09b6,_0x1dd3e3),_0x1dd3e3=Object['create'](null),_0x4f09b6=void 0x0),_0x1cad6a=void 0x0,_0x214c45=_0x2734d8=-0x1;}else throw new SyntaxError(_0x493692(0x19c)+_0x5c92f7);}}}}}}}if(_0x214c45===-0x1||_0x283936||_0x5c676e===0x20||_0x5c676e===0x9)throw new SyntaxError(_0x493692(0x1fa));_0x2734d8===-0x1&&(_0x2734d8=_0x5c92f7);const _0x49a3ef=_0x330ee0[_0x493692(0x29c)](_0x214c45,_0x2734d8);return _0x4f09b6===void 0x0?_0x5244bc(_0x3eb715,_0x49a3ef,_0x1dd3e3):(_0x1cad6a===void 0x0?_0x5244bc(_0x1dd3e3,_0x49a3ef,!0x0):_0x41217c?_0x5244bc(_0x1dd3e3,_0x1cad6a,_0x49a3ef['replace'](/\\/g,'')):_0x5244bc(_0x1dd3e3,_0x1cad6a,_0x49a3ef),_0x5244bc(_0x3eb715,_0x4f09b6,_0x1dd3e3)),_0x3eb715;}function _0x2c0eee(_0x4c604c){const _0x48f9c9=_0xd565;return Object[_0x48f9c9(0x21c)](_0x4c604c)[_0x48f9c9(0x1eb)](_0x2032f5=>{const _0x32964f=_0x48f9c9;let _0x50d86e=_0x4c604c[_0x2032f5];return Array[_0x32964f(0x2df)](_0x50d86e)||(_0x50d86e=[_0x50d86e]),_0x50d86e[_0x32964f(0x1eb)](_0x3e5d4c=>[_0x2032f5][_0x32964f(0x1d2)](Object[_0x32964f(0x21c)](_0x3e5d4c)[_0x32964f(0x1eb)](_0x3b3773=>{const _0x430aca=_0x32964f;let _0x1b27f5=_0x3e5d4c[_0x3b3773];return Array['isArray'](_0x1b27f5)||(_0x1b27f5=[_0x1b27f5]),_0x1b27f5[_0x430aca(0x1eb)](_0x17e0b4=>_0x17e0b4===!0x0?_0x3b3773:_0x3b3773+'='+_0x17e0b4)[_0x430aca(0x1dd)](';\x20');}))[_0x32964f(0x1dd)](';\x20'))[_0x32964f(0x1dd)](',\x20');})[_0x48f9c9(0x1dd)](',\x20');}return be={'format':_0x2c0eee,'parse':_0x2cb93a},be;}var we,Je;function Pe(){const _0x40a911=_0x14ca12;if(Je)return we;Je=0x1;const _0x598172=nt,_0x13e78f=vt,_0x4f7c25=ot,_0x2fcb07=St,_0x8c0f62=Et,{randomBytes:_0x178ae7,createHash:_0x4a72fc}=Le,{Duplex:_0x917e7b,Readable:_0x1a7a5d}=oe,{URL:_0x3425b3}=xt,_0x6ceaa8=he(),_0x535476=lt(),_0x56f0f9=ft(),{isBlob:_0x386808}=ae(),{BINARY_TYPES:_0x48b2a7,EMPTY_BUFFER:_0x32d6c0,GUID:_0x51b948,kForOnEventAttribute:_0x4915c6,kListener:_0x1c0e05,kStatusCode:_0x32c375,kWebSocket:_0x487317,NOOP:_0x3e027a}=H(),{EventTarget:{addEventListener:_0x2883be,removeEventListener:_0x316dfb}}=It(),{format:_0x59566c,parse:_0x4ee8bd}=ct(),{toBuffer:_0x5e1ec0}=ce(),_0x42e32d=0x1e*0x3e8,_0x1c2061=Symbol(_0x40a911(0x247)),_0x1e0961=[0x8,0xd],_0x438324=[_0x40a911(0x1c2),_0x40a911(0x245),_0x40a911(0x1fb),'CLOSED'],_0x3cb68a=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x29d9c3 extends _0x598172{constructor(_0x4b0021,_0x150fa6,_0x4036ba){const _0x2e143b=_0x40a911;super(),this[_0x2e143b(0x24a)]=_0x48b2a7[0x0],this[_0x2e143b(0x17f)]=0x3ee,this['_closeFrameReceived']=!0x1,this[_0x2e143b(0x159)]=!0x1,this[_0x2e143b(0x20f)]=_0x32d6c0,this[_0x2e143b(0x18e)]=null,this[_0x2e143b(0x274)]=!0x1,this[_0x2e143b(0x2ad)]={},this[_0x2e143b(0x273)]=!0x1,this[_0x2e143b(0x1fc)]='',this[_0x2e143b(0x1d4)]=_0x29d9c3[_0x2e143b(0x1c2)],this['_receiver']=null,this[_0x2e143b(0x250)]=null,this['_socket']=null,_0x4b0021!==null?(this['_bufferedAmount']=0x0,this['_isServer']=!0x1,this[_0x2e143b(0x2d3)]=0x0,_0x150fa6===void 0x0?_0x150fa6=[]:Array[_0x2e143b(0x2df)](_0x150fa6)||(typeof _0x150fa6==_0x2e143b(0x2d7)&&_0x150fa6!==null?(_0x4036ba=_0x150fa6,_0x150fa6=[]):_0x150fa6=[_0x150fa6]),_0x25f363(this,_0x4b0021,_0x150fa6,_0x4036ba)):(this[_0x2e143b(0x27a)]=_0x4036ba[_0x2e143b(0x27f)],this[_0x2e143b(0x2e1)]=!0x0);}get[_0x40a911(0x1a4)](){const _0x3a841f=_0x40a911;return this[_0x3a841f(0x24a)];}set['binaryType'](_0x132585){const _0x2aac20=_0x40a911;_0x48b2a7[_0x2aac20(0x181)](_0x132585)&&(this[_0x2aac20(0x24a)]=_0x132585,this[_0x2aac20(0x16e)]&&(this[_0x2aac20(0x16e)][_0x2aac20(0x24a)]=_0x132585));}get['bufferedAmount'](){const _0xd4f517=_0x40a911;return this[_0xd4f517(0x17b)]?this[_0xd4f517(0x17b)][_0xd4f517(0x2c3)][_0xd4f517(0x16f)]+this[_0xd4f517(0x250)][_0xd4f517(0x15b)]:this[_0xd4f517(0x14d)];}get[_0x40a911(0x1cf)](){const _0x2c845c=_0x40a911;return Object[_0x2c845c(0x21c)](this[_0x2c845c(0x2ad)])[_0x2c845c(0x1dd)]();}get[_0x40a911(0x2a2)](){return this['_paused'];}get[_0x40a911(0x28e)](){return null;}get[_0x40a911(0x22e)](){return null;}get[_0x40a911(0x23f)](){return null;}get[_0x40a911(0x278)](){return null;}get['protocol'](){const _0x5cb99b=_0x40a911;return this[_0x5cb99b(0x1fc)];}get[_0x40a911(0x25c)](){return this['_readyState'];}get[_0x40a911(0x184)](){return this['_url'];}[_0x40a911(0x1ba)](_0x584c3c,_0x2eac76,_0x801a9b){const _0x13963f=_0x40a911,_0x36a197=new _0x535476({'allowSynchronousEvents':_0x801a9b['allowSynchronousEvents'],'binaryType':this[_0x13963f(0x1a4)],'extensions':this[_0x13963f(0x2ad)],'isServer':this[_0x13963f(0x2e1)],'maxPayload':_0x801a9b['maxPayload'],'skipUTF8Validation':_0x801a9b[_0x13963f(0x240)]}),_0x3c2096=new _0x56f0f9(_0x584c3c,this[_0x13963f(0x2ad)],_0x801a9b[_0x13963f(0x155)]);this[_0x13963f(0x16e)]=_0x36a197,this[_0x13963f(0x250)]=_0x3c2096,this[_0x13963f(0x17b)]=_0x584c3c,_0x36a197[_0x487317]=this,_0x3c2096[_0x487317]=this,_0x584c3c[_0x487317]=this,_0x36a197['on'](_0x13963f(0x200),_0xa4f612),_0x36a197['on'](_0x13963f(0x252),_0x5f0880),_0x36a197['on'](_0x13963f(0x129),_0x5d693e),_0x36a197['on'](_0x13963f(0x24c),_0x4599eb),_0x36a197['on']('ping',_0x22ba1b),_0x36a197['on'](_0x13963f(0x264),_0x34bf98),_0x3c2096[_0x13963f(0x22e)]=_0x4bcc71,_0x584c3c[_0x13963f(0x14f)]&&_0x584c3c[_0x13963f(0x14f)](0x0),_0x584c3c[_0x13963f(0x17a)]&&_0x584c3c['setNoDelay'](),_0x2eac76[_0x13963f(0x16f)]>0x0&&_0x584c3c[_0x13963f(0x220)](_0x2eac76),_0x584c3c['on']('close',_0x4969f9),_0x584c3c['on']('data',_0xe670c4),_0x584c3c['on'](_0x13963f(0x2de),_0x2fc0a2),_0x584c3c['on'](_0x13963f(0x129),_0x3c3f2a),this[_0x13963f(0x1d4)]=_0x29d9c3['OPEN'],this[_0x13963f(0x15e)](_0x13963f(0x27d));}['emitClose'](){const _0x257b95=_0x40a911;if(!this[_0x257b95(0x17b)]){this['_readyState']=_0x29d9c3[_0x257b95(0x2a7)],this[_0x257b95(0x15e)](_0x257b95(0x24e),this[_0x257b95(0x17f)],this['_closeMessage']);return;}this[_0x257b95(0x2ad)][_0x6ceaa8[_0x257b95(0x216)]]&&this[_0x257b95(0x2ad)][_0x6ceaa8[_0x257b95(0x216)]][_0x257b95(0x127)](),this[_0x257b95(0x16e)][_0x257b95(0x2be)](),this[_0x257b95(0x1d4)]=_0x29d9c3[_0x257b95(0x2a7)],this[_0x257b95(0x15e)](_0x257b95(0x24e),this['_closeCode'],this['_closeMessage']);}[_0x40a911(0x24e)](_0x1fe977,_0x156657){const _0x219673=_0x40a911;if(this[_0x219673(0x25c)]!==_0x29d9c3[_0x219673(0x2a7)]){if(this[_0x219673(0x25c)]===_0x29d9c3[_0x219673(0x1c2)]){_0x21b385(this,this[_0x219673(0x182)],_0x219673(0x241));return;}if(this['readyState']===_0x29d9c3[_0x219673(0x1fb)]){this[_0x219673(0x159)]&&(this[_0x219673(0x163)]||this['_receiver'][_0x219673(0x2c3)][_0x219673(0x1ee)])&&this[_0x219673(0x17b)][_0x219673(0x2de)]();return;}this[_0x219673(0x1d4)]=_0x29d9c3[_0x219673(0x1fb)],this[_0x219673(0x250)][_0x219673(0x24e)](_0x1fe977,_0x156657,!this['_isServer'],_0x42a931=>{const _0xbc4370=_0x219673;_0x42a931||(this[_0xbc4370(0x159)]=!0x0,(this[_0xbc4370(0x163)]||this[_0xbc4370(0x16e)][_0xbc4370(0x2c3)]['errorEmitted'])&&this['_socket'][_0xbc4370(0x2de)]());}),_0x31222d(this);}}['pause'](){const _0x5b64eb=_0x40a911;this[_0x5b64eb(0x25c)]===_0x29d9c3[_0x5b64eb(0x1c2)]||this[_0x5b64eb(0x25c)]===_0x29d9c3[_0x5b64eb(0x2a7)]||(this['_paused']=!0x0,this[_0x5b64eb(0x17b)]['pause']());}[_0x40a911(0x23b)](_0x3dadeb,_0x44192c,_0x2e558e){const _0x1b03f7=_0x40a911;if(this[_0x1b03f7(0x25c)]===_0x29d9c3[_0x1b03f7(0x1c2)])throw new Error(_0x1b03f7(0x204));if(typeof _0x3dadeb==_0x1b03f7(0x17c)?(_0x2e558e=_0x3dadeb,_0x3dadeb=_0x44192c=void 0x0):typeof _0x44192c==_0x1b03f7(0x17c)&&(_0x2e558e=_0x44192c,_0x44192c=void 0x0),typeof _0x3dadeb==_0x1b03f7(0x13c)&&(_0x3dadeb=_0x3dadeb[_0x1b03f7(0x1e0)]()),this[_0x1b03f7(0x25c)]!==_0x29d9c3[_0x1b03f7(0x245)]){_0x411c82(this,_0x3dadeb,_0x2e558e);return;}_0x44192c===void 0x0&&(_0x44192c=!this[_0x1b03f7(0x2e1)]),this[_0x1b03f7(0x250)][_0x1b03f7(0x23b)](_0x3dadeb||_0x32d6c0,_0x44192c,_0x2e558e);}[_0x40a911(0x264)](_0x2035d8,_0x34c45b,_0x229e42){const _0x1cc5b6=_0x40a911;if(this[_0x1cc5b6(0x25c)]===_0x29d9c3[_0x1cc5b6(0x1c2)])throw new Error(_0x1cc5b6(0x204));if(typeof _0x2035d8==_0x1cc5b6(0x17c)?(_0x229e42=_0x2035d8,_0x2035d8=_0x34c45b=void 0x0):typeof _0x34c45b==_0x1cc5b6(0x17c)&&(_0x229e42=_0x34c45b,_0x34c45b=void 0x0),typeof _0x2035d8==_0x1cc5b6(0x13c)&&(_0x2035d8=_0x2035d8[_0x1cc5b6(0x1e0)]()),this[_0x1cc5b6(0x25c)]!==_0x29d9c3[_0x1cc5b6(0x245)]){_0x411c82(this,_0x2035d8,_0x229e42);return;}_0x34c45b===void 0x0&&(_0x34c45b=!this['_isServer']),this[_0x1cc5b6(0x250)][_0x1cc5b6(0x264)](_0x2035d8||_0x32d6c0,_0x34c45b,_0x229e42);}[_0x40a911(0x260)](){const _0x1da79a=_0x40a911;this[_0x1da79a(0x25c)]===_0x29d9c3[_0x1da79a(0x1c2)]||this[_0x1da79a(0x25c)]===_0x29d9c3[_0x1da79a(0x2a7)]||(this[_0x1da79a(0x273)]=!0x1,this[_0x1da79a(0x16e)]['_writableState']['needDrain']||this['_socket'][_0x1da79a(0x260)]());}['send'](_0x3dadbd,_0x3e72f5,_0x281ac2){const _0x3d140d=_0x40a911;if(this[_0x3d140d(0x25c)]===_0x29d9c3[_0x3d140d(0x1c2)])throw new Error(_0x3d140d(0x204));if(typeof _0x3e72f5==_0x3d140d(0x17c)&&(_0x281ac2=_0x3e72f5,_0x3e72f5={}),typeof _0x3dadbd==_0x3d140d(0x13c)&&(_0x3dadbd=_0x3dadbd[_0x3d140d(0x1e0)]()),this['readyState']!==_0x29d9c3[_0x3d140d(0x245)]){_0x411c82(this,_0x3dadbd,_0x281ac2);return;}const _0x440b64={'binary':typeof _0x3dadbd!='string','mask':!this[_0x3d140d(0x2e1)],'compress':!0x0,'fin':!0x0,..._0x3e72f5};this[_0x3d140d(0x2ad)][_0x6ceaa8['extensionName']]||(_0x440b64[_0x3d140d(0x1e9)]=!0x1),this[_0x3d140d(0x250)]['send'](_0x3dadbd||_0x32d6c0,_0x440b64,_0x281ac2);}[_0x40a911(0x228)](){const _0x1651f6=_0x40a911;if(this['readyState']!==_0x29d9c3['CLOSED']){if(this['readyState']===_0x29d9c3[_0x1651f6(0x1c2)]){_0x21b385(this,this[_0x1651f6(0x182)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}this[_0x1651f6(0x17b)]&&(this['_readyState']=_0x29d9c3[_0x1651f6(0x1fb)],this[_0x1651f6(0x17b)]['destroy']());}}}Object[_0x40a911(0x1c9)](_0x29d9c3,_0x40a911(0x1c2),{'enumerable':!0x0,'value':_0x438324[_0x40a911(0x149)](_0x40a911(0x1c2))}),Object[_0x40a911(0x1c9)](_0x29d9c3[_0x40a911(0x1ce)],_0x40a911(0x1c2),{'enumerable':!0x0,'value':_0x438324[_0x40a911(0x149)](_0x40a911(0x1c2))}),Object['defineProperty'](_0x29d9c3,_0x40a911(0x245),{'enumerable':!0x0,'value':_0x438324[_0x40a911(0x149)](_0x40a911(0x245))}),Object[_0x40a911(0x1c9)](_0x29d9c3['prototype'],_0x40a911(0x245),{'enumerable':!0x0,'value':_0x438324[_0x40a911(0x149)](_0x40a911(0x245))}),Object[_0x40a911(0x1c9)](_0x29d9c3,_0x40a911(0x1fb),{'enumerable':!0x0,'value':_0x438324[_0x40a911(0x149)](_0x40a911(0x1fb))}),Object[_0x40a911(0x1c9)](_0x29d9c3[_0x40a911(0x1ce)],_0x40a911(0x1fb),{'enumerable':!0x0,'value':_0x438324[_0x40a911(0x149)](_0x40a911(0x1fb))}),Object['defineProperty'](_0x29d9c3,'CLOSED',{'enumerable':!0x0,'value':_0x438324[_0x40a911(0x149)]('CLOSED')}),Object[_0x40a911(0x1c9)](_0x29d9c3[_0x40a911(0x1ce)],_0x40a911(0x2a7),{'enumerable':!0x0,'value':_0x438324['indexOf'](_0x40a911(0x2a7))}),['binaryType',_0x40a911(0x21e),_0x40a911(0x1cf),_0x40a911(0x2a2),'protocol','readyState','url'][_0x40a911(0x165)](_0x2e2906=>{const _0x361c33=_0x40a911;Object[_0x361c33(0x1c9)](_0x29d9c3[_0x361c33(0x1ce)],_0x2e2906,{'enumerable':!0x0});}),[_0x40a911(0x27d),_0x40a911(0x129),_0x40a911(0x24e),'message'][_0x40a911(0x165)](_0x1e8800=>{const _0xc90188=_0x40a911;Object[_0xc90188(0x1c9)](_0x29d9c3[_0xc90188(0x1ce)],'on'+_0x1e8800,{'enumerable':!0x0,'get'(){const _0x445418=_0xc90188;for(const _0x4084db of this[_0x445418(0x226)](_0x1e8800))if(_0x4084db[_0x4915c6])return _0x4084db[_0x1c0e05];return null;},'set'(_0x2af3f6){const _0x5f4d82=_0xc90188;for(const _0x4639e9 of this[_0x5f4d82(0x226)](_0x1e8800))if(_0x4639e9[_0x4915c6]){this[_0x5f4d82(0x286)](_0x1e8800,_0x4639e9);break;}typeof _0x2af3f6=='function'&&this[_0x5f4d82(0x2a5)](_0x1e8800,_0x2af3f6,{[_0x4915c6]:!0x0});}});}),_0x29d9c3['prototype']['addEventListener']=_0x2883be,_0x29d9c3[_0x40a911(0x1ce)][_0x40a911(0x13f)]=_0x316dfb,we=_0x29d9c3;function _0x25f363(_0x221ff7,_0x1a7537,_0xa8e625,_0x512638){const _0x11b47b=_0x40a911,_0x2d7363={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x1e0961[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x512638,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x11b47b(0x28a),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x221ff7[_0x11b47b(0x27a)]=_0x2d7363[_0x11b47b(0x27f)],!_0x1e0961[_0x11b47b(0x181)](_0x2d7363[_0x11b47b(0x17d)]))throw new RangeError(_0x11b47b(0x265)+_0x2d7363[_0x11b47b(0x17d)]+_0x11b47b(0x1af)+_0x1e0961[_0x11b47b(0x1dd)](',\x20')+')');let _0x457273;if(_0x1a7537 instanceof _0x3425b3)_0x457273=_0x1a7537;else try{_0x457273=new _0x3425b3(_0x1a7537);}catch{throw new SyntaxError(_0x11b47b(0x2b7)+_0x1a7537);}_0x457273[_0x11b47b(0x151)]===_0x11b47b(0x1c8)?_0x457273['protocol']=_0x11b47b(0x208):_0x457273['protocol']===_0x11b47b(0x27c)&&(_0x457273[_0x11b47b(0x151)]=_0x11b47b(0x1bb)),_0x221ff7['_url']=_0x457273[_0x11b47b(0x19e)];const _0xb3228c=_0x457273[_0x11b47b(0x151)]===_0x11b47b(0x1bb),_0x3f4000=_0x457273[_0x11b47b(0x151)]==='ws+unix:';let _0xb3b9;if(_0x457273['protocol']!==_0x11b47b(0x208)&&!_0xb3228c&&!_0x3f4000?_0xb3b9=_0x11b47b(0x1bd):_0x3f4000&&!_0x457273[_0x11b47b(0x1cd)]?_0xb3b9='The\x20URL\x27s\x20pathname\x20is\x20empty':_0x457273['hash']&&(_0xb3b9=_0x11b47b(0x180)),_0xb3b9){const _0x545a6f=new SyntaxError(_0xb3b9);if(_0x221ff7[_0x11b47b(0x2d3)]===0x0)throw _0x545a6f;_0x461afc(_0x221ff7,_0x545a6f);return;}const _0x1f07f9=_0xb3228c?0x1bb:0x50,_0x55b4c4=_0x178ae7(0x10)[_0x11b47b(0x1e0)](_0x11b47b(0x21f)),_0x17b033=_0xb3228c?_0x13e78f[_0x11b47b(0x138)]:_0x4f7c25[_0x11b47b(0x138)],_0x29336e=new Set();let _0x18b66a;if(_0x2d7363[_0x11b47b(0x1d9)]=_0x2d7363[_0x11b47b(0x1d9)]||(_0xb3228c?_0x1ebaa3:_0xa0c3e7),_0x2d7363[_0x11b47b(0x219)]=_0x2d7363['defaultPort']||_0x1f07f9,_0x2d7363[_0x11b47b(0x1a9)]=_0x457273[_0x11b47b(0x1a9)]||_0x1f07f9,_0x2d7363['host']=_0x457273[_0x11b47b(0x1fe)]['startsWith']('[')?_0x457273[_0x11b47b(0x1fe)][_0x11b47b(0x29c)](0x1,-0x1):_0x457273['hostname'],_0x2d7363[_0x11b47b(0x1bc)]={..._0x2d7363[_0x11b47b(0x1bc)],'Sec-WebSocket-Version':_0x2d7363[_0x11b47b(0x17d)],'Sec-WebSocket-Key':_0x55b4c4,'Connection':_0x11b47b(0x25a),'Upgrade':'websocket'},_0x2d7363[_0x11b47b(0x175)]=_0x457273[_0x11b47b(0x1cd)]+_0x457273[_0x11b47b(0x213)],_0x2d7363['timeout']=_0x2d7363[_0x11b47b(0x1ed)],_0x2d7363['perMessageDeflate']&&(_0x18b66a=new _0x6ceaa8(_0x2d7363[_0x11b47b(0x293)]!==!0x0?_0x2d7363[_0x11b47b(0x293)]:{},!0x1,_0x2d7363[_0x11b47b(0x237)]),_0x2d7363[_0x11b47b(0x1bc)]['Sec-WebSocket-Extensions']=_0x59566c({[_0x6ceaa8[_0x11b47b(0x216)]]:_0x18b66a[_0x11b47b(0x244)]()})),_0xa8e625[_0x11b47b(0x16f)]){for(const _0x1b51df of _0xa8e625){if(typeof _0x1b51df!=_0x11b47b(0x2d2)||!_0x3cb68a[_0x11b47b(0x1e5)](_0x1b51df)||_0x29336e['has'](_0x1b51df))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x29336e[_0x11b47b(0x236)](_0x1b51df);}_0x2d7363[_0x11b47b(0x1bc)]['Sec-WebSocket-Protocol']=_0xa8e625[_0x11b47b(0x1dd)](',');}if(_0x2d7363[_0x11b47b(0x2dc)]&&(_0x2d7363['protocolVersion']<0xd?_0x2d7363[_0x11b47b(0x1bc)][_0x11b47b(0x12b)]=_0x2d7363[_0x11b47b(0x2dc)]:_0x2d7363[_0x11b47b(0x1bc)]['Origin']=_0x2d7363[_0x11b47b(0x2dc)]),(_0x457273[_0x11b47b(0x1c1)]||_0x457273['password'])&&(_0x2d7363['auth']=_0x457273[_0x11b47b(0x1c1)]+':'+_0x457273[_0x11b47b(0x203)]),_0x3f4000){const _0x31946a=_0x2d7363['path'][_0x11b47b(0x1cc)](':');_0x2d7363[_0x11b47b(0x142)]=_0x31946a[0x0],_0x2d7363[_0x11b47b(0x175)]=_0x31946a[0x1];}let _0x1c2721;if(_0x2d7363[_0x11b47b(0x202)]){if(_0x221ff7[_0x11b47b(0x2d3)]===0x0){_0x221ff7[_0x11b47b(0x1b6)]=_0x3f4000,_0x221ff7['_originalSecure']=_0xb3228c,_0x221ff7['_originalHostOrSocketPath']=_0x3f4000?_0x2d7363[_0x11b47b(0x142)]:_0x457273[_0x11b47b(0x1b3)];const _0x31bcc8=_0x512638&&_0x512638[_0x11b47b(0x1bc)];if(_0x512638={..._0x512638,'headers':{}},_0x31bcc8){for(const [_0x68a2e5,_0x3b8ee3]of Object[_0x11b47b(0x144)](_0x31bcc8))_0x512638[_0x11b47b(0x1bc)][_0x68a2e5['toLowerCase']()]=_0x3b8ee3;}}else{if(_0x221ff7[_0x11b47b(0x22d)](_0x11b47b(0x1d1))===0x0){const _0x3734c6=_0x3f4000?_0x221ff7['_originalIpc']?_0x2d7363[_0x11b47b(0x142)]===_0x221ff7[_0x11b47b(0x292)]:!0x1:_0x221ff7[_0x11b47b(0x1b6)]?!0x1:_0x457273[_0x11b47b(0x1b3)]===_0x221ff7[_0x11b47b(0x292)];(!_0x3734c6||_0x221ff7[_0x11b47b(0x23c)]&&!_0xb3228c)&&(delete _0x2d7363[_0x11b47b(0x1bc)]['authorization'],delete _0x2d7363[_0x11b47b(0x1bc)][_0x11b47b(0x1cb)],_0x3734c6||delete _0x2d7363[_0x11b47b(0x1bc)][_0x11b47b(0x1b3)],_0x2d7363[_0x11b47b(0x21b)]=void 0x0);}}_0x2d7363[_0x11b47b(0x21b)]&&!_0x512638[_0x11b47b(0x1bc)][_0x11b47b(0x25d)]&&(_0x512638['headers'][_0x11b47b(0x25d)]=_0x11b47b(0x27b)+Buffer[_0x11b47b(0x26e)](_0x2d7363[_0x11b47b(0x21b)])[_0x11b47b(0x1e0)](_0x11b47b(0x21f))),_0x1c2721=_0x221ff7[_0x11b47b(0x182)]=_0x17b033(_0x2d7363),_0x221ff7['_redirects']&&_0x221ff7[_0x11b47b(0x15e)]('redirect',_0x221ff7[_0x11b47b(0x184)],_0x1c2721);}else _0x1c2721=_0x221ff7[_0x11b47b(0x182)]=_0x17b033(_0x2d7363);_0x2d7363[_0x11b47b(0x2d8)]&&_0x1c2721['on']('timeout',()=>{_0x21b385(_0x221ff7,_0x1c2721,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x1c2721['on'](_0x11b47b(0x129),_0xadd75e=>{_0x1c2721===null||_0x1c2721[_0x1c2061]||(_0x1c2721=_0x221ff7['_req']=null,_0x461afc(_0x221ff7,_0xadd75e));}),_0x1c2721['on'](_0x11b47b(0x19d),_0x25e0ea=>{const _0x2368fc=_0x11b47b,_0xd55729=_0x25e0ea[_0x2368fc(0x1bc)][_0x2368fc(0x29d)],_0x12f38f=_0x25e0ea['statusCode'];if(_0xd55729&&_0x2d7363[_0x2368fc(0x202)]&&_0x12f38f>=0x12c&&_0x12f38f<0x190){if(++_0x221ff7[_0x2368fc(0x2d3)]>_0x2d7363['maxRedirects']){_0x21b385(_0x221ff7,_0x1c2721,_0x2368fc(0x1f8));return;}_0x1c2721['abort']();let _0x5975fe;try{_0x5975fe=new _0x3425b3(_0xd55729,_0x1a7537);}catch{const _0x1f6866=new SyntaxError(_0x2368fc(0x2b7)+_0xd55729);_0x461afc(_0x221ff7,_0x1f6866);return;}_0x25f363(_0x221ff7,_0x5975fe,_0xa8e625,_0x512638);}else _0x221ff7[_0x2368fc(0x15e)](_0x2368fc(0x20c),_0x1c2721,_0x25e0ea)||_0x21b385(_0x221ff7,_0x1c2721,_0x2368fc(0x19f)+_0x25e0ea[_0x2368fc(0x29a)]);}),_0x1c2721['on']('upgrade',(_0x4aaa28,_0x554422,_0x33ae32)=>{const _0x266c95=_0x11b47b;if(_0x221ff7[_0x266c95(0x15e)](_0x266c95(0x1a5),_0x4aaa28),_0x221ff7['readyState']!==_0x29d9c3[_0x266c95(0x1c2)])return;_0x1c2721=_0x221ff7['_req']=null;const _0x1caeb6=_0x4aaa28['headers'][_0x266c95(0x1a5)];if(_0x1caeb6===void 0x0||_0x1caeb6[_0x266c95(0x246)]()!==_0x266c95(0x2b8)){_0x21b385(_0x221ff7,_0x554422,_0x266c95(0x1e2));return;}const _0x14e2fb=_0x4a72fc(_0x266c95(0x26c))[_0x266c95(0x2dd)](_0x55b4c4+_0x51b948)['digest']('base64');if(_0x4aaa28[_0x266c95(0x1bc)][_0x266c95(0x1de)]!==_0x14e2fb){_0x21b385(_0x221ff7,_0x554422,_0x266c95(0x188));return;}const _0x348a11=_0x4aaa28[_0x266c95(0x1bc)][_0x266c95(0x1f0)];let _0x25f385;if(_0x348a11!==void 0x0?_0x29336e[_0x266c95(0x187)]?_0x29336e[_0x266c95(0x193)](_0x348a11)||(_0x25f385=_0x266c95(0x294)):_0x25f385='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0x29336e[_0x266c95(0x187)]&&(_0x25f385='Server\x20sent\x20no\x20subprotocol'),_0x25f385){_0x21b385(_0x221ff7,_0x554422,_0x25f385);return;}_0x348a11&&(_0x221ff7[_0x266c95(0x1fc)]=_0x348a11);const _0x41db9d=_0x4aaa28[_0x266c95(0x1bc)]['sec-websocket-extensions'];if(_0x41db9d!==void 0x0){if(!_0x18b66a){_0x21b385(_0x221ff7,_0x554422,_0x266c95(0x1c6));return;}let _0xcf5235;try{_0xcf5235=_0x4ee8bd(_0x41db9d);}catch{_0x21b385(_0x221ff7,_0x554422,_0x266c95(0x1f6));return;}const _0x141dce=Object[_0x266c95(0x21c)](_0xcf5235);if(_0x141dce[_0x266c95(0x16f)]!==0x1||_0x141dce[0x0]!==_0x6ceaa8['extensionName']){_0x21b385(_0x221ff7,_0x554422,_0x266c95(0x1b8));return;}try{_0x18b66a[_0x266c95(0x214)](_0xcf5235[_0x6ceaa8['extensionName']]);}catch{_0x21b385(_0x221ff7,_0x554422,_0x266c95(0x1f6));return;}_0x221ff7[_0x266c95(0x2ad)][_0x6ceaa8[_0x266c95(0x216)]]=_0x18b66a;}_0x221ff7[_0x266c95(0x1ba)](_0x554422,_0x33ae32,{'allowSynchronousEvents':_0x2d7363['allowSynchronousEvents'],'generateMask':_0x2d7363[_0x266c95(0x155)],'maxPayload':_0x2d7363['maxPayload'],'skipUTF8Validation':_0x2d7363[_0x266c95(0x240)]});}),_0x2d7363['finishRequest']?_0x2d7363['finishRequest'](_0x1c2721,_0x221ff7):_0x1c2721['end']();}function _0x461afc(_0xe46dd9,_0x46c836){const _0x4bb7e6=_0x40a911;_0xe46dd9[_0x4bb7e6(0x1d4)]=_0x29d9c3['CLOSING'],_0xe46dd9[_0x4bb7e6(0x274)]=!0x0,_0xe46dd9[_0x4bb7e6(0x15e)]('error',_0x46c836),_0xe46dd9[_0x4bb7e6(0x176)]();}function _0xa0c3e7(_0x4d50f4){const _0x22460e=_0x40a911;return _0x4d50f4[_0x22460e(0x175)]=_0x4d50f4[_0x22460e(0x142)],_0x2fcb07[_0x22460e(0x230)](_0x4d50f4);}function _0x1ebaa3(_0x485696){const _0x45644a=_0x40a911;return _0x485696[_0x45644a(0x175)]=void 0x0,!_0x485696[_0x45644a(0x248)]&&_0x485696[_0x45644a(0x248)]!==''&&(_0x485696['servername']=_0x2fcb07[_0x45644a(0x2b6)](_0x485696[_0x45644a(0x1b3)])?'':_0x485696[_0x45644a(0x1b3)]),_0x8c0f62[_0x45644a(0x230)](_0x485696);}function _0x21b385(_0x34def4,_0x117c5b,_0x489efe){const _0x3f5b88=_0x40a911;_0x34def4['_readyState']=_0x29d9c3[_0x3f5b88(0x1fb)];const _0x185251=new Error(_0x489efe);Error['captureStackTrace'](_0x185251,_0x21b385),_0x117c5b[_0x3f5b88(0x285)]?(_0x117c5b[_0x1c2061]=!0x0,_0x117c5b[_0x3f5b88(0x280)](),_0x117c5b[_0x3f5b88(0x1ec)]&&!_0x117c5b[_0x3f5b88(0x1ec)][_0x3f5b88(0x1f9)]&&_0x117c5b['socket'][_0x3f5b88(0x12e)](),process['nextTick'](_0x461afc,_0x34def4,_0x185251)):(_0x117c5b[_0x3f5b88(0x12e)](_0x185251),_0x117c5b[_0x3f5b88(0x2ab)]('error',_0x34def4[_0x3f5b88(0x15e)][_0x3f5b88(0x156)](_0x34def4,_0x3f5b88(0x129))),_0x117c5b[_0x3f5b88(0x2ab)](_0x3f5b88(0x24e),_0x34def4[_0x3f5b88(0x176)]['bind'](_0x34def4)));}function _0x411c82(_0x4ba344,_0x47045b,_0x5d6a5b){const _0x5c4993=_0x40a911;if(_0x47045b){const _0x3ce163=_0x386808(_0x47045b)?_0x47045b[_0x5c4993(0x187)]:_0x5e1ec0(_0x47045b)[_0x5c4993(0x16f)];_0x4ba344[_0x5c4993(0x17b)]?_0x4ba344['_sender'][_0x5c4993(0x15b)]+=_0x3ce163:_0x4ba344['_bufferedAmount']+=_0x3ce163;}if(_0x5d6a5b){const _0x3ba5b5=new Error(_0x5c4993(0x288)+_0x4ba344['readyState']+'\x20('+_0x438324[_0x4ba344[_0x5c4993(0x25c)]]+')');process[_0x5c4993(0x283)](_0x5d6a5b,_0x3ba5b5);}}function _0xa4f612(_0x5641f0,_0x17066e){const _0x50a9e0=_0x40a911,_0x2a437f=this[_0x487317];_0x2a437f[_0x50a9e0(0x163)]=!0x0,_0x2a437f[_0x50a9e0(0x20f)]=_0x17066e,_0x2a437f['_closeCode']=_0x5641f0,_0x2a437f[_0x50a9e0(0x17b)][_0x487317]!==void 0x0&&(_0x2a437f[_0x50a9e0(0x17b)]['removeListener'](_0x50a9e0(0x19b),_0xe670c4),process[_0x50a9e0(0x283)](_0x14147f,_0x2a437f[_0x50a9e0(0x17b)]),_0x5641f0===0x3ed?_0x2a437f['close']():_0x2a437f['close'](_0x5641f0,_0x17066e));}function _0x5f0880(){const _0x520c52=_0x40a911,_0x24cb55=this[_0x487317];_0x24cb55['isPaused']||_0x24cb55[_0x520c52(0x17b)]['resume']();}function _0x5d693e(_0xbfceb1){const _0xa20ece=_0x40a911,_0xed80e9=this[_0x487317];_0xed80e9[_0xa20ece(0x17b)][_0x487317]!==void 0x0&&(_0xed80e9['_socket'][_0xa20ece(0x286)]('data',_0xe670c4),process[_0xa20ece(0x283)](_0x14147f,_0xed80e9[_0xa20ece(0x17b)]),_0xed80e9[_0xa20ece(0x24e)](_0xbfceb1[_0x32c375])),_0xed80e9[_0xa20ece(0x274)]||(_0xed80e9[_0xa20ece(0x274)]=!0x0,_0xed80e9[_0xa20ece(0x15e)](_0xa20ece(0x129),_0xbfceb1));}function _0x4bf400(){const _0x20aa0a=_0x40a911;this[_0x487317][_0x20aa0a(0x176)]();}function _0x4599eb(_0x4fd9fc,_0x2166bd){const _0x891b07=_0x40a911;this[_0x487317]['emit'](_0x891b07(0x24c),_0x4fd9fc,_0x2166bd);}function _0x22ba1b(_0x4f831b){const _0x11071f=_0x40a911,_0x568646=this[_0x487317];_0x568646[_0x11071f(0x27a)]&&_0x568646[_0x11071f(0x264)](_0x4f831b,!this[_0x11071f(0x2e1)],_0x3e027a),_0x568646[_0x11071f(0x15e)](_0x11071f(0x23b),_0x4f831b);}function _0x34bf98(_0x121e67){const _0xb8a884=_0x40a911;this[_0x487317][_0xb8a884(0x15e)](_0xb8a884(0x264),_0x121e67);}function _0x14147f(_0x18a44b){const _0x4a0ad7=_0x40a911;_0x18a44b[_0x4a0ad7(0x260)]();}function _0x4bcc71(_0x382730){const _0x3d5bd5=_0x40a911,_0x2ac297=this[_0x487317];_0x2ac297[_0x3d5bd5(0x25c)]!==_0x29d9c3[_0x3d5bd5(0x2a7)]&&(_0x2ac297[_0x3d5bd5(0x25c)]===_0x29d9c3[_0x3d5bd5(0x245)]&&(_0x2ac297[_0x3d5bd5(0x1d4)]=_0x29d9c3[_0x3d5bd5(0x1fb)],_0x31222d(_0x2ac297)),this[_0x3d5bd5(0x17b)][_0x3d5bd5(0x2de)](),_0x2ac297[_0x3d5bd5(0x274)]||(_0x2ac297[_0x3d5bd5(0x274)]=!0x0,_0x2ac297['emit'](_0x3d5bd5(0x129),_0x382730)));}function _0x31222d(_0x475b54){const _0x1d82d3=_0x40a911;_0x475b54[_0x1d82d3(0x18e)]=setTimeout(_0x475b54[_0x1d82d3(0x17b)][_0x1d82d3(0x12e)]['bind'](_0x475b54[_0x1d82d3(0x17b)]),_0x42e32d);}function _0x4969f9(){const _0x1ee9fc=_0x40a911,_0x4ce1c3=this[_0x487317];this[_0x1ee9fc(0x286)]('close',_0x4969f9),this[_0x1ee9fc(0x286)]('data',_0xe670c4),this[_0x1ee9fc(0x286)]('end',_0x2fc0a2),_0x4ce1c3[_0x1ee9fc(0x1d4)]=_0x29d9c3['CLOSING'];let _0x310182;!this[_0x1ee9fc(0x2d1)][_0x1ee9fc(0x13a)]&&!_0x4ce1c3[_0x1ee9fc(0x163)]&&!_0x4ce1c3['_receiver']['_writableState']['errorEmitted']&&(_0x310182=_0x4ce1c3[_0x1ee9fc(0x17b)][_0x1ee9fc(0x2e0)]())!==null&&_0x4ce1c3['_receiver'][_0x1ee9fc(0x290)](_0x310182),_0x4ce1c3[_0x1ee9fc(0x16e)][_0x1ee9fc(0x2de)](),this[_0x487317]=void 0x0,clearTimeout(_0x4ce1c3[_0x1ee9fc(0x18e)]),_0x4ce1c3[_0x1ee9fc(0x16e)][_0x1ee9fc(0x2c3)][_0x1ee9fc(0x257)]||_0x4ce1c3[_0x1ee9fc(0x16e)]['_writableState']['errorEmitted']?_0x4ce1c3[_0x1ee9fc(0x176)]():(_0x4ce1c3['_receiver']['on'](_0x1ee9fc(0x129),_0x4bf400),_0x4ce1c3[_0x1ee9fc(0x16e)]['on'](_0x1ee9fc(0x189),_0x4bf400));}function _0xe670c4(_0x5447a0){const _0x176b6f=_0x40a911;this[_0x487317][_0x176b6f(0x16e)]['write'](_0x5447a0)||this['pause']();}function _0x2fc0a2(){const _0xb68013=_0x40a911,_0x4a8189=this[_0x487317];_0x4a8189[_0xb68013(0x1d4)]=_0x29d9c3[_0xb68013(0x1fb)],_0x4a8189[_0xb68013(0x16e)][_0xb68013(0x2de)](),this[_0xb68013(0x2de)]();}function _0x3c3f2a(){const _0x57f365=_0x40a911,_0x29e542=this[_0x487317];this['removeListener'](_0x57f365(0x129),_0x3c3f2a),this['on'](_0x57f365(0x129),_0x3e027a),_0x29e542&&(_0x29e542['_readyState']=_0x29d9c3[_0x57f365(0x1fb)],this[_0x57f365(0x12e)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x56db20}=oe;function _0x152923(_0x558347){const _0x39115a=_0xd565;_0x558347[_0x39115a(0x15e)]('close');}function _0x530827(){const _0x46ac2f=_0xd565;!this[_0x46ac2f(0x1f9)]&&this[_0x46ac2f(0x2c3)][_0x46ac2f(0x257)]&&this[_0x46ac2f(0x12e)]();}function _0x4fca1c(_0xf9694){const _0x2f9b67=_0xd565;this[_0x2f9b67(0x286)](_0x2f9b67(0x129),_0x4fca1c),this[_0x2f9b67(0x12e)](),this['listenerCount'](_0x2f9b67(0x129))===0x0&&this['emit'](_0x2f9b67(0x129),_0xf9694);}function _0xef44fd(_0x514834,_0x2b68d0){const _0x6be5ab=_0xd565;let _0x39bfda=!0x0;const _0x4f310d=new _0x56db20({..._0x2b68d0,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x514834['on'](_0x6be5ab(0x24c),function(_0x3ddc77,_0x34a36a){const _0x9aa872=_0x6be5ab,_0x2a5435=!_0x34a36a&&_0x4f310d['_readableState'][_0x9aa872(0x2b2)]?_0x3ddc77[_0x9aa872(0x1e0)]():_0x3ddc77;_0x4f310d[_0x9aa872(0x1a2)](_0x2a5435)||_0x514834[_0x9aa872(0x2bd)]();}),_0x514834['once'](_0x6be5ab(0x129),function(_0x377a3f){const _0x6c5a79=_0x6be5ab;_0x4f310d[_0x6c5a79(0x1f9)]||(_0x39bfda=!0x1,_0x4f310d[_0x6c5a79(0x12e)](_0x377a3f));}),_0x514834[_0x6be5ab(0x2ab)]('close',function(){const _0x59d5ad=_0x6be5ab;_0x4f310d[_0x59d5ad(0x1f9)]||_0x4f310d[_0x59d5ad(0x1a2)](null);}),_0x4f310d[_0x6be5ab(0x2a6)]=function(_0x5d3e0a,_0x318229){const _0x51f396=_0x6be5ab;if(_0x514834['readyState']===_0x514834[_0x51f396(0x2a7)]){_0x318229(_0x5d3e0a),process['nextTick'](_0x152923,_0x4f310d);return;}let _0x5cabfa=!0x1;_0x514834[_0x51f396(0x2ab)](_0x51f396(0x129),function(_0x3e42e9){_0x5cabfa=!0x0,_0x318229(_0x3e42e9);}),_0x514834[_0x51f396(0x2ab)](_0x51f396(0x24e),function(){_0x5cabfa||_0x318229(_0x5d3e0a),process['nextTick'](_0x152923,_0x4f310d);}),_0x39bfda&&_0x514834[_0x51f396(0x228)]();},_0x4f310d[_0x6be5ab(0x1f7)]=function(_0x455961){const _0x44651b=_0x6be5ab;if(_0x514834['readyState']===_0x514834[_0x44651b(0x1c2)]){_0x514834[_0x44651b(0x2ab)](_0x44651b(0x27d),function(){const _0x351a56=_0x44651b;_0x4f310d[_0x351a56(0x1f7)](_0x455961);});return;}_0x514834[_0x44651b(0x17b)]!==null&&(_0x514834[_0x44651b(0x17b)][_0x44651b(0x2c3)][_0x44651b(0x257)]?(_0x455961(),_0x4f310d[_0x44651b(0x2d1)][_0x44651b(0x13a)]&&_0x4f310d[_0x44651b(0x12e)]()):(_0x514834['_socket']['once'](_0x44651b(0x189),function(){_0x455961();}),_0x514834['close']()));},_0x4f310d['_read']=function(){const _0x47ea0f=_0x6be5ab;_0x514834[_0x47ea0f(0x2a2)]&&_0x514834[_0x47ea0f(0x260)]();},_0x4f310d['_write']=function(_0x55ca81,_0xa5c637,_0x37eb18){const _0x2b2d95=_0x6be5ab;if(_0x514834[_0x2b2d95(0x25c)]===_0x514834[_0x2b2d95(0x1c2)]){_0x514834[_0x2b2d95(0x2ab)](_0x2b2d95(0x27d),function(){const _0x1732d1=_0x2b2d95;_0x4f310d[_0x1732d1(0x19a)](_0x55ca81,_0xa5c637,_0x37eb18);});return;}_0x514834[_0x2b2d95(0x143)](_0x55ca81,_0x37eb18);},_0x4f310d['on']('end',_0x530827),_0x4f310d['on'](_0x6be5ab(0x129),_0x4fca1c),_0x4f310d;}return Oe=_0xef44fd,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);function _0xd565(_0x40da49,_0x5add09){const _0x589a0e=_0x589a();return _0xd565=function(_0xd5658d,_0xfb941f){_0xd5658d=_0xd5658d-0x124;let _0x312d0a=_0x589a0e[_0xd5658d];return _0x312d0a;},_0xd565(_0x40da49,_0x5add09);}var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x5e3780}=ae();function _0x483bc1(_0x423e5d){const _0x18e623=_0xd565,_0x1d4989=new Set();let _0x3ac9af=-0x1,_0x2fe6e1=-0x1,_0x1fbea4=0x0;for(_0x1fbea4;_0x1fbea4<_0x423e5d[_0x18e623(0x16f)];_0x1fbea4++){const _0x87ff90=_0x423e5d[_0x18e623(0x20d)](_0x1fbea4);if(_0x2fe6e1===-0x1&&_0x5e3780[_0x87ff90]===0x1)_0x3ac9af===-0x1&&(_0x3ac9af=_0x1fbea4);else{if(_0x1fbea4!==0x0&&(_0x87ff90===0x20||_0x87ff90===0x9))_0x2fe6e1===-0x1&&_0x3ac9af!==-0x1&&(_0x2fe6e1=_0x1fbea4);else{if(_0x87ff90===0x2c){if(_0x3ac9af===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x1fbea4);_0x2fe6e1===-0x1&&(_0x2fe6e1=_0x1fbea4);const _0x541ba1=_0x423e5d[_0x18e623(0x29c)](_0x3ac9af,_0x2fe6e1);if(_0x1d4989[_0x18e623(0x193)](_0x541ba1))throw new SyntaxError(_0x18e623(0x173)+_0x541ba1+'\x22\x20subprotocol\x20is\x20duplicated');_0x1d4989[_0x18e623(0x236)](_0x541ba1),_0x3ac9af=_0x2fe6e1=-0x1;}else throw new SyntaxError(_0x18e623(0x19c)+_0x1fbea4);}}}if(_0x3ac9af===-0x1||_0x2fe6e1!==-0x1)throw new SyntaxError('Unexpected\x20end\x20of\x20input');const _0x330b28=_0x423e5d[_0x18e623(0x29c)](_0x3ac9af,_0x1fbea4);if(_0x1d4989['has'](_0x330b28))throw new SyntaxError('The\x20\x22'+_0x330b28+'\x22\x20subprotocol\x20is\x20duplicated');return _0x1d4989[_0x18e623(0x236)](_0x330b28),_0x1d4989;}return Ce={'parse':_0x483bc1},Ce;}var Te,rt;function Ft(){const _0x33c83=_0x14ca12;if(rt)return Te;rt=0x1;const _0x3d4b8c=nt,_0x2fb3b1=ot,{Duplex:_0x389af9}=oe,{createHash:_0xa0995c}=Le,_0x57d3a7=ct(),_0x3fe959=he(),_0x17d96e=At(),_0x196acd=Pe(),{GUID:_0x4b0cce,kWebSocket:_0x2779b0}=H(),_0x5ec73a=/^[+/0-9A-Za-z]{22}==$/,_0x8c152=0x0,_0x33f332=0x1,_0x43b401=0x2;class _0x6b6630 extends _0x3d4b8c{constructor(_0x3cae1e,_0x3ddb4f){const _0xbae63f=_0xd565;if(super(),_0x3cae1e={'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':_0x196acd,..._0x3cae1e},_0x3cae1e[_0xbae63f(0x1a9)]==null&&!_0x3cae1e[_0xbae63f(0x136)]&&!_0x3cae1e[_0xbae63f(0x1bf)]||_0x3cae1e[_0xbae63f(0x1a9)]!=null&&(_0x3cae1e[_0xbae63f(0x136)]||_0x3cae1e[_0xbae63f(0x1bf)])||_0x3cae1e[_0xbae63f(0x136)]&&_0x3cae1e[_0xbae63f(0x1bf)])throw new TypeError('One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified');if(_0x3cae1e[_0xbae63f(0x1a9)]!=null?(this[_0xbae63f(0x16a)]=_0x2fb3b1['createServer']((_0x167f54,_0x468e72)=>{const _0x26b9df=_0xbae63f,_0x486e7f=_0x2fb3b1[_0x26b9df(0x1b4)][0x1aa];_0x468e72[_0x26b9df(0x256)](0x1aa,{'Content-Length':_0x486e7f[_0x26b9df(0x16f)],'Content-Type':_0x26b9df(0x158)}),_0x468e72['end'](_0x486e7f);}),this['_server'][_0xbae63f(0x212)](_0x3cae1e[_0xbae63f(0x1a9)],_0x3cae1e[_0xbae63f(0x1b3)],_0x3cae1e[_0xbae63f(0x2ba)],_0x3ddb4f)):_0x3cae1e[_0xbae63f(0x136)]&&(this[_0xbae63f(0x16a)]=_0x3cae1e[_0xbae63f(0x136)]),this['_server']){const _0x4bb466=this[_0xbae63f(0x15e)][_0xbae63f(0x156)](this,'connection');this[_0xbae63f(0x154)]=_0x322c97(this['_server'],{'listening':this[_0xbae63f(0x15e)][_0xbae63f(0x156)](this,'listening'),'error':this[_0xbae63f(0x15e)][_0xbae63f(0x156)](this,_0xbae63f(0x129)),'upgrade':(_0x1910a2,_0xf49026,_0xd7912a)=>{const _0x59f8c6=_0xbae63f;this[_0x59f8c6(0x192)](_0x1910a2,_0xf49026,_0xd7912a,_0x4bb466);}});}_0x3cae1e['perMessageDeflate']===!0x0&&(_0x3cae1e[_0xbae63f(0x293)]={}),_0x3cae1e[_0xbae63f(0x289)]&&(this[_0xbae63f(0x185)]=new Set(),this[_0xbae63f(0x23a)]=!0x1),this[_0xbae63f(0x124)]=_0x3cae1e,this[_0xbae63f(0x167)]=_0x8c152;}[_0x33c83(0x14c)](){const _0x4bae8e=_0x33c83;if(this[_0x4bae8e(0x124)]['noServer'])throw new Error(_0x4bae8e(0x239));return this[_0x4bae8e(0x16a)]?this['_server']['address']():null;}[_0x33c83(0x24e)](_0xdb733c){const _0x3ae48b=_0x33c83;if(this['_state']===_0x43b401){_0xdb733c&&this[_0x3ae48b(0x2ab)](_0x3ae48b(0x24e),()=>{const _0x255d9c=_0x3ae48b;_0xdb733c(new Error(_0x255d9c(0x15d)));}),process[_0x3ae48b(0x283)](_0x4767b0,this);return;}if(_0xdb733c&&this[_0x3ae48b(0x2ab)](_0x3ae48b(0x24e),_0xdb733c),this['_state']!==_0x33f332){if(this['_state']=_0x33f332,this[_0x3ae48b(0x124)]['noServer']||this[_0x3ae48b(0x124)][_0x3ae48b(0x136)])this[_0x3ae48b(0x16a)]&&(this['_removeListeners'](),this[_0x3ae48b(0x154)]=this[_0x3ae48b(0x16a)]=null),this[_0x3ae48b(0x185)]?this[_0x3ae48b(0x185)][_0x3ae48b(0x187)]?this['_shouldEmitClose']=!0x0:process[_0x3ae48b(0x283)](_0x4767b0,this):process[_0x3ae48b(0x283)](_0x4767b0,this);else{const _0x31ae94=this[_0x3ae48b(0x16a)];this[_0x3ae48b(0x154)](),this[_0x3ae48b(0x154)]=this[_0x3ae48b(0x16a)]=null,_0x31ae94[_0x3ae48b(0x24e)](()=>{_0x4767b0(this);});}}}[_0x33c83(0x1ae)](_0x47fc33){const _0x2ec7c1=_0x33c83;if(this[_0x2ec7c1(0x124)][_0x2ec7c1(0x175)]){const _0x55cd6e=_0x47fc33['url']['indexOf']('?');if((_0x55cd6e!==-0x1?_0x47fc33[_0x2ec7c1(0x184)][_0x2ec7c1(0x29c)](0x0,_0x55cd6e):_0x47fc33[_0x2ec7c1(0x184)])!==this['options'][_0x2ec7c1(0x175)])return!0x1;}return!0x0;}['handleUpgrade'](_0x175694,_0x2aa605,_0x5c1dff,_0x5fd90c){const _0x1e52c8=_0x33c83;_0x2aa605['on'](_0x1e52c8(0x129),_0x3f565d);const _0x53b98b=_0x175694['headers']['sec-websocket-key'],_0x28d9d7=_0x175694[_0x1e52c8(0x1bc)]['upgrade'],_0x1d1c1f=+_0x175694['headers']['sec-websocket-version'];if(_0x175694['method']!==_0x1e52c8(0x28a)){_0x36a9ad(this,_0x175694,_0x2aa605,0x195,_0x1e52c8(0x25b));return;}if(_0x28d9d7===void 0x0||_0x28d9d7[_0x1e52c8(0x246)]()!==_0x1e52c8(0x2b8)){_0x36a9ad(this,_0x175694,_0x2aa605,0x190,'Invalid\x20Upgrade\x20header');return;}if(_0x53b98b===void 0x0||!_0x5ec73a[_0x1e52c8(0x1e5)](_0x53b98b)){_0x36a9ad(this,_0x175694,_0x2aa605,0x190,_0x1e52c8(0x1b2));return;}if(_0x1d1c1f!==0xd&&_0x1d1c1f!==0x8){_0x36a9ad(this,_0x175694,_0x2aa605,0x190,_0x1e52c8(0x1f5),{'Sec-WebSocket-Version':'13,\x208'});return;}if(!this[_0x1e52c8(0x1ae)](_0x175694)){_0x4acb6c(_0x2aa605,0x190);return;}const _0x585c4b=_0x175694[_0x1e52c8(0x1bc)][_0x1e52c8(0x1f0)];let _0x4db5ae=new Set();if(_0x585c4b!==void 0x0)try{_0x4db5ae=_0x17d96e[_0x1e52c8(0x1b5)](_0x585c4b);}catch{_0x36a9ad(this,_0x175694,_0x2aa605,0x190,'Invalid\x20Sec-WebSocket-Protocol\x20header');return;}const _0x25d545=_0x175694[_0x1e52c8(0x1bc)][_0x1e52c8(0x164)],_0x4b64a0={};if(this[_0x1e52c8(0x124)][_0x1e52c8(0x293)]&&_0x25d545!==void 0x0){const _0x137b54=new _0x3fe959(this[_0x1e52c8(0x124)]['perMessageDeflate'],!0x0,this[_0x1e52c8(0x124)][_0x1e52c8(0x237)]);try{const _0x28e276=_0x57d3a7['parse'](_0x25d545);_0x28e276[_0x3fe959[_0x1e52c8(0x216)]]&&(_0x137b54[_0x1e52c8(0x214)](_0x28e276[_0x3fe959[_0x1e52c8(0x216)]]),_0x4b64a0[_0x3fe959['extensionName']]=_0x137b54);}catch{_0x36a9ad(this,_0x175694,_0x2aa605,0x190,_0x1e52c8(0x259));return;}}if(this[_0x1e52c8(0x124)][_0x1e52c8(0x14b)]){const _0x419cd2={'origin':_0x175694[_0x1e52c8(0x1bc)][''+(_0x1d1c1f===0x8?_0x1e52c8(0x28c):_0x1e52c8(0x2dc))],'secure':!!(_0x175694['socket'][_0x1e52c8(0x183)]||_0x175694['socket'][_0x1e52c8(0x28d)]),'req':_0x175694};if(this[_0x1e52c8(0x124)][_0x1e52c8(0x14b)][_0x1e52c8(0x16f)]===0x2){this[_0x1e52c8(0x124)][_0x1e52c8(0x14b)](_0x419cd2,(_0x587a18,_0x452c06,_0x3879ac,_0x3b286f)=>{if(!_0x587a18)return _0x4acb6c(_0x2aa605,_0x452c06||0x191,_0x3879ac,_0x3b286f);this['completeUpgrade'](_0x4b64a0,_0x53b98b,_0x4db5ae,_0x175694,_0x2aa605,_0x5c1dff,_0x5fd90c);});return;}if(!this[_0x1e52c8(0x124)][_0x1e52c8(0x14b)](_0x419cd2))return _0x4acb6c(_0x2aa605,0x191);}this['completeUpgrade'](_0x4b64a0,_0x53b98b,_0x4db5ae,_0x175694,_0x2aa605,_0x5c1dff,_0x5fd90c);}[_0x33c83(0x287)](_0x54c373,_0x15dd16,_0x184dac,_0x4fac07,_0x4cf983,_0x23c2ee,_0x1a8ef4){const _0x45513f=_0x33c83;if(!_0x4cf983[_0x45513f(0x29b)]||!_0x4cf983[_0x45513f(0x29e)])return _0x4cf983['destroy']();if(_0x4cf983[_0x2779b0])throw new Error(_0x45513f(0x2a9));if(this[_0x45513f(0x167)]>_0x8c152)return _0x4acb6c(_0x4cf983,0x1f7);const _0x923a55=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0x45513f(0x21d),_0x45513f(0x26f),_0x45513f(0x284)+_0xa0995c(_0x45513f(0x26c))['update'](_0x15dd16+_0x4b0cce)['digest']('base64')],_0x57ab2f=new this[(_0x45513f(0x124))][(_0x45513f(0x229))](null,void 0x0,this[_0x45513f(0x124)]);if(_0x184dac[_0x45513f(0x187)]){const _0x5a9f43=this[_0x45513f(0x124)]['handleProtocols']?this[_0x45513f(0x124)][_0x45513f(0x1c3)](_0x184dac,_0x4fac07):_0x184dac['values']()[_0x45513f(0x255)]()['value'];_0x5a9f43&&(_0x923a55[_0x45513f(0x1a2)]('Sec-WebSocket-Protocol:\x20'+_0x5a9f43),_0x57ab2f['_protocol']=_0x5a9f43);}if(_0x54c373[_0x3fe959[_0x45513f(0x216)]]){const _0x25040e=_0x54c373[_0x3fe959['extensionName']][_0x45513f(0x197)],_0x209d9e=_0x57d3a7[_0x45513f(0x147)]({[_0x3fe959[_0x45513f(0x216)]]:[_0x25040e]});_0x923a55['push'](_0x45513f(0x132)+_0x209d9e),_0x57ab2f['_extensions']=_0x54c373;}this[_0x45513f(0x15e)](_0x45513f(0x1bc),_0x923a55,_0x4fac07),_0x4cf983['write'](_0x923a55['concat']('\x0d\x0a')[_0x45513f(0x1dd)]('\x0d\x0a')),_0x4cf983[_0x45513f(0x286)](_0x45513f(0x129),_0x3f565d),_0x57ab2f[_0x45513f(0x1ba)](_0x4cf983,_0x23c2ee,{'allowSynchronousEvents':this[_0x45513f(0x124)]['allowSynchronousEvents'],'maxPayload':this[_0x45513f(0x124)][_0x45513f(0x237)],'skipUTF8Validation':this['options']['skipUTF8Validation']}),this['clients']&&(this[_0x45513f(0x185)][_0x45513f(0x236)](_0x57ab2f),_0x57ab2f['on'](_0x45513f(0x24e),()=>{const _0x267504=_0x45513f;this[_0x267504(0x185)]['delete'](_0x57ab2f),this[_0x267504(0x23a)]&&!this['clients']['size']&&process[_0x267504(0x283)](_0x4767b0,this);})),_0x1a8ef4(_0x57ab2f,_0x4fac07);}}Te=_0x6b6630;function _0x322c97(_0x3fedb6,_0x182773){const _0x5e7404=_0x33c83;for(const _0x5bc1bc of Object[_0x5e7404(0x21c)](_0x182773))_0x3fedb6['on'](_0x5bc1bc,_0x182773[_0x5bc1bc]);return function(){const _0x4f048f=_0x5e7404;for(const _0x84e865 of Object['keys'](_0x182773))_0x3fedb6[_0x4f048f(0x286)](_0x84e865,_0x182773[_0x84e865]);};}function _0x4767b0(_0x5efaa0){const _0x257f2f=_0x33c83;_0x5efaa0['_state']=_0x43b401,_0x5efaa0[_0x257f2f(0x15e)]('close');}function _0x3f565d(){const _0x52cf5e=_0x33c83;this[_0x52cf5e(0x12e)]();}function _0x4acb6c(_0x191de0,_0xe92142,_0x736fd0,_0xf25856){const _0x6e405b=_0x33c83;_0x736fd0=_0x736fd0||_0x2fb3b1['STATUS_CODES'][_0xe92142],_0xf25856={'Connection':_0x6e405b(0x24e),'Content-Type':_0x6e405b(0x225),'Content-Length':Buffer[_0x6e405b(0x152)](_0x736fd0),..._0xf25856},_0x191de0['once'](_0x6e405b(0x189),_0x191de0[_0x6e405b(0x12e)]),_0x191de0['end'](_0x6e405b(0x2af)+_0xe92142+'\x20'+_0x2fb3b1[_0x6e405b(0x1b4)][_0xe92142]+'\x0d\x0a'+Object[_0x6e405b(0x21c)](_0xf25856)[_0x6e405b(0x1eb)](_0x144e8b=>_0x144e8b+':\x20'+_0xf25856[_0x144e8b])['join']('\x0d\x0a')+_0x6e405b(0x126)+_0x736fd0);}function _0x36a9ad(_0x4a45b0,_0x32fc58,_0x1e5649,_0x136318,_0xa2b603,_0x56fb72){const _0x507727=_0x33c83;if(_0x4a45b0[_0x507727(0x22d)](_0x507727(0x1fd))){const _0x101e76=new Error(_0xa2b603);Error[_0x507727(0x22a)](_0x101e76,_0x36a9ad),_0x4a45b0['emit'](_0x507727(0x1fd),_0x101e76,_0x1e5649,_0x32fc58);}else _0x4acb6c(_0x1e5649,_0x136318,_0xa2b603,_0x56fb72);}return Te;}Ft();var jt=Object[_0x14ca12(0x1b1)],Wt=(_0x54adb2,_0x470061,_0x4bcc9b,_0x47033b)=>{const _0x3bc16e=_0x14ca12;for(var _0x4903d6=_0x47033b>0x1?void 0x0:_0x47033b?jt(_0x470061,_0x4bcc9b):_0x470061,_0x3f19d8=_0x54adb2[_0x3bc16e(0x16f)]-0x1,_0x991765;_0x3f19d8>=0x0;_0x3f19d8--)(_0x991765=_0x54adb2[_0x3f19d8])&&(_0x4903d6=_0x991765(_0x4903d6)||_0x4903d6);return _0x4903d6;},qt=(_0xbef4e4,_0x51e815)=>(_0x11060a,_0x5120f4)=>_0x51e815(_0x11060a,_0x5120f4,_0xbef4e4);let ke=class extends A['Disposable']{constructor(_0x19a41d){super(),this['_configService']=_0x19a41d;}[_0x14ca12(0x198)](_0x3d0703){const _0x3824e1=_0x14ca12;var _0x44acd9;const _0x361f7a=(_0x44acd9=this[_0x3824e1(0x133)][_0x3824e1(0x23d)](fe))==null?void 0x0:_0x44acd9[_0x3824e1(0x26b)];try{const _0x248d9a=new $t(_0x3d0703,{'headers':{..._0x361f7a}}),_0x3c2e27=new A[(_0x3824e1(0x232))]();return{'URL':_0x3d0703,'close':(_0x1911b7,_0xc8b167)=>{const _0x2d6352=_0x3824e1;_0x248d9a['close'](_0x1911b7,_0xc8b167),_0x3c2e27[_0x2d6352(0x275)]();},'send':_0x50443b=>{_0x248d9a['send'](_0x50443b);},'open$':new V['Observable'](_0x1ee28b=>{const _0xab53b6=_0x3824e1,_0x1a5d31=_0x15a4da=>_0x1ee28b[_0xab53b6(0x255)](_0x15a4da);_0x248d9a[_0xab53b6(0x2a5)](_0xab53b6(0x27d),_0x1a5d31),_0x3c2e27[_0xab53b6(0x236)](A[_0xab53b6(0x1a7)](()=>_0x248d9a[_0xab53b6(0x13f)]('open',_0x1a5d31)));})[_0x3824e1(0x2a3)](V['share']()),'close$':new V[(_0x3824e1(0x2d9))](_0x129dfd=>{const _0x501101=_0x3824e1,_0x5a56b0=_0x53d440=>_0x129dfd[_0x501101(0x255)](_0x53d440);_0x248d9a[_0x501101(0x2a5)]('close',_0x5a56b0),_0x3c2e27[_0x501101(0x236)](A[_0x501101(0x1a7)](()=>_0x248d9a[_0x501101(0x13f)](_0x501101(0x24e),_0x5a56b0)));})[_0x3824e1(0x2a3)](V[_0x3824e1(0x12d)]()),'error$':new V[(_0x3824e1(0x2d9))](_0x273351=>{const _0x276110=_0x3824e1,_0x238fce=_0x365e2b=>_0x273351[_0x276110(0x255)](_0x365e2b);_0x248d9a['addEventListener'](_0x276110(0x129),_0x238fce),_0x3c2e27[_0x276110(0x236)](A[_0x276110(0x1a7)](()=>_0x248d9a['removeEventListener'](_0x276110(0x129),_0x238fce)));})[_0x3824e1(0x2a3)](V[_0x3824e1(0x12d)]()),'message$':new V[(_0x3824e1(0x2d9))](_0x5fa449=>{const _0x3bb90a=_0x3824e1,_0x410fee=_0x549136=>_0x5fa449[_0x3bb90a(0x255)](_0x549136);_0x248d9a[_0x3bb90a(0x2a5)]('message',_0x410fee),_0x3c2e27['add'](A[_0x3bb90a(0x1a7)](()=>_0x248d9a[_0x3bb90a(0x13f)](_0x3bb90a(0x24c),_0x410fee)));})[_0x3824e1(0x2a3)](V[_0x3824e1(0x12d)]())};}catch(_0x56e93b){return console[_0x3824e1(0x129)](_0x56e93b),null;}}};ke=Wt([qt(0x0,A[_0x14ca12(0x1d0)])],ke);var Gt=Object[_0x14ca12(0x1c9)],Vt=Object[_0x14ca12(0x1b1)],Ht=(_0x43a1fd,_0x41aa5c,_0x312ab6)=>_0x41aa5c in _0x43a1fd?Gt(_0x43a1fd,_0x41aa5c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x312ab6}):_0x43a1fd[_0x41aa5c]=_0x312ab6,zt=(_0x3cc42e,_0x5eeb00,_0x110d02,_0x455c5f)=>{const _0x336f2f=_0x14ca12;for(var _0x3d30ad=_0x455c5f>0x1?void 0x0:_0x455c5f?Vt(_0x5eeb00,_0x110d02):_0x5eeb00,_0x3abe6d=_0x3cc42e[_0x336f2f(0x16f)]-0x1,_0xc74ed8;_0x3abe6d>=0x0;_0x3abe6d--)(_0xc74ed8=_0x3cc42e[_0x3abe6d])&&(_0x3d30ad=_0xc74ed8(_0x3d30ad)||_0x3d30ad);return _0x3d30ad;},Ne=(_0x1752f7,_0x3d0af4)=>(_0x42c1a0,_0x4464ca)=>_0x3d0af4(_0x42c1a0,_0x4464ca,_0x1752f7),Yt=(_0x31ab6b,_0x39c08d,_0x4970f8)=>Ht(_0x31ab6b,_0x39c08d+'',_0x4970f8);exports[_0x14ca12(0x201)]=class extends A[_0x14ca12(0x2a1)]{constructor(_0x2a6c19=Ct,_0x37c8f6,_0xeb1aef,_0x3f5dd7){const _0x155f2a=_0x14ca12;_0x2a6c19[_0x155f2a(0x26b)]||_0x37c8f6['warn'](_0x155f2a(0x1c0)),super(),this[_0x155f2a(0x133)]=_0xeb1aef,this[_0x155f2a(0x174)]=_0x3f5dd7,this[_0x155f2a(0x133)][_0x155f2a(0x2aa)](fe,_0x2a6c19);}['onStarting'](){const _0x4a4020=_0x14ca12;this[_0x4a4020(0x1f2)]();}['_registerDependencies'](){const _0x44e42c=_0x14ca12;A[_0x44e42c(0x22c)](this[_0x44e42c(0x174)],[[it['ISocketService'],{'useClass':ke}]]);}},Yt(exports[_0x14ca12(0x201)],_0x14ca12(0x2ce),_0x14ca12(0x1ea)),exports['UniverCollaborationClientNodePlugin']=zt([A['DependentOn'](st[_0x14ca12(0x2ca)]),Ne(0x1,A[_0x14ca12(0x215)]),Ne(0x2,A['IConfigService']),Ne(0x3,A['Inject'](A[_0x14ca12(0x222)]))],exports[_0x14ca12(0x201)]);var Kt=Object[_0x14ca12(0x1b1)],Xt=(_0x247566,_0x78f4a3,_0xee0061,_0xc755e1)=>{const _0x18ac92=_0x14ca12;for(var _0x20dfd9=_0xc755e1>0x1?void 0x0:_0xc755e1?Kt(_0x78f4a3,_0xee0061):_0x78f4a3,_0xf6e4aa=_0x247566[_0x18ac92(0x16f)]-0x1,_0x41c145;_0xf6e4aa>=0x0;_0xf6e4aa--)(_0x41c145=_0x247566[_0xf6e4aa])&&(_0x20dfd9=_0x41c145(_0x20dfd9)||_0x20dfd9);return _0x20dfd9;},ne=(_0x42a0c2,_0x378544)=>(_0x57e1d3,_0x109471)=>_0x378544(_0x57e1d3,_0x109471,_0x42a0c2);exports['NodeCollaborationSocketService']=class extends st[_0x14ca12(0x16c)]{constructor(_0x1a62cc,_0x309ab6,_0x5af44e,_0x35fd87,_0xd886ef){const _0x2658d5=_0x14ca12;super(_0x1a62cc,_0x309ab6,_0x5af44e,_0x35fd87,_0xd886ef);const _0x566d49=this['_configService'][_0x2658d5(0x23d)](fe);this[_0x2658d5(0x1f3)][_0x2658d5(0x2da)]({'interceptor':(_0x4ea035,_0x146e6b)=>{const _0x3574c0=_0x2658d5;var _0xad62f5;const _0x1280cb=_0x4ea035['headers'];return(_0xad62f5=_0x566d49==null?void 0x0:_0x566d49[_0x3574c0(0x26b)])!=null&&_0xad62f5[_0x3574c0(0x1cb)]&&_0x1280cb[_0x3574c0(0x2c2)](_0x3574c0(0x166),_0x566d49[_0x3574c0(0x26b)][_0x3574c0(0x1cb)]),_0x146e6b(_0x4ea035);}});}async[_0x14ca12(0x198)](_0x395171){const _0x2e9385=_0x14ca12;return this[_0x2e9385(0x221)](_0x395171);}},exports['NodeCollaborationSocketService']=Xt([ne(0x0,A[_0x14ca12(0x171)](A[_0x14ca12(0x222)])),ne(0x1,A[_0x14ca12(0x171)](it[_0x14ca12(0x20b)])),ne(0x2,A['IConfigService']),ne(0x3,A[_0x14ca12(0x215)]),ne(0x4,Ot[_0x14ca12(0x270)])],exports[_0x14ca12(0x1e1)]),exports[_0x14ca12(0x1be)]=fe;
|