@univerjs-pro/collaboration-client-node 0.10.3-experimental.20250812-b4b6f1a → 0.10.3-nightly.202508121228
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 +6 -6
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0x6bbba8=_0x61ac;(function(_0x2a3dd9,_0x55145c){const _0x50c131=_0x61ac,_0x5c35a0=_0x2a3dd9();while(!![]){try{const _0x1a399b=parseInt(_0x50c131(0x175))/0x1+-parseInt(_0x50c131(0x138))/0x2*(-parseInt(_0x50c131(0x28e))/0x3)+parseInt(_0x50c131(0x213))/0x4*(parseInt(_0x50c131(0x177))/0x5)+parseInt(_0x50c131(0x228))/0x6*(-parseInt(_0x50c131(0x261))/0x7)+parseInt(_0x50c131(0x102))/0x8+parseInt(_0x50c131(0x285))/0x9+-parseInt(_0x50c131(0x1d7))/0xa;if(_0x1a399b===_0x55145c)break;else _0x5c35a0['push'](_0x5c35a0['shift']());}catch(_0x4d7b12){_0x5c35a0['push'](_0x5c35a0['shift']());}}}(_0x52e7,0x29ca1));Object[_0x6bbba8(0x26d)](exports,Symbol[_0x6bbba8(0x233)],{'value':_0x6bbba8(0x1d4)});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='collaboration-client-node.config',Ct={'customHeaders':{}};function Tt(_0x355f4c){const _0x1d73dc=_0x6bbba8;return _0x355f4c&&_0x355f4c[_0x1d73dc(0x2a6)]&&Object['prototype'][_0x1d73dc(0x2a9)][_0x1d73dc(0x134)](_0x355f4c,'default')?_0x355f4c[_0x1d73dc(0x17f)]:_0x355f4c;}function _0x61ac(_0x2b2852,_0x31f7f9){const _0x52e720=_0x52e7();return _0x61ac=function(_0x61acd,_0x849481){_0x61acd=_0x61acd-0xf2;let _0x1012bb=_0x52e720[_0x61acd];return _0x1012bb;},_0x61ac(_0x2b2852,_0x31f7f9);}function at(_0x434fe3){const _0x216b24=_0x6bbba8;if(Object['prototype']['hasOwnProperty'][_0x216b24(0x134)](_0x434fe3,_0x216b24(0x2a6)))return _0x434fe3;var _0x3f701e=_0x434fe3['default'];if(typeof _0x3f701e==_0x216b24(0x1c7)){var _0xbeab41=function _0x387040(){const _0x4802c0=_0x216b24;var _0x4310e6=!0x1;try{_0x4310e6=this instanceof _0x387040;}catch{}return _0x4310e6?Reflect[_0x4802c0(0x198)](_0x3f701e,arguments,this['constructor']):_0x3f701e['apply'](this,arguments);};_0xbeab41['prototype']=_0x3f701e[_0x216b24(0x122)];}else _0xbeab41={};return Object['defineProperty'](_0xbeab41,_0x216b24(0x2a6),{'value':!0x0}),Object[_0x216b24(0x25d)](_0x434fe3)[_0x216b24(0x2b1)](function(_0x442781){const _0x1b2009=_0x216b24;var _0x2af3a=Object[_0x1b2009(0x1b0)](_0x434fe3,_0x442781);Object[_0x1b2009(0x26d)](_0xbeab41,_0x442781,_0x2af3a[_0x1b2009(0x1b6)]?_0x2af3a:{'enumerable':!0x0,'get':function(){return _0x434fe3[_0x442781];}});}),_0xbeab41;}var se={'exports':{}},ge,Ge;function H(){const _0xe56ddf=_0x6bbba8;if(Ge)return ge;Ge=0x1;const _0x2c1ed1=[_0xe56ddf(0x1e6),_0xe56ddf(0x118),_0xe56ddf(0x202)],_0xd00fe=typeof Blob<'u';return _0xd00fe&&_0x2c1ed1[_0xe56ddf(0x235)](_0xe56ddf(0x1df)),ge={'BINARY_TYPES':_0x2c1ed1,'EMPTY_BUFFER':Buffer[_0xe56ddf(0x2a4)](0x0),'GUID':_0xe56ddf(0x1dc),'hasBlob':_0xd00fe,'kForOnEventAttribute':Symbol(_0xe56ddf(0x250)),'kListener':Symbol(_0xe56ddf(0x126)),'kStatusCode':Symbol(_0xe56ddf(0x24a)),'kWebSocket':Symbol('websocket'),'NOOP':()=>{}},ge;}function _0x52e7(){const _0x15c01d=['_bufferedAmount','kAborted','blob','kWasClean','Max\x20payload\x20size\x20exceeded','DependentOn','split','_binaryType','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','nodebuffer','allocUnsafe','_removeListeners','startLoop','pow','The\x20URL\x27s\x20pathname\x20is\x20empty','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','allowSynchronousEvents','byteOffset','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','_autoPong','_queue','add','text/html','client','_final','_deflate','IConfigService','once','host','Observable','sec-websocket-extensions','map','createDeflateRaw','concurrencyLimit','mask','opcode','generateMask','fragments','client_no_context_takeover','serverNoContextTakeover','autoPong','drain','13,\x208','sec-websocket-version','sha1','acceptAsClient','_fragments','_closeMessage','File','includes','redirect','statusCode','startsWith','_server','8rShRRP','Invalid\x20Sec-WebSocket-Protocol\x20header','Invalid\x20Sec-WebSocket-Extensions\x20header','binary','invalid\x20opcode\x20','removeListener','finishRequest','total-length','number','method','toDisposable','port','cookie','has','headers','decompress','Unexpected\x20character\x20at\x20index\x20','username','OPEN','readOnly','onclose','814182vlQHld','_writableState','end','_decompress','server_max_window_bits','needDrain','_write','url','Unsupported\x20protocol\x20version:\x20','\x0d\x0a\x0d\x0a','Unexpected\x20end\x20of\x20input','toStringTag','HTTPService','push','read','ping','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','Inject','reset','Origin','normalizeParams','uncork','The\x20\x22','slice','value','setSocket','readable','message','_payloadLength','removeEventListener','_protocol','from','_mask','_registerDependencies','status-code','errorEmitted','Upgrade','completeUpgrade','writeUIntBE','_maskBuffer','kIsForOnEventAttribute','shift','Disposable','Sec-WebSocket-Extensions','ws:','finished','Opening\x20handshake\x20has\x20timed\x20out','upgrade','_originalHostOrSocketPath','hostname','listen','setNoDelay','_totalPayloadLength','keys','_errored','href','ISocketService','14pXHKnr','rsv1','then','address','getData','species','_bufferedBytes','set','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','_firstFragment','Invalid\x20WebSocket\x20frame:\x20','frame','defineProperty','WebSocket','auth','extensions','getConfig','handshakeTimeout','encrypted','zlibInflateOptions','indexOf','sendFrame','skipUTF8Validation','CollaborationSocketService','buffer','unexpected-response','socketPath','_no_context_takeover','_maxPayload','invalid\x20UTF-8\x20sequence','serverMaxWindowBits','arrayBuffer','threshold','update','_skipUTF8Validation','The\x20server\x20is\x20not\x20running','525195sLSpFW','reason','nextTick','pathname','createConnection','Unexpected\x20server\x20response:\x20','listeners','exports','concurrency','33daLywj','_httpService','writeUInt16BE','connection','The\x20URL\x20contains\x20a\x20fragment\x20identifier','options','kError','_url','test','CLOSING','isView','send','_shouldEmitClose','controlMessage','handleProtocols','isServer','abort','websocket','finish','kByteLength','isIP','binaryType','alloc','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','__esModule','pong','response','hasOwnProperty','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','_loop','WebSocket\x20is\x20not\x20open:\x20readyState\x20','\x20(supported\x20versions:\x20','\x22\x20subprotocol\x20is\x20duplicated','getPayloadLength16','WS_ERR_INVALID_UTF8','forEach','GET','invalid\x20payload\x20length\x20','sec-websocket-origin','_originalIpc','Invalid\x20Sec-WebSocket-Accept\x20header','consume','concat','_errorEmitted','charCodeAt','readyState','env','kData','share','params','wss:','_inflate','dispatch','objectMode','freeze','_redirects','1837120pCZGMm','addEventListener','kDone','clientNoContextTakeover','_options','isPaused','base64','_doCreateSocket','_sender','pipe','path','_closeCode','RSV1\x20must\x20be\x20clear','protocol','\x22:\x20','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','_closeFrameReceived','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','error','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','isBuffer','_messageLength','arraybuffer','_destroy','string','MASK\x20must\x20be\x20clear','data','close','FIN\x20must\x20be\x20set','sec-websocket-accept','_opcode','_closeTimer','prototype','WS_ERR_EXPECTED_MASK','write','_extensions','kListener','getInfo','handleEvent','WS_ERR_UNEXPECTED_RSV_1','Invalid\x20Upgrade\x20header','isValidUTF8','createSocket','pending','createServer','shouldHandle','size','emit','Cookie','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','call','Unknown\x20parameter\x20\x22','sec-websocket-protocol','format','17402bIKXXG','_receiver','extensionName','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','permessage-deflate','resume','_readyState','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','next','createInflateRaw','create','wasClean','cleanup','length','DisposableCollection','_allowSynchronousEvents','kCode','MASK\x20must\x20be\x20set','customHeaders','maskBuffer','Invalid\x20value\x20for\x20parameter\x20\x22','kType','COLLABORATION_CLIENT_NODE_CONFIG_KEY','find','enqueue','captureStackTrace','cork','_injector','dispose','ILogService','invalid\x20status\x20code\x20','getBlobData','bind','_state','https:','STATUS_CODES','ws+unix:','compress','WS_ERR_INVALID_OPCODE','_readableState','target','Server\x20sent\x20no\x20subprotocol','emitClose','client_max_window_bits','Connection:\x20Upgrade','search','text/plain','connect','Sec-WebSocket-Origin','http:','protocolVersion','NodeCollaborationSocketService','values','verifyClient','wsClientError','_originalSecure','_fragmented','_compress','registerHTTPInterceptor','_generateMask','perMessageDeflate','267965ObyBAM','conclude','636125DrBBKE','backlog','byteLength','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','destroy','UniverCollaborationClientNodePlugin','_configService','isArray','default','destroyed','Parameter\x20\x22','HTTP/1.1\x20','_max_window_bits','pause','getPayloadLength64','location','servername','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','Upgrade:\x20websocket','zlibDeflateOptions','parse','dequeue','_req','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','followRedirects','toLowerCase','Z_DEFAULT_WINDOWBITS','_threshold','handleUpgrade','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','hash','acceptAsServer','jobs','construct','readUInt32BE','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','accept','object','_buffers','server_no_context_takeover','server','password','code','toString','terminate','_masked','authorization','getMask','unmask','clientTracking','WS_ERR_EXPECTED_FIN','dataMessage','socket','_closeFrameSent','maxRedirects','entries','Sec-WebSocket-Protocol','getOwnPropertyDescriptor','request','_socket','removeAllListeners','createError','Injector','get','replace','Invalid\x20HTTP\x20method','listenerCount','setTimeout','_isServer','noServer','HTTP/1.1\x20101\x20Switching\x20Protocols','fin','_fin','WS_NO_BUFFER_UTIL','type','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','timeout','endEmitted','writable','open','function','join','_compressed','writeHead','The\x20URL\x27s\x20protocol\x20must\x20be\x20one\x20of\x20\x22ws:\x22,\x20\x22wss:\x22,\x20\x22http:\x22,\x20\x22https:\x22,\x20or\x20\x22ws+unix:\x22','registerDependencies','haveLength','_read','Sec-WebSocket-Extensions:\x20','CONNECTING','origin','maxPayload','_paused','Module','kTarget','clients','4635580kiSnhR','onerror','CLOSED','isInteger','clientMaxWindowBits','258EAFA5-E914-47DA-95CA-C5AB0DC85B11'];_0x52e7=function(){return _0x15c01d;};return _0x52e7();}const Nt={},kt=Object[_0x6bbba8(0x100)](Object[_0x6bbba8(0x26d)]({'__proto__':null,'default':Nt},Symbol[_0x6bbba8(0x233)],{'value':_0x6bbba8(0x1d4)})),Lt=at(kt);var Ve;function ce(){const _0x3330f3=_0x6bbba8;if(Ve)return se['exports'];Ve=0x1;const {EMPTY_BUFFER:_0x3ac8bf}=H(),_0x41967d=Buffer[Symbol[_0x3330f3(0x266)]];function _0x27c906(_0x1d8640,_0x3d6eb9){const _0x4de6c7=_0x3330f3;if(_0x1d8640[_0x4de6c7(0x145)]===0x0)return _0x3ac8bf;if(_0x1d8640['length']===0x1)return _0x1d8640[0x0];const _0x4f999b=Buffer[_0x4de6c7(0x1e7)](_0x3d6eb9);let _0x3ef105=0x0;for(let _0x4d1934=0x0;_0x4d1934<_0x1d8640[_0x4de6c7(0x145)];_0x4d1934++){const _0x337b3c=_0x1d8640[_0x4d1934];_0x4f999b[_0x4de6c7(0x268)](_0x337b3c,_0x3ef105),_0x3ef105+=_0x337b3c[_0x4de6c7(0x145)];}return _0x3ef105<_0x3d6eb9?new _0x41967d(_0x4f999b[_0x4de6c7(0x279)],_0x4f999b['byteOffset'],_0x3ef105):_0x4f999b;}function _0x4ea4cb(_0x53396a,_0xe8b958,_0x32e24b,_0x2cd4b2,_0x57046f){for(let _0x2d33d7=0x0;_0x2d33d7<_0x57046f;_0x2d33d7++)_0x32e24b[_0x2cd4b2+_0x2d33d7]=_0x53396a[_0x2d33d7]^_0xe8b958[_0x2d33d7&0x3];}function _0x358d77(_0x57ac72,_0x120610){const _0x1d2ee0=_0x3330f3;for(let _0x1d03b1=0x0;_0x1d03b1<_0x57ac72[_0x1d2ee0(0x145)];_0x1d03b1++)_0x57ac72[_0x1d03b1]^=_0x120610[_0x1d03b1&0x3];}function _0x33e08d(_0x410e36){const _0x5bcc13=_0x3330f3;return _0x410e36['length']===_0x410e36[_0x5bcc13(0x279)][_0x5bcc13(0x179)]?_0x410e36[_0x5bcc13(0x279)]:_0x410e36['buffer'][_0x5bcc13(0x23f)](_0x410e36[_0x5bcc13(0x1ee)],_0x410e36[_0x5bcc13(0x1ee)]+_0x410e36['length']);}function _0x145d3c(_0x3f997b){const _0x2d1d78=_0x3330f3;if(_0x145d3c[_0x2d1d78(0x226)]=!0x0,Buffer[_0x2d1d78(0x116)](_0x3f997b))return _0x3f997b;let _0x4c2708;return _0x3f997b instanceof ArrayBuffer?_0x4c2708=new _0x41967d(_0x3f997b):ArrayBuffer[_0x2d1d78(0x298)](_0x3f997b)?_0x4c2708=new _0x41967d(_0x3f997b[_0x2d1d78(0x279)],_0x3f997b[_0x2d1d78(0x1ee)],_0x3f997b[_0x2d1d78(0x179)]):(_0x4c2708=Buffer['from'](_0x3f997b),_0x145d3c[_0x2d1d78(0x226)]=!0x1),_0x4c2708;}if(se['exports']={'concat':_0x27c906,'mask':_0x4ea4cb,'toArrayBuffer':_0x33e08d,'toBuffer':_0x145d3c,'unmask':_0x358d77},!process[_0x3330f3(0xf8)][_0x3330f3(0x1c0)])try{const _0x1a19fa=Lt;se[_0x3330f3(0x28c)][_0x3330f3(0x1ff)]=function(_0x19ff5d,_0x2f6e70,_0x1f8d2a,_0x53aacf,_0x5d7f60){const _0x4d884c=_0x3330f3;_0x5d7f60<0x30?_0x4ea4cb(_0x19ff5d,_0x2f6e70,_0x1f8d2a,_0x53aacf,_0x5d7f60):_0x1a19fa[_0x4d884c(0x1ff)](_0x19ff5d,_0x2f6e70,_0x1f8d2a,_0x53aacf,_0x5d7f60);},se[_0x3330f3(0x28c)][_0x3330f3(0x1a7)]=function(_0x26e29c,_0x281025){const _0x433738=_0x3330f3;_0x26e29c[_0x433738(0x145)]<0x20?_0x358d77(_0x26e29c,_0x281025):_0x1a19fa['unmask'](_0x26e29c,_0x281025);};}catch{}return se[_0x3330f3(0x28c)];}var ye,He;function Pt(){const _0x214ef3=_0x6bbba8;if(He)return ye;He=0x1;const _0x44367c=Symbol(_0x214ef3(0x104)),_0x38b10a=Symbol('kRun');class _0x176eef{constructor(_0x1714a0){const _0x566a2d=_0x214ef3;this[_0x44367c]=()=>{const _0x58386c=_0x61ac;this[_0x58386c(0x12d)]--,this[_0x38b10a]();},this['concurrency']=_0x1714a0||0x1/0x0,this[_0x566a2d(0x197)]=[],this['pending']=0x0;}[_0x214ef3(0x1f2)](_0x292a10){const _0x31c41f=_0x214ef3;this['jobs'][_0x31c41f(0x235)](_0x292a10),this[_0x38b10a]();}[_0x38b10a](){const _0x48a7fc=_0x214ef3;if(this[_0x48a7fc(0x12d)]!==this[_0x48a7fc(0x28d)]&&this[_0x48a7fc(0x197)][_0x48a7fc(0x145)]){const _0x58d15f=this[_0x48a7fc(0x197)][_0x48a7fc(0x251)]();this['pending']++,_0x58d15f(this[_0x44367c]);}}}return ye=_0x176eef,ye;}var ve,ze;function he(){const _0x1f951e=_0x6bbba8;if(ze)return ve;ze=0x1;const _0x3baa43=bt,_0x29c6e0=ce(),_0x3fa1f8=Pt(),{kStatusCode:_0x905928}=H(),_0x4d50c2=Buffer[Symbol[_0x1f951e(0x266)]],_0x386247=Buffer[_0x1f951e(0x247)]([0x0,0x0,0xff,0xff]),_0x4a924d=Symbol(_0x1f951e(0x13c)),_0x1e8261=Symbol(_0x1f951e(0x21a)),_0x2f4f26=Symbol('callback'),_0x1fdda4=Symbol('buffers'),_0x340601=Symbol(_0x1f951e(0x114));let _0xfddb1d;class _0x1be479{constructor(_0x596dc7,_0x2a3379,_0x1c1cc8){const _0x536e02=_0x1f951e;if(this[_0x536e02(0x27d)]=_0x1c1cc8|0x0,this[_0x536e02(0x106)]=_0x596dc7||{},this[_0x536e02(0x192)]=this[_0x536e02(0x106)]['threshold']!==void 0x0?this[_0x536e02(0x106)][_0x536e02(0x281)]:0x400,this[_0x536e02(0x1bb)]=!!_0x2a3379,this[_0x536e02(0x1f6)]=null,this['_inflate']=null,this['params']=null,!_0xfddb1d){const _0xaaa823=this[_0x536e02(0x106)][_0x536e02(0x1fe)]!==void 0x0?this[_0x536e02(0x106)][_0x536e02(0x1fe)]:0xa;_0xfddb1d=new _0x3fa1f8(_0xaaa823);}}static get[_0x1f951e(0x13a)](){return'permessage-deflate';}['offer'](){const _0x11b6d3=_0x1f951e,_0x3a93a0={};return this['_options'][_0x11b6d3(0x204)]&&(_0x3a93a0[_0x11b6d3(0x19e)]=!0x0),this[_0x11b6d3(0x106)][_0x11b6d3(0x105)]&&(_0x3a93a0[_0x11b6d3(0x203)]=!0x0),this[_0x11b6d3(0x106)][_0x11b6d3(0x27f)]&&(_0x3a93a0['server_max_window_bits']=this['_options'][_0x11b6d3(0x27f)]),this[_0x11b6d3(0x106)][_0x11b6d3(0x1db)]?_0x3a93a0['client_max_window_bits']=this['_options']['clientMaxWindowBits']:this['_options']['clientMaxWindowBits']==null&&(_0x3a93a0['client_max_window_bits']=!0x0),_0x3a93a0;}[_0x1f951e(0x19b)](_0x56311f){const _0x509dd8=_0x1f951e;return _0x56311f=this['normalizeParams'](_0x56311f),this[_0x509dd8(0xfb)]=this[_0x509dd8(0x1bb)]?this[_0x509dd8(0x196)](_0x56311f):this[_0x509dd8(0x20a)](_0x56311f),this['params'];}[_0x1f951e(0x144)](){const _0x3fea73=_0x1f951e;if(this[_0x3fea73(0xfd)]&&(this[_0x3fea73(0xfd)]['close'](),this[_0x3fea73(0xfd)]=null),this[_0x3fea73(0x1f6)]){const _0x4e2de3=this[_0x3fea73(0x1f6)][_0x2f4f26];this[_0x3fea73(0x1f6)]['close'](),this[_0x3fea73(0x1f6)]=null,_0x4e2de3&&_0x4e2de3(new Error(_0x3fea73(0x194)));}}['acceptAsServer'](_0x3e9512){const _0x2c427f=_0x1f951e,_0x14acb6=this[_0x2c427f(0x106)],_0x19738b=_0x3e9512[_0x2c427f(0x14f)](_0x316874=>!(_0x14acb6[_0x2c427f(0x204)]===!0x1&&_0x316874[_0x2c427f(0x19e)]||_0x316874[_0x2c427f(0x22c)]&&(_0x14acb6[_0x2c427f(0x27f)]===!0x1||typeof _0x14acb6[_0x2c427f(0x27f)]=='number'&&_0x14acb6[_0x2c427f(0x27f)]>_0x316874[_0x2c427f(0x22c)])||typeof _0x14acb6[_0x2c427f(0x1db)]==_0x2c427f(0x21b)&&!_0x316874['client_max_window_bits']));if(!_0x19738b)throw new Error(_0x2c427f(0x113));return _0x14acb6[_0x2c427f(0x204)]&&(_0x19738b['server_no_context_takeover']=!0x0),_0x14acb6[_0x2c427f(0x105)]&&(_0x19738b[_0x2c427f(0x203)]=!0x0),typeof _0x14acb6[_0x2c427f(0x27f)]==_0x2c427f(0x21b)&&(_0x19738b['server_max_window_bits']=_0x14acb6[_0x2c427f(0x27f)]),typeof _0x14acb6[_0x2c427f(0x1db)]==_0x2c427f(0x21b)?_0x19738b[_0x2c427f(0x163)]=_0x14acb6[_0x2c427f(0x1db)]:(_0x19738b['client_max_window_bits']===!0x0||_0x14acb6[_0x2c427f(0x1db)]===!0x1)&&delete _0x19738b[_0x2c427f(0x163)],_0x19738b;}[_0x1f951e(0x20a)](_0x5575fb){const _0x44c34a=_0x1f951e,_0x2706c3=_0x5575fb[0x0];if(this['_options'][_0x44c34a(0x105)]===!0x1&&_0x2706c3['client_no_context_takeover'])throw new Error('Unexpected\x20parameter\x20\x22client_no_context_takeover\x22');if(!_0x2706c3[_0x44c34a(0x163)])typeof this[_0x44c34a(0x106)][_0x44c34a(0x1db)]==_0x44c34a(0x21b)&&(_0x2706c3[_0x44c34a(0x163)]=this['_options'][_0x44c34a(0x1db)]);else{if(this[_0x44c34a(0x106)][_0x44c34a(0x1db)]===!0x1||typeof this[_0x44c34a(0x106)][_0x44c34a(0x1db)]==_0x44c34a(0x21b)&&_0x2706c3[_0x44c34a(0x163)]>this[_0x44c34a(0x106)][_0x44c34a(0x1db)])throw new Error('Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22');}return _0x2706c3;}[_0x1f951e(0x23c)](_0xfea2ae){const _0x4353ca=_0x1f951e;return _0xfea2ae[_0x4353ca(0x2b1)](_0x26d393=>{const _0x47c83c=_0x4353ca;Object['keys'](_0x26d393)[_0x47c83c(0x2b1)](_0x1984b3=>{const _0x44e253=_0x47c83c;let _0x45e192=_0x26d393[_0x1984b3];if(_0x45e192[_0x44e253(0x145)]>0x1)throw new Error(_0x44e253(0x181)+_0x1984b3+'\x22\x20must\x20have\x20only\x20a\x20single\x20value');if(_0x45e192=_0x45e192[0x0],_0x1984b3===_0x44e253(0x163)){if(_0x45e192!==!0x0){const _0x490575=+_0x45e192;if(!Number[_0x44e253(0x1da)](_0x490575)||_0x490575<0x8||_0x490575>0xf)throw new TypeError(_0x44e253(0x14c)+_0x1984b3+'\x22:\x20'+_0x45e192);_0x45e192=_0x490575;}else{if(!this[_0x44e253(0x1bb)])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x1984b3+_0x44e253(0x110)+_0x45e192);}}else{if(_0x1984b3===_0x44e253(0x22c)){const _0x5c95ae=+_0x45e192;if(!Number[_0x44e253(0x1da)](_0x5c95ae)||_0x5c95ae<0x8||_0x5c95ae>0xf)throw new TypeError(_0x44e253(0x14c)+_0x1984b3+_0x44e253(0x110)+_0x45e192);_0x45e192=_0x5c95ae;}else{if(_0x1984b3===_0x44e253(0x203)||_0x1984b3==='server_no_context_takeover'){if(_0x45e192!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x1984b3+_0x44e253(0x110)+_0x45e192);}else throw new Error(_0x44e253(0x135)+_0x1984b3+'\x22');}}_0x26d393[_0x1984b3]=_0x45e192;});}),_0xfea2ae;}['decompress'](_0x1e8a0a,_0x51769c,_0xff370a){const _0x4b064b=_0x1f951e;_0xfddb1d[_0x4b064b(0x1f2)](_0x275ca5=>{const _0x2e006e=_0x4b064b;this[_0x2e006e(0x22b)](_0x1e8a0a,_0x51769c,(_0x2bf863,_0x5b364d)=>{_0x275ca5(),_0xff370a(_0x2bf863,_0x5b364d);});});}[_0x1f951e(0x15d)](_0x21702b,_0x29e908,_0x2369a1){const _0x2737e0=_0x1f951e;_0xfddb1d[_0x2737e0(0x1f2)](_0x43da2e=>{const _0x5576a8=_0x2737e0;this[_0x5576a8(0x171)](_0x21702b,_0x29e908,(_0x2dc027,_0x541029)=>{_0x43da2e(),_0x2369a1(_0x2dc027,_0x541029);});});}[_0x1f951e(0x22b)](_0x87c6a5,_0x47ca82,_0x5ead01){const _0x2787fb=_0x1f951e,_0x1f1052=this['_isServer']?_0x2787fb(0x1f4):_0x2787fb(0x19f);if(!this[_0x2787fb(0xfd)]){const _0x142ca9=_0x1f1052+_0x2787fb(0x183),_0x54d74f=typeof this[_0x2787fb(0xfb)][_0x142ca9]!=_0x2787fb(0x21b)?_0x3baa43['Z_DEFAULT_WINDOWBITS']:this[_0x2787fb(0xfb)][_0x142ca9];this[_0x2787fb(0xfd)]=_0x3baa43[_0x2787fb(0x141)]({...this['_options'][_0x2787fb(0x274)],'windowBits':_0x54d74f}),this[_0x2787fb(0xfd)][_0x4a924d]=this,this[_0x2787fb(0xfd)][_0x1e8261]=0x0,this[_0x2787fb(0xfd)][_0x1fdda4]=[],this[_0x2787fb(0xfd)]['on'](_0x2787fb(0x114),_0x4aaa67),this[_0x2787fb(0xfd)]['on']('data',_0x3f61f4);}this['_inflate'][_0x2f4f26]=_0x5ead01,this['_inflate'][_0x2787fb(0x124)](_0x87c6a5),_0x47ca82&&this['_inflate'][_0x2787fb(0x124)](_0x386247),this[_0x2787fb(0xfd)]['flush'](()=>{const _0x36c9d9=_0x2787fb,_0x386e0c=this[_0x36c9d9(0xfd)][_0x340601];if(_0x386e0c){this[_0x36c9d9(0xfd)][_0x36c9d9(0x11d)](),this['_inflate']=null,_0x5ead01(_0x386e0c);return;}const _0x487fda=_0x29c6e0['concat'](this[_0x36c9d9(0xfd)][_0x1fdda4],this[_0x36c9d9(0xfd)][_0x1e8261]);this['_inflate'][_0x36c9d9(0x15f)][_0x36c9d9(0x1c4)]?(this['_inflate'][_0x36c9d9(0x11d)](),this[_0x36c9d9(0xfd)]=null):(this[_0x36c9d9(0xfd)][_0x1e8261]=0x0,this[_0x36c9d9(0xfd)][_0x1fdda4]=[],_0x47ca82&&this[_0x36c9d9(0xfb)][_0x1f1052+_0x36c9d9(0x27c)]&&this['_inflate'][_0x36c9d9(0x23a)]()),_0x5ead01(null,_0x487fda);});}[_0x1f951e(0x171)](_0x3f644a,_0x4cf488,_0x42d195){const _0x11febc=_0x1f951e,_0x29eca8=this[_0x11febc(0x1bb)]?_0x11febc(0x19f):_0x11febc(0x1f4);if(!this[_0x11febc(0x1f6)]){const _0x27bc16=_0x29eca8+'_max_window_bits',_0x503f6b=typeof this[_0x11febc(0xfb)][_0x27bc16]!=_0x11febc(0x21b)?_0x3baa43[_0x11febc(0x191)]:this[_0x11febc(0xfb)][_0x27bc16];this[_0x11febc(0x1f6)]=_0x3baa43[_0x11febc(0x1fd)]({...this['_options'][_0x11febc(0x18a)],'windowBits':_0x503f6b}),this[_0x11febc(0x1f6)][_0x1e8261]=0x0,this[_0x11febc(0x1f6)][_0x1fdda4]=[],this[_0x11febc(0x1f6)]['on']('data',_0x562d96);}this['_deflate'][_0x2f4f26]=_0x42d195,this[_0x11febc(0x1f6)][_0x11febc(0x124)](_0x3f644a),this['_deflate']['flush'](_0x3baa43['Z_SYNC_FLUSH'],()=>{const _0x125964=_0x11febc;if(!this['_deflate'])return;let _0x5488ad=_0x29c6e0[_0x125964(0xf4)](this['_deflate'][_0x1fdda4],this[_0x125964(0x1f6)][_0x1e8261]);_0x4cf488&&(_0x5488ad=new _0x4d50c2(_0x5488ad[_0x125964(0x279)],_0x5488ad[_0x125964(0x1ee)],_0x5488ad[_0x125964(0x145)]-0x4)),this[_0x125964(0x1f6)][_0x2f4f26]=null,this[_0x125964(0x1f6)][_0x1e8261]=0x0,this['_deflate'][_0x1fdda4]=[],_0x4cf488&&this[_0x125964(0xfb)][_0x29eca8+_0x125964(0x27c)]&&this[_0x125964(0x1f6)][_0x125964(0x23a)](),_0x42d195(null,_0x5488ad);});}}ve=_0x1be479;function _0x562d96(_0x2c93dd){const _0x464ed7=_0x1f951e;this[_0x1fdda4][_0x464ed7(0x235)](_0x2c93dd),this[_0x1e8261]+=_0x2c93dd[_0x464ed7(0x145)];}function _0x3f61f4(_0x524aa8){const _0x276a13=_0x1f951e;if(this[_0x1e8261]+=_0x524aa8[_0x276a13(0x145)],this[_0x4a924d][_0x276a13(0x27d)]<0x1||this[_0x1e8261]<=this[_0x4a924d][_0x276a13(0x27d)]){this[_0x1fdda4]['push'](_0x524aa8);return;}this[_0x340601]=new RangeError('Max\x20payload\x20size\x20exceeded'),this[_0x340601][_0x276a13(0x1a1)]=_0x276a13(0x133),this[_0x340601][_0x905928]=0x3f1,this[_0x276a13(0x218)]('data',_0x3f61f4),this[_0x276a13(0x23a)]();}function _0x4aaa67(_0xb04b1f){const _0x241a15=_0x1f951e;if(this[_0x4a924d][_0x241a15(0xfd)]=null,this[_0x340601]){this[_0x2f4f26](this[_0x340601]);return;}_0xb04b1f[_0x905928]=0x3ef,this[_0x2f4f26](_0xb04b1f);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object['freeze'](Object[_0x6bbba8(0x26d)]({'__proto__':null,'default':Dt},Symbol[_0x6bbba8(0x233)],{'value':_0x6bbba8(0x1d4)})),Bt=at(Rt);var Ye;function ae(){const _0x51cdfa=_0x6bbba8;if(Ye)return ie[_0x51cdfa(0x28c)];Ye=0x1;const {isUtf8:_0x12c7b4}=wt,{hasBlob:_0x2af31d}=H(),_0x28e5aa=[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 _0x2beb14(_0x18d52b){return _0x18d52b>=0x3e8&&_0x18d52b<=0x3f6&&_0x18d52b!==0x3ec&&_0x18d52b!==0x3ed&&_0x18d52b!==0x3ee||_0x18d52b>=0xbb8&&_0x18d52b<=0x1387;}function _0x3ff290(_0x246ad4){const _0x106bb6=_0x51cdfa,_0x3f3445=_0x246ad4[_0x106bb6(0x145)];let _0x196663=0x0;for(;_0x196663<_0x3f3445;)if((_0x246ad4[_0x196663]&0x80)===0x0)_0x196663++;else{if((_0x246ad4[_0x196663]&0xe0)===0xc0){if(_0x196663+0x1===_0x3f3445||(_0x246ad4[_0x196663+0x1]&0xc0)!==0x80||(_0x246ad4[_0x196663]&0xfe)===0xc0)return!0x1;_0x196663+=0x2;}else{if((_0x246ad4[_0x196663]&0xf0)===0xe0){if(_0x196663+0x2>=_0x3f3445||(_0x246ad4[_0x196663+0x1]&0xc0)!==0x80||(_0x246ad4[_0x196663+0x2]&0xc0)!==0x80||_0x246ad4[_0x196663]===0xe0&&(_0x246ad4[_0x196663+0x1]&0xe0)===0x80||_0x246ad4[_0x196663]===0xed&&(_0x246ad4[_0x196663+0x1]&0xe0)===0xa0)return!0x1;_0x196663+=0x3;}else{if((_0x246ad4[_0x196663]&0xf8)===0xf0){if(_0x196663+0x3>=_0x3f3445||(_0x246ad4[_0x196663+0x1]&0xc0)!==0x80||(_0x246ad4[_0x196663+0x2]&0xc0)!==0x80||(_0x246ad4[_0x196663+0x3]&0xc0)!==0x80||_0x246ad4[_0x196663]===0xf0&&(_0x246ad4[_0x196663+0x1]&0xf0)===0x80||_0x246ad4[_0x196663]===0xf4&&_0x246ad4[_0x196663+0x1]>0x8f||_0x246ad4[_0x196663]>0xf4)return!0x1;_0x196663+=0x4;}else return!0x1;}}}return!0x0;}function _0x2ec81f(_0x57e631){const _0x25817c=_0x51cdfa;return _0x2af31d&&typeof _0x57e631==_0x25817c(0x19c)&&typeof _0x57e631[_0x25817c(0x280)]==_0x25817c(0x1c7)&&typeof _0x57e631[_0x25817c(0x1c1)]=='string'&&typeof _0x57e631['stream']==_0x25817c(0x1c7)&&(_0x57e631[Symbol['toStringTag']]==='Blob'||_0x57e631[Symbol[_0x25817c(0x233)]]===_0x25817c(0x20d));}if(ie['exports']={'isBlob':_0x2ec81f,'isValidStatusCode':_0x2beb14,'isValidUTF8':_0x3ff290,'tokenChars':_0x28e5aa},_0x12c7b4)ie[_0x51cdfa(0x28c)][_0x51cdfa(0x12b)]=function(_0x43a42f){const _0x124eeb=_0x51cdfa;return _0x43a42f[_0x124eeb(0x145)]<0x18?_0x3ff290(_0x43a42f):_0x12c7b4(_0x43a42f);};else{if(!process[_0x51cdfa(0xf8)]['WS_NO_UTF_8_VALIDATE'])try{const _0x34b35e=Bt;ie[_0x51cdfa(0x28c)][_0x51cdfa(0x12b)]=function(_0x537bce){const _0x4dc76c=_0x51cdfa;return _0x537bce[_0x4dc76c(0x145)]<0x20?_0x3ff290(_0x537bce):_0x34b35e(_0x537bce);};}catch{}}return ie[_0x51cdfa(0x28c)];}var Se,Ke;function lt(){const _0x42b997=_0x6bbba8;if(Ke)return Se;Ke=0x1;const {Writable:_0x47c050}=oe,_0x2281d4=he(),{BINARY_TYPES:_0x16227e,EMPTY_BUFFER:_0xeed4de,kStatusCode:_0x368231,kWebSocket:_0x3c11c}=H(),{concat:_0x1aee30,toArrayBuffer:_0x22cb65,unmask:_0x3e87de}=ce(),{isValidStatusCode:_0x194d6f,isValidUTF8:_0x433141}=ae(),_0x1c70b1=Buffer[Symbol['species']],_0x16fc85=0x0,_0x23d7ba=0x1,_0x3bfce1=0x2,_0x22966e=0x3,_0x12d05f=0x4,_0x4c7256=0x5,_0x25aaac=0x6;class _0x1fe7a4 extends _0x47c050{constructor(_0x2d324c={}){const _0x2e7288=_0x61ac;super(),this[_0x2e7288(0x147)]=_0x2d324c[_0x2e7288(0x1ed)]!==void 0x0?_0x2d324c[_0x2e7288(0x1ed)]:!0x0,this[_0x2e7288(0x1e4)]=_0x2d324c['binaryType']||_0x16227e[0x0],this[_0x2e7288(0x125)]=_0x2d324c[_0x2e7288(0x270)]||{},this[_0x2e7288(0x1bb)]=!!_0x2d324c[_0x2e7288(0x29d)],this[_0x2e7288(0x27d)]=_0x2d324c[_0x2e7288(0x1d2)]|0x0,this[_0x2e7288(0x283)]=!!_0x2d324c['skipUTF8Validation'],this[_0x3c11c]=void 0x0,this[_0x2e7288(0x267)]=0x0,this[_0x2e7288(0x19d)]=[],this[_0x2e7288(0x1c9)]=!0x1,this[_0x2e7288(0x244)]=0x0,this['_mask']=void 0x0,this[_0x2e7288(0x170)]=0x0,this['_masked']=!0x1,this['_fin']=!0x1,this['_opcode']=0x0,this[_0x2e7288(0x25c)]=0x0,this['_messageLength']=0x0,this['_fragments']=[],this['_errored']=!0x1,this[_0x2e7288(0x2ab)]=!0x1,this[_0x2e7288(0x159)]=_0x16fc85;}[_0x42b997(0x22e)](_0x47f1ba,_0x40869e,_0x28bd76){const _0x36e5b1=_0x42b997;if(this[_0x36e5b1(0x120)]===0x8&&this[_0x36e5b1(0x159)]==_0x16fc85)return _0x28bd76();this[_0x36e5b1(0x267)]+=_0x47f1ba[_0x36e5b1(0x145)],this[_0x36e5b1(0x19d)][_0x36e5b1(0x235)](_0x47f1ba),this[_0x36e5b1(0x1e9)](_0x28bd76);}[_0x42b997(0xf3)](_0x2b00bb){const _0x30aea0=_0x42b997;if(this[_0x30aea0(0x267)]-=_0x2b00bb,_0x2b00bb===this[_0x30aea0(0x19d)][0x0]['length'])return this[_0x30aea0(0x19d)][_0x30aea0(0x251)]();if(_0x2b00bb<this[_0x30aea0(0x19d)][0x0]['length']){const _0x26f1e4=this[_0x30aea0(0x19d)][0x0];return this[_0x30aea0(0x19d)][0x0]=new _0x1c70b1(_0x26f1e4[_0x30aea0(0x279)],_0x26f1e4['byteOffset']+_0x2b00bb,_0x26f1e4['length']-_0x2b00bb),new _0x1c70b1(_0x26f1e4[_0x30aea0(0x279)],_0x26f1e4[_0x30aea0(0x1ee)],_0x2b00bb);}const _0x18f119=Buffer[_0x30aea0(0x1e7)](_0x2b00bb);do{const _0x1783ea=this[_0x30aea0(0x19d)][0x0],_0x42b34c=_0x18f119[_0x30aea0(0x145)]-_0x2b00bb;_0x2b00bb>=_0x1783ea[_0x30aea0(0x145)]?_0x18f119[_0x30aea0(0x268)](this['_buffers'][_0x30aea0(0x251)](),_0x42b34c):(_0x18f119[_0x30aea0(0x268)](new Uint8Array(_0x1783ea[_0x30aea0(0x279)],_0x1783ea[_0x30aea0(0x1ee)],_0x2b00bb),_0x42b34c),this[_0x30aea0(0x19d)][0x0]=new _0x1c70b1(_0x1783ea[_0x30aea0(0x279)],_0x1783ea[_0x30aea0(0x1ee)]+_0x2b00bb,_0x1783ea['length']-_0x2b00bb)),_0x2b00bb-=_0x1783ea[_0x30aea0(0x145)];}while(_0x2b00bb>0x0);return _0x18f119;}[_0x42b997(0x1e9)](_0x437eba){const _0x2a8908=_0x42b997;this['_loop']=!0x0;do switch(this['_state']){case _0x16fc85:this[_0x2a8908(0x127)](_0x437eba);break;case _0x23d7ba:this[_0x2a8908(0x2af)](_0x437eba);break;case _0x3bfce1:this[_0x2a8908(0x185)](_0x437eba);break;case _0x22966e:this[_0x2a8908(0x1a6)]();break;case _0x12d05f:this[_0x2a8908(0x265)](_0x437eba);break;case _0x4c7256:case _0x25aaac:this[_0x2a8908(0x2ab)]=!0x1;return;}while(this['_loop']);this[_0x2a8908(0x25e)]||_0x437eba();}['getInfo'](_0x37f49e){const _0x287de7=_0x42b997;if(this['_bufferedBytes']<0x2){this[_0x287de7(0x2ab)]=!0x1;return;}const _0x3e4133=this[_0x287de7(0xf3)](0x2);if((_0x3e4133[0x0]&0x30)!==0x0){const _0x3049bb=this[_0x287de7(0x1b4)](RangeError,_0x287de7(0x1e5),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0x37f49e(_0x3049bb);return;}const _0x354be4=(_0x3e4133[0x0]&0x40)===0x40;if(_0x354be4&&!this['_extensions'][_0x2281d4[_0x287de7(0x13a)]]){const _0x1a899b=this['createError'](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x287de7(0x129));_0x37f49e(_0x1a899b);return;}if(this[_0x287de7(0x1bf)]=(_0x3e4133[0x0]&0x80)===0x80,this[_0x287de7(0x120)]=_0x3e4133[0x0]&0xf,this['_payloadLength']=_0x3e4133[0x1]&0x7f,this[_0x287de7(0x120)]===0x0){if(_0x354be4){const _0x5594dd=this[_0x287de7(0x1b4)](RangeError,_0x287de7(0x10e),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x37f49e(_0x5594dd);return;}if(!this['_fragmented']){const _0x137a8e=this[_0x287de7(0x1b4)](RangeError,'invalid\x20opcode\x200',!0x0,0x3ea,_0x287de7(0x15e));_0x37f49e(_0x137a8e);return;}this[_0x287de7(0x120)]=this[_0x287de7(0x170)];}else{if(this[_0x287de7(0x120)]===0x1||this[_0x287de7(0x120)]===0x2){if(this['_fragmented']){const _0x242ca6=this['createError'](RangeError,_0x287de7(0x217)+this[_0x287de7(0x120)],!0x0,0x3ea,_0x287de7(0x15e));_0x37f49e(_0x242ca6);return;}this[_0x287de7(0x1c9)]=_0x354be4;}else{if(this[_0x287de7(0x120)]>0x7&&this[_0x287de7(0x120)]<0xb){if(!this[_0x287de7(0x1bf)]){const _0x388c04=this[_0x287de7(0x1b4)](RangeError,_0x287de7(0x11e),!0x0,0x3ea,_0x287de7(0x1a9));_0x37f49e(_0x388c04);return;}if(_0x354be4){const _0x2a9886=this[_0x287de7(0x1b4)](RangeError,_0x287de7(0x10e),!0x0,0x3ea,_0x287de7(0x129));_0x37f49e(_0x2a9886);return;}if(this['_payloadLength']>0x7d||this[_0x287de7(0x120)]===0x8&&this[_0x287de7(0x244)]===0x1){const _0x3f76aa=this[_0x287de7(0x1b4)](RangeError,_0x287de7(0x2b3)+this[_0x287de7(0x244)],!0x0,0x3ea,_0x287de7(0x1c2));_0x37f49e(_0x3f76aa);return;}}else{const _0x2d7248=this['createError'](RangeError,_0x287de7(0x217)+this[_0x287de7(0x120)],!0x0,0x3ea,_0x287de7(0x15e));_0x37f49e(_0x2d7248);return;}}}if(!this[_0x287de7(0x1bf)]&&!this['_fragmented']&&(this[_0x287de7(0x170)]=this[_0x287de7(0x120)]),this['_masked']=(_0x3e4133[0x1]&0x80)===0x80,this[_0x287de7(0x1bb)]){if(!this[_0x287de7(0x1a4)]){const _0x1355ae=this[_0x287de7(0x1b4)](RangeError,_0x287de7(0x149),!0x0,0x3ea,_0x287de7(0x123));_0x37f49e(_0x1355ae);return;}}else{if(this[_0x287de7(0x1a4)]){const _0x2ec563=this[_0x287de7(0x1b4)](RangeError,_0x287de7(0x11b),!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0x37f49e(_0x2ec563);return;}}this[_0x287de7(0x244)]===0x7e?this[_0x287de7(0x159)]=_0x23d7ba:this[_0x287de7(0x244)]===0x7f?this[_0x287de7(0x159)]=_0x3bfce1:this[_0x287de7(0x1cd)](_0x37f49e);}[_0x42b997(0x2af)](_0x1a043d){const _0x2b4e54=_0x42b997;if(this[_0x2b4e54(0x267)]<0x2){this[_0x2b4e54(0x2ab)]=!0x1;return;}this[_0x2b4e54(0x244)]=this[_0x2b4e54(0xf3)](0x2)['readUInt16BE'](0x0),this[_0x2b4e54(0x1cd)](_0x1a043d);}[_0x42b997(0x185)](_0x2eca3c){const _0x511859=_0x42b997;if(this['_bufferedBytes']<0x8){this[_0x511859(0x2ab)]=!0x1;return;}const _0x383c0a=this[_0x511859(0xf3)](0x8),_0x10ae40=_0x383c0a['readUInt32BE'](0x0);if(_0x10ae40>Math['pow'](0x2,0x15)-0x1){const _0x2f3413=this[_0x511859(0x1b4)](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH');_0x2eca3c(_0x2f3413);return;}this[_0x511859(0x244)]=_0x10ae40*Math[_0x511859(0x1ea)](0x2,0x20)+_0x383c0a[_0x511859(0x199)](0x4),this[_0x511859(0x1cd)](_0x2eca3c);}[_0x42b997(0x1cd)](_0x4738a8){const _0x48181c=_0x42b997;if(this[_0x48181c(0x244)]&&this[_0x48181c(0x120)]<0x8&&(this[_0x48181c(0x25c)]+=this[_0x48181c(0x244)],this['_totalPayloadLength']>this['_maxPayload']&&this[_0x48181c(0x27d)]>0x0)){const _0x59f726=this[_0x48181c(0x1b4)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x4738a8(_0x59f726);return;}this['_masked']?this['_state']=_0x22966e:this[_0x48181c(0x159)]=_0x12d05f;}[_0x42b997(0x1a6)](){const _0x2d4969=_0x42b997;if(this[_0x2d4969(0x267)]<0x4){this[_0x2d4969(0x2ab)]=!0x1;return;}this['_mask']=this[_0x2d4969(0xf3)](0x4),this[_0x2d4969(0x159)]=_0x12d05f;}[_0x42b997(0x265)](_0x16c434){const _0x31186a=_0x42b997;let _0x24caad=_0xeed4de;if(this[_0x31186a(0x244)]){if(this[_0x31186a(0x267)]<this[_0x31186a(0x244)]){this[_0x31186a(0x2ab)]=!0x1;return;}_0x24caad=this[_0x31186a(0xf3)](this[_0x31186a(0x244)]),this[_0x31186a(0x1a4)]&&(this[_0x31186a(0x248)][0x0]|this[_0x31186a(0x248)][0x1]|this[_0x31186a(0x248)][0x2]|this['_mask'][0x3])!==0x0&&_0x3e87de(_0x24caad,this['_mask']);}if(this[_0x31186a(0x120)]>0x7){this[_0x31186a(0x29b)](_0x24caad,_0x16c434);return;}if(this[_0x31186a(0x1c9)]){this[_0x31186a(0x159)]=_0x4c7256,this[_0x31186a(0x222)](_0x24caad,_0x16c434);return;}_0x24caad['length']&&(this[_0x31186a(0x117)]=this[_0x31186a(0x25c)],this[_0x31186a(0x20b)][_0x31186a(0x235)](_0x24caad)),this[_0x31186a(0x1aa)](_0x16c434);}[_0x42b997(0x222)](_0x397371,_0x47d001){const _0x3d63b7=_0x42b997;this[_0x3d63b7(0x125)][_0x2281d4[_0x3d63b7(0x13a)]][_0x3d63b7(0x222)](_0x397371,this['_fin'],(_0x2f3f8b,_0x44956e)=>{const _0x138844=_0x3d63b7;if(_0x2f3f8b)return _0x47d001(_0x2f3f8b);if(_0x44956e[_0x138844(0x145)]){if(this[_0x138844(0x117)]+=_0x44956e[_0x138844(0x145)],this[_0x138844(0x117)]>this[_0x138844(0x27d)]&&this['_maxPayload']>0x0){const _0x16fc91=this[_0x138844(0x1b4)](RangeError,_0x138844(0x1e1),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x47d001(_0x16fc91);return;}this[_0x138844(0x20b)][_0x138844(0x235)](_0x44956e);}this['dataMessage'](_0x47d001),this[_0x138844(0x159)]===_0x16fc85&&this[_0x138844(0x1e9)](_0x47d001);});}['dataMessage'](_0x586e71){const _0x248f76=_0x42b997;if(!this[_0x248f76(0x1bf)]){this[_0x248f76(0x159)]=_0x16fc85;return;}const _0x594630=this['_messageLength'],_0x106d64=this[_0x248f76(0x20b)];if(this[_0x248f76(0x25c)]=0x0,this[_0x248f76(0x117)]=0x0,this[_0x248f76(0x170)]=0x0,this['_fragments']=[],this[_0x248f76(0x120)]===0x2){let _0x2555ed;this[_0x248f76(0x1e4)]===_0x248f76(0x1e6)?_0x2555ed=_0x1aee30(_0x106d64,_0x594630):this[_0x248f76(0x1e4)]==='arraybuffer'?_0x2555ed=_0x22cb65(_0x1aee30(_0x106d64,_0x594630)):this[_0x248f76(0x1e4)]==='blob'?_0x2555ed=new Blob(_0x106d64):_0x2555ed=_0x106d64,this[_0x248f76(0x147)]?(this[_0x248f76(0x131)](_0x248f76(0x243),_0x2555ed,!0x0),this['_state']=_0x16fc85):(this[_0x248f76(0x159)]=_0x25aaac,setImmediate(()=>{const _0x3c783b=_0x248f76;this[_0x3c783b(0x131)](_0x3c783b(0x243),_0x2555ed,!0x0),this['_state']=_0x16fc85,this['startLoop'](_0x586e71);}));}else{const _0x2a7b9b=_0x1aee30(_0x106d64,_0x594630);if(!this[_0x248f76(0x283)]&&!_0x433141(_0x2a7b9b)){const _0x5774f0=this[_0x248f76(0x1b4)](Error,_0x248f76(0x27e),!0x0,0x3ef,_0x248f76(0x2b0));_0x586e71(_0x5774f0);return;}this[_0x248f76(0x159)]===_0x4c7256||this[_0x248f76(0x147)]?(this[_0x248f76(0x131)](_0x248f76(0x243),_0x2a7b9b,!0x1),this[_0x248f76(0x159)]=_0x16fc85):(this[_0x248f76(0x159)]=_0x25aaac,setImmediate(()=>{const _0x9cf80=_0x248f76;this['emit'](_0x9cf80(0x243),_0x2a7b9b,!0x1),this[_0x9cf80(0x159)]=_0x16fc85,this[_0x9cf80(0x1e9)](_0x586e71);}));}}[_0x42b997(0x29b)](_0x43dd16,_0x2d970d){const _0x365775=_0x42b997;if(this['_opcode']===0x8){if(_0x43dd16[_0x365775(0x145)]===0x0)this[_0x365775(0x2ab)]=!0x1,this[_0x365775(0x131)](_0x365775(0x176),0x3ed,_0xeed4de),this[_0x365775(0x22a)]();else{const _0xa56007=_0x43dd16['readUInt16BE'](0x0);if(!_0x194d6f(_0xa56007)){const _0x525b95=this[_0x365775(0x1b4)](RangeError,_0x365775(0x156)+_0xa56007,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0x2d970d(_0x525b95);return;}const _0x1fe011=new _0x1c70b1(_0x43dd16[_0x365775(0x279)],_0x43dd16['byteOffset']+0x2,_0x43dd16[_0x365775(0x145)]-0x2);if(!this['_skipUTF8Validation']&&!_0x433141(_0x1fe011)){const _0x680770=this[_0x365775(0x1b4)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x2d970d(_0x680770);return;}this['_loop']=!0x1,this[_0x365775(0x131)](_0x365775(0x176),_0xa56007,_0x1fe011),this['end']();}this[_0x365775(0x159)]=_0x16fc85;return;}this[_0x365775(0x147)]?(this['emit'](this[_0x365775(0x120)]===0x9?_0x365775(0x237):_0x365775(0x2a7),_0x43dd16),this['_state']=_0x16fc85):(this['_state']=_0x25aaac,setImmediate(()=>{const _0x5377d0=_0x365775;this[_0x5377d0(0x131)](this['_opcode']===0x9?_0x5377d0(0x237):'pong',_0x43dd16),this['_state']=_0x16fc85,this[_0x5377d0(0x1e9)](_0x2d970d);}));}[_0x42b997(0x1b4)](_0x725d20,_0x1e6bac,_0x2bfbc6,_0x23bc8e,_0x37ca4c){const _0x25c47b=_0x42b997;this[_0x25c47b(0x2ab)]=!0x1,this['_errored']=!0x0;const _0xbe318d=new _0x725d20(_0x2bfbc6?_0x25c47b(0x26b)+_0x1e6bac:_0x1e6bac);return Error['captureStackTrace'](_0xbe318d,this[_0x25c47b(0x1b4)]),_0xbe318d[_0x25c47b(0x1a1)]=_0x37ca4c,_0xbe318d[_0x368231]=_0x23bc8e,_0xbe318d;}}return Se=_0x1fe7a4,Se;}var Ee,Xe;function ft(){const _0x457db3=_0x6bbba8;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x5696c6}=oe,{randomFillSync:_0x23a3dc}=Le,_0x28f3bb=he(),{EMPTY_BUFFER:_0x192128,kWebSocket:_0x31ef39,NOOP:_0x303f62}=H(),{isBlob:_0x5f3bfd,isValidStatusCode:_0x1b736e}=ae(),{mask:_0x503964,toBuffer:_0x3c7838}=ce(),_0x268763=Symbol(_0x457db3(0x2a1)),_0x57169b=Buffer['alloc'](0x4),_0x2a067f=0x8*0x400;let _0x101e87,_0xbe334e=_0x2a067f;const _0xada185=0x0,_0x38d242=0x1,_0x580ad5=0x2;class _0x5924fb{constructor(_0x1a30d9,_0x2eef5f,_0x5cb738){const _0x368d62=_0x457db3;this[_0x368d62(0x125)]=_0x2eef5f||{},_0x5cb738&&(this[_0x368d62(0x173)]=_0x5cb738,this[_0x368d62(0x24f)]=Buffer[_0x368d62(0x2a4)](0x4)),this['_socket']=_0x1a30d9,this[_0x368d62(0x26a)]=!0x0,this[_0x368d62(0x171)]=!0x1,this['_bufferedBytes']=0x0,this[_0x368d62(0x1f1)]=[],this['_state']=_0xada185,this[_0x368d62(0x1d8)]=_0x303f62,this[_0x31ef39]=void 0x0;}static[_0x457db3(0x26c)](_0x4c9738,_0x1d43b7){const _0x17546e=_0x457db3;let _0x41e966,_0x5d996e=!0x1,_0x51a684=0x2,_0x1b969c=!0x1;_0x1d43b7['mask']&&(_0x41e966=_0x1d43b7[_0x17546e(0x14b)]||_0x57169b,_0x1d43b7['generateMask']?_0x1d43b7[_0x17546e(0x201)](_0x41e966):(_0xbe334e===_0x2a067f&&(_0x101e87===void 0x0&&(_0x101e87=Buffer[_0x17546e(0x2a4)](_0x2a067f)),_0x23a3dc(_0x101e87,0x0,_0x2a067f),_0xbe334e=0x0),_0x41e966[0x0]=_0x101e87[_0xbe334e++],_0x41e966[0x1]=_0x101e87[_0xbe334e++],_0x41e966[0x2]=_0x101e87[_0xbe334e++],_0x41e966[0x3]=_0x101e87[_0xbe334e++]),_0x1b969c=(_0x41e966[0x0]|_0x41e966[0x1]|_0x41e966[0x2]|_0x41e966[0x3])===0x0,_0x51a684=0x6);let _0x26cfdd;typeof _0x4c9738==_0x17546e(0x11a)?(!_0x1d43b7[_0x17546e(0x1ff)]||_0x1b969c)&&_0x1d43b7[_0x268763]!==void 0x0?_0x26cfdd=_0x1d43b7[_0x268763]:(_0x4c9738=Buffer[_0x17546e(0x247)](_0x4c9738),_0x26cfdd=_0x4c9738[_0x17546e(0x145)]):(_0x26cfdd=_0x4c9738['length'],_0x5d996e=_0x1d43b7[_0x17546e(0x1ff)]&&_0x1d43b7['readOnly']&&!_0x1b969c);let _0x2beb13=_0x26cfdd;_0x26cfdd>=0x10000?(_0x51a684+=0x8,_0x2beb13=0x7f):_0x26cfdd>0x7d&&(_0x51a684+=0x2,_0x2beb13=0x7e);const _0x2672f4=Buffer[_0x17546e(0x1e7)](_0x5d996e?_0x26cfdd+_0x51a684:_0x51a684);return _0x2672f4[0x0]=_0x1d43b7[_0x17546e(0x1be)]?_0x1d43b7[_0x17546e(0x200)]|0x80:_0x1d43b7[_0x17546e(0x200)],_0x1d43b7[_0x17546e(0x262)]&&(_0x2672f4[0x0]|=0x40),_0x2672f4[0x1]=_0x2beb13,_0x2beb13===0x7e?_0x2672f4['writeUInt16BE'](_0x26cfdd,0x2):_0x2beb13===0x7f&&(_0x2672f4[0x2]=_0x2672f4[0x3]=0x0,_0x2672f4[_0x17546e(0x24e)](_0x26cfdd,0x4,0x6)),_0x1d43b7[_0x17546e(0x1ff)]?(_0x2672f4[0x1]|=0x80,_0x2672f4[_0x51a684-0x4]=_0x41e966[0x0],_0x2672f4[_0x51a684-0x3]=_0x41e966[0x1],_0x2672f4[_0x51a684-0x2]=_0x41e966[0x2],_0x2672f4[_0x51a684-0x1]=_0x41e966[0x3],_0x1b969c?[_0x2672f4,_0x4c9738]:_0x5d996e?(_0x503964(_0x4c9738,_0x41e966,_0x2672f4,_0x51a684,_0x26cfdd),[_0x2672f4]):(_0x503964(_0x4c9738,_0x41e966,_0x4c9738,0x0,_0x26cfdd),[_0x2672f4,_0x4c9738])):[_0x2672f4,_0x4c9738];}[_0x457db3(0x11d)](_0x5b649e,_0x376914,_0x59f63e,_0x154baa){const _0x4f74cd=_0x457db3;let _0x2e32fb;if(_0x5b649e===void 0x0)_0x2e32fb=_0x192128;else{if(typeof _0x5b649e!=_0x4f74cd(0x21b)||!_0x1b736e(_0x5b649e))throw new TypeError(_0x4f74cd(0x17a));if(_0x376914===void 0x0||!_0x376914[_0x4f74cd(0x145)])_0x2e32fb=Buffer['allocUnsafe'](0x2),_0x2e32fb[_0x4f74cd(0x290)](_0x5b649e,0x0);else{const _0x3109f1=Buffer[_0x4f74cd(0x179)](_0x376914);if(_0x3109f1>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x2e32fb=Buffer[_0x4f74cd(0x1e7)](0x2+_0x3109f1),_0x2e32fb[_0x4f74cd(0x290)](_0x5b649e,0x0),typeof _0x376914==_0x4f74cd(0x11a)?_0x2e32fb[_0x4f74cd(0x124)](_0x376914,0x2):_0x2e32fb[_0x4f74cd(0x268)](_0x376914,0x2);}}const _0x6688f5={[_0x268763]:_0x2e32fb['length'],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x59f63e,'maskBuffer':this[_0x4f74cd(0x24f)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this['_state']!==_0xada185?this[_0x4f74cd(0x150)]([this[_0x4f74cd(0xfe)],_0x2e32fb,!0x1,_0x6688f5,_0x154baa]):this[_0x4f74cd(0x276)](_0x5924fb['frame'](_0x2e32fb,_0x6688f5),_0x154baa);}['ping'](_0x5c8de6,_0x5abc2d,_0x370abe){const _0x46606b=_0x457db3;let _0x4e2a07,_0x161269;if(typeof _0x5c8de6=='string'?(_0x4e2a07=Buffer['byteLength'](_0x5c8de6),_0x161269=!0x1):_0x5f3bfd(_0x5c8de6)?(_0x4e2a07=_0x5c8de6['size'],_0x161269=!0x1):(_0x5c8de6=_0x3c7838(_0x5c8de6),_0x4e2a07=_0x5c8de6['length'],_0x161269=_0x3c7838[_0x46606b(0x226)]),_0x4e2a07>0x7d)throw new RangeError(_0x46606b(0x2aa));const _0x3c50dd={[_0x268763]:_0x4e2a07,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x5abc2d,'maskBuffer':this[_0x46606b(0x24f)],'opcode':0x9,'readOnly':_0x161269,'rsv1':!0x1};_0x5f3bfd(_0x5c8de6)?this[_0x46606b(0x159)]!==_0xada185?this[_0x46606b(0x150)]([this[_0x46606b(0x157)],_0x5c8de6,!0x1,_0x3c50dd,_0x370abe]):this[_0x46606b(0x157)](_0x5c8de6,!0x1,_0x3c50dd,_0x370abe):this['_state']!==_0xada185?this[_0x46606b(0x150)]([this[_0x46606b(0xfe)],_0x5c8de6,!0x1,_0x3c50dd,_0x370abe]):this['sendFrame'](_0x5924fb[_0x46606b(0x26c)](_0x5c8de6,_0x3c50dd),_0x370abe);}[_0x457db3(0x2a7)](_0x2b5c93,_0x258002,_0x19c766){const _0xc24ce4=_0x457db3;let _0x44fdee,_0x2a459a;if(typeof _0x2b5c93==_0xc24ce4(0x11a)?(_0x44fdee=Buffer['byteLength'](_0x2b5c93),_0x2a459a=!0x1):_0x5f3bfd(_0x2b5c93)?(_0x44fdee=_0x2b5c93[_0xc24ce4(0x130)],_0x2a459a=!0x1):(_0x2b5c93=_0x3c7838(_0x2b5c93),_0x44fdee=_0x2b5c93[_0xc24ce4(0x145)],_0x2a459a=_0x3c7838[_0xc24ce4(0x226)]),_0x44fdee>0x7d)throw new RangeError(_0xc24ce4(0x2aa));const _0x40573e={[_0x268763]:_0x44fdee,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x258002,'maskBuffer':this[_0xc24ce4(0x24f)],'opcode':0xa,'readOnly':_0x2a459a,'rsv1':!0x1};_0x5f3bfd(_0x2b5c93)?this[_0xc24ce4(0x159)]!==_0xada185?this[_0xc24ce4(0x150)]([this[_0xc24ce4(0x157)],_0x2b5c93,!0x1,_0x40573e,_0x19c766]):this['getBlobData'](_0x2b5c93,!0x1,_0x40573e,_0x19c766):this[_0xc24ce4(0x159)]!==_0xada185?this[_0xc24ce4(0x150)]([this[_0xc24ce4(0xfe)],_0x2b5c93,!0x1,_0x40573e,_0x19c766]):this['sendFrame'](_0x5924fb[_0xc24ce4(0x26c)](_0x2b5c93,_0x40573e),_0x19c766);}['send'](_0x3562ee,_0x37bfec,_0x5a22c0){const _0xc15008=_0x457db3,_0x2af6ef=this[_0xc15008(0x125)][_0x28f3bb[_0xc15008(0x13a)]];let _0x42a16c=_0x37bfec[_0xc15008(0x216)]?0x2:0x1,_0x543687=_0x37bfec[_0xc15008(0x15d)],_0x2974b2,_0x56048f;typeof _0x3562ee==_0xc15008(0x11a)?(_0x2974b2=Buffer[_0xc15008(0x179)](_0x3562ee),_0x56048f=!0x1):_0x5f3bfd(_0x3562ee)?(_0x2974b2=_0x3562ee['size'],_0x56048f=!0x1):(_0x3562ee=_0x3c7838(_0x3562ee),_0x2974b2=_0x3562ee[_0xc15008(0x145)],_0x56048f=_0x3c7838[_0xc15008(0x226)]),this['_firstFragment']?(this['_firstFragment']=!0x1,_0x543687&&_0x2af6ef&&_0x2af6ef[_0xc15008(0xfb)][_0x2af6ef['_isServer']?'server_no_context_takeover':_0xc15008(0x203)]&&(_0x543687=_0x2974b2>=_0x2af6ef[_0xc15008(0x192)]),this['_compress']=_0x543687):(_0x543687=!0x1,_0x42a16c=0x0),_0x37bfec[_0xc15008(0x1be)]&&(this[_0xc15008(0x26a)]=!0x0);const _0x452520={[_0x268763]:_0x2974b2,'fin':_0x37bfec[_0xc15008(0x1be)],'generateMask':this[_0xc15008(0x173)],'mask':_0x37bfec[_0xc15008(0x1ff)],'maskBuffer':this[_0xc15008(0x24f)],'opcode':_0x42a16c,'readOnly':_0x56048f,'rsv1':_0x543687};_0x5f3bfd(_0x3562ee)?this[_0xc15008(0x159)]!==_0xada185?this['enqueue']([this[_0xc15008(0x157)],_0x3562ee,this[_0xc15008(0x171)],_0x452520,_0x5a22c0]):this['getBlobData'](_0x3562ee,this[_0xc15008(0x171)],_0x452520,_0x5a22c0):this[_0xc15008(0x159)]!==_0xada185?this[_0xc15008(0x150)]([this['dispatch'],_0x3562ee,this[_0xc15008(0x171)],_0x452520,_0x5a22c0]):this['dispatch'](_0x3562ee,this['_compress'],_0x452520,_0x5a22c0);}[_0x457db3(0x157)](_0x56c02a,_0x389d29,_0x219730,_0x59bc54){const _0x5310e5=_0x457db3;this[_0x5310e5(0x267)]+=_0x219730[_0x268763],this[_0x5310e5(0x159)]=_0x580ad5,_0x56c02a[_0x5310e5(0x280)]()[_0x5310e5(0x263)](_0x144bab=>{const _0x5497b8=_0x5310e5;if(this[_0x5497b8(0x1b2)][_0x5497b8(0x180)]){const _0x49e4eb=new Error(_0x5497b8(0x13f));process['nextTick'](_0x429898,this,_0x49e4eb,_0x59bc54);return;}this[_0x5497b8(0x267)]-=_0x219730[_0x268763];const _0x4ec9a0=_0x3c7838(_0x144bab);_0x389d29?this[_0x5497b8(0xfe)](_0x4ec9a0,_0x389d29,_0x219730,_0x59bc54):(this[_0x5497b8(0x159)]=_0xada185,this['sendFrame'](_0x5924fb[_0x5497b8(0x26c)](_0x4ec9a0,_0x219730),_0x59bc54),this[_0x5497b8(0x18c)]());})['catch'](_0x1491f2=>{const _0x1d74b1=_0x5310e5;process[_0x1d74b1(0x287)](_0x31d9d5,this,_0x1491f2,_0x59bc54);});}[_0x457db3(0xfe)](_0x18fe88,_0x3b4f27,_0x3a65fb,_0x4cd73f){const _0x2d073b=_0x457db3;if(!_0x3b4f27){this[_0x2d073b(0x276)](_0x5924fb['frame'](_0x18fe88,_0x3a65fb),_0x4cd73f);return;}const _0x2af7b0=this[_0x2d073b(0x125)][_0x28f3bb[_0x2d073b(0x13a)]];this['_bufferedBytes']+=_0x3a65fb[_0x268763],this['_state']=_0x38d242,_0x2af7b0[_0x2d073b(0x15d)](_0x18fe88,_0x3a65fb[_0x2d073b(0x1be)],(_0x27b87d,_0x2a3acc)=>{const _0x5b5dd0=_0x2d073b;if(this[_0x5b5dd0(0x1b2)][_0x5b5dd0(0x180)]){const _0x559bbb=new Error(_0x5b5dd0(0x1ec));_0x429898(this,_0x559bbb,_0x4cd73f);return;}this['_bufferedBytes']-=_0x3a65fb[_0x268763],this['_state']=_0xada185,_0x3a65fb[_0x5b5dd0(0x226)]=!0x1,this['sendFrame'](_0x5924fb[_0x5b5dd0(0x26c)](_0x2a3acc,_0x3a65fb),_0x4cd73f),this[_0x5b5dd0(0x18c)]();});}[_0x457db3(0x18c)](){const _0x5db214=_0x457db3;for(;this[_0x5db214(0x159)]===_0xada185&&this[_0x5db214(0x1f1)][_0x5db214(0x145)];){const _0x3f9995=this['_queue']['shift']();this[_0x5db214(0x267)]-=_0x3f9995[0x3][_0x268763],Reflect['apply'](_0x3f9995[0x0],this,_0x3f9995[_0x5db214(0x23f)](0x1));}}[_0x457db3(0x150)](_0x14e107){const _0x1eaace=_0x457db3;this[_0x1eaace(0x267)]+=_0x14e107[0x3][_0x268763],this[_0x1eaace(0x1f1)][_0x1eaace(0x235)](_0x14e107);}[_0x457db3(0x276)](_0x44ee18,_0x26dc1f){const _0x28e03b=_0x457db3;_0x44ee18[_0x28e03b(0x145)]===0x2?(this[_0x28e03b(0x1b2)][_0x28e03b(0x152)](),this[_0x28e03b(0x1b2)]['write'](_0x44ee18[0x0]),this[_0x28e03b(0x1b2)]['write'](_0x44ee18[0x1],_0x26dc1f),this[_0x28e03b(0x1b2)][_0x28e03b(0x23d)]()):this[_0x28e03b(0x1b2)][_0x28e03b(0x124)](_0x44ee18[0x0],_0x26dc1f);}}Ee=_0x5924fb;function _0x429898(_0x43570b,_0x5cd86f,_0x5af274){const _0x52f239=_0x457db3;typeof _0x5af274==_0x52f239(0x1c7)&&_0x5af274(_0x5cd86f);for(let _0x5eed59=0x0;_0x5eed59<_0x43570b['_queue'][_0x52f239(0x145)];_0x5eed59++){const _0x46b3a1=_0x43570b[_0x52f239(0x1f1)][_0x5eed59],_0x759f17=_0x46b3a1[_0x46b3a1[_0x52f239(0x145)]-0x1];typeof _0x759f17==_0x52f239(0x1c7)&&_0x759f17(_0x5cd86f);}}function _0x31d9d5(_0x53dc1d,_0x57796c,_0x14a296){_0x429898(_0x53dc1d,_0x57796c,_0x14a296),_0x53dc1d['onerror'](_0x57796c);}return Ee;}var xe,Ze;function It(){const _0x238b69=_0x6bbba8;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x73537c,kListener:_0x5ac09a}=H(),_0x1fb581=Symbol(_0x238b69(0x148)),_0x5150a0=Symbol(_0x238b69(0xf9)),_0x96a46a=Symbol(_0x238b69(0x294)),_0x364b31=Symbol('kMessage'),_0x538ba0=Symbol('kReason'),_0x1be80d=Symbol(_0x238b69(0x1d5)),_0x36f659=Symbol(_0x238b69(0x14d)),_0xf0a22f=Symbol(_0x238b69(0x1e0));class _0x3d1ab3{constructor(_0x45fbdc){this[_0x1be80d]=null,this[_0x36f659]=_0x45fbdc;}get[_0x238b69(0x160)](){return this[_0x1be80d];}get['type'](){return this[_0x36f659];}}Object[_0x238b69(0x26d)](_0x3d1ab3[_0x238b69(0x122)],'target',{'enumerable':!0x0}),Object[_0x238b69(0x26d)](_0x3d1ab3[_0x238b69(0x122)],_0x238b69(0x1c1),{'enumerable':!0x0});class _0x1f2564 extends _0x3d1ab3{constructor(_0x5ebeb8,_0xac689e={}){const _0x3539b2=_0x238b69;super(_0x5ebeb8),this[_0x1fb581]=_0xac689e['code']===void 0x0?0x0:_0xac689e['code'],this[_0x538ba0]=_0xac689e[_0x3539b2(0x286)]===void 0x0?'':_0xac689e['reason'],this[_0xf0a22f]=_0xac689e[_0x3539b2(0x143)]===void 0x0?!0x1:_0xac689e[_0x3539b2(0x143)];}get[_0x238b69(0x1a1)](){return this[_0x1fb581];}get['reason'](){return this[_0x538ba0];}get['wasClean'](){return this[_0xf0a22f];}}Object[_0x238b69(0x26d)](_0x1f2564[_0x238b69(0x122)],_0x238b69(0x1a1),{'enumerable':!0x0}),Object['defineProperty'](_0x1f2564[_0x238b69(0x122)],'reason',{'enumerable':!0x0}),Object['defineProperty'](_0x1f2564[_0x238b69(0x122)],_0x238b69(0x143),{'enumerable':!0x0});class _0x23c9b7 extends _0x3d1ab3{constructor(_0x5133fd,_0x5c7371={}){const _0x318e31=_0x238b69;super(_0x5133fd),this[_0x96a46a]=_0x5c7371[_0x318e31(0x114)]===void 0x0?null:_0x5c7371[_0x318e31(0x114)],this[_0x364b31]=_0x5c7371[_0x318e31(0x243)]===void 0x0?'':_0x5c7371['message'];}get[_0x238b69(0x114)](){return this[_0x96a46a];}get['message'](){return this[_0x364b31];}}Object[_0x238b69(0x26d)](_0x23c9b7[_0x238b69(0x122)],_0x238b69(0x114),{'enumerable':!0x0}),Object['defineProperty'](_0x23c9b7[_0x238b69(0x122)],'message',{'enumerable':!0x0});class _0x11d3e4 extends _0x3d1ab3{constructor(_0x1887e1,_0x16b03e={}){const _0x26594d=_0x238b69;super(_0x1887e1),this[_0x5150a0]=_0x16b03e['data']===void 0x0?null:_0x16b03e[_0x26594d(0x11c)];}get[_0x238b69(0x11c)](){return this[_0x5150a0];}}Object['defineProperty'](_0x11d3e4[_0x238b69(0x122)],'data',{'enumerable':!0x0}),xe={'CloseEvent':_0x1f2564,'ErrorEvent':_0x23c9b7,'Event':_0x3d1ab3,'EventTarget':{'addEventListener'(_0x3564b3,_0x5a80b3,_0x3d31d5={}){const _0x21cc67=_0x238b69;for(const _0x2abba1 of this[_0x21cc67(0x28b)](_0x3564b3))if(!_0x3d31d5[_0x73537c]&&_0x2abba1[_0x5ac09a]===_0x5a80b3&&!_0x2abba1[_0x73537c])return;let _0x2b215c;if(_0x3564b3===_0x21cc67(0x243))_0x2b215c=function(_0x39f0ea,_0x389eaf){const _0x3c51f4=_0x21cc67,_0x15c0e8=new _0x11d3e4('message',{'data':_0x389eaf?_0x39f0ea:_0x39f0ea[_0x3c51f4(0x1a2)]()});_0x15c0e8[_0x1be80d]=this,_0x571a95(_0x5a80b3,this,_0x15c0e8);};else{if(_0x3564b3==='close')_0x2b215c=function(_0x4a1e8c,_0x559cdc){const _0x12b390=_0x21cc67,_0x41a5b5=new _0x1f2564(_0x12b390(0x11d),{'code':_0x4a1e8c,'reason':_0x559cdc[_0x12b390(0x1a2)](),'wasClean':this['_closeFrameReceived']&&this[_0x12b390(0x1ac)]});_0x41a5b5[_0x1be80d]=this,_0x571a95(_0x5a80b3,this,_0x41a5b5);};else{if(_0x3564b3==='error')_0x2b215c=function(_0x4d643a){const _0xf44152=new _0x23c9b7('error',{'error':_0x4d643a,'message':_0x4d643a['message']});_0xf44152[_0x1be80d]=this,_0x571a95(_0x5a80b3,this,_0xf44152);};else{if(_0x3564b3==='open')_0x2b215c=function(){const _0x5a9b85=_0x21cc67,_0x1d1807=new _0x3d1ab3(_0x5a9b85(0x1c6));_0x1d1807[_0x1be80d]=this,_0x571a95(_0x5a80b3,this,_0x1d1807);};else return;}}}_0x2b215c[_0x73537c]=!!_0x3d31d5[_0x73537c],_0x2b215c[_0x5ac09a]=_0x5a80b3,_0x3d31d5[_0x21cc67(0x1f8)]?this[_0x21cc67(0x1f8)](_0x3564b3,_0x2b215c):this['on'](_0x3564b3,_0x2b215c);},'removeEventListener'(_0x2686e4,_0x3e4593){const _0x4d40d3=_0x238b69;for(const _0xe3bd2f of this[_0x4d40d3(0x28b)](_0x2686e4))if(_0xe3bd2f[_0x5ac09a]===_0x3e4593&&!_0xe3bd2f[_0x73537c]){this[_0x4d40d3(0x218)](_0x2686e4,_0xe3bd2f);break;}}},'MessageEvent':_0x11d3e4};function _0x571a95(_0x3d0144,_0x32f116,_0x190ff6){const _0x5efbf7=_0x238b69;typeof _0x3d0144==_0x5efbf7(0x19c)&&_0x3d0144['handleEvent']?_0x3d0144[_0x5efbf7(0x128)][_0x5efbf7(0x134)](_0x3d0144,_0x190ff6):_0x3d0144[_0x5efbf7(0x134)](_0x32f116,_0x190ff6);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0xcfd2ba}=ae();function _0x19af0d(_0x4548c1,_0xd4dd8d,_0x30d389){const _0x1d5ef2=_0x61ac;_0x4548c1[_0xd4dd8d]===void 0x0?_0x4548c1[_0xd4dd8d]=[_0x30d389]:_0x4548c1[_0xd4dd8d][_0x1d5ef2(0x235)](_0x30d389);}function _0x37022b(_0x1c91e9){const _0x2a49a2=_0x61ac,_0x442116=Object[_0x2a49a2(0x142)](null);let _0x5d8cca=Object['create'](null),_0x30d9e0=!0x1,_0x5056ff=!0x1,_0x3f5511=!0x1,_0x390b21,_0x4bb167,_0x5db444=-0x1,_0x154a46=-0x1,_0x4c6f07=-0x1,_0x183fe3=0x0;for(;_0x183fe3<_0x1c91e9['length'];_0x183fe3++)if(_0x154a46=_0x1c91e9[_0x2a49a2(0xf6)](_0x183fe3),_0x390b21===void 0x0){if(_0x4c6f07===-0x1&&_0xcfd2ba[_0x154a46]===0x1)_0x5db444===-0x1&&(_0x5db444=_0x183fe3);else{if(_0x183fe3!==0x0&&(_0x154a46===0x20||_0x154a46===0x9))_0x4c6f07===-0x1&&_0x5db444!==-0x1&&(_0x4c6f07=_0x183fe3);else{if(_0x154a46===0x3b||_0x154a46===0x2c){if(_0x5db444===-0x1)throw new SyntaxError(_0x2a49a2(0x223)+_0x183fe3);_0x4c6f07===-0x1&&(_0x4c6f07=_0x183fe3);const _0x410db8=_0x1c91e9[_0x2a49a2(0x23f)](_0x5db444,_0x4c6f07);_0x154a46===0x2c?(_0x19af0d(_0x442116,_0x410db8,_0x5d8cca),_0x5d8cca=Object[_0x2a49a2(0x142)](null)):_0x390b21=_0x410db8,_0x5db444=_0x4c6f07=-0x1;}else throw new SyntaxError(_0x2a49a2(0x223)+_0x183fe3);}}}else{if(_0x4bb167===void 0x0){if(_0x4c6f07===-0x1&&_0xcfd2ba[_0x154a46]===0x1)_0x5db444===-0x1&&(_0x5db444=_0x183fe3);else{if(_0x154a46===0x20||_0x154a46===0x9)_0x4c6f07===-0x1&&_0x5db444!==-0x1&&(_0x4c6f07=_0x183fe3);else{if(_0x154a46===0x3b||_0x154a46===0x2c){if(_0x5db444===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x183fe3);_0x4c6f07===-0x1&&(_0x4c6f07=_0x183fe3),_0x19af0d(_0x5d8cca,_0x1c91e9['slice'](_0x5db444,_0x4c6f07),!0x0),_0x154a46===0x2c&&(_0x19af0d(_0x442116,_0x390b21,_0x5d8cca),_0x5d8cca=Object[_0x2a49a2(0x142)](null),_0x390b21=void 0x0),_0x5db444=_0x4c6f07=-0x1;}else{if(_0x154a46===0x3d&&_0x5db444!==-0x1&&_0x4c6f07===-0x1)_0x4bb167=_0x1c91e9[_0x2a49a2(0x23f)](_0x5db444,_0x183fe3),_0x5db444=_0x4c6f07=-0x1;else throw new SyntaxError(_0x2a49a2(0x223)+_0x183fe3);}}}}else{if(_0x5056ff){if(_0xcfd2ba[_0x154a46]!==0x1)throw new SyntaxError(_0x2a49a2(0x223)+_0x183fe3);_0x5db444===-0x1?_0x5db444=_0x183fe3:_0x30d9e0||(_0x30d9e0=!0x0),_0x5056ff=!0x1;}else{if(_0x3f5511){if(_0xcfd2ba[_0x154a46]===0x1)_0x5db444===-0x1&&(_0x5db444=_0x183fe3);else{if(_0x154a46===0x22&&_0x5db444!==-0x1)_0x3f5511=!0x1,_0x4c6f07=_0x183fe3;else{if(_0x154a46===0x5c)_0x5056ff=!0x0;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x183fe3);}}}else{if(_0x154a46===0x22&&_0x1c91e9[_0x2a49a2(0xf6)](_0x183fe3-0x1)===0x3d)_0x3f5511=!0x0;else{if(_0x4c6f07===-0x1&&_0xcfd2ba[_0x154a46]===0x1)_0x5db444===-0x1&&(_0x5db444=_0x183fe3);else{if(_0x5db444!==-0x1&&(_0x154a46===0x20||_0x154a46===0x9))_0x4c6f07===-0x1&&(_0x4c6f07=_0x183fe3);else{if(_0x154a46===0x3b||_0x154a46===0x2c){if(_0x5db444===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x183fe3);_0x4c6f07===-0x1&&(_0x4c6f07=_0x183fe3);let _0x2341b3=_0x1c91e9[_0x2a49a2(0x23f)](_0x5db444,_0x4c6f07);_0x30d9e0&&(_0x2341b3=_0x2341b3['replace'](/\\/g,''),_0x30d9e0=!0x1),_0x19af0d(_0x5d8cca,_0x4bb167,_0x2341b3),_0x154a46===0x2c&&(_0x19af0d(_0x442116,_0x390b21,_0x5d8cca),_0x5d8cca=Object[_0x2a49a2(0x142)](null),_0x390b21=void 0x0),_0x4bb167=void 0x0,_0x5db444=_0x4c6f07=-0x1;}else throw new SyntaxError(_0x2a49a2(0x223)+_0x183fe3);}}}}}}}if(_0x5db444===-0x1||_0x3f5511||_0x154a46===0x20||_0x154a46===0x9)throw new SyntaxError(_0x2a49a2(0x232));_0x4c6f07===-0x1&&(_0x4c6f07=_0x183fe3);const _0x53493a=_0x1c91e9[_0x2a49a2(0x23f)](_0x5db444,_0x4c6f07);return _0x390b21===void 0x0?_0x19af0d(_0x442116,_0x53493a,_0x5d8cca):(_0x4bb167===void 0x0?_0x19af0d(_0x5d8cca,_0x53493a,!0x0):_0x30d9e0?_0x19af0d(_0x5d8cca,_0x4bb167,_0x53493a[_0x2a49a2(0x1b7)](/\\/g,'')):_0x19af0d(_0x5d8cca,_0x4bb167,_0x53493a),_0x19af0d(_0x442116,_0x390b21,_0x5d8cca)),_0x442116;}function _0x44d172(_0x5d4269){const _0x5b2c04=_0x61ac;return Object[_0x5b2c04(0x25d)](_0x5d4269)[_0x5b2c04(0x1fc)](_0x386d8e=>{const _0x1e66f4=_0x5b2c04;let _0x2eb47d=_0x5d4269[_0x386d8e];return Array[_0x1e66f4(0x17e)](_0x2eb47d)||(_0x2eb47d=[_0x2eb47d]),_0x2eb47d[_0x1e66f4(0x1fc)](_0x12c5eb=>[_0x386d8e][_0x1e66f4(0xf4)](Object[_0x1e66f4(0x25d)](_0x12c5eb)['map'](_0x2a7de3=>{const _0x22583b=_0x1e66f4;let _0x1817f0=_0x12c5eb[_0x2a7de3];return Array[_0x22583b(0x17e)](_0x1817f0)||(_0x1817f0=[_0x1817f0]),_0x1817f0[_0x22583b(0x1fc)](_0x43c6bb=>_0x43c6bb===!0x0?_0x2a7de3:_0x2a7de3+'='+_0x43c6bb)[_0x22583b(0x1c8)](';\x20');}))['join'](';\x20'))['join'](',\x20');})[_0x5b2c04(0x1c8)](',\x20');}return be={'format':_0x44d172,'parse':_0x37022b},be;}var we,Je;function Pe(){const _0xedcfa9=_0x6bbba8;if(Je)return we;Je=0x1;const _0x43eb29=nt,_0x256a75=vt,_0x5e4eea=ot,_0x104c97=St,_0x385828=Et,{randomBytes:_0x3b5d01,createHash:_0x473a38}=Le,{Duplex:_0x29ecb4,Readable:_0x179ef9}=oe,{URL:_0x4ea5a9}=xt,_0x13ff11=he(),_0x4718bd=lt(),_0x4d8e73=ft(),{isBlob:_0x5bb2d4}=ae(),{BINARY_TYPES:_0x376a01,EMPTY_BUFFER:_0x5bd0ee,GUID:_0x4e1425,kForOnEventAttribute:_0x16ab16,kListener:_0x3b443f,kStatusCode:_0x29a8d5,kWebSocket:_0x51792c,NOOP:_0x2dd9dc}=H(),{EventTarget:{addEventListener:_0x3935ec,removeEventListener:_0x3b72ad}}=It(),{format:_0x169a7c,parse:_0x343c55}=ct(),{toBuffer:_0x5d0186}=ce(),_0x3e3ce3=0x1e*0x3e8,_0x11dff0=Symbol(_0xedcfa9(0x1de)),_0x255ebb=[0x8,0xd],_0x28eaca=[_0xedcfa9(0x1d0),_0xedcfa9(0x225),_0xedcfa9(0x297),'CLOSED'],_0x4cbcce=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x4deb6f extends _0x43eb29{constructor(_0x2ebf23,_0x1c8565,_0x42b0b2){const _0x1f2f6d=_0xedcfa9;super(),this[_0x1f2f6d(0x1e4)]=_0x376a01[0x0],this[_0x1f2f6d(0x10d)]=0x3ee,this['_closeFrameReceived']=!0x1,this[_0x1f2f6d(0x1ac)]=!0x1,this['_closeMessage']=_0x5bd0ee,this[_0x1f2f6d(0x121)]=null,this[_0x1f2f6d(0xf5)]=!0x1,this[_0x1f2f6d(0x125)]={},this[_0x1f2f6d(0x1d3)]=!0x1,this['_protocol']='',this['_readyState']=_0x4deb6f[_0x1f2f6d(0x1d0)],this[_0x1f2f6d(0x139)]=null,this[_0x1f2f6d(0x10a)]=null,this[_0x1f2f6d(0x1b2)]=null,_0x2ebf23!==null?(this[_0x1f2f6d(0x1dd)]=0x0,this[_0x1f2f6d(0x1bb)]=!0x1,this[_0x1f2f6d(0x101)]=0x0,_0x1c8565===void 0x0?_0x1c8565=[]:Array[_0x1f2f6d(0x17e)](_0x1c8565)||(typeof _0x1c8565==_0x1f2f6d(0x19c)&&_0x1c8565!==null?(_0x42b0b2=_0x1c8565,_0x1c8565=[]):_0x1c8565=[_0x1c8565]),_0x3b8930(this,_0x2ebf23,_0x1c8565,_0x42b0b2)):(this[_0x1f2f6d(0x1f0)]=_0x42b0b2[_0x1f2f6d(0x205)],this['_isServer']=!0x0);}get[_0xedcfa9(0x2a3)](){const _0x27feed=_0xedcfa9;return this[_0x27feed(0x1e4)];}set['binaryType'](_0x516ca4){const _0x6494c7=_0xedcfa9;_0x376a01[_0x6494c7(0x20e)](_0x516ca4)&&(this[_0x6494c7(0x1e4)]=_0x516ca4,this[_0x6494c7(0x139)]&&(this[_0x6494c7(0x139)][_0x6494c7(0x1e4)]=_0x516ca4));}get['bufferedAmount'](){const _0x30cfb7=_0xedcfa9;return this[_0x30cfb7(0x1b2)]?this[_0x30cfb7(0x1b2)][_0x30cfb7(0x229)][_0x30cfb7(0x145)]+this[_0x30cfb7(0x10a)]['_bufferedBytes']:this[_0x30cfb7(0x1dd)];}get[_0xedcfa9(0x270)](){const _0x141152=_0xedcfa9;return Object[_0x141152(0x25d)](this['_extensions'])['join']();}get['isPaused'](){const _0x2ab38e=_0xedcfa9;return this[_0x2ab38e(0x1d3)];}get[_0xedcfa9(0x227)](){return null;}get[_0xedcfa9(0x1d8)](){return null;}get['onopen'](){return null;}get['onmessage'](){return null;}get[_0xedcfa9(0x10f)](){const _0x1ec595=_0xedcfa9;return this[_0x1ec595(0x246)];}get[_0xedcfa9(0xf7)](){const _0x38758f=_0xedcfa9;return this[_0x38758f(0x13e)];}get[_0xedcfa9(0x22f)](){return this['_url'];}['setSocket'](_0x78f608,_0xddb282,_0x28fbff){const _0x4223c4=_0xedcfa9,_0x40368d=new _0x4718bd({'allowSynchronousEvents':_0x28fbff['allowSynchronousEvents'],'binaryType':this[_0x4223c4(0x2a3)],'extensions':this[_0x4223c4(0x125)],'isServer':this['_isServer'],'maxPayload':_0x28fbff[_0x4223c4(0x1d2)],'skipUTF8Validation':_0x28fbff['skipUTF8Validation']}),_0x2f69bc=new _0x4d8e73(_0x78f608,this[_0x4223c4(0x125)],_0x28fbff[_0x4223c4(0x201)]);this['_receiver']=_0x40368d,this[_0x4223c4(0x10a)]=_0x2f69bc,this[_0x4223c4(0x1b2)]=_0x78f608,_0x40368d[_0x51792c]=this,_0x2f69bc[_0x51792c]=this,_0x78f608[_0x51792c]=this,_0x40368d['on'](_0x4223c4(0x176),_0x23dda9),_0x40368d['on'](_0x4223c4(0x206),_0x718f99),_0x40368d['on'](_0x4223c4(0x114),_0xef6219),_0x40368d['on'](_0x4223c4(0x243),_0x57d0b2),_0x40368d['on'](_0x4223c4(0x237),_0x42c71e),_0x40368d['on'](_0x4223c4(0x2a7),_0x307aa0),_0x2f69bc['onerror']=_0x1a2500,_0x78f608[_0x4223c4(0x1ba)]&&_0x78f608[_0x4223c4(0x1ba)](0x0),_0x78f608[_0x4223c4(0x25b)]&&_0x78f608[_0x4223c4(0x25b)](),_0xddb282[_0x4223c4(0x145)]>0x0&&_0x78f608['unshift'](_0xddb282),_0x78f608['on'](_0x4223c4(0x11d),_0x9b37a9),_0x78f608['on'](_0x4223c4(0x11c),_0xe0dac3),_0x78f608['on'](_0x4223c4(0x22a),_0x3a9e07),_0x78f608['on']('error',_0x25c83e),this[_0x4223c4(0x13e)]=_0x4deb6f[_0x4223c4(0x225)],this[_0x4223c4(0x131)](_0x4223c4(0x1c6));}[_0xedcfa9(0x162)](){const _0x5d215=_0xedcfa9;if(!this['_socket']){this[_0x5d215(0x13e)]=_0x4deb6f[_0x5d215(0x1d9)],this[_0x5d215(0x131)](_0x5d215(0x11d),this[_0x5d215(0x10d)],this[_0x5d215(0x20c)]);return;}this[_0x5d215(0x125)][_0x13ff11[_0x5d215(0x13a)]]&&this['_extensions'][_0x13ff11[_0x5d215(0x13a)]][_0x5d215(0x144)](),this[_0x5d215(0x139)][_0x5d215(0x1b3)](),this['_readyState']=_0x4deb6f[_0x5d215(0x1d9)],this[_0x5d215(0x131)](_0x5d215(0x11d),this[_0x5d215(0x10d)],this[_0x5d215(0x20c)]);}[_0xedcfa9(0x11d)](_0x4eb6df,_0x3ca591){const _0x43edf0=_0xedcfa9;if(this[_0x43edf0(0xf7)]!==_0x4deb6f[_0x43edf0(0x1d9)]){if(this[_0x43edf0(0xf7)]===_0x4deb6f['CONNECTING']){_0x420ec4(this,this[_0x43edf0(0x18d)],_0x43edf0(0x111));return;}if(this['readyState']===_0x4deb6f['CLOSING']){this[_0x43edf0(0x1ac)]&&(this[_0x43edf0(0x112)]||this[_0x43edf0(0x139)]['_writableState'][_0x43edf0(0x24b)])&&this[_0x43edf0(0x1b2)][_0x43edf0(0x22a)]();return;}this[_0x43edf0(0x13e)]=_0x4deb6f['CLOSING'],this[_0x43edf0(0x10a)][_0x43edf0(0x11d)](_0x4eb6df,_0x3ca591,!this['_isServer'],_0x522b64=>{const _0x44a3b8=_0x43edf0;_0x522b64||(this[_0x44a3b8(0x1ac)]=!0x0,(this[_0x44a3b8(0x112)]||this[_0x44a3b8(0x139)]['_writableState'][_0x44a3b8(0x24b)])&&this[_0x44a3b8(0x1b2)][_0x44a3b8(0x22a)]());}),_0x5a191c(this);}}['pause'](){const _0x119f4c=_0xedcfa9;this[_0x119f4c(0xf7)]===_0x4deb6f[_0x119f4c(0x1d0)]||this['readyState']===_0x4deb6f[_0x119f4c(0x1d9)]||(this[_0x119f4c(0x1d3)]=!0x0,this[_0x119f4c(0x1b2)][_0x119f4c(0x184)]());}[_0xedcfa9(0x237)](_0x3740d5,_0x34ec30,_0x42a925){const _0x549f16=_0xedcfa9;if(this[_0x549f16(0xf7)]===_0x4deb6f['CONNECTING'])throw new Error(_0x549f16(0x115));if(typeof _0x3740d5==_0x549f16(0x1c7)?(_0x42a925=_0x3740d5,_0x3740d5=_0x34ec30=void 0x0):typeof _0x34ec30=='function'&&(_0x42a925=_0x34ec30,_0x34ec30=void 0x0),typeof _0x3740d5==_0x549f16(0x21b)&&(_0x3740d5=_0x3740d5[_0x549f16(0x1a2)]()),this[_0x549f16(0xf7)]!==_0x4deb6f[_0x549f16(0x225)]){_0x278280(this,_0x3740d5,_0x42a925);return;}_0x34ec30===void 0x0&&(_0x34ec30=!this['_isServer']),this[_0x549f16(0x10a)][_0x549f16(0x237)](_0x3740d5||_0x5bd0ee,_0x34ec30,_0x42a925);}[_0xedcfa9(0x2a7)](_0x456d45,_0x20cf89,_0x1dad97){const _0x3b65cc=_0xedcfa9;if(this[_0x3b65cc(0xf7)]===_0x4deb6f[_0x3b65cc(0x1d0)])throw new Error(_0x3b65cc(0x115));if(typeof _0x456d45=='function'?(_0x1dad97=_0x456d45,_0x456d45=_0x20cf89=void 0x0):typeof _0x20cf89=='function'&&(_0x1dad97=_0x20cf89,_0x20cf89=void 0x0),typeof _0x456d45=='number'&&(_0x456d45=_0x456d45['toString']()),this[_0x3b65cc(0xf7)]!==_0x4deb6f[_0x3b65cc(0x225)]){_0x278280(this,_0x456d45,_0x1dad97);return;}_0x20cf89===void 0x0&&(_0x20cf89=!this[_0x3b65cc(0x1bb)]),this[_0x3b65cc(0x10a)][_0x3b65cc(0x2a7)](_0x456d45||_0x5bd0ee,_0x20cf89,_0x1dad97);}['resume'](){const _0x5ef258=_0xedcfa9;this[_0x5ef258(0xf7)]===_0x4deb6f[_0x5ef258(0x1d0)]||this[_0x5ef258(0xf7)]===_0x4deb6f['CLOSED']||(this[_0x5ef258(0x1d3)]=!0x1,this[_0x5ef258(0x139)]['_writableState'][_0x5ef258(0x22d)]||this[_0x5ef258(0x1b2)][_0x5ef258(0x13d)]());}[_0xedcfa9(0x299)](_0x21f388,_0x4132b2,_0x1c9b56){const _0x1e52dd=_0xedcfa9;if(this['readyState']===_0x4deb6f['CONNECTING'])throw new Error(_0x1e52dd(0x115));if(typeof _0x4132b2=='function'&&(_0x1c9b56=_0x4132b2,_0x4132b2={}),typeof _0x21f388==_0x1e52dd(0x21b)&&(_0x21f388=_0x21f388[_0x1e52dd(0x1a2)]()),this[_0x1e52dd(0xf7)]!==_0x4deb6f[_0x1e52dd(0x225)]){_0x278280(this,_0x21f388,_0x1c9b56);return;}const _0x9247d2={'binary':typeof _0x21f388!=_0x1e52dd(0x11a),'mask':!this[_0x1e52dd(0x1bb)],'compress':!0x0,'fin':!0x0,..._0x4132b2};this[_0x1e52dd(0x125)][_0x13ff11[_0x1e52dd(0x13a)]]||(_0x9247d2[_0x1e52dd(0x15d)]=!0x1),this[_0x1e52dd(0x10a)][_0x1e52dd(0x299)](_0x21f388||_0x5bd0ee,_0x9247d2,_0x1c9b56);}[_0xedcfa9(0x1a3)](){const _0x3d5c4a=_0xedcfa9;if(this[_0x3d5c4a(0xf7)]!==_0x4deb6f['CLOSED']){if(this[_0x3d5c4a(0xf7)]===_0x4deb6f[_0x3d5c4a(0x1d0)]){_0x420ec4(this,this['_req'],_0x3d5c4a(0x111));return;}this['_socket']&&(this['_readyState']=_0x4deb6f[_0x3d5c4a(0x297)],this[_0x3d5c4a(0x1b2)][_0x3d5c4a(0x17b)]());}}}Object[_0xedcfa9(0x26d)](_0x4deb6f,_0xedcfa9(0x1d0),{'enumerable':!0x0,'value':_0x28eaca[_0xedcfa9(0x275)]('CONNECTING')}),Object[_0xedcfa9(0x26d)](_0x4deb6f[_0xedcfa9(0x122)],_0xedcfa9(0x1d0),{'enumerable':!0x0,'value':_0x28eaca[_0xedcfa9(0x275)](_0xedcfa9(0x1d0))}),Object[_0xedcfa9(0x26d)](_0x4deb6f,_0xedcfa9(0x225),{'enumerable':!0x0,'value':_0x28eaca[_0xedcfa9(0x275)](_0xedcfa9(0x225))}),Object[_0xedcfa9(0x26d)](_0x4deb6f[_0xedcfa9(0x122)],_0xedcfa9(0x225),{'enumerable':!0x0,'value':_0x28eaca[_0xedcfa9(0x275)](_0xedcfa9(0x225))}),Object['defineProperty'](_0x4deb6f,'CLOSING',{'enumerable':!0x0,'value':_0x28eaca[_0xedcfa9(0x275)](_0xedcfa9(0x297))}),Object[_0xedcfa9(0x26d)](_0x4deb6f['prototype'],_0xedcfa9(0x297),{'enumerable':!0x0,'value':_0x28eaca[_0xedcfa9(0x275)](_0xedcfa9(0x297))}),Object['defineProperty'](_0x4deb6f,_0xedcfa9(0x1d9),{'enumerable':!0x0,'value':_0x28eaca['indexOf']('CLOSED')}),Object[_0xedcfa9(0x26d)](_0x4deb6f[_0xedcfa9(0x122)],_0xedcfa9(0x1d9),{'enumerable':!0x0,'value':_0x28eaca[_0xedcfa9(0x275)](_0xedcfa9(0x1d9))}),[_0xedcfa9(0x2a3),'bufferedAmount','extensions','isPaused',_0xedcfa9(0x10f),_0xedcfa9(0xf7),_0xedcfa9(0x22f)][_0xedcfa9(0x2b1)](_0x377c7b=>{const _0x55df93=_0xedcfa9;Object[_0x55df93(0x26d)](_0x4deb6f[_0x55df93(0x122)],_0x377c7b,{'enumerable':!0x0});}),['open',_0xedcfa9(0x114),_0xedcfa9(0x11d),_0xedcfa9(0x243)]['forEach'](_0xa42cc9=>{const _0x5a5952=_0xedcfa9;Object[_0x5a5952(0x26d)](_0x4deb6f[_0x5a5952(0x122)],'on'+_0xa42cc9,{'enumerable':!0x0,'get'(){const _0x43d8d1=_0x5a5952;for(const _0x7ec42c of this[_0x43d8d1(0x28b)](_0xa42cc9))if(_0x7ec42c[_0x16ab16])return _0x7ec42c[_0x3b443f];return null;},'set'(_0x42ffc9){const _0x39c0bb=_0x5a5952;for(const _0x18ab8b of this[_0x39c0bb(0x28b)](_0xa42cc9))if(_0x18ab8b[_0x16ab16]){this['removeListener'](_0xa42cc9,_0x18ab8b);break;}typeof _0x42ffc9=='function'&&this[_0x39c0bb(0x103)](_0xa42cc9,_0x42ffc9,{[_0x16ab16]:!0x0});}});}),_0x4deb6f[_0xedcfa9(0x122)][_0xedcfa9(0x103)]=_0x3935ec,_0x4deb6f['prototype']['removeEventListener']=_0x3b72ad,we=_0x4deb6f;function _0x3b8930(_0x3a17ca,_0x1ce168,_0x5ad67b,_0x4da604){const _0x54979d=_0xedcfa9,_0x6b5cd7={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x255ebb[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x4da604,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x54979d(0x2b2),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x3a17ca[_0x54979d(0x1f0)]=_0x6b5cd7['autoPong'],!_0x255ebb[_0x54979d(0x20e)](_0x6b5cd7[_0x54979d(0x16a)]))throw new RangeError(_0x54979d(0x230)+_0x6b5cd7['protocolVersion']+_0x54979d(0x2ad)+_0x255ebb['join'](',\x20')+')');let _0x6a0bb0;if(_0x1ce168 instanceof _0x4ea5a9)_0x6a0bb0=_0x1ce168;else try{_0x6a0bb0=new _0x4ea5a9(_0x1ce168);}catch{throw new SyntaxError('Invalid\x20URL:\x20'+_0x1ce168);}_0x6a0bb0['protocol']===_0x54979d(0x169)?_0x6a0bb0[_0x54979d(0x10f)]=_0x54979d(0x254):_0x6a0bb0[_0x54979d(0x10f)]===_0x54979d(0x15a)&&(_0x6a0bb0[_0x54979d(0x10f)]=_0x54979d(0xfc)),_0x3a17ca[_0x54979d(0x295)]=_0x6a0bb0[_0x54979d(0x25f)];const _0x2bbe25=_0x6a0bb0[_0x54979d(0x10f)]==='wss:',_0x57571e=_0x6a0bb0[_0x54979d(0x10f)]===_0x54979d(0x15c);let _0x52f8cc;if(_0x6a0bb0[_0x54979d(0x10f)]!==_0x54979d(0x254)&&!_0x2bbe25&&!_0x57571e?_0x52f8cc=_0x54979d(0x1cb):_0x57571e&&!_0x6a0bb0[_0x54979d(0x288)]?_0x52f8cc=_0x54979d(0x1eb):_0x6a0bb0[_0x54979d(0x195)]&&(_0x52f8cc=_0x54979d(0x292)),_0x52f8cc){const _0x1635d7=new SyntaxError(_0x52f8cc);if(_0x3a17ca[_0x54979d(0x101)]===0x0)throw _0x1635d7;_0x56ee2f(_0x3a17ca,_0x1635d7);return;}const _0x5e0ad1=_0x2bbe25?0x1bb:0x50,_0x42321e=_0x3b5d01(0x10)[_0x54979d(0x1a2)](_0x54979d(0x108)),_0x7c9779=_0x2bbe25?_0x256a75['request']:_0x5e4eea[_0x54979d(0x1b1)],_0x25e2bc=new Set();let _0x46dd48;if(_0x6b5cd7[_0x54979d(0x289)]=_0x6b5cd7[_0x54979d(0x289)]||(_0x2bbe25?_0x110912:_0x50a866),_0x6b5cd7['defaultPort']=_0x6b5cd7['defaultPort']||_0x5e0ad1,_0x6b5cd7['port']=_0x6a0bb0[_0x54979d(0x21e)]||_0x5e0ad1,_0x6b5cd7['host']=_0x6a0bb0[_0x54979d(0x259)][_0x54979d(0x211)]('[')?_0x6a0bb0[_0x54979d(0x259)][_0x54979d(0x23f)](0x1,-0x1):_0x6a0bb0[_0x54979d(0x259)],_0x6b5cd7[_0x54979d(0x221)]={..._0x6b5cd7['headers'],'Sec-WebSocket-Version':_0x6b5cd7[_0x54979d(0x16a)],'Sec-WebSocket-Key':_0x42321e,'Connection':_0x54979d(0x24c),'Upgrade':_0x54979d(0x29f)},_0x6b5cd7['path']=_0x6a0bb0[_0x54979d(0x288)]+_0x6a0bb0[_0x54979d(0x165)],_0x6b5cd7[_0x54979d(0x1c3)]=_0x6b5cd7[_0x54979d(0x272)],_0x6b5cd7[_0x54979d(0x174)]&&(_0x46dd48=new _0x13ff11(_0x6b5cd7['perMessageDeflate']!==!0x0?_0x6b5cd7[_0x54979d(0x174)]:{},!0x1,_0x6b5cd7[_0x54979d(0x1d2)]),_0x6b5cd7['headers'][_0x54979d(0x253)]=_0x169a7c({[_0x13ff11['extensionName']]:_0x46dd48['offer']()})),_0x5ad67b[_0x54979d(0x145)]){for(const _0x3cde92 of _0x5ad67b){if(typeof _0x3cde92!=_0x54979d(0x11a)||!_0x4cbcce[_0x54979d(0x296)](_0x3cde92)||_0x25e2bc['has'](_0x3cde92))throw new SyntaxError(_0x54979d(0x2a5));_0x25e2bc['add'](_0x3cde92);}_0x6b5cd7[_0x54979d(0x221)][_0x54979d(0x1af)]=_0x5ad67b[_0x54979d(0x1c8)](',');}if(_0x6b5cd7[_0x54979d(0x1d1)]&&(_0x6b5cd7['protocolVersion']<0xd?_0x6b5cd7['headers'][_0x54979d(0x168)]=_0x6b5cd7['origin']:_0x6b5cd7[_0x54979d(0x221)][_0x54979d(0x23b)]=_0x6b5cd7[_0x54979d(0x1d1)]),(_0x6a0bb0[_0x54979d(0x224)]||_0x6a0bb0[_0x54979d(0x1a0)])&&(_0x6b5cd7[_0x54979d(0x26f)]=_0x6a0bb0[_0x54979d(0x224)]+':'+_0x6a0bb0[_0x54979d(0x1a0)]),_0x57571e){const _0x54c222=_0x6b5cd7[_0x54979d(0x10c)][_0x54979d(0x1e3)](':');_0x6b5cd7[_0x54979d(0x27b)]=_0x54c222[0x0],_0x6b5cd7[_0x54979d(0x10c)]=_0x54c222[0x1];}let _0x402547;if(_0x6b5cd7[_0x54979d(0x18f)]){if(_0x3a17ca[_0x54979d(0x101)]===0x0){_0x3a17ca[_0x54979d(0x2b5)]=_0x57571e,_0x3a17ca[_0x54979d(0x16f)]=_0x2bbe25,_0x3a17ca[_0x54979d(0x258)]=_0x57571e?_0x6b5cd7[_0x54979d(0x27b)]:_0x6a0bb0[_0x54979d(0x1f9)];const _0x6c53e5=_0x4da604&&_0x4da604['headers'];if(_0x4da604={..._0x4da604,'headers':{}},_0x6c53e5){for(const [_0xf370ca,_0x324d37]of Object[_0x54979d(0x1ae)](_0x6c53e5))_0x4da604[_0x54979d(0x221)][_0xf370ca[_0x54979d(0x190)]()]=_0x324d37;}}else{if(_0x3a17ca[_0x54979d(0x1b9)](_0x54979d(0x20f))===0x0){const _0x43dbaf=_0x57571e?_0x3a17ca[_0x54979d(0x2b5)]?_0x6b5cd7[_0x54979d(0x27b)]===_0x3a17ca[_0x54979d(0x258)]:!0x1:_0x3a17ca['_originalIpc']?!0x1:_0x6a0bb0['host']===_0x3a17ca[_0x54979d(0x258)];(!_0x43dbaf||_0x3a17ca[_0x54979d(0x16f)]&&!_0x2bbe25)&&(delete _0x6b5cd7['headers'][_0x54979d(0x1a5)],delete _0x6b5cd7['headers'][_0x54979d(0x21f)],_0x43dbaf||delete _0x6b5cd7[_0x54979d(0x221)][_0x54979d(0x1f9)],_0x6b5cd7[_0x54979d(0x26f)]=void 0x0);}}_0x6b5cd7[_0x54979d(0x26f)]&&!_0x4da604[_0x54979d(0x221)][_0x54979d(0x1a5)]&&(_0x4da604[_0x54979d(0x221)]['authorization']='Basic\x20'+Buffer[_0x54979d(0x247)](_0x6b5cd7['auth'])['toString'](_0x54979d(0x108))),_0x402547=_0x3a17ca[_0x54979d(0x18d)]=_0x7c9779(_0x6b5cd7),_0x3a17ca[_0x54979d(0x101)]&&_0x3a17ca[_0x54979d(0x131)](_0x54979d(0x20f),_0x3a17ca[_0x54979d(0x22f)],_0x402547);}else _0x402547=_0x3a17ca[_0x54979d(0x18d)]=_0x7c9779(_0x6b5cd7);_0x6b5cd7[_0x54979d(0x1c3)]&&_0x402547['on'](_0x54979d(0x1c3),()=>{const _0x3222d9=_0x54979d;_0x420ec4(_0x3a17ca,_0x402547,_0x3222d9(0x256));}),_0x402547['on'](_0x54979d(0x114),_0x72bd4d=>{_0x402547===null||_0x402547[_0x11dff0]||(_0x402547=_0x3a17ca['_req']=null,_0x56ee2f(_0x3a17ca,_0x72bd4d));}),_0x402547['on'](_0x54979d(0x2a8),_0xd886d2=>{const _0x5b3fdb=_0x54979d,_0x158ea7=_0xd886d2[_0x5b3fdb(0x221)][_0x5b3fdb(0x186)],_0x52feb5=_0xd886d2[_0x5b3fdb(0x210)];if(_0x158ea7&&_0x6b5cd7[_0x5b3fdb(0x18f)]&&_0x52feb5>=0x12c&&_0x52feb5<0x190){if(++_0x3a17ca['_redirects']>_0x6b5cd7[_0x5b3fdb(0x1ad)]){_0x420ec4(_0x3a17ca,_0x402547,'Maximum\x20redirects\x20exceeded');return;}_0x402547[_0x5b3fdb(0x29e)]();let _0x5d88c6;try{_0x5d88c6=new _0x4ea5a9(_0x158ea7,_0x1ce168);}catch{const _0x34cb68=new SyntaxError('Invalid\x20URL:\x20'+_0x158ea7);_0x56ee2f(_0x3a17ca,_0x34cb68);return;}_0x3b8930(_0x3a17ca,_0x5d88c6,_0x5ad67b,_0x4da604);}else _0x3a17ca[_0x5b3fdb(0x131)](_0x5b3fdb(0x27a),_0x402547,_0xd886d2)||_0x420ec4(_0x3a17ca,_0x402547,_0x5b3fdb(0x28a)+_0xd886d2[_0x5b3fdb(0x210)]);}),_0x402547['on']('upgrade',(_0x50cc05,_0x1a3839,_0x329e7f)=>{const _0x2ea241=_0x54979d;if(_0x3a17ca[_0x2ea241(0x131)](_0x2ea241(0x257),_0x50cc05),_0x3a17ca[_0x2ea241(0xf7)]!==_0x4deb6f['CONNECTING'])return;_0x402547=_0x3a17ca[_0x2ea241(0x18d)]=null;const _0x3f38d7=_0x50cc05['headers'][_0x2ea241(0x257)];if(_0x3f38d7===void 0x0||_0x3f38d7[_0x2ea241(0x190)]()!==_0x2ea241(0x29f)){_0x420ec4(_0x3a17ca,_0x1a3839,_0x2ea241(0x12a));return;}const _0x2e5ed4=_0x473a38(_0x2ea241(0x209))[_0x2ea241(0x282)](_0x42321e+_0x4e1425)['digest'](_0x2ea241(0x108));if(_0x50cc05[_0x2ea241(0x221)][_0x2ea241(0x11f)]!==_0x2e5ed4){_0x420ec4(_0x3a17ca,_0x1a3839,_0x2ea241(0xf2));return;}const _0xf4d50e=_0x50cc05[_0x2ea241(0x221)]['sec-websocket-protocol'];let _0x2ba87f;if(_0xf4d50e!==void 0x0?_0x25e2bc[_0x2ea241(0x130)]?_0x25e2bc[_0x2ea241(0x220)](_0xf4d50e)||(_0x2ba87f='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0x2ba87f='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0x25e2bc[_0x2ea241(0x130)]&&(_0x2ba87f=_0x2ea241(0x161)),_0x2ba87f){_0x420ec4(_0x3a17ca,_0x1a3839,_0x2ba87f);return;}_0xf4d50e&&(_0x3a17ca[_0x2ea241(0x246)]=_0xf4d50e);const _0x4ba8a1=_0x50cc05['headers'][_0x2ea241(0x1fb)];if(_0x4ba8a1!==void 0x0){if(!_0x46dd48){_0x420ec4(_0x3a17ca,_0x1a3839,'Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested');return;}let _0x2232b7;try{_0x2232b7=_0x343c55(_0x4ba8a1);}catch{_0x420ec4(_0x3a17ca,_0x1a3839,_0x2ea241(0x215));return;}const _0x31e8fd=Object[_0x2ea241(0x25d)](_0x2232b7);if(_0x31e8fd[_0x2ea241(0x145)]!==0x1||_0x31e8fd[0x0]!==_0x13ff11[_0x2ea241(0x13a)]){_0x420ec4(_0x3a17ca,_0x1a3839,'Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested');return;}try{_0x46dd48[_0x2ea241(0x19b)](_0x2232b7[_0x13ff11[_0x2ea241(0x13a)]]);}catch{_0x420ec4(_0x3a17ca,_0x1a3839,_0x2ea241(0x215));return;}_0x3a17ca[_0x2ea241(0x125)][_0x13ff11['extensionName']]=_0x46dd48;}_0x3a17ca[_0x2ea241(0x241)](_0x1a3839,_0x329e7f,{'allowSynchronousEvents':_0x6b5cd7['allowSynchronousEvents'],'generateMask':_0x6b5cd7[_0x2ea241(0x201)],'maxPayload':_0x6b5cd7[_0x2ea241(0x1d2)],'skipUTF8Validation':_0x6b5cd7[_0x2ea241(0x277)]});}),_0x6b5cd7[_0x54979d(0x219)]?_0x6b5cd7['finishRequest'](_0x402547,_0x3a17ca):_0x402547[_0x54979d(0x22a)]();}function _0x56ee2f(_0x3234fb,_0x3971d4){const _0x1752e7=_0xedcfa9;_0x3234fb[_0x1752e7(0x13e)]=_0x4deb6f['CLOSING'],_0x3234fb[_0x1752e7(0xf5)]=!0x0,_0x3234fb[_0x1752e7(0x131)](_0x1752e7(0x114),_0x3971d4),_0x3234fb['emitClose']();}function _0x50a866(_0x198054){const _0x361e10=_0xedcfa9;return _0x198054[_0x361e10(0x10c)]=_0x198054['socketPath'],_0x104c97[_0x361e10(0x167)](_0x198054);}function _0x110912(_0x44b22a){const _0x49203d=_0xedcfa9;return _0x44b22a[_0x49203d(0x10c)]=void 0x0,!_0x44b22a[_0x49203d(0x187)]&&_0x44b22a['servername']!==''&&(_0x44b22a[_0x49203d(0x187)]=_0x104c97[_0x49203d(0x2a2)](_0x44b22a[_0x49203d(0x1f9)])?'':_0x44b22a['host']),_0x385828[_0x49203d(0x167)](_0x44b22a);}function _0x420ec4(_0x404d88,_0x5dabd6,_0x558eb0){const _0x18bece=_0xedcfa9;_0x404d88[_0x18bece(0x13e)]=_0x4deb6f[_0x18bece(0x297)];const _0x1b7e8d=new Error(_0x558eb0);Error[_0x18bece(0x151)](_0x1b7e8d,_0x420ec4),_0x5dabd6['setHeader']?(_0x5dabd6[_0x11dff0]=!0x0,_0x5dabd6[_0x18bece(0x29e)](),_0x5dabd6[_0x18bece(0x1ab)]&&!_0x5dabd6[_0x18bece(0x1ab)][_0x18bece(0x180)]&&_0x5dabd6[_0x18bece(0x1ab)][_0x18bece(0x17b)](),process[_0x18bece(0x287)](_0x56ee2f,_0x404d88,_0x1b7e8d)):(_0x5dabd6['destroy'](_0x1b7e8d),_0x5dabd6[_0x18bece(0x1f8)](_0x18bece(0x114),_0x404d88[_0x18bece(0x131)][_0x18bece(0x158)](_0x404d88,_0x18bece(0x114))),_0x5dabd6[_0x18bece(0x1f8)](_0x18bece(0x11d),_0x404d88['emitClose'][_0x18bece(0x158)](_0x404d88)));}function _0x278280(_0x244844,_0xe1829b,_0x34f1e1){const _0x4a9aa9=_0xedcfa9;if(_0xe1829b){const _0x3df5c8=_0x5bb2d4(_0xe1829b)?_0xe1829b[_0x4a9aa9(0x130)]:_0x5d0186(_0xe1829b)[_0x4a9aa9(0x145)];_0x244844['_socket']?_0x244844[_0x4a9aa9(0x10a)][_0x4a9aa9(0x267)]+=_0x3df5c8:_0x244844['_bufferedAmount']+=_0x3df5c8;}if(_0x34f1e1){const _0x1aea90=new Error(_0x4a9aa9(0x2ac)+_0x244844['readyState']+'\x20('+_0x28eaca[_0x244844['readyState']]+')');process[_0x4a9aa9(0x287)](_0x34f1e1,_0x1aea90);}}function _0x23dda9(_0x38b875,_0x53e2e7){const _0x5a68fa=_0xedcfa9,_0x80b5a1=this[_0x51792c];_0x80b5a1[_0x5a68fa(0x112)]=!0x0,_0x80b5a1['_closeMessage']=_0x53e2e7,_0x80b5a1[_0x5a68fa(0x10d)]=_0x38b875,_0x80b5a1['_socket'][_0x51792c]!==void 0x0&&(_0x80b5a1[_0x5a68fa(0x1b2)]['removeListener'](_0x5a68fa(0x11c),_0xe0dac3),process['nextTick'](_0x2b0212,_0x80b5a1[_0x5a68fa(0x1b2)]),_0x38b875===0x3ed?_0x80b5a1['close']():_0x80b5a1[_0x5a68fa(0x11d)](_0x38b875,_0x53e2e7));}function _0x718f99(){const _0x24c480=_0xedcfa9,_0x57c790=this[_0x51792c];_0x57c790['isPaused']||_0x57c790[_0x24c480(0x1b2)]['resume']();}function _0xef6219(_0x5b472f){const _0x110640=_0xedcfa9,_0x19c0de=this[_0x51792c];_0x19c0de[_0x110640(0x1b2)][_0x51792c]!==void 0x0&&(_0x19c0de[_0x110640(0x1b2)][_0x110640(0x218)](_0x110640(0x11c),_0xe0dac3),process[_0x110640(0x287)](_0x2b0212,_0x19c0de[_0x110640(0x1b2)]),_0x19c0de[_0x110640(0x11d)](_0x5b472f[_0x29a8d5])),_0x19c0de[_0x110640(0xf5)]||(_0x19c0de[_0x110640(0xf5)]=!0x0,_0x19c0de[_0x110640(0x131)](_0x110640(0x114),_0x5b472f));}function _0x37be30(){const _0x456d33=_0xedcfa9;this[_0x51792c][_0x456d33(0x162)]();}function _0x57d0b2(_0x32b50c,_0x31cf5b){const _0xf413b8=_0xedcfa9;this[_0x51792c]['emit'](_0xf413b8(0x243),_0x32b50c,_0x31cf5b);}function _0x42c71e(_0x1ce09b){const _0x16e44e=_0xedcfa9,_0x2e0f7c=this[_0x51792c];_0x2e0f7c[_0x16e44e(0x1f0)]&&_0x2e0f7c[_0x16e44e(0x2a7)](_0x1ce09b,!this[_0x16e44e(0x1bb)],_0x2dd9dc),_0x2e0f7c['emit'](_0x16e44e(0x237),_0x1ce09b);}function _0x307aa0(_0x51ae90){const _0x46cc1a=_0xedcfa9;this[_0x51792c][_0x46cc1a(0x131)](_0x46cc1a(0x2a7),_0x51ae90);}function _0x2b0212(_0x459ff8){const _0x30f413=_0xedcfa9;_0x459ff8[_0x30f413(0x13d)]();}function _0x1a2500(_0x46db46){const _0x4e3565=_0xedcfa9,_0x504cec=this[_0x51792c];_0x504cec[_0x4e3565(0xf7)]!==_0x4deb6f['CLOSED']&&(_0x504cec[_0x4e3565(0xf7)]===_0x4deb6f['OPEN']&&(_0x504cec[_0x4e3565(0x13e)]=_0x4deb6f[_0x4e3565(0x297)],_0x5a191c(_0x504cec)),this['_socket'][_0x4e3565(0x22a)](),_0x504cec[_0x4e3565(0xf5)]||(_0x504cec[_0x4e3565(0xf5)]=!0x0,_0x504cec[_0x4e3565(0x131)](_0x4e3565(0x114),_0x46db46)));}function _0x5a191c(_0x1e0b16){const _0x1f3616=_0xedcfa9;_0x1e0b16[_0x1f3616(0x121)]=setTimeout(_0x1e0b16[_0x1f3616(0x1b2)][_0x1f3616(0x17b)]['bind'](_0x1e0b16['_socket']),_0x3e3ce3);}function _0x9b37a9(){const _0x5e7bc7=_0xedcfa9,_0x267663=this[_0x51792c];this[_0x5e7bc7(0x218)](_0x5e7bc7(0x11d),_0x9b37a9),this[_0x5e7bc7(0x218)](_0x5e7bc7(0x11c),_0xe0dac3),this['removeListener'](_0x5e7bc7(0x22a),_0x3a9e07),_0x267663['_readyState']=_0x4deb6f[_0x5e7bc7(0x297)];let _0xf1986f;!this['_readableState'][_0x5e7bc7(0x1c4)]&&!_0x267663[_0x5e7bc7(0x112)]&&!_0x267663[_0x5e7bc7(0x139)][_0x5e7bc7(0x229)]['errorEmitted']&&(_0xf1986f=_0x267663[_0x5e7bc7(0x1b2)][_0x5e7bc7(0x236)]())!==null&&_0x267663[_0x5e7bc7(0x139)][_0x5e7bc7(0x124)](_0xf1986f),_0x267663[_0x5e7bc7(0x139)][_0x5e7bc7(0x22a)](),this[_0x51792c]=void 0x0,clearTimeout(_0x267663[_0x5e7bc7(0x121)]),_0x267663[_0x5e7bc7(0x139)][_0x5e7bc7(0x229)][_0x5e7bc7(0x255)]||_0x267663['_receiver'][_0x5e7bc7(0x229)]['errorEmitted']?_0x267663[_0x5e7bc7(0x162)]():(_0x267663['_receiver']['on'](_0x5e7bc7(0x114),_0x37be30),_0x267663[_0x5e7bc7(0x139)]['on'](_0x5e7bc7(0x2a0),_0x37be30));}function _0xe0dac3(_0x2dc226){const _0x3cf7f8=_0xedcfa9;this[_0x51792c][_0x3cf7f8(0x139)]['write'](_0x2dc226)||this['pause']();}function _0x3a9e07(){const _0x43316b=_0xedcfa9,_0x14976a=this[_0x51792c];_0x14976a['_readyState']=_0x4deb6f[_0x43316b(0x297)],_0x14976a[_0x43316b(0x139)]['end'](),this['end']();}function _0x25c83e(){const _0x31ffad=_0xedcfa9,_0x11c26b=this[_0x51792c];this[_0x31ffad(0x218)](_0x31ffad(0x114),_0x25c83e),this['on'](_0x31ffad(0x114),_0x2dd9dc),_0x11c26b&&(_0x11c26b[_0x31ffad(0x13e)]=_0x4deb6f[_0x31ffad(0x297)],this[_0x31ffad(0x17b)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x11180f}=oe;function _0xad56a5(_0x5a4653){const _0xf5ae8d=_0x61ac;_0x5a4653[_0xf5ae8d(0x131)](_0xf5ae8d(0x11d));}function _0x5d5acb(){const _0x47667b=_0x61ac;!this[_0x47667b(0x180)]&&this[_0x47667b(0x229)]['finished']&&this[_0x47667b(0x17b)]();}function _0x5e28dc(_0x139767){const _0x316187=_0x61ac;this['removeListener'](_0x316187(0x114),_0x5e28dc),this[_0x316187(0x17b)](),this[_0x316187(0x1b9)]('error')===0x0&&this[_0x316187(0x131)](_0x316187(0x114),_0x139767);}function _0x1f81eb(_0x56f98e,_0x294425){const _0x148ca1=_0x61ac;let _0x2b7539=!0x0;const _0x220b85=new _0x11180f({..._0x294425,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x56f98e['on'](_0x148ca1(0x243),function(_0x56afd7,_0x4495d){const _0x4cc6b7=_0x148ca1,_0x49d50d=!_0x4495d&&_0x220b85[_0x4cc6b7(0x15f)][_0x4cc6b7(0xff)]?_0x56afd7[_0x4cc6b7(0x1a2)]():_0x56afd7;_0x220b85[_0x4cc6b7(0x235)](_0x49d50d)||_0x56f98e[_0x4cc6b7(0x184)]();}),_0x56f98e[_0x148ca1(0x1f8)](_0x148ca1(0x114),function(_0x4156f3){const _0x3899ba=_0x148ca1;_0x220b85[_0x3899ba(0x180)]||(_0x2b7539=!0x1,_0x220b85[_0x3899ba(0x17b)](_0x4156f3));}),_0x56f98e[_0x148ca1(0x1f8)](_0x148ca1(0x11d),function(){const _0x5e25e1=_0x148ca1;_0x220b85['destroyed']||_0x220b85[_0x5e25e1(0x235)](null);}),_0x220b85[_0x148ca1(0x119)]=function(_0x267edb,_0x13a172){const _0x5606f8=_0x148ca1;if(_0x56f98e['readyState']===_0x56f98e[_0x5606f8(0x1d9)]){_0x13a172(_0x267edb),process[_0x5606f8(0x287)](_0xad56a5,_0x220b85);return;}let _0x2790fe=!0x1;_0x56f98e[_0x5606f8(0x1f8)](_0x5606f8(0x114),function(_0x16ea77){_0x2790fe=!0x0,_0x13a172(_0x16ea77);}),_0x56f98e[_0x5606f8(0x1f8)](_0x5606f8(0x11d),function(){const _0x1b0eb8=_0x5606f8;_0x2790fe||_0x13a172(_0x267edb),process[_0x1b0eb8(0x287)](_0xad56a5,_0x220b85);}),_0x2b7539&&_0x56f98e[_0x5606f8(0x1a3)]();},_0x220b85[_0x148ca1(0x1f5)]=function(_0xa01d2d){const _0xb0fe78=_0x148ca1;if(_0x56f98e[_0xb0fe78(0xf7)]===_0x56f98e[_0xb0fe78(0x1d0)]){_0x56f98e['once']('open',function(){_0x220b85['_final'](_0xa01d2d);});return;}_0x56f98e[_0xb0fe78(0x1b2)]!==null&&(_0x56f98e[_0xb0fe78(0x1b2)][_0xb0fe78(0x229)][_0xb0fe78(0x255)]?(_0xa01d2d(),_0x220b85[_0xb0fe78(0x15f)][_0xb0fe78(0x1c4)]&&_0x220b85['destroy']()):(_0x56f98e[_0xb0fe78(0x1b2)][_0xb0fe78(0x1f8)]('finish',function(){_0xa01d2d();}),_0x56f98e[_0xb0fe78(0x11d)]()));},_0x220b85[_0x148ca1(0x1ce)]=function(){const _0x5d83d4=_0x148ca1;_0x56f98e[_0x5d83d4(0x107)]&&_0x56f98e['resume']();},_0x220b85['_write']=function(_0x555b8f,_0x543c81,_0x86d595){const _0xc5bca2=_0x148ca1;if(_0x56f98e[_0xc5bca2(0xf7)]===_0x56f98e[_0xc5bca2(0x1d0)]){_0x56f98e[_0xc5bca2(0x1f8)](_0xc5bca2(0x1c6),function(){const _0x546730=_0xc5bca2;_0x220b85[_0x546730(0x22e)](_0x555b8f,_0x543c81,_0x86d595);});return;}_0x56f98e[_0xc5bca2(0x299)](_0x555b8f,_0x86d595);},_0x220b85['on'](_0x148ca1(0x22a),_0x5d5acb),_0x220b85['on'](_0x148ca1(0x114),_0x5e28dc),_0x220b85;}return Oe=_0x1f81eb,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x2d8724}=ae();function _0x460da3(_0x28222d){const _0x1eda98=_0x61ac,_0x456b42=new Set();let _0x5c17e3=-0x1,_0xa2c278=-0x1,_0x4aa845=0x0;for(_0x4aa845;_0x4aa845<_0x28222d[_0x1eda98(0x145)];_0x4aa845++){const _0x61e9a0=_0x28222d[_0x1eda98(0xf6)](_0x4aa845);if(_0xa2c278===-0x1&&_0x2d8724[_0x61e9a0]===0x1)_0x5c17e3===-0x1&&(_0x5c17e3=_0x4aa845);else{if(_0x4aa845!==0x0&&(_0x61e9a0===0x20||_0x61e9a0===0x9))_0xa2c278===-0x1&&_0x5c17e3!==-0x1&&(_0xa2c278=_0x4aa845);else{if(_0x61e9a0===0x2c){if(_0x5c17e3===-0x1)throw new SyntaxError(_0x1eda98(0x223)+_0x4aa845);_0xa2c278===-0x1&&(_0xa2c278=_0x4aa845);const _0xf096ec=_0x28222d[_0x1eda98(0x23f)](_0x5c17e3,_0xa2c278);if(_0x456b42[_0x1eda98(0x220)](_0xf096ec))throw new SyntaxError(_0x1eda98(0x23e)+_0xf096ec+_0x1eda98(0x2ae));_0x456b42[_0x1eda98(0x1f2)](_0xf096ec),_0x5c17e3=_0xa2c278=-0x1;}else throw new SyntaxError(_0x1eda98(0x223)+_0x4aa845);}}}if(_0x5c17e3===-0x1||_0xa2c278!==-0x1)throw new SyntaxError('Unexpected\x20end\x20of\x20input');const _0x5debbd=_0x28222d[_0x1eda98(0x23f)](_0x5c17e3,_0x4aa845);if(_0x456b42[_0x1eda98(0x220)](_0x5debbd))throw new SyntaxError('The\x20\x22'+_0x5debbd+_0x1eda98(0x2ae));return _0x456b42[_0x1eda98(0x1f2)](_0x5debbd),_0x456b42;}return Ce={'parse':_0x460da3},Ce;}var Te,rt;function Ft(){const _0x38ce05=_0x6bbba8;if(rt)return Te;rt=0x1;const _0x1c3d03=nt,_0x35b3ec=ot,{Duplex:_0x35a0d4}=oe,{createHash:_0x2936c0}=Le,_0x32c44c=ct(),_0x5a20c2=he(),_0x5ad941=At(),_0x52bbb2=Pe(),{GUID:_0x34c1c8,kWebSocket:_0x410f46}=H(),_0xe8796e=/^[+/0-9A-Za-z]{22}==$/,_0x1e3fdc=0x0,_0x57fb22=0x1,_0x503c25=0x2;class _0x1aa8c5 extends _0x1c3d03{constructor(_0x1ea5ee,_0x1bdbc0){const _0xfd293b=_0x61ac;if(super(),_0x1ea5ee={'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':_0x52bbb2,..._0x1ea5ee},_0x1ea5ee[_0xfd293b(0x21e)]==null&&!_0x1ea5ee['server']&&!_0x1ea5ee[_0xfd293b(0x1bc)]||_0x1ea5ee[_0xfd293b(0x21e)]!=null&&(_0x1ea5ee[_0xfd293b(0x19f)]||_0x1ea5ee[_0xfd293b(0x1bc)])||_0x1ea5ee[_0xfd293b(0x19f)]&&_0x1ea5ee[_0xfd293b(0x1bc)])throw new TypeError(_0xfd293b(0x188));if(_0x1ea5ee[_0xfd293b(0x21e)]!=null?(this[_0xfd293b(0x212)]=_0x35b3ec[_0xfd293b(0x12e)]((_0x404502,_0x3889fa)=>{const _0x16d742=_0xfd293b,_0x388ec=_0x35b3ec['STATUS_CODES'][0x1aa];_0x3889fa[_0x16d742(0x1ca)](0x1aa,{'Content-Length':_0x388ec[_0x16d742(0x145)],'Content-Type':_0x16d742(0x166)}),_0x3889fa[_0x16d742(0x22a)](_0x388ec);}),this[_0xfd293b(0x212)][_0xfd293b(0x25a)](_0x1ea5ee[_0xfd293b(0x21e)],_0x1ea5ee['host'],_0x1ea5ee[_0xfd293b(0x178)],_0x1bdbc0)):_0x1ea5ee[_0xfd293b(0x19f)]&&(this['_server']=_0x1ea5ee['server']),this[_0xfd293b(0x212)]){const _0x425b69=this[_0xfd293b(0x131)][_0xfd293b(0x158)](this,_0xfd293b(0x291));this[_0xfd293b(0x1e8)]=_0x282693(this[_0xfd293b(0x212)],{'listening':this[_0xfd293b(0x131)][_0xfd293b(0x158)](this,'listening'),'error':this[_0xfd293b(0x131)][_0xfd293b(0x158)](this,_0xfd293b(0x114)),'upgrade':(_0x183a96,_0x3f70e9,_0x398586)=>{const _0x14bf78=_0xfd293b;this[_0x14bf78(0x193)](_0x183a96,_0x3f70e9,_0x398586,_0x425b69);}});}_0x1ea5ee['perMessageDeflate']===!0x0&&(_0x1ea5ee['perMessageDeflate']={}),_0x1ea5ee[_0xfd293b(0x1a8)]&&(this['clients']=new Set(),this[_0xfd293b(0x29a)]=!0x1),this['options']=_0x1ea5ee,this['_state']=_0x1e3fdc;}[_0x38ce05(0x264)](){const _0x4320ed=_0x38ce05;if(this[_0x4320ed(0x293)]['noServer'])throw new Error(_0x4320ed(0x13b));return this[_0x4320ed(0x212)]?this[_0x4320ed(0x212)][_0x4320ed(0x264)]():null;}[_0x38ce05(0x11d)](_0x5a4b7d){const _0x177c60=_0x38ce05;if(this[_0x177c60(0x159)]===_0x503c25){_0x5a4b7d&&this[_0x177c60(0x1f8)]('close',()=>{const _0x4aaf10=_0x177c60;_0x5a4b7d(new Error(_0x4aaf10(0x284)));}),process[_0x177c60(0x287)](_0x236e4a,this);return;}if(_0x5a4b7d&&this[_0x177c60(0x1f8)](_0x177c60(0x11d),_0x5a4b7d),this[_0x177c60(0x159)]!==_0x57fb22){if(this[_0x177c60(0x159)]=_0x57fb22,this[_0x177c60(0x293)]['noServer']||this['options'][_0x177c60(0x19f)])this[_0x177c60(0x212)]&&(this[_0x177c60(0x1e8)](),this[_0x177c60(0x1e8)]=this[_0x177c60(0x212)]=null),this[_0x177c60(0x1d6)]?this[_0x177c60(0x1d6)]['size']?this[_0x177c60(0x29a)]=!0x0:process[_0x177c60(0x287)](_0x236e4a,this):process[_0x177c60(0x287)](_0x236e4a,this);else{const _0x2aafcc=this[_0x177c60(0x212)];this[_0x177c60(0x1e8)](),this[_0x177c60(0x1e8)]=this['_server']=null,_0x2aafcc[_0x177c60(0x11d)](()=>{_0x236e4a(this);});}}}[_0x38ce05(0x12f)](_0x2387e6){const _0x77ec=_0x38ce05;if(this[_0x77ec(0x293)][_0x77ec(0x10c)]){const _0x174192=_0x2387e6[_0x77ec(0x22f)][_0x77ec(0x275)]('?');if((_0x174192!==-0x1?_0x2387e6[_0x77ec(0x22f)][_0x77ec(0x23f)](0x0,_0x174192):_0x2387e6[_0x77ec(0x22f)])!==this[_0x77ec(0x293)][_0x77ec(0x10c)])return!0x1;}return!0x0;}[_0x38ce05(0x193)](_0x28c11f,_0x4dc0ce,_0x1652d4,_0x54f5dc){const _0x1d729d=_0x38ce05;_0x4dc0ce['on'](_0x1d729d(0x114),_0x3bf463);const _0x17fcd3=_0x28c11f['headers']['sec-websocket-key'],_0x4be458=_0x28c11f[_0x1d729d(0x221)][_0x1d729d(0x257)],_0x4d32bd=+_0x28c11f[_0x1d729d(0x221)][_0x1d729d(0x208)];if(_0x28c11f[_0x1d729d(0x21c)]!==_0x1d729d(0x2b2)){_0xe28017(this,_0x28c11f,_0x4dc0ce,0x195,_0x1d729d(0x1b8));return;}if(_0x4be458===void 0x0||_0x4be458[_0x1d729d(0x190)]()!=='websocket'){_0xe28017(this,_0x28c11f,_0x4dc0ce,0x190,'Invalid\x20Upgrade\x20header');return;}if(_0x17fcd3===void 0x0||!_0xe8796e[_0x1d729d(0x296)](_0x17fcd3)){_0xe28017(this,_0x28c11f,_0x4dc0ce,0x190,_0x1d729d(0x238));return;}if(_0x4d32bd!==0xd&&_0x4d32bd!==0x8){_0xe28017(this,_0x28c11f,_0x4dc0ce,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header',{'Sec-WebSocket-Version':_0x1d729d(0x207)});return;}if(!this[_0x1d729d(0x12f)](_0x28c11f)){_0x271385(_0x4dc0ce,0x190);return;}const _0x5652f0=_0x28c11f[_0x1d729d(0x221)][_0x1d729d(0x136)];let _0x3b03f1=new Set();if(_0x5652f0!==void 0x0)try{_0x3b03f1=_0x5ad941[_0x1d729d(0x18b)](_0x5652f0);}catch{_0xe28017(this,_0x28c11f,_0x4dc0ce,0x190,_0x1d729d(0x214));return;}const _0x41b180=_0x28c11f[_0x1d729d(0x221)][_0x1d729d(0x1fb)],_0xd2d157={};if(this[_0x1d729d(0x293)][_0x1d729d(0x174)]&&_0x41b180!==void 0x0){const _0x71073b=new _0x5a20c2(this[_0x1d729d(0x293)][_0x1d729d(0x174)],!0x0,this[_0x1d729d(0x293)][_0x1d729d(0x1d2)]);try{const _0x417d94=_0x32c44c[_0x1d729d(0x18b)](_0x41b180);_0x417d94[_0x5a20c2[_0x1d729d(0x13a)]]&&(_0x71073b[_0x1d729d(0x19b)](_0x417d94[_0x5a20c2[_0x1d729d(0x13a)]]),_0xd2d157[_0x5a20c2['extensionName']]=_0x71073b);}catch{_0xe28017(this,_0x28c11f,_0x4dc0ce,0x190,_0x1d729d(0x1ef));return;}}if(this['options'][_0x1d729d(0x16d)]){const _0x2758b7={'origin':_0x28c11f[_0x1d729d(0x221)][''+(_0x4d32bd===0x8?_0x1d729d(0x2b4):_0x1d729d(0x1d1))],'secure':!!(_0x28c11f[_0x1d729d(0x1ab)]['authorized']||_0x28c11f[_0x1d729d(0x1ab)][_0x1d729d(0x273)]),'req':_0x28c11f};if(this['options'][_0x1d729d(0x16d)]['length']===0x2){this[_0x1d729d(0x293)][_0x1d729d(0x16d)](_0x2758b7,(_0x1468ad,_0xea8753,_0x4ed643,_0x1bad3d)=>{const _0xc051b6=_0x1d729d;if(!_0x1468ad)return _0x271385(_0x4dc0ce,_0xea8753||0x191,_0x4ed643,_0x1bad3d);this[_0xc051b6(0x24d)](_0xd2d157,_0x17fcd3,_0x3b03f1,_0x28c11f,_0x4dc0ce,_0x1652d4,_0x54f5dc);});return;}if(!this[_0x1d729d(0x293)]['verifyClient'](_0x2758b7))return _0x271385(_0x4dc0ce,0x191);}this[_0x1d729d(0x24d)](_0xd2d157,_0x17fcd3,_0x3b03f1,_0x28c11f,_0x4dc0ce,_0x1652d4,_0x54f5dc);}[_0x38ce05(0x24d)](_0x3df8e4,_0x5da6c0,_0x27e976,_0x3305de,_0x5c7e9a,_0x25cdc6,_0x2c4757){const _0x3665f1=_0x38ce05;if(!_0x5c7e9a[_0x3665f1(0x242)]||!_0x5c7e9a[_0x3665f1(0x1c5)])return _0x5c7e9a['destroy']();if(_0x5c7e9a[_0x410f46])throw new Error(_0x3665f1(0x269));if(this['_state']>_0x1e3fdc)return _0x271385(_0x5c7e9a,0x1f7);const _0x1d3f77=[_0x3665f1(0x1bd),_0x3665f1(0x189),_0x3665f1(0x164),'Sec-WebSocket-Accept:\x20'+_0x2936c0('sha1')[_0x3665f1(0x282)](_0x5da6c0+_0x34c1c8)['digest'](_0x3665f1(0x108))],_0xa8d2ac=new this[(_0x3665f1(0x293))][(_0x3665f1(0x26e))](null,void 0x0,this[_0x3665f1(0x293)]);if(_0x27e976[_0x3665f1(0x130)]){const _0x34b015=this[_0x3665f1(0x293)][_0x3665f1(0x29c)]?this[_0x3665f1(0x293)][_0x3665f1(0x29c)](_0x27e976,_0x3305de):_0x27e976[_0x3665f1(0x16c)]()[_0x3665f1(0x140)]()[_0x3665f1(0x240)];_0x34b015&&(_0x1d3f77[_0x3665f1(0x235)]('Sec-WebSocket-Protocol:\x20'+_0x34b015),_0xa8d2ac[_0x3665f1(0x246)]=_0x34b015);}if(_0x3df8e4[_0x5a20c2[_0x3665f1(0x13a)]]){const _0x2012dd=_0x3df8e4[_0x5a20c2[_0x3665f1(0x13a)]][_0x3665f1(0xfb)],_0x2b6061=_0x32c44c[_0x3665f1(0x137)]({[_0x5a20c2['extensionName']]:[_0x2012dd]});_0x1d3f77[_0x3665f1(0x235)](_0x3665f1(0x1cf)+_0x2b6061),_0xa8d2ac[_0x3665f1(0x125)]=_0x3df8e4;}this[_0x3665f1(0x131)](_0x3665f1(0x221),_0x1d3f77,_0x3305de),_0x5c7e9a[_0x3665f1(0x124)](_0x1d3f77['concat']('\x0d\x0a')[_0x3665f1(0x1c8)]('\x0d\x0a')),_0x5c7e9a[_0x3665f1(0x218)](_0x3665f1(0x114),_0x3bf463),_0xa8d2ac[_0x3665f1(0x241)](_0x5c7e9a,_0x25cdc6,{'allowSynchronousEvents':this['options'][_0x3665f1(0x1ed)],'maxPayload':this[_0x3665f1(0x293)][_0x3665f1(0x1d2)],'skipUTF8Validation':this[_0x3665f1(0x293)]['skipUTF8Validation']}),this[_0x3665f1(0x1d6)]&&(this[_0x3665f1(0x1d6)][_0x3665f1(0x1f2)](_0xa8d2ac),_0xa8d2ac['on'](_0x3665f1(0x11d),()=>{const _0x18a567=_0x3665f1;this[_0x18a567(0x1d6)]['delete'](_0xa8d2ac),this[_0x18a567(0x29a)]&&!this[_0x18a567(0x1d6)][_0x18a567(0x130)]&&process['nextTick'](_0x236e4a,this);})),_0x2c4757(_0xa8d2ac,_0x3305de);}}Te=_0x1aa8c5;function _0x282693(_0x557e02,_0x46ff89){const _0x553b2=_0x38ce05;for(const _0x5236be of Object[_0x553b2(0x25d)](_0x46ff89))_0x557e02['on'](_0x5236be,_0x46ff89[_0x5236be]);return function(){const _0x12935c=_0x553b2;for(const _0x4601f8 of Object[_0x12935c(0x25d)](_0x46ff89))_0x557e02[_0x12935c(0x218)](_0x4601f8,_0x46ff89[_0x4601f8]);};}function _0x236e4a(_0x1b0c00){const _0x39be76=_0x38ce05;_0x1b0c00[_0x39be76(0x159)]=_0x503c25,_0x1b0c00[_0x39be76(0x131)](_0x39be76(0x11d));}function _0x3bf463(){const _0x5f1aa6=_0x38ce05;this[_0x5f1aa6(0x17b)]();}function _0x271385(_0x3f1d04,_0x3db463,_0x35a6b7,_0x1b7a9e){const _0x30c876=_0x38ce05;_0x35a6b7=_0x35a6b7||_0x35b3ec[_0x30c876(0x15b)][_0x3db463],_0x1b7a9e={'Connection':_0x30c876(0x11d),'Content-Type':_0x30c876(0x1f3),'Content-Length':Buffer[_0x30c876(0x179)](_0x35a6b7),..._0x1b7a9e},_0x3f1d04[_0x30c876(0x1f8)](_0x30c876(0x2a0),_0x3f1d04[_0x30c876(0x17b)]),_0x3f1d04[_0x30c876(0x22a)](_0x30c876(0x182)+_0x3db463+'\x20'+_0x35b3ec[_0x30c876(0x15b)][_0x3db463]+'\x0d\x0a'+Object[_0x30c876(0x25d)](_0x1b7a9e)['map'](_0xd01321=>_0xd01321+':\x20'+_0x1b7a9e[_0xd01321])['join']('\x0d\x0a')+_0x30c876(0x231)+_0x35a6b7);}function _0xe28017(_0x202a2f,_0x234c4a,_0x1dd165,_0x2456bf,_0x1ca214,_0x556e5a){const _0x3b9c6a=_0x38ce05;if(_0x202a2f[_0x3b9c6a(0x1b9)](_0x3b9c6a(0x16e))){const _0x4f0cf9=new Error(_0x1ca214);Error['captureStackTrace'](_0x4f0cf9,_0xe28017),_0x202a2f[_0x3b9c6a(0x131)](_0x3b9c6a(0x16e),_0x4f0cf9,_0x1dd165,_0x234c4a);}else _0x271385(_0x1dd165,_0x2456bf,_0x1ca214,_0x556e5a);}return Te;}Ft();var jt=Object[_0x6bbba8(0x1b0)],Wt=(_0x179285,_0x4644de,_0x123006,_0x2a3ce6)=>{const _0x5319bf=_0x6bbba8;for(var _0x3c232c=_0x2a3ce6>0x1?void 0x0:_0x2a3ce6?jt(_0x4644de,_0x123006):_0x4644de,_0xe2b52b=_0x179285[_0x5319bf(0x145)]-0x1,_0x39ccc4;_0xe2b52b>=0x0;_0xe2b52b--)(_0x39ccc4=_0x179285[_0xe2b52b])&&(_0x3c232c=_0x39ccc4(_0x3c232c)||_0x3c232c);return _0x3c232c;},qt=(_0x29ae1e,_0x18b074)=>(_0x2e8672,_0x497f36)=>_0x18b074(_0x2e8672,_0x497f36,_0x29ae1e);let ke=class extends A[_0x6bbba8(0x252)]{constructor(_0x4f6c5c){const _0x4c2294=_0x6bbba8;super(),this[_0x4c2294(0x17d)]=_0x4f6c5c;}[_0x6bbba8(0x12c)](_0x1aec8d){const _0x271e6d=_0x6bbba8;var _0x48cab2;const _0x150023=(_0x48cab2=this['_configService'][_0x271e6d(0x271)](fe))==null?void 0x0:_0x48cab2[_0x271e6d(0x14a)];try{const _0x5dae3f=new $t(_0x1aec8d,{'headers':{..._0x150023}}),_0x1270f7=new A[(_0x271e6d(0x146))]();return{'URL':_0x1aec8d,'close':(_0x187f5e,_0x30e461)=>{const _0x10b8dd=_0x271e6d;_0x5dae3f[_0x10b8dd(0x11d)](_0x187f5e,_0x30e461),_0x1270f7[_0x10b8dd(0x154)]();},'send':_0x3e9c3c=>{const _0x3baeb5=_0x271e6d;_0x5dae3f[_0x3baeb5(0x299)](_0x3e9c3c);},'open$':new V[(_0x271e6d(0x1fa))](_0x318a5b=>{const _0x32f099=_0x271e6d,_0x317516=_0x544dcb=>_0x318a5b[_0x32f099(0x140)](_0x544dcb);_0x5dae3f[_0x32f099(0x103)](_0x32f099(0x1c6),_0x317516),_0x1270f7[_0x32f099(0x1f2)](A['toDisposable'](()=>_0x5dae3f['removeEventListener'](_0x32f099(0x1c6),_0x317516)));})[_0x271e6d(0x10b)](V[_0x271e6d(0xfa)]()),'close$':new V[(_0x271e6d(0x1fa))](_0x3ec79e=>{const _0x16392a=_0x271e6d,_0x12bac9=_0x14992a=>_0x3ec79e[_0x16392a(0x140)](_0x14992a);_0x5dae3f['addEventListener']('close',_0x12bac9),_0x1270f7[_0x16392a(0x1f2)](A[_0x16392a(0x21d)](()=>_0x5dae3f[_0x16392a(0x245)](_0x16392a(0x11d),_0x12bac9)));})[_0x271e6d(0x10b)](V[_0x271e6d(0xfa)]()),'error$':new V[(_0x271e6d(0x1fa))](_0x629fb6=>{const _0x35937f=_0x271e6d,_0x308d31=_0x17d647=>_0x629fb6[_0x35937f(0x140)](_0x17d647);_0x5dae3f[_0x35937f(0x103)](_0x35937f(0x114),_0x308d31),_0x1270f7[_0x35937f(0x1f2)](A[_0x35937f(0x21d)](()=>_0x5dae3f[_0x35937f(0x245)](_0x35937f(0x114),_0x308d31)));})[_0x271e6d(0x10b)](V[_0x271e6d(0xfa)]()),'message$':new V[(_0x271e6d(0x1fa))](_0x2ec922=>{const _0x1d570f=_0x271e6d,_0x2d1626=_0x2f51b6=>_0x2ec922[_0x1d570f(0x140)](_0x2f51b6);_0x5dae3f[_0x1d570f(0x103)](_0x1d570f(0x243),_0x2d1626),_0x1270f7[_0x1d570f(0x1f2)](A[_0x1d570f(0x21d)](()=>_0x5dae3f[_0x1d570f(0x245)](_0x1d570f(0x243),_0x2d1626)));})[_0x271e6d(0x10b)](V[_0x271e6d(0xfa)]())};}catch(_0xca54ca){return console[_0x271e6d(0x114)](_0xca54ca),null;}}};ke=Wt([qt(0x0,A['IConfigService'])],ke);var Gt=Object['defineProperty'],Vt=Object['getOwnPropertyDescriptor'],Ht=(_0x39847b,_0x2342c4,_0x172f76)=>_0x2342c4 in _0x39847b?Gt(_0x39847b,_0x2342c4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x172f76}):_0x39847b[_0x2342c4]=_0x172f76,zt=(_0x39b5c2,_0x4f3e03,_0x2efacd,_0x269518)=>{const _0x330e0d=_0x6bbba8;for(var _0x77fd4f=_0x269518>0x1?void 0x0:_0x269518?Vt(_0x4f3e03,_0x2efacd):_0x4f3e03,_0x288640=_0x39b5c2[_0x330e0d(0x145)]-0x1,_0x319895;_0x288640>=0x0;_0x288640--)(_0x319895=_0x39b5c2[_0x288640])&&(_0x77fd4f=_0x319895(_0x77fd4f)||_0x77fd4f);return _0x77fd4f;},Ne=(_0x229c8a,_0x2702d9)=>(_0x53fad7,_0x1e9e13)=>_0x2702d9(_0x53fad7,_0x1e9e13,_0x229c8a),Yt=(_0x591acc,_0x1cbf20,_0x49cea5)=>Ht(_0x591acc,_0x1cbf20+'',_0x49cea5);exports[_0x6bbba8(0x17c)]=class extends A['Plugin']{constructor(_0x2d37d6=Ct,_0x152fa0,_0x27e84b,_0x2700d0){const _0x4fd78a=_0x6bbba8;_0x2d37d6[_0x4fd78a(0x14a)]||_0x152fa0['warn'](_0x4fd78a(0x19a)),super(),this['_configService']=_0x27e84b,this['_injector']=_0x2700d0,this['_configService']['setConfig'](fe,_0x2d37d6);}['onStarting'](){const _0x3734cb=_0x6bbba8;this[_0x3734cb(0x249)]();}[_0x6bbba8(0x249)](){const _0x495fa5=_0x6bbba8;A[_0x495fa5(0x1cc)](this[_0x495fa5(0x153)],[[it[_0x495fa5(0x260)],{'useClass':ke}]]);}},Yt(exports['UniverCollaborationClientNodePlugin'],'pluginName',_0x6bbba8(0x18e)),exports[_0x6bbba8(0x17c)]=zt([A[_0x6bbba8(0x1e2)](st['UniverCollaborationClientPlugin']),Ne(0x1,A['ILogService']),Ne(0x2,A[_0x6bbba8(0x1f7)]),Ne(0x3,A[_0x6bbba8(0x239)](A[_0x6bbba8(0x1b5)]))],exports[_0x6bbba8(0x17c)]);var Kt=Object[_0x6bbba8(0x1b0)],Xt=(_0x305e8a,_0x2c759d,_0xe590b6,_0x303460)=>{const _0x5b8d25=_0x6bbba8;for(var _0x7dc2ad=_0x303460>0x1?void 0x0:_0x303460?Kt(_0x2c759d,_0xe590b6):_0x2c759d,_0x370ec2=_0x305e8a[_0x5b8d25(0x145)]-0x1,_0x2ba810;_0x370ec2>=0x0;_0x370ec2--)(_0x2ba810=_0x305e8a[_0x370ec2])&&(_0x7dc2ad=_0x2ba810(_0x7dc2ad)||_0x7dc2ad);return _0x7dc2ad;},ne=(_0x39e713,_0x2aa10c)=>(_0x451faa,_0x3933ad)=>_0x2aa10c(_0x451faa,_0x3933ad,_0x39e713);exports[_0x6bbba8(0x16b)]=class extends st[_0x6bbba8(0x278)]{constructor(_0x265c85,_0x333a07,_0x7c7052,_0x208fa4,_0x29a2c9){const _0x45c0c3=_0x6bbba8;super(_0x265c85,_0x333a07,_0x7c7052,_0x208fa4,_0x29a2c9);const _0x419fb1=this['_configService']['getConfig'](fe);this[_0x45c0c3(0x28f)][_0x45c0c3(0x172)]({'interceptor':(_0x124a2e,_0x221b47)=>{const _0x15e364=_0x45c0c3;var _0x5e5a72;const _0x22ae25=_0x124a2e[_0x15e364(0x221)];return(_0x5e5a72=_0x419fb1==null?void 0x0:_0x419fb1[_0x15e364(0x14a)])!=null&&_0x5e5a72[_0x15e364(0x21f)]&&_0x22ae25['set'](_0x15e364(0x132),_0x419fb1['customHeaders'][_0x15e364(0x21f)]),_0x221b47(_0x124a2e);}});}async['createSocket'](_0x57f5f2){const _0x1abf9c=_0x6bbba8;return this[_0x1abf9c(0x109)](_0x57f5f2);}},exports['NodeCollaborationSocketService']=Xt([ne(0x0,A[_0x6bbba8(0x239)](A[_0x6bbba8(0x1b5)])),ne(0x1,A['Inject'](it[_0x6bbba8(0x234)])),ne(0x2,A[_0x6bbba8(0x1f7)]),ne(0x3,A[_0x6bbba8(0x155)]),ne(0x4,Ot['ISnapshotServerService'])],exports[_0x6bbba8(0x16b)]),exports[_0x6bbba8(0x14e)]=fe;
|
|
1
|
+
'use strict';function _0x4cb9(){const _0x4eabdf=['getPayloadLength16','options','getConfig','_bufferedBytes','startsWith','text/plain','_destroy','dispatch','writeUIntBE','Invalid\x20HTTP\x20method','writeUInt16BE','13,\x208','createInflateRaw','username','share','The\x20\x22','readable','readUInt16BE','unmask','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','kCode','HTTPService','clientNoContextTakeover','_originalSecure','hasOwnProperty','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','invalid\x20UTF-8\x20sequence','haveLength','bind','stream','_queue','_closeFrameReceived','197241YcbWQT','redirect','threshold','websocket','upgrade','total-length','HTTP/1.1\x20101\x20Switching\x20Protocols','Sec-WebSocket-Extensions','listenerCount','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','size','UniverCollaborationClientPlugin','unshift','_protocol','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','readUInt32BE','Upgrade:\x20websocket','invalid\x20status\x20code\x20','WS_ERR_UNEXPECTED_RSV_2_3','kAborted','invalid\x20payload\x20length\x20','offer','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','createError','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','callback','178199ypzdnp','test','isIP','Unsupported\x20protocol\x20version:\x20','_mask','open','captureStackTrace','number','_fragments','Invalid\x20Upgrade\x20header','CLOSED','Invalid\x20URL:\x20','decompress','parse','forEach','apply','setConfig','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','emit','Connection:\x20Upgrade','host','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','isServer','resume','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','WS_ERR_INVALID_UTF8','MASK\x20must\x20be\x20clear','set','\x22\x20must\x20have\x20only\x20a\x20single\x20value','fin','Z_SYNC_FLUSH','kByteLength','kListener','controlMessage','customHeaders','cookie','byteLength','readOnly','Invalid\x20value\x20for\x20parameter\x20\x22','path','next','length','Max\x20payload\x20size\x20exceeded','kWasClean','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','binary','_masked','acceptAsServer','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','WS_ERR_INVALID_OPCODE','ws+unix:','species','getInfo','normalizeParams','_skipUTF8Validation','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','onopen','arrayBuffer','getOwnPropertyDescriptor','_autoPong','WS_ERR_EXPECTED_MASK','_removeListeners','conclude','ws:','dequeue','handleProtocols','request','close','indexOf','_socket','Unexpected\x20server\x20response:\x20','pathname','nextTick','concurrency','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','defineProperty','finished','_configService','password','342728bsPYBU','WS_ERR_EXPECTED_FIN','sec-websocket-protocol','extensionName','onerror','nodebuffer','object','Maximum\x20redirects\x20exceeded','sec-websocket-accept','_threshold','_fin','status-code','Sec-WebSocket-Protocol:\x20','wasClean','autoPong','10YmsoWS','env','_errorEmitted','_compress','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','_req','The\x20server\x20is\x20not\x20running','createConnection','_buffers','reset','shift','Observable','41790qOuhcB','pluginName','Z_DEFAULT_WINDOWBITS','_read','type','_originalIpc','STATUS_CODES','text/html','once','FIN\x20must\x20be\x20set','getPayloadLength64','isArray','Server\x20sent\x20an\x20invalid\x20subprotocol','digest','wss:','setSocket','Sec-WebSocket-Extensions:\x20','kIsForOnEventAttribute','\x22:\x20','byteOffset','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','prototype','url','destroy','shouldHandle','removeListener','pause','https:','Sec-WebSocket-Accept:\x20','_binaryType','frame','target','replace','data','address','WebSocket','_decompress','unexpected-response','_writableState','_closeTimer','encrypted','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','isValidUTF8','client','base64','serverMaxWindowBits','toString','blob','toDisposable','IConfigService','headers','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','permessage-deflate','enqueue','WS_ERR_UNEXPECTED_RSV_1','reason','error','1407222ljdsOT','addEventListener','clients','kType','_compressed','listeners','_inflate','isInteger','Plugin','Invalid\x20Sec-WebSocket-Extensions\x20header','8uhFMuo','_server','678646ndYWAW','writable','listen','abort','_bufferedAmount','split','zlibInflateOptions','server','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','invalid\x20opcode\x20','create','startLoop','concat','_closeFrameSent','kData','_receiver','perMessageDeflate','CollaborationSocketService','kError','getMask','sendFrame','format','handleUpgrade','toStringTag','has','pipe','find','values','connect','hash','statusCode','Cookie','_allowSynchronousEvents','Server\x20sent\x20no\x20subprotocol','The\x20URL\x20contains\x20a\x20fragment\x20identifier','function','_url','setHeader','socket','_sender','removeAllListeners','flush','createSocket','onStarting','_originalHostOrSocketPath','compress','isView','end','kRun','send','mask','verifyClient','_opcode','call','_maxPayload','cleanup','timeout','maxPayload','collaboration-client-node.config','endEmitted','Parameter\x20\x22','_injector','keys','http:','_readyState','_shouldEmitClose','charCodeAt','arraybuffer','auth','ISnapshotServerService','uncork','setTimeout','entries','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','\x20(supported\x20versions:\x20','isPaused','default','generateMask','DependentOn','extensions','HTTP/1.1\x20','includes','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','removeEventListener','port','buffers','construct','kReason','pong','alloc','Unexpected\x20character\x20at\x20index\x20','__esModule','_payloadLength','acceptAsClient','accept','sec-websocket-extensions','bufferedAmount','server_no_context_takeover','COLLABORATION_CLIENT_NODE_CONFIG_KEY','message','_redirects','defaultPort','sec-websocket-version','update','_extensions','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','CONNECTING','_write','wsClientError','_isServer','writeHead','WS_ERR_UNEXPECTED_MASK','socketPath','clientMaxWindowBits','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','allowSynchronousEvents','value','ping','dataMessage','UniverCollaborationClientNodePlugin','hostname','map','Opening\x20handshake\x20has\x20timed\x20out','OPEN','_errored','270gwcpay','createServer','destroyed','getData','\x0d\x0a\x0d\x0a','Unknown\x20parameter\x20\x22','_firstFragment','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','pending','add','client_no_context_takeover','_fragmented','_messageLength','handshakeTimeout','method','_generateMask','3887972MeDROR','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','allocUnsafe','\x22\x20subprotocol\x20is\x20duplicated','opcode','_readableState','createDeflateRaw','completeUpgrade','isBuffer','_closeMessage','setNoDelay','skipUTF8Validation','onclose','invalid\x20opcode\x200','authorization','errorEmitted','location','delete','slice','MASK\x20must\x20be\x20set','client_max_window_bits','WS_ERR_INVALID_CLOSE_CODE','toLowerCase','sha1','push','join','consume','_max_window_bits','code','write','Unexpected\x20end\x20of\x20input','zlibDeflateOptions','listening','_paused','protocolVersion','Origin','from','binaryType','backlog','origin','GET','protocol','DisposableCollection','ILogService','params','onmessage','terminate','RSV1\x20must\x20be\x20clear','exports','_loop','getBlobData','_state','File','serverNoContextTakeover','pow','_no_context_takeover','noServer','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','_deflate','_totalPayloadLength','3CtAXVA','_maskBuffer','jobs','Invalid\x20Sec-WebSocket-Protocol\x20header','_httpService','_closeCode','_final','server_max_window_bits','_options','Injector','servername','Module','buffer','finish','_registerDependencies','NodeCollaborationSocketService','CLOSING','readyState','string','then','maxRedirects','emitClose','kMessage'];_0x4cb9=function(){return _0x4eabdf;};return _0x4cb9();}const _0x548fc7=_0x4b9f;(function(_0x159fd7,_0x386d00){const _0xe8dcde=_0x4b9f,_0x3c9a82=_0x159fd7();while(!![]){try{const _0x2d3dc6=-parseInt(_0xe8dcde(0x241))/0x1+parseInt(_0xe8dcde(0x141))/0x2*(parseInt(_0xe8dcde(0x20a))/0x3)+-parseInt(_0xe8dcde(0x2aa))/0x4+-parseInt(_0xe8dcde(0x2c5))/0x5*(-parseInt(_0xe8dcde(0x1be))/0x6)+parseInt(_0xe8dcde(0x25b))/0x7*(-parseInt(_0xe8dcde(0x13f))/0x8)+parseInt(_0xe8dcde(0x135))/0x9+parseInt(_0xe8dcde(0x2b9))/0xa*(-parseInt(_0xe8dcde(0x1ce))/0xb);if(_0x2d3dc6===_0x386d00)break;else _0x3c9a82['push'](_0x3c9a82['shift']());}catch(_0x4eb622){_0x3c9a82['push'](_0x3c9a82['shift']());}}}(_0x4cb9,0x33427));Object[_0x548fc7(0x2a6)](exports,Symbol[_0x548fc7(0x158)],{'value':_0x548fc7(0x215)});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=_0x548fc7(0x17b),Ct={'customHeaders':{}};function Tt(_0x936a3d){const _0xdb3002=_0x548fc7;return _0x936a3d&&_0x936a3d['__esModule']&&Object[_0xdb3002(0x2da)][_0xdb3002(0x239)][_0xdb3002(0x176)](_0x936a3d,_0xdb3002(0x18d))?_0x936a3d[_0xdb3002(0x18d)]:_0x936a3d;}function at(_0x4fa983){const _0x319a7e=_0x548fc7;if(Object[_0x319a7e(0x2da)][_0x319a7e(0x239)]['call'](_0x4fa983,_0x319a7e(0x19c)))return _0x4fa983;var _0x24ff89=_0x4fa983[_0x319a7e(0x18d)];if(typeof _0x24ff89==_0x319a7e(0x164)){var _0xa0d6a7=function _0x76f55a(){const _0x3d3189=_0x319a7e;var _0x146868=!0x1;try{_0x146868=this instanceof _0x76f55a;}catch{}return _0x146868?Reflect[_0x3d3189(0x197)](_0x24ff89,arguments,this['constructor']):_0x24ff89[_0x3d3189(0x26a)](this,arguments);};_0xa0d6a7['prototype']=_0x24ff89[_0x319a7e(0x2da)];}else _0xa0d6a7={};return Object['defineProperty'](_0xa0d6a7,_0x319a7e(0x19c),{'value':!0x0}),Object[_0x319a7e(0x17f)](_0x4fa983)[_0x319a7e(0x269)](function(_0x3871d6){const _0xeaed58=_0x319a7e;var _0x11bc5b=Object[_0xeaed58(0x295)](_0x4fa983,_0x3871d6);Object[_0xeaed58(0x2a6)](_0xa0d6a7,_0x3871d6,_0x11bc5b['get']?_0x11bc5b:{'enumerable':!0x0,'get':function(){return _0x4fa983[_0x3871d6];}});}),_0xa0d6a7;}var se={'exports':{}},ge,Ge;function H(){const _0x4cd25e=_0x548fc7;if(Ge)return ge;Ge=0x1;const _0x11b955=[_0x4cd25e(0x2af),_0x4cd25e(0x184),'fragments'],_0x537323=typeof Blob<'u';return _0x537323&&_0x11b955[_0x4cd25e(0x1e6)](_0x4cd25e(0x2f4)),ge={'BINARY_TYPES':_0x11b955,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':_0x4cd25e(0x2ee),'hasBlob':_0x537323,'kForOnEventAttribute':Symbol(_0x4cd25e(0x2d6)),'kListener':Symbol(_0x4cd25e(0x27b)),'kStatusCode':Symbol(_0x4cd25e(0x2b5)),'kWebSocket':Symbol(_0x4cd25e(0x244)),'NOOP':()=>{}},ge;}const Nt={},kt=Object['freeze'](Object['defineProperty']({'__proto__':null,'default':Nt},Symbol[_0x548fc7(0x158)],{'value':_0x548fc7(0x215)})),Lt=at(kt);var Ve;function ce(){const _0xa0ceb5=_0x548fc7;if(Ve)return se[_0xa0ceb5(0x1fe)];Ve=0x1;const {EMPTY_BUFFER:_0x5e78b3}=H(),_0x1af83f=Buffer[Symbol['species']];function _0xf2ab9f(_0x4812d3,_0x1f292b){const _0x34a765=_0xa0ceb5;if(_0x4812d3['length']===0x0)return _0x5e78b3;if(_0x4812d3[_0x34a765(0x284)]===0x1)return _0x4812d3[0x0];const _0x46d4fc=Buffer[_0x34a765(0x1d0)](_0x1f292b);let _0x52500a=0x0;for(let _0x4a9729=0x0;_0x4a9729<_0x4812d3[_0x34a765(0x284)];_0x4a9729++){const _0x3580a2=_0x4812d3[_0x4a9729];_0x46d4fc[_0x34a765(0x276)](_0x3580a2,_0x52500a),_0x52500a+=_0x3580a2['length'];}return _0x52500a<_0x1f292b?new _0x1af83f(_0x46d4fc[_0x34a765(0x216)],_0x46d4fc[_0x34a765(0x2d8)],_0x52500a):_0x46d4fc;}function _0x1e29cc(_0x5da862,_0x4235dc,_0x182966,_0x5c0eb7,_0x3d3dc8){for(let _0x13f168=0x0;_0x13f168<_0x3d3dc8;_0x13f168++)_0x182966[_0x5c0eb7+_0x13f168]=_0x5da862[_0x13f168]^_0x4235dc[_0x13f168&0x3];}function _0x4f73ca(_0x24a7e3,_0x1f4390){const _0xdfd85e=_0xa0ceb5;for(let _0x155123=0x0;_0x155123<_0x24a7e3[_0xdfd85e(0x284)];_0x155123++)_0x24a7e3[_0x155123]^=_0x1f4390[_0x155123&0x3];}function _0x5ed26b(_0x2eb431){const _0x57e5ca=_0xa0ceb5;return _0x2eb431['length']===_0x2eb431[_0x57e5ca(0x216)][_0x57e5ca(0x27f)]?_0x2eb431[_0x57e5ca(0x216)]:_0x2eb431[_0x57e5ca(0x216)][_0x57e5ca(0x1e0)](_0x2eb431['byteOffset'],_0x2eb431[_0x57e5ca(0x2d8)]+_0x2eb431[_0x57e5ca(0x284)]);}function _0x3ef103(_0x20bed2){const _0x6afa75=_0xa0ceb5;if(_0x3ef103['readOnly']=!0x0,Buffer[_0x6afa75(0x1d6)](_0x20bed2))return _0x20bed2;let _0x1eaced;return _0x20bed2 instanceof ArrayBuffer?_0x1eaced=new _0x1af83f(_0x20bed2):ArrayBuffer[_0x6afa75(0x16f)](_0x20bed2)?_0x1eaced=new _0x1af83f(_0x20bed2[_0x6afa75(0x216)],_0x20bed2['byteOffset'],_0x20bed2['byteLength']):(_0x1eaced=Buffer[_0x6afa75(0x1f2)](_0x20bed2),_0x3ef103['readOnly']=!0x1),_0x1eaced;}if(se[_0xa0ceb5(0x1fe)]={'concat':_0xf2ab9f,'mask':_0x1e29cc,'toArrayBuffer':_0x5ed26b,'toBuffer':_0x3ef103,'unmask':_0x4f73ca},!process[_0xa0ceb5(0x2ba)]['WS_NO_BUFFER_UTIL'])try{const _0xfd806e=Lt;se['exports'][_0xa0ceb5(0x173)]=function(_0x1ec032,_0x29bfbf,_0x33db7e,_0x556c3a,_0x218211){const _0x311763=_0xa0ceb5;_0x218211<0x30?_0x1e29cc(_0x1ec032,_0x29bfbf,_0x33db7e,_0x556c3a,_0x218211):_0xfd806e[_0x311763(0x173)](_0x1ec032,_0x29bfbf,_0x33db7e,_0x556c3a,_0x218211);},se['exports']['unmask']=function(_0x453d4c,_0x5c1838){const _0x1ebc4a=_0xa0ceb5;_0x453d4c[_0x1ebc4a(0x284)]<0x20?_0x4f73ca(_0x453d4c,_0x5c1838):_0xfd806e[_0x1ebc4a(0x233)](_0x453d4c,_0x5c1838);};}catch{}return se[_0xa0ceb5(0x1fe)];}var ye,He;function Pt(){const _0xe0cefa=_0x548fc7;if(He)return ye;He=0x1;const _0x288f7f=Symbol('kDone'),_0x207eac=Symbol(_0xe0cefa(0x171));class _0x567c47{constructor(_0x587e03){const _0x2fbc4a=_0xe0cefa;this[_0x288f7f]=()=>{const _0x4434df=_0x4b9f;this[_0x4434df(0x1c6)]--,this[_0x207eac]();},this[_0x2fbc4a(0x2a4)]=_0x587e03||0x1/0x0,this[_0x2fbc4a(0x20c)]=[],this[_0x2fbc4a(0x1c6)]=0x0;}[_0xe0cefa(0x1c7)](_0x46e7d5){const _0x440a5a=_0xe0cefa;this[_0x440a5a(0x20c)]['push'](_0x46e7d5),this[_0x207eac]();}[_0x207eac](){const _0x9fefc6=_0xe0cefa;if(this['pending']!==this['concurrency']&&this[_0x9fefc6(0x20c)]['length']){const _0x89d678=this[_0x9fefc6(0x20c)][_0x9fefc6(0x2c3)]();this['pending']++,_0x89d678(this[_0x288f7f]);}}}return ye=_0x567c47,ye;}var ve,ze;function he(){const _0x24929f=_0x548fc7;if(ze)return ve;ze=0x1;const _0x434f22=bt,_0x1ce646=ce(),_0x3dca86=Pt(),{kStatusCode:_0x13b176}=H(),_0x56991d=Buffer[Symbol['species']],_0x5e9058=Buffer[_0x24929f(0x1f2)]([0x0,0x0,0xff,0xff]),_0x1ddba0=Symbol(_0x24929f(0x130)),_0x5c9018=Symbol(_0x24929f(0x246)),_0x3f8f6a=Symbol(_0x24929f(0x25a)),_0x18a649=Symbol(_0x24929f(0x196)),_0x4b3a05=Symbol(_0x24929f(0x134));let _0x134383;class _0x2e56c1{constructor(_0x33b937,_0x1815bf,_0x87cbee){const _0x4332aa=_0x24929f;if(this['_maxPayload']=_0x87cbee|0x0,this[_0x4332aa(0x212)]=_0x33b937||{},this[_0x4332aa(0x2b3)]=this[_0x4332aa(0x212)]['threshold']!==void 0x0?this['_options'][_0x4332aa(0x243)]:0x400,this['_isServer']=!!_0x1815bf,this[_0x4332aa(0x208)]=null,this[_0x4332aa(0x13b)]=null,this[_0x4332aa(0x1fa)]=null,!_0x134383){const _0x37e5ba=this[_0x4332aa(0x212)]['concurrencyLimit']!==void 0x0?this['_options']['concurrencyLimit']:0xa;_0x134383=new _0x3dca86(_0x37e5ba);}}static get[_0x24929f(0x2ad)](){const _0x3c9cdf=_0x24929f;return _0x3c9cdf(0x130);}[_0x24929f(0x256)](){const _0x38ed19=_0x24929f,_0xd95f09={};return this[_0x38ed19(0x212)][_0x38ed19(0x203)]&&(_0xd95f09[_0x38ed19(0x1a2)]=!0x0),this[_0x38ed19(0x212)][_0x38ed19(0x237)]&&(_0xd95f09[_0x38ed19(0x1c8)]=!0x0),this['_options'][_0x38ed19(0x2f2)]&&(_0xd95f09[_0x38ed19(0x211)]=this[_0x38ed19(0x212)][_0x38ed19(0x2f2)]),this[_0x38ed19(0x212)][_0x38ed19(0x1b2)]?_0xd95f09[_0x38ed19(0x1e2)]=this[_0x38ed19(0x212)][_0x38ed19(0x1b2)]:this[_0x38ed19(0x212)][_0x38ed19(0x1b2)]==null&&(_0xd95f09[_0x38ed19(0x1e2)]=!0x0),_0xd95f09;}[_0x24929f(0x19f)](_0xc2d9b0){const _0x452a8f=_0x24929f;return _0xc2d9b0=this['normalizeParams'](_0xc2d9b0),this[_0x452a8f(0x1fa)]=this[_0x452a8f(0x1ae)]?this[_0x452a8f(0x28a)](_0xc2d9b0):this[_0x452a8f(0x19e)](_0xc2d9b0),this[_0x452a8f(0x1fa)];}[_0x24929f(0x178)](){const _0x5da182=_0x24929f;if(this[_0x5da182(0x13b)]&&(this[_0x5da182(0x13b)]['close'](),this[_0x5da182(0x13b)]=null),this[_0x5da182(0x208)]){const _0x3113c8=this[_0x5da182(0x208)][_0x3f8f6a];this[_0x5da182(0x208)][_0x5da182(0x29e)](),this[_0x5da182(0x208)]=null,_0x3113c8&&_0x3113c8(new Error(_0x5da182(0x273)));}}['acceptAsServer'](_0x3cf0fe){const _0x5b75db=_0x24929f,_0x41ae1b=this[_0x5b75db(0x212)],_0x161182=_0x3cf0fe[_0x5b75db(0x15b)](_0x4821d7=>!(_0x41ae1b[_0x5b75db(0x203)]===!0x1&&_0x4821d7[_0x5b75db(0x1a2)]||_0x4821d7[_0x5b75db(0x211)]&&(_0x41ae1b[_0x5b75db(0x2f2)]===!0x1||typeof _0x41ae1b[_0x5b75db(0x2f2)]==_0x5b75db(0x262)&&_0x41ae1b[_0x5b75db(0x2f2)]>_0x4821d7[_0x5b75db(0x211)])||typeof _0x41ae1b[_0x5b75db(0x1b2)]==_0x5b75db(0x262)&&!_0x4821d7[_0x5b75db(0x1e2)]));if(!_0x161182)throw new Error('None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted');return _0x41ae1b[_0x5b75db(0x203)]&&(_0x161182[_0x5b75db(0x1a2)]=!0x0),_0x41ae1b['clientNoContextTakeover']&&(_0x161182[_0x5b75db(0x1c8)]=!0x0),typeof _0x41ae1b['serverMaxWindowBits']==_0x5b75db(0x262)&&(_0x161182[_0x5b75db(0x211)]=_0x41ae1b[_0x5b75db(0x2f2)]),typeof _0x41ae1b['clientMaxWindowBits']==_0x5b75db(0x262)?_0x161182[_0x5b75db(0x1e2)]=_0x41ae1b[_0x5b75db(0x1b2)]:(_0x161182['client_max_window_bits']===!0x0||_0x41ae1b[_0x5b75db(0x1b2)]===!0x1)&&delete _0x161182['client_max_window_bits'],_0x161182;}[_0x24929f(0x19e)](_0x1ce41a){const _0x4c291d=_0x24929f,_0x37f75b=_0x1ce41a[0x0];if(this[_0x4c291d(0x212)][_0x4c291d(0x237)]===!0x1&&_0x37f75b[_0x4c291d(0x1c8)])throw new Error('Unexpected\x20parameter\x20\x22client_no_context_takeover\x22');if(!_0x37f75b['client_max_window_bits'])typeof this[_0x4c291d(0x212)][_0x4c291d(0x1b2)]==_0x4c291d(0x262)&&(_0x37f75b['client_max_window_bits']=this['_options']['clientMaxWindowBits']);else{if(this[_0x4c291d(0x212)][_0x4c291d(0x1b2)]===!0x1||typeof this[_0x4c291d(0x212)][_0x4c291d(0x1b2)]=='number'&&_0x37f75b['client_max_window_bits']>this[_0x4c291d(0x212)][_0x4c291d(0x1b2)])throw new Error(_0x4c291d(0x2d9));}return _0x37f75b;}[_0x24929f(0x290)](_0x44a942){const _0x1a0760=_0x24929f;return _0x44a942[_0x1a0760(0x269)](_0x35dbd7=>{const _0x397f33=_0x1a0760;Object[_0x397f33(0x17f)](_0x35dbd7)[_0x397f33(0x269)](_0x1ab9f9=>{const _0x261e66=_0x397f33;let _0x556b0b=_0x35dbd7[_0x1ab9f9];if(_0x556b0b[_0x261e66(0x284)]>0x1)throw new Error(_0x261e66(0x17d)+_0x1ab9f9+_0x261e66(0x277));if(_0x556b0b=_0x556b0b[0x0],_0x1ab9f9===_0x261e66(0x1e2)){if(_0x556b0b!==!0x0){const _0x41dcfd=+_0x556b0b;if(!Number[_0x261e66(0x13c)](_0x41dcfd)||_0x41dcfd<0x8||_0x41dcfd>0xf)throw new TypeError(_0x261e66(0x281)+_0x1ab9f9+_0x261e66(0x2d7)+_0x556b0b);_0x556b0b=_0x41dcfd;}else{if(!this[_0x261e66(0x1ae)])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x1ab9f9+_0x261e66(0x2d7)+_0x556b0b);}}else{if(_0x1ab9f9===_0x261e66(0x211)){const _0x4114af=+_0x556b0b;if(!Number[_0x261e66(0x13c)](_0x4114af)||_0x4114af<0x8||_0x4114af>0xf)throw new TypeError(_0x261e66(0x281)+_0x1ab9f9+_0x261e66(0x2d7)+_0x556b0b);_0x556b0b=_0x4114af;}else{if(_0x1ab9f9===_0x261e66(0x1c8)||_0x1ab9f9===_0x261e66(0x1a2)){if(_0x556b0b!==!0x0)throw new TypeError(_0x261e66(0x281)+_0x1ab9f9+_0x261e66(0x2d7)+_0x556b0b);}else throw new Error(_0x261e66(0x1c3)+_0x1ab9f9+'\x22');}}_0x35dbd7[_0x1ab9f9]=_0x556b0b;});}),_0x44a942;}[_0x24929f(0x267)](_0x585616,_0x1e9139,_0x55f634){const _0x46de4a=_0x24929f;_0x134383[_0x46de4a(0x1c7)](_0xd949e=>{this['_decompress'](_0x585616,_0x1e9139,(_0x1cf2f4,_0x47e9da)=>{_0xd949e(),_0x55f634(_0x1cf2f4,_0x47e9da);});});}[_0x24929f(0x16e)](_0x1834cb,_0x43fd09,_0x2586fd){const _0x46815a=_0x24929f;_0x134383[_0x46815a(0x1c7)](_0x80bf8d=>{const _0x45f929=_0x46815a;this[_0x45f929(0x2bc)](_0x1834cb,_0x43fd09,(_0x5b9cac,_0x201066)=>{_0x80bf8d(),_0x2586fd(_0x5b9cac,_0x201066);});});}[_0x24929f(0x2e9)](_0x4eb2a4,_0x26b566,_0x167cdd){const _0x168e23=_0x24929f,_0x1247e4=this['_isServer']?_0x168e23(0x2f0):'server';if(!this[_0x168e23(0x13b)]){const _0x55a4d7=_0x1247e4+_0x168e23(0x1e9),_0x41561f=typeof this[_0x168e23(0x1fa)][_0x55a4d7]!=_0x168e23(0x262)?_0x434f22[_0x168e23(0x2c7)]:this[_0x168e23(0x1fa)][_0x55a4d7];this[_0x168e23(0x13b)]=_0x434f22[_0x168e23(0x22d)]({...this[_0x168e23(0x212)][_0x168e23(0x147)],'windowBits':_0x41561f}),this[_0x168e23(0x13b)][_0x1ddba0]=this,this['_inflate'][_0x5c9018]=0x0,this['_inflate'][_0x18a649]=[],this[_0x168e23(0x13b)]['on'](_0x168e23(0x134),_0x5d669e),this[_0x168e23(0x13b)]['on'](_0x168e23(0x2e6),_0x34d5f0);}this['_inflate'][_0x3f8f6a]=_0x167cdd,this[_0x168e23(0x13b)][_0x168e23(0x1eb)](_0x4eb2a4),_0x26b566&&this[_0x168e23(0x13b)]['write'](_0x5e9058),this[_0x168e23(0x13b)]['flush'](()=>{const _0x47ab4a=_0x168e23,_0x1cb7f1=this[_0x47ab4a(0x13b)][_0x4b3a05];if(_0x1cb7f1){this[_0x47ab4a(0x13b)][_0x47ab4a(0x29e)](),this[_0x47ab4a(0x13b)]=null,_0x167cdd(_0x1cb7f1);return;}const _0x507469=_0x1ce646[_0x47ab4a(0x14d)](this[_0x47ab4a(0x13b)][_0x18a649],this[_0x47ab4a(0x13b)][_0x5c9018]);this[_0x47ab4a(0x13b)][_0x47ab4a(0x1d3)][_0x47ab4a(0x17c)]?(this[_0x47ab4a(0x13b)][_0x47ab4a(0x29e)](),this[_0x47ab4a(0x13b)]=null):(this[_0x47ab4a(0x13b)][_0x5c9018]=0x0,this[_0x47ab4a(0x13b)][_0x18a649]=[],_0x26b566&&this[_0x47ab4a(0x1fa)][_0x1247e4+_0x47ab4a(0x205)]&&this[_0x47ab4a(0x13b)][_0x47ab4a(0x2c2)]()),_0x167cdd(null,_0x507469);});}[_0x24929f(0x2bc)](_0x1c3e57,_0x14add6,_0x205a18){const _0x2fb902=_0x24929f,_0x1cc2ee=this[_0x2fb902(0x1ae)]?_0x2fb902(0x148):_0x2fb902(0x2f0);if(!this[_0x2fb902(0x208)]){const _0x1eddae=_0x1cc2ee+_0x2fb902(0x1e9),_0x3d4a3f=typeof this[_0x2fb902(0x1fa)][_0x1eddae]!=_0x2fb902(0x262)?_0x434f22[_0x2fb902(0x2c7)]:this[_0x2fb902(0x1fa)][_0x1eddae];this[_0x2fb902(0x208)]=_0x434f22[_0x2fb902(0x1d4)]({...this[_0x2fb902(0x212)][_0x2fb902(0x1ed)],'windowBits':_0x3d4a3f}),this[_0x2fb902(0x208)][_0x5c9018]=0x0,this[_0x2fb902(0x208)][_0x18a649]=[],this[_0x2fb902(0x208)]['on']('data',_0x33df68);}this[_0x2fb902(0x208)][_0x3f8f6a]=_0x205a18,this['_deflate']['write'](_0x1c3e57),this[_0x2fb902(0x208)][_0x2fb902(0x16a)](_0x434f22[_0x2fb902(0x279)],()=>{const _0x5480c2=_0x2fb902;if(!this[_0x5480c2(0x208)])return;let _0x599ca5=_0x1ce646[_0x5480c2(0x14d)](this[_0x5480c2(0x208)][_0x18a649],this[_0x5480c2(0x208)][_0x5c9018]);_0x14add6&&(_0x599ca5=new _0x56991d(_0x599ca5[_0x5480c2(0x216)],_0x599ca5[_0x5480c2(0x2d8)],_0x599ca5[_0x5480c2(0x284)]-0x4)),this['_deflate'][_0x3f8f6a]=null,this[_0x5480c2(0x208)][_0x5c9018]=0x0,this[_0x5480c2(0x208)][_0x18a649]=[],_0x14add6&&this['params'][_0x1cc2ee+'_no_context_takeover']&&this[_0x5480c2(0x208)][_0x5480c2(0x2c2)](),_0x205a18(null,_0x599ca5);});}}ve=_0x2e56c1;function _0x33df68(_0x6771d3){const _0x325727=_0x24929f;this[_0x18a649]['push'](_0x6771d3),this[_0x5c9018]+=_0x6771d3[_0x325727(0x284)];}function _0x34d5f0(_0x19e005){const _0x2b8611=_0x24929f;if(this[_0x5c9018]+=_0x19e005[_0x2b8611(0x284)],this[_0x1ddba0]['_maxPayload']<0x1||this[_0x5c9018]<=this[_0x1ddba0][_0x2b8611(0x177)]){this[_0x18a649][_0x2b8611(0x1e6)](_0x19e005);return;}this[_0x4b3a05]=new RangeError(_0x2b8611(0x285)),this[_0x4b3a05]['code']='WS_ERR_UNSUPPORTED_MESSAGE_LENGTH',this[_0x4b3a05][_0x13b176]=0x3f1,this[_0x2b8611(0x2de)]('data',_0x34d5f0),this[_0x2b8611(0x2c2)]();}function _0x5d669e(_0x5c528c){if(this[_0x1ddba0]['_inflate']=null,this[_0x4b3a05]){this[_0x3f8f6a](this[_0x4b3a05]);return;}_0x5c528c[_0x13b176]=0x3ef,this[_0x3f8f6a](_0x5c528c);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object['freeze'](Object[_0x548fc7(0x2a6)]({'__proto__':null,'default':Dt},Symbol[_0x548fc7(0x158)],{'value':'Module'})),Bt=at(Rt);var Ye;function ae(){const _0x40bcc4=_0x548fc7;if(Ye)return ie[_0x40bcc4(0x1fe)];Ye=0x1;const {isUtf8:_0x1bd981}=wt,{hasBlob:_0x3fbbd3}=H(),_0x2dc411=[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 _0x1d7101(_0x25b940){return _0x25b940>=0x3e8&&_0x25b940<=0x3f6&&_0x25b940!==0x3ec&&_0x25b940!==0x3ed&&_0x25b940!==0x3ee||_0x25b940>=0xbb8&&_0x25b940<=0x1387;}function _0x55882d(_0x4d1f08){const _0x3bb623=_0x40bcc4,_0x131cb7=_0x4d1f08[_0x3bb623(0x284)];let _0x3d3305=0x0;for(;_0x3d3305<_0x131cb7;)if((_0x4d1f08[_0x3d3305]&0x80)===0x0)_0x3d3305++;else{if((_0x4d1f08[_0x3d3305]&0xe0)===0xc0){if(_0x3d3305+0x1===_0x131cb7||(_0x4d1f08[_0x3d3305+0x1]&0xc0)!==0x80||(_0x4d1f08[_0x3d3305]&0xfe)===0xc0)return!0x1;_0x3d3305+=0x2;}else{if((_0x4d1f08[_0x3d3305]&0xf0)===0xe0){if(_0x3d3305+0x2>=_0x131cb7||(_0x4d1f08[_0x3d3305+0x1]&0xc0)!==0x80||(_0x4d1f08[_0x3d3305+0x2]&0xc0)!==0x80||_0x4d1f08[_0x3d3305]===0xe0&&(_0x4d1f08[_0x3d3305+0x1]&0xe0)===0x80||_0x4d1f08[_0x3d3305]===0xed&&(_0x4d1f08[_0x3d3305+0x1]&0xe0)===0xa0)return!0x1;_0x3d3305+=0x3;}else{if((_0x4d1f08[_0x3d3305]&0xf8)===0xf0){if(_0x3d3305+0x3>=_0x131cb7||(_0x4d1f08[_0x3d3305+0x1]&0xc0)!==0x80||(_0x4d1f08[_0x3d3305+0x2]&0xc0)!==0x80||(_0x4d1f08[_0x3d3305+0x3]&0xc0)!==0x80||_0x4d1f08[_0x3d3305]===0xf0&&(_0x4d1f08[_0x3d3305+0x1]&0xf0)===0x80||_0x4d1f08[_0x3d3305]===0xf4&&_0x4d1f08[_0x3d3305+0x1]>0x8f||_0x4d1f08[_0x3d3305]>0xf4)return!0x1;_0x3d3305+=0x4;}else return!0x1;}}}return!0x0;}function _0x29d102(_0x3a3365){const _0x4cd977=_0x40bcc4;return _0x3fbbd3&&typeof _0x3a3365==_0x4cd977(0x2b0)&&typeof _0x3a3365[_0x4cd977(0x294)]==_0x4cd977(0x164)&&typeof _0x3a3365[_0x4cd977(0x2c9)]==_0x4cd977(0x21c)&&typeof _0x3a3365[_0x4cd977(0x23e)]==_0x4cd977(0x164)&&(_0x3a3365[Symbol[_0x4cd977(0x158)]]==='Blob'||_0x3a3365[Symbol[_0x4cd977(0x158)]]===_0x4cd977(0x202));}if(ie[_0x40bcc4(0x1fe)]={'isBlob':_0x29d102,'isValidStatusCode':_0x1d7101,'isValidUTF8':_0x55882d,'tokenChars':_0x2dc411},_0x1bd981)ie[_0x40bcc4(0x1fe)][_0x40bcc4(0x2ef)]=function(_0x287c8c){const _0x266225=_0x40bcc4;return _0x287c8c[_0x266225(0x284)]<0x18?_0x55882d(_0x287c8c):_0x1bd981(_0x287c8c);};else{if(!process[_0x40bcc4(0x2ba)]['WS_NO_UTF_8_VALIDATE'])try{const _0x26a288=Bt;ie[_0x40bcc4(0x1fe)][_0x40bcc4(0x2ef)]=function(_0x50637e){const _0x222d91=_0x40bcc4;return _0x50637e[_0x222d91(0x284)]<0x20?_0x55882d(_0x50637e):_0x26a288(_0x50637e);};}catch{}}return ie['exports'];}var Se,Ke;function lt(){const _0x5231c6=_0x548fc7;if(Ke)return Se;Ke=0x1;const {Writable:_0x4d1d62}=oe,_0x1d025e=he(),{BINARY_TYPES:_0x145737,EMPTY_BUFFER:_0x59262c,kStatusCode:_0x589a60,kWebSocket:_0x12592e}=H(),{concat:_0xb619f8,toArrayBuffer:_0x55654d,unmask:_0x3682de}=ce(),{isValidStatusCode:_0xbcd536,isValidUTF8:_0x38c886}=ae(),_0x21840c=Buffer[Symbol[_0x5231c6(0x28e)]],_0x432c91=0x0,_0x1197d8=0x1,_0x293629=0x2,_0x2e981f=0x3,_0x186447=0x4,_0x15e1e1=0x5,_0x25010a=0x6;class _0x93b045 extends _0x4d1d62{constructor(_0x36ec70={}){const _0x270926=_0x5231c6;super(),this['_allowSynchronousEvents']=_0x36ec70[_0x270926(0x1b4)]!==void 0x0?_0x36ec70[_0x270926(0x1b4)]:!0x0,this[_0x270926(0x2e2)]=_0x36ec70[_0x270926(0x1f3)]||_0x145737[0x0],this['_extensions']=_0x36ec70[_0x270926(0x190)]||{},this[_0x270926(0x1ae)]=!!_0x36ec70[_0x270926(0x271)],this[_0x270926(0x177)]=_0x36ec70[_0x270926(0x17a)]|0x0,this['_skipUTF8Validation']=!!_0x36ec70[_0x270926(0x1d9)],this[_0x12592e]=void 0x0,this[_0x270926(0x224)]=0x0,this[_0x270926(0x2c1)]=[],this[_0x270926(0x139)]=!0x1,this[_0x270926(0x19d)]=0x0,this[_0x270926(0x25f)]=void 0x0,this[_0x270926(0x1c9)]=0x0,this[_0x270926(0x289)]=!0x1,this[_0x270926(0x2b4)]=!0x1,this[_0x270926(0x175)]=0x0,this[_0x270926(0x209)]=0x0,this[_0x270926(0x1ca)]=0x0,this['_fragments']=[],this[_0x270926(0x1bd)]=!0x1,this['_loop']=!0x1,this[_0x270926(0x201)]=_0x432c91;}[_0x5231c6(0x1ac)](_0x50cbd7,_0x2e868f,_0x205dec){const _0x12b01e=_0x5231c6;if(this[_0x12b01e(0x175)]===0x8&&this[_0x12b01e(0x201)]==_0x432c91)return _0x205dec();this[_0x12b01e(0x224)]+=_0x50cbd7['length'],this[_0x12b01e(0x2c1)][_0x12b01e(0x1e6)](_0x50cbd7),this[_0x12b01e(0x14c)](_0x205dec);}['consume'](_0x4321be){const _0x4038de=_0x5231c6;if(this[_0x4038de(0x224)]-=_0x4321be,_0x4321be===this[_0x4038de(0x2c1)][0x0][_0x4038de(0x284)])return this['_buffers'][_0x4038de(0x2c3)]();if(_0x4321be<this[_0x4038de(0x2c1)][0x0]['length']){const _0x31c1a3=this[_0x4038de(0x2c1)][0x0];return this['_buffers'][0x0]=new _0x21840c(_0x31c1a3[_0x4038de(0x216)],_0x31c1a3['byteOffset']+_0x4321be,_0x31c1a3[_0x4038de(0x284)]-_0x4321be),new _0x21840c(_0x31c1a3[_0x4038de(0x216)],_0x31c1a3['byteOffset'],_0x4321be);}const _0x114f06=Buffer[_0x4038de(0x1d0)](_0x4321be);do{const _0x3efaa6=this[_0x4038de(0x2c1)][0x0],_0x364a79=_0x114f06[_0x4038de(0x284)]-_0x4321be;_0x4321be>=_0x3efaa6[_0x4038de(0x284)]?_0x114f06[_0x4038de(0x276)](this[_0x4038de(0x2c1)][_0x4038de(0x2c3)](),_0x364a79):(_0x114f06[_0x4038de(0x276)](new Uint8Array(_0x3efaa6[_0x4038de(0x216)],_0x3efaa6[_0x4038de(0x2d8)],_0x4321be),_0x364a79),this[_0x4038de(0x2c1)][0x0]=new _0x21840c(_0x3efaa6[_0x4038de(0x216)],_0x3efaa6[_0x4038de(0x2d8)]+_0x4321be,_0x3efaa6[_0x4038de(0x284)]-_0x4321be)),_0x4321be-=_0x3efaa6['length'];}while(_0x4321be>0x0);return _0x114f06;}[_0x5231c6(0x14c)](_0x1af04e){const _0x5590c1=_0x5231c6;this[_0x5590c1(0x1ff)]=!0x0;do switch(this['_state']){case _0x432c91:this['getInfo'](_0x1af04e);break;case _0x1197d8:this['getPayloadLength16'](_0x1af04e);break;case _0x293629:this[_0x5590c1(0x2cf)](_0x1af04e);break;case _0x2e981f:this[_0x5590c1(0x154)]();break;case _0x186447:this[_0x5590c1(0x1c1)](_0x1af04e);break;case _0x15e1e1:case _0x25010a:this[_0x5590c1(0x1ff)]=!0x1;return;}while(this[_0x5590c1(0x1ff)]);this['_errored']||_0x1af04e();}[_0x5231c6(0x28f)](_0x1064c1){const _0x445d0f=_0x5231c6;if(this['_bufferedBytes']<0x2){this[_0x445d0f(0x1ff)]=!0x1;return;}const _0x2e1ea3=this['consume'](0x2);if((_0x2e1ea3[0x0]&0x30)!==0x0){const _0x32468a=this[_0x445d0f(0x258)](RangeError,_0x445d0f(0x207),!0x0,0x3ea,_0x445d0f(0x253));_0x1064c1(_0x32468a);return;}const _0x1cb5a2=(_0x2e1ea3[0x0]&0x40)===0x40;if(_0x1cb5a2&&!this[_0x445d0f(0x1a9)][_0x1d025e['extensionName']]){const _0x15b2e2=this[_0x445d0f(0x258)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x1064c1(_0x15b2e2);return;}if(this[_0x445d0f(0x2b4)]=(_0x2e1ea3[0x0]&0x80)===0x80,this[_0x445d0f(0x175)]=_0x2e1ea3[0x0]&0xf,this['_payloadLength']=_0x2e1ea3[0x1]&0x7f,this[_0x445d0f(0x175)]===0x0){if(_0x1cb5a2){const _0x5e68ac=this[_0x445d0f(0x258)](RangeError,_0x445d0f(0x1fd),!0x0,0x3ea,_0x445d0f(0x132));_0x1064c1(_0x5e68ac);return;}if(!this['_fragmented']){const _0x4771e1=this[_0x445d0f(0x258)](RangeError,_0x445d0f(0x1db),!0x0,0x3ea,_0x445d0f(0x28c));_0x1064c1(_0x4771e1);return;}this[_0x445d0f(0x175)]=this[_0x445d0f(0x1c9)];}else{if(this[_0x445d0f(0x175)]===0x1||this[_0x445d0f(0x175)]===0x2){if(this[_0x445d0f(0x1c9)]){const _0x214b69=this[_0x445d0f(0x258)](RangeError,_0x445d0f(0x14a)+this['_opcode'],!0x0,0x3ea,_0x445d0f(0x28c));_0x1064c1(_0x214b69);return;}this[_0x445d0f(0x139)]=_0x1cb5a2;}else{if(this[_0x445d0f(0x175)]>0x7&&this['_opcode']<0xb){if(!this[_0x445d0f(0x2b4)]){const _0x3ffec1=this[_0x445d0f(0x258)](RangeError,_0x445d0f(0x2ce),!0x0,0x3ea,_0x445d0f(0x2ab));_0x1064c1(_0x3ffec1);return;}if(_0x1cb5a2){const _0x148ec7=this[_0x445d0f(0x258)](RangeError,_0x445d0f(0x1fd),!0x0,0x3ea,_0x445d0f(0x132));_0x1064c1(_0x148ec7);return;}if(this[_0x445d0f(0x19d)]>0x7d||this[_0x445d0f(0x175)]===0x8&&this[_0x445d0f(0x19d)]===0x1){const _0x1ef513=this[_0x445d0f(0x258)](RangeError,_0x445d0f(0x255)+this[_0x445d0f(0x19d)],!0x0,0x3ea,_0x445d0f(0x24f));_0x1064c1(_0x1ef513);return;}}else{const _0x4544d1=this['createError'](RangeError,_0x445d0f(0x14a)+this[_0x445d0f(0x175)],!0x0,0x3ea,_0x445d0f(0x28c));_0x1064c1(_0x4544d1);return;}}}if(!this[_0x445d0f(0x2b4)]&&!this[_0x445d0f(0x1c9)]&&(this[_0x445d0f(0x1c9)]=this[_0x445d0f(0x175)]),this['_masked']=(_0x2e1ea3[0x1]&0x80)===0x80,this[_0x445d0f(0x1ae)]){if(!this[_0x445d0f(0x289)]){const _0x4af4dd=this['createError'](RangeError,_0x445d0f(0x1e1),!0x0,0x3ea,_0x445d0f(0x297));_0x1064c1(_0x4af4dd);return;}}else{if(this[_0x445d0f(0x289)]){const _0xe4a07=this[_0x445d0f(0x258)](RangeError,_0x445d0f(0x275),!0x0,0x3ea,_0x445d0f(0x1b0));_0x1064c1(_0xe4a07);return;}}this['_payloadLength']===0x7e?this[_0x445d0f(0x201)]=_0x1197d8:this['_payloadLength']===0x7f?this['_state']=_0x293629:this['haveLength'](_0x1064c1);}[_0x5231c6(0x221)](_0x4c9e02){const _0x217bb3=_0x5231c6;if(this['_bufferedBytes']<0x2){this[_0x217bb3(0x1ff)]=!0x1;return;}this['_payloadLength']=this[_0x217bb3(0x1e8)](0x2)[_0x217bb3(0x232)](0x0),this[_0x217bb3(0x23c)](_0x4c9e02);}[_0x5231c6(0x2cf)](_0x592f86){const _0x47c339=_0x5231c6;if(this[_0x47c339(0x224)]<0x8){this['_loop']=!0x1;return;}const _0x37ba8a=this[_0x47c339(0x1e8)](0x8),_0x28ecb8=_0x37ba8a[_0x47c339(0x250)](0x0);if(_0x28ecb8>Math[_0x47c339(0x204)](0x2,0x15)-0x1){const _0x48959a=this[_0x47c339(0x258)](RangeError,_0x47c339(0x287),!0x1,0x3f1,_0x47c339(0x1aa));_0x592f86(_0x48959a);return;}this['_payloadLength']=_0x28ecb8*Math[_0x47c339(0x204)](0x2,0x20)+_0x37ba8a['readUInt32BE'](0x4),this[_0x47c339(0x23c)](_0x592f86);}[_0x5231c6(0x23c)](_0x5e0d84){const _0x7d4392=_0x5231c6;if(this[_0x7d4392(0x19d)]&&this[_0x7d4392(0x175)]<0x8&&(this['_totalPayloadLength']+=this[_0x7d4392(0x19d)],this[_0x7d4392(0x209)]>this[_0x7d4392(0x177)]&&this[_0x7d4392(0x177)]>0x0)){const _0x203f3b=this[_0x7d4392(0x258)](RangeError,_0x7d4392(0x285),!0x1,0x3f1,_0x7d4392(0x257));_0x5e0d84(_0x203f3b);return;}this[_0x7d4392(0x289)]?this[_0x7d4392(0x201)]=_0x2e981f:this['_state']=_0x186447;}[_0x5231c6(0x154)](){const _0x54217a=_0x5231c6;if(this[_0x54217a(0x224)]<0x4){this[_0x54217a(0x1ff)]=!0x1;return;}this['_mask']=this[_0x54217a(0x1e8)](0x4),this[_0x54217a(0x201)]=_0x186447;}[_0x5231c6(0x1c1)](_0x176829){const _0x30bb3c=_0x5231c6;let _0x39c08d=_0x59262c;if(this[_0x30bb3c(0x19d)]){if(this['_bufferedBytes']<this[_0x30bb3c(0x19d)]){this[_0x30bb3c(0x1ff)]=!0x1;return;}_0x39c08d=this[_0x30bb3c(0x1e8)](this[_0x30bb3c(0x19d)]),this[_0x30bb3c(0x289)]&&(this[_0x30bb3c(0x25f)][0x0]|this[_0x30bb3c(0x25f)][0x1]|this[_0x30bb3c(0x25f)][0x2]|this[_0x30bb3c(0x25f)][0x3])!==0x0&&_0x3682de(_0x39c08d,this[_0x30bb3c(0x25f)]);}if(this[_0x30bb3c(0x175)]>0x7){this[_0x30bb3c(0x27c)](_0x39c08d,_0x176829);return;}if(this[_0x30bb3c(0x139)]){this['_state']=_0x15e1e1,this[_0x30bb3c(0x267)](_0x39c08d,_0x176829);return;}_0x39c08d[_0x30bb3c(0x284)]&&(this[_0x30bb3c(0x1ca)]=this[_0x30bb3c(0x209)],this['_fragments'][_0x30bb3c(0x1e6)](_0x39c08d)),this[_0x30bb3c(0x1b7)](_0x176829);}[_0x5231c6(0x267)](_0x7673bf,_0x47ddd7){const _0x18afdb=_0x5231c6;this[_0x18afdb(0x1a9)][_0x1d025e['extensionName']][_0x18afdb(0x267)](_0x7673bf,this[_0x18afdb(0x2b4)],(_0x51b336,_0x15775a)=>{const _0x3a2e4d=_0x18afdb;if(_0x51b336)return _0x47ddd7(_0x51b336);if(_0x15775a[_0x3a2e4d(0x284)]){if(this[_0x3a2e4d(0x1ca)]+=_0x15775a[_0x3a2e4d(0x284)],this[_0x3a2e4d(0x1ca)]>this[_0x3a2e4d(0x177)]&&this[_0x3a2e4d(0x177)]>0x0){const _0x32d6a4=this[_0x3a2e4d(0x258)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x3a2e4d(0x257));_0x47ddd7(_0x32d6a4);return;}this[_0x3a2e4d(0x263)]['push'](_0x15775a);}this[_0x3a2e4d(0x1b7)](_0x47ddd7),this[_0x3a2e4d(0x201)]===_0x432c91&&this[_0x3a2e4d(0x14c)](_0x47ddd7);});}['dataMessage'](_0x476b6c){const _0x5ac373=_0x5231c6;if(!this['_fin']){this['_state']=_0x432c91;return;}const _0x2e13b1=this[_0x5ac373(0x1ca)],_0x48f82c=this['_fragments'];if(this['_totalPayloadLength']=0x0,this[_0x5ac373(0x1ca)]=0x0,this[_0x5ac373(0x1c9)]=0x0,this['_fragments']=[],this[_0x5ac373(0x175)]===0x2){let _0x52737b;this[_0x5ac373(0x2e2)]==='nodebuffer'?_0x52737b=_0xb619f8(_0x48f82c,_0x2e13b1):this[_0x5ac373(0x2e2)]===_0x5ac373(0x184)?_0x52737b=_0x55654d(_0xb619f8(_0x48f82c,_0x2e13b1)):this[_0x5ac373(0x2e2)]===_0x5ac373(0x2f4)?_0x52737b=new Blob(_0x48f82c):_0x52737b=_0x48f82c,this[_0x5ac373(0x161)]?(this[_0x5ac373(0x26d)](_0x5ac373(0x1a4),_0x52737b,!0x0),this['_state']=_0x432c91):(this['_state']=_0x25010a,setImmediate(()=>{const _0x2b938d=_0x5ac373;this[_0x2b938d(0x26d)](_0x2b938d(0x1a4),_0x52737b,!0x0),this[_0x2b938d(0x201)]=_0x432c91,this[_0x2b938d(0x14c)](_0x476b6c);}));}else{const _0x297cdf=_0xb619f8(_0x48f82c,_0x2e13b1);if(!this[_0x5ac373(0x291)]&&!_0x38c886(_0x297cdf)){const _0x2df7fd=this[_0x5ac373(0x258)](Error,_0x5ac373(0x23b),!0x0,0x3ef,_0x5ac373(0x274));_0x476b6c(_0x2df7fd);return;}this['_state']===_0x15e1e1||this[_0x5ac373(0x161)]?(this[_0x5ac373(0x26d)](_0x5ac373(0x1a4),_0x297cdf,!0x1),this[_0x5ac373(0x201)]=_0x432c91):(this[_0x5ac373(0x201)]=_0x25010a,setImmediate(()=>{const _0x59a48e=_0x5ac373;this['emit'](_0x59a48e(0x1a4),_0x297cdf,!0x1),this['_state']=_0x432c91,this[_0x59a48e(0x14c)](_0x476b6c);}));}}[_0x5231c6(0x27c)](_0x541150,_0x13d2da){const _0x408369=_0x5231c6;if(this['_opcode']===0x8){if(_0x541150['length']===0x0)this[_0x408369(0x1ff)]=!0x1,this['emit'](_0x408369(0x299),0x3ed,_0x59262c),this[_0x408369(0x170)]();else{const _0x23b9c7=_0x541150[_0x408369(0x232)](0x0);if(!_0xbcd536(_0x23b9c7)){const _0x276474=this['createError'](RangeError,_0x408369(0x252)+_0x23b9c7,!0x0,0x3ea,_0x408369(0x1e3));_0x13d2da(_0x276474);return;}const _0x16e920=new _0x21840c(_0x541150[_0x408369(0x216)],_0x541150[_0x408369(0x2d8)]+0x2,_0x541150[_0x408369(0x284)]-0x2);if(!this[_0x408369(0x291)]&&!_0x38c886(_0x16e920)){const _0x3bfe48=this[_0x408369(0x258)](Error,_0x408369(0x23b),!0x0,0x3ef,_0x408369(0x274));_0x13d2da(_0x3bfe48);return;}this['_loop']=!0x1,this[_0x408369(0x26d)](_0x408369(0x299),_0x23b9c7,_0x16e920),this[_0x408369(0x170)]();}this[_0x408369(0x201)]=_0x432c91;return;}this[_0x408369(0x161)]?(this[_0x408369(0x26d)](this[_0x408369(0x175)]===0x9?'ping':'pong',_0x541150),this['_state']=_0x432c91):(this[_0x408369(0x201)]=_0x25010a,setImmediate(()=>{const _0x185583=_0x408369;this[_0x185583(0x26d)](this[_0x185583(0x175)]===0x9?_0x185583(0x1b6):'pong',_0x541150),this[_0x185583(0x201)]=_0x432c91,this[_0x185583(0x14c)](_0x13d2da);}));}[_0x5231c6(0x258)](_0x41edc6,_0x3c975c,_0x511332,_0x599c6f,_0x420cf9){const _0x5b1588=_0x5231c6;this[_0x5b1588(0x1ff)]=!0x1,this[_0x5b1588(0x1bd)]=!0x0;const _0x52a630=new _0x41edc6(_0x511332?'Invalid\x20WebSocket\x20frame:\x20'+_0x3c975c:_0x3c975c);return Error['captureStackTrace'](_0x52a630,this['createError']),_0x52a630[_0x5b1588(0x1ea)]=_0x420cf9,_0x52a630[_0x589a60]=_0x599c6f,_0x52a630;}}return Se=_0x93b045,Se;}var Ee,Xe;function ft(){const _0x109ff7=_0x548fc7;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x21e5f7}=oe,{randomFillSync:_0x287c8d}=Le,_0x5a4823=he(),{EMPTY_BUFFER:_0x3b6a40,kWebSocket:_0x27a30e,NOOP:_0x3f411d}=H(),{isBlob:_0x526e45,isValidStatusCode:_0x1e90d5}=ae(),{mask:_0x199629,toBuffer:_0xc66bd0}=ce(),_0x2576bd=Symbol(_0x109ff7(0x27a)),_0x5d6dc5=Buffer[_0x109ff7(0x19a)](0x4),_0x1d4d00=0x8*0x400;let _0x4b98dd,_0x2baa84=_0x1d4d00;const _0x4d6531=0x0,_0x4dce64=0x1,_0x335f90=0x2;class _0x998e4d{constructor(_0x4bee05,_0x1a7824,_0x41808e){const _0x40fd0d=_0x109ff7;this[_0x40fd0d(0x1a9)]=_0x1a7824||{},_0x41808e&&(this[_0x40fd0d(0x1cd)]=_0x41808e,this[_0x40fd0d(0x20b)]=Buffer[_0x40fd0d(0x19a)](0x4)),this[_0x40fd0d(0x2a0)]=_0x4bee05,this[_0x40fd0d(0x1c4)]=!0x0,this[_0x40fd0d(0x2bc)]=!0x1,this['_bufferedBytes']=0x0,this[_0x40fd0d(0x23f)]=[],this[_0x40fd0d(0x201)]=_0x4d6531,this['onerror']=_0x3f411d,this[_0x27a30e]=void 0x0;}static[_0x109ff7(0x2e3)](_0xf82aa6,_0x513940){const _0x22786f=_0x109ff7;let _0x2658a7,_0x1bec83=!0x1,_0x1a84dc=0x2,_0x177be5=!0x1;_0x513940[_0x22786f(0x173)]&&(_0x2658a7=_0x513940['maskBuffer']||_0x5d6dc5,_0x513940[_0x22786f(0x18e)]?_0x513940[_0x22786f(0x18e)](_0x2658a7):(_0x2baa84===_0x1d4d00&&(_0x4b98dd===void 0x0&&(_0x4b98dd=Buffer[_0x22786f(0x19a)](_0x1d4d00)),_0x287c8d(_0x4b98dd,0x0,_0x1d4d00),_0x2baa84=0x0),_0x2658a7[0x0]=_0x4b98dd[_0x2baa84++],_0x2658a7[0x1]=_0x4b98dd[_0x2baa84++],_0x2658a7[0x2]=_0x4b98dd[_0x2baa84++],_0x2658a7[0x3]=_0x4b98dd[_0x2baa84++]),_0x177be5=(_0x2658a7[0x0]|_0x2658a7[0x1]|_0x2658a7[0x2]|_0x2658a7[0x3])===0x0,_0x1a84dc=0x6);let _0x3dcf46;typeof _0xf82aa6==_0x22786f(0x21c)?(!_0x513940[_0x22786f(0x173)]||_0x177be5)&&_0x513940[_0x2576bd]!==void 0x0?_0x3dcf46=_0x513940[_0x2576bd]:(_0xf82aa6=Buffer[_0x22786f(0x1f2)](_0xf82aa6),_0x3dcf46=_0xf82aa6[_0x22786f(0x284)]):(_0x3dcf46=_0xf82aa6[_0x22786f(0x284)],_0x1bec83=_0x513940[_0x22786f(0x173)]&&_0x513940[_0x22786f(0x280)]&&!_0x177be5);let _0x22177f=_0x3dcf46;_0x3dcf46>=0x10000?(_0x1a84dc+=0x8,_0x22177f=0x7f):_0x3dcf46>0x7d&&(_0x1a84dc+=0x2,_0x22177f=0x7e);const _0x1e22fd=Buffer['allocUnsafe'](_0x1bec83?_0x3dcf46+_0x1a84dc:_0x1a84dc);return _0x1e22fd[0x0]=_0x513940[_0x22786f(0x278)]?_0x513940[_0x22786f(0x1d2)]|0x80:_0x513940[_0x22786f(0x1d2)],_0x513940['rsv1']&&(_0x1e22fd[0x0]|=0x40),_0x1e22fd[0x1]=_0x22177f,_0x22177f===0x7e?_0x1e22fd[_0x22786f(0x22b)](_0x3dcf46,0x2):_0x22177f===0x7f&&(_0x1e22fd[0x2]=_0x1e22fd[0x3]=0x0,_0x1e22fd[_0x22786f(0x229)](_0x3dcf46,0x4,0x6)),_0x513940[_0x22786f(0x173)]?(_0x1e22fd[0x1]|=0x80,_0x1e22fd[_0x1a84dc-0x4]=_0x2658a7[0x0],_0x1e22fd[_0x1a84dc-0x3]=_0x2658a7[0x1],_0x1e22fd[_0x1a84dc-0x2]=_0x2658a7[0x2],_0x1e22fd[_0x1a84dc-0x1]=_0x2658a7[0x3],_0x177be5?[_0x1e22fd,_0xf82aa6]:_0x1bec83?(_0x199629(_0xf82aa6,_0x2658a7,_0x1e22fd,_0x1a84dc,_0x3dcf46),[_0x1e22fd]):(_0x199629(_0xf82aa6,_0x2658a7,_0xf82aa6,0x0,_0x3dcf46),[_0x1e22fd,_0xf82aa6])):[_0x1e22fd,_0xf82aa6];}[_0x109ff7(0x29e)](_0x295b50,_0x3d1096,_0x4d80d6,_0x54ec2d){const _0x2f47f4=_0x109ff7;let _0x168fc0;if(_0x295b50===void 0x0)_0x168fc0=_0x3b6a40;else{if(typeof _0x295b50!=_0x2f47f4(0x262)||!_0x1e90d5(_0x295b50))throw new TypeError(_0x2f47f4(0x26c));if(_0x3d1096===void 0x0||!_0x3d1096[_0x2f47f4(0x284)])_0x168fc0=Buffer['allocUnsafe'](0x2),_0x168fc0[_0x2f47f4(0x22b)](_0x295b50,0x0);else{const _0x4e0fd7=Buffer[_0x2f47f4(0x27f)](_0x3d1096);if(_0x4e0fd7>0x7b)throw new RangeError(_0x2f47f4(0x24a));_0x168fc0=Buffer[_0x2f47f4(0x1d0)](0x2+_0x4e0fd7),_0x168fc0[_0x2f47f4(0x22b)](_0x295b50,0x0),typeof _0x3d1096==_0x2f47f4(0x21c)?_0x168fc0[_0x2f47f4(0x1eb)](_0x3d1096,0x2):_0x168fc0[_0x2f47f4(0x276)](_0x3d1096,0x2);}}const _0x1a5a58={[_0x2576bd]:_0x168fc0[_0x2f47f4(0x284)],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x4d80d6,'maskBuffer':this[_0x2f47f4(0x20b)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x2f47f4(0x201)]!==_0x4d6531?this['enqueue']([this[_0x2f47f4(0x228)],_0x168fc0,!0x1,_0x1a5a58,_0x54ec2d]):this['sendFrame'](_0x998e4d[_0x2f47f4(0x2e3)](_0x168fc0,_0x1a5a58),_0x54ec2d);}[_0x109ff7(0x1b6)](_0x2e0cc6,_0x29e5c2,_0x1c4895){const _0x4be0b3=_0x109ff7;let _0x1c7654,_0x4c25dc;if(typeof _0x2e0cc6==_0x4be0b3(0x21c)?(_0x1c7654=Buffer[_0x4be0b3(0x27f)](_0x2e0cc6),_0x4c25dc=!0x1):_0x526e45(_0x2e0cc6)?(_0x1c7654=_0x2e0cc6[_0x4be0b3(0x24b)],_0x4c25dc=!0x1):(_0x2e0cc6=_0xc66bd0(_0x2e0cc6),_0x1c7654=_0x2e0cc6[_0x4be0b3(0x284)],_0x4c25dc=_0xc66bd0['readOnly']),_0x1c7654>0x7d)throw new RangeError(_0x4be0b3(0x193));const _0x1fbfd7={[_0x2576bd]:_0x1c7654,'fin':!0x0,'generateMask':this[_0x4be0b3(0x1cd)],'mask':_0x29e5c2,'maskBuffer':this[_0x4be0b3(0x20b)],'opcode':0x9,'readOnly':_0x4c25dc,'rsv1':!0x1};_0x526e45(_0x2e0cc6)?this['_state']!==_0x4d6531?this[_0x4be0b3(0x131)]([this[_0x4be0b3(0x200)],_0x2e0cc6,!0x1,_0x1fbfd7,_0x1c4895]):this[_0x4be0b3(0x200)](_0x2e0cc6,!0x1,_0x1fbfd7,_0x1c4895):this[_0x4be0b3(0x201)]!==_0x4d6531?this[_0x4be0b3(0x131)]([this[_0x4be0b3(0x228)],_0x2e0cc6,!0x1,_0x1fbfd7,_0x1c4895]):this['sendFrame'](_0x998e4d[_0x4be0b3(0x2e3)](_0x2e0cc6,_0x1fbfd7),_0x1c4895);}[_0x109ff7(0x199)](_0xe942f1,_0x3609f6,_0x29387a){const _0x182dfe=_0x109ff7;let _0x53821b,_0x23796f;if(typeof _0xe942f1==_0x182dfe(0x21c)?(_0x53821b=Buffer['byteLength'](_0xe942f1),_0x23796f=!0x1):_0x526e45(_0xe942f1)?(_0x53821b=_0xe942f1['size'],_0x23796f=!0x1):(_0xe942f1=_0xc66bd0(_0xe942f1),_0x53821b=_0xe942f1['length'],_0x23796f=_0xc66bd0[_0x182dfe(0x280)]),_0x53821b>0x7d)throw new RangeError(_0x182dfe(0x193));const _0x39a840={[_0x2576bd]:_0x53821b,'fin':!0x0,'generateMask':this[_0x182dfe(0x1cd)],'mask':_0x3609f6,'maskBuffer':this[_0x182dfe(0x20b)],'opcode':0xa,'readOnly':_0x23796f,'rsv1':!0x1};_0x526e45(_0xe942f1)?this[_0x182dfe(0x201)]!==_0x4d6531?this[_0x182dfe(0x131)]([this['getBlobData'],_0xe942f1,!0x1,_0x39a840,_0x29387a]):this[_0x182dfe(0x200)](_0xe942f1,!0x1,_0x39a840,_0x29387a):this[_0x182dfe(0x201)]!==_0x4d6531?this[_0x182dfe(0x131)]([this[_0x182dfe(0x228)],_0xe942f1,!0x1,_0x39a840,_0x29387a]):this['sendFrame'](_0x998e4d[_0x182dfe(0x2e3)](_0xe942f1,_0x39a840),_0x29387a);}[_0x109ff7(0x172)](_0x4114a3,_0x1d847c,_0x1fc00d){const _0x3e2cc9=_0x109ff7,_0xb3bfcc=this['_extensions'][_0x5a4823[_0x3e2cc9(0x2ad)]];let _0x56819e=_0x1d847c[_0x3e2cc9(0x288)]?0x2:0x1,_0x47a1f0=_0x1d847c[_0x3e2cc9(0x16e)],_0x4fc5e7,_0x476fb7;typeof _0x4114a3==_0x3e2cc9(0x21c)?(_0x4fc5e7=Buffer['byteLength'](_0x4114a3),_0x476fb7=!0x1):_0x526e45(_0x4114a3)?(_0x4fc5e7=_0x4114a3['size'],_0x476fb7=!0x1):(_0x4114a3=_0xc66bd0(_0x4114a3),_0x4fc5e7=_0x4114a3['length'],_0x476fb7=_0xc66bd0['readOnly']),this[_0x3e2cc9(0x1c4)]?(this[_0x3e2cc9(0x1c4)]=!0x1,_0x47a1f0&&_0xb3bfcc&&_0xb3bfcc[_0x3e2cc9(0x1fa)][_0xb3bfcc[_0x3e2cc9(0x1ae)]?_0x3e2cc9(0x1a2):'client_no_context_takeover']&&(_0x47a1f0=_0x4fc5e7>=_0xb3bfcc[_0x3e2cc9(0x2b3)]),this['_compress']=_0x47a1f0):(_0x47a1f0=!0x1,_0x56819e=0x0),_0x1d847c['fin']&&(this[_0x3e2cc9(0x1c4)]=!0x0);const _0x2101ba={[_0x2576bd]:_0x4fc5e7,'fin':_0x1d847c[_0x3e2cc9(0x278)],'generateMask':this[_0x3e2cc9(0x1cd)],'mask':_0x1d847c['mask'],'maskBuffer':this[_0x3e2cc9(0x20b)],'opcode':_0x56819e,'readOnly':_0x476fb7,'rsv1':_0x47a1f0};_0x526e45(_0x4114a3)?this[_0x3e2cc9(0x201)]!==_0x4d6531?this[_0x3e2cc9(0x131)]([this[_0x3e2cc9(0x200)],_0x4114a3,this[_0x3e2cc9(0x2bc)],_0x2101ba,_0x1fc00d]):this[_0x3e2cc9(0x200)](_0x4114a3,this['_compress'],_0x2101ba,_0x1fc00d):this[_0x3e2cc9(0x201)]!==_0x4d6531?this[_0x3e2cc9(0x131)]([this[_0x3e2cc9(0x228)],_0x4114a3,this[_0x3e2cc9(0x2bc)],_0x2101ba,_0x1fc00d]):this['dispatch'](_0x4114a3,this[_0x3e2cc9(0x2bc)],_0x2101ba,_0x1fc00d);}['getBlobData'](_0x3dd487,_0x5f01bb,_0x82d29f,_0x48aa6f){const _0x4f6a98=_0x109ff7;this[_0x4f6a98(0x224)]+=_0x82d29f[_0x2576bd],this['_state']=_0x335f90,_0x3dd487[_0x4f6a98(0x294)]()[_0x4f6a98(0x21d)](_0x439ddd=>{const _0x2b1b92=_0x4f6a98;if(this['_socket']['destroyed']){const _0x3cd9dd=new Error('The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read');process['nextTick'](_0x42b502,this,_0x3cd9dd,_0x48aa6f);return;}this[_0x2b1b92(0x224)]-=_0x82d29f[_0x2576bd];const _0x4a9094=_0xc66bd0(_0x439ddd);_0x5f01bb?this[_0x2b1b92(0x228)](_0x4a9094,_0x5f01bb,_0x82d29f,_0x48aa6f):(this[_0x2b1b92(0x201)]=_0x4d6531,this[_0x2b1b92(0x155)](_0x998e4d[_0x2b1b92(0x2e3)](_0x4a9094,_0x82d29f),_0x48aa6f),this['dequeue']());})['catch'](_0xd4a5a3=>{const _0x4b9c90=_0x4f6a98;process[_0x4b9c90(0x2a3)](_0x675a87,this,_0xd4a5a3,_0x48aa6f);});}[_0x109ff7(0x228)](_0x53d5bf,_0x5937a1,_0x345258,_0x4eef7b){const _0x32836d=_0x109ff7;if(!_0x5937a1){this[_0x32836d(0x155)](_0x998e4d[_0x32836d(0x2e3)](_0x53d5bf,_0x345258),_0x4eef7b);return;}const _0x48e3ed=this[_0x32836d(0x1a9)][_0x5a4823['extensionName']];this[_0x32836d(0x224)]+=_0x345258[_0x2576bd],this[_0x32836d(0x201)]=_0x4dce64,_0x48e3ed[_0x32836d(0x16e)](_0x53d5bf,_0x345258[_0x32836d(0x278)],(_0x16325d,_0x1a4266)=>{const _0x45ddb2=_0x32836d;if(this['_socket'][_0x45ddb2(0x1c0)]){const _0x5c0970=new Error(_0x45ddb2(0x23a));_0x42b502(this,_0x5c0970,_0x4eef7b);return;}this[_0x45ddb2(0x224)]-=_0x345258[_0x2576bd],this[_0x45ddb2(0x201)]=_0x4d6531,_0x345258['readOnly']=!0x1,this[_0x45ddb2(0x155)](_0x998e4d[_0x45ddb2(0x2e3)](_0x1a4266,_0x345258),_0x4eef7b),this['dequeue']();});}[_0x109ff7(0x29b)](){const _0x339f43=_0x109ff7;for(;this['_state']===_0x4d6531&&this['_queue']['length'];){const _0x4d5ae7=this[_0x339f43(0x23f)][_0x339f43(0x2c3)]();this[_0x339f43(0x224)]-=_0x4d5ae7[0x3][_0x2576bd],Reflect['apply'](_0x4d5ae7[0x0],this,_0x4d5ae7['slice'](0x1));}}[_0x109ff7(0x131)](_0x4dfcc1){const _0x42c1f7=_0x109ff7;this[_0x42c1f7(0x224)]+=_0x4dfcc1[0x3][_0x2576bd],this['_queue'][_0x42c1f7(0x1e6)](_0x4dfcc1);}[_0x109ff7(0x155)](_0x2745d6,_0x4d11b6){const _0x4c824b=_0x109ff7;_0x2745d6[_0x4c824b(0x284)]===0x2?(this[_0x4c824b(0x2a0)]['cork'](),this[_0x4c824b(0x2a0)][_0x4c824b(0x1eb)](_0x2745d6[0x0]),this[_0x4c824b(0x2a0)][_0x4c824b(0x1eb)](_0x2745d6[0x1],_0x4d11b6),this['_socket'][_0x4c824b(0x187)]()):this[_0x4c824b(0x2a0)][_0x4c824b(0x1eb)](_0x2745d6[0x0],_0x4d11b6);}}Ee=_0x998e4d;function _0x42b502(_0x5f3378,_0x22b24e,_0x32a3ea){const _0x203319=_0x109ff7;typeof _0x32a3ea==_0x203319(0x164)&&_0x32a3ea(_0x22b24e);for(let _0x1d73d0=0x0;_0x1d73d0<_0x5f3378[_0x203319(0x23f)][_0x203319(0x284)];_0x1d73d0++){const _0x59b1c6=_0x5f3378[_0x203319(0x23f)][_0x1d73d0],_0x5d871a=_0x59b1c6[_0x59b1c6['length']-0x1];typeof _0x5d871a=='function'&&_0x5d871a(_0x22b24e);}}function _0x675a87(_0x34ad1e,_0x5b2627,_0x147a86){const _0x90242e=_0x109ff7;_0x42b502(_0x34ad1e,_0x5b2627,_0x147a86),_0x34ad1e[_0x90242e(0x2ae)](_0x5b2627);}return Ee;}var xe,Ze;function It(){const _0xfb57f2=_0x548fc7;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0xdfb99d,kListener:_0x4a3aa}=H(),_0x2c267b=Symbol(_0xfb57f2(0x235)),_0x1d32b7=Symbol(_0xfb57f2(0x14f)),_0x155e5c=Symbol(_0xfb57f2(0x153)),_0x45b977=Symbol(_0xfb57f2(0x220)),_0x1668a3=Symbol(_0xfb57f2(0x198)),_0x1bed9c=Symbol('kTarget'),_0x140891=Symbol(_0xfb57f2(0x138)),_0x11b172=Symbol(_0xfb57f2(0x286));class _0x1211dc{constructor(_0x23b6c9){this[_0x1bed9c]=null,this[_0x140891]=_0x23b6c9;}get['target'](){return this[_0x1bed9c];}get[_0xfb57f2(0x2c9)](){return this[_0x140891];}}Object[_0xfb57f2(0x2a6)](_0x1211dc[_0xfb57f2(0x2da)],_0xfb57f2(0x2e4),{'enumerable':!0x0}),Object[_0xfb57f2(0x2a6)](_0x1211dc['prototype'],_0xfb57f2(0x2c9),{'enumerable':!0x0});class _0x5b2273 extends _0x1211dc{constructor(_0x5d36fe,_0x298fcb={}){const _0x3fd2a6=_0xfb57f2;super(_0x5d36fe),this[_0x2c267b]=_0x298fcb['code']===void 0x0?0x0:_0x298fcb[_0x3fd2a6(0x1ea)],this[_0x1668a3]=_0x298fcb[_0x3fd2a6(0x133)]===void 0x0?'':_0x298fcb['reason'],this[_0x11b172]=_0x298fcb[_0x3fd2a6(0x2b7)]===void 0x0?!0x1:_0x298fcb[_0x3fd2a6(0x2b7)];}get[_0xfb57f2(0x1ea)](){return this[_0x2c267b];}get[_0xfb57f2(0x133)](){return this[_0x1668a3];}get[_0xfb57f2(0x2b7)](){return this[_0x11b172];}}Object[_0xfb57f2(0x2a6)](_0x5b2273['prototype'],_0xfb57f2(0x1ea),{'enumerable':!0x0}),Object[_0xfb57f2(0x2a6)](_0x5b2273[_0xfb57f2(0x2da)],_0xfb57f2(0x133),{'enumerable':!0x0}),Object[_0xfb57f2(0x2a6)](_0x5b2273[_0xfb57f2(0x2da)],_0xfb57f2(0x2b7),{'enumerable':!0x0});class _0x29497f extends _0x1211dc{constructor(_0x93ca0e,_0x4a00c6={}){const _0x53e1a3=_0xfb57f2;super(_0x93ca0e),this[_0x155e5c]=_0x4a00c6['error']===void 0x0?null:_0x4a00c6[_0x53e1a3(0x134)],this[_0x45b977]=_0x4a00c6[_0x53e1a3(0x1a4)]===void 0x0?'':_0x4a00c6[_0x53e1a3(0x1a4)];}get[_0xfb57f2(0x134)](){return this[_0x155e5c];}get[_0xfb57f2(0x1a4)](){return this[_0x45b977];}}Object[_0xfb57f2(0x2a6)](_0x29497f['prototype'],'error',{'enumerable':!0x0}),Object[_0xfb57f2(0x2a6)](_0x29497f[_0xfb57f2(0x2da)],_0xfb57f2(0x1a4),{'enumerable':!0x0});class _0x486378 extends _0x1211dc{constructor(_0x5b5bfe,_0x429989={}){const _0x51e7=_0xfb57f2;super(_0x5b5bfe),this[_0x1d32b7]=_0x429989['data']===void 0x0?null:_0x429989[_0x51e7(0x2e6)];}get[_0xfb57f2(0x2e6)](){return this[_0x1d32b7];}}Object['defineProperty'](_0x486378[_0xfb57f2(0x2da)],'data',{'enumerable':!0x0}),xe={'CloseEvent':_0x5b2273,'ErrorEvent':_0x29497f,'Event':_0x1211dc,'EventTarget':{'addEventListener'(_0x4851f3,_0x39ca18,_0xa03ffe={}){const _0x287066=_0xfb57f2;for(const _0xb52a81 of this[_0x287066(0x13a)](_0x4851f3))if(!_0xa03ffe[_0xdfb99d]&&_0xb52a81[_0x4a3aa]===_0x39ca18&&!_0xb52a81[_0xdfb99d])return;let _0x49f2a7;if(_0x4851f3===_0x287066(0x1a4))_0x49f2a7=function(_0x4b93b9,_0x56e352){const _0x584623=_0x287066,_0x36209f=new _0x486378('message',{'data':_0x56e352?_0x4b93b9:_0x4b93b9[_0x584623(0x2f3)]()});_0x36209f[_0x1bed9c]=this,_0x2694d8(_0x39ca18,this,_0x36209f);};else{if(_0x4851f3===_0x287066(0x29e))_0x49f2a7=function(_0x25d75e,_0x4500dd){const _0x44f2b1=_0x287066,_0x11e076=new _0x5b2273(_0x44f2b1(0x29e),{'code':_0x25d75e,'reason':_0x4500dd[_0x44f2b1(0x2f3)](),'wasClean':this[_0x44f2b1(0x240)]&&this[_0x44f2b1(0x14e)]});_0x11e076[_0x1bed9c]=this,_0x2694d8(_0x39ca18,this,_0x11e076);};else{if(_0x4851f3===_0x287066(0x134))_0x49f2a7=function(_0x363e11){const _0x5c2485=_0x287066,_0x17f025=new _0x29497f(_0x5c2485(0x134),{'error':_0x363e11,'message':_0x363e11[_0x5c2485(0x1a4)]});_0x17f025[_0x1bed9c]=this,_0x2694d8(_0x39ca18,this,_0x17f025);};else{if(_0x4851f3==='open')_0x49f2a7=function(){const _0xbce7f2=_0x287066,_0x5d110d=new _0x1211dc(_0xbce7f2(0x260));_0x5d110d[_0x1bed9c]=this,_0x2694d8(_0x39ca18,this,_0x5d110d);};else return;}}}_0x49f2a7[_0xdfb99d]=!!_0xa03ffe[_0xdfb99d],_0x49f2a7[_0x4a3aa]=_0x39ca18,_0xa03ffe['once']?this[_0x287066(0x2cd)](_0x4851f3,_0x49f2a7):this['on'](_0x4851f3,_0x49f2a7);},'removeEventListener'(_0x1748da,_0x2720ab){const _0x4a3228=_0xfb57f2;for(const _0x39a03d of this[_0x4a3228(0x13a)](_0x1748da))if(_0x39a03d[_0x4a3aa]===_0x2720ab&&!_0x39a03d[_0xdfb99d]){this[_0x4a3228(0x2de)](_0x1748da,_0x39a03d);break;}}},'MessageEvent':_0x486378};function _0x2694d8(_0x3f412a,_0x2879b0,_0x3141b9){const _0x41af09=_0xfb57f2;typeof _0x3f412a==_0x41af09(0x2b0)&&_0x3f412a['handleEvent']?_0x3f412a['handleEvent'][_0x41af09(0x176)](_0x3f412a,_0x3141b9):_0x3f412a[_0x41af09(0x176)](_0x2879b0,_0x3141b9);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x2f49fa}=ae();function _0x341687(_0x8f332c,_0x16980f,_0xf9d65){const _0x20eca7=_0x4b9f;_0x8f332c[_0x16980f]===void 0x0?_0x8f332c[_0x16980f]=[_0xf9d65]:_0x8f332c[_0x16980f][_0x20eca7(0x1e6)](_0xf9d65);}function _0x396388(_0x4fadc8){const _0xab2c65=_0x4b9f,_0x363e74=Object[_0xab2c65(0x14b)](null);let _0xb21f69=Object['create'](null),_0x5e6abc=!0x1,_0xc2dd03=!0x1,_0x21b0b6=!0x1,_0x3955a6,_0x4de2e3,_0x44448b=-0x1,_0x4cab3b=-0x1,_0x546441=-0x1,_0x51c252=0x0;for(;_0x51c252<_0x4fadc8[_0xab2c65(0x284)];_0x51c252++)if(_0x4cab3b=_0x4fadc8['charCodeAt'](_0x51c252),_0x3955a6===void 0x0){if(_0x546441===-0x1&&_0x2f49fa[_0x4cab3b]===0x1)_0x44448b===-0x1&&(_0x44448b=_0x51c252);else{if(_0x51c252!==0x0&&(_0x4cab3b===0x20||_0x4cab3b===0x9))_0x546441===-0x1&&_0x44448b!==-0x1&&(_0x546441=_0x51c252);else{if(_0x4cab3b===0x3b||_0x4cab3b===0x2c){if(_0x44448b===-0x1)throw new SyntaxError(_0xab2c65(0x19b)+_0x51c252);_0x546441===-0x1&&(_0x546441=_0x51c252);const _0x4a29d3=_0x4fadc8[_0xab2c65(0x1e0)](_0x44448b,_0x546441);_0x4cab3b===0x2c?(_0x341687(_0x363e74,_0x4a29d3,_0xb21f69),_0xb21f69=Object[_0xab2c65(0x14b)](null)):_0x3955a6=_0x4a29d3,_0x44448b=_0x546441=-0x1;}else throw new SyntaxError(_0xab2c65(0x19b)+_0x51c252);}}}else{if(_0x4de2e3===void 0x0){if(_0x546441===-0x1&&_0x2f49fa[_0x4cab3b]===0x1)_0x44448b===-0x1&&(_0x44448b=_0x51c252);else{if(_0x4cab3b===0x20||_0x4cab3b===0x9)_0x546441===-0x1&&_0x44448b!==-0x1&&(_0x546441=_0x51c252);else{if(_0x4cab3b===0x3b||_0x4cab3b===0x2c){if(_0x44448b===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x51c252);_0x546441===-0x1&&(_0x546441=_0x51c252),_0x341687(_0xb21f69,_0x4fadc8[_0xab2c65(0x1e0)](_0x44448b,_0x546441),!0x0),_0x4cab3b===0x2c&&(_0x341687(_0x363e74,_0x3955a6,_0xb21f69),_0xb21f69=Object['create'](null),_0x3955a6=void 0x0),_0x44448b=_0x546441=-0x1;}else{if(_0x4cab3b===0x3d&&_0x44448b!==-0x1&&_0x546441===-0x1)_0x4de2e3=_0x4fadc8[_0xab2c65(0x1e0)](_0x44448b,_0x51c252),_0x44448b=_0x546441=-0x1;else throw new SyntaxError(_0xab2c65(0x19b)+_0x51c252);}}}}else{if(_0xc2dd03){if(_0x2f49fa[_0x4cab3b]!==0x1)throw new SyntaxError(_0xab2c65(0x19b)+_0x51c252);_0x44448b===-0x1?_0x44448b=_0x51c252:_0x5e6abc||(_0x5e6abc=!0x0),_0xc2dd03=!0x1;}else{if(_0x21b0b6){if(_0x2f49fa[_0x4cab3b]===0x1)_0x44448b===-0x1&&(_0x44448b=_0x51c252);else{if(_0x4cab3b===0x22&&_0x44448b!==-0x1)_0x21b0b6=!0x1,_0x546441=_0x51c252;else{if(_0x4cab3b===0x5c)_0xc2dd03=!0x0;else throw new SyntaxError(_0xab2c65(0x19b)+_0x51c252);}}}else{if(_0x4cab3b===0x22&&_0x4fadc8[_0xab2c65(0x183)](_0x51c252-0x1)===0x3d)_0x21b0b6=!0x0;else{if(_0x546441===-0x1&&_0x2f49fa[_0x4cab3b]===0x1)_0x44448b===-0x1&&(_0x44448b=_0x51c252);else{if(_0x44448b!==-0x1&&(_0x4cab3b===0x20||_0x4cab3b===0x9))_0x546441===-0x1&&(_0x546441=_0x51c252);else{if(_0x4cab3b===0x3b||_0x4cab3b===0x2c){if(_0x44448b===-0x1)throw new SyntaxError(_0xab2c65(0x19b)+_0x51c252);_0x546441===-0x1&&(_0x546441=_0x51c252);let _0x58a7a8=_0x4fadc8[_0xab2c65(0x1e0)](_0x44448b,_0x546441);_0x5e6abc&&(_0x58a7a8=_0x58a7a8['replace'](/\\/g,''),_0x5e6abc=!0x1),_0x341687(_0xb21f69,_0x4de2e3,_0x58a7a8),_0x4cab3b===0x2c&&(_0x341687(_0x363e74,_0x3955a6,_0xb21f69),_0xb21f69=Object[_0xab2c65(0x14b)](null),_0x3955a6=void 0x0),_0x4de2e3=void 0x0,_0x44448b=_0x546441=-0x1;}else throw new SyntaxError(_0xab2c65(0x19b)+_0x51c252);}}}}}}}if(_0x44448b===-0x1||_0x21b0b6||_0x4cab3b===0x20||_0x4cab3b===0x9)throw new SyntaxError(_0xab2c65(0x1ec));_0x546441===-0x1&&(_0x546441=_0x51c252);const _0x4342ca=_0x4fadc8[_0xab2c65(0x1e0)](_0x44448b,_0x546441);return _0x3955a6===void 0x0?_0x341687(_0x363e74,_0x4342ca,_0xb21f69):(_0x4de2e3===void 0x0?_0x341687(_0xb21f69,_0x4342ca,!0x0):_0x5e6abc?_0x341687(_0xb21f69,_0x4de2e3,_0x4342ca[_0xab2c65(0x2e5)](/\\/g,'')):_0x341687(_0xb21f69,_0x4de2e3,_0x4342ca),_0x341687(_0x363e74,_0x3955a6,_0xb21f69)),_0x363e74;}function _0x4e58d6(_0x1e152c){const _0x305b6a=_0x4b9f;return Object[_0x305b6a(0x17f)](_0x1e152c)[_0x305b6a(0x1ba)](_0xd85621=>{const _0xbbadd6=_0x305b6a;let _0x1d25e5=_0x1e152c[_0xd85621];return Array[_0xbbadd6(0x2d0)](_0x1d25e5)||(_0x1d25e5=[_0x1d25e5]),_0x1d25e5['map'](_0x1a0ed4=>[_0xd85621][_0xbbadd6(0x14d)](Object[_0xbbadd6(0x17f)](_0x1a0ed4)[_0xbbadd6(0x1ba)](_0x4a2de6=>{const _0x593a15=_0xbbadd6;let _0x14621d=_0x1a0ed4[_0x4a2de6];return Array[_0x593a15(0x2d0)](_0x14621d)||(_0x14621d=[_0x14621d]),_0x14621d['map'](_0x1ca668=>_0x1ca668===!0x0?_0x4a2de6:_0x4a2de6+'='+_0x1ca668)[_0x593a15(0x1e7)](';\x20');}))[_0xbbadd6(0x1e7)](';\x20'))[_0xbbadd6(0x1e7)](',\x20');})['join'](',\x20');}return be={'format':_0x4e58d6,'parse':_0x396388},be;}var we,Je;function Pe(){const _0x503da1=_0x548fc7;if(Je)return we;Je=0x1;const _0x9f16e=nt,_0xbcac28=vt,_0x26e145=ot,_0x56a2ee=St,_0x2a6bff=Et,{randomBytes:_0x2b5ca1,createHash:_0x366925}=Le,{Duplex:_0x15a70f,Readable:_0x547e68}=oe,{URL:_0x58b8e1}=xt,_0x404895=he(),_0x384b5b=lt(),_0x3ccf77=ft(),{isBlob:_0x1d6e51}=ae(),{BINARY_TYPES:_0x43c9cd,EMPTY_BUFFER:_0x2b5825,GUID:_0x58ca0d,kForOnEventAttribute:_0x14145e,kListener:_0x1deb98,kStatusCode:_0x5a7f21,kWebSocket:_0x3d0f06,NOOP:_0x2ffd70}=H(),{EventTarget:{addEventListener:_0x2f2259,removeEventListener:_0x95c410}}=It(),{format:_0x38d07f,parse:_0x19f3db}=ct(),{toBuffer:_0x2e49f2}=ce(),_0x4d0e39=0x1e*0x3e8,_0x4c53aa=Symbol(_0x503da1(0x254)),_0x5e5452=[0x8,0xd],_0x4beb97=['CONNECTING',_0x503da1(0x1bc),_0x503da1(0x21a),'CLOSED'],_0x189aee=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x130a30 extends _0x9f16e{constructor(_0x2bcd3b,_0x1d41ad,_0x10ddee){const _0x38a612=_0x503da1;super(),this['_binaryType']=_0x43c9cd[0x0],this[_0x38a612(0x20f)]=0x3ee,this['_closeFrameReceived']=!0x1,this[_0x38a612(0x14e)]=!0x1,this[_0x38a612(0x1d7)]=_0x2b5825,this['_closeTimer']=null,this[_0x38a612(0x2bb)]=!0x1,this[_0x38a612(0x1a9)]={},this['_paused']=!0x1,this[_0x38a612(0x24e)]='',this['_readyState']=_0x130a30['CONNECTING'],this[_0x38a612(0x150)]=null,this[_0x38a612(0x168)]=null,this[_0x38a612(0x2a0)]=null,_0x2bcd3b!==null?(this['_bufferedAmount']=0x0,this[_0x38a612(0x1ae)]=!0x1,this[_0x38a612(0x1a5)]=0x0,_0x1d41ad===void 0x0?_0x1d41ad=[]:Array[_0x38a612(0x2d0)](_0x1d41ad)||(typeof _0x1d41ad==_0x38a612(0x2b0)&&_0x1d41ad!==null?(_0x10ddee=_0x1d41ad,_0x1d41ad=[]):_0x1d41ad=[_0x1d41ad]),_0x3649a4(this,_0x2bcd3b,_0x1d41ad,_0x10ddee)):(this[_0x38a612(0x296)]=_0x10ddee[_0x38a612(0x2b8)],this[_0x38a612(0x1ae)]=!0x0);}get[_0x503da1(0x1f3)](){const _0xc3e86=_0x503da1;return this[_0xc3e86(0x2e2)];}set[_0x503da1(0x1f3)](_0x40e35a){const _0x5cd151=_0x503da1;_0x43c9cd['includes'](_0x40e35a)&&(this[_0x5cd151(0x2e2)]=_0x40e35a,this[_0x5cd151(0x150)]&&(this['_receiver']['_binaryType']=_0x40e35a));}get[_0x503da1(0x1a1)](){const _0xc8cb13=_0x503da1;return this['_socket']?this['_socket'][_0xc8cb13(0x2eb)][_0xc8cb13(0x284)]+this[_0xc8cb13(0x168)][_0xc8cb13(0x224)]:this[_0xc8cb13(0x145)];}get[_0x503da1(0x190)](){const _0x22d4e2=_0x503da1;return Object['keys'](this[_0x22d4e2(0x1a9)])['join']();}get['isPaused'](){const _0xbbb325=_0x503da1;return this[_0xbbb325(0x1ef)];}get[_0x503da1(0x1da)](){return null;}get[_0x503da1(0x2ae)](){return null;}get[_0x503da1(0x293)](){return null;}get[_0x503da1(0x1fb)](){return null;}get[_0x503da1(0x1f7)](){const _0x36ed86=_0x503da1;return this[_0x36ed86(0x24e)];}get[_0x503da1(0x21b)](){const _0x1b15a8=_0x503da1;return this[_0x1b15a8(0x181)];}get[_0x503da1(0x2db)](){const _0x2a4085=_0x503da1;return this[_0x2a4085(0x165)];}[_0x503da1(0x2d4)](_0xb590b0,_0x48e0dc,_0x202fa0){const _0x5132e6=_0x503da1,_0x5c9919=new _0x384b5b({'allowSynchronousEvents':_0x202fa0['allowSynchronousEvents'],'binaryType':this[_0x5132e6(0x1f3)],'extensions':this[_0x5132e6(0x1a9)],'isServer':this[_0x5132e6(0x1ae)],'maxPayload':_0x202fa0[_0x5132e6(0x17a)],'skipUTF8Validation':_0x202fa0[_0x5132e6(0x1d9)]}),_0x5d382c=new _0x3ccf77(_0xb590b0,this[_0x5132e6(0x1a9)],_0x202fa0[_0x5132e6(0x18e)]);this[_0x5132e6(0x150)]=_0x5c9919,this['_sender']=_0x5d382c,this[_0x5132e6(0x2a0)]=_0xb590b0,_0x5c9919[_0x3d0f06]=this,_0x5d382c[_0x3d0f06]=this,_0xb590b0[_0x3d0f06]=this,_0x5c9919['on'](_0x5132e6(0x299),_0x573ecc),_0x5c9919['on']('drain',_0x44fa60),_0x5c9919['on'](_0x5132e6(0x134),_0x56b14c),_0x5c9919['on']('message',_0x53d73f),_0x5c9919['on'](_0x5132e6(0x1b6),_0x41cf0d),_0x5c9919['on'](_0x5132e6(0x199),_0x40ce31),_0x5d382c[_0x5132e6(0x2ae)]=_0x38a004,_0xb590b0['setTimeout']&&_0xb590b0[_0x5132e6(0x188)](0x0),_0xb590b0[_0x5132e6(0x1d8)]&&_0xb590b0[_0x5132e6(0x1d8)](),_0x48e0dc[_0x5132e6(0x284)]>0x0&&_0xb590b0[_0x5132e6(0x24d)](_0x48e0dc),_0xb590b0['on'](_0x5132e6(0x29e),_0x15a40b),_0xb590b0['on'](_0x5132e6(0x2e6),_0x52c656),_0xb590b0['on'](_0x5132e6(0x170),_0x6ffaf4),_0xb590b0['on'](_0x5132e6(0x134),_0x565452),this[_0x5132e6(0x181)]=_0x130a30[_0x5132e6(0x1bc)],this['emit'](_0x5132e6(0x260));}[_0x503da1(0x21f)](){const _0x1490ce=_0x503da1;if(!this[_0x1490ce(0x2a0)]){this[_0x1490ce(0x181)]=_0x130a30[_0x1490ce(0x265)],this[_0x1490ce(0x26d)](_0x1490ce(0x29e),this[_0x1490ce(0x20f)],this[_0x1490ce(0x1d7)]);return;}this[_0x1490ce(0x1a9)][_0x404895[_0x1490ce(0x2ad)]]&&this[_0x1490ce(0x1a9)][_0x404895[_0x1490ce(0x2ad)]]['cleanup'](),this[_0x1490ce(0x150)][_0x1490ce(0x169)](),this[_0x1490ce(0x181)]=_0x130a30[_0x1490ce(0x265)],this[_0x1490ce(0x26d)](_0x1490ce(0x29e),this[_0x1490ce(0x20f)],this['_closeMessage']);}[_0x503da1(0x29e)](_0x5c4321,_0x55e7f5){const _0x83386e=_0x503da1;if(this[_0x83386e(0x21b)]!==_0x130a30[_0x83386e(0x265)]){if(this[_0x83386e(0x21b)]===_0x130a30['CONNECTING']){_0x9a1ec4(this,this['_req'],_0x83386e(0x234));return;}if(this[_0x83386e(0x21b)]===_0x130a30[_0x83386e(0x21a)]){this[_0x83386e(0x14e)]&&(this[_0x83386e(0x240)]||this['_receiver'][_0x83386e(0x2eb)][_0x83386e(0x1dd)])&&this[_0x83386e(0x2a0)][_0x83386e(0x170)]();return;}this[_0x83386e(0x181)]=_0x130a30[_0x83386e(0x21a)],this[_0x83386e(0x168)]['close'](_0x5c4321,_0x55e7f5,!this[_0x83386e(0x1ae)],_0x2d4a66=>{const _0x3ae4f0=_0x83386e;_0x2d4a66||(this[_0x3ae4f0(0x14e)]=!0x0,(this[_0x3ae4f0(0x240)]||this[_0x3ae4f0(0x150)][_0x3ae4f0(0x2eb)][_0x3ae4f0(0x1dd)])&&this[_0x3ae4f0(0x2a0)][_0x3ae4f0(0x170)]());}),_0x4ad687(this);}}[_0x503da1(0x2df)](){const _0x227a5c=_0x503da1;this[_0x227a5c(0x21b)]===_0x130a30[_0x227a5c(0x1ab)]||this['readyState']===_0x130a30[_0x227a5c(0x265)]||(this[_0x227a5c(0x1ef)]=!0x0,this['_socket'][_0x227a5c(0x2df)]());}[_0x503da1(0x1b6)](_0x1774b0,_0x8afab,_0x3eb624){const _0x4547e3=_0x503da1;if(this[_0x4547e3(0x21b)]===_0x130a30['CONNECTING'])throw new Error(_0x4547e3(0x2a5));if(typeof _0x1774b0==_0x4547e3(0x164)?(_0x3eb624=_0x1774b0,_0x1774b0=_0x8afab=void 0x0):typeof _0x8afab==_0x4547e3(0x164)&&(_0x3eb624=_0x8afab,_0x8afab=void 0x0),typeof _0x1774b0==_0x4547e3(0x262)&&(_0x1774b0=_0x1774b0[_0x4547e3(0x2f3)]()),this[_0x4547e3(0x21b)]!==_0x130a30[_0x4547e3(0x1bc)]){_0x2d169c(this,_0x1774b0,_0x3eb624);return;}_0x8afab===void 0x0&&(_0x8afab=!this[_0x4547e3(0x1ae)]),this[_0x4547e3(0x168)]['ping'](_0x1774b0||_0x2b5825,_0x8afab,_0x3eb624);}[_0x503da1(0x199)](_0x1865f8,_0x3f7af6,_0x416fc9){const _0x1a26dd=_0x503da1;if(this[_0x1a26dd(0x21b)]===_0x130a30['CONNECTING'])throw new Error(_0x1a26dd(0x2a5));if(typeof _0x1865f8==_0x1a26dd(0x164)?(_0x416fc9=_0x1865f8,_0x1865f8=_0x3f7af6=void 0x0):typeof _0x3f7af6==_0x1a26dd(0x164)&&(_0x416fc9=_0x3f7af6,_0x3f7af6=void 0x0),typeof _0x1865f8==_0x1a26dd(0x262)&&(_0x1865f8=_0x1865f8[_0x1a26dd(0x2f3)]()),this['readyState']!==_0x130a30['OPEN']){_0x2d169c(this,_0x1865f8,_0x416fc9);return;}_0x3f7af6===void 0x0&&(_0x3f7af6=!this['_isServer']),this[_0x1a26dd(0x168)][_0x1a26dd(0x199)](_0x1865f8||_0x2b5825,_0x3f7af6,_0x416fc9);}[_0x503da1(0x272)](){const _0x59a550=_0x503da1;this['readyState']===_0x130a30[_0x59a550(0x1ab)]||this['readyState']===_0x130a30['CLOSED']||(this[_0x59a550(0x1ef)]=!0x1,this['_receiver'][_0x59a550(0x2eb)]['needDrain']||this['_socket'][_0x59a550(0x272)]());}[_0x503da1(0x172)](_0x3a9f7c,_0x5db1ef,_0x173919){const _0x6ac09e=_0x503da1;if(this[_0x6ac09e(0x21b)]===_0x130a30['CONNECTING'])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x5db1ef=='function'&&(_0x173919=_0x5db1ef,_0x5db1ef={}),typeof _0x3a9f7c==_0x6ac09e(0x262)&&(_0x3a9f7c=_0x3a9f7c['toString']()),this[_0x6ac09e(0x21b)]!==_0x130a30[_0x6ac09e(0x1bc)]){_0x2d169c(this,_0x3a9f7c,_0x173919);return;}const _0x308c94={'binary':typeof _0x3a9f7c!='string','mask':!this[_0x6ac09e(0x1ae)],'compress':!0x0,'fin':!0x0,..._0x5db1ef};this[_0x6ac09e(0x1a9)][_0x404895[_0x6ac09e(0x2ad)]]||(_0x308c94[_0x6ac09e(0x16e)]=!0x1),this[_0x6ac09e(0x168)][_0x6ac09e(0x172)](_0x3a9f7c||_0x2b5825,_0x308c94,_0x173919);}[_0x503da1(0x1fc)](){const _0x4dc13c=_0x503da1;if(this[_0x4dc13c(0x21b)]!==_0x130a30['CLOSED']){if(this[_0x4dc13c(0x21b)]===_0x130a30[_0x4dc13c(0x1ab)]){_0x9a1ec4(this,this[_0x4dc13c(0x2be)],_0x4dc13c(0x234));return;}this[_0x4dc13c(0x2a0)]&&(this[_0x4dc13c(0x181)]=_0x130a30['CLOSING'],this['_socket'][_0x4dc13c(0x2dc)]());}}}Object['defineProperty'](_0x130a30,_0x503da1(0x1ab),{'enumerable':!0x0,'value':_0x4beb97['indexOf'](_0x503da1(0x1ab))}),Object[_0x503da1(0x2a6)](_0x130a30[_0x503da1(0x2da)],_0x503da1(0x1ab),{'enumerable':!0x0,'value':_0x4beb97['indexOf'](_0x503da1(0x1ab))}),Object[_0x503da1(0x2a6)](_0x130a30,_0x503da1(0x1bc),{'enumerable':!0x0,'value':_0x4beb97[_0x503da1(0x29f)]('OPEN')}),Object[_0x503da1(0x2a6)](_0x130a30[_0x503da1(0x2da)],_0x503da1(0x1bc),{'enumerable':!0x0,'value':_0x4beb97[_0x503da1(0x29f)](_0x503da1(0x1bc))}),Object[_0x503da1(0x2a6)](_0x130a30,_0x503da1(0x21a),{'enumerable':!0x0,'value':_0x4beb97['indexOf'](_0x503da1(0x21a))}),Object[_0x503da1(0x2a6)](_0x130a30[_0x503da1(0x2da)],_0x503da1(0x21a),{'enumerable':!0x0,'value':_0x4beb97[_0x503da1(0x29f)](_0x503da1(0x21a))}),Object[_0x503da1(0x2a6)](_0x130a30,_0x503da1(0x265),{'enumerable':!0x0,'value':_0x4beb97[_0x503da1(0x29f)](_0x503da1(0x265))}),Object[_0x503da1(0x2a6)](_0x130a30['prototype'],_0x503da1(0x265),{'enumerable':!0x0,'value':_0x4beb97[_0x503da1(0x29f)](_0x503da1(0x265))}),[_0x503da1(0x1f3),_0x503da1(0x1a1),_0x503da1(0x190),_0x503da1(0x18c),_0x503da1(0x1f7),_0x503da1(0x21b),_0x503da1(0x2db)][_0x503da1(0x269)](_0x4a35ac=>{const _0xed1f4f=_0x503da1;Object[_0xed1f4f(0x2a6)](_0x130a30[_0xed1f4f(0x2da)],_0x4a35ac,{'enumerable':!0x0});}),[_0x503da1(0x260),_0x503da1(0x134),_0x503da1(0x29e),'message'][_0x503da1(0x269)](_0x48f78a=>{const _0x356a11=_0x503da1;Object[_0x356a11(0x2a6)](_0x130a30[_0x356a11(0x2da)],'on'+_0x48f78a,{'enumerable':!0x0,'get'(){const _0x2dcf38=_0x356a11;for(const _0x174eea of this[_0x2dcf38(0x13a)](_0x48f78a))if(_0x174eea[_0x14145e])return _0x174eea[_0x1deb98];return null;},'set'(_0x5b9adf){const _0x12ce10=_0x356a11;for(const _0x2bf03e of this[_0x12ce10(0x13a)](_0x48f78a))if(_0x2bf03e[_0x14145e]){this[_0x12ce10(0x2de)](_0x48f78a,_0x2bf03e);break;}typeof _0x5b9adf==_0x12ce10(0x164)&&this['addEventListener'](_0x48f78a,_0x5b9adf,{[_0x14145e]:!0x0});}});}),_0x130a30[_0x503da1(0x2da)][_0x503da1(0x136)]=_0x2f2259,_0x130a30['prototype'][_0x503da1(0x194)]=_0x95c410,we=_0x130a30;function _0x3649a4(_0x307cac,_0x70d837,_0x20a9e7,_0x4e8380){const _0x52275f=_0x503da1,_0x42a0c1={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x5e5452[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x4e8380,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x52275f(0x1f6),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x307cac[_0x52275f(0x296)]=_0x42a0c1[_0x52275f(0x2b8)],!_0x5e5452[_0x52275f(0x192)](_0x42a0c1[_0x52275f(0x1f0)]))throw new RangeError(_0x52275f(0x25e)+_0x42a0c1['protocolVersion']+_0x52275f(0x18b)+_0x5e5452[_0x52275f(0x1e7)](',\x20')+')');let _0x7c0b51;if(_0x70d837 instanceof _0x58b8e1)_0x7c0b51=_0x70d837;else try{_0x7c0b51=new _0x58b8e1(_0x70d837);}catch{throw new SyntaxError(_0x52275f(0x266)+_0x70d837);}_0x7c0b51[_0x52275f(0x1f7)]===_0x52275f(0x180)?_0x7c0b51[_0x52275f(0x1f7)]='ws:':_0x7c0b51[_0x52275f(0x1f7)]===_0x52275f(0x2e0)&&(_0x7c0b51[_0x52275f(0x1f7)]=_0x52275f(0x2d3)),_0x307cac['_url']=_0x7c0b51['href'];const _0x41fdce=_0x7c0b51[_0x52275f(0x1f7)]===_0x52275f(0x2d3),_0x48889b=_0x7c0b51[_0x52275f(0x1f7)]===_0x52275f(0x28d);let _0x62912e;if(_0x7c0b51[_0x52275f(0x1f7)]!==_0x52275f(0x29a)&&!_0x41fdce&&!_0x48889b?_0x62912e=_0x52275f(0x1b3):_0x48889b&&!_0x7c0b51['pathname']?_0x62912e='The\x20URL\x27s\x20pathname\x20is\x20empty':_0x7c0b51[_0x52275f(0x15e)]&&(_0x62912e=_0x52275f(0x163)),_0x62912e){const _0x213a18=new SyntaxError(_0x62912e);if(_0x307cac[_0x52275f(0x1a5)]===0x0)throw _0x213a18;_0x4fb619(_0x307cac,_0x213a18);return;}const _0x50c47e=_0x41fdce?0x1bb:0x50,_0x3ab688=_0x2b5ca1(0x10)[_0x52275f(0x2f3)]('base64'),_0x5ec7b4=_0x41fdce?_0xbcac28[_0x52275f(0x29d)]:_0x26e145[_0x52275f(0x29d)],_0x31ff69=new Set();let _0x51c425;if(_0x42a0c1[_0x52275f(0x2c0)]=_0x42a0c1[_0x52275f(0x2c0)]||(_0x41fdce?_0x434ce6:_0x2fd8df),_0x42a0c1[_0x52275f(0x1a6)]=_0x42a0c1[_0x52275f(0x1a6)]||_0x50c47e,_0x42a0c1[_0x52275f(0x195)]=_0x7c0b51[_0x52275f(0x195)]||_0x50c47e,_0x42a0c1[_0x52275f(0x26f)]=_0x7c0b51[_0x52275f(0x1b9)][_0x52275f(0x225)]('[')?_0x7c0b51[_0x52275f(0x1b9)]['slice'](0x1,-0x1):_0x7c0b51[_0x52275f(0x1b9)],_0x42a0c1[_0x52275f(0x12e)]={..._0x42a0c1['headers'],'Sec-WebSocket-Version':_0x42a0c1[_0x52275f(0x1f0)],'Sec-WebSocket-Key':_0x3ab688,'Connection':'Upgrade','Upgrade':_0x52275f(0x244)},_0x42a0c1[_0x52275f(0x282)]=_0x7c0b51[_0x52275f(0x2a2)]+_0x7c0b51['search'],_0x42a0c1[_0x52275f(0x179)]=_0x42a0c1[_0x52275f(0x1cb)],_0x42a0c1[_0x52275f(0x151)]&&(_0x51c425=new _0x404895(_0x42a0c1[_0x52275f(0x151)]!==!0x0?_0x42a0c1['perMessageDeflate']:{},!0x1,_0x42a0c1[_0x52275f(0x17a)]),_0x42a0c1[_0x52275f(0x12e)][_0x52275f(0x248)]=_0x38d07f({[_0x404895[_0x52275f(0x2ad)]]:_0x51c425[_0x52275f(0x256)]()})),_0x20a9e7['length']){for(const _0x54fd3a of _0x20a9e7){if(typeof _0x54fd3a!=_0x52275f(0x21c)||!_0x189aee[_0x52275f(0x25c)](_0x54fd3a)||_0x31ff69[_0x52275f(0x159)](_0x54fd3a))throw new SyntaxError(_0x52275f(0x2bd));_0x31ff69['add'](_0x54fd3a);}_0x42a0c1[_0x52275f(0x12e)]['Sec-WebSocket-Protocol']=_0x20a9e7[_0x52275f(0x1e7)](',');}if(_0x42a0c1[_0x52275f(0x1f5)]&&(_0x42a0c1['protocolVersion']<0xd?_0x42a0c1[_0x52275f(0x12e)]['Sec-WebSocket-Origin']=_0x42a0c1[_0x52275f(0x1f5)]:_0x42a0c1[_0x52275f(0x12e)][_0x52275f(0x1f1)]=_0x42a0c1[_0x52275f(0x1f5)]),(_0x7c0b51[_0x52275f(0x22e)]||_0x7c0b51['password'])&&(_0x42a0c1[_0x52275f(0x185)]=_0x7c0b51[_0x52275f(0x22e)]+':'+_0x7c0b51[_0x52275f(0x2a9)]),_0x48889b){const _0x4524c9=_0x42a0c1[_0x52275f(0x282)][_0x52275f(0x146)](':');_0x42a0c1['socketPath']=_0x4524c9[0x0],_0x42a0c1[_0x52275f(0x282)]=_0x4524c9[0x1];}let _0x1f9938;if(_0x42a0c1['followRedirects']){if(_0x307cac[_0x52275f(0x1a5)]===0x0){_0x307cac[_0x52275f(0x2ca)]=_0x48889b,_0x307cac[_0x52275f(0x238)]=_0x41fdce,_0x307cac[_0x52275f(0x16d)]=_0x48889b?_0x42a0c1[_0x52275f(0x1b1)]:_0x7c0b51[_0x52275f(0x26f)];const _0x1f026c=_0x4e8380&&_0x4e8380[_0x52275f(0x12e)];if(_0x4e8380={..._0x4e8380,'headers':{}},_0x1f026c){for(const [_0x9d56a3,_0x56d7fa]of Object[_0x52275f(0x189)](_0x1f026c))_0x4e8380['headers'][_0x9d56a3[_0x52275f(0x1e4)]()]=_0x56d7fa;}}else{if(_0x307cac[_0x52275f(0x249)](_0x52275f(0x242))===0x0){const _0xa50d9e=_0x48889b?_0x307cac[_0x52275f(0x2ca)]?_0x42a0c1[_0x52275f(0x1b1)]===_0x307cac[_0x52275f(0x16d)]:!0x1:_0x307cac['_originalIpc']?!0x1:_0x7c0b51['host']===_0x307cac[_0x52275f(0x16d)];(!_0xa50d9e||_0x307cac['_originalSecure']&&!_0x41fdce)&&(delete _0x42a0c1[_0x52275f(0x12e)][_0x52275f(0x1dc)],delete _0x42a0c1[_0x52275f(0x12e)][_0x52275f(0x27e)],_0xa50d9e||delete _0x42a0c1[_0x52275f(0x12e)][_0x52275f(0x26f)],_0x42a0c1[_0x52275f(0x185)]=void 0x0);}}_0x42a0c1[_0x52275f(0x185)]&&!_0x4e8380['headers']['authorization']&&(_0x4e8380[_0x52275f(0x12e)][_0x52275f(0x1dc)]='Basic\x20'+Buffer[_0x52275f(0x1f2)](_0x42a0c1[_0x52275f(0x185)])[_0x52275f(0x2f3)](_0x52275f(0x2f1))),_0x1f9938=_0x307cac['_req']=_0x5ec7b4(_0x42a0c1),_0x307cac[_0x52275f(0x1a5)]&&_0x307cac[_0x52275f(0x26d)](_0x52275f(0x242),_0x307cac[_0x52275f(0x2db)],_0x1f9938);}else _0x1f9938=_0x307cac[_0x52275f(0x2be)]=_0x5ec7b4(_0x42a0c1);_0x42a0c1['timeout']&&_0x1f9938['on'](_0x52275f(0x179),()=>{const _0x4f8498=_0x52275f;_0x9a1ec4(_0x307cac,_0x1f9938,_0x4f8498(0x1bb));}),_0x1f9938['on'](_0x52275f(0x134),_0x15ec8d=>{_0x1f9938===null||_0x1f9938[_0x4c53aa]||(_0x1f9938=_0x307cac['_req']=null,_0x4fb619(_0x307cac,_0x15ec8d));}),_0x1f9938['on']('response',_0x2ff168=>{const _0x2f02a6=_0x52275f,_0x4853f1=_0x2ff168['headers'][_0x2f02a6(0x1de)],_0x41d86b=_0x2ff168[_0x2f02a6(0x15f)];if(_0x4853f1&&_0x42a0c1['followRedirects']&&_0x41d86b>=0x12c&&_0x41d86b<0x190){if(++_0x307cac[_0x2f02a6(0x1a5)]>_0x42a0c1[_0x2f02a6(0x21e)]){_0x9a1ec4(_0x307cac,_0x1f9938,_0x2f02a6(0x2b1));return;}_0x1f9938[_0x2f02a6(0x144)]();let _0xc792b3;try{_0xc792b3=new _0x58b8e1(_0x4853f1,_0x70d837);}catch{const _0x46faf5=new SyntaxError('Invalid\x20URL:\x20'+_0x4853f1);_0x4fb619(_0x307cac,_0x46faf5);return;}_0x3649a4(_0x307cac,_0xc792b3,_0x20a9e7,_0x4e8380);}else _0x307cac['emit'](_0x2f02a6(0x2ea),_0x1f9938,_0x2ff168)||_0x9a1ec4(_0x307cac,_0x1f9938,_0x2f02a6(0x2a1)+_0x2ff168['statusCode']);}),_0x1f9938['on']('upgrade',(_0x2b5c2a,_0x509a2d,_0x445f57)=>{const _0x5b173c=_0x52275f;if(_0x307cac[_0x5b173c(0x26d)](_0x5b173c(0x245),_0x2b5c2a),_0x307cac[_0x5b173c(0x21b)]!==_0x130a30['CONNECTING'])return;_0x1f9938=_0x307cac['_req']=null;const _0x4fcde6=_0x2b5c2a[_0x5b173c(0x12e)][_0x5b173c(0x245)];if(_0x4fcde6===void 0x0||_0x4fcde6[_0x5b173c(0x1e4)]()!=='websocket'){_0x9a1ec4(_0x307cac,_0x509a2d,'Invalid\x20Upgrade\x20header');return;}const _0x506167=_0x366925(_0x5b173c(0x1e5))['update'](_0x3ab688+_0x58ca0d)[_0x5b173c(0x2d2)](_0x5b173c(0x2f1));if(_0x2b5c2a[_0x5b173c(0x12e)][_0x5b173c(0x2b2)]!==_0x506167){_0x9a1ec4(_0x307cac,_0x509a2d,'Invalid\x20Sec-WebSocket-Accept\x20header');return;}const _0x4f5cb7=_0x2b5c2a['headers'][_0x5b173c(0x2ac)];let _0x5681a7;if(_0x4f5cb7!==void 0x0?_0x31ff69['size']?_0x31ff69[_0x5b173c(0x159)](_0x4f5cb7)||(_0x5681a7=_0x5b173c(0x2d1)):_0x5681a7=_0x5b173c(0x149):_0x31ff69[_0x5b173c(0x24b)]&&(_0x5681a7=_0x5b173c(0x162)),_0x5681a7){_0x9a1ec4(_0x307cac,_0x509a2d,_0x5681a7);return;}_0x4f5cb7&&(_0x307cac[_0x5b173c(0x24e)]=_0x4f5cb7);const _0x1f2063=_0x2b5c2a['headers'][_0x5b173c(0x1a0)];if(_0x1f2063!==void 0x0){if(!_0x51c425){_0x9a1ec4(_0x307cac,_0x509a2d,_0x5b173c(0x1c5));return;}let _0x57a98d;try{_0x57a98d=_0x19f3db(_0x1f2063);}catch{_0x9a1ec4(_0x307cac,_0x509a2d,_0x5b173c(0x13e));return;}const _0x3461f2=Object[_0x5b173c(0x17f)](_0x57a98d);if(_0x3461f2[_0x5b173c(0x284)]!==0x1||_0x3461f2[0x0]!==_0x404895['extensionName']){_0x9a1ec4(_0x307cac,_0x509a2d,_0x5b173c(0x28b));return;}try{_0x51c425[_0x5b173c(0x19f)](_0x57a98d[_0x404895['extensionName']]);}catch{_0x9a1ec4(_0x307cac,_0x509a2d,_0x5b173c(0x13e));return;}_0x307cac['_extensions'][_0x404895['extensionName']]=_0x51c425;}_0x307cac['setSocket'](_0x509a2d,_0x445f57,{'allowSynchronousEvents':_0x42a0c1[_0x5b173c(0x1b4)],'generateMask':_0x42a0c1['generateMask'],'maxPayload':_0x42a0c1[_0x5b173c(0x17a)],'skipUTF8Validation':_0x42a0c1['skipUTF8Validation']});}),_0x42a0c1['finishRequest']?_0x42a0c1['finishRequest'](_0x1f9938,_0x307cac):_0x1f9938[_0x52275f(0x170)]();}function _0x4fb619(_0x415ec,_0xb73124){const _0x25b310=_0x503da1;_0x415ec['_readyState']=_0x130a30['CLOSING'],_0x415ec[_0x25b310(0x2bb)]=!0x0,_0x415ec['emit']('error',_0xb73124),_0x415ec[_0x25b310(0x21f)]();}function _0x2fd8df(_0x59661b){const _0x3ebd7c=_0x503da1;return _0x59661b[_0x3ebd7c(0x282)]=_0x59661b['socketPath'],_0x56a2ee[_0x3ebd7c(0x15d)](_0x59661b);}function _0x434ce6(_0x56f4bf){const _0x2bbf15=_0x503da1;return _0x56f4bf[_0x2bbf15(0x282)]=void 0x0,!_0x56f4bf[_0x2bbf15(0x214)]&&_0x56f4bf[_0x2bbf15(0x214)]!==''&&(_0x56f4bf[_0x2bbf15(0x214)]=_0x56a2ee[_0x2bbf15(0x25d)](_0x56f4bf[_0x2bbf15(0x26f)])?'':_0x56f4bf[_0x2bbf15(0x26f)]),_0x2a6bff['connect'](_0x56f4bf);}function _0x9a1ec4(_0x21d9ca,_0x930b7,_0x420505){const _0x302d64=_0x503da1;_0x21d9ca[_0x302d64(0x181)]=_0x130a30[_0x302d64(0x21a)];const _0x4dc878=new Error(_0x420505);Error['captureStackTrace'](_0x4dc878,_0x9a1ec4),_0x930b7[_0x302d64(0x166)]?(_0x930b7[_0x4c53aa]=!0x0,_0x930b7['abort'](),_0x930b7[_0x302d64(0x167)]&&!_0x930b7[_0x302d64(0x167)]['destroyed']&&_0x930b7['socket'][_0x302d64(0x2dc)](),process[_0x302d64(0x2a3)](_0x4fb619,_0x21d9ca,_0x4dc878)):(_0x930b7[_0x302d64(0x2dc)](_0x4dc878),_0x930b7[_0x302d64(0x2cd)]('error',_0x21d9ca[_0x302d64(0x26d)][_0x302d64(0x23d)](_0x21d9ca,_0x302d64(0x134))),_0x930b7[_0x302d64(0x2cd)]('close',_0x21d9ca['emitClose']['bind'](_0x21d9ca)));}function _0x2d169c(_0x11c51e,_0x242f5c,_0x3347ce){const _0xa5791e=_0x503da1;if(_0x242f5c){const _0x583d73=_0x1d6e51(_0x242f5c)?_0x242f5c['size']:_0x2e49f2(_0x242f5c)[_0xa5791e(0x284)];_0x11c51e['_socket']?_0x11c51e[_0xa5791e(0x168)][_0xa5791e(0x224)]+=_0x583d73:_0x11c51e[_0xa5791e(0x145)]+=_0x583d73;}if(_0x3347ce){const _0x4da8f3=new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x20'+_0x11c51e[_0xa5791e(0x21b)]+'\x20('+_0x4beb97[_0x11c51e[_0xa5791e(0x21b)]]+')');process['nextTick'](_0x3347ce,_0x4da8f3);}}function _0x573ecc(_0x4e9e8e,_0x189ba7){const _0x421078=_0x503da1,_0x4d0a71=this[_0x3d0f06];_0x4d0a71[_0x421078(0x240)]=!0x0,_0x4d0a71[_0x421078(0x1d7)]=_0x189ba7,_0x4d0a71['_closeCode']=_0x4e9e8e,_0x4d0a71[_0x421078(0x2a0)][_0x3d0f06]!==void 0x0&&(_0x4d0a71[_0x421078(0x2a0)][_0x421078(0x2de)](_0x421078(0x2e6),_0x52c656),process[_0x421078(0x2a3)](_0xf282e5,_0x4d0a71[_0x421078(0x2a0)]),_0x4e9e8e===0x3ed?_0x4d0a71[_0x421078(0x29e)]():_0x4d0a71[_0x421078(0x29e)](_0x4e9e8e,_0x189ba7));}function _0x44fa60(){const _0x215c35=_0x503da1,_0x1bcda9=this[_0x3d0f06];_0x1bcda9[_0x215c35(0x18c)]||_0x1bcda9[_0x215c35(0x2a0)][_0x215c35(0x272)]();}function _0x56b14c(_0xffb2cf){const _0x185dc8=_0x503da1,_0x54dc62=this[_0x3d0f06];_0x54dc62[_0x185dc8(0x2a0)][_0x3d0f06]!==void 0x0&&(_0x54dc62[_0x185dc8(0x2a0)][_0x185dc8(0x2de)](_0x185dc8(0x2e6),_0x52c656),process[_0x185dc8(0x2a3)](_0xf282e5,_0x54dc62['_socket']),_0x54dc62[_0x185dc8(0x29e)](_0xffb2cf[_0x5a7f21])),_0x54dc62[_0x185dc8(0x2bb)]||(_0x54dc62[_0x185dc8(0x2bb)]=!0x0,_0x54dc62[_0x185dc8(0x26d)](_0x185dc8(0x134),_0xffb2cf));}function _0x3b71c7(){const _0x3dd9c2=_0x503da1;this[_0x3d0f06][_0x3dd9c2(0x21f)]();}function _0x53d73f(_0x917727,_0x240812){const _0x48e17c=_0x503da1;this[_0x3d0f06][_0x48e17c(0x26d)]('message',_0x917727,_0x240812);}function _0x41cf0d(_0x314157){const _0x45b8e6=_0x503da1,_0x17450a=this[_0x3d0f06];_0x17450a[_0x45b8e6(0x296)]&&_0x17450a[_0x45b8e6(0x199)](_0x314157,!this[_0x45b8e6(0x1ae)],_0x2ffd70),_0x17450a['emit'](_0x45b8e6(0x1b6),_0x314157);}function _0x40ce31(_0x50c72d){const _0x2d0610=_0x503da1;this[_0x3d0f06][_0x2d0610(0x26d)](_0x2d0610(0x199),_0x50c72d);}function _0xf282e5(_0xb62b2a){const _0x30180b=_0x503da1;_0xb62b2a[_0x30180b(0x272)]();}function _0x38a004(_0x2a926d){const _0x16e4a3=_0x503da1,_0x592d4e=this[_0x3d0f06];_0x592d4e[_0x16e4a3(0x21b)]!==_0x130a30[_0x16e4a3(0x265)]&&(_0x592d4e['readyState']===_0x130a30['OPEN']&&(_0x592d4e[_0x16e4a3(0x181)]=_0x130a30[_0x16e4a3(0x21a)],_0x4ad687(_0x592d4e)),this['_socket'][_0x16e4a3(0x170)](),_0x592d4e[_0x16e4a3(0x2bb)]||(_0x592d4e[_0x16e4a3(0x2bb)]=!0x0,_0x592d4e[_0x16e4a3(0x26d)](_0x16e4a3(0x134),_0x2a926d)));}function _0x4ad687(_0x17eb98){const _0x26b859=_0x503da1;_0x17eb98['_closeTimer']=setTimeout(_0x17eb98[_0x26b859(0x2a0)][_0x26b859(0x2dc)][_0x26b859(0x23d)](_0x17eb98['_socket']),_0x4d0e39);}function _0x15a40b(){const _0x1d5bec=_0x503da1,_0x296ff4=this[_0x3d0f06];this[_0x1d5bec(0x2de)](_0x1d5bec(0x29e),_0x15a40b),this[_0x1d5bec(0x2de)]('data',_0x52c656),this[_0x1d5bec(0x2de)](_0x1d5bec(0x170),_0x6ffaf4),_0x296ff4[_0x1d5bec(0x181)]=_0x130a30[_0x1d5bec(0x21a)];let _0x4b513d;!this[_0x1d5bec(0x1d3)][_0x1d5bec(0x17c)]&&!_0x296ff4[_0x1d5bec(0x240)]&&!_0x296ff4[_0x1d5bec(0x150)][_0x1d5bec(0x2eb)][_0x1d5bec(0x1dd)]&&(_0x4b513d=_0x296ff4[_0x1d5bec(0x2a0)]['read']())!==null&&_0x296ff4[_0x1d5bec(0x150)][_0x1d5bec(0x1eb)](_0x4b513d),_0x296ff4[_0x1d5bec(0x150)]['end'](),this[_0x3d0f06]=void 0x0,clearTimeout(_0x296ff4[_0x1d5bec(0x2ec)]),_0x296ff4[_0x1d5bec(0x150)]['_writableState'][_0x1d5bec(0x2a7)]||_0x296ff4['_receiver'][_0x1d5bec(0x2eb)][_0x1d5bec(0x1dd)]?_0x296ff4[_0x1d5bec(0x21f)]():(_0x296ff4[_0x1d5bec(0x150)]['on'](_0x1d5bec(0x134),_0x3b71c7),_0x296ff4[_0x1d5bec(0x150)]['on'](_0x1d5bec(0x217),_0x3b71c7));}function _0x52c656(_0x4ce717){const _0x234fd4=_0x503da1;this[_0x3d0f06]['_receiver'][_0x234fd4(0x1eb)](_0x4ce717)||this[_0x234fd4(0x2df)]();}function _0x6ffaf4(){const _0x1fab3e=_0x503da1,_0x8ddc0c=this[_0x3d0f06];_0x8ddc0c['_readyState']=_0x130a30[_0x1fab3e(0x21a)],_0x8ddc0c[_0x1fab3e(0x150)][_0x1fab3e(0x170)](),this[_0x1fab3e(0x170)]();}function _0x565452(){const _0x584d7b=_0x503da1,_0x15a503=this[_0x3d0f06];this[_0x584d7b(0x2de)](_0x584d7b(0x134),_0x565452),this['on'](_0x584d7b(0x134),_0x2ffd70),_0x15a503&&(_0x15a503[_0x584d7b(0x181)]=_0x130a30[_0x584d7b(0x21a)],this[_0x584d7b(0x2dc)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x37b2da}=oe;function _0x49bbd2(_0x9da9d5){const _0x1d2d7e=_0x4b9f;_0x9da9d5['emit'](_0x1d2d7e(0x29e));}function _0xf7e597(){const _0x3310f2=_0x4b9f;!this[_0x3310f2(0x1c0)]&&this[_0x3310f2(0x2eb)]['finished']&&this[_0x3310f2(0x2dc)]();}function _0x19ef7c(_0x2a0c3a){const _0x4b890f=_0x4b9f;this[_0x4b890f(0x2de)](_0x4b890f(0x134),_0x19ef7c),this[_0x4b890f(0x2dc)](),this['listenerCount'](_0x4b890f(0x134))===0x0&&this[_0x4b890f(0x26d)](_0x4b890f(0x134),_0x2a0c3a);}function _0x1fdfe5(_0x4315e3,_0x486a94){const _0x56508a=_0x4b9f;let _0x549d2a=!0x0;const _0x1322ec=new _0x37b2da({..._0x486a94,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x4315e3['on'](_0x56508a(0x1a4),function(_0x545157,_0x298130){const _0x50fddc=_0x56508a,_0x413859=!_0x298130&&_0x1322ec[_0x50fddc(0x1d3)]['objectMode']?_0x545157[_0x50fddc(0x2f3)]():_0x545157;_0x1322ec['push'](_0x413859)||_0x4315e3[_0x50fddc(0x2df)]();}),_0x4315e3[_0x56508a(0x2cd)](_0x56508a(0x134),function(_0x319665){const _0x1a1627=_0x56508a;_0x1322ec[_0x1a1627(0x1c0)]||(_0x549d2a=!0x1,_0x1322ec[_0x1a1627(0x2dc)](_0x319665));}),_0x4315e3[_0x56508a(0x2cd)](_0x56508a(0x29e),function(){const _0x1563ff=_0x56508a;_0x1322ec[_0x1563ff(0x1c0)]||_0x1322ec[_0x1563ff(0x1e6)](null);}),_0x1322ec[_0x56508a(0x227)]=function(_0xdbe527,_0x519684){const _0x122950=_0x56508a;if(_0x4315e3[_0x122950(0x21b)]===_0x4315e3[_0x122950(0x265)]){_0x519684(_0xdbe527),process[_0x122950(0x2a3)](_0x49bbd2,_0x1322ec);return;}let _0x522690=!0x1;_0x4315e3[_0x122950(0x2cd)](_0x122950(0x134),function(_0xdd2440){_0x522690=!0x0,_0x519684(_0xdd2440);}),_0x4315e3[_0x122950(0x2cd)](_0x122950(0x29e),function(){const _0x1d531c=_0x122950;_0x522690||_0x519684(_0xdbe527),process[_0x1d531c(0x2a3)](_0x49bbd2,_0x1322ec);}),_0x549d2a&&_0x4315e3['terminate']();},_0x1322ec[_0x56508a(0x210)]=function(_0x2530fa){const _0x4798ad=_0x56508a;if(_0x4315e3[_0x4798ad(0x21b)]===_0x4315e3[_0x4798ad(0x1ab)]){_0x4315e3['once'](_0x4798ad(0x260),function(){const _0x5ae3eb=_0x4798ad;_0x1322ec[_0x5ae3eb(0x210)](_0x2530fa);});return;}_0x4315e3['_socket']!==null&&(_0x4315e3['_socket'][_0x4798ad(0x2eb)][_0x4798ad(0x2a7)]?(_0x2530fa(),_0x1322ec[_0x4798ad(0x1d3)][_0x4798ad(0x17c)]&&_0x1322ec[_0x4798ad(0x2dc)]()):(_0x4315e3['_socket'][_0x4798ad(0x2cd)]('finish',function(){_0x2530fa();}),_0x4315e3[_0x4798ad(0x29e)]()));},_0x1322ec[_0x56508a(0x2c8)]=function(){_0x4315e3['isPaused']&&_0x4315e3['resume']();},_0x1322ec[_0x56508a(0x1ac)]=function(_0x994721,_0x5dac3b,_0x2979c1){const _0x2503b7=_0x56508a;if(_0x4315e3[_0x2503b7(0x21b)]===_0x4315e3[_0x2503b7(0x1ab)]){_0x4315e3[_0x2503b7(0x2cd)](_0x2503b7(0x260),function(){_0x1322ec['_write'](_0x994721,_0x5dac3b,_0x2979c1);});return;}_0x4315e3[_0x2503b7(0x172)](_0x994721,_0x2979c1);},_0x1322ec['on']('end',_0xf7e597),_0x1322ec['on'](_0x56508a(0x134),_0x19ef7c),_0x1322ec;}return Oe=_0x1fdfe5,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x320a85}=ae();function _0x8f9ebe(_0x4dbefd){const _0x2071f3=_0x4b9f,_0x13da53=new Set();let _0x57941b=-0x1,_0x19a2cb=-0x1,_0x3e6a8f=0x0;for(_0x3e6a8f;_0x3e6a8f<_0x4dbefd['length'];_0x3e6a8f++){const _0x35b698=_0x4dbefd[_0x2071f3(0x183)](_0x3e6a8f);if(_0x19a2cb===-0x1&&_0x320a85[_0x35b698]===0x1)_0x57941b===-0x1&&(_0x57941b=_0x3e6a8f);else{if(_0x3e6a8f!==0x0&&(_0x35b698===0x20||_0x35b698===0x9))_0x19a2cb===-0x1&&_0x57941b!==-0x1&&(_0x19a2cb=_0x3e6a8f);else{if(_0x35b698===0x2c){if(_0x57941b===-0x1)throw new SyntaxError(_0x2071f3(0x19b)+_0x3e6a8f);_0x19a2cb===-0x1&&(_0x19a2cb=_0x3e6a8f);const _0x55ac62=_0x4dbefd[_0x2071f3(0x1e0)](_0x57941b,_0x19a2cb);if(_0x13da53['has'](_0x55ac62))throw new SyntaxError(_0x2071f3(0x230)+_0x55ac62+_0x2071f3(0x1d1));_0x13da53[_0x2071f3(0x1c7)](_0x55ac62),_0x57941b=_0x19a2cb=-0x1;}else throw new SyntaxError(_0x2071f3(0x19b)+_0x3e6a8f);}}}if(_0x57941b===-0x1||_0x19a2cb!==-0x1)throw new SyntaxError(_0x2071f3(0x1ec));const _0x309ce3=_0x4dbefd['slice'](_0x57941b,_0x3e6a8f);if(_0x13da53['has'](_0x309ce3))throw new SyntaxError('The\x20\x22'+_0x309ce3+_0x2071f3(0x1d1));return _0x13da53[_0x2071f3(0x1c7)](_0x309ce3),_0x13da53;}return Ce={'parse':_0x8f9ebe},Ce;}var Te,rt;function Ft(){const _0x45154d=_0x548fc7;if(rt)return Te;rt=0x1;const _0x23c7e9=nt,_0x33104b=ot,{Duplex:_0x1a79d9}=oe,{createHash:_0x56150f}=Le,_0x13f79e=ct(),_0x3754fd=he(),_0x525bb6=At(),_0x4e2474=Pe(),{GUID:_0x42d9a7,kWebSocket:_0xdddb4a}=H(),_0x56a927=/^[+/0-9A-Za-z]{22}==$/,_0x2b12cc=0x0,_0x41fea8=0x1,_0x17c9a7=0x2;class _0x359793 extends _0x23c7e9{constructor(_0x13bf62,_0x385635){const _0x4d29a2=_0x4b9f;if(super(),_0x13bf62={'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':_0x4e2474,..._0x13bf62},_0x13bf62[_0x4d29a2(0x195)]==null&&!_0x13bf62['server']&&!_0x13bf62[_0x4d29a2(0x206)]||_0x13bf62['port']!=null&&(_0x13bf62[_0x4d29a2(0x148)]||_0x13bf62[_0x4d29a2(0x206)])||_0x13bf62['server']&&_0x13bf62[_0x4d29a2(0x206)])throw new TypeError(_0x4d29a2(0x12f));if(_0x13bf62[_0x4d29a2(0x195)]!=null?(this[_0x4d29a2(0x140)]=_0x33104b[_0x4d29a2(0x1bf)]((_0x192cef,_0x420d31)=>{const _0x2bbd12=_0x4d29a2,_0x7a94cf=_0x33104b[_0x2bbd12(0x2cb)][0x1aa];_0x420d31[_0x2bbd12(0x1af)](0x1aa,{'Content-Length':_0x7a94cf[_0x2bbd12(0x284)],'Content-Type':_0x2bbd12(0x226)}),_0x420d31[_0x2bbd12(0x170)](_0x7a94cf);}),this[_0x4d29a2(0x140)][_0x4d29a2(0x143)](_0x13bf62['port'],_0x13bf62[_0x4d29a2(0x26f)],_0x13bf62[_0x4d29a2(0x1f4)],_0x385635)):_0x13bf62[_0x4d29a2(0x148)]&&(this[_0x4d29a2(0x140)]=_0x13bf62['server']),this[_0x4d29a2(0x140)]){const _0x587959=this[_0x4d29a2(0x26d)][_0x4d29a2(0x23d)](this,'connection');this[_0x4d29a2(0x298)]=_0x5ead13(this[_0x4d29a2(0x140)],{'listening':this['emit'][_0x4d29a2(0x23d)](this,_0x4d29a2(0x1ee)),'error':this[_0x4d29a2(0x26d)][_0x4d29a2(0x23d)](this,'error'),'upgrade':(_0x497a56,_0x5e0682,_0x59c2da)=>{const _0x1fcbb4=_0x4d29a2;this[_0x1fcbb4(0x157)](_0x497a56,_0x5e0682,_0x59c2da,_0x587959);}});}_0x13bf62[_0x4d29a2(0x151)]===!0x0&&(_0x13bf62[_0x4d29a2(0x151)]={}),_0x13bf62['clientTracking']&&(this[_0x4d29a2(0x137)]=new Set(),this[_0x4d29a2(0x182)]=!0x1),this[_0x4d29a2(0x222)]=_0x13bf62,this[_0x4d29a2(0x201)]=_0x2b12cc;}[_0x45154d(0x2e7)](){const _0x8ff6c5=_0x45154d;if(this[_0x8ff6c5(0x222)][_0x8ff6c5(0x206)])throw new Error(_0x8ff6c5(0x259));return this[_0x8ff6c5(0x140)]?this[_0x8ff6c5(0x140)]['address']():null;}[_0x45154d(0x29e)](_0x30c5d8){const _0x3b91d7=_0x45154d;if(this['_state']===_0x17c9a7){_0x30c5d8&&this[_0x3b91d7(0x2cd)](_0x3b91d7(0x29e),()=>{const _0x5a540b=_0x3b91d7;_0x30c5d8(new Error(_0x5a540b(0x2bf)));}),process[_0x3b91d7(0x2a3)](_0x2b8b30,this);return;}if(_0x30c5d8&&this[_0x3b91d7(0x2cd)](_0x3b91d7(0x29e),_0x30c5d8),this['_state']!==_0x41fea8){if(this[_0x3b91d7(0x201)]=_0x41fea8,this[_0x3b91d7(0x222)][_0x3b91d7(0x206)]||this[_0x3b91d7(0x222)][_0x3b91d7(0x148)])this['_server']&&(this['_removeListeners'](),this[_0x3b91d7(0x298)]=this[_0x3b91d7(0x140)]=null),this[_0x3b91d7(0x137)]?this[_0x3b91d7(0x137)][_0x3b91d7(0x24b)]?this[_0x3b91d7(0x182)]=!0x0:process[_0x3b91d7(0x2a3)](_0x2b8b30,this):process['nextTick'](_0x2b8b30,this);else{const _0x1baecc=this[_0x3b91d7(0x140)];this[_0x3b91d7(0x298)](),this[_0x3b91d7(0x298)]=this['_server']=null,_0x1baecc[_0x3b91d7(0x29e)](()=>{_0x2b8b30(this);});}}}[_0x45154d(0x2dd)](_0x1bebe9){const _0xc5e0e5=_0x45154d;if(this['options'][_0xc5e0e5(0x282)]){const _0x4cfea3=_0x1bebe9[_0xc5e0e5(0x2db)][_0xc5e0e5(0x29f)]('?');if((_0x4cfea3!==-0x1?_0x1bebe9[_0xc5e0e5(0x2db)][_0xc5e0e5(0x1e0)](0x0,_0x4cfea3):_0x1bebe9[_0xc5e0e5(0x2db)])!==this['options'][_0xc5e0e5(0x282)])return!0x1;}return!0x0;}['handleUpgrade'](_0x1b04f0,_0x4f2ce3,_0x1f3b90,_0x1b60ea){const _0x13acab=_0x45154d;_0x4f2ce3['on'](_0x13acab(0x134),_0x1906b8);const _0x552ec9=_0x1b04f0[_0x13acab(0x12e)]['sec-websocket-key'],_0x5a4f66=_0x1b04f0[_0x13acab(0x12e)][_0x13acab(0x245)],_0x20a688=+_0x1b04f0[_0x13acab(0x12e)][_0x13acab(0x1a7)];if(_0x1b04f0[_0x13acab(0x1cc)]!==_0x13acab(0x1f6)){_0x407cf7(this,_0x1b04f0,_0x4f2ce3,0x195,_0x13acab(0x22a));return;}if(_0x5a4f66===void 0x0||_0x5a4f66['toLowerCase']()!==_0x13acab(0x244)){_0x407cf7(this,_0x1b04f0,_0x4f2ce3,0x190,_0x13acab(0x264));return;}if(_0x552ec9===void 0x0||!_0x56a927[_0x13acab(0x25c)](_0x552ec9)){_0x407cf7(this,_0x1b04f0,_0x4f2ce3,0x190,_0x13acab(0x1cf));return;}if(_0x20a688!==0xd&&_0x20a688!==0x8){_0x407cf7(this,_0x1b04f0,_0x4f2ce3,0x190,_0x13acab(0x270),{'Sec-WebSocket-Version':_0x13acab(0x22c)});return;}if(!this['shouldHandle'](_0x1b04f0)){_0x2e35eb(_0x4f2ce3,0x190);return;}const _0x8eeecd=_0x1b04f0[_0x13acab(0x12e)][_0x13acab(0x2ac)];let _0x423507=new Set();if(_0x8eeecd!==void 0x0)try{_0x423507=_0x525bb6[_0x13acab(0x268)](_0x8eeecd);}catch{_0x407cf7(this,_0x1b04f0,_0x4f2ce3,0x190,_0x13acab(0x20d));return;}const _0x4ff933=_0x1b04f0[_0x13acab(0x12e)][_0x13acab(0x1a0)],_0x42e3c1={};if(this[_0x13acab(0x222)][_0x13acab(0x151)]&&_0x4ff933!==void 0x0){const _0x1d4203=new _0x3754fd(this[_0x13acab(0x222)]['perMessageDeflate'],!0x0,this['options']['maxPayload']);try{const _0x229004=_0x13f79e['parse'](_0x4ff933);_0x229004[_0x3754fd[_0x13acab(0x2ad)]]&&(_0x1d4203[_0x13acab(0x19f)](_0x229004[_0x3754fd[_0x13acab(0x2ad)]]),_0x42e3c1[_0x3754fd[_0x13acab(0x2ad)]]=_0x1d4203);}catch{_0x407cf7(this,_0x1b04f0,_0x4f2ce3,0x190,_0x13acab(0x18a));return;}}if(this[_0x13acab(0x222)]['verifyClient']){const _0x2c147b={'origin':_0x1b04f0[_0x13acab(0x12e)][''+(_0x20a688===0x8?'sec-websocket-origin':_0x13acab(0x1f5))],'secure':!!(_0x1b04f0['socket']['authorized']||_0x1b04f0[_0x13acab(0x167)][_0x13acab(0x2ed)]),'req':_0x1b04f0};if(this['options'][_0x13acab(0x174)][_0x13acab(0x284)]===0x2){this['options'][_0x13acab(0x174)](_0x2c147b,(_0x4a9adf,_0x1fbb78,_0x522c7b,_0xf3c2a3)=>{if(!_0x4a9adf)return _0x2e35eb(_0x4f2ce3,_0x1fbb78||0x191,_0x522c7b,_0xf3c2a3);this['completeUpgrade'](_0x42e3c1,_0x552ec9,_0x423507,_0x1b04f0,_0x4f2ce3,_0x1f3b90,_0x1b60ea);});return;}if(!this[_0x13acab(0x222)][_0x13acab(0x174)](_0x2c147b))return _0x2e35eb(_0x4f2ce3,0x191);}this[_0x13acab(0x1d5)](_0x42e3c1,_0x552ec9,_0x423507,_0x1b04f0,_0x4f2ce3,_0x1f3b90,_0x1b60ea);}[_0x45154d(0x1d5)](_0x40b8e6,_0x33e955,_0x44d1b1,_0x190856,_0x5b6db6,_0x3cead2,_0x473c6e){const _0x1d65eb=_0x45154d;if(!_0x5b6db6[_0x1d65eb(0x231)]||!_0x5b6db6[_0x1d65eb(0x142)])return _0x5b6db6[_0x1d65eb(0x2dc)]();if(_0x5b6db6[_0xdddb4a])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this[_0x1d65eb(0x201)]>_0x2b12cc)return _0x2e35eb(_0x5b6db6,0x1f7);const _0x3dafea=[_0x1d65eb(0x247),_0x1d65eb(0x251),_0x1d65eb(0x26e),_0x1d65eb(0x2e1)+_0x56150f(_0x1d65eb(0x1e5))[_0x1d65eb(0x1a8)](_0x33e955+_0x42d9a7)['digest'](_0x1d65eb(0x2f1))],_0x574fb4=new this[(_0x1d65eb(0x222))][(_0x1d65eb(0x2e8))](null,void 0x0,this[_0x1d65eb(0x222)]);if(_0x44d1b1['size']){const _0xe98839=this[_0x1d65eb(0x222)][_0x1d65eb(0x29c)]?this[_0x1d65eb(0x222)][_0x1d65eb(0x29c)](_0x44d1b1,_0x190856):_0x44d1b1[_0x1d65eb(0x15c)]()[_0x1d65eb(0x283)]()[_0x1d65eb(0x1b5)];_0xe98839&&(_0x3dafea['push'](_0x1d65eb(0x2b6)+_0xe98839),_0x574fb4[_0x1d65eb(0x24e)]=_0xe98839);}if(_0x40b8e6[_0x3754fd[_0x1d65eb(0x2ad)]]){const _0x2db2ac=_0x40b8e6[_0x3754fd[_0x1d65eb(0x2ad)]][_0x1d65eb(0x1fa)],_0x2ef9ad=_0x13f79e[_0x1d65eb(0x156)]({[_0x3754fd[_0x1d65eb(0x2ad)]]:[_0x2db2ac]});_0x3dafea[_0x1d65eb(0x1e6)](_0x1d65eb(0x2d5)+_0x2ef9ad),_0x574fb4['_extensions']=_0x40b8e6;}this[_0x1d65eb(0x26d)](_0x1d65eb(0x12e),_0x3dafea,_0x190856),_0x5b6db6[_0x1d65eb(0x1eb)](_0x3dafea['concat']('\x0d\x0a')[_0x1d65eb(0x1e7)]('\x0d\x0a')),_0x5b6db6[_0x1d65eb(0x2de)](_0x1d65eb(0x134),_0x1906b8),_0x574fb4[_0x1d65eb(0x2d4)](_0x5b6db6,_0x3cead2,{'allowSynchronousEvents':this[_0x1d65eb(0x222)][_0x1d65eb(0x1b4)],'maxPayload':this[_0x1d65eb(0x222)][_0x1d65eb(0x17a)],'skipUTF8Validation':this[_0x1d65eb(0x222)][_0x1d65eb(0x1d9)]}),this[_0x1d65eb(0x137)]&&(this['clients'][_0x1d65eb(0x1c7)](_0x574fb4),_0x574fb4['on'](_0x1d65eb(0x29e),()=>{const _0x3b14df=_0x1d65eb;this[_0x3b14df(0x137)][_0x3b14df(0x1df)](_0x574fb4),this['_shouldEmitClose']&&!this['clients'][_0x3b14df(0x24b)]&&process[_0x3b14df(0x2a3)](_0x2b8b30,this);})),_0x473c6e(_0x574fb4,_0x190856);}}Te=_0x359793;function _0x5ead13(_0x1c143e,_0x3df28d){const _0x2128a2=_0x45154d;for(const _0x5b6bac of Object[_0x2128a2(0x17f)](_0x3df28d))_0x1c143e['on'](_0x5b6bac,_0x3df28d[_0x5b6bac]);return function(){const _0xf42e84=_0x2128a2;for(const _0x131f80 of Object['keys'](_0x3df28d))_0x1c143e[_0xf42e84(0x2de)](_0x131f80,_0x3df28d[_0x131f80]);};}function _0x2b8b30(_0x113d28){const _0x565f73=_0x45154d;_0x113d28['_state']=_0x17c9a7,_0x113d28[_0x565f73(0x26d)](_0x565f73(0x29e));}function _0x1906b8(){const _0x535bd0=_0x45154d;this[_0x535bd0(0x2dc)]();}function _0x2e35eb(_0x58f7bf,_0x60be72,_0x31ec7d,_0x40424b){const _0xbff372=_0x45154d;_0x31ec7d=_0x31ec7d||_0x33104b[_0xbff372(0x2cb)][_0x60be72],_0x40424b={'Connection':'close','Content-Type':_0xbff372(0x2cc),'Content-Length':Buffer[_0xbff372(0x27f)](_0x31ec7d),..._0x40424b},_0x58f7bf[_0xbff372(0x2cd)](_0xbff372(0x217),_0x58f7bf['destroy']),_0x58f7bf[_0xbff372(0x170)](_0xbff372(0x191)+_0x60be72+'\x20'+_0x33104b[_0xbff372(0x2cb)][_0x60be72]+'\x0d\x0a'+Object[_0xbff372(0x17f)](_0x40424b)['map'](_0x5b1692=>_0x5b1692+':\x20'+_0x40424b[_0x5b1692])['join']('\x0d\x0a')+_0xbff372(0x1c2)+_0x31ec7d);}function _0x407cf7(_0x415f35,_0x94ef71,_0x2c44f4,_0x402b38,_0x15d155,_0xeb850){const _0x4cf5c3=_0x45154d;if(_0x415f35['listenerCount'](_0x4cf5c3(0x1ad))){const _0xfb3d00=new Error(_0x15d155);Error[_0x4cf5c3(0x261)](_0xfb3d00,_0x407cf7),_0x415f35[_0x4cf5c3(0x26d)](_0x4cf5c3(0x1ad),_0xfb3d00,_0x2c44f4,_0x94ef71);}else _0x2e35eb(_0x2c44f4,_0x402b38,_0x15d155,_0xeb850);}return Te;}Ft();var jt=Object[_0x548fc7(0x295)],Wt=(_0xf58f35,_0x33db1a,_0x85c58c,_0x2035b2)=>{const _0x1d19bf=_0x548fc7;for(var _0x48aef2=_0x2035b2>0x1?void 0x0:_0x2035b2?jt(_0x33db1a,_0x85c58c):_0x33db1a,_0x47a89c=_0xf58f35[_0x1d19bf(0x284)]-0x1,_0x13c7b4;_0x47a89c>=0x0;_0x47a89c--)(_0x13c7b4=_0xf58f35[_0x47a89c])&&(_0x48aef2=_0x13c7b4(_0x48aef2)||_0x48aef2);return _0x48aef2;},qt=(_0x5ba93d,_0xf461d2)=>(_0x1ce395,_0x2d712c)=>_0xf461d2(_0x1ce395,_0x2d712c,_0x5ba93d);let ke=class extends A['Disposable']{constructor(_0xbb92f0){const _0x51bf3c=_0x548fc7;super(),this[_0x51bf3c(0x2a8)]=_0xbb92f0;}[_0x548fc7(0x16b)](_0x3d6c3e){const _0x1211b6=_0x548fc7;var _0x1713b3;const _0x47cf8a=(_0x1713b3=this[_0x1211b6(0x2a8)][_0x1211b6(0x223)](fe))==null?void 0x0:_0x1713b3[_0x1211b6(0x27d)];try{const _0x380e50=new $t(_0x3d6c3e,{'headers':{..._0x47cf8a}}),_0x5d36ec=new A[(_0x1211b6(0x1f8))]();return{'URL':_0x3d6c3e,'close':(_0xa0fa34,_0x54fccd)=>{const _0x4654e=_0x1211b6;_0x380e50[_0x4654e(0x29e)](_0xa0fa34,_0x54fccd),_0x5d36ec['dispose']();},'send':_0x2a44bc=>{_0x380e50['send'](_0x2a44bc);},'open$':new V[(_0x1211b6(0x2c4))](_0x490a38=>{const _0x254adc=_0x1211b6,_0x11916a=_0x2546c4=>_0x490a38[_0x254adc(0x283)](_0x2546c4);_0x380e50[_0x254adc(0x136)](_0x254adc(0x260),_0x11916a),_0x5d36ec[_0x254adc(0x1c7)](A[_0x254adc(0x12c)](()=>_0x380e50[_0x254adc(0x194)](_0x254adc(0x260),_0x11916a)));})[_0x1211b6(0x15a)](V['share']()),'close$':new V[(_0x1211b6(0x2c4))](_0xcead71=>{const _0x3659f3=_0x1211b6,_0x714d3b=_0x128d86=>_0xcead71[_0x3659f3(0x283)](_0x128d86);_0x380e50[_0x3659f3(0x136)](_0x3659f3(0x29e),_0x714d3b),_0x5d36ec[_0x3659f3(0x1c7)](A[_0x3659f3(0x12c)](()=>_0x380e50['removeEventListener'](_0x3659f3(0x29e),_0x714d3b)));})[_0x1211b6(0x15a)](V[_0x1211b6(0x22f)]()),'error$':new V['Observable'](_0x5011bf=>{const _0x53bd1e=_0x1211b6,_0x599ac6=_0x15b9b0=>_0x5011bf[_0x53bd1e(0x283)](_0x15b9b0);_0x380e50[_0x53bd1e(0x136)](_0x53bd1e(0x134),_0x599ac6),_0x5d36ec[_0x53bd1e(0x1c7)](A['toDisposable'](()=>_0x380e50[_0x53bd1e(0x194)](_0x53bd1e(0x134),_0x599ac6)));})[_0x1211b6(0x15a)](V[_0x1211b6(0x22f)]()),'message$':new V[(_0x1211b6(0x2c4))](_0x5d7368=>{const _0x49f0b=_0x1211b6,_0x5f0b2f=_0x324e30=>_0x5d7368[_0x49f0b(0x283)](_0x324e30);_0x380e50[_0x49f0b(0x136)](_0x49f0b(0x1a4),_0x5f0b2f),_0x5d36ec[_0x49f0b(0x1c7)](A['toDisposable'](()=>_0x380e50[_0x49f0b(0x194)]('message',_0x5f0b2f)));})[_0x1211b6(0x15a)](V[_0x1211b6(0x22f)]())};}catch(_0x1a7d35){return console[_0x1211b6(0x134)](_0x1a7d35),null;}}};ke=Wt([qt(0x0,A[_0x548fc7(0x12d)])],ke);var Gt=Object[_0x548fc7(0x2a6)],Vt=Object[_0x548fc7(0x295)],Ht=(_0x123e72,_0xcc4bc6,_0x2475e9)=>_0xcc4bc6 in _0x123e72?Gt(_0x123e72,_0xcc4bc6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2475e9}):_0x123e72[_0xcc4bc6]=_0x2475e9,zt=(_0x459255,_0x33f37c,_0x3c404d,_0x339f0c)=>{const _0x194a15=_0x548fc7;for(var _0x36aabc=_0x339f0c>0x1?void 0x0:_0x339f0c?Vt(_0x33f37c,_0x3c404d):_0x33f37c,_0x1f3292=_0x459255[_0x194a15(0x284)]-0x1,_0x56eadc;_0x1f3292>=0x0;_0x1f3292--)(_0x56eadc=_0x459255[_0x1f3292])&&(_0x36aabc=_0x56eadc(_0x36aabc)||_0x36aabc);return _0x36aabc;},Ne=(_0x10ffc2,_0x3bcf31)=>(_0x22a1ba,_0x5012ae)=>_0x3bcf31(_0x22a1ba,_0x5012ae,_0x10ffc2),Yt=(_0x31e009,_0x114781,_0x2e1856)=>Ht(_0x31e009,_0x114781+'',_0x2e1856);exports[_0x548fc7(0x1b8)]=class extends A[_0x548fc7(0x13d)]{constructor(_0x4eab30=Ct,_0x1584b4,_0x1ce92c,_0x5a845c){const _0xf8d7c6=_0x548fc7;_0x4eab30[_0xf8d7c6(0x27d)]||_0x1584b4['warn']('[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.'),super(),this[_0xf8d7c6(0x2a8)]=_0x1ce92c,this[_0xf8d7c6(0x17e)]=_0x5a845c,this[_0xf8d7c6(0x2a8)][_0xf8d7c6(0x26b)](fe,_0x4eab30);}[_0x548fc7(0x16c)](){this['_registerDependencies']();}[_0x548fc7(0x218)](){const _0x5db50a=_0x548fc7;A['registerDependencies'](this[_0x5db50a(0x17e)],[[it['ISocketService'],{'useClass':ke}]]);}},Yt(exports[_0x548fc7(0x1b8)],_0x548fc7(0x2c6),_0x548fc7(0x292)),exports['UniverCollaborationClientNodePlugin']=zt([A[_0x548fc7(0x18f)](st[_0x548fc7(0x24c)]),Ne(0x1,A[_0x548fc7(0x1f9)]),Ne(0x2,A[_0x548fc7(0x12d)]),Ne(0x3,A['Inject'](A[_0x548fc7(0x213)]))],exports['UniverCollaborationClientNodePlugin']);function _0x4b9f(_0x4231f3,_0x56b402){const _0x4cb944=_0x4cb9();return _0x4b9f=function(_0x4b9f42,_0x397c00){_0x4b9f42=_0x4b9f42-0x12c;let _0x44698=_0x4cb944[_0x4b9f42];return _0x44698;},_0x4b9f(_0x4231f3,_0x56b402);}var Kt=Object[_0x548fc7(0x295)],Xt=(_0x34d056,_0x38a4ae,_0x2dcbc6,_0x4d3e13)=>{const _0xcac21f=_0x548fc7;for(var _0x2d5edd=_0x4d3e13>0x1?void 0x0:_0x4d3e13?Kt(_0x38a4ae,_0x2dcbc6):_0x38a4ae,_0xb71dbb=_0x34d056[_0xcac21f(0x284)]-0x1,_0x58e45d;_0xb71dbb>=0x0;_0xb71dbb--)(_0x58e45d=_0x34d056[_0xb71dbb])&&(_0x2d5edd=_0x58e45d(_0x2d5edd)||_0x2d5edd);return _0x2d5edd;},ne=(_0x18447d,_0x484940)=>(_0x2a16e3,_0xaf0770)=>_0x484940(_0x2a16e3,_0xaf0770,_0x18447d);exports[_0x548fc7(0x219)]=class extends st[_0x548fc7(0x152)]{constructor(_0x57b647,_0x4187c9,_0x5bab33,_0x5063cf,_0x118984){const _0x8ee4bb=_0x548fc7;super(_0x57b647,_0x4187c9,_0x5bab33,_0x5063cf,_0x118984);const _0x8aab07=this[_0x8ee4bb(0x2a8)]['getConfig'](fe);this[_0x8ee4bb(0x20e)]['registerHTTPInterceptor']({'interceptor':(_0xa0073f,_0x334a38)=>{const _0x375020=_0x8ee4bb;var _0x515549;const _0x5c2d59=_0xa0073f[_0x375020(0x12e)];return(_0x515549=_0x8aab07==null?void 0x0:_0x8aab07[_0x375020(0x27d)])!=null&&_0x515549[_0x375020(0x27e)]&&_0x5c2d59['set'](_0x375020(0x160),_0x8aab07[_0x375020(0x27d)]['cookie']),_0x334a38(_0xa0073f);}});}async[_0x548fc7(0x16b)](_0x2b43c2){return this['_doCreateSocket'](_0x2b43c2);}},exports[_0x548fc7(0x219)]=Xt([ne(0x0,A['Inject'](A['Injector'])),ne(0x1,A['Inject'](it[_0x548fc7(0x236)])),ne(0x2,A['IConfigService']),ne(0x3,A[_0x548fc7(0x1f9)]),ne(0x4,Ot[_0x548fc7(0x186)])],exports[_0x548fc7(0x219)]),exports[_0x548fc7(0x1a3)]=fe;
|