@univerjs-pro/collaboration-client-node 0.10.2 → 0.10.3

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 CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0xc18ba=_0x58f7;(function(_0x1753ae,_0x4f1280){const _0x27177f=_0x58f7,_0x4aa75b=_0x1753ae();while(!![]){try{const _0x584e80=-parseInt(_0x27177f(0x241))/0x1+parseInt(_0x27177f(0x1ac))/0x2*(-parseInt(_0x27177f(0x265))/0x3)+-parseInt(_0x27177f(0x30b))/0x4+-parseInt(_0x27177f(0x277))/0x5*(parseInt(_0x27177f(0x253))/0x6)+parseInt(_0x27177f(0x2d3))/0x7+-parseInt(_0x27177f(0x23b))/0x8*(-parseInt(_0x27177f(0x250))/0x9)+parseInt(_0x27177f(0x166))/0xa;if(_0x584e80===_0x4f1280)break;else _0x4aa75b['push'](_0x4aa75b['shift']());}catch(_0x120306){_0x4aa75b['push'](_0x4aa75b['shift']());}}}(_0x3940,0x7fec1));Object[_0xc18ba(0x2db)](exports,Symbol[_0xc18ba(0x21f)],{'value':'Module'});const st=require('@univerjs-pro/collaboration-client'),A=require('@univerjs/core'),it=require('@univerjs/network'),V=require('rxjs'),nt=require('events'),vt=require('https'),ot=require('http'),St=require('net'),Et=require('tls'),Le=require('crypto'),oe=require('stream'),xt=require('url'),bt=require('zlib'),wt=require('buffer'),Ot=require('@univerjs-pro/collaboration'),fe=_0xc18ba(0x23d),Ct={'customHeaders':{}};function Tt(_0x14d965){const _0x1b9b91=_0xc18ba;return _0x14d965&&_0x14d965[_0x1b9b91(0x28f)]&&Object[_0x1b9b91(0x221)]['hasOwnProperty'][_0x1b9b91(0x19e)](_0x14d965,_0x1b9b91(0x2e7))?_0x14d965['default']:_0x14d965;}function at(_0x293fb3){const _0x32b36f=_0xc18ba;if(Object[_0x32b36f(0x221)]['hasOwnProperty'][_0x32b36f(0x19e)](_0x293fb3,_0x32b36f(0x28f)))return _0x293fb3;var _0x1d4793=_0x293fb3[_0x32b36f(0x2e7)];if(typeof _0x1d4793==_0x32b36f(0x1a3)){var _0x1cd2c1=function _0xca7c71(){const _0x480bd0=_0x32b36f;var _0x533457=!0x1;try{_0x533457=this instanceof _0xca7c71;}catch{}return _0x533457?Reflect['construct'](_0x1d4793,arguments,this[_0x480bd0(0x25a)]):_0x1d4793[_0x480bd0(0x1ee)](this,arguments);};_0x1cd2c1[_0x32b36f(0x221)]=_0x1d4793[_0x32b36f(0x221)];}else _0x1cd2c1={};return Object[_0x32b36f(0x2db)](_0x1cd2c1,'__esModule',{'value':!0x0}),Object[_0x32b36f(0x294)](_0x293fb3)[_0x32b36f(0x244)](function(_0x3a0727){const _0x11ae37=_0x32b36f;var _0x10e308=Object[_0x11ae37(0x192)](_0x293fb3,_0x3a0727);Object['defineProperty'](_0x1cd2c1,_0x3a0727,_0x10e308[_0x11ae37(0x1a4)]?_0x10e308:{'enumerable':!0x0,'get':function(){return _0x293fb3[_0x3a0727];}});}),_0x1cd2c1;}var se={'exports':{}},ge,Ge;function H(){const _0x3f61df=_0xc18ba;if(Ge)return ge;Ge=0x1;const _0x1109b5=[_0x3f61df(0x2f9),_0x3f61df(0x26c),_0x3f61df(0x27d)],_0x13d516=typeof Blob<'u';return _0x13d516&&_0x1109b5[_0x3f61df(0x236)](_0x3f61df(0x2df)),ge={'BINARY_TYPES':_0x1109b5,'EMPTY_BUFFER':Buffer[_0x3f61df(0x173)](0x0),'GUID':_0x3f61df(0x1f3),'hasBlob':_0x13d516,'kForOnEventAttribute':Symbol(_0x3f61df(0x2c1)),'kListener':Symbol(_0x3f61df(0x2da)),'kStatusCode':Symbol('status-code'),'kWebSocket':Symbol('websocket'),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0xc18ba(0x1ce)](Object[_0xc18ba(0x2db)]({'__proto__':null,'default':Nt},Symbol[_0xc18ba(0x21f)],{'value':_0xc18ba(0x16a)})),Lt=at(kt);var Ve;function ce(){const _0x5e1156=_0xc18ba;if(Ve)return se[_0x5e1156(0x239)];Ve=0x1;const {EMPTY_BUFFER:_0x5a260e}=H(),_0x7c84=Buffer[Symbol[_0x5e1156(0x1bb)]];function _0x5c10e3(_0x1c59b6,_0x245907){const _0x3f12cc=_0x5e1156;if(_0x1c59b6[_0x3f12cc(0x1e0)]===0x0)return _0x5a260e;if(_0x1c59b6[_0x3f12cc(0x1e0)]===0x1)return _0x1c59b6[0x0];const _0x161d25=Buffer[_0x3f12cc(0x1b6)](_0x245907);let _0x42decb=0x0;for(let _0x299ccf=0x0;_0x299ccf<_0x1c59b6['length'];_0x299ccf++){const _0x5841f6=_0x1c59b6[_0x299ccf];_0x161d25[_0x3f12cc(0x307)](_0x5841f6,_0x42decb),_0x42decb+=_0x5841f6[_0x3f12cc(0x1e0)];}return _0x42decb<_0x245907?new _0x7c84(_0x161d25[_0x3f12cc(0x16f)],_0x161d25['byteOffset'],_0x42decb):_0x161d25;}function _0x5d21d6(_0x17bb9f,_0x3f6171,_0x5268b5,_0x39741e,_0x5648b9){for(let _0x177c46=0x0;_0x177c46<_0x5648b9;_0x177c46++)_0x5268b5[_0x39741e+_0x177c46]=_0x17bb9f[_0x177c46]^_0x3f6171[_0x177c46&0x3];}function _0x50a74d(_0x3ae454,_0x28659a){const _0xee559d=_0x5e1156;for(let _0x34f078=0x0;_0x34f078<_0x3ae454[_0xee559d(0x1e0)];_0x34f078++)_0x3ae454[_0x34f078]^=_0x28659a[_0x34f078&0x3];}function _0x3a470a(_0x5b0496){const _0x274e22=_0x5e1156;return _0x5b0496['length']===_0x5b0496[_0x274e22(0x16f)][_0x274e22(0x270)]?_0x5b0496[_0x274e22(0x16f)]:_0x5b0496[_0x274e22(0x16f)][_0x274e22(0x1f4)](_0x5b0496['byteOffset'],_0x5b0496[_0x274e22(0x29d)]+_0x5b0496[_0x274e22(0x1e0)]);}function _0xced99e(_0x4ed6d2){const _0x3416ad=_0x5e1156;if(_0xced99e['readOnly']=!0x0,Buffer['isBuffer'](_0x4ed6d2))return _0x4ed6d2;let _0x3529a9;return _0x4ed6d2 instanceof ArrayBuffer?_0x3529a9=new _0x7c84(_0x4ed6d2):ArrayBuffer[_0x3416ad(0x170)](_0x4ed6d2)?_0x3529a9=new _0x7c84(_0x4ed6d2[_0x3416ad(0x16f)],_0x4ed6d2[_0x3416ad(0x29d)],_0x4ed6d2['byteLength']):(_0x3529a9=Buffer[_0x3416ad(0x185)](_0x4ed6d2),_0xced99e[_0x3416ad(0x299)]=!0x1),_0x3529a9;}if(se[_0x5e1156(0x239)]={'concat':_0x5c10e3,'mask':_0x5d21d6,'toArrayBuffer':_0x3a470a,'toBuffer':_0xced99e,'unmask':_0x50a74d},!process[_0x5e1156(0x1fa)]['WS_NO_BUFFER_UTIL'])try{const _0x257b51=Lt;se[_0x5e1156(0x239)][_0x5e1156(0x27e)]=function(_0x20b213,_0x4df895,_0x51a215,_0x1eb511,_0x5311c4){_0x5311c4<0x30?_0x5d21d6(_0x20b213,_0x4df895,_0x51a215,_0x1eb511,_0x5311c4):_0x257b51['mask'](_0x20b213,_0x4df895,_0x51a215,_0x1eb511,_0x5311c4);},se[_0x5e1156(0x239)]['unmask']=function(_0x176fe4,_0x32b58f){const _0x255b3d=_0x5e1156;_0x176fe4[_0x255b3d(0x1e0)]<0x20?_0x50a74d(_0x176fe4,_0x32b58f):_0x257b51[_0x255b3d(0x172)](_0x176fe4,_0x32b58f);};}catch{}return se['exports'];}function _0x3940(){const _0x25e562=['join','client_max_window_bits','WS_ERR_INVALID_OPCODE','_doCreateSocket','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','slice','Plugin','clientMaxWindowBits','_deflate','startLoop','kWasClean','env','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','getPayloadLength64','_state','reset','generateMask','invalid\x20opcode\x200','finishRequest','handleEvent','removeAllListeners','server_no_context_takeover','readUInt16BE','_extensions','_closeTimer','string','end','FIN\x20must\x20be\x20set','Invalid\x20URL:\x20','noServer','_skipUTF8Validation','wss:','consume','authorized','protocolVersion','getPayloadLength16','maskBuffer','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','removeEventListener','Server\x20sent\x20an\x20invalid\x20subprotocol','writable','listeners','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','UniverCollaborationClientPlugin','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','skipUTF8Validation','_fragmented','ws+unix:','toStringTag','sec-websocket-key','prototype','_injector','defaultPort','_closeCode','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','sec-websocket-version','getConfig','kData','object','timeout','_allowSynchronousEvents','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','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','_shouldEmitClose','_mask','arrayBuffer','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','pow','Upgrade','pluginName','_removeListeners','push','message','createServer','exports','setConfig','360yqoyDn','_socket','collaboration-client-node.config','Z_DEFAULT_WINDOWBITS','target','kRun','568218nUWnZP','\x22:\x20','_bufferedAmount','forEach','Invalid\x20WebSocket\x20frame:\x20','update','ws:','encrypted','backlog','toDisposable','MASK\x20must\x20be\x20set','terminate','writeHead','_redirects','_registerDependencies','132156nJdQVj','Origin','upgrade','420gcalWH','\x20(supported\x20versions:\x20','format','Blob','Unexpected\x20end\x20of\x20input','Invalid\x20HTTP\x20method','COLLABORATION_CLIENT_NODE_CONFIG_KEY','constructor','getMask','path','kMessage','clientNoContextTakeover','Upgrade:\x20websocket','url','kCode','isInteger','STATUS_CODES','socket','14124bAGrkz','followRedirects','Basic\x20','_writableState','warn','client_no_context_takeover','Invalid\x20Upgrade\x20header','arraybuffer','toString','number','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','byteLength','_bufferedBytes','redirect','finish','request','cookie','entries','18515pZkDPc','share','13,\x208','_readyState','concat','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','fragments','mask','clientTracking','kError','base64','WS_ERR_UNEXPECTED_MASK','readUInt32BE','CONNECTING','servername','_receiver','setHeader','errorEmitted','compress','_errored','normalizeParams','OPEN','pipe','abort','__esModule','createInflateRaw','_closeMessage','_server','_inflate','keys','serverNoContextTakeover','destroy','port','socketPath','readOnly','map','username','invalid\x20status\x20code\x20','byteOffset','_buffers','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','indexOf','Parameter\x20\x22','acceptAsServer','sendFrame','isArray','emitClose','listenerCount','_opcode','\x22\x20subprotocol\x20is\x20duplicated','isIP','_autoPong','dispose','_req','concurrency','createConnection','isPaused','_destroy','Connection:\x20Upgrade','_decompress','WS_ERR_INVALID_UTF8','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','kTarget','invalid\x20payload\x20length\x20','haveLength','CLOSING','dataMessage','binaryType','sec-websocket-origin','Sec-WebSocket-Accept:\x20','invalid\x20UTF-8\x20sequence','ping','text/plain','_originalHostOrSocketPath','kIsForOnEventAttribute','stream','_paused','customHeaders','values','kDone','registerHTTPInterceptor','ILogService','createSocket','_originalIpc','_compressed','isServer','_configService','hostname','conclude','sec-websocket-protocol','UniverCollaborationClientNodePlugin','needDrain','2302202FqkDpV','completeUpgrade','RSV1\x20must\x20be\x20clear','ISocketService','maxPayload','server_max_window_bits','onerror','kListener','defineProperty','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','dispatch','headers','blob','IConfigService','handleUpgrade','replace','toLowerCase','zlibInflateOptions','Observable','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','default','getInfo','binary','Invalid\x20Sec-WebSocket-Extensions\x20header','controlMessage','decompress','_firstFragment','extensionName','WebSocket\x20is\x20not\x20open:\x20readyState\x20','_options','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','_binaryType','serverMaxWindowBits','HTTPService','zlibDeflateOptions','open','Injector','nodebuffer','createError','_payloadLength','wasClean','uncork','_loop','pong','setTimeout','endEmitted','enqueue','handshakeTimeout','authorization','code','invalid\x20opcode\x20','set','catch','connect','_url','3860676dOnPds','has','_totalPayloadLength','acceptAsClient','client','_compress','_threshold','threshold','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','listen','HTTP/1.1\x20101\x20Switching\x20Protocols','drain','method','getBlobData','kAborted','https:','perMessageDeflate','next','_protocol','jobs','reason','protocol','removeListener','_closeFrameReceived','startsWith','Inject','verifyClient','Unsupported\x20protocol\x20version:\x20','password','read','setSocket','_generateMask','address','pause','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','13551480UkrCPx','digest','_messageLength','write','Module','offer','_readableState','DisposableCollection','http:','buffer','isView','_closeFrameSent','unmask','alloc','kReason','_queue','size','writeUInt16BE','location','resume','frame','params','sec-websocket-extensions','callback','_sender','DependentOn','clients','Max\x20payload\x20size\x20exceeded','send','wsClientError','auth','from','fin','nextTick','objectMode','_errorEmitted','once','Opening\x20handshake\x20has\x20timed\x20out','add','handleProtocols','_write','onclose','dequeue','unshift','getOwnPropertyDescriptor','WS_ERR_EXPECTED_MASK','getData','bufferedAmount','_maxPayload','permessage-deflate','create','server','Sec-WebSocket-Protocol','GET','allowSynchronousEvents','host','call','finished','kByteLength','error','Sec-WebSocket-Origin','function','get','parse','autoPong','charCodeAt','href','_originalSecure','onmessage','Sec-WebSocket-Protocol:\x20','12TdnxHa','options','Disposable','The\x20URL\x20contains\x20a\x20fragment\x20identifier','cleanup','websocket','Unexpected\x20server\x20response:\x20','readyState','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','CLOSED','allocUnsafe','_fin','pending','WS_ERR_EXPECTED_FIN','onopen','species','WS_ERR_UNEXPECTED_RSV_2_3','Invalid\x20Sec-WebSocket-Protocol\x20header','isValidUTF8','concurrencyLimit','WS_ERR_UNEXPECTED_RSV_1','addEventListener','emit','The\x20URL\x27s\x20pathname\x20is\x20empty','data','CollaborationSocketService','response','_isServer','shouldHandle','search','buffers','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','extensions','_no_context_takeover','freeze','_final','Invalid\x20value\x20for\x20parameter\x20\x22','unexpected-response','setNoDelay','split','NodeCollaborationSocketService','_maskBuffer','find','WebSocket','shift','registerDependencies','_max_window_bits','type','captureStackTrace','The\x20\x22','bind','includes','length','destroyed','close','sec-websocket-accept','Unexpected\x20character\x20at\x20index\x20','_masked','total-length','test','accept','rsv1','_fragments','flush','Cookie','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','apply'];_0x3940=function(){return _0x25e562;};return _0x3940();}var ye,He;function Pt(){const _0x3af985=_0xc18ba;if(He)return ye;He=0x1;const _0x5c9eb4=Symbol(_0x3af985(0x2c6)),_0x5bc395=Symbol(_0x3af985(0x240));class _0x4e0076{constructor(_0x2333ef){const _0x4f0336=_0x3af985;this[_0x5c9eb4]=()=>{this['pending']--,this[_0x5bc395]();},this[_0x4f0336(0x2ad)]=_0x2333ef||0x1/0x0,this['jobs']=[],this['pending']=0x0;}[_0x3af985(0x18c)](_0x42ed40){const _0x16ac4b=_0x3af985;this[_0x16ac4b(0x31e)][_0x16ac4b(0x236)](_0x42ed40),this[_0x5bc395]();}[_0x5bc395](){const _0xd6c67d=_0x3af985;if(this[_0xd6c67d(0x1b8)]!==this[_0xd6c67d(0x2ad)]&&this['jobs'][_0xd6c67d(0x1e0)]){const _0x4433dd=this[_0xd6c67d(0x31e)][_0xd6c67d(0x1d8)]();this[_0xd6c67d(0x1b8)]++,_0x4433dd(this[_0x5c9eb4]);}}}return ye=_0x4e0076,ye;}var ve,ze;function he(){const _0x405996=_0xc18ba;if(ze)return ve;ze=0x1;const _0x3aa4a1=bt,_0x2bd50d=ce(),_0x65e463=Pt(),{kStatusCode:_0x1130ac}=H(),_0x1222dc=Buffer[Symbol['species']],_0x4bf211=Buffer[_0x405996(0x185)]([0x0,0x0,0xff,0xff]),_0x25fba8=Symbol(_0x405996(0x197)),_0x1769a1=Symbol(_0x405996(0x1e6)),_0x525515=Symbol(_0x405996(0x17d)),_0x395763=Symbol(_0x405996(0x1ca)),_0x5315de=Symbol(_0x405996(0x1a1));let _0x3b25fb;class _0x475088{constructor(_0x1633c2,_0x549db0,_0x274e7f){const _0x410930=_0x405996;if(this['_maxPayload']=_0x274e7f|0x0,this[_0x410930(0x2f0)]=_0x1633c2||{},this[_0x410930(0x311)]=this[_0x410930(0x2f0)][_0x410930(0x312)]!==void 0x0?this['_options']['threshold']:0x400,this[_0x410930(0x1c7)]=!!_0x549db0,this[_0x410930(0x1f7)]=null,this[_0x410930(0x293)]=null,this[_0x410930(0x17b)]=null,!_0x3b25fb){const _0xedcf79=this['_options'][_0x410930(0x1bf)]!==void 0x0?this['_options'][_0x410930(0x1bf)]:0xa;_0x3b25fb=new _0x65e463(_0xedcf79);}}static get['extensionName'](){const _0x253ab7=_0x405996;return _0x253ab7(0x197);}[_0x405996(0x16b)](){const _0x4bd87c=_0x405996,_0x420824={};return this[_0x4bd87c(0x2f0)][_0x4bd87c(0x295)]&&(_0x420824[_0x4bd87c(0x204)]=!0x0),this[_0x4bd87c(0x2f0)][_0x4bd87c(0x25e)]&&(_0x420824['client_no_context_takeover']=!0x0),this['_options'][_0x4bd87c(0x2f4)]&&(_0x420824[_0x4bd87c(0x2d8)]=this[_0x4bd87c(0x2f0)][_0x4bd87c(0x2f4)]),this[_0x4bd87c(0x2f0)][_0x4bd87c(0x1f6)]?_0x420824['client_max_window_bits']=this[_0x4bd87c(0x2f0)][_0x4bd87c(0x1f6)]:this[_0x4bd87c(0x2f0)][_0x4bd87c(0x1f6)]==null&&(_0x420824[_0x4bd87c(0x1f0)]=!0x0),_0x420824;}[_0x405996(0x1e8)](_0x27a932){const _0x519737=_0x405996;return _0x27a932=this[_0x519737(0x28b)](_0x27a932),this[_0x519737(0x17b)]=this[_0x519737(0x1c7)]?this[_0x519737(0x2a2)](_0x27a932):this[_0x519737(0x30e)](_0x27a932),this[_0x519737(0x17b)];}['cleanup'](){const _0x5dbd2b=_0x405996;if(this['_inflate']&&(this[_0x5dbd2b(0x293)][_0x5dbd2b(0x1e2)](),this[_0x5dbd2b(0x293)]=null),this['_deflate']){const _0xe30692=this[_0x5dbd2b(0x1f7)][_0x525515];this[_0x5dbd2b(0x1f7)][_0x5dbd2b(0x1e2)](),this[_0x5dbd2b(0x1f7)]=null,_0xe30692&&_0xe30692(new Error(_0x5dbd2b(0x231)));}}[_0x405996(0x2a2)](_0x1cfa2b){const _0xd9a1f5=_0x405996,_0x25ee81=this['_options'],_0xfcbbcc=_0x1cfa2b[_0xd9a1f5(0x1d6)](_0x5217a7=>!(_0x25ee81[_0xd9a1f5(0x295)]===!0x1&&_0x5217a7[_0xd9a1f5(0x204)]||_0x5217a7['server_max_window_bits']&&(_0x25ee81[_0xd9a1f5(0x2f4)]===!0x1||typeof _0x25ee81[_0xd9a1f5(0x2f4)]==_0xd9a1f5(0x26e)&&_0x25ee81[_0xd9a1f5(0x2f4)]>_0x5217a7[_0xd9a1f5(0x2d8)])||typeof _0x25ee81['clientMaxWindowBits']==_0xd9a1f5(0x26e)&&!_0x5217a7['client_max_window_bits']));if(!_0xfcbbcc)throw new Error(_0xd9a1f5(0x313));return _0x25ee81['serverNoContextTakeover']&&(_0xfcbbcc[_0xd9a1f5(0x204)]=!0x0),_0x25ee81[_0xd9a1f5(0x25e)]&&(_0xfcbbcc['client_no_context_takeover']=!0x0),typeof _0x25ee81[_0xd9a1f5(0x2f4)]==_0xd9a1f5(0x26e)&&(_0xfcbbcc[_0xd9a1f5(0x2d8)]=_0x25ee81[_0xd9a1f5(0x2f4)]),typeof _0x25ee81[_0xd9a1f5(0x1f6)]==_0xd9a1f5(0x26e)?_0xfcbbcc[_0xd9a1f5(0x1f0)]=_0x25ee81[_0xd9a1f5(0x1f6)]:(_0xfcbbcc[_0xd9a1f5(0x1f0)]===!0x0||_0x25ee81[_0xd9a1f5(0x1f6)]===!0x1)&&delete _0xfcbbcc[_0xd9a1f5(0x1f0)],_0xfcbbcc;}[_0x405996(0x30e)](_0x901499){const _0x467326=_0x405996,_0x516655=_0x901499[0x0];if(this[_0x467326(0x2f0)][_0x467326(0x25e)]===!0x1&&_0x516655[_0x467326(0x26a)])throw new Error(_0x467326(0x26f));if(!_0x516655[_0x467326(0x1f0)])typeof this[_0x467326(0x2f0)][_0x467326(0x1f6)]==_0x467326(0x26e)&&(_0x516655[_0x467326(0x1f0)]=this[_0x467326(0x2f0)][_0x467326(0x1f6)]);else{if(this['_options'][_0x467326(0x1f6)]===!0x1||typeof this[_0x467326(0x2f0)][_0x467326(0x1f6)]==_0x467326(0x26e)&&_0x516655['client_max_window_bits']>this[_0x467326(0x2f0)][_0x467326(0x1f6)])throw new Error(_0x467326(0x1ed));}return _0x516655;}[_0x405996(0x28b)](_0x1dcfa7){const _0x38968e=_0x405996;return _0x1dcfa7[_0x38968e(0x244)](_0x37cff0=>{const _0x33ef2f=_0x38968e;Object[_0x33ef2f(0x294)](_0x37cff0)[_0x33ef2f(0x244)](_0x5a9528=>{const _0x293da5=_0x33ef2f;let _0x284d05=_0x37cff0[_0x5a9528];if(_0x284d05[_0x293da5(0x1e0)]>0x1)throw new Error(_0x293da5(0x2a1)+_0x5a9528+'\x22\x20must\x20have\x20only\x20a\x20single\x20value');if(_0x284d05=_0x284d05[0x0],_0x5a9528===_0x293da5(0x1f0)){if(_0x284d05!==!0x0){const _0x13f323=+_0x284d05;if(!Number[_0x293da5(0x262)](_0x13f323)||_0x13f323<0x8||_0x13f323>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x5a9528+_0x293da5(0x242)+_0x284d05);_0x284d05=_0x13f323;}else{if(!this['_isServer'])throw new TypeError(_0x293da5(0x1d0)+_0x5a9528+'\x22:\x20'+_0x284d05);}}else{if(_0x5a9528===_0x293da5(0x2d8)){const _0x47c025=+_0x284d05;if(!Number['isInteger'](_0x47c025)||_0x47c025<0x8||_0x47c025>0xf)throw new TypeError(_0x293da5(0x1d0)+_0x5a9528+_0x293da5(0x242)+_0x284d05);_0x284d05=_0x47c025;}else{if(_0x5a9528==='client_no_context_takeover'||_0x5a9528===_0x293da5(0x204)){if(_0x284d05!==!0x0)throw new TypeError(_0x293da5(0x1d0)+_0x5a9528+_0x293da5(0x242)+_0x284d05);}else throw new Error('Unknown\x20parameter\x20\x22'+_0x5a9528+'\x22');}}_0x37cff0[_0x5a9528]=_0x284d05;});}),_0x1dcfa7;}[_0x405996(0x2ec)](_0x3f11ab,_0x57e649,_0x2f218b){const _0x330b3e=_0x405996;_0x3b25fb[_0x330b3e(0x18c)](_0x1fa02f=>{const _0x3ea5c4=_0x330b3e;this[_0x3ea5c4(0x2b2)](_0x3f11ab,_0x57e649,(_0x48017d,_0x5b81c5)=>{_0x1fa02f(),_0x2f218b(_0x48017d,_0x5b81c5);});});}[_0x405996(0x289)](_0x4ac2f5,_0x4ddac2,_0x49e059){const _0x35bc5a=_0x405996;_0x3b25fb[_0x35bc5a(0x18c)](_0x1c78c1=>{this['_compress'](_0x4ac2f5,_0x4ddac2,(_0xb7c5aa,_0x16604d)=>{_0x1c78c1(),_0x49e059(_0xb7c5aa,_0x16604d);});});}[_0x405996(0x2b2)](_0x798e37,_0xf30878,_0x5b7ecf){const _0x2b9ee5=_0x405996,_0x4c6c9e=this[_0x2b9ee5(0x1c7)]?_0x2b9ee5(0x30f):_0x2b9ee5(0x199);if(!this[_0x2b9ee5(0x293)]){const _0x4b697d=_0x4c6c9e+_0x2b9ee5(0x1da),_0x36d840=typeof this[_0x2b9ee5(0x17b)][_0x4b697d]!=_0x2b9ee5(0x26e)?_0x3aa4a1[_0x2b9ee5(0x23e)]:this[_0x2b9ee5(0x17b)][_0x4b697d];this[_0x2b9ee5(0x293)]=_0x3aa4a1[_0x2b9ee5(0x290)]({...this['_options'][_0x2b9ee5(0x2e4)],'windowBits':_0x36d840}),this[_0x2b9ee5(0x293)][_0x25fba8]=this,this[_0x2b9ee5(0x293)][_0x1769a1]=0x0,this['_inflate'][_0x395763]=[],this['_inflate']['on'](_0x2b9ee5(0x1a1),_0x10df3d),this[_0x2b9ee5(0x293)]['on'](_0x2b9ee5(0x1c4),_0x103464);}this['_inflate'][_0x525515]=_0x5b7ecf,this['_inflate'][_0x2b9ee5(0x169)](_0x798e37),_0xf30878&&this[_0x2b9ee5(0x293)]['write'](_0x4bf211),this[_0x2b9ee5(0x293)]['flush'](()=>{const _0x1933a3=_0x2b9ee5,_0x578ef2=this['_inflate'][_0x5315de];if(_0x578ef2){this[_0x1933a3(0x293)][_0x1933a3(0x1e2)](),this[_0x1933a3(0x293)]=null,_0x5b7ecf(_0x578ef2);return;}const _0x152f11=_0x2bd50d[_0x1933a3(0x27b)](this[_0x1933a3(0x293)][_0x395763],this[_0x1933a3(0x293)][_0x1769a1]);this[_0x1933a3(0x293)][_0x1933a3(0x16c)][_0x1933a3(0x301)]?(this[_0x1933a3(0x293)][_0x1933a3(0x1e2)](),this['_inflate']=null):(this['_inflate'][_0x1769a1]=0x0,this[_0x1933a3(0x293)][_0x395763]=[],_0xf30878&&this[_0x1933a3(0x17b)][_0x4c6c9e+_0x1933a3(0x1cd)]&&this['_inflate'][_0x1933a3(0x1fe)]()),_0x5b7ecf(null,_0x152f11);});}[_0x405996(0x310)](_0x5c2397,_0x1ad09c,_0x5b42ea){const _0xf496d2=_0x405996,_0x4f7a14=this['_isServer']?_0xf496d2(0x199):_0xf496d2(0x30f);if(!this[_0xf496d2(0x1f7)]){const _0x1ae05f=_0x4f7a14+_0xf496d2(0x1da),_0x4ff001=typeof this['params'][_0x1ae05f]!='number'?_0x3aa4a1[_0xf496d2(0x23e)]:this[_0xf496d2(0x17b)][_0x1ae05f];this[_0xf496d2(0x1f7)]=_0x3aa4a1['createDeflateRaw']({...this[_0xf496d2(0x2f0)][_0xf496d2(0x2f6)],'windowBits':_0x4ff001}),this[_0xf496d2(0x1f7)][_0x1769a1]=0x0,this[_0xf496d2(0x1f7)][_0x395763]=[],this[_0xf496d2(0x1f7)]['on']('data',_0xd03090);}this['_deflate'][_0x525515]=_0x5b42ea,this[_0xf496d2(0x1f7)][_0xf496d2(0x169)](_0x5c2397),this[_0xf496d2(0x1f7)][_0xf496d2(0x1eb)](_0x3aa4a1['Z_SYNC_FLUSH'],()=>{const _0x4677b4=_0xf496d2;if(!this[_0x4677b4(0x1f7)])return;let _0x27f9e2=_0x2bd50d[_0x4677b4(0x27b)](this[_0x4677b4(0x1f7)][_0x395763],this['_deflate'][_0x1769a1]);_0x1ad09c&&(_0x27f9e2=new _0x1222dc(_0x27f9e2['buffer'],_0x27f9e2[_0x4677b4(0x29d)],_0x27f9e2['length']-0x4)),this[_0x4677b4(0x1f7)][_0x525515]=null,this[_0x4677b4(0x1f7)][_0x1769a1]=0x0,this['_deflate'][_0x395763]=[],_0x1ad09c&&this[_0x4677b4(0x17b)][_0x4f7a14+_0x4677b4(0x1cd)]&&this[_0x4677b4(0x1f7)][_0x4677b4(0x1fe)](),_0x5b42ea(null,_0x27f9e2);});}}ve=_0x475088;function _0xd03090(_0x28dda2){const _0x29f421=_0x405996;this[_0x395763]['push'](_0x28dda2),this[_0x1769a1]+=_0x28dda2[_0x29f421(0x1e0)];}function _0x103464(_0x4ed7a7){const _0x4fc4b3=_0x405996;if(this[_0x1769a1]+=_0x4ed7a7[_0x4fc4b3(0x1e0)],this[_0x25fba8][_0x4fc4b3(0x196)]<0x1||this[_0x1769a1]<=this[_0x25fba8][_0x4fc4b3(0x196)]){this[_0x395763][_0x4fc4b3(0x236)](_0x4ed7a7);return;}this[_0x5315de]=new RangeError(_0x4fc4b3(0x181)),this[_0x5315de]['code']=_0x4fc4b3(0x2dc),this[_0x5315de][_0x1130ac]=0x3f1,this[_0x4fc4b3(0x321)](_0x4fc4b3(0x1c4),_0x103464),this['reset']();}function _0x10df3d(_0x324c9e){const _0x513581=_0x405996;if(this[_0x25fba8][_0x513581(0x293)]=null,this[_0x5315de]){this[_0x525515](this[_0x5315de]);return;}_0x324c9e[_0x1130ac]=0x3ef,this[_0x525515](_0x324c9e);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0xc18ba(0x1ce)](Object['defineProperty']({'__proto__':null,'default':Dt},Symbol[_0xc18ba(0x21f)],{'value':_0xc18ba(0x16a)})),Bt=at(Rt);var Ye;function ae(){const _0x160134=_0xc18ba;if(Ye)return ie[_0x160134(0x239)];Ye=0x1;const {isUtf8:_0x112ac5}=wt,{hasBlob:_0x1f1b5d}=H(),_0x332ec4=[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 _0x4d02a1(_0xc67927){return _0xc67927>=0x3e8&&_0xc67927<=0x3f6&&_0xc67927!==0x3ec&&_0xc67927!==0x3ed&&_0xc67927!==0x3ee||_0xc67927>=0xbb8&&_0xc67927<=0x1387;}function _0x28498d(_0x41165e){const _0x4923d2=_0x160134,_0x599c85=_0x41165e[_0x4923d2(0x1e0)];let _0x1041d2=0x0;for(;_0x1041d2<_0x599c85;)if((_0x41165e[_0x1041d2]&0x80)===0x0)_0x1041d2++;else{if((_0x41165e[_0x1041d2]&0xe0)===0xc0){if(_0x1041d2+0x1===_0x599c85||(_0x41165e[_0x1041d2+0x1]&0xc0)!==0x80||(_0x41165e[_0x1041d2]&0xfe)===0xc0)return!0x1;_0x1041d2+=0x2;}else{if((_0x41165e[_0x1041d2]&0xf0)===0xe0){if(_0x1041d2+0x2>=_0x599c85||(_0x41165e[_0x1041d2+0x1]&0xc0)!==0x80||(_0x41165e[_0x1041d2+0x2]&0xc0)!==0x80||_0x41165e[_0x1041d2]===0xe0&&(_0x41165e[_0x1041d2+0x1]&0xe0)===0x80||_0x41165e[_0x1041d2]===0xed&&(_0x41165e[_0x1041d2+0x1]&0xe0)===0xa0)return!0x1;_0x1041d2+=0x3;}else{if((_0x41165e[_0x1041d2]&0xf8)===0xf0){if(_0x1041d2+0x3>=_0x599c85||(_0x41165e[_0x1041d2+0x1]&0xc0)!==0x80||(_0x41165e[_0x1041d2+0x2]&0xc0)!==0x80||(_0x41165e[_0x1041d2+0x3]&0xc0)!==0x80||_0x41165e[_0x1041d2]===0xf0&&(_0x41165e[_0x1041d2+0x1]&0xf0)===0x80||_0x41165e[_0x1041d2]===0xf4&&_0x41165e[_0x1041d2+0x1]>0x8f||_0x41165e[_0x1041d2]>0xf4)return!0x1;_0x1041d2+=0x4;}else return!0x1;}}}return!0x0;}function _0x57126e(_0x30df67){const _0x36380e=_0x160134;return _0x1f1b5d&&typeof _0x30df67==_0x36380e(0x229)&&typeof _0x30df67['arrayBuffer']==_0x36380e(0x1a3)&&typeof _0x30df67[_0x36380e(0x1db)]==_0x36380e(0x208)&&typeof _0x30df67[_0x36380e(0x2c2)]=='function'&&(_0x30df67[Symbol['toStringTag']]===_0x36380e(0x256)||_0x30df67[Symbol[_0x36380e(0x21f)]]==='File');}if(ie['exports']={'isBlob':_0x57126e,'isValidStatusCode':_0x4d02a1,'isValidUTF8':_0x28498d,'tokenChars':_0x332ec4},_0x112ac5)ie[_0x160134(0x239)][_0x160134(0x1be)]=function(_0x3bdf7e){return _0x3bdf7e['length']<0x18?_0x28498d(_0x3bdf7e):_0x112ac5(_0x3bdf7e);};else{if(!process[_0x160134(0x1fa)]['WS_NO_UTF_8_VALIDATE'])try{const _0x4aebcc=Bt;ie[_0x160134(0x239)]['isValidUTF8']=function(_0x2a9ce2){const _0x330fb3=_0x160134;return _0x2a9ce2[_0x330fb3(0x1e0)]<0x20?_0x28498d(_0x2a9ce2):_0x4aebcc(_0x2a9ce2);};}catch{}}return ie[_0x160134(0x239)];}var Se,Ke;function lt(){const _0x140b4f=_0xc18ba;if(Ke)return Se;Ke=0x1;const {Writable:_0x21e38a}=oe,_0x547ee8=he(),{BINARY_TYPES:_0x54fed9,EMPTY_BUFFER:_0x4c723b,kStatusCode:_0x5a63ed,kWebSocket:_0x32c734}=H(),{concat:_0x45361a,toArrayBuffer:_0x58c7f1,unmask:_0xb37a11}=ce(),{isValidStatusCode:_0x4a5d18,isValidUTF8:_0x2a7cf9}=ae(),_0x199fe8=Buffer[Symbol[_0x140b4f(0x1bb)]],_0x3cf563=0x0,_0x5a1efc=0x1,_0x318990=0x2,_0x365c41=0x3,_0x27a077=0x4,_0x37abd5=0x5,_0x22f241=0x6;class _0x3ec2e9 extends _0x21e38a{constructor(_0x5255f9={}){const _0xd6bf7b=_0x140b4f;super(),this[_0xd6bf7b(0x22b)]=_0x5255f9['allowSynchronousEvents']!==void 0x0?_0x5255f9[_0xd6bf7b(0x19c)]:!0x0,this[_0xd6bf7b(0x2f3)]=_0x5255f9['binaryType']||_0x54fed9[0x0],this[_0xd6bf7b(0x206)]=_0x5255f9[_0xd6bf7b(0x1cc)]||{},this['_isServer']=!!_0x5255f9[_0xd6bf7b(0x2cc)],this[_0xd6bf7b(0x196)]=_0x5255f9['maxPayload']|0x0,this['_skipUTF8Validation']=!!_0x5255f9[_0xd6bf7b(0x21c)],this[_0x32c734]=void 0x0,this['_bufferedBytes']=0x0,this[_0xd6bf7b(0x29e)]=[],this['_compressed']=!0x1,this['_payloadLength']=0x0,this[_0xd6bf7b(0x22f)]=void 0x0,this[_0xd6bf7b(0x21d)]=0x0,this[_0xd6bf7b(0x1e5)]=!0x1,this['_fin']=!0x1,this['_opcode']=0x0,this['_totalPayloadLength']=0x0,this[_0xd6bf7b(0x168)]=0x0,this[_0xd6bf7b(0x1ea)]=[],this[_0xd6bf7b(0x28a)]=!0x1,this[_0xd6bf7b(0x2fe)]=!0x1,this[_0xd6bf7b(0x1fd)]=_0x3cf563;}[_0x140b4f(0x18e)](_0x452e7f,_0x28853d,_0x3b7d76){const _0x2cb2c4=_0x140b4f;if(this['_opcode']===0x8&&this['_state']==_0x3cf563)return _0x3b7d76();this[_0x2cb2c4(0x271)]+=_0x452e7f[_0x2cb2c4(0x1e0)],this[_0x2cb2c4(0x29e)][_0x2cb2c4(0x236)](_0x452e7f),this[_0x2cb2c4(0x1f8)](_0x3b7d76);}['consume'](_0x45f027){const _0x52ccb5=_0x140b4f;if(this[_0x52ccb5(0x271)]-=_0x45f027,_0x45f027===this[_0x52ccb5(0x29e)][0x0][_0x52ccb5(0x1e0)])return this[_0x52ccb5(0x29e)][_0x52ccb5(0x1d8)]();if(_0x45f027<this[_0x52ccb5(0x29e)][0x0][_0x52ccb5(0x1e0)]){const _0xd49453=this[_0x52ccb5(0x29e)][0x0];return this['_buffers'][0x0]=new _0x199fe8(_0xd49453[_0x52ccb5(0x16f)],_0xd49453['byteOffset']+_0x45f027,_0xd49453[_0x52ccb5(0x1e0)]-_0x45f027),new _0x199fe8(_0xd49453[_0x52ccb5(0x16f)],_0xd49453[_0x52ccb5(0x29d)],_0x45f027);}const _0x3d886d=Buffer[_0x52ccb5(0x1b6)](_0x45f027);do{const _0x5d06e3=this[_0x52ccb5(0x29e)][0x0],_0x1c33a1=_0x3d886d['length']-_0x45f027;_0x45f027>=_0x5d06e3[_0x52ccb5(0x1e0)]?_0x3d886d[_0x52ccb5(0x307)](this['_buffers'][_0x52ccb5(0x1d8)](),_0x1c33a1):(_0x3d886d['set'](new Uint8Array(_0x5d06e3[_0x52ccb5(0x16f)],_0x5d06e3['byteOffset'],_0x45f027),_0x1c33a1),this[_0x52ccb5(0x29e)][0x0]=new _0x199fe8(_0x5d06e3[_0x52ccb5(0x16f)],_0x5d06e3[_0x52ccb5(0x29d)]+_0x45f027,_0x5d06e3['length']-_0x45f027)),_0x45f027-=_0x5d06e3[_0x52ccb5(0x1e0)];}while(_0x45f027>0x0);return _0x3d886d;}['startLoop'](_0x351ddb){const _0x5f0b26=_0x140b4f;this['_loop']=!0x0;do switch(this[_0x5f0b26(0x1fd)]){case _0x3cf563:this[_0x5f0b26(0x2e8)](_0x351ddb);break;case _0x5a1efc:this[_0x5f0b26(0x212)](_0x351ddb);break;case _0x318990:this[_0x5f0b26(0x1fc)](_0x351ddb);break;case _0x365c41:this[_0x5f0b26(0x25b)]();break;case _0x27a077:this[_0x5f0b26(0x194)](_0x351ddb);break;case _0x37abd5:case _0x22f241:this[_0x5f0b26(0x2fe)]=!0x1;return;}while(this[_0x5f0b26(0x2fe)]);this['_errored']||_0x351ddb();}['getInfo'](_0x1f24ba){const _0x5ac0a8=_0x140b4f;if(this[_0x5ac0a8(0x271)]<0x2){this[_0x5ac0a8(0x2fe)]=!0x1;return;}const _0x5ba7cd=this[_0x5ac0a8(0x20f)](0x2);if((_0x5ba7cd[0x0]&0x30)!==0x0){const _0x465b8d=this['createError'](RangeError,_0x5ac0a8(0x1fb),!0x0,0x3ea,_0x5ac0a8(0x1bc));_0x1f24ba(_0x465b8d);return;}const _0x4e8ae0=(_0x5ba7cd[0x0]&0x40)===0x40;if(_0x4e8ae0&&!this[_0x5ac0a8(0x206)][_0x547ee8[_0x5ac0a8(0x2ee)]]){const _0x373aec=this[_0x5ac0a8(0x2fa)](RangeError,_0x5ac0a8(0x2d5),!0x0,0x3ea,_0x5ac0a8(0x1c0));_0x1f24ba(_0x373aec);return;}if(this['_fin']=(_0x5ba7cd[0x0]&0x80)===0x80,this[_0x5ac0a8(0x2a7)]=_0x5ba7cd[0x0]&0xf,this['_payloadLength']=_0x5ba7cd[0x1]&0x7f,this[_0x5ac0a8(0x2a7)]===0x0){if(_0x4e8ae0){const _0x361f9c=this[_0x5ac0a8(0x2fa)](RangeError,_0x5ac0a8(0x2d5),!0x0,0x3ea,_0x5ac0a8(0x1c0));_0x1f24ba(_0x361f9c);return;}if(!this[_0x5ac0a8(0x21d)]){const _0x52621b=this[_0x5ac0a8(0x2fa)](RangeError,_0x5ac0a8(0x200),!0x0,0x3ea,_0x5ac0a8(0x1f1));_0x1f24ba(_0x52621b);return;}this[_0x5ac0a8(0x2a7)]=this[_0x5ac0a8(0x21d)];}else{if(this[_0x5ac0a8(0x2a7)]===0x1||this[_0x5ac0a8(0x2a7)]===0x2){if(this['_fragmented']){const _0x1bc3cb=this[_0x5ac0a8(0x2fa)](RangeError,_0x5ac0a8(0x306)+this[_0x5ac0a8(0x2a7)],!0x0,0x3ea,_0x5ac0a8(0x1f1));_0x1f24ba(_0x1bc3cb);return;}this[_0x5ac0a8(0x2cb)]=_0x4e8ae0;}else{if(this['_opcode']>0x7&&this['_opcode']<0xb){if(!this['_fin']){const _0x1febab=this[_0x5ac0a8(0x2fa)](RangeError,_0x5ac0a8(0x20a),!0x0,0x3ea,_0x5ac0a8(0x1b9));_0x1f24ba(_0x1febab);return;}if(_0x4e8ae0){const _0x1cc3ac=this[_0x5ac0a8(0x2fa)](RangeError,_0x5ac0a8(0x2d5),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x1f24ba(_0x1cc3ac);return;}if(this['_payloadLength']>0x7d||this[_0x5ac0a8(0x2a7)]===0x8&&this[_0x5ac0a8(0x2fb)]===0x1){const _0x355ab9=this[_0x5ac0a8(0x2fa)](RangeError,_0x5ac0a8(0x2b6)+this['_payloadLength'],!0x0,0x3ea,_0x5ac0a8(0x2e6));_0x1f24ba(_0x355ab9);return;}}else{const _0x404283=this['createError'](RangeError,'invalid\x20opcode\x20'+this[_0x5ac0a8(0x2a7)],!0x0,0x3ea,_0x5ac0a8(0x1f1));_0x1f24ba(_0x404283);return;}}}if(!this['_fin']&&!this[_0x5ac0a8(0x21d)]&&(this[_0x5ac0a8(0x21d)]=this[_0x5ac0a8(0x2a7)]),this[_0x5ac0a8(0x1e5)]=(_0x5ba7cd[0x1]&0x80)===0x80,this[_0x5ac0a8(0x1c7)]){if(!this[_0x5ac0a8(0x1e5)]){const _0x303172=this['createError'](RangeError,_0x5ac0a8(0x24b),!0x0,0x3ea,_0x5ac0a8(0x193));_0x1f24ba(_0x303172);return;}}else{if(this['_masked']){const _0x1e042d=this[_0x5ac0a8(0x2fa)](RangeError,'MASK\x20must\x20be\x20clear',!0x0,0x3ea,_0x5ac0a8(0x282));_0x1f24ba(_0x1e042d);return;}}this['_payloadLength']===0x7e?this[_0x5ac0a8(0x1fd)]=_0x5a1efc:this['_payloadLength']===0x7f?this[_0x5ac0a8(0x1fd)]=_0x318990:this[_0x5ac0a8(0x2b7)](_0x1f24ba);}[_0x140b4f(0x212)](_0x7b792a){const _0x577131=_0x140b4f;if(this[_0x577131(0x271)]<0x2){this['_loop']=!0x1;return;}this[_0x577131(0x2fb)]=this['consume'](0x2)[_0x577131(0x205)](0x0),this[_0x577131(0x2b7)](_0x7b792a);}[_0x140b4f(0x1fc)](_0x46ceb7){const _0x5bf103=_0x140b4f;if(this['_bufferedBytes']<0x8){this[_0x5bf103(0x2fe)]=!0x1;return;}const _0x1b4801=this[_0x5bf103(0x20f)](0x8),_0x384538=_0x1b4801[_0x5bf103(0x283)](0x0);if(_0x384538>Math['pow'](0x2,0x15)-0x1){const _0x28f54a=this['createError'](RangeError,_0x5bf103(0x214),!0x1,0x3f1,_0x5bf103(0x22c));_0x46ceb7(_0x28f54a);return;}this[_0x5bf103(0x2fb)]=_0x384538*Math[_0x5bf103(0x232)](0x2,0x20)+_0x1b4801[_0x5bf103(0x283)](0x4),this[_0x5bf103(0x2b7)](_0x46ceb7);}['haveLength'](_0x5c1d14){const _0x5661de=_0x140b4f;if(this[_0x5661de(0x2fb)]&&this['_opcode']<0x8&&(this[_0x5661de(0x30d)]+=this[_0x5661de(0x2fb)],this[_0x5661de(0x30d)]>this[_0x5661de(0x196)]&&this[_0x5661de(0x196)]>0x0)){const _0x4c977b=this[_0x5661de(0x2fa)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x5c1d14(_0x4c977b);return;}this[_0x5661de(0x1e5)]?this[_0x5661de(0x1fd)]=_0x365c41:this[_0x5661de(0x1fd)]=_0x27a077;}[_0x140b4f(0x25b)](){const _0x405319=_0x140b4f;if(this[_0x405319(0x271)]<0x4){this[_0x405319(0x2fe)]=!0x1;return;}this[_0x405319(0x22f)]=this[_0x405319(0x20f)](0x4),this[_0x405319(0x1fd)]=_0x27a077;}[_0x140b4f(0x194)](_0x189eaf){const _0x44853d=_0x140b4f;let _0x5d5f64=_0x4c723b;if(this[_0x44853d(0x2fb)]){if(this[_0x44853d(0x271)]<this[_0x44853d(0x2fb)]){this['_loop']=!0x1;return;}_0x5d5f64=this[_0x44853d(0x20f)](this[_0x44853d(0x2fb)]),this['_masked']&&(this[_0x44853d(0x22f)][0x0]|this['_mask'][0x1]|this['_mask'][0x2]|this[_0x44853d(0x22f)][0x3])!==0x0&&_0xb37a11(_0x5d5f64,this['_mask']);}if(this[_0x44853d(0x2a7)]>0x7){this[_0x44853d(0x2eb)](_0x5d5f64,_0x189eaf);return;}if(this[_0x44853d(0x2cb)]){this['_state']=_0x37abd5,this['decompress'](_0x5d5f64,_0x189eaf);return;}_0x5d5f64[_0x44853d(0x1e0)]&&(this[_0x44853d(0x168)]=this[_0x44853d(0x30d)],this[_0x44853d(0x1ea)][_0x44853d(0x236)](_0x5d5f64)),this[_0x44853d(0x2b9)](_0x189eaf);}[_0x140b4f(0x2ec)](_0x5358c6,_0xa1f1bf){const _0x502bf2=_0x140b4f;this[_0x502bf2(0x206)][_0x547ee8['extensionName']][_0x502bf2(0x2ec)](_0x5358c6,this['_fin'],(_0x1a7480,_0x19844c)=>{const _0x1cd3c8=_0x502bf2;if(_0x1a7480)return _0xa1f1bf(_0x1a7480);if(_0x19844c[_0x1cd3c8(0x1e0)]){if(this[_0x1cd3c8(0x168)]+=_0x19844c[_0x1cd3c8(0x1e0)],this['_messageLength']>this['_maxPayload']&&this[_0x1cd3c8(0x196)]>0x0){const _0x3120e6=this['createError'](RangeError,_0x1cd3c8(0x181),!0x1,0x3f1,_0x1cd3c8(0x2dc));_0xa1f1bf(_0x3120e6);return;}this[_0x1cd3c8(0x1ea)][_0x1cd3c8(0x236)](_0x19844c);}this[_0x1cd3c8(0x2b9)](_0xa1f1bf),this[_0x1cd3c8(0x1fd)]===_0x3cf563&&this[_0x1cd3c8(0x1f8)](_0xa1f1bf);});}['dataMessage'](_0x49fe09){const _0x1edd68=_0x140b4f;if(!this[_0x1edd68(0x1b7)]){this[_0x1edd68(0x1fd)]=_0x3cf563;return;}const _0x17ef99=this['_messageLength'],_0x48452c=this['_fragments'];if(this[_0x1edd68(0x30d)]=0x0,this[_0x1edd68(0x168)]=0x0,this[_0x1edd68(0x21d)]=0x0,this[_0x1edd68(0x1ea)]=[],this[_0x1edd68(0x2a7)]===0x2){let _0xeeb59d;this[_0x1edd68(0x2f3)]===_0x1edd68(0x2f9)?_0xeeb59d=_0x45361a(_0x48452c,_0x17ef99):this[_0x1edd68(0x2f3)]==='arraybuffer'?_0xeeb59d=_0x58c7f1(_0x45361a(_0x48452c,_0x17ef99)):this[_0x1edd68(0x2f3)]==='blob'?_0xeeb59d=new Blob(_0x48452c):_0xeeb59d=_0x48452c,this[_0x1edd68(0x22b)]?(this['emit']('message',_0xeeb59d,!0x0),this[_0x1edd68(0x1fd)]=_0x3cf563):(this['_state']=_0x22f241,setImmediate(()=>{const _0x402769=_0x1edd68;this[_0x402769(0x1c2)]('message',_0xeeb59d,!0x0),this[_0x402769(0x1fd)]=_0x3cf563,this['startLoop'](_0x49fe09);}));}else{const _0x1b3f8d=_0x45361a(_0x48452c,_0x17ef99);if(!this[_0x1edd68(0x20d)]&&!_0x2a7cf9(_0x1b3f8d)){const _0x1ae377=this[_0x1edd68(0x2fa)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x1edd68(0x2b3));_0x49fe09(_0x1ae377);return;}this[_0x1edd68(0x1fd)]===_0x37abd5||this[_0x1edd68(0x22b)]?(this['emit'](_0x1edd68(0x237),_0x1b3f8d,!0x1),this['_state']=_0x3cf563):(this[_0x1edd68(0x1fd)]=_0x22f241,setImmediate(()=>{const _0x127b9b=_0x1edd68;this[_0x127b9b(0x1c2)](_0x127b9b(0x237),_0x1b3f8d,!0x1),this[_0x127b9b(0x1fd)]=_0x3cf563,this[_0x127b9b(0x1f8)](_0x49fe09);}));}}[_0x140b4f(0x2eb)](_0x5cf969,_0x51d194){const _0xe45c99=_0x140b4f;if(this[_0xe45c99(0x2a7)]===0x8){if(_0x5cf969[_0xe45c99(0x1e0)]===0x0)this[_0xe45c99(0x2fe)]=!0x1,this[_0xe45c99(0x1c2)]('conclude',0x3ed,_0x4c723b),this[_0xe45c99(0x209)]();else{const _0x25562c=_0x5cf969[_0xe45c99(0x205)](0x0);if(!_0x4a5d18(_0x25562c)){const _0x18962a=this[_0xe45c99(0x2fa)](RangeError,_0xe45c99(0x29c)+_0x25562c,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0x51d194(_0x18962a);return;}const _0x2fd077=new _0x199fe8(_0x5cf969['buffer'],_0x5cf969['byteOffset']+0x2,_0x5cf969[_0xe45c99(0x1e0)]-0x2);if(!this[_0xe45c99(0x20d)]&&!_0x2a7cf9(_0x2fd077)){const _0x1b2364=this[_0xe45c99(0x2fa)](Error,_0xe45c99(0x2bd),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x51d194(_0x1b2364);return;}this[_0xe45c99(0x2fe)]=!0x1,this[_0xe45c99(0x1c2)](_0xe45c99(0x2cf),_0x25562c,_0x2fd077),this[_0xe45c99(0x209)]();}this['_state']=_0x3cf563;return;}this[_0xe45c99(0x22b)]?(this['emit'](this['_opcode']===0x9?'ping':_0xe45c99(0x2ff),_0x5cf969),this[_0xe45c99(0x1fd)]=_0x3cf563):(this[_0xe45c99(0x1fd)]=_0x22f241,setImmediate(()=>{const _0x5ae786=_0xe45c99;this['emit'](this[_0x5ae786(0x2a7)]===0x9?_0x5ae786(0x2be):_0x5ae786(0x2ff),_0x5cf969),this['_state']=_0x3cf563,this[_0x5ae786(0x1f8)](_0x51d194);}));}['createError'](_0x246e8f,_0x558544,_0x40d818,_0x3019d6,_0xcbba3){const _0x2f0ca4=_0x140b4f;this[_0x2f0ca4(0x2fe)]=!0x1,this[_0x2f0ca4(0x28a)]=!0x0;const _0x5bba32=new _0x246e8f(_0x40d818?_0x2f0ca4(0x245)+_0x558544:_0x558544);return Error[_0x2f0ca4(0x1dc)](_0x5bba32,this[_0x2f0ca4(0x2fa)]),_0x5bba32[_0x2f0ca4(0x305)]=_0xcbba3,_0x5bba32[_0x5a63ed]=_0x3019d6,_0x5bba32;}}return Se=_0x3ec2e9,Se;}var Ee,Xe;function ft(){const _0x383784=_0xc18ba;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x5575f9}=oe,{randomFillSync:_0x328ba4}=Le,_0x2eb2fd=he(),{EMPTY_BUFFER:_0x3a3689,kWebSocket:_0x3263f3,NOOP:_0x2ce3a6}=H(),{isBlob:_0x49baca,isValidStatusCode:_0x35de1e}=ae(),{mask:_0x3cb220,toBuffer:_0x5405bf}=ce(),_0x152f4b=Symbol(_0x383784(0x1a0)),_0x5b75ad=Buffer[_0x383784(0x173)](0x4),_0x2a6906=0x8*0x400;let _0x2ebc58,_0x46a402=_0x2a6906;const _0x42b7cd=0x0,_0x17b6ef=0x1,_0x4b7595=0x2;class _0x11f03b{constructor(_0x2c8760,_0x670b07,_0x44ad1a){const _0x3a45fa=_0x383784;this['_extensions']=_0x670b07||{},_0x44ad1a&&(this['_generateMask']=_0x44ad1a,this['_maskBuffer']=Buffer['alloc'](0x4)),this['_socket']=_0x2c8760,this[_0x3a45fa(0x2ed)]=!0x0,this[_0x3a45fa(0x310)]=!0x1,this[_0x3a45fa(0x271)]=0x0,this['_queue']=[],this['_state']=_0x42b7cd,this[_0x3a45fa(0x2d9)]=_0x2ce3a6,this[_0x3263f3]=void 0x0;}static[_0x383784(0x17a)](_0x34d31d,_0x459200){const _0x458cc2=_0x383784;let _0x46d8e4,_0x5826a4=!0x1,_0x2591a4=0x2,_0x8177f1=!0x1;_0x459200[_0x458cc2(0x27e)]&&(_0x46d8e4=_0x459200[_0x458cc2(0x213)]||_0x5b75ad,_0x459200[_0x458cc2(0x1ff)]?_0x459200[_0x458cc2(0x1ff)](_0x46d8e4):(_0x46a402===_0x2a6906&&(_0x2ebc58===void 0x0&&(_0x2ebc58=Buffer[_0x458cc2(0x173)](_0x2a6906)),_0x328ba4(_0x2ebc58,0x0,_0x2a6906),_0x46a402=0x0),_0x46d8e4[0x0]=_0x2ebc58[_0x46a402++],_0x46d8e4[0x1]=_0x2ebc58[_0x46a402++],_0x46d8e4[0x2]=_0x2ebc58[_0x46a402++],_0x46d8e4[0x3]=_0x2ebc58[_0x46a402++]),_0x8177f1=(_0x46d8e4[0x0]|_0x46d8e4[0x1]|_0x46d8e4[0x2]|_0x46d8e4[0x3])===0x0,_0x2591a4=0x6);let _0x3b0197;typeof _0x34d31d==_0x458cc2(0x208)?(!_0x459200[_0x458cc2(0x27e)]||_0x8177f1)&&_0x459200[_0x152f4b]!==void 0x0?_0x3b0197=_0x459200[_0x152f4b]:(_0x34d31d=Buffer['from'](_0x34d31d),_0x3b0197=_0x34d31d[_0x458cc2(0x1e0)]):(_0x3b0197=_0x34d31d['length'],_0x5826a4=_0x459200[_0x458cc2(0x27e)]&&_0x459200[_0x458cc2(0x299)]&&!_0x8177f1);let _0xbf2489=_0x3b0197;_0x3b0197>=0x10000?(_0x2591a4+=0x8,_0xbf2489=0x7f):_0x3b0197>0x7d&&(_0x2591a4+=0x2,_0xbf2489=0x7e);const _0x3ed886=Buffer[_0x458cc2(0x1b6)](_0x5826a4?_0x3b0197+_0x2591a4:_0x2591a4);return _0x3ed886[0x0]=_0x459200[_0x458cc2(0x186)]?_0x459200['opcode']|0x80:_0x459200['opcode'],_0x459200[_0x458cc2(0x1e9)]&&(_0x3ed886[0x0]|=0x40),_0x3ed886[0x1]=_0xbf2489,_0xbf2489===0x7e?_0x3ed886[_0x458cc2(0x177)](_0x3b0197,0x2):_0xbf2489===0x7f&&(_0x3ed886[0x2]=_0x3ed886[0x3]=0x0,_0x3ed886['writeUIntBE'](_0x3b0197,0x4,0x6)),_0x459200[_0x458cc2(0x27e)]?(_0x3ed886[0x1]|=0x80,_0x3ed886[_0x2591a4-0x4]=_0x46d8e4[0x0],_0x3ed886[_0x2591a4-0x3]=_0x46d8e4[0x1],_0x3ed886[_0x2591a4-0x2]=_0x46d8e4[0x2],_0x3ed886[_0x2591a4-0x1]=_0x46d8e4[0x3],_0x8177f1?[_0x3ed886,_0x34d31d]:_0x5826a4?(_0x3cb220(_0x34d31d,_0x46d8e4,_0x3ed886,_0x2591a4,_0x3b0197),[_0x3ed886]):(_0x3cb220(_0x34d31d,_0x46d8e4,_0x34d31d,0x0,_0x3b0197),[_0x3ed886,_0x34d31d])):[_0x3ed886,_0x34d31d];}[_0x383784(0x1e2)](_0xa685d9,_0x49b1f6,_0xd1ec18,_0x4d093e){const _0x89b38=_0x383784;let _0x5c13f9;if(_0xa685d9===void 0x0)_0x5c13f9=_0x3a3689;else{if(typeof _0xa685d9!='number'||!_0x35de1e(_0xa685d9))throw new TypeError('First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number');if(_0x49b1f6===void 0x0||!_0x49b1f6['length'])_0x5c13f9=Buffer[_0x89b38(0x1b6)](0x2),_0x5c13f9[_0x89b38(0x177)](_0xa685d9,0x0);else{const _0x50139b=Buffer['byteLength'](_0x49b1f6);if(_0x50139b>0x7b)throw new RangeError(_0x89b38(0x1cb));_0x5c13f9=Buffer['allocUnsafe'](0x2+_0x50139b),_0x5c13f9[_0x89b38(0x177)](_0xa685d9,0x0),typeof _0x49b1f6==_0x89b38(0x208)?_0x5c13f9[_0x89b38(0x169)](_0x49b1f6,0x2):_0x5c13f9['set'](_0x49b1f6,0x2);}}const _0x2c1220={[_0x152f4b]:_0x5c13f9[_0x89b38(0x1e0)],'fin':!0x0,'generateMask':this[_0x89b38(0x162)],'mask':_0xd1ec18,'maskBuffer':this[_0x89b38(0x1d5)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x89b38(0x1fd)]!==_0x42b7cd?this[_0x89b38(0x302)]([this['dispatch'],_0x5c13f9,!0x1,_0x2c1220,_0x4d093e]):this[_0x89b38(0x2a3)](_0x11f03b[_0x89b38(0x17a)](_0x5c13f9,_0x2c1220),_0x4d093e);}[_0x383784(0x2be)](_0x333fb8,_0x4bfcbe,_0x1f22a1){const _0x25e7e7=_0x383784;let _0x59f43b,_0x3e0af9;if(typeof _0x333fb8==_0x25e7e7(0x208)?(_0x59f43b=Buffer['byteLength'](_0x333fb8),_0x3e0af9=!0x1):_0x49baca(_0x333fb8)?(_0x59f43b=_0x333fb8[_0x25e7e7(0x176)],_0x3e0af9=!0x1):(_0x333fb8=_0x5405bf(_0x333fb8),_0x59f43b=_0x333fb8['length'],_0x3e0af9=_0x5405bf[_0x25e7e7(0x299)]),_0x59f43b>0x7d)throw new RangeError(_0x25e7e7(0x27c));const _0x102447={[_0x152f4b]:_0x59f43b,'fin':!0x0,'generateMask':this[_0x25e7e7(0x162)],'mask':_0x4bfcbe,'maskBuffer':this[_0x25e7e7(0x1d5)],'opcode':0x9,'readOnly':_0x3e0af9,'rsv1':!0x1};_0x49baca(_0x333fb8)?this['_state']!==_0x42b7cd?this[_0x25e7e7(0x302)]([this[_0x25e7e7(0x318)],_0x333fb8,!0x1,_0x102447,_0x1f22a1]):this['getBlobData'](_0x333fb8,!0x1,_0x102447,_0x1f22a1):this[_0x25e7e7(0x1fd)]!==_0x42b7cd?this['enqueue']([this['dispatch'],_0x333fb8,!0x1,_0x102447,_0x1f22a1]):this[_0x25e7e7(0x2a3)](_0x11f03b[_0x25e7e7(0x17a)](_0x333fb8,_0x102447),_0x1f22a1);}['pong'](_0x2d5a1f,_0x2f5706,_0x4a21f3){const _0x7cb863=_0x383784;let _0x5a99a9,_0x3ba243;if(typeof _0x2d5a1f==_0x7cb863(0x208)?(_0x5a99a9=Buffer['byteLength'](_0x2d5a1f),_0x3ba243=!0x1):_0x49baca(_0x2d5a1f)?(_0x5a99a9=_0x2d5a1f[_0x7cb863(0x176)],_0x3ba243=!0x1):(_0x2d5a1f=_0x5405bf(_0x2d5a1f),_0x5a99a9=_0x2d5a1f[_0x7cb863(0x1e0)],_0x3ba243=_0x5405bf['readOnly']),_0x5a99a9>0x7d)throw new RangeError(_0x7cb863(0x27c));const _0x4f1112={[_0x152f4b]:_0x5a99a9,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x2f5706,'maskBuffer':this[_0x7cb863(0x1d5)],'opcode':0xa,'readOnly':_0x3ba243,'rsv1':!0x1};_0x49baca(_0x2d5a1f)?this[_0x7cb863(0x1fd)]!==_0x42b7cd?this['enqueue']([this[_0x7cb863(0x318)],_0x2d5a1f,!0x1,_0x4f1112,_0x4a21f3]):this[_0x7cb863(0x318)](_0x2d5a1f,!0x1,_0x4f1112,_0x4a21f3):this[_0x7cb863(0x1fd)]!==_0x42b7cd?this[_0x7cb863(0x302)]([this[_0x7cb863(0x2dd)],_0x2d5a1f,!0x1,_0x4f1112,_0x4a21f3]):this['sendFrame'](_0x11f03b[_0x7cb863(0x17a)](_0x2d5a1f,_0x4f1112),_0x4a21f3);}[_0x383784(0x182)](_0x31c17f,_0x3389f6,_0x303e32){const _0x3500dc=_0x383784,_0x243b1a=this[_0x3500dc(0x206)][_0x2eb2fd[_0x3500dc(0x2ee)]];let _0x430fa7=_0x3389f6[_0x3500dc(0x2e9)]?0x2:0x1,_0x1aa7dd=_0x3389f6[_0x3500dc(0x289)],_0x389626,_0x22e4dc;typeof _0x31c17f==_0x3500dc(0x208)?(_0x389626=Buffer[_0x3500dc(0x270)](_0x31c17f),_0x22e4dc=!0x1):_0x49baca(_0x31c17f)?(_0x389626=_0x31c17f['size'],_0x22e4dc=!0x1):(_0x31c17f=_0x5405bf(_0x31c17f),_0x389626=_0x31c17f[_0x3500dc(0x1e0)],_0x22e4dc=_0x5405bf[_0x3500dc(0x299)]),this[_0x3500dc(0x2ed)]?(this[_0x3500dc(0x2ed)]=!0x1,_0x1aa7dd&&_0x243b1a&&_0x243b1a[_0x3500dc(0x17b)][_0x243b1a[_0x3500dc(0x1c7)]?'server_no_context_takeover':'client_no_context_takeover']&&(_0x1aa7dd=_0x389626>=_0x243b1a['_threshold']),this['_compress']=_0x1aa7dd):(_0x1aa7dd=!0x1,_0x430fa7=0x0),_0x3389f6[_0x3500dc(0x186)]&&(this[_0x3500dc(0x2ed)]=!0x0);const _0x1ff1dc={[_0x152f4b]:_0x389626,'fin':_0x3389f6[_0x3500dc(0x186)],'generateMask':this[_0x3500dc(0x162)],'mask':_0x3389f6[_0x3500dc(0x27e)],'maskBuffer':this[_0x3500dc(0x1d5)],'opcode':_0x430fa7,'readOnly':_0x22e4dc,'rsv1':_0x1aa7dd};_0x49baca(_0x31c17f)?this[_0x3500dc(0x1fd)]!==_0x42b7cd?this[_0x3500dc(0x302)]([this[_0x3500dc(0x318)],_0x31c17f,this[_0x3500dc(0x310)],_0x1ff1dc,_0x303e32]):this[_0x3500dc(0x318)](_0x31c17f,this[_0x3500dc(0x310)],_0x1ff1dc,_0x303e32):this['_state']!==_0x42b7cd?this['enqueue']([this[_0x3500dc(0x2dd)],_0x31c17f,this[_0x3500dc(0x310)],_0x1ff1dc,_0x303e32]):this['dispatch'](_0x31c17f,this['_compress'],_0x1ff1dc,_0x303e32);}[_0x383784(0x318)](_0x57aadb,_0x2ad62c,_0x170576,_0x1a6935){const _0x3da6c6=_0x383784;this[_0x3da6c6(0x271)]+=_0x170576[_0x152f4b],this[_0x3da6c6(0x1fd)]=_0x4b7595,_0x57aadb[_0x3da6c6(0x230)]()['then'](_0x3449bd=>{const _0xb6f66f=_0x3da6c6;if(this[_0xb6f66f(0x23c)]['destroyed']){const _0x35048c=new Error(_0xb6f66f(0x2f1));process[_0xb6f66f(0x187)](_0x1b0c76,this,_0x35048c,_0x1a6935);return;}this[_0xb6f66f(0x271)]-=_0x170576[_0x152f4b];const _0x3dbf41=_0x5405bf(_0x3449bd);_0x2ad62c?this[_0xb6f66f(0x2dd)](_0x3dbf41,_0x2ad62c,_0x170576,_0x1a6935):(this[_0xb6f66f(0x1fd)]=_0x42b7cd,this['sendFrame'](_0x11f03b[_0xb6f66f(0x17a)](_0x3dbf41,_0x170576),_0x1a6935),this['dequeue']());})[_0x3da6c6(0x308)](_0x3ef7b0=>{const _0x47769e=_0x3da6c6;process[_0x47769e(0x187)](_0x3e08b5,this,_0x3ef7b0,_0x1a6935);});}[_0x383784(0x2dd)](_0x5e915e,_0x39a240,_0xe8896,_0x143aba){const _0x3a1310=_0x383784;if(!_0x39a240){this['sendFrame'](_0x11f03b[_0x3a1310(0x17a)](_0x5e915e,_0xe8896),_0x143aba);return;}const _0x48ef12=this[_0x3a1310(0x206)][_0x2eb2fd[_0x3a1310(0x2ee)]];this[_0x3a1310(0x271)]+=_0xe8896[_0x152f4b],this[_0x3a1310(0x1fd)]=_0x17b6ef,_0x48ef12[_0x3a1310(0x289)](_0x5e915e,_0xe8896[_0x3a1310(0x186)],(_0x729a1d,_0x2263a1)=>{const _0x365008=_0x3a1310;if(this[_0x365008(0x23c)][_0x365008(0x1e1)]){const _0x2436c2=new Error(_0x365008(0x1b4));_0x1b0c76(this,_0x2436c2,_0x143aba);return;}this[_0x365008(0x271)]-=_0xe8896[_0x152f4b],this[_0x365008(0x1fd)]=_0x42b7cd,_0xe8896[_0x365008(0x299)]=!0x1,this[_0x365008(0x2a3)](_0x11f03b[_0x365008(0x17a)](_0x2263a1,_0xe8896),_0x143aba),this[_0x365008(0x190)]();});}[_0x383784(0x190)](){const _0x1a5347=_0x383784;for(;this['_state']===_0x42b7cd&&this[_0x1a5347(0x175)][_0x1a5347(0x1e0)];){const _0x40a752=this['_queue'][_0x1a5347(0x1d8)]();this[_0x1a5347(0x271)]-=_0x40a752[0x3][_0x152f4b],Reflect[_0x1a5347(0x1ee)](_0x40a752[0x0],this,_0x40a752[_0x1a5347(0x1f4)](0x1));}}[_0x383784(0x302)](_0x2e8f35){const _0x30845e=_0x383784;this[_0x30845e(0x271)]+=_0x2e8f35[0x3][_0x152f4b],this[_0x30845e(0x175)][_0x30845e(0x236)](_0x2e8f35);}[_0x383784(0x2a3)](_0x1214d9,_0x93d606){const _0x172431=_0x383784;_0x1214d9[_0x172431(0x1e0)]===0x2?(this[_0x172431(0x23c)]['cork'](),this['_socket'][_0x172431(0x169)](_0x1214d9[0x0]),this[_0x172431(0x23c)][_0x172431(0x169)](_0x1214d9[0x1],_0x93d606),this[_0x172431(0x23c)][_0x172431(0x2fd)]()):this[_0x172431(0x23c)][_0x172431(0x169)](_0x1214d9[0x0],_0x93d606);}}Ee=_0x11f03b;function _0x1b0c76(_0x12a6ab,_0x440821,_0x52fea1){const _0x1d8e4b=_0x383784;typeof _0x52fea1=='function'&&_0x52fea1(_0x440821);for(let _0x31bb50=0x0;_0x31bb50<_0x12a6ab[_0x1d8e4b(0x175)][_0x1d8e4b(0x1e0)];_0x31bb50++){const _0x3aa7b6=_0x12a6ab[_0x1d8e4b(0x175)][_0x31bb50],_0x17be6c=_0x3aa7b6[_0x3aa7b6[_0x1d8e4b(0x1e0)]-0x1];typeof _0x17be6c==_0x1d8e4b(0x1a3)&&_0x17be6c(_0x440821);}}function _0x3e08b5(_0x21599c,_0x17823f,_0x1f1f1d){const _0x5efee1=_0x383784;_0x1b0c76(_0x21599c,_0x17823f,_0x1f1f1d),_0x21599c[_0x5efee1(0x2d9)](_0x17823f);}return Ee;}var xe,Ze;function It(){const _0x2cdd06=_0xc18ba;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x381a30,kListener:_0x45144e}=H(),_0x52890d=Symbol(_0x2cdd06(0x261)),_0x770f41=Symbol(_0x2cdd06(0x228)),_0x2a421a=Symbol(_0x2cdd06(0x280)),_0x17d04a=Symbol(_0x2cdd06(0x25d)),_0x548f8d=Symbol(_0x2cdd06(0x174)),_0x5166ea=Symbol(_0x2cdd06(0x2b5)),_0x2f5a2d=Symbol('kType'),_0x1beabb=Symbol(_0x2cdd06(0x1f9));class _0x3a173b{constructor(_0x12e38d){this[_0x5166ea]=null,this[_0x2f5a2d]=_0x12e38d;}get[_0x2cdd06(0x23f)](){return this[_0x5166ea];}get[_0x2cdd06(0x1db)](){return this[_0x2f5a2d];}}Object[_0x2cdd06(0x2db)](_0x3a173b['prototype'],_0x2cdd06(0x23f),{'enumerable':!0x0}),Object['defineProperty'](_0x3a173b[_0x2cdd06(0x221)],_0x2cdd06(0x1db),{'enumerable':!0x0});class _0x17c9eb extends _0x3a173b{constructor(_0x250ac4,_0x418b0a={}){const _0x1a9400=_0x2cdd06;super(_0x250ac4),this[_0x52890d]=_0x418b0a['code']===void 0x0?0x0:_0x418b0a[_0x1a9400(0x305)],this[_0x548f8d]=_0x418b0a[_0x1a9400(0x31f)]===void 0x0?'':_0x418b0a[_0x1a9400(0x31f)],this[_0x1beabb]=_0x418b0a[_0x1a9400(0x2fc)]===void 0x0?!0x1:_0x418b0a[_0x1a9400(0x2fc)];}get['code'](){return this[_0x52890d];}get[_0x2cdd06(0x31f)](){return this[_0x548f8d];}get[_0x2cdd06(0x2fc)](){return this[_0x1beabb];}}Object[_0x2cdd06(0x2db)](_0x17c9eb['prototype'],_0x2cdd06(0x305),{'enumerable':!0x0}),Object[_0x2cdd06(0x2db)](_0x17c9eb[_0x2cdd06(0x221)],_0x2cdd06(0x31f),{'enumerable':!0x0}),Object[_0x2cdd06(0x2db)](_0x17c9eb[_0x2cdd06(0x221)],'wasClean',{'enumerable':!0x0});class _0x13cea2 extends _0x3a173b{constructor(_0x1a7a35,_0x3ddb07={}){const _0x340cd7=_0x2cdd06;super(_0x1a7a35),this[_0x2a421a]=_0x3ddb07[_0x340cd7(0x1a1)]===void 0x0?null:_0x3ddb07[_0x340cd7(0x1a1)],this[_0x17d04a]=_0x3ddb07[_0x340cd7(0x237)]===void 0x0?'':_0x3ddb07['message'];}get['error'](){return this[_0x2a421a];}get[_0x2cdd06(0x237)](){return this[_0x17d04a];}}Object['defineProperty'](_0x13cea2[_0x2cdd06(0x221)],'error',{'enumerable':!0x0}),Object[_0x2cdd06(0x2db)](_0x13cea2['prototype'],_0x2cdd06(0x237),{'enumerable':!0x0});class _0x21b0b4 extends _0x3a173b{constructor(_0x417311,_0x1506c6={}){const _0x166808=_0x2cdd06;super(_0x417311),this[_0x770f41]=_0x1506c6[_0x166808(0x1c4)]===void 0x0?null:_0x1506c6[_0x166808(0x1c4)];}get['data'](){return this[_0x770f41];}}Object[_0x2cdd06(0x2db)](_0x21b0b4['prototype'],_0x2cdd06(0x1c4),{'enumerable':!0x0}),xe={'CloseEvent':_0x17c9eb,'ErrorEvent':_0x13cea2,'Event':_0x3a173b,'EventTarget':{'addEventListener'(_0x5e4d32,_0x5853df,_0x47270b={}){const _0x42d060=_0x2cdd06;for(const _0x31a9e3 of this[_0x42d060(0x218)](_0x5e4d32))if(!_0x47270b[_0x381a30]&&_0x31a9e3[_0x45144e]===_0x5853df&&!_0x31a9e3[_0x381a30])return;let _0x2c1e0d;if(_0x5e4d32===_0x42d060(0x237))_0x2c1e0d=function(_0x43e4c9,_0x5ba74f){const _0xec0123=_0x42d060,_0x3deb89=new _0x21b0b4('message',{'data':_0x5ba74f?_0x43e4c9:_0x43e4c9[_0xec0123(0x26d)]()});_0x3deb89[_0x5166ea]=this,_0x588d99(_0x5853df,this,_0x3deb89);};else{if(_0x5e4d32===_0x42d060(0x1e2))_0x2c1e0d=function(_0x4d495a,_0xe2b732){const _0x5b3986=_0x42d060,_0xc1a61c=new _0x17c9eb(_0x5b3986(0x1e2),{'code':_0x4d495a,'reason':_0xe2b732[_0x5b3986(0x26d)](),'wasClean':this['_closeFrameReceived']&&this[_0x5b3986(0x171)]});_0xc1a61c[_0x5166ea]=this,_0x588d99(_0x5853df,this,_0xc1a61c);};else{if(_0x5e4d32===_0x42d060(0x1a1))_0x2c1e0d=function(_0x1d8c00){const _0x33f90a=_0x42d060,_0x5bd563=new _0x13cea2(_0x33f90a(0x1a1),{'error':_0x1d8c00,'message':_0x1d8c00[_0x33f90a(0x237)]});_0x5bd563[_0x5166ea]=this,_0x588d99(_0x5853df,this,_0x5bd563);};else{if(_0x5e4d32===_0x42d060(0x2f7))_0x2c1e0d=function(){const _0x1b300f=new _0x3a173b('open');_0x1b300f[_0x5166ea]=this,_0x588d99(_0x5853df,this,_0x1b300f);};else return;}}}_0x2c1e0d[_0x381a30]=!!_0x47270b[_0x381a30],_0x2c1e0d[_0x45144e]=_0x5853df,_0x47270b[_0x42d060(0x18a)]?this[_0x42d060(0x18a)](_0x5e4d32,_0x2c1e0d):this['on'](_0x5e4d32,_0x2c1e0d);},'removeEventListener'(_0x24f680,_0x5ec1b3){const _0x4469c9=_0x2cdd06;for(const _0x3a9d94 of this['listeners'](_0x24f680))if(_0x3a9d94[_0x45144e]===_0x5ec1b3&&!_0x3a9d94[_0x381a30]){this[_0x4469c9(0x321)](_0x24f680,_0x3a9d94);break;}}},'MessageEvent':_0x21b0b4};function _0x588d99(_0x94b569,_0x5cbc5a,_0x408cbd){const _0x1325dc=_0x2cdd06;typeof _0x94b569==_0x1325dc(0x229)&&_0x94b569['handleEvent']?_0x94b569[_0x1325dc(0x202)]['call'](_0x94b569,_0x408cbd):_0x94b569[_0x1325dc(0x19e)](_0x5cbc5a,_0x408cbd);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x206eae}=ae();function _0x3e55b4(_0x5307ff,_0x1772c4,_0x39789a){const _0x38fc75=_0x58f7;_0x5307ff[_0x1772c4]===void 0x0?_0x5307ff[_0x1772c4]=[_0x39789a]:_0x5307ff[_0x1772c4][_0x38fc75(0x236)](_0x39789a);}function _0x160cc4(_0x5a47df){const _0x237b60=_0x58f7,_0x7b62ea=Object[_0x237b60(0x198)](null);let _0xc80609=Object['create'](null),_0x511c13=!0x1,_0x505bbe=!0x1,_0x22f937=!0x1,_0xe5242a,_0x2e90d8,_0x2eafec=-0x1,_0x141a74=-0x1,_0x658cee=-0x1,_0x5357a4=0x0;for(;_0x5357a4<_0x5a47df[_0x237b60(0x1e0)];_0x5357a4++)if(_0x141a74=_0x5a47df[_0x237b60(0x1a7)](_0x5357a4),_0xe5242a===void 0x0){if(_0x658cee===-0x1&&_0x206eae[_0x141a74]===0x1)_0x2eafec===-0x1&&(_0x2eafec=_0x5357a4);else{if(_0x5357a4!==0x0&&(_0x141a74===0x20||_0x141a74===0x9))_0x658cee===-0x1&&_0x2eafec!==-0x1&&(_0x658cee=_0x5357a4);else{if(_0x141a74===0x3b||_0x141a74===0x2c){if(_0x2eafec===-0x1)throw new SyntaxError(_0x237b60(0x1e4)+_0x5357a4);_0x658cee===-0x1&&(_0x658cee=_0x5357a4);const _0x58c4e4=_0x5a47df[_0x237b60(0x1f4)](_0x2eafec,_0x658cee);_0x141a74===0x2c?(_0x3e55b4(_0x7b62ea,_0x58c4e4,_0xc80609),_0xc80609=Object[_0x237b60(0x198)](null)):_0xe5242a=_0x58c4e4,_0x2eafec=_0x658cee=-0x1;}else throw new SyntaxError(_0x237b60(0x1e4)+_0x5357a4);}}}else{if(_0x2e90d8===void 0x0){if(_0x658cee===-0x1&&_0x206eae[_0x141a74]===0x1)_0x2eafec===-0x1&&(_0x2eafec=_0x5357a4);else{if(_0x141a74===0x20||_0x141a74===0x9)_0x658cee===-0x1&&_0x2eafec!==-0x1&&(_0x658cee=_0x5357a4);else{if(_0x141a74===0x3b||_0x141a74===0x2c){if(_0x2eafec===-0x1)throw new SyntaxError(_0x237b60(0x1e4)+_0x5357a4);_0x658cee===-0x1&&(_0x658cee=_0x5357a4),_0x3e55b4(_0xc80609,_0x5a47df['slice'](_0x2eafec,_0x658cee),!0x0),_0x141a74===0x2c&&(_0x3e55b4(_0x7b62ea,_0xe5242a,_0xc80609),_0xc80609=Object[_0x237b60(0x198)](null),_0xe5242a=void 0x0),_0x2eafec=_0x658cee=-0x1;}else{if(_0x141a74===0x3d&&_0x2eafec!==-0x1&&_0x658cee===-0x1)_0x2e90d8=_0x5a47df[_0x237b60(0x1f4)](_0x2eafec,_0x5357a4),_0x2eafec=_0x658cee=-0x1;else throw new SyntaxError(_0x237b60(0x1e4)+_0x5357a4);}}}}else{if(_0x505bbe){if(_0x206eae[_0x141a74]!==0x1)throw new SyntaxError(_0x237b60(0x1e4)+_0x5357a4);_0x2eafec===-0x1?_0x2eafec=_0x5357a4:_0x511c13||(_0x511c13=!0x0),_0x505bbe=!0x1;}else{if(_0x22f937){if(_0x206eae[_0x141a74]===0x1)_0x2eafec===-0x1&&(_0x2eafec=_0x5357a4);else{if(_0x141a74===0x22&&_0x2eafec!==-0x1)_0x22f937=!0x1,_0x658cee=_0x5357a4;else{if(_0x141a74===0x5c)_0x505bbe=!0x0;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x5357a4);}}}else{if(_0x141a74===0x22&&_0x5a47df[_0x237b60(0x1a7)](_0x5357a4-0x1)===0x3d)_0x22f937=!0x0;else{if(_0x658cee===-0x1&&_0x206eae[_0x141a74]===0x1)_0x2eafec===-0x1&&(_0x2eafec=_0x5357a4);else{if(_0x2eafec!==-0x1&&(_0x141a74===0x20||_0x141a74===0x9))_0x658cee===-0x1&&(_0x658cee=_0x5357a4);else{if(_0x141a74===0x3b||_0x141a74===0x2c){if(_0x2eafec===-0x1)throw new SyntaxError(_0x237b60(0x1e4)+_0x5357a4);_0x658cee===-0x1&&(_0x658cee=_0x5357a4);let _0x4f7e9b=_0x5a47df[_0x237b60(0x1f4)](_0x2eafec,_0x658cee);_0x511c13&&(_0x4f7e9b=_0x4f7e9b['replace'](/\\/g,''),_0x511c13=!0x1),_0x3e55b4(_0xc80609,_0x2e90d8,_0x4f7e9b),_0x141a74===0x2c&&(_0x3e55b4(_0x7b62ea,_0xe5242a,_0xc80609),_0xc80609=Object['create'](null),_0xe5242a=void 0x0),_0x2e90d8=void 0x0,_0x2eafec=_0x658cee=-0x1;}else throw new SyntaxError(_0x237b60(0x1e4)+_0x5357a4);}}}}}}}if(_0x2eafec===-0x1||_0x22f937||_0x141a74===0x20||_0x141a74===0x9)throw new SyntaxError('Unexpected\x20end\x20of\x20input');_0x658cee===-0x1&&(_0x658cee=_0x5357a4);const _0x38a237=_0x5a47df['slice'](_0x2eafec,_0x658cee);return _0xe5242a===void 0x0?_0x3e55b4(_0x7b62ea,_0x38a237,_0xc80609):(_0x2e90d8===void 0x0?_0x3e55b4(_0xc80609,_0x38a237,!0x0):_0x511c13?_0x3e55b4(_0xc80609,_0x2e90d8,_0x38a237[_0x237b60(0x2e2)](/\\/g,'')):_0x3e55b4(_0xc80609,_0x2e90d8,_0x38a237),_0x3e55b4(_0x7b62ea,_0xe5242a,_0xc80609)),_0x7b62ea;}function _0x5f52a7(_0x3e8d19){const _0x48ab9c=_0x58f7;return Object[_0x48ab9c(0x294)](_0x3e8d19)['map'](_0x5117e3=>{const _0x595ff9=_0x48ab9c;let _0x37e24a=_0x3e8d19[_0x5117e3];return Array[_0x595ff9(0x2a4)](_0x37e24a)||(_0x37e24a=[_0x37e24a]),_0x37e24a[_0x595ff9(0x29a)](_0x373a93=>[_0x5117e3][_0x595ff9(0x27b)](Object[_0x595ff9(0x294)](_0x373a93)[_0x595ff9(0x29a)](_0x4d2e28=>{const _0x411d24=_0x595ff9;let _0x57e7f7=_0x373a93[_0x4d2e28];return Array[_0x411d24(0x2a4)](_0x57e7f7)||(_0x57e7f7=[_0x57e7f7]),_0x57e7f7[_0x411d24(0x29a)](_0x560ee3=>_0x560ee3===!0x0?_0x4d2e28:_0x4d2e28+'='+_0x560ee3)[_0x411d24(0x1ef)](';\x20');}))[_0x595ff9(0x1ef)](';\x20'))['join'](',\x20');})[_0x48ab9c(0x1ef)](',\x20');}return be={'format':_0x5f52a7,'parse':_0x160cc4},be;}function _0x58f7(_0xa48e0,_0x481619){const _0x3940c9=_0x3940();return _0x58f7=function(_0x58f7dd,_0x5aef72){_0x58f7dd=_0x58f7dd-0x15a;let _0x2fe17f=_0x3940c9[_0x58f7dd];return _0x2fe17f;},_0x58f7(_0xa48e0,_0x481619);}var we,Je;function Pe(){const _0x5b95d2=_0xc18ba;if(Je)return we;Je=0x1;const _0x2a7d45=nt,_0x2b348e=vt,_0x5a6cf1=ot,_0x53127b=St,_0x3a1ef1=Et,{randomBytes:_0xe3238e,createHash:_0x3d8350}=Le,{Duplex:_0xcf72d5,Readable:_0x50e9c7}=oe,{URL:_0x51d269}=xt,_0x524d1d=he(),_0x49b7ac=lt(),_0x46709b=ft(),{isBlob:_0x56d93d}=ae(),{BINARY_TYPES:_0x26529b,EMPTY_BUFFER:_0x7c1c0a,GUID:_0x422dab,kForOnEventAttribute:_0x36c372,kListener:_0x4945db,kStatusCode:_0x2f619a,kWebSocket:_0x440d00,NOOP:_0x5ee84d}=H(),{EventTarget:{addEventListener:_0x31393d,removeEventListener:_0xfd42f1}}=It(),{format:_0x4f6ab1,parse:_0xa80d9}=ct(),{toBuffer:_0x306f90}=ce(),_0x217d64=0x1e*0x3e8,_0x461d70=Symbol(_0x5b95d2(0x319)),_0x1e3e0b=[0x8,0xd],_0x41173c=[_0x5b95d2(0x284),_0x5b95d2(0x28c),_0x5b95d2(0x2b8),'CLOSED'],_0x59bebe=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x1f29d1 extends _0x2a7d45{constructor(_0x368a3f,_0x4faab5,_0x556213){const _0x39ee9f=_0x5b95d2;super(),this[_0x39ee9f(0x2f3)]=_0x26529b[0x0],this[_0x39ee9f(0x224)]=0x3ee,this['_closeFrameReceived']=!0x1,this[_0x39ee9f(0x171)]=!0x1,this[_0x39ee9f(0x291)]=_0x7c1c0a,this[_0x39ee9f(0x207)]=null,this[_0x39ee9f(0x189)]=!0x1,this[_0x39ee9f(0x206)]={},this[_0x39ee9f(0x2c3)]=!0x1,this[_0x39ee9f(0x31d)]='',this[_0x39ee9f(0x27a)]=_0x1f29d1['CONNECTING'],this['_receiver']=null,this[_0x39ee9f(0x17e)]=null,this[_0x39ee9f(0x23c)]=null,_0x368a3f!==null?(this[_0x39ee9f(0x243)]=0x0,this['_isServer']=!0x1,this[_0x39ee9f(0x24e)]=0x0,_0x4faab5===void 0x0?_0x4faab5=[]:Array[_0x39ee9f(0x2a4)](_0x4faab5)||(typeof _0x4faab5==_0x39ee9f(0x229)&&_0x4faab5!==null?(_0x556213=_0x4faab5,_0x4faab5=[]):_0x4faab5=[_0x4faab5]),_0x129472(this,_0x368a3f,_0x4faab5,_0x556213)):(this[_0x39ee9f(0x2aa)]=_0x556213[_0x39ee9f(0x1a6)],this[_0x39ee9f(0x1c7)]=!0x0);}get[_0x5b95d2(0x2ba)](){const _0x166b2e=_0x5b95d2;return this[_0x166b2e(0x2f3)];}set[_0x5b95d2(0x2ba)](_0x1fe0ab){const _0x3b983c=_0x5b95d2;_0x26529b[_0x3b983c(0x1df)](_0x1fe0ab)&&(this[_0x3b983c(0x2f3)]=_0x1fe0ab,this[_0x3b983c(0x286)]&&(this[_0x3b983c(0x286)][_0x3b983c(0x2f3)]=_0x1fe0ab));}get[_0x5b95d2(0x195)](){const _0x1a0239=_0x5b95d2;return this[_0x1a0239(0x23c)]?this[_0x1a0239(0x23c)][_0x1a0239(0x268)][_0x1a0239(0x1e0)]+this[_0x1a0239(0x17e)][_0x1a0239(0x271)]:this[_0x1a0239(0x243)];}get[_0x5b95d2(0x1cc)](){const _0x25915e=_0x5b95d2;return Object['keys'](this['_extensions'])[_0x25915e(0x1ef)]();}get[_0x5b95d2(0x2af)](){const _0x1cbfed=_0x5b95d2;return this[_0x1cbfed(0x2c3)];}get[_0x5b95d2(0x18f)](){return null;}get[_0x5b95d2(0x2d9)](){return null;}get[_0x5b95d2(0x1ba)](){return null;}get[_0x5b95d2(0x1aa)](){return null;}get[_0x5b95d2(0x320)](){const _0x499ec5=_0x5b95d2;return this[_0x499ec5(0x31d)];}get['readyState'](){const _0x2ee774=_0x5b95d2;return this[_0x2ee774(0x27a)];}get['url'](){const _0x402928=_0x5b95d2;return this[_0x402928(0x30a)];}[_0x5b95d2(0x161)](_0x32f94b,_0x55d9e1,_0x343a5a){const _0x22e7e1=_0x5b95d2,_0x1f6d74=new _0x49b7ac({'allowSynchronousEvents':_0x343a5a['allowSynchronousEvents'],'binaryType':this['binaryType'],'extensions':this[_0x22e7e1(0x206)],'isServer':this[_0x22e7e1(0x1c7)],'maxPayload':_0x343a5a[_0x22e7e1(0x2d7)],'skipUTF8Validation':_0x343a5a[_0x22e7e1(0x21c)]}),_0x60a5dd=new _0x46709b(_0x32f94b,this[_0x22e7e1(0x206)],_0x343a5a['generateMask']);this['_receiver']=_0x1f6d74,this[_0x22e7e1(0x17e)]=_0x60a5dd,this[_0x22e7e1(0x23c)]=_0x32f94b,_0x1f6d74[_0x440d00]=this,_0x60a5dd[_0x440d00]=this,_0x32f94b[_0x440d00]=this,_0x1f6d74['on'](_0x22e7e1(0x2cf),_0x45040d),_0x1f6d74['on'](_0x22e7e1(0x316),_0x5e3036),_0x1f6d74['on'](_0x22e7e1(0x1a1),_0x2a1e52),_0x1f6d74['on'](_0x22e7e1(0x237),_0x24e9c4),_0x1f6d74['on'](_0x22e7e1(0x2be),_0x446b87),_0x1f6d74['on'](_0x22e7e1(0x2ff),_0x40ae4a),_0x60a5dd[_0x22e7e1(0x2d9)]=_0x3ec6e4,_0x32f94b['setTimeout']&&_0x32f94b[_0x22e7e1(0x300)](0x0),_0x32f94b[_0x22e7e1(0x1d2)]&&_0x32f94b[_0x22e7e1(0x1d2)](),_0x55d9e1[_0x22e7e1(0x1e0)]>0x0&&_0x32f94b[_0x22e7e1(0x191)](_0x55d9e1),_0x32f94b['on'](_0x22e7e1(0x1e2),_0x42c9d3),_0x32f94b['on']('data',_0x29869f),_0x32f94b['on']('end',_0x113807),_0x32f94b['on']('error',_0x4061f8),this[_0x22e7e1(0x27a)]=_0x1f29d1[_0x22e7e1(0x28c)],this['emit']('open');}['emitClose'](){const _0x4336bd=_0x5b95d2;if(!this[_0x4336bd(0x23c)]){this[_0x4336bd(0x27a)]=_0x1f29d1[_0x4336bd(0x1b5)],this[_0x4336bd(0x1c2)](_0x4336bd(0x1e2),this[_0x4336bd(0x224)],this['_closeMessage']);return;}this[_0x4336bd(0x206)][_0x524d1d[_0x4336bd(0x2ee)]]&&this[_0x4336bd(0x206)][_0x524d1d[_0x4336bd(0x2ee)]][_0x4336bd(0x1b0)](),this[_0x4336bd(0x286)][_0x4336bd(0x203)](),this[_0x4336bd(0x27a)]=_0x1f29d1[_0x4336bd(0x1b5)],this[_0x4336bd(0x1c2)](_0x4336bd(0x1e2),this[_0x4336bd(0x224)],this[_0x4336bd(0x291)]);}[_0x5b95d2(0x1e2)](_0x321c00,_0x958d9f){const _0x3eb4c4=_0x5b95d2;if(this[_0x3eb4c4(0x1b3)]!==_0x1f29d1[_0x3eb4c4(0x1b5)]){if(this['readyState']===_0x1f29d1[_0x3eb4c4(0x284)]){_0x1b4cb7(this,this[_0x3eb4c4(0x2ac)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}if(this[_0x3eb4c4(0x1b3)]===_0x1f29d1[_0x3eb4c4(0x2b8)]){this['_closeFrameSent']&&(this[_0x3eb4c4(0x15a)]||this['_receiver'][_0x3eb4c4(0x268)]['errorEmitted'])&&this[_0x3eb4c4(0x23c)][_0x3eb4c4(0x209)]();return;}this[_0x3eb4c4(0x27a)]=_0x1f29d1[_0x3eb4c4(0x2b8)],this[_0x3eb4c4(0x17e)][_0x3eb4c4(0x1e2)](_0x321c00,_0x958d9f,!this[_0x3eb4c4(0x1c7)],_0x1616a3=>{const _0x1430e5=_0x3eb4c4;_0x1616a3||(this['_closeFrameSent']=!0x0,(this[_0x1430e5(0x15a)]||this[_0x1430e5(0x286)][_0x1430e5(0x268)][_0x1430e5(0x288)])&&this[_0x1430e5(0x23c)][_0x1430e5(0x209)]());}),_0x5511c9(this);}}['pause'](){const _0x3c6362=_0x5b95d2;this['readyState']===_0x1f29d1['CONNECTING']||this[_0x3c6362(0x1b3)]===_0x1f29d1[_0x3c6362(0x1b5)]||(this[_0x3c6362(0x2c3)]=!0x0,this[_0x3c6362(0x23c)][_0x3c6362(0x164)]());}['ping'](_0x5caa0a,_0x886e20,_0x395724){const _0x2187e8=_0x5b95d2;if(this['readyState']===_0x1f29d1[_0x2187e8(0x284)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x5caa0a==_0x2187e8(0x1a3)?(_0x395724=_0x5caa0a,_0x5caa0a=_0x886e20=void 0x0):typeof _0x886e20==_0x2187e8(0x1a3)&&(_0x395724=_0x886e20,_0x886e20=void 0x0),typeof _0x5caa0a==_0x2187e8(0x26e)&&(_0x5caa0a=_0x5caa0a['toString']()),this[_0x2187e8(0x1b3)]!==_0x1f29d1[_0x2187e8(0x28c)]){_0x358979(this,_0x5caa0a,_0x395724);return;}_0x886e20===void 0x0&&(_0x886e20=!this[_0x2187e8(0x1c7)]),this[_0x2187e8(0x17e)]['ping'](_0x5caa0a||_0x7c1c0a,_0x886e20,_0x395724);}[_0x5b95d2(0x2ff)](_0x387f7b,_0x11735a,_0x202a69){const _0x15359c=_0x5b95d2;if(this['readyState']===_0x1f29d1[_0x15359c(0x284)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x387f7b==_0x15359c(0x1a3)?(_0x202a69=_0x387f7b,_0x387f7b=_0x11735a=void 0x0):typeof _0x11735a==_0x15359c(0x1a3)&&(_0x202a69=_0x11735a,_0x11735a=void 0x0),typeof _0x387f7b==_0x15359c(0x26e)&&(_0x387f7b=_0x387f7b[_0x15359c(0x26d)]()),this['readyState']!==_0x1f29d1[_0x15359c(0x28c)]){_0x358979(this,_0x387f7b,_0x202a69);return;}_0x11735a===void 0x0&&(_0x11735a=!this[_0x15359c(0x1c7)]),this[_0x15359c(0x17e)][_0x15359c(0x2ff)](_0x387f7b||_0x7c1c0a,_0x11735a,_0x202a69);}[_0x5b95d2(0x179)](){const _0x1b098a=_0x5b95d2;this[_0x1b098a(0x1b3)]===_0x1f29d1['CONNECTING']||this[_0x1b098a(0x1b3)]===_0x1f29d1['CLOSED']||(this[_0x1b098a(0x2c3)]=!0x1,this['_receiver'][_0x1b098a(0x268)][_0x1b098a(0x2d2)]||this['_socket'][_0x1b098a(0x179)]());}[_0x5b95d2(0x182)](_0x578856,_0x56e2d8,_0x38009c){const _0x2321ce=_0x5b95d2;if(this[_0x2321ce(0x1b3)]===_0x1f29d1[_0x2321ce(0x284)])throw new Error(_0x2321ce(0x29f));if(typeof _0x56e2d8==_0x2321ce(0x1a3)&&(_0x38009c=_0x56e2d8,_0x56e2d8={}),typeof _0x578856==_0x2321ce(0x26e)&&(_0x578856=_0x578856[_0x2321ce(0x26d)]()),this[_0x2321ce(0x1b3)]!==_0x1f29d1[_0x2321ce(0x28c)]){_0x358979(this,_0x578856,_0x38009c);return;}const _0x4eda79={'binary':typeof _0x578856!=_0x2321ce(0x208),'mask':!this[_0x2321ce(0x1c7)],'compress':!0x0,'fin':!0x0,..._0x56e2d8};this['_extensions'][_0x524d1d[_0x2321ce(0x2ee)]]||(_0x4eda79['compress']=!0x1),this[_0x2321ce(0x17e)][_0x2321ce(0x182)](_0x578856||_0x7c1c0a,_0x4eda79,_0x38009c);}[_0x5b95d2(0x24c)](){const _0x4febab=_0x5b95d2;if(this['readyState']!==_0x1f29d1[_0x4febab(0x1b5)]){if(this[_0x4febab(0x1b3)]===_0x1f29d1[_0x4febab(0x284)]){_0x1b4cb7(this,this[_0x4febab(0x2ac)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}this[_0x4febab(0x23c)]&&(this[_0x4febab(0x27a)]=_0x1f29d1[_0x4febab(0x2b8)],this[_0x4febab(0x23c)]['destroy']());}}}Object['defineProperty'](_0x1f29d1,_0x5b95d2(0x284),{'enumerable':!0x0,'value':_0x41173c[_0x5b95d2(0x2a0)](_0x5b95d2(0x284))}),Object[_0x5b95d2(0x2db)](_0x1f29d1[_0x5b95d2(0x221)],_0x5b95d2(0x284),{'enumerable':!0x0,'value':_0x41173c[_0x5b95d2(0x2a0)](_0x5b95d2(0x284))}),Object[_0x5b95d2(0x2db)](_0x1f29d1,_0x5b95d2(0x28c),{'enumerable':!0x0,'value':_0x41173c[_0x5b95d2(0x2a0)](_0x5b95d2(0x28c))}),Object[_0x5b95d2(0x2db)](_0x1f29d1[_0x5b95d2(0x221)],_0x5b95d2(0x28c),{'enumerable':!0x0,'value':_0x41173c[_0x5b95d2(0x2a0)](_0x5b95d2(0x28c))}),Object['defineProperty'](_0x1f29d1,_0x5b95d2(0x2b8),{'enumerable':!0x0,'value':_0x41173c[_0x5b95d2(0x2a0)]('CLOSING')}),Object[_0x5b95d2(0x2db)](_0x1f29d1[_0x5b95d2(0x221)],'CLOSING',{'enumerable':!0x0,'value':_0x41173c[_0x5b95d2(0x2a0)]('CLOSING')}),Object[_0x5b95d2(0x2db)](_0x1f29d1,_0x5b95d2(0x1b5),{'enumerable':!0x0,'value':_0x41173c[_0x5b95d2(0x2a0)](_0x5b95d2(0x1b5))}),Object[_0x5b95d2(0x2db)](_0x1f29d1[_0x5b95d2(0x221)],_0x5b95d2(0x1b5),{'enumerable':!0x0,'value':_0x41173c['indexOf'](_0x5b95d2(0x1b5))}),[_0x5b95d2(0x2ba),_0x5b95d2(0x195),_0x5b95d2(0x1cc),_0x5b95d2(0x2af),_0x5b95d2(0x320),_0x5b95d2(0x1b3),_0x5b95d2(0x260)]['forEach'](_0x788382=>{Object['defineProperty'](_0x1f29d1['prototype'],_0x788382,{'enumerable':!0x0});}),[_0x5b95d2(0x2f7),_0x5b95d2(0x1a1),_0x5b95d2(0x1e2),'message']['forEach'](_0x43368f=>{const _0x1c21a3=_0x5b95d2;Object[_0x1c21a3(0x2db)](_0x1f29d1['prototype'],'on'+_0x43368f,{'enumerable':!0x0,'get'(){const _0x32223b=_0x1c21a3;for(const _0x4359b8 of this[_0x32223b(0x218)](_0x43368f))if(_0x4359b8[_0x36c372])return _0x4359b8[_0x4945db];return null;},'set'(_0x12bd17){const _0x4f49b5=_0x1c21a3;for(const _0x1da04d of this[_0x4f49b5(0x218)](_0x43368f))if(_0x1da04d[_0x36c372]){this[_0x4f49b5(0x321)](_0x43368f,_0x1da04d);break;}typeof _0x12bd17==_0x4f49b5(0x1a3)&&this[_0x4f49b5(0x1c1)](_0x43368f,_0x12bd17,{[_0x36c372]:!0x0});}});}),_0x1f29d1['prototype'][_0x5b95d2(0x1c1)]=_0x31393d,_0x1f29d1['prototype'][_0x5b95d2(0x215)]=_0xfd42f1,we=_0x1f29d1;function _0x129472(_0x50e4da,_0x3b166d,_0x1966f1,_0x39549b){const _0x1845ea=_0x5b95d2,_0x49572c={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x1e3e0b[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x39549b,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x1845ea(0x19b),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x50e4da['_autoPong']=_0x49572c['autoPong'],!_0x1e3e0b[_0x1845ea(0x1df)](_0x49572c['protocolVersion']))throw new RangeError(_0x1845ea(0x15e)+_0x49572c['protocolVersion']+_0x1845ea(0x254)+_0x1e3e0b[_0x1845ea(0x1ef)](',\x20')+')');let _0x453a40;if(_0x3b166d instanceof _0x51d269)_0x453a40=_0x3b166d;else try{_0x453a40=new _0x51d269(_0x3b166d);}catch{throw new SyntaxError(_0x1845ea(0x20b)+_0x3b166d);}_0x453a40['protocol']===_0x1845ea(0x16e)?_0x453a40[_0x1845ea(0x320)]=_0x1845ea(0x247):_0x453a40[_0x1845ea(0x320)]===_0x1845ea(0x31a)&&(_0x453a40[_0x1845ea(0x320)]=_0x1845ea(0x20e)),_0x50e4da['_url']=_0x453a40[_0x1845ea(0x1a8)];const _0x3ecea6=_0x453a40[_0x1845ea(0x320)]==='wss:',_0xc02772=_0x453a40['protocol']===_0x1845ea(0x21e);let _0x27e78d;if(_0x453a40[_0x1845ea(0x320)]!=='ws:'&&!_0x3ecea6&&!_0xc02772?_0x27e78d=_0x1845ea(0x22d):_0xc02772&&!_0x453a40['pathname']?_0x27e78d=_0x1845ea(0x1c3):_0x453a40['hash']&&(_0x27e78d=_0x1845ea(0x1af)),_0x27e78d){const _0xd3aa8b=new SyntaxError(_0x27e78d);if(_0x50e4da['_redirects']===0x0)throw _0xd3aa8b;_0x455872(_0x50e4da,_0xd3aa8b);return;}const _0x11204c=_0x3ecea6?0x1bb:0x50,_0x3d2bcb=_0xe3238e(0x10)[_0x1845ea(0x26d)]('base64'),_0x2e33a6=_0x3ecea6?_0x2b348e[_0x1845ea(0x274)]:_0x5a6cf1[_0x1845ea(0x274)],_0x2d5493=new Set();let _0x1e9e00;if(_0x49572c[_0x1845ea(0x2ae)]=_0x49572c[_0x1845ea(0x2ae)]||(_0x3ecea6?_0x321a7e:_0x3d597b),_0x49572c[_0x1845ea(0x223)]=_0x49572c[_0x1845ea(0x223)]||_0x11204c,_0x49572c[_0x1845ea(0x297)]=_0x453a40['port']||_0x11204c,_0x49572c[_0x1845ea(0x19d)]=_0x453a40[_0x1845ea(0x2ce)][_0x1845ea(0x15b)]('[')?_0x453a40[_0x1845ea(0x2ce)][_0x1845ea(0x1f4)](0x1,-0x1):_0x453a40['hostname'],_0x49572c[_0x1845ea(0x2de)]={..._0x49572c[_0x1845ea(0x2de)],'Sec-WebSocket-Version':_0x49572c[_0x1845ea(0x211)],'Sec-WebSocket-Key':_0x3d2bcb,'Connection':_0x1845ea(0x233),'Upgrade':_0x1845ea(0x1b1)},_0x49572c['path']=_0x453a40['pathname']+_0x453a40[_0x1845ea(0x1c9)],_0x49572c[_0x1845ea(0x22a)]=_0x49572c[_0x1845ea(0x303)],_0x49572c['perMessageDeflate']&&(_0x1e9e00=new _0x524d1d(_0x49572c[_0x1845ea(0x31b)]!==!0x0?_0x49572c[_0x1845ea(0x31b)]:{},!0x1,_0x49572c['maxPayload']),_0x49572c[_0x1845ea(0x2de)]['Sec-WebSocket-Extensions']=_0x4f6ab1({[_0x524d1d[_0x1845ea(0x2ee)]]:_0x1e9e00[_0x1845ea(0x16b)]()})),_0x1966f1[_0x1845ea(0x1e0)]){for(const _0x766412 of _0x1966f1){if(typeof _0x766412!=_0x1845ea(0x208)||!_0x59bebe[_0x1845ea(0x1e7)](_0x766412)||_0x2d5493[_0x1845ea(0x30c)](_0x766412))throw new SyntaxError(_0x1845ea(0x2b4));_0x2d5493[_0x1845ea(0x18c)](_0x766412);}_0x49572c[_0x1845ea(0x2de)][_0x1845ea(0x19a)]=_0x1966f1['join'](',');}if(_0x49572c['origin']&&(_0x49572c[_0x1845ea(0x211)]<0xd?_0x49572c[_0x1845ea(0x2de)][_0x1845ea(0x1a2)]=_0x49572c['origin']:_0x49572c[_0x1845ea(0x2de)][_0x1845ea(0x251)]=_0x49572c['origin']),(_0x453a40[_0x1845ea(0x29b)]||_0x453a40[_0x1845ea(0x15f)])&&(_0x49572c[_0x1845ea(0x184)]=_0x453a40[_0x1845ea(0x29b)]+':'+_0x453a40['password']),_0xc02772){const _0x31068f=_0x49572c[_0x1845ea(0x25c)][_0x1845ea(0x1d3)](':');_0x49572c['socketPath']=_0x31068f[0x0],_0x49572c[_0x1845ea(0x25c)]=_0x31068f[0x1];}let _0x372764;if(_0x49572c[_0x1845ea(0x266)]){if(_0x50e4da['_redirects']===0x0){_0x50e4da['_originalIpc']=_0xc02772,_0x50e4da[_0x1845ea(0x1a9)]=_0x3ecea6,_0x50e4da[_0x1845ea(0x2c0)]=_0xc02772?_0x49572c[_0x1845ea(0x298)]:_0x453a40[_0x1845ea(0x19d)];const _0x1e53a0=_0x39549b&&_0x39549b['headers'];if(_0x39549b={..._0x39549b,'headers':{}},_0x1e53a0){for(const [_0x5d0934,_0x3fd529]of Object[_0x1845ea(0x276)](_0x1e53a0))_0x39549b[_0x1845ea(0x2de)][_0x5d0934[_0x1845ea(0x2e3)]()]=_0x3fd529;}}else{if(_0x50e4da[_0x1845ea(0x2a6)](_0x1845ea(0x272))===0x0){const _0x5bd057=_0xc02772?_0x50e4da[_0x1845ea(0x2ca)]?_0x49572c[_0x1845ea(0x298)]===_0x50e4da[_0x1845ea(0x2c0)]:!0x1:_0x50e4da[_0x1845ea(0x2ca)]?!0x1:_0x453a40[_0x1845ea(0x19d)]===_0x50e4da['_originalHostOrSocketPath'];(!_0x5bd057||_0x50e4da[_0x1845ea(0x1a9)]&&!_0x3ecea6)&&(delete _0x49572c[_0x1845ea(0x2de)][_0x1845ea(0x304)],delete _0x49572c[_0x1845ea(0x2de)][_0x1845ea(0x275)],_0x5bd057||delete _0x49572c[_0x1845ea(0x2de)]['host'],_0x49572c[_0x1845ea(0x184)]=void 0x0);}}_0x49572c['auth']&&!_0x39549b[_0x1845ea(0x2de)][_0x1845ea(0x304)]&&(_0x39549b[_0x1845ea(0x2de)][_0x1845ea(0x304)]=_0x1845ea(0x267)+Buffer[_0x1845ea(0x185)](_0x49572c[_0x1845ea(0x184)])['toString'](_0x1845ea(0x281))),_0x372764=_0x50e4da['_req']=_0x2e33a6(_0x49572c),_0x50e4da[_0x1845ea(0x24e)]&&_0x50e4da['emit']('redirect',_0x50e4da[_0x1845ea(0x260)],_0x372764);}else _0x372764=_0x50e4da[_0x1845ea(0x2ac)]=_0x2e33a6(_0x49572c);_0x49572c[_0x1845ea(0x22a)]&&_0x372764['on'](_0x1845ea(0x22a),()=>{const _0x42ecbd=_0x1845ea;_0x1b4cb7(_0x50e4da,_0x372764,_0x42ecbd(0x18b));}),_0x372764['on'](_0x1845ea(0x1a1),_0x1d1665=>{const _0x3e4a76=_0x1845ea;_0x372764===null||_0x372764[_0x461d70]||(_0x372764=_0x50e4da[_0x3e4a76(0x2ac)]=null,_0x455872(_0x50e4da,_0x1d1665));}),_0x372764['on'](_0x1845ea(0x1c6),_0x1ec9bf=>{const _0x45c1e7=_0x1845ea,_0x591feb=_0x1ec9bf[_0x45c1e7(0x2de)][_0x45c1e7(0x178)],_0x3cbe13=_0x1ec9bf['statusCode'];if(_0x591feb&&_0x49572c[_0x45c1e7(0x266)]&&_0x3cbe13>=0x12c&&_0x3cbe13<0x190){if(++_0x50e4da[_0x45c1e7(0x24e)]>_0x49572c['maxRedirects']){_0x1b4cb7(_0x50e4da,_0x372764,'Maximum\x20redirects\x20exceeded');return;}_0x372764[_0x45c1e7(0x28e)]();let _0x743e84;try{_0x743e84=new _0x51d269(_0x591feb,_0x3b166d);}catch{const _0x273939=new SyntaxError(_0x45c1e7(0x20b)+_0x591feb);_0x455872(_0x50e4da,_0x273939);return;}_0x129472(_0x50e4da,_0x743e84,_0x1966f1,_0x39549b);}else _0x50e4da[_0x45c1e7(0x1c2)](_0x45c1e7(0x1d1),_0x372764,_0x1ec9bf)||_0x1b4cb7(_0x50e4da,_0x372764,_0x45c1e7(0x1b2)+_0x1ec9bf['statusCode']);}),_0x372764['on'](_0x1845ea(0x252),(_0x17f241,_0x21a4e3,_0x79fc24)=>{const _0x226102=_0x1845ea;if(_0x50e4da['emit'](_0x226102(0x252),_0x17f241),_0x50e4da[_0x226102(0x1b3)]!==_0x1f29d1[_0x226102(0x284)])return;_0x372764=_0x50e4da[_0x226102(0x2ac)]=null;const _0x4705a9=_0x17f241[_0x226102(0x2de)][_0x226102(0x252)];if(_0x4705a9===void 0x0||_0x4705a9[_0x226102(0x2e3)]()!=='websocket'){_0x1b4cb7(_0x50e4da,_0x21a4e3,_0x226102(0x26b));return;}const _0x2e7336=_0x3d8350('sha1')[_0x226102(0x246)](_0x3d2bcb+_0x422dab)[_0x226102(0x167)](_0x226102(0x281));if(_0x17f241[_0x226102(0x2de)][_0x226102(0x1e3)]!==_0x2e7336){_0x1b4cb7(_0x50e4da,_0x21a4e3,'Invalid\x20Sec-WebSocket-Accept\x20header');return;}const _0xfb21b4=_0x17f241[_0x226102(0x2de)][_0x226102(0x2d0)];let _0x233066;if(_0xfb21b4!==void 0x0?_0x2d5493[_0x226102(0x176)]?_0x2d5493[_0x226102(0x30c)](_0xfb21b4)||(_0x233066=_0x226102(0x216)):_0x233066='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0x2d5493['size']&&(_0x233066='Server\x20sent\x20no\x20subprotocol'),_0x233066){_0x1b4cb7(_0x50e4da,_0x21a4e3,_0x233066);return;}_0xfb21b4&&(_0x50e4da['_protocol']=_0xfb21b4);const _0x4bdc61=_0x17f241[_0x226102(0x2de)][_0x226102(0x17c)];if(_0x4bdc61!==void 0x0){if(!_0x1e9e00){_0x1b4cb7(_0x50e4da,_0x21a4e3,_0x226102(0x165));return;}let _0x9dd853;try{_0x9dd853=_0xa80d9(_0x4bdc61);}catch{_0x1b4cb7(_0x50e4da,_0x21a4e3,_0x226102(0x2ea));return;}const _0x4b6d0e=Object['keys'](_0x9dd853);if(_0x4b6d0e[_0x226102(0x1e0)]!==0x1||_0x4b6d0e[0x0]!==_0x524d1d['extensionName']){_0x1b4cb7(_0x50e4da,_0x21a4e3,_0x226102(0x2f2));return;}try{_0x1e9e00[_0x226102(0x1e8)](_0x9dd853[_0x524d1d[_0x226102(0x2ee)]]);}catch{_0x1b4cb7(_0x50e4da,_0x21a4e3,_0x226102(0x2ea));return;}_0x50e4da[_0x226102(0x206)][_0x524d1d[_0x226102(0x2ee)]]=_0x1e9e00;}_0x50e4da[_0x226102(0x161)](_0x21a4e3,_0x79fc24,{'allowSynchronousEvents':_0x49572c['allowSynchronousEvents'],'generateMask':_0x49572c[_0x226102(0x1ff)],'maxPayload':_0x49572c['maxPayload'],'skipUTF8Validation':_0x49572c[_0x226102(0x21c)]});}),_0x49572c['finishRequest']?_0x49572c[_0x1845ea(0x201)](_0x372764,_0x50e4da):_0x372764['end']();}function _0x455872(_0x521bbd,_0x4252b4){const _0x42a15f=_0x5b95d2;_0x521bbd[_0x42a15f(0x27a)]=_0x1f29d1[_0x42a15f(0x2b8)],_0x521bbd[_0x42a15f(0x189)]=!0x0,_0x521bbd[_0x42a15f(0x1c2)]('error',_0x4252b4),_0x521bbd[_0x42a15f(0x2a5)]();}function _0x3d597b(_0x1d84f3){const _0x11fb3b=_0x5b95d2;return _0x1d84f3['path']=_0x1d84f3[_0x11fb3b(0x298)],_0x53127b[_0x11fb3b(0x309)](_0x1d84f3);}function _0x321a7e(_0x5536c4){const _0x2e840d=_0x5b95d2;return _0x5536c4[_0x2e840d(0x25c)]=void 0x0,!_0x5536c4[_0x2e840d(0x285)]&&_0x5536c4[_0x2e840d(0x285)]!==''&&(_0x5536c4[_0x2e840d(0x285)]=_0x53127b[_0x2e840d(0x2a9)](_0x5536c4['host'])?'':_0x5536c4[_0x2e840d(0x19d)]),_0x3a1ef1['connect'](_0x5536c4);}function _0x1b4cb7(_0x2b3566,_0x513715,_0x358e90){const _0x222600=_0x5b95d2;_0x2b3566[_0x222600(0x27a)]=_0x1f29d1['CLOSING'];const _0x1ac845=new Error(_0x358e90);Error[_0x222600(0x1dc)](_0x1ac845,_0x1b4cb7),_0x513715[_0x222600(0x287)]?(_0x513715[_0x461d70]=!0x0,_0x513715[_0x222600(0x28e)](),_0x513715['socket']&&!_0x513715[_0x222600(0x264)]['destroyed']&&_0x513715[_0x222600(0x264)][_0x222600(0x296)](),process[_0x222600(0x187)](_0x455872,_0x2b3566,_0x1ac845)):(_0x513715[_0x222600(0x296)](_0x1ac845),_0x513715[_0x222600(0x18a)]('error',_0x2b3566['emit']['bind'](_0x2b3566,'error')),_0x513715[_0x222600(0x18a)]('close',_0x2b3566[_0x222600(0x2a5)][_0x222600(0x1de)](_0x2b3566)));}function _0x358979(_0x3b8d46,_0x2a2093,_0x355085){const _0x2c1f37=_0x5b95d2;if(_0x2a2093){const _0x4b49ad=_0x56d93d(_0x2a2093)?_0x2a2093[_0x2c1f37(0x176)]:_0x306f90(_0x2a2093)[_0x2c1f37(0x1e0)];_0x3b8d46[_0x2c1f37(0x23c)]?_0x3b8d46[_0x2c1f37(0x17e)][_0x2c1f37(0x271)]+=_0x4b49ad:_0x3b8d46[_0x2c1f37(0x243)]+=_0x4b49ad;}if(_0x355085){const _0x2dc745=new Error(_0x2c1f37(0x2ef)+_0x3b8d46['readyState']+'\x20('+_0x41173c[_0x3b8d46[_0x2c1f37(0x1b3)]]+')');process[_0x2c1f37(0x187)](_0x355085,_0x2dc745);}}function _0x45040d(_0x11cd2d,_0x374ca0){const _0x228b6b=_0x5b95d2,_0x443201=this[_0x440d00];_0x443201[_0x228b6b(0x15a)]=!0x0,_0x443201[_0x228b6b(0x291)]=_0x374ca0,_0x443201[_0x228b6b(0x224)]=_0x11cd2d,_0x443201[_0x228b6b(0x23c)][_0x440d00]!==void 0x0&&(_0x443201[_0x228b6b(0x23c)]['removeListener'](_0x228b6b(0x1c4),_0x29869f),process[_0x228b6b(0x187)](_0x5a0227,_0x443201[_0x228b6b(0x23c)]),_0x11cd2d===0x3ed?_0x443201['close']():_0x443201[_0x228b6b(0x1e2)](_0x11cd2d,_0x374ca0));}function _0x5e3036(){const _0x2d21c7=_0x5b95d2,_0x533722=this[_0x440d00];_0x533722[_0x2d21c7(0x2af)]||_0x533722[_0x2d21c7(0x23c)][_0x2d21c7(0x179)]();}function _0x2a1e52(_0x3a5afe){const _0x4239f1=_0x5b95d2,_0x4259b7=this[_0x440d00];_0x4259b7[_0x4239f1(0x23c)][_0x440d00]!==void 0x0&&(_0x4259b7['_socket']['removeListener']('data',_0x29869f),process['nextTick'](_0x5a0227,_0x4259b7[_0x4239f1(0x23c)]),_0x4259b7[_0x4239f1(0x1e2)](_0x3a5afe[_0x2f619a])),_0x4259b7['_errorEmitted']||(_0x4259b7['_errorEmitted']=!0x0,_0x4259b7[_0x4239f1(0x1c2)](_0x4239f1(0x1a1),_0x3a5afe));}function _0x253cf2(){this[_0x440d00]['emitClose']();}function _0x24e9c4(_0x56d16f,_0x493188){const _0x1d8a05=_0x5b95d2;this[_0x440d00][_0x1d8a05(0x1c2)](_0x1d8a05(0x237),_0x56d16f,_0x493188);}function _0x446b87(_0x364870){const _0x1a65d0=_0x5b95d2,_0x197625=this[_0x440d00];_0x197625[_0x1a65d0(0x2aa)]&&_0x197625[_0x1a65d0(0x2ff)](_0x364870,!this[_0x1a65d0(0x1c7)],_0x5ee84d),_0x197625[_0x1a65d0(0x1c2)](_0x1a65d0(0x2be),_0x364870);}function _0x40ae4a(_0x18f830){const _0x2a793e=_0x5b95d2;this[_0x440d00][_0x2a793e(0x1c2)](_0x2a793e(0x2ff),_0x18f830);}function _0x5a0227(_0x30df91){const _0x2c9a41=_0x5b95d2;_0x30df91[_0x2c9a41(0x179)]();}function _0x3ec6e4(_0x1e4c49){const _0x402eb7=_0x5b95d2,_0x263460=this[_0x440d00];_0x263460['readyState']!==_0x1f29d1[_0x402eb7(0x1b5)]&&(_0x263460[_0x402eb7(0x1b3)]===_0x1f29d1['OPEN']&&(_0x263460['_readyState']=_0x1f29d1[_0x402eb7(0x2b8)],_0x5511c9(_0x263460)),this[_0x402eb7(0x23c)][_0x402eb7(0x209)](),_0x263460[_0x402eb7(0x189)]||(_0x263460['_errorEmitted']=!0x0,_0x263460[_0x402eb7(0x1c2)](_0x402eb7(0x1a1),_0x1e4c49)));}function _0x5511c9(_0x3aa73a){const _0x5915b0=_0x5b95d2;_0x3aa73a[_0x5915b0(0x207)]=setTimeout(_0x3aa73a[_0x5915b0(0x23c)]['destroy'][_0x5915b0(0x1de)](_0x3aa73a[_0x5915b0(0x23c)]),_0x217d64);}function _0x42c9d3(){const _0x5a2309=_0x5b95d2,_0x552629=this[_0x440d00];this[_0x5a2309(0x321)](_0x5a2309(0x1e2),_0x42c9d3),this[_0x5a2309(0x321)](_0x5a2309(0x1c4),_0x29869f),this[_0x5a2309(0x321)]('end',_0x113807),_0x552629[_0x5a2309(0x27a)]=_0x1f29d1[_0x5a2309(0x2b8)];let _0x26a100;!this[_0x5a2309(0x16c)]['endEmitted']&&!_0x552629['_closeFrameReceived']&&!_0x552629['_receiver'][_0x5a2309(0x268)][_0x5a2309(0x288)]&&(_0x26a100=_0x552629[_0x5a2309(0x23c)][_0x5a2309(0x160)]())!==null&&_0x552629['_receiver'][_0x5a2309(0x169)](_0x26a100),_0x552629[_0x5a2309(0x286)][_0x5a2309(0x209)](),this[_0x440d00]=void 0x0,clearTimeout(_0x552629[_0x5a2309(0x207)]),_0x552629[_0x5a2309(0x286)][_0x5a2309(0x268)][_0x5a2309(0x19f)]||_0x552629[_0x5a2309(0x286)][_0x5a2309(0x268)][_0x5a2309(0x288)]?_0x552629['emitClose']():(_0x552629[_0x5a2309(0x286)]['on'](_0x5a2309(0x1a1),_0x253cf2),_0x552629[_0x5a2309(0x286)]['on'](_0x5a2309(0x273),_0x253cf2));}function _0x29869f(_0x141f1b){const _0x19a112=_0x5b95d2;this[_0x440d00][_0x19a112(0x286)][_0x19a112(0x169)](_0x141f1b)||this[_0x19a112(0x164)]();}function _0x113807(){const _0x4115c8=_0x5b95d2,_0x383957=this[_0x440d00];_0x383957[_0x4115c8(0x27a)]=_0x1f29d1[_0x4115c8(0x2b8)],_0x383957[_0x4115c8(0x286)][_0x4115c8(0x209)](),this[_0x4115c8(0x209)]();}function _0x4061f8(){const _0x36cc12=_0x5b95d2,_0x5ee5b6=this[_0x440d00];this[_0x36cc12(0x321)]('error',_0x4061f8),this['on']('error',_0x5ee84d),_0x5ee5b6&&(_0x5ee5b6[_0x36cc12(0x27a)]=_0x1f29d1[_0x36cc12(0x2b8)],this['destroy']());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x4f8e4a}=oe;function _0x7e38ae(_0x948c02){const _0x5c3e93=_0x58f7;_0x948c02[_0x5c3e93(0x1c2)](_0x5c3e93(0x1e2));}function _0x136be4(){const _0xdbb92a=_0x58f7;!this[_0xdbb92a(0x1e1)]&&this[_0xdbb92a(0x268)][_0xdbb92a(0x19f)]&&this[_0xdbb92a(0x296)]();}function _0x52aa17(_0x8bf2a6){const _0x36fc9b=_0x58f7;this[_0x36fc9b(0x321)](_0x36fc9b(0x1a1),_0x52aa17),this[_0x36fc9b(0x296)](),this[_0x36fc9b(0x2a6)](_0x36fc9b(0x1a1))===0x0&&this[_0x36fc9b(0x1c2)](_0x36fc9b(0x1a1),_0x8bf2a6);}function _0x54c70a(_0x4b9bc4,_0x4e07fe){const _0x577344=_0x58f7;let _0x5e8fcb=!0x0;const _0x1fe990=new _0x4f8e4a({..._0x4e07fe,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x4b9bc4['on'](_0x577344(0x237),function(_0x3e3135,_0x3ded64){const _0x1c460a=_0x577344,_0x1e6a02=!_0x3ded64&&_0x1fe990[_0x1c460a(0x16c)][_0x1c460a(0x188)]?_0x3e3135['toString']():_0x3e3135;_0x1fe990['push'](_0x1e6a02)||_0x4b9bc4[_0x1c460a(0x164)]();}),_0x4b9bc4['once'](_0x577344(0x1a1),function(_0x83e4c8){const _0x503406=_0x577344;_0x1fe990[_0x503406(0x1e1)]||(_0x5e8fcb=!0x1,_0x1fe990[_0x503406(0x296)](_0x83e4c8));}),_0x4b9bc4[_0x577344(0x18a)]('close',function(){const _0x24e931=_0x577344;_0x1fe990[_0x24e931(0x1e1)]||_0x1fe990[_0x24e931(0x236)](null);}),_0x1fe990[_0x577344(0x2b0)]=function(_0xe27a1e,_0x159943){const _0x139871=_0x577344;if(_0x4b9bc4[_0x139871(0x1b3)]===_0x4b9bc4[_0x139871(0x1b5)]){_0x159943(_0xe27a1e),process[_0x139871(0x187)](_0x7e38ae,_0x1fe990);return;}let _0x10acc5=!0x1;_0x4b9bc4[_0x139871(0x18a)](_0x139871(0x1a1),function(_0xb4cada){_0x10acc5=!0x0,_0x159943(_0xb4cada);}),_0x4b9bc4[_0x139871(0x18a)](_0x139871(0x1e2),function(){_0x10acc5||_0x159943(_0xe27a1e),process['nextTick'](_0x7e38ae,_0x1fe990);}),_0x5e8fcb&&_0x4b9bc4[_0x139871(0x24c)]();},_0x1fe990[_0x577344(0x1cf)]=function(_0x4740e6){const _0x8f5836=_0x577344;if(_0x4b9bc4[_0x8f5836(0x1b3)]===_0x4b9bc4[_0x8f5836(0x284)]){_0x4b9bc4['once'](_0x8f5836(0x2f7),function(){const _0x1a6c4f=_0x8f5836;_0x1fe990[_0x1a6c4f(0x1cf)](_0x4740e6);});return;}_0x4b9bc4[_0x8f5836(0x23c)]!==null&&(_0x4b9bc4[_0x8f5836(0x23c)][_0x8f5836(0x268)][_0x8f5836(0x19f)]?(_0x4740e6(),_0x1fe990[_0x8f5836(0x16c)][_0x8f5836(0x301)]&&_0x1fe990[_0x8f5836(0x296)]()):(_0x4b9bc4[_0x8f5836(0x23c)]['once'](_0x8f5836(0x273),function(){_0x4740e6();}),_0x4b9bc4[_0x8f5836(0x1e2)]()));},_0x1fe990['_read']=function(){const _0x113c21=_0x577344;_0x4b9bc4['isPaused']&&_0x4b9bc4[_0x113c21(0x179)]();},_0x1fe990[_0x577344(0x18e)]=function(_0x1c0463,_0x139d35,_0x5dfb01){const _0x15d343=_0x577344;if(_0x4b9bc4[_0x15d343(0x1b3)]===_0x4b9bc4['CONNECTING']){_0x4b9bc4[_0x15d343(0x18a)]('open',function(){const _0x1f4b86=_0x15d343;_0x1fe990[_0x1f4b86(0x18e)](_0x1c0463,_0x139d35,_0x5dfb01);});return;}_0x4b9bc4[_0x15d343(0x182)](_0x1c0463,_0x5dfb01);},_0x1fe990['on'](_0x577344(0x209),_0x136be4),_0x1fe990['on']('error',_0x52aa17),_0x1fe990;}return Oe=_0x54c70a,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x1eaa5d}=ae();function _0x50b228(_0x366858){const _0x3953c6=_0x58f7,_0x3033c3=new Set();let _0x39b1f7=-0x1,_0x38d9aa=-0x1,_0x3d4da3=0x0;for(_0x3d4da3;_0x3d4da3<_0x366858[_0x3953c6(0x1e0)];_0x3d4da3++){const _0x280090=_0x366858['charCodeAt'](_0x3d4da3);if(_0x38d9aa===-0x1&&_0x1eaa5d[_0x280090]===0x1)_0x39b1f7===-0x1&&(_0x39b1f7=_0x3d4da3);else{if(_0x3d4da3!==0x0&&(_0x280090===0x20||_0x280090===0x9))_0x38d9aa===-0x1&&_0x39b1f7!==-0x1&&(_0x38d9aa=_0x3d4da3);else{if(_0x280090===0x2c){if(_0x39b1f7===-0x1)throw new SyntaxError(_0x3953c6(0x1e4)+_0x3d4da3);_0x38d9aa===-0x1&&(_0x38d9aa=_0x3d4da3);const _0x950f87=_0x366858['slice'](_0x39b1f7,_0x38d9aa);if(_0x3033c3[_0x3953c6(0x30c)](_0x950f87))throw new SyntaxError('The\x20\x22'+_0x950f87+_0x3953c6(0x2a8));_0x3033c3[_0x3953c6(0x18c)](_0x950f87),_0x39b1f7=_0x38d9aa=-0x1;}else throw new SyntaxError(_0x3953c6(0x1e4)+_0x3d4da3);}}}if(_0x39b1f7===-0x1||_0x38d9aa!==-0x1)throw new SyntaxError(_0x3953c6(0x257));const _0x547678=_0x366858[_0x3953c6(0x1f4)](_0x39b1f7,_0x3d4da3);if(_0x3033c3[_0x3953c6(0x30c)](_0x547678))throw new SyntaxError(_0x3953c6(0x1dd)+_0x547678+_0x3953c6(0x2a8));return _0x3033c3[_0x3953c6(0x18c)](_0x547678),_0x3033c3;}return Ce={'parse':_0x50b228},Ce;}var Te,rt;function Ft(){const _0x3e44d3=_0xc18ba;if(rt)return Te;rt=0x1;const _0x5981bf=nt,_0xc0b045=ot,{Duplex:_0x44992d}=oe,{createHash:_0xef9393}=Le,_0x3750d1=ct(),_0x540ad2=he(),_0x1dbab1=At(),_0x3f7ee5=Pe(),{GUID:_0x27273b,kWebSocket:_0x3f0ba5}=H(),_0x229655=/^[+/0-9A-Za-z]{22}==$/,_0x18b4e3=0x0,_0x510dee=0x1,_0x466f36=0x2;class _0x5e67eb extends _0x5981bf{constructor(_0x9808da,_0x500586){const _0x14557d=_0x58f7;if(super(),_0x9808da={'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':_0x3f7ee5,..._0x9808da},_0x9808da[_0x14557d(0x297)]==null&&!_0x9808da['server']&&!_0x9808da[_0x14557d(0x20c)]||_0x9808da[_0x14557d(0x297)]!=null&&(_0x9808da[_0x14557d(0x199)]||_0x9808da['noServer'])||_0x9808da[_0x14557d(0x199)]&&_0x9808da[_0x14557d(0x20c)])throw new TypeError('One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified');if(_0x9808da['port']!=null?(this[_0x14557d(0x292)]=_0xc0b045[_0x14557d(0x238)]((_0x4fe6bd,_0x504ebb)=>{const _0x418756=_0x14557d,_0x4c1e37=_0xc0b045['STATUS_CODES'][0x1aa];_0x504ebb[_0x418756(0x24d)](0x1aa,{'Content-Length':_0x4c1e37['length'],'Content-Type':_0x418756(0x2bf)}),_0x504ebb[_0x418756(0x209)](_0x4c1e37);}),this[_0x14557d(0x292)][_0x14557d(0x314)](_0x9808da['port'],_0x9808da['host'],_0x9808da[_0x14557d(0x249)],_0x500586)):_0x9808da['server']&&(this[_0x14557d(0x292)]=_0x9808da[_0x14557d(0x199)]),this[_0x14557d(0x292)]){const _0x12af4f=this[_0x14557d(0x1c2)]['bind'](this,'connection');this[_0x14557d(0x235)]=_0x2ba277(this[_0x14557d(0x292)],{'listening':this['emit'][_0x14557d(0x1de)](this,'listening'),'error':this[_0x14557d(0x1c2)]['bind'](this,'error'),'upgrade':(_0xd33339,_0x12ab8a,_0x27ae03)=>{this['handleUpgrade'](_0xd33339,_0x12ab8a,_0x27ae03,_0x12af4f);}});}_0x9808da[_0x14557d(0x31b)]===!0x0&&(_0x9808da[_0x14557d(0x31b)]={}),_0x9808da[_0x14557d(0x27f)]&&(this['clients']=new Set(),this['_shouldEmitClose']=!0x1),this['options']=_0x9808da,this[_0x14557d(0x1fd)]=_0x18b4e3;}[_0x3e44d3(0x163)](){const _0x1e27b5=_0x3e44d3;if(this[_0x1e27b5(0x1ad)]['noServer'])throw new Error(_0x1e27b5(0x21b));return this['_server']?this['_server'][_0x1e27b5(0x163)]():null;}[_0x3e44d3(0x1e2)](_0x32d5d5){const _0xcaa4da=_0x3e44d3;if(this[_0xcaa4da(0x1fd)]===_0x466f36){_0x32d5d5&&this[_0xcaa4da(0x18a)]('close',()=>{_0x32d5d5(new Error('The\x20server\x20is\x20not\x20running'));}),process[_0xcaa4da(0x187)](_0x5eaa56,this);return;}if(_0x32d5d5&&this[_0xcaa4da(0x18a)]('close',_0x32d5d5),this['_state']!==_0x510dee){if(this[_0xcaa4da(0x1fd)]=_0x510dee,this['options'][_0xcaa4da(0x20c)]||this[_0xcaa4da(0x1ad)][_0xcaa4da(0x199)])this[_0xcaa4da(0x292)]&&(this[_0xcaa4da(0x235)](),this[_0xcaa4da(0x235)]=this['_server']=null),this['clients']?this[_0xcaa4da(0x180)][_0xcaa4da(0x176)]?this[_0xcaa4da(0x22e)]=!0x0:process['nextTick'](_0x5eaa56,this):process[_0xcaa4da(0x187)](_0x5eaa56,this);else{const _0x197e6e=this[_0xcaa4da(0x292)];this[_0xcaa4da(0x235)](),this[_0xcaa4da(0x235)]=this[_0xcaa4da(0x292)]=null,_0x197e6e[_0xcaa4da(0x1e2)](()=>{_0x5eaa56(this);});}}}['shouldHandle'](_0xa6d6f7){const _0x1d1b20=_0x3e44d3;if(this['options'][_0x1d1b20(0x25c)]){const _0x26c599=_0xa6d6f7[_0x1d1b20(0x260)][_0x1d1b20(0x2a0)]('?');if((_0x26c599!==-0x1?_0xa6d6f7[_0x1d1b20(0x260)][_0x1d1b20(0x1f4)](0x0,_0x26c599):_0xa6d6f7[_0x1d1b20(0x260)])!==this[_0x1d1b20(0x1ad)][_0x1d1b20(0x25c)])return!0x1;}return!0x0;}[_0x3e44d3(0x2e1)](_0x1a6b70,_0x5207a2,_0x1e77d1,_0x1c6226){const _0x60de35=_0x3e44d3;_0x5207a2['on'](_0x60de35(0x1a1),_0x271d32);const _0x5b85a2=_0x1a6b70[_0x60de35(0x2de)][_0x60de35(0x220)],_0x44f160=_0x1a6b70['headers']['upgrade'],_0x38ea4d=+_0x1a6b70[_0x60de35(0x2de)][_0x60de35(0x226)];if(_0x1a6b70[_0x60de35(0x317)]!==_0x60de35(0x19b)){_0x1c9d77(this,_0x1a6b70,_0x5207a2,0x195,_0x60de35(0x258));return;}if(_0x44f160===void 0x0||_0x44f160[_0x60de35(0x2e3)]()!==_0x60de35(0x1b1)){_0x1c9d77(this,_0x1a6b70,_0x5207a2,0x190,'Invalid\x20Upgrade\x20header');return;}if(_0x5b85a2===void 0x0||!_0x229655[_0x60de35(0x1e7)](_0x5b85a2)){_0x1c9d77(this,_0x1a6b70,_0x5207a2,0x190,_0x60de35(0x225));return;}if(_0x38ea4d!==0xd&&_0x38ea4d!==0x8){_0x1c9d77(this,_0x1a6b70,_0x5207a2,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header',{'Sec-WebSocket-Version':_0x60de35(0x279)});return;}if(!this[_0x60de35(0x1c8)](_0x1a6b70)){_0x3c072f(_0x5207a2,0x190);return;}const _0x136af5=_0x1a6b70[_0x60de35(0x2de)][_0x60de35(0x2d0)];let _0xf5cda9=new Set();if(_0x136af5!==void 0x0)try{_0xf5cda9=_0x1dbab1[_0x60de35(0x1a5)](_0x136af5);}catch{_0x1c9d77(this,_0x1a6b70,_0x5207a2,0x190,_0x60de35(0x1bd));return;}const _0x5ae990=_0x1a6b70[_0x60de35(0x2de)][_0x60de35(0x17c)],_0x988520={};if(this[_0x60de35(0x1ad)][_0x60de35(0x31b)]&&_0x5ae990!==void 0x0){const _0x121c2d=new _0x540ad2(this[_0x60de35(0x1ad)][_0x60de35(0x31b)],!0x0,this['options'][_0x60de35(0x2d7)]);try{const _0x354871=_0x3750d1[_0x60de35(0x1a5)](_0x5ae990);_0x354871[_0x540ad2[_0x60de35(0x2ee)]]&&(_0x121c2d['accept'](_0x354871[_0x540ad2[_0x60de35(0x2ee)]]),_0x988520[_0x540ad2[_0x60de35(0x2ee)]]=_0x121c2d);}catch{_0x1c9d77(this,_0x1a6b70,_0x5207a2,0x190,'Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header');return;}}if(this['options']['verifyClient']){const _0x3fd53a={'origin':_0x1a6b70[_0x60de35(0x2de)][''+(_0x38ea4d===0x8?_0x60de35(0x2bb):'origin')],'secure':!!(_0x1a6b70[_0x60de35(0x264)][_0x60de35(0x210)]||_0x1a6b70['socket'][_0x60de35(0x248)]),'req':_0x1a6b70};if(this[_0x60de35(0x1ad)]['verifyClient']['length']===0x2){this[_0x60de35(0x1ad)][_0x60de35(0x15d)](_0x3fd53a,(_0x4f5f79,_0x373bc7,_0x1e30cf,_0x4e8ff1)=>{if(!_0x4f5f79)return _0x3c072f(_0x5207a2,_0x373bc7||0x191,_0x1e30cf,_0x4e8ff1);this['completeUpgrade'](_0x988520,_0x5b85a2,_0xf5cda9,_0x1a6b70,_0x5207a2,_0x1e77d1,_0x1c6226);});return;}if(!this[_0x60de35(0x1ad)][_0x60de35(0x15d)](_0x3fd53a))return _0x3c072f(_0x5207a2,0x191);}this[_0x60de35(0x2d4)](_0x988520,_0x5b85a2,_0xf5cda9,_0x1a6b70,_0x5207a2,_0x1e77d1,_0x1c6226);}[_0x3e44d3(0x2d4)](_0x595a3f,_0x898ec7,_0x44dabe,_0x598e66,_0x4d5968,_0x398c3f,_0x4c7ecd){const _0x1a603c=_0x3e44d3;if(!_0x4d5968['readable']||!_0x4d5968[_0x1a603c(0x217)])return _0x4d5968[_0x1a603c(0x296)]();if(_0x4d5968[_0x3f0ba5])throw new Error(_0x1a603c(0x219));if(this[_0x1a603c(0x1fd)]>_0x18b4e3)return _0x3c072f(_0x4d5968,0x1f7);const _0x27cee2=[_0x1a603c(0x315),_0x1a603c(0x25f),_0x1a603c(0x2b1),_0x1a603c(0x2bc)+_0xef9393('sha1')['update'](_0x898ec7+_0x27273b)[_0x1a603c(0x167)]('base64')],_0x1c4de8=new this[(_0x1a603c(0x1ad))][(_0x1a603c(0x1d7))](null,void 0x0,this[_0x1a603c(0x1ad)]);if(_0x44dabe[_0x1a603c(0x176)]){const _0x142704=this['options'][_0x1a603c(0x18d)]?this[_0x1a603c(0x1ad)][_0x1a603c(0x18d)](_0x44dabe,_0x598e66):_0x44dabe[_0x1a603c(0x2c5)]()[_0x1a603c(0x31c)]()['value'];_0x142704&&(_0x27cee2['push'](_0x1a603c(0x1ab)+_0x142704),_0x1c4de8[_0x1a603c(0x31d)]=_0x142704);}if(_0x595a3f[_0x540ad2['extensionName']]){const _0x5a1cd7=_0x595a3f[_0x540ad2[_0x1a603c(0x2ee)]][_0x1a603c(0x17b)],_0x1e905b=_0x3750d1[_0x1a603c(0x255)]({[_0x540ad2[_0x1a603c(0x2ee)]]:[_0x5a1cd7]});_0x27cee2['push']('Sec-WebSocket-Extensions:\x20'+_0x1e905b),_0x1c4de8[_0x1a603c(0x206)]=_0x595a3f;}this[_0x1a603c(0x1c2)](_0x1a603c(0x2de),_0x27cee2,_0x598e66),_0x4d5968[_0x1a603c(0x169)](_0x27cee2[_0x1a603c(0x27b)]('\x0d\x0a')['join']('\x0d\x0a')),_0x4d5968[_0x1a603c(0x321)](_0x1a603c(0x1a1),_0x271d32),_0x1c4de8[_0x1a603c(0x161)](_0x4d5968,_0x398c3f,{'allowSynchronousEvents':this['options'][_0x1a603c(0x19c)],'maxPayload':this['options'][_0x1a603c(0x2d7)],'skipUTF8Validation':this['options'][_0x1a603c(0x21c)]}),this['clients']&&(this[_0x1a603c(0x180)]['add'](_0x1c4de8),_0x1c4de8['on'](_0x1a603c(0x1e2),()=>{const _0x35442b=_0x1a603c;this[_0x35442b(0x180)]['delete'](_0x1c4de8),this[_0x35442b(0x22e)]&&!this['clients'][_0x35442b(0x176)]&&process[_0x35442b(0x187)](_0x5eaa56,this);})),_0x4c7ecd(_0x1c4de8,_0x598e66);}}Te=_0x5e67eb;function _0x2ba277(_0x4528de,_0x380c1a){for(const _0x40dfb2 of Object['keys'](_0x380c1a))_0x4528de['on'](_0x40dfb2,_0x380c1a[_0x40dfb2]);return function(){const _0x2ce150=_0x58f7;for(const _0x12e4e3 of Object['keys'](_0x380c1a))_0x4528de[_0x2ce150(0x321)](_0x12e4e3,_0x380c1a[_0x12e4e3]);};}function _0x5eaa56(_0x2e6a2e){const _0x3db1a5=_0x3e44d3;_0x2e6a2e[_0x3db1a5(0x1fd)]=_0x466f36,_0x2e6a2e[_0x3db1a5(0x1c2)]('close');}function _0x271d32(){this['destroy']();}function _0x3c072f(_0x20ccbb,_0x5f27fe,_0x418add,_0x34d092){const _0x29d6ee=_0x3e44d3;_0x418add=_0x418add||_0xc0b045[_0x29d6ee(0x263)][_0x5f27fe],_0x34d092={'Connection':_0x29d6ee(0x1e2),'Content-Type':'text/html','Content-Length':Buffer[_0x29d6ee(0x270)](_0x418add),..._0x34d092},_0x20ccbb[_0x29d6ee(0x18a)]('finish',_0x20ccbb[_0x29d6ee(0x296)]),_0x20ccbb[_0x29d6ee(0x209)]('HTTP/1.1\x20'+_0x5f27fe+'\x20'+_0xc0b045[_0x29d6ee(0x263)][_0x5f27fe]+'\x0d\x0a'+Object[_0x29d6ee(0x294)](_0x34d092)[_0x29d6ee(0x29a)](_0x3032a1=>_0x3032a1+':\x20'+_0x34d092[_0x3032a1])[_0x29d6ee(0x1ef)]('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0x418add);}function _0x1c9d77(_0x18f0f0,_0x464899,_0x2dabbc,_0x34c956,_0x54024a,_0x34c1cc){const _0x41d553=_0x3e44d3;if(_0x18f0f0[_0x41d553(0x2a6)](_0x41d553(0x183))){const _0x176b05=new Error(_0x54024a);Error[_0x41d553(0x1dc)](_0x176b05,_0x1c9d77),_0x18f0f0['emit']('wsClientError',_0x176b05,_0x2dabbc,_0x464899);}else _0x3c072f(_0x2dabbc,_0x34c956,_0x54024a,_0x34c1cc);}return Te;}Ft();var jt=Object[_0xc18ba(0x192)],Wt=(_0x1f8c4e,_0x10f137,_0x2cdd90,_0x4130af)=>{const _0x331515=_0xc18ba;for(var _0x156fc9=_0x4130af>0x1?void 0x0:_0x4130af?jt(_0x10f137,_0x2cdd90):_0x10f137,_0x3df119=_0x1f8c4e[_0x331515(0x1e0)]-0x1,_0x6f9bef;_0x3df119>=0x0;_0x3df119--)(_0x6f9bef=_0x1f8c4e[_0x3df119])&&(_0x156fc9=_0x6f9bef(_0x156fc9)||_0x156fc9);return _0x156fc9;},qt=(_0x594edb,_0x4df9a2)=>(_0x5300c5,_0x1d0964)=>_0x4df9a2(_0x5300c5,_0x1d0964,_0x594edb);let ke=class extends A[_0xc18ba(0x1ae)]{constructor(_0x5a07fa){const _0x1b0bd0=_0xc18ba;super(),this[_0x1b0bd0(0x2cd)]=_0x5a07fa;}['createSocket'](_0x570750){const _0x2559c8=_0xc18ba;var _0x48f486;const _0x3fd68d=(_0x48f486=this[_0x2559c8(0x2cd)]['getConfig'](fe))==null?void 0x0:_0x48f486[_0x2559c8(0x2c4)];try{const _0x3ccf4b=new $t(_0x570750,{'headers':{..._0x3fd68d}}),_0x162a11=new A[(_0x2559c8(0x16d))]();return{'URL':_0x570750,'close':(_0x4bbf44,_0x5237c1)=>{const _0x3c2dd5=_0x2559c8;_0x3ccf4b[_0x3c2dd5(0x1e2)](_0x4bbf44,_0x5237c1),_0x162a11[_0x3c2dd5(0x2ab)]();},'send':_0x46fe20=>{const _0x275edb=_0x2559c8;_0x3ccf4b[_0x275edb(0x182)](_0x46fe20);},'open$':new V[(_0x2559c8(0x2e5))](_0x4f0ba1=>{const _0x51d41d=_0x2559c8,_0x22563e=_0x47cab2=>_0x4f0ba1['next'](_0x47cab2);_0x3ccf4b[_0x51d41d(0x1c1)](_0x51d41d(0x2f7),_0x22563e),_0x162a11[_0x51d41d(0x18c)](A['toDisposable'](()=>_0x3ccf4b[_0x51d41d(0x215)](_0x51d41d(0x2f7),_0x22563e)));})[_0x2559c8(0x28d)](V[_0x2559c8(0x278)]()),'close$':new V['Observable'](_0x1ce056=>{const _0x4e5166=_0x2559c8,_0x2a7f70=_0x5dade3=>_0x1ce056[_0x4e5166(0x31c)](_0x5dade3);_0x3ccf4b[_0x4e5166(0x1c1)](_0x4e5166(0x1e2),_0x2a7f70),_0x162a11[_0x4e5166(0x18c)](A['toDisposable'](()=>_0x3ccf4b[_0x4e5166(0x215)]('close',_0x2a7f70)));})[_0x2559c8(0x28d)](V['share']()),'error$':new V[(_0x2559c8(0x2e5))](_0x39f02f=>{const _0x339844=_0x2559c8,_0x10908b=_0x3c1288=>_0x39f02f[_0x339844(0x31c)](_0x3c1288);_0x3ccf4b[_0x339844(0x1c1)](_0x339844(0x1a1),_0x10908b),_0x162a11[_0x339844(0x18c)](A[_0x339844(0x24a)](()=>_0x3ccf4b[_0x339844(0x215)](_0x339844(0x1a1),_0x10908b)));})[_0x2559c8(0x28d)](V[_0x2559c8(0x278)]()),'message$':new V[(_0x2559c8(0x2e5))](_0x1fd93e=>{const _0x2655dd=_0x2559c8,_0x454b76=_0x47919f=>_0x1fd93e[_0x2655dd(0x31c)](_0x47919f);_0x3ccf4b[_0x2655dd(0x1c1)]('message',_0x454b76),_0x162a11[_0x2655dd(0x18c)](A[_0x2655dd(0x24a)](()=>_0x3ccf4b['removeEventListener'](_0x2655dd(0x237),_0x454b76)));})[_0x2559c8(0x28d)](V[_0x2559c8(0x278)]())};}catch(_0x3ca273){return console[_0x2559c8(0x1a1)](_0x3ca273),null;}}};ke=Wt([qt(0x0,A[_0xc18ba(0x2e0)])],ke);var Gt=Object[_0xc18ba(0x2db)],Vt=Object[_0xc18ba(0x192)],Ht=(_0xd9fe86,_0x187994,_0x140eff)=>_0x187994 in _0xd9fe86?Gt(_0xd9fe86,_0x187994,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x140eff}):_0xd9fe86[_0x187994]=_0x140eff,zt=(_0x5d228f,_0x4d8d4d,_0x2cb118,_0x3419ac)=>{const _0x36d266=_0xc18ba;for(var _0x222d45=_0x3419ac>0x1?void 0x0:_0x3419ac?Vt(_0x4d8d4d,_0x2cb118):_0x4d8d4d,_0x18d36a=_0x5d228f[_0x36d266(0x1e0)]-0x1,_0x31fa6b;_0x18d36a>=0x0;_0x18d36a--)(_0x31fa6b=_0x5d228f[_0x18d36a])&&(_0x222d45=_0x31fa6b(_0x222d45)||_0x222d45);return _0x222d45;},Ne=(_0x1e0c6,_0x113474)=>(_0x177864,_0x97772b)=>_0x113474(_0x177864,_0x97772b,_0x1e0c6),Yt=(_0x572e45,_0x477c48,_0x54644b)=>Ht(_0x572e45,_0x477c48+'',_0x54644b);exports[_0xc18ba(0x2d1)]=class extends A[_0xc18ba(0x1f5)]{constructor(_0x1b8d40=Ct,_0xb43d66,_0x4eb1d0,_0x15981c){const _0x57c8cb=_0xc18ba;_0x1b8d40[_0x57c8cb(0x2c4)]||_0xb43d66[_0x57c8cb(0x269)]('[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.'),super(),this['_configService']=_0x4eb1d0,this[_0x57c8cb(0x222)]=_0x15981c,this[_0x57c8cb(0x2cd)][_0x57c8cb(0x23a)](fe,_0x1b8d40);}['onStarting'](){this['_registerDependencies']();}[_0xc18ba(0x24f)](){const _0x120b20=_0xc18ba;A[_0x120b20(0x1d9)](this['_injector'],[[it[_0x120b20(0x2d6)],{'useClass':ke}]]);}},Yt(exports['UniverCollaborationClientNodePlugin'],_0xc18ba(0x234),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),exports[_0xc18ba(0x2d1)]=zt([A[_0xc18ba(0x17f)](st[_0xc18ba(0x21a)]),Ne(0x1,A[_0xc18ba(0x2c8)]),Ne(0x2,A[_0xc18ba(0x2e0)]),Ne(0x3,A['Inject'](A['Injector']))],exports[_0xc18ba(0x2d1)]);var Kt=Object['getOwnPropertyDescriptor'],Xt=(_0x1ff7bf,_0x1cadb2,_0x395d57,_0x1e27bf)=>{const _0x4f9137=_0xc18ba;for(var _0x30fb55=_0x1e27bf>0x1?void 0x0:_0x1e27bf?Kt(_0x1cadb2,_0x395d57):_0x1cadb2,_0x40ebdf=_0x1ff7bf[_0x4f9137(0x1e0)]-0x1,_0x1b39a5;_0x40ebdf>=0x0;_0x40ebdf--)(_0x1b39a5=_0x1ff7bf[_0x40ebdf])&&(_0x30fb55=_0x1b39a5(_0x30fb55)||_0x30fb55);return _0x30fb55;},ne=(_0x36ed6a,_0x1b71ef)=>(_0x2d04f6,_0x17e0ee)=>_0x1b71ef(_0x2d04f6,_0x17e0ee,_0x36ed6a);exports['NodeCollaborationSocketService']=class extends st[_0xc18ba(0x1c5)]{constructor(_0x1a88d3,_0x3e12cf,_0x46380e,_0x5ed838,_0x16b6fd){const _0x481a81=_0xc18ba;super(_0x1a88d3,_0x3e12cf,_0x46380e,_0x5ed838,_0x16b6fd);const _0x1ca81f=this['_configService'][_0x481a81(0x227)](fe);this['_httpService'][_0x481a81(0x2c7)]({'interceptor':(_0xc5d7ce,_0x1f76bc)=>{const _0x110e3b=_0x481a81;var _0x2502e2;const _0x2515d1=_0xc5d7ce[_0x110e3b(0x2de)];return(_0x2502e2=_0x1ca81f==null?void 0x0:_0x1ca81f[_0x110e3b(0x2c4)])!=null&&_0x2502e2['cookie']&&_0x2515d1[_0x110e3b(0x307)](_0x110e3b(0x1ec),_0x1ca81f['customHeaders'][_0x110e3b(0x275)]),_0x1f76bc(_0xc5d7ce);}});}async[_0xc18ba(0x2c9)](_0x11bb8c){const _0x2cc2a3=_0xc18ba;return this[_0x2cc2a3(0x1f2)](_0x11bb8c);}},exports[_0xc18ba(0x1d4)]=Xt([ne(0x0,A[_0xc18ba(0x15c)](A[_0xc18ba(0x2f8)])),ne(0x1,A[_0xc18ba(0x15c)](it[_0xc18ba(0x2f5)])),ne(0x2,A['IConfigService']),ne(0x3,A[_0xc18ba(0x2c8)]),ne(0x4,Ot['ISnapshotServerService'])],exports[_0xc18ba(0x1d4)]),exports[_0xc18ba(0x259)]=fe;
1
+ 'use strict';const _0x55ec8c=_0x39a1;(function(_0x54ff3b,_0x55030e){const _0x6f22ea=_0x39a1,_0x329617=_0x54ff3b();while(!![]){try{const _0x317624=-parseInt(_0x6f22ea(0x13b))/0x1*(-parseInt(_0x6f22ea(0x1e9))/0x2)+-parseInt(_0x6f22ea(0x18c))/0x3*(parseInt(_0x6f22ea(0x196))/0x4)+-parseInt(_0x6f22ea(0x193))/0x5+parseInt(_0x6f22ea(0x1a5))/0x6+-parseInt(_0x6f22ea(0x235))/0x7+-parseInt(_0x6f22ea(0x9c))/0x8+parseInt(_0x6f22ea(0x85))/0x9;if(_0x317624===_0x55030e)break;else _0x329617['push'](_0x329617['shift']());}catch(_0x3617f6){_0x329617['push'](_0x329617['shift']());}}}(_0x5d70,0x37dde));Object['defineProperty'](exports,Symbol[_0x55ec8c(0x21a)],{'value':'Module'});const st=require('@univerjs-pro/collaboration-client'),A=require('@univerjs/core'),it=require('@univerjs/network'),V=require('rxjs'),nt=require('events'),vt=require('https'),ot=require('http'),St=require('net'),Et=require('tls'),Le=require('crypto'),oe=require('stream'),xt=require('url'),bt=require('zlib'),wt=require('buffer'),Ot=require('@univerjs-pro/collaboration'),fe=_0x55ec8c(0x111),Ct={'customHeaders':{}};function Tt(_0x419e1c){const _0x3a4bb6=_0x55ec8c;return _0x419e1c&&_0x419e1c[_0x3a4bb6(0x8d)]&&Object[_0x3a4bb6(0x17f)]['hasOwnProperty'][_0x3a4bb6(0x1de)](_0x419e1c,_0x3a4bb6(0x112))?_0x419e1c[_0x3a4bb6(0x112)]:_0x419e1c;}function at(_0x2a110b){const _0x1766fb=_0x55ec8c;if(Object[_0x1766fb(0x17f)]['hasOwnProperty']['call'](_0x2a110b,_0x1766fb(0x8d)))return _0x2a110b;var _0x4de217=_0x2a110b[_0x1766fb(0x112)];if(typeof _0x4de217==_0x1766fb(0x188)){var _0x230bc9=function _0x302277(){var _0x17ef37=!0x1;try{_0x17ef37=this instanceof _0x302277;}catch{}return _0x17ef37?Reflect['construct'](_0x4de217,arguments,this['constructor']):_0x4de217['apply'](this,arguments);};_0x230bc9[_0x1766fb(0x17f)]=_0x4de217['prototype'];}else _0x230bc9={};return Object[_0x1766fb(0x1d9)](_0x230bc9,'__esModule',{'value':!0x0}),Object['keys'](_0x2a110b)['forEach'](function(_0x3d73fa){const _0x5ef299=_0x1766fb;var _0x2ca1bd=Object[_0x5ef299(0x12f)](_0x2a110b,_0x3d73fa);Object['defineProperty'](_0x230bc9,_0x3d73fa,_0x2ca1bd[_0x5ef299(0x245)]?_0x2ca1bd:{'enumerable':!0x0,'get':function(){return _0x2a110b[_0x3d73fa];}});}),_0x230bc9;}var se={'exports':{}},ge,Ge;function H(){const _0x4d9e70=_0x55ec8c;if(Ge)return ge;Ge=0x1;const _0x5e32b0=[_0x4d9e70(0x16e),_0x4d9e70(0x166),'fragments'],_0x1b7ed9=typeof Blob<'u';return _0x1b7ed9&&_0x5e32b0['push']('blob'),ge={'BINARY_TYPES':_0x5e32b0,'EMPTY_BUFFER':Buffer[_0x4d9e70(0x9d)](0x0),'GUID':_0x4d9e70(0x19c),'hasBlob':_0x1b7ed9,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol(_0x4d9e70(0xd2)),'kStatusCode':Symbol('status-code'),'kWebSocket':Symbol(_0x4d9e70(0x20f)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x55ec8c(0x17e)](Object['defineProperty']({'__proto__':null,'default':Nt},Symbol['toStringTag'],{'value':_0x55ec8c(0x1c5)})),Lt=at(kt);var Ve;function ce(){const _0x36fee6=_0x55ec8c;if(Ve)return se['exports'];Ve=0x1;const {EMPTY_BUFFER:_0x2c8d58}=H(),_0x51d704=Buffer[Symbol['species']];function _0x11cec8(_0x1a6b16,_0x2d29e8){const _0x136c6c=_0x39a1;if(_0x1a6b16['length']===0x0)return _0x2c8d58;if(_0x1a6b16['length']===0x1)return _0x1a6b16[0x0];const _0x59e70f=Buffer[_0x136c6c(0x1b6)](_0x2d29e8);let _0x466924=0x0;for(let _0x53c871=0x0;_0x53c871<_0x1a6b16[_0x136c6c(0x15e)];_0x53c871++){const _0x4a00f2=_0x1a6b16[_0x53c871];_0x59e70f[_0x136c6c(0x1f0)](_0x4a00f2,_0x466924),_0x466924+=_0x4a00f2[_0x136c6c(0x15e)];}return _0x466924<_0x2d29e8?new _0x51d704(_0x59e70f[_0x136c6c(0x164)],_0x59e70f[_0x136c6c(0x243)],_0x466924):_0x59e70f;}function _0x468de1(_0x6f6877,_0x32f6fe,_0x2b0685,_0x223b35,_0x48dec4){for(let _0x4154dd=0x0;_0x4154dd<_0x48dec4;_0x4154dd++)_0x2b0685[_0x223b35+_0x4154dd]=_0x6f6877[_0x4154dd]^_0x32f6fe[_0x4154dd&0x3];}function _0xf3deed(_0x54d5eb,_0x2cb4ce){const _0x139df2=_0x39a1;for(let _0x354803=0x0;_0x354803<_0x54d5eb[_0x139df2(0x15e)];_0x354803++)_0x54d5eb[_0x354803]^=_0x2cb4ce[_0x354803&0x3];}function _0x2dd548(_0x10060c){const _0xb69edf=_0x39a1;return _0x10060c[_0xb69edf(0x15e)]===_0x10060c[_0xb69edf(0x164)][_0xb69edf(0xb3)]?_0x10060c[_0xb69edf(0x164)]:_0x10060c[_0xb69edf(0x164)][_0xb69edf(0x10b)](_0x10060c['byteOffset'],_0x10060c[_0xb69edf(0x243)]+_0x10060c[_0xb69edf(0x15e)]);}function _0xda0879(_0x287b25){const _0x4ddfde=_0x39a1;if(_0xda0879[_0x4ddfde(0x22e)]=!0x0,Buffer[_0x4ddfde(0x1b0)](_0x287b25))return _0x287b25;let _0xe81aac;return _0x287b25 instanceof ArrayBuffer?_0xe81aac=new _0x51d704(_0x287b25):ArrayBuffer[_0x4ddfde(0x1ec)](_0x287b25)?_0xe81aac=new _0x51d704(_0x287b25[_0x4ddfde(0x164)],_0x287b25['byteOffset'],_0x287b25[_0x4ddfde(0xb3)]):(_0xe81aac=Buffer[_0x4ddfde(0x222)](_0x287b25),_0xda0879[_0x4ddfde(0x22e)]=!0x1),_0xe81aac;}if(se[_0x36fee6(0xec)]={'concat':_0x11cec8,'mask':_0x468de1,'toArrayBuffer':_0x2dd548,'toBuffer':_0xda0879,'unmask':_0xf3deed},!process[_0x36fee6(0x1d3)][_0x36fee6(0x9e)])try{const _0x8d9b2a=Lt;se['exports']['mask']=function(_0x16f99e,_0x62503b,_0x2b279e,_0x1f2f43,_0x235d2b){_0x235d2b<0x30?_0x468de1(_0x16f99e,_0x62503b,_0x2b279e,_0x1f2f43,_0x235d2b):_0x8d9b2a['mask'](_0x16f99e,_0x62503b,_0x2b279e,_0x1f2f43,_0x235d2b);},se['exports'][_0x36fee6(0xc2)]=function(_0x26d759,_0x23b222){const _0x5c4c1d=_0x36fee6;_0x26d759['length']<0x20?_0xf3deed(_0x26d759,_0x23b222):_0x8d9b2a[_0x5c4c1d(0xc2)](_0x26d759,_0x23b222);};}catch{}return se[_0x36fee6(0xec)];}var ye,He;function Pt(){const _0x64e545=_0x55ec8c;if(He)return ye;He=0x1;const _0x2b5ed4=Symbol(_0x64e545(0x155)),_0x2a1010=Symbol(_0x64e545(0x16a));class _0x5ef298{constructor(_0x4547bb){const _0x12e266=_0x64e545;this[_0x2b5ed4]=()=>{const _0x2ce65b=_0x39a1;this[_0x2ce65b(0x232)]--,this[_0x2a1010]();},this[_0x12e266(0xbf)]=_0x4547bb||0x1/0x0,this[_0x12e266(0x1e1)]=[],this[_0x12e266(0x232)]=0x0;}[_0x64e545(0x204)](_0x34e148){const _0x4d3319=_0x64e545;this[_0x4d3319(0x1e1)]['push'](_0x34e148),this[_0x2a1010]();}[_0x2a1010](){const _0x569b07=_0x64e545;if(this[_0x569b07(0x232)]!==this[_0x569b07(0xbf)]&&this[_0x569b07(0x1e1)][_0x569b07(0x15e)]){const _0x5d2c80=this['jobs']['shift']();this[_0x569b07(0x232)]++,_0x5d2c80(this[_0x2b5ed4]);}}}return ye=_0x5ef298,ye;}var ve,ze;function he(){const _0x3d3be7=_0x55ec8c;if(ze)return ve;ze=0x1;const _0x569e52=bt,_0x53fbfd=ce(),_0x33d1c8=Pt(),{kStatusCode:_0x35cbc8}=H(),_0x4c78d2=Buffer[Symbol[_0x3d3be7(0x205)]],_0x4601b4=Buffer[_0x3d3be7(0x222)]([0x0,0x0,0xff,0xff]),_0x276137=Symbol('permessage-deflate'),_0x18323f=Symbol(_0x3d3be7(0x89)),_0x20dc9e=Symbol(_0x3d3be7(0xe4)),_0x1e359e=Symbol(_0x3d3be7(0x237)),_0x3c6d2b=Symbol(_0x3d3be7(0x23a));let _0x13f2bd;class _0x1bb67c{constructor(_0x36a330,_0xeb90b2,_0x52b7e4){const _0x1e3079=_0x3d3be7;if(this[_0x1e3079(0x211)]=_0x52b7e4|0x0,this[_0x1e3079(0x145)]=_0x36a330||{},this['_threshold']=this[_0x1e3079(0x145)][_0x1e3079(0x207)]!==void 0x0?this['_options'][_0x1e3079(0x207)]:0x400,this[_0x1e3079(0x18f)]=!!_0xeb90b2,this[_0x1e3079(0xb9)]=null,this[_0x1e3079(0x86)]=null,this['params']=null,!_0x13f2bd){const _0x5f535a=this[_0x1e3079(0x145)][_0x1e3079(0x114)]!==void 0x0?this[_0x1e3079(0x145)][_0x1e3079(0x114)]:0xa;_0x13f2bd=new _0x33d1c8(_0x5f535a);}}static get['extensionName'](){const _0x4f03b8=_0x3d3be7;return _0x4f03b8(0xf0);}[_0x3d3be7(0x136)](){const _0x3204a7=_0x3d3be7,_0x4cc684={};return this['_options']['serverNoContextTakeover']&&(_0x4cc684[_0x3204a7(0x206)]=!0x0),this[_0x3204a7(0x145)][_0x3204a7(0x1f2)]&&(_0x4cc684['client_no_context_takeover']=!0x0),this[_0x3204a7(0x145)][_0x3204a7(0x15a)]&&(_0x4cc684[_0x3204a7(0x107)]=this['_options'][_0x3204a7(0x15a)]),this[_0x3204a7(0x145)][_0x3204a7(0xe5)]?_0x4cc684['client_max_window_bits']=this[_0x3204a7(0x145)]['clientMaxWindowBits']:this[_0x3204a7(0x145)][_0x3204a7(0xe5)]==null&&(_0x4cc684[_0x3204a7(0x1dc)]=!0x0),_0x4cc684;}[_0x3d3be7(0x96)](_0x5c3d9b){const _0x4cb4e5=_0x3d3be7;return _0x5c3d9b=this[_0x4cb4e5(0x19f)](_0x5c3d9b),this[_0x4cb4e5(0x195)]=this['_isServer']?this[_0x4cb4e5(0x224)](_0x5c3d9b):this[_0x4cb4e5(0x118)](_0x5c3d9b),this[_0x4cb4e5(0x195)];}['cleanup'](){const _0x2f2acd=_0x3d3be7;if(this['_inflate']&&(this[_0x2f2acd(0x86)][_0x2f2acd(0xd6)](),this['_inflate']=null),this['_deflate']){const _0x1bb36c=this['_deflate'][_0x20dc9e];this['_deflate'][_0x2f2acd(0xd6)](),this[_0x2f2acd(0xb9)]=null,_0x1bb36c&&_0x1bb36c(new Error(_0x2f2acd(0x1bc)));}}['acceptAsServer'](_0x1beab9){const _0x4288a6=_0x3d3be7,_0x494656=this['_options'],_0x243d47=_0x1beab9[_0x4288a6(0x229)](_0x21ee62=>!(_0x494656[_0x4288a6(0xc4)]===!0x1&&_0x21ee62[_0x4288a6(0x206)]||_0x21ee62[_0x4288a6(0x107)]&&(_0x494656[_0x4288a6(0x15a)]===!0x1||typeof _0x494656['serverMaxWindowBits']==_0x4288a6(0x13c)&&_0x494656[_0x4288a6(0x15a)]>_0x21ee62[_0x4288a6(0x107)])||typeof _0x494656[_0x4288a6(0xe5)]=='number'&&!_0x21ee62[_0x4288a6(0x1dc)]));if(!_0x243d47)throw new Error('None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted');return _0x494656[_0x4288a6(0xc4)]&&(_0x243d47[_0x4288a6(0x206)]=!0x0),_0x494656[_0x4288a6(0x1f2)]&&(_0x243d47[_0x4288a6(0xf6)]=!0x0),typeof _0x494656['serverMaxWindowBits']==_0x4288a6(0x13c)&&(_0x243d47[_0x4288a6(0x107)]=_0x494656[_0x4288a6(0x15a)]),typeof _0x494656[_0x4288a6(0xe5)]==_0x4288a6(0x13c)?_0x243d47[_0x4288a6(0x1dc)]=_0x494656['clientMaxWindowBits']:(_0x243d47[_0x4288a6(0x1dc)]===!0x0||_0x494656[_0x4288a6(0xe5)]===!0x1)&&delete _0x243d47[_0x4288a6(0x1dc)],_0x243d47;}[_0x3d3be7(0x118)](_0x45437c){const _0x4f51e6=_0x3d3be7,_0x4e9087=_0x45437c[0x0];if(this[_0x4f51e6(0x145)][_0x4f51e6(0x1f2)]===!0x1&&_0x4e9087[_0x4f51e6(0xf6)])throw new Error(_0x4f51e6(0x18e));if(!_0x4e9087['client_max_window_bits'])typeof this[_0x4f51e6(0x145)][_0x4f51e6(0xe5)]=='number'&&(_0x4e9087['client_max_window_bits']=this[_0x4f51e6(0x145)][_0x4f51e6(0xe5)]);else{if(this[_0x4f51e6(0x145)][_0x4f51e6(0xe5)]===!0x1||typeof this['_options']['clientMaxWindowBits']=='number'&&_0x4e9087[_0x4f51e6(0x1dc)]>this['_options'][_0x4f51e6(0xe5)])throw new Error(_0x4f51e6(0x20b));}return _0x4e9087;}[_0x3d3be7(0x19f)](_0x31414d){const _0x27740f=_0x3d3be7;return _0x31414d[_0x27740f(0x1a1)](_0x5a3297=>{const _0x1f63ee=_0x27740f;Object['keys'](_0x5a3297)[_0x1f63ee(0x1a1)](_0x1c01f3=>{const _0x182a37=_0x1f63ee;let _0x3c1438=_0x5a3297[_0x1c01f3];if(_0x3c1438['length']>0x1)throw new Error(_0x182a37(0x1f4)+_0x1c01f3+'\x22\x20must\x20have\x20only\x20a\x20single\x20value');if(_0x3c1438=_0x3c1438[0x0],_0x1c01f3==='client_max_window_bits'){if(_0x3c1438!==!0x0){const _0x3aa560=+_0x3c1438;if(!Number[_0x182a37(0xcd)](_0x3aa560)||_0x3aa560<0x8||_0x3aa560>0xf)throw new TypeError(_0x182a37(0x248)+_0x1c01f3+_0x182a37(0xe9)+_0x3c1438);_0x3c1438=_0x3aa560;}else{if(!this[_0x182a37(0x18f)])throw new TypeError(_0x182a37(0x248)+_0x1c01f3+'\x22:\x20'+_0x3c1438);}}else{if(_0x1c01f3===_0x182a37(0x107)){const _0x3ec418=+_0x3c1438;if(!Number['isInteger'](_0x3ec418)||_0x3ec418<0x8||_0x3ec418>0xf)throw new TypeError(_0x182a37(0x248)+_0x1c01f3+_0x182a37(0xe9)+_0x3c1438);_0x3c1438=_0x3ec418;}else{if(_0x1c01f3===_0x182a37(0xf6)||_0x1c01f3===_0x182a37(0x206)){if(_0x3c1438!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x1c01f3+_0x182a37(0xe9)+_0x3c1438);}else throw new Error(_0x182a37(0x151)+_0x1c01f3+'\x22');}}_0x5a3297[_0x1c01f3]=_0x3c1438;});}),_0x31414d;}['decompress'](_0x171a91,_0x347c18,_0x5eef89){const _0x275eb2=_0x3d3be7;_0x13f2bd[_0x275eb2(0x204)](_0x59ad00=>{this['_decompress'](_0x171a91,_0x347c18,(_0x96155f,_0x43a482)=>{_0x59ad00(),_0x5eef89(_0x96155f,_0x43a482);});});}[_0x3d3be7(0x201)](_0xd0afaf,_0x31e0d3,_0x1c1f03){const _0x3c946b=_0x3d3be7;_0x13f2bd[_0x3c946b(0x204)](_0x3e5abe=>{const _0x37deef=_0x3c946b;this[_0x37deef(0xa8)](_0xd0afaf,_0x31e0d3,(_0xa8944c,_0x1f010c)=>{_0x3e5abe(),_0x1c1f03(_0xa8944c,_0x1f010c);});});}[_0x3d3be7(0x117)](_0x15503d,_0x32488f,_0x5e6970){const _0x34d69f=_0x3d3be7,_0x500cf5=this[_0x34d69f(0x18f)]?'client':'server';if(!this[_0x34d69f(0x86)]){const _0x1d51a9=_0x500cf5+'_max_window_bits',_0xaeba1a=typeof this[_0x34d69f(0x195)][_0x1d51a9]!='number'?_0x569e52[_0x34d69f(0xa4)]:this['params'][_0x1d51a9];this[_0x34d69f(0x86)]=_0x569e52[_0x34d69f(0xfd)]({...this[_0x34d69f(0x145)]['zlibInflateOptions'],'windowBits':_0xaeba1a}),this[_0x34d69f(0x86)][_0x276137]=this,this[_0x34d69f(0x86)][_0x18323f]=0x0,this[_0x34d69f(0x86)][_0x1e359e]=[],this[_0x34d69f(0x86)]['on']('error',_0x469c39),this['_inflate']['on'](_0x34d69f(0x17b),_0x1a552d);}this['_inflate'][_0x20dc9e]=_0x5e6970,this[_0x34d69f(0x86)][_0x34d69f(0xae)](_0x15503d),_0x32488f&&this[_0x34d69f(0x86)][_0x34d69f(0xae)](_0x4601b4),this[_0x34d69f(0x86)][_0x34d69f(0x123)](()=>{const _0x38016b=_0x34d69f,_0x372d05=this['_inflate'][_0x3c6d2b];if(_0x372d05){this['_inflate']['close'](),this[_0x38016b(0x86)]=null,_0x5e6970(_0x372d05);return;}const _0x117e39=_0x53fbfd[_0x38016b(0x216)](this[_0x38016b(0x86)][_0x1e359e],this[_0x38016b(0x86)][_0x18323f]);this['_inflate']['_readableState'][_0x38016b(0x150)]?(this['_inflate'][_0x38016b(0xd6)](),this[_0x38016b(0x86)]=null):(this['_inflate'][_0x18323f]=0x0,this[_0x38016b(0x86)][_0x1e359e]=[],_0x32488f&&this['params'][_0x500cf5+_0x38016b(0xbe)]&&this[_0x38016b(0x86)][_0x38016b(0x22b)]()),_0x5e6970(null,_0x117e39);});}['_compress'](_0x331d71,_0xa75a98,_0x3b7c81){const _0x1833c7=_0x3d3be7,_0x18f7c9=this['_isServer']?_0x1833c7(0x20d):_0x1833c7(0x215);if(!this['_deflate']){const _0x2f3788=_0x18f7c9+_0x1833c7(0x108),_0x83ae3b=typeof this[_0x1833c7(0x195)][_0x2f3788]!=_0x1833c7(0x13c)?_0x569e52[_0x1833c7(0xa4)]:this[_0x1833c7(0x195)][_0x2f3788];this['_deflate']=_0x569e52['createDeflateRaw']({...this[_0x1833c7(0x145)][_0x1833c7(0xdc)],'windowBits':_0x83ae3b}),this[_0x1833c7(0xb9)][_0x18323f]=0x0,this[_0x1833c7(0xb9)][_0x1e359e]=[],this[_0x1833c7(0xb9)]['on'](_0x1833c7(0x17b),_0x1dbf0b);}this['_deflate'][_0x20dc9e]=_0x3b7c81,this[_0x1833c7(0xb9)][_0x1833c7(0xae)](_0x331d71),this[_0x1833c7(0xb9)][_0x1833c7(0x123)](_0x569e52['Z_SYNC_FLUSH'],()=>{const _0x521298=_0x1833c7;if(!this[_0x521298(0xb9)])return;let _0x59cf37=_0x53fbfd[_0x521298(0x216)](this[_0x521298(0xb9)][_0x1e359e],this['_deflate'][_0x18323f]);_0xa75a98&&(_0x59cf37=new _0x4c78d2(_0x59cf37['buffer'],_0x59cf37['byteOffset'],_0x59cf37['length']-0x4)),this['_deflate'][_0x20dc9e]=null,this[_0x521298(0xb9)][_0x18323f]=0x0,this[_0x521298(0xb9)][_0x1e359e]=[],_0xa75a98&&this[_0x521298(0x195)][_0x18f7c9+_0x521298(0xbe)]&&this[_0x521298(0xb9)][_0x521298(0x22b)](),_0x3b7c81(null,_0x59cf37);});}}ve=_0x1bb67c;function _0x1dbf0b(_0x2800ee){const _0x134c65=_0x3d3be7;this[_0x1e359e][_0x134c65(0xcb)](_0x2800ee),this[_0x18323f]+=_0x2800ee[_0x134c65(0x15e)];}function _0x1a552d(_0x2f5f42){const _0x46313c=_0x3d3be7;if(this[_0x18323f]+=_0x2f5f42[_0x46313c(0x15e)],this[_0x276137][_0x46313c(0x211)]<0x1||this[_0x18323f]<=this[_0x276137][_0x46313c(0x211)]){this[_0x1e359e][_0x46313c(0xcb)](_0x2f5f42);return;}this[_0x3c6d2b]=new RangeError(_0x46313c(0xce)),this[_0x3c6d2b][_0x46313c(0x1b1)]=_0x46313c(0xa0),this[_0x3c6d2b][_0x35cbc8]=0x3f1,this['removeListener'](_0x46313c(0x17b),_0x1a552d),this[_0x46313c(0x22b)]();}function _0x469c39(_0x473ca0){if(this[_0x276137]['_inflate']=null,this[_0x3c6d2b]){this[_0x20dc9e](this[_0x3c6d2b]);return;}_0x473ca0[_0x35cbc8]=0x3ef,this[_0x20dc9e](_0x473ca0);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object['freeze'](Object[_0x55ec8c(0x1d9)]({'__proto__':null,'default':Dt},Symbol[_0x55ec8c(0x21a)],{'value':_0x55ec8c(0x1c5)})),Bt=at(Rt);var Ye;function ae(){const _0x128a88=_0x55ec8c;if(Ye)return ie[_0x128a88(0xec)];Ye=0x1;const {isUtf8:_0x2a11ed}=wt,{hasBlob:_0x146190}=H(),_0x3cd583=[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 _0x3c69f5(_0x319693){return _0x319693>=0x3e8&&_0x319693<=0x3f6&&_0x319693!==0x3ec&&_0x319693!==0x3ed&&_0x319693!==0x3ee||_0x319693>=0xbb8&&_0x319693<=0x1387;}function _0x32ce9c(_0x12876c){const _0x9f36a9=_0x128a88,_0xe2a908=_0x12876c[_0x9f36a9(0x15e)];let _0x40e1dc=0x0;for(;_0x40e1dc<_0xe2a908;)if((_0x12876c[_0x40e1dc]&0x80)===0x0)_0x40e1dc++;else{if((_0x12876c[_0x40e1dc]&0xe0)===0xc0){if(_0x40e1dc+0x1===_0xe2a908||(_0x12876c[_0x40e1dc+0x1]&0xc0)!==0x80||(_0x12876c[_0x40e1dc]&0xfe)===0xc0)return!0x1;_0x40e1dc+=0x2;}else{if((_0x12876c[_0x40e1dc]&0xf0)===0xe0){if(_0x40e1dc+0x2>=_0xe2a908||(_0x12876c[_0x40e1dc+0x1]&0xc0)!==0x80||(_0x12876c[_0x40e1dc+0x2]&0xc0)!==0x80||_0x12876c[_0x40e1dc]===0xe0&&(_0x12876c[_0x40e1dc+0x1]&0xe0)===0x80||_0x12876c[_0x40e1dc]===0xed&&(_0x12876c[_0x40e1dc+0x1]&0xe0)===0xa0)return!0x1;_0x40e1dc+=0x3;}else{if((_0x12876c[_0x40e1dc]&0xf8)===0xf0){if(_0x40e1dc+0x3>=_0xe2a908||(_0x12876c[_0x40e1dc+0x1]&0xc0)!==0x80||(_0x12876c[_0x40e1dc+0x2]&0xc0)!==0x80||(_0x12876c[_0x40e1dc+0x3]&0xc0)!==0x80||_0x12876c[_0x40e1dc]===0xf0&&(_0x12876c[_0x40e1dc+0x1]&0xf0)===0x80||_0x12876c[_0x40e1dc]===0xf4&&_0x12876c[_0x40e1dc+0x1]>0x8f||_0x12876c[_0x40e1dc]>0xf4)return!0x1;_0x40e1dc+=0x4;}else return!0x1;}}}return!0x0;}function _0x587c76(_0x29cd32){const _0x562c63=_0x128a88;return _0x146190&&typeof _0x29cd32==_0x562c63(0x8c)&&typeof _0x29cd32[_0x562c63(0x236)]==_0x562c63(0x188)&&typeof _0x29cd32[_0x562c63(0x1b3)]==_0x562c63(0x12e)&&typeof _0x29cd32[_0x562c63(0x1af)]==_0x562c63(0x188)&&(_0x29cd32[Symbol[_0x562c63(0x21a)]]===_0x562c63(0x1fb)||_0x29cd32[Symbol[_0x562c63(0x21a)]]===_0x562c63(0x1d4));}if(ie[_0x128a88(0xec)]={'isBlob':_0x587c76,'isValidStatusCode':_0x3c69f5,'isValidUTF8':_0x32ce9c,'tokenChars':_0x3cd583},_0x2a11ed)ie['exports']['isValidUTF8']=function(_0x5b1297){const _0x2946a6=_0x128a88;return _0x5b1297[_0x2946a6(0x15e)]<0x18?_0x32ce9c(_0x5b1297):_0x2a11ed(_0x5b1297);};else{if(!process[_0x128a88(0x1d3)]['WS_NO_UTF_8_VALIDATE'])try{const _0x15cedb=Bt;ie[_0x128a88(0xec)]['isValidUTF8']=function(_0x5d96f9){const _0x2a8240=_0x128a88;return _0x5d96f9[_0x2a8240(0x15e)]<0x20?_0x32ce9c(_0x5d96f9):_0x15cedb(_0x5d96f9);};}catch{}}return ie['exports'];}var Se,Ke;function lt(){const _0x33840a=_0x55ec8c;if(Ke)return Se;Ke=0x1;const {Writable:_0x25a6c9}=oe,_0x47f220=he(),{BINARY_TYPES:_0x37455f,EMPTY_BUFFER:_0x1090d0,kStatusCode:_0x4a2ba5,kWebSocket:_0x5ba4ee}=H(),{concat:_0x573ade,toArrayBuffer:_0x315bc2,unmask:_0x295164}=ce(),{isValidStatusCode:_0x54d4d5,isValidUTF8:_0x3eb356}=ae(),_0x12654f=Buffer[Symbol['species']],_0xe72cfa=0x0,_0x27bd38=0x1,_0xbd7bbc=0x2,_0x110198=0x3,_0x48b406=0x4,_0x1c6bf6=0x5,_0x3cf776=0x6;class _0x2c086f extends _0x25a6c9{constructor(_0x2f46a9={}){const _0x35a294=_0x39a1;super(),this[_0x35a294(0x98)]=_0x2f46a9['allowSynchronousEvents']!==void 0x0?_0x2f46a9[_0x35a294(0x1a8)]:!0x0,this[_0x35a294(0x1e8)]=_0x2f46a9[_0x35a294(0x13a)]||_0x37455f[0x0],this['_extensions']=_0x2f46a9['extensions']||{},this[_0x35a294(0x18f)]=!!_0x2f46a9['isServer'],this[_0x35a294(0x211)]=_0x2f46a9[_0x35a294(0xf4)]|0x0,this[_0x35a294(0x23e)]=!!_0x2f46a9[_0x35a294(0x141)],this[_0x5ba4ee]=void 0x0,this['_bufferedBytes']=0x0,this[_0x35a294(0xf5)]=[],this[_0x35a294(0x1e0)]=!0x1,this[_0x35a294(0x125)]=0x0,this['_mask']=void 0x0,this[_0x35a294(0x109)]=0x0,this['_masked']=!0x1,this[_0x35a294(0xe1)]=!0x1,this['_opcode']=0x0,this[_0x35a294(0x162)]=0x0,this['_messageLength']=0x0,this[_0x35a294(0xa6)]=[],this['_errored']=!0x1,this[_0x35a294(0xb0)]=!0x1,this[_0x35a294(0x190)]=_0xe72cfa;}['_write'](_0x2586ea,_0x6877bd,_0x199df0){const _0xe8cb1=_0x39a1;if(this[_0xe8cb1(0x93)]===0x8&&this[_0xe8cb1(0x190)]==_0xe72cfa)return _0x199df0();this['_bufferedBytes']+=_0x2586ea['length'],this[_0xe8cb1(0xf5)][_0xe8cb1(0xcb)](_0x2586ea),this[_0xe8cb1(0x175)](_0x199df0);}['consume'](_0x220782){const _0x38e225=_0x39a1;if(this[_0x38e225(0xa5)]-=_0x220782,_0x220782===this['_buffers'][0x0][_0x38e225(0x15e)])return this['_buffers']['shift']();if(_0x220782<this[_0x38e225(0xf5)][0x0]['length']){const _0x550719=this[_0x38e225(0xf5)][0x0];return this[_0x38e225(0xf5)][0x0]=new _0x12654f(_0x550719[_0x38e225(0x164)],_0x550719['byteOffset']+_0x220782,_0x550719[_0x38e225(0x15e)]-_0x220782),new _0x12654f(_0x550719[_0x38e225(0x164)],_0x550719['byteOffset'],_0x220782);}const _0x1a90b1=Buffer[_0x38e225(0x1b6)](_0x220782);do{const _0x413181=this[_0x38e225(0xf5)][0x0],_0x5b2119=_0x1a90b1[_0x38e225(0x15e)]-_0x220782;_0x220782>=_0x413181[_0x38e225(0x15e)]?_0x1a90b1[_0x38e225(0x1f0)](this[_0x38e225(0xf5)][_0x38e225(0x18b)](),_0x5b2119):(_0x1a90b1['set'](new Uint8Array(_0x413181[_0x38e225(0x164)],_0x413181[_0x38e225(0x243)],_0x220782),_0x5b2119),this[_0x38e225(0xf5)][0x0]=new _0x12654f(_0x413181[_0x38e225(0x164)],_0x413181[_0x38e225(0x243)]+_0x220782,_0x413181['length']-_0x220782)),_0x220782-=_0x413181[_0x38e225(0x15e)];}while(_0x220782>0x0);return _0x1a90b1;}[_0x33840a(0x175)](_0x4e651b){const _0x1736b7=_0x33840a;this[_0x1736b7(0xb0)]=!0x0;do switch(this[_0x1736b7(0x190)]){case _0xe72cfa:this[_0x1736b7(0x1a6)](_0x4e651b);break;case _0x27bd38:this['getPayloadLength16'](_0x4e651b);break;case _0xbd7bbc:this[_0x1736b7(0x1bb)](_0x4e651b);break;case _0x110198:this[_0x1736b7(0x18d)]();break;case _0x48b406:this[_0x1736b7(0x1fa)](_0x4e651b);break;case _0x1c6bf6:case _0x3cf776:this['_loop']=!0x1;return;}while(this[_0x1736b7(0xb0)]);this[_0x1736b7(0xf3)]||_0x4e651b();}[_0x33840a(0x1a6)](_0x22681f){const _0x316109=_0x33840a;if(this[_0x316109(0xa5)]<0x2){this['_loop']=!0x1;return;}const _0x15796f=this[_0x316109(0xfb)](0x2);if((_0x15796f[0x0]&0x30)!==0x0){const _0x1da163=this[_0x316109(0x103)](RangeError,_0x316109(0x1b4),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0x22681f(_0x1da163);return;}const _0x27aea8=(_0x15796f[0x0]&0x40)===0x40;if(_0x27aea8&&!this[_0x316109(0x184)][_0x47f220[_0x316109(0xf2)]]){const _0x4c2ff5=this[_0x316109(0x103)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x22681f(_0x4c2ff5);return;}if(this[_0x316109(0xe1)]=(_0x15796f[0x0]&0x80)===0x80,this[_0x316109(0x93)]=_0x15796f[0x0]&0xf,this[_0x316109(0x125)]=_0x15796f[0x1]&0x7f,this[_0x316109(0x93)]===0x0){if(_0x27aea8){const _0x42c71b=this[_0x316109(0x103)](RangeError,_0x316109(0x1ad),!0x0,0x3ea,_0x316109(0x1b9));_0x22681f(_0x42c71b);return;}if(!this['_fragmented']){const _0x1a8cfe=this['createError'](RangeError,_0x316109(0x1ba),!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x22681f(_0x1a8cfe);return;}this[_0x316109(0x93)]=this[_0x316109(0x109)];}else{if(this[_0x316109(0x93)]===0x1||this[_0x316109(0x93)]===0x2){if(this[_0x316109(0x109)]){const _0x50338d=this[_0x316109(0x103)](RangeError,_0x316109(0x13e)+this['_opcode'],!0x0,0x3ea,_0x316109(0x1a9));_0x22681f(_0x50338d);return;}this[_0x316109(0x1e0)]=_0x27aea8;}else{if(this[_0x316109(0x93)]>0x7&&this[_0x316109(0x93)]<0xb){if(!this[_0x316109(0xe1)]){const _0x4096d7=this[_0x316109(0x103)](RangeError,_0x316109(0x240),!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0x22681f(_0x4096d7);return;}if(_0x27aea8){const _0x5a6af2=this[_0x316109(0x103)](RangeError,_0x316109(0x1ad),!0x0,0x3ea,_0x316109(0x1b9));_0x22681f(_0x5a6af2);return;}if(this['_payloadLength']>0x7d||this['_opcode']===0x8&&this[_0x316109(0x125)]===0x1){const _0x3521f9=this[_0x316109(0x103)](RangeError,'invalid\x20payload\x20length\x20'+this[_0x316109(0x125)],!0x0,0x3ea,_0x316109(0x1d7));_0x22681f(_0x3521f9);return;}}else{const _0x5a3b0f=this[_0x316109(0x103)](RangeError,_0x316109(0x13e)+this[_0x316109(0x93)],!0x0,0x3ea,_0x316109(0x1a9));_0x22681f(_0x5a3b0f);return;}}}if(!this[_0x316109(0xe1)]&&!this[_0x316109(0x109)]&&(this['_fragmented']=this[_0x316109(0x93)]),this[_0x316109(0x179)]=(_0x15796f[0x1]&0x80)===0x80,this[_0x316109(0x18f)]){if(!this[_0x316109(0x179)]){const _0x4e004b=this[_0x316109(0x103)](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,_0x316109(0x106));_0x22681f(_0x4e004b);return;}}else{if(this['_masked']){const _0x341234=this['createError'](RangeError,_0x316109(0x12c),!0x0,0x3ea,_0x316109(0x1f6));_0x22681f(_0x341234);return;}}this['_payloadLength']===0x7e?this['_state']=_0x27bd38:this[_0x316109(0x125)]===0x7f?this[_0x316109(0x190)]=_0xbd7bbc:this['haveLength'](_0x22681f);}[_0x33840a(0x19e)](_0x4cd730){const _0x398da8=_0x33840a;if(this[_0x398da8(0xa5)]<0x2){this[_0x398da8(0xb0)]=!0x1;return;}this[_0x398da8(0x125)]=this[_0x398da8(0xfb)](0x2)[_0x398da8(0xee)](0x0),this[_0x398da8(0x1db)](_0x4cd730);}['getPayloadLength64'](_0x10d96c){const _0x2d2434=_0x33840a;if(this['_bufferedBytes']<0x8){this[_0x2d2434(0xb0)]=!0x1;return;}const _0xeac240=this['consume'](0x8),_0x20f182=_0xeac240[_0x2d2434(0x17a)](0x0);if(_0x20f182>Math[_0x2d2434(0xd3)](0x2,0x15)-0x1){const _0x1227b6=this[_0x2d2434(0x103)](RangeError,_0x2d2434(0x1fe),!0x1,0x3f1,_0x2d2434(0x170));_0x10d96c(_0x1227b6);return;}this[_0x2d2434(0x125)]=_0x20f182*Math[_0x2d2434(0xd3)](0x2,0x20)+_0xeac240[_0x2d2434(0x17a)](0x4),this[_0x2d2434(0x1db)](_0x10d96c);}[_0x33840a(0x1db)](_0x37e82d){const _0x39ad8=_0x33840a;if(this[_0x39ad8(0x125)]&&this[_0x39ad8(0x93)]<0x8&&(this[_0x39ad8(0x162)]+=this[_0x39ad8(0x125)],this[_0x39ad8(0x162)]>this['_maxPayload']&&this['_maxPayload']>0x0)){const _0x3c1ead=this[_0x39ad8(0x103)](RangeError,_0x39ad8(0xce),!0x1,0x3f1,_0x39ad8(0xa0));_0x37e82d(_0x3c1ead);return;}this[_0x39ad8(0x179)]?this[_0x39ad8(0x190)]=_0x110198:this[_0x39ad8(0x190)]=_0x48b406;}[_0x33840a(0x18d)](){const _0x56a074=_0x33840a;if(this[_0x56a074(0xa5)]<0x4){this[_0x56a074(0xb0)]=!0x1;return;}this['_mask']=this['consume'](0x4),this[_0x56a074(0x190)]=_0x48b406;}['getData'](_0x56c970){const _0x396991=_0x33840a;let _0x5c5d82=_0x1090d0;if(this[_0x396991(0x125)]){if(this['_bufferedBytes']<this[_0x396991(0x125)]){this[_0x396991(0xb0)]=!0x1;return;}_0x5c5d82=this[_0x396991(0xfb)](this['_payloadLength']),this['_masked']&&(this[_0x396991(0x148)][0x0]|this[_0x396991(0x148)][0x1]|this['_mask'][0x2]|this['_mask'][0x3])!==0x0&&_0x295164(_0x5c5d82,this['_mask']);}if(this['_opcode']>0x7){this[_0x396991(0x167)](_0x5c5d82,_0x56c970);return;}if(this[_0x396991(0x1e0)]){this['_state']=_0x1c6bf6,this[_0x396991(0x246)](_0x5c5d82,_0x56c970);return;}_0x5c5d82[_0x396991(0x15e)]&&(this[_0x396991(0x1e3)]=this[_0x396991(0x162)],this[_0x396991(0xa6)][_0x396991(0xcb)](_0x5c5d82)),this[_0x396991(0x1c9)](_0x56c970);}[_0x33840a(0x246)](_0x3d588e,_0x1f0c27){const _0x16eac5=_0x33840a;this['_extensions'][_0x47f220[_0x16eac5(0xf2)]]['decompress'](_0x3d588e,this[_0x16eac5(0xe1)],(_0x3ebed1,_0x1c4da0)=>{const _0x4dca3b=_0x16eac5;if(_0x3ebed1)return _0x1f0c27(_0x3ebed1);if(_0x1c4da0[_0x4dca3b(0x15e)]){if(this['_messageLength']+=_0x1c4da0[_0x4dca3b(0x15e)],this[_0x4dca3b(0x1e3)]>this[_0x4dca3b(0x211)]&&this[_0x4dca3b(0x211)]>0x0){const _0x49ab30=this[_0x4dca3b(0x103)](RangeError,_0x4dca3b(0xce),!0x1,0x3f1,_0x4dca3b(0xa0));_0x1f0c27(_0x49ab30);return;}this[_0x4dca3b(0xa6)]['push'](_0x1c4da0);}this[_0x4dca3b(0x1c9)](_0x1f0c27),this[_0x4dca3b(0x190)]===_0xe72cfa&&this[_0x4dca3b(0x175)](_0x1f0c27);});}['dataMessage'](_0x19b3d2){const _0x5f2519=_0x33840a;if(!this[_0x5f2519(0xe1)]){this[_0x5f2519(0x190)]=_0xe72cfa;return;}const _0x32c6d7=this[_0x5f2519(0x1e3)],_0x1fa1af=this[_0x5f2519(0xa6)];if(this[_0x5f2519(0x162)]=0x0,this[_0x5f2519(0x1e3)]=0x0,this['_fragmented']=0x0,this[_0x5f2519(0xa6)]=[],this['_opcode']===0x2){let _0x1b98e3;this[_0x5f2519(0x1e8)]==='nodebuffer'?_0x1b98e3=_0x573ade(_0x1fa1af,_0x32c6d7):this[_0x5f2519(0x1e8)]===_0x5f2519(0x166)?_0x1b98e3=_0x315bc2(_0x573ade(_0x1fa1af,_0x32c6d7)):this[_0x5f2519(0x1e8)]===_0x5f2519(0xaf)?_0x1b98e3=new Blob(_0x1fa1af):_0x1b98e3=_0x1fa1af,this[_0x5f2519(0x98)]?(this['emit'](_0x5f2519(0x147),_0x1b98e3,!0x0),this['_state']=_0xe72cfa):(this[_0x5f2519(0x190)]=_0x3cf776,setImmediate(()=>{const _0x157eeb=_0x5f2519;this['emit']('message',_0x1b98e3,!0x0),this['_state']=_0xe72cfa,this[_0x157eeb(0x175)](_0x19b3d2);}));}else{const _0x5448f7=_0x573ade(_0x1fa1af,_0x32c6d7);if(!this['_skipUTF8Validation']&&!_0x3eb356(_0x5448f7)){const _0x1d9cbb=this[_0x5f2519(0x103)](Error,_0x5f2519(0x21b),!0x0,0x3ef,_0x5f2519(0xf9));_0x19b3d2(_0x1d9cbb);return;}this[_0x5f2519(0x190)]===_0x1c6bf6||this[_0x5f2519(0x98)]?(this['emit']('message',_0x5448f7,!0x1),this[_0x5f2519(0x190)]=_0xe72cfa):(this[_0x5f2519(0x190)]=_0x3cf776,setImmediate(()=>{const _0x104376=_0x5f2519;this[_0x104376(0x101)](_0x104376(0x147),_0x5448f7,!0x1),this[_0x104376(0x190)]=_0xe72cfa,this[_0x104376(0x175)](_0x19b3d2);}));}}[_0x33840a(0x167)](_0x4b09b1,_0x45af39){const _0x335fd8=_0x33840a;if(this[_0x335fd8(0x93)]===0x8){if(_0x4b09b1[_0x335fd8(0x15e)]===0x0)this['_loop']=!0x1,this[_0x335fd8(0x101)](_0x335fd8(0xef),0x3ed,_0x1090d0),this[_0x335fd8(0x1df)]();else{const _0x73fe7f=_0x4b09b1[_0x335fd8(0xee)](0x0);if(!_0x54d4d5(_0x73fe7f)){const _0x3af362=this[_0x335fd8(0x103)](RangeError,_0x335fd8(0xd8)+_0x73fe7f,!0x0,0x3ea,_0x335fd8(0x1da));_0x45af39(_0x3af362);return;}const _0x30761a=new _0x12654f(_0x4b09b1[_0x335fd8(0x164)],_0x4b09b1[_0x335fd8(0x243)]+0x2,_0x4b09b1[_0x335fd8(0x15e)]-0x2);if(!this[_0x335fd8(0x23e)]&&!_0x3eb356(_0x30761a)){const _0x9f6b6=this[_0x335fd8(0x103)](Error,_0x335fd8(0x21b),!0x0,0x3ef,_0x335fd8(0xf9));_0x45af39(_0x9f6b6);return;}this[_0x335fd8(0xb0)]=!0x1,this[_0x335fd8(0x101)]('conclude',_0x73fe7f,_0x30761a),this[_0x335fd8(0x1df)]();}this[_0x335fd8(0x190)]=_0xe72cfa;return;}this[_0x335fd8(0x98)]?(this['emit'](this[_0x335fd8(0x93)]===0x9?_0x335fd8(0x217):_0x335fd8(0x10c),_0x4b09b1),this['_state']=_0xe72cfa):(this[_0x335fd8(0x190)]=_0x3cf776,setImmediate(()=>{const _0x4e815d=_0x335fd8;this[_0x4e815d(0x101)](this[_0x4e815d(0x93)]===0x9?_0x4e815d(0x217):_0x4e815d(0x10c),_0x4b09b1),this['_state']=_0xe72cfa,this['startLoop'](_0x45af39);}));}[_0x33840a(0x103)](_0x3d15d7,_0x4f3b45,_0x555977,_0x4edd69,_0x592e3b){const _0x41883d=_0x33840a;this[_0x41883d(0xb0)]=!0x1,this['_errored']=!0x0;const _0x34e9ca=new _0x3d15d7(_0x555977?_0x41883d(0x14f)+_0x4f3b45:_0x4f3b45);return Error['captureStackTrace'](_0x34e9ca,this[_0x41883d(0x103)]),_0x34e9ca[_0x41883d(0x1b1)]=_0x592e3b,_0x34e9ca[_0x4a2ba5]=_0x4edd69,_0x34e9ca;}}return Se=_0x2c086f,Se;}var Ee,Xe;function ft(){const _0x50e16d=_0x55ec8c;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x1a66f2}=oe,{randomFillSync:_0x1833d4}=Le,_0x4c68ef=he(),{EMPTY_BUFFER:_0x2d1ab4,kWebSocket:_0x3ddee7,NOOP:_0x103c0b}=H(),{isBlob:_0x8c3043,isValidStatusCode:_0x12e910}=ae(),{mask:_0x509f04,toBuffer:_0x566fc4}=ce(),_0xa5a1b5=Symbol(_0x50e16d(0x1d0)),_0x2e16cf=Buffer['alloc'](0x4),_0x30f7bb=0x8*0x400;let _0x20121c,_0x2dd6cc=_0x30f7bb;const _0x398cc1=0x0,_0x165dc9=0x1,_0x1f4129=0x2;class _0x2082c3{constructor(_0x1af0b9,_0xba4bfa,_0x4e8d9b){const _0x2dff6b=_0x50e16d;this[_0x2dff6b(0x184)]=_0xba4bfa||{},_0x4e8d9b&&(this[_0x2dff6b(0x129)]=_0x4e8d9b,this[_0x2dff6b(0x12d)]=Buffer['alloc'](0x4)),this[_0x2dff6b(0xe2)]=_0x1af0b9,this[_0x2dff6b(0x214)]=!0x0,this[_0x2dff6b(0xa8)]=!0x1,this[_0x2dff6b(0xa5)]=0x0,this[_0x2dff6b(0x1e2)]=[],this[_0x2dff6b(0x190)]=_0x398cc1,this[_0x2dff6b(0x210)]=_0x103c0b,this[_0x3ddee7]=void 0x0;}static[_0x50e16d(0x198)](_0x12a521,_0x848adf){const _0x2df1b0=_0x50e16d;let _0x457180,_0x2878ab=!0x1,_0x8d4f3e=0x2,_0x566983=!0x1;_0x848adf[_0x2df1b0(0x1a4)]&&(_0x457180=_0x848adf[_0x2df1b0(0x1b7)]||_0x2e16cf,_0x848adf[_0x2df1b0(0xac)]?_0x848adf['generateMask'](_0x457180):(_0x2dd6cc===_0x30f7bb&&(_0x20121c===void 0x0&&(_0x20121c=Buffer[_0x2df1b0(0x9d)](_0x30f7bb)),_0x1833d4(_0x20121c,0x0,_0x30f7bb),_0x2dd6cc=0x0),_0x457180[0x0]=_0x20121c[_0x2dd6cc++],_0x457180[0x1]=_0x20121c[_0x2dd6cc++],_0x457180[0x2]=_0x20121c[_0x2dd6cc++],_0x457180[0x3]=_0x20121c[_0x2dd6cc++]),_0x566983=(_0x457180[0x0]|_0x457180[0x1]|_0x457180[0x2]|_0x457180[0x3])===0x0,_0x8d4f3e=0x6);let _0x502d78;typeof _0x12a521=='string'?(!_0x848adf['mask']||_0x566983)&&_0x848adf[_0xa5a1b5]!==void 0x0?_0x502d78=_0x848adf[_0xa5a1b5]:(_0x12a521=Buffer['from'](_0x12a521),_0x502d78=_0x12a521[_0x2df1b0(0x15e)]):(_0x502d78=_0x12a521[_0x2df1b0(0x15e)],_0x2878ab=_0x848adf[_0x2df1b0(0x1a4)]&&_0x848adf['readOnly']&&!_0x566983);let _0x5693c3=_0x502d78;_0x502d78>=0x10000?(_0x8d4f3e+=0x8,_0x5693c3=0x7f):_0x502d78>0x7d&&(_0x8d4f3e+=0x2,_0x5693c3=0x7e);const _0x3a300a=Buffer[_0x2df1b0(0x1b6)](_0x2878ab?_0x502d78+_0x8d4f3e:_0x8d4f3e);return _0x3a300a[0x0]=_0x848adf[_0x2df1b0(0x21e)]?_0x848adf[_0x2df1b0(0x13d)]|0x80:_0x848adf[_0x2df1b0(0x13d)],_0x848adf[_0x2df1b0(0x14c)]&&(_0x3a300a[0x0]|=0x40),_0x3a300a[0x1]=_0x5693c3,_0x5693c3===0x7e?_0x3a300a[_0x2df1b0(0x178)](_0x502d78,0x2):_0x5693c3===0x7f&&(_0x3a300a[0x2]=_0x3a300a[0x3]=0x0,_0x3a300a['writeUIntBE'](_0x502d78,0x4,0x6)),_0x848adf[_0x2df1b0(0x1a4)]?(_0x3a300a[0x1]|=0x80,_0x3a300a[_0x8d4f3e-0x4]=_0x457180[0x0],_0x3a300a[_0x8d4f3e-0x3]=_0x457180[0x1],_0x3a300a[_0x8d4f3e-0x2]=_0x457180[0x2],_0x3a300a[_0x8d4f3e-0x1]=_0x457180[0x3],_0x566983?[_0x3a300a,_0x12a521]:_0x2878ab?(_0x509f04(_0x12a521,_0x457180,_0x3a300a,_0x8d4f3e,_0x502d78),[_0x3a300a]):(_0x509f04(_0x12a521,_0x457180,_0x12a521,0x0,_0x502d78),[_0x3a300a,_0x12a521])):[_0x3a300a,_0x12a521];}[_0x50e16d(0xd6)](_0x5f4f5a,_0x7a8107,_0x5e524f,_0x1e2e71){const _0xcffc44=_0x50e16d;let _0x2da23f;if(_0x5f4f5a===void 0x0)_0x2da23f=_0x2d1ab4;else{if(typeof _0x5f4f5a!=_0xcffc44(0x13c)||!_0x12e910(_0x5f4f5a))throw new TypeError(_0xcffc44(0x132));if(_0x7a8107===void 0x0||!_0x7a8107[_0xcffc44(0x15e)])_0x2da23f=Buffer[_0xcffc44(0x1b6)](0x2),_0x2da23f[_0xcffc44(0x178)](_0x5f4f5a,0x0);else{const _0x186177=Buffer[_0xcffc44(0xb3)](_0x7a8107);if(_0x186177>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x2da23f=Buffer[_0xcffc44(0x1b6)](0x2+_0x186177),_0x2da23f[_0xcffc44(0x178)](_0x5f4f5a,0x0),typeof _0x7a8107==_0xcffc44(0x12e)?_0x2da23f['write'](_0x7a8107,0x2):_0x2da23f['set'](_0x7a8107,0x2);}}const _0x47464a={[_0xa5a1b5]:_0x2da23f[_0xcffc44(0x15e)],'fin':!0x0,'generateMask':this[_0xcffc44(0x129)],'mask':_0x5e524f,'maskBuffer':this[_0xcffc44(0x12d)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0xcffc44(0x190)]!==_0x398cc1?this['enqueue']([this[_0xcffc44(0x1a3)],_0x2da23f,!0x1,_0x47464a,_0x1e2e71]):this[_0xcffc44(0xc6)](_0x2082c3['frame'](_0x2da23f,_0x47464a),_0x1e2e71);}[_0x50e16d(0x217)](_0x2a69ed,_0x3bb74a,_0x2e9b73){const _0x1dcc33=_0x50e16d;let _0x2c0f11,_0x357cce;if(typeof _0x2a69ed==_0x1dcc33(0x12e)?(_0x2c0f11=Buffer[_0x1dcc33(0xb3)](_0x2a69ed),_0x357cce=!0x1):_0x8c3043(_0x2a69ed)?(_0x2c0f11=_0x2a69ed['size'],_0x357cce=!0x1):(_0x2a69ed=_0x566fc4(_0x2a69ed),_0x2c0f11=_0x2a69ed[_0x1dcc33(0x15e)],_0x357cce=_0x566fc4['readOnly']),_0x2c0f11>0x7d)throw new RangeError(_0x1dcc33(0xbd));const _0x132363={[_0xa5a1b5]:_0x2c0f11,'fin':!0x0,'generateMask':this[_0x1dcc33(0x129)],'mask':_0x3bb74a,'maskBuffer':this[_0x1dcc33(0x12d)],'opcode':0x9,'readOnly':_0x357cce,'rsv1':!0x1};_0x8c3043(_0x2a69ed)?this[_0x1dcc33(0x190)]!==_0x398cc1?this['enqueue']([this[_0x1dcc33(0x19a)],_0x2a69ed,!0x1,_0x132363,_0x2e9b73]):this[_0x1dcc33(0x19a)](_0x2a69ed,!0x1,_0x132363,_0x2e9b73):this[_0x1dcc33(0x190)]!==_0x398cc1?this[_0x1dcc33(0x22d)]([this[_0x1dcc33(0x1a3)],_0x2a69ed,!0x1,_0x132363,_0x2e9b73]):this['sendFrame'](_0x2082c3['frame'](_0x2a69ed,_0x132363),_0x2e9b73);}[_0x50e16d(0x10c)](_0x6b0979,_0x26280c,_0x5ec7d9){const _0x50f7d6=_0x50e16d;let _0x2eefb9,_0x1a3bb6;if(typeof _0x6b0979==_0x50f7d6(0x12e)?(_0x2eefb9=Buffer[_0x50f7d6(0xb3)](_0x6b0979),_0x1a3bb6=!0x1):_0x8c3043(_0x6b0979)?(_0x2eefb9=_0x6b0979[_0x50f7d6(0x228)],_0x1a3bb6=!0x1):(_0x6b0979=_0x566fc4(_0x6b0979),_0x2eefb9=_0x6b0979[_0x50f7d6(0x15e)],_0x1a3bb6=_0x566fc4[_0x50f7d6(0x22e)]),_0x2eefb9>0x7d)throw new RangeError(_0x50f7d6(0xbd));const _0x3987cf={[_0xa5a1b5]:_0x2eefb9,'fin':!0x0,'generateMask':this[_0x50f7d6(0x129)],'mask':_0x26280c,'maskBuffer':this[_0x50f7d6(0x12d)],'opcode':0xa,'readOnly':_0x1a3bb6,'rsv1':!0x1};_0x8c3043(_0x6b0979)?this[_0x50f7d6(0x190)]!==_0x398cc1?this['enqueue']([this[_0x50f7d6(0x19a)],_0x6b0979,!0x1,_0x3987cf,_0x5ec7d9]):this['getBlobData'](_0x6b0979,!0x1,_0x3987cf,_0x5ec7d9):this[_0x50f7d6(0x190)]!==_0x398cc1?this[_0x50f7d6(0x22d)]([this[_0x50f7d6(0x1a3)],_0x6b0979,!0x1,_0x3987cf,_0x5ec7d9]):this[_0x50f7d6(0xc6)](_0x2082c3[_0x50f7d6(0x198)](_0x6b0979,_0x3987cf),_0x5ec7d9);}[_0x50e16d(0x203)](_0x2e51bd,_0x220e3e,_0x4da145){const _0x35e1fb=_0x50e16d,_0x2c8522=this[_0x35e1fb(0x184)][_0x4c68ef['extensionName']];let _0x48830c=_0x220e3e[_0x35e1fb(0x233)]?0x2:0x1,_0x2938f2=_0x220e3e[_0x35e1fb(0x201)],_0xd9ce7a,_0xef1eba;typeof _0x2e51bd=='string'?(_0xd9ce7a=Buffer[_0x35e1fb(0xb3)](_0x2e51bd),_0xef1eba=!0x1):_0x8c3043(_0x2e51bd)?(_0xd9ce7a=_0x2e51bd['size'],_0xef1eba=!0x1):(_0x2e51bd=_0x566fc4(_0x2e51bd),_0xd9ce7a=_0x2e51bd['length'],_0xef1eba=_0x566fc4[_0x35e1fb(0x22e)]),this[_0x35e1fb(0x214)]?(this[_0x35e1fb(0x214)]=!0x1,_0x2938f2&&_0x2c8522&&_0x2c8522[_0x35e1fb(0x195)][_0x2c8522['_isServer']?'server_no_context_takeover':_0x35e1fb(0xf6)]&&(_0x2938f2=_0xd9ce7a>=_0x2c8522[_0x35e1fb(0x15b)]),this[_0x35e1fb(0xa8)]=_0x2938f2):(_0x2938f2=!0x1,_0x48830c=0x0),_0x220e3e[_0x35e1fb(0x21e)]&&(this[_0x35e1fb(0x214)]=!0x0);const _0x5526ec={[_0xa5a1b5]:_0xd9ce7a,'fin':_0x220e3e[_0x35e1fb(0x21e)],'generateMask':this[_0x35e1fb(0x129)],'mask':_0x220e3e['mask'],'maskBuffer':this[_0x35e1fb(0x12d)],'opcode':_0x48830c,'readOnly':_0xef1eba,'rsv1':_0x2938f2};_0x8c3043(_0x2e51bd)?this[_0x35e1fb(0x190)]!==_0x398cc1?this[_0x35e1fb(0x22d)]([this[_0x35e1fb(0x19a)],_0x2e51bd,this[_0x35e1fb(0xa8)],_0x5526ec,_0x4da145]):this[_0x35e1fb(0x19a)](_0x2e51bd,this[_0x35e1fb(0xa8)],_0x5526ec,_0x4da145):this[_0x35e1fb(0x190)]!==_0x398cc1?this[_0x35e1fb(0x22d)]([this[_0x35e1fb(0x1a3)],_0x2e51bd,this[_0x35e1fb(0xa8)],_0x5526ec,_0x4da145]):this[_0x35e1fb(0x1a3)](_0x2e51bd,this[_0x35e1fb(0xa8)],_0x5526ec,_0x4da145);}[_0x50e16d(0x19a)](_0x57d742,_0x55e559,_0x142324,_0x1020cd){const _0x2028c8=_0x50e16d;this[_0x2028c8(0xa5)]+=_0x142324[_0xa5a1b5],this[_0x2028c8(0x190)]=_0x1f4129,_0x57d742[_0x2028c8(0x236)]()[_0x2028c8(0x11e)](_0x124f35=>{const _0x51bc42=_0x2028c8;if(this[_0x51bc42(0xe2)][_0x51bc42(0x244)]){const _0x58497e=new Error(_0x51bc42(0x10e));process[_0x51bc42(0xa9)](_0x52bfaf,this,_0x58497e,_0x1020cd);return;}this[_0x51bc42(0xa5)]-=_0x142324[_0xa5a1b5];const _0x3765c7=_0x566fc4(_0x124f35);_0x55e559?this[_0x51bc42(0x1a3)](_0x3765c7,_0x55e559,_0x142324,_0x1020cd):(this[_0x51bc42(0x190)]=_0x398cc1,this[_0x51bc42(0xc6)](_0x2082c3[_0x51bc42(0x198)](_0x3765c7,_0x142324),_0x1020cd),this[_0x51bc42(0x15c)]());})[_0x2028c8(0x21c)](_0x24a059=>{const _0x1bfb8b=_0x2028c8;process[_0x1bfb8b(0xa9)](_0x108b91,this,_0x24a059,_0x1020cd);});}[_0x50e16d(0x1a3)](_0x579220,_0x5c0d3b,_0x4bc314,_0x12e747){const _0x4c8412=_0x50e16d;if(!_0x5c0d3b){this[_0x4c8412(0xc6)](_0x2082c3['frame'](_0x579220,_0x4bc314),_0x12e747);return;}const _0x5e2b55=this[_0x4c8412(0x184)][_0x4c68ef[_0x4c8412(0xf2)]];this[_0x4c8412(0xa5)]+=_0x4bc314[_0xa5a1b5],this[_0x4c8412(0x190)]=_0x165dc9,_0x5e2b55['compress'](_0x579220,_0x4bc314[_0x4c8412(0x21e)],(_0x450d16,_0x17cea6)=>{const _0x31a41f=_0x4c8412;if(this['_socket'][_0x31a41f(0x244)]){const _0x4f29a4=new Error(_0x31a41f(0x168));_0x52bfaf(this,_0x4f29a4,_0x12e747);return;}this['_bufferedBytes']-=_0x4bc314[_0xa5a1b5],this[_0x31a41f(0x190)]=_0x398cc1,_0x4bc314[_0x31a41f(0x22e)]=!0x1,this[_0x31a41f(0xc6)](_0x2082c3[_0x31a41f(0x198)](_0x17cea6,_0x4bc314),_0x12e747),this[_0x31a41f(0x15c)]();});}[_0x50e16d(0x15c)](){const _0x97f989=_0x50e16d;for(;this[_0x97f989(0x190)]===_0x398cc1&&this[_0x97f989(0x1e2)][_0x97f989(0x15e)];){const _0x4eb2b0=this[_0x97f989(0x1e2)][_0x97f989(0x18b)]();this[_0x97f989(0xa5)]-=_0x4eb2b0[0x3][_0xa5a1b5],Reflect[_0x97f989(0x1c8)](_0x4eb2b0[0x0],this,_0x4eb2b0[_0x97f989(0x10b)](0x1));}}[_0x50e16d(0x22d)](_0x53d2ff){const _0x54877d=_0x50e16d;this[_0x54877d(0xa5)]+=_0x53d2ff[0x3][_0xa5a1b5],this[_0x54877d(0x1e2)][_0x54877d(0xcb)](_0x53d2ff);}['sendFrame'](_0x3351c6,_0x37cc0b){const _0x1392a5=_0x50e16d;_0x3351c6[_0x1392a5(0x15e)]===0x2?(this[_0x1392a5(0xe2)][_0x1392a5(0xff)](),this['_socket']['write'](_0x3351c6[0x0]),this['_socket'][_0x1392a5(0xae)](_0x3351c6[0x1],_0x37cc0b),this[_0x1392a5(0xe2)][_0x1392a5(0xb1)]()):this[_0x1392a5(0xe2)][_0x1392a5(0xae)](_0x3351c6[0x0],_0x37cc0b);}}Ee=_0x2082c3;function _0x52bfaf(_0x3b1f8a,_0x56afc5,_0x32210b){const _0x265cbd=_0x50e16d;typeof _0x32210b=='function'&&_0x32210b(_0x56afc5);for(let _0x37fe0c=0x0;_0x37fe0c<_0x3b1f8a['_queue']['length'];_0x37fe0c++){const _0x47c5ee=_0x3b1f8a['_queue'][_0x37fe0c],_0x3c0f11=_0x47c5ee[_0x47c5ee[_0x265cbd(0x15e)]-0x1];typeof _0x3c0f11==_0x265cbd(0x188)&&_0x3c0f11(_0x56afc5);}}function _0x108b91(_0x26173e,_0x534acd,_0x1b8bfe){const _0xe2e5e4=_0x50e16d;_0x52bfaf(_0x26173e,_0x534acd,_0x1b8bfe),_0x26173e[_0xe2e5e4(0x210)](_0x534acd);}return Ee;}var xe,Ze;function It(){const _0x402c04=_0x55ec8c;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x28c110,kListener:_0x48aaa8}=H(),_0x3a3699=Symbol(_0x402c04(0x9b)),_0x5e5716=Symbol(_0x402c04(0x239)),_0xf40b09=Symbol(_0x402c04(0x1e7)),_0x2d1555=Symbol(_0x402c04(0x1b8)),_0x3523c5=Symbol(_0x402c04(0xd5)),_0x3de77b=Symbol(_0x402c04(0xca)),_0x15c5e6=Symbol('kType'),_0x38ca5b=Symbol('kWasClean');class _0x4aa603{constructor(_0x4b403c){this[_0x3de77b]=null,this[_0x15c5e6]=_0x4b403c;}get[_0x402c04(0x120)](){return this[_0x3de77b];}get['type'](){return this[_0x15c5e6];}}Object[_0x402c04(0x1d9)](_0x4aa603[_0x402c04(0x17f)],_0x402c04(0x120),{'enumerable':!0x0}),Object[_0x402c04(0x1d9)](_0x4aa603['prototype'],_0x402c04(0x1b3),{'enumerable':!0x0});class _0x324aa9 extends _0x4aa603{constructor(_0x1162de,_0x2015aa={}){const _0x2fc723=_0x402c04;super(_0x1162de),this[_0x3a3699]=_0x2015aa['code']===void 0x0?0x0:_0x2015aa[_0x2fc723(0x1b1)],this[_0x3523c5]=_0x2015aa[_0x2fc723(0x10d)]===void 0x0?'':_0x2015aa[_0x2fc723(0x10d)],this[_0x38ca5b]=_0x2015aa[_0x2fc723(0x143)]===void 0x0?!0x1:_0x2015aa['wasClean'];}get[_0x402c04(0x1b1)](){return this[_0x3a3699];}get[_0x402c04(0x10d)](){return this[_0x3523c5];}get[_0x402c04(0x143)](){return this[_0x38ca5b];}}Object['defineProperty'](_0x324aa9[_0x402c04(0x17f)],_0x402c04(0x1b1),{'enumerable':!0x0}),Object[_0x402c04(0x1d9)](_0x324aa9['prototype'],_0x402c04(0x10d),{'enumerable':!0x0}),Object['defineProperty'](_0x324aa9[_0x402c04(0x17f)],'wasClean',{'enumerable':!0x0});class _0x167117 extends _0x4aa603{constructor(_0x3a46f2,_0x23b56e={}){const _0x3010f7=_0x402c04;super(_0x3a46f2),this[_0xf40b09]=_0x23b56e[_0x3010f7(0x23a)]===void 0x0?null:_0x23b56e[_0x3010f7(0x23a)],this[_0x2d1555]=_0x23b56e[_0x3010f7(0x147)]===void 0x0?'':_0x23b56e[_0x3010f7(0x147)];}get[_0x402c04(0x23a)](){return this[_0xf40b09];}get[_0x402c04(0x147)](){return this[_0x2d1555];}}Object[_0x402c04(0x1d9)](_0x167117[_0x402c04(0x17f)],'error',{'enumerable':!0x0}),Object[_0x402c04(0x1d9)](_0x167117['prototype'],'message',{'enumerable':!0x0});class _0x52c3dd extends _0x4aa603{constructor(_0xaf1990,_0x4c61ed={}){const _0x553f08=_0x402c04;super(_0xaf1990),this[_0x5e5716]=_0x4c61ed['data']===void 0x0?null:_0x4c61ed[_0x553f08(0x17b)];}get['data'](){return this[_0x5e5716];}}Object[_0x402c04(0x1d9)](_0x52c3dd[_0x402c04(0x17f)],_0x402c04(0x17b),{'enumerable':!0x0}),xe={'CloseEvent':_0x324aa9,'ErrorEvent':_0x167117,'Event':_0x4aa603,'EventTarget':{'addEventListener'(_0x427819,_0x57d3d4,_0x127632={}){const _0x183a2d=_0x402c04;for(const _0x776cc7 of this[_0x183a2d(0x10a)](_0x427819))if(!_0x127632[_0x28c110]&&_0x776cc7[_0x48aaa8]===_0x57d3d4&&!_0x776cc7[_0x28c110])return;let _0x415ca4;if(_0x427819===_0x183a2d(0x147))_0x415ca4=function(_0x5c6f07,_0x5abc8d){const _0x146f4b=_0x183a2d,_0x44d78d=new _0x52c3dd(_0x146f4b(0x147),{'data':_0x5abc8d?_0x5c6f07:_0x5c6f07['toString']()});_0x44d78d[_0x3de77b]=this,_0x678c29(_0x57d3d4,this,_0x44d78d);};else{if(_0x427819===_0x183a2d(0xd6))_0x415ca4=function(_0x33168c,_0x4137b4){const _0x522ae7=_0x183a2d,_0x5e76d6=new _0x324aa9(_0x522ae7(0xd6),{'code':_0x33168c,'reason':_0x4137b4[_0x522ae7(0x173)](),'wasClean':this[_0x522ae7(0x163)]&&this[_0x522ae7(0x1e5)]});_0x5e76d6[_0x3de77b]=this,_0x678c29(_0x57d3d4,this,_0x5e76d6);};else{if(_0x427819===_0x183a2d(0x23a))_0x415ca4=function(_0x2768d7){const _0x25fa8f=_0x183a2d,_0x27c50a=new _0x167117(_0x25fa8f(0x23a),{'error':_0x2768d7,'message':_0x2768d7[_0x25fa8f(0x147)]});_0x27c50a[_0x3de77b]=this,_0x678c29(_0x57d3d4,this,_0x27c50a);};else{if(_0x427819==='open')_0x415ca4=function(){const _0x4d8e8b=new _0x4aa603('open');_0x4d8e8b[_0x3de77b]=this,_0x678c29(_0x57d3d4,this,_0x4d8e8b);};else return;}}}_0x415ca4[_0x28c110]=!!_0x127632[_0x28c110],_0x415ca4[_0x48aaa8]=_0x57d3d4,_0x127632[_0x183a2d(0x189)]?this[_0x183a2d(0x189)](_0x427819,_0x415ca4):this['on'](_0x427819,_0x415ca4);},'removeEventListener'(_0x4a2a80,_0x1210cb){const _0x3b13c5=_0x402c04;for(const _0x23a5df of this[_0x3b13c5(0x10a)](_0x4a2a80))if(_0x23a5df[_0x48aaa8]===_0x1210cb&&!_0x23a5df[_0x28c110]){this['removeListener'](_0x4a2a80,_0x23a5df);break;}}},'MessageEvent':_0x52c3dd};function _0x678c29(_0x43f799,_0x3790df,_0x3f81cd){const _0x5b450e=_0x402c04;typeof _0x43f799==_0x5b450e(0x8c)&&_0x43f799[_0x5b450e(0x154)]?_0x43f799['handleEvent'][_0x5b450e(0x1de)](_0x43f799,_0x3f81cd):_0x43f799[_0x5b450e(0x1de)](_0x3790df,_0x3f81cd);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x3add4b}=ae();function _0x376683(_0x1cb49e,_0xadb14,_0x367b64){_0x1cb49e[_0xadb14]===void 0x0?_0x1cb49e[_0xadb14]=[_0x367b64]:_0x1cb49e[_0xadb14]['push'](_0x367b64);}function _0x33ab4a(_0x238d8f){const _0xf0ccc8=_0x39a1,_0x205b21=Object['create'](null);let _0x33a8aa=Object['create'](null),_0x46d96d=!0x1,_0x1fec8e=!0x1,_0x516261=!0x1,_0x5a6962,_0x40848b,_0x1cba45=-0x1,_0x1763dc=-0x1,_0x459489=-0x1,_0xf1d950=0x0;for(;_0xf1d950<_0x238d8f[_0xf0ccc8(0x15e)];_0xf1d950++)if(_0x1763dc=_0x238d8f['charCodeAt'](_0xf1d950),_0x5a6962===void 0x0){if(_0x459489===-0x1&&_0x3add4b[_0x1763dc]===0x1)_0x1cba45===-0x1&&(_0x1cba45=_0xf1d950);else{if(_0xf1d950!==0x0&&(_0x1763dc===0x20||_0x1763dc===0x9))_0x459489===-0x1&&_0x1cba45!==-0x1&&(_0x459489=_0xf1d950);else{if(_0x1763dc===0x3b||_0x1763dc===0x2c){if(_0x1cba45===-0x1)throw new SyntaxError(_0xf0ccc8(0x1ea)+_0xf1d950);_0x459489===-0x1&&(_0x459489=_0xf1d950);const _0x250f73=_0x238d8f[_0xf0ccc8(0x10b)](_0x1cba45,_0x459489);_0x1763dc===0x2c?(_0x376683(_0x205b21,_0x250f73,_0x33a8aa),_0x33a8aa=Object[_0xf0ccc8(0x11f)](null)):_0x5a6962=_0x250f73,_0x1cba45=_0x459489=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0xf1d950);}}}else{if(_0x40848b===void 0x0){if(_0x459489===-0x1&&_0x3add4b[_0x1763dc]===0x1)_0x1cba45===-0x1&&(_0x1cba45=_0xf1d950);else{if(_0x1763dc===0x20||_0x1763dc===0x9)_0x459489===-0x1&&_0x1cba45!==-0x1&&(_0x459489=_0xf1d950);else{if(_0x1763dc===0x3b||_0x1763dc===0x2c){if(_0x1cba45===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0xf1d950);_0x459489===-0x1&&(_0x459489=_0xf1d950),_0x376683(_0x33a8aa,_0x238d8f[_0xf0ccc8(0x10b)](_0x1cba45,_0x459489),!0x0),_0x1763dc===0x2c&&(_0x376683(_0x205b21,_0x5a6962,_0x33a8aa),_0x33a8aa=Object[_0xf0ccc8(0x11f)](null),_0x5a6962=void 0x0),_0x1cba45=_0x459489=-0x1;}else{if(_0x1763dc===0x3d&&_0x1cba45!==-0x1&&_0x459489===-0x1)_0x40848b=_0x238d8f['slice'](_0x1cba45,_0xf1d950),_0x1cba45=_0x459489=-0x1;else throw new SyntaxError(_0xf0ccc8(0x1ea)+_0xf1d950);}}}}else{if(_0x1fec8e){if(_0x3add4b[_0x1763dc]!==0x1)throw new SyntaxError(_0xf0ccc8(0x1ea)+_0xf1d950);_0x1cba45===-0x1?_0x1cba45=_0xf1d950:_0x46d96d||(_0x46d96d=!0x0),_0x1fec8e=!0x1;}else{if(_0x516261){if(_0x3add4b[_0x1763dc]===0x1)_0x1cba45===-0x1&&(_0x1cba45=_0xf1d950);else{if(_0x1763dc===0x22&&_0x1cba45!==-0x1)_0x516261=!0x1,_0x459489=_0xf1d950;else{if(_0x1763dc===0x5c)_0x1fec8e=!0x0;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0xf1d950);}}}else{if(_0x1763dc===0x22&&_0x238d8f[_0xf0ccc8(0xfa)](_0xf1d950-0x1)===0x3d)_0x516261=!0x0;else{if(_0x459489===-0x1&&_0x3add4b[_0x1763dc]===0x1)_0x1cba45===-0x1&&(_0x1cba45=_0xf1d950);else{if(_0x1cba45!==-0x1&&(_0x1763dc===0x20||_0x1763dc===0x9))_0x459489===-0x1&&(_0x459489=_0xf1d950);else{if(_0x1763dc===0x3b||_0x1763dc===0x2c){if(_0x1cba45===-0x1)throw new SyntaxError(_0xf0ccc8(0x1ea)+_0xf1d950);_0x459489===-0x1&&(_0x459489=_0xf1d950);let _0x4474c9=_0x238d8f['slice'](_0x1cba45,_0x459489);_0x46d96d&&(_0x4474c9=_0x4474c9['replace'](/\\/g,''),_0x46d96d=!0x1),_0x376683(_0x33a8aa,_0x40848b,_0x4474c9),_0x1763dc===0x2c&&(_0x376683(_0x205b21,_0x5a6962,_0x33a8aa),_0x33a8aa=Object[_0xf0ccc8(0x11f)](null),_0x5a6962=void 0x0),_0x40848b=void 0x0,_0x1cba45=_0x459489=-0x1;}else throw new SyntaxError(_0xf0ccc8(0x1ea)+_0xf1d950);}}}}}}}if(_0x1cba45===-0x1||_0x516261||_0x1763dc===0x20||_0x1763dc===0x9)throw new SyntaxError(_0xf0ccc8(0x1c3));_0x459489===-0x1&&(_0x459489=_0xf1d950);const _0x56cfe0=_0x238d8f[_0xf0ccc8(0x10b)](_0x1cba45,_0x459489);return _0x5a6962===void 0x0?_0x376683(_0x205b21,_0x56cfe0,_0x33a8aa):(_0x40848b===void 0x0?_0x376683(_0x33a8aa,_0x56cfe0,!0x0):_0x46d96d?_0x376683(_0x33a8aa,_0x40848b,_0x56cfe0['replace'](/\\/g,'')):_0x376683(_0x33a8aa,_0x40848b,_0x56cfe0),_0x376683(_0x205b21,_0x5a6962,_0x33a8aa)),_0x205b21;}function _0x496783(_0x27fcd6){const _0x293cfc=_0x39a1;return Object[_0x293cfc(0x194)](_0x27fcd6)[_0x293cfc(0x241)](_0x10ad77=>{const _0x11f94d=_0x293cfc;let _0xf94bbd=_0x27fcd6[_0x10ad77];return Array['isArray'](_0xf94bbd)||(_0xf94bbd=[_0xf94bbd]),_0xf94bbd[_0x11f94d(0x241)](_0x587d36=>[_0x10ad77][_0x11f94d(0x216)](Object[_0x11f94d(0x194)](_0x587d36)['map'](_0x3224bb=>{const _0xa9edb4=_0x11f94d;let _0x30ac22=_0x587d36[_0x3224bb];return Array[_0xa9edb4(0x208)](_0x30ac22)||(_0x30ac22=[_0x30ac22]),_0x30ac22['map'](_0x3c7a06=>_0x3c7a06===!0x0?_0x3224bb:_0x3224bb+'='+_0x3c7a06)[_0xa9edb4(0x149)](';\x20');}))[_0x11f94d(0x149)](';\x20'))[_0x11f94d(0x149)](',\x20');})[_0x293cfc(0x149)](',\x20');}return be={'format':_0x496783,'parse':_0x33ab4a},be;}var we,Je;function _0x39a1(_0x5ed18b,_0x1cdf6d){const _0x5d7049=_0x5d70();return _0x39a1=function(_0x39a1c3,_0x5f1680){_0x39a1c3=_0x39a1c3-0x85;let _0xb3dcde=_0x5d7049[_0x39a1c3];return _0xb3dcde;},_0x39a1(_0x5ed18b,_0x1cdf6d);}function Pe(){const _0x17bc8e=_0x55ec8c;if(Je)return we;Je=0x1;const _0x216191=nt,_0x526967=vt,_0x4369f6=ot,_0x49dd42=St,_0x2daed7=Et,{randomBytes:_0x40065e,createHash:_0x57b9af}=Le,{Duplex:_0x1c8f4e,Readable:_0x22711c}=oe,{URL:_0x4581dd}=xt,_0x49bc93=he(),_0x1d06fa=lt(),_0x29192d=ft(),{isBlob:_0x442d5a}=ae(),{BINARY_TYPES:_0x151a21,EMPTY_BUFFER:_0x3e2606,GUID:_0x4ff69c,kForOnEventAttribute:_0x12c0fe,kListener:_0x1ee467,kStatusCode:_0xfebf00,kWebSocket:_0x4752ab,NOOP:_0x3cc897}=H(),{EventTarget:{addEventListener:_0x5f1470,removeEventListener:_0x271beb}}=It(),{format:_0x17c0c0,parse:_0x2ce71c}=ct(),{toBuffer:_0x71a227}=ce(),_0x5a9f46=0x1e*0x3e8,_0xb966f4=Symbol(_0x17bc8e(0x200)),_0x4c2365=[0x8,0xd],_0x6c8548=[_0x17bc8e(0x1a0),_0x17bc8e(0x1fc),_0x17bc8e(0x23b),_0x17bc8e(0x95)],_0x1f4e39=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x2c2101 extends _0x216191{constructor(_0x4248b6,_0x1149d0,_0x1b20e4){const _0x4956c9=_0x17bc8e;super(),this['_binaryType']=_0x151a21[0x0],this[_0x4956c9(0x230)]=0x3ee,this[_0x4956c9(0x163)]=!0x1,this[_0x4956c9(0x1e5)]=!0x1,this[_0x4956c9(0xd9)]=_0x3e2606,this[_0x4956c9(0xdf)]=null,this[_0x4956c9(0xbb)]=!0x1,this[_0x4956c9(0x184)]={},this[_0x4956c9(0x218)]=!0x1,this[_0x4956c9(0x174)]='',this[_0x4956c9(0x90)]=_0x2c2101[_0x4956c9(0x1a0)],this[_0x4956c9(0x157)]=null,this[_0x4956c9(0x142)]=null,this[_0x4956c9(0xe2)]=null,_0x4248b6!==null?(this[_0x4956c9(0x133)]=0x0,this[_0x4956c9(0x18f)]=!0x1,this[_0x4956c9(0x1c0)]=0x0,_0x1149d0===void 0x0?_0x1149d0=[]:Array[_0x4956c9(0x208)](_0x1149d0)||(typeof _0x1149d0==_0x4956c9(0x8c)&&_0x1149d0!==null?(_0x1b20e4=_0x1149d0,_0x1149d0=[]):_0x1149d0=[_0x1149d0]),_0x10a1f9(this,_0x4248b6,_0x1149d0,_0x1b20e4)):(this[_0x4956c9(0x124)]=_0x1b20e4['autoPong'],this[_0x4956c9(0x18f)]=!0x0);}get['binaryType'](){return this['_binaryType'];}set['binaryType'](_0x61773a){const _0x40ba59=_0x17bc8e;_0x151a21[_0x40ba59(0x16d)](_0x61773a)&&(this['_binaryType']=_0x61773a,this[_0x40ba59(0x157)]&&(this[_0x40ba59(0x157)][_0x40ba59(0x1e8)]=_0x61773a));}get[_0x17bc8e(0x12a)](){const _0x5c8ba6=_0x17bc8e;return this[_0x5c8ba6(0xe2)]?this['_socket'][_0x5c8ba6(0x197)][_0x5c8ba6(0x15e)]+this[_0x5c8ba6(0x142)][_0x5c8ba6(0xa5)]:this['_bufferedAmount'];}get['extensions'](){return Object['keys'](this['_extensions'])['join']();}get['isPaused'](){const _0x5c4f26=_0x17bc8e;return this[_0x5c4f26(0x218)];}get[_0x17bc8e(0x1f5)](){return null;}get['onerror'](){return null;}get[_0x17bc8e(0x19d)](){return null;}get[_0x17bc8e(0xe0)](){return null;}get[_0x17bc8e(0x9f)](){const _0x34bd7f=_0x17bc8e;return this[_0x34bd7f(0x174)];}get[_0x17bc8e(0x20c)](){const _0x190920=_0x17bc8e;return this[_0x190920(0x90)];}get['url'](){const _0x284607=_0x17bc8e;return this[_0x284607(0xb7)];}['setSocket'](_0x39b075,_0x28b76c,_0x529a69){const _0x17a0d9=_0x17bc8e,_0x43f253=new _0x1d06fa({'allowSynchronousEvents':_0x529a69[_0x17a0d9(0x1a8)],'binaryType':this[_0x17a0d9(0x13a)],'extensions':this['_extensions'],'isServer':this['_isServer'],'maxPayload':_0x529a69[_0x17a0d9(0xf4)],'skipUTF8Validation':_0x529a69[_0x17a0d9(0x141)]}),_0x4efdf5=new _0x29192d(_0x39b075,this[_0x17a0d9(0x184)],_0x529a69[_0x17a0d9(0xac)]);this[_0x17a0d9(0x157)]=_0x43f253,this[_0x17a0d9(0x142)]=_0x4efdf5,this[_0x17a0d9(0xe2)]=_0x39b075,_0x43f253[_0x4752ab]=this,_0x4efdf5[_0x4752ab]=this,_0x39b075[_0x4752ab]=this,_0x43f253['on'](_0x17a0d9(0xef),_0x109f85),_0x43f253['on'](_0x17a0d9(0x1ed),_0x2c3d49),_0x43f253['on'](_0x17a0d9(0x23a),_0x9fd68c),_0x43f253['on'](_0x17a0d9(0x147),_0x500788),_0x43f253['on'](_0x17a0d9(0x217),_0x2f5263),_0x43f253['on']('pong',_0x45614d),_0x4efdf5[_0x17a0d9(0x210)]=_0x2b1c77,_0x39b075[_0x17a0d9(0x20a)]&&_0x39b075[_0x17a0d9(0x20a)](0x0),_0x39b075['setNoDelay']&&_0x39b075[_0x17a0d9(0x223)](),_0x28b76c[_0x17a0d9(0x15e)]>0x0&&_0x39b075[_0x17a0d9(0x1c1)](_0x28b76c),_0x39b075['on'](_0x17a0d9(0xd6),_0x4e150c),_0x39b075['on'](_0x17a0d9(0x17b),_0x1b30ef),_0x39b075['on']('end',_0x2f0002),_0x39b075['on'](_0x17a0d9(0x23a),_0x521374),this[_0x17a0d9(0x90)]=_0x2c2101['OPEN'],this[_0x17a0d9(0x101)]('open');}[_0x17bc8e(0x177)](){const _0x153e23=_0x17bc8e;if(!this[_0x153e23(0xe2)]){this[_0x153e23(0x90)]=_0x2c2101['CLOSED'],this['emit'](_0x153e23(0xd6),this[_0x153e23(0x230)],this['_closeMessage']);return;}this[_0x153e23(0x184)][_0x49bc93[_0x153e23(0xf2)]]&&this[_0x153e23(0x184)][_0x49bc93['extensionName']][_0x153e23(0x92)](),this[_0x153e23(0x157)]['removeAllListeners'](),this[_0x153e23(0x90)]=_0x2c2101['CLOSED'],this[_0x153e23(0x101)](_0x153e23(0xd6),this[_0x153e23(0x230)],this[_0x153e23(0xd9)]);}[_0x17bc8e(0xd6)](_0x5bc468,_0x4709c9){const _0x38e98f=_0x17bc8e;if(this[_0x38e98f(0x20c)]!==_0x2c2101[_0x38e98f(0x95)]){if(this[_0x38e98f(0x20c)]===_0x2c2101[_0x38e98f(0x1a0)]){_0x4fd750(this,this[_0x38e98f(0x15f)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}if(this[_0x38e98f(0x20c)]===_0x2c2101[_0x38e98f(0x23b)]){this[_0x38e98f(0x1e5)]&&(this[_0x38e98f(0x163)]||this[_0x38e98f(0x157)][_0x38e98f(0x197)]['errorEmitted'])&&this['_socket'][_0x38e98f(0x1df)]();return;}this[_0x38e98f(0x90)]=_0x2c2101[_0x38e98f(0x23b)],this[_0x38e98f(0x142)][_0x38e98f(0xd6)](_0x5bc468,_0x4709c9,!this[_0x38e98f(0x18f)],_0x5c0d14=>{const _0x5b9f74=_0x38e98f;_0x5c0d14||(this[_0x5b9f74(0x1e5)]=!0x0,(this['_closeFrameReceived']||this['_receiver']['_writableState']['errorEmitted'])&&this['_socket'][_0x5b9f74(0x1df)]());}),_0x4bb2e3(this);}}[_0x17bc8e(0x13f)](){const _0x59f5cb=_0x17bc8e;this[_0x59f5cb(0x20c)]===_0x2c2101[_0x59f5cb(0x1a0)]||this[_0x59f5cb(0x20c)]===_0x2c2101[_0x59f5cb(0x95)]||(this[_0x59f5cb(0x218)]=!0x0,this[_0x59f5cb(0xe2)][_0x59f5cb(0x13f)]());}[_0x17bc8e(0x217)](_0xd5e6be,_0x3dd8b7,_0x141f5c){const _0x2f8eb0=_0x17bc8e;if(this['readyState']===_0x2c2101['CONNECTING'])throw new Error(_0x2f8eb0(0x231));if(typeof _0xd5e6be==_0x2f8eb0(0x188)?(_0x141f5c=_0xd5e6be,_0xd5e6be=_0x3dd8b7=void 0x0):typeof _0x3dd8b7==_0x2f8eb0(0x188)&&(_0x141f5c=_0x3dd8b7,_0x3dd8b7=void 0x0),typeof _0xd5e6be=='number'&&(_0xd5e6be=_0xd5e6be[_0x2f8eb0(0x173)]()),this[_0x2f8eb0(0x20c)]!==_0x2c2101['OPEN']){_0xe9e147(this,_0xd5e6be,_0x141f5c);return;}_0x3dd8b7===void 0x0&&(_0x3dd8b7=!this[_0x2f8eb0(0x18f)]),this[_0x2f8eb0(0x142)][_0x2f8eb0(0x217)](_0xd5e6be||_0x3e2606,_0x3dd8b7,_0x141f5c);}[_0x17bc8e(0x10c)](_0x5dcc40,_0x1d4718,_0x3d2e24){const _0x2e9c6c=_0x17bc8e;if(this['readyState']===_0x2c2101[_0x2e9c6c(0x1a0)])throw new Error(_0x2e9c6c(0x231));if(typeof _0x5dcc40==_0x2e9c6c(0x188)?(_0x3d2e24=_0x5dcc40,_0x5dcc40=_0x1d4718=void 0x0):typeof _0x1d4718==_0x2e9c6c(0x188)&&(_0x3d2e24=_0x1d4718,_0x1d4718=void 0x0),typeof _0x5dcc40==_0x2e9c6c(0x13c)&&(_0x5dcc40=_0x5dcc40[_0x2e9c6c(0x173)]()),this['readyState']!==_0x2c2101[_0x2e9c6c(0x1fc)]){_0xe9e147(this,_0x5dcc40,_0x3d2e24);return;}_0x1d4718===void 0x0&&(_0x1d4718=!this[_0x2e9c6c(0x18f)]),this[_0x2e9c6c(0x142)]['pong'](_0x5dcc40||_0x3e2606,_0x1d4718,_0x3d2e24);}['resume'](){const _0x5e144e=_0x17bc8e;this['readyState']===_0x2c2101[_0x5e144e(0x1a0)]||this[_0x5e144e(0x20c)]===_0x2c2101[_0x5e144e(0x95)]||(this[_0x5e144e(0x218)]=!0x1,this[_0x5e144e(0x157)][_0x5e144e(0x197)][_0x5e144e(0x91)]||this[_0x5e144e(0xe2)][_0x5e144e(0x187)]());}[_0x17bc8e(0x203)](_0x3e1f20,_0x3542ce,_0x21ece4){const _0x46a008=_0x17bc8e;if(this[_0x46a008(0x20c)]===_0x2c2101[_0x46a008(0x1a0)])throw new Error(_0x46a008(0x231));if(typeof _0x3542ce==_0x46a008(0x188)&&(_0x21ece4=_0x3542ce,_0x3542ce={}),typeof _0x3e1f20==_0x46a008(0x13c)&&(_0x3e1f20=_0x3e1f20[_0x46a008(0x173)]()),this[_0x46a008(0x20c)]!==_0x2c2101[_0x46a008(0x1fc)]){_0xe9e147(this,_0x3e1f20,_0x21ece4);return;}const _0x22f8fb={'binary':typeof _0x3e1f20!=_0x46a008(0x12e),'mask':!this[_0x46a008(0x18f)],'compress':!0x0,'fin':!0x0,..._0x3542ce};this['_extensions'][_0x49bc93[_0x46a008(0xf2)]]||(_0x22f8fb[_0x46a008(0x201)]=!0x1),this[_0x46a008(0x142)][_0x46a008(0x203)](_0x3e1f20||_0x3e2606,_0x22f8fb,_0x21ece4);}['terminate'](){const _0x13c234=_0x17bc8e;if(this[_0x13c234(0x20c)]!==_0x2c2101[_0x13c234(0x95)]){if(this[_0x13c234(0x20c)]===_0x2c2101[_0x13c234(0x1a0)]){_0x4fd750(this,this[_0x13c234(0x15f)],_0x13c234(0x219));return;}this[_0x13c234(0xe2)]&&(this[_0x13c234(0x90)]=_0x2c2101[_0x13c234(0x23b)],this[_0x13c234(0xe2)][_0x13c234(0xa1)]());}}}Object['defineProperty'](_0x2c2101,_0x17bc8e(0x1a0),{'enumerable':!0x0,'value':_0x6c8548[_0x17bc8e(0x238)](_0x17bc8e(0x1a0))}),Object['defineProperty'](_0x2c2101[_0x17bc8e(0x17f)],'CONNECTING',{'enumerable':!0x0,'value':_0x6c8548['indexOf'](_0x17bc8e(0x1a0))}),Object[_0x17bc8e(0x1d9)](_0x2c2101,_0x17bc8e(0x1fc),{'enumerable':!0x0,'value':_0x6c8548['indexOf']('OPEN')}),Object[_0x17bc8e(0x1d9)](_0x2c2101[_0x17bc8e(0x17f)],_0x17bc8e(0x1fc),{'enumerable':!0x0,'value':_0x6c8548[_0x17bc8e(0x238)](_0x17bc8e(0x1fc))}),Object[_0x17bc8e(0x1d9)](_0x2c2101,'CLOSING',{'enumerable':!0x0,'value':_0x6c8548[_0x17bc8e(0x238)](_0x17bc8e(0x23b))}),Object[_0x17bc8e(0x1d9)](_0x2c2101[_0x17bc8e(0x17f)],_0x17bc8e(0x23b),{'enumerable':!0x0,'value':_0x6c8548['indexOf'](_0x17bc8e(0x23b))}),Object[_0x17bc8e(0x1d9)](_0x2c2101,_0x17bc8e(0x95),{'enumerable':!0x0,'value':_0x6c8548['indexOf'](_0x17bc8e(0x95))}),Object[_0x17bc8e(0x1d9)](_0x2c2101[_0x17bc8e(0x17f)],_0x17bc8e(0x95),{'enumerable':!0x0,'value':_0x6c8548['indexOf'](_0x17bc8e(0x95))}),[_0x17bc8e(0x13a),_0x17bc8e(0x12a),_0x17bc8e(0x128),'isPaused',_0x17bc8e(0x9f),_0x17bc8e(0x20c),_0x17bc8e(0x20e)][_0x17bc8e(0x1a1)](_0x5a147e=>{const _0x235941=_0x17bc8e;Object[_0x235941(0x1d9)](_0x2c2101['prototype'],_0x5a147e,{'enumerable':!0x0});}),[_0x17bc8e(0x242),'error',_0x17bc8e(0xd6),'message'][_0x17bc8e(0x1a1)](_0x93b833=>{const _0xecfc0c=_0x17bc8e;Object[_0xecfc0c(0x1d9)](_0x2c2101[_0xecfc0c(0x17f)],'on'+_0x93b833,{'enumerable':!0x0,'get'(){const _0x3017c0=_0xecfc0c;for(const _0x13aa05 of this[_0x3017c0(0x10a)](_0x93b833))if(_0x13aa05[_0x12c0fe])return _0x13aa05[_0x1ee467];return null;},'set'(_0x287bc1){const _0x51d27f=_0xecfc0c;for(const _0x2c690b of this[_0x51d27f(0x10a)](_0x93b833))if(_0x2c690b[_0x12c0fe]){this[_0x51d27f(0x16b)](_0x93b833,_0x2c690b);break;}typeof _0x287bc1==_0x51d27f(0x188)&&this['addEventListener'](_0x93b833,_0x287bc1,{[_0x12c0fe]:!0x0});}});}),_0x2c2101[_0x17bc8e(0x17f)][_0x17bc8e(0x121)]=_0x5f1470,_0x2c2101[_0x17bc8e(0x17f)][_0x17bc8e(0x100)]=_0x271beb,we=_0x2c2101;function _0x10a1f9(_0x231f66,_0x5da1a0,_0x59abea,_0x4126fd){const _0xbec4f5=_0x17bc8e,_0x1d34e6={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x4c2365[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x4126fd,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0xbec4f5(0x1ce),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x231f66['_autoPong']=_0x1d34e6[_0xbec4f5(0xd0)],!_0x4c2365[_0xbec4f5(0x16d)](_0x1d34e6['protocolVersion']))throw new RangeError('Unsupported\x20protocol\x20version:\x20'+_0x1d34e6['protocolVersion']+_0xbec4f5(0xc0)+_0x4c2365[_0xbec4f5(0x149)](',\x20')+')');let _0x41987c;if(_0x5da1a0 instanceof _0x4581dd)_0x41987c=_0x5da1a0;else try{_0x41987c=new _0x4581dd(_0x5da1a0);}catch{throw new SyntaxError('Invalid\x20URL:\x20'+_0x5da1a0);}_0x41987c[_0xbec4f5(0x9f)]===_0xbec4f5(0x158)?_0x41987c[_0xbec4f5(0x9f)]='ws:':_0x41987c[_0xbec4f5(0x9f)]==='https:'&&(_0x41987c[_0xbec4f5(0x9f)]=_0xbec4f5(0x18a)),_0x231f66['_url']=_0x41987c[_0xbec4f5(0x171)];const _0x31f1c1=_0x41987c[_0xbec4f5(0x9f)]===_0xbec4f5(0x18a),_0xbc8785=_0x41987c[_0xbec4f5(0x9f)]==='ws+unix:';let _0x5021ff;if(_0x41987c[_0xbec4f5(0x9f)]!==_0xbec4f5(0x1c4)&&!_0x31f1c1&&!_0xbc8785?_0x5021ff=_0xbec4f5(0x110):_0xbc8785&&!_0x41987c['pathname']?_0x5021ff='The\x20URL\x27s\x20pathname\x20is\x20empty':_0x41987c[_0xbec4f5(0x1cc)]&&(_0x5021ff='The\x20URL\x20contains\x20a\x20fragment\x20identifier'),_0x5021ff){const _0x68289f=new SyntaxError(_0x5021ff);if(_0x231f66[_0xbec4f5(0x1c0)]===0x0)throw _0x68289f;_0x216e02(_0x231f66,_0x68289f);return;}const _0x24f4ee=_0x31f1c1?0x1bb:0x50,_0x590792=_0x40065e(0x10)[_0xbec4f5(0x173)](_0xbec4f5(0xaa)),_0x104801=_0x31f1c1?_0x526967[_0xbec4f5(0xc1)]:_0x4369f6[_0xbec4f5(0xc1)],_0x37961a=new Set();let _0x1cd7ca;if(_0x1d34e6[_0xbec4f5(0x16c)]=_0x1d34e6[_0xbec4f5(0x16c)]||(_0x31f1c1?_0x2ccd69:_0x1a4d32),_0x1d34e6[_0xbec4f5(0x165)]=_0x1d34e6['defaultPort']||_0x24f4ee,_0x1d34e6[_0xbec4f5(0x144)]=_0x41987c['port']||_0x24f4ee,_0x1d34e6[_0xbec4f5(0x209)]=_0x41987c[_0xbec4f5(0x156)]['startsWith']('[')?_0x41987c[_0xbec4f5(0x156)][_0xbec4f5(0x10b)](0x1,-0x1):_0x41987c[_0xbec4f5(0x156)],_0x1d34e6['headers']={..._0x1d34e6['headers'],'Sec-WebSocket-Version':_0x1d34e6['protocolVersion'],'Sec-WebSocket-Key':_0x590792,'Connection':_0xbec4f5(0x116),'Upgrade':_0xbec4f5(0x20f)},_0x1d34e6['path']=_0x41987c[_0xbec4f5(0x97)]+_0x41987c[_0xbec4f5(0x1c6)],_0x1d34e6[_0xbec4f5(0xbc)]=_0x1d34e6[_0xbec4f5(0xde)],_0x1d34e6['perMessageDeflate']&&(_0x1cd7ca=new _0x49bc93(_0x1d34e6[_0xbec4f5(0x11c)]!==!0x0?_0x1d34e6['perMessageDeflate']:{},!0x1,_0x1d34e6['maxPayload']),_0x1d34e6['headers']['Sec-WebSocket-Extensions']=_0x17c0c0({[_0x49bc93['extensionName']]:_0x1cd7ca['offer']()})),_0x59abea['length']){for(const _0x5dbe32 of _0x59abea){if(typeof _0x5dbe32!=_0xbec4f5(0x12e)||!_0x1f4e39['test'](_0x5dbe32)||_0x37961a[_0xbec4f5(0x1f9)](_0x5dbe32))throw new SyntaxError(_0xbec4f5(0x212));_0x37961a[_0xbec4f5(0x204)](_0x5dbe32);}_0x1d34e6[_0xbec4f5(0xeb)]['Sec-WebSocket-Protocol']=_0x59abea['join'](',');}if(_0x1d34e6[_0xbec4f5(0x16f)]&&(_0x1d34e6[_0xbec4f5(0xa3)]<0xd?_0x1d34e6[_0xbec4f5(0xeb)]['Sec-WebSocket-Origin']=_0x1d34e6[_0xbec4f5(0x16f)]:_0x1d34e6[_0xbec4f5(0xeb)][_0xbec4f5(0x249)]=_0x1d34e6[_0xbec4f5(0x16f)]),(_0x41987c[_0xbec4f5(0x122)]||_0x41987c[_0xbec4f5(0x14e)])&&(_0x1d34e6['auth']=_0x41987c[_0xbec4f5(0x122)]+':'+_0x41987c[_0xbec4f5(0x14e)]),_0xbc8785){const _0x777f2c=_0x1d34e6[_0xbec4f5(0x152)][_0xbec4f5(0x138)](':');_0x1d34e6[_0xbec4f5(0xed)]=_0x777f2c[0x0],_0x1d34e6[_0xbec4f5(0x152)]=_0x777f2c[0x1];}let _0x5607d4;if(_0x1d34e6[_0xbec4f5(0x186)]){if(_0x231f66[_0xbec4f5(0x1c0)]===0x0){_0x231f66[_0xbec4f5(0xb6)]=_0xbc8785,_0x231f66[_0xbec4f5(0x1be)]=_0x31f1c1,_0x231f66[_0xbec4f5(0x1ac)]=_0xbc8785?_0x1d34e6[_0xbec4f5(0xed)]:_0x41987c[_0xbec4f5(0x209)];const _0x43034f=_0x4126fd&&_0x4126fd['headers'];if(_0x4126fd={..._0x4126fd,'headers':{}},_0x43034f){for(const [_0x1b3cfa,_0x147b83]of Object[_0xbec4f5(0x227)](_0x43034f))_0x4126fd[_0xbec4f5(0xeb)][_0x1b3cfa[_0xbec4f5(0x10f)]()]=_0x147b83;}}else{if(_0x231f66['listenerCount']('redirect')===0x0){const _0x1fae84=_0xbc8785?_0x231f66['_originalIpc']?_0x1d34e6[_0xbec4f5(0xed)]===_0x231f66[_0xbec4f5(0x1ac)]:!0x1:_0x231f66[_0xbec4f5(0xb6)]?!0x1:_0x41987c['host']===_0x231f66[_0xbec4f5(0x1ac)];(!_0x1fae84||_0x231f66[_0xbec4f5(0x1be)]&&!_0x31f1c1)&&(delete _0x1d34e6['headers']['authorization'],delete _0x1d34e6[_0xbec4f5(0xeb)][_0xbec4f5(0x161)],_0x1fae84||delete _0x1d34e6[_0xbec4f5(0xeb)][_0xbec4f5(0x209)],_0x1d34e6[_0xbec4f5(0x160)]=void 0x0);}}_0x1d34e6[_0xbec4f5(0x160)]&&!_0x4126fd[_0xbec4f5(0xeb)][_0xbec4f5(0xb2)]&&(_0x4126fd[_0xbec4f5(0xeb)][_0xbec4f5(0xb2)]='Basic\x20'+Buffer[_0xbec4f5(0x222)](_0x1d34e6[_0xbec4f5(0x160)])[_0xbec4f5(0x173)](_0xbec4f5(0xaa))),_0x5607d4=_0x231f66[_0xbec4f5(0x15f)]=_0x104801(_0x1d34e6),_0x231f66[_0xbec4f5(0x1c0)]&&_0x231f66[_0xbec4f5(0x101)](_0xbec4f5(0x1b2),_0x231f66[_0xbec4f5(0x20e)],_0x5607d4);}else _0x5607d4=_0x231f66[_0xbec4f5(0x15f)]=_0x104801(_0x1d34e6);_0x1d34e6[_0xbec4f5(0xbc)]&&_0x5607d4['on'](_0xbec4f5(0xbc),()=>{const _0x3747b4=_0xbec4f5;_0x4fd750(_0x231f66,_0x5607d4,_0x3747b4(0x176));}),_0x5607d4['on'](_0xbec4f5(0x23a),_0x444b19=>{const _0x3d08b0=_0xbec4f5;_0x5607d4===null||_0x5607d4[_0xb966f4]||(_0x5607d4=_0x231f66[_0x3d08b0(0x15f)]=null,_0x216e02(_0x231f66,_0x444b19));}),_0x5607d4['on'](_0xbec4f5(0x226),_0x56ce44=>{const _0x18e9d0=_0xbec4f5,_0x4297c9=_0x56ce44['headers'][_0x18e9d0(0x1cf)],_0x57969d=_0x56ce44['statusCode'];if(_0x4297c9&&_0x1d34e6[_0x18e9d0(0x186)]&&_0x57969d>=0x12c&&_0x57969d<0x190){if(++_0x231f66['_redirects']>_0x1d34e6[_0x18e9d0(0x1dd)]){_0x4fd750(_0x231f66,_0x5607d4,_0x18e9d0(0x113));return;}_0x5607d4[_0x18e9d0(0xfc)]();let _0x35be28;try{_0x35be28=new _0x4581dd(_0x4297c9,_0x5da1a0);}catch{const _0x1cfad9=new SyntaxError(_0x18e9d0(0x1a7)+_0x4297c9);_0x216e02(_0x231f66,_0x1cfad9);return;}_0x10a1f9(_0x231f66,_0x35be28,_0x59abea,_0x4126fd);}else _0x231f66['emit'](_0x18e9d0(0x8b),_0x5607d4,_0x56ce44)||_0x4fd750(_0x231f66,_0x5607d4,'Unexpected\x20server\x20response:\x20'+_0x56ce44['statusCode']);}),_0x5607d4['on']('upgrade',(_0x5ad36c,_0x4d8ee2,_0x22c317)=>{const _0x1019a1=_0xbec4f5;if(_0x231f66[_0x1019a1(0x101)](_0x1019a1(0x192),_0x5ad36c),_0x231f66['readyState']!==_0x2c2101[_0x1019a1(0x1a0)])return;_0x5607d4=_0x231f66[_0x1019a1(0x15f)]=null;const _0x57126c=_0x5ad36c[_0x1019a1(0xeb)][_0x1019a1(0x192)];if(_0x57126c===void 0x0||_0x57126c['toLowerCase']()!=='websocket'){_0x4fd750(_0x231f66,_0x4d8ee2,_0x1019a1(0x1d5));return;}const _0x4d9519=_0x57b9af(_0x1019a1(0xc3))[_0x1019a1(0x1c7)](_0x590792+_0x4ff69c)['digest'](_0x1019a1(0xaa));if(_0x5ad36c[_0x1019a1(0xeb)][_0x1019a1(0xb5)]!==_0x4d9519){_0x4fd750(_0x231f66,_0x4d8ee2,_0x1019a1(0x21f));return;}const _0x1c7844=_0x5ad36c[_0x1019a1(0xeb)][_0x1019a1(0x21d)];let _0x5b0151;if(_0x1c7844!==void 0x0?_0x37961a[_0x1019a1(0x228)]?_0x37961a['has'](_0x1c7844)||(_0x5b0151=_0x1019a1(0x22a)):_0x5b0151=_0x1019a1(0x19b):_0x37961a[_0x1019a1(0x228)]&&(_0x5b0151=_0x1019a1(0x146)),_0x5b0151){_0x4fd750(_0x231f66,_0x4d8ee2,_0x5b0151);return;}_0x1c7844&&(_0x231f66[_0x1019a1(0x174)]=_0x1c7844);const _0x417d0e=_0x5ad36c[_0x1019a1(0xeb)]['sec-websocket-extensions'];if(_0x417d0e!==void 0x0){if(!_0x1cd7ca){_0x4fd750(_0x231f66,_0x4d8ee2,_0x1019a1(0x99));return;}let _0x6fc217;try{_0x6fc217=_0x2ce71c(_0x417d0e);}catch{_0x4fd750(_0x231f66,_0x4d8ee2,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0x184feb=Object[_0x1019a1(0x194)](_0x6fc217);if(_0x184feb[_0x1019a1(0x15e)]!==0x1||_0x184feb[0x0]!==_0x49bc93[_0x1019a1(0xf2)]){_0x4fd750(_0x231f66,_0x4d8ee2,_0x1019a1(0x140));return;}try{_0x1cd7ca['accept'](_0x6fc217[_0x49bc93[_0x1019a1(0xf2)]]);}catch{_0x4fd750(_0x231f66,_0x4d8ee2,_0x1019a1(0x172));return;}_0x231f66['_extensions'][_0x49bc93[_0x1019a1(0xf2)]]=_0x1cd7ca;}_0x231f66[_0x1019a1(0x135)](_0x4d8ee2,_0x22c317,{'allowSynchronousEvents':_0x1d34e6[_0x1019a1(0x1a8)],'generateMask':_0x1d34e6[_0x1019a1(0xac)],'maxPayload':_0x1d34e6[_0x1019a1(0xf4)],'skipUTF8Validation':_0x1d34e6['skipUTF8Validation']});}),_0x1d34e6[_0xbec4f5(0x126)]?_0x1d34e6[_0xbec4f5(0x126)](_0x5607d4,_0x231f66):_0x5607d4[_0xbec4f5(0x1df)]();}function _0x216e02(_0x708b91,_0x53430c){const _0x2e5dfb=_0x17bc8e;_0x708b91['_readyState']=_0x2c2101[_0x2e5dfb(0x23b)],_0x708b91[_0x2e5dfb(0xbb)]=!0x0,_0x708b91['emit'](_0x2e5dfb(0x23a),_0x53430c),_0x708b91[_0x2e5dfb(0x177)]();}function _0x1a4d32(_0x27a722){const _0x4de4d1=_0x17bc8e;return _0x27a722[_0x4de4d1(0x152)]=_0x27a722['socketPath'],_0x49dd42[_0x4de4d1(0xdb)](_0x27a722);}function _0x2ccd69(_0x3a5f8e){const _0x57c04c=_0x17bc8e;return _0x3a5f8e[_0x57c04c(0x152)]=void 0x0,!_0x3a5f8e[_0x57c04c(0x119)]&&_0x3a5f8e['servername']!==''&&(_0x3a5f8e[_0x57c04c(0x119)]=_0x49dd42[_0x57c04c(0xda)](_0x3a5f8e['host'])?'':_0x3a5f8e['host']),_0x2daed7[_0x57c04c(0xdb)](_0x3a5f8e);}function _0x4fd750(_0x34f638,_0x1d93f9,_0x3608f9){const _0x5c93c5=_0x17bc8e;_0x34f638[_0x5c93c5(0x90)]=_0x2c2101[_0x5c93c5(0x23b)];const _0x4ce26e=new Error(_0x3608f9);Error[_0x5c93c5(0xc7)](_0x4ce26e,_0x4fd750),_0x1d93f9[_0x5c93c5(0x1f7)]?(_0x1d93f9[_0xb966f4]=!0x0,_0x1d93f9['abort'](),_0x1d93f9[_0x5c93c5(0xf1)]&&!_0x1d93f9[_0x5c93c5(0xf1)][_0x5c93c5(0x244)]&&_0x1d93f9[_0x5c93c5(0xf1)]['destroy'](),process[_0x5c93c5(0xa9)](_0x216e02,_0x34f638,_0x4ce26e)):(_0x1d93f9[_0x5c93c5(0xa1)](_0x4ce26e),_0x1d93f9[_0x5c93c5(0x189)](_0x5c93c5(0x23a),_0x34f638[_0x5c93c5(0x101)][_0x5c93c5(0x1ef)](_0x34f638,_0x5c93c5(0x23a))),_0x1d93f9[_0x5c93c5(0x189)](_0x5c93c5(0xd6),_0x34f638[_0x5c93c5(0x177)][_0x5c93c5(0x1ef)](_0x34f638)));}function _0xe9e147(_0x46251b,_0x49ede6,_0x593855){const _0x4a5b53=_0x17bc8e;if(_0x49ede6){const _0x2a8c03=_0x442d5a(_0x49ede6)?_0x49ede6['size']:_0x71a227(_0x49ede6)['length'];_0x46251b['_socket']?_0x46251b[_0x4a5b53(0x142)]['_bufferedBytes']+=_0x2a8c03:_0x46251b[_0x4a5b53(0x133)]+=_0x2a8c03;}if(_0x593855){const _0x1e3eae=new Error(_0x4a5b53(0xe6)+_0x46251b[_0x4a5b53(0x20c)]+'\x20('+_0x6c8548[_0x46251b['readyState']]+')');process['nextTick'](_0x593855,_0x1e3eae);}}function _0x109f85(_0x10947f,_0x4f523a){const _0x458dd5=_0x17bc8e,_0x24b99a=this[_0x4752ab];_0x24b99a[_0x458dd5(0x163)]=!0x0,_0x24b99a[_0x458dd5(0xd9)]=_0x4f523a,_0x24b99a[_0x458dd5(0x230)]=_0x10947f,_0x24b99a[_0x458dd5(0xe2)][_0x4752ab]!==void 0x0&&(_0x24b99a['_socket']['removeListener'](_0x458dd5(0x17b),_0x1b30ef),process[_0x458dd5(0xa9)](_0x2db75a,_0x24b99a[_0x458dd5(0xe2)]),_0x10947f===0x3ed?_0x24b99a['close']():_0x24b99a['close'](_0x10947f,_0x4f523a));}function _0x2c3d49(){const _0x4b4ca7=_0x17bc8e,_0x417970=this[_0x4752ab];_0x417970[_0x4b4ca7(0x1b5)]||_0x417970[_0x4b4ca7(0xe2)][_0x4b4ca7(0x187)]();}function _0x9fd68c(_0x598fb1){const _0x4761e7=_0x17bc8e,_0x1f6794=this[_0x4752ab];_0x1f6794[_0x4761e7(0xe2)][_0x4752ab]!==void 0x0&&(_0x1f6794[_0x4761e7(0xe2)][_0x4761e7(0x16b)](_0x4761e7(0x17b),_0x1b30ef),process[_0x4761e7(0xa9)](_0x2db75a,_0x1f6794['_socket']),_0x1f6794['close'](_0x598fb1[_0xfebf00])),_0x1f6794[_0x4761e7(0xbb)]||(_0x1f6794['_errorEmitted']=!0x0,_0x1f6794['emit']('error',_0x598fb1));}function _0x212a95(){const _0x35b8e5=_0x17bc8e;this[_0x4752ab][_0x35b8e5(0x177)]();}function _0x500788(_0x2516ae,_0x268079){const _0x5ad387=_0x17bc8e;this[_0x4752ab]['emit'](_0x5ad387(0x147),_0x2516ae,_0x268079);}function _0x2f5263(_0x213121){const _0x371775=_0x17bc8e,_0x1ba91c=this[_0x4752ab];_0x1ba91c['_autoPong']&&_0x1ba91c[_0x371775(0x10c)](_0x213121,!this['_isServer'],_0x3cc897),_0x1ba91c[_0x371775(0x101)](_0x371775(0x217),_0x213121);}function _0x45614d(_0x3c49ce){const _0x103e75=_0x17bc8e;this[_0x4752ab][_0x103e75(0x101)](_0x103e75(0x10c),_0x3c49ce);}function _0x2db75a(_0x2528f7){_0x2528f7['resume']();}function _0x2b1c77(_0x3ddc97){const _0x3c2810=_0x17bc8e,_0x308307=this[_0x4752ab];_0x308307[_0x3c2810(0x20c)]!==_0x2c2101[_0x3c2810(0x95)]&&(_0x308307[_0x3c2810(0x20c)]===_0x2c2101[_0x3c2810(0x1fc)]&&(_0x308307[_0x3c2810(0x90)]=_0x2c2101['CLOSING'],_0x4bb2e3(_0x308307)),this['_socket'][_0x3c2810(0x1df)](),_0x308307[_0x3c2810(0xbb)]||(_0x308307[_0x3c2810(0xbb)]=!0x0,_0x308307[_0x3c2810(0x101)](_0x3c2810(0x23a),_0x3ddc97)));}function _0x4bb2e3(_0x50970c){const _0x38aa90=_0x17bc8e;_0x50970c[_0x38aa90(0xdf)]=setTimeout(_0x50970c['_socket'][_0x38aa90(0xa1)][_0x38aa90(0x1ef)](_0x50970c['_socket']),_0x5a9f46);}function _0x4e150c(){const _0x500642=_0x17bc8e,_0x575eb1=this[_0x4752ab];this[_0x500642(0x16b)](_0x500642(0xd6),_0x4e150c),this[_0x500642(0x16b)](_0x500642(0x17b),_0x1b30ef),this['removeListener'](_0x500642(0x1df),_0x2f0002),_0x575eb1[_0x500642(0x90)]=_0x2c2101['CLOSING'];let _0xcacbb4;!this[_0x500642(0xc8)][_0x500642(0x150)]&&!_0x575eb1[_0x500642(0x163)]&&!_0x575eb1[_0x500642(0x157)]['_writableState'][_0x500642(0x1c2)]&&(_0xcacbb4=_0x575eb1[_0x500642(0xe2)][_0x500642(0x24a)]())!==null&&_0x575eb1['_receiver'][_0x500642(0xae)](_0xcacbb4),_0x575eb1[_0x500642(0x157)][_0x500642(0x1df)](),this[_0x4752ab]=void 0x0,clearTimeout(_0x575eb1[_0x500642(0xdf)]),_0x575eb1['_receiver'][_0x500642(0x197)][_0x500642(0x213)]||_0x575eb1[_0x500642(0x157)][_0x500642(0x197)][_0x500642(0x1c2)]?_0x575eb1['emitClose']():(_0x575eb1['_receiver']['on']('error',_0x212a95),_0x575eb1[_0x500642(0x157)]['on'](_0x500642(0x221),_0x212a95));}function _0x1b30ef(_0x1abdd1){const _0x436eec=_0x17bc8e;this[_0x4752ab]['_receiver'][_0x436eec(0xae)](_0x1abdd1)||this['pause']();}function _0x2f0002(){const _0x24cca1=_0x17bc8e,_0x54119a=this[_0x4752ab];_0x54119a[_0x24cca1(0x90)]=_0x2c2101[_0x24cca1(0x23b)],_0x54119a[_0x24cca1(0x157)][_0x24cca1(0x1df)](),this[_0x24cca1(0x1df)]();}function _0x521374(){const _0x10dcb8=_0x17bc8e,_0x1d968c=this[_0x4752ab];this[_0x10dcb8(0x16b)](_0x10dcb8(0x23a),_0x521374),this['on']('error',_0x3cc897),_0x1d968c&&(_0x1d968c['_readyState']=_0x2c2101[_0x10dcb8(0x23b)],this['destroy']());}return we;}var Oe,et;function _0x5d70(){const _0x2b1338=['emit','The\x20server\x20is\x20not\x20running','createError','values','Disposable','WS_ERR_EXPECTED_MASK','server_max_window_bits','_max_window_bits','_fragmented','listeners','slice','pong','reason','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','toLowerCase','The\x20URL\x27s\x20protocol\x20must\x20be\x20one\x20of\x20\x22ws:\x22,\x20\x22wss:\x22,\x20\x22http:\x22,\x20\x22https:\x22,\x20or\x20\x22ws+unix:\x22','collaboration-client-node.config','default','Maximum\x20redirects\x20exceeded','concurrencyLimit','Sec-WebSocket-Protocol:\x20','Upgrade','_decompress','acceptAsClient','servername','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','next','perMessageDeflate','IConfigService','then','create','target','addEventListener','username','flush','_autoPong','_payloadLength','finishRequest','readable','extensions','_generateMask','bufferedAmount','writeHead','MASK\x20must\x20be\x20clear','_maskBuffer','string','getOwnPropertyDescriptor','completeUpgrade','digest','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','_bufferedAmount','customHeaders','setSocket','offer','createServer','split','sec-websocket-key','binaryType','69bselKF','number','opcode','invalid\x20opcode\x20','pause','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','skipUTF8Validation','_sender','wasClean','port','_options','Server\x20sent\x20no\x20subprotocol','message','_mask','join','\x0d\x0a\x0d\x0a','_removeListeners','rsv1','_final','password','Invalid\x20WebSocket\x20frame:\x20','endEmitted','Unknown\x20parameter\x20\x22','path','encrypted','handleEvent','kDone','hostname','_receiver','http:','HTTP/1.1\x20','serverMaxWindowBits','_threshold','dequeue','ISocketService','length','_req','auth','cookie','_totalPayloadLength','_closeFrameReceived','buffer','defaultPort','arraybuffer','controlMessage','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','Invalid\x20HTTP\x20method','kRun','removeListener','createConnection','includes','nodebuffer','origin','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','href','Invalid\x20Sec-WebSocket-Extensions\x20header','toString','_protocol','startLoop','Opening\x20handshake\x20has\x20timed\x20out','emitClose','writeUInt16BE','_masked','readUInt32BE','data','listening','listen','freeze','prototype','parse','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','noServer','options','_extensions','share','followRedirects','resume','function','once','wss:','shift','51XZuRij','getMask','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','_isServer','_state','_destroy','upgrade','1271905uWLlgC','keys','params','66644UdZYEQ','_writableState','frame','onStarting','getBlobData','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','onopen','getPayloadLength16','normalizeParams','CONNECTING','forEach','ISnapshotServerService','dispatch','mask','1905762MggyWZ','getInfo','Invalid\x20URL:\x20','allowSynchronousEvents','WS_ERR_INVALID_OPCODE','UniverCollaborationClientPlugin','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','_originalHostOrSocketPath','RSV1\x20must\x20be\x20clear','_read','stream','isBuffer','code','redirect','type','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','isPaused','allocUnsafe','maskBuffer','kMessage','WS_ERR_UNEXPECTED_RSV_1','invalid\x20opcode\x200','getPayloadLength64','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','ILogService','_originalSecure','authorized','_redirects','unshift','errorEmitted','Unexpected\x20end\x20of\x20input','ws:','Module','search','update','apply','dataMessage','dispose','value','hash','STATUS_CODES','GET','location','kByteLength','shouldHandle','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','env','File','Invalid\x20Upgrade\x20header','listenerCount','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','clients','defineProperty','WS_ERR_INVALID_CLOSE_CODE','haveLength','client_max_window_bits','maxRedirects','call','end','_compressed','jobs','_queue','_messageLength','backlog','_closeFrameSent','Cookie','kError','_binaryType','4474heuFjL','Unexpected\x20character\x20at\x20index\x20','warn','isView','drain','getConfig','bind','set','createSocket','clientNoContextTakeover','_doCreateSocket','Parameter\x20\x22','onclose','WS_ERR_UNEXPECTED_MASK','setHeader','sec-websocket-origin','has','getData','Blob','OPEN','\x22\x20subprotocol\x20is\x20duplicated','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','The\x20\x22','kAborted','compress','NodeCollaborationSocketService','send','add','species','server_no_context_takeover','threshold','isArray','host','setTimeout','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','readyState','server','url','websocket','onerror','_maxPayload','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','finished','_firstFragment','client','concat','ping','_paused','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','toStringTag','invalid\x20UTF-8\x20sequence','catch','sec-websocket-protocol','fin','Invalid\x20Sec-WebSocket-Accept\x20header','delete','finish','from','setNoDelay','acceptAsServer','_write','response','entries','size','find','Server\x20sent\x20an\x20invalid\x20subprotocol','reset','HTTPService','enqueue','readOnly','Sec-WebSocket-Accept:\x20','_closeCode','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','pending','binary','objectMode','1606731bxGXyG','arrayBuffer','buffers','indexOf','kData','error','CLOSING','WebSocket','text/html','_skipUTF8Validation','_configService','FIN\x20must\x20be\x20set','map','open','byteOffset','destroyed','get','decompress','_registerDependencies','Invalid\x20value\x20for\x20parameter\x20\x22','Origin','read','6671844ZFPmPO','_inflate','verifyClient','pipe','total-length','UniverCollaborationClientNodePlugin','unexpected-response','object','__esModule','_shouldEmitClose','terminate','_readyState','needDrain','cleanup','_opcode','handleUpgrade','CLOSED','accept','pathname','_allowSynchronousEvents','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','Observable','kCode','1738520noauyJ','alloc','WS_NO_BUFFER_UTIL','protocol','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','destroy','address','protocolVersion','Z_DEFAULT_WINDOWBITS','_bufferedBytes','_fragments','toDisposable','_compress','nextTick','base64','Sec-WebSocket-Extensions:\x20','generateMask','Injector','write','blob','_loop','uncork','authorization','byteLength','HTTP/1.1\x20101\x20Switching\x20Protocols','sec-websocket-accept','_originalIpc','_url','Inject','_deflate','sec-websocket-version','_errorEmitted','timeout','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','_no_context_takeover','concurrency','\x20(supported\x20versions:\x20','request','unmask','sha1','serverNoContextTakeover','_server','sendFrame','captureStackTrace','_readableState','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','kTarget','push','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','isInteger','Max\x20payload\x20size\x20exceeded','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','autoPong','COLLABORATION_CLIENT_NODE_CONFIG_KEY','kListener','pow','registerHTTPInterceptor','kReason','close','_injector','invalid\x20status\x20code\x20','_closeMessage','isIP','connect','zlibDeflateOptions','pluginName','handshakeTimeout','_closeTimer','onmessage','_fin','_socket','writable','callback','clientMaxWindowBits','WebSocket\x20is\x20not\x20open:\x20readyState\x20','wsClientError','Plugin','\x22:\x20','handleProtocols','headers','exports','socketPath','readUInt16BE','conclude','permessage-deflate','socket','extensionName','_errored','maxPayload','_buffers','client_no_context_takeover','Connection:\x20Upgrade','registerDependencies','WS_ERR_INVALID_UTF8','charCodeAt','consume','abort','createInflateRaw','setConfig','cork','removeEventListener'];_0x5d70=function(){return _0x2b1338;};return _0x5d70();}function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x2d6e0f}=oe;function _0x1e52b7(_0x25e2f0){const _0x3cc22d=_0x39a1;_0x25e2f0[_0x3cc22d(0x101)](_0x3cc22d(0xd6));}function _0x276759(){const _0x5231b2=_0x39a1;!this[_0x5231b2(0x244)]&&this['_writableState'][_0x5231b2(0x213)]&&this[_0x5231b2(0xa1)]();}function _0x2d17cb(_0x429198){const _0x369f15=_0x39a1;this[_0x369f15(0x16b)]('error',_0x2d17cb),this[_0x369f15(0xa1)](),this[_0x369f15(0x1d6)](_0x369f15(0x23a))===0x0&&this['emit'](_0x369f15(0x23a),_0x429198);}function _0x552335(_0x36e83b,_0x4fd3ee){const _0x886a3e=_0x39a1;let _0x3b5305=!0x0;const _0xad4242=new _0x2d6e0f({..._0x4fd3ee,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x36e83b['on'](_0x886a3e(0x147),function(_0x5bd584,_0x22743c){const _0x1a4e66=_0x886a3e,_0x46ea0f=!_0x22743c&&_0xad4242[_0x1a4e66(0xc8)][_0x1a4e66(0x234)]?_0x5bd584[_0x1a4e66(0x173)]():_0x5bd584;_0xad4242['push'](_0x46ea0f)||_0x36e83b[_0x1a4e66(0x13f)]();}),_0x36e83b[_0x886a3e(0x189)]('error',function(_0x380b3f){const _0x47f87f=_0x886a3e;_0xad4242[_0x47f87f(0x244)]||(_0x3b5305=!0x1,_0xad4242[_0x47f87f(0xa1)](_0x380b3f));}),_0x36e83b[_0x886a3e(0x189)](_0x886a3e(0xd6),function(){const _0x537f73=_0x886a3e;_0xad4242[_0x537f73(0x244)]||_0xad4242['push'](null);}),_0xad4242[_0x886a3e(0x191)]=function(_0x2720d5,_0x346d4){const _0x58d8a5=_0x886a3e;if(_0x36e83b['readyState']===_0x36e83b[_0x58d8a5(0x95)]){_0x346d4(_0x2720d5),process[_0x58d8a5(0xa9)](_0x1e52b7,_0xad4242);return;}let _0x3f0e96=!0x1;_0x36e83b['once'](_0x58d8a5(0x23a),function(_0x2c094c){_0x3f0e96=!0x0,_0x346d4(_0x2c094c);}),_0x36e83b['once'](_0x58d8a5(0xd6),function(){const _0x2928f8=_0x58d8a5;_0x3f0e96||_0x346d4(_0x2720d5),process[_0x2928f8(0xa9)](_0x1e52b7,_0xad4242);}),_0x3b5305&&_0x36e83b[_0x58d8a5(0x8f)]();},_0xad4242[_0x886a3e(0x14d)]=function(_0x5775c3){const _0xfc0a07=_0x886a3e;if(_0x36e83b[_0xfc0a07(0x20c)]===_0x36e83b[_0xfc0a07(0x1a0)]){_0x36e83b[_0xfc0a07(0x189)](_0xfc0a07(0x242),function(){const _0x234c5c=_0xfc0a07;_0xad4242[_0x234c5c(0x14d)](_0x5775c3);});return;}_0x36e83b['_socket']!==null&&(_0x36e83b['_socket']['_writableState'][_0xfc0a07(0x213)]?(_0x5775c3(),_0xad4242[_0xfc0a07(0xc8)]['endEmitted']&&_0xad4242[_0xfc0a07(0xa1)]()):(_0x36e83b[_0xfc0a07(0xe2)][_0xfc0a07(0x189)]('finish',function(){_0x5775c3();}),_0x36e83b[_0xfc0a07(0xd6)]()));},_0xad4242[_0x886a3e(0x1ae)]=function(){const _0x3b90c7=_0x886a3e;_0x36e83b[_0x3b90c7(0x1b5)]&&_0x36e83b['resume']();},_0xad4242[_0x886a3e(0x225)]=function(_0x212e60,_0xcf4d0a,_0x5307f3){const _0x48efc3=_0x886a3e;if(_0x36e83b[_0x48efc3(0x20c)]===_0x36e83b[_0x48efc3(0x1a0)]){_0x36e83b[_0x48efc3(0x189)](_0x48efc3(0x242),function(){const _0x340552=_0x48efc3;_0xad4242[_0x340552(0x225)](_0x212e60,_0xcf4d0a,_0x5307f3);});return;}_0x36e83b['send'](_0x212e60,_0x5307f3);},_0xad4242['on'](_0x886a3e(0x1df),_0x276759),_0xad4242['on'](_0x886a3e(0x23a),_0x2d17cb),_0xad4242;}return Oe=_0x552335,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0xd65581}=ae();function _0xc03089(_0x5d30b9){const _0x9fa668=_0x39a1,_0x53f8f8=new Set();let _0x30d528=-0x1,_0x2ba99a=-0x1,_0x43414b=0x0;for(_0x43414b;_0x43414b<_0x5d30b9[_0x9fa668(0x15e)];_0x43414b++){const _0x2ccef7=_0x5d30b9['charCodeAt'](_0x43414b);if(_0x2ba99a===-0x1&&_0xd65581[_0x2ccef7]===0x1)_0x30d528===-0x1&&(_0x30d528=_0x43414b);else{if(_0x43414b!==0x0&&(_0x2ccef7===0x20||_0x2ccef7===0x9))_0x2ba99a===-0x1&&_0x30d528!==-0x1&&(_0x2ba99a=_0x43414b);else{if(_0x2ccef7===0x2c){if(_0x30d528===-0x1)throw new SyntaxError(_0x9fa668(0x1ea)+_0x43414b);_0x2ba99a===-0x1&&(_0x2ba99a=_0x43414b);const _0x2e313e=_0x5d30b9[_0x9fa668(0x10b)](_0x30d528,_0x2ba99a);if(_0x53f8f8[_0x9fa668(0x1f9)](_0x2e313e))throw new SyntaxError('The\x20\x22'+_0x2e313e+_0x9fa668(0x1fd));_0x53f8f8[_0x9fa668(0x204)](_0x2e313e),_0x30d528=_0x2ba99a=-0x1;}else throw new SyntaxError(_0x9fa668(0x1ea)+_0x43414b);}}}if(_0x30d528===-0x1||_0x2ba99a!==-0x1)throw new SyntaxError(_0x9fa668(0x1c3));const _0x4671b1=_0x5d30b9[_0x9fa668(0x10b)](_0x30d528,_0x43414b);if(_0x53f8f8[_0x9fa668(0x1f9)](_0x4671b1))throw new SyntaxError(_0x9fa668(0x1ff)+_0x4671b1+'\x22\x20subprotocol\x20is\x20duplicated');return _0x53f8f8[_0x9fa668(0x204)](_0x4671b1),_0x53f8f8;}return Ce={'parse':_0xc03089},Ce;}var Te,rt;function Ft(){const _0x15ea27=_0x55ec8c;if(rt)return Te;rt=0x1;const _0x3acfc8=nt,_0x475357=ot,{Duplex:_0x3b8f7f}=oe,{createHash:_0x579d15}=Le,_0x45fb6a=ct(),_0xe1b698=he(),_0x51b0eb=At(),_0x29f665=Pe(),{GUID:_0x1d3038,kWebSocket:_0x3a91fb}=H(),_0x399a1d=/^[+/0-9A-Za-z]{22}==$/,_0x2e4b04=0x0,_0x5d9711=0x1,_0x1bd060=0x2;class _0xe37d09 extends _0x3acfc8{constructor(_0x10f954,_0x3f78be){const _0x409e0e=_0x39a1;if(super(),_0x10f954={'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':_0x29f665,..._0x10f954},_0x10f954[_0x409e0e(0x144)]==null&&!_0x10f954[_0x409e0e(0x20d)]&&!_0x10f954['noServer']||_0x10f954['port']!=null&&(_0x10f954[_0x409e0e(0x20d)]||_0x10f954[_0x409e0e(0x182)])||_0x10f954[_0x409e0e(0x20d)]&&_0x10f954['noServer'])throw new TypeError(_0x409e0e(0x1ab));if(_0x10f954['port']!=null?(this[_0x409e0e(0xc5)]=_0x475357[_0x409e0e(0x137)]((_0x2827cc,_0xbcc861)=>{const _0x381b3b=_0x409e0e,_0x5a24df=_0x475357[_0x381b3b(0x1cd)][0x1aa];_0xbcc861[_0x381b3b(0x12b)](0x1aa,{'Content-Length':_0x5a24df[_0x381b3b(0x15e)],'Content-Type':'text/plain'}),_0xbcc861[_0x381b3b(0x1df)](_0x5a24df);}),this[_0x409e0e(0xc5)][_0x409e0e(0x17d)](_0x10f954[_0x409e0e(0x144)],_0x10f954[_0x409e0e(0x209)],_0x10f954[_0x409e0e(0x1e4)],_0x3f78be)):_0x10f954[_0x409e0e(0x20d)]&&(this[_0x409e0e(0xc5)]=_0x10f954[_0x409e0e(0x20d)]),this['_server']){const _0x35409c=this[_0x409e0e(0x101)]['bind'](this,'connection');this[_0x409e0e(0x14b)]=_0x3614e2(this['_server'],{'listening':this['emit']['bind'](this,_0x409e0e(0x17c)),'error':this[_0x409e0e(0x101)][_0x409e0e(0x1ef)](this,_0x409e0e(0x23a)),'upgrade':(_0x1bbc06,_0xba9990,_0x3348b9)=>{const _0x290a18=_0x409e0e;this[_0x290a18(0x94)](_0x1bbc06,_0xba9990,_0x3348b9,_0x35409c);}});}_0x10f954[_0x409e0e(0x11c)]===!0x0&&(_0x10f954[_0x409e0e(0x11c)]={}),_0x10f954['clientTracking']&&(this[_0x409e0e(0x1d8)]=new Set(),this[_0x409e0e(0x8e)]=!0x1),this[_0x409e0e(0x183)]=_0x10f954,this[_0x409e0e(0x190)]=_0x2e4b04;}[_0x15ea27(0xa2)](){const _0x589ee8=_0x15ea27;if(this[_0x589ee8(0x183)][_0x589ee8(0x182)])throw new Error(_0x589ee8(0xc9));return this[_0x589ee8(0xc5)]?this[_0x589ee8(0xc5)][_0x589ee8(0xa2)]():null;}['close'](_0x5aa8f4){const _0x1ef2ef=_0x15ea27;if(this[_0x1ef2ef(0x190)]===_0x1bd060){_0x5aa8f4&&this['once']('close',()=>{const _0x2e916c=_0x1ef2ef;_0x5aa8f4(new Error(_0x2e916c(0x102)));}),process[_0x1ef2ef(0xa9)](_0x3354fe,this);return;}if(_0x5aa8f4&&this[_0x1ef2ef(0x189)]('close',_0x5aa8f4),this[_0x1ef2ef(0x190)]!==_0x5d9711){if(this[_0x1ef2ef(0x190)]=_0x5d9711,this['options'][_0x1ef2ef(0x182)]||this[_0x1ef2ef(0x183)][_0x1ef2ef(0x20d)])this[_0x1ef2ef(0xc5)]&&(this[_0x1ef2ef(0x14b)](),this[_0x1ef2ef(0x14b)]=this[_0x1ef2ef(0xc5)]=null),this[_0x1ef2ef(0x1d8)]?this[_0x1ef2ef(0x1d8)][_0x1ef2ef(0x228)]?this[_0x1ef2ef(0x8e)]=!0x0:process['nextTick'](_0x3354fe,this):process[_0x1ef2ef(0xa9)](_0x3354fe,this);else{const _0x408d5f=this[_0x1ef2ef(0xc5)];this[_0x1ef2ef(0x14b)](),this['_removeListeners']=this[_0x1ef2ef(0xc5)]=null,_0x408d5f['close'](()=>{_0x3354fe(this);});}}}[_0x15ea27(0x1d1)](_0x141c08){const _0x45e0cf=_0x15ea27;if(this[_0x45e0cf(0x183)][_0x45e0cf(0x152)]){const _0x3bb1c1=_0x141c08['url'][_0x45e0cf(0x238)]('?');if((_0x3bb1c1!==-0x1?_0x141c08[_0x45e0cf(0x20e)]['slice'](0x0,_0x3bb1c1):_0x141c08[_0x45e0cf(0x20e)])!==this[_0x45e0cf(0x183)][_0x45e0cf(0x152)])return!0x1;}return!0x0;}[_0x15ea27(0x94)](_0x2734ff,_0x528b4e,_0x53ffc2,_0x4fb6ee){const _0x3060c4=_0x15ea27;_0x528b4e['on']('error',_0x4160df);const _0x1ef888=_0x2734ff[_0x3060c4(0xeb)][_0x3060c4(0x139)],_0x4ba942=_0x2734ff[_0x3060c4(0xeb)][_0x3060c4(0x192)],_0x1df01c=+_0x2734ff[_0x3060c4(0xeb)][_0x3060c4(0xba)];if(_0x2734ff['method']!=='GET'){_0xce05ac(this,_0x2734ff,_0x528b4e,0x195,_0x3060c4(0x169));return;}if(_0x4ba942===void 0x0||_0x4ba942['toLowerCase']()!=='websocket'){_0xce05ac(this,_0x2734ff,_0x528b4e,0x190,_0x3060c4(0x1d5));return;}if(_0x1ef888===void 0x0||!_0x399a1d['test'](_0x1ef888)){_0xce05ac(this,_0x2734ff,_0x528b4e,0x190,_0x3060c4(0xcc));return;}if(_0x1df01c!==0xd&&_0x1df01c!==0x8){_0xce05ac(this,_0x2734ff,_0x528b4e,0x190,_0x3060c4(0x181),{'Sec-WebSocket-Version':'13,\x208'});return;}if(!this['shouldHandle'](_0x2734ff)){_0x5de73e(_0x528b4e,0x190);return;}const _0x292024=_0x2734ff['headers']['sec-websocket-protocol'];let _0x49f33e=new Set();if(_0x292024!==void 0x0)try{_0x49f33e=_0x51b0eb['parse'](_0x292024);}catch{_0xce05ac(this,_0x2734ff,_0x528b4e,0x190,'Invalid\x20Sec-WebSocket-Protocol\x20header');return;}const _0x45c942=_0x2734ff['headers']['sec-websocket-extensions'],_0x12f5f1={};if(this['options'][_0x3060c4(0x11c)]&&_0x45c942!==void 0x0){const _0x145ae1=new _0xe1b698(this[_0x3060c4(0x183)]['perMessageDeflate'],!0x0,this[_0x3060c4(0x183)][_0x3060c4(0xf4)]);try{const _0x442548=_0x45fb6a[_0x3060c4(0x180)](_0x45c942);_0x442548[_0xe1b698['extensionName']]&&(_0x145ae1[_0x3060c4(0x96)](_0x442548[_0xe1b698[_0x3060c4(0xf2)]]),_0x12f5f1[_0xe1b698['extensionName']]=_0x145ae1);}catch{_0xce05ac(this,_0x2734ff,_0x528b4e,0x190,_0x3060c4(0xcf));return;}}if(this[_0x3060c4(0x183)][_0x3060c4(0x87)]){const _0x506a45={'origin':_0x2734ff['headers'][''+(_0x1df01c===0x8?_0x3060c4(0x1f8):_0x3060c4(0x16f))],'secure':!!(_0x2734ff[_0x3060c4(0xf1)][_0x3060c4(0x1bf)]||_0x2734ff[_0x3060c4(0xf1)][_0x3060c4(0x153)]),'req':_0x2734ff};if(this[_0x3060c4(0x183)][_0x3060c4(0x87)][_0x3060c4(0x15e)]===0x2){this['options'][_0x3060c4(0x87)](_0x506a45,(_0x2091dc,_0x5d2adf,_0x9d6e89,_0x45fe11)=>{const _0x1125c6=_0x3060c4;if(!_0x2091dc)return _0x5de73e(_0x528b4e,_0x5d2adf||0x191,_0x9d6e89,_0x45fe11);this[_0x1125c6(0x130)](_0x12f5f1,_0x1ef888,_0x49f33e,_0x2734ff,_0x528b4e,_0x53ffc2,_0x4fb6ee);});return;}if(!this[_0x3060c4(0x183)]['verifyClient'](_0x506a45))return _0x5de73e(_0x528b4e,0x191);}this[_0x3060c4(0x130)](_0x12f5f1,_0x1ef888,_0x49f33e,_0x2734ff,_0x528b4e,_0x53ffc2,_0x4fb6ee);}[_0x15ea27(0x130)](_0x4153ce,_0x517f44,_0x8429ec,_0x1ad3d2,_0x21eee2,_0x534367,_0x60152c){const _0x16ab66=_0x15ea27;if(!_0x21eee2[_0x16ab66(0x127)]||!_0x21eee2[_0x16ab66(0xe3)])return _0x21eee2[_0x16ab66(0xa1)]();if(_0x21eee2[_0x3a91fb])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this[_0x16ab66(0x190)]>_0x2e4b04)return _0x5de73e(_0x21eee2,0x1f7);const _0x5c4419=[_0x16ab66(0xb4),'Upgrade:\x20websocket',_0x16ab66(0xf7),_0x16ab66(0x22f)+_0x579d15('sha1')[_0x16ab66(0x1c7)](_0x517f44+_0x1d3038)[_0x16ab66(0x131)](_0x16ab66(0xaa))],_0x17e1fd=new this['options'][(_0x16ab66(0x23c))](null,void 0x0,this[_0x16ab66(0x183)]);if(_0x8429ec[_0x16ab66(0x228)]){const _0x45556f=this['options'][_0x16ab66(0xea)]?this[_0x16ab66(0x183)][_0x16ab66(0xea)](_0x8429ec,_0x1ad3d2):_0x8429ec[_0x16ab66(0x104)]()[_0x16ab66(0x11b)]()[_0x16ab66(0x1cb)];_0x45556f&&(_0x5c4419[_0x16ab66(0xcb)](_0x16ab66(0x115)+_0x45556f),_0x17e1fd['_protocol']=_0x45556f);}if(_0x4153ce[_0xe1b698['extensionName']]){const _0x4c2245=_0x4153ce[_0xe1b698['extensionName']][_0x16ab66(0x195)],_0x24cd54=_0x45fb6a['format']({[_0xe1b698[_0x16ab66(0xf2)]]:[_0x4c2245]});_0x5c4419['push'](_0x16ab66(0xab)+_0x24cd54),_0x17e1fd[_0x16ab66(0x184)]=_0x4153ce;}this[_0x16ab66(0x101)](_0x16ab66(0xeb),_0x5c4419,_0x1ad3d2),_0x21eee2[_0x16ab66(0xae)](_0x5c4419[_0x16ab66(0x216)]('\x0d\x0a')['join']('\x0d\x0a')),_0x21eee2[_0x16ab66(0x16b)](_0x16ab66(0x23a),_0x4160df),_0x17e1fd['setSocket'](_0x21eee2,_0x534367,{'allowSynchronousEvents':this[_0x16ab66(0x183)][_0x16ab66(0x1a8)],'maxPayload':this[_0x16ab66(0x183)][_0x16ab66(0xf4)],'skipUTF8Validation':this[_0x16ab66(0x183)][_0x16ab66(0x141)]}),this['clients']&&(this[_0x16ab66(0x1d8)]['add'](_0x17e1fd),_0x17e1fd['on'](_0x16ab66(0xd6),()=>{const _0x36382b=_0x16ab66;this['clients'][_0x36382b(0x220)](_0x17e1fd),this[_0x36382b(0x8e)]&&!this['clients'][_0x36382b(0x228)]&&process[_0x36382b(0xa9)](_0x3354fe,this);})),_0x60152c(_0x17e1fd,_0x1ad3d2);}}Te=_0xe37d09;function _0x3614e2(_0x565b66,_0x57d777){const _0x681662=_0x15ea27;for(const _0x27305d of Object[_0x681662(0x194)](_0x57d777))_0x565b66['on'](_0x27305d,_0x57d777[_0x27305d]);return function(){const _0x7fecc8=_0x681662;for(const _0x5cac94 of Object[_0x7fecc8(0x194)](_0x57d777))_0x565b66[_0x7fecc8(0x16b)](_0x5cac94,_0x57d777[_0x5cac94]);};}function _0x3354fe(_0x4700c1){const _0xac0816=_0x15ea27;_0x4700c1[_0xac0816(0x190)]=_0x1bd060,_0x4700c1[_0xac0816(0x101)](_0xac0816(0xd6));}function _0x4160df(){const _0x1fb4fb=_0x15ea27;this[_0x1fb4fb(0xa1)]();}function _0x5de73e(_0xc78336,_0x1795a0,_0x4798ff,_0x24f744){const _0x55c1c3=_0x15ea27;_0x4798ff=_0x4798ff||_0x475357['STATUS_CODES'][_0x1795a0],_0x24f744={'Connection':'close','Content-Type':_0x55c1c3(0x23d),'Content-Length':Buffer[_0x55c1c3(0xb3)](_0x4798ff),..._0x24f744},_0xc78336['once'](_0x55c1c3(0x221),_0xc78336[_0x55c1c3(0xa1)]),_0xc78336[_0x55c1c3(0x1df)](_0x55c1c3(0x159)+_0x1795a0+'\x20'+_0x475357[_0x55c1c3(0x1cd)][_0x1795a0]+'\x0d\x0a'+Object[_0x55c1c3(0x194)](_0x24f744)[_0x55c1c3(0x241)](_0x2ec3f2=>_0x2ec3f2+':\x20'+_0x24f744[_0x2ec3f2])[_0x55c1c3(0x149)]('\x0d\x0a')+_0x55c1c3(0x14a)+_0x4798ff);}function _0xce05ac(_0x45b4a8,_0x1a042e,_0x13fa24,_0x591570,_0x556495,_0x8e6baa){const _0x4764a4=_0x15ea27;if(_0x45b4a8['listenerCount'](_0x4764a4(0xe7))){const _0x2db7b5=new Error(_0x556495);Error[_0x4764a4(0xc7)](_0x2db7b5,_0xce05ac),_0x45b4a8[_0x4764a4(0x101)](_0x4764a4(0xe7),_0x2db7b5,_0x13fa24,_0x1a042e);}else _0x5de73e(_0x13fa24,_0x591570,_0x556495,_0x8e6baa);}return Te;}Ft();var jt=Object[_0x55ec8c(0x12f)],Wt=(_0x24f004,_0x3db7d0,_0xbec027,_0x48e05c)=>{const _0x390bd6=_0x55ec8c;for(var _0x1739f6=_0x48e05c>0x1?void 0x0:_0x48e05c?jt(_0x3db7d0,_0xbec027):_0x3db7d0,_0x28a9c7=_0x24f004[_0x390bd6(0x15e)]-0x1,_0x5eb713;_0x28a9c7>=0x0;_0x28a9c7--)(_0x5eb713=_0x24f004[_0x28a9c7])&&(_0x1739f6=_0x5eb713(_0x1739f6)||_0x1739f6);return _0x1739f6;},qt=(_0x1f61be,_0x43f7eb)=>(_0x47b431,_0x33a434)=>_0x43f7eb(_0x47b431,_0x33a434,_0x1f61be);let ke=class extends A[_0x55ec8c(0x105)]{constructor(_0x1ba5e9){super(),this['_configService']=_0x1ba5e9;}['createSocket'](_0x30edda){const _0xddbd7f=_0x55ec8c;var _0x270397;const _0x3e3364=(_0x270397=this[_0xddbd7f(0x23f)]['getConfig'](fe))==null?void 0x0:_0x270397[_0xddbd7f(0x134)];try{const _0x2f0118=new $t(_0x30edda,{'headers':{..._0x3e3364}}),_0x10cfbd=new A['DisposableCollection']();return{'URL':_0x30edda,'close':(_0x598016,_0x1cc473)=>{const _0x4013bb=_0xddbd7f;_0x2f0118[_0x4013bb(0xd6)](_0x598016,_0x1cc473),_0x10cfbd[_0x4013bb(0x1ca)]();},'send':_0x40a7de=>{_0x2f0118['send'](_0x40a7de);},'open$':new V[(_0xddbd7f(0x9a))](_0x3dffcb=>{const _0x3db002=_0xddbd7f,_0x155d29=_0x4fc79c=>_0x3dffcb[_0x3db002(0x11b)](_0x4fc79c);_0x2f0118[_0x3db002(0x121)]('open',_0x155d29),_0x10cfbd['add'](A[_0x3db002(0xa7)](()=>_0x2f0118[_0x3db002(0x100)]('open',_0x155d29)));})[_0xddbd7f(0x88)](V[_0xddbd7f(0x185)]()),'close$':new V['Observable'](_0x63262a=>{const _0x4cbc57=_0xddbd7f,_0x5c40ad=_0x37336d=>_0x63262a['next'](_0x37336d);_0x2f0118[_0x4cbc57(0x121)](_0x4cbc57(0xd6),_0x5c40ad),_0x10cfbd[_0x4cbc57(0x204)](A[_0x4cbc57(0xa7)](()=>_0x2f0118[_0x4cbc57(0x100)](_0x4cbc57(0xd6),_0x5c40ad)));})['pipe'](V[_0xddbd7f(0x185)]()),'error$':new V[(_0xddbd7f(0x9a))](_0x3c52d4=>{const _0x205c5a=_0xddbd7f,_0x7090c7=_0xc77b1a=>_0x3c52d4['next'](_0xc77b1a);_0x2f0118['addEventListener'](_0x205c5a(0x23a),_0x7090c7),_0x10cfbd[_0x205c5a(0x204)](A['toDisposable'](()=>_0x2f0118[_0x205c5a(0x100)](_0x205c5a(0x23a),_0x7090c7)));})[_0xddbd7f(0x88)](V[_0xddbd7f(0x185)]()),'message$':new V[(_0xddbd7f(0x9a))](_0x57cc61=>{const _0xf6a572=_0xddbd7f,_0x135cb6=_0x4b1be4=>_0x57cc61[_0xf6a572(0x11b)](_0x4b1be4);_0x2f0118[_0xf6a572(0x121)](_0xf6a572(0x147),_0x135cb6),_0x10cfbd[_0xf6a572(0x204)](A[_0xf6a572(0xa7)](()=>_0x2f0118[_0xf6a572(0x100)]('message',_0x135cb6)));})['pipe'](V[_0xddbd7f(0x185)]())};}catch(_0xa55aaa){return console['error'](_0xa55aaa),null;}}};ke=Wt([qt(0x0,A[_0x55ec8c(0x11d)])],ke);var Gt=Object[_0x55ec8c(0x1d9)],Vt=Object[_0x55ec8c(0x12f)],Ht=(_0x46bcbf,_0x375e21,_0x54e215)=>_0x375e21 in _0x46bcbf?Gt(_0x46bcbf,_0x375e21,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x54e215}):_0x46bcbf[_0x375e21]=_0x54e215,zt=(_0xcc6198,_0x17c22f,_0x27ee21,_0x3eea66)=>{for(var _0x3aaf35=_0x3eea66>0x1?void 0x0:_0x3eea66?Vt(_0x17c22f,_0x27ee21):_0x17c22f,_0x496d53=_0xcc6198['length']-0x1,_0x3b84e0;_0x496d53>=0x0;_0x496d53--)(_0x3b84e0=_0xcc6198[_0x496d53])&&(_0x3aaf35=_0x3b84e0(_0x3aaf35)||_0x3aaf35);return _0x3aaf35;},Ne=(_0x3a41da,_0x47d4df)=>(_0x53e3f2,_0xcba6c6)=>_0x47d4df(_0x53e3f2,_0xcba6c6,_0x3a41da),Yt=(_0x170373,_0x3f28b3,_0x14845b)=>Ht(_0x170373,_0x3f28b3+'',_0x14845b);exports[_0x55ec8c(0x8a)]=class extends A[_0x55ec8c(0xe8)]{constructor(_0x4a7a96=Ct,_0x23e3dc,_0x1edd3d,_0x2ac992){const _0x56950e=_0x55ec8c;_0x4a7a96['customHeaders']||_0x23e3dc[_0x56950e(0x1eb)](_0x56950e(0x1d2)),super(),this[_0x56950e(0x23f)]=_0x1edd3d,this[_0x56950e(0xd7)]=_0x2ac992,this[_0x56950e(0x23f)][_0x56950e(0xfe)](fe,_0x4a7a96);}[_0x55ec8c(0x199)](){const _0x231d5d=_0x55ec8c;this[_0x231d5d(0x247)]();}[_0x55ec8c(0x247)](){const _0x5007ac=_0x55ec8c;A[_0x5007ac(0xf8)](this[_0x5007ac(0xd7)],[[it[_0x5007ac(0x15d)],{'useClass':ke}]]);}},Yt(exports[_0x55ec8c(0x8a)],_0x55ec8c(0xdd),_0x55ec8c(0x11a)),exports[_0x55ec8c(0x8a)]=zt([A['DependentOn'](st[_0x55ec8c(0x1aa)]),Ne(0x1,A[_0x55ec8c(0x1bd)]),Ne(0x2,A[_0x55ec8c(0x11d)]),Ne(0x3,A[_0x55ec8c(0xb8)](A['Injector']))],exports['UniverCollaborationClientNodePlugin']);var Kt=Object[_0x55ec8c(0x12f)],Xt=(_0x5a7af8,_0x1fc4ab,_0x53cbc4,_0x284b43)=>{for(var _0x5351c9=_0x284b43>0x1?void 0x0:_0x284b43?Kt(_0x1fc4ab,_0x53cbc4):_0x1fc4ab,_0x312cd6=_0x5a7af8['length']-0x1,_0x1b333f;_0x312cd6>=0x0;_0x312cd6--)(_0x1b333f=_0x5a7af8[_0x312cd6])&&(_0x5351c9=_0x1b333f(_0x5351c9)||_0x5351c9);return _0x5351c9;},ne=(_0x735695,_0x319f84)=>(_0x39a2ec,_0x3de166)=>_0x319f84(_0x39a2ec,_0x3de166,_0x735695);exports[_0x55ec8c(0x202)]=class extends st['CollaborationSocketService']{constructor(_0x2a8df6,_0x1a0bd3,_0x452090,_0x528953,_0x1b9d95){const _0x3f6359=_0x55ec8c;super(_0x2a8df6,_0x1a0bd3,_0x452090,_0x528953,_0x1b9d95);const _0x2839ae=this[_0x3f6359(0x23f)][_0x3f6359(0x1ee)](fe);this['_httpService'][_0x3f6359(0xd4)]({'interceptor':(_0x3fd05a,_0xd80473)=>{const _0x2d0dc6=_0x3f6359;var _0x2bfe74;const _0x45e4b5=_0x3fd05a[_0x2d0dc6(0xeb)];return(_0x2bfe74=_0x2839ae==null?void 0x0:_0x2839ae[_0x2d0dc6(0x134)])!=null&&_0x2bfe74[_0x2d0dc6(0x161)]&&_0x45e4b5['set'](_0x2d0dc6(0x1e6),_0x2839ae[_0x2d0dc6(0x134)][_0x2d0dc6(0x161)]),_0xd80473(_0x3fd05a);}});}async[_0x55ec8c(0x1f1)](_0x3535f9){const _0x1aa6ed=_0x55ec8c;return this[_0x1aa6ed(0x1f3)](_0x3535f9);}},exports[_0x55ec8c(0x202)]=Xt([ne(0x0,A['Inject'](A[_0x55ec8c(0xad)])),ne(0x1,A['Inject'](it[_0x55ec8c(0x22c)])),ne(0x2,A[_0x55ec8c(0x11d)]),ne(0x3,A['ILogService']),ne(0x4,Ot[_0x55ec8c(0x1a2)])],exports['NodeCollaborationSocketService']),exports[_0x55ec8c(0xd1)]=fe;